* elf.c (sym_is_global): Return a bfd_boolean.
[binutils.git] / Makefile.in
blob5a8fc9679bed4803800bd7644603ed9edcf4664e
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 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
84 GDB_NLM_DEPS =
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory. It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101 FLEX="$(FLEX)"; export FLEX; \
102 LEX="$(LEX)"; export LEX; \
103 BISON="$(BISON)"; export BISON; \
104 YACC="$(YACC)"; export YACC; \
105 M4="$(M4)"; export M4; \
106 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111 $(BASE_EXPORTS) \
112 AR="$(AR_FOR_BUILD)"; export AR; \
113 AS="$(AS_FOR_BUILD)"; export AS; \
114 CC="$(CC_FOR_BUILD)"; export CC; \
115 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117 CXX="$(CXX_FOR_BUILD)"; export CXX; \
118 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122 LD="$(LD_FOR_BUILD)"; export LD; \
123 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124 NM="$(NM_FOR_BUILD)"; export NM; \
125 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system. We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140 $(BASE_EXPORTS) \
141 CC="$(CC)"; export CC; \
142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144 CXX="$(CXX)"; export CXX; \
145 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146 AR="$(AR)"; export AR; \
147 AS="$(AS)"; export AS; \
148 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150 LD="$(LD)"; export LD; \
151 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152 NM="$(NM)"; export NM; \
153 RANLIB="$(RANLIB)"; export RANLIB; \
154 WINDRES="$(WINDRES)"; export WINDRES; \
155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
182 # Target libraries are put under this directory:
183 TARGET_SUBDIR = @target_subdir@
184 # This is set by the configure script to the arguments to use when configuring
185 # directories built for the target.
186 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
187 # This is the list of variables to export in the environment when
188 # configuring subdirectories for the host system.
189 BASE_TARGET_EXPORTS = \
190 $(BASE_EXPORTS) \
191 AR="$(AR_FOR_TARGET)"; export AR; \
192 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
193 CC="$(CC_FOR_TARGET)"; export CC; \
194 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
195 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
196 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
198 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
199 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
200 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
201 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
202 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
203 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
204 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
205 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
208 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
209 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
211 RAW_CXX_TARGET_EXPORTS = \
212 $(BASE_TARGET_EXPORTS) \
213 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
214 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
216 NORMAL_TARGET_EXPORTS = \
217 $(BASE_TARGET_EXPORTS) \
218 CXX="$(CXX_FOR_TARGET)"; export CXX;
220 # Where to find GMP
221 HOST_GMPLIBS = @gmplibs@
222 HOST_GMPINC = @gmpinc@
224 # ----------------------------------------------
225 # Programs producing files for the BUILD machine
226 # ----------------------------------------------
228 SHELL = @config_shell@
230 # pwd command to use. Allow user to override default by setting PWDCMD in
231 # the environment to account for automounters. The make variable must not
232 # be called PWDCMD, otherwise the value set here is passed to make
233 # subprocesses and overrides the setting from the user's environment.
234 # Don't use PWD since it is a common shell environment variable and we
235 # don't want to corrupt it.
236 PWD_COMMAND = $${PWDCMD-pwd}
238 # compilers to use to create programs which must be run in the build
239 # environment.
240 CC_FOR_BUILD = @CC_FOR_BUILD@
241 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
243 CXX_FOR_BUILD = $(CXX)
245 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
246 # here so that they can be overridden by Makefile fragments.
247 BUILD_PREFIX = @BUILD_PREFIX@
248 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
250 # Flags to pass to stage2 and later makes. They are defined
251 # here so that they can be overridden by Makefile fragments.
252 BOOT_CFLAGS= -g -O2
253 BOOT_LDFLAGS=
255 BISON = @BISON@
256 YACC = @YACC@
257 FLEX = @FLEX@
258 LEX = @LEX@
259 M4 = @M4@
260 MAKEINFO = @MAKEINFO@
261 EXPECT = @EXPECT@
262 RUNTEST = @RUNTEST@
264 # This just becomes part of the MAKEINFO definition passed down to
265 # sub-makes. It lets flags be given on the command line while still
266 # using the makeinfo from the object tree.
267 # (Default to avoid splitting info files by setting the threshold high.)
268 MAKEINFOFLAGS = --split-size=5000000
270 # ---------------------------------------------
271 # Programs producing files for the HOST machine
272 # ---------------------------------------------
274 AS = @AS@
275 AR = @AR@
276 AR_FLAGS = rc
277 CC = @CC@
278 CXX = @CXX@
279 DLLTOOL = @DLLTOOL@
280 LD = @LD@
281 LIPO = @LIPO@
282 NM = @NM@
283 OBJDUMP = @OBJDUMP@
284 RANLIB = @RANLIB@
285 STRIP = @STRIP@
286 WINDRES = @WINDRES@
288 CFLAGS = @CFLAGS@
289 LDFLAGS =
290 LIBCFLAGS = $(CFLAGS)
291 CXXFLAGS = @CXXFLAGS@
292 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
293 PICFLAG =
295 # -----------------------------------------------
296 # Programs producing files for the TARGET machine
297 # -----------------------------------------------
299 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
301 AR_FOR_TARGET=@AR_FOR_TARGET@
302 AS_FOR_TARGET=@AS_FOR_TARGET@
303 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
305 # If GCC_FOR_TARGET is not overriden on the command line, then this
306 # variable is passed down to the gcc Makefile, where it is used to
307 # build libgcc2.a. We define it here so that it can itself be
308 # overridden on the command line.
309 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
310 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
311 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
315 LD_FOR_TARGET=@LD_FOR_TARGET@
317 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
318 NM_FOR_TARGET=@NM_FOR_TARGET@
319 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
320 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
321 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
322 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
324 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
325 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
326 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
328 # During gcc bootstrap, if we use some random cc for stage1 then
329 # CFLAGS will be just -g. We want to ensure that TARGET libraries
330 # (which we know are built with gcc) are built with optimizations so
331 # prepend -O2 when setting CFLAGS_FOR_TARGET.
332 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
333 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
334 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
336 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
337 LDFLAGS_FOR_TARGET =
338 PICFLAG_FOR_TARGET =
340 # ------------------------------------
341 # Miscellaneous targets and flag lists
342 # ------------------------------------
344 # The first rule in the file had better be this one. Don't put any above it.
345 # This lives here to allow makefile fragments to contain dependencies.
346 all:
348 #### host and target specific makefile fragments come in here.
349 @target_makefile_frag@
350 @alphaieee_frag@
351 @ospace_frag@
352 @host_makefile_frag@
355 # This is the list of directories that may be needed in RPATH_ENVVAR
356 # so that prorgams built for the target machine work.
357 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)
359 @if target-libstdc++-v3
360 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
361 @endif target-libstdc++-v3
363 @if target-libmudflap
364 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
365 @endif target-libmudflap
367 @if target-libssp
368 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
369 @endif target-libssp
371 @if target-libgcc-math
372 TARGET_LIB_PATH_libgcc-math = $$r/$(TARGET_SUBDIR)/libgcc-math/.libs:
373 @endif target-libgcc-math
375 @if target-libgomp
376 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
377 @endif target-libgomp
381 # This is the list of directories that may be needed in RPATH_ENVVAR
382 # so that programs built for the host machine work.
383 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
385 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
386 @if gcc
387 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
388 @endif gcc
391 @if bfd
392 HOST_LIB_PATH_bfd = \
393 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
394 @endif bfd
396 @if opcodes
397 HOST_LIB_PATH_opcodes = \
398 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
399 @endif opcodes
402 # Flags to pass down to all sub-makes.
403 BASE_FLAGS_TO_PASS = \
404 "DESTDIR=$(DESTDIR)" \
405 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
406 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
407 "bindir=$(bindir)" \
408 "datadir=$(datadir)" \
409 "exec_prefix=$(exec_prefix)" \
410 "includedir=$(includedir)" \
411 "datarootdir=$(datarootdir)" \
412 "docdir=$(docdir)" \
413 "infodir=$(infodir)" \
414 "htmldir=$(htmldir)" \
415 "libdir=$(libdir)" \
416 "libexecdir=$(libexecdir)" \
417 "lispdir=$(lispdir)" \
418 "localstatedir=$(localstatedir)" \
419 "mandir=$(mandir)" \
420 "oldincludedir=$(oldincludedir)" \
421 "prefix=$(prefix)" \
422 "sbindir=$(sbindir)" \
423 "sharedstatedir=$(sharedstatedir)" \
424 "sysconfdir=$(sysconfdir)" \
425 "tooldir=$(tooldir)" \
426 "build_tooldir=$(build_tooldir)" \
427 "target_alias=$(target_alias)" \
428 "BISON=$(BISON)" \
429 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
430 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
431 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
432 "EXPECT=$(EXPECT)" \
433 "FLEX=$(FLEX)" \
434 "INSTALL=$(INSTALL)" \
435 "INSTALL_DATA=$(INSTALL_DATA)" \
436 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
437 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
438 "LEX=$(LEX)" \
439 "M4=$(M4)" \
440 "MAKE=$(MAKE)" \
441 "RUNTEST=$(RUNTEST)" \
442 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
443 "SHELL=$(SHELL)" \
444 "YACC=$(YACC)" \
445 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
446 "AR_FLAGS=$(AR_FLAGS)" \
447 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
448 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
449 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
450 "CFLAGS=$(CFLAGS)" \
451 "CXXFLAGS=$(CXXFLAGS)" \
452 "LDFLAGS=$(LDFLAGS)" \
453 "LIBCFLAGS=$(LIBCFLAGS)" \
454 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
455 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
456 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
457 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
458 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
459 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
460 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
461 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
462 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
463 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
464 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
465 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
466 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
467 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
468 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
469 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
470 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
471 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
472 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
473 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
474 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
475 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
476 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
477 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
478 "LEAN=$(LEAN)" \
479 "CONFIG_SHELL=$(SHELL)" \
480 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
482 # We leave this in just in case, but it is not needed anymore.
483 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
485 # Flags to pass down to most sub-makes, in which we're building with
486 # the host environment.
487 EXTRA_HOST_FLAGS = \
488 'AR=$(AR)' \
489 'AS=$(AS)' \
490 'CC=$(CC)' \
491 'CXX=$(CXX)' \
492 'DLLTOOL=$(DLLTOOL)' \
493 'LD=$(LD)' \
494 'LIPO=$(LIPO)' \
495 'NM=$(NM)' \
496 'OBJDUMP=$(OBJDUMP)' \
497 'RANLIB=$(RANLIB)' \
498 'STRIP=$(STRIP)' \
499 'WINDRES=$(WINDRES)'
501 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
503 # Flags that are concerned with the location of the X11 include files
504 # and library files
506 # NOTE: until the top-level is getting the values via autoconf, it only
507 # causes problems to have this top-level Makefile overriding the autoconf-set
508 # values in child directories. Only variables that don't conflict with
509 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
511 X11_FLAGS_TO_PASS = \
512 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
513 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
515 # Flags to pass down to makes which are built with the target environment.
516 # The double $ decreases the length of the command line; those variables
517 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
518 # COMPILER_ prefixed variables are not passed down so we expand them here.
519 EXTRA_TARGET_FLAGS = \
520 'AR=$$(AR_FOR_TARGET)' \
521 'AS=$(COMPILER_AS_FOR_TARGET)' \
522 'CC=$$(CC_FOR_TARGET)' \
523 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
524 'CXX=$$(CXX_FOR_TARGET)' \
525 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
526 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
527 'LD=$(COMPILER_LD_FOR_TARGET)' \
528 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
529 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
530 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
531 'NM=$(COMPILER_NM_FOR_TARGET)' \
532 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
533 'RANLIB=$$(RANLIB_FOR_TARGET)' \
534 'WINDRES=$$(WINDRES_FOR_TARGET)'
536 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
538 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
539 # unfortunately needs the native compiler and the target ar and
540 # ranlib.
541 # If any variables are added here, they must be added to do-*, below.
542 # The BUILD_* variables are a special case, which are used for the gcc
543 # cross-building scheme.
544 EXTRA_GCC_FLAGS = \
545 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
546 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
547 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
549 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
550 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | 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
668 all-build: maybe-all-build-libiberty
669 all-build: maybe-all-build-bison
670 all-build: maybe-all-build-byacc
671 all-build: maybe-all-build-flex
672 all-build: maybe-all-build-m4
673 all-build: maybe-all-build-texinfo
674 all-build: maybe-all-build-fixincludes
676 .PHONY: all-host
678 all-host: maybe-all-ash
679 all-host: maybe-all-autoconf
680 all-host: maybe-all-automake
681 all-host: maybe-all-bash
682 @if bfd-no-bootstrap
683 all-host: maybe-all-bfd
684 @endif bfd-no-bootstrap
685 @if opcodes-no-bootstrap
686 all-host: maybe-all-opcodes
687 @endif opcodes-no-bootstrap
688 @if binutils-no-bootstrap
689 all-host: maybe-all-binutils
690 @endif binutils-no-bootstrap
691 all-host: maybe-all-bison
692 all-host: maybe-all-byacc
693 all-host: maybe-all-bzip2
694 all-host: maybe-all-dejagnu
695 all-host: maybe-all-diff
696 all-host: maybe-all-dosutils
697 all-host: maybe-all-etc
698 all-host: maybe-all-fastjar
699 all-host: maybe-all-fileutils
700 all-host: maybe-all-findutils
701 all-host: maybe-all-find
702 all-host: maybe-all-fixincludes
703 all-host: maybe-all-flex
704 @if gas-no-bootstrap
705 all-host: maybe-all-gas
706 @endif gas-no-bootstrap
707 @if gcc-no-bootstrap
708 all-host: maybe-all-gcc
709 @endif gcc-no-bootstrap
710 all-host: maybe-all-gawk
711 all-host: maybe-all-gettext
712 all-host: maybe-all-gnuserv
713 all-host: maybe-all-gprof
714 all-host: maybe-all-gzip
715 all-host: maybe-all-hello
716 all-host: maybe-all-indent
717 @if intl-no-bootstrap
718 all-host: maybe-all-intl
719 @endif intl-no-bootstrap
720 all-host: maybe-all-tcl
721 all-host: maybe-all-itcl
722 @if ld-no-bootstrap
723 all-host: maybe-all-ld
724 @endif ld-no-bootstrap
725 @if libcpp-no-bootstrap
726 all-host: maybe-all-libcpp
727 @endif libcpp-no-bootstrap
728 @if libdecnumber-no-bootstrap
729 all-host: maybe-all-libdecnumber
730 @endif libdecnumber-no-bootstrap
731 all-host: maybe-all-libgui
732 @if libiberty-no-bootstrap
733 all-host: maybe-all-libiberty
734 @endif libiberty-no-bootstrap
735 all-host: maybe-all-libtool
736 all-host: maybe-all-m4
737 all-host: maybe-all-make
738 all-host: maybe-all-mmalloc
739 all-host: maybe-all-patch
740 all-host: maybe-all-perl
741 all-host: maybe-all-prms
742 all-host: maybe-all-rcs
743 all-host: maybe-all-readline
744 all-host: maybe-all-release
745 all-host: maybe-all-recode
746 all-host: maybe-all-sed
747 all-host: maybe-all-send-pr
748 all-host: maybe-all-shellutils
749 all-host: maybe-all-sid
750 all-host: maybe-all-sim
751 all-host: maybe-all-tar
752 all-host: maybe-all-texinfo
753 all-host: maybe-all-textutils
754 all-host: maybe-all-time
755 all-host: maybe-all-uudecode
756 all-host: maybe-all-wdiff
757 all-host: maybe-all-zip
758 @if zlib-no-bootstrap
759 all-host: maybe-all-zlib
760 @endif zlib-no-bootstrap
761 all-host: maybe-all-gdb
762 all-host: maybe-all-expect
763 all-host: maybe-all-guile
764 all-host: maybe-all-tk
765 all-host: maybe-all-libtermcap
766 all-host: maybe-all-utils
767 all-host: maybe-all-gnattools
769 .PHONY: all-target
771 all-target: maybe-all-target-libstdc++-v3
772 all-target: maybe-all-target-libmudflap
773 all-target: maybe-all-target-libssp
774 all-target: maybe-all-target-libgcc-math
775 all-target: maybe-all-target-newlib
776 all-target: maybe-all-target-libgfortran
777 all-target: maybe-all-target-libobjc
778 all-target: maybe-all-target-libtermcap
779 all-target: maybe-all-target-winsup
780 all-target: maybe-all-target-libgloss
781 all-target: maybe-all-target-libiberty
782 all-target: maybe-all-target-gperf
783 all-target: maybe-all-target-examples
784 all-target: maybe-all-target-libffi
785 all-target: maybe-all-target-libjava
786 all-target: maybe-all-target-zlib
787 all-target: maybe-all-target-boehm-gc
788 all-target: maybe-all-target-qthreads
789 all-target: maybe-all-target-rda
790 all-target: maybe-all-target-libada
791 all-target: maybe-all-target-libgomp
793 # Do a target for all the subdirectories. A ``make do-X'' will do a
794 # ``make X'' in all subdirectories (because, in general, there is a
795 # dependency (below) of X upon do-X, a ``make X'' will also do this,
796 # but it may do additional work as well).
798 .PHONY: do-info
799 do-info:
800 @: $(MAKE); $(unstage)
801 @r=`${PWD_COMMAND}`; export r; \
802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
803 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
804 info-target
807 .PHONY: info-host
809 info-host: maybe-info-ash
810 info-host: maybe-info-autoconf
811 info-host: maybe-info-automake
812 info-host: maybe-info-bash
813 info-host: maybe-info-bfd
814 info-host: maybe-info-opcodes
815 info-host: maybe-info-binutils
816 info-host: maybe-info-bison
817 info-host: maybe-info-byacc
818 info-host: maybe-info-bzip2
819 info-host: maybe-info-dejagnu
820 info-host: maybe-info-diff
821 info-host: maybe-info-dosutils
822 info-host: maybe-info-etc
823 info-host: maybe-info-fastjar
824 info-host: maybe-info-fileutils
825 info-host: maybe-info-findutils
826 info-host: maybe-info-find
827 info-host: maybe-info-fixincludes
828 info-host: maybe-info-flex
829 info-host: maybe-info-gas
830 info-host: maybe-info-gcc
831 info-host: maybe-info-gawk
832 info-host: maybe-info-gettext
833 info-host: maybe-info-gnuserv
834 info-host: maybe-info-gprof
835 info-host: maybe-info-gzip
836 info-host: maybe-info-hello
837 info-host: maybe-info-indent
838 info-host: maybe-info-intl
839 info-host: maybe-info-tcl
840 info-host: maybe-info-itcl
841 info-host: maybe-info-ld
842 info-host: maybe-info-libcpp
843 info-host: maybe-info-libdecnumber
844 info-host: maybe-info-libgui
845 info-host: maybe-info-libiberty
846 info-host: maybe-info-libtool
847 info-host: maybe-info-m4
848 info-host: maybe-info-make
849 info-host: maybe-info-mmalloc
850 info-host: maybe-info-patch
851 info-host: maybe-info-perl
852 info-host: maybe-info-prms
853 info-host: maybe-info-rcs
854 info-host: maybe-info-readline
855 info-host: maybe-info-release
856 info-host: maybe-info-recode
857 info-host: maybe-info-sed
858 info-host: maybe-info-send-pr
859 info-host: maybe-info-shellutils
860 info-host: maybe-info-sid
861 info-host: maybe-info-sim
862 info-host: maybe-info-tar
863 info-host: maybe-info-texinfo
864 info-host: maybe-info-textutils
865 info-host: maybe-info-time
866 info-host: maybe-info-uudecode
867 info-host: maybe-info-wdiff
868 info-host: maybe-info-zip
869 info-host: maybe-info-zlib
870 info-host: maybe-info-gdb
871 info-host: maybe-info-expect
872 info-host: maybe-info-guile
873 info-host: maybe-info-tk
874 info-host: maybe-info-libtermcap
875 info-host: maybe-info-utils
876 info-host: maybe-info-gnattools
878 .PHONY: info-target
880 info-target: maybe-info-target-libstdc++-v3
881 info-target: maybe-info-target-libmudflap
882 info-target: maybe-info-target-libssp
883 info-target: maybe-info-target-libgcc-math
884 info-target: maybe-info-target-newlib
885 info-target: maybe-info-target-libgfortran
886 info-target: maybe-info-target-libobjc
887 info-target: maybe-info-target-libtermcap
888 info-target: maybe-info-target-winsup
889 info-target: maybe-info-target-libgloss
890 info-target: maybe-info-target-libiberty
891 info-target: maybe-info-target-gperf
892 info-target: maybe-info-target-examples
893 info-target: maybe-info-target-libffi
894 info-target: maybe-info-target-libjava
895 info-target: maybe-info-target-zlib
896 info-target: maybe-info-target-boehm-gc
897 info-target: maybe-info-target-qthreads
898 info-target: maybe-info-target-rda
899 info-target: maybe-info-target-libada
900 info-target: maybe-info-target-libgomp
902 .PHONY: do-dvi
903 do-dvi:
904 @: $(MAKE); $(unstage)
905 @r=`${PWD_COMMAND}`; export r; \
906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
907 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
908 dvi-target
911 .PHONY: dvi-host
913 dvi-host: maybe-dvi-ash
914 dvi-host: maybe-dvi-autoconf
915 dvi-host: maybe-dvi-automake
916 dvi-host: maybe-dvi-bash
917 dvi-host: maybe-dvi-bfd
918 dvi-host: maybe-dvi-opcodes
919 dvi-host: maybe-dvi-binutils
920 dvi-host: maybe-dvi-bison
921 dvi-host: maybe-dvi-byacc
922 dvi-host: maybe-dvi-bzip2
923 dvi-host: maybe-dvi-dejagnu
924 dvi-host: maybe-dvi-diff
925 dvi-host: maybe-dvi-dosutils
926 dvi-host: maybe-dvi-etc
927 dvi-host: maybe-dvi-fastjar
928 dvi-host: maybe-dvi-fileutils
929 dvi-host: maybe-dvi-findutils
930 dvi-host: maybe-dvi-find
931 dvi-host: maybe-dvi-fixincludes
932 dvi-host: maybe-dvi-flex
933 dvi-host: maybe-dvi-gas
934 dvi-host: maybe-dvi-gcc
935 dvi-host: maybe-dvi-gawk
936 dvi-host: maybe-dvi-gettext
937 dvi-host: maybe-dvi-gnuserv
938 dvi-host: maybe-dvi-gprof
939 dvi-host: maybe-dvi-gzip
940 dvi-host: maybe-dvi-hello
941 dvi-host: maybe-dvi-indent
942 dvi-host: maybe-dvi-intl
943 dvi-host: maybe-dvi-tcl
944 dvi-host: maybe-dvi-itcl
945 dvi-host: maybe-dvi-ld
946 dvi-host: maybe-dvi-libcpp
947 dvi-host: maybe-dvi-libdecnumber
948 dvi-host: maybe-dvi-libgui
949 dvi-host: maybe-dvi-libiberty
950 dvi-host: maybe-dvi-libtool
951 dvi-host: maybe-dvi-m4
952 dvi-host: maybe-dvi-make
953 dvi-host: maybe-dvi-mmalloc
954 dvi-host: maybe-dvi-patch
955 dvi-host: maybe-dvi-perl
956 dvi-host: maybe-dvi-prms
957 dvi-host: maybe-dvi-rcs
958 dvi-host: maybe-dvi-readline
959 dvi-host: maybe-dvi-release
960 dvi-host: maybe-dvi-recode
961 dvi-host: maybe-dvi-sed
962 dvi-host: maybe-dvi-send-pr
963 dvi-host: maybe-dvi-shellutils
964 dvi-host: maybe-dvi-sid
965 dvi-host: maybe-dvi-sim
966 dvi-host: maybe-dvi-tar
967 dvi-host: maybe-dvi-texinfo
968 dvi-host: maybe-dvi-textutils
969 dvi-host: maybe-dvi-time
970 dvi-host: maybe-dvi-uudecode
971 dvi-host: maybe-dvi-wdiff
972 dvi-host: maybe-dvi-zip
973 dvi-host: maybe-dvi-zlib
974 dvi-host: maybe-dvi-gdb
975 dvi-host: maybe-dvi-expect
976 dvi-host: maybe-dvi-guile
977 dvi-host: maybe-dvi-tk
978 dvi-host: maybe-dvi-libtermcap
979 dvi-host: maybe-dvi-utils
980 dvi-host: maybe-dvi-gnattools
982 .PHONY: dvi-target
984 dvi-target: maybe-dvi-target-libstdc++-v3
985 dvi-target: maybe-dvi-target-libmudflap
986 dvi-target: maybe-dvi-target-libssp
987 dvi-target: maybe-dvi-target-libgcc-math
988 dvi-target: maybe-dvi-target-newlib
989 dvi-target: maybe-dvi-target-libgfortran
990 dvi-target: maybe-dvi-target-libobjc
991 dvi-target: maybe-dvi-target-libtermcap
992 dvi-target: maybe-dvi-target-winsup
993 dvi-target: maybe-dvi-target-libgloss
994 dvi-target: maybe-dvi-target-libiberty
995 dvi-target: maybe-dvi-target-gperf
996 dvi-target: maybe-dvi-target-examples
997 dvi-target: maybe-dvi-target-libffi
998 dvi-target: maybe-dvi-target-libjava
999 dvi-target: maybe-dvi-target-zlib
1000 dvi-target: maybe-dvi-target-boehm-gc
1001 dvi-target: maybe-dvi-target-qthreads
1002 dvi-target: maybe-dvi-target-rda
1003 dvi-target: maybe-dvi-target-libada
1004 dvi-target: maybe-dvi-target-libgomp
1006 .PHONY: do-html
1007 do-html:
1008 @: $(MAKE); $(unstage)
1009 @r=`${PWD_COMMAND}`; export r; \
1010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1011 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1012 html-target
1015 .PHONY: html-host
1017 html-host: maybe-html-ash
1018 html-host: maybe-html-autoconf
1019 html-host: maybe-html-automake
1020 html-host: maybe-html-bash
1021 html-host: maybe-html-bfd
1022 html-host: maybe-html-opcodes
1023 html-host: maybe-html-binutils
1024 html-host: maybe-html-bison
1025 html-host: maybe-html-byacc
1026 html-host: maybe-html-bzip2
1027 html-host: maybe-html-dejagnu
1028 html-host: maybe-html-diff
1029 html-host: maybe-html-dosutils
1030 html-host: maybe-html-etc
1031 html-host: maybe-html-fastjar
1032 html-host: maybe-html-fileutils
1033 html-host: maybe-html-findutils
1034 html-host: maybe-html-find
1035 html-host: maybe-html-fixincludes
1036 html-host: maybe-html-flex
1037 html-host: maybe-html-gas
1038 html-host: maybe-html-gcc
1039 html-host: maybe-html-gawk
1040 html-host: maybe-html-gettext
1041 html-host: maybe-html-gnuserv
1042 html-host: maybe-html-gprof
1043 html-host: maybe-html-gzip
1044 html-host: maybe-html-hello
1045 html-host: maybe-html-indent
1046 html-host: maybe-html-intl
1047 html-host: maybe-html-tcl
1048 html-host: maybe-html-itcl
1049 html-host: maybe-html-ld
1050 html-host: maybe-html-libcpp
1051 html-host: maybe-html-libdecnumber
1052 html-host: maybe-html-libgui
1053 html-host: maybe-html-libiberty
1054 html-host: maybe-html-libtool
1055 html-host: maybe-html-m4
1056 html-host: maybe-html-make
1057 html-host: maybe-html-mmalloc
1058 html-host: maybe-html-patch
1059 html-host: maybe-html-perl
1060 html-host: maybe-html-prms
1061 html-host: maybe-html-rcs
1062 html-host: maybe-html-readline
1063 html-host: maybe-html-release
1064 html-host: maybe-html-recode
1065 html-host: maybe-html-sed
1066 html-host: maybe-html-send-pr
1067 html-host: maybe-html-shellutils
1068 html-host: maybe-html-sid
1069 html-host: maybe-html-sim
1070 html-host: maybe-html-tar
1071 html-host: maybe-html-texinfo
1072 html-host: maybe-html-textutils
1073 html-host: maybe-html-time
1074 html-host: maybe-html-uudecode
1075 html-host: maybe-html-wdiff
1076 html-host: maybe-html-zip
1077 html-host: maybe-html-zlib
1078 html-host: maybe-html-gdb
1079 html-host: maybe-html-expect
1080 html-host: maybe-html-guile
1081 html-host: maybe-html-tk
1082 html-host: maybe-html-libtermcap
1083 html-host: maybe-html-utils
1084 html-host: maybe-html-gnattools
1086 .PHONY: html-target
1088 html-target: maybe-html-target-libstdc++-v3
1089 html-target: maybe-html-target-libmudflap
1090 html-target: maybe-html-target-libssp
1091 html-target: maybe-html-target-libgcc-math
1092 html-target: maybe-html-target-newlib
1093 html-target: maybe-html-target-libgfortran
1094 html-target: maybe-html-target-libobjc
1095 html-target: maybe-html-target-libtermcap
1096 html-target: maybe-html-target-winsup
1097 html-target: maybe-html-target-libgloss
1098 html-target: maybe-html-target-libiberty
1099 html-target: maybe-html-target-gperf
1100 html-target: maybe-html-target-examples
1101 html-target: maybe-html-target-libffi
1102 html-target: maybe-html-target-libjava
1103 html-target: maybe-html-target-zlib
1104 html-target: maybe-html-target-boehm-gc
1105 html-target: maybe-html-target-qthreads
1106 html-target: maybe-html-target-rda
1107 html-target: maybe-html-target-libada
1108 html-target: maybe-html-target-libgomp
1110 .PHONY: do-TAGS
1111 do-TAGS:
1112 @: $(MAKE); $(unstage)
1113 @r=`${PWD_COMMAND}`; export r; \
1114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1116 TAGS-target
1119 .PHONY: TAGS-host
1121 TAGS-host: maybe-TAGS-ash
1122 TAGS-host: maybe-TAGS-autoconf
1123 TAGS-host: maybe-TAGS-automake
1124 TAGS-host: maybe-TAGS-bash
1125 TAGS-host: maybe-TAGS-bfd
1126 TAGS-host: maybe-TAGS-opcodes
1127 TAGS-host: maybe-TAGS-binutils
1128 TAGS-host: maybe-TAGS-bison
1129 TAGS-host: maybe-TAGS-byacc
1130 TAGS-host: maybe-TAGS-bzip2
1131 TAGS-host: maybe-TAGS-dejagnu
1132 TAGS-host: maybe-TAGS-diff
1133 TAGS-host: maybe-TAGS-dosutils
1134 TAGS-host: maybe-TAGS-etc
1135 TAGS-host: maybe-TAGS-fastjar
1136 TAGS-host: maybe-TAGS-fileutils
1137 TAGS-host: maybe-TAGS-findutils
1138 TAGS-host: maybe-TAGS-find
1139 TAGS-host: maybe-TAGS-fixincludes
1140 TAGS-host: maybe-TAGS-flex
1141 TAGS-host: maybe-TAGS-gas
1142 TAGS-host: maybe-TAGS-gcc
1143 TAGS-host: maybe-TAGS-gawk
1144 TAGS-host: maybe-TAGS-gettext
1145 TAGS-host: maybe-TAGS-gnuserv
1146 TAGS-host: maybe-TAGS-gprof
1147 TAGS-host: maybe-TAGS-gzip
1148 TAGS-host: maybe-TAGS-hello
1149 TAGS-host: maybe-TAGS-indent
1150 TAGS-host: maybe-TAGS-intl
1151 TAGS-host: maybe-TAGS-tcl
1152 TAGS-host: maybe-TAGS-itcl
1153 TAGS-host: maybe-TAGS-ld
1154 TAGS-host: maybe-TAGS-libcpp
1155 TAGS-host: maybe-TAGS-libdecnumber
1156 TAGS-host: maybe-TAGS-libgui
1157 TAGS-host: maybe-TAGS-libiberty
1158 TAGS-host: maybe-TAGS-libtool
1159 TAGS-host: maybe-TAGS-m4
1160 TAGS-host: maybe-TAGS-make
1161 TAGS-host: maybe-TAGS-mmalloc
1162 TAGS-host: maybe-TAGS-patch
1163 TAGS-host: maybe-TAGS-perl
1164 TAGS-host: maybe-TAGS-prms
1165 TAGS-host: maybe-TAGS-rcs
1166 TAGS-host: maybe-TAGS-readline
1167 TAGS-host: maybe-TAGS-release
1168 TAGS-host: maybe-TAGS-recode
1169 TAGS-host: maybe-TAGS-sed
1170 TAGS-host: maybe-TAGS-send-pr
1171 TAGS-host: maybe-TAGS-shellutils
1172 TAGS-host: maybe-TAGS-sid
1173 TAGS-host: maybe-TAGS-sim
1174 TAGS-host: maybe-TAGS-tar
1175 TAGS-host: maybe-TAGS-texinfo
1176 TAGS-host: maybe-TAGS-textutils
1177 TAGS-host: maybe-TAGS-time
1178 TAGS-host: maybe-TAGS-uudecode
1179 TAGS-host: maybe-TAGS-wdiff
1180 TAGS-host: maybe-TAGS-zip
1181 TAGS-host: maybe-TAGS-zlib
1182 TAGS-host: maybe-TAGS-gdb
1183 TAGS-host: maybe-TAGS-expect
1184 TAGS-host: maybe-TAGS-guile
1185 TAGS-host: maybe-TAGS-tk
1186 TAGS-host: maybe-TAGS-libtermcap
1187 TAGS-host: maybe-TAGS-utils
1188 TAGS-host: maybe-TAGS-gnattools
1190 .PHONY: TAGS-target
1192 TAGS-target: maybe-TAGS-target-libstdc++-v3
1193 TAGS-target: maybe-TAGS-target-libmudflap
1194 TAGS-target: maybe-TAGS-target-libssp
1195 TAGS-target: maybe-TAGS-target-libgcc-math
1196 TAGS-target: maybe-TAGS-target-newlib
1197 TAGS-target: maybe-TAGS-target-libgfortran
1198 TAGS-target: maybe-TAGS-target-libobjc
1199 TAGS-target: maybe-TAGS-target-libtermcap
1200 TAGS-target: maybe-TAGS-target-winsup
1201 TAGS-target: maybe-TAGS-target-libgloss
1202 TAGS-target: maybe-TAGS-target-libiberty
1203 TAGS-target: maybe-TAGS-target-gperf
1204 TAGS-target: maybe-TAGS-target-examples
1205 TAGS-target: maybe-TAGS-target-libffi
1206 TAGS-target: maybe-TAGS-target-libjava
1207 TAGS-target: maybe-TAGS-target-zlib
1208 TAGS-target: maybe-TAGS-target-boehm-gc
1209 TAGS-target: maybe-TAGS-target-qthreads
1210 TAGS-target: maybe-TAGS-target-rda
1211 TAGS-target: maybe-TAGS-target-libada
1212 TAGS-target: maybe-TAGS-target-libgomp
1214 .PHONY: do-install-info
1215 do-install-info:
1216 @: $(MAKE); $(unstage)
1217 @r=`${PWD_COMMAND}`; export r; \
1218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1219 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1220 install-info-target
1223 .PHONY: install-info-host
1225 install-info-host: maybe-install-info-ash
1226 install-info-host: maybe-install-info-autoconf
1227 install-info-host: maybe-install-info-automake
1228 install-info-host: maybe-install-info-bash
1229 install-info-host: maybe-install-info-bfd
1230 install-info-host: maybe-install-info-opcodes
1231 install-info-host: maybe-install-info-binutils
1232 install-info-host: maybe-install-info-bison
1233 install-info-host: maybe-install-info-byacc
1234 install-info-host: maybe-install-info-bzip2
1235 install-info-host: maybe-install-info-dejagnu
1236 install-info-host: maybe-install-info-diff
1237 install-info-host: maybe-install-info-dosutils
1238 install-info-host: maybe-install-info-etc
1239 install-info-host: maybe-install-info-fastjar
1240 install-info-host: maybe-install-info-fileutils
1241 install-info-host: maybe-install-info-findutils
1242 install-info-host: maybe-install-info-find
1243 install-info-host: maybe-install-info-fixincludes
1244 install-info-host: maybe-install-info-flex
1245 install-info-host: maybe-install-info-gas
1246 install-info-host: maybe-install-info-gcc
1247 install-info-host: maybe-install-info-gawk
1248 install-info-host: maybe-install-info-gettext
1249 install-info-host: maybe-install-info-gnuserv
1250 install-info-host: maybe-install-info-gprof
1251 install-info-host: maybe-install-info-gzip
1252 install-info-host: maybe-install-info-hello
1253 install-info-host: maybe-install-info-indent
1254 install-info-host: maybe-install-info-intl
1255 install-info-host: maybe-install-info-tcl
1256 install-info-host: maybe-install-info-itcl
1257 install-info-host: maybe-install-info-ld
1258 install-info-host: maybe-install-info-libcpp
1259 install-info-host: maybe-install-info-libdecnumber
1260 install-info-host: maybe-install-info-libgui
1261 install-info-host: maybe-install-info-libiberty
1262 install-info-host: maybe-install-info-libtool
1263 install-info-host: maybe-install-info-m4
1264 install-info-host: maybe-install-info-make
1265 install-info-host: maybe-install-info-mmalloc
1266 install-info-host: maybe-install-info-patch
1267 install-info-host: maybe-install-info-perl
1268 install-info-host: maybe-install-info-prms
1269 install-info-host: maybe-install-info-rcs
1270 install-info-host: maybe-install-info-readline
1271 install-info-host: maybe-install-info-release
1272 install-info-host: maybe-install-info-recode
1273 install-info-host: maybe-install-info-sed
1274 install-info-host: maybe-install-info-send-pr
1275 install-info-host: maybe-install-info-shellutils
1276 install-info-host: maybe-install-info-sid
1277 install-info-host: maybe-install-info-sim
1278 install-info-host: maybe-install-info-tar
1279 install-info-host: maybe-install-info-texinfo
1280 install-info-host: maybe-install-info-textutils
1281 install-info-host: maybe-install-info-time
1282 install-info-host: maybe-install-info-uudecode
1283 install-info-host: maybe-install-info-wdiff
1284 install-info-host: maybe-install-info-zip
1285 install-info-host: maybe-install-info-zlib
1286 install-info-host: maybe-install-info-gdb
1287 install-info-host: maybe-install-info-expect
1288 install-info-host: maybe-install-info-guile
1289 install-info-host: maybe-install-info-tk
1290 install-info-host: maybe-install-info-libtermcap
1291 install-info-host: maybe-install-info-utils
1292 install-info-host: maybe-install-info-gnattools
1294 .PHONY: install-info-target
1296 install-info-target: maybe-install-info-target-libstdc++-v3
1297 install-info-target: maybe-install-info-target-libmudflap
1298 install-info-target: maybe-install-info-target-libssp
1299 install-info-target: maybe-install-info-target-libgcc-math
1300 install-info-target: maybe-install-info-target-newlib
1301 install-info-target: maybe-install-info-target-libgfortran
1302 install-info-target: maybe-install-info-target-libobjc
1303 install-info-target: maybe-install-info-target-libtermcap
1304 install-info-target: maybe-install-info-target-winsup
1305 install-info-target: maybe-install-info-target-libgloss
1306 install-info-target: maybe-install-info-target-libiberty
1307 install-info-target: maybe-install-info-target-gperf
1308 install-info-target: maybe-install-info-target-examples
1309 install-info-target: maybe-install-info-target-libffi
1310 install-info-target: maybe-install-info-target-libjava
1311 install-info-target: maybe-install-info-target-zlib
1312 install-info-target: maybe-install-info-target-boehm-gc
1313 install-info-target: maybe-install-info-target-qthreads
1314 install-info-target: maybe-install-info-target-rda
1315 install-info-target: maybe-install-info-target-libada
1316 install-info-target: maybe-install-info-target-libgomp
1318 .PHONY: do-install-html
1319 do-install-html:
1320 @: $(MAKE); $(unstage)
1321 @r=`${PWD_COMMAND}`; export r; \
1322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1323 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1324 install-html-target
1327 .PHONY: install-html-host
1329 install-html-host: maybe-install-html-ash
1330 install-html-host: maybe-install-html-autoconf
1331 install-html-host: maybe-install-html-automake
1332 install-html-host: maybe-install-html-bash
1333 install-html-host: maybe-install-html-bfd
1334 install-html-host: maybe-install-html-opcodes
1335 install-html-host: maybe-install-html-binutils
1336 install-html-host: maybe-install-html-bison
1337 install-html-host: maybe-install-html-byacc
1338 install-html-host: maybe-install-html-bzip2
1339 install-html-host: maybe-install-html-dejagnu
1340 install-html-host: maybe-install-html-diff
1341 install-html-host: maybe-install-html-dosutils
1342 install-html-host: maybe-install-html-etc
1343 install-html-host: maybe-install-html-fastjar
1344 install-html-host: maybe-install-html-fileutils
1345 install-html-host: maybe-install-html-findutils
1346 install-html-host: maybe-install-html-find
1347 install-html-host: maybe-install-html-fixincludes
1348 install-html-host: maybe-install-html-flex
1349 install-html-host: maybe-install-html-gas
1350 install-html-host: maybe-install-html-gcc
1351 install-html-host: maybe-install-html-gawk
1352 install-html-host: maybe-install-html-gettext
1353 install-html-host: maybe-install-html-gnuserv
1354 install-html-host: maybe-install-html-gprof
1355 install-html-host: maybe-install-html-gzip
1356 install-html-host: maybe-install-html-hello
1357 install-html-host: maybe-install-html-indent
1358 install-html-host: maybe-install-html-intl
1359 install-html-host: maybe-install-html-tcl
1360 install-html-host: maybe-install-html-itcl
1361 install-html-host: maybe-install-html-ld
1362 install-html-host: maybe-install-html-libcpp
1363 install-html-host: maybe-install-html-libdecnumber
1364 install-html-host: maybe-install-html-libgui
1365 install-html-host: maybe-install-html-libiberty
1366 install-html-host: maybe-install-html-libtool
1367 install-html-host: maybe-install-html-m4
1368 install-html-host: maybe-install-html-make
1369 install-html-host: maybe-install-html-mmalloc
1370 install-html-host: maybe-install-html-patch
1371 install-html-host: maybe-install-html-perl
1372 install-html-host: maybe-install-html-prms
1373 install-html-host: maybe-install-html-rcs
1374 install-html-host: maybe-install-html-readline
1375 install-html-host: maybe-install-html-release
1376 install-html-host: maybe-install-html-recode
1377 install-html-host: maybe-install-html-sed
1378 install-html-host: maybe-install-html-send-pr
1379 install-html-host: maybe-install-html-shellutils
1380 install-html-host: maybe-install-html-sid
1381 install-html-host: maybe-install-html-sim
1382 install-html-host: maybe-install-html-tar
1383 install-html-host: maybe-install-html-texinfo
1384 install-html-host: maybe-install-html-textutils
1385 install-html-host: maybe-install-html-time
1386 install-html-host: maybe-install-html-uudecode
1387 install-html-host: maybe-install-html-wdiff
1388 install-html-host: maybe-install-html-zip
1389 install-html-host: maybe-install-html-zlib
1390 install-html-host: maybe-install-html-gdb
1391 install-html-host: maybe-install-html-expect
1392 install-html-host: maybe-install-html-guile
1393 install-html-host: maybe-install-html-tk
1394 install-html-host: maybe-install-html-libtermcap
1395 install-html-host: maybe-install-html-utils
1396 install-html-host: maybe-install-html-gnattools
1398 .PHONY: install-html-target
1400 install-html-target: maybe-install-html-target-libstdc++-v3
1401 install-html-target: maybe-install-html-target-libmudflap
1402 install-html-target: maybe-install-html-target-libssp
1403 install-html-target: maybe-install-html-target-libgcc-math
1404 install-html-target: maybe-install-html-target-newlib
1405 install-html-target: maybe-install-html-target-libgfortran
1406 install-html-target: maybe-install-html-target-libobjc
1407 install-html-target: maybe-install-html-target-libtermcap
1408 install-html-target: maybe-install-html-target-winsup
1409 install-html-target: maybe-install-html-target-libgloss
1410 install-html-target: maybe-install-html-target-libiberty
1411 install-html-target: maybe-install-html-target-gperf
1412 install-html-target: maybe-install-html-target-examples
1413 install-html-target: maybe-install-html-target-libffi
1414 install-html-target: maybe-install-html-target-libjava
1415 install-html-target: maybe-install-html-target-zlib
1416 install-html-target: maybe-install-html-target-boehm-gc
1417 install-html-target: maybe-install-html-target-qthreads
1418 install-html-target: maybe-install-html-target-rda
1419 install-html-target: maybe-install-html-target-libada
1420 install-html-target: maybe-install-html-target-libgomp
1422 .PHONY: do-installcheck
1423 do-installcheck:
1424 @: $(MAKE); $(unstage)
1425 @r=`${PWD_COMMAND}`; export r; \
1426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1427 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1428 installcheck-target
1431 .PHONY: installcheck-host
1433 installcheck-host: maybe-installcheck-ash
1434 installcheck-host: maybe-installcheck-autoconf
1435 installcheck-host: maybe-installcheck-automake
1436 installcheck-host: maybe-installcheck-bash
1437 installcheck-host: maybe-installcheck-bfd
1438 installcheck-host: maybe-installcheck-opcodes
1439 installcheck-host: maybe-installcheck-binutils
1440 installcheck-host: maybe-installcheck-bison
1441 installcheck-host: maybe-installcheck-byacc
1442 installcheck-host: maybe-installcheck-bzip2
1443 installcheck-host: maybe-installcheck-dejagnu
1444 installcheck-host: maybe-installcheck-diff
1445 installcheck-host: maybe-installcheck-dosutils
1446 installcheck-host: maybe-installcheck-etc
1447 installcheck-host: maybe-installcheck-fastjar
1448 installcheck-host: maybe-installcheck-fileutils
1449 installcheck-host: maybe-installcheck-findutils
1450 installcheck-host: maybe-installcheck-find
1451 installcheck-host: maybe-installcheck-fixincludes
1452 installcheck-host: maybe-installcheck-flex
1453 installcheck-host: maybe-installcheck-gas
1454 installcheck-host: maybe-installcheck-gcc
1455 installcheck-host: maybe-installcheck-gawk
1456 installcheck-host: maybe-installcheck-gettext
1457 installcheck-host: maybe-installcheck-gnuserv
1458 installcheck-host: maybe-installcheck-gprof
1459 installcheck-host: maybe-installcheck-gzip
1460 installcheck-host: maybe-installcheck-hello
1461 installcheck-host: maybe-installcheck-indent
1462 installcheck-host: maybe-installcheck-intl
1463 installcheck-host: maybe-installcheck-tcl
1464 installcheck-host: maybe-installcheck-itcl
1465 installcheck-host: maybe-installcheck-ld
1466 installcheck-host: maybe-installcheck-libcpp
1467 installcheck-host: maybe-installcheck-libdecnumber
1468 installcheck-host: maybe-installcheck-libgui
1469 installcheck-host: maybe-installcheck-libiberty
1470 installcheck-host: maybe-installcheck-libtool
1471 installcheck-host: maybe-installcheck-m4
1472 installcheck-host: maybe-installcheck-make
1473 installcheck-host: maybe-installcheck-mmalloc
1474 installcheck-host: maybe-installcheck-patch
1475 installcheck-host: maybe-installcheck-perl
1476 installcheck-host: maybe-installcheck-prms
1477 installcheck-host: maybe-installcheck-rcs
1478 installcheck-host: maybe-installcheck-readline
1479 installcheck-host: maybe-installcheck-release
1480 installcheck-host: maybe-installcheck-recode
1481 installcheck-host: maybe-installcheck-sed
1482 installcheck-host: maybe-installcheck-send-pr
1483 installcheck-host: maybe-installcheck-shellutils
1484 installcheck-host: maybe-installcheck-sid
1485 installcheck-host: maybe-installcheck-sim
1486 installcheck-host: maybe-installcheck-tar
1487 installcheck-host: maybe-installcheck-texinfo
1488 installcheck-host: maybe-installcheck-textutils
1489 installcheck-host: maybe-installcheck-time
1490 installcheck-host: maybe-installcheck-uudecode
1491 installcheck-host: maybe-installcheck-wdiff
1492 installcheck-host: maybe-installcheck-zip
1493 installcheck-host: maybe-installcheck-zlib
1494 installcheck-host: maybe-installcheck-gdb
1495 installcheck-host: maybe-installcheck-expect
1496 installcheck-host: maybe-installcheck-guile
1497 installcheck-host: maybe-installcheck-tk
1498 installcheck-host: maybe-installcheck-libtermcap
1499 installcheck-host: maybe-installcheck-utils
1500 installcheck-host: maybe-installcheck-gnattools
1502 .PHONY: installcheck-target
1504 installcheck-target: maybe-installcheck-target-libstdc++-v3
1505 installcheck-target: maybe-installcheck-target-libmudflap
1506 installcheck-target: maybe-installcheck-target-libssp
1507 installcheck-target: maybe-installcheck-target-libgcc-math
1508 installcheck-target: maybe-installcheck-target-newlib
1509 installcheck-target: maybe-installcheck-target-libgfortran
1510 installcheck-target: maybe-installcheck-target-libobjc
1511 installcheck-target: maybe-installcheck-target-libtermcap
1512 installcheck-target: maybe-installcheck-target-winsup
1513 installcheck-target: maybe-installcheck-target-libgloss
1514 installcheck-target: maybe-installcheck-target-libiberty
1515 installcheck-target: maybe-installcheck-target-gperf
1516 installcheck-target: maybe-installcheck-target-examples
1517 installcheck-target: maybe-installcheck-target-libffi
1518 installcheck-target: maybe-installcheck-target-libjava
1519 installcheck-target: maybe-installcheck-target-zlib
1520 installcheck-target: maybe-installcheck-target-boehm-gc
1521 installcheck-target: maybe-installcheck-target-qthreads
1522 installcheck-target: maybe-installcheck-target-rda
1523 installcheck-target: maybe-installcheck-target-libada
1524 installcheck-target: maybe-installcheck-target-libgomp
1526 .PHONY: do-mostlyclean
1527 do-mostlyclean:
1528 @: $(MAKE); $(unstage)
1529 @r=`${PWD_COMMAND}`; export r; \
1530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1531 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1532 mostlyclean-target
1535 .PHONY: mostlyclean-host
1537 mostlyclean-host: maybe-mostlyclean-ash
1538 mostlyclean-host: maybe-mostlyclean-autoconf
1539 mostlyclean-host: maybe-mostlyclean-automake
1540 mostlyclean-host: maybe-mostlyclean-bash
1541 mostlyclean-host: maybe-mostlyclean-bfd
1542 mostlyclean-host: maybe-mostlyclean-opcodes
1543 mostlyclean-host: maybe-mostlyclean-binutils
1544 mostlyclean-host: maybe-mostlyclean-bison
1545 mostlyclean-host: maybe-mostlyclean-byacc
1546 mostlyclean-host: maybe-mostlyclean-bzip2
1547 mostlyclean-host: maybe-mostlyclean-dejagnu
1548 mostlyclean-host: maybe-mostlyclean-diff
1549 mostlyclean-host: maybe-mostlyclean-dosutils
1550 mostlyclean-host: maybe-mostlyclean-etc
1551 mostlyclean-host: maybe-mostlyclean-fastjar
1552 mostlyclean-host: maybe-mostlyclean-fileutils
1553 mostlyclean-host: maybe-mostlyclean-findutils
1554 mostlyclean-host: maybe-mostlyclean-find
1555 mostlyclean-host: maybe-mostlyclean-fixincludes
1556 mostlyclean-host: maybe-mostlyclean-flex
1557 mostlyclean-host: maybe-mostlyclean-gas
1558 mostlyclean-host: maybe-mostlyclean-gcc
1559 mostlyclean-host: maybe-mostlyclean-gawk
1560 mostlyclean-host: maybe-mostlyclean-gettext
1561 mostlyclean-host: maybe-mostlyclean-gnuserv
1562 mostlyclean-host: maybe-mostlyclean-gprof
1563 mostlyclean-host: maybe-mostlyclean-gzip
1564 mostlyclean-host: maybe-mostlyclean-hello
1565 mostlyclean-host: maybe-mostlyclean-indent
1566 mostlyclean-host: maybe-mostlyclean-intl
1567 mostlyclean-host: maybe-mostlyclean-tcl
1568 mostlyclean-host: maybe-mostlyclean-itcl
1569 mostlyclean-host: maybe-mostlyclean-ld
1570 mostlyclean-host: maybe-mostlyclean-libcpp
1571 mostlyclean-host: maybe-mostlyclean-libdecnumber
1572 mostlyclean-host: maybe-mostlyclean-libgui
1573 mostlyclean-host: maybe-mostlyclean-libiberty
1574 mostlyclean-host: maybe-mostlyclean-libtool
1575 mostlyclean-host: maybe-mostlyclean-m4
1576 mostlyclean-host: maybe-mostlyclean-make
1577 mostlyclean-host: maybe-mostlyclean-mmalloc
1578 mostlyclean-host: maybe-mostlyclean-patch
1579 mostlyclean-host: maybe-mostlyclean-perl
1580 mostlyclean-host: maybe-mostlyclean-prms
1581 mostlyclean-host: maybe-mostlyclean-rcs
1582 mostlyclean-host: maybe-mostlyclean-readline
1583 mostlyclean-host: maybe-mostlyclean-release
1584 mostlyclean-host: maybe-mostlyclean-recode
1585 mostlyclean-host: maybe-mostlyclean-sed
1586 mostlyclean-host: maybe-mostlyclean-send-pr
1587 mostlyclean-host: maybe-mostlyclean-shellutils
1588 mostlyclean-host: maybe-mostlyclean-sid
1589 mostlyclean-host: maybe-mostlyclean-sim
1590 mostlyclean-host: maybe-mostlyclean-tar
1591 mostlyclean-host: maybe-mostlyclean-texinfo
1592 mostlyclean-host: maybe-mostlyclean-textutils
1593 mostlyclean-host: maybe-mostlyclean-time
1594 mostlyclean-host: maybe-mostlyclean-uudecode
1595 mostlyclean-host: maybe-mostlyclean-wdiff
1596 mostlyclean-host: maybe-mostlyclean-zip
1597 mostlyclean-host: maybe-mostlyclean-zlib
1598 mostlyclean-host: maybe-mostlyclean-gdb
1599 mostlyclean-host: maybe-mostlyclean-expect
1600 mostlyclean-host: maybe-mostlyclean-guile
1601 mostlyclean-host: maybe-mostlyclean-tk
1602 mostlyclean-host: maybe-mostlyclean-libtermcap
1603 mostlyclean-host: maybe-mostlyclean-utils
1604 mostlyclean-host: maybe-mostlyclean-gnattools
1606 .PHONY: mostlyclean-target
1608 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1609 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1610 mostlyclean-target: maybe-mostlyclean-target-libssp
1611 mostlyclean-target: maybe-mostlyclean-target-libgcc-math
1612 mostlyclean-target: maybe-mostlyclean-target-newlib
1613 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1614 mostlyclean-target: maybe-mostlyclean-target-libobjc
1615 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1616 mostlyclean-target: maybe-mostlyclean-target-winsup
1617 mostlyclean-target: maybe-mostlyclean-target-libgloss
1618 mostlyclean-target: maybe-mostlyclean-target-libiberty
1619 mostlyclean-target: maybe-mostlyclean-target-gperf
1620 mostlyclean-target: maybe-mostlyclean-target-examples
1621 mostlyclean-target: maybe-mostlyclean-target-libffi
1622 mostlyclean-target: maybe-mostlyclean-target-libjava
1623 mostlyclean-target: maybe-mostlyclean-target-zlib
1624 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1625 mostlyclean-target: maybe-mostlyclean-target-qthreads
1626 mostlyclean-target: maybe-mostlyclean-target-rda
1627 mostlyclean-target: maybe-mostlyclean-target-libada
1628 mostlyclean-target: maybe-mostlyclean-target-libgomp
1630 .PHONY: do-clean
1631 do-clean:
1632 @: $(MAKE); $(unstage)
1633 @r=`${PWD_COMMAND}`; export r; \
1634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1635 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1636 clean-target
1639 .PHONY: clean-host
1641 clean-host: maybe-clean-ash
1642 clean-host: maybe-clean-autoconf
1643 clean-host: maybe-clean-automake
1644 clean-host: maybe-clean-bash
1645 clean-host: maybe-clean-bfd
1646 clean-host: maybe-clean-opcodes
1647 clean-host: maybe-clean-binutils
1648 clean-host: maybe-clean-bison
1649 clean-host: maybe-clean-byacc
1650 clean-host: maybe-clean-bzip2
1651 clean-host: maybe-clean-dejagnu
1652 clean-host: maybe-clean-diff
1653 clean-host: maybe-clean-dosutils
1654 clean-host: maybe-clean-etc
1655 clean-host: maybe-clean-fastjar
1656 clean-host: maybe-clean-fileutils
1657 clean-host: maybe-clean-findutils
1658 clean-host: maybe-clean-find
1659 clean-host: maybe-clean-fixincludes
1660 clean-host: maybe-clean-flex
1661 clean-host: maybe-clean-gas
1662 clean-host: maybe-clean-gcc
1663 clean-host: maybe-clean-gawk
1664 clean-host: maybe-clean-gettext
1665 clean-host: maybe-clean-gnuserv
1666 clean-host: maybe-clean-gprof
1667 clean-host: maybe-clean-gzip
1668 clean-host: maybe-clean-hello
1669 clean-host: maybe-clean-indent
1670 clean-host: maybe-clean-intl
1671 clean-host: maybe-clean-tcl
1672 clean-host: maybe-clean-itcl
1673 clean-host: maybe-clean-ld
1674 clean-host: maybe-clean-libcpp
1675 clean-host: maybe-clean-libdecnumber
1676 clean-host: maybe-clean-libgui
1677 clean-host: maybe-clean-libiberty
1678 clean-host: maybe-clean-libtool
1679 clean-host: maybe-clean-m4
1680 clean-host: maybe-clean-make
1681 clean-host: maybe-clean-mmalloc
1682 clean-host: maybe-clean-patch
1683 clean-host: maybe-clean-perl
1684 clean-host: maybe-clean-prms
1685 clean-host: maybe-clean-rcs
1686 clean-host: maybe-clean-readline
1687 clean-host: maybe-clean-release
1688 clean-host: maybe-clean-recode
1689 clean-host: maybe-clean-sed
1690 clean-host: maybe-clean-send-pr
1691 clean-host: maybe-clean-shellutils
1692 clean-host: maybe-clean-sid
1693 clean-host: maybe-clean-sim
1694 clean-host: maybe-clean-tar
1695 clean-host: maybe-clean-texinfo
1696 clean-host: maybe-clean-textutils
1697 clean-host: maybe-clean-time
1698 clean-host: maybe-clean-uudecode
1699 clean-host: maybe-clean-wdiff
1700 clean-host: maybe-clean-zip
1701 clean-host: maybe-clean-zlib
1702 clean-host: maybe-clean-gdb
1703 clean-host: maybe-clean-expect
1704 clean-host: maybe-clean-guile
1705 clean-host: maybe-clean-tk
1706 clean-host: maybe-clean-libtermcap
1707 clean-host: maybe-clean-utils
1708 clean-host: maybe-clean-gnattools
1710 .PHONY: clean-target
1712 clean-target: maybe-clean-target-libstdc++-v3
1713 clean-target: maybe-clean-target-libmudflap
1714 clean-target: maybe-clean-target-libssp
1715 clean-target: maybe-clean-target-libgcc-math
1716 clean-target: maybe-clean-target-newlib
1717 clean-target: maybe-clean-target-libgfortran
1718 clean-target: maybe-clean-target-libobjc
1719 clean-target: maybe-clean-target-libtermcap
1720 clean-target: maybe-clean-target-winsup
1721 clean-target: maybe-clean-target-libgloss
1722 clean-target: maybe-clean-target-libiberty
1723 clean-target: maybe-clean-target-gperf
1724 clean-target: maybe-clean-target-examples
1725 clean-target: maybe-clean-target-libffi
1726 clean-target: maybe-clean-target-libjava
1727 clean-target: maybe-clean-target-zlib
1728 clean-target: maybe-clean-target-boehm-gc
1729 clean-target: maybe-clean-target-qthreads
1730 clean-target: maybe-clean-target-rda
1731 clean-target: maybe-clean-target-libada
1732 clean-target: maybe-clean-target-libgomp
1734 .PHONY: do-distclean
1735 do-distclean:
1736 @: $(MAKE); $(unstage)
1737 @r=`${PWD_COMMAND}`; export r; \
1738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1739 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1740 distclean-target
1743 .PHONY: distclean-host
1745 distclean-host: maybe-distclean-ash
1746 distclean-host: maybe-distclean-autoconf
1747 distclean-host: maybe-distclean-automake
1748 distclean-host: maybe-distclean-bash
1749 distclean-host: maybe-distclean-bfd
1750 distclean-host: maybe-distclean-opcodes
1751 distclean-host: maybe-distclean-binutils
1752 distclean-host: maybe-distclean-bison
1753 distclean-host: maybe-distclean-byacc
1754 distclean-host: maybe-distclean-bzip2
1755 distclean-host: maybe-distclean-dejagnu
1756 distclean-host: maybe-distclean-diff
1757 distclean-host: maybe-distclean-dosutils
1758 distclean-host: maybe-distclean-etc
1759 distclean-host: maybe-distclean-fastjar
1760 distclean-host: maybe-distclean-fileutils
1761 distclean-host: maybe-distclean-findutils
1762 distclean-host: maybe-distclean-find
1763 distclean-host: maybe-distclean-fixincludes
1764 distclean-host: maybe-distclean-flex
1765 distclean-host: maybe-distclean-gas
1766 distclean-host: maybe-distclean-gcc
1767 distclean-host: maybe-distclean-gawk
1768 distclean-host: maybe-distclean-gettext
1769 distclean-host: maybe-distclean-gnuserv
1770 distclean-host: maybe-distclean-gprof
1771 distclean-host: maybe-distclean-gzip
1772 distclean-host: maybe-distclean-hello
1773 distclean-host: maybe-distclean-indent
1774 distclean-host: maybe-distclean-intl
1775 distclean-host: maybe-distclean-tcl
1776 distclean-host: maybe-distclean-itcl
1777 distclean-host: maybe-distclean-ld
1778 distclean-host: maybe-distclean-libcpp
1779 distclean-host: maybe-distclean-libdecnumber
1780 distclean-host: maybe-distclean-libgui
1781 distclean-host: maybe-distclean-libiberty
1782 distclean-host: maybe-distclean-libtool
1783 distclean-host: maybe-distclean-m4
1784 distclean-host: maybe-distclean-make
1785 distclean-host: maybe-distclean-mmalloc
1786 distclean-host: maybe-distclean-patch
1787 distclean-host: maybe-distclean-perl
1788 distclean-host: maybe-distclean-prms
1789 distclean-host: maybe-distclean-rcs
1790 distclean-host: maybe-distclean-readline
1791 distclean-host: maybe-distclean-release
1792 distclean-host: maybe-distclean-recode
1793 distclean-host: maybe-distclean-sed
1794 distclean-host: maybe-distclean-send-pr
1795 distclean-host: maybe-distclean-shellutils
1796 distclean-host: maybe-distclean-sid
1797 distclean-host: maybe-distclean-sim
1798 distclean-host: maybe-distclean-tar
1799 distclean-host: maybe-distclean-texinfo
1800 distclean-host: maybe-distclean-textutils
1801 distclean-host: maybe-distclean-time
1802 distclean-host: maybe-distclean-uudecode
1803 distclean-host: maybe-distclean-wdiff
1804 distclean-host: maybe-distclean-zip
1805 distclean-host: maybe-distclean-zlib
1806 distclean-host: maybe-distclean-gdb
1807 distclean-host: maybe-distclean-expect
1808 distclean-host: maybe-distclean-guile
1809 distclean-host: maybe-distclean-tk
1810 distclean-host: maybe-distclean-libtermcap
1811 distclean-host: maybe-distclean-utils
1812 distclean-host: maybe-distclean-gnattools
1814 .PHONY: distclean-target
1816 distclean-target: maybe-distclean-target-libstdc++-v3
1817 distclean-target: maybe-distclean-target-libmudflap
1818 distclean-target: maybe-distclean-target-libssp
1819 distclean-target: maybe-distclean-target-libgcc-math
1820 distclean-target: maybe-distclean-target-newlib
1821 distclean-target: maybe-distclean-target-libgfortran
1822 distclean-target: maybe-distclean-target-libobjc
1823 distclean-target: maybe-distclean-target-libtermcap
1824 distclean-target: maybe-distclean-target-winsup
1825 distclean-target: maybe-distclean-target-libgloss
1826 distclean-target: maybe-distclean-target-libiberty
1827 distclean-target: maybe-distclean-target-gperf
1828 distclean-target: maybe-distclean-target-examples
1829 distclean-target: maybe-distclean-target-libffi
1830 distclean-target: maybe-distclean-target-libjava
1831 distclean-target: maybe-distclean-target-zlib
1832 distclean-target: maybe-distclean-target-boehm-gc
1833 distclean-target: maybe-distclean-target-qthreads
1834 distclean-target: maybe-distclean-target-rda
1835 distclean-target: maybe-distclean-target-libada
1836 distclean-target: maybe-distclean-target-libgomp
1838 .PHONY: do-maintainer-clean
1839 do-maintainer-clean:
1840 @: $(MAKE); $(unstage)
1841 @r=`${PWD_COMMAND}`; export r; \
1842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1843 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1844 maintainer-clean-target
1847 .PHONY: maintainer-clean-host
1849 maintainer-clean-host: maybe-maintainer-clean-ash
1850 maintainer-clean-host: maybe-maintainer-clean-autoconf
1851 maintainer-clean-host: maybe-maintainer-clean-automake
1852 maintainer-clean-host: maybe-maintainer-clean-bash
1853 maintainer-clean-host: maybe-maintainer-clean-bfd
1854 maintainer-clean-host: maybe-maintainer-clean-opcodes
1855 maintainer-clean-host: maybe-maintainer-clean-binutils
1856 maintainer-clean-host: maybe-maintainer-clean-bison
1857 maintainer-clean-host: maybe-maintainer-clean-byacc
1858 maintainer-clean-host: maybe-maintainer-clean-bzip2
1859 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1860 maintainer-clean-host: maybe-maintainer-clean-diff
1861 maintainer-clean-host: maybe-maintainer-clean-dosutils
1862 maintainer-clean-host: maybe-maintainer-clean-etc
1863 maintainer-clean-host: maybe-maintainer-clean-fastjar
1864 maintainer-clean-host: maybe-maintainer-clean-fileutils
1865 maintainer-clean-host: maybe-maintainer-clean-findutils
1866 maintainer-clean-host: maybe-maintainer-clean-find
1867 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1868 maintainer-clean-host: maybe-maintainer-clean-flex
1869 maintainer-clean-host: maybe-maintainer-clean-gas
1870 maintainer-clean-host: maybe-maintainer-clean-gcc
1871 maintainer-clean-host: maybe-maintainer-clean-gawk
1872 maintainer-clean-host: maybe-maintainer-clean-gettext
1873 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1874 maintainer-clean-host: maybe-maintainer-clean-gprof
1875 maintainer-clean-host: maybe-maintainer-clean-gzip
1876 maintainer-clean-host: maybe-maintainer-clean-hello
1877 maintainer-clean-host: maybe-maintainer-clean-indent
1878 maintainer-clean-host: maybe-maintainer-clean-intl
1879 maintainer-clean-host: maybe-maintainer-clean-tcl
1880 maintainer-clean-host: maybe-maintainer-clean-itcl
1881 maintainer-clean-host: maybe-maintainer-clean-ld
1882 maintainer-clean-host: maybe-maintainer-clean-libcpp
1883 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1884 maintainer-clean-host: maybe-maintainer-clean-libgui
1885 maintainer-clean-host: maybe-maintainer-clean-libiberty
1886 maintainer-clean-host: maybe-maintainer-clean-libtool
1887 maintainer-clean-host: maybe-maintainer-clean-m4
1888 maintainer-clean-host: maybe-maintainer-clean-make
1889 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1890 maintainer-clean-host: maybe-maintainer-clean-patch
1891 maintainer-clean-host: maybe-maintainer-clean-perl
1892 maintainer-clean-host: maybe-maintainer-clean-prms
1893 maintainer-clean-host: maybe-maintainer-clean-rcs
1894 maintainer-clean-host: maybe-maintainer-clean-readline
1895 maintainer-clean-host: maybe-maintainer-clean-release
1896 maintainer-clean-host: maybe-maintainer-clean-recode
1897 maintainer-clean-host: maybe-maintainer-clean-sed
1898 maintainer-clean-host: maybe-maintainer-clean-send-pr
1899 maintainer-clean-host: maybe-maintainer-clean-shellutils
1900 maintainer-clean-host: maybe-maintainer-clean-sid
1901 maintainer-clean-host: maybe-maintainer-clean-sim
1902 maintainer-clean-host: maybe-maintainer-clean-tar
1903 maintainer-clean-host: maybe-maintainer-clean-texinfo
1904 maintainer-clean-host: maybe-maintainer-clean-textutils
1905 maintainer-clean-host: maybe-maintainer-clean-time
1906 maintainer-clean-host: maybe-maintainer-clean-uudecode
1907 maintainer-clean-host: maybe-maintainer-clean-wdiff
1908 maintainer-clean-host: maybe-maintainer-clean-zip
1909 maintainer-clean-host: maybe-maintainer-clean-zlib
1910 maintainer-clean-host: maybe-maintainer-clean-gdb
1911 maintainer-clean-host: maybe-maintainer-clean-expect
1912 maintainer-clean-host: maybe-maintainer-clean-guile
1913 maintainer-clean-host: maybe-maintainer-clean-tk
1914 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1915 maintainer-clean-host: maybe-maintainer-clean-utils
1916 maintainer-clean-host: maybe-maintainer-clean-gnattools
1918 .PHONY: maintainer-clean-target
1920 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1921 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1922 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1923 maintainer-clean-target: maybe-maintainer-clean-target-libgcc-math
1924 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1925 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1926 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1927 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1928 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1929 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1930 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1931 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1932 maintainer-clean-target: maybe-maintainer-clean-target-examples
1933 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1934 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1935 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1936 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1937 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1938 maintainer-clean-target: maybe-maintainer-clean-target-rda
1939 maintainer-clean-target: maybe-maintainer-clean-target-libada
1940 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1943 # Here are the targets which correspond to the do-X targets.
1945 .PHONY: info installcheck dvi html install-info install-html
1946 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1947 .PHONY: local-clean local-distclean local-maintainer-clean
1948 info: do-info
1949 installcheck: do-installcheck
1950 dvi: do-dvi
1951 html: do-html
1953 # Make sure makeinfo is built before we do a `make info', if we're
1954 # in fact building texinfo.
1955 do-info: maybe-all-texinfo
1957 install-info: do-install-info dir.info
1958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1959 if [ -f dir.info ] ; then \
1960 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1961 else true ; fi
1963 install-html: do-install-html
1965 local-clean:
1966 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1968 local-distclean:
1969 -rm -f Makefile config.status config.cache mh-frag mt-frag
1970 -rm -f maybedep.tmp serdep.tmp
1971 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1972 rm -rf $(TARGET_SUBDIR); \
1973 else true; fi
1974 -rm -rf $(BUILD_SUBDIR)
1975 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1976 rm -rf $(HOST_SUBDIR); \
1977 else true; fi
1978 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1979 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1980 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1981 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1982 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1984 local-maintainer-clean:
1985 @echo "This command is intended for maintainers to use;"
1986 @echo "it deletes files that may require special tools to rebuild."
1988 clean: do-clean local-clean
1989 mostlyclean: do-mostlyclean local-clean
1990 distclean: do-distclean local-clean local-distclean
1991 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1992 maintainer-clean: local-distclean
1993 realclean: maintainer-clean
1995 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1996 clean-target: clean-target-libgcc
1997 clean-target-libgcc:
1998 test ! -d gcc || (cd gcc && $(MAKE) $@)
2000 # Check target.
2002 .PHONY: check do-check
2003 check: do-check
2005 # Only include modules actually being configured and built.
2006 .PHONY: check-host
2007 check-host: \
2008 maybe-check-ash \
2009 maybe-check-autoconf \
2010 maybe-check-automake \
2011 maybe-check-bash \
2012 maybe-check-bfd \
2013 maybe-check-opcodes \
2014 maybe-check-binutils \
2015 maybe-check-bison \
2016 maybe-check-byacc \
2017 maybe-check-bzip2 \
2018 maybe-check-dejagnu \
2019 maybe-check-diff \
2020 maybe-check-dosutils \
2021 maybe-check-etc \
2022 maybe-check-fastjar \
2023 maybe-check-fileutils \
2024 maybe-check-findutils \
2025 maybe-check-find \
2026 maybe-check-fixincludes \
2027 maybe-check-flex \
2028 maybe-check-gas \
2029 maybe-check-gcc \
2030 maybe-check-gawk \
2031 maybe-check-gettext \
2032 maybe-check-gnuserv \
2033 maybe-check-gprof \
2034 maybe-check-gzip \
2035 maybe-check-hello \
2036 maybe-check-indent \
2037 maybe-check-intl \
2038 maybe-check-tcl \
2039 maybe-check-itcl \
2040 maybe-check-ld \
2041 maybe-check-libcpp \
2042 maybe-check-libdecnumber \
2043 maybe-check-libgui \
2044 maybe-check-libiberty \
2045 maybe-check-libtool \
2046 maybe-check-m4 \
2047 maybe-check-make \
2048 maybe-check-mmalloc \
2049 maybe-check-patch \
2050 maybe-check-perl \
2051 maybe-check-prms \
2052 maybe-check-rcs \
2053 maybe-check-readline \
2054 maybe-check-release \
2055 maybe-check-recode \
2056 maybe-check-sed \
2057 maybe-check-send-pr \
2058 maybe-check-shellutils \
2059 maybe-check-sid \
2060 maybe-check-sim \
2061 maybe-check-tar \
2062 maybe-check-texinfo \
2063 maybe-check-textutils \
2064 maybe-check-time \
2065 maybe-check-uudecode \
2066 maybe-check-wdiff \
2067 maybe-check-zip \
2068 maybe-check-zlib \
2069 maybe-check-gdb \
2070 maybe-check-expect \
2071 maybe-check-guile \
2072 maybe-check-tk \
2073 maybe-check-libtermcap \
2074 maybe-check-utils \
2075 maybe-check-gnattools
2077 .PHONY: check-target
2078 check-target: \
2079 maybe-check-target-libstdc++-v3 \
2080 maybe-check-target-libmudflap \
2081 maybe-check-target-libssp \
2082 maybe-check-target-libgcc-math \
2083 maybe-check-target-newlib \
2084 maybe-check-target-libgfortran \
2085 maybe-check-target-libobjc \
2086 maybe-check-target-libtermcap \
2087 maybe-check-target-winsup \
2088 maybe-check-target-libgloss \
2089 maybe-check-target-libiberty \
2090 maybe-check-target-gperf \
2091 maybe-check-target-examples \
2092 maybe-check-target-libffi \
2093 maybe-check-target-libjava \
2094 maybe-check-target-zlib \
2095 maybe-check-target-boehm-gc \
2096 maybe-check-target-qthreads \
2097 maybe-check-target-rda \
2098 maybe-check-target-libada \
2099 maybe-check-target-libgomp
2101 do-check:
2102 @: $(MAKE); $(unstage)
2103 @r=`${PWD_COMMAND}`; export r; \
2104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2105 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2107 # Automated reporting of test results.
2109 warning.log: build.log
2110 $(srcdir)/contrib/warn_summary build.log > $@
2112 mail-report.log:
2113 if test x'$(BOOT_CFLAGS)' != x''; then \
2114 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2115 fi; \
2116 $(srcdir)/contrib/test_summary -t >$@
2117 chmod +x $@
2118 echo If you really want to send e-mail, run ./$@ now
2120 mail-report-with-warnings.log: warning.log
2121 if test x'$(BOOT_CFLAGS)' != x''; then \
2122 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2123 fi; \
2124 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2125 chmod +x $@
2126 echo If you really want to send e-mail, run ./$@ now
2128 # Installation targets.
2130 .PHONY: install uninstall
2131 install:
2132 @: $(MAKE); $(unstage)
2133 @r=`${PWD_COMMAND}`; export r; \
2134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2135 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target install-html
2137 .PHONY: install-host-nogcc
2138 install-host-nogcc: \
2139 maybe-install-ash \
2140 maybe-install-autoconf \
2141 maybe-install-automake \
2142 maybe-install-bash \
2143 maybe-install-bfd \
2144 maybe-install-opcodes \
2145 maybe-install-binutils \
2146 maybe-install-bison \
2147 maybe-install-byacc \
2148 maybe-install-bzip2 \
2149 maybe-install-dejagnu \
2150 maybe-install-diff \
2151 maybe-install-dosutils \
2152 maybe-install-etc \
2153 maybe-install-fastjar \
2154 maybe-install-fileutils \
2155 maybe-install-findutils \
2156 maybe-install-find \
2157 maybe-install-fixincludes \
2158 maybe-install-flex \
2159 maybe-install-gas \
2160 maybe-install-gawk \
2161 maybe-install-gettext \
2162 maybe-install-gnuserv \
2163 maybe-install-gprof \
2164 maybe-install-gzip \
2165 maybe-install-hello \
2166 maybe-install-indent \
2167 maybe-install-intl \
2168 maybe-install-tcl \
2169 maybe-install-itcl \
2170 maybe-install-ld \
2171 maybe-install-libcpp \
2172 maybe-install-libdecnumber \
2173 maybe-install-libgui \
2174 maybe-install-libiberty \
2175 maybe-install-libtool \
2176 maybe-install-m4 \
2177 maybe-install-make \
2178 maybe-install-mmalloc \
2179 maybe-install-patch \
2180 maybe-install-perl \
2181 maybe-install-prms \
2182 maybe-install-rcs \
2183 maybe-install-readline \
2184 maybe-install-release \
2185 maybe-install-recode \
2186 maybe-install-sed \
2187 maybe-install-send-pr \
2188 maybe-install-shellutils \
2189 maybe-install-sid \
2190 maybe-install-sim \
2191 maybe-install-tar \
2192 maybe-install-texinfo \
2193 maybe-install-textutils \
2194 maybe-install-time \
2195 maybe-install-uudecode \
2196 maybe-install-wdiff \
2197 maybe-install-zip \
2198 maybe-install-zlib \
2199 maybe-install-gdb \
2200 maybe-install-expect \
2201 maybe-install-guile \
2202 maybe-install-tk \
2203 maybe-install-libtermcap \
2204 maybe-install-utils \
2205 maybe-install-gnattools
2207 .PHONY: install-host
2208 install-host: \
2209 maybe-install-ash \
2210 maybe-install-autoconf \
2211 maybe-install-automake \
2212 maybe-install-bash \
2213 maybe-install-bfd \
2214 maybe-install-opcodes \
2215 maybe-install-binutils \
2216 maybe-install-bison \
2217 maybe-install-byacc \
2218 maybe-install-bzip2 \
2219 maybe-install-dejagnu \
2220 maybe-install-diff \
2221 maybe-install-dosutils \
2222 maybe-install-etc \
2223 maybe-install-fastjar \
2224 maybe-install-fileutils \
2225 maybe-install-findutils \
2226 maybe-install-find \
2227 maybe-install-fixincludes \
2228 maybe-install-flex \
2229 maybe-install-gas \
2230 maybe-install-gcc \
2231 maybe-install-gawk \
2232 maybe-install-gettext \
2233 maybe-install-gnuserv \
2234 maybe-install-gprof \
2235 maybe-install-gzip \
2236 maybe-install-hello \
2237 maybe-install-indent \
2238 maybe-install-intl \
2239 maybe-install-tcl \
2240 maybe-install-itcl \
2241 maybe-install-ld \
2242 maybe-install-libcpp \
2243 maybe-install-libdecnumber \
2244 maybe-install-libgui \
2245 maybe-install-libiberty \
2246 maybe-install-libtool \
2247 maybe-install-m4 \
2248 maybe-install-make \
2249 maybe-install-mmalloc \
2250 maybe-install-patch \
2251 maybe-install-perl \
2252 maybe-install-prms \
2253 maybe-install-rcs \
2254 maybe-install-readline \
2255 maybe-install-release \
2256 maybe-install-recode \
2257 maybe-install-sed \
2258 maybe-install-send-pr \
2259 maybe-install-shellutils \
2260 maybe-install-sid \
2261 maybe-install-sim \
2262 maybe-install-tar \
2263 maybe-install-texinfo \
2264 maybe-install-textutils \
2265 maybe-install-time \
2266 maybe-install-uudecode \
2267 maybe-install-wdiff \
2268 maybe-install-zip \
2269 maybe-install-zlib \
2270 maybe-install-gdb \
2271 maybe-install-expect \
2272 maybe-install-guile \
2273 maybe-install-tk \
2274 maybe-install-libtermcap \
2275 maybe-install-utils \
2276 maybe-install-gnattools
2278 .PHONY: install-target
2279 install-target: \
2280 maybe-install-target-libstdc++-v3 \
2281 maybe-install-target-libmudflap \
2282 maybe-install-target-libssp \
2283 maybe-install-target-libgcc-math \
2284 maybe-install-target-newlib \
2285 maybe-install-target-libgfortran \
2286 maybe-install-target-libobjc \
2287 maybe-install-target-libtermcap \
2288 maybe-install-target-winsup \
2289 maybe-install-target-libgloss \
2290 maybe-install-target-libiberty \
2291 maybe-install-target-gperf \
2292 maybe-install-target-examples \
2293 maybe-install-target-libffi \
2294 maybe-install-target-libjava \
2295 maybe-install-target-zlib \
2296 maybe-install-target-boehm-gc \
2297 maybe-install-target-qthreads \
2298 maybe-install-target-rda \
2299 maybe-install-target-libada \
2300 maybe-install-target-libgomp
2302 uninstall:
2303 @echo "the uninstall target is not supported in this tree"
2305 .PHONY: install.all
2306 install.all: install-no-fixedincludes
2307 @if [ -f ./gcc/Makefile ] ; then \
2308 r=`${PWD_COMMAND}` ; export r ; \
2309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2310 $(HOST_EXPORTS) \
2311 (cd ./gcc && \
2312 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2313 else \
2314 true ; \
2317 # install-no-fixedincludes is used because Cygnus can not distribute
2318 # the fixed header files.
2319 .PHONY: install-no-fixedincludes
2320 install-no-fixedincludes: installdirs install-host-nogcc \
2321 install-target gcc-no-fixedincludes
2323 ### other supporting targets
2325 MAKEDIRS= \
2326 $(DESTDIR)$(prefix) \
2327 $(DESTDIR)$(exec_prefix)
2328 .PHONY: installdirs
2329 installdirs: mkinstalldirs
2330 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2332 dir.info: do-install-info
2333 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2334 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2335 mv -f dir.info.new dir.info ; \
2336 else true ; \
2339 dist:
2340 @echo "Building a full distribution of this tree isn't done"
2341 @echo "via 'make dist'. Check out the etc/ subdirectory"
2343 etags tags: TAGS
2345 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2346 # ability to use several tags files at once, so there is probably no need
2347 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2348 # (if we felt like it) have this Makefile write a piece of elisp which
2349 # the user could load to tell emacs19 where all the TAGS files we just
2350 # built are.
2351 TAGS: do-TAGS
2353 # ------------------------------------
2354 # Macros for configure and all targets
2355 # ------------------------------------
2361 # --------------------------------------
2362 # Modules which run on the build machine
2363 # --------------------------------------
2366 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2367 maybe-configure-build-libiberty:
2368 @if build-libiberty
2369 maybe-configure-build-libiberty: configure-build-libiberty
2370 configure-build-libiberty:
2371 @: $(MAKE); $(unstage)
2372 @r=`${PWD_COMMAND}`; export r; \
2373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2374 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2375 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2376 $(BUILD_EXPORTS) \
2377 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2378 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2379 case $(srcdir) in \
2380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2381 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2383 esac; \
2384 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2385 libsrcdir="$$s/libiberty"; \
2386 rm -f no-such-file || : ; \
2387 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2388 $(BUILD_CONFIGARGS) $${srcdiroption} \
2389 || exit 1
2390 @endif build-libiberty
2396 .PHONY: all-build-libiberty maybe-all-build-libiberty
2397 maybe-all-build-libiberty:
2398 @if build-libiberty
2399 TARGET-build-libiberty=all
2400 maybe-all-build-libiberty: all-build-libiberty
2401 all-build-libiberty: configure-build-libiberty
2402 @: $(MAKE); $(unstage)
2403 @r=`${PWD_COMMAND}`; export r; \
2404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2405 $(BUILD_EXPORTS) \
2406 (cd $(BUILD_SUBDIR)/libiberty && \
2407 $(MAKE) $(TARGET-build-libiberty))
2408 @endif build-libiberty
2414 .PHONY: configure-build-bison maybe-configure-build-bison
2415 maybe-configure-build-bison:
2416 @if build-bison
2417 maybe-configure-build-bison: configure-build-bison
2418 configure-build-bison:
2419 @: $(MAKE); $(unstage)
2420 @r=`${PWD_COMMAND}`; export r; \
2421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2423 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2424 $(BUILD_EXPORTS) \
2425 echo Configuring in $(BUILD_SUBDIR)/bison; \
2426 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2427 case $(srcdir) in \
2428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2429 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2431 esac; \
2432 srcdiroption="--srcdir=$${topdir}/bison"; \
2433 libsrcdir="$$s/bison"; \
2434 rm -f no-such-file || : ; \
2435 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2436 $(BUILD_CONFIGARGS) $${srcdiroption} \
2437 || exit 1
2438 @endif build-bison
2444 .PHONY: all-build-bison maybe-all-build-bison
2445 maybe-all-build-bison:
2446 @if build-bison
2447 TARGET-build-bison=all
2448 maybe-all-build-bison: all-build-bison
2449 all-build-bison: configure-build-bison
2450 @: $(MAKE); $(unstage)
2451 @r=`${PWD_COMMAND}`; export r; \
2452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2453 $(BUILD_EXPORTS) \
2454 (cd $(BUILD_SUBDIR)/bison && \
2455 $(MAKE) $(TARGET-build-bison))
2456 @endif build-bison
2462 .PHONY: configure-build-byacc maybe-configure-build-byacc
2463 maybe-configure-build-byacc:
2464 @if build-byacc
2465 maybe-configure-build-byacc: configure-build-byacc
2466 configure-build-byacc:
2467 @: $(MAKE); $(unstage)
2468 @r=`${PWD_COMMAND}`; export r; \
2469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2470 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2471 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2472 $(BUILD_EXPORTS) \
2473 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2474 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2475 case $(srcdir) in \
2476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2477 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2479 esac; \
2480 srcdiroption="--srcdir=$${topdir}/byacc"; \
2481 libsrcdir="$$s/byacc"; \
2482 rm -f no-such-file || : ; \
2483 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2484 $(BUILD_CONFIGARGS) $${srcdiroption} \
2485 || exit 1
2486 @endif build-byacc
2492 .PHONY: all-build-byacc maybe-all-build-byacc
2493 maybe-all-build-byacc:
2494 @if build-byacc
2495 TARGET-build-byacc=all
2496 maybe-all-build-byacc: all-build-byacc
2497 all-build-byacc: configure-build-byacc
2498 @: $(MAKE); $(unstage)
2499 @r=`${PWD_COMMAND}`; export r; \
2500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2501 $(BUILD_EXPORTS) \
2502 (cd $(BUILD_SUBDIR)/byacc && \
2503 $(MAKE) $(TARGET-build-byacc))
2504 @endif build-byacc
2510 .PHONY: configure-build-flex maybe-configure-build-flex
2511 maybe-configure-build-flex:
2512 @if build-flex
2513 maybe-configure-build-flex: configure-build-flex
2514 configure-build-flex:
2515 @: $(MAKE); $(unstage)
2516 @r=`${PWD_COMMAND}`; export r; \
2517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2518 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2519 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2520 $(BUILD_EXPORTS) \
2521 echo Configuring in $(BUILD_SUBDIR)/flex; \
2522 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2523 case $(srcdir) in \
2524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2525 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2527 esac; \
2528 srcdiroption="--srcdir=$${topdir}/flex"; \
2529 libsrcdir="$$s/flex"; \
2530 rm -f no-such-file || : ; \
2531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2532 $(BUILD_CONFIGARGS) $${srcdiroption} \
2533 || exit 1
2534 @endif build-flex
2540 .PHONY: all-build-flex maybe-all-build-flex
2541 maybe-all-build-flex:
2542 @if build-flex
2543 TARGET-build-flex=all
2544 maybe-all-build-flex: all-build-flex
2545 all-build-flex: configure-build-flex
2546 @: $(MAKE); $(unstage)
2547 @r=`${PWD_COMMAND}`; export r; \
2548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2549 $(BUILD_EXPORTS) \
2550 (cd $(BUILD_SUBDIR)/flex && \
2551 $(MAKE) $(TARGET-build-flex))
2552 @endif build-flex
2558 .PHONY: configure-build-m4 maybe-configure-build-m4
2559 maybe-configure-build-m4:
2560 @if build-m4
2561 maybe-configure-build-m4: configure-build-m4
2562 configure-build-m4:
2563 @: $(MAKE); $(unstage)
2564 @r=`${PWD_COMMAND}`; export r; \
2565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2566 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2567 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2568 $(BUILD_EXPORTS) \
2569 echo Configuring in $(BUILD_SUBDIR)/m4; \
2570 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2571 case $(srcdir) in \
2572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2573 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2575 esac; \
2576 srcdiroption="--srcdir=$${topdir}/m4"; \
2577 libsrcdir="$$s/m4"; \
2578 rm -f no-such-file || : ; \
2579 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2580 $(BUILD_CONFIGARGS) $${srcdiroption} \
2581 || exit 1
2582 @endif build-m4
2588 .PHONY: all-build-m4 maybe-all-build-m4
2589 maybe-all-build-m4:
2590 @if build-m4
2591 TARGET-build-m4=all
2592 maybe-all-build-m4: all-build-m4
2593 all-build-m4: configure-build-m4
2594 @: $(MAKE); $(unstage)
2595 @r=`${PWD_COMMAND}`; export r; \
2596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597 $(BUILD_EXPORTS) \
2598 (cd $(BUILD_SUBDIR)/m4 && \
2599 $(MAKE) $(TARGET-build-m4))
2600 @endif build-m4
2606 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2607 maybe-configure-build-texinfo:
2608 @if build-texinfo
2609 maybe-configure-build-texinfo: configure-build-texinfo
2610 configure-build-texinfo:
2611 @: $(MAKE); $(unstage)
2612 @r=`${PWD_COMMAND}`; export r; \
2613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2614 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2615 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2616 $(BUILD_EXPORTS) \
2617 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2618 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2619 case $(srcdir) in \
2620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2621 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2623 esac; \
2624 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2625 libsrcdir="$$s/texinfo"; \
2626 rm -f no-such-file || : ; \
2627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2628 $(BUILD_CONFIGARGS) $${srcdiroption} \
2629 || exit 1
2630 @endif build-texinfo
2636 .PHONY: all-build-texinfo maybe-all-build-texinfo
2637 maybe-all-build-texinfo:
2638 @if build-texinfo
2639 TARGET-build-texinfo=all
2640 maybe-all-build-texinfo: all-build-texinfo
2641 all-build-texinfo: configure-build-texinfo
2642 @: $(MAKE); $(unstage)
2643 @r=`${PWD_COMMAND}`; export r; \
2644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2645 $(BUILD_EXPORTS) \
2646 (cd $(BUILD_SUBDIR)/texinfo && \
2647 $(MAKE) $(TARGET-build-texinfo))
2648 @endif build-texinfo
2654 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2655 maybe-configure-build-fixincludes:
2656 @if build-fixincludes
2657 maybe-configure-build-fixincludes: configure-build-fixincludes
2658 configure-build-fixincludes:
2659 @: $(MAKE); $(unstage)
2660 @r=`${PWD_COMMAND}`; export r; \
2661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2662 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2663 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2664 $(BUILD_EXPORTS) \
2665 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2666 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2667 case $(srcdir) in \
2668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2669 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2671 esac; \
2672 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2673 libsrcdir="$$s/fixincludes"; \
2674 rm -f no-such-file || : ; \
2675 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2676 $(BUILD_CONFIGARGS) $${srcdiroption} \
2677 || exit 1
2678 @endif build-fixincludes
2684 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2685 maybe-all-build-fixincludes:
2686 @if build-fixincludes
2687 TARGET-build-fixincludes=all
2688 maybe-all-build-fixincludes: all-build-fixincludes
2689 all-build-fixincludes: configure-build-fixincludes
2690 @: $(MAKE); $(unstage)
2691 @r=`${PWD_COMMAND}`; export r; \
2692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2693 $(BUILD_EXPORTS) \
2694 (cd $(BUILD_SUBDIR)/fixincludes && \
2695 $(MAKE) $(TARGET-build-fixincludes))
2696 @endif build-fixincludes
2702 # --------------------------------------
2703 # Modules which run on the host machine
2704 # --------------------------------------
2707 .PHONY: configure-ash maybe-configure-ash
2708 maybe-configure-ash:
2709 @if ash
2710 maybe-configure-ash: configure-ash
2711 configure-ash:
2712 @: $(MAKE); $(unstage)
2713 @r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2717 $(HOST_EXPORTS) \
2718 echo Configuring in $(HOST_SUBDIR)/ash; \
2719 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2720 case $(srcdir) in \
2721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2722 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2724 esac; \
2725 srcdiroption="--srcdir=$${topdir}/ash"; \
2726 libsrcdir="$$s/ash"; \
2727 $(SHELL) $${libsrcdir}/configure \
2728 $(HOST_CONFIGARGS) $${srcdiroption} \
2729 || exit 1
2730 @endif ash
2736 .PHONY: all-ash maybe-all-ash
2737 maybe-all-ash:
2738 @if ash
2739 TARGET-ash=all
2740 maybe-all-ash: all-ash
2741 all-ash: configure-ash
2742 @: $(MAKE); $(unstage)
2743 @r=`${PWD_COMMAND}`; export r; \
2744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2745 $(HOST_EXPORTS) \
2746 (cd $(HOST_SUBDIR)/ash && \
2747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2748 @endif ash
2753 .PHONY: check-ash maybe-check-ash
2754 maybe-check-ash:
2755 @if ash
2756 maybe-check-ash: check-ash
2758 check-ash:
2759 @: $(MAKE); $(unstage)
2760 @r=`${PWD_COMMAND}`; export r; \
2761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 $(HOST_EXPORTS) \
2763 (cd $(HOST_SUBDIR)/ash && \
2764 $(MAKE) $(FLAGS_TO_PASS) check)
2766 @endif ash
2768 .PHONY: install-ash maybe-install-ash
2769 maybe-install-ash:
2770 @if ash
2771 maybe-install-ash: install-ash
2773 install-ash: installdirs
2774 @: $(MAKE); $(unstage)
2775 @r=`${PWD_COMMAND}`; export r; \
2776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777 $(HOST_EXPORTS) \
2778 (cd $(HOST_SUBDIR)/ash && \
2779 $(MAKE) $(FLAGS_TO_PASS) install)
2781 @endif ash
2783 # Other targets (info, dvi, etc.)
2785 .PHONY: maybe-info-ash info-ash
2786 maybe-info-ash:
2787 @if ash
2788 maybe-info-ash: info-ash
2790 info-ash: \
2791 configure-ash
2792 @: $(MAKE); $(unstage)
2793 @[ -f ./ash/Makefile ] || exit 0; \
2794 r=`${PWD_COMMAND}`; export r; \
2795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2796 $(HOST_EXPORTS) \
2797 for flag in $(EXTRA_HOST_FLAGS) ; do \
2798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2799 done; \
2800 echo "Doing info in ash" ; \
2801 (cd $(HOST_SUBDIR)/ash && \
2802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2804 "RANLIB=$${RANLIB}" \
2805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2806 info) \
2807 || exit 1
2809 @endif ash
2811 .PHONY: maybe-dvi-ash dvi-ash
2812 maybe-dvi-ash:
2813 @if ash
2814 maybe-dvi-ash: dvi-ash
2816 dvi-ash: \
2817 configure-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 dvi 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 dvi) \
2833 || exit 1
2835 @endif ash
2837 .PHONY: maybe-html-ash html-ash
2838 maybe-html-ash:
2839 @if ash
2840 maybe-html-ash: html-ash
2842 html-ash: \
2843 configure-ash
2844 @: $(MAKE); $(unstage)
2845 @[ -f ./ash/Makefile ] || exit 0; \
2846 r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 $(HOST_EXPORTS) \
2849 for flag in $(EXTRA_HOST_FLAGS) ; do \
2850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2851 done; \
2852 echo "Doing html in ash" ; \
2853 (cd $(HOST_SUBDIR)/ash && \
2854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2856 "RANLIB=$${RANLIB}" \
2857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2858 html) \
2859 || exit 1
2861 @endif ash
2863 .PHONY: maybe-TAGS-ash TAGS-ash
2864 maybe-TAGS-ash:
2865 @if ash
2866 maybe-TAGS-ash: TAGS-ash
2868 TAGS-ash: \
2869 configure-ash
2870 @: $(MAKE); $(unstage)
2871 @[ -f ./ash/Makefile ] || exit 0; \
2872 r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874 $(HOST_EXPORTS) \
2875 for flag in $(EXTRA_HOST_FLAGS) ; do \
2876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2877 done; \
2878 echo "Doing TAGS in ash" ; \
2879 (cd $(HOST_SUBDIR)/ash && \
2880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2882 "RANLIB=$${RANLIB}" \
2883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2884 TAGS) \
2885 || exit 1
2887 @endif ash
2889 .PHONY: maybe-install-info-ash install-info-ash
2890 maybe-install-info-ash:
2891 @if ash
2892 maybe-install-info-ash: install-info-ash
2894 install-info-ash: \
2895 configure-ash \
2896 info-ash
2897 @: $(MAKE); $(unstage)
2898 @[ -f ./ash/Makefile ] || exit 0; \
2899 r=`${PWD_COMMAND}`; export r; \
2900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901 $(HOST_EXPORTS) \
2902 for flag in $(EXTRA_HOST_FLAGS) ; do \
2903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2904 done; \
2905 echo "Doing install-info in ash" ; \
2906 (cd $(HOST_SUBDIR)/ash && \
2907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2909 "RANLIB=$${RANLIB}" \
2910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2911 install-info) \
2912 || exit 1
2914 @endif ash
2916 .PHONY: maybe-install-html-ash install-html-ash
2917 maybe-install-html-ash:
2918 @if ash
2919 maybe-install-html-ash: install-html-ash
2921 install-html-ash: \
2922 configure-ash \
2923 html-ash
2924 @: $(MAKE); $(unstage)
2925 @[ -f ./ash/Makefile ] || exit 0; \
2926 r=`${PWD_COMMAND}`; export r; \
2927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2928 $(HOST_EXPORTS) \
2929 for flag in $(EXTRA_HOST_FLAGS) ; do \
2930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2931 done; \
2932 echo "Doing install-html in ash" ; \
2933 (cd $(HOST_SUBDIR)/ash && \
2934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2936 "RANLIB=$${RANLIB}" \
2937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2938 install-html) \
2939 || exit 1
2941 @endif ash
2943 .PHONY: maybe-installcheck-ash installcheck-ash
2944 maybe-installcheck-ash:
2945 @if ash
2946 maybe-installcheck-ash: installcheck-ash
2948 installcheck-ash: \
2949 configure-ash
2950 @: $(MAKE); $(unstage)
2951 @[ -f ./ash/Makefile ] || exit 0; \
2952 r=`${PWD_COMMAND}`; export r; \
2953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2954 $(HOST_EXPORTS) \
2955 for flag in $(EXTRA_HOST_FLAGS) ; do \
2956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2957 done; \
2958 echo "Doing installcheck in ash" ; \
2959 (cd $(HOST_SUBDIR)/ash && \
2960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2962 "RANLIB=$${RANLIB}" \
2963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2964 installcheck) \
2965 || exit 1
2967 @endif ash
2969 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2970 maybe-mostlyclean-ash:
2971 @if ash
2972 maybe-mostlyclean-ash: mostlyclean-ash
2974 mostlyclean-ash:
2975 @: $(MAKE); $(unstage)
2976 @[ -f ./ash/Makefile ] || exit 0; \
2977 r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 $(HOST_EXPORTS) \
2980 for flag in $(EXTRA_HOST_FLAGS) ; do \
2981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2982 done; \
2983 echo "Doing mostlyclean in ash" ; \
2984 (cd $(HOST_SUBDIR)/ash && \
2985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2987 "RANLIB=$${RANLIB}" \
2988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2989 mostlyclean) \
2990 || exit 1
2992 @endif ash
2994 .PHONY: maybe-clean-ash clean-ash
2995 maybe-clean-ash:
2996 @if ash
2997 maybe-clean-ash: clean-ash
2999 clean-ash:
3000 @: $(MAKE); $(unstage)
3001 @[ -f ./ash/Makefile ] || exit 0; \
3002 r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 $(HOST_EXPORTS) \
3005 for flag in $(EXTRA_HOST_FLAGS) ; do \
3006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3007 done; \
3008 echo "Doing clean in ash" ; \
3009 (cd $(HOST_SUBDIR)/ash && \
3010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3012 "RANLIB=$${RANLIB}" \
3013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3014 clean) \
3015 || exit 1
3017 @endif ash
3019 .PHONY: maybe-distclean-ash distclean-ash
3020 maybe-distclean-ash:
3021 @if ash
3022 maybe-distclean-ash: distclean-ash
3024 distclean-ash:
3025 @: $(MAKE); $(unstage)
3026 @[ -f ./ash/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 distclean in ash" ; \
3034 (cd $(HOST_SUBDIR)/ash && \
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 distclean) \
3040 || exit 1
3042 @endif ash
3044 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3045 maybe-maintainer-clean-ash:
3046 @if ash
3047 maybe-maintainer-clean-ash: maintainer-clean-ash
3049 maintainer-clean-ash:
3050 @: $(MAKE); $(unstage)
3051 @[ -f ./ash/Makefile ] || exit 0; \
3052 r=`${PWD_COMMAND}`; export r; \
3053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3054 $(HOST_EXPORTS) \
3055 for flag in $(EXTRA_HOST_FLAGS) ; do \
3056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3057 done; \
3058 echo "Doing maintainer-clean in ash" ; \
3059 (cd $(HOST_SUBDIR)/ash && \
3060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3062 "RANLIB=$${RANLIB}" \
3063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3064 maintainer-clean) \
3065 || exit 1
3067 @endif ash
3071 .PHONY: configure-autoconf maybe-configure-autoconf
3072 maybe-configure-autoconf:
3073 @if autoconf
3074 maybe-configure-autoconf: configure-autoconf
3075 configure-autoconf:
3076 @: $(MAKE); $(unstage)
3077 @r=`${PWD_COMMAND}`; export r; \
3078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3079 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3081 $(HOST_EXPORTS) \
3082 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3083 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3084 case $(srcdir) in \
3085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3086 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3088 esac; \
3089 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3090 libsrcdir="$$s/autoconf"; \
3091 $(SHELL) $${libsrcdir}/configure \
3092 $(HOST_CONFIGARGS) $${srcdiroption} \
3093 || exit 1
3094 @endif autoconf
3100 .PHONY: all-autoconf maybe-all-autoconf
3101 maybe-all-autoconf:
3102 @if autoconf
3103 TARGET-autoconf=all
3104 maybe-all-autoconf: all-autoconf
3105 all-autoconf: configure-autoconf
3106 @: $(MAKE); $(unstage)
3107 @r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 $(HOST_EXPORTS) \
3110 (cd $(HOST_SUBDIR)/autoconf && \
3111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3112 @endif autoconf
3117 .PHONY: check-autoconf maybe-check-autoconf
3118 maybe-check-autoconf:
3119 @if autoconf
3120 maybe-check-autoconf: check-autoconf
3122 check-autoconf:
3123 @: $(MAKE); $(unstage)
3124 @r=`${PWD_COMMAND}`; export r; \
3125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3126 $(HOST_EXPORTS) \
3127 (cd $(HOST_SUBDIR)/autoconf && \
3128 $(MAKE) $(FLAGS_TO_PASS) check)
3130 @endif autoconf
3132 .PHONY: install-autoconf maybe-install-autoconf
3133 maybe-install-autoconf:
3134 @if autoconf
3135 maybe-install-autoconf: install-autoconf
3137 install-autoconf: installdirs
3138 @: $(MAKE); $(unstage)
3139 @r=`${PWD_COMMAND}`; export r; \
3140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3141 $(HOST_EXPORTS) \
3142 (cd $(HOST_SUBDIR)/autoconf && \
3143 $(MAKE) $(FLAGS_TO_PASS) install)
3145 @endif autoconf
3147 # Other targets (info, dvi, etc.)
3149 .PHONY: maybe-info-autoconf info-autoconf
3150 maybe-info-autoconf:
3151 @if autoconf
3152 maybe-info-autoconf: info-autoconf
3154 info-autoconf: \
3155 configure-autoconf
3156 @: $(MAKE); $(unstage)
3157 @[ -f ./autoconf/Makefile ] || exit 0; \
3158 r=`${PWD_COMMAND}`; export r; \
3159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 $(HOST_EXPORTS) \
3161 for flag in $(EXTRA_HOST_FLAGS) ; do \
3162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3163 done; \
3164 echo "Doing info in autoconf" ; \
3165 (cd $(HOST_SUBDIR)/autoconf && \
3166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3168 "RANLIB=$${RANLIB}" \
3169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3170 info) \
3171 || exit 1
3173 @endif autoconf
3175 .PHONY: maybe-dvi-autoconf dvi-autoconf
3176 maybe-dvi-autoconf:
3177 @if autoconf
3178 maybe-dvi-autoconf: dvi-autoconf
3180 dvi-autoconf: \
3181 configure-autoconf
3182 @: $(MAKE); $(unstage)
3183 @[ -f ./autoconf/Makefile ] || exit 0; \
3184 r=`${PWD_COMMAND}`; export r; \
3185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3186 $(HOST_EXPORTS) \
3187 for flag in $(EXTRA_HOST_FLAGS) ; do \
3188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3189 done; \
3190 echo "Doing dvi in autoconf" ; \
3191 (cd $(HOST_SUBDIR)/autoconf && \
3192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3194 "RANLIB=$${RANLIB}" \
3195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3196 dvi) \
3197 || exit 1
3199 @endif autoconf
3201 .PHONY: maybe-html-autoconf html-autoconf
3202 maybe-html-autoconf:
3203 @if autoconf
3204 maybe-html-autoconf: html-autoconf
3206 html-autoconf: \
3207 configure-autoconf
3208 @: $(MAKE); $(unstage)
3209 @[ -f ./autoconf/Makefile ] || exit 0; \
3210 r=`${PWD_COMMAND}`; export r; \
3211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3212 $(HOST_EXPORTS) \
3213 for flag in $(EXTRA_HOST_FLAGS) ; do \
3214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3215 done; \
3216 echo "Doing html in autoconf" ; \
3217 (cd $(HOST_SUBDIR)/autoconf && \
3218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3220 "RANLIB=$${RANLIB}" \
3221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3222 html) \
3223 || exit 1
3225 @endif autoconf
3227 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3228 maybe-TAGS-autoconf:
3229 @if autoconf
3230 maybe-TAGS-autoconf: TAGS-autoconf
3232 TAGS-autoconf: \
3233 configure-autoconf
3234 @: $(MAKE); $(unstage)
3235 @[ -f ./autoconf/Makefile ] || exit 0; \
3236 r=`${PWD_COMMAND}`; export r; \
3237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3238 $(HOST_EXPORTS) \
3239 for flag in $(EXTRA_HOST_FLAGS) ; do \
3240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3241 done; \
3242 echo "Doing TAGS in autoconf" ; \
3243 (cd $(HOST_SUBDIR)/autoconf && \
3244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3246 "RANLIB=$${RANLIB}" \
3247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3248 TAGS) \
3249 || exit 1
3251 @endif autoconf
3253 .PHONY: maybe-install-info-autoconf install-info-autoconf
3254 maybe-install-info-autoconf:
3255 @if autoconf
3256 maybe-install-info-autoconf: install-info-autoconf
3258 install-info-autoconf: \
3259 configure-autoconf \
3260 info-autoconf
3261 @: $(MAKE); $(unstage)
3262 @[ -f ./autoconf/Makefile ] || exit 0; \
3263 r=`${PWD_COMMAND}`; export r; \
3264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3265 $(HOST_EXPORTS) \
3266 for flag in $(EXTRA_HOST_FLAGS) ; do \
3267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3268 done; \
3269 echo "Doing install-info in autoconf" ; \
3270 (cd $(HOST_SUBDIR)/autoconf && \
3271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3273 "RANLIB=$${RANLIB}" \
3274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3275 install-info) \
3276 || exit 1
3278 @endif autoconf
3280 .PHONY: maybe-install-html-autoconf install-html-autoconf
3281 maybe-install-html-autoconf:
3282 @if autoconf
3283 maybe-install-html-autoconf: install-html-autoconf
3285 install-html-autoconf: \
3286 configure-autoconf \
3287 html-autoconf
3288 @: $(MAKE); $(unstage)
3289 @[ -f ./autoconf/Makefile ] || exit 0; \
3290 r=`${PWD_COMMAND}`; export r; \
3291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3292 $(HOST_EXPORTS) \
3293 for flag in $(EXTRA_HOST_FLAGS) ; do \
3294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3295 done; \
3296 echo "Doing install-html in autoconf" ; \
3297 (cd $(HOST_SUBDIR)/autoconf && \
3298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3300 "RANLIB=$${RANLIB}" \
3301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3302 install-html) \
3303 || exit 1
3305 @endif autoconf
3307 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3308 maybe-installcheck-autoconf:
3309 @if autoconf
3310 maybe-installcheck-autoconf: installcheck-autoconf
3312 installcheck-autoconf: \
3313 configure-autoconf
3314 @: $(MAKE); $(unstage)
3315 @[ -f ./autoconf/Makefile ] || exit 0; \
3316 r=`${PWD_COMMAND}`; export r; \
3317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3318 $(HOST_EXPORTS) \
3319 for flag in $(EXTRA_HOST_FLAGS) ; do \
3320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3321 done; \
3322 echo "Doing installcheck in autoconf" ; \
3323 (cd $(HOST_SUBDIR)/autoconf && \
3324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3326 "RANLIB=$${RANLIB}" \
3327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3328 installcheck) \
3329 || exit 1
3331 @endif autoconf
3333 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3334 maybe-mostlyclean-autoconf:
3335 @if autoconf
3336 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3338 mostlyclean-autoconf:
3339 @: $(MAKE); $(unstage)
3340 @[ -f ./autoconf/Makefile ] || exit 0; \
3341 r=`${PWD_COMMAND}`; export r; \
3342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343 $(HOST_EXPORTS) \
3344 for flag in $(EXTRA_HOST_FLAGS) ; do \
3345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3346 done; \
3347 echo "Doing mostlyclean in autoconf" ; \
3348 (cd $(HOST_SUBDIR)/autoconf && \
3349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3351 "RANLIB=$${RANLIB}" \
3352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3353 mostlyclean) \
3354 || exit 1
3356 @endif autoconf
3358 .PHONY: maybe-clean-autoconf clean-autoconf
3359 maybe-clean-autoconf:
3360 @if autoconf
3361 maybe-clean-autoconf: clean-autoconf
3363 clean-autoconf:
3364 @: $(MAKE); $(unstage)
3365 @[ -f ./autoconf/Makefile ] || exit 0; \
3366 r=`${PWD_COMMAND}`; export r; \
3367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3368 $(HOST_EXPORTS) \
3369 for flag in $(EXTRA_HOST_FLAGS) ; do \
3370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3371 done; \
3372 echo "Doing clean in autoconf" ; \
3373 (cd $(HOST_SUBDIR)/autoconf && \
3374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3376 "RANLIB=$${RANLIB}" \
3377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3378 clean) \
3379 || exit 1
3381 @endif autoconf
3383 .PHONY: maybe-distclean-autoconf distclean-autoconf
3384 maybe-distclean-autoconf:
3385 @if autoconf
3386 maybe-distclean-autoconf: distclean-autoconf
3388 distclean-autoconf:
3389 @: $(MAKE); $(unstage)
3390 @[ -f ./autoconf/Makefile ] || exit 0; \
3391 r=`${PWD_COMMAND}`; export r; \
3392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3393 $(HOST_EXPORTS) \
3394 for flag in $(EXTRA_HOST_FLAGS) ; do \
3395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3396 done; \
3397 echo "Doing distclean in autoconf" ; \
3398 (cd $(HOST_SUBDIR)/autoconf && \
3399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3401 "RANLIB=$${RANLIB}" \
3402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3403 distclean) \
3404 || exit 1
3406 @endif autoconf
3408 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3409 maybe-maintainer-clean-autoconf:
3410 @if autoconf
3411 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3413 maintainer-clean-autoconf:
3414 @: $(MAKE); $(unstage)
3415 @[ -f ./autoconf/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 maintainer-clean in autoconf" ; \
3423 (cd $(HOST_SUBDIR)/autoconf && \
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 maintainer-clean) \
3429 || exit 1
3431 @endif autoconf
3435 .PHONY: configure-automake maybe-configure-automake
3436 maybe-configure-automake:
3437 @if automake
3438 maybe-configure-automake: configure-automake
3439 configure-automake:
3440 @: $(MAKE); $(unstage)
3441 @r=`${PWD_COMMAND}`; export r; \
3442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3443 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3445 $(HOST_EXPORTS) \
3446 echo Configuring in $(HOST_SUBDIR)/automake; \
3447 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3448 case $(srcdir) in \
3449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3450 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3452 esac; \
3453 srcdiroption="--srcdir=$${topdir}/automake"; \
3454 libsrcdir="$$s/automake"; \
3455 $(SHELL) $${libsrcdir}/configure \
3456 $(HOST_CONFIGARGS) $${srcdiroption} \
3457 || exit 1
3458 @endif automake
3464 .PHONY: all-automake maybe-all-automake
3465 maybe-all-automake:
3466 @if automake
3467 TARGET-automake=all
3468 maybe-all-automake: all-automake
3469 all-automake: configure-automake
3470 @: $(MAKE); $(unstage)
3471 @r=`${PWD_COMMAND}`; export r; \
3472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3473 $(HOST_EXPORTS) \
3474 (cd $(HOST_SUBDIR)/automake && \
3475 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3476 @endif automake
3481 .PHONY: check-automake maybe-check-automake
3482 maybe-check-automake:
3483 @if automake
3484 maybe-check-automake: check-automake
3486 check-automake:
3487 @: $(MAKE); $(unstage)
3488 @r=`${PWD_COMMAND}`; export r; \
3489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3490 $(HOST_EXPORTS) \
3491 (cd $(HOST_SUBDIR)/automake && \
3492 $(MAKE) $(FLAGS_TO_PASS) check)
3494 @endif automake
3496 .PHONY: install-automake maybe-install-automake
3497 maybe-install-automake:
3498 @if automake
3499 maybe-install-automake: install-automake
3501 install-automake: installdirs
3502 @: $(MAKE); $(unstage)
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(HOST_EXPORTS) \
3506 (cd $(HOST_SUBDIR)/automake && \
3507 $(MAKE) $(FLAGS_TO_PASS) install)
3509 @endif automake
3511 # Other targets (info, dvi, etc.)
3513 .PHONY: maybe-info-automake info-automake
3514 maybe-info-automake:
3515 @if automake
3516 maybe-info-automake: info-automake
3518 info-automake: \
3519 configure-automake
3520 @: $(MAKE); $(unstage)
3521 @[ -f ./automake/Makefile ] || exit 0; \
3522 r=`${PWD_COMMAND}`; export r; \
3523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 $(HOST_EXPORTS) \
3525 for flag in $(EXTRA_HOST_FLAGS) ; do \
3526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 done; \
3528 echo "Doing info in automake" ; \
3529 (cd $(HOST_SUBDIR)/automake && \
3530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3532 "RANLIB=$${RANLIB}" \
3533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3534 info) \
3535 || exit 1
3537 @endif automake
3539 .PHONY: maybe-dvi-automake dvi-automake
3540 maybe-dvi-automake:
3541 @if automake
3542 maybe-dvi-automake: dvi-automake
3544 dvi-automake: \
3545 configure-automake
3546 @: $(MAKE); $(unstage)
3547 @[ -f ./automake/Makefile ] || exit 0; \
3548 r=`${PWD_COMMAND}`; export r; \
3549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 $(HOST_EXPORTS) \
3551 for flag in $(EXTRA_HOST_FLAGS) ; do \
3552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 done; \
3554 echo "Doing dvi in automake" ; \
3555 (cd $(HOST_SUBDIR)/automake && \
3556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3558 "RANLIB=$${RANLIB}" \
3559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3560 dvi) \
3561 || exit 1
3563 @endif automake
3565 .PHONY: maybe-html-automake html-automake
3566 maybe-html-automake:
3567 @if automake
3568 maybe-html-automake: html-automake
3570 html-automake: \
3571 configure-automake
3572 @: $(MAKE); $(unstage)
3573 @[ -f ./automake/Makefile ] || exit 0; \
3574 r=`${PWD_COMMAND}`; export r; \
3575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3576 $(HOST_EXPORTS) \
3577 for flag in $(EXTRA_HOST_FLAGS) ; do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing html in automake" ; \
3581 (cd $(HOST_SUBDIR)/automake && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 html) \
3587 || exit 1
3589 @endif automake
3591 .PHONY: maybe-TAGS-automake TAGS-automake
3592 maybe-TAGS-automake:
3593 @if automake
3594 maybe-TAGS-automake: TAGS-automake
3596 TAGS-automake: \
3597 configure-automake
3598 @: $(MAKE); $(unstage)
3599 @[ -f ./automake/Makefile ] || exit 0; \
3600 r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 $(HOST_EXPORTS) \
3603 for flag in $(EXTRA_HOST_FLAGS) ; do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3605 done; \
3606 echo "Doing TAGS in automake" ; \
3607 (cd $(HOST_SUBDIR)/automake && \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3612 TAGS) \
3613 || exit 1
3615 @endif automake
3617 .PHONY: maybe-install-info-automake install-info-automake
3618 maybe-install-info-automake:
3619 @if automake
3620 maybe-install-info-automake: install-info-automake
3622 install-info-automake: \
3623 configure-automake \
3624 info-automake
3625 @: $(MAKE); $(unstage)
3626 @[ -f ./automake/Makefile ] || exit 0; \
3627 r=`${PWD_COMMAND}`; export r; \
3628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3629 $(HOST_EXPORTS) \
3630 for flag in $(EXTRA_HOST_FLAGS) ; do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3632 done; \
3633 echo "Doing install-info in automake" ; \
3634 (cd $(HOST_SUBDIR)/automake && \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3639 install-info) \
3640 || exit 1
3642 @endif automake
3644 .PHONY: maybe-install-html-automake install-html-automake
3645 maybe-install-html-automake:
3646 @if automake
3647 maybe-install-html-automake: install-html-automake
3649 install-html-automake: \
3650 configure-automake \
3651 html-automake
3652 @: $(MAKE); $(unstage)
3653 @[ -f ./automake/Makefile ] || exit 0; \
3654 r=`${PWD_COMMAND}`; export r; \
3655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3656 $(HOST_EXPORTS) \
3657 for flag in $(EXTRA_HOST_FLAGS) ; do \
3658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3659 done; \
3660 echo "Doing install-html in automake" ; \
3661 (cd $(HOST_SUBDIR)/automake && \
3662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3664 "RANLIB=$${RANLIB}" \
3665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3666 install-html) \
3667 || exit 1
3669 @endif automake
3671 .PHONY: maybe-installcheck-automake installcheck-automake
3672 maybe-installcheck-automake:
3673 @if automake
3674 maybe-installcheck-automake: installcheck-automake
3676 installcheck-automake: \
3677 configure-automake
3678 @: $(MAKE); $(unstage)
3679 @[ -f ./automake/Makefile ] || exit 0; \
3680 r=`${PWD_COMMAND}`; export r; \
3681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3682 $(HOST_EXPORTS) \
3683 for flag in $(EXTRA_HOST_FLAGS) ; do \
3684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3685 done; \
3686 echo "Doing installcheck in automake" ; \
3687 (cd $(HOST_SUBDIR)/automake && \
3688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3690 "RANLIB=$${RANLIB}" \
3691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3692 installcheck) \
3693 || exit 1
3695 @endif automake
3697 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3698 maybe-mostlyclean-automake:
3699 @if automake
3700 maybe-mostlyclean-automake: mostlyclean-automake
3702 mostlyclean-automake:
3703 @: $(MAKE); $(unstage)
3704 @[ -f ./automake/Makefile ] || exit 0; \
3705 r=`${PWD_COMMAND}`; export r; \
3706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3707 $(HOST_EXPORTS) \
3708 for flag in $(EXTRA_HOST_FLAGS) ; do \
3709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3710 done; \
3711 echo "Doing mostlyclean in automake" ; \
3712 (cd $(HOST_SUBDIR)/automake && \
3713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3715 "RANLIB=$${RANLIB}" \
3716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3717 mostlyclean) \
3718 || exit 1
3720 @endif automake
3722 .PHONY: maybe-clean-automake clean-automake
3723 maybe-clean-automake:
3724 @if automake
3725 maybe-clean-automake: clean-automake
3727 clean-automake:
3728 @: $(MAKE); $(unstage)
3729 @[ -f ./automake/Makefile ] || exit 0; \
3730 r=`${PWD_COMMAND}`; export r; \
3731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3732 $(HOST_EXPORTS) \
3733 for flag in $(EXTRA_HOST_FLAGS) ; do \
3734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3735 done; \
3736 echo "Doing clean in automake" ; \
3737 (cd $(HOST_SUBDIR)/automake && \
3738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3740 "RANLIB=$${RANLIB}" \
3741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3742 clean) \
3743 || exit 1
3745 @endif automake
3747 .PHONY: maybe-distclean-automake distclean-automake
3748 maybe-distclean-automake:
3749 @if automake
3750 maybe-distclean-automake: distclean-automake
3752 distclean-automake:
3753 @: $(MAKE); $(unstage)
3754 @[ -f ./automake/Makefile ] || exit 0; \
3755 r=`${PWD_COMMAND}`; export r; \
3756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3757 $(HOST_EXPORTS) \
3758 for flag in $(EXTRA_HOST_FLAGS) ; do \
3759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3760 done; \
3761 echo "Doing distclean in automake" ; \
3762 (cd $(HOST_SUBDIR)/automake && \
3763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3765 "RANLIB=$${RANLIB}" \
3766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3767 distclean) \
3768 || exit 1
3770 @endif automake
3772 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3773 maybe-maintainer-clean-automake:
3774 @if automake
3775 maybe-maintainer-clean-automake: maintainer-clean-automake
3777 maintainer-clean-automake:
3778 @: $(MAKE); $(unstage)
3779 @[ -f ./automake/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 maintainer-clean in automake" ; \
3787 (cd $(HOST_SUBDIR)/automake && \
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 maintainer-clean) \
3793 || exit 1
3795 @endif automake
3799 .PHONY: configure-bash maybe-configure-bash
3800 maybe-configure-bash:
3801 @if bash
3802 maybe-configure-bash: configure-bash
3803 configure-bash:
3804 @: $(MAKE); $(unstage)
3805 @r=`${PWD_COMMAND}`; export r; \
3806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3807 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3809 $(HOST_EXPORTS) \
3810 echo Configuring in $(HOST_SUBDIR)/bash; \
3811 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3812 case $(srcdir) in \
3813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3814 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3816 esac; \
3817 srcdiroption="--srcdir=$${topdir}/bash"; \
3818 libsrcdir="$$s/bash"; \
3819 $(SHELL) $${libsrcdir}/configure \
3820 $(HOST_CONFIGARGS) $${srcdiroption} \
3821 || exit 1
3822 @endif bash
3828 .PHONY: all-bash maybe-all-bash
3829 maybe-all-bash:
3830 @if bash
3831 TARGET-bash=all
3832 maybe-all-bash: all-bash
3833 all-bash: configure-bash
3834 @: $(MAKE); $(unstage)
3835 @r=`${PWD_COMMAND}`; export r; \
3836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3837 $(HOST_EXPORTS) \
3838 (cd $(HOST_SUBDIR)/bash && \
3839 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3840 @endif bash
3845 .PHONY: check-bash maybe-check-bash
3846 maybe-check-bash:
3847 @if bash
3848 maybe-check-bash: check-bash
3850 check-bash:
3851 @: $(MAKE); $(unstage)
3852 @r=`${PWD_COMMAND}`; export r; \
3853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 $(HOST_EXPORTS) \
3855 (cd $(HOST_SUBDIR)/bash && \
3856 $(MAKE) $(FLAGS_TO_PASS) check)
3858 @endif bash
3860 .PHONY: install-bash maybe-install-bash
3861 maybe-install-bash:
3862 @if bash
3863 maybe-install-bash: install-bash
3865 install-bash: installdirs
3866 @: $(MAKE); $(unstage)
3867 @r=`${PWD_COMMAND}`; export r; \
3868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869 $(HOST_EXPORTS) \
3870 (cd $(HOST_SUBDIR)/bash && \
3871 $(MAKE) $(FLAGS_TO_PASS) install)
3873 @endif bash
3875 # Other targets (info, dvi, etc.)
3877 .PHONY: maybe-info-bash info-bash
3878 maybe-info-bash:
3879 @if bash
3880 maybe-info-bash: info-bash
3882 info-bash: \
3883 configure-bash
3884 @: $(MAKE); $(unstage)
3885 @[ -f ./bash/Makefile ] || exit 0; \
3886 r=`${PWD_COMMAND}`; export r; \
3887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3888 $(HOST_EXPORTS) \
3889 for flag in $(EXTRA_HOST_FLAGS) ; do \
3890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3891 done; \
3892 echo "Doing info in bash" ; \
3893 (cd $(HOST_SUBDIR)/bash && \
3894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3896 "RANLIB=$${RANLIB}" \
3897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3898 info) \
3899 || exit 1
3901 @endif bash
3903 .PHONY: maybe-dvi-bash dvi-bash
3904 maybe-dvi-bash:
3905 @if bash
3906 maybe-dvi-bash: dvi-bash
3908 dvi-bash: \
3909 configure-bash
3910 @: $(MAKE); $(unstage)
3911 @[ -f ./bash/Makefile ] || exit 0; \
3912 r=`${PWD_COMMAND}`; export r; \
3913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3914 $(HOST_EXPORTS) \
3915 for flag in $(EXTRA_HOST_FLAGS) ; do \
3916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3917 done; \
3918 echo "Doing dvi in bash" ; \
3919 (cd $(HOST_SUBDIR)/bash && \
3920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3922 "RANLIB=$${RANLIB}" \
3923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3924 dvi) \
3925 || exit 1
3927 @endif bash
3929 .PHONY: maybe-html-bash html-bash
3930 maybe-html-bash:
3931 @if bash
3932 maybe-html-bash: html-bash
3934 html-bash: \
3935 configure-bash
3936 @: $(MAKE); $(unstage)
3937 @[ -f ./bash/Makefile ] || exit 0; \
3938 r=`${PWD_COMMAND}`; export r; \
3939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3940 $(HOST_EXPORTS) \
3941 for flag in $(EXTRA_HOST_FLAGS) ; do \
3942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3943 done; \
3944 echo "Doing html in bash" ; \
3945 (cd $(HOST_SUBDIR)/bash && \
3946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3948 "RANLIB=$${RANLIB}" \
3949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3950 html) \
3951 || exit 1
3953 @endif bash
3955 .PHONY: maybe-TAGS-bash TAGS-bash
3956 maybe-TAGS-bash:
3957 @if bash
3958 maybe-TAGS-bash: TAGS-bash
3960 TAGS-bash: \
3961 configure-bash
3962 @: $(MAKE); $(unstage)
3963 @[ -f ./bash/Makefile ] || exit 0; \
3964 r=`${PWD_COMMAND}`; export r; \
3965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3966 $(HOST_EXPORTS) \
3967 for flag in $(EXTRA_HOST_FLAGS) ; do \
3968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3969 done; \
3970 echo "Doing TAGS in bash" ; \
3971 (cd $(HOST_SUBDIR)/bash && \
3972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3974 "RANLIB=$${RANLIB}" \
3975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3976 TAGS) \
3977 || exit 1
3979 @endif bash
3981 .PHONY: maybe-install-info-bash install-info-bash
3982 maybe-install-info-bash:
3983 @if bash
3984 maybe-install-info-bash: install-info-bash
3986 install-info-bash: \
3987 configure-bash \
3988 info-bash
3989 @: $(MAKE); $(unstage)
3990 @[ -f ./bash/Makefile ] || exit 0; \
3991 r=`${PWD_COMMAND}`; export r; \
3992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3993 $(HOST_EXPORTS) \
3994 for flag in $(EXTRA_HOST_FLAGS) ; do \
3995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3996 done; \
3997 echo "Doing install-info in bash" ; \
3998 (cd $(HOST_SUBDIR)/bash && \
3999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4001 "RANLIB=$${RANLIB}" \
4002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4003 install-info) \
4004 || exit 1
4006 @endif bash
4008 .PHONY: maybe-install-html-bash install-html-bash
4009 maybe-install-html-bash:
4010 @if bash
4011 maybe-install-html-bash: install-html-bash
4013 install-html-bash: \
4014 configure-bash \
4015 html-bash
4016 @: $(MAKE); $(unstage)
4017 @[ -f ./bash/Makefile ] || exit 0; \
4018 r=`${PWD_COMMAND}`; export r; \
4019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4020 $(HOST_EXPORTS) \
4021 for flag in $(EXTRA_HOST_FLAGS) ; do \
4022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4023 done; \
4024 echo "Doing install-html in bash" ; \
4025 (cd $(HOST_SUBDIR)/bash && \
4026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4028 "RANLIB=$${RANLIB}" \
4029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4030 install-html) \
4031 || exit 1
4033 @endif bash
4035 .PHONY: maybe-installcheck-bash installcheck-bash
4036 maybe-installcheck-bash:
4037 @if bash
4038 maybe-installcheck-bash: installcheck-bash
4040 installcheck-bash: \
4041 configure-bash
4042 @: $(MAKE); $(unstage)
4043 @[ -f ./bash/Makefile ] || exit 0; \
4044 r=`${PWD_COMMAND}`; export r; \
4045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4046 $(HOST_EXPORTS) \
4047 for flag in $(EXTRA_HOST_FLAGS) ; do \
4048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4049 done; \
4050 echo "Doing installcheck in bash" ; \
4051 (cd $(HOST_SUBDIR)/bash && \
4052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4054 "RANLIB=$${RANLIB}" \
4055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4056 installcheck) \
4057 || exit 1
4059 @endif bash
4061 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4062 maybe-mostlyclean-bash:
4063 @if bash
4064 maybe-mostlyclean-bash: mostlyclean-bash
4066 mostlyclean-bash:
4067 @: $(MAKE); $(unstage)
4068 @[ -f ./bash/Makefile ] || exit 0; \
4069 r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071 $(HOST_EXPORTS) \
4072 for flag in $(EXTRA_HOST_FLAGS) ; do \
4073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4074 done; \
4075 echo "Doing mostlyclean in bash" ; \
4076 (cd $(HOST_SUBDIR)/bash && \
4077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4079 "RANLIB=$${RANLIB}" \
4080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4081 mostlyclean) \
4082 || exit 1
4084 @endif bash
4086 .PHONY: maybe-clean-bash clean-bash
4087 maybe-clean-bash:
4088 @if bash
4089 maybe-clean-bash: clean-bash
4091 clean-bash:
4092 @: $(MAKE); $(unstage)
4093 @[ -f ./bash/Makefile ] || exit 0; \
4094 r=`${PWD_COMMAND}`; export r; \
4095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4096 $(HOST_EXPORTS) \
4097 for flag in $(EXTRA_HOST_FLAGS) ; do \
4098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4099 done; \
4100 echo "Doing clean in bash" ; \
4101 (cd $(HOST_SUBDIR)/bash && \
4102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4104 "RANLIB=$${RANLIB}" \
4105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4106 clean) \
4107 || exit 1
4109 @endif bash
4111 .PHONY: maybe-distclean-bash distclean-bash
4112 maybe-distclean-bash:
4113 @if bash
4114 maybe-distclean-bash: distclean-bash
4116 distclean-bash:
4117 @: $(MAKE); $(unstage)
4118 @[ -f ./bash/Makefile ] || exit 0; \
4119 r=`${PWD_COMMAND}`; export r; \
4120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4121 $(HOST_EXPORTS) \
4122 for flag in $(EXTRA_HOST_FLAGS) ; do \
4123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4124 done; \
4125 echo "Doing distclean in bash" ; \
4126 (cd $(HOST_SUBDIR)/bash && \
4127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4129 "RANLIB=$${RANLIB}" \
4130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4131 distclean) \
4132 || exit 1
4134 @endif bash
4136 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4137 maybe-maintainer-clean-bash:
4138 @if bash
4139 maybe-maintainer-clean-bash: maintainer-clean-bash
4141 maintainer-clean-bash:
4142 @: $(MAKE); $(unstage)
4143 @[ -f ./bash/Makefile ] || exit 0; \
4144 r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 $(HOST_EXPORTS) \
4147 for flag in $(EXTRA_HOST_FLAGS) ; do \
4148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4149 done; \
4150 echo "Doing maintainer-clean in bash" ; \
4151 (cd $(HOST_SUBDIR)/bash && \
4152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4154 "RANLIB=$${RANLIB}" \
4155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4156 maintainer-clean) \
4157 || exit 1
4159 @endif bash
4163 .PHONY: configure-bfd maybe-configure-bfd
4164 maybe-configure-bfd:
4165 @if bfd
4166 maybe-configure-bfd: configure-bfd
4167 configure-bfd:
4168 @endif bfd
4169 @if bfd-bootstrap
4170 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4171 @endif bfd-bootstrap
4172 @if bfd
4173 @r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4177 $(HOST_EXPORTS) \
4178 echo Configuring in $(HOST_SUBDIR)/bfd; \
4179 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4180 case $(srcdir) in \
4181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4182 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4184 esac; \
4185 srcdiroption="--srcdir=$${topdir}/bfd"; \
4186 libsrcdir="$$s/bfd"; \
4187 $(SHELL) $${libsrcdir}/configure \
4188 $(HOST_CONFIGARGS) $${srcdiroption} \
4189 || exit 1
4190 @endif bfd
4194 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4195 maybe-configure-stage1-bfd:
4196 @if bfd-bootstrap
4197 maybe-configure-stage1-bfd: configure-stage1-bfd
4198 configure-stage1-bfd:
4199 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4200 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4201 @r=`${PWD_COMMAND}`; export r; \
4202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4203 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4204 $(HOST_EXPORTS) \
4205 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4207 cd $(HOST_SUBDIR)/bfd || exit 1; \
4208 case $(srcdir) in \
4209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4210 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4212 esac; \
4213 srcdiroption="--srcdir=$${topdir}/bfd"; \
4214 libsrcdir="$$s/bfd"; \
4215 $(SHELL) $${libsrcdir}/configure \
4216 $(HOST_CONFIGARGS) $${srcdiroption} \
4217 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4218 @endif bfd-bootstrap
4220 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4221 maybe-configure-stage2-bfd:
4222 @if bfd-bootstrap
4223 maybe-configure-stage2-bfd: configure-stage2-bfd
4224 configure-stage2-bfd:
4225 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4227 @r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4229 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4230 $(HOST_EXPORTS) \
4231 $(POSTSTAGE1_HOST_EXPORTS) \
4232 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4234 cd $(HOST_SUBDIR)/bfd || exit 1; \
4235 case $(srcdir) in \
4236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4237 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4239 esac; \
4240 srcdiroption="--srcdir=$${topdir}/bfd"; \
4241 libsrcdir="$$s/bfd"; \
4242 $(SHELL) $${libsrcdir}/configure \
4243 $(HOST_CONFIGARGS) $${srcdiroption} \
4244 @stage2_werror_flag@
4245 @endif bfd-bootstrap
4247 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4248 maybe-configure-stage3-bfd:
4249 @if bfd-bootstrap
4250 maybe-configure-stage3-bfd: configure-stage3-bfd
4251 configure-stage3-bfd:
4252 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4253 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4254 @r=`${PWD_COMMAND}`; export r; \
4255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4256 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4257 $(HOST_EXPORTS) \
4258 $(POSTSTAGE1_HOST_EXPORTS) \
4259 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4261 cd $(HOST_SUBDIR)/bfd || exit 1; \
4262 case $(srcdir) in \
4263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4264 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4266 esac; \
4267 srcdiroption="--srcdir=$${topdir}/bfd"; \
4268 libsrcdir="$$s/bfd"; \
4269 $(SHELL) $${libsrcdir}/configure \
4270 $(HOST_CONFIGARGS) $${srcdiroption} \
4271 @stage2_werror_flag@
4272 @endif bfd-bootstrap
4274 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4275 maybe-configure-stage4-bfd:
4276 @if bfd-bootstrap
4277 maybe-configure-stage4-bfd: configure-stage4-bfd
4278 configure-stage4-bfd:
4279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4281 @r=`${PWD_COMMAND}`; export r; \
4282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4283 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4284 $(HOST_EXPORTS) \
4285 $(POSTSTAGE1_HOST_EXPORTS) \
4286 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4288 cd $(HOST_SUBDIR)/bfd || exit 1; \
4289 case $(srcdir) in \
4290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4291 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4293 esac; \
4294 srcdiroption="--srcdir=$${topdir}/bfd"; \
4295 libsrcdir="$$s/bfd"; \
4296 $(SHELL) $${libsrcdir}/configure \
4297 $(HOST_CONFIGARGS) $${srcdiroption} \
4298 @stage2_werror_flag@
4299 @endif bfd-bootstrap
4301 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4302 maybe-configure-stageprofile-bfd:
4303 @if bfd-bootstrap
4304 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4305 configure-stageprofile-bfd:
4306 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4308 @r=`${PWD_COMMAND}`; export r; \
4309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4310 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4311 $(HOST_EXPORTS) \
4312 $(POSTSTAGE1_HOST_EXPORTS) \
4313 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4315 cd $(HOST_SUBDIR)/bfd || exit 1; \
4316 case $(srcdir) in \
4317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4318 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4320 esac; \
4321 srcdiroption="--srcdir=$${topdir}/bfd"; \
4322 libsrcdir="$$s/bfd"; \
4323 $(SHELL) $${libsrcdir}/configure \
4324 $(HOST_CONFIGARGS) $${srcdiroption} \
4325 @stage2_werror_flag@
4326 @endif bfd-bootstrap
4328 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4329 maybe-configure-stagefeedback-bfd:
4330 @if bfd-bootstrap
4331 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4332 configure-stagefeedback-bfd:
4333 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4335 @r=`${PWD_COMMAND}`; export r; \
4336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4337 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4338 $(HOST_EXPORTS) \
4339 $(POSTSTAGE1_HOST_EXPORTS) \
4340 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4342 cd $(HOST_SUBDIR)/bfd || exit 1; \
4343 case $(srcdir) in \
4344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4345 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4347 esac; \
4348 srcdiroption="--srcdir=$${topdir}/bfd"; \
4349 libsrcdir="$$s/bfd"; \
4350 $(SHELL) $${libsrcdir}/configure \
4351 $(HOST_CONFIGARGS) $${srcdiroption} \
4352 @stage2_werror_flag@
4353 @endif bfd-bootstrap
4359 .PHONY: all-bfd maybe-all-bfd
4360 maybe-all-bfd:
4361 @if bfd
4362 TARGET-bfd=all
4363 maybe-all-bfd: all-bfd
4364 all-bfd: configure-bfd
4365 @endif bfd
4366 @if bfd-bootstrap
4367 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4368 @endif bfd-bootstrap
4369 @if bfd
4370 @r=`${PWD_COMMAND}`; export r; \
4371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4372 $(HOST_EXPORTS) \
4373 (cd $(HOST_SUBDIR)/bfd && \
4374 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4375 @endif bfd
4379 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4380 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4381 maybe-all-stage1-bfd:
4382 maybe-clean-stage1-bfd:
4383 @if bfd-bootstrap
4384 maybe-all-stage1-bfd: all-stage1-bfd
4385 all-stage1: all-stage1-bfd
4386 TARGET-stage1-bfd = $(TARGET-bfd)
4387 all-stage1-bfd: configure-stage1-bfd
4388 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4389 @r=`${PWD_COMMAND}`; export r; \
4390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4391 $(HOST_EXPORTS) \
4392 cd $(HOST_SUBDIR)/bfd && \
4393 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4394 $(TARGET-stage1-bfd)
4396 maybe-clean-stage1-bfd: clean-stage1-bfd
4397 clean-stage1: clean-stage1-bfd
4398 clean-stage1-bfd:
4399 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4400 || exit 0 ; \
4401 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4402 cd $(HOST_SUBDIR)/bfd && \
4403 $(MAKE) $(FLAGS_TO_PASS) \
4404 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4405 @endif bfd-bootstrap
4408 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4409 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4410 maybe-all-stage2-bfd:
4411 maybe-clean-stage2-bfd:
4412 @if bfd-bootstrap
4413 maybe-all-stage2-bfd: all-stage2-bfd
4414 all-stage2: all-stage2-bfd
4415 TARGET-stage2-bfd = $(TARGET-bfd)
4416 all-stage2-bfd: configure-stage2-bfd
4417 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4418 @r=`${PWD_COMMAND}`; export r; \
4419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4420 $(HOST_EXPORTS) \
4421 $(POSTSTAGE1_HOST_EXPORTS) \
4422 cd $(HOST_SUBDIR)/bfd && \
4423 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4424 $(TARGET-stage2-bfd)
4426 maybe-clean-stage2-bfd: clean-stage2-bfd
4427 clean-stage2: clean-stage2-bfd
4428 clean-stage2-bfd:
4429 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4430 || exit 0 ; \
4431 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4432 cd $(HOST_SUBDIR)/bfd && \
4433 $(MAKE) $(FLAGS_TO_PASS) \
4434 $(POSTSTAGE1_FLAGS_TO_PASS) \
4435 clean
4436 @endif bfd-bootstrap
4439 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4440 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4441 maybe-all-stage3-bfd:
4442 maybe-clean-stage3-bfd:
4443 @if bfd-bootstrap
4444 maybe-all-stage3-bfd: all-stage3-bfd
4445 all-stage3: all-stage3-bfd
4446 TARGET-stage3-bfd = $(TARGET-bfd)
4447 all-stage3-bfd: configure-stage3-bfd
4448 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4449 @r=`${PWD_COMMAND}`; export r; \
4450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4451 $(HOST_EXPORTS) \
4452 $(POSTSTAGE1_HOST_EXPORTS) \
4453 cd $(HOST_SUBDIR)/bfd && \
4454 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4455 $(TARGET-stage3-bfd)
4457 maybe-clean-stage3-bfd: clean-stage3-bfd
4458 clean-stage3: clean-stage3-bfd
4459 clean-stage3-bfd:
4460 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4461 || exit 0 ; \
4462 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4463 cd $(HOST_SUBDIR)/bfd && \
4464 $(MAKE) $(FLAGS_TO_PASS) \
4465 $(POSTSTAGE1_FLAGS_TO_PASS) \
4466 clean
4467 @endif bfd-bootstrap
4470 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4471 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4472 maybe-all-stage4-bfd:
4473 maybe-clean-stage4-bfd:
4474 @if bfd-bootstrap
4475 maybe-all-stage4-bfd: all-stage4-bfd
4476 all-stage4: all-stage4-bfd
4477 TARGET-stage4-bfd = $(TARGET-bfd)
4478 all-stage4-bfd: configure-stage4-bfd
4479 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4480 @r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4482 $(HOST_EXPORTS) \
4483 $(POSTSTAGE1_HOST_EXPORTS) \
4484 cd $(HOST_SUBDIR)/bfd && \
4485 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4486 $(TARGET-stage4-bfd)
4488 maybe-clean-stage4-bfd: clean-stage4-bfd
4489 clean-stage4: clean-stage4-bfd
4490 clean-stage4-bfd:
4491 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4492 || exit 0 ; \
4493 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4494 cd $(HOST_SUBDIR)/bfd && \
4495 $(MAKE) $(FLAGS_TO_PASS) \
4496 $(POSTSTAGE1_FLAGS_TO_PASS) \
4497 clean
4498 @endif bfd-bootstrap
4501 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4502 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4503 maybe-all-stageprofile-bfd:
4504 maybe-clean-stageprofile-bfd:
4505 @if bfd-bootstrap
4506 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4507 all-stageprofile: all-stageprofile-bfd
4508 TARGET-stageprofile-bfd = $(TARGET-bfd)
4509 all-stageprofile-bfd: configure-stageprofile-bfd
4510 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4511 @r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 $(HOST_EXPORTS) \
4514 $(POSTSTAGE1_HOST_EXPORTS) \
4515 cd $(HOST_SUBDIR)/bfd && \
4516 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4517 $(TARGET-stageprofile-bfd)
4519 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4520 clean-stageprofile: clean-stageprofile-bfd
4521 clean-stageprofile-bfd:
4522 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4523 || exit 0 ; \
4524 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4525 cd $(HOST_SUBDIR)/bfd && \
4526 $(MAKE) $(FLAGS_TO_PASS) \
4527 $(POSTSTAGE1_FLAGS_TO_PASS) \
4528 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4529 @endif bfd-bootstrap
4532 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4533 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4534 maybe-all-stagefeedback-bfd:
4535 maybe-clean-stagefeedback-bfd:
4536 @if bfd-bootstrap
4537 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4538 all-stagefeedback: all-stagefeedback-bfd
4539 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4540 all-stagefeedback-bfd: configure-stagefeedback-bfd
4541 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4542 @r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 $(HOST_EXPORTS) \
4545 $(POSTSTAGE1_HOST_EXPORTS) \
4546 cd $(HOST_SUBDIR)/bfd && \
4547 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4548 $(TARGET-stagefeedback-bfd)
4550 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4551 clean-stagefeedback: clean-stagefeedback-bfd
4552 clean-stagefeedback-bfd:
4553 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4554 || exit 0 ; \
4555 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4556 cd $(HOST_SUBDIR)/bfd && \
4557 $(MAKE) $(FLAGS_TO_PASS) \
4558 $(POSTSTAGE1_FLAGS_TO_PASS) \
4559 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4560 @endif bfd-bootstrap
4566 .PHONY: check-bfd maybe-check-bfd
4567 maybe-check-bfd:
4568 @if bfd
4569 maybe-check-bfd: check-bfd
4571 check-bfd:
4572 @: $(MAKE); $(unstage)
4573 @r=`${PWD_COMMAND}`; export r; \
4574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4575 $(HOST_EXPORTS) \
4576 (cd $(HOST_SUBDIR)/bfd && \
4577 $(MAKE) $(FLAGS_TO_PASS) check)
4579 @endif bfd
4581 .PHONY: install-bfd maybe-install-bfd
4582 maybe-install-bfd:
4583 @if bfd
4584 maybe-install-bfd: install-bfd
4586 install-bfd: installdirs
4587 @: $(MAKE); $(unstage)
4588 @r=`${PWD_COMMAND}`; export r; \
4589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 $(HOST_EXPORTS) \
4591 (cd $(HOST_SUBDIR)/bfd && \
4592 $(MAKE) $(FLAGS_TO_PASS) install)
4594 @endif bfd
4596 # Other targets (info, dvi, etc.)
4598 .PHONY: maybe-info-bfd info-bfd
4599 maybe-info-bfd:
4600 @if bfd
4601 maybe-info-bfd: info-bfd
4603 info-bfd: \
4604 configure-bfd
4605 @[ -f ./bfd/Makefile ] || exit 0; \
4606 r=`${PWD_COMMAND}`; export r; \
4607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4608 $(HOST_EXPORTS) \
4609 for flag in $(EXTRA_HOST_FLAGS) ; do \
4610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4611 done; \
4612 echo "Doing info in bfd" ; \
4613 (cd $(HOST_SUBDIR)/bfd && \
4614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4616 "RANLIB=$${RANLIB}" \
4617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4618 info) \
4619 || exit 1
4621 @endif bfd
4623 .PHONY: maybe-dvi-bfd dvi-bfd
4624 maybe-dvi-bfd:
4625 @if bfd
4626 maybe-dvi-bfd: dvi-bfd
4628 dvi-bfd: \
4629 configure-bfd
4630 @[ -f ./bfd/Makefile ] || exit 0; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 $(HOST_EXPORTS) \
4634 for flag in $(EXTRA_HOST_FLAGS) ; do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4636 done; \
4637 echo "Doing dvi in bfd" ; \
4638 (cd $(HOST_SUBDIR)/bfd && \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4643 dvi) \
4644 || exit 1
4646 @endif bfd
4648 .PHONY: maybe-html-bfd html-bfd
4649 maybe-html-bfd:
4650 @if bfd
4651 maybe-html-bfd: html-bfd
4653 html-bfd: \
4654 configure-bfd
4655 @[ -f ./bfd/Makefile ] || exit 0; \
4656 r=`${PWD_COMMAND}`; export r; \
4657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4658 $(HOST_EXPORTS) \
4659 for flag in $(EXTRA_HOST_FLAGS) ; do \
4660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4661 done; \
4662 echo "Doing html in bfd" ; \
4663 (cd $(HOST_SUBDIR)/bfd && \
4664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4666 "RANLIB=$${RANLIB}" \
4667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4668 html) \
4669 || exit 1
4671 @endif bfd
4673 .PHONY: maybe-TAGS-bfd TAGS-bfd
4674 maybe-TAGS-bfd:
4675 @if bfd
4676 maybe-TAGS-bfd: TAGS-bfd
4678 TAGS-bfd: \
4679 configure-bfd
4680 @[ -f ./bfd/Makefile ] || exit 0; \
4681 r=`${PWD_COMMAND}`; export r; \
4682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4683 $(HOST_EXPORTS) \
4684 for flag in $(EXTRA_HOST_FLAGS) ; do \
4685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4686 done; \
4687 echo "Doing TAGS in bfd" ; \
4688 (cd $(HOST_SUBDIR)/bfd && \
4689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4691 "RANLIB=$${RANLIB}" \
4692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4693 TAGS) \
4694 || exit 1
4696 @endif bfd
4698 .PHONY: maybe-install-info-bfd install-info-bfd
4699 maybe-install-info-bfd:
4700 @if bfd
4701 maybe-install-info-bfd: install-info-bfd
4703 install-info-bfd: \
4704 configure-bfd \
4705 info-bfd
4706 @[ -f ./bfd/Makefile ] || exit 0; \
4707 r=`${PWD_COMMAND}`; export r; \
4708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4709 $(HOST_EXPORTS) \
4710 for flag in $(EXTRA_HOST_FLAGS) ; do \
4711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4712 done; \
4713 echo "Doing install-info in bfd" ; \
4714 (cd $(HOST_SUBDIR)/bfd && \
4715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4717 "RANLIB=$${RANLIB}" \
4718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4719 install-info) \
4720 || exit 1
4722 @endif bfd
4724 .PHONY: maybe-install-html-bfd install-html-bfd
4725 maybe-install-html-bfd:
4726 @if bfd
4727 maybe-install-html-bfd: install-html-bfd
4729 install-html-bfd: \
4730 configure-bfd \
4731 html-bfd
4732 @[ -f ./bfd/Makefile ] || exit 0; \
4733 r=`${PWD_COMMAND}`; export r; \
4734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4735 $(HOST_EXPORTS) \
4736 for flag in $(EXTRA_HOST_FLAGS) ; do \
4737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4738 done; \
4739 echo "Doing install-html in bfd" ; \
4740 (cd $(HOST_SUBDIR)/bfd && \
4741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743 "RANLIB=$${RANLIB}" \
4744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4745 install-html) \
4746 || exit 1
4748 @endif bfd
4750 .PHONY: maybe-installcheck-bfd installcheck-bfd
4751 maybe-installcheck-bfd:
4752 @if bfd
4753 maybe-installcheck-bfd: installcheck-bfd
4755 installcheck-bfd: \
4756 configure-bfd
4757 @[ -f ./bfd/Makefile ] || exit 0; \
4758 r=`${PWD_COMMAND}`; export r; \
4759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 $(HOST_EXPORTS) \
4761 for flag in $(EXTRA_HOST_FLAGS) ; do \
4762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4763 done; \
4764 echo "Doing installcheck in bfd" ; \
4765 (cd $(HOST_SUBDIR)/bfd && \
4766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4768 "RANLIB=$${RANLIB}" \
4769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4770 installcheck) \
4771 || exit 1
4773 @endif bfd
4775 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4776 maybe-mostlyclean-bfd:
4777 @if bfd
4778 maybe-mostlyclean-bfd: mostlyclean-bfd
4780 mostlyclean-bfd:
4781 @[ -f ./bfd/Makefile ] || exit 0; \
4782 r=`${PWD_COMMAND}`; export r; \
4783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4784 $(HOST_EXPORTS) \
4785 for flag in $(EXTRA_HOST_FLAGS) ; do \
4786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4787 done; \
4788 echo "Doing mostlyclean in bfd" ; \
4789 (cd $(HOST_SUBDIR)/bfd && \
4790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4792 "RANLIB=$${RANLIB}" \
4793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4794 mostlyclean) \
4795 || exit 1
4797 @endif bfd
4799 .PHONY: maybe-clean-bfd clean-bfd
4800 maybe-clean-bfd:
4801 @if bfd
4802 maybe-clean-bfd: clean-bfd
4804 clean-bfd:
4805 @[ -f ./bfd/Makefile ] || exit 0; \
4806 r=`${PWD_COMMAND}`; export r; \
4807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 $(HOST_EXPORTS) \
4809 for flag in $(EXTRA_HOST_FLAGS) ; do \
4810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4811 done; \
4812 echo "Doing clean in bfd" ; \
4813 (cd $(HOST_SUBDIR)/bfd && \
4814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4816 "RANLIB=$${RANLIB}" \
4817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4818 clean) \
4819 || exit 1
4821 @endif bfd
4823 .PHONY: maybe-distclean-bfd distclean-bfd
4824 maybe-distclean-bfd:
4825 @if bfd
4826 maybe-distclean-bfd: distclean-bfd
4828 distclean-bfd:
4829 @[ -f ./bfd/Makefile ] || exit 0; \
4830 r=`${PWD_COMMAND}`; export r; \
4831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4832 $(HOST_EXPORTS) \
4833 for flag in $(EXTRA_HOST_FLAGS) ; do \
4834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4835 done; \
4836 echo "Doing distclean in bfd" ; \
4837 (cd $(HOST_SUBDIR)/bfd && \
4838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4840 "RANLIB=$${RANLIB}" \
4841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4842 distclean) \
4843 || exit 1
4845 @endif bfd
4847 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4848 maybe-maintainer-clean-bfd:
4849 @if bfd
4850 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4852 maintainer-clean-bfd:
4853 @[ -f ./bfd/Makefile ] || exit 0; \
4854 r=`${PWD_COMMAND}`; export r; \
4855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4856 $(HOST_EXPORTS) \
4857 for flag in $(EXTRA_HOST_FLAGS) ; do \
4858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4859 done; \
4860 echo "Doing maintainer-clean in bfd" ; \
4861 (cd $(HOST_SUBDIR)/bfd && \
4862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4864 "RANLIB=$${RANLIB}" \
4865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4866 maintainer-clean) \
4867 || exit 1
4869 @endif bfd
4873 .PHONY: configure-opcodes maybe-configure-opcodes
4874 maybe-configure-opcodes:
4875 @if opcodes
4876 maybe-configure-opcodes: configure-opcodes
4877 configure-opcodes:
4878 @endif opcodes
4879 @if opcodes-bootstrap
4880 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4881 @endif opcodes-bootstrap
4882 @if opcodes
4883 @r=`${PWD_COMMAND}`; export r; \
4884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4885 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4887 $(HOST_EXPORTS) \
4888 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4889 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4890 case $(srcdir) in \
4891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4892 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4894 esac; \
4895 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4896 libsrcdir="$$s/opcodes"; \
4897 $(SHELL) $${libsrcdir}/configure \
4898 $(HOST_CONFIGARGS) $${srcdiroption} \
4899 || exit 1
4900 @endif opcodes
4904 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4905 maybe-configure-stage1-opcodes:
4906 @if opcodes-bootstrap
4907 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4908 configure-stage1-opcodes:
4909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4911 @r=`${PWD_COMMAND}`; export r; \
4912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4913 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4914 $(HOST_EXPORTS) \
4915 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4917 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4918 case $(srcdir) in \
4919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4920 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4922 esac; \
4923 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4924 libsrcdir="$$s/opcodes"; \
4925 $(SHELL) $${libsrcdir}/configure \
4926 $(HOST_CONFIGARGS) $${srcdiroption} \
4927 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4928 @endif opcodes-bootstrap
4930 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4931 maybe-configure-stage2-opcodes:
4932 @if opcodes-bootstrap
4933 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4934 configure-stage2-opcodes:
4935 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4937 @r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4940 $(HOST_EXPORTS) \
4941 $(POSTSTAGE1_HOST_EXPORTS) \
4942 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4944 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4945 case $(srcdir) in \
4946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4947 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4949 esac; \
4950 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4951 libsrcdir="$$s/opcodes"; \
4952 $(SHELL) $${libsrcdir}/configure \
4953 $(HOST_CONFIGARGS) $${srcdiroption} \
4954 @stage2_werror_flag@
4955 @endif opcodes-bootstrap
4957 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4958 maybe-configure-stage3-opcodes:
4959 @if opcodes-bootstrap
4960 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4961 configure-stage3-opcodes:
4962 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4964 @r=`${PWD_COMMAND}`; export r; \
4965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4967 $(HOST_EXPORTS) \
4968 $(POSTSTAGE1_HOST_EXPORTS) \
4969 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4971 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4972 case $(srcdir) in \
4973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4974 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4976 esac; \
4977 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4978 libsrcdir="$$s/opcodes"; \
4979 $(SHELL) $${libsrcdir}/configure \
4980 $(HOST_CONFIGARGS) $${srcdiroption} \
4981 @stage2_werror_flag@
4982 @endif opcodes-bootstrap
4984 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4985 maybe-configure-stage4-opcodes:
4986 @if opcodes-bootstrap
4987 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4988 configure-stage4-opcodes:
4989 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4991 @r=`${PWD_COMMAND}`; export r; \
4992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4993 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4994 $(HOST_EXPORTS) \
4995 $(POSTSTAGE1_HOST_EXPORTS) \
4996 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4998 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4999 case $(srcdir) in \
5000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5001 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5003 esac; \
5004 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5005 libsrcdir="$$s/opcodes"; \
5006 $(SHELL) $${libsrcdir}/configure \
5007 $(HOST_CONFIGARGS) $${srcdiroption} \
5008 @stage2_werror_flag@
5009 @endif opcodes-bootstrap
5011 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5012 maybe-configure-stageprofile-opcodes:
5013 @if opcodes-bootstrap
5014 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5015 configure-stageprofile-opcodes:
5016 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5018 @r=`${PWD_COMMAND}`; export r; \
5019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5020 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5021 $(HOST_EXPORTS) \
5022 $(POSTSTAGE1_HOST_EXPORTS) \
5023 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5025 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5026 case $(srcdir) in \
5027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5028 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5030 esac; \
5031 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5032 libsrcdir="$$s/opcodes"; \
5033 $(SHELL) $${libsrcdir}/configure \
5034 $(HOST_CONFIGARGS) $${srcdiroption} \
5035 @stage2_werror_flag@
5036 @endif opcodes-bootstrap
5038 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5039 maybe-configure-stagefeedback-opcodes:
5040 @if opcodes-bootstrap
5041 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5042 configure-stagefeedback-opcodes:
5043 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5045 @r=`${PWD_COMMAND}`; export r; \
5046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5047 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5048 $(HOST_EXPORTS) \
5049 $(POSTSTAGE1_HOST_EXPORTS) \
5050 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5052 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5053 case $(srcdir) in \
5054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5055 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5057 esac; \
5058 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5059 libsrcdir="$$s/opcodes"; \
5060 $(SHELL) $${libsrcdir}/configure \
5061 $(HOST_CONFIGARGS) $${srcdiroption} \
5062 @stage2_werror_flag@
5063 @endif opcodes-bootstrap
5069 .PHONY: all-opcodes maybe-all-opcodes
5070 maybe-all-opcodes:
5071 @if opcodes
5072 TARGET-opcodes=all
5073 maybe-all-opcodes: all-opcodes
5074 all-opcodes: configure-opcodes
5075 @endif opcodes
5076 @if opcodes-bootstrap
5077 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5078 @endif opcodes-bootstrap
5079 @if opcodes
5080 @r=`${PWD_COMMAND}`; export r; \
5081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5082 $(HOST_EXPORTS) \
5083 (cd $(HOST_SUBDIR)/opcodes && \
5084 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5085 @endif opcodes
5089 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5090 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5091 maybe-all-stage1-opcodes:
5092 maybe-clean-stage1-opcodes:
5093 @if opcodes-bootstrap
5094 maybe-all-stage1-opcodes: all-stage1-opcodes
5095 all-stage1: all-stage1-opcodes
5096 TARGET-stage1-opcodes = $(TARGET-opcodes)
5097 all-stage1-opcodes: configure-stage1-opcodes
5098 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5099 @r=`${PWD_COMMAND}`; export r; \
5100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5101 $(HOST_EXPORTS) \
5102 cd $(HOST_SUBDIR)/opcodes && \
5103 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5104 $(TARGET-stage1-opcodes)
5106 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5107 clean-stage1: clean-stage1-opcodes
5108 clean-stage1-opcodes:
5109 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5110 || exit 0 ; \
5111 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5112 cd $(HOST_SUBDIR)/opcodes && \
5113 $(MAKE) $(FLAGS_TO_PASS) \
5114 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5115 @endif opcodes-bootstrap
5118 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5119 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5120 maybe-all-stage2-opcodes:
5121 maybe-clean-stage2-opcodes:
5122 @if opcodes-bootstrap
5123 maybe-all-stage2-opcodes: all-stage2-opcodes
5124 all-stage2: all-stage2-opcodes
5125 TARGET-stage2-opcodes = $(TARGET-opcodes)
5126 all-stage2-opcodes: configure-stage2-opcodes
5127 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5128 @r=`${PWD_COMMAND}`; export r; \
5129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5130 $(HOST_EXPORTS) \
5131 $(POSTSTAGE1_HOST_EXPORTS) \
5132 cd $(HOST_SUBDIR)/opcodes && \
5133 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5134 $(TARGET-stage2-opcodes)
5136 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5137 clean-stage2: clean-stage2-opcodes
5138 clean-stage2-opcodes:
5139 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5140 || exit 0 ; \
5141 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5142 cd $(HOST_SUBDIR)/opcodes && \
5143 $(MAKE) $(FLAGS_TO_PASS) \
5144 $(POSTSTAGE1_FLAGS_TO_PASS) \
5145 clean
5146 @endif opcodes-bootstrap
5149 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5150 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5151 maybe-all-stage3-opcodes:
5152 maybe-clean-stage3-opcodes:
5153 @if opcodes-bootstrap
5154 maybe-all-stage3-opcodes: all-stage3-opcodes
5155 all-stage3: all-stage3-opcodes
5156 TARGET-stage3-opcodes = $(TARGET-opcodes)
5157 all-stage3-opcodes: configure-stage3-opcodes
5158 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5159 @r=`${PWD_COMMAND}`; export r; \
5160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5161 $(HOST_EXPORTS) \
5162 $(POSTSTAGE1_HOST_EXPORTS) \
5163 cd $(HOST_SUBDIR)/opcodes && \
5164 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5165 $(TARGET-stage3-opcodes)
5167 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5168 clean-stage3: clean-stage3-opcodes
5169 clean-stage3-opcodes:
5170 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5171 || exit 0 ; \
5172 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5173 cd $(HOST_SUBDIR)/opcodes && \
5174 $(MAKE) $(FLAGS_TO_PASS) \
5175 $(POSTSTAGE1_FLAGS_TO_PASS) \
5176 clean
5177 @endif opcodes-bootstrap
5180 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5181 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5182 maybe-all-stage4-opcodes:
5183 maybe-clean-stage4-opcodes:
5184 @if opcodes-bootstrap
5185 maybe-all-stage4-opcodes: all-stage4-opcodes
5186 all-stage4: all-stage4-opcodes
5187 TARGET-stage4-opcodes = $(TARGET-opcodes)
5188 all-stage4-opcodes: configure-stage4-opcodes
5189 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5190 @r=`${PWD_COMMAND}`; export r; \
5191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5192 $(HOST_EXPORTS) \
5193 $(POSTSTAGE1_HOST_EXPORTS) \
5194 cd $(HOST_SUBDIR)/opcodes && \
5195 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5196 $(TARGET-stage4-opcodes)
5198 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5199 clean-stage4: clean-stage4-opcodes
5200 clean-stage4-opcodes:
5201 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5202 || exit 0 ; \
5203 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5204 cd $(HOST_SUBDIR)/opcodes && \
5205 $(MAKE) $(FLAGS_TO_PASS) \
5206 $(POSTSTAGE1_FLAGS_TO_PASS) \
5207 clean
5208 @endif opcodes-bootstrap
5211 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5212 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5213 maybe-all-stageprofile-opcodes:
5214 maybe-clean-stageprofile-opcodes:
5215 @if opcodes-bootstrap
5216 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5217 all-stageprofile: all-stageprofile-opcodes
5218 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5219 all-stageprofile-opcodes: configure-stageprofile-opcodes
5220 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5221 @r=`${PWD_COMMAND}`; export r; \
5222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5223 $(HOST_EXPORTS) \
5224 $(POSTSTAGE1_HOST_EXPORTS) \
5225 cd $(HOST_SUBDIR)/opcodes && \
5226 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5227 $(TARGET-stageprofile-opcodes)
5229 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5230 clean-stageprofile: clean-stageprofile-opcodes
5231 clean-stageprofile-opcodes:
5232 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5233 || exit 0 ; \
5234 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5235 cd $(HOST_SUBDIR)/opcodes && \
5236 $(MAKE) $(FLAGS_TO_PASS) \
5237 $(POSTSTAGE1_FLAGS_TO_PASS) \
5238 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5239 @endif opcodes-bootstrap
5242 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5243 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5244 maybe-all-stagefeedback-opcodes:
5245 maybe-clean-stagefeedback-opcodes:
5246 @if opcodes-bootstrap
5247 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5248 all-stagefeedback: all-stagefeedback-opcodes
5249 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5250 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5251 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5252 @r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 $(HOST_EXPORTS) \
5255 $(POSTSTAGE1_HOST_EXPORTS) \
5256 cd $(HOST_SUBDIR)/opcodes && \
5257 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5258 $(TARGET-stagefeedback-opcodes)
5260 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5261 clean-stagefeedback: clean-stagefeedback-opcodes
5262 clean-stagefeedback-opcodes:
5263 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5264 || exit 0 ; \
5265 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5266 cd $(HOST_SUBDIR)/opcodes && \
5267 $(MAKE) $(FLAGS_TO_PASS) \
5268 $(POSTSTAGE1_FLAGS_TO_PASS) \
5269 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5270 @endif opcodes-bootstrap
5276 .PHONY: check-opcodes maybe-check-opcodes
5277 maybe-check-opcodes:
5278 @if opcodes
5279 maybe-check-opcodes: check-opcodes
5281 check-opcodes:
5282 @: $(MAKE); $(unstage)
5283 @r=`${PWD_COMMAND}`; export r; \
5284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5285 $(HOST_EXPORTS) \
5286 (cd $(HOST_SUBDIR)/opcodes && \
5287 $(MAKE) $(FLAGS_TO_PASS) check)
5289 @endif opcodes
5291 .PHONY: install-opcodes maybe-install-opcodes
5292 maybe-install-opcodes:
5293 @if opcodes
5294 maybe-install-opcodes: install-opcodes
5296 install-opcodes: installdirs
5297 @: $(MAKE); $(unstage)
5298 @r=`${PWD_COMMAND}`; export r; \
5299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5300 $(HOST_EXPORTS) \
5301 (cd $(HOST_SUBDIR)/opcodes && \
5302 $(MAKE) $(FLAGS_TO_PASS) install)
5304 @endif opcodes
5306 # Other targets (info, dvi, etc.)
5308 .PHONY: maybe-info-opcodes info-opcodes
5309 maybe-info-opcodes:
5310 @if opcodes
5311 maybe-info-opcodes: info-opcodes
5313 info-opcodes: \
5314 configure-opcodes
5315 @[ -f ./opcodes/Makefile ] || exit 0; \
5316 r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5318 $(HOST_EXPORTS) \
5319 for flag in $(EXTRA_HOST_FLAGS) ; do \
5320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5321 done; \
5322 echo "Doing info in opcodes" ; \
5323 (cd $(HOST_SUBDIR)/opcodes && \
5324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5326 "RANLIB=$${RANLIB}" \
5327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5328 info) \
5329 || exit 1
5331 @endif opcodes
5333 .PHONY: maybe-dvi-opcodes dvi-opcodes
5334 maybe-dvi-opcodes:
5335 @if opcodes
5336 maybe-dvi-opcodes: dvi-opcodes
5338 dvi-opcodes: \
5339 configure-opcodes
5340 @[ -f ./opcodes/Makefile ] || exit 0; \
5341 r=`${PWD_COMMAND}`; export r; \
5342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 $(HOST_EXPORTS) \
5344 for flag in $(EXTRA_HOST_FLAGS) ; do \
5345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5346 done; \
5347 echo "Doing dvi in opcodes" ; \
5348 (cd $(HOST_SUBDIR)/opcodes && \
5349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5351 "RANLIB=$${RANLIB}" \
5352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5353 dvi) \
5354 || exit 1
5356 @endif opcodes
5358 .PHONY: maybe-html-opcodes html-opcodes
5359 maybe-html-opcodes:
5360 @if opcodes
5361 maybe-html-opcodes: html-opcodes
5363 html-opcodes: \
5364 configure-opcodes
5365 @[ -f ./opcodes/Makefile ] || exit 0; \
5366 r=`${PWD_COMMAND}`; export r; \
5367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5368 $(HOST_EXPORTS) \
5369 for flag in $(EXTRA_HOST_FLAGS) ; do \
5370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5371 done; \
5372 echo "Doing html in opcodes" ; \
5373 (cd $(HOST_SUBDIR)/opcodes && \
5374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5376 "RANLIB=$${RANLIB}" \
5377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5378 html) \
5379 || exit 1
5381 @endif opcodes
5383 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5384 maybe-TAGS-opcodes:
5385 @if opcodes
5386 maybe-TAGS-opcodes: TAGS-opcodes
5388 TAGS-opcodes: \
5389 configure-opcodes
5390 @[ -f ./opcodes/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 $(HOST_EXPORTS) \
5394 for flag in $(EXTRA_HOST_FLAGS) ; do \
5395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5396 done; \
5397 echo "Doing TAGS in opcodes" ; \
5398 (cd $(HOST_SUBDIR)/opcodes && \
5399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5401 "RANLIB=$${RANLIB}" \
5402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5403 TAGS) \
5404 || exit 1
5406 @endif opcodes
5408 .PHONY: maybe-install-info-opcodes install-info-opcodes
5409 maybe-install-info-opcodes:
5410 @if opcodes
5411 maybe-install-info-opcodes: install-info-opcodes
5413 install-info-opcodes: \
5414 configure-opcodes \
5415 info-opcodes
5416 @[ -f ./opcodes/Makefile ] || exit 0; \
5417 r=`${PWD_COMMAND}`; export r; \
5418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5419 $(HOST_EXPORTS) \
5420 for flag in $(EXTRA_HOST_FLAGS) ; do \
5421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5422 done; \
5423 echo "Doing install-info in opcodes" ; \
5424 (cd $(HOST_SUBDIR)/opcodes && \
5425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5427 "RANLIB=$${RANLIB}" \
5428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5429 install-info) \
5430 || exit 1
5432 @endif opcodes
5434 .PHONY: maybe-install-html-opcodes install-html-opcodes
5435 maybe-install-html-opcodes:
5436 @if opcodes
5437 maybe-install-html-opcodes: install-html-opcodes
5439 install-html-opcodes: \
5440 configure-opcodes \
5441 html-opcodes
5442 @[ -f ./opcodes/Makefile ] || exit 0; \
5443 r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 $(HOST_EXPORTS) \
5446 for flag in $(EXTRA_HOST_FLAGS) ; do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448 done; \
5449 echo "Doing install-html in opcodes" ; \
5450 (cd $(HOST_SUBDIR)/opcodes && \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5455 install-html) \
5456 || exit 1
5458 @endif opcodes
5460 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5461 maybe-installcheck-opcodes:
5462 @if opcodes
5463 maybe-installcheck-opcodes: installcheck-opcodes
5465 installcheck-opcodes: \
5466 configure-opcodes
5467 @[ -f ./opcodes/Makefile ] || exit 0; \
5468 r=`${PWD_COMMAND}`; export r; \
5469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5470 $(HOST_EXPORTS) \
5471 for flag in $(EXTRA_HOST_FLAGS) ; do \
5472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5473 done; \
5474 echo "Doing installcheck in opcodes" ; \
5475 (cd $(HOST_SUBDIR)/opcodes && \
5476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5478 "RANLIB=$${RANLIB}" \
5479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5480 installcheck) \
5481 || exit 1
5483 @endif opcodes
5485 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5486 maybe-mostlyclean-opcodes:
5487 @if opcodes
5488 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5490 mostlyclean-opcodes:
5491 @[ -f ./opcodes/Makefile ] || exit 0; \
5492 r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494 $(HOST_EXPORTS) \
5495 for flag in $(EXTRA_HOST_FLAGS) ; do \
5496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5497 done; \
5498 echo "Doing mostlyclean in opcodes" ; \
5499 (cd $(HOST_SUBDIR)/opcodes && \
5500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5502 "RANLIB=$${RANLIB}" \
5503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5504 mostlyclean) \
5505 || exit 1
5507 @endif opcodes
5509 .PHONY: maybe-clean-opcodes clean-opcodes
5510 maybe-clean-opcodes:
5511 @if opcodes
5512 maybe-clean-opcodes: clean-opcodes
5514 clean-opcodes:
5515 @[ -f ./opcodes/Makefile ] || exit 0; \
5516 r=`${PWD_COMMAND}`; export r; \
5517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5518 $(HOST_EXPORTS) \
5519 for flag in $(EXTRA_HOST_FLAGS) ; do \
5520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5521 done; \
5522 echo "Doing clean in opcodes" ; \
5523 (cd $(HOST_SUBDIR)/opcodes && \
5524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5526 "RANLIB=$${RANLIB}" \
5527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5528 clean) \
5529 || exit 1
5531 @endif opcodes
5533 .PHONY: maybe-distclean-opcodes distclean-opcodes
5534 maybe-distclean-opcodes:
5535 @if opcodes
5536 maybe-distclean-opcodes: distclean-opcodes
5538 distclean-opcodes:
5539 @[ -f ./opcodes/Makefile ] || exit 0; \
5540 r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(HOST_EXPORTS) \
5543 for flag in $(EXTRA_HOST_FLAGS) ; do \
5544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5545 done; \
5546 echo "Doing distclean in opcodes" ; \
5547 (cd $(HOST_SUBDIR)/opcodes && \
5548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5550 "RANLIB=$${RANLIB}" \
5551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5552 distclean) \
5553 || exit 1
5555 @endif opcodes
5557 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5558 maybe-maintainer-clean-opcodes:
5559 @if opcodes
5560 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5562 maintainer-clean-opcodes:
5563 @[ -f ./opcodes/Makefile ] || exit 0; \
5564 r=`${PWD_COMMAND}`; export r; \
5565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566 $(HOST_EXPORTS) \
5567 for flag in $(EXTRA_HOST_FLAGS) ; do \
5568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5569 done; \
5570 echo "Doing maintainer-clean in opcodes" ; \
5571 (cd $(HOST_SUBDIR)/opcodes && \
5572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5574 "RANLIB=$${RANLIB}" \
5575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5576 maintainer-clean) \
5577 || exit 1
5579 @endif opcodes
5583 .PHONY: configure-binutils maybe-configure-binutils
5584 maybe-configure-binutils:
5585 @if binutils
5586 maybe-configure-binutils: configure-binutils
5587 configure-binutils:
5588 @endif binutils
5589 @if binutils-bootstrap
5590 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5591 @endif binutils-bootstrap
5592 @if binutils
5593 @r=`${PWD_COMMAND}`; export r; \
5594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5595 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5597 $(HOST_EXPORTS) \
5598 echo Configuring in $(HOST_SUBDIR)/binutils; \
5599 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5600 case $(srcdir) in \
5601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5602 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5604 esac; \
5605 srcdiroption="--srcdir=$${topdir}/binutils"; \
5606 libsrcdir="$$s/binutils"; \
5607 $(SHELL) $${libsrcdir}/configure \
5608 $(HOST_CONFIGARGS) $${srcdiroption} \
5609 || exit 1
5610 @endif binutils
5614 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5615 maybe-configure-stage1-binutils:
5616 @if binutils-bootstrap
5617 maybe-configure-stage1-binutils: configure-stage1-binutils
5618 configure-stage1-binutils:
5619 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5621 @r=`${PWD_COMMAND}`; export r; \
5622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5623 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5624 $(HOST_EXPORTS) \
5625 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5627 cd $(HOST_SUBDIR)/binutils || exit 1; \
5628 case $(srcdir) in \
5629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5630 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5632 esac; \
5633 srcdiroption="--srcdir=$${topdir}/binutils"; \
5634 libsrcdir="$$s/binutils"; \
5635 $(SHELL) $${libsrcdir}/configure \
5636 $(HOST_CONFIGARGS) $${srcdiroption} \
5637 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5638 @endif binutils-bootstrap
5640 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5641 maybe-configure-stage2-binutils:
5642 @if binutils-bootstrap
5643 maybe-configure-stage2-binutils: configure-stage2-binutils
5644 configure-stage2-binutils:
5645 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5647 @r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5650 $(HOST_EXPORTS) \
5651 $(POSTSTAGE1_HOST_EXPORTS) \
5652 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5654 cd $(HOST_SUBDIR)/binutils || exit 1; \
5655 case $(srcdir) in \
5656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5657 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5659 esac; \
5660 srcdiroption="--srcdir=$${topdir}/binutils"; \
5661 libsrcdir="$$s/binutils"; \
5662 $(SHELL) $${libsrcdir}/configure \
5663 $(HOST_CONFIGARGS) $${srcdiroption} \
5664 @stage2_werror_flag@
5665 @endif binutils-bootstrap
5667 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5668 maybe-configure-stage3-binutils:
5669 @if binutils-bootstrap
5670 maybe-configure-stage3-binutils: configure-stage3-binutils
5671 configure-stage3-binutils:
5672 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5674 @r=`${PWD_COMMAND}`; export r; \
5675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5676 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5677 $(HOST_EXPORTS) \
5678 $(POSTSTAGE1_HOST_EXPORTS) \
5679 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5681 cd $(HOST_SUBDIR)/binutils || exit 1; \
5682 case $(srcdir) in \
5683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5684 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5686 esac; \
5687 srcdiroption="--srcdir=$${topdir}/binutils"; \
5688 libsrcdir="$$s/binutils"; \
5689 $(SHELL) $${libsrcdir}/configure \
5690 $(HOST_CONFIGARGS) $${srcdiroption} \
5691 @stage2_werror_flag@
5692 @endif binutils-bootstrap
5694 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5695 maybe-configure-stage4-binutils:
5696 @if binutils-bootstrap
5697 maybe-configure-stage4-binutils: configure-stage4-binutils
5698 configure-stage4-binutils:
5699 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5701 @r=`${PWD_COMMAND}`; export r; \
5702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5704 $(HOST_EXPORTS) \
5705 $(POSTSTAGE1_HOST_EXPORTS) \
5706 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5708 cd $(HOST_SUBDIR)/binutils || exit 1; \
5709 case $(srcdir) in \
5710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5711 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5713 esac; \
5714 srcdiroption="--srcdir=$${topdir}/binutils"; \
5715 libsrcdir="$$s/binutils"; \
5716 $(SHELL) $${libsrcdir}/configure \
5717 $(HOST_CONFIGARGS) $${srcdiroption} \
5718 @stage2_werror_flag@
5719 @endif binutils-bootstrap
5721 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5722 maybe-configure-stageprofile-binutils:
5723 @if binutils-bootstrap
5724 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5725 configure-stageprofile-binutils:
5726 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5728 @r=`${PWD_COMMAND}`; export r; \
5729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5730 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5731 $(HOST_EXPORTS) \
5732 $(POSTSTAGE1_HOST_EXPORTS) \
5733 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5735 cd $(HOST_SUBDIR)/binutils || exit 1; \
5736 case $(srcdir) in \
5737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5738 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5740 esac; \
5741 srcdiroption="--srcdir=$${topdir}/binutils"; \
5742 libsrcdir="$$s/binutils"; \
5743 $(SHELL) $${libsrcdir}/configure \
5744 $(HOST_CONFIGARGS) $${srcdiroption} \
5745 @stage2_werror_flag@
5746 @endif binutils-bootstrap
5748 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5749 maybe-configure-stagefeedback-binutils:
5750 @if binutils-bootstrap
5751 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5752 configure-stagefeedback-binutils:
5753 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5755 @r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5757 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5758 $(HOST_EXPORTS) \
5759 $(POSTSTAGE1_HOST_EXPORTS) \
5760 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5762 cd $(HOST_SUBDIR)/binutils || exit 1; \
5763 case $(srcdir) in \
5764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5765 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5767 esac; \
5768 srcdiroption="--srcdir=$${topdir}/binutils"; \
5769 libsrcdir="$$s/binutils"; \
5770 $(SHELL) $${libsrcdir}/configure \
5771 $(HOST_CONFIGARGS) $${srcdiroption} \
5772 @stage2_werror_flag@
5773 @endif binutils-bootstrap
5779 .PHONY: all-binutils maybe-all-binutils
5780 maybe-all-binutils:
5781 @if binutils
5782 TARGET-binutils=all
5783 maybe-all-binutils: all-binutils
5784 all-binutils: configure-binutils
5785 @endif binutils
5786 @if binutils-bootstrap
5787 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5788 @endif binutils-bootstrap
5789 @if binutils
5790 @r=`${PWD_COMMAND}`; export r; \
5791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5792 $(HOST_EXPORTS) \
5793 (cd $(HOST_SUBDIR)/binutils && \
5794 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5795 @endif binutils
5799 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5800 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5801 maybe-all-stage1-binutils:
5802 maybe-clean-stage1-binutils:
5803 @if binutils-bootstrap
5804 maybe-all-stage1-binutils: all-stage1-binutils
5805 all-stage1: all-stage1-binutils
5806 TARGET-stage1-binutils = $(TARGET-binutils)
5807 all-stage1-binutils: configure-stage1-binutils
5808 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5809 @r=`${PWD_COMMAND}`; export r; \
5810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 $(HOST_EXPORTS) \
5812 cd $(HOST_SUBDIR)/binutils && \
5813 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5814 $(TARGET-stage1-binutils)
5816 maybe-clean-stage1-binutils: clean-stage1-binutils
5817 clean-stage1: clean-stage1-binutils
5818 clean-stage1-binutils:
5819 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5820 || exit 0 ; \
5821 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5822 cd $(HOST_SUBDIR)/binutils && \
5823 $(MAKE) $(FLAGS_TO_PASS) \
5824 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5825 @endif binutils-bootstrap
5828 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5829 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5830 maybe-all-stage2-binutils:
5831 maybe-clean-stage2-binutils:
5832 @if binutils-bootstrap
5833 maybe-all-stage2-binutils: all-stage2-binutils
5834 all-stage2: all-stage2-binutils
5835 TARGET-stage2-binutils = $(TARGET-binutils)
5836 all-stage2-binutils: configure-stage2-binutils
5837 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5838 @r=`${PWD_COMMAND}`; export r; \
5839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5840 $(HOST_EXPORTS) \
5841 $(POSTSTAGE1_HOST_EXPORTS) \
5842 cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5844 $(TARGET-stage2-binutils)
5846 maybe-clean-stage2-binutils: clean-stage2-binutils
5847 clean-stage2: clean-stage2-binutils
5848 clean-stage2-binutils:
5849 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5850 || exit 0 ; \
5851 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5852 cd $(HOST_SUBDIR)/binutils && \
5853 $(MAKE) $(FLAGS_TO_PASS) \
5854 $(POSTSTAGE1_FLAGS_TO_PASS) \
5855 clean
5856 @endif binutils-bootstrap
5859 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5860 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5861 maybe-all-stage3-binutils:
5862 maybe-clean-stage3-binutils:
5863 @if binutils-bootstrap
5864 maybe-all-stage3-binutils: all-stage3-binutils
5865 all-stage3: all-stage3-binutils
5866 TARGET-stage3-binutils = $(TARGET-binutils)
5867 all-stage3-binutils: configure-stage3-binutils
5868 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5869 @r=`${PWD_COMMAND}`; export r; \
5870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5871 $(HOST_EXPORTS) \
5872 $(POSTSTAGE1_HOST_EXPORTS) \
5873 cd $(HOST_SUBDIR)/binutils && \
5874 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5875 $(TARGET-stage3-binutils)
5877 maybe-clean-stage3-binutils: clean-stage3-binutils
5878 clean-stage3: clean-stage3-binutils
5879 clean-stage3-binutils:
5880 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5881 || exit 0 ; \
5882 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5883 cd $(HOST_SUBDIR)/binutils && \
5884 $(MAKE) $(FLAGS_TO_PASS) \
5885 $(POSTSTAGE1_FLAGS_TO_PASS) \
5886 clean
5887 @endif binutils-bootstrap
5890 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5891 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5892 maybe-all-stage4-binutils:
5893 maybe-clean-stage4-binutils:
5894 @if binutils-bootstrap
5895 maybe-all-stage4-binutils: all-stage4-binutils
5896 all-stage4: all-stage4-binutils
5897 TARGET-stage4-binutils = $(TARGET-binutils)
5898 all-stage4-binutils: configure-stage4-binutils
5899 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5900 @r=`${PWD_COMMAND}`; export r; \
5901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 $(HOST_EXPORTS) \
5903 $(POSTSTAGE1_HOST_EXPORTS) \
5904 cd $(HOST_SUBDIR)/binutils && \
5905 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5906 $(TARGET-stage4-binutils)
5908 maybe-clean-stage4-binutils: clean-stage4-binutils
5909 clean-stage4: clean-stage4-binutils
5910 clean-stage4-binutils:
5911 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5912 || exit 0 ; \
5913 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5914 cd $(HOST_SUBDIR)/binutils && \
5915 $(MAKE) $(FLAGS_TO_PASS) \
5916 $(POSTSTAGE1_FLAGS_TO_PASS) \
5917 clean
5918 @endif binutils-bootstrap
5921 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5922 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5923 maybe-all-stageprofile-binutils:
5924 maybe-clean-stageprofile-binutils:
5925 @if binutils-bootstrap
5926 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5927 all-stageprofile: all-stageprofile-binutils
5928 TARGET-stageprofile-binutils = $(TARGET-binutils)
5929 all-stageprofile-binutils: configure-stageprofile-binutils
5930 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5931 @r=`${PWD_COMMAND}`; export r; \
5932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5933 $(HOST_EXPORTS) \
5934 $(POSTSTAGE1_HOST_EXPORTS) \
5935 cd $(HOST_SUBDIR)/binutils && \
5936 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5937 $(TARGET-stageprofile-binutils)
5939 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5940 clean-stageprofile: clean-stageprofile-binutils
5941 clean-stageprofile-binutils:
5942 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5943 || exit 0 ; \
5944 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5945 cd $(HOST_SUBDIR)/binutils && \
5946 $(MAKE) $(FLAGS_TO_PASS) \
5947 $(POSTSTAGE1_FLAGS_TO_PASS) \
5948 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5949 @endif binutils-bootstrap
5952 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5953 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5954 maybe-all-stagefeedback-binutils:
5955 maybe-clean-stagefeedback-binutils:
5956 @if binutils-bootstrap
5957 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5958 all-stagefeedback: all-stagefeedback-binutils
5959 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5960 all-stagefeedback-binutils: configure-stagefeedback-binutils
5961 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5962 @r=`${PWD_COMMAND}`; export r; \
5963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5964 $(HOST_EXPORTS) \
5965 $(POSTSTAGE1_HOST_EXPORTS) \
5966 cd $(HOST_SUBDIR)/binutils && \
5967 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5968 $(TARGET-stagefeedback-binutils)
5970 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5971 clean-stagefeedback: clean-stagefeedback-binutils
5972 clean-stagefeedback-binutils:
5973 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5974 || exit 0 ; \
5975 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5976 cd $(HOST_SUBDIR)/binutils && \
5977 $(MAKE) $(FLAGS_TO_PASS) \
5978 $(POSTSTAGE1_FLAGS_TO_PASS) \
5979 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5980 @endif binutils-bootstrap
5986 .PHONY: check-binutils maybe-check-binutils
5987 maybe-check-binutils:
5988 @if binutils
5989 maybe-check-binutils: check-binutils
5991 check-binutils:
5992 @: $(MAKE); $(unstage)
5993 @r=`${PWD_COMMAND}`; export r; \
5994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5995 $(HOST_EXPORTS) \
5996 (cd $(HOST_SUBDIR)/binutils && \
5997 $(MAKE) $(FLAGS_TO_PASS) check)
5999 @endif binutils
6001 .PHONY: install-binutils maybe-install-binutils
6002 maybe-install-binutils:
6003 @if binutils
6004 maybe-install-binutils: install-binutils
6006 install-binutils: installdirs
6007 @: $(MAKE); $(unstage)
6008 @r=`${PWD_COMMAND}`; export r; \
6009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6010 $(HOST_EXPORTS) \
6011 (cd $(HOST_SUBDIR)/binutils && \
6012 $(MAKE) $(FLAGS_TO_PASS) install)
6014 @endif binutils
6016 # Other targets (info, dvi, etc.)
6018 .PHONY: maybe-info-binutils info-binutils
6019 maybe-info-binutils:
6020 @if binutils
6021 maybe-info-binutils: info-binutils
6023 info-binutils: \
6024 configure-binutils
6025 @[ -f ./binutils/Makefile ] || exit 0; \
6026 r=`${PWD_COMMAND}`; export r; \
6027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6028 $(HOST_EXPORTS) \
6029 for flag in $(EXTRA_HOST_FLAGS) ; do \
6030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6031 done; \
6032 echo "Doing info in binutils" ; \
6033 (cd $(HOST_SUBDIR)/binutils && \
6034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6036 "RANLIB=$${RANLIB}" \
6037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6038 info) \
6039 || exit 1
6041 @endif binutils
6043 .PHONY: maybe-dvi-binutils dvi-binutils
6044 maybe-dvi-binutils:
6045 @if binutils
6046 maybe-dvi-binutils: dvi-binutils
6048 dvi-binutils: \
6049 configure-binutils
6050 @[ -f ./binutils/Makefile ] || exit 0; \
6051 r=`${PWD_COMMAND}`; export r; \
6052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053 $(HOST_EXPORTS) \
6054 for flag in $(EXTRA_HOST_FLAGS) ; do \
6055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6056 done; \
6057 echo "Doing dvi in binutils" ; \
6058 (cd $(HOST_SUBDIR)/binutils && \
6059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6061 "RANLIB=$${RANLIB}" \
6062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6063 dvi) \
6064 || exit 1
6066 @endif binutils
6068 .PHONY: maybe-html-binutils html-binutils
6069 maybe-html-binutils:
6070 @if binutils
6071 maybe-html-binutils: html-binutils
6073 html-binutils: \
6074 configure-binutils
6075 @[ -f ./binutils/Makefile ] || exit 0; \
6076 r=`${PWD_COMMAND}`; export r; \
6077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6078 $(HOST_EXPORTS) \
6079 for flag in $(EXTRA_HOST_FLAGS) ; do \
6080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6081 done; \
6082 echo "Doing html in binutils" ; \
6083 (cd $(HOST_SUBDIR)/binutils && \
6084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6086 "RANLIB=$${RANLIB}" \
6087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6088 html) \
6089 || exit 1
6091 @endif binutils
6093 .PHONY: maybe-TAGS-binutils TAGS-binutils
6094 maybe-TAGS-binutils:
6095 @if binutils
6096 maybe-TAGS-binutils: TAGS-binutils
6098 TAGS-binutils: \
6099 configure-binutils
6100 @[ -f ./binutils/Makefile ] || exit 0; \
6101 r=`${PWD_COMMAND}`; export r; \
6102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6103 $(HOST_EXPORTS) \
6104 for flag in $(EXTRA_HOST_FLAGS) ; do \
6105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6106 done; \
6107 echo "Doing TAGS in binutils" ; \
6108 (cd $(HOST_SUBDIR)/binutils && \
6109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6111 "RANLIB=$${RANLIB}" \
6112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6113 TAGS) \
6114 || exit 1
6116 @endif binutils
6118 .PHONY: maybe-install-info-binutils install-info-binutils
6119 maybe-install-info-binutils:
6120 @if binutils
6121 maybe-install-info-binutils: install-info-binutils
6123 install-info-binutils: \
6124 configure-binutils \
6125 info-binutils
6126 @[ -f ./binutils/Makefile ] || exit 0; \
6127 r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129 $(HOST_EXPORTS) \
6130 for flag in $(EXTRA_HOST_FLAGS) ; do \
6131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6132 done; \
6133 echo "Doing install-info in binutils" ; \
6134 (cd $(HOST_SUBDIR)/binutils && \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6137 "RANLIB=$${RANLIB}" \
6138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6139 install-info) \
6140 || exit 1
6142 @endif binutils
6144 .PHONY: maybe-install-html-binutils install-html-binutils
6145 maybe-install-html-binutils:
6146 @if binutils
6147 maybe-install-html-binutils: install-html-binutils
6149 install-html-binutils: \
6150 configure-binutils \
6151 html-binutils
6152 @[ -f ./binutils/Makefile ] || exit 0; \
6153 r=`${PWD_COMMAND}`; export r; \
6154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6155 $(HOST_EXPORTS) \
6156 for flag in $(EXTRA_HOST_FLAGS) ; do \
6157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6158 done; \
6159 echo "Doing install-html in binutils" ; \
6160 (cd $(HOST_SUBDIR)/binutils && \
6161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6163 "RANLIB=$${RANLIB}" \
6164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6165 install-html) \
6166 || exit 1
6168 @endif binutils
6170 .PHONY: maybe-installcheck-binutils installcheck-binutils
6171 maybe-installcheck-binutils:
6172 @if binutils
6173 maybe-installcheck-binutils: installcheck-binutils
6175 installcheck-binutils: \
6176 configure-binutils
6177 @[ -f ./binutils/Makefile ] || exit 0; \
6178 r=`${PWD_COMMAND}`; export r; \
6179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6180 $(HOST_EXPORTS) \
6181 for flag in $(EXTRA_HOST_FLAGS) ; do \
6182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6183 done; \
6184 echo "Doing installcheck in binutils" ; \
6185 (cd $(HOST_SUBDIR)/binutils && \
6186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6188 "RANLIB=$${RANLIB}" \
6189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6190 installcheck) \
6191 || exit 1
6193 @endif binutils
6195 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6196 maybe-mostlyclean-binutils:
6197 @if binutils
6198 maybe-mostlyclean-binutils: mostlyclean-binutils
6200 mostlyclean-binutils:
6201 @[ -f ./binutils/Makefile ] || exit 0; \
6202 r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(HOST_EXPORTS) \
6205 for flag in $(EXTRA_HOST_FLAGS) ; do \
6206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6207 done; \
6208 echo "Doing mostlyclean in binutils" ; \
6209 (cd $(HOST_SUBDIR)/binutils && \
6210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6212 "RANLIB=$${RANLIB}" \
6213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6214 mostlyclean) \
6215 || exit 1
6217 @endif binutils
6219 .PHONY: maybe-clean-binutils clean-binutils
6220 maybe-clean-binutils:
6221 @if binutils
6222 maybe-clean-binutils: clean-binutils
6224 clean-binutils:
6225 @[ -f ./binutils/Makefile ] || exit 0; \
6226 r=`${PWD_COMMAND}`; export r; \
6227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6228 $(HOST_EXPORTS) \
6229 for flag in $(EXTRA_HOST_FLAGS) ; do \
6230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6231 done; \
6232 echo "Doing clean in binutils" ; \
6233 (cd $(HOST_SUBDIR)/binutils && \
6234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6236 "RANLIB=$${RANLIB}" \
6237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6238 clean) \
6239 || exit 1
6241 @endif binutils
6243 .PHONY: maybe-distclean-binutils distclean-binutils
6244 maybe-distclean-binutils:
6245 @if binutils
6246 maybe-distclean-binutils: distclean-binutils
6248 distclean-binutils:
6249 @[ -f ./binutils/Makefile ] || exit 0; \
6250 r=`${PWD_COMMAND}`; export r; \
6251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252 $(HOST_EXPORTS) \
6253 for flag in $(EXTRA_HOST_FLAGS) ; do \
6254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6255 done; \
6256 echo "Doing distclean in binutils" ; \
6257 (cd $(HOST_SUBDIR)/binutils && \
6258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6260 "RANLIB=$${RANLIB}" \
6261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6262 distclean) \
6263 || exit 1
6265 @endif binutils
6267 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6268 maybe-maintainer-clean-binutils:
6269 @if binutils
6270 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6272 maintainer-clean-binutils:
6273 @[ -f ./binutils/Makefile ] || exit 0; \
6274 r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 $(HOST_EXPORTS) \
6277 for flag in $(EXTRA_HOST_FLAGS) ; do \
6278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6279 done; \
6280 echo "Doing maintainer-clean in binutils" ; \
6281 (cd $(HOST_SUBDIR)/binutils && \
6282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6284 "RANLIB=$${RANLIB}" \
6285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6286 maintainer-clean) \
6287 || exit 1
6289 @endif binutils
6293 .PHONY: configure-bison maybe-configure-bison
6294 maybe-configure-bison:
6295 @if bison
6296 maybe-configure-bison: configure-bison
6297 configure-bison:
6298 @: $(MAKE); $(unstage)
6299 @r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6303 $(HOST_EXPORTS) \
6304 echo Configuring in $(HOST_SUBDIR)/bison; \
6305 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6306 case $(srcdir) in \
6307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6308 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6310 esac; \
6311 srcdiroption="--srcdir=$${topdir}/bison"; \
6312 libsrcdir="$$s/bison"; \
6313 $(SHELL) $${libsrcdir}/configure \
6314 $(HOST_CONFIGARGS) $${srcdiroption} \
6315 || exit 1
6316 @endif bison
6322 .PHONY: all-bison maybe-all-bison
6323 maybe-all-bison:
6324 @if bison
6325 TARGET-bison=all
6326 maybe-all-bison: all-bison
6327 all-bison: configure-bison
6328 @: $(MAKE); $(unstage)
6329 @r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(HOST_EXPORTS) \
6332 (cd $(HOST_SUBDIR)/bison && \
6333 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6334 @endif bison
6339 .PHONY: check-bison maybe-check-bison
6340 maybe-check-bison:
6341 @if bison
6342 maybe-check-bison: check-bison
6344 # This module is only tested in a native toolchain.
6345 check-bison:
6346 @: $(MAKE); $(unstage)
6347 @if [ '$(host)' = '$(target)' ] ; then \
6348 r=`${PWD_COMMAND}`; export r; \
6349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6350 $(HOST_EXPORTS) \
6351 (cd $(HOST_SUBDIR)/bison && \
6352 $(MAKE) $(FLAGS_TO_PASS) check); \
6355 @endif bison
6357 .PHONY: install-bison maybe-install-bison
6358 maybe-install-bison:
6359 @if bison
6360 maybe-install-bison: install-bison
6362 install-bison: installdirs
6363 @: $(MAKE); $(unstage)
6364 @r=`${PWD_COMMAND}`; export r; \
6365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6366 $(HOST_EXPORTS) \
6367 (cd $(HOST_SUBDIR)/bison && \
6368 $(MAKE) $(FLAGS_TO_PASS) install)
6370 @endif bison
6372 # Other targets (info, dvi, etc.)
6374 .PHONY: maybe-info-bison info-bison
6375 maybe-info-bison:
6376 @if bison
6377 maybe-info-bison: info-bison
6379 info-bison: \
6380 configure-bison
6381 @: $(MAKE); $(unstage)
6382 @[ -f ./bison/Makefile ] || exit 0; \
6383 r=`${PWD_COMMAND}`; export r; \
6384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6385 $(HOST_EXPORTS) \
6386 for flag in $(EXTRA_HOST_FLAGS) ; do \
6387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6388 done; \
6389 echo "Doing info in bison" ; \
6390 (cd $(HOST_SUBDIR)/bison && \
6391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6393 "RANLIB=$${RANLIB}" \
6394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6395 info) \
6396 || exit 1
6398 @endif bison
6400 .PHONY: maybe-dvi-bison dvi-bison
6401 maybe-dvi-bison:
6402 @if bison
6403 maybe-dvi-bison: dvi-bison
6405 dvi-bison: \
6406 configure-bison
6407 @: $(MAKE); $(unstage)
6408 @[ -f ./bison/Makefile ] || exit 0; \
6409 r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6411 $(HOST_EXPORTS) \
6412 for flag in $(EXTRA_HOST_FLAGS) ; do \
6413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6414 done; \
6415 echo "Doing dvi in bison" ; \
6416 (cd $(HOST_SUBDIR)/bison && \
6417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6419 "RANLIB=$${RANLIB}" \
6420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6421 dvi) \
6422 || exit 1
6424 @endif bison
6426 .PHONY: maybe-html-bison html-bison
6427 maybe-html-bison:
6428 @if bison
6429 maybe-html-bison: html-bison
6431 html-bison: \
6432 configure-bison
6433 @: $(MAKE); $(unstage)
6434 @[ -f ./bison/Makefile ] || exit 0; \
6435 r=`${PWD_COMMAND}`; export r; \
6436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6437 $(HOST_EXPORTS) \
6438 for flag in $(EXTRA_HOST_FLAGS) ; do \
6439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6440 done; \
6441 echo "Doing html in bison" ; \
6442 (cd $(HOST_SUBDIR)/bison && \
6443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6445 "RANLIB=$${RANLIB}" \
6446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6447 html) \
6448 || exit 1
6450 @endif bison
6452 .PHONY: maybe-TAGS-bison TAGS-bison
6453 maybe-TAGS-bison:
6454 @if bison
6455 maybe-TAGS-bison: TAGS-bison
6457 TAGS-bison: \
6458 configure-bison
6459 @: $(MAKE); $(unstage)
6460 @[ -f ./bison/Makefile ] || exit 0; \
6461 r=`${PWD_COMMAND}`; export r; \
6462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6463 $(HOST_EXPORTS) \
6464 for flag in $(EXTRA_HOST_FLAGS) ; do \
6465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6466 done; \
6467 echo "Doing TAGS in bison" ; \
6468 (cd $(HOST_SUBDIR)/bison && \
6469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6471 "RANLIB=$${RANLIB}" \
6472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6473 TAGS) \
6474 || exit 1
6476 @endif bison
6478 .PHONY: maybe-install-info-bison install-info-bison
6479 maybe-install-info-bison:
6480 @if bison
6481 maybe-install-info-bison: install-info-bison
6483 install-info-bison: \
6484 configure-bison \
6485 info-bison
6486 @: $(MAKE); $(unstage)
6487 @[ -f ./bison/Makefile ] || exit 0; \
6488 r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6490 $(HOST_EXPORTS) \
6491 for flag in $(EXTRA_HOST_FLAGS) ; do \
6492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6493 done; \
6494 echo "Doing install-info in bison" ; \
6495 (cd $(HOST_SUBDIR)/bison && \
6496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6498 "RANLIB=$${RANLIB}" \
6499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6500 install-info) \
6501 || exit 1
6503 @endif bison
6505 .PHONY: maybe-install-html-bison install-html-bison
6506 maybe-install-html-bison:
6507 @if bison
6508 maybe-install-html-bison: install-html-bison
6510 install-html-bison: \
6511 configure-bison \
6512 html-bison
6513 @: $(MAKE); $(unstage)
6514 @[ -f ./bison/Makefile ] || exit 0; \
6515 r=`${PWD_COMMAND}`; export r; \
6516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6517 $(HOST_EXPORTS) \
6518 for flag in $(EXTRA_HOST_FLAGS) ; do \
6519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6520 done; \
6521 echo "Doing install-html in bison" ; \
6522 (cd $(HOST_SUBDIR)/bison && \
6523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6525 "RANLIB=$${RANLIB}" \
6526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6527 install-html) \
6528 || exit 1
6530 @endif bison
6532 .PHONY: maybe-installcheck-bison installcheck-bison
6533 maybe-installcheck-bison:
6534 @if bison
6535 maybe-installcheck-bison: installcheck-bison
6537 installcheck-bison: \
6538 configure-bison
6539 @: $(MAKE); $(unstage)
6540 @[ -f ./bison/Makefile ] || exit 0; \
6541 r=`${PWD_COMMAND}`; export r; \
6542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6543 $(HOST_EXPORTS) \
6544 for flag in $(EXTRA_HOST_FLAGS) ; do \
6545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6546 done; \
6547 echo "Doing installcheck in bison" ; \
6548 (cd $(HOST_SUBDIR)/bison && \
6549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6551 "RANLIB=$${RANLIB}" \
6552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6553 installcheck) \
6554 || exit 1
6556 @endif bison
6558 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6559 maybe-mostlyclean-bison:
6560 @if bison
6561 maybe-mostlyclean-bison: mostlyclean-bison
6563 mostlyclean-bison:
6564 @: $(MAKE); $(unstage)
6565 @[ -f ./bison/Makefile ] || exit 0; \
6566 r=`${PWD_COMMAND}`; export r; \
6567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6568 $(HOST_EXPORTS) \
6569 for flag in $(EXTRA_HOST_FLAGS) ; do \
6570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6571 done; \
6572 echo "Doing mostlyclean in bison" ; \
6573 (cd $(HOST_SUBDIR)/bison && \
6574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6576 "RANLIB=$${RANLIB}" \
6577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6578 mostlyclean) \
6579 || exit 1
6581 @endif bison
6583 .PHONY: maybe-clean-bison clean-bison
6584 maybe-clean-bison:
6585 @if bison
6586 maybe-clean-bison: clean-bison
6588 clean-bison:
6589 @: $(MAKE); $(unstage)
6590 @[ -f ./bison/Makefile ] || exit 0; \
6591 r=`${PWD_COMMAND}`; export r; \
6592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6593 $(HOST_EXPORTS) \
6594 for flag in $(EXTRA_HOST_FLAGS) ; do \
6595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6596 done; \
6597 echo "Doing clean in bison" ; \
6598 (cd $(HOST_SUBDIR)/bison && \
6599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6601 "RANLIB=$${RANLIB}" \
6602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6603 clean) \
6604 || exit 1
6606 @endif bison
6608 .PHONY: maybe-distclean-bison distclean-bison
6609 maybe-distclean-bison:
6610 @if bison
6611 maybe-distclean-bison: distclean-bison
6613 distclean-bison:
6614 @: $(MAKE); $(unstage)
6615 @[ -f ./bison/Makefile ] || exit 0; \
6616 r=`${PWD_COMMAND}`; export r; \
6617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 $(HOST_EXPORTS) \
6619 for flag in $(EXTRA_HOST_FLAGS) ; do \
6620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6621 done; \
6622 echo "Doing distclean in bison" ; \
6623 (cd $(HOST_SUBDIR)/bison && \
6624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6626 "RANLIB=$${RANLIB}" \
6627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6628 distclean) \
6629 || exit 1
6631 @endif bison
6633 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6634 maybe-maintainer-clean-bison:
6635 @if bison
6636 maybe-maintainer-clean-bison: maintainer-clean-bison
6638 maintainer-clean-bison:
6639 @: $(MAKE); $(unstage)
6640 @[ -f ./bison/Makefile ] || exit 0; \
6641 r=`${PWD_COMMAND}`; export r; \
6642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6643 $(HOST_EXPORTS) \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6646 done; \
6647 echo "Doing maintainer-clean in bison" ; \
6648 (cd $(HOST_SUBDIR)/bison && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6653 maintainer-clean) \
6654 || exit 1
6656 @endif bison
6660 .PHONY: configure-byacc maybe-configure-byacc
6661 maybe-configure-byacc:
6662 @if byacc
6663 maybe-configure-byacc: configure-byacc
6664 configure-byacc:
6665 @: $(MAKE); $(unstage)
6666 @r=`${PWD_COMMAND}`; export r; \
6667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6668 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6670 $(HOST_EXPORTS) \
6671 echo Configuring in $(HOST_SUBDIR)/byacc; \
6672 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6673 case $(srcdir) in \
6674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6675 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6677 esac; \
6678 srcdiroption="--srcdir=$${topdir}/byacc"; \
6679 libsrcdir="$$s/byacc"; \
6680 $(SHELL) $${libsrcdir}/configure \
6681 $(HOST_CONFIGARGS) $${srcdiroption} \
6682 || exit 1
6683 @endif byacc
6689 .PHONY: all-byacc maybe-all-byacc
6690 maybe-all-byacc:
6691 @if byacc
6692 TARGET-byacc=all
6693 maybe-all-byacc: all-byacc
6694 all-byacc: configure-byacc
6695 @: $(MAKE); $(unstage)
6696 @r=`${PWD_COMMAND}`; export r; \
6697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6698 $(HOST_EXPORTS) \
6699 (cd $(HOST_SUBDIR)/byacc && \
6700 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6701 @endif byacc
6706 .PHONY: check-byacc maybe-check-byacc
6707 maybe-check-byacc:
6708 @if byacc
6709 maybe-check-byacc: check-byacc
6711 # This module is only tested in a native toolchain.
6712 check-byacc:
6713 @: $(MAKE); $(unstage)
6714 @if [ '$(host)' = '$(target)' ] ; then \
6715 r=`${PWD_COMMAND}`; export r; \
6716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6717 $(HOST_EXPORTS) \
6718 (cd $(HOST_SUBDIR)/byacc && \
6719 $(MAKE) $(FLAGS_TO_PASS) check); \
6722 @endif byacc
6724 .PHONY: install-byacc maybe-install-byacc
6725 maybe-install-byacc:
6726 @if byacc
6727 maybe-install-byacc: install-byacc
6729 install-byacc: installdirs
6730 @: $(MAKE); $(unstage)
6731 @r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733 $(HOST_EXPORTS) \
6734 (cd $(HOST_SUBDIR)/byacc && \
6735 $(MAKE) $(FLAGS_TO_PASS) install)
6737 @endif byacc
6739 # Other targets (info, dvi, etc.)
6741 .PHONY: maybe-info-byacc info-byacc
6742 maybe-info-byacc:
6743 @if byacc
6744 maybe-info-byacc: info-byacc
6746 info-byacc: \
6747 configure-byacc
6748 @: $(MAKE); $(unstage)
6749 @[ -f ./byacc/Makefile ] || exit 0; \
6750 r=`${PWD_COMMAND}`; export r; \
6751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6752 $(HOST_EXPORTS) \
6753 for flag in $(EXTRA_HOST_FLAGS) ; do \
6754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6755 done; \
6756 echo "Doing info in byacc" ; \
6757 (cd $(HOST_SUBDIR)/byacc && \
6758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6760 "RANLIB=$${RANLIB}" \
6761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6762 info) \
6763 || exit 1
6765 @endif byacc
6767 .PHONY: maybe-dvi-byacc dvi-byacc
6768 maybe-dvi-byacc:
6769 @if byacc
6770 maybe-dvi-byacc: dvi-byacc
6772 dvi-byacc: \
6773 configure-byacc
6774 @: $(MAKE); $(unstage)
6775 @[ -f ./byacc/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778 $(HOST_EXPORTS) \
6779 for flag in $(EXTRA_HOST_FLAGS) ; do \
6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781 done; \
6782 echo "Doing dvi in byacc" ; \
6783 (cd $(HOST_SUBDIR)/byacc && \
6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786 "RANLIB=$${RANLIB}" \
6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6788 dvi) \
6789 || exit 1
6791 @endif byacc
6793 .PHONY: maybe-html-byacc html-byacc
6794 maybe-html-byacc:
6795 @if byacc
6796 maybe-html-byacc: html-byacc
6798 html-byacc: \
6799 configure-byacc
6800 @: $(MAKE); $(unstage)
6801 @[ -f ./byacc/Makefile ] || exit 0; \
6802 r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6804 $(HOST_EXPORTS) \
6805 for flag in $(EXTRA_HOST_FLAGS) ; do \
6806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6807 done; \
6808 echo "Doing html in byacc" ; \
6809 (cd $(HOST_SUBDIR)/byacc && \
6810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6812 "RANLIB=$${RANLIB}" \
6813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6814 html) \
6815 || exit 1
6817 @endif byacc
6819 .PHONY: maybe-TAGS-byacc TAGS-byacc
6820 maybe-TAGS-byacc:
6821 @if byacc
6822 maybe-TAGS-byacc: TAGS-byacc
6824 TAGS-byacc: \
6825 configure-byacc
6826 @: $(MAKE); $(unstage)
6827 @[ -f ./byacc/Makefile ] || exit 0; \
6828 r=`${PWD_COMMAND}`; export r; \
6829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830 $(HOST_EXPORTS) \
6831 for flag in $(EXTRA_HOST_FLAGS) ; do \
6832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6833 done; \
6834 echo "Doing TAGS in byacc" ; \
6835 (cd $(HOST_SUBDIR)/byacc && \
6836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6838 "RANLIB=$${RANLIB}" \
6839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6840 TAGS) \
6841 || exit 1
6843 @endif byacc
6845 .PHONY: maybe-install-info-byacc install-info-byacc
6846 maybe-install-info-byacc:
6847 @if byacc
6848 maybe-install-info-byacc: install-info-byacc
6850 install-info-byacc: \
6851 configure-byacc \
6852 info-byacc
6853 @: $(MAKE); $(unstage)
6854 @[ -f ./byacc/Makefile ] || exit 0; \
6855 r=`${PWD_COMMAND}`; export r; \
6856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6857 $(HOST_EXPORTS) \
6858 for flag in $(EXTRA_HOST_FLAGS) ; do \
6859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6860 done; \
6861 echo "Doing install-info in byacc" ; \
6862 (cd $(HOST_SUBDIR)/byacc && \
6863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6865 "RANLIB=$${RANLIB}" \
6866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6867 install-info) \
6868 || exit 1
6870 @endif byacc
6872 .PHONY: maybe-install-html-byacc install-html-byacc
6873 maybe-install-html-byacc:
6874 @if byacc
6875 maybe-install-html-byacc: install-html-byacc
6877 install-html-byacc: \
6878 configure-byacc \
6879 html-byacc
6880 @: $(MAKE); $(unstage)
6881 @[ -f ./byacc/Makefile ] || exit 0; \
6882 r=`${PWD_COMMAND}`; export r; \
6883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6884 $(HOST_EXPORTS) \
6885 for flag in $(EXTRA_HOST_FLAGS) ; do \
6886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6887 done; \
6888 echo "Doing install-html in byacc" ; \
6889 (cd $(HOST_SUBDIR)/byacc && \
6890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6892 "RANLIB=$${RANLIB}" \
6893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6894 install-html) \
6895 || exit 1
6897 @endif byacc
6899 .PHONY: maybe-installcheck-byacc installcheck-byacc
6900 maybe-installcheck-byacc:
6901 @if byacc
6902 maybe-installcheck-byacc: installcheck-byacc
6904 installcheck-byacc: \
6905 configure-byacc
6906 @: $(MAKE); $(unstage)
6907 @[ -f ./byacc/Makefile ] || exit 0; \
6908 r=`${PWD_COMMAND}`; export r; \
6909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6910 $(HOST_EXPORTS) \
6911 for flag in $(EXTRA_HOST_FLAGS) ; do \
6912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6913 done; \
6914 echo "Doing installcheck in byacc" ; \
6915 (cd $(HOST_SUBDIR)/byacc && \
6916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6918 "RANLIB=$${RANLIB}" \
6919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6920 installcheck) \
6921 || exit 1
6923 @endif byacc
6925 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6926 maybe-mostlyclean-byacc:
6927 @if byacc
6928 maybe-mostlyclean-byacc: mostlyclean-byacc
6930 mostlyclean-byacc:
6931 @: $(MAKE); $(unstage)
6932 @[ -f ./byacc/Makefile ] || exit 0; \
6933 r=`${PWD_COMMAND}`; export r; \
6934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 $(HOST_EXPORTS) \
6936 for flag in $(EXTRA_HOST_FLAGS) ; do \
6937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6938 done; \
6939 echo "Doing mostlyclean in byacc" ; \
6940 (cd $(HOST_SUBDIR)/byacc && \
6941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6943 "RANLIB=$${RANLIB}" \
6944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6945 mostlyclean) \
6946 || exit 1
6948 @endif byacc
6950 .PHONY: maybe-clean-byacc clean-byacc
6951 maybe-clean-byacc:
6952 @if byacc
6953 maybe-clean-byacc: clean-byacc
6955 clean-byacc:
6956 @: $(MAKE); $(unstage)
6957 @[ -f ./byacc/Makefile ] || exit 0; \
6958 r=`${PWD_COMMAND}`; export r; \
6959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 $(HOST_EXPORTS) \
6961 for flag in $(EXTRA_HOST_FLAGS) ; do \
6962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6963 done; \
6964 echo "Doing clean in byacc" ; \
6965 (cd $(HOST_SUBDIR)/byacc && \
6966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6968 "RANLIB=$${RANLIB}" \
6969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6970 clean) \
6971 || exit 1
6973 @endif byacc
6975 .PHONY: maybe-distclean-byacc distclean-byacc
6976 maybe-distclean-byacc:
6977 @if byacc
6978 maybe-distclean-byacc: distclean-byacc
6980 distclean-byacc:
6981 @: $(MAKE); $(unstage)
6982 @[ -f ./byacc/Makefile ] || exit 0; \
6983 r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985 $(HOST_EXPORTS) \
6986 for flag in $(EXTRA_HOST_FLAGS) ; do \
6987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6988 done; \
6989 echo "Doing distclean in byacc" ; \
6990 (cd $(HOST_SUBDIR)/byacc && \
6991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6993 "RANLIB=$${RANLIB}" \
6994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6995 distclean) \
6996 || exit 1
6998 @endif byacc
7000 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7001 maybe-maintainer-clean-byacc:
7002 @if byacc
7003 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7005 maintainer-clean-byacc:
7006 @: $(MAKE); $(unstage)
7007 @[ -f ./byacc/Makefile ] || exit 0; \
7008 r=`${PWD_COMMAND}`; export r; \
7009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7010 $(HOST_EXPORTS) \
7011 for flag in $(EXTRA_HOST_FLAGS) ; do \
7012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 done; \
7014 echo "Doing maintainer-clean in byacc" ; \
7015 (cd $(HOST_SUBDIR)/byacc && \
7016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7018 "RANLIB=$${RANLIB}" \
7019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7020 maintainer-clean) \
7021 || exit 1
7023 @endif byacc
7027 .PHONY: configure-bzip2 maybe-configure-bzip2
7028 maybe-configure-bzip2:
7029 @if bzip2
7030 maybe-configure-bzip2: configure-bzip2
7031 configure-bzip2:
7032 @: $(MAKE); $(unstage)
7033 @r=`${PWD_COMMAND}`; export r; \
7034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7035 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7037 $(HOST_EXPORTS) \
7038 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7039 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7040 case $(srcdir) in \
7041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7042 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7044 esac; \
7045 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7046 libsrcdir="$$s/bzip2"; \
7047 $(SHELL) $${libsrcdir}/configure \
7048 $(HOST_CONFIGARGS) $${srcdiroption} \
7049 || exit 1
7050 @endif bzip2
7056 .PHONY: all-bzip2 maybe-all-bzip2
7057 maybe-all-bzip2:
7058 @if bzip2
7059 TARGET-bzip2=all
7060 maybe-all-bzip2: all-bzip2
7061 all-bzip2: configure-bzip2
7062 @: $(MAKE); $(unstage)
7063 @r=`${PWD_COMMAND}`; export r; \
7064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7065 $(HOST_EXPORTS) \
7066 (cd $(HOST_SUBDIR)/bzip2 && \
7067 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7068 @endif bzip2
7073 .PHONY: check-bzip2 maybe-check-bzip2
7074 maybe-check-bzip2:
7075 @if bzip2
7076 maybe-check-bzip2: check-bzip2
7078 check-bzip2:
7079 @: $(MAKE); $(unstage)
7080 @r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7082 $(HOST_EXPORTS) \
7083 (cd $(HOST_SUBDIR)/bzip2 && \
7084 $(MAKE) $(FLAGS_TO_PASS) check)
7086 @endif bzip2
7088 .PHONY: install-bzip2 maybe-install-bzip2
7089 maybe-install-bzip2:
7090 @if bzip2
7091 maybe-install-bzip2: install-bzip2
7093 install-bzip2: installdirs
7094 @: $(MAKE); $(unstage)
7095 @r=`${PWD_COMMAND}`; export r; \
7096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7097 $(HOST_EXPORTS) \
7098 (cd $(HOST_SUBDIR)/bzip2 && \
7099 $(MAKE) $(FLAGS_TO_PASS) install)
7101 @endif bzip2
7103 # Other targets (info, dvi, etc.)
7105 .PHONY: maybe-info-bzip2 info-bzip2
7106 maybe-info-bzip2:
7107 @if bzip2
7108 maybe-info-bzip2: info-bzip2
7110 info-bzip2: \
7111 configure-bzip2
7112 @: $(MAKE); $(unstage)
7113 @[ -f ./bzip2/Makefile ] || exit 0; \
7114 r=`${PWD_COMMAND}`; export r; \
7115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7116 $(HOST_EXPORTS) \
7117 for flag in $(EXTRA_HOST_FLAGS) ; do \
7118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7119 done; \
7120 echo "Doing info in bzip2" ; \
7121 (cd $(HOST_SUBDIR)/bzip2 && \
7122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7124 "RANLIB=$${RANLIB}" \
7125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7126 info) \
7127 || exit 1
7129 @endif bzip2
7131 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7132 maybe-dvi-bzip2:
7133 @if bzip2
7134 maybe-dvi-bzip2: dvi-bzip2
7136 dvi-bzip2: \
7137 configure-bzip2
7138 @: $(MAKE); $(unstage)
7139 @[ -f ./bzip2/Makefile ] || exit 0; \
7140 r=`${PWD_COMMAND}`; export r; \
7141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7142 $(HOST_EXPORTS) \
7143 for flag in $(EXTRA_HOST_FLAGS) ; do \
7144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7145 done; \
7146 echo "Doing dvi in bzip2" ; \
7147 (cd $(HOST_SUBDIR)/bzip2 && \
7148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7150 "RANLIB=$${RANLIB}" \
7151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7152 dvi) \
7153 || exit 1
7155 @endif bzip2
7157 .PHONY: maybe-html-bzip2 html-bzip2
7158 maybe-html-bzip2:
7159 @if bzip2
7160 maybe-html-bzip2: html-bzip2
7162 html-bzip2: \
7163 configure-bzip2
7164 @: $(MAKE); $(unstage)
7165 @[ -f ./bzip2/Makefile ] || exit 0; \
7166 r=`${PWD_COMMAND}`; export r; \
7167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7168 $(HOST_EXPORTS) \
7169 for flag in $(EXTRA_HOST_FLAGS) ; do \
7170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7171 done; \
7172 echo "Doing html in bzip2" ; \
7173 (cd $(HOST_SUBDIR)/bzip2 && \
7174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7176 "RANLIB=$${RANLIB}" \
7177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7178 html) \
7179 || exit 1
7181 @endif bzip2
7183 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7184 maybe-TAGS-bzip2:
7185 @if bzip2
7186 maybe-TAGS-bzip2: TAGS-bzip2
7188 TAGS-bzip2: \
7189 configure-bzip2
7190 @: $(MAKE); $(unstage)
7191 @[ -f ./bzip2/Makefile ] || exit 0; \
7192 r=`${PWD_COMMAND}`; export r; \
7193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7194 $(HOST_EXPORTS) \
7195 for flag in $(EXTRA_HOST_FLAGS) ; do \
7196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7197 done; \
7198 echo "Doing TAGS in bzip2" ; \
7199 (cd $(HOST_SUBDIR)/bzip2 && \
7200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7202 "RANLIB=$${RANLIB}" \
7203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7204 TAGS) \
7205 || exit 1
7207 @endif bzip2
7209 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7210 maybe-install-info-bzip2:
7211 @if bzip2
7212 maybe-install-info-bzip2: install-info-bzip2
7214 install-info-bzip2: \
7215 configure-bzip2 \
7216 info-bzip2
7217 @: $(MAKE); $(unstage)
7218 @[ -f ./bzip2/Makefile ] || exit 0; \
7219 r=`${PWD_COMMAND}`; export r; \
7220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7221 $(HOST_EXPORTS) \
7222 for flag in $(EXTRA_HOST_FLAGS) ; do \
7223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7224 done; \
7225 echo "Doing install-info in bzip2" ; \
7226 (cd $(HOST_SUBDIR)/bzip2 && \
7227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7229 "RANLIB=$${RANLIB}" \
7230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7231 install-info) \
7232 || exit 1
7234 @endif bzip2
7236 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7237 maybe-install-html-bzip2:
7238 @if bzip2
7239 maybe-install-html-bzip2: install-html-bzip2
7241 install-html-bzip2: \
7242 configure-bzip2 \
7243 html-bzip2
7244 @: $(MAKE); $(unstage)
7245 @[ -f ./bzip2/Makefile ] || exit 0; \
7246 r=`${PWD_COMMAND}`; export r; \
7247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7248 $(HOST_EXPORTS) \
7249 for flag in $(EXTRA_HOST_FLAGS) ; do \
7250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7251 done; \
7252 echo "Doing install-html in bzip2" ; \
7253 (cd $(HOST_SUBDIR)/bzip2 && \
7254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7256 "RANLIB=$${RANLIB}" \
7257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7258 install-html) \
7259 || exit 1
7261 @endif bzip2
7263 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7264 maybe-installcheck-bzip2:
7265 @if bzip2
7266 maybe-installcheck-bzip2: installcheck-bzip2
7268 installcheck-bzip2: \
7269 configure-bzip2
7270 @: $(MAKE); $(unstage)
7271 @[ -f ./bzip2/Makefile ] || exit 0; \
7272 r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(HOST_EXPORTS) \
7275 for flag in $(EXTRA_HOST_FLAGS) ; do \
7276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 done; \
7278 echo "Doing installcheck in bzip2" ; \
7279 (cd $(HOST_SUBDIR)/bzip2 && \
7280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7282 "RANLIB=$${RANLIB}" \
7283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7284 installcheck) \
7285 || exit 1
7287 @endif bzip2
7289 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7290 maybe-mostlyclean-bzip2:
7291 @if bzip2
7292 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7294 mostlyclean-bzip2:
7295 @: $(MAKE); $(unstage)
7296 @[ -f ./bzip2/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(HOST_EXPORTS) \
7300 for flag in $(EXTRA_HOST_FLAGS) ; do \
7301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 done; \
7303 echo "Doing mostlyclean in bzip2" ; \
7304 (cd $(HOST_SUBDIR)/bzip2 && \
7305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7307 "RANLIB=$${RANLIB}" \
7308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7309 mostlyclean) \
7310 || exit 1
7312 @endif bzip2
7314 .PHONY: maybe-clean-bzip2 clean-bzip2
7315 maybe-clean-bzip2:
7316 @if bzip2
7317 maybe-clean-bzip2: clean-bzip2
7319 clean-bzip2:
7320 @: $(MAKE); $(unstage)
7321 @[ -f ./bzip2/Makefile ] || exit 0; \
7322 r=`${PWD_COMMAND}`; export r; \
7323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7324 $(HOST_EXPORTS) \
7325 for flag in $(EXTRA_HOST_FLAGS) ; do \
7326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7327 done; \
7328 echo "Doing clean in bzip2" ; \
7329 (cd $(HOST_SUBDIR)/bzip2 && \
7330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7332 "RANLIB=$${RANLIB}" \
7333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7334 clean) \
7335 || exit 1
7337 @endif bzip2
7339 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7340 maybe-distclean-bzip2:
7341 @if bzip2
7342 maybe-distclean-bzip2: distclean-bzip2
7344 distclean-bzip2:
7345 @: $(MAKE); $(unstage)
7346 @[ -f ./bzip2/Makefile ] || exit 0; \
7347 r=`${PWD_COMMAND}`; export r; \
7348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7349 $(HOST_EXPORTS) \
7350 for flag in $(EXTRA_HOST_FLAGS) ; do \
7351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7352 done; \
7353 echo "Doing distclean in bzip2" ; \
7354 (cd $(HOST_SUBDIR)/bzip2 && \
7355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7357 "RANLIB=$${RANLIB}" \
7358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7359 distclean) \
7360 || exit 1
7362 @endif bzip2
7364 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7365 maybe-maintainer-clean-bzip2:
7366 @if bzip2
7367 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7369 maintainer-clean-bzip2:
7370 @: $(MAKE); $(unstage)
7371 @[ -f ./bzip2/Makefile ] || exit 0; \
7372 r=`${PWD_COMMAND}`; export r; \
7373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7374 $(HOST_EXPORTS) \
7375 for flag in $(EXTRA_HOST_FLAGS) ; do \
7376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7377 done; \
7378 echo "Doing maintainer-clean in bzip2" ; \
7379 (cd $(HOST_SUBDIR)/bzip2 && \
7380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7382 "RANLIB=$${RANLIB}" \
7383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7384 maintainer-clean) \
7385 || exit 1
7387 @endif bzip2
7391 .PHONY: configure-dejagnu maybe-configure-dejagnu
7392 maybe-configure-dejagnu:
7393 @if dejagnu
7394 maybe-configure-dejagnu: configure-dejagnu
7395 configure-dejagnu:
7396 @: $(MAKE); $(unstage)
7397 @r=`${PWD_COMMAND}`; export r; \
7398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7399 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7401 $(HOST_EXPORTS) \
7402 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7403 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7404 case $(srcdir) in \
7405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7406 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7408 esac; \
7409 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7410 libsrcdir="$$s/dejagnu"; \
7411 $(SHELL) $${libsrcdir}/configure \
7412 $(HOST_CONFIGARGS) $${srcdiroption} \
7413 || exit 1
7414 @endif dejagnu
7420 .PHONY: all-dejagnu maybe-all-dejagnu
7421 maybe-all-dejagnu:
7422 @if dejagnu
7423 TARGET-dejagnu=all
7424 maybe-all-dejagnu: all-dejagnu
7425 all-dejagnu: configure-dejagnu
7426 @: $(MAKE); $(unstage)
7427 @r=`${PWD_COMMAND}`; export r; \
7428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429 $(HOST_EXPORTS) \
7430 (cd $(HOST_SUBDIR)/dejagnu && \
7431 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7432 @endif dejagnu
7437 .PHONY: check-dejagnu maybe-check-dejagnu
7438 maybe-check-dejagnu:
7439 @if dejagnu
7440 maybe-check-dejagnu: check-dejagnu
7442 check-dejagnu:
7443 @: $(MAKE); $(unstage)
7444 @r=`${PWD_COMMAND}`; export r; \
7445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7446 $(HOST_EXPORTS) \
7447 (cd $(HOST_SUBDIR)/dejagnu && \
7448 $(MAKE) $(FLAGS_TO_PASS) check)
7450 @endif dejagnu
7452 .PHONY: install-dejagnu maybe-install-dejagnu
7453 maybe-install-dejagnu:
7454 @if dejagnu
7455 maybe-install-dejagnu: install-dejagnu
7457 install-dejagnu: installdirs
7458 @: $(MAKE); $(unstage)
7459 @r=`${PWD_COMMAND}`; export r; \
7460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7461 $(HOST_EXPORTS) \
7462 (cd $(HOST_SUBDIR)/dejagnu && \
7463 $(MAKE) $(FLAGS_TO_PASS) install)
7465 @endif dejagnu
7467 # Other targets (info, dvi, etc.)
7469 .PHONY: maybe-info-dejagnu info-dejagnu
7470 maybe-info-dejagnu:
7471 @if dejagnu
7472 maybe-info-dejagnu: info-dejagnu
7474 info-dejagnu: \
7475 configure-dejagnu
7476 @: $(MAKE); $(unstage)
7477 @[ -f ./dejagnu/Makefile ] || exit 0; \
7478 r=`${PWD_COMMAND}`; export r; \
7479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480 $(HOST_EXPORTS) \
7481 for flag in $(EXTRA_HOST_FLAGS) ; do \
7482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7483 done; \
7484 echo "Doing info in dejagnu" ; \
7485 (cd $(HOST_SUBDIR)/dejagnu && \
7486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7488 "RANLIB=$${RANLIB}" \
7489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7490 info) \
7491 || exit 1
7493 @endif dejagnu
7495 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7496 maybe-dvi-dejagnu:
7497 @if dejagnu
7498 maybe-dvi-dejagnu: dvi-dejagnu
7500 dvi-dejagnu: \
7501 configure-dejagnu
7502 @: $(MAKE); $(unstage)
7503 @[ -f ./dejagnu/Makefile ] || exit 0; \
7504 r=`${PWD_COMMAND}`; export r; \
7505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7506 $(HOST_EXPORTS) \
7507 for flag in $(EXTRA_HOST_FLAGS) ; do \
7508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7509 done; \
7510 echo "Doing dvi in dejagnu" ; \
7511 (cd $(HOST_SUBDIR)/dejagnu && \
7512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7514 "RANLIB=$${RANLIB}" \
7515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7516 dvi) \
7517 || exit 1
7519 @endif dejagnu
7521 .PHONY: maybe-html-dejagnu html-dejagnu
7522 maybe-html-dejagnu:
7523 @if dejagnu
7524 maybe-html-dejagnu: html-dejagnu
7526 html-dejagnu: \
7527 configure-dejagnu
7528 @: $(MAKE); $(unstage)
7529 @[ -f ./dejagnu/Makefile ] || exit 0; \
7530 r=`${PWD_COMMAND}`; export r; \
7531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7532 $(HOST_EXPORTS) \
7533 for flag in $(EXTRA_HOST_FLAGS) ; do \
7534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7535 done; \
7536 echo "Doing html in dejagnu" ; \
7537 (cd $(HOST_SUBDIR)/dejagnu && \
7538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7540 "RANLIB=$${RANLIB}" \
7541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7542 html) \
7543 || exit 1
7545 @endif dejagnu
7547 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7548 maybe-TAGS-dejagnu:
7549 @if dejagnu
7550 maybe-TAGS-dejagnu: TAGS-dejagnu
7552 TAGS-dejagnu: \
7553 configure-dejagnu
7554 @: $(MAKE); $(unstage)
7555 @[ -f ./dejagnu/Makefile ] || exit 0; \
7556 r=`${PWD_COMMAND}`; export r; \
7557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7558 $(HOST_EXPORTS) \
7559 for flag in $(EXTRA_HOST_FLAGS) ; do \
7560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7561 done; \
7562 echo "Doing TAGS in dejagnu" ; \
7563 (cd $(HOST_SUBDIR)/dejagnu && \
7564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7566 "RANLIB=$${RANLIB}" \
7567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7568 TAGS) \
7569 || exit 1
7571 @endif dejagnu
7573 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7574 maybe-install-info-dejagnu:
7575 @if dejagnu
7576 maybe-install-info-dejagnu: install-info-dejagnu
7578 install-info-dejagnu: \
7579 configure-dejagnu \
7580 info-dejagnu
7581 @: $(MAKE); $(unstage)
7582 @[ -f ./dejagnu/Makefile ] || exit 0; \
7583 r=`${PWD_COMMAND}`; export r; \
7584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7585 $(HOST_EXPORTS) \
7586 for flag in $(EXTRA_HOST_FLAGS) ; do \
7587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7588 done; \
7589 echo "Doing install-info in dejagnu" ; \
7590 (cd $(HOST_SUBDIR)/dejagnu && \
7591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7593 "RANLIB=$${RANLIB}" \
7594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7595 install-info) \
7596 || exit 1
7598 @endif dejagnu
7600 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7601 maybe-install-html-dejagnu:
7602 @if dejagnu
7603 maybe-install-html-dejagnu: install-html-dejagnu
7605 install-html-dejagnu: \
7606 configure-dejagnu \
7607 html-dejagnu
7608 @: $(MAKE); $(unstage)
7609 @[ -f ./dejagnu/Makefile ] || exit 0; \
7610 r=`${PWD_COMMAND}`; export r; \
7611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7612 $(HOST_EXPORTS) \
7613 for flag in $(EXTRA_HOST_FLAGS) ; do \
7614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7615 done; \
7616 echo "Doing install-html in dejagnu" ; \
7617 (cd $(HOST_SUBDIR)/dejagnu && \
7618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7620 "RANLIB=$${RANLIB}" \
7621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7622 install-html) \
7623 || exit 1
7625 @endif dejagnu
7627 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7628 maybe-installcheck-dejagnu:
7629 @if dejagnu
7630 maybe-installcheck-dejagnu: installcheck-dejagnu
7632 installcheck-dejagnu: \
7633 configure-dejagnu
7634 @: $(MAKE); $(unstage)
7635 @[ -f ./dejagnu/Makefile ] || exit 0; \
7636 r=`${PWD_COMMAND}`; export r; \
7637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7638 $(HOST_EXPORTS) \
7639 for flag in $(EXTRA_HOST_FLAGS) ; do \
7640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7641 done; \
7642 echo "Doing installcheck in dejagnu" ; \
7643 (cd $(HOST_SUBDIR)/dejagnu && \
7644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7646 "RANLIB=$${RANLIB}" \
7647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7648 installcheck) \
7649 || exit 1
7651 @endif dejagnu
7653 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7654 maybe-mostlyclean-dejagnu:
7655 @if dejagnu
7656 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7658 mostlyclean-dejagnu:
7659 @: $(MAKE); $(unstage)
7660 @[ -f ./dejagnu/Makefile ] || exit 0; \
7661 r=`${PWD_COMMAND}`; export r; \
7662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7663 $(HOST_EXPORTS) \
7664 for flag in $(EXTRA_HOST_FLAGS) ; do \
7665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7666 done; \
7667 echo "Doing mostlyclean in dejagnu" ; \
7668 (cd $(HOST_SUBDIR)/dejagnu && \
7669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7671 "RANLIB=$${RANLIB}" \
7672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7673 mostlyclean) \
7674 || exit 1
7676 @endif dejagnu
7678 .PHONY: maybe-clean-dejagnu clean-dejagnu
7679 maybe-clean-dejagnu:
7680 @if dejagnu
7681 maybe-clean-dejagnu: clean-dejagnu
7683 clean-dejagnu:
7684 @: $(MAKE); $(unstage)
7685 @[ -f ./dejagnu/Makefile ] || exit 0; \
7686 r=`${PWD_COMMAND}`; export r; \
7687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7688 $(HOST_EXPORTS) \
7689 for flag in $(EXTRA_HOST_FLAGS) ; do \
7690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7691 done; \
7692 echo "Doing clean in dejagnu" ; \
7693 (cd $(HOST_SUBDIR)/dejagnu && \
7694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7696 "RANLIB=$${RANLIB}" \
7697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7698 clean) \
7699 || exit 1
7701 @endif dejagnu
7703 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7704 maybe-distclean-dejagnu:
7705 @if dejagnu
7706 maybe-distclean-dejagnu: distclean-dejagnu
7708 distclean-dejagnu:
7709 @: $(MAKE); $(unstage)
7710 @[ -f ./dejagnu/Makefile ] || exit 0; \
7711 r=`${PWD_COMMAND}`; export r; \
7712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7713 $(HOST_EXPORTS) \
7714 for flag in $(EXTRA_HOST_FLAGS) ; do \
7715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7716 done; \
7717 echo "Doing distclean in dejagnu" ; \
7718 (cd $(HOST_SUBDIR)/dejagnu && \
7719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7721 "RANLIB=$${RANLIB}" \
7722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7723 distclean) \
7724 || exit 1
7726 @endif dejagnu
7728 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7729 maybe-maintainer-clean-dejagnu:
7730 @if dejagnu
7731 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7733 maintainer-clean-dejagnu:
7734 @: $(MAKE); $(unstage)
7735 @[ -f ./dejagnu/Makefile ] || exit 0; \
7736 r=`${PWD_COMMAND}`; export r; \
7737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7738 $(HOST_EXPORTS) \
7739 for flag in $(EXTRA_HOST_FLAGS) ; do \
7740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7741 done; \
7742 echo "Doing maintainer-clean in dejagnu" ; \
7743 (cd $(HOST_SUBDIR)/dejagnu && \
7744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7746 "RANLIB=$${RANLIB}" \
7747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7748 maintainer-clean) \
7749 || exit 1
7751 @endif dejagnu
7755 .PHONY: configure-diff maybe-configure-diff
7756 maybe-configure-diff:
7757 @if diff
7758 maybe-configure-diff: configure-diff
7759 configure-diff:
7760 @: $(MAKE); $(unstage)
7761 @r=`${PWD_COMMAND}`; export r; \
7762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7765 $(HOST_EXPORTS) \
7766 echo Configuring in $(HOST_SUBDIR)/diff; \
7767 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7768 case $(srcdir) in \
7769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7770 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7772 esac; \
7773 srcdiroption="--srcdir=$${topdir}/diff"; \
7774 libsrcdir="$$s/diff"; \
7775 $(SHELL) $${libsrcdir}/configure \
7776 $(HOST_CONFIGARGS) $${srcdiroption} \
7777 || exit 1
7778 @endif diff
7784 .PHONY: all-diff maybe-all-diff
7785 maybe-all-diff:
7786 @if diff
7787 TARGET-diff=all
7788 maybe-all-diff: all-diff
7789 all-diff: configure-diff
7790 @: $(MAKE); $(unstage)
7791 @r=`${PWD_COMMAND}`; export r; \
7792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7793 $(HOST_EXPORTS) \
7794 (cd $(HOST_SUBDIR)/diff && \
7795 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7796 @endif diff
7801 .PHONY: check-diff maybe-check-diff
7802 maybe-check-diff:
7803 @if diff
7804 maybe-check-diff: check-diff
7806 check-diff:
7807 @: $(MAKE); $(unstage)
7808 @r=`${PWD_COMMAND}`; export r; \
7809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7810 $(HOST_EXPORTS) \
7811 (cd $(HOST_SUBDIR)/diff && \
7812 $(MAKE) $(FLAGS_TO_PASS) check)
7814 @endif diff
7816 .PHONY: install-diff maybe-install-diff
7817 maybe-install-diff:
7818 @if diff
7819 maybe-install-diff: install-diff
7821 install-diff: installdirs
7822 @: $(MAKE); $(unstage)
7823 @r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 $(HOST_EXPORTS) \
7826 (cd $(HOST_SUBDIR)/diff && \
7827 $(MAKE) $(FLAGS_TO_PASS) install)
7829 @endif diff
7831 # Other targets (info, dvi, etc.)
7833 .PHONY: maybe-info-diff info-diff
7834 maybe-info-diff:
7835 @if diff
7836 maybe-info-diff: info-diff
7838 info-diff: \
7839 configure-diff
7840 @: $(MAKE); $(unstage)
7841 @[ -f ./diff/Makefile ] || exit 0; \
7842 r=`${PWD_COMMAND}`; export r; \
7843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7844 $(HOST_EXPORTS) \
7845 for flag in $(EXTRA_HOST_FLAGS) ; do \
7846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7847 done; \
7848 echo "Doing info in diff" ; \
7849 (cd $(HOST_SUBDIR)/diff && \
7850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7852 "RANLIB=$${RANLIB}" \
7853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7854 info) \
7855 || exit 1
7857 @endif diff
7859 .PHONY: maybe-dvi-diff dvi-diff
7860 maybe-dvi-diff:
7861 @if diff
7862 maybe-dvi-diff: dvi-diff
7864 dvi-diff: \
7865 configure-diff
7866 @: $(MAKE); $(unstage)
7867 @[ -f ./diff/Makefile ] || exit 0; \
7868 r=`${PWD_COMMAND}`; export r; \
7869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 $(HOST_EXPORTS) \
7871 for flag in $(EXTRA_HOST_FLAGS) ; do \
7872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7873 done; \
7874 echo "Doing dvi in diff" ; \
7875 (cd $(HOST_SUBDIR)/diff && \
7876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7878 "RANLIB=$${RANLIB}" \
7879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7880 dvi) \
7881 || exit 1
7883 @endif diff
7885 .PHONY: maybe-html-diff html-diff
7886 maybe-html-diff:
7887 @if diff
7888 maybe-html-diff: html-diff
7890 html-diff: \
7891 configure-diff
7892 @: $(MAKE); $(unstage)
7893 @[ -f ./diff/Makefile ] || exit 0; \
7894 r=`${PWD_COMMAND}`; export r; \
7895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 $(HOST_EXPORTS) \
7897 for flag in $(EXTRA_HOST_FLAGS) ; do \
7898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 done; \
7900 echo "Doing html in diff" ; \
7901 (cd $(HOST_SUBDIR)/diff && \
7902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7904 "RANLIB=$${RANLIB}" \
7905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7906 html) \
7907 || exit 1
7909 @endif diff
7911 .PHONY: maybe-TAGS-diff TAGS-diff
7912 maybe-TAGS-diff:
7913 @if diff
7914 maybe-TAGS-diff: TAGS-diff
7916 TAGS-diff: \
7917 configure-diff
7918 @: $(MAKE); $(unstage)
7919 @[ -f ./diff/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 TAGS in diff" ; \
7927 (cd $(HOST_SUBDIR)/diff && \
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 TAGS) \
7933 || exit 1
7935 @endif diff
7937 .PHONY: maybe-install-info-diff install-info-diff
7938 maybe-install-info-diff:
7939 @if diff
7940 maybe-install-info-diff: install-info-diff
7942 install-info-diff: \
7943 configure-diff \
7944 info-diff
7945 @: $(MAKE); $(unstage)
7946 @[ -f ./diff/Makefile ] || exit 0; \
7947 r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949 $(HOST_EXPORTS) \
7950 for flag in $(EXTRA_HOST_FLAGS) ; do \
7951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7952 done; \
7953 echo "Doing install-info in diff" ; \
7954 (cd $(HOST_SUBDIR)/diff && \
7955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7957 "RANLIB=$${RANLIB}" \
7958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7959 install-info) \
7960 || exit 1
7962 @endif diff
7964 .PHONY: maybe-install-html-diff install-html-diff
7965 maybe-install-html-diff:
7966 @if diff
7967 maybe-install-html-diff: install-html-diff
7969 install-html-diff: \
7970 configure-diff \
7971 html-diff
7972 @: $(MAKE); $(unstage)
7973 @[ -f ./diff/Makefile ] || exit 0; \
7974 r=`${PWD_COMMAND}`; export r; \
7975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 $(HOST_EXPORTS) \
7977 for flag in $(EXTRA_HOST_FLAGS) ; do \
7978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7979 done; \
7980 echo "Doing install-html in diff" ; \
7981 (cd $(HOST_SUBDIR)/diff && \
7982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7984 "RANLIB=$${RANLIB}" \
7985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7986 install-html) \
7987 || exit 1
7989 @endif diff
7991 .PHONY: maybe-installcheck-diff installcheck-diff
7992 maybe-installcheck-diff:
7993 @if diff
7994 maybe-installcheck-diff: installcheck-diff
7996 installcheck-diff: \
7997 configure-diff
7998 @: $(MAKE); $(unstage)
7999 @[ -f ./diff/Makefile ] || exit 0; \
8000 r=`${PWD_COMMAND}`; export r; \
8001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8002 $(HOST_EXPORTS) \
8003 for flag in $(EXTRA_HOST_FLAGS) ; do \
8004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8005 done; \
8006 echo "Doing installcheck in diff" ; \
8007 (cd $(HOST_SUBDIR)/diff && \
8008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8010 "RANLIB=$${RANLIB}" \
8011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8012 installcheck) \
8013 || exit 1
8015 @endif diff
8017 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8018 maybe-mostlyclean-diff:
8019 @if diff
8020 maybe-mostlyclean-diff: mostlyclean-diff
8022 mostlyclean-diff:
8023 @: $(MAKE); $(unstage)
8024 @[ -f ./diff/Makefile ] || exit 0; \
8025 r=`${PWD_COMMAND}`; export r; \
8026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8027 $(HOST_EXPORTS) \
8028 for flag in $(EXTRA_HOST_FLAGS) ; do \
8029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8030 done; \
8031 echo "Doing mostlyclean in diff" ; \
8032 (cd $(HOST_SUBDIR)/diff && \
8033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8035 "RANLIB=$${RANLIB}" \
8036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8037 mostlyclean) \
8038 || exit 1
8040 @endif diff
8042 .PHONY: maybe-clean-diff clean-diff
8043 maybe-clean-diff:
8044 @if diff
8045 maybe-clean-diff: clean-diff
8047 clean-diff:
8048 @: $(MAKE); $(unstage)
8049 @[ -f ./diff/Makefile ] || exit 0; \
8050 r=`${PWD_COMMAND}`; export r; \
8051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8052 $(HOST_EXPORTS) \
8053 for flag in $(EXTRA_HOST_FLAGS) ; do \
8054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8055 done; \
8056 echo "Doing clean in diff" ; \
8057 (cd $(HOST_SUBDIR)/diff && \
8058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8060 "RANLIB=$${RANLIB}" \
8061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8062 clean) \
8063 || exit 1
8065 @endif diff
8067 .PHONY: maybe-distclean-diff distclean-diff
8068 maybe-distclean-diff:
8069 @if diff
8070 maybe-distclean-diff: distclean-diff
8072 distclean-diff:
8073 @: $(MAKE); $(unstage)
8074 @[ -f ./diff/Makefile ] || exit 0; \
8075 r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(HOST_EXPORTS) \
8078 for flag in $(EXTRA_HOST_FLAGS) ; do \
8079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8080 done; \
8081 echo "Doing distclean in diff" ; \
8082 (cd $(HOST_SUBDIR)/diff && \
8083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8085 "RANLIB=$${RANLIB}" \
8086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8087 distclean) \
8088 || exit 1
8090 @endif diff
8092 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8093 maybe-maintainer-clean-diff:
8094 @if diff
8095 maybe-maintainer-clean-diff: maintainer-clean-diff
8097 maintainer-clean-diff:
8098 @: $(MAKE); $(unstage)
8099 @[ -f ./diff/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing maintainer-clean in diff" ; \
8107 (cd $(HOST_SUBDIR)/diff && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8112 maintainer-clean) \
8113 || exit 1
8115 @endif diff
8119 .PHONY: configure-dosutils maybe-configure-dosutils
8120 maybe-configure-dosutils:
8121 @if dosutils
8122 maybe-configure-dosutils: configure-dosutils
8123 configure-dosutils:
8124 @: $(MAKE); $(unstage)
8125 @r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8127 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8129 $(HOST_EXPORTS) \
8130 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8131 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8132 case $(srcdir) in \
8133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8134 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8136 esac; \
8137 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8138 libsrcdir="$$s/dosutils"; \
8139 $(SHELL) $${libsrcdir}/configure \
8140 $(HOST_CONFIGARGS) $${srcdiroption} \
8141 || exit 1
8142 @endif dosutils
8148 .PHONY: all-dosutils maybe-all-dosutils
8149 maybe-all-dosutils:
8150 @if dosutils
8151 TARGET-dosutils=all
8152 maybe-all-dosutils: all-dosutils
8153 all-dosutils: configure-dosutils
8154 @: $(MAKE); $(unstage)
8155 @r=`${PWD_COMMAND}`; export r; \
8156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8157 $(HOST_EXPORTS) \
8158 (cd $(HOST_SUBDIR)/dosutils && \
8159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8160 @endif dosutils
8165 .PHONY: check-dosutils maybe-check-dosutils
8166 maybe-check-dosutils:
8167 @if dosutils
8168 maybe-check-dosutils: check-dosutils
8170 check-dosutils:
8172 @endif dosutils
8174 .PHONY: install-dosutils maybe-install-dosutils
8175 maybe-install-dosutils:
8176 @if dosutils
8177 maybe-install-dosutils: install-dosutils
8179 install-dosutils: installdirs
8180 @: $(MAKE); $(unstage)
8181 @r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 $(HOST_EXPORTS) \
8184 (cd $(HOST_SUBDIR)/dosutils && \
8185 $(MAKE) $(FLAGS_TO_PASS) install)
8187 @endif dosutils
8189 # Other targets (info, dvi, etc.)
8191 .PHONY: maybe-info-dosutils info-dosutils
8192 maybe-info-dosutils:
8193 @if dosutils
8194 maybe-info-dosutils: info-dosutils
8196 info-dosutils: \
8197 configure-dosutils
8198 @: $(MAKE); $(unstage)
8199 @[ -f ./dosutils/Makefile ] || exit 0; \
8200 r=`${PWD_COMMAND}`; export r; \
8201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8202 $(HOST_EXPORTS) \
8203 for flag in $(EXTRA_HOST_FLAGS) ; do \
8204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8205 done; \
8206 echo "Doing info in dosutils" ; \
8207 (cd $(HOST_SUBDIR)/dosutils && \
8208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8210 "RANLIB=$${RANLIB}" \
8211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8212 info) \
8213 || exit 1
8215 @endif dosutils
8217 .PHONY: maybe-dvi-dosutils dvi-dosutils
8218 maybe-dvi-dosutils:
8219 @if dosutils
8220 maybe-dvi-dosutils: dvi-dosutils
8222 dvi-dosutils: \
8223 configure-dosutils
8224 @: $(MAKE); $(unstage)
8225 @[ -f ./dosutils/Makefile ] || exit 0; \
8226 r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 $(HOST_EXPORTS) \
8229 for flag in $(EXTRA_HOST_FLAGS) ; do \
8230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8231 done; \
8232 echo "Doing dvi in dosutils" ; \
8233 (cd $(HOST_SUBDIR)/dosutils && \
8234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8236 "RANLIB=$${RANLIB}" \
8237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8238 dvi) \
8239 || exit 1
8241 @endif dosutils
8243 .PHONY: maybe-html-dosutils html-dosutils
8244 maybe-html-dosutils:
8245 @if dosutils
8246 maybe-html-dosutils: html-dosutils
8248 html-dosutils: \
8249 configure-dosutils
8250 @: $(MAKE); $(unstage)
8251 @[ -f ./dosutils/Makefile ] || exit 0; \
8252 r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 $(HOST_EXPORTS) \
8255 for flag in $(EXTRA_HOST_FLAGS) ; do \
8256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8257 done; \
8258 echo "Doing html in dosutils" ; \
8259 (cd $(HOST_SUBDIR)/dosutils && \
8260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8262 "RANLIB=$${RANLIB}" \
8263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8264 html) \
8265 || exit 1
8267 @endif dosutils
8269 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8270 maybe-TAGS-dosutils:
8271 @if dosutils
8272 maybe-TAGS-dosutils: TAGS-dosutils
8274 TAGS-dosutils: \
8275 configure-dosutils
8276 @: $(MAKE); $(unstage)
8277 @[ -f ./dosutils/Makefile ] || exit 0; \
8278 r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 $(HOST_EXPORTS) \
8281 for flag in $(EXTRA_HOST_FLAGS) ; do \
8282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8283 done; \
8284 echo "Doing TAGS in dosutils" ; \
8285 (cd $(HOST_SUBDIR)/dosutils && \
8286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8288 "RANLIB=$${RANLIB}" \
8289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8290 TAGS) \
8291 || exit 1
8293 @endif dosutils
8295 .PHONY: maybe-install-info-dosutils install-info-dosutils
8296 maybe-install-info-dosutils:
8297 @if dosutils
8298 maybe-install-info-dosutils: install-info-dosutils
8300 install-info-dosutils: \
8301 configure-dosutils \
8302 info-dosutils
8303 @: $(MAKE); $(unstage)
8304 @[ -f ./dosutils/Makefile ] || exit 0; \
8305 r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(HOST_EXPORTS) \
8308 for flag in $(EXTRA_HOST_FLAGS) ; do \
8309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8310 done; \
8311 echo "Doing install-info in dosutils" ; \
8312 (cd $(HOST_SUBDIR)/dosutils && \
8313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8315 "RANLIB=$${RANLIB}" \
8316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8317 install-info) \
8318 || exit 1
8320 @endif dosutils
8322 .PHONY: maybe-install-html-dosutils install-html-dosutils
8323 maybe-install-html-dosutils:
8324 @if dosutils
8325 maybe-install-html-dosutils: install-html-dosutils
8327 install-html-dosutils: \
8328 configure-dosutils \
8329 html-dosutils
8330 @: $(MAKE); $(unstage)
8331 @[ -f ./dosutils/Makefile ] || exit 0; \
8332 r=`${PWD_COMMAND}`; export r; \
8333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8334 $(HOST_EXPORTS) \
8335 for flag in $(EXTRA_HOST_FLAGS) ; do \
8336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8337 done; \
8338 echo "Doing install-html in dosutils" ; \
8339 (cd $(HOST_SUBDIR)/dosutils && \
8340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8342 "RANLIB=$${RANLIB}" \
8343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8344 install-html) \
8345 || exit 1
8347 @endif dosutils
8349 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8350 maybe-installcheck-dosutils:
8351 @if dosutils
8352 maybe-installcheck-dosutils: installcheck-dosutils
8354 installcheck-dosutils: \
8355 configure-dosutils
8356 @: $(MAKE); $(unstage)
8357 @[ -f ./dosutils/Makefile ] || exit 0; \
8358 r=`${PWD_COMMAND}`; export r; \
8359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8360 $(HOST_EXPORTS) \
8361 for flag in $(EXTRA_HOST_FLAGS) ; do \
8362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8363 done; \
8364 echo "Doing installcheck in dosutils" ; \
8365 (cd $(HOST_SUBDIR)/dosutils && \
8366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8368 "RANLIB=$${RANLIB}" \
8369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8370 installcheck) \
8371 || exit 1
8373 @endif dosutils
8375 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8376 maybe-mostlyclean-dosutils:
8377 @if dosutils
8378 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8380 mostlyclean-dosutils:
8381 @: $(MAKE); $(unstage)
8382 @[ -f ./dosutils/Makefile ] || exit 0; \
8383 r=`${PWD_COMMAND}`; export r; \
8384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8385 $(HOST_EXPORTS) \
8386 for flag in $(EXTRA_HOST_FLAGS) ; do \
8387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8388 done; \
8389 echo "Doing mostlyclean in dosutils" ; \
8390 (cd $(HOST_SUBDIR)/dosutils && \
8391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8393 "RANLIB=$${RANLIB}" \
8394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8395 mostlyclean) \
8396 || exit 1
8398 @endif dosutils
8400 .PHONY: maybe-clean-dosutils clean-dosutils
8401 maybe-clean-dosutils:
8402 @if dosutils
8403 maybe-clean-dosutils: clean-dosutils
8405 clean-dosutils:
8406 @: $(MAKE); $(unstage)
8407 @[ -f ./dosutils/Makefile ] || exit 0; \
8408 r=`${PWD_COMMAND}`; export r; \
8409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8410 $(HOST_EXPORTS) \
8411 for flag in $(EXTRA_HOST_FLAGS) ; do \
8412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8413 done; \
8414 echo "Doing clean in dosutils" ; \
8415 (cd $(HOST_SUBDIR)/dosutils && \
8416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8418 "RANLIB=$${RANLIB}" \
8419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8420 clean) \
8421 || exit 1
8423 @endif dosutils
8425 .PHONY: maybe-distclean-dosutils distclean-dosutils
8426 maybe-distclean-dosutils:
8427 @if dosutils
8428 maybe-distclean-dosutils: distclean-dosutils
8430 distclean-dosutils:
8431 @: $(MAKE); $(unstage)
8432 @[ -f ./dosutils/Makefile ] || exit 0; \
8433 r=`${PWD_COMMAND}`; export r; \
8434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8435 $(HOST_EXPORTS) \
8436 for flag in $(EXTRA_HOST_FLAGS) ; do \
8437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8438 done; \
8439 echo "Doing distclean in dosutils" ; \
8440 (cd $(HOST_SUBDIR)/dosutils && \
8441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8443 "RANLIB=$${RANLIB}" \
8444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8445 distclean) \
8446 || exit 1
8448 @endif dosutils
8450 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8451 maybe-maintainer-clean-dosutils:
8452 @if dosutils
8453 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8455 maintainer-clean-dosutils:
8456 @: $(MAKE); $(unstage)
8457 @[ -f ./dosutils/Makefile ] || exit 0; \
8458 r=`${PWD_COMMAND}`; export r; \
8459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8460 $(HOST_EXPORTS) \
8461 for flag in $(EXTRA_HOST_FLAGS) ; do \
8462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8463 done; \
8464 echo "Doing maintainer-clean in dosutils" ; \
8465 (cd $(HOST_SUBDIR)/dosutils && \
8466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8468 "RANLIB=$${RANLIB}" \
8469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8470 maintainer-clean) \
8471 || exit 1
8473 @endif dosutils
8477 .PHONY: configure-etc maybe-configure-etc
8478 maybe-configure-etc:
8479 @if etc
8480 maybe-configure-etc: configure-etc
8481 configure-etc:
8482 @: $(MAKE); $(unstage)
8483 @r=`${PWD_COMMAND}`; export r; \
8484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8487 $(HOST_EXPORTS) \
8488 echo Configuring in $(HOST_SUBDIR)/etc; \
8489 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8490 case $(srcdir) in \
8491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8492 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8494 esac; \
8495 srcdiroption="--srcdir=$${topdir}/etc"; \
8496 libsrcdir="$$s/etc"; \
8497 $(SHELL) $${libsrcdir}/configure \
8498 $(HOST_CONFIGARGS) $${srcdiroption} \
8499 || exit 1
8500 @endif etc
8506 .PHONY: all-etc maybe-all-etc
8507 maybe-all-etc:
8508 @if etc
8509 TARGET-etc=all
8510 maybe-all-etc: all-etc
8511 all-etc: configure-etc
8512 @: $(MAKE); $(unstage)
8513 @r=`${PWD_COMMAND}`; export r; \
8514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8515 $(HOST_EXPORTS) \
8516 (cd $(HOST_SUBDIR)/etc && \
8517 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8518 @endif etc
8523 .PHONY: check-etc maybe-check-etc
8524 maybe-check-etc:
8525 @if etc
8526 maybe-check-etc: check-etc
8528 check-etc:
8529 @: $(MAKE); $(unstage)
8530 @r=`${PWD_COMMAND}`; export r; \
8531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8532 $(HOST_EXPORTS) \
8533 (cd $(HOST_SUBDIR)/etc && \
8534 $(MAKE) $(FLAGS_TO_PASS) check)
8536 @endif etc
8538 .PHONY: install-etc maybe-install-etc
8539 maybe-install-etc:
8540 @if etc
8541 maybe-install-etc: install-etc
8543 install-etc: installdirs
8544 @: $(MAKE); $(unstage)
8545 @r=`${PWD_COMMAND}`; export r; \
8546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8547 $(HOST_EXPORTS) \
8548 (cd $(HOST_SUBDIR)/etc && \
8549 $(MAKE) $(FLAGS_TO_PASS) install)
8551 @endif etc
8553 # Other targets (info, dvi, etc.)
8555 .PHONY: maybe-info-etc info-etc
8556 maybe-info-etc:
8557 @if etc
8558 maybe-info-etc: info-etc
8560 info-etc: \
8561 configure-etc
8562 @: $(MAKE); $(unstage)
8563 @[ -f ./etc/Makefile ] || exit 0; \
8564 r=`${PWD_COMMAND}`; export r; \
8565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8566 $(HOST_EXPORTS) \
8567 for flag in $(EXTRA_HOST_FLAGS) ; do \
8568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8569 done; \
8570 echo "Doing info in etc" ; \
8571 (cd $(HOST_SUBDIR)/etc && \
8572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8574 "RANLIB=$${RANLIB}" \
8575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8576 info) \
8577 || exit 1
8579 @endif etc
8581 .PHONY: maybe-dvi-etc dvi-etc
8582 maybe-dvi-etc:
8583 @if etc
8584 maybe-dvi-etc: dvi-etc
8586 dvi-etc: \
8587 configure-etc
8588 @: $(MAKE); $(unstage)
8589 @[ -f ./etc/Makefile ] || exit 0; \
8590 r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(HOST_EXPORTS) \
8593 for flag in $(EXTRA_HOST_FLAGS) ; do \
8594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8595 done; \
8596 echo "Doing dvi in etc" ; \
8597 (cd $(HOST_SUBDIR)/etc && \
8598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8600 "RANLIB=$${RANLIB}" \
8601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8602 dvi) \
8603 || exit 1
8605 @endif etc
8607 .PHONY: maybe-html-etc html-etc
8608 maybe-html-etc:
8609 @if etc
8610 maybe-html-etc: html-etc
8612 html-etc: \
8613 configure-etc
8614 @: $(MAKE); $(unstage)
8615 @[ -f ./etc/Makefile ] || exit 0; \
8616 r=`${PWD_COMMAND}`; export r; \
8617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8618 $(HOST_EXPORTS) \
8619 for flag in $(EXTRA_HOST_FLAGS) ; do \
8620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8621 done; \
8622 echo "Doing html in etc" ; \
8623 (cd $(HOST_SUBDIR)/etc && \
8624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8626 "RANLIB=$${RANLIB}" \
8627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8628 html) \
8629 || exit 1
8631 @endif etc
8633 .PHONY: maybe-TAGS-etc TAGS-etc
8634 maybe-TAGS-etc:
8635 @if etc
8636 maybe-TAGS-etc: TAGS-etc
8638 TAGS-etc: \
8639 configure-etc
8640 @: $(MAKE); $(unstage)
8641 @[ -f ./etc/Makefile ] || exit 0; \
8642 r=`${PWD_COMMAND}`; export r; \
8643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 $(HOST_EXPORTS) \
8645 for flag in $(EXTRA_HOST_FLAGS) ; do \
8646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8647 done; \
8648 echo "Doing TAGS in etc" ; \
8649 (cd $(HOST_SUBDIR)/etc && \
8650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8652 "RANLIB=$${RANLIB}" \
8653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8654 TAGS) \
8655 || exit 1
8657 @endif etc
8659 .PHONY: maybe-install-info-etc install-info-etc
8660 maybe-install-info-etc:
8661 @if etc
8662 maybe-install-info-etc: install-info-etc
8664 install-info-etc: \
8665 configure-etc \
8666 info-etc
8667 @: $(MAKE); $(unstage)
8668 @[ -f ./etc/Makefile ] || exit 0; \
8669 r=`${PWD_COMMAND}`; export r; \
8670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8671 $(HOST_EXPORTS) \
8672 for flag in $(EXTRA_HOST_FLAGS) ; do \
8673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8674 done; \
8675 echo "Doing install-info in etc" ; \
8676 (cd $(HOST_SUBDIR)/etc && \
8677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8679 "RANLIB=$${RANLIB}" \
8680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8681 install-info) \
8682 || exit 1
8684 @endif etc
8686 .PHONY: maybe-install-html-etc install-html-etc
8687 maybe-install-html-etc:
8688 @if etc
8689 maybe-install-html-etc: install-html-etc
8691 install-html-etc: \
8692 configure-etc \
8693 html-etc
8694 @: $(MAKE); $(unstage)
8695 @[ -f ./etc/Makefile ] || exit 0; \
8696 r=`${PWD_COMMAND}`; export r; \
8697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8698 $(HOST_EXPORTS) \
8699 for flag in $(EXTRA_HOST_FLAGS) ; do \
8700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8701 done; \
8702 echo "Doing install-html in etc" ; \
8703 (cd $(HOST_SUBDIR)/etc && \
8704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8706 "RANLIB=$${RANLIB}" \
8707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8708 install-html) \
8709 || exit 1
8711 @endif etc
8713 .PHONY: maybe-installcheck-etc installcheck-etc
8714 maybe-installcheck-etc:
8715 @if etc
8716 maybe-installcheck-etc: installcheck-etc
8718 installcheck-etc: \
8719 configure-etc
8720 @: $(MAKE); $(unstage)
8721 @[ -f ./etc/Makefile ] || exit 0; \
8722 r=`${PWD_COMMAND}`; export r; \
8723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8724 $(HOST_EXPORTS) \
8725 for flag in $(EXTRA_HOST_FLAGS) ; do \
8726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8727 done; \
8728 echo "Doing installcheck in etc" ; \
8729 (cd $(HOST_SUBDIR)/etc && \
8730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8732 "RANLIB=$${RANLIB}" \
8733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8734 installcheck) \
8735 || exit 1
8737 @endif etc
8739 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8740 maybe-mostlyclean-etc:
8741 @if etc
8742 maybe-mostlyclean-etc: mostlyclean-etc
8744 mostlyclean-etc:
8745 @: $(MAKE); $(unstage)
8746 @[ -f ./etc/Makefile ] || exit 0; \
8747 r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 $(HOST_EXPORTS) \
8750 for flag in $(EXTRA_HOST_FLAGS) ; do \
8751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8752 done; \
8753 echo "Doing mostlyclean in etc" ; \
8754 (cd $(HOST_SUBDIR)/etc && \
8755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8757 "RANLIB=$${RANLIB}" \
8758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8759 mostlyclean) \
8760 || exit 1
8762 @endif etc
8764 .PHONY: maybe-clean-etc clean-etc
8765 maybe-clean-etc:
8766 @if etc
8767 maybe-clean-etc: clean-etc
8769 clean-etc:
8770 @: $(MAKE); $(unstage)
8771 @[ -f ./etc/Makefile ] || exit 0; \
8772 r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8774 $(HOST_EXPORTS) \
8775 for flag in $(EXTRA_HOST_FLAGS) ; do \
8776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8777 done; \
8778 echo "Doing clean in etc" ; \
8779 (cd $(HOST_SUBDIR)/etc && \
8780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782 "RANLIB=$${RANLIB}" \
8783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8784 clean) \
8785 || exit 1
8787 @endif etc
8789 .PHONY: maybe-distclean-etc distclean-etc
8790 maybe-distclean-etc:
8791 @if etc
8792 maybe-distclean-etc: distclean-etc
8794 distclean-etc:
8795 @: $(MAKE); $(unstage)
8796 @[ -f ./etc/Makefile ] || exit 0; \
8797 r=`${PWD_COMMAND}`; export r; \
8798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8799 $(HOST_EXPORTS) \
8800 for flag in $(EXTRA_HOST_FLAGS) ; do \
8801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8802 done; \
8803 echo "Doing distclean in etc" ; \
8804 (cd $(HOST_SUBDIR)/etc && \
8805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8807 "RANLIB=$${RANLIB}" \
8808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8809 distclean) \
8810 || exit 1
8812 @endif etc
8814 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8815 maybe-maintainer-clean-etc:
8816 @if etc
8817 maybe-maintainer-clean-etc: maintainer-clean-etc
8819 maintainer-clean-etc:
8820 @: $(MAKE); $(unstage)
8821 @[ -f ./etc/Makefile ] || exit 0; \
8822 r=`${PWD_COMMAND}`; export r; \
8823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8824 $(HOST_EXPORTS) \
8825 for flag in $(EXTRA_HOST_FLAGS) ; do \
8826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8827 done; \
8828 echo "Doing maintainer-clean in etc" ; \
8829 (cd $(HOST_SUBDIR)/etc && \
8830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8832 "RANLIB=$${RANLIB}" \
8833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8834 maintainer-clean) \
8835 || exit 1
8837 @endif etc
8841 .PHONY: configure-fastjar maybe-configure-fastjar
8842 maybe-configure-fastjar:
8843 @if fastjar
8844 maybe-configure-fastjar: configure-fastjar
8845 configure-fastjar:
8846 @: $(MAKE); $(unstage)
8847 @r=`${PWD_COMMAND}`; export r; \
8848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8849 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8851 $(HOST_EXPORTS) \
8852 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8853 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8854 case $(srcdir) in \
8855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8856 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8858 esac; \
8859 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8860 libsrcdir="$$s/fastjar"; \
8861 $(SHELL) $${libsrcdir}/configure \
8862 $(HOST_CONFIGARGS) $${srcdiroption} \
8863 || exit 1
8864 @endif fastjar
8870 .PHONY: all-fastjar maybe-all-fastjar
8871 maybe-all-fastjar:
8872 @if fastjar
8873 TARGET-fastjar=all
8874 maybe-all-fastjar: all-fastjar
8875 all-fastjar: configure-fastjar
8876 @: $(MAKE); $(unstage)
8877 @r=`${PWD_COMMAND}`; export r; \
8878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8879 $(HOST_EXPORTS) \
8880 (cd $(HOST_SUBDIR)/fastjar && \
8881 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8882 @endif fastjar
8887 .PHONY: check-fastjar maybe-check-fastjar
8888 maybe-check-fastjar:
8889 @if fastjar
8890 maybe-check-fastjar: check-fastjar
8892 # This module is only tested in a native toolchain.
8893 check-fastjar:
8894 @: $(MAKE); $(unstage)
8895 @if [ '$(host)' = '$(target)' ] ; then \
8896 r=`${PWD_COMMAND}`; export r; \
8897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8898 $(HOST_EXPORTS) \
8899 (cd $(HOST_SUBDIR)/fastjar && \
8900 $(MAKE) $(FLAGS_TO_PASS) check); \
8903 @endif fastjar
8905 .PHONY: install-fastjar maybe-install-fastjar
8906 maybe-install-fastjar:
8907 @if fastjar
8908 maybe-install-fastjar: install-fastjar
8910 install-fastjar: installdirs
8911 @: $(MAKE); $(unstage)
8912 @r=`${PWD_COMMAND}`; export r; \
8913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 $(HOST_EXPORTS) \
8915 (cd $(HOST_SUBDIR)/fastjar && \
8916 $(MAKE) $(FLAGS_TO_PASS) install)
8918 @endif fastjar
8920 # Other targets (info, dvi, etc.)
8922 .PHONY: maybe-info-fastjar info-fastjar
8923 maybe-info-fastjar:
8924 @if fastjar
8925 maybe-info-fastjar: info-fastjar
8927 info-fastjar: \
8928 configure-fastjar
8929 @: $(MAKE); $(unstage)
8930 @[ -f ./fastjar/Makefile ] || exit 0; \
8931 r=`${PWD_COMMAND}`; export r; \
8932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8933 $(HOST_EXPORTS) \
8934 for flag in $(EXTRA_HOST_FLAGS) ; do \
8935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8936 done; \
8937 echo "Doing info in fastjar" ; \
8938 (cd $(HOST_SUBDIR)/fastjar && \
8939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8941 "RANLIB=$${RANLIB}" \
8942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8943 info) \
8944 || exit 1
8946 @endif fastjar
8948 .PHONY: maybe-dvi-fastjar dvi-fastjar
8949 maybe-dvi-fastjar:
8950 @if fastjar
8951 maybe-dvi-fastjar: dvi-fastjar
8953 dvi-fastjar: \
8954 configure-fastjar
8955 @: $(MAKE); $(unstage)
8956 @[ -f ./fastjar/Makefile ] || exit 0; \
8957 r=`${PWD_COMMAND}`; export r; \
8958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8959 $(HOST_EXPORTS) \
8960 for flag in $(EXTRA_HOST_FLAGS) ; do \
8961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8962 done; \
8963 echo "Doing dvi in fastjar" ; \
8964 (cd $(HOST_SUBDIR)/fastjar && \
8965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8967 "RANLIB=$${RANLIB}" \
8968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8969 dvi) \
8970 || exit 1
8972 @endif fastjar
8974 .PHONY: maybe-html-fastjar html-fastjar
8975 maybe-html-fastjar:
8976 @if fastjar
8977 maybe-html-fastjar: html-fastjar
8979 html-fastjar: \
8980 configure-fastjar
8981 @: $(MAKE); $(unstage)
8982 @[ -f ./fastjar/Makefile ] || exit 0; \
8983 r=`${PWD_COMMAND}`; export r; \
8984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8985 $(HOST_EXPORTS) \
8986 for flag in $(EXTRA_HOST_FLAGS) ; do \
8987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8988 done; \
8989 echo "Doing html in fastjar" ; \
8990 (cd $(HOST_SUBDIR)/fastjar && \
8991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8993 "RANLIB=$${RANLIB}" \
8994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8995 html) \
8996 || exit 1
8998 @endif fastjar
9000 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9001 maybe-TAGS-fastjar:
9002 @if fastjar
9003 maybe-TAGS-fastjar: TAGS-fastjar
9005 TAGS-fastjar: \
9006 configure-fastjar
9007 @: $(MAKE); $(unstage)
9008 @[ -f ./fastjar/Makefile ] || exit 0; \
9009 r=`${PWD_COMMAND}`; export r; \
9010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9011 $(HOST_EXPORTS) \
9012 for flag in $(EXTRA_HOST_FLAGS) ; do \
9013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9014 done; \
9015 echo "Doing TAGS in fastjar" ; \
9016 (cd $(HOST_SUBDIR)/fastjar && \
9017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9019 "RANLIB=$${RANLIB}" \
9020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9021 TAGS) \
9022 || exit 1
9024 @endif fastjar
9026 .PHONY: maybe-install-info-fastjar install-info-fastjar
9027 maybe-install-info-fastjar:
9028 @if fastjar
9029 maybe-install-info-fastjar: install-info-fastjar
9031 install-info-fastjar: \
9032 configure-fastjar \
9033 info-fastjar
9034 @: $(MAKE); $(unstage)
9035 @[ -f ./fastjar/Makefile ] || exit 0; \
9036 r=`${PWD_COMMAND}`; export r; \
9037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9038 $(HOST_EXPORTS) \
9039 for flag in $(EXTRA_HOST_FLAGS) ; do \
9040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9041 done; \
9042 echo "Doing install-info in fastjar" ; \
9043 (cd $(HOST_SUBDIR)/fastjar && \
9044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9046 "RANLIB=$${RANLIB}" \
9047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9048 install-info) \
9049 || exit 1
9051 @endif fastjar
9053 .PHONY: maybe-install-html-fastjar install-html-fastjar
9054 maybe-install-html-fastjar:
9055 @if fastjar
9056 maybe-install-html-fastjar: install-html-fastjar
9058 install-html-fastjar: \
9059 configure-fastjar \
9060 html-fastjar
9061 @: $(MAKE); $(unstage)
9062 @[ -f ./fastjar/Makefile ] || exit 0; \
9063 r=`${PWD_COMMAND}`; export r; \
9064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9065 $(HOST_EXPORTS) \
9066 for flag in $(EXTRA_HOST_FLAGS) ; do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9068 done; \
9069 echo "Doing install-html in fastjar" ; \
9070 (cd $(HOST_SUBDIR)/fastjar && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9075 install-html) \
9076 || exit 1
9078 @endif fastjar
9080 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9081 maybe-installcheck-fastjar:
9082 @if fastjar
9083 maybe-installcheck-fastjar: installcheck-fastjar
9085 installcheck-fastjar: \
9086 configure-fastjar
9087 @: $(MAKE); $(unstage)
9088 @[ -f ./fastjar/Makefile ] || exit 0; \
9089 r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 $(HOST_EXPORTS) \
9092 for flag in $(EXTRA_HOST_FLAGS) ; do \
9093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9094 done; \
9095 echo "Doing installcheck in fastjar" ; \
9096 (cd $(HOST_SUBDIR)/fastjar && \
9097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9099 "RANLIB=$${RANLIB}" \
9100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9101 installcheck) \
9102 || exit 1
9104 @endif fastjar
9106 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9107 maybe-mostlyclean-fastjar:
9108 @if fastjar
9109 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9111 mostlyclean-fastjar:
9112 @: $(MAKE); $(unstage)
9113 @[ -f ./fastjar/Makefile ] || exit 0; \
9114 r=`${PWD_COMMAND}`; export r; \
9115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9116 $(HOST_EXPORTS) \
9117 for flag in $(EXTRA_HOST_FLAGS) ; do \
9118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9119 done; \
9120 echo "Doing mostlyclean in fastjar" ; \
9121 (cd $(HOST_SUBDIR)/fastjar && \
9122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9124 "RANLIB=$${RANLIB}" \
9125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9126 mostlyclean) \
9127 || exit 1
9129 @endif fastjar
9131 .PHONY: maybe-clean-fastjar clean-fastjar
9132 maybe-clean-fastjar:
9133 @if fastjar
9134 maybe-clean-fastjar: clean-fastjar
9136 clean-fastjar:
9137 @: $(MAKE); $(unstage)
9138 @[ -f ./fastjar/Makefile ] || exit 0; \
9139 r=`${PWD_COMMAND}`; export r; \
9140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9141 $(HOST_EXPORTS) \
9142 for flag in $(EXTRA_HOST_FLAGS) ; do \
9143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9144 done; \
9145 echo "Doing clean in fastjar" ; \
9146 (cd $(HOST_SUBDIR)/fastjar && \
9147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9149 "RANLIB=$${RANLIB}" \
9150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9151 clean) \
9152 || exit 1
9154 @endif fastjar
9156 .PHONY: maybe-distclean-fastjar distclean-fastjar
9157 maybe-distclean-fastjar:
9158 @if fastjar
9159 maybe-distclean-fastjar: distclean-fastjar
9161 distclean-fastjar:
9162 @: $(MAKE); $(unstage)
9163 @[ -f ./fastjar/Makefile ] || exit 0; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 for flag in $(EXTRA_HOST_FLAGS) ; do \
9168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9169 done; \
9170 echo "Doing distclean in fastjar" ; \
9171 (cd $(HOST_SUBDIR)/fastjar && \
9172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9174 "RANLIB=$${RANLIB}" \
9175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9176 distclean) \
9177 || exit 1
9179 @endif fastjar
9181 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9182 maybe-maintainer-clean-fastjar:
9183 @if fastjar
9184 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9186 maintainer-clean-fastjar:
9187 @: $(MAKE); $(unstage)
9188 @[ -f ./fastjar/Makefile ] || exit 0; \
9189 r=`${PWD_COMMAND}`; export r; \
9190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9191 $(HOST_EXPORTS) \
9192 for flag in $(EXTRA_HOST_FLAGS) ; do \
9193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9194 done; \
9195 echo "Doing maintainer-clean in fastjar" ; \
9196 (cd $(HOST_SUBDIR)/fastjar && \
9197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9199 "RANLIB=$${RANLIB}" \
9200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9201 maintainer-clean) \
9202 || exit 1
9204 @endif fastjar
9208 .PHONY: configure-fileutils maybe-configure-fileutils
9209 maybe-configure-fileutils:
9210 @if fileutils
9211 maybe-configure-fileutils: configure-fileutils
9212 configure-fileutils:
9213 @: $(MAKE); $(unstage)
9214 @r=`${PWD_COMMAND}`; export r; \
9215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9216 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9218 $(HOST_EXPORTS) \
9219 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9220 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9221 case $(srcdir) in \
9222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9223 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9225 esac; \
9226 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9227 libsrcdir="$$s/fileutils"; \
9228 $(SHELL) $${libsrcdir}/configure \
9229 $(HOST_CONFIGARGS) $${srcdiroption} \
9230 || exit 1
9231 @endif fileutils
9237 .PHONY: all-fileutils maybe-all-fileutils
9238 maybe-all-fileutils:
9239 @if fileutils
9240 TARGET-fileutils=all
9241 maybe-all-fileutils: all-fileutils
9242 all-fileutils: configure-fileutils
9243 @: $(MAKE); $(unstage)
9244 @r=`${PWD_COMMAND}`; export r; \
9245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9246 $(HOST_EXPORTS) \
9247 (cd $(HOST_SUBDIR)/fileutils && \
9248 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9249 @endif fileutils
9254 .PHONY: check-fileutils maybe-check-fileutils
9255 maybe-check-fileutils:
9256 @if fileutils
9257 maybe-check-fileutils: check-fileutils
9259 check-fileutils:
9260 @: $(MAKE); $(unstage)
9261 @r=`${PWD_COMMAND}`; export r; \
9262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9263 $(HOST_EXPORTS) \
9264 (cd $(HOST_SUBDIR)/fileutils && \
9265 $(MAKE) $(FLAGS_TO_PASS) check)
9267 @endif fileutils
9269 .PHONY: install-fileutils maybe-install-fileutils
9270 maybe-install-fileutils:
9271 @if fileutils
9272 maybe-install-fileutils: install-fileutils
9274 install-fileutils: installdirs
9275 @: $(MAKE); $(unstage)
9276 @r=`${PWD_COMMAND}`; export r; \
9277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9278 $(HOST_EXPORTS) \
9279 (cd $(HOST_SUBDIR)/fileutils && \
9280 $(MAKE) $(FLAGS_TO_PASS) install)
9282 @endif fileutils
9284 # Other targets (info, dvi, etc.)
9286 .PHONY: maybe-info-fileutils info-fileutils
9287 maybe-info-fileutils:
9288 @if fileutils
9289 maybe-info-fileutils: info-fileutils
9291 info-fileutils: \
9292 configure-fileutils
9293 @: $(MAKE); $(unstage)
9294 @[ -f ./fileutils/Makefile ] || exit 0; \
9295 r=`${PWD_COMMAND}`; export r; \
9296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9297 $(HOST_EXPORTS) \
9298 for flag in $(EXTRA_HOST_FLAGS) ; do \
9299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9300 done; \
9301 echo "Doing info in fileutils" ; \
9302 (cd $(HOST_SUBDIR)/fileutils && \
9303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9305 "RANLIB=$${RANLIB}" \
9306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9307 info) \
9308 || exit 1
9310 @endif fileutils
9312 .PHONY: maybe-dvi-fileutils dvi-fileutils
9313 maybe-dvi-fileutils:
9314 @if fileutils
9315 maybe-dvi-fileutils: dvi-fileutils
9317 dvi-fileutils: \
9318 configure-fileutils
9319 @: $(MAKE); $(unstage)
9320 @[ -f ./fileutils/Makefile ] || exit 0; \
9321 r=`${PWD_COMMAND}`; export r; \
9322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9323 $(HOST_EXPORTS) \
9324 for flag in $(EXTRA_HOST_FLAGS) ; do \
9325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9326 done; \
9327 echo "Doing dvi in fileutils" ; \
9328 (cd $(HOST_SUBDIR)/fileutils && \
9329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9331 "RANLIB=$${RANLIB}" \
9332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9333 dvi) \
9334 || exit 1
9336 @endif fileutils
9338 .PHONY: maybe-html-fileutils html-fileutils
9339 maybe-html-fileutils:
9340 @if fileutils
9341 maybe-html-fileutils: html-fileutils
9343 html-fileutils: \
9344 configure-fileutils
9345 @: $(MAKE); $(unstage)
9346 @[ -f ./fileutils/Makefile ] || exit 0; \
9347 r=`${PWD_COMMAND}`; export r; \
9348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9349 $(HOST_EXPORTS) \
9350 for flag in $(EXTRA_HOST_FLAGS) ; do \
9351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9352 done; \
9353 echo "Doing html in fileutils" ; \
9354 (cd $(HOST_SUBDIR)/fileutils && \
9355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9357 "RANLIB=$${RANLIB}" \
9358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9359 html) \
9360 || exit 1
9362 @endif fileutils
9364 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9365 maybe-TAGS-fileutils:
9366 @if fileutils
9367 maybe-TAGS-fileutils: TAGS-fileutils
9369 TAGS-fileutils: \
9370 configure-fileutils
9371 @: $(MAKE); $(unstage)
9372 @[ -f ./fileutils/Makefile ] || exit 0; \
9373 r=`${PWD_COMMAND}`; export r; \
9374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9375 $(HOST_EXPORTS) \
9376 for flag in $(EXTRA_HOST_FLAGS) ; do \
9377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9378 done; \
9379 echo "Doing TAGS in fileutils" ; \
9380 (cd $(HOST_SUBDIR)/fileutils && \
9381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9383 "RANLIB=$${RANLIB}" \
9384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9385 TAGS) \
9386 || exit 1
9388 @endif fileutils
9390 .PHONY: maybe-install-info-fileutils install-info-fileutils
9391 maybe-install-info-fileutils:
9392 @if fileutils
9393 maybe-install-info-fileutils: install-info-fileutils
9395 install-info-fileutils: \
9396 configure-fileutils \
9397 info-fileutils
9398 @: $(MAKE); $(unstage)
9399 @[ -f ./fileutils/Makefile ] || exit 0; \
9400 r=`${PWD_COMMAND}`; export r; \
9401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9402 $(HOST_EXPORTS) \
9403 for flag in $(EXTRA_HOST_FLAGS) ; do \
9404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9405 done; \
9406 echo "Doing install-info in fileutils" ; \
9407 (cd $(HOST_SUBDIR)/fileutils && \
9408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9410 "RANLIB=$${RANLIB}" \
9411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9412 install-info) \
9413 || exit 1
9415 @endif fileutils
9417 .PHONY: maybe-install-html-fileutils install-html-fileutils
9418 maybe-install-html-fileutils:
9419 @if fileutils
9420 maybe-install-html-fileutils: install-html-fileutils
9422 install-html-fileutils: \
9423 configure-fileutils \
9424 html-fileutils
9425 @: $(MAKE); $(unstage)
9426 @[ -f ./fileutils/Makefile ] || exit 0; \
9427 r=`${PWD_COMMAND}`; export r; \
9428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9429 $(HOST_EXPORTS) \
9430 for flag in $(EXTRA_HOST_FLAGS) ; do \
9431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9432 done; \
9433 echo "Doing install-html in fileutils" ; \
9434 (cd $(HOST_SUBDIR)/fileutils && \
9435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9437 "RANLIB=$${RANLIB}" \
9438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9439 install-html) \
9440 || exit 1
9442 @endif fileutils
9444 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9445 maybe-installcheck-fileutils:
9446 @if fileutils
9447 maybe-installcheck-fileutils: installcheck-fileutils
9449 installcheck-fileutils: \
9450 configure-fileutils
9451 @: $(MAKE); $(unstage)
9452 @[ -f ./fileutils/Makefile ] || exit 0; \
9453 r=`${PWD_COMMAND}`; export r; \
9454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9455 $(HOST_EXPORTS) \
9456 for flag in $(EXTRA_HOST_FLAGS) ; do \
9457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9458 done; \
9459 echo "Doing installcheck in fileutils" ; \
9460 (cd $(HOST_SUBDIR)/fileutils && \
9461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9463 "RANLIB=$${RANLIB}" \
9464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9465 installcheck) \
9466 || exit 1
9468 @endif fileutils
9470 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9471 maybe-mostlyclean-fileutils:
9472 @if fileutils
9473 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9475 mostlyclean-fileutils:
9476 @: $(MAKE); $(unstage)
9477 @[ -f ./fileutils/Makefile ] || exit 0; \
9478 r=`${PWD_COMMAND}`; export r; \
9479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9480 $(HOST_EXPORTS) \
9481 for flag in $(EXTRA_HOST_FLAGS) ; do \
9482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9483 done; \
9484 echo "Doing mostlyclean in fileutils" ; \
9485 (cd $(HOST_SUBDIR)/fileutils && \
9486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9488 "RANLIB=$${RANLIB}" \
9489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9490 mostlyclean) \
9491 || exit 1
9493 @endif fileutils
9495 .PHONY: maybe-clean-fileutils clean-fileutils
9496 maybe-clean-fileutils:
9497 @if fileutils
9498 maybe-clean-fileutils: clean-fileutils
9500 clean-fileutils:
9501 @: $(MAKE); $(unstage)
9502 @[ -f ./fileutils/Makefile ] || exit 0; \
9503 r=`${PWD_COMMAND}`; export r; \
9504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 $(HOST_EXPORTS) \
9506 for flag in $(EXTRA_HOST_FLAGS) ; do \
9507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9508 done; \
9509 echo "Doing clean in fileutils" ; \
9510 (cd $(HOST_SUBDIR)/fileutils && \
9511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9513 "RANLIB=$${RANLIB}" \
9514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9515 clean) \
9516 || exit 1
9518 @endif fileutils
9520 .PHONY: maybe-distclean-fileutils distclean-fileutils
9521 maybe-distclean-fileutils:
9522 @if fileutils
9523 maybe-distclean-fileutils: distclean-fileutils
9525 distclean-fileutils:
9526 @: $(MAKE); $(unstage)
9527 @[ -f ./fileutils/Makefile ] || exit 0; \
9528 r=`${PWD_COMMAND}`; export r; \
9529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9530 $(HOST_EXPORTS) \
9531 for flag in $(EXTRA_HOST_FLAGS) ; do \
9532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9533 done; \
9534 echo "Doing distclean in fileutils" ; \
9535 (cd $(HOST_SUBDIR)/fileutils && \
9536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9538 "RANLIB=$${RANLIB}" \
9539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9540 distclean) \
9541 || exit 1
9543 @endif fileutils
9545 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9546 maybe-maintainer-clean-fileutils:
9547 @if fileutils
9548 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9550 maintainer-clean-fileutils:
9551 @: $(MAKE); $(unstage)
9552 @[ -f ./fileutils/Makefile ] || exit 0; \
9553 r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9555 $(HOST_EXPORTS) \
9556 for flag in $(EXTRA_HOST_FLAGS) ; do \
9557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9558 done; \
9559 echo "Doing maintainer-clean in fileutils" ; \
9560 (cd $(HOST_SUBDIR)/fileutils && \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563 "RANLIB=$${RANLIB}" \
9564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9565 maintainer-clean) \
9566 || exit 1
9568 @endif fileutils
9572 .PHONY: configure-findutils maybe-configure-findutils
9573 maybe-configure-findutils:
9574 @if findutils
9575 maybe-configure-findutils: configure-findutils
9576 configure-findutils:
9577 @: $(MAKE); $(unstage)
9578 @r=`${PWD_COMMAND}`; export r; \
9579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9580 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9582 $(HOST_EXPORTS) \
9583 echo Configuring in $(HOST_SUBDIR)/findutils; \
9584 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9585 case $(srcdir) in \
9586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9587 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9589 esac; \
9590 srcdiroption="--srcdir=$${topdir}/findutils"; \
9591 libsrcdir="$$s/findutils"; \
9592 $(SHELL) $${libsrcdir}/configure \
9593 $(HOST_CONFIGARGS) $${srcdiroption} \
9594 || exit 1
9595 @endif findutils
9601 .PHONY: all-findutils maybe-all-findutils
9602 maybe-all-findutils:
9603 @if findutils
9604 TARGET-findutils=all
9605 maybe-all-findutils: all-findutils
9606 all-findutils: configure-findutils
9607 @: $(MAKE); $(unstage)
9608 @r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9610 $(HOST_EXPORTS) \
9611 (cd $(HOST_SUBDIR)/findutils && \
9612 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9613 @endif findutils
9618 .PHONY: check-findutils maybe-check-findutils
9619 maybe-check-findutils:
9620 @if findutils
9621 maybe-check-findutils: check-findutils
9623 check-findutils:
9624 @: $(MAKE); $(unstage)
9625 @r=`${PWD_COMMAND}`; export r; \
9626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9627 $(HOST_EXPORTS) \
9628 (cd $(HOST_SUBDIR)/findutils && \
9629 $(MAKE) $(FLAGS_TO_PASS) check)
9631 @endif findutils
9633 .PHONY: install-findutils maybe-install-findutils
9634 maybe-install-findutils:
9635 @if findutils
9636 maybe-install-findutils: install-findutils
9638 install-findutils: installdirs
9639 @: $(MAKE); $(unstage)
9640 @r=`${PWD_COMMAND}`; export r; \
9641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9642 $(HOST_EXPORTS) \
9643 (cd $(HOST_SUBDIR)/findutils && \
9644 $(MAKE) $(FLAGS_TO_PASS) install)
9646 @endif findutils
9648 # Other targets (info, dvi, etc.)
9650 .PHONY: maybe-info-findutils info-findutils
9651 maybe-info-findutils:
9652 @if findutils
9653 maybe-info-findutils: info-findutils
9655 info-findutils: \
9656 configure-findutils
9657 @: $(MAKE); $(unstage)
9658 @[ -f ./findutils/Makefile ] || exit 0; \
9659 r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 $(HOST_EXPORTS) \
9662 for flag in $(EXTRA_HOST_FLAGS) ; do \
9663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9664 done; \
9665 echo "Doing info in findutils" ; \
9666 (cd $(HOST_SUBDIR)/findutils && \
9667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9669 "RANLIB=$${RANLIB}" \
9670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9671 info) \
9672 || exit 1
9674 @endif findutils
9676 .PHONY: maybe-dvi-findutils dvi-findutils
9677 maybe-dvi-findutils:
9678 @if findutils
9679 maybe-dvi-findutils: dvi-findutils
9681 dvi-findutils: \
9682 configure-findutils
9683 @: $(MAKE); $(unstage)
9684 @[ -f ./findutils/Makefile ] || exit 0; \
9685 r=`${PWD_COMMAND}`; export r; \
9686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9687 $(HOST_EXPORTS) \
9688 for flag in $(EXTRA_HOST_FLAGS) ; do \
9689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9690 done; \
9691 echo "Doing dvi in findutils" ; \
9692 (cd $(HOST_SUBDIR)/findutils && \
9693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9695 "RANLIB=$${RANLIB}" \
9696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9697 dvi) \
9698 || exit 1
9700 @endif findutils
9702 .PHONY: maybe-html-findutils html-findutils
9703 maybe-html-findutils:
9704 @if findutils
9705 maybe-html-findutils: html-findutils
9707 html-findutils: \
9708 configure-findutils
9709 @: $(MAKE); $(unstage)
9710 @[ -f ./findutils/Makefile ] || exit 0; \
9711 r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 $(HOST_EXPORTS) \
9714 for flag in $(EXTRA_HOST_FLAGS) ; do \
9715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9716 done; \
9717 echo "Doing html in findutils" ; \
9718 (cd $(HOST_SUBDIR)/findutils && \
9719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9721 "RANLIB=$${RANLIB}" \
9722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9723 html) \
9724 || exit 1
9726 @endif findutils
9728 .PHONY: maybe-TAGS-findutils TAGS-findutils
9729 maybe-TAGS-findutils:
9730 @if findutils
9731 maybe-TAGS-findutils: TAGS-findutils
9733 TAGS-findutils: \
9734 configure-findutils
9735 @: $(MAKE); $(unstage)
9736 @[ -f ./findutils/Makefile ] || exit 0; \
9737 r=`${PWD_COMMAND}`; export r; \
9738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9739 $(HOST_EXPORTS) \
9740 for flag in $(EXTRA_HOST_FLAGS) ; do \
9741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9742 done; \
9743 echo "Doing TAGS in findutils" ; \
9744 (cd $(HOST_SUBDIR)/findutils && \
9745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9747 "RANLIB=$${RANLIB}" \
9748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9749 TAGS) \
9750 || exit 1
9752 @endif findutils
9754 .PHONY: maybe-install-info-findutils install-info-findutils
9755 maybe-install-info-findutils:
9756 @if findutils
9757 maybe-install-info-findutils: install-info-findutils
9759 install-info-findutils: \
9760 configure-findutils \
9761 info-findutils
9762 @: $(MAKE); $(unstage)
9763 @[ -f ./findutils/Makefile ] || exit 0; \
9764 r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9766 $(HOST_EXPORTS) \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769 done; \
9770 echo "Doing install-info in findutils" ; \
9771 (cd $(HOST_SUBDIR)/findutils && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776 install-info) \
9777 || exit 1
9779 @endif findutils
9781 .PHONY: maybe-install-html-findutils install-html-findutils
9782 maybe-install-html-findutils:
9783 @if findutils
9784 maybe-install-html-findutils: install-html-findutils
9786 install-html-findutils: \
9787 configure-findutils \
9788 html-findutils
9789 @: $(MAKE); $(unstage)
9790 @[ -f ./findutils/Makefile ] || exit 0; \
9791 r=`${PWD_COMMAND}`; export r; \
9792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9793 $(HOST_EXPORTS) \
9794 for flag in $(EXTRA_HOST_FLAGS) ; do \
9795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9796 done; \
9797 echo "Doing install-html in findutils" ; \
9798 (cd $(HOST_SUBDIR)/findutils && \
9799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9801 "RANLIB=$${RANLIB}" \
9802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9803 install-html) \
9804 || exit 1
9806 @endif findutils
9808 .PHONY: maybe-installcheck-findutils installcheck-findutils
9809 maybe-installcheck-findutils:
9810 @if findutils
9811 maybe-installcheck-findutils: installcheck-findutils
9813 installcheck-findutils: \
9814 configure-findutils
9815 @: $(MAKE); $(unstage)
9816 @[ -f ./findutils/Makefile ] || exit 0; \
9817 r=`${PWD_COMMAND}`; export r; \
9818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9819 $(HOST_EXPORTS) \
9820 for flag in $(EXTRA_HOST_FLAGS) ; do \
9821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9822 done; \
9823 echo "Doing installcheck in findutils" ; \
9824 (cd $(HOST_SUBDIR)/findutils && \
9825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9827 "RANLIB=$${RANLIB}" \
9828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9829 installcheck) \
9830 || exit 1
9832 @endif findutils
9834 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9835 maybe-mostlyclean-findutils:
9836 @if findutils
9837 maybe-mostlyclean-findutils: mostlyclean-findutils
9839 mostlyclean-findutils:
9840 @: $(MAKE); $(unstage)
9841 @[ -f ./findutils/Makefile ] || exit 0; \
9842 r=`${PWD_COMMAND}`; export r; \
9843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9844 $(HOST_EXPORTS) \
9845 for flag in $(EXTRA_HOST_FLAGS) ; do \
9846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9847 done; \
9848 echo "Doing mostlyclean in findutils" ; \
9849 (cd $(HOST_SUBDIR)/findutils && \
9850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9852 "RANLIB=$${RANLIB}" \
9853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9854 mostlyclean) \
9855 || exit 1
9857 @endif findutils
9859 .PHONY: maybe-clean-findutils clean-findutils
9860 maybe-clean-findutils:
9861 @if findutils
9862 maybe-clean-findutils: clean-findutils
9864 clean-findutils:
9865 @: $(MAKE); $(unstage)
9866 @[ -f ./findutils/Makefile ] || exit 0; \
9867 r=`${PWD_COMMAND}`; export r; \
9868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9869 $(HOST_EXPORTS) \
9870 for flag in $(EXTRA_HOST_FLAGS) ; do \
9871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9872 done; \
9873 echo "Doing clean in findutils" ; \
9874 (cd $(HOST_SUBDIR)/findutils && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9879 clean) \
9880 || exit 1
9882 @endif findutils
9884 .PHONY: maybe-distclean-findutils distclean-findutils
9885 maybe-distclean-findutils:
9886 @if findutils
9887 maybe-distclean-findutils: distclean-findutils
9889 distclean-findutils:
9890 @: $(MAKE); $(unstage)
9891 @[ -f ./findutils/Makefile ] || exit 0; \
9892 r=`${PWD_COMMAND}`; export r; \
9893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9894 $(HOST_EXPORTS) \
9895 for flag in $(EXTRA_HOST_FLAGS) ; do \
9896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9897 done; \
9898 echo "Doing distclean in findutils" ; \
9899 (cd $(HOST_SUBDIR)/findutils && \
9900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9902 "RANLIB=$${RANLIB}" \
9903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9904 distclean) \
9905 || exit 1
9907 @endif findutils
9909 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9910 maybe-maintainer-clean-findutils:
9911 @if findutils
9912 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9914 maintainer-clean-findutils:
9915 @: $(MAKE); $(unstage)
9916 @[ -f ./findutils/Makefile ] || exit 0; \
9917 r=`${PWD_COMMAND}`; export r; \
9918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9919 $(HOST_EXPORTS) \
9920 for flag in $(EXTRA_HOST_FLAGS) ; do \
9921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9922 done; \
9923 echo "Doing maintainer-clean in findutils" ; \
9924 (cd $(HOST_SUBDIR)/findutils && \
9925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9927 "RANLIB=$${RANLIB}" \
9928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9929 maintainer-clean) \
9930 || exit 1
9932 @endif findutils
9936 .PHONY: configure-find maybe-configure-find
9937 maybe-configure-find:
9938 @if find
9939 maybe-configure-find: configure-find
9940 configure-find:
9941 @: $(MAKE); $(unstage)
9942 @r=`${PWD_COMMAND}`; export r; \
9943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9944 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9946 $(HOST_EXPORTS) \
9947 echo Configuring in $(HOST_SUBDIR)/find; \
9948 cd "$(HOST_SUBDIR)/find" || exit 1; \
9949 case $(srcdir) in \
9950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9951 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9953 esac; \
9954 srcdiroption="--srcdir=$${topdir}/find"; \
9955 libsrcdir="$$s/find"; \
9956 $(SHELL) $${libsrcdir}/configure \
9957 $(HOST_CONFIGARGS) $${srcdiroption} \
9958 || exit 1
9959 @endif find
9965 .PHONY: all-find maybe-all-find
9966 maybe-all-find:
9967 @if find
9968 TARGET-find=all
9969 maybe-all-find: all-find
9970 all-find: configure-find
9971 @: $(MAKE); $(unstage)
9972 @r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 $(HOST_EXPORTS) \
9975 (cd $(HOST_SUBDIR)/find && \
9976 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9977 @endif find
9982 .PHONY: check-find maybe-check-find
9983 maybe-check-find:
9984 @if find
9985 maybe-check-find: check-find
9987 check-find:
9988 @: $(MAKE); $(unstage)
9989 @r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(HOST_EXPORTS) \
9992 (cd $(HOST_SUBDIR)/find && \
9993 $(MAKE) $(FLAGS_TO_PASS) check)
9995 @endif find
9997 .PHONY: install-find maybe-install-find
9998 maybe-install-find:
9999 @if find
10000 maybe-install-find: install-find
10002 install-find: installdirs
10003 @: $(MAKE); $(unstage)
10004 @r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(HOST_EXPORTS) \
10007 (cd $(HOST_SUBDIR)/find && \
10008 $(MAKE) $(FLAGS_TO_PASS) install)
10010 @endif find
10012 # Other targets (info, dvi, etc.)
10014 .PHONY: maybe-info-find info-find
10015 maybe-info-find:
10016 @if find
10017 maybe-info-find: info-find
10019 info-find: \
10020 configure-find
10021 @: $(MAKE); $(unstage)
10022 @[ -f ./find/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(HOST_EXPORTS) \
10026 for flag in $(EXTRA_HOST_FLAGS) ; do \
10027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10028 done; \
10029 echo "Doing info in find" ; \
10030 (cd $(HOST_SUBDIR)/find && \
10031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10033 "RANLIB=$${RANLIB}" \
10034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10035 info) \
10036 || exit 1
10038 @endif find
10040 .PHONY: maybe-dvi-find dvi-find
10041 maybe-dvi-find:
10042 @if find
10043 maybe-dvi-find: dvi-find
10045 dvi-find: \
10046 configure-find
10047 @: $(MAKE); $(unstage)
10048 @[ -f ./find/Makefile ] || exit 0; \
10049 r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS) ; do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing dvi in find" ; \
10056 (cd $(HOST_SUBDIR)/find && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10061 dvi) \
10062 || exit 1
10064 @endif find
10066 .PHONY: maybe-html-find html-find
10067 maybe-html-find:
10068 @if find
10069 maybe-html-find: html-find
10071 html-find: \
10072 configure-find
10073 @: $(MAKE); $(unstage)
10074 @[ -f ./find/Makefile ] || exit 0; \
10075 r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 for flag in $(EXTRA_HOST_FLAGS) ; do \
10079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10080 done; \
10081 echo "Doing html in find" ; \
10082 (cd $(HOST_SUBDIR)/find && \
10083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10085 "RANLIB=$${RANLIB}" \
10086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10087 html) \
10088 || exit 1
10090 @endif find
10092 .PHONY: maybe-TAGS-find TAGS-find
10093 maybe-TAGS-find:
10094 @if find
10095 maybe-TAGS-find: TAGS-find
10097 TAGS-find: \
10098 configure-find
10099 @: $(MAKE); $(unstage)
10100 @[ -f ./find/Makefile ] || exit 0; \
10101 r=`${PWD_COMMAND}`; export r; \
10102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10103 $(HOST_EXPORTS) \
10104 for flag in $(EXTRA_HOST_FLAGS) ; do \
10105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10106 done; \
10107 echo "Doing TAGS in find" ; \
10108 (cd $(HOST_SUBDIR)/find && \
10109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10111 "RANLIB=$${RANLIB}" \
10112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10113 TAGS) \
10114 || exit 1
10116 @endif find
10118 .PHONY: maybe-install-info-find install-info-find
10119 maybe-install-info-find:
10120 @if find
10121 maybe-install-info-find: install-info-find
10123 install-info-find: \
10124 configure-find \
10125 info-find
10126 @: $(MAKE); $(unstage)
10127 @[ -f ./find/Makefile ] || exit 0; \
10128 r=`${PWD_COMMAND}`; export r; \
10129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10130 $(HOST_EXPORTS) \
10131 for flag in $(EXTRA_HOST_FLAGS) ; do \
10132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10133 done; \
10134 echo "Doing install-info in find" ; \
10135 (cd $(HOST_SUBDIR)/find && \
10136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10138 "RANLIB=$${RANLIB}" \
10139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10140 install-info) \
10141 || exit 1
10143 @endif find
10145 .PHONY: maybe-install-html-find install-html-find
10146 maybe-install-html-find:
10147 @if find
10148 maybe-install-html-find: install-html-find
10150 install-html-find: \
10151 configure-find \
10152 html-find
10153 @: $(MAKE); $(unstage)
10154 @[ -f ./find/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 $(HOST_EXPORTS) \
10158 for flag in $(EXTRA_HOST_FLAGS) ; do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10160 done; \
10161 echo "Doing install-html in find" ; \
10162 (cd $(HOST_SUBDIR)/find && \
10163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10165 "RANLIB=$${RANLIB}" \
10166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10167 install-html) \
10168 || exit 1
10170 @endif find
10172 .PHONY: maybe-installcheck-find installcheck-find
10173 maybe-installcheck-find:
10174 @if find
10175 maybe-installcheck-find: installcheck-find
10177 installcheck-find: \
10178 configure-find
10179 @: $(MAKE); $(unstage)
10180 @[ -f ./find/Makefile ] || exit 0; \
10181 r=`${PWD_COMMAND}`; export r; \
10182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10183 $(HOST_EXPORTS) \
10184 for flag in $(EXTRA_HOST_FLAGS) ; do \
10185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10186 done; \
10187 echo "Doing installcheck in find" ; \
10188 (cd $(HOST_SUBDIR)/find && \
10189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10191 "RANLIB=$${RANLIB}" \
10192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10193 installcheck) \
10194 || exit 1
10196 @endif find
10198 .PHONY: maybe-mostlyclean-find mostlyclean-find
10199 maybe-mostlyclean-find:
10200 @if find
10201 maybe-mostlyclean-find: mostlyclean-find
10203 mostlyclean-find:
10204 @: $(MAKE); $(unstage)
10205 @[ -f ./find/Makefile ] || exit 0; \
10206 r=`${PWD_COMMAND}`; export r; \
10207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10208 $(HOST_EXPORTS) \
10209 for flag in $(EXTRA_HOST_FLAGS) ; do \
10210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10211 done; \
10212 echo "Doing mostlyclean in find" ; \
10213 (cd $(HOST_SUBDIR)/find && \
10214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10216 "RANLIB=$${RANLIB}" \
10217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10218 mostlyclean) \
10219 || exit 1
10221 @endif find
10223 .PHONY: maybe-clean-find clean-find
10224 maybe-clean-find:
10225 @if find
10226 maybe-clean-find: clean-find
10228 clean-find:
10229 @: $(MAKE); $(unstage)
10230 @[ -f ./find/Makefile ] || exit 0; \
10231 r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10233 $(HOST_EXPORTS) \
10234 for flag in $(EXTRA_HOST_FLAGS) ; do \
10235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10236 done; \
10237 echo "Doing clean in find" ; \
10238 (cd $(HOST_SUBDIR)/find && \
10239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10241 "RANLIB=$${RANLIB}" \
10242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10243 clean) \
10244 || exit 1
10246 @endif find
10248 .PHONY: maybe-distclean-find distclean-find
10249 maybe-distclean-find:
10250 @if find
10251 maybe-distclean-find: distclean-find
10253 distclean-find:
10254 @: $(MAKE); $(unstage)
10255 @[ -f ./find/Makefile ] || exit 0; \
10256 r=`${PWD_COMMAND}`; export r; \
10257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10258 $(HOST_EXPORTS) \
10259 for flag in $(EXTRA_HOST_FLAGS) ; do \
10260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10261 done; \
10262 echo "Doing distclean in find" ; \
10263 (cd $(HOST_SUBDIR)/find && \
10264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10266 "RANLIB=$${RANLIB}" \
10267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10268 distclean) \
10269 || exit 1
10271 @endif find
10273 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10274 maybe-maintainer-clean-find:
10275 @if find
10276 maybe-maintainer-clean-find: maintainer-clean-find
10278 maintainer-clean-find:
10279 @: $(MAKE); $(unstage)
10280 @[ -f ./find/Makefile ] || exit 0; \
10281 r=`${PWD_COMMAND}`; export r; \
10282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10283 $(HOST_EXPORTS) \
10284 for flag in $(EXTRA_HOST_FLAGS) ; do \
10285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10286 done; \
10287 echo "Doing maintainer-clean in find" ; \
10288 (cd $(HOST_SUBDIR)/find && \
10289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10291 "RANLIB=$${RANLIB}" \
10292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10293 maintainer-clean) \
10294 || exit 1
10296 @endif find
10300 .PHONY: configure-fixincludes maybe-configure-fixincludes
10301 maybe-configure-fixincludes:
10302 @if fixincludes
10303 maybe-configure-fixincludes: configure-fixincludes
10304 configure-fixincludes:
10305 @: $(MAKE); $(unstage)
10306 @r=`${PWD_COMMAND}`; export r; \
10307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10308 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
10309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
10310 $(HOST_EXPORTS) \
10311 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
10312 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
10313 case $(srcdir) in \
10314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10315 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
10316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10317 esac; \
10318 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
10319 libsrcdir="$$s/fixincludes"; \
10320 $(SHELL) $${libsrcdir}/configure \
10321 $(HOST_CONFIGARGS) $${srcdiroption} \
10322 || exit 1
10323 @endif fixincludes
10329 .PHONY: all-fixincludes maybe-all-fixincludes
10330 maybe-all-fixincludes:
10331 @if fixincludes
10332 TARGET-fixincludes=all
10333 maybe-all-fixincludes: all-fixincludes
10334 all-fixincludes: configure-fixincludes
10335 @: $(MAKE); $(unstage)
10336 @r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 $(HOST_EXPORTS) \
10339 (cd $(HOST_SUBDIR)/fixincludes && \
10340 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
10341 @endif fixincludes
10346 .PHONY: check-fixincludes maybe-check-fixincludes
10347 maybe-check-fixincludes:
10348 @if fixincludes
10349 maybe-check-fixincludes: check-fixincludes
10351 check-fixincludes:
10352 @: $(MAKE); $(unstage)
10353 @r=`${PWD_COMMAND}`; export r; \
10354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10355 $(HOST_EXPORTS) \
10356 (cd $(HOST_SUBDIR)/fixincludes && \
10357 $(MAKE) $(FLAGS_TO_PASS) check)
10359 @endif fixincludes
10361 .PHONY: install-fixincludes maybe-install-fixincludes
10362 maybe-install-fixincludes:
10363 @if fixincludes
10364 maybe-install-fixincludes: install-fixincludes
10366 install-fixincludes: installdirs
10367 @: $(MAKE); $(unstage)
10368 @r=`${PWD_COMMAND}`; export r; \
10369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10370 $(HOST_EXPORTS) \
10371 (cd $(HOST_SUBDIR)/fixincludes && \
10372 $(MAKE) $(FLAGS_TO_PASS) install)
10374 @endif fixincludes
10376 # Other targets (info, dvi, etc.)
10378 .PHONY: maybe-info-fixincludes info-fixincludes
10379 maybe-info-fixincludes:
10380 @if fixincludes
10381 maybe-info-fixincludes: info-fixincludes
10383 # fixincludes doesn't support info.
10384 info-fixincludes:
10386 @endif fixincludes
10388 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10389 maybe-dvi-fixincludes:
10390 @if fixincludes
10391 maybe-dvi-fixincludes: dvi-fixincludes
10393 # fixincludes doesn't support dvi.
10394 dvi-fixincludes:
10396 @endif fixincludes
10398 .PHONY: maybe-html-fixincludes html-fixincludes
10399 maybe-html-fixincludes:
10400 @if fixincludes
10401 maybe-html-fixincludes: html-fixincludes
10403 html-fixincludes: \
10404 configure-fixincludes
10405 @: $(MAKE); $(unstage)
10406 @[ -f ./fixincludes/Makefile ] || exit 0; \
10407 r=`${PWD_COMMAND}`; export r; \
10408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10409 $(HOST_EXPORTS) \
10410 for flag in $(EXTRA_HOST_FLAGS) ; do \
10411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10412 done; \
10413 echo "Doing html in fixincludes" ; \
10414 (cd $(HOST_SUBDIR)/fixincludes && \
10415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10417 "RANLIB=$${RANLIB}" \
10418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10419 html) \
10420 || exit 1
10422 @endif fixincludes
10424 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10425 maybe-TAGS-fixincludes:
10426 @if fixincludes
10427 maybe-TAGS-fixincludes: TAGS-fixincludes
10429 # fixincludes doesn't support TAGS.
10430 TAGS-fixincludes:
10432 @endif fixincludes
10434 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10435 maybe-install-info-fixincludes:
10436 @if fixincludes
10437 maybe-install-info-fixincludes: install-info-fixincludes
10439 # fixincludes doesn't support install-info.
10440 install-info-fixincludes:
10442 @endif fixincludes
10444 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10445 maybe-install-html-fixincludes:
10446 @if fixincludes
10447 maybe-install-html-fixincludes: install-html-fixincludes
10449 install-html-fixincludes: \
10450 configure-fixincludes \
10451 html-fixincludes
10452 @: $(MAKE); $(unstage)
10453 @[ -f ./fixincludes/Makefile ] || exit 0; \
10454 r=`${PWD_COMMAND}`; export r; \
10455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10456 $(HOST_EXPORTS) \
10457 for flag in $(EXTRA_HOST_FLAGS) ; do \
10458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10459 done; \
10460 echo "Doing install-html in fixincludes" ; \
10461 (cd $(HOST_SUBDIR)/fixincludes && \
10462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10464 "RANLIB=$${RANLIB}" \
10465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10466 install-html) \
10467 || exit 1
10469 @endif fixincludes
10471 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10472 maybe-installcheck-fixincludes:
10473 @if fixincludes
10474 maybe-installcheck-fixincludes: installcheck-fixincludes
10476 # fixincludes doesn't support installcheck.
10477 installcheck-fixincludes:
10479 @endif fixincludes
10481 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10482 maybe-mostlyclean-fixincludes:
10483 @if fixincludes
10484 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10486 mostlyclean-fixincludes:
10487 @: $(MAKE); $(unstage)
10488 @[ -f ./fixincludes/Makefile ] || exit 0; \
10489 r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 $(HOST_EXPORTS) \
10492 for flag in $(EXTRA_HOST_FLAGS) ; do \
10493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10494 done; \
10495 echo "Doing mostlyclean in fixincludes" ; \
10496 (cd $(HOST_SUBDIR)/fixincludes && \
10497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10499 "RANLIB=$${RANLIB}" \
10500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10501 mostlyclean) \
10502 || exit 1
10504 @endif fixincludes
10506 .PHONY: maybe-clean-fixincludes clean-fixincludes
10507 maybe-clean-fixincludes:
10508 @if fixincludes
10509 maybe-clean-fixincludes: clean-fixincludes
10511 clean-fixincludes:
10512 @: $(MAKE); $(unstage)
10513 @[ -f ./fixincludes/Makefile ] || exit 0; \
10514 r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 $(HOST_EXPORTS) \
10517 for flag in $(EXTRA_HOST_FLAGS) ; do \
10518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10519 done; \
10520 echo "Doing clean in fixincludes" ; \
10521 (cd $(HOST_SUBDIR)/fixincludes && \
10522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10524 "RANLIB=$${RANLIB}" \
10525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10526 clean) \
10527 || exit 1
10529 @endif fixincludes
10531 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10532 maybe-distclean-fixincludes:
10533 @if fixincludes
10534 maybe-distclean-fixincludes: distclean-fixincludes
10536 distclean-fixincludes:
10537 @: $(MAKE); $(unstage)
10538 @[ -f ./fixincludes/Makefile ] || exit 0; \
10539 r=`${PWD_COMMAND}`; export r; \
10540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10541 $(HOST_EXPORTS) \
10542 for flag in $(EXTRA_HOST_FLAGS) ; do \
10543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10544 done; \
10545 echo "Doing distclean in fixincludes" ; \
10546 (cd $(HOST_SUBDIR)/fixincludes && \
10547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10549 "RANLIB=$${RANLIB}" \
10550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10551 distclean) \
10552 || exit 1
10554 @endif fixincludes
10556 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10557 maybe-maintainer-clean-fixincludes:
10558 @if fixincludes
10559 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10561 maintainer-clean-fixincludes:
10562 @: $(MAKE); $(unstage)
10563 @[ -f ./fixincludes/Makefile ] || exit 0; \
10564 r=`${PWD_COMMAND}`; export r; \
10565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10566 $(HOST_EXPORTS) \
10567 for flag in $(EXTRA_HOST_FLAGS) ; do \
10568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10569 done; \
10570 echo "Doing maintainer-clean in fixincludes" ; \
10571 (cd $(HOST_SUBDIR)/fixincludes && \
10572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10574 "RANLIB=$${RANLIB}" \
10575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10576 maintainer-clean) \
10577 || exit 1
10579 @endif fixincludes
10583 .PHONY: configure-flex maybe-configure-flex
10584 maybe-configure-flex:
10585 @if flex
10586 maybe-configure-flex: configure-flex
10587 configure-flex:
10588 @: $(MAKE); $(unstage)
10589 @r=`${PWD_COMMAND}`; export r; \
10590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10591 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10593 $(HOST_EXPORTS) \
10594 echo Configuring in $(HOST_SUBDIR)/flex; \
10595 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10596 case $(srcdir) in \
10597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10598 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10600 esac; \
10601 srcdiroption="--srcdir=$${topdir}/flex"; \
10602 libsrcdir="$$s/flex"; \
10603 $(SHELL) $${libsrcdir}/configure \
10604 $(HOST_CONFIGARGS) $${srcdiroption} \
10605 || exit 1
10606 @endif flex
10612 .PHONY: all-flex maybe-all-flex
10613 maybe-all-flex:
10614 @if flex
10615 TARGET-flex=all
10616 maybe-all-flex: all-flex
10617 all-flex: configure-flex
10618 @: $(MAKE); $(unstage)
10619 @r=`${PWD_COMMAND}`; export r; \
10620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10621 $(HOST_EXPORTS) \
10622 (cd $(HOST_SUBDIR)/flex && \
10623 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10624 @endif flex
10629 .PHONY: check-flex maybe-check-flex
10630 maybe-check-flex:
10631 @if flex
10632 maybe-check-flex: check-flex
10634 # This module is only tested in a native toolchain.
10635 check-flex:
10636 @: $(MAKE); $(unstage)
10637 @if [ '$(host)' = '$(target)' ] ; then \
10638 r=`${PWD_COMMAND}`; export r; \
10639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10640 $(HOST_EXPORTS) \
10641 (cd $(HOST_SUBDIR)/flex && \
10642 $(MAKE) $(FLAGS_TO_PASS) check); \
10645 @endif flex
10647 .PHONY: install-flex maybe-install-flex
10648 maybe-install-flex:
10649 @if flex
10650 maybe-install-flex: install-flex
10652 install-flex: installdirs
10653 @: $(MAKE); $(unstage)
10654 @r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 (cd $(HOST_SUBDIR)/flex && \
10658 $(MAKE) $(FLAGS_TO_PASS) install)
10660 @endif flex
10662 # Other targets (info, dvi, etc.)
10664 .PHONY: maybe-info-flex info-flex
10665 maybe-info-flex:
10666 @if flex
10667 maybe-info-flex: info-flex
10669 info-flex: \
10670 configure-flex
10671 @: $(MAKE); $(unstage)
10672 @[ -f ./flex/Makefile ] || exit 0; \
10673 r=`${PWD_COMMAND}`; export r; \
10674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10675 $(HOST_EXPORTS) \
10676 for flag in $(EXTRA_HOST_FLAGS) ; do \
10677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10678 done; \
10679 echo "Doing info in flex" ; \
10680 (cd $(HOST_SUBDIR)/flex && \
10681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10683 "RANLIB=$${RANLIB}" \
10684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10685 info) \
10686 || exit 1
10688 @endif flex
10690 .PHONY: maybe-dvi-flex dvi-flex
10691 maybe-dvi-flex:
10692 @if flex
10693 maybe-dvi-flex: dvi-flex
10695 dvi-flex: \
10696 configure-flex
10697 @: $(MAKE); $(unstage)
10698 @[ -f ./flex/Makefile ] || exit 0; \
10699 r=`${PWD_COMMAND}`; export r; \
10700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10701 $(HOST_EXPORTS) \
10702 for flag in $(EXTRA_HOST_FLAGS) ; do \
10703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10704 done; \
10705 echo "Doing dvi in flex" ; \
10706 (cd $(HOST_SUBDIR)/flex && \
10707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10709 "RANLIB=$${RANLIB}" \
10710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10711 dvi) \
10712 || exit 1
10714 @endif flex
10716 .PHONY: maybe-html-flex html-flex
10717 maybe-html-flex:
10718 @if flex
10719 maybe-html-flex: html-flex
10721 html-flex: \
10722 configure-flex
10723 @: $(MAKE); $(unstage)
10724 @[ -f ./flex/Makefile ] || exit 0; \
10725 r=`${PWD_COMMAND}`; export r; \
10726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10727 $(HOST_EXPORTS) \
10728 for flag in $(EXTRA_HOST_FLAGS) ; do \
10729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10730 done; \
10731 echo "Doing html in flex" ; \
10732 (cd $(HOST_SUBDIR)/flex && \
10733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10735 "RANLIB=$${RANLIB}" \
10736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10737 html) \
10738 || exit 1
10740 @endif flex
10742 .PHONY: maybe-TAGS-flex TAGS-flex
10743 maybe-TAGS-flex:
10744 @if flex
10745 maybe-TAGS-flex: TAGS-flex
10747 TAGS-flex: \
10748 configure-flex
10749 @: $(MAKE); $(unstage)
10750 @[ -f ./flex/Makefile ] || exit 0; \
10751 r=`${PWD_COMMAND}`; export r; \
10752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753 $(HOST_EXPORTS) \
10754 for flag in $(EXTRA_HOST_FLAGS) ; do \
10755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10756 done; \
10757 echo "Doing TAGS in flex" ; \
10758 (cd $(HOST_SUBDIR)/flex && \
10759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10761 "RANLIB=$${RANLIB}" \
10762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10763 TAGS) \
10764 || exit 1
10766 @endif flex
10768 .PHONY: maybe-install-info-flex install-info-flex
10769 maybe-install-info-flex:
10770 @if flex
10771 maybe-install-info-flex: install-info-flex
10773 install-info-flex: \
10774 configure-flex \
10775 info-flex
10776 @: $(MAKE); $(unstage)
10777 @[ -f ./flex/Makefile ] || exit 0; \
10778 r=`${PWD_COMMAND}`; export r; \
10779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10780 $(HOST_EXPORTS) \
10781 for flag in $(EXTRA_HOST_FLAGS) ; do \
10782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10783 done; \
10784 echo "Doing install-info in flex" ; \
10785 (cd $(HOST_SUBDIR)/flex && \
10786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10788 "RANLIB=$${RANLIB}" \
10789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10790 install-info) \
10791 || exit 1
10793 @endif flex
10795 .PHONY: maybe-install-html-flex install-html-flex
10796 maybe-install-html-flex:
10797 @if flex
10798 maybe-install-html-flex: install-html-flex
10800 install-html-flex: \
10801 configure-flex \
10802 html-flex
10803 @: $(MAKE); $(unstage)
10804 @[ -f ./flex/Makefile ] || exit 0; \
10805 r=`${PWD_COMMAND}`; export r; \
10806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10807 $(HOST_EXPORTS) \
10808 for flag in $(EXTRA_HOST_FLAGS) ; do \
10809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10810 done; \
10811 echo "Doing install-html in flex" ; \
10812 (cd $(HOST_SUBDIR)/flex && \
10813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10815 "RANLIB=$${RANLIB}" \
10816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10817 install-html) \
10818 || exit 1
10820 @endif flex
10822 .PHONY: maybe-installcheck-flex installcheck-flex
10823 maybe-installcheck-flex:
10824 @if flex
10825 maybe-installcheck-flex: installcheck-flex
10827 installcheck-flex: \
10828 configure-flex
10829 @: $(MAKE); $(unstage)
10830 @[ -f ./flex/Makefile ] || exit 0; \
10831 r=`${PWD_COMMAND}`; export r; \
10832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10833 $(HOST_EXPORTS) \
10834 for flag in $(EXTRA_HOST_FLAGS) ; do \
10835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10836 done; \
10837 echo "Doing installcheck in flex" ; \
10838 (cd $(HOST_SUBDIR)/flex && \
10839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10841 "RANLIB=$${RANLIB}" \
10842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10843 installcheck) \
10844 || exit 1
10846 @endif flex
10848 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10849 maybe-mostlyclean-flex:
10850 @if flex
10851 maybe-mostlyclean-flex: mostlyclean-flex
10853 mostlyclean-flex:
10854 @: $(MAKE); $(unstage)
10855 @[ -f ./flex/Makefile ] || exit 0; \
10856 r=`${PWD_COMMAND}`; export r; \
10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 $(HOST_EXPORTS) \
10859 for flag in $(EXTRA_HOST_FLAGS) ; do \
10860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10861 done; \
10862 echo "Doing mostlyclean in flex" ; \
10863 (cd $(HOST_SUBDIR)/flex && \
10864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10866 "RANLIB=$${RANLIB}" \
10867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10868 mostlyclean) \
10869 || exit 1
10871 @endif flex
10873 .PHONY: maybe-clean-flex clean-flex
10874 maybe-clean-flex:
10875 @if flex
10876 maybe-clean-flex: clean-flex
10878 clean-flex:
10879 @: $(MAKE); $(unstage)
10880 @[ -f ./flex/Makefile ] || exit 0; \
10881 r=`${PWD_COMMAND}`; export r; \
10882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10883 $(HOST_EXPORTS) \
10884 for flag in $(EXTRA_HOST_FLAGS) ; do \
10885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10886 done; \
10887 echo "Doing clean in flex" ; \
10888 (cd $(HOST_SUBDIR)/flex && \
10889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10891 "RANLIB=$${RANLIB}" \
10892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10893 clean) \
10894 || exit 1
10896 @endif flex
10898 .PHONY: maybe-distclean-flex distclean-flex
10899 maybe-distclean-flex:
10900 @if flex
10901 maybe-distclean-flex: distclean-flex
10903 distclean-flex:
10904 @: $(MAKE); $(unstage)
10905 @[ -f ./flex/Makefile ] || exit 0; \
10906 r=`${PWD_COMMAND}`; export r; \
10907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10908 $(HOST_EXPORTS) \
10909 for flag in $(EXTRA_HOST_FLAGS) ; do \
10910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10911 done; \
10912 echo "Doing distclean in flex" ; \
10913 (cd $(HOST_SUBDIR)/flex && \
10914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10916 "RANLIB=$${RANLIB}" \
10917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10918 distclean) \
10919 || exit 1
10921 @endif flex
10923 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10924 maybe-maintainer-clean-flex:
10925 @if flex
10926 maybe-maintainer-clean-flex: maintainer-clean-flex
10928 maintainer-clean-flex:
10929 @: $(MAKE); $(unstage)
10930 @[ -f ./flex/Makefile ] || exit 0; \
10931 r=`${PWD_COMMAND}`; export r; \
10932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10933 $(HOST_EXPORTS) \
10934 for flag in $(EXTRA_HOST_FLAGS) ; do \
10935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10936 done; \
10937 echo "Doing maintainer-clean in flex" ; \
10938 (cd $(HOST_SUBDIR)/flex && \
10939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10941 "RANLIB=$${RANLIB}" \
10942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10943 maintainer-clean) \
10944 || exit 1
10946 @endif flex
10950 .PHONY: configure-gas maybe-configure-gas
10951 maybe-configure-gas:
10952 @if gas
10953 maybe-configure-gas: configure-gas
10954 configure-gas:
10955 @endif gas
10956 @if gas-bootstrap
10957 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10958 @endif gas-bootstrap
10959 @if gas
10960 @r=`${PWD_COMMAND}`; export r; \
10961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10962 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10964 $(HOST_EXPORTS) \
10965 echo Configuring in $(HOST_SUBDIR)/gas; \
10966 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10967 case $(srcdir) in \
10968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10969 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10971 esac; \
10972 srcdiroption="--srcdir=$${topdir}/gas"; \
10973 libsrcdir="$$s/gas"; \
10974 $(SHELL) $${libsrcdir}/configure \
10975 $(HOST_CONFIGARGS) $${srcdiroption} \
10976 || exit 1
10977 @endif gas
10981 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10982 maybe-configure-stage1-gas:
10983 @if gas-bootstrap
10984 maybe-configure-stage1-gas: configure-stage1-gas
10985 configure-stage1-gas:
10986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10988 @r=`${PWD_COMMAND}`; export r; \
10989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10990 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10991 $(HOST_EXPORTS) \
10992 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10994 cd $(HOST_SUBDIR)/gas || exit 1; \
10995 case $(srcdir) in \
10996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10997 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10999 esac; \
11000 srcdiroption="--srcdir=$${topdir}/gas"; \
11001 libsrcdir="$$s/gas"; \
11002 $(SHELL) $${libsrcdir}/configure \
11003 $(HOST_CONFIGARGS) $${srcdiroption} \
11004 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11005 @endif gas-bootstrap
11007 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11008 maybe-configure-stage2-gas:
11009 @if gas-bootstrap
11010 maybe-configure-stage2-gas: configure-stage2-gas
11011 configure-stage2-gas:
11012 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11014 @r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11017 $(HOST_EXPORTS) \
11018 $(POSTSTAGE1_HOST_EXPORTS) \
11019 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11021 cd $(HOST_SUBDIR)/gas || exit 1; \
11022 case $(srcdir) in \
11023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11024 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11026 esac; \
11027 srcdiroption="--srcdir=$${topdir}/gas"; \
11028 libsrcdir="$$s/gas"; \
11029 $(SHELL) $${libsrcdir}/configure \
11030 $(HOST_CONFIGARGS) $${srcdiroption} \
11031 @stage2_werror_flag@
11032 @endif gas-bootstrap
11034 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11035 maybe-configure-stage3-gas:
11036 @if gas-bootstrap
11037 maybe-configure-stage3-gas: configure-stage3-gas
11038 configure-stage3-gas:
11039 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11041 @r=`${PWD_COMMAND}`; export r; \
11042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11043 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11044 $(HOST_EXPORTS) \
11045 $(POSTSTAGE1_HOST_EXPORTS) \
11046 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11048 cd $(HOST_SUBDIR)/gas || exit 1; \
11049 case $(srcdir) in \
11050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11051 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11053 esac; \
11054 srcdiroption="--srcdir=$${topdir}/gas"; \
11055 libsrcdir="$$s/gas"; \
11056 $(SHELL) $${libsrcdir}/configure \
11057 $(HOST_CONFIGARGS) $${srcdiroption} \
11058 @stage2_werror_flag@
11059 @endif gas-bootstrap
11061 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11062 maybe-configure-stage4-gas:
11063 @if gas-bootstrap
11064 maybe-configure-stage4-gas: configure-stage4-gas
11065 configure-stage4-gas:
11066 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11068 @r=`${PWD_COMMAND}`; export r; \
11069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11070 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11071 $(HOST_EXPORTS) \
11072 $(POSTSTAGE1_HOST_EXPORTS) \
11073 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11075 cd $(HOST_SUBDIR)/gas || exit 1; \
11076 case $(srcdir) in \
11077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11078 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11080 esac; \
11081 srcdiroption="--srcdir=$${topdir}/gas"; \
11082 libsrcdir="$$s/gas"; \
11083 $(SHELL) $${libsrcdir}/configure \
11084 $(HOST_CONFIGARGS) $${srcdiroption} \
11085 @stage2_werror_flag@
11086 @endif gas-bootstrap
11088 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11089 maybe-configure-stageprofile-gas:
11090 @if gas-bootstrap
11091 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11092 configure-stageprofile-gas:
11093 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11095 @r=`${PWD_COMMAND}`; export r; \
11096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11097 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11098 $(HOST_EXPORTS) \
11099 $(POSTSTAGE1_HOST_EXPORTS) \
11100 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11102 cd $(HOST_SUBDIR)/gas || exit 1; \
11103 case $(srcdir) in \
11104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11105 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11107 esac; \
11108 srcdiroption="--srcdir=$${topdir}/gas"; \
11109 libsrcdir="$$s/gas"; \
11110 $(SHELL) $${libsrcdir}/configure \
11111 $(HOST_CONFIGARGS) $${srcdiroption} \
11112 @stage2_werror_flag@
11113 @endif gas-bootstrap
11115 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11116 maybe-configure-stagefeedback-gas:
11117 @if gas-bootstrap
11118 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11119 configure-stagefeedback-gas:
11120 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11122 @r=`${PWD_COMMAND}`; export r; \
11123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11124 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11125 $(HOST_EXPORTS) \
11126 $(POSTSTAGE1_HOST_EXPORTS) \
11127 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11129 cd $(HOST_SUBDIR)/gas || exit 1; \
11130 case $(srcdir) in \
11131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11132 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11134 esac; \
11135 srcdiroption="--srcdir=$${topdir}/gas"; \
11136 libsrcdir="$$s/gas"; \
11137 $(SHELL) $${libsrcdir}/configure \
11138 $(HOST_CONFIGARGS) $${srcdiroption} \
11139 @stage2_werror_flag@
11140 @endif gas-bootstrap
11146 .PHONY: all-gas maybe-all-gas
11147 maybe-all-gas:
11148 @if gas
11149 TARGET-gas=all
11150 maybe-all-gas: all-gas
11151 all-gas: configure-gas
11152 @endif gas
11153 @if gas-bootstrap
11154 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11155 @endif gas-bootstrap
11156 @if gas
11157 @r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 $(HOST_EXPORTS) \
11160 (cd $(HOST_SUBDIR)/gas && \
11161 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11162 @endif gas
11166 .PHONY: all-stage1-gas maybe-all-stage1-gas
11167 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11168 maybe-all-stage1-gas:
11169 maybe-clean-stage1-gas:
11170 @if gas-bootstrap
11171 maybe-all-stage1-gas: all-stage1-gas
11172 all-stage1: all-stage1-gas
11173 TARGET-stage1-gas = $(TARGET-gas)
11174 all-stage1-gas: configure-stage1-gas
11175 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11176 @r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 cd $(HOST_SUBDIR)/gas && \
11180 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11181 $(TARGET-stage1-gas)
11183 maybe-clean-stage1-gas: clean-stage1-gas
11184 clean-stage1: clean-stage1-gas
11185 clean-stage1-gas:
11186 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
11187 || exit 0 ; \
11188 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11189 cd $(HOST_SUBDIR)/gas && \
11190 $(MAKE) $(FLAGS_TO_PASS) \
11191 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11192 @endif gas-bootstrap
11195 .PHONY: all-stage2-gas maybe-all-stage2-gas
11196 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11197 maybe-all-stage2-gas:
11198 maybe-clean-stage2-gas:
11199 @if gas-bootstrap
11200 maybe-all-stage2-gas: all-stage2-gas
11201 all-stage2: all-stage2-gas
11202 TARGET-stage2-gas = $(TARGET-gas)
11203 all-stage2-gas: configure-stage2-gas
11204 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11205 @r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(HOST_EXPORTS) \
11208 $(POSTSTAGE1_HOST_EXPORTS) \
11209 cd $(HOST_SUBDIR)/gas && \
11210 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11211 $(TARGET-stage2-gas)
11213 maybe-clean-stage2-gas: clean-stage2-gas
11214 clean-stage2: clean-stage2-gas
11215 clean-stage2-gas:
11216 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
11217 || exit 0 ; \
11218 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11219 cd $(HOST_SUBDIR)/gas && \
11220 $(MAKE) $(FLAGS_TO_PASS) \
11221 $(POSTSTAGE1_FLAGS_TO_PASS) \
11222 clean
11223 @endif gas-bootstrap
11226 .PHONY: all-stage3-gas maybe-all-stage3-gas
11227 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11228 maybe-all-stage3-gas:
11229 maybe-clean-stage3-gas:
11230 @if gas-bootstrap
11231 maybe-all-stage3-gas: all-stage3-gas
11232 all-stage3: all-stage3-gas
11233 TARGET-stage3-gas = $(TARGET-gas)
11234 all-stage3-gas: configure-stage3-gas
11235 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11236 @r=`${PWD_COMMAND}`; export r; \
11237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11238 $(HOST_EXPORTS) \
11239 $(POSTSTAGE1_HOST_EXPORTS) \
11240 cd $(HOST_SUBDIR)/gas && \
11241 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11242 $(TARGET-stage3-gas)
11244 maybe-clean-stage3-gas: clean-stage3-gas
11245 clean-stage3: clean-stage3-gas
11246 clean-stage3-gas:
11247 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
11248 || exit 0 ; \
11249 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11250 cd $(HOST_SUBDIR)/gas && \
11251 $(MAKE) $(FLAGS_TO_PASS) \
11252 $(POSTSTAGE1_FLAGS_TO_PASS) \
11253 clean
11254 @endif gas-bootstrap
11257 .PHONY: all-stage4-gas maybe-all-stage4-gas
11258 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11259 maybe-all-stage4-gas:
11260 maybe-clean-stage4-gas:
11261 @if gas-bootstrap
11262 maybe-all-stage4-gas: all-stage4-gas
11263 all-stage4: all-stage4-gas
11264 TARGET-stage4-gas = $(TARGET-gas)
11265 all-stage4-gas: configure-stage4-gas
11266 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11267 @r=`${PWD_COMMAND}`; export r; \
11268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11269 $(HOST_EXPORTS) \
11270 $(POSTSTAGE1_HOST_EXPORTS) \
11271 cd $(HOST_SUBDIR)/gas && \
11272 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11273 $(TARGET-stage4-gas)
11275 maybe-clean-stage4-gas: clean-stage4-gas
11276 clean-stage4: clean-stage4-gas
11277 clean-stage4-gas:
11278 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
11279 || exit 0 ; \
11280 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11281 cd $(HOST_SUBDIR)/gas && \
11282 $(MAKE) $(FLAGS_TO_PASS) \
11283 $(POSTSTAGE1_FLAGS_TO_PASS) \
11284 clean
11285 @endif gas-bootstrap
11288 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11289 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11290 maybe-all-stageprofile-gas:
11291 maybe-clean-stageprofile-gas:
11292 @if gas-bootstrap
11293 maybe-all-stageprofile-gas: all-stageprofile-gas
11294 all-stageprofile: all-stageprofile-gas
11295 TARGET-stageprofile-gas = $(TARGET-gas)
11296 all-stageprofile-gas: configure-stageprofile-gas
11297 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11298 @r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 $(HOST_EXPORTS) \
11301 $(POSTSTAGE1_HOST_EXPORTS) \
11302 cd $(HOST_SUBDIR)/gas && \
11303 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
11304 $(TARGET-stageprofile-gas)
11306 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11307 clean-stageprofile: clean-stageprofile-gas
11308 clean-stageprofile-gas:
11309 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
11310 || exit 0 ; \
11311 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11312 cd $(HOST_SUBDIR)/gas && \
11313 $(MAKE) $(FLAGS_TO_PASS) \
11314 $(POSTSTAGE1_FLAGS_TO_PASS) \
11315 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
11316 @endif gas-bootstrap
11319 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11320 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11321 maybe-all-stagefeedback-gas:
11322 maybe-clean-stagefeedback-gas:
11323 @if gas-bootstrap
11324 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11325 all-stagefeedback: all-stagefeedback-gas
11326 TARGET-stagefeedback-gas = $(TARGET-gas)
11327 all-stagefeedback-gas: configure-stagefeedback-gas
11328 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11329 @r=`${PWD_COMMAND}`; export r; \
11330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11331 $(HOST_EXPORTS) \
11332 $(POSTSTAGE1_HOST_EXPORTS) \
11333 cd $(HOST_SUBDIR)/gas && \
11334 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
11335 $(TARGET-stagefeedback-gas)
11337 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11338 clean-stagefeedback: clean-stagefeedback-gas
11339 clean-stagefeedback-gas:
11340 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
11341 || exit 0 ; \
11342 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11343 cd $(HOST_SUBDIR)/gas && \
11344 $(MAKE) $(FLAGS_TO_PASS) \
11345 $(POSTSTAGE1_FLAGS_TO_PASS) \
11346 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
11347 @endif gas-bootstrap
11353 .PHONY: check-gas maybe-check-gas
11354 maybe-check-gas:
11355 @if gas
11356 maybe-check-gas: check-gas
11358 check-gas:
11359 @: $(MAKE); $(unstage)
11360 @r=`${PWD_COMMAND}`; export r; \
11361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11362 $(HOST_EXPORTS) \
11363 (cd $(HOST_SUBDIR)/gas && \
11364 $(MAKE) $(FLAGS_TO_PASS) check)
11366 @endif gas
11368 .PHONY: install-gas maybe-install-gas
11369 maybe-install-gas:
11370 @if gas
11371 maybe-install-gas: install-gas
11373 install-gas: installdirs
11374 @: $(MAKE); $(unstage)
11375 @r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 $(HOST_EXPORTS) \
11378 (cd $(HOST_SUBDIR)/gas && \
11379 $(MAKE) $(FLAGS_TO_PASS) install)
11381 @endif gas
11383 # Other targets (info, dvi, etc.)
11385 .PHONY: maybe-info-gas info-gas
11386 maybe-info-gas:
11387 @if gas
11388 maybe-info-gas: info-gas
11390 info-gas: \
11391 configure-gas
11392 @[ -f ./gas/Makefile ] || exit 0; \
11393 r=`${PWD_COMMAND}`; export r; \
11394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11395 $(HOST_EXPORTS) \
11396 for flag in $(EXTRA_HOST_FLAGS) ; do \
11397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11398 done; \
11399 echo "Doing info in gas" ; \
11400 (cd $(HOST_SUBDIR)/gas && \
11401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11403 "RANLIB=$${RANLIB}" \
11404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11405 info) \
11406 || exit 1
11408 @endif gas
11410 .PHONY: maybe-dvi-gas dvi-gas
11411 maybe-dvi-gas:
11412 @if gas
11413 maybe-dvi-gas: dvi-gas
11415 dvi-gas: \
11416 configure-gas
11417 @[ -f ./gas/Makefile ] || exit 0; \
11418 r=`${PWD_COMMAND}`; export r; \
11419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11420 $(HOST_EXPORTS) \
11421 for flag in $(EXTRA_HOST_FLAGS) ; do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11423 done; \
11424 echo "Doing dvi in gas" ; \
11425 (cd $(HOST_SUBDIR)/gas && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11430 dvi) \
11431 || exit 1
11433 @endif gas
11435 .PHONY: maybe-html-gas html-gas
11436 maybe-html-gas:
11437 @if gas
11438 maybe-html-gas: html-gas
11440 html-gas: \
11441 configure-gas
11442 @[ -f ./gas/Makefile ] || exit 0; \
11443 r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 $(HOST_EXPORTS) \
11446 for flag in $(EXTRA_HOST_FLAGS) ; do \
11447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11448 done; \
11449 echo "Doing html in gas" ; \
11450 (cd $(HOST_SUBDIR)/gas && \
11451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11453 "RANLIB=$${RANLIB}" \
11454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11455 html) \
11456 || exit 1
11458 @endif gas
11460 .PHONY: maybe-TAGS-gas TAGS-gas
11461 maybe-TAGS-gas:
11462 @if gas
11463 maybe-TAGS-gas: TAGS-gas
11465 TAGS-gas: \
11466 configure-gas
11467 @[ -f ./gas/Makefile ] || exit 0; \
11468 r=`${PWD_COMMAND}`; export r; \
11469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11470 $(HOST_EXPORTS) \
11471 for flag in $(EXTRA_HOST_FLAGS) ; do \
11472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11473 done; \
11474 echo "Doing TAGS in gas" ; \
11475 (cd $(HOST_SUBDIR)/gas && \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11478 "RANLIB=$${RANLIB}" \
11479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11480 TAGS) \
11481 || exit 1
11483 @endif gas
11485 .PHONY: maybe-install-info-gas install-info-gas
11486 maybe-install-info-gas:
11487 @if gas
11488 maybe-install-info-gas: install-info-gas
11490 install-info-gas: \
11491 configure-gas \
11492 info-gas
11493 @[ -f ./gas/Makefile ] || exit 0; \
11494 r=`${PWD_COMMAND}`; export r; \
11495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11496 $(HOST_EXPORTS) \
11497 for flag in $(EXTRA_HOST_FLAGS) ; do \
11498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11499 done; \
11500 echo "Doing install-info in gas" ; \
11501 (cd $(HOST_SUBDIR)/gas && \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11504 "RANLIB=$${RANLIB}" \
11505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11506 install-info) \
11507 || exit 1
11509 @endif gas
11511 .PHONY: maybe-install-html-gas install-html-gas
11512 maybe-install-html-gas:
11513 @if gas
11514 maybe-install-html-gas: install-html-gas
11516 install-html-gas: \
11517 configure-gas \
11518 html-gas
11519 @[ -f ./gas/Makefile ] || exit 0; \
11520 r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(HOST_EXPORTS) \
11523 for flag in $(EXTRA_HOST_FLAGS) ; do \
11524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11525 done; \
11526 echo "Doing install-html in gas" ; \
11527 (cd $(HOST_SUBDIR)/gas && \
11528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11530 "RANLIB=$${RANLIB}" \
11531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11532 install-html) \
11533 || exit 1
11535 @endif gas
11537 .PHONY: maybe-installcheck-gas installcheck-gas
11538 maybe-installcheck-gas:
11539 @if gas
11540 maybe-installcheck-gas: installcheck-gas
11542 installcheck-gas: \
11543 configure-gas
11544 @[ -f ./gas/Makefile ] || exit 0; \
11545 r=`${PWD_COMMAND}`; export r; \
11546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 $(HOST_EXPORTS) \
11548 for flag in $(EXTRA_HOST_FLAGS) ; do \
11549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11550 done; \
11551 echo "Doing installcheck in gas" ; \
11552 (cd $(HOST_SUBDIR)/gas && \
11553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11555 "RANLIB=$${RANLIB}" \
11556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11557 installcheck) \
11558 || exit 1
11560 @endif gas
11562 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11563 maybe-mostlyclean-gas:
11564 @if gas
11565 maybe-mostlyclean-gas: mostlyclean-gas
11567 mostlyclean-gas:
11568 @[ -f ./gas/Makefile ] || exit 0; \
11569 r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 $(HOST_EXPORTS) \
11572 for flag in $(EXTRA_HOST_FLAGS) ; do \
11573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11574 done; \
11575 echo "Doing mostlyclean in gas" ; \
11576 (cd $(HOST_SUBDIR)/gas && \
11577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11579 "RANLIB=$${RANLIB}" \
11580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11581 mostlyclean) \
11582 || exit 1
11584 @endif gas
11586 .PHONY: maybe-clean-gas clean-gas
11587 maybe-clean-gas:
11588 @if gas
11589 maybe-clean-gas: clean-gas
11591 clean-gas:
11592 @[ -f ./gas/Makefile ] || exit 0; \
11593 r=`${PWD_COMMAND}`; export r; \
11594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11595 $(HOST_EXPORTS) \
11596 for flag in $(EXTRA_HOST_FLAGS) ; do \
11597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11598 done; \
11599 echo "Doing clean in gas" ; \
11600 (cd $(HOST_SUBDIR)/gas && \
11601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11603 "RANLIB=$${RANLIB}" \
11604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11605 clean) \
11606 || exit 1
11608 @endif gas
11610 .PHONY: maybe-distclean-gas distclean-gas
11611 maybe-distclean-gas:
11612 @if gas
11613 maybe-distclean-gas: distclean-gas
11615 distclean-gas:
11616 @[ -f ./gas/Makefile ] || exit 0; \
11617 r=`${PWD_COMMAND}`; export r; \
11618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 $(HOST_EXPORTS) \
11620 for flag in $(EXTRA_HOST_FLAGS) ; do \
11621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11622 done; \
11623 echo "Doing distclean in gas" ; \
11624 (cd $(HOST_SUBDIR)/gas && \
11625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11627 "RANLIB=$${RANLIB}" \
11628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11629 distclean) \
11630 || exit 1
11632 @endif gas
11634 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11635 maybe-maintainer-clean-gas:
11636 @if gas
11637 maybe-maintainer-clean-gas: maintainer-clean-gas
11639 maintainer-clean-gas:
11640 @[ -f ./gas/Makefile ] || exit 0; \
11641 r=`${PWD_COMMAND}`; export r; \
11642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11643 $(HOST_EXPORTS) \
11644 for flag in $(EXTRA_HOST_FLAGS) ; do \
11645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11646 done; \
11647 echo "Doing maintainer-clean in gas" ; \
11648 (cd $(HOST_SUBDIR)/gas && \
11649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11651 "RANLIB=$${RANLIB}" \
11652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11653 maintainer-clean) \
11654 || exit 1
11656 @endif gas
11660 .PHONY: configure-gcc maybe-configure-gcc
11661 maybe-configure-gcc:
11662 @if gcc
11663 maybe-configure-gcc: configure-gcc
11664 configure-gcc:
11665 @endif gcc
11666 @if gcc-bootstrap
11667 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11668 @endif gcc-bootstrap
11669 @if gcc
11670 @r=`${PWD_COMMAND}`; export r; \
11671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11672 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11674 $(HOST_EXPORTS) \
11675 echo Configuring in $(HOST_SUBDIR)/gcc; \
11676 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11677 case $(srcdir) in \
11678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11679 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11681 esac; \
11682 srcdiroption="--srcdir=$${topdir}/gcc"; \
11683 libsrcdir="$$s/gcc"; \
11684 $(SHELL) $${libsrcdir}/configure \
11685 $(HOST_CONFIGARGS) $${srcdiroption} \
11686 || exit 1
11687 @endif gcc
11691 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11692 maybe-configure-stage1-gcc:
11693 @if gcc-bootstrap
11694 maybe-configure-stage1-gcc: configure-stage1-gcc
11695 configure-stage1-gcc:
11696 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11698 @r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11701 $(HOST_EXPORTS) \
11702 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11704 cd $(HOST_SUBDIR)/gcc || exit 1; \
11705 case $(srcdir) in \
11706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11707 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11709 esac; \
11710 srcdiroption="--srcdir=$${topdir}/gcc"; \
11711 libsrcdir="$$s/gcc"; \
11712 $(SHELL) $${libsrcdir}/configure \
11713 $(HOST_CONFIGARGS) $${srcdiroption} \
11714 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11715 @endif gcc-bootstrap
11717 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11718 maybe-configure-stage2-gcc:
11719 @if gcc-bootstrap
11720 maybe-configure-stage2-gcc: configure-stage2-gcc
11721 configure-stage2-gcc:
11722 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11724 @r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11727 $(HOST_EXPORTS) \
11728 $(POSTSTAGE1_HOST_EXPORTS) \
11729 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11731 cd $(HOST_SUBDIR)/gcc || exit 1; \
11732 case $(srcdir) in \
11733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11734 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11736 esac; \
11737 srcdiroption="--srcdir=$${topdir}/gcc"; \
11738 libsrcdir="$$s/gcc"; \
11739 $(SHELL) $${libsrcdir}/configure \
11740 $(HOST_CONFIGARGS) $${srcdiroption} \
11741 @stage2_werror_flag@
11742 @endif gcc-bootstrap
11744 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11745 maybe-configure-stage3-gcc:
11746 @if gcc-bootstrap
11747 maybe-configure-stage3-gcc: configure-stage3-gcc
11748 configure-stage3-gcc:
11749 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11751 @r=`${PWD_COMMAND}`; export r; \
11752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11753 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11754 $(HOST_EXPORTS) \
11755 $(POSTSTAGE1_HOST_EXPORTS) \
11756 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11758 cd $(HOST_SUBDIR)/gcc || exit 1; \
11759 case $(srcdir) in \
11760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11761 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11763 esac; \
11764 srcdiroption="--srcdir=$${topdir}/gcc"; \
11765 libsrcdir="$$s/gcc"; \
11766 $(SHELL) $${libsrcdir}/configure \
11767 $(HOST_CONFIGARGS) $${srcdiroption} \
11768 @stage2_werror_flag@
11769 @endif gcc-bootstrap
11771 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11772 maybe-configure-stage4-gcc:
11773 @if gcc-bootstrap
11774 maybe-configure-stage4-gcc: configure-stage4-gcc
11775 configure-stage4-gcc:
11776 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11778 @r=`${PWD_COMMAND}`; export r; \
11779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11780 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11781 $(HOST_EXPORTS) \
11782 $(POSTSTAGE1_HOST_EXPORTS) \
11783 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11785 cd $(HOST_SUBDIR)/gcc || exit 1; \
11786 case $(srcdir) in \
11787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11788 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11790 esac; \
11791 srcdiroption="--srcdir=$${topdir}/gcc"; \
11792 libsrcdir="$$s/gcc"; \
11793 $(SHELL) $${libsrcdir}/configure \
11794 $(HOST_CONFIGARGS) $${srcdiroption} \
11795 @stage2_werror_flag@
11796 @endif gcc-bootstrap
11798 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11799 maybe-configure-stageprofile-gcc:
11800 @if gcc-bootstrap
11801 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11802 configure-stageprofile-gcc:
11803 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11805 @r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11808 $(HOST_EXPORTS) \
11809 $(POSTSTAGE1_HOST_EXPORTS) \
11810 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11812 cd $(HOST_SUBDIR)/gcc || exit 1; \
11813 case $(srcdir) in \
11814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11815 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11817 esac; \
11818 srcdiroption="--srcdir=$${topdir}/gcc"; \
11819 libsrcdir="$$s/gcc"; \
11820 $(SHELL) $${libsrcdir}/configure \
11821 $(HOST_CONFIGARGS) $${srcdiroption} \
11822 @stage2_werror_flag@
11823 @endif gcc-bootstrap
11825 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11826 maybe-configure-stagefeedback-gcc:
11827 @if gcc-bootstrap
11828 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11829 configure-stagefeedback-gcc:
11830 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11832 @r=`${PWD_COMMAND}`; export r; \
11833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11834 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11835 $(HOST_EXPORTS) \
11836 $(POSTSTAGE1_HOST_EXPORTS) \
11837 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11839 cd $(HOST_SUBDIR)/gcc || exit 1; \
11840 case $(srcdir) in \
11841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11842 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11844 esac; \
11845 srcdiroption="--srcdir=$${topdir}/gcc"; \
11846 libsrcdir="$$s/gcc"; \
11847 $(SHELL) $${libsrcdir}/configure \
11848 $(HOST_CONFIGARGS) $${srcdiroption} \
11849 @stage2_werror_flag@
11850 @endif gcc-bootstrap
11856 .PHONY: all-gcc maybe-all-gcc
11857 maybe-all-gcc:
11858 @if gcc
11859 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11860 maybe-all-gcc: all-gcc
11861 all-gcc: configure-gcc
11862 @endif gcc
11863 @if gcc-bootstrap
11864 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11865 @endif gcc-bootstrap
11866 @if gcc
11867 @r=`${PWD_COMMAND}`; export r; \
11868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11869 $(HOST_EXPORTS) \
11870 (cd $(HOST_SUBDIR)/gcc && \
11871 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11872 @endif gcc
11876 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11877 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11878 maybe-all-stage1-gcc:
11879 maybe-clean-stage1-gcc:
11880 @if gcc-bootstrap
11881 maybe-all-stage1-gcc: all-stage1-gcc
11882 all-stage1: all-stage1-gcc
11883 TARGET-stage1-gcc = $(TARGET-gcc)
11884 all-stage1-gcc: configure-stage1-gcc
11885 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11886 @r=`${PWD_COMMAND}`; export r; \
11887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 $(HOST_EXPORTS) \
11889 cd $(HOST_SUBDIR)/gcc && \
11890 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11891 $(TARGET-stage1-gcc)
11893 maybe-clean-stage1-gcc: clean-stage1-gcc
11894 clean-stage1: clean-stage1-gcc
11895 clean-stage1-gcc:
11896 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11897 || exit 0 ; \
11898 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11899 cd $(HOST_SUBDIR)/gcc && \
11900 $(MAKE) $(FLAGS_TO_PASS) \
11901 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11902 @endif gcc-bootstrap
11905 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11906 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11907 maybe-all-stage2-gcc:
11908 maybe-clean-stage2-gcc:
11909 @if gcc-bootstrap
11910 maybe-all-stage2-gcc: all-stage2-gcc
11911 all-stage2: all-stage2-gcc
11912 TARGET-stage2-gcc = $(TARGET-gcc)
11913 all-stage2-gcc: configure-stage2-gcc
11914 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11915 @r=`${PWD_COMMAND}`; export r; \
11916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11917 $(HOST_EXPORTS) \
11918 $(POSTSTAGE1_HOST_EXPORTS) \
11919 cd $(HOST_SUBDIR)/gcc && \
11920 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11921 $(TARGET-stage2-gcc)
11923 maybe-clean-stage2-gcc: clean-stage2-gcc
11924 clean-stage2: clean-stage2-gcc
11925 clean-stage2-gcc:
11926 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11927 || exit 0 ; \
11928 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11929 cd $(HOST_SUBDIR)/gcc && \
11930 $(MAKE) $(FLAGS_TO_PASS) \
11931 $(POSTSTAGE1_FLAGS_TO_PASS) \
11932 $(EXTRA_GCC_FLAGS) clean
11933 @endif gcc-bootstrap
11936 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11937 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11938 maybe-all-stage3-gcc:
11939 maybe-clean-stage3-gcc:
11940 @if gcc-bootstrap
11941 maybe-all-stage3-gcc: all-stage3-gcc
11942 all-stage3: all-stage3-gcc
11943 TARGET-stage3-gcc = $(TARGET-gcc)
11944 all-stage3-gcc: configure-stage3-gcc
11945 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11946 @r=`${PWD_COMMAND}`; export r; \
11947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11948 $(HOST_EXPORTS) \
11949 $(POSTSTAGE1_HOST_EXPORTS) \
11950 cd $(HOST_SUBDIR)/gcc && \
11951 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11952 $(TARGET-stage3-gcc)
11954 maybe-clean-stage3-gcc: clean-stage3-gcc
11955 clean-stage3: clean-stage3-gcc
11956 clean-stage3-gcc:
11957 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11958 || exit 0 ; \
11959 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11960 cd $(HOST_SUBDIR)/gcc && \
11961 $(MAKE) $(FLAGS_TO_PASS) \
11962 $(POSTSTAGE1_FLAGS_TO_PASS) \
11963 $(EXTRA_GCC_FLAGS) clean
11964 @endif gcc-bootstrap
11967 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11968 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11969 maybe-all-stage4-gcc:
11970 maybe-clean-stage4-gcc:
11971 @if gcc-bootstrap
11972 maybe-all-stage4-gcc: all-stage4-gcc
11973 all-stage4: all-stage4-gcc
11974 TARGET-stage4-gcc = $(TARGET-gcc)
11975 all-stage4-gcc: configure-stage4-gcc
11976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11977 @r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 $(HOST_EXPORTS) \
11980 $(POSTSTAGE1_HOST_EXPORTS) \
11981 cd $(HOST_SUBDIR)/gcc && \
11982 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11983 $(TARGET-stage4-gcc)
11985 maybe-clean-stage4-gcc: clean-stage4-gcc
11986 clean-stage4: clean-stage4-gcc
11987 clean-stage4-gcc:
11988 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11989 || exit 0 ; \
11990 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11991 cd $(HOST_SUBDIR)/gcc && \
11992 $(MAKE) $(FLAGS_TO_PASS) \
11993 $(POSTSTAGE1_FLAGS_TO_PASS) \
11994 $(EXTRA_GCC_FLAGS) clean
11995 @endif gcc-bootstrap
11998 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11999 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12000 maybe-all-stageprofile-gcc:
12001 maybe-clean-stageprofile-gcc:
12002 @if gcc-bootstrap
12003 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12004 all-stageprofile: all-stageprofile-gcc
12005 TARGET-stageprofile-gcc = $(TARGET-gcc)
12006 all-stageprofile-gcc: configure-stageprofile-gcc
12007 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12008 @r=`${PWD_COMMAND}`; export r; \
12009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12010 $(HOST_EXPORTS) \
12011 $(POSTSTAGE1_HOST_EXPORTS) \
12012 cd $(HOST_SUBDIR)/gcc && \
12013 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12014 $(TARGET-stageprofile-gcc)
12016 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12017 clean-stageprofile: clean-stageprofile-gcc
12018 clean-stageprofile-gcc:
12019 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
12020 || exit 0 ; \
12021 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12022 cd $(HOST_SUBDIR)/gcc && \
12023 $(MAKE) $(FLAGS_TO_PASS) \
12024 $(POSTSTAGE1_FLAGS_TO_PASS) \
12025 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12026 @endif gcc-bootstrap
12029 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12030 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12031 maybe-all-stagefeedback-gcc:
12032 maybe-clean-stagefeedback-gcc:
12033 @if gcc-bootstrap
12034 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12035 all-stagefeedback: all-stagefeedback-gcc
12036 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12037 all-stagefeedback-gcc: configure-stagefeedback-gcc
12038 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12039 @r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 $(HOST_EXPORTS) \
12042 $(POSTSTAGE1_HOST_EXPORTS) \
12043 cd $(HOST_SUBDIR)/gcc && \
12044 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12045 $(TARGET-stagefeedback-gcc)
12047 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12048 clean-stagefeedback: clean-stagefeedback-gcc
12049 clean-stagefeedback-gcc:
12050 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
12051 || exit 0 ; \
12052 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12053 cd $(HOST_SUBDIR)/gcc && \
12054 $(MAKE) $(FLAGS_TO_PASS) \
12055 $(POSTSTAGE1_FLAGS_TO_PASS) \
12056 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12057 @endif gcc-bootstrap
12063 .PHONY: check-gcc maybe-check-gcc
12064 maybe-check-gcc:
12065 @if gcc
12066 maybe-check-gcc: check-gcc
12068 check-gcc:
12069 @: $(MAKE); $(unstage)
12070 @r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 $(HOST_EXPORTS) \
12073 (cd $(HOST_SUBDIR)/gcc && \
12074 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12076 @endif gcc
12078 .PHONY: install-gcc maybe-install-gcc
12079 maybe-install-gcc:
12080 @if gcc
12081 maybe-install-gcc: install-gcc
12083 install-gcc: installdirs
12084 @: $(MAKE); $(unstage)
12085 @r=`${PWD_COMMAND}`; export r; \
12086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12087 $(HOST_EXPORTS) \
12088 (cd $(HOST_SUBDIR)/gcc && \
12089 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12091 @endif gcc
12093 # Other targets (info, dvi, etc.)
12095 .PHONY: maybe-info-gcc info-gcc
12096 maybe-info-gcc:
12097 @if gcc
12098 maybe-info-gcc: info-gcc
12100 info-gcc: \
12101 configure-gcc
12102 @[ -f ./gcc/Makefile ] || exit 0; \
12103 r=`${PWD_COMMAND}`; export r; \
12104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12105 $(HOST_EXPORTS) \
12106 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12108 done; \
12109 echo "Doing info in gcc" ; \
12110 (cd $(HOST_SUBDIR)/gcc && \
12111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12113 "RANLIB=$${RANLIB}" \
12114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 info) \
12116 || exit 1
12118 @endif gcc
12120 .PHONY: maybe-dvi-gcc dvi-gcc
12121 maybe-dvi-gcc:
12122 @if gcc
12123 maybe-dvi-gcc: dvi-gcc
12125 dvi-gcc: \
12126 configure-gcc
12127 @[ -f ./gcc/Makefile ] || exit 0; \
12128 r=`${PWD_COMMAND}`; export r; \
12129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12130 $(HOST_EXPORTS) \
12131 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12133 done; \
12134 echo "Doing dvi in gcc" ; \
12135 (cd $(HOST_SUBDIR)/gcc && \
12136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12138 "RANLIB=$${RANLIB}" \
12139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12140 dvi) \
12141 || exit 1
12143 @endif gcc
12145 .PHONY: maybe-html-gcc html-gcc
12146 maybe-html-gcc:
12147 @if gcc
12148 maybe-html-gcc: html-gcc
12150 html-gcc: \
12151 configure-gcc
12152 @[ -f ./gcc/Makefile ] || exit 0; \
12153 r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 $(HOST_EXPORTS) \
12156 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12158 done; \
12159 echo "Doing html in gcc" ; \
12160 (cd $(HOST_SUBDIR)/gcc && \
12161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12163 "RANLIB=$${RANLIB}" \
12164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12165 html) \
12166 || exit 1
12168 @endif gcc
12170 .PHONY: maybe-TAGS-gcc TAGS-gcc
12171 maybe-TAGS-gcc:
12172 @if gcc
12173 maybe-TAGS-gcc: TAGS-gcc
12175 TAGS-gcc: \
12176 configure-gcc
12177 @[ -f ./gcc/Makefile ] || exit 0; \
12178 r=`${PWD_COMMAND}`; export r; \
12179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12180 $(HOST_EXPORTS) \
12181 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12183 done; \
12184 echo "Doing TAGS in gcc" ; \
12185 (cd $(HOST_SUBDIR)/gcc && \
12186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12188 "RANLIB=$${RANLIB}" \
12189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12190 TAGS) \
12191 || exit 1
12193 @endif gcc
12195 .PHONY: maybe-install-info-gcc install-info-gcc
12196 maybe-install-info-gcc:
12197 @if gcc
12198 maybe-install-info-gcc: install-info-gcc
12200 install-info-gcc: \
12201 configure-gcc \
12202 info-gcc
12203 @[ -f ./gcc/Makefile ] || exit 0; \
12204 r=`${PWD_COMMAND}`; export r; \
12205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12206 $(HOST_EXPORTS) \
12207 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12209 done; \
12210 echo "Doing install-info in gcc" ; \
12211 (cd $(HOST_SUBDIR)/gcc && \
12212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12214 "RANLIB=$${RANLIB}" \
12215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12216 install-info) \
12217 || exit 1
12219 @endif gcc
12221 .PHONY: maybe-install-html-gcc install-html-gcc
12222 maybe-install-html-gcc:
12223 @if gcc
12224 maybe-install-html-gcc: install-html-gcc
12226 install-html-gcc: \
12227 configure-gcc \
12228 html-gcc
12229 @[ -f ./gcc/Makefile ] || exit 0; \
12230 r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(HOST_EXPORTS) \
12233 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12235 done; \
12236 echo "Doing install-html in gcc" ; \
12237 (cd $(HOST_SUBDIR)/gcc && \
12238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12240 "RANLIB=$${RANLIB}" \
12241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12242 install-html) \
12243 || exit 1
12245 @endif gcc
12247 .PHONY: maybe-installcheck-gcc installcheck-gcc
12248 maybe-installcheck-gcc:
12249 @if gcc
12250 maybe-installcheck-gcc: installcheck-gcc
12252 installcheck-gcc: \
12253 configure-gcc
12254 @[ -f ./gcc/Makefile ] || exit 0; \
12255 r=`${PWD_COMMAND}`; export r; \
12256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12257 $(HOST_EXPORTS) \
12258 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12260 done; \
12261 echo "Doing installcheck in gcc" ; \
12262 (cd $(HOST_SUBDIR)/gcc && \
12263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12265 "RANLIB=$${RANLIB}" \
12266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12267 installcheck) \
12268 || exit 1
12270 @endif gcc
12272 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12273 maybe-mostlyclean-gcc:
12274 @if gcc
12275 maybe-mostlyclean-gcc: mostlyclean-gcc
12277 mostlyclean-gcc:
12278 @[ -f ./gcc/Makefile ] || exit 0; \
12279 r=`${PWD_COMMAND}`; export r; \
12280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12281 $(HOST_EXPORTS) \
12282 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12284 done; \
12285 echo "Doing mostlyclean in gcc" ; \
12286 (cd $(HOST_SUBDIR)/gcc && \
12287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12289 "RANLIB=$${RANLIB}" \
12290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12291 mostlyclean) \
12292 || exit 1
12294 @endif gcc
12296 .PHONY: maybe-clean-gcc clean-gcc
12297 maybe-clean-gcc:
12298 @if gcc
12299 maybe-clean-gcc: clean-gcc
12301 clean-gcc:
12302 @[ -f ./gcc/Makefile ] || exit 0; \
12303 r=`${PWD_COMMAND}`; export r; \
12304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12305 $(HOST_EXPORTS) \
12306 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12308 done; \
12309 echo "Doing clean in gcc" ; \
12310 (cd $(HOST_SUBDIR)/gcc && \
12311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12313 "RANLIB=$${RANLIB}" \
12314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12315 clean) \
12316 || exit 1
12318 @endif gcc
12320 .PHONY: maybe-distclean-gcc distclean-gcc
12321 maybe-distclean-gcc:
12322 @if gcc
12323 maybe-distclean-gcc: distclean-gcc
12325 distclean-gcc:
12326 @[ -f ./gcc/Makefile ] || exit 0; \
12327 r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 $(HOST_EXPORTS) \
12330 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12332 done; \
12333 echo "Doing distclean in gcc" ; \
12334 (cd $(HOST_SUBDIR)/gcc && \
12335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12337 "RANLIB=$${RANLIB}" \
12338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12339 distclean) \
12340 || exit 1
12342 @endif gcc
12344 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12345 maybe-maintainer-clean-gcc:
12346 @if gcc
12347 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12349 maintainer-clean-gcc:
12350 @[ -f ./gcc/Makefile ] || exit 0; \
12351 r=`${PWD_COMMAND}`; export r; \
12352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12353 $(HOST_EXPORTS) \
12354 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12356 done; \
12357 echo "Doing maintainer-clean in gcc" ; \
12358 (cd $(HOST_SUBDIR)/gcc && \
12359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12361 "RANLIB=$${RANLIB}" \
12362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12363 maintainer-clean) \
12364 || exit 1
12366 @endif gcc
12370 .PHONY: configure-gawk maybe-configure-gawk
12371 maybe-configure-gawk:
12372 @if gawk
12373 maybe-configure-gawk: configure-gawk
12374 configure-gawk:
12375 @: $(MAKE); $(unstage)
12376 @r=`${PWD_COMMAND}`; export r; \
12377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12378 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
12379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
12380 $(HOST_EXPORTS) \
12381 echo Configuring in $(HOST_SUBDIR)/gawk; \
12382 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
12383 case $(srcdir) in \
12384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12385 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
12386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12387 esac; \
12388 srcdiroption="--srcdir=$${topdir}/gawk"; \
12389 libsrcdir="$$s/gawk"; \
12390 $(SHELL) $${libsrcdir}/configure \
12391 $(HOST_CONFIGARGS) $${srcdiroption} \
12392 || exit 1
12393 @endif gawk
12399 .PHONY: all-gawk maybe-all-gawk
12400 maybe-all-gawk:
12401 @if gawk
12402 TARGET-gawk=all
12403 maybe-all-gawk: all-gawk
12404 all-gawk: configure-gawk
12405 @: $(MAKE); $(unstage)
12406 @r=`${PWD_COMMAND}`; export r; \
12407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12408 $(HOST_EXPORTS) \
12409 (cd $(HOST_SUBDIR)/gawk && \
12410 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
12411 @endif gawk
12416 .PHONY: check-gawk maybe-check-gawk
12417 maybe-check-gawk:
12418 @if gawk
12419 maybe-check-gawk: check-gawk
12421 check-gawk:
12422 @: $(MAKE); $(unstage)
12423 @r=`${PWD_COMMAND}`; export r; \
12424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12425 $(HOST_EXPORTS) \
12426 (cd $(HOST_SUBDIR)/gawk && \
12427 $(MAKE) $(FLAGS_TO_PASS) check)
12429 @endif gawk
12431 .PHONY: install-gawk maybe-install-gawk
12432 maybe-install-gawk:
12433 @if gawk
12434 maybe-install-gawk: install-gawk
12436 install-gawk: installdirs
12437 @: $(MAKE); $(unstage)
12438 @r=`${PWD_COMMAND}`; export r; \
12439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12440 $(HOST_EXPORTS) \
12441 (cd $(HOST_SUBDIR)/gawk && \
12442 $(MAKE) $(FLAGS_TO_PASS) install)
12444 @endif gawk
12446 # Other targets (info, dvi, etc.)
12448 .PHONY: maybe-info-gawk info-gawk
12449 maybe-info-gawk:
12450 @if gawk
12451 maybe-info-gawk: info-gawk
12453 info-gawk: \
12454 configure-gawk
12455 @: $(MAKE); $(unstage)
12456 @[ -f ./gawk/Makefile ] || exit 0; \
12457 r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(HOST_EXPORTS) \
12460 for flag in $(EXTRA_HOST_FLAGS) ; do \
12461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12462 done; \
12463 echo "Doing info in gawk" ; \
12464 (cd $(HOST_SUBDIR)/gawk && \
12465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12467 "RANLIB=$${RANLIB}" \
12468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12469 info) \
12470 || exit 1
12472 @endif gawk
12474 .PHONY: maybe-dvi-gawk dvi-gawk
12475 maybe-dvi-gawk:
12476 @if gawk
12477 maybe-dvi-gawk: dvi-gawk
12479 dvi-gawk: \
12480 configure-gawk
12481 @: $(MAKE); $(unstage)
12482 @[ -f ./gawk/Makefile ] || exit 0; \
12483 r=`${PWD_COMMAND}`; export r; \
12484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12485 $(HOST_EXPORTS) \
12486 for flag in $(EXTRA_HOST_FLAGS) ; do \
12487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12488 done; \
12489 echo "Doing dvi in gawk" ; \
12490 (cd $(HOST_SUBDIR)/gawk && \
12491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12493 "RANLIB=$${RANLIB}" \
12494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12495 dvi) \
12496 || exit 1
12498 @endif gawk
12500 .PHONY: maybe-html-gawk html-gawk
12501 maybe-html-gawk:
12502 @if gawk
12503 maybe-html-gawk: html-gawk
12505 html-gawk: \
12506 configure-gawk
12507 @: $(MAKE); $(unstage)
12508 @[ -f ./gawk/Makefile ] || exit 0; \
12509 r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511 $(HOST_EXPORTS) \
12512 for flag in $(EXTRA_HOST_FLAGS) ; do \
12513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12514 done; \
12515 echo "Doing html in gawk" ; \
12516 (cd $(HOST_SUBDIR)/gawk && \
12517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12519 "RANLIB=$${RANLIB}" \
12520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12521 html) \
12522 || exit 1
12524 @endif gawk
12526 .PHONY: maybe-TAGS-gawk TAGS-gawk
12527 maybe-TAGS-gawk:
12528 @if gawk
12529 maybe-TAGS-gawk: TAGS-gawk
12531 TAGS-gawk: \
12532 configure-gawk
12533 @: $(MAKE); $(unstage)
12534 @[ -f ./gawk/Makefile ] || exit 0; \
12535 r=`${PWD_COMMAND}`; export r; \
12536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12537 $(HOST_EXPORTS) \
12538 for flag in $(EXTRA_HOST_FLAGS) ; do \
12539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12540 done; \
12541 echo "Doing TAGS in gawk" ; \
12542 (cd $(HOST_SUBDIR)/gawk && \
12543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12545 "RANLIB=$${RANLIB}" \
12546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12547 TAGS) \
12548 || exit 1
12550 @endif gawk
12552 .PHONY: maybe-install-info-gawk install-info-gawk
12553 maybe-install-info-gawk:
12554 @if gawk
12555 maybe-install-info-gawk: install-info-gawk
12557 install-info-gawk: \
12558 configure-gawk \
12559 info-gawk
12560 @: $(MAKE); $(unstage)
12561 @[ -f ./gawk/Makefile ] || exit 0; \
12562 r=`${PWD_COMMAND}`; export r; \
12563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12564 $(HOST_EXPORTS) \
12565 for flag in $(EXTRA_HOST_FLAGS) ; do \
12566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12567 done; \
12568 echo "Doing install-info in gawk" ; \
12569 (cd $(HOST_SUBDIR)/gawk && \
12570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12572 "RANLIB=$${RANLIB}" \
12573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12574 install-info) \
12575 || exit 1
12577 @endif gawk
12579 .PHONY: maybe-install-html-gawk install-html-gawk
12580 maybe-install-html-gawk:
12581 @if gawk
12582 maybe-install-html-gawk: install-html-gawk
12584 install-html-gawk: \
12585 configure-gawk \
12586 html-gawk
12587 @: $(MAKE); $(unstage)
12588 @[ -f ./gawk/Makefile ] || exit 0; \
12589 r=`${PWD_COMMAND}`; export r; \
12590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12591 $(HOST_EXPORTS) \
12592 for flag in $(EXTRA_HOST_FLAGS) ; do \
12593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12594 done; \
12595 echo "Doing install-html in gawk" ; \
12596 (cd $(HOST_SUBDIR)/gawk && \
12597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12599 "RANLIB=$${RANLIB}" \
12600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12601 install-html) \
12602 || exit 1
12604 @endif gawk
12606 .PHONY: maybe-installcheck-gawk installcheck-gawk
12607 maybe-installcheck-gawk:
12608 @if gawk
12609 maybe-installcheck-gawk: installcheck-gawk
12611 installcheck-gawk: \
12612 configure-gawk
12613 @: $(MAKE); $(unstage)
12614 @[ -f ./gawk/Makefile ] || exit 0; \
12615 r=`${PWD_COMMAND}`; export r; \
12616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12617 $(HOST_EXPORTS) \
12618 for flag in $(EXTRA_HOST_FLAGS) ; do \
12619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12620 done; \
12621 echo "Doing installcheck in gawk" ; \
12622 (cd $(HOST_SUBDIR)/gawk && \
12623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12625 "RANLIB=$${RANLIB}" \
12626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12627 installcheck) \
12628 || exit 1
12630 @endif gawk
12632 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12633 maybe-mostlyclean-gawk:
12634 @if gawk
12635 maybe-mostlyclean-gawk: mostlyclean-gawk
12637 mostlyclean-gawk:
12638 @: $(MAKE); $(unstage)
12639 @[ -f ./gawk/Makefile ] || exit 0; \
12640 r=`${PWD_COMMAND}`; export r; \
12641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12642 $(HOST_EXPORTS) \
12643 for flag in $(EXTRA_HOST_FLAGS) ; do \
12644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12645 done; \
12646 echo "Doing mostlyclean in gawk" ; \
12647 (cd $(HOST_SUBDIR)/gawk && \
12648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12650 "RANLIB=$${RANLIB}" \
12651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12652 mostlyclean) \
12653 || exit 1
12655 @endif gawk
12657 .PHONY: maybe-clean-gawk clean-gawk
12658 maybe-clean-gawk:
12659 @if gawk
12660 maybe-clean-gawk: clean-gawk
12662 clean-gawk:
12663 @: $(MAKE); $(unstage)
12664 @[ -f ./gawk/Makefile ] || exit 0; \
12665 r=`${PWD_COMMAND}`; export r; \
12666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12667 $(HOST_EXPORTS) \
12668 for flag in $(EXTRA_HOST_FLAGS) ; do \
12669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12670 done; \
12671 echo "Doing clean in gawk" ; \
12672 (cd $(HOST_SUBDIR)/gawk && \
12673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12675 "RANLIB=$${RANLIB}" \
12676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12677 clean) \
12678 || exit 1
12680 @endif gawk
12682 .PHONY: maybe-distclean-gawk distclean-gawk
12683 maybe-distclean-gawk:
12684 @if gawk
12685 maybe-distclean-gawk: distclean-gawk
12687 distclean-gawk:
12688 @: $(MAKE); $(unstage)
12689 @[ -f ./gawk/Makefile ] || exit 0; \
12690 r=`${PWD_COMMAND}`; export r; \
12691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12692 $(HOST_EXPORTS) \
12693 for flag in $(EXTRA_HOST_FLAGS) ; do \
12694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12695 done; \
12696 echo "Doing distclean in gawk" ; \
12697 (cd $(HOST_SUBDIR)/gawk && \
12698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12700 "RANLIB=$${RANLIB}" \
12701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12702 distclean) \
12703 || exit 1
12705 @endif gawk
12707 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12708 maybe-maintainer-clean-gawk:
12709 @if gawk
12710 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12712 maintainer-clean-gawk:
12713 @: $(MAKE); $(unstage)
12714 @[ -f ./gawk/Makefile ] || exit 0; \
12715 r=`${PWD_COMMAND}`; export r; \
12716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12717 $(HOST_EXPORTS) \
12718 for flag in $(EXTRA_HOST_FLAGS) ; do \
12719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12720 done; \
12721 echo "Doing maintainer-clean in gawk" ; \
12722 (cd $(HOST_SUBDIR)/gawk && \
12723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12725 "RANLIB=$${RANLIB}" \
12726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12727 maintainer-clean) \
12728 || exit 1
12730 @endif gawk
12734 .PHONY: configure-gettext maybe-configure-gettext
12735 maybe-configure-gettext:
12736 @if gettext
12737 maybe-configure-gettext: configure-gettext
12738 configure-gettext:
12739 @: $(MAKE); $(unstage)
12740 @r=`${PWD_COMMAND}`; export r; \
12741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12742 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12744 $(HOST_EXPORTS) \
12745 echo Configuring in $(HOST_SUBDIR)/gettext; \
12746 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12747 case $(srcdir) in \
12748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12749 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12751 esac; \
12752 srcdiroption="--srcdir=$${topdir}/gettext"; \
12753 libsrcdir="$$s/gettext"; \
12754 $(SHELL) $${libsrcdir}/configure \
12755 $(HOST_CONFIGARGS) $${srcdiroption} \
12756 || exit 1
12757 @endif gettext
12763 .PHONY: all-gettext maybe-all-gettext
12764 maybe-all-gettext:
12765 @if gettext
12766 TARGET-gettext=all
12767 maybe-all-gettext: all-gettext
12768 all-gettext: configure-gettext
12769 @: $(MAKE); $(unstage)
12770 @r=`${PWD_COMMAND}`; export r; \
12771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 $(HOST_EXPORTS) \
12773 (cd $(HOST_SUBDIR)/gettext && \
12774 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12775 @endif gettext
12780 .PHONY: check-gettext maybe-check-gettext
12781 maybe-check-gettext:
12782 @if gettext
12783 maybe-check-gettext: check-gettext
12785 check-gettext:
12786 @: $(MAKE); $(unstage)
12787 @r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 $(HOST_EXPORTS) \
12790 (cd $(HOST_SUBDIR)/gettext && \
12791 $(MAKE) $(FLAGS_TO_PASS) check)
12793 @endif gettext
12795 .PHONY: install-gettext maybe-install-gettext
12796 maybe-install-gettext:
12797 @if gettext
12798 maybe-install-gettext: install-gettext
12800 install-gettext: installdirs
12801 @: $(MAKE); $(unstage)
12802 @r=`${PWD_COMMAND}`; export r; \
12803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12804 $(HOST_EXPORTS) \
12805 (cd $(HOST_SUBDIR)/gettext && \
12806 $(MAKE) $(FLAGS_TO_PASS) install)
12808 @endif gettext
12810 # Other targets (info, dvi, etc.)
12812 .PHONY: maybe-info-gettext info-gettext
12813 maybe-info-gettext:
12814 @if gettext
12815 maybe-info-gettext: info-gettext
12817 info-gettext: \
12818 configure-gettext
12819 @: $(MAKE); $(unstage)
12820 @[ -f ./gettext/Makefile ] || exit 0; \
12821 r=`${PWD_COMMAND}`; export r; \
12822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12823 $(HOST_EXPORTS) \
12824 for flag in $(EXTRA_HOST_FLAGS) ; do \
12825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12826 done; \
12827 echo "Doing info in gettext" ; \
12828 (cd $(HOST_SUBDIR)/gettext && \
12829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12831 "RANLIB=$${RANLIB}" \
12832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12833 info) \
12834 || exit 1
12836 @endif gettext
12838 .PHONY: maybe-dvi-gettext dvi-gettext
12839 maybe-dvi-gettext:
12840 @if gettext
12841 maybe-dvi-gettext: dvi-gettext
12843 dvi-gettext: \
12844 configure-gettext
12845 @: $(MAKE); $(unstage)
12846 @[ -f ./gettext/Makefile ] || exit 0; \
12847 r=`${PWD_COMMAND}`; export r; \
12848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12849 $(HOST_EXPORTS) \
12850 for flag in $(EXTRA_HOST_FLAGS) ; do \
12851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12852 done; \
12853 echo "Doing dvi in gettext" ; \
12854 (cd $(HOST_SUBDIR)/gettext && \
12855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12857 "RANLIB=$${RANLIB}" \
12858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12859 dvi) \
12860 || exit 1
12862 @endif gettext
12864 .PHONY: maybe-html-gettext html-gettext
12865 maybe-html-gettext:
12866 @if gettext
12867 maybe-html-gettext: html-gettext
12869 html-gettext: \
12870 configure-gettext
12871 @: $(MAKE); $(unstage)
12872 @[ -f ./gettext/Makefile ] || exit 0; \
12873 r=`${PWD_COMMAND}`; export r; \
12874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12875 $(HOST_EXPORTS) \
12876 for flag in $(EXTRA_HOST_FLAGS) ; do \
12877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12878 done; \
12879 echo "Doing html in gettext" ; \
12880 (cd $(HOST_SUBDIR)/gettext && \
12881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12883 "RANLIB=$${RANLIB}" \
12884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12885 html) \
12886 || exit 1
12888 @endif gettext
12890 .PHONY: maybe-TAGS-gettext TAGS-gettext
12891 maybe-TAGS-gettext:
12892 @if gettext
12893 maybe-TAGS-gettext: TAGS-gettext
12895 TAGS-gettext: \
12896 configure-gettext
12897 @: $(MAKE); $(unstage)
12898 @[ -f ./gettext/Makefile ] || exit 0; \
12899 r=`${PWD_COMMAND}`; export r; \
12900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12901 $(HOST_EXPORTS) \
12902 for flag in $(EXTRA_HOST_FLAGS) ; do \
12903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12904 done; \
12905 echo "Doing TAGS in gettext" ; \
12906 (cd $(HOST_SUBDIR)/gettext && \
12907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12909 "RANLIB=$${RANLIB}" \
12910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12911 TAGS) \
12912 || exit 1
12914 @endif gettext
12916 .PHONY: maybe-install-info-gettext install-info-gettext
12917 maybe-install-info-gettext:
12918 @if gettext
12919 maybe-install-info-gettext: install-info-gettext
12921 install-info-gettext: \
12922 configure-gettext \
12923 info-gettext
12924 @: $(MAKE); $(unstage)
12925 @[ -f ./gettext/Makefile ] || exit 0; \
12926 r=`${PWD_COMMAND}`; export r; \
12927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12928 $(HOST_EXPORTS) \
12929 for flag in $(EXTRA_HOST_FLAGS) ; do \
12930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12931 done; \
12932 echo "Doing install-info in gettext" ; \
12933 (cd $(HOST_SUBDIR)/gettext && \
12934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12936 "RANLIB=$${RANLIB}" \
12937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12938 install-info) \
12939 || exit 1
12941 @endif gettext
12943 .PHONY: maybe-install-html-gettext install-html-gettext
12944 maybe-install-html-gettext:
12945 @if gettext
12946 maybe-install-html-gettext: install-html-gettext
12948 install-html-gettext: \
12949 configure-gettext \
12950 html-gettext
12951 @: $(MAKE); $(unstage)
12952 @[ -f ./gettext/Makefile ] || exit 0; \
12953 r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 $(HOST_EXPORTS) \
12956 for flag in $(EXTRA_HOST_FLAGS) ; do \
12957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 done; \
12959 echo "Doing install-html in gettext" ; \
12960 (cd $(HOST_SUBDIR)/gettext && \
12961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12963 "RANLIB=$${RANLIB}" \
12964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12965 install-html) \
12966 || exit 1
12968 @endif gettext
12970 .PHONY: maybe-installcheck-gettext installcheck-gettext
12971 maybe-installcheck-gettext:
12972 @if gettext
12973 maybe-installcheck-gettext: installcheck-gettext
12975 installcheck-gettext: \
12976 configure-gettext
12977 @: $(MAKE); $(unstage)
12978 @[ -f ./gettext/Makefile ] || exit 0; \
12979 r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 $(HOST_EXPORTS) \
12982 for flag in $(EXTRA_HOST_FLAGS) ; do \
12983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12984 done; \
12985 echo "Doing installcheck in gettext" ; \
12986 (cd $(HOST_SUBDIR)/gettext && \
12987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12989 "RANLIB=$${RANLIB}" \
12990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12991 installcheck) \
12992 || exit 1
12994 @endif gettext
12996 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12997 maybe-mostlyclean-gettext:
12998 @if gettext
12999 maybe-mostlyclean-gettext: mostlyclean-gettext
13001 mostlyclean-gettext:
13002 @: $(MAKE); $(unstage)
13003 @[ -f ./gettext/Makefile ] || exit 0; \
13004 r=`${PWD_COMMAND}`; export r; \
13005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13006 $(HOST_EXPORTS) \
13007 for flag in $(EXTRA_HOST_FLAGS) ; do \
13008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13009 done; \
13010 echo "Doing mostlyclean in gettext" ; \
13011 (cd $(HOST_SUBDIR)/gettext && \
13012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13014 "RANLIB=$${RANLIB}" \
13015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13016 mostlyclean) \
13017 || exit 1
13019 @endif gettext
13021 .PHONY: maybe-clean-gettext clean-gettext
13022 maybe-clean-gettext:
13023 @if gettext
13024 maybe-clean-gettext: clean-gettext
13026 clean-gettext:
13027 @: $(MAKE); $(unstage)
13028 @[ -f ./gettext/Makefile ] || exit 0; \
13029 r=`${PWD_COMMAND}`; export r; \
13030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13031 $(HOST_EXPORTS) \
13032 for flag in $(EXTRA_HOST_FLAGS) ; do \
13033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13034 done; \
13035 echo "Doing clean in gettext" ; \
13036 (cd $(HOST_SUBDIR)/gettext && \
13037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13039 "RANLIB=$${RANLIB}" \
13040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13041 clean) \
13042 || exit 1
13044 @endif gettext
13046 .PHONY: maybe-distclean-gettext distclean-gettext
13047 maybe-distclean-gettext:
13048 @if gettext
13049 maybe-distclean-gettext: distclean-gettext
13051 distclean-gettext:
13052 @: $(MAKE); $(unstage)
13053 @[ -f ./gettext/Makefile ] || exit 0; \
13054 r=`${PWD_COMMAND}`; export r; \
13055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13056 $(HOST_EXPORTS) \
13057 for flag in $(EXTRA_HOST_FLAGS) ; do \
13058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13059 done; \
13060 echo "Doing distclean in gettext" ; \
13061 (cd $(HOST_SUBDIR)/gettext && \
13062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13064 "RANLIB=$${RANLIB}" \
13065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13066 distclean) \
13067 || exit 1
13069 @endif gettext
13071 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
13072 maybe-maintainer-clean-gettext:
13073 @if gettext
13074 maybe-maintainer-clean-gettext: maintainer-clean-gettext
13076 maintainer-clean-gettext:
13077 @: $(MAKE); $(unstage)
13078 @[ -f ./gettext/Makefile ] || exit 0; \
13079 r=`${PWD_COMMAND}`; export r; \
13080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13081 $(HOST_EXPORTS) \
13082 for flag in $(EXTRA_HOST_FLAGS) ; do \
13083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13084 done; \
13085 echo "Doing maintainer-clean in gettext" ; \
13086 (cd $(HOST_SUBDIR)/gettext && \
13087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13089 "RANLIB=$${RANLIB}" \
13090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13091 maintainer-clean) \
13092 || exit 1
13094 @endif gettext
13098 .PHONY: configure-gnuserv maybe-configure-gnuserv
13099 maybe-configure-gnuserv:
13100 @if gnuserv
13101 maybe-configure-gnuserv: configure-gnuserv
13102 configure-gnuserv:
13103 @: $(MAKE); $(unstage)
13104 @r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
13107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
13108 $(HOST_EXPORTS) \
13109 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
13110 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
13111 case $(srcdir) in \
13112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13113 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
13114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13115 esac; \
13116 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
13117 libsrcdir="$$s/gnuserv"; \
13118 $(SHELL) $${libsrcdir}/configure \
13119 $(HOST_CONFIGARGS) $${srcdiroption} \
13120 || exit 1
13121 @endif gnuserv
13127 .PHONY: all-gnuserv maybe-all-gnuserv
13128 maybe-all-gnuserv:
13129 @if gnuserv
13130 TARGET-gnuserv=all
13131 maybe-all-gnuserv: all-gnuserv
13132 all-gnuserv: configure-gnuserv
13133 @: $(MAKE); $(unstage)
13134 @r=`${PWD_COMMAND}`; export r; \
13135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13136 $(HOST_EXPORTS) \
13137 (cd $(HOST_SUBDIR)/gnuserv && \
13138 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
13139 @endif gnuserv
13144 .PHONY: check-gnuserv maybe-check-gnuserv
13145 maybe-check-gnuserv:
13146 @if gnuserv
13147 maybe-check-gnuserv: check-gnuserv
13149 check-gnuserv:
13150 @: $(MAKE); $(unstage)
13151 @r=`${PWD_COMMAND}`; export r; \
13152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13153 $(HOST_EXPORTS) \
13154 (cd $(HOST_SUBDIR)/gnuserv && \
13155 $(MAKE) $(FLAGS_TO_PASS) check)
13157 @endif gnuserv
13159 .PHONY: install-gnuserv maybe-install-gnuserv
13160 maybe-install-gnuserv:
13161 @if gnuserv
13162 maybe-install-gnuserv: install-gnuserv
13164 install-gnuserv: installdirs
13165 @: $(MAKE); $(unstage)
13166 @r=`${PWD_COMMAND}`; export r; \
13167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13168 $(HOST_EXPORTS) \
13169 (cd $(HOST_SUBDIR)/gnuserv && \
13170 $(MAKE) $(FLAGS_TO_PASS) install)
13172 @endif gnuserv
13174 # Other targets (info, dvi, etc.)
13176 .PHONY: maybe-info-gnuserv info-gnuserv
13177 maybe-info-gnuserv:
13178 @if gnuserv
13179 maybe-info-gnuserv: info-gnuserv
13181 info-gnuserv: \
13182 configure-gnuserv
13183 @: $(MAKE); $(unstage)
13184 @[ -f ./gnuserv/Makefile ] || exit 0; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187 $(HOST_EXPORTS) \
13188 for flag in $(EXTRA_HOST_FLAGS) ; do \
13189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13190 done; \
13191 echo "Doing info in gnuserv" ; \
13192 (cd $(HOST_SUBDIR)/gnuserv && \
13193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13195 "RANLIB=$${RANLIB}" \
13196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13197 info) \
13198 || exit 1
13200 @endif gnuserv
13202 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
13203 maybe-dvi-gnuserv:
13204 @if gnuserv
13205 maybe-dvi-gnuserv: dvi-gnuserv
13207 dvi-gnuserv: \
13208 configure-gnuserv
13209 @: $(MAKE); $(unstage)
13210 @[ -f ./gnuserv/Makefile ] || exit 0; \
13211 r=`${PWD_COMMAND}`; export r; \
13212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13213 $(HOST_EXPORTS) \
13214 for flag in $(EXTRA_HOST_FLAGS) ; do \
13215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13216 done; \
13217 echo "Doing dvi in gnuserv" ; \
13218 (cd $(HOST_SUBDIR)/gnuserv && \
13219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13221 "RANLIB=$${RANLIB}" \
13222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13223 dvi) \
13224 || exit 1
13226 @endif gnuserv
13228 .PHONY: maybe-html-gnuserv html-gnuserv
13229 maybe-html-gnuserv:
13230 @if gnuserv
13231 maybe-html-gnuserv: html-gnuserv
13233 html-gnuserv: \
13234 configure-gnuserv
13235 @: $(MAKE); $(unstage)
13236 @[ -f ./gnuserv/Makefile ] || exit 0; \
13237 r=`${PWD_COMMAND}`; export r; \
13238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13239 $(HOST_EXPORTS) \
13240 for flag in $(EXTRA_HOST_FLAGS) ; do \
13241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13242 done; \
13243 echo "Doing html in gnuserv" ; \
13244 (cd $(HOST_SUBDIR)/gnuserv && \
13245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13247 "RANLIB=$${RANLIB}" \
13248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13249 html) \
13250 || exit 1
13252 @endif gnuserv
13254 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
13255 maybe-TAGS-gnuserv:
13256 @if gnuserv
13257 maybe-TAGS-gnuserv: TAGS-gnuserv
13259 TAGS-gnuserv: \
13260 configure-gnuserv
13261 @: $(MAKE); $(unstage)
13262 @[ -f ./gnuserv/Makefile ] || exit 0; \
13263 r=`${PWD_COMMAND}`; export r; \
13264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13265 $(HOST_EXPORTS) \
13266 for flag in $(EXTRA_HOST_FLAGS) ; do \
13267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13268 done; \
13269 echo "Doing TAGS in gnuserv" ; \
13270 (cd $(HOST_SUBDIR)/gnuserv && \
13271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13273 "RANLIB=$${RANLIB}" \
13274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13275 TAGS) \
13276 || exit 1
13278 @endif gnuserv
13280 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
13281 maybe-install-info-gnuserv:
13282 @if gnuserv
13283 maybe-install-info-gnuserv: install-info-gnuserv
13285 install-info-gnuserv: \
13286 configure-gnuserv \
13287 info-gnuserv
13288 @: $(MAKE); $(unstage)
13289 @[ -f ./gnuserv/Makefile ] || exit 0; \
13290 r=`${PWD_COMMAND}`; export r; \
13291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13292 $(HOST_EXPORTS) \
13293 for flag in $(EXTRA_HOST_FLAGS) ; do \
13294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13295 done; \
13296 echo "Doing install-info in gnuserv" ; \
13297 (cd $(HOST_SUBDIR)/gnuserv && \
13298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13300 "RANLIB=$${RANLIB}" \
13301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13302 install-info) \
13303 || exit 1
13305 @endif gnuserv
13307 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
13308 maybe-install-html-gnuserv:
13309 @if gnuserv
13310 maybe-install-html-gnuserv: install-html-gnuserv
13312 install-html-gnuserv: \
13313 configure-gnuserv \
13314 html-gnuserv
13315 @: $(MAKE); $(unstage)
13316 @[ -f ./gnuserv/Makefile ] || exit 0; \
13317 r=`${PWD_COMMAND}`; export r; \
13318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13319 $(HOST_EXPORTS) \
13320 for flag in $(EXTRA_HOST_FLAGS) ; do \
13321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13322 done; \
13323 echo "Doing install-html in gnuserv" ; \
13324 (cd $(HOST_SUBDIR)/gnuserv && \
13325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13327 "RANLIB=$${RANLIB}" \
13328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13329 install-html) \
13330 || exit 1
13332 @endif gnuserv
13334 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
13335 maybe-installcheck-gnuserv:
13336 @if gnuserv
13337 maybe-installcheck-gnuserv: installcheck-gnuserv
13339 installcheck-gnuserv: \
13340 configure-gnuserv
13341 @: $(MAKE); $(unstage)
13342 @[ -f ./gnuserv/Makefile ] || exit 0; \
13343 r=`${PWD_COMMAND}`; export r; \
13344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13345 $(HOST_EXPORTS) \
13346 for flag in $(EXTRA_HOST_FLAGS) ; do \
13347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13348 done; \
13349 echo "Doing installcheck in gnuserv" ; \
13350 (cd $(HOST_SUBDIR)/gnuserv && \
13351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13353 "RANLIB=$${RANLIB}" \
13354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13355 installcheck) \
13356 || exit 1
13358 @endif gnuserv
13360 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
13361 maybe-mostlyclean-gnuserv:
13362 @if gnuserv
13363 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
13365 mostlyclean-gnuserv:
13366 @: $(MAKE); $(unstage)
13367 @[ -f ./gnuserv/Makefile ] || exit 0; \
13368 r=`${PWD_COMMAND}`; export r; \
13369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13370 $(HOST_EXPORTS) \
13371 for flag in $(EXTRA_HOST_FLAGS) ; do \
13372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13373 done; \
13374 echo "Doing mostlyclean in gnuserv" ; \
13375 (cd $(HOST_SUBDIR)/gnuserv && \
13376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13378 "RANLIB=$${RANLIB}" \
13379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13380 mostlyclean) \
13381 || exit 1
13383 @endif gnuserv
13385 .PHONY: maybe-clean-gnuserv clean-gnuserv
13386 maybe-clean-gnuserv:
13387 @if gnuserv
13388 maybe-clean-gnuserv: clean-gnuserv
13390 clean-gnuserv:
13391 @: $(MAKE); $(unstage)
13392 @[ -f ./gnuserv/Makefile ] || exit 0; \
13393 r=`${PWD_COMMAND}`; export r; \
13394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13395 $(HOST_EXPORTS) \
13396 for flag in $(EXTRA_HOST_FLAGS) ; do \
13397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13398 done; \
13399 echo "Doing clean in gnuserv" ; \
13400 (cd $(HOST_SUBDIR)/gnuserv && \
13401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13403 "RANLIB=$${RANLIB}" \
13404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13405 clean) \
13406 || exit 1
13408 @endif gnuserv
13410 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
13411 maybe-distclean-gnuserv:
13412 @if gnuserv
13413 maybe-distclean-gnuserv: distclean-gnuserv
13415 distclean-gnuserv:
13416 @: $(MAKE); $(unstage)
13417 @[ -f ./gnuserv/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing distclean in gnuserv" ; \
13425 (cd $(HOST_SUBDIR)/gnuserv && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13430 distclean) \
13431 || exit 1
13433 @endif gnuserv
13435 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
13436 maybe-maintainer-clean-gnuserv:
13437 @if gnuserv
13438 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
13440 maintainer-clean-gnuserv:
13441 @: $(MAKE); $(unstage)
13442 @[ -f ./gnuserv/Makefile ] || exit 0; \
13443 r=`${PWD_COMMAND}`; export r; \
13444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13445 $(HOST_EXPORTS) \
13446 for flag in $(EXTRA_HOST_FLAGS) ; do \
13447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13448 done; \
13449 echo "Doing maintainer-clean in gnuserv" ; \
13450 (cd $(HOST_SUBDIR)/gnuserv && \
13451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13453 "RANLIB=$${RANLIB}" \
13454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13455 maintainer-clean) \
13456 || exit 1
13458 @endif gnuserv
13462 .PHONY: configure-gprof maybe-configure-gprof
13463 maybe-configure-gprof:
13464 @if gprof
13465 maybe-configure-gprof: configure-gprof
13466 configure-gprof:
13467 @: $(MAKE); $(unstage)
13468 @r=`${PWD_COMMAND}`; export r; \
13469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13470 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
13471 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
13472 $(HOST_EXPORTS) \
13473 echo Configuring in $(HOST_SUBDIR)/gprof; \
13474 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
13475 case $(srcdir) in \
13476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13477 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
13478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13479 esac; \
13480 srcdiroption="--srcdir=$${topdir}/gprof"; \
13481 libsrcdir="$$s/gprof"; \
13482 $(SHELL) $${libsrcdir}/configure \
13483 $(HOST_CONFIGARGS) $${srcdiroption} \
13484 || exit 1
13485 @endif gprof
13491 .PHONY: all-gprof maybe-all-gprof
13492 maybe-all-gprof:
13493 @if gprof
13494 TARGET-gprof=all
13495 maybe-all-gprof: all-gprof
13496 all-gprof: configure-gprof
13497 @: $(MAKE); $(unstage)
13498 @r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 (cd $(HOST_SUBDIR)/gprof && \
13502 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
13503 @endif gprof
13508 .PHONY: check-gprof maybe-check-gprof
13509 maybe-check-gprof:
13510 @if gprof
13511 maybe-check-gprof: check-gprof
13513 check-gprof:
13514 @: $(MAKE); $(unstage)
13515 @r=`${PWD_COMMAND}`; export r; \
13516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13517 $(HOST_EXPORTS) \
13518 (cd $(HOST_SUBDIR)/gprof && \
13519 $(MAKE) $(FLAGS_TO_PASS) check)
13521 @endif gprof
13523 .PHONY: install-gprof maybe-install-gprof
13524 maybe-install-gprof:
13525 @if gprof
13526 maybe-install-gprof: install-gprof
13528 install-gprof: installdirs
13529 @: $(MAKE); $(unstage)
13530 @r=`${PWD_COMMAND}`; export r; \
13531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13532 $(HOST_EXPORTS) \
13533 (cd $(HOST_SUBDIR)/gprof && \
13534 $(MAKE) $(FLAGS_TO_PASS) install)
13536 @endif gprof
13538 # Other targets (info, dvi, etc.)
13540 .PHONY: maybe-info-gprof info-gprof
13541 maybe-info-gprof:
13542 @if gprof
13543 maybe-info-gprof: info-gprof
13545 info-gprof: \
13546 configure-gprof
13547 @: $(MAKE); $(unstage)
13548 @[ -f ./gprof/Makefile ] || exit 0; \
13549 r=`${PWD_COMMAND}`; export r; \
13550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13551 $(HOST_EXPORTS) \
13552 for flag in $(EXTRA_HOST_FLAGS) ; do \
13553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554 done; \
13555 echo "Doing info in gprof" ; \
13556 (cd $(HOST_SUBDIR)/gprof && \
13557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13559 "RANLIB=$${RANLIB}" \
13560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13561 info) \
13562 || exit 1
13564 @endif gprof
13566 .PHONY: maybe-dvi-gprof dvi-gprof
13567 maybe-dvi-gprof:
13568 @if gprof
13569 maybe-dvi-gprof: dvi-gprof
13571 dvi-gprof: \
13572 configure-gprof
13573 @: $(MAKE); $(unstage)
13574 @[ -f ./gprof/Makefile ] || exit 0; \
13575 r=`${PWD_COMMAND}`; export r; \
13576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577 $(HOST_EXPORTS) \
13578 for flag in $(EXTRA_HOST_FLAGS) ; do \
13579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13580 done; \
13581 echo "Doing dvi in gprof" ; \
13582 (cd $(HOST_SUBDIR)/gprof && \
13583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13585 "RANLIB=$${RANLIB}" \
13586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13587 dvi) \
13588 || exit 1
13590 @endif gprof
13592 .PHONY: maybe-html-gprof html-gprof
13593 maybe-html-gprof:
13594 @if gprof
13595 maybe-html-gprof: html-gprof
13597 html-gprof: \
13598 configure-gprof
13599 @: $(MAKE); $(unstage)
13600 @[ -f ./gprof/Makefile ] || exit 0; \
13601 r=`${PWD_COMMAND}`; export r; \
13602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13603 $(HOST_EXPORTS) \
13604 for flag in $(EXTRA_HOST_FLAGS) ; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 echo "Doing html in gprof" ; \
13608 (cd $(HOST_SUBDIR)/gprof && \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13613 html) \
13614 || exit 1
13616 @endif gprof
13618 .PHONY: maybe-TAGS-gprof TAGS-gprof
13619 maybe-TAGS-gprof:
13620 @if gprof
13621 maybe-TAGS-gprof: TAGS-gprof
13623 TAGS-gprof: \
13624 configure-gprof
13625 @: $(MAKE); $(unstage)
13626 @[ -f ./gprof/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(HOST_EXPORTS) \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632 done; \
13633 echo "Doing TAGS in gprof" ; \
13634 (cd $(HOST_SUBDIR)/gprof && \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13639 TAGS) \
13640 || exit 1
13642 @endif gprof
13644 .PHONY: maybe-install-info-gprof install-info-gprof
13645 maybe-install-info-gprof:
13646 @if gprof
13647 maybe-install-info-gprof: install-info-gprof
13649 install-info-gprof: \
13650 configure-gprof \
13651 info-gprof
13652 @: $(MAKE); $(unstage)
13653 @[ -f ./gprof/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 $(HOST_EXPORTS) \
13657 for flag in $(EXTRA_HOST_FLAGS) ; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 echo "Doing install-info in gprof" ; \
13661 (cd $(HOST_SUBDIR)/gprof && \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13666 install-info) \
13667 || exit 1
13669 @endif gprof
13671 .PHONY: maybe-install-html-gprof install-html-gprof
13672 maybe-install-html-gprof:
13673 @if gprof
13674 maybe-install-html-gprof: install-html-gprof
13676 install-html-gprof: \
13677 configure-gprof \
13678 html-gprof
13679 @: $(MAKE); $(unstage)
13680 @[ -f ./gprof/Makefile ] || exit 0; \
13681 r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 $(HOST_EXPORTS) \
13684 for flag in $(EXTRA_HOST_FLAGS) ; do \
13685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13686 done; \
13687 echo "Doing install-html in gprof" ; \
13688 (cd $(HOST_SUBDIR)/gprof && \
13689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13691 "RANLIB=$${RANLIB}" \
13692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13693 install-html) \
13694 || exit 1
13696 @endif gprof
13698 .PHONY: maybe-installcheck-gprof installcheck-gprof
13699 maybe-installcheck-gprof:
13700 @if gprof
13701 maybe-installcheck-gprof: installcheck-gprof
13703 installcheck-gprof: \
13704 configure-gprof
13705 @: $(MAKE); $(unstage)
13706 @[ -f ./gprof/Makefile ] || exit 0; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(HOST_EXPORTS) \
13710 for flag in $(EXTRA_HOST_FLAGS) ; do \
13711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13712 done; \
13713 echo "Doing installcheck in gprof" ; \
13714 (cd $(HOST_SUBDIR)/gprof && \
13715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13717 "RANLIB=$${RANLIB}" \
13718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13719 installcheck) \
13720 || exit 1
13722 @endif gprof
13724 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13725 maybe-mostlyclean-gprof:
13726 @if gprof
13727 maybe-mostlyclean-gprof: mostlyclean-gprof
13729 mostlyclean-gprof:
13730 @: $(MAKE); $(unstage)
13731 @[ -f ./gprof/Makefile ] || exit 0; \
13732 r=`${PWD_COMMAND}`; export r; \
13733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13734 $(HOST_EXPORTS) \
13735 for flag in $(EXTRA_HOST_FLAGS) ; do \
13736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13737 done; \
13738 echo "Doing mostlyclean in gprof" ; \
13739 (cd $(HOST_SUBDIR)/gprof && \
13740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13742 "RANLIB=$${RANLIB}" \
13743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13744 mostlyclean) \
13745 || exit 1
13747 @endif gprof
13749 .PHONY: maybe-clean-gprof clean-gprof
13750 maybe-clean-gprof:
13751 @if gprof
13752 maybe-clean-gprof: clean-gprof
13754 clean-gprof:
13755 @: $(MAKE); $(unstage)
13756 @[ -f ./gprof/Makefile ] || exit 0; \
13757 r=`${PWD_COMMAND}`; export r; \
13758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13759 $(HOST_EXPORTS) \
13760 for flag in $(EXTRA_HOST_FLAGS) ; do \
13761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13762 done; \
13763 echo "Doing clean in gprof" ; \
13764 (cd $(HOST_SUBDIR)/gprof && \
13765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13767 "RANLIB=$${RANLIB}" \
13768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13769 clean) \
13770 || exit 1
13772 @endif gprof
13774 .PHONY: maybe-distclean-gprof distclean-gprof
13775 maybe-distclean-gprof:
13776 @if gprof
13777 maybe-distclean-gprof: distclean-gprof
13779 distclean-gprof:
13780 @: $(MAKE); $(unstage)
13781 @[ -f ./gprof/Makefile ] || exit 0; \
13782 r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(HOST_EXPORTS) \
13785 for flag in $(EXTRA_HOST_FLAGS) ; do \
13786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13787 done; \
13788 echo "Doing distclean in gprof" ; \
13789 (cd $(HOST_SUBDIR)/gprof && \
13790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13792 "RANLIB=$${RANLIB}" \
13793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13794 distclean) \
13795 || exit 1
13797 @endif gprof
13799 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13800 maybe-maintainer-clean-gprof:
13801 @if gprof
13802 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13804 maintainer-clean-gprof:
13805 @: $(MAKE); $(unstage)
13806 @[ -f ./gprof/Makefile ] || exit 0; \
13807 r=`${PWD_COMMAND}`; export r; \
13808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13809 $(HOST_EXPORTS) \
13810 for flag in $(EXTRA_HOST_FLAGS) ; do \
13811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13812 done; \
13813 echo "Doing maintainer-clean in gprof" ; \
13814 (cd $(HOST_SUBDIR)/gprof && \
13815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13817 "RANLIB=$${RANLIB}" \
13818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13819 maintainer-clean) \
13820 || exit 1
13822 @endif gprof
13826 .PHONY: configure-gzip maybe-configure-gzip
13827 maybe-configure-gzip:
13828 @if gzip
13829 maybe-configure-gzip: configure-gzip
13830 configure-gzip:
13831 @: $(MAKE); $(unstage)
13832 @r=`${PWD_COMMAND}`; export r; \
13833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13834 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13836 $(HOST_EXPORTS) \
13837 echo Configuring in $(HOST_SUBDIR)/gzip; \
13838 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13839 case $(srcdir) in \
13840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13841 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13843 esac; \
13844 srcdiroption="--srcdir=$${topdir}/gzip"; \
13845 libsrcdir="$$s/gzip"; \
13846 $(SHELL) $${libsrcdir}/configure \
13847 $(HOST_CONFIGARGS) $${srcdiroption} \
13848 || exit 1
13849 @endif gzip
13855 .PHONY: all-gzip maybe-all-gzip
13856 maybe-all-gzip:
13857 @if gzip
13858 TARGET-gzip=all
13859 maybe-all-gzip: all-gzip
13860 all-gzip: configure-gzip
13861 @: $(MAKE); $(unstage)
13862 @r=`${PWD_COMMAND}`; export r; \
13863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13864 $(HOST_EXPORTS) \
13865 (cd $(HOST_SUBDIR)/gzip && \
13866 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13867 @endif gzip
13872 .PHONY: check-gzip maybe-check-gzip
13873 maybe-check-gzip:
13874 @if gzip
13875 maybe-check-gzip: check-gzip
13877 check-gzip:
13878 @: $(MAKE); $(unstage)
13879 @r=`${PWD_COMMAND}`; export r; \
13880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13881 $(HOST_EXPORTS) \
13882 (cd $(HOST_SUBDIR)/gzip && \
13883 $(MAKE) $(FLAGS_TO_PASS) check)
13885 @endif gzip
13887 .PHONY: install-gzip maybe-install-gzip
13888 maybe-install-gzip:
13889 @if gzip
13890 maybe-install-gzip: install-gzip
13892 install-gzip: installdirs
13893 @: $(MAKE); $(unstage)
13894 @r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896 $(HOST_EXPORTS) \
13897 (cd $(HOST_SUBDIR)/gzip && \
13898 $(MAKE) $(FLAGS_TO_PASS) install)
13900 @endif gzip
13902 # Other targets (info, dvi, etc.)
13904 .PHONY: maybe-info-gzip info-gzip
13905 maybe-info-gzip:
13906 @if gzip
13907 maybe-info-gzip: info-gzip
13909 info-gzip: \
13910 configure-gzip
13911 @: $(MAKE); $(unstage)
13912 @[ -f ./gzip/Makefile ] || exit 0; \
13913 r=`${PWD_COMMAND}`; export r; \
13914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13915 $(HOST_EXPORTS) \
13916 for flag in $(EXTRA_HOST_FLAGS) ; do \
13917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13918 done; \
13919 echo "Doing info in gzip" ; \
13920 (cd $(HOST_SUBDIR)/gzip && \
13921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13923 "RANLIB=$${RANLIB}" \
13924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13925 info) \
13926 || exit 1
13928 @endif gzip
13930 .PHONY: maybe-dvi-gzip dvi-gzip
13931 maybe-dvi-gzip:
13932 @if gzip
13933 maybe-dvi-gzip: dvi-gzip
13935 dvi-gzip: \
13936 configure-gzip
13937 @: $(MAKE); $(unstage)
13938 @[ -f ./gzip/Makefile ] || exit 0; \
13939 r=`${PWD_COMMAND}`; export r; \
13940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13941 $(HOST_EXPORTS) \
13942 for flag in $(EXTRA_HOST_FLAGS) ; do \
13943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13944 done; \
13945 echo "Doing dvi in gzip" ; \
13946 (cd $(HOST_SUBDIR)/gzip && \
13947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13949 "RANLIB=$${RANLIB}" \
13950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13951 dvi) \
13952 || exit 1
13954 @endif gzip
13956 .PHONY: maybe-html-gzip html-gzip
13957 maybe-html-gzip:
13958 @if gzip
13959 maybe-html-gzip: html-gzip
13961 html-gzip: \
13962 configure-gzip
13963 @: $(MAKE); $(unstage)
13964 @[ -f ./gzip/Makefile ] || exit 0; \
13965 r=`${PWD_COMMAND}`; export r; \
13966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13967 $(HOST_EXPORTS) \
13968 for flag in $(EXTRA_HOST_FLAGS) ; do \
13969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13970 done; \
13971 echo "Doing html in gzip" ; \
13972 (cd $(HOST_SUBDIR)/gzip && \
13973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13975 "RANLIB=$${RANLIB}" \
13976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13977 html) \
13978 || exit 1
13980 @endif gzip
13982 .PHONY: maybe-TAGS-gzip TAGS-gzip
13983 maybe-TAGS-gzip:
13984 @if gzip
13985 maybe-TAGS-gzip: TAGS-gzip
13987 TAGS-gzip: \
13988 configure-gzip
13989 @: $(MAKE); $(unstage)
13990 @[ -f ./gzip/Makefile ] || exit 0; \
13991 r=`${PWD_COMMAND}`; export r; \
13992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13993 $(HOST_EXPORTS) \
13994 for flag in $(EXTRA_HOST_FLAGS) ; do \
13995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13996 done; \
13997 echo "Doing TAGS in gzip" ; \
13998 (cd $(HOST_SUBDIR)/gzip && \
13999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14001 "RANLIB=$${RANLIB}" \
14002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14003 TAGS) \
14004 || exit 1
14006 @endif gzip
14008 .PHONY: maybe-install-info-gzip install-info-gzip
14009 maybe-install-info-gzip:
14010 @if gzip
14011 maybe-install-info-gzip: install-info-gzip
14013 install-info-gzip: \
14014 configure-gzip \
14015 info-gzip
14016 @: $(MAKE); $(unstage)
14017 @[ -f ./gzip/Makefile ] || exit 0; \
14018 r=`${PWD_COMMAND}`; export r; \
14019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14020 $(HOST_EXPORTS) \
14021 for flag in $(EXTRA_HOST_FLAGS) ; do \
14022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14023 done; \
14024 echo "Doing install-info in gzip" ; \
14025 (cd $(HOST_SUBDIR)/gzip && \
14026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14028 "RANLIB=$${RANLIB}" \
14029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14030 install-info) \
14031 || exit 1
14033 @endif gzip
14035 .PHONY: maybe-install-html-gzip install-html-gzip
14036 maybe-install-html-gzip:
14037 @if gzip
14038 maybe-install-html-gzip: install-html-gzip
14040 install-html-gzip: \
14041 configure-gzip \
14042 html-gzip
14043 @: $(MAKE); $(unstage)
14044 @[ -f ./gzip/Makefile ] || exit 0; \
14045 r=`${PWD_COMMAND}`; export r; \
14046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14047 $(HOST_EXPORTS) \
14048 for flag in $(EXTRA_HOST_FLAGS) ; do \
14049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14050 done; \
14051 echo "Doing install-html in gzip" ; \
14052 (cd $(HOST_SUBDIR)/gzip && \
14053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14055 "RANLIB=$${RANLIB}" \
14056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14057 install-html) \
14058 || exit 1
14060 @endif gzip
14062 .PHONY: maybe-installcheck-gzip installcheck-gzip
14063 maybe-installcheck-gzip:
14064 @if gzip
14065 maybe-installcheck-gzip: installcheck-gzip
14067 installcheck-gzip: \
14068 configure-gzip
14069 @: $(MAKE); $(unstage)
14070 @[ -f ./gzip/Makefile ] || exit 0; \
14071 r=`${PWD_COMMAND}`; export r; \
14072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14073 $(HOST_EXPORTS) \
14074 for flag in $(EXTRA_HOST_FLAGS) ; do \
14075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14076 done; \
14077 echo "Doing installcheck in gzip" ; \
14078 (cd $(HOST_SUBDIR)/gzip && \
14079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14081 "RANLIB=$${RANLIB}" \
14082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14083 installcheck) \
14084 || exit 1
14086 @endif gzip
14088 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
14089 maybe-mostlyclean-gzip:
14090 @if gzip
14091 maybe-mostlyclean-gzip: mostlyclean-gzip
14093 mostlyclean-gzip:
14094 @: $(MAKE); $(unstage)
14095 @[ -f ./gzip/Makefile ] || exit 0; \
14096 r=`${PWD_COMMAND}`; export r; \
14097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14098 $(HOST_EXPORTS) \
14099 for flag in $(EXTRA_HOST_FLAGS) ; do \
14100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14101 done; \
14102 echo "Doing mostlyclean in gzip" ; \
14103 (cd $(HOST_SUBDIR)/gzip && \
14104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14106 "RANLIB=$${RANLIB}" \
14107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14108 mostlyclean) \
14109 || exit 1
14111 @endif gzip
14113 .PHONY: maybe-clean-gzip clean-gzip
14114 maybe-clean-gzip:
14115 @if gzip
14116 maybe-clean-gzip: clean-gzip
14118 clean-gzip:
14119 @: $(MAKE); $(unstage)
14120 @[ -f ./gzip/Makefile ] || exit 0; \
14121 r=`${PWD_COMMAND}`; export r; \
14122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14123 $(HOST_EXPORTS) \
14124 for flag in $(EXTRA_HOST_FLAGS) ; do \
14125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14126 done; \
14127 echo "Doing clean in gzip" ; \
14128 (cd $(HOST_SUBDIR)/gzip && \
14129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14131 "RANLIB=$${RANLIB}" \
14132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14133 clean) \
14134 || exit 1
14136 @endif gzip
14138 .PHONY: maybe-distclean-gzip distclean-gzip
14139 maybe-distclean-gzip:
14140 @if gzip
14141 maybe-distclean-gzip: distclean-gzip
14143 distclean-gzip:
14144 @: $(MAKE); $(unstage)
14145 @[ -f ./gzip/Makefile ] || exit 0; \
14146 r=`${PWD_COMMAND}`; export r; \
14147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14148 $(HOST_EXPORTS) \
14149 for flag in $(EXTRA_HOST_FLAGS) ; do \
14150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14151 done; \
14152 echo "Doing distclean in gzip" ; \
14153 (cd $(HOST_SUBDIR)/gzip && \
14154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14156 "RANLIB=$${RANLIB}" \
14157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14158 distclean) \
14159 || exit 1
14161 @endif gzip
14163 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
14164 maybe-maintainer-clean-gzip:
14165 @if gzip
14166 maybe-maintainer-clean-gzip: maintainer-clean-gzip
14168 maintainer-clean-gzip:
14169 @: $(MAKE); $(unstage)
14170 @[ -f ./gzip/Makefile ] || exit 0; \
14171 r=`${PWD_COMMAND}`; export r; \
14172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14173 $(HOST_EXPORTS) \
14174 for flag in $(EXTRA_HOST_FLAGS) ; do \
14175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14176 done; \
14177 echo "Doing maintainer-clean in gzip" ; \
14178 (cd $(HOST_SUBDIR)/gzip && \
14179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14181 "RANLIB=$${RANLIB}" \
14182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14183 maintainer-clean) \
14184 || exit 1
14186 @endif gzip
14190 .PHONY: configure-hello maybe-configure-hello
14191 maybe-configure-hello:
14192 @if hello
14193 maybe-configure-hello: configure-hello
14194 configure-hello:
14195 @: $(MAKE); $(unstage)
14196 @r=`${PWD_COMMAND}`; export r; \
14197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14198 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
14199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
14200 $(HOST_EXPORTS) \
14201 echo Configuring in $(HOST_SUBDIR)/hello; \
14202 cd "$(HOST_SUBDIR)/hello" || exit 1; \
14203 case $(srcdir) in \
14204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14205 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
14206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14207 esac; \
14208 srcdiroption="--srcdir=$${topdir}/hello"; \
14209 libsrcdir="$$s/hello"; \
14210 $(SHELL) $${libsrcdir}/configure \
14211 $(HOST_CONFIGARGS) $${srcdiroption} \
14212 || exit 1
14213 @endif hello
14219 .PHONY: all-hello maybe-all-hello
14220 maybe-all-hello:
14221 @if hello
14222 TARGET-hello=all
14223 maybe-all-hello: all-hello
14224 all-hello: configure-hello
14225 @: $(MAKE); $(unstage)
14226 @r=`${PWD_COMMAND}`; export r; \
14227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14228 $(HOST_EXPORTS) \
14229 (cd $(HOST_SUBDIR)/hello && \
14230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
14231 @endif hello
14236 .PHONY: check-hello maybe-check-hello
14237 maybe-check-hello:
14238 @if hello
14239 maybe-check-hello: check-hello
14241 check-hello:
14242 @: $(MAKE); $(unstage)
14243 @r=`${PWD_COMMAND}`; export r; \
14244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14245 $(HOST_EXPORTS) \
14246 (cd $(HOST_SUBDIR)/hello && \
14247 $(MAKE) $(FLAGS_TO_PASS) check)
14249 @endif hello
14251 .PHONY: install-hello maybe-install-hello
14252 maybe-install-hello:
14253 @if hello
14254 maybe-install-hello: install-hello
14256 install-hello: installdirs
14257 @: $(MAKE); $(unstage)
14258 @r=`${PWD_COMMAND}`; export r; \
14259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14260 $(HOST_EXPORTS) \
14261 (cd $(HOST_SUBDIR)/hello && \
14262 $(MAKE) $(FLAGS_TO_PASS) install)
14264 @endif hello
14266 # Other targets (info, dvi, etc.)
14268 .PHONY: maybe-info-hello info-hello
14269 maybe-info-hello:
14270 @if hello
14271 maybe-info-hello: info-hello
14273 info-hello: \
14274 configure-hello
14275 @: $(MAKE); $(unstage)
14276 @[ -f ./hello/Makefile ] || exit 0; \
14277 r=`${PWD_COMMAND}`; export r; \
14278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14279 $(HOST_EXPORTS) \
14280 for flag in $(EXTRA_HOST_FLAGS) ; do \
14281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14282 done; \
14283 echo "Doing info in hello" ; \
14284 (cd $(HOST_SUBDIR)/hello && \
14285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14287 "RANLIB=$${RANLIB}" \
14288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14289 info) \
14290 || exit 1
14292 @endif hello
14294 .PHONY: maybe-dvi-hello dvi-hello
14295 maybe-dvi-hello:
14296 @if hello
14297 maybe-dvi-hello: dvi-hello
14299 dvi-hello: \
14300 configure-hello
14301 @: $(MAKE); $(unstage)
14302 @[ -f ./hello/Makefile ] || exit 0; \
14303 r=`${PWD_COMMAND}`; export r; \
14304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305 $(HOST_EXPORTS) \
14306 for flag in $(EXTRA_HOST_FLAGS) ; do \
14307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14308 done; \
14309 echo "Doing dvi in hello" ; \
14310 (cd $(HOST_SUBDIR)/hello && \
14311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14313 "RANLIB=$${RANLIB}" \
14314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14315 dvi) \
14316 || exit 1
14318 @endif hello
14320 .PHONY: maybe-html-hello html-hello
14321 maybe-html-hello:
14322 @if hello
14323 maybe-html-hello: html-hello
14325 html-hello: \
14326 configure-hello
14327 @: $(MAKE); $(unstage)
14328 @[ -f ./hello/Makefile ] || exit 0; \
14329 r=`${PWD_COMMAND}`; export r; \
14330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14331 $(HOST_EXPORTS) \
14332 for flag in $(EXTRA_HOST_FLAGS) ; do \
14333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14334 done; \
14335 echo "Doing html in hello" ; \
14336 (cd $(HOST_SUBDIR)/hello && \
14337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14339 "RANLIB=$${RANLIB}" \
14340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14341 html) \
14342 || exit 1
14344 @endif hello
14346 .PHONY: maybe-TAGS-hello TAGS-hello
14347 maybe-TAGS-hello:
14348 @if hello
14349 maybe-TAGS-hello: TAGS-hello
14351 TAGS-hello: \
14352 configure-hello
14353 @: $(MAKE); $(unstage)
14354 @[ -f ./hello/Makefile ] || exit 0; \
14355 r=`${PWD_COMMAND}`; export r; \
14356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14357 $(HOST_EXPORTS) \
14358 for flag in $(EXTRA_HOST_FLAGS) ; do \
14359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14360 done; \
14361 echo "Doing TAGS in hello" ; \
14362 (cd $(HOST_SUBDIR)/hello && \
14363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14365 "RANLIB=$${RANLIB}" \
14366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14367 TAGS) \
14368 || exit 1
14370 @endif hello
14372 .PHONY: maybe-install-info-hello install-info-hello
14373 maybe-install-info-hello:
14374 @if hello
14375 maybe-install-info-hello: install-info-hello
14377 install-info-hello: \
14378 configure-hello \
14379 info-hello
14380 @: $(MAKE); $(unstage)
14381 @[ -f ./hello/Makefile ] || exit 0; \
14382 r=`${PWD_COMMAND}`; export r; \
14383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14384 $(HOST_EXPORTS) \
14385 for flag in $(EXTRA_HOST_FLAGS) ; do \
14386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14387 done; \
14388 echo "Doing install-info in hello" ; \
14389 (cd $(HOST_SUBDIR)/hello && \
14390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14392 "RANLIB=$${RANLIB}" \
14393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14394 install-info) \
14395 || exit 1
14397 @endif hello
14399 .PHONY: maybe-install-html-hello install-html-hello
14400 maybe-install-html-hello:
14401 @if hello
14402 maybe-install-html-hello: install-html-hello
14404 install-html-hello: \
14405 configure-hello \
14406 html-hello
14407 @: $(MAKE); $(unstage)
14408 @[ -f ./hello/Makefile ] || exit 0; \
14409 r=`${PWD_COMMAND}`; export r; \
14410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14411 $(HOST_EXPORTS) \
14412 for flag in $(EXTRA_HOST_FLAGS) ; do \
14413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14414 done; \
14415 echo "Doing install-html in hello" ; \
14416 (cd $(HOST_SUBDIR)/hello && \
14417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14419 "RANLIB=$${RANLIB}" \
14420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14421 install-html) \
14422 || exit 1
14424 @endif hello
14426 .PHONY: maybe-installcheck-hello installcheck-hello
14427 maybe-installcheck-hello:
14428 @if hello
14429 maybe-installcheck-hello: installcheck-hello
14431 installcheck-hello: \
14432 configure-hello
14433 @: $(MAKE); $(unstage)
14434 @[ -f ./hello/Makefile ] || exit 0; \
14435 r=`${PWD_COMMAND}`; export r; \
14436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14437 $(HOST_EXPORTS) \
14438 for flag in $(EXTRA_HOST_FLAGS) ; do \
14439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14440 done; \
14441 echo "Doing installcheck in hello" ; \
14442 (cd $(HOST_SUBDIR)/hello && \
14443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14445 "RANLIB=$${RANLIB}" \
14446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14447 installcheck) \
14448 || exit 1
14450 @endif hello
14452 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
14453 maybe-mostlyclean-hello:
14454 @if hello
14455 maybe-mostlyclean-hello: mostlyclean-hello
14457 mostlyclean-hello:
14458 @: $(MAKE); $(unstage)
14459 @[ -f ./hello/Makefile ] || exit 0; \
14460 r=`${PWD_COMMAND}`; export r; \
14461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14462 $(HOST_EXPORTS) \
14463 for flag in $(EXTRA_HOST_FLAGS) ; do \
14464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14465 done; \
14466 echo "Doing mostlyclean in hello" ; \
14467 (cd $(HOST_SUBDIR)/hello && \
14468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14470 "RANLIB=$${RANLIB}" \
14471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14472 mostlyclean) \
14473 || exit 1
14475 @endif hello
14477 .PHONY: maybe-clean-hello clean-hello
14478 maybe-clean-hello:
14479 @if hello
14480 maybe-clean-hello: clean-hello
14482 clean-hello:
14483 @: $(MAKE); $(unstage)
14484 @[ -f ./hello/Makefile ] || exit 0; \
14485 r=`${PWD_COMMAND}`; export r; \
14486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14487 $(HOST_EXPORTS) \
14488 for flag in $(EXTRA_HOST_FLAGS) ; do \
14489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14490 done; \
14491 echo "Doing clean in hello" ; \
14492 (cd $(HOST_SUBDIR)/hello && \
14493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14495 "RANLIB=$${RANLIB}" \
14496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14497 clean) \
14498 || exit 1
14500 @endif hello
14502 .PHONY: maybe-distclean-hello distclean-hello
14503 maybe-distclean-hello:
14504 @if hello
14505 maybe-distclean-hello: distclean-hello
14507 distclean-hello:
14508 @: $(MAKE); $(unstage)
14509 @[ -f ./hello/Makefile ] || exit 0; \
14510 r=`${PWD_COMMAND}`; export r; \
14511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14512 $(HOST_EXPORTS) \
14513 for flag in $(EXTRA_HOST_FLAGS) ; do \
14514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14515 done; \
14516 echo "Doing distclean in hello" ; \
14517 (cd $(HOST_SUBDIR)/hello && \
14518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14520 "RANLIB=$${RANLIB}" \
14521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14522 distclean) \
14523 || exit 1
14525 @endif hello
14527 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
14528 maybe-maintainer-clean-hello:
14529 @if hello
14530 maybe-maintainer-clean-hello: maintainer-clean-hello
14532 maintainer-clean-hello:
14533 @: $(MAKE); $(unstage)
14534 @[ -f ./hello/Makefile ] || exit 0; \
14535 r=`${PWD_COMMAND}`; export r; \
14536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14537 $(HOST_EXPORTS) \
14538 for flag in $(EXTRA_HOST_FLAGS) ; do \
14539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14540 done; \
14541 echo "Doing maintainer-clean in hello" ; \
14542 (cd $(HOST_SUBDIR)/hello && \
14543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14545 "RANLIB=$${RANLIB}" \
14546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14547 maintainer-clean) \
14548 || exit 1
14550 @endif hello
14554 .PHONY: configure-indent maybe-configure-indent
14555 maybe-configure-indent:
14556 @if indent
14557 maybe-configure-indent: configure-indent
14558 configure-indent:
14559 @: $(MAKE); $(unstage)
14560 @r=`${PWD_COMMAND}`; export r; \
14561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14562 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
14563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
14564 $(HOST_EXPORTS) \
14565 echo Configuring in $(HOST_SUBDIR)/indent; \
14566 cd "$(HOST_SUBDIR)/indent" || exit 1; \
14567 case $(srcdir) in \
14568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14569 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
14570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14571 esac; \
14572 srcdiroption="--srcdir=$${topdir}/indent"; \
14573 libsrcdir="$$s/indent"; \
14574 $(SHELL) $${libsrcdir}/configure \
14575 $(HOST_CONFIGARGS) $${srcdiroption} \
14576 || exit 1
14577 @endif indent
14583 .PHONY: all-indent maybe-all-indent
14584 maybe-all-indent:
14585 @if indent
14586 TARGET-indent=all
14587 maybe-all-indent: all-indent
14588 all-indent: configure-indent
14589 @: $(MAKE); $(unstage)
14590 @r=`${PWD_COMMAND}`; export r; \
14591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14592 $(HOST_EXPORTS) \
14593 (cd $(HOST_SUBDIR)/indent && \
14594 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
14595 @endif indent
14600 .PHONY: check-indent maybe-check-indent
14601 maybe-check-indent:
14602 @if indent
14603 maybe-check-indent: check-indent
14605 check-indent:
14606 @: $(MAKE); $(unstage)
14607 @r=`${PWD_COMMAND}`; export r; \
14608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609 $(HOST_EXPORTS) \
14610 (cd $(HOST_SUBDIR)/indent && \
14611 $(MAKE) $(FLAGS_TO_PASS) check)
14613 @endif indent
14615 .PHONY: install-indent maybe-install-indent
14616 maybe-install-indent:
14617 @if indent
14618 maybe-install-indent: install-indent
14620 install-indent: installdirs
14621 @: $(MAKE); $(unstage)
14622 @r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 (cd $(HOST_SUBDIR)/indent && \
14626 $(MAKE) $(FLAGS_TO_PASS) install)
14628 @endif indent
14630 # Other targets (info, dvi, etc.)
14632 .PHONY: maybe-info-indent info-indent
14633 maybe-info-indent:
14634 @if indent
14635 maybe-info-indent: info-indent
14637 info-indent: \
14638 configure-indent
14639 @: $(MAKE); $(unstage)
14640 @[ -f ./indent/Makefile ] || exit 0; \
14641 r=`${PWD_COMMAND}`; export r; \
14642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14643 $(HOST_EXPORTS) \
14644 for flag in $(EXTRA_HOST_FLAGS) ; do \
14645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14646 done; \
14647 echo "Doing info in indent" ; \
14648 (cd $(HOST_SUBDIR)/indent && \
14649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14651 "RANLIB=$${RANLIB}" \
14652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14653 info) \
14654 || exit 1
14656 @endif indent
14658 .PHONY: maybe-dvi-indent dvi-indent
14659 maybe-dvi-indent:
14660 @if indent
14661 maybe-dvi-indent: dvi-indent
14663 dvi-indent: \
14664 configure-indent
14665 @: $(MAKE); $(unstage)
14666 @[ -f ./indent/Makefile ] || exit 0; \
14667 r=`${PWD_COMMAND}`; export r; \
14668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14669 $(HOST_EXPORTS) \
14670 for flag in $(EXTRA_HOST_FLAGS) ; do \
14671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14672 done; \
14673 echo "Doing dvi in indent" ; \
14674 (cd $(HOST_SUBDIR)/indent && \
14675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14677 "RANLIB=$${RANLIB}" \
14678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14679 dvi) \
14680 || exit 1
14682 @endif indent
14684 .PHONY: maybe-html-indent html-indent
14685 maybe-html-indent:
14686 @if indent
14687 maybe-html-indent: html-indent
14689 html-indent: \
14690 configure-indent
14691 @: $(MAKE); $(unstage)
14692 @[ -f ./indent/Makefile ] || exit 0; \
14693 r=`${PWD_COMMAND}`; export r; \
14694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14695 $(HOST_EXPORTS) \
14696 for flag in $(EXTRA_HOST_FLAGS) ; do \
14697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14698 done; \
14699 echo "Doing html in indent" ; \
14700 (cd $(HOST_SUBDIR)/indent && \
14701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14703 "RANLIB=$${RANLIB}" \
14704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14705 html) \
14706 || exit 1
14708 @endif indent
14710 .PHONY: maybe-TAGS-indent TAGS-indent
14711 maybe-TAGS-indent:
14712 @if indent
14713 maybe-TAGS-indent: TAGS-indent
14715 TAGS-indent: \
14716 configure-indent
14717 @: $(MAKE); $(unstage)
14718 @[ -f ./indent/Makefile ] || exit 0; \
14719 r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 $(HOST_EXPORTS) \
14722 for flag in $(EXTRA_HOST_FLAGS) ; do \
14723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14724 done; \
14725 echo "Doing TAGS in indent" ; \
14726 (cd $(HOST_SUBDIR)/indent && \
14727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14729 "RANLIB=$${RANLIB}" \
14730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14731 TAGS) \
14732 || exit 1
14734 @endif indent
14736 .PHONY: maybe-install-info-indent install-info-indent
14737 maybe-install-info-indent:
14738 @if indent
14739 maybe-install-info-indent: install-info-indent
14741 install-info-indent: \
14742 configure-indent \
14743 info-indent
14744 @: $(MAKE); $(unstage)
14745 @[ -f ./indent/Makefile ] || exit 0; \
14746 r=`${PWD_COMMAND}`; export r; \
14747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14748 $(HOST_EXPORTS) \
14749 for flag in $(EXTRA_HOST_FLAGS) ; do \
14750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14751 done; \
14752 echo "Doing install-info in indent" ; \
14753 (cd $(HOST_SUBDIR)/indent && \
14754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14756 "RANLIB=$${RANLIB}" \
14757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14758 install-info) \
14759 || exit 1
14761 @endif indent
14763 .PHONY: maybe-install-html-indent install-html-indent
14764 maybe-install-html-indent:
14765 @if indent
14766 maybe-install-html-indent: install-html-indent
14768 install-html-indent: \
14769 configure-indent \
14770 html-indent
14771 @: $(MAKE); $(unstage)
14772 @[ -f ./indent/Makefile ] || exit 0; \
14773 r=`${PWD_COMMAND}`; export r; \
14774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14775 $(HOST_EXPORTS) \
14776 for flag in $(EXTRA_HOST_FLAGS) ; do \
14777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14778 done; \
14779 echo "Doing install-html in indent" ; \
14780 (cd $(HOST_SUBDIR)/indent && \
14781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14783 "RANLIB=$${RANLIB}" \
14784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14785 install-html) \
14786 || exit 1
14788 @endif indent
14790 .PHONY: maybe-installcheck-indent installcheck-indent
14791 maybe-installcheck-indent:
14792 @if indent
14793 maybe-installcheck-indent: installcheck-indent
14795 installcheck-indent: \
14796 configure-indent
14797 @: $(MAKE); $(unstage)
14798 @[ -f ./indent/Makefile ] || exit 0; \
14799 r=`${PWD_COMMAND}`; export r; \
14800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14801 $(HOST_EXPORTS) \
14802 for flag in $(EXTRA_HOST_FLAGS) ; do \
14803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14804 done; \
14805 echo "Doing installcheck in indent" ; \
14806 (cd $(HOST_SUBDIR)/indent && \
14807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14809 "RANLIB=$${RANLIB}" \
14810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14811 installcheck) \
14812 || exit 1
14814 @endif indent
14816 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14817 maybe-mostlyclean-indent:
14818 @if indent
14819 maybe-mostlyclean-indent: mostlyclean-indent
14821 mostlyclean-indent:
14822 @: $(MAKE); $(unstage)
14823 @[ -f ./indent/Makefile ] || exit 0; \
14824 r=`${PWD_COMMAND}`; export r; \
14825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14826 $(HOST_EXPORTS) \
14827 for flag in $(EXTRA_HOST_FLAGS) ; do \
14828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14829 done; \
14830 echo "Doing mostlyclean in indent" ; \
14831 (cd $(HOST_SUBDIR)/indent && \
14832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14834 "RANLIB=$${RANLIB}" \
14835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14836 mostlyclean) \
14837 || exit 1
14839 @endif indent
14841 .PHONY: maybe-clean-indent clean-indent
14842 maybe-clean-indent:
14843 @if indent
14844 maybe-clean-indent: clean-indent
14846 clean-indent:
14847 @: $(MAKE); $(unstage)
14848 @[ -f ./indent/Makefile ] || exit 0; \
14849 r=`${PWD_COMMAND}`; export r; \
14850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14851 $(HOST_EXPORTS) \
14852 for flag in $(EXTRA_HOST_FLAGS) ; do \
14853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14854 done; \
14855 echo "Doing clean in indent" ; \
14856 (cd $(HOST_SUBDIR)/indent && \
14857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14859 "RANLIB=$${RANLIB}" \
14860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14861 clean) \
14862 || exit 1
14864 @endif indent
14866 .PHONY: maybe-distclean-indent distclean-indent
14867 maybe-distclean-indent:
14868 @if indent
14869 maybe-distclean-indent: distclean-indent
14871 distclean-indent:
14872 @: $(MAKE); $(unstage)
14873 @[ -f ./indent/Makefile ] || exit 0; \
14874 r=`${PWD_COMMAND}`; export r; \
14875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14876 $(HOST_EXPORTS) \
14877 for flag in $(EXTRA_HOST_FLAGS) ; do \
14878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14879 done; \
14880 echo "Doing distclean in indent" ; \
14881 (cd $(HOST_SUBDIR)/indent && \
14882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14884 "RANLIB=$${RANLIB}" \
14885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14886 distclean) \
14887 || exit 1
14889 @endif indent
14891 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14892 maybe-maintainer-clean-indent:
14893 @if indent
14894 maybe-maintainer-clean-indent: maintainer-clean-indent
14896 maintainer-clean-indent:
14897 @: $(MAKE); $(unstage)
14898 @[ -f ./indent/Makefile ] || exit 0; \
14899 r=`${PWD_COMMAND}`; export r; \
14900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14901 $(HOST_EXPORTS) \
14902 for flag in $(EXTRA_HOST_FLAGS) ; do \
14903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14904 done; \
14905 echo "Doing maintainer-clean in indent" ; \
14906 (cd $(HOST_SUBDIR)/indent && \
14907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14909 "RANLIB=$${RANLIB}" \
14910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14911 maintainer-clean) \
14912 || exit 1
14914 @endif indent
14918 .PHONY: configure-intl maybe-configure-intl
14919 maybe-configure-intl:
14920 @if intl
14921 maybe-configure-intl: configure-intl
14922 configure-intl:
14923 @endif intl
14924 @if intl-bootstrap
14925 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14926 @endif intl-bootstrap
14927 @if intl
14928 @r=`${PWD_COMMAND}`; export r; \
14929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14930 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14932 $(HOST_EXPORTS) \
14933 echo Configuring in $(HOST_SUBDIR)/intl; \
14934 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14935 case $(srcdir) in \
14936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14937 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14939 esac; \
14940 srcdiroption="--srcdir=$${topdir}/intl"; \
14941 libsrcdir="$$s/intl"; \
14942 $(SHELL) $${libsrcdir}/configure \
14943 $(HOST_CONFIGARGS) $${srcdiroption} \
14944 || exit 1
14945 @endif intl
14949 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14950 maybe-configure-stage1-intl:
14951 @if intl-bootstrap
14952 maybe-configure-stage1-intl: configure-stage1-intl
14953 configure-stage1-intl:
14954 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14955 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14956 @r=`${PWD_COMMAND}`; export r; \
14957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14958 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14959 $(HOST_EXPORTS) \
14960 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14962 cd $(HOST_SUBDIR)/intl || exit 1; \
14963 case $(srcdir) in \
14964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14965 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14967 esac; \
14968 srcdiroption="--srcdir=$${topdir}/intl"; \
14969 libsrcdir="$$s/intl"; \
14970 $(SHELL) $${libsrcdir}/configure \
14971 $(HOST_CONFIGARGS) $${srcdiroption} \
14972 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14973 @endif intl-bootstrap
14975 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14976 maybe-configure-stage2-intl:
14977 @if intl-bootstrap
14978 maybe-configure-stage2-intl: configure-stage2-intl
14979 configure-stage2-intl:
14980 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14982 @r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14985 $(HOST_EXPORTS) \
14986 $(POSTSTAGE1_HOST_EXPORTS) \
14987 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14989 cd $(HOST_SUBDIR)/intl || exit 1; \
14990 case $(srcdir) in \
14991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14992 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14994 esac; \
14995 srcdiroption="--srcdir=$${topdir}/intl"; \
14996 libsrcdir="$$s/intl"; \
14997 $(SHELL) $${libsrcdir}/configure \
14998 $(HOST_CONFIGARGS) $${srcdiroption} \
14999 @stage2_werror_flag@
15000 @endif intl-bootstrap
15002 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
15003 maybe-configure-stage3-intl:
15004 @if intl-bootstrap
15005 maybe-configure-stage3-intl: configure-stage3-intl
15006 configure-stage3-intl:
15007 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15009 @r=`${PWD_COMMAND}`; export r; \
15010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15011 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15012 $(HOST_EXPORTS) \
15013 $(POSTSTAGE1_HOST_EXPORTS) \
15014 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
15015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15016 cd $(HOST_SUBDIR)/intl || exit 1; \
15017 case $(srcdir) in \
15018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15019 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15021 esac; \
15022 srcdiroption="--srcdir=$${topdir}/intl"; \
15023 libsrcdir="$$s/intl"; \
15024 $(SHELL) $${libsrcdir}/configure \
15025 $(HOST_CONFIGARGS) $${srcdiroption} \
15026 @stage2_werror_flag@
15027 @endif intl-bootstrap
15029 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
15030 maybe-configure-stage4-intl:
15031 @if intl-bootstrap
15032 maybe-configure-stage4-intl: configure-stage4-intl
15033 configure-stage4-intl:
15034 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15036 @r=`${PWD_COMMAND}`; export r; \
15037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15038 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15039 $(HOST_EXPORTS) \
15040 $(POSTSTAGE1_HOST_EXPORTS) \
15041 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
15042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15043 cd $(HOST_SUBDIR)/intl || exit 1; \
15044 case $(srcdir) in \
15045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15046 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15048 esac; \
15049 srcdiroption="--srcdir=$${topdir}/intl"; \
15050 libsrcdir="$$s/intl"; \
15051 $(SHELL) $${libsrcdir}/configure \
15052 $(HOST_CONFIGARGS) $${srcdiroption} \
15053 @stage2_werror_flag@
15054 @endif intl-bootstrap
15056 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
15057 maybe-configure-stageprofile-intl:
15058 @if intl-bootstrap
15059 maybe-configure-stageprofile-intl: configure-stageprofile-intl
15060 configure-stageprofile-intl:
15061 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15063 @r=`${PWD_COMMAND}`; export r; \
15064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15066 $(HOST_EXPORTS) \
15067 $(POSTSTAGE1_HOST_EXPORTS) \
15068 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
15069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15070 cd $(HOST_SUBDIR)/intl || exit 1; \
15071 case $(srcdir) in \
15072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15073 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15075 esac; \
15076 srcdiroption="--srcdir=$${topdir}/intl"; \
15077 libsrcdir="$$s/intl"; \
15078 $(SHELL) $${libsrcdir}/configure \
15079 $(HOST_CONFIGARGS) $${srcdiroption} \
15080 @stage2_werror_flag@
15081 @endif intl-bootstrap
15083 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
15084 maybe-configure-stagefeedback-intl:
15085 @if intl-bootstrap
15086 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
15087 configure-stagefeedback-intl:
15088 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15090 @r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15093 $(HOST_EXPORTS) \
15094 $(POSTSTAGE1_HOST_EXPORTS) \
15095 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
15096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15097 cd $(HOST_SUBDIR)/intl || exit 1; \
15098 case $(srcdir) in \
15099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15100 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15102 esac; \
15103 srcdiroption="--srcdir=$${topdir}/intl"; \
15104 libsrcdir="$$s/intl"; \
15105 $(SHELL) $${libsrcdir}/configure \
15106 $(HOST_CONFIGARGS) $${srcdiroption} \
15107 @stage2_werror_flag@
15108 @endif intl-bootstrap
15114 .PHONY: all-intl maybe-all-intl
15115 maybe-all-intl:
15116 @if intl
15117 TARGET-intl=all
15118 maybe-all-intl: all-intl
15119 all-intl: configure-intl
15120 @endif intl
15121 @if intl-bootstrap
15122 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15123 @endif intl-bootstrap
15124 @if intl
15125 @r=`${PWD_COMMAND}`; export r; \
15126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15127 $(HOST_EXPORTS) \
15128 (cd $(HOST_SUBDIR)/intl && \
15129 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
15130 @endif intl
15134 .PHONY: all-stage1-intl maybe-all-stage1-intl
15135 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
15136 maybe-all-stage1-intl:
15137 maybe-clean-stage1-intl:
15138 @if intl-bootstrap
15139 maybe-all-stage1-intl: all-stage1-intl
15140 all-stage1: all-stage1-intl
15141 TARGET-stage1-intl = $(TARGET-intl)
15142 all-stage1-intl: configure-stage1-intl
15143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15144 @r=`${PWD_COMMAND}`; export r; \
15145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15146 $(HOST_EXPORTS) \
15147 cd $(HOST_SUBDIR)/intl && \
15148 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15149 $(TARGET-stage1-intl)
15151 maybe-clean-stage1-intl: clean-stage1-intl
15152 clean-stage1: clean-stage1-intl
15153 clean-stage1-intl:
15154 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
15155 || exit 0 ; \
15156 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15157 cd $(HOST_SUBDIR)/intl && \
15158 $(MAKE) $(FLAGS_TO_PASS) \
15159 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15160 @endif intl-bootstrap
15163 .PHONY: all-stage2-intl maybe-all-stage2-intl
15164 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
15165 maybe-all-stage2-intl:
15166 maybe-clean-stage2-intl:
15167 @if intl-bootstrap
15168 maybe-all-stage2-intl: all-stage2-intl
15169 all-stage2: all-stage2-intl
15170 TARGET-stage2-intl = $(TARGET-intl)
15171 all-stage2-intl: configure-stage2-intl
15172 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 $(HOST_EXPORTS) \
15176 $(POSTSTAGE1_HOST_EXPORTS) \
15177 cd $(HOST_SUBDIR)/intl && \
15178 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15179 $(TARGET-stage2-intl)
15181 maybe-clean-stage2-intl: clean-stage2-intl
15182 clean-stage2: clean-stage2-intl
15183 clean-stage2-intl:
15184 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
15185 || exit 0 ; \
15186 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15187 cd $(HOST_SUBDIR)/intl && \
15188 $(MAKE) $(FLAGS_TO_PASS) \
15189 $(POSTSTAGE1_FLAGS_TO_PASS) \
15190 clean
15191 @endif intl-bootstrap
15194 .PHONY: all-stage3-intl maybe-all-stage3-intl
15195 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
15196 maybe-all-stage3-intl:
15197 maybe-clean-stage3-intl:
15198 @if intl-bootstrap
15199 maybe-all-stage3-intl: all-stage3-intl
15200 all-stage3: all-stage3-intl
15201 TARGET-stage3-intl = $(TARGET-intl)
15202 all-stage3-intl: configure-stage3-intl
15203 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15204 @r=`${PWD_COMMAND}`; export r; \
15205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206 $(HOST_EXPORTS) \
15207 $(POSTSTAGE1_HOST_EXPORTS) \
15208 cd $(HOST_SUBDIR)/intl && \
15209 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15210 $(TARGET-stage3-intl)
15212 maybe-clean-stage3-intl: clean-stage3-intl
15213 clean-stage3: clean-stage3-intl
15214 clean-stage3-intl:
15215 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
15216 || exit 0 ; \
15217 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15218 cd $(HOST_SUBDIR)/intl && \
15219 $(MAKE) $(FLAGS_TO_PASS) \
15220 $(POSTSTAGE1_FLAGS_TO_PASS) \
15221 clean
15222 @endif intl-bootstrap
15225 .PHONY: all-stage4-intl maybe-all-stage4-intl
15226 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
15227 maybe-all-stage4-intl:
15228 maybe-clean-stage4-intl:
15229 @if intl-bootstrap
15230 maybe-all-stage4-intl: all-stage4-intl
15231 all-stage4: all-stage4-intl
15232 TARGET-stage4-intl = $(TARGET-intl)
15233 all-stage4-intl: configure-stage4-intl
15234 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15235 @r=`${PWD_COMMAND}`; export r; \
15236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15237 $(HOST_EXPORTS) \
15238 $(POSTSTAGE1_HOST_EXPORTS) \
15239 cd $(HOST_SUBDIR)/intl && \
15240 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15241 $(TARGET-stage4-intl)
15243 maybe-clean-stage4-intl: clean-stage4-intl
15244 clean-stage4: clean-stage4-intl
15245 clean-stage4-intl:
15246 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
15247 || exit 0 ; \
15248 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15249 cd $(HOST_SUBDIR)/intl && \
15250 $(MAKE) $(FLAGS_TO_PASS) \
15251 $(POSTSTAGE1_FLAGS_TO_PASS) \
15252 clean
15253 @endif intl-bootstrap
15256 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
15257 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
15258 maybe-all-stageprofile-intl:
15259 maybe-clean-stageprofile-intl:
15260 @if intl-bootstrap
15261 maybe-all-stageprofile-intl: all-stageprofile-intl
15262 all-stageprofile: all-stageprofile-intl
15263 TARGET-stageprofile-intl = $(TARGET-intl)
15264 all-stageprofile-intl: configure-stageprofile-intl
15265 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15266 @r=`${PWD_COMMAND}`; export r; \
15267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15268 $(HOST_EXPORTS) \
15269 $(POSTSTAGE1_HOST_EXPORTS) \
15270 cd $(HOST_SUBDIR)/intl && \
15271 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15272 $(TARGET-stageprofile-intl)
15274 maybe-clean-stageprofile-intl: clean-stageprofile-intl
15275 clean-stageprofile: clean-stageprofile-intl
15276 clean-stageprofile-intl:
15277 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
15278 || exit 0 ; \
15279 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15280 cd $(HOST_SUBDIR)/intl && \
15281 $(MAKE) $(FLAGS_TO_PASS) \
15282 $(POSTSTAGE1_FLAGS_TO_PASS) \
15283 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15284 @endif intl-bootstrap
15287 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
15288 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
15289 maybe-all-stagefeedback-intl:
15290 maybe-clean-stagefeedback-intl:
15291 @if intl-bootstrap
15292 maybe-all-stagefeedback-intl: all-stagefeedback-intl
15293 all-stagefeedback: all-stagefeedback-intl
15294 TARGET-stagefeedback-intl = $(TARGET-intl)
15295 all-stagefeedback-intl: configure-stagefeedback-intl
15296 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15297 @r=`${PWD_COMMAND}`; export r; \
15298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15299 $(HOST_EXPORTS) \
15300 $(POSTSTAGE1_HOST_EXPORTS) \
15301 cd $(HOST_SUBDIR)/intl && \
15302 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15303 $(TARGET-stagefeedback-intl)
15305 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
15306 clean-stagefeedback: clean-stagefeedback-intl
15307 clean-stagefeedback-intl:
15308 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
15309 || exit 0 ; \
15310 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15311 cd $(HOST_SUBDIR)/intl && \
15312 $(MAKE) $(FLAGS_TO_PASS) \
15313 $(POSTSTAGE1_FLAGS_TO_PASS) \
15314 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15315 @endif intl-bootstrap
15321 .PHONY: check-intl maybe-check-intl
15322 maybe-check-intl:
15323 @if intl
15324 maybe-check-intl: check-intl
15326 check-intl:
15327 @: $(MAKE); $(unstage)
15328 @r=`${PWD_COMMAND}`; export r; \
15329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 $(HOST_EXPORTS) \
15331 (cd $(HOST_SUBDIR)/intl && \
15332 $(MAKE) $(FLAGS_TO_PASS) check)
15334 @endif intl
15336 .PHONY: install-intl maybe-install-intl
15337 maybe-install-intl:
15338 @if intl
15339 maybe-install-intl: install-intl
15341 install-intl: installdirs
15342 @: $(MAKE); $(unstage)
15343 @r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15345 $(HOST_EXPORTS) \
15346 (cd $(HOST_SUBDIR)/intl && \
15347 $(MAKE) $(FLAGS_TO_PASS) install)
15349 @endif intl
15351 # Other targets (info, dvi, etc.)
15353 .PHONY: maybe-info-intl info-intl
15354 maybe-info-intl:
15355 @if intl
15356 maybe-info-intl: info-intl
15358 info-intl: \
15359 configure-intl
15360 @[ -f ./intl/Makefile ] || exit 0; \
15361 r=`${PWD_COMMAND}`; export r; \
15362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15363 $(HOST_EXPORTS) \
15364 for flag in $(EXTRA_HOST_FLAGS) ; do \
15365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15366 done; \
15367 echo "Doing info in intl" ; \
15368 (cd $(HOST_SUBDIR)/intl && \
15369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15371 "RANLIB=$${RANLIB}" \
15372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15373 info) \
15374 || exit 1
15376 @endif intl
15378 .PHONY: maybe-dvi-intl dvi-intl
15379 maybe-dvi-intl:
15380 @if intl
15381 maybe-dvi-intl: dvi-intl
15383 dvi-intl: \
15384 configure-intl
15385 @[ -f ./intl/Makefile ] || exit 0; \
15386 r=`${PWD_COMMAND}`; export r; \
15387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 $(HOST_EXPORTS) \
15389 for flag in $(EXTRA_HOST_FLAGS) ; do \
15390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15391 done; \
15392 echo "Doing dvi in intl" ; \
15393 (cd $(HOST_SUBDIR)/intl && \
15394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15396 "RANLIB=$${RANLIB}" \
15397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15398 dvi) \
15399 || exit 1
15401 @endif intl
15403 .PHONY: maybe-html-intl html-intl
15404 maybe-html-intl:
15405 @if intl
15406 maybe-html-intl: html-intl
15408 html-intl: \
15409 configure-intl
15410 @[ -f ./intl/Makefile ] || exit 0; \
15411 r=`${PWD_COMMAND}`; export r; \
15412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15413 $(HOST_EXPORTS) \
15414 for flag in $(EXTRA_HOST_FLAGS) ; do \
15415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15416 done; \
15417 echo "Doing html in intl" ; \
15418 (cd $(HOST_SUBDIR)/intl && \
15419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15421 "RANLIB=$${RANLIB}" \
15422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15423 html) \
15424 || exit 1
15426 @endif intl
15428 .PHONY: maybe-TAGS-intl TAGS-intl
15429 maybe-TAGS-intl:
15430 @if intl
15431 maybe-TAGS-intl: TAGS-intl
15433 TAGS-intl: \
15434 configure-intl
15435 @[ -f ./intl/Makefile ] || exit 0; \
15436 r=`${PWD_COMMAND}`; export r; \
15437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15438 $(HOST_EXPORTS) \
15439 for flag in $(EXTRA_HOST_FLAGS) ; do \
15440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15441 done; \
15442 echo "Doing TAGS in intl" ; \
15443 (cd $(HOST_SUBDIR)/intl && \
15444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15446 "RANLIB=$${RANLIB}" \
15447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15448 TAGS) \
15449 || exit 1
15451 @endif intl
15453 .PHONY: maybe-install-info-intl install-info-intl
15454 maybe-install-info-intl:
15455 @if intl
15456 maybe-install-info-intl: install-info-intl
15458 install-info-intl: \
15459 configure-intl \
15460 info-intl
15461 @[ -f ./intl/Makefile ] || exit 0; \
15462 r=`${PWD_COMMAND}`; export r; \
15463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15464 $(HOST_EXPORTS) \
15465 for flag in $(EXTRA_HOST_FLAGS) ; do \
15466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15467 done; \
15468 echo "Doing install-info in intl" ; \
15469 (cd $(HOST_SUBDIR)/intl && \
15470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15472 "RANLIB=$${RANLIB}" \
15473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15474 install-info) \
15475 || exit 1
15477 @endif intl
15479 .PHONY: maybe-install-html-intl install-html-intl
15480 maybe-install-html-intl:
15481 @if intl
15482 maybe-install-html-intl: install-html-intl
15484 install-html-intl: \
15485 configure-intl \
15486 html-intl
15487 @[ -f ./intl/Makefile ] || exit 0; \
15488 r=`${PWD_COMMAND}`; export r; \
15489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15490 $(HOST_EXPORTS) \
15491 for flag in $(EXTRA_HOST_FLAGS) ; do \
15492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15493 done; \
15494 echo "Doing install-html in intl" ; \
15495 (cd $(HOST_SUBDIR)/intl && \
15496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15498 "RANLIB=$${RANLIB}" \
15499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15500 install-html) \
15501 || exit 1
15503 @endif intl
15505 .PHONY: maybe-installcheck-intl installcheck-intl
15506 maybe-installcheck-intl:
15507 @if intl
15508 maybe-installcheck-intl: installcheck-intl
15510 installcheck-intl: \
15511 configure-intl
15512 @[ -f ./intl/Makefile ] || exit 0; \
15513 r=`${PWD_COMMAND}`; export r; \
15514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 $(HOST_EXPORTS) \
15516 for flag in $(EXTRA_HOST_FLAGS) ; do \
15517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15518 done; \
15519 echo "Doing installcheck in intl" ; \
15520 (cd $(HOST_SUBDIR)/intl && \
15521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15523 "RANLIB=$${RANLIB}" \
15524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15525 installcheck) \
15526 || exit 1
15528 @endif intl
15530 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
15531 maybe-mostlyclean-intl:
15532 @if intl
15533 maybe-mostlyclean-intl: mostlyclean-intl
15535 mostlyclean-intl:
15536 @[ -f ./intl/Makefile ] || exit 0; \
15537 r=`${PWD_COMMAND}`; export r; \
15538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15539 $(HOST_EXPORTS) \
15540 for flag in $(EXTRA_HOST_FLAGS) ; do \
15541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15542 done; \
15543 echo "Doing mostlyclean in intl" ; \
15544 (cd $(HOST_SUBDIR)/intl && \
15545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15547 "RANLIB=$${RANLIB}" \
15548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15549 mostlyclean) \
15550 || exit 1
15552 @endif intl
15554 .PHONY: maybe-clean-intl clean-intl
15555 maybe-clean-intl:
15556 @if intl
15557 maybe-clean-intl: clean-intl
15559 clean-intl:
15560 @[ -f ./intl/Makefile ] || exit 0; \
15561 r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(HOST_EXPORTS) \
15564 for flag in $(EXTRA_HOST_FLAGS) ; do \
15565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15566 done; \
15567 echo "Doing clean in intl" ; \
15568 (cd $(HOST_SUBDIR)/intl && \
15569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15571 "RANLIB=$${RANLIB}" \
15572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15573 clean) \
15574 || exit 1
15576 @endif intl
15578 .PHONY: maybe-distclean-intl distclean-intl
15579 maybe-distclean-intl:
15580 @if intl
15581 maybe-distclean-intl: distclean-intl
15583 distclean-intl:
15584 @[ -f ./intl/Makefile ] || exit 0; \
15585 r=`${PWD_COMMAND}`; export r; \
15586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15587 $(HOST_EXPORTS) \
15588 for flag in $(EXTRA_HOST_FLAGS) ; do \
15589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15590 done; \
15591 echo "Doing distclean in intl" ; \
15592 (cd $(HOST_SUBDIR)/intl && \
15593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15595 "RANLIB=$${RANLIB}" \
15596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15597 distclean) \
15598 || exit 1
15600 @endif intl
15602 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
15603 maybe-maintainer-clean-intl:
15604 @if intl
15605 maybe-maintainer-clean-intl: maintainer-clean-intl
15607 maintainer-clean-intl:
15608 @[ -f ./intl/Makefile ] || exit 0; \
15609 r=`${PWD_COMMAND}`; export r; \
15610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15611 $(HOST_EXPORTS) \
15612 for flag in $(EXTRA_HOST_FLAGS) ; do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15614 done; \
15615 echo "Doing maintainer-clean in intl" ; \
15616 (cd $(HOST_SUBDIR)/intl && \
15617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619 "RANLIB=$${RANLIB}" \
15620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15621 maintainer-clean) \
15622 || exit 1
15624 @endif intl
15628 .PHONY: configure-tcl maybe-configure-tcl
15629 maybe-configure-tcl:
15630 @if tcl
15631 maybe-configure-tcl: configure-tcl
15632 configure-tcl:
15633 @: $(MAKE); $(unstage)
15634 @r=`${PWD_COMMAND}`; export r; \
15635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
15637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
15638 $(HOST_EXPORTS) \
15639 echo Configuring in $(HOST_SUBDIR)/tcl; \
15640 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
15641 case $(srcdir) in \
15642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15643 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
15644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15645 esac; \
15646 srcdiroption="--srcdir=$${topdir}/tcl"; \
15647 libsrcdir="$$s/tcl"; \
15648 $(SHELL) $${libsrcdir}/configure \
15649 $(HOST_CONFIGARGS) $${srcdiroption} \
15650 || exit 1
15651 @endif tcl
15657 .PHONY: all-tcl maybe-all-tcl
15658 maybe-all-tcl:
15659 @if tcl
15660 TARGET-tcl=all
15661 maybe-all-tcl: all-tcl
15662 all-tcl: configure-tcl
15663 @: $(MAKE); $(unstage)
15664 @r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 $(HOST_EXPORTS) \
15667 (cd $(HOST_SUBDIR)/tcl && \
15668 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
15669 @endif tcl
15674 .PHONY: check-tcl maybe-check-tcl
15675 maybe-check-tcl:
15676 @if tcl
15677 maybe-check-tcl: check-tcl
15679 check-tcl:
15680 @: $(MAKE); $(unstage)
15681 @r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 $(HOST_EXPORTS) \
15684 (cd $(HOST_SUBDIR)/tcl && \
15685 $(MAKE) $(FLAGS_TO_PASS) check)
15687 @endif tcl
15689 .PHONY: install-tcl maybe-install-tcl
15690 maybe-install-tcl:
15691 @if tcl
15692 maybe-install-tcl: install-tcl
15694 install-tcl: installdirs
15695 @: $(MAKE); $(unstage)
15696 @r=`${PWD_COMMAND}`; export r; \
15697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15698 $(HOST_EXPORTS) \
15699 (cd $(HOST_SUBDIR)/tcl && \
15700 $(MAKE) $(FLAGS_TO_PASS) install)
15702 @endif tcl
15704 # Other targets (info, dvi, etc.)
15706 .PHONY: maybe-info-tcl info-tcl
15707 maybe-info-tcl:
15708 @if tcl
15709 maybe-info-tcl: info-tcl
15711 info-tcl: \
15712 configure-tcl
15713 @: $(MAKE); $(unstage)
15714 @[ -f ./tcl/Makefile ] || exit 0; \
15715 r=`${PWD_COMMAND}`; export r; \
15716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15717 $(HOST_EXPORTS) \
15718 for flag in $(EXTRA_HOST_FLAGS) ; do \
15719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15720 done; \
15721 echo "Doing info in tcl" ; \
15722 (cd $(HOST_SUBDIR)/tcl && \
15723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15725 "RANLIB=$${RANLIB}" \
15726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15727 info) \
15728 || exit 1
15730 @endif tcl
15732 .PHONY: maybe-dvi-tcl dvi-tcl
15733 maybe-dvi-tcl:
15734 @if tcl
15735 maybe-dvi-tcl: dvi-tcl
15737 dvi-tcl: \
15738 configure-tcl
15739 @: $(MAKE); $(unstage)
15740 @[ -f ./tcl/Makefile ] || exit 0; \
15741 r=`${PWD_COMMAND}`; export r; \
15742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15743 $(HOST_EXPORTS) \
15744 for flag in $(EXTRA_HOST_FLAGS) ; do \
15745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15746 done; \
15747 echo "Doing dvi in tcl" ; \
15748 (cd $(HOST_SUBDIR)/tcl && \
15749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15751 "RANLIB=$${RANLIB}" \
15752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15753 dvi) \
15754 || exit 1
15756 @endif tcl
15758 .PHONY: maybe-html-tcl html-tcl
15759 maybe-html-tcl:
15760 @if tcl
15761 maybe-html-tcl: html-tcl
15763 html-tcl: \
15764 configure-tcl
15765 @: $(MAKE); $(unstage)
15766 @[ -f ./tcl/Makefile ] || exit 0; \
15767 r=`${PWD_COMMAND}`; export r; \
15768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15769 $(HOST_EXPORTS) \
15770 for flag in $(EXTRA_HOST_FLAGS) ; do \
15771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15772 done; \
15773 echo "Doing html in tcl" ; \
15774 (cd $(HOST_SUBDIR)/tcl && \
15775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15777 "RANLIB=$${RANLIB}" \
15778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15779 html) \
15780 || exit 1
15782 @endif tcl
15784 .PHONY: maybe-TAGS-tcl TAGS-tcl
15785 maybe-TAGS-tcl:
15786 @if tcl
15787 maybe-TAGS-tcl: TAGS-tcl
15789 TAGS-tcl: \
15790 configure-tcl
15791 @: $(MAKE); $(unstage)
15792 @[ -f ./tcl/Makefile ] || exit 0; \
15793 r=`${PWD_COMMAND}`; export r; \
15794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15795 $(HOST_EXPORTS) \
15796 for flag in $(EXTRA_HOST_FLAGS) ; do \
15797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15798 done; \
15799 echo "Doing TAGS in tcl" ; \
15800 (cd $(HOST_SUBDIR)/tcl && \
15801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15803 "RANLIB=$${RANLIB}" \
15804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15805 TAGS) \
15806 || exit 1
15808 @endif tcl
15810 .PHONY: maybe-install-info-tcl install-info-tcl
15811 maybe-install-info-tcl:
15812 @if tcl
15813 maybe-install-info-tcl: install-info-tcl
15815 install-info-tcl: \
15816 configure-tcl \
15817 info-tcl
15818 @: $(MAKE); $(unstage)
15819 @[ -f ./tcl/Makefile ] || exit 0; \
15820 r=`${PWD_COMMAND}`; export r; \
15821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15822 $(HOST_EXPORTS) \
15823 for flag in $(EXTRA_HOST_FLAGS) ; do \
15824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15825 done; \
15826 echo "Doing install-info in tcl" ; \
15827 (cd $(HOST_SUBDIR)/tcl && \
15828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15830 "RANLIB=$${RANLIB}" \
15831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15832 install-info) \
15833 || exit 1
15835 @endif tcl
15837 .PHONY: maybe-install-html-tcl install-html-tcl
15838 maybe-install-html-tcl:
15839 @if tcl
15840 maybe-install-html-tcl: install-html-tcl
15842 install-html-tcl: \
15843 configure-tcl \
15844 html-tcl
15845 @: $(MAKE); $(unstage)
15846 @[ -f ./tcl/Makefile ] || exit 0; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 for flag in $(EXTRA_HOST_FLAGS) ; do \
15851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15852 done; \
15853 echo "Doing install-html in tcl" ; \
15854 (cd $(HOST_SUBDIR)/tcl && \
15855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15857 "RANLIB=$${RANLIB}" \
15858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15859 install-html) \
15860 || exit 1
15862 @endif tcl
15864 .PHONY: maybe-installcheck-tcl installcheck-tcl
15865 maybe-installcheck-tcl:
15866 @if tcl
15867 maybe-installcheck-tcl: installcheck-tcl
15869 installcheck-tcl: \
15870 configure-tcl
15871 @: $(MAKE); $(unstage)
15872 @[ -f ./tcl/Makefile ] || exit 0; \
15873 r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 $(HOST_EXPORTS) \
15876 for flag in $(EXTRA_HOST_FLAGS) ; do \
15877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15878 done; \
15879 echo "Doing installcheck in tcl" ; \
15880 (cd $(HOST_SUBDIR)/tcl && \
15881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883 "RANLIB=$${RANLIB}" \
15884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15885 installcheck) \
15886 || exit 1
15888 @endif tcl
15890 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
15891 maybe-mostlyclean-tcl:
15892 @if tcl
15893 maybe-mostlyclean-tcl: mostlyclean-tcl
15895 # tcl doesn't support mostlyclean.
15896 mostlyclean-tcl:
15898 @endif tcl
15900 .PHONY: maybe-clean-tcl clean-tcl
15901 maybe-clean-tcl:
15902 @if tcl
15903 maybe-clean-tcl: clean-tcl
15905 clean-tcl:
15906 @: $(MAKE); $(unstage)
15907 @[ -f ./tcl/Makefile ] || exit 0; \
15908 r=`${PWD_COMMAND}`; export r; \
15909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15910 $(HOST_EXPORTS) \
15911 for flag in $(EXTRA_HOST_FLAGS) ; do \
15912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15913 done; \
15914 echo "Doing clean in tcl" ; \
15915 (cd $(HOST_SUBDIR)/tcl && \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15918 "RANLIB=$${RANLIB}" \
15919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15920 clean) \
15921 || exit 1
15923 @endif tcl
15925 .PHONY: maybe-distclean-tcl distclean-tcl
15926 maybe-distclean-tcl:
15927 @if tcl
15928 maybe-distclean-tcl: distclean-tcl
15930 distclean-tcl:
15931 @: $(MAKE); $(unstage)
15932 @[ -f ./tcl/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 $(HOST_EXPORTS) \
15936 for flag in $(EXTRA_HOST_FLAGS) ; do \
15937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938 done; \
15939 echo "Doing distclean in tcl" ; \
15940 (cd $(HOST_SUBDIR)/tcl && \
15941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943 "RANLIB=$${RANLIB}" \
15944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945 distclean) \
15946 || exit 1
15948 @endif tcl
15950 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15951 maybe-maintainer-clean-tcl:
15952 @if tcl
15953 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15955 maintainer-clean-tcl:
15956 @: $(MAKE); $(unstage)
15957 @[ -f ./tcl/Makefile ] || exit 0; \
15958 r=`${PWD_COMMAND}`; export r; \
15959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15960 $(HOST_EXPORTS) \
15961 for flag in $(EXTRA_HOST_FLAGS) ; do \
15962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15963 done; \
15964 echo "Doing maintainer-clean in tcl" ; \
15965 (cd $(HOST_SUBDIR)/tcl && \
15966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15968 "RANLIB=$${RANLIB}" \
15969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15970 maintainer-clean) \
15971 || exit 1
15973 @endif tcl
15977 .PHONY: configure-itcl maybe-configure-itcl
15978 maybe-configure-itcl:
15979 @if itcl
15980 maybe-configure-itcl: configure-itcl
15981 configure-itcl:
15982 @: $(MAKE); $(unstage)
15983 @r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15987 $(HOST_EXPORTS) \
15988 echo Configuring in $(HOST_SUBDIR)/itcl; \
15989 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15990 case $(srcdir) in \
15991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15992 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15994 esac; \
15995 srcdiroption="--srcdir=$${topdir}/itcl"; \
15996 libsrcdir="$$s/itcl"; \
15997 $(SHELL) $${libsrcdir}/configure \
15998 $(HOST_CONFIGARGS) $${srcdiroption} \
15999 || exit 1
16000 @endif itcl
16006 .PHONY: all-itcl maybe-all-itcl
16007 maybe-all-itcl:
16008 @if itcl
16009 TARGET-itcl=all
16010 maybe-all-itcl: all-itcl
16011 all-itcl: configure-itcl
16012 @: $(MAKE); $(unstage)
16013 @r=`${PWD_COMMAND}`; export r; \
16014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16015 $(HOST_EXPORTS) \
16016 (cd $(HOST_SUBDIR)/itcl && \
16017 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
16018 @endif itcl
16023 .PHONY: check-itcl maybe-check-itcl
16024 maybe-check-itcl:
16025 @if itcl
16026 maybe-check-itcl: check-itcl
16028 check-itcl:
16029 @: $(MAKE); $(unstage)
16030 @r=`${PWD_COMMAND}`; export r; \
16031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16032 $(HOST_EXPORTS) \
16033 (cd $(HOST_SUBDIR)/itcl && \
16034 $(MAKE) $(FLAGS_TO_PASS) check)
16036 @endif itcl
16038 .PHONY: install-itcl maybe-install-itcl
16039 maybe-install-itcl:
16040 @if itcl
16041 maybe-install-itcl: install-itcl
16043 install-itcl: installdirs
16044 @: $(MAKE); $(unstage)
16045 @r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047 $(HOST_EXPORTS) \
16048 (cd $(HOST_SUBDIR)/itcl && \
16049 $(MAKE) $(FLAGS_TO_PASS) install)
16051 @endif itcl
16053 # Other targets (info, dvi, etc.)
16055 .PHONY: maybe-info-itcl info-itcl
16056 maybe-info-itcl:
16057 @if itcl
16058 maybe-info-itcl: info-itcl
16060 info-itcl: \
16061 configure-itcl
16062 @: $(MAKE); $(unstage)
16063 @[ -f ./itcl/Makefile ] || exit 0; \
16064 r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16066 $(HOST_EXPORTS) \
16067 for flag in $(EXTRA_HOST_FLAGS) ; do \
16068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16069 done; \
16070 echo "Doing info in itcl" ; \
16071 (cd $(HOST_SUBDIR)/itcl && \
16072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16074 "RANLIB=$${RANLIB}" \
16075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16076 info) \
16077 || exit 1
16079 @endif itcl
16081 .PHONY: maybe-dvi-itcl dvi-itcl
16082 maybe-dvi-itcl:
16083 @if itcl
16084 maybe-dvi-itcl: dvi-itcl
16086 dvi-itcl: \
16087 configure-itcl
16088 @: $(MAKE); $(unstage)
16089 @[ -f ./itcl/Makefile ] || exit 0; \
16090 r=`${PWD_COMMAND}`; export r; \
16091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16092 $(HOST_EXPORTS) \
16093 for flag in $(EXTRA_HOST_FLAGS) ; do \
16094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16095 done; \
16096 echo "Doing dvi in itcl" ; \
16097 (cd $(HOST_SUBDIR)/itcl && \
16098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16100 "RANLIB=$${RANLIB}" \
16101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16102 dvi) \
16103 || exit 1
16105 @endif itcl
16107 .PHONY: maybe-html-itcl html-itcl
16108 maybe-html-itcl:
16109 @if itcl
16110 maybe-html-itcl: html-itcl
16112 html-itcl: \
16113 configure-itcl
16114 @: $(MAKE); $(unstage)
16115 @[ -f ./itcl/Makefile ] || exit 0; \
16116 r=`${PWD_COMMAND}`; export r; \
16117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16118 $(HOST_EXPORTS) \
16119 for flag in $(EXTRA_HOST_FLAGS) ; do \
16120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16121 done; \
16122 echo "Doing html in itcl" ; \
16123 (cd $(HOST_SUBDIR)/itcl && \
16124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16126 "RANLIB=$${RANLIB}" \
16127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16128 html) \
16129 || exit 1
16131 @endif itcl
16133 .PHONY: maybe-TAGS-itcl TAGS-itcl
16134 maybe-TAGS-itcl:
16135 @if itcl
16136 maybe-TAGS-itcl: TAGS-itcl
16138 TAGS-itcl: \
16139 configure-itcl
16140 @: $(MAKE); $(unstage)
16141 @[ -f ./itcl/Makefile ] || exit 0; \
16142 r=`${PWD_COMMAND}`; export r; \
16143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16144 $(HOST_EXPORTS) \
16145 for flag in $(EXTRA_HOST_FLAGS) ; do \
16146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16147 done; \
16148 echo "Doing TAGS in itcl" ; \
16149 (cd $(HOST_SUBDIR)/itcl && \
16150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16152 "RANLIB=$${RANLIB}" \
16153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16154 TAGS) \
16155 || exit 1
16157 @endif itcl
16159 .PHONY: maybe-install-info-itcl install-info-itcl
16160 maybe-install-info-itcl:
16161 @if itcl
16162 maybe-install-info-itcl: install-info-itcl
16164 install-info-itcl: \
16165 configure-itcl \
16166 info-itcl
16167 @: $(MAKE); $(unstage)
16168 @[ -f ./itcl/Makefile ] || exit 0; \
16169 r=`${PWD_COMMAND}`; export r; \
16170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16171 $(HOST_EXPORTS) \
16172 for flag in $(EXTRA_HOST_FLAGS) ; do \
16173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16174 done; \
16175 echo "Doing install-info in itcl" ; \
16176 (cd $(HOST_SUBDIR)/itcl && \
16177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16179 "RANLIB=$${RANLIB}" \
16180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16181 install-info) \
16182 || exit 1
16184 @endif itcl
16186 .PHONY: maybe-install-html-itcl install-html-itcl
16187 maybe-install-html-itcl:
16188 @if itcl
16189 maybe-install-html-itcl: install-html-itcl
16191 install-html-itcl: \
16192 configure-itcl \
16193 html-itcl
16194 @: $(MAKE); $(unstage)
16195 @[ -f ./itcl/Makefile ] || exit 0; \
16196 r=`${PWD_COMMAND}`; export r; \
16197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16198 $(HOST_EXPORTS) \
16199 for flag in $(EXTRA_HOST_FLAGS) ; do \
16200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16201 done; \
16202 echo "Doing install-html in itcl" ; \
16203 (cd $(HOST_SUBDIR)/itcl && \
16204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16206 "RANLIB=$${RANLIB}" \
16207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16208 install-html) \
16209 || exit 1
16211 @endif itcl
16213 .PHONY: maybe-installcheck-itcl installcheck-itcl
16214 maybe-installcheck-itcl:
16215 @if itcl
16216 maybe-installcheck-itcl: installcheck-itcl
16218 installcheck-itcl: \
16219 configure-itcl
16220 @: $(MAKE); $(unstage)
16221 @[ -f ./itcl/Makefile ] || exit 0; \
16222 r=`${PWD_COMMAND}`; export r; \
16223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16224 $(HOST_EXPORTS) \
16225 for flag in $(EXTRA_HOST_FLAGS) ; do \
16226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16227 done; \
16228 echo "Doing installcheck in itcl" ; \
16229 (cd $(HOST_SUBDIR)/itcl && \
16230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16232 "RANLIB=$${RANLIB}" \
16233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16234 installcheck) \
16235 || exit 1
16237 @endif itcl
16239 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
16240 maybe-mostlyclean-itcl:
16241 @if itcl
16242 maybe-mostlyclean-itcl: mostlyclean-itcl
16244 mostlyclean-itcl:
16245 @: $(MAKE); $(unstage)
16246 @[ -f ./itcl/Makefile ] || exit 0; \
16247 r=`${PWD_COMMAND}`; export r; \
16248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16249 $(HOST_EXPORTS) \
16250 for flag in $(EXTRA_HOST_FLAGS) ; do \
16251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16252 done; \
16253 echo "Doing mostlyclean in itcl" ; \
16254 (cd $(HOST_SUBDIR)/itcl && \
16255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16257 "RANLIB=$${RANLIB}" \
16258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16259 mostlyclean) \
16260 || exit 1
16262 @endif itcl
16264 .PHONY: maybe-clean-itcl clean-itcl
16265 maybe-clean-itcl:
16266 @if itcl
16267 maybe-clean-itcl: clean-itcl
16269 clean-itcl:
16270 @: $(MAKE); $(unstage)
16271 @[ -f ./itcl/Makefile ] || exit 0; \
16272 r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 $(HOST_EXPORTS) \
16275 for flag in $(EXTRA_HOST_FLAGS) ; do \
16276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16277 done; \
16278 echo "Doing clean in itcl" ; \
16279 (cd $(HOST_SUBDIR)/itcl && \
16280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16282 "RANLIB=$${RANLIB}" \
16283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16284 clean) \
16285 || exit 1
16287 @endif itcl
16289 .PHONY: maybe-distclean-itcl distclean-itcl
16290 maybe-distclean-itcl:
16291 @if itcl
16292 maybe-distclean-itcl: distclean-itcl
16294 distclean-itcl:
16295 @: $(MAKE); $(unstage)
16296 @[ -f ./itcl/Makefile ] || exit 0; \
16297 r=`${PWD_COMMAND}`; export r; \
16298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16299 $(HOST_EXPORTS) \
16300 for flag in $(EXTRA_HOST_FLAGS) ; do \
16301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16302 done; \
16303 echo "Doing distclean in itcl" ; \
16304 (cd $(HOST_SUBDIR)/itcl && \
16305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307 "RANLIB=$${RANLIB}" \
16308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16309 distclean) \
16310 || exit 1
16312 @endif itcl
16314 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16315 maybe-maintainer-clean-itcl:
16316 @if itcl
16317 maybe-maintainer-clean-itcl: maintainer-clean-itcl
16319 maintainer-clean-itcl:
16320 @: $(MAKE); $(unstage)
16321 @[ -f ./itcl/Makefile ] || exit 0; \
16322 r=`${PWD_COMMAND}`; export r; \
16323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16324 $(HOST_EXPORTS) \
16325 for flag in $(EXTRA_HOST_FLAGS) ; do \
16326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16327 done; \
16328 echo "Doing maintainer-clean in itcl" ; \
16329 (cd $(HOST_SUBDIR)/itcl && \
16330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16332 "RANLIB=$${RANLIB}" \
16333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16334 maintainer-clean) \
16335 || exit 1
16337 @endif itcl
16341 .PHONY: configure-ld maybe-configure-ld
16342 maybe-configure-ld:
16343 @if ld
16344 maybe-configure-ld: configure-ld
16345 configure-ld:
16346 @endif ld
16347 @if ld-bootstrap
16348 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16349 @endif ld-bootstrap
16350 @if ld
16351 @r=`${PWD_COMMAND}`; export r; \
16352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16353 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16355 $(HOST_EXPORTS) \
16356 echo Configuring in $(HOST_SUBDIR)/ld; \
16357 cd "$(HOST_SUBDIR)/ld" || exit 1; \
16358 case $(srcdir) in \
16359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16360 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16362 esac; \
16363 srcdiroption="--srcdir=$${topdir}/ld"; \
16364 libsrcdir="$$s/ld"; \
16365 $(SHELL) $${libsrcdir}/configure \
16366 $(HOST_CONFIGARGS) $${srcdiroption} \
16367 || exit 1
16368 @endif ld
16372 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
16373 maybe-configure-stage1-ld:
16374 @if ld-bootstrap
16375 maybe-configure-stage1-ld: configure-stage1-ld
16376 configure-stage1-ld:
16377 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16378 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16379 @r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16382 $(HOST_EXPORTS) \
16383 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
16384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16385 cd $(HOST_SUBDIR)/ld || exit 1; \
16386 case $(srcdir) in \
16387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16388 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16390 esac; \
16391 srcdiroption="--srcdir=$${topdir}/ld"; \
16392 libsrcdir="$$s/ld"; \
16393 $(SHELL) $${libsrcdir}/configure \
16394 $(HOST_CONFIGARGS) $${srcdiroption} \
16395 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16396 @endif ld-bootstrap
16398 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
16399 maybe-configure-stage2-ld:
16400 @if ld-bootstrap
16401 maybe-configure-stage2-ld: configure-stage2-ld
16402 configure-stage2-ld:
16403 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16405 @r=`${PWD_COMMAND}`; export r; \
16406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16407 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16408 $(HOST_EXPORTS) \
16409 $(POSTSTAGE1_HOST_EXPORTS) \
16410 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
16411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16412 cd $(HOST_SUBDIR)/ld || exit 1; \
16413 case $(srcdir) in \
16414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16415 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16417 esac; \
16418 srcdiroption="--srcdir=$${topdir}/ld"; \
16419 libsrcdir="$$s/ld"; \
16420 $(SHELL) $${libsrcdir}/configure \
16421 $(HOST_CONFIGARGS) $${srcdiroption} \
16422 @stage2_werror_flag@
16423 @endif ld-bootstrap
16425 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
16426 maybe-configure-stage3-ld:
16427 @if ld-bootstrap
16428 maybe-configure-stage3-ld: configure-stage3-ld
16429 configure-stage3-ld:
16430 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16432 @r=`${PWD_COMMAND}`; export r; \
16433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16434 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16435 $(HOST_EXPORTS) \
16436 $(POSTSTAGE1_HOST_EXPORTS) \
16437 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
16438 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16439 cd $(HOST_SUBDIR)/ld || exit 1; \
16440 case $(srcdir) in \
16441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16442 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16444 esac; \
16445 srcdiroption="--srcdir=$${topdir}/ld"; \
16446 libsrcdir="$$s/ld"; \
16447 $(SHELL) $${libsrcdir}/configure \
16448 $(HOST_CONFIGARGS) $${srcdiroption} \
16449 @stage2_werror_flag@
16450 @endif ld-bootstrap
16452 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
16453 maybe-configure-stage4-ld:
16454 @if ld-bootstrap
16455 maybe-configure-stage4-ld: configure-stage4-ld
16456 configure-stage4-ld:
16457 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16459 @r=`${PWD_COMMAND}`; export r; \
16460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16462 $(HOST_EXPORTS) \
16463 $(POSTSTAGE1_HOST_EXPORTS) \
16464 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
16465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16466 cd $(HOST_SUBDIR)/ld || exit 1; \
16467 case $(srcdir) in \
16468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16469 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16471 esac; \
16472 srcdiroption="--srcdir=$${topdir}/ld"; \
16473 libsrcdir="$$s/ld"; \
16474 $(SHELL) $${libsrcdir}/configure \
16475 $(HOST_CONFIGARGS) $${srcdiroption} \
16476 @stage2_werror_flag@
16477 @endif ld-bootstrap
16479 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
16480 maybe-configure-stageprofile-ld:
16481 @if ld-bootstrap
16482 maybe-configure-stageprofile-ld: configure-stageprofile-ld
16483 configure-stageprofile-ld:
16484 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16486 @r=`${PWD_COMMAND}`; export r; \
16487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16489 $(HOST_EXPORTS) \
16490 $(POSTSTAGE1_HOST_EXPORTS) \
16491 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
16492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16493 cd $(HOST_SUBDIR)/ld || exit 1; \
16494 case $(srcdir) in \
16495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16496 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16498 esac; \
16499 srcdiroption="--srcdir=$${topdir}/ld"; \
16500 libsrcdir="$$s/ld"; \
16501 $(SHELL) $${libsrcdir}/configure \
16502 $(HOST_CONFIGARGS) $${srcdiroption} \
16503 @stage2_werror_flag@
16504 @endif ld-bootstrap
16506 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
16507 maybe-configure-stagefeedback-ld:
16508 @if ld-bootstrap
16509 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
16510 configure-stagefeedback-ld:
16511 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16513 @r=`${PWD_COMMAND}`; export r; \
16514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16515 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16516 $(HOST_EXPORTS) \
16517 $(POSTSTAGE1_HOST_EXPORTS) \
16518 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
16519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16520 cd $(HOST_SUBDIR)/ld || exit 1; \
16521 case $(srcdir) in \
16522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16523 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16525 esac; \
16526 srcdiroption="--srcdir=$${topdir}/ld"; \
16527 libsrcdir="$$s/ld"; \
16528 $(SHELL) $${libsrcdir}/configure \
16529 $(HOST_CONFIGARGS) $${srcdiroption} \
16530 @stage2_werror_flag@
16531 @endif ld-bootstrap
16537 .PHONY: all-ld maybe-all-ld
16538 maybe-all-ld:
16539 @if ld
16540 TARGET-ld=all
16541 maybe-all-ld: all-ld
16542 all-ld: configure-ld
16543 @endif ld
16544 @if ld-bootstrap
16545 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16546 @endif ld-bootstrap
16547 @if ld
16548 @r=`${PWD_COMMAND}`; export r; \
16549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16550 $(HOST_EXPORTS) \
16551 (cd $(HOST_SUBDIR)/ld && \
16552 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
16553 @endif ld
16557 .PHONY: all-stage1-ld maybe-all-stage1-ld
16558 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
16559 maybe-all-stage1-ld:
16560 maybe-clean-stage1-ld:
16561 @if ld-bootstrap
16562 maybe-all-stage1-ld: all-stage1-ld
16563 all-stage1: all-stage1-ld
16564 TARGET-stage1-ld = $(TARGET-ld)
16565 all-stage1-ld: configure-stage1-ld
16566 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16567 @r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16569 $(HOST_EXPORTS) \
16570 cd $(HOST_SUBDIR)/ld && \
16571 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16572 $(TARGET-stage1-ld)
16574 maybe-clean-stage1-ld: clean-stage1-ld
16575 clean-stage1: clean-stage1-ld
16576 clean-stage1-ld:
16577 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
16578 || exit 0 ; \
16579 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16580 cd $(HOST_SUBDIR)/ld && \
16581 $(MAKE) $(FLAGS_TO_PASS) \
16582 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16583 @endif ld-bootstrap
16586 .PHONY: all-stage2-ld maybe-all-stage2-ld
16587 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
16588 maybe-all-stage2-ld:
16589 maybe-clean-stage2-ld:
16590 @if ld-bootstrap
16591 maybe-all-stage2-ld: all-stage2-ld
16592 all-stage2: all-stage2-ld
16593 TARGET-stage2-ld = $(TARGET-ld)
16594 all-stage2-ld: configure-stage2-ld
16595 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16596 @r=`${PWD_COMMAND}`; export r; \
16597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16598 $(HOST_EXPORTS) \
16599 $(POSTSTAGE1_HOST_EXPORTS) \
16600 cd $(HOST_SUBDIR)/ld && \
16601 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16602 $(TARGET-stage2-ld)
16604 maybe-clean-stage2-ld: clean-stage2-ld
16605 clean-stage2: clean-stage2-ld
16606 clean-stage2-ld:
16607 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
16608 || exit 0 ; \
16609 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16610 cd $(HOST_SUBDIR)/ld && \
16611 $(MAKE) $(FLAGS_TO_PASS) \
16612 $(POSTSTAGE1_FLAGS_TO_PASS) \
16613 clean
16614 @endif ld-bootstrap
16617 .PHONY: all-stage3-ld maybe-all-stage3-ld
16618 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
16619 maybe-all-stage3-ld:
16620 maybe-clean-stage3-ld:
16621 @if ld-bootstrap
16622 maybe-all-stage3-ld: all-stage3-ld
16623 all-stage3: all-stage3-ld
16624 TARGET-stage3-ld = $(TARGET-ld)
16625 all-stage3-ld: configure-stage3-ld
16626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16627 @r=`${PWD_COMMAND}`; export r; \
16628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16629 $(HOST_EXPORTS) \
16630 $(POSTSTAGE1_HOST_EXPORTS) \
16631 cd $(HOST_SUBDIR)/ld && \
16632 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16633 $(TARGET-stage3-ld)
16635 maybe-clean-stage3-ld: clean-stage3-ld
16636 clean-stage3: clean-stage3-ld
16637 clean-stage3-ld:
16638 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
16639 || exit 0 ; \
16640 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16641 cd $(HOST_SUBDIR)/ld && \
16642 $(MAKE) $(FLAGS_TO_PASS) \
16643 $(POSTSTAGE1_FLAGS_TO_PASS) \
16644 clean
16645 @endif ld-bootstrap
16648 .PHONY: all-stage4-ld maybe-all-stage4-ld
16649 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
16650 maybe-all-stage4-ld:
16651 maybe-clean-stage4-ld:
16652 @if ld-bootstrap
16653 maybe-all-stage4-ld: all-stage4-ld
16654 all-stage4: all-stage4-ld
16655 TARGET-stage4-ld = $(TARGET-ld)
16656 all-stage4-ld: configure-stage4-ld
16657 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16658 @r=`${PWD_COMMAND}`; export r; \
16659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16660 $(HOST_EXPORTS) \
16661 $(POSTSTAGE1_HOST_EXPORTS) \
16662 cd $(HOST_SUBDIR)/ld && \
16663 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16664 $(TARGET-stage4-ld)
16666 maybe-clean-stage4-ld: clean-stage4-ld
16667 clean-stage4: clean-stage4-ld
16668 clean-stage4-ld:
16669 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
16670 || exit 0 ; \
16671 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16672 cd $(HOST_SUBDIR)/ld && \
16673 $(MAKE) $(FLAGS_TO_PASS) \
16674 $(POSTSTAGE1_FLAGS_TO_PASS) \
16675 clean
16676 @endif ld-bootstrap
16679 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
16680 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
16681 maybe-all-stageprofile-ld:
16682 maybe-clean-stageprofile-ld:
16683 @if ld-bootstrap
16684 maybe-all-stageprofile-ld: all-stageprofile-ld
16685 all-stageprofile: all-stageprofile-ld
16686 TARGET-stageprofile-ld = $(TARGET-ld)
16687 all-stageprofile-ld: configure-stageprofile-ld
16688 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16689 @r=`${PWD_COMMAND}`; export r; \
16690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16691 $(HOST_EXPORTS) \
16692 $(POSTSTAGE1_HOST_EXPORTS) \
16693 cd $(HOST_SUBDIR)/ld && \
16694 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16695 $(TARGET-stageprofile-ld)
16697 maybe-clean-stageprofile-ld: clean-stageprofile-ld
16698 clean-stageprofile: clean-stageprofile-ld
16699 clean-stageprofile-ld:
16700 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
16701 || exit 0 ; \
16702 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16703 cd $(HOST_SUBDIR)/ld && \
16704 $(MAKE) $(FLAGS_TO_PASS) \
16705 $(POSTSTAGE1_FLAGS_TO_PASS) \
16706 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16707 @endif ld-bootstrap
16710 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
16711 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
16712 maybe-all-stagefeedback-ld:
16713 maybe-clean-stagefeedback-ld:
16714 @if ld-bootstrap
16715 maybe-all-stagefeedback-ld: all-stagefeedback-ld
16716 all-stagefeedback: all-stagefeedback-ld
16717 TARGET-stagefeedback-ld = $(TARGET-ld)
16718 all-stagefeedback-ld: configure-stagefeedback-ld
16719 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16720 @r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 $(HOST_EXPORTS) \
16723 $(POSTSTAGE1_HOST_EXPORTS) \
16724 cd $(HOST_SUBDIR)/ld && \
16725 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16726 $(TARGET-stagefeedback-ld)
16728 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
16729 clean-stagefeedback: clean-stagefeedback-ld
16730 clean-stagefeedback-ld:
16731 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
16732 || exit 0 ; \
16733 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16734 cd $(HOST_SUBDIR)/ld && \
16735 $(MAKE) $(FLAGS_TO_PASS) \
16736 $(POSTSTAGE1_FLAGS_TO_PASS) \
16737 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16738 @endif ld-bootstrap
16744 .PHONY: check-ld maybe-check-ld
16745 maybe-check-ld:
16746 @if ld
16747 maybe-check-ld: check-ld
16749 check-ld:
16750 @: $(MAKE); $(unstage)
16751 @r=`${PWD_COMMAND}`; export r; \
16752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16753 $(HOST_EXPORTS) \
16754 (cd $(HOST_SUBDIR)/ld && \
16755 $(MAKE) $(FLAGS_TO_PASS) check)
16757 @endif ld
16759 .PHONY: install-ld maybe-install-ld
16760 maybe-install-ld:
16761 @if ld
16762 maybe-install-ld: install-ld
16764 install-ld: installdirs
16765 @: $(MAKE); $(unstage)
16766 @r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768 $(HOST_EXPORTS) \
16769 (cd $(HOST_SUBDIR)/ld && \
16770 $(MAKE) $(FLAGS_TO_PASS) install)
16772 @endif ld
16774 # Other targets (info, dvi, etc.)
16776 .PHONY: maybe-info-ld info-ld
16777 maybe-info-ld:
16778 @if ld
16779 maybe-info-ld: info-ld
16781 info-ld: \
16782 configure-ld
16783 @[ -f ./ld/Makefile ] || exit 0; \
16784 r=`${PWD_COMMAND}`; export r; \
16785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16786 $(HOST_EXPORTS) \
16787 for flag in $(EXTRA_HOST_FLAGS) ; do \
16788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16789 done; \
16790 echo "Doing info in ld" ; \
16791 (cd $(HOST_SUBDIR)/ld && \
16792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16794 "RANLIB=$${RANLIB}" \
16795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16796 info) \
16797 || exit 1
16799 @endif ld
16801 .PHONY: maybe-dvi-ld dvi-ld
16802 maybe-dvi-ld:
16803 @if ld
16804 maybe-dvi-ld: dvi-ld
16806 dvi-ld: \
16807 configure-ld
16808 @[ -f ./ld/Makefile ] || exit 0; \
16809 r=`${PWD_COMMAND}`; export r; \
16810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 $(HOST_EXPORTS) \
16812 for flag in $(EXTRA_HOST_FLAGS) ; do \
16813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16814 done; \
16815 echo "Doing dvi in ld" ; \
16816 (cd $(HOST_SUBDIR)/ld && \
16817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16819 "RANLIB=$${RANLIB}" \
16820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16821 dvi) \
16822 || exit 1
16824 @endif ld
16826 .PHONY: maybe-html-ld html-ld
16827 maybe-html-ld:
16828 @if ld
16829 maybe-html-ld: html-ld
16831 html-ld: \
16832 configure-ld
16833 @[ -f ./ld/Makefile ] || exit 0; \
16834 r=`${PWD_COMMAND}`; export r; \
16835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16836 $(HOST_EXPORTS) \
16837 for flag in $(EXTRA_HOST_FLAGS) ; do \
16838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16839 done; \
16840 echo "Doing html in ld" ; \
16841 (cd $(HOST_SUBDIR)/ld && \
16842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16844 "RANLIB=$${RANLIB}" \
16845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16846 html) \
16847 || exit 1
16849 @endif ld
16851 .PHONY: maybe-TAGS-ld TAGS-ld
16852 maybe-TAGS-ld:
16853 @if ld
16854 maybe-TAGS-ld: TAGS-ld
16856 TAGS-ld: \
16857 configure-ld
16858 @[ -f ./ld/Makefile ] || exit 0; \
16859 r=`${PWD_COMMAND}`; export r; \
16860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16861 $(HOST_EXPORTS) \
16862 for flag in $(EXTRA_HOST_FLAGS) ; do \
16863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16864 done; \
16865 echo "Doing TAGS in ld" ; \
16866 (cd $(HOST_SUBDIR)/ld && \
16867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16869 "RANLIB=$${RANLIB}" \
16870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16871 TAGS) \
16872 || exit 1
16874 @endif ld
16876 .PHONY: maybe-install-info-ld install-info-ld
16877 maybe-install-info-ld:
16878 @if ld
16879 maybe-install-info-ld: install-info-ld
16881 install-info-ld: \
16882 configure-ld \
16883 info-ld
16884 @[ -f ./ld/Makefile ] || exit 0; \
16885 r=`${PWD_COMMAND}`; export r; \
16886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16887 $(HOST_EXPORTS) \
16888 for flag in $(EXTRA_HOST_FLAGS) ; do \
16889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16890 done; \
16891 echo "Doing install-info in ld" ; \
16892 (cd $(HOST_SUBDIR)/ld && \
16893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16895 "RANLIB=$${RANLIB}" \
16896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16897 install-info) \
16898 || exit 1
16900 @endif ld
16902 .PHONY: maybe-install-html-ld install-html-ld
16903 maybe-install-html-ld:
16904 @if ld
16905 maybe-install-html-ld: install-html-ld
16907 install-html-ld: \
16908 configure-ld \
16909 html-ld
16910 @[ -f ./ld/Makefile ] || exit 0; \
16911 r=`${PWD_COMMAND}`; export r; \
16912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16913 $(HOST_EXPORTS) \
16914 for flag in $(EXTRA_HOST_FLAGS) ; do \
16915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16916 done; \
16917 echo "Doing install-html in ld" ; \
16918 (cd $(HOST_SUBDIR)/ld && \
16919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16921 "RANLIB=$${RANLIB}" \
16922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16923 install-html) \
16924 || exit 1
16926 @endif ld
16928 .PHONY: maybe-installcheck-ld installcheck-ld
16929 maybe-installcheck-ld:
16930 @if ld
16931 maybe-installcheck-ld: installcheck-ld
16933 installcheck-ld: \
16934 configure-ld
16935 @[ -f ./ld/Makefile ] || exit 0; \
16936 r=`${PWD_COMMAND}`; export r; \
16937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16938 $(HOST_EXPORTS) \
16939 for flag in $(EXTRA_HOST_FLAGS) ; do \
16940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16941 done; \
16942 echo "Doing installcheck in ld" ; \
16943 (cd $(HOST_SUBDIR)/ld && \
16944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16946 "RANLIB=$${RANLIB}" \
16947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16948 installcheck) \
16949 || exit 1
16951 @endif ld
16953 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
16954 maybe-mostlyclean-ld:
16955 @if ld
16956 maybe-mostlyclean-ld: mostlyclean-ld
16958 mostlyclean-ld:
16959 @[ -f ./ld/Makefile ] || exit 0; \
16960 r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 $(HOST_EXPORTS) \
16963 for flag in $(EXTRA_HOST_FLAGS) ; do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 echo "Doing mostlyclean in ld" ; \
16967 (cd $(HOST_SUBDIR)/ld && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 mostlyclean) \
16973 || exit 1
16975 @endif ld
16977 .PHONY: maybe-clean-ld clean-ld
16978 maybe-clean-ld:
16979 @if ld
16980 maybe-clean-ld: clean-ld
16982 clean-ld:
16983 @[ -f ./ld/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 clean in ld" ; \
16991 (cd $(HOST_SUBDIR)/ld && \
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 clean) \
16997 || exit 1
16999 @endif ld
17001 .PHONY: maybe-distclean-ld distclean-ld
17002 maybe-distclean-ld:
17003 @if ld
17004 maybe-distclean-ld: distclean-ld
17006 distclean-ld:
17007 @[ -f ./ld/Makefile ] || exit 0; \
17008 r=`${PWD_COMMAND}`; export r; \
17009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17010 $(HOST_EXPORTS) \
17011 for flag in $(EXTRA_HOST_FLAGS) ; do \
17012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17013 done; \
17014 echo "Doing distclean in ld" ; \
17015 (cd $(HOST_SUBDIR)/ld && \
17016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17018 "RANLIB=$${RANLIB}" \
17019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17020 distclean) \
17021 || exit 1
17023 @endif ld
17025 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
17026 maybe-maintainer-clean-ld:
17027 @if ld
17028 maybe-maintainer-clean-ld: maintainer-clean-ld
17030 maintainer-clean-ld:
17031 @[ -f ./ld/Makefile ] || exit 0; \
17032 r=`${PWD_COMMAND}`; export r; \
17033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17034 $(HOST_EXPORTS) \
17035 for flag in $(EXTRA_HOST_FLAGS) ; do \
17036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17037 done; \
17038 echo "Doing maintainer-clean in ld" ; \
17039 (cd $(HOST_SUBDIR)/ld && \
17040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17042 "RANLIB=$${RANLIB}" \
17043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17044 maintainer-clean) \
17045 || exit 1
17047 @endif ld
17051 .PHONY: configure-libcpp maybe-configure-libcpp
17052 maybe-configure-libcpp:
17053 @if libcpp
17054 maybe-configure-libcpp: configure-libcpp
17055 configure-libcpp:
17056 @endif libcpp
17057 @if libcpp-bootstrap
17058 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17059 @endif libcpp-bootstrap
17060 @if libcpp
17061 @r=`${PWD_COMMAND}`; export r; \
17062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17063 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17065 $(HOST_EXPORTS) \
17066 echo Configuring in $(HOST_SUBDIR)/libcpp; \
17067 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
17068 case $(srcdir) in \
17069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17070 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17072 esac; \
17073 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17074 libsrcdir="$$s/libcpp"; \
17075 $(SHELL) $${libsrcdir}/configure \
17076 $(HOST_CONFIGARGS) $${srcdiroption} \
17077 || exit 1
17078 @endif libcpp
17082 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
17083 maybe-configure-stage1-libcpp:
17084 @if libcpp-bootstrap
17085 maybe-configure-stage1-libcpp: configure-stage1-libcpp
17086 configure-stage1-libcpp:
17087 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17089 @r=`${PWD_COMMAND}`; export r; \
17090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17091 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17092 $(HOST_EXPORTS) \
17093 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
17094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17095 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17096 case $(srcdir) in \
17097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17098 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17100 esac; \
17101 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17102 libsrcdir="$$s/libcpp"; \
17103 $(SHELL) $${libsrcdir}/configure \
17104 $(HOST_CONFIGARGS) $${srcdiroption} \
17105 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17106 @endif libcpp-bootstrap
17108 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
17109 maybe-configure-stage2-libcpp:
17110 @if libcpp-bootstrap
17111 maybe-configure-stage2-libcpp: configure-stage2-libcpp
17112 configure-stage2-libcpp:
17113 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17115 @r=`${PWD_COMMAND}`; export r; \
17116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17117 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17118 $(HOST_EXPORTS) \
17119 $(POSTSTAGE1_HOST_EXPORTS) \
17120 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
17121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17122 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17123 case $(srcdir) in \
17124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17125 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17127 esac; \
17128 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17129 libsrcdir="$$s/libcpp"; \
17130 $(SHELL) $${libsrcdir}/configure \
17131 $(HOST_CONFIGARGS) $${srcdiroption} \
17132 @stage2_werror_flag@
17133 @endif libcpp-bootstrap
17135 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
17136 maybe-configure-stage3-libcpp:
17137 @if libcpp-bootstrap
17138 maybe-configure-stage3-libcpp: configure-stage3-libcpp
17139 configure-stage3-libcpp:
17140 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17142 @r=`${PWD_COMMAND}`; export r; \
17143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17144 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17145 $(HOST_EXPORTS) \
17146 $(POSTSTAGE1_HOST_EXPORTS) \
17147 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
17148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17149 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17150 case $(srcdir) in \
17151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17152 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17154 esac; \
17155 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17156 libsrcdir="$$s/libcpp"; \
17157 $(SHELL) $${libsrcdir}/configure \
17158 $(HOST_CONFIGARGS) $${srcdiroption} \
17159 @stage2_werror_flag@
17160 @endif libcpp-bootstrap
17162 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
17163 maybe-configure-stage4-libcpp:
17164 @if libcpp-bootstrap
17165 maybe-configure-stage4-libcpp: configure-stage4-libcpp
17166 configure-stage4-libcpp:
17167 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17172 $(HOST_EXPORTS) \
17173 $(POSTSTAGE1_HOST_EXPORTS) \
17174 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
17175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17176 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17177 case $(srcdir) in \
17178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17179 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17181 esac; \
17182 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17183 libsrcdir="$$s/libcpp"; \
17184 $(SHELL) $${libsrcdir}/configure \
17185 $(HOST_CONFIGARGS) $${srcdiroption} \
17186 @stage2_werror_flag@
17187 @endif libcpp-bootstrap
17189 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
17190 maybe-configure-stageprofile-libcpp:
17191 @if libcpp-bootstrap
17192 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
17193 configure-stageprofile-libcpp:
17194 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17196 @r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17198 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17199 $(HOST_EXPORTS) \
17200 $(POSTSTAGE1_HOST_EXPORTS) \
17201 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
17202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17203 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17204 case $(srcdir) in \
17205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17206 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17208 esac; \
17209 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17210 libsrcdir="$$s/libcpp"; \
17211 $(SHELL) $${libsrcdir}/configure \
17212 $(HOST_CONFIGARGS) $${srcdiroption} \
17213 @stage2_werror_flag@
17214 @endif libcpp-bootstrap
17216 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
17217 maybe-configure-stagefeedback-libcpp:
17218 @if libcpp-bootstrap
17219 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
17220 configure-stagefeedback-libcpp:
17221 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17223 @r=`${PWD_COMMAND}`; export r; \
17224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17225 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17226 $(HOST_EXPORTS) \
17227 $(POSTSTAGE1_HOST_EXPORTS) \
17228 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
17229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17230 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17231 case $(srcdir) in \
17232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17233 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17235 esac; \
17236 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17237 libsrcdir="$$s/libcpp"; \
17238 $(SHELL) $${libsrcdir}/configure \
17239 $(HOST_CONFIGARGS) $${srcdiroption} \
17240 @stage2_werror_flag@
17241 @endif libcpp-bootstrap
17247 .PHONY: all-libcpp maybe-all-libcpp
17248 maybe-all-libcpp:
17249 @if libcpp
17250 TARGET-libcpp=all
17251 maybe-all-libcpp: all-libcpp
17252 all-libcpp: configure-libcpp
17253 @endif libcpp
17254 @if libcpp-bootstrap
17255 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17256 @endif libcpp-bootstrap
17257 @if libcpp
17258 @r=`${PWD_COMMAND}`; export r; \
17259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260 $(HOST_EXPORTS) \
17261 (cd $(HOST_SUBDIR)/libcpp && \
17262 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
17263 @endif libcpp
17267 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
17268 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
17269 maybe-all-stage1-libcpp:
17270 maybe-clean-stage1-libcpp:
17271 @if libcpp-bootstrap
17272 maybe-all-stage1-libcpp: all-stage1-libcpp
17273 all-stage1: all-stage1-libcpp
17274 TARGET-stage1-libcpp = $(TARGET-libcpp)
17275 all-stage1-libcpp: configure-stage1-libcpp
17276 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17277 @r=`${PWD_COMMAND}`; export r; \
17278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 $(HOST_EXPORTS) \
17280 cd $(HOST_SUBDIR)/libcpp && \
17281 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17282 $(TARGET-stage1-libcpp)
17284 maybe-clean-stage1-libcpp: clean-stage1-libcpp
17285 clean-stage1: clean-stage1-libcpp
17286 clean-stage1-libcpp:
17287 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
17288 || exit 0 ; \
17289 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17290 cd $(HOST_SUBDIR)/libcpp && \
17291 $(MAKE) $(FLAGS_TO_PASS) \
17292 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17293 @endif libcpp-bootstrap
17296 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
17297 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
17298 maybe-all-stage2-libcpp:
17299 maybe-clean-stage2-libcpp:
17300 @if libcpp-bootstrap
17301 maybe-all-stage2-libcpp: all-stage2-libcpp
17302 all-stage2: all-stage2-libcpp
17303 TARGET-stage2-libcpp = $(TARGET-libcpp)
17304 all-stage2-libcpp: configure-stage2-libcpp
17305 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17306 @r=`${PWD_COMMAND}`; export r; \
17307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17308 $(HOST_EXPORTS) \
17309 $(POSTSTAGE1_HOST_EXPORTS) \
17310 cd $(HOST_SUBDIR)/libcpp && \
17311 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17312 $(TARGET-stage2-libcpp)
17314 maybe-clean-stage2-libcpp: clean-stage2-libcpp
17315 clean-stage2: clean-stage2-libcpp
17316 clean-stage2-libcpp:
17317 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
17318 || exit 0 ; \
17319 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17320 cd $(HOST_SUBDIR)/libcpp && \
17321 $(MAKE) $(FLAGS_TO_PASS) \
17322 $(POSTSTAGE1_FLAGS_TO_PASS) \
17323 clean
17324 @endif libcpp-bootstrap
17327 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
17328 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
17329 maybe-all-stage3-libcpp:
17330 maybe-clean-stage3-libcpp:
17331 @if libcpp-bootstrap
17332 maybe-all-stage3-libcpp: all-stage3-libcpp
17333 all-stage3: all-stage3-libcpp
17334 TARGET-stage3-libcpp = $(TARGET-libcpp)
17335 all-stage3-libcpp: configure-stage3-libcpp
17336 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17337 @r=`${PWD_COMMAND}`; export r; \
17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339 $(HOST_EXPORTS) \
17340 $(POSTSTAGE1_HOST_EXPORTS) \
17341 cd $(HOST_SUBDIR)/libcpp && \
17342 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17343 $(TARGET-stage3-libcpp)
17345 maybe-clean-stage3-libcpp: clean-stage3-libcpp
17346 clean-stage3: clean-stage3-libcpp
17347 clean-stage3-libcpp:
17348 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
17349 || exit 0 ; \
17350 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17351 cd $(HOST_SUBDIR)/libcpp && \
17352 $(MAKE) $(FLAGS_TO_PASS) \
17353 $(POSTSTAGE1_FLAGS_TO_PASS) \
17354 clean
17355 @endif libcpp-bootstrap
17358 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
17359 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
17360 maybe-all-stage4-libcpp:
17361 maybe-clean-stage4-libcpp:
17362 @if libcpp-bootstrap
17363 maybe-all-stage4-libcpp: all-stage4-libcpp
17364 all-stage4: all-stage4-libcpp
17365 TARGET-stage4-libcpp = $(TARGET-libcpp)
17366 all-stage4-libcpp: configure-stage4-libcpp
17367 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17368 @r=`${PWD_COMMAND}`; export r; \
17369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17370 $(HOST_EXPORTS) \
17371 $(POSTSTAGE1_HOST_EXPORTS) \
17372 cd $(HOST_SUBDIR)/libcpp && \
17373 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17374 $(TARGET-stage4-libcpp)
17376 maybe-clean-stage4-libcpp: clean-stage4-libcpp
17377 clean-stage4: clean-stage4-libcpp
17378 clean-stage4-libcpp:
17379 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
17380 || exit 0 ; \
17381 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17382 cd $(HOST_SUBDIR)/libcpp && \
17383 $(MAKE) $(FLAGS_TO_PASS) \
17384 $(POSTSTAGE1_FLAGS_TO_PASS) \
17385 clean
17386 @endif libcpp-bootstrap
17389 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
17390 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
17391 maybe-all-stageprofile-libcpp:
17392 maybe-clean-stageprofile-libcpp:
17393 @if libcpp-bootstrap
17394 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
17395 all-stageprofile: all-stageprofile-libcpp
17396 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
17397 all-stageprofile-libcpp: configure-stageprofile-libcpp
17398 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17399 @r=`${PWD_COMMAND}`; export r; \
17400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17401 $(HOST_EXPORTS) \
17402 $(POSTSTAGE1_HOST_EXPORTS) \
17403 cd $(HOST_SUBDIR)/libcpp && \
17404 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17405 $(TARGET-stageprofile-libcpp)
17407 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
17408 clean-stageprofile: clean-stageprofile-libcpp
17409 clean-stageprofile-libcpp:
17410 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
17411 || exit 0 ; \
17412 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17413 cd $(HOST_SUBDIR)/libcpp && \
17414 $(MAKE) $(FLAGS_TO_PASS) \
17415 $(POSTSTAGE1_FLAGS_TO_PASS) \
17416 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17417 @endif libcpp-bootstrap
17420 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
17421 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
17422 maybe-all-stagefeedback-libcpp:
17423 maybe-clean-stagefeedback-libcpp:
17424 @if libcpp-bootstrap
17425 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
17426 all-stagefeedback: all-stagefeedback-libcpp
17427 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
17428 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
17429 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17430 @r=`${PWD_COMMAND}`; export r; \
17431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17432 $(HOST_EXPORTS) \
17433 $(POSTSTAGE1_HOST_EXPORTS) \
17434 cd $(HOST_SUBDIR)/libcpp && \
17435 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17436 $(TARGET-stagefeedback-libcpp)
17438 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
17439 clean-stagefeedback: clean-stagefeedback-libcpp
17440 clean-stagefeedback-libcpp:
17441 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
17442 || exit 0 ; \
17443 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17444 cd $(HOST_SUBDIR)/libcpp && \
17445 $(MAKE) $(FLAGS_TO_PASS) \
17446 $(POSTSTAGE1_FLAGS_TO_PASS) \
17447 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17448 @endif libcpp-bootstrap
17454 .PHONY: check-libcpp maybe-check-libcpp
17455 maybe-check-libcpp:
17456 @if libcpp
17457 maybe-check-libcpp: check-libcpp
17459 check-libcpp:
17460 @: $(MAKE); $(unstage)
17461 @r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17463 $(HOST_EXPORTS) \
17464 (cd $(HOST_SUBDIR)/libcpp && \
17465 $(MAKE) $(FLAGS_TO_PASS) check)
17467 @endif libcpp
17469 .PHONY: install-libcpp maybe-install-libcpp
17470 maybe-install-libcpp:
17471 @if libcpp
17472 maybe-install-libcpp: install-libcpp
17474 install-libcpp: installdirs
17475 @: $(MAKE); $(unstage)
17476 @r=`${PWD_COMMAND}`; export r; \
17477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17478 $(HOST_EXPORTS) \
17479 (cd $(HOST_SUBDIR)/libcpp && \
17480 $(MAKE) $(FLAGS_TO_PASS) install)
17482 @endif libcpp
17484 # Other targets (info, dvi, etc.)
17486 .PHONY: maybe-info-libcpp info-libcpp
17487 maybe-info-libcpp:
17488 @if libcpp
17489 maybe-info-libcpp: info-libcpp
17491 info-libcpp: \
17492 configure-libcpp
17493 @[ -f ./libcpp/Makefile ] || exit 0; \
17494 r=`${PWD_COMMAND}`; export r; \
17495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17496 $(HOST_EXPORTS) \
17497 for flag in $(EXTRA_HOST_FLAGS) ; do \
17498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17499 done; \
17500 echo "Doing info in libcpp" ; \
17501 (cd $(HOST_SUBDIR)/libcpp && \
17502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17504 "RANLIB=$${RANLIB}" \
17505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17506 info) \
17507 || exit 1
17509 @endif libcpp
17511 .PHONY: maybe-dvi-libcpp dvi-libcpp
17512 maybe-dvi-libcpp:
17513 @if libcpp
17514 maybe-dvi-libcpp: dvi-libcpp
17516 dvi-libcpp: \
17517 configure-libcpp
17518 @[ -f ./libcpp/Makefile ] || exit 0; \
17519 r=`${PWD_COMMAND}`; export r; \
17520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17521 $(HOST_EXPORTS) \
17522 for flag in $(EXTRA_HOST_FLAGS) ; do \
17523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17524 done; \
17525 echo "Doing dvi in libcpp" ; \
17526 (cd $(HOST_SUBDIR)/libcpp && \
17527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17529 "RANLIB=$${RANLIB}" \
17530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17531 dvi) \
17532 || exit 1
17534 @endif libcpp
17536 .PHONY: maybe-html-libcpp html-libcpp
17537 maybe-html-libcpp:
17538 @if libcpp
17539 maybe-html-libcpp: html-libcpp
17541 html-libcpp: \
17542 configure-libcpp
17543 @[ -f ./libcpp/Makefile ] || exit 0; \
17544 r=`${PWD_COMMAND}`; export r; \
17545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17546 $(HOST_EXPORTS) \
17547 for flag in $(EXTRA_HOST_FLAGS) ; do \
17548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17549 done; \
17550 echo "Doing html in libcpp" ; \
17551 (cd $(HOST_SUBDIR)/libcpp && \
17552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17554 "RANLIB=$${RANLIB}" \
17555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17556 html) \
17557 || exit 1
17559 @endif libcpp
17561 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
17562 maybe-TAGS-libcpp:
17563 @if libcpp
17564 maybe-TAGS-libcpp: TAGS-libcpp
17566 TAGS-libcpp: \
17567 configure-libcpp
17568 @[ -f ./libcpp/Makefile ] || exit 0; \
17569 r=`${PWD_COMMAND}`; export r; \
17570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17571 $(HOST_EXPORTS) \
17572 for flag in $(EXTRA_HOST_FLAGS) ; do \
17573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17574 done; \
17575 echo "Doing TAGS in libcpp" ; \
17576 (cd $(HOST_SUBDIR)/libcpp && \
17577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17579 "RANLIB=$${RANLIB}" \
17580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17581 TAGS) \
17582 || exit 1
17584 @endif libcpp
17586 .PHONY: maybe-install-info-libcpp install-info-libcpp
17587 maybe-install-info-libcpp:
17588 @if libcpp
17589 maybe-install-info-libcpp: install-info-libcpp
17591 install-info-libcpp: \
17592 configure-libcpp \
17593 info-libcpp
17594 @[ -f ./libcpp/Makefile ] || exit 0; \
17595 r=`${PWD_COMMAND}`; export r; \
17596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17597 $(HOST_EXPORTS) \
17598 for flag in $(EXTRA_HOST_FLAGS) ; do \
17599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17600 done; \
17601 echo "Doing install-info in libcpp" ; \
17602 (cd $(HOST_SUBDIR)/libcpp && \
17603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17605 "RANLIB=$${RANLIB}" \
17606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17607 install-info) \
17608 || exit 1
17610 @endif libcpp
17612 .PHONY: maybe-install-html-libcpp install-html-libcpp
17613 maybe-install-html-libcpp:
17614 @if libcpp
17615 maybe-install-html-libcpp: install-html-libcpp
17617 install-html-libcpp: \
17618 configure-libcpp \
17619 html-libcpp
17620 @[ -f ./libcpp/Makefile ] || exit 0; \
17621 r=`${PWD_COMMAND}`; export r; \
17622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17623 $(HOST_EXPORTS) \
17624 for flag in $(EXTRA_HOST_FLAGS) ; do \
17625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17626 done; \
17627 echo "Doing install-html in libcpp" ; \
17628 (cd $(HOST_SUBDIR)/libcpp && \
17629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17631 "RANLIB=$${RANLIB}" \
17632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17633 install-html) \
17634 || exit 1
17636 @endif libcpp
17638 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
17639 maybe-installcheck-libcpp:
17640 @if libcpp
17641 maybe-installcheck-libcpp: installcheck-libcpp
17643 installcheck-libcpp: \
17644 configure-libcpp
17645 @[ -f ./libcpp/Makefile ] || exit 0; \
17646 r=`${PWD_COMMAND}`; export r; \
17647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17648 $(HOST_EXPORTS) \
17649 for flag in $(EXTRA_HOST_FLAGS) ; do \
17650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17651 done; \
17652 echo "Doing installcheck in libcpp" ; \
17653 (cd $(HOST_SUBDIR)/libcpp && \
17654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17656 "RANLIB=$${RANLIB}" \
17657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17658 installcheck) \
17659 || exit 1
17661 @endif libcpp
17663 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
17664 maybe-mostlyclean-libcpp:
17665 @if libcpp
17666 maybe-mostlyclean-libcpp: mostlyclean-libcpp
17668 mostlyclean-libcpp:
17669 @[ -f ./libcpp/Makefile ] || exit 0; \
17670 r=`${PWD_COMMAND}`; export r; \
17671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17672 $(HOST_EXPORTS) \
17673 for flag in $(EXTRA_HOST_FLAGS) ; do \
17674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17675 done; \
17676 echo "Doing mostlyclean in libcpp" ; \
17677 (cd $(HOST_SUBDIR)/libcpp && \
17678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17680 "RANLIB=$${RANLIB}" \
17681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17682 mostlyclean) \
17683 || exit 1
17685 @endif libcpp
17687 .PHONY: maybe-clean-libcpp clean-libcpp
17688 maybe-clean-libcpp:
17689 @if libcpp
17690 maybe-clean-libcpp: clean-libcpp
17692 clean-libcpp:
17693 @[ -f ./libcpp/Makefile ] || exit 0; \
17694 r=`${PWD_COMMAND}`; export r; \
17695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17696 $(HOST_EXPORTS) \
17697 for flag in $(EXTRA_HOST_FLAGS) ; do \
17698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17699 done; \
17700 echo "Doing clean in libcpp" ; \
17701 (cd $(HOST_SUBDIR)/libcpp && \
17702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17704 "RANLIB=$${RANLIB}" \
17705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17706 clean) \
17707 || exit 1
17709 @endif libcpp
17711 .PHONY: maybe-distclean-libcpp distclean-libcpp
17712 maybe-distclean-libcpp:
17713 @if libcpp
17714 maybe-distclean-libcpp: distclean-libcpp
17716 distclean-libcpp:
17717 @[ -f ./libcpp/Makefile ] || exit 0; \
17718 r=`${PWD_COMMAND}`; export r; \
17719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17720 $(HOST_EXPORTS) \
17721 for flag in $(EXTRA_HOST_FLAGS) ; do \
17722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17723 done; \
17724 echo "Doing distclean in libcpp" ; \
17725 (cd $(HOST_SUBDIR)/libcpp && \
17726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17728 "RANLIB=$${RANLIB}" \
17729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17730 distclean) \
17731 || exit 1
17733 @endif libcpp
17735 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
17736 maybe-maintainer-clean-libcpp:
17737 @if libcpp
17738 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
17740 maintainer-clean-libcpp:
17741 @[ -f ./libcpp/Makefile ] || exit 0; \
17742 r=`${PWD_COMMAND}`; export r; \
17743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17744 $(HOST_EXPORTS) \
17745 for flag in $(EXTRA_HOST_FLAGS) ; do \
17746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17747 done; \
17748 echo "Doing maintainer-clean in libcpp" ; \
17749 (cd $(HOST_SUBDIR)/libcpp && \
17750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17752 "RANLIB=$${RANLIB}" \
17753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17754 maintainer-clean) \
17755 || exit 1
17757 @endif libcpp
17761 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
17762 maybe-configure-libdecnumber:
17763 @if libdecnumber
17764 maybe-configure-libdecnumber: configure-libdecnumber
17765 configure-libdecnumber:
17766 @endif libdecnumber
17767 @if libdecnumber-bootstrap
17768 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17769 @endif libdecnumber-bootstrap
17770 @if libdecnumber
17771 @r=`${PWD_COMMAND}`; export r; \
17772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17773 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17775 $(HOST_EXPORTS) \
17776 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
17777 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
17778 case $(srcdir) in \
17779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17780 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17782 esac; \
17783 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17784 libsrcdir="$$s/libdecnumber"; \
17785 $(SHELL) $${libsrcdir}/configure \
17786 $(HOST_CONFIGARGS) $${srcdiroption} \
17787 || exit 1
17788 @endif libdecnumber
17792 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
17793 maybe-configure-stage1-libdecnumber:
17794 @if libdecnumber-bootstrap
17795 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
17796 configure-stage1-libdecnumber:
17797 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17799 @r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17802 $(HOST_EXPORTS) \
17803 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
17804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17805 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17806 case $(srcdir) in \
17807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17808 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17810 esac; \
17811 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17812 libsrcdir="$$s/libdecnumber"; \
17813 $(SHELL) $${libsrcdir}/configure \
17814 $(HOST_CONFIGARGS) $${srcdiroption} \
17815 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17816 @endif libdecnumber-bootstrap
17818 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
17819 maybe-configure-stage2-libdecnumber:
17820 @if libdecnumber-bootstrap
17821 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
17822 configure-stage2-libdecnumber:
17823 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17825 @r=`${PWD_COMMAND}`; export r; \
17826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17827 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17828 $(HOST_EXPORTS) \
17829 $(POSTSTAGE1_HOST_EXPORTS) \
17830 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
17831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17832 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17833 case $(srcdir) in \
17834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17835 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17837 esac; \
17838 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17839 libsrcdir="$$s/libdecnumber"; \
17840 $(SHELL) $${libsrcdir}/configure \
17841 $(HOST_CONFIGARGS) $${srcdiroption} \
17842 @stage2_werror_flag@
17843 @endif libdecnumber-bootstrap
17845 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
17846 maybe-configure-stage3-libdecnumber:
17847 @if libdecnumber-bootstrap
17848 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
17849 configure-stage3-libdecnumber:
17850 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17851 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17852 @r=`${PWD_COMMAND}`; export r; \
17853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17854 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17855 $(HOST_EXPORTS) \
17856 $(POSTSTAGE1_HOST_EXPORTS) \
17857 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
17858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17859 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17860 case $(srcdir) in \
17861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17862 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17864 esac; \
17865 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17866 libsrcdir="$$s/libdecnumber"; \
17867 $(SHELL) $${libsrcdir}/configure \
17868 $(HOST_CONFIGARGS) $${srcdiroption} \
17869 @stage2_werror_flag@
17870 @endif libdecnumber-bootstrap
17872 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
17873 maybe-configure-stage4-libdecnumber:
17874 @if libdecnumber-bootstrap
17875 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
17876 configure-stage4-libdecnumber:
17877 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17879 @r=`${PWD_COMMAND}`; export r; \
17880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17881 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17882 $(HOST_EXPORTS) \
17883 $(POSTSTAGE1_HOST_EXPORTS) \
17884 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
17885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17886 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17887 case $(srcdir) in \
17888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17889 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17891 esac; \
17892 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17893 libsrcdir="$$s/libdecnumber"; \
17894 $(SHELL) $${libsrcdir}/configure \
17895 $(HOST_CONFIGARGS) $${srcdiroption} \
17896 @stage2_werror_flag@
17897 @endif libdecnumber-bootstrap
17899 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
17900 maybe-configure-stageprofile-libdecnumber:
17901 @if libdecnumber-bootstrap
17902 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17903 configure-stageprofile-libdecnumber:
17904 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17906 @r=`${PWD_COMMAND}`; export r; \
17907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17909 $(HOST_EXPORTS) \
17910 $(POSTSTAGE1_HOST_EXPORTS) \
17911 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
17912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17913 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17914 case $(srcdir) in \
17915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17916 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17918 esac; \
17919 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17920 libsrcdir="$$s/libdecnumber"; \
17921 $(SHELL) $${libsrcdir}/configure \
17922 $(HOST_CONFIGARGS) $${srcdiroption} \
17923 @stage2_werror_flag@
17924 @endif libdecnumber-bootstrap
17926 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
17927 maybe-configure-stagefeedback-libdecnumber:
17928 @if libdecnumber-bootstrap
17929 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17930 configure-stagefeedback-libdecnumber:
17931 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17933 @r=`${PWD_COMMAND}`; export r; \
17934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17935 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17936 $(HOST_EXPORTS) \
17937 $(POSTSTAGE1_HOST_EXPORTS) \
17938 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
17939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17940 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17941 case $(srcdir) in \
17942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17943 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17945 esac; \
17946 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17947 libsrcdir="$$s/libdecnumber"; \
17948 $(SHELL) $${libsrcdir}/configure \
17949 $(HOST_CONFIGARGS) $${srcdiroption} \
17950 @stage2_werror_flag@
17951 @endif libdecnumber-bootstrap
17957 .PHONY: all-libdecnumber maybe-all-libdecnumber
17958 maybe-all-libdecnumber:
17959 @if libdecnumber
17960 TARGET-libdecnumber=all
17961 maybe-all-libdecnumber: all-libdecnumber
17962 all-libdecnumber: configure-libdecnumber
17963 @endif libdecnumber
17964 @if libdecnumber-bootstrap
17965 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17966 @endif libdecnumber-bootstrap
17967 @if libdecnumber
17968 @r=`${PWD_COMMAND}`; export r; \
17969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17970 $(HOST_EXPORTS) \
17971 (cd $(HOST_SUBDIR)/libdecnumber && \
17972 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
17973 @endif libdecnumber
17977 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
17978 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
17979 maybe-all-stage1-libdecnumber:
17980 maybe-clean-stage1-libdecnumber:
17981 @if libdecnumber-bootstrap
17982 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
17983 all-stage1: all-stage1-libdecnumber
17984 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
17985 all-stage1-libdecnumber: configure-stage1-libdecnumber
17986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17987 @r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 $(HOST_EXPORTS) \
17990 cd $(HOST_SUBDIR)/libdecnumber && \
17991 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17992 $(TARGET-stage1-libdecnumber)
17994 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
17995 clean-stage1: clean-stage1-libdecnumber
17996 clean-stage1-libdecnumber:
17997 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
17998 || exit 0 ; \
17999 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18000 cd $(HOST_SUBDIR)/libdecnumber && \
18001 $(MAKE) $(FLAGS_TO_PASS) \
18002 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18003 @endif libdecnumber-bootstrap
18006 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
18007 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
18008 maybe-all-stage2-libdecnumber:
18009 maybe-clean-stage2-libdecnumber:
18010 @if libdecnumber-bootstrap
18011 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
18012 all-stage2: all-stage2-libdecnumber
18013 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
18014 all-stage2-libdecnumber: configure-stage2-libdecnumber
18015 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18016 @r=`${PWD_COMMAND}`; export r; \
18017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18018 $(HOST_EXPORTS) \
18019 $(POSTSTAGE1_HOST_EXPORTS) \
18020 cd $(HOST_SUBDIR)/libdecnumber && \
18021 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18022 $(TARGET-stage2-libdecnumber)
18024 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
18025 clean-stage2: clean-stage2-libdecnumber
18026 clean-stage2-libdecnumber:
18027 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
18028 || exit 0 ; \
18029 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18030 cd $(HOST_SUBDIR)/libdecnumber && \
18031 $(MAKE) $(FLAGS_TO_PASS) \
18032 $(POSTSTAGE1_FLAGS_TO_PASS) \
18033 clean
18034 @endif libdecnumber-bootstrap
18037 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
18038 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
18039 maybe-all-stage3-libdecnumber:
18040 maybe-clean-stage3-libdecnumber:
18041 @if libdecnumber-bootstrap
18042 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
18043 all-stage3: all-stage3-libdecnumber
18044 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
18045 all-stage3-libdecnumber: configure-stage3-libdecnumber
18046 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18047 @r=`${PWD_COMMAND}`; export r; \
18048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18049 $(HOST_EXPORTS) \
18050 $(POSTSTAGE1_HOST_EXPORTS) \
18051 cd $(HOST_SUBDIR)/libdecnumber && \
18052 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18053 $(TARGET-stage3-libdecnumber)
18055 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
18056 clean-stage3: clean-stage3-libdecnumber
18057 clean-stage3-libdecnumber:
18058 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
18059 || exit 0 ; \
18060 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18061 cd $(HOST_SUBDIR)/libdecnumber && \
18062 $(MAKE) $(FLAGS_TO_PASS) \
18063 $(POSTSTAGE1_FLAGS_TO_PASS) \
18064 clean
18065 @endif libdecnumber-bootstrap
18068 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
18069 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
18070 maybe-all-stage4-libdecnumber:
18071 maybe-clean-stage4-libdecnumber:
18072 @if libdecnumber-bootstrap
18073 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
18074 all-stage4: all-stage4-libdecnumber
18075 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
18076 all-stage4-libdecnumber: configure-stage4-libdecnumber
18077 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18078 @r=`${PWD_COMMAND}`; export r; \
18079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18080 $(HOST_EXPORTS) \
18081 $(POSTSTAGE1_HOST_EXPORTS) \
18082 cd $(HOST_SUBDIR)/libdecnumber && \
18083 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18084 $(TARGET-stage4-libdecnumber)
18086 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
18087 clean-stage4: clean-stage4-libdecnumber
18088 clean-stage4-libdecnumber:
18089 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
18090 || exit 0 ; \
18091 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18092 cd $(HOST_SUBDIR)/libdecnumber && \
18093 $(MAKE) $(FLAGS_TO_PASS) \
18094 $(POSTSTAGE1_FLAGS_TO_PASS) \
18095 clean
18096 @endif libdecnumber-bootstrap
18099 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
18100 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
18101 maybe-all-stageprofile-libdecnumber:
18102 maybe-clean-stageprofile-libdecnumber:
18103 @if libdecnumber-bootstrap
18104 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
18105 all-stageprofile: all-stageprofile-libdecnumber
18106 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
18107 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18108 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18109 @r=`${PWD_COMMAND}`; export r; \
18110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18111 $(HOST_EXPORTS) \
18112 $(POSTSTAGE1_HOST_EXPORTS) \
18113 cd $(HOST_SUBDIR)/libdecnumber && \
18114 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18115 $(TARGET-stageprofile-libdecnumber)
18117 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
18118 clean-stageprofile: clean-stageprofile-libdecnumber
18119 clean-stageprofile-libdecnumber:
18120 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
18121 || exit 0 ; \
18122 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18123 cd $(HOST_SUBDIR)/libdecnumber && \
18124 $(MAKE) $(FLAGS_TO_PASS) \
18125 $(POSTSTAGE1_FLAGS_TO_PASS) \
18126 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18127 @endif libdecnumber-bootstrap
18130 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
18131 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
18132 maybe-all-stagefeedback-libdecnumber:
18133 maybe-clean-stagefeedback-libdecnumber:
18134 @if libdecnumber-bootstrap
18135 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
18136 all-stagefeedback: all-stagefeedback-libdecnumber
18137 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
18138 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18139 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18140 @r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 $(HOST_EXPORTS) \
18143 $(POSTSTAGE1_HOST_EXPORTS) \
18144 cd $(HOST_SUBDIR)/libdecnumber && \
18145 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18146 $(TARGET-stagefeedback-libdecnumber)
18148 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
18149 clean-stagefeedback: clean-stagefeedback-libdecnumber
18150 clean-stagefeedback-libdecnumber:
18151 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
18152 || exit 0 ; \
18153 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18154 cd $(HOST_SUBDIR)/libdecnumber && \
18155 $(MAKE) $(FLAGS_TO_PASS) \
18156 $(POSTSTAGE1_FLAGS_TO_PASS) \
18157 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18158 @endif libdecnumber-bootstrap
18164 .PHONY: check-libdecnumber maybe-check-libdecnumber
18165 maybe-check-libdecnumber:
18166 @if libdecnumber
18167 maybe-check-libdecnumber: check-libdecnumber
18169 check-libdecnumber:
18170 @: $(MAKE); $(unstage)
18171 @r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(HOST_EXPORTS) \
18174 (cd $(HOST_SUBDIR)/libdecnumber && \
18175 $(MAKE) $(FLAGS_TO_PASS) check)
18177 @endif libdecnumber
18179 .PHONY: install-libdecnumber maybe-install-libdecnumber
18180 maybe-install-libdecnumber:
18181 @if libdecnumber
18182 maybe-install-libdecnumber: install-libdecnumber
18184 install-libdecnumber: installdirs
18185 @: $(MAKE); $(unstage)
18186 @r=`${PWD_COMMAND}`; export r; \
18187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18188 $(HOST_EXPORTS) \
18189 (cd $(HOST_SUBDIR)/libdecnumber && \
18190 $(MAKE) $(FLAGS_TO_PASS) install)
18192 @endif libdecnumber
18194 # Other targets (info, dvi, etc.)
18196 .PHONY: maybe-info-libdecnumber info-libdecnumber
18197 maybe-info-libdecnumber:
18198 @if libdecnumber
18199 maybe-info-libdecnumber: info-libdecnumber
18201 info-libdecnumber: \
18202 configure-libdecnumber
18203 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18204 r=`${PWD_COMMAND}`; export r; \
18205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18206 $(HOST_EXPORTS) \
18207 for flag in $(EXTRA_HOST_FLAGS) ; do \
18208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18209 done; \
18210 echo "Doing info in libdecnumber" ; \
18211 (cd $(HOST_SUBDIR)/libdecnumber && \
18212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18214 "RANLIB=$${RANLIB}" \
18215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18216 info) \
18217 || exit 1
18219 @endif libdecnumber
18221 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
18222 maybe-dvi-libdecnumber:
18223 @if libdecnumber
18224 maybe-dvi-libdecnumber: dvi-libdecnumber
18226 dvi-libdecnumber: \
18227 configure-libdecnumber
18228 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18229 r=`${PWD_COMMAND}`; export r; \
18230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18231 $(HOST_EXPORTS) \
18232 for flag in $(EXTRA_HOST_FLAGS) ; do \
18233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18234 done; \
18235 echo "Doing dvi in libdecnumber" ; \
18236 (cd $(HOST_SUBDIR)/libdecnumber && \
18237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18239 "RANLIB=$${RANLIB}" \
18240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18241 dvi) \
18242 || exit 1
18244 @endif libdecnumber
18246 .PHONY: maybe-html-libdecnumber html-libdecnumber
18247 maybe-html-libdecnumber:
18248 @if libdecnumber
18249 maybe-html-libdecnumber: html-libdecnumber
18251 html-libdecnumber: \
18252 configure-libdecnumber
18253 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18254 r=`${PWD_COMMAND}`; export r; \
18255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 $(HOST_EXPORTS) \
18257 for flag in $(EXTRA_HOST_FLAGS) ; do \
18258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18259 done; \
18260 echo "Doing html in libdecnumber" ; \
18261 (cd $(HOST_SUBDIR)/libdecnumber && \
18262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18264 "RANLIB=$${RANLIB}" \
18265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18266 html) \
18267 || exit 1
18269 @endif libdecnumber
18271 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
18272 maybe-TAGS-libdecnumber:
18273 @if libdecnumber
18274 maybe-TAGS-libdecnumber: TAGS-libdecnumber
18276 TAGS-libdecnumber: \
18277 configure-libdecnumber
18278 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18279 r=`${PWD_COMMAND}`; export r; \
18280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18281 $(HOST_EXPORTS) \
18282 for flag in $(EXTRA_HOST_FLAGS) ; do \
18283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18284 done; \
18285 echo "Doing TAGS in libdecnumber" ; \
18286 (cd $(HOST_SUBDIR)/libdecnumber && \
18287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18289 "RANLIB=$${RANLIB}" \
18290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18291 TAGS) \
18292 || exit 1
18294 @endif libdecnumber
18296 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
18297 maybe-install-info-libdecnumber:
18298 @if libdecnumber
18299 maybe-install-info-libdecnumber: install-info-libdecnumber
18301 install-info-libdecnumber: \
18302 configure-libdecnumber \
18303 info-libdecnumber
18304 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18305 r=`${PWD_COMMAND}`; export r; \
18306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18307 $(HOST_EXPORTS) \
18308 for flag in $(EXTRA_HOST_FLAGS) ; do \
18309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18310 done; \
18311 echo "Doing install-info in libdecnumber" ; \
18312 (cd $(HOST_SUBDIR)/libdecnumber && \
18313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18315 "RANLIB=$${RANLIB}" \
18316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18317 install-info) \
18318 || exit 1
18320 @endif libdecnumber
18322 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
18323 maybe-install-html-libdecnumber:
18324 @if libdecnumber
18325 maybe-install-html-libdecnumber: install-html-libdecnumber
18327 install-html-libdecnumber: \
18328 configure-libdecnumber \
18329 html-libdecnumber
18330 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18331 r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 $(HOST_EXPORTS) \
18334 for flag in $(EXTRA_HOST_FLAGS) ; do \
18335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18336 done; \
18337 echo "Doing install-html in libdecnumber" ; \
18338 (cd $(HOST_SUBDIR)/libdecnumber && \
18339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18341 "RANLIB=$${RANLIB}" \
18342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18343 install-html) \
18344 || exit 1
18346 @endif libdecnumber
18348 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
18349 maybe-installcheck-libdecnumber:
18350 @if libdecnumber
18351 maybe-installcheck-libdecnumber: installcheck-libdecnumber
18353 installcheck-libdecnumber: \
18354 configure-libdecnumber
18355 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18356 r=`${PWD_COMMAND}`; export r; \
18357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18358 $(HOST_EXPORTS) \
18359 for flag in $(EXTRA_HOST_FLAGS) ; do \
18360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18361 done; \
18362 echo "Doing installcheck in libdecnumber" ; \
18363 (cd $(HOST_SUBDIR)/libdecnumber && \
18364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18366 "RANLIB=$${RANLIB}" \
18367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18368 installcheck) \
18369 || exit 1
18371 @endif libdecnumber
18373 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
18374 maybe-mostlyclean-libdecnumber:
18375 @if libdecnumber
18376 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
18378 mostlyclean-libdecnumber:
18379 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18380 r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18382 $(HOST_EXPORTS) \
18383 for flag in $(EXTRA_HOST_FLAGS) ; do \
18384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18385 done; \
18386 echo "Doing mostlyclean in libdecnumber" ; \
18387 (cd $(HOST_SUBDIR)/libdecnumber && \
18388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18390 "RANLIB=$${RANLIB}" \
18391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18392 mostlyclean) \
18393 || exit 1
18395 @endif libdecnumber
18397 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
18398 maybe-clean-libdecnumber:
18399 @if libdecnumber
18400 maybe-clean-libdecnumber: clean-libdecnumber
18402 clean-libdecnumber:
18403 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18404 r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 $(HOST_EXPORTS) \
18407 for flag in $(EXTRA_HOST_FLAGS) ; do \
18408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18409 done; \
18410 echo "Doing clean in libdecnumber" ; \
18411 (cd $(HOST_SUBDIR)/libdecnumber && \
18412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18414 "RANLIB=$${RANLIB}" \
18415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18416 clean) \
18417 || exit 1
18419 @endif libdecnumber
18421 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
18422 maybe-distclean-libdecnumber:
18423 @if libdecnumber
18424 maybe-distclean-libdecnumber: distclean-libdecnumber
18426 distclean-libdecnumber:
18427 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18428 r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 $(HOST_EXPORTS) \
18431 for flag in $(EXTRA_HOST_FLAGS) ; do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433 done; \
18434 echo "Doing distclean in libdecnumber" ; \
18435 (cd $(HOST_SUBDIR)/libdecnumber && \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440 distclean) \
18441 || exit 1
18443 @endif libdecnumber
18445 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
18446 maybe-maintainer-clean-libdecnumber:
18447 @if libdecnumber
18448 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
18450 maintainer-clean-libdecnumber:
18451 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18452 r=`${PWD_COMMAND}`; export r; \
18453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18454 $(HOST_EXPORTS) \
18455 for flag in $(EXTRA_HOST_FLAGS) ; do \
18456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18457 done; \
18458 echo "Doing maintainer-clean in libdecnumber" ; \
18459 (cd $(HOST_SUBDIR)/libdecnumber && \
18460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18462 "RANLIB=$${RANLIB}" \
18463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18464 maintainer-clean) \
18465 || exit 1
18467 @endif libdecnumber
18471 .PHONY: configure-libgui maybe-configure-libgui
18472 maybe-configure-libgui:
18473 @if libgui
18474 maybe-configure-libgui: configure-libgui
18475 configure-libgui:
18476 @: $(MAKE); $(unstage)
18477 @r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
18480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
18481 $(HOST_EXPORTS) \
18482 echo Configuring in $(HOST_SUBDIR)/libgui; \
18483 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
18484 case $(srcdir) in \
18485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18486 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
18487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18488 esac; \
18489 srcdiroption="--srcdir=$${topdir}/libgui"; \
18490 libsrcdir="$$s/libgui"; \
18491 $(SHELL) $${libsrcdir}/configure \
18492 $(HOST_CONFIGARGS) $${srcdiroption} \
18493 || exit 1
18494 @endif libgui
18500 .PHONY: all-libgui maybe-all-libgui
18501 maybe-all-libgui:
18502 @if libgui
18503 TARGET-libgui=all
18504 maybe-all-libgui: all-libgui
18505 all-libgui: configure-libgui
18506 @: $(MAKE); $(unstage)
18507 @r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509 $(HOST_EXPORTS) \
18510 (cd $(HOST_SUBDIR)/libgui && \
18511 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
18512 @endif libgui
18517 .PHONY: check-libgui maybe-check-libgui
18518 maybe-check-libgui:
18519 @if libgui
18520 maybe-check-libgui: check-libgui
18522 check-libgui:
18523 @: $(MAKE); $(unstage)
18524 @r=`${PWD_COMMAND}`; export r; \
18525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18526 $(HOST_EXPORTS) \
18527 (cd $(HOST_SUBDIR)/libgui && \
18528 $(MAKE) $(FLAGS_TO_PASS) check)
18530 @endif libgui
18532 .PHONY: install-libgui maybe-install-libgui
18533 maybe-install-libgui:
18534 @if libgui
18535 maybe-install-libgui: install-libgui
18537 install-libgui: installdirs
18538 @: $(MAKE); $(unstage)
18539 @r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 $(HOST_EXPORTS) \
18542 (cd $(HOST_SUBDIR)/libgui && \
18543 $(MAKE) $(FLAGS_TO_PASS) install)
18545 @endif libgui
18547 # Other targets (info, dvi, etc.)
18549 .PHONY: maybe-info-libgui info-libgui
18550 maybe-info-libgui:
18551 @if libgui
18552 maybe-info-libgui: info-libgui
18554 info-libgui: \
18555 configure-libgui
18556 @: $(MAKE); $(unstage)
18557 @[ -f ./libgui/Makefile ] || exit 0; \
18558 r=`${PWD_COMMAND}`; export r; \
18559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18560 $(HOST_EXPORTS) \
18561 for flag in $(EXTRA_HOST_FLAGS) ; do \
18562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18563 done; \
18564 echo "Doing info in libgui" ; \
18565 (cd $(HOST_SUBDIR)/libgui && \
18566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18568 "RANLIB=$${RANLIB}" \
18569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18570 info) \
18571 || exit 1
18573 @endif libgui
18575 .PHONY: maybe-dvi-libgui dvi-libgui
18576 maybe-dvi-libgui:
18577 @if libgui
18578 maybe-dvi-libgui: dvi-libgui
18580 dvi-libgui: \
18581 configure-libgui
18582 @: $(MAKE); $(unstage)
18583 @[ -f ./libgui/Makefile ] || exit 0; \
18584 r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586 $(HOST_EXPORTS) \
18587 for flag in $(EXTRA_HOST_FLAGS) ; do \
18588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18589 done; \
18590 echo "Doing dvi in libgui" ; \
18591 (cd $(HOST_SUBDIR)/libgui && \
18592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18594 "RANLIB=$${RANLIB}" \
18595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18596 dvi) \
18597 || exit 1
18599 @endif libgui
18601 .PHONY: maybe-html-libgui html-libgui
18602 maybe-html-libgui:
18603 @if libgui
18604 maybe-html-libgui: html-libgui
18606 html-libgui: \
18607 configure-libgui
18608 @: $(MAKE); $(unstage)
18609 @[ -f ./libgui/Makefile ] || exit 0; \
18610 r=`${PWD_COMMAND}`; export r; \
18611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18612 $(HOST_EXPORTS) \
18613 for flag in $(EXTRA_HOST_FLAGS) ; do \
18614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18615 done; \
18616 echo "Doing html in libgui" ; \
18617 (cd $(HOST_SUBDIR)/libgui && \
18618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18620 "RANLIB=$${RANLIB}" \
18621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18622 html) \
18623 || exit 1
18625 @endif libgui
18627 .PHONY: maybe-TAGS-libgui TAGS-libgui
18628 maybe-TAGS-libgui:
18629 @if libgui
18630 maybe-TAGS-libgui: TAGS-libgui
18632 TAGS-libgui: \
18633 configure-libgui
18634 @: $(MAKE); $(unstage)
18635 @[ -f ./libgui/Makefile ] || exit 0; \
18636 r=`${PWD_COMMAND}`; export r; \
18637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 $(HOST_EXPORTS) \
18639 for flag in $(EXTRA_HOST_FLAGS) ; do \
18640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18641 done; \
18642 echo "Doing TAGS in libgui" ; \
18643 (cd $(HOST_SUBDIR)/libgui && \
18644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18646 "RANLIB=$${RANLIB}" \
18647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18648 TAGS) \
18649 || exit 1
18651 @endif libgui
18653 .PHONY: maybe-install-info-libgui install-info-libgui
18654 maybe-install-info-libgui:
18655 @if libgui
18656 maybe-install-info-libgui: install-info-libgui
18658 install-info-libgui: \
18659 configure-libgui \
18660 info-libgui
18661 @: $(MAKE); $(unstage)
18662 @[ -f ./libgui/Makefile ] || exit 0; \
18663 r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 $(HOST_EXPORTS) \
18666 for flag in $(EXTRA_HOST_FLAGS) ; do \
18667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18668 done; \
18669 echo "Doing install-info in libgui" ; \
18670 (cd $(HOST_SUBDIR)/libgui && \
18671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18673 "RANLIB=$${RANLIB}" \
18674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18675 install-info) \
18676 || exit 1
18678 @endif libgui
18680 .PHONY: maybe-install-html-libgui install-html-libgui
18681 maybe-install-html-libgui:
18682 @if libgui
18683 maybe-install-html-libgui: install-html-libgui
18685 install-html-libgui: \
18686 configure-libgui \
18687 html-libgui
18688 @: $(MAKE); $(unstage)
18689 @[ -f ./libgui/Makefile ] || exit 0; \
18690 r=`${PWD_COMMAND}`; export r; \
18691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18692 $(HOST_EXPORTS) \
18693 for flag in $(EXTRA_HOST_FLAGS) ; do \
18694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18695 done; \
18696 echo "Doing install-html in libgui" ; \
18697 (cd $(HOST_SUBDIR)/libgui && \
18698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18700 "RANLIB=$${RANLIB}" \
18701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18702 install-html) \
18703 || exit 1
18705 @endif libgui
18707 .PHONY: maybe-installcheck-libgui installcheck-libgui
18708 maybe-installcheck-libgui:
18709 @if libgui
18710 maybe-installcheck-libgui: installcheck-libgui
18712 installcheck-libgui: \
18713 configure-libgui
18714 @: $(MAKE); $(unstage)
18715 @[ -f ./libgui/Makefile ] || exit 0; \
18716 r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 $(HOST_EXPORTS) \
18719 for flag in $(EXTRA_HOST_FLAGS) ; do \
18720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18721 done; \
18722 echo "Doing installcheck in libgui" ; \
18723 (cd $(HOST_SUBDIR)/libgui && \
18724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18726 "RANLIB=$${RANLIB}" \
18727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18728 installcheck) \
18729 || exit 1
18731 @endif libgui
18733 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
18734 maybe-mostlyclean-libgui:
18735 @if libgui
18736 maybe-mostlyclean-libgui: mostlyclean-libgui
18738 mostlyclean-libgui:
18739 @: $(MAKE); $(unstage)
18740 @[ -f ./libgui/Makefile ] || exit 0; \
18741 r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18743 $(HOST_EXPORTS) \
18744 for flag in $(EXTRA_HOST_FLAGS) ; do \
18745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18746 done; \
18747 echo "Doing mostlyclean in libgui" ; \
18748 (cd $(HOST_SUBDIR)/libgui && \
18749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18751 "RANLIB=$${RANLIB}" \
18752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18753 mostlyclean) \
18754 || exit 1
18756 @endif libgui
18758 .PHONY: maybe-clean-libgui clean-libgui
18759 maybe-clean-libgui:
18760 @if libgui
18761 maybe-clean-libgui: clean-libgui
18763 clean-libgui:
18764 @: $(MAKE); $(unstage)
18765 @[ -f ./libgui/Makefile ] || exit 0; \
18766 r=`${PWD_COMMAND}`; export r; \
18767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18768 $(HOST_EXPORTS) \
18769 for flag in $(EXTRA_HOST_FLAGS) ; do \
18770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18771 done; \
18772 echo "Doing clean in libgui" ; \
18773 (cd $(HOST_SUBDIR)/libgui && \
18774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18776 "RANLIB=$${RANLIB}" \
18777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18778 clean) \
18779 || exit 1
18781 @endif libgui
18783 .PHONY: maybe-distclean-libgui distclean-libgui
18784 maybe-distclean-libgui:
18785 @if libgui
18786 maybe-distclean-libgui: distclean-libgui
18788 distclean-libgui:
18789 @: $(MAKE); $(unstage)
18790 @[ -f ./libgui/Makefile ] || exit 0; \
18791 r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 $(HOST_EXPORTS) \
18794 for flag in $(EXTRA_HOST_FLAGS) ; do \
18795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18796 done; \
18797 echo "Doing distclean in libgui" ; \
18798 (cd $(HOST_SUBDIR)/libgui && \
18799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18801 "RANLIB=$${RANLIB}" \
18802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18803 distclean) \
18804 || exit 1
18806 @endif libgui
18808 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
18809 maybe-maintainer-clean-libgui:
18810 @if libgui
18811 maybe-maintainer-clean-libgui: maintainer-clean-libgui
18813 maintainer-clean-libgui:
18814 @: $(MAKE); $(unstage)
18815 @[ -f ./libgui/Makefile ] || exit 0; \
18816 r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818 $(HOST_EXPORTS) \
18819 for flag in $(EXTRA_HOST_FLAGS) ; do \
18820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18821 done; \
18822 echo "Doing maintainer-clean in libgui" ; \
18823 (cd $(HOST_SUBDIR)/libgui && \
18824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18826 "RANLIB=$${RANLIB}" \
18827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18828 maintainer-clean) \
18829 || exit 1
18831 @endif libgui
18835 .PHONY: configure-libiberty maybe-configure-libiberty
18836 maybe-configure-libiberty:
18837 @if libiberty
18838 maybe-configure-libiberty: configure-libiberty
18839 configure-libiberty:
18840 @endif libiberty
18841 @if libiberty-bootstrap
18842 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
18843 @endif libiberty-bootstrap
18844 @if libiberty
18845 @r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18847 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18849 $(HOST_EXPORTS) \
18850 echo Configuring in $(HOST_SUBDIR)/libiberty; \
18851 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
18852 case $(srcdir) in \
18853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18854 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18856 esac; \
18857 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18858 libsrcdir="$$s/libiberty"; \
18859 $(SHELL) $${libsrcdir}/configure \
18860 $(HOST_CONFIGARGS) $${srcdiroption} \
18861 || exit 1
18862 @endif libiberty
18866 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
18867 maybe-configure-stage1-libiberty:
18868 @if libiberty-bootstrap
18869 maybe-configure-stage1-libiberty: configure-stage1-libiberty
18870 configure-stage1-libiberty:
18871 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18872 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18873 @r=`${PWD_COMMAND}`; export r; \
18874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18875 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18876 $(HOST_EXPORTS) \
18877 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
18878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18879 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18880 case $(srcdir) in \
18881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18882 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18884 esac; \
18885 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18886 libsrcdir="$$s/libiberty"; \
18887 $(SHELL) $${libsrcdir}/configure \
18888 $(HOST_CONFIGARGS) $${srcdiroption} \
18889 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18890 @endif libiberty-bootstrap
18892 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
18893 maybe-configure-stage2-libiberty:
18894 @if libiberty-bootstrap
18895 maybe-configure-stage2-libiberty: configure-stage2-libiberty
18896 configure-stage2-libiberty:
18897 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18898 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18899 @r=`${PWD_COMMAND}`; export r; \
18900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18901 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18902 $(HOST_EXPORTS) \
18903 $(POSTSTAGE1_HOST_EXPORTS) \
18904 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
18905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18906 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18907 case $(srcdir) in \
18908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18909 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18911 esac; \
18912 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18913 libsrcdir="$$s/libiberty"; \
18914 $(SHELL) $${libsrcdir}/configure \
18915 $(HOST_CONFIGARGS) $${srcdiroption} \
18916 @stage2_werror_flag@
18917 @endif libiberty-bootstrap
18919 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
18920 maybe-configure-stage3-libiberty:
18921 @if libiberty-bootstrap
18922 maybe-configure-stage3-libiberty: configure-stage3-libiberty
18923 configure-stage3-libiberty:
18924 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18926 @r=`${PWD_COMMAND}`; export r; \
18927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18928 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18929 $(HOST_EXPORTS) \
18930 $(POSTSTAGE1_HOST_EXPORTS) \
18931 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
18932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18933 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18934 case $(srcdir) in \
18935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18936 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18938 esac; \
18939 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18940 libsrcdir="$$s/libiberty"; \
18941 $(SHELL) $${libsrcdir}/configure \
18942 $(HOST_CONFIGARGS) $${srcdiroption} \
18943 @stage2_werror_flag@
18944 @endif libiberty-bootstrap
18946 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
18947 maybe-configure-stage4-libiberty:
18948 @if libiberty-bootstrap
18949 maybe-configure-stage4-libiberty: configure-stage4-libiberty
18950 configure-stage4-libiberty:
18951 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18953 @r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18956 $(HOST_EXPORTS) \
18957 $(POSTSTAGE1_HOST_EXPORTS) \
18958 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
18959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18960 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18961 case $(srcdir) in \
18962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18963 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18965 esac; \
18966 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18967 libsrcdir="$$s/libiberty"; \
18968 $(SHELL) $${libsrcdir}/configure \
18969 $(HOST_CONFIGARGS) $${srcdiroption} \
18970 @stage2_werror_flag@
18971 @endif libiberty-bootstrap
18973 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
18974 maybe-configure-stageprofile-libiberty:
18975 @if libiberty-bootstrap
18976 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
18977 configure-stageprofile-libiberty:
18978 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18980 @r=`${PWD_COMMAND}`; export r; \
18981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18982 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18983 $(HOST_EXPORTS) \
18984 $(POSTSTAGE1_HOST_EXPORTS) \
18985 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
18986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18987 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18988 case $(srcdir) in \
18989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18990 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18992 esac; \
18993 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18994 libsrcdir="$$s/libiberty"; \
18995 $(SHELL) $${libsrcdir}/configure \
18996 $(HOST_CONFIGARGS) $${srcdiroption} \
18997 @stage2_werror_flag@
18998 @endif libiberty-bootstrap
19000 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
19001 maybe-configure-stagefeedback-libiberty:
19002 @if libiberty-bootstrap
19003 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
19004 configure-stagefeedback-libiberty:
19005 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19007 @r=`${PWD_COMMAND}`; export r; \
19008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19009 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19010 $(HOST_EXPORTS) \
19011 $(POSTSTAGE1_HOST_EXPORTS) \
19012 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
19013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19014 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19015 case $(srcdir) in \
19016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19017 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19019 esac; \
19020 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19021 libsrcdir="$$s/libiberty"; \
19022 $(SHELL) $${libsrcdir}/configure \
19023 $(HOST_CONFIGARGS) $${srcdiroption} \
19024 @stage2_werror_flag@
19025 @endif libiberty-bootstrap
19031 .PHONY: all-libiberty maybe-all-libiberty
19032 maybe-all-libiberty:
19033 @if libiberty
19034 TARGET-libiberty=all
19035 maybe-all-libiberty: all-libiberty
19036 all-libiberty: configure-libiberty
19037 @endif libiberty
19038 @if libiberty-bootstrap
19039 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
19040 @endif libiberty-bootstrap
19041 @if libiberty
19042 @r=`${PWD_COMMAND}`; export r; \
19043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19044 $(HOST_EXPORTS) \
19045 (cd $(HOST_SUBDIR)/libiberty && \
19046 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
19047 @endif libiberty
19051 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
19052 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
19053 maybe-all-stage1-libiberty:
19054 maybe-clean-stage1-libiberty:
19055 @if libiberty-bootstrap
19056 maybe-all-stage1-libiberty: all-stage1-libiberty
19057 all-stage1: all-stage1-libiberty
19058 TARGET-stage1-libiberty = $(TARGET-libiberty)
19059 all-stage1-libiberty: configure-stage1-libiberty
19060 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19061 @r=`${PWD_COMMAND}`; export r; \
19062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19063 $(HOST_EXPORTS) \
19064 cd $(HOST_SUBDIR)/libiberty && \
19065 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19066 $(TARGET-stage1-libiberty)
19068 maybe-clean-stage1-libiberty: clean-stage1-libiberty
19069 clean-stage1: clean-stage1-libiberty
19070 clean-stage1-libiberty:
19071 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
19072 || exit 0 ; \
19073 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
19074 cd $(HOST_SUBDIR)/libiberty && \
19075 $(MAKE) $(FLAGS_TO_PASS) \
19076 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19077 @endif libiberty-bootstrap
19080 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
19081 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
19082 maybe-all-stage2-libiberty:
19083 maybe-clean-stage2-libiberty:
19084 @if libiberty-bootstrap
19085 maybe-all-stage2-libiberty: all-stage2-libiberty
19086 all-stage2: all-stage2-libiberty
19087 TARGET-stage2-libiberty = $(TARGET-libiberty)
19088 all-stage2-libiberty: configure-stage2-libiberty
19089 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19090 @r=`${PWD_COMMAND}`; export r; \
19091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 $(HOST_EXPORTS) \
19093 $(POSTSTAGE1_HOST_EXPORTS) \
19094 cd $(HOST_SUBDIR)/libiberty && \
19095 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19096 $(TARGET-stage2-libiberty)
19098 maybe-clean-stage2-libiberty: clean-stage2-libiberty
19099 clean-stage2: clean-stage2-libiberty
19100 clean-stage2-libiberty:
19101 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
19102 || exit 0 ; \
19103 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
19104 cd $(HOST_SUBDIR)/libiberty && \
19105 $(MAKE) $(FLAGS_TO_PASS) \
19106 $(POSTSTAGE1_FLAGS_TO_PASS) \
19107 clean
19108 @endif libiberty-bootstrap
19111 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
19112 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
19113 maybe-all-stage3-libiberty:
19114 maybe-clean-stage3-libiberty:
19115 @if libiberty-bootstrap
19116 maybe-all-stage3-libiberty: all-stage3-libiberty
19117 all-stage3: all-stage3-libiberty
19118 TARGET-stage3-libiberty = $(TARGET-libiberty)
19119 all-stage3-libiberty: configure-stage3-libiberty
19120 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19121 @r=`${PWD_COMMAND}`; export r; \
19122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19123 $(HOST_EXPORTS) \
19124 $(POSTSTAGE1_HOST_EXPORTS) \
19125 cd $(HOST_SUBDIR)/libiberty && \
19126 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19127 $(TARGET-stage3-libiberty)
19129 maybe-clean-stage3-libiberty: clean-stage3-libiberty
19130 clean-stage3: clean-stage3-libiberty
19131 clean-stage3-libiberty:
19132 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
19133 || exit 0 ; \
19134 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
19135 cd $(HOST_SUBDIR)/libiberty && \
19136 $(MAKE) $(FLAGS_TO_PASS) \
19137 $(POSTSTAGE1_FLAGS_TO_PASS) \
19138 clean
19139 @endif libiberty-bootstrap
19142 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
19143 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
19144 maybe-all-stage4-libiberty:
19145 maybe-clean-stage4-libiberty:
19146 @if libiberty-bootstrap
19147 maybe-all-stage4-libiberty: all-stage4-libiberty
19148 all-stage4: all-stage4-libiberty
19149 TARGET-stage4-libiberty = $(TARGET-libiberty)
19150 all-stage4-libiberty: configure-stage4-libiberty
19151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19152 @r=`${PWD_COMMAND}`; export r; \
19153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19154 $(HOST_EXPORTS) \
19155 $(POSTSTAGE1_HOST_EXPORTS) \
19156 cd $(HOST_SUBDIR)/libiberty && \
19157 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19158 $(TARGET-stage4-libiberty)
19160 maybe-clean-stage4-libiberty: clean-stage4-libiberty
19161 clean-stage4: clean-stage4-libiberty
19162 clean-stage4-libiberty:
19163 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
19164 || exit 0 ; \
19165 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
19166 cd $(HOST_SUBDIR)/libiberty && \
19167 $(MAKE) $(FLAGS_TO_PASS) \
19168 $(POSTSTAGE1_FLAGS_TO_PASS) \
19169 clean
19170 @endif libiberty-bootstrap
19173 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
19174 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
19175 maybe-all-stageprofile-libiberty:
19176 maybe-clean-stageprofile-libiberty:
19177 @if libiberty-bootstrap
19178 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
19179 all-stageprofile: all-stageprofile-libiberty
19180 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
19181 all-stageprofile-libiberty: configure-stageprofile-libiberty
19182 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19183 @r=`${PWD_COMMAND}`; export r; \
19184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19185 $(HOST_EXPORTS) \
19186 $(POSTSTAGE1_HOST_EXPORTS) \
19187 cd $(HOST_SUBDIR)/libiberty && \
19188 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19189 $(TARGET-stageprofile-libiberty)
19191 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
19192 clean-stageprofile: clean-stageprofile-libiberty
19193 clean-stageprofile-libiberty:
19194 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
19195 || exit 0 ; \
19196 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
19197 cd $(HOST_SUBDIR)/libiberty && \
19198 $(MAKE) $(FLAGS_TO_PASS) \
19199 $(POSTSTAGE1_FLAGS_TO_PASS) \
19200 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19201 @endif libiberty-bootstrap
19204 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
19205 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
19206 maybe-all-stagefeedback-libiberty:
19207 maybe-clean-stagefeedback-libiberty:
19208 @if libiberty-bootstrap
19209 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
19210 all-stagefeedback: all-stagefeedback-libiberty
19211 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
19212 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
19213 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19214 @r=`${PWD_COMMAND}`; export r; \
19215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19216 $(HOST_EXPORTS) \
19217 $(POSTSTAGE1_HOST_EXPORTS) \
19218 cd $(HOST_SUBDIR)/libiberty && \
19219 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19220 $(TARGET-stagefeedback-libiberty)
19222 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
19223 clean-stagefeedback: clean-stagefeedback-libiberty
19224 clean-stagefeedback-libiberty:
19225 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
19226 || exit 0 ; \
19227 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
19228 cd $(HOST_SUBDIR)/libiberty && \
19229 $(MAKE) $(FLAGS_TO_PASS) \
19230 $(POSTSTAGE1_FLAGS_TO_PASS) \
19231 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19232 @endif libiberty-bootstrap
19238 .PHONY: check-libiberty maybe-check-libiberty
19239 maybe-check-libiberty:
19240 @if libiberty
19241 maybe-check-libiberty: check-libiberty
19243 check-libiberty:
19244 @: $(MAKE); $(unstage)
19245 @r=`${PWD_COMMAND}`; export r; \
19246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19247 $(HOST_EXPORTS) \
19248 (cd $(HOST_SUBDIR)/libiberty && \
19249 $(MAKE) $(FLAGS_TO_PASS) check)
19251 @endif libiberty
19253 .PHONY: install-libiberty maybe-install-libiberty
19254 maybe-install-libiberty:
19255 @if libiberty
19256 maybe-install-libiberty: install-libiberty
19258 install-libiberty: installdirs
19259 @: $(MAKE); $(unstage)
19260 @r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 $(HOST_EXPORTS) \
19263 (cd $(HOST_SUBDIR)/libiberty && \
19264 $(MAKE) $(FLAGS_TO_PASS) install)
19266 @endif libiberty
19268 # Other targets (info, dvi, etc.)
19270 .PHONY: maybe-info-libiberty info-libiberty
19271 maybe-info-libiberty:
19272 @if libiberty
19273 maybe-info-libiberty: info-libiberty
19275 info-libiberty: \
19276 configure-libiberty
19277 @[ -f ./libiberty/Makefile ] || exit 0; \
19278 r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 $(HOST_EXPORTS) \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19283 done; \
19284 echo "Doing info in libiberty" ; \
19285 (cd $(HOST_SUBDIR)/libiberty && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19290 info) \
19291 || exit 1
19293 @endif libiberty
19295 .PHONY: maybe-dvi-libiberty dvi-libiberty
19296 maybe-dvi-libiberty:
19297 @if libiberty
19298 maybe-dvi-libiberty: dvi-libiberty
19300 dvi-libiberty: \
19301 configure-libiberty
19302 @[ -f ./libiberty/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing dvi in libiberty" ; \
19310 (cd $(HOST_SUBDIR)/libiberty && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19315 dvi) \
19316 || exit 1
19318 @endif libiberty
19320 .PHONY: maybe-html-libiberty html-libiberty
19321 maybe-html-libiberty:
19322 @if libiberty
19323 maybe-html-libiberty: html-libiberty
19325 html-libiberty: \
19326 configure-libiberty
19327 @[ -f ./libiberty/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19333 done; \
19334 echo "Doing html in libiberty" ; \
19335 (cd $(HOST_SUBDIR)/libiberty && \
19336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19338 "RANLIB=$${RANLIB}" \
19339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19340 html) \
19341 || exit 1
19343 @endif libiberty
19345 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
19346 maybe-TAGS-libiberty:
19347 @if libiberty
19348 maybe-TAGS-libiberty: TAGS-libiberty
19350 TAGS-libiberty: \
19351 configure-libiberty
19352 @[ -f ./libiberty/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing TAGS in libiberty" ; \
19360 (cd $(HOST_SUBDIR)/libiberty && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19365 TAGS) \
19366 || exit 1
19368 @endif libiberty
19370 .PHONY: maybe-install-info-libiberty install-info-libiberty
19371 maybe-install-info-libiberty:
19372 @if libiberty
19373 maybe-install-info-libiberty: install-info-libiberty
19375 install-info-libiberty: \
19376 configure-libiberty \
19377 info-libiberty
19378 @[ -f ./libiberty/Makefile ] || exit 0; \
19379 r=`${PWD_COMMAND}`; export r; \
19380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing install-info in libiberty" ; \
19386 (cd $(HOST_SUBDIR)/libiberty && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19391 install-info) \
19392 || exit 1
19394 @endif libiberty
19396 .PHONY: maybe-install-html-libiberty install-html-libiberty
19397 maybe-install-html-libiberty:
19398 @if libiberty
19399 maybe-install-html-libiberty: install-html-libiberty
19401 install-html-libiberty: \
19402 configure-libiberty \
19403 html-libiberty
19404 @[ -f ./libiberty/Makefile ] || exit 0; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 for flag in $(EXTRA_HOST_FLAGS) ; do \
19409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19410 done; \
19411 echo "Doing install-html in libiberty" ; \
19412 (cd $(HOST_SUBDIR)/libiberty && \
19413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19415 "RANLIB=$${RANLIB}" \
19416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19417 install-html) \
19418 || exit 1
19420 @endif libiberty
19422 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
19423 maybe-installcheck-libiberty:
19424 @if libiberty
19425 maybe-installcheck-libiberty: installcheck-libiberty
19427 installcheck-libiberty: \
19428 configure-libiberty
19429 @[ -f ./libiberty/Makefile ] || exit 0; \
19430 r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(HOST_EXPORTS) \
19433 for flag in $(EXTRA_HOST_FLAGS) ; do \
19434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19435 done; \
19436 echo "Doing installcheck in libiberty" ; \
19437 (cd $(HOST_SUBDIR)/libiberty && \
19438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19440 "RANLIB=$${RANLIB}" \
19441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19442 installcheck) \
19443 || exit 1
19445 @endif libiberty
19447 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
19448 maybe-mostlyclean-libiberty:
19449 @if libiberty
19450 maybe-mostlyclean-libiberty: mostlyclean-libiberty
19452 mostlyclean-libiberty:
19453 @[ -f ./libiberty/Makefile ] || exit 0; \
19454 r=`${PWD_COMMAND}`; export r; \
19455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19456 $(HOST_EXPORTS) \
19457 for flag in $(EXTRA_HOST_FLAGS) ; do \
19458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19459 done; \
19460 echo "Doing mostlyclean in libiberty" ; \
19461 (cd $(HOST_SUBDIR)/libiberty && \
19462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19464 "RANLIB=$${RANLIB}" \
19465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19466 mostlyclean) \
19467 || exit 1
19469 @endif libiberty
19471 .PHONY: maybe-clean-libiberty clean-libiberty
19472 maybe-clean-libiberty:
19473 @if libiberty
19474 maybe-clean-libiberty: clean-libiberty
19476 clean-libiberty:
19477 @[ -f ./libiberty/Makefile ] || exit 0; \
19478 r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 $(HOST_EXPORTS) \
19481 for flag in $(EXTRA_HOST_FLAGS) ; do \
19482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19483 done; \
19484 echo "Doing clean in libiberty" ; \
19485 (cd $(HOST_SUBDIR)/libiberty && \
19486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19488 "RANLIB=$${RANLIB}" \
19489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19490 clean) \
19491 || exit 1
19493 @endif libiberty
19495 .PHONY: maybe-distclean-libiberty distclean-libiberty
19496 maybe-distclean-libiberty:
19497 @if libiberty
19498 maybe-distclean-libiberty: distclean-libiberty
19500 distclean-libiberty:
19501 @[ -f ./libiberty/Makefile ] || exit 0; \
19502 r=`${PWD_COMMAND}`; export r; \
19503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19504 $(HOST_EXPORTS) \
19505 for flag in $(EXTRA_HOST_FLAGS) ; do \
19506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 done; \
19508 echo "Doing distclean in libiberty" ; \
19509 (cd $(HOST_SUBDIR)/libiberty && \
19510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19512 "RANLIB=$${RANLIB}" \
19513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19514 distclean) \
19515 || exit 1
19517 @endif libiberty
19519 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
19520 maybe-maintainer-clean-libiberty:
19521 @if libiberty
19522 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
19524 maintainer-clean-libiberty:
19525 @[ -f ./libiberty/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(HOST_EXPORTS) \
19529 for flag in $(EXTRA_HOST_FLAGS) ; do \
19530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 done; \
19532 echo "Doing maintainer-clean in libiberty" ; \
19533 (cd $(HOST_SUBDIR)/libiberty && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19538 maintainer-clean) \
19539 || exit 1
19541 @endif libiberty
19545 .PHONY: configure-libtool maybe-configure-libtool
19546 maybe-configure-libtool:
19547 @if libtool
19548 maybe-configure-libtool: configure-libtool
19549 configure-libtool:
19550 @: $(MAKE); $(unstage)
19551 @r=`${PWD_COMMAND}`; export r; \
19552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19553 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
19554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
19555 $(HOST_EXPORTS) \
19556 echo Configuring in $(HOST_SUBDIR)/libtool; \
19557 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
19558 case $(srcdir) in \
19559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19560 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
19561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19562 esac; \
19563 srcdiroption="--srcdir=$${topdir}/libtool"; \
19564 libsrcdir="$$s/libtool"; \
19565 $(SHELL) $${libsrcdir}/configure \
19566 $(HOST_CONFIGARGS) $${srcdiroption} \
19567 || exit 1
19568 @endif libtool
19574 .PHONY: all-libtool maybe-all-libtool
19575 maybe-all-libtool:
19576 @if libtool
19577 TARGET-libtool=all
19578 maybe-all-libtool: all-libtool
19579 all-libtool: configure-libtool
19580 @: $(MAKE); $(unstage)
19581 @r=`${PWD_COMMAND}`; export r; \
19582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19583 $(HOST_EXPORTS) \
19584 (cd $(HOST_SUBDIR)/libtool && \
19585 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
19586 @endif libtool
19591 .PHONY: check-libtool maybe-check-libtool
19592 maybe-check-libtool:
19593 @if libtool
19594 maybe-check-libtool: check-libtool
19596 check-libtool:
19597 @: $(MAKE); $(unstage)
19598 @r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 $(HOST_EXPORTS) \
19601 (cd $(HOST_SUBDIR)/libtool && \
19602 $(MAKE) $(FLAGS_TO_PASS) check)
19604 @endif libtool
19606 .PHONY: install-libtool maybe-install-libtool
19607 maybe-install-libtool:
19608 @if libtool
19609 maybe-install-libtool: install-libtool
19611 install-libtool: installdirs
19612 @: $(MAKE); $(unstage)
19613 @r=`${PWD_COMMAND}`; export r; \
19614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19615 $(HOST_EXPORTS) \
19616 (cd $(HOST_SUBDIR)/libtool && \
19617 $(MAKE) $(FLAGS_TO_PASS) install)
19619 @endif libtool
19621 # Other targets (info, dvi, etc.)
19623 .PHONY: maybe-info-libtool info-libtool
19624 maybe-info-libtool:
19625 @if libtool
19626 maybe-info-libtool: info-libtool
19628 info-libtool: \
19629 configure-libtool
19630 @: $(MAKE); $(unstage)
19631 @[ -f ./libtool/Makefile ] || exit 0; \
19632 r=`${PWD_COMMAND}`; export r; \
19633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 $(HOST_EXPORTS) \
19635 for flag in $(EXTRA_HOST_FLAGS) ; do \
19636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19637 done; \
19638 echo "Doing info in libtool" ; \
19639 (cd $(HOST_SUBDIR)/libtool && \
19640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19642 "RANLIB=$${RANLIB}" \
19643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19644 info) \
19645 || exit 1
19647 @endif libtool
19649 .PHONY: maybe-dvi-libtool dvi-libtool
19650 maybe-dvi-libtool:
19651 @if libtool
19652 maybe-dvi-libtool: dvi-libtool
19654 dvi-libtool: \
19655 configure-libtool
19656 @: $(MAKE); $(unstage)
19657 @[ -f ./libtool/Makefile ] || exit 0; \
19658 r=`${PWD_COMMAND}`; export r; \
19659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19660 $(HOST_EXPORTS) \
19661 for flag in $(EXTRA_HOST_FLAGS) ; do \
19662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19663 done; \
19664 echo "Doing dvi in libtool" ; \
19665 (cd $(HOST_SUBDIR)/libtool && \
19666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19668 "RANLIB=$${RANLIB}" \
19669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19670 dvi) \
19671 || exit 1
19673 @endif libtool
19675 .PHONY: maybe-html-libtool html-libtool
19676 maybe-html-libtool:
19677 @if libtool
19678 maybe-html-libtool: html-libtool
19680 html-libtool: \
19681 configure-libtool
19682 @: $(MAKE); $(unstage)
19683 @[ -f ./libtool/Makefile ] || exit 0; \
19684 r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 $(HOST_EXPORTS) \
19687 for flag in $(EXTRA_HOST_FLAGS) ; do \
19688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19689 done; \
19690 echo "Doing html in libtool" ; \
19691 (cd $(HOST_SUBDIR)/libtool && \
19692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19694 "RANLIB=$${RANLIB}" \
19695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19696 html) \
19697 || exit 1
19699 @endif libtool
19701 .PHONY: maybe-TAGS-libtool TAGS-libtool
19702 maybe-TAGS-libtool:
19703 @if libtool
19704 maybe-TAGS-libtool: TAGS-libtool
19706 TAGS-libtool: \
19707 configure-libtool
19708 @: $(MAKE); $(unstage)
19709 @[ -f ./libtool/Makefile ] || exit 0; \
19710 r=`${PWD_COMMAND}`; export r; \
19711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19712 $(HOST_EXPORTS) \
19713 for flag in $(EXTRA_HOST_FLAGS) ; do \
19714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19715 done; \
19716 echo "Doing TAGS in libtool" ; \
19717 (cd $(HOST_SUBDIR)/libtool && \
19718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19720 "RANLIB=$${RANLIB}" \
19721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19722 TAGS) \
19723 || exit 1
19725 @endif libtool
19727 .PHONY: maybe-install-info-libtool install-info-libtool
19728 maybe-install-info-libtool:
19729 @if libtool
19730 maybe-install-info-libtool: install-info-libtool
19732 install-info-libtool: \
19733 configure-libtool \
19734 info-libtool
19735 @: $(MAKE); $(unstage)
19736 @[ -f ./libtool/Makefile ] || exit 0; \
19737 r=`${PWD_COMMAND}`; export r; \
19738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739 $(HOST_EXPORTS) \
19740 for flag in $(EXTRA_HOST_FLAGS) ; do \
19741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19742 done; \
19743 echo "Doing install-info in libtool" ; \
19744 (cd $(HOST_SUBDIR)/libtool && \
19745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19747 "RANLIB=$${RANLIB}" \
19748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19749 install-info) \
19750 || exit 1
19752 @endif libtool
19754 .PHONY: maybe-install-html-libtool install-html-libtool
19755 maybe-install-html-libtool:
19756 @if libtool
19757 maybe-install-html-libtool: install-html-libtool
19759 install-html-libtool: \
19760 configure-libtool \
19761 html-libtool
19762 @: $(MAKE); $(unstage)
19763 @[ -f ./libtool/Makefile ] || exit 0; \
19764 r=`${PWD_COMMAND}`; export r; \
19765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19766 $(HOST_EXPORTS) \
19767 for flag in $(EXTRA_HOST_FLAGS) ; do \
19768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19769 done; \
19770 echo "Doing install-html in libtool" ; \
19771 (cd $(HOST_SUBDIR)/libtool && \
19772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19774 "RANLIB=$${RANLIB}" \
19775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19776 install-html) \
19777 || exit 1
19779 @endif libtool
19781 .PHONY: maybe-installcheck-libtool installcheck-libtool
19782 maybe-installcheck-libtool:
19783 @if libtool
19784 maybe-installcheck-libtool: installcheck-libtool
19786 installcheck-libtool: \
19787 configure-libtool
19788 @: $(MAKE); $(unstage)
19789 @[ -f ./libtool/Makefile ] || exit 0; \
19790 r=`${PWD_COMMAND}`; export r; \
19791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19792 $(HOST_EXPORTS) \
19793 for flag in $(EXTRA_HOST_FLAGS) ; do \
19794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19795 done; \
19796 echo "Doing installcheck in libtool" ; \
19797 (cd $(HOST_SUBDIR)/libtool && \
19798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19800 "RANLIB=$${RANLIB}" \
19801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19802 installcheck) \
19803 || exit 1
19805 @endif libtool
19807 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
19808 maybe-mostlyclean-libtool:
19809 @if libtool
19810 maybe-mostlyclean-libtool: mostlyclean-libtool
19812 mostlyclean-libtool:
19813 @: $(MAKE); $(unstage)
19814 @[ -f ./libtool/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing mostlyclean in libtool" ; \
19822 (cd $(HOST_SUBDIR)/libtool && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19827 mostlyclean) \
19828 || exit 1
19830 @endif libtool
19832 .PHONY: maybe-clean-libtool clean-libtool
19833 maybe-clean-libtool:
19834 @if libtool
19835 maybe-clean-libtool: clean-libtool
19837 clean-libtool:
19838 @: $(MAKE); $(unstage)
19839 @[ -f ./libtool/Makefile ] || exit 0; \
19840 r=`${PWD_COMMAND}`; export r; \
19841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19842 $(HOST_EXPORTS) \
19843 for flag in $(EXTRA_HOST_FLAGS) ; do \
19844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19845 done; \
19846 echo "Doing clean in libtool" ; \
19847 (cd $(HOST_SUBDIR)/libtool && \
19848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19850 "RANLIB=$${RANLIB}" \
19851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19852 clean) \
19853 || exit 1
19855 @endif libtool
19857 .PHONY: maybe-distclean-libtool distclean-libtool
19858 maybe-distclean-libtool:
19859 @if libtool
19860 maybe-distclean-libtool: distclean-libtool
19862 distclean-libtool:
19863 @: $(MAKE); $(unstage)
19864 @[ -f ./libtool/Makefile ] || exit 0; \
19865 r=`${PWD_COMMAND}`; export r; \
19866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19867 $(HOST_EXPORTS) \
19868 for flag in $(EXTRA_HOST_FLAGS) ; do \
19869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19870 done; \
19871 echo "Doing distclean in libtool" ; \
19872 (cd $(HOST_SUBDIR)/libtool && \
19873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19875 "RANLIB=$${RANLIB}" \
19876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19877 distclean) \
19878 || exit 1
19880 @endif libtool
19882 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
19883 maybe-maintainer-clean-libtool:
19884 @if libtool
19885 maybe-maintainer-clean-libtool: maintainer-clean-libtool
19887 maintainer-clean-libtool:
19888 @: $(MAKE); $(unstage)
19889 @[ -f ./libtool/Makefile ] || exit 0; \
19890 r=`${PWD_COMMAND}`; export r; \
19891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19892 $(HOST_EXPORTS) \
19893 for flag in $(EXTRA_HOST_FLAGS) ; do \
19894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19895 done; \
19896 echo "Doing maintainer-clean in libtool" ; \
19897 (cd $(HOST_SUBDIR)/libtool && \
19898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19900 "RANLIB=$${RANLIB}" \
19901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19902 maintainer-clean) \
19903 || exit 1
19905 @endif libtool
19909 .PHONY: configure-m4 maybe-configure-m4
19910 maybe-configure-m4:
19911 @if m4
19912 maybe-configure-m4: configure-m4
19913 configure-m4:
19914 @: $(MAKE); $(unstage)
19915 @r=`${PWD_COMMAND}`; export r; \
19916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19917 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
19918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
19919 $(HOST_EXPORTS) \
19920 echo Configuring in $(HOST_SUBDIR)/m4; \
19921 cd "$(HOST_SUBDIR)/m4" || exit 1; \
19922 case $(srcdir) in \
19923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19924 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
19925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19926 esac; \
19927 srcdiroption="--srcdir=$${topdir}/m4"; \
19928 libsrcdir="$$s/m4"; \
19929 $(SHELL) $${libsrcdir}/configure \
19930 $(HOST_CONFIGARGS) $${srcdiroption} \
19931 || exit 1
19932 @endif m4
19938 .PHONY: all-m4 maybe-all-m4
19939 maybe-all-m4:
19940 @if m4
19941 TARGET-m4=all
19942 maybe-all-m4: all-m4
19943 all-m4: configure-m4
19944 @: $(MAKE); $(unstage)
19945 @r=`${PWD_COMMAND}`; export r; \
19946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19947 $(HOST_EXPORTS) \
19948 (cd $(HOST_SUBDIR)/m4 && \
19949 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
19950 @endif m4
19955 .PHONY: check-m4 maybe-check-m4
19956 maybe-check-m4:
19957 @if m4
19958 maybe-check-m4: check-m4
19960 check-m4:
19961 @: $(MAKE); $(unstage)
19962 @r=`${PWD_COMMAND}`; export r; \
19963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19964 $(HOST_EXPORTS) \
19965 (cd $(HOST_SUBDIR)/m4 && \
19966 $(MAKE) $(FLAGS_TO_PASS) check)
19968 @endif m4
19970 .PHONY: install-m4 maybe-install-m4
19971 maybe-install-m4:
19972 @if m4
19973 maybe-install-m4: install-m4
19975 install-m4: installdirs
19976 @: $(MAKE); $(unstage)
19977 @r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(HOST_EXPORTS) \
19980 (cd $(HOST_SUBDIR)/m4 && \
19981 $(MAKE) $(FLAGS_TO_PASS) install)
19983 @endif m4
19985 # Other targets (info, dvi, etc.)
19987 .PHONY: maybe-info-m4 info-m4
19988 maybe-info-m4:
19989 @if m4
19990 maybe-info-m4: info-m4
19992 info-m4: \
19993 configure-m4
19994 @: $(MAKE); $(unstage)
19995 @[ -f ./m4/Makefile ] || exit 0; \
19996 r=`${PWD_COMMAND}`; export r; \
19997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19998 $(HOST_EXPORTS) \
19999 for flag in $(EXTRA_HOST_FLAGS) ; do \
20000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20001 done; \
20002 echo "Doing info in m4" ; \
20003 (cd $(HOST_SUBDIR)/m4 && \
20004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20006 "RANLIB=$${RANLIB}" \
20007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20008 info) \
20009 || exit 1
20011 @endif m4
20013 .PHONY: maybe-dvi-m4 dvi-m4
20014 maybe-dvi-m4:
20015 @if m4
20016 maybe-dvi-m4: dvi-m4
20018 dvi-m4: \
20019 configure-m4
20020 @: $(MAKE); $(unstage)
20021 @[ -f ./m4/Makefile ] || exit 0; \
20022 r=`${PWD_COMMAND}`; export r; \
20023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20024 $(HOST_EXPORTS) \
20025 for flag in $(EXTRA_HOST_FLAGS) ; do \
20026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20027 done; \
20028 echo "Doing dvi in m4" ; \
20029 (cd $(HOST_SUBDIR)/m4 && \
20030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20032 "RANLIB=$${RANLIB}" \
20033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20034 dvi) \
20035 || exit 1
20037 @endif m4
20039 .PHONY: maybe-html-m4 html-m4
20040 maybe-html-m4:
20041 @if m4
20042 maybe-html-m4: html-m4
20044 html-m4: \
20045 configure-m4
20046 @: $(MAKE); $(unstage)
20047 @[ -f ./m4/Makefile ] || exit 0; \
20048 r=`${PWD_COMMAND}`; export r; \
20049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20050 $(HOST_EXPORTS) \
20051 for flag in $(EXTRA_HOST_FLAGS) ; do \
20052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20053 done; \
20054 echo "Doing html in m4" ; \
20055 (cd $(HOST_SUBDIR)/m4 && \
20056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20058 "RANLIB=$${RANLIB}" \
20059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20060 html) \
20061 || exit 1
20063 @endif m4
20065 .PHONY: maybe-TAGS-m4 TAGS-m4
20066 maybe-TAGS-m4:
20067 @if m4
20068 maybe-TAGS-m4: TAGS-m4
20070 TAGS-m4: \
20071 configure-m4
20072 @: $(MAKE); $(unstage)
20073 @[ -f ./m4/Makefile ] || exit 0; \
20074 r=`${PWD_COMMAND}`; export r; \
20075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20076 $(HOST_EXPORTS) \
20077 for flag in $(EXTRA_HOST_FLAGS) ; do \
20078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20079 done; \
20080 echo "Doing TAGS in m4" ; \
20081 (cd $(HOST_SUBDIR)/m4 && \
20082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20084 "RANLIB=$${RANLIB}" \
20085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20086 TAGS) \
20087 || exit 1
20089 @endif m4
20091 .PHONY: maybe-install-info-m4 install-info-m4
20092 maybe-install-info-m4:
20093 @if m4
20094 maybe-install-info-m4: install-info-m4
20096 install-info-m4: \
20097 configure-m4 \
20098 info-m4
20099 @: $(MAKE); $(unstage)
20100 @[ -f ./m4/Makefile ] || exit 0; \
20101 r=`${PWD_COMMAND}`; export r; \
20102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 $(HOST_EXPORTS) \
20104 for flag in $(EXTRA_HOST_FLAGS) ; do \
20105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20106 done; \
20107 echo "Doing install-info in m4" ; \
20108 (cd $(HOST_SUBDIR)/m4 && \
20109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20111 "RANLIB=$${RANLIB}" \
20112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20113 install-info) \
20114 || exit 1
20116 @endif m4
20118 .PHONY: maybe-install-html-m4 install-html-m4
20119 maybe-install-html-m4:
20120 @if m4
20121 maybe-install-html-m4: install-html-m4
20123 install-html-m4: \
20124 configure-m4 \
20125 html-m4
20126 @: $(MAKE); $(unstage)
20127 @[ -f ./m4/Makefile ] || exit 0; \
20128 r=`${PWD_COMMAND}`; export r; \
20129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20130 $(HOST_EXPORTS) \
20131 for flag in $(EXTRA_HOST_FLAGS) ; do \
20132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20133 done; \
20134 echo "Doing install-html in m4" ; \
20135 (cd $(HOST_SUBDIR)/m4 && \
20136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20138 "RANLIB=$${RANLIB}" \
20139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20140 install-html) \
20141 || exit 1
20143 @endif m4
20145 .PHONY: maybe-installcheck-m4 installcheck-m4
20146 maybe-installcheck-m4:
20147 @if m4
20148 maybe-installcheck-m4: installcheck-m4
20150 installcheck-m4: \
20151 configure-m4
20152 @: $(MAKE); $(unstage)
20153 @[ -f ./m4/Makefile ] || exit 0; \
20154 r=`${PWD_COMMAND}`; export r; \
20155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20156 $(HOST_EXPORTS) \
20157 for flag in $(EXTRA_HOST_FLAGS) ; do \
20158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20159 done; \
20160 echo "Doing installcheck in m4" ; \
20161 (cd $(HOST_SUBDIR)/m4 && \
20162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20164 "RANLIB=$${RANLIB}" \
20165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20166 installcheck) \
20167 || exit 1
20169 @endif m4
20171 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
20172 maybe-mostlyclean-m4:
20173 @if m4
20174 maybe-mostlyclean-m4: mostlyclean-m4
20176 mostlyclean-m4:
20177 @: $(MAKE); $(unstage)
20178 @[ -f ./m4/Makefile ] || exit 0; \
20179 r=`${PWD_COMMAND}`; export r; \
20180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20181 $(HOST_EXPORTS) \
20182 for flag in $(EXTRA_HOST_FLAGS) ; do \
20183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20184 done; \
20185 echo "Doing mostlyclean in m4" ; \
20186 (cd $(HOST_SUBDIR)/m4 && \
20187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20189 "RANLIB=$${RANLIB}" \
20190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20191 mostlyclean) \
20192 || exit 1
20194 @endif m4
20196 .PHONY: maybe-clean-m4 clean-m4
20197 maybe-clean-m4:
20198 @if m4
20199 maybe-clean-m4: clean-m4
20201 clean-m4:
20202 @: $(MAKE); $(unstage)
20203 @[ -f ./m4/Makefile ] || exit 0; \
20204 r=`${PWD_COMMAND}`; export r; \
20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206 $(HOST_EXPORTS) \
20207 for flag in $(EXTRA_HOST_FLAGS) ; do \
20208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20209 done; \
20210 echo "Doing clean in m4" ; \
20211 (cd $(HOST_SUBDIR)/m4 && \
20212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20214 "RANLIB=$${RANLIB}" \
20215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20216 clean) \
20217 || exit 1
20219 @endif m4
20221 .PHONY: maybe-distclean-m4 distclean-m4
20222 maybe-distclean-m4:
20223 @if m4
20224 maybe-distclean-m4: distclean-m4
20226 distclean-m4:
20227 @: $(MAKE); $(unstage)
20228 @[ -f ./m4/Makefile ] || exit 0; \
20229 r=`${PWD_COMMAND}`; export r; \
20230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20231 $(HOST_EXPORTS) \
20232 for flag in $(EXTRA_HOST_FLAGS) ; do \
20233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20234 done; \
20235 echo "Doing distclean in m4" ; \
20236 (cd $(HOST_SUBDIR)/m4 && \
20237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20239 "RANLIB=$${RANLIB}" \
20240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20241 distclean) \
20242 || exit 1
20244 @endif m4
20246 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
20247 maybe-maintainer-clean-m4:
20248 @if m4
20249 maybe-maintainer-clean-m4: maintainer-clean-m4
20251 maintainer-clean-m4:
20252 @: $(MAKE); $(unstage)
20253 @[ -f ./m4/Makefile ] || exit 0; \
20254 r=`${PWD_COMMAND}`; export r; \
20255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20256 $(HOST_EXPORTS) \
20257 for flag in $(EXTRA_HOST_FLAGS) ; do \
20258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20259 done; \
20260 echo "Doing maintainer-clean in m4" ; \
20261 (cd $(HOST_SUBDIR)/m4 && \
20262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20264 "RANLIB=$${RANLIB}" \
20265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20266 maintainer-clean) \
20267 || exit 1
20269 @endif m4
20273 .PHONY: configure-make maybe-configure-make
20274 maybe-configure-make:
20275 @if make
20276 maybe-configure-make: configure-make
20277 configure-make:
20278 @: $(MAKE); $(unstage)
20279 @r=`${PWD_COMMAND}`; export r; \
20280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20281 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
20282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
20283 $(HOST_EXPORTS) \
20284 echo Configuring in $(HOST_SUBDIR)/make; \
20285 cd "$(HOST_SUBDIR)/make" || exit 1; \
20286 case $(srcdir) in \
20287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20288 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
20289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20290 esac; \
20291 srcdiroption="--srcdir=$${topdir}/make"; \
20292 libsrcdir="$$s/make"; \
20293 $(SHELL) $${libsrcdir}/configure \
20294 $(HOST_CONFIGARGS) $${srcdiroption} \
20295 || exit 1
20296 @endif make
20302 .PHONY: all-make maybe-all-make
20303 maybe-all-make:
20304 @if make
20305 TARGET-make=all
20306 maybe-all-make: all-make
20307 all-make: configure-make
20308 @: $(MAKE); $(unstage)
20309 @r=`${PWD_COMMAND}`; export r; \
20310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20311 $(HOST_EXPORTS) \
20312 (cd $(HOST_SUBDIR)/make && \
20313 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
20314 @endif make
20319 .PHONY: check-make maybe-check-make
20320 maybe-check-make:
20321 @if make
20322 maybe-check-make: check-make
20324 check-make:
20325 @: $(MAKE); $(unstage)
20326 @r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 $(HOST_EXPORTS) \
20329 (cd $(HOST_SUBDIR)/make && \
20330 $(MAKE) $(FLAGS_TO_PASS) check)
20332 @endif make
20334 .PHONY: install-make maybe-install-make
20335 maybe-install-make:
20336 @if make
20337 maybe-install-make: install-make
20339 install-make: installdirs
20340 @: $(MAKE); $(unstage)
20341 @r=`${PWD_COMMAND}`; export r; \
20342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 $(HOST_EXPORTS) \
20344 (cd $(HOST_SUBDIR)/make && \
20345 $(MAKE) $(FLAGS_TO_PASS) install)
20347 @endif make
20349 # Other targets (info, dvi, etc.)
20351 .PHONY: maybe-info-make info-make
20352 maybe-info-make:
20353 @if make
20354 maybe-info-make: info-make
20356 info-make: \
20357 configure-make
20358 @: $(MAKE); $(unstage)
20359 @[ -f ./make/Makefile ] || exit 0; \
20360 r=`${PWD_COMMAND}`; export r; \
20361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20362 $(HOST_EXPORTS) \
20363 for flag in $(EXTRA_HOST_FLAGS) ; do \
20364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20365 done; \
20366 echo "Doing info in make" ; \
20367 (cd $(HOST_SUBDIR)/make && \
20368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20370 "RANLIB=$${RANLIB}" \
20371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20372 info) \
20373 || exit 1
20375 @endif make
20377 .PHONY: maybe-dvi-make dvi-make
20378 maybe-dvi-make:
20379 @if make
20380 maybe-dvi-make: dvi-make
20382 dvi-make: \
20383 configure-make
20384 @: $(MAKE); $(unstage)
20385 @[ -f ./make/Makefile ] || exit 0; \
20386 r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 $(HOST_EXPORTS) \
20389 for flag in $(EXTRA_HOST_FLAGS) ; do \
20390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 done; \
20392 echo "Doing dvi in make" ; \
20393 (cd $(HOST_SUBDIR)/make && \
20394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20396 "RANLIB=$${RANLIB}" \
20397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20398 dvi) \
20399 || exit 1
20401 @endif make
20403 .PHONY: maybe-html-make html-make
20404 maybe-html-make:
20405 @if make
20406 maybe-html-make: html-make
20408 html-make: \
20409 configure-make
20410 @: $(MAKE); $(unstage)
20411 @[ -f ./make/Makefile ] || exit 0; \
20412 r=`${PWD_COMMAND}`; export r; \
20413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20414 $(HOST_EXPORTS) \
20415 for flag in $(EXTRA_HOST_FLAGS) ; do \
20416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20417 done; \
20418 echo "Doing html in make" ; \
20419 (cd $(HOST_SUBDIR)/make && \
20420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20422 "RANLIB=$${RANLIB}" \
20423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20424 html) \
20425 || exit 1
20427 @endif make
20429 .PHONY: maybe-TAGS-make TAGS-make
20430 maybe-TAGS-make:
20431 @if make
20432 maybe-TAGS-make: TAGS-make
20434 TAGS-make: \
20435 configure-make
20436 @: $(MAKE); $(unstage)
20437 @[ -f ./make/Makefile ] || exit 0; \
20438 r=`${PWD_COMMAND}`; export r; \
20439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20440 $(HOST_EXPORTS) \
20441 for flag in $(EXTRA_HOST_FLAGS) ; do \
20442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20443 done; \
20444 echo "Doing TAGS in make" ; \
20445 (cd $(HOST_SUBDIR)/make && \
20446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20448 "RANLIB=$${RANLIB}" \
20449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20450 TAGS) \
20451 || exit 1
20453 @endif make
20455 .PHONY: maybe-install-info-make install-info-make
20456 maybe-install-info-make:
20457 @if make
20458 maybe-install-info-make: install-info-make
20460 install-info-make: \
20461 configure-make \
20462 info-make
20463 @: $(MAKE); $(unstage)
20464 @[ -f ./make/Makefile ] || exit 0; \
20465 r=`${PWD_COMMAND}`; export r; \
20466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20467 $(HOST_EXPORTS) \
20468 for flag in $(EXTRA_HOST_FLAGS) ; do \
20469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20470 done; \
20471 echo "Doing install-info in make" ; \
20472 (cd $(HOST_SUBDIR)/make && \
20473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20475 "RANLIB=$${RANLIB}" \
20476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20477 install-info) \
20478 || exit 1
20480 @endif make
20482 .PHONY: maybe-install-html-make install-html-make
20483 maybe-install-html-make:
20484 @if make
20485 maybe-install-html-make: install-html-make
20487 install-html-make: \
20488 configure-make \
20489 html-make
20490 @: $(MAKE); $(unstage)
20491 @[ -f ./make/Makefile ] || exit 0; \
20492 r=`${PWD_COMMAND}`; export r; \
20493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20494 $(HOST_EXPORTS) \
20495 for flag in $(EXTRA_HOST_FLAGS) ; do \
20496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20497 done; \
20498 echo "Doing install-html in make" ; \
20499 (cd $(HOST_SUBDIR)/make && \
20500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20502 "RANLIB=$${RANLIB}" \
20503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20504 install-html) \
20505 || exit 1
20507 @endif make
20509 .PHONY: maybe-installcheck-make installcheck-make
20510 maybe-installcheck-make:
20511 @if make
20512 maybe-installcheck-make: installcheck-make
20514 installcheck-make: \
20515 configure-make
20516 @: $(MAKE); $(unstage)
20517 @[ -f ./make/Makefile ] || exit 0; \
20518 r=`${PWD_COMMAND}`; export r; \
20519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 $(HOST_EXPORTS) \
20521 for flag in $(EXTRA_HOST_FLAGS) ; do \
20522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20523 done; \
20524 echo "Doing installcheck in make" ; \
20525 (cd $(HOST_SUBDIR)/make && \
20526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20528 "RANLIB=$${RANLIB}" \
20529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20530 installcheck) \
20531 || exit 1
20533 @endif make
20535 .PHONY: maybe-mostlyclean-make mostlyclean-make
20536 maybe-mostlyclean-make:
20537 @if make
20538 maybe-mostlyclean-make: mostlyclean-make
20540 mostlyclean-make:
20541 @: $(MAKE); $(unstage)
20542 @[ -f ./make/Makefile ] || exit 0; \
20543 r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 $(HOST_EXPORTS) \
20546 for flag in $(EXTRA_HOST_FLAGS) ; do \
20547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20548 done; \
20549 echo "Doing mostlyclean in make" ; \
20550 (cd $(HOST_SUBDIR)/make && \
20551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20553 "RANLIB=$${RANLIB}" \
20554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20555 mostlyclean) \
20556 || exit 1
20558 @endif make
20560 .PHONY: maybe-clean-make clean-make
20561 maybe-clean-make:
20562 @if make
20563 maybe-clean-make: clean-make
20565 clean-make:
20566 @: $(MAKE); $(unstage)
20567 @[ -f ./make/Makefile ] || exit 0; \
20568 r=`${PWD_COMMAND}`; export r; \
20569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20570 $(HOST_EXPORTS) \
20571 for flag in $(EXTRA_HOST_FLAGS) ; do \
20572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20573 done; \
20574 echo "Doing clean in make" ; \
20575 (cd $(HOST_SUBDIR)/make && \
20576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20578 "RANLIB=$${RANLIB}" \
20579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20580 clean) \
20581 || exit 1
20583 @endif make
20585 .PHONY: maybe-distclean-make distclean-make
20586 maybe-distclean-make:
20587 @if make
20588 maybe-distclean-make: distclean-make
20590 distclean-make:
20591 @: $(MAKE); $(unstage)
20592 @[ -f ./make/Makefile ] || exit 0; \
20593 r=`${PWD_COMMAND}`; export r; \
20594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595 $(HOST_EXPORTS) \
20596 for flag in $(EXTRA_HOST_FLAGS) ; do \
20597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20598 done; \
20599 echo "Doing distclean in make" ; \
20600 (cd $(HOST_SUBDIR)/make && \
20601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20603 "RANLIB=$${RANLIB}" \
20604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20605 distclean) \
20606 || exit 1
20608 @endif make
20610 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
20611 maybe-maintainer-clean-make:
20612 @if make
20613 maybe-maintainer-clean-make: maintainer-clean-make
20615 maintainer-clean-make:
20616 @: $(MAKE); $(unstage)
20617 @[ -f ./make/Makefile ] || exit 0; \
20618 r=`${PWD_COMMAND}`; export r; \
20619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20620 $(HOST_EXPORTS) \
20621 for flag in $(EXTRA_HOST_FLAGS) ; do \
20622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20623 done; \
20624 echo "Doing maintainer-clean in make" ; \
20625 (cd $(HOST_SUBDIR)/make && \
20626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20628 "RANLIB=$${RANLIB}" \
20629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20630 maintainer-clean) \
20631 || exit 1
20633 @endif make
20637 .PHONY: configure-mmalloc maybe-configure-mmalloc
20638 maybe-configure-mmalloc:
20639 @if mmalloc
20640 maybe-configure-mmalloc: configure-mmalloc
20641 configure-mmalloc:
20642 @: $(MAKE); $(unstage)
20643 @r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
20646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
20647 $(HOST_EXPORTS) \
20648 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
20649 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
20650 case $(srcdir) in \
20651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20652 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
20653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20654 esac; \
20655 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
20656 libsrcdir="$$s/mmalloc"; \
20657 $(SHELL) $${libsrcdir}/configure \
20658 $(HOST_CONFIGARGS) $${srcdiroption} \
20659 || exit 1
20660 @endif mmalloc
20666 .PHONY: all-mmalloc maybe-all-mmalloc
20667 maybe-all-mmalloc:
20668 @if mmalloc
20669 TARGET-mmalloc=all
20670 maybe-all-mmalloc: all-mmalloc
20671 all-mmalloc: configure-mmalloc
20672 @: $(MAKE); $(unstage)
20673 @r=`${PWD_COMMAND}`; export r; \
20674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20675 $(HOST_EXPORTS) \
20676 (cd $(HOST_SUBDIR)/mmalloc && \
20677 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
20678 @endif mmalloc
20683 .PHONY: check-mmalloc maybe-check-mmalloc
20684 maybe-check-mmalloc:
20685 @if mmalloc
20686 maybe-check-mmalloc: check-mmalloc
20688 check-mmalloc:
20690 @endif mmalloc
20692 .PHONY: install-mmalloc maybe-install-mmalloc
20693 maybe-install-mmalloc:
20694 @if mmalloc
20695 maybe-install-mmalloc: install-mmalloc
20697 install-mmalloc: installdirs
20698 @: $(MAKE); $(unstage)
20699 @r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 $(HOST_EXPORTS) \
20702 (cd $(HOST_SUBDIR)/mmalloc && \
20703 $(MAKE) $(FLAGS_TO_PASS) install)
20705 @endif mmalloc
20707 # Other targets (info, dvi, etc.)
20709 .PHONY: maybe-info-mmalloc info-mmalloc
20710 maybe-info-mmalloc:
20711 @if mmalloc
20712 maybe-info-mmalloc: info-mmalloc
20714 info-mmalloc: \
20715 configure-mmalloc
20716 @: $(MAKE); $(unstage)
20717 @[ -f ./mmalloc/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 info in mmalloc" ; \
20725 (cd $(HOST_SUBDIR)/mmalloc && \
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 info) \
20731 || exit 1
20733 @endif mmalloc
20735 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
20736 maybe-dvi-mmalloc:
20737 @if mmalloc
20738 maybe-dvi-mmalloc: dvi-mmalloc
20740 dvi-mmalloc: \
20741 configure-mmalloc
20742 @: $(MAKE); $(unstage)
20743 @[ -f ./mmalloc/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 dvi in mmalloc" ; \
20751 (cd $(HOST_SUBDIR)/mmalloc && \
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 dvi) \
20757 || exit 1
20759 @endif mmalloc
20761 .PHONY: maybe-html-mmalloc html-mmalloc
20762 maybe-html-mmalloc:
20763 @if mmalloc
20764 maybe-html-mmalloc: html-mmalloc
20766 html-mmalloc: \
20767 configure-mmalloc
20768 @: $(MAKE); $(unstage)
20769 @[ -f ./mmalloc/Makefile ] || exit 0; \
20770 r=`${PWD_COMMAND}`; export r; \
20771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20772 $(HOST_EXPORTS) \
20773 for flag in $(EXTRA_HOST_FLAGS) ; do \
20774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20775 done; \
20776 echo "Doing html in mmalloc" ; \
20777 (cd $(HOST_SUBDIR)/mmalloc && \
20778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20780 "RANLIB=$${RANLIB}" \
20781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20782 html) \
20783 || exit 1
20785 @endif mmalloc
20787 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
20788 maybe-TAGS-mmalloc:
20789 @if mmalloc
20790 maybe-TAGS-mmalloc: TAGS-mmalloc
20792 TAGS-mmalloc: \
20793 configure-mmalloc
20794 @: $(MAKE); $(unstage)
20795 @[ -f ./mmalloc/Makefile ] || exit 0; \
20796 r=`${PWD_COMMAND}`; export r; \
20797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20798 $(HOST_EXPORTS) \
20799 for flag in $(EXTRA_HOST_FLAGS) ; do \
20800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20801 done; \
20802 echo "Doing TAGS in mmalloc" ; \
20803 (cd $(HOST_SUBDIR)/mmalloc && \
20804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20806 "RANLIB=$${RANLIB}" \
20807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20808 TAGS) \
20809 || exit 1
20811 @endif mmalloc
20813 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
20814 maybe-install-info-mmalloc:
20815 @if mmalloc
20816 maybe-install-info-mmalloc: install-info-mmalloc
20818 install-info-mmalloc: \
20819 configure-mmalloc \
20820 info-mmalloc
20821 @: $(MAKE); $(unstage)
20822 @[ -f ./mmalloc/Makefile ] || exit 0; \
20823 r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20825 $(HOST_EXPORTS) \
20826 for flag in $(EXTRA_HOST_FLAGS) ; do \
20827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20828 done; \
20829 echo "Doing install-info in mmalloc" ; \
20830 (cd $(HOST_SUBDIR)/mmalloc && \
20831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20833 "RANLIB=$${RANLIB}" \
20834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20835 install-info) \
20836 || exit 1
20838 @endif mmalloc
20840 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
20841 maybe-install-html-mmalloc:
20842 @if mmalloc
20843 maybe-install-html-mmalloc: install-html-mmalloc
20845 install-html-mmalloc: \
20846 configure-mmalloc \
20847 html-mmalloc
20848 @: $(MAKE); $(unstage)
20849 @[ -f ./mmalloc/Makefile ] || exit 0; \
20850 r=`${PWD_COMMAND}`; export r; \
20851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20852 $(HOST_EXPORTS) \
20853 for flag in $(EXTRA_HOST_FLAGS) ; do \
20854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20855 done; \
20856 echo "Doing install-html in mmalloc" ; \
20857 (cd $(HOST_SUBDIR)/mmalloc && \
20858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20860 "RANLIB=$${RANLIB}" \
20861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20862 install-html) \
20863 || exit 1
20865 @endif mmalloc
20867 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
20868 maybe-installcheck-mmalloc:
20869 @if mmalloc
20870 maybe-installcheck-mmalloc: installcheck-mmalloc
20872 installcheck-mmalloc: \
20873 configure-mmalloc
20874 @: $(MAKE); $(unstage)
20875 @[ -f ./mmalloc/Makefile ] || exit 0; \
20876 r=`${PWD_COMMAND}`; export r; \
20877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20878 $(HOST_EXPORTS) \
20879 for flag in $(EXTRA_HOST_FLAGS) ; do \
20880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20881 done; \
20882 echo "Doing installcheck in mmalloc" ; \
20883 (cd $(HOST_SUBDIR)/mmalloc && \
20884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20886 "RANLIB=$${RANLIB}" \
20887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20888 installcheck) \
20889 || exit 1
20891 @endif mmalloc
20893 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
20894 maybe-mostlyclean-mmalloc:
20895 @if mmalloc
20896 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
20898 mostlyclean-mmalloc:
20899 @: $(MAKE); $(unstage)
20900 @[ -f ./mmalloc/Makefile ] || exit 0; \
20901 r=`${PWD_COMMAND}`; export r; \
20902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20903 $(HOST_EXPORTS) \
20904 for flag in $(EXTRA_HOST_FLAGS) ; do \
20905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20906 done; \
20907 echo "Doing mostlyclean in mmalloc" ; \
20908 (cd $(HOST_SUBDIR)/mmalloc && \
20909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20911 "RANLIB=$${RANLIB}" \
20912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20913 mostlyclean) \
20914 || exit 1
20916 @endif mmalloc
20918 .PHONY: maybe-clean-mmalloc clean-mmalloc
20919 maybe-clean-mmalloc:
20920 @if mmalloc
20921 maybe-clean-mmalloc: clean-mmalloc
20923 clean-mmalloc:
20924 @: $(MAKE); $(unstage)
20925 @[ -f ./mmalloc/Makefile ] || exit 0; \
20926 r=`${PWD_COMMAND}`; export r; \
20927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20928 $(HOST_EXPORTS) \
20929 for flag in $(EXTRA_HOST_FLAGS) ; do \
20930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20931 done; \
20932 echo "Doing clean in mmalloc" ; \
20933 (cd $(HOST_SUBDIR)/mmalloc && \
20934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20936 "RANLIB=$${RANLIB}" \
20937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20938 clean) \
20939 || exit 1
20941 @endif mmalloc
20943 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
20944 maybe-distclean-mmalloc:
20945 @if mmalloc
20946 maybe-distclean-mmalloc: distclean-mmalloc
20948 distclean-mmalloc:
20949 @: $(MAKE); $(unstage)
20950 @[ -f ./mmalloc/Makefile ] || exit 0; \
20951 r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953 $(HOST_EXPORTS) \
20954 for flag in $(EXTRA_HOST_FLAGS) ; do \
20955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20956 done; \
20957 echo "Doing distclean in mmalloc" ; \
20958 (cd $(HOST_SUBDIR)/mmalloc && \
20959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20961 "RANLIB=$${RANLIB}" \
20962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20963 distclean) \
20964 || exit 1
20966 @endif mmalloc
20968 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
20969 maybe-maintainer-clean-mmalloc:
20970 @if mmalloc
20971 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
20973 maintainer-clean-mmalloc:
20974 @: $(MAKE); $(unstage)
20975 @[ -f ./mmalloc/Makefile ] || exit 0; \
20976 r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20978 $(HOST_EXPORTS) \
20979 for flag in $(EXTRA_HOST_FLAGS) ; do \
20980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20981 done; \
20982 echo "Doing maintainer-clean in mmalloc" ; \
20983 (cd $(HOST_SUBDIR)/mmalloc && \
20984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20986 "RANLIB=$${RANLIB}" \
20987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20988 maintainer-clean) \
20989 || exit 1
20991 @endif mmalloc
20995 .PHONY: configure-patch maybe-configure-patch
20996 maybe-configure-patch:
20997 @if patch
20998 maybe-configure-patch: configure-patch
20999 configure-patch:
21000 @: $(MAKE); $(unstage)
21001 @r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
21004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
21005 $(HOST_EXPORTS) \
21006 echo Configuring in $(HOST_SUBDIR)/patch; \
21007 cd "$(HOST_SUBDIR)/patch" || exit 1; \
21008 case $(srcdir) in \
21009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21010 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
21011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21012 esac; \
21013 srcdiroption="--srcdir=$${topdir}/patch"; \
21014 libsrcdir="$$s/patch"; \
21015 $(SHELL) $${libsrcdir}/configure \
21016 $(HOST_CONFIGARGS) $${srcdiroption} \
21017 || exit 1
21018 @endif patch
21024 .PHONY: all-patch maybe-all-patch
21025 maybe-all-patch:
21026 @if patch
21027 TARGET-patch=all
21028 maybe-all-patch: all-patch
21029 all-patch: configure-patch
21030 @: $(MAKE); $(unstage)
21031 @r=`${PWD_COMMAND}`; export r; \
21032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21033 $(HOST_EXPORTS) \
21034 (cd $(HOST_SUBDIR)/patch && \
21035 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
21036 @endif patch
21041 .PHONY: check-patch maybe-check-patch
21042 maybe-check-patch:
21043 @if patch
21044 maybe-check-patch: check-patch
21046 check-patch:
21047 @: $(MAKE); $(unstage)
21048 @r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21050 $(HOST_EXPORTS) \
21051 (cd $(HOST_SUBDIR)/patch && \
21052 $(MAKE) $(FLAGS_TO_PASS) check)
21054 @endif patch
21056 .PHONY: install-patch maybe-install-patch
21057 maybe-install-patch:
21058 @if patch
21059 maybe-install-patch: install-patch
21061 install-patch: installdirs
21062 @: $(MAKE); $(unstage)
21063 @r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(HOST_EXPORTS) \
21066 (cd $(HOST_SUBDIR)/patch && \
21067 $(MAKE) $(FLAGS_TO_PASS) install)
21069 @endif patch
21071 # Other targets (info, dvi, etc.)
21073 .PHONY: maybe-info-patch info-patch
21074 maybe-info-patch:
21075 @if patch
21076 maybe-info-patch: info-patch
21078 info-patch: \
21079 configure-patch
21080 @: $(MAKE); $(unstage)
21081 @[ -f ./patch/Makefile ] || exit 0; \
21082 r=`${PWD_COMMAND}`; export r; \
21083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21084 $(HOST_EXPORTS) \
21085 for flag in $(EXTRA_HOST_FLAGS) ; do \
21086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21087 done; \
21088 echo "Doing info in patch" ; \
21089 (cd $(HOST_SUBDIR)/patch && \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21092 "RANLIB=$${RANLIB}" \
21093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21094 info) \
21095 || exit 1
21097 @endif patch
21099 .PHONY: maybe-dvi-patch dvi-patch
21100 maybe-dvi-patch:
21101 @if patch
21102 maybe-dvi-patch: dvi-patch
21104 dvi-patch: \
21105 configure-patch
21106 @: $(MAKE); $(unstage)
21107 @[ -f ./patch/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 dvi in patch" ; \
21115 (cd $(HOST_SUBDIR)/patch && \
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 dvi) \
21121 || exit 1
21123 @endif patch
21125 .PHONY: maybe-html-patch html-patch
21126 maybe-html-patch:
21127 @if patch
21128 maybe-html-patch: html-patch
21130 html-patch: \
21131 configure-patch
21132 @: $(MAKE); $(unstage)
21133 @[ -f ./patch/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 html in patch" ; \
21141 (cd $(HOST_SUBDIR)/patch && \
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 html) \
21147 || exit 1
21149 @endif patch
21151 .PHONY: maybe-TAGS-patch TAGS-patch
21152 maybe-TAGS-patch:
21153 @if patch
21154 maybe-TAGS-patch: TAGS-patch
21156 TAGS-patch: \
21157 configure-patch
21158 @: $(MAKE); $(unstage)
21159 @[ -f ./patch/Makefile ] || exit 0; \
21160 r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21162 $(HOST_EXPORTS) \
21163 for flag in $(EXTRA_HOST_FLAGS) ; do \
21164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21165 done; \
21166 echo "Doing TAGS in patch" ; \
21167 (cd $(HOST_SUBDIR)/patch && \
21168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21170 "RANLIB=$${RANLIB}" \
21171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21172 TAGS) \
21173 || exit 1
21175 @endif patch
21177 .PHONY: maybe-install-info-patch install-info-patch
21178 maybe-install-info-patch:
21179 @if patch
21180 maybe-install-info-patch: install-info-patch
21182 install-info-patch: \
21183 configure-patch \
21184 info-patch
21185 @: $(MAKE); $(unstage)
21186 @[ -f ./patch/Makefile ] || exit 0; \
21187 r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(HOST_EXPORTS) \
21190 for flag in $(EXTRA_HOST_FLAGS) ; do \
21191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21192 done; \
21193 echo "Doing install-info in patch" ; \
21194 (cd $(HOST_SUBDIR)/patch && \
21195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21197 "RANLIB=$${RANLIB}" \
21198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21199 install-info) \
21200 || exit 1
21202 @endif patch
21204 .PHONY: maybe-install-html-patch install-html-patch
21205 maybe-install-html-patch:
21206 @if patch
21207 maybe-install-html-patch: install-html-patch
21209 install-html-patch: \
21210 configure-patch \
21211 html-patch
21212 @: $(MAKE); $(unstage)
21213 @[ -f ./patch/Makefile ] || exit 0; \
21214 r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216 $(HOST_EXPORTS) \
21217 for flag in $(EXTRA_HOST_FLAGS) ; do \
21218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21219 done; \
21220 echo "Doing install-html in patch" ; \
21221 (cd $(HOST_SUBDIR)/patch && \
21222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21224 "RANLIB=$${RANLIB}" \
21225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21226 install-html) \
21227 || exit 1
21229 @endif patch
21231 .PHONY: maybe-installcheck-patch installcheck-patch
21232 maybe-installcheck-patch:
21233 @if patch
21234 maybe-installcheck-patch: installcheck-patch
21236 installcheck-patch: \
21237 configure-patch
21238 @: $(MAKE); $(unstage)
21239 @[ -f ./patch/Makefile ] || exit 0; \
21240 r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(HOST_EXPORTS) \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21245 done; \
21246 echo "Doing installcheck in patch" ; \
21247 (cd $(HOST_SUBDIR)/patch && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21252 installcheck) \
21253 || exit 1
21255 @endif patch
21257 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
21258 maybe-mostlyclean-patch:
21259 @if patch
21260 maybe-mostlyclean-patch: mostlyclean-patch
21262 mostlyclean-patch:
21263 @: $(MAKE); $(unstage)
21264 @[ -f ./patch/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21267 $(HOST_EXPORTS) \
21268 for flag in $(EXTRA_HOST_FLAGS) ; do \
21269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21270 done; \
21271 echo "Doing mostlyclean in patch" ; \
21272 (cd $(HOST_SUBDIR)/patch && \
21273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21275 "RANLIB=$${RANLIB}" \
21276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21277 mostlyclean) \
21278 || exit 1
21280 @endif patch
21282 .PHONY: maybe-clean-patch clean-patch
21283 maybe-clean-patch:
21284 @if patch
21285 maybe-clean-patch: clean-patch
21287 clean-patch:
21288 @: $(MAKE); $(unstage)
21289 @[ -f ./patch/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(HOST_EXPORTS) \
21293 for flag in $(EXTRA_HOST_FLAGS) ; do \
21294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21295 done; \
21296 echo "Doing clean in patch" ; \
21297 (cd $(HOST_SUBDIR)/patch && \
21298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21300 "RANLIB=$${RANLIB}" \
21301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21302 clean) \
21303 || exit 1
21305 @endif patch
21307 .PHONY: maybe-distclean-patch distclean-patch
21308 maybe-distclean-patch:
21309 @if patch
21310 maybe-distclean-patch: distclean-patch
21312 distclean-patch:
21313 @: $(MAKE); $(unstage)
21314 @[ -f ./patch/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(HOST_EXPORTS) \
21318 for flag in $(EXTRA_HOST_FLAGS) ; do \
21319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21320 done; \
21321 echo "Doing distclean in patch" ; \
21322 (cd $(HOST_SUBDIR)/patch && \
21323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21325 "RANLIB=$${RANLIB}" \
21326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21327 distclean) \
21328 || exit 1
21330 @endif patch
21332 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
21333 maybe-maintainer-clean-patch:
21334 @if patch
21335 maybe-maintainer-clean-patch: maintainer-clean-patch
21337 maintainer-clean-patch:
21338 @: $(MAKE); $(unstage)
21339 @[ -f ./patch/Makefile ] || exit 0; \
21340 r=`${PWD_COMMAND}`; export r; \
21341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21342 $(HOST_EXPORTS) \
21343 for flag in $(EXTRA_HOST_FLAGS) ; do \
21344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21345 done; \
21346 echo "Doing maintainer-clean in patch" ; \
21347 (cd $(HOST_SUBDIR)/patch && \
21348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21350 "RANLIB=$${RANLIB}" \
21351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21352 maintainer-clean) \
21353 || exit 1
21355 @endif patch
21359 .PHONY: configure-perl maybe-configure-perl
21360 maybe-configure-perl:
21361 @if perl
21362 maybe-configure-perl: configure-perl
21363 configure-perl:
21364 @: $(MAKE); $(unstage)
21365 @r=`${PWD_COMMAND}`; export r; \
21366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21367 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
21368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
21369 $(HOST_EXPORTS) \
21370 echo Configuring in $(HOST_SUBDIR)/perl; \
21371 cd "$(HOST_SUBDIR)/perl" || exit 1; \
21372 case $(srcdir) in \
21373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21374 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
21375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21376 esac; \
21377 srcdiroption="--srcdir=$${topdir}/perl"; \
21378 libsrcdir="$$s/perl"; \
21379 $(SHELL) $${libsrcdir}/configure \
21380 $(HOST_CONFIGARGS) $${srcdiroption} \
21381 || exit 1
21382 @endif perl
21388 .PHONY: all-perl maybe-all-perl
21389 maybe-all-perl:
21390 @if perl
21391 TARGET-perl=all
21392 maybe-all-perl: all-perl
21393 all-perl: configure-perl
21394 @: $(MAKE); $(unstage)
21395 @r=`${PWD_COMMAND}`; export r; \
21396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21397 $(HOST_EXPORTS) \
21398 (cd $(HOST_SUBDIR)/perl && \
21399 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
21400 @endif perl
21405 .PHONY: check-perl maybe-check-perl
21406 maybe-check-perl:
21407 @if perl
21408 maybe-check-perl: check-perl
21410 check-perl:
21411 @: $(MAKE); $(unstage)
21412 @r=`${PWD_COMMAND}`; export r; \
21413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 $(HOST_EXPORTS) \
21415 (cd $(HOST_SUBDIR)/perl && \
21416 $(MAKE) $(FLAGS_TO_PASS) check)
21418 @endif perl
21420 .PHONY: install-perl maybe-install-perl
21421 maybe-install-perl:
21422 @if perl
21423 maybe-install-perl: install-perl
21425 install-perl: installdirs
21426 @: $(MAKE); $(unstage)
21427 @r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(HOST_EXPORTS) \
21430 (cd $(HOST_SUBDIR)/perl && \
21431 $(MAKE) $(FLAGS_TO_PASS) install)
21433 @endif perl
21435 # Other targets (info, dvi, etc.)
21437 .PHONY: maybe-info-perl info-perl
21438 maybe-info-perl:
21439 @if perl
21440 maybe-info-perl: info-perl
21442 info-perl: \
21443 configure-perl
21444 @: $(MAKE); $(unstage)
21445 @[ -f ./perl/Makefile ] || exit 0; \
21446 r=`${PWD_COMMAND}`; export r; \
21447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21448 $(HOST_EXPORTS) \
21449 for flag in $(EXTRA_HOST_FLAGS) ; do \
21450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21451 done; \
21452 echo "Doing info in perl" ; \
21453 (cd $(HOST_SUBDIR)/perl && \
21454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21456 "RANLIB=$${RANLIB}" \
21457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21458 info) \
21459 || exit 1
21461 @endif perl
21463 .PHONY: maybe-dvi-perl dvi-perl
21464 maybe-dvi-perl:
21465 @if perl
21466 maybe-dvi-perl: dvi-perl
21468 dvi-perl: \
21469 configure-perl
21470 @: $(MAKE); $(unstage)
21471 @[ -f ./perl/Makefile ] || exit 0; \
21472 r=`${PWD_COMMAND}`; export r; \
21473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21474 $(HOST_EXPORTS) \
21475 for flag in $(EXTRA_HOST_FLAGS) ; do \
21476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21477 done; \
21478 echo "Doing dvi in perl" ; \
21479 (cd $(HOST_SUBDIR)/perl && \
21480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21482 "RANLIB=$${RANLIB}" \
21483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21484 dvi) \
21485 || exit 1
21487 @endif perl
21489 .PHONY: maybe-html-perl html-perl
21490 maybe-html-perl:
21491 @if perl
21492 maybe-html-perl: html-perl
21494 html-perl: \
21495 configure-perl
21496 @: $(MAKE); $(unstage)
21497 @[ -f ./perl/Makefile ] || exit 0; \
21498 r=`${PWD_COMMAND}`; export r; \
21499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21500 $(HOST_EXPORTS) \
21501 for flag in $(EXTRA_HOST_FLAGS) ; do \
21502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21503 done; \
21504 echo "Doing html in perl" ; \
21505 (cd $(HOST_SUBDIR)/perl && \
21506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21508 "RANLIB=$${RANLIB}" \
21509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21510 html) \
21511 || exit 1
21513 @endif perl
21515 .PHONY: maybe-TAGS-perl TAGS-perl
21516 maybe-TAGS-perl:
21517 @if perl
21518 maybe-TAGS-perl: TAGS-perl
21520 TAGS-perl: \
21521 configure-perl
21522 @: $(MAKE); $(unstage)
21523 @[ -f ./perl/Makefile ] || exit 0; \
21524 r=`${PWD_COMMAND}`; export r; \
21525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21526 $(HOST_EXPORTS) \
21527 for flag in $(EXTRA_HOST_FLAGS) ; do \
21528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21529 done; \
21530 echo "Doing TAGS in perl" ; \
21531 (cd $(HOST_SUBDIR)/perl && \
21532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21534 "RANLIB=$${RANLIB}" \
21535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21536 TAGS) \
21537 || exit 1
21539 @endif perl
21541 .PHONY: maybe-install-info-perl install-info-perl
21542 maybe-install-info-perl:
21543 @if perl
21544 maybe-install-info-perl: install-info-perl
21546 install-info-perl: \
21547 configure-perl \
21548 info-perl
21549 @: $(MAKE); $(unstage)
21550 @[ -f ./perl/Makefile ] || exit 0; \
21551 r=`${PWD_COMMAND}`; export r; \
21552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21553 $(HOST_EXPORTS) \
21554 for flag in $(EXTRA_HOST_FLAGS) ; do \
21555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21556 done; \
21557 echo "Doing install-info in perl" ; \
21558 (cd $(HOST_SUBDIR)/perl && \
21559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21561 "RANLIB=$${RANLIB}" \
21562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21563 install-info) \
21564 || exit 1
21566 @endif perl
21568 .PHONY: maybe-install-html-perl install-html-perl
21569 maybe-install-html-perl:
21570 @if perl
21571 maybe-install-html-perl: install-html-perl
21573 install-html-perl: \
21574 configure-perl \
21575 html-perl
21576 @: $(MAKE); $(unstage)
21577 @[ -f ./perl/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 for flag in $(EXTRA_HOST_FLAGS) ; do \
21582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 done; \
21584 echo "Doing install-html in perl" ; \
21585 (cd $(HOST_SUBDIR)/perl && \
21586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21588 "RANLIB=$${RANLIB}" \
21589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21590 install-html) \
21591 || exit 1
21593 @endif perl
21595 .PHONY: maybe-installcheck-perl installcheck-perl
21596 maybe-installcheck-perl:
21597 @if perl
21598 maybe-installcheck-perl: installcheck-perl
21600 installcheck-perl: \
21601 configure-perl
21602 @: $(MAKE); $(unstage)
21603 @[ -f ./perl/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(HOST_EXPORTS) \
21607 for flag in $(EXTRA_HOST_FLAGS) ; do \
21608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21609 done; \
21610 echo "Doing installcheck in perl" ; \
21611 (cd $(HOST_SUBDIR)/perl && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21614 "RANLIB=$${RANLIB}" \
21615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21616 installcheck) \
21617 || exit 1
21619 @endif perl
21621 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
21622 maybe-mostlyclean-perl:
21623 @if perl
21624 maybe-mostlyclean-perl: mostlyclean-perl
21626 mostlyclean-perl:
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./perl/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing mostlyclean in perl" ; \
21636 (cd $(HOST_SUBDIR)/perl && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21641 mostlyclean) \
21642 || exit 1
21644 @endif perl
21646 .PHONY: maybe-clean-perl clean-perl
21647 maybe-clean-perl:
21648 @if perl
21649 maybe-clean-perl: clean-perl
21651 clean-perl:
21652 @: $(MAKE); $(unstage)
21653 @[ -f ./perl/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 $(HOST_EXPORTS) \
21657 for flag in $(EXTRA_HOST_FLAGS) ; do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659 done; \
21660 echo "Doing clean in perl" ; \
21661 (cd $(HOST_SUBDIR)/perl && \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21666 clean) \
21667 || exit 1
21669 @endif perl
21671 .PHONY: maybe-distclean-perl distclean-perl
21672 maybe-distclean-perl:
21673 @if perl
21674 maybe-distclean-perl: distclean-perl
21676 distclean-perl:
21677 @: $(MAKE); $(unstage)
21678 @[ -f ./perl/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(HOST_EXPORTS) \
21682 for flag in $(EXTRA_HOST_FLAGS) ; do \
21683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21684 done; \
21685 echo "Doing distclean in perl" ; \
21686 (cd $(HOST_SUBDIR)/perl && \
21687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21689 "RANLIB=$${RANLIB}" \
21690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21691 distclean) \
21692 || exit 1
21694 @endif perl
21696 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
21697 maybe-maintainer-clean-perl:
21698 @if perl
21699 maybe-maintainer-clean-perl: maintainer-clean-perl
21701 maintainer-clean-perl:
21702 @: $(MAKE); $(unstage)
21703 @[ -f ./perl/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(HOST_EXPORTS) \
21707 for flag in $(EXTRA_HOST_FLAGS) ; do \
21708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21709 done; \
21710 echo "Doing maintainer-clean in perl" ; \
21711 (cd $(HOST_SUBDIR)/perl && \
21712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21714 "RANLIB=$${RANLIB}" \
21715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21716 maintainer-clean) \
21717 || exit 1
21719 @endif perl
21723 .PHONY: configure-prms maybe-configure-prms
21724 maybe-configure-prms:
21725 @if prms
21726 maybe-configure-prms: configure-prms
21727 configure-prms:
21728 @: $(MAKE); $(unstage)
21729 @r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
21732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
21733 $(HOST_EXPORTS) \
21734 echo Configuring in $(HOST_SUBDIR)/prms; \
21735 cd "$(HOST_SUBDIR)/prms" || exit 1; \
21736 case $(srcdir) in \
21737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21738 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
21739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21740 esac; \
21741 srcdiroption="--srcdir=$${topdir}/prms"; \
21742 libsrcdir="$$s/prms"; \
21743 $(SHELL) $${libsrcdir}/configure \
21744 $(HOST_CONFIGARGS) $${srcdiroption} \
21745 || exit 1
21746 @endif prms
21752 .PHONY: all-prms maybe-all-prms
21753 maybe-all-prms:
21754 @if prms
21755 TARGET-prms=all
21756 maybe-all-prms: all-prms
21757 all-prms: configure-prms
21758 @: $(MAKE); $(unstage)
21759 @r=`${PWD_COMMAND}`; export r; \
21760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21761 $(HOST_EXPORTS) \
21762 (cd $(HOST_SUBDIR)/prms && \
21763 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
21764 @endif prms
21769 .PHONY: check-prms maybe-check-prms
21770 maybe-check-prms:
21771 @if prms
21772 maybe-check-prms: check-prms
21774 check-prms:
21775 @: $(MAKE); $(unstage)
21776 @r=`${PWD_COMMAND}`; export r; \
21777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778 $(HOST_EXPORTS) \
21779 (cd $(HOST_SUBDIR)/prms && \
21780 $(MAKE) $(FLAGS_TO_PASS) check)
21782 @endif prms
21784 .PHONY: install-prms maybe-install-prms
21785 maybe-install-prms:
21786 @if prms
21787 maybe-install-prms: install-prms
21789 install-prms: installdirs
21790 @: $(MAKE); $(unstage)
21791 @r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 $(HOST_EXPORTS) \
21794 (cd $(HOST_SUBDIR)/prms && \
21795 $(MAKE) $(FLAGS_TO_PASS) install)
21797 @endif prms
21799 # Other targets (info, dvi, etc.)
21801 .PHONY: maybe-info-prms info-prms
21802 maybe-info-prms:
21803 @if prms
21804 maybe-info-prms: info-prms
21806 info-prms: \
21807 configure-prms
21808 @: $(MAKE); $(unstage)
21809 @[ -f ./prms/Makefile ] || exit 0; \
21810 r=`${PWD_COMMAND}`; export r; \
21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 $(HOST_EXPORTS) \
21813 for flag in $(EXTRA_HOST_FLAGS) ; do \
21814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21815 done; \
21816 echo "Doing info in prms" ; \
21817 (cd $(HOST_SUBDIR)/prms && \
21818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21820 "RANLIB=$${RANLIB}" \
21821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21822 info) \
21823 || exit 1
21825 @endif prms
21827 .PHONY: maybe-dvi-prms dvi-prms
21828 maybe-dvi-prms:
21829 @if prms
21830 maybe-dvi-prms: dvi-prms
21832 dvi-prms: \
21833 configure-prms
21834 @: $(MAKE); $(unstage)
21835 @[ -f ./prms/Makefile ] || exit 0; \
21836 r=`${PWD_COMMAND}`; export r; \
21837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21838 $(HOST_EXPORTS) \
21839 for flag in $(EXTRA_HOST_FLAGS) ; do \
21840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21841 done; \
21842 echo "Doing dvi in prms" ; \
21843 (cd $(HOST_SUBDIR)/prms && \
21844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21846 "RANLIB=$${RANLIB}" \
21847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21848 dvi) \
21849 || exit 1
21851 @endif prms
21853 .PHONY: maybe-html-prms html-prms
21854 maybe-html-prms:
21855 @if prms
21856 maybe-html-prms: html-prms
21858 html-prms: \
21859 configure-prms
21860 @: $(MAKE); $(unstage)
21861 @[ -f ./prms/Makefile ] || exit 0; \
21862 r=`${PWD_COMMAND}`; export r; \
21863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21864 $(HOST_EXPORTS) \
21865 for flag in $(EXTRA_HOST_FLAGS) ; do \
21866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21867 done; \
21868 echo "Doing html in prms" ; \
21869 (cd $(HOST_SUBDIR)/prms && \
21870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21872 "RANLIB=$${RANLIB}" \
21873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21874 html) \
21875 || exit 1
21877 @endif prms
21879 .PHONY: maybe-TAGS-prms TAGS-prms
21880 maybe-TAGS-prms:
21881 @if prms
21882 maybe-TAGS-prms: TAGS-prms
21884 TAGS-prms: \
21885 configure-prms
21886 @: $(MAKE); $(unstage)
21887 @[ -f ./prms/Makefile ] || exit 0; \
21888 r=`${PWD_COMMAND}`; export r; \
21889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21890 $(HOST_EXPORTS) \
21891 for flag in $(EXTRA_HOST_FLAGS) ; do \
21892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21893 done; \
21894 echo "Doing TAGS in prms" ; \
21895 (cd $(HOST_SUBDIR)/prms && \
21896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21898 "RANLIB=$${RANLIB}" \
21899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21900 TAGS) \
21901 || exit 1
21903 @endif prms
21905 .PHONY: maybe-install-info-prms install-info-prms
21906 maybe-install-info-prms:
21907 @if prms
21908 maybe-install-info-prms: install-info-prms
21910 install-info-prms: \
21911 configure-prms \
21912 info-prms
21913 @: $(MAKE); $(unstage)
21914 @[ -f ./prms/Makefile ] || exit 0; \
21915 r=`${PWD_COMMAND}`; export r; \
21916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 $(HOST_EXPORTS) \
21918 for flag in $(EXTRA_HOST_FLAGS) ; do \
21919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21920 done; \
21921 echo "Doing install-info in prms" ; \
21922 (cd $(HOST_SUBDIR)/prms && \
21923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21925 "RANLIB=$${RANLIB}" \
21926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21927 install-info) \
21928 || exit 1
21930 @endif prms
21932 .PHONY: maybe-install-html-prms install-html-prms
21933 maybe-install-html-prms:
21934 @if prms
21935 maybe-install-html-prms: install-html-prms
21937 install-html-prms: \
21938 configure-prms \
21939 html-prms
21940 @: $(MAKE); $(unstage)
21941 @[ -f ./prms/Makefile ] || exit 0; \
21942 r=`${PWD_COMMAND}`; export r; \
21943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21944 $(HOST_EXPORTS) \
21945 for flag in $(EXTRA_HOST_FLAGS) ; do \
21946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21947 done; \
21948 echo "Doing install-html in prms" ; \
21949 (cd $(HOST_SUBDIR)/prms && \
21950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21952 "RANLIB=$${RANLIB}" \
21953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21954 install-html) \
21955 || exit 1
21957 @endif prms
21959 .PHONY: maybe-installcheck-prms installcheck-prms
21960 maybe-installcheck-prms:
21961 @if prms
21962 maybe-installcheck-prms: installcheck-prms
21964 installcheck-prms: \
21965 configure-prms
21966 @: $(MAKE); $(unstage)
21967 @[ -f ./prms/Makefile ] || exit 0; \
21968 r=`${PWD_COMMAND}`; export r; \
21969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 $(HOST_EXPORTS) \
21971 for flag in $(EXTRA_HOST_FLAGS) ; do \
21972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21973 done; \
21974 echo "Doing installcheck in prms" ; \
21975 (cd $(HOST_SUBDIR)/prms && \
21976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21978 "RANLIB=$${RANLIB}" \
21979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21980 installcheck) \
21981 || exit 1
21983 @endif prms
21985 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
21986 maybe-mostlyclean-prms:
21987 @if prms
21988 maybe-mostlyclean-prms: mostlyclean-prms
21990 mostlyclean-prms:
21991 @: $(MAKE); $(unstage)
21992 @[ -f ./prms/Makefile ] || exit 0; \
21993 r=`${PWD_COMMAND}`; export r; \
21994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21995 $(HOST_EXPORTS) \
21996 for flag in $(EXTRA_HOST_FLAGS) ; do \
21997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21998 done; \
21999 echo "Doing mostlyclean in prms" ; \
22000 (cd $(HOST_SUBDIR)/prms && \
22001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22003 "RANLIB=$${RANLIB}" \
22004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22005 mostlyclean) \
22006 || exit 1
22008 @endif prms
22010 .PHONY: maybe-clean-prms clean-prms
22011 maybe-clean-prms:
22012 @if prms
22013 maybe-clean-prms: clean-prms
22015 clean-prms:
22016 @: $(MAKE); $(unstage)
22017 @[ -f ./prms/Makefile ] || exit 0; \
22018 r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020 $(HOST_EXPORTS) \
22021 for flag in $(EXTRA_HOST_FLAGS) ; do \
22022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22023 done; \
22024 echo "Doing clean in prms" ; \
22025 (cd $(HOST_SUBDIR)/prms && \
22026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22028 "RANLIB=$${RANLIB}" \
22029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22030 clean) \
22031 || exit 1
22033 @endif prms
22035 .PHONY: maybe-distclean-prms distclean-prms
22036 maybe-distclean-prms:
22037 @if prms
22038 maybe-distclean-prms: distclean-prms
22040 distclean-prms:
22041 @: $(MAKE); $(unstage)
22042 @[ -f ./prms/Makefile ] || exit 0; \
22043 r=`${PWD_COMMAND}`; export r; \
22044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22045 $(HOST_EXPORTS) \
22046 for flag in $(EXTRA_HOST_FLAGS) ; do \
22047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22048 done; \
22049 echo "Doing distclean in prms" ; \
22050 (cd $(HOST_SUBDIR)/prms && \
22051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22053 "RANLIB=$${RANLIB}" \
22054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22055 distclean) \
22056 || exit 1
22058 @endif prms
22060 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
22061 maybe-maintainer-clean-prms:
22062 @if prms
22063 maybe-maintainer-clean-prms: maintainer-clean-prms
22065 maintainer-clean-prms:
22066 @: $(MAKE); $(unstage)
22067 @[ -f ./prms/Makefile ] || exit 0; \
22068 r=`${PWD_COMMAND}`; export r; \
22069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22070 $(HOST_EXPORTS) \
22071 for flag in $(EXTRA_HOST_FLAGS) ; do \
22072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22073 done; \
22074 echo "Doing maintainer-clean in prms" ; \
22075 (cd $(HOST_SUBDIR)/prms && \
22076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22078 "RANLIB=$${RANLIB}" \
22079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22080 maintainer-clean) \
22081 || exit 1
22083 @endif prms
22087 .PHONY: configure-rcs maybe-configure-rcs
22088 maybe-configure-rcs:
22089 @if rcs
22090 maybe-configure-rcs: configure-rcs
22091 configure-rcs:
22092 @: $(MAKE); $(unstage)
22093 @r=`${PWD_COMMAND}`; export r; \
22094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22095 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
22096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
22097 $(HOST_EXPORTS) \
22098 echo Configuring in $(HOST_SUBDIR)/rcs; \
22099 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
22100 case $(srcdir) in \
22101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22102 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
22103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22104 esac; \
22105 srcdiroption="--srcdir=$${topdir}/rcs"; \
22106 libsrcdir="$$s/rcs"; \
22107 $(SHELL) $${libsrcdir}/configure \
22108 $(HOST_CONFIGARGS) $${srcdiroption} \
22109 || exit 1
22110 @endif rcs
22116 .PHONY: all-rcs maybe-all-rcs
22117 maybe-all-rcs:
22118 @if rcs
22119 TARGET-rcs=all
22120 maybe-all-rcs: all-rcs
22121 all-rcs: configure-rcs
22122 @: $(MAKE); $(unstage)
22123 @r=`${PWD_COMMAND}`; export r; \
22124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22125 $(HOST_EXPORTS) \
22126 (cd $(HOST_SUBDIR)/rcs && \
22127 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
22128 @endif rcs
22133 .PHONY: check-rcs maybe-check-rcs
22134 maybe-check-rcs:
22135 @if rcs
22136 maybe-check-rcs: check-rcs
22138 check-rcs:
22139 @: $(MAKE); $(unstage)
22140 @r=`${PWD_COMMAND}`; export r; \
22141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22142 $(HOST_EXPORTS) \
22143 (cd $(HOST_SUBDIR)/rcs && \
22144 $(MAKE) $(FLAGS_TO_PASS) check)
22146 @endif rcs
22148 .PHONY: install-rcs maybe-install-rcs
22149 maybe-install-rcs:
22150 @if rcs
22151 maybe-install-rcs: install-rcs
22153 install-rcs: installdirs
22154 @: $(MAKE); $(unstage)
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 $(HOST_EXPORTS) \
22158 (cd $(HOST_SUBDIR)/rcs && \
22159 $(MAKE) $(FLAGS_TO_PASS) install)
22161 @endif rcs
22163 # Other targets (info, dvi, etc.)
22165 .PHONY: maybe-info-rcs info-rcs
22166 maybe-info-rcs:
22167 @if rcs
22168 maybe-info-rcs: info-rcs
22170 info-rcs: \
22171 configure-rcs
22172 @: $(MAKE); $(unstage)
22173 @[ -f ./rcs/Makefile ] || exit 0; \
22174 r=`${PWD_COMMAND}`; export r; \
22175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22176 $(HOST_EXPORTS) \
22177 for flag in $(EXTRA_HOST_FLAGS) ; do \
22178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22179 done; \
22180 echo "Doing info in rcs" ; \
22181 (cd $(HOST_SUBDIR)/rcs && \
22182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22184 "RANLIB=$${RANLIB}" \
22185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22186 info) \
22187 || exit 1
22189 @endif rcs
22191 .PHONY: maybe-dvi-rcs dvi-rcs
22192 maybe-dvi-rcs:
22193 @if rcs
22194 maybe-dvi-rcs: dvi-rcs
22196 dvi-rcs: \
22197 configure-rcs
22198 @: $(MAKE); $(unstage)
22199 @[ -f ./rcs/Makefile ] || exit 0; \
22200 r=`${PWD_COMMAND}`; export r; \
22201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22202 $(HOST_EXPORTS) \
22203 for flag in $(EXTRA_HOST_FLAGS) ; do \
22204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22205 done; \
22206 echo "Doing dvi in rcs" ; \
22207 (cd $(HOST_SUBDIR)/rcs && \
22208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22210 "RANLIB=$${RANLIB}" \
22211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22212 dvi) \
22213 || exit 1
22215 @endif rcs
22217 .PHONY: maybe-html-rcs html-rcs
22218 maybe-html-rcs:
22219 @if rcs
22220 maybe-html-rcs: html-rcs
22222 html-rcs: \
22223 configure-rcs
22224 @: $(MAKE); $(unstage)
22225 @[ -f ./rcs/Makefile ] || exit 0; \
22226 r=`${PWD_COMMAND}`; export r; \
22227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22228 $(HOST_EXPORTS) \
22229 for flag in $(EXTRA_HOST_FLAGS) ; do \
22230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22231 done; \
22232 echo "Doing html in rcs" ; \
22233 (cd $(HOST_SUBDIR)/rcs && \
22234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22236 "RANLIB=$${RANLIB}" \
22237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22238 html) \
22239 || exit 1
22241 @endif rcs
22243 .PHONY: maybe-TAGS-rcs TAGS-rcs
22244 maybe-TAGS-rcs:
22245 @if rcs
22246 maybe-TAGS-rcs: TAGS-rcs
22248 TAGS-rcs: \
22249 configure-rcs
22250 @: $(MAKE); $(unstage)
22251 @[ -f ./rcs/Makefile ] || exit 0; \
22252 r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 $(HOST_EXPORTS) \
22255 for flag in $(EXTRA_HOST_FLAGS) ; do \
22256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22257 done; \
22258 echo "Doing TAGS in rcs" ; \
22259 (cd $(HOST_SUBDIR)/rcs && \
22260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22262 "RANLIB=$${RANLIB}" \
22263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22264 TAGS) \
22265 || exit 1
22267 @endif rcs
22269 .PHONY: maybe-install-info-rcs install-info-rcs
22270 maybe-install-info-rcs:
22271 @if rcs
22272 maybe-install-info-rcs: install-info-rcs
22274 install-info-rcs: \
22275 configure-rcs \
22276 info-rcs
22277 @: $(MAKE); $(unstage)
22278 @[ -f ./rcs/Makefile ] || exit 0; \
22279 r=`${PWD_COMMAND}`; export r; \
22280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22281 $(HOST_EXPORTS) \
22282 for flag in $(EXTRA_HOST_FLAGS) ; do \
22283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22284 done; \
22285 echo "Doing install-info in rcs" ; \
22286 (cd $(HOST_SUBDIR)/rcs && \
22287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22289 "RANLIB=$${RANLIB}" \
22290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22291 install-info) \
22292 || exit 1
22294 @endif rcs
22296 .PHONY: maybe-install-html-rcs install-html-rcs
22297 maybe-install-html-rcs:
22298 @if rcs
22299 maybe-install-html-rcs: install-html-rcs
22301 install-html-rcs: \
22302 configure-rcs \
22303 html-rcs
22304 @: $(MAKE); $(unstage)
22305 @[ -f ./rcs/Makefile ] || exit 0; \
22306 r=`${PWD_COMMAND}`; export r; \
22307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22308 $(HOST_EXPORTS) \
22309 for flag in $(EXTRA_HOST_FLAGS) ; do \
22310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22311 done; \
22312 echo "Doing install-html in rcs" ; \
22313 (cd $(HOST_SUBDIR)/rcs && \
22314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22316 "RANLIB=$${RANLIB}" \
22317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22318 install-html) \
22319 || exit 1
22321 @endif rcs
22323 .PHONY: maybe-installcheck-rcs installcheck-rcs
22324 maybe-installcheck-rcs:
22325 @if rcs
22326 maybe-installcheck-rcs: installcheck-rcs
22328 installcheck-rcs: \
22329 configure-rcs
22330 @: $(MAKE); $(unstage)
22331 @[ -f ./rcs/Makefile ] || exit 0; \
22332 r=`${PWD_COMMAND}`; export r; \
22333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22334 $(HOST_EXPORTS) \
22335 for flag in $(EXTRA_HOST_FLAGS) ; do \
22336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22337 done; \
22338 echo "Doing installcheck in rcs" ; \
22339 (cd $(HOST_SUBDIR)/rcs && \
22340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22342 "RANLIB=$${RANLIB}" \
22343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22344 installcheck) \
22345 || exit 1
22347 @endif rcs
22349 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
22350 maybe-mostlyclean-rcs:
22351 @if rcs
22352 maybe-mostlyclean-rcs: mostlyclean-rcs
22354 mostlyclean-rcs:
22355 @: $(MAKE); $(unstage)
22356 @[ -f ./rcs/Makefile ] || exit 0; \
22357 r=`${PWD_COMMAND}`; export r; \
22358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22359 $(HOST_EXPORTS) \
22360 for flag in $(EXTRA_HOST_FLAGS) ; do \
22361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22362 done; \
22363 echo "Doing mostlyclean in rcs" ; \
22364 (cd $(HOST_SUBDIR)/rcs && \
22365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22367 "RANLIB=$${RANLIB}" \
22368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22369 mostlyclean) \
22370 || exit 1
22372 @endif rcs
22374 .PHONY: maybe-clean-rcs clean-rcs
22375 maybe-clean-rcs:
22376 @if rcs
22377 maybe-clean-rcs: clean-rcs
22379 clean-rcs:
22380 @: $(MAKE); $(unstage)
22381 @[ -f ./rcs/Makefile ] || exit 0; \
22382 r=`${PWD_COMMAND}`; export r; \
22383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22384 $(HOST_EXPORTS) \
22385 for flag in $(EXTRA_HOST_FLAGS) ; do \
22386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22387 done; \
22388 echo "Doing clean in rcs" ; \
22389 (cd $(HOST_SUBDIR)/rcs && \
22390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22392 "RANLIB=$${RANLIB}" \
22393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22394 clean) \
22395 || exit 1
22397 @endif rcs
22399 .PHONY: maybe-distclean-rcs distclean-rcs
22400 maybe-distclean-rcs:
22401 @if rcs
22402 maybe-distclean-rcs: distclean-rcs
22404 distclean-rcs:
22405 @: $(MAKE); $(unstage)
22406 @[ -f ./rcs/Makefile ] || exit 0; \
22407 r=`${PWD_COMMAND}`; export r; \
22408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22409 $(HOST_EXPORTS) \
22410 for flag in $(EXTRA_HOST_FLAGS) ; do \
22411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22412 done; \
22413 echo "Doing distclean in rcs" ; \
22414 (cd $(HOST_SUBDIR)/rcs && \
22415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22417 "RANLIB=$${RANLIB}" \
22418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22419 distclean) \
22420 || exit 1
22422 @endif rcs
22424 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
22425 maybe-maintainer-clean-rcs:
22426 @if rcs
22427 maybe-maintainer-clean-rcs: maintainer-clean-rcs
22429 maintainer-clean-rcs:
22430 @: $(MAKE); $(unstage)
22431 @[ -f ./rcs/Makefile ] || exit 0; \
22432 r=`${PWD_COMMAND}`; export r; \
22433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22434 $(HOST_EXPORTS) \
22435 for flag in $(EXTRA_HOST_FLAGS) ; do \
22436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22437 done; \
22438 echo "Doing maintainer-clean in rcs" ; \
22439 (cd $(HOST_SUBDIR)/rcs && \
22440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22442 "RANLIB=$${RANLIB}" \
22443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22444 maintainer-clean) \
22445 || exit 1
22447 @endif rcs
22451 .PHONY: configure-readline maybe-configure-readline
22452 maybe-configure-readline:
22453 @if readline
22454 maybe-configure-readline: configure-readline
22455 configure-readline:
22456 @: $(MAKE); $(unstage)
22457 @r=`${PWD_COMMAND}`; export r; \
22458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22459 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
22460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
22461 $(HOST_EXPORTS) \
22462 echo Configuring in $(HOST_SUBDIR)/readline; \
22463 cd "$(HOST_SUBDIR)/readline" || exit 1; \
22464 case $(srcdir) in \
22465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22466 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
22467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22468 esac; \
22469 srcdiroption="--srcdir=$${topdir}/readline"; \
22470 libsrcdir="$$s/readline"; \
22471 $(SHELL) $${libsrcdir}/configure \
22472 $(HOST_CONFIGARGS) $${srcdiroption} \
22473 || exit 1
22474 @endif readline
22480 .PHONY: all-readline maybe-all-readline
22481 maybe-all-readline:
22482 @if readline
22483 TARGET-readline=all
22484 maybe-all-readline: all-readline
22485 all-readline: configure-readline
22486 @: $(MAKE); $(unstage)
22487 @r=`${PWD_COMMAND}`; export r; \
22488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22489 $(HOST_EXPORTS) \
22490 (cd $(HOST_SUBDIR)/readline && \
22491 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
22492 @endif readline
22497 .PHONY: check-readline maybe-check-readline
22498 maybe-check-readline:
22499 @if readline
22500 maybe-check-readline: check-readline
22502 check-readline:
22503 @: $(MAKE); $(unstage)
22504 @r=`${PWD_COMMAND}`; export r; \
22505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22506 $(HOST_EXPORTS) \
22507 (cd $(HOST_SUBDIR)/readline && \
22508 $(MAKE) $(FLAGS_TO_PASS) check)
22510 @endif readline
22512 .PHONY: install-readline maybe-install-readline
22513 maybe-install-readline:
22514 @if readline
22515 maybe-install-readline: install-readline
22517 install-readline: installdirs
22518 @: $(MAKE); $(unstage)
22519 @r=`${PWD_COMMAND}`; export r; \
22520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22521 $(HOST_EXPORTS) \
22522 (cd $(HOST_SUBDIR)/readline && \
22523 $(MAKE) $(FLAGS_TO_PASS) install)
22525 @endif readline
22527 # Other targets (info, dvi, etc.)
22529 .PHONY: maybe-info-readline info-readline
22530 maybe-info-readline:
22531 @if readline
22532 maybe-info-readline: info-readline
22534 info-readline: \
22535 configure-readline
22536 @: $(MAKE); $(unstage)
22537 @[ -f ./readline/Makefile ] || exit 0; \
22538 r=`${PWD_COMMAND}`; export r; \
22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22540 $(HOST_EXPORTS) \
22541 for flag in $(EXTRA_HOST_FLAGS) ; do \
22542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22543 done; \
22544 echo "Doing info in readline" ; \
22545 (cd $(HOST_SUBDIR)/readline && \
22546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22548 "RANLIB=$${RANLIB}" \
22549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22550 info) \
22551 || exit 1
22553 @endif readline
22555 .PHONY: maybe-dvi-readline dvi-readline
22556 maybe-dvi-readline:
22557 @if readline
22558 maybe-dvi-readline: dvi-readline
22560 dvi-readline: \
22561 configure-readline
22562 @: $(MAKE); $(unstage)
22563 @[ -f ./readline/Makefile ] || exit 0; \
22564 r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22566 $(HOST_EXPORTS) \
22567 for flag in $(EXTRA_HOST_FLAGS) ; do \
22568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22569 done; \
22570 echo "Doing dvi in readline" ; \
22571 (cd $(HOST_SUBDIR)/readline && \
22572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22574 "RANLIB=$${RANLIB}" \
22575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22576 dvi) \
22577 || exit 1
22579 @endif readline
22581 .PHONY: maybe-html-readline html-readline
22582 maybe-html-readline:
22583 @if readline
22584 maybe-html-readline: html-readline
22586 html-readline: \
22587 configure-readline
22588 @: $(MAKE); $(unstage)
22589 @[ -f ./readline/Makefile ] || exit 0; \
22590 r=`${PWD_COMMAND}`; export r; \
22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22592 $(HOST_EXPORTS) \
22593 for flag in $(EXTRA_HOST_FLAGS) ; do \
22594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22595 done; \
22596 echo "Doing html in readline" ; \
22597 (cd $(HOST_SUBDIR)/readline && \
22598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22600 "RANLIB=$${RANLIB}" \
22601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22602 html) \
22603 || exit 1
22605 @endif readline
22607 .PHONY: maybe-TAGS-readline TAGS-readline
22608 maybe-TAGS-readline:
22609 @if readline
22610 maybe-TAGS-readline: TAGS-readline
22612 TAGS-readline: \
22613 configure-readline
22614 @: $(MAKE); $(unstage)
22615 @[ -f ./readline/Makefile ] || exit 0; \
22616 r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 $(HOST_EXPORTS) \
22619 for flag in $(EXTRA_HOST_FLAGS) ; do \
22620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22621 done; \
22622 echo "Doing TAGS in readline" ; \
22623 (cd $(HOST_SUBDIR)/readline && \
22624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22626 "RANLIB=$${RANLIB}" \
22627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22628 TAGS) \
22629 || exit 1
22631 @endif readline
22633 .PHONY: maybe-install-info-readline install-info-readline
22634 maybe-install-info-readline:
22635 @if readline
22636 maybe-install-info-readline: install-info-readline
22638 install-info-readline: \
22639 configure-readline \
22640 info-readline
22641 @: $(MAKE); $(unstage)
22642 @[ -f ./readline/Makefile ] || exit 0; \
22643 r=`${PWD_COMMAND}`; export r; \
22644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22645 $(HOST_EXPORTS) \
22646 for flag in $(EXTRA_HOST_FLAGS) ; do \
22647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22648 done; \
22649 echo "Doing install-info in readline" ; \
22650 (cd $(HOST_SUBDIR)/readline && \
22651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22653 "RANLIB=$${RANLIB}" \
22654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22655 install-info) \
22656 || exit 1
22658 @endif readline
22660 .PHONY: maybe-install-html-readline install-html-readline
22661 maybe-install-html-readline:
22662 @if readline
22663 maybe-install-html-readline: install-html-readline
22665 install-html-readline: \
22666 configure-readline \
22667 html-readline
22668 @: $(MAKE); $(unstage)
22669 @[ -f ./readline/Makefile ] || exit 0; \
22670 r=`${PWD_COMMAND}`; export r; \
22671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22672 $(HOST_EXPORTS) \
22673 for flag in $(EXTRA_HOST_FLAGS) ; do \
22674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22675 done; \
22676 echo "Doing install-html in readline" ; \
22677 (cd $(HOST_SUBDIR)/readline && \
22678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22680 "RANLIB=$${RANLIB}" \
22681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22682 install-html) \
22683 || exit 1
22685 @endif readline
22687 .PHONY: maybe-installcheck-readline installcheck-readline
22688 maybe-installcheck-readline:
22689 @if readline
22690 maybe-installcheck-readline: installcheck-readline
22692 installcheck-readline: \
22693 configure-readline
22694 @: $(MAKE); $(unstage)
22695 @[ -f ./readline/Makefile ] || exit 0; \
22696 r=`${PWD_COMMAND}`; export r; \
22697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698 $(HOST_EXPORTS) \
22699 for flag in $(EXTRA_HOST_FLAGS) ; do \
22700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22701 done; \
22702 echo "Doing installcheck in readline" ; \
22703 (cd $(HOST_SUBDIR)/readline && \
22704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22706 "RANLIB=$${RANLIB}" \
22707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22708 installcheck) \
22709 || exit 1
22711 @endif readline
22713 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
22714 maybe-mostlyclean-readline:
22715 @if readline
22716 maybe-mostlyclean-readline: mostlyclean-readline
22718 mostlyclean-readline:
22719 @: $(MAKE); $(unstage)
22720 @[ -f ./readline/Makefile ] || exit 0; \
22721 r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 $(HOST_EXPORTS) \
22724 for flag in $(EXTRA_HOST_FLAGS) ; do \
22725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22726 done; \
22727 echo "Doing mostlyclean in readline" ; \
22728 (cd $(HOST_SUBDIR)/readline && \
22729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22731 "RANLIB=$${RANLIB}" \
22732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22733 mostlyclean) \
22734 || exit 1
22736 @endif readline
22738 .PHONY: maybe-clean-readline clean-readline
22739 maybe-clean-readline:
22740 @if readline
22741 maybe-clean-readline: clean-readline
22743 clean-readline:
22744 @: $(MAKE); $(unstage)
22745 @[ -f ./readline/Makefile ] || exit 0; \
22746 r=`${PWD_COMMAND}`; export r; \
22747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22748 $(HOST_EXPORTS) \
22749 for flag in $(EXTRA_HOST_FLAGS) ; do \
22750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22751 done; \
22752 echo "Doing clean in readline" ; \
22753 (cd $(HOST_SUBDIR)/readline && \
22754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22756 "RANLIB=$${RANLIB}" \
22757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22758 clean) \
22759 || exit 1
22761 @endif readline
22763 .PHONY: maybe-distclean-readline distclean-readline
22764 maybe-distclean-readline:
22765 @if readline
22766 maybe-distclean-readline: distclean-readline
22768 distclean-readline:
22769 @: $(MAKE); $(unstage)
22770 @[ -f ./readline/Makefile ] || exit 0; \
22771 r=`${PWD_COMMAND}`; export r; \
22772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22773 $(HOST_EXPORTS) \
22774 for flag in $(EXTRA_HOST_FLAGS) ; do \
22775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22776 done; \
22777 echo "Doing distclean in readline" ; \
22778 (cd $(HOST_SUBDIR)/readline && \
22779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22781 "RANLIB=$${RANLIB}" \
22782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22783 distclean) \
22784 || exit 1
22786 @endif readline
22788 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
22789 maybe-maintainer-clean-readline:
22790 @if readline
22791 maybe-maintainer-clean-readline: maintainer-clean-readline
22793 maintainer-clean-readline:
22794 @: $(MAKE); $(unstage)
22795 @[ -f ./readline/Makefile ] || exit 0; \
22796 r=`${PWD_COMMAND}`; export r; \
22797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22798 $(HOST_EXPORTS) \
22799 for flag in $(EXTRA_HOST_FLAGS) ; do \
22800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22801 done; \
22802 echo "Doing maintainer-clean in readline" ; \
22803 (cd $(HOST_SUBDIR)/readline && \
22804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22806 "RANLIB=$${RANLIB}" \
22807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22808 maintainer-clean) \
22809 || exit 1
22811 @endif readline
22815 .PHONY: configure-release maybe-configure-release
22816 maybe-configure-release:
22817 @if release
22818 maybe-configure-release: configure-release
22819 configure-release:
22820 @: $(MAKE); $(unstage)
22821 @r=`${PWD_COMMAND}`; export r; \
22822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
22824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
22825 $(HOST_EXPORTS) \
22826 echo Configuring in $(HOST_SUBDIR)/release; \
22827 cd "$(HOST_SUBDIR)/release" || exit 1; \
22828 case $(srcdir) in \
22829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22830 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
22831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22832 esac; \
22833 srcdiroption="--srcdir=$${topdir}/release"; \
22834 libsrcdir="$$s/release"; \
22835 $(SHELL) $${libsrcdir}/configure \
22836 $(HOST_CONFIGARGS) $${srcdiroption} \
22837 || exit 1
22838 @endif release
22844 .PHONY: all-release maybe-all-release
22845 maybe-all-release:
22846 @if release
22847 TARGET-release=all
22848 maybe-all-release: all-release
22849 all-release: configure-release
22850 @: $(MAKE); $(unstage)
22851 @r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 (cd $(HOST_SUBDIR)/release && \
22855 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
22856 @endif release
22861 .PHONY: check-release maybe-check-release
22862 maybe-check-release:
22863 @if release
22864 maybe-check-release: check-release
22866 check-release:
22868 @endif release
22870 .PHONY: install-release maybe-install-release
22871 maybe-install-release:
22872 @if release
22873 maybe-install-release: install-release
22875 install-release:
22877 @endif release
22879 # Other targets (info, dvi, etc.)
22881 .PHONY: maybe-info-release info-release
22882 maybe-info-release:
22883 @if release
22884 maybe-info-release: info-release
22886 info-release: \
22887 configure-release
22888 @: $(MAKE); $(unstage)
22889 @[ -f ./release/Makefile ] || exit 0; \
22890 r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 $(HOST_EXPORTS) \
22893 for flag in $(EXTRA_HOST_FLAGS) ; do \
22894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22895 done; \
22896 echo "Doing info in release" ; \
22897 (cd $(HOST_SUBDIR)/release && \
22898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22900 "RANLIB=$${RANLIB}" \
22901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22902 info) \
22903 || exit 1
22905 @endif release
22907 .PHONY: maybe-dvi-release dvi-release
22908 maybe-dvi-release:
22909 @if release
22910 maybe-dvi-release: dvi-release
22912 dvi-release: \
22913 configure-release
22914 @: $(MAKE); $(unstage)
22915 @[ -f ./release/Makefile ] || exit 0; \
22916 r=`${PWD_COMMAND}`; export r; \
22917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22918 $(HOST_EXPORTS) \
22919 for flag in $(EXTRA_HOST_FLAGS) ; do \
22920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22921 done; \
22922 echo "Doing dvi in release" ; \
22923 (cd $(HOST_SUBDIR)/release && \
22924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22926 "RANLIB=$${RANLIB}" \
22927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22928 dvi) \
22929 || exit 1
22931 @endif release
22933 .PHONY: maybe-html-release html-release
22934 maybe-html-release:
22935 @if release
22936 maybe-html-release: html-release
22938 html-release: \
22939 configure-release
22940 @: $(MAKE); $(unstage)
22941 @[ -f ./release/Makefile ] || exit 0; \
22942 r=`${PWD_COMMAND}`; export r; \
22943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22944 $(HOST_EXPORTS) \
22945 for flag in $(EXTRA_HOST_FLAGS) ; do \
22946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22947 done; \
22948 echo "Doing html in release" ; \
22949 (cd $(HOST_SUBDIR)/release && \
22950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22952 "RANLIB=$${RANLIB}" \
22953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22954 html) \
22955 || exit 1
22957 @endif release
22959 .PHONY: maybe-TAGS-release TAGS-release
22960 maybe-TAGS-release:
22961 @if release
22962 maybe-TAGS-release: TAGS-release
22964 TAGS-release: \
22965 configure-release
22966 @: $(MAKE); $(unstage)
22967 @[ -f ./release/Makefile ] || exit 0; \
22968 r=`${PWD_COMMAND}`; export r; \
22969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22970 $(HOST_EXPORTS) \
22971 for flag in $(EXTRA_HOST_FLAGS) ; do \
22972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22973 done; \
22974 echo "Doing TAGS in release" ; \
22975 (cd $(HOST_SUBDIR)/release && \
22976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22978 "RANLIB=$${RANLIB}" \
22979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22980 TAGS) \
22981 || exit 1
22983 @endif release
22985 .PHONY: maybe-install-info-release install-info-release
22986 maybe-install-info-release:
22987 @if release
22988 maybe-install-info-release: install-info-release
22990 install-info-release: \
22991 configure-release \
22992 info-release
22993 @: $(MAKE); $(unstage)
22994 @[ -f ./release/Makefile ] || exit 0; \
22995 r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22997 $(HOST_EXPORTS) \
22998 for flag in $(EXTRA_HOST_FLAGS) ; do \
22999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23000 done; \
23001 echo "Doing install-info in release" ; \
23002 (cd $(HOST_SUBDIR)/release && \
23003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23005 "RANLIB=$${RANLIB}" \
23006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23007 install-info) \
23008 || exit 1
23010 @endif release
23012 .PHONY: maybe-install-html-release install-html-release
23013 maybe-install-html-release:
23014 @if release
23015 maybe-install-html-release: install-html-release
23017 install-html-release: \
23018 configure-release \
23019 html-release
23020 @: $(MAKE); $(unstage)
23021 @[ -f ./release/Makefile ] || exit 0; \
23022 r=`${PWD_COMMAND}`; export r; \
23023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23024 $(HOST_EXPORTS) \
23025 for flag in $(EXTRA_HOST_FLAGS) ; do \
23026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23027 done; \
23028 echo "Doing install-html in release" ; \
23029 (cd $(HOST_SUBDIR)/release && \
23030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23032 "RANLIB=$${RANLIB}" \
23033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23034 install-html) \
23035 || exit 1
23037 @endif release
23039 .PHONY: maybe-installcheck-release installcheck-release
23040 maybe-installcheck-release:
23041 @if release
23042 maybe-installcheck-release: installcheck-release
23044 installcheck-release: \
23045 configure-release
23046 @: $(MAKE); $(unstage)
23047 @[ -f ./release/Makefile ] || exit 0; \
23048 r=`${PWD_COMMAND}`; export r; \
23049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23050 $(HOST_EXPORTS) \
23051 for flag in $(EXTRA_HOST_FLAGS) ; do \
23052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23053 done; \
23054 echo "Doing installcheck in release" ; \
23055 (cd $(HOST_SUBDIR)/release && \
23056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23058 "RANLIB=$${RANLIB}" \
23059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23060 installcheck) \
23061 || exit 1
23063 @endif release
23065 .PHONY: maybe-mostlyclean-release mostlyclean-release
23066 maybe-mostlyclean-release:
23067 @if release
23068 maybe-mostlyclean-release: mostlyclean-release
23070 mostlyclean-release:
23071 @: $(MAKE); $(unstage)
23072 @[ -f ./release/Makefile ] || exit 0; \
23073 r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 $(HOST_EXPORTS) \
23076 for flag in $(EXTRA_HOST_FLAGS) ; do \
23077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23078 done; \
23079 echo "Doing mostlyclean in release" ; \
23080 (cd $(HOST_SUBDIR)/release && \
23081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23083 "RANLIB=$${RANLIB}" \
23084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23085 mostlyclean) \
23086 || exit 1
23088 @endif release
23090 .PHONY: maybe-clean-release clean-release
23091 maybe-clean-release:
23092 @if release
23093 maybe-clean-release: clean-release
23095 clean-release:
23096 @: $(MAKE); $(unstage)
23097 @[ -f ./release/Makefile ] || exit 0; \
23098 r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(HOST_EXPORTS) \
23101 for flag in $(EXTRA_HOST_FLAGS) ; do \
23102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23103 done; \
23104 echo "Doing clean in release" ; \
23105 (cd $(HOST_SUBDIR)/release && \
23106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23108 "RANLIB=$${RANLIB}" \
23109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23110 clean) \
23111 || exit 1
23113 @endif release
23115 .PHONY: maybe-distclean-release distclean-release
23116 maybe-distclean-release:
23117 @if release
23118 maybe-distclean-release: distclean-release
23120 distclean-release:
23121 @: $(MAKE); $(unstage)
23122 @[ -f ./release/Makefile ] || exit 0; \
23123 r=`${PWD_COMMAND}`; export r; \
23124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 $(HOST_EXPORTS) \
23126 for flag in $(EXTRA_HOST_FLAGS) ; do \
23127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23128 done; \
23129 echo "Doing distclean in release" ; \
23130 (cd $(HOST_SUBDIR)/release && \
23131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23133 "RANLIB=$${RANLIB}" \
23134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23135 distclean) \
23136 || exit 1
23138 @endif release
23140 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
23141 maybe-maintainer-clean-release:
23142 @if release
23143 maybe-maintainer-clean-release: maintainer-clean-release
23145 maintainer-clean-release:
23146 @: $(MAKE); $(unstage)
23147 @[ -f ./release/Makefile ] || exit 0; \
23148 r=`${PWD_COMMAND}`; export r; \
23149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23150 $(HOST_EXPORTS) \
23151 for flag in $(EXTRA_HOST_FLAGS) ; do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153 done; \
23154 echo "Doing maintainer-clean in release" ; \
23155 (cd $(HOST_SUBDIR)/release && \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23160 maintainer-clean) \
23161 || exit 1
23163 @endif release
23167 .PHONY: configure-recode maybe-configure-recode
23168 maybe-configure-recode:
23169 @if recode
23170 maybe-configure-recode: configure-recode
23171 configure-recode:
23172 @: $(MAKE); $(unstage)
23173 @r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
23176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
23177 $(HOST_EXPORTS) \
23178 echo Configuring in $(HOST_SUBDIR)/recode; \
23179 cd "$(HOST_SUBDIR)/recode" || exit 1; \
23180 case $(srcdir) in \
23181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23182 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
23183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23184 esac; \
23185 srcdiroption="--srcdir=$${topdir}/recode"; \
23186 libsrcdir="$$s/recode"; \
23187 $(SHELL) $${libsrcdir}/configure \
23188 $(HOST_CONFIGARGS) $${srcdiroption} \
23189 || exit 1
23190 @endif recode
23196 .PHONY: all-recode maybe-all-recode
23197 maybe-all-recode:
23198 @if recode
23199 TARGET-recode=all
23200 maybe-all-recode: all-recode
23201 all-recode: configure-recode
23202 @: $(MAKE); $(unstage)
23203 @r=`${PWD_COMMAND}`; export r; \
23204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23205 $(HOST_EXPORTS) \
23206 (cd $(HOST_SUBDIR)/recode && \
23207 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
23208 @endif recode
23213 .PHONY: check-recode maybe-check-recode
23214 maybe-check-recode:
23215 @if recode
23216 maybe-check-recode: check-recode
23218 check-recode:
23219 @: $(MAKE); $(unstage)
23220 @r=`${PWD_COMMAND}`; export r; \
23221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23222 $(HOST_EXPORTS) \
23223 (cd $(HOST_SUBDIR)/recode && \
23224 $(MAKE) $(FLAGS_TO_PASS) check)
23226 @endif recode
23228 .PHONY: install-recode maybe-install-recode
23229 maybe-install-recode:
23230 @if recode
23231 maybe-install-recode: install-recode
23233 install-recode: installdirs
23234 @: $(MAKE); $(unstage)
23235 @r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(HOST_EXPORTS) \
23238 (cd $(HOST_SUBDIR)/recode && \
23239 $(MAKE) $(FLAGS_TO_PASS) install)
23241 @endif recode
23243 # Other targets (info, dvi, etc.)
23245 .PHONY: maybe-info-recode info-recode
23246 maybe-info-recode:
23247 @if recode
23248 maybe-info-recode: info-recode
23250 info-recode: \
23251 configure-recode
23252 @: $(MAKE); $(unstage)
23253 @[ -f ./recode/Makefile ] || exit 0; \
23254 r=`${PWD_COMMAND}`; export r; \
23255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23256 $(HOST_EXPORTS) \
23257 for flag in $(EXTRA_HOST_FLAGS) ; do \
23258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23259 done; \
23260 echo "Doing info in recode" ; \
23261 (cd $(HOST_SUBDIR)/recode && \
23262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23264 "RANLIB=$${RANLIB}" \
23265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23266 info) \
23267 || exit 1
23269 @endif recode
23271 .PHONY: maybe-dvi-recode dvi-recode
23272 maybe-dvi-recode:
23273 @if recode
23274 maybe-dvi-recode: dvi-recode
23276 dvi-recode: \
23277 configure-recode
23278 @: $(MAKE); $(unstage)
23279 @[ -f ./recode/Makefile ] || exit 0; \
23280 r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282 $(HOST_EXPORTS) \
23283 for flag in $(EXTRA_HOST_FLAGS) ; do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285 done; \
23286 echo "Doing dvi in recode" ; \
23287 (cd $(HOST_SUBDIR)/recode && \
23288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290 "RANLIB=$${RANLIB}" \
23291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23292 dvi) \
23293 || exit 1
23295 @endif recode
23297 .PHONY: maybe-html-recode html-recode
23298 maybe-html-recode:
23299 @if recode
23300 maybe-html-recode: html-recode
23302 html-recode: \
23303 configure-recode
23304 @: $(MAKE); $(unstage)
23305 @[ -f ./recode/Makefile ] || exit 0; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(HOST_EXPORTS) \
23309 for flag in $(EXTRA_HOST_FLAGS) ; do \
23310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23311 done; \
23312 echo "Doing html in recode" ; \
23313 (cd $(HOST_SUBDIR)/recode && \
23314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23316 "RANLIB=$${RANLIB}" \
23317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23318 html) \
23319 || exit 1
23321 @endif recode
23323 .PHONY: maybe-TAGS-recode TAGS-recode
23324 maybe-TAGS-recode:
23325 @if recode
23326 maybe-TAGS-recode: TAGS-recode
23328 TAGS-recode: \
23329 configure-recode
23330 @: $(MAKE); $(unstage)
23331 @[ -f ./recode/Makefile ] || exit 0; \
23332 r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334 $(HOST_EXPORTS) \
23335 for flag in $(EXTRA_HOST_FLAGS) ; do \
23336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23337 done; \
23338 echo "Doing TAGS in recode" ; \
23339 (cd $(HOST_SUBDIR)/recode && \
23340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23342 "RANLIB=$${RANLIB}" \
23343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23344 TAGS) \
23345 || exit 1
23347 @endif recode
23349 .PHONY: maybe-install-info-recode install-info-recode
23350 maybe-install-info-recode:
23351 @if recode
23352 maybe-install-info-recode: install-info-recode
23354 install-info-recode: \
23355 configure-recode \
23356 info-recode
23357 @: $(MAKE); $(unstage)
23358 @[ -f ./recode/Makefile ] || exit 0; \
23359 r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(HOST_EXPORTS) \
23362 for flag in $(EXTRA_HOST_FLAGS) ; do \
23363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23364 done; \
23365 echo "Doing install-info in recode" ; \
23366 (cd $(HOST_SUBDIR)/recode && \
23367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23369 "RANLIB=$${RANLIB}" \
23370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23371 install-info) \
23372 || exit 1
23374 @endif recode
23376 .PHONY: maybe-install-html-recode install-html-recode
23377 maybe-install-html-recode:
23378 @if recode
23379 maybe-install-html-recode: install-html-recode
23381 install-html-recode: \
23382 configure-recode \
23383 html-recode
23384 @: $(MAKE); $(unstage)
23385 @[ -f ./recode/Makefile ] || exit 0; \
23386 r=`${PWD_COMMAND}`; export r; \
23387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23388 $(HOST_EXPORTS) \
23389 for flag in $(EXTRA_HOST_FLAGS) ; do \
23390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23391 done; \
23392 echo "Doing install-html in recode" ; \
23393 (cd $(HOST_SUBDIR)/recode && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23396 "RANLIB=$${RANLIB}" \
23397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23398 install-html) \
23399 || exit 1
23401 @endif recode
23403 .PHONY: maybe-installcheck-recode installcheck-recode
23404 maybe-installcheck-recode:
23405 @if recode
23406 maybe-installcheck-recode: installcheck-recode
23408 installcheck-recode: \
23409 configure-recode
23410 @: $(MAKE); $(unstage)
23411 @[ -f ./recode/Makefile ] || exit 0; \
23412 r=`${PWD_COMMAND}`; export r; \
23413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23414 $(HOST_EXPORTS) \
23415 for flag in $(EXTRA_HOST_FLAGS) ; do \
23416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23417 done; \
23418 echo "Doing installcheck in recode" ; \
23419 (cd $(HOST_SUBDIR)/recode && \
23420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23422 "RANLIB=$${RANLIB}" \
23423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23424 installcheck) \
23425 || exit 1
23427 @endif recode
23429 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
23430 maybe-mostlyclean-recode:
23431 @if recode
23432 maybe-mostlyclean-recode: mostlyclean-recode
23434 mostlyclean-recode:
23435 @: $(MAKE); $(unstage)
23436 @[ -f ./recode/Makefile ] || exit 0; \
23437 r=`${PWD_COMMAND}`; export r; \
23438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 $(HOST_EXPORTS) \
23440 for flag in $(EXTRA_HOST_FLAGS) ; do \
23441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23442 done; \
23443 echo "Doing mostlyclean in recode" ; \
23444 (cd $(HOST_SUBDIR)/recode && \
23445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23447 "RANLIB=$${RANLIB}" \
23448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23449 mostlyclean) \
23450 || exit 1
23452 @endif recode
23454 .PHONY: maybe-clean-recode clean-recode
23455 maybe-clean-recode:
23456 @if recode
23457 maybe-clean-recode: clean-recode
23459 clean-recode:
23460 @: $(MAKE); $(unstage)
23461 @[ -f ./recode/Makefile ] || exit 0; \
23462 r=`${PWD_COMMAND}`; export r; \
23463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23464 $(HOST_EXPORTS) \
23465 for flag in $(EXTRA_HOST_FLAGS) ; do \
23466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23467 done; \
23468 echo "Doing clean in recode" ; \
23469 (cd $(HOST_SUBDIR)/recode && \
23470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23472 "RANLIB=$${RANLIB}" \
23473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23474 clean) \
23475 || exit 1
23477 @endif recode
23479 .PHONY: maybe-distclean-recode distclean-recode
23480 maybe-distclean-recode:
23481 @if recode
23482 maybe-distclean-recode: distclean-recode
23484 distclean-recode:
23485 @: $(MAKE); $(unstage)
23486 @[ -f ./recode/Makefile ] || exit 0; \
23487 r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 $(HOST_EXPORTS) \
23490 for flag in $(EXTRA_HOST_FLAGS) ; do \
23491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23492 done; \
23493 echo "Doing distclean in recode" ; \
23494 (cd $(HOST_SUBDIR)/recode && \
23495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23497 "RANLIB=$${RANLIB}" \
23498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23499 distclean) \
23500 || exit 1
23502 @endif recode
23504 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
23505 maybe-maintainer-clean-recode:
23506 @if recode
23507 maybe-maintainer-clean-recode: maintainer-clean-recode
23509 maintainer-clean-recode:
23510 @: $(MAKE); $(unstage)
23511 @[ -f ./recode/Makefile ] || exit 0; \
23512 r=`${PWD_COMMAND}`; export r; \
23513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23514 $(HOST_EXPORTS) \
23515 for flag in $(EXTRA_HOST_FLAGS) ; do \
23516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23517 done; \
23518 echo "Doing maintainer-clean in recode" ; \
23519 (cd $(HOST_SUBDIR)/recode && \
23520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23522 "RANLIB=$${RANLIB}" \
23523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23524 maintainer-clean) \
23525 || exit 1
23527 @endif recode
23531 .PHONY: configure-sed maybe-configure-sed
23532 maybe-configure-sed:
23533 @if sed
23534 maybe-configure-sed: configure-sed
23535 configure-sed:
23536 @: $(MAKE); $(unstage)
23537 @r=`${PWD_COMMAND}`; export r; \
23538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
23540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
23541 $(HOST_EXPORTS) \
23542 echo Configuring in $(HOST_SUBDIR)/sed; \
23543 cd "$(HOST_SUBDIR)/sed" || exit 1; \
23544 case $(srcdir) in \
23545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23546 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
23547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23548 esac; \
23549 srcdiroption="--srcdir=$${topdir}/sed"; \
23550 libsrcdir="$$s/sed"; \
23551 $(SHELL) $${libsrcdir}/configure \
23552 $(HOST_CONFIGARGS) $${srcdiroption} \
23553 || exit 1
23554 @endif sed
23560 .PHONY: all-sed maybe-all-sed
23561 maybe-all-sed:
23562 @if sed
23563 TARGET-sed=all
23564 maybe-all-sed: all-sed
23565 all-sed: configure-sed
23566 @: $(MAKE); $(unstage)
23567 @r=`${PWD_COMMAND}`; export r; \
23568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23569 $(HOST_EXPORTS) \
23570 (cd $(HOST_SUBDIR)/sed && \
23571 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
23572 @endif sed
23577 .PHONY: check-sed maybe-check-sed
23578 maybe-check-sed:
23579 @if sed
23580 maybe-check-sed: check-sed
23582 check-sed:
23583 @: $(MAKE); $(unstage)
23584 @r=`${PWD_COMMAND}`; export r; \
23585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23586 $(HOST_EXPORTS) \
23587 (cd $(HOST_SUBDIR)/sed && \
23588 $(MAKE) $(FLAGS_TO_PASS) check)
23590 @endif sed
23592 .PHONY: install-sed maybe-install-sed
23593 maybe-install-sed:
23594 @if sed
23595 maybe-install-sed: install-sed
23597 install-sed: installdirs
23598 @: $(MAKE); $(unstage)
23599 @r=`${PWD_COMMAND}`; export r; \
23600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23601 $(HOST_EXPORTS) \
23602 (cd $(HOST_SUBDIR)/sed && \
23603 $(MAKE) $(FLAGS_TO_PASS) install)
23605 @endif sed
23607 # Other targets (info, dvi, etc.)
23609 .PHONY: maybe-info-sed info-sed
23610 maybe-info-sed:
23611 @if sed
23612 maybe-info-sed: info-sed
23614 info-sed: \
23615 configure-sed
23616 @: $(MAKE); $(unstage)
23617 @[ -f ./sed/Makefile ] || exit 0; \
23618 r=`${PWD_COMMAND}`; export r; \
23619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23620 $(HOST_EXPORTS) \
23621 for flag in $(EXTRA_HOST_FLAGS) ; do \
23622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23623 done; \
23624 echo "Doing info in sed" ; \
23625 (cd $(HOST_SUBDIR)/sed && \
23626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23628 "RANLIB=$${RANLIB}" \
23629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23630 info) \
23631 || exit 1
23633 @endif sed
23635 .PHONY: maybe-dvi-sed dvi-sed
23636 maybe-dvi-sed:
23637 @if sed
23638 maybe-dvi-sed: dvi-sed
23640 dvi-sed: \
23641 configure-sed
23642 @: $(MAKE); $(unstage)
23643 @[ -f ./sed/Makefile ] || exit 0; \
23644 r=`${PWD_COMMAND}`; export r; \
23645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23646 $(HOST_EXPORTS) \
23647 for flag in $(EXTRA_HOST_FLAGS) ; do \
23648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23649 done; \
23650 echo "Doing dvi in sed" ; \
23651 (cd $(HOST_SUBDIR)/sed && \
23652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654 "RANLIB=$${RANLIB}" \
23655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23656 dvi) \
23657 || exit 1
23659 @endif sed
23661 .PHONY: maybe-html-sed html-sed
23662 maybe-html-sed:
23663 @if sed
23664 maybe-html-sed: html-sed
23666 html-sed: \
23667 configure-sed
23668 @: $(MAKE); $(unstage)
23669 @[ -f ./sed/Makefile ] || exit 0; \
23670 r=`${PWD_COMMAND}`; export r; \
23671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23672 $(HOST_EXPORTS) \
23673 for flag in $(EXTRA_HOST_FLAGS) ; do \
23674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23675 done; \
23676 echo "Doing html in sed" ; \
23677 (cd $(HOST_SUBDIR)/sed && \
23678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23680 "RANLIB=$${RANLIB}" \
23681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23682 html) \
23683 || exit 1
23685 @endif sed
23687 .PHONY: maybe-TAGS-sed TAGS-sed
23688 maybe-TAGS-sed:
23689 @if sed
23690 maybe-TAGS-sed: TAGS-sed
23692 TAGS-sed: \
23693 configure-sed
23694 @: $(MAKE); $(unstage)
23695 @[ -f ./sed/Makefile ] || exit 0; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(HOST_EXPORTS) \
23699 for flag in $(EXTRA_HOST_FLAGS) ; do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23701 done; \
23702 echo "Doing TAGS in sed" ; \
23703 (cd $(HOST_SUBDIR)/sed && \
23704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23706 "RANLIB=$${RANLIB}" \
23707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23708 TAGS) \
23709 || exit 1
23711 @endif sed
23713 .PHONY: maybe-install-info-sed install-info-sed
23714 maybe-install-info-sed:
23715 @if sed
23716 maybe-install-info-sed: install-info-sed
23718 install-info-sed: \
23719 configure-sed \
23720 info-sed
23721 @: $(MAKE); $(unstage)
23722 @[ -f ./sed/Makefile ] || exit 0; \
23723 r=`${PWD_COMMAND}`; export r; \
23724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23725 $(HOST_EXPORTS) \
23726 for flag in $(EXTRA_HOST_FLAGS) ; do \
23727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23728 done; \
23729 echo "Doing install-info in sed" ; \
23730 (cd $(HOST_SUBDIR)/sed && \
23731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23733 "RANLIB=$${RANLIB}" \
23734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23735 install-info) \
23736 || exit 1
23738 @endif sed
23740 .PHONY: maybe-install-html-sed install-html-sed
23741 maybe-install-html-sed:
23742 @if sed
23743 maybe-install-html-sed: install-html-sed
23745 install-html-sed: \
23746 configure-sed \
23747 html-sed
23748 @: $(MAKE); $(unstage)
23749 @[ -f ./sed/Makefile ] || exit 0; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752 $(HOST_EXPORTS) \
23753 for flag in $(EXTRA_HOST_FLAGS) ; do \
23754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23755 done; \
23756 echo "Doing install-html in sed" ; \
23757 (cd $(HOST_SUBDIR)/sed && \
23758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23760 "RANLIB=$${RANLIB}" \
23761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23762 install-html) \
23763 || exit 1
23765 @endif sed
23767 .PHONY: maybe-installcheck-sed installcheck-sed
23768 maybe-installcheck-sed:
23769 @if sed
23770 maybe-installcheck-sed: installcheck-sed
23772 installcheck-sed: \
23773 configure-sed
23774 @: $(MAKE); $(unstage)
23775 @[ -f ./sed/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 $(HOST_EXPORTS) \
23779 for flag in $(EXTRA_HOST_FLAGS) ; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23781 done; \
23782 echo "Doing installcheck in sed" ; \
23783 (cd $(HOST_SUBDIR)/sed && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23788 installcheck) \
23789 || exit 1
23791 @endif sed
23793 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
23794 maybe-mostlyclean-sed:
23795 @if sed
23796 maybe-mostlyclean-sed: mostlyclean-sed
23798 mostlyclean-sed:
23799 @: $(MAKE); $(unstage)
23800 @[ -f ./sed/Makefile ] || exit 0; \
23801 r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(HOST_EXPORTS) \
23804 for flag in $(EXTRA_HOST_FLAGS) ; do \
23805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23806 done; \
23807 echo "Doing mostlyclean in sed" ; \
23808 (cd $(HOST_SUBDIR)/sed && \
23809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23811 "RANLIB=$${RANLIB}" \
23812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23813 mostlyclean) \
23814 || exit 1
23816 @endif sed
23818 .PHONY: maybe-clean-sed clean-sed
23819 maybe-clean-sed:
23820 @if sed
23821 maybe-clean-sed: clean-sed
23823 clean-sed:
23824 @: $(MAKE); $(unstage)
23825 @[ -f ./sed/Makefile ] || exit 0; \
23826 r=`${PWD_COMMAND}`; export r; \
23827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23828 $(HOST_EXPORTS) \
23829 for flag in $(EXTRA_HOST_FLAGS) ; do \
23830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23831 done; \
23832 echo "Doing clean in sed" ; \
23833 (cd $(HOST_SUBDIR)/sed && \
23834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23836 "RANLIB=$${RANLIB}" \
23837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23838 clean) \
23839 || exit 1
23841 @endif sed
23843 .PHONY: maybe-distclean-sed distclean-sed
23844 maybe-distclean-sed:
23845 @if sed
23846 maybe-distclean-sed: distclean-sed
23848 distclean-sed:
23849 @: $(MAKE); $(unstage)
23850 @[ -f ./sed/Makefile ] || exit 0; \
23851 r=`${PWD_COMMAND}`; export r; \
23852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23853 $(HOST_EXPORTS) \
23854 for flag in $(EXTRA_HOST_FLAGS) ; do \
23855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23856 done; \
23857 echo "Doing distclean in sed" ; \
23858 (cd $(HOST_SUBDIR)/sed && \
23859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23861 "RANLIB=$${RANLIB}" \
23862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23863 distclean) \
23864 || exit 1
23866 @endif sed
23868 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
23869 maybe-maintainer-clean-sed:
23870 @if sed
23871 maybe-maintainer-clean-sed: maintainer-clean-sed
23873 maintainer-clean-sed:
23874 @: $(MAKE); $(unstage)
23875 @[ -f ./sed/Makefile ] || exit 0; \
23876 r=`${PWD_COMMAND}`; export r; \
23877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23878 $(HOST_EXPORTS) \
23879 for flag in $(EXTRA_HOST_FLAGS) ; do \
23880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23881 done; \
23882 echo "Doing maintainer-clean in sed" ; \
23883 (cd $(HOST_SUBDIR)/sed && \
23884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23886 "RANLIB=$${RANLIB}" \
23887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23888 maintainer-clean) \
23889 || exit 1
23891 @endif sed
23895 .PHONY: configure-send-pr maybe-configure-send-pr
23896 maybe-configure-send-pr:
23897 @if send-pr
23898 maybe-configure-send-pr: configure-send-pr
23899 configure-send-pr:
23900 @: $(MAKE); $(unstage)
23901 @r=`${PWD_COMMAND}`; export r; \
23902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23903 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
23904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
23905 $(HOST_EXPORTS) \
23906 echo Configuring in $(HOST_SUBDIR)/send-pr; \
23907 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
23908 case $(srcdir) in \
23909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23910 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
23911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23912 esac; \
23913 srcdiroption="--srcdir=$${topdir}/send-pr"; \
23914 libsrcdir="$$s/send-pr"; \
23915 $(SHELL) $${libsrcdir}/configure \
23916 $(HOST_CONFIGARGS) $${srcdiroption} \
23917 || exit 1
23918 @endif send-pr
23924 .PHONY: all-send-pr maybe-all-send-pr
23925 maybe-all-send-pr:
23926 @if send-pr
23927 TARGET-send-pr=all
23928 maybe-all-send-pr: all-send-pr
23929 all-send-pr: configure-send-pr
23930 @: $(MAKE); $(unstage)
23931 @r=`${PWD_COMMAND}`; export r; \
23932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 $(HOST_EXPORTS) \
23934 (cd $(HOST_SUBDIR)/send-pr && \
23935 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
23936 @endif send-pr
23941 .PHONY: check-send-pr maybe-check-send-pr
23942 maybe-check-send-pr:
23943 @if send-pr
23944 maybe-check-send-pr: check-send-pr
23946 check-send-pr:
23947 @: $(MAKE); $(unstage)
23948 @r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23950 $(HOST_EXPORTS) \
23951 (cd $(HOST_SUBDIR)/send-pr && \
23952 $(MAKE) $(FLAGS_TO_PASS) check)
23954 @endif send-pr
23956 .PHONY: install-send-pr maybe-install-send-pr
23957 maybe-install-send-pr:
23958 @if send-pr
23959 maybe-install-send-pr: install-send-pr
23961 install-send-pr: installdirs
23962 @: $(MAKE); $(unstage)
23963 @r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 $(HOST_EXPORTS) \
23966 (cd $(HOST_SUBDIR)/send-pr && \
23967 $(MAKE) $(FLAGS_TO_PASS) install)
23969 @endif send-pr
23971 # Other targets (info, dvi, etc.)
23973 .PHONY: maybe-info-send-pr info-send-pr
23974 maybe-info-send-pr:
23975 @if send-pr
23976 maybe-info-send-pr: info-send-pr
23978 info-send-pr: \
23979 configure-send-pr
23980 @: $(MAKE); $(unstage)
23981 @[ -f ./send-pr/Makefile ] || exit 0; \
23982 r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(HOST_EXPORTS) \
23985 for flag in $(EXTRA_HOST_FLAGS) ; do \
23986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23987 done; \
23988 echo "Doing info in send-pr" ; \
23989 (cd $(HOST_SUBDIR)/send-pr && \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23992 "RANLIB=$${RANLIB}" \
23993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23994 info) \
23995 || exit 1
23997 @endif send-pr
23999 .PHONY: maybe-dvi-send-pr dvi-send-pr
24000 maybe-dvi-send-pr:
24001 @if send-pr
24002 maybe-dvi-send-pr: dvi-send-pr
24004 dvi-send-pr: \
24005 configure-send-pr
24006 @: $(MAKE); $(unstage)
24007 @[ -f ./send-pr/Makefile ] || exit 0; \
24008 r=`${PWD_COMMAND}`; export r; \
24009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing dvi in send-pr" ; \
24015 (cd $(HOST_SUBDIR)/send-pr && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24020 dvi) \
24021 || exit 1
24023 @endif send-pr
24025 .PHONY: maybe-html-send-pr html-send-pr
24026 maybe-html-send-pr:
24027 @if send-pr
24028 maybe-html-send-pr: html-send-pr
24030 html-send-pr: \
24031 configure-send-pr
24032 @: $(MAKE); $(unstage)
24033 @[ -f ./send-pr/Makefile ] || exit 0; \
24034 r=`${PWD_COMMAND}`; export r; \
24035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24036 $(HOST_EXPORTS) \
24037 for flag in $(EXTRA_HOST_FLAGS) ; do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24039 done; \
24040 echo "Doing html in send-pr" ; \
24041 (cd $(HOST_SUBDIR)/send-pr && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24046 html) \
24047 || exit 1
24049 @endif send-pr
24051 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
24052 maybe-TAGS-send-pr:
24053 @if send-pr
24054 maybe-TAGS-send-pr: TAGS-send-pr
24056 TAGS-send-pr: \
24057 configure-send-pr
24058 @: $(MAKE); $(unstage)
24059 @[ -f ./send-pr/Makefile ] || exit 0; \
24060 r=`${PWD_COMMAND}`; export r; \
24061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24062 $(HOST_EXPORTS) \
24063 for flag in $(EXTRA_HOST_FLAGS) ; do \
24064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24065 done; \
24066 echo "Doing TAGS in send-pr" ; \
24067 (cd $(HOST_SUBDIR)/send-pr && \
24068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24070 "RANLIB=$${RANLIB}" \
24071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24072 TAGS) \
24073 || exit 1
24075 @endif send-pr
24077 .PHONY: maybe-install-info-send-pr install-info-send-pr
24078 maybe-install-info-send-pr:
24079 @if send-pr
24080 maybe-install-info-send-pr: install-info-send-pr
24082 install-info-send-pr: \
24083 configure-send-pr \
24084 info-send-pr
24085 @: $(MAKE); $(unstage)
24086 @[ -f ./send-pr/Makefile ] || exit 0; \
24087 r=`${PWD_COMMAND}`; export r; \
24088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24089 $(HOST_EXPORTS) \
24090 for flag in $(EXTRA_HOST_FLAGS) ; do \
24091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092 done; \
24093 echo "Doing install-info in send-pr" ; \
24094 (cd $(HOST_SUBDIR)/send-pr && \
24095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24097 "RANLIB=$${RANLIB}" \
24098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24099 install-info) \
24100 || exit 1
24102 @endif send-pr
24104 .PHONY: maybe-install-html-send-pr install-html-send-pr
24105 maybe-install-html-send-pr:
24106 @if send-pr
24107 maybe-install-html-send-pr: install-html-send-pr
24109 install-html-send-pr: \
24110 configure-send-pr \
24111 html-send-pr
24112 @: $(MAKE); $(unstage)
24113 @[ -f ./send-pr/Makefile ] || exit 0; \
24114 r=`${PWD_COMMAND}`; export r; \
24115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24116 $(HOST_EXPORTS) \
24117 for flag in $(EXTRA_HOST_FLAGS) ; do \
24118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24119 done; \
24120 echo "Doing install-html in send-pr" ; \
24121 (cd $(HOST_SUBDIR)/send-pr && \
24122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24124 "RANLIB=$${RANLIB}" \
24125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24126 install-html) \
24127 || exit 1
24129 @endif send-pr
24131 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
24132 maybe-installcheck-send-pr:
24133 @if send-pr
24134 maybe-installcheck-send-pr: installcheck-send-pr
24136 installcheck-send-pr: \
24137 configure-send-pr
24138 @: $(MAKE); $(unstage)
24139 @[ -f ./send-pr/Makefile ] || exit 0; \
24140 r=`${PWD_COMMAND}`; export r; \
24141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24142 $(HOST_EXPORTS) \
24143 for flag in $(EXTRA_HOST_FLAGS) ; do \
24144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24145 done; \
24146 echo "Doing installcheck in send-pr" ; \
24147 (cd $(HOST_SUBDIR)/send-pr && \
24148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24150 "RANLIB=$${RANLIB}" \
24151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24152 installcheck) \
24153 || exit 1
24155 @endif send-pr
24157 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
24158 maybe-mostlyclean-send-pr:
24159 @if send-pr
24160 maybe-mostlyclean-send-pr: mostlyclean-send-pr
24162 mostlyclean-send-pr:
24163 @: $(MAKE); $(unstage)
24164 @[ -f ./send-pr/Makefile ] || exit 0; \
24165 r=`${PWD_COMMAND}`; export r; \
24166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24167 $(HOST_EXPORTS) \
24168 for flag in $(EXTRA_HOST_FLAGS) ; do \
24169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24170 done; \
24171 echo "Doing mostlyclean in send-pr" ; \
24172 (cd $(HOST_SUBDIR)/send-pr && \
24173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24175 "RANLIB=$${RANLIB}" \
24176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24177 mostlyclean) \
24178 || exit 1
24180 @endif send-pr
24182 .PHONY: maybe-clean-send-pr clean-send-pr
24183 maybe-clean-send-pr:
24184 @if send-pr
24185 maybe-clean-send-pr: clean-send-pr
24187 clean-send-pr:
24188 @: $(MAKE); $(unstage)
24189 @[ -f ./send-pr/Makefile ] || exit 0; \
24190 r=`${PWD_COMMAND}`; export r; \
24191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24192 $(HOST_EXPORTS) \
24193 for flag in $(EXTRA_HOST_FLAGS) ; do \
24194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24195 done; \
24196 echo "Doing clean in send-pr" ; \
24197 (cd $(HOST_SUBDIR)/send-pr && \
24198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24200 "RANLIB=$${RANLIB}" \
24201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24202 clean) \
24203 || exit 1
24205 @endif send-pr
24207 .PHONY: maybe-distclean-send-pr distclean-send-pr
24208 maybe-distclean-send-pr:
24209 @if send-pr
24210 maybe-distclean-send-pr: distclean-send-pr
24212 distclean-send-pr:
24213 @: $(MAKE); $(unstage)
24214 @[ -f ./send-pr/Makefile ] || exit 0; \
24215 r=`${PWD_COMMAND}`; export r; \
24216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24217 $(HOST_EXPORTS) \
24218 for flag in $(EXTRA_HOST_FLAGS) ; do \
24219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24220 done; \
24221 echo "Doing distclean in send-pr" ; \
24222 (cd $(HOST_SUBDIR)/send-pr && \
24223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24225 "RANLIB=$${RANLIB}" \
24226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24227 distclean) \
24228 || exit 1
24230 @endif send-pr
24232 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
24233 maybe-maintainer-clean-send-pr:
24234 @if send-pr
24235 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
24237 maintainer-clean-send-pr:
24238 @: $(MAKE); $(unstage)
24239 @[ -f ./send-pr/Makefile ] || exit 0; \
24240 r=`${PWD_COMMAND}`; export r; \
24241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24242 $(HOST_EXPORTS) \
24243 for flag in $(EXTRA_HOST_FLAGS) ; do \
24244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24245 done; \
24246 echo "Doing maintainer-clean in send-pr" ; \
24247 (cd $(HOST_SUBDIR)/send-pr && \
24248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24250 "RANLIB=$${RANLIB}" \
24251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24252 maintainer-clean) \
24253 || exit 1
24255 @endif send-pr
24259 .PHONY: configure-shellutils maybe-configure-shellutils
24260 maybe-configure-shellutils:
24261 @if shellutils
24262 maybe-configure-shellutils: configure-shellutils
24263 configure-shellutils:
24264 @: $(MAKE); $(unstage)
24265 @r=`${PWD_COMMAND}`; export r; \
24266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24267 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
24268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
24269 $(HOST_EXPORTS) \
24270 echo Configuring in $(HOST_SUBDIR)/shellutils; \
24271 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
24272 case $(srcdir) in \
24273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24274 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
24275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24276 esac; \
24277 srcdiroption="--srcdir=$${topdir}/shellutils"; \
24278 libsrcdir="$$s/shellutils"; \
24279 $(SHELL) $${libsrcdir}/configure \
24280 $(HOST_CONFIGARGS) $${srcdiroption} \
24281 || exit 1
24282 @endif shellutils
24288 .PHONY: all-shellutils maybe-all-shellutils
24289 maybe-all-shellutils:
24290 @if shellutils
24291 TARGET-shellutils=all
24292 maybe-all-shellutils: all-shellutils
24293 all-shellutils: configure-shellutils
24294 @: $(MAKE); $(unstage)
24295 @r=`${PWD_COMMAND}`; export r; \
24296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24297 $(HOST_EXPORTS) \
24298 (cd $(HOST_SUBDIR)/shellutils && \
24299 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
24300 @endif shellutils
24305 .PHONY: check-shellutils maybe-check-shellutils
24306 maybe-check-shellutils:
24307 @if shellutils
24308 maybe-check-shellutils: check-shellutils
24310 check-shellutils:
24311 @: $(MAKE); $(unstage)
24312 @r=`${PWD_COMMAND}`; export r; \
24313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24314 $(HOST_EXPORTS) \
24315 (cd $(HOST_SUBDIR)/shellutils && \
24316 $(MAKE) $(FLAGS_TO_PASS) check)
24318 @endif shellutils
24320 .PHONY: install-shellutils maybe-install-shellutils
24321 maybe-install-shellutils:
24322 @if shellutils
24323 maybe-install-shellutils: install-shellutils
24325 install-shellutils: installdirs
24326 @: $(MAKE); $(unstage)
24327 @r=`${PWD_COMMAND}`; export r; \
24328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24329 $(HOST_EXPORTS) \
24330 (cd $(HOST_SUBDIR)/shellutils && \
24331 $(MAKE) $(FLAGS_TO_PASS) install)
24333 @endif shellutils
24335 # Other targets (info, dvi, etc.)
24337 .PHONY: maybe-info-shellutils info-shellutils
24338 maybe-info-shellutils:
24339 @if shellutils
24340 maybe-info-shellutils: info-shellutils
24342 info-shellutils: \
24343 configure-shellutils
24344 @: $(MAKE); $(unstage)
24345 @[ -f ./shellutils/Makefile ] || exit 0; \
24346 r=`${PWD_COMMAND}`; export r; \
24347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24348 $(HOST_EXPORTS) \
24349 for flag in $(EXTRA_HOST_FLAGS) ; do \
24350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24351 done; \
24352 echo "Doing info in shellutils" ; \
24353 (cd $(HOST_SUBDIR)/shellutils && \
24354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24356 "RANLIB=$${RANLIB}" \
24357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24358 info) \
24359 || exit 1
24361 @endif shellutils
24363 .PHONY: maybe-dvi-shellutils dvi-shellutils
24364 maybe-dvi-shellutils:
24365 @if shellutils
24366 maybe-dvi-shellutils: dvi-shellutils
24368 dvi-shellutils: \
24369 configure-shellutils
24370 @: $(MAKE); $(unstage)
24371 @[ -f ./shellutils/Makefile ] || exit 0; \
24372 r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(HOST_EXPORTS) \
24375 for flag in $(EXTRA_HOST_FLAGS) ; do \
24376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24377 done; \
24378 echo "Doing dvi in shellutils" ; \
24379 (cd $(HOST_SUBDIR)/shellutils && \
24380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24382 "RANLIB=$${RANLIB}" \
24383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24384 dvi) \
24385 || exit 1
24387 @endif shellutils
24389 .PHONY: maybe-html-shellutils html-shellutils
24390 maybe-html-shellutils:
24391 @if shellutils
24392 maybe-html-shellutils: html-shellutils
24394 html-shellutils: \
24395 configure-shellutils
24396 @: $(MAKE); $(unstage)
24397 @[ -f ./shellutils/Makefile ] || exit 0; \
24398 r=`${PWD_COMMAND}`; export r; \
24399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24400 $(HOST_EXPORTS) \
24401 for flag in $(EXTRA_HOST_FLAGS) ; do \
24402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24403 done; \
24404 echo "Doing html in shellutils" ; \
24405 (cd $(HOST_SUBDIR)/shellutils && \
24406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24408 "RANLIB=$${RANLIB}" \
24409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24410 html) \
24411 || exit 1
24413 @endif shellutils
24415 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
24416 maybe-TAGS-shellutils:
24417 @if shellutils
24418 maybe-TAGS-shellutils: TAGS-shellutils
24420 TAGS-shellutils: \
24421 configure-shellutils
24422 @: $(MAKE); $(unstage)
24423 @[ -f ./shellutils/Makefile ] || exit 0; \
24424 r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24426 $(HOST_EXPORTS) \
24427 for flag in $(EXTRA_HOST_FLAGS) ; do \
24428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24429 done; \
24430 echo "Doing TAGS in shellutils" ; \
24431 (cd $(HOST_SUBDIR)/shellutils && \
24432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24434 "RANLIB=$${RANLIB}" \
24435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24436 TAGS) \
24437 || exit 1
24439 @endif shellutils
24441 .PHONY: maybe-install-info-shellutils install-info-shellutils
24442 maybe-install-info-shellutils:
24443 @if shellutils
24444 maybe-install-info-shellutils: install-info-shellutils
24446 install-info-shellutils: \
24447 configure-shellutils \
24448 info-shellutils
24449 @: $(MAKE); $(unstage)
24450 @[ -f ./shellutils/Makefile ] || exit 0; \
24451 r=`${PWD_COMMAND}`; export r; \
24452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24453 $(HOST_EXPORTS) \
24454 for flag in $(EXTRA_HOST_FLAGS) ; do \
24455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24456 done; \
24457 echo "Doing install-info in shellutils" ; \
24458 (cd $(HOST_SUBDIR)/shellutils && \
24459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24461 "RANLIB=$${RANLIB}" \
24462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24463 install-info) \
24464 || exit 1
24466 @endif shellutils
24468 .PHONY: maybe-install-html-shellutils install-html-shellutils
24469 maybe-install-html-shellutils:
24470 @if shellutils
24471 maybe-install-html-shellutils: install-html-shellutils
24473 install-html-shellutils: \
24474 configure-shellutils \
24475 html-shellutils
24476 @: $(MAKE); $(unstage)
24477 @[ -f ./shellutils/Makefile ] || exit 0; \
24478 r=`${PWD_COMMAND}`; export r; \
24479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24480 $(HOST_EXPORTS) \
24481 for flag in $(EXTRA_HOST_FLAGS) ; do \
24482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24483 done; \
24484 echo "Doing install-html in shellutils" ; \
24485 (cd $(HOST_SUBDIR)/shellutils && \
24486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24488 "RANLIB=$${RANLIB}" \
24489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24490 install-html) \
24491 || exit 1
24493 @endif shellutils
24495 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
24496 maybe-installcheck-shellutils:
24497 @if shellutils
24498 maybe-installcheck-shellutils: installcheck-shellutils
24500 installcheck-shellutils: \
24501 configure-shellutils
24502 @: $(MAKE); $(unstage)
24503 @[ -f ./shellutils/Makefile ] || exit 0; \
24504 r=`${PWD_COMMAND}`; export r; \
24505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24506 $(HOST_EXPORTS) \
24507 for flag in $(EXTRA_HOST_FLAGS) ; do \
24508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24509 done; \
24510 echo "Doing installcheck in shellutils" ; \
24511 (cd $(HOST_SUBDIR)/shellutils && \
24512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24514 "RANLIB=$${RANLIB}" \
24515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24516 installcheck) \
24517 || exit 1
24519 @endif shellutils
24521 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
24522 maybe-mostlyclean-shellutils:
24523 @if shellutils
24524 maybe-mostlyclean-shellutils: mostlyclean-shellutils
24526 mostlyclean-shellutils:
24527 @: $(MAKE); $(unstage)
24528 @[ -f ./shellutils/Makefile ] || exit 0; \
24529 r=`${PWD_COMMAND}`; export r; \
24530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24531 $(HOST_EXPORTS) \
24532 for flag in $(EXTRA_HOST_FLAGS) ; do \
24533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24534 done; \
24535 echo "Doing mostlyclean in shellutils" ; \
24536 (cd $(HOST_SUBDIR)/shellutils && \
24537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24539 "RANLIB=$${RANLIB}" \
24540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24541 mostlyclean) \
24542 || exit 1
24544 @endif shellutils
24546 .PHONY: maybe-clean-shellutils clean-shellutils
24547 maybe-clean-shellutils:
24548 @if shellutils
24549 maybe-clean-shellutils: clean-shellutils
24551 clean-shellutils:
24552 @: $(MAKE); $(unstage)
24553 @[ -f ./shellutils/Makefile ] || exit 0; \
24554 r=`${PWD_COMMAND}`; export r; \
24555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24556 $(HOST_EXPORTS) \
24557 for flag in $(EXTRA_HOST_FLAGS) ; do \
24558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24559 done; \
24560 echo "Doing clean in shellutils" ; \
24561 (cd $(HOST_SUBDIR)/shellutils && \
24562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24564 "RANLIB=$${RANLIB}" \
24565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24566 clean) \
24567 || exit 1
24569 @endif shellutils
24571 .PHONY: maybe-distclean-shellutils distclean-shellutils
24572 maybe-distclean-shellutils:
24573 @if shellutils
24574 maybe-distclean-shellutils: distclean-shellutils
24576 distclean-shellutils:
24577 @: $(MAKE); $(unstage)
24578 @[ -f ./shellutils/Makefile ] || exit 0; \
24579 r=`${PWD_COMMAND}`; export r; \
24580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24581 $(HOST_EXPORTS) \
24582 for flag in $(EXTRA_HOST_FLAGS) ; do \
24583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24584 done; \
24585 echo "Doing distclean in shellutils" ; \
24586 (cd $(HOST_SUBDIR)/shellutils && \
24587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24589 "RANLIB=$${RANLIB}" \
24590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24591 distclean) \
24592 || exit 1
24594 @endif shellutils
24596 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
24597 maybe-maintainer-clean-shellutils:
24598 @if shellutils
24599 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
24601 maintainer-clean-shellutils:
24602 @: $(MAKE); $(unstage)
24603 @[ -f ./shellutils/Makefile ] || exit 0; \
24604 r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(HOST_EXPORTS) \
24607 for flag in $(EXTRA_HOST_FLAGS) ; do \
24608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24609 done; \
24610 echo "Doing maintainer-clean in shellutils" ; \
24611 (cd $(HOST_SUBDIR)/shellutils && \
24612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24614 "RANLIB=$${RANLIB}" \
24615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24616 maintainer-clean) \
24617 || exit 1
24619 @endif shellutils
24623 .PHONY: configure-sid maybe-configure-sid
24624 maybe-configure-sid:
24625 @if sid
24626 maybe-configure-sid: configure-sid
24627 configure-sid:
24628 @: $(MAKE); $(unstage)
24629 @r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24633 $(HOST_EXPORTS) \
24634 echo Configuring in $(HOST_SUBDIR)/sid; \
24635 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24636 case $(srcdir) in \
24637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24638 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24640 esac; \
24641 srcdiroption="--srcdir=$${topdir}/sid"; \
24642 libsrcdir="$$s/sid"; \
24643 $(SHELL) $${libsrcdir}/configure \
24644 $(HOST_CONFIGARGS) $${srcdiroption} \
24645 || exit 1
24646 @endif sid
24652 .PHONY: all-sid maybe-all-sid
24653 maybe-all-sid:
24654 @if sid
24655 TARGET-sid=all
24656 maybe-all-sid: all-sid
24657 all-sid: configure-sid
24658 @: $(MAKE); $(unstage)
24659 @r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661 $(HOST_EXPORTS) \
24662 (cd $(HOST_SUBDIR)/sid && \
24663 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
24664 @endif sid
24669 .PHONY: check-sid maybe-check-sid
24670 maybe-check-sid:
24671 @if sid
24672 maybe-check-sid: check-sid
24674 check-sid:
24675 @: $(MAKE); $(unstage)
24676 @r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24678 $(HOST_EXPORTS) \
24679 (cd $(HOST_SUBDIR)/sid && \
24680 $(MAKE) $(FLAGS_TO_PASS) check)
24682 @endif sid
24684 .PHONY: install-sid maybe-install-sid
24685 maybe-install-sid:
24686 @if sid
24687 maybe-install-sid: install-sid
24689 install-sid: installdirs
24690 @: $(MAKE); $(unstage)
24691 @r=`${PWD_COMMAND}`; export r; \
24692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24693 $(HOST_EXPORTS) \
24694 (cd $(HOST_SUBDIR)/sid && \
24695 $(MAKE) $(FLAGS_TO_PASS) install)
24697 @endif sid
24699 # Other targets (info, dvi, etc.)
24701 .PHONY: maybe-info-sid info-sid
24702 maybe-info-sid:
24703 @if sid
24704 maybe-info-sid: info-sid
24706 info-sid: \
24707 configure-sid
24708 @: $(MAKE); $(unstage)
24709 @[ -f ./sid/Makefile ] || exit 0; \
24710 r=`${PWD_COMMAND}`; export r; \
24711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24712 $(HOST_EXPORTS) \
24713 for flag in $(EXTRA_HOST_FLAGS) ; do \
24714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24715 done; \
24716 echo "Doing info in sid" ; \
24717 (cd $(HOST_SUBDIR)/sid && \
24718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24720 "RANLIB=$${RANLIB}" \
24721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24722 info) \
24723 || exit 1
24725 @endif sid
24727 .PHONY: maybe-dvi-sid dvi-sid
24728 maybe-dvi-sid:
24729 @if sid
24730 maybe-dvi-sid: dvi-sid
24732 dvi-sid: \
24733 configure-sid
24734 @: $(MAKE); $(unstage)
24735 @[ -f ./sid/Makefile ] || exit 0; \
24736 r=`${PWD_COMMAND}`; export r; \
24737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24738 $(HOST_EXPORTS) \
24739 for flag in $(EXTRA_HOST_FLAGS) ; do \
24740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24741 done; \
24742 echo "Doing dvi in sid" ; \
24743 (cd $(HOST_SUBDIR)/sid && \
24744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24746 "RANLIB=$${RANLIB}" \
24747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24748 dvi) \
24749 || exit 1
24751 @endif sid
24753 .PHONY: maybe-html-sid html-sid
24754 maybe-html-sid:
24755 @if sid
24756 maybe-html-sid: html-sid
24758 html-sid: \
24759 configure-sid
24760 @: $(MAKE); $(unstage)
24761 @[ -f ./sid/Makefile ] || exit 0; \
24762 r=`${PWD_COMMAND}`; export r; \
24763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24764 $(HOST_EXPORTS) \
24765 for flag in $(EXTRA_HOST_FLAGS) ; do \
24766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24767 done; \
24768 echo "Doing html in sid" ; \
24769 (cd $(HOST_SUBDIR)/sid && \
24770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24772 "RANLIB=$${RANLIB}" \
24773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24774 html) \
24775 || exit 1
24777 @endif sid
24779 .PHONY: maybe-TAGS-sid TAGS-sid
24780 maybe-TAGS-sid:
24781 @if sid
24782 maybe-TAGS-sid: TAGS-sid
24784 TAGS-sid: \
24785 configure-sid
24786 @: $(MAKE); $(unstage)
24787 @[ -f ./sid/Makefile ] || exit 0; \
24788 r=`${PWD_COMMAND}`; export r; \
24789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24790 $(HOST_EXPORTS) \
24791 for flag in $(EXTRA_HOST_FLAGS) ; do \
24792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24793 done; \
24794 echo "Doing TAGS in sid" ; \
24795 (cd $(HOST_SUBDIR)/sid && \
24796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24798 "RANLIB=$${RANLIB}" \
24799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24800 TAGS) \
24801 || exit 1
24803 @endif sid
24805 .PHONY: maybe-install-info-sid install-info-sid
24806 maybe-install-info-sid:
24807 @if sid
24808 maybe-install-info-sid: install-info-sid
24810 install-info-sid: \
24811 configure-sid \
24812 info-sid
24813 @: $(MAKE); $(unstage)
24814 @[ -f ./sid/Makefile ] || exit 0; \
24815 r=`${PWD_COMMAND}`; export r; \
24816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24817 $(HOST_EXPORTS) \
24818 for flag in $(EXTRA_HOST_FLAGS) ; do \
24819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24820 done; \
24821 echo "Doing install-info in sid" ; \
24822 (cd $(HOST_SUBDIR)/sid && \
24823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24825 "RANLIB=$${RANLIB}" \
24826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24827 install-info) \
24828 || exit 1
24830 @endif sid
24832 .PHONY: maybe-install-html-sid install-html-sid
24833 maybe-install-html-sid:
24834 @if sid
24835 maybe-install-html-sid: install-html-sid
24837 install-html-sid: \
24838 configure-sid \
24839 html-sid
24840 @: $(MAKE); $(unstage)
24841 @[ -f ./sid/Makefile ] || exit 0; \
24842 r=`${PWD_COMMAND}`; export r; \
24843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24844 $(HOST_EXPORTS) \
24845 for flag in $(EXTRA_HOST_FLAGS) ; do \
24846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24847 done; \
24848 echo "Doing install-html in sid" ; \
24849 (cd $(HOST_SUBDIR)/sid && \
24850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24852 "RANLIB=$${RANLIB}" \
24853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24854 install-html) \
24855 || exit 1
24857 @endif sid
24859 .PHONY: maybe-installcheck-sid installcheck-sid
24860 maybe-installcheck-sid:
24861 @if sid
24862 maybe-installcheck-sid: installcheck-sid
24864 installcheck-sid: \
24865 configure-sid
24866 @: $(MAKE); $(unstage)
24867 @[ -f ./sid/Makefile ] || exit 0; \
24868 r=`${PWD_COMMAND}`; export r; \
24869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24870 $(HOST_EXPORTS) \
24871 for flag in $(EXTRA_HOST_FLAGS) ; do \
24872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24873 done; \
24874 echo "Doing installcheck in sid" ; \
24875 (cd $(HOST_SUBDIR)/sid && \
24876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24878 "RANLIB=$${RANLIB}" \
24879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24880 installcheck) \
24881 || exit 1
24883 @endif sid
24885 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24886 maybe-mostlyclean-sid:
24887 @if sid
24888 maybe-mostlyclean-sid: mostlyclean-sid
24890 mostlyclean-sid:
24891 @: $(MAKE); $(unstage)
24892 @[ -f ./sid/Makefile ] || exit 0; \
24893 r=`${PWD_COMMAND}`; export r; \
24894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24895 $(HOST_EXPORTS) \
24896 for flag in $(EXTRA_HOST_FLAGS) ; do \
24897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24898 done; \
24899 echo "Doing mostlyclean in sid" ; \
24900 (cd $(HOST_SUBDIR)/sid && \
24901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24903 "RANLIB=$${RANLIB}" \
24904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24905 mostlyclean) \
24906 || exit 1
24908 @endif sid
24910 .PHONY: maybe-clean-sid clean-sid
24911 maybe-clean-sid:
24912 @if sid
24913 maybe-clean-sid: clean-sid
24915 clean-sid:
24916 @: $(MAKE); $(unstage)
24917 @[ -f ./sid/Makefile ] || exit 0; \
24918 r=`${PWD_COMMAND}`; export r; \
24919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24920 $(HOST_EXPORTS) \
24921 for flag in $(EXTRA_HOST_FLAGS) ; do \
24922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24923 done; \
24924 echo "Doing clean in sid" ; \
24925 (cd $(HOST_SUBDIR)/sid && \
24926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24928 "RANLIB=$${RANLIB}" \
24929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24930 clean) \
24931 || exit 1
24933 @endif sid
24935 .PHONY: maybe-distclean-sid distclean-sid
24936 maybe-distclean-sid:
24937 @if sid
24938 maybe-distclean-sid: distclean-sid
24940 distclean-sid:
24941 @: $(MAKE); $(unstage)
24942 @[ -f ./sid/Makefile ] || exit 0; \
24943 r=`${PWD_COMMAND}`; export r; \
24944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24945 $(HOST_EXPORTS) \
24946 for flag in $(EXTRA_HOST_FLAGS) ; do \
24947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24948 done; \
24949 echo "Doing distclean in sid" ; \
24950 (cd $(HOST_SUBDIR)/sid && \
24951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24953 "RANLIB=$${RANLIB}" \
24954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24955 distclean) \
24956 || exit 1
24958 @endif sid
24960 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24961 maybe-maintainer-clean-sid:
24962 @if sid
24963 maybe-maintainer-clean-sid: maintainer-clean-sid
24965 maintainer-clean-sid:
24966 @: $(MAKE); $(unstage)
24967 @[ -f ./sid/Makefile ] || exit 0; \
24968 r=`${PWD_COMMAND}`; export r; \
24969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24970 $(HOST_EXPORTS) \
24971 for flag in $(EXTRA_HOST_FLAGS) ; do \
24972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24973 done; \
24974 echo "Doing maintainer-clean in sid" ; \
24975 (cd $(HOST_SUBDIR)/sid && \
24976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24978 "RANLIB=$${RANLIB}" \
24979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24980 maintainer-clean) \
24981 || exit 1
24983 @endif sid
24987 .PHONY: configure-sim maybe-configure-sim
24988 maybe-configure-sim:
24989 @if sim
24990 maybe-configure-sim: configure-sim
24991 configure-sim:
24992 @: $(MAKE); $(unstage)
24993 @r=`${PWD_COMMAND}`; export r; \
24994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24997 $(HOST_EXPORTS) \
24998 echo Configuring in $(HOST_SUBDIR)/sim; \
24999 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25000 case $(srcdir) in \
25001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25002 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25004 esac; \
25005 srcdiroption="--srcdir=$${topdir}/sim"; \
25006 libsrcdir="$$s/sim"; \
25007 $(SHELL) $${libsrcdir}/configure \
25008 $(HOST_CONFIGARGS) $${srcdiroption} \
25009 || exit 1
25010 @endif sim
25016 .PHONY: all-sim maybe-all-sim
25017 maybe-all-sim:
25018 @if sim
25019 TARGET-sim=all
25020 maybe-all-sim: all-sim
25021 all-sim: configure-sim
25022 @: $(MAKE); $(unstage)
25023 @r=`${PWD_COMMAND}`; export r; \
25024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25025 $(HOST_EXPORTS) \
25026 (cd $(HOST_SUBDIR)/sim && \
25027 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
25028 @endif sim
25033 .PHONY: check-sim maybe-check-sim
25034 maybe-check-sim:
25035 @if sim
25036 maybe-check-sim: check-sim
25038 check-sim:
25039 @: $(MAKE); $(unstage)
25040 @r=`${PWD_COMMAND}`; export r; \
25041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25042 $(HOST_EXPORTS) \
25043 (cd $(HOST_SUBDIR)/sim && \
25044 $(MAKE) $(FLAGS_TO_PASS) check)
25046 @endif sim
25048 .PHONY: install-sim maybe-install-sim
25049 maybe-install-sim:
25050 @if sim
25051 maybe-install-sim: install-sim
25053 install-sim: installdirs
25054 @: $(MAKE); $(unstage)
25055 @r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(HOST_EXPORTS) \
25058 (cd $(HOST_SUBDIR)/sim && \
25059 $(MAKE) $(FLAGS_TO_PASS) install)
25061 @endif sim
25063 # Other targets (info, dvi, etc.)
25065 .PHONY: maybe-info-sim info-sim
25066 maybe-info-sim:
25067 @if sim
25068 maybe-info-sim: info-sim
25070 info-sim: \
25071 configure-sim
25072 @: $(MAKE); $(unstage)
25073 @[ -f ./sim/Makefile ] || exit 0; \
25074 r=`${PWD_COMMAND}`; export r; \
25075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25076 $(HOST_EXPORTS) \
25077 for flag in $(EXTRA_HOST_FLAGS) ; do \
25078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25079 done; \
25080 echo "Doing info in sim" ; \
25081 (cd $(HOST_SUBDIR)/sim && \
25082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25084 "RANLIB=$${RANLIB}" \
25085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25086 info) \
25087 || exit 1
25089 @endif sim
25091 .PHONY: maybe-dvi-sim dvi-sim
25092 maybe-dvi-sim:
25093 @if sim
25094 maybe-dvi-sim: dvi-sim
25096 dvi-sim: \
25097 configure-sim
25098 @: $(MAKE); $(unstage)
25099 @[ -f ./sim/Makefile ] || exit 0; \
25100 r=`${PWD_COMMAND}`; export r; \
25101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25102 $(HOST_EXPORTS) \
25103 for flag in $(EXTRA_HOST_FLAGS) ; do \
25104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25105 done; \
25106 echo "Doing dvi in sim" ; \
25107 (cd $(HOST_SUBDIR)/sim && \
25108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25110 "RANLIB=$${RANLIB}" \
25111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25112 dvi) \
25113 || exit 1
25115 @endif sim
25117 .PHONY: maybe-html-sim html-sim
25118 maybe-html-sim:
25119 @if sim
25120 maybe-html-sim: html-sim
25122 html-sim: \
25123 configure-sim
25124 @: $(MAKE); $(unstage)
25125 @[ -f ./sim/Makefile ] || exit 0; \
25126 r=`${PWD_COMMAND}`; export r; \
25127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25128 $(HOST_EXPORTS) \
25129 for flag in $(EXTRA_HOST_FLAGS) ; do \
25130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25131 done; \
25132 echo "Doing html in sim" ; \
25133 (cd $(HOST_SUBDIR)/sim && \
25134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25136 "RANLIB=$${RANLIB}" \
25137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25138 html) \
25139 || exit 1
25141 @endif sim
25143 .PHONY: maybe-TAGS-sim TAGS-sim
25144 maybe-TAGS-sim:
25145 @if sim
25146 maybe-TAGS-sim: TAGS-sim
25148 TAGS-sim: \
25149 configure-sim
25150 @: $(MAKE); $(unstage)
25151 @[ -f ./sim/Makefile ] || exit 0; \
25152 r=`${PWD_COMMAND}`; export r; \
25153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25154 $(HOST_EXPORTS) \
25155 for flag in $(EXTRA_HOST_FLAGS) ; do \
25156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25157 done; \
25158 echo "Doing TAGS in sim" ; \
25159 (cd $(HOST_SUBDIR)/sim && \
25160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25162 "RANLIB=$${RANLIB}" \
25163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25164 TAGS) \
25165 || exit 1
25167 @endif sim
25169 .PHONY: maybe-install-info-sim install-info-sim
25170 maybe-install-info-sim:
25171 @if sim
25172 maybe-install-info-sim: install-info-sim
25174 install-info-sim: \
25175 configure-sim \
25176 info-sim
25177 @: $(MAKE); $(unstage)
25178 @[ -f ./sim/Makefile ] || exit 0; \
25179 r=`${PWD_COMMAND}`; export r; \
25180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25181 $(HOST_EXPORTS) \
25182 for flag in $(EXTRA_HOST_FLAGS) ; do \
25183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25184 done; \
25185 echo "Doing install-info in sim" ; \
25186 (cd $(HOST_SUBDIR)/sim && \
25187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25189 "RANLIB=$${RANLIB}" \
25190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25191 install-info) \
25192 || exit 1
25194 @endif sim
25196 .PHONY: maybe-install-html-sim install-html-sim
25197 maybe-install-html-sim:
25198 @if sim
25199 maybe-install-html-sim: install-html-sim
25201 install-html-sim: \
25202 configure-sim \
25203 html-sim
25204 @: $(MAKE); $(unstage)
25205 @[ -f ./sim/Makefile ] || exit 0; \
25206 r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(HOST_EXPORTS) \
25209 for flag in $(EXTRA_HOST_FLAGS) ; do \
25210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25211 done; \
25212 echo "Doing install-html in sim" ; \
25213 (cd $(HOST_SUBDIR)/sim && \
25214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25216 "RANLIB=$${RANLIB}" \
25217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25218 install-html) \
25219 || exit 1
25221 @endif sim
25223 .PHONY: maybe-installcheck-sim installcheck-sim
25224 maybe-installcheck-sim:
25225 @if sim
25226 maybe-installcheck-sim: installcheck-sim
25228 installcheck-sim: \
25229 configure-sim
25230 @: $(MAKE); $(unstage)
25231 @[ -f ./sim/Makefile ] || exit 0; \
25232 r=`${PWD_COMMAND}`; export r; \
25233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25234 $(HOST_EXPORTS) \
25235 for flag in $(EXTRA_HOST_FLAGS) ; do \
25236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25237 done; \
25238 echo "Doing installcheck in sim" ; \
25239 (cd $(HOST_SUBDIR)/sim && \
25240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25242 "RANLIB=$${RANLIB}" \
25243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25244 installcheck) \
25245 || exit 1
25247 @endif sim
25249 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25250 maybe-mostlyclean-sim:
25251 @if sim
25252 maybe-mostlyclean-sim: mostlyclean-sim
25254 mostlyclean-sim:
25255 @: $(MAKE); $(unstage)
25256 @[ -f ./sim/Makefile ] || exit 0; \
25257 r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25259 $(HOST_EXPORTS) \
25260 for flag in $(EXTRA_HOST_FLAGS) ; do \
25261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25262 done; \
25263 echo "Doing mostlyclean in sim" ; \
25264 (cd $(HOST_SUBDIR)/sim && \
25265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25267 "RANLIB=$${RANLIB}" \
25268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25269 mostlyclean) \
25270 || exit 1
25272 @endif sim
25274 .PHONY: maybe-clean-sim clean-sim
25275 maybe-clean-sim:
25276 @if sim
25277 maybe-clean-sim: clean-sim
25279 clean-sim:
25280 @: $(MAKE); $(unstage)
25281 @[ -f ./sim/Makefile ] || exit 0; \
25282 r=`${PWD_COMMAND}`; export r; \
25283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25284 $(HOST_EXPORTS) \
25285 for flag in $(EXTRA_HOST_FLAGS) ; do \
25286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25287 done; \
25288 echo "Doing clean in sim" ; \
25289 (cd $(HOST_SUBDIR)/sim && \
25290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25292 "RANLIB=$${RANLIB}" \
25293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25294 clean) \
25295 || exit 1
25297 @endif sim
25299 .PHONY: maybe-distclean-sim distclean-sim
25300 maybe-distclean-sim:
25301 @if sim
25302 maybe-distclean-sim: distclean-sim
25304 distclean-sim:
25305 @: $(MAKE); $(unstage)
25306 @[ -f ./sim/Makefile ] || exit 0; \
25307 r=`${PWD_COMMAND}`; export r; \
25308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25309 $(HOST_EXPORTS) \
25310 for flag in $(EXTRA_HOST_FLAGS) ; do \
25311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25312 done; \
25313 echo "Doing distclean in sim" ; \
25314 (cd $(HOST_SUBDIR)/sim && \
25315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25317 "RANLIB=$${RANLIB}" \
25318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25319 distclean) \
25320 || exit 1
25322 @endif sim
25324 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25325 maybe-maintainer-clean-sim:
25326 @if sim
25327 maybe-maintainer-clean-sim: maintainer-clean-sim
25329 maintainer-clean-sim:
25330 @: $(MAKE); $(unstage)
25331 @[ -f ./sim/Makefile ] || exit 0; \
25332 r=`${PWD_COMMAND}`; export r; \
25333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25334 $(HOST_EXPORTS) \
25335 for flag in $(EXTRA_HOST_FLAGS) ; do \
25336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25337 done; \
25338 echo "Doing maintainer-clean in sim" ; \
25339 (cd $(HOST_SUBDIR)/sim && \
25340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25342 "RANLIB=$${RANLIB}" \
25343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25344 maintainer-clean) \
25345 || exit 1
25347 @endif sim
25351 .PHONY: configure-tar maybe-configure-tar
25352 maybe-configure-tar:
25353 @if tar
25354 maybe-configure-tar: configure-tar
25355 configure-tar:
25356 @: $(MAKE); $(unstage)
25357 @r=`${PWD_COMMAND}`; export r; \
25358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25359 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
25360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
25361 $(HOST_EXPORTS) \
25362 echo Configuring in $(HOST_SUBDIR)/tar; \
25363 cd "$(HOST_SUBDIR)/tar" || exit 1; \
25364 case $(srcdir) in \
25365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25366 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
25367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25368 esac; \
25369 srcdiroption="--srcdir=$${topdir}/tar"; \
25370 libsrcdir="$$s/tar"; \
25371 $(SHELL) $${libsrcdir}/configure \
25372 $(HOST_CONFIGARGS) $${srcdiroption} \
25373 || exit 1
25374 @endif tar
25380 .PHONY: all-tar maybe-all-tar
25381 maybe-all-tar:
25382 @if tar
25383 TARGET-tar=all
25384 maybe-all-tar: all-tar
25385 all-tar: configure-tar
25386 @: $(MAKE); $(unstage)
25387 @r=`${PWD_COMMAND}`; export r; \
25388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25389 $(HOST_EXPORTS) \
25390 (cd $(HOST_SUBDIR)/tar && \
25391 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
25392 @endif tar
25397 .PHONY: check-tar maybe-check-tar
25398 maybe-check-tar:
25399 @if tar
25400 maybe-check-tar: check-tar
25402 check-tar:
25403 @: $(MAKE); $(unstage)
25404 @r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 $(HOST_EXPORTS) \
25407 (cd $(HOST_SUBDIR)/tar && \
25408 $(MAKE) $(FLAGS_TO_PASS) check)
25410 @endif tar
25412 .PHONY: install-tar maybe-install-tar
25413 maybe-install-tar:
25414 @if tar
25415 maybe-install-tar: install-tar
25417 install-tar: installdirs
25418 @: $(MAKE); $(unstage)
25419 @r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(HOST_EXPORTS) \
25422 (cd $(HOST_SUBDIR)/tar && \
25423 $(MAKE) $(FLAGS_TO_PASS) install)
25425 @endif tar
25427 # Other targets (info, dvi, etc.)
25429 .PHONY: maybe-info-tar info-tar
25430 maybe-info-tar:
25431 @if tar
25432 maybe-info-tar: info-tar
25434 info-tar: \
25435 configure-tar
25436 @: $(MAKE); $(unstage)
25437 @[ -f ./tar/Makefile ] || exit 0; \
25438 r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(HOST_EXPORTS) \
25441 for flag in $(EXTRA_HOST_FLAGS) ; do \
25442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25443 done; \
25444 echo "Doing info in tar" ; \
25445 (cd $(HOST_SUBDIR)/tar && \
25446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25448 "RANLIB=$${RANLIB}" \
25449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25450 info) \
25451 || exit 1
25453 @endif tar
25455 .PHONY: maybe-dvi-tar dvi-tar
25456 maybe-dvi-tar:
25457 @if tar
25458 maybe-dvi-tar: dvi-tar
25460 dvi-tar: \
25461 configure-tar
25462 @: $(MAKE); $(unstage)
25463 @[ -f ./tar/Makefile ] || exit 0; \
25464 r=`${PWD_COMMAND}`; export r; \
25465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25466 $(HOST_EXPORTS) \
25467 for flag in $(EXTRA_HOST_FLAGS) ; do \
25468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25469 done; \
25470 echo "Doing dvi in tar" ; \
25471 (cd $(HOST_SUBDIR)/tar && \
25472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25474 "RANLIB=$${RANLIB}" \
25475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25476 dvi) \
25477 || exit 1
25479 @endif tar
25481 .PHONY: maybe-html-tar html-tar
25482 maybe-html-tar:
25483 @if tar
25484 maybe-html-tar: html-tar
25486 html-tar: \
25487 configure-tar
25488 @: $(MAKE); $(unstage)
25489 @[ -f ./tar/Makefile ] || exit 0; \
25490 r=`${PWD_COMMAND}`; export r; \
25491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25492 $(HOST_EXPORTS) \
25493 for flag in $(EXTRA_HOST_FLAGS) ; do \
25494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25495 done; \
25496 echo "Doing html in tar" ; \
25497 (cd $(HOST_SUBDIR)/tar && \
25498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25500 "RANLIB=$${RANLIB}" \
25501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25502 html) \
25503 || exit 1
25505 @endif tar
25507 .PHONY: maybe-TAGS-tar TAGS-tar
25508 maybe-TAGS-tar:
25509 @if tar
25510 maybe-TAGS-tar: TAGS-tar
25512 TAGS-tar: \
25513 configure-tar
25514 @: $(MAKE); $(unstage)
25515 @[ -f ./tar/Makefile ] || exit 0; \
25516 r=`${PWD_COMMAND}`; export r; \
25517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25518 $(HOST_EXPORTS) \
25519 for flag in $(EXTRA_HOST_FLAGS) ; do \
25520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25521 done; \
25522 echo "Doing TAGS in tar" ; \
25523 (cd $(HOST_SUBDIR)/tar && \
25524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25526 "RANLIB=$${RANLIB}" \
25527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25528 TAGS) \
25529 || exit 1
25531 @endif tar
25533 .PHONY: maybe-install-info-tar install-info-tar
25534 maybe-install-info-tar:
25535 @if tar
25536 maybe-install-info-tar: install-info-tar
25538 install-info-tar: \
25539 configure-tar \
25540 info-tar
25541 @: $(MAKE); $(unstage)
25542 @[ -f ./tar/Makefile ] || exit 0; \
25543 r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(HOST_EXPORTS) \
25546 for flag in $(EXTRA_HOST_FLAGS) ; do \
25547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25548 done; \
25549 echo "Doing install-info in tar" ; \
25550 (cd $(HOST_SUBDIR)/tar && \
25551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25553 "RANLIB=$${RANLIB}" \
25554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25555 install-info) \
25556 || exit 1
25558 @endif tar
25560 .PHONY: maybe-install-html-tar install-html-tar
25561 maybe-install-html-tar:
25562 @if tar
25563 maybe-install-html-tar: install-html-tar
25565 install-html-tar: \
25566 configure-tar \
25567 html-tar
25568 @: $(MAKE); $(unstage)
25569 @[ -f ./tar/Makefile ] || exit 0; \
25570 r=`${PWD_COMMAND}`; export r; \
25571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25572 $(HOST_EXPORTS) \
25573 for flag in $(EXTRA_HOST_FLAGS) ; do \
25574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25575 done; \
25576 echo "Doing install-html in tar" ; \
25577 (cd $(HOST_SUBDIR)/tar && \
25578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25580 "RANLIB=$${RANLIB}" \
25581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25582 install-html) \
25583 || exit 1
25585 @endif tar
25587 .PHONY: maybe-installcheck-tar installcheck-tar
25588 maybe-installcheck-tar:
25589 @if tar
25590 maybe-installcheck-tar: installcheck-tar
25592 installcheck-tar: \
25593 configure-tar
25594 @: $(MAKE); $(unstage)
25595 @[ -f ./tar/Makefile ] || exit 0; \
25596 r=`${PWD_COMMAND}`; export r; \
25597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25598 $(HOST_EXPORTS) \
25599 for flag in $(EXTRA_HOST_FLAGS) ; do \
25600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25601 done; \
25602 echo "Doing installcheck in tar" ; \
25603 (cd $(HOST_SUBDIR)/tar && \
25604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25606 "RANLIB=$${RANLIB}" \
25607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25608 installcheck) \
25609 || exit 1
25611 @endif tar
25613 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
25614 maybe-mostlyclean-tar:
25615 @if tar
25616 maybe-mostlyclean-tar: mostlyclean-tar
25618 mostlyclean-tar:
25619 @: $(MAKE); $(unstage)
25620 @[ -f ./tar/Makefile ] || exit 0; \
25621 r=`${PWD_COMMAND}`; export r; \
25622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25623 $(HOST_EXPORTS) \
25624 for flag in $(EXTRA_HOST_FLAGS) ; do \
25625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25626 done; \
25627 echo "Doing mostlyclean in tar" ; \
25628 (cd $(HOST_SUBDIR)/tar && \
25629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25631 "RANLIB=$${RANLIB}" \
25632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25633 mostlyclean) \
25634 || exit 1
25636 @endif tar
25638 .PHONY: maybe-clean-tar clean-tar
25639 maybe-clean-tar:
25640 @if tar
25641 maybe-clean-tar: clean-tar
25643 clean-tar:
25644 @: $(MAKE); $(unstage)
25645 @[ -f ./tar/Makefile ] || exit 0; \
25646 r=`${PWD_COMMAND}`; export r; \
25647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25648 $(HOST_EXPORTS) \
25649 for flag in $(EXTRA_HOST_FLAGS) ; do \
25650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25651 done; \
25652 echo "Doing clean in tar" ; \
25653 (cd $(HOST_SUBDIR)/tar && \
25654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25656 "RANLIB=$${RANLIB}" \
25657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25658 clean) \
25659 || exit 1
25661 @endif tar
25663 .PHONY: maybe-distclean-tar distclean-tar
25664 maybe-distclean-tar:
25665 @if tar
25666 maybe-distclean-tar: distclean-tar
25668 distclean-tar:
25669 @: $(MAKE); $(unstage)
25670 @[ -f ./tar/Makefile ] || exit 0; \
25671 r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(HOST_EXPORTS) \
25674 for flag in $(EXTRA_HOST_FLAGS) ; do \
25675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25676 done; \
25677 echo "Doing distclean in tar" ; \
25678 (cd $(HOST_SUBDIR)/tar && \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25681 "RANLIB=$${RANLIB}" \
25682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25683 distclean) \
25684 || exit 1
25686 @endif tar
25688 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
25689 maybe-maintainer-clean-tar:
25690 @if tar
25691 maybe-maintainer-clean-tar: maintainer-clean-tar
25693 maintainer-clean-tar:
25694 @: $(MAKE); $(unstage)
25695 @[ -f ./tar/Makefile ] || exit 0; \
25696 r=`${PWD_COMMAND}`; export r; \
25697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25698 $(HOST_EXPORTS) \
25699 for flag in $(EXTRA_HOST_FLAGS) ; do \
25700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25701 done; \
25702 echo "Doing maintainer-clean in tar" ; \
25703 (cd $(HOST_SUBDIR)/tar && \
25704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25706 "RANLIB=$${RANLIB}" \
25707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25708 maintainer-clean) \
25709 || exit 1
25711 @endif tar
25715 .PHONY: configure-texinfo maybe-configure-texinfo
25716 maybe-configure-texinfo:
25717 @if texinfo
25718 maybe-configure-texinfo: configure-texinfo
25719 configure-texinfo:
25720 @: $(MAKE); $(unstage)
25721 @r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25725 $(HOST_EXPORTS) \
25726 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25727 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25728 case $(srcdir) in \
25729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25730 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25732 esac; \
25733 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25734 libsrcdir="$$s/texinfo"; \
25735 $(SHELL) $${libsrcdir}/configure \
25736 $(HOST_CONFIGARGS) $${srcdiroption} \
25737 || exit 1
25738 @endif texinfo
25744 .PHONY: all-texinfo maybe-all-texinfo
25745 maybe-all-texinfo:
25746 @if texinfo
25747 TARGET-texinfo=all
25748 maybe-all-texinfo: all-texinfo
25749 all-texinfo: configure-texinfo
25750 @: $(MAKE); $(unstage)
25751 @r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753 $(HOST_EXPORTS) \
25754 (cd $(HOST_SUBDIR)/texinfo && \
25755 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
25756 @endif texinfo
25761 .PHONY: check-texinfo maybe-check-texinfo
25762 maybe-check-texinfo:
25763 @if texinfo
25764 maybe-check-texinfo: check-texinfo
25766 check-texinfo:
25767 @: $(MAKE); $(unstage)
25768 @r=`${PWD_COMMAND}`; export r; \
25769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25770 $(HOST_EXPORTS) \
25771 (cd $(HOST_SUBDIR)/texinfo && \
25772 $(MAKE) $(FLAGS_TO_PASS) check)
25774 @endif texinfo
25776 .PHONY: install-texinfo maybe-install-texinfo
25777 maybe-install-texinfo:
25778 @if texinfo
25779 maybe-install-texinfo: install-texinfo
25781 install-texinfo:
25783 @endif texinfo
25785 # Other targets (info, dvi, etc.)
25787 .PHONY: maybe-info-texinfo info-texinfo
25788 maybe-info-texinfo:
25789 @if texinfo
25790 maybe-info-texinfo: info-texinfo
25792 info-texinfo: \
25793 configure-texinfo
25794 @: $(MAKE); $(unstage)
25795 @[ -f ./texinfo/Makefile ] || exit 0; \
25796 r=`${PWD_COMMAND}`; export r; \
25797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25798 $(HOST_EXPORTS) \
25799 for flag in $(EXTRA_HOST_FLAGS) ; do \
25800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25801 done; \
25802 echo "Doing info in texinfo" ; \
25803 (cd $(HOST_SUBDIR)/texinfo && \
25804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25806 "RANLIB=$${RANLIB}" \
25807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25808 info) \
25809 || exit 1
25811 @endif texinfo
25813 .PHONY: maybe-dvi-texinfo dvi-texinfo
25814 maybe-dvi-texinfo:
25815 @if texinfo
25816 maybe-dvi-texinfo: dvi-texinfo
25818 dvi-texinfo: \
25819 configure-texinfo
25820 @: $(MAKE); $(unstage)
25821 @[ -f ./texinfo/Makefile ] || exit 0; \
25822 r=`${PWD_COMMAND}`; export r; \
25823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25824 $(HOST_EXPORTS) \
25825 for flag in $(EXTRA_HOST_FLAGS) ; do \
25826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25827 done; \
25828 echo "Doing dvi in texinfo" ; \
25829 (cd $(HOST_SUBDIR)/texinfo && \
25830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25832 "RANLIB=$${RANLIB}" \
25833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25834 dvi) \
25835 || exit 1
25837 @endif texinfo
25839 .PHONY: maybe-html-texinfo html-texinfo
25840 maybe-html-texinfo:
25841 @if texinfo
25842 maybe-html-texinfo: html-texinfo
25844 html-texinfo: \
25845 configure-texinfo
25846 @: $(MAKE); $(unstage)
25847 @[ -f ./texinfo/Makefile ] || exit 0; \
25848 r=`${PWD_COMMAND}`; export r; \
25849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25850 $(HOST_EXPORTS) \
25851 for flag in $(EXTRA_HOST_FLAGS) ; do \
25852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25853 done; \
25854 echo "Doing html in texinfo" ; \
25855 (cd $(HOST_SUBDIR)/texinfo && \
25856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25858 "RANLIB=$${RANLIB}" \
25859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25860 html) \
25861 || exit 1
25863 @endif texinfo
25865 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25866 maybe-TAGS-texinfo:
25867 @if texinfo
25868 maybe-TAGS-texinfo: TAGS-texinfo
25870 TAGS-texinfo: \
25871 configure-texinfo
25872 @: $(MAKE); $(unstage)
25873 @[ -f ./texinfo/Makefile ] || exit 0; \
25874 r=`${PWD_COMMAND}`; export r; \
25875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25876 $(HOST_EXPORTS) \
25877 for flag in $(EXTRA_HOST_FLAGS) ; do \
25878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25879 done; \
25880 echo "Doing TAGS in texinfo" ; \
25881 (cd $(HOST_SUBDIR)/texinfo && \
25882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25884 "RANLIB=$${RANLIB}" \
25885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25886 TAGS) \
25887 || exit 1
25889 @endif texinfo
25891 .PHONY: maybe-install-info-texinfo install-info-texinfo
25892 maybe-install-info-texinfo:
25893 @if texinfo
25894 maybe-install-info-texinfo: install-info-texinfo
25896 install-info-texinfo: \
25897 configure-texinfo \
25898 info-texinfo
25899 @: $(MAKE); $(unstage)
25900 @[ -f ./texinfo/Makefile ] || exit 0; \
25901 r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 $(HOST_EXPORTS) \
25904 for flag in $(EXTRA_HOST_FLAGS) ; do \
25905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25906 done; \
25907 echo "Doing install-info in texinfo" ; \
25908 (cd $(HOST_SUBDIR)/texinfo && \
25909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25911 "RANLIB=$${RANLIB}" \
25912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25913 install-info) \
25914 || exit 1
25916 @endif texinfo
25918 .PHONY: maybe-install-html-texinfo install-html-texinfo
25919 maybe-install-html-texinfo:
25920 @if texinfo
25921 maybe-install-html-texinfo: install-html-texinfo
25923 install-html-texinfo: \
25924 configure-texinfo \
25925 html-texinfo
25926 @: $(MAKE); $(unstage)
25927 @[ -f ./texinfo/Makefile ] || exit 0; \
25928 r=`${PWD_COMMAND}`; export r; \
25929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25930 $(HOST_EXPORTS) \
25931 for flag in $(EXTRA_HOST_FLAGS) ; do \
25932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25933 done; \
25934 echo "Doing install-html in texinfo" ; \
25935 (cd $(HOST_SUBDIR)/texinfo && \
25936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25938 "RANLIB=$${RANLIB}" \
25939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25940 install-html) \
25941 || exit 1
25943 @endif texinfo
25945 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25946 maybe-installcheck-texinfo:
25947 @if texinfo
25948 maybe-installcheck-texinfo: installcheck-texinfo
25950 installcheck-texinfo: \
25951 configure-texinfo
25952 @: $(MAKE); $(unstage)
25953 @[ -f ./texinfo/Makefile ] || exit 0; \
25954 r=`${PWD_COMMAND}`; export r; \
25955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25956 $(HOST_EXPORTS) \
25957 for flag in $(EXTRA_HOST_FLAGS) ; do \
25958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25959 done; \
25960 echo "Doing installcheck in texinfo" ; \
25961 (cd $(HOST_SUBDIR)/texinfo && \
25962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25964 "RANLIB=$${RANLIB}" \
25965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25966 installcheck) \
25967 || exit 1
25969 @endif texinfo
25971 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25972 maybe-mostlyclean-texinfo:
25973 @if texinfo
25974 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25976 mostlyclean-texinfo:
25977 @: $(MAKE); $(unstage)
25978 @[ -f ./texinfo/Makefile ] || exit 0; \
25979 r=`${PWD_COMMAND}`; export r; \
25980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25981 $(HOST_EXPORTS) \
25982 for flag in $(EXTRA_HOST_FLAGS) ; do \
25983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25984 done; \
25985 echo "Doing mostlyclean in texinfo" ; \
25986 (cd $(HOST_SUBDIR)/texinfo && \
25987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25989 "RANLIB=$${RANLIB}" \
25990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25991 mostlyclean) \
25992 || exit 1
25994 @endif texinfo
25996 .PHONY: maybe-clean-texinfo clean-texinfo
25997 maybe-clean-texinfo:
25998 @if texinfo
25999 maybe-clean-texinfo: clean-texinfo
26001 clean-texinfo:
26002 @: $(MAKE); $(unstage)
26003 @[ -f ./texinfo/Makefile ] || exit 0; \
26004 r=`${PWD_COMMAND}`; export r; \
26005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26006 $(HOST_EXPORTS) \
26007 for flag in $(EXTRA_HOST_FLAGS) ; do \
26008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26009 done; \
26010 echo "Doing clean in texinfo" ; \
26011 (cd $(HOST_SUBDIR)/texinfo && \
26012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26014 "RANLIB=$${RANLIB}" \
26015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26016 clean) \
26017 || exit 1
26019 @endif texinfo
26021 .PHONY: maybe-distclean-texinfo distclean-texinfo
26022 maybe-distclean-texinfo:
26023 @if texinfo
26024 maybe-distclean-texinfo: distclean-texinfo
26026 distclean-texinfo:
26027 @: $(MAKE); $(unstage)
26028 @[ -f ./texinfo/Makefile ] || exit 0; \
26029 r=`${PWD_COMMAND}`; export r; \
26030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26031 $(HOST_EXPORTS) \
26032 for flag in $(EXTRA_HOST_FLAGS) ; do \
26033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26034 done; \
26035 echo "Doing distclean in texinfo" ; \
26036 (cd $(HOST_SUBDIR)/texinfo && \
26037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26039 "RANLIB=$${RANLIB}" \
26040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26041 distclean) \
26042 || exit 1
26044 @endif texinfo
26046 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26047 maybe-maintainer-clean-texinfo:
26048 @if texinfo
26049 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26051 maintainer-clean-texinfo:
26052 @: $(MAKE); $(unstage)
26053 @[ -f ./texinfo/Makefile ] || exit 0; \
26054 r=`${PWD_COMMAND}`; export r; \
26055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26056 $(HOST_EXPORTS) \
26057 for flag in $(EXTRA_HOST_FLAGS) ; do \
26058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26059 done; \
26060 echo "Doing maintainer-clean in texinfo" ; \
26061 (cd $(HOST_SUBDIR)/texinfo && \
26062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26064 "RANLIB=$${RANLIB}" \
26065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26066 maintainer-clean) \
26067 || exit 1
26069 @endif texinfo
26073 .PHONY: configure-textutils maybe-configure-textutils
26074 maybe-configure-textutils:
26075 @if textutils
26076 maybe-configure-textutils: configure-textutils
26077 configure-textutils:
26078 @: $(MAKE); $(unstage)
26079 @r=`${PWD_COMMAND}`; export r; \
26080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26081 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
26082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
26083 $(HOST_EXPORTS) \
26084 echo Configuring in $(HOST_SUBDIR)/textutils; \
26085 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
26086 case $(srcdir) in \
26087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26088 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
26089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26090 esac; \
26091 srcdiroption="--srcdir=$${topdir}/textutils"; \
26092 libsrcdir="$$s/textutils"; \
26093 $(SHELL) $${libsrcdir}/configure \
26094 $(HOST_CONFIGARGS) $${srcdiroption} \
26095 || exit 1
26096 @endif textutils
26102 .PHONY: all-textutils maybe-all-textutils
26103 maybe-all-textutils:
26104 @if textutils
26105 TARGET-textutils=all
26106 maybe-all-textutils: all-textutils
26107 all-textutils: configure-textutils
26108 @: $(MAKE); $(unstage)
26109 @r=`${PWD_COMMAND}`; export r; \
26110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26111 $(HOST_EXPORTS) \
26112 (cd $(HOST_SUBDIR)/textutils && \
26113 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
26114 @endif textutils
26119 .PHONY: check-textutils maybe-check-textutils
26120 maybe-check-textutils:
26121 @if textutils
26122 maybe-check-textutils: check-textutils
26124 check-textutils:
26125 @: $(MAKE); $(unstage)
26126 @r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(HOST_EXPORTS) \
26129 (cd $(HOST_SUBDIR)/textutils && \
26130 $(MAKE) $(FLAGS_TO_PASS) check)
26132 @endif textutils
26134 .PHONY: install-textutils maybe-install-textutils
26135 maybe-install-textutils:
26136 @if textutils
26137 maybe-install-textutils: install-textutils
26139 install-textutils: installdirs
26140 @: $(MAKE); $(unstage)
26141 @r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(HOST_EXPORTS) \
26144 (cd $(HOST_SUBDIR)/textutils && \
26145 $(MAKE) $(FLAGS_TO_PASS) install)
26147 @endif textutils
26149 # Other targets (info, dvi, etc.)
26151 .PHONY: maybe-info-textutils info-textutils
26152 maybe-info-textutils:
26153 @if textutils
26154 maybe-info-textutils: info-textutils
26156 info-textutils: \
26157 configure-textutils
26158 @: $(MAKE); $(unstage)
26159 @[ -f ./textutils/Makefile ] || exit 0; \
26160 r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 $(HOST_EXPORTS) \
26163 for flag in $(EXTRA_HOST_FLAGS) ; do \
26164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26165 done; \
26166 echo "Doing info in textutils" ; \
26167 (cd $(HOST_SUBDIR)/textutils && \
26168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26170 "RANLIB=$${RANLIB}" \
26171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26172 info) \
26173 || exit 1
26175 @endif textutils
26177 .PHONY: maybe-dvi-textutils dvi-textutils
26178 maybe-dvi-textutils:
26179 @if textutils
26180 maybe-dvi-textutils: dvi-textutils
26182 dvi-textutils: \
26183 configure-textutils
26184 @: $(MAKE); $(unstage)
26185 @[ -f ./textutils/Makefile ] || exit 0; \
26186 r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 $(HOST_EXPORTS) \
26189 for flag in $(EXTRA_HOST_FLAGS) ; do \
26190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26191 done; \
26192 echo "Doing dvi in textutils" ; \
26193 (cd $(HOST_SUBDIR)/textutils && \
26194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26196 "RANLIB=$${RANLIB}" \
26197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26198 dvi) \
26199 || exit 1
26201 @endif textutils
26203 .PHONY: maybe-html-textutils html-textutils
26204 maybe-html-textutils:
26205 @if textutils
26206 maybe-html-textutils: html-textutils
26208 html-textutils: \
26209 configure-textutils
26210 @: $(MAKE); $(unstage)
26211 @[ -f ./textutils/Makefile ] || exit 0; \
26212 r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 $(HOST_EXPORTS) \
26215 for flag in $(EXTRA_HOST_FLAGS) ; do \
26216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26217 done; \
26218 echo "Doing html in textutils" ; \
26219 (cd $(HOST_SUBDIR)/textutils && \
26220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26222 "RANLIB=$${RANLIB}" \
26223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26224 html) \
26225 || exit 1
26227 @endif textutils
26229 .PHONY: maybe-TAGS-textutils TAGS-textutils
26230 maybe-TAGS-textutils:
26231 @if textutils
26232 maybe-TAGS-textutils: TAGS-textutils
26234 TAGS-textutils: \
26235 configure-textutils
26236 @: $(MAKE); $(unstage)
26237 @[ -f ./textutils/Makefile ] || exit 0; \
26238 r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 $(HOST_EXPORTS) \
26241 for flag in $(EXTRA_HOST_FLAGS) ; do \
26242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26243 done; \
26244 echo "Doing TAGS in textutils" ; \
26245 (cd $(HOST_SUBDIR)/textutils && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26248 "RANLIB=$${RANLIB}" \
26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26250 TAGS) \
26251 || exit 1
26253 @endif textutils
26255 .PHONY: maybe-install-info-textutils install-info-textutils
26256 maybe-install-info-textutils:
26257 @if textutils
26258 maybe-install-info-textutils: install-info-textutils
26260 install-info-textutils: \
26261 configure-textutils \
26262 info-textutils
26263 @: $(MAKE); $(unstage)
26264 @[ -f ./textutils/Makefile ] || exit 0; \
26265 r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 $(HOST_EXPORTS) \
26268 for flag in $(EXTRA_HOST_FLAGS) ; do \
26269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26270 done; \
26271 echo "Doing install-info in textutils" ; \
26272 (cd $(HOST_SUBDIR)/textutils && \
26273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26275 "RANLIB=$${RANLIB}" \
26276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26277 install-info) \
26278 || exit 1
26280 @endif textutils
26282 .PHONY: maybe-install-html-textutils install-html-textutils
26283 maybe-install-html-textutils:
26284 @if textutils
26285 maybe-install-html-textutils: install-html-textutils
26287 install-html-textutils: \
26288 configure-textutils \
26289 html-textutils
26290 @: $(MAKE); $(unstage)
26291 @[ -f ./textutils/Makefile ] || exit 0; \
26292 r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 $(HOST_EXPORTS) \
26295 for flag in $(EXTRA_HOST_FLAGS) ; do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 echo "Doing install-html in textutils" ; \
26299 (cd $(HOST_SUBDIR)/textutils && \
26300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26302 "RANLIB=$${RANLIB}" \
26303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26304 install-html) \
26305 || exit 1
26307 @endif textutils
26309 .PHONY: maybe-installcheck-textutils installcheck-textutils
26310 maybe-installcheck-textutils:
26311 @if textutils
26312 maybe-installcheck-textutils: installcheck-textutils
26314 installcheck-textutils: \
26315 configure-textutils
26316 @: $(MAKE); $(unstage)
26317 @[ -f ./textutils/Makefile ] || exit 0; \
26318 r=`${PWD_COMMAND}`; export r; \
26319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26320 $(HOST_EXPORTS) \
26321 for flag in $(EXTRA_HOST_FLAGS) ; do \
26322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26323 done; \
26324 echo "Doing installcheck in textutils" ; \
26325 (cd $(HOST_SUBDIR)/textutils && \
26326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26328 "RANLIB=$${RANLIB}" \
26329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26330 installcheck) \
26331 || exit 1
26333 @endif textutils
26335 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
26336 maybe-mostlyclean-textutils:
26337 @if textutils
26338 maybe-mostlyclean-textutils: mostlyclean-textutils
26340 mostlyclean-textutils:
26341 @: $(MAKE); $(unstage)
26342 @[ -f ./textutils/Makefile ] || exit 0; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(HOST_EXPORTS) \
26346 for flag in $(EXTRA_HOST_FLAGS) ; do \
26347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26348 done; \
26349 echo "Doing mostlyclean in textutils" ; \
26350 (cd $(HOST_SUBDIR)/textutils && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26353 "RANLIB=$${RANLIB}" \
26354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26355 mostlyclean) \
26356 || exit 1
26358 @endif textutils
26360 .PHONY: maybe-clean-textutils clean-textutils
26361 maybe-clean-textutils:
26362 @if textutils
26363 maybe-clean-textutils: clean-textutils
26365 clean-textutils:
26366 @: $(MAKE); $(unstage)
26367 @[ -f ./textutils/Makefile ] || exit 0; \
26368 r=`${PWD_COMMAND}`; export r; \
26369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26370 $(HOST_EXPORTS) \
26371 for flag in $(EXTRA_HOST_FLAGS) ; do \
26372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26373 done; \
26374 echo "Doing clean in textutils" ; \
26375 (cd $(HOST_SUBDIR)/textutils && \
26376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26378 "RANLIB=$${RANLIB}" \
26379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26380 clean) \
26381 || exit 1
26383 @endif textutils
26385 .PHONY: maybe-distclean-textutils distclean-textutils
26386 maybe-distclean-textutils:
26387 @if textutils
26388 maybe-distclean-textutils: distclean-textutils
26390 distclean-textutils:
26391 @: $(MAKE); $(unstage)
26392 @[ -f ./textutils/Makefile ] || exit 0; \
26393 r=`${PWD_COMMAND}`; export r; \
26394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26395 $(HOST_EXPORTS) \
26396 for flag in $(EXTRA_HOST_FLAGS) ; do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26398 done; \
26399 echo "Doing distclean in textutils" ; \
26400 (cd $(HOST_SUBDIR)/textutils && \
26401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26403 "RANLIB=$${RANLIB}" \
26404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26405 distclean) \
26406 || exit 1
26408 @endif textutils
26410 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
26411 maybe-maintainer-clean-textutils:
26412 @if textutils
26413 maybe-maintainer-clean-textutils: maintainer-clean-textutils
26415 maintainer-clean-textutils:
26416 @: $(MAKE); $(unstage)
26417 @[ -f ./textutils/Makefile ] || exit 0; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(HOST_EXPORTS) \
26421 for flag in $(EXTRA_HOST_FLAGS) ; do \
26422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26423 done; \
26424 echo "Doing maintainer-clean in textutils" ; \
26425 (cd $(HOST_SUBDIR)/textutils && \
26426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26428 "RANLIB=$${RANLIB}" \
26429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26430 maintainer-clean) \
26431 || exit 1
26433 @endif textutils
26437 .PHONY: configure-time maybe-configure-time
26438 maybe-configure-time:
26439 @if time
26440 maybe-configure-time: configure-time
26441 configure-time:
26442 @: $(MAKE); $(unstage)
26443 @r=`${PWD_COMMAND}`; export r; \
26444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26445 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
26446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
26447 $(HOST_EXPORTS) \
26448 echo Configuring in $(HOST_SUBDIR)/time; \
26449 cd "$(HOST_SUBDIR)/time" || exit 1; \
26450 case $(srcdir) in \
26451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26452 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
26453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26454 esac; \
26455 srcdiroption="--srcdir=$${topdir}/time"; \
26456 libsrcdir="$$s/time"; \
26457 $(SHELL) $${libsrcdir}/configure \
26458 $(HOST_CONFIGARGS) $${srcdiroption} \
26459 || exit 1
26460 @endif time
26466 .PHONY: all-time maybe-all-time
26467 maybe-all-time:
26468 @if time
26469 TARGET-time=all
26470 maybe-all-time: all-time
26471 all-time: configure-time
26472 @: $(MAKE); $(unstage)
26473 @r=`${PWD_COMMAND}`; export r; \
26474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26475 $(HOST_EXPORTS) \
26476 (cd $(HOST_SUBDIR)/time && \
26477 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
26478 @endif time
26483 .PHONY: check-time maybe-check-time
26484 maybe-check-time:
26485 @if time
26486 maybe-check-time: check-time
26488 check-time:
26489 @: $(MAKE); $(unstage)
26490 @r=`${PWD_COMMAND}`; export r; \
26491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26492 $(HOST_EXPORTS) \
26493 (cd $(HOST_SUBDIR)/time && \
26494 $(MAKE) $(FLAGS_TO_PASS) check)
26496 @endif time
26498 .PHONY: install-time maybe-install-time
26499 maybe-install-time:
26500 @if time
26501 maybe-install-time: install-time
26503 install-time: installdirs
26504 @: $(MAKE); $(unstage)
26505 @r=`${PWD_COMMAND}`; export r; \
26506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26507 $(HOST_EXPORTS) \
26508 (cd $(HOST_SUBDIR)/time && \
26509 $(MAKE) $(FLAGS_TO_PASS) install)
26511 @endif time
26513 # Other targets (info, dvi, etc.)
26515 .PHONY: maybe-info-time info-time
26516 maybe-info-time:
26517 @if time
26518 maybe-info-time: info-time
26520 info-time: \
26521 configure-time
26522 @: $(MAKE); $(unstage)
26523 @[ -f ./time/Makefile ] || exit 0; \
26524 r=`${PWD_COMMAND}`; export r; \
26525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26526 $(HOST_EXPORTS) \
26527 for flag in $(EXTRA_HOST_FLAGS) ; do \
26528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26529 done; \
26530 echo "Doing info in time" ; \
26531 (cd $(HOST_SUBDIR)/time && \
26532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26534 "RANLIB=$${RANLIB}" \
26535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26536 info) \
26537 || exit 1
26539 @endif time
26541 .PHONY: maybe-dvi-time dvi-time
26542 maybe-dvi-time:
26543 @if time
26544 maybe-dvi-time: dvi-time
26546 dvi-time: \
26547 configure-time
26548 @: $(MAKE); $(unstage)
26549 @[ -f ./time/Makefile ] || exit 0; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(HOST_EXPORTS) \
26553 for flag in $(EXTRA_HOST_FLAGS) ; do \
26554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26555 done; \
26556 echo "Doing dvi in time" ; \
26557 (cd $(HOST_SUBDIR)/time && \
26558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26560 "RANLIB=$${RANLIB}" \
26561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26562 dvi) \
26563 || exit 1
26565 @endif time
26567 .PHONY: maybe-html-time html-time
26568 maybe-html-time:
26569 @if time
26570 maybe-html-time: html-time
26572 html-time: \
26573 configure-time
26574 @: $(MAKE); $(unstage)
26575 @[ -f ./time/Makefile ] || exit 0; \
26576 r=`${PWD_COMMAND}`; export r; \
26577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26578 $(HOST_EXPORTS) \
26579 for flag in $(EXTRA_HOST_FLAGS) ; do \
26580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26581 done; \
26582 echo "Doing html in time" ; \
26583 (cd $(HOST_SUBDIR)/time && \
26584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26586 "RANLIB=$${RANLIB}" \
26587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26588 html) \
26589 || exit 1
26591 @endif time
26593 .PHONY: maybe-TAGS-time TAGS-time
26594 maybe-TAGS-time:
26595 @if time
26596 maybe-TAGS-time: TAGS-time
26598 TAGS-time: \
26599 configure-time
26600 @: $(MAKE); $(unstage)
26601 @[ -f ./time/Makefile ] || exit 0; \
26602 r=`${PWD_COMMAND}`; export r; \
26603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26604 $(HOST_EXPORTS) \
26605 for flag in $(EXTRA_HOST_FLAGS) ; do \
26606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26607 done; \
26608 echo "Doing TAGS in time" ; \
26609 (cd $(HOST_SUBDIR)/time && \
26610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26612 "RANLIB=$${RANLIB}" \
26613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26614 TAGS) \
26615 || exit 1
26617 @endif time
26619 .PHONY: maybe-install-info-time install-info-time
26620 maybe-install-info-time:
26621 @if time
26622 maybe-install-info-time: install-info-time
26624 install-info-time: \
26625 configure-time \
26626 info-time
26627 @: $(MAKE); $(unstage)
26628 @[ -f ./time/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 for flag in $(EXTRA_HOST_FLAGS) ; do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26634 done; \
26635 echo "Doing install-info in time" ; \
26636 (cd $(HOST_SUBDIR)/time && \
26637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26639 "RANLIB=$${RANLIB}" \
26640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26641 install-info) \
26642 || exit 1
26644 @endif time
26646 .PHONY: maybe-install-html-time install-html-time
26647 maybe-install-html-time:
26648 @if time
26649 maybe-install-html-time: install-html-time
26651 install-html-time: \
26652 configure-time \
26653 html-time
26654 @: $(MAKE); $(unstage)
26655 @[ -f ./time/Makefile ] || exit 0; \
26656 r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 $(HOST_EXPORTS) \
26659 for flag in $(EXTRA_HOST_FLAGS) ; do \
26660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26661 done; \
26662 echo "Doing install-html in time" ; \
26663 (cd $(HOST_SUBDIR)/time && \
26664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26666 "RANLIB=$${RANLIB}" \
26667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26668 install-html) \
26669 || exit 1
26671 @endif time
26673 .PHONY: maybe-installcheck-time installcheck-time
26674 maybe-installcheck-time:
26675 @if time
26676 maybe-installcheck-time: installcheck-time
26678 installcheck-time: \
26679 configure-time
26680 @: $(MAKE); $(unstage)
26681 @[ -f ./time/Makefile ] || exit 0; \
26682 r=`${PWD_COMMAND}`; export r; \
26683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26684 $(HOST_EXPORTS) \
26685 for flag in $(EXTRA_HOST_FLAGS) ; do \
26686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26687 done; \
26688 echo "Doing installcheck in time" ; \
26689 (cd $(HOST_SUBDIR)/time && \
26690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26692 "RANLIB=$${RANLIB}" \
26693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26694 installcheck) \
26695 || exit 1
26697 @endif time
26699 .PHONY: maybe-mostlyclean-time mostlyclean-time
26700 maybe-mostlyclean-time:
26701 @if time
26702 maybe-mostlyclean-time: mostlyclean-time
26704 mostlyclean-time:
26705 @: $(MAKE); $(unstage)
26706 @[ -f ./time/Makefile ] || exit 0; \
26707 r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 $(HOST_EXPORTS) \
26710 for flag in $(EXTRA_HOST_FLAGS) ; do \
26711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26712 done; \
26713 echo "Doing mostlyclean in time" ; \
26714 (cd $(HOST_SUBDIR)/time && \
26715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26717 "RANLIB=$${RANLIB}" \
26718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26719 mostlyclean) \
26720 || exit 1
26722 @endif time
26724 .PHONY: maybe-clean-time clean-time
26725 maybe-clean-time:
26726 @if time
26727 maybe-clean-time: clean-time
26729 clean-time:
26730 @: $(MAKE); $(unstage)
26731 @[ -f ./time/Makefile ] || exit 0; \
26732 r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 $(HOST_EXPORTS) \
26735 for flag in $(EXTRA_HOST_FLAGS) ; do \
26736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26737 done; \
26738 echo "Doing clean in time" ; \
26739 (cd $(HOST_SUBDIR)/time && \
26740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26742 "RANLIB=$${RANLIB}" \
26743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26744 clean) \
26745 || exit 1
26747 @endif time
26749 .PHONY: maybe-distclean-time distclean-time
26750 maybe-distclean-time:
26751 @if time
26752 maybe-distclean-time: distclean-time
26754 distclean-time:
26755 @: $(MAKE); $(unstage)
26756 @[ -f ./time/Makefile ] || exit 0; \
26757 r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 $(HOST_EXPORTS) \
26760 for flag in $(EXTRA_HOST_FLAGS) ; do \
26761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26762 done; \
26763 echo "Doing distclean in time" ; \
26764 (cd $(HOST_SUBDIR)/time && \
26765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26767 "RANLIB=$${RANLIB}" \
26768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26769 distclean) \
26770 || exit 1
26772 @endif time
26774 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
26775 maybe-maintainer-clean-time:
26776 @if time
26777 maybe-maintainer-clean-time: maintainer-clean-time
26779 maintainer-clean-time:
26780 @: $(MAKE); $(unstage)
26781 @[ -f ./time/Makefile ] || exit 0; \
26782 r=`${PWD_COMMAND}`; export r; \
26783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26784 $(HOST_EXPORTS) \
26785 for flag in $(EXTRA_HOST_FLAGS) ; do \
26786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26787 done; \
26788 echo "Doing maintainer-clean in time" ; \
26789 (cd $(HOST_SUBDIR)/time && \
26790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26792 "RANLIB=$${RANLIB}" \
26793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26794 maintainer-clean) \
26795 || exit 1
26797 @endif time
26801 .PHONY: configure-uudecode maybe-configure-uudecode
26802 maybe-configure-uudecode:
26803 @if uudecode
26804 maybe-configure-uudecode: configure-uudecode
26805 configure-uudecode:
26806 @: $(MAKE); $(unstage)
26807 @r=`${PWD_COMMAND}`; export r; \
26808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26809 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
26810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
26811 $(HOST_EXPORTS) \
26812 echo Configuring in $(HOST_SUBDIR)/uudecode; \
26813 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
26814 case $(srcdir) in \
26815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26816 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
26817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26818 esac; \
26819 srcdiroption="--srcdir=$${topdir}/uudecode"; \
26820 libsrcdir="$$s/uudecode"; \
26821 $(SHELL) $${libsrcdir}/configure \
26822 $(HOST_CONFIGARGS) $${srcdiroption} \
26823 || exit 1
26824 @endif uudecode
26830 .PHONY: all-uudecode maybe-all-uudecode
26831 maybe-all-uudecode:
26832 @if uudecode
26833 TARGET-uudecode=all
26834 maybe-all-uudecode: all-uudecode
26835 all-uudecode: configure-uudecode
26836 @: $(MAKE); $(unstage)
26837 @r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839 $(HOST_EXPORTS) \
26840 (cd $(HOST_SUBDIR)/uudecode && \
26841 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
26842 @endif uudecode
26847 .PHONY: check-uudecode maybe-check-uudecode
26848 maybe-check-uudecode:
26849 @if uudecode
26850 maybe-check-uudecode: check-uudecode
26852 check-uudecode:
26853 @: $(MAKE); $(unstage)
26854 @r=`${PWD_COMMAND}`; export r; \
26855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26856 $(HOST_EXPORTS) \
26857 (cd $(HOST_SUBDIR)/uudecode && \
26858 $(MAKE) $(FLAGS_TO_PASS) check)
26860 @endif uudecode
26862 .PHONY: install-uudecode maybe-install-uudecode
26863 maybe-install-uudecode:
26864 @if uudecode
26865 maybe-install-uudecode: install-uudecode
26867 install-uudecode: installdirs
26868 @: $(MAKE); $(unstage)
26869 @r=`${PWD_COMMAND}`; export r; \
26870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26871 $(HOST_EXPORTS) \
26872 (cd $(HOST_SUBDIR)/uudecode && \
26873 $(MAKE) $(FLAGS_TO_PASS) install)
26875 @endif uudecode
26877 # Other targets (info, dvi, etc.)
26879 .PHONY: maybe-info-uudecode info-uudecode
26880 maybe-info-uudecode:
26881 @if uudecode
26882 maybe-info-uudecode: info-uudecode
26884 info-uudecode: \
26885 configure-uudecode
26886 @: $(MAKE); $(unstage)
26887 @[ -f ./uudecode/Makefile ] || exit 0; \
26888 r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 $(HOST_EXPORTS) \
26891 for flag in $(EXTRA_HOST_FLAGS) ; do \
26892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26893 done; \
26894 echo "Doing info in uudecode" ; \
26895 (cd $(HOST_SUBDIR)/uudecode && \
26896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26898 "RANLIB=$${RANLIB}" \
26899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26900 info) \
26901 || exit 1
26903 @endif uudecode
26905 .PHONY: maybe-dvi-uudecode dvi-uudecode
26906 maybe-dvi-uudecode:
26907 @if uudecode
26908 maybe-dvi-uudecode: dvi-uudecode
26910 dvi-uudecode: \
26911 configure-uudecode
26912 @: $(MAKE); $(unstage)
26913 @[ -f ./uudecode/Makefile ] || exit 0; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 for flag in $(EXTRA_HOST_FLAGS) ; do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 echo "Doing dvi in uudecode" ; \
26921 (cd $(HOST_SUBDIR)/uudecode && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26926 dvi) \
26927 || exit 1
26929 @endif uudecode
26931 .PHONY: maybe-html-uudecode html-uudecode
26932 maybe-html-uudecode:
26933 @if uudecode
26934 maybe-html-uudecode: html-uudecode
26936 html-uudecode: \
26937 configure-uudecode
26938 @: $(MAKE); $(unstage)
26939 @[ -f ./uudecode/Makefile ] || exit 0; \
26940 r=`${PWD_COMMAND}`; export r; \
26941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26942 $(HOST_EXPORTS) \
26943 for flag in $(EXTRA_HOST_FLAGS) ; do \
26944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26945 done; \
26946 echo "Doing html in uudecode" ; \
26947 (cd $(HOST_SUBDIR)/uudecode && \
26948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26950 "RANLIB=$${RANLIB}" \
26951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26952 html) \
26953 || exit 1
26955 @endif uudecode
26957 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
26958 maybe-TAGS-uudecode:
26959 @if uudecode
26960 maybe-TAGS-uudecode: TAGS-uudecode
26962 TAGS-uudecode: \
26963 configure-uudecode
26964 @: $(MAKE); $(unstage)
26965 @[ -f ./uudecode/Makefile ] || exit 0; \
26966 r=`${PWD_COMMAND}`; export r; \
26967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26968 $(HOST_EXPORTS) \
26969 for flag in $(EXTRA_HOST_FLAGS) ; do \
26970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26971 done; \
26972 echo "Doing TAGS in uudecode" ; \
26973 (cd $(HOST_SUBDIR)/uudecode && \
26974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26976 "RANLIB=$${RANLIB}" \
26977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26978 TAGS) \
26979 || exit 1
26981 @endif uudecode
26983 .PHONY: maybe-install-info-uudecode install-info-uudecode
26984 maybe-install-info-uudecode:
26985 @if uudecode
26986 maybe-install-info-uudecode: install-info-uudecode
26988 install-info-uudecode: \
26989 configure-uudecode \
26990 info-uudecode
26991 @: $(MAKE); $(unstage)
26992 @[ -f ./uudecode/Makefile ] || exit 0; \
26993 r=`${PWD_COMMAND}`; export r; \
26994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26995 $(HOST_EXPORTS) \
26996 for flag in $(EXTRA_HOST_FLAGS) ; do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998 done; \
26999 echo "Doing install-info in uudecode" ; \
27000 (cd $(HOST_SUBDIR)/uudecode && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27005 install-info) \
27006 || exit 1
27008 @endif uudecode
27010 .PHONY: maybe-install-html-uudecode install-html-uudecode
27011 maybe-install-html-uudecode:
27012 @if uudecode
27013 maybe-install-html-uudecode: install-html-uudecode
27015 install-html-uudecode: \
27016 configure-uudecode \
27017 html-uudecode
27018 @: $(MAKE); $(unstage)
27019 @[ -f ./uudecode/Makefile ] || exit 0; \
27020 r=`${PWD_COMMAND}`; export r; \
27021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27022 $(HOST_EXPORTS) \
27023 for flag in $(EXTRA_HOST_FLAGS) ; do \
27024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27025 done; \
27026 echo "Doing install-html in uudecode" ; \
27027 (cd $(HOST_SUBDIR)/uudecode && \
27028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27030 "RANLIB=$${RANLIB}" \
27031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27032 install-html) \
27033 || exit 1
27035 @endif uudecode
27037 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
27038 maybe-installcheck-uudecode:
27039 @if uudecode
27040 maybe-installcheck-uudecode: installcheck-uudecode
27042 installcheck-uudecode: \
27043 configure-uudecode
27044 @: $(MAKE); $(unstage)
27045 @[ -f ./uudecode/Makefile ] || exit 0; \
27046 r=`${PWD_COMMAND}`; export r; \
27047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27048 $(HOST_EXPORTS) \
27049 for flag in $(EXTRA_HOST_FLAGS) ; do \
27050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27051 done; \
27052 echo "Doing installcheck in uudecode" ; \
27053 (cd $(HOST_SUBDIR)/uudecode && \
27054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27056 "RANLIB=$${RANLIB}" \
27057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27058 installcheck) \
27059 || exit 1
27061 @endif uudecode
27063 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
27064 maybe-mostlyclean-uudecode:
27065 @if uudecode
27066 maybe-mostlyclean-uudecode: mostlyclean-uudecode
27068 mostlyclean-uudecode:
27069 @: $(MAKE); $(unstage)
27070 @[ -f ./uudecode/Makefile ] || exit 0; \
27071 r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(HOST_EXPORTS) \
27074 for flag in $(EXTRA_HOST_FLAGS) ; do \
27075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27076 done; \
27077 echo "Doing mostlyclean in uudecode" ; \
27078 (cd $(HOST_SUBDIR)/uudecode && \
27079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081 "RANLIB=$${RANLIB}" \
27082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27083 mostlyclean) \
27084 || exit 1
27086 @endif uudecode
27088 .PHONY: maybe-clean-uudecode clean-uudecode
27089 maybe-clean-uudecode:
27090 @if uudecode
27091 maybe-clean-uudecode: clean-uudecode
27093 clean-uudecode:
27094 @: $(MAKE); $(unstage)
27095 @[ -f ./uudecode/Makefile ] || exit 0; \
27096 r=`${PWD_COMMAND}`; export r; \
27097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27098 $(HOST_EXPORTS) \
27099 for flag in $(EXTRA_HOST_FLAGS) ; do \
27100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27101 done; \
27102 echo "Doing clean in uudecode" ; \
27103 (cd $(HOST_SUBDIR)/uudecode && \
27104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27106 "RANLIB=$${RANLIB}" \
27107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27108 clean) \
27109 || exit 1
27111 @endif uudecode
27113 .PHONY: maybe-distclean-uudecode distclean-uudecode
27114 maybe-distclean-uudecode:
27115 @if uudecode
27116 maybe-distclean-uudecode: distclean-uudecode
27118 distclean-uudecode:
27119 @: $(MAKE); $(unstage)
27120 @[ -f ./uudecode/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) ; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing distclean in uudecode" ; \
27128 (cd $(HOST_SUBDIR)/uudecode && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27133 distclean) \
27134 || exit 1
27136 @endif uudecode
27138 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
27139 maybe-maintainer-clean-uudecode:
27140 @if uudecode
27141 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
27143 maintainer-clean-uudecode:
27144 @: $(MAKE); $(unstage)
27145 @[ -f ./uudecode/Makefile ] || exit 0; \
27146 r=`${PWD_COMMAND}`; export r; \
27147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27148 $(HOST_EXPORTS) \
27149 for flag in $(EXTRA_HOST_FLAGS) ; do \
27150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27151 done; \
27152 echo "Doing maintainer-clean in uudecode" ; \
27153 (cd $(HOST_SUBDIR)/uudecode && \
27154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27156 "RANLIB=$${RANLIB}" \
27157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27158 maintainer-clean) \
27159 || exit 1
27161 @endif uudecode
27165 .PHONY: configure-wdiff maybe-configure-wdiff
27166 maybe-configure-wdiff:
27167 @if wdiff
27168 maybe-configure-wdiff: configure-wdiff
27169 configure-wdiff:
27170 @: $(MAKE); $(unstage)
27171 @r=`${PWD_COMMAND}`; export r; \
27172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27173 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
27174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
27175 $(HOST_EXPORTS) \
27176 echo Configuring in $(HOST_SUBDIR)/wdiff; \
27177 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
27178 case $(srcdir) in \
27179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27180 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
27181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27182 esac; \
27183 srcdiroption="--srcdir=$${topdir}/wdiff"; \
27184 libsrcdir="$$s/wdiff"; \
27185 $(SHELL) $${libsrcdir}/configure \
27186 $(HOST_CONFIGARGS) $${srcdiroption} \
27187 || exit 1
27188 @endif wdiff
27194 .PHONY: all-wdiff maybe-all-wdiff
27195 maybe-all-wdiff:
27196 @if wdiff
27197 TARGET-wdiff=all
27198 maybe-all-wdiff: all-wdiff
27199 all-wdiff: configure-wdiff
27200 @: $(MAKE); $(unstage)
27201 @r=`${PWD_COMMAND}`; export r; \
27202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27203 $(HOST_EXPORTS) \
27204 (cd $(HOST_SUBDIR)/wdiff && \
27205 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
27206 @endif wdiff
27211 .PHONY: check-wdiff maybe-check-wdiff
27212 maybe-check-wdiff:
27213 @if wdiff
27214 maybe-check-wdiff: check-wdiff
27216 check-wdiff:
27217 @: $(MAKE); $(unstage)
27218 @r=`${PWD_COMMAND}`; export r; \
27219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27220 $(HOST_EXPORTS) \
27221 (cd $(HOST_SUBDIR)/wdiff && \
27222 $(MAKE) $(FLAGS_TO_PASS) check)
27224 @endif wdiff
27226 .PHONY: install-wdiff maybe-install-wdiff
27227 maybe-install-wdiff:
27228 @if wdiff
27229 maybe-install-wdiff: install-wdiff
27231 install-wdiff: installdirs
27232 @: $(MAKE); $(unstage)
27233 @r=`${PWD_COMMAND}`; export r; \
27234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27235 $(HOST_EXPORTS) \
27236 (cd $(HOST_SUBDIR)/wdiff && \
27237 $(MAKE) $(FLAGS_TO_PASS) install)
27239 @endif wdiff
27241 # Other targets (info, dvi, etc.)
27243 .PHONY: maybe-info-wdiff info-wdiff
27244 maybe-info-wdiff:
27245 @if wdiff
27246 maybe-info-wdiff: info-wdiff
27248 info-wdiff: \
27249 configure-wdiff
27250 @: $(MAKE); $(unstage)
27251 @[ -f ./wdiff/Makefile ] || exit 0; \
27252 r=`${PWD_COMMAND}`; export r; \
27253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27254 $(HOST_EXPORTS) \
27255 for flag in $(EXTRA_HOST_FLAGS) ; do \
27256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27257 done; \
27258 echo "Doing info in wdiff" ; \
27259 (cd $(HOST_SUBDIR)/wdiff && \
27260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27262 "RANLIB=$${RANLIB}" \
27263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27264 info) \
27265 || exit 1
27267 @endif wdiff
27269 .PHONY: maybe-dvi-wdiff dvi-wdiff
27270 maybe-dvi-wdiff:
27271 @if wdiff
27272 maybe-dvi-wdiff: dvi-wdiff
27274 dvi-wdiff: \
27275 configure-wdiff
27276 @: $(MAKE); $(unstage)
27277 @[ -f ./wdiff/Makefile ] || exit 0; \
27278 r=`${PWD_COMMAND}`; export r; \
27279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27280 $(HOST_EXPORTS) \
27281 for flag in $(EXTRA_HOST_FLAGS) ; do \
27282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27283 done; \
27284 echo "Doing dvi in wdiff" ; \
27285 (cd $(HOST_SUBDIR)/wdiff && \
27286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27288 "RANLIB=$${RANLIB}" \
27289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27290 dvi) \
27291 || exit 1
27293 @endif wdiff
27295 .PHONY: maybe-html-wdiff html-wdiff
27296 maybe-html-wdiff:
27297 @if wdiff
27298 maybe-html-wdiff: html-wdiff
27300 html-wdiff: \
27301 configure-wdiff
27302 @: $(MAKE); $(unstage)
27303 @[ -f ./wdiff/Makefile ] || exit 0; \
27304 r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 for flag in $(EXTRA_HOST_FLAGS) ; do \
27308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27309 done; \
27310 echo "Doing html in wdiff" ; \
27311 (cd $(HOST_SUBDIR)/wdiff && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27316 html) \
27317 || exit 1
27319 @endif wdiff
27321 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
27322 maybe-TAGS-wdiff:
27323 @if wdiff
27324 maybe-TAGS-wdiff: TAGS-wdiff
27326 TAGS-wdiff: \
27327 configure-wdiff
27328 @: $(MAKE); $(unstage)
27329 @[ -f ./wdiff/Makefile ] || exit 0; \
27330 r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 $(HOST_EXPORTS) \
27333 for flag in $(EXTRA_HOST_FLAGS) ; do \
27334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27335 done; \
27336 echo "Doing TAGS in wdiff" ; \
27337 (cd $(HOST_SUBDIR)/wdiff && \
27338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27340 "RANLIB=$${RANLIB}" \
27341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27342 TAGS) \
27343 || exit 1
27345 @endif wdiff
27347 .PHONY: maybe-install-info-wdiff install-info-wdiff
27348 maybe-install-info-wdiff:
27349 @if wdiff
27350 maybe-install-info-wdiff: install-info-wdiff
27352 install-info-wdiff: \
27353 configure-wdiff \
27354 info-wdiff
27355 @: $(MAKE); $(unstage)
27356 @[ -f ./wdiff/Makefile ] || exit 0; \
27357 r=`${PWD_COMMAND}`; export r; \
27358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27359 $(HOST_EXPORTS) \
27360 for flag in $(EXTRA_HOST_FLAGS) ; do \
27361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27362 done; \
27363 echo "Doing install-info in wdiff" ; \
27364 (cd $(HOST_SUBDIR)/wdiff && \
27365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27367 "RANLIB=$${RANLIB}" \
27368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27369 install-info) \
27370 || exit 1
27372 @endif wdiff
27374 .PHONY: maybe-install-html-wdiff install-html-wdiff
27375 maybe-install-html-wdiff:
27376 @if wdiff
27377 maybe-install-html-wdiff: install-html-wdiff
27379 install-html-wdiff: \
27380 configure-wdiff \
27381 html-wdiff
27382 @: $(MAKE); $(unstage)
27383 @[ -f ./wdiff/Makefile ] || exit 0; \
27384 r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 $(HOST_EXPORTS) \
27387 for flag in $(EXTRA_HOST_FLAGS) ; do \
27388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27389 done; \
27390 echo "Doing install-html in wdiff" ; \
27391 (cd $(HOST_SUBDIR)/wdiff && \
27392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27394 "RANLIB=$${RANLIB}" \
27395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27396 install-html) \
27397 || exit 1
27399 @endif wdiff
27401 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
27402 maybe-installcheck-wdiff:
27403 @if wdiff
27404 maybe-installcheck-wdiff: installcheck-wdiff
27406 installcheck-wdiff: \
27407 configure-wdiff
27408 @: $(MAKE); $(unstage)
27409 @[ -f ./wdiff/Makefile ] || exit 0; \
27410 r=`${PWD_COMMAND}`; export r; \
27411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27412 $(HOST_EXPORTS) \
27413 for flag in $(EXTRA_HOST_FLAGS) ; do \
27414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27415 done; \
27416 echo "Doing installcheck in wdiff" ; \
27417 (cd $(HOST_SUBDIR)/wdiff && \
27418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27420 "RANLIB=$${RANLIB}" \
27421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27422 installcheck) \
27423 || exit 1
27425 @endif wdiff
27427 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
27428 maybe-mostlyclean-wdiff:
27429 @if wdiff
27430 maybe-mostlyclean-wdiff: mostlyclean-wdiff
27432 mostlyclean-wdiff:
27433 @: $(MAKE); $(unstage)
27434 @[ -f ./wdiff/Makefile ] || exit 0; \
27435 r=`${PWD_COMMAND}`; export r; \
27436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27437 $(HOST_EXPORTS) \
27438 for flag in $(EXTRA_HOST_FLAGS) ; do \
27439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27440 done; \
27441 echo "Doing mostlyclean in wdiff" ; \
27442 (cd $(HOST_SUBDIR)/wdiff && \
27443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27445 "RANLIB=$${RANLIB}" \
27446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27447 mostlyclean) \
27448 || exit 1
27450 @endif wdiff
27452 .PHONY: maybe-clean-wdiff clean-wdiff
27453 maybe-clean-wdiff:
27454 @if wdiff
27455 maybe-clean-wdiff: clean-wdiff
27457 clean-wdiff:
27458 @: $(MAKE); $(unstage)
27459 @[ -f ./wdiff/Makefile ] || exit 0; \
27460 r=`${PWD_COMMAND}`; export r; \
27461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27462 $(HOST_EXPORTS) \
27463 for flag in $(EXTRA_HOST_FLAGS) ; do \
27464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27465 done; \
27466 echo "Doing clean in wdiff" ; \
27467 (cd $(HOST_SUBDIR)/wdiff && \
27468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27470 "RANLIB=$${RANLIB}" \
27471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27472 clean) \
27473 || exit 1
27475 @endif wdiff
27477 .PHONY: maybe-distclean-wdiff distclean-wdiff
27478 maybe-distclean-wdiff:
27479 @if wdiff
27480 maybe-distclean-wdiff: distclean-wdiff
27482 distclean-wdiff:
27483 @: $(MAKE); $(unstage)
27484 @[ -f ./wdiff/Makefile ] || exit 0; \
27485 r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 for flag in $(EXTRA_HOST_FLAGS) ; do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 echo "Doing distclean in wdiff" ; \
27492 (cd $(HOST_SUBDIR)/wdiff && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27497 distclean) \
27498 || exit 1
27500 @endif wdiff
27502 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
27503 maybe-maintainer-clean-wdiff:
27504 @if wdiff
27505 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
27507 maintainer-clean-wdiff:
27508 @: $(MAKE); $(unstage)
27509 @[ -f ./wdiff/Makefile ] || exit 0; \
27510 r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(HOST_EXPORTS) \
27513 for flag in $(EXTRA_HOST_FLAGS) ; do \
27514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27515 done; \
27516 echo "Doing maintainer-clean in wdiff" ; \
27517 (cd $(HOST_SUBDIR)/wdiff && \
27518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27520 "RANLIB=$${RANLIB}" \
27521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27522 maintainer-clean) \
27523 || exit 1
27525 @endif wdiff
27529 .PHONY: configure-zip maybe-configure-zip
27530 maybe-configure-zip:
27531 @if zip
27532 maybe-configure-zip: configure-zip
27533 configure-zip:
27534 @: $(MAKE); $(unstage)
27535 @r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
27538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
27539 $(HOST_EXPORTS) \
27540 echo Configuring in $(HOST_SUBDIR)/zip; \
27541 cd "$(HOST_SUBDIR)/zip" || exit 1; \
27542 case $(srcdir) in \
27543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27544 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
27545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27546 esac; \
27547 srcdiroption="--srcdir=$${topdir}/zip"; \
27548 libsrcdir="$$s/zip"; \
27549 $(SHELL) $${libsrcdir}/configure \
27550 $(HOST_CONFIGARGS) $${srcdiroption} \
27551 || exit 1
27552 @endif zip
27558 .PHONY: all-zip maybe-all-zip
27559 maybe-all-zip:
27560 @if zip
27561 TARGET-zip=all
27562 maybe-all-zip: all-zip
27563 all-zip: configure-zip
27564 @: $(MAKE); $(unstage)
27565 @r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 $(HOST_EXPORTS) \
27568 (cd $(HOST_SUBDIR)/zip && \
27569 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
27570 @endif zip
27575 .PHONY: check-zip maybe-check-zip
27576 maybe-check-zip:
27577 @if zip
27578 maybe-check-zip: check-zip
27580 # This module is only tested in a native toolchain.
27581 check-zip:
27582 @: $(MAKE); $(unstage)
27583 @if [ '$(host)' = '$(target)' ] ; then \
27584 r=`${PWD_COMMAND}`; export r; \
27585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27586 $(HOST_EXPORTS) \
27587 (cd $(HOST_SUBDIR)/zip && \
27588 $(MAKE) $(FLAGS_TO_PASS) check); \
27591 @endif zip
27593 .PHONY: install-zip maybe-install-zip
27594 maybe-install-zip:
27595 @if zip
27596 maybe-install-zip: install-zip
27598 install-zip: installdirs
27599 @: $(MAKE); $(unstage)
27600 @r=`${PWD_COMMAND}`; export r; \
27601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27602 $(HOST_EXPORTS) \
27603 (cd $(HOST_SUBDIR)/zip && \
27604 $(MAKE) $(FLAGS_TO_PASS) install)
27606 @endif zip
27608 # Other targets (info, dvi, etc.)
27610 .PHONY: maybe-info-zip info-zip
27611 maybe-info-zip:
27612 @if zip
27613 maybe-info-zip: info-zip
27615 info-zip: \
27616 configure-zip
27617 @: $(MAKE); $(unstage)
27618 @[ -f ./zip/Makefile ] || exit 0; \
27619 r=`${PWD_COMMAND}`; export r; \
27620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27621 $(HOST_EXPORTS) \
27622 for flag in $(EXTRA_HOST_FLAGS) ; do \
27623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27624 done; \
27625 echo "Doing info in zip" ; \
27626 (cd $(HOST_SUBDIR)/zip && \
27627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27629 "RANLIB=$${RANLIB}" \
27630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27631 info) \
27632 || exit 1
27634 @endif zip
27636 .PHONY: maybe-dvi-zip dvi-zip
27637 maybe-dvi-zip:
27638 @if zip
27639 maybe-dvi-zip: dvi-zip
27641 dvi-zip: \
27642 configure-zip
27643 @: $(MAKE); $(unstage)
27644 @[ -f ./zip/Makefile ] || exit 0; \
27645 r=`${PWD_COMMAND}`; export r; \
27646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27647 $(HOST_EXPORTS) \
27648 for flag in $(EXTRA_HOST_FLAGS) ; do \
27649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27650 done; \
27651 echo "Doing dvi in zip" ; \
27652 (cd $(HOST_SUBDIR)/zip && \
27653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27655 "RANLIB=$${RANLIB}" \
27656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27657 dvi) \
27658 || exit 1
27660 @endif zip
27662 .PHONY: maybe-html-zip html-zip
27663 maybe-html-zip:
27664 @if zip
27665 maybe-html-zip: html-zip
27667 html-zip: \
27668 configure-zip
27669 @: $(MAKE); $(unstage)
27670 @[ -f ./zip/Makefile ] || exit 0; \
27671 r=`${PWD_COMMAND}`; export r; \
27672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27673 $(HOST_EXPORTS) \
27674 for flag in $(EXTRA_HOST_FLAGS) ; do \
27675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27676 done; \
27677 echo "Doing html in zip" ; \
27678 (cd $(HOST_SUBDIR)/zip && \
27679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27681 "RANLIB=$${RANLIB}" \
27682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27683 html) \
27684 || exit 1
27686 @endif zip
27688 .PHONY: maybe-TAGS-zip TAGS-zip
27689 maybe-TAGS-zip:
27690 @if zip
27691 maybe-TAGS-zip: TAGS-zip
27693 TAGS-zip: \
27694 configure-zip
27695 @: $(MAKE); $(unstage)
27696 @[ -f ./zip/Makefile ] || exit 0; \
27697 r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27699 $(HOST_EXPORTS) \
27700 for flag in $(EXTRA_HOST_FLAGS) ; do \
27701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27702 done; \
27703 echo "Doing TAGS in zip" ; \
27704 (cd $(HOST_SUBDIR)/zip && \
27705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27707 "RANLIB=$${RANLIB}" \
27708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27709 TAGS) \
27710 || exit 1
27712 @endif zip
27714 .PHONY: maybe-install-info-zip install-info-zip
27715 maybe-install-info-zip:
27716 @if zip
27717 maybe-install-info-zip: install-info-zip
27719 install-info-zip: \
27720 configure-zip \
27721 info-zip
27722 @: $(MAKE); $(unstage)
27723 @[ -f ./zip/Makefile ] || exit 0; \
27724 r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 $(HOST_EXPORTS) \
27727 for flag in $(EXTRA_HOST_FLAGS) ; do \
27728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27729 done; \
27730 echo "Doing install-info in zip" ; \
27731 (cd $(HOST_SUBDIR)/zip && \
27732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27734 "RANLIB=$${RANLIB}" \
27735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27736 install-info) \
27737 || exit 1
27739 @endif zip
27741 .PHONY: maybe-install-html-zip install-html-zip
27742 maybe-install-html-zip:
27743 @if zip
27744 maybe-install-html-zip: install-html-zip
27746 install-html-zip: \
27747 configure-zip \
27748 html-zip
27749 @: $(MAKE); $(unstage)
27750 @[ -f ./zip/Makefile ] || exit 0; \
27751 r=`${PWD_COMMAND}`; export r; \
27752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27753 $(HOST_EXPORTS) \
27754 for flag in $(EXTRA_HOST_FLAGS) ; do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 done; \
27757 echo "Doing install-html in zip" ; \
27758 (cd $(HOST_SUBDIR)/zip && \
27759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27761 "RANLIB=$${RANLIB}" \
27762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27763 install-html) \
27764 || exit 1
27766 @endif zip
27768 .PHONY: maybe-installcheck-zip installcheck-zip
27769 maybe-installcheck-zip:
27770 @if zip
27771 maybe-installcheck-zip: installcheck-zip
27773 installcheck-zip: \
27774 configure-zip
27775 @: $(MAKE); $(unstage)
27776 @[ -f ./zip/Makefile ] || exit 0; \
27777 r=`${PWD_COMMAND}`; export r; \
27778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27779 $(HOST_EXPORTS) \
27780 for flag in $(EXTRA_HOST_FLAGS) ; do \
27781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27782 done; \
27783 echo "Doing installcheck in zip" ; \
27784 (cd $(HOST_SUBDIR)/zip && \
27785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27787 "RANLIB=$${RANLIB}" \
27788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27789 installcheck) \
27790 || exit 1
27792 @endif zip
27794 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
27795 maybe-mostlyclean-zip:
27796 @if zip
27797 maybe-mostlyclean-zip: mostlyclean-zip
27799 mostlyclean-zip:
27800 @: $(MAKE); $(unstage)
27801 @[ -f ./zip/Makefile ] || exit 0; \
27802 r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 $(HOST_EXPORTS) \
27805 for flag in $(EXTRA_HOST_FLAGS) ; do \
27806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27807 done; \
27808 echo "Doing mostlyclean in zip" ; \
27809 (cd $(HOST_SUBDIR)/zip && \
27810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27812 "RANLIB=$${RANLIB}" \
27813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27814 mostlyclean) \
27815 || exit 1
27817 @endif zip
27819 .PHONY: maybe-clean-zip clean-zip
27820 maybe-clean-zip:
27821 @if zip
27822 maybe-clean-zip: clean-zip
27824 clean-zip:
27825 @: $(MAKE); $(unstage)
27826 @[ -f ./zip/Makefile ] || exit 0; \
27827 r=`${PWD_COMMAND}`; export r; \
27828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27829 $(HOST_EXPORTS) \
27830 for flag in $(EXTRA_HOST_FLAGS) ; do \
27831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27832 done; \
27833 echo "Doing clean in zip" ; \
27834 (cd $(HOST_SUBDIR)/zip && \
27835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27837 "RANLIB=$${RANLIB}" \
27838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27839 clean) \
27840 || exit 1
27842 @endif zip
27844 .PHONY: maybe-distclean-zip distclean-zip
27845 maybe-distclean-zip:
27846 @if zip
27847 maybe-distclean-zip: distclean-zip
27849 distclean-zip:
27850 @: $(MAKE); $(unstage)
27851 @[ -f ./zip/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 echo "Doing distclean in zip" ; \
27859 (cd $(HOST_SUBDIR)/zip && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27862 "RANLIB=$${RANLIB}" \
27863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27864 distclean) \
27865 || exit 1
27867 @endif zip
27869 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
27870 maybe-maintainer-clean-zip:
27871 @if zip
27872 maybe-maintainer-clean-zip: maintainer-clean-zip
27874 maintainer-clean-zip:
27875 @: $(MAKE); $(unstage)
27876 @[ -f ./zip/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(HOST_EXPORTS) \
27880 for flag in $(EXTRA_HOST_FLAGS) ; do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 echo "Doing maintainer-clean in zip" ; \
27884 (cd $(HOST_SUBDIR)/zip && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27887 "RANLIB=$${RANLIB}" \
27888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27889 maintainer-clean) \
27890 || exit 1
27892 @endif zip
27896 .PHONY: configure-zlib maybe-configure-zlib
27897 maybe-configure-zlib:
27898 @if zlib
27899 maybe-configure-zlib: configure-zlib
27900 configure-zlib:
27901 @endif zlib
27902 @if zlib-bootstrap
27903 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
27904 @endif zlib-bootstrap
27905 @if zlib
27906 @r=`${PWD_COMMAND}`; export r; \
27907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27910 $(HOST_EXPORTS) \
27911 echo Configuring in $(HOST_SUBDIR)/zlib; \
27912 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27913 case $(srcdir) in \
27914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27915 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27917 esac; \
27918 srcdiroption="--srcdir=$${topdir}/zlib"; \
27919 libsrcdir="$$s/zlib"; \
27920 $(SHELL) $${libsrcdir}/configure \
27921 $(HOST_CONFIGARGS) $${srcdiroption} \
27922 || exit 1
27923 @endif zlib
27927 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27928 maybe-configure-stage1-zlib:
27929 @if zlib-bootstrap
27930 maybe-configure-stage1-zlib: configure-stage1-zlib
27931 configure-stage1-zlib:
27932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27934 @r=`${PWD_COMMAND}`; export r; \
27935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27936 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27937 $(HOST_EXPORTS) \
27938 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
27939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27940 cd $(HOST_SUBDIR)/zlib || exit 1; \
27941 case $(srcdir) in \
27942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27943 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27945 esac; \
27946 srcdiroption="--srcdir=$${topdir}/zlib"; \
27947 libsrcdir="$$s/zlib"; \
27948 $(SHELL) $${libsrcdir}/configure \
27949 $(HOST_CONFIGARGS) $${srcdiroption} \
27950 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
27951 @endif zlib-bootstrap
27953 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27954 maybe-configure-stage2-zlib:
27955 @if zlib-bootstrap
27956 maybe-configure-stage2-zlib: configure-stage2-zlib
27957 configure-stage2-zlib:
27958 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27960 @r=`${PWD_COMMAND}`; export r; \
27961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27962 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27963 $(HOST_EXPORTS) \
27964 $(POSTSTAGE1_HOST_EXPORTS) \
27965 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
27966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27967 cd $(HOST_SUBDIR)/zlib || exit 1; \
27968 case $(srcdir) in \
27969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27970 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27972 esac; \
27973 srcdiroption="--srcdir=$${topdir}/zlib"; \
27974 libsrcdir="$$s/zlib"; \
27975 $(SHELL) $${libsrcdir}/configure \
27976 $(HOST_CONFIGARGS) $${srcdiroption} \
27977 @stage2_werror_flag@
27978 @endif zlib-bootstrap
27980 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27981 maybe-configure-stage3-zlib:
27982 @if zlib-bootstrap
27983 maybe-configure-stage3-zlib: configure-stage3-zlib
27984 configure-stage3-zlib:
27985 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27987 @r=`${PWD_COMMAND}`; export r; \
27988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27989 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27990 $(HOST_EXPORTS) \
27991 $(POSTSTAGE1_HOST_EXPORTS) \
27992 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
27993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27994 cd $(HOST_SUBDIR)/zlib || exit 1; \
27995 case $(srcdir) in \
27996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27997 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27999 esac; \
28000 srcdiroption="--srcdir=$${topdir}/zlib"; \
28001 libsrcdir="$$s/zlib"; \
28002 $(SHELL) $${libsrcdir}/configure \
28003 $(HOST_CONFIGARGS) $${srcdiroption} \
28004 @stage2_werror_flag@
28005 @endif zlib-bootstrap
28007 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
28008 maybe-configure-stage4-zlib:
28009 @if zlib-bootstrap
28010 maybe-configure-stage4-zlib: configure-stage4-zlib
28011 configure-stage4-zlib:
28012 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28014 @r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28017 $(HOST_EXPORTS) \
28018 $(POSTSTAGE1_HOST_EXPORTS) \
28019 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
28020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28021 cd $(HOST_SUBDIR)/zlib || exit 1; \
28022 case $(srcdir) in \
28023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28024 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28026 esac; \
28027 srcdiroption="--srcdir=$${topdir}/zlib"; \
28028 libsrcdir="$$s/zlib"; \
28029 $(SHELL) $${libsrcdir}/configure \
28030 $(HOST_CONFIGARGS) $${srcdiroption} \
28031 @stage2_werror_flag@
28032 @endif zlib-bootstrap
28034 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
28035 maybe-configure-stageprofile-zlib:
28036 @if zlib-bootstrap
28037 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
28038 configure-stageprofile-zlib:
28039 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28041 @r=`${PWD_COMMAND}`; export r; \
28042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28043 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28044 $(HOST_EXPORTS) \
28045 $(POSTSTAGE1_HOST_EXPORTS) \
28046 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
28047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28048 cd $(HOST_SUBDIR)/zlib || exit 1; \
28049 case $(srcdir) in \
28050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28051 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28053 esac; \
28054 srcdiroption="--srcdir=$${topdir}/zlib"; \
28055 libsrcdir="$$s/zlib"; \
28056 $(SHELL) $${libsrcdir}/configure \
28057 $(HOST_CONFIGARGS) $${srcdiroption} \
28058 @stage2_werror_flag@
28059 @endif zlib-bootstrap
28061 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
28062 maybe-configure-stagefeedback-zlib:
28063 @if zlib-bootstrap
28064 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
28065 configure-stagefeedback-zlib:
28066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28068 @r=`${PWD_COMMAND}`; export r; \
28069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28070 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28071 $(HOST_EXPORTS) \
28072 $(POSTSTAGE1_HOST_EXPORTS) \
28073 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
28074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28075 cd $(HOST_SUBDIR)/zlib || exit 1; \
28076 case $(srcdir) in \
28077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28078 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28080 esac; \
28081 srcdiroption="--srcdir=$${topdir}/zlib"; \
28082 libsrcdir="$$s/zlib"; \
28083 $(SHELL) $${libsrcdir}/configure \
28084 $(HOST_CONFIGARGS) $${srcdiroption} \
28085 @stage2_werror_flag@
28086 @endif zlib-bootstrap
28092 .PHONY: all-zlib maybe-all-zlib
28093 maybe-all-zlib:
28094 @if zlib
28095 TARGET-zlib=all
28096 maybe-all-zlib: all-zlib
28097 all-zlib: configure-zlib
28098 @endif zlib
28099 @if zlib-bootstrap
28100 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
28101 @endif zlib-bootstrap
28102 @if zlib
28103 @r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 $(HOST_EXPORTS) \
28106 (cd $(HOST_SUBDIR)/zlib && \
28107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
28108 @endif zlib
28112 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28113 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28114 maybe-all-stage1-zlib:
28115 maybe-clean-stage1-zlib:
28116 @if zlib-bootstrap
28117 maybe-all-stage1-zlib: all-stage1-zlib
28118 all-stage1: all-stage1-zlib
28119 TARGET-stage1-zlib = $(TARGET-zlib)
28120 all-stage1-zlib: configure-stage1-zlib
28121 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28122 @r=`${PWD_COMMAND}`; export r; \
28123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124 $(HOST_EXPORTS) \
28125 cd $(HOST_SUBDIR)/zlib && \
28126 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
28127 $(TARGET-stage1-zlib)
28129 maybe-clean-stage1-zlib: clean-stage1-zlib
28130 clean-stage1: clean-stage1-zlib
28131 clean-stage1-zlib:
28132 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
28133 || exit 0 ; \
28134 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
28135 cd $(HOST_SUBDIR)/zlib && \
28136 $(MAKE) $(FLAGS_TO_PASS) \
28137 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
28138 @endif zlib-bootstrap
28141 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
28142 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
28143 maybe-all-stage2-zlib:
28144 maybe-clean-stage2-zlib:
28145 @if zlib-bootstrap
28146 maybe-all-stage2-zlib: all-stage2-zlib
28147 all-stage2: all-stage2-zlib
28148 TARGET-stage2-zlib = $(TARGET-zlib)
28149 all-stage2-zlib: configure-stage2-zlib
28150 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28151 @r=`${PWD_COMMAND}`; export r; \
28152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28153 $(HOST_EXPORTS) \
28154 $(POSTSTAGE1_HOST_EXPORTS) \
28155 cd $(HOST_SUBDIR)/zlib && \
28156 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28157 $(TARGET-stage2-zlib)
28159 maybe-clean-stage2-zlib: clean-stage2-zlib
28160 clean-stage2: clean-stage2-zlib
28161 clean-stage2-zlib:
28162 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
28163 || exit 0 ; \
28164 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
28165 cd $(HOST_SUBDIR)/zlib && \
28166 $(MAKE) $(FLAGS_TO_PASS) \
28167 $(POSTSTAGE1_FLAGS_TO_PASS) \
28168 clean
28169 @endif zlib-bootstrap
28172 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
28173 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
28174 maybe-all-stage3-zlib:
28175 maybe-clean-stage3-zlib:
28176 @if zlib-bootstrap
28177 maybe-all-stage3-zlib: all-stage3-zlib
28178 all-stage3: all-stage3-zlib
28179 TARGET-stage3-zlib = $(TARGET-zlib)
28180 all-stage3-zlib: configure-stage3-zlib
28181 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28182 @r=`${PWD_COMMAND}`; export r; \
28183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28184 $(HOST_EXPORTS) \
28185 $(POSTSTAGE1_HOST_EXPORTS) \
28186 cd $(HOST_SUBDIR)/zlib && \
28187 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28188 $(TARGET-stage3-zlib)
28190 maybe-clean-stage3-zlib: clean-stage3-zlib
28191 clean-stage3: clean-stage3-zlib
28192 clean-stage3-zlib:
28193 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
28194 || exit 0 ; \
28195 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
28196 cd $(HOST_SUBDIR)/zlib && \
28197 $(MAKE) $(FLAGS_TO_PASS) \
28198 $(POSTSTAGE1_FLAGS_TO_PASS) \
28199 clean
28200 @endif zlib-bootstrap
28203 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
28204 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
28205 maybe-all-stage4-zlib:
28206 maybe-clean-stage4-zlib:
28207 @if zlib-bootstrap
28208 maybe-all-stage4-zlib: all-stage4-zlib
28209 all-stage4: all-stage4-zlib
28210 TARGET-stage4-zlib = $(TARGET-zlib)
28211 all-stage4-zlib: configure-stage4-zlib
28212 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28213 @r=`${PWD_COMMAND}`; export r; \
28214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28215 $(HOST_EXPORTS) \
28216 $(POSTSTAGE1_HOST_EXPORTS) \
28217 cd $(HOST_SUBDIR)/zlib && \
28218 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28219 $(TARGET-stage4-zlib)
28221 maybe-clean-stage4-zlib: clean-stage4-zlib
28222 clean-stage4: clean-stage4-zlib
28223 clean-stage4-zlib:
28224 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
28225 || exit 0 ; \
28226 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
28227 cd $(HOST_SUBDIR)/zlib && \
28228 $(MAKE) $(FLAGS_TO_PASS) \
28229 $(POSTSTAGE1_FLAGS_TO_PASS) \
28230 clean
28231 @endif zlib-bootstrap
28234 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
28235 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
28236 maybe-all-stageprofile-zlib:
28237 maybe-clean-stageprofile-zlib:
28238 @if zlib-bootstrap
28239 maybe-all-stageprofile-zlib: all-stageprofile-zlib
28240 all-stageprofile: all-stageprofile-zlib
28241 TARGET-stageprofile-zlib = $(TARGET-zlib)
28242 all-stageprofile-zlib: configure-stageprofile-zlib
28243 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28244 @r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 $(HOST_EXPORTS) \
28247 $(POSTSTAGE1_HOST_EXPORTS) \
28248 cd $(HOST_SUBDIR)/zlib && \
28249 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
28250 $(TARGET-stageprofile-zlib)
28252 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
28253 clean-stageprofile: clean-stageprofile-zlib
28254 clean-stageprofile-zlib:
28255 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
28256 || exit 0 ; \
28257 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
28258 cd $(HOST_SUBDIR)/zlib && \
28259 $(MAKE) $(FLAGS_TO_PASS) \
28260 $(POSTSTAGE1_FLAGS_TO_PASS) \
28261 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
28262 @endif zlib-bootstrap
28265 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
28266 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
28267 maybe-all-stagefeedback-zlib:
28268 maybe-clean-stagefeedback-zlib:
28269 @if zlib-bootstrap
28270 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
28271 all-stagefeedback: all-stagefeedback-zlib
28272 TARGET-stagefeedback-zlib = $(TARGET-zlib)
28273 all-stagefeedback-zlib: configure-stagefeedback-zlib
28274 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28275 @r=`${PWD_COMMAND}`; export r; \
28276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28277 $(HOST_EXPORTS) \
28278 $(POSTSTAGE1_HOST_EXPORTS) \
28279 cd $(HOST_SUBDIR)/zlib && \
28280 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
28281 $(TARGET-stagefeedback-zlib)
28283 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
28284 clean-stagefeedback: clean-stagefeedback-zlib
28285 clean-stagefeedback-zlib:
28286 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
28287 || exit 0 ; \
28288 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
28289 cd $(HOST_SUBDIR)/zlib && \
28290 $(MAKE) $(FLAGS_TO_PASS) \
28291 $(POSTSTAGE1_FLAGS_TO_PASS) \
28292 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
28293 @endif zlib-bootstrap
28299 .PHONY: check-zlib maybe-check-zlib
28300 maybe-check-zlib:
28301 @if zlib
28302 maybe-check-zlib: check-zlib
28304 check-zlib:
28306 @endif zlib
28308 .PHONY: install-zlib maybe-install-zlib
28309 maybe-install-zlib:
28310 @if zlib
28311 maybe-install-zlib: install-zlib
28313 install-zlib:
28315 @endif zlib
28317 # Other targets (info, dvi, etc.)
28319 .PHONY: maybe-info-zlib info-zlib
28320 maybe-info-zlib:
28321 @if zlib
28322 maybe-info-zlib: info-zlib
28324 info-zlib: \
28325 configure-zlib
28326 @[ -f ./zlib/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) ; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing info in zlib" ; \
28334 (cd $(HOST_SUBDIR)/zlib && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28339 info) \
28340 || exit 1
28342 @endif zlib
28344 .PHONY: maybe-dvi-zlib dvi-zlib
28345 maybe-dvi-zlib:
28346 @if zlib
28347 maybe-dvi-zlib: dvi-zlib
28349 dvi-zlib: \
28350 configure-zlib
28351 @[ -f ./zlib/Makefile ] || exit 0; \
28352 r=`${PWD_COMMAND}`; export r; \
28353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28354 $(HOST_EXPORTS) \
28355 for flag in $(EXTRA_HOST_FLAGS) ; do \
28356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28357 done; \
28358 echo "Doing dvi in zlib" ; \
28359 (cd $(HOST_SUBDIR)/zlib && \
28360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28362 "RANLIB=$${RANLIB}" \
28363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28364 dvi) \
28365 || exit 1
28367 @endif zlib
28369 .PHONY: maybe-html-zlib html-zlib
28370 maybe-html-zlib:
28371 @if zlib
28372 maybe-html-zlib: html-zlib
28374 html-zlib: \
28375 configure-zlib
28376 @[ -f ./zlib/Makefile ] || exit 0; \
28377 r=`${PWD_COMMAND}`; export r; \
28378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28379 $(HOST_EXPORTS) \
28380 for flag in $(EXTRA_HOST_FLAGS) ; do \
28381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28382 done; \
28383 echo "Doing html in zlib" ; \
28384 (cd $(HOST_SUBDIR)/zlib && \
28385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28387 "RANLIB=$${RANLIB}" \
28388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28389 html) \
28390 || exit 1
28392 @endif zlib
28394 .PHONY: maybe-TAGS-zlib TAGS-zlib
28395 maybe-TAGS-zlib:
28396 @if zlib
28397 maybe-TAGS-zlib: TAGS-zlib
28399 TAGS-zlib: \
28400 configure-zlib
28401 @[ -f ./zlib/Makefile ] || exit 0; \
28402 r=`${PWD_COMMAND}`; export r; \
28403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28404 $(HOST_EXPORTS) \
28405 for flag in $(EXTRA_HOST_FLAGS) ; do \
28406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28407 done; \
28408 echo "Doing TAGS in zlib" ; \
28409 (cd $(HOST_SUBDIR)/zlib && \
28410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28412 "RANLIB=$${RANLIB}" \
28413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28414 TAGS) \
28415 || exit 1
28417 @endif zlib
28419 .PHONY: maybe-install-info-zlib install-info-zlib
28420 maybe-install-info-zlib:
28421 @if zlib
28422 maybe-install-info-zlib: install-info-zlib
28424 install-info-zlib: \
28425 configure-zlib \
28426 info-zlib
28427 @[ -f ./zlib/Makefile ] || exit 0; \
28428 r=`${PWD_COMMAND}`; export r; \
28429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28430 $(HOST_EXPORTS) \
28431 for flag in $(EXTRA_HOST_FLAGS) ; do \
28432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28433 done; \
28434 echo "Doing install-info in zlib" ; \
28435 (cd $(HOST_SUBDIR)/zlib && \
28436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28438 "RANLIB=$${RANLIB}" \
28439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28440 install-info) \
28441 || exit 1
28443 @endif zlib
28445 .PHONY: maybe-install-html-zlib install-html-zlib
28446 maybe-install-html-zlib:
28447 @if zlib
28448 maybe-install-html-zlib: install-html-zlib
28450 install-html-zlib: \
28451 configure-zlib \
28452 html-zlib
28453 @[ -f ./zlib/Makefile ] || exit 0; \
28454 r=`${PWD_COMMAND}`; export r; \
28455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28456 $(HOST_EXPORTS) \
28457 for flag in $(EXTRA_HOST_FLAGS) ; do \
28458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28459 done; \
28460 echo "Doing install-html in zlib" ; \
28461 (cd $(HOST_SUBDIR)/zlib && \
28462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28464 "RANLIB=$${RANLIB}" \
28465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28466 install-html) \
28467 || exit 1
28469 @endif zlib
28471 .PHONY: maybe-installcheck-zlib installcheck-zlib
28472 maybe-installcheck-zlib:
28473 @if zlib
28474 maybe-installcheck-zlib: installcheck-zlib
28476 installcheck-zlib: \
28477 configure-zlib
28478 @[ -f ./zlib/Makefile ] || exit 0; \
28479 r=`${PWD_COMMAND}`; export r; \
28480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28481 $(HOST_EXPORTS) \
28482 for flag in $(EXTRA_HOST_FLAGS) ; do \
28483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28484 done; \
28485 echo "Doing installcheck in zlib" ; \
28486 (cd $(HOST_SUBDIR)/zlib && \
28487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28489 "RANLIB=$${RANLIB}" \
28490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28491 installcheck) \
28492 || exit 1
28494 @endif zlib
28496 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28497 maybe-mostlyclean-zlib:
28498 @if zlib
28499 maybe-mostlyclean-zlib: mostlyclean-zlib
28501 mostlyclean-zlib:
28502 @[ -f ./zlib/Makefile ] || exit 0; \
28503 r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 $(HOST_EXPORTS) \
28506 for flag in $(EXTRA_HOST_FLAGS) ; do \
28507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28508 done; \
28509 echo "Doing mostlyclean in zlib" ; \
28510 (cd $(HOST_SUBDIR)/zlib && \
28511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28513 "RANLIB=$${RANLIB}" \
28514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28515 mostlyclean) \
28516 || exit 1
28518 @endif zlib
28520 .PHONY: maybe-clean-zlib clean-zlib
28521 maybe-clean-zlib:
28522 @if zlib
28523 maybe-clean-zlib: clean-zlib
28525 clean-zlib:
28526 @[ -f ./zlib/Makefile ] || exit 0; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 for flag in $(EXTRA_HOST_FLAGS) ; do \
28531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28532 done; \
28533 echo "Doing clean in zlib" ; \
28534 (cd $(HOST_SUBDIR)/zlib && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28537 "RANLIB=$${RANLIB}" \
28538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28539 clean) \
28540 || exit 1
28542 @endif zlib
28544 .PHONY: maybe-distclean-zlib distclean-zlib
28545 maybe-distclean-zlib:
28546 @if zlib
28547 maybe-distclean-zlib: distclean-zlib
28549 distclean-zlib:
28550 @[ -f ./zlib/Makefile ] || exit 0; \
28551 r=`${PWD_COMMAND}`; export r; \
28552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28553 $(HOST_EXPORTS) \
28554 for flag in $(EXTRA_HOST_FLAGS) ; do \
28555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28556 done; \
28557 echo "Doing distclean in zlib" ; \
28558 (cd $(HOST_SUBDIR)/zlib && \
28559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28561 "RANLIB=$${RANLIB}" \
28562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28563 distclean) \
28564 || exit 1
28566 @endif zlib
28568 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28569 maybe-maintainer-clean-zlib:
28570 @if zlib
28571 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28573 maintainer-clean-zlib:
28574 @[ -f ./zlib/Makefile ] || exit 0; \
28575 r=`${PWD_COMMAND}`; export r; \
28576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28577 $(HOST_EXPORTS) \
28578 for flag in $(EXTRA_HOST_FLAGS) ; do \
28579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28580 done; \
28581 echo "Doing maintainer-clean in zlib" ; \
28582 (cd $(HOST_SUBDIR)/zlib && \
28583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28585 "RANLIB=$${RANLIB}" \
28586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28587 maintainer-clean) \
28588 || exit 1
28590 @endif zlib
28594 .PHONY: configure-gdb maybe-configure-gdb
28595 maybe-configure-gdb:
28596 @if gdb
28597 maybe-configure-gdb: configure-gdb
28598 configure-gdb:
28599 @: $(MAKE); $(unstage)
28600 @r=`${PWD_COMMAND}`; export r; \
28601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28602 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28604 $(HOST_EXPORTS) \
28605 echo Configuring in $(HOST_SUBDIR)/gdb; \
28606 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28607 case $(srcdir) in \
28608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28609 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28611 esac; \
28612 srcdiroption="--srcdir=$${topdir}/gdb"; \
28613 libsrcdir="$$s/gdb"; \
28614 $(SHELL) $${libsrcdir}/configure \
28615 $(HOST_CONFIGARGS) $${srcdiroption} \
28616 || exit 1
28617 @endif gdb
28623 .PHONY: all-gdb maybe-all-gdb
28624 maybe-all-gdb:
28625 @if gdb
28626 TARGET-gdb=all
28627 maybe-all-gdb: all-gdb
28628 all-gdb: configure-gdb
28629 @: $(MAKE); $(unstage)
28630 @r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(HOST_EXPORTS) \
28633 (cd $(HOST_SUBDIR)/gdb && \
28634 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
28635 @endif gdb
28640 .PHONY: check-gdb maybe-check-gdb
28641 maybe-check-gdb:
28642 @if gdb
28643 maybe-check-gdb: check-gdb
28645 check-gdb:
28646 @: $(MAKE); $(unstage)
28647 @r=`${PWD_COMMAND}`; export r; \
28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 $(HOST_EXPORTS) \
28650 (cd $(HOST_SUBDIR)/gdb && \
28651 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
28653 @endif gdb
28655 .PHONY: install-gdb maybe-install-gdb
28656 maybe-install-gdb:
28657 @if gdb
28658 maybe-install-gdb: install-gdb
28660 install-gdb: installdirs
28661 @: $(MAKE); $(unstage)
28662 @r=`${PWD_COMMAND}`; export r; \
28663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28664 $(HOST_EXPORTS) \
28665 (cd $(HOST_SUBDIR)/gdb && \
28666 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
28668 @endif gdb
28670 # Other targets (info, dvi, etc.)
28672 .PHONY: maybe-info-gdb info-gdb
28673 maybe-info-gdb:
28674 @if gdb
28675 maybe-info-gdb: info-gdb
28677 info-gdb: \
28678 configure-gdb
28679 @: $(MAKE); $(unstage)
28680 @[ -f ./gdb/Makefile ] || exit 0; \
28681 r=`${PWD_COMMAND}`; export r; \
28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28683 $(HOST_EXPORTS) \
28684 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28686 done; \
28687 echo "Doing info in gdb" ; \
28688 (cd $(HOST_SUBDIR)/gdb && \
28689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28691 "RANLIB=$${RANLIB}" \
28692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28693 info) \
28694 || exit 1
28696 @endif gdb
28698 .PHONY: maybe-dvi-gdb dvi-gdb
28699 maybe-dvi-gdb:
28700 @if gdb
28701 maybe-dvi-gdb: dvi-gdb
28703 dvi-gdb: \
28704 configure-gdb
28705 @: $(MAKE); $(unstage)
28706 @[ -f ./gdb/Makefile ] || exit 0; \
28707 r=`${PWD_COMMAND}`; export r; \
28708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 $(HOST_EXPORTS) \
28710 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28712 done; \
28713 echo "Doing dvi in gdb" ; \
28714 (cd $(HOST_SUBDIR)/gdb && \
28715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28717 "RANLIB=$${RANLIB}" \
28718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28719 dvi) \
28720 || exit 1
28722 @endif gdb
28724 .PHONY: maybe-html-gdb html-gdb
28725 maybe-html-gdb:
28726 @if gdb
28727 maybe-html-gdb: html-gdb
28729 html-gdb: \
28730 configure-gdb
28731 @: $(MAKE); $(unstage)
28732 @[ -f ./gdb/Makefile ] || exit 0; \
28733 r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 $(HOST_EXPORTS) \
28736 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28738 done; \
28739 echo "Doing html in gdb" ; \
28740 (cd $(HOST_SUBDIR)/gdb && \
28741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28743 "RANLIB=$${RANLIB}" \
28744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28745 html) \
28746 || exit 1
28748 @endif gdb
28750 .PHONY: maybe-TAGS-gdb TAGS-gdb
28751 maybe-TAGS-gdb:
28752 @if gdb
28753 maybe-TAGS-gdb: TAGS-gdb
28755 TAGS-gdb: \
28756 configure-gdb
28757 @: $(MAKE); $(unstage)
28758 @[ -f ./gdb/Makefile ] || exit 0; \
28759 r=`${PWD_COMMAND}`; export r; \
28760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28761 $(HOST_EXPORTS) \
28762 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28764 done; \
28765 echo "Doing TAGS in gdb" ; \
28766 (cd $(HOST_SUBDIR)/gdb && \
28767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28769 "RANLIB=$${RANLIB}" \
28770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28771 TAGS) \
28772 || exit 1
28774 @endif gdb
28776 .PHONY: maybe-install-info-gdb install-info-gdb
28777 maybe-install-info-gdb:
28778 @if gdb
28779 maybe-install-info-gdb: install-info-gdb
28781 install-info-gdb: \
28782 configure-gdb \
28783 info-gdb
28784 @: $(MAKE); $(unstage)
28785 @[ -f ./gdb/Makefile ] || exit 0; \
28786 r=`${PWD_COMMAND}`; export r; \
28787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28788 $(HOST_EXPORTS) \
28789 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28791 done; \
28792 echo "Doing install-info in gdb" ; \
28793 (cd $(HOST_SUBDIR)/gdb && \
28794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28796 "RANLIB=$${RANLIB}" \
28797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28798 install-info) \
28799 || exit 1
28801 @endif gdb
28803 .PHONY: maybe-install-html-gdb install-html-gdb
28804 maybe-install-html-gdb:
28805 @if gdb
28806 maybe-install-html-gdb: install-html-gdb
28808 install-html-gdb: \
28809 configure-gdb \
28810 html-gdb
28811 @: $(MAKE); $(unstage)
28812 @[ -f ./gdb/Makefile ] || exit 0; \
28813 r=`${PWD_COMMAND}`; export r; \
28814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28815 $(HOST_EXPORTS) \
28816 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28818 done; \
28819 echo "Doing install-html in gdb" ; \
28820 (cd $(HOST_SUBDIR)/gdb && \
28821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28823 "RANLIB=$${RANLIB}" \
28824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28825 install-html) \
28826 || exit 1
28828 @endif gdb
28830 .PHONY: maybe-installcheck-gdb installcheck-gdb
28831 maybe-installcheck-gdb:
28832 @if gdb
28833 maybe-installcheck-gdb: installcheck-gdb
28835 installcheck-gdb: \
28836 configure-gdb
28837 @: $(MAKE); $(unstage)
28838 @[ -f ./gdb/Makefile ] || exit 0; \
28839 r=`${PWD_COMMAND}`; export r; \
28840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28841 $(HOST_EXPORTS) \
28842 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28844 done; \
28845 echo "Doing installcheck in gdb" ; \
28846 (cd $(HOST_SUBDIR)/gdb && \
28847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28849 "RANLIB=$${RANLIB}" \
28850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28851 installcheck) \
28852 || exit 1
28854 @endif gdb
28856 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28857 maybe-mostlyclean-gdb:
28858 @if gdb
28859 maybe-mostlyclean-gdb: mostlyclean-gdb
28861 mostlyclean-gdb:
28862 @: $(MAKE); $(unstage)
28863 @[ -f ./gdb/Makefile ] || exit 0; \
28864 r=`${PWD_COMMAND}`; export r; \
28865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28866 $(HOST_EXPORTS) \
28867 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28869 done; \
28870 echo "Doing mostlyclean in gdb" ; \
28871 (cd $(HOST_SUBDIR)/gdb && \
28872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28874 "RANLIB=$${RANLIB}" \
28875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28876 mostlyclean) \
28877 || exit 1
28879 @endif gdb
28881 .PHONY: maybe-clean-gdb clean-gdb
28882 maybe-clean-gdb:
28883 @if gdb
28884 maybe-clean-gdb: clean-gdb
28886 clean-gdb:
28887 @: $(MAKE); $(unstage)
28888 @[ -f ./gdb/Makefile ] || exit 0; \
28889 r=`${PWD_COMMAND}`; export r; \
28890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28891 $(HOST_EXPORTS) \
28892 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28894 done; \
28895 echo "Doing clean in gdb" ; \
28896 (cd $(HOST_SUBDIR)/gdb && \
28897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28899 "RANLIB=$${RANLIB}" \
28900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28901 clean) \
28902 || exit 1
28904 @endif gdb
28906 .PHONY: maybe-distclean-gdb distclean-gdb
28907 maybe-distclean-gdb:
28908 @if gdb
28909 maybe-distclean-gdb: distclean-gdb
28911 distclean-gdb:
28912 @: $(MAKE); $(unstage)
28913 @[ -f ./gdb/Makefile ] || exit 0; \
28914 r=`${PWD_COMMAND}`; export r; \
28915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28916 $(HOST_EXPORTS) \
28917 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28919 done; \
28920 echo "Doing distclean in gdb" ; \
28921 (cd $(HOST_SUBDIR)/gdb && \
28922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28924 "RANLIB=$${RANLIB}" \
28925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28926 distclean) \
28927 || exit 1
28929 @endif gdb
28931 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28932 maybe-maintainer-clean-gdb:
28933 @if gdb
28934 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28936 maintainer-clean-gdb:
28937 @: $(MAKE); $(unstage)
28938 @[ -f ./gdb/Makefile ] || exit 0; \
28939 r=`${PWD_COMMAND}`; export r; \
28940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28941 $(HOST_EXPORTS) \
28942 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28944 done; \
28945 echo "Doing maintainer-clean in gdb" ; \
28946 (cd $(HOST_SUBDIR)/gdb && \
28947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28949 "RANLIB=$${RANLIB}" \
28950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28951 maintainer-clean) \
28952 || exit 1
28954 @endif gdb
28958 .PHONY: configure-expect maybe-configure-expect
28959 maybe-configure-expect:
28960 @if expect
28961 maybe-configure-expect: configure-expect
28962 configure-expect:
28963 @: $(MAKE); $(unstage)
28964 @r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
28968 $(HOST_EXPORTS) \
28969 echo Configuring in $(HOST_SUBDIR)/expect; \
28970 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28971 case $(srcdir) in \
28972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28973 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28975 esac; \
28976 srcdiroption="--srcdir=$${topdir}/expect"; \
28977 libsrcdir="$$s/expect"; \
28978 $(SHELL) $${libsrcdir}/configure \
28979 $(HOST_CONFIGARGS) $${srcdiroption} \
28980 || exit 1
28981 @endif expect
28987 .PHONY: all-expect maybe-all-expect
28988 maybe-all-expect:
28989 @if expect
28990 TARGET-expect=all
28991 maybe-all-expect: all-expect
28992 all-expect: configure-expect
28993 @: $(MAKE); $(unstage)
28994 @r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(HOST_EXPORTS) \
28997 (cd $(HOST_SUBDIR)/expect && \
28998 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
28999 @endif expect
29004 .PHONY: check-expect maybe-check-expect
29005 maybe-check-expect:
29006 @if expect
29007 maybe-check-expect: check-expect
29009 check-expect:
29010 @: $(MAKE); $(unstage)
29011 @r=`${PWD_COMMAND}`; export r; \
29012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29013 $(HOST_EXPORTS) \
29014 (cd $(HOST_SUBDIR)/expect && \
29015 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29017 @endif expect
29019 .PHONY: install-expect maybe-install-expect
29020 maybe-install-expect:
29021 @if expect
29022 maybe-install-expect: install-expect
29024 install-expect: installdirs
29025 @: $(MAKE); $(unstage)
29026 @r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 $(HOST_EXPORTS) \
29029 (cd $(HOST_SUBDIR)/expect && \
29030 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29032 @endif expect
29034 # Other targets (info, dvi, etc.)
29036 .PHONY: maybe-info-expect info-expect
29037 maybe-info-expect:
29038 @if expect
29039 maybe-info-expect: info-expect
29041 info-expect: \
29042 configure-expect
29043 @: $(MAKE); $(unstage)
29044 @[ -f ./expect/Makefile ] || exit 0; \
29045 r=`${PWD_COMMAND}`; export r; \
29046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29047 $(HOST_EXPORTS) \
29048 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29050 done; \
29051 echo "Doing info in expect" ; \
29052 (cd $(HOST_SUBDIR)/expect && \
29053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29055 "RANLIB=$${RANLIB}" \
29056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29057 info) \
29058 || exit 1
29060 @endif expect
29062 .PHONY: maybe-dvi-expect dvi-expect
29063 maybe-dvi-expect:
29064 @if expect
29065 maybe-dvi-expect: dvi-expect
29067 dvi-expect: \
29068 configure-expect
29069 @: $(MAKE); $(unstage)
29070 @[ -f ./expect/Makefile ] || exit 0; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(HOST_EXPORTS) \
29074 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29076 done; \
29077 echo "Doing dvi in expect" ; \
29078 (cd $(HOST_SUBDIR)/expect && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29083 dvi) \
29084 || exit 1
29086 @endif expect
29088 .PHONY: maybe-html-expect html-expect
29089 maybe-html-expect:
29090 @if expect
29091 maybe-html-expect: html-expect
29093 html-expect: \
29094 configure-expect
29095 @: $(MAKE); $(unstage)
29096 @[ -f ./expect/Makefile ] || exit 0; \
29097 r=`${PWD_COMMAND}`; export r; \
29098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29099 $(HOST_EXPORTS) \
29100 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29102 done; \
29103 echo "Doing html in expect" ; \
29104 (cd $(HOST_SUBDIR)/expect && \
29105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29107 "RANLIB=$${RANLIB}" \
29108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29109 html) \
29110 || exit 1
29112 @endif expect
29114 .PHONY: maybe-TAGS-expect TAGS-expect
29115 maybe-TAGS-expect:
29116 @if expect
29117 maybe-TAGS-expect: TAGS-expect
29119 TAGS-expect: \
29120 configure-expect
29121 @: $(MAKE); $(unstage)
29122 @[ -f ./expect/Makefile ] || exit 0; \
29123 r=`${PWD_COMMAND}`; export r; \
29124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29125 $(HOST_EXPORTS) \
29126 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29128 done; \
29129 echo "Doing TAGS in expect" ; \
29130 (cd $(HOST_SUBDIR)/expect && \
29131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29133 "RANLIB=$${RANLIB}" \
29134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29135 TAGS) \
29136 || exit 1
29138 @endif expect
29140 .PHONY: maybe-install-info-expect install-info-expect
29141 maybe-install-info-expect:
29142 @if expect
29143 maybe-install-info-expect: install-info-expect
29145 install-info-expect: \
29146 configure-expect \
29147 info-expect
29148 @: $(MAKE); $(unstage)
29149 @[ -f ./expect/Makefile ] || exit 0; \
29150 r=`${PWD_COMMAND}`; export r; \
29151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29152 $(HOST_EXPORTS) \
29153 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29155 done; \
29156 echo "Doing install-info in expect" ; \
29157 (cd $(HOST_SUBDIR)/expect && \
29158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29160 "RANLIB=$${RANLIB}" \
29161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29162 install-info) \
29163 || exit 1
29165 @endif expect
29167 .PHONY: maybe-install-html-expect install-html-expect
29168 maybe-install-html-expect:
29169 @if expect
29170 maybe-install-html-expect: install-html-expect
29172 install-html-expect: \
29173 configure-expect \
29174 html-expect
29175 @: $(MAKE); $(unstage)
29176 @[ -f ./expect/Makefile ] || exit 0; \
29177 r=`${PWD_COMMAND}`; export r; \
29178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29179 $(HOST_EXPORTS) \
29180 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29182 done; \
29183 echo "Doing install-html in expect" ; \
29184 (cd $(HOST_SUBDIR)/expect && \
29185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29187 "RANLIB=$${RANLIB}" \
29188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29189 install-html) \
29190 || exit 1
29192 @endif expect
29194 .PHONY: maybe-installcheck-expect installcheck-expect
29195 maybe-installcheck-expect:
29196 @if expect
29197 maybe-installcheck-expect: installcheck-expect
29199 installcheck-expect: \
29200 configure-expect
29201 @: $(MAKE); $(unstage)
29202 @[ -f ./expect/Makefile ] || exit 0; \
29203 r=`${PWD_COMMAND}`; export r; \
29204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29205 $(HOST_EXPORTS) \
29206 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29208 done; \
29209 echo "Doing installcheck in expect" ; \
29210 (cd $(HOST_SUBDIR)/expect && \
29211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29213 "RANLIB=$${RANLIB}" \
29214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29215 installcheck) \
29216 || exit 1
29218 @endif expect
29220 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29221 maybe-mostlyclean-expect:
29222 @if expect
29223 maybe-mostlyclean-expect: mostlyclean-expect
29225 mostlyclean-expect:
29226 @: $(MAKE); $(unstage)
29227 @[ -f ./expect/Makefile ] || exit 0; \
29228 r=`${PWD_COMMAND}`; export r; \
29229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29230 $(HOST_EXPORTS) \
29231 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29233 done; \
29234 echo "Doing mostlyclean in expect" ; \
29235 (cd $(HOST_SUBDIR)/expect && \
29236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29238 "RANLIB=$${RANLIB}" \
29239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29240 mostlyclean) \
29241 || exit 1
29243 @endif expect
29245 .PHONY: maybe-clean-expect clean-expect
29246 maybe-clean-expect:
29247 @if expect
29248 maybe-clean-expect: clean-expect
29250 clean-expect:
29251 @: $(MAKE); $(unstage)
29252 @[ -f ./expect/Makefile ] || exit 0; \
29253 r=`${PWD_COMMAND}`; export r; \
29254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29255 $(HOST_EXPORTS) \
29256 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29258 done; \
29259 echo "Doing clean in expect" ; \
29260 (cd $(HOST_SUBDIR)/expect && \
29261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29263 "RANLIB=$${RANLIB}" \
29264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29265 clean) \
29266 || exit 1
29268 @endif expect
29270 .PHONY: maybe-distclean-expect distclean-expect
29271 maybe-distclean-expect:
29272 @if expect
29273 maybe-distclean-expect: distclean-expect
29275 distclean-expect:
29276 @: $(MAKE); $(unstage)
29277 @[ -f ./expect/Makefile ] || exit 0; \
29278 r=`${PWD_COMMAND}`; export r; \
29279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29280 $(HOST_EXPORTS) \
29281 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29283 done; \
29284 echo "Doing distclean in expect" ; \
29285 (cd $(HOST_SUBDIR)/expect && \
29286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29288 "RANLIB=$${RANLIB}" \
29289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29290 distclean) \
29291 || exit 1
29293 @endif expect
29295 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29296 maybe-maintainer-clean-expect:
29297 @if expect
29298 maybe-maintainer-clean-expect: maintainer-clean-expect
29300 maintainer-clean-expect:
29301 @: $(MAKE); $(unstage)
29302 @[ -f ./expect/Makefile ] || exit 0; \
29303 r=`${PWD_COMMAND}`; export r; \
29304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29305 $(HOST_EXPORTS) \
29306 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29308 done; \
29309 echo "Doing maintainer-clean in expect" ; \
29310 (cd $(HOST_SUBDIR)/expect && \
29311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29313 "RANLIB=$${RANLIB}" \
29314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29315 maintainer-clean) \
29316 || exit 1
29318 @endif expect
29322 .PHONY: configure-guile maybe-configure-guile
29323 maybe-configure-guile:
29324 @if guile
29325 maybe-configure-guile: configure-guile
29326 configure-guile:
29327 @: $(MAKE); $(unstage)
29328 @r=`${PWD_COMMAND}`; export r; \
29329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29330 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29332 $(HOST_EXPORTS) \
29333 echo Configuring in $(HOST_SUBDIR)/guile; \
29334 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29335 case $(srcdir) in \
29336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29337 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29339 esac; \
29340 srcdiroption="--srcdir=$${topdir}/guile"; \
29341 libsrcdir="$$s/guile"; \
29342 $(SHELL) $${libsrcdir}/configure \
29343 $(HOST_CONFIGARGS) $${srcdiroption} \
29344 || exit 1
29345 @endif guile
29351 .PHONY: all-guile maybe-all-guile
29352 maybe-all-guile:
29353 @if guile
29354 TARGET-guile=all
29355 maybe-all-guile: all-guile
29356 all-guile: configure-guile
29357 @: $(MAKE); $(unstage)
29358 @r=`${PWD_COMMAND}`; export r; \
29359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29360 $(HOST_EXPORTS) \
29361 (cd $(HOST_SUBDIR)/guile && \
29362 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
29363 @endif guile
29368 .PHONY: check-guile maybe-check-guile
29369 maybe-check-guile:
29370 @if guile
29371 maybe-check-guile: check-guile
29373 check-guile:
29374 @: $(MAKE); $(unstage)
29375 @r=`${PWD_COMMAND}`; export r; \
29376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29377 $(HOST_EXPORTS) \
29378 (cd $(HOST_SUBDIR)/guile && \
29379 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29381 @endif guile
29383 .PHONY: install-guile maybe-install-guile
29384 maybe-install-guile:
29385 @if guile
29386 maybe-install-guile: install-guile
29388 install-guile: installdirs
29389 @: $(MAKE); $(unstage)
29390 @r=`${PWD_COMMAND}`; export r; \
29391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29392 $(HOST_EXPORTS) \
29393 (cd $(HOST_SUBDIR)/guile && \
29394 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29396 @endif guile
29398 # Other targets (info, dvi, etc.)
29400 .PHONY: maybe-info-guile info-guile
29401 maybe-info-guile:
29402 @if guile
29403 maybe-info-guile: info-guile
29405 info-guile: \
29406 configure-guile
29407 @: $(MAKE); $(unstage)
29408 @[ -f ./guile/Makefile ] || exit 0; \
29409 r=`${PWD_COMMAND}`; export r; \
29410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29411 $(HOST_EXPORTS) \
29412 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29414 done; \
29415 echo "Doing info in guile" ; \
29416 (cd $(HOST_SUBDIR)/guile && \
29417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29419 "RANLIB=$${RANLIB}" \
29420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29421 info) \
29422 || exit 1
29424 @endif guile
29426 .PHONY: maybe-dvi-guile dvi-guile
29427 maybe-dvi-guile:
29428 @if guile
29429 maybe-dvi-guile: dvi-guile
29431 dvi-guile: \
29432 configure-guile
29433 @: $(MAKE); $(unstage)
29434 @[ -f ./guile/Makefile ] || exit 0; \
29435 r=`${PWD_COMMAND}`; export r; \
29436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29437 $(HOST_EXPORTS) \
29438 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29440 done; \
29441 echo "Doing dvi in guile" ; \
29442 (cd $(HOST_SUBDIR)/guile && \
29443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29445 "RANLIB=$${RANLIB}" \
29446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29447 dvi) \
29448 || exit 1
29450 @endif guile
29452 .PHONY: maybe-html-guile html-guile
29453 maybe-html-guile:
29454 @if guile
29455 maybe-html-guile: html-guile
29457 html-guile: \
29458 configure-guile
29459 @: $(MAKE); $(unstage)
29460 @[ -f ./guile/Makefile ] || exit 0; \
29461 r=`${PWD_COMMAND}`; export r; \
29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29463 $(HOST_EXPORTS) \
29464 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29466 done; \
29467 echo "Doing html in guile" ; \
29468 (cd $(HOST_SUBDIR)/guile && \
29469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29471 "RANLIB=$${RANLIB}" \
29472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29473 html) \
29474 || exit 1
29476 @endif guile
29478 .PHONY: maybe-TAGS-guile TAGS-guile
29479 maybe-TAGS-guile:
29480 @if guile
29481 maybe-TAGS-guile: TAGS-guile
29483 TAGS-guile: \
29484 configure-guile
29485 @: $(MAKE); $(unstage)
29486 @[ -f ./guile/Makefile ] || exit 0; \
29487 r=`${PWD_COMMAND}`; export r; \
29488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29489 $(HOST_EXPORTS) \
29490 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29492 done; \
29493 echo "Doing TAGS in guile" ; \
29494 (cd $(HOST_SUBDIR)/guile && \
29495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29497 "RANLIB=$${RANLIB}" \
29498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29499 TAGS) \
29500 || exit 1
29502 @endif guile
29504 .PHONY: maybe-install-info-guile install-info-guile
29505 maybe-install-info-guile:
29506 @if guile
29507 maybe-install-info-guile: install-info-guile
29509 install-info-guile: \
29510 configure-guile \
29511 info-guile
29512 @: $(MAKE); $(unstage)
29513 @[ -f ./guile/Makefile ] || exit 0; \
29514 r=`${PWD_COMMAND}`; export r; \
29515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29516 $(HOST_EXPORTS) \
29517 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29519 done; \
29520 echo "Doing install-info in guile" ; \
29521 (cd $(HOST_SUBDIR)/guile && \
29522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29524 "RANLIB=$${RANLIB}" \
29525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29526 install-info) \
29527 || exit 1
29529 @endif guile
29531 .PHONY: maybe-install-html-guile install-html-guile
29532 maybe-install-html-guile:
29533 @if guile
29534 maybe-install-html-guile: install-html-guile
29536 install-html-guile: \
29537 configure-guile \
29538 html-guile
29539 @: $(MAKE); $(unstage)
29540 @[ -f ./guile/Makefile ] || exit 0; \
29541 r=`${PWD_COMMAND}`; export r; \
29542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29543 $(HOST_EXPORTS) \
29544 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29546 done; \
29547 echo "Doing install-html in guile" ; \
29548 (cd $(HOST_SUBDIR)/guile && \
29549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29551 "RANLIB=$${RANLIB}" \
29552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29553 install-html) \
29554 || exit 1
29556 @endif guile
29558 .PHONY: maybe-installcheck-guile installcheck-guile
29559 maybe-installcheck-guile:
29560 @if guile
29561 maybe-installcheck-guile: installcheck-guile
29563 installcheck-guile: \
29564 configure-guile
29565 @: $(MAKE); $(unstage)
29566 @[ -f ./guile/Makefile ] || exit 0; \
29567 r=`${PWD_COMMAND}`; export r; \
29568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29569 $(HOST_EXPORTS) \
29570 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29572 done; \
29573 echo "Doing installcheck in guile" ; \
29574 (cd $(HOST_SUBDIR)/guile && \
29575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29577 "RANLIB=$${RANLIB}" \
29578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29579 installcheck) \
29580 || exit 1
29582 @endif guile
29584 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29585 maybe-mostlyclean-guile:
29586 @if guile
29587 maybe-mostlyclean-guile: mostlyclean-guile
29589 mostlyclean-guile:
29590 @: $(MAKE); $(unstage)
29591 @[ -f ./guile/Makefile ] || exit 0; \
29592 r=`${PWD_COMMAND}`; export r; \
29593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29594 $(HOST_EXPORTS) \
29595 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29597 done; \
29598 echo "Doing mostlyclean in guile" ; \
29599 (cd $(HOST_SUBDIR)/guile && \
29600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29602 "RANLIB=$${RANLIB}" \
29603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29604 mostlyclean) \
29605 || exit 1
29607 @endif guile
29609 .PHONY: maybe-clean-guile clean-guile
29610 maybe-clean-guile:
29611 @if guile
29612 maybe-clean-guile: clean-guile
29614 clean-guile:
29615 @: $(MAKE); $(unstage)
29616 @[ -f ./guile/Makefile ] || exit 0; \
29617 r=`${PWD_COMMAND}`; export r; \
29618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29619 $(HOST_EXPORTS) \
29620 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29622 done; \
29623 echo "Doing clean in guile" ; \
29624 (cd $(HOST_SUBDIR)/guile && \
29625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29627 "RANLIB=$${RANLIB}" \
29628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29629 clean) \
29630 || exit 1
29632 @endif guile
29634 .PHONY: maybe-distclean-guile distclean-guile
29635 maybe-distclean-guile:
29636 @if guile
29637 maybe-distclean-guile: distclean-guile
29639 distclean-guile:
29640 @: $(MAKE); $(unstage)
29641 @[ -f ./guile/Makefile ] || exit 0; \
29642 r=`${PWD_COMMAND}`; export r; \
29643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29644 $(HOST_EXPORTS) \
29645 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29647 done; \
29648 echo "Doing distclean in guile" ; \
29649 (cd $(HOST_SUBDIR)/guile && \
29650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29652 "RANLIB=$${RANLIB}" \
29653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29654 distclean) \
29655 || exit 1
29657 @endif guile
29659 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29660 maybe-maintainer-clean-guile:
29661 @if guile
29662 maybe-maintainer-clean-guile: maintainer-clean-guile
29664 maintainer-clean-guile:
29665 @: $(MAKE); $(unstage)
29666 @[ -f ./guile/Makefile ] || exit 0; \
29667 r=`${PWD_COMMAND}`; export r; \
29668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29669 $(HOST_EXPORTS) \
29670 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29672 done; \
29673 echo "Doing maintainer-clean in guile" ; \
29674 (cd $(HOST_SUBDIR)/guile && \
29675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29677 "RANLIB=$${RANLIB}" \
29678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29679 maintainer-clean) \
29680 || exit 1
29682 @endif guile
29686 .PHONY: configure-tk maybe-configure-tk
29687 maybe-configure-tk:
29688 @if tk
29689 maybe-configure-tk: configure-tk
29690 configure-tk:
29691 @: $(MAKE); $(unstage)
29692 @r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29696 $(HOST_EXPORTS) \
29697 echo Configuring in $(HOST_SUBDIR)/tk; \
29698 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29699 case $(srcdir) in \
29700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29701 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29703 esac; \
29704 srcdiroption="--srcdir=$${topdir}/tk"; \
29705 libsrcdir="$$s/tk"; \
29706 $(SHELL) $${libsrcdir}/configure \
29707 $(HOST_CONFIGARGS) $${srcdiroption} \
29708 || exit 1
29709 @endif tk
29715 .PHONY: all-tk maybe-all-tk
29716 maybe-all-tk:
29717 @if tk
29718 TARGET-tk=all
29719 maybe-all-tk: all-tk
29720 all-tk: configure-tk
29721 @: $(MAKE); $(unstage)
29722 @r=`${PWD_COMMAND}`; export r; \
29723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29724 $(HOST_EXPORTS) \
29725 (cd $(HOST_SUBDIR)/tk && \
29726 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
29727 @endif tk
29732 .PHONY: check-tk maybe-check-tk
29733 maybe-check-tk:
29734 @if tk
29735 maybe-check-tk: check-tk
29737 check-tk:
29738 @: $(MAKE); $(unstage)
29739 @r=`${PWD_COMMAND}`; export r; \
29740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29741 $(HOST_EXPORTS) \
29742 (cd $(HOST_SUBDIR)/tk && \
29743 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29745 @endif tk
29747 .PHONY: install-tk maybe-install-tk
29748 maybe-install-tk:
29749 @if tk
29750 maybe-install-tk: install-tk
29752 install-tk: installdirs
29753 @: $(MAKE); $(unstage)
29754 @r=`${PWD_COMMAND}`; export r; \
29755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29756 $(HOST_EXPORTS) \
29757 (cd $(HOST_SUBDIR)/tk && \
29758 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29760 @endif tk
29762 # Other targets (info, dvi, etc.)
29764 .PHONY: maybe-info-tk info-tk
29765 maybe-info-tk:
29766 @if tk
29767 maybe-info-tk: info-tk
29769 info-tk: \
29770 configure-tk
29771 @: $(MAKE); $(unstage)
29772 @[ -f ./tk/Makefile ] || exit 0; \
29773 r=`${PWD_COMMAND}`; export r; \
29774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29775 $(HOST_EXPORTS) \
29776 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29778 done; \
29779 echo "Doing info in tk" ; \
29780 (cd $(HOST_SUBDIR)/tk && \
29781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29783 "RANLIB=$${RANLIB}" \
29784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29785 info) \
29786 || exit 1
29788 @endif tk
29790 .PHONY: maybe-dvi-tk dvi-tk
29791 maybe-dvi-tk:
29792 @if tk
29793 maybe-dvi-tk: dvi-tk
29795 dvi-tk: \
29796 configure-tk
29797 @: $(MAKE); $(unstage)
29798 @[ -f ./tk/Makefile ] || exit 0; \
29799 r=`${PWD_COMMAND}`; export r; \
29800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29801 $(HOST_EXPORTS) \
29802 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29804 done; \
29805 echo "Doing dvi in tk" ; \
29806 (cd $(HOST_SUBDIR)/tk && \
29807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29809 "RANLIB=$${RANLIB}" \
29810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29811 dvi) \
29812 || exit 1
29814 @endif tk
29816 .PHONY: maybe-html-tk html-tk
29817 maybe-html-tk:
29818 @if tk
29819 maybe-html-tk: html-tk
29821 html-tk: \
29822 configure-tk
29823 @: $(MAKE); $(unstage)
29824 @[ -f ./tk/Makefile ] || exit 0; \
29825 r=`${PWD_COMMAND}`; export r; \
29826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29827 $(HOST_EXPORTS) \
29828 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29830 done; \
29831 echo "Doing html in tk" ; \
29832 (cd $(HOST_SUBDIR)/tk && \
29833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29835 "RANLIB=$${RANLIB}" \
29836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29837 html) \
29838 || exit 1
29840 @endif tk
29842 .PHONY: maybe-TAGS-tk TAGS-tk
29843 maybe-TAGS-tk:
29844 @if tk
29845 maybe-TAGS-tk: TAGS-tk
29847 TAGS-tk: \
29848 configure-tk
29849 @: $(MAKE); $(unstage)
29850 @[ -f ./tk/Makefile ] || exit 0; \
29851 r=`${PWD_COMMAND}`; export r; \
29852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29853 $(HOST_EXPORTS) \
29854 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29856 done; \
29857 echo "Doing TAGS in tk" ; \
29858 (cd $(HOST_SUBDIR)/tk && \
29859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29861 "RANLIB=$${RANLIB}" \
29862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29863 TAGS) \
29864 || exit 1
29866 @endif tk
29868 .PHONY: maybe-install-info-tk install-info-tk
29869 maybe-install-info-tk:
29870 @if tk
29871 maybe-install-info-tk: install-info-tk
29873 install-info-tk: \
29874 configure-tk \
29875 info-tk
29876 @: $(MAKE); $(unstage)
29877 @[ -f ./tk/Makefile ] || exit 0; \
29878 r=`${PWD_COMMAND}`; export r; \
29879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29880 $(HOST_EXPORTS) \
29881 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29883 done; \
29884 echo "Doing install-info in tk" ; \
29885 (cd $(HOST_SUBDIR)/tk && \
29886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29888 "RANLIB=$${RANLIB}" \
29889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29890 install-info) \
29891 || exit 1
29893 @endif tk
29895 .PHONY: maybe-install-html-tk install-html-tk
29896 maybe-install-html-tk:
29897 @if tk
29898 maybe-install-html-tk: install-html-tk
29900 install-html-tk: \
29901 configure-tk \
29902 html-tk
29903 @: $(MAKE); $(unstage)
29904 @[ -f ./tk/Makefile ] || exit 0; \
29905 r=`${PWD_COMMAND}`; export r; \
29906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29907 $(HOST_EXPORTS) \
29908 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29910 done; \
29911 echo "Doing install-html in tk" ; \
29912 (cd $(HOST_SUBDIR)/tk && \
29913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29915 "RANLIB=$${RANLIB}" \
29916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29917 install-html) \
29918 || exit 1
29920 @endif tk
29922 .PHONY: maybe-installcheck-tk installcheck-tk
29923 maybe-installcheck-tk:
29924 @if tk
29925 maybe-installcheck-tk: installcheck-tk
29927 installcheck-tk: \
29928 configure-tk
29929 @: $(MAKE); $(unstage)
29930 @[ -f ./tk/Makefile ] || exit 0; \
29931 r=`${PWD_COMMAND}`; export r; \
29932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29933 $(HOST_EXPORTS) \
29934 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29936 done; \
29937 echo "Doing installcheck in tk" ; \
29938 (cd $(HOST_SUBDIR)/tk && \
29939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29941 "RANLIB=$${RANLIB}" \
29942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29943 installcheck) \
29944 || exit 1
29946 @endif tk
29948 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29949 maybe-mostlyclean-tk:
29950 @if tk
29951 maybe-mostlyclean-tk: mostlyclean-tk
29953 mostlyclean-tk:
29954 @: $(MAKE); $(unstage)
29955 @[ -f ./tk/Makefile ] || exit 0; \
29956 r=`${PWD_COMMAND}`; export r; \
29957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29958 $(HOST_EXPORTS) \
29959 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29961 done; \
29962 echo "Doing mostlyclean in tk" ; \
29963 (cd $(HOST_SUBDIR)/tk && \
29964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29966 "RANLIB=$${RANLIB}" \
29967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29968 mostlyclean) \
29969 || exit 1
29971 @endif tk
29973 .PHONY: maybe-clean-tk clean-tk
29974 maybe-clean-tk:
29975 @if tk
29976 maybe-clean-tk: clean-tk
29978 clean-tk:
29979 @: $(MAKE); $(unstage)
29980 @[ -f ./tk/Makefile ] || exit 0; \
29981 r=`${PWD_COMMAND}`; export r; \
29982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29983 $(HOST_EXPORTS) \
29984 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29986 done; \
29987 echo "Doing clean in tk" ; \
29988 (cd $(HOST_SUBDIR)/tk && \
29989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29991 "RANLIB=$${RANLIB}" \
29992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29993 clean) \
29994 || exit 1
29996 @endif tk
29998 .PHONY: maybe-distclean-tk distclean-tk
29999 maybe-distclean-tk:
30000 @if tk
30001 maybe-distclean-tk: distclean-tk
30003 distclean-tk:
30004 @: $(MAKE); $(unstage)
30005 @[ -f ./tk/Makefile ] || exit 0; \
30006 r=`${PWD_COMMAND}`; export r; \
30007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30008 $(HOST_EXPORTS) \
30009 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30011 done; \
30012 echo "Doing distclean in tk" ; \
30013 (cd $(HOST_SUBDIR)/tk && \
30014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30016 "RANLIB=$${RANLIB}" \
30017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30018 distclean) \
30019 || exit 1
30021 @endif tk
30023 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30024 maybe-maintainer-clean-tk:
30025 @if tk
30026 maybe-maintainer-clean-tk: maintainer-clean-tk
30028 maintainer-clean-tk:
30029 @: $(MAKE); $(unstage)
30030 @[ -f ./tk/Makefile ] || exit 0; \
30031 r=`${PWD_COMMAND}`; export r; \
30032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30033 $(HOST_EXPORTS) \
30034 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30036 done; \
30037 echo "Doing maintainer-clean in tk" ; \
30038 (cd $(HOST_SUBDIR)/tk && \
30039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30041 "RANLIB=$${RANLIB}" \
30042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30043 maintainer-clean) \
30044 || exit 1
30046 @endif tk
30050 .PHONY: configure-libtermcap maybe-configure-libtermcap
30051 maybe-configure-libtermcap:
30052 @if libtermcap
30053 maybe-configure-libtermcap: configure-libtermcap
30054 configure-libtermcap:
30055 @: $(MAKE); $(unstage)
30056 @r=`${PWD_COMMAND}`; export r; \
30057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30058 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30060 $(HOST_EXPORTS) \
30061 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30062 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30063 case $(srcdir) in \
30064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30065 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30067 esac; \
30068 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30069 libsrcdir="$$s/libtermcap"; \
30070 $(SHELL) $${libsrcdir}/configure \
30071 $(HOST_CONFIGARGS) $${srcdiroption} \
30072 || exit 1
30073 @endif libtermcap
30079 .PHONY: all-libtermcap maybe-all-libtermcap
30080 maybe-all-libtermcap:
30081 @if libtermcap
30082 TARGET-libtermcap=all
30083 maybe-all-libtermcap: all-libtermcap
30084 all-libtermcap: configure-libtermcap
30085 @: $(MAKE); $(unstage)
30086 @r=`${PWD_COMMAND}`; export r; \
30087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30088 $(HOST_EXPORTS) \
30089 (cd $(HOST_SUBDIR)/libtermcap && \
30090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
30091 @endif libtermcap
30096 .PHONY: check-libtermcap maybe-check-libtermcap
30097 maybe-check-libtermcap:
30098 @if libtermcap
30099 maybe-check-libtermcap: check-libtermcap
30101 check-libtermcap:
30103 @endif libtermcap
30105 .PHONY: install-libtermcap maybe-install-libtermcap
30106 maybe-install-libtermcap:
30107 @if libtermcap
30108 maybe-install-libtermcap: install-libtermcap
30110 install-libtermcap: installdirs
30111 @: $(MAKE); $(unstage)
30112 @r=`${PWD_COMMAND}`; export r; \
30113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30114 $(HOST_EXPORTS) \
30115 (cd $(HOST_SUBDIR)/libtermcap && \
30116 $(MAKE) $(FLAGS_TO_PASS) install)
30118 @endif libtermcap
30120 # Other targets (info, dvi, etc.)
30122 .PHONY: maybe-info-libtermcap info-libtermcap
30123 maybe-info-libtermcap:
30124 @if libtermcap
30125 maybe-info-libtermcap: info-libtermcap
30127 info-libtermcap: \
30128 configure-libtermcap
30129 @: $(MAKE); $(unstage)
30130 @[ -f ./libtermcap/Makefile ] || exit 0; \
30131 r=`${PWD_COMMAND}`; export r; \
30132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30133 $(HOST_EXPORTS) \
30134 for flag in $(EXTRA_HOST_FLAGS) ; do \
30135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30136 done; \
30137 echo "Doing info in libtermcap" ; \
30138 (cd $(HOST_SUBDIR)/libtermcap && \
30139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30141 "RANLIB=$${RANLIB}" \
30142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30143 info) \
30144 || exit 1
30146 @endif libtermcap
30148 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30149 maybe-dvi-libtermcap:
30150 @if libtermcap
30151 maybe-dvi-libtermcap: dvi-libtermcap
30153 dvi-libtermcap: \
30154 configure-libtermcap
30155 @: $(MAKE); $(unstage)
30156 @[ -f ./libtermcap/Makefile ] || exit 0; \
30157 r=`${PWD_COMMAND}`; export r; \
30158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30159 $(HOST_EXPORTS) \
30160 for flag in $(EXTRA_HOST_FLAGS) ; do \
30161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30162 done; \
30163 echo "Doing dvi in libtermcap" ; \
30164 (cd $(HOST_SUBDIR)/libtermcap && \
30165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30167 "RANLIB=$${RANLIB}" \
30168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30169 dvi) \
30170 || exit 1
30172 @endif libtermcap
30174 .PHONY: maybe-html-libtermcap html-libtermcap
30175 maybe-html-libtermcap:
30176 @if libtermcap
30177 maybe-html-libtermcap: html-libtermcap
30179 html-libtermcap: \
30180 configure-libtermcap
30181 @: $(MAKE); $(unstage)
30182 @[ -f ./libtermcap/Makefile ] || exit 0; \
30183 r=`${PWD_COMMAND}`; export r; \
30184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30185 $(HOST_EXPORTS) \
30186 for flag in $(EXTRA_HOST_FLAGS) ; do \
30187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30188 done; \
30189 echo "Doing html in libtermcap" ; \
30190 (cd $(HOST_SUBDIR)/libtermcap && \
30191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30193 "RANLIB=$${RANLIB}" \
30194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30195 html) \
30196 || exit 1
30198 @endif libtermcap
30200 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30201 maybe-TAGS-libtermcap:
30202 @if libtermcap
30203 maybe-TAGS-libtermcap: TAGS-libtermcap
30205 TAGS-libtermcap: \
30206 configure-libtermcap
30207 @: $(MAKE); $(unstage)
30208 @[ -f ./libtermcap/Makefile ] || exit 0; \
30209 r=`${PWD_COMMAND}`; export r; \
30210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30211 $(HOST_EXPORTS) \
30212 for flag in $(EXTRA_HOST_FLAGS) ; do \
30213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30214 done; \
30215 echo "Doing TAGS in libtermcap" ; \
30216 (cd $(HOST_SUBDIR)/libtermcap && \
30217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30219 "RANLIB=$${RANLIB}" \
30220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30221 TAGS) \
30222 || exit 1
30224 @endif libtermcap
30226 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30227 maybe-install-info-libtermcap:
30228 @if libtermcap
30229 maybe-install-info-libtermcap: install-info-libtermcap
30231 install-info-libtermcap: \
30232 configure-libtermcap \
30233 info-libtermcap
30234 @: $(MAKE); $(unstage)
30235 @[ -f ./libtermcap/Makefile ] || exit 0; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(HOST_EXPORTS) \
30239 for flag in $(EXTRA_HOST_FLAGS) ; do \
30240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30241 done; \
30242 echo "Doing install-info in libtermcap" ; \
30243 (cd $(HOST_SUBDIR)/libtermcap && \
30244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30246 "RANLIB=$${RANLIB}" \
30247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30248 install-info) \
30249 || exit 1
30251 @endif libtermcap
30253 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30254 maybe-install-html-libtermcap:
30255 @if libtermcap
30256 maybe-install-html-libtermcap: install-html-libtermcap
30258 install-html-libtermcap: \
30259 configure-libtermcap \
30260 html-libtermcap
30261 @: $(MAKE); $(unstage)
30262 @[ -f ./libtermcap/Makefile ] || exit 0; \
30263 r=`${PWD_COMMAND}`; export r; \
30264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30265 $(HOST_EXPORTS) \
30266 for flag in $(EXTRA_HOST_FLAGS) ; do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 echo "Doing install-html in libtermcap" ; \
30270 (cd $(HOST_SUBDIR)/libtermcap && \
30271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30273 "RANLIB=$${RANLIB}" \
30274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30275 install-html) \
30276 || exit 1
30278 @endif libtermcap
30280 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30281 maybe-installcheck-libtermcap:
30282 @if libtermcap
30283 maybe-installcheck-libtermcap: installcheck-libtermcap
30285 installcheck-libtermcap: \
30286 configure-libtermcap
30287 @: $(MAKE); $(unstage)
30288 @[ -f ./libtermcap/Makefile ] || exit 0; \
30289 r=`${PWD_COMMAND}`; export r; \
30290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30291 $(HOST_EXPORTS) \
30292 for flag in $(EXTRA_HOST_FLAGS) ; do \
30293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30294 done; \
30295 echo "Doing installcheck in libtermcap" ; \
30296 (cd $(HOST_SUBDIR)/libtermcap && \
30297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30299 "RANLIB=$${RANLIB}" \
30300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30301 installcheck) \
30302 || exit 1
30304 @endif libtermcap
30306 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30307 maybe-mostlyclean-libtermcap:
30308 @if libtermcap
30309 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30311 # libtermcap doesn't support mostlyclean.
30312 mostlyclean-libtermcap:
30314 @endif libtermcap
30316 .PHONY: maybe-clean-libtermcap clean-libtermcap
30317 maybe-clean-libtermcap:
30318 @if libtermcap
30319 maybe-clean-libtermcap: clean-libtermcap
30321 # libtermcap doesn't support clean.
30322 clean-libtermcap:
30324 @endif libtermcap
30326 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30327 maybe-distclean-libtermcap:
30328 @if libtermcap
30329 maybe-distclean-libtermcap: distclean-libtermcap
30331 # libtermcap doesn't support distclean.
30332 distclean-libtermcap:
30334 @endif libtermcap
30336 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30337 maybe-maintainer-clean-libtermcap:
30338 @if libtermcap
30339 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30341 # libtermcap doesn't support maintainer-clean.
30342 maintainer-clean-libtermcap:
30344 @endif libtermcap
30348 .PHONY: configure-utils maybe-configure-utils
30349 maybe-configure-utils:
30350 @if utils
30351 maybe-configure-utils: configure-utils
30352 configure-utils:
30353 @: $(MAKE); $(unstage)
30354 @r=`${PWD_COMMAND}`; export r; \
30355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30356 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30358 $(HOST_EXPORTS) \
30359 echo Configuring in $(HOST_SUBDIR)/utils; \
30360 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30361 case $(srcdir) in \
30362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30363 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30365 esac; \
30366 srcdiroption="--srcdir=$${topdir}/utils"; \
30367 libsrcdir="$$s/utils"; \
30368 $(SHELL) $${libsrcdir}/configure \
30369 $(HOST_CONFIGARGS) $${srcdiroption} \
30370 || exit 1
30371 @endif utils
30377 .PHONY: all-utils maybe-all-utils
30378 maybe-all-utils:
30379 @if utils
30380 TARGET-utils=all
30381 maybe-all-utils: all-utils
30382 all-utils: configure-utils
30383 @: $(MAKE); $(unstage)
30384 @r=`${PWD_COMMAND}`; export r; \
30385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30386 $(HOST_EXPORTS) \
30387 (cd $(HOST_SUBDIR)/utils && \
30388 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
30389 @endif utils
30394 .PHONY: check-utils maybe-check-utils
30395 maybe-check-utils:
30396 @if utils
30397 maybe-check-utils: check-utils
30399 check-utils:
30401 @endif utils
30403 .PHONY: install-utils maybe-install-utils
30404 maybe-install-utils:
30405 @if utils
30406 maybe-install-utils: install-utils
30408 install-utils: installdirs
30409 @: $(MAKE); $(unstage)
30410 @r=`${PWD_COMMAND}`; export r; \
30411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30412 $(HOST_EXPORTS) \
30413 (cd $(HOST_SUBDIR)/utils && \
30414 $(MAKE) $(FLAGS_TO_PASS) install)
30416 @endif utils
30418 # Other targets (info, dvi, etc.)
30420 .PHONY: maybe-info-utils info-utils
30421 maybe-info-utils:
30422 @if utils
30423 maybe-info-utils: info-utils
30425 info-utils: \
30426 configure-utils
30427 @: $(MAKE); $(unstage)
30428 @[ -f ./utils/Makefile ] || exit 0; \
30429 r=`${PWD_COMMAND}`; export r; \
30430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30431 $(HOST_EXPORTS) \
30432 for flag in $(EXTRA_HOST_FLAGS) ; do \
30433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30434 done; \
30435 echo "Doing info in utils" ; \
30436 (cd $(HOST_SUBDIR)/utils && \
30437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30439 "RANLIB=$${RANLIB}" \
30440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30441 info) \
30442 || exit 1
30444 @endif utils
30446 .PHONY: maybe-dvi-utils dvi-utils
30447 maybe-dvi-utils:
30448 @if utils
30449 maybe-dvi-utils: dvi-utils
30451 dvi-utils: \
30452 configure-utils
30453 @: $(MAKE); $(unstage)
30454 @[ -f ./utils/Makefile ] || exit 0; \
30455 r=`${PWD_COMMAND}`; export r; \
30456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30457 $(HOST_EXPORTS) \
30458 for flag in $(EXTRA_HOST_FLAGS) ; do \
30459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30460 done; \
30461 echo "Doing dvi in utils" ; \
30462 (cd $(HOST_SUBDIR)/utils && \
30463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30465 "RANLIB=$${RANLIB}" \
30466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30467 dvi) \
30468 || exit 1
30470 @endif utils
30472 .PHONY: maybe-html-utils html-utils
30473 maybe-html-utils:
30474 @if utils
30475 maybe-html-utils: html-utils
30477 html-utils: \
30478 configure-utils
30479 @: $(MAKE); $(unstage)
30480 @[ -f ./utils/Makefile ] || exit 0; \
30481 r=`${PWD_COMMAND}`; export r; \
30482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30483 $(HOST_EXPORTS) \
30484 for flag in $(EXTRA_HOST_FLAGS) ; do \
30485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30486 done; \
30487 echo "Doing html in utils" ; \
30488 (cd $(HOST_SUBDIR)/utils && \
30489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30491 "RANLIB=$${RANLIB}" \
30492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30493 html) \
30494 || exit 1
30496 @endif utils
30498 .PHONY: maybe-TAGS-utils TAGS-utils
30499 maybe-TAGS-utils:
30500 @if utils
30501 maybe-TAGS-utils: TAGS-utils
30503 TAGS-utils: \
30504 configure-utils
30505 @: $(MAKE); $(unstage)
30506 @[ -f ./utils/Makefile ] || exit 0; \
30507 r=`${PWD_COMMAND}`; export r; \
30508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30509 $(HOST_EXPORTS) \
30510 for flag in $(EXTRA_HOST_FLAGS) ; do \
30511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30512 done; \
30513 echo "Doing TAGS in utils" ; \
30514 (cd $(HOST_SUBDIR)/utils && \
30515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30517 "RANLIB=$${RANLIB}" \
30518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30519 TAGS) \
30520 || exit 1
30522 @endif utils
30524 .PHONY: maybe-install-info-utils install-info-utils
30525 maybe-install-info-utils:
30526 @if utils
30527 maybe-install-info-utils: install-info-utils
30529 install-info-utils: \
30530 configure-utils \
30531 info-utils
30532 @: $(MAKE); $(unstage)
30533 @[ -f ./utils/Makefile ] || exit 0; \
30534 r=`${PWD_COMMAND}`; export r; \
30535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30536 $(HOST_EXPORTS) \
30537 for flag in $(EXTRA_HOST_FLAGS) ; do \
30538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30539 done; \
30540 echo "Doing install-info in utils" ; \
30541 (cd $(HOST_SUBDIR)/utils && \
30542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30544 "RANLIB=$${RANLIB}" \
30545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30546 install-info) \
30547 || exit 1
30549 @endif utils
30551 .PHONY: maybe-install-html-utils install-html-utils
30552 maybe-install-html-utils:
30553 @if utils
30554 maybe-install-html-utils: install-html-utils
30556 install-html-utils: \
30557 configure-utils \
30558 html-utils
30559 @: $(MAKE); $(unstage)
30560 @[ -f ./utils/Makefile ] || exit 0; \
30561 r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 $(HOST_EXPORTS) \
30564 for flag in $(EXTRA_HOST_FLAGS) ; do \
30565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30566 done; \
30567 echo "Doing install-html in utils" ; \
30568 (cd $(HOST_SUBDIR)/utils && \
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 install-html) \
30574 || exit 1
30576 @endif utils
30578 .PHONY: maybe-installcheck-utils installcheck-utils
30579 maybe-installcheck-utils:
30580 @if utils
30581 maybe-installcheck-utils: installcheck-utils
30583 installcheck-utils: \
30584 configure-utils
30585 @: $(MAKE); $(unstage)
30586 @[ -f ./utils/Makefile ] || exit 0; \
30587 r=`${PWD_COMMAND}`; export r; \
30588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30589 $(HOST_EXPORTS) \
30590 for flag in $(EXTRA_HOST_FLAGS) ; do \
30591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30592 done; \
30593 echo "Doing installcheck in utils" ; \
30594 (cd $(HOST_SUBDIR)/utils && \
30595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30597 "RANLIB=$${RANLIB}" \
30598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30599 installcheck) \
30600 || exit 1
30602 @endif utils
30604 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30605 maybe-mostlyclean-utils:
30606 @if utils
30607 maybe-mostlyclean-utils: mostlyclean-utils
30609 mostlyclean-utils:
30610 @: $(MAKE); $(unstage)
30611 @[ -f ./utils/Makefile ] || exit 0; \
30612 r=`${PWD_COMMAND}`; export r; \
30613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30614 $(HOST_EXPORTS) \
30615 for flag in $(EXTRA_HOST_FLAGS) ; do \
30616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30617 done; \
30618 echo "Doing mostlyclean in utils" ; \
30619 (cd $(HOST_SUBDIR)/utils && \
30620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30622 "RANLIB=$${RANLIB}" \
30623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30624 mostlyclean) \
30625 || exit 1
30627 @endif utils
30629 .PHONY: maybe-clean-utils clean-utils
30630 maybe-clean-utils:
30631 @if utils
30632 maybe-clean-utils: clean-utils
30634 clean-utils:
30635 @: $(MAKE); $(unstage)
30636 @[ -f ./utils/Makefile ] || exit 0; \
30637 r=`${PWD_COMMAND}`; export r; \
30638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30639 $(HOST_EXPORTS) \
30640 for flag in $(EXTRA_HOST_FLAGS) ; do \
30641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30642 done; \
30643 echo "Doing clean in utils" ; \
30644 (cd $(HOST_SUBDIR)/utils && \
30645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30647 "RANLIB=$${RANLIB}" \
30648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30649 clean) \
30650 || exit 1
30652 @endif utils
30654 .PHONY: maybe-distclean-utils distclean-utils
30655 maybe-distclean-utils:
30656 @if utils
30657 maybe-distclean-utils: distclean-utils
30659 distclean-utils:
30660 @: $(MAKE); $(unstage)
30661 @[ -f ./utils/Makefile ] || exit 0; \
30662 r=`${PWD_COMMAND}`; export r; \
30663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30664 $(HOST_EXPORTS) \
30665 for flag in $(EXTRA_HOST_FLAGS) ; do \
30666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30667 done; \
30668 echo "Doing distclean in utils" ; \
30669 (cd $(HOST_SUBDIR)/utils && \
30670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30672 "RANLIB=$${RANLIB}" \
30673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30674 distclean) \
30675 || exit 1
30677 @endif utils
30679 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30680 maybe-maintainer-clean-utils:
30681 @if utils
30682 maybe-maintainer-clean-utils: maintainer-clean-utils
30684 maintainer-clean-utils:
30685 @: $(MAKE); $(unstage)
30686 @[ -f ./utils/Makefile ] || exit 0; \
30687 r=`${PWD_COMMAND}`; export r; \
30688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30689 $(HOST_EXPORTS) \
30690 for flag in $(EXTRA_HOST_FLAGS) ; do \
30691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30692 done; \
30693 echo "Doing maintainer-clean in utils" ; \
30694 (cd $(HOST_SUBDIR)/utils && \
30695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30697 "RANLIB=$${RANLIB}" \
30698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30699 maintainer-clean) \
30700 || exit 1
30702 @endif utils
30706 .PHONY: configure-gnattools maybe-configure-gnattools
30707 maybe-configure-gnattools:
30708 @if gnattools
30709 maybe-configure-gnattools: configure-gnattools
30710 configure-gnattools:
30711 @: $(MAKE); $(unstage)
30712 @r=`${PWD_COMMAND}`; export r; \
30713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30714 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30716 $(HOST_EXPORTS) \
30717 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30718 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30719 case $(srcdir) in \
30720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30721 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30723 esac; \
30724 srcdiroption="--srcdir=$${topdir}/gnattools"; \
30725 libsrcdir="$$s/gnattools"; \
30726 $(SHELL) $${libsrcdir}/configure \
30727 $(HOST_CONFIGARGS) $${srcdiroption} \
30728 || exit 1
30729 @endif gnattools
30735 .PHONY: all-gnattools maybe-all-gnattools
30736 maybe-all-gnattools:
30737 @if gnattools
30738 TARGET-gnattools=all
30739 maybe-all-gnattools: all-gnattools
30740 all-gnattools: configure-gnattools
30741 @: $(MAKE); $(unstage)
30742 @r=`${PWD_COMMAND}`; export r; \
30743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30744 $(HOST_EXPORTS) \
30745 (cd $(HOST_SUBDIR)/gnattools && \
30746 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
30747 @endif gnattools
30752 .PHONY: check-gnattools maybe-check-gnattools
30753 maybe-check-gnattools:
30754 @if gnattools
30755 maybe-check-gnattools: check-gnattools
30757 check-gnattools:
30758 @: $(MAKE); $(unstage)
30759 @r=`${PWD_COMMAND}`; export r; \
30760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30761 $(HOST_EXPORTS) \
30762 (cd $(HOST_SUBDIR)/gnattools && \
30763 $(MAKE) $(FLAGS_TO_PASS) check)
30765 @endif gnattools
30767 .PHONY: install-gnattools maybe-install-gnattools
30768 maybe-install-gnattools:
30769 @if gnattools
30770 maybe-install-gnattools: install-gnattools
30772 install-gnattools: installdirs
30773 @: $(MAKE); $(unstage)
30774 @r=`${PWD_COMMAND}`; export r; \
30775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30776 $(HOST_EXPORTS) \
30777 (cd $(HOST_SUBDIR)/gnattools && \
30778 $(MAKE) $(FLAGS_TO_PASS) install)
30780 @endif gnattools
30782 # Other targets (info, dvi, etc.)
30784 .PHONY: maybe-info-gnattools info-gnattools
30785 maybe-info-gnattools:
30786 @if gnattools
30787 maybe-info-gnattools: info-gnattools
30789 info-gnattools: \
30790 configure-gnattools
30791 @: $(MAKE); $(unstage)
30792 @[ -f ./gnattools/Makefile ] || exit 0; \
30793 r=`${PWD_COMMAND}`; export r; \
30794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30795 $(HOST_EXPORTS) \
30796 for flag in $(EXTRA_HOST_FLAGS) ; do \
30797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30798 done; \
30799 echo "Doing info in gnattools" ; \
30800 (cd $(HOST_SUBDIR)/gnattools && \
30801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30803 "RANLIB=$${RANLIB}" \
30804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30805 info) \
30806 || exit 1
30808 @endif gnattools
30810 .PHONY: maybe-dvi-gnattools dvi-gnattools
30811 maybe-dvi-gnattools:
30812 @if gnattools
30813 maybe-dvi-gnattools: dvi-gnattools
30815 dvi-gnattools: \
30816 configure-gnattools
30817 @: $(MAKE); $(unstage)
30818 @[ -f ./gnattools/Makefile ] || exit 0; \
30819 r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30821 $(HOST_EXPORTS) \
30822 for flag in $(EXTRA_HOST_FLAGS) ; do \
30823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30824 done; \
30825 echo "Doing dvi in gnattools" ; \
30826 (cd $(HOST_SUBDIR)/gnattools && \
30827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30829 "RANLIB=$${RANLIB}" \
30830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30831 dvi) \
30832 || exit 1
30834 @endif gnattools
30836 .PHONY: maybe-html-gnattools html-gnattools
30837 maybe-html-gnattools:
30838 @if gnattools
30839 maybe-html-gnattools: html-gnattools
30841 html-gnattools: \
30842 configure-gnattools
30843 @: $(MAKE); $(unstage)
30844 @[ -f ./gnattools/Makefile ] || exit 0; \
30845 r=`${PWD_COMMAND}`; export r; \
30846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30847 $(HOST_EXPORTS) \
30848 for flag in $(EXTRA_HOST_FLAGS) ; do \
30849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30850 done; \
30851 echo "Doing html in gnattools" ; \
30852 (cd $(HOST_SUBDIR)/gnattools && \
30853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30855 "RANLIB=$${RANLIB}" \
30856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30857 html) \
30858 || exit 1
30860 @endif gnattools
30862 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30863 maybe-TAGS-gnattools:
30864 @if gnattools
30865 maybe-TAGS-gnattools: TAGS-gnattools
30867 TAGS-gnattools: \
30868 configure-gnattools
30869 @: $(MAKE); $(unstage)
30870 @[ -f ./gnattools/Makefile ] || exit 0; \
30871 r=`${PWD_COMMAND}`; export r; \
30872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30873 $(HOST_EXPORTS) \
30874 for flag in $(EXTRA_HOST_FLAGS) ; do \
30875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30876 done; \
30877 echo "Doing TAGS in gnattools" ; \
30878 (cd $(HOST_SUBDIR)/gnattools && \
30879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30881 "RANLIB=$${RANLIB}" \
30882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30883 TAGS) \
30884 || exit 1
30886 @endif gnattools
30888 .PHONY: maybe-install-info-gnattools install-info-gnattools
30889 maybe-install-info-gnattools:
30890 @if gnattools
30891 maybe-install-info-gnattools: install-info-gnattools
30893 install-info-gnattools: \
30894 configure-gnattools \
30895 info-gnattools
30896 @: $(MAKE); $(unstage)
30897 @[ -f ./gnattools/Makefile ] || exit 0; \
30898 r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(HOST_EXPORTS) \
30901 for flag in $(EXTRA_HOST_FLAGS) ; do \
30902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30903 done; \
30904 echo "Doing install-info in gnattools" ; \
30905 (cd $(HOST_SUBDIR)/gnattools && \
30906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30908 "RANLIB=$${RANLIB}" \
30909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30910 install-info) \
30911 || exit 1
30913 @endif gnattools
30915 .PHONY: maybe-install-html-gnattools install-html-gnattools
30916 maybe-install-html-gnattools:
30917 @if gnattools
30918 maybe-install-html-gnattools: install-html-gnattools
30920 install-html-gnattools: \
30921 configure-gnattools \
30922 html-gnattools
30923 @: $(MAKE); $(unstage)
30924 @[ -f ./gnattools/Makefile ] || exit 0; \
30925 r=`${PWD_COMMAND}`; export r; \
30926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30927 $(HOST_EXPORTS) \
30928 for flag in $(EXTRA_HOST_FLAGS) ; do \
30929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30930 done; \
30931 echo "Doing install-html in gnattools" ; \
30932 (cd $(HOST_SUBDIR)/gnattools && \
30933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30935 "RANLIB=$${RANLIB}" \
30936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30937 install-html) \
30938 || exit 1
30940 @endif gnattools
30942 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30943 maybe-installcheck-gnattools:
30944 @if gnattools
30945 maybe-installcheck-gnattools: installcheck-gnattools
30947 installcheck-gnattools: \
30948 configure-gnattools
30949 @: $(MAKE); $(unstage)
30950 @[ -f ./gnattools/Makefile ] || exit 0; \
30951 r=`${PWD_COMMAND}`; export r; \
30952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30953 $(HOST_EXPORTS) \
30954 for flag in $(EXTRA_HOST_FLAGS) ; do \
30955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30956 done; \
30957 echo "Doing installcheck in gnattools" ; \
30958 (cd $(HOST_SUBDIR)/gnattools && \
30959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30961 "RANLIB=$${RANLIB}" \
30962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30963 installcheck) \
30964 || exit 1
30966 @endif gnattools
30968 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30969 maybe-mostlyclean-gnattools:
30970 @if gnattools
30971 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30973 mostlyclean-gnattools:
30974 @: $(MAKE); $(unstage)
30975 @[ -f ./gnattools/Makefile ] || exit 0; \
30976 r=`${PWD_COMMAND}`; export r; \
30977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30978 $(HOST_EXPORTS) \
30979 for flag in $(EXTRA_HOST_FLAGS) ; do \
30980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30981 done; \
30982 echo "Doing mostlyclean in gnattools" ; \
30983 (cd $(HOST_SUBDIR)/gnattools && \
30984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30986 "RANLIB=$${RANLIB}" \
30987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30988 mostlyclean) \
30989 || exit 1
30991 @endif gnattools
30993 .PHONY: maybe-clean-gnattools clean-gnattools
30994 maybe-clean-gnattools:
30995 @if gnattools
30996 maybe-clean-gnattools: clean-gnattools
30998 clean-gnattools:
30999 @: $(MAKE); $(unstage)
31000 @[ -f ./gnattools/Makefile ] || exit 0; \
31001 r=`${PWD_COMMAND}`; export r; \
31002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31003 $(HOST_EXPORTS) \
31004 for flag in $(EXTRA_HOST_FLAGS) ; do \
31005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31006 done; \
31007 echo "Doing clean in gnattools" ; \
31008 (cd $(HOST_SUBDIR)/gnattools && \
31009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31011 "RANLIB=$${RANLIB}" \
31012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31013 clean) \
31014 || exit 1
31016 @endif gnattools
31018 .PHONY: maybe-distclean-gnattools distclean-gnattools
31019 maybe-distclean-gnattools:
31020 @if gnattools
31021 maybe-distclean-gnattools: distclean-gnattools
31023 distclean-gnattools:
31024 @: $(MAKE); $(unstage)
31025 @[ -f ./gnattools/Makefile ] || exit 0; \
31026 r=`${PWD_COMMAND}`; export r; \
31027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31028 $(HOST_EXPORTS) \
31029 for flag in $(EXTRA_HOST_FLAGS) ; do \
31030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31031 done; \
31032 echo "Doing distclean in gnattools" ; \
31033 (cd $(HOST_SUBDIR)/gnattools && \
31034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31036 "RANLIB=$${RANLIB}" \
31037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31038 distclean) \
31039 || exit 1
31041 @endif gnattools
31043 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31044 maybe-maintainer-clean-gnattools:
31045 @if gnattools
31046 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31048 maintainer-clean-gnattools:
31049 @: $(MAKE); $(unstage)
31050 @[ -f ./gnattools/Makefile ] || exit 0; \
31051 r=`${PWD_COMMAND}`; export r; \
31052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31053 $(HOST_EXPORTS) \
31054 for flag in $(EXTRA_HOST_FLAGS) ; do \
31055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31056 done; \
31057 echo "Doing maintainer-clean in gnattools" ; \
31058 (cd $(HOST_SUBDIR)/gnattools && \
31059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31061 "RANLIB=$${RANLIB}" \
31062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31063 maintainer-clean) \
31064 || exit 1
31066 @endif gnattools
31070 # ---------------------------------------
31071 # Modules which run on the target machine
31072 # ---------------------------------------
31077 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31078 maybe-configure-target-libstdc++-v3:
31079 @if target-libstdc++-v3
31080 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31081 configure-target-libstdc++-v3:
31082 @: $(MAKE); $(unstage)
31083 @r=`${PWD_COMMAND}`; export r; \
31084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31085 echo "Checking multilib configuration for libstdc++-v3..."; \
31086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31087 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31088 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31089 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31090 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31091 else \
31092 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31093 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31094 fi; \
31095 else \
31096 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31097 fi; \
31098 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31099 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31100 $(RAW_CXX_TARGET_EXPORTS) \
31101 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31102 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31103 case $(srcdir) in \
31104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31105 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31107 esac; \
31108 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31109 libsrcdir="$$s/libstdc++-v3"; \
31110 rm -f no-such-file || : ; \
31111 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31112 $(TARGET_CONFIGARGS) $${srcdiroption} \
31113 || exit 1
31114 @endif target-libstdc++-v3
31120 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31121 maybe-all-target-libstdc++-v3:
31122 @if target-libstdc++-v3
31123 TARGET-target-libstdc++-v3=all
31124 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31125 all-target-libstdc++-v3: configure-target-libstdc++-v3
31126 @: $(MAKE); $(unstage)
31127 @r=`${PWD_COMMAND}`; export r; \
31128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31129 $(RAW_CXX_TARGET_EXPORTS) \
31130 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31131 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
31132 @endif target-libstdc++-v3
31138 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31139 maybe-check-target-libstdc++-v3:
31140 @if target-libstdc++-v3
31141 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31143 check-target-libstdc++-v3:
31144 @: $(MAKE); $(unstage)
31145 @r=`${PWD_COMMAND}`; export r; \
31146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31147 $(RAW_CXX_TARGET_EXPORTS) \
31148 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31149 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31151 @endif target-libstdc++-v3
31153 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31154 maybe-install-target-libstdc++-v3:
31155 @if target-libstdc++-v3
31156 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31158 install-target-libstdc++-v3: installdirs
31159 @: $(MAKE); $(unstage)
31160 @r=`${PWD_COMMAND}`; export r; \
31161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31162 $(RAW_CXX_TARGET_EXPORTS) \
31163 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31166 @endif target-libstdc++-v3
31168 # Other targets (info, dvi, etc.)
31170 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31171 maybe-info-target-libstdc++-v3:
31172 @if target-libstdc++-v3
31173 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31175 info-target-libstdc++-v3: \
31176 configure-target-libstdc++-v3
31177 @: $(MAKE); $(unstage)
31178 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31179 r=`${PWD_COMMAND}`; export r; \
31180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31181 $(RAW_CXX_TARGET_EXPORTS) \
31182 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31183 for flag in $(EXTRA_TARGET_FLAGS); do \
31184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31185 done; \
31186 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31189 "RANLIB=$${RANLIB}" \
31190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31191 info) \
31192 || exit 1
31194 @endif target-libstdc++-v3
31196 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31197 maybe-dvi-target-libstdc++-v3:
31198 @if target-libstdc++-v3
31199 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31201 dvi-target-libstdc++-v3: \
31202 configure-target-libstdc++-v3
31203 @: $(MAKE); $(unstage)
31204 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31205 r=`${PWD_COMMAND}`; export r; \
31206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31207 $(RAW_CXX_TARGET_EXPORTS) \
31208 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31209 for flag in $(EXTRA_TARGET_FLAGS); do \
31210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31211 done; \
31212 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31215 "RANLIB=$${RANLIB}" \
31216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31217 dvi) \
31218 || exit 1
31220 @endif target-libstdc++-v3
31222 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31223 maybe-html-target-libstdc++-v3:
31224 @if target-libstdc++-v3
31225 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31227 html-target-libstdc++-v3: \
31228 configure-target-libstdc++-v3
31229 @: $(MAKE); $(unstage)
31230 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31231 r=`${PWD_COMMAND}`; export r; \
31232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31233 $(RAW_CXX_TARGET_EXPORTS) \
31234 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31235 for flag in $(EXTRA_TARGET_FLAGS); do \
31236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31237 done; \
31238 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31241 "RANLIB=$${RANLIB}" \
31242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31243 html) \
31244 || exit 1
31246 @endif target-libstdc++-v3
31248 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31249 maybe-TAGS-target-libstdc++-v3:
31250 @if target-libstdc++-v3
31251 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31253 TAGS-target-libstdc++-v3: \
31254 configure-target-libstdc++-v3
31255 @: $(MAKE); $(unstage)
31256 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31257 r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(RAW_CXX_TARGET_EXPORTS) \
31260 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31261 for flag in $(EXTRA_TARGET_FLAGS); do \
31262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31263 done; \
31264 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31267 "RANLIB=$${RANLIB}" \
31268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31269 TAGS) \
31270 || exit 1
31272 @endif target-libstdc++-v3
31274 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31275 maybe-install-info-target-libstdc++-v3:
31276 @if target-libstdc++-v3
31277 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31279 install-info-target-libstdc++-v3: \
31280 configure-target-libstdc++-v3 \
31281 info-target-libstdc++-v3
31282 @: $(MAKE); $(unstage)
31283 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31284 r=`${PWD_COMMAND}`; export r; \
31285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31286 $(RAW_CXX_TARGET_EXPORTS) \
31287 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31288 for flag in $(EXTRA_TARGET_FLAGS); do \
31289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31290 done; \
31291 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31294 "RANLIB=$${RANLIB}" \
31295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31296 install-info) \
31297 || exit 1
31299 @endif target-libstdc++-v3
31301 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31302 maybe-install-html-target-libstdc++-v3:
31303 @if target-libstdc++-v3
31304 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31306 install-html-target-libstdc++-v3: \
31307 configure-target-libstdc++-v3 \
31308 html-target-libstdc++-v3
31309 @: $(MAKE); $(unstage)
31310 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31311 r=`${PWD_COMMAND}`; export r; \
31312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31313 $(RAW_CXX_TARGET_EXPORTS) \
31314 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31315 for flag in $(EXTRA_TARGET_FLAGS); do \
31316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31317 done; \
31318 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31321 "RANLIB=$${RANLIB}" \
31322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31323 install-html) \
31324 || exit 1
31326 @endif target-libstdc++-v3
31328 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31329 maybe-installcheck-target-libstdc++-v3:
31330 @if target-libstdc++-v3
31331 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31333 installcheck-target-libstdc++-v3: \
31334 configure-target-libstdc++-v3
31335 @: $(MAKE); $(unstage)
31336 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31337 r=`${PWD_COMMAND}`; export r; \
31338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31339 $(RAW_CXX_TARGET_EXPORTS) \
31340 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31341 for flag in $(EXTRA_TARGET_FLAGS); do \
31342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31343 done; \
31344 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31347 "RANLIB=$${RANLIB}" \
31348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31349 installcheck) \
31350 || exit 1
31352 @endif target-libstdc++-v3
31354 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31355 maybe-mostlyclean-target-libstdc++-v3:
31356 @if target-libstdc++-v3
31357 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31359 mostlyclean-target-libstdc++-v3:
31360 @: $(MAKE); $(unstage)
31361 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31362 r=`${PWD_COMMAND}`; export r; \
31363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31364 $(RAW_CXX_TARGET_EXPORTS) \
31365 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31366 for flag in $(EXTRA_TARGET_FLAGS); do \
31367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31368 done; \
31369 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31372 "RANLIB=$${RANLIB}" \
31373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31374 mostlyclean) \
31375 || exit 1
31377 @endif target-libstdc++-v3
31379 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31380 maybe-clean-target-libstdc++-v3:
31381 @if target-libstdc++-v3
31382 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31384 clean-target-libstdc++-v3:
31385 @: $(MAKE); $(unstage)
31386 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31387 r=`${PWD_COMMAND}`; export r; \
31388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31389 $(RAW_CXX_TARGET_EXPORTS) \
31390 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31391 for flag in $(EXTRA_TARGET_FLAGS); do \
31392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31393 done; \
31394 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31397 "RANLIB=$${RANLIB}" \
31398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31399 clean) \
31400 || exit 1
31402 @endif target-libstdc++-v3
31404 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31405 maybe-distclean-target-libstdc++-v3:
31406 @if target-libstdc++-v3
31407 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31409 distclean-target-libstdc++-v3:
31410 @: $(MAKE); $(unstage)
31411 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31412 r=`${PWD_COMMAND}`; export r; \
31413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31414 $(RAW_CXX_TARGET_EXPORTS) \
31415 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31416 for flag in $(EXTRA_TARGET_FLAGS); do \
31417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31418 done; \
31419 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31422 "RANLIB=$${RANLIB}" \
31423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31424 distclean) \
31425 || exit 1
31427 @endif target-libstdc++-v3
31429 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31430 maybe-maintainer-clean-target-libstdc++-v3:
31431 @if target-libstdc++-v3
31432 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31434 maintainer-clean-target-libstdc++-v3:
31435 @: $(MAKE); $(unstage)
31436 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31437 r=`${PWD_COMMAND}`; export r; \
31438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31439 $(RAW_CXX_TARGET_EXPORTS) \
31440 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31441 for flag in $(EXTRA_TARGET_FLAGS); do \
31442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31443 done; \
31444 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31447 "RANLIB=$${RANLIB}" \
31448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31449 maintainer-clean) \
31450 || exit 1
31452 @endif target-libstdc++-v3
31458 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31459 maybe-configure-target-libmudflap:
31460 @if target-libmudflap
31461 maybe-configure-target-libmudflap: configure-target-libmudflap
31462 configure-target-libmudflap:
31463 @: $(MAKE); $(unstage)
31464 @r=`${PWD_COMMAND}`; export r; \
31465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31466 echo "Checking multilib configuration for libmudflap..."; \
31467 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31468 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31469 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31470 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31471 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31472 else \
31473 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31474 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31475 fi; \
31476 else \
31477 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31478 fi; \
31479 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31481 $(NORMAL_TARGET_EXPORTS) \
31482 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31483 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31484 case $(srcdir) in \
31485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31486 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31488 esac; \
31489 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31490 libsrcdir="$$s/libmudflap"; \
31491 rm -f no-such-file || : ; \
31492 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31493 $(TARGET_CONFIGARGS) $${srcdiroption} \
31494 || exit 1
31495 @endif target-libmudflap
31501 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31502 maybe-all-target-libmudflap:
31503 @if target-libmudflap
31504 TARGET-target-libmudflap=all
31505 maybe-all-target-libmudflap: all-target-libmudflap
31506 all-target-libmudflap: configure-target-libmudflap
31507 @: $(MAKE); $(unstage)
31508 @r=`${PWD_COMMAND}`; export r; \
31509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31510 $(NORMAL_TARGET_EXPORTS) \
31511 (cd $(TARGET_SUBDIR)/libmudflap && \
31512 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
31513 @endif target-libmudflap
31519 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31520 maybe-check-target-libmudflap:
31521 @if target-libmudflap
31522 maybe-check-target-libmudflap: check-target-libmudflap
31524 check-target-libmudflap:
31525 @: $(MAKE); $(unstage)
31526 @r=`${PWD_COMMAND}`; export r; \
31527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31528 $(NORMAL_TARGET_EXPORTS) \
31529 (cd $(TARGET_SUBDIR)/libmudflap && \
31530 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31532 @endif target-libmudflap
31534 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31535 maybe-install-target-libmudflap:
31536 @if target-libmudflap
31537 maybe-install-target-libmudflap: install-target-libmudflap
31539 install-target-libmudflap: installdirs
31540 @: $(MAKE); $(unstage)
31541 @r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(NORMAL_TARGET_EXPORTS) \
31544 (cd $(TARGET_SUBDIR)/libmudflap && \
31545 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31547 @endif target-libmudflap
31549 # Other targets (info, dvi, etc.)
31551 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31552 maybe-info-target-libmudflap:
31553 @if target-libmudflap
31554 maybe-info-target-libmudflap: info-target-libmudflap
31556 info-target-libmudflap: \
31557 configure-target-libmudflap
31558 @: $(MAKE); $(unstage)
31559 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31560 r=`${PWD_COMMAND}`; export r; \
31561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31562 $(NORMAL_TARGET_EXPORTS) \
31563 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31564 for flag in $(EXTRA_TARGET_FLAGS); do \
31565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31566 done; \
31567 (cd $(TARGET_SUBDIR)/libmudflap && \
31568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31570 "RANLIB=$${RANLIB}" \
31571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31572 info) \
31573 || exit 1
31575 @endif target-libmudflap
31577 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31578 maybe-dvi-target-libmudflap:
31579 @if target-libmudflap
31580 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31582 dvi-target-libmudflap: \
31583 configure-target-libmudflap
31584 @: $(MAKE); $(unstage)
31585 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31586 r=`${PWD_COMMAND}`; export r; \
31587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31588 $(NORMAL_TARGET_EXPORTS) \
31589 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31590 for flag in $(EXTRA_TARGET_FLAGS); do \
31591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31592 done; \
31593 (cd $(TARGET_SUBDIR)/libmudflap && \
31594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31596 "RANLIB=$${RANLIB}" \
31597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31598 dvi) \
31599 || exit 1
31601 @endif target-libmudflap
31603 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31604 maybe-html-target-libmudflap:
31605 @if target-libmudflap
31606 maybe-html-target-libmudflap: html-target-libmudflap
31608 html-target-libmudflap: \
31609 configure-target-libmudflap
31610 @: $(MAKE); $(unstage)
31611 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31612 r=`${PWD_COMMAND}`; export r; \
31613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31614 $(NORMAL_TARGET_EXPORTS) \
31615 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31616 for flag in $(EXTRA_TARGET_FLAGS); do \
31617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31618 done; \
31619 (cd $(TARGET_SUBDIR)/libmudflap && \
31620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31622 "RANLIB=$${RANLIB}" \
31623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31624 html) \
31625 || exit 1
31627 @endif target-libmudflap
31629 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31630 maybe-TAGS-target-libmudflap:
31631 @if target-libmudflap
31632 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31634 TAGS-target-libmudflap: \
31635 configure-target-libmudflap
31636 @: $(MAKE); $(unstage)
31637 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31638 r=`${PWD_COMMAND}`; export r; \
31639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31640 $(NORMAL_TARGET_EXPORTS) \
31641 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31642 for flag in $(EXTRA_TARGET_FLAGS); do \
31643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31644 done; \
31645 (cd $(TARGET_SUBDIR)/libmudflap && \
31646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31648 "RANLIB=$${RANLIB}" \
31649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31650 TAGS) \
31651 || exit 1
31653 @endif target-libmudflap
31655 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31656 maybe-install-info-target-libmudflap:
31657 @if target-libmudflap
31658 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31660 install-info-target-libmudflap: \
31661 configure-target-libmudflap \
31662 info-target-libmudflap
31663 @: $(MAKE); $(unstage)
31664 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31665 r=`${PWD_COMMAND}`; export r; \
31666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31667 $(NORMAL_TARGET_EXPORTS) \
31668 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31669 for flag in $(EXTRA_TARGET_FLAGS); do \
31670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31671 done; \
31672 (cd $(TARGET_SUBDIR)/libmudflap && \
31673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31675 "RANLIB=$${RANLIB}" \
31676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31677 install-info) \
31678 || exit 1
31680 @endif target-libmudflap
31682 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31683 maybe-install-html-target-libmudflap:
31684 @if target-libmudflap
31685 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31687 install-html-target-libmudflap: \
31688 configure-target-libmudflap \
31689 html-target-libmudflap
31690 @: $(MAKE); $(unstage)
31691 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31692 r=`${PWD_COMMAND}`; export r; \
31693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31694 $(NORMAL_TARGET_EXPORTS) \
31695 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31696 for flag in $(EXTRA_TARGET_FLAGS); do \
31697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31698 done; \
31699 (cd $(TARGET_SUBDIR)/libmudflap && \
31700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31702 "RANLIB=$${RANLIB}" \
31703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31704 install-html) \
31705 || exit 1
31707 @endif target-libmudflap
31709 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31710 maybe-installcheck-target-libmudflap:
31711 @if target-libmudflap
31712 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31714 installcheck-target-libmudflap: \
31715 configure-target-libmudflap
31716 @: $(MAKE); $(unstage)
31717 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31718 r=`${PWD_COMMAND}`; export r; \
31719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31720 $(NORMAL_TARGET_EXPORTS) \
31721 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31722 for flag in $(EXTRA_TARGET_FLAGS); do \
31723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31724 done; \
31725 (cd $(TARGET_SUBDIR)/libmudflap && \
31726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31728 "RANLIB=$${RANLIB}" \
31729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31730 installcheck) \
31731 || exit 1
31733 @endif target-libmudflap
31735 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31736 maybe-mostlyclean-target-libmudflap:
31737 @if target-libmudflap
31738 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31740 mostlyclean-target-libmudflap:
31741 @: $(MAKE); $(unstage)
31742 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31743 r=`${PWD_COMMAND}`; export r; \
31744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31745 $(NORMAL_TARGET_EXPORTS) \
31746 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31747 for flag in $(EXTRA_TARGET_FLAGS); do \
31748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31749 done; \
31750 (cd $(TARGET_SUBDIR)/libmudflap && \
31751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31753 "RANLIB=$${RANLIB}" \
31754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31755 mostlyclean) \
31756 || exit 1
31758 @endif target-libmudflap
31760 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31761 maybe-clean-target-libmudflap:
31762 @if target-libmudflap
31763 maybe-clean-target-libmudflap: clean-target-libmudflap
31765 clean-target-libmudflap:
31766 @: $(MAKE); $(unstage)
31767 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(NORMAL_TARGET_EXPORTS) \
31771 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31772 for flag in $(EXTRA_TARGET_FLAGS); do \
31773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31774 done; \
31775 (cd $(TARGET_SUBDIR)/libmudflap && \
31776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31778 "RANLIB=$${RANLIB}" \
31779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31780 clean) \
31781 || exit 1
31783 @endif target-libmudflap
31785 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31786 maybe-distclean-target-libmudflap:
31787 @if target-libmudflap
31788 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31790 distclean-target-libmudflap:
31791 @: $(MAKE); $(unstage)
31792 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31793 r=`${PWD_COMMAND}`; export r; \
31794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31795 $(NORMAL_TARGET_EXPORTS) \
31796 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31797 for flag in $(EXTRA_TARGET_FLAGS); do \
31798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31799 done; \
31800 (cd $(TARGET_SUBDIR)/libmudflap && \
31801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31803 "RANLIB=$${RANLIB}" \
31804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31805 distclean) \
31806 || exit 1
31808 @endif target-libmudflap
31810 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31811 maybe-maintainer-clean-target-libmudflap:
31812 @if target-libmudflap
31813 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31815 maintainer-clean-target-libmudflap:
31816 @: $(MAKE); $(unstage)
31817 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31818 r=`${PWD_COMMAND}`; export r; \
31819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31820 $(NORMAL_TARGET_EXPORTS) \
31821 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31822 for flag in $(EXTRA_TARGET_FLAGS); do \
31823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31824 done; \
31825 (cd $(TARGET_SUBDIR)/libmudflap && \
31826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31828 "RANLIB=$${RANLIB}" \
31829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31830 maintainer-clean) \
31831 || exit 1
31833 @endif target-libmudflap
31839 .PHONY: configure-target-libssp maybe-configure-target-libssp
31840 maybe-configure-target-libssp:
31841 @if target-libssp
31842 maybe-configure-target-libssp: configure-target-libssp
31843 configure-target-libssp:
31844 @: $(MAKE); $(unstage)
31845 @r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 echo "Checking multilib configuration for libssp..."; \
31848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31849 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31850 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31851 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31852 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31853 else \
31854 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31855 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31856 fi; \
31857 else \
31858 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31859 fi; \
31860 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31861 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31862 $(NORMAL_TARGET_EXPORTS) \
31863 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31864 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31865 case $(srcdir) in \
31866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31867 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31869 esac; \
31870 srcdiroption="--srcdir=$${topdir}/libssp"; \
31871 libsrcdir="$$s/libssp"; \
31872 rm -f no-such-file || : ; \
31873 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31874 $(TARGET_CONFIGARGS) $${srcdiroption} \
31875 || exit 1
31876 @endif target-libssp
31882 .PHONY: all-target-libssp maybe-all-target-libssp
31883 maybe-all-target-libssp:
31884 @if target-libssp
31885 TARGET-target-libssp=all
31886 maybe-all-target-libssp: all-target-libssp
31887 all-target-libssp: configure-target-libssp
31888 @: $(MAKE); $(unstage)
31889 @r=`${PWD_COMMAND}`; export r; \
31890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31891 $(NORMAL_TARGET_EXPORTS) \
31892 (cd $(TARGET_SUBDIR)/libssp && \
31893 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
31894 @endif target-libssp
31900 .PHONY: check-target-libssp maybe-check-target-libssp
31901 maybe-check-target-libssp:
31902 @if target-libssp
31903 maybe-check-target-libssp: check-target-libssp
31905 check-target-libssp:
31906 @: $(MAKE); $(unstage)
31907 @r=`${PWD_COMMAND}`; export r; \
31908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31909 $(NORMAL_TARGET_EXPORTS) \
31910 (cd $(TARGET_SUBDIR)/libssp && \
31911 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31913 @endif target-libssp
31915 .PHONY: install-target-libssp maybe-install-target-libssp
31916 maybe-install-target-libssp:
31917 @if target-libssp
31918 maybe-install-target-libssp: install-target-libssp
31920 install-target-libssp: installdirs
31921 @: $(MAKE); $(unstage)
31922 @r=`${PWD_COMMAND}`; export r; \
31923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31924 $(NORMAL_TARGET_EXPORTS) \
31925 (cd $(TARGET_SUBDIR)/libssp && \
31926 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31928 @endif target-libssp
31930 # Other targets (info, dvi, etc.)
31932 .PHONY: maybe-info-target-libssp info-target-libssp
31933 maybe-info-target-libssp:
31934 @if target-libssp
31935 maybe-info-target-libssp: info-target-libssp
31937 info-target-libssp: \
31938 configure-target-libssp
31939 @: $(MAKE); $(unstage)
31940 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31941 r=`${PWD_COMMAND}`; export r; \
31942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31943 $(NORMAL_TARGET_EXPORTS) \
31944 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31945 for flag in $(EXTRA_TARGET_FLAGS); do \
31946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31947 done; \
31948 (cd $(TARGET_SUBDIR)/libssp && \
31949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31951 "RANLIB=$${RANLIB}" \
31952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31953 info) \
31954 || exit 1
31956 @endif target-libssp
31958 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31959 maybe-dvi-target-libssp:
31960 @if target-libssp
31961 maybe-dvi-target-libssp: dvi-target-libssp
31963 dvi-target-libssp: \
31964 configure-target-libssp
31965 @: $(MAKE); $(unstage)
31966 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31967 r=`${PWD_COMMAND}`; export r; \
31968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31969 $(NORMAL_TARGET_EXPORTS) \
31970 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31971 for flag in $(EXTRA_TARGET_FLAGS); do \
31972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31973 done; \
31974 (cd $(TARGET_SUBDIR)/libssp && \
31975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31977 "RANLIB=$${RANLIB}" \
31978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31979 dvi) \
31980 || exit 1
31982 @endif target-libssp
31984 .PHONY: maybe-html-target-libssp html-target-libssp
31985 maybe-html-target-libssp:
31986 @if target-libssp
31987 maybe-html-target-libssp: html-target-libssp
31989 html-target-libssp: \
31990 configure-target-libssp
31991 @: $(MAKE); $(unstage)
31992 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31993 r=`${PWD_COMMAND}`; export r; \
31994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31995 $(NORMAL_TARGET_EXPORTS) \
31996 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31997 for flag in $(EXTRA_TARGET_FLAGS); do \
31998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31999 done; \
32000 (cd $(TARGET_SUBDIR)/libssp && \
32001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32003 "RANLIB=$${RANLIB}" \
32004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32005 html) \
32006 || exit 1
32008 @endif target-libssp
32010 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32011 maybe-TAGS-target-libssp:
32012 @if target-libssp
32013 maybe-TAGS-target-libssp: TAGS-target-libssp
32015 TAGS-target-libssp: \
32016 configure-target-libssp
32017 @: $(MAKE); $(unstage)
32018 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32019 r=`${PWD_COMMAND}`; export r; \
32020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32021 $(NORMAL_TARGET_EXPORTS) \
32022 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32023 for flag in $(EXTRA_TARGET_FLAGS); do \
32024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32025 done; \
32026 (cd $(TARGET_SUBDIR)/libssp && \
32027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32029 "RANLIB=$${RANLIB}" \
32030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32031 TAGS) \
32032 || exit 1
32034 @endif target-libssp
32036 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32037 maybe-install-info-target-libssp:
32038 @if target-libssp
32039 maybe-install-info-target-libssp: install-info-target-libssp
32041 install-info-target-libssp: \
32042 configure-target-libssp \
32043 info-target-libssp
32044 @: $(MAKE); $(unstage)
32045 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32046 r=`${PWD_COMMAND}`; export r; \
32047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32048 $(NORMAL_TARGET_EXPORTS) \
32049 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32050 for flag in $(EXTRA_TARGET_FLAGS); do \
32051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32052 done; \
32053 (cd $(TARGET_SUBDIR)/libssp && \
32054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32056 "RANLIB=$${RANLIB}" \
32057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32058 install-info) \
32059 || exit 1
32061 @endif target-libssp
32063 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32064 maybe-install-html-target-libssp:
32065 @if target-libssp
32066 maybe-install-html-target-libssp: install-html-target-libssp
32068 install-html-target-libssp: \
32069 configure-target-libssp \
32070 html-target-libssp
32071 @: $(MAKE); $(unstage)
32072 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32073 r=`${PWD_COMMAND}`; export r; \
32074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32075 $(NORMAL_TARGET_EXPORTS) \
32076 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32077 for flag in $(EXTRA_TARGET_FLAGS); do \
32078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32079 done; \
32080 (cd $(TARGET_SUBDIR)/libssp && \
32081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32083 "RANLIB=$${RANLIB}" \
32084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32085 install-html) \
32086 || exit 1
32088 @endif target-libssp
32090 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32091 maybe-installcheck-target-libssp:
32092 @if target-libssp
32093 maybe-installcheck-target-libssp: installcheck-target-libssp
32095 installcheck-target-libssp: \
32096 configure-target-libssp
32097 @: $(MAKE); $(unstage)
32098 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32099 r=`${PWD_COMMAND}`; export r; \
32100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32101 $(NORMAL_TARGET_EXPORTS) \
32102 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32103 for flag in $(EXTRA_TARGET_FLAGS); do \
32104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32105 done; \
32106 (cd $(TARGET_SUBDIR)/libssp && \
32107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32109 "RANLIB=$${RANLIB}" \
32110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32111 installcheck) \
32112 || exit 1
32114 @endif target-libssp
32116 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32117 maybe-mostlyclean-target-libssp:
32118 @if target-libssp
32119 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32121 mostlyclean-target-libssp:
32122 @: $(MAKE); $(unstage)
32123 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32124 r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(NORMAL_TARGET_EXPORTS) \
32127 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32128 for flag in $(EXTRA_TARGET_FLAGS); do \
32129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32130 done; \
32131 (cd $(TARGET_SUBDIR)/libssp && \
32132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32134 "RANLIB=$${RANLIB}" \
32135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32136 mostlyclean) \
32137 || exit 1
32139 @endif target-libssp
32141 .PHONY: maybe-clean-target-libssp clean-target-libssp
32142 maybe-clean-target-libssp:
32143 @if target-libssp
32144 maybe-clean-target-libssp: clean-target-libssp
32146 clean-target-libssp:
32147 @: $(MAKE); $(unstage)
32148 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32149 r=`${PWD_COMMAND}`; export r; \
32150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32151 $(NORMAL_TARGET_EXPORTS) \
32152 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32153 for flag in $(EXTRA_TARGET_FLAGS); do \
32154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32155 done; \
32156 (cd $(TARGET_SUBDIR)/libssp && \
32157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32159 "RANLIB=$${RANLIB}" \
32160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32161 clean) \
32162 || exit 1
32164 @endif target-libssp
32166 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32167 maybe-distclean-target-libssp:
32168 @if target-libssp
32169 maybe-distclean-target-libssp: distclean-target-libssp
32171 distclean-target-libssp:
32172 @: $(MAKE); $(unstage)
32173 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32174 r=`${PWD_COMMAND}`; export r; \
32175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32176 $(NORMAL_TARGET_EXPORTS) \
32177 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32178 for flag in $(EXTRA_TARGET_FLAGS); do \
32179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32180 done; \
32181 (cd $(TARGET_SUBDIR)/libssp && \
32182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32184 "RANLIB=$${RANLIB}" \
32185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32186 distclean) \
32187 || exit 1
32189 @endif target-libssp
32191 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32192 maybe-maintainer-clean-target-libssp:
32193 @if target-libssp
32194 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32196 maintainer-clean-target-libssp:
32197 @: $(MAKE); $(unstage)
32198 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32199 r=`${PWD_COMMAND}`; export r; \
32200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32201 $(NORMAL_TARGET_EXPORTS) \
32202 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32203 for flag in $(EXTRA_TARGET_FLAGS); do \
32204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32205 done; \
32206 (cd $(TARGET_SUBDIR)/libssp && \
32207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32209 "RANLIB=$${RANLIB}" \
32210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32211 maintainer-clean) \
32212 || exit 1
32214 @endif target-libssp
32220 .PHONY: configure-target-libgcc-math maybe-configure-target-libgcc-math
32221 maybe-configure-target-libgcc-math:
32222 @if target-libgcc-math
32223 maybe-configure-target-libgcc-math: configure-target-libgcc-math
32224 configure-target-libgcc-math:
32225 @: $(MAKE); $(unstage)
32226 @r=`${PWD_COMMAND}`; export r; \
32227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32228 echo "Checking multilib configuration for libgcc-math..."; \
32229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
32230 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc-math/multilib.tmp 2> /dev/null ; \
32231 if test -r $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
32232 if cmp -s $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
32233 rm -f $(TARGET_SUBDIR)/libgcc-math/multilib.tmp; \
32234 else \
32235 rm -f $(TARGET_SUBDIR)/libgcc-math/Makefile; \
32236 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
32237 fi; \
32238 else \
32239 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
32240 fi; \
32241 test ! -f $(TARGET_SUBDIR)/libgcc-math/Makefile || exit 0; \
32242 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
32243 $(NORMAL_TARGET_EXPORTS) \
32244 echo Configuring in $(TARGET_SUBDIR)/libgcc-math; \
32245 cd "$(TARGET_SUBDIR)/libgcc-math" || exit 1; \
32246 case $(srcdir) in \
32247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32248 *) topdir=`echo $(TARGET_SUBDIR)/libgcc-math/ | \
32249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32250 esac; \
32251 srcdiroption="--srcdir=$${topdir}/libgcc-math"; \
32252 libsrcdir="$$s/libgcc-math"; \
32253 rm -f no-such-file || : ; \
32254 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32255 $(TARGET_CONFIGARGS) $${srcdiroption} \
32256 || exit 1
32257 @endif target-libgcc-math
32263 .PHONY: all-target-libgcc-math maybe-all-target-libgcc-math
32264 maybe-all-target-libgcc-math:
32265 @if target-libgcc-math
32266 TARGET-target-libgcc-math=all
32267 maybe-all-target-libgcc-math: all-target-libgcc-math
32268 all-target-libgcc-math: configure-target-libgcc-math
32269 @: $(MAKE); $(unstage)
32270 @r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(NORMAL_TARGET_EXPORTS) \
32273 (cd $(TARGET_SUBDIR)/libgcc-math && \
32274 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc-math))
32275 @endif target-libgcc-math
32281 .PHONY: check-target-libgcc-math maybe-check-target-libgcc-math
32282 maybe-check-target-libgcc-math:
32283 @if target-libgcc-math
32284 maybe-check-target-libgcc-math: check-target-libgcc-math
32286 check-target-libgcc-math:
32287 @: $(MAKE); $(unstage)
32288 @r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 $(NORMAL_TARGET_EXPORTS) \
32291 (cd $(TARGET_SUBDIR)/libgcc-math && \
32292 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32294 @endif target-libgcc-math
32296 .PHONY: install-target-libgcc-math maybe-install-target-libgcc-math
32297 maybe-install-target-libgcc-math:
32298 @if target-libgcc-math
32299 maybe-install-target-libgcc-math: install-target-libgcc-math
32301 install-target-libgcc-math: installdirs
32302 @: $(MAKE); $(unstage)
32303 @r=`${PWD_COMMAND}`; export r; \
32304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32305 $(NORMAL_TARGET_EXPORTS) \
32306 (cd $(TARGET_SUBDIR)/libgcc-math && \
32307 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32309 @endif target-libgcc-math
32311 # Other targets (info, dvi, etc.)
32313 .PHONY: maybe-info-target-libgcc-math info-target-libgcc-math
32314 maybe-info-target-libgcc-math:
32315 @if target-libgcc-math
32316 maybe-info-target-libgcc-math: info-target-libgcc-math
32318 info-target-libgcc-math: \
32319 configure-target-libgcc-math
32320 @: $(MAKE); $(unstage)
32321 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32322 r=`${PWD_COMMAND}`; export r; \
32323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32324 $(NORMAL_TARGET_EXPORTS) \
32325 echo "Doing info in $(TARGET_SUBDIR)/libgcc-math" ; \
32326 for flag in $(EXTRA_TARGET_FLAGS); do \
32327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32328 done; \
32329 (cd $(TARGET_SUBDIR)/libgcc-math && \
32330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32332 "RANLIB=$${RANLIB}" \
32333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32334 info) \
32335 || exit 1
32337 @endif target-libgcc-math
32339 .PHONY: maybe-dvi-target-libgcc-math dvi-target-libgcc-math
32340 maybe-dvi-target-libgcc-math:
32341 @if target-libgcc-math
32342 maybe-dvi-target-libgcc-math: dvi-target-libgcc-math
32344 dvi-target-libgcc-math: \
32345 configure-target-libgcc-math
32346 @: $(MAKE); $(unstage)
32347 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32348 r=`${PWD_COMMAND}`; export r; \
32349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32350 $(NORMAL_TARGET_EXPORTS) \
32351 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc-math" ; \
32352 for flag in $(EXTRA_TARGET_FLAGS); do \
32353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32354 done; \
32355 (cd $(TARGET_SUBDIR)/libgcc-math && \
32356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32358 "RANLIB=$${RANLIB}" \
32359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32360 dvi) \
32361 || exit 1
32363 @endif target-libgcc-math
32365 .PHONY: maybe-html-target-libgcc-math html-target-libgcc-math
32366 maybe-html-target-libgcc-math:
32367 @if target-libgcc-math
32368 maybe-html-target-libgcc-math: html-target-libgcc-math
32370 html-target-libgcc-math: \
32371 configure-target-libgcc-math
32372 @: $(MAKE); $(unstage)
32373 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32374 r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 $(NORMAL_TARGET_EXPORTS) \
32377 echo "Doing html in $(TARGET_SUBDIR)/libgcc-math" ; \
32378 for flag in $(EXTRA_TARGET_FLAGS); do \
32379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32380 done; \
32381 (cd $(TARGET_SUBDIR)/libgcc-math && \
32382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32384 "RANLIB=$${RANLIB}" \
32385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32386 html) \
32387 || exit 1
32389 @endif target-libgcc-math
32391 .PHONY: maybe-TAGS-target-libgcc-math TAGS-target-libgcc-math
32392 maybe-TAGS-target-libgcc-math:
32393 @if target-libgcc-math
32394 maybe-TAGS-target-libgcc-math: TAGS-target-libgcc-math
32396 TAGS-target-libgcc-math: \
32397 configure-target-libgcc-math
32398 @: $(MAKE); $(unstage)
32399 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32400 r=`${PWD_COMMAND}`; export r; \
32401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32402 $(NORMAL_TARGET_EXPORTS) \
32403 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc-math" ; \
32404 for flag in $(EXTRA_TARGET_FLAGS); do \
32405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32406 done; \
32407 (cd $(TARGET_SUBDIR)/libgcc-math && \
32408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32410 "RANLIB=$${RANLIB}" \
32411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32412 TAGS) \
32413 || exit 1
32415 @endif target-libgcc-math
32417 .PHONY: maybe-install-info-target-libgcc-math install-info-target-libgcc-math
32418 maybe-install-info-target-libgcc-math:
32419 @if target-libgcc-math
32420 maybe-install-info-target-libgcc-math: install-info-target-libgcc-math
32422 install-info-target-libgcc-math: \
32423 configure-target-libgcc-math \
32424 info-target-libgcc-math
32425 @: $(MAKE); $(unstage)
32426 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32427 r=`${PWD_COMMAND}`; export r; \
32428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32429 $(NORMAL_TARGET_EXPORTS) \
32430 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc-math" ; \
32431 for flag in $(EXTRA_TARGET_FLAGS); do \
32432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32433 done; \
32434 (cd $(TARGET_SUBDIR)/libgcc-math && \
32435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32437 "RANLIB=$${RANLIB}" \
32438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32439 install-info) \
32440 || exit 1
32442 @endif target-libgcc-math
32444 .PHONY: maybe-install-html-target-libgcc-math install-html-target-libgcc-math
32445 maybe-install-html-target-libgcc-math:
32446 @if target-libgcc-math
32447 maybe-install-html-target-libgcc-math: install-html-target-libgcc-math
32449 install-html-target-libgcc-math: \
32450 configure-target-libgcc-math \
32451 html-target-libgcc-math
32452 @: $(MAKE); $(unstage)
32453 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32454 r=`${PWD_COMMAND}`; export r; \
32455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32456 $(NORMAL_TARGET_EXPORTS) \
32457 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc-math" ; \
32458 for flag in $(EXTRA_TARGET_FLAGS); do \
32459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32460 done; \
32461 (cd $(TARGET_SUBDIR)/libgcc-math && \
32462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32464 "RANLIB=$${RANLIB}" \
32465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32466 install-html) \
32467 || exit 1
32469 @endif target-libgcc-math
32471 .PHONY: maybe-installcheck-target-libgcc-math installcheck-target-libgcc-math
32472 maybe-installcheck-target-libgcc-math:
32473 @if target-libgcc-math
32474 maybe-installcheck-target-libgcc-math: installcheck-target-libgcc-math
32476 installcheck-target-libgcc-math: \
32477 configure-target-libgcc-math
32478 @: $(MAKE); $(unstage)
32479 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32480 r=`${PWD_COMMAND}`; export r; \
32481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32482 $(NORMAL_TARGET_EXPORTS) \
32483 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc-math" ; \
32484 for flag in $(EXTRA_TARGET_FLAGS); do \
32485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32486 done; \
32487 (cd $(TARGET_SUBDIR)/libgcc-math && \
32488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32490 "RANLIB=$${RANLIB}" \
32491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32492 installcheck) \
32493 || exit 1
32495 @endif target-libgcc-math
32497 .PHONY: maybe-mostlyclean-target-libgcc-math mostlyclean-target-libgcc-math
32498 maybe-mostlyclean-target-libgcc-math:
32499 @if target-libgcc-math
32500 maybe-mostlyclean-target-libgcc-math: mostlyclean-target-libgcc-math
32502 mostlyclean-target-libgcc-math:
32503 @: $(MAKE); $(unstage)
32504 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32505 r=`${PWD_COMMAND}`; export r; \
32506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32507 $(NORMAL_TARGET_EXPORTS) \
32508 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc-math" ; \
32509 for flag in $(EXTRA_TARGET_FLAGS); do \
32510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32511 done; \
32512 (cd $(TARGET_SUBDIR)/libgcc-math && \
32513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32515 "RANLIB=$${RANLIB}" \
32516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32517 mostlyclean) \
32518 || exit 1
32520 @endif target-libgcc-math
32522 .PHONY: maybe-clean-target-libgcc-math clean-target-libgcc-math
32523 maybe-clean-target-libgcc-math:
32524 @if target-libgcc-math
32525 maybe-clean-target-libgcc-math: clean-target-libgcc-math
32527 clean-target-libgcc-math:
32528 @: $(MAKE); $(unstage)
32529 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(NORMAL_TARGET_EXPORTS) \
32533 echo "Doing clean in $(TARGET_SUBDIR)/libgcc-math" ; \
32534 for flag in $(EXTRA_TARGET_FLAGS); do \
32535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32536 done; \
32537 (cd $(TARGET_SUBDIR)/libgcc-math && \
32538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32540 "RANLIB=$${RANLIB}" \
32541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32542 clean) \
32543 || exit 1
32545 @endif target-libgcc-math
32547 .PHONY: maybe-distclean-target-libgcc-math distclean-target-libgcc-math
32548 maybe-distclean-target-libgcc-math:
32549 @if target-libgcc-math
32550 maybe-distclean-target-libgcc-math: distclean-target-libgcc-math
32552 distclean-target-libgcc-math:
32553 @: $(MAKE); $(unstage)
32554 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32555 r=`${PWD_COMMAND}`; export r; \
32556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32557 $(NORMAL_TARGET_EXPORTS) \
32558 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc-math" ; \
32559 for flag in $(EXTRA_TARGET_FLAGS); do \
32560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32561 done; \
32562 (cd $(TARGET_SUBDIR)/libgcc-math && \
32563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32565 "RANLIB=$${RANLIB}" \
32566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32567 distclean) \
32568 || exit 1
32570 @endif target-libgcc-math
32572 .PHONY: maybe-maintainer-clean-target-libgcc-math maintainer-clean-target-libgcc-math
32573 maybe-maintainer-clean-target-libgcc-math:
32574 @if target-libgcc-math
32575 maybe-maintainer-clean-target-libgcc-math: maintainer-clean-target-libgcc-math
32577 maintainer-clean-target-libgcc-math:
32578 @: $(MAKE); $(unstage)
32579 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
32580 r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(NORMAL_TARGET_EXPORTS) \
32583 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc-math" ; \
32584 for flag in $(EXTRA_TARGET_FLAGS); do \
32585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32586 done; \
32587 (cd $(TARGET_SUBDIR)/libgcc-math && \
32588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32590 "RANLIB=$${RANLIB}" \
32591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32592 maintainer-clean) \
32593 || exit 1
32595 @endif target-libgcc-math
32601 .PHONY: configure-target-newlib maybe-configure-target-newlib
32602 maybe-configure-target-newlib:
32603 @if target-newlib
32604 maybe-configure-target-newlib: configure-target-newlib
32605 configure-target-newlib:
32606 @: $(MAKE); $(unstage)
32607 @r=`${PWD_COMMAND}`; export r; \
32608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32609 echo "Checking multilib configuration for newlib..."; \
32610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32611 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32612 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32613 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32614 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32615 else \
32616 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32617 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32618 fi; \
32619 else \
32620 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32621 fi; \
32622 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32624 $(NORMAL_TARGET_EXPORTS) \
32625 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32626 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32627 case $(srcdir) in \
32628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32629 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32631 esac; \
32632 srcdiroption="--srcdir=$${topdir}/newlib"; \
32633 libsrcdir="$$s/newlib"; \
32634 rm -f no-such-file || : ; \
32635 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32636 $(TARGET_CONFIGARGS) $${srcdiroption} \
32637 || exit 1
32638 @endif target-newlib
32644 .PHONY: all-target-newlib maybe-all-target-newlib
32645 maybe-all-target-newlib:
32646 @if target-newlib
32647 TARGET-target-newlib=all
32648 maybe-all-target-newlib: all-target-newlib
32649 all-target-newlib: configure-target-newlib
32650 @: $(MAKE); $(unstage)
32651 @r=`${PWD_COMMAND}`; export r; \
32652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32653 $(NORMAL_TARGET_EXPORTS) \
32654 (cd $(TARGET_SUBDIR)/newlib && \
32655 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
32656 @endif target-newlib
32662 .PHONY: check-target-newlib maybe-check-target-newlib
32663 maybe-check-target-newlib:
32664 @if target-newlib
32665 maybe-check-target-newlib: check-target-newlib
32667 check-target-newlib:
32668 @: $(MAKE); $(unstage)
32669 @r=`${PWD_COMMAND}`; export r; \
32670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32671 $(NORMAL_TARGET_EXPORTS) \
32672 (cd $(TARGET_SUBDIR)/newlib && \
32673 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32675 @endif target-newlib
32677 .PHONY: install-target-newlib maybe-install-target-newlib
32678 maybe-install-target-newlib:
32679 @if target-newlib
32680 maybe-install-target-newlib: install-target-newlib
32682 install-target-newlib: installdirs
32683 @: $(MAKE); $(unstage)
32684 @r=`${PWD_COMMAND}`; export r; \
32685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32686 $(NORMAL_TARGET_EXPORTS) \
32687 (cd $(TARGET_SUBDIR)/newlib && \
32688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32690 @endif target-newlib
32692 # Other targets (info, dvi, etc.)
32694 .PHONY: maybe-info-target-newlib info-target-newlib
32695 maybe-info-target-newlib:
32696 @if target-newlib
32697 maybe-info-target-newlib: info-target-newlib
32699 info-target-newlib: \
32700 configure-target-newlib
32701 @: $(MAKE); $(unstage)
32702 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32703 r=`${PWD_COMMAND}`; export r; \
32704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32705 $(NORMAL_TARGET_EXPORTS) \
32706 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32707 for flag in $(EXTRA_TARGET_FLAGS); do \
32708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32709 done; \
32710 (cd $(TARGET_SUBDIR)/newlib && \
32711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32713 "RANLIB=$${RANLIB}" \
32714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32715 info) \
32716 || exit 1
32718 @endif target-newlib
32720 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32721 maybe-dvi-target-newlib:
32722 @if target-newlib
32723 maybe-dvi-target-newlib: dvi-target-newlib
32725 dvi-target-newlib: \
32726 configure-target-newlib
32727 @: $(MAKE); $(unstage)
32728 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32729 r=`${PWD_COMMAND}`; export r; \
32730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32731 $(NORMAL_TARGET_EXPORTS) \
32732 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32733 for flag in $(EXTRA_TARGET_FLAGS); do \
32734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32735 done; \
32736 (cd $(TARGET_SUBDIR)/newlib && \
32737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32739 "RANLIB=$${RANLIB}" \
32740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32741 dvi) \
32742 || exit 1
32744 @endif target-newlib
32746 .PHONY: maybe-html-target-newlib html-target-newlib
32747 maybe-html-target-newlib:
32748 @if target-newlib
32749 maybe-html-target-newlib: html-target-newlib
32751 html-target-newlib: \
32752 configure-target-newlib
32753 @: $(MAKE); $(unstage)
32754 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32755 r=`${PWD_COMMAND}`; export r; \
32756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32757 $(NORMAL_TARGET_EXPORTS) \
32758 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32759 for flag in $(EXTRA_TARGET_FLAGS); do \
32760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32761 done; \
32762 (cd $(TARGET_SUBDIR)/newlib && \
32763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32765 "RANLIB=$${RANLIB}" \
32766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32767 html) \
32768 || exit 1
32770 @endif target-newlib
32772 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32773 maybe-TAGS-target-newlib:
32774 @if target-newlib
32775 maybe-TAGS-target-newlib: TAGS-target-newlib
32777 TAGS-target-newlib: \
32778 configure-target-newlib
32779 @: $(MAKE); $(unstage)
32780 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32781 r=`${PWD_COMMAND}`; export r; \
32782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32783 $(NORMAL_TARGET_EXPORTS) \
32784 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32785 for flag in $(EXTRA_TARGET_FLAGS); do \
32786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32787 done; \
32788 (cd $(TARGET_SUBDIR)/newlib && \
32789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32791 "RANLIB=$${RANLIB}" \
32792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32793 TAGS) \
32794 || exit 1
32796 @endif target-newlib
32798 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32799 maybe-install-info-target-newlib:
32800 @if target-newlib
32801 maybe-install-info-target-newlib: install-info-target-newlib
32803 install-info-target-newlib: \
32804 configure-target-newlib \
32805 info-target-newlib
32806 @: $(MAKE); $(unstage)
32807 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32808 r=`${PWD_COMMAND}`; export r; \
32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32810 $(NORMAL_TARGET_EXPORTS) \
32811 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32812 for flag in $(EXTRA_TARGET_FLAGS); do \
32813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32814 done; \
32815 (cd $(TARGET_SUBDIR)/newlib && \
32816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32818 "RANLIB=$${RANLIB}" \
32819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32820 install-info) \
32821 || exit 1
32823 @endif target-newlib
32825 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32826 maybe-install-html-target-newlib:
32827 @if target-newlib
32828 maybe-install-html-target-newlib: install-html-target-newlib
32830 install-html-target-newlib: \
32831 configure-target-newlib \
32832 html-target-newlib
32833 @: $(MAKE); $(unstage)
32834 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32835 r=`${PWD_COMMAND}`; export r; \
32836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32837 $(NORMAL_TARGET_EXPORTS) \
32838 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32839 for flag in $(EXTRA_TARGET_FLAGS); do \
32840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32841 done; \
32842 (cd $(TARGET_SUBDIR)/newlib && \
32843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32845 "RANLIB=$${RANLIB}" \
32846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32847 install-html) \
32848 || exit 1
32850 @endif target-newlib
32852 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32853 maybe-installcheck-target-newlib:
32854 @if target-newlib
32855 maybe-installcheck-target-newlib: installcheck-target-newlib
32857 installcheck-target-newlib: \
32858 configure-target-newlib
32859 @: $(MAKE); $(unstage)
32860 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32861 r=`${PWD_COMMAND}`; export r; \
32862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32863 $(NORMAL_TARGET_EXPORTS) \
32864 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32865 for flag in $(EXTRA_TARGET_FLAGS); do \
32866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32867 done; \
32868 (cd $(TARGET_SUBDIR)/newlib && \
32869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32871 "RANLIB=$${RANLIB}" \
32872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32873 installcheck) \
32874 || exit 1
32876 @endif target-newlib
32878 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32879 maybe-mostlyclean-target-newlib:
32880 @if target-newlib
32881 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32883 mostlyclean-target-newlib:
32884 @: $(MAKE); $(unstage)
32885 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32886 r=`${PWD_COMMAND}`; export r; \
32887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32888 $(NORMAL_TARGET_EXPORTS) \
32889 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32890 for flag in $(EXTRA_TARGET_FLAGS); do \
32891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32892 done; \
32893 (cd $(TARGET_SUBDIR)/newlib && \
32894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32896 "RANLIB=$${RANLIB}" \
32897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32898 mostlyclean) \
32899 || exit 1
32901 @endif target-newlib
32903 .PHONY: maybe-clean-target-newlib clean-target-newlib
32904 maybe-clean-target-newlib:
32905 @if target-newlib
32906 maybe-clean-target-newlib: clean-target-newlib
32908 clean-target-newlib:
32909 @: $(MAKE); $(unstage)
32910 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32911 r=`${PWD_COMMAND}`; export r; \
32912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32913 $(NORMAL_TARGET_EXPORTS) \
32914 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32915 for flag in $(EXTRA_TARGET_FLAGS); do \
32916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32917 done; \
32918 (cd $(TARGET_SUBDIR)/newlib && \
32919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32921 "RANLIB=$${RANLIB}" \
32922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32923 clean) \
32924 || exit 1
32926 @endif target-newlib
32928 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32929 maybe-distclean-target-newlib:
32930 @if target-newlib
32931 maybe-distclean-target-newlib: distclean-target-newlib
32933 distclean-target-newlib:
32934 @: $(MAKE); $(unstage)
32935 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32936 r=`${PWD_COMMAND}`; export r; \
32937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32938 $(NORMAL_TARGET_EXPORTS) \
32939 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32940 for flag in $(EXTRA_TARGET_FLAGS); do \
32941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32942 done; \
32943 (cd $(TARGET_SUBDIR)/newlib && \
32944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32946 "RANLIB=$${RANLIB}" \
32947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32948 distclean) \
32949 || exit 1
32951 @endif target-newlib
32953 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32954 maybe-maintainer-clean-target-newlib:
32955 @if target-newlib
32956 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32958 maintainer-clean-target-newlib:
32959 @: $(MAKE); $(unstage)
32960 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32961 r=`${PWD_COMMAND}`; export r; \
32962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32963 $(NORMAL_TARGET_EXPORTS) \
32964 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32965 for flag in $(EXTRA_TARGET_FLAGS); do \
32966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32967 done; \
32968 (cd $(TARGET_SUBDIR)/newlib && \
32969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32971 "RANLIB=$${RANLIB}" \
32972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32973 maintainer-clean) \
32974 || exit 1
32976 @endif target-newlib
32982 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
32983 maybe-configure-target-libgfortran:
32984 @if target-libgfortran
32985 maybe-configure-target-libgfortran: configure-target-libgfortran
32986 configure-target-libgfortran:
32987 @: $(MAKE); $(unstage)
32988 @r=`${PWD_COMMAND}`; export r; \
32989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32990 echo "Checking multilib configuration for libgfortran..."; \
32991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32992 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
32993 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32994 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32995 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
32996 else \
32997 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
32998 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32999 fi; \
33000 else \
33001 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33002 fi; \
33003 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33005 $(NORMAL_TARGET_EXPORTS) \
33006 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33007 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33008 case $(srcdir) in \
33009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33010 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33012 esac; \
33013 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33014 libsrcdir="$$s/libgfortran"; \
33015 rm -f no-such-file || : ; \
33016 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33017 $(TARGET_CONFIGARGS) $${srcdiroption} \
33018 || exit 1
33019 @endif target-libgfortran
33025 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33026 maybe-all-target-libgfortran:
33027 @if target-libgfortran
33028 TARGET-target-libgfortran=all
33029 maybe-all-target-libgfortran: all-target-libgfortran
33030 all-target-libgfortran: configure-target-libgfortran
33031 @: $(MAKE); $(unstage)
33032 @r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(NORMAL_TARGET_EXPORTS) \
33035 (cd $(TARGET_SUBDIR)/libgfortran && \
33036 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
33037 @endif target-libgfortran
33043 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33044 maybe-check-target-libgfortran:
33045 @if target-libgfortran
33046 maybe-check-target-libgfortran: check-target-libgfortran
33048 check-target-libgfortran:
33049 @: $(MAKE); $(unstage)
33050 @r=`${PWD_COMMAND}`; export r; \
33051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33052 $(NORMAL_TARGET_EXPORTS) \
33053 (cd $(TARGET_SUBDIR)/libgfortran && \
33054 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33056 @endif target-libgfortran
33058 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33059 maybe-install-target-libgfortran:
33060 @if target-libgfortran
33061 maybe-install-target-libgfortran: install-target-libgfortran
33063 install-target-libgfortran: installdirs
33064 @: $(MAKE); $(unstage)
33065 @r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(NORMAL_TARGET_EXPORTS) \
33068 (cd $(TARGET_SUBDIR)/libgfortran && \
33069 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33071 @endif target-libgfortran
33073 # Other targets (info, dvi, etc.)
33075 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33076 maybe-info-target-libgfortran:
33077 @if target-libgfortran
33078 maybe-info-target-libgfortran: info-target-libgfortran
33080 info-target-libgfortran: \
33081 configure-target-libgfortran
33082 @: $(MAKE); $(unstage)
33083 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(NORMAL_TARGET_EXPORTS) \
33087 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33088 for flag in $(EXTRA_TARGET_FLAGS); do \
33089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33090 done; \
33091 (cd $(TARGET_SUBDIR)/libgfortran && \
33092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33094 "RANLIB=$${RANLIB}" \
33095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33096 info) \
33097 || exit 1
33099 @endif target-libgfortran
33101 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33102 maybe-dvi-target-libgfortran:
33103 @if target-libgfortran
33104 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33106 dvi-target-libgfortran: \
33107 configure-target-libgfortran
33108 @: $(MAKE); $(unstage)
33109 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33110 r=`${PWD_COMMAND}`; export r; \
33111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33112 $(NORMAL_TARGET_EXPORTS) \
33113 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33114 for flag in $(EXTRA_TARGET_FLAGS); do \
33115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33116 done; \
33117 (cd $(TARGET_SUBDIR)/libgfortran && \
33118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33120 "RANLIB=$${RANLIB}" \
33121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33122 dvi) \
33123 || exit 1
33125 @endif target-libgfortran
33127 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33128 maybe-html-target-libgfortran:
33129 @if target-libgfortran
33130 maybe-html-target-libgfortran: html-target-libgfortran
33132 html-target-libgfortran: \
33133 configure-target-libgfortran
33134 @: $(MAKE); $(unstage)
33135 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33136 r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 $(NORMAL_TARGET_EXPORTS) \
33139 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33140 for flag in $(EXTRA_TARGET_FLAGS); do \
33141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33142 done; \
33143 (cd $(TARGET_SUBDIR)/libgfortran && \
33144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33146 "RANLIB=$${RANLIB}" \
33147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33148 html) \
33149 || exit 1
33151 @endif target-libgfortran
33153 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33154 maybe-TAGS-target-libgfortran:
33155 @if target-libgfortran
33156 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33158 TAGS-target-libgfortran: \
33159 configure-target-libgfortran
33160 @: $(MAKE); $(unstage)
33161 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33162 r=`${PWD_COMMAND}`; export r; \
33163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33164 $(NORMAL_TARGET_EXPORTS) \
33165 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33166 for flag in $(EXTRA_TARGET_FLAGS); do \
33167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33168 done; \
33169 (cd $(TARGET_SUBDIR)/libgfortran && \
33170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33172 "RANLIB=$${RANLIB}" \
33173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33174 TAGS) \
33175 || exit 1
33177 @endif target-libgfortran
33179 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
33180 maybe-install-info-target-libgfortran:
33181 @if target-libgfortran
33182 maybe-install-info-target-libgfortran: install-info-target-libgfortran
33184 install-info-target-libgfortran: \
33185 configure-target-libgfortran \
33186 info-target-libgfortran
33187 @: $(MAKE); $(unstage)
33188 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33189 r=`${PWD_COMMAND}`; export r; \
33190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33191 $(NORMAL_TARGET_EXPORTS) \
33192 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
33193 for flag in $(EXTRA_TARGET_FLAGS); do \
33194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33195 done; \
33196 (cd $(TARGET_SUBDIR)/libgfortran && \
33197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33199 "RANLIB=$${RANLIB}" \
33200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33201 install-info) \
33202 || exit 1
33204 @endif target-libgfortran
33206 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
33207 maybe-install-html-target-libgfortran:
33208 @if target-libgfortran
33209 maybe-install-html-target-libgfortran: install-html-target-libgfortran
33211 install-html-target-libgfortran: \
33212 configure-target-libgfortran \
33213 html-target-libgfortran
33214 @: $(MAKE); $(unstage)
33215 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33216 r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 $(NORMAL_TARGET_EXPORTS) \
33219 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
33220 for flag in $(EXTRA_TARGET_FLAGS); do \
33221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33222 done; \
33223 (cd $(TARGET_SUBDIR)/libgfortran && \
33224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33226 "RANLIB=$${RANLIB}" \
33227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33228 install-html) \
33229 || exit 1
33231 @endif target-libgfortran
33233 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
33234 maybe-installcheck-target-libgfortran:
33235 @if target-libgfortran
33236 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
33238 installcheck-target-libgfortran: \
33239 configure-target-libgfortran
33240 @: $(MAKE); $(unstage)
33241 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33242 r=`${PWD_COMMAND}`; export r; \
33243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33244 $(NORMAL_TARGET_EXPORTS) \
33245 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
33246 for flag in $(EXTRA_TARGET_FLAGS); do \
33247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33248 done; \
33249 (cd $(TARGET_SUBDIR)/libgfortran && \
33250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33252 "RANLIB=$${RANLIB}" \
33253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33254 installcheck) \
33255 || exit 1
33257 @endif target-libgfortran
33259 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
33260 maybe-mostlyclean-target-libgfortran:
33261 @if target-libgfortran
33262 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
33264 mostlyclean-target-libgfortran:
33265 @: $(MAKE); $(unstage)
33266 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33267 r=`${PWD_COMMAND}`; export r; \
33268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33269 $(NORMAL_TARGET_EXPORTS) \
33270 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
33271 for flag in $(EXTRA_TARGET_FLAGS); do \
33272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33273 done; \
33274 (cd $(TARGET_SUBDIR)/libgfortran && \
33275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33277 "RANLIB=$${RANLIB}" \
33278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33279 mostlyclean) \
33280 || exit 1
33282 @endif target-libgfortran
33284 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
33285 maybe-clean-target-libgfortran:
33286 @if target-libgfortran
33287 maybe-clean-target-libgfortran: clean-target-libgfortran
33289 clean-target-libgfortran:
33290 @: $(MAKE); $(unstage)
33291 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33292 r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33294 $(NORMAL_TARGET_EXPORTS) \
33295 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
33296 for flag in $(EXTRA_TARGET_FLAGS); do \
33297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33298 done; \
33299 (cd $(TARGET_SUBDIR)/libgfortran && \
33300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33302 "RANLIB=$${RANLIB}" \
33303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33304 clean) \
33305 || exit 1
33307 @endif target-libgfortran
33309 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
33310 maybe-distclean-target-libgfortran:
33311 @if target-libgfortran
33312 maybe-distclean-target-libgfortran: distclean-target-libgfortran
33314 distclean-target-libgfortran:
33315 @: $(MAKE); $(unstage)
33316 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33317 r=`${PWD_COMMAND}`; export r; \
33318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33319 $(NORMAL_TARGET_EXPORTS) \
33320 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
33321 for flag in $(EXTRA_TARGET_FLAGS); do \
33322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33323 done; \
33324 (cd $(TARGET_SUBDIR)/libgfortran && \
33325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33327 "RANLIB=$${RANLIB}" \
33328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33329 distclean) \
33330 || exit 1
33332 @endif target-libgfortran
33334 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
33335 maybe-maintainer-clean-target-libgfortran:
33336 @if target-libgfortran
33337 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
33339 maintainer-clean-target-libgfortran:
33340 @: $(MAKE); $(unstage)
33341 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33342 r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 $(NORMAL_TARGET_EXPORTS) \
33345 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
33346 for flag in $(EXTRA_TARGET_FLAGS); do \
33347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33348 done; \
33349 (cd $(TARGET_SUBDIR)/libgfortran && \
33350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33352 "RANLIB=$${RANLIB}" \
33353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33354 maintainer-clean) \
33355 || exit 1
33357 @endif target-libgfortran
33363 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
33364 maybe-configure-target-libobjc:
33365 @if target-libobjc
33366 maybe-configure-target-libobjc: configure-target-libobjc
33367 configure-target-libobjc:
33368 @: $(MAKE); $(unstage)
33369 @r=`${PWD_COMMAND}`; export r; \
33370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33371 echo "Checking multilib configuration for libobjc..."; \
33372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
33374 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33375 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33376 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
33377 else \
33378 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
33379 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33380 fi; \
33381 else \
33382 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33383 fi; \
33384 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
33385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33386 $(NORMAL_TARGET_EXPORTS) \
33387 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
33388 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
33389 case $(srcdir) in \
33390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33391 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
33392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33393 esac; \
33394 srcdiroption="--srcdir=$${topdir}/libobjc"; \
33395 libsrcdir="$$s/libobjc"; \
33396 rm -f no-such-file || : ; \
33397 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33398 $(TARGET_CONFIGARGS) $${srcdiroption} \
33399 || exit 1
33400 @endif target-libobjc
33406 .PHONY: all-target-libobjc maybe-all-target-libobjc
33407 maybe-all-target-libobjc:
33408 @if target-libobjc
33409 TARGET-target-libobjc=all
33410 maybe-all-target-libobjc: all-target-libobjc
33411 all-target-libobjc: configure-target-libobjc
33412 @: $(MAKE); $(unstage)
33413 @r=`${PWD_COMMAND}`; export r; \
33414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33415 $(NORMAL_TARGET_EXPORTS) \
33416 (cd $(TARGET_SUBDIR)/libobjc && \
33417 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
33418 @endif target-libobjc
33424 .PHONY: check-target-libobjc maybe-check-target-libobjc
33425 maybe-check-target-libobjc:
33426 @if target-libobjc
33427 maybe-check-target-libobjc: check-target-libobjc
33429 check-target-libobjc:
33430 @: $(MAKE); $(unstage)
33431 @r=`${PWD_COMMAND}`; export r; \
33432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33433 $(NORMAL_TARGET_EXPORTS) \
33434 (cd $(TARGET_SUBDIR)/libobjc && \
33435 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33437 @endif target-libobjc
33439 .PHONY: install-target-libobjc maybe-install-target-libobjc
33440 maybe-install-target-libobjc:
33441 @if target-libobjc
33442 maybe-install-target-libobjc: install-target-libobjc
33444 install-target-libobjc: installdirs
33445 @: $(MAKE); $(unstage)
33446 @r=`${PWD_COMMAND}`; export r; \
33447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33448 $(NORMAL_TARGET_EXPORTS) \
33449 (cd $(TARGET_SUBDIR)/libobjc && \
33450 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33452 @endif target-libobjc
33454 # Other targets (info, dvi, etc.)
33456 .PHONY: maybe-info-target-libobjc info-target-libobjc
33457 maybe-info-target-libobjc:
33458 @if target-libobjc
33459 maybe-info-target-libobjc: info-target-libobjc
33461 info-target-libobjc: \
33462 configure-target-libobjc
33463 @: $(MAKE); $(unstage)
33464 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33465 r=`${PWD_COMMAND}`; export r; \
33466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33467 $(NORMAL_TARGET_EXPORTS) \
33468 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
33469 for flag in $(EXTRA_TARGET_FLAGS); do \
33470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33471 done; \
33472 (cd $(TARGET_SUBDIR)/libobjc && \
33473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33475 "RANLIB=$${RANLIB}" \
33476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33477 info) \
33478 || exit 1
33480 @endif target-libobjc
33482 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
33483 maybe-dvi-target-libobjc:
33484 @if target-libobjc
33485 maybe-dvi-target-libobjc: dvi-target-libobjc
33487 dvi-target-libobjc: \
33488 configure-target-libobjc
33489 @: $(MAKE); $(unstage)
33490 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33491 r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 $(NORMAL_TARGET_EXPORTS) \
33494 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
33495 for flag in $(EXTRA_TARGET_FLAGS); do \
33496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33497 done; \
33498 (cd $(TARGET_SUBDIR)/libobjc && \
33499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33501 "RANLIB=$${RANLIB}" \
33502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33503 dvi) \
33504 || exit 1
33506 @endif target-libobjc
33508 .PHONY: maybe-html-target-libobjc html-target-libobjc
33509 maybe-html-target-libobjc:
33510 @if target-libobjc
33511 maybe-html-target-libobjc: html-target-libobjc
33513 html-target-libobjc: \
33514 configure-target-libobjc
33515 @: $(MAKE); $(unstage)
33516 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33517 r=`${PWD_COMMAND}`; export r; \
33518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33519 $(NORMAL_TARGET_EXPORTS) \
33520 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
33521 for flag in $(EXTRA_TARGET_FLAGS); do \
33522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33523 done; \
33524 (cd $(TARGET_SUBDIR)/libobjc && \
33525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33527 "RANLIB=$${RANLIB}" \
33528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33529 html) \
33530 || exit 1
33532 @endif target-libobjc
33534 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
33535 maybe-TAGS-target-libobjc:
33536 @if target-libobjc
33537 maybe-TAGS-target-libobjc: TAGS-target-libobjc
33539 TAGS-target-libobjc: \
33540 configure-target-libobjc
33541 @: $(MAKE); $(unstage)
33542 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33543 r=`${PWD_COMMAND}`; export r; \
33544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33545 $(NORMAL_TARGET_EXPORTS) \
33546 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
33547 for flag in $(EXTRA_TARGET_FLAGS); do \
33548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33549 done; \
33550 (cd $(TARGET_SUBDIR)/libobjc && \
33551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33553 "RANLIB=$${RANLIB}" \
33554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33555 TAGS) \
33556 || exit 1
33558 @endif target-libobjc
33560 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
33561 maybe-install-info-target-libobjc:
33562 @if target-libobjc
33563 maybe-install-info-target-libobjc: install-info-target-libobjc
33565 install-info-target-libobjc: \
33566 configure-target-libobjc \
33567 info-target-libobjc
33568 @: $(MAKE); $(unstage)
33569 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33570 r=`${PWD_COMMAND}`; export r; \
33571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33572 $(NORMAL_TARGET_EXPORTS) \
33573 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
33574 for flag in $(EXTRA_TARGET_FLAGS); do \
33575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33576 done; \
33577 (cd $(TARGET_SUBDIR)/libobjc && \
33578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33580 "RANLIB=$${RANLIB}" \
33581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33582 install-info) \
33583 || exit 1
33585 @endif target-libobjc
33587 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
33588 maybe-install-html-target-libobjc:
33589 @if target-libobjc
33590 maybe-install-html-target-libobjc: install-html-target-libobjc
33592 install-html-target-libobjc: \
33593 configure-target-libobjc \
33594 html-target-libobjc
33595 @: $(MAKE); $(unstage)
33596 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33597 r=`${PWD_COMMAND}`; export r; \
33598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33599 $(NORMAL_TARGET_EXPORTS) \
33600 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
33601 for flag in $(EXTRA_TARGET_FLAGS); do \
33602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33603 done; \
33604 (cd $(TARGET_SUBDIR)/libobjc && \
33605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33607 "RANLIB=$${RANLIB}" \
33608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33609 install-html) \
33610 || exit 1
33612 @endif target-libobjc
33614 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
33615 maybe-installcheck-target-libobjc:
33616 @if target-libobjc
33617 maybe-installcheck-target-libobjc: installcheck-target-libobjc
33619 installcheck-target-libobjc: \
33620 configure-target-libobjc
33621 @: $(MAKE); $(unstage)
33622 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33623 r=`${PWD_COMMAND}`; export r; \
33624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33625 $(NORMAL_TARGET_EXPORTS) \
33626 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
33627 for flag in $(EXTRA_TARGET_FLAGS); do \
33628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33629 done; \
33630 (cd $(TARGET_SUBDIR)/libobjc && \
33631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33633 "RANLIB=$${RANLIB}" \
33634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33635 installcheck) \
33636 || exit 1
33638 @endif target-libobjc
33640 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
33641 maybe-mostlyclean-target-libobjc:
33642 @if target-libobjc
33643 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
33645 mostlyclean-target-libobjc:
33646 @: $(MAKE); $(unstage)
33647 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33648 r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33650 $(NORMAL_TARGET_EXPORTS) \
33651 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
33652 for flag in $(EXTRA_TARGET_FLAGS); do \
33653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33654 done; \
33655 (cd $(TARGET_SUBDIR)/libobjc && \
33656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33658 "RANLIB=$${RANLIB}" \
33659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33660 mostlyclean) \
33661 || exit 1
33663 @endif target-libobjc
33665 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
33666 maybe-clean-target-libobjc:
33667 @if target-libobjc
33668 maybe-clean-target-libobjc: clean-target-libobjc
33670 clean-target-libobjc:
33671 @: $(MAKE); $(unstage)
33672 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33673 r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 $(NORMAL_TARGET_EXPORTS) \
33676 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
33677 for flag in $(EXTRA_TARGET_FLAGS); do \
33678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33679 done; \
33680 (cd $(TARGET_SUBDIR)/libobjc && \
33681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33683 "RANLIB=$${RANLIB}" \
33684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33685 clean) \
33686 || exit 1
33688 @endif target-libobjc
33690 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
33691 maybe-distclean-target-libobjc:
33692 @if target-libobjc
33693 maybe-distclean-target-libobjc: distclean-target-libobjc
33695 distclean-target-libobjc:
33696 @: $(MAKE); $(unstage)
33697 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33698 r=`${PWD_COMMAND}`; export r; \
33699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33700 $(NORMAL_TARGET_EXPORTS) \
33701 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
33702 for flag in $(EXTRA_TARGET_FLAGS); do \
33703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33704 done; \
33705 (cd $(TARGET_SUBDIR)/libobjc && \
33706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33708 "RANLIB=$${RANLIB}" \
33709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33710 distclean) \
33711 || exit 1
33713 @endif target-libobjc
33715 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
33716 maybe-maintainer-clean-target-libobjc:
33717 @if target-libobjc
33718 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
33720 maintainer-clean-target-libobjc:
33721 @: $(MAKE); $(unstage)
33722 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33723 r=`${PWD_COMMAND}`; export r; \
33724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33725 $(NORMAL_TARGET_EXPORTS) \
33726 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
33727 for flag in $(EXTRA_TARGET_FLAGS); do \
33728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33729 done; \
33730 (cd $(TARGET_SUBDIR)/libobjc && \
33731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33733 "RANLIB=$${RANLIB}" \
33734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33735 maintainer-clean) \
33736 || exit 1
33738 @endif target-libobjc
33744 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
33745 maybe-configure-target-libtermcap:
33746 @if target-libtermcap
33747 maybe-configure-target-libtermcap: configure-target-libtermcap
33748 configure-target-libtermcap:
33749 @: $(MAKE); $(unstage)
33750 @r=`${PWD_COMMAND}`; export r; \
33751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33752 echo "Checking multilib configuration for libtermcap..."; \
33753 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33754 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
33755 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33756 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33757 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
33758 else \
33759 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
33760 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33761 fi; \
33762 else \
33763 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33764 fi; \
33765 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
33766 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33767 $(NORMAL_TARGET_EXPORTS) \
33768 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
33769 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
33770 case $(srcdir) in \
33771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33772 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
33773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33774 esac; \
33775 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
33776 libsrcdir="$$s/libtermcap"; \
33777 rm -f no-such-file || : ; \
33778 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33779 $(TARGET_CONFIGARGS) $${srcdiroption} \
33780 || exit 1
33781 @endif target-libtermcap
33787 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
33788 maybe-all-target-libtermcap:
33789 @if target-libtermcap
33790 TARGET-target-libtermcap=all
33791 maybe-all-target-libtermcap: all-target-libtermcap
33792 all-target-libtermcap: configure-target-libtermcap
33793 @: $(MAKE); $(unstage)
33794 @r=`${PWD_COMMAND}`; export r; \
33795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33796 $(NORMAL_TARGET_EXPORTS) \
33797 (cd $(TARGET_SUBDIR)/libtermcap && \
33798 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
33799 @endif target-libtermcap
33805 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
33806 maybe-check-target-libtermcap:
33807 @if target-libtermcap
33808 maybe-check-target-libtermcap: check-target-libtermcap
33810 # Dummy target for uncheckable module.
33811 check-target-libtermcap:
33813 @endif target-libtermcap
33815 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
33816 maybe-install-target-libtermcap:
33817 @if target-libtermcap
33818 maybe-install-target-libtermcap: install-target-libtermcap
33820 install-target-libtermcap: installdirs
33821 @: $(MAKE); $(unstage)
33822 @r=`${PWD_COMMAND}`; export r; \
33823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33824 $(NORMAL_TARGET_EXPORTS) \
33825 (cd $(TARGET_SUBDIR)/libtermcap && \
33826 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33828 @endif target-libtermcap
33830 # Other targets (info, dvi, etc.)
33832 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
33833 maybe-info-target-libtermcap:
33834 @if target-libtermcap
33835 maybe-info-target-libtermcap: info-target-libtermcap
33837 info-target-libtermcap: \
33838 configure-target-libtermcap
33839 @: $(MAKE); $(unstage)
33840 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33841 r=`${PWD_COMMAND}`; export r; \
33842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33843 $(NORMAL_TARGET_EXPORTS) \
33844 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
33845 for flag in $(EXTRA_TARGET_FLAGS); do \
33846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33847 done; \
33848 (cd $(TARGET_SUBDIR)/libtermcap && \
33849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33851 "RANLIB=$${RANLIB}" \
33852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33853 info) \
33854 || exit 1
33856 @endif target-libtermcap
33858 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
33859 maybe-dvi-target-libtermcap:
33860 @if target-libtermcap
33861 maybe-dvi-target-libtermcap: dvi-target-libtermcap
33863 dvi-target-libtermcap: \
33864 configure-target-libtermcap
33865 @: $(MAKE); $(unstage)
33866 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33867 r=`${PWD_COMMAND}`; export r; \
33868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33869 $(NORMAL_TARGET_EXPORTS) \
33870 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
33871 for flag in $(EXTRA_TARGET_FLAGS); do \
33872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33873 done; \
33874 (cd $(TARGET_SUBDIR)/libtermcap && \
33875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33877 "RANLIB=$${RANLIB}" \
33878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33879 dvi) \
33880 || exit 1
33882 @endif target-libtermcap
33884 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
33885 maybe-html-target-libtermcap:
33886 @if target-libtermcap
33887 maybe-html-target-libtermcap: html-target-libtermcap
33889 html-target-libtermcap: \
33890 configure-target-libtermcap
33891 @: $(MAKE); $(unstage)
33892 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33893 r=`${PWD_COMMAND}`; export r; \
33894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33895 $(NORMAL_TARGET_EXPORTS) \
33896 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
33897 for flag in $(EXTRA_TARGET_FLAGS); do \
33898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33899 done; \
33900 (cd $(TARGET_SUBDIR)/libtermcap && \
33901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33903 "RANLIB=$${RANLIB}" \
33904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33905 html) \
33906 || exit 1
33908 @endif target-libtermcap
33910 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
33911 maybe-TAGS-target-libtermcap:
33912 @if target-libtermcap
33913 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
33915 TAGS-target-libtermcap: \
33916 configure-target-libtermcap
33917 @: $(MAKE); $(unstage)
33918 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33919 r=`${PWD_COMMAND}`; export r; \
33920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33921 $(NORMAL_TARGET_EXPORTS) \
33922 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
33923 for flag in $(EXTRA_TARGET_FLAGS); do \
33924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33925 done; \
33926 (cd $(TARGET_SUBDIR)/libtermcap && \
33927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33929 "RANLIB=$${RANLIB}" \
33930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33931 TAGS) \
33932 || exit 1
33934 @endif target-libtermcap
33936 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
33937 maybe-install-info-target-libtermcap:
33938 @if target-libtermcap
33939 maybe-install-info-target-libtermcap: install-info-target-libtermcap
33941 install-info-target-libtermcap: \
33942 configure-target-libtermcap \
33943 info-target-libtermcap
33944 @: $(MAKE); $(unstage)
33945 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33946 r=`${PWD_COMMAND}`; export r; \
33947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33948 $(NORMAL_TARGET_EXPORTS) \
33949 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
33950 for flag in $(EXTRA_TARGET_FLAGS); do \
33951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33952 done; \
33953 (cd $(TARGET_SUBDIR)/libtermcap && \
33954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33956 "RANLIB=$${RANLIB}" \
33957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33958 install-info) \
33959 || exit 1
33961 @endif target-libtermcap
33963 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
33964 maybe-install-html-target-libtermcap:
33965 @if target-libtermcap
33966 maybe-install-html-target-libtermcap: install-html-target-libtermcap
33968 install-html-target-libtermcap: \
33969 configure-target-libtermcap \
33970 html-target-libtermcap
33971 @: $(MAKE); $(unstage)
33972 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33973 r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(NORMAL_TARGET_EXPORTS) \
33976 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
33977 for flag in $(EXTRA_TARGET_FLAGS); do \
33978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33979 done; \
33980 (cd $(TARGET_SUBDIR)/libtermcap && \
33981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33983 "RANLIB=$${RANLIB}" \
33984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33985 install-html) \
33986 || exit 1
33988 @endif target-libtermcap
33990 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
33991 maybe-installcheck-target-libtermcap:
33992 @if target-libtermcap
33993 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
33995 installcheck-target-libtermcap: \
33996 configure-target-libtermcap
33997 @: $(MAKE); $(unstage)
33998 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33999 r=`${PWD_COMMAND}`; export r; \
34000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34001 $(NORMAL_TARGET_EXPORTS) \
34002 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
34003 for flag in $(EXTRA_TARGET_FLAGS); do \
34004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34005 done; \
34006 (cd $(TARGET_SUBDIR)/libtermcap && \
34007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34009 "RANLIB=$${RANLIB}" \
34010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34011 installcheck) \
34012 || exit 1
34014 @endif target-libtermcap
34016 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
34017 maybe-mostlyclean-target-libtermcap:
34018 @if target-libtermcap
34019 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
34021 # libtermcap doesn't support mostlyclean.
34022 mostlyclean-target-libtermcap:
34024 @endif target-libtermcap
34026 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
34027 maybe-clean-target-libtermcap:
34028 @if target-libtermcap
34029 maybe-clean-target-libtermcap: clean-target-libtermcap
34031 # libtermcap doesn't support clean.
34032 clean-target-libtermcap:
34034 @endif target-libtermcap
34036 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
34037 maybe-distclean-target-libtermcap:
34038 @if target-libtermcap
34039 maybe-distclean-target-libtermcap: distclean-target-libtermcap
34041 # libtermcap doesn't support distclean.
34042 distclean-target-libtermcap:
34044 @endif target-libtermcap
34046 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
34047 maybe-maintainer-clean-target-libtermcap:
34048 @if target-libtermcap
34049 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
34051 # libtermcap doesn't support maintainer-clean.
34052 maintainer-clean-target-libtermcap:
34054 @endif target-libtermcap
34060 .PHONY: configure-target-winsup maybe-configure-target-winsup
34061 maybe-configure-target-winsup:
34062 @if target-winsup
34063 maybe-configure-target-winsup: configure-target-winsup
34064 configure-target-winsup:
34065 @: $(MAKE); $(unstage)
34066 @r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 echo "Checking multilib configuration for winsup..."; \
34069 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34070 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
34071 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
34072 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
34073 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
34074 else \
34075 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
34076 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34077 fi; \
34078 else \
34079 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34080 fi; \
34081 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
34082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34083 $(NORMAL_TARGET_EXPORTS) \
34084 echo Configuring in $(TARGET_SUBDIR)/winsup; \
34085 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
34086 case $(srcdir) in \
34087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34088 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
34089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34090 esac; \
34091 srcdiroption="--srcdir=$${topdir}/winsup"; \
34092 libsrcdir="$$s/winsup"; \
34093 rm -f no-such-file || : ; \
34094 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34095 $(TARGET_CONFIGARGS) $${srcdiroption} \
34096 || exit 1
34097 @endif target-winsup
34103 .PHONY: all-target-winsup maybe-all-target-winsup
34104 maybe-all-target-winsup:
34105 @if target-winsup
34106 TARGET-target-winsup=all
34107 maybe-all-target-winsup: all-target-winsup
34108 all-target-winsup: configure-target-winsup
34109 @: $(MAKE); $(unstage)
34110 @r=`${PWD_COMMAND}`; export r; \
34111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34112 $(NORMAL_TARGET_EXPORTS) \
34113 (cd $(TARGET_SUBDIR)/winsup && \
34114 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
34115 @endif target-winsup
34121 .PHONY: check-target-winsup maybe-check-target-winsup
34122 maybe-check-target-winsup:
34123 @if target-winsup
34124 maybe-check-target-winsup: check-target-winsup
34126 check-target-winsup:
34127 @: $(MAKE); $(unstage)
34128 @r=`${PWD_COMMAND}`; export r; \
34129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34130 $(NORMAL_TARGET_EXPORTS) \
34131 (cd $(TARGET_SUBDIR)/winsup && \
34132 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34134 @endif target-winsup
34136 .PHONY: install-target-winsup maybe-install-target-winsup
34137 maybe-install-target-winsup:
34138 @if target-winsup
34139 maybe-install-target-winsup: install-target-winsup
34141 install-target-winsup: installdirs
34142 @: $(MAKE); $(unstage)
34143 @r=`${PWD_COMMAND}`; export r; \
34144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34145 $(NORMAL_TARGET_EXPORTS) \
34146 (cd $(TARGET_SUBDIR)/winsup && \
34147 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34149 @endif target-winsup
34151 # Other targets (info, dvi, etc.)
34153 .PHONY: maybe-info-target-winsup info-target-winsup
34154 maybe-info-target-winsup:
34155 @if target-winsup
34156 maybe-info-target-winsup: info-target-winsup
34158 info-target-winsup: \
34159 configure-target-winsup
34160 @: $(MAKE); $(unstage)
34161 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34162 r=`${PWD_COMMAND}`; export r; \
34163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34164 $(NORMAL_TARGET_EXPORTS) \
34165 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
34166 for flag in $(EXTRA_TARGET_FLAGS); do \
34167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34168 done; \
34169 (cd $(TARGET_SUBDIR)/winsup && \
34170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34172 "RANLIB=$${RANLIB}" \
34173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34174 info) \
34175 || exit 1
34177 @endif target-winsup
34179 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
34180 maybe-dvi-target-winsup:
34181 @if target-winsup
34182 maybe-dvi-target-winsup: dvi-target-winsup
34184 dvi-target-winsup: \
34185 configure-target-winsup
34186 @: $(MAKE); $(unstage)
34187 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34188 r=`${PWD_COMMAND}`; export r; \
34189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34190 $(NORMAL_TARGET_EXPORTS) \
34191 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
34192 for flag in $(EXTRA_TARGET_FLAGS); do \
34193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34194 done; \
34195 (cd $(TARGET_SUBDIR)/winsup && \
34196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34198 "RANLIB=$${RANLIB}" \
34199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34200 dvi) \
34201 || exit 1
34203 @endif target-winsup
34205 .PHONY: maybe-html-target-winsup html-target-winsup
34206 maybe-html-target-winsup:
34207 @if target-winsup
34208 maybe-html-target-winsup: html-target-winsup
34210 html-target-winsup: \
34211 configure-target-winsup
34212 @: $(MAKE); $(unstage)
34213 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34214 r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(NORMAL_TARGET_EXPORTS) \
34217 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
34218 for flag in $(EXTRA_TARGET_FLAGS); do \
34219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34220 done; \
34221 (cd $(TARGET_SUBDIR)/winsup && \
34222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34224 "RANLIB=$${RANLIB}" \
34225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34226 html) \
34227 || exit 1
34229 @endif target-winsup
34231 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
34232 maybe-TAGS-target-winsup:
34233 @if target-winsup
34234 maybe-TAGS-target-winsup: TAGS-target-winsup
34236 TAGS-target-winsup: \
34237 configure-target-winsup
34238 @: $(MAKE); $(unstage)
34239 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34240 r=`${PWD_COMMAND}`; export r; \
34241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34242 $(NORMAL_TARGET_EXPORTS) \
34243 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
34244 for flag in $(EXTRA_TARGET_FLAGS); do \
34245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34246 done; \
34247 (cd $(TARGET_SUBDIR)/winsup && \
34248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34250 "RANLIB=$${RANLIB}" \
34251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34252 TAGS) \
34253 || exit 1
34255 @endif target-winsup
34257 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
34258 maybe-install-info-target-winsup:
34259 @if target-winsup
34260 maybe-install-info-target-winsup: install-info-target-winsup
34262 install-info-target-winsup: \
34263 configure-target-winsup \
34264 info-target-winsup
34265 @: $(MAKE); $(unstage)
34266 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34267 r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 $(NORMAL_TARGET_EXPORTS) \
34270 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
34271 for flag in $(EXTRA_TARGET_FLAGS); do \
34272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34273 done; \
34274 (cd $(TARGET_SUBDIR)/winsup && \
34275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34277 "RANLIB=$${RANLIB}" \
34278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34279 install-info) \
34280 || exit 1
34282 @endif target-winsup
34284 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
34285 maybe-install-html-target-winsup:
34286 @if target-winsup
34287 maybe-install-html-target-winsup: install-html-target-winsup
34289 install-html-target-winsup: \
34290 configure-target-winsup \
34291 html-target-winsup
34292 @: $(MAKE); $(unstage)
34293 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34294 r=`${PWD_COMMAND}`; export r; \
34295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34296 $(NORMAL_TARGET_EXPORTS) \
34297 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
34298 for flag in $(EXTRA_TARGET_FLAGS); do \
34299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34300 done; \
34301 (cd $(TARGET_SUBDIR)/winsup && \
34302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34304 "RANLIB=$${RANLIB}" \
34305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34306 install-html) \
34307 || exit 1
34309 @endif target-winsup
34311 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
34312 maybe-installcheck-target-winsup:
34313 @if target-winsup
34314 maybe-installcheck-target-winsup: installcheck-target-winsup
34316 installcheck-target-winsup: \
34317 configure-target-winsup
34318 @: $(MAKE); $(unstage)
34319 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34320 r=`${PWD_COMMAND}`; export r; \
34321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34322 $(NORMAL_TARGET_EXPORTS) \
34323 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
34324 for flag in $(EXTRA_TARGET_FLAGS); do \
34325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34326 done; \
34327 (cd $(TARGET_SUBDIR)/winsup && \
34328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34330 "RANLIB=$${RANLIB}" \
34331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34332 installcheck) \
34333 || exit 1
34335 @endif target-winsup
34337 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
34338 maybe-mostlyclean-target-winsup:
34339 @if target-winsup
34340 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
34342 mostlyclean-target-winsup:
34343 @: $(MAKE); $(unstage)
34344 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34345 r=`${PWD_COMMAND}`; export r; \
34346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34347 $(NORMAL_TARGET_EXPORTS) \
34348 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
34349 for flag in $(EXTRA_TARGET_FLAGS); do \
34350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34351 done; \
34352 (cd $(TARGET_SUBDIR)/winsup && \
34353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34355 "RANLIB=$${RANLIB}" \
34356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34357 mostlyclean) \
34358 || exit 1
34360 @endif target-winsup
34362 .PHONY: maybe-clean-target-winsup clean-target-winsup
34363 maybe-clean-target-winsup:
34364 @if target-winsup
34365 maybe-clean-target-winsup: clean-target-winsup
34367 clean-target-winsup:
34368 @: $(MAKE); $(unstage)
34369 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34370 r=`${PWD_COMMAND}`; export r; \
34371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34372 $(NORMAL_TARGET_EXPORTS) \
34373 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
34374 for flag in $(EXTRA_TARGET_FLAGS); do \
34375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34376 done; \
34377 (cd $(TARGET_SUBDIR)/winsup && \
34378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34380 "RANLIB=$${RANLIB}" \
34381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34382 clean) \
34383 || exit 1
34385 @endif target-winsup
34387 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
34388 maybe-distclean-target-winsup:
34389 @if target-winsup
34390 maybe-distclean-target-winsup: distclean-target-winsup
34392 distclean-target-winsup:
34393 @: $(MAKE); $(unstage)
34394 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34395 r=`${PWD_COMMAND}`; export r; \
34396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34397 $(NORMAL_TARGET_EXPORTS) \
34398 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
34399 for flag in $(EXTRA_TARGET_FLAGS); do \
34400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34401 done; \
34402 (cd $(TARGET_SUBDIR)/winsup && \
34403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34405 "RANLIB=$${RANLIB}" \
34406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34407 distclean) \
34408 || exit 1
34410 @endif target-winsup
34412 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
34413 maybe-maintainer-clean-target-winsup:
34414 @if target-winsup
34415 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
34417 maintainer-clean-target-winsup:
34418 @: $(MAKE); $(unstage)
34419 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34420 r=`${PWD_COMMAND}`; export r; \
34421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34422 $(NORMAL_TARGET_EXPORTS) \
34423 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
34424 for flag in $(EXTRA_TARGET_FLAGS); do \
34425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34426 done; \
34427 (cd $(TARGET_SUBDIR)/winsup && \
34428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34430 "RANLIB=$${RANLIB}" \
34431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34432 maintainer-clean) \
34433 || exit 1
34435 @endif target-winsup
34441 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
34442 maybe-configure-target-libgloss:
34443 @if target-libgloss
34444 maybe-configure-target-libgloss: configure-target-libgloss
34445 configure-target-libgloss:
34446 @: $(MAKE); $(unstage)
34447 @r=`${PWD_COMMAND}`; export r; \
34448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34449 echo "Checking multilib configuration for libgloss..."; \
34450 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34451 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
34452 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34453 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34454 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
34455 else \
34456 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
34457 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34458 fi; \
34459 else \
34460 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34461 fi; \
34462 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
34463 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34464 $(NORMAL_TARGET_EXPORTS) \
34465 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
34466 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
34467 case $(srcdir) in \
34468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34469 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
34470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34471 esac; \
34472 srcdiroption="--srcdir=$${topdir}/libgloss"; \
34473 libsrcdir="$$s/libgloss"; \
34474 rm -f no-such-file || : ; \
34475 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34476 $(TARGET_CONFIGARGS) $${srcdiroption} \
34477 || exit 1
34478 @endif target-libgloss
34484 .PHONY: all-target-libgloss maybe-all-target-libgloss
34485 maybe-all-target-libgloss:
34486 @if target-libgloss
34487 TARGET-target-libgloss=all
34488 maybe-all-target-libgloss: all-target-libgloss
34489 all-target-libgloss: configure-target-libgloss
34490 @: $(MAKE); $(unstage)
34491 @r=`${PWD_COMMAND}`; export r; \
34492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34493 $(NORMAL_TARGET_EXPORTS) \
34494 (cd $(TARGET_SUBDIR)/libgloss && \
34495 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
34496 @endif target-libgloss
34502 .PHONY: check-target-libgloss maybe-check-target-libgloss
34503 maybe-check-target-libgloss:
34504 @if target-libgloss
34505 maybe-check-target-libgloss: check-target-libgloss
34507 # Dummy target for uncheckable module.
34508 check-target-libgloss:
34510 @endif target-libgloss
34512 .PHONY: install-target-libgloss maybe-install-target-libgloss
34513 maybe-install-target-libgloss:
34514 @if target-libgloss
34515 maybe-install-target-libgloss: install-target-libgloss
34517 install-target-libgloss: installdirs
34518 @: $(MAKE); $(unstage)
34519 @r=`${PWD_COMMAND}`; export r; \
34520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34521 $(NORMAL_TARGET_EXPORTS) \
34522 (cd $(TARGET_SUBDIR)/libgloss && \
34523 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34525 @endif target-libgloss
34527 # Other targets (info, dvi, etc.)
34529 .PHONY: maybe-info-target-libgloss info-target-libgloss
34530 maybe-info-target-libgloss:
34531 @if target-libgloss
34532 maybe-info-target-libgloss: info-target-libgloss
34534 info-target-libgloss: \
34535 configure-target-libgloss
34536 @: $(MAKE); $(unstage)
34537 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34538 r=`${PWD_COMMAND}`; export r; \
34539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34540 $(NORMAL_TARGET_EXPORTS) \
34541 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
34542 for flag in $(EXTRA_TARGET_FLAGS); do \
34543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34544 done; \
34545 (cd $(TARGET_SUBDIR)/libgloss && \
34546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34548 "RANLIB=$${RANLIB}" \
34549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34550 info) \
34551 || exit 1
34553 @endif target-libgloss
34555 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
34556 maybe-dvi-target-libgloss:
34557 @if target-libgloss
34558 maybe-dvi-target-libgloss: dvi-target-libgloss
34560 dvi-target-libgloss: \
34561 configure-target-libgloss
34562 @: $(MAKE); $(unstage)
34563 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34564 r=`${PWD_COMMAND}`; export r; \
34565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34566 $(NORMAL_TARGET_EXPORTS) \
34567 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
34568 for flag in $(EXTRA_TARGET_FLAGS); do \
34569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34570 done; \
34571 (cd $(TARGET_SUBDIR)/libgloss && \
34572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34574 "RANLIB=$${RANLIB}" \
34575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34576 dvi) \
34577 || exit 1
34579 @endif target-libgloss
34581 .PHONY: maybe-html-target-libgloss html-target-libgloss
34582 maybe-html-target-libgloss:
34583 @if target-libgloss
34584 maybe-html-target-libgloss: html-target-libgloss
34586 html-target-libgloss: \
34587 configure-target-libgloss
34588 @: $(MAKE); $(unstage)
34589 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34590 r=`${PWD_COMMAND}`; export r; \
34591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34592 $(NORMAL_TARGET_EXPORTS) \
34593 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
34594 for flag in $(EXTRA_TARGET_FLAGS); do \
34595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34596 done; \
34597 (cd $(TARGET_SUBDIR)/libgloss && \
34598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34600 "RANLIB=$${RANLIB}" \
34601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34602 html) \
34603 || exit 1
34605 @endif target-libgloss
34607 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
34608 maybe-TAGS-target-libgloss:
34609 @if target-libgloss
34610 maybe-TAGS-target-libgloss: TAGS-target-libgloss
34612 TAGS-target-libgloss: \
34613 configure-target-libgloss
34614 @: $(MAKE); $(unstage)
34615 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34616 r=`${PWD_COMMAND}`; export r; \
34617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34618 $(NORMAL_TARGET_EXPORTS) \
34619 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
34620 for flag in $(EXTRA_TARGET_FLAGS); do \
34621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34622 done; \
34623 (cd $(TARGET_SUBDIR)/libgloss && \
34624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34626 "RANLIB=$${RANLIB}" \
34627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34628 TAGS) \
34629 || exit 1
34631 @endif target-libgloss
34633 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
34634 maybe-install-info-target-libgloss:
34635 @if target-libgloss
34636 maybe-install-info-target-libgloss: install-info-target-libgloss
34638 install-info-target-libgloss: \
34639 configure-target-libgloss \
34640 info-target-libgloss
34641 @: $(MAKE); $(unstage)
34642 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34643 r=`${PWD_COMMAND}`; export r; \
34644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34645 $(NORMAL_TARGET_EXPORTS) \
34646 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
34647 for flag in $(EXTRA_TARGET_FLAGS); do \
34648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34649 done; \
34650 (cd $(TARGET_SUBDIR)/libgloss && \
34651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34653 "RANLIB=$${RANLIB}" \
34654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34655 install-info) \
34656 || exit 1
34658 @endif target-libgloss
34660 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
34661 maybe-install-html-target-libgloss:
34662 @if target-libgloss
34663 maybe-install-html-target-libgloss: install-html-target-libgloss
34665 install-html-target-libgloss: \
34666 configure-target-libgloss \
34667 html-target-libgloss
34668 @: $(MAKE); $(unstage)
34669 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34670 r=`${PWD_COMMAND}`; export r; \
34671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34672 $(NORMAL_TARGET_EXPORTS) \
34673 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
34674 for flag in $(EXTRA_TARGET_FLAGS); do \
34675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34676 done; \
34677 (cd $(TARGET_SUBDIR)/libgloss && \
34678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34680 "RANLIB=$${RANLIB}" \
34681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34682 install-html) \
34683 || exit 1
34685 @endif target-libgloss
34687 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
34688 maybe-installcheck-target-libgloss:
34689 @if target-libgloss
34690 maybe-installcheck-target-libgloss: installcheck-target-libgloss
34692 installcheck-target-libgloss: \
34693 configure-target-libgloss
34694 @: $(MAKE); $(unstage)
34695 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34696 r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 $(NORMAL_TARGET_EXPORTS) \
34699 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
34700 for flag in $(EXTRA_TARGET_FLAGS); do \
34701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34702 done; \
34703 (cd $(TARGET_SUBDIR)/libgloss && \
34704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34706 "RANLIB=$${RANLIB}" \
34707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34708 installcheck) \
34709 || exit 1
34711 @endif target-libgloss
34713 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
34714 maybe-mostlyclean-target-libgloss:
34715 @if target-libgloss
34716 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
34718 mostlyclean-target-libgloss:
34719 @: $(MAKE); $(unstage)
34720 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34721 r=`${PWD_COMMAND}`; export r; \
34722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34723 $(NORMAL_TARGET_EXPORTS) \
34724 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
34725 for flag in $(EXTRA_TARGET_FLAGS); do \
34726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34727 done; \
34728 (cd $(TARGET_SUBDIR)/libgloss && \
34729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34731 "RANLIB=$${RANLIB}" \
34732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34733 mostlyclean) \
34734 || exit 1
34736 @endif target-libgloss
34738 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
34739 maybe-clean-target-libgloss:
34740 @if target-libgloss
34741 maybe-clean-target-libgloss: clean-target-libgloss
34743 clean-target-libgloss:
34744 @: $(MAKE); $(unstage)
34745 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34746 r=`${PWD_COMMAND}`; export r; \
34747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34748 $(NORMAL_TARGET_EXPORTS) \
34749 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
34750 for flag in $(EXTRA_TARGET_FLAGS); do \
34751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34752 done; \
34753 (cd $(TARGET_SUBDIR)/libgloss && \
34754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34756 "RANLIB=$${RANLIB}" \
34757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34758 clean) \
34759 || exit 1
34761 @endif target-libgloss
34763 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
34764 maybe-distclean-target-libgloss:
34765 @if target-libgloss
34766 maybe-distclean-target-libgloss: distclean-target-libgloss
34768 distclean-target-libgloss:
34769 @: $(MAKE); $(unstage)
34770 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34771 r=`${PWD_COMMAND}`; export r; \
34772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34773 $(NORMAL_TARGET_EXPORTS) \
34774 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
34775 for flag in $(EXTRA_TARGET_FLAGS); do \
34776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34777 done; \
34778 (cd $(TARGET_SUBDIR)/libgloss && \
34779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34781 "RANLIB=$${RANLIB}" \
34782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34783 distclean) \
34784 || exit 1
34786 @endif target-libgloss
34788 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
34789 maybe-maintainer-clean-target-libgloss:
34790 @if target-libgloss
34791 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
34793 maintainer-clean-target-libgloss:
34794 @: $(MAKE); $(unstage)
34795 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34796 r=`${PWD_COMMAND}`; export r; \
34797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34798 $(NORMAL_TARGET_EXPORTS) \
34799 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
34800 for flag in $(EXTRA_TARGET_FLAGS); do \
34801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34802 done; \
34803 (cd $(TARGET_SUBDIR)/libgloss && \
34804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34806 "RANLIB=$${RANLIB}" \
34807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34808 maintainer-clean) \
34809 || exit 1
34811 @endif target-libgloss
34817 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
34818 maybe-configure-target-libiberty:
34819 @if target-libiberty
34820 maybe-configure-target-libiberty: configure-target-libiberty
34821 configure-target-libiberty:
34822 @: $(MAKE); $(unstage)
34823 @r=`${PWD_COMMAND}`; export r; \
34824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34825 echo "Checking multilib configuration for libiberty..."; \
34826 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34827 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
34828 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34829 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34830 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
34831 else \
34832 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
34833 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34834 fi; \
34835 else \
34836 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34837 fi; \
34838 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
34839 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34840 $(NORMAL_TARGET_EXPORTS) \
34841 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
34842 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
34843 case $(srcdir) in \
34844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34845 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
34846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34847 esac; \
34848 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34849 libsrcdir="$$s/libiberty"; \
34850 rm -f no-such-file || : ; \
34851 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34852 $(TARGET_CONFIGARGS) $${srcdiroption} \
34853 || exit 1
34854 @endif target-libiberty
34860 .PHONY: all-target-libiberty maybe-all-target-libiberty
34861 maybe-all-target-libiberty:
34862 @if target-libiberty
34863 TARGET-target-libiberty=all
34864 maybe-all-target-libiberty: all-target-libiberty
34865 all-target-libiberty: configure-target-libiberty
34866 @: $(MAKE); $(unstage)
34867 @r=`${PWD_COMMAND}`; export r; \
34868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34869 $(NORMAL_TARGET_EXPORTS) \
34870 (cd $(TARGET_SUBDIR)/libiberty && \
34871 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
34872 @endif target-libiberty
34878 .PHONY: check-target-libiberty maybe-check-target-libiberty
34879 maybe-check-target-libiberty:
34880 @if target-libiberty
34881 maybe-check-target-libiberty: check-target-libiberty
34883 check-target-libiberty:
34884 @: $(MAKE); $(unstage)
34885 @r=`${PWD_COMMAND}`; export r; \
34886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34887 $(NORMAL_TARGET_EXPORTS) \
34888 (cd $(TARGET_SUBDIR)/libiberty && \
34889 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34891 @endif target-libiberty
34893 .PHONY: install-target-libiberty maybe-install-target-libiberty
34894 maybe-install-target-libiberty:
34895 @if target-libiberty
34896 maybe-install-target-libiberty: install-target-libiberty
34898 install-target-libiberty: installdirs
34899 @: $(MAKE); $(unstage)
34900 @r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34902 $(NORMAL_TARGET_EXPORTS) \
34903 (cd $(TARGET_SUBDIR)/libiberty && \
34904 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34906 @endif target-libiberty
34908 # Other targets (info, dvi, etc.)
34910 .PHONY: maybe-info-target-libiberty info-target-libiberty
34911 maybe-info-target-libiberty:
34912 @if target-libiberty
34913 maybe-info-target-libiberty: info-target-libiberty
34915 info-target-libiberty: \
34916 configure-target-libiberty
34917 @: $(MAKE); $(unstage)
34918 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34919 r=`${PWD_COMMAND}`; export r; \
34920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34921 $(NORMAL_TARGET_EXPORTS) \
34922 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
34923 for flag in $(EXTRA_TARGET_FLAGS); do \
34924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34925 done; \
34926 (cd $(TARGET_SUBDIR)/libiberty && \
34927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34929 "RANLIB=$${RANLIB}" \
34930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34931 info) \
34932 || exit 1
34934 @endif target-libiberty
34936 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
34937 maybe-dvi-target-libiberty:
34938 @if target-libiberty
34939 maybe-dvi-target-libiberty: dvi-target-libiberty
34941 dvi-target-libiberty: \
34942 configure-target-libiberty
34943 @: $(MAKE); $(unstage)
34944 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34945 r=`${PWD_COMMAND}`; export r; \
34946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34947 $(NORMAL_TARGET_EXPORTS) \
34948 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
34949 for flag in $(EXTRA_TARGET_FLAGS); do \
34950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34951 done; \
34952 (cd $(TARGET_SUBDIR)/libiberty && \
34953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34955 "RANLIB=$${RANLIB}" \
34956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34957 dvi) \
34958 || exit 1
34960 @endif target-libiberty
34962 .PHONY: maybe-html-target-libiberty html-target-libiberty
34963 maybe-html-target-libiberty:
34964 @if target-libiberty
34965 maybe-html-target-libiberty: html-target-libiberty
34967 html-target-libiberty: \
34968 configure-target-libiberty
34969 @: $(MAKE); $(unstage)
34970 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(NORMAL_TARGET_EXPORTS) \
34974 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
34975 for flag in $(EXTRA_TARGET_FLAGS); do \
34976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34977 done; \
34978 (cd $(TARGET_SUBDIR)/libiberty && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34983 html) \
34984 || exit 1
34986 @endif target-libiberty
34988 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
34989 maybe-TAGS-target-libiberty:
34990 @if target-libiberty
34991 maybe-TAGS-target-libiberty: TAGS-target-libiberty
34993 TAGS-target-libiberty: \
34994 configure-target-libiberty
34995 @: $(MAKE); $(unstage)
34996 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34997 r=`${PWD_COMMAND}`; export r; \
34998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34999 $(NORMAL_TARGET_EXPORTS) \
35000 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
35001 for flag in $(EXTRA_TARGET_FLAGS); do \
35002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35003 done; \
35004 (cd $(TARGET_SUBDIR)/libiberty && \
35005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35007 "RANLIB=$${RANLIB}" \
35008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35009 TAGS) \
35010 || exit 1
35012 @endif target-libiberty
35014 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
35015 maybe-install-info-target-libiberty:
35016 @if target-libiberty
35017 maybe-install-info-target-libiberty: install-info-target-libiberty
35019 install-info-target-libiberty: \
35020 configure-target-libiberty \
35021 info-target-libiberty
35022 @: $(MAKE); $(unstage)
35023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35024 r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 $(NORMAL_TARGET_EXPORTS) \
35027 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
35028 for flag in $(EXTRA_TARGET_FLAGS); do \
35029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35030 done; \
35031 (cd $(TARGET_SUBDIR)/libiberty && \
35032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35034 "RANLIB=$${RANLIB}" \
35035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35036 install-info) \
35037 || exit 1
35039 @endif target-libiberty
35041 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
35042 maybe-install-html-target-libiberty:
35043 @if target-libiberty
35044 maybe-install-html-target-libiberty: install-html-target-libiberty
35046 install-html-target-libiberty: \
35047 configure-target-libiberty \
35048 html-target-libiberty
35049 @: $(MAKE); $(unstage)
35050 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(NORMAL_TARGET_EXPORTS) \
35054 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
35055 for flag in $(EXTRA_TARGET_FLAGS); do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 (cd $(TARGET_SUBDIR)/libiberty && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35063 install-html) \
35064 || exit 1
35066 @endif target-libiberty
35068 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
35069 maybe-installcheck-target-libiberty:
35070 @if target-libiberty
35071 maybe-installcheck-target-libiberty: installcheck-target-libiberty
35073 installcheck-target-libiberty: \
35074 configure-target-libiberty
35075 @: $(MAKE); $(unstage)
35076 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35077 r=`${PWD_COMMAND}`; export r; \
35078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35079 $(NORMAL_TARGET_EXPORTS) \
35080 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
35081 for flag in $(EXTRA_TARGET_FLAGS); do \
35082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35083 done; \
35084 (cd $(TARGET_SUBDIR)/libiberty && \
35085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35087 "RANLIB=$${RANLIB}" \
35088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35089 installcheck) \
35090 || exit 1
35092 @endif target-libiberty
35094 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
35095 maybe-mostlyclean-target-libiberty:
35096 @if target-libiberty
35097 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
35099 mostlyclean-target-libiberty:
35100 @: $(MAKE); $(unstage)
35101 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35102 r=`${PWD_COMMAND}`; export r; \
35103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35104 $(NORMAL_TARGET_EXPORTS) \
35105 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
35106 for flag in $(EXTRA_TARGET_FLAGS); do \
35107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35108 done; \
35109 (cd $(TARGET_SUBDIR)/libiberty && \
35110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35112 "RANLIB=$${RANLIB}" \
35113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35114 mostlyclean) \
35115 || exit 1
35117 @endif target-libiberty
35119 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
35120 maybe-clean-target-libiberty:
35121 @if target-libiberty
35122 maybe-clean-target-libiberty: clean-target-libiberty
35124 clean-target-libiberty:
35125 @: $(MAKE); $(unstage)
35126 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35127 r=`${PWD_COMMAND}`; export r; \
35128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35129 $(NORMAL_TARGET_EXPORTS) \
35130 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
35131 for flag in $(EXTRA_TARGET_FLAGS); do \
35132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35133 done; \
35134 (cd $(TARGET_SUBDIR)/libiberty && \
35135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35137 "RANLIB=$${RANLIB}" \
35138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35139 clean) \
35140 || exit 1
35142 @endif target-libiberty
35144 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
35145 maybe-distclean-target-libiberty:
35146 @if target-libiberty
35147 maybe-distclean-target-libiberty: distclean-target-libiberty
35149 distclean-target-libiberty:
35150 @: $(MAKE); $(unstage)
35151 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35152 r=`${PWD_COMMAND}`; export r; \
35153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35154 $(NORMAL_TARGET_EXPORTS) \
35155 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
35156 for flag in $(EXTRA_TARGET_FLAGS); do \
35157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35158 done; \
35159 (cd $(TARGET_SUBDIR)/libiberty && \
35160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35162 "RANLIB=$${RANLIB}" \
35163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35164 distclean) \
35165 || exit 1
35167 @endif target-libiberty
35169 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
35170 maybe-maintainer-clean-target-libiberty:
35171 @if target-libiberty
35172 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
35174 maintainer-clean-target-libiberty:
35175 @: $(MAKE); $(unstage)
35176 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35177 r=`${PWD_COMMAND}`; export r; \
35178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35179 $(NORMAL_TARGET_EXPORTS) \
35180 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
35181 for flag in $(EXTRA_TARGET_FLAGS); do \
35182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35183 done; \
35184 (cd $(TARGET_SUBDIR)/libiberty && \
35185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35187 "RANLIB=$${RANLIB}" \
35188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35189 maintainer-clean) \
35190 || exit 1
35192 @endif target-libiberty
35198 .PHONY: configure-target-gperf maybe-configure-target-gperf
35199 maybe-configure-target-gperf:
35200 @if target-gperf
35201 maybe-configure-target-gperf: configure-target-gperf
35202 configure-target-gperf:
35203 @: $(MAKE); $(unstage)
35204 @r=`${PWD_COMMAND}`; export r; \
35205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35206 echo "Checking multilib configuration for gperf..."; \
35207 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35208 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
35209 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
35210 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
35211 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
35212 else \
35213 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
35214 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35215 fi; \
35216 else \
35217 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35218 fi; \
35219 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
35220 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35221 $(NORMAL_TARGET_EXPORTS) \
35222 echo Configuring in $(TARGET_SUBDIR)/gperf; \
35223 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
35224 case $(srcdir) in \
35225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35226 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
35227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35228 esac; \
35229 srcdiroption="--srcdir=$${topdir}/gperf"; \
35230 libsrcdir="$$s/gperf"; \
35231 rm -f no-such-file || : ; \
35232 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35233 $(TARGET_CONFIGARGS) $${srcdiroption} \
35234 || exit 1
35235 @endif target-gperf
35241 .PHONY: all-target-gperf maybe-all-target-gperf
35242 maybe-all-target-gperf:
35243 @if target-gperf
35244 TARGET-target-gperf=all
35245 maybe-all-target-gperf: all-target-gperf
35246 all-target-gperf: configure-target-gperf
35247 @: $(MAKE); $(unstage)
35248 @r=`${PWD_COMMAND}`; export r; \
35249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35250 $(NORMAL_TARGET_EXPORTS) \
35251 (cd $(TARGET_SUBDIR)/gperf && \
35252 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
35253 @endif target-gperf
35259 .PHONY: check-target-gperf maybe-check-target-gperf
35260 maybe-check-target-gperf:
35261 @if target-gperf
35262 maybe-check-target-gperf: check-target-gperf
35264 check-target-gperf:
35265 @: $(MAKE); $(unstage)
35266 @r=`${PWD_COMMAND}`; export r; \
35267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35268 $(NORMAL_TARGET_EXPORTS) \
35269 (cd $(TARGET_SUBDIR)/gperf && \
35270 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35272 @endif target-gperf
35274 .PHONY: install-target-gperf maybe-install-target-gperf
35275 maybe-install-target-gperf:
35276 @if target-gperf
35277 maybe-install-target-gperf: install-target-gperf
35279 install-target-gperf: installdirs
35280 @: $(MAKE); $(unstage)
35281 @r=`${PWD_COMMAND}`; export r; \
35282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35283 $(NORMAL_TARGET_EXPORTS) \
35284 (cd $(TARGET_SUBDIR)/gperf && \
35285 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35287 @endif target-gperf
35289 # Other targets (info, dvi, etc.)
35291 .PHONY: maybe-info-target-gperf info-target-gperf
35292 maybe-info-target-gperf:
35293 @if target-gperf
35294 maybe-info-target-gperf: info-target-gperf
35296 info-target-gperf: \
35297 configure-target-gperf
35298 @: $(MAKE); $(unstage)
35299 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35300 r=`${PWD_COMMAND}`; export r; \
35301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35302 $(NORMAL_TARGET_EXPORTS) \
35303 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
35304 for flag in $(EXTRA_TARGET_FLAGS); do \
35305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35306 done; \
35307 (cd $(TARGET_SUBDIR)/gperf && \
35308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35310 "RANLIB=$${RANLIB}" \
35311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35312 info) \
35313 || exit 1
35315 @endif target-gperf
35317 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
35318 maybe-dvi-target-gperf:
35319 @if target-gperf
35320 maybe-dvi-target-gperf: dvi-target-gperf
35322 dvi-target-gperf: \
35323 configure-target-gperf
35324 @: $(MAKE); $(unstage)
35325 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35326 r=`${PWD_COMMAND}`; export r; \
35327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35328 $(NORMAL_TARGET_EXPORTS) \
35329 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
35330 for flag in $(EXTRA_TARGET_FLAGS); do \
35331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35332 done; \
35333 (cd $(TARGET_SUBDIR)/gperf && \
35334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35336 "RANLIB=$${RANLIB}" \
35337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35338 dvi) \
35339 || exit 1
35341 @endif target-gperf
35343 .PHONY: maybe-html-target-gperf html-target-gperf
35344 maybe-html-target-gperf:
35345 @if target-gperf
35346 maybe-html-target-gperf: html-target-gperf
35348 html-target-gperf: \
35349 configure-target-gperf
35350 @: $(MAKE); $(unstage)
35351 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35352 r=`${PWD_COMMAND}`; export r; \
35353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35354 $(NORMAL_TARGET_EXPORTS) \
35355 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
35356 for flag in $(EXTRA_TARGET_FLAGS); do \
35357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35358 done; \
35359 (cd $(TARGET_SUBDIR)/gperf && \
35360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35362 "RANLIB=$${RANLIB}" \
35363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35364 html) \
35365 || exit 1
35367 @endif target-gperf
35369 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
35370 maybe-TAGS-target-gperf:
35371 @if target-gperf
35372 maybe-TAGS-target-gperf: TAGS-target-gperf
35374 TAGS-target-gperf: \
35375 configure-target-gperf
35376 @: $(MAKE); $(unstage)
35377 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35378 r=`${PWD_COMMAND}`; export r; \
35379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35380 $(NORMAL_TARGET_EXPORTS) \
35381 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
35382 for flag in $(EXTRA_TARGET_FLAGS); do \
35383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35384 done; \
35385 (cd $(TARGET_SUBDIR)/gperf && \
35386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35388 "RANLIB=$${RANLIB}" \
35389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35390 TAGS) \
35391 || exit 1
35393 @endif target-gperf
35395 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
35396 maybe-install-info-target-gperf:
35397 @if target-gperf
35398 maybe-install-info-target-gperf: install-info-target-gperf
35400 install-info-target-gperf: \
35401 configure-target-gperf \
35402 info-target-gperf
35403 @: $(MAKE); $(unstage)
35404 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35405 r=`${PWD_COMMAND}`; export r; \
35406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35407 $(NORMAL_TARGET_EXPORTS) \
35408 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
35409 for flag in $(EXTRA_TARGET_FLAGS); do \
35410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35411 done; \
35412 (cd $(TARGET_SUBDIR)/gperf && \
35413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35415 "RANLIB=$${RANLIB}" \
35416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35417 install-info) \
35418 || exit 1
35420 @endif target-gperf
35422 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
35423 maybe-install-html-target-gperf:
35424 @if target-gperf
35425 maybe-install-html-target-gperf: install-html-target-gperf
35427 install-html-target-gperf: \
35428 configure-target-gperf \
35429 html-target-gperf
35430 @: $(MAKE); $(unstage)
35431 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35432 r=`${PWD_COMMAND}`; export r; \
35433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35434 $(NORMAL_TARGET_EXPORTS) \
35435 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
35436 for flag in $(EXTRA_TARGET_FLAGS); do \
35437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35438 done; \
35439 (cd $(TARGET_SUBDIR)/gperf && \
35440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35442 "RANLIB=$${RANLIB}" \
35443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35444 install-html) \
35445 || exit 1
35447 @endif target-gperf
35449 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
35450 maybe-installcheck-target-gperf:
35451 @if target-gperf
35452 maybe-installcheck-target-gperf: installcheck-target-gperf
35454 installcheck-target-gperf: \
35455 configure-target-gperf
35456 @: $(MAKE); $(unstage)
35457 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35458 r=`${PWD_COMMAND}`; export r; \
35459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35460 $(NORMAL_TARGET_EXPORTS) \
35461 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
35462 for flag in $(EXTRA_TARGET_FLAGS); do \
35463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35464 done; \
35465 (cd $(TARGET_SUBDIR)/gperf && \
35466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35468 "RANLIB=$${RANLIB}" \
35469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35470 installcheck) \
35471 || exit 1
35473 @endif target-gperf
35475 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
35476 maybe-mostlyclean-target-gperf:
35477 @if target-gperf
35478 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
35480 mostlyclean-target-gperf:
35481 @: $(MAKE); $(unstage)
35482 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35483 r=`${PWD_COMMAND}`; export r; \
35484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35485 $(NORMAL_TARGET_EXPORTS) \
35486 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
35487 for flag in $(EXTRA_TARGET_FLAGS); do \
35488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35489 done; \
35490 (cd $(TARGET_SUBDIR)/gperf && \
35491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35493 "RANLIB=$${RANLIB}" \
35494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35495 mostlyclean) \
35496 || exit 1
35498 @endif target-gperf
35500 .PHONY: maybe-clean-target-gperf clean-target-gperf
35501 maybe-clean-target-gperf:
35502 @if target-gperf
35503 maybe-clean-target-gperf: clean-target-gperf
35505 clean-target-gperf:
35506 @: $(MAKE); $(unstage)
35507 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35508 r=`${PWD_COMMAND}`; export r; \
35509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35510 $(NORMAL_TARGET_EXPORTS) \
35511 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
35512 for flag in $(EXTRA_TARGET_FLAGS); do \
35513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35514 done; \
35515 (cd $(TARGET_SUBDIR)/gperf && \
35516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35518 "RANLIB=$${RANLIB}" \
35519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35520 clean) \
35521 || exit 1
35523 @endif target-gperf
35525 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
35526 maybe-distclean-target-gperf:
35527 @if target-gperf
35528 maybe-distclean-target-gperf: distclean-target-gperf
35530 distclean-target-gperf:
35531 @: $(MAKE); $(unstage)
35532 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35533 r=`${PWD_COMMAND}`; export r; \
35534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35535 $(NORMAL_TARGET_EXPORTS) \
35536 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
35537 for flag in $(EXTRA_TARGET_FLAGS); do \
35538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35539 done; \
35540 (cd $(TARGET_SUBDIR)/gperf && \
35541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35543 "RANLIB=$${RANLIB}" \
35544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35545 distclean) \
35546 || exit 1
35548 @endif target-gperf
35550 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
35551 maybe-maintainer-clean-target-gperf:
35552 @if target-gperf
35553 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
35555 maintainer-clean-target-gperf:
35556 @: $(MAKE); $(unstage)
35557 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35558 r=`${PWD_COMMAND}`; export r; \
35559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35560 $(NORMAL_TARGET_EXPORTS) \
35561 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
35562 for flag in $(EXTRA_TARGET_FLAGS); do \
35563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35564 done; \
35565 (cd $(TARGET_SUBDIR)/gperf && \
35566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35568 "RANLIB=$${RANLIB}" \
35569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35570 maintainer-clean) \
35571 || exit 1
35573 @endif target-gperf
35579 .PHONY: configure-target-examples maybe-configure-target-examples
35580 maybe-configure-target-examples:
35581 @if target-examples
35582 maybe-configure-target-examples: configure-target-examples
35583 configure-target-examples:
35584 @: $(MAKE); $(unstage)
35585 @r=`${PWD_COMMAND}`; export r; \
35586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35587 echo "Checking multilib configuration for examples..."; \
35588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
35590 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
35591 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
35592 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
35593 else \
35594 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
35595 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35596 fi; \
35597 else \
35598 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35599 fi; \
35600 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
35601 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35602 $(NORMAL_TARGET_EXPORTS) \
35603 echo Configuring in $(TARGET_SUBDIR)/examples; \
35604 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
35605 case $(srcdir) in \
35606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35607 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
35608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35609 esac; \
35610 srcdiroption="--srcdir=$${topdir}/examples"; \
35611 libsrcdir="$$s/examples"; \
35612 rm -f no-such-file || : ; \
35613 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35614 $(TARGET_CONFIGARGS) $${srcdiroption} \
35615 || exit 1
35616 @endif target-examples
35622 .PHONY: all-target-examples maybe-all-target-examples
35623 maybe-all-target-examples:
35624 @if target-examples
35625 TARGET-target-examples=all
35626 maybe-all-target-examples: all-target-examples
35627 all-target-examples: configure-target-examples
35628 @: $(MAKE); $(unstage)
35629 @r=`${PWD_COMMAND}`; export r; \
35630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35631 $(NORMAL_TARGET_EXPORTS) \
35632 (cd $(TARGET_SUBDIR)/examples && \
35633 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
35634 @endif target-examples
35640 .PHONY: check-target-examples maybe-check-target-examples
35641 maybe-check-target-examples:
35642 @if target-examples
35643 maybe-check-target-examples: check-target-examples
35645 # Dummy target for uncheckable module.
35646 check-target-examples:
35648 @endif target-examples
35650 .PHONY: install-target-examples maybe-install-target-examples
35651 maybe-install-target-examples:
35652 @if target-examples
35653 maybe-install-target-examples: install-target-examples
35655 # Dummy target for uninstallable.
35656 install-target-examples:
35658 @endif target-examples
35660 # Other targets (info, dvi, etc.)
35662 .PHONY: maybe-info-target-examples info-target-examples
35663 maybe-info-target-examples:
35664 @if target-examples
35665 maybe-info-target-examples: info-target-examples
35667 info-target-examples: \
35668 configure-target-examples
35669 @: $(MAKE); $(unstage)
35670 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35671 r=`${PWD_COMMAND}`; export r; \
35672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35673 $(NORMAL_TARGET_EXPORTS) \
35674 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
35675 for flag in $(EXTRA_TARGET_FLAGS); do \
35676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35677 done; \
35678 (cd $(TARGET_SUBDIR)/examples && \
35679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35681 "RANLIB=$${RANLIB}" \
35682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35683 info) \
35684 || exit 1
35686 @endif target-examples
35688 .PHONY: maybe-dvi-target-examples dvi-target-examples
35689 maybe-dvi-target-examples:
35690 @if target-examples
35691 maybe-dvi-target-examples: dvi-target-examples
35693 dvi-target-examples: \
35694 configure-target-examples
35695 @: $(MAKE); $(unstage)
35696 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35697 r=`${PWD_COMMAND}`; export r; \
35698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35699 $(NORMAL_TARGET_EXPORTS) \
35700 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
35701 for flag in $(EXTRA_TARGET_FLAGS); do \
35702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35703 done; \
35704 (cd $(TARGET_SUBDIR)/examples && \
35705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35707 "RANLIB=$${RANLIB}" \
35708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35709 dvi) \
35710 || exit 1
35712 @endif target-examples
35714 .PHONY: maybe-html-target-examples html-target-examples
35715 maybe-html-target-examples:
35716 @if target-examples
35717 maybe-html-target-examples: html-target-examples
35719 html-target-examples: \
35720 configure-target-examples
35721 @: $(MAKE); $(unstage)
35722 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35723 r=`${PWD_COMMAND}`; export r; \
35724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35725 $(NORMAL_TARGET_EXPORTS) \
35726 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
35727 for flag in $(EXTRA_TARGET_FLAGS); do \
35728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35729 done; \
35730 (cd $(TARGET_SUBDIR)/examples && \
35731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35733 "RANLIB=$${RANLIB}" \
35734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35735 html) \
35736 || exit 1
35738 @endif target-examples
35740 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
35741 maybe-TAGS-target-examples:
35742 @if target-examples
35743 maybe-TAGS-target-examples: TAGS-target-examples
35745 TAGS-target-examples: \
35746 configure-target-examples
35747 @: $(MAKE); $(unstage)
35748 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35749 r=`${PWD_COMMAND}`; export r; \
35750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35751 $(NORMAL_TARGET_EXPORTS) \
35752 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
35753 for flag in $(EXTRA_TARGET_FLAGS); do \
35754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35755 done; \
35756 (cd $(TARGET_SUBDIR)/examples && \
35757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35759 "RANLIB=$${RANLIB}" \
35760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35761 TAGS) \
35762 || exit 1
35764 @endif target-examples
35766 .PHONY: maybe-install-info-target-examples install-info-target-examples
35767 maybe-install-info-target-examples:
35768 @if target-examples
35769 maybe-install-info-target-examples: install-info-target-examples
35771 install-info-target-examples: \
35772 configure-target-examples \
35773 info-target-examples
35774 @: $(MAKE); $(unstage)
35775 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35776 r=`${PWD_COMMAND}`; export r; \
35777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35778 $(NORMAL_TARGET_EXPORTS) \
35779 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
35780 for flag in $(EXTRA_TARGET_FLAGS); do \
35781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35782 done; \
35783 (cd $(TARGET_SUBDIR)/examples && \
35784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35786 "RANLIB=$${RANLIB}" \
35787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35788 install-info) \
35789 || exit 1
35791 @endif target-examples
35793 .PHONY: maybe-install-html-target-examples install-html-target-examples
35794 maybe-install-html-target-examples:
35795 @if target-examples
35796 maybe-install-html-target-examples: install-html-target-examples
35798 install-html-target-examples: \
35799 configure-target-examples \
35800 html-target-examples
35801 @: $(MAKE); $(unstage)
35802 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35803 r=`${PWD_COMMAND}`; export r; \
35804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35805 $(NORMAL_TARGET_EXPORTS) \
35806 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
35807 for flag in $(EXTRA_TARGET_FLAGS); do \
35808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35809 done; \
35810 (cd $(TARGET_SUBDIR)/examples && \
35811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35813 "RANLIB=$${RANLIB}" \
35814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35815 install-html) \
35816 || exit 1
35818 @endif target-examples
35820 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
35821 maybe-installcheck-target-examples:
35822 @if target-examples
35823 maybe-installcheck-target-examples: installcheck-target-examples
35825 installcheck-target-examples: \
35826 configure-target-examples
35827 @: $(MAKE); $(unstage)
35828 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35829 r=`${PWD_COMMAND}`; export r; \
35830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35831 $(NORMAL_TARGET_EXPORTS) \
35832 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
35833 for flag in $(EXTRA_TARGET_FLAGS); do \
35834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35835 done; \
35836 (cd $(TARGET_SUBDIR)/examples && \
35837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35839 "RANLIB=$${RANLIB}" \
35840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35841 installcheck) \
35842 || exit 1
35844 @endif target-examples
35846 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
35847 maybe-mostlyclean-target-examples:
35848 @if target-examples
35849 maybe-mostlyclean-target-examples: mostlyclean-target-examples
35851 mostlyclean-target-examples:
35852 @: $(MAKE); $(unstage)
35853 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35854 r=`${PWD_COMMAND}`; export r; \
35855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35856 $(NORMAL_TARGET_EXPORTS) \
35857 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
35858 for flag in $(EXTRA_TARGET_FLAGS); do \
35859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35860 done; \
35861 (cd $(TARGET_SUBDIR)/examples && \
35862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35864 "RANLIB=$${RANLIB}" \
35865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35866 mostlyclean) \
35867 || exit 1
35869 @endif target-examples
35871 .PHONY: maybe-clean-target-examples clean-target-examples
35872 maybe-clean-target-examples:
35873 @if target-examples
35874 maybe-clean-target-examples: clean-target-examples
35876 clean-target-examples:
35877 @: $(MAKE); $(unstage)
35878 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35879 r=`${PWD_COMMAND}`; export r; \
35880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35881 $(NORMAL_TARGET_EXPORTS) \
35882 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
35883 for flag in $(EXTRA_TARGET_FLAGS); do \
35884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35885 done; \
35886 (cd $(TARGET_SUBDIR)/examples && \
35887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35889 "RANLIB=$${RANLIB}" \
35890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35891 clean) \
35892 || exit 1
35894 @endif target-examples
35896 .PHONY: maybe-distclean-target-examples distclean-target-examples
35897 maybe-distclean-target-examples:
35898 @if target-examples
35899 maybe-distclean-target-examples: distclean-target-examples
35901 distclean-target-examples:
35902 @: $(MAKE); $(unstage)
35903 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35904 r=`${PWD_COMMAND}`; export r; \
35905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35906 $(NORMAL_TARGET_EXPORTS) \
35907 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
35908 for flag in $(EXTRA_TARGET_FLAGS); do \
35909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35910 done; \
35911 (cd $(TARGET_SUBDIR)/examples && \
35912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35914 "RANLIB=$${RANLIB}" \
35915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35916 distclean) \
35917 || exit 1
35919 @endif target-examples
35921 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
35922 maybe-maintainer-clean-target-examples:
35923 @if target-examples
35924 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
35926 maintainer-clean-target-examples:
35927 @: $(MAKE); $(unstage)
35928 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35929 r=`${PWD_COMMAND}`; export r; \
35930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35931 $(NORMAL_TARGET_EXPORTS) \
35932 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
35933 for flag in $(EXTRA_TARGET_FLAGS); do \
35934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35935 done; \
35936 (cd $(TARGET_SUBDIR)/examples && \
35937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35939 "RANLIB=$${RANLIB}" \
35940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35941 maintainer-clean) \
35942 || exit 1
35944 @endif target-examples
35950 .PHONY: configure-target-libffi maybe-configure-target-libffi
35951 maybe-configure-target-libffi:
35952 @if target-libffi
35953 maybe-configure-target-libffi: configure-target-libffi
35954 configure-target-libffi:
35955 @: $(MAKE); $(unstage)
35956 @r=`${PWD_COMMAND}`; export r; \
35957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35958 echo "Checking multilib configuration for libffi..."; \
35959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35960 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
35961 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
35962 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
35963 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
35964 else \
35965 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
35966 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35967 fi; \
35968 else \
35969 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35970 fi; \
35971 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
35972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35973 $(NORMAL_TARGET_EXPORTS) \
35974 echo Configuring in $(TARGET_SUBDIR)/libffi; \
35975 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
35976 case $(srcdir) in \
35977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35978 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
35979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35980 esac; \
35981 srcdiroption="--srcdir=$${topdir}/libffi"; \
35982 libsrcdir="$$s/libffi"; \
35983 rm -f no-such-file || : ; \
35984 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35985 $(TARGET_CONFIGARGS) $${srcdiroption} \
35986 || exit 1
35987 @endif target-libffi
35993 .PHONY: all-target-libffi maybe-all-target-libffi
35994 maybe-all-target-libffi:
35995 @if target-libffi
35996 TARGET-target-libffi=all
35997 maybe-all-target-libffi: all-target-libffi
35998 all-target-libffi: configure-target-libffi
35999 @: $(MAKE); $(unstage)
36000 @r=`${PWD_COMMAND}`; export r; \
36001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36002 $(NORMAL_TARGET_EXPORTS) \
36003 (cd $(TARGET_SUBDIR)/libffi && \
36004 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
36005 @endif target-libffi
36011 .PHONY: check-target-libffi maybe-check-target-libffi
36012 maybe-check-target-libffi:
36013 @if target-libffi
36014 maybe-check-target-libffi: check-target-libffi
36016 check-target-libffi:
36017 @: $(MAKE); $(unstage)
36018 @r=`${PWD_COMMAND}`; export r; \
36019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36020 $(NORMAL_TARGET_EXPORTS) \
36021 (cd $(TARGET_SUBDIR)/libffi && \
36022 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36024 @endif target-libffi
36026 .PHONY: install-target-libffi maybe-install-target-libffi
36027 maybe-install-target-libffi:
36028 @if target-libffi
36029 maybe-install-target-libffi: install-target-libffi
36031 install-target-libffi: installdirs
36032 @: $(MAKE); $(unstage)
36033 @r=`${PWD_COMMAND}`; export r; \
36034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36035 $(NORMAL_TARGET_EXPORTS) \
36036 (cd $(TARGET_SUBDIR)/libffi && \
36037 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36039 @endif target-libffi
36041 # Other targets (info, dvi, etc.)
36043 .PHONY: maybe-info-target-libffi info-target-libffi
36044 maybe-info-target-libffi:
36045 @if target-libffi
36046 maybe-info-target-libffi: info-target-libffi
36048 info-target-libffi: \
36049 configure-target-libffi
36050 @: $(MAKE); $(unstage)
36051 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36052 r=`${PWD_COMMAND}`; export r; \
36053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36054 $(NORMAL_TARGET_EXPORTS) \
36055 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36056 for flag in $(EXTRA_TARGET_FLAGS); do \
36057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36058 done; \
36059 (cd $(TARGET_SUBDIR)/libffi && \
36060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36062 "RANLIB=$${RANLIB}" \
36063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36064 info) \
36065 || exit 1
36067 @endif target-libffi
36069 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36070 maybe-dvi-target-libffi:
36071 @if target-libffi
36072 maybe-dvi-target-libffi: dvi-target-libffi
36074 dvi-target-libffi: \
36075 configure-target-libffi
36076 @: $(MAKE); $(unstage)
36077 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36078 r=`${PWD_COMMAND}`; export r; \
36079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36080 $(NORMAL_TARGET_EXPORTS) \
36081 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36082 for flag in $(EXTRA_TARGET_FLAGS); do \
36083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36084 done; \
36085 (cd $(TARGET_SUBDIR)/libffi && \
36086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36088 "RANLIB=$${RANLIB}" \
36089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36090 dvi) \
36091 || exit 1
36093 @endif target-libffi
36095 .PHONY: maybe-html-target-libffi html-target-libffi
36096 maybe-html-target-libffi:
36097 @if target-libffi
36098 maybe-html-target-libffi: html-target-libffi
36100 html-target-libffi: \
36101 configure-target-libffi
36102 @: $(MAKE); $(unstage)
36103 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36104 r=`${PWD_COMMAND}`; export r; \
36105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36106 $(NORMAL_TARGET_EXPORTS) \
36107 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36108 for flag in $(EXTRA_TARGET_FLAGS); do \
36109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36110 done; \
36111 (cd $(TARGET_SUBDIR)/libffi && \
36112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36114 "RANLIB=$${RANLIB}" \
36115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36116 html) \
36117 || exit 1
36119 @endif target-libffi
36121 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36122 maybe-TAGS-target-libffi:
36123 @if target-libffi
36124 maybe-TAGS-target-libffi: TAGS-target-libffi
36126 TAGS-target-libffi: \
36127 configure-target-libffi
36128 @: $(MAKE); $(unstage)
36129 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36130 r=`${PWD_COMMAND}`; export r; \
36131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36132 $(NORMAL_TARGET_EXPORTS) \
36133 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36134 for flag in $(EXTRA_TARGET_FLAGS); do \
36135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36136 done; \
36137 (cd $(TARGET_SUBDIR)/libffi && \
36138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36140 "RANLIB=$${RANLIB}" \
36141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36142 TAGS) \
36143 || exit 1
36145 @endif target-libffi
36147 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36148 maybe-install-info-target-libffi:
36149 @if target-libffi
36150 maybe-install-info-target-libffi: install-info-target-libffi
36152 install-info-target-libffi: \
36153 configure-target-libffi \
36154 info-target-libffi
36155 @: $(MAKE); $(unstage)
36156 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36157 r=`${PWD_COMMAND}`; export r; \
36158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36159 $(NORMAL_TARGET_EXPORTS) \
36160 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36161 for flag in $(EXTRA_TARGET_FLAGS); do \
36162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36163 done; \
36164 (cd $(TARGET_SUBDIR)/libffi && \
36165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36167 "RANLIB=$${RANLIB}" \
36168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36169 install-info) \
36170 || exit 1
36172 @endif target-libffi
36174 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36175 maybe-install-html-target-libffi:
36176 @if target-libffi
36177 maybe-install-html-target-libffi: install-html-target-libffi
36179 install-html-target-libffi: \
36180 configure-target-libffi \
36181 html-target-libffi
36182 @: $(MAKE); $(unstage)
36183 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36184 r=`${PWD_COMMAND}`; export r; \
36185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36186 $(NORMAL_TARGET_EXPORTS) \
36187 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36188 for flag in $(EXTRA_TARGET_FLAGS); do \
36189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36190 done; \
36191 (cd $(TARGET_SUBDIR)/libffi && \
36192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36194 "RANLIB=$${RANLIB}" \
36195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36196 install-html) \
36197 || exit 1
36199 @endif target-libffi
36201 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36202 maybe-installcheck-target-libffi:
36203 @if target-libffi
36204 maybe-installcheck-target-libffi: installcheck-target-libffi
36206 installcheck-target-libffi: \
36207 configure-target-libffi
36208 @: $(MAKE); $(unstage)
36209 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36210 r=`${PWD_COMMAND}`; export r; \
36211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36212 $(NORMAL_TARGET_EXPORTS) \
36213 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36214 for flag in $(EXTRA_TARGET_FLAGS); do \
36215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36216 done; \
36217 (cd $(TARGET_SUBDIR)/libffi && \
36218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36220 "RANLIB=$${RANLIB}" \
36221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36222 installcheck) \
36223 || exit 1
36225 @endif target-libffi
36227 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36228 maybe-mostlyclean-target-libffi:
36229 @if target-libffi
36230 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36232 mostlyclean-target-libffi:
36233 @: $(MAKE); $(unstage)
36234 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36235 r=`${PWD_COMMAND}`; export r; \
36236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36237 $(NORMAL_TARGET_EXPORTS) \
36238 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36239 for flag in $(EXTRA_TARGET_FLAGS); do \
36240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36241 done; \
36242 (cd $(TARGET_SUBDIR)/libffi && \
36243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36245 "RANLIB=$${RANLIB}" \
36246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36247 mostlyclean) \
36248 || exit 1
36250 @endif target-libffi
36252 .PHONY: maybe-clean-target-libffi clean-target-libffi
36253 maybe-clean-target-libffi:
36254 @if target-libffi
36255 maybe-clean-target-libffi: clean-target-libffi
36257 clean-target-libffi:
36258 @: $(MAKE); $(unstage)
36259 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36260 r=`${PWD_COMMAND}`; export r; \
36261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36262 $(NORMAL_TARGET_EXPORTS) \
36263 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36264 for flag in $(EXTRA_TARGET_FLAGS); do \
36265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36266 done; \
36267 (cd $(TARGET_SUBDIR)/libffi && \
36268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36270 "RANLIB=$${RANLIB}" \
36271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36272 clean) \
36273 || exit 1
36275 @endif target-libffi
36277 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36278 maybe-distclean-target-libffi:
36279 @if target-libffi
36280 maybe-distclean-target-libffi: distclean-target-libffi
36282 distclean-target-libffi:
36283 @: $(MAKE); $(unstage)
36284 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36285 r=`${PWD_COMMAND}`; export r; \
36286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36287 $(NORMAL_TARGET_EXPORTS) \
36288 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36289 for flag in $(EXTRA_TARGET_FLAGS); do \
36290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36291 done; \
36292 (cd $(TARGET_SUBDIR)/libffi && \
36293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36295 "RANLIB=$${RANLIB}" \
36296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36297 distclean) \
36298 || exit 1
36300 @endif target-libffi
36302 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36303 maybe-maintainer-clean-target-libffi:
36304 @if target-libffi
36305 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36307 maintainer-clean-target-libffi:
36308 @: $(MAKE); $(unstage)
36309 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36310 r=`${PWD_COMMAND}`; export r; \
36311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36312 $(NORMAL_TARGET_EXPORTS) \
36313 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36314 for flag in $(EXTRA_TARGET_FLAGS); do \
36315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36316 done; \
36317 (cd $(TARGET_SUBDIR)/libffi && \
36318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36320 "RANLIB=$${RANLIB}" \
36321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36322 maintainer-clean) \
36323 || exit 1
36325 @endif target-libffi
36331 .PHONY: configure-target-libjava maybe-configure-target-libjava
36332 maybe-configure-target-libjava:
36333 @if target-libjava
36334 maybe-configure-target-libjava: configure-target-libjava
36335 configure-target-libjava:
36336 @: $(MAKE); $(unstage)
36337 @r=`${PWD_COMMAND}`; export r; \
36338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36339 echo "Checking multilib configuration for libjava..."; \
36340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36341 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36342 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36343 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36344 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36345 else \
36346 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36347 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36348 fi; \
36349 else \
36350 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36351 fi; \
36352 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36353 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36354 $(RAW_CXX_TARGET_EXPORTS) \
36355 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36356 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36357 case $(srcdir) in \
36358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36359 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36361 esac; \
36362 srcdiroption="--srcdir=$${topdir}/libjava"; \
36363 libsrcdir="$$s/libjava"; \
36364 rm -f no-such-file || : ; \
36365 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36366 $(TARGET_CONFIGARGS) $${srcdiroption} \
36367 || exit 1
36368 @endif target-libjava
36374 .PHONY: all-target-libjava maybe-all-target-libjava
36375 maybe-all-target-libjava:
36376 @if target-libjava
36377 TARGET-target-libjava=all
36378 maybe-all-target-libjava: all-target-libjava
36379 all-target-libjava: configure-target-libjava
36380 @: $(MAKE); $(unstage)
36381 @r=`${PWD_COMMAND}`; export r; \
36382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36383 $(RAW_CXX_TARGET_EXPORTS) \
36384 (cd $(TARGET_SUBDIR)/libjava && \
36385 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
36386 @endif target-libjava
36392 .PHONY: check-target-libjava maybe-check-target-libjava
36393 maybe-check-target-libjava:
36394 @if target-libjava
36395 maybe-check-target-libjava: check-target-libjava
36397 check-target-libjava:
36398 @: $(MAKE); $(unstage)
36399 @r=`${PWD_COMMAND}`; export r; \
36400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36401 $(RAW_CXX_TARGET_EXPORTS) \
36402 (cd $(TARGET_SUBDIR)/libjava && \
36403 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36405 @endif target-libjava
36407 .PHONY: install-target-libjava maybe-install-target-libjava
36408 maybe-install-target-libjava:
36409 @if target-libjava
36410 maybe-install-target-libjava: install-target-libjava
36412 install-target-libjava: installdirs
36413 @: $(MAKE); $(unstage)
36414 @r=`${PWD_COMMAND}`; export r; \
36415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36416 $(RAW_CXX_TARGET_EXPORTS) \
36417 (cd $(TARGET_SUBDIR)/libjava && \
36418 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36420 @endif target-libjava
36422 # Other targets (info, dvi, etc.)
36424 .PHONY: maybe-info-target-libjava info-target-libjava
36425 maybe-info-target-libjava:
36426 @if target-libjava
36427 maybe-info-target-libjava: info-target-libjava
36429 info-target-libjava: \
36430 configure-target-libjava
36431 @: $(MAKE); $(unstage)
36432 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36433 r=`${PWD_COMMAND}`; export r; \
36434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36435 $(RAW_CXX_TARGET_EXPORTS) \
36436 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
36437 for flag in $(EXTRA_TARGET_FLAGS); do \
36438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36439 done; \
36440 (cd $(TARGET_SUBDIR)/libjava && \
36441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36443 "RANLIB=$${RANLIB}" \
36444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36445 info) \
36446 || exit 1
36448 @endif target-libjava
36450 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
36451 maybe-dvi-target-libjava:
36452 @if target-libjava
36453 maybe-dvi-target-libjava: dvi-target-libjava
36455 dvi-target-libjava: \
36456 configure-target-libjava
36457 @: $(MAKE); $(unstage)
36458 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36459 r=`${PWD_COMMAND}`; export r; \
36460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36461 $(RAW_CXX_TARGET_EXPORTS) \
36462 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
36463 for flag in $(EXTRA_TARGET_FLAGS); do \
36464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36465 done; \
36466 (cd $(TARGET_SUBDIR)/libjava && \
36467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36469 "RANLIB=$${RANLIB}" \
36470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36471 dvi) \
36472 || exit 1
36474 @endif target-libjava
36476 .PHONY: maybe-html-target-libjava html-target-libjava
36477 maybe-html-target-libjava:
36478 @if target-libjava
36479 maybe-html-target-libjava: html-target-libjava
36481 html-target-libjava: \
36482 configure-target-libjava
36483 @: $(MAKE); $(unstage)
36484 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36485 r=`${PWD_COMMAND}`; export r; \
36486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36487 $(RAW_CXX_TARGET_EXPORTS) \
36488 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
36489 for flag in $(EXTRA_TARGET_FLAGS); do \
36490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36491 done; \
36492 (cd $(TARGET_SUBDIR)/libjava && \
36493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36495 "RANLIB=$${RANLIB}" \
36496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36497 html) \
36498 || exit 1
36500 @endif target-libjava
36502 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
36503 maybe-TAGS-target-libjava:
36504 @if target-libjava
36505 maybe-TAGS-target-libjava: TAGS-target-libjava
36507 TAGS-target-libjava: \
36508 configure-target-libjava
36509 @: $(MAKE); $(unstage)
36510 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36511 r=`${PWD_COMMAND}`; export r; \
36512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36513 $(RAW_CXX_TARGET_EXPORTS) \
36514 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
36515 for flag in $(EXTRA_TARGET_FLAGS); do \
36516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36517 done; \
36518 (cd $(TARGET_SUBDIR)/libjava && \
36519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36521 "RANLIB=$${RANLIB}" \
36522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36523 TAGS) \
36524 || exit 1
36526 @endif target-libjava
36528 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
36529 maybe-install-info-target-libjava:
36530 @if target-libjava
36531 maybe-install-info-target-libjava: install-info-target-libjava
36533 install-info-target-libjava: \
36534 configure-target-libjava \
36535 info-target-libjava
36536 @: $(MAKE); $(unstage)
36537 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36538 r=`${PWD_COMMAND}`; export r; \
36539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36540 $(RAW_CXX_TARGET_EXPORTS) \
36541 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
36542 for flag in $(EXTRA_TARGET_FLAGS); do \
36543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36544 done; \
36545 (cd $(TARGET_SUBDIR)/libjava && \
36546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36548 "RANLIB=$${RANLIB}" \
36549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36550 install-info) \
36551 || exit 1
36553 @endif target-libjava
36555 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
36556 maybe-install-html-target-libjava:
36557 @if target-libjava
36558 maybe-install-html-target-libjava: install-html-target-libjava
36560 install-html-target-libjava: \
36561 configure-target-libjava \
36562 html-target-libjava
36563 @: $(MAKE); $(unstage)
36564 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36565 r=`${PWD_COMMAND}`; export r; \
36566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36567 $(RAW_CXX_TARGET_EXPORTS) \
36568 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
36569 for flag in $(EXTRA_TARGET_FLAGS); do \
36570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36571 done; \
36572 (cd $(TARGET_SUBDIR)/libjava && \
36573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36575 "RANLIB=$${RANLIB}" \
36576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36577 install-html) \
36578 || exit 1
36580 @endif target-libjava
36582 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
36583 maybe-installcheck-target-libjava:
36584 @if target-libjava
36585 maybe-installcheck-target-libjava: installcheck-target-libjava
36587 installcheck-target-libjava: \
36588 configure-target-libjava
36589 @: $(MAKE); $(unstage)
36590 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36591 r=`${PWD_COMMAND}`; export r; \
36592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36593 $(RAW_CXX_TARGET_EXPORTS) \
36594 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
36595 for flag in $(EXTRA_TARGET_FLAGS); do \
36596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36597 done; \
36598 (cd $(TARGET_SUBDIR)/libjava && \
36599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36601 "RANLIB=$${RANLIB}" \
36602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36603 installcheck) \
36604 || exit 1
36606 @endif target-libjava
36608 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
36609 maybe-mostlyclean-target-libjava:
36610 @if target-libjava
36611 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
36613 mostlyclean-target-libjava:
36614 @: $(MAKE); $(unstage)
36615 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36616 r=`${PWD_COMMAND}`; export r; \
36617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36618 $(RAW_CXX_TARGET_EXPORTS) \
36619 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
36620 for flag in $(EXTRA_TARGET_FLAGS); do \
36621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36622 done; \
36623 (cd $(TARGET_SUBDIR)/libjava && \
36624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36626 "RANLIB=$${RANLIB}" \
36627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36628 mostlyclean) \
36629 || exit 1
36631 @endif target-libjava
36633 .PHONY: maybe-clean-target-libjava clean-target-libjava
36634 maybe-clean-target-libjava:
36635 @if target-libjava
36636 maybe-clean-target-libjava: clean-target-libjava
36638 clean-target-libjava:
36639 @: $(MAKE); $(unstage)
36640 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36641 r=`${PWD_COMMAND}`; export r; \
36642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36643 $(RAW_CXX_TARGET_EXPORTS) \
36644 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
36645 for flag in $(EXTRA_TARGET_FLAGS); do \
36646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36647 done; \
36648 (cd $(TARGET_SUBDIR)/libjava && \
36649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36651 "RANLIB=$${RANLIB}" \
36652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36653 clean) \
36654 || exit 1
36656 @endif target-libjava
36658 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
36659 maybe-distclean-target-libjava:
36660 @if target-libjava
36661 maybe-distclean-target-libjava: distclean-target-libjava
36663 distclean-target-libjava:
36664 @: $(MAKE); $(unstage)
36665 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36666 r=`${PWD_COMMAND}`; export r; \
36667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36668 $(RAW_CXX_TARGET_EXPORTS) \
36669 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
36670 for flag in $(EXTRA_TARGET_FLAGS); do \
36671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36672 done; \
36673 (cd $(TARGET_SUBDIR)/libjava && \
36674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36676 "RANLIB=$${RANLIB}" \
36677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36678 distclean) \
36679 || exit 1
36681 @endif target-libjava
36683 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
36684 maybe-maintainer-clean-target-libjava:
36685 @if target-libjava
36686 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
36688 maintainer-clean-target-libjava:
36689 @: $(MAKE); $(unstage)
36690 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36691 r=`${PWD_COMMAND}`; export r; \
36692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36693 $(RAW_CXX_TARGET_EXPORTS) \
36694 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
36695 for flag in $(EXTRA_TARGET_FLAGS); do \
36696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36697 done; \
36698 (cd $(TARGET_SUBDIR)/libjava && \
36699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36701 "RANLIB=$${RANLIB}" \
36702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36703 maintainer-clean) \
36704 || exit 1
36706 @endif target-libjava
36712 .PHONY: configure-target-zlib maybe-configure-target-zlib
36713 maybe-configure-target-zlib:
36714 @if target-zlib
36715 maybe-configure-target-zlib: configure-target-zlib
36716 configure-target-zlib:
36717 @: $(MAKE); $(unstage)
36718 @r=`${PWD_COMMAND}`; export r; \
36719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36720 echo "Checking multilib configuration for zlib..."; \
36721 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36722 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
36723 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
36724 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
36725 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
36726 else \
36727 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
36728 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36729 fi; \
36730 else \
36731 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36732 fi; \
36733 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
36734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36735 $(NORMAL_TARGET_EXPORTS) \
36736 echo Configuring in $(TARGET_SUBDIR)/zlib; \
36737 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
36738 case $(srcdir) in \
36739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36740 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
36741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36742 esac; \
36743 srcdiroption="--srcdir=$${topdir}/zlib"; \
36744 libsrcdir="$$s/zlib"; \
36745 rm -f no-such-file || : ; \
36746 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36747 $(TARGET_CONFIGARGS) $${srcdiroption} \
36748 || exit 1
36749 @endif target-zlib
36755 .PHONY: all-target-zlib maybe-all-target-zlib
36756 maybe-all-target-zlib:
36757 @if target-zlib
36758 TARGET-target-zlib=all
36759 maybe-all-target-zlib: all-target-zlib
36760 all-target-zlib: configure-target-zlib
36761 @: $(MAKE); $(unstage)
36762 @r=`${PWD_COMMAND}`; export r; \
36763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36764 $(NORMAL_TARGET_EXPORTS) \
36765 (cd $(TARGET_SUBDIR)/zlib && \
36766 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
36767 @endif target-zlib
36773 .PHONY: check-target-zlib maybe-check-target-zlib
36774 maybe-check-target-zlib:
36775 @if target-zlib
36776 maybe-check-target-zlib: check-target-zlib
36778 check-target-zlib:
36779 @: $(MAKE); $(unstage)
36780 @r=`${PWD_COMMAND}`; export r; \
36781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36782 $(NORMAL_TARGET_EXPORTS) \
36783 (cd $(TARGET_SUBDIR)/zlib && \
36784 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36786 @endif target-zlib
36788 .PHONY: install-target-zlib maybe-install-target-zlib
36789 maybe-install-target-zlib:
36790 @if target-zlib
36791 maybe-install-target-zlib: install-target-zlib
36793 install-target-zlib: installdirs
36794 @: $(MAKE); $(unstage)
36795 @r=`${PWD_COMMAND}`; export r; \
36796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36797 $(NORMAL_TARGET_EXPORTS) \
36798 (cd $(TARGET_SUBDIR)/zlib && \
36799 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36801 @endif target-zlib
36803 # Other targets (info, dvi, etc.)
36805 .PHONY: maybe-info-target-zlib info-target-zlib
36806 maybe-info-target-zlib:
36807 @if target-zlib
36808 maybe-info-target-zlib: info-target-zlib
36810 info-target-zlib: \
36811 configure-target-zlib
36812 @: $(MAKE); $(unstage)
36813 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36814 r=`${PWD_COMMAND}`; export r; \
36815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36816 $(NORMAL_TARGET_EXPORTS) \
36817 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
36818 for flag in $(EXTRA_TARGET_FLAGS); do \
36819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36820 done; \
36821 (cd $(TARGET_SUBDIR)/zlib && \
36822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36824 "RANLIB=$${RANLIB}" \
36825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36826 info) \
36827 || exit 1
36829 @endif target-zlib
36831 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
36832 maybe-dvi-target-zlib:
36833 @if target-zlib
36834 maybe-dvi-target-zlib: dvi-target-zlib
36836 dvi-target-zlib: \
36837 configure-target-zlib
36838 @: $(MAKE); $(unstage)
36839 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36840 r=`${PWD_COMMAND}`; export r; \
36841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36842 $(NORMAL_TARGET_EXPORTS) \
36843 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
36844 for flag in $(EXTRA_TARGET_FLAGS); do \
36845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36846 done; \
36847 (cd $(TARGET_SUBDIR)/zlib && \
36848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36850 "RANLIB=$${RANLIB}" \
36851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36852 dvi) \
36853 || exit 1
36855 @endif target-zlib
36857 .PHONY: maybe-html-target-zlib html-target-zlib
36858 maybe-html-target-zlib:
36859 @if target-zlib
36860 maybe-html-target-zlib: html-target-zlib
36862 html-target-zlib: \
36863 configure-target-zlib
36864 @: $(MAKE); $(unstage)
36865 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36866 r=`${PWD_COMMAND}`; export r; \
36867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36868 $(NORMAL_TARGET_EXPORTS) \
36869 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
36870 for flag in $(EXTRA_TARGET_FLAGS); do \
36871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36872 done; \
36873 (cd $(TARGET_SUBDIR)/zlib && \
36874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36876 "RANLIB=$${RANLIB}" \
36877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36878 html) \
36879 || exit 1
36881 @endif target-zlib
36883 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
36884 maybe-TAGS-target-zlib:
36885 @if target-zlib
36886 maybe-TAGS-target-zlib: TAGS-target-zlib
36888 TAGS-target-zlib: \
36889 configure-target-zlib
36890 @: $(MAKE); $(unstage)
36891 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36892 r=`${PWD_COMMAND}`; export r; \
36893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36894 $(NORMAL_TARGET_EXPORTS) \
36895 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
36896 for flag in $(EXTRA_TARGET_FLAGS); do \
36897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36898 done; \
36899 (cd $(TARGET_SUBDIR)/zlib && \
36900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36902 "RANLIB=$${RANLIB}" \
36903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36904 TAGS) \
36905 || exit 1
36907 @endif target-zlib
36909 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
36910 maybe-install-info-target-zlib:
36911 @if target-zlib
36912 maybe-install-info-target-zlib: install-info-target-zlib
36914 install-info-target-zlib: \
36915 configure-target-zlib \
36916 info-target-zlib
36917 @: $(MAKE); $(unstage)
36918 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36919 r=`${PWD_COMMAND}`; export r; \
36920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36921 $(NORMAL_TARGET_EXPORTS) \
36922 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
36923 for flag in $(EXTRA_TARGET_FLAGS); do \
36924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36925 done; \
36926 (cd $(TARGET_SUBDIR)/zlib && \
36927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36929 "RANLIB=$${RANLIB}" \
36930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36931 install-info) \
36932 || exit 1
36934 @endif target-zlib
36936 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
36937 maybe-install-html-target-zlib:
36938 @if target-zlib
36939 maybe-install-html-target-zlib: install-html-target-zlib
36941 install-html-target-zlib: \
36942 configure-target-zlib \
36943 html-target-zlib
36944 @: $(MAKE); $(unstage)
36945 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36946 r=`${PWD_COMMAND}`; export r; \
36947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36948 $(NORMAL_TARGET_EXPORTS) \
36949 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
36950 for flag in $(EXTRA_TARGET_FLAGS); do \
36951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36952 done; \
36953 (cd $(TARGET_SUBDIR)/zlib && \
36954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36956 "RANLIB=$${RANLIB}" \
36957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36958 install-html) \
36959 || exit 1
36961 @endif target-zlib
36963 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
36964 maybe-installcheck-target-zlib:
36965 @if target-zlib
36966 maybe-installcheck-target-zlib: installcheck-target-zlib
36968 installcheck-target-zlib: \
36969 configure-target-zlib
36970 @: $(MAKE); $(unstage)
36971 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36972 r=`${PWD_COMMAND}`; export r; \
36973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36974 $(NORMAL_TARGET_EXPORTS) \
36975 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
36976 for flag in $(EXTRA_TARGET_FLAGS); do \
36977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36978 done; \
36979 (cd $(TARGET_SUBDIR)/zlib && \
36980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36982 "RANLIB=$${RANLIB}" \
36983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36984 installcheck) \
36985 || exit 1
36987 @endif target-zlib
36989 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
36990 maybe-mostlyclean-target-zlib:
36991 @if target-zlib
36992 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
36994 mostlyclean-target-zlib:
36995 @: $(MAKE); $(unstage)
36996 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36997 r=`${PWD_COMMAND}`; export r; \
36998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36999 $(NORMAL_TARGET_EXPORTS) \
37000 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37001 for flag in $(EXTRA_TARGET_FLAGS); do \
37002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37003 done; \
37004 (cd $(TARGET_SUBDIR)/zlib && \
37005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37007 "RANLIB=$${RANLIB}" \
37008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37009 mostlyclean) \
37010 || exit 1
37012 @endif target-zlib
37014 .PHONY: maybe-clean-target-zlib clean-target-zlib
37015 maybe-clean-target-zlib:
37016 @if target-zlib
37017 maybe-clean-target-zlib: clean-target-zlib
37019 clean-target-zlib:
37020 @: $(MAKE); $(unstage)
37021 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37022 r=`${PWD_COMMAND}`; export r; \
37023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37024 $(NORMAL_TARGET_EXPORTS) \
37025 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37026 for flag in $(EXTRA_TARGET_FLAGS); do \
37027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37028 done; \
37029 (cd $(TARGET_SUBDIR)/zlib && \
37030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37032 "RANLIB=$${RANLIB}" \
37033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37034 clean) \
37035 || exit 1
37037 @endif target-zlib
37039 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37040 maybe-distclean-target-zlib:
37041 @if target-zlib
37042 maybe-distclean-target-zlib: distclean-target-zlib
37044 distclean-target-zlib:
37045 @: $(MAKE); $(unstage)
37046 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37047 r=`${PWD_COMMAND}`; export r; \
37048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37049 $(NORMAL_TARGET_EXPORTS) \
37050 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37051 for flag in $(EXTRA_TARGET_FLAGS); do \
37052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37053 done; \
37054 (cd $(TARGET_SUBDIR)/zlib && \
37055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37057 "RANLIB=$${RANLIB}" \
37058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37059 distclean) \
37060 || exit 1
37062 @endif target-zlib
37064 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37065 maybe-maintainer-clean-target-zlib:
37066 @if target-zlib
37067 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37069 maintainer-clean-target-zlib:
37070 @: $(MAKE); $(unstage)
37071 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37072 r=`${PWD_COMMAND}`; export r; \
37073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37074 $(NORMAL_TARGET_EXPORTS) \
37075 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37076 for flag in $(EXTRA_TARGET_FLAGS); do \
37077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37078 done; \
37079 (cd $(TARGET_SUBDIR)/zlib && \
37080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37082 "RANLIB=$${RANLIB}" \
37083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37084 maintainer-clean) \
37085 || exit 1
37087 @endif target-zlib
37093 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37094 maybe-configure-target-boehm-gc:
37095 @if target-boehm-gc
37096 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37097 configure-target-boehm-gc:
37098 @: $(MAKE); $(unstage)
37099 @r=`${PWD_COMMAND}`; export r; \
37100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37101 echo "Checking multilib configuration for boehm-gc..."; \
37102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37103 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37104 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37105 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37106 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37107 else \
37108 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37109 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37110 fi; \
37111 else \
37112 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37113 fi; \
37114 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37115 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37116 $(NORMAL_TARGET_EXPORTS) \
37117 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37118 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37119 case $(srcdir) in \
37120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37121 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37123 esac; \
37124 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37125 libsrcdir="$$s/boehm-gc"; \
37126 rm -f no-such-file || : ; \
37127 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37128 $(TARGET_CONFIGARGS) $${srcdiroption} \
37129 || exit 1
37130 @endif target-boehm-gc
37136 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37137 maybe-all-target-boehm-gc:
37138 @if target-boehm-gc
37139 TARGET-target-boehm-gc=all
37140 maybe-all-target-boehm-gc: all-target-boehm-gc
37141 all-target-boehm-gc: configure-target-boehm-gc
37142 @: $(MAKE); $(unstage)
37143 @r=`${PWD_COMMAND}`; export r; \
37144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37145 $(NORMAL_TARGET_EXPORTS) \
37146 (cd $(TARGET_SUBDIR)/boehm-gc && \
37147 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
37148 @endif target-boehm-gc
37154 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37155 maybe-check-target-boehm-gc:
37156 @if target-boehm-gc
37157 maybe-check-target-boehm-gc: check-target-boehm-gc
37159 check-target-boehm-gc:
37160 @: $(MAKE); $(unstage)
37161 @r=`${PWD_COMMAND}`; export r; \
37162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37163 $(NORMAL_TARGET_EXPORTS) \
37164 (cd $(TARGET_SUBDIR)/boehm-gc && \
37165 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37167 @endif target-boehm-gc
37169 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37170 maybe-install-target-boehm-gc:
37171 @if target-boehm-gc
37172 maybe-install-target-boehm-gc: install-target-boehm-gc
37174 install-target-boehm-gc: installdirs
37175 @: $(MAKE); $(unstage)
37176 @r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(NORMAL_TARGET_EXPORTS) \
37179 (cd $(TARGET_SUBDIR)/boehm-gc && \
37180 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37182 @endif target-boehm-gc
37184 # Other targets (info, dvi, etc.)
37186 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37187 maybe-info-target-boehm-gc:
37188 @if target-boehm-gc
37189 maybe-info-target-boehm-gc: info-target-boehm-gc
37191 info-target-boehm-gc: \
37192 configure-target-boehm-gc
37193 @: $(MAKE); $(unstage)
37194 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37195 r=`${PWD_COMMAND}`; export r; \
37196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37197 $(NORMAL_TARGET_EXPORTS) \
37198 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37199 for flag in $(EXTRA_TARGET_FLAGS); do \
37200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37201 done; \
37202 (cd $(TARGET_SUBDIR)/boehm-gc && \
37203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37205 "RANLIB=$${RANLIB}" \
37206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37207 info) \
37208 || exit 1
37210 @endif target-boehm-gc
37212 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37213 maybe-dvi-target-boehm-gc:
37214 @if target-boehm-gc
37215 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37217 dvi-target-boehm-gc: \
37218 configure-target-boehm-gc
37219 @: $(MAKE); $(unstage)
37220 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37221 r=`${PWD_COMMAND}`; export r; \
37222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37223 $(NORMAL_TARGET_EXPORTS) \
37224 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37225 for flag in $(EXTRA_TARGET_FLAGS); do \
37226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37227 done; \
37228 (cd $(TARGET_SUBDIR)/boehm-gc && \
37229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37231 "RANLIB=$${RANLIB}" \
37232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37233 dvi) \
37234 || exit 1
37236 @endif target-boehm-gc
37238 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37239 maybe-html-target-boehm-gc:
37240 @if target-boehm-gc
37241 maybe-html-target-boehm-gc: html-target-boehm-gc
37243 html-target-boehm-gc: \
37244 configure-target-boehm-gc
37245 @: $(MAKE); $(unstage)
37246 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37247 r=`${PWD_COMMAND}`; export r; \
37248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37249 $(NORMAL_TARGET_EXPORTS) \
37250 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
37251 for flag in $(EXTRA_TARGET_FLAGS); do \
37252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37253 done; \
37254 (cd $(TARGET_SUBDIR)/boehm-gc && \
37255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37257 "RANLIB=$${RANLIB}" \
37258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37259 html) \
37260 || exit 1
37262 @endif target-boehm-gc
37264 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
37265 maybe-TAGS-target-boehm-gc:
37266 @if target-boehm-gc
37267 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
37269 TAGS-target-boehm-gc: \
37270 configure-target-boehm-gc
37271 @: $(MAKE); $(unstage)
37272 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37273 r=`${PWD_COMMAND}`; export r; \
37274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37275 $(NORMAL_TARGET_EXPORTS) \
37276 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
37277 for flag in $(EXTRA_TARGET_FLAGS); do \
37278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37279 done; \
37280 (cd $(TARGET_SUBDIR)/boehm-gc && \
37281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37283 "RANLIB=$${RANLIB}" \
37284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37285 TAGS) \
37286 || exit 1
37288 @endif target-boehm-gc
37290 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
37291 maybe-install-info-target-boehm-gc:
37292 @if target-boehm-gc
37293 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
37295 install-info-target-boehm-gc: \
37296 configure-target-boehm-gc \
37297 info-target-boehm-gc
37298 @: $(MAKE); $(unstage)
37299 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37300 r=`${PWD_COMMAND}`; export r; \
37301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37302 $(NORMAL_TARGET_EXPORTS) \
37303 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
37304 for flag in $(EXTRA_TARGET_FLAGS); do \
37305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37306 done; \
37307 (cd $(TARGET_SUBDIR)/boehm-gc && \
37308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37310 "RANLIB=$${RANLIB}" \
37311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37312 install-info) \
37313 || exit 1
37315 @endif target-boehm-gc
37317 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
37318 maybe-install-html-target-boehm-gc:
37319 @if target-boehm-gc
37320 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
37322 install-html-target-boehm-gc: \
37323 configure-target-boehm-gc \
37324 html-target-boehm-gc
37325 @: $(MAKE); $(unstage)
37326 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37327 r=`${PWD_COMMAND}`; export r; \
37328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37329 $(NORMAL_TARGET_EXPORTS) \
37330 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
37331 for flag in $(EXTRA_TARGET_FLAGS); do \
37332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37333 done; \
37334 (cd $(TARGET_SUBDIR)/boehm-gc && \
37335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37337 "RANLIB=$${RANLIB}" \
37338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37339 install-html) \
37340 || exit 1
37342 @endif target-boehm-gc
37344 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
37345 maybe-installcheck-target-boehm-gc:
37346 @if target-boehm-gc
37347 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
37349 installcheck-target-boehm-gc: \
37350 configure-target-boehm-gc
37351 @: $(MAKE); $(unstage)
37352 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37353 r=`${PWD_COMMAND}`; export r; \
37354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37355 $(NORMAL_TARGET_EXPORTS) \
37356 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
37357 for flag in $(EXTRA_TARGET_FLAGS); do \
37358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37359 done; \
37360 (cd $(TARGET_SUBDIR)/boehm-gc && \
37361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37363 "RANLIB=$${RANLIB}" \
37364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37365 installcheck) \
37366 || exit 1
37368 @endif target-boehm-gc
37370 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
37371 maybe-mostlyclean-target-boehm-gc:
37372 @if target-boehm-gc
37373 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
37375 mostlyclean-target-boehm-gc:
37376 @: $(MAKE); $(unstage)
37377 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37378 r=`${PWD_COMMAND}`; export r; \
37379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37380 $(NORMAL_TARGET_EXPORTS) \
37381 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37382 for flag in $(EXTRA_TARGET_FLAGS); do \
37383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37384 done; \
37385 (cd $(TARGET_SUBDIR)/boehm-gc && \
37386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37388 "RANLIB=$${RANLIB}" \
37389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37390 mostlyclean) \
37391 || exit 1
37393 @endif target-boehm-gc
37395 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
37396 maybe-clean-target-boehm-gc:
37397 @if target-boehm-gc
37398 maybe-clean-target-boehm-gc: clean-target-boehm-gc
37400 clean-target-boehm-gc:
37401 @: $(MAKE); $(unstage)
37402 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37403 r=`${PWD_COMMAND}`; export r; \
37404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37405 $(NORMAL_TARGET_EXPORTS) \
37406 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37407 for flag in $(EXTRA_TARGET_FLAGS); do \
37408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37409 done; \
37410 (cd $(TARGET_SUBDIR)/boehm-gc && \
37411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37413 "RANLIB=$${RANLIB}" \
37414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37415 clean) \
37416 || exit 1
37418 @endif target-boehm-gc
37420 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
37421 maybe-distclean-target-boehm-gc:
37422 @if target-boehm-gc
37423 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
37425 distclean-target-boehm-gc:
37426 @: $(MAKE); $(unstage)
37427 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37428 r=`${PWD_COMMAND}`; export r; \
37429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37430 $(NORMAL_TARGET_EXPORTS) \
37431 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37432 for flag in $(EXTRA_TARGET_FLAGS); do \
37433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37434 done; \
37435 (cd $(TARGET_SUBDIR)/boehm-gc && \
37436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37438 "RANLIB=$${RANLIB}" \
37439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37440 distclean) \
37441 || exit 1
37443 @endif target-boehm-gc
37445 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
37446 maybe-maintainer-clean-target-boehm-gc:
37447 @if target-boehm-gc
37448 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
37450 maintainer-clean-target-boehm-gc:
37451 @: $(MAKE); $(unstage)
37452 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37453 r=`${PWD_COMMAND}`; export r; \
37454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37455 $(NORMAL_TARGET_EXPORTS) \
37456 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37457 for flag in $(EXTRA_TARGET_FLAGS); do \
37458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37459 done; \
37460 (cd $(TARGET_SUBDIR)/boehm-gc && \
37461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37463 "RANLIB=$${RANLIB}" \
37464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37465 maintainer-clean) \
37466 || exit 1
37468 @endif target-boehm-gc
37474 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
37475 maybe-configure-target-qthreads:
37476 @if target-qthreads
37477 maybe-configure-target-qthreads: configure-target-qthreads
37478 configure-target-qthreads:
37479 @: $(MAKE); $(unstage)
37480 @r=`${PWD_COMMAND}`; export r; \
37481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37482 echo "Checking multilib configuration for qthreads..."; \
37483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37484 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
37485 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37486 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37487 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
37488 else \
37489 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
37490 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37491 fi; \
37492 else \
37493 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37494 fi; \
37495 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
37496 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37497 $(NORMAL_TARGET_EXPORTS) \
37498 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
37499 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
37500 case $(srcdir) in \
37501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37502 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
37503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37504 esac; \
37505 srcdiroption="--srcdir=$${topdir}/qthreads"; \
37506 libsrcdir="$$s/qthreads"; \
37507 rm -f no-such-file || : ; \
37508 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37509 $(TARGET_CONFIGARGS) $${srcdiroption} \
37510 || exit 1
37511 @endif target-qthreads
37517 .PHONY: all-target-qthreads maybe-all-target-qthreads
37518 maybe-all-target-qthreads:
37519 @if target-qthreads
37520 TARGET-target-qthreads=all
37521 maybe-all-target-qthreads: all-target-qthreads
37522 all-target-qthreads: configure-target-qthreads
37523 @: $(MAKE); $(unstage)
37524 @r=`${PWD_COMMAND}`; export r; \
37525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37526 $(NORMAL_TARGET_EXPORTS) \
37527 (cd $(TARGET_SUBDIR)/qthreads && \
37528 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
37529 @endif target-qthreads
37535 .PHONY: check-target-qthreads maybe-check-target-qthreads
37536 maybe-check-target-qthreads:
37537 @if target-qthreads
37538 maybe-check-target-qthreads: check-target-qthreads
37540 check-target-qthreads:
37541 @: $(MAKE); $(unstage)
37542 @r=`${PWD_COMMAND}`; export r; \
37543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37544 $(NORMAL_TARGET_EXPORTS) \
37545 (cd $(TARGET_SUBDIR)/qthreads && \
37546 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37548 @endif target-qthreads
37550 .PHONY: install-target-qthreads maybe-install-target-qthreads
37551 maybe-install-target-qthreads:
37552 @if target-qthreads
37553 maybe-install-target-qthreads: install-target-qthreads
37555 install-target-qthreads: installdirs
37556 @: $(MAKE); $(unstage)
37557 @r=`${PWD_COMMAND}`; export r; \
37558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37559 $(NORMAL_TARGET_EXPORTS) \
37560 (cd $(TARGET_SUBDIR)/qthreads && \
37561 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37563 @endif target-qthreads
37565 # Other targets (info, dvi, etc.)
37567 .PHONY: maybe-info-target-qthreads info-target-qthreads
37568 maybe-info-target-qthreads:
37569 @if target-qthreads
37570 maybe-info-target-qthreads: info-target-qthreads
37572 info-target-qthreads: \
37573 configure-target-qthreads
37574 @: $(MAKE); $(unstage)
37575 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37576 r=`${PWD_COMMAND}`; export r; \
37577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37578 $(NORMAL_TARGET_EXPORTS) \
37579 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
37580 for flag in $(EXTRA_TARGET_FLAGS); do \
37581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37582 done; \
37583 (cd $(TARGET_SUBDIR)/qthreads && \
37584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37586 "RANLIB=$${RANLIB}" \
37587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37588 info) \
37589 || exit 1
37591 @endif target-qthreads
37593 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
37594 maybe-dvi-target-qthreads:
37595 @if target-qthreads
37596 maybe-dvi-target-qthreads: dvi-target-qthreads
37598 dvi-target-qthreads: \
37599 configure-target-qthreads
37600 @: $(MAKE); $(unstage)
37601 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37602 r=`${PWD_COMMAND}`; export r; \
37603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37604 $(NORMAL_TARGET_EXPORTS) \
37605 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
37606 for flag in $(EXTRA_TARGET_FLAGS); do \
37607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37608 done; \
37609 (cd $(TARGET_SUBDIR)/qthreads && \
37610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37612 "RANLIB=$${RANLIB}" \
37613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37614 dvi) \
37615 || exit 1
37617 @endif target-qthreads
37619 .PHONY: maybe-html-target-qthreads html-target-qthreads
37620 maybe-html-target-qthreads:
37621 @if target-qthreads
37622 maybe-html-target-qthreads: html-target-qthreads
37624 html-target-qthreads: \
37625 configure-target-qthreads
37626 @: $(MAKE); $(unstage)
37627 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37628 r=`${PWD_COMMAND}`; export r; \
37629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37630 $(NORMAL_TARGET_EXPORTS) \
37631 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
37632 for flag in $(EXTRA_TARGET_FLAGS); do \
37633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37634 done; \
37635 (cd $(TARGET_SUBDIR)/qthreads && \
37636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37638 "RANLIB=$${RANLIB}" \
37639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37640 html) \
37641 || exit 1
37643 @endif target-qthreads
37645 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
37646 maybe-TAGS-target-qthreads:
37647 @if target-qthreads
37648 maybe-TAGS-target-qthreads: TAGS-target-qthreads
37650 TAGS-target-qthreads: \
37651 configure-target-qthreads
37652 @: $(MAKE); $(unstage)
37653 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37654 r=`${PWD_COMMAND}`; export r; \
37655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37656 $(NORMAL_TARGET_EXPORTS) \
37657 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
37658 for flag in $(EXTRA_TARGET_FLAGS); do \
37659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37660 done; \
37661 (cd $(TARGET_SUBDIR)/qthreads && \
37662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37664 "RANLIB=$${RANLIB}" \
37665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37666 TAGS) \
37667 || exit 1
37669 @endif target-qthreads
37671 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
37672 maybe-install-info-target-qthreads:
37673 @if target-qthreads
37674 maybe-install-info-target-qthreads: install-info-target-qthreads
37676 install-info-target-qthreads: \
37677 configure-target-qthreads \
37678 info-target-qthreads
37679 @: $(MAKE); $(unstage)
37680 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37681 r=`${PWD_COMMAND}`; export r; \
37682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37683 $(NORMAL_TARGET_EXPORTS) \
37684 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
37685 for flag in $(EXTRA_TARGET_FLAGS); do \
37686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37687 done; \
37688 (cd $(TARGET_SUBDIR)/qthreads && \
37689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37691 "RANLIB=$${RANLIB}" \
37692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37693 install-info) \
37694 || exit 1
37696 @endif target-qthreads
37698 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
37699 maybe-install-html-target-qthreads:
37700 @if target-qthreads
37701 maybe-install-html-target-qthreads: install-html-target-qthreads
37703 install-html-target-qthreads: \
37704 configure-target-qthreads \
37705 html-target-qthreads
37706 @: $(MAKE); $(unstage)
37707 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37708 r=`${PWD_COMMAND}`; export r; \
37709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37710 $(NORMAL_TARGET_EXPORTS) \
37711 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
37712 for flag in $(EXTRA_TARGET_FLAGS); do \
37713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37714 done; \
37715 (cd $(TARGET_SUBDIR)/qthreads && \
37716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37718 "RANLIB=$${RANLIB}" \
37719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37720 install-html) \
37721 || exit 1
37723 @endif target-qthreads
37725 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
37726 maybe-installcheck-target-qthreads:
37727 @if target-qthreads
37728 maybe-installcheck-target-qthreads: installcheck-target-qthreads
37730 installcheck-target-qthreads: \
37731 configure-target-qthreads
37732 @: $(MAKE); $(unstage)
37733 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37734 r=`${PWD_COMMAND}`; export r; \
37735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37736 $(NORMAL_TARGET_EXPORTS) \
37737 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
37738 for flag in $(EXTRA_TARGET_FLAGS); do \
37739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37740 done; \
37741 (cd $(TARGET_SUBDIR)/qthreads && \
37742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37744 "RANLIB=$${RANLIB}" \
37745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37746 installcheck) \
37747 || exit 1
37749 @endif target-qthreads
37751 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
37752 maybe-mostlyclean-target-qthreads:
37753 @if target-qthreads
37754 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
37756 mostlyclean-target-qthreads:
37757 @: $(MAKE); $(unstage)
37758 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37759 r=`${PWD_COMMAND}`; export r; \
37760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37761 $(NORMAL_TARGET_EXPORTS) \
37762 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
37763 for flag in $(EXTRA_TARGET_FLAGS); do \
37764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37765 done; \
37766 (cd $(TARGET_SUBDIR)/qthreads && \
37767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37769 "RANLIB=$${RANLIB}" \
37770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37771 mostlyclean) \
37772 || exit 1
37774 @endif target-qthreads
37776 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
37777 maybe-clean-target-qthreads:
37778 @if target-qthreads
37779 maybe-clean-target-qthreads: clean-target-qthreads
37781 clean-target-qthreads:
37782 @: $(MAKE); $(unstage)
37783 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37784 r=`${PWD_COMMAND}`; export r; \
37785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37786 $(NORMAL_TARGET_EXPORTS) \
37787 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
37788 for flag in $(EXTRA_TARGET_FLAGS); do \
37789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37790 done; \
37791 (cd $(TARGET_SUBDIR)/qthreads && \
37792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37794 "RANLIB=$${RANLIB}" \
37795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37796 clean) \
37797 || exit 1
37799 @endif target-qthreads
37801 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
37802 maybe-distclean-target-qthreads:
37803 @if target-qthreads
37804 maybe-distclean-target-qthreads: distclean-target-qthreads
37806 distclean-target-qthreads:
37807 @: $(MAKE); $(unstage)
37808 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37809 r=`${PWD_COMMAND}`; export r; \
37810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37811 $(NORMAL_TARGET_EXPORTS) \
37812 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
37813 for flag in $(EXTRA_TARGET_FLAGS); do \
37814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37815 done; \
37816 (cd $(TARGET_SUBDIR)/qthreads && \
37817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37819 "RANLIB=$${RANLIB}" \
37820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37821 distclean) \
37822 || exit 1
37824 @endif target-qthreads
37826 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
37827 maybe-maintainer-clean-target-qthreads:
37828 @if target-qthreads
37829 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
37831 maintainer-clean-target-qthreads:
37832 @: $(MAKE); $(unstage)
37833 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37834 r=`${PWD_COMMAND}`; export r; \
37835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37836 $(NORMAL_TARGET_EXPORTS) \
37837 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
37838 for flag in $(EXTRA_TARGET_FLAGS); do \
37839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37840 done; \
37841 (cd $(TARGET_SUBDIR)/qthreads && \
37842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37844 "RANLIB=$${RANLIB}" \
37845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37846 maintainer-clean) \
37847 || exit 1
37849 @endif target-qthreads
37855 .PHONY: configure-target-rda maybe-configure-target-rda
37856 maybe-configure-target-rda:
37857 @if target-rda
37858 maybe-configure-target-rda: configure-target-rda
37859 configure-target-rda:
37860 @: $(MAKE); $(unstage)
37861 @r=`${PWD_COMMAND}`; export r; \
37862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37863 echo "Checking multilib configuration for rda..."; \
37864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37865 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
37866 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
37867 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
37868 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
37869 else \
37870 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
37871 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37872 fi; \
37873 else \
37874 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37875 fi; \
37876 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
37877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37878 $(NORMAL_TARGET_EXPORTS) \
37879 echo Configuring in $(TARGET_SUBDIR)/rda; \
37880 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
37881 case $(srcdir) in \
37882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37883 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
37884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37885 esac; \
37886 srcdiroption="--srcdir=$${topdir}/rda"; \
37887 libsrcdir="$$s/rda"; \
37888 rm -f no-such-file || : ; \
37889 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37890 $(TARGET_CONFIGARGS) $${srcdiroption} \
37891 || exit 1
37892 @endif target-rda
37898 .PHONY: all-target-rda maybe-all-target-rda
37899 maybe-all-target-rda:
37900 @if target-rda
37901 TARGET-target-rda=all
37902 maybe-all-target-rda: all-target-rda
37903 all-target-rda: configure-target-rda
37904 @: $(MAKE); $(unstage)
37905 @r=`${PWD_COMMAND}`; export r; \
37906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37907 $(NORMAL_TARGET_EXPORTS) \
37908 (cd $(TARGET_SUBDIR)/rda && \
37909 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
37910 @endif target-rda
37916 .PHONY: check-target-rda maybe-check-target-rda
37917 maybe-check-target-rda:
37918 @if target-rda
37919 maybe-check-target-rda: check-target-rda
37921 check-target-rda:
37922 @: $(MAKE); $(unstage)
37923 @r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 $(NORMAL_TARGET_EXPORTS) \
37926 (cd $(TARGET_SUBDIR)/rda && \
37927 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37929 @endif target-rda
37931 .PHONY: install-target-rda maybe-install-target-rda
37932 maybe-install-target-rda:
37933 @if target-rda
37934 maybe-install-target-rda: install-target-rda
37936 install-target-rda: installdirs
37937 @: $(MAKE); $(unstage)
37938 @r=`${PWD_COMMAND}`; export r; \
37939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37940 $(NORMAL_TARGET_EXPORTS) \
37941 (cd $(TARGET_SUBDIR)/rda && \
37942 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37944 @endif target-rda
37946 # Other targets (info, dvi, etc.)
37948 .PHONY: maybe-info-target-rda info-target-rda
37949 maybe-info-target-rda:
37950 @if target-rda
37951 maybe-info-target-rda: info-target-rda
37953 info-target-rda: \
37954 configure-target-rda
37955 @: $(MAKE); $(unstage)
37956 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37957 r=`${PWD_COMMAND}`; export r; \
37958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37959 $(NORMAL_TARGET_EXPORTS) \
37960 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
37961 for flag in $(EXTRA_TARGET_FLAGS); do \
37962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37963 done; \
37964 (cd $(TARGET_SUBDIR)/rda && \
37965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37967 "RANLIB=$${RANLIB}" \
37968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37969 info) \
37970 || exit 1
37972 @endif target-rda
37974 .PHONY: maybe-dvi-target-rda dvi-target-rda
37975 maybe-dvi-target-rda:
37976 @if target-rda
37977 maybe-dvi-target-rda: dvi-target-rda
37979 dvi-target-rda: \
37980 configure-target-rda
37981 @: $(MAKE); $(unstage)
37982 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37983 r=`${PWD_COMMAND}`; export r; \
37984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37985 $(NORMAL_TARGET_EXPORTS) \
37986 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
37987 for flag in $(EXTRA_TARGET_FLAGS); do \
37988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37989 done; \
37990 (cd $(TARGET_SUBDIR)/rda && \
37991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37993 "RANLIB=$${RANLIB}" \
37994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37995 dvi) \
37996 || exit 1
37998 @endif target-rda
38000 .PHONY: maybe-html-target-rda html-target-rda
38001 maybe-html-target-rda:
38002 @if target-rda
38003 maybe-html-target-rda: html-target-rda
38005 html-target-rda: \
38006 configure-target-rda
38007 @: $(MAKE); $(unstage)
38008 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38009 r=`${PWD_COMMAND}`; export r; \
38010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38011 $(NORMAL_TARGET_EXPORTS) \
38012 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38013 for flag in $(EXTRA_TARGET_FLAGS); do \
38014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38015 done; \
38016 (cd $(TARGET_SUBDIR)/rda && \
38017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38019 "RANLIB=$${RANLIB}" \
38020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38021 html) \
38022 || exit 1
38024 @endif target-rda
38026 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38027 maybe-TAGS-target-rda:
38028 @if target-rda
38029 maybe-TAGS-target-rda: TAGS-target-rda
38031 TAGS-target-rda: \
38032 configure-target-rda
38033 @: $(MAKE); $(unstage)
38034 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38035 r=`${PWD_COMMAND}`; export r; \
38036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38037 $(NORMAL_TARGET_EXPORTS) \
38038 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38039 for flag in $(EXTRA_TARGET_FLAGS); do \
38040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38041 done; \
38042 (cd $(TARGET_SUBDIR)/rda && \
38043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38045 "RANLIB=$${RANLIB}" \
38046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38047 TAGS) \
38048 || exit 1
38050 @endif target-rda
38052 .PHONY: maybe-install-info-target-rda install-info-target-rda
38053 maybe-install-info-target-rda:
38054 @if target-rda
38055 maybe-install-info-target-rda: install-info-target-rda
38057 install-info-target-rda: \
38058 configure-target-rda \
38059 info-target-rda
38060 @: $(MAKE); $(unstage)
38061 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38062 r=`${PWD_COMMAND}`; export r; \
38063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38064 $(NORMAL_TARGET_EXPORTS) \
38065 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38066 for flag in $(EXTRA_TARGET_FLAGS); do \
38067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38068 done; \
38069 (cd $(TARGET_SUBDIR)/rda && \
38070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38072 "RANLIB=$${RANLIB}" \
38073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38074 install-info) \
38075 || exit 1
38077 @endif target-rda
38079 .PHONY: maybe-install-html-target-rda install-html-target-rda
38080 maybe-install-html-target-rda:
38081 @if target-rda
38082 maybe-install-html-target-rda: install-html-target-rda
38084 install-html-target-rda: \
38085 configure-target-rda \
38086 html-target-rda
38087 @: $(MAKE); $(unstage)
38088 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38089 r=`${PWD_COMMAND}`; export r; \
38090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38091 $(NORMAL_TARGET_EXPORTS) \
38092 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38093 for flag in $(EXTRA_TARGET_FLAGS); do \
38094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38095 done; \
38096 (cd $(TARGET_SUBDIR)/rda && \
38097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38099 "RANLIB=$${RANLIB}" \
38100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38101 install-html) \
38102 || exit 1
38104 @endif target-rda
38106 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38107 maybe-installcheck-target-rda:
38108 @if target-rda
38109 maybe-installcheck-target-rda: installcheck-target-rda
38111 installcheck-target-rda: \
38112 configure-target-rda
38113 @: $(MAKE); $(unstage)
38114 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38115 r=`${PWD_COMMAND}`; export r; \
38116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38117 $(NORMAL_TARGET_EXPORTS) \
38118 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38119 for flag in $(EXTRA_TARGET_FLAGS); do \
38120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38121 done; \
38122 (cd $(TARGET_SUBDIR)/rda && \
38123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38125 "RANLIB=$${RANLIB}" \
38126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38127 installcheck) \
38128 || exit 1
38130 @endif target-rda
38132 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38133 maybe-mostlyclean-target-rda:
38134 @if target-rda
38135 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38137 mostlyclean-target-rda:
38138 @: $(MAKE); $(unstage)
38139 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38140 r=`${PWD_COMMAND}`; export r; \
38141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38142 $(NORMAL_TARGET_EXPORTS) \
38143 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38144 for flag in $(EXTRA_TARGET_FLAGS); do \
38145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38146 done; \
38147 (cd $(TARGET_SUBDIR)/rda && \
38148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38150 "RANLIB=$${RANLIB}" \
38151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38152 mostlyclean) \
38153 || exit 1
38155 @endif target-rda
38157 .PHONY: maybe-clean-target-rda clean-target-rda
38158 maybe-clean-target-rda:
38159 @if target-rda
38160 maybe-clean-target-rda: clean-target-rda
38162 clean-target-rda:
38163 @: $(MAKE); $(unstage)
38164 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38165 r=`${PWD_COMMAND}`; export r; \
38166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38167 $(NORMAL_TARGET_EXPORTS) \
38168 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38169 for flag in $(EXTRA_TARGET_FLAGS); do \
38170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38171 done; \
38172 (cd $(TARGET_SUBDIR)/rda && \
38173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38175 "RANLIB=$${RANLIB}" \
38176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38177 clean) \
38178 || exit 1
38180 @endif target-rda
38182 .PHONY: maybe-distclean-target-rda distclean-target-rda
38183 maybe-distclean-target-rda:
38184 @if target-rda
38185 maybe-distclean-target-rda: distclean-target-rda
38187 distclean-target-rda:
38188 @: $(MAKE); $(unstage)
38189 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38190 r=`${PWD_COMMAND}`; export r; \
38191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38192 $(NORMAL_TARGET_EXPORTS) \
38193 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38194 for flag in $(EXTRA_TARGET_FLAGS); do \
38195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38196 done; \
38197 (cd $(TARGET_SUBDIR)/rda && \
38198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38200 "RANLIB=$${RANLIB}" \
38201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38202 distclean) \
38203 || exit 1
38205 @endif target-rda
38207 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38208 maybe-maintainer-clean-target-rda:
38209 @if target-rda
38210 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38212 maintainer-clean-target-rda:
38213 @: $(MAKE); $(unstage)
38214 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38215 r=`${PWD_COMMAND}`; export r; \
38216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38217 $(NORMAL_TARGET_EXPORTS) \
38218 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38219 for flag in $(EXTRA_TARGET_FLAGS); do \
38220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38221 done; \
38222 (cd $(TARGET_SUBDIR)/rda && \
38223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38225 "RANLIB=$${RANLIB}" \
38226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38227 maintainer-clean) \
38228 || exit 1
38230 @endif target-rda
38236 .PHONY: configure-target-libada maybe-configure-target-libada
38237 maybe-configure-target-libada:
38238 @if target-libada
38239 maybe-configure-target-libada: configure-target-libada
38240 configure-target-libada:
38241 @: $(MAKE); $(unstage)
38242 @r=`${PWD_COMMAND}`; export r; \
38243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38244 echo "Checking multilib configuration for libada..."; \
38245 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38246 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38247 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38248 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38249 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38250 else \
38251 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38252 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38253 fi; \
38254 else \
38255 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38256 fi; \
38257 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38259 $(NORMAL_TARGET_EXPORTS) \
38260 echo Configuring in $(TARGET_SUBDIR)/libada; \
38261 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38262 case $(srcdir) in \
38263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38264 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38266 esac; \
38267 srcdiroption="--srcdir=$${topdir}/libada"; \
38268 libsrcdir="$$s/libada"; \
38269 rm -f no-such-file || : ; \
38270 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38271 $(TARGET_CONFIGARGS) $${srcdiroption} \
38272 || exit 1
38273 @endif target-libada
38279 .PHONY: all-target-libada maybe-all-target-libada
38280 maybe-all-target-libada:
38281 @if target-libada
38282 TARGET-target-libada=all
38283 maybe-all-target-libada: all-target-libada
38284 all-target-libada: configure-target-libada
38285 @: $(MAKE); $(unstage)
38286 @r=`${PWD_COMMAND}`; export r; \
38287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38288 $(NORMAL_TARGET_EXPORTS) \
38289 (cd $(TARGET_SUBDIR)/libada && \
38290 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
38291 @endif target-libada
38297 .PHONY: check-target-libada maybe-check-target-libada
38298 maybe-check-target-libada:
38299 @if target-libada
38300 maybe-check-target-libada: check-target-libada
38302 check-target-libada:
38303 @: $(MAKE); $(unstage)
38304 @r=`${PWD_COMMAND}`; export r; \
38305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38306 $(NORMAL_TARGET_EXPORTS) \
38307 (cd $(TARGET_SUBDIR)/libada && \
38308 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38310 @endif target-libada
38312 .PHONY: install-target-libada maybe-install-target-libada
38313 maybe-install-target-libada:
38314 @if target-libada
38315 maybe-install-target-libada: install-target-libada
38317 install-target-libada: installdirs
38318 @: $(MAKE); $(unstage)
38319 @r=`${PWD_COMMAND}`; export r; \
38320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38321 $(NORMAL_TARGET_EXPORTS) \
38322 (cd $(TARGET_SUBDIR)/libada && \
38323 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38325 @endif target-libada
38327 # Other targets (info, dvi, etc.)
38329 .PHONY: maybe-info-target-libada info-target-libada
38330 maybe-info-target-libada:
38331 @if target-libada
38332 maybe-info-target-libada: info-target-libada
38334 info-target-libada: \
38335 configure-target-libada
38336 @: $(MAKE); $(unstage)
38337 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38338 r=`${PWD_COMMAND}`; export r; \
38339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38340 $(NORMAL_TARGET_EXPORTS) \
38341 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38342 for flag in $(EXTRA_TARGET_FLAGS); do \
38343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38344 done; \
38345 (cd $(TARGET_SUBDIR)/libada && \
38346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38348 "RANLIB=$${RANLIB}" \
38349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38350 info) \
38351 || exit 1
38353 @endif target-libada
38355 .PHONY: maybe-dvi-target-libada dvi-target-libada
38356 maybe-dvi-target-libada:
38357 @if target-libada
38358 maybe-dvi-target-libada: dvi-target-libada
38360 dvi-target-libada: \
38361 configure-target-libada
38362 @: $(MAKE); $(unstage)
38363 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38364 r=`${PWD_COMMAND}`; export r; \
38365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38366 $(NORMAL_TARGET_EXPORTS) \
38367 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38368 for flag in $(EXTRA_TARGET_FLAGS); do \
38369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38370 done; \
38371 (cd $(TARGET_SUBDIR)/libada && \
38372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38374 "RANLIB=$${RANLIB}" \
38375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38376 dvi) \
38377 || exit 1
38379 @endif target-libada
38381 .PHONY: maybe-html-target-libada html-target-libada
38382 maybe-html-target-libada:
38383 @if target-libada
38384 maybe-html-target-libada: html-target-libada
38386 html-target-libada: \
38387 configure-target-libada
38388 @: $(MAKE); $(unstage)
38389 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38390 r=`${PWD_COMMAND}`; export r; \
38391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38392 $(NORMAL_TARGET_EXPORTS) \
38393 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38394 for flag in $(EXTRA_TARGET_FLAGS); do \
38395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38396 done; \
38397 (cd $(TARGET_SUBDIR)/libada && \
38398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38400 "RANLIB=$${RANLIB}" \
38401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38402 html) \
38403 || exit 1
38405 @endif target-libada
38407 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38408 maybe-TAGS-target-libada:
38409 @if target-libada
38410 maybe-TAGS-target-libada: TAGS-target-libada
38412 TAGS-target-libada: \
38413 configure-target-libada
38414 @: $(MAKE); $(unstage)
38415 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38416 r=`${PWD_COMMAND}`; export r; \
38417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38418 $(NORMAL_TARGET_EXPORTS) \
38419 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38420 for flag in $(EXTRA_TARGET_FLAGS); do \
38421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38422 done; \
38423 (cd $(TARGET_SUBDIR)/libada && \
38424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38426 "RANLIB=$${RANLIB}" \
38427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38428 TAGS) \
38429 || exit 1
38431 @endif target-libada
38433 .PHONY: maybe-install-info-target-libada install-info-target-libada
38434 maybe-install-info-target-libada:
38435 @if target-libada
38436 maybe-install-info-target-libada: install-info-target-libada
38438 install-info-target-libada: \
38439 configure-target-libada \
38440 info-target-libada
38441 @: $(MAKE); $(unstage)
38442 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38443 r=`${PWD_COMMAND}`; export r; \
38444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38445 $(NORMAL_TARGET_EXPORTS) \
38446 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38447 for flag in $(EXTRA_TARGET_FLAGS); do \
38448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38449 done; \
38450 (cd $(TARGET_SUBDIR)/libada && \
38451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38453 "RANLIB=$${RANLIB}" \
38454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38455 install-info) \
38456 || exit 1
38458 @endif target-libada
38460 .PHONY: maybe-install-html-target-libada install-html-target-libada
38461 maybe-install-html-target-libada:
38462 @if target-libada
38463 maybe-install-html-target-libada: install-html-target-libada
38465 install-html-target-libada: \
38466 configure-target-libada \
38467 html-target-libada
38468 @: $(MAKE); $(unstage)
38469 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38470 r=`${PWD_COMMAND}`; export r; \
38471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38472 $(NORMAL_TARGET_EXPORTS) \
38473 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
38474 for flag in $(EXTRA_TARGET_FLAGS); do \
38475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38476 done; \
38477 (cd $(TARGET_SUBDIR)/libada && \
38478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38480 "RANLIB=$${RANLIB}" \
38481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38482 install-html) \
38483 || exit 1
38485 @endif target-libada
38487 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
38488 maybe-installcheck-target-libada:
38489 @if target-libada
38490 maybe-installcheck-target-libada: installcheck-target-libada
38492 installcheck-target-libada: \
38493 configure-target-libada
38494 @: $(MAKE); $(unstage)
38495 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38496 r=`${PWD_COMMAND}`; export r; \
38497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38498 $(NORMAL_TARGET_EXPORTS) \
38499 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
38500 for flag in $(EXTRA_TARGET_FLAGS); do \
38501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38502 done; \
38503 (cd $(TARGET_SUBDIR)/libada && \
38504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38506 "RANLIB=$${RANLIB}" \
38507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38508 installcheck) \
38509 || exit 1
38511 @endif target-libada
38513 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
38514 maybe-mostlyclean-target-libada:
38515 @if target-libada
38516 maybe-mostlyclean-target-libada: mostlyclean-target-libada
38518 mostlyclean-target-libada:
38519 @: $(MAKE); $(unstage)
38520 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38521 r=`${PWD_COMMAND}`; export r; \
38522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38523 $(NORMAL_TARGET_EXPORTS) \
38524 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
38525 for flag in $(EXTRA_TARGET_FLAGS); do \
38526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38527 done; \
38528 (cd $(TARGET_SUBDIR)/libada && \
38529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38531 "RANLIB=$${RANLIB}" \
38532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38533 mostlyclean) \
38534 || exit 1
38536 @endif target-libada
38538 .PHONY: maybe-clean-target-libada clean-target-libada
38539 maybe-clean-target-libada:
38540 @if target-libada
38541 maybe-clean-target-libada: clean-target-libada
38543 clean-target-libada:
38544 @: $(MAKE); $(unstage)
38545 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38546 r=`${PWD_COMMAND}`; export r; \
38547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38548 $(NORMAL_TARGET_EXPORTS) \
38549 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
38550 for flag in $(EXTRA_TARGET_FLAGS); do \
38551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38552 done; \
38553 (cd $(TARGET_SUBDIR)/libada && \
38554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38556 "RANLIB=$${RANLIB}" \
38557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38558 clean) \
38559 || exit 1
38561 @endif target-libada
38563 .PHONY: maybe-distclean-target-libada distclean-target-libada
38564 maybe-distclean-target-libada:
38565 @if target-libada
38566 maybe-distclean-target-libada: distclean-target-libada
38568 distclean-target-libada:
38569 @: $(MAKE); $(unstage)
38570 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38571 r=`${PWD_COMMAND}`; export r; \
38572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38573 $(NORMAL_TARGET_EXPORTS) \
38574 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
38575 for flag in $(EXTRA_TARGET_FLAGS); do \
38576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38577 done; \
38578 (cd $(TARGET_SUBDIR)/libada && \
38579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38581 "RANLIB=$${RANLIB}" \
38582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38583 distclean) \
38584 || exit 1
38586 @endif target-libada
38588 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
38589 maybe-maintainer-clean-target-libada:
38590 @if target-libada
38591 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
38593 maintainer-clean-target-libada:
38594 @: $(MAKE); $(unstage)
38595 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38596 r=`${PWD_COMMAND}`; export r; \
38597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38598 $(NORMAL_TARGET_EXPORTS) \
38599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
38600 for flag in $(EXTRA_TARGET_FLAGS); do \
38601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38602 done; \
38603 (cd $(TARGET_SUBDIR)/libada && \
38604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38606 "RANLIB=$${RANLIB}" \
38607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38608 maintainer-clean) \
38609 || exit 1
38611 @endif target-libada
38617 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
38618 maybe-configure-target-libgomp:
38619 @if target-libgomp
38620 maybe-configure-target-libgomp: configure-target-libgomp
38621 configure-target-libgomp:
38622 @: $(MAKE); $(unstage)
38623 @r=`${PWD_COMMAND}`; export r; \
38624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38625 echo "Checking multilib configuration for libgomp..."; \
38626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38627 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
38628 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38629 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38630 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
38631 else \
38632 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
38633 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38634 fi; \
38635 else \
38636 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38637 fi; \
38638 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
38639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38640 $(NORMAL_TARGET_EXPORTS) \
38641 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
38642 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
38643 case $(srcdir) in \
38644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38645 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
38646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38647 esac; \
38648 srcdiroption="--srcdir=$${topdir}/libgomp"; \
38649 libsrcdir="$$s/libgomp"; \
38650 rm -f no-such-file || : ; \
38651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38652 $(TARGET_CONFIGARGS) $${srcdiroption} \
38653 || exit 1
38654 @endif target-libgomp
38660 .PHONY: all-target-libgomp maybe-all-target-libgomp
38661 maybe-all-target-libgomp:
38662 @if target-libgomp
38663 TARGET-target-libgomp=all
38664 maybe-all-target-libgomp: all-target-libgomp
38665 all-target-libgomp: configure-target-libgomp
38666 @: $(MAKE); $(unstage)
38667 @r=`${PWD_COMMAND}`; export r; \
38668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38669 $(NORMAL_TARGET_EXPORTS) \
38670 (cd $(TARGET_SUBDIR)/libgomp && \
38671 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
38672 @endif target-libgomp
38678 .PHONY: check-target-libgomp maybe-check-target-libgomp
38679 maybe-check-target-libgomp:
38680 @if target-libgomp
38681 maybe-check-target-libgomp: check-target-libgomp
38683 check-target-libgomp:
38684 @: $(MAKE); $(unstage)
38685 @r=`${PWD_COMMAND}`; export r; \
38686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38687 $(NORMAL_TARGET_EXPORTS) \
38688 (cd $(TARGET_SUBDIR)/libgomp && \
38689 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38691 @endif target-libgomp
38693 .PHONY: install-target-libgomp maybe-install-target-libgomp
38694 maybe-install-target-libgomp:
38695 @if target-libgomp
38696 maybe-install-target-libgomp: install-target-libgomp
38698 install-target-libgomp: installdirs
38699 @: $(MAKE); $(unstage)
38700 @r=`${PWD_COMMAND}`; export r; \
38701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38702 $(NORMAL_TARGET_EXPORTS) \
38703 (cd $(TARGET_SUBDIR)/libgomp && \
38704 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38706 @endif target-libgomp
38708 # Other targets (info, dvi, etc.)
38710 .PHONY: maybe-info-target-libgomp info-target-libgomp
38711 maybe-info-target-libgomp:
38712 @if target-libgomp
38713 maybe-info-target-libgomp: info-target-libgomp
38715 info-target-libgomp: \
38716 configure-target-libgomp
38717 @: $(MAKE); $(unstage)
38718 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38719 r=`${PWD_COMMAND}`; export r; \
38720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38721 $(NORMAL_TARGET_EXPORTS) \
38722 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
38723 for flag in $(EXTRA_TARGET_FLAGS); do \
38724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38725 done; \
38726 (cd $(TARGET_SUBDIR)/libgomp && \
38727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38729 "RANLIB=$${RANLIB}" \
38730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38731 info) \
38732 || exit 1
38734 @endif target-libgomp
38736 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
38737 maybe-dvi-target-libgomp:
38738 @if target-libgomp
38739 maybe-dvi-target-libgomp: dvi-target-libgomp
38741 dvi-target-libgomp: \
38742 configure-target-libgomp
38743 @: $(MAKE); $(unstage)
38744 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38745 r=`${PWD_COMMAND}`; export r; \
38746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38747 $(NORMAL_TARGET_EXPORTS) \
38748 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
38749 for flag in $(EXTRA_TARGET_FLAGS); do \
38750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38751 done; \
38752 (cd $(TARGET_SUBDIR)/libgomp && \
38753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38755 "RANLIB=$${RANLIB}" \
38756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38757 dvi) \
38758 || exit 1
38760 @endif target-libgomp
38762 .PHONY: maybe-html-target-libgomp html-target-libgomp
38763 maybe-html-target-libgomp:
38764 @if target-libgomp
38765 maybe-html-target-libgomp: html-target-libgomp
38767 html-target-libgomp: \
38768 configure-target-libgomp
38769 @: $(MAKE); $(unstage)
38770 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38771 r=`${PWD_COMMAND}`; export r; \
38772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38773 $(NORMAL_TARGET_EXPORTS) \
38774 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
38775 for flag in $(EXTRA_TARGET_FLAGS); do \
38776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38777 done; \
38778 (cd $(TARGET_SUBDIR)/libgomp && \
38779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38781 "RANLIB=$${RANLIB}" \
38782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38783 html) \
38784 || exit 1
38786 @endif target-libgomp
38788 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
38789 maybe-TAGS-target-libgomp:
38790 @if target-libgomp
38791 maybe-TAGS-target-libgomp: TAGS-target-libgomp
38793 TAGS-target-libgomp: \
38794 configure-target-libgomp
38795 @: $(MAKE); $(unstage)
38796 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38797 r=`${PWD_COMMAND}`; export r; \
38798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38799 $(NORMAL_TARGET_EXPORTS) \
38800 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
38801 for flag in $(EXTRA_TARGET_FLAGS); do \
38802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38803 done; \
38804 (cd $(TARGET_SUBDIR)/libgomp && \
38805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38807 "RANLIB=$${RANLIB}" \
38808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38809 TAGS) \
38810 || exit 1
38812 @endif target-libgomp
38814 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
38815 maybe-install-info-target-libgomp:
38816 @if target-libgomp
38817 maybe-install-info-target-libgomp: install-info-target-libgomp
38819 install-info-target-libgomp: \
38820 configure-target-libgomp \
38821 info-target-libgomp
38822 @: $(MAKE); $(unstage)
38823 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38824 r=`${PWD_COMMAND}`; export r; \
38825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38826 $(NORMAL_TARGET_EXPORTS) \
38827 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
38828 for flag in $(EXTRA_TARGET_FLAGS); do \
38829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38830 done; \
38831 (cd $(TARGET_SUBDIR)/libgomp && \
38832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38834 "RANLIB=$${RANLIB}" \
38835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38836 install-info) \
38837 || exit 1
38839 @endif target-libgomp
38841 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
38842 maybe-install-html-target-libgomp:
38843 @if target-libgomp
38844 maybe-install-html-target-libgomp: install-html-target-libgomp
38846 install-html-target-libgomp: \
38847 configure-target-libgomp \
38848 html-target-libgomp
38849 @: $(MAKE); $(unstage)
38850 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38851 r=`${PWD_COMMAND}`; export r; \
38852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38853 $(NORMAL_TARGET_EXPORTS) \
38854 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
38855 for flag in $(EXTRA_TARGET_FLAGS); do \
38856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38857 done; \
38858 (cd $(TARGET_SUBDIR)/libgomp && \
38859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38861 "RANLIB=$${RANLIB}" \
38862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38863 install-html) \
38864 || exit 1
38866 @endif target-libgomp
38868 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
38869 maybe-installcheck-target-libgomp:
38870 @if target-libgomp
38871 maybe-installcheck-target-libgomp: installcheck-target-libgomp
38873 installcheck-target-libgomp: \
38874 configure-target-libgomp
38875 @: $(MAKE); $(unstage)
38876 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38877 r=`${PWD_COMMAND}`; export r; \
38878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38879 $(NORMAL_TARGET_EXPORTS) \
38880 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
38881 for flag in $(EXTRA_TARGET_FLAGS); do \
38882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 done; \
38884 (cd $(TARGET_SUBDIR)/libgomp && \
38885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38887 "RANLIB=$${RANLIB}" \
38888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38889 installcheck) \
38890 || exit 1
38892 @endif target-libgomp
38894 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
38895 maybe-mostlyclean-target-libgomp:
38896 @if target-libgomp
38897 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
38899 mostlyclean-target-libgomp:
38900 @: $(MAKE); $(unstage)
38901 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38902 r=`${PWD_COMMAND}`; export r; \
38903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38904 $(NORMAL_TARGET_EXPORTS) \
38905 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
38906 for flag in $(EXTRA_TARGET_FLAGS); do \
38907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38908 done; \
38909 (cd $(TARGET_SUBDIR)/libgomp && \
38910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38912 "RANLIB=$${RANLIB}" \
38913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38914 mostlyclean) \
38915 || exit 1
38917 @endif target-libgomp
38919 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
38920 maybe-clean-target-libgomp:
38921 @if target-libgomp
38922 maybe-clean-target-libgomp: clean-target-libgomp
38924 clean-target-libgomp:
38925 @: $(MAKE); $(unstage)
38926 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(NORMAL_TARGET_EXPORTS) \
38930 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
38931 for flag in $(EXTRA_TARGET_FLAGS); do \
38932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 done; \
38934 (cd $(TARGET_SUBDIR)/libgomp && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38939 clean) \
38940 || exit 1
38942 @endif target-libgomp
38944 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
38945 maybe-distclean-target-libgomp:
38946 @if target-libgomp
38947 maybe-distclean-target-libgomp: distclean-target-libgomp
38949 distclean-target-libgomp:
38950 @: $(MAKE); $(unstage)
38951 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38952 r=`${PWD_COMMAND}`; export r; \
38953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38954 $(NORMAL_TARGET_EXPORTS) \
38955 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
38956 for flag in $(EXTRA_TARGET_FLAGS); do \
38957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38958 done; \
38959 (cd $(TARGET_SUBDIR)/libgomp && \
38960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38962 "RANLIB=$${RANLIB}" \
38963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38964 distclean) \
38965 || exit 1
38967 @endif target-libgomp
38969 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
38970 maybe-maintainer-clean-target-libgomp:
38971 @if target-libgomp
38972 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
38974 maintainer-clean-target-libgomp:
38975 @: $(MAKE); $(unstage)
38976 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38977 r=`${PWD_COMMAND}`; export r; \
38978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38979 $(NORMAL_TARGET_EXPORTS) \
38980 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
38981 for flag in $(EXTRA_TARGET_FLAGS); do \
38982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38983 done; \
38984 (cd $(TARGET_SUBDIR)/libgomp && \
38985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38987 "RANLIB=$${RANLIB}" \
38988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38989 maintainer-clean) \
38990 || exit 1
38992 @endif target-libgomp
38996 # ----------
38997 # GCC module
38998 # ----------
39000 @if gcc-no-bootstrap
39001 # GCC has some more recursive targets, which trigger the old
39002 # (but still current, until the toplevel bootstrap project
39003 # is finished) compiler bootstrapping rules.
39005 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
39006 .PHONY: $(GCC_STRAP_TARGETS)
39007 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
39008 @r=`${PWD_COMMAND}`; export r; \
39009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39010 $(HOST_EXPORTS) \
39011 echo "Bootstrapping the compiler"; \
39012 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39013 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
39014 @r=`${PWD_COMMAND}`; export r; \
39015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39016 case "$@" in \
39017 *bootstrap4-lean ) \
39018 msg="Comparing stage3 and stage4 of the compiler"; \
39019 compare=compare3-lean ;; \
39020 *bootstrap4 ) \
39021 msg="Comparing stage3 and stage4 of the compiler"; \
39022 compare=compare3 ;; \
39023 *-lean ) \
39024 msg="Comparing stage2 and stage3 of the compiler"; \
39025 compare=compare-lean ;; \
39026 * ) \
39027 msg="Comparing stage2 and stage3 of the compiler"; \
39028 compare=compare ;; \
39029 esac; \
39030 $(HOST_EXPORTS) \
39031 echo "$$msg"; \
39032 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
39033 @r=`${PWD_COMMAND}`; export r; \
39034 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39035 echo "Building runtime libraries"; \
39036 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39038 profiledbootstrap: all-prebootstrap configure-gcc
39039 @r=`${PWD_COMMAND}`; export r; \
39040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39041 $(HOST_EXPORTS) \
39042 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39043 echo "Bootstrapping training compiler"; \
39044 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
39045 @r=`${PWD_COMMAND}`; export r; \
39046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39047 $(HOST_EXPORTS) \
39048 echo "Building feedback based compiler"; \
39049 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
39050 @r=`${PWD_COMMAND}`; export r; \
39051 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39052 echo "Building runtime libraries"; \
39053 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39055 .PHONY: cross
39056 cross: all-build all-gas all-ld
39057 @r=`${PWD_COMMAND}`; export r; \
39058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39059 $(HOST_EXPORTS) \
39060 echo "Building the C and C++ compiler"; \
39061 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
39062 @r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39064 echo "Building runtime libraries"; \
39065 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
39066 @endif gcc-no-bootstrap
39068 @if gcc
39069 .PHONY: check-gcc-c++
39070 check-gcc-c++:
39071 @if [ -f ./gcc/Makefile ] ; then \
39072 r=`${PWD_COMMAND}`; export r; \
39073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39074 $(HOST_EXPORTS) \
39075 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
39076 else \
39077 true; \
39080 .PHONY: check-c++
39081 check-c++: check-target-libstdc++-v3 check-gcc-c++
39083 # Install the gcc headers files, but not the fixed include files,
39084 # which Cygnus is not allowed to distribute. This rule is very
39085 # dependent on the workings of the gcc Makefile.in.
39086 .PHONY: gcc-no-fixedincludes
39087 gcc-no-fixedincludes:
39088 @if [ -f ./gcc/Makefile ]; then \
39089 rm -rf gcc/tmp-include; \
39090 mv gcc/include gcc/tmp-include 2>/dev/null; \
39091 mkdir gcc/include; \
39092 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
39093 touch gcc/stmp-fixinc gcc/include/fixed; \
39094 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
39095 r=`${PWD_COMMAND}`; export r; \
39096 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39097 $(HOST_EXPORTS) \
39098 (cd ./gcc && \
39099 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
39100 rm -rf gcc/include; \
39101 mv gcc/tmp-include gcc/include 2>/dev/null; \
39102 else true; fi
39103 @endif gcc
39105 # ---------------------
39106 # GCC bootstrap support
39107 # ---------------------
39109 # We track the current stage (the one in 'gcc') in the stage_current file.
39110 # stage_last instead tracks the stage that was built last. These targets
39111 # are dummy when toplevel bootstrap is not active.
39113 # While making host and target tools, symlinks to the final stage must be
39114 # there, so $(unstage) should be run at various points. To avoid excessive
39115 # recursive invocations of make, we "inline" them using a variable. These
39116 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
39117 # to avoid warnings from the GNU Make job server.
39119 unstage = :
39120 stage = :
39121 current_stage = ""
39123 @if gcc-bootstrap
39124 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
39125 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
39126 current_stage = "`cat stage_current 2> /dev/null`"
39127 @endif gcc-bootstrap
39129 .PHONY: unstage stage
39130 unstage:
39131 @: $(MAKE); $(unstage)
39132 stage:
39133 @: $(MAKE); $(stage)
39135 # Disable commands for lean bootstrap.
39136 LEAN = false
39138 # We name the build directories for the various stages "stage1-gcc",
39139 # "stage2-gcc","stage3-gcc", etc.
39141 # Since the 'compare' process will fail (on debugging information) if any
39142 # directory names are different, we need to link the gcc directory for
39143 # the previous stage to a constant name ('prev-gcc'), and to make the name of
39144 # the build directories constant as well. For the latter, we use naked names
39145 # like 'gcc', because the scripts in that directory assume it. We use
39146 # mv on platforms where symlinks to directories do not work or are not
39147 # reliable.
39149 # 'touch' doesn't work right on some platforms.
39150 STAMP = echo timestamp >
39152 # Only build the C compiler for stage1, because that is the only one that
39153 # we can guarantee will build with the native compiler, and also it is the
39154 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
39155 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
39156 # overrideable (for a bootstrap build stage1 also builds gcc.info).
39158 STAGE1_CFLAGS=@stage1_cflags@
39159 STAGE1_LANGUAGES=@stage1_languages@
39161 # We only want to compare .o files, so set this!
39162 objext = .o
39164 # Flags to pass to stage2 and later makes.
39165 POSTSTAGE1_FLAGS_TO_PASS = \
39166 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
39167 STAGE_PREFIX=$$r/prev-gcc/ \
39168 CFLAGS="$(BOOT_CFLAGS)" \
39169 LIBCFLAGS="$(BOOT_CFLAGS)" \
39170 LDFLAGS="$(BOOT_LDFLAGS)" \
39171 ADAC="\$$(CC)"
39173 # For stage 1:
39174 # * We force-disable intermodule optimizations, even if
39175 # --enable-intermodule was passed, since the installed compiler probably
39176 # can't handle them. Luckily, autoconf always respects
39177 # the last argument when conflicting --enable arguments are passed.
39178 # * Likewise, we force-disable coverage flags, since the installed compiler
39179 # probably has never heard of them.
39180 # * We build only C (and possibly Ada).
39183 .PHONY: stage1-start stage1-end
39185 stage1-start::
39186 @: $(MAKE); $(stage); \
39187 echo stage1 > stage_current ; \
39188 echo stage1 > stage_last; \
39189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39190 @if bfd
39191 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
39192 mkdir stage1-bfd; \
39193 mv stage1-bfd bfd
39194 @endif bfd
39195 @if opcodes
39196 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
39197 mkdir stage1-opcodes; \
39198 mv stage1-opcodes opcodes
39199 @endif opcodes
39200 @if binutils
39201 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
39202 mkdir stage1-binutils; \
39203 mv stage1-binutils binutils
39204 @endif binutils
39205 @if gas
39206 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
39207 mkdir stage1-gas; \
39208 mv stage1-gas gas
39209 @endif gas
39210 @if gcc
39211 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
39212 mkdir stage1-gcc; \
39213 mv stage1-gcc gcc
39214 @endif gcc
39215 @if intl
39216 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
39217 mkdir stage1-intl; \
39218 mv stage1-intl intl
39219 @endif intl
39220 @if ld
39221 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
39222 mkdir stage1-ld; \
39223 mv stage1-ld ld
39224 @endif ld
39225 @if libcpp
39226 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
39227 mkdir stage1-libcpp; \
39228 mv stage1-libcpp libcpp
39229 @endif libcpp
39230 @if libdecnumber
39231 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
39232 mkdir stage1-libdecnumber; \
39233 mv stage1-libdecnumber libdecnumber
39234 @endif libdecnumber
39235 @if libiberty
39236 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
39237 mkdir stage1-libiberty; \
39238 mv stage1-libiberty libiberty
39239 @endif libiberty
39240 @if zlib
39241 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
39242 mkdir stage1-zlib; \
39243 mv stage1-zlib zlib
39244 @endif zlib
39245 @[ -d stage1-$(TARGET_SUBDIR) ] || \
39246 mkdir stage1-$(TARGET_SUBDIR); \
39247 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
39249 stage1-end::
39250 @if bfd
39251 @if test -d $(HOST_SUBDIR)/bfd ; then \
39252 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
39254 @endif bfd
39255 @if opcodes
39256 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39257 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
39259 @endif opcodes
39260 @if binutils
39261 @if test -d $(HOST_SUBDIR)/binutils ; then \
39262 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
39264 @endif binutils
39265 @if gas
39266 @if test -d $(HOST_SUBDIR)/gas ; then \
39267 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
39269 @endif gas
39270 @if gcc
39271 @if test -d $(HOST_SUBDIR)/gcc ; then \
39272 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
39274 @endif gcc
39275 @if intl
39276 @if test -d $(HOST_SUBDIR)/intl ; then \
39277 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
39279 @endif intl
39280 @if ld
39281 @if test -d $(HOST_SUBDIR)/ld ; then \
39282 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
39284 @endif ld
39285 @if libcpp
39286 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39287 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
39289 @endif libcpp
39290 @if libdecnumber
39291 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39292 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
39294 @endif libdecnumber
39295 @if libiberty
39296 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39297 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
39299 @endif libiberty
39300 @if zlib
39301 @if test -d $(HOST_SUBDIR)/zlib ; then \
39302 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
39304 @endif zlib
39305 @if test -d $(TARGET_SUBDIR) ; then \
39306 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
39308 rm -f stage_current
39310 # Bubble a bugfix through all the stages up to stage 1. They are
39311 # remade, but not reconfigured. The next stage (if any) will not be
39312 # reconfigured as well.
39313 .PHONY: stage1-bubble
39314 stage1-bubble::
39315 @r=`${PWD_COMMAND}`; export r; \
39316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39317 if test -f stage1-lean ; then \
39318 echo Skipping rebuild of stage1 ; \
39319 else \
39320 $(MAKE) stage1-start; \
39321 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
39324 .PHONY: all-stage1 clean-stage1
39325 do-clean: clean-stage1
39327 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39328 # only possibility, but now it conflicts with no-bootstrap rules
39329 @if gcc-bootstrap
39334 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39336 .PHONY: distclean-stage1
39337 distclean-stage1::
39338 @: $(MAKE); $(stage)
39339 rm -rf stage1-*
39342 @endif gcc-bootstrap
39345 .PHONY: stage2-start stage2-end
39347 stage2-start::
39348 @: $(MAKE); $(stage); \
39349 echo stage2 > stage_current ; \
39350 echo stage2 > stage_last; \
39351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39352 @if bfd
39353 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
39354 mkdir stage2-bfd; \
39355 mv stage2-bfd bfd ; \
39356 mv stage1-bfd prev-bfd || test -f stage1-lean
39357 @endif bfd
39358 @if opcodes
39359 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
39360 mkdir stage2-opcodes; \
39361 mv stage2-opcodes opcodes ; \
39362 mv stage1-opcodes prev-opcodes || test -f stage1-lean
39363 @endif opcodes
39364 @if binutils
39365 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
39366 mkdir stage2-binutils; \
39367 mv stage2-binutils binutils ; \
39368 mv stage1-binutils prev-binutils || test -f stage1-lean
39369 @endif binutils
39370 @if gas
39371 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
39372 mkdir stage2-gas; \
39373 mv stage2-gas gas ; \
39374 mv stage1-gas prev-gas || test -f stage1-lean
39375 @endif gas
39376 @if gcc
39377 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
39378 mkdir stage2-gcc; \
39379 mv stage2-gcc gcc ; \
39380 mv stage1-gcc prev-gcc || test -f stage1-lean
39381 @endif gcc
39382 @if intl
39383 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
39384 mkdir stage2-intl; \
39385 mv stage2-intl intl ; \
39386 mv stage1-intl prev-intl || test -f stage1-lean
39387 @endif intl
39388 @if ld
39389 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
39390 mkdir stage2-ld; \
39391 mv stage2-ld ld ; \
39392 mv stage1-ld prev-ld || test -f stage1-lean
39393 @endif ld
39394 @if libcpp
39395 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
39396 mkdir stage2-libcpp; \
39397 mv stage2-libcpp libcpp ; \
39398 mv stage1-libcpp prev-libcpp || test -f stage1-lean
39399 @endif libcpp
39400 @if libdecnumber
39401 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
39402 mkdir stage2-libdecnumber; \
39403 mv stage2-libdecnumber libdecnumber ; \
39404 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
39405 @endif libdecnumber
39406 @if libiberty
39407 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
39408 mkdir stage2-libiberty; \
39409 mv stage2-libiberty libiberty ; \
39410 mv stage1-libiberty prev-libiberty || test -f stage1-lean
39411 @endif libiberty
39412 @if zlib
39413 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
39414 mkdir stage2-zlib; \
39415 mv stage2-zlib zlib ; \
39416 mv stage1-zlib prev-zlib || test -f stage1-lean
39417 @endif zlib
39418 @[ -d stage2-$(TARGET_SUBDIR) ] || \
39419 mkdir stage2-$(TARGET_SUBDIR); \
39420 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39421 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
39423 stage2-end::
39424 @if bfd
39425 @if test -d $(HOST_SUBDIR)/bfd ; then \
39426 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
39427 mv prev-bfd stage1-bfd ; : ; \
39429 @endif bfd
39430 @if opcodes
39431 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39432 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
39433 mv prev-opcodes stage1-opcodes ; : ; \
39435 @endif opcodes
39436 @if binutils
39437 @if test -d $(HOST_SUBDIR)/binutils ; then \
39438 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
39439 mv prev-binutils stage1-binutils ; : ; \
39441 @endif binutils
39442 @if gas
39443 @if test -d $(HOST_SUBDIR)/gas ; then \
39444 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
39445 mv prev-gas stage1-gas ; : ; \
39447 @endif gas
39448 @if gcc
39449 @if test -d $(HOST_SUBDIR)/gcc ; then \
39450 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
39451 mv prev-gcc stage1-gcc ; : ; \
39453 @endif gcc
39454 @if intl
39455 @if test -d $(HOST_SUBDIR)/intl ; then \
39456 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
39457 mv prev-intl stage1-intl ; : ; \
39459 @endif intl
39460 @if ld
39461 @if test -d $(HOST_SUBDIR)/ld ; then \
39462 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
39463 mv prev-ld stage1-ld ; : ; \
39465 @endif ld
39466 @if libcpp
39467 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39468 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
39469 mv prev-libcpp stage1-libcpp ; : ; \
39471 @endif libcpp
39472 @if libdecnumber
39473 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39474 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
39475 mv prev-libdecnumber stage1-libdecnumber ; : ; \
39477 @endif libdecnumber
39478 @if libiberty
39479 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39480 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
39481 mv prev-libiberty stage1-libiberty ; : ; \
39483 @endif libiberty
39484 @if zlib
39485 @if test -d $(HOST_SUBDIR)/zlib ; then \
39486 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
39487 mv prev-zlib stage1-zlib ; : ; \
39489 @endif zlib
39490 @if test -d $(TARGET_SUBDIR) ; then \
39491 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
39492 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
39494 rm -f stage_current
39496 # Bubble a bugfix through all the stages up to stage 2. They are
39497 # remade, but not reconfigured. The next stage (if any) will not be
39498 # reconfigured as well.
39499 .PHONY: stage2-bubble
39500 stage2-bubble:: stage1-bubble
39501 @r=`${PWD_COMMAND}`; export r; \
39502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39503 if test -f stage2-lean || test -f stage1-lean ; then \
39504 echo Skipping rebuild of stage2 ; \
39505 else \
39506 $(MAKE) stage2-start; \
39507 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
39510 .PHONY: all-stage2 clean-stage2
39511 do-clean: clean-stage2
39513 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39514 # only possibility, but now it conflicts with no-bootstrap rules
39515 @if gcc-bootstrap
39519 .PHONY: bootstrap2 bootstrap2-lean
39520 bootstrap2:
39521 echo stage2 > stage_final
39522 @r=`${PWD_COMMAND}`; export r; \
39523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39524 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
39525 @: $(MAKE); $(unstage)
39526 @r=`${PWD_COMMAND}`; export r; \
39527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39528 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39530 bootstrap2-lean:
39531 echo stage2 > stage_final
39532 @r=`${PWD_COMMAND}`; export r; \
39533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39534 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
39535 @: $(MAKE); $(unstage)
39536 @r=`${PWD_COMMAND}`; export r; \
39537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39538 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39541 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39542 distclean-stage1:: distclean-stage2
39543 .PHONY: distclean-stage2
39544 distclean-stage2::
39545 @: $(MAKE); $(stage)
39546 rm -rf stage2-*
39549 @endif gcc-bootstrap
39552 .PHONY: stage3-start stage3-end
39554 stage3-start::
39555 @: $(MAKE); $(stage); \
39556 echo stage3 > stage_current ; \
39557 echo stage3 > stage_last; \
39558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39559 @if bfd
39560 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
39561 mkdir stage3-bfd; \
39562 mv stage3-bfd bfd ; \
39563 mv stage2-bfd prev-bfd || test -f stage2-lean
39564 @endif bfd
39565 @if opcodes
39566 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
39567 mkdir stage3-opcodes; \
39568 mv stage3-opcodes opcodes ; \
39569 mv stage2-opcodes prev-opcodes || test -f stage2-lean
39570 @endif opcodes
39571 @if binutils
39572 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
39573 mkdir stage3-binutils; \
39574 mv stage3-binutils binutils ; \
39575 mv stage2-binutils prev-binutils || test -f stage2-lean
39576 @endif binutils
39577 @if gas
39578 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
39579 mkdir stage3-gas; \
39580 mv stage3-gas gas ; \
39581 mv stage2-gas prev-gas || test -f stage2-lean
39582 @endif gas
39583 @if gcc
39584 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
39585 mkdir stage3-gcc; \
39586 mv stage3-gcc gcc ; \
39587 mv stage2-gcc prev-gcc || test -f stage2-lean
39588 @endif gcc
39589 @if intl
39590 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
39591 mkdir stage3-intl; \
39592 mv stage3-intl intl ; \
39593 mv stage2-intl prev-intl || test -f stage2-lean
39594 @endif intl
39595 @if ld
39596 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
39597 mkdir stage3-ld; \
39598 mv stage3-ld ld ; \
39599 mv stage2-ld prev-ld || test -f stage2-lean
39600 @endif ld
39601 @if libcpp
39602 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
39603 mkdir stage3-libcpp; \
39604 mv stage3-libcpp libcpp ; \
39605 mv stage2-libcpp prev-libcpp || test -f stage2-lean
39606 @endif libcpp
39607 @if libdecnumber
39608 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
39609 mkdir stage3-libdecnumber; \
39610 mv stage3-libdecnumber libdecnumber ; \
39611 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
39612 @endif libdecnumber
39613 @if libiberty
39614 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
39615 mkdir stage3-libiberty; \
39616 mv stage3-libiberty libiberty ; \
39617 mv stage2-libiberty prev-libiberty || test -f stage2-lean
39618 @endif libiberty
39619 @if zlib
39620 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
39621 mkdir stage3-zlib; \
39622 mv stage3-zlib zlib ; \
39623 mv stage2-zlib prev-zlib || test -f stage2-lean
39624 @endif zlib
39625 @[ -d stage3-$(TARGET_SUBDIR) ] || \
39626 mkdir stage3-$(TARGET_SUBDIR); \
39627 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39628 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
39630 stage3-end::
39631 @if bfd
39632 @if test -d $(HOST_SUBDIR)/bfd ; then \
39633 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
39634 mv prev-bfd stage2-bfd ; : ; \
39636 @endif bfd
39637 @if opcodes
39638 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39639 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
39640 mv prev-opcodes stage2-opcodes ; : ; \
39642 @endif opcodes
39643 @if binutils
39644 @if test -d $(HOST_SUBDIR)/binutils ; then \
39645 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
39646 mv prev-binutils stage2-binutils ; : ; \
39648 @endif binutils
39649 @if gas
39650 @if test -d $(HOST_SUBDIR)/gas ; then \
39651 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
39652 mv prev-gas stage2-gas ; : ; \
39654 @endif gas
39655 @if gcc
39656 @if test -d $(HOST_SUBDIR)/gcc ; then \
39657 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
39658 mv prev-gcc stage2-gcc ; : ; \
39660 @endif gcc
39661 @if intl
39662 @if test -d $(HOST_SUBDIR)/intl ; then \
39663 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
39664 mv prev-intl stage2-intl ; : ; \
39666 @endif intl
39667 @if ld
39668 @if test -d $(HOST_SUBDIR)/ld ; then \
39669 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
39670 mv prev-ld stage2-ld ; : ; \
39672 @endif ld
39673 @if libcpp
39674 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39675 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
39676 mv prev-libcpp stage2-libcpp ; : ; \
39678 @endif libcpp
39679 @if libdecnumber
39680 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39681 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
39682 mv prev-libdecnumber stage2-libdecnumber ; : ; \
39684 @endif libdecnumber
39685 @if libiberty
39686 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39687 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
39688 mv prev-libiberty stage2-libiberty ; : ; \
39690 @endif libiberty
39691 @if zlib
39692 @if test -d $(HOST_SUBDIR)/zlib ; then \
39693 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
39694 mv prev-zlib stage2-zlib ; : ; \
39696 @endif zlib
39697 @if test -d $(TARGET_SUBDIR) ; then \
39698 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
39699 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
39701 rm -f stage_current
39703 # Bubble a bugfix through all the stages up to stage 3. They are
39704 # remade, but not reconfigured. The next stage (if any) will not be
39705 # reconfigured as well.
39706 .PHONY: stage3-bubble
39707 stage3-bubble:: stage2-bubble
39708 @r=`${PWD_COMMAND}`; export r; \
39709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39710 if test -f stage3-lean || test -f stage2-lean ; then \
39711 echo Skipping rebuild of stage3 ; \
39712 else \
39713 $(MAKE) stage3-start; \
39714 if $(LEAN); then \
39715 rm -rf stage1-* ; \
39716 $(STAMP) stage1-lean ; \
39717 fi; \
39718 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
39720 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
39722 .PHONY: all-stage3 clean-stage3
39723 do-clean: clean-stage3
39725 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39726 # only possibility, but now it conflicts with no-bootstrap rules
39727 @if gcc-bootstrap
39729 compare:
39730 @r=`${PWD_COMMAND}`; export r; \
39731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39732 if test -f stage2-lean; then \
39733 echo Cannot compare object files as stage 2 was deleted. ; \
39734 exit 0 ; \
39735 fi; \
39736 : $(MAKE); $(stage); \
39737 rm -f .bad_compare ; \
39738 echo Comparing stages 2 and 3 ; \
39739 cd stage3-gcc; \
39740 files=`find . -name "*$(objext)" -print` ; \
39741 cd .. ; \
39742 for file in $${files} ; do \
39743 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
39744 @do_compare@ > /dev/null 2>&1; \
39745 if test $$? -eq 1; then \
39746 case $$file in \
39747 ./cc*-checksum$(objext) | ./libgcc/* ) \
39748 echo warning: $$file differs ;; \
39749 *) \
39750 echo $$file differs >> .bad_compare ;; \
39751 esac ; \
39752 fi ; \
39753 done ; \
39754 if [ -f .bad_compare ]; then \
39755 echo "Bootstrap comparison failure!"; \
39756 cat .bad_compare; \
39757 exit 1; \
39758 else \
39759 echo Comparison successful.; \
39760 fi ; \
39761 $(STAMP) compare
39762 if $(LEAN); then \
39763 rm -rf stage2-*; \
39764 $(STAMP) stage2-lean; \
39769 .PHONY: bootstrap bootstrap-lean
39770 bootstrap:
39771 echo stage3 > stage_final
39772 @r=`${PWD_COMMAND}`; export r; \
39773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39774 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
39775 @: $(MAKE); $(unstage)
39776 @r=`${PWD_COMMAND}`; export r; \
39777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39778 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39780 bootstrap-lean:
39781 echo stage3 > stage_final
39782 @r=`${PWD_COMMAND}`; export r; \
39783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39784 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
39785 @: $(MAKE); $(unstage)
39786 @r=`${PWD_COMMAND}`; export r; \
39787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39788 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39791 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39792 distclean-stage2:: distclean-stage3
39793 .PHONY: distclean-stage3
39794 distclean-stage3::
39795 @: $(MAKE); $(stage)
39796 rm -rf stage3-* compare
39799 .PHONY: cleanstrap
39800 cleanstrap: distclean bootstrap
39802 @endif gcc-bootstrap
39805 .PHONY: stage4-start stage4-end
39807 stage4-start::
39808 @: $(MAKE); $(stage); \
39809 echo stage4 > stage_current ; \
39810 echo stage4 > stage_last; \
39811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39812 @if bfd
39813 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
39814 mkdir stage4-bfd; \
39815 mv stage4-bfd bfd ; \
39816 mv stage3-bfd prev-bfd || test -f stage3-lean
39817 @endif bfd
39818 @if opcodes
39819 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
39820 mkdir stage4-opcodes; \
39821 mv stage4-opcodes opcodes ; \
39822 mv stage3-opcodes prev-opcodes || test -f stage3-lean
39823 @endif opcodes
39824 @if binutils
39825 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
39826 mkdir stage4-binutils; \
39827 mv stage4-binutils binutils ; \
39828 mv stage3-binutils prev-binutils || test -f stage3-lean
39829 @endif binutils
39830 @if gas
39831 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
39832 mkdir stage4-gas; \
39833 mv stage4-gas gas ; \
39834 mv stage3-gas prev-gas || test -f stage3-lean
39835 @endif gas
39836 @if gcc
39837 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
39838 mkdir stage4-gcc; \
39839 mv stage4-gcc gcc ; \
39840 mv stage3-gcc prev-gcc || test -f stage3-lean
39841 @endif gcc
39842 @if intl
39843 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
39844 mkdir stage4-intl; \
39845 mv stage4-intl intl ; \
39846 mv stage3-intl prev-intl || test -f stage3-lean
39847 @endif intl
39848 @if ld
39849 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
39850 mkdir stage4-ld; \
39851 mv stage4-ld ld ; \
39852 mv stage3-ld prev-ld || test -f stage3-lean
39853 @endif ld
39854 @if libcpp
39855 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
39856 mkdir stage4-libcpp; \
39857 mv stage4-libcpp libcpp ; \
39858 mv stage3-libcpp prev-libcpp || test -f stage3-lean
39859 @endif libcpp
39860 @if libdecnumber
39861 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
39862 mkdir stage4-libdecnumber; \
39863 mv stage4-libdecnumber libdecnumber ; \
39864 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
39865 @endif libdecnumber
39866 @if libiberty
39867 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
39868 mkdir stage4-libiberty; \
39869 mv stage4-libiberty libiberty ; \
39870 mv stage3-libiberty prev-libiberty || test -f stage3-lean
39871 @endif libiberty
39872 @if zlib
39873 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
39874 mkdir stage4-zlib; \
39875 mv stage4-zlib zlib ; \
39876 mv stage3-zlib prev-zlib || test -f stage3-lean
39877 @endif zlib
39878 @[ -d stage4-$(TARGET_SUBDIR) ] || \
39879 mkdir stage4-$(TARGET_SUBDIR); \
39880 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39881 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
39883 stage4-end::
39884 @if bfd
39885 @if test -d $(HOST_SUBDIR)/bfd ; then \
39886 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
39887 mv prev-bfd stage3-bfd ; : ; \
39889 @endif bfd
39890 @if opcodes
39891 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39892 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
39893 mv prev-opcodes stage3-opcodes ; : ; \
39895 @endif opcodes
39896 @if binutils
39897 @if test -d $(HOST_SUBDIR)/binutils ; then \
39898 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
39899 mv prev-binutils stage3-binutils ; : ; \
39901 @endif binutils
39902 @if gas
39903 @if test -d $(HOST_SUBDIR)/gas ; then \
39904 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
39905 mv prev-gas stage3-gas ; : ; \
39907 @endif gas
39908 @if gcc
39909 @if test -d $(HOST_SUBDIR)/gcc ; then \
39910 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
39911 mv prev-gcc stage3-gcc ; : ; \
39913 @endif gcc
39914 @if intl
39915 @if test -d $(HOST_SUBDIR)/intl ; then \
39916 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
39917 mv prev-intl stage3-intl ; : ; \
39919 @endif intl
39920 @if ld
39921 @if test -d $(HOST_SUBDIR)/ld ; then \
39922 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
39923 mv prev-ld stage3-ld ; : ; \
39925 @endif ld
39926 @if libcpp
39927 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39928 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
39929 mv prev-libcpp stage3-libcpp ; : ; \
39931 @endif libcpp
39932 @if libdecnumber
39933 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39934 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
39935 mv prev-libdecnumber stage3-libdecnumber ; : ; \
39937 @endif libdecnumber
39938 @if libiberty
39939 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39940 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
39941 mv prev-libiberty stage3-libiberty ; : ; \
39943 @endif libiberty
39944 @if zlib
39945 @if test -d $(HOST_SUBDIR)/zlib ; then \
39946 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
39947 mv prev-zlib stage3-zlib ; : ; \
39949 @endif zlib
39950 @if test -d $(TARGET_SUBDIR) ; then \
39951 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
39952 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
39954 rm -f stage_current
39956 # Bubble a bugfix through all the stages up to stage 4. They are
39957 # remade, but not reconfigured. The next stage (if any) will not be
39958 # reconfigured as well.
39959 .PHONY: stage4-bubble
39960 stage4-bubble:: stage3-bubble
39961 @r=`${PWD_COMMAND}`; export r; \
39962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39963 if test -f stage4-lean || test -f stage3-lean ; then \
39964 echo Skipping rebuild of stage4 ; \
39965 else \
39966 $(MAKE) stage4-start; \
39967 if $(LEAN); then \
39968 rm -rf stage2-* ; \
39969 $(STAMP) stage2-lean ; \
39970 fi; \
39971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
39973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
39975 .PHONY: all-stage4 clean-stage4
39976 do-clean: clean-stage4
39978 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39979 # only possibility, but now it conflicts with no-bootstrap rules
39980 @if gcc-bootstrap
39982 compare3:
39983 @r=`${PWD_COMMAND}`; export r; \
39984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39985 if test -f stage3-lean; then \
39986 echo Cannot compare object files as stage 3 was deleted. ; \
39987 exit 0 ; \
39988 fi; \
39989 : $(MAKE); $(stage); \
39990 rm -f .bad_compare ; \
39991 echo Comparing stages 3 and 4 ; \
39992 cd stage4-gcc; \
39993 files=`find . -name "*$(objext)" -print` ; \
39994 cd .. ; \
39995 for file in $${files} ; do \
39996 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
39997 @do_compare@ > /dev/null 2>&1; \
39998 if test $$? -eq 1; then \
39999 case $$file in \
40000 ./cc*-checksum$(objext) | ./libgcc/* ) \
40001 echo warning: $$file differs ;; \
40002 *) \
40003 echo $$file differs >> .bad_compare ;; \
40004 esac ; \
40005 fi ; \
40006 done ; \
40007 if [ -f .bad_compare ]; then \
40008 echo "Bootstrap comparison failure!"; \
40009 cat .bad_compare; \
40010 exit 1; \
40011 else \
40012 echo Comparison successful.; \
40013 fi ; \
40014 $(STAMP) compare3
40015 if $(LEAN); then \
40016 rm -rf stage3-*; \
40017 $(STAMP) stage3-lean; \
40022 .PHONY: bootstrap4 bootstrap4-lean
40023 bootstrap4:
40024 echo stage4 > stage_final
40025 @r=`${PWD_COMMAND}`; export r; \
40026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40027 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
40028 @: $(MAKE); $(unstage)
40029 @r=`${PWD_COMMAND}`; export r; \
40030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40031 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40033 bootstrap4-lean:
40034 echo stage4 > stage_final
40035 @r=`${PWD_COMMAND}`; export r; \
40036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40037 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
40038 @: $(MAKE); $(unstage)
40039 @r=`${PWD_COMMAND}`; export r; \
40040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40041 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40044 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40045 distclean-stage3:: distclean-stage4
40046 .PHONY: distclean-stage4
40047 distclean-stage4::
40048 @: $(MAKE); $(stage)
40049 rm -rf stage4-* compare3
40052 @endif gcc-bootstrap
40055 .PHONY: stageprofile-start stageprofile-end
40057 stageprofile-start::
40058 @: $(MAKE); $(stage); \
40059 echo stageprofile > stage_current ; \
40060 echo stageprofile > stage_last; \
40061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40062 @if bfd
40063 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
40064 mkdir stageprofile-bfd; \
40065 mv stageprofile-bfd bfd ; \
40066 mv stage1-bfd prev-bfd || test -f stage1-lean
40067 @endif bfd
40068 @if opcodes
40069 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
40070 mkdir stageprofile-opcodes; \
40071 mv stageprofile-opcodes opcodes ; \
40072 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40073 @endif opcodes
40074 @if binutils
40075 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
40076 mkdir stageprofile-binutils; \
40077 mv stageprofile-binutils binutils ; \
40078 mv stage1-binutils prev-binutils || test -f stage1-lean
40079 @endif binutils
40080 @if gas
40081 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
40082 mkdir stageprofile-gas; \
40083 mv stageprofile-gas gas ; \
40084 mv stage1-gas prev-gas || test -f stage1-lean
40085 @endif gas
40086 @if gcc
40087 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
40088 mkdir stageprofile-gcc; \
40089 mv stageprofile-gcc gcc ; \
40090 mv stage1-gcc prev-gcc || test -f stage1-lean
40091 @endif gcc
40092 @if intl
40093 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
40094 mkdir stageprofile-intl; \
40095 mv stageprofile-intl intl ; \
40096 mv stage1-intl prev-intl || test -f stage1-lean
40097 @endif intl
40098 @if ld
40099 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
40100 mkdir stageprofile-ld; \
40101 mv stageprofile-ld ld ; \
40102 mv stage1-ld prev-ld || test -f stage1-lean
40103 @endif ld
40104 @if libcpp
40105 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
40106 mkdir stageprofile-libcpp; \
40107 mv stageprofile-libcpp libcpp ; \
40108 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40109 @endif libcpp
40110 @if libdecnumber
40111 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
40112 mkdir stageprofile-libdecnumber; \
40113 mv stageprofile-libdecnumber libdecnumber ; \
40114 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40115 @endif libdecnumber
40116 @if libiberty
40117 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
40118 mkdir stageprofile-libiberty; \
40119 mv stageprofile-libiberty libiberty ; \
40120 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40121 @endif libiberty
40122 @if zlib
40123 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
40124 mkdir stageprofile-zlib; \
40125 mv stageprofile-zlib zlib ; \
40126 mv stage1-zlib prev-zlib || test -f stage1-lean
40127 @endif zlib
40128 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
40129 mkdir stageprofile-$(TARGET_SUBDIR); \
40130 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40131 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40133 stageprofile-end::
40134 @if bfd
40135 @if test -d $(HOST_SUBDIR)/bfd ; then \
40136 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
40137 mv prev-bfd stage1-bfd ; : ; \
40139 @endif bfd
40140 @if opcodes
40141 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40142 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
40143 mv prev-opcodes stage1-opcodes ; : ; \
40145 @endif opcodes
40146 @if binutils
40147 @if test -d $(HOST_SUBDIR)/binutils ; then \
40148 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
40149 mv prev-binutils stage1-binutils ; : ; \
40151 @endif binutils
40152 @if gas
40153 @if test -d $(HOST_SUBDIR)/gas ; then \
40154 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
40155 mv prev-gas stage1-gas ; : ; \
40157 @endif gas
40158 @if gcc
40159 @if test -d $(HOST_SUBDIR)/gcc ; then \
40160 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
40161 mv prev-gcc stage1-gcc ; : ; \
40163 @endif gcc
40164 @if intl
40165 @if test -d $(HOST_SUBDIR)/intl ; then \
40166 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
40167 mv prev-intl stage1-intl ; : ; \
40169 @endif intl
40170 @if ld
40171 @if test -d $(HOST_SUBDIR)/ld ; then \
40172 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
40173 mv prev-ld stage1-ld ; : ; \
40175 @endif ld
40176 @if libcpp
40177 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40178 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
40179 mv prev-libcpp stage1-libcpp ; : ; \
40181 @endif libcpp
40182 @if libdecnumber
40183 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40184 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
40185 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40187 @endif libdecnumber
40188 @if libiberty
40189 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40190 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
40191 mv prev-libiberty stage1-libiberty ; : ; \
40193 @endif libiberty
40194 @if zlib
40195 @if test -d $(HOST_SUBDIR)/zlib ; then \
40196 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
40197 mv prev-zlib stage1-zlib ; : ; \
40199 @endif zlib
40200 @if test -d $(TARGET_SUBDIR) ; then \
40201 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
40202 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40204 rm -f stage_current
40206 # Bubble a bugfix through all the stages up to stage profile. They are
40207 # remade, but not reconfigured. The next stage (if any) will not be
40208 # reconfigured as well.
40209 .PHONY: stageprofile-bubble
40210 stageprofile-bubble:: stage1-bubble
40211 @r=`${PWD_COMMAND}`; export r; \
40212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40213 if test -f stageprofile-lean || test -f stage1-lean ; then \
40214 echo Skipping rebuild of stageprofile ; \
40215 else \
40216 $(MAKE) stageprofile-start; \
40217 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
40220 .PHONY: all-stageprofile clean-stageprofile
40221 do-clean: clean-stageprofile
40223 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40224 # only possibility, but now it conflicts with no-bootstrap rules
40225 @if gcc-bootstrap
40230 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40231 distclean-stage1:: distclean-stageprofile
40232 .PHONY: distclean-stageprofile
40233 distclean-stageprofile::
40234 @: $(MAKE); $(stage)
40235 rm -rf stageprofile-*
40238 @endif gcc-bootstrap
40241 .PHONY: stagefeedback-start stagefeedback-end
40243 stagefeedback-start::
40244 @: $(MAKE); $(stage); \
40245 echo stagefeedback > stage_current ; \
40246 echo stagefeedback > stage_last; \
40247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40248 @if bfd
40249 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
40250 mkdir stagefeedback-bfd; \
40251 mv stagefeedback-bfd bfd ; \
40252 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
40253 @endif bfd
40254 @if opcodes
40255 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
40256 mkdir stagefeedback-opcodes; \
40257 mv stagefeedback-opcodes opcodes ; \
40258 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
40259 @endif opcodes
40260 @if binutils
40261 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
40262 mkdir stagefeedback-binutils; \
40263 mv stagefeedback-binutils binutils ; \
40264 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
40265 @endif binutils
40266 @if gas
40267 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
40268 mkdir stagefeedback-gas; \
40269 mv stagefeedback-gas gas ; \
40270 mv stageprofile-gas prev-gas || test -f stageprofile-lean
40271 @endif gas
40272 @if gcc
40273 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
40274 mkdir stagefeedback-gcc; \
40275 mv stagefeedback-gcc gcc ; \
40276 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
40277 @endif gcc
40278 @if intl
40279 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
40280 mkdir stagefeedback-intl; \
40281 mv stagefeedback-intl intl ; \
40282 mv stageprofile-intl prev-intl || test -f stageprofile-lean
40283 @endif intl
40284 @if ld
40285 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
40286 mkdir stagefeedback-ld; \
40287 mv stagefeedback-ld ld ; \
40288 mv stageprofile-ld prev-ld || test -f stageprofile-lean
40289 @endif ld
40290 @if libcpp
40291 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
40292 mkdir stagefeedback-libcpp; \
40293 mv stagefeedback-libcpp libcpp ; \
40294 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
40295 @endif libcpp
40296 @if libdecnumber
40297 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
40298 mkdir stagefeedback-libdecnumber; \
40299 mv stagefeedback-libdecnumber libdecnumber ; \
40300 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
40301 @endif libdecnumber
40302 @if libiberty
40303 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
40304 mkdir stagefeedback-libiberty; \
40305 mv stagefeedback-libiberty libiberty ; \
40306 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
40307 @endif libiberty
40308 @if zlib
40309 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
40310 mkdir stagefeedback-zlib; \
40311 mv stagefeedback-zlib zlib ; \
40312 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
40313 @endif zlib
40314 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
40315 mkdir stagefeedback-$(TARGET_SUBDIR); \
40316 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40317 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
40319 stagefeedback-end::
40320 @if bfd
40321 @if test -d $(HOST_SUBDIR)/bfd ; then \
40322 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
40323 mv prev-bfd stageprofile-bfd ; : ; \
40325 @endif bfd
40326 @if opcodes
40327 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40328 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
40329 mv prev-opcodes stageprofile-opcodes ; : ; \
40331 @endif opcodes
40332 @if binutils
40333 @if test -d $(HOST_SUBDIR)/binutils ; then \
40334 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
40335 mv prev-binutils stageprofile-binutils ; : ; \
40337 @endif binutils
40338 @if gas
40339 @if test -d $(HOST_SUBDIR)/gas ; then \
40340 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
40341 mv prev-gas stageprofile-gas ; : ; \
40343 @endif gas
40344 @if gcc
40345 @if test -d $(HOST_SUBDIR)/gcc ; then \
40346 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
40347 mv prev-gcc stageprofile-gcc ; : ; \
40349 @endif gcc
40350 @if intl
40351 @if test -d $(HOST_SUBDIR)/intl ; then \
40352 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
40353 mv prev-intl stageprofile-intl ; : ; \
40355 @endif intl
40356 @if ld
40357 @if test -d $(HOST_SUBDIR)/ld ; then \
40358 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
40359 mv prev-ld stageprofile-ld ; : ; \
40361 @endif ld
40362 @if libcpp
40363 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40364 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
40365 mv prev-libcpp stageprofile-libcpp ; : ; \
40367 @endif libcpp
40368 @if libdecnumber
40369 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40370 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
40371 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
40373 @endif libdecnumber
40374 @if libiberty
40375 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40376 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
40377 mv prev-libiberty stageprofile-libiberty ; : ; \
40379 @endif libiberty
40380 @if zlib
40381 @if test -d $(HOST_SUBDIR)/zlib ; then \
40382 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
40383 mv prev-zlib stageprofile-zlib ; : ; \
40385 @endif zlib
40386 @if test -d $(TARGET_SUBDIR) ; then \
40387 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
40388 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
40390 rm -f stage_current
40392 # Bubble a bugfix through all the stages up to stage feedback. They are
40393 # remade, but not reconfigured. The next stage (if any) will not be
40394 # reconfigured as well.
40395 .PHONY: stagefeedback-bubble
40396 stagefeedback-bubble:: stageprofile-bubble
40397 @r=`${PWD_COMMAND}`; export r; \
40398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40399 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
40400 echo Skipping rebuild of stagefeedback ; \
40401 else \
40402 $(MAKE) stagefeedback-start; \
40403 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
40406 .PHONY: all-stagefeedback clean-stagefeedback
40407 do-clean: clean-stagefeedback
40409 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40410 # only possibility, but now it conflicts with no-bootstrap rules
40411 @if gcc-bootstrap
40415 .PHONY: profiledbootstrap profiledbootstrap-lean
40416 profiledbootstrap:
40417 echo stagefeedback > stage_final
40418 @r=`${PWD_COMMAND}`; export r; \
40419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40420 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
40421 @: $(MAKE); $(unstage)
40422 @r=`${PWD_COMMAND}`; export r; \
40423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40424 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40426 profiledbootstrap-lean:
40427 echo stagefeedback > stage_final
40428 @r=`${PWD_COMMAND}`; export r; \
40429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40430 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
40431 @: $(MAKE); $(unstage)
40432 @r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40437 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40438 distclean-stageprofile:: distclean-stagefeedback
40439 .PHONY: distclean-stagefeedback
40440 distclean-stagefeedback::
40441 @: $(MAKE); $(stage)
40442 rm -rf stagefeedback-*
40445 @endif gcc-bootstrap
40449 stageprofile-end::
40450 $(MAKE) distclean-stagefeedback
40452 stagefeedback-start::
40453 @r=`${PWD_COMMAND}`; export r; \
40454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40455 for i in prev-*; do \
40456 j=`echo $$i | sed s/^prev-//` ; \
40457 cd $$r/$$i && \
40458 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
40459 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
40460 done
40462 @if gcc-bootstrap
40463 do-distclean: distclean-stage1
40465 # Provide a GCC build when we're building target libraries. This does
40466 # not work as a dependency, just as the minimum necessary to avoid errors.
40467 stage_last:
40468 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
40469 @endif gcc-bootstrap
40471 .PHONY: restrap
40472 restrap:
40473 @: $(MAKE); $(stage)
40474 rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback
40475 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
40477 # --------------------------------------
40478 # Dependencies between different modules
40479 # --------------------------------------
40481 # Generic dependencies for target modules on host stuff, especially gcc
40482 @if gcc-bootstrap
40483 configure-target-libstdc++-v3: stage_last
40484 configure-target-libmudflap: stage_last
40485 configure-target-libssp: stage_last
40486 configure-target-libgcc-math: stage_last
40487 configure-target-newlib: stage_last
40488 configure-target-libgfortran: stage_last
40489 configure-target-libobjc: stage_last
40490 configure-target-libtermcap: stage_last
40491 configure-target-winsup: stage_last
40492 configure-target-libgloss: stage_last
40493 configure-target-libiberty: stage_last
40494 configure-target-gperf: stage_last
40495 configure-target-examples: stage_last
40496 configure-target-libffi: stage_last
40497 configure-target-libjava: stage_last
40498 configure-target-zlib: stage_last
40499 configure-target-boehm-gc: stage_last
40500 configure-target-qthreads: stage_last
40501 configure-target-rda: stage_last
40502 configure-target-libada: stage_last
40503 configure-target-libgomp: stage_last
40504 @endif gcc-bootstrap
40506 @if gcc-no-bootstrap
40507 configure-target-libstdc++-v3: maybe-all-gcc
40508 configure-target-libmudflap: maybe-all-gcc
40509 configure-target-libssp: maybe-all-gcc
40510 configure-target-libgcc-math: maybe-all-gcc
40511 configure-target-newlib: maybe-all-gcc
40512 configure-target-libgfortran: maybe-all-gcc
40513 configure-target-libobjc: maybe-all-gcc
40514 configure-target-libtermcap: maybe-all-gcc
40515 configure-target-winsup: maybe-all-gcc
40516 configure-target-libgloss: maybe-all-gcc
40517 configure-target-libiberty: maybe-all-gcc
40518 configure-target-gperf: maybe-all-gcc
40519 configure-target-examples: maybe-all-gcc
40520 configure-target-libffi: maybe-all-gcc
40521 configure-target-libjava: maybe-all-gcc
40522 configure-target-zlib: maybe-all-gcc
40523 configure-target-boehm-gc: maybe-all-gcc
40524 configure-target-qthreads: maybe-all-gcc
40525 configure-target-rda: maybe-all-gcc
40526 configure-target-libada: maybe-all-gcc
40527 configure-target-libgomp: maybe-all-gcc
40528 @endif gcc-no-bootstrap
40532 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
40534 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
40535 configure-target-gperf: maybe-all-target-libstdc++-v3
40537 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
40539 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
40541 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
40543 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
40544 configure-target-libjava: maybe-all-target-libstdc++-v3
40546 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
40548 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
40550 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
40552 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
40554 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
40556 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
40558 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
40560 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
40562 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
40564 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
40567 # There are two types of dependencies here: 'hard' dependencies, where one
40568 # module simply won't build without the other; and 'soft' dependencies, where
40569 # if the depended-on module is missing, the depending module will do without
40570 # or find a substitute somewhere (perhaps installed). Soft dependencies
40571 # are made here to depend on a 'maybe-' target. If you're not sure,
40572 # it's safer to use a soft dependency.
40579 # With all the machinery above in place, it is pretty easy to generate
40580 # dependencies. Host dependencies are a bit more complex because we have
40581 # to check for bootstrap/prebootstrap dependencies. To resolve
40582 # prebootstrap dependencies, prebootstrap modules are gathered in
40583 # a hash table.
40584 all-build-bison: maybe-all-build-texinfo
40585 all-build-byacc: maybe-all-build-texinfo
40586 all-build-flex: maybe-all-build-texinfo
40587 all-build-flex: maybe-all-build-bison
40588 all-build-flex: maybe-all-build-byacc
40589 all-build-flex: maybe-all-build-m4
40590 all-build-libiberty: maybe-all-build-texinfo
40591 all-build-m4: maybe-all-build-texinfo
40592 all-build-fixincludes: maybe-all-build-libiberty
40593 configure-gcc: maybe-configure-intl
40595 configure-stage1-gcc: maybe-configure-stage1-intl
40596 configure-stage2-gcc: maybe-configure-stage2-intl
40597 configure-stage3-gcc: maybe-configure-stage3-intl
40598 configure-stage4-gcc: maybe-configure-stage4-intl
40599 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
40600 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
40601 configure-gcc: maybe-all-binutils
40603 configure-stage1-gcc: maybe-all-stage1-binutils
40604 configure-stage2-gcc: maybe-all-stage2-binutils
40605 configure-stage3-gcc: maybe-all-stage3-binutils
40606 configure-stage4-gcc: maybe-all-stage4-binutils
40607 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
40608 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
40609 configure-gcc: maybe-all-gas
40611 configure-stage1-gcc: maybe-all-stage1-gas
40612 configure-stage2-gcc: maybe-all-stage2-gas
40613 configure-stage3-gcc: maybe-all-stage3-gas
40614 configure-stage4-gcc: maybe-all-stage4-gas
40615 configure-stageprofile-gcc: maybe-all-stageprofile-gas
40616 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
40617 configure-gcc: maybe-all-ld
40619 configure-stage1-gcc: maybe-all-stage1-ld
40620 configure-stage2-gcc: maybe-all-stage2-ld
40621 configure-stage3-gcc: maybe-all-stage3-ld
40622 configure-stage4-gcc: maybe-all-stage4-ld
40623 configure-stageprofile-gcc: maybe-all-stageprofile-ld
40624 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
40625 all-gcc: all-libiberty
40627 all-stage1-gcc: all-stage1-libiberty
40628 all-stage2-gcc: all-stage2-libiberty
40629 all-stage3-gcc: all-stage3-libiberty
40630 all-stage4-gcc: all-stage4-libiberty
40631 all-stageprofile-gcc: all-stageprofile-libiberty
40632 all-stagefeedback-gcc: all-stagefeedback-libiberty
40633 all-gcc: maybe-all-intl
40635 all-stage1-gcc: maybe-all-stage1-intl
40636 all-stage2-gcc: maybe-all-stage2-intl
40637 all-stage3-gcc: maybe-all-stage3-intl
40638 all-stage4-gcc: maybe-all-stage4-intl
40639 all-stageprofile-gcc: maybe-all-stageprofile-intl
40640 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
40641 all-gcc: maybe-all-build-texinfo
40643 all-stage1-gcc: maybe-all-build-texinfo
40644 all-stage2-gcc: maybe-all-build-texinfo
40645 all-stage3-gcc: maybe-all-build-texinfo
40646 all-stage4-gcc: maybe-all-build-texinfo
40647 all-stageprofile-gcc: maybe-all-build-texinfo
40648 all-stagefeedback-gcc: maybe-all-build-texinfo
40649 all-prebootstrap: maybe-all-build-texinfo
40650 all-gcc: maybe-all-build-bison
40652 all-stage1-gcc: maybe-all-build-bison
40653 all-stage2-gcc: maybe-all-build-bison
40654 all-stage3-gcc: maybe-all-build-bison
40655 all-stage4-gcc: maybe-all-build-bison
40656 all-stageprofile-gcc: maybe-all-build-bison
40657 all-stagefeedback-gcc: maybe-all-build-bison
40658 all-prebootstrap: maybe-all-build-bison
40659 all-gcc: maybe-all-build-byacc
40661 all-stage1-gcc: maybe-all-build-byacc
40662 all-stage2-gcc: maybe-all-build-byacc
40663 all-stage3-gcc: maybe-all-build-byacc
40664 all-stage4-gcc: maybe-all-build-byacc
40665 all-stageprofile-gcc: maybe-all-build-byacc
40666 all-stagefeedback-gcc: maybe-all-build-byacc
40667 all-prebootstrap: maybe-all-build-byacc
40668 all-gcc: maybe-all-build-flex
40670 all-stage1-gcc: maybe-all-build-flex
40671 all-stage2-gcc: maybe-all-build-flex
40672 all-stage3-gcc: maybe-all-build-flex
40673 all-stage4-gcc: maybe-all-build-flex
40674 all-stageprofile-gcc: maybe-all-build-flex
40675 all-stagefeedback-gcc: maybe-all-build-flex
40676 all-prebootstrap: maybe-all-build-flex
40677 all-gcc: maybe-all-build-libiberty
40679 all-stage1-gcc: maybe-all-build-libiberty
40680 all-stage2-gcc: maybe-all-build-libiberty
40681 all-stage3-gcc: maybe-all-build-libiberty
40682 all-stage4-gcc: maybe-all-build-libiberty
40683 all-stageprofile-gcc: maybe-all-build-libiberty
40684 all-stagefeedback-gcc: maybe-all-build-libiberty
40685 all-prebootstrap: maybe-all-build-libiberty
40686 all-gcc: maybe-all-build-fixincludes
40688 all-stage1-gcc: maybe-all-build-fixincludes
40689 all-stage2-gcc: maybe-all-build-fixincludes
40690 all-stage3-gcc: maybe-all-build-fixincludes
40691 all-stage4-gcc: maybe-all-build-fixincludes
40692 all-stageprofile-gcc: maybe-all-build-fixincludes
40693 all-stagefeedback-gcc: maybe-all-build-fixincludes
40694 all-prebootstrap: maybe-all-build-fixincludes
40695 all-gcc: maybe-all-zlib
40697 all-stage1-gcc: maybe-all-stage1-zlib
40698 all-stage2-gcc: maybe-all-stage2-zlib
40699 all-stage3-gcc: maybe-all-stage3-zlib
40700 all-stage4-gcc: maybe-all-stage4-zlib
40701 all-stageprofile-gcc: maybe-all-stageprofile-zlib
40702 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
40703 all-gcc: all-libcpp
40705 all-stage1-gcc: all-stage1-libcpp
40706 all-stage2-gcc: all-stage2-libcpp
40707 all-stage3-gcc: all-stage3-libcpp
40708 all-stage4-gcc: all-stage4-libcpp
40709 all-stageprofile-gcc: all-stageprofile-libcpp
40710 all-stagefeedback-gcc: all-stagefeedback-libcpp
40711 all-gcc: all-libdecnumber
40713 all-stage1-gcc: all-stage1-libdecnumber
40714 all-stage2-gcc: all-stage2-libdecnumber
40715 all-stage3-gcc: all-stage3-libdecnumber
40716 all-stage4-gcc: all-stage4-libdecnumber
40717 all-stageprofile-gcc: all-stageprofile-libdecnumber
40718 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
40719 all-gcc: maybe-all-libiberty
40721 all-stage1-gcc: maybe-all-stage1-libiberty
40722 all-stage2-gcc: maybe-all-stage2-libiberty
40723 all-stage3-gcc: maybe-all-stage3-libiberty
40724 all-stage4-gcc: maybe-all-stage4-libiberty
40725 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
40726 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
40727 all-gcc: maybe-all-fixincludes
40728 install-gcc: maybe-install-fixincludes
40729 configure-libcpp: configure-libiberty
40731 configure-stage1-libcpp: configure-stage1-libiberty
40732 configure-stage2-libcpp: configure-stage2-libiberty
40733 configure-stage3-libcpp: configure-stage3-libiberty
40734 configure-stage4-libcpp: configure-stage4-libiberty
40735 configure-stageprofile-libcpp: configure-stageprofile-libiberty
40736 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
40737 configure-libcpp: maybe-configure-intl
40739 configure-stage1-libcpp: maybe-configure-stage1-intl
40740 configure-stage2-libcpp: maybe-configure-stage2-intl
40741 configure-stage3-libcpp: maybe-configure-stage3-intl
40742 configure-stage4-libcpp: maybe-configure-stage4-intl
40743 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
40744 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
40745 all-libcpp: all-libiberty
40747 all-stage1-libcpp: all-stage1-libiberty
40748 all-stage2-libcpp: all-stage2-libiberty
40749 all-stage3-libcpp: all-stage3-libiberty
40750 all-stage4-libcpp: all-stage4-libiberty
40751 all-stageprofile-libcpp: all-stageprofile-libiberty
40752 all-stagefeedback-libcpp: all-stagefeedback-libiberty
40753 all-libcpp: maybe-all-intl
40755 all-stage1-libcpp: maybe-all-stage1-intl
40756 all-stage2-libcpp: maybe-all-stage2-intl
40757 all-stage3-libcpp: maybe-all-stage3-intl
40758 all-stage4-libcpp: maybe-all-stage4-intl
40759 all-stageprofile-libcpp: maybe-all-stageprofile-intl
40760 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
40761 all-fixincludes: maybe-all-libiberty
40762 all-gnattools: maybe-all-target-libada
40763 configure-gdb: maybe-configure-sim
40764 all-gdb: maybe-all-libiberty
40765 all-gdb: maybe-all-opcodes
40766 all-gdb: maybe-all-bfd
40767 all-gdb: maybe-all-readline
40768 all-gdb: maybe-all-build-bison
40769 all-gdb: maybe-all-build-byacc
40770 all-gdb: maybe-all-sim
40771 configure-libgui: maybe-configure-tcl
40772 configure-libgui: maybe-configure-tk
40773 all-libgui: maybe-all-tcl
40774 all-libgui: maybe-all-tk
40775 all-libgui: maybe-all-itcl
40776 configure-bfd: configure-libiberty
40778 configure-stage1-bfd: configure-stage1-libiberty
40779 configure-stage2-bfd: configure-stage2-libiberty
40780 configure-stage3-bfd: configure-stage3-libiberty
40781 configure-stage4-bfd: configure-stage4-libiberty
40782 configure-stageprofile-bfd: configure-stageprofile-libiberty
40783 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
40784 all-bfd: maybe-all-libiberty
40786 all-stage1-bfd: maybe-all-stage1-libiberty
40787 all-stage2-bfd: maybe-all-stage2-libiberty
40788 all-stage3-bfd: maybe-all-stage3-libiberty
40789 all-stage4-bfd: maybe-all-stage4-libiberty
40790 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
40791 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
40792 all-bfd: maybe-all-intl
40794 all-stage1-bfd: maybe-all-stage1-intl
40795 all-stage2-bfd: maybe-all-stage2-intl
40796 all-stage3-bfd: maybe-all-stage3-intl
40797 all-stage4-bfd: maybe-all-stage4-intl
40798 all-stageprofile-bfd: maybe-all-stageprofile-intl
40799 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
40800 all-binutils: maybe-all-libiberty
40802 all-stage1-binutils: maybe-all-stage1-libiberty
40803 all-stage2-binutils: maybe-all-stage2-libiberty
40804 all-stage3-binutils: maybe-all-stage3-libiberty
40805 all-stage4-binutils: maybe-all-stage4-libiberty
40806 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
40807 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
40808 all-binutils: maybe-all-opcodes
40810 all-stage1-binutils: maybe-all-stage1-opcodes
40811 all-stage2-binutils: maybe-all-stage2-opcodes
40812 all-stage3-binutils: maybe-all-stage3-opcodes
40813 all-stage4-binutils: maybe-all-stage4-opcodes
40814 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
40815 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
40816 all-binutils: maybe-all-bfd
40818 all-stage1-binutils: maybe-all-stage1-bfd
40819 all-stage2-binutils: maybe-all-stage2-bfd
40820 all-stage3-binutils: maybe-all-stage3-bfd
40821 all-stage4-binutils: maybe-all-stage4-bfd
40822 all-stageprofile-binutils: maybe-all-stageprofile-bfd
40823 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
40824 all-binutils: maybe-all-build-flex
40826 all-stage1-binutils: maybe-all-build-flex
40827 all-stage2-binutils: maybe-all-build-flex
40828 all-stage3-binutils: maybe-all-build-flex
40829 all-stage4-binutils: maybe-all-build-flex
40830 all-stageprofile-binutils: maybe-all-build-flex
40831 all-stagefeedback-binutils: maybe-all-build-flex
40832 all-prebootstrap: maybe-all-build-flex
40833 all-binutils: maybe-all-build-bison
40835 all-stage1-binutils: maybe-all-build-bison
40836 all-stage2-binutils: maybe-all-build-bison
40837 all-stage3-binutils: maybe-all-build-bison
40838 all-stage4-binutils: maybe-all-build-bison
40839 all-stageprofile-binutils: maybe-all-build-bison
40840 all-stagefeedback-binutils: maybe-all-build-bison
40841 all-prebootstrap: maybe-all-build-bison
40842 all-binutils: maybe-all-build-byacc
40844 all-stage1-binutils: maybe-all-build-byacc
40845 all-stage2-binutils: maybe-all-build-byacc
40846 all-stage3-binutils: maybe-all-build-byacc
40847 all-stage4-binutils: maybe-all-build-byacc
40848 all-stageprofile-binutils: maybe-all-build-byacc
40849 all-stagefeedback-binutils: maybe-all-build-byacc
40850 all-prebootstrap: maybe-all-build-byacc
40851 all-binutils: maybe-all-intl
40853 all-stage1-binutils: maybe-all-stage1-intl
40854 all-stage2-binutils: maybe-all-stage2-intl
40855 all-stage3-binutils: maybe-all-stage3-intl
40856 all-stage4-binutils: maybe-all-stage4-intl
40857 all-stageprofile-binutils: maybe-all-stageprofile-intl
40858 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
40859 install-binutils: maybe-install-opcodes
40860 install-opcodes: maybe-install-bfd
40861 all-gas: maybe-all-libiberty
40863 all-stage1-gas: maybe-all-stage1-libiberty
40864 all-stage2-gas: maybe-all-stage2-libiberty
40865 all-stage3-gas: maybe-all-stage3-libiberty
40866 all-stage4-gas: maybe-all-stage4-libiberty
40867 all-stageprofile-gas: maybe-all-stageprofile-libiberty
40868 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
40869 all-gas: maybe-all-opcodes
40871 all-stage1-gas: maybe-all-stage1-opcodes
40872 all-stage2-gas: maybe-all-stage2-opcodes
40873 all-stage3-gas: maybe-all-stage3-opcodes
40874 all-stage4-gas: maybe-all-stage4-opcodes
40875 all-stageprofile-gas: maybe-all-stageprofile-opcodes
40876 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
40877 all-gas: maybe-all-bfd
40879 all-stage1-gas: maybe-all-stage1-bfd
40880 all-stage2-gas: maybe-all-stage2-bfd
40881 all-stage3-gas: maybe-all-stage3-bfd
40882 all-stage4-gas: maybe-all-stage4-bfd
40883 all-stageprofile-gas: maybe-all-stageprofile-bfd
40884 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
40885 all-gas: maybe-all-intl
40887 all-stage1-gas: maybe-all-stage1-intl
40888 all-stage2-gas: maybe-all-stage2-intl
40889 all-stage3-gas: maybe-all-stage3-intl
40890 all-stage4-gas: maybe-all-stage4-intl
40891 all-stageprofile-gas: maybe-all-stageprofile-intl
40892 all-stagefeedback-gas: maybe-all-stagefeedback-intl
40893 all-gprof: maybe-all-libiberty
40894 all-gprof: maybe-all-bfd
40895 all-gprof: maybe-all-opcodes
40896 all-gprof: maybe-all-intl
40897 all-ld: maybe-all-libiberty
40899 all-stage1-ld: maybe-all-stage1-libiberty
40900 all-stage2-ld: maybe-all-stage2-libiberty
40901 all-stage3-ld: maybe-all-stage3-libiberty
40902 all-stage4-ld: maybe-all-stage4-libiberty
40903 all-stageprofile-ld: maybe-all-stageprofile-libiberty
40904 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
40905 all-ld: maybe-all-bfd
40907 all-stage1-ld: maybe-all-stage1-bfd
40908 all-stage2-ld: maybe-all-stage2-bfd
40909 all-stage3-ld: maybe-all-stage3-bfd
40910 all-stage4-ld: maybe-all-stage4-bfd
40911 all-stageprofile-ld: maybe-all-stageprofile-bfd
40912 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
40913 all-ld: maybe-all-opcodes
40915 all-stage1-ld: maybe-all-stage1-opcodes
40916 all-stage2-ld: maybe-all-stage2-opcodes
40917 all-stage3-ld: maybe-all-stage3-opcodes
40918 all-stage4-ld: maybe-all-stage4-opcodes
40919 all-stageprofile-ld: maybe-all-stageprofile-opcodes
40920 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
40921 all-ld: maybe-all-build-bison
40923 all-stage1-ld: maybe-all-build-bison
40924 all-stage2-ld: maybe-all-build-bison
40925 all-stage3-ld: maybe-all-build-bison
40926 all-stage4-ld: maybe-all-build-bison
40927 all-stageprofile-ld: maybe-all-build-bison
40928 all-stagefeedback-ld: maybe-all-build-bison
40929 all-prebootstrap: maybe-all-build-bison
40930 all-ld: maybe-all-build-byacc
40932 all-stage1-ld: maybe-all-build-byacc
40933 all-stage2-ld: maybe-all-build-byacc
40934 all-stage3-ld: maybe-all-build-byacc
40935 all-stage4-ld: maybe-all-build-byacc
40936 all-stageprofile-ld: maybe-all-build-byacc
40937 all-stagefeedback-ld: maybe-all-build-byacc
40938 all-prebootstrap: maybe-all-build-byacc
40939 all-ld: maybe-all-build-flex
40941 all-stage1-ld: maybe-all-build-flex
40942 all-stage2-ld: maybe-all-build-flex
40943 all-stage3-ld: maybe-all-build-flex
40944 all-stage4-ld: maybe-all-build-flex
40945 all-stageprofile-ld: maybe-all-build-flex
40946 all-stagefeedback-ld: maybe-all-build-flex
40947 all-prebootstrap: maybe-all-build-flex
40948 all-ld: maybe-all-intl
40950 all-stage1-ld: maybe-all-stage1-intl
40951 all-stage2-ld: maybe-all-stage2-intl
40952 all-stage3-ld: maybe-all-stage3-intl
40953 all-stage4-ld: maybe-all-stage4-intl
40954 all-stageprofile-ld: maybe-all-stageprofile-intl
40955 all-stagefeedback-ld: maybe-all-stagefeedback-intl
40956 all-opcodes: maybe-all-bfd
40958 all-stage1-opcodes: maybe-all-stage1-bfd
40959 all-stage2-opcodes: maybe-all-stage2-bfd
40960 all-stage3-opcodes: maybe-all-stage3-bfd
40961 all-stage4-opcodes: maybe-all-stage4-bfd
40962 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
40963 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
40964 all-opcodes: maybe-all-libiberty
40966 all-stage1-opcodes: maybe-all-stage1-libiberty
40967 all-stage2-opcodes: maybe-all-stage2-libiberty
40968 all-stage3-opcodes: maybe-all-stage3-libiberty
40969 all-stage4-opcodes: maybe-all-stage4-libiberty
40970 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
40971 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
40972 all-dejagnu: maybe-all-tcl
40973 all-dejagnu: maybe-all-expect
40974 all-dejagnu: maybe-all-tk
40975 configure-expect: maybe-configure-tcl
40976 configure-expect: maybe-configure-tk
40977 all-expect: maybe-all-tcl
40978 all-expect: maybe-all-tk
40979 configure-itcl: maybe-configure-tcl
40980 configure-itcl: maybe-configure-tk
40981 all-itcl: maybe-all-tcl
40982 all-itcl: maybe-all-tk
40983 install-itcl: maybe-install-tcl
40984 configure-tk: maybe-configure-tcl
40985 all-tk: maybe-all-tcl
40986 all-sid: maybe-all-libiberty
40987 all-sid: maybe-all-bfd
40988 all-sid: maybe-all-opcodes
40989 all-sid: maybe-all-tcl
40990 all-sid: maybe-all-tk
40991 install-sid: maybe-install-tcl
40992 install-sid: maybe-install-tk
40993 all-sim: maybe-all-libiberty
40994 all-sim: maybe-all-bfd
40995 all-sim: maybe-all-opcodes
40996 all-sim: maybe-all-readline
40997 all-sim: maybe-configure-gdb
40998 all-fastjar: maybe-all-zlib
40999 all-fastjar: maybe-all-build-texinfo
41000 all-fastjar: maybe-all-libiberty
41001 all-autoconf: maybe-all-m4
41002 all-autoconf: maybe-all-build-texinfo
41003 all-automake: maybe-all-m4
41004 all-automake: maybe-all-build-texinfo
41005 all-automake: maybe-all-autoconf
41006 all-bison: maybe-all-intl
41007 all-bison: maybe-all-build-texinfo
41008 all-diff: maybe-all-intl
41009 all-diff: maybe-all-build-texinfo
41010 all-fileutils: maybe-all-intl
41011 all-fileutils: maybe-all-build-texinfo
41012 all-flex: maybe-all-build-bison
41013 all-flex: maybe-all-build-byacc
41014 all-flex: maybe-all-intl
41015 all-flex: maybe-all-m4
41016 all-flex: maybe-all-build-texinfo
41017 all-gzip: maybe-all-intl
41018 all-gzip: maybe-all-zlib
41019 all-gzip: maybe-all-build-texinfo
41020 all-hello: maybe-all-intl
41021 all-hello: maybe-all-build-texinfo
41022 all-m4: maybe-all-intl
41023 all-m4: maybe-all-build-texinfo
41024 all-make: maybe-all-intl
41025 all-make: maybe-all-build-texinfo
41026 all-patch: maybe-all-build-texinfo
41027 all-make: maybe-all-build-texinfo
41028 all-prms: maybe-all-libiberty
41029 all-recode: maybe-all-build-texinfo
41030 all-sed: maybe-all-build-texinfo
41031 all-send-pr: maybe-all-prms
41032 all-tar: maybe-all-build-texinfo
41033 all-uudecode: maybe-all-build-texinfo
41034 configure-target-boehm-gc: maybe-configure-target-qthreads
41035 configure-target-fastjar: maybe-configure-target-zlib
41036 all-target-fastjar: maybe-all-target-zlib
41037 all-target-fastjar: maybe-all-target-libiberty
41038 configure-target-libjava: maybe-configure-target-zlib
41039 configure-target-libjava: maybe-configure-target-boehm-gc
41040 configure-target-libjava: maybe-configure-target-qthreads
41041 configure-target-libjava: maybe-configure-target-libffi
41042 all-target-libjava: maybe-all-fastjar
41043 all-target-libjava: maybe-all-target-zlib
41044 all-target-libjava: maybe-all-target-boehm-gc
41045 all-target-libjava: maybe-all-target-qthreads
41046 all-target-libjava: maybe-all-target-libffi
41047 all-target-libobjc: maybe-all-target-libiberty
41048 all-target-libstdc++-v3: maybe-all-target-libiberty
41049 all-target-libgloss: maybe-configure-target-newlib
41050 all-target-winsup: maybe-all-target-libiberty
41051 all-target-winsup: maybe-all-target-libtermcap
41054 # Non-toplevel bootstrap rules must depend on several packages, to be built
41055 # before gcc. Another wart that will go away, hopefully soon.
41056 @if gcc-no-bootstrap
41058 all-prebootstrap: maybe-all-bfd
41059 all-prebootstrap: maybe-all-opcodes
41060 all-prebootstrap: maybe-all-binutils
41061 all-prebootstrap: maybe-all-gas
41062 all-prebootstrap: maybe-all-intl
41063 all-prebootstrap: maybe-all-ld
41064 all-prebootstrap: maybe-all-libcpp
41065 all-prebootstrap: maybe-all-libdecnumber
41066 all-prebootstrap: maybe-all-libiberty
41067 all-prebootstrap: maybe-all-zlib
41068 @endif gcc-no-bootstrap
41070 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
41071 GDB_TK = @GDB_TK@
41072 INSTALL_GDB_TK = @INSTALL_GDB_TK@
41073 configure-gdb: $(CONFIGURE_GDB_TK)
41074 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
41075 install-gdb: $(INSTALL_GDB_TK)
41077 # Serialization dependencies. Host configures don't work well in parallel to
41078 # each other, due to contention over config.cache. Target configures and
41079 # build configures are similar.
41080 @serialization_dependencies@
41082 # --------------------------------
41083 # Regenerating top level configury
41084 # --------------------------------
41086 # Rebuilding Makefile.in, using autogen.
41087 AUTOGEN = autogen
41088 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
41089 cd $(srcdir) && $(AUTOGEN) Makefile.def
41091 # Rebuilding Makefile.
41092 Makefile: $(srcdir)/Makefile.in config.status
41093 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
41095 config.status: configure
41096 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
41098 # Rebuilding configure.
41099 AUTOCONF = autoconf
41100 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
41101 cd $(srcdir) && $(AUTOCONF)
41103 # ------------------------------
41104 # Special directives to GNU Make
41105 # ------------------------------
41107 # Don't pass command-line variables to submakes.
41108 .NOEXPORT:
41109 MAKEOVERRIDES=
41111 # end of Makefile.in