* config/rs6000/rs6000.c (rs6000_mangle_fundamental_type): Mangle
[official-gcc.git] / Makefile.in
bloba5468ab22a030a4b0b3831d86c1d5e3288bff099
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 "AR_FLAGS=$(AR_FLAGS)" \
445 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
446 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
447 "CFLAGS=$(CFLAGS)" \
448 "CXXFLAGS=$(CXXFLAGS)" \
449 "LDFLAGS=$(LDFLAGS)" \
450 "LIBCFLAGS=$(LIBCFLAGS)" \
451 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
452 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
453 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
454 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
455 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
456 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
457 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
458 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
459 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
460 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
461 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
462 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
463 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
464 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
465 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
466 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
467 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
468 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
469 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
470 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
471 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
472 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
473 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
474 "LEAN=$(LEAN)" \
475 "CONFIG_SHELL=$(SHELL)" \
476 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
478 # We leave this in just in case, but it is not needed anymore.
479 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
481 # Flags to pass down to most sub-makes, in which we're building with
482 # the host environment.
483 EXTRA_HOST_FLAGS = \
484 'AR=$(AR)' \
485 'AS=$(AS)' \
486 'CC=$(CC)' \
487 'CXX=$(CXX)' \
488 'DLLTOOL=$(DLLTOOL)' \
489 'LD=$(LD)' \
490 'LIPO=$(LIPO)' \
491 'NM=$(NM)' \
492 'OBJDUMP=$(OBJDUMP)' \
493 'RANLIB=$(RANLIB)' \
494 'STRIP=$(STRIP)' \
495 'WINDRES=$(WINDRES)'
497 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
499 # Flags that are concerned with the location of the X11 include files
500 # and library files
502 # NOTE: until the top-level is getting the values via autoconf, it only
503 # causes problems to have this top-level Makefile overriding the autoconf-set
504 # values in child directories. Only variables that don't conflict with
505 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
507 X11_FLAGS_TO_PASS = \
508 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
509 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
511 # Flags to pass down to makes which are built with the target environment.
512 # The double $ decreases the length of the command line; those variables
513 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
514 # COMPILER_ prefixed variables are not passed down so we expand them here.
515 EXTRA_TARGET_FLAGS = \
516 'AR=$$(AR_FOR_TARGET)' \
517 'AS=$(COMPILER_AS_FOR_TARGET)' \
518 'CC=$$(CC_FOR_TARGET)' \
519 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
520 'CXX=$$(CXX_FOR_TARGET)' \
521 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
522 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
523 'LD=$(COMPILER_LD_FOR_TARGET)' \
524 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
525 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
526 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
527 'NM=$(COMPILER_NM_FOR_TARGET)' \
528 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
529 'RANLIB=$$(RANLIB_FOR_TARGET)' \
530 'WINDRES=$$(WINDRES_FOR_TARGET)'
532 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
534 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
535 # unfortunately needs the native compiler and the target ar and
536 # ranlib.
537 # If any variables are added here, they must be added to do-*, below.
538 # The BUILD_* variables are a special case, which are used for the gcc
539 # cross-building scheme.
540 EXTRA_GCC_FLAGS = \
541 'BUILD_PREFIX=$(BUILD_PREFIX)' \
542 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
543 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
544 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
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=/'`" \
550 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
552 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
554 .PHONY: configure-host
555 configure-host: \
556 maybe-configure-ash \
557 maybe-configure-autoconf \
558 maybe-configure-automake \
559 maybe-configure-bash \
560 maybe-configure-bfd \
561 maybe-configure-opcodes \
562 maybe-configure-binutils \
563 maybe-configure-bison \
564 maybe-configure-byacc \
565 maybe-configure-bzip2 \
566 maybe-configure-dejagnu \
567 maybe-configure-diff \
568 maybe-configure-dosutils \
569 maybe-configure-etc \
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
667 all-build: \
668 maybe-all-build-libiberty \
669 maybe-all-build-bison \
670 maybe-all-build-byacc \
671 maybe-all-build-flex \
672 maybe-all-build-m4 \
673 maybe-all-build-texinfo \
674 maybe-all-build-fixincludes
675 .PHONY: all-host
676 all-host: \
677 maybe-all-ash \
678 maybe-all-autoconf \
679 maybe-all-automake \
680 maybe-all-bash \
681 maybe-all-bfd \
682 maybe-all-opcodes \
683 maybe-all-binutils \
684 maybe-all-bison \
685 maybe-all-byacc \
686 maybe-all-bzip2 \
687 maybe-all-dejagnu \
688 maybe-all-diff \
689 maybe-all-dosutils \
690 maybe-all-etc \
691 maybe-all-fastjar \
692 maybe-all-fileutils \
693 maybe-all-findutils \
694 maybe-all-find \
695 maybe-all-fixincludes \
696 maybe-all-flex \
697 maybe-all-gas \
698 maybe-all-gcc \
699 maybe-all-gawk \
700 maybe-all-gettext \
701 maybe-all-gnuserv \
702 maybe-all-gprof \
703 maybe-all-gzip \
704 maybe-all-hello \
705 maybe-all-indent \
706 maybe-all-intl \
707 maybe-all-tcl \
708 maybe-all-itcl \
709 maybe-all-ld \
710 maybe-all-libcpp \
711 maybe-all-libdecnumber \
712 maybe-all-libgui \
713 maybe-all-libiberty \
714 maybe-all-libtool \
715 maybe-all-m4 \
716 maybe-all-make \
717 maybe-all-mmalloc \
718 maybe-all-patch \
719 maybe-all-perl \
720 maybe-all-prms \
721 maybe-all-rcs \
722 maybe-all-readline \
723 maybe-all-release \
724 maybe-all-recode \
725 maybe-all-sed \
726 maybe-all-send-pr \
727 maybe-all-shellutils \
728 maybe-all-sid \
729 maybe-all-sim \
730 maybe-all-tar \
731 maybe-all-texinfo \
732 maybe-all-textutils \
733 maybe-all-time \
734 maybe-all-uudecode \
735 maybe-all-wdiff \
736 maybe-all-zip \
737 maybe-all-zlib \
738 maybe-all-gdb \
739 maybe-all-expect \
740 maybe-all-guile \
741 maybe-all-tk \
742 maybe-all-libtermcap \
743 maybe-all-utils \
744 maybe-all-gnattools
745 .PHONY: all-target
746 all-target: \
747 maybe-all-target-libstdc++-v3 \
748 maybe-all-target-libmudflap \
749 maybe-all-target-libssp \
750 maybe-all-target-libgcc-math \
751 maybe-all-target-newlib \
752 maybe-all-target-libgfortran \
753 maybe-all-target-libobjc \
754 maybe-all-target-libtermcap \
755 maybe-all-target-winsup \
756 maybe-all-target-libgloss \
757 maybe-all-target-libiberty \
758 maybe-all-target-gperf \
759 maybe-all-target-examples \
760 maybe-all-target-libffi \
761 maybe-all-target-libjava \
762 maybe-all-target-zlib \
763 maybe-all-target-boehm-gc \
764 maybe-all-target-qthreads \
765 maybe-all-target-rda \
766 maybe-all-target-libada \
767 maybe-all-target-libgomp
769 # Do a target for all the subdirectories. A ``make do-X'' will do a
770 # ``make X'' in all subdirectories (because, in general, there is a
771 # dependency (below) of X upon do-X, a ``make X'' will also do this,
772 # but it may do additional work as well).
774 .PHONY: do-info
775 do-info:
776 @: $(MAKE); $(unstage)
777 @r=`${PWD_COMMAND}`; export r; \
778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
779 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
780 info-target
783 .PHONY: info-host
784 info-host: \
785 maybe-info-ash \
786 maybe-info-autoconf \
787 maybe-info-automake \
788 maybe-info-bash \
789 maybe-info-bfd \
790 maybe-info-opcodes \
791 maybe-info-binutils \
792 maybe-info-bison \
793 maybe-info-byacc \
794 maybe-info-bzip2 \
795 maybe-info-dejagnu \
796 maybe-info-diff \
797 maybe-info-dosutils \
798 maybe-info-etc \
799 maybe-info-fastjar \
800 maybe-info-fileutils \
801 maybe-info-findutils \
802 maybe-info-find \
803 maybe-info-fixincludes \
804 maybe-info-flex \
805 maybe-info-gas \
806 maybe-info-gcc \
807 maybe-info-gawk \
808 maybe-info-gettext \
809 maybe-info-gnuserv \
810 maybe-info-gprof \
811 maybe-info-gzip \
812 maybe-info-hello \
813 maybe-info-indent \
814 maybe-info-intl \
815 maybe-info-tcl \
816 maybe-info-itcl \
817 maybe-info-ld \
818 maybe-info-libcpp \
819 maybe-info-libdecnumber \
820 maybe-info-libgui \
821 maybe-info-libiberty \
822 maybe-info-libtool \
823 maybe-info-m4 \
824 maybe-info-make \
825 maybe-info-mmalloc \
826 maybe-info-patch \
827 maybe-info-perl \
828 maybe-info-prms \
829 maybe-info-rcs \
830 maybe-info-readline \
831 maybe-info-release \
832 maybe-info-recode \
833 maybe-info-sed \
834 maybe-info-send-pr \
835 maybe-info-shellutils \
836 maybe-info-sid \
837 maybe-info-sim \
838 maybe-info-tar \
839 maybe-info-texinfo \
840 maybe-info-textutils \
841 maybe-info-time \
842 maybe-info-uudecode \
843 maybe-info-wdiff \
844 maybe-info-zip \
845 maybe-info-zlib \
846 maybe-info-gdb \
847 maybe-info-expect \
848 maybe-info-guile \
849 maybe-info-tk \
850 maybe-info-libtermcap \
851 maybe-info-utils \
852 maybe-info-gnattools
854 .PHONY: info-target
855 info-target: \
856 maybe-info-target-libstdc++-v3 \
857 maybe-info-target-libmudflap \
858 maybe-info-target-libssp \
859 maybe-info-target-libgcc-math \
860 maybe-info-target-newlib \
861 maybe-info-target-libgfortran \
862 maybe-info-target-libobjc \
863 maybe-info-target-libtermcap \
864 maybe-info-target-winsup \
865 maybe-info-target-libgloss \
866 maybe-info-target-libiberty \
867 maybe-info-target-gperf \
868 maybe-info-target-examples \
869 maybe-info-target-libffi \
870 maybe-info-target-libjava \
871 maybe-info-target-zlib \
872 maybe-info-target-boehm-gc \
873 maybe-info-target-qthreads \
874 maybe-info-target-rda \
875 maybe-info-target-libada \
876 maybe-info-target-libgomp
878 .PHONY: do-dvi
879 do-dvi:
880 @: $(MAKE); $(unstage)
881 @r=`${PWD_COMMAND}`; export r; \
882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
883 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
884 dvi-target
887 .PHONY: dvi-host
888 dvi-host: \
889 maybe-dvi-ash \
890 maybe-dvi-autoconf \
891 maybe-dvi-automake \
892 maybe-dvi-bash \
893 maybe-dvi-bfd \
894 maybe-dvi-opcodes \
895 maybe-dvi-binutils \
896 maybe-dvi-bison \
897 maybe-dvi-byacc \
898 maybe-dvi-bzip2 \
899 maybe-dvi-dejagnu \
900 maybe-dvi-diff \
901 maybe-dvi-dosutils \
902 maybe-dvi-etc \
903 maybe-dvi-fastjar \
904 maybe-dvi-fileutils \
905 maybe-dvi-findutils \
906 maybe-dvi-find \
907 maybe-dvi-fixincludes \
908 maybe-dvi-flex \
909 maybe-dvi-gas \
910 maybe-dvi-gcc \
911 maybe-dvi-gawk \
912 maybe-dvi-gettext \
913 maybe-dvi-gnuserv \
914 maybe-dvi-gprof \
915 maybe-dvi-gzip \
916 maybe-dvi-hello \
917 maybe-dvi-indent \
918 maybe-dvi-intl \
919 maybe-dvi-tcl \
920 maybe-dvi-itcl \
921 maybe-dvi-ld \
922 maybe-dvi-libcpp \
923 maybe-dvi-libdecnumber \
924 maybe-dvi-libgui \
925 maybe-dvi-libiberty \
926 maybe-dvi-libtool \
927 maybe-dvi-m4 \
928 maybe-dvi-make \
929 maybe-dvi-mmalloc \
930 maybe-dvi-patch \
931 maybe-dvi-perl \
932 maybe-dvi-prms \
933 maybe-dvi-rcs \
934 maybe-dvi-readline \
935 maybe-dvi-release \
936 maybe-dvi-recode \
937 maybe-dvi-sed \
938 maybe-dvi-send-pr \
939 maybe-dvi-shellutils \
940 maybe-dvi-sid \
941 maybe-dvi-sim \
942 maybe-dvi-tar \
943 maybe-dvi-texinfo \
944 maybe-dvi-textutils \
945 maybe-dvi-time \
946 maybe-dvi-uudecode \
947 maybe-dvi-wdiff \
948 maybe-dvi-zip \
949 maybe-dvi-zlib \
950 maybe-dvi-gdb \
951 maybe-dvi-expect \
952 maybe-dvi-guile \
953 maybe-dvi-tk \
954 maybe-dvi-libtermcap \
955 maybe-dvi-utils \
956 maybe-dvi-gnattools
958 .PHONY: dvi-target
959 dvi-target: \
960 maybe-dvi-target-libstdc++-v3 \
961 maybe-dvi-target-libmudflap \
962 maybe-dvi-target-libssp \
963 maybe-dvi-target-libgcc-math \
964 maybe-dvi-target-newlib \
965 maybe-dvi-target-libgfortran \
966 maybe-dvi-target-libobjc \
967 maybe-dvi-target-libtermcap \
968 maybe-dvi-target-winsup \
969 maybe-dvi-target-libgloss \
970 maybe-dvi-target-libiberty \
971 maybe-dvi-target-gperf \
972 maybe-dvi-target-examples \
973 maybe-dvi-target-libffi \
974 maybe-dvi-target-libjava \
975 maybe-dvi-target-zlib \
976 maybe-dvi-target-boehm-gc \
977 maybe-dvi-target-qthreads \
978 maybe-dvi-target-rda \
979 maybe-dvi-target-libada \
980 maybe-dvi-target-libgomp
982 .PHONY: do-html
983 do-html:
984 @: $(MAKE); $(unstage)
985 @r=`${PWD_COMMAND}`; export r; \
986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
987 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
988 html-target
991 .PHONY: html-host
992 html-host: \
993 maybe-html-ash \
994 maybe-html-autoconf \
995 maybe-html-automake \
996 maybe-html-bash \
997 maybe-html-bfd \
998 maybe-html-opcodes \
999 maybe-html-binutils \
1000 maybe-html-bison \
1001 maybe-html-byacc \
1002 maybe-html-bzip2 \
1003 maybe-html-dejagnu \
1004 maybe-html-diff \
1005 maybe-html-dosutils \
1006 maybe-html-etc \
1007 maybe-html-fastjar \
1008 maybe-html-fileutils \
1009 maybe-html-findutils \
1010 maybe-html-find \
1011 maybe-html-fixincludes \
1012 maybe-html-flex \
1013 maybe-html-gas \
1014 maybe-html-gcc \
1015 maybe-html-gawk \
1016 maybe-html-gettext \
1017 maybe-html-gnuserv \
1018 maybe-html-gprof \
1019 maybe-html-gzip \
1020 maybe-html-hello \
1021 maybe-html-indent \
1022 maybe-html-intl \
1023 maybe-html-tcl \
1024 maybe-html-itcl \
1025 maybe-html-ld \
1026 maybe-html-libcpp \
1027 maybe-html-libdecnumber \
1028 maybe-html-libgui \
1029 maybe-html-libiberty \
1030 maybe-html-libtool \
1031 maybe-html-m4 \
1032 maybe-html-make \
1033 maybe-html-mmalloc \
1034 maybe-html-patch \
1035 maybe-html-perl \
1036 maybe-html-prms \
1037 maybe-html-rcs \
1038 maybe-html-readline \
1039 maybe-html-release \
1040 maybe-html-recode \
1041 maybe-html-sed \
1042 maybe-html-send-pr \
1043 maybe-html-shellutils \
1044 maybe-html-sid \
1045 maybe-html-sim \
1046 maybe-html-tar \
1047 maybe-html-texinfo \
1048 maybe-html-textutils \
1049 maybe-html-time \
1050 maybe-html-uudecode \
1051 maybe-html-wdiff \
1052 maybe-html-zip \
1053 maybe-html-zlib \
1054 maybe-html-gdb \
1055 maybe-html-expect \
1056 maybe-html-guile \
1057 maybe-html-tk \
1058 maybe-html-libtermcap \
1059 maybe-html-utils \
1060 maybe-html-gnattools
1062 .PHONY: html-target
1063 html-target: \
1064 maybe-html-target-libstdc++-v3 \
1065 maybe-html-target-libmudflap \
1066 maybe-html-target-libssp \
1067 maybe-html-target-libgcc-math \
1068 maybe-html-target-newlib \
1069 maybe-html-target-libgfortran \
1070 maybe-html-target-libobjc \
1071 maybe-html-target-libtermcap \
1072 maybe-html-target-winsup \
1073 maybe-html-target-libgloss \
1074 maybe-html-target-libiberty \
1075 maybe-html-target-gperf \
1076 maybe-html-target-examples \
1077 maybe-html-target-libffi \
1078 maybe-html-target-libjava \
1079 maybe-html-target-zlib \
1080 maybe-html-target-boehm-gc \
1081 maybe-html-target-qthreads \
1082 maybe-html-target-rda \
1083 maybe-html-target-libada \
1084 maybe-html-target-libgomp
1086 .PHONY: do-TAGS
1087 do-TAGS:
1088 @: $(MAKE); $(unstage)
1089 @r=`${PWD_COMMAND}`; export r; \
1090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1091 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1092 TAGS-target
1095 .PHONY: TAGS-host
1096 TAGS-host: \
1097 maybe-TAGS-ash \
1098 maybe-TAGS-autoconf \
1099 maybe-TAGS-automake \
1100 maybe-TAGS-bash \
1101 maybe-TAGS-bfd \
1102 maybe-TAGS-opcodes \
1103 maybe-TAGS-binutils \
1104 maybe-TAGS-bison \
1105 maybe-TAGS-byacc \
1106 maybe-TAGS-bzip2 \
1107 maybe-TAGS-dejagnu \
1108 maybe-TAGS-diff \
1109 maybe-TAGS-dosutils \
1110 maybe-TAGS-etc \
1111 maybe-TAGS-fastjar \
1112 maybe-TAGS-fileutils \
1113 maybe-TAGS-findutils \
1114 maybe-TAGS-find \
1115 maybe-TAGS-fixincludes \
1116 maybe-TAGS-flex \
1117 maybe-TAGS-gas \
1118 maybe-TAGS-gcc \
1119 maybe-TAGS-gawk \
1120 maybe-TAGS-gettext \
1121 maybe-TAGS-gnuserv \
1122 maybe-TAGS-gprof \
1123 maybe-TAGS-gzip \
1124 maybe-TAGS-hello \
1125 maybe-TAGS-indent \
1126 maybe-TAGS-intl \
1127 maybe-TAGS-tcl \
1128 maybe-TAGS-itcl \
1129 maybe-TAGS-ld \
1130 maybe-TAGS-libcpp \
1131 maybe-TAGS-libdecnumber \
1132 maybe-TAGS-libgui \
1133 maybe-TAGS-libiberty \
1134 maybe-TAGS-libtool \
1135 maybe-TAGS-m4 \
1136 maybe-TAGS-make \
1137 maybe-TAGS-mmalloc \
1138 maybe-TAGS-patch \
1139 maybe-TAGS-perl \
1140 maybe-TAGS-prms \
1141 maybe-TAGS-rcs \
1142 maybe-TAGS-readline \
1143 maybe-TAGS-release \
1144 maybe-TAGS-recode \
1145 maybe-TAGS-sed \
1146 maybe-TAGS-send-pr \
1147 maybe-TAGS-shellutils \
1148 maybe-TAGS-sid \
1149 maybe-TAGS-sim \
1150 maybe-TAGS-tar \
1151 maybe-TAGS-texinfo \
1152 maybe-TAGS-textutils \
1153 maybe-TAGS-time \
1154 maybe-TAGS-uudecode \
1155 maybe-TAGS-wdiff \
1156 maybe-TAGS-zip \
1157 maybe-TAGS-zlib \
1158 maybe-TAGS-gdb \
1159 maybe-TAGS-expect \
1160 maybe-TAGS-guile \
1161 maybe-TAGS-tk \
1162 maybe-TAGS-libtermcap \
1163 maybe-TAGS-utils \
1164 maybe-TAGS-gnattools
1166 .PHONY: TAGS-target
1167 TAGS-target: \
1168 maybe-TAGS-target-libstdc++-v3 \
1169 maybe-TAGS-target-libmudflap \
1170 maybe-TAGS-target-libssp \
1171 maybe-TAGS-target-libgcc-math \
1172 maybe-TAGS-target-newlib \
1173 maybe-TAGS-target-libgfortran \
1174 maybe-TAGS-target-libobjc \
1175 maybe-TAGS-target-libtermcap \
1176 maybe-TAGS-target-winsup \
1177 maybe-TAGS-target-libgloss \
1178 maybe-TAGS-target-libiberty \
1179 maybe-TAGS-target-gperf \
1180 maybe-TAGS-target-examples \
1181 maybe-TAGS-target-libffi \
1182 maybe-TAGS-target-libjava \
1183 maybe-TAGS-target-zlib \
1184 maybe-TAGS-target-boehm-gc \
1185 maybe-TAGS-target-qthreads \
1186 maybe-TAGS-target-rda \
1187 maybe-TAGS-target-libada \
1188 maybe-TAGS-target-libgomp
1190 .PHONY: do-install-info
1191 do-install-info:
1192 @: $(MAKE); $(unstage)
1193 @r=`${PWD_COMMAND}`; export r; \
1194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1195 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1196 install-info-target
1199 .PHONY: install-info-host
1200 install-info-host: \
1201 maybe-install-info-ash \
1202 maybe-install-info-autoconf \
1203 maybe-install-info-automake \
1204 maybe-install-info-bash \
1205 maybe-install-info-bfd \
1206 maybe-install-info-opcodes \
1207 maybe-install-info-binutils \
1208 maybe-install-info-bison \
1209 maybe-install-info-byacc \
1210 maybe-install-info-bzip2 \
1211 maybe-install-info-dejagnu \
1212 maybe-install-info-diff \
1213 maybe-install-info-dosutils \
1214 maybe-install-info-etc \
1215 maybe-install-info-fastjar \
1216 maybe-install-info-fileutils \
1217 maybe-install-info-findutils \
1218 maybe-install-info-find \
1219 maybe-install-info-fixincludes \
1220 maybe-install-info-flex \
1221 maybe-install-info-gas \
1222 maybe-install-info-gcc \
1223 maybe-install-info-gawk \
1224 maybe-install-info-gettext \
1225 maybe-install-info-gnuserv \
1226 maybe-install-info-gprof \
1227 maybe-install-info-gzip \
1228 maybe-install-info-hello \
1229 maybe-install-info-indent \
1230 maybe-install-info-intl \
1231 maybe-install-info-tcl \
1232 maybe-install-info-itcl \
1233 maybe-install-info-ld \
1234 maybe-install-info-libcpp \
1235 maybe-install-info-libdecnumber \
1236 maybe-install-info-libgui \
1237 maybe-install-info-libiberty \
1238 maybe-install-info-libtool \
1239 maybe-install-info-m4 \
1240 maybe-install-info-make \
1241 maybe-install-info-mmalloc \
1242 maybe-install-info-patch \
1243 maybe-install-info-perl \
1244 maybe-install-info-prms \
1245 maybe-install-info-rcs \
1246 maybe-install-info-readline \
1247 maybe-install-info-release \
1248 maybe-install-info-recode \
1249 maybe-install-info-sed \
1250 maybe-install-info-send-pr \
1251 maybe-install-info-shellutils \
1252 maybe-install-info-sid \
1253 maybe-install-info-sim \
1254 maybe-install-info-tar \
1255 maybe-install-info-texinfo \
1256 maybe-install-info-textutils \
1257 maybe-install-info-time \
1258 maybe-install-info-uudecode \
1259 maybe-install-info-wdiff \
1260 maybe-install-info-zip \
1261 maybe-install-info-zlib \
1262 maybe-install-info-gdb \
1263 maybe-install-info-expect \
1264 maybe-install-info-guile \
1265 maybe-install-info-tk \
1266 maybe-install-info-libtermcap \
1267 maybe-install-info-utils \
1268 maybe-install-info-gnattools
1270 .PHONY: install-info-target
1271 install-info-target: \
1272 maybe-install-info-target-libstdc++-v3 \
1273 maybe-install-info-target-libmudflap \
1274 maybe-install-info-target-libssp \
1275 maybe-install-info-target-libgcc-math \
1276 maybe-install-info-target-newlib \
1277 maybe-install-info-target-libgfortran \
1278 maybe-install-info-target-libobjc \
1279 maybe-install-info-target-libtermcap \
1280 maybe-install-info-target-winsup \
1281 maybe-install-info-target-libgloss \
1282 maybe-install-info-target-libiberty \
1283 maybe-install-info-target-gperf \
1284 maybe-install-info-target-examples \
1285 maybe-install-info-target-libffi \
1286 maybe-install-info-target-libjava \
1287 maybe-install-info-target-zlib \
1288 maybe-install-info-target-boehm-gc \
1289 maybe-install-info-target-qthreads \
1290 maybe-install-info-target-rda \
1291 maybe-install-info-target-libada \
1292 maybe-install-info-target-libgomp
1294 .PHONY: do-installcheck
1295 do-installcheck:
1296 @: $(MAKE); $(unstage)
1297 @r=`${PWD_COMMAND}`; export r; \
1298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1299 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1300 installcheck-target
1303 .PHONY: installcheck-host
1304 installcheck-host: \
1305 maybe-installcheck-ash \
1306 maybe-installcheck-autoconf \
1307 maybe-installcheck-automake \
1308 maybe-installcheck-bash \
1309 maybe-installcheck-bfd \
1310 maybe-installcheck-opcodes \
1311 maybe-installcheck-binutils \
1312 maybe-installcheck-bison \
1313 maybe-installcheck-byacc \
1314 maybe-installcheck-bzip2 \
1315 maybe-installcheck-dejagnu \
1316 maybe-installcheck-diff \
1317 maybe-installcheck-dosutils \
1318 maybe-installcheck-etc \
1319 maybe-installcheck-fastjar \
1320 maybe-installcheck-fileutils \
1321 maybe-installcheck-findutils \
1322 maybe-installcheck-find \
1323 maybe-installcheck-fixincludes \
1324 maybe-installcheck-flex \
1325 maybe-installcheck-gas \
1326 maybe-installcheck-gcc \
1327 maybe-installcheck-gawk \
1328 maybe-installcheck-gettext \
1329 maybe-installcheck-gnuserv \
1330 maybe-installcheck-gprof \
1331 maybe-installcheck-gzip \
1332 maybe-installcheck-hello \
1333 maybe-installcheck-indent \
1334 maybe-installcheck-intl \
1335 maybe-installcheck-tcl \
1336 maybe-installcheck-itcl \
1337 maybe-installcheck-ld \
1338 maybe-installcheck-libcpp \
1339 maybe-installcheck-libdecnumber \
1340 maybe-installcheck-libgui \
1341 maybe-installcheck-libiberty \
1342 maybe-installcheck-libtool \
1343 maybe-installcheck-m4 \
1344 maybe-installcheck-make \
1345 maybe-installcheck-mmalloc \
1346 maybe-installcheck-patch \
1347 maybe-installcheck-perl \
1348 maybe-installcheck-prms \
1349 maybe-installcheck-rcs \
1350 maybe-installcheck-readline \
1351 maybe-installcheck-release \
1352 maybe-installcheck-recode \
1353 maybe-installcheck-sed \
1354 maybe-installcheck-send-pr \
1355 maybe-installcheck-shellutils \
1356 maybe-installcheck-sid \
1357 maybe-installcheck-sim \
1358 maybe-installcheck-tar \
1359 maybe-installcheck-texinfo \
1360 maybe-installcheck-textutils \
1361 maybe-installcheck-time \
1362 maybe-installcheck-uudecode \
1363 maybe-installcheck-wdiff \
1364 maybe-installcheck-zip \
1365 maybe-installcheck-zlib \
1366 maybe-installcheck-gdb \
1367 maybe-installcheck-expect \
1368 maybe-installcheck-guile \
1369 maybe-installcheck-tk \
1370 maybe-installcheck-libtermcap \
1371 maybe-installcheck-utils \
1372 maybe-installcheck-gnattools
1374 .PHONY: installcheck-target
1375 installcheck-target: \
1376 maybe-installcheck-target-libstdc++-v3 \
1377 maybe-installcheck-target-libmudflap \
1378 maybe-installcheck-target-libssp \
1379 maybe-installcheck-target-libgcc-math \
1380 maybe-installcheck-target-newlib \
1381 maybe-installcheck-target-libgfortran \
1382 maybe-installcheck-target-libobjc \
1383 maybe-installcheck-target-libtermcap \
1384 maybe-installcheck-target-winsup \
1385 maybe-installcheck-target-libgloss \
1386 maybe-installcheck-target-libiberty \
1387 maybe-installcheck-target-gperf \
1388 maybe-installcheck-target-examples \
1389 maybe-installcheck-target-libffi \
1390 maybe-installcheck-target-libjava \
1391 maybe-installcheck-target-zlib \
1392 maybe-installcheck-target-boehm-gc \
1393 maybe-installcheck-target-qthreads \
1394 maybe-installcheck-target-rda \
1395 maybe-installcheck-target-libada \
1396 maybe-installcheck-target-libgomp
1398 .PHONY: do-mostlyclean
1399 do-mostlyclean:
1400 @: $(MAKE); $(unstage)
1401 @r=`${PWD_COMMAND}`; export r; \
1402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1403 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1404 mostlyclean-target
1407 .PHONY: mostlyclean-host
1408 mostlyclean-host: \
1409 maybe-mostlyclean-ash \
1410 maybe-mostlyclean-autoconf \
1411 maybe-mostlyclean-automake \
1412 maybe-mostlyclean-bash \
1413 maybe-mostlyclean-bfd \
1414 maybe-mostlyclean-opcodes \
1415 maybe-mostlyclean-binutils \
1416 maybe-mostlyclean-bison \
1417 maybe-mostlyclean-byacc \
1418 maybe-mostlyclean-bzip2 \
1419 maybe-mostlyclean-dejagnu \
1420 maybe-mostlyclean-diff \
1421 maybe-mostlyclean-dosutils \
1422 maybe-mostlyclean-etc \
1423 maybe-mostlyclean-fastjar \
1424 maybe-mostlyclean-fileutils \
1425 maybe-mostlyclean-findutils \
1426 maybe-mostlyclean-find \
1427 maybe-mostlyclean-fixincludes \
1428 maybe-mostlyclean-flex \
1429 maybe-mostlyclean-gas \
1430 maybe-mostlyclean-gcc \
1431 maybe-mostlyclean-gawk \
1432 maybe-mostlyclean-gettext \
1433 maybe-mostlyclean-gnuserv \
1434 maybe-mostlyclean-gprof \
1435 maybe-mostlyclean-gzip \
1436 maybe-mostlyclean-hello \
1437 maybe-mostlyclean-indent \
1438 maybe-mostlyclean-intl \
1439 maybe-mostlyclean-tcl \
1440 maybe-mostlyclean-itcl \
1441 maybe-mostlyclean-ld \
1442 maybe-mostlyclean-libcpp \
1443 maybe-mostlyclean-libdecnumber \
1444 maybe-mostlyclean-libgui \
1445 maybe-mostlyclean-libiberty \
1446 maybe-mostlyclean-libtool \
1447 maybe-mostlyclean-m4 \
1448 maybe-mostlyclean-make \
1449 maybe-mostlyclean-mmalloc \
1450 maybe-mostlyclean-patch \
1451 maybe-mostlyclean-perl \
1452 maybe-mostlyclean-prms \
1453 maybe-mostlyclean-rcs \
1454 maybe-mostlyclean-readline \
1455 maybe-mostlyclean-release \
1456 maybe-mostlyclean-recode \
1457 maybe-mostlyclean-sed \
1458 maybe-mostlyclean-send-pr \
1459 maybe-mostlyclean-shellutils \
1460 maybe-mostlyclean-sid \
1461 maybe-mostlyclean-sim \
1462 maybe-mostlyclean-tar \
1463 maybe-mostlyclean-texinfo \
1464 maybe-mostlyclean-textutils \
1465 maybe-mostlyclean-time \
1466 maybe-mostlyclean-uudecode \
1467 maybe-mostlyclean-wdiff \
1468 maybe-mostlyclean-zip \
1469 maybe-mostlyclean-zlib \
1470 maybe-mostlyclean-gdb \
1471 maybe-mostlyclean-expect \
1472 maybe-mostlyclean-guile \
1473 maybe-mostlyclean-tk \
1474 maybe-mostlyclean-libtermcap \
1475 maybe-mostlyclean-utils \
1476 maybe-mostlyclean-gnattools
1478 .PHONY: mostlyclean-target
1479 mostlyclean-target: \
1480 maybe-mostlyclean-target-libstdc++-v3 \
1481 maybe-mostlyclean-target-libmudflap \
1482 maybe-mostlyclean-target-libssp \
1483 maybe-mostlyclean-target-libgcc-math \
1484 maybe-mostlyclean-target-newlib \
1485 maybe-mostlyclean-target-libgfortran \
1486 maybe-mostlyclean-target-libobjc \
1487 maybe-mostlyclean-target-libtermcap \
1488 maybe-mostlyclean-target-winsup \
1489 maybe-mostlyclean-target-libgloss \
1490 maybe-mostlyclean-target-libiberty \
1491 maybe-mostlyclean-target-gperf \
1492 maybe-mostlyclean-target-examples \
1493 maybe-mostlyclean-target-libffi \
1494 maybe-mostlyclean-target-libjava \
1495 maybe-mostlyclean-target-zlib \
1496 maybe-mostlyclean-target-boehm-gc \
1497 maybe-mostlyclean-target-qthreads \
1498 maybe-mostlyclean-target-rda \
1499 maybe-mostlyclean-target-libada \
1500 maybe-mostlyclean-target-libgomp
1502 .PHONY: do-clean
1503 do-clean:
1504 @: $(MAKE); $(unstage)
1505 @r=`${PWD_COMMAND}`; export r; \
1506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1507 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1508 clean-target
1511 .PHONY: clean-host
1512 clean-host: \
1513 maybe-clean-ash \
1514 maybe-clean-autoconf \
1515 maybe-clean-automake \
1516 maybe-clean-bash \
1517 maybe-clean-bfd \
1518 maybe-clean-opcodes \
1519 maybe-clean-binutils \
1520 maybe-clean-bison \
1521 maybe-clean-byacc \
1522 maybe-clean-bzip2 \
1523 maybe-clean-dejagnu \
1524 maybe-clean-diff \
1525 maybe-clean-dosutils \
1526 maybe-clean-etc \
1527 maybe-clean-fastjar \
1528 maybe-clean-fileutils \
1529 maybe-clean-findutils \
1530 maybe-clean-find \
1531 maybe-clean-fixincludes \
1532 maybe-clean-flex \
1533 maybe-clean-gas \
1534 maybe-clean-gcc \
1535 maybe-clean-gawk \
1536 maybe-clean-gettext \
1537 maybe-clean-gnuserv \
1538 maybe-clean-gprof \
1539 maybe-clean-gzip \
1540 maybe-clean-hello \
1541 maybe-clean-indent \
1542 maybe-clean-intl \
1543 maybe-clean-tcl \
1544 maybe-clean-itcl \
1545 maybe-clean-ld \
1546 maybe-clean-libcpp \
1547 maybe-clean-libdecnumber \
1548 maybe-clean-libgui \
1549 maybe-clean-libiberty \
1550 maybe-clean-libtool \
1551 maybe-clean-m4 \
1552 maybe-clean-make \
1553 maybe-clean-mmalloc \
1554 maybe-clean-patch \
1555 maybe-clean-perl \
1556 maybe-clean-prms \
1557 maybe-clean-rcs \
1558 maybe-clean-readline \
1559 maybe-clean-release \
1560 maybe-clean-recode \
1561 maybe-clean-sed \
1562 maybe-clean-send-pr \
1563 maybe-clean-shellutils \
1564 maybe-clean-sid \
1565 maybe-clean-sim \
1566 maybe-clean-tar \
1567 maybe-clean-texinfo \
1568 maybe-clean-textutils \
1569 maybe-clean-time \
1570 maybe-clean-uudecode \
1571 maybe-clean-wdiff \
1572 maybe-clean-zip \
1573 maybe-clean-zlib \
1574 maybe-clean-gdb \
1575 maybe-clean-expect \
1576 maybe-clean-guile \
1577 maybe-clean-tk \
1578 maybe-clean-libtermcap \
1579 maybe-clean-utils \
1580 maybe-clean-gnattools
1582 .PHONY: clean-target
1583 clean-target: \
1584 maybe-clean-target-libstdc++-v3 \
1585 maybe-clean-target-libmudflap \
1586 maybe-clean-target-libssp \
1587 maybe-clean-target-libgcc-math \
1588 maybe-clean-target-newlib \
1589 maybe-clean-target-libgfortran \
1590 maybe-clean-target-libobjc \
1591 maybe-clean-target-libtermcap \
1592 maybe-clean-target-winsup \
1593 maybe-clean-target-libgloss \
1594 maybe-clean-target-libiberty \
1595 maybe-clean-target-gperf \
1596 maybe-clean-target-examples \
1597 maybe-clean-target-libffi \
1598 maybe-clean-target-libjava \
1599 maybe-clean-target-zlib \
1600 maybe-clean-target-boehm-gc \
1601 maybe-clean-target-qthreads \
1602 maybe-clean-target-rda \
1603 maybe-clean-target-libada \
1604 maybe-clean-target-libgomp
1606 .PHONY: do-distclean
1607 do-distclean:
1608 @: $(MAKE); $(unstage)
1609 @r=`${PWD_COMMAND}`; export r; \
1610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1611 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1612 distclean-target
1615 .PHONY: distclean-host
1616 distclean-host: \
1617 maybe-distclean-ash \
1618 maybe-distclean-autoconf \
1619 maybe-distclean-automake \
1620 maybe-distclean-bash \
1621 maybe-distclean-bfd \
1622 maybe-distclean-opcodes \
1623 maybe-distclean-binutils \
1624 maybe-distclean-bison \
1625 maybe-distclean-byacc \
1626 maybe-distclean-bzip2 \
1627 maybe-distclean-dejagnu \
1628 maybe-distclean-diff \
1629 maybe-distclean-dosutils \
1630 maybe-distclean-etc \
1631 maybe-distclean-fastjar \
1632 maybe-distclean-fileutils \
1633 maybe-distclean-findutils \
1634 maybe-distclean-find \
1635 maybe-distclean-fixincludes \
1636 maybe-distclean-flex \
1637 maybe-distclean-gas \
1638 maybe-distclean-gcc \
1639 maybe-distclean-gawk \
1640 maybe-distclean-gettext \
1641 maybe-distclean-gnuserv \
1642 maybe-distclean-gprof \
1643 maybe-distclean-gzip \
1644 maybe-distclean-hello \
1645 maybe-distclean-indent \
1646 maybe-distclean-intl \
1647 maybe-distclean-tcl \
1648 maybe-distclean-itcl \
1649 maybe-distclean-ld \
1650 maybe-distclean-libcpp \
1651 maybe-distclean-libdecnumber \
1652 maybe-distclean-libgui \
1653 maybe-distclean-libiberty \
1654 maybe-distclean-libtool \
1655 maybe-distclean-m4 \
1656 maybe-distclean-make \
1657 maybe-distclean-mmalloc \
1658 maybe-distclean-patch \
1659 maybe-distclean-perl \
1660 maybe-distclean-prms \
1661 maybe-distclean-rcs \
1662 maybe-distclean-readline \
1663 maybe-distclean-release \
1664 maybe-distclean-recode \
1665 maybe-distclean-sed \
1666 maybe-distclean-send-pr \
1667 maybe-distclean-shellutils \
1668 maybe-distclean-sid \
1669 maybe-distclean-sim \
1670 maybe-distclean-tar \
1671 maybe-distclean-texinfo \
1672 maybe-distclean-textutils \
1673 maybe-distclean-time \
1674 maybe-distclean-uudecode \
1675 maybe-distclean-wdiff \
1676 maybe-distclean-zip \
1677 maybe-distclean-zlib \
1678 maybe-distclean-gdb \
1679 maybe-distclean-expect \
1680 maybe-distclean-guile \
1681 maybe-distclean-tk \
1682 maybe-distclean-libtermcap \
1683 maybe-distclean-utils \
1684 maybe-distclean-gnattools
1686 .PHONY: distclean-target
1687 distclean-target: \
1688 maybe-distclean-target-libstdc++-v3 \
1689 maybe-distclean-target-libmudflap \
1690 maybe-distclean-target-libssp \
1691 maybe-distclean-target-libgcc-math \
1692 maybe-distclean-target-newlib \
1693 maybe-distclean-target-libgfortran \
1694 maybe-distclean-target-libobjc \
1695 maybe-distclean-target-libtermcap \
1696 maybe-distclean-target-winsup \
1697 maybe-distclean-target-libgloss \
1698 maybe-distclean-target-libiberty \
1699 maybe-distclean-target-gperf \
1700 maybe-distclean-target-examples \
1701 maybe-distclean-target-libffi \
1702 maybe-distclean-target-libjava \
1703 maybe-distclean-target-zlib \
1704 maybe-distclean-target-boehm-gc \
1705 maybe-distclean-target-qthreads \
1706 maybe-distclean-target-rda \
1707 maybe-distclean-target-libada \
1708 maybe-distclean-target-libgomp
1710 .PHONY: do-maintainer-clean
1711 do-maintainer-clean:
1712 @: $(MAKE); $(unstage)
1713 @r=`${PWD_COMMAND}`; export r; \
1714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1715 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1716 maintainer-clean-target
1719 .PHONY: maintainer-clean-host
1720 maintainer-clean-host: \
1721 maybe-maintainer-clean-ash \
1722 maybe-maintainer-clean-autoconf \
1723 maybe-maintainer-clean-automake \
1724 maybe-maintainer-clean-bash \
1725 maybe-maintainer-clean-bfd \
1726 maybe-maintainer-clean-opcodes \
1727 maybe-maintainer-clean-binutils \
1728 maybe-maintainer-clean-bison \
1729 maybe-maintainer-clean-byacc \
1730 maybe-maintainer-clean-bzip2 \
1731 maybe-maintainer-clean-dejagnu \
1732 maybe-maintainer-clean-diff \
1733 maybe-maintainer-clean-dosutils \
1734 maybe-maintainer-clean-etc \
1735 maybe-maintainer-clean-fastjar \
1736 maybe-maintainer-clean-fileutils \
1737 maybe-maintainer-clean-findutils \
1738 maybe-maintainer-clean-find \
1739 maybe-maintainer-clean-fixincludes \
1740 maybe-maintainer-clean-flex \
1741 maybe-maintainer-clean-gas \
1742 maybe-maintainer-clean-gcc \
1743 maybe-maintainer-clean-gawk \
1744 maybe-maintainer-clean-gettext \
1745 maybe-maintainer-clean-gnuserv \
1746 maybe-maintainer-clean-gprof \
1747 maybe-maintainer-clean-gzip \
1748 maybe-maintainer-clean-hello \
1749 maybe-maintainer-clean-indent \
1750 maybe-maintainer-clean-intl \
1751 maybe-maintainer-clean-tcl \
1752 maybe-maintainer-clean-itcl \
1753 maybe-maintainer-clean-ld \
1754 maybe-maintainer-clean-libcpp \
1755 maybe-maintainer-clean-libdecnumber \
1756 maybe-maintainer-clean-libgui \
1757 maybe-maintainer-clean-libiberty \
1758 maybe-maintainer-clean-libtool \
1759 maybe-maintainer-clean-m4 \
1760 maybe-maintainer-clean-make \
1761 maybe-maintainer-clean-mmalloc \
1762 maybe-maintainer-clean-patch \
1763 maybe-maintainer-clean-perl \
1764 maybe-maintainer-clean-prms \
1765 maybe-maintainer-clean-rcs \
1766 maybe-maintainer-clean-readline \
1767 maybe-maintainer-clean-release \
1768 maybe-maintainer-clean-recode \
1769 maybe-maintainer-clean-sed \
1770 maybe-maintainer-clean-send-pr \
1771 maybe-maintainer-clean-shellutils \
1772 maybe-maintainer-clean-sid \
1773 maybe-maintainer-clean-sim \
1774 maybe-maintainer-clean-tar \
1775 maybe-maintainer-clean-texinfo \
1776 maybe-maintainer-clean-textutils \
1777 maybe-maintainer-clean-time \
1778 maybe-maintainer-clean-uudecode \
1779 maybe-maintainer-clean-wdiff \
1780 maybe-maintainer-clean-zip \
1781 maybe-maintainer-clean-zlib \
1782 maybe-maintainer-clean-gdb \
1783 maybe-maintainer-clean-expect \
1784 maybe-maintainer-clean-guile \
1785 maybe-maintainer-clean-tk \
1786 maybe-maintainer-clean-libtermcap \
1787 maybe-maintainer-clean-utils \
1788 maybe-maintainer-clean-gnattools
1790 .PHONY: maintainer-clean-target
1791 maintainer-clean-target: \
1792 maybe-maintainer-clean-target-libstdc++-v3 \
1793 maybe-maintainer-clean-target-libmudflap \
1794 maybe-maintainer-clean-target-libssp \
1795 maybe-maintainer-clean-target-libgcc-math \
1796 maybe-maintainer-clean-target-newlib \
1797 maybe-maintainer-clean-target-libgfortran \
1798 maybe-maintainer-clean-target-libobjc \
1799 maybe-maintainer-clean-target-libtermcap \
1800 maybe-maintainer-clean-target-winsup \
1801 maybe-maintainer-clean-target-libgloss \
1802 maybe-maintainer-clean-target-libiberty \
1803 maybe-maintainer-clean-target-gperf \
1804 maybe-maintainer-clean-target-examples \
1805 maybe-maintainer-clean-target-libffi \
1806 maybe-maintainer-clean-target-libjava \
1807 maybe-maintainer-clean-target-zlib \
1808 maybe-maintainer-clean-target-boehm-gc \
1809 maybe-maintainer-clean-target-qthreads \
1810 maybe-maintainer-clean-target-rda \
1811 maybe-maintainer-clean-target-libada \
1812 maybe-maintainer-clean-target-libgomp
1815 # Here are the targets which correspond to the do-X targets.
1817 .PHONY: info installcheck dvi html install-info
1818 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1819 .PHONY: local-clean local-distclean local-maintainer-clean
1820 info: do-info
1821 installcheck: do-installcheck
1822 dvi: do-dvi
1823 html: do-html
1825 # Make sure makeinfo is built before we do a `make info', if we're
1826 # in fact building texinfo.
1827 do-info: maybe-all-texinfo
1829 install-info: do-install-info dir.info
1830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1831 if [ -f dir.info ] ; then \
1832 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1833 else true ; fi
1835 local-clean:
1836 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1838 local-distclean:
1839 -rm -f Makefile config.status config.cache mh-frag mt-frag
1840 -rm -f maybedep.tmp serdep.tmp
1841 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1842 rm -rf $(TARGET_SUBDIR); \
1843 else true; fi
1844 -rm -rf $(BUILD_SUBDIR)
1845 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1846 rm -rf $(HOST_SUBDIR); \
1847 else true; fi
1848 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1849 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1850 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1851 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1852 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1854 local-maintainer-clean:
1855 @echo "This command is intended for maintainers to use;"
1856 @echo "it deletes files that may require special tools to rebuild."
1858 clean: do-clean local-clean
1859 mostlyclean: do-mostlyclean local-clean
1860 distclean: do-distclean local-clean local-distclean
1861 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1862 maintainer-clean: local-distclean
1863 realclean: maintainer-clean
1865 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1866 clean-target: clean-target-libgcc
1867 clean-target-libgcc:
1868 test ! -d gcc || (cd gcc && $(MAKE) $@)
1870 # Check target.
1872 .PHONY: check do-check
1873 check: do-check
1875 # Only include modules actually being configured and built.
1876 .PHONY: check-host
1877 check-host: \
1878 maybe-check-ash \
1879 maybe-check-autoconf \
1880 maybe-check-automake \
1881 maybe-check-bash \
1882 maybe-check-bfd \
1883 maybe-check-opcodes \
1884 maybe-check-binutils \
1885 maybe-check-bison \
1886 maybe-check-byacc \
1887 maybe-check-bzip2 \
1888 maybe-check-dejagnu \
1889 maybe-check-diff \
1890 maybe-check-dosutils \
1891 maybe-check-etc \
1892 maybe-check-fastjar \
1893 maybe-check-fileutils \
1894 maybe-check-findutils \
1895 maybe-check-find \
1896 maybe-check-fixincludes \
1897 maybe-check-flex \
1898 maybe-check-gas \
1899 maybe-check-gcc \
1900 maybe-check-gawk \
1901 maybe-check-gettext \
1902 maybe-check-gnuserv \
1903 maybe-check-gprof \
1904 maybe-check-gzip \
1905 maybe-check-hello \
1906 maybe-check-indent \
1907 maybe-check-intl \
1908 maybe-check-tcl \
1909 maybe-check-itcl \
1910 maybe-check-ld \
1911 maybe-check-libcpp \
1912 maybe-check-libdecnumber \
1913 maybe-check-libgui \
1914 maybe-check-libiberty \
1915 maybe-check-libtool \
1916 maybe-check-m4 \
1917 maybe-check-make \
1918 maybe-check-mmalloc \
1919 maybe-check-patch \
1920 maybe-check-perl \
1921 maybe-check-prms \
1922 maybe-check-rcs \
1923 maybe-check-readline \
1924 maybe-check-release \
1925 maybe-check-recode \
1926 maybe-check-sed \
1927 maybe-check-send-pr \
1928 maybe-check-shellutils \
1929 maybe-check-sid \
1930 maybe-check-sim \
1931 maybe-check-tar \
1932 maybe-check-texinfo \
1933 maybe-check-textutils \
1934 maybe-check-time \
1935 maybe-check-uudecode \
1936 maybe-check-wdiff \
1937 maybe-check-zip \
1938 maybe-check-zlib \
1939 maybe-check-gdb \
1940 maybe-check-expect \
1941 maybe-check-guile \
1942 maybe-check-tk \
1943 maybe-check-libtermcap \
1944 maybe-check-utils \
1945 maybe-check-gnattools
1947 .PHONY: check-target
1948 check-target: \
1949 maybe-check-target-libstdc++-v3 \
1950 maybe-check-target-libmudflap \
1951 maybe-check-target-libssp \
1952 maybe-check-target-libgcc-math \
1953 maybe-check-target-newlib \
1954 maybe-check-target-libgfortran \
1955 maybe-check-target-libobjc \
1956 maybe-check-target-libtermcap \
1957 maybe-check-target-winsup \
1958 maybe-check-target-libgloss \
1959 maybe-check-target-libiberty \
1960 maybe-check-target-gperf \
1961 maybe-check-target-examples \
1962 maybe-check-target-libffi \
1963 maybe-check-target-libjava \
1964 maybe-check-target-zlib \
1965 maybe-check-target-boehm-gc \
1966 maybe-check-target-qthreads \
1967 maybe-check-target-rda \
1968 maybe-check-target-libada \
1969 maybe-check-target-libgomp
1971 do-check:
1972 @: $(MAKE); $(unstage)
1973 @r=`${PWD_COMMAND}`; export r; \
1974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1975 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1977 # Automated reporting of test results.
1979 warning.log: build.log
1980 $(srcdir)/contrib/warn_summary build.log > $@
1982 mail-report.log:
1983 if test x'$(BOOT_CFLAGS)' != x''; then \
1984 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1985 fi; \
1986 $(srcdir)/contrib/test_summary -t >$@
1987 chmod +x $@
1988 echo If you really want to send e-mail, run ./$@ now
1990 mail-report-with-warnings.log: warning.log
1991 if test x'$(BOOT_CFLAGS)' != x''; then \
1992 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1993 fi; \
1994 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1995 chmod +x $@
1996 echo If you really want to send e-mail, run ./$@ now
1998 # Installation targets.
2000 .PHONY: install uninstall
2001 install:
2002 @: $(MAKE); $(unstage)
2003 @r=`${PWD_COMMAND}`; export r; \
2004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2007 .PHONY: install-host-nogcc
2008 install-host-nogcc: \
2009 maybe-install-ash \
2010 maybe-install-autoconf \
2011 maybe-install-automake \
2012 maybe-install-bash \
2013 maybe-install-bfd \
2014 maybe-install-opcodes \
2015 maybe-install-binutils \
2016 maybe-install-bison \
2017 maybe-install-byacc \
2018 maybe-install-bzip2 \
2019 maybe-install-dejagnu \
2020 maybe-install-diff \
2021 maybe-install-dosutils \
2022 maybe-install-etc \
2023 maybe-install-fastjar \
2024 maybe-install-fileutils \
2025 maybe-install-findutils \
2026 maybe-install-find \
2027 maybe-install-fixincludes \
2028 maybe-install-flex \
2029 maybe-install-gas \
2030 maybe-install-gawk \
2031 maybe-install-gettext \
2032 maybe-install-gnuserv \
2033 maybe-install-gprof \
2034 maybe-install-gzip \
2035 maybe-install-hello \
2036 maybe-install-indent \
2037 maybe-install-intl \
2038 maybe-install-tcl \
2039 maybe-install-itcl \
2040 maybe-install-ld \
2041 maybe-install-libcpp \
2042 maybe-install-libdecnumber \
2043 maybe-install-libgui \
2044 maybe-install-libiberty \
2045 maybe-install-libtool \
2046 maybe-install-m4 \
2047 maybe-install-make \
2048 maybe-install-mmalloc \
2049 maybe-install-patch \
2050 maybe-install-perl \
2051 maybe-install-prms \
2052 maybe-install-rcs \
2053 maybe-install-readline \
2054 maybe-install-release \
2055 maybe-install-recode \
2056 maybe-install-sed \
2057 maybe-install-send-pr \
2058 maybe-install-shellutils \
2059 maybe-install-sid \
2060 maybe-install-sim \
2061 maybe-install-tar \
2062 maybe-install-texinfo \
2063 maybe-install-textutils \
2064 maybe-install-time \
2065 maybe-install-uudecode \
2066 maybe-install-wdiff \
2067 maybe-install-zip \
2068 maybe-install-zlib \
2069 maybe-install-gdb \
2070 maybe-install-expect \
2071 maybe-install-guile \
2072 maybe-install-tk \
2073 maybe-install-libtermcap \
2074 maybe-install-utils \
2075 maybe-install-gnattools
2077 .PHONY: install-host
2078 install-host: \
2079 maybe-install-ash \
2080 maybe-install-autoconf \
2081 maybe-install-automake \
2082 maybe-install-bash \
2083 maybe-install-bfd \
2084 maybe-install-opcodes \
2085 maybe-install-binutils \
2086 maybe-install-bison \
2087 maybe-install-byacc \
2088 maybe-install-bzip2 \
2089 maybe-install-dejagnu \
2090 maybe-install-diff \
2091 maybe-install-dosutils \
2092 maybe-install-etc \
2093 maybe-install-fastjar \
2094 maybe-install-fileutils \
2095 maybe-install-findutils \
2096 maybe-install-find \
2097 maybe-install-fixincludes \
2098 maybe-install-flex \
2099 maybe-install-gas \
2100 maybe-install-gcc \
2101 maybe-install-gawk \
2102 maybe-install-gettext \
2103 maybe-install-gnuserv \
2104 maybe-install-gprof \
2105 maybe-install-gzip \
2106 maybe-install-hello \
2107 maybe-install-indent \
2108 maybe-install-intl \
2109 maybe-install-tcl \
2110 maybe-install-itcl \
2111 maybe-install-ld \
2112 maybe-install-libcpp \
2113 maybe-install-libdecnumber \
2114 maybe-install-libgui \
2115 maybe-install-libiberty \
2116 maybe-install-libtool \
2117 maybe-install-m4 \
2118 maybe-install-make \
2119 maybe-install-mmalloc \
2120 maybe-install-patch \
2121 maybe-install-perl \
2122 maybe-install-prms \
2123 maybe-install-rcs \
2124 maybe-install-readline \
2125 maybe-install-release \
2126 maybe-install-recode \
2127 maybe-install-sed \
2128 maybe-install-send-pr \
2129 maybe-install-shellutils \
2130 maybe-install-sid \
2131 maybe-install-sim \
2132 maybe-install-tar \
2133 maybe-install-texinfo \
2134 maybe-install-textutils \
2135 maybe-install-time \
2136 maybe-install-uudecode \
2137 maybe-install-wdiff \
2138 maybe-install-zip \
2139 maybe-install-zlib \
2140 maybe-install-gdb \
2141 maybe-install-expect \
2142 maybe-install-guile \
2143 maybe-install-tk \
2144 maybe-install-libtermcap \
2145 maybe-install-utils \
2146 maybe-install-gnattools
2148 .PHONY: install-target
2149 install-target: \
2150 maybe-install-target-libstdc++-v3 \
2151 maybe-install-target-libmudflap \
2152 maybe-install-target-libssp \
2153 maybe-install-target-libgcc-math \
2154 maybe-install-target-newlib \
2155 maybe-install-target-libgfortran \
2156 maybe-install-target-libobjc \
2157 maybe-install-target-libtermcap \
2158 maybe-install-target-winsup \
2159 maybe-install-target-libgloss \
2160 maybe-install-target-libiberty \
2161 maybe-install-target-gperf \
2162 maybe-install-target-examples \
2163 maybe-install-target-libffi \
2164 maybe-install-target-libjava \
2165 maybe-install-target-zlib \
2166 maybe-install-target-boehm-gc \
2167 maybe-install-target-qthreads \
2168 maybe-install-target-rda \
2169 maybe-install-target-libada \
2170 maybe-install-target-libgomp
2172 uninstall:
2173 @echo "the uninstall target is not supported in this tree"
2175 .PHONY: install.all
2176 install.all: install-no-fixedincludes
2177 @if [ -f ./gcc/Makefile ] ; then \
2178 r=`${PWD_COMMAND}` ; export r ; \
2179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2180 $(HOST_EXPORTS) \
2181 (cd ./gcc && \
2182 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2183 else \
2184 true ; \
2187 # install-no-fixedincludes is used because Cygnus can not distribute
2188 # the fixed header files.
2189 .PHONY: install-no-fixedincludes
2190 install-no-fixedincludes: installdirs install-host-nogcc \
2191 install-target gcc-no-fixedincludes
2193 ### other supporting targets
2195 MAKEDIRS= \
2196 $(DESTDIR)$(prefix) \
2197 $(DESTDIR)$(exec_prefix)
2198 .PHONY: installdirs
2199 installdirs: mkinstalldirs
2200 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2202 dir.info: do-install-info
2203 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2204 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2205 mv -f dir.info.new dir.info ; \
2206 else true ; \
2209 dist:
2210 @echo "Building a full distribution of this tree isn't done"
2211 @echo "via 'make dist'. Check out the etc/ subdirectory"
2213 etags tags: TAGS
2215 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2216 # ability to use several tags files at once, so there is probably no need
2217 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2218 # (if we felt like it) have this Makefile write a piece of elisp which
2219 # the user could load to tell emacs19 where all the TAGS files we just
2220 # built are.
2221 TAGS: do-TAGS
2223 # ------------------------------------
2224 # Macros for configure and all targets
2225 # ------------------------------------
2231 # --------------------------------------
2232 # Modules which run on the build machine
2233 # --------------------------------------
2236 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2237 maybe-configure-build-libiberty:
2238 @if build-libiberty
2239 maybe-configure-build-libiberty: configure-build-libiberty
2240 configure-build-libiberty:
2241 @: $(MAKE); $(unstage)
2242 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2243 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2244 r=`${PWD_COMMAND}`; export r; \
2245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2246 $(BUILD_EXPORTS) \
2247 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2248 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2249 case $(srcdir) in \
2250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2251 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2253 esac; \
2254 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2255 libsrcdir="$$s/libiberty"; \
2256 rm -f no-such-file || : ; \
2257 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2258 $(BUILD_CONFIGARGS) $${srcdiroption} \
2259 || exit 1
2260 @endif build-libiberty
2266 .PHONY: all-build-libiberty maybe-all-build-libiberty
2267 maybe-all-build-libiberty:
2268 @if build-libiberty
2269 TARGET-build-libiberty=all
2270 maybe-all-build-libiberty: all-build-libiberty
2271 all-build-libiberty: configure-build-libiberty
2272 @: $(MAKE); $(unstage)
2273 @r=`${PWD_COMMAND}`; export r; \
2274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2275 $(BUILD_EXPORTS) \
2276 (cd $(BUILD_SUBDIR)/libiberty && \
2277 $(MAKE) $(TARGET-build-libiberty))
2278 @endif build-libiberty
2284 .PHONY: configure-build-bison maybe-configure-build-bison
2285 maybe-configure-build-bison:
2286 @if build-bison
2287 maybe-configure-build-bison: configure-build-bison
2288 configure-build-bison:
2289 @: $(MAKE); $(unstage)
2290 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2291 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2292 r=`${PWD_COMMAND}`; export r; \
2293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2294 $(BUILD_EXPORTS) \
2295 echo Configuring in $(BUILD_SUBDIR)/bison; \
2296 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2297 case $(srcdir) in \
2298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2299 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2301 esac; \
2302 srcdiroption="--srcdir=$${topdir}/bison"; \
2303 libsrcdir="$$s/bison"; \
2304 rm -f no-such-file || : ; \
2305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2306 $(BUILD_CONFIGARGS) $${srcdiroption} \
2307 || exit 1
2308 @endif build-bison
2314 .PHONY: all-build-bison maybe-all-build-bison
2315 maybe-all-build-bison:
2316 @if build-bison
2317 TARGET-build-bison=all
2318 maybe-all-build-bison: all-build-bison
2319 all-build-bison: configure-build-bison
2320 @: $(MAKE); $(unstage)
2321 @r=`${PWD_COMMAND}`; export r; \
2322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2323 $(BUILD_EXPORTS) \
2324 (cd $(BUILD_SUBDIR)/bison && \
2325 $(MAKE) $(TARGET-build-bison))
2326 @endif build-bison
2332 .PHONY: configure-build-byacc maybe-configure-build-byacc
2333 maybe-configure-build-byacc:
2334 @if build-byacc
2335 maybe-configure-build-byacc: configure-build-byacc
2336 configure-build-byacc:
2337 @: $(MAKE); $(unstage)
2338 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2339 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2340 r=`${PWD_COMMAND}`; export r; \
2341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2342 $(BUILD_EXPORTS) \
2343 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2344 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2345 case $(srcdir) in \
2346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2347 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2349 esac; \
2350 srcdiroption="--srcdir=$${topdir}/byacc"; \
2351 libsrcdir="$$s/byacc"; \
2352 rm -f no-such-file || : ; \
2353 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2354 $(BUILD_CONFIGARGS) $${srcdiroption} \
2355 || exit 1
2356 @endif build-byacc
2362 .PHONY: all-build-byacc maybe-all-build-byacc
2363 maybe-all-build-byacc:
2364 @if build-byacc
2365 TARGET-build-byacc=all
2366 maybe-all-build-byacc: all-build-byacc
2367 all-build-byacc: configure-build-byacc
2368 @: $(MAKE); $(unstage)
2369 @r=`${PWD_COMMAND}`; export r; \
2370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2371 $(BUILD_EXPORTS) \
2372 (cd $(BUILD_SUBDIR)/byacc && \
2373 $(MAKE) $(TARGET-build-byacc))
2374 @endif build-byacc
2380 .PHONY: configure-build-flex maybe-configure-build-flex
2381 maybe-configure-build-flex:
2382 @if build-flex
2383 maybe-configure-build-flex: configure-build-flex
2384 configure-build-flex:
2385 @: $(MAKE); $(unstage)
2386 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2387 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2388 r=`${PWD_COMMAND}`; export r; \
2389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 $(BUILD_EXPORTS) \
2391 echo Configuring in $(BUILD_SUBDIR)/flex; \
2392 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2393 case $(srcdir) in \
2394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2395 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2397 esac; \
2398 srcdiroption="--srcdir=$${topdir}/flex"; \
2399 libsrcdir="$$s/flex"; \
2400 rm -f no-such-file || : ; \
2401 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2402 $(BUILD_CONFIGARGS) $${srcdiroption} \
2403 || exit 1
2404 @endif build-flex
2410 .PHONY: all-build-flex maybe-all-build-flex
2411 maybe-all-build-flex:
2412 @if build-flex
2413 TARGET-build-flex=all
2414 maybe-all-build-flex: all-build-flex
2415 all-build-flex: configure-build-flex
2416 @: $(MAKE); $(unstage)
2417 @r=`${PWD_COMMAND}`; export r; \
2418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2419 $(BUILD_EXPORTS) \
2420 (cd $(BUILD_SUBDIR)/flex && \
2421 $(MAKE) $(TARGET-build-flex))
2422 @endif build-flex
2428 .PHONY: configure-build-m4 maybe-configure-build-m4
2429 maybe-configure-build-m4:
2430 @if build-m4
2431 maybe-configure-build-m4: configure-build-m4
2432 configure-build-m4:
2433 @: $(MAKE); $(unstage)
2434 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2435 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2436 r=`${PWD_COMMAND}`; export r; \
2437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2438 $(BUILD_EXPORTS) \
2439 echo Configuring in $(BUILD_SUBDIR)/m4; \
2440 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2441 case $(srcdir) in \
2442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2443 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2445 esac; \
2446 srcdiroption="--srcdir=$${topdir}/m4"; \
2447 libsrcdir="$$s/m4"; \
2448 rm -f no-such-file || : ; \
2449 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2450 $(BUILD_CONFIGARGS) $${srcdiroption} \
2451 || exit 1
2452 @endif build-m4
2458 .PHONY: all-build-m4 maybe-all-build-m4
2459 maybe-all-build-m4:
2460 @if build-m4
2461 TARGET-build-m4=all
2462 maybe-all-build-m4: all-build-m4
2463 all-build-m4: configure-build-m4
2464 @: $(MAKE); $(unstage)
2465 @r=`${PWD_COMMAND}`; export r; \
2466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2467 $(BUILD_EXPORTS) \
2468 (cd $(BUILD_SUBDIR)/m4 && \
2469 $(MAKE) $(TARGET-build-m4))
2470 @endif build-m4
2476 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2477 maybe-configure-build-texinfo:
2478 @if build-texinfo
2479 maybe-configure-build-texinfo: configure-build-texinfo
2480 configure-build-texinfo:
2481 @: $(MAKE); $(unstage)
2482 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2483 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2484 r=`${PWD_COMMAND}`; export r; \
2485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2486 $(BUILD_EXPORTS) \
2487 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2488 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2489 case $(srcdir) in \
2490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2491 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2493 esac; \
2494 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2495 libsrcdir="$$s/texinfo"; \
2496 rm -f no-such-file || : ; \
2497 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2498 $(BUILD_CONFIGARGS) $${srcdiroption} \
2499 || exit 1
2500 @endif build-texinfo
2506 .PHONY: all-build-texinfo maybe-all-build-texinfo
2507 maybe-all-build-texinfo:
2508 @if build-texinfo
2509 TARGET-build-texinfo=all
2510 maybe-all-build-texinfo: all-build-texinfo
2511 all-build-texinfo: configure-build-texinfo
2512 @: $(MAKE); $(unstage)
2513 @r=`${PWD_COMMAND}`; export r; \
2514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2515 $(BUILD_EXPORTS) \
2516 (cd $(BUILD_SUBDIR)/texinfo && \
2517 $(MAKE) $(TARGET-build-texinfo))
2518 @endif build-texinfo
2524 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2525 maybe-configure-build-fixincludes:
2526 @if build-fixincludes
2527 maybe-configure-build-fixincludes: configure-build-fixincludes
2528 configure-build-fixincludes:
2529 @: $(MAKE); $(unstage)
2530 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2531 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2532 r=`${PWD_COMMAND}`; export r; \
2533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2534 $(BUILD_EXPORTS) \
2535 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2536 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2537 case $(srcdir) in \
2538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2539 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2541 esac; \
2542 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2543 libsrcdir="$$s/fixincludes"; \
2544 rm -f no-such-file || : ; \
2545 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2546 $(BUILD_CONFIGARGS) $${srcdiroption} \
2547 || exit 1
2548 @endif build-fixincludes
2554 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2555 maybe-all-build-fixincludes:
2556 @if build-fixincludes
2557 TARGET-build-fixincludes=all
2558 maybe-all-build-fixincludes: all-build-fixincludes
2559 all-build-fixincludes: configure-build-fixincludes
2560 @: $(MAKE); $(unstage)
2561 @r=`${PWD_COMMAND}`; export r; \
2562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2563 $(BUILD_EXPORTS) \
2564 (cd $(BUILD_SUBDIR)/fixincludes && \
2565 $(MAKE) $(TARGET-build-fixincludes))
2566 @endif build-fixincludes
2572 # --------------------------------------
2573 # Modules which run on the host machine
2574 # --------------------------------------
2577 .PHONY: configure-ash maybe-configure-ash
2578 maybe-configure-ash:
2579 @if ash
2580 maybe-configure-ash: configure-ash
2581 configure-ash:
2582 @: $(MAKE); $(unstage)
2583 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2585 r=`${PWD_COMMAND}`; export r; \
2586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2587 $(HOST_EXPORTS) \
2588 echo Configuring in $(HOST_SUBDIR)/ash; \
2589 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2590 case $(srcdir) in \
2591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2592 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2594 esac; \
2595 srcdiroption="--srcdir=$${topdir}/ash"; \
2596 libsrcdir="$$s/ash"; \
2597 $(SHELL) $${libsrcdir}/configure \
2598 $(HOST_CONFIGARGS) $${srcdiroption} \
2599 || exit 1
2600 @endif ash
2606 .PHONY: all-ash maybe-all-ash
2607 maybe-all-ash:
2608 @if ash
2609 TARGET-ash=all
2610 maybe-all-ash: all-ash
2611 all-ash: configure-ash
2612 @: $(MAKE); $(unstage)
2613 @r=`${PWD_COMMAND}`; export r; \
2614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2615 $(HOST_EXPORTS) \
2616 (cd $(HOST_SUBDIR)/ash && \
2617 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2618 @endif ash
2623 .PHONY: check-ash maybe-check-ash
2624 maybe-check-ash:
2625 @if ash
2626 maybe-check-ash: check-ash
2628 check-ash:
2629 @: $(MAKE); $(unstage)
2630 @r=`${PWD_COMMAND}`; export r; \
2631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2632 $(HOST_EXPORTS) \
2633 (cd $(HOST_SUBDIR)/ash && \
2634 $(MAKE) $(FLAGS_TO_PASS) check)
2636 @endif ash
2638 .PHONY: install-ash maybe-install-ash
2639 maybe-install-ash:
2640 @if ash
2641 maybe-install-ash: install-ash
2643 install-ash: installdirs
2644 @: $(MAKE); $(unstage)
2645 @r=`${PWD_COMMAND}`; export r; \
2646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2647 $(HOST_EXPORTS) \
2648 (cd $(HOST_SUBDIR)/ash && \
2649 $(MAKE) $(FLAGS_TO_PASS) install)
2651 @endif ash
2653 # Other targets (info, dvi, etc.)
2655 .PHONY: maybe-info-ash info-ash
2656 maybe-info-ash:
2657 @if ash
2658 maybe-info-ash: info-ash
2660 info-ash: \
2661 configure-ash
2662 @: $(MAKE); $(unstage)
2663 @[ -f ./ash/Makefile ] || exit 0; \
2664 r=`${PWD_COMMAND}`; export r; \
2665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2666 $(HOST_EXPORTS) \
2667 for flag in $(EXTRA_HOST_FLAGS) ; do \
2668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2669 done; \
2670 echo "Doing info in ash" ; \
2671 (cd $(HOST_SUBDIR)/ash && \
2672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2674 "RANLIB=$${RANLIB}" \
2675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2676 info) \
2677 || exit 1
2679 @endif ash
2681 .PHONY: maybe-dvi-ash dvi-ash
2682 maybe-dvi-ash:
2683 @if ash
2684 maybe-dvi-ash: dvi-ash
2686 dvi-ash: \
2687 configure-ash
2688 @: $(MAKE); $(unstage)
2689 @[ -f ./ash/Makefile ] || exit 0; \
2690 r=`${PWD_COMMAND}`; export r; \
2691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2692 $(HOST_EXPORTS) \
2693 for flag in $(EXTRA_HOST_FLAGS) ; do \
2694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2695 done; \
2696 echo "Doing dvi in ash" ; \
2697 (cd $(HOST_SUBDIR)/ash && \
2698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2700 "RANLIB=$${RANLIB}" \
2701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2702 dvi) \
2703 || exit 1
2705 @endif ash
2707 .PHONY: maybe-html-ash html-ash
2708 maybe-html-ash:
2709 @if ash
2710 maybe-html-ash: html-ash
2712 html-ash: \
2713 configure-ash
2714 @: $(MAKE); $(unstage)
2715 @[ -f ./ash/Makefile ] || exit 0; \
2716 r=`${PWD_COMMAND}`; export r; \
2717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2718 $(HOST_EXPORTS) \
2719 for flag in $(EXTRA_HOST_FLAGS) ; do \
2720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2721 done; \
2722 echo "Doing html in ash" ; \
2723 (cd $(HOST_SUBDIR)/ash && \
2724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2726 "RANLIB=$${RANLIB}" \
2727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2728 html) \
2729 || exit 1
2731 @endif ash
2733 .PHONY: maybe-TAGS-ash TAGS-ash
2734 maybe-TAGS-ash:
2735 @if ash
2736 maybe-TAGS-ash: TAGS-ash
2738 TAGS-ash: \
2739 configure-ash
2740 @: $(MAKE); $(unstage)
2741 @[ -f ./ash/Makefile ] || exit 0; \
2742 r=`${PWD_COMMAND}`; export r; \
2743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2744 $(HOST_EXPORTS) \
2745 for flag in $(EXTRA_HOST_FLAGS) ; do \
2746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2747 done; \
2748 echo "Doing TAGS in ash" ; \
2749 (cd $(HOST_SUBDIR)/ash && \
2750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2752 "RANLIB=$${RANLIB}" \
2753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2754 TAGS) \
2755 || exit 1
2757 @endif ash
2759 .PHONY: maybe-install-info-ash install-info-ash
2760 maybe-install-info-ash:
2761 @if ash
2762 maybe-install-info-ash: install-info-ash
2764 install-info-ash: \
2765 configure-ash \
2766 info-ash
2767 @: $(MAKE); $(unstage)
2768 @[ -f ./ash/Makefile ] || exit 0; \
2769 r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 $(HOST_EXPORTS) \
2772 for flag in $(EXTRA_HOST_FLAGS) ; do \
2773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2774 done; \
2775 echo "Doing install-info in ash" ; \
2776 (cd $(HOST_SUBDIR)/ash && \
2777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2779 "RANLIB=$${RANLIB}" \
2780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2781 install-info) \
2782 || exit 1
2784 @endif ash
2786 .PHONY: maybe-installcheck-ash installcheck-ash
2787 maybe-installcheck-ash:
2788 @if ash
2789 maybe-installcheck-ash: installcheck-ash
2791 installcheck-ash: \
2792 configure-ash
2793 @: $(MAKE); $(unstage)
2794 @[ -f ./ash/Makefile ] || exit 0; \
2795 r=`${PWD_COMMAND}`; export r; \
2796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2797 $(HOST_EXPORTS) \
2798 for flag in $(EXTRA_HOST_FLAGS) ; do \
2799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2800 done; \
2801 echo "Doing installcheck in ash" ; \
2802 (cd $(HOST_SUBDIR)/ash && \
2803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2805 "RANLIB=$${RANLIB}" \
2806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2807 installcheck) \
2808 || exit 1
2810 @endif ash
2812 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2813 maybe-mostlyclean-ash:
2814 @if ash
2815 maybe-mostlyclean-ash: mostlyclean-ash
2817 mostlyclean-ash:
2818 @: $(MAKE); $(unstage)
2819 @[ -f ./ash/Makefile ] || exit 0; \
2820 r=`${PWD_COMMAND}`; export r; \
2821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 $(HOST_EXPORTS) \
2823 for flag in $(EXTRA_HOST_FLAGS) ; do \
2824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2825 done; \
2826 echo "Doing mostlyclean in ash" ; \
2827 (cd $(HOST_SUBDIR)/ash && \
2828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2830 "RANLIB=$${RANLIB}" \
2831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2832 mostlyclean) \
2833 || exit 1
2835 @endif ash
2837 .PHONY: maybe-clean-ash clean-ash
2838 maybe-clean-ash:
2839 @if ash
2840 maybe-clean-ash: clean-ash
2842 clean-ash:
2843 @: $(MAKE); $(unstage)
2844 @[ -f ./ash/Makefile ] || exit 0; \
2845 r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 $(HOST_EXPORTS) \
2848 for flag in $(EXTRA_HOST_FLAGS) ; do \
2849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2850 done; \
2851 echo "Doing clean in ash" ; \
2852 (cd $(HOST_SUBDIR)/ash && \
2853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2855 "RANLIB=$${RANLIB}" \
2856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2857 clean) \
2858 || exit 1
2860 @endif ash
2862 .PHONY: maybe-distclean-ash distclean-ash
2863 maybe-distclean-ash:
2864 @if ash
2865 maybe-distclean-ash: distclean-ash
2867 distclean-ash:
2868 @: $(MAKE); $(unstage)
2869 @[ -f ./ash/Makefile ] || exit 0; \
2870 r=`${PWD_COMMAND}`; export r; \
2871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2872 $(HOST_EXPORTS) \
2873 for flag in $(EXTRA_HOST_FLAGS) ; do \
2874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2875 done; \
2876 echo "Doing distclean in ash" ; \
2877 (cd $(HOST_SUBDIR)/ash && \
2878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2880 "RANLIB=$${RANLIB}" \
2881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2882 distclean) \
2883 || exit 1
2885 @endif ash
2887 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2888 maybe-maintainer-clean-ash:
2889 @if ash
2890 maybe-maintainer-clean-ash: maintainer-clean-ash
2892 maintainer-clean-ash:
2893 @: $(MAKE); $(unstage)
2894 @[ -f ./ash/Makefile ] || exit 0; \
2895 r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(HOST_EXPORTS) \
2898 for flag in $(EXTRA_HOST_FLAGS) ; do \
2899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2900 done; \
2901 echo "Doing maintainer-clean in ash" ; \
2902 (cd $(HOST_SUBDIR)/ash && \
2903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2905 "RANLIB=$${RANLIB}" \
2906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2907 maintainer-clean) \
2908 || exit 1
2910 @endif ash
2914 .PHONY: configure-autoconf maybe-configure-autoconf
2915 maybe-configure-autoconf:
2916 @if autoconf
2917 maybe-configure-autoconf: configure-autoconf
2918 configure-autoconf:
2919 @: $(MAKE); $(unstage)
2920 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2922 r=`${PWD_COMMAND}`; export r; \
2923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2924 $(HOST_EXPORTS) \
2925 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2926 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2927 case $(srcdir) in \
2928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2929 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2931 esac; \
2932 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2933 libsrcdir="$$s/autoconf"; \
2934 $(SHELL) $${libsrcdir}/configure \
2935 $(HOST_CONFIGARGS) $${srcdiroption} \
2936 || exit 1
2937 @endif autoconf
2943 .PHONY: all-autoconf maybe-all-autoconf
2944 maybe-all-autoconf:
2945 @if autoconf
2946 TARGET-autoconf=all
2947 maybe-all-autoconf: all-autoconf
2948 all-autoconf: configure-autoconf
2949 @: $(MAKE); $(unstage)
2950 @r=`${PWD_COMMAND}`; export r; \
2951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2952 $(HOST_EXPORTS) \
2953 (cd $(HOST_SUBDIR)/autoconf && \
2954 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2955 @endif autoconf
2960 .PHONY: check-autoconf maybe-check-autoconf
2961 maybe-check-autoconf:
2962 @if autoconf
2963 maybe-check-autoconf: check-autoconf
2965 check-autoconf:
2966 @: $(MAKE); $(unstage)
2967 @r=`${PWD_COMMAND}`; export r; \
2968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 $(HOST_EXPORTS) \
2970 (cd $(HOST_SUBDIR)/autoconf && \
2971 $(MAKE) $(FLAGS_TO_PASS) check)
2973 @endif autoconf
2975 .PHONY: install-autoconf maybe-install-autoconf
2976 maybe-install-autoconf:
2977 @if autoconf
2978 maybe-install-autoconf: install-autoconf
2980 install-autoconf: installdirs
2981 @: $(MAKE); $(unstage)
2982 @r=`${PWD_COMMAND}`; export r; \
2983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2984 $(HOST_EXPORTS) \
2985 (cd $(HOST_SUBDIR)/autoconf && \
2986 $(MAKE) $(FLAGS_TO_PASS) install)
2988 @endif autoconf
2990 # Other targets (info, dvi, etc.)
2992 .PHONY: maybe-info-autoconf info-autoconf
2993 maybe-info-autoconf:
2994 @if autoconf
2995 maybe-info-autoconf: info-autoconf
2997 info-autoconf: \
2998 configure-autoconf
2999 @: $(MAKE); $(unstage)
3000 @[ -f ./autoconf/Makefile ] || exit 0; \
3001 r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 $(HOST_EXPORTS) \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3006 done; \
3007 echo "Doing info in autoconf" ; \
3008 (cd $(HOST_SUBDIR)/autoconf && \
3009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3011 "RANLIB=$${RANLIB}" \
3012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 info) \
3014 || exit 1
3016 @endif autoconf
3018 .PHONY: maybe-dvi-autoconf dvi-autoconf
3019 maybe-dvi-autoconf:
3020 @if autoconf
3021 maybe-dvi-autoconf: dvi-autoconf
3023 dvi-autoconf: \
3024 configure-autoconf
3025 @: $(MAKE); $(unstage)
3026 @[ -f ./autoconf/Makefile ] || exit 0; \
3027 r=`${PWD_COMMAND}`; export r; \
3028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 $(HOST_EXPORTS) \
3030 for flag in $(EXTRA_HOST_FLAGS) ; do \
3031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3032 done; \
3033 echo "Doing dvi in autoconf" ; \
3034 (cd $(HOST_SUBDIR)/autoconf && \
3035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3037 "RANLIB=$${RANLIB}" \
3038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3039 dvi) \
3040 || exit 1
3042 @endif autoconf
3044 .PHONY: maybe-html-autoconf html-autoconf
3045 maybe-html-autoconf:
3046 @if autoconf
3047 maybe-html-autoconf: html-autoconf
3049 html-autoconf: \
3050 configure-autoconf
3051 @: $(MAKE); $(unstage)
3052 @[ -f ./autoconf/Makefile ] || exit 0; \
3053 r=`${PWD_COMMAND}`; export r; \
3054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3055 $(HOST_EXPORTS) \
3056 for flag in $(EXTRA_HOST_FLAGS) ; do \
3057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3058 done; \
3059 echo "Doing html in autoconf" ; \
3060 (cd $(HOST_SUBDIR)/autoconf && \
3061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3063 "RANLIB=$${RANLIB}" \
3064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3065 html) \
3066 || exit 1
3068 @endif autoconf
3070 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3071 maybe-TAGS-autoconf:
3072 @if autoconf
3073 maybe-TAGS-autoconf: TAGS-autoconf
3075 TAGS-autoconf: \
3076 configure-autoconf
3077 @: $(MAKE); $(unstage)
3078 @[ -f ./autoconf/Makefile ] || exit 0; \
3079 r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 $(HOST_EXPORTS) \
3082 for flag in $(EXTRA_HOST_FLAGS) ; do \
3083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3084 done; \
3085 echo "Doing TAGS in autoconf" ; \
3086 (cd $(HOST_SUBDIR)/autoconf && \
3087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3089 "RANLIB=$${RANLIB}" \
3090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3091 TAGS) \
3092 || exit 1
3094 @endif autoconf
3096 .PHONY: maybe-install-info-autoconf install-info-autoconf
3097 maybe-install-info-autoconf:
3098 @if autoconf
3099 maybe-install-info-autoconf: install-info-autoconf
3101 install-info-autoconf: \
3102 configure-autoconf \
3103 info-autoconf
3104 @: $(MAKE); $(unstage)
3105 @[ -f ./autoconf/Makefile ] || exit 0; \
3106 r=`${PWD_COMMAND}`; export r; \
3107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3108 $(HOST_EXPORTS) \
3109 for flag in $(EXTRA_HOST_FLAGS) ; do \
3110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3111 done; \
3112 echo "Doing install-info in autoconf" ; \
3113 (cd $(HOST_SUBDIR)/autoconf && \
3114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3116 "RANLIB=$${RANLIB}" \
3117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3118 install-info) \
3119 || exit 1
3121 @endif autoconf
3123 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3124 maybe-installcheck-autoconf:
3125 @if autoconf
3126 maybe-installcheck-autoconf: installcheck-autoconf
3128 installcheck-autoconf: \
3129 configure-autoconf
3130 @: $(MAKE); $(unstage)
3131 @[ -f ./autoconf/Makefile ] || exit 0; \
3132 r=`${PWD_COMMAND}`; export r; \
3133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3134 $(HOST_EXPORTS) \
3135 for flag in $(EXTRA_HOST_FLAGS) ; do \
3136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3137 done; \
3138 echo "Doing installcheck in autoconf" ; \
3139 (cd $(HOST_SUBDIR)/autoconf && \
3140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3142 "RANLIB=$${RANLIB}" \
3143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3144 installcheck) \
3145 || exit 1
3147 @endif autoconf
3149 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3150 maybe-mostlyclean-autoconf:
3151 @if autoconf
3152 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3154 mostlyclean-autoconf:
3155 @: $(MAKE); $(unstage)
3156 @[ -f ./autoconf/Makefile ] || exit 0; \
3157 r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159 $(HOST_EXPORTS) \
3160 for flag in $(EXTRA_HOST_FLAGS) ; do \
3161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3162 done; \
3163 echo "Doing mostlyclean in autoconf" ; \
3164 (cd $(HOST_SUBDIR)/autoconf && \
3165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3167 "RANLIB=$${RANLIB}" \
3168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3169 mostlyclean) \
3170 || exit 1
3172 @endif autoconf
3174 .PHONY: maybe-clean-autoconf clean-autoconf
3175 maybe-clean-autoconf:
3176 @if autoconf
3177 maybe-clean-autoconf: clean-autoconf
3179 clean-autoconf:
3180 @: $(MAKE); $(unstage)
3181 @[ -f ./autoconf/Makefile ] || exit 0; \
3182 r=`${PWD_COMMAND}`; export r; \
3183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3184 $(HOST_EXPORTS) \
3185 for flag in $(EXTRA_HOST_FLAGS) ; do \
3186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3187 done; \
3188 echo "Doing clean in autoconf" ; \
3189 (cd $(HOST_SUBDIR)/autoconf && \
3190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3192 "RANLIB=$${RANLIB}" \
3193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3194 clean) \
3195 || exit 1
3197 @endif autoconf
3199 .PHONY: maybe-distclean-autoconf distclean-autoconf
3200 maybe-distclean-autoconf:
3201 @if autoconf
3202 maybe-distclean-autoconf: distclean-autoconf
3204 distclean-autoconf:
3205 @: $(MAKE); $(unstage)
3206 @[ -f ./autoconf/Makefile ] || exit 0; \
3207 r=`${PWD_COMMAND}`; export r; \
3208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3209 $(HOST_EXPORTS) \
3210 for flag in $(EXTRA_HOST_FLAGS) ; do \
3211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3212 done; \
3213 echo "Doing distclean in autoconf" ; \
3214 (cd $(HOST_SUBDIR)/autoconf && \
3215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3217 "RANLIB=$${RANLIB}" \
3218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3219 distclean) \
3220 || exit 1
3222 @endif autoconf
3224 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3225 maybe-maintainer-clean-autoconf:
3226 @if autoconf
3227 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3229 maintainer-clean-autoconf:
3230 @: $(MAKE); $(unstage)
3231 @[ -f ./autoconf/Makefile ] || exit 0; \
3232 r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3234 $(HOST_EXPORTS) \
3235 for flag in $(EXTRA_HOST_FLAGS) ; do \
3236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3237 done; \
3238 echo "Doing maintainer-clean in autoconf" ; \
3239 (cd $(HOST_SUBDIR)/autoconf && \
3240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3242 "RANLIB=$${RANLIB}" \
3243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3244 maintainer-clean) \
3245 || exit 1
3247 @endif autoconf
3251 .PHONY: configure-automake maybe-configure-automake
3252 maybe-configure-automake:
3253 @if automake
3254 maybe-configure-automake: configure-automake
3255 configure-automake:
3256 @: $(MAKE); $(unstage)
3257 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3259 r=`${PWD_COMMAND}`; export r; \
3260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3261 $(HOST_EXPORTS) \
3262 echo Configuring in $(HOST_SUBDIR)/automake; \
3263 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3264 case $(srcdir) in \
3265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3266 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3268 esac; \
3269 srcdiroption="--srcdir=$${topdir}/automake"; \
3270 libsrcdir="$$s/automake"; \
3271 $(SHELL) $${libsrcdir}/configure \
3272 $(HOST_CONFIGARGS) $${srcdiroption} \
3273 || exit 1
3274 @endif automake
3280 .PHONY: all-automake maybe-all-automake
3281 maybe-all-automake:
3282 @if automake
3283 TARGET-automake=all
3284 maybe-all-automake: all-automake
3285 all-automake: configure-automake
3286 @: $(MAKE); $(unstage)
3287 @r=`${PWD_COMMAND}`; export r; \
3288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3289 $(HOST_EXPORTS) \
3290 (cd $(HOST_SUBDIR)/automake && \
3291 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3292 @endif automake
3297 .PHONY: check-automake maybe-check-automake
3298 maybe-check-automake:
3299 @if automake
3300 maybe-check-automake: check-automake
3302 check-automake:
3303 @: $(MAKE); $(unstage)
3304 @r=`${PWD_COMMAND}`; export r; \
3305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3306 $(HOST_EXPORTS) \
3307 (cd $(HOST_SUBDIR)/automake && \
3308 $(MAKE) $(FLAGS_TO_PASS) check)
3310 @endif automake
3312 .PHONY: install-automake maybe-install-automake
3313 maybe-install-automake:
3314 @if automake
3315 maybe-install-automake: install-automake
3317 install-automake: installdirs
3318 @: $(MAKE); $(unstage)
3319 @r=`${PWD_COMMAND}`; export r; \
3320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3321 $(HOST_EXPORTS) \
3322 (cd $(HOST_SUBDIR)/automake && \
3323 $(MAKE) $(FLAGS_TO_PASS) install)
3325 @endif automake
3327 # Other targets (info, dvi, etc.)
3329 .PHONY: maybe-info-automake info-automake
3330 maybe-info-automake:
3331 @if automake
3332 maybe-info-automake: info-automake
3334 info-automake: \
3335 configure-automake
3336 @: $(MAKE); $(unstage)
3337 @[ -f ./automake/Makefile ] || exit 0; \
3338 r=`${PWD_COMMAND}`; export r; \
3339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 $(HOST_EXPORTS) \
3341 for flag in $(EXTRA_HOST_FLAGS) ; do \
3342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3343 done; \
3344 echo "Doing info in automake" ; \
3345 (cd $(HOST_SUBDIR)/automake && \
3346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3348 "RANLIB=$${RANLIB}" \
3349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3350 info) \
3351 || exit 1
3353 @endif automake
3355 .PHONY: maybe-dvi-automake dvi-automake
3356 maybe-dvi-automake:
3357 @if automake
3358 maybe-dvi-automake: dvi-automake
3360 dvi-automake: \
3361 configure-automake
3362 @: $(MAKE); $(unstage)
3363 @[ -f ./automake/Makefile ] || exit 0; \
3364 r=`${PWD_COMMAND}`; export r; \
3365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3366 $(HOST_EXPORTS) \
3367 for flag in $(EXTRA_HOST_FLAGS) ; do \
3368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3369 done; \
3370 echo "Doing dvi in automake" ; \
3371 (cd $(HOST_SUBDIR)/automake && \
3372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3374 "RANLIB=$${RANLIB}" \
3375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3376 dvi) \
3377 || exit 1
3379 @endif automake
3381 .PHONY: maybe-html-automake html-automake
3382 maybe-html-automake:
3383 @if automake
3384 maybe-html-automake: html-automake
3386 html-automake: \
3387 configure-automake
3388 @: $(MAKE); $(unstage)
3389 @[ -f ./automake/Makefile ] || exit 0; \
3390 r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3392 $(HOST_EXPORTS) \
3393 for flag in $(EXTRA_HOST_FLAGS) ; do \
3394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3395 done; \
3396 echo "Doing html in automake" ; \
3397 (cd $(HOST_SUBDIR)/automake && \
3398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3400 "RANLIB=$${RANLIB}" \
3401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3402 html) \
3403 || exit 1
3405 @endif automake
3407 .PHONY: maybe-TAGS-automake TAGS-automake
3408 maybe-TAGS-automake:
3409 @if automake
3410 maybe-TAGS-automake: TAGS-automake
3412 TAGS-automake: \
3413 configure-automake
3414 @: $(MAKE); $(unstage)
3415 @[ -f ./automake/Makefile ] || exit 0; \
3416 r=`${PWD_COMMAND}`; export r; \
3417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3418 $(HOST_EXPORTS) \
3419 for flag in $(EXTRA_HOST_FLAGS) ; do \
3420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3421 done; \
3422 echo "Doing TAGS in automake" ; \
3423 (cd $(HOST_SUBDIR)/automake && \
3424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3426 "RANLIB=$${RANLIB}" \
3427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3428 TAGS) \
3429 || exit 1
3431 @endif automake
3433 .PHONY: maybe-install-info-automake install-info-automake
3434 maybe-install-info-automake:
3435 @if automake
3436 maybe-install-info-automake: install-info-automake
3438 install-info-automake: \
3439 configure-automake \
3440 info-automake
3441 @: $(MAKE); $(unstage)
3442 @[ -f ./automake/Makefile ] || exit 0; \
3443 r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3445 $(HOST_EXPORTS) \
3446 for flag in $(EXTRA_HOST_FLAGS) ; do \
3447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3448 done; \
3449 echo "Doing install-info in automake" ; \
3450 (cd $(HOST_SUBDIR)/automake && \
3451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3453 "RANLIB=$${RANLIB}" \
3454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3455 install-info) \
3456 || exit 1
3458 @endif automake
3460 .PHONY: maybe-installcheck-automake installcheck-automake
3461 maybe-installcheck-automake:
3462 @if automake
3463 maybe-installcheck-automake: installcheck-automake
3465 installcheck-automake: \
3466 configure-automake
3467 @: $(MAKE); $(unstage)
3468 @[ -f ./automake/Makefile ] || exit 0; \
3469 r=`${PWD_COMMAND}`; export r; \
3470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3471 $(HOST_EXPORTS) \
3472 for flag in $(EXTRA_HOST_FLAGS) ; do \
3473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3474 done; \
3475 echo "Doing installcheck in automake" ; \
3476 (cd $(HOST_SUBDIR)/automake && \
3477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3479 "RANLIB=$${RANLIB}" \
3480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3481 installcheck) \
3482 || exit 1
3484 @endif automake
3486 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3487 maybe-mostlyclean-automake:
3488 @if automake
3489 maybe-mostlyclean-automake: mostlyclean-automake
3491 mostlyclean-automake:
3492 @: $(MAKE); $(unstage)
3493 @[ -f ./automake/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3496 $(HOST_EXPORTS) \
3497 for flag in $(EXTRA_HOST_FLAGS) ; do \
3498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3499 done; \
3500 echo "Doing mostlyclean in automake" ; \
3501 (cd $(HOST_SUBDIR)/automake && \
3502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3504 "RANLIB=$${RANLIB}" \
3505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3506 mostlyclean) \
3507 || exit 1
3509 @endif automake
3511 .PHONY: maybe-clean-automake clean-automake
3512 maybe-clean-automake:
3513 @if automake
3514 maybe-clean-automake: clean-automake
3516 clean-automake:
3517 @: $(MAKE); $(unstage)
3518 @[ -f ./automake/Makefile ] || exit 0; \
3519 r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 $(HOST_EXPORTS) \
3522 for flag in $(EXTRA_HOST_FLAGS) ; do \
3523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3524 done; \
3525 echo "Doing clean in automake" ; \
3526 (cd $(HOST_SUBDIR)/automake && \
3527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3529 "RANLIB=$${RANLIB}" \
3530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3531 clean) \
3532 || exit 1
3534 @endif automake
3536 .PHONY: maybe-distclean-automake distclean-automake
3537 maybe-distclean-automake:
3538 @if automake
3539 maybe-distclean-automake: distclean-automake
3541 distclean-automake:
3542 @: $(MAKE); $(unstage)
3543 @[ -f ./automake/Makefile ] || exit 0; \
3544 r=`${PWD_COMMAND}`; export r; \
3545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3546 $(HOST_EXPORTS) \
3547 for flag in $(EXTRA_HOST_FLAGS) ; do \
3548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3549 done; \
3550 echo "Doing distclean in automake" ; \
3551 (cd $(HOST_SUBDIR)/automake && \
3552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3554 "RANLIB=$${RANLIB}" \
3555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3556 distclean) \
3557 || exit 1
3559 @endif automake
3561 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3562 maybe-maintainer-clean-automake:
3563 @if automake
3564 maybe-maintainer-clean-automake: maintainer-clean-automake
3566 maintainer-clean-automake:
3567 @: $(MAKE); $(unstage)
3568 @[ -f ./automake/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3571 $(HOST_EXPORTS) \
3572 for flag in $(EXTRA_HOST_FLAGS) ; do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3574 done; \
3575 echo "Doing maintainer-clean in automake" ; \
3576 (cd $(HOST_SUBDIR)/automake && \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3581 maintainer-clean) \
3582 || exit 1
3584 @endif automake
3588 .PHONY: configure-bash maybe-configure-bash
3589 maybe-configure-bash:
3590 @if bash
3591 maybe-configure-bash: configure-bash
3592 configure-bash:
3593 @: $(MAKE); $(unstage)
3594 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3596 r=`${PWD_COMMAND}`; export r; \
3597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3598 $(HOST_EXPORTS) \
3599 echo Configuring in $(HOST_SUBDIR)/bash; \
3600 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3601 case $(srcdir) in \
3602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3603 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3605 esac; \
3606 srcdiroption="--srcdir=$${topdir}/bash"; \
3607 libsrcdir="$$s/bash"; \
3608 $(SHELL) $${libsrcdir}/configure \
3609 $(HOST_CONFIGARGS) $${srcdiroption} \
3610 || exit 1
3611 @endif bash
3617 .PHONY: all-bash maybe-all-bash
3618 maybe-all-bash:
3619 @if bash
3620 TARGET-bash=all
3621 maybe-all-bash: all-bash
3622 all-bash: configure-bash
3623 @: $(MAKE); $(unstage)
3624 @r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 $(HOST_EXPORTS) \
3627 (cd $(HOST_SUBDIR)/bash && \
3628 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3629 @endif bash
3634 .PHONY: check-bash maybe-check-bash
3635 maybe-check-bash:
3636 @if bash
3637 maybe-check-bash: check-bash
3639 check-bash:
3640 @: $(MAKE); $(unstage)
3641 @r=`${PWD_COMMAND}`; export r; \
3642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3643 $(HOST_EXPORTS) \
3644 (cd $(HOST_SUBDIR)/bash && \
3645 $(MAKE) $(FLAGS_TO_PASS) check)
3647 @endif bash
3649 .PHONY: install-bash maybe-install-bash
3650 maybe-install-bash:
3651 @if bash
3652 maybe-install-bash: install-bash
3654 install-bash: installdirs
3655 @: $(MAKE); $(unstage)
3656 @r=`${PWD_COMMAND}`; export r; \
3657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3658 $(HOST_EXPORTS) \
3659 (cd $(HOST_SUBDIR)/bash && \
3660 $(MAKE) $(FLAGS_TO_PASS) install)
3662 @endif bash
3664 # Other targets (info, dvi, etc.)
3666 .PHONY: maybe-info-bash info-bash
3667 maybe-info-bash:
3668 @if bash
3669 maybe-info-bash: info-bash
3671 info-bash: \
3672 configure-bash
3673 @: $(MAKE); $(unstage)
3674 @[ -f ./bash/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing info in bash" ; \
3682 (cd $(HOST_SUBDIR)/bash && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687 info) \
3688 || exit 1
3690 @endif bash
3692 .PHONY: maybe-dvi-bash dvi-bash
3693 maybe-dvi-bash:
3694 @if bash
3695 maybe-dvi-bash: dvi-bash
3697 dvi-bash: \
3698 configure-bash
3699 @: $(MAKE); $(unstage)
3700 @[ -f ./bash/Makefile ] || exit 0; \
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 $(HOST_EXPORTS) \
3704 for flag in $(EXTRA_HOST_FLAGS) ; do \
3705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 done; \
3707 echo "Doing dvi in bash" ; \
3708 (cd $(HOST_SUBDIR)/bash && \
3709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3711 "RANLIB=$${RANLIB}" \
3712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3713 dvi) \
3714 || exit 1
3716 @endif bash
3718 .PHONY: maybe-html-bash html-bash
3719 maybe-html-bash:
3720 @if bash
3721 maybe-html-bash: html-bash
3723 html-bash: \
3724 configure-bash
3725 @: $(MAKE); $(unstage)
3726 @[ -f ./bash/Makefile ] || exit 0; \
3727 r=`${PWD_COMMAND}`; export r; \
3728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3729 $(HOST_EXPORTS) \
3730 for flag in $(EXTRA_HOST_FLAGS) ; do \
3731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3732 done; \
3733 echo "Doing html in bash" ; \
3734 (cd $(HOST_SUBDIR)/bash && \
3735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3737 "RANLIB=$${RANLIB}" \
3738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3739 html) \
3740 || exit 1
3742 @endif bash
3744 .PHONY: maybe-TAGS-bash TAGS-bash
3745 maybe-TAGS-bash:
3746 @if bash
3747 maybe-TAGS-bash: TAGS-bash
3749 TAGS-bash: \
3750 configure-bash
3751 @: $(MAKE); $(unstage)
3752 @[ -f ./bash/Makefile ] || exit 0; \
3753 r=`${PWD_COMMAND}`; export r; \
3754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3755 $(HOST_EXPORTS) \
3756 for flag in $(EXTRA_HOST_FLAGS) ; do \
3757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3758 done; \
3759 echo "Doing TAGS in bash" ; \
3760 (cd $(HOST_SUBDIR)/bash && \
3761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3763 "RANLIB=$${RANLIB}" \
3764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3765 TAGS) \
3766 || exit 1
3768 @endif bash
3770 .PHONY: maybe-install-info-bash install-info-bash
3771 maybe-install-info-bash:
3772 @if bash
3773 maybe-install-info-bash: install-info-bash
3775 install-info-bash: \
3776 configure-bash \
3777 info-bash
3778 @: $(MAKE); $(unstage)
3779 @[ -f ./bash/Makefile ] || exit 0; \
3780 r=`${PWD_COMMAND}`; export r; \
3781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3782 $(HOST_EXPORTS) \
3783 for flag in $(EXTRA_HOST_FLAGS) ; do \
3784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3785 done; \
3786 echo "Doing install-info in bash" ; \
3787 (cd $(HOST_SUBDIR)/bash && \
3788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3790 "RANLIB=$${RANLIB}" \
3791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3792 install-info) \
3793 || exit 1
3795 @endif bash
3797 .PHONY: maybe-installcheck-bash installcheck-bash
3798 maybe-installcheck-bash:
3799 @if bash
3800 maybe-installcheck-bash: installcheck-bash
3802 installcheck-bash: \
3803 configure-bash
3804 @: $(MAKE); $(unstage)
3805 @[ -f ./bash/Makefile ] || exit 0; \
3806 r=`${PWD_COMMAND}`; export r; \
3807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3808 $(HOST_EXPORTS) \
3809 for flag in $(EXTRA_HOST_FLAGS) ; do \
3810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3811 done; \
3812 echo "Doing installcheck in bash" ; \
3813 (cd $(HOST_SUBDIR)/bash && \
3814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3816 "RANLIB=$${RANLIB}" \
3817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3818 installcheck) \
3819 || exit 1
3821 @endif bash
3823 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3824 maybe-mostlyclean-bash:
3825 @if bash
3826 maybe-mostlyclean-bash: mostlyclean-bash
3828 mostlyclean-bash:
3829 @: $(MAKE); $(unstage)
3830 @[ -f ./bash/Makefile ] || exit 0; \
3831 r=`${PWD_COMMAND}`; export r; \
3832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3833 $(HOST_EXPORTS) \
3834 for flag in $(EXTRA_HOST_FLAGS) ; do \
3835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3836 done; \
3837 echo "Doing mostlyclean in bash" ; \
3838 (cd $(HOST_SUBDIR)/bash && \
3839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3841 "RANLIB=$${RANLIB}" \
3842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3843 mostlyclean) \
3844 || exit 1
3846 @endif bash
3848 .PHONY: maybe-clean-bash clean-bash
3849 maybe-clean-bash:
3850 @if bash
3851 maybe-clean-bash: clean-bash
3853 clean-bash:
3854 @: $(MAKE); $(unstage)
3855 @[ -f ./bash/Makefile ] || exit 0; \
3856 r=`${PWD_COMMAND}`; export r; \
3857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3858 $(HOST_EXPORTS) \
3859 for flag in $(EXTRA_HOST_FLAGS) ; do \
3860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3861 done; \
3862 echo "Doing clean in bash" ; \
3863 (cd $(HOST_SUBDIR)/bash && \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3866 "RANLIB=$${RANLIB}" \
3867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 clean) \
3869 || exit 1
3871 @endif bash
3873 .PHONY: maybe-distclean-bash distclean-bash
3874 maybe-distclean-bash:
3875 @if bash
3876 maybe-distclean-bash: distclean-bash
3878 distclean-bash:
3879 @: $(MAKE); $(unstage)
3880 @[ -f ./bash/Makefile ] || exit 0; \
3881 r=`${PWD_COMMAND}`; export r; \
3882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3883 $(HOST_EXPORTS) \
3884 for flag in $(EXTRA_HOST_FLAGS) ; do \
3885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3886 done; \
3887 echo "Doing distclean in bash" ; \
3888 (cd $(HOST_SUBDIR)/bash && \
3889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3891 "RANLIB=$${RANLIB}" \
3892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3893 distclean) \
3894 || exit 1
3896 @endif bash
3898 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3899 maybe-maintainer-clean-bash:
3900 @if bash
3901 maybe-maintainer-clean-bash: maintainer-clean-bash
3903 maintainer-clean-bash:
3904 @: $(MAKE); $(unstage)
3905 @[ -f ./bash/Makefile ] || exit 0; \
3906 r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3908 $(HOST_EXPORTS) \
3909 for flag in $(EXTRA_HOST_FLAGS) ; do \
3910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3911 done; \
3912 echo "Doing maintainer-clean in bash" ; \
3913 (cd $(HOST_SUBDIR)/bash && \
3914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3916 "RANLIB=$${RANLIB}" \
3917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 maintainer-clean) \
3919 || exit 1
3921 @endif bash
3925 .PHONY: configure-bfd maybe-configure-bfd
3926 maybe-configure-bfd:
3927 @if bfd
3928 maybe-configure-bfd: configure-bfd
3929 configure-bfd:
3930 @test -f stage_last && exit 0; \
3931 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 $(HOST_EXPORTS) \
3936 echo Configuring in $(HOST_SUBDIR)/bfd; \
3937 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3938 case $(srcdir) in \
3939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3940 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3942 esac; \
3943 srcdiroption="--srcdir=$${topdir}/bfd"; \
3944 libsrcdir="$$s/bfd"; \
3945 $(SHELL) $${libsrcdir}/configure \
3946 $(HOST_CONFIGARGS) $${srcdiroption} \
3947 || exit 1
3948 @endif bfd
3952 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3953 maybe-configure-stage1-bfd:
3954 @if bfd-bootstrap
3955 maybe-configure-stage1-bfd: configure-stage1-bfd
3956 configure-stage1-bfd:
3957 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
3958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3959 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3960 $(HOST_EXPORTS) \
3961 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3963 cd $(HOST_SUBDIR)/bfd || exit 1; \
3964 case $(srcdir) in \
3965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3966 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3968 esac; \
3969 srcdiroption="--srcdir=$${topdir}/bfd"; \
3970 libsrcdir="$$s/bfd"; \
3971 $(SHELL) $${libsrcdir}/configure \
3972 $(HOST_CONFIGARGS) $${srcdiroption} \
3973 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3974 @endif bfd-bootstrap
3976 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3977 maybe-configure-stage2-bfd:
3978 @if bfd-bootstrap
3979 maybe-configure-stage2-bfd: configure-stage2-bfd
3980 configure-stage2-bfd:
3981 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
3982 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3983 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3984 $(HOST_EXPORTS) \
3985 $(POSTSTAGE1_HOST_EXPORTS) \
3986 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3988 cd $(HOST_SUBDIR)/bfd || exit 1; \
3989 case $(srcdir) in \
3990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3991 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3993 esac; \
3994 srcdiroption="--srcdir=$${topdir}/bfd"; \
3995 libsrcdir="$$s/bfd"; \
3996 $(SHELL) $${libsrcdir}/configure \
3997 $(HOST_CONFIGARGS) $${srcdiroption} \
3998 @stage2_werror_flag@
3999 @endif bfd-bootstrap
4001 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4002 maybe-configure-stage3-bfd:
4003 @if bfd-bootstrap
4004 maybe-configure-stage3-bfd: configure-stage3-bfd
4005 configure-stage3-bfd:
4006 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4008 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4009 $(HOST_EXPORTS) \
4010 $(POSTSTAGE1_HOST_EXPORTS) \
4011 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4013 cd $(HOST_SUBDIR)/bfd || exit 1; \
4014 case $(srcdir) in \
4015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4016 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4018 esac; \
4019 srcdiroption="--srcdir=$${topdir}/bfd"; \
4020 libsrcdir="$$s/bfd"; \
4021 $(SHELL) $${libsrcdir}/configure \
4022 $(HOST_CONFIGARGS) $${srcdiroption} \
4023 @stage2_werror_flag@
4024 @endif bfd-bootstrap
4026 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4027 maybe-configure-stage4-bfd:
4028 @if bfd-bootstrap
4029 maybe-configure-stage4-bfd: configure-stage4-bfd
4030 configure-stage4-bfd:
4031 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4033 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4034 $(HOST_EXPORTS) \
4035 $(POSTSTAGE1_HOST_EXPORTS) \
4036 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4038 cd $(HOST_SUBDIR)/bfd || exit 1; \
4039 case $(srcdir) in \
4040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4041 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4043 esac; \
4044 srcdiroption="--srcdir=$${topdir}/bfd"; \
4045 libsrcdir="$$s/bfd"; \
4046 $(SHELL) $${libsrcdir}/configure \
4047 $(HOST_CONFIGARGS) $${srcdiroption} \
4048 @stage2_werror_flag@
4049 @endif bfd-bootstrap
4051 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4052 maybe-configure-stageprofile-bfd:
4053 @if bfd-bootstrap
4054 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4055 configure-stageprofile-bfd:
4056 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4058 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4059 $(HOST_EXPORTS) \
4060 $(POSTSTAGE1_HOST_EXPORTS) \
4061 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4063 cd $(HOST_SUBDIR)/bfd || exit 1; \
4064 case $(srcdir) in \
4065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4066 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4068 esac; \
4069 srcdiroption="--srcdir=$${topdir}/bfd"; \
4070 libsrcdir="$$s/bfd"; \
4071 $(SHELL) $${libsrcdir}/configure \
4072 $(HOST_CONFIGARGS) $${srcdiroption} \
4073 @stage2_werror_flag@
4074 @endif bfd-bootstrap
4076 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4077 maybe-configure-stagefeedback-bfd:
4078 @if bfd-bootstrap
4079 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4080 configure-stagefeedback-bfd:
4081 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4083 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4084 $(HOST_EXPORTS) \
4085 $(POSTSTAGE1_HOST_EXPORTS) \
4086 echo Configuring stage feedback 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
4105 .PHONY: all-bfd maybe-all-bfd
4106 maybe-all-bfd:
4107 @if bfd
4108 TARGET-bfd=all
4109 maybe-all-bfd: all-bfd
4110 all-bfd: configure-bfd
4111 @test -f stage_last && exit 0; \
4112 r=`${PWD_COMMAND}`; export r; \
4113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4114 $(HOST_EXPORTS) \
4115 (cd $(HOST_SUBDIR)/bfd && \
4116 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4117 @endif bfd
4121 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4122 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4123 maybe-all-stage1-bfd:
4124 maybe-clean-stage1-bfd:
4125 @if bfd-bootstrap
4126 maybe-all-stage1-bfd: all-stage1-bfd
4127 all-stage1: all-stage1-bfd
4128 TARGET-stage1-bfd = $(TARGET-bfd)
4129 all-stage1-bfd: configure-stage1-bfd
4130 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4131 @r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 $(HOST_EXPORTS) \
4134 cd $(HOST_SUBDIR)/bfd && \
4135 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4136 $(TARGET-stage1-bfd)
4138 maybe-clean-stage1-bfd: clean-stage1-bfd
4139 clean-stage1: clean-stage1-bfd
4140 clean-stage1-bfd:
4141 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4142 || exit 0 ; \
4143 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4144 cd $(HOST_SUBDIR)/bfd && \
4145 $(MAKE) $(FLAGS_TO_PASS) \
4146 CFLAGS="$(STAGE1_CFLAGS)" clean
4147 @endif bfd-bootstrap
4150 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4151 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4152 maybe-all-stage2-bfd:
4153 maybe-clean-stage2-bfd:
4154 @if bfd-bootstrap
4155 maybe-all-stage2-bfd: all-stage2-bfd
4156 all-stage2: all-stage2-bfd
4157 TARGET-stage2-bfd = $(TARGET-bfd)
4158 all-stage2-bfd: configure-stage2-bfd
4159 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4160 @r=`${PWD_COMMAND}`; export r; \
4161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 $(HOST_EXPORTS) \
4163 $(POSTSTAGE1_HOST_EXPORTS) \
4164 cd $(HOST_SUBDIR)/bfd && \
4165 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4166 $(TARGET-stage2-bfd)
4168 maybe-clean-stage2-bfd: clean-stage2-bfd
4169 clean-stage2: clean-stage2-bfd
4170 clean-stage2-bfd:
4171 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4172 || exit 0 ; \
4173 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4174 cd $(HOST_SUBDIR)/bfd && \
4175 $(MAKE) $(FLAGS_TO_PASS) \
4176 $(POSTSTAGE1_FLAGS_TO_PASS) \
4177 clean
4178 @endif bfd-bootstrap
4181 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4182 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4183 maybe-all-stage3-bfd:
4184 maybe-clean-stage3-bfd:
4185 @if bfd-bootstrap
4186 maybe-all-stage3-bfd: all-stage3-bfd
4187 all-stage3: all-stage3-bfd
4188 TARGET-stage3-bfd = $(TARGET-bfd)
4189 all-stage3-bfd: configure-stage3-bfd
4190 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4191 @r=`${PWD_COMMAND}`; export r; \
4192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4193 $(HOST_EXPORTS) \
4194 $(POSTSTAGE1_HOST_EXPORTS) \
4195 cd $(HOST_SUBDIR)/bfd && \
4196 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4197 $(TARGET-stage3-bfd)
4199 maybe-clean-stage3-bfd: clean-stage3-bfd
4200 clean-stage3: clean-stage3-bfd
4201 clean-stage3-bfd:
4202 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4203 || exit 0 ; \
4204 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4205 cd $(HOST_SUBDIR)/bfd && \
4206 $(MAKE) $(FLAGS_TO_PASS) \
4207 $(POSTSTAGE1_FLAGS_TO_PASS) \
4208 clean
4209 @endif bfd-bootstrap
4212 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4213 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4214 maybe-all-stage4-bfd:
4215 maybe-clean-stage4-bfd:
4216 @if bfd-bootstrap
4217 maybe-all-stage4-bfd: all-stage4-bfd
4218 all-stage4: all-stage4-bfd
4219 TARGET-stage4-bfd = $(TARGET-bfd)
4220 all-stage4-bfd: configure-stage4-bfd
4221 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4222 @r=`${PWD_COMMAND}`; export r; \
4223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4224 $(HOST_EXPORTS) \
4225 $(POSTSTAGE1_HOST_EXPORTS) \
4226 cd $(HOST_SUBDIR)/bfd && \
4227 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4228 $(TARGET-stage4-bfd)
4230 maybe-clean-stage4-bfd: clean-stage4-bfd
4231 clean-stage4: clean-stage4-bfd
4232 clean-stage4-bfd:
4233 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4234 || exit 0 ; \
4235 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4236 cd $(HOST_SUBDIR)/bfd && \
4237 $(MAKE) $(FLAGS_TO_PASS) \
4238 $(POSTSTAGE1_FLAGS_TO_PASS) \
4239 clean
4240 @endif bfd-bootstrap
4243 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4244 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4245 maybe-all-stageprofile-bfd:
4246 maybe-clean-stageprofile-bfd:
4247 @if bfd-bootstrap
4248 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4249 all-stageprofile: all-stageprofile-bfd
4250 TARGET-stageprofile-bfd = $(TARGET-bfd)
4251 all-stageprofile-bfd: configure-stageprofile-bfd
4252 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4253 @r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 $(HOST_EXPORTS) \
4256 $(POSTSTAGE1_HOST_EXPORTS) \
4257 cd $(HOST_SUBDIR)/bfd && \
4258 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4259 $(TARGET-stageprofile-bfd)
4261 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4262 clean-stageprofile: clean-stageprofile-bfd
4263 clean-stageprofile-bfd:
4264 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4265 || exit 0 ; \
4266 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4267 cd $(HOST_SUBDIR)/bfd && \
4268 $(MAKE) $(FLAGS_TO_PASS) \
4269 $(POSTSTAGE1_FLAGS_TO_PASS) \
4270 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4271 @endif bfd-bootstrap
4274 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4275 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4276 maybe-all-stagefeedback-bfd:
4277 maybe-clean-stagefeedback-bfd:
4278 @if bfd-bootstrap
4279 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4280 all-stagefeedback: all-stagefeedback-bfd
4281 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4282 all-stagefeedback-bfd: configure-stagefeedback-bfd
4283 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4284 @r=`${PWD_COMMAND}`; export r; \
4285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4286 $(HOST_EXPORTS) \
4287 $(POSTSTAGE1_HOST_EXPORTS) \
4288 cd $(HOST_SUBDIR)/bfd && \
4289 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4290 $(TARGET-stagefeedback-bfd)
4292 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4293 clean-stagefeedback: clean-stagefeedback-bfd
4294 clean-stagefeedback-bfd:
4295 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4296 || exit 0 ; \
4297 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4298 cd $(HOST_SUBDIR)/bfd && \
4299 $(MAKE) $(FLAGS_TO_PASS) \
4300 $(POSTSTAGE1_FLAGS_TO_PASS) \
4301 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4302 @endif bfd-bootstrap
4308 .PHONY: check-bfd maybe-check-bfd
4309 maybe-check-bfd:
4310 @if bfd
4311 maybe-check-bfd: check-bfd
4313 check-bfd:
4314 @: $(MAKE); $(unstage)
4315 @r=`${PWD_COMMAND}`; export r; \
4316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 $(HOST_EXPORTS) \
4318 (cd $(HOST_SUBDIR)/bfd && \
4319 $(MAKE) $(FLAGS_TO_PASS) check)
4321 @endif bfd
4323 .PHONY: install-bfd maybe-install-bfd
4324 maybe-install-bfd:
4325 @if bfd
4326 maybe-install-bfd: install-bfd
4328 install-bfd: installdirs
4329 @: $(MAKE); $(unstage)
4330 @r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(HOST_EXPORTS) \
4333 (cd $(HOST_SUBDIR)/bfd && \
4334 $(MAKE) $(FLAGS_TO_PASS) install)
4336 @endif bfd
4338 # Other targets (info, dvi, etc.)
4340 .PHONY: maybe-info-bfd info-bfd
4341 maybe-info-bfd:
4342 @if bfd
4343 maybe-info-bfd: info-bfd
4345 info-bfd: \
4346 configure-bfd
4347 @[ -f ./bfd/Makefile ] || exit 0; \
4348 r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(HOST_EXPORTS) \
4351 for flag in $(EXTRA_HOST_FLAGS) ; do \
4352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4353 done; \
4354 echo "Doing info in bfd" ; \
4355 (cd $(HOST_SUBDIR)/bfd && \
4356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4358 "RANLIB=$${RANLIB}" \
4359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4360 info) \
4361 || exit 1
4363 @endif bfd
4365 .PHONY: maybe-dvi-bfd dvi-bfd
4366 maybe-dvi-bfd:
4367 @if bfd
4368 maybe-dvi-bfd: dvi-bfd
4370 dvi-bfd: \
4371 configure-bfd
4372 @[ -f ./bfd/Makefile ] || exit 0; \
4373 r=`${PWD_COMMAND}`; export r; \
4374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 $(HOST_EXPORTS) \
4376 for flag in $(EXTRA_HOST_FLAGS) ; do \
4377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4378 done; \
4379 echo "Doing dvi in bfd" ; \
4380 (cd $(HOST_SUBDIR)/bfd && \
4381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4383 "RANLIB=$${RANLIB}" \
4384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4385 dvi) \
4386 || exit 1
4388 @endif bfd
4390 .PHONY: maybe-html-bfd html-bfd
4391 maybe-html-bfd:
4392 @if bfd
4393 maybe-html-bfd: html-bfd
4395 html-bfd: \
4396 configure-bfd
4397 @[ -f ./bfd/Makefile ] || exit 0; \
4398 r=`${PWD_COMMAND}`; export r; \
4399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4400 $(HOST_EXPORTS) \
4401 for flag in $(EXTRA_HOST_FLAGS) ; do \
4402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4403 done; \
4404 echo "Doing html in bfd" ; \
4405 (cd $(HOST_SUBDIR)/bfd && \
4406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4408 "RANLIB=$${RANLIB}" \
4409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4410 html) \
4411 || exit 1
4413 @endif bfd
4415 .PHONY: maybe-TAGS-bfd TAGS-bfd
4416 maybe-TAGS-bfd:
4417 @if bfd
4418 maybe-TAGS-bfd: TAGS-bfd
4420 TAGS-bfd: \
4421 configure-bfd
4422 @[ -f ./bfd/Makefile ] || exit 0; \
4423 r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 $(HOST_EXPORTS) \
4426 for flag in $(EXTRA_HOST_FLAGS) ; do \
4427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4428 done; \
4429 echo "Doing TAGS in bfd" ; \
4430 (cd $(HOST_SUBDIR)/bfd && \
4431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4433 "RANLIB=$${RANLIB}" \
4434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4435 TAGS) \
4436 || exit 1
4438 @endif bfd
4440 .PHONY: maybe-install-info-bfd install-info-bfd
4441 maybe-install-info-bfd:
4442 @if bfd
4443 maybe-install-info-bfd: install-info-bfd
4445 install-info-bfd: \
4446 configure-bfd \
4447 info-bfd
4448 @[ -f ./bfd/Makefile ] || exit 0; \
4449 r=`${PWD_COMMAND}`; export r; \
4450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4451 $(HOST_EXPORTS) \
4452 for flag in $(EXTRA_HOST_FLAGS) ; do \
4453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4454 done; \
4455 echo "Doing install-info in bfd" ; \
4456 (cd $(HOST_SUBDIR)/bfd && \
4457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4459 "RANLIB=$${RANLIB}" \
4460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4461 install-info) \
4462 || exit 1
4464 @endif bfd
4466 .PHONY: maybe-installcheck-bfd installcheck-bfd
4467 maybe-installcheck-bfd:
4468 @if bfd
4469 maybe-installcheck-bfd: installcheck-bfd
4471 installcheck-bfd: \
4472 configure-bfd
4473 @[ -f ./bfd/Makefile ] || exit 0; \
4474 r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 $(HOST_EXPORTS) \
4477 for flag in $(EXTRA_HOST_FLAGS) ; do \
4478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4479 done; \
4480 echo "Doing installcheck in bfd" ; \
4481 (cd $(HOST_SUBDIR)/bfd && \
4482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4484 "RANLIB=$${RANLIB}" \
4485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4486 installcheck) \
4487 || exit 1
4489 @endif bfd
4491 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4492 maybe-mostlyclean-bfd:
4493 @if bfd
4494 maybe-mostlyclean-bfd: mostlyclean-bfd
4496 mostlyclean-bfd:
4497 @[ -f ./bfd/Makefile ] || exit 0; \
4498 r=`${PWD_COMMAND}`; export r; \
4499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4500 $(HOST_EXPORTS) \
4501 for flag in $(EXTRA_HOST_FLAGS) ; do \
4502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4503 done; \
4504 echo "Doing mostlyclean in bfd" ; \
4505 (cd $(HOST_SUBDIR)/bfd && \
4506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4508 "RANLIB=$${RANLIB}" \
4509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4510 mostlyclean) \
4511 || exit 1
4513 @endif bfd
4515 .PHONY: maybe-clean-bfd clean-bfd
4516 maybe-clean-bfd:
4517 @if bfd
4518 maybe-clean-bfd: clean-bfd
4520 clean-bfd:
4521 @[ -f ./bfd/Makefile ] || exit 0; \
4522 r=`${PWD_COMMAND}`; export r; \
4523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 $(HOST_EXPORTS) \
4525 for flag in $(EXTRA_HOST_FLAGS) ; do \
4526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4527 done; \
4528 echo "Doing clean in bfd" ; \
4529 (cd $(HOST_SUBDIR)/bfd && \
4530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4532 "RANLIB=$${RANLIB}" \
4533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4534 clean) \
4535 || exit 1
4537 @endif bfd
4539 .PHONY: maybe-distclean-bfd distclean-bfd
4540 maybe-distclean-bfd:
4541 @if bfd
4542 maybe-distclean-bfd: distclean-bfd
4544 distclean-bfd:
4545 @[ -f ./bfd/Makefile ] || exit 0; \
4546 r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 $(HOST_EXPORTS) \
4549 for flag in $(EXTRA_HOST_FLAGS) ; do \
4550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4551 done; \
4552 echo "Doing distclean in bfd" ; \
4553 (cd $(HOST_SUBDIR)/bfd && \
4554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4556 "RANLIB=$${RANLIB}" \
4557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4558 distclean) \
4559 || exit 1
4561 @endif bfd
4563 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4564 maybe-maintainer-clean-bfd:
4565 @if bfd
4566 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4568 maintainer-clean-bfd:
4569 @[ -f ./bfd/Makefile ] || exit 0; \
4570 r=`${PWD_COMMAND}`; export r; \
4571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4572 $(HOST_EXPORTS) \
4573 for flag in $(EXTRA_HOST_FLAGS) ; do \
4574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4575 done; \
4576 echo "Doing maintainer-clean in bfd" ; \
4577 (cd $(HOST_SUBDIR)/bfd && \
4578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4580 "RANLIB=$${RANLIB}" \
4581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4582 maintainer-clean) \
4583 || exit 1
4585 @endif bfd
4589 .PHONY: configure-opcodes maybe-configure-opcodes
4590 maybe-configure-opcodes:
4591 @if opcodes
4592 maybe-configure-opcodes: configure-opcodes
4593 configure-opcodes:
4594 @test -f stage_last && exit 0; \
4595 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4597 r=`${PWD_COMMAND}`; export r; \
4598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4599 $(HOST_EXPORTS) \
4600 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4601 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4602 case $(srcdir) in \
4603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4604 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4606 esac; \
4607 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4608 libsrcdir="$$s/opcodes"; \
4609 $(SHELL) $${libsrcdir}/configure \
4610 $(HOST_CONFIGARGS) $${srcdiroption} \
4611 || exit 1
4612 @endif opcodes
4616 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4617 maybe-configure-stage1-opcodes:
4618 @if opcodes-bootstrap
4619 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4620 configure-stage1-opcodes:
4621 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4622 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4623 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4624 $(HOST_EXPORTS) \
4625 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4627 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4628 case $(srcdir) in \
4629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4630 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4632 esac; \
4633 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4634 libsrcdir="$$s/opcodes"; \
4635 $(SHELL) $${libsrcdir}/configure \
4636 $(HOST_CONFIGARGS) $${srcdiroption} \
4637 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4638 @endif opcodes-bootstrap
4640 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4641 maybe-configure-stage2-opcodes:
4642 @if opcodes-bootstrap
4643 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4644 configure-stage2-opcodes:
4645 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4647 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4648 $(HOST_EXPORTS) \
4649 $(POSTSTAGE1_HOST_EXPORTS) \
4650 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4652 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4653 case $(srcdir) in \
4654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4655 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4657 esac; \
4658 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4659 libsrcdir="$$s/opcodes"; \
4660 $(SHELL) $${libsrcdir}/configure \
4661 $(HOST_CONFIGARGS) $${srcdiroption} \
4662 @stage2_werror_flag@
4663 @endif opcodes-bootstrap
4665 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4666 maybe-configure-stage3-opcodes:
4667 @if opcodes-bootstrap
4668 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4669 configure-stage3-opcodes:
4670 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4672 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4673 $(HOST_EXPORTS) \
4674 $(POSTSTAGE1_HOST_EXPORTS) \
4675 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4677 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4678 case $(srcdir) in \
4679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4680 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4682 esac; \
4683 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4684 libsrcdir="$$s/opcodes"; \
4685 $(SHELL) $${libsrcdir}/configure \
4686 $(HOST_CONFIGARGS) $${srcdiroption} \
4687 @stage2_werror_flag@
4688 @endif opcodes-bootstrap
4690 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4691 maybe-configure-stage4-opcodes:
4692 @if opcodes-bootstrap
4693 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4694 configure-stage4-opcodes:
4695 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4697 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4698 $(HOST_EXPORTS) \
4699 $(POSTSTAGE1_HOST_EXPORTS) \
4700 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4702 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4703 case $(srcdir) in \
4704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4705 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4707 esac; \
4708 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4709 libsrcdir="$$s/opcodes"; \
4710 $(SHELL) $${libsrcdir}/configure \
4711 $(HOST_CONFIGARGS) $${srcdiroption} \
4712 @stage2_werror_flag@
4713 @endif opcodes-bootstrap
4715 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4716 maybe-configure-stageprofile-opcodes:
4717 @if opcodes-bootstrap
4718 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4719 configure-stageprofile-opcodes:
4720 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4722 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4723 $(HOST_EXPORTS) \
4724 $(POSTSTAGE1_HOST_EXPORTS) \
4725 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4727 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4728 case $(srcdir) in \
4729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4730 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4732 esac; \
4733 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4734 libsrcdir="$$s/opcodes"; \
4735 $(SHELL) $${libsrcdir}/configure \
4736 $(HOST_CONFIGARGS) $${srcdiroption} \
4737 @stage2_werror_flag@
4738 @endif opcodes-bootstrap
4740 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4741 maybe-configure-stagefeedback-opcodes:
4742 @if opcodes-bootstrap
4743 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4744 configure-stagefeedback-opcodes:
4745 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4747 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4748 $(HOST_EXPORTS) \
4749 $(POSTSTAGE1_HOST_EXPORTS) \
4750 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4752 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4753 case $(srcdir) in \
4754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4755 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4757 esac; \
4758 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4759 libsrcdir="$$s/opcodes"; \
4760 $(SHELL) $${libsrcdir}/configure \
4761 $(HOST_CONFIGARGS) $${srcdiroption} \
4762 @stage2_werror_flag@
4763 @endif opcodes-bootstrap
4769 .PHONY: all-opcodes maybe-all-opcodes
4770 maybe-all-opcodes:
4771 @if opcodes
4772 TARGET-opcodes=all
4773 maybe-all-opcodes: all-opcodes
4774 all-opcodes: configure-opcodes
4775 @test -f stage_last && exit 0; \
4776 r=`${PWD_COMMAND}`; export r; \
4777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4778 $(HOST_EXPORTS) \
4779 (cd $(HOST_SUBDIR)/opcodes && \
4780 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4781 @endif opcodes
4785 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4786 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4787 maybe-all-stage1-opcodes:
4788 maybe-clean-stage1-opcodes:
4789 @if opcodes-bootstrap
4790 maybe-all-stage1-opcodes: all-stage1-opcodes
4791 all-stage1: all-stage1-opcodes
4792 TARGET-stage1-opcodes = $(TARGET-opcodes)
4793 all-stage1-opcodes: configure-stage1-opcodes
4794 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4795 @r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 $(HOST_EXPORTS) \
4798 cd $(HOST_SUBDIR)/opcodes && \
4799 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4800 $(TARGET-stage1-opcodes)
4802 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4803 clean-stage1: clean-stage1-opcodes
4804 clean-stage1-opcodes:
4805 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4806 || exit 0 ; \
4807 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4808 cd $(HOST_SUBDIR)/opcodes && \
4809 $(MAKE) $(FLAGS_TO_PASS) \
4810 CFLAGS="$(STAGE1_CFLAGS)" clean
4811 @endif opcodes-bootstrap
4814 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4815 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4816 maybe-all-stage2-opcodes:
4817 maybe-clean-stage2-opcodes:
4818 @if opcodes-bootstrap
4819 maybe-all-stage2-opcodes: all-stage2-opcodes
4820 all-stage2: all-stage2-opcodes
4821 TARGET-stage2-opcodes = $(TARGET-opcodes)
4822 all-stage2-opcodes: configure-stage2-opcodes
4823 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4824 @r=`${PWD_COMMAND}`; export r; \
4825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4826 $(HOST_EXPORTS) \
4827 $(POSTSTAGE1_HOST_EXPORTS) \
4828 cd $(HOST_SUBDIR)/opcodes && \
4829 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4830 $(TARGET-stage2-opcodes)
4832 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4833 clean-stage2: clean-stage2-opcodes
4834 clean-stage2-opcodes:
4835 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4836 || exit 0 ; \
4837 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4838 cd $(HOST_SUBDIR)/opcodes && \
4839 $(MAKE) $(FLAGS_TO_PASS) \
4840 $(POSTSTAGE1_FLAGS_TO_PASS) \
4841 clean
4842 @endif opcodes-bootstrap
4845 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4846 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4847 maybe-all-stage3-opcodes:
4848 maybe-clean-stage3-opcodes:
4849 @if opcodes-bootstrap
4850 maybe-all-stage3-opcodes: all-stage3-opcodes
4851 all-stage3: all-stage3-opcodes
4852 TARGET-stage3-opcodes = $(TARGET-opcodes)
4853 all-stage3-opcodes: configure-stage3-opcodes
4854 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4855 @r=`${PWD_COMMAND}`; export r; \
4856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4857 $(HOST_EXPORTS) \
4858 $(POSTSTAGE1_HOST_EXPORTS) \
4859 cd $(HOST_SUBDIR)/opcodes && \
4860 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4861 $(TARGET-stage3-opcodes)
4863 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4864 clean-stage3: clean-stage3-opcodes
4865 clean-stage3-opcodes:
4866 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4867 || exit 0 ; \
4868 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4869 cd $(HOST_SUBDIR)/opcodes && \
4870 $(MAKE) $(FLAGS_TO_PASS) \
4871 $(POSTSTAGE1_FLAGS_TO_PASS) \
4872 clean
4873 @endif opcodes-bootstrap
4876 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4877 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4878 maybe-all-stage4-opcodes:
4879 maybe-clean-stage4-opcodes:
4880 @if opcodes-bootstrap
4881 maybe-all-stage4-opcodes: all-stage4-opcodes
4882 all-stage4: all-stage4-opcodes
4883 TARGET-stage4-opcodes = $(TARGET-opcodes)
4884 all-stage4-opcodes: configure-stage4-opcodes
4885 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4886 @r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 $(HOST_EXPORTS) \
4889 $(POSTSTAGE1_HOST_EXPORTS) \
4890 cd $(HOST_SUBDIR)/opcodes && \
4891 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4892 $(TARGET-stage4-opcodes)
4894 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4895 clean-stage4: clean-stage4-opcodes
4896 clean-stage4-opcodes:
4897 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4898 || exit 0 ; \
4899 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4900 cd $(HOST_SUBDIR)/opcodes && \
4901 $(MAKE) $(FLAGS_TO_PASS) \
4902 $(POSTSTAGE1_FLAGS_TO_PASS) \
4903 clean
4904 @endif opcodes-bootstrap
4907 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4908 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4909 maybe-all-stageprofile-opcodes:
4910 maybe-clean-stageprofile-opcodes:
4911 @if opcodes-bootstrap
4912 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4913 all-stageprofile: all-stageprofile-opcodes
4914 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4915 all-stageprofile-opcodes: configure-stageprofile-opcodes
4916 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4917 @r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 $(HOST_EXPORTS) \
4920 $(POSTSTAGE1_HOST_EXPORTS) \
4921 cd $(HOST_SUBDIR)/opcodes && \
4922 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4923 $(TARGET-stageprofile-opcodes)
4925 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4926 clean-stageprofile: clean-stageprofile-opcodes
4927 clean-stageprofile-opcodes:
4928 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4929 || exit 0 ; \
4930 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4931 cd $(HOST_SUBDIR)/opcodes && \
4932 $(MAKE) $(FLAGS_TO_PASS) \
4933 $(POSTSTAGE1_FLAGS_TO_PASS) \
4934 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4935 @endif opcodes-bootstrap
4938 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4939 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4940 maybe-all-stagefeedback-opcodes:
4941 maybe-clean-stagefeedback-opcodes:
4942 @if opcodes-bootstrap
4943 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4944 all-stagefeedback: all-stagefeedback-opcodes
4945 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4946 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4947 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4948 @r=`${PWD_COMMAND}`; export r; \
4949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4950 $(HOST_EXPORTS) \
4951 $(POSTSTAGE1_HOST_EXPORTS) \
4952 cd $(HOST_SUBDIR)/opcodes && \
4953 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4954 $(TARGET-stagefeedback-opcodes)
4956 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4957 clean-stagefeedback: clean-stagefeedback-opcodes
4958 clean-stagefeedback-opcodes:
4959 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4960 || exit 0 ; \
4961 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4962 cd $(HOST_SUBDIR)/opcodes && \
4963 $(MAKE) $(FLAGS_TO_PASS) \
4964 $(POSTSTAGE1_FLAGS_TO_PASS) \
4965 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4966 @endif opcodes-bootstrap
4972 .PHONY: check-opcodes maybe-check-opcodes
4973 maybe-check-opcodes:
4974 @if opcodes
4975 maybe-check-opcodes: check-opcodes
4977 check-opcodes:
4978 @: $(MAKE); $(unstage)
4979 @r=`${PWD_COMMAND}`; export r; \
4980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 $(HOST_EXPORTS) \
4982 (cd $(HOST_SUBDIR)/opcodes && \
4983 $(MAKE) $(FLAGS_TO_PASS) check)
4985 @endif opcodes
4987 .PHONY: install-opcodes maybe-install-opcodes
4988 maybe-install-opcodes:
4989 @if opcodes
4990 maybe-install-opcodes: install-opcodes
4992 install-opcodes: installdirs
4993 @: $(MAKE); $(unstage)
4994 @r=`${PWD_COMMAND}`; export r; \
4995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4996 $(HOST_EXPORTS) \
4997 (cd $(HOST_SUBDIR)/opcodes && \
4998 $(MAKE) $(FLAGS_TO_PASS) install)
5000 @endif opcodes
5002 # Other targets (info, dvi, etc.)
5004 .PHONY: maybe-info-opcodes info-opcodes
5005 maybe-info-opcodes:
5006 @if opcodes
5007 maybe-info-opcodes: info-opcodes
5009 info-opcodes: \
5010 configure-opcodes
5011 @[ -f ./opcodes/Makefile ] || exit 0; \
5012 r=`${PWD_COMMAND}`; export r; \
5013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5014 $(HOST_EXPORTS) \
5015 for flag in $(EXTRA_HOST_FLAGS) ; do \
5016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5017 done; \
5018 echo "Doing info in opcodes" ; \
5019 (cd $(HOST_SUBDIR)/opcodes && \
5020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5022 "RANLIB=$${RANLIB}" \
5023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5024 info) \
5025 || exit 1
5027 @endif opcodes
5029 .PHONY: maybe-dvi-opcodes dvi-opcodes
5030 maybe-dvi-opcodes:
5031 @if opcodes
5032 maybe-dvi-opcodes: dvi-opcodes
5034 dvi-opcodes: \
5035 configure-opcodes
5036 @[ -f ./opcodes/Makefile ] || exit 0; \
5037 r=`${PWD_COMMAND}`; export r; \
5038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5039 $(HOST_EXPORTS) \
5040 for flag in $(EXTRA_HOST_FLAGS) ; do \
5041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5042 done; \
5043 echo "Doing dvi in opcodes" ; \
5044 (cd $(HOST_SUBDIR)/opcodes && \
5045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5047 "RANLIB=$${RANLIB}" \
5048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5049 dvi) \
5050 || exit 1
5052 @endif opcodes
5054 .PHONY: maybe-html-opcodes html-opcodes
5055 maybe-html-opcodes:
5056 @if opcodes
5057 maybe-html-opcodes: html-opcodes
5059 html-opcodes: \
5060 configure-opcodes
5061 @[ -f ./opcodes/Makefile ] || exit 0; \
5062 r=`${PWD_COMMAND}`; export r; \
5063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5064 $(HOST_EXPORTS) \
5065 for flag in $(EXTRA_HOST_FLAGS) ; do \
5066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5067 done; \
5068 echo "Doing html in opcodes" ; \
5069 (cd $(HOST_SUBDIR)/opcodes && \
5070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5072 "RANLIB=$${RANLIB}" \
5073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5074 html) \
5075 || exit 1
5077 @endif opcodes
5079 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5080 maybe-TAGS-opcodes:
5081 @if opcodes
5082 maybe-TAGS-opcodes: TAGS-opcodes
5084 TAGS-opcodes: \
5085 configure-opcodes
5086 @[ -f ./opcodes/Makefile ] || exit 0; \
5087 r=`${PWD_COMMAND}`; export r; \
5088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5089 $(HOST_EXPORTS) \
5090 for flag in $(EXTRA_HOST_FLAGS) ; do \
5091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5092 done; \
5093 echo "Doing TAGS in opcodes" ; \
5094 (cd $(HOST_SUBDIR)/opcodes && \
5095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5097 "RANLIB=$${RANLIB}" \
5098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5099 TAGS) \
5100 || exit 1
5102 @endif opcodes
5104 .PHONY: maybe-install-info-opcodes install-info-opcodes
5105 maybe-install-info-opcodes:
5106 @if opcodes
5107 maybe-install-info-opcodes: install-info-opcodes
5109 install-info-opcodes: \
5110 configure-opcodes \
5111 info-opcodes
5112 @[ -f ./opcodes/Makefile ] || exit 0; \
5113 r=`${PWD_COMMAND}`; export r; \
5114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5115 $(HOST_EXPORTS) \
5116 for flag in $(EXTRA_HOST_FLAGS) ; do \
5117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5118 done; \
5119 echo "Doing install-info in opcodes" ; \
5120 (cd $(HOST_SUBDIR)/opcodes && \
5121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5123 "RANLIB=$${RANLIB}" \
5124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5125 install-info) \
5126 || exit 1
5128 @endif opcodes
5130 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5131 maybe-installcheck-opcodes:
5132 @if opcodes
5133 maybe-installcheck-opcodes: installcheck-opcodes
5135 installcheck-opcodes: \
5136 configure-opcodes
5137 @[ -f ./opcodes/Makefile ] || exit 0; \
5138 r=`${PWD_COMMAND}`; export r; \
5139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5140 $(HOST_EXPORTS) \
5141 for flag in $(EXTRA_HOST_FLAGS) ; do \
5142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5143 done; \
5144 echo "Doing installcheck in opcodes" ; \
5145 (cd $(HOST_SUBDIR)/opcodes && \
5146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5148 "RANLIB=$${RANLIB}" \
5149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5150 installcheck) \
5151 || exit 1
5153 @endif opcodes
5155 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5156 maybe-mostlyclean-opcodes:
5157 @if opcodes
5158 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5160 mostlyclean-opcodes:
5161 @[ -f ./opcodes/Makefile ] || exit 0; \
5162 r=`${PWD_COMMAND}`; export r; \
5163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5164 $(HOST_EXPORTS) \
5165 for flag in $(EXTRA_HOST_FLAGS) ; do \
5166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5167 done; \
5168 echo "Doing mostlyclean in opcodes" ; \
5169 (cd $(HOST_SUBDIR)/opcodes && \
5170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5172 "RANLIB=$${RANLIB}" \
5173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5174 mostlyclean) \
5175 || exit 1
5177 @endif opcodes
5179 .PHONY: maybe-clean-opcodes clean-opcodes
5180 maybe-clean-opcodes:
5181 @if opcodes
5182 maybe-clean-opcodes: clean-opcodes
5184 clean-opcodes:
5185 @[ -f ./opcodes/Makefile ] || exit 0; \
5186 r=`${PWD_COMMAND}`; export r; \
5187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5188 $(HOST_EXPORTS) \
5189 for flag in $(EXTRA_HOST_FLAGS) ; do \
5190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5191 done; \
5192 echo "Doing clean in opcodes" ; \
5193 (cd $(HOST_SUBDIR)/opcodes && \
5194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5196 "RANLIB=$${RANLIB}" \
5197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5198 clean) \
5199 || exit 1
5201 @endif opcodes
5203 .PHONY: maybe-distclean-opcodes distclean-opcodes
5204 maybe-distclean-opcodes:
5205 @if opcodes
5206 maybe-distclean-opcodes: distclean-opcodes
5208 distclean-opcodes:
5209 @[ -f ./opcodes/Makefile ] || exit 0; \
5210 r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(HOST_EXPORTS) \
5213 for flag in $(EXTRA_HOST_FLAGS) ; do \
5214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5215 done; \
5216 echo "Doing distclean in opcodes" ; \
5217 (cd $(HOST_SUBDIR)/opcodes && \
5218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5220 "RANLIB=$${RANLIB}" \
5221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5222 distclean) \
5223 || exit 1
5225 @endif opcodes
5227 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5228 maybe-maintainer-clean-opcodes:
5229 @if opcodes
5230 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5232 maintainer-clean-opcodes:
5233 @[ -f ./opcodes/Makefile ] || exit 0; \
5234 r=`${PWD_COMMAND}`; export r; \
5235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5236 $(HOST_EXPORTS) \
5237 for flag in $(EXTRA_HOST_FLAGS) ; do \
5238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5239 done; \
5240 echo "Doing maintainer-clean in opcodes" ; \
5241 (cd $(HOST_SUBDIR)/opcodes && \
5242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5244 "RANLIB=$${RANLIB}" \
5245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5246 maintainer-clean) \
5247 || exit 1
5249 @endif opcodes
5253 .PHONY: configure-binutils maybe-configure-binutils
5254 maybe-configure-binutils:
5255 @if binutils
5256 maybe-configure-binutils: configure-binutils
5257 configure-binutils:
5258 @test -f stage_last && exit 0; \
5259 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5261 r=`${PWD_COMMAND}`; export r; \
5262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5263 $(HOST_EXPORTS) \
5264 echo Configuring in $(HOST_SUBDIR)/binutils; \
5265 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5266 case $(srcdir) in \
5267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5268 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5270 esac; \
5271 srcdiroption="--srcdir=$${topdir}/binutils"; \
5272 libsrcdir="$$s/binutils"; \
5273 $(SHELL) $${libsrcdir}/configure \
5274 $(HOST_CONFIGARGS) $${srcdiroption} \
5275 || exit 1
5276 @endif binutils
5280 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5281 maybe-configure-stage1-binutils:
5282 @if binutils-bootstrap
5283 maybe-configure-stage1-binutils: configure-stage1-binutils
5284 configure-stage1-binutils:
5285 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5286 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5287 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5288 $(HOST_EXPORTS) \
5289 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5291 cd $(HOST_SUBDIR)/binutils || exit 1; \
5292 case $(srcdir) in \
5293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5294 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5296 esac; \
5297 srcdiroption="--srcdir=$${topdir}/binutils"; \
5298 libsrcdir="$$s/binutils"; \
5299 $(SHELL) $${libsrcdir}/configure \
5300 $(HOST_CONFIGARGS) $${srcdiroption} \
5301 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5302 @endif binutils-bootstrap
5304 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5305 maybe-configure-stage2-binutils:
5306 @if binutils-bootstrap
5307 maybe-configure-stage2-binutils: configure-stage2-binutils
5308 configure-stage2-binutils:
5309 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5311 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5312 $(HOST_EXPORTS) \
5313 $(POSTSTAGE1_HOST_EXPORTS) \
5314 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5316 cd $(HOST_SUBDIR)/binutils || exit 1; \
5317 case $(srcdir) in \
5318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5319 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5321 esac; \
5322 srcdiroption="--srcdir=$${topdir}/binutils"; \
5323 libsrcdir="$$s/binutils"; \
5324 $(SHELL) $${libsrcdir}/configure \
5325 $(HOST_CONFIGARGS) $${srcdiroption} \
5326 @stage2_werror_flag@
5327 @endif binutils-bootstrap
5329 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5330 maybe-configure-stage3-binutils:
5331 @if binutils-bootstrap
5332 maybe-configure-stage3-binutils: configure-stage3-binutils
5333 configure-stage3-binutils:
5334 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5336 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5337 $(HOST_EXPORTS) \
5338 $(POSTSTAGE1_HOST_EXPORTS) \
5339 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5341 cd $(HOST_SUBDIR)/binutils || exit 1; \
5342 case $(srcdir) in \
5343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5344 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5346 esac; \
5347 srcdiroption="--srcdir=$${topdir}/binutils"; \
5348 libsrcdir="$$s/binutils"; \
5349 $(SHELL) $${libsrcdir}/configure \
5350 $(HOST_CONFIGARGS) $${srcdiroption} \
5351 @stage2_werror_flag@
5352 @endif binutils-bootstrap
5354 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5355 maybe-configure-stage4-binutils:
5356 @if binutils-bootstrap
5357 maybe-configure-stage4-binutils: configure-stage4-binutils
5358 configure-stage4-binutils:
5359 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5361 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5362 $(HOST_EXPORTS) \
5363 $(POSTSTAGE1_HOST_EXPORTS) \
5364 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5366 cd $(HOST_SUBDIR)/binutils || exit 1; \
5367 case $(srcdir) in \
5368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5369 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5371 esac; \
5372 srcdiroption="--srcdir=$${topdir}/binutils"; \
5373 libsrcdir="$$s/binutils"; \
5374 $(SHELL) $${libsrcdir}/configure \
5375 $(HOST_CONFIGARGS) $${srcdiroption} \
5376 @stage2_werror_flag@
5377 @endif binutils-bootstrap
5379 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5380 maybe-configure-stageprofile-binutils:
5381 @if binutils-bootstrap
5382 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5383 configure-stageprofile-binutils:
5384 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5386 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5387 $(HOST_EXPORTS) \
5388 $(POSTSTAGE1_HOST_EXPORTS) \
5389 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5391 cd $(HOST_SUBDIR)/binutils || exit 1; \
5392 case $(srcdir) in \
5393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5394 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5396 esac; \
5397 srcdiroption="--srcdir=$${topdir}/binutils"; \
5398 libsrcdir="$$s/binutils"; \
5399 $(SHELL) $${libsrcdir}/configure \
5400 $(HOST_CONFIGARGS) $${srcdiroption} \
5401 @stage2_werror_flag@
5402 @endif binutils-bootstrap
5404 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5405 maybe-configure-stagefeedback-binutils:
5406 @if binutils-bootstrap
5407 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5408 configure-stagefeedback-binutils:
5409 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5411 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5412 $(HOST_EXPORTS) \
5413 $(POSTSTAGE1_HOST_EXPORTS) \
5414 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5416 cd $(HOST_SUBDIR)/binutils || exit 1; \
5417 case $(srcdir) in \
5418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5419 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5421 esac; \
5422 srcdiroption="--srcdir=$${topdir}/binutils"; \
5423 libsrcdir="$$s/binutils"; \
5424 $(SHELL) $${libsrcdir}/configure \
5425 $(HOST_CONFIGARGS) $${srcdiroption} \
5426 @stage2_werror_flag@
5427 @endif binutils-bootstrap
5433 .PHONY: all-binutils maybe-all-binutils
5434 maybe-all-binutils:
5435 @if binutils
5436 TARGET-binutils=all
5437 maybe-all-binutils: all-binutils
5438 all-binutils: configure-binutils
5439 @test -f stage_last && exit 0; \
5440 r=`${PWD_COMMAND}`; export r; \
5441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5442 $(HOST_EXPORTS) \
5443 (cd $(HOST_SUBDIR)/binutils && \
5444 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5445 @endif binutils
5449 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5450 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5451 maybe-all-stage1-binutils:
5452 maybe-clean-stage1-binutils:
5453 @if binutils-bootstrap
5454 maybe-all-stage1-binutils: all-stage1-binutils
5455 all-stage1: all-stage1-binutils
5456 TARGET-stage1-binutils = $(TARGET-binutils)
5457 all-stage1-binutils: configure-stage1-binutils
5458 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5459 @r=`${PWD_COMMAND}`; export r; \
5460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5461 $(HOST_EXPORTS) \
5462 cd $(HOST_SUBDIR)/binutils && \
5463 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5464 $(TARGET-stage1-binutils)
5466 maybe-clean-stage1-binutils: clean-stage1-binutils
5467 clean-stage1: clean-stage1-binutils
5468 clean-stage1-binutils:
5469 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5470 || exit 0 ; \
5471 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5472 cd $(HOST_SUBDIR)/binutils && \
5473 $(MAKE) $(FLAGS_TO_PASS) \
5474 CFLAGS="$(STAGE1_CFLAGS)" clean
5475 @endif binutils-bootstrap
5478 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5479 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5480 maybe-all-stage2-binutils:
5481 maybe-clean-stage2-binutils:
5482 @if binutils-bootstrap
5483 maybe-all-stage2-binutils: all-stage2-binutils
5484 all-stage2: all-stage2-binutils
5485 TARGET-stage2-binutils = $(TARGET-binutils)
5486 all-stage2-binutils: configure-stage2-binutils
5487 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5488 @r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490 $(HOST_EXPORTS) \
5491 $(POSTSTAGE1_HOST_EXPORTS) \
5492 cd $(HOST_SUBDIR)/binutils && \
5493 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5494 $(TARGET-stage2-binutils)
5496 maybe-clean-stage2-binutils: clean-stage2-binutils
5497 clean-stage2: clean-stage2-binutils
5498 clean-stage2-binutils:
5499 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5500 || exit 0 ; \
5501 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5502 cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(FLAGS_TO_PASS) \
5504 $(POSTSTAGE1_FLAGS_TO_PASS) \
5505 clean
5506 @endif binutils-bootstrap
5509 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5510 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5511 maybe-all-stage3-binutils:
5512 maybe-clean-stage3-binutils:
5513 @if binutils-bootstrap
5514 maybe-all-stage3-binutils: all-stage3-binutils
5515 all-stage3: all-stage3-binutils
5516 TARGET-stage3-binutils = $(TARGET-binutils)
5517 all-stage3-binutils: configure-stage3-binutils
5518 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5519 @r=`${PWD_COMMAND}`; export r; \
5520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 $(HOST_EXPORTS) \
5522 $(POSTSTAGE1_HOST_EXPORTS) \
5523 cd $(HOST_SUBDIR)/binutils && \
5524 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5525 $(TARGET-stage3-binutils)
5527 maybe-clean-stage3-binutils: clean-stage3-binutils
5528 clean-stage3: clean-stage3-binutils
5529 clean-stage3-binutils:
5530 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5531 || exit 0 ; \
5532 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5533 cd $(HOST_SUBDIR)/binutils && \
5534 $(MAKE) $(FLAGS_TO_PASS) \
5535 $(POSTSTAGE1_FLAGS_TO_PASS) \
5536 clean
5537 @endif binutils-bootstrap
5540 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5541 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5542 maybe-all-stage4-binutils:
5543 maybe-clean-stage4-binutils:
5544 @if binutils-bootstrap
5545 maybe-all-stage4-binutils: all-stage4-binutils
5546 all-stage4: all-stage4-binutils
5547 TARGET-stage4-binutils = $(TARGET-binutils)
5548 all-stage4-binutils: configure-stage4-binutils
5549 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5550 @r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 $(HOST_EXPORTS) \
5553 $(POSTSTAGE1_HOST_EXPORTS) \
5554 cd $(HOST_SUBDIR)/binutils && \
5555 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5556 $(TARGET-stage4-binutils)
5558 maybe-clean-stage4-binutils: clean-stage4-binutils
5559 clean-stage4: clean-stage4-binutils
5560 clean-stage4-binutils:
5561 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5562 || exit 0 ; \
5563 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5564 cd $(HOST_SUBDIR)/binutils && \
5565 $(MAKE) $(FLAGS_TO_PASS) \
5566 $(POSTSTAGE1_FLAGS_TO_PASS) \
5567 clean
5568 @endif binutils-bootstrap
5571 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5572 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5573 maybe-all-stageprofile-binutils:
5574 maybe-clean-stageprofile-binutils:
5575 @if binutils-bootstrap
5576 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5577 all-stageprofile: all-stageprofile-binutils
5578 TARGET-stageprofile-binutils = $(TARGET-binutils)
5579 all-stageprofile-binutils: configure-stageprofile-binutils
5580 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5581 @r=`${PWD_COMMAND}`; export r; \
5582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5583 $(HOST_EXPORTS) \
5584 $(POSTSTAGE1_HOST_EXPORTS) \
5585 cd $(HOST_SUBDIR)/binutils && \
5586 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5587 $(TARGET-stageprofile-binutils)
5589 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5590 clean-stageprofile: clean-stageprofile-binutils
5591 clean-stageprofile-binutils:
5592 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5593 || exit 0 ; \
5594 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5595 cd $(HOST_SUBDIR)/binutils && \
5596 $(MAKE) $(FLAGS_TO_PASS) \
5597 $(POSTSTAGE1_FLAGS_TO_PASS) \
5598 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5599 @endif binutils-bootstrap
5602 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5603 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5604 maybe-all-stagefeedback-binutils:
5605 maybe-clean-stagefeedback-binutils:
5606 @if binutils-bootstrap
5607 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5608 all-stagefeedback: all-stagefeedback-binutils
5609 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5610 all-stagefeedback-binutils: configure-stagefeedback-binutils
5611 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5612 @r=`${PWD_COMMAND}`; export r; \
5613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5614 $(HOST_EXPORTS) \
5615 $(POSTSTAGE1_HOST_EXPORTS) \
5616 cd $(HOST_SUBDIR)/binutils && \
5617 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5618 $(TARGET-stagefeedback-binutils)
5620 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5621 clean-stagefeedback: clean-stagefeedback-binutils
5622 clean-stagefeedback-binutils:
5623 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5624 || exit 0 ; \
5625 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5626 cd $(HOST_SUBDIR)/binutils && \
5627 $(MAKE) $(FLAGS_TO_PASS) \
5628 $(POSTSTAGE1_FLAGS_TO_PASS) \
5629 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5630 @endif binutils-bootstrap
5636 .PHONY: check-binutils maybe-check-binutils
5637 maybe-check-binutils:
5638 @if binutils
5639 maybe-check-binutils: check-binutils
5641 check-binutils:
5642 @: $(MAKE); $(unstage)
5643 @r=`${PWD_COMMAND}`; export r; \
5644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5645 $(HOST_EXPORTS) \
5646 (cd $(HOST_SUBDIR)/binutils && \
5647 $(MAKE) $(FLAGS_TO_PASS) check)
5649 @endif binutils
5651 .PHONY: install-binutils maybe-install-binutils
5652 maybe-install-binutils:
5653 @if binutils
5654 maybe-install-binutils: install-binutils
5656 install-binutils: installdirs
5657 @: $(MAKE); $(unstage)
5658 @r=`${PWD_COMMAND}`; export r; \
5659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5660 $(HOST_EXPORTS) \
5661 (cd $(HOST_SUBDIR)/binutils && \
5662 $(MAKE) $(FLAGS_TO_PASS) install)
5664 @endif binutils
5666 # Other targets (info, dvi, etc.)
5668 .PHONY: maybe-info-binutils info-binutils
5669 maybe-info-binutils:
5670 @if binutils
5671 maybe-info-binutils: info-binutils
5673 info-binutils: \
5674 configure-binutils
5675 @[ -f ./binutils/Makefile ] || exit 0; \
5676 r=`${PWD_COMMAND}`; export r; \
5677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 $(HOST_EXPORTS) \
5679 for flag in $(EXTRA_HOST_FLAGS) ; do \
5680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5681 done; \
5682 echo "Doing info in binutils" ; \
5683 (cd $(HOST_SUBDIR)/binutils && \
5684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5686 "RANLIB=$${RANLIB}" \
5687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5688 info) \
5689 || exit 1
5691 @endif binutils
5693 .PHONY: maybe-dvi-binutils dvi-binutils
5694 maybe-dvi-binutils:
5695 @if binutils
5696 maybe-dvi-binutils: dvi-binutils
5698 dvi-binutils: \
5699 configure-binutils
5700 @[ -f ./binutils/Makefile ] || exit 0; \
5701 r=`${PWD_COMMAND}`; export r; \
5702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 $(HOST_EXPORTS) \
5704 for flag in $(EXTRA_HOST_FLAGS) ; do \
5705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 done; \
5707 echo "Doing dvi in binutils" ; \
5708 (cd $(HOST_SUBDIR)/binutils && \
5709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5711 "RANLIB=$${RANLIB}" \
5712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5713 dvi) \
5714 || exit 1
5716 @endif binutils
5718 .PHONY: maybe-html-binutils html-binutils
5719 maybe-html-binutils:
5720 @if binutils
5721 maybe-html-binutils: html-binutils
5723 html-binutils: \
5724 configure-binutils
5725 @[ -f ./binutils/Makefile ] || exit 0; \
5726 r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 $(HOST_EXPORTS) \
5729 for flag in $(EXTRA_HOST_FLAGS) ; do \
5730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5731 done; \
5732 echo "Doing html in binutils" ; \
5733 (cd $(HOST_SUBDIR)/binutils && \
5734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5736 "RANLIB=$${RANLIB}" \
5737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5738 html) \
5739 || exit 1
5741 @endif binutils
5743 .PHONY: maybe-TAGS-binutils TAGS-binutils
5744 maybe-TAGS-binutils:
5745 @if binutils
5746 maybe-TAGS-binutils: TAGS-binutils
5748 TAGS-binutils: \
5749 configure-binutils
5750 @[ -f ./binutils/Makefile ] || exit 0; \
5751 r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753 $(HOST_EXPORTS) \
5754 for flag in $(EXTRA_HOST_FLAGS) ; do \
5755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5756 done; \
5757 echo "Doing TAGS in binutils" ; \
5758 (cd $(HOST_SUBDIR)/binutils && \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761 "RANLIB=$${RANLIB}" \
5762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5763 TAGS) \
5764 || exit 1
5766 @endif binutils
5768 .PHONY: maybe-install-info-binutils install-info-binutils
5769 maybe-install-info-binutils:
5770 @if binutils
5771 maybe-install-info-binutils: install-info-binutils
5773 install-info-binutils: \
5774 configure-binutils \
5775 info-binutils
5776 @[ -f ./binutils/Makefile ] || exit 0; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 $(HOST_EXPORTS) \
5780 for flag in $(EXTRA_HOST_FLAGS) ; do \
5781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 done; \
5783 echo "Doing install-info in binutils" ; \
5784 (cd $(HOST_SUBDIR)/binutils && \
5785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5787 "RANLIB=$${RANLIB}" \
5788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5789 install-info) \
5790 || exit 1
5792 @endif binutils
5794 .PHONY: maybe-installcheck-binutils installcheck-binutils
5795 maybe-installcheck-binutils:
5796 @if binutils
5797 maybe-installcheck-binutils: installcheck-binutils
5799 installcheck-binutils: \
5800 configure-binutils
5801 @[ -f ./binutils/Makefile ] || exit 0; \
5802 r=`${PWD_COMMAND}`; export r; \
5803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5804 $(HOST_EXPORTS) \
5805 for flag in $(EXTRA_HOST_FLAGS) ; do \
5806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5807 done; \
5808 echo "Doing installcheck in binutils" ; \
5809 (cd $(HOST_SUBDIR)/binutils && \
5810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5812 "RANLIB=$${RANLIB}" \
5813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5814 installcheck) \
5815 || exit 1
5817 @endif binutils
5819 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5820 maybe-mostlyclean-binutils:
5821 @if binutils
5822 maybe-mostlyclean-binutils: mostlyclean-binutils
5824 mostlyclean-binutils:
5825 @[ -f ./binutils/Makefile ] || exit 0; \
5826 r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 $(HOST_EXPORTS) \
5829 for flag in $(EXTRA_HOST_FLAGS) ; do \
5830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5831 done; \
5832 echo "Doing mostlyclean in binutils" ; \
5833 (cd $(HOST_SUBDIR)/binutils && \
5834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5836 "RANLIB=$${RANLIB}" \
5837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5838 mostlyclean) \
5839 || exit 1
5841 @endif binutils
5843 .PHONY: maybe-clean-binutils clean-binutils
5844 maybe-clean-binutils:
5845 @if binutils
5846 maybe-clean-binutils: clean-binutils
5848 clean-binutils:
5849 @[ -f ./binutils/Makefile ] || exit 0; \
5850 r=`${PWD_COMMAND}`; export r; \
5851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5852 $(HOST_EXPORTS) \
5853 for flag in $(EXTRA_HOST_FLAGS) ; do \
5854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5855 done; \
5856 echo "Doing clean in binutils" ; \
5857 (cd $(HOST_SUBDIR)/binutils && \
5858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5860 "RANLIB=$${RANLIB}" \
5861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5862 clean) \
5863 || exit 1
5865 @endif binutils
5867 .PHONY: maybe-distclean-binutils distclean-binutils
5868 maybe-distclean-binutils:
5869 @if binutils
5870 maybe-distclean-binutils: distclean-binutils
5872 distclean-binutils:
5873 @[ -f ./binutils/Makefile ] || exit 0; \
5874 r=`${PWD_COMMAND}`; export r; \
5875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5876 $(HOST_EXPORTS) \
5877 for flag in $(EXTRA_HOST_FLAGS) ; do \
5878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5879 done; \
5880 echo "Doing distclean in binutils" ; \
5881 (cd $(HOST_SUBDIR)/binutils && \
5882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5884 "RANLIB=$${RANLIB}" \
5885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5886 distclean) \
5887 || exit 1
5889 @endif binutils
5891 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5892 maybe-maintainer-clean-binutils:
5893 @if binutils
5894 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5896 maintainer-clean-binutils:
5897 @[ -f ./binutils/Makefile ] || exit 0; \
5898 r=`${PWD_COMMAND}`; export r; \
5899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5900 $(HOST_EXPORTS) \
5901 for flag in $(EXTRA_HOST_FLAGS) ; do \
5902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5903 done; \
5904 echo "Doing maintainer-clean in binutils" ; \
5905 (cd $(HOST_SUBDIR)/binutils && \
5906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5908 "RANLIB=$${RANLIB}" \
5909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5910 maintainer-clean) \
5911 || exit 1
5913 @endif binutils
5917 .PHONY: configure-bison maybe-configure-bison
5918 maybe-configure-bison:
5919 @if bison
5920 maybe-configure-bison: configure-bison
5921 configure-bison:
5922 @: $(MAKE); $(unstage)
5923 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5925 r=`${PWD_COMMAND}`; export r; \
5926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5927 $(HOST_EXPORTS) \
5928 echo Configuring in $(HOST_SUBDIR)/bison; \
5929 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5930 case $(srcdir) in \
5931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5932 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5934 esac; \
5935 srcdiroption="--srcdir=$${topdir}/bison"; \
5936 libsrcdir="$$s/bison"; \
5937 $(SHELL) $${libsrcdir}/configure \
5938 $(HOST_CONFIGARGS) $${srcdiroption} \
5939 || exit 1
5940 @endif bison
5946 .PHONY: all-bison maybe-all-bison
5947 maybe-all-bison:
5948 @if bison
5949 TARGET-bison=all
5950 maybe-all-bison: all-bison
5951 all-bison: configure-bison
5952 @: $(MAKE); $(unstage)
5953 @r=`${PWD_COMMAND}`; export r; \
5954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5955 $(HOST_EXPORTS) \
5956 (cd $(HOST_SUBDIR)/bison && \
5957 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5958 @endif bison
5963 .PHONY: check-bison maybe-check-bison
5964 maybe-check-bison:
5965 @if bison
5966 maybe-check-bison: check-bison
5968 # This module is only tested in a native toolchain.
5969 check-bison:
5970 @: $(MAKE); $(unstage)
5971 @if [ '$(host)' = '$(target)' ] ; then \
5972 r=`${PWD_COMMAND}`; export r; \
5973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5974 $(HOST_EXPORTS) \
5975 (cd $(HOST_SUBDIR)/bison && \
5976 $(MAKE) $(FLAGS_TO_PASS) check); \
5979 @endif bison
5981 .PHONY: install-bison maybe-install-bison
5982 maybe-install-bison:
5983 @if bison
5984 maybe-install-bison: install-bison
5986 install-bison: installdirs
5987 @: $(MAKE); $(unstage)
5988 @r=`${PWD_COMMAND}`; export r; \
5989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5990 $(HOST_EXPORTS) \
5991 (cd $(HOST_SUBDIR)/bison && \
5992 $(MAKE) $(FLAGS_TO_PASS) install)
5994 @endif bison
5996 # Other targets (info, dvi, etc.)
5998 .PHONY: maybe-info-bison info-bison
5999 maybe-info-bison:
6000 @if bison
6001 maybe-info-bison: info-bison
6003 info-bison: \
6004 configure-bison
6005 @: $(MAKE); $(unstage)
6006 @[ -f ./bison/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(HOST_EXPORTS) \
6010 for flag in $(EXTRA_HOST_FLAGS) ; do \
6011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6012 done; \
6013 echo "Doing info in bison" ; \
6014 (cd $(HOST_SUBDIR)/bison && \
6015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6017 "RANLIB=$${RANLIB}" \
6018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6019 info) \
6020 || exit 1
6022 @endif bison
6024 .PHONY: maybe-dvi-bison dvi-bison
6025 maybe-dvi-bison:
6026 @if bison
6027 maybe-dvi-bison: dvi-bison
6029 dvi-bison: \
6030 configure-bison
6031 @: $(MAKE); $(unstage)
6032 @[ -f ./bison/Makefile ] || exit 0; \
6033 r=`${PWD_COMMAND}`; export r; \
6034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6035 $(HOST_EXPORTS) \
6036 for flag in $(EXTRA_HOST_FLAGS) ; do \
6037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6038 done; \
6039 echo "Doing dvi in bison" ; \
6040 (cd $(HOST_SUBDIR)/bison && \
6041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6043 "RANLIB=$${RANLIB}" \
6044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6045 dvi) \
6046 || exit 1
6048 @endif bison
6050 .PHONY: maybe-html-bison html-bison
6051 maybe-html-bison:
6052 @if bison
6053 maybe-html-bison: html-bison
6055 html-bison: \
6056 configure-bison
6057 @: $(MAKE); $(unstage)
6058 @[ -f ./bison/Makefile ] || exit 0; \
6059 r=`${PWD_COMMAND}`; export r; \
6060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6061 $(HOST_EXPORTS) \
6062 for flag in $(EXTRA_HOST_FLAGS) ; do \
6063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6064 done; \
6065 echo "Doing html in bison" ; \
6066 (cd $(HOST_SUBDIR)/bison && \
6067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6069 "RANLIB=$${RANLIB}" \
6070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6071 html) \
6072 || exit 1
6074 @endif bison
6076 .PHONY: maybe-TAGS-bison TAGS-bison
6077 maybe-TAGS-bison:
6078 @if bison
6079 maybe-TAGS-bison: TAGS-bison
6081 TAGS-bison: \
6082 configure-bison
6083 @: $(MAKE); $(unstage)
6084 @[ -f ./bison/Makefile ] || exit 0; \
6085 r=`${PWD_COMMAND}`; export r; \
6086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6087 $(HOST_EXPORTS) \
6088 for flag in $(EXTRA_HOST_FLAGS) ; do \
6089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6090 done; \
6091 echo "Doing TAGS in bison" ; \
6092 (cd $(HOST_SUBDIR)/bison && \
6093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6095 "RANLIB=$${RANLIB}" \
6096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6097 TAGS) \
6098 || exit 1
6100 @endif bison
6102 .PHONY: maybe-install-info-bison install-info-bison
6103 maybe-install-info-bison:
6104 @if bison
6105 maybe-install-info-bison: install-info-bison
6107 install-info-bison: \
6108 configure-bison \
6109 info-bison
6110 @: $(MAKE); $(unstage)
6111 @[ -f ./bison/Makefile ] || exit 0; \
6112 r=`${PWD_COMMAND}`; export r; \
6113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6114 $(HOST_EXPORTS) \
6115 for flag in $(EXTRA_HOST_FLAGS) ; do \
6116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6117 done; \
6118 echo "Doing install-info in bison" ; \
6119 (cd $(HOST_SUBDIR)/bison && \
6120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6122 "RANLIB=$${RANLIB}" \
6123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6124 install-info) \
6125 || exit 1
6127 @endif bison
6129 .PHONY: maybe-installcheck-bison installcheck-bison
6130 maybe-installcheck-bison:
6131 @if bison
6132 maybe-installcheck-bison: installcheck-bison
6134 installcheck-bison: \
6135 configure-bison
6136 @: $(MAKE); $(unstage)
6137 @[ -f ./bison/Makefile ] || exit 0; \
6138 r=`${PWD_COMMAND}`; export r; \
6139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6140 $(HOST_EXPORTS) \
6141 for flag in $(EXTRA_HOST_FLAGS) ; do \
6142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6143 done; \
6144 echo "Doing installcheck in bison" ; \
6145 (cd $(HOST_SUBDIR)/bison && \
6146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6148 "RANLIB=$${RANLIB}" \
6149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6150 installcheck) \
6151 || exit 1
6153 @endif bison
6155 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6156 maybe-mostlyclean-bison:
6157 @if bison
6158 maybe-mostlyclean-bison: mostlyclean-bison
6160 mostlyclean-bison:
6161 @: $(MAKE); $(unstage)
6162 @[ -f ./bison/Makefile ] || exit 0; \
6163 r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6165 $(HOST_EXPORTS) \
6166 for flag in $(EXTRA_HOST_FLAGS) ; do \
6167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6168 done; \
6169 echo "Doing mostlyclean in bison" ; \
6170 (cd $(HOST_SUBDIR)/bison && \
6171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6173 "RANLIB=$${RANLIB}" \
6174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6175 mostlyclean) \
6176 || exit 1
6178 @endif bison
6180 .PHONY: maybe-clean-bison clean-bison
6181 maybe-clean-bison:
6182 @if bison
6183 maybe-clean-bison: clean-bison
6185 clean-bison:
6186 @: $(MAKE); $(unstage)
6187 @[ -f ./bison/Makefile ] || exit 0; \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(HOST_EXPORTS) \
6191 for flag in $(EXTRA_HOST_FLAGS) ; do \
6192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6193 done; \
6194 echo "Doing clean in bison" ; \
6195 (cd $(HOST_SUBDIR)/bison && \
6196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6198 "RANLIB=$${RANLIB}" \
6199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6200 clean) \
6201 || exit 1
6203 @endif bison
6205 .PHONY: maybe-distclean-bison distclean-bison
6206 maybe-distclean-bison:
6207 @if bison
6208 maybe-distclean-bison: distclean-bison
6210 distclean-bison:
6211 @: $(MAKE); $(unstage)
6212 @[ -f ./bison/Makefile ] || exit 0; \
6213 r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6215 $(HOST_EXPORTS) \
6216 for flag in $(EXTRA_HOST_FLAGS) ; do \
6217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6218 done; \
6219 echo "Doing distclean in bison" ; \
6220 (cd $(HOST_SUBDIR)/bison && \
6221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6223 "RANLIB=$${RANLIB}" \
6224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6225 distclean) \
6226 || exit 1
6228 @endif bison
6230 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6231 maybe-maintainer-clean-bison:
6232 @if bison
6233 maybe-maintainer-clean-bison: maintainer-clean-bison
6235 maintainer-clean-bison:
6236 @: $(MAKE); $(unstage)
6237 @[ -f ./bison/Makefile ] || exit 0; \
6238 r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(HOST_EXPORTS) \
6241 for flag in $(EXTRA_HOST_FLAGS) ; do \
6242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6243 done; \
6244 echo "Doing maintainer-clean in bison" ; \
6245 (cd $(HOST_SUBDIR)/bison && \
6246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6248 "RANLIB=$${RANLIB}" \
6249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6250 maintainer-clean) \
6251 || exit 1
6253 @endif bison
6257 .PHONY: configure-byacc maybe-configure-byacc
6258 maybe-configure-byacc:
6259 @if byacc
6260 maybe-configure-byacc: configure-byacc
6261 configure-byacc:
6262 @: $(MAKE); $(unstage)
6263 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6265 r=`${PWD_COMMAND}`; export r; \
6266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6267 $(HOST_EXPORTS) \
6268 echo Configuring in $(HOST_SUBDIR)/byacc; \
6269 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6270 case $(srcdir) in \
6271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6272 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6274 esac; \
6275 srcdiroption="--srcdir=$${topdir}/byacc"; \
6276 libsrcdir="$$s/byacc"; \
6277 $(SHELL) $${libsrcdir}/configure \
6278 $(HOST_CONFIGARGS) $${srcdiroption} \
6279 || exit 1
6280 @endif byacc
6286 .PHONY: all-byacc maybe-all-byacc
6287 maybe-all-byacc:
6288 @if byacc
6289 TARGET-byacc=all
6290 maybe-all-byacc: all-byacc
6291 all-byacc: configure-byacc
6292 @: $(MAKE); $(unstage)
6293 @r=`${PWD_COMMAND}`; export r; \
6294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6295 $(HOST_EXPORTS) \
6296 (cd $(HOST_SUBDIR)/byacc && \
6297 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6298 @endif byacc
6303 .PHONY: check-byacc maybe-check-byacc
6304 maybe-check-byacc:
6305 @if byacc
6306 maybe-check-byacc: check-byacc
6308 # This module is only tested in a native toolchain.
6309 check-byacc:
6310 @: $(MAKE); $(unstage)
6311 @if [ '$(host)' = '$(target)' ] ; then \
6312 r=`${PWD_COMMAND}`; export r; \
6313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6314 $(HOST_EXPORTS) \
6315 (cd $(HOST_SUBDIR)/byacc && \
6316 $(MAKE) $(FLAGS_TO_PASS) check); \
6319 @endif byacc
6321 .PHONY: install-byacc maybe-install-byacc
6322 maybe-install-byacc:
6323 @if byacc
6324 maybe-install-byacc: install-byacc
6326 install-byacc: installdirs
6327 @: $(MAKE); $(unstage)
6328 @r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(HOST_EXPORTS) \
6331 (cd $(HOST_SUBDIR)/byacc && \
6332 $(MAKE) $(FLAGS_TO_PASS) install)
6334 @endif byacc
6336 # Other targets (info, dvi, etc.)
6338 .PHONY: maybe-info-byacc info-byacc
6339 maybe-info-byacc:
6340 @if byacc
6341 maybe-info-byacc: info-byacc
6343 info-byacc: \
6344 configure-byacc
6345 @: $(MAKE); $(unstage)
6346 @[ -f ./byacc/Makefile ] || exit 0; \
6347 r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6349 $(HOST_EXPORTS) \
6350 for flag in $(EXTRA_HOST_FLAGS) ; do \
6351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6352 done; \
6353 echo "Doing info in byacc" ; \
6354 (cd $(HOST_SUBDIR)/byacc && \
6355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6357 "RANLIB=$${RANLIB}" \
6358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6359 info) \
6360 || exit 1
6362 @endif byacc
6364 .PHONY: maybe-dvi-byacc dvi-byacc
6365 maybe-dvi-byacc:
6366 @if byacc
6367 maybe-dvi-byacc: dvi-byacc
6369 dvi-byacc: \
6370 configure-byacc
6371 @: $(MAKE); $(unstage)
6372 @[ -f ./byacc/Makefile ] || exit 0; \
6373 r=`${PWD_COMMAND}`; export r; \
6374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6375 $(HOST_EXPORTS) \
6376 for flag in $(EXTRA_HOST_FLAGS) ; do \
6377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6378 done; \
6379 echo "Doing dvi in byacc" ; \
6380 (cd $(HOST_SUBDIR)/byacc && \
6381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6383 "RANLIB=$${RANLIB}" \
6384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6385 dvi) \
6386 || exit 1
6388 @endif byacc
6390 .PHONY: maybe-html-byacc html-byacc
6391 maybe-html-byacc:
6392 @if byacc
6393 maybe-html-byacc: html-byacc
6395 html-byacc: \
6396 configure-byacc
6397 @: $(MAKE); $(unstage)
6398 @[ -f ./byacc/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(HOST_EXPORTS) \
6402 for flag in $(EXTRA_HOST_FLAGS) ; do \
6403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6404 done; \
6405 echo "Doing html in byacc" ; \
6406 (cd $(HOST_SUBDIR)/byacc && \
6407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6409 "RANLIB=$${RANLIB}" \
6410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6411 html) \
6412 || exit 1
6414 @endif byacc
6416 .PHONY: maybe-TAGS-byacc TAGS-byacc
6417 maybe-TAGS-byacc:
6418 @if byacc
6419 maybe-TAGS-byacc: TAGS-byacc
6421 TAGS-byacc: \
6422 configure-byacc
6423 @: $(MAKE); $(unstage)
6424 @[ -f ./byacc/Makefile ] || exit 0; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(HOST_EXPORTS) \
6428 for flag in $(EXTRA_HOST_FLAGS) ; do \
6429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6430 done; \
6431 echo "Doing TAGS in byacc" ; \
6432 (cd $(HOST_SUBDIR)/byacc && \
6433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435 "RANLIB=$${RANLIB}" \
6436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437 TAGS) \
6438 || exit 1
6440 @endif byacc
6442 .PHONY: maybe-install-info-byacc install-info-byacc
6443 maybe-install-info-byacc:
6444 @if byacc
6445 maybe-install-info-byacc: install-info-byacc
6447 install-info-byacc: \
6448 configure-byacc \
6449 info-byacc
6450 @: $(MAKE); $(unstage)
6451 @[ -f ./byacc/Makefile ] || exit 0; \
6452 r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6454 $(HOST_EXPORTS) \
6455 for flag in $(EXTRA_HOST_FLAGS) ; do \
6456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6457 done; \
6458 echo "Doing install-info in byacc" ; \
6459 (cd $(HOST_SUBDIR)/byacc && \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6462 "RANLIB=$${RANLIB}" \
6463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6464 install-info) \
6465 || exit 1
6467 @endif byacc
6469 .PHONY: maybe-installcheck-byacc installcheck-byacc
6470 maybe-installcheck-byacc:
6471 @if byacc
6472 maybe-installcheck-byacc: installcheck-byacc
6474 installcheck-byacc: \
6475 configure-byacc
6476 @: $(MAKE); $(unstage)
6477 @[ -f ./byacc/Makefile ] || exit 0; \
6478 r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 $(HOST_EXPORTS) \
6481 for flag in $(EXTRA_HOST_FLAGS) ; do \
6482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6483 done; \
6484 echo "Doing installcheck in byacc" ; \
6485 (cd $(HOST_SUBDIR)/byacc && \
6486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6488 "RANLIB=$${RANLIB}" \
6489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6490 installcheck) \
6491 || exit 1
6493 @endif byacc
6495 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6496 maybe-mostlyclean-byacc:
6497 @if byacc
6498 maybe-mostlyclean-byacc: mostlyclean-byacc
6500 mostlyclean-byacc:
6501 @: $(MAKE); $(unstage)
6502 @[ -f ./byacc/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(HOST_EXPORTS) \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6508 done; \
6509 echo "Doing mostlyclean in byacc" ; \
6510 (cd $(HOST_SUBDIR)/byacc && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6515 mostlyclean) \
6516 || exit 1
6518 @endif byacc
6520 .PHONY: maybe-clean-byacc clean-byacc
6521 maybe-clean-byacc:
6522 @if byacc
6523 maybe-clean-byacc: clean-byacc
6525 clean-byacc:
6526 @: $(MAKE); $(unstage)
6527 @[ -f ./byacc/Makefile ] || exit 0; \
6528 r=`${PWD_COMMAND}`; export r; \
6529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6530 $(HOST_EXPORTS) \
6531 for flag in $(EXTRA_HOST_FLAGS) ; do \
6532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6533 done; \
6534 echo "Doing clean in byacc" ; \
6535 (cd $(HOST_SUBDIR)/byacc && \
6536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6538 "RANLIB=$${RANLIB}" \
6539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6540 clean) \
6541 || exit 1
6543 @endif byacc
6545 .PHONY: maybe-distclean-byacc distclean-byacc
6546 maybe-distclean-byacc:
6547 @if byacc
6548 maybe-distclean-byacc: distclean-byacc
6550 distclean-byacc:
6551 @: $(MAKE); $(unstage)
6552 @[ -f ./byacc/Makefile ] || exit 0; \
6553 r=`${PWD_COMMAND}`; export r; \
6554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6555 $(HOST_EXPORTS) \
6556 for flag in $(EXTRA_HOST_FLAGS) ; do \
6557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6558 done; \
6559 echo "Doing distclean in byacc" ; \
6560 (cd $(HOST_SUBDIR)/byacc && \
6561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6563 "RANLIB=$${RANLIB}" \
6564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6565 distclean) \
6566 || exit 1
6568 @endif byacc
6570 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6571 maybe-maintainer-clean-byacc:
6572 @if byacc
6573 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6575 maintainer-clean-byacc:
6576 @: $(MAKE); $(unstage)
6577 @[ -f ./byacc/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(HOST_EXPORTS) \
6581 for flag in $(EXTRA_HOST_FLAGS) ; do \
6582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6583 done; \
6584 echo "Doing maintainer-clean in byacc" ; \
6585 (cd $(HOST_SUBDIR)/byacc && \
6586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6588 "RANLIB=$${RANLIB}" \
6589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6590 maintainer-clean) \
6591 || exit 1
6593 @endif byacc
6597 .PHONY: configure-bzip2 maybe-configure-bzip2
6598 maybe-configure-bzip2:
6599 @if bzip2
6600 maybe-configure-bzip2: configure-bzip2
6601 configure-bzip2:
6602 @: $(MAKE); $(unstage)
6603 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 $(HOST_EXPORTS) \
6608 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6609 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6610 case $(srcdir) in \
6611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6612 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6614 esac; \
6615 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6616 libsrcdir="$$s/bzip2"; \
6617 $(SHELL) $${libsrcdir}/configure \
6618 $(HOST_CONFIGARGS) $${srcdiroption} \
6619 || exit 1
6620 @endif bzip2
6626 .PHONY: all-bzip2 maybe-all-bzip2
6627 maybe-all-bzip2:
6628 @if bzip2
6629 TARGET-bzip2=all
6630 maybe-all-bzip2: all-bzip2
6631 all-bzip2: configure-bzip2
6632 @: $(MAKE); $(unstage)
6633 @r=`${PWD_COMMAND}`; export r; \
6634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 $(HOST_EXPORTS) \
6636 (cd $(HOST_SUBDIR)/bzip2 && \
6637 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6638 @endif bzip2
6643 .PHONY: check-bzip2 maybe-check-bzip2
6644 maybe-check-bzip2:
6645 @if bzip2
6646 maybe-check-bzip2: check-bzip2
6648 check-bzip2:
6649 @: $(MAKE); $(unstage)
6650 @r=`${PWD_COMMAND}`; export r; \
6651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6652 $(HOST_EXPORTS) \
6653 (cd $(HOST_SUBDIR)/bzip2 && \
6654 $(MAKE) $(FLAGS_TO_PASS) check)
6656 @endif bzip2
6658 .PHONY: install-bzip2 maybe-install-bzip2
6659 maybe-install-bzip2:
6660 @if bzip2
6661 maybe-install-bzip2: install-bzip2
6663 install-bzip2: installdirs
6664 @: $(MAKE); $(unstage)
6665 @r=`${PWD_COMMAND}`; export r; \
6666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6667 $(HOST_EXPORTS) \
6668 (cd $(HOST_SUBDIR)/bzip2 && \
6669 $(MAKE) $(FLAGS_TO_PASS) install)
6671 @endif bzip2
6673 # Other targets (info, dvi, etc.)
6675 .PHONY: maybe-info-bzip2 info-bzip2
6676 maybe-info-bzip2:
6677 @if bzip2
6678 maybe-info-bzip2: info-bzip2
6680 info-bzip2: \
6681 configure-bzip2
6682 @: $(MAKE); $(unstage)
6683 @[ -f ./bzip2/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing info in bzip2" ; \
6691 (cd $(HOST_SUBDIR)/bzip2 && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6696 info) \
6697 || exit 1
6699 @endif bzip2
6701 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6702 maybe-dvi-bzip2:
6703 @if bzip2
6704 maybe-dvi-bzip2: dvi-bzip2
6706 dvi-bzip2: \
6707 configure-bzip2
6708 @: $(MAKE); $(unstage)
6709 @[ -f ./bzip2/Makefile ] || exit 0; \
6710 r=`${PWD_COMMAND}`; export r; \
6711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 $(HOST_EXPORTS) \
6713 for flag in $(EXTRA_HOST_FLAGS) ; do \
6714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6715 done; \
6716 echo "Doing dvi in bzip2" ; \
6717 (cd $(HOST_SUBDIR)/bzip2 && \
6718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6720 "RANLIB=$${RANLIB}" \
6721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6722 dvi) \
6723 || exit 1
6725 @endif bzip2
6727 .PHONY: maybe-html-bzip2 html-bzip2
6728 maybe-html-bzip2:
6729 @if bzip2
6730 maybe-html-bzip2: html-bzip2
6732 html-bzip2: \
6733 configure-bzip2
6734 @: $(MAKE); $(unstage)
6735 @[ -f ./bzip2/Makefile ] || exit 0; \
6736 r=`${PWD_COMMAND}`; export r; \
6737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6738 $(HOST_EXPORTS) \
6739 for flag in $(EXTRA_HOST_FLAGS) ; do \
6740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6741 done; \
6742 echo "Doing html in bzip2" ; \
6743 (cd $(HOST_SUBDIR)/bzip2 && \
6744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6746 "RANLIB=$${RANLIB}" \
6747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6748 html) \
6749 || exit 1
6751 @endif bzip2
6753 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6754 maybe-TAGS-bzip2:
6755 @if bzip2
6756 maybe-TAGS-bzip2: TAGS-bzip2
6758 TAGS-bzip2: \
6759 configure-bzip2
6760 @: $(MAKE); $(unstage)
6761 @[ -f ./bzip2/Makefile ] || exit 0; \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 for flag in $(EXTRA_HOST_FLAGS) ; do \
6766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6767 done; \
6768 echo "Doing TAGS in bzip2" ; \
6769 (cd $(HOST_SUBDIR)/bzip2 && \
6770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6772 "RANLIB=$${RANLIB}" \
6773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6774 TAGS) \
6775 || exit 1
6777 @endif bzip2
6779 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6780 maybe-install-info-bzip2:
6781 @if bzip2
6782 maybe-install-info-bzip2: install-info-bzip2
6784 install-info-bzip2: \
6785 configure-bzip2 \
6786 info-bzip2
6787 @: $(MAKE); $(unstage)
6788 @[ -f ./bzip2/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing install-info in bzip2" ; \
6796 (cd $(HOST_SUBDIR)/bzip2 && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6801 install-info) \
6802 || exit 1
6804 @endif bzip2
6806 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6807 maybe-installcheck-bzip2:
6808 @if bzip2
6809 maybe-installcheck-bzip2: installcheck-bzip2
6811 installcheck-bzip2: \
6812 configure-bzip2
6813 @: $(MAKE); $(unstage)
6814 @[ -f ./bzip2/Makefile ] || exit 0; \
6815 r=`${PWD_COMMAND}`; export r; \
6816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6817 $(HOST_EXPORTS) \
6818 for flag in $(EXTRA_HOST_FLAGS) ; do \
6819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6820 done; \
6821 echo "Doing installcheck in bzip2" ; \
6822 (cd $(HOST_SUBDIR)/bzip2 && \
6823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6825 "RANLIB=$${RANLIB}" \
6826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6827 installcheck) \
6828 || exit 1
6830 @endif bzip2
6832 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6833 maybe-mostlyclean-bzip2:
6834 @if bzip2
6835 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6837 mostlyclean-bzip2:
6838 @: $(MAKE); $(unstage)
6839 @[ -f ./bzip2/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(HOST_EXPORTS) \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 done; \
6846 echo "Doing mostlyclean in bzip2" ; \
6847 (cd $(HOST_SUBDIR)/bzip2 && \
6848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6850 "RANLIB=$${RANLIB}" \
6851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6852 mostlyclean) \
6853 || exit 1
6855 @endif bzip2
6857 .PHONY: maybe-clean-bzip2 clean-bzip2
6858 maybe-clean-bzip2:
6859 @if bzip2
6860 maybe-clean-bzip2: clean-bzip2
6862 clean-bzip2:
6863 @: $(MAKE); $(unstage)
6864 @[ -f ./bzip2/Makefile ] || exit 0; \
6865 r=`${PWD_COMMAND}`; export r; \
6866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6867 $(HOST_EXPORTS) \
6868 for flag in $(EXTRA_HOST_FLAGS) ; do \
6869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6870 done; \
6871 echo "Doing clean in bzip2" ; \
6872 (cd $(HOST_SUBDIR)/bzip2 && \
6873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6875 "RANLIB=$${RANLIB}" \
6876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6877 clean) \
6878 || exit 1
6880 @endif bzip2
6882 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6883 maybe-distclean-bzip2:
6884 @if bzip2
6885 maybe-distclean-bzip2: distclean-bzip2
6887 distclean-bzip2:
6888 @: $(MAKE); $(unstage)
6889 @[ -f ./bzip2/Makefile ] || exit 0; \
6890 r=`${PWD_COMMAND}`; export r; \
6891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6892 $(HOST_EXPORTS) \
6893 for flag in $(EXTRA_HOST_FLAGS) ; do \
6894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6895 done; \
6896 echo "Doing distclean in bzip2" ; \
6897 (cd $(HOST_SUBDIR)/bzip2 && \
6898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6900 "RANLIB=$${RANLIB}" \
6901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6902 distclean) \
6903 || exit 1
6905 @endif bzip2
6907 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6908 maybe-maintainer-clean-bzip2:
6909 @if bzip2
6910 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6912 maintainer-clean-bzip2:
6913 @: $(MAKE); $(unstage)
6914 @[ -f ./bzip2/Makefile ] || exit 0; \
6915 r=`${PWD_COMMAND}`; export r; \
6916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6917 $(HOST_EXPORTS) \
6918 for flag in $(EXTRA_HOST_FLAGS) ; do \
6919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6920 done; \
6921 echo "Doing maintainer-clean in bzip2" ; \
6922 (cd $(HOST_SUBDIR)/bzip2 && \
6923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6925 "RANLIB=$${RANLIB}" \
6926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6927 maintainer-clean) \
6928 || exit 1
6930 @endif bzip2
6934 .PHONY: configure-dejagnu maybe-configure-dejagnu
6935 maybe-configure-dejagnu:
6936 @if dejagnu
6937 maybe-configure-dejagnu: configure-dejagnu
6938 configure-dejagnu:
6939 @: $(MAKE); $(unstage)
6940 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6942 r=`${PWD_COMMAND}`; export r; \
6943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 $(HOST_EXPORTS) \
6945 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6946 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6947 case $(srcdir) in \
6948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6949 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6951 esac; \
6952 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6953 libsrcdir="$$s/dejagnu"; \
6954 $(SHELL) $${libsrcdir}/configure \
6955 $(HOST_CONFIGARGS) $${srcdiroption} \
6956 || exit 1
6957 @endif dejagnu
6963 .PHONY: all-dejagnu maybe-all-dejagnu
6964 maybe-all-dejagnu:
6965 @if dejagnu
6966 TARGET-dejagnu=all
6967 maybe-all-dejagnu: all-dejagnu
6968 all-dejagnu: configure-dejagnu
6969 @: $(MAKE); $(unstage)
6970 @r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(HOST_EXPORTS) \
6973 (cd $(HOST_SUBDIR)/dejagnu && \
6974 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6975 @endif dejagnu
6980 .PHONY: check-dejagnu maybe-check-dejagnu
6981 maybe-check-dejagnu:
6982 @if dejagnu
6983 maybe-check-dejagnu: check-dejagnu
6985 check-dejagnu:
6986 @: $(MAKE); $(unstage)
6987 @r=`${PWD_COMMAND}`; export r; \
6988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6989 $(HOST_EXPORTS) \
6990 (cd $(HOST_SUBDIR)/dejagnu && \
6991 $(MAKE) $(FLAGS_TO_PASS) check)
6993 @endif dejagnu
6995 .PHONY: install-dejagnu maybe-install-dejagnu
6996 maybe-install-dejagnu:
6997 @if dejagnu
6998 maybe-install-dejagnu: install-dejagnu
7000 install-dejagnu: installdirs
7001 @: $(MAKE); $(unstage)
7002 @r=`${PWD_COMMAND}`; export r; \
7003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7004 $(HOST_EXPORTS) \
7005 (cd $(HOST_SUBDIR)/dejagnu && \
7006 $(MAKE) $(FLAGS_TO_PASS) install)
7008 @endif dejagnu
7010 # Other targets (info, dvi, etc.)
7012 .PHONY: maybe-info-dejagnu info-dejagnu
7013 maybe-info-dejagnu:
7014 @if dejagnu
7015 maybe-info-dejagnu: info-dejagnu
7017 info-dejagnu: \
7018 configure-dejagnu
7019 @: $(MAKE); $(unstage)
7020 @[ -f ./dejagnu/Makefile ] || exit 0; \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing info in dejagnu" ; \
7028 (cd $(HOST_SUBDIR)/dejagnu && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7033 info) \
7034 || exit 1
7036 @endif dejagnu
7038 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7039 maybe-dvi-dejagnu:
7040 @if dejagnu
7041 maybe-dvi-dejagnu: dvi-dejagnu
7043 dvi-dejagnu: \
7044 configure-dejagnu
7045 @: $(MAKE); $(unstage)
7046 @[ -f ./dejagnu/Makefile ] || exit 0; \
7047 r=`${PWD_COMMAND}`; export r; \
7048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049 $(HOST_EXPORTS) \
7050 for flag in $(EXTRA_HOST_FLAGS) ; do \
7051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7052 done; \
7053 echo "Doing dvi in dejagnu" ; \
7054 (cd $(HOST_SUBDIR)/dejagnu && \
7055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7057 "RANLIB=$${RANLIB}" \
7058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7059 dvi) \
7060 || exit 1
7062 @endif dejagnu
7064 .PHONY: maybe-html-dejagnu html-dejagnu
7065 maybe-html-dejagnu:
7066 @if dejagnu
7067 maybe-html-dejagnu: html-dejagnu
7069 html-dejagnu: \
7070 configure-dejagnu
7071 @: $(MAKE); $(unstage)
7072 @[ -f ./dejagnu/Makefile ] || exit 0; \
7073 r=`${PWD_COMMAND}`; export r; \
7074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7075 $(HOST_EXPORTS) \
7076 for flag in $(EXTRA_HOST_FLAGS) ; do \
7077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7078 done; \
7079 echo "Doing html in dejagnu" ; \
7080 (cd $(HOST_SUBDIR)/dejagnu && \
7081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7083 "RANLIB=$${RANLIB}" \
7084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7085 html) \
7086 || exit 1
7088 @endif dejagnu
7090 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7091 maybe-TAGS-dejagnu:
7092 @if dejagnu
7093 maybe-TAGS-dejagnu: TAGS-dejagnu
7095 TAGS-dejagnu: \
7096 configure-dejagnu
7097 @: $(MAKE); $(unstage)
7098 @[ -f ./dejagnu/Makefile ] || exit 0; \
7099 r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 $(HOST_EXPORTS) \
7102 for flag in $(EXTRA_HOST_FLAGS) ; do \
7103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7104 done; \
7105 echo "Doing TAGS in dejagnu" ; \
7106 (cd $(HOST_SUBDIR)/dejagnu && \
7107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7109 "RANLIB=$${RANLIB}" \
7110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7111 TAGS) \
7112 || exit 1
7114 @endif dejagnu
7116 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7117 maybe-install-info-dejagnu:
7118 @if dejagnu
7119 maybe-install-info-dejagnu: install-info-dejagnu
7121 install-info-dejagnu: \
7122 configure-dejagnu \
7123 info-dejagnu
7124 @: $(MAKE); $(unstage)
7125 @[ -f ./dejagnu/Makefile ] || exit 0; \
7126 r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(HOST_EXPORTS) \
7129 for flag in $(EXTRA_HOST_FLAGS) ; do \
7130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7131 done; \
7132 echo "Doing install-info in dejagnu" ; \
7133 (cd $(HOST_SUBDIR)/dejagnu && \
7134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7136 "RANLIB=$${RANLIB}" \
7137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7138 install-info) \
7139 || exit 1
7141 @endif dejagnu
7143 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7144 maybe-installcheck-dejagnu:
7145 @if dejagnu
7146 maybe-installcheck-dejagnu: installcheck-dejagnu
7148 installcheck-dejagnu: \
7149 configure-dejagnu
7150 @: $(MAKE); $(unstage)
7151 @[ -f ./dejagnu/Makefile ] || exit 0; \
7152 r=`${PWD_COMMAND}`; export r; \
7153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7154 $(HOST_EXPORTS) \
7155 for flag in $(EXTRA_HOST_FLAGS) ; do \
7156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7157 done; \
7158 echo "Doing installcheck in dejagnu" ; \
7159 (cd $(HOST_SUBDIR)/dejagnu && \
7160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7162 "RANLIB=$${RANLIB}" \
7163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7164 installcheck) \
7165 || exit 1
7167 @endif dejagnu
7169 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7170 maybe-mostlyclean-dejagnu:
7171 @if dejagnu
7172 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7174 mostlyclean-dejagnu:
7175 @: $(MAKE); $(unstage)
7176 @[ -f ./dejagnu/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7179 $(HOST_EXPORTS) \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7182 done; \
7183 echo "Doing mostlyclean in dejagnu" ; \
7184 (cd $(HOST_SUBDIR)/dejagnu && \
7185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7187 "RANLIB=$${RANLIB}" \
7188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7189 mostlyclean) \
7190 || exit 1
7192 @endif dejagnu
7194 .PHONY: maybe-clean-dejagnu clean-dejagnu
7195 maybe-clean-dejagnu:
7196 @if dejagnu
7197 maybe-clean-dejagnu: clean-dejagnu
7199 clean-dejagnu:
7200 @: $(MAKE); $(unstage)
7201 @[ -f ./dejagnu/Makefile ] || exit 0; \
7202 r=`${PWD_COMMAND}`; export r; \
7203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7204 $(HOST_EXPORTS) \
7205 for flag in $(EXTRA_HOST_FLAGS) ; do \
7206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7207 done; \
7208 echo "Doing clean in dejagnu" ; \
7209 (cd $(HOST_SUBDIR)/dejagnu && \
7210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7212 "RANLIB=$${RANLIB}" \
7213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7214 clean) \
7215 || exit 1
7217 @endif dejagnu
7219 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7220 maybe-distclean-dejagnu:
7221 @if dejagnu
7222 maybe-distclean-dejagnu: distclean-dejagnu
7224 distclean-dejagnu:
7225 @: $(MAKE); $(unstage)
7226 @[ -f ./dejagnu/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(HOST_EXPORTS) \
7230 for flag in $(EXTRA_HOST_FLAGS) ; do \
7231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7232 done; \
7233 echo "Doing distclean in dejagnu" ; \
7234 (cd $(HOST_SUBDIR)/dejagnu && \
7235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7237 "RANLIB=$${RANLIB}" \
7238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7239 distclean) \
7240 || exit 1
7242 @endif dejagnu
7244 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7245 maybe-maintainer-clean-dejagnu:
7246 @if dejagnu
7247 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7249 maintainer-clean-dejagnu:
7250 @: $(MAKE); $(unstage)
7251 @[ -f ./dejagnu/Makefile ] || exit 0; \
7252 r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7254 $(HOST_EXPORTS) \
7255 for flag in $(EXTRA_HOST_FLAGS) ; do \
7256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7257 done; \
7258 echo "Doing maintainer-clean in dejagnu" ; \
7259 (cd $(HOST_SUBDIR)/dejagnu && \
7260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7262 "RANLIB=$${RANLIB}" \
7263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7264 maintainer-clean) \
7265 || exit 1
7267 @endif dejagnu
7271 .PHONY: configure-diff maybe-configure-diff
7272 maybe-configure-diff:
7273 @if diff
7274 maybe-configure-diff: configure-diff
7275 configure-diff:
7276 @: $(MAKE); $(unstage)
7277 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7279 r=`${PWD_COMMAND}`; export r; \
7280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7281 $(HOST_EXPORTS) \
7282 echo Configuring in $(HOST_SUBDIR)/diff; \
7283 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7284 case $(srcdir) in \
7285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7286 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7288 esac; \
7289 srcdiroption="--srcdir=$${topdir}/diff"; \
7290 libsrcdir="$$s/diff"; \
7291 $(SHELL) $${libsrcdir}/configure \
7292 $(HOST_CONFIGARGS) $${srcdiroption} \
7293 || exit 1
7294 @endif diff
7300 .PHONY: all-diff maybe-all-diff
7301 maybe-all-diff:
7302 @if diff
7303 TARGET-diff=all
7304 maybe-all-diff: all-diff
7305 all-diff: configure-diff
7306 @: $(MAKE); $(unstage)
7307 @r=`${PWD_COMMAND}`; export r; \
7308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7309 $(HOST_EXPORTS) \
7310 (cd $(HOST_SUBDIR)/diff && \
7311 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7312 @endif diff
7317 .PHONY: check-diff maybe-check-diff
7318 maybe-check-diff:
7319 @if diff
7320 maybe-check-diff: check-diff
7322 check-diff:
7323 @: $(MAKE); $(unstage)
7324 @r=`${PWD_COMMAND}`; export r; \
7325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7326 $(HOST_EXPORTS) \
7327 (cd $(HOST_SUBDIR)/diff && \
7328 $(MAKE) $(FLAGS_TO_PASS) check)
7330 @endif diff
7332 .PHONY: install-diff maybe-install-diff
7333 maybe-install-diff:
7334 @if diff
7335 maybe-install-diff: install-diff
7337 install-diff: installdirs
7338 @: $(MAKE); $(unstage)
7339 @r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7341 $(HOST_EXPORTS) \
7342 (cd $(HOST_SUBDIR)/diff && \
7343 $(MAKE) $(FLAGS_TO_PASS) install)
7345 @endif diff
7347 # Other targets (info, dvi, etc.)
7349 .PHONY: maybe-info-diff info-diff
7350 maybe-info-diff:
7351 @if diff
7352 maybe-info-diff: info-diff
7354 info-diff: \
7355 configure-diff
7356 @: $(MAKE); $(unstage)
7357 @[ -f ./diff/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing info in diff" ; \
7365 (cd $(HOST_SUBDIR)/diff && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7370 info) \
7371 || exit 1
7373 @endif diff
7375 .PHONY: maybe-dvi-diff dvi-diff
7376 maybe-dvi-diff:
7377 @if diff
7378 maybe-dvi-diff: dvi-diff
7380 dvi-diff: \
7381 configure-diff
7382 @: $(MAKE); $(unstage)
7383 @[ -f ./diff/Makefile ] || exit 0; \
7384 r=`${PWD_COMMAND}`; export r; \
7385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7386 $(HOST_EXPORTS) \
7387 for flag in $(EXTRA_HOST_FLAGS) ; do \
7388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7389 done; \
7390 echo "Doing dvi in diff" ; \
7391 (cd $(HOST_SUBDIR)/diff && \
7392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7394 "RANLIB=$${RANLIB}" \
7395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7396 dvi) \
7397 || exit 1
7399 @endif diff
7401 .PHONY: maybe-html-diff html-diff
7402 maybe-html-diff:
7403 @if diff
7404 maybe-html-diff: html-diff
7406 html-diff: \
7407 configure-diff
7408 @: $(MAKE); $(unstage)
7409 @[ -f ./diff/Makefile ] || exit 0; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(HOST_EXPORTS) \
7413 for flag in $(EXTRA_HOST_FLAGS) ; do \
7414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7415 done; \
7416 echo "Doing html in diff" ; \
7417 (cd $(HOST_SUBDIR)/diff && \
7418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7420 "RANLIB=$${RANLIB}" \
7421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7422 html) \
7423 || exit 1
7425 @endif diff
7427 .PHONY: maybe-TAGS-diff TAGS-diff
7428 maybe-TAGS-diff:
7429 @if diff
7430 maybe-TAGS-diff: TAGS-diff
7432 TAGS-diff: \
7433 configure-diff
7434 @: $(MAKE); $(unstage)
7435 @[ -f ./diff/Makefile ] || exit 0; \
7436 r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS) ; do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing TAGS in diff" ; \
7443 (cd $(HOST_SUBDIR)/diff && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 TAGS) \
7449 || exit 1
7451 @endif diff
7453 .PHONY: maybe-install-info-diff install-info-diff
7454 maybe-install-info-diff:
7455 @if diff
7456 maybe-install-info-diff: install-info-diff
7458 install-info-diff: \
7459 configure-diff \
7460 info-diff
7461 @: $(MAKE); $(unstage)
7462 @[ -f ./diff/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(HOST_EXPORTS) \
7466 for flag in $(EXTRA_HOST_FLAGS) ; do \
7467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7468 done; \
7469 echo "Doing install-info in diff" ; \
7470 (cd $(HOST_SUBDIR)/diff && \
7471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7473 "RANLIB=$${RANLIB}" \
7474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7475 install-info) \
7476 || exit 1
7478 @endif diff
7480 .PHONY: maybe-installcheck-diff installcheck-diff
7481 maybe-installcheck-diff:
7482 @if diff
7483 maybe-installcheck-diff: installcheck-diff
7485 installcheck-diff: \
7486 configure-diff
7487 @: $(MAKE); $(unstage)
7488 @[ -f ./diff/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(HOST_EXPORTS) \
7492 for flag in $(EXTRA_HOST_FLAGS) ; do \
7493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7494 done; \
7495 echo "Doing installcheck in diff" ; \
7496 (cd $(HOST_SUBDIR)/diff && \
7497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7499 "RANLIB=$${RANLIB}" \
7500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7501 installcheck) \
7502 || exit 1
7504 @endif diff
7506 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7507 maybe-mostlyclean-diff:
7508 @if diff
7509 maybe-mostlyclean-diff: mostlyclean-diff
7511 mostlyclean-diff:
7512 @: $(MAKE); $(unstage)
7513 @[ -f ./diff/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing mostlyclean in diff" ; \
7521 (cd $(HOST_SUBDIR)/diff && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 mostlyclean) \
7527 || exit 1
7529 @endif diff
7531 .PHONY: maybe-clean-diff clean-diff
7532 maybe-clean-diff:
7533 @if diff
7534 maybe-clean-diff: clean-diff
7536 clean-diff:
7537 @: $(MAKE); $(unstage)
7538 @[ -f ./diff/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing clean in diff" ; \
7546 (cd $(HOST_SUBDIR)/diff && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7551 clean) \
7552 || exit 1
7554 @endif diff
7556 .PHONY: maybe-distclean-diff distclean-diff
7557 maybe-distclean-diff:
7558 @if diff
7559 maybe-distclean-diff: distclean-diff
7561 distclean-diff:
7562 @: $(MAKE); $(unstage)
7563 @[ -f ./diff/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing distclean in diff" ; \
7571 (cd $(HOST_SUBDIR)/diff && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7576 distclean) \
7577 || exit 1
7579 @endif diff
7581 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7582 maybe-maintainer-clean-diff:
7583 @if diff
7584 maybe-maintainer-clean-diff: maintainer-clean-diff
7586 maintainer-clean-diff:
7587 @: $(MAKE); $(unstage)
7588 @[ -f ./diff/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing maintainer-clean in diff" ; \
7596 (cd $(HOST_SUBDIR)/diff && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7601 maintainer-clean) \
7602 || exit 1
7604 @endif diff
7608 .PHONY: configure-dosutils maybe-configure-dosutils
7609 maybe-configure-dosutils:
7610 @if dosutils
7611 maybe-configure-dosutils: configure-dosutils
7612 configure-dosutils:
7613 @: $(MAKE); $(unstage)
7614 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7616 r=`${PWD_COMMAND}`; export r; \
7617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7618 $(HOST_EXPORTS) \
7619 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7620 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7621 case $(srcdir) in \
7622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7623 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7625 esac; \
7626 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7627 libsrcdir="$$s/dosutils"; \
7628 $(SHELL) $${libsrcdir}/configure \
7629 $(HOST_CONFIGARGS) $${srcdiroption} \
7630 || exit 1
7631 @endif dosutils
7637 .PHONY: all-dosutils maybe-all-dosutils
7638 maybe-all-dosutils:
7639 @if dosutils
7640 TARGET-dosutils=all
7641 maybe-all-dosutils: all-dosutils
7642 all-dosutils: configure-dosutils
7643 @: $(MAKE); $(unstage)
7644 @r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(HOST_EXPORTS) \
7647 (cd $(HOST_SUBDIR)/dosutils && \
7648 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7649 @endif dosutils
7654 .PHONY: check-dosutils maybe-check-dosutils
7655 maybe-check-dosutils:
7656 @if dosutils
7657 maybe-check-dosutils: check-dosutils
7659 check-dosutils:
7661 @endif dosutils
7663 .PHONY: install-dosutils maybe-install-dosutils
7664 maybe-install-dosutils:
7665 @if dosutils
7666 maybe-install-dosutils: install-dosutils
7668 install-dosutils: installdirs
7669 @: $(MAKE); $(unstage)
7670 @r=`${PWD_COMMAND}`; export r; \
7671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7672 $(HOST_EXPORTS) \
7673 (cd $(HOST_SUBDIR)/dosutils && \
7674 $(MAKE) $(FLAGS_TO_PASS) install)
7676 @endif dosutils
7678 # Other targets (info, dvi, etc.)
7680 .PHONY: maybe-info-dosutils info-dosutils
7681 maybe-info-dosutils:
7682 @if dosutils
7683 maybe-info-dosutils: info-dosutils
7685 info-dosutils: \
7686 configure-dosutils
7687 @: $(MAKE); $(unstage)
7688 @[ -f ./dosutils/Makefile ] || exit 0; \
7689 r=`${PWD_COMMAND}`; export r; \
7690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7691 $(HOST_EXPORTS) \
7692 for flag in $(EXTRA_HOST_FLAGS) ; do \
7693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7694 done; \
7695 echo "Doing info in dosutils" ; \
7696 (cd $(HOST_SUBDIR)/dosutils && \
7697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7699 "RANLIB=$${RANLIB}" \
7700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7701 info) \
7702 || exit 1
7704 @endif dosutils
7706 .PHONY: maybe-dvi-dosutils dvi-dosutils
7707 maybe-dvi-dosutils:
7708 @if dosutils
7709 maybe-dvi-dosutils: dvi-dosutils
7711 dvi-dosutils: \
7712 configure-dosutils
7713 @: $(MAKE); $(unstage)
7714 @[ -f ./dosutils/Makefile ] || exit 0; \
7715 r=`${PWD_COMMAND}`; export r; \
7716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 $(HOST_EXPORTS) \
7718 for flag in $(EXTRA_HOST_FLAGS) ; do \
7719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7720 done; \
7721 echo "Doing dvi in dosutils" ; \
7722 (cd $(HOST_SUBDIR)/dosutils && \
7723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7725 "RANLIB=$${RANLIB}" \
7726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7727 dvi) \
7728 || exit 1
7730 @endif dosutils
7732 .PHONY: maybe-html-dosutils html-dosutils
7733 maybe-html-dosutils:
7734 @if dosutils
7735 maybe-html-dosutils: html-dosutils
7737 html-dosutils: \
7738 configure-dosutils
7739 @: $(MAKE); $(unstage)
7740 @[ -f ./dosutils/Makefile ] || exit 0; \
7741 r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743 $(HOST_EXPORTS) \
7744 for flag in $(EXTRA_HOST_FLAGS) ; do \
7745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7746 done; \
7747 echo "Doing html in dosutils" ; \
7748 (cd $(HOST_SUBDIR)/dosutils && \
7749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7751 "RANLIB=$${RANLIB}" \
7752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7753 html) \
7754 || exit 1
7756 @endif dosutils
7758 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7759 maybe-TAGS-dosutils:
7760 @if dosutils
7761 maybe-TAGS-dosutils: TAGS-dosutils
7763 TAGS-dosutils: \
7764 configure-dosutils
7765 @: $(MAKE); $(unstage)
7766 @[ -f ./dosutils/Makefile ] || exit 0; \
7767 r=`${PWD_COMMAND}`; export r; \
7768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7769 $(HOST_EXPORTS) \
7770 for flag in $(EXTRA_HOST_FLAGS) ; do \
7771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7772 done; \
7773 echo "Doing TAGS in dosutils" ; \
7774 (cd $(HOST_SUBDIR)/dosutils && \
7775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7777 "RANLIB=$${RANLIB}" \
7778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7779 TAGS) \
7780 || exit 1
7782 @endif dosutils
7784 .PHONY: maybe-install-info-dosutils install-info-dosutils
7785 maybe-install-info-dosutils:
7786 @if dosutils
7787 maybe-install-info-dosutils: install-info-dosutils
7789 install-info-dosutils: \
7790 configure-dosutils \
7791 info-dosutils
7792 @: $(MAKE); $(unstage)
7793 @[ -f ./dosutils/Makefile ] || exit 0; \
7794 r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(HOST_EXPORTS) \
7797 for flag in $(EXTRA_HOST_FLAGS) ; do \
7798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7799 done; \
7800 echo "Doing install-info in dosutils" ; \
7801 (cd $(HOST_SUBDIR)/dosutils && \
7802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7804 "RANLIB=$${RANLIB}" \
7805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7806 install-info) \
7807 || exit 1
7809 @endif dosutils
7811 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7812 maybe-installcheck-dosutils:
7813 @if dosutils
7814 maybe-installcheck-dosutils: installcheck-dosutils
7816 installcheck-dosutils: \
7817 configure-dosutils
7818 @: $(MAKE); $(unstage)
7819 @[ -f ./dosutils/Makefile ] || exit 0; \
7820 r=`${PWD_COMMAND}`; export r; \
7821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7822 $(HOST_EXPORTS) \
7823 for flag in $(EXTRA_HOST_FLAGS) ; do \
7824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7825 done; \
7826 echo "Doing installcheck in dosutils" ; \
7827 (cd $(HOST_SUBDIR)/dosutils && \
7828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7830 "RANLIB=$${RANLIB}" \
7831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7832 installcheck) \
7833 || exit 1
7835 @endif dosutils
7837 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7838 maybe-mostlyclean-dosutils:
7839 @if dosutils
7840 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7842 mostlyclean-dosutils:
7843 @: $(MAKE); $(unstage)
7844 @[ -f ./dosutils/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing mostlyclean in dosutils" ; \
7852 (cd $(HOST_SUBDIR)/dosutils && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 mostlyclean) \
7858 || exit 1
7860 @endif dosutils
7862 .PHONY: maybe-clean-dosutils clean-dosutils
7863 maybe-clean-dosutils:
7864 @if dosutils
7865 maybe-clean-dosutils: clean-dosutils
7867 clean-dosutils:
7868 @: $(MAKE); $(unstage)
7869 @[ -f ./dosutils/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing clean in dosutils" ; \
7877 (cd $(HOST_SUBDIR)/dosutils && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 clean) \
7883 || exit 1
7885 @endif dosutils
7887 .PHONY: maybe-distclean-dosutils distclean-dosutils
7888 maybe-distclean-dosutils:
7889 @if dosutils
7890 maybe-distclean-dosutils: distclean-dosutils
7892 distclean-dosutils:
7893 @: $(MAKE); $(unstage)
7894 @[ -f ./dosutils/Makefile ] || exit 0; \
7895 r=`${PWD_COMMAND}`; export r; \
7896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7897 $(HOST_EXPORTS) \
7898 for flag in $(EXTRA_HOST_FLAGS) ; do \
7899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7900 done; \
7901 echo "Doing distclean in dosutils" ; \
7902 (cd $(HOST_SUBDIR)/dosutils && \
7903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7905 "RANLIB=$${RANLIB}" \
7906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7907 distclean) \
7908 || exit 1
7910 @endif dosutils
7912 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7913 maybe-maintainer-clean-dosutils:
7914 @if dosutils
7915 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7917 maintainer-clean-dosutils:
7918 @: $(MAKE); $(unstage)
7919 @[ -f ./dosutils/Makefile ] || exit 0; \
7920 r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 for flag in $(EXTRA_HOST_FLAGS) ; do \
7924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7925 done; \
7926 echo "Doing maintainer-clean in dosutils" ; \
7927 (cd $(HOST_SUBDIR)/dosutils && \
7928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7930 "RANLIB=$${RANLIB}" \
7931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7932 maintainer-clean) \
7933 || exit 1
7935 @endif dosutils
7939 .PHONY: configure-etc maybe-configure-etc
7940 maybe-configure-etc:
7941 @if etc
7942 maybe-configure-etc: configure-etc
7943 configure-etc:
7944 @: $(MAKE); $(unstage)
7945 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7947 r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949 $(HOST_EXPORTS) \
7950 echo Configuring in $(HOST_SUBDIR)/etc; \
7951 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7952 case $(srcdir) in \
7953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7954 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7956 esac; \
7957 srcdiroption="--srcdir=$${topdir}/etc"; \
7958 libsrcdir="$$s/etc"; \
7959 $(SHELL) $${libsrcdir}/configure \
7960 $(HOST_CONFIGARGS) $${srcdiroption} \
7961 || exit 1
7962 @endif etc
7968 .PHONY: all-etc maybe-all-etc
7969 maybe-all-etc:
7970 @if etc
7971 TARGET-etc=all
7972 maybe-all-etc: all-etc
7973 all-etc: configure-etc
7974 @: $(MAKE); $(unstage)
7975 @r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(HOST_EXPORTS) \
7978 (cd $(HOST_SUBDIR)/etc && \
7979 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7980 @endif etc
7985 .PHONY: check-etc maybe-check-etc
7986 maybe-check-etc:
7987 @if etc
7988 maybe-check-etc: check-etc
7990 check-etc:
7991 @: $(MAKE); $(unstage)
7992 @r=`${PWD_COMMAND}`; export r; \
7993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7994 $(HOST_EXPORTS) \
7995 (cd $(HOST_SUBDIR)/etc && \
7996 $(MAKE) $(FLAGS_TO_PASS) check)
7998 @endif etc
8000 .PHONY: install-etc maybe-install-etc
8001 maybe-install-etc:
8002 @if etc
8003 maybe-install-etc: install-etc
8005 install-etc: installdirs
8006 @: $(MAKE); $(unstage)
8007 @r=`${PWD_COMMAND}`; export r; \
8008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8009 $(HOST_EXPORTS) \
8010 (cd $(HOST_SUBDIR)/etc && \
8011 $(MAKE) $(FLAGS_TO_PASS) install)
8013 @endif etc
8015 # Other targets (info, dvi, etc.)
8017 .PHONY: maybe-info-etc info-etc
8018 maybe-info-etc:
8019 @if etc
8020 maybe-info-etc: info-etc
8022 info-etc: \
8023 configure-etc
8024 @: $(MAKE); $(unstage)
8025 @[ -f ./etc/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028 $(HOST_EXPORTS) \
8029 for flag in $(EXTRA_HOST_FLAGS) ; do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8031 done; \
8032 echo "Doing info in etc" ; \
8033 (cd $(HOST_SUBDIR)/etc && \
8034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036 "RANLIB=$${RANLIB}" \
8037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8038 info) \
8039 || exit 1
8041 @endif etc
8043 .PHONY: maybe-dvi-etc dvi-etc
8044 maybe-dvi-etc:
8045 @if etc
8046 maybe-dvi-etc: dvi-etc
8048 dvi-etc: \
8049 configure-etc
8050 @: $(MAKE); $(unstage)
8051 @[ -f ./etc/Makefile ] || exit 0; \
8052 r=`${PWD_COMMAND}`; export r; \
8053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8054 $(HOST_EXPORTS) \
8055 for flag in $(EXTRA_HOST_FLAGS) ; do \
8056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8057 done; \
8058 echo "Doing dvi in etc" ; \
8059 (cd $(HOST_SUBDIR)/etc && \
8060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8062 "RANLIB=$${RANLIB}" \
8063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8064 dvi) \
8065 || exit 1
8067 @endif etc
8069 .PHONY: maybe-html-etc html-etc
8070 maybe-html-etc:
8071 @if etc
8072 maybe-html-etc: html-etc
8074 html-etc: \
8075 configure-etc
8076 @: $(MAKE); $(unstage)
8077 @[ -f ./etc/Makefile ] || exit 0; \
8078 r=`${PWD_COMMAND}`; export r; \
8079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8080 $(HOST_EXPORTS) \
8081 for flag in $(EXTRA_HOST_FLAGS) ; do \
8082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8083 done; \
8084 echo "Doing html in etc" ; \
8085 (cd $(HOST_SUBDIR)/etc && \
8086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8088 "RANLIB=$${RANLIB}" \
8089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8090 html) \
8091 || exit 1
8093 @endif etc
8095 .PHONY: maybe-TAGS-etc TAGS-etc
8096 maybe-TAGS-etc:
8097 @if etc
8098 maybe-TAGS-etc: TAGS-etc
8100 TAGS-etc: \
8101 configure-etc
8102 @: $(MAKE); $(unstage)
8103 @[ -f ./etc/Makefile ] || exit 0; \
8104 r=`${PWD_COMMAND}`; export r; \
8105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8106 $(HOST_EXPORTS) \
8107 for flag in $(EXTRA_HOST_FLAGS) ; do \
8108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8109 done; \
8110 echo "Doing TAGS in etc" ; \
8111 (cd $(HOST_SUBDIR)/etc && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8114 "RANLIB=$${RANLIB}" \
8115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8116 TAGS) \
8117 || exit 1
8119 @endif etc
8121 .PHONY: maybe-install-info-etc install-info-etc
8122 maybe-install-info-etc:
8123 @if etc
8124 maybe-install-info-etc: install-info-etc
8126 install-info-etc: \
8127 configure-etc \
8128 info-etc
8129 @: $(MAKE); $(unstage)
8130 @[ -f ./etc/Makefile ] || exit 0; \
8131 r=`${PWD_COMMAND}`; export r; \
8132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8133 $(HOST_EXPORTS) \
8134 for flag in $(EXTRA_HOST_FLAGS) ; do \
8135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8136 done; \
8137 echo "Doing install-info in etc" ; \
8138 (cd $(HOST_SUBDIR)/etc && \
8139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8141 "RANLIB=$${RANLIB}" \
8142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8143 install-info) \
8144 || exit 1
8146 @endif etc
8148 .PHONY: maybe-installcheck-etc installcheck-etc
8149 maybe-installcheck-etc:
8150 @if etc
8151 maybe-installcheck-etc: installcheck-etc
8153 installcheck-etc: \
8154 configure-etc
8155 @: $(MAKE); $(unstage)
8156 @[ -f ./etc/Makefile ] || exit 0; \
8157 r=`${PWD_COMMAND}`; export r; \
8158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159 $(HOST_EXPORTS) \
8160 for flag in $(EXTRA_HOST_FLAGS) ; do \
8161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8162 done; \
8163 echo "Doing installcheck in etc" ; \
8164 (cd $(HOST_SUBDIR)/etc && \
8165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8167 "RANLIB=$${RANLIB}" \
8168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8169 installcheck) \
8170 || exit 1
8172 @endif etc
8174 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8175 maybe-mostlyclean-etc:
8176 @if etc
8177 maybe-mostlyclean-etc: mostlyclean-etc
8179 mostlyclean-etc:
8180 @: $(MAKE); $(unstage)
8181 @[ -f ./etc/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing mostlyclean in etc" ; \
8189 (cd $(HOST_SUBDIR)/etc && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194 mostlyclean) \
8195 || exit 1
8197 @endif etc
8199 .PHONY: maybe-clean-etc clean-etc
8200 maybe-clean-etc:
8201 @if etc
8202 maybe-clean-etc: clean-etc
8204 clean-etc:
8205 @: $(MAKE); $(unstage)
8206 @[ -f ./etc/Makefile ] || exit 0; \
8207 r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 $(HOST_EXPORTS) \
8210 for flag in $(EXTRA_HOST_FLAGS) ; do \
8211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8212 done; \
8213 echo "Doing clean in etc" ; \
8214 (cd $(HOST_SUBDIR)/etc && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8219 clean) \
8220 || exit 1
8222 @endif etc
8224 .PHONY: maybe-distclean-etc distclean-etc
8225 maybe-distclean-etc:
8226 @if etc
8227 maybe-distclean-etc: distclean-etc
8229 distclean-etc:
8230 @: $(MAKE); $(unstage)
8231 @[ -f ./etc/Makefile ] || exit 0; \
8232 r=`${PWD_COMMAND}`; export r; \
8233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8234 $(HOST_EXPORTS) \
8235 for flag in $(EXTRA_HOST_FLAGS) ; do \
8236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8237 done; \
8238 echo "Doing distclean in etc" ; \
8239 (cd $(HOST_SUBDIR)/etc && \
8240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8242 "RANLIB=$${RANLIB}" \
8243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8244 distclean) \
8245 || exit 1
8247 @endif etc
8249 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8250 maybe-maintainer-clean-etc:
8251 @if etc
8252 maybe-maintainer-clean-etc: maintainer-clean-etc
8254 maintainer-clean-etc:
8255 @: $(MAKE); $(unstage)
8256 @[ -f ./etc/Makefile ] || exit 0; \
8257 r=`${PWD_COMMAND}`; export r; \
8258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8259 $(HOST_EXPORTS) \
8260 for flag in $(EXTRA_HOST_FLAGS) ; do \
8261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8262 done; \
8263 echo "Doing maintainer-clean in etc" ; \
8264 (cd $(HOST_SUBDIR)/etc && \
8265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8267 "RANLIB=$${RANLIB}" \
8268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8269 maintainer-clean) \
8270 || exit 1
8272 @endif etc
8276 .PHONY: configure-fastjar maybe-configure-fastjar
8277 maybe-configure-fastjar:
8278 @if fastjar
8279 maybe-configure-fastjar: configure-fastjar
8280 configure-fastjar:
8281 @: $(MAKE); $(unstage)
8282 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8284 r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 $(HOST_EXPORTS) \
8287 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8288 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8289 case $(srcdir) in \
8290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8291 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8293 esac; \
8294 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8295 libsrcdir="$$s/fastjar"; \
8296 $(SHELL) $${libsrcdir}/configure \
8297 $(HOST_CONFIGARGS) $${srcdiroption} \
8298 || exit 1
8299 @endif fastjar
8305 .PHONY: all-fastjar maybe-all-fastjar
8306 maybe-all-fastjar:
8307 @if fastjar
8308 TARGET-fastjar=all
8309 maybe-all-fastjar: all-fastjar
8310 all-fastjar: configure-fastjar
8311 @: $(MAKE); $(unstage)
8312 @r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314 $(HOST_EXPORTS) \
8315 (cd $(HOST_SUBDIR)/fastjar && \
8316 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8317 @endif fastjar
8322 .PHONY: check-fastjar maybe-check-fastjar
8323 maybe-check-fastjar:
8324 @if fastjar
8325 maybe-check-fastjar: check-fastjar
8327 # This module is only tested in a native toolchain.
8328 check-fastjar:
8329 @: $(MAKE); $(unstage)
8330 @if [ '$(host)' = '$(target)' ] ; then \
8331 r=`${PWD_COMMAND}`; export r; \
8332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8333 $(HOST_EXPORTS) \
8334 (cd $(HOST_SUBDIR)/fastjar && \
8335 $(MAKE) $(FLAGS_TO_PASS) check); \
8338 @endif fastjar
8340 .PHONY: install-fastjar maybe-install-fastjar
8341 maybe-install-fastjar:
8342 @if fastjar
8343 maybe-install-fastjar: install-fastjar
8345 install-fastjar: installdirs
8346 @: $(MAKE); $(unstage)
8347 @r=`${PWD_COMMAND}`; export r; \
8348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8349 $(HOST_EXPORTS) \
8350 (cd $(HOST_SUBDIR)/fastjar && \
8351 $(MAKE) $(FLAGS_TO_PASS) install)
8353 @endif fastjar
8355 # Other targets (info, dvi, etc.)
8357 .PHONY: maybe-info-fastjar info-fastjar
8358 maybe-info-fastjar:
8359 @if fastjar
8360 maybe-info-fastjar: info-fastjar
8362 info-fastjar: \
8363 configure-fastjar
8364 @: $(MAKE); $(unstage)
8365 @[ -f ./fastjar/Makefile ] || exit 0; \
8366 r=`${PWD_COMMAND}`; export r; \
8367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8368 $(HOST_EXPORTS) \
8369 for flag in $(EXTRA_HOST_FLAGS) ; do \
8370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8371 done; \
8372 echo "Doing info in fastjar" ; \
8373 (cd $(HOST_SUBDIR)/fastjar && \
8374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8376 "RANLIB=$${RANLIB}" \
8377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8378 info) \
8379 || exit 1
8381 @endif fastjar
8383 .PHONY: maybe-dvi-fastjar dvi-fastjar
8384 maybe-dvi-fastjar:
8385 @if fastjar
8386 maybe-dvi-fastjar: dvi-fastjar
8388 dvi-fastjar: \
8389 configure-fastjar
8390 @: $(MAKE); $(unstage)
8391 @[ -f ./fastjar/Makefile ] || exit 0; \
8392 r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(HOST_EXPORTS) \
8395 for flag in $(EXTRA_HOST_FLAGS) ; do \
8396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8397 done; \
8398 echo "Doing dvi in fastjar" ; \
8399 (cd $(HOST_SUBDIR)/fastjar && \
8400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8402 "RANLIB=$${RANLIB}" \
8403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8404 dvi) \
8405 || exit 1
8407 @endif fastjar
8409 .PHONY: maybe-html-fastjar html-fastjar
8410 maybe-html-fastjar:
8411 @if fastjar
8412 maybe-html-fastjar: html-fastjar
8414 html-fastjar: \
8415 configure-fastjar
8416 @: $(MAKE); $(unstage)
8417 @[ -f ./fastjar/Makefile ] || exit 0; \
8418 r=`${PWD_COMMAND}`; export r; \
8419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 $(HOST_EXPORTS) \
8421 for flag in $(EXTRA_HOST_FLAGS) ; do \
8422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8423 done; \
8424 echo "Doing html in fastjar" ; \
8425 (cd $(HOST_SUBDIR)/fastjar && \
8426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8428 "RANLIB=$${RANLIB}" \
8429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8430 html) \
8431 || exit 1
8433 @endif fastjar
8435 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8436 maybe-TAGS-fastjar:
8437 @if fastjar
8438 maybe-TAGS-fastjar: TAGS-fastjar
8440 TAGS-fastjar: \
8441 configure-fastjar
8442 @: $(MAKE); $(unstage)
8443 @[ -f ./fastjar/Makefile ] || exit 0; \
8444 r=`${PWD_COMMAND}`; export r; \
8445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8446 $(HOST_EXPORTS) \
8447 for flag in $(EXTRA_HOST_FLAGS) ; do \
8448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8449 done; \
8450 echo "Doing TAGS in fastjar" ; \
8451 (cd $(HOST_SUBDIR)/fastjar && \
8452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8454 "RANLIB=$${RANLIB}" \
8455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8456 TAGS) \
8457 || exit 1
8459 @endif fastjar
8461 .PHONY: maybe-install-info-fastjar install-info-fastjar
8462 maybe-install-info-fastjar:
8463 @if fastjar
8464 maybe-install-info-fastjar: install-info-fastjar
8466 install-info-fastjar: \
8467 configure-fastjar \
8468 info-fastjar
8469 @: $(MAKE); $(unstage)
8470 @[ -f ./fastjar/Makefile ] || exit 0; \
8471 r=`${PWD_COMMAND}`; export r; \
8472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8473 $(HOST_EXPORTS) \
8474 for flag in $(EXTRA_HOST_FLAGS) ; do \
8475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8476 done; \
8477 echo "Doing install-info in fastjar" ; \
8478 (cd $(HOST_SUBDIR)/fastjar && \
8479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8481 "RANLIB=$${RANLIB}" \
8482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8483 install-info) \
8484 || exit 1
8486 @endif fastjar
8488 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8489 maybe-installcheck-fastjar:
8490 @if fastjar
8491 maybe-installcheck-fastjar: installcheck-fastjar
8493 installcheck-fastjar: \
8494 configure-fastjar
8495 @: $(MAKE); $(unstage)
8496 @[ -f ./fastjar/Makefile ] || exit 0; \
8497 r=`${PWD_COMMAND}`; export r; \
8498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8499 $(HOST_EXPORTS) \
8500 for flag in $(EXTRA_HOST_FLAGS) ; do \
8501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8502 done; \
8503 echo "Doing installcheck in fastjar" ; \
8504 (cd $(HOST_SUBDIR)/fastjar && \
8505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8507 "RANLIB=$${RANLIB}" \
8508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8509 installcheck) \
8510 || exit 1
8512 @endif fastjar
8514 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8515 maybe-mostlyclean-fastjar:
8516 @if fastjar
8517 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8519 mostlyclean-fastjar:
8520 @: $(MAKE); $(unstage)
8521 @[ -f ./fastjar/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing mostlyclean in fastjar" ; \
8529 (cd $(HOST_SUBDIR)/fastjar && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 mostlyclean) \
8535 || exit 1
8537 @endif fastjar
8539 .PHONY: maybe-clean-fastjar clean-fastjar
8540 maybe-clean-fastjar:
8541 @if fastjar
8542 maybe-clean-fastjar: clean-fastjar
8544 clean-fastjar:
8545 @: $(MAKE); $(unstage)
8546 @[ -f ./fastjar/Makefile ] || exit 0; \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8549 $(HOST_EXPORTS) \
8550 for flag in $(EXTRA_HOST_FLAGS) ; do \
8551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8552 done; \
8553 echo "Doing clean in fastjar" ; \
8554 (cd $(HOST_SUBDIR)/fastjar && \
8555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557 "RANLIB=$${RANLIB}" \
8558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8559 clean) \
8560 || exit 1
8562 @endif fastjar
8564 .PHONY: maybe-distclean-fastjar distclean-fastjar
8565 maybe-distclean-fastjar:
8566 @if fastjar
8567 maybe-distclean-fastjar: distclean-fastjar
8569 distclean-fastjar:
8570 @: $(MAKE); $(unstage)
8571 @[ -f ./fastjar/Makefile ] || exit 0; \
8572 r=`${PWD_COMMAND}`; export r; \
8573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8574 $(HOST_EXPORTS) \
8575 for flag in $(EXTRA_HOST_FLAGS) ; do \
8576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8577 done; \
8578 echo "Doing distclean in fastjar" ; \
8579 (cd $(HOST_SUBDIR)/fastjar && \
8580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8582 "RANLIB=$${RANLIB}" \
8583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8584 distclean) \
8585 || exit 1
8587 @endif fastjar
8589 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8590 maybe-maintainer-clean-fastjar:
8591 @if fastjar
8592 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8594 maintainer-clean-fastjar:
8595 @: $(MAKE); $(unstage)
8596 @[ -f ./fastjar/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(HOST_EXPORTS) \
8600 for flag in $(EXTRA_HOST_FLAGS) ; do \
8601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 done; \
8603 echo "Doing maintainer-clean in fastjar" ; \
8604 (cd $(HOST_SUBDIR)/fastjar && \
8605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8607 "RANLIB=$${RANLIB}" \
8608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8609 maintainer-clean) \
8610 || exit 1
8612 @endif fastjar
8616 .PHONY: configure-fileutils maybe-configure-fileutils
8617 maybe-configure-fileutils:
8618 @if fileutils
8619 maybe-configure-fileutils: configure-fileutils
8620 configure-fileutils:
8621 @: $(MAKE); $(unstage)
8622 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(HOST_EXPORTS) \
8627 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8628 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8629 case $(srcdir) in \
8630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8631 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8633 esac; \
8634 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8635 libsrcdir="$$s/fileutils"; \
8636 $(SHELL) $${libsrcdir}/configure \
8637 $(HOST_CONFIGARGS) $${srcdiroption} \
8638 || exit 1
8639 @endif fileutils
8645 .PHONY: all-fileutils maybe-all-fileutils
8646 maybe-all-fileutils:
8647 @if fileutils
8648 TARGET-fileutils=all
8649 maybe-all-fileutils: all-fileutils
8650 all-fileutils: configure-fileutils
8651 @: $(MAKE); $(unstage)
8652 @r=`${PWD_COMMAND}`; export r; \
8653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8654 $(HOST_EXPORTS) \
8655 (cd $(HOST_SUBDIR)/fileutils && \
8656 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8657 @endif fileutils
8662 .PHONY: check-fileutils maybe-check-fileutils
8663 maybe-check-fileutils:
8664 @if fileutils
8665 maybe-check-fileutils: check-fileutils
8667 check-fileutils:
8668 @: $(MAKE); $(unstage)
8669 @r=`${PWD_COMMAND}`; export r; \
8670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8671 $(HOST_EXPORTS) \
8672 (cd $(HOST_SUBDIR)/fileutils && \
8673 $(MAKE) $(FLAGS_TO_PASS) check)
8675 @endif fileutils
8677 .PHONY: install-fileutils maybe-install-fileutils
8678 maybe-install-fileutils:
8679 @if fileutils
8680 maybe-install-fileutils: install-fileutils
8682 install-fileutils: installdirs
8683 @: $(MAKE); $(unstage)
8684 @r=`${PWD_COMMAND}`; export r; \
8685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8686 $(HOST_EXPORTS) \
8687 (cd $(HOST_SUBDIR)/fileutils && \
8688 $(MAKE) $(FLAGS_TO_PASS) install)
8690 @endif fileutils
8692 # Other targets (info, dvi, etc.)
8694 .PHONY: maybe-info-fileutils info-fileutils
8695 maybe-info-fileutils:
8696 @if fileutils
8697 maybe-info-fileutils: info-fileutils
8699 info-fileutils: \
8700 configure-fileutils
8701 @: $(MAKE); $(unstage)
8702 @[ -f ./fileutils/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(HOST_EXPORTS) \
8706 for flag in $(EXTRA_HOST_FLAGS) ; do \
8707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8708 done; \
8709 echo "Doing info in fileutils" ; \
8710 (cd $(HOST_SUBDIR)/fileutils && \
8711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8713 "RANLIB=$${RANLIB}" \
8714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8715 info) \
8716 || exit 1
8718 @endif fileutils
8720 .PHONY: maybe-dvi-fileutils dvi-fileutils
8721 maybe-dvi-fileutils:
8722 @if fileutils
8723 maybe-dvi-fileutils: dvi-fileutils
8725 dvi-fileutils: \
8726 configure-fileutils
8727 @: $(MAKE); $(unstage)
8728 @[ -f ./fileutils/Makefile ] || exit 0; \
8729 r=`${PWD_COMMAND}`; export r; \
8730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8731 $(HOST_EXPORTS) \
8732 for flag in $(EXTRA_HOST_FLAGS) ; do \
8733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8734 done; \
8735 echo "Doing dvi in fileutils" ; \
8736 (cd $(HOST_SUBDIR)/fileutils && \
8737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8739 "RANLIB=$${RANLIB}" \
8740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 dvi) \
8742 || exit 1
8744 @endif fileutils
8746 .PHONY: maybe-html-fileutils html-fileutils
8747 maybe-html-fileutils:
8748 @if fileutils
8749 maybe-html-fileutils: html-fileutils
8751 html-fileutils: \
8752 configure-fileutils
8753 @: $(MAKE); $(unstage)
8754 @[ -f ./fileutils/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 $(HOST_EXPORTS) \
8758 for flag in $(EXTRA_HOST_FLAGS) ; do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8760 done; \
8761 echo "Doing html in fileutils" ; \
8762 (cd $(HOST_SUBDIR)/fileutils && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8767 html) \
8768 || exit 1
8770 @endif fileutils
8772 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8773 maybe-TAGS-fileutils:
8774 @if fileutils
8775 maybe-TAGS-fileutils: TAGS-fileutils
8777 TAGS-fileutils: \
8778 configure-fileutils
8779 @: $(MAKE); $(unstage)
8780 @[ -f ./fileutils/Makefile ] || exit 0; \
8781 r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 $(HOST_EXPORTS) \
8784 for flag in $(EXTRA_HOST_FLAGS) ; do \
8785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8786 done; \
8787 echo "Doing TAGS in fileutils" ; \
8788 (cd $(HOST_SUBDIR)/fileutils && \
8789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791 "RANLIB=$${RANLIB}" \
8792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793 TAGS) \
8794 || exit 1
8796 @endif fileutils
8798 .PHONY: maybe-install-info-fileutils install-info-fileutils
8799 maybe-install-info-fileutils:
8800 @if fileutils
8801 maybe-install-info-fileutils: install-info-fileutils
8803 install-info-fileutils: \
8804 configure-fileutils \
8805 info-fileutils
8806 @: $(MAKE); $(unstage)
8807 @[ -f ./fileutils/Makefile ] || exit 0; \
8808 r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 $(HOST_EXPORTS) \
8811 for flag in $(EXTRA_HOST_FLAGS) ; do \
8812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8813 done; \
8814 echo "Doing install-info in fileutils" ; \
8815 (cd $(HOST_SUBDIR)/fileutils && \
8816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8818 "RANLIB=$${RANLIB}" \
8819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8820 install-info) \
8821 || exit 1
8823 @endif fileutils
8825 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8826 maybe-installcheck-fileutils:
8827 @if fileutils
8828 maybe-installcheck-fileutils: installcheck-fileutils
8830 installcheck-fileutils: \
8831 configure-fileutils
8832 @: $(MAKE); $(unstage)
8833 @[ -f ./fileutils/Makefile ] || exit 0; \
8834 r=`${PWD_COMMAND}`; export r; \
8835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8836 $(HOST_EXPORTS) \
8837 for flag in $(EXTRA_HOST_FLAGS) ; do \
8838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8839 done; \
8840 echo "Doing installcheck in fileutils" ; \
8841 (cd $(HOST_SUBDIR)/fileutils && \
8842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8844 "RANLIB=$${RANLIB}" \
8845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8846 installcheck) \
8847 || exit 1
8849 @endif fileutils
8851 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8852 maybe-mostlyclean-fileutils:
8853 @if fileutils
8854 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8856 mostlyclean-fileutils:
8857 @: $(MAKE); $(unstage)
8858 @[ -f ./fileutils/Makefile ] || exit 0; \
8859 r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 $(HOST_EXPORTS) \
8862 for flag in $(EXTRA_HOST_FLAGS) ; do \
8863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8864 done; \
8865 echo "Doing mostlyclean in fileutils" ; \
8866 (cd $(HOST_SUBDIR)/fileutils && \
8867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8869 "RANLIB=$${RANLIB}" \
8870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8871 mostlyclean) \
8872 || exit 1
8874 @endif fileutils
8876 .PHONY: maybe-clean-fileutils clean-fileutils
8877 maybe-clean-fileutils:
8878 @if fileutils
8879 maybe-clean-fileutils: clean-fileutils
8881 clean-fileutils:
8882 @: $(MAKE); $(unstage)
8883 @[ -f ./fileutils/Makefile ] || exit 0; \
8884 r=`${PWD_COMMAND}`; export r; \
8885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8886 $(HOST_EXPORTS) \
8887 for flag in $(EXTRA_HOST_FLAGS) ; do \
8888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8889 done; \
8890 echo "Doing clean in fileutils" ; \
8891 (cd $(HOST_SUBDIR)/fileutils && \
8892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8894 "RANLIB=$${RANLIB}" \
8895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8896 clean) \
8897 || exit 1
8899 @endif fileutils
8901 .PHONY: maybe-distclean-fileutils distclean-fileutils
8902 maybe-distclean-fileutils:
8903 @if fileutils
8904 maybe-distclean-fileutils: distclean-fileutils
8906 distclean-fileutils:
8907 @: $(MAKE); $(unstage)
8908 @[ -f ./fileutils/Makefile ] || exit 0; \
8909 r=`${PWD_COMMAND}`; export r; \
8910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8911 $(HOST_EXPORTS) \
8912 for flag in $(EXTRA_HOST_FLAGS) ; do \
8913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8914 done; \
8915 echo "Doing distclean in fileutils" ; \
8916 (cd $(HOST_SUBDIR)/fileutils && \
8917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8919 "RANLIB=$${RANLIB}" \
8920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8921 distclean) \
8922 || exit 1
8924 @endif fileutils
8926 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8927 maybe-maintainer-clean-fileutils:
8928 @if fileutils
8929 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8931 maintainer-clean-fileutils:
8932 @: $(MAKE); $(unstage)
8933 @[ -f ./fileutils/Makefile ] || exit 0; \
8934 r=`${PWD_COMMAND}`; export r; \
8935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8936 $(HOST_EXPORTS) \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939 done; \
8940 echo "Doing maintainer-clean in fileutils" ; \
8941 (cd $(HOST_SUBDIR)/fileutils && \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8946 maintainer-clean) \
8947 || exit 1
8949 @endif fileutils
8953 .PHONY: configure-findutils maybe-configure-findutils
8954 maybe-configure-findutils:
8955 @if findutils
8956 maybe-configure-findutils: configure-findutils
8957 configure-findutils:
8958 @: $(MAKE); $(unstage)
8959 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8961 r=`${PWD_COMMAND}`; export r; \
8962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8963 $(HOST_EXPORTS) \
8964 echo Configuring in $(HOST_SUBDIR)/findutils; \
8965 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8966 case $(srcdir) in \
8967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8968 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8970 esac; \
8971 srcdiroption="--srcdir=$${topdir}/findutils"; \
8972 libsrcdir="$$s/findutils"; \
8973 $(SHELL) $${libsrcdir}/configure \
8974 $(HOST_CONFIGARGS) $${srcdiroption} \
8975 || exit 1
8976 @endif findutils
8982 .PHONY: all-findutils maybe-all-findutils
8983 maybe-all-findutils:
8984 @if findutils
8985 TARGET-findutils=all
8986 maybe-all-findutils: all-findutils
8987 all-findutils: configure-findutils
8988 @: $(MAKE); $(unstage)
8989 @r=`${PWD_COMMAND}`; export r; \
8990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8991 $(HOST_EXPORTS) \
8992 (cd $(HOST_SUBDIR)/findutils && \
8993 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8994 @endif findutils
8999 .PHONY: check-findutils maybe-check-findutils
9000 maybe-check-findutils:
9001 @if findutils
9002 maybe-check-findutils: check-findutils
9004 check-findutils:
9005 @: $(MAKE); $(unstage)
9006 @r=`${PWD_COMMAND}`; export r; \
9007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9008 $(HOST_EXPORTS) \
9009 (cd $(HOST_SUBDIR)/findutils && \
9010 $(MAKE) $(FLAGS_TO_PASS) check)
9012 @endif findutils
9014 .PHONY: install-findutils maybe-install-findutils
9015 maybe-install-findutils:
9016 @if findutils
9017 maybe-install-findutils: install-findutils
9019 install-findutils: installdirs
9020 @: $(MAKE); $(unstage)
9021 @r=`${PWD_COMMAND}`; export r; \
9022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9023 $(HOST_EXPORTS) \
9024 (cd $(HOST_SUBDIR)/findutils && \
9025 $(MAKE) $(FLAGS_TO_PASS) install)
9027 @endif findutils
9029 # Other targets (info, dvi, etc.)
9031 .PHONY: maybe-info-findutils info-findutils
9032 maybe-info-findutils:
9033 @if findutils
9034 maybe-info-findutils: info-findutils
9036 info-findutils: \
9037 configure-findutils
9038 @: $(MAKE); $(unstage)
9039 @[ -f ./findutils/Makefile ] || exit 0; \
9040 r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 $(HOST_EXPORTS) \
9043 for flag in $(EXTRA_HOST_FLAGS) ; do \
9044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9045 done; \
9046 echo "Doing info in findutils" ; \
9047 (cd $(HOST_SUBDIR)/findutils && \
9048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9050 "RANLIB=$${RANLIB}" \
9051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9052 info) \
9053 || exit 1
9055 @endif findutils
9057 .PHONY: maybe-dvi-findutils dvi-findutils
9058 maybe-dvi-findutils:
9059 @if findutils
9060 maybe-dvi-findutils: dvi-findutils
9062 dvi-findutils: \
9063 configure-findutils
9064 @: $(MAKE); $(unstage)
9065 @[ -f ./findutils/Makefile ] || exit 0; \
9066 r=`${PWD_COMMAND}`; export r; \
9067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9068 $(HOST_EXPORTS) \
9069 for flag in $(EXTRA_HOST_FLAGS) ; do \
9070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9071 done; \
9072 echo "Doing dvi in findutils" ; \
9073 (cd $(HOST_SUBDIR)/findutils && \
9074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9076 "RANLIB=$${RANLIB}" \
9077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9078 dvi) \
9079 || exit 1
9081 @endif findutils
9083 .PHONY: maybe-html-findutils html-findutils
9084 maybe-html-findutils:
9085 @if findutils
9086 maybe-html-findutils: html-findutils
9088 html-findutils: \
9089 configure-findutils
9090 @: $(MAKE); $(unstage)
9091 @[ -f ./findutils/Makefile ] || exit 0; \
9092 r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9094 $(HOST_EXPORTS) \
9095 for flag in $(EXTRA_HOST_FLAGS) ; do \
9096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9097 done; \
9098 echo "Doing html in findutils" ; \
9099 (cd $(HOST_SUBDIR)/findutils && \
9100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9102 "RANLIB=$${RANLIB}" \
9103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9104 html) \
9105 || exit 1
9107 @endif findutils
9109 .PHONY: maybe-TAGS-findutils TAGS-findutils
9110 maybe-TAGS-findutils:
9111 @if findutils
9112 maybe-TAGS-findutils: TAGS-findutils
9114 TAGS-findutils: \
9115 configure-findutils
9116 @: $(MAKE); $(unstage)
9117 @[ -f ./findutils/Makefile ] || exit 0; \
9118 r=`${PWD_COMMAND}`; export r; \
9119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9120 $(HOST_EXPORTS) \
9121 for flag in $(EXTRA_HOST_FLAGS) ; do \
9122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9123 done; \
9124 echo "Doing TAGS in findutils" ; \
9125 (cd $(HOST_SUBDIR)/findutils && \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9128 "RANLIB=$${RANLIB}" \
9129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9130 TAGS) \
9131 || exit 1
9133 @endif findutils
9135 .PHONY: maybe-install-info-findutils install-info-findutils
9136 maybe-install-info-findutils:
9137 @if findutils
9138 maybe-install-info-findutils: install-info-findutils
9140 install-info-findutils: \
9141 configure-findutils \
9142 info-findutils
9143 @: $(MAKE); $(unstage)
9144 @[ -f ./findutils/Makefile ] || exit 0; \
9145 r=`${PWD_COMMAND}`; export r; \
9146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9147 $(HOST_EXPORTS) \
9148 for flag in $(EXTRA_HOST_FLAGS) ; do \
9149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9150 done; \
9151 echo "Doing install-info in findutils" ; \
9152 (cd $(HOST_SUBDIR)/findutils && \
9153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9155 "RANLIB=$${RANLIB}" \
9156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9157 install-info) \
9158 || exit 1
9160 @endif findutils
9162 .PHONY: maybe-installcheck-findutils installcheck-findutils
9163 maybe-installcheck-findutils:
9164 @if findutils
9165 maybe-installcheck-findutils: installcheck-findutils
9167 installcheck-findutils: \
9168 configure-findutils
9169 @: $(MAKE); $(unstage)
9170 @[ -f ./findutils/Makefile ] || exit 0; \
9171 r=`${PWD_COMMAND}`; export r; \
9172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9173 $(HOST_EXPORTS) \
9174 for flag in $(EXTRA_HOST_FLAGS) ; do \
9175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9176 done; \
9177 echo "Doing installcheck in findutils" ; \
9178 (cd $(HOST_SUBDIR)/findutils && \
9179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9181 "RANLIB=$${RANLIB}" \
9182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9183 installcheck) \
9184 || exit 1
9186 @endif findutils
9188 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9189 maybe-mostlyclean-findutils:
9190 @if findutils
9191 maybe-mostlyclean-findutils: mostlyclean-findutils
9193 mostlyclean-findutils:
9194 @: $(MAKE); $(unstage)
9195 @[ -f ./findutils/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 $(HOST_EXPORTS) \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9201 done; \
9202 echo "Doing mostlyclean in findutils" ; \
9203 (cd $(HOST_SUBDIR)/findutils && \
9204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9206 "RANLIB=$${RANLIB}" \
9207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9208 mostlyclean) \
9209 || exit 1
9211 @endif findutils
9213 .PHONY: maybe-clean-findutils clean-findutils
9214 maybe-clean-findutils:
9215 @if findutils
9216 maybe-clean-findutils: clean-findutils
9218 clean-findutils:
9219 @: $(MAKE); $(unstage)
9220 @[ -f ./findutils/Makefile ] || exit 0; \
9221 r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(HOST_EXPORTS) \
9224 for flag in $(EXTRA_HOST_FLAGS) ; do \
9225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9226 done; \
9227 echo "Doing clean in findutils" ; \
9228 (cd $(HOST_SUBDIR)/findutils && \
9229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9231 "RANLIB=$${RANLIB}" \
9232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9233 clean) \
9234 || exit 1
9236 @endif findutils
9238 .PHONY: maybe-distclean-findutils distclean-findutils
9239 maybe-distclean-findutils:
9240 @if findutils
9241 maybe-distclean-findutils: distclean-findutils
9243 distclean-findutils:
9244 @: $(MAKE); $(unstage)
9245 @[ -f ./findutils/Makefile ] || exit 0; \
9246 r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248 $(HOST_EXPORTS) \
9249 for flag in $(EXTRA_HOST_FLAGS) ; do \
9250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9251 done; \
9252 echo "Doing distclean in findutils" ; \
9253 (cd $(HOST_SUBDIR)/findutils && \
9254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9256 "RANLIB=$${RANLIB}" \
9257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9258 distclean) \
9259 || exit 1
9261 @endif findutils
9263 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9264 maybe-maintainer-clean-findutils:
9265 @if findutils
9266 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9268 maintainer-clean-findutils:
9269 @: $(MAKE); $(unstage)
9270 @[ -f ./findutils/Makefile ] || exit 0; \
9271 r=`${PWD_COMMAND}`; export r; \
9272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9273 $(HOST_EXPORTS) \
9274 for flag in $(EXTRA_HOST_FLAGS) ; do \
9275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9276 done; \
9277 echo "Doing maintainer-clean in findutils" ; \
9278 (cd $(HOST_SUBDIR)/findutils && \
9279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9281 "RANLIB=$${RANLIB}" \
9282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9283 maintainer-clean) \
9284 || exit 1
9286 @endif findutils
9290 .PHONY: configure-find maybe-configure-find
9291 maybe-configure-find:
9292 @if find
9293 maybe-configure-find: configure-find
9294 configure-find:
9295 @: $(MAKE); $(unstage)
9296 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9298 r=`${PWD_COMMAND}`; export r; \
9299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 $(HOST_EXPORTS) \
9301 echo Configuring in $(HOST_SUBDIR)/find; \
9302 cd "$(HOST_SUBDIR)/find" || exit 1; \
9303 case $(srcdir) in \
9304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9305 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9307 esac; \
9308 srcdiroption="--srcdir=$${topdir}/find"; \
9309 libsrcdir="$$s/find"; \
9310 $(SHELL) $${libsrcdir}/configure \
9311 $(HOST_CONFIGARGS) $${srcdiroption} \
9312 || exit 1
9313 @endif find
9319 .PHONY: all-find maybe-all-find
9320 maybe-all-find:
9321 @if find
9322 TARGET-find=all
9323 maybe-all-find: all-find
9324 all-find: configure-find
9325 @: $(MAKE); $(unstage)
9326 @r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(HOST_EXPORTS) \
9329 (cd $(HOST_SUBDIR)/find && \
9330 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9331 @endif find
9336 .PHONY: check-find maybe-check-find
9337 maybe-check-find:
9338 @if find
9339 maybe-check-find: check-find
9341 check-find:
9342 @: $(MAKE); $(unstage)
9343 @r=`${PWD_COMMAND}`; export r; \
9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9345 $(HOST_EXPORTS) \
9346 (cd $(HOST_SUBDIR)/find && \
9347 $(MAKE) $(FLAGS_TO_PASS) check)
9349 @endif find
9351 .PHONY: install-find maybe-install-find
9352 maybe-install-find:
9353 @if find
9354 maybe-install-find: install-find
9356 install-find: installdirs
9357 @: $(MAKE); $(unstage)
9358 @r=`${PWD_COMMAND}`; export r; \
9359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9360 $(HOST_EXPORTS) \
9361 (cd $(HOST_SUBDIR)/find && \
9362 $(MAKE) $(FLAGS_TO_PASS) install)
9364 @endif find
9366 # Other targets (info, dvi, etc.)
9368 .PHONY: maybe-info-find info-find
9369 maybe-info-find:
9370 @if find
9371 maybe-info-find: info-find
9373 info-find: \
9374 configure-find
9375 @: $(MAKE); $(unstage)
9376 @[ -f ./find/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(HOST_EXPORTS) \
9380 for flag in $(EXTRA_HOST_FLAGS) ; do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382 done; \
9383 echo "Doing info in find" ; \
9384 (cd $(HOST_SUBDIR)/find && \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387 "RANLIB=$${RANLIB}" \
9388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9389 info) \
9390 || exit 1
9392 @endif find
9394 .PHONY: maybe-dvi-find dvi-find
9395 maybe-dvi-find:
9396 @if find
9397 maybe-dvi-find: dvi-find
9399 dvi-find: \
9400 configure-find
9401 @: $(MAKE); $(unstage)
9402 @[ -f ./find/Makefile ] || exit 0; \
9403 r=`${PWD_COMMAND}`; export r; \
9404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9405 $(HOST_EXPORTS) \
9406 for flag in $(EXTRA_HOST_FLAGS) ; do \
9407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9408 done; \
9409 echo "Doing dvi in find" ; \
9410 (cd $(HOST_SUBDIR)/find && \
9411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9413 "RANLIB=$${RANLIB}" \
9414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9415 dvi) \
9416 || exit 1
9418 @endif find
9420 .PHONY: maybe-html-find html-find
9421 maybe-html-find:
9422 @if find
9423 maybe-html-find: html-find
9425 html-find: \
9426 configure-find
9427 @: $(MAKE); $(unstage)
9428 @[ -f ./find/Makefile ] || exit 0; \
9429 r=`${PWD_COMMAND}`; export r; \
9430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9431 $(HOST_EXPORTS) \
9432 for flag in $(EXTRA_HOST_FLAGS) ; do \
9433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9434 done; \
9435 echo "Doing html in find" ; \
9436 (cd $(HOST_SUBDIR)/find && \
9437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9439 "RANLIB=$${RANLIB}" \
9440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9441 html) \
9442 || exit 1
9444 @endif find
9446 .PHONY: maybe-TAGS-find TAGS-find
9447 maybe-TAGS-find:
9448 @if find
9449 maybe-TAGS-find: TAGS-find
9451 TAGS-find: \
9452 configure-find
9453 @: $(MAKE); $(unstage)
9454 @[ -f ./find/Makefile ] || exit 0; \
9455 r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9457 $(HOST_EXPORTS) \
9458 for flag in $(EXTRA_HOST_FLAGS) ; do \
9459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9460 done; \
9461 echo "Doing TAGS in find" ; \
9462 (cd $(HOST_SUBDIR)/find && \
9463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9465 "RANLIB=$${RANLIB}" \
9466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9467 TAGS) \
9468 || exit 1
9470 @endif find
9472 .PHONY: maybe-install-info-find install-info-find
9473 maybe-install-info-find:
9474 @if find
9475 maybe-install-info-find: install-info-find
9477 install-info-find: \
9478 configure-find \
9479 info-find
9480 @: $(MAKE); $(unstage)
9481 @[ -f ./find/Makefile ] || exit 0; \
9482 r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 for flag in $(EXTRA_HOST_FLAGS) ; do \
9486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 done; \
9488 echo "Doing install-info in find" ; \
9489 (cd $(HOST_SUBDIR)/find && \
9490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9492 "RANLIB=$${RANLIB}" \
9493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9494 install-info) \
9495 || exit 1
9497 @endif find
9499 .PHONY: maybe-installcheck-find installcheck-find
9500 maybe-installcheck-find:
9501 @if find
9502 maybe-installcheck-find: installcheck-find
9504 installcheck-find: \
9505 configure-find
9506 @: $(MAKE); $(unstage)
9507 @[ -f ./find/Makefile ] || exit 0; \
9508 r=`${PWD_COMMAND}`; export r; \
9509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9510 $(HOST_EXPORTS) \
9511 for flag in $(EXTRA_HOST_FLAGS) ; do \
9512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9513 done; \
9514 echo "Doing installcheck in find" ; \
9515 (cd $(HOST_SUBDIR)/find && \
9516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9518 "RANLIB=$${RANLIB}" \
9519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9520 installcheck) \
9521 || exit 1
9523 @endif find
9525 .PHONY: maybe-mostlyclean-find mostlyclean-find
9526 maybe-mostlyclean-find:
9527 @if find
9528 maybe-mostlyclean-find: mostlyclean-find
9530 mostlyclean-find:
9531 @: $(MAKE); $(unstage)
9532 @[ -f ./find/Makefile ] || exit 0; \
9533 r=`${PWD_COMMAND}`; export r; \
9534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9535 $(HOST_EXPORTS) \
9536 for flag in $(EXTRA_HOST_FLAGS) ; do \
9537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9538 done; \
9539 echo "Doing mostlyclean in find" ; \
9540 (cd $(HOST_SUBDIR)/find && \
9541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9543 "RANLIB=$${RANLIB}" \
9544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9545 mostlyclean) \
9546 || exit 1
9548 @endif find
9550 .PHONY: maybe-clean-find clean-find
9551 maybe-clean-find:
9552 @if find
9553 maybe-clean-find: clean-find
9555 clean-find:
9556 @: $(MAKE); $(unstage)
9557 @[ -f ./find/Makefile ] || exit 0; \
9558 r=`${PWD_COMMAND}`; export r; \
9559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9560 $(HOST_EXPORTS) \
9561 for flag in $(EXTRA_HOST_FLAGS) ; do \
9562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9563 done; \
9564 echo "Doing clean in find" ; \
9565 (cd $(HOST_SUBDIR)/find && \
9566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9568 "RANLIB=$${RANLIB}" \
9569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9570 clean) \
9571 || exit 1
9573 @endif find
9575 .PHONY: maybe-distclean-find distclean-find
9576 maybe-distclean-find:
9577 @if find
9578 maybe-distclean-find: distclean-find
9580 distclean-find:
9581 @: $(MAKE); $(unstage)
9582 @[ -f ./find/Makefile ] || exit 0; \
9583 r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 $(HOST_EXPORTS) \
9586 for flag in $(EXTRA_HOST_FLAGS) ; do \
9587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9588 done; \
9589 echo "Doing distclean in find" ; \
9590 (cd $(HOST_SUBDIR)/find && \
9591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9593 "RANLIB=$${RANLIB}" \
9594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9595 distclean) \
9596 || exit 1
9598 @endif find
9600 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9601 maybe-maintainer-clean-find:
9602 @if find
9603 maybe-maintainer-clean-find: maintainer-clean-find
9605 maintainer-clean-find:
9606 @: $(MAKE); $(unstage)
9607 @[ -f ./find/Makefile ] || exit 0; \
9608 r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9610 $(HOST_EXPORTS) \
9611 for flag in $(EXTRA_HOST_FLAGS) ; do \
9612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9613 done; \
9614 echo "Doing maintainer-clean in find" ; \
9615 (cd $(HOST_SUBDIR)/find && \
9616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9618 "RANLIB=$${RANLIB}" \
9619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9620 maintainer-clean) \
9621 || exit 1
9623 @endif find
9627 .PHONY: configure-fixincludes maybe-configure-fixincludes
9628 maybe-configure-fixincludes:
9629 @if fixincludes
9630 maybe-configure-fixincludes: configure-fixincludes
9631 configure-fixincludes:
9632 @: $(MAKE); $(unstage)
9633 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9635 r=`${PWD_COMMAND}`; export r; \
9636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9637 $(HOST_EXPORTS) \
9638 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9639 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9640 case $(srcdir) in \
9641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9642 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9644 esac; \
9645 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9646 libsrcdir="$$s/fixincludes"; \
9647 $(SHELL) $${libsrcdir}/configure \
9648 $(HOST_CONFIGARGS) $${srcdiroption} \
9649 || exit 1
9650 @endif fixincludes
9656 .PHONY: all-fixincludes maybe-all-fixincludes
9657 maybe-all-fixincludes:
9658 @if fixincludes
9659 TARGET-fixincludes=all
9660 maybe-all-fixincludes: all-fixincludes
9661 all-fixincludes: configure-fixincludes
9662 @: $(MAKE); $(unstage)
9663 @r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665 $(HOST_EXPORTS) \
9666 (cd $(HOST_SUBDIR)/fixincludes && \
9667 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9668 @endif fixincludes
9673 .PHONY: check-fixincludes maybe-check-fixincludes
9674 maybe-check-fixincludes:
9675 @if fixincludes
9676 maybe-check-fixincludes: check-fixincludes
9678 check-fixincludes:
9679 @: $(MAKE); $(unstage)
9680 @r=`${PWD_COMMAND}`; export r; \
9681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9682 $(HOST_EXPORTS) \
9683 (cd $(HOST_SUBDIR)/fixincludes && \
9684 $(MAKE) $(FLAGS_TO_PASS) check)
9686 @endif fixincludes
9688 .PHONY: install-fixincludes maybe-install-fixincludes
9689 maybe-install-fixincludes:
9690 @if fixincludes
9691 maybe-install-fixincludes: install-fixincludes
9693 install-fixincludes: installdirs
9694 @: $(MAKE); $(unstage)
9695 @r=`${PWD_COMMAND}`; export r; \
9696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9697 $(HOST_EXPORTS) \
9698 (cd $(HOST_SUBDIR)/fixincludes && \
9699 $(MAKE) $(FLAGS_TO_PASS) install)
9701 @endif fixincludes
9703 # Other targets (info, dvi, etc.)
9705 .PHONY: maybe-info-fixincludes info-fixincludes
9706 maybe-info-fixincludes:
9707 @if fixincludes
9708 maybe-info-fixincludes: info-fixincludes
9710 # fixincludes doesn't support info.
9711 info-fixincludes:
9713 @endif fixincludes
9715 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9716 maybe-dvi-fixincludes:
9717 @if fixincludes
9718 maybe-dvi-fixincludes: dvi-fixincludes
9720 # fixincludes doesn't support dvi.
9721 dvi-fixincludes:
9723 @endif fixincludes
9725 .PHONY: maybe-html-fixincludes html-fixincludes
9726 maybe-html-fixincludes:
9727 @if fixincludes
9728 maybe-html-fixincludes: html-fixincludes
9730 html-fixincludes: \
9731 configure-fixincludes
9732 @: $(MAKE); $(unstage)
9733 @[ -f ./fixincludes/Makefile ] || exit 0; \
9734 r=`${PWD_COMMAND}`; export r; \
9735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9736 $(HOST_EXPORTS) \
9737 for flag in $(EXTRA_HOST_FLAGS) ; do \
9738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9739 done; \
9740 echo "Doing html in fixincludes" ; \
9741 (cd $(HOST_SUBDIR)/fixincludes && \
9742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9744 "RANLIB=$${RANLIB}" \
9745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9746 html) \
9747 || exit 1
9749 @endif fixincludes
9751 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9752 maybe-TAGS-fixincludes:
9753 @if fixincludes
9754 maybe-TAGS-fixincludes: TAGS-fixincludes
9756 # fixincludes doesn't support TAGS.
9757 TAGS-fixincludes:
9759 @endif fixincludes
9761 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9762 maybe-install-info-fixincludes:
9763 @if fixincludes
9764 maybe-install-info-fixincludes: install-info-fixincludes
9766 # fixincludes doesn't support install-info.
9767 install-info-fixincludes:
9769 @endif fixincludes
9771 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9772 maybe-installcheck-fixincludes:
9773 @if fixincludes
9774 maybe-installcheck-fixincludes: installcheck-fixincludes
9776 # fixincludes doesn't support installcheck.
9777 installcheck-fixincludes:
9779 @endif fixincludes
9781 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9782 maybe-mostlyclean-fixincludes:
9783 @if fixincludes
9784 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9786 mostlyclean-fixincludes:
9787 @: $(MAKE); $(unstage)
9788 @[ -f ./fixincludes/Makefile ] || exit 0; \
9789 r=`${PWD_COMMAND}`; export r; \
9790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9791 $(HOST_EXPORTS) \
9792 for flag in $(EXTRA_HOST_FLAGS) ; do \
9793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9794 done; \
9795 echo "Doing mostlyclean in fixincludes" ; \
9796 (cd $(HOST_SUBDIR)/fixincludes && \
9797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9799 "RANLIB=$${RANLIB}" \
9800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9801 mostlyclean) \
9802 || exit 1
9804 @endif fixincludes
9806 .PHONY: maybe-clean-fixincludes clean-fixincludes
9807 maybe-clean-fixincludes:
9808 @if fixincludes
9809 maybe-clean-fixincludes: clean-fixincludes
9811 clean-fixincludes:
9812 @: $(MAKE); $(unstage)
9813 @[ -f ./fixincludes/Makefile ] || exit 0; \
9814 r=`${PWD_COMMAND}`; export r; \
9815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9816 $(HOST_EXPORTS) \
9817 for flag in $(EXTRA_HOST_FLAGS) ; do \
9818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9819 done; \
9820 echo "Doing clean in fixincludes" ; \
9821 (cd $(HOST_SUBDIR)/fixincludes && \
9822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9824 "RANLIB=$${RANLIB}" \
9825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9826 clean) \
9827 || exit 1
9829 @endif fixincludes
9831 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9832 maybe-distclean-fixincludes:
9833 @if fixincludes
9834 maybe-distclean-fixincludes: distclean-fixincludes
9836 distclean-fixincludes:
9837 @: $(MAKE); $(unstage)
9838 @[ -f ./fixincludes/Makefile ] || exit 0; \
9839 r=`${PWD_COMMAND}`; export r; \
9840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9841 $(HOST_EXPORTS) \
9842 for flag in $(EXTRA_HOST_FLAGS) ; do \
9843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9844 done; \
9845 echo "Doing distclean in fixincludes" ; \
9846 (cd $(HOST_SUBDIR)/fixincludes && \
9847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9849 "RANLIB=$${RANLIB}" \
9850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9851 distclean) \
9852 || exit 1
9854 @endif fixincludes
9856 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9857 maybe-maintainer-clean-fixincludes:
9858 @if fixincludes
9859 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9861 maintainer-clean-fixincludes:
9862 @: $(MAKE); $(unstage)
9863 @[ -f ./fixincludes/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 maintainer-clean in fixincludes" ; \
9871 (cd $(HOST_SUBDIR)/fixincludes && \
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 maintainer-clean) \
9877 || exit 1
9879 @endif fixincludes
9883 .PHONY: configure-flex maybe-configure-flex
9884 maybe-configure-flex:
9885 @if flex
9886 maybe-configure-flex: configure-flex
9887 configure-flex:
9888 @: $(MAKE); $(unstage)
9889 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9891 r=`${PWD_COMMAND}`; export r; \
9892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893 $(HOST_EXPORTS) \
9894 echo Configuring in $(HOST_SUBDIR)/flex; \
9895 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9896 case $(srcdir) in \
9897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9898 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9900 esac; \
9901 srcdiroption="--srcdir=$${topdir}/flex"; \
9902 libsrcdir="$$s/flex"; \
9903 $(SHELL) $${libsrcdir}/configure \
9904 $(HOST_CONFIGARGS) $${srcdiroption} \
9905 || exit 1
9906 @endif flex
9912 .PHONY: all-flex maybe-all-flex
9913 maybe-all-flex:
9914 @if flex
9915 TARGET-flex=all
9916 maybe-all-flex: all-flex
9917 all-flex: configure-flex
9918 @: $(MAKE); $(unstage)
9919 @r=`${PWD_COMMAND}`; export r; \
9920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9921 $(HOST_EXPORTS) \
9922 (cd $(HOST_SUBDIR)/flex && \
9923 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9924 @endif flex
9929 .PHONY: check-flex maybe-check-flex
9930 maybe-check-flex:
9931 @if flex
9932 maybe-check-flex: check-flex
9934 # This module is only tested in a native toolchain.
9935 check-flex:
9936 @: $(MAKE); $(unstage)
9937 @if [ '$(host)' = '$(target)' ] ; then \
9938 r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 $(HOST_EXPORTS) \
9941 (cd $(HOST_SUBDIR)/flex && \
9942 $(MAKE) $(FLAGS_TO_PASS) check); \
9945 @endif flex
9947 .PHONY: install-flex maybe-install-flex
9948 maybe-install-flex:
9949 @if flex
9950 maybe-install-flex: install-flex
9952 install-flex: installdirs
9953 @: $(MAKE); $(unstage)
9954 @r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 $(HOST_EXPORTS) \
9957 (cd $(HOST_SUBDIR)/flex && \
9958 $(MAKE) $(FLAGS_TO_PASS) install)
9960 @endif flex
9962 # Other targets (info, dvi, etc.)
9964 .PHONY: maybe-info-flex info-flex
9965 maybe-info-flex:
9966 @if flex
9967 maybe-info-flex: info-flex
9969 info-flex: \
9970 configure-flex
9971 @: $(MAKE); $(unstage)
9972 @[ -f ./flex/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(HOST_EXPORTS) \
9976 for flag in $(EXTRA_HOST_FLAGS) ; do \
9977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9978 done; \
9979 echo "Doing info in flex" ; \
9980 (cd $(HOST_SUBDIR)/flex && \
9981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9983 "RANLIB=$${RANLIB}" \
9984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9985 info) \
9986 || exit 1
9988 @endif flex
9990 .PHONY: maybe-dvi-flex dvi-flex
9991 maybe-dvi-flex:
9992 @if flex
9993 maybe-dvi-flex: dvi-flex
9995 dvi-flex: \
9996 configure-flex
9997 @: $(MAKE); $(unstage)
9998 @[ -f ./flex/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing dvi in flex" ; \
10006 (cd $(HOST_SUBDIR)/flex && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 dvi) \
10012 || exit 1
10014 @endif flex
10016 .PHONY: maybe-html-flex html-flex
10017 maybe-html-flex:
10018 @if flex
10019 maybe-html-flex: html-flex
10021 html-flex: \
10022 configure-flex
10023 @: $(MAKE); $(unstage)
10024 @[ -f ./flex/Makefile ] || exit 0; \
10025 r=`${PWD_COMMAND}`; export r; \
10026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10027 $(HOST_EXPORTS) \
10028 for flag in $(EXTRA_HOST_FLAGS) ; do \
10029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10030 done; \
10031 echo "Doing html in flex" ; \
10032 (cd $(HOST_SUBDIR)/flex && \
10033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10035 "RANLIB=$${RANLIB}" \
10036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10037 html) \
10038 || exit 1
10040 @endif flex
10042 .PHONY: maybe-TAGS-flex TAGS-flex
10043 maybe-TAGS-flex:
10044 @if flex
10045 maybe-TAGS-flex: TAGS-flex
10047 TAGS-flex: \
10048 configure-flex
10049 @: $(MAKE); $(unstage)
10050 @[ -f ./flex/Makefile ] || exit 0; \
10051 r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10053 $(HOST_EXPORTS) \
10054 for flag in $(EXTRA_HOST_FLAGS) ; do \
10055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10056 done; \
10057 echo "Doing TAGS in flex" ; \
10058 (cd $(HOST_SUBDIR)/flex && \
10059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10061 "RANLIB=$${RANLIB}" \
10062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10063 TAGS) \
10064 || exit 1
10066 @endif flex
10068 .PHONY: maybe-install-info-flex install-info-flex
10069 maybe-install-info-flex:
10070 @if flex
10071 maybe-install-info-flex: install-info-flex
10073 install-info-flex: \
10074 configure-flex \
10075 info-flex
10076 @: $(MAKE); $(unstage)
10077 @[ -f ./flex/Makefile ] || exit 0; \
10078 r=`${PWD_COMMAND}`; export r; \
10079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10080 $(HOST_EXPORTS) \
10081 for flag in $(EXTRA_HOST_FLAGS) ; do \
10082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10083 done; \
10084 echo "Doing install-info in flex" ; \
10085 (cd $(HOST_SUBDIR)/flex && \
10086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10088 "RANLIB=$${RANLIB}" \
10089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10090 install-info) \
10091 || exit 1
10093 @endif flex
10095 .PHONY: maybe-installcheck-flex installcheck-flex
10096 maybe-installcheck-flex:
10097 @if flex
10098 maybe-installcheck-flex: installcheck-flex
10100 installcheck-flex: \
10101 configure-flex
10102 @: $(MAKE); $(unstage)
10103 @[ -f ./flex/Makefile ] || exit 0; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(HOST_EXPORTS) \
10107 for flag in $(EXTRA_HOST_FLAGS) ; do \
10108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10109 done; \
10110 echo "Doing installcheck in flex" ; \
10111 (cd $(HOST_SUBDIR)/flex && \
10112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10114 "RANLIB=$${RANLIB}" \
10115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10116 installcheck) \
10117 || exit 1
10119 @endif flex
10121 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10122 maybe-mostlyclean-flex:
10123 @if flex
10124 maybe-mostlyclean-flex: mostlyclean-flex
10126 mostlyclean-flex:
10127 @: $(MAKE); $(unstage)
10128 @[ -f ./flex/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 for flag in $(EXTRA_HOST_FLAGS) ; do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 done; \
10135 echo "Doing mostlyclean in flex" ; \
10136 (cd $(HOST_SUBDIR)/flex && \
10137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10139 "RANLIB=$${RANLIB}" \
10140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10141 mostlyclean) \
10142 || exit 1
10144 @endif flex
10146 .PHONY: maybe-clean-flex clean-flex
10147 maybe-clean-flex:
10148 @if flex
10149 maybe-clean-flex: clean-flex
10151 clean-flex:
10152 @: $(MAKE); $(unstage)
10153 @[ -f ./flex/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) ; do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing clean in flex" ; \
10161 (cd $(HOST_SUBDIR)/flex && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10166 clean) \
10167 || exit 1
10169 @endif flex
10171 .PHONY: maybe-distclean-flex distclean-flex
10172 maybe-distclean-flex:
10173 @if flex
10174 maybe-distclean-flex: distclean-flex
10176 distclean-flex:
10177 @: $(MAKE); $(unstage)
10178 @[ -f ./flex/Makefile ] || exit 0; \
10179 r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(HOST_EXPORTS) \
10182 for flag in $(EXTRA_HOST_FLAGS) ; do \
10183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10184 done; \
10185 echo "Doing distclean in flex" ; \
10186 (cd $(HOST_SUBDIR)/flex && \
10187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10189 "RANLIB=$${RANLIB}" \
10190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10191 distclean) \
10192 || exit 1
10194 @endif flex
10196 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10197 maybe-maintainer-clean-flex:
10198 @if flex
10199 maybe-maintainer-clean-flex: maintainer-clean-flex
10201 maintainer-clean-flex:
10202 @: $(MAKE); $(unstage)
10203 @[ -f ./flex/Makefile ] || exit 0; \
10204 r=`${PWD_COMMAND}`; export r; \
10205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10206 $(HOST_EXPORTS) \
10207 for flag in $(EXTRA_HOST_FLAGS) ; do \
10208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10209 done; \
10210 echo "Doing maintainer-clean in flex" ; \
10211 (cd $(HOST_SUBDIR)/flex && \
10212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10214 "RANLIB=$${RANLIB}" \
10215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10216 maintainer-clean) \
10217 || exit 1
10219 @endif flex
10223 .PHONY: configure-gas maybe-configure-gas
10224 maybe-configure-gas:
10225 @if gas
10226 maybe-configure-gas: configure-gas
10227 configure-gas:
10228 @test -f stage_last && exit 0; \
10229 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10231 r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10233 $(HOST_EXPORTS) \
10234 echo Configuring in $(HOST_SUBDIR)/gas; \
10235 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10236 case $(srcdir) in \
10237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10238 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10240 esac; \
10241 srcdiroption="--srcdir=$${topdir}/gas"; \
10242 libsrcdir="$$s/gas"; \
10243 $(SHELL) $${libsrcdir}/configure \
10244 $(HOST_CONFIGARGS) $${srcdiroption} \
10245 || exit 1
10246 @endif gas
10250 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10251 maybe-configure-stage1-gas:
10252 @if gas-bootstrap
10253 maybe-configure-stage1-gas: configure-stage1-gas
10254 configure-stage1-gas:
10255 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10256 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10257 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10258 $(HOST_EXPORTS) \
10259 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10261 cd $(HOST_SUBDIR)/gas || exit 1; \
10262 case $(srcdir) in \
10263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10264 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10266 esac; \
10267 srcdiroption="--srcdir=$${topdir}/gas"; \
10268 libsrcdir="$$s/gas"; \
10269 $(SHELL) $${libsrcdir}/configure \
10270 $(HOST_CONFIGARGS) $${srcdiroption} \
10271 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10272 @endif gas-bootstrap
10274 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10275 maybe-configure-stage2-gas:
10276 @if gas-bootstrap
10277 maybe-configure-stage2-gas: configure-stage2-gas
10278 configure-stage2-gas:
10279 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10281 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10282 $(HOST_EXPORTS) \
10283 $(POSTSTAGE1_HOST_EXPORTS) \
10284 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10286 cd $(HOST_SUBDIR)/gas || exit 1; \
10287 case $(srcdir) in \
10288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10289 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10291 esac; \
10292 srcdiroption="--srcdir=$${topdir}/gas"; \
10293 libsrcdir="$$s/gas"; \
10294 $(SHELL) $${libsrcdir}/configure \
10295 $(HOST_CONFIGARGS) $${srcdiroption} \
10296 @stage2_werror_flag@
10297 @endif gas-bootstrap
10299 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10300 maybe-configure-stage3-gas:
10301 @if gas-bootstrap
10302 maybe-configure-stage3-gas: configure-stage3-gas
10303 configure-stage3-gas:
10304 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10306 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10307 $(HOST_EXPORTS) \
10308 $(POSTSTAGE1_HOST_EXPORTS) \
10309 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10311 cd $(HOST_SUBDIR)/gas || exit 1; \
10312 case $(srcdir) in \
10313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10314 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10316 esac; \
10317 srcdiroption="--srcdir=$${topdir}/gas"; \
10318 libsrcdir="$$s/gas"; \
10319 $(SHELL) $${libsrcdir}/configure \
10320 $(HOST_CONFIGARGS) $${srcdiroption} \
10321 @stage2_werror_flag@
10322 @endif gas-bootstrap
10324 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10325 maybe-configure-stage4-gas:
10326 @if gas-bootstrap
10327 maybe-configure-stage4-gas: configure-stage4-gas
10328 configure-stage4-gas:
10329 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10331 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10332 $(HOST_EXPORTS) \
10333 $(POSTSTAGE1_HOST_EXPORTS) \
10334 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10336 cd $(HOST_SUBDIR)/gas || exit 1; \
10337 case $(srcdir) in \
10338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10339 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10341 esac; \
10342 srcdiroption="--srcdir=$${topdir}/gas"; \
10343 libsrcdir="$$s/gas"; \
10344 $(SHELL) $${libsrcdir}/configure \
10345 $(HOST_CONFIGARGS) $${srcdiroption} \
10346 @stage2_werror_flag@
10347 @endif gas-bootstrap
10349 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10350 maybe-configure-stageprofile-gas:
10351 @if gas-bootstrap
10352 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10353 configure-stageprofile-gas:
10354 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10356 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10357 $(HOST_EXPORTS) \
10358 $(POSTSTAGE1_HOST_EXPORTS) \
10359 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10361 cd $(HOST_SUBDIR)/gas || exit 1; \
10362 case $(srcdir) in \
10363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10364 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10366 esac; \
10367 srcdiroption="--srcdir=$${topdir}/gas"; \
10368 libsrcdir="$$s/gas"; \
10369 $(SHELL) $${libsrcdir}/configure \
10370 $(HOST_CONFIGARGS) $${srcdiroption} \
10371 @stage2_werror_flag@
10372 @endif gas-bootstrap
10374 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10375 maybe-configure-stagefeedback-gas:
10376 @if gas-bootstrap
10377 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10378 configure-stagefeedback-gas:
10379 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10380 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10381 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10382 $(HOST_EXPORTS) \
10383 $(POSTSTAGE1_HOST_EXPORTS) \
10384 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10386 cd $(HOST_SUBDIR)/gas || exit 1; \
10387 case $(srcdir) in \
10388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10389 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10391 esac; \
10392 srcdiroption="--srcdir=$${topdir}/gas"; \
10393 libsrcdir="$$s/gas"; \
10394 $(SHELL) $${libsrcdir}/configure \
10395 $(HOST_CONFIGARGS) $${srcdiroption} \
10396 @stage2_werror_flag@
10397 @endif gas-bootstrap
10403 .PHONY: all-gas maybe-all-gas
10404 maybe-all-gas:
10405 @if gas
10406 TARGET-gas=all
10407 maybe-all-gas: all-gas
10408 all-gas: configure-gas
10409 @test -f stage_last && exit 0; \
10410 r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(HOST_EXPORTS) \
10413 (cd $(HOST_SUBDIR)/gas && \
10414 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10415 @endif gas
10419 .PHONY: all-stage1-gas maybe-all-stage1-gas
10420 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10421 maybe-all-stage1-gas:
10422 maybe-clean-stage1-gas:
10423 @if gas-bootstrap
10424 maybe-all-stage1-gas: all-stage1-gas
10425 all-stage1: all-stage1-gas
10426 TARGET-stage1-gas = $(TARGET-gas)
10427 all-stage1-gas: configure-stage1-gas
10428 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10429 @r=`${PWD_COMMAND}`; export r; \
10430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10431 $(HOST_EXPORTS) \
10432 cd $(HOST_SUBDIR)/gas && \
10433 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10434 $(TARGET-stage1-gas)
10436 maybe-clean-stage1-gas: clean-stage1-gas
10437 clean-stage1: clean-stage1-gas
10438 clean-stage1-gas:
10439 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10440 || exit 0 ; \
10441 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10442 cd $(HOST_SUBDIR)/gas && \
10443 $(MAKE) $(FLAGS_TO_PASS) \
10444 CFLAGS="$(STAGE1_CFLAGS)" clean
10445 @endif gas-bootstrap
10448 .PHONY: all-stage2-gas maybe-all-stage2-gas
10449 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10450 maybe-all-stage2-gas:
10451 maybe-clean-stage2-gas:
10452 @if gas-bootstrap
10453 maybe-all-stage2-gas: all-stage2-gas
10454 all-stage2: all-stage2-gas
10455 TARGET-stage2-gas = $(TARGET-gas)
10456 all-stage2-gas: configure-stage2-gas
10457 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10458 @r=`${PWD_COMMAND}`; export r; \
10459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10460 $(HOST_EXPORTS) \
10461 $(POSTSTAGE1_HOST_EXPORTS) \
10462 cd $(HOST_SUBDIR)/gas && \
10463 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10464 $(TARGET-stage2-gas)
10466 maybe-clean-stage2-gas: clean-stage2-gas
10467 clean-stage2: clean-stage2-gas
10468 clean-stage2-gas:
10469 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10470 || exit 0 ; \
10471 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10472 cd $(HOST_SUBDIR)/gas && \
10473 $(MAKE) $(FLAGS_TO_PASS) \
10474 $(POSTSTAGE1_FLAGS_TO_PASS) \
10475 clean
10476 @endif gas-bootstrap
10479 .PHONY: all-stage3-gas maybe-all-stage3-gas
10480 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10481 maybe-all-stage3-gas:
10482 maybe-clean-stage3-gas:
10483 @if gas-bootstrap
10484 maybe-all-stage3-gas: all-stage3-gas
10485 all-stage3: all-stage3-gas
10486 TARGET-stage3-gas = $(TARGET-gas)
10487 all-stage3-gas: configure-stage3-gas
10488 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10489 @r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 $(HOST_EXPORTS) \
10492 $(POSTSTAGE1_HOST_EXPORTS) \
10493 cd $(HOST_SUBDIR)/gas && \
10494 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10495 $(TARGET-stage3-gas)
10497 maybe-clean-stage3-gas: clean-stage3-gas
10498 clean-stage3: clean-stage3-gas
10499 clean-stage3-gas:
10500 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10501 || exit 0 ; \
10502 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10503 cd $(HOST_SUBDIR)/gas && \
10504 $(MAKE) $(FLAGS_TO_PASS) \
10505 $(POSTSTAGE1_FLAGS_TO_PASS) \
10506 clean
10507 @endif gas-bootstrap
10510 .PHONY: all-stage4-gas maybe-all-stage4-gas
10511 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10512 maybe-all-stage4-gas:
10513 maybe-clean-stage4-gas:
10514 @if gas-bootstrap
10515 maybe-all-stage4-gas: all-stage4-gas
10516 all-stage4: all-stage4-gas
10517 TARGET-stage4-gas = $(TARGET-gas)
10518 all-stage4-gas: configure-stage4-gas
10519 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10520 @r=`${PWD_COMMAND}`; export r; \
10521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10522 $(HOST_EXPORTS) \
10523 $(POSTSTAGE1_HOST_EXPORTS) \
10524 cd $(HOST_SUBDIR)/gas && \
10525 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10526 $(TARGET-stage4-gas)
10528 maybe-clean-stage4-gas: clean-stage4-gas
10529 clean-stage4: clean-stage4-gas
10530 clean-stage4-gas:
10531 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10532 || exit 0 ; \
10533 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10534 cd $(HOST_SUBDIR)/gas && \
10535 $(MAKE) $(FLAGS_TO_PASS) \
10536 $(POSTSTAGE1_FLAGS_TO_PASS) \
10537 clean
10538 @endif gas-bootstrap
10541 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10542 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10543 maybe-all-stageprofile-gas:
10544 maybe-clean-stageprofile-gas:
10545 @if gas-bootstrap
10546 maybe-all-stageprofile-gas: all-stageprofile-gas
10547 all-stageprofile: all-stageprofile-gas
10548 TARGET-stageprofile-gas = $(TARGET-gas)
10549 all-stageprofile-gas: configure-stageprofile-gas
10550 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10551 @r=`${PWD_COMMAND}`; export r; \
10552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10553 $(HOST_EXPORTS) \
10554 $(POSTSTAGE1_HOST_EXPORTS) \
10555 cd $(HOST_SUBDIR)/gas && \
10556 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10557 $(TARGET-stageprofile-gas)
10559 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10560 clean-stageprofile: clean-stageprofile-gas
10561 clean-stageprofile-gas:
10562 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10563 || exit 0 ; \
10564 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10565 cd $(HOST_SUBDIR)/gas && \
10566 $(MAKE) $(FLAGS_TO_PASS) \
10567 $(POSTSTAGE1_FLAGS_TO_PASS) \
10568 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10569 @endif gas-bootstrap
10572 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10573 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10574 maybe-all-stagefeedback-gas:
10575 maybe-clean-stagefeedback-gas:
10576 @if gas-bootstrap
10577 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10578 all-stagefeedback: all-stagefeedback-gas
10579 TARGET-stagefeedback-gas = $(TARGET-gas)
10580 all-stagefeedback-gas: configure-stagefeedback-gas
10581 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10582 @r=`${PWD_COMMAND}`; export r; \
10583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10584 $(HOST_EXPORTS) \
10585 $(POSTSTAGE1_HOST_EXPORTS) \
10586 cd $(HOST_SUBDIR)/gas && \
10587 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10588 $(TARGET-stagefeedback-gas)
10590 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10591 clean-stagefeedback: clean-stagefeedback-gas
10592 clean-stagefeedback-gas:
10593 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10594 || exit 0 ; \
10595 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10596 cd $(HOST_SUBDIR)/gas && \
10597 $(MAKE) $(FLAGS_TO_PASS) \
10598 $(POSTSTAGE1_FLAGS_TO_PASS) \
10599 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10600 @endif gas-bootstrap
10606 .PHONY: check-gas maybe-check-gas
10607 maybe-check-gas:
10608 @if gas
10609 maybe-check-gas: check-gas
10611 check-gas:
10612 @: $(MAKE); $(unstage)
10613 @r=`${PWD_COMMAND}`; export r; \
10614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10615 $(HOST_EXPORTS) \
10616 (cd $(HOST_SUBDIR)/gas && \
10617 $(MAKE) $(FLAGS_TO_PASS) check)
10619 @endif gas
10621 .PHONY: install-gas maybe-install-gas
10622 maybe-install-gas:
10623 @if gas
10624 maybe-install-gas: install-gas
10626 install-gas: installdirs
10627 @: $(MAKE); $(unstage)
10628 @r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 $(HOST_EXPORTS) \
10631 (cd $(HOST_SUBDIR)/gas && \
10632 $(MAKE) $(FLAGS_TO_PASS) install)
10634 @endif gas
10636 # Other targets (info, dvi, etc.)
10638 .PHONY: maybe-info-gas info-gas
10639 maybe-info-gas:
10640 @if gas
10641 maybe-info-gas: info-gas
10643 info-gas: \
10644 configure-gas
10645 @[ -f ./gas/Makefile ] || exit 0; \
10646 r=`${PWD_COMMAND}`; export r; \
10647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10648 $(HOST_EXPORTS) \
10649 for flag in $(EXTRA_HOST_FLAGS) ; do \
10650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10651 done; \
10652 echo "Doing info in gas" ; \
10653 (cd $(HOST_SUBDIR)/gas && \
10654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10656 "RANLIB=$${RANLIB}" \
10657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10658 info) \
10659 || exit 1
10661 @endif gas
10663 .PHONY: maybe-dvi-gas dvi-gas
10664 maybe-dvi-gas:
10665 @if gas
10666 maybe-dvi-gas: dvi-gas
10668 dvi-gas: \
10669 configure-gas
10670 @[ -f ./gas/Makefile ] || exit 0; \
10671 r=`${PWD_COMMAND}`; export r; \
10672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673 $(HOST_EXPORTS) \
10674 for flag in $(EXTRA_HOST_FLAGS) ; do \
10675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10676 done; \
10677 echo "Doing dvi in gas" ; \
10678 (cd $(HOST_SUBDIR)/gas && \
10679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10681 "RANLIB=$${RANLIB}" \
10682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10683 dvi) \
10684 || exit 1
10686 @endif gas
10688 .PHONY: maybe-html-gas html-gas
10689 maybe-html-gas:
10690 @if gas
10691 maybe-html-gas: html-gas
10693 html-gas: \
10694 configure-gas
10695 @[ -f ./gas/Makefile ] || exit 0; \
10696 r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 $(HOST_EXPORTS) \
10699 for flag in $(EXTRA_HOST_FLAGS) ; do \
10700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10701 done; \
10702 echo "Doing html in gas" ; \
10703 (cd $(HOST_SUBDIR)/gas && \
10704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10706 "RANLIB=$${RANLIB}" \
10707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10708 html) \
10709 || exit 1
10711 @endif gas
10713 .PHONY: maybe-TAGS-gas TAGS-gas
10714 maybe-TAGS-gas:
10715 @if gas
10716 maybe-TAGS-gas: TAGS-gas
10718 TAGS-gas: \
10719 configure-gas
10720 @[ -f ./gas/Makefile ] || exit 0; \
10721 r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723 $(HOST_EXPORTS) \
10724 for flag in $(EXTRA_HOST_FLAGS) ; do \
10725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10726 done; \
10727 echo "Doing TAGS in gas" ; \
10728 (cd $(HOST_SUBDIR)/gas && \
10729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10731 "RANLIB=$${RANLIB}" \
10732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10733 TAGS) \
10734 || exit 1
10736 @endif gas
10738 .PHONY: maybe-install-info-gas install-info-gas
10739 maybe-install-info-gas:
10740 @if gas
10741 maybe-install-info-gas: install-info-gas
10743 install-info-gas: \
10744 configure-gas \
10745 info-gas
10746 @[ -f ./gas/Makefile ] || exit 0; \
10747 r=`${PWD_COMMAND}`; export r; \
10748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10749 $(HOST_EXPORTS) \
10750 for flag in $(EXTRA_HOST_FLAGS) ; do \
10751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10752 done; \
10753 echo "Doing install-info in gas" ; \
10754 (cd $(HOST_SUBDIR)/gas && \
10755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10757 "RANLIB=$${RANLIB}" \
10758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10759 install-info) \
10760 || exit 1
10762 @endif gas
10764 .PHONY: maybe-installcheck-gas installcheck-gas
10765 maybe-installcheck-gas:
10766 @if gas
10767 maybe-installcheck-gas: installcheck-gas
10769 installcheck-gas: \
10770 configure-gas
10771 @[ -f ./gas/Makefile ] || exit 0; \
10772 r=`${PWD_COMMAND}`; export r; \
10773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10774 $(HOST_EXPORTS) \
10775 for flag in $(EXTRA_HOST_FLAGS) ; do \
10776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10777 done; \
10778 echo "Doing installcheck in gas" ; \
10779 (cd $(HOST_SUBDIR)/gas && \
10780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10782 "RANLIB=$${RANLIB}" \
10783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10784 installcheck) \
10785 || exit 1
10787 @endif gas
10789 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10790 maybe-mostlyclean-gas:
10791 @if gas
10792 maybe-mostlyclean-gas: mostlyclean-gas
10794 mostlyclean-gas:
10795 @[ -f ./gas/Makefile ] || exit 0; \
10796 r=`${PWD_COMMAND}`; export r; \
10797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10798 $(HOST_EXPORTS) \
10799 for flag in $(EXTRA_HOST_FLAGS) ; do \
10800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10801 done; \
10802 echo "Doing mostlyclean in gas" ; \
10803 (cd $(HOST_SUBDIR)/gas && \
10804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10806 "RANLIB=$${RANLIB}" \
10807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10808 mostlyclean) \
10809 || exit 1
10811 @endif gas
10813 .PHONY: maybe-clean-gas clean-gas
10814 maybe-clean-gas:
10815 @if gas
10816 maybe-clean-gas: clean-gas
10818 clean-gas:
10819 @[ -f ./gas/Makefile ] || exit 0; \
10820 r=`${PWD_COMMAND}`; export r; \
10821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10822 $(HOST_EXPORTS) \
10823 for flag in $(EXTRA_HOST_FLAGS) ; do \
10824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10825 done; \
10826 echo "Doing clean in gas" ; \
10827 (cd $(HOST_SUBDIR)/gas && \
10828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10830 "RANLIB=$${RANLIB}" \
10831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10832 clean) \
10833 || exit 1
10835 @endif gas
10837 .PHONY: maybe-distclean-gas distclean-gas
10838 maybe-distclean-gas:
10839 @if gas
10840 maybe-distclean-gas: distclean-gas
10842 distclean-gas:
10843 @[ -f ./gas/Makefile ] || exit 0; \
10844 r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10846 $(HOST_EXPORTS) \
10847 for flag in $(EXTRA_HOST_FLAGS) ; do \
10848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10849 done; \
10850 echo "Doing distclean in gas" ; \
10851 (cd $(HOST_SUBDIR)/gas && \
10852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10854 "RANLIB=$${RANLIB}" \
10855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10856 distclean) \
10857 || exit 1
10859 @endif gas
10861 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10862 maybe-maintainer-clean-gas:
10863 @if gas
10864 maybe-maintainer-clean-gas: maintainer-clean-gas
10866 maintainer-clean-gas:
10867 @[ -f ./gas/Makefile ] || exit 0; \
10868 r=`${PWD_COMMAND}`; export r; \
10869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10870 $(HOST_EXPORTS) \
10871 for flag in $(EXTRA_HOST_FLAGS) ; do \
10872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10873 done; \
10874 echo "Doing maintainer-clean in gas" ; \
10875 (cd $(HOST_SUBDIR)/gas && \
10876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10878 "RANLIB=$${RANLIB}" \
10879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10880 maintainer-clean) \
10881 || exit 1
10883 @endif gas
10887 .PHONY: configure-gcc maybe-configure-gcc
10888 maybe-configure-gcc:
10889 @if gcc
10890 maybe-configure-gcc: configure-gcc
10891 configure-gcc:
10892 @test -f stage_last && exit 0; \
10893 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10895 r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897 $(HOST_EXPORTS) \
10898 echo Configuring in $(HOST_SUBDIR)/gcc; \
10899 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10900 case $(srcdir) in \
10901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10902 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10904 esac; \
10905 srcdiroption="--srcdir=$${topdir}/gcc"; \
10906 libsrcdir="$$s/gcc"; \
10907 $(SHELL) $${libsrcdir}/configure \
10908 $(HOST_CONFIGARGS) $${srcdiroption} \
10909 || exit 1
10910 @endif gcc
10914 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10915 maybe-configure-stage1-gcc:
10916 @if gcc-bootstrap
10917 maybe-configure-stage1-gcc: configure-stage1-gcc
10918 configure-stage1-gcc:
10919 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10920 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10921 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10922 $(HOST_EXPORTS) \
10923 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10925 cd $(HOST_SUBDIR)/gcc || exit 1; \
10926 case $(srcdir) in \
10927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10928 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10930 esac; \
10931 srcdiroption="--srcdir=$${topdir}/gcc"; \
10932 libsrcdir="$$s/gcc"; \
10933 $(SHELL) $${libsrcdir}/configure \
10934 $(HOST_CONFIGARGS) $${srcdiroption} \
10935 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10936 @endif gcc-bootstrap
10938 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10939 maybe-configure-stage2-gcc:
10940 @if gcc-bootstrap
10941 maybe-configure-stage2-gcc: configure-stage2-gcc
10942 configure-stage2-gcc:
10943 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10945 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10946 $(HOST_EXPORTS) \
10947 $(POSTSTAGE1_HOST_EXPORTS) \
10948 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10950 cd $(HOST_SUBDIR)/gcc || exit 1; \
10951 case $(srcdir) in \
10952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10953 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10955 esac; \
10956 srcdiroption="--srcdir=$${topdir}/gcc"; \
10957 libsrcdir="$$s/gcc"; \
10958 $(SHELL) $${libsrcdir}/configure \
10959 $(HOST_CONFIGARGS) $${srcdiroption} \
10960 @stage2_werror_flag@
10961 @endif gcc-bootstrap
10963 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10964 maybe-configure-stage3-gcc:
10965 @if gcc-bootstrap
10966 maybe-configure-stage3-gcc: configure-stage3-gcc
10967 configure-stage3-gcc:
10968 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10970 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10971 $(HOST_EXPORTS) \
10972 $(POSTSTAGE1_HOST_EXPORTS) \
10973 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10975 cd $(HOST_SUBDIR)/gcc || exit 1; \
10976 case $(srcdir) in \
10977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10978 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10980 esac; \
10981 srcdiroption="--srcdir=$${topdir}/gcc"; \
10982 libsrcdir="$$s/gcc"; \
10983 $(SHELL) $${libsrcdir}/configure \
10984 $(HOST_CONFIGARGS) $${srcdiroption} \
10985 @stage2_werror_flag@
10986 @endif gcc-bootstrap
10988 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10989 maybe-configure-stage4-gcc:
10990 @if gcc-bootstrap
10991 maybe-configure-stage4-gcc: configure-stage4-gcc
10992 configure-stage4-gcc:
10993 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10995 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10996 $(HOST_EXPORTS) \
10997 $(POSTSTAGE1_HOST_EXPORTS) \
10998 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11000 cd $(HOST_SUBDIR)/gcc || exit 1; \
11001 case $(srcdir) in \
11002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11003 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11005 esac; \
11006 srcdiroption="--srcdir=$${topdir}/gcc"; \
11007 libsrcdir="$$s/gcc"; \
11008 $(SHELL) $${libsrcdir}/configure \
11009 $(HOST_CONFIGARGS) $${srcdiroption} \
11010 @stage2_werror_flag@
11011 @endif gcc-bootstrap
11013 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11014 maybe-configure-stageprofile-gcc:
11015 @if gcc-bootstrap
11016 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11017 configure-stageprofile-gcc:
11018 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11020 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11021 $(HOST_EXPORTS) \
11022 $(POSTSTAGE1_HOST_EXPORTS) \
11023 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11025 cd $(HOST_SUBDIR)/gcc || exit 1; \
11026 case $(srcdir) in \
11027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11028 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11030 esac; \
11031 srcdiroption="--srcdir=$${topdir}/gcc"; \
11032 libsrcdir="$$s/gcc"; \
11033 $(SHELL) $${libsrcdir}/configure \
11034 $(HOST_CONFIGARGS) $${srcdiroption} \
11035 @stage2_werror_flag@
11036 @endif gcc-bootstrap
11038 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11039 maybe-configure-stagefeedback-gcc:
11040 @if gcc-bootstrap
11041 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11042 configure-stagefeedback-gcc:
11043 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11045 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11046 $(HOST_EXPORTS) \
11047 $(POSTSTAGE1_HOST_EXPORTS) \
11048 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11050 cd $(HOST_SUBDIR)/gcc || exit 1; \
11051 case $(srcdir) in \
11052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11053 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11055 esac; \
11056 srcdiroption="--srcdir=$${topdir}/gcc"; \
11057 libsrcdir="$$s/gcc"; \
11058 $(SHELL) $${libsrcdir}/configure \
11059 $(HOST_CONFIGARGS) $${srcdiroption} \
11060 @stage2_werror_flag@
11061 @endif gcc-bootstrap
11067 .PHONY: all-gcc maybe-all-gcc
11068 maybe-all-gcc:
11069 @if gcc
11070 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11071 maybe-all-gcc: all-gcc
11072 all-gcc: configure-gcc
11073 @test -f stage_last && exit 0; \
11074 r=`${PWD_COMMAND}`; export r; \
11075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 $(HOST_EXPORTS) \
11077 (cd $(HOST_SUBDIR)/gcc && \
11078 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11079 @endif gcc
11083 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11084 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11085 maybe-all-stage1-gcc:
11086 maybe-clean-stage1-gcc:
11087 @if gcc-bootstrap
11088 maybe-all-stage1-gcc: all-stage1-gcc
11089 all-stage1: all-stage1-gcc
11090 TARGET-stage1-gcc = $(TARGET-gcc)
11091 all-stage1-gcc: configure-stage1-gcc
11092 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11093 @r=`${PWD_COMMAND}`; export r; \
11094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11095 $(HOST_EXPORTS) \
11096 cd $(HOST_SUBDIR)/gcc && \
11097 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11098 $(TARGET-stage1-gcc)
11100 maybe-clean-stage1-gcc: clean-stage1-gcc
11101 clean-stage1: clean-stage1-gcc
11102 clean-stage1-gcc:
11103 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11104 || exit 0 ; \
11105 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11106 cd $(HOST_SUBDIR)/gcc && \
11107 $(MAKE) $(FLAGS_TO_PASS) \
11108 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11109 @endif gcc-bootstrap
11112 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11113 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11114 maybe-all-stage2-gcc:
11115 maybe-clean-stage2-gcc:
11116 @if gcc-bootstrap
11117 maybe-all-stage2-gcc: all-stage2-gcc
11118 all-stage2: all-stage2-gcc
11119 TARGET-stage2-gcc = $(TARGET-gcc)
11120 all-stage2-gcc: configure-stage2-gcc
11121 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11122 @r=`${PWD_COMMAND}`; export r; \
11123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11124 $(HOST_EXPORTS) \
11125 $(POSTSTAGE1_HOST_EXPORTS) \
11126 cd $(HOST_SUBDIR)/gcc && \
11127 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11128 $(TARGET-stage2-gcc)
11130 maybe-clean-stage2-gcc: clean-stage2-gcc
11131 clean-stage2: clean-stage2-gcc
11132 clean-stage2-gcc:
11133 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11134 || exit 0 ; \
11135 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11136 cd $(HOST_SUBDIR)/gcc && \
11137 $(MAKE) $(FLAGS_TO_PASS) \
11138 $(POSTSTAGE1_FLAGS_TO_PASS) \
11139 $(EXTRA_GCC_FLAGS) clean
11140 @endif gcc-bootstrap
11143 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11144 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11145 maybe-all-stage3-gcc:
11146 maybe-clean-stage3-gcc:
11147 @if gcc-bootstrap
11148 maybe-all-stage3-gcc: all-stage3-gcc
11149 all-stage3: all-stage3-gcc
11150 TARGET-stage3-gcc = $(TARGET-gcc)
11151 all-stage3-gcc: configure-stage3-gcc
11152 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11153 @r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 $(HOST_EXPORTS) \
11156 $(POSTSTAGE1_HOST_EXPORTS) \
11157 cd $(HOST_SUBDIR)/gcc && \
11158 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11159 $(TARGET-stage3-gcc)
11161 maybe-clean-stage3-gcc: clean-stage3-gcc
11162 clean-stage3: clean-stage3-gcc
11163 clean-stage3-gcc:
11164 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11165 || exit 0 ; \
11166 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11167 cd $(HOST_SUBDIR)/gcc && \
11168 $(MAKE) $(FLAGS_TO_PASS) \
11169 $(POSTSTAGE1_FLAGS_TO_PASS) \
11170 $(EXTRA_GCC_FLAGS) clean
11171 @endif gcc-bootstrap
11174 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11175 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11176 maybe-all-stage4-gcc:
11177 maybe-clean-stage4-gcc:
11178 @if gcc-bootstrap
11179 maybe-all-stage4-gcc: all-stage4-gcc
11180 all-stage4: all-stage4-gcc
11181 TARGET-stage4-gcc = $(TARGET-gcc)
11182 all-stage4-gcc: configure-stage4-gcc
11183 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11184 @r=`${PWD_COMMAND}`; export r; \
11185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11186 $(HOST_EXPORTS) \
11187 $(POSTSTAGE1_HOST_EXPORTS) \
11188 cd $(HOST_SUBDIR)/gcc && \
11189 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11190 $(TARGET-stage4-gcc)
11192 maybe-clean-stage4-gcc: clean-stage4-gcc
11193 clean-stage4: clean-stage4-gcc
11194 clean-stage4-gcc:
11195 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11196 || exit 0 ; \
11197 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11198 cd $(HOST_SUBDIR)/gcc && \
11199 $(MAKE) $(FLAGS_TO_PASS) \
11200 $(POSTSTAGE1_FLAGS_TO_PASS) \
11201 $(EXTRA_GCC_FLAGS) clean
11202 @endif gcc-bootstrap
11205 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11206 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11207 maybe-all-stageprofile-gcc:
11208 maybe-clean-stageprofile-gcc:
11209 @if gcc-bootstrap
11210 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11211 all-stageprofile: all-stageprofile-gcc
11212 TARGET-stageprofile-gcc = $(TARGET-gcc)
11213 all-stageprofile-gcc: configure-stageprofile-gcc
11214 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11215 @r=`${PWD_COMMAND}`; export r; \
11216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11217 $(HOST_EXPORTS) \
11218 $(POSTSTAGE1_HOST_EXPORTS) \
11219 cd $(HOST_SUBDIR)/gcc && \
11220 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11221 $(TARGET-stageprofile-gcc)
11223 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11224 clean-stageprofile: clean-stageprofile-gcc
11225 clean-stageprofile-gcc:
11226 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11227 || exit 0 ; \
11228 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11229 cd $(HOST_SUBDIR)/gcc && \
11230 $(MAKE) $(FLAGS_TO_PASS) \
11231 $(POSTSTAGE1_FLAGS_TO_PASS) \
11232 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11233 @endif gcc-bootstrap
11236 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11237 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11238 maybe-all-stagefeedback-gcc:
11239 maybe-clean-stagefeedback-gcc:
11240 @if gcc-bootstrap
11241 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11242 all-stagefeedback: all-stagefeedback-gcc
11243 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11244 all-stagefeedback-gcc: configure-stagefeedback-gcc
11245 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11246 @r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248 $(HOST_EXPORTS) \
11249 $(POSTSTAGE1_HOST_EXPORTS) \
11250 cd $(HOST_SUBDIR)/gcc && \
11251 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11252 $(TARGET-stagefeedback-gcc)
11254 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11255 clean-stagefeedback: clean-stagefeedback-gcc
11256 clean-stagefeedback-gcc:
11257 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11258 || exit 0 ; \
11259 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11260 cd $(HOST_SUBDIR)/gcc && \
11261 $(MAKE) $(FLAGS_TO_PASS) \
11262 $(POSTSTAGE1_FLAGS_TO_PASS) \
11263 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11264 @endif gcc-bootstrap
11270 .PHONY: check-gcc maybe-check-gcc
11271 maybe-check-gcc:
11272 @if gcc
11273 maybe-check-gcc: check-gcc
11275 check-gcc:
11276 @: $(MAKE); $(unstage)
11277 @r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11279 $(HOST_EXPORTS) \
11280 (cd $(HOST_SUBDIR)/gcc && \
11281 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11283 @endif gcc
11285 .PHONY: install-gcc maybe-install-gcc
11286 maybe-install-gcc:
11287 @if gcc
11288 maybe-install-gcc: install-gcc
11290 install-gcc: installdirs
11291 @: $(MAKE); $(unstage)
11292 @r=`${PWD_COMMAND}`; export r; \
11293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11294 $(HOST_EXPORTS) \
11295 (cd $(HOST_SUBDIR)/gcc && \
11296 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11298 @endif gcc
11300 # Other targets (info, dvi, etc.)
11302 .PHONY: maybe-info-gcc info-gcc
11303 maybe-info-gcc:
11304 @if gcc
11305 maybe-info-gcc: info-gcc
11307 info-gcc: \
11308 configure-gcc
11309 @[ -f ./gcc/Makefile ] || exit 0; \
11310 r=`${PWD_COMMAND}`; export r; \
11311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11312 $(HOST_EXPORTS) \
11313 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11315 done; \
11316 echo "Doing info in gcc" ; \
11317 (cd $(HOST_SUBDIR)/gcc && \
11318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11320 "RANLIB=$${RANLIB}" \
11321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11322 info) \
11323 || exit 1
11325 @endif gcc
11327 .PHONY: maybe-dvi-gcc dvi-gcc
11328 maybe-dvi-gcc:
11329 @if gcc
11330 maybe-dvi-gcc: dvi-gcc
11332 dvi-gcc: \
11333 configure-gcc
11334 @[ -f ./gcc/Makefile ] || exit 0; \
11335 r=`${PWD_COMMAND}`; export r; \
11336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11337 $(HOST_EXPORTS) \
11338 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11340 done; \
11341 echo "Doing dvi in gcc" ; \
11342 (cd $(HOST_SUBDIR)/gcc && \
11343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11345 "RANLIB=$${RANLIB}" \
11346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11347 dvi) \
11348 || exit 1
11350 @endif gcc
11352 .PHONY: maybe-html-gcc html-gcc
11353 maybe-html-gcc:
11354 @if gcc
11355 maybe-html-gcc: html-gcc
11357 html-gcc: \
11358 configure-gcc
11359 @[ -f ./gcc/Makefile ] || exit 0; \
11360 r=`${PWD_COMMAND}`; export r; \
11361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11362 $(HOST_EXPORTS) \
11363 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11365 done; \
11366 echo "Doing html in gcc" ; \
11367 (cd $(HOST_SUBDIR)/gcc && \
11368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11370 "RANLIB=$${RANLIB}" \
11371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11372 html) \
11373 || exit 1
11375 @endif gcc
11377 .PHONY: maybe-TAGS-gcc TAGS-gcc
11378 maybe-TAGS-gcc:
11379 @if gcc
11380 maybe-TAGS-gcc: TAGS-gcc
11382 TAGS-gcc: \
11383 configure-gcc
11384 @[ -f ./gcc/Makefile ] || exit 0; \
11385 r=`${PWD_COMMAND}`; export r; \
11386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11387 $(HOST_EXPORTS) \
11388 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11390 done; \
11391 echo "Doing TAGS in gcc" ; \
11392 (cd $(HOST_SUBDIR)/gcc && \
11393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11395 "RANLIB=$${RANLIB}" \
11396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11397 TAGS) \
11398 || exit 1
11400 @endif gcc
11402 .PHONY: maybe-install-info-gcc install-info-gcc
11403 maybe-install-info-gcc:
11404 @if gcc
11405 maybe-install-info-gcc: install-info-gcc
11407 install-info-gcc: \
11408 configure-gcc \
11409 info-gcc
11410 @[ -f ./gcc/Makefile ] || exit 0; \
11411 r=`${PWD_COMMAND}`; export r; \
11412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11413 $(HOST_EXPORTS) \
11414 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11416 done; \
11417 echo "Doing install-info in gcc" ; \
11418 (cd $(HOST_SUBDIR)/gcc && \
11419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11421 "RANLIB=$${RANLIB}" \
11422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11423 install-info) \
11424 || exit 1
11426 @endif gcc
11428 .PHONY: maybe-installcheck-gcc installcheck-gcc
11429 maybe-installcheck-gcc:
11430 @if gcc
11431 maybe-installcheck-gcc: installcheck-gcc
11433 installcheck-gcc: \
11434 configure-gcc
11435 @[ -f ./gcc/Makefile ] || exit 0; \
11436 r=`${PWD_COMMAND}`; export r; \
11437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11438 $(HOST_EXPORTS) \
11439 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11441 done; \
11442 echo "Doing installcheck in gcc" ; \
11443 (cd $(HOST_SUBDIR)/gcc && \
11444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11446 "RANLIB=$${RANLIB}" \
11447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11448 installcheck) \
11449 || exit 1
11451 @endif gcc
11453 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11454 maybe-mostlyclean-gcc:
11455 @if gcc
11456 maybe-mostlyclean-gcc: mostlyclean-gcc
11458 mostlyclean-gcc:
11459 @[ -f ./gcc/Makefile ] || exit 0; \
11460 r=`${PWD_COMMAND}`; export r; \
11461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11462 $(HOST_EXPORTS) \
11463 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11465 done; \
11466 echo "Doing mostlyclean in gcc" ; \
11467 (cd $(HOST_SUBDIR)/gcc && \
11468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11470 "RANLIB=$${RANLIB}" \
11471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11472 mostlyclean) \
11473 || exit 1
11475 @endif gcc
11477 .PHONY: maybe-clean-gcc clean-gcc
11478 maybe-clean-gcc:
11479 @if gcc
11480 maybe-clean-gcc: clean-gcc
11482 clean-gcc:
11483 @[ -f ./gcc/Makefile ] || exit 0; \
11484 r=`${PWD_COMMAND}`; export r; \
11485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11486 $(HOST_EXPORTS) \
11487 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11489 done; \
11490 echo "Doing clean in gcc" ; \
11491 (cd $(HOST_SUBDIR)/gcc && \
11492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11494 "RANLIB=$${RANLIB}" \
11495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11496 clean) \
11497 || exit 1
11499 @endif gcc
11501 .PHONY: maybe-distclean-gcc distclean-gcc
11502 maybe-distclean-gcc:
11503 @if gcc
11504 maybe-distclean-gcc: distclean-gcc
11506 distclean-gcc:
11507 @[ -f ./gcc/Makefile ] || exit 0; \
11508 r=`${PWD_COMMAND}`; export r; \
11509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11510 $(HOST_EXPORTS) \
11511 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11513 done; \
11514 echo "Doing distclean in gcc" ; \
11515 (cd $(HOST_SUBDIR)/gcc && \
11516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11518 "RANLIB=$${RANLIB}" \
11519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11520 distclean) \
11521 || exit 1
11523 @endif gcc
11525 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11526 maybe-maintainer-clean-gcc:
11527 @if gcc
11528 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11530 maintainer-clean-gcc:
11531 @[ -f ./gcc/Makefile ] || exit 0; \
11532 r=`${PWD_COMMAND}`; export r; \
11533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11534 $(HOST_EXPORTS) \
11535 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11537 done; \
11538 echo "Doing maintainer-clean in gcc" ; \
11539 (cd $(HOST_SUBDIR)/gcc && \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11542 "RANLIB=$${RANLIB}" \
11543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11544 maintainer-clean) \
11545 || exit 1
11547 @endif gcc
11551 .PHONY: configure-gawk maybe-configure-gawk
11552 maybe-configure-gawk:
11553 @if gawk
11554 maybe-configure-gawk: configure-gawk
11555 configure-gawk:
11556 @: $(MAKE); $(unstage)
11557 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11559 r=`${PWD_COMMAND}`; export r; \
11560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11561 $(HOST_EXPORTS) \
11562 echo Configuring in $(HOST_SUBDIR)/gawk; \
11563 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11564 case $(srcdir) in \
11565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11566 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11568 esac; \
11569 srcdiroption="--srcdir=$${topdir}/gawk"; \
11570 libsrcdir="$$s/gawk"; \
11571 $(SHELL) $${libsrcdir}/configure \
11572 $(HOST_CONFIGARGS) $${srcdiroption} \
11573 || exit 1
11574 @endif gawk
11580 .PHONY: all-gawk maybe-all-gawk
11581 maybe-all-gawk:
11582 @if gawk
11583 TARGET-gawk=all
11584 maybe-all-gawk: all-gawk
11585 all-gawk: configure-gawk
11586 @: $(MAKE); $(unstage)
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 $(HOST_EXPORTS) \
11590 (cd $(HOST_SUBDIR)/gawk && \
11591 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11592 @endif gawk
11597 .PHONY: check-gawk maybe-check-gawk
11598 maybe-check-gawk:
11599 @if gawk
11600 maybe-check-gawk: check-gawk
11602 check-gawk:
11603 @: $(MAKE); $(unstage)
11604 @r=`${PWD_COMMAND}`; export r; \
11605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11606 $(HOST_EXPORTS) \
11607 (cd $(HOST_SUBDIR)/gawk && \
11608 $(MAKE) $(FLAGS_TO_PASS) check)
11610 @endif gawk
11612 .PHONY: install-gawk maybe-install-gawk
11613 maybe-install-gawk:
11614 @if gawk
11615 maybe-install-gawk: install-gawk
11617 install-gawk: installdirs
11618 @: $(MAKE); $(unstage)
11619 @r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 $(HOST_EXPORTS) \
11622 (cd $(HOST_SUBDIR)/gawk && \
11623 $(MAKE) $(FLAGS_TO_PASS) install)
11625 @endif gawk
11627 # Other targets (info, dvi, etc.)
11629 .PHONY: maybe-info-gawk info-gawk
11630 maybe-info-gawk:
11631 @if gawk
11632 maybe-info-gawk: info-gawk
11634 info-gawk: \
11635 configure-gawk
11636 @: $(MAKE); $(unstage)
11637 @[ -f ./gawk/Makefile ] || exit 0; \
11638 r=`${PWD_COMMAND}`; export r; \
11639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11640 $(HOST_EXPORTS) \
11641 for flag in $(EXTRA_HOST_FLAGS) ; do \
11642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11643 done; \
11644 echo "Doing info in gawk" ; \
11645 (cd $(HOST_SUBDIR)/gawk && \
11646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11648 "RANLIB=$${RANLIB}" \
11649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11650 info) \
11651 || exit 1
11653 @endif gawk
11655 .PHONY: maybe-dvi-gawk dvi-gawk
11656 maybe-dvi-gawk:
11657 @if gawk
11658 maybe-dvi-gawk: dvi-gawk
11660 dvi-gawk: \
11661 configure-gawk
11662 @: $(MAKE); $(unstage)
11663 @[ -f ./gawk/Makefile ] || exit 0; \
11664 r=`${PWD_COMMAND}`; export r; \
11665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11666 $(HOST_EXPORTS) \
11667 for flag in $(EXTRA_HOST_FLAGS) ; do \
11668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11669 done; \
11670 echo "Doing dvi in gawk" ; \
11671 (cd $(HOST_SUBDIR)/gawk && \
11672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11674 "RANLIB=$${RANLIB}" \
11675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11676 dvi) \
11677 || exit 1
11679 @endif gawk
11681 .PHONY: maybe-html-gawk html-gawk
11682 maybe-html-gawk:
11683 @if gawk
11684 maybe-html-gawk: html-gawk
11686 html-gawk: \
11687 configure-gawk
11688 @: $(MAKE); $(unstage)
11689 @[ -f ./gawk/Makefile ] || exit 0; \
11690 r=`${PWD_COMMAND}`; export r; \
11691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11692 $(HOST_EXPORTS) \
11693 for flag in $(EXTRA_HOST_FLAGS) ; do \
11694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11695 done; \
11696 echo "Doing html in gawk" ; \
11697 (cd $(HOST_SUBDIR)/gawk && \
11698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11700 "RANLIB=$${RANLIB}" \
11701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11702 html) \
11703 || exit 1
11705 @endif gawk
11707 .PHONY: maybe-TAGS-gawk TAGS-gawk
11708 maybe-TAGS-gawk:
11709 @if gawk
11710 maybe-TAGS-gawk: TAGS-gawk
11712 TAGS-gawk: \
11713 configure-gawk
11714 @: $(MAKE); $(unstage)
11715 @[ -f ./gawk/Makefile ] || exit 0; \
11716 r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11718 $(HOST_EXPORTS) \
11719 for flag in $(EXTRA_HOST_FLAGS) ; do \
11720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11721 done; \
11722 echo "Doing TAGS in gawk" ; \
11723 (cd $(HOST_SUBDIR)/gawk && \
11724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11726 "RANLIB=$${RANLIB}" \
11727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11728 TAGS) \
11729 || exit 1
11731 @endif gawk
11733 .PHONY: maybe-install-info-gawk install-info-gawk
11734 maybe-install-info-gawk:
11735 @if gawk
11736 maybe-install-info-gawk: install-info-gawk
11738 install-info-gawk: \
11739 configure-gawk \
11740 info-gawk
11741 @: $(MAKE); $(unstage)
11742 @[ -f ./gawk/Makefile ] || exit 0; \
11743 r=`${PWD_COMMAND}`; export r; \
11744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11745 $(HOST_EXPORTS) \
11746 for flag in $(EXTRA_HOST_FLAGS) ; do \
11747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11748 done; \
11749 echo "Doing install-info in gawk" ; \
11750 (cd $(HOST_SUBDIR)/gawk && \
11751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11753 "RANLIB=$${RANLIB}" \
11754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11755 install-info) \
11756 || exit 1
11758 @endif gawk
11760 .PHONY: maybe-installcheck-gawk installcheck-gawk
11761 maybe-installcheck-gawk:
11762 @if gawk
11763 maybe-installcheck-gawk: installcheck-gawk
11765 installcheck-gawk: \
11766 configure-gawk
11767 @: $(MAKE); $(unstage)
11768 @[ -f ./gawk/Makefile ] || exit 0; \
11769 r=`${PWD_COMMAND}`; export r; \
11770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11771 $(HOST_EXPORTS) \
11772 for flag in $(EXTRA_HOST_FLAGS) ; do \
11773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11774 done; \
11775 echo "Doing installcheck in gawk" ; \
11776 (cd $(HOST_SUBDIR)/gawk && \
11777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11779 "RANLIB=$${RANLIB}" \
11780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11781 installcheck) \
11782 || exit 1
11784 @endif gawk
11786 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11787 maybe-mostlyclean-gawk:
11788 @if gawk
11789 maybe-mostlyclean-gawk: mostlyclean-gawk
11791 mostlyclean-gawk:
11792 @: $(MAKE); $(unstage)
11793 @[ -f ./gawk/Makefile ] || exit 0; \
11794 r=`${PWD_COMMAND}`; export r; \
11795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11796 $(HOST_EXPORTS) \
11797 for flag in $(EXTRA_HOST_FLAGS) ; do \
11798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11799 done; \
11800 echo "Doing mostlyclean in gawk" ; \
11801 (cd $(HOST_SUBDIR)/gawk && \
11802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11804 "RANLIB=$${RANLIB}" \
11805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11806 mostlyclean) \
11807 || exit 1
11809 @endif gawk
11811 .PHONY: maybe-clean-gawk clean-gawk
11812 maybe-clean-gawk:
11813 @if gawk
11814 maybe-clean-gawk: clean-gawk
11816 clean-gawk:
11817 @: $(MAKE); $(unstage)
11818 @[ -f ./gawk/Makefile ] || exit 0; \
11819 r=`${PWD_COMMAND}`; export r; \
11820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11821 $(HOST_EXPORTS) \
11822 for flag in $(EXTRA_HOST_FLAGS) ; do \
11823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11824 done; \
11825 echo "Doing clean in gawk" ; \
11826 (cd $(HOST_SUBDIR)/gawk && \
11827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11829 "RANLIB=$${RANLIB}" \
11830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11831 clean) \
11832 || exit 1
11834 @endif gawk
11836 .PHONY: maybe-distclean-gawk distclean-gawk
11837 maybe-distclean-gawk:
11838 @if gawk
11839 maybe-distclean-gawk: distclean-gawk
11841 distclean-gawk:
11842 @: $(MAKE); $(unstage)
11843 @[ -f ./gawk/Makefile ] || exit 0; \
11844 r=`${PWD_COMMAND}`; export r; \
11845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11846 $(HOST_EXPORTS) \
11847 for flag in $(EXTRA_HOST_FLAGS) ; do \
11848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11849 done; \
11850 echo "Doing distclean in gawk" ; \
11851 (cd $(HOST_SUBDIR)/gawk && \
11852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11854 "RANLIB=$${RANLIB}" \
11855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11856 distclean) \
11857 || exit 1
11859 @endif gawk
11861 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11862 maybe-maintainer-clean-gawk:
11863 @if gawk
11864 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11866 maintainer-clean-gawk:
11867 @: $(MAKE); $(unstage)
11868 @[ -f ./gawk/Makefile ] || exit 0; \
11869 r=`${PWD_COMMAND}`; export r; \
11870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11871 $(HOST_EXPORTS) \
11872 for flag in $(EXTRA_HOST_FLAGS) ; do \
11873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11874 done; \
11875 echo "Doing maintainer-clean in gawk" ; \
11876 (cd $(HOST_SUBDIR)/gawk && \
11877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11879 "RANLIB=$${RANLIB}" \
11880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11881 maintainer-clean) \
11882 || exit 1
11884 @endif gawk
11888 .PHONY: configure-gettext maybe-configure-gettext
11889 maybe-configure-gettext:
11890 @if gettext
11891 maybe-configure-gettext: configure-gettext
11892 configure-gettext:
11893 @: $(MAKE); $(unstage)
11894 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11896 r=`${PWD_COMMAND}`; export r; \
11897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11898 $(HOST_EXPORTS) \
11899 echo Configuring in $(HOST_SUBDIR)/gettext; \
11900 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11901 case $(srcdir) in \
11902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11903 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11905 esac; \
11906 srcdiroption="--srcdir=$${topdir}/gettext"; \
11907 libsrcdir="$$s/gettext"; \
11908 $(SHELL) $${libsrcdir}/configure \
11909 $(HOST_CONFIGARGS) $${srcdiroption} \
11910 || exit 1
11911 @endif gettext
11917 .PHONY: all-gettext maybe-all-gettext
11918 maybe-all-gettext:
11919 @if gettext
11920 TARGET-gettext=all
11921 maybe-all-gettext: all-gettext
11922 all-gettext: configure-gettext
11923 @: $(MAKE); $(unstage)
11924 @r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11926 $(HOST_EXPORTS) \
11927 (cd $(HOST_SUBDIR)/gettext && \
11928 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11929 @endif gettext
11934 .PHONY: check-gettext maybe-check-gettext
11935 maybe-check-gettext:
11936 @if gettext
11937 maybe-check-gettext: check-gettext
11939 check-gettext:
11940 @: $(MAKE); $(unstage)
11941 @r=`${PWD_COMMAND}`; export r; \
11942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11943 $(HOST_EXPORTS) \
11944 (cd $(HOST_SUBDIR)/gettext && \
11945 $(MAKE) $(FLAGS_TO_PASS) check)
11947 @endif gettext
11949 .PHONY: install-gettext maybe-install-gettext
11950 maybe-install-gettext:
11951 @if gettext
11952 maybe-install-gettext: install-gettext
11954 install-gettext: installdirs
11955 @: $(MAKE); $(unstage)
11956 @r=`${PWD_COMMAND}`; export r; \
11957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11958 $(HOST_EXPORTS) \
11959 (cd $(HOST_SUBDIR)/gettext && \
11960 $(MAKE) $(FLAGS_TO_PASS) install)
11962 @endif gettext
11964 # Other targets (info, dvi, etc.)
11966 .PHONY: maybe-info-gettext info-gettext
11967 maybe-info-gettext:
11968 @if gettext
11969 maybe-info-gettext: info-gettext
11971 info-gettext: \
11972 configure-gettext
11973 @: $(MAKE); $(unstage)
11974 @[ -f ./gettext/Makefile ] || exit 0; \
11975 r=`${PWD_COMMAND}`; export r; \
11976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11977 $(HOST_EXPORTS) \
11978 for flag in $(EXTRA_HOST_FLAGS) ; do \
11979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11980 done; \
11981 echo "Doing info in gettext" ; \
11982 (cd $(HOST_SUBDIR)/gettext && \
11983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11985 "RANLIB=$${RANLIB}" \
11986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11987 info) \
11988 || exit 1
11990 @endif gettext
11992 .PHONY: maybe-dvi-gettext dvi-gettext
11993 maybe-dvi-gettext:
11994 @if gettext
11995 maybe-dvi-gettext: dvi-gettext
11997 dvi-gettext: \
11998 configure-gettext
11999 @: $(MAKE); $(unstage)
12000 @[ -f ./gettext/Makefile ] || exit 0; \
12001 r=`${PWD_COMMAND}`; export r; \
12002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12003 $(HOST_EXPORTS) \
12004 for flag in $(EXTRA_HOST_FLAGS) ; do \
12005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12006 done; \
12007 echo "Doing dvi in gettext" ; \
12008 (cd $(HOST_SUBDIR)/gettext && \
12009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12011 "RANLIB=$${RANLIB}" \
12012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12013 dvi) \
12014 || exit 1
12016 @endif gettext
12018 .PHONY: maybe-html-gettext html-gettext
12019 maybe-html-gettext:
12020 @if gettext
12021 maybe-html-gettext: html-gettext
12023 html-gettext: \
12024 configure-gettext
12025 @: $(MAKE); $(unstage)
12026 @[ -f ./gettext/Makefile ] || exit 0; \
12027 r=`${PWD_COMMAND}`; export r; \
12028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12029 $(HOST_EXPORTS) \
12030 for flag in $(EXTRA_HOST_FLAGS) ; do \
12031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12032 done; \
12033 echo "Doing html in gettext" ; \
12034 (cd $(HOST_SUBDIR)/gettext && \
12035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12037 "RANLIB=$${RANLIB}" \
12038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12039 html) \
12040 || exit 1
12042 @endif gettext
12044 .PHONY: maybe-TAGS-gettext TAGS-gettext
12045 maybe-TAGS-gettext:
12046 @if gettext
12047 maybe-TAGS-gettext: TAGS-gettext
12049 TAGS-gettext: \
12050 configure-gettext
12051 @: $(MAKE); $(unstage)
12052 @[ -f ./gettext/Makefile ] || exit 0; \
12053 r=`${PWD_COMMAND}`; export r; \
12054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12055 $(HOST_EXPORTS) \
12056 for flag in $(EXTRA_HOST_FLAGS) ; do \
12057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12058 done; \
12059 echo "Doing TAGS in gettext" ; \
12060 (cd $(HOST_SUBDIR)/gettext && \
12061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12063 "RANLIB=$${RANLIB}" \
12064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12065 TAGS) \
12066 || exit 1
12068 @endif gettext
12070 .PHONY: maybe-install-info-gettext install-info-gettext
12071 maybe-install-info-gettext:
12072 @if gettext
12073 maybe-install-info-gettext: install-info-gettext
12075 install-info-gettext: \
12076 configure-gettext \
12077 info-gettext
12078 @: $(MAKE); $(unstage)
12079 @[ -f ./gettext/Makefile ] || exit 0; \
12080 r=`${PWD_COMMAND}`; export r; \
12081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12082 $(HOST_EXPORTS) \
12083 for flag in $(EXTRA_HOST_FLAGS) ; do \
12084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12085 done; \
12086 echo "Doing install-info in gettext" ; \
12087 (cd $(HOST_SUBDIR)/gettext && \
12088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12090 "RANLIB=$${RANLIB}" \
12091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12092 install-info) \
12093 || exit 1
12095 @endif gettext
12097 .PHONY: maybe-installcheck-gettext installcheck-gettext
12098 maybe-installcheck-gettext:
12099 @if gettext
12100 maybe-installcheck-gettext: installcheck-gettext
12102 installcheck-gettext: \
12103 configure-gettext
12104 @: $(MAKE); $(unstage)
12105 @[ -f ./gettext/Makefile ] || exit 0; \
12106 r=`${PWD_COMMAND}`; export r; \
12107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12108 $(HOST_EXPORTS) \
12109 for flag in $(EXTRA_HOST_FLAGS) ; do \
12110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12111 done; \
12112 echo "Doing installcheck in gettext" ; \
12113 (cd $(HOST_SUBDIR)/gettext && \
12114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12116 "RANLIB=$${RANLIB}" \
12117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12118 installcheck) \
12119 || exit 1
12121 @endif gettext
12123 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12124 maybe-mostlyclean-gettext:
12125 @if gettext
12126 maybe-mostlyclean-gettext: mostlyclean-gettext
12128 mostlyclean-gettext:
12129 @: $(MAKE); $(unstage)
12130 @[ -f ./gettext/Makefile ] || exit 0; \
12131 r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12133 $(HOST_EXPORTS) \
12134 for flag in $(EXTRA_HOST_FLAGS) ; do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12136 done; \
12137 echo "Doing mostlyclean in gettext" ; \
12138 (cd $(HOST_SUBDIR)/gettext && \
12139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141 "RANLIB=$${RANLIB}" \
12142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12143 mostlyclean) \
12144 || exit 1
12146 @endif gettext
12148 .PHONY: maybe-clean-gettext clean-gettext
12149 maybe-clean-gettext:
12150 @if gettext
12151 maybe-clean-gettext: clean-gettext
12153 clean-gettext:
12154 @: $(MAKE); $(unstage)
12155 @[ -f ./gettext/Makefile ] || exit 0; \
12156 r=`${PWD_COMMAND}`; export r; \
12157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12158 $(HOST_EXPORTS) \
12159 for flag in $(EXTRA_HOST_FLAGS) ; do \
12160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12161 done; \
12162 echo "Doing clean in gettext" ; \
12163 (cd $(HOST_SUBDIR)/gettext && \
12164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12166 "RANLIB=$${RANLIB}" \
12167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12168 clean) \
12169 || exit 1
12171 @endif gettext
12173 .PHONY: maybe-distclean-gettext distclean-gettext
12174 maybe-distclean-gettext:
12175 @if gettext
12176 maybe-distclean-gettext: distclean-gettext
12178 distclean-gettext:
12179 @: $(MAKE); $(unstage)
12180 @[ -f ./gettext/Makefile ] || exit 0; \
12181 r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12183 $(HOST_EXPORTS) \
12184 for flag in $(EXTRA_HOST_FLAGS) ; do \
12185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12186 done; \
12187 echo "Doing distclean in gettext" ; \
12188 (cd $(HOST_SUBDIR)/gettext && \
12189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12191 "RANLIB=$${RANLIB}" \
12192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12193 distclean) \
12194 || exit 1
12196 @endif gettext
12198 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12199 maybe-maintainer-clean-gettext:
12200 @if gettext
12201 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12203 maintainer-clean-gettext:
12204 @: $(MAKE); $(unstage)
12205 @[ -f ./gettext/Makefile ] || exit 0; \
12206 r=`${PWD_COMMAND}`; export r; \
12207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12208 $(HOST_EXPORTS) \
12209 for flag in $(EXTRA_HOST_FLAGS) ; do \
12210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12211 done; \
12212 echo "Doing maintainer-clean in gettext" ; \
12213 (cd $(HOST_SUBDIR)/gettext && \
12214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12216 "RANLIB=$${RANLIB}" \
12217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12218 maintainer-clean) \
12219 || exit 1
12221 @endif gettext
12225 .PHONY: configure-gnuserv maybe-configure-gnuserv
12226 maybe-configure-gnuserv:
12227 @if gnuserv
12228 maybe-configure-gnuserv: configure-gnuserv
12229 configure-gnuserv:
12230 @: $(MAKE); $(unstage)
12231 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12233 r=`${PWD_COMMAND}`; export r; \
12234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12235 $(HOST_EXPORTS) \
12236 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12237 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12238 case $(srcdir) in \
12239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12240 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12242 esac; \
12243 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12244 libsrcdir="$$s/gnuserv"; \
12245 $(SHELL) $${libsrcdir}/configure \
12246 $(HOST_CONFIGARGS) $${srcdiroption} \
12247 || exit 1
12248 @endif gnuserv
12254 .PHONY: all-gnuserv maybe-all-gnuserv
12255 maybe-all-gnuserv:
12256 @if gnuserv
12257 TARGET-gnuserv=all
12258 maybe-all-gnuserv: all-gnuserv
12259 all-gnuserv: configure-gnuserv
12260 @: $(MAKE); $(unstage)
12261 @r=`${PWD_COMMAND}`; export r; \
12262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12263 $(HOST_EXPORTS) \
12264 (cd $(HOST_SUBDIR)/gnuserv && \
12265 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12266 @endif gnuserv
12271 .PHONY: check-gnuserv maybe-check-gnuserv
12272 maybe-check-gnuserv:
12273 @if gnuserv
12274 maybe-check-gnuserv: check-gnuserv
12276 check-gnuserv:
12277 @: $(MAKE); $(unstage)
12278 @r=`${PWD_COMMAND}`; export r; \
12279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12280 $(HOST_EXPORTS) \
12281 (cd $(HOST_SUBDIR)/gnuserv && \
12282 $(MAKE) $(FLAGS_TO_PASS) check)
12284 @endif gnuserv
12286 .PHONY: install-gnuserv maybe-install-gnuserv
12287 maybe-install-gnuserv:
12288 @if gnuserv
12289 maybe-install-gnuserv: install-gnuserv
12291 install-gnuserv: installdirs
12292 @: $(MAKE); $(unstage)
12293 @r=`${PWD_COMMAND}`; export r; \
12294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12295 $(HOST_EXPORTS) \
12296 (cd $(HOST_SUBDIR)/gnuserv && \
12297 $(MAKE) $(FLAGS_TO_PASS) install)
12299 @endif gnuserv
12301 # Other targets (info, dvi, etc.)
12303 .PHONY: maybe-info-gnuserv info-gnuserv
12304 maybe-info-gnuserv:
12305 @if gnuserv
12306 maybe-info-gnuserv: info-gnuserv
12308 info-gnuserv: \
12309 configure-gnuserv
12310 @: $(MAKE); $(unstage)
12311 @[ -f ./gnuserv/Makefile ] || exit 0; \
12312 r=`${PWD_COMMAND}`; export r; \
12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12314 $(HOST_EXPORTS) \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12317 done; \
12318 echo "Doing info in gnuserv" ; \
12319 (cd $(HOST_SUBDIR)/gnuserv && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12324 info) \
12325 || exit 1
12327 @endif gnuserv
12329 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12330 maybe-dvi-gnuserv:
12331 @if gnuserv
12332 maybe-dvi-gnuserv: dvi-gnuserv
12334 dvi-gnuserv: \
12335 configure-gnuserv
12336 @: $(MAKE); $(unstage)
12337 @[ -f ./gnuserv/Makefile ] || exit 0; \
12338 r=`${PWD_COMMAND}`; export r; \
12339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12340 $(HOST_EXPORTS) \
12341 for flag in $(EXTRA_HOST_FLAGS) ; do \
12342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12343 done; \
12344 echo "Doing dvi in gnuserv" ; \
12345 (cd $(HOST_SUBDIR)/gnuserv && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12348 "RANLIB=$${RANLIB}" \
12349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12350 dvi) \
12351 || exit 1
12353 @endif gnuserv
12355 .PHONY: maybe-html-gnuserv html-gnuserv
12356 maybe-html-gnuserv:
12357 @if gnuserv
12358 maybe-html-gnuserv: html-gnuserv
12360 html-gnuserv: \
12361 configure-gnuserv
12362 @: $(MAKE); $(unstage)
12363 @[ -f ./gnuserv/Makefile ] || exit 0; \
12364 r=`${PWD_COMMAND}`; export r; \
12365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12366 $(HOST_EXPORTS) \
12367 for flag in $(EXTRA_HOST_FLAGS) ; do \
12368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12369 done; \
12370 echo "Doing html in gnuserv" ; \
12371 (cd $(HOST_SUBDIR)/gnuserv && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374 "RANLIB=$${RANLIB}" \
12375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12376 html) \
12377 || exit 1
12379 @endif gnuserv
12381 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12382 maybe-TAGS-gnuserv:
12383 @if gnuserv
12384 maybe-TAGS-gnuserv: TAGS-gnuserv
12386 TAGS-gnuserv: \
12387 configure-gnuserv
12388 @: $(MAKE); $(unstage)
12389 @[ -f ./gnuserv/Makefile ] || exit 0; \
12390 r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 $(HOST_EXPORTS) \
12393 for flag in $(EXTRA_HOST_FLAGS) ; do \
12394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12395 done; \
12396 echo "Doing TAGS in gnuserv" ; \
12397 (cd $(HOST_SUBDIR)/gnuserv && \
12398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400 "RANLIB=$${RANLIB}" \
12401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12402 TAGS) \
12403 || exit 1
12405 @endif gnuserv
12407 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12408 maybe-install-info-gnuserv:
12409 @if gnuserv
12410 maybe-install-info-gnuserv: install-info-gnuserv
12412 install-info-gnuserv: \
12413 configure-gnuserv \
12414 info-gnuserv
12415 @: $(MAKE); $(unstage)
12416 @[ -f ./gnuserv/Makefile ] || exit 0; \
12417 r=`${PWD_COMMAND}`; export r; \
12418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12419 $(HOST_EXPORTS) \
12420 for flag in $(EXTRA_HOST_FLAGS) ; do \
12421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12422 done; \
12423 echo "Doing install-info in gnuserv" ; \
12424 (cd $(HOST_SUBDIR)/gnuserv && \
12425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12427 "RANLIB=$${RANLIB}" \
12428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12429 install-info) \
12430 || exit 1
12432 @endif gnuserv
12434 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12435 maybe-installcheck-gnuserv:
12436 @if gnuserv
12437 maybe-installcheck-gnuserv: installcheck-gnuserv
12439 installcheck-gnuserv: \
12440 configure-gnuserv
12441 @: $(MAKE); $(unstage)
12442 @[ -f ./gnuserv/Makefile ] || exit 0; \
12443 r=`${PWD_COMMAND}`; export r; \
12444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 $(HOST_EXPORTS) \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 done; \
12449 echo "Doing installcheck in gnuserv" ; \
12450 (cd $(HOST_SUBDIR)/gnuserv && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12455 installcheck) \
12456 || exit 1
12458 @endif gnuserv
12460 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12461 maybe-mostlyclean-gnuserv:
12462 @if gnuserv
12463 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12465 mostlyclean-gnuserv:
12466 @: $(MAKE); $(unstage)
12467 @[ -f ./gnuserv/Makefile ] || exit 0; \
12468 r=`${PWD_COMMAND}`; export r; \
12469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12470 $(HOST_EXPORTS) \
12471 for flag in $(EXTRA_HOST_FLAGS) ; do \
12472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12473 done; \
12474 echo "Doing mostlyclean in gnuserv" ; \
12475 (cd $(HOST_SUBDIR)/gnuserv && \
12476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12478 "RANLIB=$${RANLIB}" \
12479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12480 mostlyclean) \
12481 || exit 1
12483 @endif gnuserv
12485 .PHONY: maybe-clean-gnuserv clean-gnuserv
12486 maybe-clean-gnuserv:
12487 @if gnuserv
12488 maybe-clean-gnuserv: clean-gnuserv
12490 clean-gnuserv:
12491 @: $(MAKE); $(unstage)
12492 @[ -f ./gnuserv/Makefile ] || exit 0; \
12493 r=`${PWD_COMMAND}`; export r; \
12494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12495 $(HOST_EXPORTS) \
12496 for flag in $(EXTRA_HOST_FLAGS) ; do \
12497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12498 done; \
12499 echo "Doing clean in gnuserv" ; \
12500 (cd $(HOST_SUBDIR)/gnuserv && \
12501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12503 "RANLIB=$${RANLIB}" \
12504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12505 clean) \
12506 || exit 1
12508 @endif gnuserv
12510 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12511 maybe-distclean-gnuserv:
12512 @if gnuserv
12513 maybe-distclean-gnuserv: distclean-gnuserv
12515 distclean-gnuserv:
12516 @: $(MAKE); $(unstage)
12517 @[ -f ./gnuserv/Makefile ] || exit 0; \
12518 r=`${PWD_COMMAND}`; export r; \
12519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12520 $(HOST_EXPORTS) \
12521 for flag in $(EXTRA_HOST_FLAGS) ; do \
12522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12523 done; \
12524 echo "Doing distclean in gnuserv" ; \
12525 (cd $(HOST_SUBDIR)/gnuserv && \
12526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12528 "RANLIB=$${RANLIB}" \
12529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12530 distclean) \
12531 || exit 1
12533 @endif gnuserv
12535 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12536 maybe-maintainer-clean-gnuserv:
12537 @if gnuserv
12538 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12540 maintainer-clean-gnuserv:
12541 @: $(MAKE); $(unstage)
12542 @[ -f ./gnuserv/Makefile ] || exit 0; \
12543 r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 $(HOST_EXPORTS) \
12546 for flag in $(EXTRA_HOST_FLAGS) ; do \
12547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 done; \
12549 echo "Doing maintainer-clean in gnuserv" ; \
12550 (cd $(HOST_SUBDIR)/gnuserv && \
12551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12553 "RANLIB=$${RANLIB}" \
12554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12555 maintainer-clean) \
12556 || exit 1
12558 @endif gnuserv
12562 .PHONY: configure-gprof maybe-configure-gprof
12563 maybe-configure-gprof:
12564 @if gprof
12565 maybe-configure-gprof: configure-gprof
12566 configure-gprof:
12567 @: $(MAKE); $(unstage)
12568 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12570 r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 $(HOST_EXPORTS) \
12573 echo Configuring in $(HOST_SUBDIR)/gprof; \
12574 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12575 case $(srcdir) in \
12576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12577 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12579 esac; \
12580 srcdiroption="--srcdir=$${topdir}/gprof"; \
12581 libsrcdir="$$s/gprof"; \
12582 $(SHELL) $${libsrcdir}/configure \
12583 $(HOST_CONFIGARGS) $${srcdiroption} \
12584 || exit 1
12585 @endif gprof
12591 .PHONY: all-gprof maybe-all-gprof
12592 maybe-all-gprof:
12593 @if gprof
12594 TARGET-gprof=all
12595 maybe-all-gprof: all-gprof
12596 all-gprof: configure-gprof
12597 @: $(MAKE); $(unstage)
12598 @r=`${PWD_COMMAND}`; export r; \
12599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12600 $(HOST_EXPORTS) \
12601 (cd $(HOST_SUBDIR)/gprof && \
12602 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12603 @endif gprof
12608 .PHONY: check-gprof maybe-check-gprof
12609 maybe-check-gprof:
12610 @if gprof
12611 maybe-check-gprof: check-gprof
12613 check-gprof:
12614 @: $(MAKE); $(unstage)
12615 @r=`${PWD_COMMAND}`; export r; \
12616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12617 $(HOST_EXPORTS) \
12618 (cd $(HOST_SUBDIR)/gprof && \
12619 $(MAKE) $(FLAGS_TO_PASS) check)
12621 @endif gprof
12623 .PHONY: install-gprof maybe-install-gprof
12624 maybe-install-gprof:
12625 @if gprof
12626 maybe-install-gprof: install-gprof
12628 install-gprof: installdirs
12629 @: $(MAKE); $(unstage)
12630 @r=`${PWD_COMMAND}`; export r; \
12631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12632 $(HOST_EXPORTS) \
12633 (cd $(HOST_SUBDIR)/gprof && \
12634 $(MAKE) $(FLAGS_TO_PASS) install)
12636 @endif gprof
12638 # Other targets (info, dvi, etc.)
12640 .PHONY: maybe-info-gprof info-gprof
12641 maybe-info-gprof:
12642 @if gprof
12643 maybe-info-gprof: info-gprof
12645 info-gprof: \
12646 configure-gprof
12647 @: $(MAKE); $(unstage)
12648 @[ -f ./gprof/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing info in gprof" ; \
12656 (cd $(HOST_SUBDIR)/gprof && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 info) \
12662 || exit 1
12664 @endif gprof
12666 .PHONY: maybe-dvi-gprof dvi-gprof
12667 maybe-dvi-gprof:
12668 @if gprof
12669 maybe-dvi-gprof: dvi-gprof
12671 dvi-gprof: \
12672 configure-gprof
12673 @: $(MAKE); $(unstage)
12674 @[ -f ./gprof/Makefile ] || exit 0; \
12675 r=`${PWD_COMMAND}`; export r; \
12676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12677 $(HOST_EXPORTS) \
12678 for flag in $(EXTRA_HOST_FLAGS) ; do \
12679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12680 done; \
12681 echo "Doing dvi in gprof" ; \
12682 (cd $(HOST_SUBDIR)/gprof && \
12683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12685 "RANLIB=$${RANLIB}" \
12686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12687 dvi) \
12688 || exit 1
12690 @endif gprof
12692 .PHONY: maybe-html-gprof html-gprof
12693 maybe-html-gprof:
12694 @if gprof
12695 maybe-html-gprof: html-gprof
12697 html-gprof: \
12698 configure-gprof
12699 @: $(MAKE); $(unstage)
12700 @[ -f ./gprof/Makefile ] || exit 0; \
12701 r=`${PWD_COMMAND}`; export r; \
12702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12703 $(HOST_EXPORTS) \
12704 for flag in $(EXTRA_HOST_FLAGS) ; do \
12705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12706 done; \
12707 echo "Doing html in gprof" ; \
12708 (cd $(HOST_SUBDIR)/gprof && \
12709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12711 "RANLIB=$${RANLIB}" \
12712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12713 html) \
12714 || exit 1
12716 @endif gprof
12718 .PHONY: maybe-TAGS-gprof TAGS-gprof
12719 maybe-TAGS-gprof:
12720 @if gprof
12721 maybe-TAGS-gprof: TAGS-gprof
12723 TAGS-gprof: \
12724 configure-gprof
12725 @: $(MAKE); $(unstage)
12726 @[ -f ./gprof/Makefile ] || exit 0; \
12727 r=`${PWD_COMMAND}`; export r; \
12728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12729 $(HOST_EXPORTS) \
12730 for flag in $(EXTRA_HOST_FLAGS) ; do \
12731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12732 done; \
12733 echo "Doing TAGS in gprof" ; \
12734 (cd $(HOST_SUBDIR)/gprof && \
12735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12737 "RANLIB=$${RANLIB}" \
12738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12739 TAGS) \
12740 || exit 1
12742 @endif gprof
12744 .PHONY: maybe-install-info-gprof install-info-gprof
12745 maybe-install-info-gprof:
12746 @if gprof
12747 maybe-install-info-gprof: install-info-gprof
12749 install-info-gprof: \
12750 configure-gprof \
12751 info-gprof
12752 @: $(MAKE); $(unstage)
12753 @[ -f ./gprof/Makefile ] || exit 0; \
12754 r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 $(HOST_EXPORTS) \
12757 for flag in $(EXTRA_HOST_FLAGS) ; do \
12758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12759 done; \
12760 echo "Doing install-info in gprof" ; \
12761 (cd $(HOST_SUBDIR)/gprof && \
12762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12764 "RANLIB=$${RANLIB}" \
12765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12766 install-info) \
12767 || exit 1
12769 @endif gprof
12771 .PHONY: maybe-installcheck-gprof installcheck-gprof
12772 maybe-installcheck-gprof:
12773 @if gprof
12774 maybe-installcheck-gprof: installcheck-gprof
12776 installcheck-gprof: \
12777 configure-gprof
12778 @: $(MAKE); $(unstage)
12779 @[ -f ./gprof/Makefile ] || exit 0; \
12780 r=`${PWD_COMMAND}`; export r; \
12781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12782 $(HOST_EXPORTS) \
12783 for flag in $(EXTRA_HOST_FLAGS) ; do \
12784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12785 done; \
12786 echo "Doing installcheck in gprof" ; \
12787 (cd $(HOST_SUBDIR)/gprof && \
12788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12790 "RANLIB=$${RANLIB}" \
12791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12792 installcheck) \
12793 || exit 1
12795 @endif gprof
12797 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12798 maybe-mostlyclean-gprof:
12799 @if gprof
12800 maybe-mostlyclean-gprof: mostlyclean-gprof
12802 mostlyclean-gprof:
12803 @: $(MAKE); $(unstage)
12804 @[ -f ./gprof/Makefile ] || exit 0; \
12805 r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12807 $(HOST_EXPORTS) \
12808 for flag in $(EXTRA_HOST_FLAGS) ; do \
12809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12810 done; \
12811 echo "Doing mostlyclean in gprof" ; \
12812 (cd $(HOST_SUBDIR)/gprof && \
12813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12815 "RANLIB=$${RANLIB}" \
12816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12817 mostlyclean) \
12818 || exit 1
12820 @endif gprof
12822 .PHONY: maybe-clean-gprof clean-gprof
12823 maybe-clean-gprof:
12824 @if gprof
12825 maybe-clean-gprof: clean-gprof
12827 clean-gprof:
12828 @: $(MAKE); $(unstage)
12829 @[ -f ./gprof/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832 $(HOST_EXPORTS) \
12833 for flag in $(EXTRA_HOST_FLAGS) ; do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12835 done; \
12836 echo "Doing clean in gprof" ; \
12837 (cd $(HOST_SUBDIR)/gprof && \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12842 clean) \
12843 || exit 1
12845 @endif gprof
12847 .PHONY: maybe-distclean-gprof distclean-gprof
12848 maybe-distclean-gprof:
12849 @if gprof
12850 maybe-distclean-gprof: distclean-gprof
12852 distclean-gprof:
12853 @: $(MAKE); $(unstage)
12854 @[ -f ./gprof/Makefile ] || exit 0; \
12855 r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857 $(HOST_EXPORTS) \
12858 for flag in $(EXTRA_HOST_FLAGS) ; do \
12859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12860 done; \
12861 echo "Doing distclean in gprof" ; \
12862 (cd $(HOST_SUBDIR)/gprof && \
12863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12865 "RANLIB=$${RANLIB}" \
12866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12867 distclean) \
12868 || exit 1
12870 @endif gprof
12872 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12873 maybe-maintainer-clean-gprof:
12874 @if gprof
12875 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12877 maintainer-clean-gprof:
12878 @: $(MAKE); $(unstage)
12879 @[ -f ./gprof/Makefile ] || exit 0; \
12880 r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 for flag in $(EXTRA_HOST_FLAGS) ; do \
12884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12885 done; \
12886 echo "Doing maintainer-clean in gprof" ; \
12887 (cd $(HOST_SUBDIR)/gprof && \
12888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12890 "RANLIB=$${RANLIB}" \
12891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12892 maintainer-clean) \
12893 || exit 1
12895 @endif gprof
12899 .PHONY: configure-gzip maybe-configure-gzip
12900 maybe-configure-gzip:
12901 @if gzip
12902 maybe-configure-gzip: configure-gzip
12903 configure-gzip:
12904 @: $(MAKE); $(unstage)
12905 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12907 r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 $(HOST_EXPORTS) \
12910 echo Configuring in $(HOST_SUBDIR)/gzip; \
12911 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12912 case $(srcdir) in \
12913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12914 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12916 esac; \
12917 srcdiroption="--srcdir=$${topdir}/gzip"; \
12918 libsrcdir="$$s/gzip"; \
12919 $(SHELL) $${libsrcdir}/configure \
12920 $(HOST_CONFIGARGS) $${srcdiroption} \
12921 || exit 1
12922 @endif gzip
12928 .PHONY: all-gzip maybe-all-gzip
12929 maybe-all-gzip:
12930 @if gzip
12931 TARGET-gzip=all
12932 maybe-all-gzip: all-gzip
12933 all-gzip: configure-gzip
12934 @: $(MAKE); $(unstage)
12935 @r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12937 $(HOST_EXPORTS) \
12938 (cd $(HOST_SUBDIR)/gzip && \
12939 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12940 @endif gzip
12945 .PHONY: check-gzip maybe-check-gzip
12946 maybe-check-gzip:
12947 @if gzip
12948 maybe-check-gzip: check-gzip
12950 check-gzip:
12951 @: $(MAKE); $(unstage)
12952 @r=`${PWD_COMMAND}`; export r; \
12953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12954 $(HOST_EXPORTS) \
12955 (cd $(HOST_SUBDIR)/gzip && \
12956 $(MAKE) $(FLAGS_TO_PASS) check)
12958 @endif gzip
12960 .PHONY: install-gzip maybe-install-gzip
12961 maybe-install-gzip:
12962 @if gzip
12963 maybe-install-gzip: install-gzip
12965 install-gzip: installdirs
12966 @: $(MAKE); $(unstage)
12967 @r=`${PWD_COMMAND}`; export r; \
12968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12969 $(HOST_EXPORTS) \
12970 (cd $(HOST_SUBDIR)/gzip && \
12971 $(MAKE) $(FLAGS_TO_PASS) install)
12973 @endif gzip
12975 # Other targets (info, dvi, etc.)
12977 .PHONY: maybe-info-gzip info-gzip
12978 maybe-info-gzip:
12979 @if gzip
12980 maybe-info-gzip: info-gzip
12982 info-gzip: \
12983 configure-gzip
12984 @: $(MAKE); $(unstage)
12985 @[ -f ./gzip/Makefile ] || exit 0; \
12986 r=`${PWD_COMMAND}`; export r; \
12987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12988 $(HOST_EXPORTS) \
12989 for flag in $(EXTRA_HOST_FLAGS) ; do \
12990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12991 done; \
12992 echo "Doing info in gzip" ; \
12993 (cd $(HOST_SUBDIR)/gzip && \
12994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12996 "RANLIB=$${RANLIB}" \
12997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12998 info) \
12999 || exit 1
13001 @endif gzip
13003 .PHONY: maybe-dvi-gzip dvi-gzip
13004 maybe-dvi-gzip:
13005 @if gzip
13006 maybe-dvi-gzip: dvi-gzip
13008 dvi-gzip: \
13009 configure-gzip
13010 @: $(MAKE); $(unstage)
13011 @[ -f ./gzip/Makefile ] || exit 0; \
13012 r=`${PWD_COMMAND}`; export r; \
13013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13014 $(HOST_EXPORTS) \
13015 for flag in $(EXTRA_HOST_FLAGS) ; do \
13016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13017 done; \
13018 echo "Doing dvi in gzip" ; \
13019 (cd $(HOST_SUBDIR)/gzip && \
13020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13022 "RANLIB=$${RANLIB}" \
13023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13024 dvi) \
13025 || exit 1
13027 @endif gzip
13029 .PHONY: maybe-html-gzip html-gzip
13030 maybe-html-gzip:
13031 @if gzip
13032 maybe-html-gzip: html-gzip
13034 html-gzip: \
13035 configure-gzip
13036 @: $(MAKE); $(unstage)
13037 @[ -f ./gzip/Makefile ] || exit 0; \
13038 r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040 $(HOST_EXPORTS) \
13041 for flag in $(EXTRA_HOST_FLAGS) ; do \
13042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13043 done; \
13044 echo "Doing html in gzip" ; \
13045 (cd $(HOST_SUBDIR)/gzip && \
13046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13048 "RANLIB=$${RANLIB}" \
13049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13050 html) \
13051 || exit 1
13053 @endif gzip
13055 .PHONY: maybe-TAGS-gzip TAGS-gzip
13056 maybe-TAGS-gzip:
13057 @if gzip
13058 maybe-TAGS-gzip: TAGS-gzip
13060 TAGS-gzip: \
13061 configure-gzip
13062 @: $(MAKE); $(unstage)
13063 @[ -f ./gzip/Makefile ] || exit 0; \
13064 r=`${PWD_COMMAND}`; export r; \
13065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13066 $(HOST_EXPORTS) \
13067 for flag in $(EXTRA_HOST_FLAGS) ; do \
13068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13069 done; \
13070 echo "Doing TAGS in gzip" ; \
13071 (cd $(HOST_SUBDIR)/gzip && \
13072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13074 "RANLIB=$${RANLIB}" \
13075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13076 TAGS) \
13077 || exit 1
13079 @endif gzip
13081 .PHONY: maybe-install-info-gzip install-info-gzip
13082 maybe-install-info-gzip:
13083 @if gzip
13084 maybe-install-info-gzip: install-info-gzip
13086 install-info-gzip: \
13087 configure-gzip \
13088 info-gzip
13089 @: $(MAKE); $(unstage)
13090 @[ -f ./gzip/Makefile ] || exit 0; \
13091 r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 $(HOST_EXPORTS) \
13094 for flag in $(EXTRA_HOST_FLAGS) ; do \
13095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13096 done; \
13097 echo "Doing install-info in gzip" ; \
13098 (cd $(HOST_SUBDIR)/gzip && \
13099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13101 "RANLIB=$${RANLIB}" \
13102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13103 install-info) \
13104 || exit 1
13106 @endif gzip
13108 .PHONY: maybe-installcheck-gzip installcheck-gzip
13109 maybe-installcheck-gzip:
13110 @if gzip
13111 maybe-installcheck-gzip: installcheck-gzip
13113 installcheck-gzip: \
13114 configure-gzip
13115 @: $(MAKE); $(unstage)
13116 @[ -f ./gzip/Makefile ] || exit 0; \
13117 r=`${PWD_COMMAND}`; export r; \
13118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13119 $(HOST_EXPORTS) \
13120 for flag in $(EXTRA_HOST_FLAGS) ; do \
13121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13122 done; \
13123 echo "Doing installcheck in gzip" ; \
13124 (cd $(HOST_SUBDIR)/gzip && \
13125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13127 "RANLIB=$${RANLIB}" \
13128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13129 installcheck) \
13130 || exit 1
13132 @endif gzip
13134 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13135 maybe-mostlyclean-gzip:
13136 @if gzip
13137 maybe-mostlyclean-gzip: mostlyclean-gzip
13139 mostlyclean-gzip:
13140 @: $(MAKE); $(unstage)
13141 @[ -f ./gzip/Makefile ] || exit 0; \
13142 r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13144 $(HOST_EXPORTS) \
13145 for flag in $(EXTRA_HOST_FLAGS) ; do \
13146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13147 done; \
13148 echo "Doing mostlyclean in gzip" ; \
13149 (cd $(HOST_SUBDIR)/gzip && \
13150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13152 "RANLIB=$${RANLIB}" \
13153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13154 mostlyclean) \
13155 || exit 1
13157 @endif gzip
13159 .PHONY: maybe-clean-gzip clean-gzip
13160 maybe-clean-gzip:
13161 @if gzip
13162 maybe-clean-gzip: clean-gzip
13164 clean-gzip:
13165 @: $(MAKE); $(unstage)
13166 @[ -f ./gzip/Makefile ] || exit 0; \
13167 r=`${PWD_COMMAND}`; export r; \
13168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13169 $(HOST_EXPORTS) \
13170 for flag in $(EXTRA_HOST_FLAGS) ; do \
13171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13172 done; \
13173 echo "Doing clean in gzip" ; \
13174 (cd $(HOST_SUBDIR)/gzip && \
13175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13177 "RANLIB=$${RANLIB}" \
13178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13179 clean) \
13180 || exit 1
13182 @endif gzip
13184 .PHONY: maybe-distclean-gzip distclean-gzip
13185 maybe-distclean-gzip:
13186 @if gzip
13187 maybe-distclean-gzip: distclean-gzip
13189 distclean-gzip:
13190 @: $(MAKE); $(unstage)
13191 @[ -f ./gzip/Makefile ] || exit 0; \
13192 r=`${PWD_COMMAND}`; export r; \
13193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13194 $(HOST_EXPORTS) \
13195 for flag in $(EXTRA_HOST_FLAGS) ; do \
13196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13197 done; \
13198 echo "Doing distclean in gzip" ; \
13199 (cd $(HOST_SUBDIR)/gzip && \
13200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13202 "RANLIB=$${RANLIB}" \
13203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13204 distclean) \
13205 || exit 1
13207 @endif gzip
13209 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13210 maybe-maintainer-clean-gzip:
13211 @if gzip
13212 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13214 maintainer-clean-gzip:
13215 @: $(MAKE); $(unstage)
13216 @[ -f ./gzip/Makefile ] || exit 0; \
13217 r=`${PWD_COMMAND}`; export r; \
13218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13219 $(HOST_EXPORTS) \
13220 for flag in $(EXTRA_HOST_FLAGS) ; do \
13221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13222 done; \
13223 echo "Doing maintainer-clean in gzip" ; \
13224 (cd $(HOST_SUBDIR)/gzip && \
13225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13227 "RANLIB=$${RANLIB}" \
13228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13229 maintainer-clean) \
13230 || exit 1
13232 @endif gzip
13236 .PHONY: configure-hello maybe-configure-hello
13237 maybe-configure-hello:
13238 @if hello
13239 maybe-configure-hello: configure-hello
13240 configure-hello:
13241 @: $(MAKE); $(unstage)
13242 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13244 r=`${PWD_COMMAND}`; export r; \
13245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13246 $(HOST_EXPORTS) \
13247 echo Configuring in $(HOST_SUBDIR)/hello; \
13248 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13249 case $(srcdir) in \
13250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13251 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13253 esac; \
13254 srcdiroption="--srcdir=$${topdir}/hello"; \
13255 libsrcdir="$$s/hello"; \
13256 $(SHELL) $${libsrcdir}/configure \
13257 $(HOST_CONFIGARGS) $${srcdiroption} \
13258 || exit 1
13259 @endif hello
13265 .PHONY: all-hello maybe-all-hello
13266 maybe-all-hello:
13267 @if hello
13268 TARGET-hello=all
13269 maybe-all-hello: all-hello
13270 all-hello: configure-hello
13271 @: $(MAKE); $(unstage)
13272 @r=`${PWD_COMMAND}`; export r; \
13273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13274 $(HOST_EXPORTS) \
13275 (cd $(HOST_SUBDIR)/hello && \
13276 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13277 @endif hello
13282 .PHONY: check-hello maybe-check-hello
13283 maybe-check-hello:
13284 @if hello
13285 maybe-check-hello: check-hello
13287 check-hello:
13288 @: $(MAKE); $(unstage)
13289 @r=`${PWD_COMMAND}`; export r; \
13290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13291 $(HOST_EXPORTS) \
13292 (cd $(HOST_SUBDIR)/hello && \
13293 $(MAKE) $(FLAGS_TO_PASS) check)
13295 @endif hello
13297 .PHONY: install-hello maybe-install-hello
13298 maybe-install-hello:
13299 @if hello
13300 maybe-install-hello: install-hello
13302 install-hello: installdirs
13303 @: $(MAKE); $(unstage)
13304 @r=`${PWD_COMMAND}`; export r; \
13305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13306 $(HOST_EXPORTS) \
13307 (cd $(HOST_SUBDIR)/hello && \
13308 $(MAKE) $(FLAGS_TO_PASS) install)
13310 @endif hello
13312 # Other targets (info, dvi, etc.)
13314 .PHONY: maybe-info-hello info-hello
13315 maybe-info-hello:
13316 @if hello
13317 maybe-info-hello: info-hello
13319 info-hello: \
13320 configure-hello
13321 @: $(MAKE); $(unstage)
13322 @[ -f ./hello/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 $(HOST_EXPORTS) \
13326 for flag in $(EXTRA_HOST_FLAGS) ; do \
13327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13328 done; \
13329 echo "Doing info in hello" ; \
13330 (cd $(HOST_SUBDIR)/hello && \
13331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13333 "RANLIB=$${RANLIB}" \
13334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13335 info) \
13336 || exit 1
13338 @endif hello
13340 .PHONY: maybe-dvi-hello dvi-hello
13341 maybe-dvi-hello:
13342 @if hello
13343 maybe-dvi-hello: dvi-hello
13345 dvi-hello: \
13346 configure-hello
13347 @: $(MAKE); $(unstage)
13348 @[ -f ./hello/Makefile ] || exit 0; \
13349 r=`${PWD_COMMAND}`; export r; \
13350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351 $(HOST_EXPORTS) \
13352 for flag in $(EXTRA_HOST_FLAGS) ; do \
13353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13354 done; \
13355 echo "Doing dvi in hello" ; \
13356 (cd $(HOST_SUBDIR)/hello && \
13357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13359 "RANLIB=$${RANLIB}" \
13360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13361 dvi) \
13362 || exit 1
13364 @endif hello
13366 .PHONY: maybe-html-hello html-hello
13367 maybe-html-hello:
13368 @if hello
13369 maybe-html-hello: html-hello
13371 html-hello: \
13372 configure-hello
13373 @: $(MAKE); $(unstage)
13374 @[ -f ./hello/Makefile ] || exit 0; \
13375 r=`${PWD_COMMAND}`; export r; \
13376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13377 $(HOST_EXPORTS) \
13378 for flag in $(EXTRA_HOST_FLAGS) ; do \
13379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13380 done; \
13381 echo "Doing html in hello" ; \
13382 (cd $(HOST_SUBDIR)/hello && \
13383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13385 "RANLIB=$${RANLIB}" \
13386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13387 html) \
13388 || exit 1
13390 @endif hello
13392 .PHONY: maybe-TAGS-hello TAGS-hello
13393 maybe-TAGS-hello:
13394 @if hello
13395 maybe-TAGS-hello: TAGS-hello
13397 TAGS-hello: \
13398 configure-hello
13399 @: $(MAKE); $(unstage)
13400 @[ -f ./hello/Makefile ] || exit 0; \
13401 r=`${PWD_COMMAND}`; export r; \
13402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13403 $(HOST_EXPORTS) \
13404 for flag in $(EXTRA_HOST_FLAGS) ; do \
13405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13406 done; \
13407 echo "Doing TAGS in hello" ; \
13408 (cd $(HOST_SUBDIR)/hello && \
13409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13411 "RANLIB=$${RANLIB}" \
13412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13413 TAGS) \
13414 || exit 1
13416 @endif hello
13418 .PHONY: maybe-install-info-hello install-info-hello
13419 maybe-install-info-hello:
13420 @if hello
13421 maybe-install-info-hello: install-info-hello
13423 install-info-hello: \
13424 configure-hello \
13425 info-hello
13426 @: $(MAKE); $(unstage)
13427 @[ -f ./hello/Makefile ] || exit 0; \
13428 r=`${PWD_COMMAND}`; export r; \
13429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13430 $(HOST_EXPORTS) \
13431 for flag in $(EXTRA_HOST_FLAGS) ; do \
13432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13433 done; \
13434 echo "Doing install-info in hello" ; \
13435 (cd $(HOST_SUBDIR)/hello && \
13436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13438 "RANLIB=$${RANLIB}" \
13439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13440 install-info) \
13441 || exit 1
13443 @endif hello
13445 .PHONY: maybe-installcheck-hello installcheck-hello
13446 maybe-installcheck-hello:
13447 @if hello
13448 maybe-installcheck-hello: installcheck-hello
13450 installcheck-hello: \
13451 configure-hello
13452 @: $(MAKE); $(unstage)
13453 @[ -f ./hello/Makefile ] || exit 0; \
13454 r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13456 $(HOST_EXPORTS) \
13457 for flag in $(EXTRA_HOST_FLAGS) ; do \
13458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13459 done; \
13460 echo "Doing installcheck in hello" ; \
13461 (cd $(HOST_SUBDIR)/hello && \
13462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13464 "RANLIB=$${RANLIB}" \
13465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13466 installcheck) \
13467 || exit 1
13469 @endif hello
13471 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13472 maybe-mostlyclean-hello:
13473 @if hello
13474 maybe-mostlyclean-hello: mostlyclean-hello
13476 mostlyclean-hello:
13477 @: $(MAKE); $(unstage)
13478 @[ -f ./hello/Makefile ] || exit 0; \
13479 r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(HOST_EXPORTS) \
13482 for flag in $(EXTRA_HOST_FLAGS) ; do \
13483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13484 done; \
13485 echo "Doing mostlyclean in hello" ; \
13486 (cd $(HOST_SUBDIR)/hello && \
13487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13489 "RANLIB=$${RANLIB}" \
13490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13491 mostlyclean) \
13492 || exit 1
13494 @endif hello
13496 .PHONY: maybe-clean-hello clean-hello
13497 maybe-clean-hello:
13498 @if hello
13499 maybe-clean-hello: clean-hello
13501 clean-hello:
13502 @: $(MAKE); $(unstage)
13503 @[ -f ./hello/Makefile ] || exit 0; \
13504 r=`${PWD_COMMAND}`; export r; \
13505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13506 $(HOST_EXPORTS) \
13507 for flag in $(EXTRA_HOST_FLAGS) ; do \
13508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13509 done; \
13510 echo "Doing clean in hello" ; \
13511 (cd $(HOST_SUBDIR)/hello && \
13512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13514 "RANLIB=$${RANLIB}" \
13515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13516 clean) \
13517 || exit 1
13519 @endif hello
13521 .PHONY: maybe-distclean-hello distclean-hello
13522 maybe-distclean-hello:
13523 @if hello
13524 maybe-distclean-hello: distclean-hello
13526 distclean-hello:
13527 @: $(MAKE); $(unstage)
13528 @[ -f ./hello/Makefile ] || exit 0; \
13529 r=`${PWD_COMMAND}`; export r; \
13530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13531 $(HOST_EXPORTS) \
13532 for flag in $(EXTRA_HOST_FLAGS) ; do \
13533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13534 done; \
13535 echo "Doing distclean in hello" ; \
13536 (cd $(HOST_SUBDIR)/hello && \
13537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13539 "RANLIB=$${RANLIB}" \
13540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13541 distclean) \
13542 || exit 1
13544 @endif hello
13546 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13547 maybe-maintainer-clean-hello:
13548 @if hello
13549 maybe-maintainer-clean-hello: maintainer-clean-hello
13551 maintainer-clean-hello:
13552 @: $(MAKE); $(unstage)
13553 @[ -f ./hello/Makefile ] || exit 0; \
13554 r=`${PWD_COMMAND}`; export r; \
13555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13556 $(HOST_EXPORTS) \
13557 for flag in $(EXTRA_HOST_FLAGS) ; do \
13558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13559 done; \
13560 echo "Doing maintainer-clean in hello" ; \
13561 (cd $(HOST_SUBDIR)/hello && \
13562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13564 "RANLIB=$${RANLIB}" \
13565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13566 maintainer-clean) \
13567 || exit 1
13569 @endif hello
13573 .PHONY: configure-indent maybe-configure-indent
13574 maybe-configure-indent:
13575 @if indent
13576 maybe-configure-indent: configure-indent
13577 configure-indent:
13578 @: $(MAKE); $(unstage)
13579 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13581 r=`${PWD_COMMAND}`; export r; \
13582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13583 $(HOST_EXPORTS) \
13584 echo Configuring in $(HOST_SUBDIR)/indent; \
13585 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13586 case $(srcdir) in \
13587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13588 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13590 esac; \
13591 srcdiroption="--srcdir=$${topdir}/indent"; \
13592 libsrcdir="$$s/indent"; \
13593 $(SHELL) $${libsrcdir}/configure \
13594 $(HOST_CONFIGARGS) $${srcdiroption} \
13595 || exit 1
13596 @endif indent
13602 .PHONY: all-indent maybe-all-indent
13603 maybe-all-indent:
13604 @if indent
13605 TARGET-indent=all
13606 maybe-all-indent: all-indent
13607 all-indent: configure-indent
13608 @: $(MAKE); $(unstage)
13609 @r=`${PWD_COMMAND}`; export r; \
13610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13611 $(HOST_EXPORTS) \
13612 (cd $(HOST_SUBDIR)/indent && \
13613 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13614 @endif indent
13619 .PHONY: check-indent maybe-check-indent
13620 maybe-check-indent:
13621 @if indent
13622 maybe-check-indent: check-indent
13624 check-indent:
13625 @: $(MAKE); $(unstage)
13626 @r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628 $(HOST_EXPORTS) \
13629 (cd $(HOST_SUBDIR)/indent && \
13630 $(MAKE) $(FLAGS_TO_PASS) check)
13632 @endif indent
13634 .PHONY: install-indent maybe-install-indent
13635 maybe-install-indent:
13636 @if indent
13637 maybe-install-indent: install-indent
13639 install-indent: installdirs
13640 @: $(MAKE); $(unstage)
13641 @r=`${PWD_COMMAND}`; export r; \
13642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13643 $(HOST_EXPORTS) \
13644 (cd $(HOST_SUBDIR)/indent && \
13645 $(MAKE) $(FLAGS_TO_PASS) install)
13647 @endif indent
13649 # Other targets (info, dvi, etc.)
13651 .PHONY: maybe-info-indent info-indent
13652 maybe-info-indent:
13653 @if indent
13654 maybe-info-indent: info-indent
13656 info-indent: \
13657 configure-indent
13658 @: $(MAKE); $(unstage)
13659 @[ -f ./indent/Makefile ] || exit 0; \
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 $(HOST_EXPORTS) \
13663 for flag in $(EXTRA_HOST_FLAGS) ; do \
13664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13665 done; \
13666 echo "Doing info in indent" ; \
13667 (cd $(HOST_SUBDIR)/indent && \
13668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13670 "RANLIB=$${RANLIB}" \
13671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13672 info) \
13673 || exit 1
13675 @endif indent
13677 .PHONY: maybe-dvi-indent dvi-indent
13678 maybe-dvi-indent:
13679 @if indent
13680 maybe-dvi-indent: dvi-indent
13682 dvi-indent: \
13683 configure-indent
13684 @: $(MAKE); $(unstage)
13685 @[ -f ./indent/Makefile ] || exit 0; \
13686 r=`${PWD_COMMAND}`; export r; \
13687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 $(HOST_EXPORTS) \
13689 for flag in $(EXTRA_HOST_FLAGS) ; do \
13690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13691 done; \
13692 echo "Doing dvi in indent" ; \
13693 (cd $(HOST_SUBDIR)/indent && \
13694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13696 "RANLIB=$${RANLIB}" \
13697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13698 dvi) \
13699 || exit 1
13701 @endif indent
13703 .PHONY: maybe-html-indent html-indent
13704 maybe-html-indent:
13705 @if indent
13706 maybe-html-indent: html-indent
13708 html-indent: \
13709 configure-indent
13710 @: $(MAKE); $(unstage)
13711 @[ -f ./indent/Makefile ] || exit 0; \
13712 r=`${PWD_COMMAND}`; export r; \
13713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13714 $(HOST_EXPORTS) \
13715 for flag in $(EXTRA_HOST_FLAGS) ; do \
13716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13717 done; \
13718 echo "Doing html in indent" ; \
13719 (cd $(HOST_SUBDIR)/indent && \
13720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13722 "RANLIB=$${RANLIB}" \
13723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13724 html) \
13725 || exit 1
13727 @endif indent
13729 .PHONY: maybe-TAGS-indent TAGS-indent
13730 maybe-TAGS-indent:
13731 @if indent
13732 maybe-TAGS-indent: TAGS-indent
13734 TAGS-indent: \
13735 configure-indent
13736 @: $(MAKE); $(unstage)
13737 @[ -f ./indent/Makefile ] || exit 0; \
13738 r=`${PWD_COMMAND}`; export r; \
13739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13740 $(HOST_EXPORTS) \
13741 for flag in $(EXTRA_HOST_FLAGS) ; do \
13742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13743 done; \
13744 echo "Doing TAGS in indent" ; \
13745 (cd $(HOST_SUBDIR)/indent && \
13746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13748 "RANLIB=$${RANLIB}" \
13749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13750 TAGS) \
13751 || exit 1
13753 @endif indent
13755 .PHONY: maybe-install-info-indent install-info-indent
13756 maybe-install-info-indent:
13757 @if indent
13758 maybe-install-info-indent: install-info-indent
13760 install-info-indent: \
13761 configure-indent \
13762 info-indent
13763 @: $(MAKE); $(unstage)
13764 @[ -f ./indent/Makefile ] || exit 0; \
13765 r=`${PWD_COMMAND}`; export r; \
13766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13767 $(HOST_EXPORTS) \
13768 for flag in $(EXTRA_HOST_FLAGS) ; do \
13769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13770 done; \
13771 echo "Doing install-info in indent" ; \
13772 (cd $(HOST_SUBDIR)/indent && \
13773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13775 "RANLIB=$${RANLIB}" \
13776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13777 install-info) \
13778 || exit 1
13780 @endif indent
13782 .PHONY: maybe-installcheck-indent installcheck-indent
13783 maybe-installcheck-indent:
13784 @if indent
13785 maybe-installcheck-indent: installcheck-indent
13787 installcheck-indent: \
13788 configure-indent
13789 @: $(MAKE); $(unstage)
13790 @[ -f ./indent/Makefile ] || exit 0; \
13791 r=`${PWD_COMMAND}`; export r; \
13792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13793 $(HOST_EXPORTS) \
13794 for flag in $(EXTRA_HOST_FLAGS) ; do \
13795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13796 done; \
13797 echo "Doing installcheck in indent" ; \
13798 (cd $(HOST_SUBDIR)/indent && \
13799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13801 "RANLIB=$${RANLIB}" \
13802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13803 installcheck) \
13804 || exit 1
13806 @endif indent
13808 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13809 maybe-mostlyclean-indent:
13810 @if indent
13811 maybe-mostlyclean-indent: mostlyclean-indent
13813 mostlyclean-indent:
13814 @: $(MAKE); $(unstage)
13815 @[ -f ./indent/Makefile ] || exit 0; \
13816 r=`${PWD_COMMAND}`; export r; \
13817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13818 $(HOST_EXPORTS) \
13819 for flag in $(EXTRA_HOST_FLAGS) ; do \
13820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13821 done; \
13822 echo "Doing mostlyclean in indent" ; \
13823 (cd $(HOST_SUBDIR)/indent && \
13824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13826 "RANLIB=$${RANLIB}" \
13827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13828 mostlyclean) \
13829 || exit 1
13831 @endif indent
13833 .PHONY: maybe-clean-indent clean-indent
13834 maybe-clean-indent:
13835 @if indent
13836 maybe-clean-indent: clean-indent
13838 clean-indent:
13839 @: $(MAKE); $(unstage)
13840 @[ -f ./indent/Makefile ] || exit 0; \
13841 r=`${PWD_COMMAND}`; export r; \
13842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13843 $(HOST_EXPORTS) \
13844 for flag in $(EXTRA_HOST_FLAGS) ; do \
13845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13846 done; \
13847 echo "Doing clean in indent" ; \
13848 (cd $(HOST_SUBDIR)/indent && \
13849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13851 "RANLIB=$${RANLIB}" \
13852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13853 clean) \
13854 || exit 1
13856 @endif indent
13858 .PHONY: maybe-distclean-indent distclean-indent
13859 maybe-distclean-indent:
13860 @if indent
13861 maybe-distclean-indent: distclean-indent
13863 distclean-indent:
13864 @: $(MAKE); $(unstage)
13865 @[ -f ./indent/Makefile ] || exit 0; \
13866 r=`${PWD_COMMAND}`; export r; \
13867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13868 $(HOST_EXPORTS) \
13869 for flag in $(EXTRA_HOST_FLAGS) ; do \
13870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13871 done; \
13872 echo "Doing distclean in indent" ; \
13873 (cd $(HOST_SUBDIR)/indent && \
13874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13876 "RANLIB=$${RANLIB}" \
13877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13878 distclean) \
13879 || exit 1
13881 @endif indent
13883 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13884 maybe-maintainer-clean-indent:
13885 @if indent
13886 maybe-maintainer-clean-indent: maintainer-clean-indent
13888 maintainer-clean-indent:
13889 @: $(MAKE); $(unstage)
13890 @[ -f ./indent/Makefile ] || exit 0; \
13891 r=`${PWD_COMMAND}`; export r; \
13892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13893 $(HOST_EXPORTS) \
13894 for flag in $(EXTRA_HOST_FLAGS) ; do \
13895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13896 done; \
13897 echo "Doing maintainer-clean in indent" ; \
13898 (cd $(HOST_SUBDIR)/indent && \
13899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13901 "RANLIB=$${RANLIB}" \
13902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13903 maintainer-clean) \
13904 || exit 1
13906 @endif indent
13910 .PHONY: configure-intl maybe-configure-intl
13911 maybe-configure-intl:
13912 @if intl
13913 maybe-configure-intl: configure-intl
13914 configure-intl:
13915 @test -f stage_last && exit 0; \
13916 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13918 r=`${PWD_COMMAND}`; export r; \
13919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13920 $(HOST_EXPORTS) \
13921 echo Configuring in $(HOST_SUBDIR)/intl; \
13922 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13923 case $(srcdir) in \
13924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13925 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13927 esac; \
13928 srcdiroption="--srcdir=$${topdir}/intl"; \
13929 libsrcdir="$$s/intl"; \
13930 $(SHELL) $${libsrcdir}/configure \
13931 $(HOST_CONFIGARGS) $${srcdiroption} \
13932 || exit 1
13933 @endif intl
13937 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13938 maybe-configure-stage1-intl:
13939 @if intl-bootstrap
13940 maybe-configure-stage1-intl: configure-stage1-intl
13941 configure-stage1-intl:
13942 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
13943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13944 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13945 $(HOST_EXPORTS) \
13946 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13948 cd $(HOST_SUBDIR)/intl || exit 1; \
13949 case $(srcdir) in \
13950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13951 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13953 esac; \
13954 srcdiroption="--srcdir=$${topdir}/intl"; \
13955 libsrcdir="$$s/intl"; \
13956 $(SHELL) $${libsrcdir}/configure \
13957 $(HOST_CONFIGARGS) $${srcdiroption} \
13958 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13959 @endif intl-bootstrap
13961 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13962 maybe-configure-stage2-intl:
13963 @if intl-bootstrap
13964 maybe-configure-stage2-intl: configure-stage2-intl
13965 configure-stage2-intl:
13966 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
13967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13968 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13969 $(HOST_EXPORTS) \
13970 $(POSTSTAGE1_HOST_EXPORTS) \
13971 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13973 cd $(HOST_SUBDIR)/intl || exit 1; \
13974 case $(srcdir) in \
13975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13976 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13978 esac; \
13979 srcdiroption="--srcdir=$${topdir}/intl"; \
13980 libsrcdir="$$s/intl"; \
13981 $(SHELL) $${libsrcdir}/configure \
13982 $(HOST_CONFIGARGS) $${srcdiroption} \
13983 @stage2_werror_flag@
13984 @endif intl-bootstrap
13986 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13987 maybe-configure-stage3-intl:
13988 @if intl-bootstrap
13989 maybe-configure-stage3-intl: configure-stage3-intl
13990 configure-stage3-intl:
13991 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
13992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13993 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13994 $(HOST_EXPORTS) \
13995 $(POSTSTAGE1_HOST_EXPORTS) \
13996 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13998 cd $(HOST_SUBDIR)/intl || exit 1; \
13999 case $(srcdir) in \
14000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14001 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14003 esac; \
14004 srcdiroption="--srcdir=$${topdir}/intl"; \
14005 libsrcdir="$$s/intl"; \
14006 $(SHELL) $${libsrcdir}/configure \
14007 $(HOST_CONFIGARGS) $${srcdiroption} \
14008 @stage2_werror_flag@
14009 @endif intl-bootstrap
14011 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14012 maybe-configure-stage4-intl:
14013 @if intl-bootstrap
14014 maybe-configure-stage4-intl: configure-stage4-intl
14015 configure-stage4-intl:
14016 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14018 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14019 $(HOST_EXPORTS) \
14020 $(POSTSTAGE1_HOST_EXPORTS) \
14021 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14023 cd $(HOST_SUBDIR)/intl || exit 1; \
14024 case $(srcdir) in \
14025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14026 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14028 esac; \
14029 srcdiroption="--srcdir=$${topdir}/intl"; \
14030 libsrcdir="$$s/intl"; \
14031 $(SHELL) $${libsrcdir}/configure \
14032 $(HOST_CONFIGARGS) $${srcdiroption} \
14033 @stage2_werror_flag@
14034 @endif intl-bootstrap
14036 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14037 maybe-configure-stageprofile-intl:
14038 @if intl-bootstrap
14039 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14040 configure-stageprofile-intl:
14041 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14043 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14044 $(HOST_EXPORTS) \
14045 $(POSTSTAGE1_HOST_EXPORTS) \
14046 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14048 cd $(HOST_SUBDIR)/intl || exit 1; \
14049 case $(srcdir) in \
14050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14051 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14053 esac; \
14054 srcdiroption="--srcdir=$${topdir}/intl"; \
14055 libsrcdir="$$s/intl"; \
14056 $(SHELL) $${libsrcdir}/configure \
14057 $(HOST_CONFIGARGS) $${srcdiroption} \
14058 @stage2_werror_flag@
14059 @endif intl-bootstrap
14061 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14062 maybe-configure-stagefeedback-intl:
14063 @if intl-bootstrap
14064 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14065 configure-stagefeedback-intl:
14066 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14068 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14069 $(HOST_EXPORTS) \
14070 $(POSTSTAGE1_HOST_EXPORTS) \
14071 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14073 cd $(HOST_SUBDIR)/intl || exit 1; \
14074 case $(srcdir) in \
14075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14076 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14078 esac; \
14079 srcdiroption="--srcdir=$${topdir}/intl"; \
14080 libsrcdir="$$s/intl"; \
14081 $(SHELL) $${libsrcdir}/configure \
14082 $(HOST_CONFIGARGS) $${srcdiroption} \
14083 @stage2_werror_flag@
14084 @endif intl-bootstrap
14090 .PHONY: all-intl maybe-all-intl
14091 maybe-all-intl:
14092 @if intl
14093 TARGET-intl=all
14094 maybe-all-intl: all-intl
14095 all-intl: configure-intl
14096 @test -f stage_last && exit 0; \
14097 r=`${PWD_COMMAND}`; export r; \
14098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14099 $(HOST_EXPORTS) \
14100 (cd $(HOST_SUBDIR)/intl && \
14101 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14102 @endif intl
14106 .PHONY: all-stage1-intl maybe-all-stage1-intl
14107 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14108 maybe-all-stage1-intl:
14109 maybe-clean-stage1-intl:
14110 @if intl-bootstrap
14111 maybe-all-stage1-intl: all-stage1-intl
14112 all-stage1: all-stage1-intl
14113 TARGET-stage1-intl = $(TARGET-intl)
14114 all-stage1-intl: configure-stage1-intl
14115 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14116 @r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 $(HOST_EXPORTS) \
14119 cd $(HOST_SUBDIR)/intl && \
14120 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14121 $(TARGET-stage1-intl)
14123 maybe-clean-stage1-intl: clean-stage1-intl
14124 clean-stage1: clean-stage1-intl
14125 clean-stage1-intl:
14126 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14127 || exit 0 ; \
14128 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14129 cd $(HOST_SUBDIR)/intl && \
14130 $(MAKE) $(FLAGS_TO_PASS) \
14131 CFLAGS="$(STAGE1_CFLAGS)" clean
14132 @endif intl-bootstrap
14135 .PHONY: all-stage2-intl maybe-all-stage2-intl
14136 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14137 maybe-all-stage2-intl:
14138 maybe-clean-stage2-intl:
14139 @if intl-bootstrap
14140 maybe-all-stage2-intl: all-stage2-intl
14141 all-stage2: all-stage2-intl
14142 TARGET-stage2-intl = $(TARGET-intl)
14143 all-stage2-intl: configure-stage2-intl
14144 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14145 @r=`${PWD_COMMAND}`; export r; \
14146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14147 $(HOST_EXPORTS) \
14148 $(POSTSTAGE1_HOST_EXPORTS) \
14149 cd $(HOST_SUBDIR)/intl && \
14150 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14151 $(TARGET-stage2-intl)
14153 maybe-clean-stage2-intl: clean-stage2-intl
14154 clean-stage2: clean-stage2-intl
14155 clean-stage2-intl:
14156 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14157 || exit 0 ; \
14158 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14159 cd $(HOST_SUBDIR)/intl && \
14160 $(MAKE) $(FLAGS_TO_PASS) \
14161 $(POSTSTAGE1_FLAGS_TO_PASS) \
14162 clean
14163 @endif intl-bootstrap
14166 .PHONY: all-stage3-intl maybe-all-stage3-intl
14167 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14168 maybe-all-stage3-intl:
14169 maybe-clean-stage3-intl:
14170 @if intl-bootstrap
14171 maybe-all-stage3-intl: all-stage3-intl
14172 all-stage3: all-stage3-intl
14173 TARGET-stage3-intl = $(TARGET-intl)
14174 all-stage3-intl: configure-stage3-intl
14175 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14176 @r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(HOST_EXPORTS) \
14179 $(POSTSTAGE1_HOST_EXPORTS) \
14180 cd $(HOST_SUBDIR)/intl && \
14181 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14182 $(TARGET-stage3-intl)
14184 maybe-clean-stage3-intl: clean-stage3-intl
14185 clean-stage3: clean-stage3-intl
14186 clean-stage3-intl:
14187 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14188 || exit 0 ; \
14189 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14190 cd $(HOST_SUBDIR)/intl && \
14191 $(MAKE) $(FLAGS_TO_PASS) \
14192 $(POSTSTAGE1_FLAGS_TO_PASS) \
14193 clean
14194 @endif intl-bootstrap
14197 .PHONY: all-stage4-intl maybe-all-stage4-intl
14198 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14199 maybe-all-stage4-intl:
14200 maybe-clean-stage4-intl:
14201 @if intl-bootstrap
14202 maybe-all-stage4-intl: all-stage4-intl
14203 all-stage4: all-stage4-intl
14204 TARGET-stage4-intl = $(TARGET-intl)
14205 all-stage4-intl: configure-stage4-intl
14206 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14207 @r=`${PWD_COMMAND}`; export r; \
14208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14209 $(HOST_EXPORTS) \
14210 $(POSTSTAGE1_HOST_EXPORTS) \
14211 cd $(HOST_SUBDIR)/intl && \
14212 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14213 $(TARGET-stage4-intl)
14215 maybe-clean-stage4-intl: clean-stage4-intl
14216 clean-stage4: clean-stage4-intl
14217 clean-stage4-intl:
14218 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14219 || exit 0 ; \
14220 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14221 cd $(HOST_SUBDIR)/intl && \
14222 $(MAKE) $(FLAGS_TO_PASS) \
14223 $(POSTSTAGE1_FLAGS_TO_PASS) \
14224 clean
14225 @endif intl-bootstrap
14228 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14229 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14230 maybe-all-stageprofile-intl:
14231 maybe-clean-stageprofile-intl:
14232 @if intl-bootstrap
14233 maybe-all-stageprofile-intl: all-stageprofile-intl
14234 all-stageprofile: all-stageprofile-intl
14235 TARGET-stageprofile-intl = $(TARGET-intl)
14236 all-stageprofile-intl: configure-stageprofile-intl
14237 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14238 @r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 $(HOST_EXPORTS) \
14241 $(POSTSTAGE1_HOST_EXPORTS) \
14242 cd $(HOST_SUBDIR)/intl && \
14243 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14244 $(TARGET-stageprofile-intl)
14246 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14247 clean-stageprofile: clean-stageprofile-intl
14248 clean-stageprofile-intl:
14249 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14250 || exit 0 ; \
14251 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14252 cd $(HOST_SUBDIR)/intl && \
14253 $(MAKE) $(FLAGS_TO_PASS) \
14254 $(POSTSTAGE1_FLAGS_TO_PASS) \
14255 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14256 @endif intl-bootstrap
14259 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14260 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14261 maybe-all-stagefeedback-intl:
14262 maybe-clean-stagefeedback-intl:
14263 @if intl-bootstrap
14264 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14265 all-stagefeedback: all-stagefeedback-intl
14266 TARGET-stagefeedback-intl = $(TARGET-intl)
14267 all-stagefeedback-intl: configure-stagefeedback-intl
14268 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14269 @r=`${PWD_COMMAND}`; export r; \
14270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14271 $(HOST_EXPORTS) \
14272 $(POSTSTAGE1_HOST_EXPORTS) \
14273 cd $(HOST_SUBDIR)/intl && \
14274 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14275 $(TARGET-stagefeedback-intl)
14277 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14278 clean-stagefeedback: clean-stagefeedback-intl
14279 clean-stagefeedback-intl:
14280 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14281 || exit 0 ; \
14282 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14283 cd $(HOST_SUBDIR)/intl && \
14284 $(MAKE) $(FLAGS_TO_PASS) \
14285 $(POSTSTAGE1_FLAGS_TO_PASS) \
14286 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14287 @endif intl-bootstrap
14293 .PHONY: check-intl maybe-check-intl
14294 maybe-check-intl:
14295 @if intl
14296 maybe-check-intl: check-intl
14298 check-intl:
14299 @: $(MAKE); $(unstage)
14300 @r=`${PWD_COMMAND}`; export r; \
14301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14302 $(HOST_EXPORTS) \
14303 (cd $(HOST_SUBDIR)/intl && \
14304 $(MAKE) $(FLAGS_TO_PASS) check)
14306 @endif intl
14308 .PHONY: install-intl maybe-install-intl
14309 maybe-install-intl:
14310 @if intl
14311 maybe-install-intl: install-intl
14313 install-intl: installdirs
14314 @: $(MAKE); $(unstage)
14315 @r=`${PWD_COMMAND}`; export r; \
14316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14317 $(HOST_EXPORTS) \
14318 (cd $(HOST_SUBDIR)/intl && \
14319 $(MAKE) $(FLAGS_TO_PASS) install)
14321 @endif intl
14323 # Other targets (info, dvi, etc.)
14325 .PHONY: maybe-info-intl info-intl
14326 maybe-info-intl:
14327 @if intl
14328 maybe-info-intl: info-intl
14330 info-intl: \
14331 configure-intl
14332 @[ -f ./intl/Makefile ] || exit 0; \
14333 r=`${PWD_COMMAND}`; export r; \
14334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14335 $(HOST_EXPORTS) \
14336 for flag in $(EXTRA_HOST_FLAGS) ; do \
14337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14338 done; \
14339 echo "Doing info in intl" ; \
14340 (cd $(HOST_SUBDIR)/intl && \
14341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14343 "RANLIB=$${RANLIB}" \
14344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14345 info) \
14346 || exit 1
14348 @endif intl
14350 .PHONY: maybe-dvi-intl dvi-intl
14351 maybe-dvi-intl:
14352 @if intl
14353 maybe-dvi-intl: dvi-intl
14355 dvi-intl: \
14356 configure-intl
14357 @[ -f ./intl/Makefile ] || exit 0; \
14358 r=`${PWD_COMMAND}`; export r; \
14359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14360 $(HOST_EXPORTS) \
14361 for flag in $(EXTRA_HOST_FLAGS) ; do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363 done; \
14364 echo "Doing dvi in intl" ; \
14365 (cd $(HOST_SUBDIR)/intl && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14370 dvi) \
14371 || exit 1
14373 @endif intl
14375 .PHONY: maybe-html-intl html-intl
14376 maybe-html-intl:
14377 @if intl
14378 maybe-html-intl: html-intl
14380 html-intl: \
14381 configure-intl
14382 @[ -f ./intl/Makefile ] || exit 0; \
14383 r=`${PWD_COMMAND}`; export r; \
14384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14385 $(HOST_EXPORTS) \
14386 for flag in $(EXTRA_HOST_FLAGS) ; do \
14387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14388 done; \
14389 echo "Doing html in intl" ; \
14390 (cd $(HOST_SUBDIR)/intl && \
14391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14393 "RANLIB=$${RANLIB}" \
14394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14395 html) \
14396 || exit 1
14398 @endif intl
14400 .PHONY: maybe-TAGS-intl TAGS-intl
14401 maybe-TAGS-intl:
14402 @if intl
14403 maybe-TAGS-intl: TAGS-intl
14405 TAGS-intl: \
14406 configure-intl
14407 @[ -f ./intl/Makefile ] || exit 0; \
14408 r=`${PWD_COMMAND}`; export r; \
14409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14410 $(HOST_EXPORTS) \
14411 for flag in $(EXTRA_HOST_FLAGS) ; do \
14412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14413 done; \
14414 echo "Doing TAGS in intl" ; \
14415 (cd $(HOST_SUBDIR)/intl && \
14416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14418 "RANLIB=$${RANLIB}" \
14419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14420 TAGS) \
14421 || exit 1
14423 @endif intl
14425 .PHONY: maybe-install-info-intl install-info-intl
14426 maybe-install-info-intl:
14427 @if intl
14428 maybe-install-info-intl: install-info-intl
14430 install-info-intl: \
14431 configure-intl \
14432 info-intl
14433 @[ -f ./intl/Makefile ] || exit 0; \
14434 r=`${PWD_COMMAND}`; export r; \
14435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14436 $(HOST_EXPORTS) \
14437 for flag in $(EXTRA_HOST_FLAGS) ; do \
14438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14439 done; \
14440 echo "Doing install-info in intl" ; \
14441 (cd $(HOST_SUBDIR)/intl && \
14442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14444 "RANLIB=$${RANLIB}" \
14445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14446 install-info) \
14447 || exit 1
14449 @endif intl
14451 .PHONY: maybe-installcheck-intl installcheck-intl
14452 maybe-installcheck-intl:
14453 @if intl
14454 maybe-installcheck-intl: installcheck-intl
14456 installcheck-intl: \
14457 configure-intl
14458 @[ -f ./intl/Makefile ] || exit 0; \
14459 r=`${PWD_COMMAND}`; export r; \
14460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14461 $(HOST_EXPORTS) \
14462 for flag in $(EXTRA_HOST_FLAGS) ; do \
14463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14464 done; \
14465 echo "Doing installcheck in intl" ; \
14466 (cd $(HOST_SUBDIR)/intl && \
14467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14469 "RANLIB=$${RANLIB}" \
14470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14471 installcheck) \
14472 || exit 1
14474 @endif intl
14476 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14477 maybe-mostlyclean-intl:
14478 @if intl
14479 maybe-mostlyclean-intl: mostlyclean-intl
14481 mostlyclean-intl:
14482 @[ -f ./intl/Makefile ] || exit 0; \
14483 r=`${PWD_COMMAND}`; export r; \
14484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14485 $(HOST_EXPORTS) \
14486 for flag in $(EXTRA_HOST_FLAGS) ; do \
14487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14488 done; \
14489 echo "Doing mostlyclean in intl" ; \
14490 (cd $(HOST_SUBDIR)/intl && \
14491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14493 "RANLIB=$${RANLIB}" \
14494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14495 mostlyclean) \
14496 || exit 1
14498 @endif intl
14500 .PHONY: maybe-clean-intl clean-intl
14501 maybe-clean-intl:
14502 @if intl
14503 maybe-clean-intl: clean-intl
14505 clean-intl:
14506 @[ -f ./intl/Makefile ] || exit 0; \
14507 r=`${PWD_COMMAND}`; export r; \
14508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14509 $(HOST_EXPORTS) \
14510 for flag in $(EXTRA_HOST_FLAGS) ; do \
14511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14512 done; \
14513 echo "Doing clean in intl" ; \
14514 (cd $(HOST_SUBDIR)/intl && \
14515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14517 "RANLIB=$${RANLIB}" \
14518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14519 clean) \
14520 || exit 1
14522 @endif intl
14524 .PHONY: maybe-distclean-intl distclean-intl
14525 maybe-distclean-intl:
14526 @if intl
14527 maybe-distclean-intl: distclean-intl
14529 distclean-intl:
14530 @[ -f ./intl/Makefile ] || exit 0; \
14531 r=`${PWD_COMMAND}`; export r; \
14532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14533 $(HOST_EXPORTS) \
14534 for flag in $(EXTRA_HOST_FLAGS) ; do \
14535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14536 done; \
14537 echo "Doing distclean in intl" ; \
14538 (cd $(HOST_SUBDIR)/intl && \
14539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14541 "RANLIB=$${RANLIB}" \
14542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14543 distclean) \
14544 || exit 1
14546 @endif intl
14548 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14549 maybe-maintainer-clean-intl:
14550 @if intl
14551 maybe-maintainer-clean-intl: maintainer-clean-intl
14553 maintainer-clean-intl:
14554 @[ -f ./intl/Makefile ] || exit 0; \
14555 r=`${PWD_COMMAND}`; export r; \
14556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14557 $(HOST_EXPORTS) \
14558 for flag in $(EXTRA_HOST_FLAGS) ; do \
14559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14560 done; \
14561 echo "Doing maintainer-clean in intl" ; \
14562 (cd $(HOST_SUBDIR)/intl && \
14563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14565 "RANLIB=$${RANLIB}" \
14566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14567 maintainer-clean) \
14568 || exit 1
14570 @endif intl
14574 .PHONY: configure-tcl maybe-configure-tcl
14575 maybe-configure-tcl:
14576 @if tcl
14577 maybe-configure-tcl: configure-tcl
14578 configure-tcl:
14579 @: $(MAKE); $(unstage)
14580 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14582 r=`${PWD_COMMAND}`; export r; \
14583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14584 $(HOST_EXPORTS) \
14585 echo Configuring in $(HOST_SUBDIR)/tcl; \
14586 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14587 case $(srcdir) in \
14588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14589 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14591 esac; \
14592 srcdiroption="--srcdir=$${topdir}/tcl"; \
14593 libsrcdir="$$s/tcl"; \
14594 $(SHELL) $${libsrcdir}/configure \
14595 $(HOST_CONFIGARGS) $${srcdiroption} \
14596 || exit 1
14597 @endif tcl
14603 .PHONY: all-tcl maybe-all-tcl
14604 maybe-all-tcl:
14605 @if tcl
14606 TARGET-tcl=all
14607 maybe-all-tcl: all-tcl
14608 all-tcl: configure-tcl
14609 @: $(MAKE); $(unstage)
14610 @r=`${PWD_COMMAND}`; export r; \
14611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14612 $(HOST_EXPORTS) \
14613 (cd $(HOST_SUBDIR)/tcl && \
14614 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14615 @endif tcl
14620 .PHONY: check-tcl maybe-check-tcl
14621 maybe-check-tcl:
14622 @if tcl
14623 maybe-check-tcl: check-tcl
14625 check-tcl:
14626 @: $(MAKE); $(unstage)
14627 @r=`${PWD_COMMAND}`; export r; \
14628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14629 $(HOST_EXPORTS) \
14630 (cd $(HOST_SUBDIR)/tcl && \
14631 $(MAKE) $(FLAGS_TO_PASS) check)
14633 @endif tcl
14635 .PHONY: install-tcl maybe-install-tcl
14636 maybe-install-tcl:
14637 @if tcl
14638 maybe-install-tcl: install-tcl
14640 install-tcl: installdirs
14641 @: $(MAKE); $(unstage)
14642 @r=`${PWD_COMMAND}`; export r; \
14643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14644 $(HOST_EXPORTS) \
14645 (cd $(HOST_SUBDIR)/tcl && \
14646 $(MAKE) $(FLAGS_TO_PASS) install)
14648 @endif tcl
14650 # Other targets (info, dvi, etc.)
14652 .PHONY: maybe-info-tcl info-tcl
14653 maybe-info-tcl:
14654 @if tcl
14655 maybe-info-tcl: info-tcl
14657 info-tcl: \
14658 configure-tcl
14659 @: $(MAKE); $(unstage)
14660 @[ -f ./tcl/Makefile ] || exit 0; \
14661 r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 $(HOST_EXPORTS) \
14664 for flag in $(EXTRA_HOST_FLAGS) ; do \
14665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14666 done; \
14667 echo "Doing info in tcl" ; \
14668 (cd $(HOST_SUBDIR)/tcl && \
14669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14671 "RANLIB=$${RANLIB}" \
14672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14673 info) \
14674 || exit 1
14676 @endif tcl
14678 .PHONY: maybe-dvi-tcl dvi-tcl
14679 maybe-dvi-tcl:
14680 @if tcl
14681 maybe-dvi-tcl: dvi-tcl
14683 dvi-tcl: \
14684 configure-tcl
14685 @: $(MAKE); $(unstage)
14686 @[ -f ./tcl/Makefile ] || exit 0; \
14687 r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689 $(HOST_EXPORTS) \
14690 for flag in $(EXTRA_HOST_FLAGS) ; do \
14691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14692 done; \
14693 echo "Doing dvi in tcl" ; \
14694 (cd $(HOST_SUBDIR)/tcl && \
14695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14697 "RANLIB=$${RANLIB}" \
14698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14699 dvi) \
14700 || exit 1
14702 @endif tcl
14704 .PHONY: maybe-html-tcl html-tcl
14705 maybe-html-tcl:
14706 @if tcl
14707 maybe-html-tcl: html-tcl
14709 html-tcl: \
14710 configure-tcl
14711 @: $(MAKE); $(unstage)
14712 @[ -f ./tcl/Makefile ] || exit 0; \
14713 r=`${PWD_COMMAND}`; export r; \
14714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14715 $(HOST_EXPORTS) \
14716 for flag in $(EXTRA_HOST_FLAGS) ; do \
14717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14718 done; \
14719 echo "Doing html in tcl" ; \
14720 (cd $(HOST_SUBDIR)/tcl && \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723 "RANLIB=$${RANLIB}" \
14724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14725 html) \
14726 || exit 1
14728 @endif tcl
14730 .PHONY: maybe-TAGS-tcl TAGS-tcl
14731 maybe-TAGS-tcl:
14732 @if tcl
14733 maybe-TAGS-tcl: TAGS-tcl
14735 TAGS-tcl: \
14736 configure-tcl
14737 @: $(MAKE); $(unstage)
14738 @[ -f ./tcl/Makefile ] || exit 0; \
14739 r=`${PWD_COMMAND}`; export r; \
14740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14741 $(HOST_EXPORTS) \
14742 for flag in $(EXTRA_HOST_FLAGS) ; do \
14743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14744 done; \
14745 echo "Doing TAGS in tcl" ; \
14746 (cd $(HOST_SUBDIR)/tcl && \
14747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14749 "RANLIB=$${RANLIB}" \
14750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14751 TAGS) \
14752 || exit 1
14754 @endif tcl
14756 .PHONY: maybe-install-info-tcl install-info-tcl
14757 maybe-install-info-tcl:
14758 @if tcl
14759 maybe-install-info-tcl: install-info-tcl
14761 install-info-tcl: \
14762 configure-tcl \
14763 info-tcl
14764 @: $(MAKE); $(unstage)
14765 @[ -f ./tcl/Makefile ] || exit 0; \
14766 r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14768 $(HOST_EXPORTS) \
14769 for flag in $(EXTRA_HOST_FLAGS) ; do \
14770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14771 done; \
14772 echo "Doing install-info in tcl" ; \
14773 (cd $(HOST_SUBDIR)/tcl && \
14774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14776 "RANLIB=$${RANLIB}" \
14777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14778 install-info) \
14779 || exit 1
14781 @endif tcl
14783 .PHONY: maybe-installcheck-tcl installcheck-tcl
14784 maybe-installcheck-tcl:
14785 @if tcl
14786 maybe-installcheck-tcl: installcheck-tcl
14788 installcheck-tcl: \
14789 configure-tcl
14790 @: $(MAKE); $(unstage)
14791 @[ -f ./tcl/Makefile ] || exit 0; \
14792 r=`${PWD_COMMAND}`; export r; \
14793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14794 $(HOST_EXPORTS) \
14795 for flag in $(EXTRA_HOST_FLAGS) ; do \
14796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14797 done; \
14798 echo "Doing installcheck in tcl" ; \
14799 (cd $(HOST_SUBDIR)/tcl && \
14800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14802 "RANLIB=$${RANLIB}" \
14803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14804 installcheck) \
14805 || exit 1
14807 @endif tcl
14809 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14810 maybe-mostlyclean-tcl:
14811 @if tcl
14812 maybe-mostlyclean-tcl: mostlyclean-tcl
14814 # tcl doesn't support mostlyclean.
14815 mostlyclean-tcl:
14817 @endif tcl
14819 .PHONY: maybe-clean-tcl clean-tcl
14820 maybe-clean-tcl:
14821 @if tcl
14822 maybe-clean-tcl: clean-tcl
14824 clean-tcl:
14825 @: $(MAKE); $(unstage)
14826 @[ -f ./tcl/Makefile ] || exit 0; \
14827 r=`${PWD_COMMAND}`; export r; \
14828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14829 $(HOST_EXPORTS) \
14830 for flag in $(EXTRA_HOST_FLAGS) ; do \
14831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14832 done; \
14833 echo "Doing clean in tcl" ; \
14834 (cd $(HOST_SUBDIR)/tcl && \
14835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14837 "RANLIB=$${RANLIB}" \
14838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14839 clean) \
14840 || exit 1
14842 @endif tcl
14844 .PHONY: maybe-distclean-tcl distclean-tcl
14845 maybe-distclean-tcl:
14846 @if tcl
14847 maybe-distclean-tcl: distclean-tcl
14849 distclean-tcl:
14850 @: $(MAKE); $(unstage)
14851 @[ -f ./tcl/Makefile ] || exit 0; \
14852 r=`${PWD_COMMAND}`; export r; \
14853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14854 $(HOST_EXPORTS) \
14855 for flag in $(EXTRA_HOST_FLAGS) ; do \
14856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14857 done; \
14858 echo "Doing distclean in tcl" ; \
14859 (cd $(HOST_SUBDIR)/tcl && \
14860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14862 "RANLIB=$${RANLIB}" \
14863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14864 distclean) \
14865 || exit 1
14867 @endif tcl
14869 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14870 maybe-maintainer-clean-tcl:
14871 @if tcl
14872 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14874 maintainer-clean-tcl:
14875 @: $(MAKE); $(unstage)
14876 @[ -f ./tcl/Makefile ] || exit 0; \
14877 r=`${PWD_COMMAND}`; export r; \
14878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14879 $(HOST_EXPORTS) \
14880 for flag in $(EXTRA_HOST_FLAGS) ; do \
14881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14882 done; \
14883 echo "Doing maintainer-clean in tcl" ; \
14884 (cd $(HOST_SUBDIR)/tcl && \
14885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14887 "RANLIB=$${RANLIB}" \
14888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14889 maintainer-clean) \
14890 || exit 1
14892 @endif tcl
14896 .PHONY: configure-itcl maybe-configure-itcl
14897 maybe-configure-itcl:
14898 @if itcl
14899 maybe-configure-itcl: configure-itcl
14900 configure-itcl:
14901 @: $(MAKE); $(unstage)
14902 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14904 r=`${PWD_COMMAND}`; export r; \
14905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14906 $(HOST_EXPORTS) \
14907 echo Configuring in $(HOST_SUBDIR)/itcl; \
14908 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14909 case $(srcdir) in \
14910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14911 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14913 esac; \
14914 srcdiroption="--srcdir=$${topdir}/itcl"; \
14915 libsrcdir="$$s/itcl"; \
14916 $(SHELL) $${libsrcdir}/configure \
14917 $(HOST_CONFIGARGS) $${srcdiroption} \
14918 || exit 1
14919 @endif itcl
14925 .PHONY: all-itcl maybe-all-itcl
14926 maybe-all-itcl:
14927 @if itcl
14928 TARGET-itcl=all
14929 maybe-all-itcl: all-itcl
14930 all-itcl: configure-itcl
14931 @: $(MAKE); $(unstage)
14932 @r=`${PWD_COMMAND}`; export r; \
14933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14934 $(HOST_EXPORTS) \
14935 (cd $(HOST_SUBDIR)/itcl && \
14936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14937 @endif itcl
14942 .PHONY: check-itcl maybe-check-itcl
14943 maybe-check-itcl:
14944 @if itcl
14945 maybe-check-itcl: check-itcl
14947 check-itcl:
14948 @: $(MAKE); $(unstage)
14949 @r=`${PWD_COMMAND}`; export r; \
14950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14951 $(HOST_EXPORTS) \
14952 (cd $(HOST_SUBDIR)/itcl && \
14953 $(MAKE) $(FLAGS_TO_PASS) check)
14955 @endif itcl
14957 .PHONY: install-itcl maybe-install-itcl
14958 maybe-install-itcl:
14959 @if itcl
14960 maybe-install-itcl: install-itcl
14962 install-itcl: installdirs
14963 @: $(MAKE); $(unstage)
14964 @r=`${PWD_COMMAND}`; export r; \
14965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14966 $(HOST_EXPORTS) \
14967 (cd $(HOST_SUBDIR)/itcl && \
14968 $(MAKE) $(FLAGS_TO_PASS) install)
14970 @endif itcl
14972 # Other targets (info, dvi, etc.)
14974 .PHONY: maybe-info-itcl info-itcl
14975 maybe-info-itcl:
14976 @if itcl
14977 maybe-info-itcl: info-itcl
14979 info-itcl: \
14980 configure-itcl
14981 @: $(MAKE); $(unstage)
14982 @[ -f ./itcl/Makefile ] || exit 0; \
14983 r=`${PWD_COMMAND}`; export r; \
14984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14985 $(HOST_EXPORTS) \
14986 for flag in $(EXTRA_HOST_FLAGS) ; do \
14987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14988 done; \
14989 echo "Doing info in itcl" ; \
14990 (cd $(HOST_SUBDIR)/itcl && \
14991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14993 "RANLIB=$${RANLIB}" \
14994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14995 info) \
14996 || exit 1
14998 @endif itcl
15000 .PHONY: maybe-dvi-itcl dvi-itcl
15001 maybe-dvi-itcl:
15002 @if itcl
15003 maybe-dvi-itcl: dvi-itcl
15005 dvi-itcl: \
15006 configure-itcl
15007 @: $(MAKE); $(unstage)
15008 @[ -f ./itcl/Makefile ] || exit 0; \
15009 r=`${PWD_COMMAND}`; export r; \
15010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15011 $(HOST_EXPORTS) \
15012 for flag in $(EXTRA_HOST_FLAGS) ; do \
15013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15014 done; \
15015 echo "Doing dvi in itcl" ; \
15016 (cd $(HOST_SUBDIR)/itcl && \
15017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15019 "RANLIB=$${RANLIB}" \
15020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15021 dvi) \
15022 || exit 1
15024 @endif itcl
15026 .PHONY: maybe-html-itcl html-itcl
15027 maybe-html-itcl:
15028 @if itcl
15029 maybe-html-itcl: html-itcl
15031 html-itcl: \
15032 configure-itcl
15033 @: $(MAKE); $(unstage)
15034 @[ -f ./itcl/Makefile ] || exit 0; \
15035 r=`${PWD_COMMAND}`; export r; \
15036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15037 $(HOST_EXPORTS) \
15038 for flag in $(EXTRA_HOST_FLAGS) ; do \
15039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15040 done; \
15041 echo "Doing html in itcl" ; \
15042 (cd $(HOST_SUBDIR)/itcl && \
15043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15045 "RANLIB=$${RANLIB}" \
15046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15047 html) \
15048 || exit 1
15050 @endif itcl
15052 .PHONY: maybe-TAGS-itcl TAGS-itcl
15053 maybe-TAGS-itcl:
15054 @if itcl
15055 maybe-TAGS-itcl: TAGS-itcl
15057 TAGS-itcl: \
15058 configure-itcl
15059 @: $(MAKE); $(unstage)
15060 @[ -f ./itcl/Makefile ] || exit 0; \
15061 r=`${PWD_COMMAND}`; export r; \
15062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15063 $(HOST_EXPORTS) \
15064 for flag in $(EXTRA_HOST_FLAGS) ; do \
15065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15066 done; \
15067 echo "Doing TAGS in itcl" ; \
15068 (cd $(HOST_SUBDIR)/itcl && \
15069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15071 "RANLIB=$${RANLIB}" \
15072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15073 TAGS) \
15074 || exit 1
15076 @endif itcl
15078 .PHONY: maybe-install-info-itcl install-info-itcl
15079 maybe-install-info-itcl:
15080 @if itcl
15081 maybe-install-info-itcl: install-info-itcl
15083 install-info-itcl: \
15084 configure-itcl \
15085 info-itcl
15086 @: $(MAKE); $(unstage)
15087 @[ -f ./itcl/Makefile ] || exit 0; \
15088 r=`${PWD_COMMAND}`; export r; \
15089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15090 $(HOST_EXPORTS) \
15091 for flag in $(EXTRA_HOST_FLAGS) ; do \
15092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15093 done; \
15094 echo "Doing install-info in itcl" ; \
15095 (cd $(HOST_SUBDIR)/itcl && \
15096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15098 "RANLIB=$${RANLIB}" \
15099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15100 install-info) \
15101 || exit 1
15103 @endif itcl
15105 .PHONY: maybe-installcheck-itcl installcheck-itcl
15106 maybe-installcheck-itcl:
15107 @if itcl
15108 maybe-installcheck-itcl: installcheck-itcl
15110 installcheck-itcl: \
15111 configure-itcl
15112 @: $(MAKE); $(unstage)
15113 @[ -f ./itcl/Makefile ] || exit 0; \
15114 r=`${PWD_COMMAND}`; export r; \
15115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15116 $(HOST_EXPORTS) \
15117 for flag in $(EXTRA_HOST_FLAGS) ; do \
15118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15119 done; \
15120 echo "Doing installcheck in itcl" ; \
15121 (cd $(HOST_SUBDIR)/itcl && \
15122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15124 "RANLIB=$${RANLIB}" \
15125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15126 installcheck) \
15127 || exit 1
15129 @endif itcl
15131 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15132 maybe-mostlyclean-itcl:
15133 @if itcl
15134 maybe-mostlyclean-itcl: mostlyclean-itcl
15136 mostlyclean-itcl:
15137 @: $(MAKE); $(unstage)
15138 @[ -f ./itcl/Makefile ] || exit 0; \
15139 r=`${PWD_COMMAND}`; export r; \
15140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15141 $(HOST_EXPORTS) \
15142 for flag in $(EXTRA_HOST_FLAGS) ; do \
15143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15144 done; \
15145 echo "Doing mostlyclean in itcl" ; \
15146 (cd $(HOST_SUBDIR)/itcl && \
15147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15149 "RANLIB=$${RANLIB}" \
15150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15151 mostlyclean) \
15152 || exit 1
15154 @endif itcl
15156 .PHONY: maybe-clean-itcl clean-itcl
15157 maybe-clean-itcl:
15158 @if itcl
15159 maybe-clean-itcl: clean-itcl
15161 clean-itcl:
15162 @: $(MAKE); $(unstage)
15163 @[ -f ./itcl/Makefile ] || exit 0; \
15164 r=`${PWD_COMMAND}`; export r; \
15165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15166 $(HOST_EXPORTS) \
15167 for flag in $(EXTRA_HOST_FLAGS) ; do \
15168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15169 done; \
15170 echo "Doing clean in itcl" ; \
15171 (cd $(HOST_SUBDIR)/itcl && \
15172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15174 "RANLIB=$${RANLIB}" \
15175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15176 clean) \
15177 || exit 1
15179 @endif itcl
15181 .PHONY: maybe-distclean-itcl distclean-itcl
15182 maybe-distclean-itcl:
15183 @if itcl
15184 maybe-distclean-itcl: distclean-itcl
15186 distclean-itcl:
15187 @: $(MAKE); $(unstage)
15188 @[ -f ./itcl/Makefile ] || exit 0; \
15189 r=`${PWD_COMMAND}`; export r; \
15190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15191 $(HOST_EXPORTS) \
15192 for flag in $(EXTRA_HOST_FLAGS) ; do \
15193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15194 done; \
15195 echo "Doing distclean in itcl" ; \
15196 (cd $(HOST_SUBDIR)/itcl && \
15197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15199 "RANLIB=$${RANLIB}" \
15200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15201 distclean) \
15202 || exit 1
15204 @endif itcl
15206 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15207 maybe-maintainer-clean-itcl:
15208 @if itcl
15209 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15211 maintainer-clean-itcl:
15212 @: $(MAKE); $(unstage)
15213 @[ -f ./itcl/Makefile ] || exit 0; \
15214 r=`${PWD_COMMAND}`; export r; \
15215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15216 $(HOST_EXPORTS) \
15217 for flag in $(EXTRA_HOST_FLAGS) ; do \
15218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15219 done; \
15220 echo "Doing maintainer-clean in itcl" ; \
15221 (cd $(HOST_SUBDIR)/itcl && \
15222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15224 "RANLIB=$${RANLIB}" \
15225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15226 maintainer-clean) \
15227 || exit 1
15229 @endif itcl
15233 .PHONY: configure-ld maybe-configure-ld
15234 maybe-configure-ld:
15235 @if ld
15236 maybe-configure-ld: configure-ld
15237 configure-ld:
15238 @test -f stage_last && exit 0; \
15239 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15241 r=`${PWD_COMMAND}`; export r; \
15242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15243 $(HOST_EXPORTS) \
15244 echo Configuring in $(HOST_SUBDIR)/ld; \
15245 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15246 case $(srcdir) in \
15247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15248 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15250 esac; \
15251 srcdiroption="--srcdir=$${topdir}/ld"; \
15252 libsrcdir="$$s/ld"; \
15253 $(SHELL) $${libsrcdir}/configure \
15254 $(HOST_CONFIGARGS) $${srcdiroption} \
15255 || exit 1
15256 @endif ld
15260 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15261 maybe-configure-stage1-ld:
15262 @if ld-bootstrap
15263 maybe-configure-stage1-ld: configure-stage1-ld
15264 configure-stage1-ld:
15265 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15267 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15268 $(HOST_EXPORTS) \
15269 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15271 cd $(HOST_SUBDIR)/ld || exit 1; \
15272 case $(srcdir) in \
15273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15274 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15276 esac; \
15277 srcdiroption="--srcdir=$${topdir}/ld"; \
15278 libsrcdir="$$s/ld"; \
15279 $(SHELL) $${libsrcdir}/configure \
15280 $(HOST_CONFIGARGS) $${srcdiroption} \
15281 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15282 @endif ld-bootstrap
15284 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15285 maybe-configure-stage2-ld:
15286 @if ld-bootstrap
15287 maybe-configure-stage2-ld: configure-stage2-ld
15288 configure-stage2-ld:
15289 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15291 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15292 $(HOST_EXPORTS) \
15293 $(POSTSTAGE1_HOST_EXPORTS) \
15294 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15296 cd $(HOST_SUBDIR)/ld || exit 1; \
15297 case $(srcdir) in \
15298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15299 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15301 esac; \
15302 srcdiroption="--srcdir=$${topdir}/ld"; \
15303 libsrcdir="$$s/ld"; \
15304 $(SHELL) $${libsrcdir}/configure \
15305 $(HOST_CONFIGARGS) $${srcdiroption} \
15306 @stage2_werror_flag@
15307 @endif ld-bootstrap
15309 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15310 maybe-configure-stage3-ld:
15311 @if ld-bootstrap
15312 maybe-configure-stage3-ld: configure-stage3-ld
15313 configure-stage3-ld:
15314 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15316 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15317 $(HOST_EXPORTS) \
15318 $(POSTSTAGE1_HOST_EXPORTS) \
15319 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15321 cd $(HOST_SUBDIR)/ld || exit 1; \
15322 case $(srcdir) in \
15323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15324 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15326 esac; \
15327 srcdiroption="--srcdir=$${topdir}/ld"; \
15328 libsrcdir="$$s/ld"; \
15329 $(SHELL) $${libsrcdir}/configure \
15330 $(HOST_CONFIGARGS) $${srcdiroption} \
15331 @stage2_werror_flag@
15332 @endif ld-bootstrap
15334 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15335 maybe-configure-stage4-ld:
15336 @if ld-bootstrap
15337 maybe-configure-stage4-ld: configure-stage4-ld
15338 configure-stage4-ld:
15339 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15341 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15342 $(HOST_EXPORTS) \
15343 $(POSTSTAGE1_HOST_EXPORTS) \
15344 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15346 cd $(HOST_SUBDIR)/ld || exit 1; \
15347 case $(srcdir) in \
15348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15349 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15351 esac; \
15352 srcdiroption="--srcdir=$${topdir}/ld"; \
15353 libsrcdir="$$s/ld"; \
15354 $(SHELL) $${libsrcdir}/configure \
15355 $(HOST_CONFIGARGS) $${srcdiroption} \
15356 @stage2_werror_flag@
15357 @endif ld-bootstrap
15359 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15360 maybe-configure-stageprofile-ld:
15361 @if ld-bootstrap
15362 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15363 configure-stageprofile-ld:
15364 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15366 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15367 $(HOST_EXPORTS) \
15368 $(POSTSTAGE1_HOST_EXPORTS) \
15369 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15371 cd $(HOST_SUBDIR)/ld || exit 1; \
15372 case $(srcdir) in \
15373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15374 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15376 esac; \
15377 srcdiroption="--srcdir=$${topdir}/ld"; \
15378 libsrcdir="$$s/ld"; \
15379 $(SHELL) $${libsrcdir}/configure \
15380 $(HOST_CONFIGARGS) $${srcdiroption} \
15381 @stage2_werror_flag@
15382 @endif ld-bootstrap
15384 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15385 maybe-configure-stagefeedback-ld:
15386 @if ld-bootstrap
15387 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15388 configure-stagefeedback-ld:
15389 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15391 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15392 $(HOST_EXPORTS) \
15393 $(POSTSTAGE1_HOST_EXPORTS) \
15394 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15396 cd $(HOST_SUBDIR)/ld || exit 1; \
15397 case $(srcdir) in \
15398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15399 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15401 esac; \
15402 srcdiroption="--srcdir=$${topdir}/ld"; \
15403 libsrcdir="$$s/ld"; \
15404 $(SHELL) $${libsrcdir}/configure \
15405 $(HOST_CONFIGARGS) $${srcdiroption} \
15406 @stage2_werror_flag@
15407 @endif ld-bootstrap
15413 .PHONY: all-ld maybe-all-ld
15414 maybe-all-ld:
15415 @if ld
15416 TARGET-ld=all
15417 maybe-all-ld: all-ld
15418 all-ld: configure-ld
15419 @test -f stage_last && exit 0; \
15420 r=`${PWD_COMMAND}`; export r; \
15421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15422 $(HOST_EXPORTS) \
15423 (cd $(HOST_SUBDIR)/ld && \
15424 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15425 @endif ld
15429 .PHONY: all-stage1-ld maybe-all-stage1-ld
15430 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15431 maybe-all-stage1-ld:
15432 maybe-clean-stage1-ld:
15433 @if ld-bootstrap
15434 maybe-all-stage1-ld: all-stage1-ld
15435 all-stage1: all-stage1-ld
15436 TARGET-stage1-ld = $(TARGET-ld)
15437 all-stage1-ld: configure-stage1-ld
15438 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15439 @r=`${PWD_COMMAND}`; export r; \
15440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15441 $(HOST_EXPORTS) \
15442 cd $(HOST_SUBDIR)/ld && \
15443 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15444 $(TARGET-stage1-ld)
15446 maybe-clean-stage1-ld: clean-stage1-ld
15447 clean-stage1: clean-stage1-ld
15448 clean-stage1-ld:
15449 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15450 || exit 0 ; \
15451 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15452 cd $(HOST_SUBDIR)/ld && \
15453 $(MAKE) $(FLAGS_TO_PASS) \
15454 CFLAGS="$(STAGE1_CFLAGS)" clean
15455 @endif ld-bootstrap
15458 .PHONY: all-stage2-ld maybe-all-stage2-ld
15459 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15460 maybe-all-stage2-ld:
15461 maybe-clean-stage2-ld:
15462 @if ld-bootstrap
15463 maybe-all-stage2-ld: all-stage2-ld
15464 all-stage2: all-stage2-ld
15465 TARGET-stage2-ld = $(TARGET-ld)
15466 all-stage2-ld: configure-stage2-ld
15467 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15468 @r=`${PWD_COMMAND}`; export r; \
15469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15470 $(HOST_EXPORTS) \
15471 $(POSTSTAGE1_HOST_EXPORTS) \
15472 cd $(HOST_SUBDIR)/ld && \
15473 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15474 $(TARGET-stage2-ld)
15476 maybe-clean-stage2-ld: clean-stage2-ld
15477 clean-stage2: clean-stage2-ld
15478 clean-stage2-ld:
15479 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15480 || exit 0 ; \
15481 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15482 cd $(HOST_SUBDIR)/ld && \
15483 $(MAKE) $(FLAGS_TO_PASS) \
15484 $(POSTSTAGE1_FLAGS_TO_PASS) \
15485 clean
15486 @endif ld-bootstrap
15489 .PHONY: all-stage3-ld maybe-all-stage3-ld
15490 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15491 maybe-all-stage3-ld:
15492 maybe-clean-stage3-ld:
15493 @if ld-bootstrap
15494 maybe-all-stage3-ld: all-stage3-ld
15495 all-stage3: all-stage3-ld
15496 TARGET-stage3-ld = $(TARGET-ld)
15497 all-stage3-ld: configure-stage3-ld
15498 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15499 @r=`${PWD_COMMAND}`; export r; \
15500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15501 $(HOST_EXPORTS) \
15502 $(POSTSTAGE1_HOST_EXPORTS) \
15503 cd $(HOST_SUBDIR)/ld && \
15504 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15505 $(TARGET-stage3-ld)
15507 maybe-clean-stage3-ld: clean-stage3-ld
15508 clean-stage3: clean-stage3-ld
15509 clean-stage3-ld:
15510 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15511 || exit 0 ; \
15512 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15513 cd $(HOST_SUBDIR)/ld && \
15514 $(MAKE) $(FLAGS_TO_PASS) \
15515 $(POSTSTAGE1_FLAGS_TO_PASS) \
15516 clean
15517 @endif ld-bootstrap
15520 .PHONY: all-stage4-ld maybe-all-stage4-ld
15521 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15522 maybe-all-stage4-ld:
15523 maybe-clean-stage4-ld:
15524 @if ld-bootstrap
15525 maybe-all-stage4-ld: all-stage4-ld
15526 all-stage4: all-stage4-ld
15527 TARGET-stage4-ld = $(TARGET-ld)
15528 all-stage4-ld: configure-stage4-ld
15529 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15530 @r=`${PWD_COMMAND}`; export r; \
15531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 $(HOST_EXPORTS) \
15533 $(POSTSTAGE1_HOST_EXPORTS) \
15534 cd $(HOST_SUBDIR)/ld && \
15535 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15536 $(TARGET-stage4-ld)
15538 maybe-clean-stage4-ld: clean-stage4-ld
15539 clean-stage4: clean-stage4-ld
15540 clean-stage4-ld:
15541 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15542 || exit 0 ; \
15543 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15544 cd $(HOST_SUBDIR)/ld && \
15545 $(MAKE) $(FLAGS_TO_PASS) \
15546 $(POSTSTAGE1_FLAGS_TO_PASS) \
15547 clean
15548 @endif ld-bootstrap
15551 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15552 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15553 maybe-all-stageprofile-ld:
15554 maybe-clean-stageprofile-ld:
15555 @if ld-bootstrap
15556 maybe-all-stageprofile-ld: all-stageprofile-ld
15557 all-stageprofile: all-stageprofile-ld
15558 TARGET-stageprofile-ld = $(TARGET-ld)
15559 all-stageprofile-ld: configure-stageprofile-ld
15560 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15561 @r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(HOST_EXPORTS) \
15564 $(POSTSTAGE1_HOST_EXPORTS) \
15565 cd $(HOST_SUBDIR)/ld && \
15566 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15567 $(TARGET-stageprofile-ld)
15569 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15570 clean-stageprofile: clean-stageprofile-ld
15571 clean-stageprofile-ld:
15572 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15573 || exit 0 ; \
15574 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15575 cd $(HOST_SUBDIR)/ld && \
15576 $(MAKE) $(FLAGS_TO_PASS) \
15577 $(POSTSTAGE1_FLAGS_TO_PASS) \
15578 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15579 @endif ld-bootstrap
15582 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15583 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15584 maybe-all-stagefeedback-ld:
15585 maybe-clean-stagefeedback-ld:
15586 @if ld-bootstrap
15587 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15588 all-stagefeedback: all-stagefeedback-ld
15589 TARGET-stagefeedback-ld = $(TARGET-ld)
15590 all-stagefeedback-ld: configure-stagefeedback-ld
15591 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15592 @r=`${PWD_COMMAND}`; export r; \
15593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15594 $(HOST_EXPORTS) \
15595 $(POSTSTAGE1_HOST_EXPORTS) \
15596 cd $(HOST_SUBDIR)/ld && \
15597 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15598 $(TARGET-stagefeedback-ld)
15600 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15601 clean-stagefeedback: clean-stagefeedback-ld
15602 clean-stagefeedback-ld:
15603 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15604 || exit 0 ; \
15605 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15606 cd $(HOST_SUBDIR)/ld && \
15607 $(MAKE) $(FLAGS_TO_PASS) \
15608 $(POSTSTAGE1_FLAGS_TO_PASS) \
15609 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15610 @endif ld-bootstrap
15616 .PHONY: check-ld maybe-check-ld
15617 maybe-check-ld:
15618 @if ld
15619 maybe-check-ld: check-ld
15621 check-ld:
15622 @: $(MAKE); $(unstage)
15623 @r=`${PWD_COMMAND}`; export r; \
15624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15625 $(HOST_EXPORTS) \
15626 (cd $(HOST_SUBDIR)/ld && \
15627 $(MAKE) $(FLAGS_TO_PASS) check)
15629 @endif ld
15631 .PHONY: install-ld maybe-install-ld
15632 maybe-install-ld:
15633 @if ld
15634 maybe-install-ld: install-ld
15636 install-ld: installdirs
15637 @: $(MAKE); $(unstage)
15638 @r=`${PWD_COMMAND}`; export r; \
15639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15640 $(HOST_EXPORTS) \
15641 (cd $(HOST_SUBDIR)/ld && \
15642 $(MAKE) $(FLAGS_TO_PASS) install)
15644 @endif ld
15646 # Other targets (info, dvi, etc.)
15648 .PHONY: maybe-info-ld info-ld
15649 maybe-info-ld:
15650 @if ld
15651 maybe-info-ld: info-ld
15653 info-ld: \
15654 configure-ld
15655 @[ -f ./ld/Makefile ] || exit 0; \
15656 r=`${PWD_COMMAND}`; export r; \
15657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 $(HOST_EXPORTS) \
15659 for flag in $(EXTRA_HOST_FLAGS) ; do \
15660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15661 done; \
15662 echo "Doing info in ld" ; \
15663 (cd $(HOST_SUBDIR)/ld && \
15664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15666 "RANLIB=$${RANLIB}" \
15667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15668 info) \
15669 || exit 1
15671 @endif ld
15673 .PHONY: maybe-dvi-ld dvi-ld
15674 maybe-dvi-ld:
15675 @if ld
15676 maybe-dvi-ld: dvi-ld
15678 dvi-ld: \
15679 configure-ld
15680 @[ -f ./ld/Makefile ] || exit 0; \
15681 r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 $(HOST_EXPORTS) \
15684 for flag in $(EXTRA_HOST_FLAGS) ; do \
15685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15686 done; \
15687 echo "Doing dvi in ld" ; \
15688 (cd $(HOST_SUBDIR)/ld && \
15689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15691 "RANLIB=$${RANLIB}" \
15692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15693 dvi) \
15694 || exit 1
15696 @endif ld
15698 .PHONY: maybe-html-ld html-ld
15699 maybe-html-ld:
15700 @if ld
15701 maybe-html-ld: html-ld
15703 html-ld: \
15704 configure-ld
15705 @[ -f ./ld/Makefile ] || exit 0; \
15706 r=`${PWD_COMMAND}`; export r; \
15707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15708 $(HOST_EXPORTS) \
15709 for flag in $(EXTRA_HOST_FLAGS) ; do \
15710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15711 done; \
15712 echo "Doing html in ld" ; \
15713 (cd $(HOST_SUBDIR)/ld && \
15714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15716 "RANLIB=$${RANLIB}" \
15717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15718 html) \
15719 || exit 1
15721 @endif ld
15723 .PHONY: maybe-TAGS-ld TAGS-ld
15724 maybe-TAGS-ld:
15725 @if ld
15726 maybe-TAGS-ld: TAGS-ld
15728 TAGS-ld: \
15729 configure-ld
15730 @[ -f ./ld/Makefile ] || exit 0; \
15731 r=`${PWD_COMMAND}`; export r; \
15732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15733 $(HOST_EXPORTS) \
15734 for flag in $(EXTRA_HOST_FLAGS) ; do \
15735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15736 done; \
15737 echo "Doing TAGS in ld" ; \
15738 (cd $(HOST_SUBDIR)/ld && \
15739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15741 "RANLIB=$${RANLIB}" \
15742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15743 TAGS) \
15744 || exit 1
15746 @endif ld
15748 .PHONY: maybe-install-info-ld install-info-ld
15749 maybe-install-info-ld:
15750 @if ld
15751 maybe-install-info-ld: install-info-ld
15753 install-info-ld: \
15754 configure-ld \
15755 info-ld
15756 @[ -f ./ld/Makefile ] || exit 0; \
15757 r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759 $(HOST_EXPORTS) \
15760 for flag in $(EXTRA_HOST_FLAGS) ; do \
15761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15762 done; \
15763 echo "Doing install-info in ld" ; \
15764 (cd $(HOST_SUBDIR)/ld && \
15765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15767 "RANLIB=$${RANLIB}" \
15768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15769 install-info) \
15770 || exit 1
15772 @endif ld
15774 .PHONY: maybe-installcheck-ld installcheck-ld
15775 maybe-installcheck-ld:
15776 @if ld
15777 maybe-installcheck-ld: installcheck-ld
15779 installcheck-ld: \
15780 configure-ld
15781 @[ -f ./ld/Makefile ] || exit 0; \
15782 r=`${PWD_COMMAND}`; export r; \
15783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15784 $(HOST_EXPORTS) \
15785 for flag in $(EXTRA_HOST_FLAGS) ; do \
15786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15787 done; \
15788 echo "Doing installcheck in ld" ; \
15789 (cd $(HOST_SUBDIR)/ld && \
15790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15792 "RANLIB=$${RANLIB}" \
15793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15794 installcheck) \
15795 || exit 1
15797 @endif ld
15799 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15800 maybe-mostlyclean-ld:
15801 @if ld
15802 maybe-mostlyclean-ld: mostlyclean-ld
15804 mostlyclean-ld:
15805 @[ -f ./ld/Makefile ] || exit 0; \
15806 r=`${PWD_COMMAND}`; export r; \
15807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15808 $(HOST_EXPORTS) \
15809 for flag in $(EXTRA_HOST_FLAGS) ; do \
15810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15811 done; \
15812 echo "Doing mostlyclean in ld" ; \
15813 (cd $(HOST_SUBDIR)/ld && \
15814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15816 "RANLIB=$${RANLIB}" \
15817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15818 mostlyclean) \
15819 || exit 1
15821 @endif ld
15823 .PHONY: maybe-clean-ld clean-ld
15824 maybe-clean-ld:
15825 @if ld
15826 maybe-clean-ld: clean-ld
15828 clean-ld:
15829 @[ -f ./ld/Makefile ] || exit 0; \
15830 r=`${PWD_COMMAND}`; export r; \
15831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15832 $(HOST_EXPORTS) \
15833 for flag in $(EXTRA_HOST_FLAGS) ; do \
15834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15835 done; \
15836 echo "Doing clean in ld" ; \
15837 (cd $(HOST_SUBDIR)/ld && \
15838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15840 "RANLIB=$${RANLIB}" \
15841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15842 clean) \
15843 || exit 1
15845 @endif ld
15847 .PHONY: maybe-distclean-ld distclean-ld
15848 maybe-distclean-ld:
15849 @if ld
15850 maybe-distclean-ld: distclean-ld
15852 distclean-ld:
15853 @[ -f ./ld/Makefile ] || exit 0; \
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(HOST_EXPORTS) \
15857 for flag in $(EXTRA_HOST_FLAGS) ; do \
15858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 done; \
15860 echo "Doing distclean in ld" ; \
15861 (cd $(HOST_SUBDIR)/ld && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15864 "RANLIB=$${RANLIB}" \
15865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15866 distclean) \
15867 || exit 1
15869 @endif ld
15871 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15872 maybe-maintainer-clean-ld:
15873 @if ld
15874 maybe-maintainer-clean-ld: maintainer-clean-ld
15876 maintainer-clean-ld:
15877 @[ -f ./ld/Makefile ] || exit 0; \
15878 r=`${PWD_COMMAND}`; export r; \
15879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15880 $(HOST_EXPORTS) \
15881 for flag in $(EXTRA_HOST_FLAGS) ; do \
15882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15883 done; \
15884 echo "Doing maintainer-clean in ld" ; \
15885 (cd $(HOST_SUBDIR)/ld && \
15886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15888 "RANLIB=$${RANLIB}" \
15889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15890 maintainer-clean) \
15891 || exit 1
15893 @endif ld
15897 .PHONY: configure-libcpp maybe-configure-libcpp
15898 maybe-configure-libcpp:
15899 @if libcpp
15900 maybe-configure-libcpp: configure-libcpp
15901 configure-libcpp:
15902 @test -f stage_last && exit 0; \
15903 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15905 r=`${PWD_COMMAND}`; export r; \
15906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15907 $(HOST_EXPORTS) \
15908 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15909 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15910 case $(srcdir) in \
15911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15912 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15914 esac; \
15915 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15916 libsrcdir="$$s/libcpp"; \
15917 $(SHELL) $${libsrcdir}/configure \
15918 $(HOST_CONFIGARGS) $${srcdiroption} \
15919 || exit 1
15920 @endif libcpp
15924 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15925 maybe-configure-stage1-libcpp:
15926 @if libcpp-bootstrap
15927 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15928 configure-stage1-libcpp:
15929 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15931 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15932 $(HOST_EXPORTS) \
15933 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15935 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15936 case $(srcdir) in \
15937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15938 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15940 esac; \
15941 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15942 libsrcdir="$$s/libcpp"; \
15943 $(SHELL) $${libsrcdir}/configure \
15944 $(HOST_CONFIGARGS) $${srcdiroption} \
15945 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15946 @endif libcpp-bootstrap
15948 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15949 maybe-configure-stage2-libcpp:
15950 @if libcpp-bootstrap
15951 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15952 configure-stage2-libcpp:
15953 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15955 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15956 $(HOST_EXPORTS) \
15957 $(POSTSTAGE1_HOST_EXPORTS) \
15958 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15960 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15961 case $(srcdir) in \
15962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15963 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15965 esac; \
15966 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15967 libsrcdir="$$s/libcpp"; \
15968 $(SHELL) $${libsrcdir}/configure \
15969 $(HOST_CONFIGARGS) $${srcdiroption} \
15970 @stage2_werror_flag@
15971 @endif libcpp-bootstrap
15973 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15974 maybe-configure-stage3-libcpp:
15975 @if libcpp-bootstrap
15976 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15977 configure-stage3-libcpp:
15978 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15980 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15981 $(HOST_EXPORTS) \
15982 $(POSTSTAGE1_HOST_EXPORTS) \
15983 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15985 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15986 case $(srcdir) in \
15987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15988 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15990 esac; \
15991 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15992 libsrcdir="$$s/libcpp"; \
15993 $(SHELL) $${libsrcdir}/configure \
15994 $(HOST_CONFIGARGS) $${srcdiroption} \
15995 @stage2_werror_flag@
15996 @endif libcpp-bootstrap
15998 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15999 maybe-configure-stage4-libcpp:
16000 @if libcpp-bootstrap
16001 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16002 configure-stage4-libcpp:
16003 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16005 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16006 $(HOST_EXPORTS) \
16007 $(POSTSTAGE1_HOST_EXPORTS) \
16008 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16010 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16011 case $(srcdir) in \
16012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16013 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16015 esac; \
16016 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16017 libsrcdir="$$s/libcpp"; \
16018 $(SHELL) $${libsrcdir}/configure \
16019 $(HOST_CONFIGARGS) $${srcdiroption} \
16020 @stage2_werror_flag@
16021 @endif libcpp-bootstrap
16023 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16024 maybe-configure-stageprofile-libcpp:
16025 @if libcpp-bootstrap
16026 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16027 configure-stageprofile-libcpp:
16028 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16030 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16031 $(HOST_EXPORTS) \
16032 $(POSTSTAGE1_HOST_EXPORTS) \
16033 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16035 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16036 case $(srcdir) in \
16037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16038 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16040 esac; \
16041 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16042 libsrcdir="$$s/libcpp"; \
16043 $(SHELL) $${libsrcdir}/configure \
16044 $(HOST_CONFIGARGS) $${srcdiroption} \
16045 @stage2_werror_flag@
16046 @endif libcpp-bootstrap
16048 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16049 maybe-configure-stagefeedback-libcpp:
16050 @if libcpp-bootstrap
16051 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16052 configure-stagefeedback-libcpp:
16053 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16055 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16056 $(HOST_EXPORTS) \
16057 $(POSTSTAGE1_HOST_EXPORTS) \
16058 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16060 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16061 case $(srcdir) in \
16062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16063 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16065 esac; \
16066 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16067 libsrcdir="$$s/libcpp"; \
16068 $(SHELL) $${libsrcdir}/configure \
16069 $(HOST_CONFIGARGS) $${srcdiroption} \
16070 @stage2_werror_flag@
16071 @endif libcpp-bootstrap
16077 .PHONY: all-libcpp maybe-all-libcpp
16078 maybe-all-libcpp:
16079 @if libcpp
16080 TARGET-libcpp=all
16081 maybe-all-libcpp: all-libcpp
16082 all-libcpp: configure-libcpp
16083 @test -f stage_last && exit 0; \
16084 r=`${PWD_COMMAND}`; export r; \
16085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16086 $(HOST_EXPORTS) \
16087 (cd $(HOST_SUBDIR)/libcpp && \
16088 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16089 @endif libcpp
16093 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16094 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16095 maybe-all-stage1-libcpp:
16096 maybe-clean-stage1-libcpp:
16097 @if libcpp-bootstrap
16098 maybe-all-stage1-libcpp: all-stage1-libcpp
16099 all-stage1: all-stage1-libcpp
16100 TARGET-stage1-libcpp = $(TARGET-libcpp)
16101 all-stage1-libcpp: configure-stage1-libcpp
16102 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16103 @r=`${PWD_COMMAND}`; export r; \
16104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16105 $(HOST_EXPORTS) \
16106 cd $(HOST_SUBDIR)/libcpp && \
16107 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16108 $(TARGET-stage1-libcpp)
16110 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16111 clean-stage1: clean-stage1-libcpp
16112 clean-stage1-libcpp:
16113 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16114 || exit 0 ; \
16115 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16116 cd $(HOST_SUBDIR)/libcpp && \
16117 $(MAKE) $(FLAGS_TO_PASS) \
16118 CFLAGS="$(STAGE1_CFLAGS)" clean
16119 @endif libcpp-bootstrap
16122 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16123 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16124 maybe-all-stage2-libcpp:
16125 maybe-clean-stage2-libcpp:
16126 @if libcpp-bootstrap
16127 maybe-all-stage2-libcpp: all-stage2-libcpp
16128 all-stage2: all-stage2-libcpp
16129 TARGET-stage2-libcpp = $(TARGET-libcpp)
16130 all-stage2-libcpp: configure-stage2-libcpp
16131 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16132 @r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16134 $(HOST_EXPORTS) \
16135 $(POSTSTAGE1_HOST_EXPORTS) \
16136 cd $(HOST_SUBDIR)/libcpp && \
16137 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16138 $(TARGET-stage2-libcpp)
16140 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16141 clean-stage2: clean-stage2-libcpp
16142 clean-stage2-libcpp:
16143 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16144 || exit 0 ; \
16145 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16146 cd $(HOST_SUBDIR)/libcpp && \
16147 $(MAKE) $(FLAGS_TO_PASS) \
16148 $(POSTSTAGE1_FLAGS_TO_PASS) \
16149 clean
16150 @endif libcpp-bootstrap
16153 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16154 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16155 maybe-all-stage3-libcpp:
16156 maybe-clean-stage3-libcpp:
16157 @if libcpp-bootstrap
16158 maybe-all-stage3-libcpp: all-stage3-libcpp
16159 all-stage3: all-stage3-libcpp
16160 TARGET-stage3-libcpp = $(TARGET-libcpp)
16161 all-stage3-libcpp: configure-stage3-libcpp
16162 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16163 @r=`${PWD_COMMAND}`; export r; \
16164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16165 $(HOST_EXPORTS) \
16166 $(POSTSTAGE1_HOST_EXPORTS) \
16167 cd $(HOST_SUBDIR)/libcpp && \
16168 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16169 $(TARGET-stage3-libcpp)
16171 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16172 clean-stage3: clean-stage3-libcpp
16173 clean-stage3-libcpp:
16174 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16175 || exit 0 ; \
16176 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16177 cd $(HOST_SUBDIR)/libcpp && \
16178 $(MAKE) $(FLAGS_TO_PASS) \
16179 $(POSTSTAGE1_FLAGS_TO_PASS) \
16180 clean
16181 @endif libcpp-bootstrap
16184 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16185 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16186 maybe-all-stage4-libcpp:
16187 maybe-clean-stage4-libcpp:
16188 @if libcpp-bootstrap
16189 maybe-all-stage4-libcpp: all-stage4-libcpp
16190 all-stage4: all-stage4-libcpp
16191 TARGET-stage4-libcpp = $(TARGET-libcpp)
16192 all-stage4-libcpp: configure-stage4-libcpp
16193 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16194 @r=`${PWD_COMMAND}`; export r; \
16195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16196 $(HOST_EXPORTS) \
16197 $(POSTSTAGE1_HOST_EXPORTS) \
16198 cd $(HOST_SUBDIR)/libcpp && \
16199 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16200 $(TARGET-stage4-libcpp)
16202 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16203 clean-stage4: clean-stage4-libcpp
16204 clean-stage4-libcpp:
16205 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16206 || exit 0 ; \
16207 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16208 cd $(HOST_SUBDIR)/libcpp && \
16209 $(MAKE) $(FLAGS_TO_PASS) \
16210 $(POSTSTAGE1_FLAGS_TO_PASS) \
16211 clean
16212 @endif libcpp-bootstrap
16215 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16216 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16217 maybe-all-stageprofile-libcpp:
16218 maybe-clean-stageprofile-libcpp:
16219 @if libcpp-bootstrap
16220 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16221 all-stageprofile: all-stageprofile-libcpp
16222 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16223 all-stageprofile-libcpp: configure-stageprofile-libcpp
16224 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16225 @r=`${PWD_COMMAND}`; export r; \
16226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16227 $(HOST_EXPORTS) \
16228 $(POSTSTAGE1_HOST_EXPORTS) \
16229 cd $(HOST_SUBDIR)/libcpp && \
16230 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16231 $(TARGET-stageprofile-libcpp)
16233 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16234 clean-stageprofile: clean-stageprofile-libcpp
16235 clean-stageprofile-libcpp:
16236 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16237 || exit 0 ; \
16238 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16239 cd $(HOST_SUBDIR)/libcpp && \
16240 $(MAKE) $(FLAGS_TO_PASS) \
16241 $(POSTSTAGE1_FLAGS_TO_PASS) \
16242 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16243 @endif libcpp-bootstrap
16246 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16247 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16248 maybe-all-stagefeedback-libcpp:
16249 maybe-clean-stagefeedback-libcpp:
16250 @if libcpp-bootstrap
16251 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16252 all-stagefeedback: all-stagefeedback-libcpp
16253 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16254 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16255 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16256 @r=`${PWD_COMMAND}`; export r; \
16257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16258 $(HOST_EXPORTS) \
16259 $(POSTSTAGE1_HOST_EXPORTS) \
16260 cd $(HOST_SUBDIR)/libcpp && \
16261 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16262 $(TARGET-stagefeedback-libcpp)
16264 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16265 clean-stagefeedback: clean-stagefeedback-libcpp
16266 clean-stagefeedback-libcpp:
16267 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16268 || exit 0 ; \
16269 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16270 cd $(HOST_SUBDIR)/libcpp && \
16271 $(MAKE) $(FLAGS_TO_PASS) \
16272 $(POSTSTAGE1_FLAGS_TO_PASS) \
16273 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16274 @endif libcpp-bootstrap
16280 .PHONY: check-libcpp maybe-check-libcpp
16281 maybe-check-libcpp:
16282 @if libcpp
16283 maybe-check-libcpp: check-libcpp
16285 check-libcpp:
16286 @: $(MAKE); $(unstage)
16287 @r=`${PWD_COMMAND}`; export r; \
16288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16289 $(HOST_EXPORTS) \
16290 (cd $(HOST_SUBDIR)/libcpp && \
16291 $(MAKE) $(FLAGS_TO_PASS) check)
16293 @endif libcpp
16295 .PHONY: install-libcpp maybe-install-libcpp
16296 maybe-install-libcpp:
16297 @if libcpp
16298 maybe-install-libcpp: install-libcpp
16300 install-libcpp: installdirs
16301 @: $(MAKE); $(unstage)
16302 @r=`${PWD_COMMAND}`; export r; \
16303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304 $(HOST_EXPORTS) \
16305 (cd $(HOST_SUBDIR)/libcpp && \
16306 $(MAKE) $(FLAGS_TO_PASS) install)
16308 @endif libcpp
16310 # Other targets (info, dvi, etc.)
16312 .PHONY: maybe-info-libcpp info-libcpp
16313 maybe-info-libcpp:
16314 @if libcpp
16315 maybe-info-libcpp: info-libcpp
16317 info-libcpp: \
16318 configure-libcpp
16319 @[ -f ./libcpp/Makefile ] || exit 0; \
16320 r=`${PWD_COMMAND}`; export r; \
16321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16322 $(HOST_EXPORTS) \
16323 for flag in $(EXTRA_HOST_FLAGS) ; do \
16324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16325 done; \
16326 echo "Doing info in libcpp" ; \
16327 (cd $(HOST_SUBDIR)/libcpp && \
16328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16330 "RANLIB=$${RANLIB}" \
16331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16332 info) \
16333 || exit 1
16335 @endif libcpp
16337 .PHONY: maybe-dvi-libcpp dvi-libcpp
16338 maybe-dvi-libcpp:
16339 @if libcpp
16340 maybe-dvi-libcpp: dvi-libcpp
16342 dvi-libcpp: \
16343 configure-libcpp
16344 @[ -f ./libcpp/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 dvi in libcpp" ; \
16352 (cd $(HOST_SUBDIR)/libcpp && \
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 dvi) \
16358 || exit 1
16360 @endif libcpp
16362 .PHONY: maybe-html-libcpp html-libcpp
16363 maybe-html-libcpp:
16364 @if libcpp
16365 maybe-html-libcpp: html-libcpp
16367 html-libcpp: \
16368 configure-libcpp
16369 @[ -f ./libcpp/Makefile ] || exit 0; \
16370 r=`${PWD_COMMAND}`; export r; \
16371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16372 $(HOST_EXPORTS) \
16373 for flag in $(EXTRA_HOST_FLAGS) ; do \
16374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16375 done; \
16376 echo "Doing html in libcpp" ; \
16377 (cd $(HOST_SUBDIR)/libcpp && \
16378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16380 "RANLIB=$${RANLIB}" \
16381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16382 html) \
16383 || exit 1
16385 @endif libcpp
16387 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16388 maybe-TAGS-libcpp:
16389 @if libcpp
16390 maybe-TAGS-libcpp: TAGS-libcpp
16392 TAGS-libcpp: \
16393 configure-libcpp
16394 @[ -f ./libcpp/Makefile ] || exit 0; \
16395 r=`${PWD_COMMAND}`; export r; \
16396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16397 $(HOST_EXPORTS) \
16398 for flag in $(EXTRA_HOST_FLAGS) ; do \
16399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16400 done; \
16401 echo "Doing TAGS in libcpp" ; \
16402 (cd $(HOST_SUBDIR)/libcpp && \
16403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16405 "RANLIB=$${RANLIB}" \
16406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16407 TAGS) \
16408 || exit 1
16410 @endif libcpp
16412 .PHONY: maybe-install-info-libcpp install-info-libcpp
16413 maybe-install-info-libcpp:
16414 @if libcpp
16415 maybe-install-info-libcpp: install-info-libcpp
16417 install-info-libcpp: \
16418 configure-libcpp \
16419 info-libcpp
16420 @[ -f ./libcpp/Makefile ] || exit 0; \
16421 r=`${PWD_COMMAND}`; export r; \
16422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16423 $(HOST_EXPORTS) \
16424 for flag in $(EXTRA_HOST_FLAGS) ; do \
16425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16426 done; \
16427 echo "Doing install-info in libcpp" ; \
16428 (cd $(HOST_SUBDIR)/libcpp && \
16429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16431 "RANLIB=$${RANLIB}" \
16432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16433 install-info) \
16434 || exit 1
16436 @endif libcpp
16438 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16439 maybe-installcheck-libcpp:
16440 @if libcpp
16441 maybe-installcheck-libcpp: installcheck-libcpp
16443 installcheck-libcpp: \
16444 configure-libcpp
16445 @[ -f ./libcpp/Makefile ] || exit 0; \
16446 r=`${PWD_COMMAND}`; export r; \
16447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16448 $(HOST_EXPORTS) \
16449 for flag in $(EXTRA_HOST_FLAGS) ; do \
16450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16451 done; \
16452 echo "Doing installcheck in libcpp" ; \
16453 (cd $(HOST_SUBDIR)/libcpp && \
16454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16456 "RANLIB=$${RANLIB}" \
16457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16458 installcheck) \
16459 || exit 1
16461 @endif libcpp
16463 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16464 maybe-mostlyclean-libcpp:
16465 @if libcpp
16466 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16468 mostlyclean-libcpp:
16469 @[ -f ./libcpp/Makefile ] || exit 0; \
16470 r=`${PWD_COMMAND}`; export r; \
16471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16472 $(HOST_EXPORTS) \
16473 for flag in $(EXTRA_HOST_FLAGS) ; do \
16474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16475 done; \
16476 echo "Doing mostlyclean in libcpp" ; \
16477 (cd $(HOST_SUBDIR)/libcpp && \
16478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16480 "RANLIB=$${RANLIB}" \
16481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16482 mostlyclean) \
16483 || exit 1
16485 @endif libcpp
16487 .PHONY: maybe-clean-libcpp clean-libcpp
16488 maybe-clean-libcpp:
16489 @if libcpp
16490 maybe-clean-libcpp: clean-libcpp
16492 clean-libcpp:
16493 @[ -f ./libcpp/Makefile ] || exit 0; \
16494 r=`${PWD_COMMAND}`; export r; \
16495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16496 $(HOST_EXPORTS) \
16497 for flag in $(EXTRA_HOST_FLAGS) ; do \
16498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16499 done; \
16500 echo "Doing clean in libcpp" ; \
16501 (cd $(HOST_SUBDIR)/libcpp && \
16502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16504 "RANLIB=$${RANLIB}" \
16505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16506 clean) \
16507 || exit 1
16509 @endif libcpp
16511 .PHONY: maybe-distclean-libcpp distclean-libcpp
16512 maybe-distclean-libcpp:
16513 @if libcpp
16514 maybe-distclean-libcpp: distclean-libcpp
16516 distclean-libcpp:
16517 @[ -f ./libcpp/Makefile ] || exit 0; \
16518 r=`${PWD_COMMAND}`; export r; \
16519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16520 $(HOST_EXPORTS) \
16521 for flag in $(EXTRA_HOST_FLAGS) ; do \
16522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16523 done; \
16524 echo "Doing distclean in libcpp" ; \
16525 (cd $(HOST_SUBDIR)/libcpp && \
16526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16528 "RANLIB=$${RANLIB}" \
16529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16530 distclean) \
16531 || exit 1
16533 @endif libcpp
16535 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16536 maybe-maintainer-clean-libcpp:
16537 @if libcpp
16538 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16540 maintainer-clean-libcpp:
16541 @[ -f ./libcpp/Makefile ] || exit 0; \
16542 r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 $(HOST_EXPORTS) \
16545 for flag in $(EXTRA_HOST_FLAGS) ; do \
16546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16547 done; \
16548 echo "Doing maintainer-clean in libcpp" ; \
16549 (cd $(HOST_SUBDIR)/libcpp && \
16550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16552 "RANLIB=$${RANLIB}" \
16553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16554 maintainer-clean) \
16555 || exit 1
16557 @endif libcpp
16561 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16562 maybe-configure-libdecnumber:
16563 @if libdecnumber
16564 maybe-configure-libdecnumber: configure-libdecnumber
16565 configure-libdecnumber:
16566 @test -f stage_last && exit 0; \
16567 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16569 r=`${PWD_COMMAND}`; export r; \
16570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16571 $(HOST_EXPORTS) \
16572 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16573 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16574 case $(srcdir) in \
16575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16576 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16578 esac; \
16579 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16580 libsrcdir="$$s/libdecnumber"; \
16581 $(SHELL) $${libsrcdir}/configure \
16582 $(HOST_CONFIGARGS) $${srcdiroption} \
16583 || exit 1
16584 @endif libdecnumber
16588 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16589 maybe-configure-stage1-libdecnumber:
16590 @if libdecnumber-bootstrap
16591 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16592 configure-stage1-libdecnumber:
16593 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16595 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16596 $(HOST_EXPORTS) \
16597 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16599 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16600 case $(srcdir) in \
16601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16602 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16604 esac; \
16605 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16606 libsrcdir="$$s/libdecnumber"; \
16607 $(SHELL) $${libsrcdir}/configure \
16608 $(HOST_CONFIGARGS) $${srcdiroption} \
16609 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16610 @endif libdecnumber-bootstrap
16612 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16613 maybe-configure-stage2-libdecnumber:
16614 @if libdecnumber-bootstrap
16615 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16616 configure-stage2-libdecnumber:
16617 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16619 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16620 $(HOST_EXPORTS) \
16621 $(POSTSTAGE1_HOST_EXPORTS) \
16622 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16624 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16625 case $(srcdir) in \
16626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16627 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16629 esac; \
16630 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16631 libsrcdir="$$s/libdecnumber"; \
16632 $(SHELL) $${libsrcdir}/configure \
16633 $(HOST_CONFIGARGS) $${srcdiroption} \
16634 @stage2_werror_flag@
16635 @endif libdecnumber-bootstrap
16637 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16638 maybe-configure-stage3-libdecnumber:
16639 @if libdecnumber-bootstrap
16640 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16641 configure-stage3-libdecnumber:
16642 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16644 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16645 $(HOST_EXPORTS) \
16646 $(POSTSTAGE1_HOST_EXPORTS) \
16647 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16649 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16650 case $(srcdir) in \
16651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16652 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16654 esac; \
16655 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16656 libsrcdir="$$s/libdecnumber"; \
16657 $(SHELL) $${libsrcdir}/configure \
16658 $(HOST_CONFIGARGS) $${srcdiroption} \
16659 @stage2_werror_flag@
16660 @endif libdecnumber-bootstrap
16662 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16663 maybe-configure-stage4-libdecnumber:
16664 @if libdecnumber-bootstrap
16665 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16666 configure-stage4-libdecnumber:
16667 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16669 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16670 $(HOST_EXPORTS) \
16671 $(POSTSTAGE1_HOST_EXPORTS) \
16672 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16674 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16675 case $(srcdir) in \
16676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16677 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16679 esac; \
16680 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16681 libsrcdir="$$s/libdecnumber"; \
16682 $(SHELL) $${libsrcdir}/configure \
16683 $(HOST_CONFIGARGS) $${srcdiroption} \
16684 @stage2_werror_flag@
16685 @endif libdecnumber-bootstrap
16687 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16688 maybe-configure-stageprofile-libdecnumber:
16689 @if libdecnumber-bootstrap
16690 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16691 configure-stageprofile-libdecnumber:
16692 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16694 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16695 $(HOST_EXPORTS) \
16696 $(POSTSTAGE1_HOST_EXPORTS) \
16697 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16699 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16700 case $(srcdir) in \
16701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16702 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16704 esac; \
16705 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16706 libsrcdir="$$s/libdecnumber"; \
16707 $(SHELL) $${libsrcdir}/configure \
16708 $(HOST_CONFIGARGS) $${srcdiroption} \
16709 @stage2_werror_flag@
16710 @endif libdecnumber-bootstrap
16712 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16713 maybe-configure-stagefeedback-libdecnumber:
16714 @if libdecnumber-bootstrap
16715 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16716 configure-stagefeedback-libdecnumber:
16717 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16719 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16720 $(HOST_EXPORTS) \
16721 $(POSTSTAGE1_HOST_EXPORTS) \
16722 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16724 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16725 case $(srcdir) in \
16726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16727 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16729 esac; \
16730 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16731 libsrcdir="$$s/libdecnumber"; \
16732 $(SHELL) $${libsrcdir}/configure \
16733 $(HOST_CONFIGARGS) $${srcdiroption} \
16734 @stage2_werror_flag@
16735 @endif libdecnumber-bootstrap
16741 .PHONY: all-libdecnumber maybe-all-libdecnumber
16742 maybe-all-libdecnumber:
16743 @if libdecnumber
16744 TARGET-libdecnumber=all
16745 maybe-all-libdecnumber: all-libdecnumber
16746 all-libdecnumber: configure-libdecnumber
16747 @test -f stage_last && exit 0; \
16748 r=`${PWD_COMMAND}`; export r; \
16749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16750 $(HOST_EXPORTS) \
16751 (cd $(HOST_SUBDIR)/libdecnumber && \
16752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16753 @endif libdecnumber
16757 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16758 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16759 maybe-all-stage1-libdecnumber:
16760 maybe-clean-stage1-libdecnumber:
16761 @if libdecnumber-bootstrap
16762 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16763 all-stage1: all-stage1-libdecnumber
16764 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16765 all-stage1-libdecnumber: configure-stage1-libdecnumber
16766 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16767 @r=`${PWD_COMMAND}`; export r; \
16768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16769 $(HOST_EXPORTS) \
16770 cd $(HOST_SUBDIR)/libdecnumber && \
16771 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16772 $(TARGET-stage1-libdecnumber)
16774 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16775 clean-stage1: clean-stage1-libdecnumber
16776 clean-stage1-libdecnumber:
16777 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16778 || exit 0 ; \
16779 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16780 cd $(HOST_SUBDIR)/libdecnumber && \
16781 $(MAKE) $(FLAGS_TO_PASS) \
16782 CFLAGS="$(STAGE1_CFLAGS)" clean
16783 @endif libdecnumber-bootstrap
16786 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16787 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16788 maybe-all-stage2-libdecnumber:
16789 maybe-clean-stage2-libdecnumber:
16790 @if libdecnumber-bootstrap
16791 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16792 all-stage2: all-stage2-libdecnumber
16793 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16794 all-stage2-libdecnumber: configure-stage2-libdecnumber
16795 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16796 @r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 $(HOST_EXPORTS) \
16799 $(POSTSTAGE1_HOST_EXPORTS) \
16800 cd $(HOST_SUBDIR)/libdecnumber && \
16801 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16802 $(TARGET-stage2-libdecnumber)
16804 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
16805 clean-stage2: clean-stage2-libdecnumber
16806 clean-stage2-libdecnumber:
16807 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
16808 || exit 0 ; \
16809 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16810 cd $(HOST_SUBDIR)/libdecnumber && \
16811 $(MAKE) $(FLAGS_TO_PASS) \
16812 $(POSTSTAGE1_FLAGS_TO_PASS) \
16813 clean
16814 @endif libdecnumber-bootstrap
16817 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
16818 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
16819 maybe-all-stage3-libdecnumber:
16820 maybe-clean-stage3-libdecnumber:
16821 @if libdecnumber-bootstrap
16822 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
16823 all-stage3: all-stage3-libdecnumber
16824 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
16825 all-stage3-libdecnumber: configure-stage3-libdecnumber
16826 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16827 @r=`${PWD_COMMAND}`; export r; \
16828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16829 $(HOST_EXPORTS) \
16830 $(POSTSTAGE1_HOST_EXPORTS) \
16831 cd $(HOST_SUBDIR)/libdecnumber && \
16832 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16833 $(TARGET-stage3-libdecnumber)
16835 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
16836 clean-stage3: clean-stage3-libdecnumber
16837 clean-stage3-libdecnumber:
16838 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
16839 || exit 0 ; \
16840 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16841 cd $(HOST_SUBDIR)/libdecnumber && \
16842 $(MAKE) $(FLAGS_TO_PASS) \
16843 $(POSTSTAGE1_FLAGS_TO_PASS) \
16844 clean
16845 @endif libdecnumber-bootstrap
16848 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
16849 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
16850 maybe-all-stage4-libdecnumber:
16851 maybe-clean-stage4-libdecnumber:
16852 @if libdecnumber-bootstrap
16853 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
16854 all-stage4: all-stage4-libdecnumber
16855 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
16856 all-stage4-libdecnumber: configure-stage4-libdecnumber
16857 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16858 @r=`${PWD_COMMAND}`; export r; \
16859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16860 $(HOST_EXPORTS) \
16861 $(POSTSTAGE1_HOST_EXPORTS) \
16862 cd $(HOST_SUBDIR)/libdecnumber && \
16863 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16864 $(TARGET-stage4-libdecnumber)
16866 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
16867 clean-stage4: clean-stage4-libdecnumber
16868 clean-stage4-libdecnumber:
16869 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
16870 || exit 0 ; \
16871 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16872 cd $(HOST_SUBDIR)/libdecnumber && \
16873 $(MAKE) $(FLAGS_TO_PASS) \
16874 $(POSTSTAGE1_FLAGS_TO_PASS) \
16875 clean
16876 @endif libdecnumber-bootstrap
16879 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
16880 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
16881 maybe-all-stageprofile-libdecnumber:
16882 maybe-clean-stageprofile-libdecnumber:
16883 @if libdecnumber-bootstrap
16884 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
16885 all-stageprofile: all-stageprofile-libdecnumber
16886 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
16887 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16888 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16889 @r=`${PWD_COMMAND}`; export r; \
16890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16891 $(HOST_EXPORTS) \
16892 $(POSTSTAGE1_HOST_EXPORTS) \
16893 cd $(HOST_SUBDIR)/libdecnumber && \
16894 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16895 $(TARGET-stageprofile-libdecnumber)
16897 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
16898 clean-stageprofile: clean-stageprofile-libdecnumber
16899 clean-stageprofile-libdecnumber:
16900 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
16901 || exit 0 ; \
16902 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16903 cd $(HOST_SUBDIR)/libdecnumber && \
16904 $(MAKE) $(FLAGS_TO_PASS) \
16905 $(POSTSTAGE1_FLAGS_TO_PASS) \
16906 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16907 @endif libdecnumber-bootstrap
16910 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
16911 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
16912 maybe-all-stagefeedback-libdecnumber:
16913 maybe-clean-stagefeedback-libdecnumber:
16914 @if libdecnumber-bootstrap
16915 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
16916 all-stagefeedback: all-stagefeedback-libdecnumber
16917 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
16918 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16919 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16920 @r=`${PWD_COMMAND}`; export r; \
16921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16922 $(HOST_EXPORTS) \
16923 $(POSTSTAGE1_HOST_EXPORTS) \
16924 cd $(HOST_SUBDIR)/libdecnumber && \
16925 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16926 $(TARGET-stagefeedback-libdecnumber)
16928 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
16929 clean-stagefeedback: clean-stagefeedback-libdecnumber
16930 clean-stagefeedback-libdecnumber:
16931 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
16932 || exit 0 ; \
16933 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16934 cd $(HOST_SUBDIR)/libdecnumber && \
16935 $(MAKE) $(FLAGS_TO_PASS) \
16936 $(POSTSTAGE1_FLAGS_TO_PASS) \
16937 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16938 @endif libdecnumber-bootstrap
16944 .PHONY: check-libdecnumber maybe-check-libdecnumber
16945 maybe-check-libdecnumber:
16946 @if libdecnumber
16947 maybe-check-libdecnumber: check-libdecnumber
16949 check-libdecnumber:
16950 @: $(MAKE); $(unstage)
16951 @r=`${PWD_COMMAND}`; export r; \
16952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16953 $(HOST_EXPORTS) \
16954 (cd $(HOST_SUBDIR)/libdecnumber && \
16955 $(MAKE) $(FLAGS_TO_PASS) check)
16957 @endif libdecnumber
16959 .PHONY: install-libdecnumber maybe-install-libdecnumber
16960 maybe-install-libdecnumber:
16961 @if libdecnumber
16962 maybe-install-libdecnumber: install-libdecnumber
16964 install-libdecnumber: installdirs
16965 @: $(MAKE); $(unstage)
16966 @r=`${PWD_COMMAND}`; export r; \
16967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16968 $(HOST_EXPORTS) \
16969 (cd $(HOST_SUBDIR)/libdecnumber && \
16970 $(MAKE) $(FLAGS_TO_PASS) install)
16972 @endif libdecnumber
16974 # Other targets (info, dvi, etc.)
16976 .PHONY: maybe-info-libdecnumber info-libdecnumber
16977 maybe-info-libdecnumber:
16978 @if libdecnumber
16979 maybe-info-libdecnumber: info-libdecnumber
16981 info-libdecnumber: \
16982 configure-libdecnumber
16983 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16984 r=`${PWD_COMMAND}`; export r; \
16985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16986 $(HOST_EXPORTS) \
16987 for flag in $(EXTRA_HOST_FLAGS) ; do \
16988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16989 done; \
16990 echo "Doing info in libdecnumber" ; \
16991 (cd $(HOST_SUBDIR)/libdecnumber && \
16992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16994 "RANLIB=$${RANLIB}" \
16995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16996 info) \
16997 || exit 1
16999 @endif libdecnumber
17001 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
17002 maybe-dvi-libdecnumber:
17003 @if libdecnumber
17004 maybe-dvi-libdecnumber: dvi-libdecnumber
17006 dvi-libdecnumber: \
17007 configure-libdecnumber
17008 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17009 r=`${PWD_COMMAND}`; export r; \
17010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17011 $(HOST_EXPORTS) \
17012 for flag in $(EXTRA_HOST_FLAGS) ; do \
17013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17014 done; \
17015 echo "Doing dvi in libdecnumber" ; \
17016 (cd $(HOST_SUBDIR)/libdecnumber && \
17017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17019 "RANLIB=$${RANLIB}" \
17020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17021 dvi) \
17022 || exit 1
17024 @endif libdecnumber
17026 .PHONY: maybe-html-libdecnumber html-libdecnumber
17027 maybe-html-libdecnumber:
17028 @if libdecnumber
17029 maybe-html-libdecnumber: html-libdecnumber
17031 html-libdecnumber: \
17032 configure-libdecnumber
17033 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17034 r=`${PWD_COMMAND}`; export r; \
17035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 $(HOST_EXPORTS) \
17037 for flag in $(EXTRA_HOST_FLAGS) ; do \
17038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17039 done; \
17040 echo "Doing html in libdecnumber" ; \
17041 (cd $(HOST_SUBDIR)/libdecnumber && \
17042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17044 "RANLIB=$${RANLIB}" \
17045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17046 html) \
17047 || exit 1
17049 @endif libdecnumber
17051 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17052 maybe-TAGS-libdecnumber:
17053 @if libdecnumber
17054 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17056 TAGS-libdecnumber: \
17057 configure-libdecnumber
17058 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17059 r=`${PWD_COMMAND}`; export r; \
17060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17061 $(HOST_EXPORTS) \
17062 for flag in $(EXTRA_HOST_FLAGS) ; do \
17063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17064 done; \
17065 echo "Doing TAGS in libdecnumber" ; \
17066 (cd $(HOST_SUBDIR)/libdecnumber && \
17067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17069 "RANLIB=$${RANLIB}" \
17070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17071 TAGS) \
17072 || exit 1
17074 @endif libdecnumber
17076 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17077 maybe-install-info-libdecnumber:
17078 @if libdecnumber
17079 maybe-install-info-libdecnumber: install-info-libdecnumber
17081 install-info-libdecnumber: \
17082 configure-libdecnumber \
17083 info-libdecnumber
17084 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17085 r=`${PWD_COMMAND}`; export r; \
17086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17087 $(HOST_EXPORTS) \
17088 for flag in $(EXTRA_HOST_FLAGS) ; do \
17089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17090 done; \
17091 echo "Doing install-info in libdecnumber" ; \
17092 (cd $(HOST_SUBDIR)/libdecnumber && \
17093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17095 "RANLIB=$${RANLIB}" \
17096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17097 install-info) \
17098 || exit 1
17100 @endif libdecnumber
17102 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17103 maybe-installcheck-libdecnumber:
17104 @if libdecnumber
17105 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17107 installcheck-libdecnumber: \
17108 configure-libdecnumber
17109 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17110 r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 $(HOST_EXPORTS) \
17113 for flag in $(EXTRA_HOST_FLAGS) ; do \
17114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17115 done; \
17116 echo "Doing installcheck in libdecnumber" ; \
17117 (cd $(HOST_SUBDIR)/libdecnumber && \
17118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17120 "RANLIB=$${RANLIB}" \
17121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17122 installcheck) \
17123 || exit 1
17125 @endif libdecnumber
17127 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17128 maybe-mostlyclean-libdecnumber:
17129 @if libdecnumber
17130 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17132 mostlyclean-libdecnumber:
17133 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17134 r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 $(HOST_EXPORTS) \
17137 for flag in $(EXTRA_HOST_FLAGS) ; do \
17138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17139 done; \
17140 echo "Doing mostlyclean in libdecnumber" ; \
17141 (cd $(HOST_SUBDIR)/libdecnumber && \
17142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17144 "RANLIB=$${RANLIB}" \
17145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17146 mostlyclean) \
17147 || exit 1
17149 @endif libdecnumber
17151 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17152 maybe-clean-libdecnumber:
17153 @if libdecnumber
17154 maybe-clean-libdecnumber: clean-libdecnumber
17156 clean-libdecnumber:
17157 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17158 r=`${PWD_COMMAND}`; export r; \
17159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17160 $(HOST_EXPORTS) \
17161 for flag in $(EXTRA_HOST_FLAGS) ; do \
17162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17163 done; \
17164 echo "Doing clean in libdecnumber" ; \
17165 (cd $(HOST_SUBDIR)/libdecnumber && \
17166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17168 "RANLIB=$${RANLIB}" \
17169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17170 clean) \
17171 || exit 1
17173 @endif libdecnumber
17175 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17176 maybe-distclean-libdecnumber:
17177 @if libdecnumber
17178 maybe-distclean-libdecnumber: distclean-libdecnumber
17180 distclean-libdecnumber:
17181 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17182 r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(HOST_EXPORTS) \
17185 for flag in $(EXTRA_HOST_FLAGS) ; do \
17186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17187 done; \
17188 echo "Doing distclean in libdecnumber" ; \
17189 (cd $(HOST_SUBDIR)/libdecnumber && \
17190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17192 "RANLIB=$${RANLIB}" \
17193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17194 distclean) \
17195 || exit 1
17197 @endif libdecnumber
17199 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17200 maybe-maintainer-clean-libdecnumber:
17201 @if libdecnumber
17202 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17204 maintainer-clean-libdecnumber:
17205 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17206 r=`${PWD_COMMAND}`; export r; \
17207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208 $(HOST_EXPORTS) \
17209 for flag in $(EXTRA_HOST_FLAGS) ; do \
17210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17211 done; \
17212 echo "Doing maintainer-clean in libdecnumber" ; \
17213 (cd $(HOST_SUBDIR)/libdecnumber && \
17214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17216 "RANLIB=$${RANLIB}" \
17217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17218 maintainer-clean) \
17219 || exit 1
17221 @endif libdecnumber
17225 .PHONY: configure-libgui maybe-configure-libgui
17226 maybe-configure-libgui:
17227 @if libgui
17228 maybe-configure-libgui: configure-libgui
17229 configure-libgui:
17230 @: $(MAKE); $(unstage)
17231 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17233 r=`${PWD_COMMAND}`; export r; \
17234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17235 $(HOST_EXPORTS) \
17236 echo Configuring in $(HOST_SUBDIR)/libgui; \
17237 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17238 case $(srcdir) in \
17239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17240 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17242 esac; \
17243 srcdiroption="--srcdir=$${topdir}/libgui"; \
17244 libsrcdir="$$s/libgui"; \
17245 $(SHELL) $${libsrcdir}/configure \
17246 $(HOST_CONFIGARGS) $${srcdiroption} \
17247 || exit 1
17248 @endif libgui
17254 .PHONY: all-libgui maybe-all-libgui
17255 maybe-all-libgui:
17256 @if libgui
17257 TARGET-libgui=all
17258 maybe-all-libgui: all-libgui
17259 all-libgui: configure-libgui
17260 @: $(MAKE); $(unstage)
17261 @r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 $(HOST_EXPORTS) \
17264 (cd $(HOST_SUBDIR)/libgui && \
17265 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17266 @endif libgui
17271 .PHONY: check-libgui maybe-check-libgui
17272 maybe-check-libgui:
17273 @if libgui
17274 maybe-check-libgui: check-libgui
17276 check-libgui:
17277 @: $(MAKE); $(unstage)
17278 @r=`${PWD_COMMAND}`; export r; \
17279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17280 $(HOST_EXPORTS) \
17281 (cd $(HOST_SUBDIR)/libgui && \
17282 $(MAKE) $(FLAGS_TO_PASS) check)
17284 @endif libgui
17286 .PHONY: install-libgui maybe-install-libgui
17287 maybe-install-libgui:
17288 @if libgui
17289 maybe-install-libgui: install-libgui
17291 install-libgui: installdirs
17292 @: $(MAKE); $(unstage)
17293 @r=`${PWD_COMMAND}`; export r; \
17294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17295 $(HOST_EXPORTS) \
17296 (cd $(HOST_SUBDIR)/libgui && \
17297 $(MAKE) $(FLAGS_TO_PASS) install)
17299 @endif libgui
17301 # Other targets (info, dvi, etc.)
17303 .PHONY: maybe-info-libgui info-libgui
17304 maybe-info-libgui:
17305 @if libgui
17306 maybe-info-libgui: info-libgui
17308 info-libgui: \
17309 configure-libgui
17310 @: $(MAKE); $(unstage)
17311 @[ -f ./libgui/Makefile ] || exit 0; \
17312 r=`${PWD_COMMAND}`; export r; \
17313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17314 $(HOST_EXPORTS) \
17315 for flag in $(EXTRA_HOST_FLAGS) ; do \
17316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17317 done; \
17318 echo "Doing info in libgui" ; \
17319 (cd $(HOST_SUBDIR)/libgui && \
17320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17322 "RANLIB=$${RANLIB}" \
17323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17324 info) \
17325 || exit 1
17327 @endif libgui
17329 .PHONY: maybe-dvi-libgui dvi-libgui
17330 maybe-dvi-libgui:
17331 @if libgui
17332 maybe-dvi-libgui: dvi-libgui
17334 dvi-libgui: \
17335 configure-libgui
17336 @: $(MAKE); $(unstage)
17337 @[ -f ./libgui/Makefile ] || exit 0; \
17338 r=`${PWD_COMMAND}`; export r; \
17339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17340 $(HOST_EXPORTS) \
17341 for flag in $(EXTRA_HOST_FLAGS) ; do \
17342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17343 done; \
17344 echo "Doing dvi in libgui" ; \
17345 (cd $(HOST_SUBDIR)/libgui && \
17346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17348 "RANLIB=$${RANLIB}" \
17349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17350 dvi) \
17351 || exit 1
17353 @endif libgui
17355 .PHONY: maybe-html-libgui html-libgui
17356 maybe-html-libgui:
17357 @if libgui
17358 maybe-html-libgui: html-libgui
17360 html-libgui: \
17361 configure-libgui
17362 @: $(MAKE); $(unstage)
17363 @[ -f ./libgui/Makefile ] || exit 0; \
17364 r=`${PWD_COMMAND}`; export r; \
17365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17366 $(HOST_EXPORTS) \
17367 for flag in $(EXTRA_HOST_FLAGS) ; do \
17368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17369 done; \
17370 echo "Doing html in libgui" ; \
17371 (cd $(HOST_SUBDIR)/libgui && \
17372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17374 "RANLIB=$${RANLIB}" \
17375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17376 html) \
17377 || exit 1
17379 @endif libgui
17381 .PHONY: maybe-TAGS-libgui TAGS-libgui
17382 maybe-TAGS-libgui:
17383 @if libgui
17384 maybe-TAGS-libgui: TAGS-libgui
17386 TAGS-libgui: \
17387 configure-libgui
17388 @: $(MAKE); $(unstage)
17389 @[ -f ./libgui/Makefile ] || exit 0; \
17390 r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 $(HOST_EXPORTS) \
17393 for flag in $(EXTRA_HOST_FLAGS) ; do \
17394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17395 done; \
17396 echo "Doing TAGS in libgui" ; \
17397 (cd $(HOST_SUBDIR)/libgui && \
17398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17400 "RANLIB=$${RANLIB}" \
17401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17402 TAGS) \
17403 || exit 1
17405 @endif libgui
17407 .PHONY: maybe-install-info-libgui install-info-libgui
17408 maybe-install-info-libgui:
17409 @if libgui
17410 maybe-install-info-libgui: install-info-libgui
17412 install-info-libgui: \
17413 configure-libgui \
17414 info-libgui
17415 @: $(MAKE); $(unstage)
17416 @[ -f ./libgui/Makefile ] || exit 0; \
17417 r=`${PWD_COMMAND}`; export r; \
17418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17419 $(HOST_EXPORTS) \
17420 for flag in $(EXTRA_HOST_FLAGS) ; do \
17421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17422 done; \
17423 echo "Doing install-info in libgui" ; \
17424 (cd $(HOST_SUBDIR)/libgui && \
17425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17427 "RANLIB=$${RANLIB}" \
17428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17429 install-info) \
17430 || exit 1
17432 @endif libgui
17434 .PHONY: maybe-installcheck-libgui installcheck-libgui
17435 maybe-installcheck-libgui:
17436 @if libgui
17437 maybe-installcheck-libgui: installcheck-libgui
17439 installcheck-libgui: \
17440 configure-libgui
17441 @: $(MAKE); $(unstage)
17442 @[ -f ./libgui/Makefile ] || exit 0; \
17443 r=`${PWD_COMMAND}`; export r; \
17444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17445 $(HOST_EXPORTS) \
17446 for flag in $(EXTRA_HOST_FLAGS) ; do \
17447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17448 done; \
17449 echo "Doing installcheck in libgui" ; \
17450 (cd $(HOST_SUBDIR)/libgui && \
17451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17453 "RANLIB=$${RANLIB}" \
17454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17455 installcheck) \
17456 || exit 1
17458 @endif libgui
17460 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17461 maybe-mostlyclean-libgui:
17462 @if libgui
17463 maybe-mostlyclean-libgui: mostlyclean-libgui
17465 mostlyclean-libgui:
17466 @: $(MAKE); $(unstage)
17467 @[ -f ./libgui/Makefile ] || exit 0; \
17468 r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470 $(HOST_EXPORTS) \
17471 for flag in $(EXTRA_HOST_FLAGS) ; do \
17472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17473 done; \
17474 echo "Doing mostlyclean in libgui" ; \
17475 (cd $(HOST_SUBDIR)/libgui && \
17476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17478 "RANLIB=$${RANLIB}" \
17479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17480 mostlyclean) \
17481 || exit 1
17483 @endif libgui
17485 .PHONY: maybe-clean-libgui clean-libgui
17486 maybe-clean-libgui:
17487 @if libgui
17488 maybe-clean-libgui: clean-libgui
17490 clean-libgui:
17491 @: $(MAKE); $(unstage)
17492 @[ -f ./libgui/Makefile ] || exit 0; \
17493 r=`${PWD_COMMAND}`; export r; \
17494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17495 $(HOST_EXPORTS) \
17496 for flag in $(EXTRA_HOST_FLAGS) ; do \
17497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17498 done; \
17499 echo "Doing clean in libgui" ; \
17500 (cd $(HOST_SUBDIR)/libgui && \
17501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17503 "RANLIB=$${RANLIB}" \
17504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17505 clean) \
17506 || exit 1
17508 @endif libgui
17510 .PHONY: maybe-distclean-libgui distclean-libgui
17511 maybe-distclean-libgui:
17512 @if libgui
17513 maybe-distclean-libgui: distclean-libgui
17515 distclean-libgui:
17516 @: $(MAKE); $(unstage)
17517 @[ -f ./libgui/Makefile ] || exit 0; \
17518 r=`${PWD_COMMAND}`; export r; \
17519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17520 $(HOST_EXPORTS) \
17521 for flag in $(EXTRA_HOST_FLAGS) ; do \
17522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17523 done; \
17524 echo "Doing distclean in libgui" ; \
17525 (cd $(HOST_SUBDIR)/libgui && \
17526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17528 "RANLIB=$${RANLIB}" \
17529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17530 distclean) \
17531 || exit 1
17533 @endif libgui
17535 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17536 maybe-maintainer-clean-libgui:
17537 @if libgui
17538 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17540 maintainer-clean-libgui:
17541 @: $(MAKE); $(unstage)
17542 @[ -f ./libgui/Makefile ] || exit 0; \
17543 r=`${PWD_COMMAND}`; export r; \
17544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17545 $(HOST_EXPORTS) \
17546 for flag in $(EXTRA_HOST_FLAGS) ; do \
17547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17548 done; \
17549 echo "Doing maintainer-clean in libgui" ; \
17550 (cd $(HOST_SUBDIR)/libgui && \
17551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17553 "RANLIB=$${RANLIB}" \
17554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17555 maintainer-clean) \
17556 || exit 1
17558 @endif libgui
17562 .PHONY: configure-libiberty maybe-configure-libiberty
17563 maybe-configure-libiberty:
17564 @if libiberty
17565 maybe-configure-libiberty: configure-libiberty
17566 configure-libiberty:
17567 @test -f stage_last && exit 0; \
17568 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17570 r=`${PWD_COMMAND}`; export r; \
17571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17572 $(HOST_EXPORTS) \
17573 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17574 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17575 case $(srcdir) in \
17576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17577 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17579 esac; \
17580 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17581 libsrcdir="$$s/libiberty"; \
17582 $(SHELL) $${libsrcdir}/configure \
17583 $(HOST_CONFIGARGS) $${srcdiroption} \
17584 || exit 1
17585 @endif libiberty
17589 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17590 maybe-configure-stage1-libiberty:
17591 @if libiberty-bootstrap
17592 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17593 configure-stage1-libiberty:
17594 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17596 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17597 $(HOST_EXPORTS) \
17598 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17600 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17601 case $(srcdir) in \
17602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17603 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17605 esac; \
17606 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17607 libsrcdir="$$s/libiberty"; \
17608 $(SHELL) $${libsrcdir}/configure \
17609 $(HOST_CONFIGARGS) $${srcdiroption} \
17610 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17611 @endif libiberty-bootstrap
17613 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17614 maybe-configure-stage2-libiberty:
17615 @if libiberty-bootstrap
17616 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17617 configure-stage2-libiberty:
17618 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17620 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17621 $(HOST_EXPORTS) \
17622 $(POSTSTAGE1_HOST_EXPORTS) \
17623 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17625 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17626 case $(srcdir) in \
17627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17628 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17630 esac; \
17631 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17632 libsrcdir="$$s/libiberty"; \
17633 $(SHELL) $${libsrcdir}/configure \
17634 $(HOST_CONFIGARGS) $${srcdiroption} \
17635 @stage2_werror_flag@
17636 @endif libiberty-bootstrap
17638 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17639 maybe-configure-stage3-libiberty:
17640 @if libiberty-bootstrap
17641 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17642 configure-stage3-libiberty:
17643 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17645 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17646 $(HOST_EXPORTS) \
17647 $(POSTSTAGE1_HOST_EXPORTS) \
17648 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17650 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17651 case $(srcdir) in \
17652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17653 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17655 esac; \
17656 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17657 libsrcdir="$$s/libiberty"; \
17658 $(SHELL) $${libsrcdir}/configure \
17659 $(HOST_CONFIGARGS) $${srcdiroption} \
17660 @stage2_werror_flag@
17661 @endif libiberty-bootstrap
17663 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17664 maybe-configure-stage4-libiberty:
17665 @if libiberty-bootstrap
17666 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17667 configure-stage4-libiberty:
17668 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17670 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17671 $(HOST_EXPORTS) \
17672 $(POSTSTAGE1_HOST_EXPORTS) \
17673 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17675 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17676 case $(srcdir) in \
17677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17678 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17680 esac; \
17681 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17682 libsrcdir="$$s/libiberty"; \
17683 $(SHELL) $${libsrcdir}/configure \
17684 $(HOST_CONFIGARGS) $${srcdiroption} \
17685 @stage2_werror_flag@
17686 @endif libiberty-bootstrap
17688 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17689 maybe-configure-stageprofile-libiberty:
17690 @if libiberty-bootstrap
17691 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17692 configure-stageprofile-libiberty:
17693 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17695 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17696 $(HOST_EXPORTS) \
17697 $(POSTSTAGE1_HOST_EXPORTS) \
17698 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17700 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17701 case $(srcdir) in \
17702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17703 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17705 esac; \
17706 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17707 libsrcdir="$$s/libiberty"; \
17708 $(SHELL) $${libsrcdir}/configure \
17709 $(HOST_CONFIGARGS) $${srcdiroption} \
17710 @stage2_werror_flag@
17711 @endif libiberty-bootstrap
17713 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17714 maybe-configure-stagefeedback-libiberty:
17715 @if libiberty-bootstrap
17716 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17717 configure-stagefeedback-libiberty:
17718 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17720 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17721 $(HOST_EXPORTS) \
17722 $(POSTSTAGE1_HOST_EXPORTS) \
17723 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17725 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17726 case $(srcdir) in \
17727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17728 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17730 esac; \
17731 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17732 libsrcdir="$$s/libiberty"; \
17733 $(SHELL) $${libsrcdir}/configure \
17734 $(HOST_CONFIGARGS) $${srcdiroption} \
17735 @stage2_werror_flag@
17736 @endif libiberty-bootstrap
17742 .PHONY: all-libiberty maybe-all-libiberty
17743 maybe-all-libiberty:
17744 @if libiberty
17745 TARGET-libiberty=all
17746 maybe-all-libiberty: all-libiberty
17747 all-libiberty: configure-libiberty
17748 @test -f stage_last && exit 0; \
17749 r=`${PWD_COMMAND}`; export r; \
17750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17751 $(HOST_EXPORTS) \
17752 (cd $(HOST_SUBDIR)/libiberty && \
17753 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17754 @endif libiberty
17758 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17759 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17760 maybe-all-stage1-libiberty:
17761 maybe-clean-stage1-libiberty:
17762 @if libiberty-bootstrap
17763 maybe-all-stage1-libiberty: all-stage1-libiberty
17764 all-stage1: all-stage1-libiberty
17765 TARGET-stage1-libiberty = $(TARGET-libiberty)
17766 all-stage1-libiberty: configure-stage1-libiberty
17767 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17768 @r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(HOST_EXPORTS) \
17771 cd $(HOST_SUBDIR)/libiberty && \
17772 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17773 $(TARGET-stage1-libiberty)
17775 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17776 clean-stage1: clean-stage1-libiberty
17777 clean-stage1-libiberty:
17778 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17779 || exit 0 ; \
17780 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17781 cd $(HOST_SUBDIR)/libiberty && \
17782 $(MAKE) $(FLAGS_TO_PASS) \
17783 CFLAGS="$(STAGE1_CFLAGS)" clean
17784 @endif libiberty-bootstrap
17787 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17788 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17789 maybe-all-stage2-libiberty:
17790 maybe-clean-stage2-libiberty:
17791 @if libiberty-bootstrap
17792 maybe-all-stage2-libiberty: all-stage2-libiberty
17793 all-stage2: all-stage2-libiberty
17794 TARGET-stage2-libiberty = $(TARGET-libiberty)
17795 all-stage2-libiberty: configure-stage2-libiberty
17796 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17797 @r=`${PWD_COMMAND}`; export r; \
17798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17799 $(HOST_EXPORTS) \
17800 $(POSTSTAGE1_HOST_EXPORTS) \
17801 cd $(HOST_SUBDIR)/libiberty && \
17802 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17803 $(TARGET-stage2-libiberty)
17805 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17806 clean-stage2: clean-stage2-libiberty
17807 clean-stage2-libiberty:
17808 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17809 || exit 0 ; \
17810 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17811 cd $(HOST_SUBDIR)/libiberty && \
17812 $(MAKE) $(FLAGS_TO_PASS) \
17813 $(POSTSTAGE1_FLAGS_TO_PASS) \
17814 clean
17815 @endif libiberty-bootstrap
17818 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17819 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17820 maybe-all-stage3-libiberty:
17821 maybe-clean-stage3-libiberty:
17822 @if libiberty-bootstrap
17823 maybe-all-stage3-libiberty: all-stage3-libiberty
17824 all-stage3: all-stage3-libiberty
17825 TARGET-stage3-libiberty = $(TARGET-libiberty)
17826 all-stage3-libiberty: configure-stage3-libiberty
17827 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17828 @r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(HOST_EXPORTS) \
17831 $(POSTSTAGE1_HOST_EXPORTS) \
17832 cd $(HOST_SUBDIR)/libiberty && \
17833 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17834 $(TARGET-stage3-libiberty)
17836 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17837 clean-stage3: clean-stage3-libiberty
17838 clean-stage3-libiberty:
17839 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17840 || exit 0 ; \
17841 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17842 cd $(HOST_SUBDIR)/libiberty && \
17843 $(MAKE) $(FLAGS_TO_PASS) \
17844 $(POSTSTAGE1_FLAGS_TO_PASS) \
17845 clean
17846 @endif libiberty-bootstrap
17849 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17850 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17851 maybe-all-stage4-libiberty:
17852 maybe-clean-stage4-libiberty:
17853 @if libiberty-bootstrap
17854 maybe-all-stage4-libiberty: all-stage4-libiberty
17855 all-stage4: all-stage4-libiberty
17856 TARGET-stage4-libiberty = $(TARGET-libiberty)
17857 all-stage4-libiberty: configure-stage4-libiberty
17858 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17859 @r=`${PWD_COMMAND}`; export r; \
17860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17861 $(HOST_EXPORTS) \
17862 $(POSTSTAGE1_HOST_EXPORTS) \
17863 cd $(HOST_SUBDIR)/libiberty && \
17864 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17865 $(TARGET-stage4-libiberty)
17867 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17868 clean-stage4: clean-stage4-libiberty
17869 clean-stage4-libiberty:
17870 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17871 || exit 0 ; \
17872 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17873 cd $(HOST_SUBDIR)/libiberty && \
17874 $(MAKE) $(FLAGS_TO_PASS) \
17875 $(POSTSTAGE1_FLAGS_TO_PASS) \
17876 clean
17877 @endif libiberty-bootstrap
17880 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17881 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17882 maybe-all-stageprofile-libiberty:
17883 maybe-clean-stageprofile-libiberty:
17884 @if libiberty-bootstrap
17885 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17886 all-stageprofile: all-stageprofile-libiberty
17887 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17888 all-stageprofile-libiberty: configure-stageprofile-libiberty
17889 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17890 @r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(HOST_EXPORTS) \
17893 $(POSTSTAGE1_HOST_EXPORTS) \
17894 cd $(HOST_SUBDIR)/libiberty && \
17895 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17896 $(TARGET-stageprofile-libiberty)
17898 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17899 clean-stageprofile: clean-stageprofile-libiberty
17900 clean-stageprofile-libiberty:
17901 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17902 || exit 0 ; \
17903 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17904 cd $(HOST_SUBDIR)/libiberty && \
17905 $(MAKE) $(FLAGS_TO_PASS) \
17906 $(POSTSTAGE1_FLAGS_TO_PASS) \
17907 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17908 @endif libiberty-bootstrap
17911 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17912 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17913 maybe-all-stagefeedback-libiberty:
17914 maybe-clean-stagefeedback-libiberty:
17915 @if libiberty-bootstrap
17916 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17917 all-stagefeedback: all-stagefeedback-libiberty
17918 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17919 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17920 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17921 @r=`${PWD_COMMAND}`; export r; \
17922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17923 $(HOST_EXPORTS) \
17924 $(POSTSTAGE1_HOST_EXPORTS) \
17925 cd $(HOST_SUBDIR)/libiberty && \
17926 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17927 $(TARGET-stagefeedback-libiberty)
17929 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17930 clean-stagefeedback: clean-stagefeedback-libiberty
17931 clean-stagefeedback-libiberty:
17932 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17933 || exit 0 ; \
17934 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17935 cd $(HOST_SUBDIR)/libiberty && \
17936 $(MAKE) $(FLAGS_TO_PASS) \
17937 $(POSTSTAGE1_FLAGS_TO_PASS) \
17938 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17939 @endif libiberty-bootstrap
17945 .PHONY: check-libiberty maybe-check-libiberty
17946 maybe-check-libiberty:
17947 @if libiberty
17948 maybe-check-libiberty: check-libiberty
17950 check-libiberty:
17951 @: $(MAKE); $(unstage)
17952 @r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(HOST_EXPORTS) \
17955 (cd $(HOST_SUBDIR)/libiberty && \
17956 $(MAKE) $(FLAGS_TO_PASS) check)
17958 @endif libiberty
17960 .PHONY: install-libiberty maybe-install-libiberty
17961 maybe-install-libiberty:
17962 @if libiberty
17963 maybe-install-libiberty: install-libiberty
17965 install-libiberty: installdirs
17966 @: $(MAKE); $(unstage)
17967 @r=`${PWD_COMMAND}`; export r; \
17968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 $(HOST_EXPORTS) \
17970 (cd $(HOST_SUBDIR)/libiberty && \
17971 $(MAKE) $(FLAGS_TO_PASS) install)
17973 @endif libiberty
17975 # Other targets (info, dvi, etc.)
17977 .PHONY: maybe-info-libiberty info-libiberty
17978 maybe-info-libiberty:
17979 @if libiberty
17980 maybe-info-libiberty: info-libiberty
17982 info-libiberty: \
17983 configure-libiberty
17984 @[ -f ./libiberty/Makefile ] || exit 0; \
17985 r=`${PWD_COMMAND}`; export r; \
17986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17987 $(HOST_EXPORTS) \
17988 for flag in $(EXTRA_HOST_FLAGS) ; do \
17989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17990 done; \
17991 echo "Doing info in libiberty" ; \
17992 (cd $(HOST_SUBDIR)/libiberty && \
17993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17995 "RANLIB=$${RANLIB}" \
17996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17997 info) \
17998 || exit 1
18000 @endif libiberty
18002 .PHONY: maybe-dvi-libiberty dvi-libiberty
18003 maybe-dvi-libiberty:
18004 @if libiberty
18005 maybe-dvi-libiberty: dvi-libiberty
18007 dvi-libiberty: \
18008 configure-libiberty
18009 @[ -f ./libiberty/Makefile ] || exit 0; \
18010 r=`${PWD_COMMAND}`; export r; \
18011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18012 $(HOST_EXPORTS) \
18013 for flag in $(EXTRA_HOST_FLAGS) ; do \
18014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18015 done; \
18016 echo "Doing dvi in libiberty" ; \
18017 (cd $(HOST_SUBDIR)/libiberty && \
18018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18020 "RANLIB=$${RANLIB}" \
18021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18022 dvi) \
18023 || exit 1
18025 @endif libiberty
18027 .PHONY: maybe-html-libiberty html-libiberty
18028 maybe-html-libiberty:
18029 @if libiberty
18030 maybe-html-libiberty: html-libiberty
18032 html-libiberty: \
18033 configure-libiberty
18034 @[ -f ./libiberty/Makefile ] || exit 0; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18037 $(HOST_EXPORTS) \
18038 for flag in $(EXTRA_HOST_FLAGS) ; do \
18039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18040 done; \
18041 echo "Doing html in libiberty" ; \
18042 (cd $(HOST_SUBDIR)/libiberty && \
18043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18045 "RANLIB=$${RANLIB}" \
18046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18047 html) \
18048 || exit 1
18050 @endif libiberty
18052 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18053 maybe-TAGS-libiberty:
18054 @if libiberty
18055 maybe-TAGS-libiberty: TAGS-libiberty
18057 TAGS-libiberty: \
18058 configure-libiberty
18059 @[ -f ./libiberty/Makefile ] || exit 0; \
18060 r=`${PWD_COMMAND}`; export r; \
18061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18062 $(HOST_EXPORTS) \
18063 for flag in $(EXTRA_HOST_FLAGS) ; do \
18064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18065 done; \
18066 echo "Doing TAGS in libiberty" ; \
18067 (cd $(HOST_SUBDIR)/libiberty && \
18068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18070 "RANLIB=$${RANLIB}" \
18071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18072 TAGS) \
18073 || exit 1
18075 @endif libiberty
18077 .PHONY: maybe-install-info-libiberty install-info-libiberty
18078 maybe-install-info-libiberty:
18079 @if libiberty
18080 maybe-install-info-libiberty: install-info-libiberty
18082 install-info-libiberty: \
18083 configure-libiberty \
18084 info-libiberty
18085 @[ -f ./libiberty/Makefile ] || exit 0; \
18086 r=`${PWD_COMMAND}`; export r; \
18087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18088 $(HOST_EXPORTS) \
18089 for flag in $(EXTRA_HOST_FLAGS) ; do \
18090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18091 done; \
18092 echo "Doing install-info in libiberty" ; \
18093 (cd $(HOST_SUBDIR)/libiberty && \
18094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18096 "RANLIB=$${RANLIB}" \
18097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18098 install-info) \
18099 || exit 1
18101 @endif libiberty
18103 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18104 maybe-installcheck-libiberty:
18105 @if libiberty
18106 maybe-installcheck-libiberty: installcheck-libiberty
18108 installcheck-libiberty: \
18109 configure-libiberty
18110 @[ -f ./libiberty/Makefile ] || exit 0; \
18111 r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18113 $(HOST_EXPORTS) \
18114 for flag in $(EXTRA_HOST_FLAGS) ; do \
18115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18116 done; \
18117 echo "Doing installcheck in libiberty" ; \
18118 (cd $(HOST_SUBDIR)/libiberty && \
18119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18121 "RANLIB=$${RANLIB}" \
18122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18123 installcheck) \
18124 || exit 1
18126 @endif libiberty
18128 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18129 maybe-mostlyclean-libiberty:
18130 @if libiberty
18131 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18133 mostlyclean-libiberty:
18134 @[ -f ./libiberty/Makefile ] || exit 0; \
18135 r=`${PWD_COMMAND}`; export r; \
18136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18137 $(HOST_EXPORTS) \
18138 for flag in $(EXTRA_HOST_FLAGS) ; do \
18139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18140 done; \
18141 echo "Doing mostlyclean in libiberty" ; \
18142 (cd $(HOST_SUBDIR)/libiberty && \
18143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18145 "RANLIB=$${RANLIB}" \
18146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18147 mostlyclean) \
18148 || exit 1
18150 @endif libiberty
18152 .PHONY: maybe-clean-libiberty clean-libiberty
18153 maybe-clean-libiberty:
18154 @if libiberty
18155 maybe-clean-libiberty: clean-libiberty
18157 clean-libiberty:
18158 @[ -f ./libiberty/Makefile ] || exit 0; \
18159 r=`${PWD_COMMAND}`; export r; \
18160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18161 $(HOST_EXPORTS) \
18162 for flag in $(EXTRA_HOST_FLAGS) ; do \
18163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18164 done; \
18165 echo "Doing clean in libiberty" ; \
18166 (cd $(HOST_SUBDIR)/libiberty && \
18167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18169 "RANLIB=$${RANLIB}" \
18170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18171 clean) \
18172 || exit 1
18174 @endif libiberty
18176 .PHONY: maybe-distclean-libiberty distclean-libiberty
18177 maybe-distclean-libiberty:
18178 @if libiberty
18179 maybe-distclean-libiberty: distclean-libiberty
18181 distclean-libiberty:
18182 @[ -f ./libiberty/Makefile ] || exit 0; \
18183 r=`${PWD_COMMAND}`; export r; \
18184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185 $(HOST_EXPORTS) \
18186 for flag in $(EXTRA_HOST_FLAGS) ; do \
18187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18188 done; \
18189 echo "Doing distclean in libiberty" ; \
18190 (cd $(HOST_SUBDIR)/libiberty && \
18191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18193 "RANLIB=$${RANLIB}" \
18194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18195 distclean) \
18196 || exit 1
18198 @endif libiberty
18200 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18201 maybe-maintainer-clean-libiberty:
18202 @if libiberty
18203 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18205 maintainer-clean-libiberty:
18206 @[ -f ./libiberty/Makefile ] || exit 0; \
18207 r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18209 $(HOST_EXPORTS) \
18210 for flag in $(EXTRA_HOST_FLAGS) ; do \
18211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18212 done; \
18213 echo "Doing maintainer-clean in libiberty" ; \
18214 (cd $(HOST_SUBDIR)/libiberty && \
18215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18217 "RANLIB=$${RANLIB}" \
18218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18219 maintainer-clean) \
18220 || exit 1
18222 @endif libiberty
18226 .PHONY: configure-libtool maybe-configure-libtool
18227 maybe-configure-libtool:
18228 @if libtool
18229 maybe-configure-libtool: configure-libtool
18230 configure-libtool:
18231 @: $(MAKE); $(unstage)
18232 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18234 r=`${PWD_COMMAND}`; export r; \
18235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18236 $(HOST_EXPORTS) \
18237 echo Configuring in $(HOST_SUBDIR)/libtool; \
18238 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18239 case $(srcdir) in \
18240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18241 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18243 esac; \
18244 srcdiroption="--srcdir=$${topdir}/libtool"; \
18245 libsrcdir="$$s/libtool"; \
18246 $(SHELL) $${libsrcdir}/configure \
18247 $(HOST_CONFIGARGS) $${srcdiroption} \
18248 || exit 1
18249 @endif libtool
18255 .PHONY: all-libtool maybe-all-libtool
18256 maybe-all-libtool:
18257 @if libtool
18258 TARGET-libtool=all
18259 maybe-all-libtool: all-libtool
18260 all-libtool: configure-libtool
18261 @: $(MAKE); $(unstage)
18262 @r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 $(HOST_EXPORTS) \
18265 (cd $(HOST_SUBDIR)/libtool && \
18266 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18267 @endif libtool
18272 .PHONY: check-libtool maybe-check-libtool
18273 maybe-check-libtool:
18274 @if libtool
18275 maybe-check-libtool: check-libtool
18277 check-libtool:
18278 @: $(MAKE); $(unstage)
18279 @r=`${PWD_COMMAND}`; export r; \
18280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18281 $(HOST_EXPORTS) \
18282 (cd $(HOST_SUBDIR)/libtool && \
18283 $(MAKE) $(FLAGS_TO_PASS) check)
18285 @endif libtool
18287 .PHONY: install-libtool maybe-install-libtool
18288 maybe-install-libtool:
18289 @if libtool
18290 maybe-install-libtool: install-libtool
18292 install-libtool: installdirs
18293 @: $(MAKE); $(unstage)
18294 @r=`${PWD_COMMAND}`; export r; \
18295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18296 $(HOST_EXPORTS) \
18297 (cd $(HOST_SUBDIR)/libtool && \
18298 $(MAKE) $(FLAGS_TO_PASS) install)
18300 @endif libtool
18302 # Other targets (info, dvi, etc.)
18304 .PHONY: maybe-info-libtool info-libtool
18305 maybe-info-libtool:
18306 @if libtool
18307 maybe-info-libtool: info-libtool
18309 info-libtool: \
18310 configure-libtool
18311 @: $(MAKE); $(unstage)
18312 @[ -f ./libtool/Makefile ] || exit 0; \
18313 r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 $(HOST_EXPORTS) \
18316 for flag in $(EXTRA_HOST_FLAGS) ; do \
18317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18318 done; \
18319 echo "Doing info in libtool" ; \
18320 (cd $(HOST_SUBDIR)/libtool && \
18321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18323 "RANLIB=$${RANLIB}" \
18324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18325 info) \
18326 || exit 1
18328 @endif libtool
18330 .PHONY: maybe-dvi-libtool dvi-libtool
18331 maybe-dvi-libtool:
18332 @if libtool
18333 maybe-dvi-libtool: dvi-libtool
18335 dvi-libtool: \
18336 configure-libtool
18337 @: $(MAKE); $(unstage)
18338 @[ -f ./libtool/Makefile ] || exit 0; \
18339 r=`${PWD_COMMAND}`; export r; \
18340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18341 $(HOST_EXPORTS) \
18342 for flag in $(EXTRA_HOST_FLAGS) ; do \
18343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18344 done; \
18345 echo "Doing dvi in libtool" ; \
18346 (cd $(HOST_SUBDIR)/libtool && \
18347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18349 "RANLIB=$${RANLIB}" \
18350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18351 dvi) \
18352 || exit 1
18354 @endif libtool
18356 .PHONY: maybe-html-libtool html-libtool
18357 maybe-html-libtool:
18358 @if libtool
18359 maybe-html-libtool: html-libtool
18361 html-libtool: \
18362 configure-libtool
18363 @: $(MAKE); $(unstage)
18364 @[ -f ./libtool/Makefile ] || exit 0; \
18365 r=`${PWD_COMMAND}`; export r; \
18366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367 $(HOST_EXPORTS) \
18368 for flag in $(EXTRA_HOST_FLAGS) ; do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18370 done; \
18371 echo "Doing html in libtool" ; \
18372 (cd $(HOST_SUBDIR)/libtool && \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18377 html) \
18378 || exit 1
18380 @endif libtool
18382 .PHONY: maybe-TAGS-libtool TAGS-libtool
18383 maybe-TAGS-libtool:
18384 @if libtool
18385 maybe-TAGS-libtool: TAGS-libtool
18387 TAGS-libtool: \
18388 configure-libtool
18389 @: $(MAKE); $(unstage)
18390 @[ -f ./libtool/Makefile ] || exit 0; \
18391 r=`${PWD_COMMAND}`; export r; \
18392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18393 $(HOST_EXPORTS) \
18394 for flag in $(EXTRA_HOST_FLAGS) ; do \
18395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18396 done; \
18397 echo "Doing TAGS in libtool" ; \
18398 (cd $(HOST_SUBDIR)/libtool && \
18399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18401 "RANLIB=$${RANLIB}" \
18402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18403 TAGS) \
18404 || exit 1
18406 @endif libtool
18408 .PHONY: maybe-install-info-libtool install-info-libtool
18409 maybe-install-info-libtool:
18410 @if libtool
18411 maybe-install-info-libtool: install-info-libtool
18413 install-info-libtool: \
18414 configure-libtool \
18415 info-libtool
18416 @: $(MAKE); $(unstage)
18417 @[ -f ./libtool/Makefile ] || exit 0; \
18418 r=`${PWD_COMMAND}`; export r; \
18419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18420 $(HOST_EXPORTS) \
18421 for flag in $(EXTRA_HOST_FLAGS) ; do \
18422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18423 done; \
18424 echo "Doing install-info in libtool" ; \
18425 (cd $(HOST_SUBDIR)/libtool && \
18426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18428 "RANLIB=$${RANLIB}" \
18429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18430 install-info) \
18431 || exit 1
18433 @endif libtool
18435 .PHONY: maybe-installcheck-libtool installcheck-libtool
18436 maybe-installcheck-libtool:
18437 @if libtool
18438 maybe-installcheck-libtool: installcheck-libtool
18440 installcheck-libtool: \
18441 configure-libtool
18442 @: $(MAKE); $(unstage)
18443 @[ -f ./libtool/Makefile ] || exit 0; \
18444 r=`${PWD_COMMAND}`; export r; \
18445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18446 $(HOST_EXPORTS) \
18447 for flag in $(EXTRA_HOST_FLAGS) ; do \
18448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18449 done; \
18450 echo "Doing installcheck in libtool" ; \
18451 (cd $(HOST_SUBDIR)/libtool && \
18452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18454 "RANLIB=$${RANLIB}" \
18455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18456 installcheck) \
18457 || exit 1
18459 @endif libtool
18461 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18462 maybe-mostlyclean-libtool:
18463 @if libtool
18464 maybe-mostlyclean-libtool: mostlyclean-libtool
18466 mostlyclean-libtool:
18467 @: $(MAKE); $(unstage)
18468 @[ -f ./libtool/Makefile ] || exit 0; \
18469 r=`${PWD_COMMAND}`; export r; \
18470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18471 $(HOST_EXPORTS) \
18472 for flag in $(EXTRA_HOST_FLAGS) ; do \
18473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18474 done; \
18475 echo "Doing mostlyclean in libtool" ; \
18476 (cd $(HOST_SUBDIR)/libtool && \
18477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18479 "RANLIB=$${RANLIB}" \
18480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18481 mostlyclean) \
18482 || exit 1
18484 @endif libtool
18486 .PHONY: maybe-clean-libtool clean-libtool
18487 maybe-clean-libtool:
18488 @if libtool
18489 maybe-clean-libtool: clean-libtool
18491 clean-libtool:
18492 @: $(MAKE); $(unstage)
18493 @[ -f ./libtool/Makefile ] || exit 0; \
18494 r=`${PWD_COMMAND}`; export r; \
18495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18496 $(HOST_EXPORTS) \
18497 for flag in $(EXTRA_HOST_FLAGS) ; do \
18498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18499 done; \
18500 echo "Doing clean in libtool" ; \
18501 (cd $(HOST_SUBDIR)/libtool && \
18502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18504 "RANLIB=$${RANLIB}" \
18505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18506 clean) \
18507 || exit 1
18509 @endif libtool
18511 .PHONY: maybe-distclean-libtool distclean-libtool
18512 maybe-distclean-libtool:
18513 @if libtool
18514 maybe-distclean-libtool: distclean-libtool
18516 distclean-libtool:
18517 @: $(MAKE); $(unstage)
18518 @[ -f ./libtool/Makefile ] || exit 0; \
18519 r=`${PWD_COMMAND}`; export r; \
18520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18521 $(HOST_EXPORTS) \
18522 for flag in $(EXTRA_HOST_FLAGS) ; do \
18523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18524 done; \
18525 echo "Doing distclean in libtool" ; \
18526 (cd $(HOST_SUBDIR)/libtool && \
18527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18529 "RANLIB=$${RANLIB}" \
18530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18531 distclean) \
18532 || exit 1
18534 @endif libtool
18536 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18537 maybe-maintainer-clean-libtool:
18538 @if libtool
18539 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18541 maintainer-clean-libtool:
18542 @: $(MAKE); $(unstage)
18543 @[ -f ./libtool/Makefile ] || exit 0; \
18544 r=`${PWD_COMMAND}`; export r; \
18545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18546 $(HOST_EXPORTS) \
18547 for flag in $(EXTRA_HOST_FLAGS) ; do \
18548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18549 done; \
18550 echo "Doing maintainer-clean in libtool" ; \
18551 (cd $(HOST_SUBDIR)/libtool && \
18552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18554 "RANLIB=$${RANLIB}" \
18555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18556 maintainer-clean) \
18557 || exit 1
18559 @endif libtool
18563 .PHONY: configure-m4 maybe-configure-m4
18564 maybe-configure-m4:
18565 @if m4
18566 maybe-configure-m4: configure-m4
18567 configure-m4:
18568 @: $(MAKE); $(unstage)
18569 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18571 r=`${PWD_COMMAND}`; export r; \
18572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18573 $(HOST_EXPORTS) \
18574 echo Configuring in $(HOST_SUBDIR)/m4; \
18575 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18576 case $(srcdir) in \
18577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18578 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18580 esac; \
18581 srcdiroption="--srcdir=$${topdir}/m4"; \
18582 libsrcdir="$$s/m4"; \
18583 $(SHELL) $${libsrcdir}/configure \
18584 $(HOST_CONFIGARGS) $${srcdiroption} \
18585 || exit 1
18586 @endif m4
18592 .PHONY: all-m4 maybe-all-m4
18593 maybe-all-m4:
18594 @if m4
18595 TARGET-m4=all
18596 maybe-all-m4: all-m4
18597 all-m4: configure-m4
18598 @: $(MAKE); $(unstage)
18599 @r=`${PWD_COMMAND}`; export r; \
18600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18601 $(HOST_EXPORTS) \
18602 (cd $(HOST_SUBDIR)/m4 && \
18603 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18604 @endif m4
18609 .PHONY: check-m4 maybe-check-m4
18610 maybe-check-m4:
18611 @if m4
18612 maybe-check-m4: check-m4
18614 check-m4:
18615 @: $(MAKE); $(unstage)
18616 @r=`${PWD_COMMAND}`; export r; \
18617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18618 $(HOST_EXPORTS) \
18619 (cd $(HOST_SUBDIR)/m4 && \
18620 $(MAKE) $(FLAGS_TO_PASS) check)
18622 @endif m4
18624 .PHONY: install-m4 maybe-install-m4
18625 maybe-install-m4:
18626 @if m4
18627 maybe-install-m4: install-m4
18629 install-m4: installdirs
18630 @: $(MAKE); $(unstage)
18631 @r=`${PWD_COMMAND}`; export r; \
18632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18633 $(HOST_EXPORTS) \
18634 (cd $(HOST_SUBDIR)/m4 && \
18635 $(MAKE) $(FLAGS_TO_PASS) install)
18637 @endif m4
18639 # Other targets (info, dvi, etc.)
18641 .PHONY: maybe-info-m4 info-m4
18642 maybe-info-m4:
18643 @if m4
18644 maybe-info-m4: info-m4
18646 info-m4: \
18647 configure-m4
18648 @: $(MAKE); $(unstage)
18649 @[ -f ./m4/Makefile ] || exit 0; \
18650 r=`${PWD_COMMAND}`; export r; \
18651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18652 $(HOST_EXPORTS) \
18653 for flag in $(EXTRA_HOST_FLAGS) ; do \
18654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18655 done; \
18656 echo "Doing info in m4" ; \
18657 (cd $(HOST_SUBDIR)/m4 && \
18658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18660 "RANLIB=$${RANLIB}" \
18661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18662 info) \
18663 || exit 1
18665 @endif m4
18667 .PHONY: maybe-dvi-m4 dvi-m4
18668 maybe-dvi-m4:
18669 @if m4
18670 maybe-dvi-m4: dvi-m4
18672 dvi-m4: \
18673 configure-m4
18674 @: $(MAKE); $(unstage)
18675 @[ -f ./m4/Makefile ] || exit 0; \
18676 r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 $(HOST_EXPORTS) \
18679 for flag in $(EXTRA_HOST_FLAGS) ; do \
18680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18681 done; \
18682 echo "Doing dvi in m4" ; \
18683 (cd $(HOST_SUBDIR)/m4 && \
18684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18686 "RANLIB=$${RANLIB}" \
18687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18688 dvi) \
18689 || exit 1
18691 @endif m4
18693 .PHONY: maybe-html-m4 html-m4
18694 maybe-html-m4:
18695 @if m4
18696 maybe-html-m4: html-m4
18698 html-m4: \
18699 configure-m4
18700 @: $(MAKE); $(unstage)
18701 @[ -f ./m4/Makefile ] || exit 0; \
18702 r=`${PWD_COMMAND}`; export r; \
18703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18704 $(HOST_EXPORTS) \
18705 for flag in $(EXTRA_HOST_FLAGS) ; do \
18706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18707 done; \
18708 echo "Doing html in m4" ; \
18709 (cd $(HOST_SUBDIR)/m4 && \
18710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18712 "RANLIB=$${RANLIB}" \
18713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18714 html) \
18715 || exit 1
18717 @endif m4
18719 .PHONY: maybe-TAGS-m4 TAGS-m4
18720 maybe-TAGS-m4:
18721 @if m4
18722 maybe-TAGS-m4: TAGS-m4
18724 TAGS-m4: \
18725 configure-m4
18726 @: $(MAKE); $(unstage)
18727 @[ -f ./m4/Makefile ] || exit 0; \
18728 r=`${PWD_COMMAND}`; export r; \
18729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18730 $(HOST_EXPORTS) \
18731 for flag in $(EXTRA_HOST_FLAGS) ; do \
18732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18733 done; \
18734 echo "Doing TAGS in m4" ; \
18735 (cd $(HOST_SUBDIR)/m4 && \
18736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18738 "RANLIB=$${RANLIB}" \
18739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18740 TAGS) \
18741 || exit 1
18743 @endif m4
18745 .PHONY: maybe-install-info-m4 install-info-m4
18746 maybe-install-info-m4:
18747 @if m4
18748 maybe-install-info-m4: install-info-m4
18750 install-info-m4: \
18751 configure-m4 \
18752 info-m4
18753 @: $(MAKE); $(unstage)
18754 @[ -f ./m4/Makefile ] || exit 0; \
18755 r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757 $(HOST_EXPORTS) \
18758 for flag in $(EXTRA_HOST_FLAGS) ; do \
18759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18760 done; \
18761 echo "Doing install-info in m4" ; \
18762 (cd $(HOST_SUBDIR)/m4 && \
18763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18765 "RANLIB=$${RANLIB}" \
18766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18767 install-info) \
18768 || exit 1
18770 @endif m4
18772 .PHONY: maybe-installcheck-m4 installcheck-m4
18773 maybe-installcheck-m4:
18774 @if m4
18775 maybe-installcheck-m4: installcheck-m4
18777 installcheck-m4: \
18778 configure-m4
18779 @: $(MAKE); $(unstage)
18780 @[ -f ./m4/Makefile ] || exit 0; \
18781 r=`${PWD_COMMAND}`; export r; \
18782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18783 $(HOST_EXPORTS) \
18784 for flag in $(EXTRA_HOST_FLAGS) ; do \
18785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18786 done; \
18787 echo "Doing installcheck in m4" ; \
18788 (cd $(HOST_SUBDIR)/m4 && \
18789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18791 "RANLIB=$${RANLIB}" \
18792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18793 installcheck) \
18794 || exit 1
18796 @endif m4
18798 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18799 maybe-mostlyclean-m4:
18800 @if m4
18801 maybe-mostlyclean-m4: mostlyclean-m4
18803 mostlyclean-m4:
18804 @: $(MAKE); $(unstage)
18805 @[ -f ./m4/Makefile ] || exit 0; \
18806 r=`${PWD_COMMAND}`; export r; \
18807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18808 $(HOST_EXPORTS) \
18809 for flag in $(EXTRA_HOST_FLAGS) ; do \
18810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18811 done; \
18812 echo "Doing mostlyclean in m4" ; \
18813 (cd $(HOST_SUBDIR)/m4 && \
18814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18816 "RANLIB=$${RANLIB}" \
18817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18818 mostlyclean) \
18819 || exit 1
18821 @endif m4
18823 .PHONY: maybe-clean-m4 clean-m4
18824 maybe-clean-m4:
18825 @if m4
18826 maybe-clean-m4: clean-m4
18828 clean-m4:
18829 @: $(MAKE); $(unstage)
18830 @[ -f ./m4/Makefile ] || exit 0; \
18831 r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 $(HOST_EXPORTS) \
18834 for flag in $(EXTRA_HOST_FLAGS) ; do \
18835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18836 done; \
18837 echo "Doing clean in m4" ; \
18838 (cd $(HOST_SUBDIR)/m4 && \
18839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18841 "RANLIB=$${RANLIB}" \
18842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18843 clean) \
18844 || exit 1
18846 @endif m4
18848 .PHONY: maybe-distclean-m4 distclean-m4
18849 maybe-distclean-m4:
18850 @if m4
18851 maybe-distclean-m4: distclean-m4
18853 distclean-m4:
18854 @: $(MAKE); $(unstage)
18855 @[ -f ./m4/Makefile ] || exit 0; \
18856 r=`${PWD_COMMAND}`; export r; \
18857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18858 $(HOST_EXPORTS) \
18859 for flag in $(EXTRA_HOST_FLAGS) ; do \
18860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18861 done; \
18862 echo "Doing distclean in m4" ; \
18863 (cd $(HOST_SUBDIR)/m4 && \
18864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18866 "RANLIB=$${RANLIB}" \
18867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18868 distclean) \
18869 || exit 1
18871 @endif m4
18873 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18874 maybe-maintainer-clean-m4:
18875 @if m4
18876 maybe-maintainer-clean-m4: maintainer-clean-m4
18878 maintainer-clean-m4:
18879 @: $(MAKE); $(unstage)
18880 @[ -f ./m4/Makefile ] || exit 0; \
18881 r=`${PWD_COMMAND}`; export r; \
18882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18883 $(HOST_EXPORTS) \
18884 for flag in $(EXTRA_HOST_FLAGS) ; do \
18885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18886 done; \
18887 echo "Doing maintainer-clean in m4" ; \
18888 (cd $(HOST_SUBDIR)/m4 && \
18889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18891 "RANLIB=$${RANLIB}" \
18892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18893 maintainer-clean) \
18894 || exit 1
18896 @endif m4
18900 .PHONY: configure-make maybe-configure-make
18901 maybe-configure-make:
18902 @if make
18903 maybe-configure-make: configure-make
18904 configure-make:
18905 @: $(MAKE); $(unstage)
18906 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18908 r=`${PWD_COMMAND}`; export r; \
18909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18910 $(HOST_EXPORTS) \
18911 echo Configuring in $(HOST_SUBDIR)/make; \
18912 cd "$(HOST_SUBDIR)/make" || exit 1; \
18913 case $(srcdir) in \
18914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18915 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18917 esac; \
18918 srcdiroption="--srcdir=$${topdir}/make"; \
18919 libsrcdir="$$s/make"; \
18920 $(SHELL) $${libsrcdir}/configure \
18921 $(HOST_CONFIGARGS) $${srcdiroption} \
18922 || exit 1
18923 @endif make
18929 .PHONY: all-make maybe-all-make
18930 maybe-all-make:
18931 @if make
18932 TARGET-make=all
18933 maybe-all-make: all-make
18934 all-make: configure-make
18935 @: $(MAKE); $(unstage)
18936 @r=`${PWD_COMMAND}`; export r; \
18937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 $(HOST_EXPORTS) \
18939 (cd $(HOST_SUBDIR)/make && \
18940 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18941 @endif make
18946 .PHONY: check-make maybe-check-make
18947 maybe-check-make:
18948 @if make
18949 maybe-check-make: check-make
18951 check-make:
18952 @: $(MAKE); $(unstage)
18953 @r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 $(HOST_EXPORTS) \
18956 (cd $(HOST_SUBDIR)/make && \
18957 $(MAKE) $(FLAGS_TO_PASS) check)
18959 @endif make
18961 .PHONY: install-make maybe-install-make
18962 maybe-install-make:
18963 @if make
18964 maybe-install-make: install-make
18966 install-make: installdirs
18967 @: $(MAKE); $(unstage)
18968 @r=`${PWD_COMMAND}`; export r; \
18969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18970 $(HOST_EXPORTS) \
18971 (cd $(HOST_SUBDIR)/make && \
18972 $(MAKE) $(FLAGS_TO_PASS) install)
18974 @endif make
18976 # Other targets (info, dvi, etc.)
18978 .PHONY: maybe-info-make info-make
18979 maybe-info-make:
18980 @if make
18981 maybe-info-make: info-make
18983 info-make: \
18984 configure-make
18985 @: $(MAKE); $(unstage)
18986 @[ -f ./make/Makefile ] || exit 0; \
18987 r=`${PWD_COMMAND}`; export r; \
18988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18989 $(HOST_EXPORTS) \
18990 for flag in $(EXTRA_HOST_FLAGS) ; do \
18991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18992 done; \
18993 echo "Doing info in make" ; \
18994 (cd $(HOST_SUBDIR)/make && \
18995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18997 "RANLIB=$${RANLIB}" \
18998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18999 info) \
19000 || exit 1
19002 @endif make
19004 .PHONY: maybe-dvi-make dvi-make
19005 maybe-dvi-make:
19006 @if make
19007 maybe-dvi-make: dvi-make
19009 dvi-make: \
19010 configure-make
19011 @: $(MAKE); $(unstage)
19012 @[ -f ./make/Makefile ] || exit 0; \
19013 r=`${PWD_COMMAND}`; export r; \
19014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19015 $(HOST_EXPORTS) \
19016 for flag in $(EXTRA_HOST_FLAGS) ; do \
19017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19018 done; \
19019 echo "Doing dvi in make" ; \
19020 (cd $(HOST_SUBDIR)/make && \
19021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19023 "RANLIB=$${RANLIB}" \
19024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19025 dvi) \
19026 || exit 1
19028 @endif make
19030 .PHONY: maybe-html-make html-make
19031 maybe-html-make:
19032 @if make
19033 maybe-html-make: html-make
19035 html-make: \
19036 configure-make
19037 @: $(MAKE); $(unstage)
19038 @[ -f ./make/Makefile ] || exit 0; \
19039 r=`${PWD_COMMAND}`; export r; \
19040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19041 $(HOST_EXPORTS) \
19042 for flag in $(EXTRA_HOST_FLAGS) ; do \
19043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19044 done; \
19045 echo "Doing html in make" ; \
19046 (cd $(HOST_SUBDIR)/make && \
19047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19049 "RANLIB=$${RANLIB}" \
19050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19051 html) \
19052 || exit 1
19054 @endif make
19056 .PHONY: maybe-TAGS-make TAGS-make
19057 maybe-TAGS-make:
19058 @if make
19059 maybe-TAGS-make: TAGS-make
19061 TAGS-make: \
19062 configure-make
19063 @: $(MAKE); $(unstage)
19064 @[ -f ./make/Makefile ] || exit 0; \
19065 r=`${PWD_COMMAND}`; export r; \
19066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing TAGS in make" ; \
19072 (cd $(HOST_SUBDIR)/make && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19077 TAGS) \
19078 || exit 1
19080 @endif make
19082 .PHONY: maybe-install-info-make install-info-make
19083 maybe-install-info-make:
19084 @if make
19085 maybe-install-info-make: install-info-make
19087 install-info-make: \
19088 configure-make \
19089 info-make
19090 @: $(MAKE); $(unstage)
19091 @[ -f ./make/Makefile ] || exit 0; \
19092 r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094 $(HOST_EXPORTS) \
19095 for flag in $(EXTRA_HOST_FLAGS) ; do \
19096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19097 done; \
19098 echo "Doing install-info in make" ; \
19099 (cd $(HOST_SUBDIR)/make && \
19100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19102 "RANLIB=$${RANLIB}" \
19103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19104 install-info) \
19105 || exit 1
19107 @endif make
19109 .PHONY: maybe-installcheck-make installcheck-make
19110 maybe-installcheck-make:
19111 @if make
19112 maybe-installcheck-make: installcheck-make
19114 installcheck-make: \
19115 configure-make
19116 @: $(MAKE); $(unstage)
19117 @[ -f ./make/Makefile ] || exit 0; \
19118 r=`${PWD_COMMAND}`; export r; \
19119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19120 $(HOST_EXPORTS) \
19121 for flag in $(EXTRA_HOST_FLAGS) ; do \
19122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19123 done; \
19124 echo "Doing installcheck in make" ; \
19125 (cd $(HOST_SUBDIR)/make && \
19126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19128 "RANLIB=$${RANLIB}" \
19129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19130 installcheck) \
19131 || exit 1
19133 @endif make
19135 .PHONY: maybe-mostlyclean-make mostlyclean-make
19136 maybe-mostlyclean-make:
19137 @if make
19138 maybe-mostlyclean-make: mostlyclean-make
19140 mostlyclean-make:
19141 @: $(MAKE); $(unstage)
19142 @[ -f ./make/Makefile ] || exit 0; \
19143 r=`${PWD_COMMAND}`; export r; \
19144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19145 $(HOST_EXPORTS) \
19146 for flag in $(EXTRA_HOST_FLAGS) ; do \
19147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19148 done; \
19149 echo "Doing mostlyclean in make" ; \
19150 (cd $(HOST_SUBDIR)/make && \
19151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19153 "RANLIB=$${RANLIB}" \
19154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19155 mostlyclean) \
19156 || exit 1
19158 @endif make
19160 .PHONY: maybe-clean-make clean-make
19161 maybe-clean-make:
19162 @if make
19163 maybe-clean-make: clean-make
19165 clean-make:
19166 @: $(MAKE); $(unstage)
19167 @[ -f ./make/Makefile ] || exit 0; \
19168 r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19170 $(HOST_EXPORTS) \
19171 for flag in $(EXTRA_HOST_FLAGS) ; do \
19172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19173 done; \
19174 echo "Doing clean in make" ; \
19175 (cd $(HOST_SUBDIR)/make && \
19176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19178 "RANLIB=$${RANLIB}" \
19179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19180 clean) \
19181 || exit 1
19183 @endif make
19185 .PHONY: maybe-distclean-make distclean-make
19186 maybe-distclean-make:
19187 @if make
19188 maybe-distclean-make: distclean-make
19190 distclean-make:
19191 @: $(MAKE); $(unstage)
19192 @[ -f ./make/Makefile ] || exit 0; \
19193 r=`${PWD_COMMAND}`; export r; \
19194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19195 $(HOST_EXPORTS) \
19196 for flag in $(EXTRA_HOST_FLAGS) ; do \
19197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19198 done; \
19199 echo "Doing distclean in make" ; \
19200 (cd $(HOST_SUBDIR)/make && \
19201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19203 "RANLIB=$${RANLIB}" \
19204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19205 distclean) \
19206 || exit 1
19208 @endif make
19210 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19211 maybe-maintainer-clean-make:
19212 @if make
19213 maybe-maintainer-clean-make: maintainer-clean-make
19215 maintainer-clean-make:
19216 @: $(MAKE); $(unstage)
19217 @[ -f ./make/Makefile ] || exit 0; \
19218 r=`${PWD_COMMAND}`; export r; \
19219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19220 $(HOST_EXPORTS) \
19221 for flag in $(EXTRA_HOST_FLAGS) ; do \
19222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19223 done; \
19224 echo "Doing maintainer-clean in make" ; \
19225 (cd $(HOST_SUBDIR)/make && \
19226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19228 "RANLIB=$${RANLIB}" \
19229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19230 maintainer-clean) \
19231 || exit 1
19233 @endif make
19237 .PHONY: configure-mmalloc maybe-configure-mmalloc
19238 maybe-configure-mmalloc:
19239 @if mmalloc
19240 maybe-configure-mmalloc: configure-mmalloc
19241 configure-mmalloc:
19242 @: $(MAKE); $(unstage)
19243 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19245 r=`${PWD_COMMAND}`; export r; \
19246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19247 $(HOST_EXPORTS) \
19248 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19249 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19250 case $(srcdir) in \
19251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19252 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19254 esac; \
19255 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19256 libsrcdir="$$s/mmalloc"; \
19257 $(SHELL) $${libsrcdir}/configure \
19258 $(HOST_CONFIGARGS) $${srcdiroption} \
19259 || exit 1
19260 @endif mmalloc
19266 .PHONY: all-mmalloc maybe-all-mmalloc
19267 maybe-all-mmalloc:
19268 @if mmalloc
19269 TARGET-mmalloc=all
19270 maybe-all-mmalloc: all-mmalloc
19271 all-mmalloc: configure-mmalloc
19272 @: $(MAKE); $(unstage)
19273 @r=`${PWD_COMMAND}`; export r; \
19274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19275 $(HOST_EXPORTS) \
19276 (cd $(HOST_SUBDIR)/mmalloc && \
19277 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19278 @endif mmalloc
19283 .PHONY: check-mmalloc maybe-check-mmalloc
19284 maybe-check-mmalloc:
19285 @if mmalloc
19286 maybe-check-mmalloc: check-mmalloc
19288 check-mmalloc:
19290 @endif mmalloc
19292 .PHONY: install-mmalloc maybe-install-mmalloc
19293 maybe-install-mmalloc:
19294 @if mmalloc
19295 maybe-install-mmalloc: install-mmalloc
19297 install-mmalloc: installdirs
19298 @: $(MAKE); $(unstage)
19299 @r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19301 $(HOST_EXPORTS) \
19302 (cd $(HOST_SUBDIR)/mmalloc && \
19303 $(MAKE) $(FLAGS_TO_PASS) install)
19305 @endif mmalloc
19307 # Other targets (info, dvi, etc.)
19309 .PHONY: maybe-info-mmalloc info-mmalloc
19310 maybe-info-mmalloc:
19311 @if mmalloc
19312 maybe-info-mmalloc: info-mmalloc
19314 info-mmalloc: \
19315 configure-mmalloc
19316 @: $(MAKE); $(unstage)
19317 @[ -f ./mmalloc/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing info in mmalloc" ; \
19325 (cd $(HOST_SUBDIR)/mmalloc && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19330 info) \
19331 || exit 1
19333 @endif mmalloc
19335 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19336 maybe-dvi-mmalloc:
19337 @if mmalloc
19338 maybe-dvi-mmalloc: dvi-mmalloc
19340 dvi-mmalloc: \
19341 configure-mmalloc
19342 @: $(MAKE); $(unstage)
19343 @[ -f ./mmalloc/Makefile ] || exit 0; \
19344 r=`${PWD_COMMAND}`; export r; \
19345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19346 $(HOST_EXPORTS) \
19347 for flag in $(EXTRA_HOST_FLAGS) ; do \
19348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19349 done; \
19350 echo "Doing dvi in mmalloc" ; \
19351 (cd $(HOST_SUBDIR)/mmalloc && \
19352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354 "RANLIB=$${RANLIB}" \
19355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19356 dvi) \
19357 || exit 1
19359 @endif mmalloc
19361 .PHONY: maybe-html-mmalloc html-mmalloc
19362 maybe-html-mmalloc:
19363 @if mmalloc
19364 maybe-html-mmalloc: html-mmalloc
19366 html-mmalloc: \
19367 configure-mmalloc
19368 @: $(MAKE); $(unstage)
19369 @[ -f ./mmalloc/Makefile ] || exit 0; \
19370 r=`${PWD_COMMAND}`; export r; \
19371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19372 $(HOST_EXPORTS) \
19373 for flag in $(EXTRA_HOST_FLAGS) ; do \
19374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19375 done; \
19376 echo "Doing html in mmalloc" ; \
19377 (cd $(HOST_SUBDIR)/mmalloc && \
19378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19380 "RANLIB=$${RANLIB}" \
19381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19382 html) \
19383 || exit 1
19385 @endif mmalloc
19387 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19388 maybe-TAGS-mmalloc:
19389 @if mmalloc
19390 maybe-TAGS-mmalloc: TAGS-mmalloc
19392 TAGS-mmalloc: \
19393 configure-mmalloc
19394 @: $(MAKE); $(unstage)
19395 @[ -f ./mmalloc/Makefile ] || exit 0; \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 $(HOST_EXPORTS) \
19399 for flag in $(EXTRA_HOST_FLAGS) ; do \
19400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19401 done; \
19402 echo "Doing TAGS in mmalloc" ; \
19403 (cd $(HOST_SUBDIR)/mmalloc && \
19404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19406 "RANLIB=$${RANLIB}" \
19407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19408 TAGS) \
19409 || exit 1
19411 @endif mmalloc
19413 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19414 maybe-install-info-mmalloc:
19415 @if mmalloc
19416 maybe-install-info-mmalloc: install-info-mmalloc
19418 install-info-mmalloc: \
19419 configure-mmalloc \
19420 info-mmalloc
19421 @: $(MAKE); $(unstage)
19422 @[ -f ./mmalloc/Makefile ] || exit 0; \
19423 r=`${PWD_COMMAND}`; export r; \
19424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19425 $(HOST_EXPORTS) \
19426 for flag in $(EXTRA_HOST_FLAGS) ; do \
19427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19428 done; \
19429 echo "Doing install-info in mmalloc" ; \
19430 (cd $(HOST_SUBDIR)/mmalloc && \
19431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19433 "RANLIB=$${RANLIB}" \
19434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19435 install-info) \
19436 || exit 1
19438 @endif mmalloc
19440 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19441 maybe-installcheck-mmalloc:
19442 @if mmalloc
19443 maybe-installcheck-mmalloc: installcheck-mmalloc
19445 installcheck-mmalloc: \
19446 configure-mmalloc
19447 @: $(MAKE); $(unstage)
19448 @[ -f ./mmalloc/Makefile ] || exit 0; \
19449 r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19451 $(HOST_EXPORTS) \
19452 for flag in $(EXTRA_HOST_FLAGS) ; do \
19453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19454 done; \
19455 echo "Doing installcheck in mmalloc" ; \
19456 (cd $(HOST_SUBDIR)/mmalloc && \
19457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19459 "RANLIB=$${RANLIB}" \
19460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19461 installcheck) \
19462 || exit 1
19464 @endif mmalloc
19466 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19467 maybe-mostlyclean-mmalloc:
19468 @if mmalloc
19469 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19471 mostlyclean-mmalloc:
19472 @: $(MAKE); $(unstage)
19473 @[ -f ./mmalloc/Makefile ] || exit 0; \
19474 r=`${PWD_COMMAND}`; export r; \
19475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19476 $(HOST_EXPORTS) \
19477 for flag in $(EXTRA_HOST_FLAGS) ; do \
19478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19479 done; \
19480 echo "Doing mostlyclean in mmalloc" ; \
19481 (cd $(HOST_SUBDIR)/mmalloc && \
19482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19484 "RANLIB=$${RANLIB}" \
19485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19486 mostlyclean) \
19487 || exit 1
19489 @endif mmalloc
19491 .PHONY: maybe-clean-mmalloc clean-mmalloc
19492 maybe-clean-mmalloc:
19493 @if mmalloc
19494 maybe-clean-mmalloc: clean-mmalloc
19496 clean-mmalloc:
19497 @: $(MAKE); $(unstage)
19498 @[ -f ./mmalloc/Makefile ] || exit 0; \
19499 r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19501 $(HOST_EXPORTS) \
19502 for flag in $(EXTRA_HOST_FLAGS) ; do \
19503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19504 done; \
19505 echo "Doing clean in mmalloc" ; \
19506 (cd $(HOST_SUBDIR)/mmalloc && \
19507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19509 "RANLIB=$${RANLIB}" \
19510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19511 clean) \
19512 || exit 1
19514 @endif mmalloc
19516 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19517 maybe-distclean-mmalloc:
19518 @if mmalloc
19519 maybe-distclean-mmalloc: distclean-mmalloc
19521 distclean-mmalloc:
19522 @: $(MAKE); $(unstage)
19523 @[ -f ./mmalloc/Makefile ] || exit 0; \
19524 r=`${PWD_COMMAND}`; export r; \
19525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19526 $(HOST_EXPORTS) \
19527 for flag in $(EXTRA_HOST_FLAGS) ; do \
19528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19529 done; \
19530 echo "Doing distclean in mmalloc" ; \
19531 (cd $(HOST_SUBDIR)/mmalloc && \
19532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19534 "RANLIB=$${RANLIB}" \
19535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19536 distclean) \
19537 || exit 1
19539 @endif mmalloc
19541 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19542 maybe-maintainer-clean-mmalloc:
19543 @if mmalloc
19544 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19546 maintainer-clean-mmalloc:
19547 @: $(MAKE); $(unstage)
19548 @[ -f ./mmalloc/Makefile ] || exit 0; \
19549 r=`${PWD_COMMAND}`; export r; \
19550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19551 $(HOST_EXPORTS) \
19552 for flag in $(EXTRA_HOST_FLAGS) ; do \
19553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19554 done; \
19555 echo "Doing maintainer-clean in mmalloc" ; \
19556 (cd $(HOST_SUBDIR)/mmalloc && \
19557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19559 "RANLIB=$${RANLIB}" \
19560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19561 maintainer-clean) \
19562 || exit 1
19564 @endif mmalloc
19568 .PHONY: configure-patch maybe-configure-patch
19569 maybe-configure-patch:
19570 @if patch
19571 maybe-configure-patch: configure-patch
19572 configure-patch:
19573 @: $(MAKE); $(unstage)
19574 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19576 r=`${PWD_COMMAND}`; export r; \
19577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19578 $(HOST_EXPORTS) \
19579 echo Configuring in $(HOST_SUBDIR)/patch; \
19580 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19581 case $(srcdir) in \
19582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19583 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19585 esac; \
19586 srcdiroption="--srcdir=$${topdir}/patch"; \
19587 libsrcdir="$$s/patch"; \
19588 $(SHELL) $${libsrcdir}/configure \
19589 $(HOST_CONFIGARGS) $${srcdiroption} \
19590 || exit 1
19591 @endif patch
19597 .PHONY: all-patch maybe-all-patch
19598 maybe-all-patch:
19599 @if patch
19600 TARGET-patch=all
19601 maybe-all-patch: all-patch
19602 all-patch: configure-patch
19603 @: $(MAKE); $(unstage)
19604 @r=`${PWD_COMMAND}`; export r; \
19605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19606 $(HOST_EXPORTS) \
19607 (cd $(HOST_SUBDIR)/patch && \
19608 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19609 @endif patch
19614 .PHONY: check-patch maybe-check-patch
19615 maybe-check-patch:
19616 @if patch
19617 maybe-check-patch: check-patch
19619 check-patch:
19620 @: $(MAKE); $(unstage)
19621 @r=`${PWD_COMMAND}`; export r; \
19622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19623 $(HOST_EXPORTS) \
19624 (cd $(HOST_SUBDIR)/patch && \
19625 $(MAKE) $(FLAGS_TO_PASS) check)
19627 @endif patch
19629 .PHONY: install-patch maybe-install-patch
19630 maybe-install-patch:
19631 @if patch
19632 maybe-install-patch: install-patch
19634 install-patch: installdirs
19635 @: $(MAKE); $(unstage)
19636 @r=`${PWD_COMMAND}`; export r; \
19637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19638 $(HOST_EXPORTS) \
19639 (cd $(HOST_SUBDIR)/patch && \
19640 $(MAKE) $(FLAGS_TO_PASS) install)
19642 @endif patch
19644 # Other targets (info, dvi, etc.)
19646 .PHONY: maybe-info-patch info-patch
19647 maybe-info-patch:
19648 @if patch
19649 maybe-info-patch: info-patch
19651 info-patch: \
19652 configure-patch
19653 @: $(MAKE); $(unstage)
19654 @[ -f ./patch/Makefile ] || exit 0; \
19655 r=`${PWD_COMMAND}`; export r; \
19656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19657 $(HOST_EXPORTS) \
19658 for flag in $(EXTRA_HOST_FLAGS) ; do \
19659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19660 done; \
19661 echo "Doing info in patch" ; \
19662 (cd $(HOST_SUBDIR)/patch && \
19663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19665 "RANLIB=$${RANLIB}" \
19666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19667 info) \
19668 || exit 1
19670 @endif patch
19672 .PHONY: maybe-dvi-patch dvi-patch
19673 maybe-dvi-patch:
19674 @if patch
19675 maybe-dvi-patch: dvi-patch
19677 dvi-patch: \
19678 configure-patch
19679 @: $(MAKE); $(unstage)
19680 @[ -f ./patch/Makefile ] || exit 0; \
19681 r=`${PWD_COMMAND}`; export r; \
19682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19683 $(HOST_EXPORTS) \
19684 for flag in $(EXTRA_HOST_FLAGS) ; do \
19685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19686 done; \
19687 echo "Doing dvi in patch" ; \
19688 (cd $(HOST_SUBDIR)/patch && \
19689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19691 "RANLIB=$${RANLIB}" \
19692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19693 dvi) \
19694 || exit 1
19696 @endif patch
19698 .PHONY: maybe-html-patch html-patch
19699 maybe-html-patch:
19700 @if patch
19701 maybe-html-patch: html-patch
19703 html-patch: \
19704 configure-patch
19705 @: $(MAKE); $(unstage)
19706 @[ -f ./patch/Makefile ] || exit 0; \
19707 r=`${PWD_COMMAND}`; export r; \
19708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19709 $(HOST_EXPORTS) \
19710 for flag in $(EXTRA_HOST_FLAGS) ; do \
19711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19712 done; \
19713 echo "Doing html in patch" ; \
19714 (cd $(HOST_SUBDIR)/patch && \
19715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19717 "RANLIB=$${RANLIB}" \
19718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19719 html) \
19720 || exit 1
19722 @endif patch
19724 .PHONY: maybe-TAGS-patch TAGS-patch
19725 maybe-TAGS-patch:
19726 @if patch
19727 maybe-TAGS-patch: TAGS-patch
19729 TAGS-patch: \
19730 configure-patch
19731 @: $(MAKE); $(unstage)
19732 @[ -f ./patch/Makefile ] || exit 0; \
19733 r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 for flag in $(EXTRA_HOST_FLAGS) ; do \
19737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19738 done; \
19739 echo "Doing TAGS in patch" ; \
19740 (cd $(HOST_SUBDIR)/patch && \
19741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19743 "RANLIB=$${RANLIB}" \
19744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19745 TAGS) \
19746 || exit 1
19748 @endif patch
19750 .PHONY: maybe-install-info-patch install-info-patch
19751 maybe-install-info-patch:
19752 @if patch
19753 maybe-install-info-patch: install-info-patch
19755 install-info-patch: \
19756 configure-patch \
19757 info-patch
19758 @: $(MAKE); $(unstage)
19759 @[ -f ./patch/Makefile ] || exit 0; \
19760 r=`${PWD_COMMAND}`; export r; \
19761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19762 $(HOST_EXPORTS) \
19763 for flag in $(EXTRA_HOST_FLAGS) ; do \
19764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19765 done; \
19766 echo "Doing install-info in patch" ; \
19767 (cd $(HOST_SUBDIR)/patch && \
19768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19770 "RANLIB=$${RANLIB}" \
19771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19772 install-info) \
19773 || exit 1
19775 @endif patch
19777 .PHONY: maybe-installcheck-patch installcheck-patch
19778 maybe-installcheck-patch:
19779 @if patch
19780 maybe-installcheck-patch: installcheck-patch
19782 installcheck-patch: \
19783 configure-patch
19784 @: $(MAKE); $(unstage)
19785 @[ -f ./patch/Makefile ] || exit 0; \
19786 r=`${PWD_COMMAND}`; export r; \
19787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19788 $(HOST_EXPORTS) \
19789 for flag in $(EXTRA_HOST_FLAGS) ; do \
19790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19791 done; \
19792 echo "Doing installcheck in patch" ; \
19793 (cd $(HOST_SUBDIR)/patch && \
19794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19796 "RANLIB=$${RANLIB}" \
19797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19798 installcheck) \
19799 || exit 1
19801 @endif patch
19803 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19804 maybe-mostlyclean-patch:
19805 @if patch
19806 maybe-mostlyclean-patch: mostlyclean-patch
19808 mostlyclean-patch:
19809 @: $(MAKE); $(unstage)
19810 @[ -f ./patch/Makefile ] || exit 0; \
19811 r=`${PWD_COMMAND}`; export r; \
19812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19813 $(HOST_EXPORTS) \
19814 for flag in $(EXTRA_HOST_FLAGS) ; do \
19815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19816 done; \
19817 echo "Doing mostlyclean in patch" ; \
19818 (cd $(HOST_SUBDIR)/patch && \
19819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19821 "RANLIB=$${RANLIB}" \
19822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19823 mostlyclean) \
19824 || exit 1
19826 @endif patch
19828 .PHONY: maybe-clean-patch clean-patch
19829 maybe-clean-patch:
19830 @if patch
19831 maybe-clean-patch: clean-patch
19833 clean-patch:
19834 @: $(MAKE); $(unstage)
19835 @[ -f ./patch/Makefile ] || exit 0; \
19836 r=`${PWD_COMMAND}`; export r; \
19837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19838 $(HOST_EXPORTS) \
19839 for flag in $(EXTRA_HOST_FLAGS) ; do \
19840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19841 done; \
19842 echo "Doing clean in patch" ; \
19843 (cd $(HOST_SUBDIR)/patch && \
19844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19846 "RANLIB=$${RANLIB}" \
19847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19848 clean) \
19849 || exit 1
19851 @endif patch
19853 .PHONY: maybe-distclean-patch distclean-patch
19854 maybe-distclean-patch:
19855 @if patch
19856 maybe-distclean-patch: distclean-patch
19858 distclean-patch:
19859 @: $(MAKE); $(unstage)
19860 @[ -f ./patch/Makefile ] || exit 0; \
19861 r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 $(HOST_EXPORTS) \
19864 for flag in $(EXTRA_HOST_FLAGS) ; do \
19865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19866 done; \
19867 echo "Doing distclean in patch" ; \
19868 (cd $(HOST_SUBDIR)/patch && \
19869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19871 "RANLIB=$${RANLIB}" \
19872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19873 distclean) \
19874 || exit 1
19876 @endif patch
19878 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19879 maybe-maintainer-clean-patch:
19880 @if patch
19881 maybe-maintainer-clean-patch: maintainer-clean-patch
19883 maintainer-clean-patch:
19884 @: $(MAKE); $(unstage)
19885 @[ -f ./patch/Makefile ] || exit 0; \
19886 r=`${PWD_COMMAND}`; export r; \
19887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888 $(HOST_EXPORTS) \
19889 for flag in $(EXTRA_HOST_FLAGS) ; do \
19890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19891 done; \
19892 echo "Doing maintainer-clean in patch" ; \
19893 (cd $(HOST_SUBDIR)/patch && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19896 "RANLIB=$${RANLIB}" \
19897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19898 maintainer-clean) \
19899 || exit 1
19901 @endif patch
19905 .PHONY: configure-perl maybe-configure-perl
19906 maybe-configure-perl:
19907 @if perl
19908 maybe-configure-perl: configure-perl
19909 configure-perl:
19910 @: $(MAKE); $(unstage)
19911 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19913 r=`${PWD_COMMAND}`; export r; \
19914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19915 $(HOST_EXPORTS) \
19916 echo Configuring in $(HOST_SUBDIR)/perl; \
19917 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19918 case $(srcdir) in \
19919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19920 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19922 esac; \
19923 srcdiroption="--srcdir=$${topdir}/perl"; \
19924 libsrcdir="$$s/perl"; \
19925 $(SHELL) $${libsrcdir}/configure \
19926 $(HOST_CONFIGARGS) $${srcdiroption} \
19927 || exit 1
19928 @endif perl
19934 .PHONY: all-perl maybe-all-perl
19935 maybe-all-perl:
19936 @if perl
19937 TARGET-perl=all
19938 maybe-all-perl: all-perl
19939 all-perl: configure-perl
19940 @: $(MAKE); $(unstage)
19941 @r=`${PWD_COMMAND}`; export r; \
19942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19943 $(HOST_EXPORTS) \
19944 (cd $(HOST_SUBDIR)/perl && \
19945 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19946 @endif perl
19951 .PHONY: check-perl maybe-check-perl
19952 maybe-check-perl:
19953 @if perl
19954 maybe-check-perl: check-perl
19956 check-perl:
19957 @: $(MAKE); $(unstage)
19958 @r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 $(HOST_EXPORTS) \
19961 (cd $(HOST_SUBDIR)/perl && \
19962 $(MAKE) $(FLAGS_TO_PASS) check)
19964 @endif perl
19966 .PHONY: install-perl maybe-install-perl
19967 maybe-install-perl:
19968 @if perl
19969 maybe-install-perl: install-perl
19971 install-perl: installdirs
19972 @: $(MAKE); $(unstage)
19973 @r=`${PWD_COMMAND}`; export r; \
19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 $(HOST_EXPORTS) \
19976 (cd $(HOST_SUBDIR)/perl && \
19977 $(MAKE) $(FLAGS_TO_PASS) install)
19979 @endif perl
19981 # Other targets (info, dvi, etc.)
19983 .PHONY: maybe-info-perl info-perl
19984 maybe-info-perl:
19985 @if perl
19986 maybe-info-perl: info-perl
19988 info-perl: \
19989 configure-perl
19990 @: $(MAKE); $(unstage)
19991 @[ -f ./perl/Makefile ] || exit 0; \
19992 r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 $(HOST_EXPORTS) \
19995 for flag in $(EXTRA_HOST_FLAGS) ; do \
19996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19997 done; \
19998 echo "Doing info in perl" ; \
19999 (cd $(HOST_SUBDIR)/perl && \
20000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20002 "RANLIB=$${RANLIB}" \
20003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20004 info) \
20005 || exit 1
20007 @endif perl
20009 .PHONY: maybe-dvi-perl dvi-perl
20010 maybe-dvi-perl:
20011 @if perl
20012 maybe-dvi-perl: dvi-perl
20014 dvi-perl: \
20015 configure-perl
20016 @: $(MAKE); $(unstage)
20017 @[ -f ./perl/Makefile ] || exit 0; \
20018 r=`${PWD_COMMAND}`; export r; \
20019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20020 $(HOST_EXPORTS) \
20021 for flag in $(EXTRA_HOST_FLAGS) ; do \
20022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20023 done; \
20024 echo "Doing dvi in perl" ; \
20025 (cd $(HOST_SUBDIR)/perl && \
20026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028 "RANLIB=$${RANLIB}" \
20029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20030 dvi) \
20031 || exit 1
20033 @endif perl
20035 .PHONY: maybe-html-perl html-perl
20036 maybe-html-perl:
20037 @if perl
20038 maybe-html-perl: html-perl
20040 html-perl: \
20041 configure-perl
20042 @: $(MAKE); $(unstage)
20043 @[ -f ./perl/Makefile ] || exit 0; \
20044 r=`${PWD_COMMAND}`; export r; \
20045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20046 $(HOST_EXPORTS) \
20047 for flag in $(EXTRA_HOST_FLAGS) ; do \
20048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20049 done; \
20050 echo "Doing html in perl" ; \
20051 (cd $(HOST_SUBDIR)/perl && \
20052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20054 "RANLIB=$${RANLIB}" \
20055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20056 html) \
20057 || exit 1
20059 @endif perl
20061 .PHONY: maybe-TAGS-perl TAGS-perl
20062 maybe-TAGS-perl:
20063 @if perl
20064 maybe-TAGS-perl: TAGS-perl
20066 TAGS-perl: \
20067 configure-perl
20068 @: $(MAKE); $(unstage)
20069 @[ -f ./perl/Makefile ] || exit 0; \
20070 r=`${PWD_COMMAND}`; export r; \
20071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20072 $(HOST_EXPORTS) \
20073 for flag in $(EXTRA_HOST_FLAGS) ; do \
20074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20075 done; \
20076 echo "Doing TAGS in perl" ; \
20077 (cd $(HOST_SUBDIR)/perl && \
20078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20080 "RANLIB=$${RANLIB}" \
20081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20082 TAGS) \
20083 || exit 1
20085 @endif perl
20087 .PHONY: maybe-install-info-perl install-info-perl
20088 maybe-install-info-perl:
20089 @if perl
20090 maybe-install-info-perl: install-info-perl
20092 install-info-perl: \
20093 configure-perl \
20094 info-perl
20095 @: $(MAKE); $(unstage)
20096 @[ -f ./perl/Makefile ] || exit 0; \
20097 r=`${PWD_COMMAND}`; export r; \
20098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20099 $(HOST_EXPORTS) \
20100 for flag in $(EXTRA_HOST_FLAGS) ; do \
20101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20102 done; \
20103 echo "Doing install-info in perl" ; \
20104 (cd $(HOST_SUBDIR)/perl && \
20105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20107 "RANLIB=$${RANLIB}" \
20108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20109 install-info) \
20110 || exit 1
20112 @endif perl
20114 .PHONY: maybe-installcheck-perl installcheck-perl
20115 maybe-installcheck-perl:
20116 @if perl
20117 maybe-installcheck-perl: installcheck-perl
20119 installcheck-perl: \
20120 configure-perl
20121 @: $(MAKE); $(unstage)
20122 @[ -f ./perl/Makefile ] || exit 0; \
20123 r=`${PWD_COMMAND}`; export r; \
20124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 $(HOST_EXPORTS) \
20126 for flag in $(EXTRA_HOST_FLAGS) ; do \
20127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128 done; \
20129 echo "Doing installcheck in perl" ; \
20130 (cd $(HOST_SUBDIR)/perl && \
20131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20133 "RANLIB=$${RANLIB}" \
20134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20135 installcheck) \
20136 || exit 1
20138 @endif perl
20140 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20141 maybe-mostlyclean-perl:
20142 @if perl
20143 maybe-mostlyclean-perl: mostlyclean-perl
20145 mostlyclean-perl:
20146 @: $(MAKE); $(unstage)
20147 @[ -f ./perl/Makefile ] || exit 0; \
20148 r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 $(HOST_EXPORTS) \
20151 for flag in $(EXTRA_HOST_FLAGS) ; do \
20152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20153 done; \
20154 echo "Doing mostlyclean in perl" ; \
20155 (cd $(HOST_SUBDIR)/perl && \
20156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20158 "RANLIB=$${RANLIB}" \
20159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20160 mostlyclean) \
20161 || exit 1
20163 @endif perl
20165 .PHONY: maybe-clean-perl clean-perl
20166 maybe-clean-perl:
20167 @if perl
20168 maybe-clean-perl: clean-perl
20170 clean-perl:
20171 @: $(MAKE); $(unstage)
20172 @[ -f ./perl/Makefile ] || exit 0; \
20173 r=`${PWD_COMMAND}`; export r; \
20174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20175 $(HOST_EXPORTS) \
20176 for flag in $(EXTRA_HOST_FLAGS) ; do \
20177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20178 done; \
20179 echo "Doing clean in perl" ; \
20180 (cd $(HOST_SUBDIR)/perl && \
20181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20183 "RANLIB=$${RANLIB}" \
20184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20185 clean) \
20186 || exit 1
20188 @endif perl
20190 .PHONY: maybe-distclean-perl distclean-perl
20191 maybe-distclean-perl:
20192 @if perl
20193 maybe-distclean-perl: distclean-perl
20195 distclean-perl:
20196 @: $(MAKE); $(unstage)
20197 @[ -f ./perl/Makefile ] || exit 0; \
20198 r=`${PWD_COMMAND}`; export r; \
20199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20200 $(HOST_EXPORTS) \
20201 for flag in $(EXTRA_HOST_FLAGS) ; do \
20202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20203 done; \
20204 echo "Doing distclean in perl" ; \
20205 (cd $(HOST_SUBDIR)/perl && \
20206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20208 "RANLIB=$${RANLIB}" \
20209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20210 distclean) \
20211 || exit 1
20213 @endif perl
20215 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20216 maybe-maintainer-clean-perl:
20217 @if perl
20218 maybe-maintainer-clean-perl: maintainer-clean-perl
20220 maintainer-clean-perl:
20221 @: $(MAKE); $(unstage)
20222 @[ -f ./perl/Makefile ] || exit 0; \
20223 r=`${PWD_COMMAND}`; export r; \
20224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20225 $(HOST_EXPORTS) \
20226 for flag in $(EXTRA_HOST_FLAGS) ; do \
20227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20228 done; \
20229 echo "Doing maintainer-clean in perl" ; \
20230 (cd $(HOST_SUBDIR)/perl && \
20231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20233 "RANLIB=$${RANLIB}" \
20234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20235 maintainer-clean) \
20236 || exit 1
20238 @endif perl
20242 .PHONY: configure-prms maybe-configure-prms
20243 maybe-configure-prms:
20244 @if prms
20245 maybe-configure-prms: configure-prms
20246 configure-prms:
20247 @: $(MAKE); $(unstage)
20248 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20250 r=`${PWD_COMMAND}`; export r; \
20251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20252 $(HOST_EXPORTS) \
20253 echo Configuring in $(HOST_SUBDIR)/prms; \
20254 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20255 case $(srcdir) in \
20256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20257 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20259 esac; \
20260 srcdiroption="--srcdir=$${topdir}/prms"; \
20261 libsrcdir="$$s/prms"; \
20262 $(SHELL) $${libsrcdir}/configure \
20263 $(HOST_CONFIGARGS) $${srcdiroption} \
20264 || exit 1
20265 @endif prms
20271 .PHONY: all-prms maybe-all-prms
20272 maybe-all-prms:
20273 @if prms
20274 TARGET-prms=all
20275 maybe-all-prms: all-prms
20276 all-prms: configure-prms
20277 @: $(MAKE); $(unstage)
20278 @r=`${PWD_COMMAND}`; export r; \
20279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20280 $(HOST_EXPORTS) \
20281 (cd $(HOST_SUBDIR)/prms && \
20282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20283 @endif prms
20288 .PHONY: check-prms maybe-check-prms
20289 maybe-check-prms:
20290 @if prms
20291 maybe-check-prms: check-prms
20293 check-prms:
20294 @: $(MAKE); $(unstage)
20295 @r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20297 $(HOST_EXPORTS) \
20298 (cd $(HOST_SUBDIR)/prms && \
20299 $(MAKE) $(FLAGS_TO_PASS) check)
20301 @endif prms
20303 .PHONY: install-prms maybe-install-prms
20304 maybe-install-prms:
20305 @if prms
20306 maybe-install-prms: install-prms
20308 install-prms: installdirs
20309 @: $(MAKE); $(unstage)
20310 @r=`${PWD_COMMAND}`; export r; \
20311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20312 $(HOST_EXPORTS) \
20313 (cd $(HOST_SUBDIR)/prms && \
20314 $(MAKE) $(FLAGS_TO_PASS) install)
20316 @endif prms
20318 # Other targets (info, dvi, etc.)
20320 .PHONY: maybe-info-prms info-prms
20321 maybe-info-prms:
20322 @if prms
20323 maybe-info-prms: info-prms
20325 info-prms: \
20326 configure-prms
20327 @: $(MAKE); $(unstage)
20328 @[ -f ./prms/Makefile ] || exit 0; \
20329 r=`${PWD_COMMAND}`; export r; \
20330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20331 $(HOST_EXPORTS) \
20332 for flag in $(EXTRA_HOST_FLAGS) ; do \
20333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20334 done; \
20335 echo "Doing info in prms" ; \
20336 (cd $(HOST_SUBDIR)/prms && \
20337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20339 "RANLIB=$${RANLIB}" \
20340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20341 info) \
20342 || exit 1
20344 @endif prms
20346 .PHONY: maybe-dvi-prms dvi-prms
20347 maybe-dvi-prms:
20348 @if prms
20349 maybe-dvi-prms: dvi-prms
20351 dvi-prms: \
20352 configure-prms
20353 @: $(MAKE); $(unstage)
20354 @[ -f ./prms/Makefile ] || exit 0; \
20355 r=`${PWD_COMMAND}`; export r; \
20356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20357 $(HOST_EXPORTS) \
20358 for flag in $(EXTRA_HOST_FLAGS) ; do \
20359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20360 done; \
20361 echo "Doing dvi in prms" ; \
20362 (cd $(HOST_SUBDIR)/prms && \
20363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20365 "RANLIB=$${RANLIB}" \
20366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20367 dvi) \
20368 || exit 1
20370 @endif prms
20372 .PHONY: maybe-html-prms html-prms
20373 maybe-html-prms:
20374 @if prms
20375 maybe-html-prms: html-prms
20377 html-prms: \
20378 configure-prms
20379 @: $(MAKE); $(unstage)
20380 @[ -f ./prms/Makefile ] || exit 0; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383 $(HOST_EXPORTS) \
20384 for flag in $(EXTRA_HOST_FLAGS) ; do \
20385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20386 done; \
20387 echo "Doing html in prms" ; \
20388 (cd $(HOST_SUBDIR)/prms && \
20389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20391 "RANLIB=$${RANLIB}" \
20392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20393 html) \
20394 || exit 1
20396 @endif prms
20398 .PHONY: maybe-TAGS-prms TAGS-prms
20399 maybe-TAGS-prms:
20400 @if prms
20401 maybe-TAGS-prms: TAGS-prms
20403 TAGS-prms: \
20404 configure-prms
20405 @: $(MAKE); $(unstage)
20406 @[ -f ./prms/Makefile ] || exit 0; \
20407 r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20409 $(HOST_EXPORTS) \
20410 for flag in $(EXTRA_HOST_FLAGS) ; do \
20411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20412 done; \
20413 echo "Doing TAGS in prms" ; \
20414 (cd $(HOST_SUBDIR)/prms && \
20415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20417 "RANLIB=$${RANLIB}" \
20418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20419 TAGS) \
20420 || exit 1
20422 @endif prms
20424 .PHONY: maybe-install-info-prms install-info-prms
20425 maybe-install-info-prms:
20426 @if prms
20427 maybe-install-info-prms: install-info-prms
20429 install-info-prms: \
20430 configure-prms \
20431 info-prms
20432 @: $(MAKE); $(unstage)
20433 @[ -f ./prms/Makefile ] || exit 0; \
20434 r=`${PWD_COMMAND}`; export r; \
20435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20436 $(HOST_EXPORTS) \
20437 for flag in $(EXTRA_HOST_FLAGS) ; do \
20438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20439 done; \
20440 echo "Doing install-info in prms" ; \
20441 (cd $(HOST_SUBDIR)/prms && \
20442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20444 "RANLIB=$${RANLIB}" \
20445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20446 install-info) \
20447 || exit 1
20449 @endif prms
20451 .PHONY: maybe-installcheck-prms installcheck-prms
20452 maybe-installcheck-prms:
20453 @if prms
20454 maybe-installcheck-prms: installcheck-prms
20456 installcheck-prms: \
20457 configure-prms
20458 @: $(MAKE); $(unstage)
20459 @[ -f ./prms/Makefile ] || exit 0; \
20460 r=`${PWD_COMMAND}`; export r; \
20461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20462 $(HOST_EXPORTS) \
20463 for flag in $(EXTRA_HOST_FLAGS) ; do \
20464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20465 done; \
20466 echo "Doing installcheck in prms" ; \
20467 (cd $(HOST_SUBDIR)/prms && \
20468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20470 "RANLIB=$${RANLIB}" \
20471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20472 installcheck) \
20473 || exit 1
20475 @endif prms
20477 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20478 maybe-mostlyclean-prms:
20479 @if prms
20480 maybe-mostlyclean-prms: mostlyclean-prms
20482 mostlyclean-prms:
20483 @: $(MAKE); $(unstage)
20484 @[ -f ./prms/Makefile ] || exit 0; \
20485 r=`${PWD_COMMAND}`; export r; \
20486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20487 $(HOST_EXPORTS) \
20488 for flag in $(EXTRA_HOST_FLAGS) ; do \
20489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20490 done; \
20491 echo "Doing mostlyclean in prms" ; \
20492 (cd $(HOST_SUBDIR)/prms && \
20493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20495 "RANLIB=$${RANLIB}" \
20496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20497 mostlyclean) \
20498 || exit 1
20500 @endif prms
20502 .PHONY: maybe-clean-prms clean-prms
20503 maybe-clean-prms:
20504 @if prms
20505 maybe-clean-prms: clean-prms
20507 clean-prms:
20508 @: $(MAKE); $(unstage)
20509 @[ -f ./prms/Makefile ] || exit 0; \
20510 r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 $(HOST_EXPORTS) \
20513 for flag in $(EXTRA_HOST_FLAGS) ; do \
20514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20515 done; \
20516 echo "Doing clean in prms" ; \
20517 (cd $(HOST_SUBDIR)/prms && \
20518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20520 "RANLIB=$${RANLIB}" \
20521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20522 clean) \
20523 || exit 1
20525 @endif prms
20527 .PHONY: maybe-distclean-prms distclean-prms
20528 maybe-distclean-prms:
20529 @if prms
20530 maybe-distclean-prms: distclean-prms
20532 distclean-prms:
20533 @: $(MAKE); $(unstage)
20534 @[ -f ./prms/Makefile ] || exit 0; \
20535 r=`${PWD_COMMAND}`; export r; \
20536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20537 $(HOST_EXPORTS) \
20538 for flag in $(EXTRA_HOST_FLAGS) ; do \
20539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20540 done; \
20541 echo "Doing distclean in prms" ; \
20542 (cd $(HOST_SUBDIR)/prms && \
20543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20545 "RANLIB=$${RANLIB}" \
20546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20547 distclean) \
20548 || exit 1
20550 @endif prms
20552 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20553 maybe-maintainer-clean-prms:
20554 @if prms
20555 maybe-maintainer-clean-prms: maintainer-clean-prms
20557 maintainer-clean-prms:
20558 @: $(MAKE); $(unstage)
20559 @[ -f ./prms/Makefile ] || exit 0; \
20560 r=`${PWD_COMMAND}`; export r; \
20561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20562 $(HOST_EXPORTS) \
20563 for flag in $(EXTRA_HOST_FLAGS) ; do \
20564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20565 done; \
20566 echo "Doing maintainer-clean in prms" ; \
20567 (cd $(HOST_SUBDIR)/prms && \
20568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20570 "RANLIB=$${RANLIB}" \
20571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20572 maintainer-clean) \
20573 || exit 1
20575 @endif prms
20579 .PHONY: configure-rcs maybe-configure-rcs
20580 maybe-configure-rcs:
20581 @if rcs
20582 maybe-configure-rcs: configure-rcs
20583 configure-rcs:
20584 @: $(MAKE); $(unstage)
20585 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20587 r=`${PWD_COMMAND}`; export r; \
20588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20589 $(HOST_EXPORTS) \
20590 echo Configuring in $(HOST_SUBDIR)/rcs; \
20591 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20592 case $(srcdir) in \
20593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20594 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20596 esac; \
20597 srcdiroption="--srcdir=$${topdir}/rcs"; \
20598 libsrcdir="$$s/rcs"; \
20599 $(SHELL) $${libsrcdir}/configure \
20600 $(HOST_CONFIGARGS) $${srcdiroption} \
20601 || exit 1
20602 @endif rcs
20608 .PHONY: all-rcs maybe-all-rcs
20609 maybe-all-rcs:
20610 @if rcs
20611 TARGET-rcs=all
20612 maybe-all-rcs: all-rcs
20613 all-rcs: configure-rcs
20614 @: $(MAKE); $(unstage)
20615 @r=`${PWD_COMMAND}`; export r; \
20616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20617 $(HOST_EXPORTS) \
20618 (cd $(HOST_SUBDIR)/rcs && \
20619 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20620 @endif rcs
20625 .PHONY: check-rcs maybe-check-rcs
20626 maybe-check-rcs:
20627 @if rcs
20628 maybe-check-rcs: check-rcs
20630 check-rcs:
20631 @: $(MAKE); $(unstage)
20632 @r=`${PWD_COMMAND}`; export r; \
20633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20634 $(HOST_EXPORTS) \
20635 (cd $(HOST_SUBDIR)/rcs && \
20636 $(MAKE) $(FLAGS_TO_PASS) check)
20638 @endif rcs
20640 .PHONY: install-rcs maybe-install-rcs
20641 maybe-install-rcs:
20642 @if rcs
20643 maybe-install-rcs: install-rcs
20645 install-rcs: installdirs
20646 @: $(MAKE); $(unstage)
20647 @r=`${PWD_COMMAND}`; export r; \
20648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20649 $(HOST_EXPORTS) \
20650 (cd $(HOST_SUBDIR)/rcs && \
20651 $(MAKE) $(FLAGS_TO_PASS) install)
20653 @endif rcs
20655 # Other targets (info, dvi, etc.)
20657 .PHONY: maybe-info-rcs info-rcs
20658 maybe-info-rcs:
20659 @if rcs
20660 maybe-info-rcs: info-rcs
20662 info-rcs: \
20663 configure-rcs
20664 @: $(MAKE); $(unstage)
20665 @[ -f ./rcs/Makefile ] || exit 0; \
20666 r=`${PWD_COMMAND}`; export r; \
20667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20668 $(HOST_EXPORTS) \
20669 for flag in $(EXTRA_HOST_FLAGS) ; do \
20670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20671 done; \
20672 echo "Doing info in rcs" ; \
20673 (cd $(HOST_SUBDIR)/rcs && \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20676 "RANLIB=$${RANLIB}" \
20677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20678 info) \
20679 || exit 1
20681 @endif rcs
20683 .PHONY: maybe-dvi-rcs dvi-rcs
20684 maybe-dvi-rcs:
20685 @if rcs
20686 maybe-dvi-rcs: dvi-rcs
20688 dvi-rcs: \
20689 configure-rcs
20690 @: $(MAKE); $(unstage)
20691 @[ -f ./rcs/Makefile ] || exit 0; \
20692 r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 $(HOST_EXPORTS) \
20695 for flag in $(EXTRA_HOST_FLAGS) ; do \
20696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20697 done; \
20698 echo "Doing dvi in rcs" ; \
20699 (cd $(HOST_SUBDIR)/rcs && \
20700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20702 "RANLIB=$${RANLIB}" \
20703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20704 dvi) \
20705 || exit 1
20707 @endif rcs
20709 .PHONY: maybe-html-rcs html-rcs
20710 maybe-html-rcs:
20711 @if rcs
20712 maybe-html-rcs: html-rcs
20714 html-rcs: \
20715 configure-rcs
20716 @: $(MAKE); $(unstage)
20717 @[ -f ./rcs/Makefile ] || exit 0; \
20718 r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20720 $(HOST_EXPORTS) \
20721 for flag in $(EXTRA_HOST_FLAGS) ; do \
20722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20723 done; \
20724 echo "Doing html in rcs" ; \
20725 (cd $(HOST_SUBDIR)/rcs && \
20726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20728 "RANLIB=$${RANLIB}" \
20729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20730 html) \
20731 || exit 1
20733 @endif rcs
20735 .PHONY: maybe-TAGS-rcs TAGS-rcs
20736 maybe-TAGS-rcs:
20737 @if rcs
20738 maybe-TAGS-rcs: TAGS-rcs
20740 TAGS-rcs: \
20741 configure-rcs
20742 @: $(MAKE); $(unstage)
20743 @[ -f ./rcs/Makefile ] || exit 0; \
20744 r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 $(HOST_EXPORTS) \
20747 for flag in $(EXTRA_HOST_FLAGS) ; do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 done; \
20750 echo "Doing TAGS in rcs" ; \
20751 (cd $(HOST_SUBDIR)/rcs && \
20752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20754 "RANLIB=$${RANLIB}" \
20755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20756 TAGS) \
20757 || exit 1
20759 @endif rcs
20761 .PHONY: maybe-install-info-rcs install-info-rcs
20762 maybe-install-info-rcs:
20763 @if rcs
20764 maybe-install-info-rcs: install-info-rcs
20766 install-info-rcs: \
20767 configure-rcs \
20768 info-rcs
20769 @: $(MAKE); $(unstage)
20770 @[ -f ./rcs/Makefile ] || exit 0; \
20771 r=`${PWD_COMMAND}`; export r; \
20772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20773 $(HOST_EXPORTS) \
20774 for flag in $(EXTRA_HOST_FLAGS) ; do \
20775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20776 done; \
20777 echo "Doing install-info in rcs" ; \
20778 (cd $(HOST_SUBDIR)/rcs && \
20779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20781 "RANLIB=$${RANLIB}" \
20782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20783 install-info) \
20784 || exit 1
20786 @endif rcs
20788 .PHONY: maybe-installcheck-rcs installcheck-rcs
20789 maybe-installcheck-rcs:
20790 @if rcs
20791 maybe-installcheck-rcs: installcheck-rcs
20793 installcheck-rcs: \
20794 configure-rcs
20795 @: $(MAKE); $(unstage)
20796 @[ -f ./rcs/Makefile ] || exit 0; \
20797 r=`${PWD_COMMAND}`; export r; \
20798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20799 $(HOST_EXPORTS) \
20800 for flag in $(EXTRA_HOST_FLAGS) ; do \
20801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20802 done; \
20803 echo "Doing installcheck in rcs" ; \
20804 (cd $(HOST_SUBDIR)/rcs && \
20805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20807 "RANLIB=$${RANLIB}" \
20808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20809 installcheck) \
20810 || exit 1
20812 @endif rcs
20814 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20815 maybe-mostlyclean-rcs:
20816 @if rcs
20817 maybe-mostlyclean-rcs: mostlyclean-rcs
20819 mostlyclean-rcs:
20820 @: $(MAKE); $(unstage)
20821 @[ -f ./rcs/Makefile ] || exit 0; \
20822 r=`${PWD_COMMAND}`; export r; \
20823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20824 $(HOST_EXPORTS) \
20825 for flag in $(EXTRA_HOST_FLAGS) ; do \
20826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20827 done; \
20828 echo "Doing mostlyclean in rcs" ; \
20829 (cd $(HOST_SUBDIR)/rcs && \
20830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20832 "RANLIB=$${RANLIB}" \
20833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20834 mostlyclean) \
20835 || exit 1
20837 @endif rcs
20839 .PHONY: maybe-clean-rcs clean-rcs
20840 maybe-clean-rcs:
20841 @if rcs
20842 maybe-clean-rcs: clean-rcs
20844 clean-rcs:
20845 @: $(MAKE); $(unstage)
20846 @[ -f ./rcs/Makefile ] || exit 0; \
20847 r=`${PWD_COMMAND}`; export r; \
20848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20849 $(HOST_EXPORTS) \
20850 for flag in $(EXTRA_HOST_FLAGS) ; do \
20851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20852 done; \
20853 echo "Doing clean in rcs" ; \
20854 (cd $(HOST_SUBDIR)/rcs && \
20855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20857 "RANLIB=$${RANLIB}" \
20858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20859 clean) \
20860 || exit 1
20862 @endif rcs
20864 .PHONY: maybe-distclean-rcs distclean-rcs
20865 maybe-distclean-rcs:
20866 @if rcs
20867 maybe-distclean-rcs: distclean-rcs
20869 distclean-rcs:
20870 @: $(MAKE); $(unstage)
20871 @[ -f ./rcs/Makefile ] || exit 0; \
20872 r=`${PWD_COMMAND}`; export r; \
20873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20874 $(HOST_EXPORTS) \
20875 for flag in $(EXTRA_HOST_FLAGS) ; do \
20876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20877 done; \
20878 echo "Doing distclean in rcs" ; \
20879 (cd $(HOST_SUBDIR)/rcs && \
20880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20882 "RANLIB=$${RANLIB}" \
20883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20884 distclean) \
20885 || exit 1
20887 @endif rcs
20889 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20890 maybe-maintainer-clean-rcs:
20891 @if rcs
20892 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20894 maintainer-clean-rcs:
20895 @: $(MAKE); $(unstage)
20896 @[ -f ./rcs/Makefile ] || exit 0; \
20897 r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(HOST_EXPORTS) \
20900 for flag in $(EXTRA_HOST_FLAGS) ; do \
20901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20902 done; \
20903 echo "Doing maintainer-clean in rcs" ; \
20904 (cd $(HOST_SUBDIR)/rcs && \
20905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20907 "RANLIB=$${RANLIB}" \
20908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20909 maintainer-clean) \
20910 || exit 1
20912 @endif rcs
20916 .PHONY: configure-readline maybe-configure-readline
20917 maybe-configure-readline:
20918 @if readline
20919 maybe-configure-readline: configure-readline
20920 configure-readline:
20921 @: $(MAKE); $(unstage)
20922 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20924 r=`${PWD_COMMAND}`; export r; \
20925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20926 $(HOST_EXPORTS) \
20927 echo Configuring in $(HOST_SUBDIR)/readline; \
20928 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20929 case $(srcdir) in \
20930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20931 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20933 esac; \
20934 srcdiroption="--srcdir=$${topdir}/readline"; \
20935 libsrcdir="$$s/readline"; \
20936 $(SHELL) $${libsrcdir}/configure \
20937 $(HOST_CONFIGARGS) $${srcdiroption} \
20938 || exit 1
20939 @endif readline
20945 .PHONY: all-readline maybe-all-readline
20946 maybe-all-readline:
20947 @if readline
20948 TARGET-readline=all
20949 maybe-all-readline: all-readline
20950 all-readline: configure-readline
20951 @: $(MAKE); $(unstage)
20952 @r=`${PWD_COMMAND}`; export r; \
20953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20954 $(HOST_EXPORTS) \
20955 (cd $(HOST_SUBDIR)/readline && \
20956 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20957 @endif readline
20962 .PHONY: check-readline maybe-check-readline
20963 maybe-check-readline:
20964 @if readline
20965 maybe-check-readline: check-readline
20967 check-readline:
20968 @: $(MAKE); $(unstage)
20969 @r=`${PWD_COMMAND}`; export r; \
20970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20971 $(HOST_EXPORTS) \
20972 (cd $(HOST_SUBDIR)/readline && \
20973 $(MAKE) $(FLAGS_TO_PASS) check)
20975 @endif readline
20977 .PHONY: install-readline maybe-install-readline
20978 maybe-install-readline:
20979 @if readline
20980 maybe-install-readline: install-readline
20982 install-readline: installdirs
20983 @: $(MAKE); $(unstage)
20984 @r=`${PWD_COMMAND}`; export r; \
20985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20986 $(HOST_EXPORTS) \
20987 (cd $(HOST_SUBDIR)/readline && \
20988 $(MAKE) $(FLAGS_TO_PASS) install)
20990 @endif readline
20992 # Other targets (info, dvi, etc.)
20994 .PHONY: maybe-info-readline info-readline
20995 maybe-info-readline:
20996 @if readline
20997 maybe-info-readline: info-readline
20999 info-readline: \
21000 configure-readline
21001 @: $(MAKE); $(unstage)
21002 @[ -f ./readline/Makefile ] || exit 0; \
21003 r=`${PWD_COMMAND}`; export r; \
21004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21005 $(HOST_EXPORTS) \
21006 for flag in $(EXTRA_HOST_FLAGS) ; do \
21007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21008 done; \
21009 echo "Doing info in readline" ; \
21010 (cd $(HOST_SUBDIR)/readline && \
21011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21013 "RANLIB=$${RANLIB}" \
21014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21015 info) \
21016 || exit 1
21018 @endif readline
21020 .PHONY: maybe-dvi-readline dvi-readline
21021 maybe-dvi-readline:
21022 @if readline
21023 maybe-dvi-readline: dvi-readline
21025 dvi-readline: \
21026 configure-readline
21027 @: $(MAKE); $(unstage)
21028 @[ -f ./readline/Makefile ] || exit 0; \
21029 r=`${PWD_COMMAND}`; export r; \
21030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21031 $(HOST_EXPORTS) \
21032 for flag in $(EXTRA_HOST_FLAGS) ; do \
21033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21034 done; \
21035 echo "Doing dvi in readline" ; \
21036 (cd $(HOST_SUBDIR)/readline && \
21037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21039 "RANLIB=$${RANLIB}" \
21040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21041 dvi) \
21042 || exit 1
21044 @endif readline
21046 .PHONY: maybe-html-readline html-readline
21047 maybe-html-readline:
21048 @if readline
21049 maybe-html-readline: html-readline
21051 html-readline: \
21052 configure-readline
21053 @: $(MAKE); $(unstage)
21054 @[ -f ./readline/Makefile ] || exit 0; \
21055 r=`${PWD_COMMAND}`; export r; \
21056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 $(HOST_EXPORTS) \
21058 for flag in $(EXTRA_HOST_FLAGS) ; do \
21059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21060 done; \
21061 echo "Doing html in readline" ; \
21062 (cd $(HOST_SUBDIR)/readline && \
21063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21065 "RANLIB=$${RANLIB}" \
21066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21067 html) \
21068 || exit 1
21070 @endif readline
21072 .PHONY: maybe-TAGS-readline TAGS-readline
21073 maybe-TAGS-readline:
21074 @if readline
21075 maybe-TAGS-readline: TAGS-readline
21077 TAGS-readline: \
21078 configure-readline
21079 @: $(MAKE); $(unstage)
21080 @[ -f ./readline/Makefile ] || exit 0; \
21081 r=`${PWD_COMMAND}`; export r; \
21082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21083 $(HOST_EXPORTS) \
21084 for flag in $(EXTRA_HOST_FLAGS) ; do \
21085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21086 done; \
21087 echo "Doing TAGS in readline" ; \
21088 (cd $(HOST_SUBDIR)/readline && \
21089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21091 "RANLIB=$${RANLIB}" \
21092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 TAGS) \
21094 || exit 1
21096 @endif readline
21098 .PHONY: maybe-install-info-readline install-info-readline
21099 maybe-install-info-readline:
21100 @if readline
21101 maybe-install-info-readline: install-info-readline
21103 install-info-readline: \
21104 configure-readline \
21105 info-readline
21106 @: $(MAKE); $(unstage)
21107 @[ -f ./readline/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 $(HOST_EXPORTS) \
21111 for flag in $(EXTRA_HOST_FLAGS) ; do \
21112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21113 done; \
21114 echo "Doing install-info in readline" ; \
21115 (cd $(HOST_SUBDIR)/readline && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21118 "RANLIB=$${RANLIB}" \
21119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21120 install-info) \
21121 || exit 1
21123 @endif readline
21125 .PHONY: maybe-installcheck-readline installcheck-readline
21126 maybe-installcheck-readline:
21127 @if readline
21128 maybe-installcheck-readline: installcheck-readline
21130 installcheck-readline: \
21131 configure-readline
21132 @: $(MAKE); $(unstage)
21133 @[ -f ./readline/Makefile ] || exit 0; \
21134 r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 $(HOST_EXPORTS) \
21137 for flag in $(EXTRA_HOST_FLAGS) ; do \
21138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21139 done; \
21140 echo "Doing installcheck in readline" ; \
21141 (cd $(HOST_SUBDIR)/readline && \
21142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21144 "RANLIB=$${RANLIB}" \
21145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21146 installcheck) \
21147 || exit 1
21149 @endif readline
21151 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21152 maybe-mostlyclean-readline:
21153 @if readline
21154 maybe-mostlyclean-readline: mostlyclean-readline
21156 mostlyclean-readline:
21157 @: $(MAKE); $(unstage)
21158 @[ -f ./readline/Makefile ] || exit 0; \
21159 r=`${PWD_COMMAND}`; export r; \
21160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21161 $(HOST_EXPORTS) \
21162 for flag in $(EXTRA_HOST_FLAGS) ; do \
21163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21164 done; \
21165 echo "Doing mostlyclean in readline" ; \
21166 (cd $(HOST_SUBDIR)/readline && \
21167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21169 "RANLIB=$${RANLIB}" \
21170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21171 mostlyclean) \
21172 || exit 1
21174 @endif readline
21176 .PHONY: maybe-clean-readline clean-readline
21177 maybe-clean-readline:
21178 @if readline
21179 maybe-clean-readline: clean-readline
21181 clean-readline:
21182 @: $(MAKE); $(unstage)
21183 @[ -f ./readline/Makefile ] || exit 0; \
21184 r=`${PWD_COMMAND}`; export r; \
21185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21186 $(HOST_EXPORTS) \
21187 for flag in $(EXTRA_HOST_FLAGS) ; do \
21188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21189 done; \
21190 echo "Doing clean in readline" ; \
21191 (cd $(HOST_SUBDIR)/readline && \
21192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21194 "RANLIB=$${RANLIB}" \
21195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21196 clean) \
21197 || exit 1
21199 @endif readline
21201 .PHONY: maybe-distclean-readline distclean-readline
21202 maybe-distclean-readline:
21203 @if readline
21204 maybe-distclean-readline: distclean-readline
21206 distclean-readline:
21207 @: $(MAKE); $(unstage)
21208 @[ -f ./readline/Makefile ] || exit 0; \
21209 r=`${PWD_COMMAND}`; export r; \
21210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21211 $(HOST_EXPORTS) \
21212 for flag in $(EXTRA_HOST_FLAGS) ; do \
21213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21214 done; \
21215 echo "Doing distclean in readline" ; \
21216 (cd $(HOST_SUBDIR)/readline && \
21217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21219 "RANLIB=$${RANLIB}" \
21220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21221 distclean) \
21222 || exit 1
21224 @endif readline
21226 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21227 maybe-maintainer-clean-readline:
21228 @if readline
21229 maybe-maintainer-clean-readline: maintainer-clean-readline
21231 maintainer-clean-readline:
21232 @: $(MAKE); $(unstage)
21233 @[ -f ./readline/Makefile ] || exit 0; \
21234 r=`${PWD_COMMAND}`; export r; \
21235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21236 $(HOST_EXPORTS) \
21237 for flag in $(EXTRA_HOST_FLAGS) ; do \
21238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21239 done; \
21240 echo "Doing maintainer-clean in readline" ; \
21241 (cd $(HOST_SUBDIR)/readline && \
21242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21244 "RANLIB=$${RANLIB}" \
21245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21246 maintainer-clean) \
21247 || exit 1
21249 @endif readline
21253 .PHONY: configure-release maybe-configure-release
21254 maybe-configure-release:
21255 @if release
21256 maybe-configure-release: configure-release
21257 configure-release:
21258 @: $(MAKE); $(unstage)
21259 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21261 r=`${PWD_COMMAND}`; export r; \
21262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21263 $(HOST_EXPORTS) \
21264 echo Configuring in $(HOST_SUBDIR)/release; \
21265 cd "$(HOST_SUBDIR)/release" || exit 1; \
21266 case $(srcdir) in \
21267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21268 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21270 esac; \
21271 srcdiroption="--srcdir=$${topdir}/release"; \
21272 libsrcdir="$$s/release"; \
21273 $(SHELL) $${libsrcdir}/configure \
21274 $(HOST_CONFIGARGS) $${srcdiroption} \
21275 || exit 1
21276 @endif release
21282 .PHONY: all-release maybe-all-release
21283 maybe-all-release:
21284 @if release
21285 TARGET-release=all
21286 maybe-all-release: all-release
21287 all-release: configure-release
21288 @: $(MAKE); $(unstage)
21289 @r=`${PWD_COMMAND}`; export r; \
21290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 $(HOST_EXPORTS) \
21292 (cd $(HOST_SUBDIR)/release && \
21293 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21294 @endif release
21299 .PHONY: check-release maybe-check-release
21300 maybe-check-release:
21301 @if release
21302 maybe-check-release: check-release
21304 check-release:
21306 @endif release
21308 .PHONY: install-release maybe-install-release
21309 maybe-install-release:
21310 @if release
21311 maybe-install-release: install-release
21313 install-release:
21315 @endif release
21317 # Other targets (info, dvi, etc.)
21319 .PHONY: maybe-info-release info-release
21320 maybe-info-release:
21321 @if release
21322 maybe-info-release: info-release
21324 info-release: \
21325 configure-release
21326 @: $(MAKE); $(unstage)
21327 @[ -f ./release/Makefile ] || exit 0; \
21328 r=`${PWD_COMMAND}`; export r; \
21329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21330 $(HOST_EXPORTS) \
21331 for flag in $(EXTRA_HOST_FLAGS) ; do \
21332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21333 done; \
21334 echo "Doing info in release" ; \
21335 (cd $(HOST_SUBDIR)/release && \
21336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21338 "RANLIB=$${RANLIB}" \
21339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21340 info) \
21341 || exit 1
21343 @endif release
21345 .PHONY: maybe-dvi-release dvi-release
21346 maybe-dvi-release:
21347 @if release
21348 maybe-dvi-release: dvi-release
21350 dvi-release: \
21351 configure-release
21352 @: $(MAKE); $(unstage)
21353 @[ -f ./release/Makefile ] || exit 0; \
21354 r=`${PWD_COMMAND}`; export r; \
21355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21356 $(HOST_EXPORTS) \
21357 for flag in $(EXTRA_HOST_FLAGS) ; do \
21358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21359 done; \
21360 echo "Doing dvi in release" ; \
21361 (cd $(HOST_SUBDIR)/release && \
21362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21364 "RANLIB=$${RANLIB}" \
21365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21366 dvi) \
21367 || exit 1
21369 @endif release
21371 .PHONY: maybe-html-release html-release
21372 maybe-html-release:
21373 @if release
21374 maybe-html-release: html-release
21376 html-release: \
21377 configure-release
21378 @: $(MAKE); $(unstage)
21379 @[ -f ./release/Makefile ] || exit 0; \
21380 r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 $(HOST_EXPORTS) \
21383 for flag in $(EXTRA_HOST_FLAGS) ; do \
21384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21385 done; \
21386 echo "Doing html in release" ; \
21387 (cd $(HOST_SUBDIR)/release && \
21388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21390 "RANLIB=$${RANLIB}" \
21391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21392 html) \
21393 || exit 1
21395 @endif release
21397 .PHONY: maybe-TAGS-release TAGS-release
21398 maybe-TAGS-release:
21399 @if release
21400 maybe-TAGS-release: TAGS-release
21402 TAGS-release: \
21403 configure-release
21404 @: $(MAKE); $(unstage)
21405 @[ -f ./release/Makefile ] || exit 0; \
21406 r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 $(HOST_EXPORTS) \
21409 for flag in $(EXTRA_HOST_FLAGS) ; do \
21410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21411 done; \
21412 echo "Doing TAGS in release" ; \
21413 (cd $(HOST_SUBDIR)/release && \
21414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21416 "RANLIB=$${RANLIB}" \
21417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21418 TAGS) \
21419 || exit 1
21421 @endif release
21423 .PHONY: maybe-install-info-release install-info-release
21424 maybe-install-info-release:
21425 @if release
21426 maybe-install-info-release: install-info-release
21428 install-info-release: \
21429 configure-release \
21430 info-release
21431 @: $(MAKE); $(unstage)
21432 @[ -f ./release/Makefile ] || exit 0; \
21433 r=`${PWD_COMMAND}`; export r; \
21434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21435 $(HOST_EXPORTS) \
21436 for flag in $(EXTRA_HOST_FLAGS) ; do \
21437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21438 done; \
21439 echo "Doing install-info in release" ; \
21440 (cd $(HOST_SUBDIR)/release && \
21441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21443 "RANLIB=$${RANLIB}" \
21444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21445 install-info) \
21446 || exit 1
21448 @endif release
21450 .PHONY: maybe-installcheck-release installcheck-release
21451 maybe-installcheck-release:
21452 @if release
21453 maybe-installcheck-release: installcheck-release
21455 installcheck-release: \
21456 configure-release
21457 @: $(MAKE); $(unstage)
21458 @[ -f ./release/Makefile ] || exit 0; \
21459 r=`${PWD_COMMAND}`; export r; \
21460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21461 $(HOST_EXPORTS) \
21462 for flag in $(EXTRA_HOST_FLAGS) ; do \
21463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21464 done; \
21465 echo "Doing installcheck in release" ; \
21466 (cd $(HOST_SUBDIR)/release && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469 "RANLIB=$${RANLIB}" \
21470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21471 installcheck) \
21472 || exit 1
21474 @endif release
21476 .PHONY: maybe-mostlyclean-release mostlyclean-release
21477 maybe-mostlyclean-release:
21478 @if release
21479 maybe-mostlyclean-release: mostlyclean-release
21481 mostlyclean-release:
21482 @: $(MAKE); $(unstage)
21483 @[ -f ./release/Makefile ] || exit 0; \
21484 r=`${PWD_COMMAND}`; export r; \
21485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21486 $(HOST_EXPORTS) \
21487 for flag in $(EXTRA_HOST_FLAGS) ; do \
21488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21489 done; \
21490 echo "Doing mostlyclean in release" ; \
21491 (cd $(HOST_SUBDIR)/release && \
21492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21494 "RANLIB=$${RANLIB}" \
21495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21496 mostlyclean) \
21497 || exit 1
21499 @endif release
21501 .PHONY: maybe-clean-release clean-release
21502 maybe-clean-release:
21503 @if release
21504 maybe-clean-release: clean-release
21506 clean-release:
21507 @: $(MAKE); $(unstage)
21508 @[ -f ./release/Makefile ] || exit 0; \
21509 r=`${PWD_COMMAND}`; export r; \
21510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21511 $(HOST_EXPORTS) \
21512 for flag in $(EXTRA_HOST_FLAGS) ; do \
21513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21514 done; \
21515 echo "Doing clean in release" ; \
21516 (cd $(HOST_SUBDIR)/release && \
21517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21519 "RANLIB=$${RANLIB}" \
21520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21521 clean) \
21522 || exit 1
21524 @endif release
21526 .PHONY: maybe-distclean-release distclean-release
21527 maybe-distclean-release:
21528 @if release
21529 maybe-distclean-release: distclean-release
21531 distclean-release:
21532 @: $(MAKE); $(unstage)
21533 @[ -f ./release/Makefile ] || exit 0; \
21534 r=`${PWD_COMMAND}`; export r; \
21535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21536 $(HOST_EXPORTS) \
21537 for flag in $(EXTRA_HOST_FLAGS) ; do \
21538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21539 done; \
21540 echo "Doing distclean in release" ; \
21541 (cd $(HOST_SUBDIR)/release && \
21542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21544 "RANLIB=$${RANLIB}" \
21545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21546 distclean) \
21547 || exit 1
21549 @endif release
21551 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21552 maybe-maintainer-clean-release:
21553 @if release
21554 maybe-maintainer-clean-release: maintainer-clean-release
21556 maintainer-clean-release:
21557 @: $(MAKE); $(unstage)
21558 @[ -f ./release/Makefile ] || exit 0; \
21559 r=`${PWD_COMMAND}`; export r; \
21560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21561 $(HOST_EXPORTS) \
21562 for flag in $(EXTRA_HOST_FLAGS) ; do \
21563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21564 done; \
21565 echo "Doing maintainer-clean in release" ; \
21566 (cd $(HOST_SUBDIR)/release && \
21567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21569 "RANLIB=$${RANLIB}" \
21570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21571 maintainer-clean) \
21572 || exit 1
21574 @endif release
21578 .PHONY: configure-recode maybe-configure-recode
21579 maybe-configure-recode:
21580 @if recode
21581 maybe-configure-recode: configure-recode
21582 configure-recode:
21583 @: $(MAKE); $(unstage)
21584 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21586 r=`${PWD_COMMAND}`; export r; \
21587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21588 $(HOST_EXPORTS) \
21589 echo Configuring in $(HOST_SUBDIR)/recode; \
21590 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21591 case $(srcdir) in \
21592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21593 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21595 esac; \
21596 srcdiroption="--srcdir=$${topdir}/recode"; \
21597 libsrcdir="$$s/recode"; \
21598 $(SHELL) $${libsrcdir}/configure \
21599 $(HOST_CONFIGARGS) $${srcdiroption} \
21600 || exit 1
21601 @endif recode
21607 .PHONY: all-recode maybe-all-recode
21608 maybe-all-recode:
21609 @if recode
21610 TARGET-recode=all
21611 maybe-all-recode: all-recode
21612 all-recode: configure-recode
21613 @: $(MAKE); $(unstage)
21614 @r=`${PWD_COMMAND}`; export r; \
21615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21616 $(HOST_EXPORTS) \
21617 (cd $(HOST_SUBDIR)/recode && \
21618 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21619 @endif recode
21624 .PHONY: check-recode maybe-check-recode
21625 maybe-check-recode:
21626 @if recode
21627 maybe-check-recode: check-recode
21629 check-recode:
21630 @: $(MAKE); $(unstage)
21631 @r=`${PWD_COMMAND}`; export r; \
21632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21633 $(HOST_EXPORTS) \
21634 (cd $(HOST_SUBDIR)/recode && \
21635 $(MAKE) $(FLAGS_TO_PASS) check)
21637 @endif recode
21639 .PHONY: install-recode maybe-install-recode
21640 maybe-install-recode:
21641 @if recode
21642 maybe-install-recode: install-recode
21644 install-recode: installdirs
21645 @: $(MAKE); $(unstage)
21646 @r=`${PWD_COMMAND}`; export r; \
21647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21648 $(HOST_EXPORTS) \
21649 (cd $(HOST_SUBDIR)/recode && \
21650 $(MAKE) $(FLAGS_TO_PASS) install)
21652 @endif recode
21654 # Other targets (info, dvi, etc.)
21656 .PHONY: maybe-info-recode info-recode
21657 maybe-info-recode:
21658 @if recode
21659 maybe-info-recode: info-recode
21661 info-recode: \
21662 configure-recode
21663 @: $(MAKE); $(unstage)
21664 @[ -f ./recode/Makefile ] || exit 0; \
21665 r=`${PWD_COMMAND}`; export r; \
21666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21667 $(HOST_EXPORTS) \
21668 for flag in $(EXTRA_HOST_FLAGS) ; do \
21669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21670 done; \
21671 echo "Doing info in recode" ; \
21672 (cd $(HOST_SUBDIR)/recode && \
21673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21675 "RANLIB=$${RANLIB}" \
21676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21677 info) \
21678 || exit 1
21680 @endif recode
21682 .PHONY: maybe-dvi-recode dvi-recode
21683 maybe-dvi-recode:
21684 @if recode
21685 maybe-dvi-recode: dvi-recode
21687 dvi-recode: \
21688 configure-recode
21689 @: $(MAKE); $(unstage)
21690 @[ -f ./recode/Makefile ] || exit 0; \
21691 r=`${PWD_COMMAND}`; export r; \
21692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21693 $(HOST_EXPORTS) \
21694 for flag in $(EXTRA_HOST_FLAGS) ; do \
21695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21696 done; \
21697 echo "Doing dvi in recode" ; \
21698 (cd $(HOST_SUBDIR)/recode && \
21699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21701 "RANLIB=$${RANLIB}" \
21702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21703 dvi) \
21704 || exit 1
21706 @endif recode
21708 .PHONY: maybe-html-recode html-recode
21709 maybe-html-recode:
21710 @if recode
21711 maybe-html-recode: html-recode
21713 html-recode: \
21714 configure-recode
21715 @: $(MAKE); $(unstage)
21716 @[ -f ./recode/Makefile ] || exit 0; \
21717 r=`${PWD_COMMAND}`; export r; \
21718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21719 $(HOST_EXPORTS) \
21720 for flag in $(EXTRA_HOST_FLAGS) ; do \
21721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21722 done; \
21723 echo "Doing html in recode" ; \
21724 (cd $(HOST_SUBDIR)/recode && \
21725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21727 "RANLIB=$${RANLIB}" \
21728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21729 html) \
21730 || exit 1
21732 @endif recode
21734 .PHONY: maybe-TAGS-recode TAGS-recode
21735 maybe-TAGS-recode:
21736 @if recode
21737 maybe-TAGS-recode: TAGS-recode
21739 TAGS-recode: \
21740 configure-recode
21741 @: $(MAKE); $(unstage)
21742 @[ -f ./recode/Makefile ] || exit 0; \
21743 r=`${PWD_COMMAND}`; export r; \
21744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21745 $(HOST_EXPORTS) \
21746 for flag in $(EXTRA_HOST_FLAGS) ; do \
21747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21748 done; \
21749 echo "Doing TAGS in recode" ; \
21750 (cd $(HOST_SUBDIR)/recode && \
21751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21753 "RANLIB=$${RANLIB}" \
21754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21755 TAGS) \
21756 || exit 1
21758 @endif recode
21760 .PHONY: maybe-install-info-recode install-info-recode
21761 maybe-install-info-recode:
21762 @if recode
21763 maybe-install-info-recode: install-info-recode
21765 install-info-recode: \
21766 configure-recode \
21767 info-recode
21768 @: $(MAKE); $(unstage)
21769 @[ -f ./recode/Makefile ] || exit 0; \
21770 r=`${PWD_COMMAND}`; export r; \
21771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21772 $(HOST_EXPORTS) \
21773 for flag in $(EXTRA_HOST_FLAGS) ; do \
21774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21775 done; \
21776 echo "Doing install-info in recode" ; \
21777 (cd $(HOST_SUBDIR)/recode && \
21778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21780 "RANLIB=$${RANLIB}" \
21781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21782 install-info) \
21783 || exit 1
21785 @endif recode
21787 .PHONY: maybe-installcheck-recode installcheck-recode
21788 maybe-installcheck-recode:
21789 @if recode
21790 maybe-installcheck-recode: installcheck-recode
21792 installcheck-recode: \
21793 configure-recode
21794 @: $(MAKE); $(unstage)
21795 @[ -f ./recode/Makefile ] || exit 0; \
21796 r=`${PWD_COMMAND}`; export r; \
21797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21798 $(HOST_EXPORTS) \
21799 for flag in $(EXTRA_HOST_FLAGS) ; do \
21800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21801 done; \
21802 echo "Doing installcheck in recode" ; \
21803 (cd $(HOST_SUBDIR)/recode && \
21804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21806 "RANLIB=$${RANLIB}" \
21807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21808 installcheck) \
21809 || exit 1
21811 @endif recode
21813 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21814 maybe-mostlyclean-recode:
21815 @if recode
21816 maybe-mostlyclean-recode: mostlyclean-recode
21818 mostlyclean-recode:
21819 @: $(MAKE); $(unstage)
21820 @[ -f ./recode/Makefile ] || exit 0; \
21821 r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 $(HOST_EXPORTS) \
21824 for flag in $(EXTRA_HOST_FLAGS) ; do \
21825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21826 done; \
21827 echo "Doing mostlyclean in recode" ; \
21828 (cd $(HOST_SUBDIR)/recode && \
21829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21831 "RANLIB=$${RANLIB}" \
21832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21833 mostlyclean) \
21834 || exit 1
21836 @endif recode
21838 .PHONY: maybe-clean-recode clean-recode
21839 maybe-clean-recode:
21840 @if recode
21841 maybe-clean-recode: clean-recode
21843 clean-recode:
21844 @: $(MAKE); $(unstage)
21845 @[ -f ./recode/Makefile ] || exit 0; \
21846 r=`${PWD_COMMAND}`; export r; \
21847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21848 $(HOST_EXPORTS) \
21849 for flag in $(EXTRA_HOST_FLAGS) ; do \
21850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21851 done; \
21852 echo "Doing clean in recode" ; \
21853 (cd $(HOST_SUBDIR)/recode && \
21854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21856 "RANLIB=$${RANLIB}" \
21857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21858 clean) \
21859 || exit 1
21861 @endif recode
21863 .PHONY: maybe-distclean-recode distclean-recode
21864 maybe-distclean-recode:
21865 @if recode
21866 maybe-distclean-recode: distclean-recode
21868 distclean-recode:
21869 @: $(MAKE); $(unstage)
21870 @[ -f ./recode/Makefile ] || exit 0; \
21871 r=`${PWD_COMMAND}`; export r; \
21872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21873 $(HOST_EXPORTS) \
21874 for flag in $(EXTRA_HOST_FLAGS) ; do \
21875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21876 done; \
21877 echo "Doing distclean in recode" ; \
21878 (cd $(HOST_SUBDIR)/recode && \
21879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21881 "RANLIB=$${RANLIB}" \
21882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21883 distclean) \
21884 || exit 1
21886 @endif recode
21888 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21889 maybe-maintainer-clean-recode:
21890 @if recode
21891 maybe-maintainer-clean-recode: maintainer-clean-recode
21893 maintainer-clean-recode:
21894 @: $(MAKE); $(unstage)
21895 @[ -f ./recode/Makefile ] || exit 0; \
21896 r=`${PWD_COMMAND}`; export r; \
21897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21898 $(HOST_EXPORTS) \
21899 for flag in $(EXTRA_HOST_FLAGS) ; do \
21900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21901 done; \
21902 echo "Doing maintainer-clean in recode" ; \
21903 (cd $(HOST_SUBDIR)/recode && \
21904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21906 "RANLIB=$${RANLIB}" \
21907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21908 maintainer-clean) \
21909 || exit 1
21911 @endif recode
21915 .PHONY: configure-sed maybe-configure-sed
21916 maybe-configure-sed:
21917 @if sed
21918 maybe-configure-sed: configure-sed
21919 configure-sed:
21920 @: $(MAKE); $(unstage)
21921 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21923 r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 $(HOST_EXPORTS) \
21926 echo Configuring in $(HOST_SUBDIR)/sed; \
21927 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21928 case $(srcdir) in \
21929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21930 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21932 esac; \
21933 srcdiroption="--srcdir=$${topdir}/sed"; \
21934 libsrcdir="$$s/sed"; \
21935 $(SHELL) $${libsrcdir}/configure \
21936 $(HOST_CONFIGARGS) $${srcdiroption} \
21937 || exit 1
21938 @endif sed
21944 .PHONY: all-sed maybe-all-sed
21945 maybe-all-sed:
21946 @if sed
21947 TARGET-sed=all
21948 maybe-all-sed: all-sed
21949 all-sed: configure-sed
21950 @: $(MAKE); $(unstage)
21951 @r=`${PWD_COMMAND}`; export r; \
21952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21953 $(HOST_EXPORTS) \
21954 (cd $(HOST_SUBDIR)/sed && \
21955 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21956 @endif sed
21961 .PHONY: check-sed maybe-check-sed
21962 maybe-check-sed:
21963 @if sed
21964 maybe-check-sed: check-sed
21966 check-sed:
21967 @: $(MAKE); $(unstage)
21968 @r=`${PWD_COMMAND}`; export r; \
21969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 $(HOST_EXPORTS) \
21971 (cd $(HOST_SUBDIR)/sed && \
21972 $(MAKE) $(FLAGS_TO_PASS) check)
21974 @endif sed
21976 .PHONY: install-sed maybe-install-sed
21977 maybe-install-sed:
21978 @if sed
21979 maybe-install-sed: install-sed
21981 install-sed: installdirs
21982 @: $(MAKE); $(unstage)
21983 @r=`${PWD_COMMAND}`; export r; \
21984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21985 $(HOST_EXPORTS) \
21986 (cd $(HOST_SUBDIR)/sed && \
21987 $(MAKE) $(FLAGS_TO_PASS) install)
21989 @endif sed
21991 # Other targets (info, dvi, etc.)
21993 .PHONY: maybe-info-sed info-sed
21994 maybe-info-sed:
21995 @if sed
21996 maybe-info-sed: info-sed
21998 info-sed: \
21999 configure-sed
22000 @: $(MAKE); $(unstage)
22001 @[ -f ./sed/Makefile ] || exit 0; \
22002 r=`${PWD_COMMAND}`; export r; \
22003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22004 $(HOST_EXPORTS) \
22005 for flag in $(EXTRA_HOST_FLAGS) ; do \
22006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22007 done; \
22008 echo "Doing info in sed" ; \
22009 (cd $(HOST_SUBDIR)/sed && \
22010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22012 "RANLIB=$${RANLIB}" \
22013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22014 info) \
22015 || exit 1
22017 @endif sed
22019 .PHONY: maybe-dvi-sed dvi-sed
22020 maybe-dvi-sed:
22021 @if sed
22022 maybe-dvi-sed: dvi-sed
22024 dvi-sed: \
22025 configure-sed
22026 @: $(MAKE); $(unstage)
22027 @[ -f ./sed/Makefile ] || exit 0; \
22028 r=`${PWD_COMMAND}`; export r; \
22029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22030 $(HOST_EXPORTS) \
22031 for flag in $(EXTRA_HOST_FLAGS) ; do \
22032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22033 done; \
22034 echo "Doing dvi in sed" ; \
22035 (cd $(HOST_SUBDIR)/sed && \
22036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22038 "RANLIB=$${RANLIB}" \
22039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22040 dvi) \
22041 || exit 1
22043 @endif sed
22045 .PHONY: maybe-html-sed html-sed
22046 maybe-html-sed:
22047 @if sed
22048 maybe-html-sed: html-sed
22050 html-sed: \
22051 configure-sed
22052 @: $(MAKE); $(unstage)
22053 @[ -f ./sed/Makefile ] || exit 0; \
22054 r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(HOST_EXPORTS) \
22057 for flag in $(EXTRA_HOST_FLAGS) ; do \
22058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22059 done; \
22060 echo "Doing html in sed" ; \
22061 (cd $(HOST_SUBDIR)/sed && \
22062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22064 "RANLIB=$${RANLIB}" \
22065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22066 html) \
22067 || exit 1
22069 @endif sed
22071 .PHONY: maybe-TAGS-sed TAGS-sed
22072 maybe-TAGS-sed:
22073 @if sed
22074 maybe-TAGS-sed: TAGS-sed
22076 TAGS-sed: \
22077 configure-sed
22078 @: $(MAKE); $(unstage)
22079 @[ -f ./sed/Makefile ] || exit 0; \
22080 r=`${PWD_COMMAND}`; export r; \
22081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22082 $(HOST_EXPORTS) \
22083 for flag in $(EXTRA_HOST_FLAGS) ; do \
22084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22085 done; \
22086 echo "Doing TAGS in sed" ; \
22087 (cd $(HOST_SUBDIR)/sed && \
22088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22090 "RANLIB=$${RANLIB}" \
22091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22092 TAGS) \
22093 || exit 1
22095 @endif sed
22097 .PHONY: maybe-install-info-sed install-info-sed
22098 maybe-install-info-sed:
22099 @if sed
22100 maybe-install-info-sed: install-info-sed
22102 install-info-sed: \
22103 configure-sed \
22104 info-sed
22105 @: $(MAKE); $(unstage)
22106 @[ -f ./sed/Makefile ] || exit 0; \
22107 r=`${PWD_COMMAND}`; export r; \
22108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22109 $(HOST_EXPORTS) \
22110 for flag in $(EXTRA_HOST_FLAGS) ; do \
22111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22112 done; \
22113 echo "Doing install-info in sed" ; \
22114 (cd $(HOST_SUBDIR)/sed && \
22115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22117 "RANLIB=$${RANLIB}" \
22118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22119 install-info) \
22120 || exit 1
22122 @endif sed
22124 .PHONY: maybe-installcheck-sed installcheck-sed
22125 maybe-installcheck-sed:
22126 @if sed
22127 maybe-installcheck-sed: installcheck-sed
22129 installcheck-sed: \
22130 configure-sed
22131 @: $(MAKE); $(unstage)
22132 @[ -f ./sed/Makefile ] || exit 0; \
22133 r=`${PWD_COMMAND}`; export r; \
22134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 $(HOST_EXPORTS) \
22136 for flag in $(EXTRA_HOST_FLAGS) ; do \
22137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22138 done; \
22139 echo "Doing installcheck in sed" ; \
22140 (cd $(HOST_SUBDIR)/sed && \
22141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22143 "RANLIB=$${RANLIB}" \
22144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22145 installcheck) \
22146 || exit 1
22148 @endif sed
22150 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22151 maybe-mostlyclean-sed:
22152 @if sed
22153 maybe-mostlyclean-sed: mostlyclean-sed
22155 mostlyclean-sed:
22156 @: $(MAKE); $(unstage)
22157 @[ -f ./sed/Makefile ] || exit 0; \
22158 r=`${PWD_COMMAND}`; export r; \
22159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160 $(HOST_EXPORTS) \
22161 for flag in $(EXTRA_HOST_FLAGS) ; do \
22162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22163 done; \
22164 echo "Doing mostlyclean in sed" ; \
22165 (cd $(HOST_SUBDIR)/sed && \
22166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22168 "RANLIB=$${RANLIB}" \
22169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22170 mostlyclean) \
22171 || exit 1
22173 @endif sed
22175 .PHONY: maybe-clean-sed clean-sed
22176 maybe-clean-sed:
22177 @if sed
22178 maybe-clean-sed: clean-sed
22180 clean-sed:
22181 @: $(MAKE); $(unstage)
22182 @[ -f ./sed/Makefile ] || exit 0; \
22183 r=`${PWD_COMMAND}`; export r; \
22184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22185 $(HOST_EXPORTS) \
22186 for flag in $(EXTRA_HOST_FLAGS) ; do \
22187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22188 done; \
22189 echo "Doing clean in sed" ; \
22190 (cd $(HOST_SUBDIR)/sed && \
22191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22193 "RANLIB=$${RANLIB}" \
22194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22195 clean) \
22196 || exit 1
22198 @endif sed
22200 .PHONY: maybe-distclean-sed distclean-sed
22201 maybe-distclean-sed:
22202 @if sed
22203 maybe-distclean-sed: distclean-sed
22205 distclean-sed:
22206 @: $(MAKE); $(unstage)
22207 @[ -f ./sed/Makefile ] || exit 0; \
22208 r=`${PWD_COMMAND}`; export r; \
22209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22210 $(HOST_EXPORTS) \
22211 for flag in $(EXTRA_HOST_FLAGS) ; do \
22212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22213 done; \
22214 echo "Doing distclean in sed" ; \
22215 (cd $(HOST_SUBDIR)/sed && \
22216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22218 "RANLIB=$${RANLIB}" \
22219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22220 distclean) \
22221 || exit 1
22223 @endif sed
22225 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22226 maybe-maintainer-clean-sed:
22227 @if sed
22228 maybe-maintainer-clean-sed: maintainer-clean-sed
22230 maintainer-clean-sed:
22231 @: $(MAKE); $(unstage)
22232 @[ -f ./sed/Makefile ] || exit 0; \
22233 r=`${PWD_COMMAND}`; export r; \
22234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 $(HOST_EXPORTS) \
22236 for flag in $(EXTRA_HOST_FLAGS) ; do \
22237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22238 done; \
22239 echo "Doing maintainer-clean in sed" ; \
22240 (cd $(HOST_SUBDIR)/sed && \
22241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22243 "RANLIB=$${RANLIB}" \
22244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22245 maintainer-clean) \
22246 || exit 1
22248 @endif sed
22252 .PHONY: configure-send-pr maybe-configure-send-pr
22253 maybe-configure-send-pr:
22254 @if send-pr
22255 maybe-configure-send-pr: configure-send-pr
22256 configure-send-pr:
22257 @: $(MAKE); $(unstage)
22258 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22260 r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22262 $(HOST_EXPORTS) \
22263 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22264 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22265 case $(srcdir) in \
22266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22267 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22269 esac; \
22270 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22271 libsrcdir="$$s/send-pr"; \
22272 $(SHELL) $${libsrcdir}/configure \
22273 $(HOST_CONFIGARGS) $${srcdiroption} \
22274 || exit 1
22275 @endif send-pr
22281 .PHONY: all-send-pr maybe-all-send-pr
22282 maybe-all-send-pr:
22283 @if send-pr
22284 TARGET-send-pr=all
22285 maybe-all-send-pr: all-send-pr
22286 all-send-pr: configure-send-pr
22287 @: $(MAKE); $(unstage)
22288 @r=`${PWD_COMMAND}`; export r; \
22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 $(HOST_EXPORTS) \
22291 (cd $(HOST_SUBDIR)/send-pr && \
22292 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22293 @endif send-pr
22298 .PHONY: check-send-pr maybe-check-send-pr
22299 maybe-check-send-pr:
22300 @if send-pr
22301 maybe-check-send-pr: check-send-pr
22303 check-send-pr:
22304 @: $(MAKE); $(unstage)
22305 @r=`${PWD_COMMAND}`; export r; \
22306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22307 $(HOST_EXPORTS) \
22308 (cd $(HOST_SUBDIR)/send-pr && \
22309 $(MAKE) $(FLAGS_TO_PASS) check)
22311 @endif send-pr
22313 .PHONY: install-send-pr maybe-install-send-pr
22314 maybe-install-send-pr:
22315 @if send-pr
22316 maybe-install-send-pr: install-send-pr
22318 install-send-pr: installdirs
22319 @: $(MAKE); $(unstage)
22320 @r=`${PWD_COMMAND}`; export r; \
22321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22322 $(HOST_EXPORTS) \
22323 (cd $(HOST_SUBDIR)/send-pr && \
22324 $(MAKE) $(FLAGS_TO_PASS) install)
22326 @endif send-pr
22328 # Other targets (info, dvi, etc.)
22330 .PHONY: maybe-info-send-pr info-send-pr
22331 maybe-info-send-pr:
22332 @if send-pr
22333 maybe-info-send-pr: info-send-pr
22335 info-send-pr: \
22336 configure-send-pr
22337 @: $(MAKE); $(unstage)
22338 @[ -f ./send-pr/Makefile ] || exit 0; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 $(HOST_EXPORTS) \
22342 for flag in $(EXTRA_HOST_FLAGS) ; do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344 done; \
22345 echo "Doing info in send-pr" ; \
22346 (cd $(HOST_SUBDIR)/send-pr && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22351 info) \
22352 || exit 1
22354 @endif send-pr
22356 .PHONY: maybe-dvi-send-pr dvi-send-pr
22357 maybe-dvi-send-pr:
22358 @if send-pr
22359 maybe-dvi-send-pr: dvi-send-pr
22361 dvi-send-pr: \
22362 configure-send-pr
22363 @: $(MAKE); $(unstage)
22364 @[ -f ./send-pr/Makefile ] || exit 0; \
22365 r=`${PWD_COMMAND}`; export r; \
22366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 $(HOST_EXPORTS) \
22368 for flag in $(EXTRA_HOST_FLAGS) ; do \
22369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22370 done; \
22371 echo "Doing dvi in send-pr" ; \
22372 (cd $(HOST_SUBDIR)/send-pr && \
22373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22375 "RANLIB=$${RANLIB}" \
22376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22377 dvi) \
22378 || exit 1
22380 @endif send-pr
22382 .PHONY: maybe-html-send-pr html-send-pr
22383 maybe-html-send-pr:
22384 @if send-pr
22385 maybe-html-send-pr: html-send-pr
22387 html-send-pr: \
22388 configure-send-pr
22389 @: $(MAKE); $(unstage)
22390 @[ -f ./send-pr/Makefile ] || exit 0; \
22391 r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 $(HOST_EXPORTS) \
22394 for flag in $(EXTRA_HOST_FLAGS) ; do \
22395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22396 done; \
22397 echo "Doing html in send-pr" ; \
22398 (cd $(HOST_SUBDIR)/send-pr && \
22399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22401 "RANLIB=$${RANLIB}" \
22402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22403 html) \
22404 || exit 1
22406 @endif send-pr
22408 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22409 maybe-TAGS-send-pr:
22410 @if send-pr
22411 maybe-TAGS-send-pr: TAGS-send-pr
22413 TAGS-send-pr: \
22414 configure-send-pr
22415 @: $(MAKE); $(unstage)
22416 @[ -f ./send-pr/Makefile ] || exit 0; \
22417 r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22419 $(HOST_EXPORTS) \
22420 for flag in $(EXTRA_HOST_FLAGS) ; do \
22421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22422 done; \
22423 echo "Doing TAGS in send-pr" ; \
22424 (cd $(HOST_SUBDIR)/send-pr && \
22425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22427 "RANLIB=$${RANLIB}" \
22428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22429 TAGS) \
22430 || exit 1
22432 @endif send-pr
22434 .PHONY: maybe-install-info-send-pr install-info-send-pr
22435 maybe-install-info-send-pr:
22436 @if send-pr
22437 maybe-install-info-send-pr: install-info-send-pr
22439 install-info-send-pr: \
22440 configure-send-pr \
22441 info-send-pr
22442 @: $(MAKE); $(unstage)
22443 @[ -f ./send-pr/Makefile ] || exit 0; \
22444 r=`${PWD_COMMAND}`; export r; \
22445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22446 $(HOST_EXPORTS) \
22447 for flag in $(EXTRA_HOST_FLAGS) ; do \
22448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22449 done; \
22450 echo "Doing install-info in send-pr" ; \
22451 (cd $(HOST_SUBDIR)/send-pr && \
22452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22454 "RANLIB=$${RANLIB}" \
22455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22456 install-info) \
22457 || exit 1
22459 @endif send-pr
22461 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22462 maybe-installcheck-send-pr:
22463 @if send-pr
22464 maybe-installcheck-send-pr: installcheck-send-pr
22466 installcheck-send-pr: \
22467 configure-send-pr
22468 @: $(MAKE); $(unstage)
22469 @[ -f ./send-pr/Makefile ] || exit 0; \
22470 r=`${PWD_COMMAND}`; export r; \
22471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22472 $(HOST_EXPORTS) \
22473 for flag in $(EXTRA_HOST_FLAGS) ; do \
22474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22475 done; \
22476 echo "Doing installcheck in send-pr" ; \
22477 (cd $(HOST_SUBDIR)/send-pr && \
22478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22480 "RANLIB=$${RANLIB}" \
22481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22482 installcheck) \
22483 || exit 1
22485 @endif send-pr
22487 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22488 maybe-mostlyclean-send-pr:
22489 @if send-pr
22490 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22492 mostlyclean-send-pr:
22493 @: $(MAKE); $(unstage)
22494 @[ -f ./send-pr/Makefile ] || exit 0; \
22495 r=`${PWD_COMMAND}`; export r; \
22496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22497 $(HOST_EXPORTS) \
22498 for flag in $(EXTRA_HOST_FLAGS) ; do \
22499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22500 done; \
22501 echo "Doing mostlyclean in send-pr" ; \
22502 (cd $(HOST_SUBDIR)/send-pr && \
22503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22505 "RANLIB=$${RANLIB}" \
22506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22507 mostlyclean) \
22508 || exit 1
22510 @endif send-pr
22512 .PHONY: maybe-clean-send-pr clean-send-pr
22513 maybe-clean-send-pr:
22514 @if send-pr
22515 maybe-clean-send-pr: clean-send-pr
22517 clean-send-pr:
22518 @: $(MAKE); $(unstage)
22519 @[ -f ./send-pr/Makefile ] || exit 0; \
22520 r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 $(HOST_EXPORTS) \
22523 for flag in $(EXTRA_HOST_FLAGS) ; do \
22524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22525 done; \
22526 echo "Doing clean in send-pr" ; \
22527 (cd $(HOST_SUBDIR)/send-pr && \
22528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22530 "RANLIB=$${RANLIB}" \
22531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22532 clean) \
22533 || exit 1
22535 @endif send-pr
22537 .PHONY: maybe-distclean-send-pr distclean-send-pr
22538 maybe-distclean-send-pr:
22539 @if send-pr
22540 maybe-distclean-send-pr: distclean-send-pr
22542 distclean-send-pr:
22543 @: $(MAKE); $(unstage)
22544 @[ -f ./send-pr/Makefile ] || exit 0; \
22545 r=`${PWD_COMMAND}`; export r; \
22546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22547 $(HOST_EXPORTS) \
22548 for flag in $(EXTRA_HOST_FLAGS) ; do \
22549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22550 done; \
22551 echo "Doing distclean in send-pr" ; \
22552 (cd $(HOST_SUBDIR)/send-pr && \
22553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555 "RANLIB=$${RANLIB}" \
22556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22557 distclean) \
22558 || exit 1
22560 @endif send-pr
22562 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22563 maybe-maintainer-clean-send-pr:
22564 @if send-pr
22565 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22567 maintainer-clean-send-pr:
22568 @: $(MAKE); $(unstage)
22569 @[ -f ./send-pr/Makefile ] || exit 0; \
22570 r=`${PWD_COMMAND}`; export r; \
22571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22572 $(HOST_EXPORTS) \
22573 for flag in $(EXTRA_HOST_FLAGS) ; do \
22574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22575 done; \
22576 echo "Doing maintainer-clean in send-pr" ; \
22577 (cd $(HOST_SUBDIR)/send-pr && \
22578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22580 "RANLIB=$${RANLIB}" \
22581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22582 maintainer-clean) \
22583 || exit 1
22585 @endif send-pr
22589 .PHONY: configure-shellutils maybe-configure-shellutils
22590 maybe-configure-shellutils:
22591 @if shellutils
22592 maybe-configure-shellutils: configure-shellutils
22593 configure-shellutils:
22594 @: $(MAKE); $(unstage)
22595 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22597 r=`${PWD_COMMAND}`; export r; \
22598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22599 $(HOST_EXPORTS) \
22600 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22601 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22602 case $(srcdir) in \
22603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22604 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22606 esac; \
22607 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22608 libsrcdir="$$s/shellutils"; \
22609 $(SHELL) $${libsrcdir}/configure \
22610 $(HOST_CONFIGARGS) $${srcdiroption} \
22611 || exit 1
22612 @endif shellutils
22618 .PHONY: all-shellutils maybe-all-shellutils
22619 maybe-all-shellutils:
22620 @if shellutils
22621 TARGET-shellutils=all
22622 maybe-all-shellutils: all-shellutils
22623 all-shellutils: configure-shellutils
22624 @: $(MAKE); $(unstage)
22625 @r=`${PWD_COMMAND}`; export r; \
22626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22627 $(HOST_EXPORTS) \
22628 (cd $(HOST_SUBDIR)/shellutils && \
22629 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22630 @endif shellutils
22635 .PHONY: check-shellutils maybe-check-shellutils
22636 maybe-check-shellutils:
22637 @if shellutils
22638 maybe-check-shellutils: check-shellutils
22640 check-shellutils:
22641 @: $(MAKE); $(unstage)
22642 @r=`${PWD_COMMAND}`; export r; \
22643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22644 $(HOST_EXPORTS) \
22645 (cd $(HOST_SUBDIR)/shellutils && \
22646 $(MAKE) $(FLAGS_TO_PASS) check)
22648 @endif shellutils
22650 .PHONY: install-shellutils maybe-install-shellutils
22651 maybe-install-shellutils:
22652 @if shellutils
22653 maybe-install-shellutils: install-shellutils
22655 install-shellutils: installdirs
22656 @: $(MAKE); $(unstage)
22657 @r=`${PWD_COMMAND}`; export r; \
22658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22659 $(HOST_EXPORTS) \
22660 (cd $(HOST_SUBDIR)/shellutils && \
22661 $(MAKE) $(FLAGS_TO_PASS) install)
22663 @endif shellutils
22665 # Other targets (info, dvi, etc.)
22667 .PHONY: maybe-info-shellutils info-shellutils
22668 maybe-info-shellutils:
22669 @if shellutils
22670 maybe-info-shellutils: info-shellutils
22672 info-shellutils: \
22673 configure-shellutils
22674 @: $(MAKE); $(unstage)
22675 @[ -f ./shellutils/Makefile ] || exit 0; \
22676 r=`${PWD_COMMAND}`; export r; \
22677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22678 $(HOST_EXPORTS) \
22679 for flag in $(EXTRA_HOST_FLAGS) ; do \
22680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22681 done; \
22682 echo "Doing info in shellutils" ; \
22683 (cd $(HOST_SUBDIR)/shellutils && \
22684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22686 "RANLIB=$${RANLIB}" \
22687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22688 info) \
22689 || exit 1
22691 @endif shellutils
22693 .PHONY: maybe-dvi-shellutils dvi-shellutils
22694 maybe-dvi-shellutils:
22695 @if shellutils
22696 maybe-dvi-shellutils: dvi-shellutils
22698 dvi-shellutils: \
22699 configure-shellutils
22700 @: $(MAKE); $(unstage)
22701 @[ -f ./shellutils/Makefile ] || exit 0; \
22702 r=`${PWD_COMMAND}`; export r; \
22703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22704 $(HOST_EXPORTS) \
22705 for flag in $(EXTRA_HOST_FLAGS) ; do \
22706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22707 done; \
22708 echo "Doing dvi in shellutils" ; \
22709 (cd $(HOST_SUBDIR)/shellutils && \
22710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22712 "RANLIB=$${RANLIB}" \
22713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22714 dvi) \
22715 || exit 1
22717 @endif shellutils
22719 .PHONY: maybe-html-shellutils html-shellutils
22720 maybe-html-shellutils:
22721 @if shellutils
22722 maybe-html-shellutils: html-shellutils
22724 html-shellutils: \
22725 configure-shellutils
22726 @: $(MAKE); $(unstage)
22727 @[ -f ./shellutils/Makefile ] || exit 0; \
22728 r=`${PWD_COMMAND}`; export r; \
22729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22730 $(HOST_EXPORTS) \
22731 for flag in $(EXTRA_HOST_FLAGS) ; do \
22732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22733 done; \
22734 echo "Doing html in shellutils" ; \
22735 (cd $(HOST_SUBDIR)/shellutils && \
22736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22738 "RANLIB=$${RANLIB}" \
22739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22740 html) \
22741 || exit 1
22743 @endif shellutils
22745 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22746 maybe-TAGS-shellutils:
22747 @if shellutils
22748 maybe-TAGS-shellutils: TAGS-shellutils
22750 TAGS-shellutils: \
22751 configure-shellutils
22752 @: $(MAKE); $(unstage)
22753 @[ -f ./shellutils/Makefile ] || exit 0; \
22754 r=`${PWD_COMMAND}`; export r; \
22755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22756 $(HOST_EXPORTS) \
22757 for flag in $(EXTRA_HOST_FLAGS) ; do \
22758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22759 done; \
22760 echo "Doing TAGS in shellutils" ; \
22761 (cd $(HOST_SUBDIR)/shellutils && \
22762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22764 "RANLIB=$${RANLIB}" \
22765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22766 TAGS) \
22767 || exit 1
22769 @endif shellutils
22771 .PHONY: maybe-install-info-shellutils install-info-shellutils
22772 maybe-install-info-shellutils:
22773 @if shellutils
22774 maybe-install-info-shellutils: install-info-shellutils
22776 install-info-shellutils: \
22777 configure-shellutils \
22778 info-shellutils
22779 @: $(MAKE); $(unstage)
22780 @[ -f ./shellutils/Makefile ] || exit 0; \
22781 r=`${PWD_COMMAND}`; export r; \
22782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22783 $(HOST_EXPORTS) \
22784 for flag in $(EXTRA_HOST_FLAGS) ; do \
22785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22786 done; \
22787 echo "Doing install-info in shellutils" ; \
22788 (cd $(HOST_SUBDIR)/shellutils && \
22789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22791 "RANLIB=$${RANLIB}" \
22792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22793 install-info) \
22794 || exit 1
22796 @endif shellutils
22798 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22799 maybe-installcheck-shellutils:
22800 @if shellutils
22801 maybe-installcheck-shellutils: installcheck-shellutils
22803 installcheck-shellutils: \
22804 configure-shellutils
22805 @: $(MAKE); $(unstage)
22806 @[ -f ./shellutils/Makefile ] || exit 0; \
22807 r=`${PWD_COMMAND}`; export r; \
22808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22809 $(HOST_EXPORTS) \
22810 for flag in $(EXTRA_HOST_FLAGS) ; do \
22811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22812 done; \
22813 echo "Doing installcheck in shellutils" ; \
22814 (cd $(HOST_SUBDIR)/shellutils && \
22815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22817 "RANLIB=$${RANLIB}" \
22818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22819 installcheck) \
22820 || exit 1
22822 @endif shellutils
22824 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22825 maybe-mostlyclean-shellutils:
22826 @if shellutils
22827 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22829 mostlyclean-shellutils:
22830 @: $(MAKE); $(unstage)
22831 @[ -f ./shellutils/Makefile ] || exit 0; \
22832 r=`${PWD_COMMAND}`; export r; \
22833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22834 $(HOST_EXPORTS) \
22835 for flag in $(EXTRA_HOST_FLAGS) ; do \
22836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22837 done; \
22838 echo "Doing mostlyclean in shellutils" ; \
22839 (cd $(HOST_SUBDIR)/shellutils && \
22840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22842 "RANLIB=$${RANLIB}" \
22843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22844 mostlyclean) \
22845 || exit 1
22847 @endif shellutils
22849 .PHONY: maybe-clean-shellutils clean-shellutils
22850 maybe-clean-shellutils:
22851 @if shellutils
22852 maybe-clean-shellutils: clean-shellutils
22854 clean-shellutils:
22855 @: $(MAKE); $(unstage)
22856 @[ -f ./shellutils/Makefile ] || exit 0; \
22857 r=`${PWD_COMMAND}`; export r; \
22858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859 $(HOST_EXPORTS) \
22860 for flag in $(EXTRA_HOST_FLAGS) ; do \
22861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22862 done; \
22863 echo "Doing clean in shellutils" ; \
22864 (cd $(HOST_SUBDIR)/shellutils && \
22865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22867 "RANLIB=$${RANLIB}" \
22868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22869 clean) \
22870 || exit 1
22872 @endif shellutils
22874 .PHONY: maybe-distclean-shellutils distclean-shellutils
22875 maybe-distclean-shellutils:
22876 @if shellutils
22877 maybe-distclean-shellutils: distclean-shellutils
22879 distclean-shellutils:
22880 @: $(MAKE); $(unstage)
22881 @[ -f ./shellutils/Makefile ] || exit 0; \
22882 r=`${PWD_COMMAND}`; export r; \
22883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22884 $(HOST_EXPORTS) \
22885 for flag in $(EXTRA_HOST_FLAGS) ; do \
22886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22887 done; \
22888 echo "Doing distclean in shellutils" ; \
22889 (cd $(HOST_SUBDIR)/shellutils && \
22890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22892 "RANLIB=$${RANLIB}" \
22893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22894 distclean) \
22895 || exit 1
22897 @endif shellutils
22899 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22900 maybe-maintainer-clean-shellutils:
22901 @if shellutils
22902 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22904 maintainer-clean-shellutils:
22905 @: $(MAKE); $(unstage)
22906 @[ -f ./shellutils/Makefile ] || exit 0; \
22907 r=`${PWD_COMMAND}`; export r; \
22908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22909 $(HOST_EXPORTS) \
22910 for flag in $(EXTRA_HOST_FLAGS) ; do \
22911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22912 done; \
22913 echo "Doing maintainer-clean in shellutils" ; \
22914 (cd $(HOST_SUBDIR)/shellutils && \
22915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22917 "RANLIB=$${RANLIB}" \
22918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22919 maintainer-clean) \
22920 || exit 1
22922 @endif shellutils
22926 .PHONY: configure-sid maybe-configure-sid
22927 maybe-configure-sid:
22928 @if sid
22929 maybe-configure-sid: configure-sid
22930 configure-sid:
22931 @: $(MAKE); $(unstage)
22932 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22934 r=`${PWD_COMMAND}`; export r; \
22935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22936 $(HOST_EXPORTS) \
22937 echo Configuring in $(HOST_SUBDIR)/sid; \
22938 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22939 case $(srcdir) in \
22940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22941 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22943 esac; \
22944 srcdiroption="--srcdir=$${topdir}/sid"; \
22945 libsrcdir="$$s/sid"; \
22946 $(SHELL) $${libsrcdir}/configure \
22947 $(HOST_CONFIGARGS) $${srcdiroption} \
22948 || exit 1
22949 @endif sid
22955 .PHONY: all-sid maybe-all-sid
22956 maybe-all-sid:
22957 @if sid
22958 TARGET-sid=all
22959 maybe-all-sid: all-sid
22960 all-sid: configure-sid
22961 @: $(MAKE); $(unstage)
22962 @r=`${PWD_COMMAND}`; export r; \
22963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 $(HOST_EXPORTS) \
22965 (cd $(HOST_SUBDIR)/sid && \
22966 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22967 @endif sid
22972 .PHONY: check-sid maybe-check-sid
22973 maybe-check-sid:
22974 @if sid
22975 maybe-check-sid: check-sid
22977 check-sid:
22978 @: $(MAKE); $(unstage)
22979 @r=`${PWD_COMMAND}`; export r; \
22980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22981 $(HOST_EXPORTS) \
22982 (cd $(HOST_SUBDIR)/sid && \
22983 $(MAKE) $(FLAGS_TO_PASS) check)
22985 @endif sid
22987 .PHONY: install-sid maybe-install-sid
22988 maybe-install-sid:
22989 @if sid
22990 maybe-install-sid: install-sid
22992 install-sid: installdirs
22993 @: $(MAKE); $(unstage)
22994 @r=`${PWD_COMMAND}`; export r; \
22995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22996 $(HOST_EXPORTS) \
22997 (cd $(HOST_SUBDIR)/sid && \
22998 $(MAKE) $(FLAGS_TO_PASS) install)
23000 @endif sid
23002 # Other targets (info, dvi, etc.)
23004 .PHONY: maybe-info-sid info-sid
23005 maybe-info-sid:
23006 @if sid
23007 maybe-info-sid: info-sid
23009 info-sid: \
23010 configure-sid
23011 @: $(MAKE); $(unstage)
23012 @[ -f ./sid/Makefile ] || exit 0; \
23013 r=`${PWD_COMMAND}`; export r; \
23014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23015 $(HOST_EXPORTS) \
23016 for flag in $(EXTRA_HOST_FLAGS) ; do \
23017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23018 done; \
23019 echo "Doing info in sid" ; \
23020 (cd $(HOST_SUBDIR)/sid && \
23021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23023 "RANLIB=$${RANLIB}" \
23024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23025 info) \
23026 || exit 1
23028 @endif sid
23030 .PHONY: maybe-dvi-sid dvi-sid
23031 maybe-dvi-sid:
23032 @if sid
23033 maybe-dvi-sid: dvi-sid
23035 dvi-sid: \
23036 configure-sid
23037 @: $(MAKE); $(unstage)
23038 @[ -f ./sid/Makefile ] || exit 0; \
23039 r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 $(HOST_EXPORTS) \
23042 for flag in $(EXTRA_HOST_FLAGS) ; do \
23043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23044 done; \
23045 echo "Doing dvi in sid" ; \
23046 (cd $(HOST_SUBDIR)/sid && \
23047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23049 "RANLIB=$${RANLIB}" \
23050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23051 dvi) \
23052 || exit 1
23054 @endif sid
23056 .PHONY: maybe-html-sid html-sid
23057 maybe-html-sid:
23058 @if sid
23059 maybe-html-sid: html-sid
23061 html-sid: \
23062 configure-sid
23063 @: $(MAKE); $(unstage)
23064 @[ -f ./sid/Makefile ] || exit 0; \
23065 r=`${PWD_COMMAND}`; export r; \
23066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23067 $(HOST_EXPORTS) \
23068 for flag in $(EXTRA_HOST_FLAGS) ; do \
23069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23070 done; \
23071 echo "Doing html in sid" ; \
23072 (cd $(HOST_SUBDIR)/sid && \
23073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23075 "RANLIB=$${RANLIB}" \
23076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23077 html) \
23078 || exit 1
23080 @endif sid
23082 .PHONY: maybe-TAGS-sid TAGS-sid
23083 maybe-TAGS-sid:
23084 @if sid
23085 maybe-TAGS-sid: TAGS-sid
23087 TAGS-sid: \
23088 configure-sid
23089 @: $(MAKE); $(unstage)
23090 @[ -f ./sid/Makefile ] || exit 0; \
23091 r=`${PWD_COMMAND}`; export r; \
23092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23093 $(HOST_EXPORTS) \
23094 for flag in $(EXTRA_HOST_FLAGS) ; do \
23095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23096 done; \
23097 echo "Doing TAGS in sid" ; \
23098 (cd $(HOST_SUBDIR)/sid && \
23099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23101 "RANLIB=$${RANLIB}" \
23102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23103 TAGS) \
23104 || exit 1
23106 @endif sid
23108 .PHONY: maybe-install-info-sid install-info-sid
23109 maybe-install-info-sid:
23110 @if sid
23111 maybe-install-info-sid: install-info-sid
23113 install-info-sid: \
23114 configure-sid \
23115 info-sid
23116 @: $(MAKE); $(unstage)
23117 @[ -f ./sid/Makefile ] || exit 0; \
23118 r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(HOST_EXPORTS) \
23121 for flag in $(EXTRA_HOST_FLAGS) ; do \
23122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23123 done; \
23124 echo "Doing install-info in sid" ; \
23125 (cd $(HOST_SUBDIR)/sid && \
23126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23128 "RANLIB=$${RANLIB}" \
23129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23130 install-info) \
23131 || exit 1
23133 @endif sid
23135 .PHONY: maybe-installcheck-sid installcheck-sid
23136 maybe-installcheck-sid:
23137 @if sid
23138 maybe-installcheck-sid: installcheck-sid
23140 installcheck-sid: \
23141 configure-sid
23142 @: $(MAKE); $(unstage)
23143 @[ -f ./sid/Makefile ] || exit 0; \
23144 r=`${PWD_COMMAND}`; export r; \
23145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23146 $(HOST_EXPORTS) \
23147 for flag in $(EXTRA_HOST_FLAGS) ; do \
23148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23149 done; \
23150 echo "Doing installcheck in sid" ; \
23151 (cd $(HOST_SUBDIR)/sid && \
23152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23154 "RANLIB=$${RANLIB}" \
23155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23156 installcheck) \
23157 || exit 1
23159 @endif sid
23161 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23162 maybe-mostlyclean-sid:
23163 @if sid
23164 maybe-mostlyclean-sid: mostlyclean-sid
23166 mostlyclean-sid:
23167 @: $(MAKE); $(unstage)
23168 @[ -f ./sid/Makefile ] || exit 0; \
23169 r=`${PWD_COMMAND}`; export r; \
23170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23171 $(HOST_EXPORTS) \
23172 for flag in $(EXTRA_HOST_FLAGS) ; do \
23173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23174 done; \
23175 echo "Doing mostlyclean in sid" ; \
23176 (cd $(HOST_SUBDIR)/sid && \
23177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23179 "RANLIB=$${RANLIB}" \
23180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23181 mostlyclean) \
23182 || exit 1
23184 @endif sid
23186 .PHONY: maybe-clean-sid clean-sid
23187 maybe-clean-sid:
23188 @if sid
23189 maybe-clean-sid: clean-sid
23191 clean-sid:
23192 @: $(MAKE); $(unstage)
23193 @[ -f ./sid/Makefile ] || exit 0; \
23194 r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196 $(HOST_EXPORTS) \
23197 for flag in $(EXTRA_HOST_FLAGS) ; do \
23198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23199 done; \
23200 echo "Doing clean in sid" ; \
23201 (cd $(HOST_SUBDIR)/sid && \
23202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23204 "RANLIB=$${RANLIB}" \
23205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23206 clean) \
23207 || exit 1
23209 @endif sid
23211 .PHONY: maybe-distclean-sid distclean-sid
23212 maybe-distclean-sid:
23213 @if sid
23214 maybe-distclean-sid: distclean-sid
23216 distclean-sid:
23217 @: $(MAKE); $(unstage)
23218 @[ -f ./sid/Makefile ] || exit 0; \
23219 r=`${PWD_COMMAND}`; export r; \
23220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23221 $(HOST_EXPORTS) \
23222 for flag in $(EXTRA_HOST_FLAGS) ; do \
23223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23224 done; \
23225 echo "Doing distclean in sid" ; \
23226 (cd $(HOST_SUBDIR)/sid && \
23227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23229 "RANLIB=$${RANLIB}" \
23230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23231 distclean) \
23232 || exit 1
23234 @endif sid
23236 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23237 maybe-maintainer-clean-sid:
23238 @if sid
23239 maybe-maintainer-clean-sid: maintainer-clean-sid
23241 maintainer-clean-sid:
23242 @: $(MAKE); $(unstage)
23243 @[ -f ./sid/Makefile ] || exit 0; \
23244 r=`${PWD_COMMAND}`; export r; \
23245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23246 $(HOST_EXPORTS) \
23247 for flag in $(EXTRA_HOST_FLAGS) ; do \
23248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23249 done; \
23250 echo "Doing maintainer-clean in sid" ; \
23251 (cd $(HOST_SUBDIR)/sid && \
23252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23254 "RANLIB=$${RANLIB}" \
23255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23256 maintainer-clean) \
23257 || exit 1
23259 @endif sid
23263 .PHONY: configure-sim maybe-configure-sim
23264 maybe-configure-sim:
23265 @if sim
23266 maybe-configure-sim: configure-sim
23267 configure-sim:
23268 @: $(MAKE); $(unstage)
23269 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23271 r=`${PWD_COMMAND}`; export r; \
23272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23273 $(HOST_EXPORTS) \
23274 echo Configuring in $(HOST_SUBDIR)/sim; \
23275 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23276 case $(srcdir) in \
23277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23278 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23280 esac; \
23281 srcdiroption="--srcdir=$${topdir}/sim"; \
23282 libsrcdir="$$s/sim"; \
23283 $(SHELL) $${libsrcdir}/configure \
23284 $(HOST_CONFIGARGS) $${srcdiroption} \
23285 || exit 1
23286 @endif sim
23292 .PHONY: all-sim maybe-all-sim
23293 maybe-all-sim:
23294 @if sim
23295 TARGET-sim=all
23296 maybe-all-sim: all-sim
23297 all-sim: configure-sim
23298 @: $(MAKE); $(unstage)
23299 @r=`${PWD_COMMAND}`; export r; \
23300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23301 $(HOST_EXPORTS) \
23302 (cd $(HOST_SUBDIR)/sim && \
23303 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23304 @endif sim
23309 .PHONY: check-sim maybe-check-sim
23310 maybe-check-sim:
23311 @if sim
23312 maybe-check-sim: check-sim
23314 check-sim:
23315 @: $(MAKE); $(unstage)
23316 @r=`${PWD_COMMAND}`; export r; \
23317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23318 $(HOST_EXPORTS) \
23319 (cd $(HOST_SUBDIR)/sim && \
23320 $(MAKE) $(FLAGS_TO_PASS) check)
23322 @endif sim
23324 .PHONY: install-sim maybe-install-sim
23325 maybe-install-sim:
23326 @if sim
23327 maybe-install-sim: install-sim
23329 install-sim: installdirs
23330 @: $(MAKE); $(unstage)
23331 @r=`${PWD_COMMAND}`; export r; \
23332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23333 $(HOST_EXPORTS) \
23334 (cd $(HOST_SUBDIR)/sim && \
23335 $(MAKE) $(FLAGS_TO_PASS) install)
23337 @endif sim
23339 # Other targets (info, dvi, etc.)
23341 .PHONY: maybe-info-sim info-sim
23342 maybe-info-sim:
23343 @if sim
23344 maybe-info-sim: info-sim
23346 info-sim: \
23347 configure-sim
23348 @: $(MAKE); $(unstage)
23349 @[ -f ./sim/Makefile ] || exit 0; \
23350 r=`${PWD_COMMAND}`; export r; \
23351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23352 $(HOST_EXPORTS) \
23353 for flag in $(EXTRA_HOST_FLAGS) ; do \
23354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23355 done; \
23356 echo "Doing info in sim" ; \
23357 (cd $(HOST_SUBDIR)/sim && \
23358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23360 "RANLIB=$${RANLIB}" \
23361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23362 info) \
23363 || exit 1
23365 @endif sim
23367 .PHONY: maybe-dvi-sim dvi-sim
23368 maybe-dvi-sim:
23369 @if sim
23370 maybe-dvi-sim: dvi-sim
23372 dvi-sim: \
23373 configure-sim
23374 @: $(MAKE); $(unstage)
23375 @[ -f ./sim/Makefile ] || exit 0; \
23376 r=`${PWD_COMMAND}`; export r; \
23377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23378 $(HOST_EXPORTS) \
23379 for flag in $(EXTRA_HOST_FLAGS) ; do \
23380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23381 done; \
23382 echo "Doing dvi in sim" ; \
23383 (cd $(HOST_SUBDIR)/sim && \
23384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23386 "RANLIB=$${RANLIB}" \
23387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23388 dvi) \
23389 || exit 1
23391 @endif sim
23393 .PHONY: maybe-html-sim html-sim
23394 maybe-html-sim:
23395 @if sim
23396 maybe-html-sim: html-sim
23398 html-sim: \
23399 configure-sim
23400 @: $(MAKE); $(unstage)
23401 @[ -f ./sim/Makefile ] || exit 0; \
23402 r=`${PWD_COMMAND}`; export r; \
23403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23404 $(HOST_EXPORTS) \
23405 for flag in $(EXTRA_HOST_FLAGS) ; do \
23406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23407 done; \
23408 echo "Doing html in sim" ; \
23409 (cd $(HOST_SUBDIR)/sim && \
23410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23412 "RANLIB=$${RANLIB}" \
23413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23414 html) \
23415 || exit 1
23417 @endif sim
23419 .PHONY: maybe-TAGS-sim TAGS-sim
23420 maybe-TAGS-sim:
23421 @if sim
23422 maybe-TAGS-sim: TAGS-sim
23424 TAGS-sim: \
23425 configure-sim
23426 @: $(MAKE); $(unstage)
23427 @[ -f ./sim/Makefile ] || exit 0; \
23428 r=`${PWD_COMMAND}`; export r; \
23429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23430 $(HOST_EXPORTS) \
23431 for flag in $(EXTRA_HOST_FLAGS) ; do \
23432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23433 done; \
23434 echo "Doing TAGS in sim" ; \
23435 (cd $(HOST_SUBDIR)/sim && \
23436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23438 "RANLIB=$${RANLIB}" \
23439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23440 TAGS) \
23441 || exit 1
23443 @endif sim
23445 .PHONY: maybe-install-info-sim install-info-sim
23446 maybe-install-info-sim:
23447 @if sim
23448 maybe-install-info-sim: install-info-sim
23450 install-info-sim: \
23451 configure-sim \
23452 info-sim
23453 @: $(MAKE); $(unstage)
23454 @[ -f ./sim/Makefile ] || exit 0; \
23455 r=`${PWD_COMMAND}`; export r; \
23456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23457 $(HOST_EXPORTS) \
23458 for flag in $(EXTRA_HOST_FLAGS) ; do \
23459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23460 done; \
23461 echo "Doing install-info in sim" ; \
23462 (cd $(HOST_SUBDIR)/sim && \
23463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23465 "RANLIB=$${RANLIB}" \
23466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23467 install-info) \
23468 || exit 1
23470 @endif sim
23472 .PHONY: maybe-installcheck-sim installcheck-sim
23473 maybe-installcheck-sim:
23474 @if sim
23475 maybe-installcheck-sim: installcheck-sim
23477 installcheck-sim: \
23478 configure-sim
23479 @: $(MAKE); $(unstage)
23480 @[ -f ./sim/Makefile ] || exit 0; \
23481 r=`${PWD_COMMAND}`; export r; \
23482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23483 $(HOST_EXPORTS) \
23484 for flag in $(EXTRA_HOST_FLAGS) ; do \
23485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23486 done; \
23487 echo "Doing installcheck in sim" ; \
23488 (cd $(HOST_SUBDIR)/sim && \
23489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23491 "RANLIB=$${RANLIB}" \
23492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23493 installcheck) \
23494 || exit 1
23496 @endif sim
23498 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23499 maybe-mostlyclean-sim:
23500 @if sim
23501 maybe-mostlyclean-sim: mostlyclean-sim
23503 mostlyclean-sim:
23504 @: $(MAKE); $(unstage)
23505 @[ -f ./sim/Makefile ] || exit 0; \
23506 r=`${PWD_COMMAND}`; export r; \
23507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23508 $(HOST_EXPORTS) \
23509 for flag in $(EXTRA_HOST_FLAGS) ; do \
23510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23511 done; \
23512 echo "Doing mostlyclean in sim" ; \
23513 (cd $(HOST_SUBDIR)/sim && \
23514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23516 "RANLIB=$${RANLIB}" \
23517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23518 mostlyclean) \
23519 || exit 1
23521 @endif sim
23523 .PHONY: maybe-clean-sim clean-sim
23524 maybe-clean-sim:
23525 @if sim
23526 maybe-clean-sim: clean-sim
23528 clean-sim:
23529 @: $(MAKE); $(unstage)
23530 @[ -f ./sim/Makefile ] || exit 0; \
23531 r=`${PWD_COMMAND}`; export r; \
23532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23533 $(HOST_EXPORTS) \
23534 for flag in $(EXTRA_HOST_FLAGS) ; do \
23535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23536 done; \
23537 echo "Doing clean in sim" ; \
23538 (cd $(HOST_SUBDIR)/sim && \
23539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23541 "RANLIB=$${RANLIB}" \
23542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23543 clean) \
23544 || exit 1
23546 @endif sim
23548 .PHONY: maybe-distclean-sim distclean-sim
23549 maybe-distclean-sim:
23550 @if sim
23551 maybe-distclean-sim: distclean-sim
23553 distclean-sim:
23554 @: $(MAKE); $(unstage)
23555 @[ -f ./sim/Makefile ] || exit 0; \
23556 r=`${PWD_COMMAND}`; export r; \
23557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23558 $(HOST_EXPORTS) \
23559 for flag in $(EXTRA_HOST_FLAGS) ; do \
23560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 done; \
23562 echo "Doing distclean in sim" ; \
23563 (cd $(HOST_SUBDIR)/sim && \
23564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23566 "RANLIB=$${RANLIB}" \
23567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23568 distclean) \
23569 || exit 1
23571 @endif sim
23573 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23574 maybe-maintainer-clean-sim:
23575 @if sim
23576 maybe-maintainer-clean-sim: maintainer-clean-sim
23578 maintainer-clean-sim:
23579 @: $(MAKE); $(unstage)
23580 @[ -f ./sim/Makefile ] || exit 0; \
23581 r=`${PWD_COMMAND}`; export r; \
23582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23583 $(HOST_EXPORTS) \
23584 for flag in $(EXTRA_HOST_FLAGS) ; do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586 done; \
23587 echo "Doing maintainer-clean in sim" ; \
23588 (cd $(HOST_SUBDIR)/sim && \
23589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23591 "RANLIB=$${RANLIB}" \
23592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23593 maintainer-clean) \
23594 || exit 1
23596 @endif sim
23600 .PHONY: configure-tar maybe-configure-tar
23601 maybe-configure-tar:
23602 @if tar
23603 maybe-configure-tar: configure-tar
23604 configure-tar:
23605 @: $(MAKE); $(unstage)
23606 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23608 r=`${PWD_COMMAND}`; export r; \
23609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23610 $(HOST_EXPORTS) \
23611 echo Configuring in $(HOST_SUBDIR)/tar; \
23612 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23613 case $(srcdir) in \
23614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23615 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23617 esac; \
23618 srcdiroption="--srcdir=$${topdir}/tar"; \
23619 libsrcdir="$$s/tar"; \
23620 $(SHELL) $${libsrcdir}/configure \
23621 $(HOST_CONFIGARGS) $${srcdiroption} \
23622 || exit 1
23623 @endif tar
23629 .PHONY: all-tar maybe-all-tar
23630 maybe-all-tar:
23631 @if tar
23632 TARGET-tar=all
23633 maybe-all-tar: all-tar
23634 all-tar: configure-tar
23635 @: $(MAKE); $(unstage)
23636 @r=`${PWD_COMMAND}`; export r; \
23637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23638 $(HOST_EXPORTS) \
23639 (cd $(HOST_SUBDIR)/tar && \
23640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23641 @endif tar
23646 .PHONY: check-tar maybe-check-tar
23647 maybe-check-tar:
23648 @if tar
23649 maybe-check-tar: check-tar
23651 check-tar:
23652 @: $(MAKE); $(unstage)
23653 @r=`${PWD_COMMAND}`; export r; \
23654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23655 $(HOST_EXPORTS) \
23656 (cd $(HOST_SUBDIR)/tar && \
23657 $(MAKE) $(FLAGS_TO_PASS) check)
23659 @endif tar
23661 .PHONY: install-tar maybe-install-tar
23662 maybe-install-tar:
23663 @if tar
23664 maybe-install-tar: install-tar
23666 install-tar: installdirs
23667 @: $(MAKE); $(unstage)
23668 @r=`${PWD_COMMAND}`; export r; \
23669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23670 $(HOST_EXPORTS) \
23671 (cd $(HOST_SUBDIR)/tar && \
23672 $(MAKE) $(FLAGS_TO_PASS) install)
23674 @endif tar
23676 # Other targets (info, dvi, etc.)
23678 .PHONY: maybe-info-tar info-tar
23679 maybe-info-tar:
23680 @if tar
23681 maybe-info-tar: info-tar
23683 info-tar: \
23684 configure-tar
23685 @: $(MAKE); $(unstage)
23686 @[ -f ./tar/Makefile ] || exit 0; \
23687 r=`${PWD_COMMAND}`; export r; \
23688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23689 $(HOST_EXPORTS) \
23690 for flag in $(EXTRA_HOST_FLAGS) ; do \
23691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23692 done; \
23693 echo "Doing info in tar" ; \
23694 (cd $(HOST_SUBDIR)/tar && \
23695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23697 "RANLIB=$${RANLIB}" \
23698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23699 info) \
23700 || exit 1
23702 @endif tar
23704 .PHONY: maybe-dvi-tar dvi-tar
23705 maybe-dvi-tar:
23706 @if tar
23707 maybe-dvi-tar: dvi-tar
23709 dvi-tar: \
23710 configure-tar
23711 @: $(MAKE); $(unstage)
23712 @[ -f ./tar/Makefile ] || exit 0; \
23713 r=`${PWD_COMMAND}`; export r; \
23714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23715 $(HOST_EXPORTS) \
23716 for flag in $(EXTRA_HOST_FLAGS) ; do \
23717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23718 done; \
23719 echo "Doing dvi in tar" ; \
23720 (cd $(HOST_SUBDIR)/tar && \
23721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23723 "RANLIB=$${RANLIB}" \
23724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23725 dvi) \
23726 || exit 1
23728 @endif tar
23730 .PHONY: maybe-html-tar html-tar
23731 maybe-html-tar:
23732 @if tar
23733 maybe-html-tar: html-tar
23735 html-tar: \
23736 configure-tar
23737 @: $(MAKE); $(unstage)
23738 @[ -f ./tar/Makefile ] || exit 0; \
23739 r=`${PWD_COMMAND}`; export r; \
23740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23741 $(HOST_EXPORTS) \
23742 for flag in $(EXTRA_HOST_FLAGS) ; do \
23743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23744 done; \
23745 echo "Doing html in tar" ; \
23746 (cd $(HOST_SUBDIR)/tar && \
23747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23749 "RANLIB=$${RANLIB}" \
23750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23751 html) \
23752 || exit 1
23754 @endif tar
23756 .PHONY: maybe-TAGS-tar TAGS-tar
23757 maybe-TAGS-tar:
23758 @if tar
23759 maybe-TAGS-tar: TAGS-tar
23761 TAGS-tar: \
23762 configure-tar
23763 @: $(MAKE); $(unstage)
23764 @[ -f ./tar/Makefile ] || exit 0; \
23765 r=`${PWD_COMMAND}`; export r; \
23766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23767 $(HOST_EXPORTS) \
23768 for flag in $(EXTRA_HOST_FLAGS) ; do \
23769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23770 done; \
23771 echo "Doing TAGS in tar" ; \
23772 (cd $(HOST_SUBDIR)/tar && \
23773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23775 "RANLIB=$${RANLIB}" \
23776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23777 TAGS) \
23778 || exit 1
23780 @endif tar
23782 .PHONY: maybe-install-info-tar install-info-tar
23783 maybe-install-info-tar:
23784 @if tar
23785 maybe-install-info-tar: install-info-tar
23787 install-info-tar: \
23788 configure-tar \
23789 info-tar
23790 @: $(MAKE); $(unstage)
23791 @[ -f ./tar/Makefile ] || exit 0; \
23792 r=`${PWD_COMMAND}`; export r; \
23793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23794 $(HOST_EXPORTS) \
23795 for flag in $(EXTRA_HOST_FLAGS) ; do \
23796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23797 done; \
23798 echo "Doing install-info in tar" ; \
23799 (cd $(HOST_SUBDIR)/tar && \
23800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23802 "RANLIB=$${RANLIB}" \
23803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23804 install-info) \
23805 || exit 1
23807 @endif tar
23809 .PHONY: maybe-installcheck-tar installcheck-tar
23810 maybe-installcheck-tar:
23811 @if tar
23812 maybe-installcheck-tar: installcheck-tar
23814 installcheck-tar: \
23815 configure-tar
23816 @: $(MAKE); $(unstage)
23817 @[ -f ./tar/Makefile ] || exit 0; \
23818 r=`${PWD_COMMAND}`; export r; \
23819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23820 $(HOST_EXPORTS) \
23821 for flag in $(EXTRA_HOST_FLAGS) ; do \
23822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23823 done; \
23824 echo "Doing installcheck in tar" ; \
23825 (cd $(HOST_SUBDIR)/tar && \
23826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23828 "RANLIB=$${RANLIB}" \
23829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23830 installcheck) \
23831 || exit 1
23833 @endif tar
23835 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23836 maybe-mostlyclean-tar:
23837 @if tar
23838 maybe-mostlyclean-tar: mostlyclean-tar
23840 mostlyclean-tar:
23841 @: $(MAKE); $(unstage)
23842 @[ -f ./tar/Makefile ] || exit 0; \
23843 r=`${PWD_COMMAND}`; export r; \
23844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23845 $(HOST_EXPORTS) \
23846 for flag in $(EXTRA_HOST_FLAGS) ; do \
23847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23848 done; \
23849 echo "Doing mostlyclean in tar" ; \
23850 (cd $(HOST_SUBDIR)/tar && \
23851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23853 "RANLIB=$${RANLIB}" \
23854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23855 mostlyclean) \
23856 || exit 1
23858 @endif tar
23860 .PHONY: maybe-clean-tar clean-tar
23861 maybe-clean-tar:
23862 @if tar
23863 maybe-clean-tar: clean-tar
23865 clean-tar:
23866 @: $(MAKE); $(unstage)
23867 @[ -f ./tar/Makefile ] || exit 0; \
23868 r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 $(HOST_EXPORTS) \
23871 for flag in $(EXTRA_HOST_FLAGS) ; do \
23872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23873 done; \
23874 echo "Doing clean in tar" ; \
23875 (cd $(HOST_SUBDIR)/tar && \
23876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23878 "RANLIB=$${RANLIB}" \
23879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23880 clean) \
23881 || exit 1
23883 @endif tar
23885 .PHONY: maybe-distclean-tar distclean-tar
23886 maybe-distclean-tar:
23887 @if tar
23888 maybe-distclean-tar: distclean-tar
23890 distclean-tar:
23891 @: $(MAKE); $(unstage)
23892 @[ -f ./tar/Makefile ] || exit 0; \
23893 r=`${PWD_COMMAND}`; export r; \
23894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23895 $(HOST_EXPORTS) \
23896 for flag in $(EXTRA_HOST_FLAGS) ; do \
23897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23898 done; \
23899 echo "Doing distclean in tar" ; \
23900 (cd $(HOST_SUBDIR)/tar && \
23901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23903 "RANLIB=$${RANLIB}" \
23904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23905 distclean) \
23906 || exit 1
23908 @endif tar
23910 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23911 maybe-maintainer-clean-tar:
23912 @if tar
23913 maybe-maintainer-clean-tar: maintainer-clean-tar
23915 maintainer-clean-tar:
23916 @: $(MAKE); $(unstage)
23917 @[ -f ./tar/Makefile ] || exit 0; \
23918 r=`${PWD_COMMAND}`; export r; \
23919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23920 $(HOST_EXPORTS) \
23921 for flag in $(EXTRA_HOST_FLAGS) ; do \
23922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23923 done; \
23924 echo "Doing maintainer-clean in tar" ; \
23925 (cd $(HOST_SUBDIR)/tar && \
23926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23928 "RANLIB=$${RANLIB}" \
23929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23930 maintainer-clean) \
23931 || exit 1
23933 @endif tar
23937 .PHONY: configure-texinfo maybe-configure-texinfo
23938 maybe-configure-texinfo:
23939 @if texinfo
23940 maybe-configure-texinfo: configure-texinfo
23941 configure-texinfo:
23942 @: $(MAKE); $(unstage)
23943 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23945 r=`${PWD_COMMAND}`; export r; \
23946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23947 $(HOST_EXPORTS) \
23948 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23949 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23950 case $(srcdir) in \
23951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23952 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23954 esac; \
23955 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23956 libsrcdir="$$s/texinfo"; \
23957 $(SHELL) $${libsrcdir}/configure \
23958 $(HOST_CONFIGARGS) $${srcdiroption} \
23959 || exit 1
23960 @endif texinfo
23966 .PHONY: all-texinfo maybe-all-texinfo
23967 maybe-all-texinfo:
23968 @if texinfo
23969 TARGET-texinfo=all
23970 maybe-all-texinfo: all-texinfo
23971 all-texinfo: configure-texinfo
23972 @: $(MAKE); $(unstage)
23973 @r=`${PWD_COMMAND}`; export r; \
23974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 $(HOST_EXPORTS) \
23976 (cd $(HOST_SUBDIR)/texinfo && \
23977 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23978 @endif texinfo
23983 .PHONY: check-texinfo maybe-check-texinfo
23984 maybe-check-texinfo:
23985 @if texinfo
23986 maybe-check-texinfo: check-texinfo
23988 check-texinfo:
23989 @: $(MAKE); $(unstage)
23990 @r=`${PWD_COMMAND}`; export r; \
23991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23992 $(HOST_EXPORTS) \
23993 (cd $(HOST_SUBDIR)/texinfo && \
23994 $(MAKE) $(FLAGS_TO_PASS) check)
23996 @endif texinfo
23998 .PHONY: install-texinfo maybe-install-texinfo
23999 maybe-install-texinfo:
24000 @if texinfo
24001 maybe-install-texinfo: install-texinfo
24003 install-texinfo:
24005 @endif texinfo
24007 # Other targets (info, dvi, etc.)
24009 .PHONY: maybe-info-texinfo info-texinfo
24010 maybe-info-texinfo:
24011 @if texinfo
24012 maybe-info-texinfo: info-texinfo
24014 info-texinfo: \
24015 configure-texinfo
24016 @: $(MAKE); $(unstage)
24017 @[ -f ./texinfo/Makefile ] || exit 0; \
24018 r=`${PWD_COMMAND}`; export r; \
24019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing info in texinfo" ; \
24025 (cd $(HOST_SUBDIR)/texinfo && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24030 info) \
24031 || exit 1
24033 @endif texinfo
24035 .PHONY: maybe-dvi-texinfo dvi-texinfo
24036 maybe-dvi-texinfo:
24037 @if texinfo
24038 maybe-dvi-texinfo: dvi-texinfo
24040 dvi-texinfo: \
24041 configure-texinfo
24042 @: $(MAKE); $(unstage)
24043 @[ -f ./texinfo/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing dvi in texinfo" ; \
24051 (cd $(HOST_SUBDIR)/texinfo && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24056 dvi) \
24057 || exit 1
24059 @endif texinfo
24061 .PHONY: maybe-html-texinfo html-texinfo
24062 maybe-html-texinfo:
24063 @if texinfo
24064 maybe-html-texinfo: html-texinfo
24066 html-texinfo: \
24067 configure-texinfo
24068 @: $(MAKE); $(unstage)
24069 @[ -f ./texinfo/Makefile ] || exit 0; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing html in texinfo" ; \
24077 (cd $(HOST_SUBDIR)/texinfo && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24082 html) \
24083 || exit 1
24085 @endif texinfo
24087 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24088 maybe-TAGS-texinfo:
24089 @if texinfo
24090 maybe-TAGS-texinfo: TAGS-texinfo
24092 TAGS-texinfo: \
24093 configure-texinfo
24094 @: $(MAKE); $(unstage)
24095 @[ -f ./texinfo/Makefile ] || exit 0; \
24096 r=`${PWD_COMMAND}`; export r; \
24097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24098 $(HOST_EXPORTS) \
24099 for flag in $(EXTRA_HOST_FLAGS) ; do \
24100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24101 done; \
24102 echo "Doing TAGS in texinfo" ; \
24103 (cd $(HOST_SUBDIR)/texinfo && \
24104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24106 "RANLIB=$${RANLIB}" \
24107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24108 TAGS) \
24109 || exit 1
24111 @endif texinfo
24113 .PHONY: maybe-install-info-texinfo install-info-texinfo
24114 maybe-install-info-texinfo:
24115 @if texinfo
24116 maybe-install-info-texinfo: install-info-texinfo
24118 install-info-texinfo: \
24119 configure-texinfo \
24120 info-texinfo
24121 @: $(MAKE); $(unstage)
24122 @[ -f ./texinfo/Makefile ] || exit 0; \
24123 r=`${PWD_COMMAND}`; export r; \
24124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24125 $(HOST_EXPORTS) \
24126 for flag in $(EXTRA_HOST_FLAGS) ; do \
24127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24128 done; \
24129 echo "Doing install-info in texinfo" ; \
24130 (cd $(HOST_SUBDIR)/texinfo && \
24131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24133 "RANLIB=$${RANLIB}" \
24134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24135 install-info) \
24136 || exit 1
24138 @endif texinfo
24140 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24141 maybe-installcheck-texinfo:
24142 @if texinfo
24143 maybe-installcheck-texinfo: installcheck-texinfo
24145 installcheck-texinfo: \
24146 configure-texinfo
24147 @: $(MAKE); $(unstage)
24148 @[ -f ./texinfo/Makefile ] || exit 0; \
24149 r=`${PWD_COMMAND}`; export r; \
24150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24151 $(HOST_EXPORTS) \
24152 for flag in $(EXTRA_HOST_FLAGS) ; do \
24153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24154 done; \
24155 echo "Doing installcheck in texinfo" ; \
24156 (cd $(HOST_SUBDIR)/texinfo && \
24157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24159 "RANLIB=$${RANLIB}" \
24160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24161 installcheck) \
24162 || exit 1
24164 @endif texinfo
24166 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24167 maybe-mostlyclean-texinfo:
24168 @if texinfo
24169 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24171 mostlyclean-texinfo:
24172 @: $(MAKE); $(unstage)
24173 @[ -f ./texinfo/Makefile ] || exit 0; \
24174 r=`${PWD_COMMAND}`; export r; \
24175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24176 $(HOST_EXPORTS) \
24177 for flag in $(EXTRA_HOST_FLAGS) ; do \
24178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24179 done; \
24180 echo "Doing mostlyclean in texinfo" ; \
24181 (cd $(HOST_SUBDIR)/texinfo && \
24182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24184 "RANLIB=$${RANLIB}" \
24185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24186 mostlyclean) \
24187 || exit 1
24189 @endif texinfo
24191 .PHONY: maybe-clean-texinfo clean-texinfo
24192 maybe-clean-texinfo:
24193 @if texinfo
24194 maybe-clean-texinfo: clean-texinfo
24196 clean-texinfo:
24197 @: $(MAKE); $(unstage)
24198 @[ -f ./texinfo/Makefile ] || exit 0; \
24199 r=`${PWD_COMMAND}`; export r; \
24200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24201 $(HOST_EXPORTS) \
24202 for flag in $(EXTRA_HOST_FLAGS) ; do \
24203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24204 done; \
24205 echo "Doing clean in texinfo" ; \
24206 (cd $(HOST_SUBDIR)/texinfo && \
24207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24209 "RANLIB=$${RANLIB}" \
24210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24211 clean) \
24212 || exit 1
24214 @endif texinfo
24216 .PHONY: maybe-distclean-texinfo distclean-texinfo
24217 maybe-distclean-texinfo:
24218 @if texinfo
24219 maybe-distclean-texinfo: distclean-texinfo
24221 distclean-texinfo:
24222 @: $(MAKE); $(unstage)
24223 @[ -f ./texinfo/Makefile ] || exit 0; \
24224 r=`${PWD_COMMAND}`; export r; \
24225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24226 $(HOST_EXPORTS) \
24227 for flag in $(EXTRA_HOST_FLAGS) ; do \
24228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24229 done; \
24230 echo "Doing distclean in texinfo" ; \
24231 (cd $(HOST_SUBDIR)/texinfo && \
24232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24234 "RANLIB=$${RANLIB}" \
24235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24236 distclean) \
24237 || exit 1
24239 @endif texinfo
24241 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24242 maybe-maintainer-clean-texinfo:
24243 @if texinfo
24244 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24246 maintainer-clean-texinfo:
24247 @: $(MAKE); $(unstage)
24248 @[ -f ./texinfo/Makefile ] || exit 0; \
24249 r=`${PWD_COMMAND}`; export r; \
24250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24251 $(HOST_EXPORTS) \
24252 for flag in $(EXTRA_HOST_FLAGS) ; do \
24253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24254 done; \
24255 echo "Doing maintainer-clean in texinfo" ; \
24256 (cd $(HOST_SUBDIR)/texinfo && \
24257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24259 "RANLIB=$${RANLIB}" \
24260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24261 maintainer-clean) \
24262 || exit 1
24264 @endif texinfo
24268 .PHONY: configure-textutils maybe-configure-textutils
24269 maybe-configure-textutils:
24270 @if textutils
24271 maybe-configure-textutils: configure-textutils
24272 configure-textutils:
24273 @: $(MAKE); $(unstage)
24274 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24276 r=`${PWD_COMMAND}`; export r; \
24277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24278 $(HOST_EXPORTS) \
24279 echo Configuring in $(HOST_SUBDIR)/textutils; \
24280 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24281 case $(srcdir) in \
24282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24283 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24285 esac; \
24286 srcdiroption="--srcdir=$${topdir}/textutils"; \
24287 libsrcdir="$$s/textutils"; \
24288 $(SHELL) $${libsrcdir}/configure \
24289 $(HOST_CONFIGARGS) $${srcdiroption} \
24290 || exit 1
24291 @endif textutils
24297 .PHONY: all-textutils maybe-all-textutils
24298 maybe-all-textutils:
24299 @if textutils
24300 TARGET-textutils=all
24301 maybe-all-textutils: all-textutils
24302 all-textutils: configure-textutils
24303 @: $(MAKE); $(unstage)
24304 @r=`${PWD_COMMAND}`; export r; \
24305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24306 $(HOST_EXPORTS) \
24307 (cd $(HOST_SUBDIR)/textutils && \
24308 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24309 @endif textutils
24314 .PHONY: check-textutils maybe-check-textutils
24315 maybe-check-textutils:
24316 @if textutils
24317 maybe-check-textutils: check-textutils
24319 check-textutils:
24320 @: $(MAKE); $(unstage)
24321 @r=`${PWD_COMMAND}`; export r; \
24322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24323 $(HOST_EXPORTS) \
24324 (cd $(HOST_SUBDIR)/textutils && \
24325 $(MAKE) $(FLAGS_TO_PASS) check)
24327 @endif textutils
24329 .PHONY: install-textutils maybe-install-textutils
24330 maybe-install-textutils:
24331 @if textutils
24332 maybe-install-textutils: install-textutils
24334 install-textutils: installdirs
24335 @: $(MAKE); $(unstage)
24336 @r=`${PWD_COMMAND}`; export r; \
24337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24338 $(HOST_EXPORTS) \
24339 (cd $(HOST_SUBDIR)/textutils && \
24340 $(MAKE) $(FLAGS_TO_PASS) install)
24342 @endif textutils
24344 # Other targets (info, dvi, etc.)
24346 .PHONY: maybe-info-textutils info-textutils
24347 maybe-info-textutils:
24348 @if textutils
24349 maybe-info-textutils: info-textutils
24351 info-textutils: \
24352 configure-textutils
24353 @: $(MAKE); $(unstage)
24354 @[ -f ./textutils/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing info in textutils" ; \
24362 (cd $(HOST_SUBDIR)/textutils && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24367 info) \
24368 || exit 1
24370 @endif textutils
24372 .PHONY: maybe-dvi-textutils dvi-textutils
24373 maybe-dvi-textutils:
24374 @if textutils
24375 maybe-dvi-textutils: dvi-textutils
24377 dvi-textutils: \
24378 configure-textutils
24379 @: $(MAKE); $(unstage)
24380 @[ -f ./textutils/Makefile ] || exit 0; \
24381 r=`${PWD_COMMAND}`; export r; \
24382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24383 $(HOST_EXPORTS) \
24384 for flag in $(EXTRA_HOST_FLAGS) ; do \
24385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24386 done; \
24387 echo "Doing dvi in textutils" ; \
24388 (cd $(HOST_SUBDIR)/textutils && \
24389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24391 "RANLIB=$${RANLIB}" \
24392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24393 dvi) \
24394 || exit 1
24396 @endif textutils
24398 .PHONY: maybe-html-textutils html-textutils
24399 maybe-html-textutils:
24400 @if textutils
24401 maybe-html-textutils: html-textutils
24403 html-textutils: \
24404 configure-textutils
24405 @: $(MAKE); $(unstage)
24406 @[ -f ./textutils/Makefile ] || exit 0; \
24407 r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 $(HOST_EXPORTS) \
24410 for flag in $(EXTRA_HOST_FLAGS) ; do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24412 done; \
24413 echo "Doing html in textutils" ; \
24414 (cd $(HOST_SUBDIR)/textutils && \
24415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24417 "RANLIB=$${RANLIB}" \
24418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24419 html) \
24420 || exit 1
24422 @endif textutils
24424 .PHONY: maybe-TAGS-textutils TAGS-textutils
24425 maybe-TAGS-textutils:
24426 @if textutils
24427 maybe-TAGS-textutils: TAGS-textutils
24429 TAGS-textutils: \
24430 configure-textutils
24431 @: $(MAKE); $(unstage)
24432 @[ -f ./textutils/Makefile ] || exit 0; \
24433 r=`${PWD_COMMAND}`; export r; \
24434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 $(HOST_EXPORTS) \
24436 for flag in $(EXTRA_HOST_FLAGS) ; do \
24437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24438 done; \
24439 echo "Doing TAGS in textutils" ; \
24440 (cd $(HOST_SUBDIR)/textutils && \
24441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24443 "RANLIB=$${RANLIB}" \
24444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24445 TAGS) \
24446 || exit 1
24448 @endif textutils
24450 .PHONY: maybe-install-info-textutils install-info-textutils
24451 maybe-install-info-textutils:
24452 @if textutils
24453 maybe-install-info-textutils: install-info-textutils
24455 install-info-textutils: \
24456 configure-textutils \
24457 info-textutils
24458 @: $(MAKE); $(unstage)
24459 @[ -f ./textutils/Makefile ] || exit 0; \
24460 r=`${PWD_COMMAND}`; export r; \
24461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24462 $(HOST_EXPORTS) \
24463 for flag in $(EXTRA_HOST_FLAGS) ; do \
24464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24465 done; \
24466 echo "Doing install-info in textutils" ; \
24467 (cd $(HOST_SUBDIR)/textutils && \
24468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24470 "RANLIB=$${RANLIB}" \
24471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24472 install-info) \
24473 || exit 1
24475 @endif textutils
24477 .PHONY: maybe-installcheck-textutils installcheck-textutils
24478 maybe-installcheck-textutils:
24479 @if textutils
24480 maybe-installcheck-textutils: installcheck-textutils
24482 installcheck-textutils: \
24483 configure-textutils
24484 @: $(MAKE); $(unstage)
24485 @[ -f ./textutils/Makefile ] || exit 0; \
24486 r=`${PWD_COMMAND}`; export r; \
24487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24488 $(HOST_EXPORTS) \
24489 for flag in $(EXTRA_HOST_FLAGS) ; do \
24490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24491 done; \
24492 echo "Doing installcheck in textutils" ; \
24493 (cd $(HOST_SUBDIR)/textutils && \
24494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24496 "RANLIB=$${RANLIB}" \
24497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24498 installcheck) \
24499 || exit 1
24501 @endif textutils
24503 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24504 maybe-mostlyclean-textutils:
24505 @if textutils
24506 maybe-mostlyclean-textutils: mostlyclean-textutils
24508 mostlyclean-textutils:
24509 @: $(MAKE); $(unstage)
24510 @[ -f ./textutils/Makefile ] || exit 0; \
24511 r=`${PWD_COMMAND}`; export r; \
24512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 $(HOST_EXPORTS) \
24514 for flag in $(EXTRA_HOST_FLAGS) ; do \
24515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24516 done; \
24517 echo "Doing mostlyclean in textutils" ; \
24518 (cd $(HOST_SUBDIR)/textutils && \
24519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24521 "RANLIB=$${RANLIB}" \
24522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24523 mostlyclean) \
24524 || exit 1
24526 @endif textutils
24528 .PHONY: maybe-clean-textutils clean-textutils
24529 maybe-clean-textutils:
24530 @if textutils
24531 maybe-clean-textutils: clean-textutils
24533 clean-textutils:
24534 @: $(MAKE); $(unstage)
24535 @[ -f ./textutils/Makefile ] || exit 0; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 for flag in $(EXTRA_HOST_FLAGS) ; do \
24540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24541 done; \
24542 echo "Doing clean in textutils" ; \
24543 (cd $(HOST_SUBDIR)/textutils && \
24544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24546 "RANLIB=$${RANLIB}" \
24547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24548 clean) \
24549 || exit 1
24551 @endif textutils
24553 .PHONY: maybe-distclean-textutils distclean-textutils
24554 maybe-distclean-textutils:
24555 @if textutils
24556 maybe-distclean-textutils: distclean-textutils
24558 distclean-textutils:
24559 @: $(MAKE); $(unstage)
24560 @[ -f ./textutils/Makefile ] || exit 0; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 $(HOST_EXPORTS) \
24564 for flag in $(EXTRA_HOST_FLAGS) ; do \
24565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24566 done; \
24567 echo "Doing distclean in textutils" ; \
24568 (cd $(HOST_SUBDIR)/textutils && \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24571 "RANLIB=$${RANLIB}" \
24572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24573 distclean) \
24574 || exit 1
24576 @endif textutils
24578 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24579 maybe-maintainer-clean-textutils:
24580 @if textutils
24581 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24583 maintainer-clean-textutils:
24584 @: $(MAKE); $(unstage)
24585 @[ -f ./textutils/Makefile ] || exit 0; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 for flag in $(EXTRA_HOST_FLAGS) ; do \
24590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24591 done; \
24592 echo "Doing maintainer-clean in textutils" ; \
24593 (cd $(HOST_SUBDIR)/textutils && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24598 maintainer-clean) \
24599 || exit 1
24601 @endif textutils
24605 .PHONY: configure-time maybe-configure-time
24606 maybe-configure-time:
24607 @if time
24608 maybe-configure-time: configure-time
24609 configure-time:
24610 @: $(MAKE); $(unstage)
24611 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24613 r=`${PWD_COMMAND}`; export r; \
24614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24615 $(HOST_EXPORTS) \
24616 echo Configuring in $(HOST_SUBDIR)/time; \
24617 cd "$(HOST_SUBDIR)/time" || exit 1; \
24618 case $(srcdir) in \
24619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24620 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24622 esac; \
24623 srcdiroption="--srcdir=$${topdir}/time"; \
24624 libsrcdir="$$s/time"; \
24625 $(SHELL) $${libsrcdir}/configure \
24626 $(HOST_CONFIGARGS) $${srcdiroption} \
24627 || exit 1
24628 @endif time
24634 .PHONY: all-time maybe-all-time
24635 maybe-all-time:
24636 @if time
24637 TARGET-time=all
24638 maybe-all-time: all-time
24639 all-time: configure-time
24640 @: $(MAKE); $(unstage)
24641 @r=`${PWD_COMMAND}`; export r; \
24642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24643 $(HOST_EXPORTS) \
24644 (cd $(HOST_SUBDIR)/time && \
24645 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24646 @endif time
24651 .PHONY: check-time maybe-check-time
24652 maybe-check-time:
24653 @if time
24654 maybe-check-time: check-time
24656 check-time:
24657 @: $(MAKE); $(unstage)
24658 @r=`${PWD_COMMAND}`; export r; \
24659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24660 $(HOST_EXPORTS) \
24661 (cd $(HOST_SUBDIR)/time && \
24662 $(MAKE) $(FLAGS_TO_PASS) check)
24664 @endif time
24666 .PHONY: install-time maybe-install-time
24667 maybe-install-time:
24668 @if time
24669 maybe-install-time: install-time
24671 install-time: installdirs
24672 @: $(MAKE); $(unstage)
24673 @r=`${PWD_COMMAND}`; export r; \
24674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24675 $(HOST_EXPORTS) \
24676 (cd $(HOST_SUBDIR)/time && \
24677 $(MAKE) $(FLAGS_TO_PASS) install)
24679 @endif time
24681 # Other targets (info, dvi, etc.)
24683 .PHONY: maybe-info-time info-time
24684 maybe-info-time:
24685 @if time
24686 maybe-info-time: info-time
24688 info-time: \
24689 configure-time
24690 @: $(MAKE); $(unstage)
24691 @[ -f ./time/Makefile ] || exit 0; \
24692 r=`${PWD_COMMAND}`; export r; \
24693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24694 $(HOST_EXPORTS) \
24695 for flag in $(EXTRA_HOST_FLAGS) ; do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 echo "Doing info in time" ; \
24699 (cd $(HOST_SUBDIR)/time && \
24700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24702 "RANLIB=$${RANLIB}" \
24703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24704 info) \
24705 || exit 1
24707 @endif time
24709 .PHONY: maybe-dvi-time dvi-time
24710 maybe-dvi-time:
24711 @if time
24712 maybe-dvi-time: dvi-time
24714 dvi-time: \
24715 configure-time
24716 @: $(MAKE); $(unstage)
24717 @[ -f ./time/Makefile ] || exit 0; \
24718 r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 for flag in $(EXTRA_HOST_FLAGS) ; do \
24722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 done; \
24724 echo "Doing dvi in time" ; \
24725 (cd $(HOST_SUBDIR)/time && \
24726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24728 "RANLIB=$${RANLIB}" \
24729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24730 dvi) \
24731 || exit 1
24733 @endif time
24735 .PHONY: maybe-html-time html-time
24736 maybe-html-time:
24737 @if time
24738 maybe-html-time: html-time
24740 html-time: \
24741 configure-time
24742 @: $(MAKE); $(unstage)
24743 @[ -f ./time/Makefile ] || exit 0; \
24744 r=`${PWD_COMMAND}`; export r; \
24745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24746 $(HOST_EXPORTS) \
24747 for flag in $(EXTRA_HOST_FLAGS) ; do \
24748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24749 done; \
24750 echo "Doing html in time" ; \
24751 (cd $(HOST_SUBDIR)/time && \
24752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24754 "RANLIB=$${RANLIB}" \
24755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24756 html) \
24757 || exit 1
24759 @endif time
24761 .PHONY: maybe-TAGS-time TAGS-time
24762 maybe-TAGS-time:
24763 @if time
24764 maybe-TAGS-time: TAGS-time
24766 TAGS-time: \
24767 configure-time
24768 @: $(MAKE); $(unstage)
24769 @[ -f ./time/Makefile ] || exit 0; \
24770 r=`${PWD_COMMAND}`; export r; \
24771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24772 $(HOST_EXPORTS) \
24773 for flag in $(EXTRA_HOST_FLAGS) ; do \
24774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24775 done; \
24776 echo "Doing TAGS in time" ; \
24777 (cd $(HOST_SUBDIR)/time && \
24778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24780 "RANLIB=$${RANLIB}" \
24781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24782 TAGS) \
24783 || exit 1
24785 @endif time
24787 .PHONY: maybe-install-info-time install-info-time
24788 maybe-install-info-time:
24789 @if time
24790 maybe-install-info-time: install-info-time
24792 install-info-time: \
24793 configure-time \
24794 info-time
24795 @: $(MAKE); $(unstage)
24796 @[ -f ./time/Makefile ] || exit 0; \
24797 r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 for flag in $(EXTRA_HOST_FLAGS) ; do \
24801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24802 done; \
24803 echo "Doing install-info in time" ; \
24804 (cd $(HOST_SUBDIR)/time && \
24805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24807 "RANLIB=$${RANLIB}" \
24808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24809 install-info) \
24810 || exit 1
24812 @endif time
24814 .PHONY: maybe-installcheck-time installcheck-time
24815 maybe-installcheck-time:
24816 @if time
24817 maybe-installcheck-time: installcheck-time
24819 installcheck-time: \
24820 configure-time
24821 @: $(MAKE); $(unstage)
24822 @[ -f ./time/Makefile ] || exit 0; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(HOST_EXPORTS) \
24826 for flag in $(EXTRA_HOST_FLAGS) ; do \
24827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24828 done; \
24829 echo "Doing installcheck in time" ; \
24830 (cd $(HOST_SUBDIR)/time && \
24831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24833 "RANLIB=$${RANLIB}" \
24834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24835 installcheck) \
24836 || exit 1
24838 @endif time
24840 .PHONY: maybe-mostlyclean-time mostlyclean-time
24841 maybe-mostlyclean-time:
24842 @if time
24843 maybe-mostlyclean-time: mostlyclean-time
24845 mostlyclean-time:
24846 @: $(MAKE); $(unstage)
24847 @[ -f ./time/Makefile ] || exit 0; \
24848 r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24850 $(HOST_EXPORTS) \
24851 for flag in $(EXTRA_HOST_FLAGS) ; do \
24852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24853 done; \
24854 echo "Doing mostlyclean in time" ; \
24855 (cd $(HOST_SUBDIR)/time && \
24856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24858 "RANLIB=$${RANLIB}" \
24859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24860 mostlyclean) \
24861 || exit 1
24863 @endif time
24865 .PHONY: maybe-clean-time clean-time
24866 maybe-clean-time:
24867 @if time
24868 maybe-clean-time: clean-time
24870 clean-time:
24871 @: $(MAKE); $(unstage)
24872 @[ -f ./time/Makefile ] || exit 0; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(HOST_EXPORTS) \
24876 for flag in $(EXTRA_HOST_FLAGS) ; do \
24877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24878 done; \
24879 echo "Doing clean in time" ; \
24880 (cd $(HOST_SUBDIR)/time && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24885 clean) \
24886 || exit 1
24888 @endif time
24890 .PHONY: maybe-distclean-time distclean-time
24891 maybe-distclean-time:
24892 @if time
24893 maybe-distclean-time: distclean-time
24895 distclean-time:
24896 @: $(MAKE); $(unstage)
24897 @[ -f ./time/Makefile ] || exit 0; \
24898 r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(HOST_EXPORTS) \
24901 for flag in $(EXTRA_HOST_FLAGS) ; do \
24902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24903 done; \
24904 echo "Doing distclean in time" ; \
24905 (cd $(HOST_SUBDIR)/time && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908 "RANLIB=$${RANLIB}" \
24909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24910 distclean) \
24911 || exit 1
24913 @endif time
24915 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24916 maybe-maintainer-clean-time:
24917 @if time
24918 maybe-maintainer-clean-time: maintainer-clean-time
24920 maintainer-clean-time:
24921 @: $(MAKE); $(unstage)
24922 @[ -f ./time/Makefile ] || exit 0; \
24923 r=`${PWD_COMMAND}`; export r; \
24924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 $(HOST_EXPORTS) \
24926 for flag in $(EXTRA_HOST_FLAGS) ; do \
24927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24928 done; \
24929 echo "Doing maintainer-clean in time" ; \
24930 (cd $(HOST_SUBDIR)/time && \
24931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24933 "RANLIB=$${RANLIB}" \
24934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24935 maintainer-clean) \
24936 || exit 1
24938 @endif time
24942 .PHONY: configure-uudecode maybe-configure-uudecode
24943 maybe-configure-uudecode:
24944 @if uudecode
24945 maybe-configure-uudecode: configure-uudecode
24946 configure-uudecode:
24947 @: $(MAKE); $(unstage)
24948 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24950 r=`${PWD_COMMAND}`; export r; \
24951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24952 $(HOST_EXPORTS) \
24953 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24954 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24955 case $(srcdir) in \
24956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24957 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24959 esac; \
24960 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24961 libsrcdir="$$s/uudecode"; \
24962 $(SHELL) $${libsrcdir}/configure \
24963 $(HOST_CONFIGARGS) $${srcdiroption} \
24964 || exit 1
24965 @endif uudecode
24971 .PHONY: all-uudecode maybe-all-uudecode
24972 maybe-all-uudecode:
24973 @if uudecode
24974 TARGET-uudecode=all
24975 maybe-all-uudecode: all-uudecode
24976 all-uudecode: configure-uudecode
24977 @: $(MAKE); $(unstage)
24978 @r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(HOST_EXPORTS) \
24981 (cd $(HOST_SUBDIR)/uudecode && \
24982 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24983 @endif uudecode
24988 .PHONY: check-uudecode maybe-check-uudecode
24989 maybe-check-uudecode:
24990 @if uudecode
24991 maybe-check-uudecode: check-uudecode
24993 check-uudecode:
24994 @: $(MAKE); $(unstage)
24995 @r=`${PWD_COMMAND}`; export r; \
24996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24997 $(HOST_EXPORTS) \
24998 (cd $(HOST_SUBDIR)/uudecode && \
24999 $(MAKE) $(FLAGS_TO_PASS) check)
25001 @endif uudecode
25003 .PHONY: install-uudecode maybe-install-uudecode
25004 maybe-install-uudecode:
25005 @if uudecode
25006 maybe-install-uudecode: install-uudecode
25008 install-uudecode: installdirs
25009 @: $(MAKE); $(unstage)
25010 @r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 (cd $(HOST_SUBDIR)/uudecode && \
25014 $(MAKE) $(FLAGS_TO_PASS) install)
25016 @endif uudecode
25018 # Other targets (info, dvi, etc.)
25020 .PHONY: maybe-info-uudecode info-uudecode
25021 maybe-info-uudecode:
25022 @if uudecode
25023 maybe-info-uudecode: info-uudecode
25025 info-uudecode: \
25026 configure-uudecode
25027 @: $(MAKE); $(unstage)
25028 @[ -f ./uudecode/Makefile ] || exit 0; \
25029 r=`${PWD_COMMAND}`; export r; \
25030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25031 $(HOST_EXPORTS) \
25032 for flag in $(EXTRA_HOST_FLAGS) ; do \
25033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25034 done; \
25035 echo "Doing info in uudecode" ; \
25036 (cd $(HOST_SUBDIR)/uudecode && \
25037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25039 "RANLIB=$${RANLIB}" \
25040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25041 info) \
25042 || exit 1
25044 @endif uudecode
25046 .PHONY: maybe-dvi-uudecode dvi-uudecode
25047 maybe-dvi-uudecode:
25048 @if uudecode
25049 maybe-dvi-uudecode: dvi-uudecode
25051 dvi-uudecode: \
25052 configure-uudecode
25053 @: $(MAKE); $(unstage)
25054 @[ -f ./uudecode/Makefile ] || exit 0; \
25055 r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(HOST_EXPORTS) \
25058 for flag in $(EXTRA_HOST_FLAGS) ; do \
25059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25060 done; \
25061 echo "Doing dvi in uudecode" ; \
25062 (cd $(HOST_SUBDIR)/uudecode && \
25063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25065 "RANLIB=$${RANLIB}" \
25066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25067 dvi) \
25068 || exit 1
25070 @endif uudecode
25072 .PHONY: maybe-html-uudecode html-uudecode
25073 maybe-html-uudecode:
25074 @if uudecode
25075 maybe-html-uudecode: html-uudecode
25077 html-uudecode: \
25078 configure-uudecode
25079 @: $(MAKE); $(unstage)
25080 @[ -f ./uudecode/Makefile ] || exit 0; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(HOST_EXPORTS) \
25084 for flag in $(EXTRA_HOST_FLAGS) ; do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 done; \
25087 echo "Doing html in uudecode" ; \
25088 (cd $(HOST_SUBDIR)/uudecode && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25093 html) \
25094 || exit 1
25096 @endif uudecode
25098 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25099 maybe-TAGS-uudecode:
25100 @if uudecode
25101 maybe-TAGS-uudecode: TAGS-uudecode
25103 TAGS-uudecode: \
25104 configure-uudecode
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./uudecode/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing TAGS in uudecode" ; \
25114 (cd $(HOST_SUBDIR)/uudecode && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25119 TAGS) \
25120 || exit 1
25122 @endif uudecode
25124 .PHONY: maybe-install-info-uudecode install-info-uudecode
25125 maybe-install-info-uudecode:
25126 @if uudecode
25127 maybe-install-info-uudecode: install-info-uudecode
25129 install-info-uudecode: \
25130 configure-uudecode \
25131 info-uudecode
25132 @: $(MAKE); $(unstage)
25133 @[ -f ./uudecode/Makefile ] || exit 0; \
25134 r=`${PWD_COMMAND}`; export r; \
25135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25136 $(HOST_EXPORTS) \
25137 for flag in $(EXTRA_HOST_FLAGS) ; do \
25138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25139 done; \
25140 echo "Doing install-info in uudecode" ; \
25141 (cd $(HOST_SUBDIR)/uudecode && \
25142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25144 "RANLIB=$${RANLIB}" \
25145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25146 install-info) \
25147 || exit 1
25149 @endif uudecode
25151 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25152 maybe-installcheck-uudecode:
25153 @if uudecode
25154 maybe-installcheck-uudecode: installcheck-uudecode
25156 installcheck-uudecode: \
25157 configure-uudecode
25158 @: $(MAKE); $(unstage)
25159 @[ -f ./uudecode/Makefile ] || exit 0; \
25160 r=`${PWD_COMMAND}`; export r; \
25161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25162 $(HOST_EXPORTS) \
25163 for flag in $(EXTRA_HOST_FLAGS) ; do \
25164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25165 done; \
25166 echo "Doing installcheck in uudecode" ; \
25167 (cd $(HOST_SUBDIR)/uudecode && \
25168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25170 "RANLIB=$${RANLIB}" \
25171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25172 installcheck) \
25173 || exit 1
25175 @endif uudecode
25177 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25178 maybe-mostlyclean-uudecode:
25179 @if uudecode
25180 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25182 mostlyclean-uudecode:
25183 @: $(MAKE); $(unstage)
25184 @[ -f ./uudecode/Makefile ] || exit 0; \
25185 r=`${PWD_COMMAND}`; export r; \
25186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25187 $(HOST_EXPORTS) \
25188 for flag in $(EXTRA_HOST_FLAGS) ; do \
25189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25190 done; \
25191 echo "Doing mostlyclean in uudecode" ; \
25192 (cd $(HOST_SUBDIR)/uudecode && \
25193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25195 "RANLIB=$${RANLIB}" \
25196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25197 mostlyclean) \
25198 || exit 1
25200 @endif uudecode
25202 .PHONY: maybe-clean-uudecode clean-uudecode
25203 maybe-clean-uudecode:
25204 @if uudecode
25205 maybe-clean-uudecode: clean-uudecode
25207 clean-uudecode:
25208 @: $(MAKE); $(unstage)
25209 @[ -f ./uudecode/Makefile ] || exit 0; \
25210 r=`${PWD_COMMAND}`; export r; \
25211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25212 $(HOST_EXPORTS) \
25213 for flag in $(EXTRA_HOST_FLAGS) ; do \
25214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25215 done; \
25216 echo "Doing clean in uudecode" ; \
25217 (cd $(HOST_SUBDIR)/uudecode && \
25218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25220 "RANLIB=$${RANLIB}" \
25221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25222 clean) \
25223 || exit 1
25225 @endif uudecode
25227 .PHONY: maybe-distclean-uudecode distclean-uudecode
25228 maybe-distclean-uudecode:
25229 @if uudecode
25230 maybe-distclean-uudecode: distclean-uudecode
25232 distclean-uudecode:
25233 @: $(MAKE); $(unstage)
25234 @[ -f ./uudecode/Makefile ] || exit 0; \
25235 r=`${PWD_COMMAND}`; export r; \
25236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25237 $(HOST_EXPORTS) \
25238 for flag in $(EXTRA_HOST_FLAGS) ; do \
25239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25240 done; \
25241 echo "Doing distclean in uudecode" ; \
25242 (cd $(HOST_SUBDIR)/uudecode && \
25243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25245 "RANLIB=$${RANLIB}" \
25246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25247 distclean) \
25248 || exit 1
25250 @endif uudecode
25252 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25253 maybe-maintainer-clean-uudecode:
25254 @if uudecode
25255 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25257 maintainer-clean-uudecode:
25258 @: $(MAKE); $(unstage)
25259 @[ -f ./uudecode/Makefile ] || exit 0; \
25260 r=`${PWD_COMMAND}`; export r; \
25261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25262 $(HOST_EXPORTS) \
25263 for flag in $(EXTRA_HOST_FLAGS) ; do \
25264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25265 done; \
25266 echo "Doing maintainer-clean in uudecode" ; \
25267 (cd $(HOST_SUBDIR)/uudecode && \
25268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25270 "RANLIB=$${RANLIB}" \
25271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25272 maintainer-clean) \
25273 || exit 1
25275 @endif uudecode
25279 .PHONY: configure-wdiff maybe-configure-wdiff
25280 maybe-configure-wdiff:
25281 @if wdiff
25282 maybe-configure-wdiff: configure-wdiff
25283 configure-wdiff:
25284 @: $(MAKE); $(unstage)
25285 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25287 r=`${PWD_COMMAND}`; export r; \
25288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25289 $(HOST_EXPORTS) \
25290 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25291 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25292 case $(srcdir) in \
25293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25294 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25296 esac; \
25297 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25298 libsrcdir="$$s/wdiff"; \
25299 $(SHELL) $${libsrcdir}/configure \
25300 $(HOST_CONFIGARGS) $${srcdiroption} \
25301 || exit 1
25302 @endif wdiff
25308 .PHONY: all-wdiff maybe-all-wdiff
25309 maybe-all-wdiff:
25310 @if wdiff
25311 TARGET-wdiff=all
25312 maybe-all-wdiff: all-wdiff
25313 all-wdiff: configure-wdiff
25314 @: $(MAKE); $(unstage)
25315 @r=`${PWD_COMMAND}`; export r; \
25316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25317 $(HOST_EXPORTS) \
25318 (cd $(HOST_SUBDIR)/wdiff && \
25319 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25320 @endif wdiff
25325 .PHONY: check-wdiff maybe-check-wdiff
25326 maybe-check-wdiff:
25327 @if wdiff
25328 maybe-check-wdiff: check-wdiff
25330 check-wdiff:
25331 @: $(MAKE); $(unstage)
25332 @r=`${PWD_COMMAND}`; export r; \
25333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25334 $(HOST_EXPORTS) \
25335 (cd $(HOST_SUBDIR)/wdiff && \
25336 $(MAKE) $(FLAGS_TO_PASS) check)
25338 @endif wdiff
25340 .PHONY: install-wdiff maybe-install-wdiff
25341 maybe-install-wdiff:
25342 @if wdiff
25343 maybe-install-wdiff: install-wdiff
25345 install-wdiff: installdirs
25346 @: $(MAKE); $(unstage)
25347 @r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 $(HOST_EXPORTS) \
25350 (cd $(HOST_SUBDIR)/wdiff && \
25351 $(MAKE) $(FLAGS_TO_PASS) install)
25353 @endif wdiff
25355 # Other targets (info, dvi, etc.)
25357 .PHONY: maybe-info-wdiff info-wdiff
25358 maybe-info-wdiff:
25359 @if wdiff
25360 maybe-info-wdiff: info-wdiff
25362 info-wdiff: \
25363 configure-wdiff
25364 @: $(MAKE); $(unstage)
25365 @[ -f ./wdiff/Makefile ] || exit 0; \
25366 r=`${PWD_COMMAND}`; export r; \
25367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25368 $(HOST_EXPORTS) \
25369 for flag in $(EXTRA_HOST_FLAGS) ; do \
25370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25371 done; \
25372 echo "Doing info in wdiff" ; \
25373 (cd $(HOST_SUBDIR)/wdiff && \
25374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25376 "RANLIB=$${RANLIB}" \
25377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25378 info) \
25379 || exit 1
25381 @endif wdiff
25383 .PHONY: maybe-dvi-wdiff dvi-wdiff
25384 maybe-dvi-wdiff:
25385 @if wdiff
25386 maybe-dvi-wdiff: dvi-wdiff
25388 dvi-wdiff: \
25389 configure-wdiff
25390 @: $(MAKE); $(unstage)
25391 @[ -f ./wdiff/Makefile ] || exit 0; \
25392 r=`${PWD_COMMAND}`; export r; \
25393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394 $(HOST_EXPORTS) \
25395 for flag in $(EXTRA_HOST_FLAGS) ; do \
25396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25397 done; \
25398 echo "Doing dvi in wdiff" ; \
25399 (cd $(HOST_SUBDIR)/wdiff && \
25400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25402 "RANLIB=$${RANLIB}" \
25403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25404 dvi) \
25405 || exit 1
25407 @endif wdiff
25409 .PHONY: maybe-html-wdiff html-wdiff
25410 maybe-html-wdiff:
25411 @if wdiff
25412 maybe-html-wdiff: html-wdiff
25414 html-wdiff: \
25415 configure-wdiff
25416 @: $(MAKE); $(unstage)
25417 @[ -f ./wdiff/Makefile ] || exit 0; \
25418 r=`${PWD_COMMAND}`; export r; \
25419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25420 $(HOST_EXPORTS) \
25421 for flag in $(EXTRA_HOST_FLAGS) ; do \
25422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25423 done; \
25424 echo "Doing html in wdiff" ; \
25425 (cd $(HOST_SUBDIR)/wdiff && \
25426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25428 "RANLIB=$${RANLIB}" \
25429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25430 html) \
25431 || exit 1
25433 @endif wdiff
25435 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25436 maybe-TAGS-wdiff:
25437 @if wdiff
25438 maybe-TAGS-wdiff: TAGS-wdiff
25440 TAGS-wdiff: \
25441 configure-wdiff
25442 @: $(MAKE); $(unstage)
25443 @[ -f ./wdiff/Makefile ] || exit 0; \
25444 r=`${PWD_COMMAND}`; export r; \
25445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25446 $(HOST_EXPORTS) \
25447 for flag in $(EXTRA_HOST_FLAGS) ; do \
25448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 done; \
25450 echo "Doing TAGS in wdiff" ; \
25451 (cd $(HOST_SUBDIR)/wdiff && \
25452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25454 "RANLIB=$${RANLIB}" \
25455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25456 TAGS) \
25457 || exit 1
25459 @endif wdiff
25461 .PHONY: maybe-install-info-wdiff install-info-wdiff
25462 maybe-install-info-wdiff:
25463 @if wdiff
25464 maybe-install-info-wdiff: install-info-wdiff
25466 install-info-wdiff: \
25467 configure-wdiff \
25468 info-wdiff
25469 @: $(MAKE); $(unstage)
25470 @[ -f ./wdiff/Makefile ] || exit 0; \
25471 r=`${PWD_COMMAND}`; export r; \
25472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25473 $(HOST_EXPORTS) \
25474 for flag in $(EXTRA_HOST_FLAGS) ; do \
25475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25476 done; \
25477 echo "Doing install-info in wdiff" ; \
25478 (cd $(HOST_SUBDIR)/wdiff && \
25479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25481 "RANLIB=$${RANLIB}" \
25482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25483 install-info) \
25484 || exit 1
25486 @endif wdiff
25488 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25489 maybe-installcheck-wdiff:
25490 @if wdiff
25491 maybe-installcheck-wdiff: installcheck-wdiff
25493 installcheck-wdiff: \
25494 configure-wdiff
25495 @: $(MAKE); $(unstage)
25496 @[ -f ./wdiff/Makefile ] || exit 0; \
25497 r=`${PWD_COMMAND}`; export r; \
25498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25499 $(HOST_EXPORTS) \
25500 for flag in $(EXTRA_HOST_FLAGS) ; do \
25501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25502 done; \
25503 echo "Doing installcheck in wdiff" ; \
25504 (cd $(HOST_SUBDIR)/wdiff && \
25505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25507 "RANLIB=$${RANLIB}" \
25508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25509 installcheck) \
25510 || exit 1
25512 @endif wdiff
25514 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25515 maybe-mostlyclean-wdiff:
25516 @if wdiff
25517 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25519 mostlyclean-wdiff:
25520 @: $(MAKE); $(unstage)
25521 @[ -f ./wdiff/Makefile ] || exit 0; \
25522 r=`${PWD_COMMAND}`; export r; \
25523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25524 $(HOST_EXPORTS) \
25525 for flag in $(EXTRA_HOST_FLAGS) ; do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 done; \
25528 echo "Doing mostlyclean in wdiff" ; \
25529 (cd $(HOST_SUBDIR)/wdiff && \
25530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25532 "RANLIB=$${RANLIB}" \
25533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25534 mostlyclean) \
25535 || exit 1
25537 @endif wdiff
25539 .PHONY: maybe-clean-wdiff clean-wdiff
25540 maybe-clean-wdiff:
25541 @if wdiff
25542 maybe-clean-wdiff: clean-wdiff
25544 clean-wdiff:
25545 @: $(MAKE); $(unstage)
25546 @[ -f ./wdiff/Makefile ] || exit 0; \
25547 r=`${PWD_COMMAND}`; export r; \
25548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 $(HOST_EXPORTS) \
25550 for flag in $(EXTRA_HOST_FLAGS) ; do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 done; \
25553 echo "Doing clean in wdiff" ; \
25554 (cd $(HOST_SUBDIR)/wdiff && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25557 "RANLIB=$${RANLIB}" \
25558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25559 clean) \
25560 || exit 1
25562 @endif wdiff
25564 .PHONY: maybe-distclean-wdiff distclean-wdiff
25565 maybe-distclean-wdiff:
25566 @if wdiff
25567 maybe-distclean-wdiff: distclean-wdiff
25569 distclean-wdiff:
25570 @: $(MAKE); $(unstage)
25571 @[ -f ./wdiff/Makefile ] || exit 0; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(HOST_EXPORTS) \
25575 for flag in $(EXTRA_HOST_FLAGS) ; do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 echo "Doing distclean in wdiff" ; \
25579 (cd $(HOST_SUBDIR)/wdiff && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584 distclean) \
25585 || exit 1
25587 @endif wdiff
25589 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25590 maybe-maintainer-clean-wdiff:
25591 @if wdiff
25592 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25594 maintainer-clean-wdiff:
25595 @: $(MAKE); $(unstage)
25596 @[ -f ./wdiff/Makefile ] || exit 0; \
25597 r=`${PWD_COMMAND}`; export r; \
25598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25599 $(HOST_EXPORTS) \
25600 for flag in $(EXTRA_HOST_FLAGS) ; do \
25601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25602 done; \
25603 echo "Doing maintainer-clean in wdiff" ; \
25604 (cd $(HOST_SUBDIR)/wdiff && \
25605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25607 "RANLIB=$${RANLIB}" \
25608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25609 maintainer-clean) \
25610 || exit 1
25612 @endif wdiff
25616 .PHONY: configure-zip maybe-configure-zip
25617 maybe-configure-zip:
25618 @if zip
25619 maybe-configure-zip: configure-zip
25620 configure-zip:
25621 @: $(MAKE); $(unstage)
25622 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25624 r=`${PWD_COMMAND}`; export r; \
25625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25626 $(HOST_EXPORTS) \
25627 echo Configuring in $(HOST_SUBDIR)/zip; \
25628 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25629 case $(srcdir) in \
25630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25631 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25633 esac; \
25634 srcdiroption="--srcdir=$${topdir}/zip"; \
25635 libsrcdir="$$s/zip"; \
25636 $(SHELL) $${libsrcdir}/configure \
25637 $(HOST_CONFIGARGS) $${srcdiroption} \
25638 || exit 1
25639 @endif zip
25645 .PHONY: all-zip maybe-all-zip
25646 maybe-all-zip:
25647 @if zip
25648 TARGET-zip=all
25649 maybe-all-zip: all-zip
25650 all-zip: configure-zip
25651 @: $(MAKE); $(unstage)
25652 @r=`${PWD_COMMAND}`; export r; \
25653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25654 $(HOST_EXPORTS) \
25655 (cd $(HOST_SUBDIR)/zip && \
25656 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25657 @endif zip
25662 .PHONY: check-zip maybe-check-zip
25663 maybe-check-zip:
25664 @if zip
25665 maybe-check-zip: check-zip
25667 # This module is only tested in a native toolchain.
25668 check-zip:
25669 @: $(MAKE); $(unstage)
25670 @if [ '$(host)' = '$(target)' ] ; then \
25671 r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(HOST_EXPORTS) \
25674 (cd $(HOST_SUBDIR)/zip && \
25675 $(MAKE) $(FLAGS_TO_PASS) check); \
25678 @endif zip
25680 .PHONY: install-zip maybe-install-zip
25681 maybe-install-zip:
25682 @if zip
25683 maybe-install-zip: install-zip
25685 install-zip: installdirs
25686 @: $(MAKE); $(unstage)
25687 @r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(HOST_EXPORTS) \
25690 (cd $(HOST_SUBDIR)/zip && \
25691 $(MAKE) $(FLAGS_TO_PASS) install)
25693 @endif zip
25695 # Other targets (info, dvi, etc.)
25697 .PHONY: maybe-info-zip info-zip
25698 maybe-info-zip:
25699 @if zip
25700 maybe-info-zip: info-zip
25702 info-zip: \
25703 configure-zip
25704 @: $(MAKE); $(unstage)
25705 @[ -f ./zip/Makefile ] || exit 0; \
25706 r=`${PWD_COMMAND}`; export r; \
25707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25708 $(HOST_EXPORTS) \
25709 for flag in $(EXTRA_HOST_FLAGS) ; do \
25710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25711 done; \
25712 echo "Doing info in zip" ; \
25713 (cd $(HOST_SUBDIR)/zip && \
25714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25716 "RANLIB=$${RANLIB}" \
25717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25718 info) \
25719 || exit 1
25721 @endif zip
25723 .PHONY: maybe-dvi-zip dvi-zip
25724 maybe-dvi-zip:
25725 @if zip
25726 maybe-dvi-zip: dvi-zip
25728 dvi-zip: \
25729 configure-zip
25730 @: $(MAKE); $(unstage)
25731 @[ -f ./zip/Makefile ] || exit 0; \
25732 r=`${PWD_COMMAND}`; export r; \
25733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25734 $(HOST_EXPORTS) \
25735 for flag in $(EXTRA_HOST_FLAGS) ; do \
25736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25737 done; \
25738 echo "Doing dvi in zip" ; \
25739 (cd $(HOST_SUBDIR)/zip && \
25740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25742 "RANLIB=$${RANLIB}" \
25743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25744 dvi) \
25745 || exit 1
25747 @endif zip
25749 .PHONY: maybe-html-zip html-zip
25750 maybe-html-zip:
25751 @if zip
25752 maybe-html-zip: html-zip
25754 html-zip: \
25755 configure-zip
25756 @: $(MAKE); $(unstage)
25757 @[ -f ./zip/Makefile ] || exit 0; \
25758 r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(HOST_EXPORTS) \
25761 for flag in $(EXTRA_HOST_FLAGS) ; do \
25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25763 done; \
25764 echo "Doing html in zip" ; \
25765 (cd $(HOST_SUBDIR)/zip && \
25766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25768 "RANLIB=$${RANLIB}" \
25769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25770 html) \
25771 || exit 1
25773 @endif zip
25775 .PHONY: maybe-TAGS-zip TAGS-zip
25776 maybe-TAGS-zip:
25777 @if zip
25778 maybe-TAGS-zip: TAGS-zip
25780 TAGS-zip: \
25781 configure-zip
25782 @: $(MAKE); $(unstage)
25783 @[ -f ./zip/Makefile ] || exit 0; \
25784 r=`${PWD_COMMAND}`; export r; \
25785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25786 $(HOST_EXPORTS) \
25787 for flag in $(EXTRA_HOST_FLAGS) ; do \
25788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25789 done; \
25790 echo "Doing TAGS in zip" ; \
25791 (cd $(HOST_SUBDIR)/zip && \
25792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25794 "RANLIB=$${RANLIB}" \
25795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25796 TAGS) \
25797 || exit 1
25799 @endif zip
25801 .PHONY: maybe-install-info-zip install-info-zip
25802 maybe-install-info-zip:
25803 @if zip
25804 maybe-install-info-zip: install-info-zip
25806 install-info-zip: \
25807 configure-zip \
25808 info-zip
25809 @: $(MAKE); $(unstage)
25810 @[ -f ./zip/Makefile ] || exit 0; \
25811 r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(HOST_EXPORTS) \
25814 for flag in $(EXTRA_HOST_FLAGS) ; do \
25815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25816 done; \
25817 echo "Doing install-info in zip" ; \
25818 (cd $(HOST_SUBDIR)/zip && \
25819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25821 "RANLIB=$${RANLIB}" \
25822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25823 install-info) \
25824 || exit 1
25826 @endif zip
25828 .PHONY: maybe-installcheck-zip installcheck-zip
25829 maybe-installcheck-zip:
25830 @if zip
25831 maybe-installcheck-zip: installcheck-zip
25833 installcheck-zip: \
25834 configure-zip
25835 @: $(MAKE); $(unstage)
25836 @[ -f ./zip/Makefile ] || exit 0; \
25837 r=`${PWD_COMMAND}`; export r; \
25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25839 $(HOST_EXPORTS) \
25840 for flag in $(EXTRA_HOST_FLAGS) ; do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842 done; \
25843 echo "Doing installcheck in zip" ; \
25844 (cd $(HOST_SUBDIR)/zip && \
25845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25847 "RANLIB=$${RANLIB}" \
25848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25849 installcheck) \
25850 || exit 1
25852 @endif zip
25854 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25855 maybe-mostlyclean-zip:
25856 @if zip
25857 maybe-mostlyclean-zip: mostlyclean-zip
25859 mostlyclean-zip:
25860 @: $(MAKE); $(unstage)
25861 @[ -f ./zip/Makefile ] || exit 0; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(HOST_EXPORTS) \
25865 for flag in $(EXTRA_HOST_FLAGS) ; do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 done; \
25868 echo "Doing mostlyclean in zip" ; \
25869 (cd $(HOST_SUBDIR)/zip && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25874 mostlyclean) \
25875 || exit 1
25877 @endif zip
25879 .PHONY: maybe-clean-zip clean-zip
25880 maybe-clean-zip:
25881 @if zip
25882 maybe-clean-zip: clean-zip
25884 clean-zip:
25885 @: $(MAKE); $(unstage)
25886 @[ -f ./zip/Makefile ] || exit 0; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(HOST_EXPORTS) \
25890 for flag in $(EXTRA_HOST_FLAGS) ; do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892 done; \
25893 echo "Doing clean in zip" ; \
25894 (cd $(HOST_SUBDIR)/zip && \
25895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25897 "RANLIB=$${RANLIB}" \
25898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25899 clean) \
25900 || exit 1
25902 @endif zip
25904 .PHONY: maybe-distclean-zip distclean-zip
25905 maybe-distclean-zip:
25906 @if zip
25907 maybe-distclean-zip: distclean-zip
25909 distclean-zip:
25910 @: $(MAKE); $(unstage)
25911 @[ -f ./zip/Makefile ] || exit 0; \
25912 r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25914 $(HOST_EXPORTS) \
25915 for flag in $(EXTRA_HOST_FLAGS) ; do \
25916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917 done; \
25918 echo "Doing distclean in zip" ; \
25919 (cd $(HOST_SUBDIR)/zip && \
25920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25922 "RANLIB=$${RANLIB}" \
25923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25924 distclean) \
25925 || exit 1
25927 @endif zip
25929 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25930 maybe-maintainer-clean-zip:
25931 @if zip
25932 maybe-maintainer-clean-zip: maintainer-clean-zip
25934 maintainer-clean-zip:
25935 @: $(MAKE); $(unstage)
25936 @[ -f ./zip/Makefile ] || exit 0; \
25937 r=`${PWD_COMMAND}`; export r; \
25938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25939 $(HOST_EXPORTS) \
25940 for flag in $(EXTRA_HOST_FLAGS) ; do \
25941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25942 done; \
25943 echo "Doing maintainer-clean in zip" ; \
25944 (cd $(HOST_SUBDIR)/zip && \
25945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25947 "RANLIB=$${RANLIB}" \
25948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25949 maintainer-clean) \
25950 || exit 1
25952 @endif zip
25956 .PHONY: configure-zlib maybe-configure-zlib
25957 maybe-configure-zlib:
25958 @if zlib
25959 maybe-configure-zlib: configure-zlib
25960 configure-zlib:
25961 @test -f stage_last && exit 0; \
25962 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25964 r=`${PWD_COMMAND}`; export r; \
25965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25966 $(HOST_EXPORTS) \
25967 echo Configuring in $(HOST_SUBDIR)/zlib; \
25968 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25969 case $(srcdir) in \
25970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25971 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25973 esac; \
25974 srcdiroption="--srcdir=$${topdir}/zlib"; \
25975 libsrcdir="$$s/zlib"; \
25976 $(SHELL) $${libsrcdir}/configure \
25977 $(HOST_CONFIGARGS) $${srcdiroption} \
25978 || exit 1
25979 @endif zlib
25983 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25984 maybe-configure-stage1-zlib:
25985 @if zlib-bootstrap
25986 maybe-configure-stage1-zlib: configure-stage1-zlib
25987 configure-stage1-zlib:
25988 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25990 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25991 $(HOST_EXPORTS) \
25992 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25994 cd $(HOST_SUBDIR)/zlib || exit 1; \
25995 case $(srcdir) in \
25996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25997 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25999 esac; \
26000 srcdiroption="--srcdir=$${topdir}/zlib"; \
26001 libsrcdir="$$s/zlib"; \
26002 $(SHELL) $${libsrcdir}/configure \
26003 $(HOST_CONFIGARGS) $${srcdiroption} \
26004 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26005 @endif zlib-bootstrap
26007 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26008 maybe-configure-stage2-zlib:
26009 @if zlib-bootstrap
26010 maybe-configure-stage2-zlib: configure-stage2-zlib
26011 configure-stage2-zlib:
26012 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26014 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26015 $(HOST_EXPORTS) \
26016 $(POSTSTAGE1_HOST_EXPORTS) \
26017 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26019 cd $(HOST_SUBDIR)/zlib || exit 1; \
26020 case $(srcdir) in \
26021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26022 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26024 esac; \
26025 srcdiroption="--srcdir=$${topdir}/zlib"; \
26026 libsrcdir="$$s/zlib"; \
26027 $(SHELL) $${libsrcdir}/configure \
26028 $(HOST_CONFIGARGS) $${srcdiroption} \
26029 @stage2_werror_flag@
26030 @endif zlib-bootstrap
26032 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26033 maybe-configure-stage3-zlib:
26034 @if zlib-bootstrap
26035 maybe-configure-stage3-zlib: configure-stage3-zlib
26036 configure-stage3-zlib:
26037 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26038 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26039 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26040 $(HOST_EXPORTS) \
26041 $(POSTSTAGE1_HOST_EXPORTS) \
26042 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26044 cd $(HOST_SUBDIR)/zlib || exit 1; \
26045 case $(srcdir) in \
26046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26047 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26049 esac; \
26050 srcdiroption="--srcdir=$${topdir}/zlib"; \
26051 libsrcdir="$$s/zlib"; \
26052 $(SHELL) $${libsrcdir}/configure \
26053 $(HOST_CONFIGARGS) $${srcdiroption} \
26054 @stage2_werror_flag@
26055 @endif zlib-bootstrap
26057 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26058 maybe-configure-stage4-zlib:
26059 @if zlib-bootstrap
26060 maybe-configure-stage4-zlib: configure-stage4-zlib
26061 configure-stage4-zlib:
26062 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26064 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26065 $(HOST_EXPORTS) \
26066 $(POSTSTAGE1_HOST_EXPORTS) \
26067 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26069 cd $(HOST_SUBDIR)/zlib || exit 1; \
26070 case $(srcdir) in \
26071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26072 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26074 esac; \
26075 srcdiroption="--srcdir=$${topdir}/zlib"; \
26076 libsrcdir="$$s/zlib"; \
26077 $(SHELL) $${libsrcdir}/configure \
26078 $(HOST_CONFIGARGS) $${srcdiroption} \
26079 @stage2_werror_flag@
26080 @endif zlib-bootstrap
26082 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26083 maybe-configure-stageprofile-zlib:
26084 @if zlib-bootstrap
26085 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26086 configure-stageprofile-zlib:
26087 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26089 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26090 $(HOST_EXPORTS) \
26091 $(POSTSTAGE1_HOST_EXPORTS) \
26092 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26094 cd $(HOST_SUBDIR)/zlib || exit 1; \
26095 case $(srcdir) in \
26096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26097 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26099 esac; \
26100 srcdiroption="--srcdir=$${topdir}/zlib"; \
26101 libsrcdir="$$s/zlib"; \
26102 $(SHELL) $${libsrcdir}/configure \
26103 $(HOST_CONFIGARGS) $${srcdiroption} \
26104 @stage2_werror_flag@
26105 @endif zlib-bootstrap
26107 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26108 maybe-configure-stagefeedback-zlib:
26109 @if zlib-bootstrap
26110 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26111 configure-stagefeedback-zlib:
26112 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26114 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26115 $(HOST_EXPORTS) \
26116 $(POSTSTAGE1_HOST_EXPORTS) \
26117 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26119 cd $(HOST_SUBDIR)/zlib || exit 1; \
26120 case $(srcdir) in \
26121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26122 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26124 esac; \
26125 srcdiroption="--srcdir=$${topdir}/zlib"; \
26126 libsrcdir="$$s/zlib"; \
26127 $(SHELL) $${libsrcdir}/configure \
26128 $(HOST_CONFIGARGS) $${srcdiroption} \
26129 @stage2_werror_flag@
26130 @endif zlib-bootstrap
26136 .PHONY: all-zlib maybe-all-zlib
26137 maybe-all-zlib:
26138 @if zlib
26139 TARGET-zlib=all
26140 maybe-all-zlib: all-zlib
26141 all-zlib: configure-zlib
26142 @test -f stage_last && exit 0; \
26143 r=`${PWD_COMMAND}`; export r; \
26144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26145 $(HOST_EXPORTS) \
26146 (cd $(HOST_SUBDIR)/zlib && \
26147 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26148 @endif zlib
26152 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26153 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26154 maybe-all-stage1-zlib:
26155 maybe-clean-stage1-zlib:
26156 @if zlib-bootstrap
26157 maybe-all-stage1-zlib: all-stage1-zlib
26158 all-stage1: all-stage1-zlib
26159 TARGET-stage1-zlib = $(TARGET-zlib)
26160 all-stage1-zlib: configure-stage1-zlib
26161 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26162 @r=`${PWD_COMMAND}`; export r; \
26163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164 $(HOST_EXPORTS) \
26165 cd $(HOST_SUBDIR)/zlib && \
26166 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26167 $(TARGET-stage1-zlib)
26169 maybe-clean-stage1-zlib: clean-stage1-zlib
26170 clean-stage1: clean-stage1-zlib
26171 clean-stage1-zlib:
26172 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26173 || exit 0 ; \
26174 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26175 cd $(HOST_SUBDIR)/zlib && \
26176 $(MAKE) $(FLAGS_TO_PASS) \
26177 CFLAGS="$(STAGE1_CFLAGS)" clean
26178 @endif zlib-bootstrap
26181 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26182 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26183 maybe-all-stage2-zlib:
26184 maybe-clean-stage2-zlib:
26185 @if zlib-bootstrap
26186 maybe-all-stage2-zlib: all-stage2-zlib
26187 all-stage2: all-stage2-zlib
26188 TARGET-stage2-zlib = $(TARGET-zlib)
26189 all-stage2-zlib: configure-stage2-zlib
26190 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26191 @r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193 $(HOST_EXPORTS) \
26194 $(POSTSTAGE1_HOST_EXPORTS) \
26195 cd $(HOST_SUBDIR)/zlib && \
26196 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26197 $(TARGET-stage2-zlib)
26199 maybe-clean-stage2-zlib: clean-stage2-zlib
26200 clean-stage2: clean-stage2-zlib
26201 clean-stage2-zlib:
26202 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26203 || exit 0 ; \
26204 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26205 cd $(HOST_SUBDIR)/zlib && \
26206 $(MAKE) $(FLAGS_TO_PASS) \
26207 $(POSTSTAGE1_FLAGS_TO_PASS) \
26208 clean
26209 @endif zlib-bootstrap
26212 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26213 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26214 maybe-all-stage3-zlib:
26215 maybe-clean-stage3-zlib:
26216 @if zlib-bootstrap
26217 maybe-all-stage3-zlib: all-stage3-zlib
26218 all-stage3: all-stage3-zlib
26219 TARGET-stage3-zlib = $(TARGET-zlib)
26220 all-stage3-zlib: configure-stage3-zlib
26221 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26222 @r=`${PWD_COMMAND}`; export r; \
26223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26224 $(HOST_EXPORTS) \
26225 $(POSTSTAGE1_HOST_EXPORTS) \
26226 cd $(HOST_SUBDIR)/zlib && \
26227 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26228 $(TARGET-stage3-zlib)
26230 maybe-clean-stage3-zlib: clean-stage3-zlib
26231 clean-stage3: clean-stage3-zlib
26232 clean-stage3-zlib:
26233 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26234 || exit 0 ; \
26235 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26236 cd $(HOST_SUBDIR)/zlib && \
26237 $(MAKE) $(FLAGS_TO_PASS) \
26238 $(POSTSTAGE1_FLAGS_TO_PASS) \
26239 clean
26240 @endif zlib-bootstrap
26243 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26244 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26245 maybe-all-stage4-zlib:
26246 maybe-clean-stage4-zlib:
26247 @if zlib-bootstrap
26248 maybe-all-stage4-zlib: all-stage4-zlib
26249 all-stage4: all-stage4-zlib
26250 TARGET-stage4-zlib = $(TARGET-zlib)
26251 all-stage4-zlib: configure-stage4-zlib
26252 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26253 @r=`${PWD_COMMAND}`; export r; \
26254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26255 $(HOST_EXPORTS) \
26256 $(POSTSTAGE1_HOST_EXPORTS) \
26257 cd $(HOST_SUBDIR)/zlib && \
26258 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26259 $(TARGET-stage4-zlib)
26261 maybe-clean-stage4-zlib: clean-stage4-zlib
26262 clean-stage4: clean-stage4-zlib
26263 clean-stage4-zlib:
26264 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26265 || exit 0 ; \
26266 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26267 cd $(HOST_SUBDIR)/zlib && \
26268 $(MAKE) $(FLAGS_TO_PASS) \
26269 $(POSTSTAGE1_FLAGS_TO_PASS) \
26270 clean
26271 @endif zlib-bootstrap
26274 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26275 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26276 maybe-all-stageprofile-zlib:
26277 maybe-clean-stageprofile-zlib:
26278 @if zlib-bootstrap
26279 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26280 all-stageprofile: all-stageprofile-zlib
26281 TARGET-stageprofile-zlib = $(TARGET-zlib)
26282 all-stageprofile-zlib: configure-stageprofile-zlib
26283 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26284 @r=`${PWD_COMMAND}`; export r; \
26285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26286 $(HOST_EXPORTS) \
26287 $(POSTSTAGE1_HOST_EXPORTS) \
26288 cd $(HOST_SUBDIR)/zlib && \
26289 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26290 $(TARGET-stageprofile-zlib)
26292 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26293 clean-stageprofile: clean-stageprofile-zlib
26294 clean-stageprofile-zlib:
26295 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26296 || exit 0 ; \
26297 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26298 cd $(HOST_SUBDIR)/zlib && \
26299 $(MAKE) $(FLAGS_TO_PASS) \
26300 $(POSTSTAGE1_FLAGS_TO_PASS) \
26301 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26302 @endif zlib-bootstrap
26305 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26306 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26307 maybe-all-stagefeedback-zlib:
26308 maybe-clean-stagefeedback-zlib:
26309 @if zlib-bootstrap
26310 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26311 all-stagefeedback: all-stagefeedback-zlib
26312 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26313 all-stagefeedback-zlib: configure-stagefeedback-zlib
26314 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26315 @r=`${PWD_COMMAND}`; export r; \
26316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26317 $(HOST_EXPORTS) \
26318 $(POSTSTAGE1_HOST_EXPORTS) \
26319 cd $(HOST_SUBDIR)/zlib && \
26320 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26321 $(TARGET-stagefeedback-zlib)
26323 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26324 clean-stagefeedback: clean-stagefeedback-zlib
26325 clean-stagefeedback-zlib:
26326 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26327 || exit 0 ; \
26328 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26329 cd $(HOST_SUBDIR)/zlib && \
26330 $(MAKE) $(FLAGS_TO_PASS) \
26331 $(POSTSTAGE1_FLAGS_TO_PASS) \
26332 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26333 @endif zlib-bootstrap
26339 .PHONY: check-zlib maybe-check-zlib
26340 maybe-check-zlib:
26341 @if zlib
26342 maybe-check-zlib: check-zlib
26344 check-zlib:
26346 @endif zlib
26348 .PHONY: install-zlib maybe-install-zlib
26349 maybe-install-zlib:
26350 @if zlib
26351 maybe-install-zlib: install-zlib
26353 install-zlib:
26355 @endif zlib
26357 # Other targets (info, dvi, etc.)
26359 .PHONY: maybe-info-zlib info-zlib
26360 maybe-info-zlib:
26361 @if zlib
26362 maybe-info-zlib: info-zlib
26364 info-zlib: \
26365 configure-zlib
26366 @[ -f ./zlib/Makefile ] || exit 0; \
26367 r=`${PWD_COMMAND}`; export r; \
26368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26369 $(HOST_EXPORTS) \
26370 for flag in $(EXTRA_HOST_FLAGS) ; do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26372 done; \
26373 echo "Doing info in zlib" ; \
26374 (cd $(HOST_SUBDIR)/zlib && \
26375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26377 "RANLIB=$${RANLIB}" \
26378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26379 info) \
26380 || exit 1
26382 @endif zlib
26384 .PHONY: maybe-dvi-zlib dvi-zlib
26385 maybe-dvi-zlib:
26386 @if zlib
26387 maybe-dvi-zlib: dvi-zlib
26389 dvi-zlib: \
26390 configure-zlib
26391 @[ -f ./zlib/Makefile ] || exit 0; \
26392 r=`${PWD_COMMAND}`; export r; \
26393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(HOST_EXPORTS) \
26395 for flag in $(EXTRA_HOST_FLAGS) ; do \
26396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26397 done; \
26398 echo "Doing dvi in zlib" ; \
26399 (cd $(HOST_SUBDIR)/zlib && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26404 dvi) \
26405 || exit 1
26407 @endif zlib
26409 .PHONY: maybe-html-zlib html-zlib
26410 maybe-html-zlib:
26411 @if zlib
26412 maybe-html-zlib: html-zlib
26414 html-zlib: \
26415 configure-zlib
26416 @[ -f ./zlib/Makefile ] || exit 0; \
26417 r=`${PWD_COMMAND}`; export r; \
26418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26419 $(HOST_EXPORTS) \
26420 for flag in $(EXTRA_HOST_FLAGS) ; do \
26421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26422 done; \
26423 echo "Doing html in zlib" ; \
26424 (cd $(HOST_SUBDIR)/zlib && \
26425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26427 "RANLIB=$${RANLIB}" \
26428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26429 html) \
26430 || exit 1
26432 @endif zlib
26434 .PHONY: maybe-TAGS-zlib TAGS-zlib
26435 maybe-TAGS-zlib:
26436 @if zlib
26437 maybe-TAGS-zlib: TAGS-zlib
26439 TAGS-zlib: \
26440 configure-zlib
26441 @[ -f ./zlib/Makefile ] || exit 0; \
26442 r=`${PWD_COMMAND}`; export r; \
26443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26444 $(HOST_EXPORTS) \
26445 for flag in $(EXTRA_HOST_FLAGS) ; do \
26446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26447 done; \
26448 echo "Doing TAGS in zlib" ; \
26449 (cd $(HOST_SUBDIR)/zlib && \
26450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26452 "RANLIB=$${RANLIB}" \
26453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26454 TAGS) \
26455 || exit 1
26457 @endif zlib
26459 .PHONY: maybe-install-info-zlib install-info-zlib
26460 maybe-install-info-zlib:
26461 @if zlib
26462 maybe-install-info-zlib: install-info-zlib
26464 install-info-zlib: \
26465 configure-zlib \
26466 info-zlib
26467 @[ -f ./zlib/Makefile ] || exit 0; \
26468 r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 $(HOST_EXPORTS) \
26471 for flag in $(EXTRA_HOST_FLAGS) ; do \
26472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26473 done; \
26474 echo "Doing install-info in zlib" ; \
26475 (cd $(HOST_SUBDIR)/zlib && \
26476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26478 "RANLIB=$${RANLIB}" \
26479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26480 install-info) \
26481 || exit 1
26483 @endif zlib
26485 .PHONY: maybe-installcheck-zlib installcheck-zlib
26486 maybe-installcheck-zlib:
26487 @if zlib
26488 maybe-installcheck-zlib: installcheck-zlib
26490 installcheck-zlib: \
26491 configure-zlib
26492 @[ -f ./zlib/Makefile ] || exit 0; \
26493 r=`${PWD_COMMAND}`; export r; \
26494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26495 $(HOST_EXPORTS) \
26496 for flag in $(EXTRA_HOST_FLAGS) ; do \
26497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26498 done; \
26499 echo "Doing installcheck in zlib" ; \
26500 (cd $(HOST_SUBDIR)/zlib && \
26501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26503 "RANLIB=$${RANLIB}" \
26504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26505 installcheck) \
26506 || exit 1
26508 @endif zlib
26510 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26511 maybe-mostlyclean-zlib:
26512 @if zlib
26513 maybe-mostlyclean-zlib: mostlyclean-zlib
26515 mostlyclean-zlib:
26516 @[ -f ./zlib/Makefile ] || exit 0; \
26517 r=`${PWD_COMMAND}`; export r; \
26518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26519 $(HOST_EXPORTS) \
26520 for flag in $(EXTRA_HOST_FLAGS) ; do \
26521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26522 done; \
26523 echo "Doing mostlyclean in zlib" ; \
26524 (cd $(HOST_SUBDIR)/zlib && \
26525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26527 "RANLIB=$${RANLIB}" \
26528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26529 mostlyclean) \
26530 || exit 1
26532 @endif zlib
26534 .PHONY: maybe-clean-zlib clean-zlib
26535 maybe-clean-zlib:
26536 @if zlib
26537 maybe-clean-zlib: clean-zlib
26539 clean-zlib:
26540 @[ -f ./zlib/Makefile ] || exit 0; \
26541 r=`${PWD_COMMAND}`; export r; \
26542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26543 $(HOST_EXPORTS) \
26544 for flag in $(EXTRA_HOST_FLAGS) ; do \
26545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26546 done; \
26547 echo "Doing clean in zlib" ; \
26548 (cd $(HOST_SUBDIR)/zlib && \
26549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26551 "RANLIB=$${RANLIB}" \
26552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26553 clean) \
26554 || exit 1
26556 @endif zlib
26558 .PHONY: maybe-distclean-zlib distclean-zlib
26559 maybe-distclean-zlib:
26560 @if zlib
26561 maybe-distclean-zlib: distclean-zlib
26563 distclean-zlib:
26564 @[ -f ./zlib/Makefile ] || exit 0; \
26565 r=`${PWD_COMMAND}`; export r; \
26566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26567 $(HOST_EXPORTS) \
26568 for flag in $(EXTRA_HOST_FLAGS) ; do \
26569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26570 done; \
26571 echo "Doing distclean in zlib" ; \
26572 (cd $(HOST_SUBDIR)/zlib && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26577 distclean) \
26578 || exit 1
26580 @endif zlib
26582 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26583 maybe-maintainer-clean-zlib:
26584 @if zlib
26585 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26587 maintainer-clean-zlib:
26588 @[ -f ./zlib/Makefile ] || exit 0; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 $(HOST_EXPORTS) \
26592 for flag in $(EXTRA_HOST_FLAGS) ; do \
26593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26594 done; \
26595 echo "Doing maintainer-clean in zlib" ; \
26596 (cd $(HOST_SUBDIR)/zlib && \
26597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26599 "RANLIB=$${RANLIB}" \
26600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26601 maintainer-clean) \
26602 || exit 1
26604 @endif zlib
26608 .PHONY: configure-gdb maybe-configure-gdb
26609 maybe-configure-gdb:
26610 @if gdb
26611 maybe-configure-gdb: configure-gdb
26612 configure-gdb:
26613 @: $(MAKE); $(unstage)
26614 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26616 r=`${PWD_COMMAND}`; export r; \
26617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26618 $(HOST_EXPORTS) \
26619 echo Configuring in $(HOST_SUBDIR)/gdb; \
26620 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26621 case $(srcdir) in \
26622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26623 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26625 esac; \
26626 srcdiroption="--srcdir=$${topdir}/gdb"; \
26627 libsrcdir="$$s/gdb"; \
26628 $(SHELL) $${libsrcdir}/configure \
26629 $(HOST_CONFIGARGS) $${srcdiroption} \
26630 || exit 1
26631 @endif gdb
26637 .PHONY: all-gdb maybe-all-gdb
26638 maybe-all-gdb:
26639 @if gdb
26640 TARGET-gdb=all
26641 maybe-all-gdb: all-gdb
26642 all-gdb: configure-gdb
26643 @: $(MAKE); $(unstage)
26644 @r=`${PWD_COMMAND}`; export r; \
26645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26646 $(HOST_EXPORTS) \
26647 (cd $(HOST_SUBDIR)/gdb && \
26648 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26649 @endif gdb
26654 .PHONY: check-gdb maybe-check-gdb
26655 maybe-check-gdb:
26656 @if gdb
26657 maybe-check-gdb: check-gdb
26659 check-gdb:
26660 @: $(MAKE); $(unstage)
26661 @r=`${PWD_COMMAND}`; export r; \
26662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26663 $(HOST_EXPORTS) \
26664 (cd $(HOST_SUBDIR)/gdb && \
26665 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26667 @endif gdb
26669 .PHONY: install-gdb maybe-install-gdb
26670 maybe-install-gdb:
26671 @if gdb
26672 maybe-install-gdb: install-gdb
26674 install-gdb: installdirs
26675 @: $(MAKE); $(unstage)
26676 @r=`${PWD_COMMAND}`; export r; \
26677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 $(HOST_EXPORTS) \
26679 (cd $(HOST_SUBDIR)/gdb && \
26680 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26682 @endif gdb
26684 # Other targets (info, dvi, etc.)
26686 .PHONY: maybe-info-gdb info-gdb
26687 maybe-info-gdb:
26688 @if gdb
26689 maybe-info-gdb: info-gdb
26691 info-gdb: \
26692 configure-gdb
26693 @: $(MAKE); $(unstage)
26694 @[ -f ./gdb/Makefile ] || exit 0; \
26695 r=`${PWD_COMMAND}`; export r; \
26696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26697 $(HOST_EXPORTS) \
26698 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 done; \
26701 echo "Doing info in gdb" ; \
26702 (cd $(HOST_SUBDIR)/gdb && \
26703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26705 "RANLIB=$${RANLIB}" \
26706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26707 info) \
26708 || exit 1
26710 @endif gdb
26712 .PHONY: maybe-dvi-gdb dvi-gdb
26713 maybe-dvi-gdb:
26714 @if gdb
26715 maybe-dvi-gdb: dvi-gdb
26717 dvi-gdb: \
26718 configure-gdb
26719 @: $(MAKE); $(unstage)
26720 @[ -f ./gdb/Makefile ] || exit 0; \
26721 r=`${PWD_COMMAND}`; export r; \
26722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26723 $(HOST_EXPORTS) \
26724 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26726 done; \
26727 echo "Doing dvi in gdb" ; \
26728 (cd $(HOST_SUBDIR)/gdb && \
26729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26731 "RANLIB=$${RANLIB}" \
26732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26733 dvi) \
26734 || exit 1
26736 @endif gdb
26738 .PHONY: maybe-html-gdb html-gdb
26739 maybe-html-gdb:
26740 @if gdb
26741 maybe-html-gdb: html-gdb
26743 html-gdb: \
26744 configure-gdb
26745 @: $(MAKE); $(unstage)
26746 @[ -f ./gdb/Makefile ] || exit 0; \
26747 r=`${PWD_COMMAND}`; export r; \
26748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26749 $(HOST_EXPORTS) \
26750 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26752 done; \
26753 echo "Doing html in gdb" ; \
26754 (cd $(HOST_SUBDIR)/gdb && \
26755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26757 "RANLIB=$${RANLIB}" \
26758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26759 html) \
26760 || exit 1
26762 @endif gdb
26764 .PHONY: maybe-TAGS-gdb TAGS-gdb
26765 maybe-TAGS-gdb:
26766 @if gdb
26767 maybe-TAGS-gdb: TAGS-gdb
26769 TAGS-gdb: \
26770 configure-gdb
26771 @: $(MAKE); $(unstage)
26772 @[ -f ./gdb/Makefile ] || exit 0; \
26773 r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 $(HOST_EXPORTS) \
26776 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26778 done; \
26779 echo "Doing TAGS in gdb" ; \
26780 (cd $(HOST_SUBDIR)/gdb && \
26781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26783 "RANLIB=$${RANLIB}" \
26784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26785 TAGS) \
26786 || exit 1
26788 @endif gdb
26790 .PHONY: maybe-install-info-gdb install-info-gdb
26791 maybe-install-info-gdb:
26792 @if gdb
26793 maybe-install-info-gdb: install-info-gdb
26795 install-info-gdb: \
26796 configure-gdb \
26797 info-gdb
26798 @: $(MAKE); $(unstage)
26799 @[ -f ./gdb/Makefile ] || exit 0; \
26800 r=`${PWD_COMMAND}`; export r; \
26801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26802 $(HOST_EXPORTS) \
26803 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26805 done; \
26806 echo "Doing install-info in gdb" ; \
26807 (cd $(HOST_SUBDIR)/gdb && \
26808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26810 "RANLIB=$${RANLIB}" \
26811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26812 install-info) \
26813 || exit 1
26815 @endif gdb
26817 .PHONY: maybe-installcheck-gdb installcheck-gdb
26818 maybe-installcheck-gdb:
26819 @if gdb
26820 maybe-installcheck-gdb: installcheck-gdb
26822 installcheck-gdb: \
26823 configure-gdb
26824 @: $(MAKE); $(unstage)
26825 @[ -f ./gdb/Makefile ] || exit 0; \
26826 r=`${PWD_COMMAND}`; export r; \
26827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828 $(HOST_EXPORTS) \
26829 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26831 done; \
26832 echo "Doing installcheck in gdb" ; \
26833 (cd $(HOST_SUBDIR)/gdb && \
26834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26836 "RANLIB=$${RANLIB}" \
26837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26838 installcheck) \
26839 || exit 1
26841 @endif gdb
26843 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26844 maybe-mostlyclean-gdb:
26845 @if gdb
26846 maybe-mostlyclean-gdb: mostlyclean-gdb
26848 mostlyclean-gdb:
26849 @: $(MAKE); $(unstage)
26850 @[ -f ./gdb/Makefile ] || exit 0; \
26851 r=`${PWD_COMMAND}`; export r; \
26852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26853 $(HOST_EXPORTS) \
26854 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26856 done; \
26857 echo "Doing mostlyclean in gdb" ; \
26858 (cd $(HOST_SUBDIR)/gdb && \
26859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26861 "RANLIB=$${RANLIB}" \
26862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26863 mostlyclean) \
26864 || exit 1
26866 @endif gdb
26868 .PHONY: maybe-clean-gdb clean-gdb
26869 maybe-clean-gdb:
26870 @if gdb
26871 maybe-clean-gdb: clean-gdb
26873 clean-gdb:
26874 @: $(MAKE); $(unstage)
26875 @[ -f ./gdb/Makefile ] || exit 0; \
26876 r=`${PWD_COMMAND}`; export r; \
26877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26878 $(HOST_EXPORTS) \
26879 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26881 done; \
26882 echo "Doing clean in gdb" ; \
26883 (cd $(HOST_SUBDIR)/gdb && \
26884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26886 "RANLIB=$${RANLIB}" \
26887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26888 clean) \
26889 || exit 1
26891 @endif gdb
26893 .PHONY: maybe-distclean-gdb distclean-gdb
26894 maybe-distclean-gdb:
26895 @if gdb
26896 maybe-distclean-gdb: distclean-gdb
26898 distclean-gdb:
26899 @: $(MAKE); $(unstage)
26900 @[ -f ./gdb/Makefile ] || exit 0; \
26901 r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 $(HOST_EXPORTS) \
26904 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26906 done; \
26907 echo "Doing distclean in gdb" ; \
26908 (cd $(HOST_SUBDIR)/gdb && \
26909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26911 "RANLIB=$${RANLIB}" \
26912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26913 distclean) \
26914 || exit 1
26916 @endif gdb
26918 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26919 maybe-maintainer-clean-gdb:
26920 @if gdb
26921 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26923 maintainer-clean-gdb:
26924 @: $(MAKE); $(unstage)
26925 @[ -f ./gdb/Makefile ] || exit 0; \
26926 r=`${PWD_COMMAND}`; export r; \
26927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26928 $(HOST_EXPORTS) \
26929 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26931 done; \
26932 echo "Doing maintainer-clean in gdb" ; \
26933 (cd $(HOST_SUBDIR)/gdb && \
26934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26936 "RANLIB=$${RANLIB}" \
26937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26938 maintainer-clean) \
26939 || exit 1
26941 @endif gdb
26945 .PHONY: configure-expect maybe-configure-expect
26946 maybe-configure-expect:
26947 @if expect
26948 maybe-configure-expect: configure-expect
26949 configure-expect:
26950 @: $(MAKE); $(unstage)
26951 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26953 r=`${PWD_COMMAND}`; export r; \
26954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26955 $(HOST_EXPORTS) \
26956 echo Configuring in $(HOST_SUBDIR)/expect; \
26957 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26958 case $(srcdir) in \
26959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26960 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26962 esac; \
26963 srcdiroption="--srcdir=$${topdir}/expect"; \
26964 libsrcdir="$$s/expect"; \
26965 $(SHELL) $${libsrcdir}/configure \
26966 $(HOST_CONFIGARGS) $${srcdiroption} \
26967 || exit 1
26968 @endif expect
26974 .PHONY: all-expect maybe-all-expect
26975 maybe-all-expect:
26976 @if expect
26977 TARGET-expect=all
26978 maybe-all-expect: all-expect
26979 all-expect: configure-expect
26980 @: $(MAKE); $(unstage)
26981 @r=`${PWD_COMMAND}`; export r; \
26982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26983 $(HOST_EXPORTS) \
26984 (cd $(HOST_SUBDIR)/expect && \
26985 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26986 @endif expect
26991 .PHONY: check-expect maybe-check-expect
26992 maybe-check-expect:
26993 @if expect
26994 maybe-check-expect: check-expect
26996 check-expect:
26997 @: $(MAKE); $(unstage)
26998 @r=`${PWD_COMMAND}`; export r; \
26999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27000 $(HOST_EXPORTS) \
27001 (cd $(HOST_SUBDIR)/expect && \
27002 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27004 @endif expect
27006 .PHONY: install-expect maybe-install-expect
27007 maybe-install-expect:
27008 @if expect
27009 maybe-install-expect: install-expect
27011 install-expect: installdirs
27012 @: $(MAKE); $(unstage)
27013 @r=`${PWD_COMMAND}`; export r; \
27014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27015 $(HOST_EXPORTS) \
27016 (cd $(HOST_SUBDIR)/expect && \
27017 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27019 @endif expect
27021 # Other targets (info, dvi, etc.)
27023 .PHONY: maybe-info-expect info-expect
27024 maybe-info-expect:
27025 @if expect
27026 maybe-info-expect: info-expect
27028 info-expect: \
27029 configure-expect
27030 @: $(MAKE); $(unstage)
27031 @[ -f ./expect/Makefile ] || exit 0; \
27032 r=`${PWD_COMMAND}`; export r; \
27033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27034 $(HOST_EXPORTS) \
27035 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27037 done; \
27038 echo "Doing info in expect" ; \
27039 (cd $(HOST_SUBDIR)/expect && \
27040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27042 "RANLIB=$${RANLIB}" \
27043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27044 info) \
27045 || exit 1
27047 @endif expect
27049 .PHONY: maybe-dvi-expect dvi-expect
27050 maybe-dvi-expect:
27051 @if expect
27052 maybe-dvi-expect: dvi-expect
27054 dvi-expect: \
27055 configure-expect
27056 @: $(MAKE); $(unstage)
27057 @[ -f ./expect/Makefile ] || exit 0; \
27058 r=`${PWD_COMMAND}`; export r; \
27059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27060 $(HOST_EXPORTS) \
27061 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27063 done; \
27064 echo "Doing dvi in expect" ; \
27065 (cd $(HOST_SUBDIR)/expect && \
27066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27068 "RANLIB=$${RANLIB}" \
27069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27070 dvi) \
27071 || exit 1
27073 @endif expect
27075 .PHONY: maybe-html-expect html-expect
27076 maybe-html-expect:
27077 @if expect
27078 maybe-html-expect: html-expect
27080 html-expect: \
27081 configure-expect
27082 @: $(MAKE); $(unstage)
27083 @[ -f ./expect/Makefile ] || exit 0; \
27084 r=`${PWD_COMMAND}`; export r; \
27085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27086 $(HOST_EXPORTS) \
27087 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27089 done; \
27090 echo "Doing html in expect" ; \
27091 (cd $(HOST_SUBDIR)/expect && \
27092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27094 "RANLIB=$${RANLIB}" \
27095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27096 html) \
27097 || exit 1
27099 @endif expect
27101 .PHONY: maybe-TAGS-expect TAGS-expect
27102 maybe-TAGS-expect:
27103 @if expect
27104 maybe-TAGS-expect: TAGS-expect
27106 TAGS-expect: \
27107 configure-expect
27108 @: $(MAKE); $(unstage)
27109 @[ -f ./expect/Makefile ] || exit 0; \
27110 r=`${PWD_COMMAND}`; export r; \
27111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27112 $(HOST_EXPORTS) \
27113 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27115 done; \
27116 echo "Doing TAGS in expect" ; \
27117 (cd $(HOST_SUBDIR)/expect && \
27118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27120 "RANLIB=$${RANLIB}" \
27121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27122 TAGS) \
27123 || exit 1
27125 @endif expect
27127 .PHONY: maybe-install-info-expect install-info-expect
27128 maybe-install-info-expect:
27129 @if expect
27130 maybe-install-info-expect: install-info-expect
27132 install-info-expect: \
27133 configure-expect \
27134 info-expect
27135 @: $(MAKE); $(unstage)
27136 @[ -f ./expect/Makefile ] || exit 0; \
27137 r=`${PWD_COMMAND}`; export r; \
27138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27139 $(HOST_EXPORTS) \
27140 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27142 done; \
27143 echo "Doing install-info in expect" ; \
27144 (cd $(HOST_SUBDIR)/expect && \
27145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27147 "RANLIB=$${RANLIB}" \
27148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27149 install-info) \
27150 || exit 1
27152 @endif expect
27154 .PHONY: maybe-installcheck-expect installcheck-expect
27155 maybe-installcheck-expect:
27156 @if expect
27157 maybe-installcheck-expect: installcheck-expect
27159 installcheck-expect: \
27160 configure-expect
27161 @: $(MAKE); $(unstage)
27162 @[ -f ./expect/Makefile ] || exit 0; \
27163 r=`${PWD_COMMAND}`; export r; \
27164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27165 $(HOST_EXPORTS) \
27166 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27168 done; \
27169 echo "Doing installcheck in expect" ; \
27170 (cd $(HOST_SUBDIR)/expect && \
27171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27173 "RANLIB=$${RANLIB}" \
27174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27175 installcheck) \
27176 || exit 1
27178 @endif expect
27180 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27181 maybe-mostlyclean-expect:
27182 @if expect
27183 maybe-mostlyclean-expect: mostlyclean-expect
27185 mostlyclean-expect:
27186 @: $(MAKE); $(unstage)
27187 @[ -f ./expect/Makefile ] || exit 0; \
27188 r=`${PWD_COMMAND}`; export r; \
27189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27190 $(HOST_EXPORTS) \
27191 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27193 done; \
27194 echo "Doing mostlyclean in expect" ; \
27195 (cd $(HOST_SUBDIR)/expect && \
27196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27198 "RANLIB=$${RANLIB}" \
27199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27200 mostlyclean) \
27201 || exit 1
27203 @endif expect
27205 .PHONY: maybe-clean-expect clean-expect
27206 maybe-clean-expect:
27207 @if expect
27208 maybe-clean-expect: clean-expect
27210 clean-expect:
27211 @: $(MAKE); $(unstage)
27212 @[ -f ./expect/Makefile ] || exit 0; \
27213 r=`${PWD_COMMAND}`; export r; \
27214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27215 $(HOST_EXPORTS) \
27216 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27218 done; \
27219 echo "Doing clean in expect" ; \
27220 (cd $(HOST_SUBDIR)/expect && \
27221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27223 "RANLIB=$${RANLIB}" \
27224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27225 clean) \
27226 || exit 1
27228 @endif expect
27230 .PHONY: maybe-distclean-expect distclean-expect
27231 maybe-distclean-expect:
27232 @if expect
27233 maybe-distclean-expect: distclean-expect
27235 distclean-expect:
27236 @: $(MAKE); $(unstage)
27237 @[ -f ./expect/Makefile ] || exit 0; \
27238 r=`${PWD_COMMAND}`; export r; \
27239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27240 $(HOST_EXPORTS) \
27241 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27243 done; \
27244 echo "Doing distclean in expect" ; \
27245 (cd $(HOST_SUBDIR)/expect && \
27246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27248 "RANLIB=$${RANLIB}" \
27249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27250 distclean) \
27251 || exit 1
27253 @endif expect
27255 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27256 maybe-maintainer-clean-expect:
27257 @if expect
27258 maybe-maintainer-clean-expect: maintainer-clean-expect
27260 maintainer-clean-expect:
27261 @: $(MAKE); $(unstage)
27262 @[ -f ./expect/Makefile ] || exit 0; \
27263 r=`${PWD_COMMAND}`; export r; \
27264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27265 $(HOST_EXPORTS) \
27266 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27268 done; \
27269 echo "Doing maintainer-clean in expect" ; \
27270 (cd $(HOST_SUBDIR)/expect && \
27271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27273 "RANLIB=$${RANLIB}" \
27274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27275 maintainer-clean) \
27276 || exit 1
27278 @endif expect
27282 .PHONY: configure-guile maybe-configure-guile
27283 maybe-configure-guile:
27284 @if guile
27285 maybe-configure-guile: configure-guile
27286 configure-guile:
27287 @: $(MAKE); $(unstage)
27288 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27289 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27290 r=`${PWD_COMMAND}`; export r; \
27291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27292 $(HOST_EXPORTS) \
27293 echo Configuring in $(HOST_SUBDIR)/guile; \
27294 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27295 case $(srcdir) in \
27296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27297 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27299 esac; \
27300 srcdiroption="--srcdir=$${topdir}/guile"; \
27301 libsrcdir="$$s/guile"; \
27302 $(SHELL) $${libsrcdir}/configure \
27303 $(HOST_CONFIGARGS) $${srcdiroption} \
27304 || exit 1
27305 @endif guile
27311 .PHONY: all-guile maybe-all-guile
27312 maybe-all-guile:
27313 @if guile
27314 TARGET-guile=all
27315 maybe-all-guile: all-guile
27316 all-guile: configure-guile
27317 @: $(MAKE); $(unstage)
27318 @r=`${PWD_COMMAND}`; export r; \
27319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27320 $(HOST_EXPORTS) \
27321 (cd $(HOST_SUBDIR)/guile && \
27322 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27323 @endif guile
27328 .PHONY: check-guile maybe-check-guile
27329 maybe-check-guile:
27330 @if guile
27331 maybe-check-guile: check-guile
27333 check-guile:
27334 @: $(MAKE); $(unstage)
27335 @r=`${PWD_COMMAND}`; export r; \
27336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27337 $(HOST_EXPORTS) \
27338 (cd $(HOST_SUBDIR)/guile && \
27339 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27341 @endif guile
27343 .PHONY: install-guile maybe-install-guile
27344 maybe-install-guile:
27345 @if guile
27346 maybe-install-guile: install-guile
27348 install-guile: installdirs
27349 @: $(MAKE); $(unstage)
27350 @r=`${PWD_COMMAND}`; export r; \
27351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27352 $(HOST_EXPORTS) \
27353 (cd $(HOST_SUBDIR)/guile && \
27354 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27356 @endif guile
27358 # Other targets (info, dvi, etc.)
27360 .PHONY: maybe-info-guile info-guile
27361 maybe-info-guile:
27362 @if guile
27363 maybe-info-guile: info-guile
27365 info-guile: \
27366 configure-guile
27367 @: $(MAKE); $(unstage)
27368 @[ -f ./guile/Makefile ] || exit 0; \
27369 r=`${PWD_COMMAND}`; export r; \
27370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27371 $(HOST_EXPORTS) \
27372 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27374 done; \
27375 echo "Doing info in guile" ; \
27376 (cd $(HOST_SUBDIR)/guile && \
27377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27379 "RANLIB=$${RANLIB}" \
27380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27381 info) \
27382 || exit 1
27384 @endif guile
27386 .PHONY: maybe-dvi-guile dvi-guile
27387 maybe-dvi-guile:
27388 @if guile
27389 maybe-dvi-guile: dvi-guile
27391 dvi-guile: \
27392 configure-guile
27393 @: $(MAKE); $(unstage)
27394 @[ -f ./guile/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 dvi in guile" ; \
27402 (cd $(HOST_SUBDIR)/guile && \
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 dvi) \
27408 || exit 1
27410 @endif guile
27412 .PHONY: maybe-html-guile html-guile
27413 maybe-html-guile:
27414 @if guile
27415 maybe-html-guile: html-guile
27417 html-guile: \
27418 configure-guile
27419 @: $(MAKE); $(unstage)
27420 @[ -f ./guile/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 html in guile" ; \
27428 (cd $(HOST_SUBDIR)/guile && \
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 html) \
27434 || exit 1
27436 @endif guile
27438 .PHONY: maybe-TAGS-guile TAGS-guile
27439 maybe-TAGS-guile:
27440 @if guile
27441 maybe-TAGS-guile: TAGS-guile
27443 TAGS-guile: \
27444 configure-guile
27445 @: $(MAKE); $(unstage)
27446 @[ -f ./guile/Makefile ] || exit 0; \
27447 r=`${PWD_COMMAND}`; export r; \
27448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27449 $(HOST_EXPORTS) \
27450 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27452 done; \
27453 echo "Doing TAGS in guile" ; \
27454 (cd $(HOST_SUBDIR)/guile && \
27455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27457 "RANLIB=$${RANLIB}" \
27458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27459 TAGS) \
27460 || exit 1
27462 @endif guile
27464 .PHONY: maybe-install-info-guile install-info-guile
27465 maybe-install-info-guile:
27466 @if guile
27467 maybe-install-info-guile: install-info-guile
27469 install-info-guile: \
27470 configure-guile \
27471 info-guile
27472 @: $(MAKE); $(unstage)
27473 @[ -f ./guile/Makefile ] || exit 0; \
27474 r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(HOST_EXPORTS) \
27477 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27479 done; \
27480 echo "Doing install-info in guile" ; \
27481 (cd $(HOST_SUBDIR)/guile && \
27482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484 "RANLIB=$${RANLIB}" \
27485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27486 install-info) \
27487 || exit 1
27489 @endif guile
27491 .PHONY: maybe-installcheck-guile installcheck-guile
27492 maybe-installcheck-guile:
27493 @if guile
27494 maybe-installcheck-guile: installcheck-guile
27496 installcheck-guile: \
27497 configure-guile
27498 @: $(MAKE); $(unstage)
27499 @[ -f ./guile/Makefile ] || exit 0; \
27500 r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(HOST_EXPORTS) \
27503 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27505 done; \
27506 echo "Doing installcheck in guile" ; \
27507 (cd $(HOST_SUBDIR)/guile && \
27508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27510 "RANLIB=$${RANLIB}" \
27511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27512 installcheck) \
27513 || exit 1
27515 @endif guile
27517 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27518 maybe-mostlyclean-guile:
27519 @if guile
27520 maybe-mostlyclean-guile: mostlyclean-guile
27522 mostlyclean-guile:
27523 @: $(MAKE); $(unstage)
27524 @[ -f ./guile/Makefile ] || exit 0; \
27525 r=`${PWD_COMMAND}`; export r; \
27526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27527 $(HOST_EXPORTS) \
27528 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27530 done; \
27531 echo "Doing mostlyclean in guile" ; \
27532 (cd $(HOST_SUBDIR)/guile && \
27533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27535 "RANLIB=$${RANLIB}" \
27536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27537 mostlyclean) \
27538 || exit 1
27540 @endif guile
27542 .PHONY: maybe-clean-guile clean-guile
27543 maybe-clean-guile:
27544 @if guile
27545 maybe-clean-guile: clean-guile
27547 clean-guile:
27548 @: $(MAKE); $(unstage)
27549 @[ -f ./guile/Makefile ] || exit 0; \
27550 r=`${PWD_COMMAND}`; export r; \
27551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27552 $(HOST_EXPORTS) \
27553 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27555 done; \
27556 echo "Doing clean in guile" ; \
27557 (cd $(HOST_SUBDIR)/guile && \
27558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27560 "RANLIB=$${RANLIB}" \
27561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27562 clean) \
27563 || exit 1
27565 @endif guile
27567 .PHONY: maybe-distclean-guile distclean-guile
27568 maybe-distclean-guile:
27569 @if guile
27570 maybe-distclean-guile: distclean-guile
27572 distclean-guile:
27573 @: $(MAKE); $(unstage)
27574 @[ -f ./guile/Makefile ] || exit 0; \
27575 r=`${PWD_COMMAND}`; export r; \
27576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27577 $(HOST_EXPORTS) \
27578 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27580 done; \
27581 echo "Doing distclean in guile" ; \
27582 (cd $(HOST_SUBDIR)/guile && \
27583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27585 "RANLIB=$${RANLIB}" \
27586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27587 distclean) \
27588 || exit 1
27590 @endif guile
27592 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27593 maybe-maintainer-clean-guile:
27594 @if guile
27595 maybe-maintainer-clean-guile: maintainer-clean-guile
27597 maintainer-clean-guile:
27598 @: $(MAKE); $(unstage)
27599 @[ -f ./guile/Makefile ] || exit 0; \
27600 r=`${PWD_COMMAND}`; export r; \
27601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27602 $(HOST_EXPORTS) \
27603 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27605 done; \
27606 echo "Doing maintainer-clean in guile" ; \
27607 (cd $(HOST_SUBDIR)/guile && \
27608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27610 "RANLIB=$${RANLIB}" \
27611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27612 maintainer-clean) \
27613 || exit 1
27615 @endif guile
27619 .PHONY: configure-tk maybe-configure-tk
27620 maybe-configure-tk:
27621 @if tk
27622 maybe-configure-tk: configure-tk
27623 configure-tk:
27624 @: $(MAKE); $(unstage)
27625 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27627 r=`${PWD_COMMAND}`; export r; \
27628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27629 $(HOST_EXPORTS) \
27630 echo Configuring in $(HOST_SUBDIR)/tk; \
27631 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27632 case $(srcdir) in \
27633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27634 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27636 esac; \
27637 srcdiroption="--srcdir=$${topdir}/tk"; \
27638 libsrcdir="$$s/tk"; \
27639 $(SHELL) $${libsrcdir}/configure \
27640 $(HOST_CONFIGARGS) $${srcdiroption} \
27641 || exit 1
27642 @endif tk
27648 .PHONY: all-tk maybe-all-tk
27649 maybe-all-tk:
27650 @if tk
27651 TARGET-tk=all
27652 maybe-all-tk: all-tk
27653 all-tk: configure-tk
27654 @: $(MAKE); $(unstage)
27655 @r=`${PWD_COMMAND}`; export r; \
27656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27657 $(HOST_EXPORTS) \
27658 (cd $(HOST_SUBDIR)/tk && \
27659 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27660 @endif tk
27665 .PHONY: check-tk maybe-check-tk
27666 maybe-check-tk:
27667 @if tk
27668 maybe-check-tk: check-tk
27670 check-tk:
27671 @: $(MAKE); $(unstage)
27672 @r=`${PWD_COMMAND}`; export r; \
27673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27674 $(HOST_EXPORTS) \
27675 (cd $(HOST_SUBDIR)/tk && \
27676 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27678 @endif tk
27680 .PHONY: install-tk maybe-install-tk
27681 maybe-install-tk:
27682 @if tk
27683 maybe-install-tk: install-tk
27685 install-tk: installdirs
27686 @: $(MAKE); $(unstage)
27687 @r=`${PWD_COMMAND}`; export r; \
27688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27689 $(HOST_EXPORTS) \
27690 (cd $(HOST_SUBDIR)/tk && \
27691 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27693 @endif tk
27695 # Other targets (info, dvi, etc.)
27697 .PHONY: maybe-info-tk info-tk
27698 maybe-info-tk:
27699 @if tk
27700 maybe-info-tk: info-tk
27702 info-tk: \
27703 configure-tk
27704 @: $(MAKE); $(unstage)
27705 @[ -f ./tk/Makefile ] || exit 0; \
27706 r=`${PWD_COMMAND}`; export r; \
27707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27708 $(HOST_EXPORTS) \
27709 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27711 done; \
27712 echo "Doing info in tk" ; \
27713 (cd $(HOST_SUBDIR)/tk && \
27714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27716 "RANLIB=$${RANLIB}" \
27717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27718 info) \
27719 || exit 1
27721 @endif tk
27723 .PHONY: maybe-dvi-tk dvi-tk
27724 maybe-dvi-tk:
27725 @if tk
27726 maybe-dvi-tk: dvi-tk
27728 dvi-tk: \
27729 configure-tk
27730 @: $(MAKE); $(unstage)
27731 @[ -f ./tk/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 dvi in tk" ; \
27739 (cd $(HOST_SUBDIR)/tk && \
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 dvi) \
27745 || exit 1
27747 @endif tk
27749 .PHONY: maybe-html-tk html-tk
27750 maybe-html-tk:
27751 @if tk
27752 maybe-html-tk: html-tk
27754 html-tk: \
27755 configure-tk
27756 @: $(MAKE); $(unstage)
27757 @[ -f ./tk/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 html in tk" ; \
27765 (cd $(HOST_SUBDIR)/tk && \
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 html) \
27771 || exit 1
27773 @endif tk
27775 .PHONY: maybe-TAGS-tk TAGS-tk
27776 maybe-TAGS-tk:
27777 @if tk
27778 maybe-TAGS-tk: TAGS-tk
27780 TAGS-tk: \
27781 configure-tk
27782 @: $(MAKE); $(unstage)
27783 @[ -f ./tk/Makefile ] || exit 0; \
27784 r=`${PWD_COMMAND}`; export r; \
27785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27786 $(HOST_EXPORTS) \
27787 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27789 done; \
27790 echo "Doing TAGS in tk" ; \
27791 (cd $(HOST_SUBDIR)/tk && \
27792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27794 "RANLIB=$${RANLIB}" \
27795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27796 TAGS) \
27797 || exit 1
27799 @endif tk
27801 .PHONY: maybe-install-info-tk install-info-tk
27802 maybe-install-info-tk:
27803 @if tk
27804 maybe-install-info-tk: install-info-tk
27806 install-info-tk: \
27807 configure-tk \
27808 info-tk
27809 @: $(MAKE); $(unstage)
27810 @[ -f ./tk/Makefile ] || exit 0; \
27811 r=`${PWD_COMMAND}`; export r; \
27812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27813 $(HOST_EXPORTS) \
27814 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27816 done; \
27817 echo "Doing install-info in tk" ; \
27818 (cd $(HOST_SUBDIR)/tk && \
27819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27821 "RANLIB=$${RANLIB}" \
27822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27823 install-info) \
27824 || exit 1
27826 @endif tk
27828 .PHONY: maybe-installcheck-tk installcheck-tk
27829 maybe-installcheck-tk:
27830 @if tk
27831 maybe-installcheck-tk: installcheck-tk
27833 installcheck-tk: \
27834 configure-tk
27835 @: $(MAKE); $(unstage)
27836 @[ -f ./tk/Makefile ] || exit 0; \
27837 r=`${PWD_COMMAND}`; export r; \
27838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27839 $(HOST_EXPORTS) \
27840 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27842 done; \
27843 echo "Doing installcheck in tk" ; \
27844 (cd $(HOST_SUBDIR)/tk && \
27845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27847 "RANLIB=$${RANLIB}" \
27848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27849 installcheck) \
27850 || exit 1
27852 @endif tk
27854 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27855 maybe-mostlyclean-tk:
27856 @if tk
27857 maybe-mostlyclean-tk: mostlyclean-tk
27859 mostlyclean-tk:
27860 @: $(MAKE); $(unstage)
27861 @[ -f ./tk/Makefile ] || exit 0; \
27862 r=`${PWD_COMMAND}`; export r; \
27863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27864 $(HOST_EXPORTS) \
27865 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27867 done; \
27868 echo "Doing mostlyclean in tk" ; \
27869 (cd $(HOST_SUBDIR)/tk && \
27870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27872 "RANLIB=$${RANLIB}" \
27873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27874 mostlyclean) \
27875 || exit 1
27877 @endif tk
27879 .PHONY: maybe-clean-tk clean-tk
27880 maybe-clean-tk:
27881 @if tk
27882 maybe-clean-tk: clean-tk
27884 clean-tk:
27885 @: $(MAKE); $(unstage)
27886 @[ -f ./tk/Makefile ] || exit 0; \
27887 r=`${PWD_COMMAND}`; export r; \
27888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27889 $(HOST_EXPORTS) \
27890 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27892 done; \
27893 echo "Doing clean in tk" ; \
27894 (cd $(HOST_SUBDIR)/tk && \
27895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27897 "RANLIB=$${RANLIB}" \
27898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27899 clean) \
27900 || exit 1
27902 @endif tk
27904 .PHONY: maybe-distclean-tk distclean-tk
27905 maybe-distclean-tk:
27906 @if tk
27907 maybe-distclean-tk: distclean-tk
27909 distclean-tk:
27910 @: $(MAKE); $(unstage)
27911 @[ -f ./tk/Makefile ] || exit 0; \
27912 r=`${PWD_COMMAND}`; export r; \
27913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27914 $(HOST_EXPORTS) \
27915 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27917 done; \
27918 echo "Doing distclean in tk" ; \
27919 (cd $(HOST_SUBDIR)/tk && \
27920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27922 "RANLIB=$${RANLIB}" \
27923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27924 distclean) \
27925 || exit 1
27927 @endif tk
27929 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27930 maybe-maintainer-clean-tk:
27931 @if tk
27932 maybe-maintainer-clean-tk: maintainer-clean-tk
27934 maintainer-clean-tk:
27935 @: $(MAKE); $(unstage)
27936 @[ -f ./tk/Makefile ] || exit 0; \
27937 r=`${PWD_COMMAND}`; export r; \
27938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27939 $(HOST_EXPORTS) \
27940 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27942 done; \
27943 echo "Doing maintainer-clean in tk" ; \
27944 (cd $(HOST_SUBDIR)/tk && \
27945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27947 "RANLIB=$${RANLIB}" \
27948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27949 maintainer-clean) \
27950 || exit 1
27952 @endif tk
27956 .PHONY: configure-libtermcap maybe-configure-libtermcap
27957 maybe-configure-libtermcap:
27958 @if libtermcap
27959 maybe-configure-libtermcap: configure-libtermcap
27960 configure-libtermcap:
27961 @: $(MAKE); $(unstage)
27962 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27964 r=`${PWD_COMMAND}`; export r; \
27965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27966 $(HOST_EXPORTS) \
27967 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27968 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27969 case $(srcdir) in \
27970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27971 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27973 esac; \
27974 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27975 libsrcdir="$$s/libtermcap"; \
27976 $(SHELL) $${libsrcdir}/configure \
27977 $(HOST_CONFIGARGS) $${srcdiroption} \
27978 || exit 1
27979 @endif libtermcap
27985 .PHONY: all-libtermcap maybe-all-libtermcap
27986 maybe-all-libtermcap:
27987 @if libtermcap
27988 TARGET-libtermcap=all
27989 maybe-all-libtermcap: all-libtermcap
27990 all-libtermcap: configure-libtermcap
27991 @: $(MAKE); $(unstage)
27992 @r=`${PWD_COMMAND}`; export r; \
27993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27994 $(HOST_EXPORTS) \
27995 (cd $(HOST_SUBDIR)/libtermcap && \
27996 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27997 @endif libtermcap
28002 .PHONY: check-libtermcap maybe-check-libtermcap
28003 maybe-check-libtermcap:
28004 @if libtermcap
28005 maybe-check-libtermcap: check-libtermcap
28007 check-libtermcap:
28009 @endif libtermcap
28011 .PHONY: install-libtermcap maybe-install-libtermcap
28012 maybe-install-libtermcap:
28013 @if libtermcap
28014 maybe-install-libtermcap: install-libtermcap
28016 install-libtermcap: installdirs
28017 @: $(MAKE); $(unstage)
28018 @r=`${PWD_COMMAND}`; export r; \
28019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28020 $(HOST_EXPORTS) \
28021 (cd $(HOST_SUBDIR)/libtermcap && \
28022 $(MAKE) $(FLAGS_TO_PASS) install)
28024 @endif libtermcap
28026 # Other targets (info, dvi, etc.)
28028 .PHONY: maybe-info-libtermcap info-libtermcap
28029 maybe-info-libtermcap:
28030 @if libtermcap
28031 maybe-info-libtermcap: info-libtermcap
28033 info-libtermcap: \
28034 configure-libtermcap
28035 @: $(MAKE); $(unstage)
28036 @[ -f ./libtermcap/Makefile ] || exit 0; \
28037 r=`${PWD_COMMAND}`; export r; \
28038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28039 $(HOST_EXPORTS) \
28040 for flag in $(EXTRA_HOST_FLAGS) ; do \
28041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28042 done; \
28043 echo "Doing info in libtermcap" ; \
28044 (cd $(HOST_SUBDIR)/libtermcap && \
28045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28047 "RANLIB=$${RANLIB}" \
28048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28049 info) \
28050 || exit 1
28052 @endif libtermcap
28054 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28055 maybe-dvi-libtermcap:
28056 @if libtermcap
28057 maybe-dvi-libtermcap: dvi-libtermcap
28059 dvi-libtermcap: \
28060 configure-libtermcap
28061 @: $(MAKE); $(unstage)
28062 @[ -f ./libtermcap/Makefile ] || exit 0; \
28063 r=`${PWD_COMMAND}`; export r; \
28064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28065 $(HOST_EXPORTS) \
28066 for flag in $(EXTRA_HOST_FLAGS) ; do \
28067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28068 done; \
28069 echo "Doing dvi in libtermcap" ; \
28070 (cd $(HOST_SUBDIR)/libtermcap && \
28071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28073 "RANLIB=$${RANLIB}" \
28074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28075 dvi) \
28076 || exit 1
28078 @endif libtermcap
28080 .PHONY: maybe-html-libtermcap html-libtermcap
28081 maybe-html-libtermcap:
28082 @if libtermcap
28083 maybe-html-libtermcap: html-libtermcap
28085 html-libtermcap: \
28086 configure-libtermcap
28087 @: $(MAKE); $(unstage)
28088 @[ -f ./libtermcap/Makefile ] || exit 0; \
28089 r=`${PWD_COMMAND}`; export r; \
28090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28091 $(HOST_EXPORTS) \
28092 for flag in $(EXTRA_HOST_FLAGS) ; do \
28093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28094 done; \
28095 echo "Doing html in libtermcap" ; \
28096 (cd $(HOST_SUBDIR)/libtermcap && \
28097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28099 "RANLIB=$${RANLIB}" \
28100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28101 html) \
28102 || exit 1
28104 @endif libtermcap
28106 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28107 maybe-TAGS-libtermcap:
28108 @if libtermcap
28109 maybe-TAGS-libtermcap: TAGS-libtermcap
28111 TAGS-libtermcap: \
28112 configure-libtermcap
28113 @: $(MAKE); $(unstage)
28114 @[ -f ./libtermcap/Makefile ] || exit 0; \
28115 r=`${PWD_COMMAND}`; export r; \
28116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28117 $(HOST_EXPORTS) \
28118 for flag in $(EXTRA_HOST_FLAGS) ; do \
28119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28120 done; \
28121 echo "Doing TAGS in libtermcap" ; \
28122 (cd $(HOST_SUBDIR)/libtermcap && \
28123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28125 "RANLIB=$${RANLIB}" \
28126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28127 TAGS) \
28128 || exit 1
28130 @endif libtermcap
28132 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28133 maybe-install-info-libtermcap:
28134 @if libtermcap
28135 maybe-install-info-libtermcap: install-info-libtermcap
28137 install-info-libtermcap: \
28138 configure-libtermcap \
28139 info-libtermcap
28140 @: $(MAKE); $(unstage)
28141 @[ -f ./libtermcap/Makefile ] || exit 0; \
28142 r=`${PWD_COMMAND}`; export r; \
28143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28144 $(HOST_EXPORTS) \
28145 for flag in $(EXTRA_HOST_FLAGS) ; do \
28146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28147 done; \
28148 echo "Doing install-info in libtermcap" ; \
28149 (cd $(HOST_SUBDIR)/libtermcap && \
28150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28152 "RANLIB=$${RANLIB}" \
28153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28154 install-info) \
28155 || exit 1
28157 @endif libtermcap
28159 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28160 maybe-installcheck-libtermcap:
28161 @if libtermcap
28162 maybe-installcheck-libtermcap: installcheck-libtermcap
28164 installcheck-libtermcap: \
28165 configure-libtermcap
28166 @: $(MAKE); $(unstage)
28167 @[ -f ./libtermcap/Makefile ] || exit 0; \
28168 r=`${PWD_COMMAND}`; export r; \
28169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28170 $(HOST_EXPORTS) \
28171 for flag in $(EXTRA_HOST_FLAGS) ; do \
28172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28173 done; \
28174 echo "Doing installcheck in libtermcap" ; \
28175 (cd $(HOST_SUBDIR)/libtermcap && \
28176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28178 "RANLIB=$${RANLIB}" \
28179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28180 installcheck) \
28181 || exit 1
28183 @endif libtermcap
28185 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28186 maybe-mostlyclean-libtermcap:
28187 @if libtermcap
28188 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28190 # libtermcap doesn't support mostlyclean.
28191 mostlyclean-libtermcap:
28193 @endif libtermcap
28195 .PHONY: maybe-clean-libtermcap clean-libtermcap
28196 maybe-clean-libtermcap:
28197 @if libtermcap
28198 maybe-clean-libtermcap: clean-libtermcap
28200 # libtermcap doesn't support clean.
28201 clean-libtermcap:
28203 @endif libtermcap
28205 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28206 maybe-distclean-libtermcap:
28207 @if libtermcap
28208 maybe-distclean-libtermcap: distclean-libtermcap
28210 # libtermcap doesn't support distclean.
28211 distclean-libtermcap:
28213 @endif libtermcap
28215 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28216 maybe-maintainer-clean-libtermcap:
28217 @if libtermcap
28218 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28220 # libtermcap doesn't support maintainer-clean.
28221 maintainer-clean-libtermcap:
28223 @endif libtermcap
28227 .PHONY: configure-utils maybe-configure-utils
28228 maybe-configure-utils:
28229 @if utils
28230 maybe-configure-utils: configure-utils
28231 configure-utils:
28232 @: $(MAKE); $(unstage)
28233 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28235 r=`${PWD_COMMAND}`; export r; \
28236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28237 $(HOST_EXPORTS) \
28238 echo Configuring in $(HOST_SUBDIR)/utils; \
28239 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28240 case $(srcdir) in \
28241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28242 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28244 esac; \
28245 srcdiroption="--srcdir=$${topdir}/utils"; \
28246 libsrcdir="$$s/utils"; \
28247 $(SHELL) $${libsrcdir}/configure \
28248 $(HOST_CONFIGARGS) $${srcdiroption} \
28249 || exit 1
28250 @endif utils
28256 .PHONY: all-utils maybe-all-utils
28257 maybe-all-utils:
28258 @if utils
28259 TARGET-utils=all
28260 maybe-all-utils: all-utils
28261 all-utils: configure-utils
28262 @: $(MAKE); $(unstage)
28263 @r=`${PWD_COMMAND}`; export r; \
28264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28265 $(HOST_EXPORTS) \
28266 (cd $(HOST_SUBDIR)/utils && \
28267 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28268 @endif utils
28273 .PHONY: check-utils maybe-check-utils
28274 maybe-check-utils:
28275 @if utils
28276 maybe-check-utils: check-utils
28278 check-utils:
28280 @endif utils
28282 .PHONY: install-utils maybe-install-utils
28283 maybe-install-utils:
28284 @if utils
28285 maybe-install-utils: install-utils
28287 install-utils: installdirs
28288 @: $(MAKE); $(unstage)
28289 @r=`${PWD_COMMAND}`; export r; \
28290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28291 $(HOST_EXPORTS) \
28292 (cd $(HOST_SUBDIR)/utils && \
28293 $(MAKE) $(FLAGS_TO_PASS) install)
28295 @endif utils
28297 # Other targets (info, dvi, etc.)
28299 .PHONY: maybe-info-utils info-utils
28300 maybe-info-utils:
28301 @if utils
28302 maybe-info-utils: info-utils
28304 info-utils: \
28305 configure-utils
28306 @: $(MAKE); $(unstage)
28307 @[ -f ./utils/Makefile ] || exit 0; \
28308 r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(HOST_EXPORTS) \
28311 for flag in $(EXTRA_HOST_FLAGS) ; do \
28312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28313 done; \
28314 echo "Doing info in utils" ; \
28315 (cd $(HOST_SUBDIR)/utils && \
28316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28318 "RANLIB=$${RANLIB}" \
28319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28320 info) \
28321 || exit 1
28323 @endif utils
28325 .PHONY: maybe-dvi-utils dvi-utils
28326 maybe-dvi-utils:
28327 @if utils
28328 maybe-dvi-utils: dvi-utils
28330 dvi-utils: \
28331 configure-utils
28332 @: $(MAKE); $(unstage)
28333 @[ -f ./utils/Makefile ] || exit 0; \
28334 r=`${PWD_COMMAND}`; export r; \
28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28336 $(HOST_EXPORTS) \
28337 for flag in $(EXTRA_HOST_FLAGS) ; do \
28338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28339 done; \
28340 echo "Doing dvi in utils" ; \
28341 (cd $(HOST_SUBDIR)/utils && \
28342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28344 "RANLIB=$${RANLIB}" \
28345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28346 dvi) \
28347 || exit 1
28349 @endif utils
28351 .PHONY: maybe-html-utils html-utils
28352 maybe-html-utils:
28353 @if utils
28354 maybe-html-utils: html-utils
28356 html-utils: \
28357 configure-utils
28358 @: $(MAKE); $(unstage)
28359 @[ -f ./utils/Makefile ] || exit 0; \
28360 r=`${PWD_COMMAND}`; export r; \
28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28362 $(HOST_EXPORTS) \
28363 for flag in $(EXTRA_HOST_FLAGS) ; do \
28364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28365 done; \
28366 echo "Doing html in utils" ; \
28367 (cd $(HOST_SUBDIR)/utils && \
28368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28370 "RANLIB=$${RANLIB}" \
28371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28372 html) \
28373 || exit 1
28375 @endif utils
28377 .PHONY: maybe-TAGS-utils TAGS-utils
28378 maybe-TAGS-utils:
28379 @if utils
28380 maybe-TAGS-utils: TAGS-utils
28382 TAGS-utils: \
28383 configure-utils
28384 @: $(MAKE); $(unstage)
28385 @[ -f ./utils/Makefile ] || exit 0; \
28386 r=`${PWD_COMMAND}`; export r; \
28387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28388 $(HOST_EXPORTS) \
28389 for flag in $(EXTRA_HOST_FLAGS) ; do \
28390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28391 done; \
28392 echo "Doing TAGS in utils" ; \
28393 (cd $(HOST_SUBDIR)/utils && \
28394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28396 "RANLIB=$${RANLIB}" \
28397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28398 TAGS) \
28399 || exit 1
28401 @endif utils
28403 .PHONY: maybe-install-info-utils install-info-utils
28404 maybe-install-info-utils:
28405 @if utils
28406 maybe-install-info-utils: install-info-utils
28408 install-info-utils: \
28409 configure-utils \
28410 info-utils
28411 @: $(MAKE); $(unstage)
28412 @[ -f ./utils/Makefile ] || exit 0; \
28413 r=`${PWD_COMMAND}`; export r; \
28414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28415 $(HOST_EXPORTS) \
28416 for flag in $(EXTRA_HOST_FLAGS) ; do \
28417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28418 done; \
28419 echo "Doing install-info in utils" ; \
28420 (cd $(HOST_SUBDIR)/utils && \
28421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28423 "RANLIB=$${RANLIB}" \
28424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28425 install-info) \
28426 || exit 1
28428 @endif utils
28430 .PHONY: maybe-installcheck-utils installcheck-utils
28431 maybe-installcheck-utils:
28432 @if utils
28433 maybe-installcheck-utils: installcheck-utils
28435 installcheck-utils: \
28436 configure-utils
28437 @: $(MAKE); $(unstage)
28438 @[ -f ./utils/Makefile ] || exit 0; \
28439 r=`${PWD_COMMAND}`; export r; \
28440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28441 $(HOST_EXPORTS) \
28442 for flag in $(EXTRA_HOST_FLAGS) ; do \
28443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28444 done; \
28445 echo "Doing installcheck in utils" ; \
28446 (cd $(HOST_SUBDIR)/utils && \
28447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28449 "RANLIB=$${RANLIB}" \
28450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28451 installcheck) \
28452 || exit 1
28454 @endif utils
28456 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28457 maybe-mostlyclean-utils:
28458 @if utils
28459 maybe-mostlyclean-utils: mostlyclean-utils
28461 mostlyclean-utils:
28462 @: $(MAKE); $(unstage)
28463 @[ -f ./utils/Makefile ] || exit 0; \
28464 r=`${PWD_COMMAND}`; export r; \
28465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28466 $(HOST_EXPORTS) \
28467 for flag in $(EXTRA_HOST_FLAGS) ; do \
28468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28469 done; \
28470 echo "Doing mostlyclean in utils" ; \
28471 (cd $(HOST_SUBDIR)/utils && \
28472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28474 "RANLIB=$${RANLIB}" \
28475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28476 mostlyclean) \
28477 || exit 1
28479 @endif utils
28481 .PHONY: maybe-clean-utils clean-utils
28482 maybe-clean-utils:
28483 @if utils
28484 maybe-clean-utils: clean-utils
28486 clean-utils:
28487 @: $(MAKE); $(unstage)
28488 @[ -f ./utils/Makefile ] || exit 0; \
28489 r=`${PWD_COMMAND}`; export r; \
28490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28491 $(HOST_EXPORTS) \
28492 for flag in $(EXTRA_HOST_FLAGS) ; do \
28493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28494 done; \
28495 echo "Doing clean in utils" ; \
28496 (cd $(HOST_SUBDIR)/utils && \
28497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28499 "RANLIB=$${RANLIB}" \
28500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28501 clean) \
28502 || exit 1
28504 @endif utils
28506 .PHONY: maybe-distclean-utils distclean-utils
28507 maybe-distclean-utils:
28508 @if utils
28509 maybe-distclean-utils: distclean-utils
28511 distclean-utils:
28512 @: $(MAKE); $(unstage)
28513 @[ -f ./utils/Makefile ] || exit 0; \
28514 r=`${PWD_COMMAND}`; export r; \
28515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28516 $(HOST_EXPORTS) \
28517 for flag in $(EXTRA_HOST_FLAGS) ; do \
28518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28519 done; \
28520 echo "Doing distclean in utils" ; \
28521 (cd $(HOST_SUBDIR)/utils && \
28522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28524 "RANLIB=$${RANLIB}" \
28525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28526 distclean) \
28527 || exit 1
28529 @endif utils
28531 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28532 maybe-maintainer-clean-utils:
28533 @if utils
28534 maybe-maintainer-clean-utils: maintainer-clean-utils
28536 maintainer-clean-utils:
28537 @: $(MAKE); $(unstage)
28538 @[ -f ./utils/Makefile ] || exit 0; \
28539 r=`${PWD_COMMAND}`; export r; \
28540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28541 $(HOST_EXPORTS) \
28542 for flag in $(EXTRA_HOST_FLAGS) ; do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28544 done; \
28545 echo "Doing maintainer-clean in utils" ; \
28546 (cd $(HOST_SUBDIR)/utils && \
28547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28549 "RANLIB=$${RANLIB}" \
28550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28551 maintainer-clean) \
28552 || exit 1
28554 @endif utils
28558 .PHONY: configure-gnattools maybe-configure-gnattools
28559 maybe-configure-gnattools:
28560 @if gnattools
28561 maybe-configure-gnattools: configure-gnattools
28562 configure-gnattools:
28563 @: $(MAKE); $(unstage)
28564 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28566 r=`${PWD_COMMAND}`; export r; \
28567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28568 $(HOST_EXPORTS) \
28569 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28570 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28571 case $(srcdir) in \
28572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28573 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28575 esac; \
28576 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28577 libsrcdir="$$s/gnattools"; \
28578 $(SHELL) $${libsrcdir}/configure \
28579 $(HOST_CONFIGARGS) $${srcdiroption} \
28580 || exit 1
28581 @endif gnattools
28587 .PHONY: all-gnattools maybe-all-gnattools
28588 maybe-all-gnattools:
28589 @if gnattools
28590 TARGET-gnattools=all
28591 maybe-all-gnattools: all-gnattools
28592 all-gnattools: configure-gnattools
28593 @: $(MAKE); $(unstage)
28594 @r=`${PWD_COMMAND}`; export r; \
28595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28596 $(HOST_EXPORTS) \
28597 (cd $(HOST_SUBDIR)/gnattools && \
28598 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28599 @endif gnattools
28604 .PHONY: check-gnattools maybe-check-gnattools
28605 maybe-check-gnattools:
28606 @if gnattools
28607 maybe-check-gnattools: check-gnattools
28609 check-gnattools:
28610 @: $(MAKE); $(unstage)
28611 @r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 (cd $(HOST_SUBDIR)/gnattools && \
28615 $(MAKE) $(FLAGS_TO_PASS) check)
28617 @endif gnattools
28619 .PHONY: install-gnattools maybe-install-gnattools
28620 maybe-install-gnattools:
28621 @if gnattools
28622 maybe-install-gnattools: install-gnattools
28624 install-gnattools: installdirs
28625 @: $(MAKE); $(unstage)
28626 @r=`${PWD_COMMAND}`; export r; \
28627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28628 $(HOST_EXPORTS) \
28629 (cd $(HOST_SUBDIR)/gnattools && \
28630 $(MAKE) $(FLAGS_TO_PASS) install)
28632 @endif gnattools
28634 # Other targets (info, dvi, etc.)
28636 .PHONY: maybe-info-gnattools info-gnattools
28637 maybe-info-gnattools:
28638 @if gnattools
28639 maybe-info-gnattools: info-gnattools
28641 info-gnattools: \
28642 configure-gnattools
28643 @: $(MAKE); $(unstage)
28644 @[ -f ./gnattools/Makefile ] || exit 0; \
28645 r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647 $(HOST_EXPORTS) \
28648 for flag in $(EXTRA_HOST_FLAGS) ; do \
28649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28650 done; \
28651 echo "Doing info in gnattools" ; \
28652 (cd $(HOST_SUBDIR)/gnattools && \
28653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28655 "RANLIB=$${RANLIB}" \
28656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28657 info) \
28658 || exit 1
28660 @endif gnattools
28662 .PHONY: maybe-dvi-gnattools dvi-gnattools
28663 maybe-dvi-gnattools:
28664 @if gnattools
28665 maybe-dvi-gnattools: dvi-gnattools
28667 dvi-gnattools: \
28668 configure-gnattools
28669 @: $(MAKE); $(unstage)
28670 @[ -f ./gnattools/Makefile ] || exit 0; \
28671 r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 $(HOST_EXPORTS) \
28674 for flag in $(EXTRA_HOST_FLAGS) ; do \
28675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28676 done; \
28677 echo "Doing dvi in gnattools" ; \
28678 (cd $(HOST_SUBDIR)/gnattools && \
28679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28681 "RANLIB=$${RANLIB}" \
28682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28683 dvi) \
28684 || exit 1
28686 @endif gnattools
28688 .PHONY: maybe-html-gnattools html-gnattools
28689 maybe-html-gnattools:
28690 @if gnattools
28691 maybe-html-gnattools: html-gnattools
28693 html-gnattools: \
28694 configure-gnattools
28695 @: $(MAKE); $(unstage)
28696 @[ -f ./gnattools/Makefile ] || exit 0; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(HOST_EXPORTS) \
28700 for flag in $(EXTRA_HOST_FLAGS) ; do \
28701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28702 done; \
28703 echo "Doing html in gnattools" ; \
28704 (cd $(HOST_SUBDIR)/gnattools && \
28705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28707 "RANLIB=$${RANLIB}" \
28708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28709 html) \
28710 || exit 1
28712 @endif gnattools
28714 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28715 maybe-TAGS-gnattools:
28716 @if gnattools
28717 maybe-TAGS-gnattools: TAGS-gnattools
28719 TAGS-gnattools: \
28720 configure-gnattools
28721 @: $(MAKE); $(unstage)
28722 @[ -f ./gnattools/Makefile ] || exit 0; \
28723 r=`${PWD_COMMAND}`; export r; \
28724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28725 $(HOST_EXPORTS) \
28726 for flag in $(EXTRA_HOST_FLAGS) ; do \
28727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28728 done; \
28729 echo "Doing TAGS in gnattools" ; \
28730 (cd $(HOST_SUBDIR)/gnattools && \
28731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28733 "RANLIB=$${RANLIB}" \
28734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28735 TAGS) \
28736 || exit 1
28738 @endif gnattools
28740 .PHONY: maybe-install-info-gnattools install-info-gnattools
28741 maybe-install-info-gnattools:
28742 @if gnattools
28743 maybe-install-info-gnattools: install-info-gnattools
28745 install-info-gnattools: \
28746 configure-gnattools \
28747 info-gnattools
28748 @: $(MAKE); $(unstage)
28749 @[ -f ./gnattools/Makefile ] || exit 0; \
28750 r=`${PWD_COMMAND}`; export r; \
28751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28752 $(HOST_EXPORTS) \
28753 for flag in $(EXTRA_HOST_FLAGS) ; do \
28754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28755 done; \
28756 echo "Doing install-info in gnattools" ; \
28757 (cd $(HOST_SUBDIR)/gnattools && \
28758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28760 "RANLIB=$${RANLIB}" \
28761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28762 install-info) \
28763 || exit 1
28765 @endif gnattools
28767 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28768 maybe-installcheck-gnattools:
28769 @if gnattools
28770 maybe-installcheck-gnattools: installcheck-gnattools
28772 installcheck-gnattools: \
28773 configure-gnattools
28774 @: $(MAKE); $(unstage)
28775 @[ -f ./gnattools/Makefile ] || exit 0; \
28776 r=`${PWD_COMMAND}`; export r; \
28777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28778 $(HOST_EXPORTS) \
28779 for flag in $(EXTRA_HOST_FLAGS) ; do \
28780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28781 done; \
28782 echo "Doing installcheck in gnattools" ; \
28783 (cd $(HOST_SUBDIR)/gnattools && \
28784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28786 "RANLIB=$${RANLIB}" \
28787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28788 installcheck) \
28789 || exit 1
28791 @endif gnattools
28793 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28794 maybe-mostlyclean-gnattools:
28795 @if gnattools
28796 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28798 mostlyclean-gnattools:
28799 @: $(MAKE); $(unstage)
28800 @[ -f ./gnattools/Makefile ] || exit 0; \
28801 r=`${PWD_COMMAND}`; export r; \
28802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28803 $(HOST_EXPORTS) \
28804 for flag in $(EXTRA_HOST_FLAGS) ; do \
28805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28806 done; \
28807 echo "Doing mostlyclean in gnattools" ; \
28808 (cd $(HOST_SUBDIR)/gnattools && \
28809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28811 "RANLIB=$${RANLIB}" \
28812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28813 mostlyclean) \
28814 || exit 1
28816 @endif gnattools
28818 .PHONY: maybe-clean-gnattools clean-gnattools
28819 maybe-clean-gnattools:
28820 @if gnattools
28821 maybe-clean-gnattools: clean-gnattools
28823 clean-gnattools:
28824 @: $(MAKE); $(unstage)
28825 @[ -f ./gnattools/Makefile ] || exit 0; \
28826 r=`${PWD_COMMAND}`; export r; \
28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 $(HOST_EXPORTS) \
28829 for flag in $(EXTRA_HOST_FLAGS) ; do \
28830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28831 done; \
28832 echo "Doing clean in gnattools" ; \
28833 (cd $(HOST_SUBDIR)/gnattools && \
28834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28836 "RANLIB=$${RANLIB}" \
28837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28838 clean) \
28839 || exit 1
28841 @endif gnattools
28843 .PHONY: maybe-distclean-gnattools distclean-gnattools
28844 maybe-distclean-gnattools:
28845 @if gnattools
28846 maybe-distclean-gnattools: distclean-gnattools
28848 distclean-gnattools:
28849 @: $(MAKE); $(unstage)
28850 @[ -f ./gnattools/Makefile ] || exit 0; \
28851 r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(HOST_EXPORTS) \
28854 for flag in $(EXTRA_HOST_FLAGS) ; do \
28855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28856 done; \
28857 echo "Doing distclean in gnattools" ; \
28858 (cd $(HOST_SUBDIR)/gnattools && \
28859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28861 "RANLIB=$${RANLIB}" \
28862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28863 distclean) \
28864 || exit 1
28866 @endif gnattools
28868 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28869 maybe-maintainer-clean-gnattools:
28870 @if gnattools
28871 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28873 maintainer-clean-gnattools:
28874 @: $(MAKE); $(unstage)
28875 @[ -f ./gnattools/Makefile ] || exit 0; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28878 $(HOST_EXPORTS) \
28879 for flag in $(EXTRA_HOST_FLAGS) ; do \
28880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28881 done; \
28882 echo "Doing maintainer-clean in gnattools" ; \
28883 (cd $(HOST_SUBDIR)/gnattools && \
28884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28886 "RANLIB=$${RANLIB}" \
28887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28888 maintainer-clean) \
28889 || exit 1
28891 @endif gnattools
28895 # ---------------------------------------
28896 # Modules which run on the target machine
28897 # ---------------------------------------
28902 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28903 maybe-configure-target-libstdc++-v3:
28904 @if target-libstdc++-v3
28905 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28906 configure-target-libstdc++-v3:
28907 @: $(MAKE); $(unstage)
28908 @r=`${PWD_COMMAND}`; export r; \
28909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28910 echo "Checking multilib configuration for libstdc++-v3..."; \
28911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28912 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
28913 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28914 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28915 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
28916 else \
28917 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
28918 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28919 fi; \
28920 else \
28921 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28923 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28925 r=`${PWD_COMMAND}`; export r; \
28926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28927 $(RAW_CXX_TARGET_EXPORTS) \
28928 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28929 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28930 case $(srcdir) in \
28931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28932 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28934 esac; \
28935 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28936 libsrcdir="$$s/libstdc++-v3"; \
28937 rm -f no-such-file || : ; \
28938 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28939 $(TARGET_CONFIGARGS) $${srcdiroption} \
28940 || exit 1
28941 @endif target-libstdc++-v3
28947 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28948 maybe-all-target-libstdc++-v3:
28949 @if target-libstdc++-v3
28950 TARGET-target-libstdc++-v3=all
28951 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28952 all-target-libstdc++-v3: configure-target-libstdc++-v3
28953 @: $(MAKE); $(unstage)
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 $(RAW_CXX_TARGET_EXPORTS) \
28957 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28958 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28959 @endif target-libstdc++-v3
28965 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28966 maybe-check-target-libstdc++-v3:
28967 @if target-libstdc++-v3
28968 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28970 check-target-libstdc++-v3:
28971 @: $(MAKE); $(unstage)
28972 @r=`${PWD_COMMAND}`; export r; \
28973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28974 $(RAW_CXX_TARGET_EXPORTS) \
28975 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28976 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28978 @endif target-libstdc++-v3
28980 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28981 maybe-install-target-libstdc++-v3:
28982 @if target-libstdc++-v3
28983 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28985 install-target-libstdc++-v3: installdirs
28986 @: $(MAKE); $(unstage)
28987 @r=`${PWD_COMMAND}`; export r; \
28988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28989 $(RAW_CXX_TARGET_EXPORTS) \
28990 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28991 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28993 @endif target-libstdc++-v3
28995 # Other targets (info, dvi, etc.)
28997 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28998 maybe-info-target-libstdc++-v3:
28999 @if target-libstdc++-v3
29000 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
29002 info-target-libstdc++-v3: \
29003 configure-target-libstdc++-v3
29004 @: $(MAKE); $(unstage)
29005 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29006 r=`${PWD_COMMAND}`; export r; \
29007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29008 $(RAW_CXX_TARGET_EXPORTS) \
29009 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29010 for flag in $(EXTRA_TARGET_FLAGS); do \
29011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29012 done; \
29013 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29016 "RANLIB=$${RANLIB}" \
29017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29018 info) \
29019 || exit 1
29021 @endif target-libstdc++-v3
29023 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
29024 maybe-dvi-target-libstdc++-v3:
29025 @if target-libstdc++-v3
29026 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
29028 dvi-target-libstdc++-v3: \
29029 configure-target-libstdc++-v3
29030 @: $(MAKE); $(unstage)
29031 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29032 r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 $(RAW_CXX_TARGET_EXPORTS) \
29035 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29036 for flag in $(EXTRA_TARGET_FLAGS); do \
29037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29038 done; \
29039 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29042 "RANLIB=$${RANLIB}" \
29043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29044 dvi) \
29045 || exit 1
29047 @endif target-libstdc++-v3
29049 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29050 maybe-html-target-libstdc++-v3:
29051 @if target-libstdc++-v3
29052 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29054 html-target-libstdc++-v3: \
29055 configure-target-libstdc++-v3
29056 @: $(MAKE); $(unstage)
29057 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29058 r=`${PWD_COMMAND}`; export r; \
29059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29060 $(RAW_CXX_TARGET_EXPORTS) \
29061 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29062 for flag in $(EXTRA_TARGET_FLAGS); do \
29063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29064 done; \
29065 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29068 "RANLIB=$${RANLIB}" \
29069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29070 html) \
29071 || exit 1
29073 @endif target-libstdc++-v3
29075 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29076 maybe-TAGS-target-libstdc++-v3:
29077 @if target-libstdc++-v3
29078 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29080 TAGS-target-libstdc++-v3: \
29081 configure-target-libstdc++-v3
29082 @: $(MAKE); $(unstage)
29083 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29084 r=`${PWD_COMMAND}`; export r; \
29085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29086 $(RAW_CXX_TARGET_EXPORTS) \
29087 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29088 for flag in $(EXTRA_TARGET_FLAGS); do \
29089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29090 done; \
29091 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 TAGS) \
29097 || exit 1
29099 @endif target-libstdc++-v3
29101 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29102 maybe-install-info-target-libstdc++-v3:
29103 @if target-libstdc++-v3
29104 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29106 install-info-target-libstdc++-v3: \
29107 configure-target-libstdc++-v3 \
29108 info-target-libstdc++-v3
29109 @: $(MAKE); $(unstage)
29110 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29111 r=`${PWD_COMMAND}`; export r; \
29112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29113 $(RAW_CXX_TARGET_EXPORTS) \
29114 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29115 for flag in $(EXTRA_TARGET_FLAGS); do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29121 "RANLIB=$${RANLIB}" \
29122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29123 install-info) \
29124 || exit 1
29126 @endif target-libstdc++-v3
29128 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29129 maybe-installcheck-target-libstdc++-v3:
29130 @if target-libstdc++-v3
29131 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29133 installcheck-target-libstdc++-v3: \
29134 configure-target-libstdc++-v3
29135 @: $(MAKE); $(unstage)
29136 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29137 r=`${PWD_COMMAND}`; export r; \
29138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29139 $(RAW_CXX_TARGET_EXPORTS) \
29140 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29141 for flag in $(EXTRA_TARGET_FLAGS); do \
29142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29143 done; \
29144 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29147 "RANLIB=$${RANLIB}" \
29148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29149 installcheck) \
29150 || exit 1
29152 @endif target-libstdc++-v3
29154 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29155 maybe-mostlyclean-target-libstdc++-v3:
29156 @if target-libstdc++-v3
29157 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29159 mostlyclean-target-libstdc++-v3:
29160 @: $(MAKE); $(unstage)
29161 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29162 r=`${PWD_COMMAND}`; export r; \
29163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29164 $(RAW_CXX_TARGET_EXPORTS) \
29165 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29166 for flag in $(EXTRA_TARGET_FLAGS); do \
29167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29168 done; \
29169 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29172 "RANLIB=$${RANLIB}" \
29173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29174 mostlyclean) \
29175 || exit 1
29177 @endif target-libstdc++-v3
29179 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29180 maybe-clean-target-libstdc++-v3:
29181 @if target-libstdc++-v3
29182 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29184 clean-target-libstdc++-v3:
29185 @: $(MAKE); $(unstage)
29186 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29187 r=`${PWD_COMMAND}`; export r; \
29188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29189 $(RAW_CXX_TARGET_EXPORTS) \
29190 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29191 for flag in $(EXTRA_TARGET_FLAGS); do \
29192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29193 done; \
29194 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29197 "RANLIB=$${RANLIB}" \
29198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29199 clean) \
29200 || exit 1
29202 @endif target-libstdc++-v3
29204 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29205 maybe-distclean-target-libstdc++-v3:
29206 @if target-libstdc++-v3
29207 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29209 distclean-target-libstdc++-v3:
29210 @: $(MAKE); $(unstage)
29211 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29212 r=`${PWD_COMMAND}`; export r; \
29213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29214 $(RAW_CXX_TARGET_EXPORTS) \
29215 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29216 for flag in $(EXTRA_TARGET_FLAGS); do \
29217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29218 done; \
29219 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29222 "RANLIB=$${RANLIB}" \
29223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29224 distclean) \
29225 || exit 1
29227 @endif target-libstdc++-v3
29229 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29230 maybe-maintainer-clean-target-libstdc++-v3:
29231 @if target-libstdc++-v3
29232 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29234 maintainer-clean-target-libstdc++-v3:
29235 @: $(MAKE); $(unstage)
29236 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29237 r=`${PWD_COMMAND}`; export r; \
29238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29239 $(RAW_CXX_TARGET_EXPORTS) \
29240 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29241 for flag in $(EXTRA_TARGET_FLAGS); do \
29242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29243 done; \
29244 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29247 "RANLIB=$${RANLIB}" \
29248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29249 maintainer-clean) \
29250 || exit 1
29252 @endif target-libstdc++-v3
29258 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29259 maybe-configure-target-libmudflap:
29260 @if target-libmudflap
29261 maybe-configure-target-libmudflap: configure-target-libmudflap
29262 configure-target-libmudflap:
29263 @: $(MAKE); $(unstage)
29264 @r=`${PWD_COMMAND}`; export r; \
29265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29266 echo "Checking multilib configuration for libmudflap..."; \
29267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29268 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29269 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29270 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29271 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29272 else \
29273 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29274 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29275 fi; \
29276 else \
29277 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29279 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29280 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29281 r=`${PWD_COMMAND}`; export r; \
29282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29283 $(NORMAL_TARGET_EXPORTS) \
29284 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29285 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29286 case $(srcdir) in \
29287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29288 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29290 esac; \
29291 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29292 libsrcdir="$$s/libmudflap"; \
29293 rm -f no-such-file || : ; \
29294 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29295 $(TARGET_CONFIGARGS) $${srcdiroption} \
29296 || exit 1
29297 @endif target-libmudflap
29303 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29304 maybe-all-target-libmudflap:
29305 @if target-libmudflap
29306 TARGET-target-libmudflap=all
29307 maybe-all-target-libmudflap: all-target-libmudflap
29308 all-target-libmudflap: configure-target-libmudflap
29309 @: $(MAKE); $(unstage)
29310 @r=`${PWD_COMMAND}`; export r; \
29311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29312 $(NORMAL_TARGET_EXPORTS) \
29313 (cd $(TARGET_SUBDIR)/libmudflap && \
29314 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29315 @endif target-libmudflap
29321 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29322 maybe-check-target-libmudflap:
29323 @if target-libmudflap
29324 maybe-check-target-libmudflap: check-target-libmudflap
29326 check-target-libmudflap:
29327 @: $(MAKE); $(unstage)
29328 @r=`${PWD_COMMAND}`; export r; \
29329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29330 $(NORMAL_TARGET_EXPORTS) \
29331 (cd $(TARGET_SUBDIR)/libmudflap && \
29332 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29334 @endif target-libmudflap
29336 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29337 maybe-install-target-libmudflap:
29338 @if target-libmudflap
29339 maybe-install-target-libmudflap: install-target-libmudflap
29341 install-target-libmudflap: installdirs
29342 @: $(MAKE); $(unstage)
29343 @r=`${PWD_COMMAND}`; export r; \
29344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29345 $(NORMAL_TARGET_EXPORTS) \
29346 (cd $(TARGET_SUBDIR)/libmudflap && \
29347 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29349 @endif target-libmudflap
29351 # Other targets (info, dvi, etc.)
29353 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29354 maybe-info-target-libmudflap:
29355 @if target-libmudflap
29356 maybe-info-target-libmudflap: info-target-libmudflap
29358 info-target-libmudflap: \
29359 configure-target-libmudflap
29360 @: $(MAKE); $(unstage)
29361 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29362 r=`${PWD_COMMAND}`; export r; \
29363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29364 $(NORMAL_TARGET_EXPORTS) \
29365 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29366 for flag in $(EXTRA_TARGET_FLAGS); do \
29367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29368 done; \
29369 (cd $(TARGET_SUBDIR)/libmudflap && \
29370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29372 "RANLIB=$${RANLIB}" \
29373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29374 info) \
29375 || exit 1
29377 @endif target-libmudflap
29379 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29380 maybe-dvi-target-libmudflap:
29381 @if target-libmudflap
29382 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29384 dvi-target-libmudflap: \
29385 configure-target-libmudflap
29386 @: $(MAKE); $(unstage)
29387 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29388 r=`${PWD_COMMAND}`; export r; \
29389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29390 $(NORMAL_TARGET_EXPORTS) \
29391 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29392 for flag in $(EXTRA_TARGET_FLAGS); do \
29393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29394 done; \
29395 (cd $(TARGET_SUBDIR)/libmudflap && \
29396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29398 "RANLIB=$${RANLIB}" \
29399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29400 dvi) \
29401 || exit 1
29403 @endif target-libmudflap
29405 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29406 maybe-html-target-libmudflap:
29407 @if target-libmudflap
29408 maybe-html-target-libmudflap: html-target-libmudflap
29410 html-target-libmudflap: \
29411 configure-target-libmudflap
29412 @: $(MAKE); $(unstage)
29413 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29414 r=`${PWD_COMMAND}`; export r; \
29415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29416 $(NORMAL_TARGET_EXPORTS) \
29417 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29418 for flag in $(EXTRA_TARGET_FLAGS); do \
29419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29420 done; \
29421 (cd $(TARGET_SUBDIR)/libmudflap && \
29422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29424 "RANLIB=$${RANLIB}" \
29425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29426 html) \
29427 || exit 1
29429 @endif target-libmudflap
29431 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29432 maybe-TAGS-target-libmudflap:
29433 @if target-libmudflap
29434 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29436 TAGS-target-libmudflap: \
29437 configure-target-libmudflap
29438 @: $(MAKE); $(unstage)
29439 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29440 r=`${PWD_COMMAND}`; export r; \
29441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29442 $(NORMAL_TARGET_EXPORTS) \
29443 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29444 for flag in $(EXTRA_TARGET_FLAGS); do \
29445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29446 done; \
29447 (cd $(TARGET_SUBDIR)/libmudflap && \
29448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29450 "RANLIB=$${RANLIB}" \
29451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29452 TAGS) \
29453 || exit 1
29455 @endif target-libmudflap
29457 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29458 maybe-install-info-target-libmudflap:
29459 @if target-libmudflap
29460 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29462 install-info-target-libmudflap: \
29463 configure-target-libmudflap \
29464 info-target-libmudflap
29465 @: $(MAKE); $(unstage)
29466 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29467 r=`${PWD_COMMAND}`; export r; \
29468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29469 $(NORMAL_TARGET_EXPORTS) \
29470 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29471 for flag in $(EXTRA_TARGET_FLAGS); do \
29472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29473 done; \
29474 (cd $(TARGET_SUBDIR)/libmudflap && \
29475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29477 "RANLIB=$${RANLIB}" \
29478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29479 install-info) \
29480 || exit 1
29482 @endif target-libmudflap
29484 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29485 maybe-installcheck-target-libmudflap:
29486 @if target-libmudflap
29487 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29489 installcheck-target-libmudflap: \
29490 configure-target-libmudflap
29491 @: $(MAKE); $(unstage)
29492 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29493 r=`${PWD_COMMAND}`; export r; \
29494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29495 $(NORMAL_TARGET_EXPORTS) \
29496 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29497 for flag in $(EXTRA_TARGET_FLAGS); do \
29498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29499 done; \
29500 (cd $(TARGET_SUBDIR)/libmudflap && \
29501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29503 "RANLIB=$${RANLIB}" \
29504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29505 installcheck) \
29506 || exit 1
29508 @endif target-libmudflap
29510 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29511 maybe-mostlyclean-target-libmudflap:
29512 @if target-libmudflap
29513 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29515 mostlyclean-target-libmudflap:
29516 @: $(MAKE); $(unstage)
29517 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29518 r=`${PWD_COMMAND}`; export r; \
29519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29520 $(NORMAL_TARGET_EXPORTS) \
29521 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29522 for flag in $(EXTRA_TARGET_FLAGS); do \
29523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29524 done; \
29525 (cd $(TARGET_SUBDIR)/libmudflap && \
29526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29528 "RANLIB=$${RANLIB}" \
29529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29530 mostlyclean) \
29531 || exit 1
29533 @endif target-libmudflap
29535 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29536 maybe-clean-target-libmudflap:
29537 @if target-libmudflap
29538 maybe-clean-target-libmudflap: clean-target-libmudflap
29540 clean-target-libmudflap:
29541 @: $(MAKE); $(unstage)
29542 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29543 r=`${PWD_COMMAND}`; export r; \
29544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29545 $(NORMAL_TARGET_EXPORTS) \
29546 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29547 for flag in $(EXTRA_TARGET_FLAGS); do \
29548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29549 done; \
29550 (cd $(TARGET_SUBDIR)/libmudflap && \
29551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29553 "RANLIB=$${RANLIB}" \
29554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29555 clean) \
29556 || exit 1
29558 @endif target-libmudflap
29560 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29561 maybe-distclean-target-libmudflap:
29562 @if target-libmudflap
29563 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29565 distclean-target-libmudflap:
29566 @: $(MAKE); $(unstage)
29567 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29568 r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 $(NORMAL_TARGET_EXPORTS) \
29571 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29572 for flag in $(EXTRA_TARGET_FLAGS); do \
29573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29574 done; \
29575 (cd $(TARGET_SUBDIR)/libmudflap && \
29576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29578 "RANLIB=$${RANLIB}" \
29579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29580 distclean) \
29581 || exit 1
29583 @endif target-libmudflap
29585 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29586 maybe-maintainer-clean-target-libmudflap:
29587 @if target-libmudflap
29588 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29590 maintainer-clean-target-libmudflap:
29591 @: $(MAKE); $(unstage)
29592 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29593 r=`${PWD_COMMAND}`; export r; \
29594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29595 $(NORMAL_TARGET_EXPORTS) \
29596 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29597 for flag in $(EXTRA_TARGET_FLAGS); do \
29598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29599 done; \
29600 (cd $(TARGET_SUBDIR)/libmudflap && \
29601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29603 "RANLIB=$${RANLIB}" \
29604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29605 maintainer-clean) \
29606 || exit 1
29608 @endif target-libmudflap
29614 .PHONY: configure-target-libssp maybe-configure-target-libssp
29615 maybe-configure-target-libssp:
29616 @if target-libssp
29617 maybe-configure-target-libssp: configure-target-libssp
29618 configure-target-libssp:
29619 @: $(MAKE); $(unstage)
29620 @r=`${PWD_COMMAND}`; export r; \
29621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29622 echo "Checking multilib configuration for libssp..."; \
29623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29624 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29625 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29626 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29627 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29628 else \
29629 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29630 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29631 fi; \
29632 else \
29633 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29635 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29637 r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(NORMAL_TARGET_EXPORTS) \
29640 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29641 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29642 case $(srcdir) in \
29643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29644 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29646 esac; \
29647 srcdiroption="--srcdir=$${topdir}/libssp"; \
29648 libsrcdir="$$s/libssp"; \
29649 rm -f no-such-file || : ; \
29650 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29651 $(TARGET_CONFIGARGS) $${srcdiroption} \
29652 || exit 1
29653 @endif target-libssp
29659 .PHONY: all-target-libssp maybe-all-target-libssp
29660 maybe-all-target-libssp:
29661 @if target-libssp
29662 TARGET-target-libssp=all
29663 maybe-all-target-libssp: all-target-libssp
29664 all-target-libssp: configure-target-libssp
29665 @: $(MAKE); $(unstage)
29666 @r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(NORMAL_TARGET_EXPORTS) \
29669 (cd $(TARGET_SUBDIR)/libssp && \
29670 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29671 @endif target-libssp
29677 .PHONY: check-target-libssp maybe-check-target-libssp
29678 maybe-check-target-libssp:
29679 @if target-libssp
29680 maybe-check-target-libssp: check-target-libssp
29682 check-target-libssp:
29683 @: $(MAKE); $(unstage)
29684 @r=`${PWD_COMMAND}`; export r; \
29685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29686 $(NORMAL_TARGET_EXPORTS) \
29687 (cd $(TARGET_SUBDIR)/libssp && \
29688 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29690 @endif target-libssp
29692 .PHONY: install-target-libssp maybe-install-target-libssp
29693 maybe-install-target-libssp:
29694 @if target-libssp
29695 maybe-install-target-libssp: install-target-libssp
29697 install-target-libssp: installdirs
29698 @: $(MAKE); $(unstage)
29699 @r=`${PWD_COMMAND}`; export r; \
29700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29701 $(NORMAL_TARGET_EXPORTS) \
29702 (cd $(TARGET_SUBDIR)/libssp && \
29703 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29705 @endif target-libssp
29707 # Other targets (info, dvi, etc.)
29709 .PHONY: maybe-info-target-libssp info-target-libssp
29710 maybe-info-target-libssp:
29711 @if target-libssp
29712 maybe-info-target-libssp: info-target-libssp
29714 info-target-libssp: \
29715 configure-target-libssp
29716 @: $(MAKE); $(unstage)
29717 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(NORMAL_TARGET_EXPORTS) \
29721 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29722 for flag in $(EXTRA_TARGET_FLAGS); do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 (cd $(TARGET_SUBDIR)/libssp && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29730 info) \
29731 || exit 1
29733 @endif target-libssp
29735 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29736 maybe-dvi-target-libssp:
29737 @if target-libssp
29738 maybe-dvi-target-libssp: dvi-target-libssp
29740 dvi-target-libssp: \
29741 configure-target-libssp
29742 @: $(MAKE); $(unstage)
29743 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(NORMAL_TARGET_EXPORTS) \
29747 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29748 for flag in $(EXTRA_TARGET_FLAGS); do \
29749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29750 done; \
29751 (cd $(TARGET_SUBDIR)/libssp && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29756 dvi) \
29757 || exit 1
29759 @endif target-libssp
29761 .PHONY: maybe-html-target-libssp html-target-libssp
29762 maybe-html-target-libssp:
29763 @if target-libssp
29764 maybe-html-target-libssp: html-target-libssp
29766 html-target-libssp: \
29767 configure-target-libssp
29768 @: $(MAKE); $(unstage)
29769 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(NORMAL_TARGET_EXPORTS) \
29773 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29774 for flag in $(EXTRA_TARGET_FLAGS); do \
29775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29776 done; \
29777 (cd $(TARGET_SUBDIR)/libssp && \
29778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29780 "RANLIB=$${RANLIB}" \
29781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29782 html) \
29783 || exit 1
29785 @endif target-libssp
29787 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29788 maybe-TAGS-target-libssp:
29789 @if target-libssp
29790 maybe-TAGS-target-libssp: TAGS-target-libssp
29792 TAGS-target-libssp: \
29793 configure-target-libssp
29794 @: $(MAKE); $(unstage)
29795 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(NORMAL_TARGET_EXPORTS) \
29799 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29800 for flag in $(EXTRA_TARGET_FLAGS); do \
29801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29802 done; \
29803 (cd $(TARGET_SUBDIR)/libssp && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29808 TAGS) \
29809 || exit 1
29811 @endif target-libssp
29813 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29814 maybe-install-info-target-libssp:
29815 @if target-libssp
29816 maybe-install-info-target-libssp: install-info-target-libssp
29818 install-info-target-libssp: \
29819 configure-target-libssp \
29820 info-target-libssp
29821 @: $(MAKE); $(unstage)
29822 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29823 r=`${PWD_COMMAND}`; export r; \
29824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29825 $(NORMAL_TARGET_EXPORTS) \
29826 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29827 for flag in $(EXTRA_TARGET_FLAGS); do \
29828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29829 done; \
29830 (cd $(TARGET_SUBDIR)/libssp && \
29831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29833 "RANLIB=$${RANLIB}" \
29834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29835 install-info) \
29836 || exit 1
29838 @endif target-libssp
29840 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29841 maybe-installcheck-target-libssp:
29842 @if target-libssp
29843 maybe-installcheck-target-libssp: installcheck-target-libssp
29845 installcheck-target-libssp: \
29846 configure-target-libssp
29847 @: $(MAKE); $(unstage)
29848 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29849 r=`${PWD_COMMAND}`; export r; \
29850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29851 $(NORMAL_TARGET_EXPORTS) \
29852 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29853 for flag in $(EXTRA_TARGET_FLAGS); do \
29854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29855 done; \
29856 (cd $(TARGET_SUBDIR)/libssp && \
29857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29859 "RANLIB=$${RANLIB}" \
29860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29861 installcheck) \
29862 || exit 1
29864 @endif target-libssp
29866 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29867 maybe-mostlyclean-target-libssp:
29868 @if target-libssp
29869 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29871 mostlyclean-target-libssp:
29872 @: $(MAKE); $(unstage)
29873 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29874 r=`${PWD_COMMAND}`; export r; \
29875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29876 $(NORMAL_TARGET_EXPORTS) \
29877 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29878 for flag in $(EXTRA_TARGET_FLAGS); do \
29879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29880 done; \
29881 (cd $(TARGET_SUBDIR)/libssp && \
29882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29884 "RANLIB=$${RANLIB}" \
29885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29886 mostlyclean) \
29887 || exit 1
29889 @endif target-libssp
29891 .PHONY: maybe-clean-target-libssp clean-target-libssp
29892 maybe-clean-target-libssp:
29893 @if target-libssp
29894 maybe-clean-target-libssp: clean-target-libssp
29896 clean-target-libssp:
29897 @: $(MAKE); $(unstage)
29898 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29899 r=`${PWD_COMMAND}`; export r; \
29900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29901 $(NORMAL_TARGET_EXPORTS) \
29902 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29903 for flag in $(EXTRA_TARGET_FLAGS); do \
29904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29905 done; \
29906 (cd $(TARGET_SUBDIR)/libssp && \
29907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29909 "RANLIB=$${RANLIB}" \
29910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29911 clean) \
29912 || exit 1
29914 @endif target-libssp
29916 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29917 maybe-distclean-target-libssp:
29918 @if target-libssp
29919 maybe-distclean-target-libssp: distclean-target-libssp
29921 distclean-target-libssp:
29922 @: $(MAKE); $(unstage)
29923 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29924 r=`${PWD_COMMAND}`; export r; \
29925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29926 $(NORMAL_TARGET_EXPORTS) \
29927 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29928 for flag in $(EXTRA_TARGET_FLAGS); do \
29929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29930 done; \
29931 (cd $(TARGET_SUBDIR)/libssp && \
29932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29934 "RANLIB=$${RANLIB}" \
29935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29936 distclean) \
29937 || exit 1
29939 @endif target-libssp
29941 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29942 maybe-maintainer-clean-target-libssp:
29943 @if target-libssp
29944 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29946 maintainer-clean-target-libssp:
29947 @: $(MAKE); $(unstage)
29948 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29949 r=`${PWD_COMMAND}`; export r; \
29950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29951 $(NORMAL_TARGET_EXPORTS) \
29952 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29953 for flag in $(EXTRA_TARGET_FLAGS); do \
29954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29955 done; \
29956 (cd $(TARGET_SUBDIR)/libssp && \
29957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29959 "RANLIB=$${RANLIB}" \
29960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29961 maintainer-clean) \
29962 || exit 1
29964 @endif target-libssp
29970 .PHONY: configure-target-libgcc-math maybe-configure-target-libgcc-math
29971 maybe-configure-target-libgcc-math:
29972 @if target-libgcc-math
29973 maybe-configure-target-libgcc-math: configure-target-libgcc-math
29974 configure-target-libgcc-math:
29975 @: $(MAKE); $(unstage)
29976 @r=`${PWD_COMMAND}`; export r; \
29977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29978 echo "Checking multilib configuration for libgcc-math..."; \
29979 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
29980 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc-math/multilib.tmp 2> /dev/null ; \
29981 if test -r $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
29982 if cmp -s $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
29983 rm -f $(TARGET_SUBDIR)/libgcc-math/multilib.tmp; \
29984 else \
29985 rm -f $(TARGET_SUBDIR)/libgcc-math/Makefile; \
29986 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
29987 fi; \
29988 else \
29989 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
29991 @test ! -f $(TARGET_SUBDIR)/libgcc-math/Makefile || exit 0; \
29992 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
29993 r=`${PWD_COMMAND}`; export r; \
29994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29995 $(NORMAL_TARGET_EXPORTS) \
29996 echo Configuring in $(TARGET_SUBDIR)/libgcc-math; \
29997 cd "$(TARGET_SUBDIR)/libgcc-math" || exit 1; \
29998 case $(srcdir) in \
29999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30000 *) topdir=`echo $(TARGET_SUBDIR)/libgcc-math/ | \
30001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30002 esac; \
30003 srcdiroption="--srcdir=$${topdir}/libgcc-math"; \
30004 libsrcdir="$$s/libgcc-math"; \
30005 rm -f no-such-file || : ; \
30006 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30007 $(TARGET_CONFIGARGS) $${srcdiroption} \
30008 || exit 1
30009 @endif target-libgcc-math
30015 .PHONY: all-target-libgcc-math maybe-all-target-libgcc-math
30016 maybe-all-target-libgcc-math:
30017 @if target-libgcc-math
30018 TARGET-target-libgcc-math=all
30019 maybe-all-target-libgcc-math: all-target-libgcc-math
30020 all-target-libgcc-math: configure-target-libgcc-math
30021 @: $(MAKE); $(unstage)
30022 @r=`${PWD_COMMAND}`; export r; \
30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30024 $(NORMAL_TARGET_EXPORTS) \
30025 (cd $(TARGET_SUBDIR)/libgcc-math && \
30026 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc-math))
30027 @endif target-libgcc-math
30033 .PHONY: check-target-libgcc-math maybe-check-target-libgcc-math
30034 maybe-check-target-libgcc-math:
30035 @if target-libgcc-math
30036 maybe-check-target-libgcc-math: check-target-libgcc-math
30038 check-target-libgcc-math:
30039 @: $(MAKE); $(unstage)
30040 @r=`${PWD_COMMAND}`; export r; \
30041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30042 $(NORMAL_TARGET_EXPORTS) \
30043 (cd $(TARGET_SUBDIR)/libgcc-math && \
30044 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30046 @endif target-libgcc-math
30048 .PHONY: install-target-libgcc-math maybe-install-target-libgcc-math
30049 maybe-install-target-libgcc-math:
30050 @if target-libgcc-math
30051 maybe-install-target-libgcc-math: install-target-libgcc-math
30053 install-target-libgcc-math: installdirs
30054 @: $(MAKE); $(unstage)
30055 @r=`${PWD_COMMAND}`; export r; \
30056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30057 $(NORMAL_TARGET_EXPORTS) \
30058 (cd $(TARGET_SUBDIR)/libgcc-math && \
30059 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30061 @endif target-libgcc-math
30063 # Other targets (info, dvi, etc.)
30065 .PHONY: maybe-info-target-libgcc-math info-target-libgcc-math
30066 maybe-info-target-libgcc-math:
30067 @if target-libgcc-math
30068 maybe-info-target-libgcc-math: info-target-libgcc-math
30070 info-target-libgcc-math: \
30071 configure-target-libgcc-math
30072 @: $(MAKE); $(unstage)
30073 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30074 r=`${PWD_COMMAND}`; export r; \
30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30076 $(NORMAL_TARGET_EXPORTS) \
30077 echo "Doing info in $(TARGET_SUBDIR)/libgcc-math" ; \
30078 for flag in $(EXTRA_TARGET_FLAGS); do \
30079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30080 done; \
30081 (cd $(TARGET_SUBDIR)/libgcc-math && \
30082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30084 "RANLIB=$${RANLIB}" \
30085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30086 info) \
30087 || exit 1
30089 @endif target-libgcc-math
30091 .PHONY: maybe-dvi-target-libgcc-math dvi-target-libgcc-math
30092 maybe-dvi-target-libgcc-math:
30093 @if target-libgcc-math
30094 maybe-dvi-target-libgcc-math: dvi-target-libgcc-math
30096 dvi-target-libgcc-math: \
30097 configure-target-libgcc-math
30098 @: $(MAKE); $(unstage)
30099 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30100 r=`${PWD_COMMAND}`; export r; \
30101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30102 $(NORMAL_TARGET_EXPORTS) \
30103 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc-math" ; \
30104 for flag in $(EXTRA_TARGET_FLAGS); do \
30105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30106 done; \
30107 (cd $(TARGET_SUBDIR)/libgcc-math && \
30108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30110 "RANLIB=$${RANLIB}" \
30111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30112 dvi) \
30113 || exit 1
30115 @endif target-libgcc-math
30117 .PHONY: maybe-html-target-libgcc-math html-target-libgcc-math
30118 maybe-html-target-libgcc-math:
30119 @if target-libgcc-math
30120 maybe-html-target-libgcc-math: html-target-libgcc-math
30122 html-target-libgcc-math: \
30123 configure-target-libgcc-math
30124 @: $(MAKE); $(unstage)
30125 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30126 r=`${PWD_COMMAND}`; export r; \
30127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30128 $(NORMAL_TARGET_EXPORTS) \
30129 echo "Doing html in $(TARGET_SUBDIR)/libgcc-math" ; \
30130 for flag in $(EXTRA_TARGET_FLAGS); do \
30131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30132 done; \
30133 (cd $(TARGET_SUBDIR)/libgcc-math && \
30134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30136 "RANLIB=$${RANLIB}" \
30137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30138 html) \
30139 || exit 1
30141 @endif target-libgcc-math
30143 .PHONY: maybe-TAGS-target-libgcc-math TAGS-target-libgcc-math
30144 maybe-TAGS-target-libgcc-math:
30145 @if target-libgcc-math
30146 maybe-TAGS-target-libgcc-math: TAGS-target-libgcc-math
30148 TAGS-target-libgcc-math: \
30149 configure-target-libgcc-math
30150 @: $(MAKE); $(unstage)
30151 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30152 r=`${PWD_COMMAND}`; export r; \
30153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30154 $(NORMAL_TARGET_EXPORTS) \
30155 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc-math" ; \
30156 for flag in $(EXTRA_TARGET_FLAGS); do \
30157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30158 done; \
30159 (cd $(TARGET_SUBDIR)/libgcc-math && \
30160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30162 "RANLIB=$${RANLIB}" \
30163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30164 TAGS) \
30165 || exit 1
30167 @endif target-libgcc-math
30169 .PHONY: maybe-install-info-target-libgcc-math install-info-target-libgcc-math
30170 maybe-install-info-target-libgcc-math:
30171 @if target-libgcc-math
30172 maybe-install-info-target-libgcc-math: install-info-target-libgcc-math
30174 install-info-target-libgcc-math: \
30175 configure-target-libgcc-math \
30176 info-target-libgcc-math
30177 @: $(MAKE); $(unstage)
30178 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30179 r=`${PWD_COMMAND}`; export r; \
30180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30181 $(NORMAL_TARGET_EXPORTS) \
30182 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc-math" ; \
30183 for flag in $(EXTRA_TARGET_FLAGS); do \
30184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30185 done; \
30186 (cd $(TARGET_SUBDIR)/libgcc-math && \
30187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30189 "RANLIB=$${RANLIB}" \
30190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30191 install-info) \
30192 || exit 1
30194 @endif target-libgcc-math
30196 .PHONY: maybe-installcheck-target-libgcc-math installcheck-target-libgcc-math
30197 maybe-installcheck-target-libgcc-math:
30198 @if target-libgcc-math
30199 maybe-installcheck-target-libgcc-math: installcheck-target-libgcc-math
30201 installcheck-target-libgcc-math: \
30202 configure-target-libgcc-math
30203 @: $(MAKE); $(unstage)
30204 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30205 r=`${PWD_COMMAND}`; export r; \
30206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30207 $(NORMAL_TARGET_EXPORTS) \
30208 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc-math" ; \
30209 for flag in $(EXTRA_TARGET_FLAGS); do \
30210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30211 done; \
30212 (cd $(TARGET_SUBDIR)/libgcc-math && \
30213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30215 "RANLIB=$${RANLIB}" \
30216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30217 installcheck) \
30218 || exit 1
30220 @endif target-libgcc-math
30222 .PHONY: maybe-mostlyclean-target-libgcc-math mostlyclean-target-libgcc-math
30223 maybe-mostlyclean-target-libgcc-math:
30224 @if target-libgcc-math
30225 maybe-mostlyclean-target-libgcc-math: mostlyclean-target-libgcc-math
30227 mostlyclean-target-libgcc-math:
30228 @: $(MAKE); $(unstage)
30229 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30230 r=`${PWD_COMMAND}`; export r; \
30231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30232 $(NORMAL_TARGET_EXPORTS) \
30233 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30234 for flag in $(EXTRA_TARGET_FLAGS); do \
30235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30236 done; \
30237 (cd $(TARGET_SUBDIR)/libgcc-math && \
30238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30240 "RANLIB=$${RANLIB}" \
30241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30242 mostlyclean) \
30243 || exit 1
30245 @endif target-libgcc-math
30247 .PHONY: maybe-clean-target-libgcc-math clean-target-libgcc-math
30248 maybe-clean-target-libgcc-math:
30249 @if target-libgcc-math
30250 maybe-clean-target-libgcc-math: clean-target-libgcc-math
30252 clean-target-libgcc-math:
30253 @: $(MAKE); $(unstage)
30254 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30255 r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 $(NORMAL_TARGET_EXPORTS) \
30258 echo "Doing clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30259 for flag in $(EXTRA_TARGET_FLAGS); do \
30260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30261 done; \
30262 (cd $(TARGET_SUBDIR)/libgcc-math && \
30263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30265 "RANLIB=$${RANLIB}" \
30266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30267 clean) \
30268 || exit 1
30270 @endif target-libgcc-math
30272 .PHONY: maybe-distclean-target-libgcc-math distclean-target-libgcc-math
30273 maybe-distclean-target-libgcc-math:
30274 @if target-libgcc-math
30275 maybe-distclean-target-libgcc-math: distclean-target-libgcc-math
30277 distclean-target-libgcc-math:
30278 @: $(MAKE); $(unstage)
30279 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30280 r=`${PWD_COMMAND}`; export r; \
30281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30282 $(NORMAL_TARGET_EXPORTS) \
30283 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30284 for flag in $(EXTRA_TARGET_FLAGS); do \
30285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30286 done; \
30287 (cd $(TARGET_SUBDIR)/libgcc-math && \
30288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30290 "RANLIB=$${RANLIB}" \
30291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30292 distclean) \
30293 || exit 1
30295 @endif target-libgcc-math
30297 .PHONY: maybe-maintainer-clean-target-libgcc-math maintainer-clean-target-libgcc-math
30298 maybe-maintainer-clean-target-libgcc-math:
30299 @if target-libgcc-math
30300 maybe-maintainer-clean-target-libgcc-math: maintainer-clean-target-libgcc-math
30302 maintainer-clean-target-libgcc-math:
30303 @: $(MAKE); $(unstage)
30304 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30305 r=`${PWD_COMMAND}`; export r; \
30306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30307 $(NORMAL_TARGET_EXPORTS) \
30308 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30309 for flag in $(EXTRA_TARGET_FLAGS); do \
30310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30311 done; \
30312 (cd $(TARGET_SUBDIR)/libgcc-math && \
30313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30315 "RANLIB=$${RANLIB}" \
30316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30317 maintainer-clean) \
30318 || exit 1
30320 @endif target-libgcc-math
30326 .PHONY: configure-target-newlib maybe-configure-target-newlib
30327 maybe-configure-target-newlib:
30328 @if target-newlib
30329 maybe-configure-target-newlib: configure-target-newlib
30330 configure-target-newlib:
30331 @: $(MAKE); $(unstage)
30332 @r=`${PWD_COMMAND}`; export r; \
30333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30334 echo "Checking multilib configuration for newlib..."; \
30335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
30337 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
30338 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
30339 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
30340 else \
30341 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
30342 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30343 fi; \
30344 else \
30345 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30347 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
30348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30349 r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 $(NORMAL_TARGET_EXPORTS) \
30352 echo Configuring in $(TARGET_SUBDIR)/newlib; \
30353 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
30354 case $(srcdir) in \
30355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30356 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
30357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30358 esac; \
30359 srcdiroption="--srcdir=$${topdir}/newlib"; \
30360 libsrcdir="$$s/newlib"; \
30361 rm -f no-such-file || : ; \
30362 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30363 $(TARGET_CONFIGARGS) $${srcdiroption} \
30364 || exit 1
30365 @endif target-newlib
30371 .PHONY: all-target-newlib maybe-all-target-newlib
30372 maybe-all-target-newlib:
30373 @if target-newlib
30374 TARGET-target-newlib=all
30375 maybe-all-target-newlib: all-target-newlib
30376 all-target-newlib: configure-target-newlib
30377 @: $(MAKE); $(unstage)
30378 @r=`${PWD_COMMAND}`; export r; \
30379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30380 $(NORMAL_TARGET_EXPORTS) \
30381 (cd $(TARGET_SUBDIR)/newlib && \
30382 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
30383 @endif target-newlib
30389 .PHONY: check-target-newlib maybe-check-target-newlib
30390 maybe-check-target-newlib:
30391 @if target-newlib
30392 maybe-check-target-newlib: check-target-newlib
30394 check-target-newlib:
30395 @: $(MAKE); $(unstage)
30396 @r=`${PWD_COMMAND}`; export r; \
30397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30398 $(NORMAL_TARGET_EXPORTS) \
30399 (cd $(TARGET_SUBDIR)/newlib && \
30400 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30402 @endif target-newlib
30404 .PHONY: install-target-newlib maybe-install-target-newlib
30405 maybe-install-target-newlib:
30406 @if target-newlib
30407 maybe-install-target-newlib: install-target-newlib
30409 install-target-newlib: installdirs
30410 @: $(MAKE); $(unstage)
30411 @r=`${PWD_COMMAND}`; export r; \
30412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30413 $(NORMAL_TARGET_EXPORTS) \
30414 (cd $(TARGET_SUBDIR)/newlib && \
30415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30417 @endif target-newlib
30419 # Other targets (info, dvi, etc.)
30421 .PHONY: maybe-info-target-newlib info-target-newlib
30422 maybe-info-target-newlib:
30423 @if target-newlib
30424 maybe-info-target-newlib: info-target-newlib
30426 info-target-newlib: \
30427 configure-target-newlib
30428 @: $(MAKE); $(unstage)
30429 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30430 r=`${PWD_COMMAND}`; export r; \
30431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30432 $(NORMAL_TARGET_EXPORTS) \
30433 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30434 for flag in $(EXTRA_TARGET_FLAGS); do \
30435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30436 done; \
30437 (cd $(TARGET_SUBDIR)/newlib && \
30438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30440 "RANLIB=$${RANLIB}" \
30441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30442 info) \
30443 || exit 1
30445 @endif target-newlib
30447 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30448 maybe-dvi-target-newlib:
30449 @if target-newlib
30450 maybe-dvi-target-newlib: dvi-target-newlib
30452 dvi-target-newlib: \
30453 configure-target-newlib
30454 @: $(MAKE); $(unstage)
30455 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30456 r=`${PWD_COMMAND}`; export r; \
30457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30458 $(NORMAL_TARGET_EXPORTS) \
30459 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30460 for flag in $(EXTRA_TARGET_FLAGS); do \
30461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30462 done; \
30463 (cd $(TARGET_SUBDIR)/newlib && \
30464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30466 "RANLIB=$${RANLIB}" \
30467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30468 dvi) \
30469 || exit 1
30471 @endif target-newlib
30473 .PHONY: maybe-html-target-newlib html-target-newlib
30474 maybe-html-target-newlib:
30475 @if target-newlib
30476 maybe-html-target-newlib: html-target-newlib
30478 html-target-newlib: \
30479 configure-target-newlib
30480 @: $(MAKE); $(unstage)
30481 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30482 r=`${PWD_COMMAND}`; export r; \
30483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30484 $(NORMAL_TARGET_EXPORTS) \
30485 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30486 for flag in $(EXTRA_TARGET_FLAGS); do \
30487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30488 done; \
30489 (cd $(TARGET_SUBDIR)/newlib && \
30490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30492 "RANLIB=$${RANLIB}" \
30493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30494 html) \
30495 || exit 1
30497 @endif target-newlib
30499 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30500 maybe-TAGS-target-newlib:
30501 @if target-newlib
30502 maybe-TAGS-target-newlib: TAGS-target-newlib
30504 TAGS-target-newlib: \
30505 configure-target-newlib
30506 @: $(MAKE); $(unstage)
30507 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30508 r=`${PWD_COMMAND}`; export r; \
30509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30510 $(NORMAL_TARGET_EXPORTS) \
30511 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30512 for flag in $(EXTRA_TARGET_FLAGS); do \
30513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30514 done; \
30515 (cd $(TARGET_SUBDIR)/newlib && \
30516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30518 "RANLIB=$${RANLIB}" \
30519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30520 TAGS) \
30521 || exit 1
30523 @endif target-newlib
30525 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30526 maybe-install-info-target-newlib:
30527 @if target-newlib
30528 maybe-install-info-target-newlib: install-info-target-newlib
30530 install-info-target-newlib: \
30531 configure-target-newlib \
30532 info-target-newlib
30533 @: $(MAKE); $(unstage)
30534 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30535 r=`${PWD_COMMAND}`; export r; \
30536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30537 $(NORMAL_TARGET_EXPORTS) \
30538 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30539 for flag in $(EXTRA_TARGET_FLAGS); do \
30540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30541 done; \
30542 (cd $(TARGET_SUBDIR)/newlib && \
30543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30545 "RANLIB=$${RANLIB}" \
30546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30547 install-info) \
30548 || exit 1
30550 @endif target-newlib
30552 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30553 maybe-installcheck-target-newlib:
30554 @if target-newlib
30555 maybe-installcheck-target-newlib: installcheck-target-newlib
30557 installcheck-target-newlib: \
30558 configure-target-newlib
30559 @: $(MAKE); $(unstage)
30560 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30561 r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 $(NORMAL_TARGET_EXPORTS) \
30564 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30565 for flag in $(EXTRA_TARGET_FLAGS); do \
30566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30567 done; \
30568 (cd $(TARGET_SUBDIR)/newlib && \
30569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30571 "RANLIB=$${RANLIB}" \
30572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30573 installcheck) \
30574 || exit 1
30576 @endif target-newlib
30578 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30579 maybe-mostlyclean-target-newlib:
30580 @if target-newlib
30581 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30583 mostlyclean-target-newlib:
30584 @: $(MAKE); $(unstage)
30585 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30586 r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 $(NORMAL_TARGET_EXPORTS) \
30589 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30590 for flag in $(EXTRA_TARGET_FLAGS); do \
30591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30592 done; \
30593 (cd $(TARGET_SUBDIR)/newlib && \
30594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30596 "RANLIB=$${RANLIB}" \
30597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30598 mostlyclean) \
30599 || exit 1
30601 @endif target-newlib
30603 .PHONY: maybe-clean-target-newlib clean-target-newlib
30604 maybe-clean-target-newlib:
30605 @if target-newlib
30606 maybe-clean-target-newlib: clean-target-newlib
30608 clean-target-newlib:
30609 @: $(MAKE); $(unstage)
30610 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30611 r=`${PWD_COMMAND}`; export r; \
30612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30613 $(NORMAL_TARGET_EXPORTS) \
30614 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30615 for flag in $(EXTRA_TARGET_FLAGS); do \
30616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30617 done; \
30618 (cd $(TARGET_SUBDIR)/newlib && \
30619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30621 "RANLIB=$${RANLIB}" \
30622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30623 clean) \
30624 || exit 1
30626 @endif target-newlib
30628 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30629 maybe-distclean-target-newlib:
30630 @if target-newlib
30631 maybe-distclean-target-newlib: distclean-target-newlib
30633 distclean-target-newlib:
30634 @: $(MAKE); $(unstage)
30635 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30636 r=`${PWD_COMMAND}`; export r; \
30637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30638 $(NORMAL_TARGET_EXPORTS) \
30639 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30640 for flag in $(EXTRA_TARGET_FLAGS); do \
30641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30642 done; \
30643 (cd $(TARGET_SUBDIR)/newlib && \
30644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30646 "RANLIB=$${RANLIB}" \
30647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30648 distclean) \
30649 || exit 1
30651 @endif target-newlib
30653 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30654 maybe-maintainer-clean-target-newlib:
30655 @if target-newlib
30656 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30658 maintainer-clean-target-newlib:
30659 @: $(MAKE); $(unstage)
30660 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30661 r=`${PWD_COMMAND}`; export r; \
30662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30663 $(NORMAL_TARGET_EXPORTS) \
30664 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 maintainer-clean) \
30674 || exit 1
30676 @endif target-newlib
30682 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30683 maybe-configure-target-libgfortran:
30684 @if target-libgfortran
30685 maybe-configure-target-libgfortran: configure-target-libgfortran
30686 configure-target-libgfortran:
30687 @: $(MAKE); $(unstage)
30688 @r=`${PWD_COMMAND}`; export r; \
30689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30690 echo "Checking multilib configuration for libgfortran..."; \
30691 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30692 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30693 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30694 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30695 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30696 else \
30697 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30698 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30699 fi; \
30700 else \
30701 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30703 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30704 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30705 r=`${PWD_COMMAND}`; export r; \
30706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30707 $(NORMAL_TARGET_EXPORTS) \
30708 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30709 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30710 case $(srcdir) in \
30711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30712 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30714 esac; \
30715 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30716 libsrcdir="$$s/libgfortran"; \
30717 rm -f no-such-file || : ; \
30718 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30719 $(TARGET_CONFIGARGS) $${srcdiroption} \
30720 || exit 1
30721 @endif target-libgfortran
30727 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30728 maybe-all-target-libgfortran:
30729 @if target-libgfortran
30730 TARGET-target-libgfortran=all
30731 maybe-all-target-libgfortran: all-target-libgfortran
30732 all-target-libgfortran: configure-target-libgfortran
30733 @: $(MAKE); $(unstage)
30734 @r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 $(NORMAL_TARGET_EXPORTS) \
30737 (cd $(TARGET_SUBDIR)/libgfortran && \
30738 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30739 @endif target-libgfortran
30745 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30746 maybe-check-target-libgfortran:
30747 @if target-libgfortran
30748 maybe-check-target-libgfortran: check-target-libgfortran
30750 check-target-libgfortran:
30751 @: $(MAKE); $(unstage)
30752 @r=`${PWD_COMMAND}`; export r; \
30753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30754 $(NORMAL_TARGET_EXPORTS) \
30755 (cd $(TARGET_SUBDIR)/libgfortran && \
30756 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30758 @endif target-libgfortran
30760 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30761 maybe-install-target-libgfortran:
30762 @if target-libgfortran
30763 maybe-install-target-libgfortran: install-target-libgfortran
30765 install-target-libgfortran: installdirs
30766 @: $(MAKE); $(unstage)
30767 @r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(NORMAL_TARGET_EXPORTS) \
30770 (cd $(TARGET_SUBDIR)/libgfortran && \
30771 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30773 @endif target-libgfortran
30775 # Other targets (info, dvi, etc.)
30777 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30778 maybe-info-target-libgfortran:
30779 @if target-libgfortran
30780 maybe-info-target-libgfortran: info-target-libgfortran
30782 info-target-libgfortran: \
30783 configure-target-libgfortran
30784 @: $(MAKE); $(unstage)
30785 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30786 r=`${PWD_COMMAND}`; export r; \
30787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30788 $(NORMAL_TARGET_EXPORTS) \
30789 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30790 for flag in $(EXTRA_TARGET_FLAGS); do \
30791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30792 done; \
30793 (cd $(TARGET_SUBDIR)/libgfortran && \
30794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30796 "RANLIB=$${RANLIB}" \
30797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30798 info) \
30799 || exit 1
30801 @endif target-libgfortran
30803 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30804 maybe-dvi-target-libgfortran:
30805 @if target-libgfortran
30806 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30808 dvi-target-libgfortran: \
30809 configure-target-libgfortran
30810 @: $(MAKE); $(unstage)
30811 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30812 r=`${PWD_COMMAND}`; export r; \
30813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30814 $(NORMAL_TARGET_EXPORTS) \
30815 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30816 for flag in $(EXTRA_TARGET_FLAGS); do \
30817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30818 done; \
30819 (cd $(TARGET_SUBDIR)/libgfortran && \
30820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30822 "RANLIB=$${RANLIB}" \
30823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30824 dvi) \
30825 || exit 1
30827 @endif target-libgfortran
30829 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30830 maybe-html-target-libgfortran:
30831 @if target-libgfortran
30832 maybe-html-target-libgfortran: html-target-libgfortran
30834 html-target-libgfortran: \
30835 configure-target-libgfortran
30836 @: $(MAKE); $(unstage)
30837 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30838 r=`${PWD_COMMAND}`; export r; \
30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30840 $(NORMAL_TARGET_EXPORTS) \
30841 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30842 for flag in $(EXTRA_TARGET_FLAGS); do \
30843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30844 done; \
30845 (cd $(TARGET_SUBDIR)/libgfortran && \
30846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30848 "RANLIB=$${RANLIB}" \
30849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30850 html) \
30851 || exit 1
30853 @endif target-libgfortran
30855 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30856 maybe-TAGS-target-libgfortran:
30857 @if target-libgfortran
30858 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30860 TAGS-target-libgfortran: \
30861 configure-target-libgfortran
30862 @: $(MAKE); $(unstage)
30863 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30864 r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(NORMAL_TARGET_EXPORTS) \
30867 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30868 for flag in $(EXTRA_TARGET_FLAGS); do \
30869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30870 done; \
30871 (cd $(TARGET_SUBDIR)/libgfortran && \
30872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30874 "RANLIB=$${RANLIB}" \
30875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30876 TAGS) \
30877 || exit 1
30879 @endif target-libgfortran
30881 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30882 maybe-install-info-target-libgfortran:
30883 @if target-libgfortran
30884 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30886 install-info-target-libgfortran: \
30887 configure-target-libgfortran \
30888 info-target-libgfortran
30889 @: $(MAKE); $(unstage)
30890 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30891 r=`${PWD_COMMAND}`; export r; \
30892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30893 $(NORMAL_TARGET_EXPORTS) \
30894 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30895 for flag in $(EXTRA_TARGET_FLAGS); do \
30896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30897 done; \
30898 (cd $(TARGET_SUBDIR)/libgfortran && \
30899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30901 "RANLIB=$${RANLIB}" \
30902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30903 install-info) \
30904 || exit 1
30906 @endif target-libgfortran
30908 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30909 maybe-installcheck-target-libgfortran:
30910 @if target-libgfortran
30911 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30913 installcheck-target-libgfortran: \
30914 configure-target-libgfortran
30915 @: $(MAKE); $(unstage)
30916 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30917 r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(NORMAL_TARGET_EXPORTS) \
30920 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30921 for flag in $(EXTRA_TARGET_FLAGS); do \
30922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30923 done; \
30924 (cd $(TARGET_SUBDIR)/libgfortran && \
30925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30927 "RANLIB=$${RANLIB}" \
30928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30929 installcheck) \
30930 || exit 1
30932 @endif target-libgfortran
30934 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30935 maybe-mostlyclean-target-libgfortran:
30936 @if target-libgfortran
30937 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30939 mostlyclean-target-libgfortran:
30940 @: $(MAKE); $(unstage)
30941 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30942 r=`${PWD_COMMAND}`; export r; \
30943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30944 $(NORMAL_TARGET_EXPORTS) \
30945 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30946 for flag in $(EXTRA_TARGET_FLAGS); do \
30947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30948 done; \
30949 (cd $(TARGET_SUBDIR)/libgfortran && \
30950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30952 "RANLIB=$${RANLIB}" \
30953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30954 mostlyclean) \
30955 || exit 1
30957 @endif target-libgfortran
30959 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30960 maybe-clean-target-libgfortran:
30961 @if target-libgfortran
30962 maybe-clean-target-libgfortran: clean-target-libgfortran
30964 clean-target-libgfortran:
30965 @: $(MAKE); $(unstage)
30966 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30967 r=`${PWD_COMMAND}`; export r; \
30968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30969 $(NORMAL_TARGET_EXPORTS) \
30970 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30971 for flag in $(EXTRA_TARGET_FLAGS); do \
30972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30973 done; \
30974 (cd $(TARGET_SUBDIR)/libgfortran && \
30975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30977 "RANLIB=$${RANLIB}" \
30978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30979 clean) \
30980 || exit 1
30982 @endif target-libgfortran
30984 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30985 maybe-distclean-target-libgfortran:
30986 @if target-libgfortran
30987 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30989 distclean-target-libgfortran:
30990 @: $(MAKE); $(unstage)
30991 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30992 r=`${PWD_COMMAND}`; export r; \
30993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30994 $(NORMAL_TARGET_EXPORTS) \
30995 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30996 for flag in $(EXTRA_TARGET_FLAGS); do \
30997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30998 done; \
30999 (cd $(TARGET_SUBDIR)/libgfortran && \
31000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31002 "RANLIB=$${RANLIB}" \
31003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31004 distclean) \
31005 || exit 1
31007 @endif target-libgfortran
31009 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
31010 maybe-maintainer-clean-target-libgfortran:
31011 @if target-libgfortran
31012 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
31014 maintainer-clean-target-libgfortran:
31015 @: $(MAKE); $(unstage)
31016 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31017 r=`${PWD_COMMAND}`; export r; \
31018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31019 $(NORMAL_TARGET_EXPORTS) \
31020 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
31021 for flag in $(EXTRA_TARGET_FLAGS); do \
31022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31023 done; \
31024 (cd $(TARGET_SUBDIR)/libgfortran && \
31025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31027 "RANLIB=$${RANLIB}" \
31028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31029 maintainer-clean) \
31030 || exit 1
31032 @endif target-libgfortran
31038 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
31039 maybe-configure-target-libobjc:
31040 @if target-libobjc
31041 maybe-configure-target-libobjc: configure-target-libobjc
31042 configure-target-libobjc:
31043 @: $(MAKE); $(unstage)
31044 @r=`${PWD_COMMAND}`; export r; \
31045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31046 echo "Checking multilib configuration for libobjc..."; \
31047 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31048 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
31049 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31050 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31051 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
31052 else \
31053 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
31054 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31055 fi; \
31056 else \
31057 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31059 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
31060 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31061 r=`${PWD_COMMAND}`; export r; \
31062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31063 $(NORMAL_TARGET_EXPORTS) \
31064 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
31065 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
31066 case $(srcdir) in \
31067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31068 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
31069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31070 esac; \
31071 srcdiroption="--srcdir=$${topdir}/libobjc"; \
31072 libsrcdir="$$s/libobjc"; \
31073 rm -f no-such-file || : ; \
31074 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31075 $(TARGET_CONFIGARGS) $${srcdiroption} \
31076 || exit 1
31077 @endif target-libobjc
31083 .PHONY: all-target-libobjc maybe-all-target-libobjc
31084 maybe-all-target-libobjc:
31085 @if target-libobjc
31086 TARGET-target-libobjc=all
31087 maybe-all-target-libobjc: all-target-libobjc
31088 all-target-libobjc: configure-target-libobjc
31089 @: $(MAKE); $(unstage)
31090 @r=`${PWD_COMMAND}`; export r; \
31091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31092 $(NORMAL_TARGET_EXPORTS) \
31093 (cd $(TARGET_SUBDIR)/libobjc && \
31094 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
31095 @endif target-libobjc
31101 .PHONY: check-target-libobjc maybe-check-target-libobjc
31102 maybe-check-target-libobjc:
31103 @if target-libobjc
31104 maybe-check-target-libobjc: check-target-libobjc
31106 check-target-libobjc:
31107 @: $(MAKE); $(unstage)
31108 @r=`${PWD_COMMAND}`; export r; \
31109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31110 $(NORMAL_TARGET_EXPORTS) \
31111 (cd $(TARGET_SUBDIR)/libobjc && \
31112 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31114 @endif target-libobjc
31116 .PHONY: install-target-libobjc maybe-install-target-libobjc
31117 maybe-install-target-libobjc:
31118 @if target-libobjc
31119 maybe-install-target-libobjc: install-target-libobjc
31121 install-target-libobjc: installdirs
31122 @: $(MAKE); $(unstage)
31123 @r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(NORMAL_TARGET_EXPORTS) \
31126 (cd $(TARGET_SUBDIR)/libobjc && \
31127 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31129 @endif target-libobjc
31131 # Other targets (info, dvi, etc.)
31133 .PHONY: maybe-info-target-libobjc info-target-libobjc
31134 maybe-info-target-libobjc:
31135 @if target-libobjc
31136 maybe-info-target-libobjc: info-target-libobjc
31138 info-target-libobjc: \
31139 configure-target-libobjc
31140 @: $(MAKE); $(unstage)
31141 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31142 r=`${PWD_COMMAND}`; export r; \
31143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31144 $(NORMAL_TARGET_EXPORTS) \
31145 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
31146 for flag in $(EXTRA_TARGET_FLAGS); do \
31147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31148 done; \
31149 (cd $(TARGET_SUBDIR)/libobjc && \
31150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31152 "RANLIB=$${RANLIB}" \
31153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31154 info) \
31155 || exit 1
31157 @endif target-libobjc
31159 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
31160 maybe-dvi-target-libobjc:
31161 @if target-libobjc
31162 maybe-dvi-target-libobjc: dvi-target-libobjc
31164 dvi-target-libobjc: \
31165 configure-target-libobjc
31166 @: $(MAKE); $(unstage)
31167 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31168 r=`${PWD_COMMAND}`; export r; \
31169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31170 $(NORMAL_TARGET_EXPORTS) \
31171 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
31172 for flag in $(EXTRA_TARGET_FLAGS); do \
31173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31174 done; \
31175 (cd $(TARGET_SUBDIR)/libobjc && \
31176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31178 "RANLIB=$${RANLIB}" \
31179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31180 dvi) \
31181 || exit 1
31183 @endif target-libobjc
31185 .PHONY: maybe-html-target-libobjc html-target-libobjc
31186 maybe-html-target-libobjc:
31187 @if target-libobjc
31188 maybe-html-target-libobjc: html-target-libobjc
31190 html-target-libobjc: \
31191 configure-target-libobjc
31192 @: $(MAKE); $(unstage)
31193 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31194 r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(NORMAL_TARGET_EXPORTS) \
31197 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
31198 for flag in $(EXTRA_TARGET_FLAGS); do \
31199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31200 done; \
31201 (cd $(TARGET_SUBDIR)/libobjc && \
31202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31204 "RANLIB=$${RANLIB}" \
31205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31206 html) \
31207 || exit 1
31209 @endif target-libobjc
31211 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
31212 maybe-TAGS-target-libobjc:
31213 @if target-libobjc
31214 maybe-TAGS-target-libobjc: TAGS-target-libobjc
31216 TAGS-target-libobjc: \
31217 configure-target-libobjc
31218 @: $(MAKE); $(unstage)
31219 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31220 r=`${PWD_COMMAND}`; export r; \
31221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31222 $(NORMAL_TARGET_EXPORTS) \
31223 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
31224 for flag in $(EXTRA_TARGET_FLAGS); do \
31225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31226 done; \
31227 (cd $(TARGET_SUBDIR)/libobjc && \
31228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31230 "RANLIB=$${RANLIB}" \
31231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31232 TAGS) \
31233 || exit 1
31235 @endif target-libobjc
31237 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
31238 maybe-install-info-target-libobjc:
31239 @if target-libobjc
31240 maybe-install-info-target-libobjc: install-info-target-libobjc
31242 install-info-target-libobjc: \
31243 configure-target-libobjc \
31244 info-target-libobjc
31245 @: $(MAKE); $(unstage)
31246 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31247 r=`${PWD_COMMAND}`; export r; \
31248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31249 $(NORMAL_TARGET_EXPORTS) \
31250 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
31251 for flag in $(EXTRA_TARGET_FLAGS); do \
31252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31253 done; \
31254 (cd $(TARGET_SUBDIR)/libobjc && \
31255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31257 "RANLIB=$${RANLIB}" \
31258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31259 install-info) \
31260 || exit 1
31262 @endif target-libobjc
31264 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
31265 maybe-installcheck-target-libobjc:
31266 @if target-libobjc
31267 maybe-installcheck-target-libobjc: installcheck-target-libobjc
31269 installcheck-target-libobjc: \
31270 configure-target-libobjc
31271 @: $(MAKE); $(unstage)
31272 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31273 r=`${PWD_COMMAND}`; export r; \
31274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31275 $(NORMAL_TARGET_EXPORTS) \
31276 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
31277 for flag in $(EXTRA_TARGET_FLAGS); do \
31278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31279 done; \
31280 (cd $(TARGET_SUBDIR)/libobjc && \
31281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31283 "RANLIB=$${RANLIB}" \
31284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31285 installcheck) \
31286 || exit 1
31288 @endif target-libobjc
31290 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
31291 maybe-mostlyclean-target-libobjc:
31292 @if target-libobjc
31293 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
31295 mostlyclean-target-libobjc:
31296 @: $(MAKE); $(unstage)
31297 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31298 r=`${PWD_COMMAND}`; export r; \
31299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31300 $(NORMAL_TARGET_EXPORTS) \
31301 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
31302 for flag in $(EXTRA_TARGET_FLAGS); do \
31303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31304 done; \
31305 (cd $(TARGET_SUBDIR)/libobjc && \
31306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31308 "RANLIB=$${RANLIB}" \
31309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31310 mostlyclean) \
31311 || exit 1
31313 @endif target-libobjc
31315 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
31316 maybe-clean-target-libobjc:
31317 @if target-libobjc
31318 maybe-clean-target-libobjc: clean-target-libobjc
31320 clean-target-libobjc:
31321 @: $(MAKE); $(unstage)
31322 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31323 r=`${PWD_COMMAND}`; export r; \
31324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31325 $(NORMAL_TARGET_EXPORTS) \
31326 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
31327 for flag in $(EXTRA_TARGET_FLAGS); do \
31328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31329 done; \
31330 (cd $(TARGET_SUBDIR)/libobjc && \
31331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31333 "RANLIB=$${RANLIB}" \
31334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31335 clean) \
31336 || exit 1
31338 @endif target-libobjc
31340 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
31341 maybe-distclean-target-libobjc:
31342 @if target-libobjc
31343 maybe-distclean-target-libobjc: distclean-target-libobjc
31345 distclean-target-libobjc:
31346 @: $(MAKE); $(unstage)
31347 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31348 r=`${PWD_COMMAND}`; export r; \
31349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31350 $(NORMAL_TARGET_EXPORTS) \
31351 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
31352 for flag in $(EXTRA_TARGET_FLAGS); do \
31353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31354 done; \
31355 (cd $(TARGET_SUBDIR)/libobjc && \
31356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31358 "RANLIB=$${RANLIB}" \
31359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31360 distclean) \
31361 || exit 1
31363 @endif target-libobjc
31365 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
31366 maybe-maintainer-clean-target-libobjc:
31367 @if target-libobjc
31368 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
31370 maintainer-clean-target-libobjc:
31371 @: $(MAKE); $(unstage)
31372 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31373 r=`${PWD_COMMAND}`; export r; \
31374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31375 $(NORMAL_TARGET_EXPORTS) \
31376 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
31377 for flag in $(EXTRA_TARGET_FLAGS); do \
31378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31379 done; \
31380 (cd $(TARGET_SUBDIR)/libobjc && \
31381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31383 "RANLIB=$${RANLIB}" \
31384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31385 maintainer-clean) \
31386 || exit 1
31388 @endif target-libobjc
31394 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31395 maybe-configure-target-libtermcap:
31396 @if target-libtermcap
31397 maybe-configure-target-libtermcap: configure-target-libtermcap
31398 configure-target-libtermcap:
31399 @: $(MAKE); $(unstage)
31400 @r=`${PWD_COMMAND}`; export r; \
31401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31402 echo "Checking multilib configuration for libtermcap..."; \
31403 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31404 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31405 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31406 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31407 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31408 else \
31409 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31410 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31411 fi; \
31412 else \
31413 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31415 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31417 r=`${PWD_COMMAND}`; export r; \
31418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31419 $(NORMAL_TARGET_EXPORTS) \
31420 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31421 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31422 case $(srcdir) in \
31423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31424 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31426 esac; \
31427 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31428 libsrcdir="$$s/libtermcap"; \
31429 rm -f no-such-file || : ; \
31430 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31431 $(TARGET_CONFIGARGS) $${srcdiroption} \
31432 || exit 1
31433 @endif target-libtermcap
31439 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31440 maybe-all-target-libtermcap:
31441 @if target-libtermcap
31442 TARGET-target-libtermcap=all
31443 maybe-all-target-libtermcap: all-target-libtermcap
31444 all-target-libtermcap: configure-target-libtermcap
31445 @: $(MAKE); $(unstage)
31446 @r=`${PWD_COMMAND}`; export r; \
31447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31448 $(NORMAL_TARGET_EXPORTS) \
31449 (cd $(TARGET_SUBDIR)/libtermcap && \
31450 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31451 @endif target-libtermcap
31457 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31458 maybe-check-target-libtermcap:
31459 @if target-libtermcap
31460 maybe-check-target-libtermcap: check-target-libtermcap
31462 # Dummy target for uncheckable module.
31463 check-target-libtermcap:
31465 @endif target-libtermcap
31467 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31468 maybe-install-target-libtermcap:
31469 @if target-libtermcap
31470 maybe-install-target-libtermcap: install-target-libtermcap
31472 install-target-libtermcap: installdirs
31473 @: $(MAKE); $(unstage)
31474 @r=`${PWD_COMMAND}`; export r; \
31475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31476 $(NORMAL_TARGET_EXPORTS) \
31477 (cd $(TARGET_SUBDIR)/libtermcap && \
31478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31480 @endif target-libtermcap
31482 # Other targets (info, dvi, etc.)
31484 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31485 maybe-info-target-libtermcap:
31486 @if target-libtermcap
31487 maybe-info-target-libtermcap: info-target-libtermcap
31489 info-target-libtermcap: \
31490 configure-target-libtermcap
31491 @: $(MAKE); $(unstage)
31492 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31493 r=`${PWD_COMMAND}`; export r; \
31494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31495 $(NORMAL_TARGET_EXPORTS) \
31496 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31497 for flag in $(EXTRA_TARGET_FLAGS); do \
31498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31499 done; \
31500 (cd $(TARGET_SUBDIR)/libtermcap && \
31501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31503 "RANLIB=$${RANLIB}" \
31504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31505 info) \
31506 || exit 1
31508 @endif target-libtermcap
31510 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31511 maybe-dvi-target-libtermcap:
31512 @if target-libtermcap
31513 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31515 dvi-target-libtermcap: \
31516 configure-target-libtermcap
31517 @: $(MAKE); $(unstage)
31518 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31519 r=`${PWD_COMMAND}`; export r; \
31520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31521 $(NORMAL_TARGET_EXPORTS) \
31522 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31523 for flag in $(EXTRA_TARGET_FLAGS); do \
31524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31525 done; \
31526 (cd $(TARGET_SUBDIR)/libtermcap && \
31527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31529 "RANLIB=$${RANLIB}" \
31530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31531 dvi) \
31532 || exit 1
31534 @endif target-libtermcap
31536 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31537 maybe-html-target-libtermcap:
31538 @if target-libtermcap
31539 maybe-html-target-libtermcap: html-target-libtermcap
31541 html-target-libtermcap: \
31542 configure-target-libtermcap
31543 @: $(MAKE); $(unstage)
31544 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31545 r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(NORMAL_TARGET_EXPORTS) \
31548 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31549 for flag in $(EXTRA_TARGET_FLAGS); do \
31550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31551 done; \
31552 (cd $(TARGET_SUBDIR)/libtermcap && \
31553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31555 "RANLIB=$${RANLIB}" \
31556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31557 html) \
31558 || exit 1
31560 @endif target-libtermcap
31562 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31563 maybe-TAGS-target-libtermcap:
31564 @if target-libtermcap
31565 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31567 TAGS-target-libtermcap: \
31568 configure-target-libtermcap
31569 @: $(MAKE); $(unstage)
31570 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(NORMAL_TARGET_EXPORTS) \
31574 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31575 for flag in $(EXTRA_TARGET_FLAGS); do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 (cd $(TARGET_SUBDIR)/libtermcap && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31583 TAGS) \
31584 || exit 1
31586 @endif target-libtermcap
31588 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31589 maybe-install-info-target-libtermcap:
31590 @if target-libtermcap
31591 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31593 install-info-target-libtermcap: \
31594 configure-target-libtermcap \
31595 info-target-libtermcap
31596 @: $(MAKE); $(unstage)
31597 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31598 r=`${PWD_COMMAND}`; export r; \
31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31600 $(NORMAL_TARGET_EXPORTS) \
31601 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31602 for flag in $(EXTRA_TARGET_FLAGS); do \
31603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31604 done; \
31605 (cd $(TARGET_SUBDIR)/libtermcap && \
31606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31608 "RANLIB=$${RANLIB}" \
31609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31610 install-info) \
31611 || exit 1
31613 @endif target-libtermcap
31615 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31616 maybe-installcheck-target-libtermcap:
31617 @if target-libtermcap
31618 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31620 installcheck-target-libtermcap: \
31621 configure-target-libtermcap
31622 @: $(MAKE); $(unstage)
31623 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31624 r=`${PWD_COMMAND}`; export r; \
31625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31626 $(NORMAL_TARGET_EXPORTS) \
31627 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31628 for flag in $(EXTRA_TARGET_FLAGS); do \
31629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31630 done; \
31631 (cd $(TARGET_SUBDIR)/libtermcap && \
31632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31634 "RANLIB=$${RANLIB}" \
31635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31636 installcheck) \
31637 || exit 1
31639 @endif target-libtermcap
31641 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31642 maybe-mostlyclean-target-libtermcap:
31643 @if target-libtermcap
31644 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31646 # libtermcap doesn't support mostlyclean.
31647 mostlyclean-target-libtermcap:
31649 @endif target-libtermcap
31651 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31652 maybe-clean-target-libtermcap:
31653 @if target-libtermcap
31654 maybe-clean-target-libtermcap: clean-target-libtermcap
31656 # libtermcap doesn't support clean.
31657 clean-target-libtermcap:
31659 @endif target-libtermcap
31661 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31662 maybe-distclean-target-libtermcap:
31663 @if target-libtermcap
31664 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31666 # libtermcap doesn't support distclean.
31667 distclean-target-libtermcap:
31669 @endif target-libtermcap
31671 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31672 maybe-maintainer-clean-target-libtermcap:
31673 @if target-libtermcap
31674 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31676 # libtermcap doesn't support maintainer-clean.
31677 maintainer-clean-target-libtermcap:
31679 @endif target-libtermcap
31685 .PHONY: configure-target-winsup maybe-configure-target-winsup
31686 maybe-configure-target-winsup:
31687 @if target-winsup
31688 maybe-configure-target-winsup: configure-target-winsup
31689 configure-target-winsup:
31690 @: $(MAKE); $(unstage)
31691 @r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 echo "Checking multilib configuration for winsup..."; \
31694 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31695 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31696 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31697 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31698 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31699 else \
31700 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31701 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31702 fi; \
31703 else \
31704 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31706 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31707 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31708 r=`${PWD_COMMAND}`; export r; \
31709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31710 $(NORMAL_TARGET_EXPORTS) \
31711 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31712 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31713 case $(srcdir) in \
31714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31715 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31717 esac; \
31718 srcdiroption="--srcdir=$${topdir}/winsup"; \
31719 libsrcdir="$$s/winsup"; \
31720 rm -f no-such-file || : ; \
31721 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31722 $(TARGET_CONFIGARGS) $${srcdiroption} \
31723 || exit 1
31724 @endif target-winsup
31730 .PHONY: all-target-winsup maybe-all-target-winsup
31731 maybe-all-target-winsup:
31732 @if target-winsup
31733 TARGET-target-winsup=all
31734 maybe-all-target-winsup: all-target-winsup
31735 all-target-winsup: configure-target-winsup
31736 @: $(MAKE); $(unstage)
31737 @r=`${PWD_COMMAND}`; export r; \
31738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31739 $(NORMAL_TARGET_EXPORTS) \
31740 (cd $(TARGET_SUBDIR)/winsup && \
31741 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31742 @endif target-winsup
31748 .PHONY: check-target-winsup maybe-check-target-winsup
31749 maybe-check-target-winsup:
31750 @if target-winsup
31751 maybe-check-target-winsup: check-target-winsup
31753 check-target-winsup:
31754 @: $(MAKE); $(unstage)
31755 @r=`${PWD_COMMAND}`; export r; \
31756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31757 $(NORMAL_TARGET_EXPORTS) \
31758 (cd $(TARGET_SUBDIR)/winsup && \
31759 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31761 @endif target-winsup
31763 .PHONY: install-target-winsup maybe-install-target-winsup
31764 maybe-install-target-winsup:
31765 @if target-winsup
31766 maybe-install-target-winsup: install-target-winsup
31768 install-target-winsup: installdirs
31769 @: $(MAKE); $(unstage)
31770 @r=`${PWD_COMMAND}`; export r; \
31771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31772 $(NORMAL_TARGET_EXPORTS) \
31773 (cd $(TARGET_SUBDIR)/winsup && \
31774 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31776 @endif target-winsup
31778 # Other targets (info, dvi, etc.)
31780 .PHONY: maybe-info-target-winsup info-target-winsup
31781 maybe-info-target-winsup:
31782 @if target-winsup
31783 maybe-info-target-winsup: info-target-winsup
31785 info-target-winsup: \
31786 configure-target-winsup
31787 @: $(MAKE); $(unstage)
31788 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31789 r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(NORMAL_TARGET_EXPORTS) \
31792 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31793 for flag in $(EXTRA_TARGET_FLAGS); do \
31794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31795 done; \
31796 (cd $(TARGET_SUBDIR)/winsup && \
31797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31799 "RANLIB=$${RANLIB}" \
31800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31801 info) \
31802 || exit 1
31804 @endif target-winsup
31806 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31807 maybe-dvi-target-winsup:
31808 @if target-winsup
31809 maybe-dvi-target-winsup: dvi-target-winsup
31811 dvi-target-winsup: \
31812 configure-target-winsup
31813 @: $(MAKE); $(unstage)
31814 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31815 r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 $(NORMAL_TARGET_EXPORTS) \
31818 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31819 for flag in $(EXTRA_TARGET_FLAGS); do \
31820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31821 done; \
31822 (cd $(TARGET_SUBDIR)/winsup && \
31823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31825 "RANLIB=$${RANLIB}" \
31826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31827 dvi) \
31828 || exit 1
31830 @endif target-winsup
31832 .PHONY: maybe-html-target-winsup html-target-winsup
31833 maybe-html-target-winsup:
31834 @if target-winsup
31835 maybe-html-target-winsup: html-target-winsup
31837 html-target-winsup: \
31838 configure-target-winsup
31839 @: $(MAKE); $(unstage)
31840 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31841 r=`${PWD_COMMAND}`; export r; \
31842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31843 $(NORMAL_TARGET_EXPORTS) \
31844 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31845 for flag in $(EXTRA_TARGET_FLAGS); do \
31846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31847 done; \
31848 (cd $(TARGET_SUBDIR)/winsup && \
31849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31851 "RANLIB=$${RANLIB}" \
31852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31853 html) \
31854 || exit 1
31856 @endif target-winsup
31858 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31859 maybe-TAGS-target-winsup:
31860 @if target-winsup
31861 maybe-TAGS-target-winsup: TAGS-target-winsup
31863 TAGS-target-winsup: \
31864 configure-target-winsup
31865 @: $(MAKE); $(unstage)
31866 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31867 r=`${PWD_COMMAND}`; export r; \
31868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31869 $(NORMAL_TARGET_EXPORTS) \
31870 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31871 for flag in $(EXTRA_TARGET_FLAGS); do \
31872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31873 done; \
31874 (cd $(TARGET_SUBDIR)/winsup && \
31875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31877 "RANLIB=$${RANLIB}" \
31878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31879 TAGS) \
31880 || exit 1
31882 @endif target-winsup
31884 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31885 maybe-install-info-target-winsup:
31886 @if target-winsup
31887 maybe-install-info-target-winsup: install-info-target-winsup
31889 install-info-target-winsup: \
31890 configure-target-winsup \
31891 info-target-winsup
31892 @: $(MAKE); $(unstage)
31893 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31894 r=`${PWD_COMMAND}`; export r; \
31895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31896 $(NORMAL_TARGET_EXPORTS) \
31897 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31898 for flag in $(EXTRA_TARGET_FLAGS); do \
31899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31900 done; \
31901 (cd $(TARGET_SUBDIR)/winsup && \
31902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31904 "RANLIB=$${RANLIB}" \
31905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31906 install-info) \
31907 || exit 1
31909 @endif target-winsup
31911 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31912 maybe-installcheck-target-winsup:
31913 @if target-winsup
31914 maybe-installcheck-target-winsup: installcheck-target-winsup
31916 installcheck-target-winsup: \
31917 configure-target-winsup
31918 @: $(MAKE); $(unstage)
31919 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31920 r=`${PWD_COMMAND}`; export r; \
31921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31922 $(NORMAL_TARGET_EXPORTS) \
31923 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31924 for flag in $(EXTRA_TARGET_FLAGS); do \
31925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31926 done; \
31927 (cd $(TARGET_SUBDIR)/winsup && \
31928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31930 "RANLIB=$${RANLIB}" \
31931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31932 installcheck) \
31933 || exit 1
31935 @endif target-winsup
31937 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31938 maybe-mostlyclean-target-winsup:
31939 @if target-winsup
31940 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31942 mostlyclean-target-winsup:
31943 @: $(MAKE); $(unstage)
31944 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31945 r=`${PWD_COMMAND}`; export r; \
31946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31947 $(NORMAL_TARGET_EXPORTS) \
31948 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31949 for flag in $(EXTRA_TARGET_FLAGS); do \
31950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31951 done; \
31952 (cd $(TARGET_SUBDIR)/winsup && \
31953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31955 "RANLIB=$${RANLIB}" \
31956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31957 mostlyclean) \
31958 || exit 1
31960 @endif target-winsup
31962 .PHONY: maybe-clean-target-winsup clean-target-winsup
31963 maybe-clean-target-winsup:
31964 @if target-winsup
31965 maybe-clean-target-winsup: clean-target-winsup
31967 clean-target-winsup:
31968 @: $(MAKE); $(unstage)
31969 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31970 r=`${PWD_COMMAND}`; export r; \
31971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31972 $(NORMAL_TARGET_EXPORTS) \
31973 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31974 for flag in $(EXTRA_TARGET_FLAGS); do \
31975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31976 done; \
31977 (cd $(TARGET_SUBDIR)/winsup && \
31978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31980 "RANLIB=$${RANLIB}" \
31981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31982 clean) \
31983 || exit 1
31985 @endif target-winsup
31987 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31988 maybe-distclean-target-winsup:
31989 @if target-winsup
31990 maybe-distclean-target-winsup: distclean-target-winsup
31992 distclean-target-winsup:
31993 @: $(MAKE); $(unstage)
31994 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31995 r=`${PWD_COMMAND}`; export r; \
31996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31997 $(NORMAL_TARGET_EXPORTS) \
31998 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31999 for flag in $(EXTRA_TARGET_FLAGS); do \
32000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32001 done; \
32002 (cd $(TARGET_SUBDIR)/winsup && \
32003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32005 "RANLIB=$${RANLIB}" \
32006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32007 distclean) \
32008 || exit 1
32010 @endif target-winsup
32012 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
32013 maybe-maintainer-clean-target-winsup:
32014 @if target-winsup
32015 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
32017 maintainer-clean-target-winsup:
32018 @: $(MAKE); $(unstage)
32019 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32020 r=`${PWD_COMMAND}`; export r; \
32021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32022 $(NORMAL_TARGET_EXPORTS) \
32023 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
32024 for flag in $(EXTRA_TARGET_FLAGS); do \
32025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32026 done; \
32027 (cd $(TARGET_SUBDIR)/winsup && \
32028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32030 "RANLIB=$${RANLIB}" \
32031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32032 maintainer-clean) \
32033 || exit 1
32035 @endif target-winsup
32041 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
32042 maybe-configure-target-libgloss:
32043 @if target-libgloss
32044 maybe-configure-target-libgloss: configure-target-libgloss
32045 configure-target-libgloss:
32046 @: $(MAKE); $(unstage)
32047 @r=`${PWD_COMMAND}`; export r; \
32048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32049 echo "Checking multilib configuration for libgloss..."; \
32050 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32051 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
32052 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32053 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32054 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
32055 else \
32056 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
32057 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32058 fi; \
32059 else \
32060 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32062 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
32063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32064 r=`${PWD_COMMAND}`; export r; \
32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32066 $(NORMAL_TARGET_EXPORTS) \
32067 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
32068 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
32069 case $(srcdir) in \
32070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32071 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
32072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32073 esac; \
32074 srcdiroption="--srcdir=$${topdir}/libgloss"; \
32075 libsrcdir="$$s/libgloss"; \
32076 rm -f no-such-file || : ; \
32077 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32078 $(TARGET_CONFIGARGS) $${srcdiroption} \
32079 || exit 1
32080 @endif target-libgloss
32086 .PHONY: all-target-libgloss maybe-all-target-libgloss
32087 maybe-all-target-libgloss:
32088 @if target-libgloss
32089 TARGET-target-libgloss=all
32090 maybe-all-target-libgloss: all-target-libgloss
32091 all-target-libgloss: configure-target-libgloss
32092 @: $(MAKE); $(unstage)
32093 @r=`${PWD_COMMAND}`; export r; \
32094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32095 $(NORMAL_TARGET_EXPORTS) \
32096 (cd $(TARGET_SUBDIR)/libgloss && \
32097 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
32098 @endif target-libgloss
32104 .PHONY: check-target-libgloss maybe-check-target-libgloss
32105 maybe-check-target-libgloss:
32106 @if target-libgloss
32107 maybe-check-target-libgloss: check-target-libgloss
32109 # Dummy target for uncheckable module.
32110 check-target-libgloss:
32112 @endif target-libgloss
32114 .PHONY: install-target-libgloss maybe-install-target-libgloss
32115 maybe-install-target-libgloss:
32116 @if target-libgloss
32117 maybe-install-target-libgloss: install-target-libgloss
32119 install-target-libgloss: installdirs
32120 @: $(MAKE); $(unstage)
32121 @r=`${PWD_COMMAND}`; export r; \
32122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32123 $(NORMAL_TARGET_EXPORTS) \
32124 (cd $(TARGET_SUBDIR)/libgloss && \
32125 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32127 @endif target-libgloss
32129 # Other targets (info, dvi, etc.)
32131 .PHONY: maybe-info-target-libgloss info-target-libgloss
32132 maybe-info-target-libgloss:
32133 @if target-libgloss
32134 maybe-info-target-libgloss: info-target-libgloss
32136 info-target-libgloss: \
32137 configure-target-libgloss
32138 @: $(MAKE); $(unstage)
32139 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32140 r=`${PWD_COMMAND}`; export r; \
32141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32142 $(NORMAL_TARGET_EXPORTS) \
32143 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
32144 for flag in $(EXTRA_TARGET_FLAGS); do \
32145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32146 done; \
32147 (cd $(TARGET_SUBDIR)/libgloss && \
32148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32150 "RANLIB=$${RANLIB}" \
32151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32152 info) \
32153 || exit 1
32155 @endif target-libgloss
32157 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
32158 maybe-dvi-target-libgloss:
32159 @if target-libgloss
32160 maybe-dvi-target-libgloss: dvi-target-libgloss
32162 dvi-target-libgloss: \
32163 configure-target-libgloss
32164 @: $(MAKE); $(unstage)
32165 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32166 r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 $(NORMAL_TARGET_EXPORTS) \
32169 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
32170 for flag in $(EXTRA_TARGET_FLAGS); do \
32171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32172 done; \
32173 (cd $(TARGET_SUBDIR)/libgloss && \
32174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32176 "RANLIB=$${RANLIB}" \
32177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32178 dvi) \
32179 || exit 1
32181 @endif target-libgloss
32183 .PHONY: maybe-html-target-libgloss html-target-libgloss
32184 maybe-html-target-libgloss:
32185 @if target-libgloss
32186 maybe-html-target-libgloss: html-target-libgloss
32188 html-target-libgloss: \
32189 configure-target-libgloss
32190 @: $(MAKE); $(unstage)
32191 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32192 r=`${PWD_COMMAND}`; export r; \
32193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32194 $(NORMAL_TARGET_EXPORTS) \
32195 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
32196 for flag in $(EXTRA_TARGET_FLAGS); do \
32197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32198 done; \
32199 (cd $(TARGET_SUBDIR)/libgloss && \
32200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32202 "RANLIB=$${RANLIB}" \
32203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32204 html) \
32205 || exit 1
32207 @endif target-libgloss
32209 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
32210 maybe-TAGS-target-libgloss:
32211 @if target-libgloss
32212 maybe-TAGS-target-libgloss: TAGS-target-libgloss
32214 TAGS-target-libgloss: \
32215 configure-target-libgloss
32216 @: $(MAKE); $(unstage)
32217 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32218 r=`${PWD_COMMAND}`; export r; \
32219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32220 $(NORMAL_TARGET_EXPORTS) \
32221 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
32222 for flag in $(EXTRA_TARGET_FLAGS); do \
32223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32224 done; \
32225 (cd $(TARGET_SUBDIR)/libgloss && \
32226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32228 "RANLIB=$${RANLIB}" \
32229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32230 TAGS) \
32231 || exit 1
32233 @endif target-libgloss
32235 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
32236 maybe-install-info-target-libgloss:
32237 @if target-libgloss
32238 maybe-install-info-target-libgloss: install-info-target-libgloss
32240 install-info-target-libgloss: \
32241 configure-target-libgloss \
32242 info-target-libgloss
32243 @: $(MAKE); $(unstage)
32244 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32245 r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(NORMAL_TARGET_EXPORTS) \
32248 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
32249 for flag in $(EXTRA_TARGET_FLAGS); do \
32250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32251 done; \
32252 (cd $(TARGET_SUBDIR)/libgloss && \
32253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32255 "RANLIB=$${RANLIB}" \
32256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32257 install-info) \
32258 || exit 1
32260 @endif target-libgloss
32262 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
32263 maybe-installcheck-target-libgloss:
32264 @if target-libgloss
32265 maybe-installcheck-target-libgloss: installcheck-target-libgloss
32267 installcheck-target-libgloss: \
32268 configure-target-libgloss
32269 @: $(MAKE); $(unstage)
32270 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32271 r=`${PWD_COMMAND}`; export r; \
32272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32273 $(NORMAL_TARGET_EXPORTS) \
32274 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
32275 for flag in $(EXTRA_TARGET_FLAGS); do \
32276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32277 done; \
32278 (cd $(TARGET_SUBDIR)/libgloss && \
32279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32281 "RANLIB=$${RANLIB}" \
32282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32283 installcheck) \
32284 || exit 1
32286 @endif target-libgloss
32288 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
32289 maybe-mostlyclean-target-libgloss:
32290 @if target-libgloss
32291 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
32293 mostlyclean-target-libgloss:
32294 @: $(MAKE); $(unstage)
32295 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32296 r=`${PWD_COMMAND}`; export r; \
32297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32298 $(NORMAL_TARGET_EXPORTS) \
32299 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
32300 for flag in $(EXTRA_TARGET_FLAGS); do \
32301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32302 done; \
32303 (cd $(TARGET_SUBDIR)/libgloss && \
32304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32306 "RANLIB=$${RANLIB}" \
32307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32308 mostlyclean) \
32309 || exit 1
32311 @endif target-libgloss
32313 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
32314 maybe-clean-target-libgloss:
32315 @if target-libgloss
32316 maybe-clean-target-libgloss: clean-target-libgloss
32318 clean-target-libgloss:
32319 @: $(MAKE); $(unstage)
32320 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32321 r=`${PWD_COMMAND}`; export r; \
32322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32323 $(NORMAL_TARGET_EXPORTS) \
32324 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
32325 for flag in $(EXTRA_TARGET_FLAGS); do \
32326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32327 done; \
32328 (cd $(TARGET_SUBDIR)/libgloss && \
32329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32331 "RANLIB=$${RANLIB}" \
32332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32333 clean) \
32334 || exit 1
32336 @endif target-libgloss
32338 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
32339 maybe-distclean-target-libgloss:
32340 @if target-libgloss
32341 maybe-distclean-target-libgloss: distclean-target-libgloss
32343 distclean-target-libgloss:
32344 @: $(MAKE); $(unstage)
32345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32346 r=`${PWD_COMMAND}`; export r; \
32347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32348 $(NORMAL_TARGET_EXPORTS) \
32349 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
32350 for flag in $(EXTRA_TARGET_FLAGS); do \
32351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32352 done; \
32353 (cd $(TARGET_SUBDIR)/libgloss && \
32354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32356 "RANLIB=$${RANLIB}" \
32357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32358 distclean) \
32359 || exit 1
32361 @endif target-libgloss
32363 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
32364 maybe-maintainer-clean-target-libgloss:
32365 @if target-libgloss
32366 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
32368 maintainer-clean-target-libgloss:
32369 @: $(MAKE); $(unstage)
32370 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32371 r=`${PWD_COMMAND}`; export r; \
32372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32373 $(NORMAL_TARGET_EXPORTS) \
32374 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
32375 for flag in $(EXTRA_TARGET_FLAGS); do \
32376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32377 done; \
32378 (cd $(TARGET_SUBDIR)/libgloss && \
32379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32381 "RANLIB=$${RANLIB}" \
32382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32383 maintainer-clean) \
32384 || exit 1
32386 @endif target-libgloss
32392 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32393 maybe-configure-target-libiberty:
32394 @if target-libiberty
32395 maybe-configure-target-libiberty: configure-target-libiberty
32396 configure-target-libiberty:
32397 @: $(MAKE); $(unstage)
32398 @r=`${PWD_COMMAND}`; export r; \
32399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32400 echo "Checking multilib configuration for libiberty..."; \
32401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32402 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32403 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32404 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32405 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32406 else \
32407 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32408 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32409 fi; \
32410 else \
32411 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32413 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32415 r=`${PWD_COMMAND}`; export r; \
32416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32417 $(NORMAL_TARGET_EXPORTS) \
32418 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32419 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32420 case $(srcdir) in \
32421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32422 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32424 esac; \
32425 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32426 libsrcdir="$$s/libiberty"; \
32427 rm -f no-such-file || : ; \
32428 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32429 $(TARGET_CONFIGARGS) $${srcdiroption} \
32430 || exit 1
32431 @endif target-libiberty
32437 .PHONY: all-target-libiberty maybe-all-target-libiberty
32438 maybe-all-target-libiberty:
32439 @if target-libiberty
32440 TARGET-target-libiberty=all
32441 maybe-all-target-libiberty: all-target-libiberty
32442 all-target-libiberty: configure-target-libiberty
32443 @: $(MAKE); $(unstage)
32444 @r=`${PWD_COMMAND}`; export r; \
32445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32446 $(NORMAL_TARGET_EXPORTS) \
32447 (cd $(TARGET_SUBDIR)/libiberty && \
32448 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32449 @endif target-libiberty
32455 .PHONY: check-target-libiberty maybe-check-target-libiberty
32456 maybe-check-target-libiberty:
32457 @if target-libiberty
32458 maybe-check-target-libiberty: check-target-libiberty
32460 check-target-libiberty:
32461 @: $(MAKE); $(unstage)
32462 @r=`${PWD_COMMAND}`; export r; \
32463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32464 $(NORMAL_TARGET_EXPORTS) \
32465 (cd $(TARGET_SUBDIR)/libiberty && \
32466 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32468 @endif target-libiberty
32470 .PHONY: install-target-libiberty maybe-install-target-libiberty
32471 maybe-install-target-libiberty:
32472 @if target-libiberty
32473 maybe-install-target-libiberty: install-target-libiberty
32475 install-target-libiberty: installdirs
32476 @: $(MAKE); $(unstage)
32477 @r=`${PWD_COMMAND}`; export r; \
32478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32479 $(NORMAL_TARGET_EXPORTS) \
32480 (cd $(TARGET_SUBDIR)/libiberty && \
32481 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32483 @endif target-libiberty
32485 # Other targets (info, dvi, etc.)
32487 .PHONY: maybe-info-target-libiberty info-target-libiberty
32488 maybe-info-target-libiberty:
32489 @if target-libiberty
32490 maybe-info-target-libiberty: info-target-libiberty
32492 info-target-libiberty: \
32493 configure-target-libiberty
32494 @: $(MAKE); $(unstage)
32495 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32496 r=`${PWD_COMMAND}`; export r; \
32497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32498 $(NORMAL_TARGET_EXPORTS) \
32499 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32500 for flag in $(EXTRA_TARGET_FLAGS); do \
32501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32502 done; \
32503 (cd $(TARGET_SUBDIR)/libiberty && \
32504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32506 "RANLIB=$${RANLIB}" \
32507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32508 info) \
32509 || exit 1
32511 @endif target-libiberty
32513 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32514 maybe-dvi-target-libiberty:
32515 @if target-libiberty
32516 maybe-dvi-target-libiberty: dvi-target-libiberty
32518 dvi-target-libiberty: \
32519 configure-target-libiberty
32520 @: $(MAKE); $(unstage)
32521 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32522 r=`${PWD_COMMAND}`; export r; \
32523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32524 $(NORMAL_TARGET_EXPORTS) \
32525 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 dvi) \
32535 || exit 1
32537 @endif target-libiberty
32539 .PHONY: maybe-html-target-libiberty html-target-libiberty
32540 maybe-html-target-libiberty:
32541 @if target-libiberty
32542 maybe-html-target-libiberty: html-target-libiberty
32544 html-target-libiberty: \
32545 configure-target-libiberty
32546 @: $(MAKE); $(unstage)
32547 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32548 r=`${PWD_COMMAND}`; export r; \
32549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32550 $(NORMAL_TARGET_EXPORTS) \
32551 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32552 for flag in $(EXTRA_TARGET_FLAGS); do \
32553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32554 done; \
32555 (cd $(TARGET_SUBDIR)/libiberty && \
32556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32558 "RANLIB=$${RANLIB}" \
32559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32560 html) \
32561 || exit 1
32563 @endif target-libiberty
32565 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32566 maybe-TAGS-target-libiberty:
32567 @if target-libiberty
32568 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32570 TAGS-target-libiberty: \
32571 configure-target-libiberty
32572 @: $(MAKE); $(unstage)
32573 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32574 r=`${PWD_COMMAND}`; export r; \
32575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32576 $(NORMAL_TARGET_EXPORTS) \
32577 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32578 for flag in $(EXTRA_TARGET_FLAGS); do \
32579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32580 done; \
32581 (cd $(TARGET_SUBDIR)/libiberty && \
32582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32584 "RANLIB=$${RANLIB}" \
32585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32586 TAGS) \
32587 || exit 1
32589 @endif target-libiberty
32591 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32592 maybe-install-info-target-libiberty:
32593 @if target-libiberty
32594 maybe-install-info-target-libiberty: install-info-target-libiberty
32596 install-info-target-libiberty: \
32597 configure-target-libiberty \
32598 info-target-libiberty
32599 @: $(MAKE); $(unstage)
32600 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32601 r=`${PWD_COMMAND}`; export r; \
32602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32603 $(NORMAL_TARGET_EXPORTS) \
32604 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32605 for flag in $(EXTRA_TARGET_FLAGS); do \
32606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32607 done; \
32608 (cd $(TARGET_SUBDIR)/libiberty && \
32609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32611 "RANLIB=$${RANLIB}" \
32612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32613 install-info) \
32614 || exit 1
32616 @endif target-libiberty
32618 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32619 maybe-installcheck-target-libiberty:
32620 @if target-libiberty
32621 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32623 installcheck-target-libiberty: \
32624 configure-target-libiberty
32625 @: $(MAKE); $(unstage)
32626 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32627 r=`${PWD_COMMAND}`; export r; \
32628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32629 $(NORMAL_TARGET_EXPORTS) \
32630 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32631 for flag in $(EXTRA_TARGET_FLAGS); do \
32632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32633 done; \
32634 (cd $(TARGET_SUBDIR)/libiberty && \
32635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32637 "RANLIB=$${RANLIB}" \
32638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32639 installcheck) \
32640 || exit 1
32642 @endif target-libiberty
32644 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32645 maybe-mostlyclean-target-libiberty:
32646 @if target-libiberty
32647 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32649 mostlyclean-target-libiberty:
32650 @: $(MAKE); $(unstage)
32651 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32652 r=`${PWD_COMMAND}`; export r; \
32653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32654 $(NORMAL_TARGET_EXPORTS) \
32655 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32656 for flag in $(EXTRA_TARGET_FLAGS); do \
32657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32658 done; \
32659 (cd $(TARGET_SUBDIR)/libiberty && \
32660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32662 "RANLIB=$${RANLIB}" \
32663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32664 mostlyclean) \
32665 || exit 1
32667 @endif target-libiberty
32669 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32670 maybe-clean-target-libiberty:
32671 @if target-libiberty
32672 maybe-clean-target-libiberty: clean-target-libiberty
32674 clean-target-libiberty:
32675 @: $(MAKE); $(unstage)
32676 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32677 r=`${PWD_COMMAND}`; export r; \
32678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32679 $(NORMAL_TARGET_EXPORTS) \
32680 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32681 for flag in $(EXTRA_TARGET_FLAGS); do \
32682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32683 done; \
32684 (cd $(TARGET_SUBDIR)/libiberty && \
32685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32687 "RANLIB=$${RANLIB}" \
32688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32689 clean) \
32690 || exit 1
32692 @endif target-libiberty
32694 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32695 maybe-distclean-target-libiberty:
32696 @if target-libiberty
32697 maybe-distclean-target-libiberty: distclean-target-libiberty
32699 distclean-target-libiberty:
32700 @: $(MAKE); $(unstage)
32701 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32702 r=`${PWD_COMMAND}`; export r; \
32703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32704 $(NORMAL_TARGET_EXPORTS) \
32705 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32706 for flag in $(EXTRA_TARGET_FLAGS); do \
32707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32708 done; \
32709 (cd $(TARGET_SUBDIR)/libiberty && \
32710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32712 "RANLIB=$${RANLIB}" \
32713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32714 distclean) \
32715 || exit 1
32717 @endif target-libiberty
32719 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32720 maybe-maintainer-clean-target-libiberty:
32721 @if target-libiberty
32722 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32724 maintainer-clean-target-libiberty:
32725 @: $(MAKE); $(unstage)
32726 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32727 r=`${PWD_COMMAND}`; export r; \
32728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32729 $(NORMAL_TARGET_EXPORTS) \
32730 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32731 for flag in $(EXTRA_TARGET_FLAGS); do \
32732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32733 done; \
32734 (cd $(TARGET_SUBDIR)/libiberty && \
32735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32737 "RANLIB=$${RANLIB}" \
32738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32739 maintainer-clean) \
32740 || exit 1
32742 @endif target-libiberty
32748 .PHONY: configure-target-gperf maybe-configure-target-gperf
32749 maybe-configure-target-gperf:
32750 @if target-gperf
32751 maybe-configure-target-gperf: configure-target-gperf
32752 configure-target-gperf:
32753 @: $(MAKE); $(unstage)
32754 @r=`${PWD_COMMAND}`; export r; \
32755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32756 echo "Checking multilib configuration for gperf..."; \
32757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32758 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32759 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32760 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32761 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32762 else \
32763 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32764 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32765 fi; \
32766 else \
32767 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32769 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32771 r=`${PWD_COMMAND}`; export r; \
32772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32773 $(NORMAL_TARGET_EXPORTS) \
32774 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32775 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32776 case $(srcdir) in \
32777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32778 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32780 esac; \
32781 srcdiroption="--srcdir=$${topdir}/gperf"; \
32782 libsrcdir="$$s/gperf"; \
32783 rm -f no-such-file || : ; \
32784 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32785 $(TARGET_CONFIGARGS) $${srcdiroption} \
32786 || exit 1
32787 @endif target-gperf
32793 .PHONY: all-target-gperf maybe-all-target-gperf
32794 maybe-all-target-gperf:
32795 @if target-gperf
32796 TARGET-target-gperf=all
32797 maybe-all-target-gperf: all-target-gperf
32798 all-target-gperf: configure-target-gperf
32799 @: $(MAKE); $(unstage)
32800 @r=`${PWD_COMMAND}`; export r; \
32801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32802 $(NORMAL_TARGET_EXPORTS) \
32803 (cd $(TARGET_SUBDIR)/gperf && \
32804 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32805 @endif target-gperf
32811 .PHONY: check-target-gperf maybe-check-target-gperf
32812 maybe-check-target-gperf:
32813 @if target-gperf
32814 maybe-check-target-gperf: check-target-gperf
32816 check-target-gperf:
32817 @: $(MAKE); $(unstage)
32818 @r=`${PWD_COMMAND}`; export r; \
32819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32820 $(NORMAL_TARGET_EXPORTS) \
32821 (cd $(TARGET_SUBDIR)/gperf && \
32822 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32824 @endif target-gperf
32826 .PHONY: install-target-gperf maybe-install-target-gperf
32827 maybe-install-target-gperf:
32828 @if target-gperf
32829 maybe-install-target-gperf: install-target-gperf
32831 install-target-gperf: installdirs
32832 @: $(MAKE); $(unstage)
32833 @r=`${PWD_COMMAND}`; export r; \
32834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32835 $(NORMAL_TARGET_EXPORTS) \
32836 (cd $(TARGET_SUBDIR)/gperf && \
32837 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32839 @endif target-gperf
32841 # Other targets (info, dvi, etc.)
32843 .PHONY: maybe-info-target-gperf info-target-gperf
32844 maybe-info-target-gperf:
32845 @if target-gperf
32846 maybe-info-target-gperf: info-target-gperf
32848 info-target-gperf: \
32849 configure-target-gperf
32850 @: $(MAKE); $(unstage)
32851 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32852 r=`${PWD_COMMAND}`; export r; \
32853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32854 $(NORMAL_TARGET_EXPORTS) \
32855 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32856 for flag in $(EXTRA_TARGET_FLAGS); do \
32857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32858 done; \
32859 (cd $(TARGET_SUBDIR)/gperf && \
32860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32862 "RANLIB=$${RANLIB}" \
32863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32864 info) \
32865 || exit 1
32867 @endif target-gperf
32869 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32870 maybe-dvi-target-gperf:
32871 @if target-gperf
32872 maybe-dvi-target-gperf: dvi-target-gperf
32874 dvi-target-gperf: \
32875 configure-target-gperf
32876 @: $(MAKE); $(unstage)
32877 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32878 r=`${PWD_COMMAND}`; export r; \
32879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32880 $(NORMAL_TARGET_EXPORTS) \
32881 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32882 for flag in $(EXTRA_TARGET_FLAGS); do \
32883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32884 done; \
32885 (cd $(TARGET_SUBDIR)/gperf && \
32886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32888 "RANLIB=$${RANLIB}" \
32889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32890 dvi) \
32891 || exit 1
32893 @endif target-gperf
32895 .PHONY: maybe-html-target-gperf html-target-gperf
32896 maybe-html-target-gperf:
32897 @if target-gperf
32898 maybe-html-target-gperf: html-target-gperf
32900 html-target-gperf: \
32901 configure-target-gperf
32902 @: $(MAKE); $(unstage)
32903 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32904 r=`${PWD_COMMAND}`; export r; \
32905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32906 $(NORMAL_TARGET_EXPORTS) \
32907 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32908 for flag in $(EXTRA_TARGET_FLAGS); do \
32909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32910 done; \
32911 (cd $(TARGET_SUBDIR)/gperf && \
32912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32914 "RANLIB=$${RANLIB}" \
32915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32916 html) \
32917 || exit 1
32919 @endif target-gperf
32921 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32922 maybe-TAGS-target-gperf:
32923 @if target-gperf
32924 maybe-TAGS-target-gperf: TAGS-target-gperf
32926 TAGS-target-gperf: \
32927 configure-target-gperf
32928 @: $(MAKE); $(unstage)
32929 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32930 r=`${PWD_COMMAND}`; export r; \
32931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32932 $(NORMAL_TARGET_EXPORTS) \
32933 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32934 for flag in $(EXTRA_TARGET_FLAGS); do \
32935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32936 done; \
32937 (cd $(TARGET_SUBDIR)/gperf && \
32938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32940 "RANLIB=$${RANLIB}" \
32941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32942 TAGS) \
32943 || exit 1
32945 @endif target-gperf
32947 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32948 maybe-install-info-target-gperf:
32949 @if target-gperf
32950 maybe-install-info-target-gperf: install-info-target-gperf
32952 install-info-target-gperf: \
32953 configure-target-gperf \
32954 info-target-gperf
32955 @: $(MAKE); $(unstage)
32956 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32957 r=`${PWD_COMMAND}`; export r; \
32958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32959 $(NORMAL_TARGET_EXPORTS) \
32960 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32961 for flag in $(EXTRA_TARGET_FLAGS); do \
32962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32963 done; \
32964 (cd $(TARGET_SUBDIR)/gperf && \
32965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32967 "RANLIB=$${RANLIB}" \
32968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32969 install-info) \
32970 || exit 1
32972 @endif target-gperf
32974 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32975 maybe-installcheck-target-gperf:
32976 @if target-gperf
32977 maybe-installcheck-target-gperf: installcheck-target-gperf
32979 installcheck-target-gperf: \
32980 configure-target-gperf
32981 @: $(MAKE); $(unstage)
32982 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32983 r=`${PWD_COMMAND}`; export r; \
32984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32985 $(NORMAL_TARGET_EXPORTS) \
32986 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32987 for flag in $(EXTRA_TARGET_FLAGS); do \
32988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32989 done; \
32990 (cd $(TARGET_SUBDIR)/gperf && \
32991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32993 "RANLIB=$${RANLIB}" \
32994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32995 installcheck) \
32996 || exit 1
32998 @endif target-gperf
33000 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
33001 maybe-mostlyclean-target-gperf:
33002 @if target-gperf
33003 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
33005 mostlyclean-target-gperf:
33006 @: $(MAKE); $(unstage)
33007 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33008 r=`${PWD_COMMAND}`; export r; \
33009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33010 $(NORMAL_TARGET_EXPORTS) \
33011 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
33012 for flag in $(EXTRA_TARGET_FLAGS); do \
33013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33014 done; \
33015 (cd $(TARGET_SUBDIR)/gperf && \
33016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33018 "RANLIB=$${RANLIB}" \
33019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33020 mostlyclean) \
33021 || exit 1
33023 @endif target-gperf
33025 .PHONY: maybe-clean-target-gperf clean-target-gperf
33026 maybe-clean-target-gperf:
33027 @if target-gperf
33028 maybe-clean-target-gperf: clean-target-gperf
33030 clean-target-gperf:
33031 @: $(MAKE); $(unstage)
33032 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33033 r=`${PWD_COMMAND}`; export r; \
33034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33035 $(NORMAL_TARGET_EXPORTS) \
33036 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
33037 for flag in $(EXTRA_TARGET_FLAGS); do \
33038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33039 done; \
33040 (cd $(TARGET_SUBDIR)/gperf && \
33041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33043 "RANLIB=$${RANLIB}" \
33044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33045 clean) \
33046 || exit 1
33048 @endif target-gperf
33050 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
33051 maybe-distclean-target-gperf:
33052 @if target-gperf
33053 maybe-distclean-target-gperf: distclean-target-gperf
33055 distclean-target-gperf:
33056 @: $(MAKE); $(unstage)
33057 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33058 r=`${PWD_COMMAND}`; export r; \
33059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33060 $(NORMAL_TARGET_EXPORTS) \
33061 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
33062 for flag in $(EXTRA_TARGET_FLAGS); do \
33063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33064 done; \
33065 (cd $(TARGET_SUBDIR)/gperf && \
33066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33068 "RANLIB=$${RANLIB}" \
33069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33070 distclean) \
33071 || exit 1
33073 @endif target-gperf
33075 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
33076 maybe-maintainer-clean-target-gperf:
33077 @if target-gperf
33078 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
33080 maintainer-clean-target-gperf:
33081 @: $(MAKE); $(unstage)
33082 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33083 r=`${PWD_COMMAND}`; export r; \
33084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33085 $(NORMAL_TARGET_EXPORTS) \
33086 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
33087 for flag in $(EXTRA_TARGET_FLAGS); do \
33088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33089 done; \
33090 (cd $(TARGET_SUBDIR)/gperf && \
33091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33093 "RANLIB=$${RANLIB}" \
33094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33095 maintainer-clean) \
33096 || exit 1
33098 @endif target-gperf
33104 .PHONY: configure-target-examples maybe-configure-target-examples
33105 maybe-configure-target-examples:
33106 @if target-examples
33107 maybe-configure-target-examples: configure-target-examples
33108 configure-target-examples:
33109 @: $(MAKE); $(unstage)
33110 @r=`${PWD_COMMAND}`; export r; \
33111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33112 echo "Checking multilib configuration for examples..."; \
33113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33114 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
33115 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
33116 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
33117 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
33118 else \
33119 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
33120 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33121 fi; \
33122 else \
33123 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33125 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
33126 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33127 r=`${PWD_COMMAND}`; export r; \
33128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33129 $(NORMAL_TARGET_EXPORTS) \
33130 echo Configuring in $(TARGET_SUBDIR)/examples; \
33131 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
33132 case $(srcdir) in \
33133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33134 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
33135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33136 esac; \
33137 srcdiroption="--srcdir=$${topdir}/examples"; \
33138 libsrcdir="$$s/examples"; \
33139 rm -f no-such-file || : ; \
33140 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33141 $(TARGET_CONFIGARGS) $${srcdiroption} \
33142 || exit 1
33143 @endif target-examples
33149 .PHONY: all-target-examples maybe-all-target-examples
33150 maybe-all-target-examples:
33151 @if target-examples
33152 TARGET-target-examples=all
33153 maybe-all-target-examples: all-target-examples
33154 all-target-examples: configure-target-examples
33155 @: $(MAKE); $(unstage)
33156 @r=`${PWD_COMMAND}`; export r; \
33157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33158 $(NORMAL_TARGET_EXPORTS) \
33159 (cd $(TARGET_SUBDIR)/examples && \
33160 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
33161 @endif target-examples
33167 .PHONY: check-target-examples maybe-check-target-examples
33168 maybe-check-target-examples:
33169 @if target-examples
33170 maybe-check-target-examples: check-target-examples
33172 # Dummy target for uncheckable module.
33173 check-target-examples:
33175 @endif target-examples
33177 .PHONY: install-target-examples maybe-install-target-examples
33178 maybe-install-target-examples:
33179 @if target-examples
33180 maybe-install-target-examples: install-target-examples
33182 # Dummy target for uninstallable.
33183 install-target-examples:
33185 @endif target-examples
33187 # Other targets (info, dvi, etc.)
33189 .PHONY: maybe-info-target-examples info-target-examples
33190 maybe-info-target-examples:
33191 @if target-examples
33192 maybe-info-target-examples: info-target-examples
33194 info-target-examples: \
33195 configure-target-examples
33196 @: $(MAKE); $(unstage)
33197 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33198 r=`${PWD_COMMAND}`; export r; \
33199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33200 $(NORMAL_TARGET_EXPORTS) \
33201 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
33202 for flag in $(EXTRA_TARGET_FLAGS); do \
33203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33204 done; \
33205 (cd $(TARGET_SUBDIR)/examples && \
33206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33208 "RANLIB=$${RANLIB}" \
33209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33210 info) \
33211 || exit 1
33213 @endif target-examples
33215 .PHONY: maybe-dvi-target-examples dvi-target-examples
33216 maybe-dvi-target-examples:
33217 @if target-examples
33218 maybe-dvi-target-examples: dvi-target-examples
33220 dvi-target-examples: \
33221 configure-target-examples
33222 @: $(MAKE); $(unstage)
33223 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33224 r=`${PWD_COMMAND}`; export r; \
33225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33226 $(NORMAL_TARGET_EXPORTS) \
33227 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
33228 for flag in $(EXTRA_TARGET_FLAGS); do \
33229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33230 done; \
33231 (cd $(TARGET_SUBDIR)/examples && \
33232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33234 "RANLIB=$${RANLIB}" \
33235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33236 dvi) \
33237 || exit 1
33239 @endif target-examples
33241 .PHONY: maybe-html-target-examples html-target-examples
33242 maybe-html-target-examples:
33243 @if target-examples
33244 maybe-html-target-examples: html-target-examples
33246 html-target-examples: \
33247 configure-target-examples
33248 @: $(MAKE); $(unstage)
33249 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33250 r=`${PWD_COMMAND}`; export r; \
33251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33252 $(NORMAL_TARGET_EXPORTS) \
33253 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
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)/examples && \
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 html) \
33263 || exit 1
33265 @endif target-examples
33267 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
33268 maybe-TAGS-target-examples:
33269 @if target-examples
33270 maybe-TAGS-target-examples: TAGS-target-examples
33272 TAGS-target-examples: \
33273 configure-target-examples
33274 @: $(MAKE); $(unstage)
33275 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33276 r=`${PWD_COMMAND}`; export r; \
33277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33278 $(NORMAL_TARGET_EXPORTS) \
33279 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
33280 for flag in $(EXTRA_TARGET_FLAGS); do \
33281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33282 done; \
33283 (cd $(TARGET_SUBDIR)/examples && \
33284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33286 "RANLIB=$${RANLIB}" \
33287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33288 TAGS) \
33289 || exit 1
33291 @endif target-examples
33293 .PHONY: maybe-install-info-target-examples install-info-target-examples
33294 maybe-install-info-target-examples:
33295 @if target-examples
33296 maybe-install-info-target-examples: install-info-target-examples
33298 install-info-target-examples: \
33299 configure-target-examples \
33300 info-target-examples
33301 @: $(MAKE); $(unstage)
33302 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33303 r=`${PWD_COMMAND}`; export r; \
33304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33305 $(NORMAL_TARGET_EXPORTS) \
33306 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
33307 for flag in $(EXTRA_TARGET_FLAGS); do \
33308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33309 done; \
33310 (cd $(TARGET_SUBDIR)/examples && \
33311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33313 "RANLIB=$${RANLIB}" \
33314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33315 install-info) \
33316 || exit 1
33318 @endif target-examples
33320 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
33321 maybe-installcheck-target-examples:
33322 @if target-examples
33323 maybe-installcheck-target-examples: installcheck-target-examples
33325 installcheck-target-examples: \
33326 configure-target-examples
33327 @: $(MAKE); $(unstage)
33328 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33329 r=`${PWD_COMMAND}`; export r; \
33330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33331 $(NORMAL_TARGET_EXPORTS) \
33332 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
33333 for flag in $(EXTRA_TARGET_FLAGS); do \
33334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33335 done; \
33336 (cd $(TARGET_SUBDIR)/examples && \
33337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33339 "RANLIB=$${RANLIB}" \
33340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33341 installcheck) \
33342 || exit 1
33344 @endif target-examples
33346 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
33347 maybe-mostlyclean-target-examples:
33348 @if target-examples
33349 maybe-mostlyclean-target-examples: mostlyclean-target-examples
33351 mostlyclean-target-examples:
33352 @: $(MAKE); $(unstage)
33353 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33354 r=`${PWD_COMMAND}`; export r; \
33355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33356 $(NORMAL_TARGET_EXPORTS) \
33357 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
33358 for flag in $(EXTRA_TARGET_FLAGS); do \
33359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33360 done; \
33361 (cd $(TARGET_SUBDIR)/examples && \
33362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33364 "RANLIB=$${RANLIB}" \
33365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33366 mostlyclean) \
33367 || exit 1
33369 @endif target-examples
33371 .PHONY: maybe-clean-target-examples clean-target-examples
33372 maybe-clean-target-examples:
33373 @if target-examples
33374 maybe-clean-target-examples: clean-target-examples
33376 clean-target-examples:
33377 @: $(MAKE); $(unstage)
33378 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33379 r=`${PWD_COMMAND}`; export r; \
33380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33381 $(NORMAL_TARGET_EXPORTS) \
33382 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
33383 for flag in $(EXTRA_TARGET_FLAGS); do \
33384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33385 done; \
33386 (cd $(TARGET_SUBDIR)/examples && \
33387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33389 "RANLIB=$${RANLIB}" \
33390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33391 clean) \
33392 || exit 1
33394 @endif target-examples
33396 .PHONY: maybe-distclean-target-examples distclean-target-examples
33397 maybe-distclean-target-examples:
33398 @if target-examples
33399 maybe-distclean-target-examples: distclean-target-examples
33401 distclean-target-examples:
33402 @: $(MAKE); $(unstage)
33403 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33404 r=`${PWD_COMMAND}`; export r; \
33405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33406 $(NORMAL_TARGET_EXPORTS) \
33407 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33408 for flag in $(EXTRA_TARGET_FLAGS); do \
33409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33410 done; \
33411 (cd $(TARGET_SUBDIR)/examples && \
33412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33414 "RANLIB=$${RANLIB}" \
33415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33416 distclean) \
33417 || exit 1
33419 @endif target-examples
33421 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33422 maybe-maintainer-clean-target-examples:
33423 @if target-examples
33424 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33426 maintainer-clean-target-examples:
33427 @: $(MAKE); $(unstage)
33428 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33429 r=`${PWD_COMMAND}`; export r; \
33430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33431 $(NORMAL_TARGET_EXPORTS) \
33432 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33433 for flag in $(EXTRA_TARGET_FLAGS); do \
33434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33435 done; \
33436 (cd $(TARGET_SUBDIR)/examples && \
33437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33439 "RANLIB=$${RANLIB}" \
33440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33441 maintainer-clean) \
33442 || exit 1
33444 @endif target-examples
33450 .PHONY: configure-target-libffi maybe-configure-target-libffi
33451 maybe-configure-target-libffi:
33452 @if target-libffi
33453 maybe-configure-target-libffi: configure-target-libffi
33454 configure-target-libffi:
33455 @: $(MAKE); $(unstage)
33456 @r=`${PWD_COMMAND}`; export r; \
33457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33458 echo "Checking multilib configuration for libffi..."; \
33459 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33460 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33461 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33462 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33463 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33464 else \
33465 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33466 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33467 fi; \
33468 else \
33469 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33471 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33473 r=`${PWD_COMMAND}`; export r; \
33474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33475 $(NORMAL_TARGET_EXPORTS) \
33476 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33477 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33478 case $(srcdir) in \
33479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33480 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33482 esac; \
33483 srcdiroption="--srcdir=$${topdir}/libffi"; \
33484 libsrcdir="$$s/libffi"; \
33485 rm -f no-such-file || : ; \
33486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33487 $(TARGET_CONFIGARGS) $${srcdiroption} \
33488 || exit 1
33489 @endif target-libffi
33495 .PHONY: all-target-libffi maybe-all-target-libffi
33496 maybe-all-target-libffi:
33497 @if target-libffi
33498 TARGET-target-libffi=all
33499 maybe-all-target-libffi: all-target-libffi
33500 all-target-libffi: configure-target-libffi
33501 @: $(MAKE); $(unstage)
33502 @r=`${PWD_COMMAND}`; export r; \
33503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33504 $(NORMAL_TARGET_EXPORTS) \
33505 (cd $(TARGET_SUBDIR)/libffi && \
33506 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33507 @endif target-libffi
33513 .PHONY: check-target-libffi maybe-check-target-libffi
33514 maybe-check-target-libffi:
33515 @if target-libffi
33516 maybe-check-target-libffi: check-target-libffi
33518 check-target-libffi:
33519 @: $(MAKE); $(unstage)
33520 @r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(NORMAL_TARGET_EXPORTS) \
33523 (cd $(TARGET_SUBDIR)/libffi && \
33524 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33526 @endif target-libffi
33528 .PHONY: install-target-libffi maybe-install-target-libffi
33529 maybe-install-target-libffi:
33530 @if target-libffi
33531 maybe-install-target-libffi: install-target-libffi
33533 install-target-libffi: installdirs
33534 @: $(MAKE); $(unstage)
33535 @r=`${PWD_COMMAND}`; export r; \
33536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33537 $(NORMAL_TARGET_EXPORTS) \
33538 (cd $(TARGET_SUBDIR)/libffi && \
33539 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33541 @endif target-libffi
33543 # Other targets (info, dvi, etc.)
33545 .PHONY: maybe-info-target-libffi info-target-libffi
33546 maybe-info-target-libffi:
33547 @if target-libffi
33548 maybe-info-target-libffi: info-target-libffi
33550 info-target-libffi: \
33551 configure-target-libffi
33552 @: $(MAKE); $(unstage)
33553 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33554 r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(NORMAL_TARGET_EXPORTS) \
33557 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 info) \
33567 || exit 1
33569 @endif target-libffi
33571 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33572 maybe-dvi-target-libffi:
33573 @if target-libffi
33574 maybe-dvi-target-libffi: dvi-target-libffi
33576 dvi-target-libffi: \
33577 configure-target-libffi
33578 @: $(MAKE); $(unstage)
33579 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33580 r=`${PWD_COMMAND}`; export r; \
33581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33582 $(NORMAL_TARGET_EXPORTS) \
33583 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33584 for flag in $(EXTRA_TARGET_FLAGS); do \
33585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33586 done; \
33587 (cd $(TARGET_SUBDIR)/libffi && \
33588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33590 "RANLIB=$${RANLIB}" \
33591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33592 dvi) \
33593 || exit 1
33595 @endif target-libffi
33597 .PHONY: maybe-html-target-libffi html-target-libffi
33598 maybe-html-target-libffi:
33599 @if target-libffi
33600 maybe-html-target-libffi: html-target-libffi
33602 html-target-libffi: \
33603 configure-target-libffi
33604 @: $(MAKE); $(unstage)
33605 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33606 r=`${PWD_COMMAND}`; export r; \
33607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33608 $(NORMAL_TARGET_EXPORTS) \
33609 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33610 for flag in $(EXTRA_TARGET_FLAGS); do \
33611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33612 done; \
33613 (cd $(TARGET_SUBDIR)/libffi && \
33614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33616 "RANLIB=$${RANLIB}" \
33617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33618 html) \
33619 || exit 1
33621 @endif target-libffi
33623 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33624 maybe-TAGS-target-libffi:
33625 @if target-libffi
33626 maybe-TAGS-target-libffi: TAGS-target-libffi
33628 TAGS-target-libffi: \
33629 configure-target-libffi
33630 @: $(MAKE); $(unstage)
33631 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33632 r=`${PWD_COMMAND}`; export r; \
33633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33634 $(NORMAL_TARGET_EXPORTS) \
33635 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33636 for flag in $(EXTRA_TARGET_FLAGS); do \
33637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33638 done; \
33639 (cd $(TARGET_SUBDIR)/libffi && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33642 "RANLIB=$${RANLIB}" \
33643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33644 TAGS) \
33645 || exit 1
33647 @endif target-libffi
33649 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33650 maybe-install-info-target-libffi:
33651 @if target-libffi
33652 maybe-install-info-target-libffi: install-info-target-libffi
33654 install-info-target-libffi: \
33655 configure-target-libffi \
33656 info-target-libffi
33657 @: $(MAKE); $(unstage)
33658 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33659 r=`${PWD_COMMAND}`; export r; \
33660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33661 $(NORMAL_TARGET_EXPORTS) \
33662 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33663 for flag in $(EXTRA_TARGET_FLAGS); do \
33664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33665 done; \
33666 (cd $(TARGET_SUBDIR)/libffi && \
33667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33669 "RANLIB=$${RANLIB}" \
33670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33671 install-info) \
33672 || exit 1
33674 @endif target-libffi
33676 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33677 maybe-installcheck-target-libffi:
33678 @if target-libffi
33679 maybe-installcheck-target-libffi: installcheck-target-libffi
33681 installcheck-target-libffi: \
33682 configure-target-libffi
33683 @: $(MAKE); $(unstage)
33684 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33685 r=`${PWD_COMMAND}`; export r; \
33686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33687 $(NORMAL_TARGET_EXPORTS) \
33688 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33689 for flag in $(EXTRA_TARGET_FLAGS); do \
33690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33691 done; \
33692 (cd $(TARGET_SUBDIR)/libffi && \
33693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33695 "RANLIB=$${RANLIB}" \
33696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33697 installcheck) \
33698 || exit 1
33700 @endif target-libffi
33702 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33703 maybe-mostlyclean-target-libffi:
33704 @if target-libffi
33705 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33707 mostlyclean-target-libffi:
33708 @: $(MAKE); $(unstage)
33709 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33710 r=`${PWD_COMMAND}`; export r; \
33711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33712 $(NORMAL_TARGET_EXPORTS) \
33713 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33714 for flag in $(EXTRA_TARGET_FLAGS); do \
33715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33716 done; \
33717 (cd $(TARGET_SUBDIR)/libffi && \
33718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33720 "RANLIB=$${RANLIB}" \
33721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33722 mostlyclean) \
33723 || exit 1
33725 @endif target-libffi
33727 .PHONY: maybe-clean-target-libffi clean-target-libffi
33728 maybe-clean-target-libffi:
33729 @if target-libffi
33730 maybe-clean-target-libffi: clean-target-libffi
33732 clean-target-libffi:
33733 @: $(MAKE); $(unstage)
33734 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33735 r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33737 $(NORMAL_TARGET_EXPORTS) \
33738 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33739 for flag in $(EXTRA_TARGET_FLAGS); do \
33740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33741 done; \
33742 (cd $(TARGET_SUBDIR)/libffi && \
33743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33745 "RANLIB=$${RANLIB}" \
33746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33747 clean) \
33748 || exit 1
33750 @endif target-libffi
33752 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33753 maybe-distclean-target-libffi:
33754 @if target-libffi
33755 maybe-distclean-target-libffi: distclean-target-libffi
33757 distclean-target-libffi:
33758 @: $(MAKE); $(unstage)
33759 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33760 r=`${PWD_COMMAND}`; export r; \
33761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33762 $(NORMAL_TARGET_EXPORTS) \
33763 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33764 for flag in $(EXTRA_TARGET_FLAGS); do \
33765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33766 done; \
33767 (cd $(TARGET_SUBDIR)/libffi && \
33768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33770 "RANLIB=$${RANLIB}" \
33771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33772 distclean) \
33773 || exit 1
33775 @endif target-libffi
33777 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33778 maybe-maintainer-clean-target-libffi:
33779 @if target-libffi
33780 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33782 maintainer-clean-target-libffi:
33783 @: $(MAKE); $(unstage)
33784 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33785 r=`${PWD_COMMAND}`; export r; \
33786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33787 $(NORMAL_TARGET_EXPORTS) \
33788 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33789 for flag in $(EXTRA_TARGET_FLAGS); do \
33790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33791 done; \
33792 (cd $(TARGET_SUBDIR)/libffi && \
33793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33795 "RANLIB=$${RANLIB}" \
33796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33797 maintainer-clean) \
33798 || exit 1
33800 @endif target-libffi
33806 .PHONY: configure-target-libjava maybe-configure-target-libjava
33807 maybe-configure-target-libjava:
33808 @if target-libjava
33809 maybe-configure-target-libjava: configure-target-libjava
33810 configure-target-libjava:
33811 @: $(MAKE); $(unstage)
33812 @r=`${PWD_COMMAND}`; export r; \
33813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33814 echo "Checking multilib configuration for libjava..."; \
33815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33816 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
33817 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
33818 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
33819 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
33820 else \
33821 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
33822 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33823 fi; \
33824 else \
33825 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33827 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33828 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33829 r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(RAW_CXX_TARGET_EXPORTS) \
33832 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33833 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33834 case $(srcdir) in \
33835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33836 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33838 esac; \
33839 srcdiroption="--srcdir=$${topdir}/libjava"; \
33840 libsrcdir="$$s/libjava"; \
33841 rm -f no-such-file || : ; \
33842 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33843 $(TARGET_CONFIGARGS) $${srcdiroption} \
33844 || exit 1
33845 @endif target-libjava
33851 .PHONY: all-target-libjava maybe-all-target-libjava
33852 maybe-all-target-libjava:
33853 @if target-libjava
33854 TARGET-target-libjava=all
33855 maybe-all-target-libjava: all-target-libjava
33856 all-target-libjava: configure-target-libjava
33857 @: $(MAKE); $(unstage)
33858 @r=`${PWD_COMMAND}`; export r; \
33859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33860 $(RAW_CXX_TARGET_EXPORTS) \
33861 (cd $(TARGET_SUBDIR)/libjava && \
33862 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33863 @endif target-libjava
33869 .PHONY: check-target-libjava maybe-check-target-libjava
33870 maybe-check-target-libjava:
33871 @if target-libjava
33872 maybe-check-target-libjava: check-target-libjava
33874 check-target-libjava:
33875 @: $(MAKE); $(unstage)
33876 @r=`${PWD_COMMAND}`; export r; \
33877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33878 $(RAW_CXX_TARGET_EXPORTS) \
33879 (cd $(TARGET_SUBDIR)/libjava && \
33880 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33882 @endif target-libjava
33884 .PHONY: install-target-libjava maybe-install-target-libjava
33885 maybe-install-target-libjava:
33886 @if target-libjava
33887 maybe-install-target-libjava: install-target-libjava
33889 install-target-libjava: installdirs
33890 @: $(MAKE); $(unstage)
33891 @r=`${PWD_COMMAND}`; export r; \
33892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33893 $(RAW_CXX_TARGET_EXPORTS) \
33894 (cd $(TARGET_SUBDIR)/libjava && \
33895 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33897 @endif target-libjava
33899 # Other targets (info, dvi, etc.)
33901 .PHONY: maybe-info-target-libjava info-target-libjava
33902 maybe-info-target-libjava:
33903 @if target-libjava
33904 maybe-info-target-libjava: info-target-libjava
33906 info-target-libjava: \
33907 configure-target-libjava
33908 @: $(MAKE); $(unstage)
33909 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33910 r=`${PWD_COMMAND}`; export r; \
33911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33912 $(RAW_CXX_TARGET_EXPORTS) \
33913 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33914 for flag in $(EXTRA_TARGET_FLAGS); do \
33915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33916 done; \
33917 (cd $(TARGET_SUBDIR)/libjava && \
33918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33920 "RANLIB=$${RANLIB}" \
33921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33922 info) \
33923 || exit 1
33925 @endif target-libjava
33927 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33928 maybe-dvi-target-libjava:
33929 @if target-libjava
33930 maybe-dvi-target-libjava: dvi-target-libjava
33932 dvi-target-libjava: \
33933 configure-target-libjava
33934 @: $(MAKE); $(unstage)
33935 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33936 r=`${PWD_COMMAND}`; export r; \
33937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33938 $(RAW_CXX_TARGET_EXPORTS) \
33939 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33940 for flag in $(EXTRA_TARGET_FLAGS); do \
33941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33942 done; \
33943 (cd $(TARGET_SUBDIR)/libjava && \
33944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33946 "RANLIB=$${RANLIB}" \
33947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33948 dvi) \
33949 || exit 1
33951 @endif target-libjava
33953 .PHONY: maybe-html-target-libjava html-target-libjava
33954 maybe-html-target-libjava:
33955 @if target-libjava
33956 maybe-html-target-libjava: html-target-libjava
33958 html-target-libjava: \
33959 configure-target-libjava
33960 @: $(MAKE); $(unstage)
33961 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33962 r=`${PWD_COMMAND}`; export r; \
33963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33964 $(RAW_CXX_TARGET_EXPORTS) \
33965 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33966 for flag in $(EXTRA_TARGET_FLAGS); do \
33967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33968 done; \
33969 (cd $(TARGET_SUBDIR)/libjava && \
33970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33972 "RANLIB=$${RANLIB}" \
33973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33974 html) \
33975 || exit 1
33977 @endif target-libjava
33979 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33980 maybe-TAGS-target-libjava:
33981 @if target-libjava
33982 maybe-TAGS-target-libjava: TAGS-target-libjava
33984 TAGS-target-libjava: \
33985 configure-target-libjava
33986 @: $(MAKE); $(unstage)
33987 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33988 r=`${PWD_COMMAND}`; export r; \
33989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33990 $(RAW_CXX_TARGET_EXPORTS) \
33991 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33992 for flag in $(EXTRA_TARGET_FLAGS); do \
33993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33994 done; \
33995 (cd $(TARGET_SUBDIR)/libjava && \
33996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33998 "RANLIB=$${RANLIB}" \
33999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34000 TAGS) \
34001 || exit 1
34003 @endif target-libjava
34005 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
34006 maybe-install-info-target-libjava:
34007 @if target-libjava
34008 maybe-install-info-target-libjava: install-info-target-libjava
34010 install-info-target-libjava: \
34011 configure-target-libjava \
34012 info-target-libjava
34013 @: $(MAKE); $(unstage)
34014 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34015 r=`${PWD_COMMAND}`; export r; \
34016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34017 $(RAW_CXX_TARGET_EXPORTS) \
34018 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
34019 for flag in $(EXTRA_TARGET_FLAGS); do \
34020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34021 done; \
34022 (cd $(TARGET_SUBDIR)/libjava && \
34023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34025 "RANLIB=$${RANLIB}" \
34026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34027 install-info) \
34028 || exit 1
34030 @endif target-libjava
34032 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
34033 maybe-installcheck-target-libjava:
34034 @if target-libjava
34035 maybe-installcheck-target-libjava: installcheck-target-libjava
34037 installcheck-target-libjava: \
34038 configure-target-libjava
34039 @: $(MAKE); $(unstage)
34040 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34041 r=`${PWD_COMMAND}`; export r; \
34042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34043 $(RAW_CXX_TARGET_EXPORTS) \
34044 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
34045 for flag in $(EXTRA_TARGET_FLAGS); do \
34046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34047 done; \
34048 (cd $(TARGET_SUBDIR)/libjava && \
34049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34051 "RANLIB=$${RANLIB}" \
34052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34053 installcheck) \
34054 || exit 1
34056 @endif target-libjava
34058 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
34059 maybe-mostlyclean-target-libjava:
34060 @if target-libjava
34061 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
34063 mostlyclean-target-libjava:
34064 @: $(MAKE); $(unstage)
34065 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34066 r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 $(RAW_CXX_TARGET_EXPORTS) \
34069 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
34070 for flag in $(EXTRA_TARGET_FLAGS); do \
34071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34072 done; \
34073 (cd $(TARGET_SUBDIR)/libjava && \
34074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34076 "RANLIB=$${RANLIB}" \
34077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34078 mostlyclean) \
34079 || exit 1
34081 @endif target-libjava
34083 .PHONY: maybe-clean-target-libjava clean-target-libjava
34084 maybe-clean-target-libjava:
34085 @if target-libjava
34086 maybe-clean-target-libjava: clean-target-libjava
34088 clean-target-libjava:
34089 @: $(MAKE); $(unstage)
34090 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34091 r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(RAW_CXX_TARGET_EXPORTS) \
34094 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
34095 for flag in $(EXTRA_TARGET_FLAGS); do \
34096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34097 done; \
34098 (cd $(TARGET_SUBDIR)/libjava && \
34099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34101 "RANLIB=$${RANLIB}" \
34102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34103 clean) \
34104 || exit 1
34106 @endif target-libjava
34108 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
34109 maybe-distclean-target-libjava:
34110 @if target-libjava
34111 maybe-distclean-target-libjava: distclean-target-libjava
34113 distclean-target-libjava:
34114 @: $(MAKE); $(unstage)
34115 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34116 r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(RAW_CXX_TARGET_EXPORTS) \
34119 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
34120 for flag in $(EXTRA_TARGET_FLAGS); do \
34121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34122 done; \
34123 (cd $(TARGET_SUBDIR)/libjava && \
34124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34126 "RANLIB=$${RANLIB}" \
34127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34128 distclean) \
34129 || exit 1
34131 @endif target-libjava
34133 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
34134 maybe-maintainer-clean-target-libjava:
34135 @if target-libjava
34136 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
34138 maintainer-clean-target-libjava:
34139 @: $(MAKE); $(unstage)
34140 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34141 r=`${PWD_COMMAND}`; export r; \
34142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34143 $(RAW_CXX_TARGET_EXPORTS) \
34144 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
34145 for flag in $(EXTRA_TARGET_FLAGS); do \
34146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34147 done; \
34148 (cd $(TARGET_SUBDIR)/libjava && \
34149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34151 "RANLIB=$${RANLIB}" \
34152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34153 maintainer-clean) \
34154 || exit 1
34156 @endif target-libjava
34162 .PHONY: configure-target-zlib maybe-configure-target-zlib
34163 maybe-configure-target-zlib:
34164 @if target-zlib
34165 maybe-configure-target-zlib: configure-target-zlib
34166 configure-target-zlib:
34167 @: $(MAKE); $(unstage)
34168 @r=`${PWD_COMMAND}`; export r; \
34169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34170 echo "Checking multilib configuration for zlib..."; \
34171 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34172 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
34173 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
34174 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
34175 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
34176 else \
34177 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
34178 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34179 fi; \
34180 else \
34181 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34183 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
34184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34185 r=`${PWD_COMMAND}`; export r; \
34186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34187 $(NORMAL_TARGET_EXPORTS) \
34188 echo Configuring in $(TARGET_SUBDIR)/zlib; \
34189 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
34190 case $(srcdir) in \
34191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34192 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
34193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34194 esac; \
34195 srcdiroption="--srcdir=$${topdir}/zlib"; \
34196 libsrcdir="$$s/zlib"; \
34197 rm -f no-such-file || : ; \
34198 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34199 $(TARGET_CONFIGARGS) $${srcdiroption} \
34200 || exit 1
34201 @endif target-zlib
34207 .PHONY: all-target-zlib maybe-all-target-zlib
34208 maybe-all-target-zlib:
34209 @if target-zlib
34210 TARGET-target-zlib=all
34211 maybe-all-target-zlib: all-target-zlib
34212 all-target-zlib: configure-target-zlib
34213 @: $(MAKE); $(unstage)
34214 @r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(NORMAL_TARGET_EXPORTS) \
34217 (cd $(TARGET_SUBDIR)/zlib && \
34218 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
34219 @endif target-zlib
34225 .PHONY: check-target-zlib maybe-check-target-zlib
34226 maybe-check-target-zlib:
34227 @if target-zlib
34228 maybe-check-target-zlib: check-target-zlib
34230 check-target-zlib:
34231 @: $(MAKE); $(unstage)
34232 @r=`${PWD_COMMAND}`; export r; \
34233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34234 $(NORMAL_TARGET_EXPORTS) \
34235 (cd $(TARGET_SUBDIR)/zlib && \
34236 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34238 @endif target-zlib
34240 .PHONY: install-target-zlib maybe-install-target-zlib
34241 maybe-install-target-zlib:
34242 @if target-zlib
34243 maybe-install-target-zlib: install-target-zlib
34245 install-target-zlib: installdirs
34246 @: $(MAKE); $(unstage)
34247 @r=`${PWD_COMMAND}`; export r; \
34248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34249 $(NORMAL_TARGET_EXPORTS) \
34250 (cd $(TARGET_SUBDIR)/zlib && \
34251 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34253 @endif target-zlib
34255 # Other targets (info, dvi, etc.)
34257 .PHONY: maybe-info-target-zlib info-target-zlib
34258 maybe-info-target-zlib:
34259 @if target-zlib
34260 maybe-info-target-zlib: info-target-zlib
34262 info-target-zlib: \
34263 configure-target-zlib
34264 @: $(MAKE); $(unstage)
34265 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34266 r=`${PWD_COMMAND}`; export r; \
34267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34268 $(NORMAL_TARGET_EXPORTS) \
34269 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
34270 for flag in $(EXTRA_TARGET_FLAGS); do \
34271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34272 done; \
34273 (cd $(TARGET_SUBDIR)/zlib && \
34274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34276 "RANLIB=$${RANLIB}" \
34277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34278 info) \
34279 || exit 1
34281 @endif target-zlib
34283 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
34284 maybe-dvi-target-zlib:
34285 @if target-zlib
34286 maybe-dvi-target-zlib: dvi-target-zlib
34288 dvi-target-zlib: \
34289 configure-target-zlib
34290 @: $(MAKE); $(unstage)
34291 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34292 r=`${PWD_COMMAND}`; export r; \
34293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34294 $(NORMAL_TARGET_EXPORTS) \
34295 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
34296 for flag in $(EXTRA_TARGET_FLAGS); do \
34297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34298 done; \
34299 (cd $(TARGET_SUBDIR)/zlib && \
34300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34302 "RANLIB=$${RANLIB}" \
34303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34304 dvi) \
34305 || exit 1
34307 @endif target-zlib
34309 .PHONY: maybe-html-target-zlib html-target-zlib
34310 maybe-html-target-zlib:
34311 @if target-zlib
34312 maybe-html-target-zlib: html-target-zlib
34314 html-target-zlib: \
34315 configure-target-zlib
34316 @: $(MAKE); $(unstage)
34317 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34318 r=`${PWD_COMMAND}`; export r; \
34319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34320 $(NORMAL_TARGET_EXPORTS) \
34321 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
34322 for flag in $(EXTRA_TARGET_FLAGS); do \
34323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34324 done; \
34325 (cd $(TARGET_SUBDIR)/zlib && \
34326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34328 "RANLIB=$${RANLIB}" \
34329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34330 html) \
34331 || exit 1
34333 @endif target-zlib
34335 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
34336 maybe-TAGS-target-zlib:
34337 @if target-zlib
34338 maybe-TAGS-target-zlib: TAGS-target-zlib
34340 TAGS-target-zlib: \
34341 configure-target-zlib
34342 @: $(MAKE); $(unstage)
34343 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34344 r=`${PWD_COMMAND}`; export r; \
34345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34346 $(NORMAL_TARGET_EXPORTS) \
34347 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
34348 for flag in $(EXTRA_TARGET_FLAGS); do \
34349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34350 done; \
34351 (cd $(TARGET_SUBDIR)/zlib && \
34352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34354 "RANLIB=$${RANLIB}" \
34355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34356 TAGS) \
34357 || exit 1
34359 @endif target-zlib
34361 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
34362 maybe-install-info-target-zlib:
34363 @if target-zlib
34364 maybe-install-info-target-zlib: install-info-target-zlib
34366 install-info-target-zlib: \
34367 configure-target-zlib \
34368 info-target-zlib
34369 @: $(MAKE); $(unstage)
34370 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34371 r=`${PWD_COMMAND}`; export r; \
34372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34373 $(NORMAL_TARGET_EXPORTS) \
34374 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
34375 for flag in $(EXTRA_TARGET_FLAGS); do \
34376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34377 done; \
34378 (cd $(TARGET_SUBDIR)/zlib && \
34379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34381 "RANLIB=$${RANLIB}" \
34382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34383 install-info) \
34384 || exit 1
34386 @endif target-zlib
34388 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34389 maybe-installcheck-target-zlib:
34390 @if target-zlib
34391 maybe-installcheck-target-zlib: installcheck-target-zlib
34393 installcheck-target-zlib: \
34394 configure-target-zlib
34395 @: $(MAKE); $(unstage)
34396 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34397 r=`${PWD_COMMAND}`; export r; \
34398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34399 $(NORMAL_TARGET_EXPORTS) \
34400 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34401 for flag in $(EXTRA_TARGET_FLAGS); do \
34402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34403 done; \
34404 (cd $(TARGET_SUBDIR)/zlib && \
34405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34407 "RANLIB=$${RANLIB}" \
34408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34409 installcheck) \
34410 || exit 1
34412 @endif target-zlib
34414 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34415 maybe-mostlyclean-target-zlib:
34416 @if target-zlib
34417 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34419 mostlyclean-target-zlib:
34420 @: $(MAKE); $(unstage)
34421 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34422 r=`${PWD_COMMAND}`; export r; \
34423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34424 $(NORMAL_TARGET_EXPORTS) \
34425 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34426 for flag in $(EXTRA_TARGET_FLAGS); do \
34427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34428 done; \
34429 (cd $(TARGET_SUBDIR)/zlib && \
34430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34432 "RANLIB=$${RANLIB}" \
34433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34434 mostlyclean) \
34435 || exit 1
34437 @endif target-zlib
34439 .PHONY: maybe-clean-target-zlib clean-target-zlib
34440 maybe-clean-target-zlib:
34441 @if target-zlib
34442 maybe-clean-target-zlib: clean-target-zlib
34444 clean-target-zlib:
34445 @: $(MAKE); $(unstage)
34446 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34447 r=`${PWD_COMMAND}`; export r; \
34448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34449 $(NORMAL_TARGET_EXPORTS) \
34450 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34451 for flag in $(EXTRA_TARGET_FLAGS); do \
34452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34453 done; \
34454 (cd $(TARGET_SUBDIR)/zlib && \
34455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34457 "RANLIB=$${RANLIB}" \
34458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34459 clean) \
34460 || exit 1
34462 @endif target-zlib
34464 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34465 maybe-distclean-target-zlib:
34466 @if target-zlib
34467 maybe-distclean-target-zlib: distclean-target-zlib
34469 distclean-target-zlib:
34470 @: $(MAKE); $(unstage)
34471 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34472 r=`${PWD_COMMAND}`; export r; \
34473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34474 $(NORMAL_TARGET_EXPORTS) \
34475 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34476 for flag in $(EXTRA_TARGET_FLAGS); do \
34477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34478 done; \
34479 (cd $(TARGET_SUBDIR)/zlib && \
34480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34482 "RANLIB=$${RANLIB}" \
34483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34484 distclean) \
34485 || exit 1
34487 @endif target-zlib
34489 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34490 maybe-maintainer-clean-target-zlib:
34491 @if target-zlib
34492 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34494 maintainer-clean-target-zlib:
34495 @: $(MAKE); $(unstage)
34496 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34497 r=`${PWD_COMMAND}`; export r; \
34498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34499 $(NORMAL_TARGET_EXPORTS) \
34500 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34501 for flag in $(EXTRA_TARGET_FLAGS); do \
34502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34503 done; \
34504 (cd $(TARGET_SUBDIR)/zlib && \
34505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34507 "RANLIB=$${RANLIB}" \
34508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34509 maintainer-clean) \
34510 || exit 1
34512 @endif target-zlib
34518 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34519 maybe-configure-target-boehm-gc:
34520 @if target-boehm-gc
34521 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34522 configure-target-boehm-gc:
34523 @: $(MAKE); $(unstage)
34524 @r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 echo "Checking multilib configuration for boehm-gc..."; \
34527 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34528 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34529 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34530 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34531 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34532 else \
34533 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34534 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34535 fi; \
34536 else \
34537 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34539 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34540 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34541 r=`${PWD_COMMAND}`; export r; \
34542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34543 $(NORMAL_TARGET_EXPORTS) \
34544 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34545 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34546 case $(srcdir) in \
34547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34548 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34550 esac; \
34551 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34552 libsrcdir="$$s/boehm-gc"; \
34553 rm -f no-such-file || : ; \
34554 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34555 $(TARGET_CONFIGARGS) $${srcdiroption} \
34556 || exit 1
34557 @endif target-boehm-gc
34563 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34564 maybe-all-target-boehm-gc:
34565 @if target-boehm-gc
34566 TARGET-target-boehm-gc=all
34567 maybe-all-target-boehm-gc: all-target-boehm-gc
34568 all-target-boehm-gc: configure-target-boehm-gc
34569 @: $(MAKE); $(unstage)
34570 @r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(NORMAL_TARGET_EXPORTS) \
34573 (cd $(TARGET_SUBDIR)/boehm-gc && \
34574 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34575 @endif target-boehm-gc
34581 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34582 maybe-check-target-boehm-gc:
34583 @if target-boehm-gc
34584 maybe-check-target-boehm-gc: check-target-boehm-gc
34586 check-target-boehm-gc:
34587 @: $(MAKE); $(unstage)
34588 @r=`${PWD_COMMAND}`; export r; \
34589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34590 $(NORMAL_TARGET_EXPORTS) \
34591 (cd $(TARGET_SUBDIR)/boehm-gc && \
34592 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34594 @endif target-boehm-gc
34596 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34597 maybe-install-target-boehm-gc:
34598 @if target-boehm-gc
34599 maybe-install-target-boehm-gc: install-target-boehm-gc
34601 install-target-boehm-gc: installdirs
34602 @: $(MAKE); $(unstage)
34603 @r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(NORMAL_TARGET_EXPORTS) \
34606 (cd $(TARGET_SUBDIR)/boehm-gc && \
34607 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34609 @endif target-boehm-gc
34611 # Other targets (info, dvi, etc.)
34613 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34614 maybe-info-target-boehm-gc:
34615 @if target-boehm-gc
34616 maybe-info-target-boehm-gc: info-target-boehm-gc
34618 info-target-boehm-gc: \
34619 configure-target-boehm-gc
34620 @: $(MAKE); $(unstage)
34621 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34622 r=`${PWD_COMMAND}`; export r; \
34623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34624 $(NORMAL_TARGET_EXPORTS) \
34625 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34626 for flag in $(EXTRA_TARGET_FLAGS); do \
34627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34628 done; \
34629 (cd $(TARGET_SUBDIR)/boehm-gc && \
34630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34632 "RANLIB=$${RANLIB}" \
34633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34634 info) \
34635 || exit 1
34637 @endif target-boehm-gc
34639 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34640 maybe-dvi-target-boehm-gc:
34641 @if target-boehm-gc
34642 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34644 dvi-target-boehm-gc: \
34645 configure-target-boehm-gc
34646 @: $(MAKE); $(unstage)
34647 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34648 r=`${PWD_COMMAND}`; export r; \
34649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34650 $(NORMAL_TARGET_EXPORTS) \
34651 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34652 for flag in $(EXTRA_TARGET_FLAGS); do \
34653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34654 done; \
34655 (cd $(TARGET_SUBDIR)/boehm-gc && \
34656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34658 "RANLIB=$${RANLIB}" \
34659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34660 dvi) \
34661 || exit 1
34663 @endif target-boehm-gc
34665 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34666 maybe-html-target-boehm-gc:
34667 @if target-boehm-gc
34668 maybe-html-target-boehm-gc: html-target-boehm-gc
34670 html-target-boehm-gc: \
34671 configure-target-boehm-gc
34672 @: $(MAKE); $(unstage)
34673 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34674 r=`${PWD_COMMAND}`; export r; \
34675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34676 $(NORMAL_TARGET_EXPORTS) \
34677 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34678 for flag in $(EXTRA_TARGET_FLAGS); do \
34679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34680 done; \
34681 (cd $(TARGET_SUBDIR)/boehm-gc && \
34682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34684 "RANLIB=$${RANLIB}" \
34685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34686 html) \
34687 || exit 1
34689 @endif target-boehm-gc
34691 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34692 maybe-TAGS-target-boehm-gc:
34693 @if target-boehm-gc
34694 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34696 TAGS-target-boehm-gc: \
34697 configure-target-boehm-gc
34698 @: $(MAKE); $(unstage)
34699 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34700 r=`${PWD_COMMAND}`; export r; \
34701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34702 $(NORMAL_TARGET_EXPORTS) \
34703 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34704 for flag in $(EXTRA_TARGET_FLAGS); do \
34705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34706 done; \
34707 (cd $(TARGET_SUBDIR)/boehm-gc && \
34708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34710 "RANLIB=$${RANLIB}" \
34711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34712 TAGS) \
34713 || exit 1
34715 @endif target-boehm-gc
34717 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34718 maybe-install-info-target-boehm-gc:
34719 @if target-boehm-gc
34720 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34722 install-info-target-boehm-gc: \
34723 configure-target-boehm-gc \
34724 info-target-boehm-gc
34725 @: $(MAKE); $(unstage)
34726 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34727 r=`${PWD_COMMAND}`; export r; \
34728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34729 $(NORMAL_TARGET_EXPORTS) \
34730 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34731 for flag in $(EXTRA_TARGET_FLAGS); do \
34732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34733 done; \
34734 (cd $(TARGET_SUBDIR)/boehm-gc && \
34735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34737 "RANLIB=$${RANLIB}" \
34738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34739 install-info) \
34740 || exit 1
34742 @endif target-boehm-gc
34744 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34745 maybe-installcheck-target-boehm-gc:
34746 @if target-boehm-gc
34747 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34749 installcheck-target-boehm-gc: \
34750 configure-target-boehm-gc
34751 @: $(MAKE); $(unstage)
34752 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34753 r=`${PWD_COMMAND}`; export r; \
34754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34755 $(NORMAL_TARGET_EXPORTS) \
34756 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34757 for flag in $(EXTRA_TARGET_FLAGS); do \
34758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34759 done; \
34760 (cd $(TARGET_SUBDIR)/boehm-gc && \
34761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34763 "RANLIB=$${RANLIB}" \
34764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34765 installcheck) \
34766 || exit 1
34768 @endif target-boehm-gc
34770 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34771 maybe-mostlyclean-target-boehm-gc:
34772 @if target-boehm-gc
34773 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34775 mostlyclean-target-boehm-gc:
34776 @: $(MAKE); $(unstage)
34777 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34778 r=`${PWD_COMMAND}`; export r; \
34779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34780 $(NORMAL_TARGET_EXPORTS) \
34781 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34782 for flag in $(EXTRA_TARGET_FLAGS); do \
34783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34784 done; \
34785 (cd $(TARGET_SUBDIR)/boehm-gc && \
34786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34788 "RANLIB=$${RANLIB}" \
34789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34790 mostlyclean) \
34791 || exit 1
34793 @endif target-boehm-gc
34795 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34796 maybe-clean-target-boehm-gc:
34797 @if target-boehm-gc
34798 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34800 clean-target-boehm-gc:
34801 @: $(MAKE); $(unstage)
34802 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34803 r=`${PWD_COMMAND}`; export r; \
34804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34805 $(NORMAL_TARGET_EXPORTS) \
34806 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34807 for flag in $(EXTRA_TARGET_FLAGS); do \
34808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34809 done; \
34810 (cd $(TARGET_SUBDIR)/boehm-gc && \
34811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34813 "RANLIB=$${RANLIB}" \
34814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34815 clean) \
34816 || exit 1
34818 @endif target-boehm-gc
34820 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34821 maybe-distclean-target-boehm-gc:
34822 @if target-boehm-gc
34823 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34825 distclean-target-boehm-gc:
34826 @: $(MAKE); $(unstage)
34827 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34828 r=`${PWD_COMMAND}`; export r; \
34829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34830 $(NORMAL_TARGET_EXPORTS) \
34831 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34832 for flag in $(EXTRA_TARGET_FLAGS); do \
34833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34834 done; \
34835 (cd $(TARGET_SUBDIR)/boehm-gc && \
34836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34838 "RANLIB=$${RANLIB}" \
34839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34840 distclean) \
34841 || exit 1
34843 @endif target-boehm-gc
34845 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34846 maybe-maintainer-clean-target-boehm-gc:
34847 @if target-boehm-gc
34848 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34850 maintainer-clean-target-boehm-gc:
34851 @: $(MAKE); $(unstage)
34852 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34853 r=`${PWD_COMMAND}`; export r; \
34854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34855 $(NORMAL_TARGET_EXPORTS) \
34856 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34857 for flag in $(EXTRA_TARGET_FLAGS); do \
34858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34859 done; \
34860 (cd $(TARGET_SUBDIR)/boehm-gc && \
34861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34863 "RANLIB=$${RANLIB}" \
34864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34865 maintainer-clean) \
34866 || exit 1
34868 @endif target-boehm-gc
34874 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34875 maybe-configure-target-qthreads:
34876 @if target-qthreads
34877 maybe-configure-target-qthreads: configure-target-qthreads
34878 configure-target-qthreads:
34879 @: $(MAKE); $(unstage)
34880 @r=`${PWD_COMMAND}`; export r; \
34881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34882 echo "Checking multilib configuration for qthreads..."; \
34883 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34884 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
34885 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34886 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34887 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
34888 else \
34889 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
34890 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34891 fi; \
34892 else \
34893 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34895 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34896 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34897 r=`${PWD_COMMAND}`; export r; \
34898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34899 $(NORMAL_TARGET_EXPORTS) \
34900 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34901 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34902 case $(srcdir) in \
34903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34904 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34906 esac; \
34907 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34908 libsrcdir="$$s/qthreads"; \
34909 rm -f no-such-file || : ; \
34910 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34911 $(TARGET_CONFIGARGS) $${srcdiroption} \
34912 || exit 1
34913 @endif target-qthreads
34919 .PHONY: all-target-qthreads maybe-all-target-qthreads
34920 maybe-all-target-qthreads:
34921 @if target-qthreads
34922 TARGET-target-qthreads=all
34923 maybe-all-target-qthreads: all-target-qthreads
34924 all-target-qthreads: configure-target-qthreads
34925 @: $(MAKE); $(unstage)
34926 @r=`${PWD_COMMAND}`; export r; \
34927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34928 $(NORMAL_TARGET_EXPORTS) \
34929 (cd $(TARGET_SUBDIR)/qthreads && \
34930 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34931 @endif target-qthreads
34937 .PHONY: check-target-qthreads maybe-check-target-qthreads
34938 maybe-check-target-qthreads:
34939 @if target-qthreads
34940 maybe-check-target-qthreads: check-target-qthreads
34942 check-target-qthreads:
34943 @: $(MAKE); $(unstage)
34944 @r=`${PWD_COMMAND}`; export r; \
34945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34946 $(NORMAL_TARGET_EXPORTS) \
34947 (cd $(TARGET_SUBDIR)/qthreads && \
34948 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34950 @endif target-qthreads
34952 .PHONY: install-target-qthreads maybe-install-target-qthreads
34953 maybe-install-target-qthreads:
34954 @if target-qthreads
34955 maybe-install-target-qthreads: install-target-qthreads
34957 install-target-qthreads: installdirs
34958 @: $(MAKE); $(unstage)
34959 @r=`${PWD_COMMAND}`; export r; \
34960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34961 $(NORMAL_TARGET_EXPORTS) \
34962 (cd $(TARGET_SUBDIR)/qthreads && \
34963 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34965 @endif target-qthreads
34967 # Other targets (info, dvi, etc.)
34969 .PHONY: maybe-info-target-qthreads info-target-qthreads
34970 maybe-info-target-qthreads:
34971 @if target-qthreads
34972 maybe-info-target-qthreads: info-target-qthreads
34974 info-target-qthreads: \
34975 configure-target-qthreads
34976 @: $(MAKE); $(unstage)
34977 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34978 r=`${PWD_COMMAND}`; export r; \
34979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34980 $(NORMAL_TARGET_EXPORTS) \
34981 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34982 for flag in $(EXTRA_TARGET_FLAGS); do \
34983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34984 done; \
34985 (cd $(TARGET_SUBDIR)/qthreads && \
34986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34988 "RANLIB=$${RANLIB}" \
34989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34990 info) \
34991 || exit 1
34993 @endif target-qthreads
34995 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34996 maybe-dvi-target-qthreads:
34997 @if target-qthreads
34998 maybe-dvi-target-qthreads: dvi-target-qthreads
35000 dvi-target-qthreads: \
35001 configure-target-qthreads
35002 @: $(MAKE); $(unstage)
35003 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35004 r=`${PWD_COMMAND}`; export r; \
35005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35006 $(NORMAL_TARGET_EXPORTS) \
35007 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
35008 for flag in $(EXTRA_TARGET_FLAGS); do \
35009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35010 done; \
35011 (cd $(TARGET_SUBDIR)/qthreads && \
35012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35014 "RANLIB=$${RANLIB}" \
35015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35016 dvi) \
35017 || exit 1
35019 @endif target-qthreads
35021 .PHONY: maybe-html-target-qthreads html-target-qthreads
35022 maybe-html-target-qthreads:
35023 @if target-qthreads
35024 maybe-html-target-qthreads: html-target-qthreads
35026 html-target-qthreads: \
35027 configure-target-qthreads
35028 @: $(MAKE); $(unstage)
35029 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35030 r=`${PWD_COMMAND}`; export r; \
35031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35032 $(NORMAL_TARGET_EXPORTS) \
35033 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
35034 for flag in $(EXTRA_TARGET_FLAGS); do \
35035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35036 done; \
35037 (cd $(TARGET_SUBDIR)/qthreads && \
35038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35040 "RANLIB=$${RANLIB}" \
35041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35042 html) \
35043 || exit 1
35045 @endif target-qthreads
35047 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
35048 maybe-TAGS-target-qthreads:
35049 @if target-qthreads
35050 maybe-TAGS-target-qthreads: TAGS-target-qthreads
35052 TAGS-target-qthreads: \
35053 configure-target-qthreads
35054 @: $(MAKE); $(unstage)
35055 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35056 r=`${PWD_COMMAND}`; export r; \
35057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35058 $(NORMAL_TARGET_EXPORTS) \
35059 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
35060 for flag in $(EXTRA_TARGET_FLAGS); do \
35061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35062 done; \
35063 (cd $(TARGET_SUBDIR)/qthreads && \
35064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35066 "RANLIB=$${RANLIB}" \
35067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35068 TAGS) \
35069 || exit 1
35071 @endif target-qthreads
35073 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
35074 maybe-install-info-target-qthreads:
35075 @if target-qthreads
35076 maybe-install-info-target-qthreads: install-info-target-qthreads
35078 install-info-target-qthreads: \
35079 configure-target-qthreads \
35080 info-target-qthreads
35081 @: $(MAKE); $(unstage)
35082 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35083 r=`${PWD_COMMAND}`; export r; \
35084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35085 $(NORMAL_TARGET_EXPORTS) \
35086 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
35087 for flag in $(EXTRA_TARGET_FLAGS); do \
35088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35089 done; \
35090 (cd $(TARGET_SUBDIR)/qthreads && \
35091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35093 "RANLIB=$${RANLIB}" \
35094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35095 install-info) \
35096 || exit 1
35098 @endif target-qthreads
35100 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
35101 maybe-installcheck-target-qthreads:
35102 @if target-qthreads
35103 maybe-installcheck-target-qthreads: installcheck-target-qthreads
35105 installcheck-target-qthreads: \
35106 configure-target-qthreads
35107 @: $(MAKE); $(unstage)
35108 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35109 r=`${PWD_COMMAND}`; export r; \
35110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35111 $(NORMAL_TARGET_EXPORTS) \
35112 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
35113 for flag in $(EXTRA_TARGET_FLAGS); do \
35114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35115 done; \
35116 (cd $(TARGET_SUBDIR)/qthreads && \
35117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35119 "RANLIB=$${RANLIB}" \
35120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35121 installcheck) \
35122 || exit 1
35124 @endif target-qthreads
35126 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
35127 maybe-mostlyclean-target-qthreads:
35128 @if target-qthreads
35129 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
35131 mostlyclean-target-qthreads:
35132 @: $(MAKE); $(unstage)
35133 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35134 r=`${PWD_COMMAND}`; export r; \
35135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35136 $(NORMAL_TARGET_EXPORTS) \
35137 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
35138 for flag in $(EXTRA_TARGET_FLAGS); do \
35139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35140 done; \
35141 (cd $(TARGET_SUBDIR)/qthreads && \
35142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35144 "RANLIB=$${RANLIB}" \
35145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35146 mostlyclean) \
35147 || exit 1
35149 @endif target-qthreads
35151 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
35152 maybe-clean-target-qthreads:
35153 @if target-qthreads
35154 maybe-clean-target-qthreads: clean-target-qthreads
35156 clean-target-qthreads:
35157 @: $(MAKE); $(unstage)
35158 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35159 r=`${PWD_COMMAND}`; export r; \
35160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35161 $(NORMAL_TARGET_EXPORTS) \
35162 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
35163 for flag in $(EXTRA_TARGET_FLAGS); do \
35164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35165 done; \
35166 (cd $(TARGET_SUBDIR)/qthreads && \
35167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35169 "RANLIB=$${RANLIB}" \
35170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35171 clean) \
35172 || exit 1
35174 @endif target-qthreads
35176 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
35177 maybe-distclean-target-qthreads:
35178 @if target-qthreads
35179 maybe-distclean-target-qthreads: distclean-target-qthreads
35181 distclean-target-qthreads:
35182 @: $(MAKE); $(unstage)
35183 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35184 r=`${PWD_COMMAND}`; export r; \
35185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35186 $(NORMAL_TARGET_EXPORTS) \
35187 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
35188 for flag in $(EXTRA_TARGET_FLAGS); do \
35189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35190 done; \
35191 (cd $(TARGET_SUBDIR)/qthreads && \
35192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35194 "RANLIB=$${RANLIB}" \
35195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35196 distclean) \
35197 || exit 1
35199 @endif target-qthreads
35201 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
35202 maybe-maintainer-clean-target-qthreads:
35203 @if target-qthreads
35204 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
35206 maintainer-clean-target-qthreads:
35207 @: $(MAKE); $(unstage)
35208 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35209 r=`${PWD_COMMAND}`; export r; \
35210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35211 $(NORMAL_TARGET_EXPORTS) \
35212 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 maintainer-clean) \
35222 || exit 1
35224 @endif target-qthreads
35230 .PHONY: configure-target-rda maybe-configure-target-rda
35231 maybe-configure-target-rda:
35232 @if target-rda
35233 maybe-configure-target-rda: configure-target-rda
35234 configure-target-rda:
35235 @: $(MAKE); $(unstage)
35236 @r=`${PWD_COMMAND}`; export r; \
35237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35238 echo "Checking multilib configuration for rda..."; \
35239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
35241 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
35242 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
35243 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
35244 else \
35245 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
35246 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35247 fi; \
35248 else \
35249 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35251 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
35252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35253 r=`${PWD_COMMAND}`; export r; \
35254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35255 $(NORMAL_TARGET_EXPORTS) \
35256 echo Configuring in $(TARGET_SUBDIR)/rda; \
35257 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
35258 case $(srcdir) in \
35259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35260 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
35261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35262 esac; \
35263 srcdiroption="--srcdir=$${topdir}/rda"; \
35264 libsrcdir="$$s/rda"; \
35265 rm -f no-such-file || : ; \
35266 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35267 $(TARGET_CONFIGARGS) $${srcdiroption} \
35268 || exit 1
35269 @endif target-rda
35275 .PHONY: all-target-rda maybe-all-target-rda
35276 maybe-all-target-rda:
35277 @if target-rda
35278 TARGET-target-rda=all
35279 maybe-all-target-rda: all-target-rda
35280 all-target-rda: configure-target-rda
35281 @: $(MAKE); $(unstage)
35282 @r=`${PWD_COMMAND}`; export r; \
35283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35284 $(NORMAL_TARGET_EXPORTS) \
35285 (cd $(TARGET_SUBDIR)/rda && \
35286 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
35287 @endif target-rda
35293 .PHONY: check-target-rda maybe-check-target-rda
35294 maybe-check-target-rda:
35295 @if target-rda
35296 maybe-check-target-rda: check-target-rda
35298 check-target-rda:
35299 @: $(MAKE); $(unstage)
35300 @r=`${PWD_COMMAND}`; export r; \
35301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35302 $(NORMAL_TARGET_EXPORTS) \
35303 (cd $(TARGET_SUBDIR)/rda && \
35304 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35306 @endif target-rda
35308 .PHONY: install-target-rda maybe-install-target-rda
35309 maybe-install-target-rda:
35310 @if target-rda
35311 maybe-install-target-rda: install-target-rda
35313 install-target-rda: installdirs
35314 @: $(MAKE); $(unstage)
35315 @r=`${PWD_COMMAND}`; export r; \
35316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35317 $(NORMAL_TARGET_EXPORTS) \
35318 (cd $(TARGET_SUBDIR)/rda && \
35319 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35321 @endif target-rda
35323 # Other targets (info, dvi, etc.)
35325 .PHONY: maybe-info-target-rda info-target-rda
35326 maybe-info-target-rda:
35327 @if target-rda
35328 maybe-info-target-rda: info-target-rda
35330 info-target-rda: \
35331 configure-target-rda
35332 @: $(MAKE); $(unstage)
35333 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35334 r=`${PWD_COMMAND}`; export r; \
35335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35336 $(NORMAL_TARGET_EXPORTS) \
35337 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
35338 for flag in $(EXTRA_TARGET_FLAGS); do \
35339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35340 done; \
35341 (cd $(TARGET_SUBDIR)/rda && \
35342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35344 "RANLIB=$${RANLIB}" \
35345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35346 info) \
35347 || exit 1
35349 @endif target-rda
35351 .PHONY: maybe-dvi-target-rda dvi-target-rda
35352 maybe-dvi-target-rda:
35353 @if target-rda
35354 maybe-dvi-target-rda: dvi-target-rda
35356 dvi-target-rda: \
35357 configure-target-rda
35358 @: $(MAKE); $(unstage)
35359 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35360 r=`${PWD_COMMAND}`; export r; \
35361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35362 $(NORMAL_TARGET_EXPORTS) \
35363 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
35364 for flag in $(EXTRA_TARGET_FLAGS); do \
35365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35366 done; \
35367 (cd $(TARGET_SUBDIR)/rda && \
35368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35370 "RANLIB=$${RANLIB}" \
35371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35372 dvi) \
35373 || exit 1
35375 @endif target-rda
35377 .PHONY: maybe-html-target-rda html-target-rda
35378 maybe-html-target-rda:
35379 @if target-rda
35380 maybe-html-target-rda: html-target-rda
35382 html-target-rda: \
35383 configure-target-rda
35384 @: $(MAKE); $(unstage)
35385 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35386 r=`${PWD_COMMAND}`; export r; \
35387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35388 $(NORMAL_TARGET_EXPORTS) \
35389 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35390 for flag in $(EXTRA_TARGET_FLAGS); do \
35391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35392 done; \
35393 (cd $(TARGET_SUBDIR)/rda && \
35394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35396 "RANLIB=$${RANLIB}" \
35397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35398 html) \
35399 || exit 1
35401 @endif target-rda
35403 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35404 maybe-TAGS-target-rda:
35405 @if target-rda
35406 maybe-TAGS-target-rda: TAGS-target-rda
35408 TAGS-target-rda: \
35409 configure-target-rda
35410 @: $(MAKE); $(unstage)
35411 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35412 r=`${PWD_COMMAND}`; export r; \
35413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35414 $(NORMAL_TARGET_EXPORTS) \
35415 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35416 for flag in $(EXTRA_TARGET_FLAGS); do \
35417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35418 done; \
35419 (cd $(TARGET_SUBDIR)/rda && \
35420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35422 "RANLIB=$${RANLIB}" \
35423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35424 TAGS) \
35425 || exit 1
35427 @endif target-rda
35429 .PHONY: maybe-install-info-target-rda install-info-target-rda
35430 maybe-install-info-target-rda:
35431 @if target-rda
35432 maybe-install-info-target-rda: install-info-target-rda
35434 install-info-target-rda: \
35435 configure-target-rda \
35436 info-target-rda
35437 @: $(MAKE); $(unstage)
35438 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35439 r=`${PWD_COMMAND}`; export r; \
35440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35441 $(NORMAL_TARGET_EXPORTS) \
35442 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35443 for flag in $(EXTRA_TARGET_FLAGS); do \
35444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35445 done; \
35446 (cd $(TARGET_SUBDIR)/rda && \
35447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35449 "RANLIB=$${RANLIB}" \
35450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35451 install-info) \
35452 || exit 1
35454 @endif target-rda
35456 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35457 maybe-installcheck-target-rda:
35458 @if target-rda
35459 maybe-installcheck-target-rda: installcheck-target-rda
35461 installcheck-target-rda: \
35462 configure-target-rda
35463 @: $(MAKE); $(unstage)
35464 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35465 r=`${PWD_COMMAND}`; export r; \
35466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35467 $(NORMAL_TARGET_EXPORTS) \
35468 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35469 for flag in $(EXTRA_TARGET_FLAGS); do \
35470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35471 done; \
35472 (cd $(TARGET_SUBDIR)/rda && \
35473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35475 "RANLIB=$${RANLIB}" \
35476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35477 installcheck) \
35478 || exit 1
35480 @endif target-rda
35482 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35483 maybe-mostlyclean-target-rda:
35484 @if target-rda
35485 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35487 mostlyclean-target-rda:
35488 @: $(MAKE); $(unstage)
35489 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35490 r=`${PWD_COMMAND}`; export r; \
35491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35492 $(NORMAL_TARGET_EXPORTS) \
35493 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35494 for flag in $(EXTRA_TARGET_FLAGS); do \
35495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35496 done; \
35497 (cd $(TARGET_SUBDIR)/rda && \
35498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35500 "RANLIB=$${RANLIB}" \
35501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35502 mostlyclean) \
35503 || exit 1
35505 @endif target-rda
35507 .PHONY: maybe-clean-target-rda clean-target-rda
35508 maybe-clean-target-rda:
35509 @if target-rda
35510 maybe-clean-target-rda: clean-target-rda
35512 clean-target-rda:
35513 @: $(MAKE); $(unstage)
35514 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35515 r=`${PWD_COMMAND}`; export r; \
35516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35517 $(NORMAL_TARGET_EXPORTS) \
35518 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35519 for flag in $(EXTRA_TARGET_FLAGS); do \
35520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35521 done; \
35522 (cd $(TARGET_SUBDIR)/rda && \
35523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35525 "RANLIB=$${RANLIB}" \
35526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35527 clean) \
35528 || exit 1
35530 @endif target-rda
35532 .PHONY: maybe-distclean-target-rda distclean-target-rda
35533 maybe-distclean-target-rda:
35534 @if target-rda
35535 maybe-distclean-target-rda: distclean-target-rda
35537 distclean-target-rda:
35538 @: $(MAKE); $(unstage)
35539 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35540 r=`${PWD_COMMAND}`; export r; \
35541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35542 $(NORMAL_TARGET_EXPORTS) \
35543 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35544 for flag in $(EXTRA_TARGET_FLAGS); do \
35545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35546 done; \
35547 (cd $(TARGET_SUBDIR)/rda && \
35548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35550 "RANLIB=$${RANLIB}" \
35551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35552 distclean) \
35553 || exit 1
35555 @endif target-rda
35557 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35558 maybe-maintainer-clean-target-rda:
35559 @if target-rda
35560 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35562 maintainer-clean-target-rda:
35563 @: $(MAKE); $(unstage)
35564 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35565 r=`${PWD_COMMAND}`; export r; \
35566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35567 $(NORMAL_TARGET_EXPORTS) \
35568 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35569 for flag in $(EXTRA_TARGET_FLAGS); do \
35570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35571 done; \
35572 (cd $(TARGET_SUBDIR)/rda && \
35573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35575 "RANLIB=$${RANLIB}" \
35576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35577 maintainer-clean) \
35578 || exit 1
35580 @endif target-rda
35586 .PHONY: configure-target-libada maybe-configure-target-libada
35587 maybe-configure-target-libada:
35588 @if target-libada
35589 maybe-configure-target-libada: configure-target-libada
35590 configure-target-libada:
35591 @: $(MAKE); $(unstage)
35592 @r=`${PWD_COMMAND}`; export r; \
35593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35594 echo "Checking multilib configuration for libada..."; \
35595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35596 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35597 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35598 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35599 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35600 else \
35601 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35602 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35603 fi; \
35604 else \
35605 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35607 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35609 r=`${PWD_COMMAND}`; export r; \
35610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35611 $(NORMAL_TARGET_EXPORTS) \
35612 echo Configuring in $(TARGET_SUBDIR)/libada; \
35613 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35614 case $(srcdir) in \
35615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35616 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35618 esac; \
35619 srcdiroption="--srcdir=$${topdir}/libada"; \
35620 libsrcdir="$$s/libada"; \
35621 rm -f no-such-file || : ; \
35622 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35623 $(TARGET_CONFIGARGS) $${srcdiroption} \
35624 || exit 1
35625 @endif target-libada
35631 .PHONY: all-target-libada maybe-all-target-libada
35632 maybe-all-target-libada:
35633 @if target-libada
35634 TARGET-target-libada=all
35635 maybe-all-target-libada: all-target-libada
35636 all-target-libada: configure-target-libada
35637 @: $(MAKE); $(unstage)
35638 @r=`${PWD_COMMAND}`; export r; \
35639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35640 $(NORMAL_TARGET_EXPORTS) \
35641 (cd $(TARGET_SUBDIR)/libada && \
35642 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35643 @endif target-libada
35649 .PHONY: check-target-libada maybe-check-target-libada
35650 maybe-check-target-libada:
35651 @if target-libada
35652 maybe-check-target-libada: check-target-libada
35654 check-target-libada:
35655 @: $(MAKE); $(unstage)
35656 @r=`${PWD_COMMAND}`; export r; \
35657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35658 $(NORMAL_TARGET_EXPORTS) \
35659 (cd $(TARGET_SUBDIR)/libada && \
35660 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35662 @endif target-libada
35664 .PHONY: install-target-libada maybe-install-target-libada
35665 maybe-install-target-libada:
35666 @if target-libada
35667 maybe-install-target-libada: install-target-libada
35669 install-target-libada: installdirs
35670 @: $(MAKE); $(unstage)
35671 @r=`${PWD_COMMAND}`; export r; \
35672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35673 $(NORMAL_TARGET_EXPORTS) \
35674 (cd $(TARGET_SUBDIR)/libada && \
35675 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35677 @endif target-libada
35679 # Other targets (info, dvi, etc.)
35681 .PHONY: maybe-info-target-libada info-target-libada
35682 maybe-info-target-libada:
35683 @if target-libada
35684 maybe-info-target-libada: info-target-libada
35686 info-target-libada: \
35687 configure-target-libada
35688 @: $(MAKE); $(unstage)
35689 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35690 r=`${PWD_COMMAND}`; export r; \
35691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35692 $(NORMAL_TARGET_EXPORTS) \
35693 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35694 for flag in $(EXTRA_TARGET_FLAGS); do \
35695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35696 done; \
35697 (cd $(TARGET_SUBDIR)/libada && \
35698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35700 "RANLIB=$${RANLIB}" \
35701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35702 info) \
35703 || exit 1
35705 @endif target-libada
35707 .PHONY: maybe-dvi-target-libada dvi-target-libada
35708 maybe-dvi-target-libada:
35709 @if target-libada
35710 maybe-dvi-target-libada: dvi-target-libada
35712 dvi-target-libada: \
35713 configure-target-libada
35714 @: $(MAKE); $(unstage)
35715 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35716 r=`${PWD_COMMAND}`; export r; \
35717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35718 $(NORMAL_TARGET_EXPORTS) \
35719 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35720 for flag in $(EXTRA_TARGET_FLAGS); do \
35721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35722 done; \
35723 (cd $(TARGET_SUBDIR)/libada && \
35724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35726 "RANLIB=$${RANLIB}" \
35727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35728 dvi) \
35729 || exit 1
35731 @endif target-libada
35733 .PHONY: maybe-html-target-libada html-target-libada
35734 maybe-html-target-libada:
35735 @if target-libada
35736 maybe-html-target-libada: html-target-libada
35738 html-target-libada: \
35739 configure-target-libada
35740 @: $(MAKE); $(unstage)
35741 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35742 r=`${PWD_COMMAND}`; export r; \
35743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35744 $(NORMAL_TARGET_EXPORTS) \
35745 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35746 for flag in $(EXTRA_TARGET_FLAGS); do \
35747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35748 done; \
35749 (cd $(TARGET_SUBDIR)/libada && \
35750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35752 "RANLIB=$${RANLIB}" \
35753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35754 html) \
35755 || exit 1
35757 @endif target-libada
35759 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35760 maybe-TAGS-target-libada:
35761 @if target-libada
35762 maybe-TAGS-target-libada: TAGS-target-libada
35764 TAGS-target-libada: \
35765 configure-target-libada
35766 @: $(MAKE); $(unstage)
35767 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35768 r=`${PWD_COMMAND}`; export r; \
35769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35770 $(NORMAL_TARGET_EXPORTS) \
35771 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 TAGS) \
35781 || exit 1
35783 @endif target-libada
35785 .PHONY: maybe-install-info-target-libada install-info-target-libada
35786 maybe-install-info-target-libada:
35787 @if target-libada
35788 maybe-install-info-target-libada: install-info-target-libada
35790 install-info-target-libada: \
35791 configure-target-libada \
35792 info-target-libada
35793 @: $(MAKE); $(unstage)
35794 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35795 r=`${PWD_COMMAND}`; export r; \
35796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35797 $(NORMAL_TARGET_EXPORTS) \
35798 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35799 for flag in $(EXTRA_TARGET_FLAGS); do \
35800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35801 done; \
35802 (cd $(TARGET_SUBDIR)/libada && \
35803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35805 "RANLIB=$${RANLIB}" \
35806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35807 install-info) \
35808 || exit 1
35810 @endif target-libada
35812 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35813 maybe-installcheck-target-libada:
35814 @if target-libada
35815 maybe-installcheck-target-libada: installcheck-target-libada
35817 installcheck-target-libada: \
35818 configure-target-libada
35819 @: $(MAKE); $(unstage)
35820 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35821 r=`${PWD_COMMAND}`; export r; \
35822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35823 $(NORMAL_TARGET_EXPORTS) \
35824 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35825 for flag in $(EXTRA_TARGET_FLAGS); do \
35826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35827 done; \
35828 (cd $(TARGET_SUBDIR)/libada && \
35829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35831 "RANLIB=$${RANLIB}" \
35832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35833 installcheck) \
35834 || exit 1
35836 @endif target-libada
35838 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35839 maybe-mostlyclean-target-libada:
35840 @if target-libada
35841 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35843 mostlyclean-target-libada:
35844 @: $(MAKE); $(unstage)
35845 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35846 r=`${PWD_COMMAND}`; export r; \
35847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35848 $(NORMAL_TARGET_EXPORTS) \
35849 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35850 for flag in $(EXTRA_TARGET_FLAGS); do \
35851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35852 done; \
35853 (cd $(TARGET_SUBDIR)/libada && \
35854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35856 "RANLIB=$${RANLIB}" \
35857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35858 mostlyclean) \
35859 || exit 1
35861 @endif target-libada
35863 .PHONY: maybe-clean-target-libada clean-target-libada
35864 maybe-clean-target-libada:
35865 @if target-libada
35866 maybe-clean-target-libada: clean-target-libada
35868 clean-target-libada:
35869 @: $(MAKE); $(unstage)
35870 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35871 r=`${PWD_COMMAND}`; export r; \
35872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35873 $(NORMAL_TARGET_EXPORTS) \
35874 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35875 for flag in $(EXTRA_TARGET_FLAGS); do \
35876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35877 done; \
35878 (cd $(TARGET_SUBDIR)/libada && \
35879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35881 "RANLIB=$${RANLIB}" \
35882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35883 clean) \
35884 || exit 1
35886 @endif target-libada
35888 .PHONY: maybe-distclean-target-libada distclean-target-libada
35889 maybe-distclean-target-libada:
35890 @if target-libada
35891 maybe-distclean-target-libada: distclean-target-libada
35893 distclean-target-libada:
35894 @: $(MAKE); $(unstage)
35895 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35896 r=`${PWD_COMMAND}`; export r; \
35897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35898 $(NORMAL_TARGET_EXPORTS) \
35899 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
35900 for flag in $(EXTRA_TARGET_FLAGS); do \
35901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35902 done; \
35903 (cd $(TARGET_SUBDIR)/libada && \
35904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35906 "RANLIB=$${RANLIB}" \
35907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35908 distclean) \
35909 || exit 1
35911 @endif target-libada
35913 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35914 maybe-maintainer-clean-target-libada:
35915 @if target-libada
35916 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35918 maintainer-clean-target-libada:
35919 @: $(MAKE); $(unstage)
35920 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35921 r=`${PWD_COMMAND}`; export r; \
35922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35923 $(NORMAL_TARGET_EXPORTS) \
35924 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35925 for flag in $(EXTRA_TARGET_FLAGS); do \
35926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35927 done; \
35928 (cd $(TARGET_SUBDIR)/libada && \
35929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35931 "RANLIB=$${RANLIB}" \
35932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35933 maintainer-clean) \
35934 || exit 1
35936 @endif target-libada
35942 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
35943 maybe-configure-target-libgomp:
35944 @if target-libgomp
35945 maybe-configure-target-libgomp: configure-target-libgomp
35946 configure-target-libgomp:
35947 @: $(MAKE); $(unstage)
35948 @r=`${PWD_COMMAND}`; export r; \
35949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35950 echo "Checking multilib configuration for libgomp..."; \
35951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
35952 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
35953 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
35954 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
35955 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
35956 else \
35957 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
35958 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
35959 fi; \
35960 else \
35961 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
35963 @test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
35964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
35965 r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(NORMAL_TARGET_EXPORTS) \
35968 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
35969 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
35970 case $(srcdir) in \
35971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35972 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
35973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35974 esac; \
35975 srcdiroption="--srcdir=$${topdir}/libgomp"; \
35976 libsrcdir="$$s/libgomp"; \
35977 rm -f no-such-file || : ; \
35978 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35979 $(TARGET_CONFIGARGS) $${srcdiroption} \
35980 || exit 1
35981 @endif target-libgomp
35987 .PHONY: all-target-libgomp maybe-all-target-libgomp
35988 maybe-all-target-libgomp:
35989 @if target-libgomp
35990 TARGET-target-libgomp=all
35991 maybe-all-target-libgomp: all-target-libgomp
35992 all-target-libgomp: configure-target-libgomp
35993 @: $(MAKE); $(unstage)
35994 @r=`${PWD_COMMAND}`; export r; \
35995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35996 $(NORMAL_TARGET_EXPORTS) \
35997 (cd $(TARGET_SUBDIR)/libgomp && \
35998 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
35999 @endif target-libgomp
36005 .PHONY: check-target-libgomp maybe-check-target-libgomp
36006 maybe-check-target-libgomp:
36007 @if target-libgomp
36008 maybe-check-target-libgomp: check-target-libgomp
36010 check-target-libgomp:
36011 @: $(MAKE); $(unstage)
36012 @r=`${PWD_COMMAND}`; export r; \
36013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36014 $(NORMAL_TARGET_EXPORTS) \
36015 (cd $(TARGET_SUBDIR)/libgomp && \
36016 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36018 @endif target-libgomp
36020 .PHONY: install-target-libgomp maybe-install-target-libgomp
36021 maybe-install-target-libgomp:
36022 @if target-libgomp
36023 maybe-install-target-libgomp: install-target-libgomp
36025 install-target-libgomp: installdirs
36026 @: $(MAKE); $(unstage)
36027 @r=`${PWD_COMMAND}`; export r; \
36028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36029 $(NORMAL_TARGET_EXPORTS) \
36030 (cd $(TARGET_SUBDIR)/libgomp && \
36031 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36033 @endif target-libgomp
36035 # Other targets (info, dvi, etc.)
36037 .PHONY: maybe-info-target-libgomp info-target-libgomp
36038 maybe-info-target-libgomp:
36039 @if target-libgomp
36040 maybe-info-target-libgomp: info-target-libgomp
36042 info-target-libgomp: \
36043 configure-target-libgomp
36044 @: $(MAKE); $(unstage)
36045 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36046 r=`${PWD_COMMAND}`; export r; \
36047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36048 $(NORMAL_TARGET_EXPORTS) \
36049 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
36050 for flag in $(EXTRA_TARGET_FLAGS); do \
36051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36052 done; \
36053 (cd $(TARGET_SUBDIR)/libgomp && \
36054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36056 "RANLIB=$${RANLIB}" \
36057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36058 info) \
36059 || exit 1
36061 @endif target-libgomp
36063 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
36064 maybe-dvi-target-libgomp:
36065 @if target-libgomp
36066 maybe-dvi-target-libgomp: dvi-target-libgomp
36068 dvi-target-libgomp: \
36069 configure-target-libgomp
36070 @: $(MAKE); $(unstage)
36071 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36072 r=`${PWD_COMMAND}`; export r; \
36073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36074 $(NORMAL_TARGET_EXPORTS) \
36075 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 dvi) \
36085 || exit 1
36087 @endif target-libgomp
36089 .PHONY: maybe-html-target-libgomp html-target-libgomp
36090 maybe-html-target-libgomp:
36091 @if target-libgomp
36092 maybe-html-target-libgomp: html-target-libgomp
36094 html-target-libgomp: \
36095 configure-target-libgomp
36096 @: $(MAKE); $(unstage)
36097 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36098 r=`${PWD_COMMAND}`; export r; \
36099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36100 $(NORMAL_TARGET_EXPORTS) \
36101 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
36102 for flag in $(EXTRA_TARGET_FLAGS); do \
36103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36104 done; \
36105 (cd $(TARGET_SUBDIR)/libgomp && \
36106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36108 "RANLIB=$${RANLIB}" \
36109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36110 html) \
36111 || exit 1
36113 @endif target-libgomp
36115 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
36116 maybe-TAGS-target-libgomp:
36117 @if target-libgomp
36118 maybe-TAGS-target-libgomp: TAGS-target-libgomp
36120 TAGS-target-libgomp: \
36121 configure-target-libgomp
36122 @: $(MAKE); $(unstage)
36123 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36124 r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
36128 for flag in $(EXTRA_TARGET_FLAGS); do \
36129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36130 done; \
36131 (cd $(TARGET_SUBDIR)/libgomp && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36134 "RANLIB=$${RANLIB}" \
36135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36136 TAGS) \
36137 || exit 1
36139 @endif target-libgomp
36141 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
36142 maybe-install-info-target-libgomp:
36143 @if target-libgomp
36144 maybe-install-info-target-libgomp: install-info-target-libgomp
36146 install-info-target-libgomp: \
36147 configure-target-libgomp \
36148 info-target-libgomp
36149 @: $(MAKE); $(unstage)
36150 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36151 r=`${PWD_COMMAND}`; export r; \
36152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36153 $(NORMAL_TARGET_EXPORTS) \
36154 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
36155 for flag in $(EXTRA_TARGET_FLAGS); do \
36156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36157 done; \
36158 (cd $(TARGET_SUBDIR)/libgomp && \
36159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36161 "RANLIB=$${RANLIB}" \
36162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36163 install-info) \
36164 || exit 1
36166 @endif target-libgomp
36168 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
36169 maybe-installcheck-target-libgomp:
36170 @if target-libgomp
36171 maybe-installcheck-target-libgomp: installcheck-target-libgomp
36173 installcheck-target-libgomp: \
36174 configure-target-libgomp
36175 @: $(MAKE); $(unstage)
36176 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36177 r=`${PWD_COMMAND}`; export r; \
36178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36179 $(NORMAL_TARGET_EXPORTS) \
36180 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
36181 for flag in $(EXTRA_TARGET_FLAGS); do \
36182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36183 done; \
36184 (cd $(TARGET_SUBDIR)/libgomp && \
36185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36187 "RANLIB=$${RANLIB}" \
36188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36189 installcheck) \
36190 || exit 1
36192 @endif target-libgomp
36194 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
36195 maybe-mostlyclean-target-libgomp:
36196 @if target-libgomp
36197 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
36199 mostlyclean-target-libgomp:
36200 @: $(MAKE); $(unstage)
36201 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36202 r=`${PWD_COMMAND}`; export r; \
36203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36204 $(NORMAL_TARGET_EXPORTS) \
36205 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
36206 for flag in $(EXTRA_TARGET_FLAGS); do \
36207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36208 done; \
36209 (cd $(TARGET_SUBDIR)/libgomp && \
36210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36212 "RANLIB=$${RANLIB}" \
36213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36214 mostlyclean) \
36215 || exit 1
36217 @endif target-libgomp
36219 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
36220 maybe-clean-target-libgomp:
36221 @if target-libgomp
36222 maybe-clean-target-libgomp: clean-target-libgomp
36224 clean-target-libgomp:
36225 @: $(MAKE); $(unstage)
36226 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36227 r=`${PWD_COMMAND}`; export r; \
36228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36229 $(NORMAL_TARGET_EXPORTS) \
36230 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
36231 for flag in $(EXTRA_TARGET_FLAGS); do \
36232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36233 done; \
36234 (cd $(TARGET_SUBDIR)/libgomp && \
36235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36237 "RANLIB=$${RANLIB}" \
36238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36239 clean) \
36240 || exit 1
36242 @endif target-libgomp
36244 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
36245 maybe-distclean-target-libgomp:
36246 @if target-libgomp
36247 maybe-distclean-target-libgomp: distclean-target-libgomp
36249 distclean-target-libgomp:
36250 @: $(MAKE); $(unstage)
36251 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36252 r=`${PWD_COMMAND}`; export r; \
36253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36254 $(NORMAL_TARGET_EXPORTS) \
36255 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
36256 for flag in $(EXTRA_TARGET_FLAGS); do \
36257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36258 done; \
36259 (cd $(TARGET_SUBDIR)/libgomp && \
36260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36262 "RANLIB=$${RANLIB}" \
36263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36264 distclean) \
36265 || exit 1
36267 @endif target-libgomp
36269 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
36270 maybe-maintainer-clean-target-libgomp:
36271 @if target-libgomp
36272 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
36274 maintainer-clean-target-libgomp:
36275 @: $(MAKE); $(unstage)
36276 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36277 r=`${PWD_COMMAND}`; export r; \
36278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36279 $(NORMAL_TARGET_EXPORTS) \
36280 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
36281 for flag in $(EXTRA_TARGET_FLAGS); do \
36282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36283 done; \
36284 (cd $(TARGET_SUBDIR)/libgomp && \
36285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36287 "RANLIB=$${RANLIB}" \
36288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36289 maintainer-clean) \
36290 || exit 1
36292 @endif target-libgomp
36296 # ----------
36297 # GCC module
36298 # ----------
36300 @if gcc-no-bootstrap
36301 # GCC has some more recursive targets, which trigger the old
36302 # (but still current, until the toplevel bootstrap project
36303 # is finished) compiler bootstrapping rules.
36305 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
36306 .PHONY: $(GCC_STRAP_TARGETS)
36307 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
36308 @r=`${PWD_COMMAND}`; export r; \
36309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36310 $(HOST_EXPORTS) \
36311 echo "Bootstrapping the compiler"; \
36312 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36313 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
36314 @r=`${PWD_COMMAND}`; export r; \
36315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36316 case "$@" in \
36317 *bootstrap4-lean ) \
36318 msg="Comparing stage3 and stage4 of the compiler"; \
36319 compare=compare3-lean ;; \
36320 *bootstrap4 ) \
36321 msg="Comparing stage3 and stage4 of the compiler"; \
36322 compare=compare3 ;; \
36323 *-lean ) \
36324 msg="Comparing stage2 and stage3 of the compiler"; \
36325 compare=compare-lean ;; \
36326 * ) \
36327 msg="Comparing stage2 and stage3 of the compiler"; \
36328 compare=compare ;; \
36329 esac; \
36330 $(HOST_EXPORTS) \
36331 echo "$$msg"; \
36332 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
36333 @r=`${PWD_COMMAND}`; export r; \
36334 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36335 echo "Building runtime libraries"; \
36336 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36338 profiledbootstrap: all-prebootstrap configure-gcc
36339 @r=`${PWD_COMMAND}`; export r; \
36340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36341 $(HOST_EXPORTS) \
36342 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36343 echo "Bootstrapping training compiler"; \
36344 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
36345 @r=`${PWD_COMMAND}`; export r; \
36346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36347 $(HOST_EXPORTS) \
36348 echo "Building feedback based compiler"; \
36349 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
36350 @r=`${PWD_COMMAND}`; export r; \
36351 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36352 echo "Building runtime libraries"; \
36353 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36355 .PHONY: cross
36356 cross: all-build all-gas all-ld
36357 @r=`${PWD_COMMAND}`; export r; \
36358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36359 $(HOST_EXPORTS) \
36360 echo "Building the C and C++ compiler"; \
36361 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
36362 @r=`${PWD_COMMAND}`; export r; \
36363 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36364 echo "Building runtime libraries"; \
36365 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
36366 @endif gcc-no-bootstrap
36368 @if gcc
36369 .PHONY: check-gcc-c++
36370 check-gcc-c++:
36371 @if [ -f ./gcc/Makefile ] ; then \
36372 r=`${PWD_COMMAND}`; export r; \
36373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36374 $(HOST_EXPORTS) \
36375 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
36376 else \
36377 true; \
36380 .PHONY: check-c++
36381 check-c++: check-target-libstdc++-v3 check-gcc-c++
36383 # Install the gcc headers files, but not the fixed include files,
36384 # which Cygnus is not allowed to distribute. This rule is very
36385 # dependent on the workings of the gcc Makefile.in.
36386 .PHONY: gcc-no-fixedincludes
36387 gcc-no-fixedincludes:
36388 @if [ -f ./gcc/Makefile ]; then \
36389 rm -rf gcc/tmp-include; \
36390 mv gcc/include gcc/tmp-include 2>/dev/null; \
36391 mkdir gcc/include; \
36392 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
36393 touch gcc/stmp-fixinc gcc/include/fixed; \
36394 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
36395 r=`${PWD_COMMAND}`; export r; \
36396 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36397 $(HOST_EXPORTS) \
36398 (cd ./gcc && \
36399 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
36400 rm -rf gcc/include; \
36401 mv gcc/tmp-include gcc/include 2>/dev/null; \
36402 else true; fi
36403 @endif gcc
36405 # ---------------------
36406 # GCC bootstrap support
36407 # ---------------------
36409 # We track the current stage (the one in 'gcc') in the stage_current file.
36410 # stage_last instead tracks the stage that was built last. These targets
36411 # are dummy when toplevel bootstrap is not active.
36413 # While making host and target tools, symlinks to the final stage must be
36414 # there, so $(unstage) should be run at various points. To avoid excessive
36415 # recursive invocations of make, we "inline" them using a variable. These
36416 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
36417 # to avoid warnings from the GNU Make job server.
36419 unstage = :
36420 stage = :
36422 @if gcc-bootstrap
36423 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
36424 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
36425 @endif gcc-bootstrap
36427 .PHONY: unstage stage
36428 unstage:
36429 @: $(MAKE); $(unstage)
36430 stage:
36431 @: $(MAKE); $(stage)
36433 # Disable commands for lean bootstrap.
36434 LEAN = false
36436 # We name the build directories for the various stages "stage1-gcc",
36437 # "stage2-gcc","stage3-gcc", etc.
36439 # Since the 'compare' process will fail (on debugging information) if any
36440 # directory names are different, we need to link the gcc directory for
36441 # the previous stage to a constant name ('prev-gcc'), and to make the name of
36442 # the build directories constant as well. For the latter, we use naked names
36443 # like 'gcc', because the scripts in that directory assume it. We use
36444 # mv on platforms where symlinks to directories do not work or are not
36445 # reliable.
36447 # 'touch' doesn't work right on some platforms.
36448 STAMP = echo timestamp >
36450 # Only build the C compiler for stage1, because that is the only one that
36451 # we can guarantee will build with the native compiler, and also it is the
36452 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
36453 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
36454 # overrideable (for a bootstrap build stage1 also builds gcc.info).
36456 STAGE1_CFLAGS=@stage1_cflags@
36457 STAGE1_LANGUAGES=@stage1_languages@
36459 # We only want to compare .o files, so set this!
36460 objext = .o
36462 # Flags to pass to stage2 and later makes.
36463 POSTSTAGE1_FLAGS_TO_PASS = \
36464 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
36465 STAGE_PREFIX=$$r/prev-gcc/ \
36466 CFLAGS="$(BOOT_CFLAGS)" \
36467 LDFLAGS="$(BOOT_LDFLAGS)" \
36468 ADAC="\$$(CC)"
36470 # For stage 1:
36471 # * We force-disable intermodule optimizations, even if
36472 # --enable-intermodule was passed, since the installed compiler probably
36473 # can't handle them. Luckily, autoconf always respects
36474 # the last argument when conflicting --enable arguments are passed.
36475 # * Likewise, we force-disable coverage flags, since the installed compiler
36476 # probably has never heard of them.
36477 # * We build only C (and possibly Ada).
36480 .PHONY: stage1-start stage1-end
36482 stage1-start::
36483 @: $(MAKE); $(stage); \
36484 echo stage1 > stage_current ; \
36485 echo stage1 > stage_last; \
36486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36487 @if bfd
36488 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
36489 mkdir stage1-bfd; \
36490 mv stage1-bfd bfd
36491 @endif bfd
36492 @if opcodes
36493 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
36494 mkdir stage1-opcodes; \
36495 mv stage1-opcodes opcodes
36496 @endif opcodes
36497 @if binutils
36498 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
36499 mkdir stage1-binutils; \
36500 mv stage1-binutils binutils
36501 @endif binutils
36502 @if gas
36503 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
36504 mkdir stage1-gas; \
36505 mv stage1-gas gas
36506 @endif gas
36507 @if gcc
36508 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
36509 mkdir stage1-gcc; \
36510 mv stage1-gcc gcc
36511 @endif gcc
36512 @if intl
36513 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
36514 mkdir stage1-intl; \
36515 mv stage1-intl intl
36516 @endif intl
36517 @if ld
36518 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
36519 mkdir stage1-ld; \
36520 mv stage1-ld ld
36521 @endif ld
36522 @if libcpp
36523 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
36524 mkdir stage1-libcpp; \
36525 mv stage1-libcpp libcpp
36526 @endif libcpp
36527 @if libdecnumber
36528 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
36529 mkdir stage1-libdecnumber; \
36530 mv stage1-libdecnumber libdecnumber
36531 @endif libdecnumber
36532 @if libiberty
36533 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
36534 mkdir stage1-libiberty; \
36535 mv stage1-libiberty libiberty
36536 @endif libiberty
36537 @if zlib
36538 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
36539 mkdir stage1-zlib; \
36540 mv stage1-zlib zlib
36541 @endif zlib
36542 @[ -d stage1-$(TARGET_SUBDIR) ] || \
36543 mkdir stage1-$(TARGET_SUBDIR); \
36544 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
36546 stage1-end::
36547 @if bfd
36548 @if test -d $(HOST_SUBDIR)/bfd ; then \
36549 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
36551 @endif bfd
36552 @if opcodes
36553 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36554 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
36556 @endif opcodes
36557 @if binutils
36558 @if test -d $(HOST_SUBDIR)/binutils ; then \
36559 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
36561 @endif binutils
36562 @if gas
36563 @if test -d $(HOST_SUBDIR)/gas ; then \
36564 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
36566 @endif gas
36567 @if gcc
36568 @if test -d $(HOST_SUBDIR)/gcc ; then \
36569 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
36571 @endif gcc
36572 @if intl
36573 @if test -d $(HOST_SUBDIR)/intl ; then \
36574 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
36576 @endif intl
36577 @if ld
36578 @if test -d $(HOST_SUBDIR)/ld ; then \
36579 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
36581 @endif ld
36582 @if libcpp
36583 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36584 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
36586 @endif libcpp
36587 @if libdecnumber
36588 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36589 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
36591 @endif libdecnumber
36592 @if libiberty
36593 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36594 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
36596 @endif libiberty
36597 @if zlib
36598 @if test -d $(HOST_SUBDIR)/zlib ; then \
36599 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
36601 @endif zlib
36602 @if test -d $(TARGET_SUBDIR) ; then \
36603 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36605 rm -f stage_current
36607 # Bubble a bugfix through all the stages up to stage 1. They are
36608 # remade, but not reconfigured. The next stage (if any) will not be
36609 # reconfigured as well.
36610 .PHONY: stage1-bubble
36611 stage1-bubble::
36612 @r=`${PWD_COMMAND}`; export r; \
36613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36614 if test -f stage1-lean ; then \
36615 echo Skipping rebuild of stage1 ; \
36616 else \
36617 $(MAKE) stage1-start; \
36618 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
36621 .PHONY: all-stage1 clean-stage1
36622 do-clean: clean-stage1
36624 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36625 # only possibility, but now it conflicts with no-bootstrap rules
36626 @if gcc-bootstrap
36631 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36633 .PHONY: distclean-stage1
36634 distclean-stage1::
36635 @: $(MAKE); $(stage)
36636 rm -rf stage1-*
36639 @endif gcc-bootstrap
36642 .PHONY: stage2-start stage2-end
36644 stage2-start::
36645 @: $(MAKE); $(stage); \
36646 echo stage2 > stage_current ; \
36647 echo stage2 > stage_last; \
36648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36649 @if bfd
36650 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
36651 mkdir stage2-bfd; \
36652 mv stage2-bfd bfd ; \
36653 mv stage1-bfd prev-bfd || test -f stage1-lean
36654 @endif bfd
36655 @if opcodes
36656 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
36657 mkdir stage2-opcodes; \
36658 mv stage2-opcodes opcodes ; \
36659 mv stage1-opcodes prev-opcodes || test -f stage1-lean
36660 @endif opcodes
36661 @if binutils
36662 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
36663 mkdir stage2-binutils; \
36664 mv stage2-binutils binutils ; \
36665 mv stage1-binutils prev-binutils || test -f stage1-lean
36666 @endif binutils
36667 @if gas
36668 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
36669 mkdir stage2-gas; \
36670 mv stage2-gas gas ; \
36671 mv stage1-gas prev-gas || test -f stage1-lean
36672 @endif gas
36673 @if gcc
36674 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
36675 mkdir stage2-gcc; \
36676 mv stage2-gcc gcc ; \
36677 mv stage1-gcc prev-gcc || test -f stage1-lean
36678 @endif gcc
36679 @if intl
36680 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
36681 mkdir stage2-intl; \
36682 mv stage2-intl intl ; \
36683 mv stage1-intl prev-intl || test -f stage1-lean
36684 @endif intl
36685 @if ld
36686 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
36687 mkdir stage2-ld; \
36688 mv stage2-ld ld ; \
36689 mv stage1-ld prev-ld || test -f stage1-lean
36690 @endif ld
36691 @if libcpp
36692 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
36693 mkdir stage2-libcpp; \
36694 mv stage2-libcpp libcpp ; \
36695 mv stage1-libcpp prev-libcpp || test -f stage1-lean
36696 @endif libcpp
36697 @if libdecnumber
36698 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
36699 mkdir stage2-libdecnumber; \
36700 mv stage2-libdecnumber libdecnumber ; \
36701 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
36702 @endif libdecnumber
36703 @if libiberty
36704 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
36705 mkdir stage2-libiberty; \
36706 mv stage2-libiberty libiberty ; \
36707 mv stage1-libiberty prev-libiberty || test -f stage1-lean
36708 @endif libiberty
36709 @if zlib
36710 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36711 mkdir stage2-zlib; \
36712 mv stage2-zlib zlib ; \
36713 mv stage1-zlib prev-zlib || test -f stage1-lean
36714 @endif zlib
36715 @[ -d stage2-$(TARGET_SUBDIR) ] || \
36716 mkdir stage2-$(TARGET_SUBDIR); \
36717 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36718 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
36720 stage2-end::
36721 @if bfd
36722 @if test -d $(HOST_SUBDIR)/bfd ; then \
36723 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
36724 mv prev-bfd stage1-bfd ; : ; \
36726 @endif bfd
36727 @if opcodes
36728 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36729 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
36730 mv prev-opcodes stage1-opcodes ; : ; \
36732 @endif opcodes
36733 @if binutils
36734 @if test -d $(HOST_SUBDIR)/binutils ; then \
36735 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
36736 mv prev-binutils stage1-binutils ; : ; \
36738 @endif binutils
36739 @if gas
36740 @if test -d $(HOST_SUBDIR)/gas ; then \
36741 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
36742 mv prev-gas stage1-gas ; : ; \
36744 @endif gas
36745 @if gcc
36746 @if test -d $(HOST_SUBDIR)/gcc ; then \
36747 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
36748 mv prev-gcc stage1-gcc ; : ; \
36750 @endif gcc
36751 @if intl
36752 @if test -d $(HOST_SUBDIR)/intl ; then \
36753 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
36754 mv prev-intl stage1-intl ; : ; \
36756 @endif intl
36757 @if ld
36758 @if test -d $(HOST_SUBDIR)/ld ; then \
36759 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
36760 mv prev-ld stage1-ld ; : ; \
36762 @endif ld
36763 @if libcpp
36764 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36765 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
36766 mv prev-libcpp stage1-libcpp ; : ; \
36768 @endif libcpp
36769 @if libdecnumber
36770 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36771 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
36772 mv prev-libdecnumber stage1-libdecnumber ; : ; \
36774 @endif libdecnumber
36775 @if libiberty
36776 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36777 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
36778 mv prev-libiberty stage1-libiberty ; : ; \
36780 @endif libiberty
36781 @if zlib
36782 @if test -d $(HOST_SUBDIR)/zlib ; then \
36783 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
36784 mv prev-zlib stage1-zlib ; : ; \
36786 @endif zlib
36787 @if test -d $(TARGET_SUBDIR) ; then \
36788 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36789 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
36791 rm -f stage_current
36793 # Bubble a bugfix through all the stages up to stage 2. They are
36794 # remade, but not reconfigured. The next stage (if any) will not be
36795 # reconfigured as well.
36796 .PHONY: stage2-bubble
36797 stage2-bubble:: stage1-bubble
36798 @r=`${PWD_COMMAND}`; export r; \
36799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36800 if test -f stage2-lean || test -f stage1-lean ; then \
36801 echo Skipping rebuild of stage2 ; \
36802 else \
36803 $(MAKE) stage2-start; \
36804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
36807 .PHONY: all-stage2 clean-stage2
36808 do-clean: clean-stage2
36810 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36811 # only possibility, but now it conflicts with no-bootstrap rules
36812 @if gcc-bootstrap
36816 .PHONY: bootstrap2 bootstrap2-lean
36817 bootstrap2:
36818 echo stage2 > stage_final
36819 @r=`${PWD_COMMAND}`; export r; \
36820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36821 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
36822 @: $(MAKE); $(unstage)
36823 @r=`${PWD_COMMAND}`; export r; \
36824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36825 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36827 bootstrap2-lean:
36828 echo stage2 > stage_final
36829 @r=`${PWD_COMMAND}`; export r; \
36830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36831 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
36832 @: $(MAKE); $(unstage)
36833 @r=`${PWD_COMMAND}`; export r; \
36834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36835 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36838 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36839 distclean-stage1:: distclean-stage2
36840 .PHONY: distclean-stage2
36841 distclean-stage2::
36842 @: $(MAKE); $(stage)
36843 rm -rf stage2-*
36846 @endif gcc-bootstrap
36849 .PHONY: stage3-start stage3-end
36851 stage3-start::
36852 @: $(MAKE); $(stage); \
36853 echo stage3 > stage_current ; \
36854 echo stage3 > stage_last; \
36855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36856 @if bfd
36857 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
36858 mkdir stage3-bfd; \
36859 mv stage3-bfd bfd ; \
36860 mv stage2-bfd prev-bfd || test -f stage2-lean
36861 @endif bfd
36862 @if opcodes
36863 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
36864 mkdir stage3-opcodes; \
36865 mv stage3-opcodes opcodes ; \
36866 mv stage2-opcodes prev-opcodes || test -f stage2-lean
36867 @endif opcodes
36868 @if binutils
36869 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
36870 mkdir stage3-binutils; \
36871 mv stage3-binutils binutils ; \
36872 mv stage2-binutils prev-binutils || test -f stage2-lean
36873 @endif binutils
36874 @if gas
36875 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
36876 mkdir stage3-gas; \
36877 mv stage3-gas gas ; \
36878 mv stage2-gas prev-gas || test -f stage2-lean
36879 @endif gas
36880 @if gcc
36881 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36882 mkdir stage3-gcc; \
36883 mv stage3-gcc gcc ; \
36884 mv stage2-gcc prev-gcc || test -f stage2-lean
36885 @endif gcc
36886 @if intl
36887 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36888 mkdir stage3-intl; \
36889 mv stage3-intl intl ; \
36890 mv stage2-intl prev-intl || test -f stage2-lean
36891 @endif intl
36892 @if ld
36893 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36894 mkdir stage3-ld; \
36895 mv stage3-ld ld ; \
36896 mv stage2-ld prev-ld || test -f stage2-lean
36897 @endif ld
36898 @if libcpp
36899 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36900 mkdir stage3-libcpp; \
36901 mv stage3-libcpp libcpp ; \
36902 mv stage2-libcpp prev-libcpp || test -f stage2-lean
36903 @endif libcpp
36904 @if libdecnumber
36905 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36906 mkdir stage3-libdecnumber; \
36907 mv stage3-libdecnumber libdecnumber ; \
36908 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
36909 @endif libdecnumber
36910 @if libiberty
36911 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36912 mkdir stage3-libiberty; \
36913 mv stage3-libiberty libiberty ; \
36914 mv stage2-libiberty prev-libiberty || test -f stage2-lean
36915 @endif libiberty
36916 @if zlib
36917 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36918 mkdir stage3-zlib; \
36919 mv stage3-zlib zlib ; \
36920 mv stage2-zlib prev-zlib || test -f stage2-lean
36921 @endif zlib
36922 @[ -d stage3-$(TARGET_SUBDIR) ] || \
36923 mkdir stage3-$(TARGET_SUBDIR); \
36924 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36925 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
36927 stage3-end::
36928 @if bfd
36929 @if test -d $(HOST_SUBDIR)/bfd ; then \
36930 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
36931 mv prev-bfd stage2-bfd ; : ; \
36933 @endif bfd
36934 @if opcodes
36935 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36936 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
36937 mv prev-opcodes stage2-opcodes ; : ; \
36939 @endif opcodes
36940 @if binutils
36941 @if test -d $(HOST_SUBDIR)/binutils ; then \
36942 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
36943 mv prev-binutils stage2-binutils ; : ; \
36945 @endif binutils
36946 @if gas
36947 @if test -d $(HOST_SUBDIR)/gas ; then \
36948 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
36949 mv prev-gas stage2-gas ; : ; \
36951 @endif gas
36952 @if gcc
36953 @if test -d $(HOST_SUBDIR)/gcc ; then \
36954 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
36955 mv prev-gcc stage2-gcc ; : ; \
36957 @endif gcc
36958 @if intl
36959 @if test -d $(HOST_SUBDIR)/intl ; then \
36960 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
36961 mv prev-intl stage2-intl ; : ; \
36963 @endif intl
36964 @if ld
36965 @if test -d $(HOST_SUBDIR)/ld ; then \
36966 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
36967 mv prev-ld stage2-ld ; : ; \
36969 @endif ld
36970 @if libcpp
36971 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36972 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
36973 mv prev-libcpp stage2-libcpp ; : ; \
36975 @endif libcpp
36976 @if libdecnumber
36977 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36978 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
36979 mv prev-libdecnumber stage2-libdecnumber ; : ; \
36981 @endif libdecnumber
36982 @if libiberty
36983 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36984 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
36985 mv prev-libiberty stage2-libiberty ; : ; \
36987 @endif libiberty
36988 @if zlib
36989 @if test -d $(HOST_SUBDIR)/zlib ; then \
36990 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
36991 mv prev-zlib stage2-zlib ; : ; \
36993 @endif zlib
36994 @if test -d $(TARGET_SUBDIR) ; then \
36995 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36996 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
36998 rm -f stage_current
37000 # Bubble a bugfix through all the stages up to stage 3. They are
37001 # remade, but not reconfigured. The next stage (if any) will not be
37002 # reconfigured as well.
37003 .PHONY: stage3-bubble
37004 stage3-bubble:: stage2-bubble
37005 @r=`${PWD_COMMAND}`; export r; \
37006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37007 if test -f stage3-lean || test -f stage2-lean ; then \
37008 echo Skipping rebuild of stage3 ; \
37009 else \
37010 $(MAKE) stage3-start; \
37011 if $(LEAN); then \
37012 rm -rf stage1-* ; \
37013 $(STAMP) stage1-lean ; \
37014 fi; \
37015 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
37017 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
37019 .PHONY: all-stage3 clean-stage3
37020 do-clean: clean-stage3
37022 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37023 # only possibility, but now it conflicts with no-bootstrap rules
37024 @if gcc-bootstrap
37026 compare:
37027 @r=`${PWD_COMMAND}`; export r; \
37028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37029 if test -f stage2-lean; then \
37030 echo Cannot compare object files as stage 2 was deleted. ; \
37031 exit 0 ; \
37032 fi; \
37033 : $(MAKE); $(stage); \
37034 rm -f .bad_compare ; \
37035 cd stage3-gcc; \
37036 files=`find . -name "*$(objext)" -print` ; \
37037 cd .. ; \
37038 for file in $${files} ; do \
37039 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
37040 @do_compare@ > /dev/null 2>&1; \
37041 if test $$? -eq 1; then \
37042 case $$file in \
37043 ./cc*-checksum$(objext) | ./libgcc/* ) \
37044 echo warning: $$file differs ;; \
37045 *) \
37046 echo $$file differs >> .bad_compare ;; \
37047 esac ; \
37048 fi ; \
37049 done ; \
37050 if [ -f .bad_compare ]; then \
37051 echo "Bootstrap comparison failure!"; \
37052 cat .bad_compare; \
37053 exit 1; \
37054 else \
37055 true; \
37056 fi ; \
37057 $(STAMP) compare
37058 if $(LEAN); then \
37059 rm -rf stage2-*; \
37060 $(STAMP) stage2-lean; \
37065 .PHONY: bootstrap bootstrap-lean
37066 bootstrap:
37067 echo stage3 > stage_final
37068 @r=`${PWD_COMMAND}`; export r; \
37069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
37071 @: $(MAKE); $(unstage)
37072 @r=`${PWD_COMMAND}`; export r; \
37073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37074 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37076 bootstrap-lean:
37077 echo stage3 > stage_final
37078 @r=`${PWD_COMMAND}`; export r; \
37079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37080 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
37081 @: $(MAKE); $(unstage)
37082 @r=`${PWD_COMMAND}`; export r; \
37083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37084 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37087 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37088 distclean-stage2:: distclean-stage3
37089 .PHONY: distclean-stage3
37090 distclean-stage3::
37091 @: $(MAKE); $(stage)
37092 rm -rf stage3-* compare
37095 .PHONY: cleanstrap
37096 cleanstrap: distclean bootstrap
37098 @endif gcc-bootstrap
37101 .PHONY: stage4-start stage4-end
37103 stage4-start::
37104 @: $(MAKE); $(stage); \
37105 echo stage4 > stage_current ; \
37106 echo stage4 > stage_last; \
37107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37108 @if bfd
37109 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
37110 mkdir stage4-bfd; \
37111 mv stage4-bfd bfd ; \
37112 mv stage3-bfd prev-bfd || test -f stage3-lean
37113 @endif bfd
37114 @if opcodes
37115 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
37116 mkdir stage4-opcodes; \
37117 mv stage4-opcodes opcodes ; \
37118 mv stage3-opcodes prev-opcodes || test -f stage3-lean
37119 @endif opcodes
37120 @if binutils
37121 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
37122 mkdir stage4-binutils; \
37123 mv stage4-binutils binutils ; \
37124 mv stage3-binutils prev-binutils || test -f stage3-lean
37125 @endif binutils
37126 @if gas
37127 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
37128 mkdir stage4-gas; \
37129 mv stage4-gas gas ; \
37130 mv stage3-gas prev-gas || test -f stage3-lean
37131 @endif gas
37132 @if gcc
37133 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
37134 mkdir stage4-gcc; \
37135 mv stage4-gcc gcc ; \
37136 mv stage3-gcc prev-gcc || test -f stage3-lean
37137 @endif gcc
37138 @if intl
37139 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
37140 mkdir stage4-intl; \
37141 mv stage4-intl intl ; \
37142 mv stage3-intl prev-intl || test -f stage3-lean
37143 @endif intl
37144 @if ld
37145 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
37146 mkdir stage4-ld; \
37147 mv stage4-ld ld ; \
37148 mv stage3-ld prev-ld || test -f stage3-lean
37149 @endif ld
37150 @if libcpp
37151 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
37152 mkdir stage4-libcpp; \
37153 mv stage4-libcpp libcpp ; \
37154 mv stage3-libcpp prev-libcpp || test -f stage3-lean
37155 @endif libcpp
37156 @if libdecnumber
37157 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
37158 mkdir stage4-libdecnumber; \
37159 mv stage4-libdecnumber libdecnumber ; \
37160 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
37161 @endif libdecnumber
37162 @if libiberty
37163 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
37164 mkdir stage4-libiberty; \
37165 mv stage4-libiberty libiberty ; \
37166 mv stage3-libiberty prev-libiberty || test -f stage3-lean
37167 @endif libiberty
37168 @if zlib
37169 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
37170 mkdir stage4-zlib; \
37171 mv stage4-zlib zlib ; \
37172 mv stage3-zlib prev-zlib || test -f stage3-lean
37173 @endif zlib
37174 @[ -d stage4-$(TARGET_SUBDIR) ] || \
37175 mkdir stage4-$(TARGET_SUBDIR); \
37176 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37177 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
37179 stage4-end::
37180 @if bfd
37181 @if test -d $(HOST_SUBDIR)/bfd ; then \
37182 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
37183 mv prev-bfd stage3-bfd ; : ; \
37185 @endif bfd
37186 @if opcodes
37187 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37188 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
37189 mv prev-opcodes stage3-opcodes ; : ; \
37191 @endif opcodes
37192 @if binutils
37193 @if test -d $(HOST_SUBDIR)/binutils ; then \
37194 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
37195 mv prev-binutils stage3-binutils ; : ; \
37197 @endif binutils
37198 @if gas
37199 @if test -d $(HOST_SUBDIR)/gas ; then \
37200 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
37201 mv prev-gas stage3-gas ; : ; \
37203 @endif gas
37204 @if gcc
37205 @if test -d $(HOST_SUBDIR)/gcc ; then \
37206 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
37207 mv prev-gcc stage3-gcc ; : ; \
37209 @endif gcc
37210 @if intl
37211 @if test -d $(HOST_SUBDIR)/intl ; then \
37212 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
37213 mv prev-intl stage3-intl ; : ; \
37215 @endif intl
37216 @if ld
37217 @if test -d $(HOST_SUBDIR)/ld ; then \
37218 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
37219 mv prev-ld stage3-ld ; : ; \
37221 @endif ld
37222 @if libcpp
37223 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37224 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
37225 mv prev-libcpp stage3-libcpp ; : ; \
37227 @endif libcpp
37228 @if libdecnumber
37229 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37230 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
37231 mv prev-libdecnumber stage3-libdecnumber ; : ; \
37233 @endif libdecnumber
37234 @if libiberty
37235 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37236 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
37237 mv prev-libiberty stage3-libiberty ; : ; \
37239 @endif libiberty
37240 @if zlib
37241 @if test -d $(HOST_SUBDIR)/zlib ; then \
37242 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
37243 mv prev-zlib stage3-zlib ; : ; \
37245 @endif zlib
37246 @if test -d $(TARGET_SUBDIR) ; then \
37247 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
37248 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
37250 rm -f stage_current
37252 # Bubble a bugfix through all the stages up to stage 4. They are
37253 # remade, but not reconfigured. The next stage (if any) will not be
37254 # reconfigured as well.
37255 .PHONY: stage4-bubble
37256 stage4-bubble:: stage3-bubble
37257 @r=`${PWD_COMMAND}`; export r; \
37258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37259 if test -f stage4-lean || test -f stage3-lean ; then \
37260 echo Skipping rebuild of stage4 ; \
37261 else \
37262 $(MAKE) stage4-start; \
37263 if $(LEAN); then \
37264 rm -rf stage2-* ; \
37265 $(STAMP) stage2-lean ; \
37266 fi; \
37267 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
37269 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
37271 .PHONY: all-stage4 clean-stage4
37272 do-clean: clean-stage4
37274 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37275 # only possibility, but now it conflicts with no-bootstrap rules
37276 @if gcc-bootstrap
37278 compare3:
37279 @r=`${PWD_COMMAND}`; export r; \
37280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37281 if test -f stage3-lean; then \
37282 echo Cannot compare object files as stage 3 was deleted. ; \
37283 exit 0 ; \
37284 fi; \
37285 : $(MAKE); $(stage); \
37286 rm -f .bad_compare ; \
37287 cd stage4-gcc; \
37288 files=`find . -name "*$(objext)" -print` ; \
37289 cd .. ; \
37290 for file in $${files} ; do \
37291 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
37292 @do_compare@ > /dev/null 2>&1; \
37293 if test $$? -eq 1; then \
37294 case $$file in \
37295 ./cc*-checksum$(objext) | ./libgcc/* ) \
37296 echo warning: $$file differs ;; \
37297 *) \
37298 echo $$file differs >> .bad_compare ;; \
37299 esac ; \
37300 fi ; \
37301 done ; \
37302 if [ -f .bad_compare ]; then \
37303 echo "Bootstrap comparison failure!"; \
37304 cat .bad_compare; \
37305 exit 1; \
37306 else \
37307 true; \
37308 fi ; \
37309 $(STAMP) compare3
37310 if $(LEAN); then \
37311 rm -rf stage3-*; \
37312 $(STAMP) stage3-lean; \
37317 .PHONY: bootstrap4 bootstrap4-lean
37318 bootstrap4:
37319 echo stage4 > stage_final
37320 @r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
37323 @: $(MAKE); $(unstage)
37324 @r=`${PWD_COMMAND}`; export r; \
37325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37326 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37328 bootstrap4-lean:
37329 echo stage4 > stage_final
37330 @r=`${PWD_COMMAND}`; export r; \
37331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37332 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
37333 @: $(MAKE); $(unstage)
37334 @r=`${PWD_COMMAND}`; export r; \
37335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37336 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37339 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37340 distclean-stage3:: distclean-stage4
37341 .PHONY: distclean-stage4
37342 distclean-stage4::
37343 @: $(MAKE); $(stage)
37344 rm -rf stage4-* compare3
37347 @endif gcc-bootstrap
37350 .PHONY: stageprofile-start stageprofile-end
37352 stageprofile-start::
37353 @: $(MAKE); $(stage); \
37354 echo stageprofile > stage_current ; \
37355 echo stageprofile > stage_last; \
37356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37357 @if bfd
37358 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
37359 mkdir stageprofile-bfd; \
37360 mv stageprofile-bfd bfd ; \
37361 mv stage1-bfd prev-bfd || test -f stage1-lean
37362 @endif bfd
37363 @if opcodes
37364 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
37365 mkdir stageprofile-opcodes; \
37366 mv stageprofile-opcodes opcodes ; \
37367 mv stage1-opcodes prev-opcodes || test -f stage1-lean
37368 @endif opcodes
37369 @if binutils
37370 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
37371 mkdir stageprofile-binutils; \
37372 mv stageprofile-binutils binutils ; \
37373 mv stage1-binutils prev-binutils || test -f stage1-lean
37374 @endif binutils
37375 @if gas
37376 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
37377 mkdir stageprofile-gas; \
37378 mv stageprofile-gas gas ; \
37379 mv stage1-gas prev-gas || test -f stage1-lean
37380 @endif gas
37381 @if gcc
37382 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
37383 mkdir stageprofile-gcc; \
37384 mv stageprofile-gcc gcc ; \
37385 mv stage1-gcc prev-gcc || test -f stage1-lean
37386 @endif gcc
37387 @if intl
37388 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
37389 mkdir stageprofile-intl; \
37390 mv stageprofile-intl intl ; \
37391 mv stage1-intl prev-intl || test -f stage1-lean
37392 @endif intl
37393 @if ld
37394 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
37395 mkdir stageprofile-ld; \
37396 mv stageprofile-ld ld ; \
37397 mv stage1-ld prev-ld || test -f stage1-lean
37398 @endif ld
37399 @if libcpp
37400 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
37401 mkdir stageprofile-libcpp; \
37402 mv stageprofile-libcpp libcpp ; \
37403 mv stage1-libcpp prev-libcpp || test -f stage1-lean
37404 @endif libcpp
37405 @if libdecnumber
37406 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
37407 mkdir stageprofile-libdecnumber; \
37408 mv stageprofile-libdecnumber libdecnumber ; \
37409 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
37410 @endif libdecnumber
37411 @if libiberty
37412 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
37413 mkdir stageprofile-libiberty; \
37414 mv stageprofile-libiberty libiberty ; \
37415 mv stage1-libiberty prev-libiberty || test -f stage1-lean
37416 @endif libiberty
37417 @if zlib
37418 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
37419 mkdir stageprofile-zlib; \
37420 mv stageprofile-zlib zlib ; \
37421 mv stage1-zlib prev-zlib || test -f stage1-lean
37422 @endif zlib
37423 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
37424 mkdir stageprofile-$(TARGET_SUBDIR); \
37425 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37426 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
37428 stageprofile-end::
37429 @if bfd
37430 @if test -d $(HOST_SUBDIR)/bfd ; then \
37431 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
37432 mv prev-bfd stage1-bfd ; : ; \
37434 @endif bfd
37435 @if opcodes
37436 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37437 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
37438 mv prev-opcodes stage1-opcodes ; : ; \
37440 @endif opcodes
37441 @if binutils
37442 @if test -d $(HOST_SUBDIR)/binutils ; then \
37443 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
37444 mv prev-binutils stage1-binutils ; : ; \
37446 @endif binutils
37447 @if gas
37448 @if test -d $(HOST_SUBDIR)/gas ; then \
37449 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
37450 mv prev-gas stage1-gas ; : ; \
37452 @endif gas
37453 @if gcc
37454 @if test -d $(HOST_SUBDIR)/gcc ; then \
37455 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
37456 mv prev-gcc stage1-gcc ; : ; \
37458 @endif gcc
37459 @if intl
37460 @if test -d $(HOST_SUBDIR)/intl ; then \
37461 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
37462 mv prev-intl stage1-intl ; : ; \
37464 @endif intl
37465 @if ld
37466 @if test -d $(HOST_SUBDIR)/ld ; then \
37467 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
37468 mv prev-ld stage1-ld ; : ; \
37470 @endif ld
37471 @if libcpp
37472 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37473 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
37474 mv prev-libcpp stage1-libcpp ; : ; \
37476 @endif libcpp
37477 @if libdecnumber
37478 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37479 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
37480 mv prev-libdecnumber stage1-libdecnumber ; : ; \
37482 @endif libdecnumber
37483 @if libiberty
37484 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37485 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
37486 mv prev-libiberty stage1-libiberty ; : ; \
37488 @endif libiberty
37489 @if zlib
37490 @if test -d $(HOST_SUBDIR)/zlib ; then \
37491 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
37492 mv prev-zlib stage1-zlib ; : ; \
37494 @endif zlib
37495 @if test -d $(TARGET_SUBDIR) ; then \
37496 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
37497 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
37499 rm -f stage_current
37501 # Bubble a bugfix through all the stages up to stage profile. They are
37502 # remade, but not reconfigured. The next stage (if any) will not be
37503 # reconfigured as well.
37504 .PHONY: stageprofile-bubble
37505 stageprofile-bubble:: stage1-bubble
37506 @r=`${PWD_COMMAND}`; export r; \
37507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37508 if test -f stageprofile-lean || test -f stage1-lean ; then \
37509 echo Skipping rebuild of stageprofile ; \
37510 else \
37511 $(MAKE) stageprofile-start; \
37512 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
37515 .PHONY: all-stageprofile clean-stageprofile
37516 do-clean: clean-stageprofile
37518 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37519 # only possibility, but now it conflicts with no-bootstrap rules
37520 @if gcc-bootstrap
37525 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37526 distclean-stage1:: distclean-stageprofile
37527 .PHONY: distclean-stageprofile
37528 distclean-stageprofile::
37529 @: $(MAKE); $(stage)
37530 rm -rf stageprofile-*
37533 @endif gcc-bootstrap
37536 .PHONY: stagefeedback-start stagefeedback-end
37538 stagefeedback-start::
37539 @: $(MAKE); $(stage); \
37540 echo stagefeedback > stage_current ; \
37541 echo stagefeedback > stage_last; \
37542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37543 @if bfd
37544 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
37545 mkdir stagefeedback-bfd; \
37546 mv stagefeedback-bfd bfd ; \
37547 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
37548 @endif bfd
37549 @if opcodes
37550 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
37551 mkdir stagefeedback-opcodes; \
37552 mv stagefeedback-opcodes opcodes ; \
37553 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
37554 @endif opcodes
37555 @if binutils
37556 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
37557 mkdir stagefeedback-binutils; \
37558 mv stagefeedback-binutils binutils ; \
37559 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
37560 @endif binutils
37561 @if gas
37562 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
37563 mkdir stagefeedback-gas; \
37564 mv stagefeedback-gas gas ; \
37565 mv stageprofile-gas prev-gas || test -f stageprofile-lean
37566 @endif gas
37567 @if gcc
37568 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
37569 mkdir stagefeedback-gcc; \
37570 mv stagefeedback-gcc gcc ; \
37571 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
37572 @endif gcc
37573 @if intl
37574 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
37575 mkdir stagefeedback-intl; \
37576 mv stagefeedback-intl intl ; \
37577 mv stageprofile-intl prev-intl || test -f stageprofile-lean
37578 @endif intl
37579 @if ld
37580 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
37581 mkdir stagefeedback-ld; \
37582 mv stagefeedback-ld ld ; \
37583 mv stageprofile-ld prev-ld || test -f stageprofile-lean
37584 @endif ld
37585 @if libcpp
37586 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
37587 mkdir stagefeedback-libcpp; \
37588 mv stagefeedback-libcpp libcpp ; \
37589 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
37590 @endif libcpp
37591 @if libdecnumber
37592 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
37593 mkdir stagefeedback-libdecnumber; \
37594 mv stagefeedback-libdecnumber libdecnumber ; \
37595 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
37596 @endif libdecnumber
37597 @if libiberty
37598 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
37599 mkdir stagefeedback-libiberty; \
37600 mv stagefeedback-libiberty libiberty ; \
37601 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
37602 @endif libiberty
37603 @if zlib
37604 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
37605 mkdir stagefeedback-zlib; \
37606 mv stagefeedback-zlib zlib ; \
37607 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
37608 @endif zlib
37609 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
37610 mkdir stagefeedback-$(TARGET_SUBDIR); \
37611 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37612 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
37614 stagefeedback-end::
37615 @if bfd
37616 @if test -d $(HOST_SUBDIR)/bfd ; then \
37617 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
37618 mv prev-bfd stageprofile-bfd ; : ; \
37620 @endif bfd
37621 @if opcodes
37622 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37623 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
37624 mv prev-opcodes stageprofile-opcodes ; : ; \
37626 @endif opcodes
37627 @if binutils
37628 @if test -d $(HOST_SUBDIR)/binutils ; then \
37629 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
37630 mv prev-binutils stageprofile-binutils ; : ; \
37632 @endif binutils
37633 @if gas
37634 @if test -d $(HOST_SUBDIR)/gas ; then \
37635 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
37636 mv prev-gas stageprofile-gas ; : ; \
37638 @endif gas
37639 @if gcc
37640 @if test -d $(HOST_SUBDIR)/gcc ; then \
37641 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
37642 mv prev-gcc stageprofile-gcc ; : ; \
37644 @endif gcc
37645 @if intl
37646 @if test -d $(HOST_SUBDIR)/intl ; then \
37647 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
37648 mv prev-intl stageprofile-intl ; : ; \
37650 @endif intl
37651 @if ld
37652 @if test -d $(HOST_SUBDIR)/ld ; then \
37653 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
37654 mv prev-ld stageprofile-ld ; : ; \
37656 @endif ld
37657 @if libcpp
37658 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37659 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
37660 mv prev-libcpp stageprofile-libcpp ; : ; \
37662 @endif libcpp
37663 @if libdecnumber
37664 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37665 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
37666 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
37668 @endif libdecnumber
37669 @if libiberty
37670 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37671 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
37672 mv prev-libiberty stageprofile-libiberty ; : ; \
37674 @endif libiberty
37675 @if zlib
37676 @if test -d $(HOST_SUBDIR)/zlib ; then \
37677 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
37678 mv prev-zlib stageprofile-zlib ; : ; \
37680 @endif zlib
37681 @if test -d $(TARGET_SUBDIR) ; then \
37682 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
37683 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
37685 rm -f stage_current
37687 # Bubble a bugfix through all the stages up to stage feedback. They are
37688 # remade, but not reconfigured. The next stage (if any) will not be
37689 # reconfigured as well.
37690 .PHONY: stagefeedback-bubble
37691 stagefeedback-bubble:: stageprofile-bubble
37692 @r=`${PWD_COMMAND}`; export r; \
37693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37694 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37695 echo Skipping rebuild of stagefeedback ; \
37696 else \
37697 $(MAKE) stagefeedback-start; \
37698 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37701 .PHONY: all-stagefeedback clean-stagefeedback
37702 do-clean: clean-stagefeedback
37704 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37705 # only possibility, but now it conflicts with no-bootstrap rules
37706 @if gcc-bootstrap
37710 .PHONY: profiledbootstrap profiledbootstrap-lean
37711 profiledbootstrap:
37712 echo stagefeedback > stage_final
37713 @r=`${PWD_COMMAND}`; export r; \
37714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37715 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
37716 @: $(MAKE); $(unstage)
37717 @r=`${PWD_COMMAND}`; export r; \
37718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37719 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37721 profiledbootstrap-lean:
37722 echo stagefeedback > stage_final
37723 @r=`${PWD_COMMAND}`; export r; \
37724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37725 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
37726 @: $(MAKE); $(unstage)
37727 @r=`${PWD_COMMAND}`; export r; \
37728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37729 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37732 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37733 distclean-stageprofile:: distclean-stagefeedback
37734 .PHONY: distclean-stagefeedback
37735 distclean-stagefeedback::
37736 @: $(MAKE); $(stage)
37737 rm -rf stagefeedback-*
37740 @endif gcc-bootstrap
37744 stageprofile-end::
37745 $(MAKE) distclean-stagefeedback
37747 stagefeedback-start::
37748 @r=`${PWD_COMMAND}`; export r; \
37749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37750 for i in prev-*; do \
37751 j=`echo $$i | sed s/^prev-//` ; \
37752 cd $$r/$$i && \
37753 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37754 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37755 done
37757 @if gcc-bootstrap
37758 do-distclean: distclean-stage1
37759 @endif gcc-bootstrap
37761 # --------------------------------------
37762 # Dependencies between different modules
37763 # --------------------------------------
37765 # Generic dependencies for target modules on host stuff, especially gcc
37767 configure-target-libstdc++-v3: maybe-all-gcc
37769 configure-target-libmudflap: maybe-all-gcc
37771 configure-target-libssp: maybe-all-gcc
37773 configure-target-libgcc-math: maybe-all-gcc
37775 configure-target-newlib: maybe-all-gcc
37777 configure-target-libgfortran: maybe-all-gcc
37779 configure-target-libobjc: maybe-all-gcc
37781 configure-target-libtermcap: maybe-all-gcc
37783 configure-target-winsup: maybe-all-gcc
37785 configure-target-libgloss: maybe-all-gcc
37787 configure-target-libiberty: maybe-all-gcc
37789 configure-target-gperf: maybe-all-gcc
37791 configure-target-examples: maybe-all-gcc
37793 configure-target-libffi: maybe-all-gcc
37795 configure-target-libjava: maybe-all-gcc
37797 configure-target-zlib: maybe-all-gcc
37799 configure-target-boehm-gc: maybe-all-gcc
37801 configure-target-qthreads: maybe-all-gcc
37803 configure-target-rda: maybe-all-gcc
37805 configure-target-libada: maybe-all-gcc
37807 configure-target-libgomp: maybe-all-gcc
37811 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
37813 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
37814 configure-target-gperf: maybe-all-target-libstdc++-v3
37816 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
37818 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
37820 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
37822 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
37823 configure-target-libjava: maybe-all-target-libstdc++-v3
37825 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
37827 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
37829 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
37831 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
37833 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
37835 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
37837 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
37839 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
37841 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
37843 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
37846 # There are two types of dependencies here: 'hard' dependencies, where one
37847 # module simply won't build without the other; and 'soft' dependencies, where
37848 # if the depended-on module is missing, the depending module will do without
37849 # or find a substitute somewhere (perhaps installed). Soft dependencies
37850 # are made here to depend on a 'maybe-' target. If you're not sure,
37851 # it's safer to use a soft dependency.
37858 # With all the machinery above in place, it is pretty easy to generate
37859 # dependencies. Host dependencies are a bit more complex because we have
37860 # to check for bootstrap/prebootstrap dependencies. To resolve
37861 # prebootstrap dependencies, prebootstrap modules are gathered in
37862 # a hash table.
37863 all-build-bison: maybe-all-build-texinfo
37864 all-build-byacc: maybe-all-build-texinfo
37865 all-build-flex: maybe-all-build-texinfo
37866 all-build-flex: maybe-all-build-bison
37867 all-build-flex: maybe-all-build-byacc
37868 all-build-flex: maybe-all-build-m4
37869 all-build-libiberty: maybe-all-build-texinfo
37870 all-build-m4: maybe-all-build-texinfo
37871 all-build-fixincludes: maybe-all-build-libiberty
37872 configure-gcc: maybe-configure-intl
37874 configure-stage1-gcc: maybe-configure-stage1-intl
37875 configure-stage2-gcc: maybe-configure-stage2-intl
37876 configure-stage3-gcc: maybe-configure-stage3-intl
37877 configure-stage4-gcc: maybe-configure-stage4-intl
37878 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37879 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37880 configure-gcc: maybe-all-binutils
37882 configure-stage1-gcc: maybe-all-stage1-binutils
37883 configure-stage2-gcc: maybe-all-stage2-binutils
37884 configure-stage3-gcc: maybe-all-stage3-binutils
37885 configure-stage4-gcc: maybe-all-stage4-binutils
37886 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37887 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37888 configure-gcc: maybe-all-gas
37890 configure-stage1-gcc: maybe-all-stage1-gas
37891 configure-stage2-gcc: maybe-all-stage2-gas
37892 configure-stage3-gcc: maybe-all-stage3-gas
37893 configure-stage4-gcc: maybe-all-stage4-gas
37894 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37895 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37896 configure-gcc: maybe-all-ld
37898 configure-stage1-gcc: maybe-all-stage1-ld
37899 configure-stage2-gcc: maybe-all-stage2-ld
37900 configure-stage3-gcc: maybe-all-stage3-ld
37901 configure-stage4-gcc: maybe-all-stage4-ld
37902 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37903 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37904 all-gcc: all-libiberty
37906 all-stage1-gcc: all-stage1-libiberty
37907 all-stage2-gcc: all-stage2-libiberty
37908 all-stage3-gcc: all-stage3-libiberty
37909 all-stage4-gcc: all-stage4-libiberty
37910 all-stageprofile-gcc: all-stageprofile-libiberty
37911 all-stagefeedback-gcc: all-stagefeedback-libiberty
37912 all-gcc: maybe-all-intl
37914 all-stage1-gcc: maybe-all-stage1-intl
37915 all-stage2-gcc: maybe-all-stage2-intl
37916 all-stage3-gcc: maybe-all-stage3-intl
37917 all-stage4-gcc: maybe-all-stage4-intl
37918 all-stageprofile-gcc: maybe-all-stageprofile-intl
37919 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37920 all-gcc: maybe-all-build-texinfo
37922 all-stage1-gcc: maybe-all-build-texinfo
37923 all-stage2-gcc: maybe-all-build-texinfo
37924 all-stage3-gcc: maybe-all-build-texinfo
37925 all-stage4-gcc: maybe-all-build-texinfo
37926 all-stageprofile-gcc: maybe-all-build-texinfo
37927 all-stagefeedback-gcc: maybe-all-build-texinfo
37928 all-prebootstrap: maybe-all-build-texinfo
37929 all-gcc: maybe-all-build-bison
37931 all-stage1-gcc: maybe-all-build-bison
37932 all-stage2-gcc: maybe-all-build-bison
37933 all-stage3-gcc: maybe-all-build-bison
37934 all-stage4-gcc: maybe-all-build-bison
37935 all-stageprofile-gcc: maybe-all-build-bison
37936 all-stagefeedback-gcc: maybe-all-build-bison
37937 all-prebootstrap: maybe-all-build-bison
37938 all-gcc: maybe-all-build-byacc
37940 all-stage1-gcc: maybe-all-build-byacc
37941 all-stage2-gcc: maybe-all-build-byacc
37942 all-stage3-gcc: maybe-all-build-byacc
37943 all-stage4-gcc: maybe-all-build-byacc
37944 all-stageprofile-gcc: maybe-all-build-byacc
37945 all-stagefeedback-gcc: maybe-all-build-byacc
37946 all-prebootstrap: maybe-all-build-byacc
37947 all-gcc: maybe-all-build-flex
37949 all-stage1-gcc: maybe-all-build-flex
37950 all-stage2-gcc: maybe-all-build-flex
37951 all-stage3-gcc: maybe-all-build-flex
37952 all-stage4-gcc: maybe-all-build-flex
37953 all-stageprofile-gcc: maybe-all-build-flex
37954 all-stagefeedback-gcc: maybe-all-build-flex
37955 all-prebootstrap: maybe-all-build-flex
37956 all-gcc: maybe-all-build-libiberty
37958 all-stage1-gcc: maybe-all-build-libiberty
37959 all-stage2-gcc: maybe-all-build-libiberty
37960 all-stage3-gcc: maybe-all-build-libiberty
37961 all-stage4-gcc: maybe-all-build-libiberty
37962 all-stageprofile-gcc: maybe-all-build-libiberty
37963 all-stagefeedback-gcc: maybe-all-build-libiberty
37964 all-prebootstrap: maybe-all-build-libiberty
37965 all-gcc: maybe-all-build-fixincludes
37967 all-stage1-gcc: maybe-all-build-fixincludes
37968 all-stage2-gcc: maybe-all-build-fixincludes
37969 all-stage3-gcc: maybe-all-build-fixincludes
37970 all-stage4-gcc: maybe-all-build-fixincludes
37971 all-stageprofile-gcc: maybe-all-build-fixincludes
37972 all-stagefeedback-gcc: maybe-all-build-fixincludes
37973 all-prebootstrap: maybe-all-build-fixincludes
37974 all-gcc: maybe-all-zlib
37976 all-stage1-gcc: maybe-all-stage1-zlib
37977 all-stage2-gcc: maybe-all-stage2-zlib
37978 all-stage3-gcc: maybe-all-stage3-zlib
37979 all-stage4-gcc: maybe-all-stage4-zlib
37980 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37981 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37982 all-gcc: all-libcpp
37984 all-stage1-gcc: all-stage1-libcpp
37985 all-stage2-gcc: all-stage2-libcpp
37986 all-stage3-gcc: all-stage3-libcpp
37987 all-stage4-gcc: all-stage4-libcpp
37988 all-stageprofile-gcc: all-stageprofile-libcpp
37989 all-stagefeedback-gcc: all-stagefeedback-libcpp
37990 all-gcc: all-libdecnumber
37992 all-stage1-gcc: all-stage1-libdecnumber
37993 all-stage2-gcc: all-stage2-libdecnumber
37994 all-stage3-gcc: all-stage3-libdecnumber
37995 all-stage4-gcc: all-stage4-libdecnumber
37996 all-stageprofile-gcc: all-stageprofile-libdecnumber
37997 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37998 all-gcc: maybe-all-libiberty
38000 all-stage1-gcc: maybe-all-stage1-libiberty
38001 all-stage2-gcc: maybe-all-stage2-libiberty
38002 all-stage3-gcc: maybe-all-stage3-libiberty
38003 all-stage4-gcc: maybe-all-stage4-libiberty
38004 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
38005 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
38006 all-gcc: maybe-all-fixincludes
38007 install-gcc: maybe-install-fixincludes
38008 configure-libcpp: configure-libiberty
38010 configure-stage1-libcpp: configure-stage1-libiberty
38011 configure-stage2-libcpp: configure-stage2-libiberty
38012 configure-stage3-libcpp: configure-stage3-libiberty
38013 configure-stage4-libcpp: configure-stage4-libiberty
38014 configure-stageprofile-libcpp: configure-stageprofile-libiberty
38015 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
38016 configure-libcpp: maybe-configure-intl
38018 configure-stage1-libcpp: maybe-configure-stage1-intl
38019 configure-stage2-libcpp: maybe-configure-stage2-intl
38020 configure-stage3-libcpp: maybe-configure-stage3-intl
38021 configure-stage4-libcpp: maybe-configure-stage4-intl
38022 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
38023 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
38024 all-libcpp: all-libiberty
38026 all-stage1-libcpp: all-stage1-libiberty
38027 all-stage2-libcpp: all-stage2-libiberty
38028 all-stage3-libcpp: all-stage3-libiberty
38029 all-stage4-libcpp: all-stage4-libiberty
38030 all-stageprofile-libcpp: all-stageprofile-libiberty
38031 all-stagefeedback-libcpp: all-stagefeedback-libiberty
38032 all-libcpp: maybe-all-intl
38034 all-stage1-libcpp: maybe-all-stage1-intl
38035 all-stage2-libcpp: maybe-all-stage2-intl
38036 all-stage3-libcpp: maybe-all-stage3-intl
38037 all-stage4-libcpp: maybe-all-stage4-intl
38038 all-stageprofile-libcpp: maybe-all-stageprofile-intl
38039 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
38040 all-fixincludes: maybe-all-libiberty
38041 all-gnattools: maybe-all-target-libada
38042 configure-gdb: maybe-configure-sim
38043 all-gdb: maybe-all-libiberty
38044 all-gdb: maybe-all-opcodes
38045 all-gdb: maybe-all-bfd
38046 all-gdb: maybe-all-readline
38047 all-gdb: maybe-all-build-bison
38048 all-gdb: maybe-all-build-byacc
38049 all-gdb: maybe-all-sim
38050 configure-libgui: maybe-configure-tcl
38051 configure-libgui: maybe-configure-tk
38052 all-libgui: maybe-all-tcl
38053 all-libgui: maybe-all-tk
38054 all-libgui: maybe-all-itcl
38055 configure-bfd: configure-libiberty
38057 configure-stage1-bfd: configure-stage1-libiberty
38058 configure-stage2-bfd: configure-stage2-libiberty
38059 configure-stage3-bfd: configure-stage3-libiberty
38060 configure-stage4-bfd: configure-stage4-libiberty
38061 configure-stageprofile-bfd: configure-stageprofile-libiberty
38062 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
38063 all-bfd: maybe-all-libiberty
38065 all-stage1-bfd: maybe-all-stage1-libiberty
38066 all-stage2-bfd: maybe-all-stage2-libiberty
38067 all-stage3-bfd: maybe-all-stage3-libiberty
38068 all-stage4-bfd: maybe-all-stage4-libiberty
38069 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
38070 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
38071 all-bfd: maybe-all-intl
38073 all-stage1-bfd: maybe-all-stage1-intl
38074 all-stage2-bfd: maybe-all-stage2-intl
38075 all-stage3-bfd: maybe-all-stage3-intl
38076 all-stage4-bfd: maybe-all-stage4-intl
38077 all-stageprofile-bfd: maybe-all-stageprofile-intl
38078 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
38079 all-binutils: maybe-all-libiberty
38081 all-stage1-binutils: maybe-all-stage1-libiberty
38082 all-stage2-binutils: maybe-all-stage2-libiberty
38083 all-stage3-binutils: maybe-all-stage3-libiberty
38084 all-stage4-binutils: maybe-all-stage4-libiberty
38085 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
38086 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
38087 all-binutils: maybe-all-opcodes
38089 all-stage1-binutils: maybe-all-stage1-opcodes
38090 all-stage2-binutils: maybe-all-stage2-opcodes
38091 all-stage3-binutils: maybe-all-stage3-opcodes
38092 all-stage4-binutils: maybe-all-stage4-opcodes
38093 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
38094 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
38095 all-binutils: maybe-all-bfd
38097 all-stage1-binutils: maybe-all-stage1-bfd
38098 all-stage2-binutils: maybe-all-stage2-bfd
38099 all-stage3-binutils: maybe-all-stage3-bfd
38100 all-stage4-binutils: maybe-all-stage4-bfd
38101 all-stageprofile-binutils: maybe-all-stageprofile-bfd
38102 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
38103 all-binutils: maybe-all-build-flex
38105 all-stage1-binutils: maybe-all-build-flex
38106 all-stage2-binutils: maybe-all-build-flex
38107 all-stage3-binutils: maybe-all-build-flex
38108 all-stage4-binutils: maybe-all-build-flex
38109 all-stageprofile-binutils: maybe-all-build-flex
38110 all-stagefeedback-binutils: maybe-all-build-flex
38111 all-prebootstrap: maybe-all-build-flex
38112 all-binutils: maybe-all-build-bison
38114 all-stage1-binutils: maybe-all-build-bison
38115 all-stage2-binutils: maybe-all-build-bison
38116 all-stage3-binutils: maybe-all-build-bison
38117 all-stage4-binutils: maybe-all-build-bison
38118 all-stageprofile-binutils: maybe-all-build-bison
38119 all-stagefeedback-binutils: maybe-all-build-bison
38120 all-prebootstrap: maybe-all-build-bison
38121 all-binutils: maybe-all-build-byacc
38123 all-stage1-binutils: maybe-all-build-byacc
38124 all-stage2-binutils: maybe-all-build-byacc
38125 all-stage3-binutils: maybe-all-build-byacc
38126 all-stage4-binutils: maybe-all-build-byacc
38127 all-stageprofile-binutils: maybe-all-build-byacc
38128 all-stagefeedback-binutils: maybe-all-build-byacc
38129 all-prebootstrap: maybe-all-build-byacc
38130 all-binutils: maybe-all-intl
38132 all-stage1-binutils: maybe-all-stage1-intl
38133 all-stage2-binutils: maybe-all-stage2-intl
38134 all-stage3-binutils: maybe-all-stage3-intl
38135 all-stage4-binutils: maybe-all-stage4-intl
38136 all-stageprofile-binutils: maybe-all-stageprofile-intl
38137 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
38138 install-binutils: maybe-install-opcodes
38139 install-opcodes: maybe-install-bfd
38140 all-gas: maybe-all-libiberty
38142 all-stage1-gas: maybe-all-stage1-libiberty
38143 all-stage2-gas: maybe-all-stage2-libiberty
38144 all-stage3-gas: maybe-all-stage3-libiberty
38145 all-stage4-gas: maybe-all-stage4-libiberty
38146 all-stageprofile-gas: maybe-all-stageprofile-libiberty
38147 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
38148 all-gas: maybe-all-opcodes
38150 all-stage1-gas: maybe-all-stage1-opcodes
38151 all-stage2-gas: maybe-all-stage2-opcodes
38152 all-stage3-gas: maybe-all-stage3-opcodes
38153 all-stage4-gas: maybe-all-stage4-opcodes
38154 all-stageprofile-gas: maybe-all-stageprofile-opcodes
38155 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
38156 all-gas: maybe-all-bfd
38158 all-stage1-gas: maybe-all-stage1-bfd
38159 all-stage2-gas: maybe-all-stage2-bfd
38160 all-stage3-gas: maybe-all-stage3-bfd
38161 all-stage4-gas: maybe-all-stage4-bfd
38162 all-stageprofile-gas: maybe-all-stageprofile-bfd
38163 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
38164 all-gas: maybe-all-intl
38166 all-stage1-gas: maybe-all-stage1-intl
38167 all-stage2-gas: maybe-all-stage2-intl
38168 all-stage3-gas: maybe-all-stage3-intl
38169 all-stage4-gas: maybe-all-stage4-intl
38170 all-stageprofile-gas: maybe-all-stageprofile-intl
38171 all-stagefeedback-gas: maybe-all-stagefeedback-intl
38172 all-gprof: maybe-all-libiberty
38173 all-gprof: maybe-all-bfd
38174 all-gprof: maybe-all-opcodes
38175 all-gprof: maybe-all-intl
38176 all-ld: maybe-all-libiberty
38178 all-stage1-ld: maybe-all-stage1-libiberty
38179 all-stage2-ld: maybe-all-stage2-libiberty
38180 all-stage3-ld: maybe-all-stage3-libiberty
38181 all-stage4-ld: maybe-all-stage4-libiberty
38182 all-stageprofile-ld: maybe-all-stageprofile-libiberty
38183 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
38184 all-ld: maybe-all-bfd
38186 all-stage1-ld: maybe-all-stage1-bfd
38187 all-stage2-ld: maybe-all-stage2-bfd
38188 all-stage3-ld: maybe-all-stage3-bfd
38189 all-stage4-ld: maybe-all-stage4-bfd
38190 all-stageprofile-ld: maybe-all-stageprofile-bfd
38191 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
38192 all-ld: maybe-all-opcodes
38194 all-stage1-ld: maybe-all-stage1-opcodes
38195 all-stage2-ld: maybe-all-stage2-opcodes
38196 all-stage3-ld: maybe-all-stage3-opcodes
38197 all-stage4-ld: maybe-all-stage4-opcodes
38198 all-stageprofile-ld: maybe-all-stageprofile-opcodes
38199 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
38200 all-ld: maybe-all-build-bison
38202 all-stage1-ld: maybe-all-build-bison
38203 all-stage2-ld: maybe-all-build-bison
38204 all-stage3-ld: maybe-all-build-bison
38205 all-stage4-ld: maybe-all-build-bison
38206 all-stageprofile-ld: maybe-all-build-bison
38207 all-stagefeedback-ld: maybe-all-build-bison
38208 all-prebootstrap: maybe-all-build-bison
38209 all-ld: maybe-all-build-byacc
38211 all-stage1-ld: maybe-all-build-byacc
38212 all-stage2-ld: maybe-all-build-byacc
38213 all-stage3-ld: maybe-all-build-byacc
38214 all-stage4-ld: maybe-all-build-byacc
38215 all-stageprofile-ld: maybe-all-build-byacc
38216 all-stagefeedback-ld: maybe-all-build-byacc
38217 all-prebootstrap: maybe-all-build-byacc
38218 all-ld: maybe-all-build-flex
38220 all-stage1-ld: maybe-all-build-flex
38221 all-stage2-ld: maybe-all-build-flex
38222 all-stage3-ld: maybe-all-build-flex
38223 all-stage4-ld: maybe-all-build-flex
38224 all-stageprofile-ld: maybe-all-build-flex
38225 all-stagefeedback-ld: maybe-all-build-flex
38226 all-prebootstrap: maybe-all-build-flex
38227 all-ld: maybe-all-intl
38229 all-stage1-ld: maybe-all-stage1-intl
38230 all-stage2-ld: maybe-all-stage2-intl
38231 all-stage3-ld: maybe-all-stage3-intl
38232 all-stage4-ld: maybe-all-stage4-intl
38233 all-stageprofile-ld: maybe-all-stageprofile-intl
38234 all-stagefeedback-ld: maybe-all-stagefeedback-intl
38235 all-opcodes: maybe-all-bfd
38237 all-stage1-opcodes: maybe-all-stage1-bfd
38238 all-stage2-opcodes: maybe-all-stage2-bfd
38239 all-stage3-opcodes: maybe-all-stage3-bfd
38240 all-stage4-opcodes: maybe-all-stage4-bfd
38241 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
38242 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
38243 all-opcodes: maybe-all-libiberty
38245 all-stage1-opcodes: maybe-all-stage1-libiberty
38246 all-stage2-opcodes: maybe-all-stage2-libiberty
38247 all-stage3-opcodes: maybe-all-stage3-libiberty
38248 all-stage4-opcodes: maybe-all-stage4-libiberty
38249 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
38250 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
38251 all-dejagnu: maybe-all-tcl
38252 all-dejagnu: maybe-all-expect
38253 all-dejagnu: maybe-all-tk
38254 configure-expect: maybe-configure-tcl
38255 configure-expect: maybe-configure-tk
38256 all-expect: maybe-all-tcl
38257 all-expect: maybe-all-tk
38258 configure-itcl: maybe-configure-tcl
38259 configure-itcl: maybe-configure-tk
38260 all-itcl: maybe-all-tcl
38261 all-itcl: maybe-all-tk
38262 install-itcl: maybe-install-tcl
38263 configure-tk: maybe-configure-tcl
38264 all-tk: maybe-all-tcl
38265 all-sid: maybe-all-libiberty
38266 all-sid: maybe-all-bfd
38267 all-sid: maybe-all-opcodes
38268 all-sid: maybe-all-tcl
38269 all-sid: maybe-all-tk
38270 install-sid: maybe-install-tcl
38271 install-sid: maybe-install-tk
38272 all-sim: maybe-all-libiberty
38273 all-sim: maybe-all-bfd
38274 all-sim: maybe-all-opcodes
38275 all-sim: maybe-all-readline
38276 all-sim: maybe-configure-gdb
38277 all-fastjar: maybe-all-zlib
38278 all-fastjar: maybe-all-build-texinfo
38279 all-fastjar: maybe-all-libiberty
38280 all-autoconf: maybe-all-m4
38281 all-autoconf: maybe-all-build-texinfo
38282 all-automake: maybe-all-m4
38283 all-automake: maybe-all-build-texinfo
38284 all-automake: maybe-all-autoconf
38285 all-bison: maybe-all-intl
38286 all-bison: maybe-all-build-texinfo
38287 all-diff: maybe-all-intl
38288 all-diff: maybe-all-build-texinfo
38289 all-fileutils: maybe-all-intl
38290 all-fileutils: maybe-all-build-texinfo
38291 all-flex: maybe-all-build-bison
38292 all-flex: maybe-all-build-byacc
38293 all-flex: maybe-all-intl
38294 all-flex: maybe-all-m4
38295 all-flex: maybe-all-build-texinfo
38296 all-gzip: maybe-all-intl
38297 all-gzip: maybe-all-zlib
38298 all-gzip: maybe-all-build-texinfo
38299 all-hello: maybe-all-intl
38300 all-hello: maybe-all-build-texinfo
38301 all-m4: maybe-all-intl
38302 all-m4: maybe-all-build-texinfo
38303 all-make: maybe-all-intl
38304 all-make: maybe-all-build-texinfo
38305 all-patch: maybe-all-build-texinfo
38306 all-make: maybe-all-build-texinfo
38307 all-prms: maybe-all-libiberty
38308 all-recode: maybe-all-build-texinfo
38309 all-sed: maybe-all-build-texinfo
38310 all-send-pr: maybe-all-prms
38311 all-tar: maybe-all-build-texinfo
38312 all-uudecode: maybe-all-build-texinfo
38313 configure-target-boehm-gc: maybe-configure-target-qthreads
38314 configure-target-fastjar: maybe-configure-target-zlib
38315 all-target-fastjar: maybe-all-target-zlib
38316 all-target-fastjar: maybe-all-target-libiberty
38317 configure-target-libjava: maybe-configure-target-zlib
38318 configure-target-libjava: maybe-configure-target-boehm-gc
38319 configure-target-libjava: maybe-configure-target-qthreads
38320 configure-target-libjava: maybe-configure-target-libffi
38321 all-target-libjava: maybe-all-fastjar
38322 all-target-libjava: maybe-all-target-zlib
38323 all-target-libjava: maybe-all-target-boehm-gc
38324 all-target-libjava: maybe-all-target-qthreads
38325 all-target-libjava: maybe-all-target-libffi
38326 all-target-libobjc: maybe-all-target-libiberty
38327 all-target-libstdc++-v3: maybe-all-target-libiberty
38328 all-target-libgloss: maybe-configure-target-newlib
38329 all-target-winsup: maybe-all-target-libiberty
38330 all-target-winsup: maybe-all-target-libtermcap
38333 # Non-toplevel bootstrap rules must depend on several packages, to be built
38334 # before gcc. Another wart that will go away, hopefully soon.
38335 @if gcc-no-bootstrap
38337 all-prebootstrap: maybe-all-bfd
38338 all-prebootstrap: maybe-all-opcodes
38339 all-prebootstrap: maybe-all-binutils
38340 all-prebootstrap: maybe-all-gas
38341 all-prebootstrap: maybe-all-intl
38342 all-prebootstrap: maybe-all-ld
38343 all-prebootstrap: maybe-all-libcpp
38344 all-prebootstrap: maybe-all-libdecnumber
38345 all-prebootstrap: maybe-all-libiberty
38346 all-prebootstrap: maybe-all-zlib
38347 @endif gcc-no-bootstrap
38349 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
38350 GDB_TK = @GDB_TK@
38351 INSTALL_GDB_TK = @INSTALL_GDB_TK@
38352 configure-gdb: $(CONFIGURE_GDB_TK)
38353 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
38354 install-gdb: $(INSTALL_GDB_TK)
38356 # Serialization dependencies. Host configures don't work well in parallel to
38357 # each other, due to contention over config.cache. Target configures and
38358 # build configures are similar.
38359 @serialization_dependencies@
38361 # --------------------------------
38362 # Regenerating top level configury
38363 # --------------------------------
38365 # Rebuilding Makefile.in, using autogen.
38366 AUTOGEN = autogen
38367 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
38368 cd $(srcdir) && $(AUTOGEN) Makefile.def
38370 # Rebuilding Makefile.
38371 Makefile: $(srcdir)/Makefile.in config.status
38372 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38374 config.status: configure
38375 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
38377 # Rebuilding configure.
38378 AUTOCONF = autoconf
38379 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
38380 cd $(srcdir) && $(AUTOCONF)
38382 # ------------------------------
38383 # Special directives to GNU Make
38384 # ------------------------------
38386 # Don't pass command-line variables to submakes.
38387 .NOEXPORT:
38388 MAKEOVERRIDES=
38390 # end of Makefile.in