PR tree-optimization/27639
[official-gcc.git] / Makefile.in
blobb208df7ae3b6cb4c993ead60d2834151bd2429b6
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_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-libgomp
372 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
373 @endif target-libgomp
377 # This is the list of directories that may be needed in RPATH_ENVVAR
378 # so that programs built for the host machine work.
379 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
381 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
382 @if gcc
383 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
384 @endif gcc
387 @if bfd
388 HOST_LIB_PATH_bfd = \
389 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
390 @endif bfd
392 @if opcodes
393 HOST_LIB_PATH_opcodes = \
394 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
395 @endif opcodes
398 # Flags to pass down to all sub-makes.
399 BASE_FLAGS_TO_PASS = \
400 "DESTDIR=$(DESTDIR)" \
401 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
402 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
403 "bindir=$(bindir)" \
404 "datadir=$(datadir)" \
405 "exec_prefix=$(exec_prefix)" \
406 "includedir=$(includedir)" \
407 "datarootdir=$(datarootdir)" \
408 "docdir=$(docdir)" \
409 "infodir=$(infodir)" \
410 "htmldir=$(htmldir)" \
411 "libdir=$(libdir)" \
412 "libexecdir=$(libexecdir)" \
413 "lispdir=$(lispdir)" \
414 "localstatedir=$(localstatedir)" \
415 "mandir=$(mandir)" \
416 "oldincludedir=$(oldincludedir)" \
417 "prefix=$(prefix)" \
418 "sbindir=$(sbindir)" \
419 "sharedstatedir=$(sharedstatedir)" \
420 "sysconfdir=$(sysconfdir)" \
421 "tooldir=$(tooldir)" \
422 "build_tooldir=$(build_tooldir)" \
423 "target_alias=$(target_alias)" \
424 "BISON=$(BISON)" \
425 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
426 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
427 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
428 "EXPECT=$(EXPECT)" \
429 "FLEX=$(FLEX)" \
430 "INSTALL=$(INSTALL)" \
431 "INSTALL_DATA=$(INSTALL_DATA)" \
432 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
433 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
434 "LEX=$(LEX)" \
435 "M4=$(M4)" \
436 "MAKE=$(MAKE)" \
437 "RUNTEST=$(RUNTEST)" \
438 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
439 "SHELL=$(SHELL)" \
440 "YACC=$(YACC)" \
441 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
442 "AR_FLAGS=$(AR_FLAGS)" \
443 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
445 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
446 "CFLAGS=$(CFLAGS)" \
447 "CXXFLAGS=$(CXXFLAGS)" \
448 "LDFLAGS=$(LDFLAGS)" \
449 "LIBCFLAGS=$(LIBCFLAGS)" \
450 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
451 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
452 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
453 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
454 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
455 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
456 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
457 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
458 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
459 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
460 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
461 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
462 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
463 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
464 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
465 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
466 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
467 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
468 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
469 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
470 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
471 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
472 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
473 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
474 "LEAN=$(LEAN)" \
475 "CONFIG_SHELL=$(SHELL)" \
476 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
478 # We leave this in just in case, but it is not needed anymore.
479 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
481 # Flags to pass down to most sub-makes, in which we're building with
482 # the host environment.
483 EXTRA_HOST_FLAGS = \
484 'AR=$(AR)' \
485 'AS=$(AS)' \
486 'CC=$(CC)' \
487 'CXX=$(CXX)' \
488 'DLLTOOL=$(DLLTOOL)' \
489 'LD=$(LD)' \
490 'LIPO=$(LIPO)' \
491 'NM=$(NM)' \
492 'OBJDUMP=$(OBJDUMP)' \
493 'RANLIB=$(RANLIB)' \
494 'STRIP=$(STRIP)' \
495 'WINDRES=$(WINDRES)'
497 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
499 # Flags that are concerned with the location of the X11 include files
500 # and library files
502 # NOTE: until the top-level is getting the values via autoconf, it only
503 # causes problems to have this top-level Makefile overriding the autoconf-set
504 # values in child directories. Only variables that don't conflict with
505 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
507 X11_FLAGS_TO_PASS = \
508 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
509 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
511 # Flags to pass down to makes which are built with the target environment.
512 # The double $ decreases the length of the command line; those variables
513 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
514 # COMPILER_ prefixed variables are not passed down so we expand them here.
515 EXTRA_TARGET_FLAGS = \
516 'AR=$$(AR_FOR_TARGET)' \
517 'AS=$(COMPILER_AS_FOR_TARGET)' \
518 'CC=$$(CC_FOR_TARGET)' \
519 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
520 'CXX=$$(CXX_FOR_TARGET)' \
521 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
522 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
523 'LD=$(COMPILER_LD_FOR_TARGET)' \
524 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
525 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
526 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
527 'NM=$(COMPILER_NM_FOR_TARGET)' \
528 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
529 'RANLIB=$$(RANLIB_FOR_TARGET)' \
530 'WINDRES=$$(WINDRES_FOR_TARGET)'
532 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
534 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
535 # unfortunately needs the native compiler and the target ar and
536 # ranlib.
537 # If any variables are added here, they must be added to do-*, below.
538 # The BUILD_* variables are a special case, which are used for the gcc
539 # cross-building scheme.
540 EXTRA_GCC_FLAGS = \
541 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
542 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
543 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
544 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
548 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
550 .PHONY: configure-host
551 configure-host: \
552 maybe-configure-ash \
553 maybe-configure-autoconf \
554 maybe-configure-automake \
555 maybe-configure-bash \
556 maybe-configure-bfd \
557 maybe-configure-opcodes \
558 maybe-configure-binutils \
559 maybe-configure-bison \
560 maybe-configure-byacc \
561 maybe-configure-bzip2 \
562 maybe-configure-dejagnu \
563 maybe-configure-diff \
564 maybe-configure-dosutils \
565 maybe-configure-etc \
566 maybe-configure-fastjar \
567 maybe-configure-fileutils \
568 maybe-configure-findutils \
569 maybe-configure-find \
570 maybe-configure-fixincludes \
571 maybe-configure-flex \
572 maybe-configure-gas \
573 maybe-configure-gcc \
574 maybe-configure-gawk \
575 maybe-configure-gettext \
576 maybe-configure-gnuserv \
577 maybe-configure-gprof \
578 maybe-configure-gzip \
579 maybe-configure-hello \
580 maybe-configure-indent \
581 maybe-configure-intl \
582 maybe-configure-tcl \
583 maybe-configure-itcl \
584 maybe-configure-ld \
585 maybe-configure-libcpp \
586 maybe-configure-libdecnumber \
587 maybe-configure-libgui \
588 maybe-configure-libiberty \
589 maybe-configure-libtool \
590 maybe-configure-m4 \
591 maybe-configure-make \
592 maybe-configure-mmalloc \
593 maybe-configure-patch \
594 maybe-configure-perl \
595 maybe-configure-prms \
596 maybe-configure-rcs \
597 maybe-configure-readline \
598 maybe-configure-release \
599 maybe-configure-recode \
600 maybe-configure-sed \
601 maybe-configure-send-pr \
602 maybe-configure-shellutils \
603 maybe-configure-sid \
604 maybe-configure-sim \
605 maybe-configure-tar \
606 maybe-configure-texinfo \
607 maybe-configure-textutils \
608 maybe-configure-time \
609 maybe-configure-uudecode \
610 maybe-configure-wdiff \
611 maybe-configure-zip \
612 maybe-configure-zlib \
613 maybe-configure-gdb \
614 maybe-configure-expect \
615 maybe-configure-guile \
616 maybe-configure-tk \
617 maybe-configure-libtermcap \
618 maybe-configure-utils \
619 maybe-configure-gnattools
620 .PHONY: configure-target
621 configure-target: \
622 maybe-configure-target-libstdc++-v3 \
623 maybe-configure-target-libmudflap \
624 maybe-configure-target-libssp \
625 maybe-configure-target-newlib \
626 maybe-configure-target-libgfortran \
627 maybe-configure-target-libobjc \
628 maybe-configure-target-libtermcap \
629 maybe-configure-target-winsup \
630 maybe-configure-target-libgloss \
631 maybe-configure-target-libiberty \
632 maybe-configure-target-gperf \
633 maybe-configure-target-examples \
634 maybe-configure-target-libffi \
635 maybe-configure-target-libjava \
636 maybe-configure-target-zlib \
637 maybe-configure-target-boehm-gc \
638 maybe-configure-target-qthreads \
639 maybe-configure-target-rda \
640 maybe-configure-target-libada \
641 maybe-configure-target-libgomp
643 # The target built for a native non-bootstrap build.
644 .PHONY: all
645 all:
646 @if gcc-bootstrap
647 [ -f stage_final ] || echo stage3 > stage_final
648 @r=`${PWD_COMMAND}`; export r; \
649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
651 @endif gcc-bootstrap
652 @: $(MAKE); $(unstage)
653 @r=`${PWD_COMMAND}`; export r; \
654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
655 if [ -f stage_last ]; then \
656 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
657 else \
658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
661 .PHONY: all-build
663 all-build: maybe-all-build-libiberty
664 all-build: maybe-all-build-bison
665 all-build: maybe-all-build-byacc
666 all-build: maybe-all-build-flex
667 all-build: maybe-all-build-m4
668 all-build: maybe-all-build-texinfo
669 all-build: maybe-all-build-fixincludes
671 .PHONY: all-host
673 all-host: maybe-all-ash
674 all-host: maybe-all-autoconf
675 all-host: maybe-all-automake
676 all-host: maybe-all-bash
677 @if bfd-no-bootstrap
678 all-host: maybe-all-bfd
679 @endif bfd-no-bootstrap
680 @if opcodes-no-bootstrap
681 all-host: maybe-all-opcodes
682 @endif opcodes-no-bootstrap
683 @if binutils-no-bootstrap
684 all-host: maybe-all-binutils
685 @endif binutils-no-bootstrap
686 all-host: maybe-all-bison
687 all-host: maybe-all-byacc
688 all-host: maybe-all-bzip2
689 all-host: maybe-all-dejagnu
690 all-host: maybe-all-diff
691 all-host: maybe-all-dosutils
692 all-host: maybe-all-etc
693 all-host: maybe-all-fastjar
694 all-host: maybe-all-fileutils
695 all-host: maybe-all-findutils
696 all-host: maybe-all-find
697 all-host: maybe-all-fixincludes
698 all-host: maybe-all-flex
699 @if gas-no-bootstrap
700 all-host: maybe-all-gas
701 @endif gas-no-bootstrap
702 @if gcc-no-bootstrap
703 all-host: maybe-all-gcc
704 @endif gcc-no-bootstrap
705 all-host: maybe-all-gawk
706 all-host: maybe-all-gettext
707 all-host: maybe-all-gnuserv
708 all-host: maybe-all-gprof
709 all-host: maybe-all-gzip
710 all-host: maybe-all-hello
711 all-host: maybe-all-indent
712 @if intl-no-bootstrap
713 all-host: maybe-all-intl
714 @endif intl-no-bootstrap
715 all-host: maybe-all-tcl
716 all-host: maybe-all-itcl
717 @if ld-no-bootstrap
718 all-host: maybe-all-ld
719 @endif ld-no-bootstrap
720 @if libcpp-no-bootstrap
721 all-host: maybe-all-libcpp
722 @endif libcpp-no-bootstrap
723 @if libdecnumber-no-bootstrap
724 all-host: maybe-all-libdecnumber
725 @endif libdecnumber-no-bootstrap
726 all-host: maybe-all-libgui
727 @if libiberty-no-bootstrap
728 all-host: maybe-all-libiberty
729 @endif libiberty-no-bootstrap
730 all-host: maybe-all-libtool
731 all-host: maybe-all-m4
732 all-host: maybe-all-make
733 all-host: maybe-all-mmalloc
734 all-host: maybe-all-patch
735 all-host: maybe-all-perl
736 all-host: maybe-all-prms
737 all-host: maybe-all-rcs
738 all-host: maybe-all-readline
739 all-host: maybe-all-release
740 all-host: maybe-all-recode
741 all-host: maybe-all-sed
742 all-host: maybe-all-send-pr
743 all-host: maybe-all-shellutils
744 all-host: maybe-all-sid
745 all-host: maybe-all-sim
746 all-host: maybe-all-tar
747 all-host: maybe-all-texinfo
748 all-host: maybe-all-textutils
749 all-host: maybe-all-time
750 all-host: maybe-all-uudecode
751 all-host: maybe-all-wdiff
752 all-host: maybe-all-zip
753 @if zlib-no-bootstrap
754 all-host: maybe-all-zlib
755 @endif zlib-no-bootstrap
756 all-host: maybe-all-gdb
757 all-host: maybe-all-expect
758 all-host: maybe-all-guile
759 all-host: maybe-all-tk
760 all-host: maybe-all-libtermcap
761 all-host: maybe-all-utils
762 all-host: maybe-all-gnattools
764 .PHONY: all-target
766 all-target: maybe-all-target-libstdc++-v3
767 all-target: maybe-all-target-libmudflap
768 all-target: maybe-all-target-libssp
769 all-target: maybe-all-target-newlib
770 all-target: maybe-all-target-libgfortran
771 all-target: maybe-all-target-libobjc
772 all-target: maybe-all-target-libtermcap
773 all-target: maybe-all-target-winsup
774 all-target: maybe-all-target-libgloss
775 all-target: maybe-all-target-libiberty
776 all-target: maybe-all-target-gperf
777 all-target: maybe-all-target-examples
778 all-target: maybe-all-target-libffi
779 all-target: maybe-all-target-libjava
780 all-target: maybe-all-target-zlib
781 all-target: maybe-all-target-boehm-gc
782 all-target: maybe-all-target-qthreads
783 all-target: maybe-all-target-rda
784 all-target: maybe-all-target-libada
785 all-target: maybe-all-target-libgomp
787 # Do a target for all the subdirectories. A ``make do-X'' will do a
788 # ``make X'' in all subdirectories (because, in general, there is a
789 # dependency (below) of X upon do-X, a ``make X'' will also do this,
790 # but it may do additional work as well).
792 .PHONY: do-info
793 do-info:
794 @: $(MAKE); $(unstage)
795 @r=`${PWD_COMMAND}`; export r; \
796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
797 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
798 info-target
801 .PHONY: info-host
803 info-host: maybe-info-ash
804 info-host: maybe-info-autoconf
805 info-host: maybe-info-automake
806 info-host: maybe-info-bash
807 info-host: maybe-info-bfd
808 info-host: maybe-info-opcodes
809 info-host: maybe-info-binutils
810 info-host: maybe-info-bison
811 info-host: maybe-info-byacc
812 info-host: maybe-info-bzip2
813 info-host: maybe-info-dejagnu
814 info-host: maybe-info-diff
815 info-host: maybe-info-dosutils
816 info-host: maybe-info-etc
817 info-host: maybe-info-fastjar
818 info-host: maybe-info-fileutils
819 info-host: maybe-info-findutils
820 info-host: maybe-info-find
821 info-host: maybe-info-fixincludes
822 info-host: maybe-info-flex
823 info-host: maybe-info-gas
824 info-host: maybe-info-gcc
825 info-host: maybe-info-gawk
826 info-host: maybe-info-gettext
827 info-host: maybe-info-gnuserv
828 info-host: maybe-info-gprof
829 info-host: maybe-info-gzip
830 info-host: maybe-info-hello
831 info-host: maybe-info-indent
832 info-host: maybe-info-intl
833 info-host: maybe-info-tcl
834 info-host: maybe-info-itcl
835 info-host: maybe-info-ld
836 info-host: maybe-info-libcpp
837 info-host: maybe-info-libdecnumber
838 info-host: maybe-info-libgui
839 info-host: maybe-info-libiberty
840 info-host: maybe-info-libtool
841 info-host: maybe-info-m4
842 info-host: maybe-info-make
843 info-host: maybe-info-mmalloc
844 info-host: maybe-info-patch
845 info-host: maybe-info-perl
846 info-host: maybe-info-prms
847 info-host: maybe-info-rcs
848 info-host: maybe-info-readline
849 info-host: maybe-info-release
850 info-host: maybe-info-recode
851 info-host: maybe-info-sed
852 info-host: maybe-info-send-pr
853 info-host: maybe-info-shellutils
854 info-host: maybe-info-sid
855 info-host: maybe-info-sim
856 info-host: maybe-info-tar
857 info-host: maybe-info-texinfo
858 info-host: maybe-info-textutils
859 info-host: maybe-info-time
860 info-host: maybe-info-uudecode
861 info-host: maybe-info-wdiff
862 info-host: maybe-info-zip
863 info-host: maybe-info-zlib
864 info-host: maybe-info-gdb
865 info-host: maybe-info-expect
866 info-host: maybe-info-guile
867 info-host: maybe-info-tk
868 info-host: maybe-info-libtermcap
869 info-host: maybe-info-utils
870 info-host: maybe-info-gnattools
872 .PHONY: info-target
874 info-target: maybe-info-target-libstdc++-v3
875 info-target: maybe-info-target-libmudflap
876 info-target: maybe-info-target-libssp
877 info-target: maybe-info-target-newlib
878 info-target: maybe-info-target-libgfortran
879 info-target: maybe-info-target-libobjc
880 info-target: maybe-info-target-libtermcap
881 info-target: maybe-info-target-winsup
882 info-target: maybe-info-target-libgloss
883 info-target: maybe-info-target-libiberty
884 info-target: maybe-info-target-gperf
885 info-target: maybe-info-target-examples
886 info-target: maybe-info-target-libffi
887 info-target: maybe-info-target-libjava
888 info-target: maybe-info-target-zlib
889 info-target: maybe-info-target-boehm-gc
890 info-target: maybe-info-target-qthreads
891 info-target: maybe-info-target-rda
892 info-target: maybe-info-target-libada
893 info-target: maybe-info-target-libgomp
895 .PHONY: do-dvi
896 do-dvi:
897 @: $(MAKE); $(unstage)
898 @r=`${PWD_COMMAND}`; export r; \
899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
900 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
901 dvi-target
904 .PHONY: dvi-host
906 dvi-host: maybe-dvi-ash
907 dvi-host: maybe-dvi-autoconf
908 dvi-host: maybe-dvi-automake
909 dvi-host: maybe-dvi-bash
910 dvi-host: maybe-dvi-bfd
911 dvi-host: maybe-dvi-opcodes
912 dvi-host: maybe-dvi-binutils
913 dvi-host: maybe-dvi-bison
914 dvi-host: maybe-dvi-byacc
915 dvi-host: maybe-dvi-bzip2
916 dvi-host: maybe-dvi-dejagnu
917 dvi-host: maybe-dvi-diff
918 dvi-host: maybe-dvi-dosutils
919 dvi-host: maybe-dvi-etc
920 dvi-host: maybe-dvi-fastjar
921 dvi-host: maybe-dvi-fileutils
922 dvi-host: maybe-dvi-findutils
923 dvi-host: maybe-dvi-find
924 dvi-host: maybe-dvi-fixincludes
925 dvi-host: maybe-dvi-flex
926 dvi-host: maybe-dvi-gas
927 dvi-host: maybe-dvi-gcc
928 dvi-host: maybe-dvi-gawk
929 dvi-host: maybe-dvi-gettext
930 dvi-host: maybe-dvi-gnuserv
931 dvi-host: maybe-dvi-gprof
932 dvi-host: maybe-dvi-gzip
933 dvi-host: maybe-dvi-hello
934 dvi-host: maybe-dvi-indent
935 dvi-host: maybe-dvi-intl
936 dvi-host: maybe-dvi-tcl
937 dvi-host: maybe-dvi-itcl
938 dvi-host: maybe-dvi-ld
939 dvi-host: maybe-dvi-libcpp
940 dvi-host: maybe-dvi-libdecnumber
941 dvi-host: maybe-dvi-libgui
942 dvi-host: maybe-dvi-libiberty
943 dvi-host: maybe-dvi-libtool
944 dvi-host: maybe-dvi-m4
945 dvi-host: maybe-dvi-make
946 dvi-host: maybe-dvi-mmalloc
947 dvi-host: maybe-dvi-patch
948 dvi-host: maybe-dvi-perl
949 dvi-host: maybe-dvi-prms
950 dvi-host: maybe-dvi-rcs
951 dvi-host: maybe-dvi-readline
952 dvi-host: maybe-dvi-release
953 dvi-host: maybe-dvi-recode
954 dvi-host: maybe-dvi-sed
955 dvi-host: maybe-dvi-send-pr
956 dvi-host: maybe-dvi-shellutils
957 dvi-host: maybe-dvi-sid
958 dvi-host: maybe-dvi-sim
959 dvi-host: maybe-dvi-tar
960 dvi-host: maybe-dvi-texinfo
961 dvi-host: maybe-dvi-textutils
962 dvi-host: maybe-dvi-time
963 dvi-host: maybe-dvi-uudecode
964 dvi-host: maybe-dvi-wdiff
965 dvi-host: maybe-dvi-zip
966 dvi-host: maybe-dvi-zlib
967 dvi-host: maybe-dvi-gdb
968 dvi-host: maybe-dvi-expect
969 dvi-host: maybe-dvi-guile
970 dvi-host: maybe-dvi-tk
971 dvi-host: maybe-dvi-libtermcap
972 dvi-host: maybe-dvi-utils
973 dvi-host: maybe-dvi-gnattools
975 .PHONY: dvi-target
977 dvi-target: maybe-dvi-target-libstdc++-v3
978 dvi-target: maybe-dvi-target-libmudflap
979 dvi-target: maybe-dvi-target-libssp
980 dvi-target: maybe-dvi-target-newlib
981 dvi-target: maybe-dvi-target-libgfortran
982 dvi-target: maybe-dvi-target-libobjc
983 dvi-target: maybe-dvi-target-libtermcap
984 dvi-target: maybe-dvi-target-winsup
985 dvi-target: maybe-dvi-target-libgloss
986 dvi-target: maybe-dvi-target-libiberty
987 dvi-target: maybe-dvi-target-gperf
988 dvi-target: maybe-dvi-target-examples
989 dvi-target: maybe-dvi-target-libffi
990 dvi-target: maybe-dvi-target-libjava
991 dvi-target: maybe-dvi-target-zlib
992 dvi-target: maybe-dvi-target-boehm-gc
993 dvi-target: maybe-dvi-target-qthreads
994 dvi-target: maybe-dvi-target-rda
995 dvi-target: maybe-dvi-target-libada
996 dvi-target: maybe-dvi-target-libgomp
998 .PHONY: do-html
999 do-html:
1000 @: $(MAKE); $(unstage)
1001 @r=`${PWD_COMMAND}`; export r; \
1002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1003 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1004 html-target
1007 .PHONY: html-host
1009 html-host: maybe-html-ash
1010 html-host: maybe-html-autoconf
1011 html-host: maybe-html-automake
1012 html-host: maybe-html-bash
1013 html-host: maybe-html-bfd
1014 html-host: maybe-html-opcodes
1015 html-host: maybe-html-binutils
1016 html-host: maybe-html-bison
1017 html-host: maybe-html-byacc
1018 html-host: maybe-html-bzip2
1019 html-host: maybe-html-dejagnu
1020 html-host: maybe-html-diff
1021 html-host: maybe-html-dosutils
1022 html-host: maybe-html-etc
1023 html-host: maybe-html-fastjar
1024 html-host: maybe-html-fileutils
1025 html-host: maybe-html-findutils
1026 html-host: maybe-html-find
1027 html-host: maybe-html-fixincludes
1028 html-host: maybe-html-flex
1029 html-host: maybe-html-gas
1030 html-host: maybe-html-gcc
1031 html-host: maybe-html-gawk
1032 html-host: maybe-html-gettext
1033 html-host: maybe-html-gnuserv
1034 html-host: maybe-html-gprof
1035 html-host: maybe-html-gzip
1036 html-host: maybe-html-hello
1037 html-host: maybe-html-indent
1038 html-host: maybe-html-intl
1039 html-host: maybe-html-tcl
1040 html-host: maybe-html-itcl
1041 html-host: maybe-html-ld
1042 html-host: maybe-html-libcpp
1043 html-host: maybe-html-libdecnumber
1044 html-host: maybe-html-libgui
1045 html-host: maybe-html-libiberty
1046 html-host: maybe-html-libtool
1047 html-host: maybe-html-m4
1048 html-host: maybe-html-make
1049 html-host: maybe-html-mmalloc
1050 html-host: maybe-html-patch
1051 html-host: maybe-html-perl
1052 html-host: maybe-html-prms
1053 html-host: maybe-html-rcs
1054 html-host: maybe-html-readline
1055 html-host: maybe-html-release
1056 html-host: maybe-html-recode
1057 html-host: maybe-html-sed
1058 html-host: maybe-html-send-pr
1059 html-host: maybe-html-shellutils
1060 html-host: maybe-html-sid
1061 html-host: maybe-html-sim
1062 html-host: maybe-html-tar
1063 html-host: maybe-html-texinfo
1064 html-host: maybe-html-textutils
1065 html-host: maybe-html-time
1066 html-host: maybe-html-uudecode
1067 html-host: maybe-html-wdiff
1068 html-host: maybe-html-zip
1069 html-host: maybe-html-zlib
1070 html-host: maybe-html-gdb
1071 html-host: maybe-html-expect
1072 html-host: maybe-html-guile
1073 html-host: maybe-html-tk
1074 html-host: maybe-html-libtermcap
1075 html-host: maybe-html-utils
1076 html-host: maybe-html-gnattools
1078 .PHONY: html-target
1080 html-target: maybe-html-target-libstdc++-v3
1081 html-target: maybe-html-target-libmudflap
1082 html-target: maybe-html-target-libssp
1083 html-target: maybe-html-target-newlib
1084 html-target: maybe-html-target-libgfortran
1085 html-target: maybe-html-target-libobjc
1086 html-target: maybe-html-target-libtermcap
1087 html-target: maybe-html-target-winsup
1088 html-target: maybe-html-target-libgloss
1089 html-target: maybe-html-target-libiberty
1090 html-target: maybe-html-target-gperf
1091 html-target: maybe-html-target-examples
1092 html-target: maybe-html-target-libffi
1093 html-target: maybe-html-target-libjava
1094 html-target: maybe-html-target-zlib
1095 html-target: maybe-html-target-boehm-gc
1096 html-target: maybe-html-target-qthreads
1097 html-target: maybe-html-target-rda
1098 html-target: maybe-html-target-libada
1099 html-target: maybe-html-target-libgomp
1101 .PHONY: do-TAGS
1102 do-TAGS:
1103 @: $(MAKE); $(unstage)
1104 @r=`${PWD_COMMAND}`; export r; \
1105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1106 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1107 TAGS-target
1110 .PHONY: TAGS-host
1112 TAGS-host: maybe-TAGS-ash
1113 TAGS-host: maybe-TAGS-autoconf
1114 TAGS-host: maybe-TAGS-automake
1115 TAGS-host: maybe-TAGS-bash
1116 TAGS-host: maybe-TAGS-bfd
1117 TAGS-host: maybe-TAGS-opcodes
1118 TAGS-host: maybe-TAGS-binutils
1119 TAGS-host: maybe-TAGS-bison
1120 TAGS-host: maybe-TAGS-byacc
1121 TAGS-host: maybe-TAGS-bzip2
1122 TAGS-host: maybe-TAGS-dejagnu
1123 TAGS-host: maybe-TAGS-diff
1124 TAGS-host: maybe-TAGS-dosutils
1125 TAGS-host: maybe-TAGS-etc
1126 TAGS-host: maybe-TAGS-fastjar
1127 TAGS-host: maybe-TAGS-fileutils
1128 TAGS-host: maybe-TAGS-findutils
1129 TAGS-host: maybe-TAGS-find
1130 TAGS-host: maybe-TAGS-fixincludes
1131 TAGS-host: maybe-TAGS-flex
1132 TAGS-host: maybe-TAGS-gas
1133 TAGS-host: maybe-TAGS-gcc
1134 TAGS-host: maybe-TAGS-gawk
1135 TAGS-host: maybe-TAGS-gettext
1136 TAGS-host: maybe-TAGS-gnuserv
1137 TAGS-host: maybe-TAGS-gprof
1138 TAGS-host: maybe-TAGS-gzip
1139 TAGS-host: maybe-TAGS-hello
1140 TAGS-host: maybe-TAGS-indent
1141 TAGS-host: maybe-TAGS-intl
1142 TAGS-host: maybe-TAGS-tcl
1143 TAGS-host: maybe-TAGS-itcl
1144 TAGS-host: maybe-TAGS-ld
1145 TAGS-host: maybe-TAGS-libcpp
1146 TAGS-host: maybe-TAGS-libdecnumber
1147 TAGS-host: maybe-TAGS-libgui
1148 TAGS-host: maybe-TAGS-libiberty
1149 TAGS-host: maybe-TAGS-libtool
1150 TAGS-host: maybe-TAGS-m4
1151 TAGS-host: maybe-TAGS-make
1152 TAGS-host: maybe-TAGS-mmalloc
1153 TAGS-host: maybe-TAGS-patch
1154 TAGS-host: maybe-TAGS-perl
1155 TAGS-host: maybe-TAGS-prms
1156 TAGS-host: maybe-TAGS-rcs
1157 TAGS-host: maybe-TAGS-readline
1158 TAGS-host: maybe-TAGS-release
1159 TAGS-host: maybe-TAGS-recode
1160 TAGS-host: maybe-TAGS-sed
1161 TAGS-host: maybe-TAGS-send-pr
1162 TAGS-host: maybe-TAGS-shellutils
1163 TAGS-host: maybe-TAGS-sid
1164 TAGS-host: maybe-TAGS-sim
1165 TAGS-host: maybe-TAGS-tar
1166 TAGS-host: maybe-TAGS-texinfo
1167 TAGS-host: maybe-TAGS-textutils
1168 TAGS-host: maybe-TAGS-time
1169 TAGS-host: maybe-TAGS-uudecode
1170 TAGS-host: maybe-TAGS-wdiff
1171 TAGS-host: maybe-TAGS-zip
1172 TAGS-host: maybe-TAGS-zlib
1173 TAGS-host: maybe-TAGS-gdb
1174 TAGS-host: maybe-TAGS-expect
1175 TAGS-host: maybe-TAGS-guile
1176 TAGS-host: maybe-TAGS-tk
1177 TAGS-host: maybe-TAGS-libtermcap
1178 TAGS-host: maybe-TAGS-utils
1179 TAGS-host: maybe-TAGS-gnattools
1181 .PHONY: TAGS-target
1183 TAGS-target: maybe-TAGS-target-libstdc++-v3
1184 TAGS-target: maybe-TAGS-target-libmudflap
1185 TAGS-target: maybe-TAGS-target-libssp
1186 TAGS-target: maybe-TAGS-target-newlib
1187 TAGS-target: maybe-TAGS-target-libgfortran
1188 TAGS-target: maybe-TAGS-target-libobjc
1189 TAGS-target: maybe-TAGS-target-libtermcap
1190 TAGS-target: maybe-TAGS-target-winsup
1191 TAGS-target: maybe-TAGS-target-libgloss
1192 TAGS-target: maybe-TAGS-target-libiberty
1193 TAGS-target: maybe-TAGS-target-gperf
1194 TAGS-target: maybe-TAGS-target-examples
1195 TAGS-target: maybe-TAGS-target-libffi
1196 TAGS-target: maybe-TAGS-target-libjava
1197 TAGS-target: maybe-TAGS-target-zlib
1198 TAGS-target: maybe-TAGS-target-boehm-gc
1199 TAGS-target: maybe-TAGS-target-qthreads
1200 TAGS-target: maybe-TAGS-target-rda
1201 TAGS-target: maybe-TAGS-target-libada
1202 TAGS-target: maybe-TAGS-target-libgomp
1204 .PHONY: do-install-info
1205 do-install-info:
1206 @: $(MAKE); $(unstage)
1207 @r=`${PWD_COMMAND}`; export r; \
1208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1209 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1210 install-info-target
1213 .PHONY: install-info-host
1215 install-info-host: maybe-install-info-ash
1216 install-info-host: maybe-install-info-autoconf
1217 install-info-host: maybe-install-info-automake
1218 install-info-host: maybe-install-info-bash
1219 install-info-host: maybe-install-info-bfd
1220 install-info-host: maybe-install-info-opcodes
1221 install-info-host: maybe-install-info-binutils
1222 install-info-host: maybe-install-info-bison
1223 install-info-host: maybe-install-info-byacc
1224 install-info-host: maybe-install-info-bzip2
1225 install-info-host: maybe-install-info-dejagnu
1226 install-info-host: maybe-install-info-diff
1227 install-info-host: maybe-install-info-dosutils
1228 install-info-host: maybe-install-info-etc
1229 install-info-host: maybe-install-info-fastjar
1230 install-info-host: maybe-install-info-fileutils
1231 install-info-host: maybe-install-info-findutils
1232 install-info-host: maybe-install-info-find
1233 install-info-host: maybe-install-info-fixincludes
1234 install-info-host: maybe-install-info-flex
1235 install-info-host: maybe-install-info-gas
1236 install-info-host: maybe-install-info-gcc
1237 install-info-host: maybe-install-info-gawk
1238 install-info-host: maybe-install-info-gettext
1239 install-info-host: maybe-install-info-gnuserv
1240 install-info-host: maybe-install-info-gprof
1241 install-info-host: maybe-install-info-gzip
1242 install-info-host: maybe-install-info-hello
1243 install-info-host: maybe-install-info-indent
1244 install-info-host: maybe-install-info-intl
1245 install-info-host: maybe-install-info-tcl
1246 install-info-host: maybe-install-info-itcl
1247 install-info-host: maybe-install-info-ld
1248 install-info-host: maybe-install-info-libcpp
1249 install-info-host: maybe-install-info-libdecnumber
1250 install-info-host: maybe-install-info-libgui
1251 install-info-host: maybe-install-info-libiberty
1252 install-info-host: maybe-install-info-libtool
1253 install-info-host: maybe-install-info-m4
1254 install-info-host: maybe-install-info-make
1255 install-info-host: maybe-install-info-mmalloc
1256 install-info-host: maybe-install-info-patch
1257 install-info-host: maybe-install-info-perl
1258 install-info-host: maybe-install-info-prms
1259 install-info-host: maybe-install-info-rcs
1260 install-info-host: maybe-install-info-readline
1261 install-info-host: maybe-install-info-release
1262 install-info-host: maybe-install-info-recode
1263 install-info-host: maybe-install-info-sed
1264 install-info-host: maybe-install-info-send-pr
1265 install-info-host: maybe-install-info-shellutils
1266 install-info-host: maybe-install-info-sid
1267 install-info-host: maybe-install-info-sim
1268 install-info-host: maybe-install-info-tar
1269 install-info-host: maybe-install-info-texinfo
1270 install-info-host: maybe-install-info-textutils
1271 install-info-host: maybe-install-info-time
1272 install-info-host: maybe-install-info-uudecode
1273 install-info-host: maybe-install-info-wdiff
1274 install-info-host: maybe-install-info-zip
1275 install-info-host: maybe-install-info-zlib
1276 install-info-host: maybe-install-info-gdb
1277 install-info-host: maybe-install-info-expect
1278 install-info-host: maybe-install-info-guile
1279 install-info-host: maybe-install-info-tk
1280 install-info-host: maybe-install-info-libtermcap
1281 install-info-host: maybe-install-info-utils
1282 install-info-host: maybe-install-info-gnattools
1284 .PHONY: install-info-target
1286 install-info-target: maybe-install-info-target-libstdc++-v3
1287 install-info-target: maybe-install-info-target-libmudflap
1288 install-info-target: maybe-install-info-target-libssp
1289 install-info-target: maybe-install-info-target-newlib
1290 install-info-target: maybe-install-info-target-libgfortran
1291 install-info-target: maybe-install-info-target-libobjc
1292 install-info-target: maybe-install-info-target-libtermcap
1293 install-info-target: maybe-install-info-target-winsup
1294 install-info-target: maybe-install-info-target-libgloss
1295 install-info-target: maybe-install-info-target-libiberty
1296 install-info-target: maybe-install-info-target-gperf
1297 install-info-target: maybe-install-info-target-examples
1298 install-info-target: maybe-install-info-target-libffi
1299 install-info-target: maybe-install-info-target-libjava
1300 install-info-target: maybe-install-info-target-zlib
1301 install-info-target: maybe-install-info-target-boehm-gc
1302 install-info-target: maybe-install-info-target-qthreads
1303 install-info-target: maybe-install-info-target-rda
1304 install-info-target: maybe-install-info-target-libada
1305 install-info-target: maybe-install-info-target-libgomp
1307 .PHONY: do-install-html
1308 do-install-html:
1309 @: $(MAKE); $(unstage)
1310 @r=`${PWD_COMMAND}`; export r; \
1311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1313 install-html-target
1316 .PHONY: install-html-host
1318 install-html-host: maybe-install-html-ash
1319 install-html-host: maybe-install-html-autoconf
1320 install-html-host: maybe-install-html-automake
1321 install-html-host: maybe-install-html-bash
1322 install-html-host: maybe-install-html-bfd
1323 install-html-host: maybe-install-html-opcodes
1324 install-html-host: maybe-install-html-binutils
1325 install-html-host: maybe-install-html-bison
1326 install-html-host: maybe-install-html-byacc
1327 install-html-host: maybe-install-html-bzip2
1328 install-html-host: maybe-install-html-dejagnu
1329 install-html-host: maybe-install-html-diff
1330 install-html-host: maybe-install-html-dosutils
1331 install-html-host: maybe-install-html-etc
1332 install-html-host: maybe-install-html-fastjar
1333 install-html-host: maybe-install-html-fileutils
1334 install-html-host: maybe-install-html-findutils
1335 install-html-host: maybe-install-html-find
1336 install-html-host: maybe-install-html-fixincludes
1337 install-html-host: maybe-install-html-flex
1338 install-html-host: maybe-install-html-gas
1339 install-html-host: maybe-install-html-gcc
1340 install-html-host: maybe-install-html-gawk
1341 install-html-host: maybe-install-html-gettext
1342 install-html-host: maybe-install-html-gnuserv
1343 install-html-host: maybe-install-html-gprof
1344 install-html-host: maybe-install-html-gzip
1345 install-html-host: maybe-install-html-hello
1346 install-html-host: maybe-install-html-indent
1347 install-html-host: maybe-install-html-intl
1348 install-html-host: maybe-install-html-tcl
1349 install-html-host: maybe-install-html-itcl
1350 install-html-host: maybe-install-html-ld
1351 install-html-host: maybe-install-html-libcpp
1352 install-html-host: maybe-install-html-libdecnumber
1353 install-html-host: maybe-install-html-libgui
1354 install-html-host: maybe-install-html-libiberty
1355 install-html-host: maybe-install-html-libtool
1356 install-html-host: maybe-install-html-m4
1357 install-html-host: maybe-install-html-make
1358 install-html-host: maybe-install-html-mmalloc
1359 install-html-host: maybe-install-html-patch
1360 install-html-host: maybe-install-html-perl
1361 install-html-host: maybe-install-html-prms
1362 install-html-host: maybe-install-html-rcs
1363 install-html-host: maybe-install-html-readline
1364 install-html-host: maybe-install-html-release
1365 install-html-host: maybe-install-html-recode
1366 install-html-host: maybe-install-html-sed
1367 install-html-host: maybe-install-html-send-pr
1368 install-html-host: maybe-install-html-shellutils
1369 install-html-host: maybe-install-html-sid
1370 install-html-host: maybe-install-html-sim
1371 install-html-host: maybe-install-html-tar
1372 install-html-host: maybe-install-html-texinfo
1373 install-html-host: maybe-install-html-textutils
1374 install-html-host: maybe-install-html-time
1375 install-html-host: maybe-install-html-uudecode
1376 install-html-host: maybe-install-html-wdiff
1377 install-html-host: maybe-install-html-zip
1378 install-html-host: maybe-install-html-zlib
1379 install-html-host: maybe-install-html-gdb
1380 install-html-host: maybe-install-html-expect
1381 install-html-host: maybe-install-html-guile
1382 install-html-host: maybe-install-html-tk
1383 install-html-host: maybe-install-html-libtermcap
1384 install-html-host: maybe-install-html-utils
1385 install-html-host: maybe-install-html-gnattools
1387 .PHONY: install-html-target
1389 install-html-target: maybe-install-html-target-libstdc++-v3
1390 install-html-target: maybe-install-html-target-libmudflap
1391 install-html-target: maybe-install-html-target-libssp
1392 install-html-target: maybe-install-html-target-newlib
1393 install-html-target: maybe-install-html-target-libgfortran
1394 install-html-target: maybe-install-html-target-libobjc
1395 install-html-target: maybe-install-html-target-libtermcap
1396 install-html-target: maybe-install-html-target-winsup
1397 install-html-target: maybe-install-html-target-libgloss
1398 install-html-target: maybe-install-html-target-libiberty
1399 install-html-target: maybe-install-html-target-gperf
1400 install-html-target: maybe-install-html-target-examples
1401 install-html-target: maybe-install-html-target-libffi
1402 install-html-target: maybe-install-html-target-libjava
1403 install-html-target: maybe-install-html-target-zlib
1404 install-html-target: maybe-install-html-target-boehm-gc
1405 install-html-target: maybe-install-html-target-qthreads
1406 install-html-target: maybe-install-html-target-rda
1407 install-html-target: maybe-install-html-target-libada
1408 install-html-target: maybe-install-html-target-libgomp
1410 .PHONY: do-installcheck
1411 do-installcheck:
1412 @: $(MAKE); $(unstage)
1413 @r=`${PWD_COMMAND}`; export r; \
1414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1415 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1416 installcheck-target
1419 .PHONY: installcheck-host
1421 installcheck-host: maybe-installcheck-ash
1422 installcheck-host: maybe-installcheck-autoconf
1423 installcheck-host: maybe-installcheck-automake
1424 installcheck-host: maybe-installcheck-bash
1425 installcheck-host: maybe-installcheck-bfd
1426 installcheck-host: maybe-installcheck-opcodes
1427 installcheck-host: maybe-installcheck-binutils
1428 installcheck-host: maybe-installcheck-bison
1429 installcheck-host: maybe-installcheck-byacc
1430 installcheck-host: maybe-installcheck-bzip2
1431 installcheck-host: maybe-installcheck-dejagnu
1432 installcheck-host: maybe-installcheck-diff
1433 installcheck-host: maybe-installcheck-dosutils
1434 installcheck-host: maybe-installcheck-etc
1435 installcheck-host: maybe-installcheck-fastjar
1436 installcheck-host: maybe-installcheck-fileutils
1437 installcheck-host: maybe-installcheck-findutils
1438 installcheck-host: maybe-installcheck-find
1439 installcheck-host: maybe-installcheck-fixincludes
1440 installcheck-host: maybe-installcheck-flex
1441 installcheck-host: maybe-installcheck-gas
1442 installcheck-host: maybe-installcheck-gcc
1443 installcheck-host: maybe-installcheck-gawk
1444 installcheck-host: maybe-installcheck-gettext
1445 installcheck-host: maybe-installcheck-gnuserv
1446 installcheck-host: maybe-installcheck-gprof
1447 installcheck-host: maybe-installcheck-gzip
1448 installcheck-host: maybe-installcheck-hello
1449 installcheck-host: maybe-installcheck-indent
1450 installcheck-host: maybe-installcheck-intl
1451 installcheck-host: maybe-installcheck-tcl
1452 installcheck-host: maybe-installcheck-itcl
1453 installcheck-host: maybe-installcheck-ld
1454 installcheck-host: maybe-installcheck-libcpp
1455 installcheck-host: maybe-installcheck-libdecnumber
1456 installcheck-host: maybe-installcheck-libgui
1457 installcheck-host: maybe-installcheck-libiberty
1458 installcheck-host: maybe-installcheck-libtool
1459 installcheck-host: maybe-installcheck-m4
1460 installcheck-host: maybe-installcheck-make
1461 installcheck-host: maybe-installcheck-mmalloc
1462 installcheck-host: maybe-installcheck-patch
1463 installcheck-host: maybe-installcheck-perl
1464 installcheck-host: maybe-installcheck-prms
1465 installcheck-host: maybe-installcheck-rcs
1466 installcheck-host: maybe-installcheck-readline
1467 installcheck-host: maybe-installcheck-release
1468 installcheck-host: maybe-installcheck-recode
1469 installcheck-host: maybe-installcheck-sed
1470 installcheck-host: maybe-installcheck-send-pr
1471 installcheck-host: maybe-installcheck-shellutils
1472 installcheck-host: maybe-installcheck-sid
1473 installcheck-host: maybe-installcheck-sim
1474 installcheck-host: maybe-installcheck-tar
1475 installcheck-host: maybe-installcheck-texinfo
1476 installcheck-host: maybe-installcheck-textutils
1477 installcheck-host: maybe-installcheck-time
1478 installcheck-host: maybe-installcheck-uudecode
1479 installcheck-host: maybe-installcheck-wdiff
1480 installcheck-host: maybe-installcheck-zip
1481 installcheck-host: maybe-installcheck-zlib
1482 installcheck-host: maybe-installcheck-gdb
1483 installcheck-host: maybe-installcheck-expect
1484 installcheck-host: maybe-installcheck-guile
1485 installcheck-host: maybe-installcheck-tk
1486 installcheck-host: maybe-installcheck-libtermcap
1487 installcheck-host: maybe-installcheck-utils
1488 installcheck-host: maybe-installcheck-gnattools
1490 .PHONY: installcheck-target
1492 installcheck-target: maybe-installcheck-target-libstdc++-v3
1493 installcheck-target: maybe-installcheck-target-libmudflap
1494 installcheck-target: maybe-installcheck-target-libssp
1495 installcheck-target: maybe-installcheck-target-newlib
1496 installcheck-target: maybe-installcheck-target-libgfortran
1497 installcheck-target: maybe-installcheck-target-libobjc
1498 installcheck-target: maybe-installcheck-target-libtermcap
1499 installcheck-target: maybe-installcheck-target-winsup
1500 installcheck-target: maybe-installcheck-target-libgloss
1501 installcheck-target: maybe-installcheck-target-libiberty
1502 installcheck-target: maybe-installcheck-target-gperf
1503 installcheck-target: maybe-installcheck-target-examples
1504 installcheck-target: maybe-installcheck-target-libffi
1505 installcheck-target: maybe-installcheck-target-libjava
1506 installcheck-target: maybe-installcheck-target-zlib
1507 installcheck-target: maybe-installcheck-target-boehm-gc
1508 installcheck-target: maybe-installcheck-target-qthreads
1509 installcheck-target: maybe-installcheck-target-rda
1510 installcheck-target: maybe-installcheck-target-libada
1511 installcheck-target: maybe-installcheck-target-libgomp
1513 .PHONY: do-mostlyclean
1514 do-mostlyclean:
1515 @: $(MAKE); $(unstage)
1516 @r=`${PWD_COMMAND}`; export r; \
1517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1518 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1519 mostlyclean-target
1522 .PHONY: mostlyclean-host
1524 mostlyclean-host: maybe-mostlyclean-ash
1525 mostlyclean-host: maybe-mostlyclean-autoconf
1526 mostlyclean-host: maybe-mostlyclean-automake
1527 mostlyclean-host: maybe-mostlyclean-bash
1528 mostlyclean-host: maybe-mostlyclean-bfd
1529 mostlyclean-host: maybe-mostlyclean-opcodes
1530 mostlyclean-host: maybe-mostlyclean-binutils
1531 mostlyclean-host: maybe-mostlyclean-bison
1532 mostlyclean-host: maybe-mostlyclean-byacc
1533 mostlyclean-host: maybe-mostlyclean-bzip2
1534 mostlyclean-host: maybe-mostlyclean-dejagnu
1535 mostlyclean-host: maybe-mostlyclean-diff
1536 mostlyclean-host: maybe-mostlyclean-dosutils
1537 mostlyclean-host: maybe-mostlyclean-etc
1538 mostlyclean-host: maybe-mostlyclean-fastjar
1539 mostlyclean-host: maybe-mostlyclean-fileutils
1540 mostlyclean-host: maybe-mostlyclean-findutils
1541 mostlyclean-host: maybe-mostlyclean-find
1542 mostlyclean-host: maybe-mostlyclean-fixincludes
1543 mostlyclean-host: maybe-mostlyclean-flex
1544 mostlyclean-host: maybe-mostlyclean-gas
1545 mostlyclean-host: maybe-mostlyclean-gcc
1546 mostlyclean-host: maybe-mostlyclean-gawk
1547 mostlyclean-host: maybe-mostlyclean-gettext
1548 mostlyclean-host: maybe-mostlyclean-gnuserv
1549 mostlyclean-host: maybe-mostlyclean-gprof
1550 mostlyclean-host: maybe-mostlyclean-gzip
1551 mostlyclean-host: maybe-mostlyclean-hello
1552 mostlyclean-host: maybe-mostlyclean-indent
1553 mostlyclean-host: maybe-mostlyclean-intl
1554 mostlyclean-host: maybe-mostlyclean-tcl
1555 mostlyclean-host: maybe-mostlyclean-itcl
1556 mostlyclean-host: maybe-mostlyclean-ld
1557 mostlyclean-host: maybe-mostlyclean-libcpp
1558 mostlyclean-host: maybe-mostlyclean-libdecnumber
1559 mostlyclean-host: maybe-mostlyclean-libgui
1560 mostlyclean-host: maybe-mostlyclean-libiberty
1561 mostlyclean-host: maybe-mostlyclean-libtool
1562 mostlyclean-host: maybe-mostlyclean-m4
1563 mostlyclean-host: maybe-mostlyclean-make
1564 mostlyclean-host: maybe-mostlyclean-mmalloc
1565 mostlyclean-host: maybe-mostlyclean-patch
1566 mostlyclean-host: maybe-mostlyclean-perl
1567 mostlyclean-host: maybe-mostlyclean-prms
1568 mostlyclean-host: maybe-mostlyclean-rcs
1569 mostlyclean-host: maybe-mostlyclean-readline
1570 mostlyclean-host: maybe-mostlyclean-release
1571 mostlyclean-host: maybe-mostlyclean-recode
1572 mostlyclean-host: maybe-mostlyclean-sed
1573 mostlyclean-host: maybe-mostlyclean-send-pr
1574 mostlyclean-host: maybe-mostlyclean-shellutils
1575 mostlyclean-host: maybe-mostlyclean-sid
1576 mostlyclean-host: maybe-mostlyclean-sim
1577 mostlyclean-host: maybe-mostlyclean-tar
1578 mostlyclean-host: maybe-mostlyclean-texinfo
1579 mostlyclean-host: maybe-mostlyclean-textutils
1580 mostlyclean-host: maybe-mostlyclean-time
1581 mostlyclean-host: maybe-mostlyclean-uudecode
1582 mostlyclean-host: maybe-mostlyclean-wdiff
1583 mostlyclean-host: maybe-mostlyclean-zip
1584 mostlyclean-host: maybe-mostlyclean-zlib
1585 mostlyclean-host: maybe-mostlyclean-gdb
1586 mostlyclean-host: maybe-mostlyclean-expect
1587 mostlyclean-host: maybe-mostlyclean-guile
1588 mostlyclean-host: maybe-mostlyclean-tk
1589 mostlyclean-host: maybe-mostlyclean-libtermcap
1590 mostlyclean-host: maybe-mostlyclean-utils
1591 mostlyclean-host: maybe-mostlyclean-gnattools
1593 .PHONY: mostlyclean-target
1595 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1596 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1597 mostlyclean-target: maybe-mostlyclean-target-libssp
1598 mostlyclean-target: maybe-mostlyclean-target-newlib
1599 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1600 mostlyclean-target: maybe-mostlyclean-target-libobjc
1601 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1602 mostlyclean-target: maybe-mostlyclean-target-winsup
1603 mostlyclean-target: maybe-mostlyclean-target-libgloss
1604 mostlyclean-target: maybe-mostlyclean-target-libiberty
1605 mostlyclean-target: maybe-mostlyclean-target-gperf
1606 mostlyclean-target: maybe-mostlyclean-target-examples
1607 mostlyclean-target: maybe-mostlyclean-target-libffi
1608 mostlyclean-target: maybe-mostlyclean-target-libjava
1609 mostlyclean-target: maybe-mostlyclean-target-zlib
1610 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1611 mostlyclean-target: maybe-mostlyclean-target-qthreads
1612 mostlyclean-target: maybe-mostlyclean-target-rda
1613 mostlyclean-target: maybe-mostlyclean-target-libada
1614 mostlyclean-target: maybe-mostlyclean-target-libgomp
1616 .PHONY: do-clean
1617 do-clean:
1618 @: $(MAKE); $(unstage)
1619 @r=`${PWD_COMMAND}`; export r; \
1620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1621 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1622 clean-target
1625 .PHONY: clean-host
1627 clean-host: maybe-clean-ash
1628 clean-host: maybe-clean-autoconf
1629 clean-host: maybe-clean-automake
1630 clean-host: maybe-clean-bash
1631 clean-host: maybe-clean-bfd
1632 clean-host: maybe-clean-opcodes
1633 clean-host: maybe-clean-binutils
1634 clean-host: maybe-clean-bison
1635 clean-host: maybe-clean-byacc
1636 clean-host: maybe-clean-bzip2
1637 clean-host: maybe-clean-dejagnu
1638 clean-host: maybe-clean-diff
1639 clean-host: maybe-clean-dosutils
1640 clean-host: maybe-clean-etc
1641 clean-host: maybe-clean-fastjar
1642 clean-host: maybe-clean-fileutils
1643 clean-host: maybe-clean-findutils
1644 clean-host: maybe-clean-find
1645 clean-host: maybe-clean-fixincludes
1646 clean-host: maybe-clean-flex
1647 clean-host: maybe-clean-gas
1648 clean-host: maybe-clean-gcc
1649 clean-host: maybe-clean-gawk
1650 clean-host: maybe-clean-gettext
1651 clean-host: maybe-clean-gnuserv
1652 clean-host: maybe-clean-gprof
1653 clean-host: maybe-clean-gzip
1654 clean-host: maybe-clean-hello
1655 clean-host: maybe-clean-indent
1656 clean-host: maybe-clean-intl
1657 clean-host: maybe-clean-tcl
1658 clean-host: maybe-clean-itcl
1659 clean-host: maybe-clean-ld
1660 clean-host: maybe-clean-libcpp
1661 clean-host: maybe-clean-libdecnumber
1662 clean-host: maybe-clean-libgui
1663 clean-host: maybe-clean-libiberty
1664 clean-host: maybe-clean-libtool
1665 clean-host: maybe-clean-m4
1666 clean-host: maybe-clean-make
1667 clean-host: maybe-clean-mmalloc
1668 clean-host: maybe-clean-patch
1669 clean-host: maybe-clean-perl
1670 clean-host: maybe-clean-prms
1671 clean-host: maybe-clean-rcs
1672 clean-host: maybe-clean-readline
1673 clean-host: maybe-clean-release
1674 clean-host: maybe-clean-recode
1675 clean-host: maybe-clean-sed
1676 clean-host: maybe-clean-send-pr
1677 clean-host: maybe-clean-shellutils
1678 clean-host: maybe-clean-sid
1679 clean-host: maybe-clean-sim
1680 clean-host: maybe-clean-tar
1681 clean-host: maybe-clean-texinfo
1682 clean-host: maybe-clean-textutils
1683 clean-host: maybe-clean-time
1684 clean-host: maybe-clean-uudecode
1685 clean-host: maybe-clean-wdiff
1686 clean-host: maybe-clean-zip
1687 clean-host: maybe-clean-zlib
1688 clean-host: maybe-clean-gdb
1689 clean-host: maybe-clean-expect
1690 clean-host: maybe-clean-guile
1691 clean-host: maybe-clean-tk
1692 clean-host: maybe-clean-libtermcap
1693 clean-host: maybe-clean-utils
1694 clean-host: maybe-clean-gnattools
1696 .PHONY: clean-target
1698 clean-target: maybe-clean-target-libstdc++-v3
1699 clean-target: maybe-clean-target-libmudflap
1700 clean-target: maybe-clean-target-libssp
1701 clean-target: maybe-clean-target-newlib
1702 clean-target: maybe-clean-target-libgfortran
1703 clean-target: maybe-clean-target-libobjc
1704 clean-target: maybe-clean-target-libtermcap
1705 clean-target: maybe-clean-target-winsup
1706 clean-target: maybe-clean-target-libgloss
1707 clean-target: maybe-clean-target-libiberty
1708 clean-target: maybe-clean-target-gperf
1709 clean-target: maybe-clean-target-examples
1710 clean-target: maybe-clean-target-libffi
1711 clean-target: maybe-clean-target-libjava
1712 clean-target: maybe-clean-target-zlib
1713 clean-target: maybe-clean-target-boehm-gc
1714 clean-target: maybe-clean-target-qthreads
1715 clean-target: maybe-clean-target-rda
1716 clean-target: maybe-clean-target-libada
1717 clean-target: maybe-clean-target-libgomp
1719 .PHONY: do-distclean
1720 do-distclean:
1721 @: $(MAKE); $(unstage)
1722 @r=`${PWD_COMMAND}`; export r; \
1723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1724 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1725 distclean-target
1728 .PHONY: distclean-host
1730 distclean-host: maybe-distclean-ash
1731 distclean-host: maybe-distclean-autoconf
1732 distclean-host: maybe-distclean-automake
1733 distclean-host: maybe-distclean-bash
1734 distclean-host: maybe-distclean-bfd
1735 distclean-host: maybe-distclean-opcodes
1736 distclean-host: maybe-distclean-binutils
1737 distclean-host: maybe-distclean-bison
1738 distclean-host: maybe-distclean-byacc
1739 distclean-host: maybe-distclean-bzip2
1740 distclean-host: maybe-distclean-dejagnu
1741 distclean-host: maybe-distclean-diff
1742 distclean-host: maybe-distclean-dosutils
1743 distclean-host: maybe-distclean-etc
1744 distclean-host: maybe-distclean-fastjar
1745 distclean-host: maybe-distclean-fileutils
1746 distclean-host: maybe-distclean-findutils
1747 distclean-host: maybe-distclean-find
1748 distclean-host: maybe-distclean-fixincludes
1749 distclean-host: maybe-distclean-flex
1750 distclean-host: maybe-distclean-gas
1751 distclean-host: maybe-distclean-gcc
1752 distclean-host: maybe-distclean-gawk
1753 distclean-host: maybe-distclean-gettext
1754 distclean-host: maybe-distclean-gnuserv
1755 distclean-host: maybe-distclean-gprof
1756 distclean-host: maybe-distclean-gzip
1757 distclean-host: maybe-distclean-hello
1758 distclean-host: maybe-distclean-indent
1759 distclean-host: maybe-distclean-intl
1760 distclean-host: maybe-distclean-tcl
1761 distclean-host: maybe-distclean-itcl
1762 distclean-host: maybe-distclean-ld
1763 distclean-host: maybe-distclean-libcpp
1764 distclean-host: maybe-distclean-libdecnumber
1765 distclean-host: maybe-distclean-libgui
1766 distclean-host: maybe-distclean-libiberty
1767 distclean-host: maybe-distclean-libtool
1768 distclean-host: maybe-distclean-m4
1769 distclean-host: maybe-distclean-make
1770 distclean-host: maybe-distclean-mmalloc
1771 distclean-host: maybe-distclean-patch
1772 distclean-host: maybe-distclean-perl
1773 distclean-host: maybe-distclean-prms
1774 distclean-host: maybe-distclean-rcs
1775 distclean-host: maybe-distclean-readline
1776 distclean-host: maybe-distclean-release
1777 distclean-host: maybe-distclean-recode
1778 distclean-host: maybe-distclean-sed
1779 distclean-host: maybe-distclean-send-pr
1780 distclean-host: maybe-distclean-shellutils
1781 distclean-host: maybe-distclean-sid
1782 distclean-host: maybe-distclean-sim
1783 distclean-host: maybe-distclean-tar
1784 distclean-host: maybe-distclean-texinfo
1785 distclean-host: maybe-distclean-textutils
1786 distclean-host: maybe-distclean-time
1787 distclean-host: maybe-distclean-uudecode
1788 distclean-host: maybe-distclean-wdiff
1789 distclean-host: maybe-distclean-zip
1790 distclean-host: maybe-distclean-zlib
1791 distclean-host: maybe-distclean-gdb
1792 distclean-host: maybe-distclean-expect
1793 distclean-host: maybe-distclean-guile
1794 distclean-host: maybe-distclean-tk
1795 distclean-host: maybe-distclean-libtermcap
1796 distclean-host: maybe-distclean-utils
1797 distclean-host: maybe-distclean-gnattools
1799 .PHONY: distclean-target
1801 distclean-target: maybe-distclean-target-libstdc++-v3
1802 distclean-target: maybe-distclean-target-libmudflap
1803 distclean-target: maybe-distclean-target-libssp
1804 distclean-target: maybe-distclean-target-newlib
1805 distclean-target: maybe-distclean-target-libgfortran
1806 distclean-target: maybe-distclean-target-libobjc
1807 distclean-target: maybe-distclean-target-libtermcap
1808 distclean-target: maybe-distclean-target-winsup
1809 distclean-target: maybe-distclean-target-libgloss
1810 distclean-target: maybe-distclean-target-libiberty
1811 distclean-target: maybe-distclean-target-gperf
1812 distclean-target: maybe-distclean-target-examples
1813 distclean-target: maybe-distclean-target-libffi
1814 distclean-target: maybe-distclean-target-libjava
1815 distclean-target: maybe-distclean-target-zlib
1816 distclean-target: maybe-distclean-target-boehm-gc
1817 distclean-target: maybe-distclean-target-qthreads
1818 distclean-target: maybe-distclean-target-rda
1819 distclean-target: maybe-distclean-target-libada
1820 distclean-target: maybe-distclean-target-libgomp
1822 .PHONY: do-maintainer-clean
1823 do-maintainer-clean:
1824 @: $(MAKE); $(unstage)
1825 @r=`${PWD_COMMAND}`; export r; \
1826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1827 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1828 maintainer-clean-target
1831 .PHONY: maintainer-clean-host
1833 maintainer-clean-host: maybe-maintainer-clean-ash
1834 maintainer-clean-host: maybe-maintainer-clean-autoconf
1835 maintainer-clean-host: maybe-maintainer-clean-automake
1836 maintainer-clean-host: maybe-maintainer-clean-bash
1837 maintainer-clean-host: maybe-maintainer-clean-bfd
1838 maintainer-clean-host: maybe-maintainer-clean-opcodes
1839 maintainer-clean-host: maybe-maintainer-clean-binutils
1840 maintainer-clean-host: maybe-maintainer-clean-bison
1841 maintainer-clean-host: maybe-maintainer-clean-byacc
1842 maintainer-clean-host: maybe-maintainer-clean-bzip2
1843 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1844 maintainer-clean-host: maybe-maintainer-clean-diff
1845 maintainer-clean-host: maybe-maintainer-clean-dosutils
1846 maintainer-clean-host: maybe-maintainer-clean-etc
1847 maintainer-clean-host: maybe-maintainer-clean-fastjar
1848 maintainer-clean-host: maybe-maintainer-clean-fileutils
1849 maintainer-clean-host: maybe-maintainer-clean-findutils
1850 maintainer-clean-host: maybe-maintainer-clean-find
1851 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1852 maintainer-clean-host: maybe-maintainer-clean-flex
1853 maintainer-clean-host: maybe-maintainer-clean-gas
1854 maintainer-clean-host: maybe-maintainer-clean-gcc
1855 maintainer-clean-host: maybe-maintainer-clean-gawk
1856 maintainer-clean-host: maybe-maintainer-clean-gettext
1857 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1858 maintainer-clean-host: maybe-maintainer-clean-gprof
1859 maintainer-clean-host: maybe-maintainer-clean-gzip
1860 maintainer-clean-host: maybe-maintainer-clean-hello
1861 maintainer-clean-host: maybe-maintainer-clean-indent
1862 maintainer-clean-host: maybe-maintainer-clean-intl
1863 maintainer-clean-host: maybe-maintainer-clean-tcl
1864 maintainer-clean-host: maybe-maintainer-clean-itcl
1865 maintainer-clean-host: maybe-maintainer-clean-ld
1866 maintainer-clean-host: maybe-maintainer-clean-libcpp
1867 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1868 maintainer-clean-host: maybe-maintainer-clean-libgui
1869 maintainer-clean-host: maybe-maintainer-clean-libiberty
1870 maintainer-clean-host: maybe-maintainer-clean-libtool
1871 maintainer-clean-host: maybe-maintainer-clean-m4
1872 maintainer-clean-host: maybe-maintainer-clean-make
1873 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1874 maintainer-clean-host: maybe-maintainer-clean-patch
1875 maintainer-clean-host: maybe-maintainer-clean-perl
1876 maintainer-clean-host: maybe-maintainer-clean-prms
1877 maintainer-clean-host: maybe-maintainer-clean-rcs
1878 maintainer-clean-host: maybe-maintainer-clean-readline
1879 maintainer-clean-host: maybe-maintainer-clean-release
1880 maintainer-clean-host: maybe-maintainer-clean-recode
1881 maintainer-clean-host: maybe-maintainer-clean-sed
1882 maintainer-clean-host: maybe-maintainer-clean-send-pr
1883 maintainer-clean-host: maybe-maintainer-clean-shellutils
1884 maintainer-clean-host: maybe-maintainer-clean-sid
1885 maintainer-clean-host: maybe-maintainer-clean-sim
1886 maintainer-clean-host: maybe-maintainer-clean-tar
1887 maintainer-clean-host: maybe-maintainer-clean-texinfo
1888 maintainer-clean-host: maybe-maintainer-clean-textutils
1889 maintainer-clean-host: maybe-maintainer-clean-time
1890 maintainer-clean-host: maybe-maintainer-clean-uudecode
1891 maintainer-clean-host: maybe-maintainer-clean-wdiff
1892 maintainer-clean-host: maybe-maintainer-clean-zip
1893 maintainer-clean-host: maybe-maintainer-clean-zlib
1894 maintainer-clean-host: maybe-maintainer-clean-gdb
1895 maintainer-clean-host: maybe-maintainer-clean-expect
1896 maintainer-clean-host: maybe-maintainer-clean-guile
1897 maintainer-clean-host: maybe-maintainer-clean-tk
1898 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1899 maintainer-clean-host: maybe-maintainer-clean-utils
1900 maintainer-clean-host: maybe-maintainer-clean-gnattools
1902 .PHONY: maintainer-clean-target
1904 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1905 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1906 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1907 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1908 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1909 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1910 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1911 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1912 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1913 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1914 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1915 maintainer-clean-target: maybe-maintainer-clean-target-examples
1916 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1917 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1918 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1919 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1920 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1921 maintainer-clean-target: maybe-maintainer-clean-target-rda
1922 maintainer-clean-target: maybe-maintainer-clean-target-libada
1923 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1926 # Here are the targets which correspond to the do-X targets.
1928 .PHONY: info installcheck dvi html install-info install-html
1929 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1930 .PHONY: local-clean local-distclean local-maintainer-clean
1931 info: do-info
1932 installcheck: do-installcheck
1933 dvi: do-dvi
1934 html: do-html
1936 # Make sure makeinfo is built before we do a `make info', if we're
1937 # in fact building texinfo.
1938 do-info: maybe-all-texinfo
1940 install-info: do-install-info dir.info
1941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1942 if [ -f dir.info ] ; then \
1943 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1944 else true ; fi
1946 install-html: do-install-html
1948 local-clean:
1949 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1951 local-distclean:
1952 -rm -f Makefile config.status config.cache mh-frag mt-frag
1953 -rm -f maybedep.tmp serdep.tmp
1954 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1955 rm -rf $(TARGET_SUBDIR); \
1956 else true; fi
1957 -rm -rf $(BUILD_SUBDIR)
1958 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1959 rm -rf $(HOST_SUBDIR); \
1960 else true; fi
1961 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1962 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1963 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1964 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1965 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1967 local-maintainer-clean:
1968 @echo "This command is intended for maintainers to use;"
1969 @echo "it deletes files that may require special tools to rebuild."
1971 clean: do-clean local-clean
1972 mostlyclean: do-mostlyclean local-clean
1973 distclean: do-distclean local-clean local-distclean
1974 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1975 maintainer-clean: local-distclean
1976 realclean: maintainer-clean
1978 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1979 clean-target: clean-target-libgcc
1980 clean-target-libgcc:
1981 test ! -d gcc || (cd gcc && $(MAKE) $@)
1983 # Check target.
1985 .PHONY: check do-check
1986 check: do-check
1988 # Only include modules actually being configured and built.
1989 .PHONY: check-host
1990 check-host: \
1991 maybe-check-ash \
1992 maybe-check-autoconf \
1993 maybe-check-automake \
1994 maybe-check-bash \
1995 maybe-check-bfd \
1996 maybe-check-opcodes \
1997 maybe-check-binutils \
1998 maybe-check-bison \
1999 maybe-check-byacc \
2000 maybe-check-bzip2 \
2001 maybe-check-dejagnu \
2002 maybe-check-diff \
2003 maybe-check-dosutils \
2004 maybe-check-etc \
2005 maybe-check-fastjar \
2006 maybe-check-fileutils \
2007 maybe-check-findutils \
2008 maybe-check-find \
2009 maybe-check-fixincludes \
2010 maybe-check-flex \
2011 maybe-check-gas \
2012 maybe-check-gcc \
2013 maybe-check-gawk \
2014 maybe-check-gettext \
2015 maybe-check-gnuserv \
2016 maybe-check-gprof \
2017 maybe-check-gzip \
2018 maybe-check-hello \
2019 maybe-check-indent \
2020 maybe-check-intl \
2021 maybe-check-tcl \
2022 maybe-check-itcl \
2023 maybe-check-ld \
2024 maybe-check-libcpp \
2025 maybe-check-libdecnumber \
2026 maybe-check-libgui \
2027 maybe-check-libiberty \
2028 maybe-check-libtool \
2029 maybe-check-m4 \
2030 maybe-check-make \
2031 maybe-check-mmalloc \
2032 maybe-check-patch \
2033 maybe-check-perl \
2034 maybe-check-prms \
2035 maybe-check-rcs \
2036 maybe-check-readline \
2037 maybe-check-release \
2038 maybe-check-recode \
2039 maybe-check-sed \
2040 maybe-check-send-pr \
2041 maybe-check-shellutils \
2042 maybe-check-sid \
2043 maybe-check-sim \
2044 maybe-check-tar \
2045 maybe-check-texinfo \
2046 maybe-check-textutils \
2047 maybe-check-time \
2048 maybe-check-uudecode \
2049 maybe-check-wdiff \
2050 maybe-check-zip \
2051 maybe-check-zlib \
2052 maybe-check-gdb \
2053 maybe-check-expect \
2054 maybe-check-guile \
2055 maybe-check-tk \
2056 maybe-check-libtermcap \
2057 maybe-check-utils \
2058 maybe-check-gnattools
2060 .PHONY: check-target
2061 check-target: \
2062 maybe-check-target-libstdc++-v3 \
2063 maybe-check-target-libmudflap \
2064 maybe-check-target-libssp \
2065 maybe-check-target-newlib \
2066 maybe-check-target-libgfortran \
2067 maybe-check-target-libobjc \
2068 maybe-check-target-libtermcap \
2069 maybe-check-target-winsup \
2070 maybe-check-target-libgloss \
2071 maybe-check-target-libiberty \
2072 maybe-check-target-gperf \
2073 maybe-check-target-examples \
2074 maybe-check-target-libffi \
2075 maybe-check-target-libjava \
2076 maybe-check-target-zlib \
2077 maybe-check-target-boehm-gc \
2078 maybe-check-target-qthreads \
2079 maybe-check-target-rda \
2080 maybe-check-target-libada \
2081 maybe-check-target-libgomp
2083 do-check:
2084 @: $(MAKE); $(unstage)
2085 @r=`${PWD_COMMAND}`; export r; \
2086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2087 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2089 # Automated reporting of test results.
2091 warning.log: build.log
2092 $(srcdir)/contrib/warn_summary build.log > $@
2094 mail-report.log:
2095 if test x'$(BOOT_CFLAGS)' != x''; then \
2096 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2097 fi; \
2098 $(srcdir)/contrib/test_summary -t >$@
2099 chmod +x $@
2100 echo If you really want to send e-mail, run ./$@ now
2102 mail-report-with-warnings.log: warning.log
2103 if test x'$(BOOT_CFLAGS)' != x''; then \
2104 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2105 fi; \
2106 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2107 chmod +x $@
2108 echo If you really want to send e-mail, run ./$@ now
2110 # Installation targets.
2112 .PHONY: install uninstall
2113 install:
2114 @: $(MAKE); $(unstage)
2115 @r=`${PWD_COMMAND}`; export r; \
2116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2117 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2119 .PHONY: install-host-nogcc
2120 install-host-nogcc: \
2121 maybe-install-ash \
2122 maybe-install-autoconf \
2123 maybe-install-automake \
2124 maybe-install-bash \
2125 maybe-install-bfd \
2126 maybe-install-opcodes \
2127 maybe-install-binutils \
2128 maybe-install-bison \
2129 maybe-install-byacc \
2130 maybe-install-bzip2 \
2131 maybe-install-dejagnu \
2132 maybe-install-diff \
2133 maybe-install-dosutils \
2134 maybe-install-etc \
2135 maybe-install-fastjar \
2136 maybe-install-fileutils \
2137 maybe-install-findutils \
2138 maybe-install-find \
2139 maybe-install-fixincludes \
2140 maybe-install-flex \
2141 maybe-install-gas \
2142 maybe-install-gawk \
2143 maybe-install-gettext \
2144 maybe-install-gnuserv \
2145 maybe-install-gprof \
2146 maybe-install-gzip \
2147 maybe-install-hello \
2148 maybe-install-indent \
2149 maybe-install-intl \
2150 maybe-install-tcl \
2151 maybe-install-itcl \
2152 maybe-install-ld \
2153 maybe-install-libcpp \
2154 maybe-install-libdecnumber \
2155 maybe-install-libgui \
2156 maybe-install-libiberty \
2157 maybe-install-libtool \
2158 maybe-install-m4 \
2159 maybe-install-make \
2160 maybe-install-mmalloc \
2161 maybe-install-patch \
2162 maybe-install-perl \
2163 maybe-install-prms \
2164 maybe-install-rcs \
2165 maybe-install-readline \
2166 maybe-install-release \
2167 maybe-install-recode \
2168 maybe-install-sed \
2169 maybe-install-send-pr \
2170 maybe-install-shellutils \
2171 maybe-install-sid \
2172 maybe-install-sim \
2173 maybe-install-tar \
2174 maybe-install-texinfo \
2175 maybe-install-textutils \
2176 maybe-install-time \
2177 maybe-install-uudecode \
2178 maybe-install-wdiff \
2179 maybe-install-zip \
2180 maybe-install-zlib \
2181 maybe-install-gdb \
2182 maybe-install-expect \
2183 maybe-install-guile \
2184 maybe-install-tk \
2185 maybe-install-libtermcap \
2186 maybe-install-utils \
2187 maybe-install-gnattools
2189 .PHONY: install-host
2190 install-host: \
2191 maybe-install-ash \
2192 maybe-install-autoconf \
2193 maybe-install-automake \
2194 maybe-install-bash \
2195 maybe-install-bfd \
2196 maybe-install-opcodes \
2197 maybe-install-binutils \
2198 maybe-install-bison \
2199 maybe-install-byacc \
2200 maybe-install-bzip2 \
2201 maybe-install-dejagnu \
2202 maybe-install-diff \
2203 maybe-install-dosutils \
2204 maybe-install-etc \
2205 maybe-install-fastjar \
2206 maybe-install-fileutils \
2207 maybe-install-findutils \
2208 maybe-install-find \
2209 maybe-install-fixincludes \
2210 maybe-install-flex \
2211 maybe-install-gas \
2212 maybe-install-gcc \
2213 maybe-install-gawk \
2214 maybe-install-gettext \
2215 maybe-install-gnuserv \
2216 maybe-install-gprof \
2217 maybe-install-gzip \
2218 maybe-install-hello \
2219 maybe-install-indent \
2220 maybe-install-intl \
2221 maybe-install-tcl \
2222 maybe-install-itcl \
2223 maybe-install-ld \
2224 maybe-install-libcpp \
2225 maybe-install-libdecnumber \
2226 maybe-install-libgui \
2227 maybe-install-libiberty \
2228 maybe-install-libtool \
2229 maybe-install-m4 \
2230 maybe-install-make \
2231 maybe-install-mmalloc \
2232 maybe-install-patch \
2233 maybe-install-perl \
2234 maybe-install-prms \
2235 maybe-install-rcs \
2236 maybe-install-readline \
2237 maybe-install-release \
2238 maybe-install-recode \
2239 maybe-install-sed \
2240 maybe-install-send-pr \
2241 maybe-install-shellutils \
2242 maybe-install-sid \
2243 maybe-install-sim \
2244 maybe-install-tar \
2245 maybe-install-texinfo \
2246 maybe-install-textutils \
2247 maybe-install-time \
2248 maybe-install-uudecode \
2249 maybe-install-wdiff \
2250 maybe-install-zip \
2251 maybe-install-zlib \
2252 maybe-install-gdb \
2253 maybe-install-expect \
2254 maybe-install-guile \
2255 maybe-install-tk \
2256 maybe-install-libtermcap \
2257 maybe-install-utils \
2258 maybe-install-gnattools
2260 .PHONY: install-target
2261 install-target: \
2262 maybe-install-target-libstdc++-v3 \
2263 maybe-install-target-libmudflap \
2264 maybe-install-target-libssp \
2265 maybe-install-target-newlib \
2266 maybe-install-target-libgfortran \
2267 maybe-install-target-libobjc \
2268 maybe-install-target-libtermcap \
2269 maybe-install-target-winsup \
2270 maybe-install-target-libgloss \
2271 maybe-install-target-libiberty \
2272 maybe-install-target-gperf \
2273 maybe-install-target-examples \
2274 maybe-install-target-libffi \
2275 maybe-install-target-libjava \
2276 maybe-install-target-zlib \
2277 maybe-install-target-boehm-gc \
2278 maybe-install-target-qthreads \
2279 maybe-install-target-rda \
2280 maybe-install-target-libada \
2281 maybe-install-target-libgomp
2283 uninstall:
2284 @echo "the uninstall target is not supported in this tree"
2286 .PHONY: install.all
2287 install.all: install-no-fixedincludes
2288 @if [ -f ./gcc/Makefile ] ; then \
2289 r=`${PWD_COMMAND}` ; export r ; \
2290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2291 $(HOST_EXPORTS) \
2292 (cd ./gcc && \
2293 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2294 else \
2295 true ; \
2298 # install-no-fixedincludes is used because Cygnus can not distribute
2299 # the fixed header files.
2300 .PHONY: install-no-fixedincludes
2301 install-no-fixedincludes: installdirs install-host-nogcc \
2302 install-target gcc-no-fixedincludes
2304 ### other supporting targets
2306 MAKEDIRS= \
2307 $(DESTDIR)$(prefix) \
2308 $(DESTDIR)$(exec_prefix)
2309 .PHONY: installdirs
2310 installdirs: mkinstalldirs
2311 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2313 dir.info: do-install-info
2314 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2315 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2316 mv -f dir.info.new dir.info ; \
2317 else true ; \
2320 dist:
2321 @echo "Building a full distribution of this tree isn't done"
2322 @echo "via 'make dist'. Check out the etc/ subdirectory"
2324 etags tags: TAGS
2326 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2327 # ability to use several tags files at once, so there is probably no need
2328 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2329 # (if we felt like it) have this Makefile write a piece of elisp which
2330 # the user could load to tell emacs19 where all the TAGS files we just
2331 # built are.
2332 TAGS: do-TAGS
2334 # ------------------------------------
2335 # Macros for configure and all targets
2336 # ------------------------------------
2342 # --------------------------------------
2343 # Modules which run on the build machine
2344 # --------------------------------------
2347 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2348 maybe-configure-build-libiberty:
2349 @if build-libiberty
2350 maybe-configure-build-libiberty: configure-build-libiberty
2351 configure-build-libiberty:
2352 @: $(MAKE); $(unstage)
2353 @r=`${PWD_COMMAND}`; export r; \
2354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2355 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2356 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2357 $(BUILD_EXPORTS) \
2358 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2359 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2360 case $(srcdir) in \
2361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2362 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2364 esac; \
2365 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2366 libsrcdir="$$s/libiberty"; \
2367 rm -f no-such-file || : ; \
2368 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2369 $(BUILD_CONFIGARGS) $${srcdiroption} \
2370 || exit 1
2371 @endif build-libiberty
2377 .PHONY: all-build-libiberty maybe-all-build-libiberty
2378 maybe-all-build-libiberty:
2379 @if build-libiberty
2380 TARGET-build-libiberty=all
2381 maybe-all-build-libiberty: all-build-libiberty
2382 all-build-libiberty: configure-build-libiberty
2383 @: $(MAKE); $(unstage)
2384 @r=`${PWD_COMMAND}`; export r; \
2385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2386 $(BUILD_EXPORTS) \
2387 (cd $(BUILD_SUBDIR)/libiberty && \
2388 $(MAKE) $(TARGET-build-libiberty))
2389 @endif build-libiberty
2395 .PHONY: configure-build-bison maybe-configure-build-bison
2396 maybe-configure-build-bison:
2397 @if build-bison
2398 maybe-configure-build-bison: configure-build-bison
2399 configure-build-bison:
2400 @: $(MAKE); $(unstage)
2401 @r=`${PWD_COMMAND}`; export r; \
2402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2403 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2404 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2405 $(BUILD_EXPORTS) \
2406 echo Configuring in $(BUILD_SUBDIR)/bison; \
2407 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2408 case $(srcdir) in \
2409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2410 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2412 esac; \
2413 srcdiroption="--srcdir=$${topdir}/bison"; \
2414 libsrcdir="$$s/bison"; \
2415 rm -f no-such-file || : ; \
2416 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2417 $(BUILD_CONFIGARGS) $${srcdiroption} \
2418 || exit 1
2419 @endif build-bison
2425 .PHONY: all-build-bison maybe-all-build-bison
2426 maybe-all-build-bison:
2427 @if build-bison
2428 TARGET-build-bison=all
2429 maybe-all-build-bison: all-build-bison
2430 all-build-bison: configure-build-bison
2431 @: $(MAKE); $(unstage)
2432 @r=`${PWD_COMMAND}`; export r; \
2433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434 $(BUILD_EXPORTS) \
2435 (cd $(BUILD_SUBDIR)/bison && \
2436 $(MAKE) $(TARGET-build-bison))
2437 @endif build-bison
2443 .PHONY: configure-build-byacc maybe-configure-build-byacc
2444 maybe-configure-build-byacc:
2445 @if build-byacc
2446 maybe-configure-build-byacc: configure-build-byacc
2447 configure-build-byacc:
2448 @: $(MAKE); $(unstage)
2449 @r=`${PWD_COMMAND}`; export r; \
2450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2451 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2452 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2453 $(BUILD_EXPORTS) \
2454 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2455 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2456 case $(srcdir) in \
2457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2458 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2460 esac; \
2461 srcdiroption="--srcdir=$${topdir}/byacc"; \
2462 libsrcdir="$$s/byacc"; \
2463 rm -f no-such-file || : ; \
2464 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2465 $(BUILD_CONFIGARGS) $${srcdiroption} \
2466 || exit 1
2467 @endif build-byacc
2473 .PHONY: all-build-byacc maybe-all-build-byacc
2474 maybe-all-build-byacc:
2475 @if build-byacc
2476 TARGET-build-byacc=all
2477 maybe-all-build-byacc: all-build-byacc
2478 all-build-byacc: configure-build-byacc
2479 @: $(MAKE); $(unstage)
2480 @r=`${PWD_COMMAND}`; export r; \
2481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2482 $(BUILD_EXPORTS) \
2483 (cd $(BUILD_SUBDIR)/byacc && \
2484 $(MAKE) $(TARGET-build-byacc))
2485 @endif build-byacc
2491 .PHONY: configure-build-flex maybe-configure-build-flex
2492 maybe-configure-build-flex:
2493 @if build-flex
2494 maybe-configure-build-flex: configure-build-flex
2495 configure-build-flex:
2496 @: $(MAKE); $(unstage)
2497 @r=`${PWD_COMMAND}`; export r; \
2498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2499 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2500 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2501 $(BUILD_EXPORTS) \
2502 echo Configuring in $(BUILD_SUBDIR)/flex; \
2503 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2504 case $(srcdir) in \
2505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2506 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2508 esac; \
2509 srcdiroption="--srcdir=$${topdir}/flex"; \
2510 libsrcdir="$$s/flex"; \
2511 rm -f no-such-file || : ; \
2512 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2513 $(BUILD_CONFIGARGS) $${srcdiroption} \
2514 || exit 1
2515 @endif build-flex
2521 .PHONY: all-build-flex maybe-all-build-flex
2522 maybe-all-build-flex:
2523 @if build-flex
2524 TARGET-build-flex=all
2525 maybe-all-build-flex: all-build-flex
2526 all-build-flex: configure-build-flex
2527 @: $(MAKE); $(unstage)
2528 @r=`${PWD_COMMAND}`; export r; \
2529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2530 $(BUILD_EXPORTS) \
2531 (cd $(BUILD_SUBDIR)/flex && \
2532 $(MAKE) $(TARGET-build-flex))
2533 @endif build-flex
2539 .PHONY: configure-build-m4 maybe-configure-build-m4
2540 maybe-configure-build-m4:
2541 @if build-m4
2542 maybe-configure-build-m4: configure-build-m4
2543 configure-build-m4:
2544 @: $(MAKE); $(unstage)
2545 @r=`${PWD_COMMAND}`; export r; \
2546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2548 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2549 $(BUILD_EXPORTS) \
2550 echo Configuring in $(BUILD_SUBDIR)/m4; \
2551 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2552 case $(srcdir) in \
2553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2554 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2556 esac; \
2557 srcdiroption="--srcdir=$${topdir}/m4"; \
2558 libsrcdir="$$s/m4"; \
2559 rm -f no-such-file || : ; \
2560 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2561 $(BUILD_CONFIGARGS) $${srcdiroption} \
2562 || exit 1
2563 @endif build-m4
2569 .PHONY: all-build-m4 maybe-all-build-m4
2570 maybe-all-build-m4:
2571 @if build-m4
2572 TARGET-build-m4=all
2573 maybe-all-build-m4: all-build-m4
2574 all-build-m4: configure-build-m4
2575 @: $(MAKE); $(unstage)
2576 @r=`${PWD_COMMAND}`; export r; \
2577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2578 $(BUILD_EXPORTS) \
2579 (cd $(BUILD_SUBDIR)/m4 && \
2580 $(MAKE) $(TARGET-build-m4))
2581 @endif build-m4
2587 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2588 maybe-configure-build-texinfo:
2589 @if build-texinfo
2590 maybe-configure-build-texinfo: configure-build-texinfo
2591 configure-build-texinfo:
2592 @: $(MAKE); $(unstage)
2593 @r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2596 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2597 $(BUILD_EXPORTS) \
2598 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2599 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2600 case $(srcdir) in \
2601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2602 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2604 esac; \
2605 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2606 libsrcdir="$$s/texinfo"; \
2607 rm -f no-such-file || : ; \
2608 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2609 $(BUILD_CONFIGARGS) $${srcdiroption} \
2610 || exit 1
2611 @endif build-texinfo
2617 .PHONY: all-build-texinfo maybe-all-build-texinfo
2618 maybe-all-build-texinfo:
2619 @if build-texinfo
2620 TARGET-build-texinfo=all
2621 maybe-all-build-texinfo: all-build-texinfo
2622 all-build-texinfo: configure-build-texinfo
2623 @: $(MAKE); $(unstage)
2624 @r=`${PWD_COMMAND}`; export r; \
2625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2626 $(BUILD_EXPORTS) \
2627 (cd $(BUILD_SUBDIR)/texinfo && \
2628 $(MAKE) $(TARGET-build-texinfo))
2629 @endif build-texinfo
2635 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2636 maybe-configure-build-fixincludes:
2637 @if build-fixincludes
2638 maybe-configure-build-fixincludes: configure-build-fixincludes
2639 configure-build-fixincludes:
2640 @: $(MAKE); $(unstage)
2641 @r=`${PWD_COMMAND}`; export r; \
2642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2644 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2645 $(BUILD_EXPORTS) \
2646 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2647 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2648 case $(srcdir) in \
2649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2650 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2652 esac; \
2653 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2654 libsrcdir="$$s/fixincludes"; \
2655 rm -f no-such-file || : ; \
2656 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2657 $(BUILD_CONFIGARGS) $${srcdiroption} \
2658 || exit 1
2659 @endif build-fixincludes
2665 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2666 maybe-all-build-fixincludes:
2667 @if build-fixincludes
2668 TARGET-build-fixincludes=all
2669 maybe-all-build-fixincludes: all-build-fixincludes
2670 all-build-fixincludes: configure-build-fixincludes
2671 @: $(MAKE); $(unstage)
2672 @r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 $(BUILD_EXPORTS) \
2675 (cd $(BUILD_SUBDIR)/fixincludes && \
2676 $(MAKE) $(TARGET-build-fixincludes))
2677 @endif build-fixincludes
2683 # --------------------------------------
2684 # Modules which run on the host machine
2685 # --------------------------------------
2688 .PHONY: configure-ash maybe-configure-ash
2689 maybe-configure-ash:
2690 @if ash
2691 maybe-configure-ash: configure-ash
2692 configure-ash:
2693 @: $(MAKE); $(unstage)
2694 @r=`${PWD_COMMAND}`; export r; \
2695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2696 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2698 $(HOST_EXPORTS) \
2699 echo Configuring in $(HOST_SUBDIR)/ash; \
2700 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2701 case $(srcdir) in \
2702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2703 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2705 esac; \
2706 srcdiroption="--srcdir=$${topdir}/ash"; \
2707 libsrcdir="$$s/ash"; \
2708 $(SHELL) $${libsrcdir}/configure \
2709 $(HOST_CONFIGARGS) $${srcdiroption} \
2710 || exit 1
2711 @endif ash
2717 .PHONY: all-ash maybe-all-ash
2718 maybe-all-ash:
2719 @if ash
2720 TARGET-ash=all
2721 maybe-all-ash: all-ash
2722 all-ash: configure-ash
2723 @: $(MAKE); $(unstage)
2724 @r=`${PWD_COMMAND}`; export r; \
2725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2726 $(HOST_EXPORTS) \
2727 (cd $(HOST_SUBDIR)/ash && \
2728 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2729 @endif ash
2734 .PHONY: check-ash maybe-check-ash
2735 maybe-check-ash:
2736 @if ash
2737 maybe-check-ash: check-ash
2739 check-ash:
2740 @: $(MAKE); $(unstage)
2741 @r=`${PWD_COMMAND}`; export r; \
2742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743 $(HOST_EXPORTS) \
2744 (cd $(HOST_SUBDIR)/ash && \
2745 $(MAKE) $(FLAGS_TO_PASS) check)
2747 @endif ash
2749 .PHONY: install-ash maybe-install-ash
2750 maybe-install-ash:
2751 @if ash
2752 maybe-install-ash: install-ash
2754 install-ash: installdirs
2755 @: $(MAKE); $(unstage)
2756 @r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(HOST_EXPORTS) \
2759 (cd $(HOST_SUBDIR)/ash && \
2760 $(MAKE) $(FLAGS_TO_PASS) install)
2762 @endif ash
2764 # Other targets (info, dvi, etc.)
2766 .PHONY: maybe-info-ash info-ash
2767 maybe-info-ash:
2768 @if ash
2769 maybe-info-ash: info-ash
2771 info-ash: \
2772 configure-ash
2773 @: $(MAKE); $(unstage)
2774 @[ -f ./ash/Makefile ] || exit 0; \
2775 r=`${PWD_COMMAND}`; export r; \
2776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777 $(HOST_EXPORTS) \
2778 for flag in $(EXTRA_HOST_FLAGS) ; do \
2779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2780 done; \
2781 echo "Doing info in ash" ; \
2782 (cd $(HOST_SUBDIR)/ash && \
2783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2785 "RANLIB=$${RANLIB}" \
2786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2787 info) \
2788 || exit 1
2790 @endif ash
2792 .PHONY: maybe-dvi-ash dvi-ash
2793 maybe-dvi-ash:
2794 @if ash
2795 maybe-dvi-ash: dvi-ash
2797 dvi-ash: \
2798 configure-ash
2799 @: $(MAKE); $(unstage)
2800 @[ -f ./ash/Makefile ] || exit 0; \
2801 r=`${PWD_COMMAND}`; export r; \
2802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2803 $(HOST_EXPORTS) \
2804 for flag in $(EXTRA_HOST_FLAGS) ; do \
2805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2806 done; \
2807 echo "Doing dvi in ash" ; \
2808 (cd $(HOST_SUBDIR)/ash && \
2809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2811 "RANLIB=$${RANLIB}" \
2812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2813 dvi) \
2814 || exit 1
2816 @endif ash
2818 .PHONY: maybe-html-ash html-ash
2819 maybe-html-ash:
2820 @if ash
2821 maybe-html-ash: html-ash
2823 html-ash: \
2824 configure-ash
2825 @: $(MAKE); $(unstage)
2826 @[ -f ./ash/Makefile ] || exit 0; \
2827 r=`${PWD_COMMAND}`; export r; \
2828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2829 $(HOST_EXPORTS) \
2830 for flag in $(EXTRA_HOST_FLAGS) ; do \
2831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2832 done; \
2833 echo "Doing html in ash" ; \
2834 (cd $(HOST_SUBDIR)/ash && \
2835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2837 "RANLIB=$${RANLIB}" \
2838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2839 html) \
2840 || exit 1
2842 @endif ash
2844 .PHONY: maybe-TAGS-ash TAGS-ash
2845 maybe-TAGS-ash:
2846 @if ash
2847 maybe-TAGS-ash: TAGS-ash
2849 TAGS-ash: \
2850 configure-ash
2851 @: $(MAKE); $(unstage)
2852 @[ -f ./ash/Makefile ] || exit 0; \
2853 r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 $(HOST_EXPORTS) \
2856 for flag in $(EXTRA_HOST_FLAGS) ; do \
2857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2858 done; \
2859 echo "Doing TAGS in ash" ; \
2860 (cd $(HOST_SUBDIR)/ash && \
2861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2863 "RANLIB=$${RANLIB}" \
2864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2865 TAGS) \
2866 || exit 1
2868 @endif ash
2870 .PHONY: maybe-install-info-ash install-info-ash
2871 maybe-install-info-ash:
2872 @if ash
2873 maybe-install-info-ash: install-info-ash
2875 install-info-ash: \
2876 configure-ash \
2877 info-ash
2878 @: $(MAKE); $(unstage)
2879 @[ -f ./ash/Makefile ] || exit 0; \
2880 r=`${PWD_COMMAND}`; export r; \
2881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2882 $(HOST_EXPORTS) \
2883 for flag in $(EXTRA_HOST_FLAGS) ; do \
2884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2885 done; \
2886 echo "Doing install-info in ash" ; \
2887 (cd $(HOST_SUBDIR)/ash && \
2888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2890 "RANLIB=$${RANLIB}" \
2891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2892 install-info) \
2893 || exit 1
2895 @endif ash
2897 .PHONY: maybe-install-html-ash install-html-ash
2898 maybe-install-html-ash:
2899 @if ash
2900 maybe-install-html-ash: install-html-ash
2902 install-html-ash: \
2903 configure-ash \
2904 html-ash
2905 @: $(MAKE); $(unstage)
2906 @[ -f ./ash/Makefile ] || exit 0; \
2907 r=`${PWD_COMMAND}`; export r; \
2908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2909 $(HOST_EXPORTS) \
2910 for flag in $(EXTRA_HOST_FLAGS) ; do \
2911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2912 done; \
2913 echo "Doing install-html in ash" ; \
2914 (cd $(HOST_SUBDIR)/ash && \
2915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2917 "RANLIB=$${RANLIB}" \
2918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2919 install-html) \
2920 || exit 1
2922 @endif ash
2924 .PHONY: maybe-installcheck-ash installcheck-ash
2925 maybe-installcheck-ash:
2926 @if ash
2927 maybe-installcheck-ash: installcheck-ash
2929 installcheck-ash: \
2930 configure-ash
2931 @: $(MAKE); $(unstage)
2932 @[ -f ./ash/Makefile ] || exit 0; \
2933 r=`${PWD_COMMAND}`; export r; \
2934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935 $(HOST_EXPORTS) \
2936 for flag in $(EXTRA_HOST_FLAGS) ; do \
2937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2938 done; \
2939 echo "Doing installcheck in ash" ; \
2940 (cd $(HOST_SUBDIR)/ash && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2943 "RANLIB=$${RANLIB}" \
2944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2945 installcheck) \
2946 || exit 1
2948 @endif ash
2950 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2951 maybe-mostlyclean-ash:
2952 @if ash
2953 maybe-mostlyclean-ash: mostlyclean-ash
2955 mostlyclean-ash:
2956 @: $(MAKE); $(unstage)
2957 @[ -f ./ash/Makefile ] || exit 0; \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 $(HOST_EXPORTS) \
2961 for flag in $(EXTRA_HOST_FLAGS) ; do \
2962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963 done; \
2964 echo "Doing mostlyclean in ash" ; \
2965 (cd $(HOST_SUBDIR)/ash && \
2966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968 "RANLIB=$${RANLIB}" \
2969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970 mostlyclean) \
2971 || exit 1
2973 @endif ash
2975 .PHONY: maybe-clean-ash clean-ash
2976 maybe-clean-ash:
2977 @if ash
2978 maybe-clean-ash: clean-ash
2980 clean-ash:
2981 @: $(MAKE); $(unstage)
2982 @[ -f ./ash/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(HOST_EXPORTS) \
2986 for flag in $(EXTRA_HOST_FLAGS) ; do \
2987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2988 done; \
2989 echo "Doing clean in ash" ; \
2990 (cd $(HOST_SUBDIR)/ash && \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993 "RANLIB=$${RANLIB}" \
2994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2995 clean) \
2996 || exit 1
2998 @endif ash
3000 .PHONY: maybe-distclean-ash distclean-ash
3001 maybe-distclean-ash:
3002 @if ash
3003 maybe-distclean-ash: distclean-ash
3005 distclean-ash:
3006 @: $(MAKE); $(unstage)
3007 @[ -f ./ash/Makefile ] || exit 0; \
3008 r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 $(HOST_EXPORTS) \
3011 for flag in $(EXTRA_HOST_FLAGS) ; do \
3012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013 done; \
3014 echo "Doing distclean in ash" ; \
3015 (cd $(HOST_SUBDIR)/ash && \
3016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3018 "RANLIB=$${RANLIB}" \
3019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3020 distclean) \
3021 || exit 1
3023 @endif ash
3025 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3026 maybe-maintainer-clean-ash:
3027 @if ash
3028 maybe-maintainer-clean-ash: maintainer-clean-ash
3030 maintainer-clean-ash:
3031 @: $(MAKE); $(unstage)
3032 @[ -f ./ash/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(HOST_EXPORTS) \
3036 for flag in $(EXTRA_HOST_FLAGS) ; do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing maintainer-clean in ash" ; \
3040 (cd $(HOST_SUBDIR)/ash && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 maintainer-clean) \
3046 || exit 1
3048 @endif ash
3052 .PHONY: configure-autoconf maybe-configure-autoconf
3053 maybe-configure-autoconf:
3054 @if autoconf
3055 maybe-configure-autoconf: configure-autoconf
3056 configure-autoconf:
3057 @: $(MAKE); $(unstage)
3058 @r=`${PWD_COMMAND}`; export r; \
3059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3062 $(HOST_EXPORTS) \
3063 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3064 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3065 case $(srcdir) in \
3066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3067 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3069 esac; \
3070 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3071 libsrcdir="$$s/autoconf"; \
3072 $(SHELL) $${libsrcdir}/configure \
3073 $(HOST_CONFIGARGS) $${srcdiroption} \
3074 || exit 1
3075 @endif autoconf
3081 .PHONY: all-autoconf maybe-all-autoconf
3082 maybe-all-autoconf:
3083 @if autoconf
3084 TARGET-autoconf=all
3085 maybe-all-autoconf: all-autoconf
3086 all-autoconf: configure-autoconf
3087 @: $(MAKE); $(unstage)
3088 @r=`${PWD_COMMAND}`; export r; \
3089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 $(HOST_EXPORTS) \
3091 (cd $(HOST_SUBDIR)/autoconf && \
3092 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3093 @endif autoconf
3098 .PHONY: check-autoconf maybe-check-autoconf
3099 maybe-check-autoconf:
3100 @if autoconf
3101 maybe-check-autoconf: check-autoconf
3103 check-autoconf:
3104 @: $(MAKE); $(unstage)
3105 @r=`${PWD_COMMAND}`; export r; \
3106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3107 $(HOST_EXPORTS) \
3108 (cd $(HOST_SUBDIR)/autoconf && \
3109 $(MAKE) $(FLAGS_TO_PASS) check)
3111 @endif autoconf
3113 .PHONY: install-autoconf maybe-install-autoconf
3114 maybe-install-autoconf:
3115 @if autoconf
3116 maybe-install-autoconf: install-autoconf
3118 install-autoconf: installdirs
3119 @: $(MAKE); $(unstage)
3120 @r=`${PWD_COMMAND}`; export r; \
3121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122 $(HOST_EXPORTS) \
3123 (cd $(HOST_SUBDIR)/autoconf && \
3124 $(MAKE) $(FLAGS_TO_PASS) install)
3126 @endif autoconf
3128 # Other targets (info, dvi, etc.)
3130 .PHONY: maybe-info-autoconf info-autoconf
3131 maybe-info-autoconf:
3132 @if autoconf
3133 maybe-info-autoconf: info-autoconf
3135 info-autoconf: \
3136 configure-autoconf
3137 @: $(MAKE); $(unstage)
3138 @[ -f ./autoconf/Makefile ] || exit 0; \
3139 r=`${PWD_COMMAND}`; export r; \
3140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3141 $(HOST_EXPORTS) \
3142 for flag in $(EXTRA_HOST_FLAGS) ; do \
3143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3144 done; \
3145 echo "Doing info in autoconf" ; \
3146 (cd $(HOST_SUBDIR)/autoconf && \
3147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3149 "RANLIB=$${RANLIB}" \
3150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3151 info) \
3152 || exit 1
3154 @endif autoconf
3156 .PHONY: maybe-dvi-autoconf dvi-autoconf
3157 maybe-dvi-autoconf:
3158 @if autoconf
3159 maybe-dvi-autoconf: dvi-autoconf
3161 dvi-autoconf: \
3162 configure-autoconf
3163 @: $(MAKE); $(unstage)
3164 @[ -f ./autoconf/Makefile ] || exit 0; \
3165 r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3167 $(HOST_EXPORTS) \
3168 for flag in $(EXTRA_HOST_FLAGS) ; do \
3169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3170 done; \
3171 echo "Doing dvi in autoconf" ; \
3172 (cd $(HOST_SUBDIR)/autoconf && \
3173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3175 "RANLIB=$${RANLIB}" \
3176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3177 dvi) \
3178 || exit 1
3180 @endif autoconf
3182 .PHONY: maybe-html-autoconf html-autoconf
3183 maybe-html-autoconf:
3184 @if autoconf
3185 maybe-html-autoconf: html-autoconf
3187 html-autoconf: \
3188 configure-autoconf
3189 @: $(MAKE); $(unstage)
3190 @[ -f ./autoconf/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 $(HOST_EXPORTS) \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3196 done; \
3197 echo "Doing html in autoconf" ; \
3198 (cd $(HOST_SUBDIR)/autoconf && \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203 html) \
3204 || exit 1
3206 @endif autoconf
3208 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3209 maybe-TAGS-autoconf:
3210 @if autoconf
3211 maybe-TAGS-autoconf: TAGS-autoconf
3213 TAGS-autoconf: \
3214 configure-autoconf
3215 @: $(MAKE); $(unstage)
3216 @[ -f ./autoconf/Makefile ] || exit 0; \
3217 r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 $(HOST_EXPORTS) \
3220 for flag in $(EXTRA_HOST_FLAGS) ; do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 done; \
3223 echo "Doing TAGS in autoconf" ; \
3224 (cd $(HOST_SUBDIR)/autoconf && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229 TAGS) \
3230 || exit 1
3232 @endif autoconf
3234 .PHONY: maybe-install-info-autoconf install-info-autoconf
3235 maybe-install-info-autoconf:
3236 @if autoconf
3237 maybe-install-info-autoconf: install-info-autoconf
3239 install-info-autoconf: \
3240 configure-autoconf \
3241 info-autoconf
3242 @: $(MAKE); $(unstage)
3243 @[ -f ./autoconf/Makefile ] || exit 0; \
3244 r=`${PWD_COMMAND}`; export r; \
3245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3246 $(HOST_EXPORTS) \
3247 for flag in $(EXTRA_HOST_FLAGS) ; do \
3248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3249 done; \
3250 echo "Doing install-info in autoconf" ; \
3251 (cd $(HOST_SUBDIR)/autoconf && \
3252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3254 "RANLIB=$${RANLIB}" \
3255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3256 install-info) \
3257 || exit 1
3259 @endif autoconf
3261 .PHONY: maybe-install-html-autoconf install-html-autoconf
3262 maybe-install-html-autoconf:
3263 @if autoconf
3264 maybe-install-html-autoconf: install-html-autoconf
3266 install-html-autoconf: \
3267 configure-autoconf \
3268 html-autoconf
3269 @: $(MAKE); $(unstage)
3270 @[ -f ./autoconf/Makefile ] || exit 0; \
3271 r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 $(HOST_EXPORTS) \
3274 for flag in $(EXTRA_HOST_FLAGS) ; do \
3275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3276 done; \
3277 echo "Doing install-html in autoconf" ; \
3278 (cd $(HOST_SUBDIR)/autoconf && \
3279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3281 "RANLIB=$${RANLIB}" \
3282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3283 install-html) \
3284 || exit 1
3286 @endif autoconf
3288 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3289 maybe-installcheck-autoconf:
3290 @if autoconf
3291 maybe-installcheck-autoconf: installcheck-autoconf
3293 installcheck-autoconf: \
3294 configure-autoconf
3295 @: $(MAKE); $(unstage)
3296 @[ -f ./autoconf/Makefile ] || exit 0; \
3297 r=`${PWD_COMMAND}`; export r; \
3298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299 $(HOST_EXPORTS) \
3300 for flag in $(EXTRA_HOST_FLAGS) ; do \
3301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3302 done; \
3303 echo "Doing installcheck in autoconf" ; \
3304 (cd $(HOST_SUBDIR)/autoconf && \
3305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3307 "RANLIB=$${RANLIB}" \
3308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3309 installcheck) \
3310 || exit 1
3312 @endif autoconf
3314 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3315 maybe-mostlyclean-autoconf:
3316 @if autoconf
3317 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3319 mostlyclean-autoconf:
3320 @: $(MAKE); $(unstage)
3321 @[ -f ./autoconf/Makefile ] || exit 0; \
3322 r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 $(HOST_EXPORTS) \
3325 for flag in $(EXTRA_HOST_FLAGS) ; do \
3326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3327 done; \
3328 echo "Doing mostlyclean in autoconf" ; \
3329 (cd $(HOST_SUBDIR)/autoconf && \
3330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3332 "RANLIB=$${RANLIB}" \
3333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3334 mostlyclean) \
3335 || exit 1
3337 @endif autoconf
3339 .PHONY: maybe-clean-autoconf clean-autoconf
3340 maybe-clean-autoconf:
3341 @if autoconf
3342 maybe-clean-autoconf: clean-autoconf
3344 clean-autoconf:
3345 @: $(MAKE); $(unstage)
3346 @[ -f ./autoconf/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 $(HOST_EXPORTS) \
3350 for flag in $(EXTRA_HOST_FLAGS) ; do \
3351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3352 done; \
3353 echo "Doing clean in autoconf" ; \
3354 (cd $(HOST_SUBDIR)/autoconf && \
3355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3357 "RANLIB=$${RANLIB}" \
3358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3359 clean) \
3360 || exit 1
3362 @endif autoconf
3364 .PHONY: maybe-distclean-autoconf distclean-autoconf
3365 maybe-distclean-autoconf:
3366 @if autoconf
3367 maybe-distclean-autoconf: distclean-autoconf
3369 distclean-autoconf:
3370 @: $(MAKE); $(unstage)
3371 @[ -f ./autoconf/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 $(HOST_EXPORTS) \
3375 for flag in $(EXTRA_HOST_FLAGS) ; do \
3376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3377 done; \
3378 echo "Doing distclean in autoconf" ; \
3379 (cd $(HOST_SUBDIR)/autoconf && \
3380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3382 "RANLIB=$${RANLIB}" \
3383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3384 distclean) \
3385 || exit 1
3387 @endif autoconf
3389 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3390 maybe-maintainer-clean-autoconf:
3391 @if autoconf
3392 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3394 maintainer-clean-autoconf:
3395 @: $(MAKE); $(unstage)
3396 @[ -f ./autoconf/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399 $(HOST_EXPORTS) \
3400 for flag in $(EXTRA_HOST_FLAGS) ; do \
3401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3402 done; \
3403 echo "Doing maintainer-clean in autoconf" ; \
3404 (cd $(HOST_SUBDIR)/autoconf && \
3405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407 "RANLIB=$${RANLIB}" \
3408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3409 maintainer-clean) \
3410 || exit 1
3412 @endif autoconf
3416 .PHONY: configure-automake maybe-configure-automake
3417 maybe-configure-automake:
3418 @if automake
3419 maybe-configure-automake: configure-automake
3420 configure-automake:
3421 @: $(MAKE); $(unstage)
3422 @r=`${PWD_COMMAND}`; export r; \
3423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3424 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3426 $(HOST_EXPORTS) \
3427 echo Configuring in $(HOST_SUBDIR)/automake; \
3428 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3429 case $(srcdir) in \
3430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3431 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3433 esac; \
3434 srcdiroption="--srcdir=$${topdir}/automake"; \
3435 libsrcdir="$$s/automake"; \
3436 $(SHELL) $${libsrcdir}/configure \
3437 $(HOST_CONFIGARGS) $${srcdiroption} \
3438 || exit 1
3439 @endif automake
3445 .PHONY: all-automake maybe-all-automake
3446 maybe-all-automake:
3447 @if automake
3448 TARGET-automake=all
3449 maybe-all-automake: all-automake
3450 all-automake: configure-automake
3451 @: $(MAKE); $(unstage)
3452 @r=`${PWD_COMMAND}`; export r; \
3453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3454 $(HOST_EXPORTS) \
3455 (cd $(HOST_SUBDIR)/automake && \
3456 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3457 @endif automake
3462 .PHONY: check-automake maybe-check-automake
3463 maybe-check-automake:
3464 @if automake
3465 maybe-check-automake: check-automake
3467 check-automake:
3468 @: $(MAKE); $(unstage)
3469 @r=`${PWD_COMMAND}`; export r; \
3470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3471 $(HOST_EXPORTS) \
3472 (cd $(HOST_SUBDIR)/automake && \
3473 $(MAKE) $(FLAGS_TO_PASS) check)
3475 @endif automake
3477 .PHONY: install-automake maybe-install-automake
3478 maybe-install-automake:
3479 @if automake
3480 maybe-install-automake: install-automake
3482 install-automake: installdirs
3483 @: $(MAKE); $(unstage)
3484 @r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486 $(HOST_EXPORTS) \
3487 (cd $(HOST_SUBDIR)/automake && \
3488 $(MAKE) $(FLAGS_TO_PASS) install)
3490 @endif automake
3492 # Other targets (info, dvi, etc.)
3494 .PHONY: maybe-info-automake info-automake
3495 maybe-info-automake:
3496 @if automake
3497 maybe-info-automake: info-automake
3499 info-automake: \
3500 configure-automake
3501 @: $(MAKE); $(unstage)
3502 @[ -f ./automake/Makefile ] || exit 0; \
3503 r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(HOST_EXPORTS) \
3506 for flag in $(EXTRA_HOST_FLAGS) ; do \
3507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3508 done; \
3509 echo "Doing info in automake" ; \
3510 (cd $(HOST_SUBDIR)/automake && \
3511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3513 "RANLIB=$${RANLIB}" \
3514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3515 info) \
3516 || exit 1
3518 @endif automake
3520 .PHONY: maybe-dvi-automake dvi-automake
3521 maybe-dvi-automake:
3522 @if automake
3523 maybe-dvi-automake: dvi-automake
3525 dvi-automake: \
3526 configure-automake
3527 @: $(MAKE); $(unstage)
3528 @[ -f ./automake/Makefile ] || exit 0; \
3529 r=`${PWD_COMMAND}`; export r; \
3530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3531 $(HOST_EXPORTS) \
3532 for flag in $(EXTRA_HOST_FLAGS) ; do \
3533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3534 done; \
3535 echo "Doing dvi in automake" ; \
3536 (cd $(HOST_SUBDIR)/automake && \
3537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3539 "RANLIB=$${RANLIB}" \
3540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3541 dvi) \
3542 || exit 1
3544 @endif automake
3546 .PHONY: maybe-html-automake html-automake
3547 maybe-html-automake:
3548 @if automake
3549 maybe-html-automake: html-automake
3551 html-automake: \
3552 configure-automake
3553 @: $(MAKE); $(unstage)
3554 @[ -f ./automake/Makefile ] || exit 0; \
3555 r=`${PWD_COMMAND}`; export r; \
3556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3557 $(HOST_EXPORTS) \
3558 for flag in $(EXTRA_HOST_FLAGS) ; do \
3559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3560 done; \
3561 echo "Doing html in automake" ; \
3562 (cd $(HOST_SUBDIR)/automake && \
3563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3565 "RANLIB=$${RANLIB}" \
3566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3567 html) \
3568 || exit 1
3570 @endif automake
3572 .PHONY: maybe-TAGS-automake TAGS-automake
3573 maybe-TAGS-automake:
3574 @if automake
3575 maybe-TAGS-automake: TAGS-automake
3577 TAGS-automake: \
3578 configure-automake
3579 @: $(MAKE); $(unstage)
3580 @[ -f ./automake/Makefile ] || exit 0; \
3581 r=`${PWD_COMMAND}`; export r; \
3582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583 $(HOST_EXPORTS) \
3584 for flag in $(EXTRA_HOST_FLAGS) ; do \
3585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3586 done; \
3587 echo "Doing TAGS in automake" ; \
3588 (cd $(HOST_SUBDIR)/automake && \
3589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3591 "RANLIB=$${RANLIB}" \
3592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3593 TAGS) \
3594 || exit 1
3596 @endif automake
3598 .PHONY: maybe-install-info-automake install-info-automake
3599 maybe-install-info-automake:
3600 @if automake
3601 maybe-install-info-automake: install-info-automake
3603 install-info-automake: \
3604 configure-automake \
3605 info-automake
3606 @: $(MAKE); $(unstage)
3607 @[ -f ./automake/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610 $(HOST_EXPORTS) \
3611 for flag in $(EXTRA_HOST_FLAGS) ; do \
3612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3613 done; \
3614 echo "Doing install-info in automake" ; \
3615 (cd $(HOST_SUBDIR)/automake && \
3616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618 "RANLIB=$${RANLIB}" \
3619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3620 install-info) \
3621 || exit 1
3623 @endif automake
3625 .PHONY: maybe-install-html-automake install-html-automake
3626 maybe-install-html-automake:
3627 @if automake
3628 maybe-install-html-automake: install-html-automake
3630 install-html-automake: \
3631 configure-automake \
3632 html-automake
3633 @: $(MAKE); $(unstage)
3634 @[ -f ./automake/Makefile ] || exit 0; \
3635 r=`${PWD_COMMAND}`; export r; \
3636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3637 $(HOST_EXPORTS) \
3638 for flag in $(EXTRA_HOST_FLAGS) ; do \
3639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3640 done; \
3641 echo "Doing install-html in automake" ; \
3642 (cd $(HOST_SUBDIR)/automake && \
3643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3645 "RANLIB=$${RANLIB}" \
3646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3647 install-html) \
3648 || exit 1
3650 @endif automake
3652 .PHONY: maybe-installcheck-automake installcheck-automake
3653 maybe-installcheck-automake:
3654 @if automake
3655 maybe-installcheck-automake: installcheck-automake
3657 installcheck-automake: \
3658 configure-automake
3659 @: $(MAKE); $(unstage)
3660 @[ -f ./automake/Makefile ] || exit 0; \
3661 r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 $(HOST_EXPORTS) \
3664 for flag in $(EXTRA_HOST_FLAGS) ; do \
3665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666 done; \
3667 echo "Doing installcheck in automake" ; \
3668 (cd $(HOST_SUBDIR)/automake && \
3669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3671 "RANLIB=$${RANLIB}" \
3672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3673 installcheck) \
3674 || exit 1
3676 @endif automake
3678 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3679 maybe-mostlyclean-automake:
3680 @if automake
3681 maybe-mostlyclean-automake: mostlyclean-automake
3683 mostlyclean-automake:
3684 @: $(MAKE); $(unstage)
3685 @[ -f ./automake/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing mostlyclean in automake" ; \
3693 (cd $(HOST_SUBDIR)/automake && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3698 mostlyclean) \
3699 || exit 1
3701 @endif automake
3703 .PHONY: maybe-clean-automake clean-automake
3704 maybe-clean-automake:
3705 @if automake
3706 maybe-clean-automake: clean-automake
3708 clean-automake:
3709 @: $(MAKE); $(unstage)
3710 @[ -f ./automake/Makefile ] || exit 0; \
3711 r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(HOST_EXPORTS) \
3714 for flag in $(EXTRA_HOST_FLAGS) ; do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716 done; \
3717 echo "Doing clean in automake" ; \
3718 (cd $(HOST_SUBDIR)/automake && \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3723 clean) \
3724 || exit 1
3726 @endif automake
3728 .PHONY: maybe-distclean-automake distclean-automake
3729 maybe-distclean-automake:
3730 @if automake
3731 maybe-distclean-automake: distclean-automake
3733 distclean-automake:
3734 @: $(MAKE); $(unstage)
3735 @[ -f ./automake/Makefile ] || exit 0; \
3736 r=`${PWD_COMMAND}`; export r; \
3737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738 $(HOST_EXPORTS) \
3739 for flag in $(EXTRA_HOST_FLAGS) ; do \
3740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3741 done; \
3742 echo "Doing distclean in automake" ; \
3743 (cd $(HOST_SUBDIR)/automake && \
3744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3746 "RANLIB=$${RANLIB}" \
3747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3748 distclean) \
3749 || exit 1
3751 @endif automake
3753 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3754 maybe-maintainer-clean-automake:
3755 @if automake
3756 maybe-maintainer-clean-automake: maintainer-clean-automake
3758 maintainer-clean-automake:
3759 @: $(MAKE); $(unstage)
3760 @[ -f ./automake/Makefile ] || exit 0; \
3761 r=`${PWD_COMMAND}`; export r; \
3762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3763 $(HOST_EXPORTS) \
3764 for flag in $(EXTRA_HOST_FLAGS) ; do \
3765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3766 done; \
3767 echo "Doing maintainer-clean in automake" ; \
3768 (cd $(HOST_SUBDIR)/automake && \
3769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3771 "RANLIB=$${RANLIB}" \
3772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3773 maintainer-clean) \
3774 || exit 1
3776 @endif automake
3780 .PHONY: configure-bash maybe-configure-bash
3781 maybe-configure-bash:
3782 @if bash
3783 maybe-configure-bash: configure-bash
3784 configure-bash:
3785 @: $(MAKE); $(unstage)
3786 @r=`${PWD_COMMAND}`; export r; \
3787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3788 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3790 $(HOST_EXPORTS) \
3791 echo Configuring in $(HOST_SUBDIR)/bash; \
3792 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3793 case $(srcdir) in \
3794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3795 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3797 esac; \
3798 srcdiroption="--srcdir=$${topdir}/bash"; \
3799 libsrcdir="$$s/bash"; \
3800 $(SHELL) $${libsrcdir}/configure \
3801 $(HOST_CONFIGARGS) $${srcdiroption} \
3802 || exit 1
3803 @endif bash
3809 .PHONY: all-bash maybe-all-bash
3810 maybe-all-bash:
3811 @if bash
3812 TARGET-bash=all
3813 maybe-all-bash: all-bash
3814 all-bash: configure-bash
3815 @: $(MAKE); $(unstage)
3816 @r=`${PWD_COMMAND}`; export r; \
3817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3818 $(HOST_EXPORTS) \
3819 (cd $(HOST_SUBDIR)/bash && \
3820 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3821 @endif bash
3826 .PHONY: check-bash maybe-check-bash
3827 maybe-check-bash:
3828 @if bash
3829 maybe-check-bash: check-bash
3831 check-bash:
3832 @: $(MAKE); $(unstage)
3833 @r=`${PWD_COMMAND}`; export r; \
3834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3835 $(HOST_EXPORTS) \
3836 (cd $(HOST_SUBDIR)/bash && \
3837 $(MAKE) $(FLAGS_TO_PASS) check)
3839 @endif bash
3841 .PHONY: install-bash maybe-install-bash
3842 maybe-install-bash:
3843 @if bash
3844 maybe-install-bash: install-bash
3846 install-bash: installdirs
3847 @: $(MAKE); $(unstage)
3848 @r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3850 $(HOST_EXPORTS) \
3851 (cd $(HOST_SUBDIR)/bash && \
3852 $(MAKE) $(FLAGS_TO_PASS) install)
3854 @endif bash
3856 # Other targets (info, dvi, etc.)
3858 .PHONY: maybe-info-bash info-bash
3859 maybe-info-bash:
3860 @if bash
3861 maybe-info-bash: info-bash
3863 info-bash: \
3864 configure-bash
3865 @: $(MAKE); $(unstage)
3866 @[ -f ./bash/Makefile ] || exit 0; \
3867 r=`${PWD_COMMAND}`; export r; \
3868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869 $(HOST_EXPORTS) \
3870 for flag in $(EXTRA_HOST_FLAGS) ; do \
3871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3872 done; \
3873 echo "Doing info in bash" ; \
3874 (cd $(HOST_SUBDIR)/bash && \
3875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3877 "RANLIB=$${RANLIB}" \
3878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3879 info) \
3880 || exit 1
3882 @endif bash
3884 .PHONY: maybe-dvi-bash dvi-bash
3885 maybe-dvi-bash:
3886 @if bash
3887 maybe-dvi-bash: dvi-bash
3889 dvi-bash: \
3890 configure-bash
3891 @: $(MAKE); $(unstage)
3892 @[ -f ./bash/Makefile ] || exit 0; \
3893 r=`${PWD_COMMAND}`; export r; \
3894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3895 $(HOST_EXPORTS) \
3896 for flag in $(EXTRA_HOST_FLAGS) ; do \
3897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3898 done; \
3899 echo "Doing dvi in bash" ; \
3900 (cd $(HOST_SUBDIR)/bash && \
3901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3903 "RANLIB=$${RANLIB}" \
3904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3905 dvi) \
3906 || exit 1
3908 @endif bash
3910 .PHONY: maybe-html-bash html-bash
3911 maybe-html-bash:
3912 @if bash
3913 maybe-html-bash: html-bash
3915 html-bash: \
3916 configure-bash
3917 @: $(MAKE); $(unstage)
3918 @[ -f ./bash/Makefile ] || exit 0; \
3919 r=`${PWD_COMMAND}`; export r; \
3920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3921 $(HOST_EXPORTS) \
3922 for flag in $(EXTRA_HOST_FLAGS) ; do \
3923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3924 done; \
3925 echo "Doing html in bash" ; \
3926 (cd $(HOST_SUBDIR)/bash && \
3927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3929 "RANLIB=$${RANLIB}" \
3930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3931 html) \
3932 || exit 1
3934 @endif bash
3936 .PHONY: maybe-TAGS-bash TAGS-bash
3937 maybe-TAGS-bash:
3938 @if bash
3939 maybe-TAGS-bash: TAGS-bash
3941 TAGS-bash: \
3942 configure-bash
3943 @: $(MAKE); $(unstage)
3944 @[ -f ./bash/Makefile ] || exit 0; \
3945 r=`${PWD_COMMAND}`; export r; \
3946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947 $(HOST_EXPORTS) \
3948 for flag in $(EXTRA_HOST_FLAGS) ; do \
3949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3950 done; \
3951 echo "Doing TAGS in bash" ; \
3952 (cd $(HOST_SUBDIR)/bash && \
3953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3955 "RANLIB=$${RANLIB}" \
3956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3957 TAGS) \
3958 || exit 1
3960 @endif bash
3962 .PHONY: maybe-install-info-bash install-info-bash
3963 maybe-install-info-bash:
3964 @if bash
3965 maybe-install-info-bash: install-info-bash
3967 install-info-bash: \
3968 configure-bash \
3969 info-bash
3970 @: $(MAKE); $(unstage)
3971 @[ -f ./bash/Makefile ] || exit 0; \
3972 r=`${PWD_COMMAND}`; export r; \
3973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3974 $(HOST_EXPORTS) \
3975 for flag in $(EXTRA_HOST_FLAGS) ; do \
3976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3977 done; \
3978 echo "Doing install-info in bash" ; \
3979 (cd $(HOST_SUBDIR)/bash && \
3980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3982 "RANLIB=$${RANLIB}" \
3983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3984 install-info) \
3985 || exit 1
3987 @endif bash
3989 .PHONY: maybe-install-html-bash install-html-bash
3990 maybe-install-html-bash:
3991 @if bash
3992 maybe-install-html-bash: install-html-bash
3994 install-html-bash: \
3995 configure-bash \
3996 html-bash
3997 @: $(MAKE); $(unstage)
3998 @[ -f ./bash/Makefile ] || exit 0; \
3999 r=`${PWD_COMMAND}`; export r; \
4000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4001 $(HOST_EXPORTS) \
4002 for flag in $(EXTRA_HOST_FLAGS) ; do \
4003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4004 done; \
4005 echo "Doing install-html in bash" ; \
4006 (cd $(HOST_SUBDIR)/bash && \
4007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4009 "RANLIB=$${RANLIB}" \
4010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4011 install-html) \
4012 || exit 1
4014 @endif bash
4016 .PHONY: maybe-installcheck-bash installcheck-bash
4017 maybe-installcheck-bash:
4018 @if bash
4019 maybe-installcheck-bash: installcheck-bash
4021 installcheck-bash: \
4022 configure-bash
4023 @: $(MAKE); $(unstage)
4024 @[ -f ./bash/Makefile ] || exit 0; \
4025 r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 $(HOST_EXPORTS) \
4028 for flag in $(EXTRA_HOST_FLAGS) ; do \
4029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4030 done; \
4031 echo "Doing installcheck in bash" ; \
4032 (cd $(HOST_SUBDIR)/bash && \
4033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4035 "RANLIB=$${RANLIB}" \
4036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4037 installcheck) \
4038 || exit 1
4040 @endif bash
4042 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4043 maybe-mostlyclean-bash:
4044 @if bash
4045 maybe-mostlyclean-bash: mostlyclean-bash
4047 mostlyclean-bash:
4048 @: $(MAKE); $(unstage)
4049 @[ -f ./bash/Makefile ] || exit 0; \
4050 r=`${PWD_COMMAND}`; export r; \
4051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4052 $(HOST_EXPORTS) \
4053 for flag in $(EXTRA_HOST_FLAGS) ; do \
4054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4055 done; \
4056 echo "Doing mostlyclean in bash" ; \
4057 (cd $(HOST_SUBDIR)/bash && \
4058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4060 "RANLIB=$${RANLIB}" \
4061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4062 mostlyclean) \
4063 || exit 1
4065 @endif bash
4067 .PHONY: maybe-clean-bash clean-bash
4068 maybe-clean-bash:
4069 @if bash
4070 maybe-clean-bash: clean-bash
4072 clean-bash:
4073 @: $(MAKE); $(unstage)
4074 @[ -f ./bash/Makefile ] || exit 0; \
4075 r=`${PWD_COMMAND}`; export r; \
4076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4077 $(HOST_EXPORTS) \
4078 for flag in $(EXTRA_HOST_FLAGS) ; do \
4079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4080 done; \
4081 echo "Doing clean in bash" ; \
4082 (cd $(HOST_SUBDIR)/bash && \
4083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4085 "RANLIB=$${RANLIB}" \
4086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4087 clean) \
4088 || exit 1
4090 @endif bash
4092 .PHONY: maybe-distclean-bash distclean-bash
4093 maybe-distclean-bash:
4094 @if bash
4095 maybe-distclean-bash: distclean-bash
4097 distclean-bash:
4098 @: $(MAKE); $(unstage)
4099 @[ -f ./bash/Makefile ] || exit 0; \
4100 r=`${PWD_COMMAND}`; export r; \
4101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102 $(HOST_EXPORTS) \
4103 for flag in $(EXTRA_HOST_FLAGS) ; do \
4104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4105 done; \
4106 echo "Doing distclean in bash" ; \
4107 (cd $(HOST_SUBDIR)/bash && \
4108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4110 "RANLIB=$${RANLIB}" \
4111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4112 distclean) \
4113 || exit 1
4115 @endif bash
4117 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4118 maybe-maintainer-clean-bash:
4119 @if bash
4120 maybe-maintainer-clean-bash: maintainer-clean-bash
4122 maintainer-clean-bash:
4123 @: $(MAKE); $(unstage)
4124 @[ -f ./bash/Makefile ] || exit 0; \
4125 r=`${PWD_COMMAND}`; export r; \
4126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4127 $(HOST_EXPORTS) \
4128 for flag in $(EXTRA_HOST_FLAGS) ; do \
4129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4130 done; \
4131 echo "Doing maintainer-clean in bash" ; \
4132 (cd $(HOST_SUBDIR)/bash && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4135 "RANLIB=$${RANLIB}" \
4136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4137 maintainer-clean) \
4138 || exit 1
4140 @endif bash
4144 .PHONY: configure-bfd maybe-configure-bfd
4145 maybe-configure-bfd:
4146 @if bfd
4147 maybe-configure-bfd: configure-bfd
4148 configure-bfd:
4149 @endif bfd
4150 @if bfd-bootstrap
4151 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4152 @endif bfd-bootstrap
4153 @if bfd
4154 @r=`${PWD_COMMAND}`; export r; \
4155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4158 $(HOST_EXPORTS) \
4159 echo Configuring in $(HOST_SUBDIR)/bfd; \
4160 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4161 case $(srcdir) in \
4162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4163 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4165 esac; \
4166 srcdiroption="--srcdir=$${topdir}/bfd"; \
4167 libsrcdir="$$s/bfd"; \
4168 $(SHELL) $${libsrcdir}/configure \
4169 $(HOST_CONFIGARGS) $${srcdiroption} \
4170 || exit 1
4171 @endif bfd
4175 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4176 maybe-configure-stage1-bfd:
4177 @if bfd-bootstrap
4178 maybe-configure-stage1-bfd: configure-stage1-bfd
4179 configure-stage1-bfd:
4180 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4182 @r=`${PWD_COMMAND}`; export r; \
4183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4184 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4185 $(HOST_EXPORTS) \
4186 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4188 cd $(HOST_SUBDIR)/bfd || exit 1; \
4189 case $(srcdir) in \
4190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4191 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4193 esac; \
4194 srcdiroption="--srcdir=$${topdir}/bfd"; \
4195 libsrcdir="$$s/bfd"; \
4196 $(SHELL) $${libsrcdir}/configure \
4197 $(HOST_CONFIGARGS) $${srcdiroption} \
4198 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4199 @endif bfd-bootstrap
4201 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4202 maybe-configure-stage2-bfd:
4203 @if bfd-bootstrap
4204 maybe-configure-stage2-bfd: configure-stage2-bfd
4205 configure-stage2-bfd:
4206 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4208 @r=`${PWD_COMMAND}`; export r; \
4209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4210 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4211 $(HOST_EXPORTS) \
4212 $(POSTSTAGE1_HOST_EXPORTS) \
4213 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4215 cd $(HOST_SUBDIR)/bfd || exit 1; \
4216 case $(srcdir) in \
4217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4218 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4220 esac; \
4221 srcdiroption="--srcdir=$${topdir}/bfd"; \
4222 libsrcdir="$$s/bfd"; \
4223 $(SHELL) $${libsrcdir}/configure \
4224 $(HOST_CONFIGARGS) $${srcdiroption} \
4225 @stage2_werror_flag@
4226 @endif bfd-bootstrap
4228 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4229 maybe-configure-stage3-bfd:
4230 @if bfd-bootstrap
4231 maybe-configure-stage3-bfd: configure-stage3-bfd
4232 configure-stage3-bfd:
4233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4235 @r=`${PWD_COMMAND}`; export r; \
4236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4238 $(HOST_EXPORTS) \
4239 $(POSTSTAGE1_HOST_EXPORTS) \
4240 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4242 cd $(HOST_SUBDIR)/bfd || exit 1; \
4243 case $(srcdir) in \
4244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4245 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4247 esac; \
4248 srcdiroption="--srcdir=$${topdir}/bfd"; \
4249 libsrcdir="$$s/bfd"; \
4250 $(SHELL) $${libsrcdir}/configure \
4251 $(HOST_CONFIGARGS) $${srcdiroption} \
4252 @stage2_werror_flag@
4253 @endif bfd-bootstrap
4255 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4256 maybe-configure-stage4-bfd:
4257 @if bfd-bootstrap
4258 maybe-configure-stage4-bfd: configure-stage4-bfd
4259 configure-stage4-bfd:
4260 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4262 @r=`${PWD_COMMAND}`; export r; \
4263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4264 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4265 $(HOST_EXPORTS) \
4266 $(POSTSTAGE1_HOST_EXPORTS) \
4267 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4269 cd $(HOST_SUBDIR)/bfd || exit 1; \
4270 case $(srcdir) in \
4271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4272 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4274 esac; \
4275 srcdiroption="--srcdir=$${topdir}/bfd"; \
4276 libsrcdir="$$s/bfd"; \
4277 $(SHELL) $${libsrcdir}/configure \
4278 $(HOST_CONFIGARGS) $${srcdiroption} \
4279 @stage2_werror_flag@
4280 @endif bfd-bootstrap
4282 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4283 maybe-configure-stageprofile-bfd:
4284 @if bfd-bootstrap
4285 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4286 configure-stageprofile-bfd:
4287 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4289 @r=`${PWD_COMMAND}`; export r; \
4290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4292 $(HOST_EXPORTS) \
4293 $(POSTSTAGE1_HOST_EXPORTS) \
4294 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4296 cd $(HOST_SUBDIR)/bfd || exit 1; \
4297 case $(srcdir) in \
4298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4299 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4301 esac; \
4302 srcdiroption="--srcdir=$${topdir}/bfd"; \
4303 libsrcdir="$$s/bfd"; \
4304 $(SHELL) $${libsrcdir}/configure \
4305 $(HOST_CONFIGARGS) $${srcdiroption} \
4306 @stage2_werror_flag@
4307 @endif bfd-bootstrap
4309 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4310 maybe-configure-stagefeedback-bfd:
4311 @if bfd-bootstrap
4312 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4313 configure-stagefeedback-bfd:
4314 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4316 @r=`${PWD_COMMAND}`; export r; \
4317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4318 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4319 $(HOST_EXPORTS) \
4320 $(POSTSTAGE1_HOST_EXPORTS) \
4321 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4322 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4323 cd $(HOST_SUBDIR)/bfd || exit 1; \
4324 case $(srcdir) in \
4325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4326 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4328 esac; \
4329 srcdiroption="--srcdir=$${topdir}/bfd"; \
4330 libsrcdir="$$s/bfd"; \
4331 $(SHELL) $${libsrcdir}/configure \
4332 $(HOST_CONFIGARGS) $${srcdiroption} \
4333 @stage2_werror_flag@
4334 @endif bfd-bootstrap
4340 .PHONY: all-bfd maybe-all-bfd
4341 maybe-all-bfd:
4342 @if bfd
4343 TARGET-bfd=all
4344 maybe-all-bfd: all-bfd
4345 all-bfd: configure-bfd
4346 @endif bfd
4347 @if bfd-bootstrap
4348 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4349 @endif bfd-bootstrap
4350 @if bfd
4351 @r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(HOST_EXPORTS) \
4354 (cd $(HOST_SUBDIR)/bfd && \
4355 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4356 @endif bfd
4360 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4361 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4362 maybe-all-stage1-bfd:
4363 maybe-clean-stage1-bfd:
4364 @if bfd-bootstrap
4365 maybe-all-stage1-bfd: all-stage1-bfd
4366 all-stage1: all-stage1-bfd
4367 TARGET-stage1-bfd = $(TARGET-bfd)
4368 all-stage1-bfd: configure-stage1-bfd
4369 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4375 $(TARGET-stage1-bfd)
4377 maybe-clean-stage1-bfd: clean-stage1-bfd
4378 clean-stage1: clean-stage1-bfd
4379 clean-stage1-bfd:
4380 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4381 || exit 0 ; \
4382 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4383 cd $(HOST_SUBDIR)/bfd && \
4384 $(MAKE) $(FLAGS_TO_PASS) \
4385 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4386 @endif bfd-bootstrap
4389 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4390 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4391 maybe-all-stage2-bfd:
4392 maybe-clean-stage2-bfd:
4393 @if bfd-bootstrap
4394 maybe-all-stage2-bfd: all-stage2-bfd
4395 all-stage2: all-stage2-bfd
4396 TARGET-stage2-bfd = $(TARGET-bfd)
4397 all-stage2-bfd: configure-stage2-bfd
4398 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4399 @r=`${PWD_COMMAND}`; export r; \
4400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4401 $(HOST_EXPORTS) \
4402 $(POSTSTAGE1_HOST_EXPORTS) \
4403 cd $(HOST_SUBDIR)/bfd && \
4404 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4405 $(TARGET-stage2-bfd)
4407 maybe-clean-stage2-bfd: clean-stage2-bfd
4408 clean-stage2: clean-stage2-bfd
4409 clean-stage2-bfd:
4410 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4411 || exit 0 ; \
4412 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4413 cd $(HOST_SUBDIR)/bfd && \
4414 $(MAKE) $(FLAGS_TO_PASS) \
4415 $(POSTSTAGE1_FLAGS_TO_PASS) \
4416 clean
4417 @endif bfd-bootstrap
4420 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4421 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4422 maybe-all-stage3-bfd:
4423 maybe-clean-stage3-bfd:
4424 @if bfd-bootstrap
4425 maybe-all-stage3-bfd: all-stage3-bfd
4426 all-stage3: all-stage3-bfd
4427 TARGET-stage3-bfd = $(TARGET-bfd)
4428 all-stage3-bfd: configure-stage3-bfd
4429 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4430 @r=`${PWD_COMMAND}`; export r; \
4431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4432 $(HOST_EXPORTS) \
4433 $(POSTSTAGE1_HOST_EXPORTS) \
4434 cd $(HOST_SUBDIR)/bfd && \
4435 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4436 $(TARGET-stage3-bfd)
4438 maybe-clean-stage3-bfd: clean-stage3-bfd
4439 clean-stage3: clean-stage3-bfd
4440 clean-stage3-bfd:
4441 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4442 || exit 0 ; \
4443 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4444 cd $(HOST_SUBDIR)/bfd && \
4445 $(MAKE) $(FLAGS_TO_PASS) \
4446 $(POSTSTAGE1_FLAGS_TO_PASS) \
4447 clean
4448 @endif bfd-bootstrap
4451 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4452 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4453 maybe-all-stage4-bfd:
4454 maybe-clean-stage4-bfd:
4455 @if bfd-bootstrap
4456 maybe-all-stage4-bfd: all-stage4-bfd
4457 all-stage4: all-stage4-bfd
4458 TARGET-stage4-bfd = $(TARGET-bfd)
4459 all-stage4-bfd: configure-stage4-bfd
4460 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4461 @r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 $(HOST_EXPORTS) \
4464 $(POSTSTAGE1_HOST_EXPORTS) \
4465 cd $(HOST_SUBDIR)/bfd && \
4466 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4467 $(TARGET-stage4-bfd)
4469 maybe-clean-stage4-bfd: clean-stage4-bfd
4470 clean-stage4: clean-stage4-bfd
4471 clean-stage4-bfd:
4472 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4473 || exit 0 ; \
4474 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4475 cd $(HOST_SUBDIR)/bfd && \
4476 $(MAKE) $(FLAGS_TO_PASS) \
4477 $(POSTSTAGE1_FLAGS_TO_PASS) \
4478 clean
4479 @endif bfd-bootstrap
4482 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4483 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4484 maybe-all-stageprofile-bfd:
4485 maybe-clean-stageprofile-bfd:
4486 @if bfd-bootstrap
4487 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4488 all-stageprofile: all-stageprofile-bfd
4489 TARGET-stageprofile-bfd = $(TARGET-bfd)
4490 all-stageprofile-bfd: configure-stageprofile-bfd
4491 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4492 @r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(HOST_EXPORTS) \
4495 $(POSTSTAGE1_HOST_EXPORTS) \
4496 cd $(HOST_SUBDIR)/bfd && \
4497 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4498 $(TARGET-stageprofile-bfd)
4500 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4501 clean-stageprofile: clean-stageprofile-bfd
4502 clean-stageprofile-bfd:
4503 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4504 || exit 0 ; \
4505 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4506 cd $(HOST_SUBDIR)/bfd && \
4507 $(MAKE) $(FLAGS_TO_PASS) \
4508 $(POSTSTAGE1_FLAGS_TO_PASS) \
4509 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4510 @endif bfd-bootstrap
4513 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4514 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4515 maybe-all-stagefeedback-bfd:
4516 maybe-clean-stagefeedback-bfd:
4517 @if bfd-bootstrap
4518 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4519 all-stagefeedback: all-stagefeedback-bfd
4520 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4521 all-stagefeedback-bfd: configure-stagefeedback-bfd
4522 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4523 @r=`${PWD_COMMAND}`; export r; \
4524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4525 $(HOST_EXPORTS) \
4526 $(POSTSTAGE1_HOST_EXPORTS) \
4527 cd $(HOST_SUBDIR)/bfd && \
4528 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4529 $(TARGET-stagefeedback-bfd)
4531 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4532 clean-stagefeedback: clean-stagefeedback-bfd
4533 clean-stagefeedback-bfd:
4534 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4535 || exit 0 ; \
4536 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4537 cd $(HOST_SUBDIR)/bfd && \
4538 $(MAKE) $(FLAGS_TO_PASS) \
4539 $(POSTSTAGE1_FLAGS_TO_PASS) \
4540 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4541 @endif bfd-bootstrap
4547 .PHONY: check-bfd maybe-check-bfd
4548 maybe-check-bfd:
4549 @if bfd
4550 maybe-check-bfd: check-bfd
4552 check-bfd:
4553 @: $(MAKE); $(unstage)
4554 @r=`${PWD_COMMAND}`; export r; \
4555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4556 $(HOST_EXPORTS) \
4557 (cd $(HOST_SUBDIR)/bfd && \
4558 $(MAKE) $(FLAGS_TO_PASS) check)
4560 @endif bfd
4562 .PHONY: install-bfd maybe-install-bfd
4563 maybe-install-bfd:
4564 @if bfd
4565 maybe-install-bfd: install-bfd
4567 install-bfd: installdirs
4568 @: $(MAKE); $(unstage)
4569 @r=`${PWD_COMMAND}`; export r; \
4570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4571 $(HOST_EXPORTS) \
4572 (cd $(HOST_SUBDIR)/bfd && \
4573 $(MAKE) $(FLAGS_TO_PASS) install)
4575 @endif bfd
4577 # Other targets (info, dvi, etc.)
4579 .PHONY: maybe-info-bfd info-bfd
4580 maybe-info-bfd:
4581 @if bfd
4582 maybe-info-bfd: info-bfd
4584 info-bfd: \
4585 configure-bfd
4586 @[ -f ./bfd/Makefile ] || exit 0; \
4587 r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589 $(HOST_EXPORTS) \
4590 for flag in $(EXTRA_HOST_FLAGS) ; do \
4591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4592 done; \
4593 echo "Doing info in bfd" ; \
4594 (cd $(HOST_SUBDIR)/bfd && \
4595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597 "RANLIB=$${RANLIB}" \
4598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4599 info) \
4600 || exit 1
4602 @endif bfd
4604 .PHONY: maybe-dvi-bfd dvi-bfd
4605 maybe-dvi-bfd:
4606 @if bfd
4607 maybe-dvi-bfd: dvi-bfd
4609 dvi-bfd: \
4610 configure-bfd
4611 @[ -f ./bfd/Makefile ] || exit 0; \
4612 r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 $(HOST_EXPORTS) \
4615 for flag in $(EXTRA_HOST_FLAGS) ; do \
4616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4617 done; \
4618 echo "Doing dvi in bfd" ; \
4619 (cd $(HOST_SUBDIR)/bfd && \
4620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4622 "RANLIB=$${RANLIB}" \
4623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4624 dvi) \
4625 || exit 1
4627 @endif bfd
4629 .PHONY: maybe-html-bfd html-bfd
4630 maybe-html-bfd:
4631 @if bfd
4632 maybe-html-bfd: html-bfd
4634 html-bfd: \
4635 configure-bfd
4636 @[ -f ./bfd/Makefile ] || exit 0; \
4637 r=`${PWD_COMMAND}`; export r; \
4638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4639 $(HOST_EXPORTS) \
4640 for flag in $(EXTRA_HOST_FLAGS) ; do \
4641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4642 done; \
4643 echo "Doing html in bfd" ; \
4644 (cd $(HOST_SUBDIR)/bfd && \
4645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4647 "RANLIB=$${RANLIB}" \
4648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4649 html) \
4650 || exit 1
4652 @endif bfd
4654 .PHONY: maybe-TAGS-bfd TAGS-bfd
4655 maybe-TAGS-bfd:
4656 @if bfd
4657 maybe-TAGS-bfd: TAGS-bfd
4659 TAGS-bfd: \
4660 configure-bfd
4661 @[ -f ./bfd/Makefile ] || exit 0; \
4662 r=`${PWD_COMMAND}`; export r; \
4663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4664 $(HOST_EXPORTS) \
4665 for flag in $(EXTRA_HOST_FLAGS) ; do \
4666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4667 done; \
4668 echo "Doing TAGS in bfd" ; \
4669 (cd $(HOST_SUBDIR)/bfd && \
4670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4672 "RANLIB=$${RANLIB}" \
4673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4674 TAGS) \
4675 || exit 1
4677 @endif bfd
4679 .PHONY: maybe-install-info-bfd install-info-bfd
4680 maybe-install-info-bfd:
4681 @if bfd
4682 maybe-install-info-bfd: install-info-bfd
4684 install-info-bfd: \
4685 configure-bfd \
4686 info-bfd
4687 @[ -f ./bfd/Makefile ] || exit 0; \
4688 r=`${PWD_COMMAND}`; export r; \
4689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4690 $(HOST_EXPORTS) \
4691 for flag in $(EXTRA_HOST_FLAGS) ; do \
4692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4693 done; \
4694 echo "Doing install-info in bfd" ; \
4695 (cd $(HOST_SUBDIR)/bfd && \
4696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4698 "RANLIB=$${RANLIB}" \
4699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4700 install-info) \
4701 || exit 1
4703 @endif bfd
4705 .PHONY: maybe-install-html-bfd install-html-bfd
4706 maybe-install-html-bfd:
4707 @if bfd
4708 maybe-install-html-bfd: install-html-bfd
4710 install-html-bfd: \
4711 configure-bfd \
4712 html-bfd
4713 @[ -f ./bfd/Makefile ] || exit 0; \
4714 r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 $(HOST_EXPORTS) \
4717 for flag in $(EXTRA_HOST_FLAGS) ; do \
4718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4719 done; \
4720 echo "Doing install-html in bfd" ; \
4721 (cd $(HOST_SUBDIR)/bfd && \
4722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4724 "RANLIB=$${RANLIB}" \
4725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4726 install-html) \
4727 || exit 1
4729 @endif bfd
4731 .PHONY: maybe-installcheck-bfd installcheck-bfd
4732 maybe-installcheck-bfd:
4733 @if bfd
4734 maybe-installcheck-bfd: installcheck-bfd
4736 installcheck-bfd: \
4737 configure-bfd
4738 @[ -f ./bfd/Makefile ] || exit 0; \
4739 r=`${PWD_COMMAND}`; export r; \
4740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4741 $(HOST_EXPORTS) \
4742 for flag in $(EXTRA_HOST_FLAGS) ; do \
4743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4744 done; \
4745 echo "Doing installcheck in bfd" ; \
4746 (cd $(HOST_SUBDIR)/bfd && \
4747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4749 "RANLIB=$${RANLIB}" \
4750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4751 installcheck) \
4752 || exit 1
4754 @endif bfd
4756 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4757 maybe-mostlyclean-bfd:
4758 @if bfd
4759 maybe-mostlyclean-bfd: mostlyclean-bfd
4761 mostlyclean-bfd:
4762 @[ -f ./bfd/Makefile ] || exit 0; \
4763 r=`${PWD_COMMAND}`; export r; \
4764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4765 $(HOST_EXPORTS) \
4766 for flag in $(EXTRA_HOST_FLAGS) ; do \
4767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4768 done; \
4769 echo "Doing mostlyclean in bfd" ; \
4770 (cd $(HOST_SUBDIR)/bfd && \
4771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4773 "RANLIB=$${RANLIB}" \
4774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4775 mostlyclean) \
4776 || exit 1
4778 @endif bfd
4780 .PHONY: maybe-clean-bfd clean-bfd
4781 maybe-clean-bfd:
4782 @if bfd
4783 maybe-clean-bfd: clean-bfd
4785 clean-bfd:
4786 @[ -f ./bfd/Makefile ] || exit 0; \
4787 r=`${PWD_COMMAND}`; export r; \
4788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4789 $(HOST_EXPORTS) \
4790 for flag in $(EXTRA_HOST_FLAGS) ; do \
4791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4792 done; \
4793 echo "Doing clean in bfd" ; \
4794 (cd $(HOST_SUBDIR)/bfd && \
4795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4797 "RANLIB=$${RANLIB}" \
4798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4799 clean) \
4800 || exit 1
4802 @endif bfd
4804 .PHONY: maybe-distclean-bfd distclean-bfd
4805 maybe-distclean-bfd:
4806 @if bfd
4807 maybe-distclean-bfd: distclean-bfd
4809 distclean-bfd:
4810 @[ -f ./bfd/Makefile ] || exit 0; \
4811 r=`${PWD_COMMAND}`; export r; \
4812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4813 $(HOST_EXPORTS) \
4814 for flag in $(EXTRA_HOST_FLAGS) ; do \
4815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4816 done; \
4817 echo "Doing distclean in bfd" ; \
4818 (cd $(HOST_SUBDIR)/bfd && \
4819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4821 "RANLIB=$${RANLIB}" \
4822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4823 distclean) \
4824 || exit 1
4826 @endif bfd
4828 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4829 maybe-maintainer-clean-bfd:
4830 @if bfd
4831 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4833 maintainer-clean-bfd:
4834 @[ -f ./bfd/Makefile ] || exit 0; \
4835 r=`${PWD_COMMAND}`; export r; \
4836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4837 $(HOST_EXPORTS) \
4838 for flag in $(EXTRA_HOST_FLAGS) ; do \
4839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4840 done; \
4841 echo "Doing maintainer-clean in bfd" ; \
4842 (cd $(HOST_SUBDIR)/bfd && \
4843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4845 "RANLIB=$${RANLIB}" \
4846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4847 maintainer-clean) \
4848 || exit 1
4850 @endif bfd
4854 .PHONY: configure-opcodes maybe-configure-opcodes
4855 maybe-configure-opcodes:
4856 @if opcodes
4857 maybe-configure-opcodes: configure-opcodes
4858 configure-opcodes:
4859 @endif opcodes
4860 @if opcodes-bootstrap
4861 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4862 @endif opcodes-bootstrap
4863 @if opcodes
4864 @r=`${PWD_COMMAND}`; export r; \
4865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4866 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4868 $(HOST_EXPORTS) \
4869 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4870 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4871 case $(srcdir) in \
4872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4873 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4875 esac; \
4876 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4877 libsrcdir="$$s/opcodes"; \
4878 $(SHELL) $${libsrcdir}/configure \
4879 $(HOST_CONFIGARGS) $${srcdiroption} \
4880 || exit 1
4881 @endif opcodes
4885 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4886 maybe-configure-stage1-opcodes:
4887 @if opcodes-bootstrap
4888 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4889 configure-stage1-opcodes:
4890 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4892 @r=`${PWD_COMMAND}`; export r; \
4893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4894 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4895 $(HOST_EXPORTS) \
4896 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4898 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4899 case $(srcdir) in \
4900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4901 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4903 esac; \
4904 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4905 libsrcdir="$$s/opcodes"; \
4906 $(SHELL) $${libsrcdir}/configure \
4907 $(HOST_CONFIGARGS) $${srcdiroption} \
4908 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4909 @endif opcodes-bootstrap
4911 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4912 maybe-configure-stage2-opcodes:
4913 @if opcodes-bootstrap
4914 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4915 configure-stage2-opcodes:
4916 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4918 @r=`${PWD_COMMAND}`; export r; \
4919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4920 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4921 $(HOST_EXPORTS) \
4922 $(POSTSTAGE1_HOST_EXPORTS) \
4923 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4925 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4926 case $(srcdir) in \
4927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4928 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4930 esac; \
4931 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4932 libsrcdir="$$s/opcodes"; \
4933 $(SHELL) $${libsrcdir}/configure \
4934 $(HOST_CONFIGARGS) $${srcdiroption} \
4935 @stage2_werror_flag@
4936 @endif opcodes-bootstrap
4938 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4939 maybe-configure-stage3-opcodes:
4940 @if opcodes-bootstrap
4941 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4942 configure-stage3-opcodes:
4943 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4945 @r=`${PWD_COMMAND}`; export r; \
4946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4947 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4948 $(HOST_EXPORTS) \
4949 $(POSTSTAGE1_HOST_EXPORTS) \
4950 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4952 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4953 case $(srcdir) in \
4954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4955 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4957 esac; \
4958 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4959 libsrcdir="$$s/opcodes"; \
4960 $(SHELL) $${libsrcdir}/configure \
4961 $(HOST_CONFIGARGS) $${srcdiroption} \
4962 @stage2_werror_flag@
4963 @endif opcodes-bootstrap
4965 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4966 maybe-configure-stage4-opcodes:
4967 @if opcodes-bootstrap
4968 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4969 configure-stage4-opcodes:
4970 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4972 @r=`${PWD_COMMAND}`; export r; \
4973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4974 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4975 $(HOST_EXPORTS) \
4976 $(POSTSTAGE1_HOST_EXPORTS) \
4977 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4979 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4980 case $(srcdir) in \
4981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4982 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4984 esac; \
4985 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4986 libsrcdir="$$s/opcodes"; \
4987 $(SHELL) $${libsrcdir}/configure \
4988 $(HOST_CONFIGARGS) $${srcdiroption} \
4989 @stage2_werror_flag@
4990 @endif opcodes-bootstrap
4992 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4993 maybe-configure-stageprofile-opcodes:
4994 @if opcodes-bootstrap
4995 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4996 configure-stageprofile-opcodes:
4997 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4998 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4999 @r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5002 $(HOST_EXPORTS) \
5003 $(POSTSTAGE1_HOST_EXPORTS) \
5004 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5006 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5007 case $(srcdir) in \
5008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5009 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5011 esac; \
5012 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5013 libsrcdir="$$s/opcodes"; \
5014 $(SHELL) $${libsrcdir}/configure \
5015 $(HOST_CONFIGARGS) $${srcdiroption} \
5016 @stage2_werror_flag@
5017 @endif opcodes-bootstrap
5019 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5020 maybe-configure-stagefeedback-opcodes:
5021 @if opcodes-bootstrap
5022 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5023 configure-stagefeedback-opcodes:
5024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5026 @r=`${PWD_COMMAND}`; export r; \
5027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5028 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5029 $(HOST_EXPORTS) \
5030 $(POSTSTAGE1_HOST_EXPORTS) \
5031 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5033 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5034 case $(srcdir) in \
5035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5036 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5038 esac; \
5039 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5040 libsrcdir="$$s/opcodes"; \
5041 $(SHELL) $${libsrcdir}/configure \
5042 $(HOST_CONFIGARGS) $${srcdiroption} \
5043 @stage2_werror_flag@
5044 @endif opcodes-bootstrap
5050 .PHONY: all-opcodes maybe-all-opcodes
5051 maybe-all-opcodes:
5052 @if opcodes
5053 TARGET-opcodes=all
5054 maybe-all-opcodes: all-opcodes
5055 all-opcodes: configure-opcodes
5056 @endif opcodes
5057 @if opcodes-bootstrap
5058 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5059 @endif opcodes-bootstrap
5060 @if opcodes
5061 @r=`${PWD_COMMAND}`; export r; \
5062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5063 $(HOST_EXPORTS) \
5064 (cd $(HOST_SUBDIR)/opcodes && \
5065 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5066 @endif opcodes
5070 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5071 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5072 maybe-all-stage1-opcodes:
5073 maybe-clean-stage1-opcodes:
5074 @if opcodes-bootstrap
5075 maybe-all-stage1-opcodes: all-stage1-opcodes
5076 all-stage1: all-stage1-opcodes
5077 TARGET-stage1-opcodes = $(TARGET-opcodes)
5078 all-stage1-opcodes: configure-stage1-opcodes
5079 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5085 $(TARGET-stage1-opcodes)
5087 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5088 clean-stage1: clean-stage1-opcodes
5089 clean-stage1-opcodes:
5090 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5091 || exit 0 ; \
5092 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5093 cd $(HOST_SUBDIR)/opcodes && \
5094 $(MAKE) $(FLAGS_TO_PASS) \
5095 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5096 @endif opcodes-bootstrap
5099 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5100 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5101 maybe-all-stage2-opcodes:
5102 maybe-clean-stage2-opcodes:
5103 @if opcodes-bootstrap
5104 maybe-all-stage2-opcodes: all-stage2-opcodes
5105 all-stage2: all-stage2-opcodes
5106 TARGET-stage2-opcodes = $(TARGET-opcodes)
5107 all-stage2-opcodes: configure-stage2-opcodes
5108 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5109 @r=`${PWD_COMMAND}`; export r; \
5110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5111 $(HOST_EXPORTS) \
5112 $(POSTSTAGE1_HOST_EXPORTS) \
5113 cd $(HOST_SUBDIR)/opcodes && \
5114 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5115 $(TARGET-stage2-opcodes)
5117 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5118 clean-stage2: clean-stage2-opcodes
5119 clean-stage2-opcodes:
5120 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5121 || exit 0 ; \
5122 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5123 cd $(HOST_SUBDIR)/opcodes && \
5124 $(MAKE) $(FLAGS_TO_PASS) \
5125 $(POSTSTAGE1_FLAGS_TO_PASS) \
5126 clean
5127 @endif opcodes-bootstrap
5130 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5131 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5132 maybe-all-stage3-opcodes:
5133 maybe-clean-stage3-opcodes:
5134 @if opcodes-bootstrap
5135 maybe-all-stage3-opcodes: all-stage3-opcodes
5136 all-stage3: all-stage3-opcodes
5137 TARGET-stage3-opcodes = $(TARGET-opcodes)
5138 all-stage3-opcodes: configure-stage3-opcodes
5139 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5140 @r=`${PWD_COMMAND}`; export r; \
5141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5142 $(HOST_EXPORTS) \
5143 $(POSTSTAGE1_HOST_EXPORTS) \
5144 cd $(HOST_SUBDIR)/opcodes && \
5145 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5146 $(TARGET-stage3-opcodes)
5148 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5149 clean-stage3: clean-stage3-opcodes
5150 clean-stage3-opcodes:
5151 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5152 || exit 0 ; \
5153 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5154 cd $(HOST_SUBDIR)/opcodes && \
5155 $(MAKE) $(FLAGS_TO_PASS) \
5156 $(POSTSTAGE1_FLAGS_TO_PASS) \
5157 clean
5158 @endif opcodes-bootstrap
5161 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5162 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5163 maybe-all-stage4-opcodes:
5164 maybe-clean-stage4-opcodes:
5165 @if opcodes-bootstrap
5166 maybe-all-stage4-opcodes: all-stage4-opcodes
5167 all-stage4: all-stage4-opcodes
5168 TARGET-stage4-opcodes = $(TARGET-opcodes)
5169 all-stage4-opcodes: configure-stage4-opcodes
5170 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5171 @r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 $(HOST_EXPORTS) \
5174 $(POSTSTAGE1_HOST_EXPORTS) \
5175 cd $(HOST_SUBDIR)/opcodes && \
5176 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5177 $(TARGET-stage4-opcodes)
5179 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5180 clean-stage4: clean-stage4-opcodes
5181 clean-stage4-opcodes:
5182 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5183 || exit 0 ; \
5184 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5185 cd $(HOST_SUBDIR)/opcodes && \
5186 $(MAKE) $(FLAGS_TO_PASS) \
5187 $(POSTSTAGE1_FLAGS_TO_PASS) \
5188 clean
5189 @endif opcodes-bootstrap
5192 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5193 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5194 maybe-all-stageprofile-opcodes:
5195 maybe-clean-stageprofile-opcodes:
5196 @if opcodes-bootstrap
5197 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5198 all-stageprofile: all-stageprofile-opcodes
5199 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5200 all-stageprofile-opcodes: configure-stageprofile-opcodes
5201 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5202 @r=`${PWD_COMMAND}`; export r; \
5203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5204 $(HOST_EXPORTS) \
5205 $(POSTSTAGE1_HOST_EXPORTS) \
5206 cd $(HOST_SUBDIR)/opcodes && \
5207 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5208 $(TARGET-stageprofile-opcodes)
5210 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5211 clean-stageprofile: clean-stageprofile-opcodes
5212 clean-stageprofile-opcodes:
5213 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5214 || exit 0 ; \
5215 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5216 cd $(HOST_SUBDIR)/opcodes && \
5217 $(MAKE) $(FLAGS_TO_PASS) \
5218 $(POSTSTAGE1_FLAGS_TO_PASS) \
5219 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5220 @endif opcodes-bootstrap
5223 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5224 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5225 maybe-all-stagefeedback-opcodes:
5226 maybe-clean-stagefeedback-opcodes:
5227 @if opcodes-bootstrap
5228 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5229 all-stagefeedback: all-stagefeedback-opcodes
5230 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5231 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5232 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5233 @r=`${PWD_COMMAND}`; export r; \
5234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5235 $(HOST_EXPORTS) \
5236 $(POSTSTAGE1_HOST_EXPORTS) \
5237 cd $(HOST_SUBDIR)/opcodes && \
5238 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5239 $(TARGET-stagefeedback-opcodes)
5241 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5242 clean-stagefeedback: clean-stagefeedback-opcodes
5243 clean-stagefeedback-opcodes:
5244 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5245 || exit 0 ; \
5246 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5247 cd $(HOST_SUBDIR)/opcodes && \
5248 $(MAKE) $(FLAGS_TO_PASS) \
5249 $(POSTSTAGE1_FLAGS_TO_PASS) \
5250 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5251 @endif opcodes-bootstrap
5257 .PHONY: check-opcodes maybe-check-opcodes
5258 maybe-check-opcodes:
5259 @if opcodes
5260 maybe-check-opcodes: check-opcodes
5262 check-opcodes:
5263 @: $(MAKE); $(unstage)
5264 @r=`${PWD_COMMAND}`; export r; \
5265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5266 $(HOST_EXPORTS) \
5267 (cd $(HOST_SUBDIR)/opcodes && \
5268 $(MAKE) $(FLAGS_TO_PASS) check)
5270 @endif opcodes
5272 .PHONY: install-opcodes maybe-install-opcodes
5273 maybe-install-opcodes:
5274 @if opcodes
5275 maybe-install-opcodes: install-opcodes
5277 install-opcodes: installdirs
5278 @: $(MAKE); $(unstage)
5279 @r=`${PWD_COMMAND}`; export r; \
5280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5281 $(HOST_EXPORTS) \
5282 (cd $(HOST_SUBDIR)/opcodes && \
5283 $(MAKE) $(FLAGS_TO_PASS) install)
5285 @endif opcodes
5287 # Other targets (info, dvi, etc.)
5289 .PHONY: maybe-info-opcodes info-opcodes
5290 maybe-info-opcodes:
5291 @if opcodes
5292 maybe-info-opcodes: info-opcodes
5294 info-opcodes: \
5295 configure-opcodes
5296 @[ -f ./opcodes/Makefile ] || exit 0; \
5297 r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 $(HOST_EXPORTS) \
5300 for flag in $(EXTRA_HOST_FLAGS) ; do \
5301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5302 done; \
5303 echo "Doing info in opcodes" ; \
5304 (cd $(HOST_SUBDIR)/opcodes && \
5305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5307 "RANLIB=$${RANLIB}" \
5308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5309 info) \
5310 || exit 1
5312 @endif opcodes
5314 .PHONY: maybe-dvi-opcodes dvi-opcodes
5315 maybe-dvi-opcodes:
5316 @if opcodes
5317 maybe-dvi-opcodes: dvi-opcodes
5319 dvi-opcodes: \
5320 configure-opcodes
5321 @[ -f ./opcodes/Makefile ] || exit 0; \
5322 r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 $(HOST_EXPORTS) \
5325 for flag in $(EXTRA_HOST_FLAGS) ; do \
5326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5327 done; \
5328 echo "Doing dvi in opcodes" ; \
5329 (cd $(HOST_SUBDIR)/opcodes && \
5330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5332 "RANLIB=$${RANLIB}" \
5333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5334 dvi) \
5335 || exit 1
5337 @endif opcodes
5339 .PHONY: maybe-html-opcodes html-opcodes
5340 maybe-html-opcodes:
5341 @if opcodes
5342 maybe-html-opcodes: html-opcodes
5344 html-opcodes: \
5345 configure-opcodes
5346 @[ -f ./opcodes/Makefile ] || exit 0; \
5347 r=`${PWD_COMMAND}`; export r; \
5348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5349 $(HOST_EXPORTS) \
5350 for flag in $(EXTRA_HOST_FLAGS) ; do \
5351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5352 done; \
5353 echo "Doing html in opcodes" ; \
5354 (cd $(HOST_SUBDIR)/opcodes && \
5355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5357 "RANLIB=$${RANLIB}" \
5358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5359 html) \
5360 || exit 1
5362 @endif opcodes
5364 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5365 maybe-TAGS-opcodes:
5366 @if opcodes
5367 maybe-TAGS-opcodes: TAGS-opcodes
5369 TAGS-opcodes: \
5370 configure-opcodes
5371 @[ -f ./opcodes/Makefile ] || exit 0; \
5372 r=`${PWD_COMMAND}`; export r; \
5373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5374 $(HOST_EXPORTS) \
5375 for flag in $(EXTRA_HOST_FLAGS) ; do \
5376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5377 done; \
5378 echo "Doing TAGS in opcodes" ; \
5379 (cd $(HOST_SUBDIR)/opcodes && \
5380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5382 "RANLIB=$${RANLIB}" \
5383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5384 TAGS) \
5385 || exit 1
5387 @endif opcodes
5389 .PHONY: maybe-install-info-opcodes install-info-opcodes
5390 maybe-install-info-opcodes:
5391 @if opcodes
5392 maybe-install-info-opcodes: install-info-opcodes
5394 install-info-opcodes: \
5395 configure-opcodes \
5396 info-opcodes
5397 @[ -f ./opcodes/Makefile ] || exit 0; \
5398 r=`${PWD_COMMAND}`; export r; \
5399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5400 $(HOST_EXPORTS) \
5401 for flag in $(EXTRA_HOST_FLAGS) ; do \
5402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5403 done; \
5404 echo "Doing install-info in opcodes" ; \
5405 (cd $(HOST_SUBDIR)/opcodes && \
5406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5408 "RANLIB=$${RANLIB}" \
5409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5410 install-info) \
5411 || exit 1
5413 @endif opcodes
5415 .PHONY: maybe-install-html-opcodes install-html-opcodes
5416 maybe-install-html-opcodes:
5417 @if opcodes
5418 maybe-install-html-opcodes: install-html-opcodes
5420 install-html-opcodes: \
5421 configure-opcodes \
5422 html-opcodes
5423 @[ -f ./opcodes/Makefile ] || exit 0; \
5424 r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(HOST_EXPORTS) \
5427 for flag in $(EXTRA_HOST_FLAGS) ; do \
5428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5429 done; \
5430 echo "Doing install-html in opcodes" ; \
5431 (cd $(HOST_SUBDIR)/opcodes && \
5432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5434 "RANLIB=$${RANLIB}" \
5435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5436 install-html) \
5437 || exit 1
5439 @endif opcodes
5441 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5442 maybe-installcheck-opcodes:
5443 @if opcodes
5444 maybe-installcheck-opcodes: installcheck-opcodes
5446 installcheck-opcodes: \
5447 configure-opcodes
5448 @[ -f ./opcodes/Makefile ] || exit 0; \
5449 r=`${PWD_COMMAND}`; export r; \
5450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5451 $(HOST_EXPORTS) \
5452 for flag in $(EXTRA_HOST_FLAGS) ; do \
5453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5454 done; \
5455 echo "Doing installcheck in opcodes" ; \
5456 (cd $(HOST_SUBDIR)/opcodes && \
5457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5459 "RANLIB=$${RANLIB}" \
5460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5461 installcheck) \
5462 || exit 1
5464 @endif opcodes
5466 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5467 maybe-mostlyclean-opcodes:
5468 @if opcodes
5469 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5471 mostlyclean-opcodes:
5472 @[ -f ./opcodes/Makefile ] || exit 0; \
5473 r=`${PWD_COMMAND}`; export r; \
5474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5475 $(HOST_EXPORTS) \
5476 for flag in $(EXTRA_HOST_FLAGS) ; do \
5477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5478 done; \
5479 echo "Doing mostlyclean in opcodes" ; \
5480 (cd $(HOST_SUBDIR)/opcodes && \
5481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5483 "RANLIB=$${RANLIB}" \
5484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5485 mostlyclean) \
5486 || exit 1
5488 @endif opcodes
5490 .PHONY: maybe-clean-opcodes clean-opcodes
5491 maybe-clean-opcodes:
5492 @if opcodes
5493 maybe-clean-opcodes: clean-opcodes
5495 clean-opcodes:
5496 @[ -f ./opcodes/Makefile ] || exit 0; \
5497 r=`${PWD_COMMAND}`; export r; \
5498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5499 $(HOST_EXPORTS) \
5500 for flag in $(EXTRA_HOST_FLAGS) ; do \
5501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5502 done; \
5503 echo "Doing clean in opcodes" ; \
5504 (cd $(HOST_SUBDIR)/opcodes && \
5505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5507 "RANLIB=$${RANLIB}" \
5508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5509 clean) \
5510 || exit 1
5512 @endif opcodes
5514 .PHONY: maybe-distclean-opcodes distclean-opcodes
5515 maybe-distclean-opcodes:
5516 @if opcodes
5517 maybe-distclean-opcodes: distclean-opcodes
5519 distclean-opcodes:
5520 @[ -f ./opcodes/Makefile ] || exit 0; \
5521 r=`${PWD_COMMAND}`; export r; \
5522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5523 $(HOST_EXPORTS) \
5524 for flag in $(EXTRA_HOST_FLAGS) ; do \
5525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5526 done; \
5527 echo "Doing distclean in opcodes" ; \
5528 (cd $(HOST_SUBDIR)/opcodes && \
5529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5531 "RANLIB=$${RANLIB}" \
5532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5533 distclean) \
5534 || exit 1
5536 @endif opcodes
5538 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5539 maybe-maintainer-clean-opcodes:
5540 @if opcodes
5541 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5543 maintainer-clean-opcodes:
5544 @[ -f ./opcodes/Makefile ] || exit 0; \
5545 r=`${PWD_COMMAND}`; export r; \
5546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5547 $(HOST_EXPORTS) \
5548 for flag in $(EXTRA_HOST_FLAGS) ; do \
5549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5550 done; \
5551 echo "Doing maintainer-clean in opcodes" ; \
5552 (cd $(HOST_SUBDIR)/opcodes && \
5553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5555 "RANLIB=$${RANLIB}" \
5556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5557 maintainer-clean) \
5558 || exit 1
5560 @endif opcodes
5564 .PHONY: configure-binutils maybe-configure-binutils
5565 maybe-configure-binutils:
5566 @if binutils
5567 maybe-configure-binutils: configure-binutils
5568 configure-binutils:
5569 @endif binutils
5570 @if binutils-bootstrap
5571 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5572 @endif binutils-bootstrap
5573 @if binutils
5574 @r=`${PWD_COMMAND}`; export r; \
5575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5576 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5578 $(HOST_EXPORTS) \
5579 echo Configuring in $(HOST_SUBDIR)/binutils; \
5580 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5581 case $(srcdir) in \
5582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5583 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5585 esac; \
5586 srcdiroption="--srcdir=$${topdir}/binutils"; \
5587 libsrcdir="$$s/binutils"; \
5588 $(SHELL) $${libsrcdir}/configure \
5589 $(HOST_CONFIGARGS) $${srcdiroption} \
5590 || exit 1
5591 @endif binutils
5595 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5596 maybe-configure-stage1-binutils:
5597 @if binutils-bootstrap
5598 maybe-configure-stage1-binutils: configure-stage1-binutils
5599 configure-stage1-binutils:
5600 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5602 @r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5605 $(HOST_EXPORTS) \
5606 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5608 cd $(HOST_SUBDIR)/binutils || exit 1; \
5609 case $(srcdir) in \
5610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5611 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5613 esac; \
5614 srcdiroption="--srcdir=$${topdir}/binutils"; \
5615 libsrcdir="$$s/binutils"; \
5616 $(SHELL) $${libsrcdir}/configure \
5617 $(HOST_CONFIGARGS) $${srcdiroption} \
5618 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5619 @endif binutils-bootstrap
5621 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5622 maybe-configure-stage2-binutils:
5623 @if binutils-bootstrap
5624 maybe-configure-stage2-binutils: configure-stage2-binutils
5625 configure-stage2-binutils:
5626 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5627 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5628 @r=`${PWD_COMMAND}`; export r; \
5629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5630 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5631 $(HOST_EXPORTS) \
5632 $(POSTSTAGE1_HOST_EXPORTS) \
5633 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5635 cd $(HOST_SUBDIR)/binutils || exit 1; \
5636 case $(srcdir) in \
5637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5638 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5640 esac; \
5641 srcdiroption="--srcdir=$${topdir}/binutils"; \
5642 libsrcdir="$$s/binutils"; \
5643 $(SHELL) $${libsrcdir}/configure \
5644 $(HOST_CONFIGARGS) $${srcdiroption} \
5645 @stage2_werror_flag@
5646 @endif binutils-bootstrap
5648 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5649 maybe-configure-stage3-binutils:
5650 @if binutils-bootstrap
5651 maybe-configure-stage3-binutils: configure-stage3-binutils
5652 configure-stage3-binutils:
5653 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5655 @r=`${PWD_COMMAND}`; export r; \
5656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5657 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5658 $(HOST_EXPORTS) \
5659 $(POSTSTAGE1_HOST_EXPORTS) \
5660 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5662 cd $(HOST_SUBDIR)/binutils || exit 1; \
5663 case $(srcdir) in \
5664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5665 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5667 esac; \
5668 srcdiroption="--srcdir=$${topdir}/binutils"; \
5669 libsrcdir="$$s/binutils"; \
5670 $(SHELL) $${libsrcdir}/configure \
5671 $(HOST_CONFIGARGS) $${srcdiroption} \
5672 @stage2_werror_flag@
5673 @endif binutils-bootstrap
5675 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5676 maybe-configure-stage4-binutils:
5677 @if binutils-bootstrap
5678 maybe-configure-stage4-binutils: configure-stage4-binutils
5679 configure-stage4-binutils:
5680 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5682 @r=`${PWD_COMMAND}`; export r; \
5683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5684 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5685 $(HOST_EXPORTS) \
5686 $(POSTSTAGE1_HOST_EXPORTS) \
5687 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5689 cd $(HOST_SUBDIR)/binutils || exit 1; \
5690 case $(srcdir) in \
5691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5692 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5694 esac; \
5695 srcdiroption="--srcdir=$${topdir}/binutils"; \
5696 libsrcdir="$$s/binutils"; \
5697 $(SHELL) $${libsrcdir}/configure \
5698 $(HOST_CONFIGARGS) $${srcdiroption} \
5699 @stage2_werror_flag@
5700 @endif binutils-bootstrap
5702 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5703 maybe-configure-stageprofile-binutils:
5704 @if binutils-bootstrap
5705 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5706 configure-stageprofile-binutils:
5707 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5709 @r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5712 $(HOST_EXPORTS) \
5713 $(POSTSTAGE1_HOST_EXPORTS) \
5714 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5716 cd $(HOST_SUBDIR)/binutils || exit 1; \
5717 case $(srcdir) in \
5718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5719 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5721 esac; \
5722 srcdiroption="--srcdir=$${topdir}/binutils"; \
5723 libsrcdir="$$s/binutils"; \
5724 $(SHELL) $${libsrcdir}/configure \
5725 $(HOST_CONFIGARGS) $${srcdiroption} \
5726 @stage2_werror_flag@
5727 @endif binutils-bootstrap
5729 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5730 maybe-configure-stagefeedback-binutils:
5731 @if binutils-bootstrap
5732 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5733 configure-stagefeedback-binutils:
5734 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5736 @r=`${PWD_COMMAND}`; export r; \
5737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5738 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5739 $(HOST_EXPORTS) \
5740 $(POSTSTAGE1_HOST_EXPORTS) \
5741 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5743 cd $(HOST_SUBDIR)/binutils || exit 1; \
5744 case $(srcdir) in \
5745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5746 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5748 esac; \
5749 srcdiroption="--srcdir=$${topdir}/binutils"; \
5750 libsrcdir="$$s/binutils"; \
5751 $(SHELL) $${libsrcdir}/configure \
5752 $(HOST_CONFIGARGS) $${srcdiroption} \
5753 @stage2_werror_flag@
5754 @endif binutils-bootstrap
5760 .PHONY: all-binutils maybe-all-binutils
5761 maybe-all-binutils:
5762 @if binutils
5763 TARGET-binutils=all
5764 maybe-all-binutils: all-binutils
5765 all-binutils: configure-binutils
5766 @endif binutils
5767 @if binutils-bootstrap
5768 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5769 @endif binutils-bootstrap
5770 @if binutils
5771 @r=`${PWD_COMMAND}`; export r; \
5772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773 $(HOST_EXPORTS) \
5774 (cd $(HOST_SUBDIR)/binutils && \
5775 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5776 @endif binutils
5780 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5781 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5782 maybe-all-stage1-binutils:
5783 maybe-clean-stage1-binutils:
5784 @if binutils-bootstrap
5785 maybe-all-stage1-binutils: all-stage1-binutils
5786 all-stage1: all-stage1-binutils
5787 TARGET-stage1-binutils = $(TARGET-binutils)
5788 all-stage1-binutils: configure-stage1-binutils
5789 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5795 $(TARGET-stage1-binutils)
5797 maybe-clean-stage1-binutils: clean-stage1-binutils
5798 clean-stage1: clean-stage1-binutils
5799 clean-stage1-binutils:
5800 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5801 || exit 0 ; \
5802 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5803 cd $(HOST_SUBDIR)/binutils && \
5804 $(MAKE) $(FLAGS_TO_PASS) \
5805 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5806 @endif binutils-bootstrap
5809 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5810 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5811 maybe-all-stage2-binutils:
5812 maybe-clean-stage2-binutils:
5813 @if binutils-bootstrap
5814 maybe-all-stage2-binutils: all-stage2-binutils
5815 all-stage2: all-stage2-binutils
5816 TARGET-stage2-binutils = $(TARGET-binutils)
5817 all-stage2-binutils: configure-stage2-binutils
5818 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5819 @r=`${PWD_COMMAND}`; export r; \
5820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5821 $(HOST_EXPORTS) \
5822 $(POSTSTAGE1_HOST_EXPORTS) \
5823 cd $(HOST_SUBDIR)/binutils && \
5824 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5825 $(TARGET-stage2-binutils)
5827 maybe-clean-stage2-binutils: clean-stage2-binutils
5828 clean-stage2: clean-stage2-binutils
5829 clean-stage2-binutils:
5830 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5831 || exit 0 ; \
5832 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5833 cd $(HOST_SUBDIR)/binutils && \
5834 $(MAKE) $(FLAGS_TO_PASS) \
5835 $(POSTSTAGE1_FLAGS_TO_PASS) \
5836 clean
5837 @endif binutils-bootstrap
5840 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5841 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5842 maybe-all-stage3-binutils:
5843 maybe-clean-stage3-binutils:
5844 @if binutils-bootstrap
5845 maybe-all-stage3-binutils: all-stage3-binutils
5846 all-stage3: all-stage3-binutils
5847 TARGET-stage3-binutils = $(TARGET-binutils)
5848 all-stage3-binutils: configure-stage3-binutils
5849 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5850 @r=`${PWD_COMMAND}`; export r; \
5851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5852 $(HOST_EXPORTS) \
5853 $(POSTSTAGE1_HOST_EXPORTS) \
5854 cd $(HOST_SUBDIR)/binutils && \
5855 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5856 $(TARGET-stage3-binutils)
5858 maybe-clean-stage3-binutils: clean-stage3-binutils
5859 clean-stage3: clean-stage3-binutils
5860 clean-stage3-binutils:
5861 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5862 || exit 0 ; \
5863 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5864 cd $(HOST_SUBDIR)/binutils && \
5865 $(MAKE) $(FLAGS_TO_PASS) \
5866 $(POSTSTAGE1_FLAGS_TO_PASS) \
5867 clean
5868 @endif binutils-bootstrap
5871 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5872 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5873 maybe-all-stage4-binutils:
5874 maybe-clean-stage4-binutils:
5875 @if binutils-bootstrap
5876 maybe-all-stage4-binutils: all-stage4-binutils
5877 all-stage4: all-stage4-binutils
5878 TARGET-stage4-binutils = $(TARGET-binutils)
5879 all-stage4-binutils: configure-stage4-binutils
5880 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5881 @r=`${PWD_COMMAND}`; export r; \
5882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5883 $(HOST_EXPORTS) \
5884 $(POSTSTAGE1_HOST_EXPORTS) \
5885 cd $(HOST_SUBDIR)/binutils && \
5886 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5887 $(TARGET-stage4-binutils)
5889 maybe-clean-stage4-binutils: clean-stage4-binutils
5890 clean-stage4: clean-stage4-binutils
5891 clean-stage4-binutils:
5892 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5893 || exit 0 ; \
5894 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5895 cd $(HOST_SUBDIR)/binutils && \
5896 $(MAKE) $(FLAGS_TO_PASS) \
5897 $(POSTSTAGE1_FLAGS_TO_PASS) \
5898 clean
5899 @endif binutils-bootstrap
5902 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5903 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5904 maybe-all-stageprofile-binutils:
5905 maybe-clean-stageprofile-binutils:
5906 @if binutils-bootstrap
5907 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5908 all-stageprofile: all-stageprofile-binutils
5909 TARGET-stageprofile-binutils = $(TARGET-binutils)
5910 all-stageprofile-binutils: configure-stageprofile-binutils
5911 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5912 @r=`${PWD_COMMAND}`; export r; \
5913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5914 $(HOST_EXPORTS) \
5915 $(POSTSTAGE1_HOST_EXPORTS) \
5916 cd $(HOST_SUBDIR)/binutils && \
5917 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5918 $(TARGET-stageprofile-binutils)
5920 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5921 clean-stageprofile: clean-stageprofile-binutils
5922 clean-stageprofile-binutils:
5923 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5924 || exit 0 ; \
5925 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5926 cd $(HOST_SUBDIR)/binutils && \
5927 $(MAKE) $(FLAGS_TO_PASS) \
5928 $(POSTSTAGE1_FLAGS_TO_PASS) \
5929 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5930 @endif binutils-bootstrap
5933 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5934 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5935 maybe-all-stagefeedback-binutils:
5936 maybe-clean-stagefeedback-binutils:
5937 @if binutils-bootstrap
5938 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5939 all-stagefeedback: all-stagefeedback-binutils
5940 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5941 all-stagefeedback-binutils: configure-stagefeedback-binutils
5942 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5943 @r=`${PWD_COMMAND}`; export r; \
5944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5945 $(HOST_EXPORTS) \
5946 $(POSTSTAGE1_HOST_EXPORTS) \
5947 cd $(HOST_SUBDIR)/binutils && \
5948 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5949 $(TARGET-stagefeedback-binutils)
5951 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5952 clean-stagefeedback: clean-stagefeedback-binutils
5953 clean-stagefeedback-binutils:
5954 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5955 || exit 0 ; \
5956 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5957 cd $(HOST_SUBDIR)/binutils && \
5958 $(MAKE) $(FLAGS_TO_PASS) \
5959 $(POSTSTAGE1_FLAGS_TO_PASS) \
5960 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5961 @endif binutils-bootstrap
5967 .PHONY: check-binutils maybe-check-binutils
5968 maybe-check-binutils:
5969 @if binutils
5970 maybe-check-binutils: check-binutils
5972 check-binutils:
5973 @: $(MAKE); $(unstage)
5974 @r=`${PWD_COMMAND}`; export r; \
5975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5976 $(HOST_EXPORTS) \
5977 (cd $(HOST_SUBDIR)/binutils && \
5978 $(MAKE) $(FLAGS_TO_PASS) check)
5980 @endif binutils
5982 .PHONY: install-binutils maybe-install-binutils
5983 maybe-install-binutils:
5984 @if binutils
5985 maybe-install-binutils: install-binutils
5987 install-binutils: installdirs
5988 @: $(MAKE); $(unstage)
5989 @r=`${PWD_COMMAND}`; export r; \
5990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5991 $(HOST_EXPORTS) \
5992 (cd $(HOST_SUBDIR)/binutils && \
5993 $(MAKE) $(FLAGS_TO_PASS) install)
5995 @endif binutils
5997 # Other targets (info, dvi, etc.)
5999 .PHONY: maybe-info-binutils info-binutils
6000 maybe-info-binutils:
6001 @if binutils
6002 maybe-info-binutils: info-binutils
6004 info-binutils: \
6005 configure-binutils
6006 @[ -f ./binutils/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(HOST_EXPORTS) \
6010 for flag in $(EXTRA_HOST_FLAGS) ; do \
6011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6012 done; \
6013 echo "Doing info in binutils" ; \
6014 (cd $(HOST_SUBDIR)/binutils && \
6015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6017 "RANLIB=$${RANLIB}" \
6018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6019 info) \
6020 || exit 1
6022 @endif binutils
6024 .PHONY: maybe-dvi-binutils dvi-binutils
6025 maybe-dvi-binutils:
6026 @if binutils
6027 maybe-dvi-binutils: dvi-binutils
6029 dvi-binutils: \
6030 configure-binutils
6031 @[ -f ./binutils/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(HOST_EXPORTS) \
6035 for flag in $(EXTRA_HOST_FLAGS) ; do \
6036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6037 done; \
6038 echo "Doing dvi in binutils" ; \
6039 (cd $(HOST_SUBDIR)/binutils && \
6040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6042 "RANLIB=$${RANLIB}" \
6043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6044 dvi) \
6045 || exit 1
6047 @endif binutils
6049 .PHONY: maybe-html-binutils html-binutils
6050 maybe-html-binutils:
6051 @if binutils
6052 maybe-html-binutils: html-binutils
6054 html-binutils: \
6055 configure-binutils
6056 @[ -f ./binutils/Makefile ] || exit 0; \
6057 r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 $(HOST_EXPORTS) \
6060 for flag in $(EXTRA_HOST_FLAGS) ; do \
6061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6062 done; \
6063 echo "Doing html in binutils" ; \
6064 (cd $(HOST_SUBDIR)/binutils && \
6065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6067 "RANLIB=$${RANLIB}" \
6068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6069 html) \
6070 || exit 1
6072 @endif binutils
6074 .PHONY: maybe-TAGS-binutils TAGS-binutils
6075 maybe-TAGS-binutils:
6076 @if binutils
6077 maybe-TAGS-binutils: TAGS-binutils
6079 TAGS-binutils: \
6080 configure-binutils
6081 @[ -f ./binutils/Makefile ] || exit 0; \
6082 r=`${PWD_COMMAND}`; export r; \
6083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6084 $(HOST_EXPORTS) \
6085 for flag in $(EXTRA_HOST_FLAGS) ; do \
6086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6087 done; \
6088 echo "Doing TAGS in binutils" ; \
6089 (cd $(HOST_SUBDIR)/binutils && \
6090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6092 "RANLIB=$${RANLIB}" \
6093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6094 TAGS) \
6095 || exit 1
6097 @endif binutils
6099 .PHONY: maybe-install-info-binutils install-info-binutils
6100 maybe-install-info-binutils:
6101 @if binutils
6102 maybe-install-info-binutils: install-info-binutils
6104 install-info-binutils: \
6105 configure-binutils \
6106 info-binutils
6107 @[ -f ./binutils/Makefile ] || exit 0; \
6108 r=`${PWD_COMMAND}`; export r; \
6109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6110 $(HOST_EXPORTS) \
6111 for flag in $(EXTRA_HOST_FLAGS) ; do \
6112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6113 done; \
6114 echo "Doing install-info in binutils" ; \
6115 (cd $(HOST_SUBDIR)/binutils && \
6116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6118 "RANLIB=$${RANLIB}" \
6119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6120 install-info) \
6121 || exit 1
6123 @endif binutils
6125 .PHONY: maybe-install-html-binutils install-html-binutils
6126 maybe-install-html-binutils:
6127 @if binutils
6128 maybe-install-html-binutils: install-html-binutils
6130 install-html-binutils: \
6131 configure-binutils \
6132 html-binutils
6133 @[ -f ./binutils/Makefile ] || exit 0; \
6134 r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(HOST_EXPORTS) \
6137 for flag in $(EXTRA_HOST_FLAGS) ; do \
6138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6139 done; \
6140 echo "Doing install-html in binutils" ; \
6141 (cd $(HOST_SUBDIR)/binutils && \
6142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6144 "RANLIB=$${RANLIB}" \
6145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6146 install-html) \
6147 || exit 1
6149 @endif binutils
6151 .PHONY: maybe-installcheck-binutils installcheck-binutils
6152 maybe-installcheck-binutils:
6153 @if binutils
6154 maybe-installcheck-binutils: installcheck-binutils
6156 installcheck-binutils: \
6157 configure-binutils
6158 @[ -f ./binutils/Makefile ] || exit 0; \
6159 r=`${PWD_COMMAND}`; export r; \
6160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6161 $(HOST_EXPORTS) \
6162 for flag in $(EXTRA_HOST_FLAGS) ; do \
6163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6164 done; \
6165 echo "Doing installcheck in binutils" ; \
6166 (cd $(HOST_SUBDIR)/binutils && \
6167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6169 "RANLIB=$${RANLIB}" \
6170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6171 installcheck) \
6172 || exit 1
6174 @endif binutils
6176 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6177 maybe-mostlyclean-binutils:
6178 @if binutils
6179 maybe-mostlyclean-binutils: mostlyclean-binutils
6181 mostlyclean-binutils:
6182 @[ -f ./binutils/Makefile ] || exit 0; \
6183 r=`${PWD_COMMAND}`; export r; \
6184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6185 $(HOST_EXPORTS) \
6186 for flag in $(EXTRA_HOST_FLAGS) ; do \
6187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6188 done; \
6189 echo "Doing mostlyclean in binutils" ; \
6190 (cd $(HOST_SUBDIR)/binutils && \
6191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6193 "RANLIB=$${RANLIB}" \
6194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6195 mostlyclean) \
6196 || exit 1
6198 @endif binutils
6200 .PHONY: maybe-clean-binutils clean-binutils
6201 maybe-clean-binutils:
6202 @if binutils
6203 maybe-clean-binutils: clean-binutils
6205 clean-binutils:
6206 @[ -f ./binutils/Makefile ] || exit 0; \
6207 r=`${PWD_COMMAND}`; export r; \
6208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6209 $(HOST_EXPORTS) \
6210 for flag in $(EXTRA_HOST_FLAGS) ; do \
6211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6212 done; \
6213 echo "Doing clean in binutils" ; \
6214 (cd $(HOST_SUBDIR)/binutils && \
6215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6217 "RANLIB=$${RANLIB}" \
6218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6219 clean) \
6220 || exit 1
6222 @endif binutils
6224 .PHONY: maybe-distclean-binutils distclean-binutils
6225 maybe-distclean-binutils:
6226 @if binutils
6227 maybe-distclean-binutils: distclean-binutils
6229 distclean-binutils:
6230 @[ -f ./binutils/Makefile ] || exit 0; \
6231 r=`${PWD_COMMAND}`; export r; \
6232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6233 $(HOST_EXPORTS) \
6234 for flag in $(EXTRA_HOST_FLAGS) ; do \
6235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6236 done; \
6237 echo "Doing distclean in binutils" ; \
6238 (cd $(HOST_SUBDIR)/binutils && \
6239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6241 "RANLIB=$${RANLIB}" \
6242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6243 distclean) \
6244 || exit 1
6246 @endif binutils
6248 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6249 maybe-maintainer-clean-binutils:
6250 @if binutils
6251 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6253 maintainer-clean-binutils:
6254 @[ -f ./binutils/Makefile ] || exit 0; \
6255 r=`${PWD_COMMAND}`; export r; \
6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 $(HOST_EXPORTS) \
6258 for flag in $(EXTRA_HOST_FLAGS) ; do \
6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 done; \
6261 echo "Doing maintainer-clean in binutils" ; \
6262 (cd $(HOST_SUBDIR)/binutils && \
6263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6265 "RANLIB=$${RANLIB}" \
6266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6267 maintainer-clean) \
6268 || exit 1
6270 @endif binutils
6274 .PHONY: configure-bison maybe-configure-bison
6275 maybe-configure-bison:
6276 @if bison
6277 maybe-configure-bison: configure-bison
6278 configure-bison:
6279 @: $(MAKE); $(unstage)
6280 @r=`${PWD_COMMAND}`; export r; \
6281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6282 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6284 $(HOST_EXPORTS) \
6285 echo Configuring in $(HOST_SUBDIR)/bison; \
6286 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6287 case $(srcdir) in \
6288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6289 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6291 esac; \
6292 srcdiroption="--srcdir=$${topdir}/bison"; \
6293 libsrcdir="$$s/bison"; \
6294 $(SHELL) $${libsrcdir}/configure \
6295 $(HOST_CONFIGARGS) $${srcdiroption} \
6296 || exit 1
6297 @endif bison
6303 .PHONY: all-bison maybe-all-bison
6304 maybe-all-bison:
6305 @if bison
6306 TARGET-bison=all
6307 maybe-all-bison: all-bison
6308 all-bison: configure-bison
6309 @: $(MAKE); $(unstage)
6310 @r=`${PWD_COMMAND}`; export r; \
6311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6312 $(HOST_EXPORTS) \
6313 (cd $(HOST_SUBDIR)/bison && \
6314 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6315 @endif bison
6320 .PHONY: check-bison maybe-check-bison
6321 maybe-check-bison:
6322 @if bison
6323 maybe-check-bison: check-bison
6325 # This module is only tested in a native toolchain.
6326 check-bison:
6327 @: $(MAKE); $(unstage)
6328 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
6336 @endif bison
6338 .PHONY: install-bison maybe-install-bison
6339 maybe-install-bison:
6340 @if bison
6341 maybe-install-bison: install-bison
6343 install-bison: installdirs
6344 @: $(MAKE); $(unstage)
6345 @r=`${PWD_COMMAND}`; export r; \
6346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 $(HOST_EXPORTS) \
6348 (cd $(HOST_SUBDIR)/bison && \
6349 $(MAKE) $(FLAGS_TO_PASS) install)
6351 @endif bison
6353 # Other targets (info, dvi, etc.)
6355 .PHONY: maybe-info-bison info-bison
6356 maybe-info-bison:
6357 @if bison
6358 maybe-info-bison: info-bison
6360 info-bison: \
6361 configure-bison
6362 @: $(MAKE); $(unstage)
6363 @[ -f ./bison/Makefile ] || exit 0; \
6364 r=`${PWD_COMMAND}`; export r; \
6365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6366 $(HOST_EXPORTS) \
6367 for flag in $(EXTRA_HOST_FLAGS) ; do \
6368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6369 done; \
6370 echo "Doing info in bison" ; \
6371 (cd $(HOST_SUBDIR)/bison && \
6372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6374 "RANLIB=$${RANLIB}" \
6375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6376 info) \
6377 || exit 1
6379 @endif bison
6381 .PHONY: maybe-dvi-bison dvi-bison
6382 maybe-dvi-bison:
6383 @if bison
6384 maybe-dvi-bison: dvi-bison
6386 dvi-bison: \
6387 configure-bison
6388 @: $(MAKE); $(unstage)
6389 @[ -f ./bison/Makefile ] || exit 0; \
6390 r=`${PWD_COMMAND}`; export r; \
6391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 $(HOST_EXPORTS) \
6393 for flag in $(EXTRA_HOST_FLAGS) ; do \
6394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6395 done; \
6396 echo "Doing dvi in bison" ; \
6397 (cd $(HOST_SUBDIR)/bison && \
6398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6400 "RANLIB=$${RANLIB}" \
6401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6402 dvi) \
6403 || exit 1
6405 @endif bison
6407 .PHONY: maybe-html-bison html-bison
6408 maybe-html-bison:
6409 @if bison
6410 maybe-html-bison: html-bison
6412 html-bison: \
6413 configure-bison
6414 @: $(MAKE); $(unstage)
6415 @[ -f ./bison/Makefile ] || exit 0; \
6416 r=`${PWD_COMMAND}`; export r; \
6417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6418 $(HOST_EXPORTS) \
6419 for flag in $(EXTRA_HOST_FLAGS) ; do \
6420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6421 done; \
6422 echo "Doing html in bison" ; \
6423 (cd $(HOST_SUBDIR)/bison && \
6424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6426 "RANLIB=$${RANLIB}" \
6427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6428 html) \
6429 || exit 1
6431 @endif bison
6433 .PHONY: maybe-TAGS-bison TAGS-bison
6434 maybe-TAGS-bison:
6435 @if bison
6436 maybe-TAGS-bison: TAGS-bison
6438 TAGS-bison: \
6439 configure-bison
6440 @: $(MAKE); $(unstage)
6441 @[ -f ./bison/Makefile ] || exit 0; \
6442 r=`${PWD_COMMAND}`; export r; \
6443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6444 $(HOST_EXPORTS) \
6445 for flag in $(EXTRA_HOST_FLAGS) ; do \
6446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6447 done; \
6448 echo "Doing TAGS in bison" ; \
6449 (cd $(HOST_SUBDIR)/bison && \
6450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6452 "RANLIB=$${RANLIB}" \
6453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6454 TAGS) \
6455 || exit 1
6457 @endif bison
6459 .PHONY: maybe-install-info-bison install-info-bison
6460 maybe-install-info-bison:
6461 @if bison
6462 maybe-install-info-bison: install-info-bison
6464 install-info-bison: \
6465 configure-bison \
6466 info-bison
6467 @: $(MAKE); $(unstage)
6468 @[ -f ./bison/Makefile ] || exit 0; \
6469 r=`${PWD_COMMAND}`; export r; \
6470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6471 $(HOST_EXPORTS) \
6472 for flag in $(EXTRA_HOST_FLAGS) ; do \
6473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6474 done; \
6475 echo "Doing install-info in bison" ; \
6476 (cd $(HOST_SUBDIR)/bison && \
6477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6479 "RANLIB=$${RANLIB}" \
6480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6481 install-info) \
6482 || exit 1
6484 @endif bison
6486 .PHONY: maybe-install-html-bison install-html-bison
6487 maybe-install-html-bison:
6488 @if bison
6489 maybe-install-html-bison: install-html-bison
6491 install-html-bison: \
6492 configure-bison \
6493 html-bison
6494 @: $(MAKE); $(unstage)
6495 @[ -f ./bison/Makefile ] || exit 0; \
6496 r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 $(HOST_EXPORTS) \
6499 for flag in $(EXTRA_HOST_FLAGS) ; do \
6500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6501 done; \
6502 echo "Doing install-html in bison" ; \
6503 (cd $(HOST_SUBDIR)/bison && \
6504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6506 "RANLIB=$${RANLIB}" \
6507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6508 install-html) \
6509 || exit 1
6511 @endif bison
6513 .PHONY: maybe-installcheck-bison installcheck-bison
6514 maybe-installcheck-bison:
6515 @if bison
6516 maybe-installcheck-bison: installcheck-bison
6518 installcheck-bison: \
6519 configure-bison
6520 @: $(MAKE); $(unstage)
6521 @[ -f ./bison/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527 done; \
6528 echo "Doing installcheck in bison" ; \
6529 (cd $(HOST_SUBDIR)/bison && \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6534 installcheck) \
6535 || exit 1
6537 @endif bison
6539 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6540 maybe-mostlyclean-bison:
6541 @if bison
6542 maybe-mostlyclean-bison: mostlyclean-bison
6544 mostlyclean-bison:
6545 @: $(MAKE); $(unstage)
6546 @[ -f ./bison/Makefile ] || exit 0; \
6547 r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549 $(HOST_EXPORTS) \
6550 for flag in $(EXTRA_HOST_FLAGS) ; do \
6551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6552 done; \
6553 echo "Doing mostlyclean in bison" ; \
6554 (cd $(HOST_SUBDIR)/bison && \
6555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6557 "RANLIB=$${RANLIB}" \
6558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6559 mostlyclean) \
6560 || exit 1
6562 @endif bison
6564 .PHONY: maybe-clean-bison clean-bison
6565 maybe-clean-bison:
6566 @if bison
6567 maybe-clean-bison: clean-bison
6569 clean-bison:
6570 @: $(MAKE); $(unstage)
6571 @[ -f ./bison/Makefile ] || exit 0; \
6572 r=`${PWD_COMMAND}`; export r; \
6573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6574 $(HOST_EXPORTS) \
6575 for flag in $(EXTRA_HOST_FLAGS) ; do \
6576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6577 done; \
6578 echo "Doing clean in bison" ; \
6579 (cd $(HOST_SUBDIR)/bison && \
6580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6582 "RANLIB=$${RANLIB}" \
6583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6584 clean) \
6585 || exit 1
6587 @endif bison
6589 .PHONY: maybe-distclean-bison distclean-bison
6590 maybe-distclean-bison:
6591 @if bison
6592 maybe-distclean-bison: distclean-bison
6594 distclean-bison:
6595 @: $(MAKE); $(unstage)
6596 @[ -f ./bison/Makefile ] || exit 0; \
6597 r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 for flag in $(EXTRA_HOST_FLAGS) ; do \
6601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6602 done; \
6603 echo "Doing distclean in bison" ; \
6604 (cd $(HOST_SUBDIR)/bison && \
6605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6607 "RANLIB=$${RANLIB}" \
6608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6609 distclean) \
6610 || exit 1
6612 @endif bison
6614 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6615 maybe-maintainer-clean-bison:
6616 @if bison
6617 maybe-maintainer-clean-bison: maintainer-clean-bison
6619 maintainer-clean-bison:
6620 @: $(MAKE); $(unstage)
6621 @[ -f ./bison/Makefile ] || exit 0; \
6622 r=`${PWD_COMMAND}`; export r; \
6623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6624 $(HOST_EXPORTS) \
6625 for flag in $(EXTRA_HOST_FLAGS) ; do \
6626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6627 done; \
6628 echo "Doing maintainer-clean in bison" ; \
6629 (cd $(HOST_SUBDIR)/bison && \
6630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6632 "RANLIB=$${RANLIB}" \
6633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6634 maintainer-clean) \
6635 || exit 1
6637 @endif bison
6641 .PHONY: configure-byacc maybe-configure-byacc
6642 maybe-configure-byacc:
6643 @if byacc
6644 maybe-configure-byacc: configure-byacc
6645 configure-byacc:
6646 @: $(MAKE); $(unstage)
6647 @r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6651 $(HOST_EXPORTS) \
6652 echo Configuring in $(HOST_SUBDIR)/byacc; \
6653 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6654 case $(srcdir) in \
6655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6656 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6658 esac; \
6659 srcdiroption="--srcdir=$${topdir}/byacc"; \
6660 libsrcdir="$$s/byacc"; \
6661 $(SHELL) $${libsrcdir}/configure \
6662 $(HOST_CONFIGARGS) $${srcdiroption} \
6663 || exit 1
6664 @endif byacc
6670 .PHONY: all-byacc maybe-all-byacc
6671 maybe-all-byacc:
6672 @if byacc
6673 TARGET-byacc=all
6674 maybe-all-byacc: all-byacc
6675 all-byacc: configure-byacc
6676 @: $(MAKE); $(unstage)
6677 @r=`${PWD_COMMAND}`; export r; \
6678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6679 $(HOST_EXPORTS) \
6680 (cd $(HOST_SUBDIR)/byacc && \
6681 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6682 @endif byacc
6687 .PHONY: check-byacc maybe-check-byacc
6688 maybe-check-byacc:
6689 @if byacc
6690 maybe-check-byacc: check-byacc
6692 # This module is only tested in a native toolchain.
6693 check-byacc:
6694 @: $(MAKE); $(unstage)
6695 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
6703 @endif byacc
6705 .PHONY: install-byacc maybe-install-byacc
6706 maybe-install-byacc:
6707 @if byacc
6708 maybe-install-byacc: install-byacc
6710 install-byacc: installdirs
6711 @: $(MAKE); $(unstage)
6712 @r=`${PWD_COMMAND}`; export r; \
6713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6714 $(HOST_EXPORTS) \
6715 (cd $(HOST_SUBDIR)/byacc && \
6716 $(MAKE) $(FLAGS_TO_PASS) install)
6718 @endif byacc
6720 # Other targets (info, dvi, etc.)
6722 .PHONY: maybe-info-byacc info-byacc
6723 maybe-info-byacc:
6724 @if byacc
6725 maybe-info-byacc: info-byacc
6727 info-byacc: \
6728 configure-byacc
6729 @: $(MAKE); $(unstage)
6730 @[ -f ./byacc/Makefile ] || exit 0; \
6731 r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733 $(HOST_EXPORTS) \
6734 for flag in $(EXTRA_HOST_FLAGS) ; do \
6735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6736 done; \
6737 echo "Doing info in byacc" ; \
6738 (cd $(HOST_SUBDIR)/byacc && \
6739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6741 "RANLIB=$${RANLIB}" \
6742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6743 info) \
6744 || exit 1
6746 @endif byacc
6748 .PHONY: maybe-dvi-byacc dvi-byacc
6749 maybe-dvi-byacc:
6750 @if byacc
6751 maybe-dvi-byacc: dvi-byacc
6753 dvi-byacc: \
6754 configure-byacc
6755 @: $(MAKE); $(unstage)
6756 @[ -f ./byacc/Makefile ] || exit 0; \
6757 r=`${PWD_COMMAND}`; export r; \
6758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6759 $(HOST_EXPORTS) \
6760 for flag in $(EXTRA_HOST_FLAGS) ; do \
6761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6762 done; \
6763 echo "Doing dvi in byacc" ; \
6764 (cd $(HOST_SUBDIR)/byacc && \
6765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6767 "RANLIB=$${RANLIB}" \
6768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6769 dvi) \
6770 || exit 1
6772 @endif byacc
6774 .PHONY: maybe-html-byacc html-byacc
6775 maybe-html-byacc:
6776 @if byacc
6777 maybe-html-byacc: html-byacc
6779 html-byacc: \
6780 configure-byacc
6781 @: $(MAKE); $(unstage)
6782 @[ -f ./byacc/Makefile ] || exit 0; \
6783 r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(HOST_EXPORTS) \
6786 for flag in $(EXTRA_HOST_FLAGS) ; do \
6787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6788 done; \
6789 echo "Doing html in byacc" ; \
6790 (cd $(HOST_SUBDIR)/byacc && \
6791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6793 "RANLIB=$${RANLIB}" \
6794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6795 html) \
6796 || exit 1
6798 @endif byacc
6800 .PHONY: maybe-TAGS-byacc TAGS-byacc
6801 maybe-TAGS-byacc:
6802 @if byacc
6803 maybe-TAGS-byacc: TAGS-byacc
6805 TAGS-byacc: \
6806 configure-byacc
6807 @: $(MAKE); $(unstage)
6808 @[ -f ./byacc/Makefile ] || exit 0; \
6809 r=`${PWD_COMMAND}`; export r; \
6810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 $(HOST_EXPORTS) \
6812 for flag in $(EXTRA_HOST_FLAGS) ; do \
6813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6814 done; \
6815 echo "Doing TAGS in byacc" ; \
6816 (cd $(HOST_SUBDIR)/byacc && \
6817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6819 "RANLIB=$${RANLIB}" \
6820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6821 TAGS) \
6822 || exit 1
6824 @endif byacc
6826 .PHONY: maybe-install-info-byacc install-info-byacc
6827 maybe-install-info-byacc:
6828 @if byacc
6829 maybe-install-info-byacc: install-info-byacc
6831 install-info-byacc: \
6832 configure-byacc \
6833 info-byacc
6834 @: $(MAKE); $(unstage)
6835 @[ -f ./byacc/Makefile ] || exit 0; \
6836 r=`${PWD_COMMAND}`; export r; \
6837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6838 $(HOST_EXPORTS) \
6839 for flag in $(EXTRA_HOST_FLAGS) ; do \
6840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6841 done; \
6842 echo "Doing install-info in byacc" ; \
6843 (cd $(HOST_SUBDIR)/byacc && \
6844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6846 "RANLIB=$${RANLIB}" \
6847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6848 install-info) \
6849 || exit 1
6851 @endif byacc
6853 .PHONY: maybe-install-html-byacc install-html-byacc
6854 maybe-install-html-byacc:
6855 @if byacc
6856 maybe-install-html-byacc: install-html-byacc
6858 install-html-byacc: \
6859 configure-byacc \
6860 html-byacc
6861 @: $(MAKE); $(unstage)
6862 @[ -f ./byacc/Makefile ] || exit 0; \
6863 r=`${PWD_COMMAND}`; export r; \
6864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6865 $(HOST_EXPORTS) \
6866 for flag in $(EXTRA_HOST_FLAGS) ; do \
6867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6868 done; \
6869 echo "Doing install-html in byacc" ; \
6870 (cd $(HOST_SUBDIR)/byacc && \
6871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6873 "RANLIB=$${RANLIB}" \
6874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6875 install-html) \
6876 || exit 1
6878 @endif byacc
6880 .PHONY: maybe-installcheck-byacc installcheck-byacc
6881 maybe-installcheck-byacc:
6882 @if byacc
6883 maybe-installcheck-byacc: installcheck-byacc
6885 installcheck-byacc: \
6886 configure-byacc
6887 @: $(MAKE); $(unstage)
6888 @[ -f ./byacc/Makefile ] || exit 0; \
6889 r=`${PWD_COMMAND}`; export r; \
6890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6891 $(HOST_EXPORTS) \
6892 for flag in $(EXTRA_HOST_FLAGS) ; do \
6893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6894 done; \
6895 echo "Doing installcheck in byacc" ; \
6896 (cd $(HOST_SUBDIR)/byacc && \
6897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6899 "RANLIB=$${RANLIB}" \
6900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6901 installcheck) \
6902 || exit 1
6904 @endif byacc
6906 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6907 maybe-mostlyclean-byacc:
6908 @if byacc
6909 maybe-mostlyclean-byacc: mostlyclean-byacc
6911 mostlyclean-byacc:
6912 @: $(MAKE); $(unstage)
6913 @[ -f ./byacc/Makefile ] || exit 0; \
6914 r=`${PWD_COMMAND}`; export r; \
6915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6916 $(HOST_EXPORTS) \
6917 for flag in $(EXTRA_HOST_FLAGS) ; do \
6918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6919 done; \
6920 echo "Doing mostlyclean in byacc" ; \
6921 (cd $(HOST_SUBDIR)/byacc && \
6922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6924 "RANLIB=$${RANLIB}" \
6925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6926 mostlyclean) \
6927 || exit 1
6929 @endif byacc
6931 .PHONY: maybe-clean-byacc clean-byacc
6932 maybe-clean-byacc:
6933 @if byacc
6934 maybe-clean-byacc: clean-byacc
6936 clean-byacc:
6937 @: $(MAKE); $(unstage)
6938 @[ -f ./byacc/Makefile ] || exit 0; \
6939 r=`${PWD_COMMAND}`; export r; \
6940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6941 $(HOST_EXPORTS) \
6942 for flag in $(EXTRA_HOST_FLAGS) ; do \
6943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6944 done; \
6945 echo "Doing clean in byacc" ; \
6946 (cd $(HOST_SUBDIR)/byacc && \
6947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6949 "RANLIB=$${RANLIB}" \
6950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6951 clean) \
6952 || exit 1
6954 @endif byacc
6956 .PHONY: maybe-distclean-byacc distclean-byacc
6957 maybe-distclean-byacc:
6958 @if byacc
6959 maybe-distclean-byacc: distclean-byacc
6961 distclean-byacc:
6962 @: $(MAKE); $(unstage)
6963 @[ -f ./byacc/Makefile ] || exit 0; \
6964 r=`${PWD_COMMAND}`; export r; \
6965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6966 $(HOST_EXPORTS) \
6967 for flag in $(EXTRA_HOST_FLAGS) ; do \
6968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6969 done; \
6970 echo "Doing distclean in byacc" ; \
6971 (cd $(HOST_SUBDIR)/byacc && \
6972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6974 "RANLIB=$${RANLIB}" \
6975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6976 distclean) \
6977 || exit 1
6979 @endif byacc
6981 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6982 maybe-maintainer-clean-byacc:
6983 @if byacc
6984 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6986 maintainer-clean-byacc:
6987 @: $(MAKE); $(unstage)
6988 @[ -f ./byacc/Makefile ] || exit 0; \
6989 r=`${PWD_COMMAND}`; export r; \
6990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6991 $(HOST_EXPORTS) \
6992 for flag in $(EXTRA_HOST_FLAGS) ; do \
6993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6994 done; \
6995 echo "Doing maintainer-clean in byacc" ; \
6996 (cd $(HOST_SUBDIR)/byacc && \
6997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6999 "RANLIB=$${RANLIB}" \
7000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7001 maintainer-clean) \
7002 || exit 1
7004 @endif byacc
7008 .PHONY: configure-bzip2 maybe-configure-bzip2
7009 maybe-configure-bzip2:
7010 @if bzip2
7011 maybe-configure-bzip2: configure-bzip2
7012 configure-bzip2:
7013 @: $(MAKE); $(unstage)
7014 @r=`${PWD_COMMAND}`; export r; \
7015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7016 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7018 $(HOST_EXPORTS) \
7019 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7020 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7021 case $(srcdir) in \
7022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7023 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7025 esac; \
7026 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7027 libsrcdir="$$s/bzip2"; \
7028 $(SHELL) $${libsrcdir}/configure \
7029 $(HOST_CONFIGARGS) $${srcdiroption} \
7030 || exit 1
7031 @endif bzip2
7037 .PHONY: all-bzip2 maybe-all-bzip2
7038 maybe-all-bzip2:
7039 @if bzip2
7040 TARGET-bzip2=all
7041 maybe-all-bzip2: all-bzip2
7042 all-bzip2: configure-bzip2
7043 @: $(MAKE); $(unstage)
7044 @r=`${PWD_COMMAND}`; export r; \
7045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7046 $(HOST_EXPORTS) \
7047 (cd $(HOST_SUBDIR)/bzip2 && \
7048 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7049 @endif bzip2
7054 .PHONY: check-bzip2 maybe-check-bzip2
7055 maybe-check-bzip2:
7056 @if bzip2
7057 maybe-check-bzip2: check-bzip2
7059 check-bzip2:
7060 @: $(MAKE); $(unstage)
7061 @r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7063 $(HOST_EXPORTS) \
7064 (cd $(HOST_SUBDIR)/bzip2 && \
7065 $(MAKE) $(FLAGS_TO_PASS) check)
7067 @endif bzip2
7069 .PHONY: install-bzip2 maybe-install-bzip2
7070 maybe-install-bzip2:
7071 @if bzip2
7072 maybe-install-bzip2: install-bzip2
7074 install-bzip2: installdirs
7075 @: $(MAKE); $(unstage)
7076 @r=`${PWD_COMMAND}`; export r; \
7077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7078 $(HOST_EXPORTS) \
7079 (cd $(HOST_SUBDIR)/bzip2 && \
7080 $(MAKE) $(FLAGS_TO_PASS) install)
7082 @endif bzip2
7084 # Other targets (info, dvi, etc.)
7086 .PHONY: maybe-info-bzip2 info-bzip2
7087 maybe-info-bzip2:
7088 @if bzip2
7089 maybe-info-bzip2: info-bzip2
7091 info-bzip2: \
7092 configure-bzip2
7093 @: $(MAKE); $(unstage)
7094 @[ -f ./bzip2/Makefile ] || exit 0; \
7095 r=`${PWD_COMMAND}`; export r; \
7096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7097 $(HOST_EXPORTS) \
7098 for flag in $(EXTRA_HOST_FLAGS) ; do \
7099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7100 done; \
7101 echo "Doing info in bzip2" ; \
7102 (cd $(HOST_SUBDIR)/bzip2 && \
7103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7105 "RANLIB=$${RANLIB}" \
7106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7107 info) \
7108 || exit 1
7110 @endif bzip2
7112 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7113 maybe-dvi-bzip2:
7114 @if bzip2
7115 maybe-dvi-bzip2: dvi-bzip2
7117 dvi-bzip2: \
7118 configure-bzip2
7119 @: $(MAKE); $(unstage)
7120 @[ -f ./bzip2/Makefile ] || exit 0; \
7121 r=`${PWD_COMMAND}`; export r; \
7122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123 $(HOST_EXPORTS) \
7124 for flag in $(EXTRA_HOST_FLAGS) ; do \
7125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7126 done; \
7127 echo "Doing dvi in bzip2" ; \
7128 (cd $(HOST_SUBDIR)/bzip2 && \
7129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7131 "RANLIB=$${RANLIB}" \
7132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7133 dvi) \
7134 || exit 1
7136 @endif bzip2
7138 .PHONY: maybe-html-bzip2 html-bzip2
7139 maybe-html-bzip2:
7140 @if bzip2
7141 maybe-html-bzip2: html-bzip2
7143 html-bzip2: \
7144 configure-bzip2
7145 @: $(MAKE); $(unstage)
7146 @[ -f ./bzip2/Makefile ] || exit 0; \
7147 r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149 $(HOST_EXPORTS) \
7150 for flag in $(EXTRA_HOST_FLAGS) ; do \
7151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7152 done; \
7153 echo "Doing html in bzip2" ; \
7154 (cd $(HOST_SUBDIR)/bzip2 && \
7155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7157 "RANLIB=$${RANLIB}" \
7158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7159 html) \
7160 || exit 1
7162 @endif bzip2
7164 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7165 maybe-TAGS-bzip2:
7166 @if bzip2
7167 maybe-TAGS-bzip2: TAGS-bzip2
7169 TAGS-bzip2: \
7170 configure-bzip2
7171 @: $(MAKE); $(unstage)
7172 @[ -f ./bzip2/Makefile ] || exit 0; \
7173 r=`${PWD_COMMAND}`; export r; \
7174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7175 $(HOST_EXPORTS) \
7176 for flag in $(EXTRA_HOST_FLAGS) ; do \
7177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7178 done; \
7179 echo "Doing TAGS in bzip2" ; \
7180 (cd $(HOST_SUBDIR)/bzip2 && \
7181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7183 "RANLIB=$${RANLIB}" \
7184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7185 TAGS) \
7186 || exit 1
7188 @endif bzip2
7190 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7191 maybe-install-info-bzip2:
7192 @if bzip2
7193 maybe-install-info-bzip2: install-info-bzip2
7195 install-info-bzip2: \
7196 configure-bzip2 \
7197 info-bzip2
7198 @: $(MAKE); $(unstage)
7199 @[ -f ./bzip2/Makefile ] || exit 0; \
7200 r=`${PWD_COMMAND}`; export r; \
7201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7202 $(HOST_EXPORTS) \
7203 for flag in $(EXTRA_HOST_FLAGS) ; do \
7204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7205 done; \
7206 echo "Doing install-info in bzip2" ; \
7207 (cd $(HOST_SUBDIR)/bzip2 && \
7208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7210 "RANLIB=$${RANLIB}" \
7211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7212 install-info) \
7213 || exit 1
7215 @endif bzip2
7217 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7218 maybe-install-html-bzip2:
7219 @if bzip2
7220 maybe-install-html-bzip2: install-html-bzip2
7222 install-html-bzip2: \
7223 configure-bzip2 \
7224 html-bzip2
7225 @: $(MAKE); $(unstage)
7226 @[ -f ./bzip2/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(HOST_EXPORTS) \
7230 for flag in $(EXTRA_HOST_FLAGS) ; do \
7231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7232 done; \
7233 echo "Doing install-html in bzip2" ; \
7234 (cd $(HOST_SUBDIR)/bzip2 && \
7235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7237 "RANLIB=$${RANLIB}" \
7238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7239 install-html) \
7240 || exit 1
7242 @endif bzip2
7244 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7245 maybe-installcheck-bzip2:
7246 @if bzip2
7247 maybe-installcheck-bzip2: installcheck-bzip2
7249 installcheck-bzip2: \
7250 configure-bzip2
7251 @: $(MAKE); $(unstage)
7252 @[ -f ./bzip2/Makefile ] || exit 0; \
7253 r=`${PWD_COMMAND}`; export r; \
7254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7255 $(HOST_EXPORTS) \
7256 for flag in $(EXTRA_HOST_FLAGS) ; do \
7257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7258 done; \
7259 echo "Doing installcheck in bzip2" ; \
7260 (cd $(HOST_SUBDIR)/bzip2 && \
7261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7263 "RANLIB=$${RANLIB}" \
7264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7265 installcheck) \
7266 || exit 1
7268 @endif bzip2
7270 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7271 maybe-mostlyclean-bzip2:
7272 @if bzip2
7273 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7275 mostlyclean-bzip2:
7276 @: $(MAKE); $(unstage)
7277 @[ -f ./bzip2/Makefile ] || exit 0; \
7278 r=`${PWD_COMMAND}`; export r; \
7279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7280 $(HOST_EXPORTS) \
7281 for flag in $(EXTRA_HOST_FLAGS) ; do \
7282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7283 done; \
7284 echo "Doing mostlyclean in bzip2" ; \
7285 (cd $(HOST_SUBDIR)/bzip2 && \
7286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7288 "RANLIB=$${RANLIB}" \
7289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7290 mostlyclean) \
7291 || exit 1
7293 @endif bzip2
7295 .PHONY: maybe-clean-bzip2 clean-bzip2
7296 maybe-clean-bzip2:
7297 @if bzip2
7298 maybe-clean-bzip2: clean-bzip2
7300 clean-bzip2:
7301 @: $(MAKE); $(unstage)
7302 @[ -f ./bzip2/Makefile ] || exit 0; \
7303 r=`${PWD_COMMAND}`; export r; \
7304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7305 $(HOST_EXPORTS) \
7306 for flag in $(EXTRA_HOST_FLAGS) ; do \
7307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7308 done; \
7309 echo "Doing clean in bzip2" ; \
7310 (cd $(HOST_SUBDIR)/bzip2 && \
7311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7313 "RANLIB=$${RANLIB}" \
7314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7315 clean) \
7316 || exit 1
7318 @endif bzip2
7320 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7321 maybe-distclean-bzip2:
7322 @if bzip2
7323 maybe-distclean-bzip2: distclean-bzip2
7325 distclean-bzip2:
7326 @: $(MAKE); $(unstage)
7327 @[ -f ./bzip2/Makefile ] || exit 0; \
7328 r=`${PWD_COMMAND}`; export r; \
7329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7330 $(HOST_EXPORTS) \
7331 for flag in $(EXTRA_HOST_FLAGS) ; do \
7332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7333 done; \
7334 echo "Doing distclean in bzip2" ; \
7335 (cd $(HOST_SUBDIR)/bzip2 && \
7336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7338 "RANLIB=$${RANLIB}" \
7339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7340 distclean) \
7341 || exit 1
7343 @endif bzip2
7345 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7346 maybe-maintainer-clean-bzip2:
7347 @if bzip2
7348 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7350 maintainer-clean-bzip2:
7351 @: $(MAKE); $(unstage)
7352 @[ -f ./bzip2/Makefile ] || exit 0; \
7353 r=`${PWD_COMMAND}`; export r; \
7354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7355 $(HOST_EXPORTS) \
7356 for flag in $(EXTRA_HOST_FLAGS) ; do \
7357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7358 done; \
7359 echo "Doing maintainer-clean in bzip2" ; \
7360 (cd $(HOST_SUBDIR)/bzip2 && \
7361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7363 "RANLIB=$${RANLIB}" \
7364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7365 maintainer-clean) \
7366 || exit 1
7368 @endif bzip2
7372 .PHONY: configure-dejagnu maybe-configure-dejagnu
7373 maybe-configure-dejagnu:
7374 @if dejagnu
7375 maybe-configure-dejagnu: configure-dejagnu
7376 configure-dejagnu:
7377 @: $(MAKE); $(unstage)
7378 @r=`${PWD_COMMAND}`; export r; \
7379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7380 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7382 $(HOST_EXPORTS) \
7383 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7384 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7385 case $(srcdir) in \
7386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7387 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7389 esac; \
7390 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7391 libsrcdir="$$s/dejagnu"; \
7392 $(SHELL) $${libsrcdir}/configure \
7393 $(HOST_CONFIGARGS) $${srcdiroption} \
7394 || exit 1
7395 @endif dejagnu
7401 .PHONY: all-dejagnu maybe-all-dejagnu
7402 maybe-all-dejagnu:
7403 @if dejagnu
7404 TARGET-dejagnu=all
7405 maybe-all-dejagnu: all-dejagnu
7406 all-dejagnu: configure-dejagnu
7407 @: $(MAKE); $(unstage)
7408 @r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 $(HOST_EXPORTS) \
7411 (cd $(HOST_SUBDIR)/dejagnu && \
7412 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7413 @endif dejagnu
7418 .PHONY: check-dejagnu maybe-check-dejagnu
7419 maybe-check-dejagnu:
7420 @if dejagnu
7421 maybe-check-dejagnu: check-dejagnu
7423 check-dejagnu:
7424 @: $(MAKE); $(unstage)
7425 @r=`${PWD_COMMAND}`; export r; \
7426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7427 $(HOST_EXPORTS) \
7428 (cd $(HOST_SUBDIR)/dejagnu && \
7429 $(MAKE) $(FLAGS_TO_PASS) check)
7431 @endif dejagnu
7433 .PHONY: install-dejagnu maybe-install-dejagnu
7434 maybe-install-dejagnu:
7435 @if dejagnu
7436 maybe-install-dejagnu: install-dejagnu
7438 install-dejagnu: installdirs
7439 @: $(MAKE); $(unstage)
7440 @r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7442 $(HOST_EXPORTS) \
7443 (cd $(HOST_SUBDIR)/dejagnu && \
7444 $(MAKE) $(FLAGS_TO_PASS) install)
7446 @endif dejagnu
7448 # Other targets (info, dvi, etc.)
7450 .PHONY: maybe-info-dejagnu info-dejagnu
7451 maybe-info-dejagnu:
7452 @if dejagnu
7453 maybe-info-dejagnu: info-dejagnu
7455 info-dejagnu: \
7456 configure-dejagnu
7457 @: $(MAKE); $(unstage)
7458 @[ -f ./dejagnu/Makefile ] || exit 0; \
7459 r=`${PWD_COMMAND}`; export r; \
7460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7461 $(HOST_EXPORTS) \
7462 for flag in $(EXTRA_HOST_FLAGS) ; do \
7463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7464 done; \
7465 echo "Doing info in dejagnu" ; \
7466 (cd $(HOST_SUBDIR)/dejagnu && \
7467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7469 "RANLIB=$${RANLIB}" \
7470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7471 info) \
7472 || exit 1
7474 @endif dejagnu
7476 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7477 maybe-dvi-dejagnu:
7478 @if dejagnu
7479 maybe-dvi-dejagnu: dvi-dejagnu
7481 dvi-dejagnu: \
7482 configure-dejagnu
7483 @: $(MAKE); $(unstage)
7484 @[ -f ./dejagnu/Makefile ] || exit 0; \
7485 r=`${PWD_COMMAND}`; export r; \
7486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7487 $(HOST_EXPORTS) \
7488 for flag in $(EXTRA_HOST_FLAGS) ; do \
7489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7490 done; \
7491 echo "Doing dvi in dejagnu" ; \
7492 (cd $(HOST_SUBDIR)/dejagnu && \
7493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7495 "RANLIB=$${RANLIB}" \
7496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7497 dvi) \
7498 || exit 1
7500 @endif dejagnu
7502 .PHONY: maybe-html-dejagnu html-dejagnu
7503 maybe-html-dejagnu:
7504 @if dejagnu
7505 maybe-html-dejagnu: html-dejagnu
7507 html-dejagnu: \
7508 configure-dejagnu
7509 @: $(MAKE); $(unstage)
7510 @[ -f ./dejagnu/Makefile ] || exit 0; \
7511 r=`${PWD_COMMAND}`; export r; \
7512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7513 $(HOST_EXPORTS) \
7514 for flag in $(EXTRA_HOST_FLAGS) ; do \
7515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7516 done; \
7517 echo "Doing html in dejagnu" ; \
7518 (cd $(HOST_SUBDIR)/dejagnu && \
7519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7521 "RANLIB=$${RANLIB}" \
7522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7523 html) \
7524 || exit 1
7526 @endif dejagnu
7528 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7529 maybe-TAGS-dejagnu:
7530 @if dejagnu
7531 maybe-TAGS-dejagnu: TAGS-dejagnu
7533 TAGS-dejagnu: \
7534 configure-dejagnu
7535 @: $(MAKE); $(unstage)
7536 @[ -f ./dejagnu/Makefile ] || exit 0; \
7537 r=`${PWD_COMMAND}`; export r; \
7538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7539 $(HOST_EXPORTS) \
7540 for flag in $(EXTRA_HOST_FLAGS) ; do \
7541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 done; \
7543 echo "Doing TAGS in dejagnu" ; \
7544 (cd $(HOST_SUBDIR)/dejagnu && \
7545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7547 "RANLIB=$${RANLIB}" \
7548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7549 TAGS) \
7550 || exit 1
7552 @endif dejagnu
7554 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7555 maybe-install-info-dejagnu:
7556 @if dejagnu
7557 maybe-install-info-dejagnu: install-info-dejagnu
7559 install-info-dejagnu: \
7560 configure-dejagnu \
7561 info-dejagnu
7562 @: $(MAKE); $(unstage)
7563 @[ -f ./dejagnu/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing install-info in dejagnu" ; \
7571 (cd $(HOST_SUBDIR)/dejagnu && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7576 install-info) \
7577 || exit 1
7579 @endif dejagnu
7581 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7582 maybe-install-html-dejagnu:
7583 @if dejagnu
7584 maybe-install-html-dejagnu: install-html-dejagnu
7586 install-html-dejagnu: \
7587 configure-dejagnu \
7588 html-dejagnu
7589 @: $(MAKE); $(unstage)
7590 @[ -f ./dejagnu/Makefile ] || exit 0; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7593 $(HOST_EXPORTS) \
7594 for flag in $(EXTRA_HOST_FLAGS) ; do \
7595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7596 done; \
7597 echo "Doing install-html in dejagnu" ; \
7598 (cd $(HOST_SUBDIR)/dejagnu && \
7599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7601 "RANLIB=$${RANLIB}" \
7602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7603 install-html) \
7604 || exit 1
7606 @endif dejagnu
7608 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7609 maybe-installcheck-dejagnu:
7610 @if dejagnu
7611 maybe-installcheck-dejagnu: installcheck-dejagnu
7613 installcheck-dejagnu: \
7614 configure-dejagnu
7615 @: $(MAKE); $(unstage)
7616 @[ -f ./dejagnu/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing installcheck in dejagnu" ; \
7624 (cd $(HOST_SUBDIR)/dejagnu && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7629 installcheck) \
7630 || exit 1
7632 @endif dejagnu
7634 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7635 maybe-mostlyclean-dejagnu:
7636 @if dejagnu
7637 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7639 mostlyclean-dejagnu:
7640 @: $(MAKE); $(unstage)
7641 @[ -f ./dejagnu/Makefile ] || exit 0; \
7642 r=`${PWD_COMMAND}`; export r; \
7643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7644 $(HOST_EXPORTS) \
7645 for flag in $(EXTRA_HOST_FLAGS) ; do \
7646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7647 done; \
7648 echo "Doing mostlyclean in dejagnu" ; \
7649 (cd $(HOST_SUBDIR)/dejagnu && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7652 "RANLIB=$${RANLIB}" \
7653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7654 mostlyclean) \
7655 || exit 1
7657 @endif dejagnu
7659 .PHONY: maybe-clean-dejagnu clean-dejagnu
7660 maybe-clean-dejagnu:
7661 @if dejagnu
7662 maybe-clean-dejagnu: clean-dejagnu
7664 clean-dejagnu:
7665 @: $(MAKE); $(unstage)
7666 @[ -f ./dejagnu/Makefile ] || exit 0; \
7667 r=`${PWD_COMMAND}`; export r; \
7668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7669 $(HOST_EXPORTS) \
7670 for flag in $(EXTRA_HOST_FLAGS) ; do \
7671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7672 done; \
7673 echo "Doing clean in dejagnu" ; \
7674 (cd $(HOST_SUBDIR)/dejagnu && \
7675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7677 "RANLIB=$${RANLIB}" \
7678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7679 clean) \
7680 || exit 1
7682 @endif dejagnu
7684 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7685 maybe-distclean-dejagnu:
7686 @if dejagnu
7687 maybe-distclean-dejagnu: distclean-dejagnu
7689 distclean-dejagnu:
7690 @: $(MAKE); $(unstage)
7691 @[ -f ./dejagnu/Makefile ] || exit 0; \
7692 r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 $(HOST_EXPORTS) \
7695 for flag in $(EXTRA_HOST_FLAGS) ; do \
7696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7697 done; \
7698 echo "Doing distclean in dejagnu" ; \
7699 (cd $(HOST_SUBDIR)/dejagnu && \
7700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7702 "RANLIB=$${RANLIB}" \
7703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7704 distclean) \
7705 || exit 1
7707 @endif dejagnu
7709 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7710 maybe-maintainer-clean-dejagnu:
7711 @if dejagnu
7712 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7714 maintainer-clean-dejagnu:
7715 @: $(MAKE); $(unstage)
7716 @[ -f ./dejagnu/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719 $(HOST_EXPORTS) \
7720 for flag in $(EXTRA_HOST_FLAGS) ; do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7722 done; \
7723 echo "Doing maintainer-clean in dejagnu" ; \
7724 (cd $(HOST_SUBDIR)/dejagnu && \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7729 maintainer-clean) \
7730 || exit 1
7732 @endif dejagnu
7736 .PHONY: configure-diff maybe-configure-diff
7737 maybe-configure-diff:
7738 @if diff
7739 maybe-configure-diff: configure-diff
7740 configure-diff:
7741 @: $(MAKE); $(unstage)
7742 @r=`${PWD_COMMAND}`; export r; \
7743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7744 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7746 $(HOST_EXPORTS) \
7747 echo Configuring in $(HOST_SUBDIR)/diff; \
7748 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7749 case $(srcdir) in \
7750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7751 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7753 esac; \
7754 srcdiroption="--srcdir=$${topdir}/diff"; \
7755 libsrcdir="$$s/diff"; \
7756 $(SHELL) $${libsrcdir}/configure \
7757 $(HOST_CONFIGARGS) $${srcdiroption} \
7758 || exit 1
7759 @endif diff
7765 .PHONY: all-diff maybe-all-diff
7766 maybe-all-diff:
7767 @if diff
7768 TARGET-diff=all
7769 maybe-all-diff: all-diff
7770 all-diff: configure-diff
7771 @: $(MAKE); $(unstage)
7772 @r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(HOST_EXPORTS) \
7775 (cd $(HOST_SUBDIR)/diff && \
7776 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7777 @endif diff
7782 .PHONY: check-diff maybe-check-diff
7783 maybe-check-diff:
7784 @if diff
7785 maybe-check-diff: check-diff
7787 check-diff:
7788 @: $(MAKE); $(unstage)
7789 @r=`${PWD_COMMAND}`; export r; \
7790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7791 $(HOST_EXPORTS) \
7792 (cd $(HOST_SUBDIR)/diff && \
7793 $(MAKE) $(FLAGS_TO_PASS) check)
7795 @endif diff
7797 .PHONY: install-diff maybe-install-diff
7798 maybe-install-diff:
7799 @if diff
7800 maybe-install-diff: install-diff
7802 install-diff: installdirs
7803 @: $(MAKE); $(unstage)
7804 @r=`${PWD_COMMAND}`; export r; \
7805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7806 $(HOST_EXPORTS) \
7807 (cd $(HOST_SUBDIR)/diff && \
7808 $(MAKE) $(FLAGS_TO_PASS) install)
7810 @endif diff
7812 # Other targets (info, dvi, etc.)
7814 .PHONY: maybe-info-diff info-diff
7815 maybe-info-diff:
7816 @if diff
7817 maybe-info-diff: info-diff
7819 info-diff: \
7820 configure-diff
7821 @: $(MAKE); $(unstage)
7822 @[ -f ./diff/Makefile ] || exit 0; \
7823 r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 $(HOST_EXPORTS) \
7826 for flag in $(EXTRA_HOST_FLAGS) ; do \
7827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7828 done; \
7829 echo "Doing info in diff" ; \
7830 (cd $(HOST_SUBDIR)/diff && \
7831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7833 "RANLIB=$${RANLIB}" \
7834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7835 info) \
7836 || exit 1
7838 @endif diff
7840 .PHONY: maybe-dvi-diff dvi-diff
7841 maybe-dvi-diff:
7842 @if diff
7843 maybe-dvi-diff: dvi-diff
7845 dvi-diff: \
7846 configure-diff
7847 @: $(MAKE); $(unstage)
7848 @[ -f ./diff/Makefile ] || exit 0; \
7849 r=`${PWD_COMMAND}`; export r; \
7850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7851 $(HOST_EXPORTS) \
7852 for flag in $(EXTRA_HOST_FLAGS) ; do \
7853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7854 done; \
7855 echo "Doing dvi in diff" ; \
7856 (cd $(HOST_SUBDIR)/diff && \
7857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7859 "RANLIB=$${RANLIB}" \
7860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7861 dvi) \
7862 || exit 1
7864 @endif diff
7866 .PHONY: maybe-html-diff html-diff
7867 maybe-html-diff:
7868 @if diff
7869 maybe-html-diff: html-diff
7871 html-diff: \
7872 configure-diff
7873 @: $(MAKE); $(unstage)
7874 @[ -f ./diff/Makefile ] || exit 0; \
7875 r=`${PWD_COMMAND}`; export r; \
7876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7877 $(HOST_EXPORTS) \
7878 for flag in $(EXTRA_HOST_FLAGS) ; do \
7879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7880 done; \
7881 echo "Doing html in diff" ; \
7882 (cd $(HOST_SUBDIR)/diff && \
7883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7885 "RANLIB=$${RANLIB}" \
7886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7887 html) \
7888 || exit 1
7890 @endif diff
7892 .PHONY: maybe-TAGS-diff TAGS-diff
7893 maybe-TAGS-diff:
7894 @if diff
7895 maybe-TAGS-diff: TAGS-diff
7897 TAGS-diff: \
7898 configure-diff
7899 @: $(MAKE); $(unstage)
7900 @[ -f ./diff/Makefile ] || exit 0; \
7901 r=`${PWD_COMMAND}`; export r; \
7902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7903 $(HOST_EXPORTS) \
7904 for flag in $(EXTRA_HOST_FLAGS) ; do \
7905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7906 done; \
7907 echo "Doing TAGS in diff" ; \
7908 (cd $(HOST_SUBDIR)/diff && \
7909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7911 "RANLIB=$${RANLIB}" \
7912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7913 TAGS) \
7914 || exit 1
7916 @endif diff
7918 .PHONY: maybe-install-info-diff install-info-diff
7919 maybe-install-info-diff:
7920 @if diff
7921 maybe-install-info-diff: install-info-diff
7923 install-info-diff: \
7924 configure-diff \
7925 info-diff
7926 @: $(MAKE); $(unstage)
7927 @[ -f ./diff/Makefile ] || exit 0; \
7928 r=`${PWD_COMMAND}`; export r; \
7929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930 $(HOST_EXPORTS) \
7931 for flag in $(EXTRA_HOST_FLAGS) ; do \
7932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933 done; \
7934 echo "Doing install-info in diff" ; \
7935 (cd $(HOST_SUBDIR)/diff && \
7936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7938 "RANLIB=$${RANLIB}" \
7939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7940 install-info) \
7941 || exit 1
7943 @endif diff
7945 .PHONY: maybe-install-html-diff install-html-diff
7946 maybe-install-html-diff:
7947 @if diff
7948 maybe-install-html-diff: install-html-diff
7950 install-html-diff: \
7951 configure-diff \
7952 html-diff
7953 @: $(MAKE); $(unstage)
7954 @[ -f ./diff/Makefile ] || exit 0; \
7955 r=`${PWD_COMMAND}`; export r; \
7956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7957 $(HOST_EXPORTS) \
7958 for flag in $(EXTRA_HOST_FLAGS) ; do \
7959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7960 done; \
7961 echo "Doing install-html in diff" ; \
7962 (cd $(HOST_SUBDIR)/diff && \
7963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7965 "RANLIB=$${RANLIB}" \
7966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7967 install-html) \
7968 || exit 1
7970 @endif diff
7972 .PHONY: maybe-installcheck-diff installcheck-diff
7973 maybe-installcheck-diff:
7974 @if diff
7975 maybe-installcheck-diff: installcheck-diff
7977 installcheck-diff: \
7978 configure-diff
7979 @: $(MAKE); $(unstage)
7980 @[ -f ./diff/Makefile ] || exit 0; \
7981 r=`${PWD_COMMAND}`; export r; \
7982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7983 $(HOST_EXPORTS) \
7984 for flag in $(EXTRA_HOST_FLAGS) ; do \
7985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7986 done; \
7987 echo "Doing installcheck in diff" ; \
7988 (cd $(HOST_SUBDIR)/diff && \
7989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7991 "RANLIB=$${RANLIB}" \
7992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7993 installcheck) \
7994 || exit 1
7996 @endif diff
7998 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7999 maybe-mostlyclean-diff:
8000 @if diff
8001 maybe-mostlyclean-diff: mostlyclean-diff
8003 mostlyclean-diff:
8004 @: $(MAKE); $(unstage)
8005 @[ -f ./diff/Makefile ] || exit 0; \
8006 r=`${PWD_COMMAND}`; export r; \
8007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8008 $(HOST_EXPORTS) \
8009 for flag in $(EXTRA_HOST_FLAGS) ; do \
8010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8011 done; \
8012 echo "Doing mostlyclean in diff" ; \
8013 (cd $(HOST_SUBDIR)/diff && \
8014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8016 "RANLIB=$${RANLIB}" \
8017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8018 mostlyclean) \
8019 || exit 1
8021 @endif diff
8023 .PHONY: maybe-clean-diff clean-diff
8024 maybe-clean-diff:
8025 @if diff
8026 maybe-clean-diff: clean-diff
8028 clean-diff:
8029 @: $(MAKE); $(unstage)
8030 @[ -f ./diff/Makefile ] || exit 0; \
8031 r=`${PWD_COMMAND}`; export r; \
8032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8033 $(HOST_EXPORTS) \
8034 for flag in $(EXTRA_HOST_FLAGS) ; do \
8035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8036 done; \
8037 echo "Doing clean in diff" ; \
8038 (cd $(HOST_SUBDIR)/diff && \
8039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8041 "RANLIB=$${RANLIB}" \
8042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8043 clean) \
8044 || exit 1
8046 @endif diff
8048 .PHONY: maybe-distclean-diff distclean-diff
8049 maybe-distclean-diff:
8050 @if diff
8051 maybe-distclean-diff: distclean-diff
8053 distclean-diff:
8054 @: $(MAKE); $(unstage)
8055 @[ -f ./diff/Makefile ] || exit 0; \
8056 r=`${PWD_COMMAND}`; export r; \
8057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8058 $(HOST_EXPORTS) \
8059 for flag in $(EXTRA_HOST_FLAGS) ; do \
8060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8061 done; \
8062 echo "Doing distclean in diff" ; \
8063 (cd $(HOST_SUBDIR)/diff && \
8064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8066 "RANLIB=$${RANLIB}" \
8067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8068 distclean) \
8069 || exit 1
8071 @endif diff
8073 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8074 maybe-maintainer-clean-diff:
8075 @if diff
8076 maybe-maintainer-clean-diff: maintainer-clean-diff
8078 maintainer-clean-diff:
8079 @: $(MAKE); $(unstage)
8080 @[ -f ./diff/Makefile ] || exit 0; \
8081 r=`${PWD_COMMAND}`; export r; \
8082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8083 $(HOST_EXPORTS) \
8084 for flag in $(EXTRA_HOST_FLAGS) ; do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8086 done; \
8087 echo "Doing maintainer-clean in diff" ; \
8088 (cd $(HOST_SUBDIR)/diff && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8093 maintainer-clean) \
8094 || exit 1
8096 @endif diff
8100 .PHONY: configure-dosutils maybe-configure-dosutils
8101 maybe-configure-dosutils:
8102 @if dosutils
8103 maybe-configure-dosutils: configure-dosutils
8104 configure-dosutils:
8105 @: $(MAKE); $(unstage)
8106 @r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8108 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8110 $(HOST_EXPORTS) \
8111 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8112 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8113 case $(srcdir) in \
8114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8115 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8117 esac; \
8118 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8119 libsrcdir="$$s/dosutils"; \
8120 $(SHELL) $${libsrcdir}/configure \
8121 $(HOST_CONFIGARGS) $${srcdiroption} \
8122 || exit 1
8123 @endif dosutils
8129 .PHONY: all-dosutils maybe-all-dosutils
8130 maybe-all-dosutils:
8131 @if dosutils
8132 TARGET-dosutils=all
8133 maybe-all-dosutils: all-dosutils
8134 all-dosutils: configure-dosutils
8135 @: $(MAKE); $(unstage)
8136 @r=`${PWD_COMMAND}`; export r; \
8137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8138 $(HOST_EXPORTS) \
8139 (cd $(HOST_SUBDIR)/dosutils && \
8140 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8141 @endif dosutils
8146 .PHONY: check-dosutils maybe-check-dosutils
8147 maybe-check-dosutils:
8148 @if dosutils
8149 maybe-check-dosutils: check-dosutils
8151 check-dosutils:
8153 @endif dosutils
8155 .PHONY: install-dosutils maybe-install-dosutils
8156 maybe-install-dosutils:
8157 @if dosutils
8158 maybe-install-dosutils: install-dosutils
8160 install-dosutils: installdirs
8161 @: $(MAKE); $(unstage)
8162 @r=`${PWD_COMMAND}`; export r; \
8163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8164 $(HOST_EXPORTS) \
8165 (cd $(HOST_SUBDIR)/dosutils && \
8166 $(MAKE) $(FLAGS_TO_PASS) install)
8168 @endif dosutils
8170 # Other targets (info, dvi, etc.)
8172 .PHONY: maybe-info-dosutils info-dosutils
8173 maybe-info-dosutils:
8174 @if dosutils
8175 maybe-info-dosutils: info-dosutils
8177 info-dosutils: \
8178 configure-dosutils
8179 @: $(MAKE); $(unstage)
8180 @[ -f ./dosutils/Makefile ] || exit 0; \
8181 r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 $(HOST_EXPORTS) \
8184 for flag in $(EXTRA_HOST_FLAGS) ; do \
8185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8186 done; \
8187 echo "Doing info in dosutils" ; \
8188 (cd $(HOST_SUBDIR)/dosutils && \
8189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8191 "RANLIB=$${RANLIB}" \
8192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8193 info) \
8194 || exit 1
8196 @endif dosutils
8198 .PHONY: maybe-dvi-dosutils dvi-dosutils
8199 maybe-dvi-dosutils:
8200 @if dosutils
8201 maybe-dvi-dosutils: dvi-dosutils
8203 dvi-dosutils: \
8204 configure-dosutils
8205 @: $(MAKE); $(unstage)
8206 @[ -f ./dosutils/Makefile ] || exit 0; \
8207 r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 $(HOST_EXPORTS) \
8210 for flag in $(EXTRA_HOST_FLAGS) ; do \
8211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8212 done; \
8213 echo "Doing dvi in dosutils" ; \
8214 (cd $(HOST_SUBDIR)/dosutils && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8219 dvi) \
8220 || exit 1
8222 @endif dosutils
8224 .PHONY: maybe-html-dosutils html-dosutils
8225 maybe-html-dosutils:
8226 @if dosutils
8227 maybe-html-dosutils: html-dosutils
8229 html-dosutils: \
8230 configure-dosutils
8231 @: $(MAKE); $(unstage)
8232 @[ -f ./dosutils/Makefile ] || exit 0; \
8233 r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(HOST_EXPORTS) \
8236 for flag in $(EXTRA_HOST_FLAGS) ; do \
8237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8238 done; \
8239 echo "Doing html in dosutils" ; \
8240 (cd $(HOST_SUBDIR)/dosutils && \
8241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8243 "RANLIB=$${RANLIB}" \
8244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8245 html) \
8246 || exit 1
8248 @endif dosutils
8250 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8251 maybe-TAGS-dosutils:
8252 @if dosutils
8253 maybe-TAGS-dosutils: TAGS-dosutils
8255 TAGS-dosutils: \
8256 configure-dosutils
8257 @: $(MAKE); $(unstage)
8258 @[ -f ./dosutils/Makefile ] || exit 0; \
8259 r=`${PWD_COMMAND}`; export r; \
8260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8261 $(HOST_EXPORTS) \
8262 for flag in $(EXTRA_HOST_FLAGS) ; do \
8263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8264 done; \
8265 echo "Doing TAGS in dosutils" ; \
8266 (cd $(HOST_SUBDIR)/dosutils && \
8267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8269 "RANLIB=$${RANLIB}" \
8270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8271 TAGS) \
8272 || exit 1
8274 @endif dosutils
8276 .PHONY: maybe-install-info-dosutils install-info-dosutils
8277 maybe-install-info-dosutils:
8278 @if dosutils
8279 maybe-install-info-dosutils: install-info-dosutils
8281 install-info-dosutils: \
8282 configure-dosutils \
8283 info-dosutils
8284 @: $(MAKE); $(unstage)
8285 @[ -f ./dosutils/Makefile ] || exit 0; \
8286 r=`${PWD_COMMAND}`; export r; \
8287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8288 $(HOST_EXPORTS) \
8289 for flag in $(EXTRA_HOST_FLAGS) ; do \
8290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8291 done; \
8292 echo "Doing install-info in dosutils" ; \
8293 (cd $(HOST_SUBDIR)/dosutils && \
8294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296 "RANLIB=$${RANLIB}" \
8297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8298 install-info) \
8299 || exit 1
8301 @endif dosutils
8303 .PHONY: maybe-install-html-dosutils install-html-dosutils
8304 maybe-install-html-dosutils:
8305 @if dosutils
8306 maybe-install-html-dosutils: install-html-dosutils
8308 install-html-dosutils: \
8309 configure-dosutils \
8310 html-dosutils
8311 @: $(MAKE); $(unstage)
8312 @[ -f ./dosutils/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 $(HOST_EXPORTS) \
8316 for flag in $(EXTRA_HOST_FLAGS) ; do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8318 done; \
8319 echo "Doing install-html in dosutils" ; \
8320 (cd $(HOST_SUBDIR)/dosutils && \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323 "RANLIB=$${RANLIB}" \
8324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8325 install-html) \
8326 || exit 1
8328 @endif dosutils
8330 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8331 maybe-installcheck-dosutils:
8332 @if dosutils
8333 maybe-installcheck-dosutils: installcheck-dosutils
8335 installcheck-dosutils: \
8336 configure-dosutils
8337 @: $(MAKE); $(unstage)
8338 @[ -f ./dosutils/Makefile ] || exit 0; \
8339 r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 $(HOST_EXPORTS) \
8342 for flag in $(EXTRA_HOST_FLAGS) ; do \
8343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8344 done; \
8345 echo "Doing installcheck in dosutils" ; \
8346 (cd $(HOST_SUBDIR)/dosutils && \
8347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8349 "RANLIB=$${RANLIB}" \
8350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8351 installcheck) \
8352 || exit 1
8354 @endif dosutils
8356 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8357 maybe-mostlyclean-dosutils:
8358 @if dosutils
8359 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8361 mostlyclean-dosutils:
8362 @: $(MAKE); $(unstage)
8363 @[ -f ./dosutils/Makefile ] || exit 0; \
8364 r=`${PWD_COMMAND}`; export r; \
8365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8366 $(HOST_EXPORTS) \
8367 for flag in $(EXTRA_HOST_FLAGS) ; do \
8368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8369 done; \
8370 echo "Doing mostlyclean in dosutils" ; \
8371 (cd $(HOST_SUBDIR)/dosutils && \
8372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8374 "RANLIB=$${RANLIB}" \
8375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8376 mostlyclean) \
8377 || exit 1
8379 @endif dosutils
8381 .PHONY: maybe-clean-dosutils clean-dosutils
8382 maybe-clean-dosutils:
8383 @if dosutils
8384 maybe-clean-dosutils: clean-dosutils
8386 clean-dosutils:
8387 @: $(MAKE); $(unstage)
8388 @[ -f ./dosutils/Makefile ] || exit 0; \
8389 r=`${PWD_COMMAND}`; export r; \
8390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 $(HOST_EXPORTS) \
8392 for flag in $(EXTRA_HOST_FLAGS) ; do \
8393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8394 done; \
8395 echo "Doing clean in dosutils" ; \
8396 (cd $(HOST_SUBDIR)/dosutils && \
8397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8399 "RANLIB=$${RANLIB}" \
8400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8401 clean) \
8402 || exit 1
8404 @endif dosutils
8406 .PHONY: maybe-distclean-dosutils distclean-dosutils
8407 maybe-distclean-dosutils:
8408 @if dosutils
8409 maybe-distclean-dosutils: distclean-dosutils
8411 distclean-dosutils:
8412 @: $(MAKE); $(unstage)
8413 @[ -f ./dosutils/Makefile ] || exit 0; \
8414 r=`${PWD_COMMAND}`; export r; \
8415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 $(HOST_EXPORTS) \
8417 for flag in $(EXTRA_HOST_FLAGS) ; do \
8418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8419 done; \
8420 echo "Doing distclean in dosutils" ; \
8421 (cd $(HOST_SUBDIR)/dosutils && \
8422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8424 "RANLIB=$${RANLIB}" \
8425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8426 distclean) \
8427 || exit 1
8429 @endif dosutils
8431 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8432 maybe-maintainer-clean-dosutils:
8433 @if dosutils
8434 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8436 maintainer-clean-dosutils:
8437 @: $(MAKE); $(unstage)
8438 @[ -f ./dosutils/Makefile ] || exit 0; \
8439 r=`${PWD_COMMAND}`; export r; \
8440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8441 $(HOST_EXPORTS) \
8442 for flag in $(EXTRA_HOST_FLAGS) ; do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444 done; \
8445 echo "Doing maintainer-clean in dosutils" ; \
8446 (cd $(HOST_SUBDIR)/dosutils && \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8451 maintainer-clean) \
8452 || exit 1
8454 @endif dosutils
8458 .PHONY: configure-etc maybe-configure-etc
8459 maybe-configure-etc:
8460 @if etc
8461 maybe-configure-etc: configure-etc
8462 configure-etc:
8463 @: $(MAKE); $(unstage)
8464 @r=`${PWD_COMMAND}`; export r; \
8465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8466 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8468 $(HOST_EXPORTS) \
8469 echo Configuring in $(HOST_SUBDIR)/etc; \
8470 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8471 case $(srcdir) in \
8472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8473 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8475 esac; \
8476 srcdiroption="--srcdir=$${topdir}/etc"; \
8477 libsrcdir="$$s/etc"; \
8478 $(SHELL) $${libsrcdir}/configure \
8479 $(HOST_CONFIGARGS) $${srcdiroption} \
8480 || exit 1
8481 @endif etc
8487 .PHONY: all-etc maybe-all-etc
8488 maybe-all-etc:
8489 @if etc
8490 TARGET-etc=all
8491 maybe-all-etc: all-etc
8492 all-etc: configure-etc
8493 @: $(MAKE); $(unstage)
8494 @r=`${PWD_COMMAND}`; export r; \
8495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8496 $(HOST_EXPORTS) \
8497 (cd $(HOST_SUBDIR)/etc && \
8498 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8499 @endif etc
8504 .PHONY: check-etc maybe-check-etc
8505 maybe-check-etc:
8506 @if etc
8507 maybe-check-etc: check-etc
8509 check-etc:
8510 @: $(MAKE); $(unstage)
8511 @r=`${PWD_COMMAND}`; export r; \
8512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8513 $(HOST_EXPORTS) \
8514 (cd $(HOST_SUBDIR)/etc && \
8515 $(MAKE) $(FLAGS_TO_PASS) check)
8517 @endif etc
8519 .PHONY: install-etc maybe-install-etc
8520 maybe-install-etc:
8521 @if etc
8522 maybe-install-etc: install-etc
8524 install-etc: installdirs
8525 @: $(MAKE); $(unstage)
8526 @r=`${PWD_COMMAND}`; export r; \
8527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8528 $(HOST_EXPORTS) \
8529 (cd $(HOST_SUBDIR)/etc && \
8530 $(MAKE) $(FLAGS_TO_PASS) install)
8532 @endif etc
8534 # Other targets (info, dvi, etc.)
8536 .PHONY: maybe-info-etc info-etc
8537 maybe-info-etc:
8538 @if etc
8539 maybe-info-etc: info-etc
8541 info-etc: \
8542 configure-etc
8543 @: $(MAKE); $(unstage)
8544 @[ -f ./etc/Makefile ] || exit 0; \
8545 r=`${PWD_COMMAND}`; export r; \
8546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8547 $(HOST_EXPORTS) \
8548 for flag in $(EXTRA_HOST_FLAGS) ; do \
8549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8550 done; \
8551 echo "Doing info in etc" ; \
8552 (cd $(HOST_SUBDIR)/etc && \
8553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8555 "RANLIB=$${RANLIB}" \
8556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8557 info) \
8558 || exit 1
8560 @endif etc
8562 .PHONY: maybe-dvi-etc dvi-etc
8563 maybe-dvi-etc:
8564 @if etc
8565 maybe-dvi-etc: dvi-etc
8567 dvi-etc: \
8568 configure-etc
8569 @: $(MAKE); $(unstage)
8570 @[ -f ./etc/Makefile ] || exit 0; \
8571 r=`${PWD_COMMAND}`; export r; \
8572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8573 $(HOST_EXPORTS) \
8574 for flag in $(EXTRA_HOST_FLAGS) ; do \
8575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8576 done; \
8577 echo "Doing dvi in etc" ; \
8578 (cd $(HOST_SUBDIR)/etc && \
8579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8581 "RANLIB=$${RANLIB}" \
8582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8583 dvi) \
8584 || exit 1
8586 @endif etc
8588 .PHONY: maybe-html-etc html-etc
8589 maybe-html-etc:
8590 @if etc
8591 maybe-html-etc: html-etc
8593 html-etc: \
8594 configure-etc
8595 @: $(MAKE); $(unstage)
8596 @[ -f ./etc/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(HOST_EXPORTS) \
8600 for flag in $(EXTRA_HOST_FLAGS) ; do \
8601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 done; \
8603 echo "Doing html in etc" ; \
8604 (cd $(HOST_SUBDIR)/etc && \
8605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8607 "RANLIB=$${RANLIB}" \
8608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8609 html) \
8610 || exit 1
8612 @endif etc
8614 .PHONY: maybe-TAGS-etc TAGS-etc
8615 maybe-TAGS-etc:
8616 @if etc
8617 maybe-TAGS-etc: TAGS-etc
8619 TAGS-etc: \
8620 configure-etc
8621 @: $(MAKE); $(unstage)
8622 @[ -f ./etc/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing TAGS in etc" ; \
8630 (cd $(HOST_SUBDIR)/etc && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8635 TAGS) \
8636 || exit 1
8638 @endif etc
8640 .PHONY: maybe-install-info-etc install-info-etc
8641 maybe-install-info-etc:
8642 @if etc
8643 maybe-install-info-etc: install-info-etc
8645 install-info-etc: \
8646 configure-etc \
8647 info-etc
8648 @: $(MAKE); $(unstage)
8649 @[ -f ./etc/Makefile ] || exit 0; \
8650 r=`${PWD_COMMAND}`; export r; \
8651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 $(HOST_EXPORTS) \
8653 for flag in $(EXTRA_HOST_FLAGS) ; do \
8654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8655 done; \
8656 echo "Doing install-info in etc" ; \
8657 (cd $(HOST_SUBDIR)/etc && \
8658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8660 "RANLIB=$${RANLIB}" \
8661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8662 install-info) \
8663 || exit 1
8665 @endif etc
8667 .PHONY: maybe-install-html-etc install-html-etc
8668 maybe-install-html-etc:
8669 @if etc
8670 maybe-install-html-etc: install-html-etc
8672 install-html-etc: \
8673 configure-etc \
8674 html-etc
8675 @: $(MAKE); $(unstage)
8676 @[ -f ./etc/Makefile ] || exit 0; \
8677 r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 $(HOST_EXPORTS) \
8680 for flag in $(EXTRA_HOST_FLAGS) ; do \
8681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8682 done; \
8683 echo "Doing install-html in etc" ; \
8684 (cd $(HOST_SUBDIR)/etc && \
8685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8687 "RANLIB=$${RANLIB}" \
8688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8689 install-html) \
8690 || exit 1
8692 @endif etc
8694 .PHONY: maybe-installcheck-etc installcheck-etc
8695 maybe-installcheck-etc:
8696 @if etc
8697 maybe-installcheck-etc: installcheck-etc
8699 installcheck-etc: \
8700 configure-etc
8701 @: $(MAKE); $(unstage)
8702 @[ -f ./etc/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(HOST_EXPORTS) \
8706 for flag in $(EXTRA_HOST_FLAGS) ; do \
8707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8708 done; \
8709 echo "Doing installcheck in etc" ; \
8710 (cd $(HOST_SUBDIR)/etc && \
8711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8713 "RANLIB=$${RANLIB}" \
8714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8715 installcheck) \
8716 || exit 1
8718 @endif etc
8720 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8721 maybe-mostlyclean-etc:
8722 @if etc
8723 maybe-mostlyclean-etc: mostlyclean-etc
8725 mostlyclean-etc:
8726 @: $(MAKE); $(unstage)
8727 @[ -f ./etc/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(HOST_EXPORTS) \
8731 for flag in $(EXTRA_HOST_FLAGS) ; do \
8732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8733 done; \
8734 echo "Doing mostlyclean in etc" ; \
8735 (cd $(HOST_SUBDIR)/etc && \
8736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8738 "RANLIB=$${RANLIB}" \
8739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8740 mostlyclean) \
8741 || exit 1
8743 @endif etc
8745 .PHONY: maybe-clean-etc clean-etc
8746 maybe-clean-etc:
8747 @if etc
8748 maybe-clean-etc: clean-etc
8750 clean-etc:
8751 @: $(MAKE); $(unstage)
8752 @[ -f ./etc/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(HOST_EXPORTS) \
8756 for flag in $(EXTRA_HOST_FLAGS) ; do \
8757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8758 done; \
8759 echo "Doing clean in etc" ; \
8760 (cd $(HOST_SUBDIR)/etc && \
8761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8763 "RANLIB=$${RANLIB}" \
8764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8765 clean) \
8766 || exit 1
8768 @endif etc
8770 .PHONY: maybe-distclean-etc distclean-etc
8771 maybe-distclean-etc:
8772 @if etc
8773 maybe-distclean-etc: distclean-etc
8775 distclean-etc:
8776 @: $(MAKE); $(unstage)
8777 @[ -f ./etc/Makefile ] || exit 0; \
8778 r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 $(HOST_EXPORTS) \
8781 for flag in $(EXTRA_HOST_FLAGS) ; do \
8782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8783 done; \
8784 echo "Doing distclean in etc" ; \
8785 (cd $(HOST_SUBDIR)/etc && \
8786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8788 "RANLIB=$${RANLIB}" \
8789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8790 distclean) \
8791 || exit 1
8793 @endif etc
8795 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8796 maybe-maintainer-clean-etc:
8797 @if etc
8798 maybe-maintainer-clean-etc: maintainer-clean-etc
8800 maintainer-clean-etc:
8801 @: $(MAKE); $(unstage)
8802 @[ -f ./etc/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 $(HOST_EXPORTS) \
8806 for flag in $(EXTRA_HOST_FLAGS) ; do \
8807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8808 done; \
8809 echo "Doing maintainer-clean in etc" ; \
8810 (cd $(HOST_SUBDIR)/etc && \
8811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8813 "RANLIB=$${RANLIB}" \
8814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8815 maintainer-clean) \
8816 || exit 1
8818 @endif etc
8822 .PHONY: configure-fastjar maybe-configure-fastjar
8823 maybe-configure-fastjar:
8824 @if fastjar
8825 maybe-configure-fastjar: configure-fastjar
8826 configure-fastjar:
8827 @: $(MAKE); $(unstage)
8828 @r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8832 $(HOST_EXPORTS) \
8833 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8834 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8835 case $(srcdir) in \
8836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8837 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8839 esac; \
8840 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8841 libsrcdir="$$s/fastjar"; \
8842 $(SHELL) $${libsrcdir}/configure \
8843 $(HOST_CONFIGARGS) $${srcdiroption} \
8844 || exit 1
8845 @endif fastjar
8851 .PHONY: all-fastjar maybe-all-fastjar
8852 maybe-all-fastjar:
8853 @if fastjar
8854 TARGET-fastjar=all
8855 maybe-all-fastjar: all-fastjar
8856 all-fastjar: configure-fastjar
8857 @: $(MAKE); $(unstage)
8858 @r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8860 $(HOST_EXPORTS) \
8861 (cd $(HOST_SUBDIR)/fastjar && \
8862 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8863 @endif fastjar
8868 .PHONY: check-fastjar maybe-check-fastjar
8869 maybe-check-fastjar:
8870 @if fastjar
8871 maybe-check-fastjar: check-fastjar
8873 # This module is only tested in a native toolchain.
8874 check-fastjar:
8875 @: $(MAKE); $(unstage)
8876 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
8884 @endif fastjar
8886 .PHONY: install-fastjar maybe-install-fastjar
8887 maybe-install-fastjar:
8888 @if fastjar
8889 maybe-install-fastjar: install-fastjar
8891 install-fastjar: installdirs
8892 @: $(MAKE); $(unstage)
8893 @r=`${PWD_COMMAND}`; export r; \
8894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8895 $(HOST_EXPORTS) \
8896 (cd $(HOST_SUBDIR)/fastjar && \
8897 $(MAKE) $(FLAGS_TO_PASS) install)
8899 @endif fastjar
8901 # Other targets (info, dvi, etc.)
8903 .PHONY: maybe-info-fastjar info-fastjar
8904 maybe-info-fastjar:
8905 @if fastjar
8906 maybe-info-fastjar: info-fastjar
8908 info-fastjar: \
8909 configure-fastjar
8910 @: $(MAKE); $(unstage)
8911 @[ -f ./fastjar/Makefile ] || exit 0; \
8912 r=`${PWD_COMMAND}`; export r; \
8913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 $(HOST_EXPORTS) \
8915 for flag in $(EXTRA_HOST_FLAGS) ; do \
8916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8917 done; \
8918 echo "Doing info in fastjar" ; \
8919 (cd $(HOST_SUBDIR)/fastjar && \
8920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8922 "RANLIB=$${RANLIB}" \
8923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8924 info) \
8925 || exit 1
8927 @endif fastjar
8929 .PHONY: maybe-dvi-fastjar dvi-fastjar
8930 maybe-dvi-fastjar:
8931 @if fastjar
8932 maybe-dvi-fastjar: dvi-fastjar
8934 dvi-fastjar: \
8935 configure-fastjar
8936 @: $(MAKE); $(unstage)
8937 @[ -f ./fastjar/Makefile ] || exit 0; \
8938 r=`${PWD_COMMAND}`; export r; \
8939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8940 $(HOST_EXPORTS) \
8941 for flag in $(EXTRA_HOST_FLAGS) ; do \
8942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8943 done; \
8944 echo "Doing dvi in fastjar" ; \
8945 (cd $(HOST_SUBDIR)/fastjar && \
8946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8948 "RANLIB=$${RANLIB}" \
8949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8950 dvi) \
8951 || exit 1
8953 @endif fastjar
8955 .PHONY: maybe-html-fastjar html-fastjar
8956 maybe-html-fastjar:
8957 @if fastjar
8958 maybe-html-fastjar: html-fastjar
8960 html-fastjar: \
8961 configure-fastjar
8962 @: $(MAKE); $(unstage)
8963 @[ -f ./fastjar/Makefile ] || exit 0; \
8964 r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8966 $(HOST_EXPORTS) \
8967 for flag in $(EXTRA_HOST_FLAGS) ; do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8969 done; \
8970 echo "Doing html in fastjar" ; \
8971 (cd $(HOST_SUBDIR)/fastjar && \
8972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8974 "RANLIB=$${RANLIB}" \
8975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8976 html) \
8977 || exit 1
8979 @endif fastjar
8981 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8982 maybe-TAGS-fastjar:
8983 @if fastjar
8984 maybe-TAGS-fastjar: TAGS-fastjar
8986 TAGS-fastjar: \
8987 configure-fastjar
8988 @: $(MAKE); $(unstage)
8989 @[ -f ./fastjar/Makefile ] || exit 0; \
8990 r=`${PWD_COMMAND}`; export r; \
8991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8992 $(HOST_EXPORTS) \
8993 for flag in $(EXTRA_HOST_FLAGS) ; do \
8994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8995 done; \
8996 echo "Doing TAGS in fastjar" ; \
8997 (cd $(HOST_SUBDIR)/fastjar && \
8998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9000 "RANLIB=$${RANLIB}" \
9001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9002 TAGS) \
9003 || exit 1
9005 @endif fastjar
9007 .PHONY: maybe-install-info-fastjar install-info-fastjar
9008 maybe-install-info-fastjar:
9009 @if fastjar
9010 maybe-install-info-fastjar: install-info-fastjar
9012 install-info-fastjar: \
9013 configure-fastjar \
9014 info-fastjar
9015 @: $(MAKE); $(unstage)
9016 @[ -f ./fastjar/Makefile ] || exit 0; \
9017 r=`${PWD_COMMAND}`; export r; \
9018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9019 $(HOST_EXPORTS) \
9020 for flag in $(EXTRA_HOST_FLAGS) ; do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing install-info in fastjar" ; \
9024 (cd $(HOST_SUBDIR)/fastjar && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9029 install-info) \
9030 || exit 1
9032 @endif fastjar
9034 .PHONY: maybe-install-html-fastjar install-html-fastjar
9035 maybe-install-html-fastjar:
9036 @if fastjar
9037 maybe-install-html-fastjar: install-html-fastjar
9039 install-html-fastjar: \
9040 configure-fastjar \
9041 html-fastjar
9042 @: $(MAKE); $(unstage)
9043 @[ -f ./fastjar/Makefile ] || exit 0; \
9044 r=`${PWD_COMMAND}`; export r; \
9045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9046 $(HOST_EXPORTS) \
9047 for flag in $(EXTRA_HOST_FLAGS) ; do \
9048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9049 done; \
9050 echo "Doing install-html in fastjar" ; \
9051 (cd $(HOST_SUBDIR)/fastjar && \
9052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9054 "RANLIB=$${RANLIB}" \
9055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9056 install-html) \
9057 || exit 1
9059 @endif fastjar
9061 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9062 maybe-installcheck-fastjar:
9063 @if fastjar
9064 maybe-installcheck-fastjar: installcheck-fastjar
9066 installcheck-fastjar: \
9067 configure-fastjar
9068 @: $(MAKE); $(unstage)
9069 @[ -f ./fastjar/Makefile ] || exit 0; \
9070 r=`${PWD_COMMAND}`; export r; \
9071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9072 $(HOST_EXPORTS) \
9073 for flag in $(EXTRA_HOST_FLAGS) ; do \
9074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9075 done; \
9076 echo "Doing installcheck in fastjar" ; \
9077 (cd $(HOST_SUBDIR)/fastjar && \
9078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9080 "RANLIB=$${RANLIB}" \
9081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9082 installcheck) \
9083 || exit 1
9085 @endif fastjar
9087 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9088 maybe-mostlyclean-fastjar:
9089 @if fastjar
9090 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9092 mostlyclean-fastjar:
9093 @: $(MAKE); $(unstage)
9094 @[ -f ./fastjar/Makefile ] || exit 0; \
9095 r=`${PWD_COMMAND}`; export r; \
9096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9097 $(HOST_EXPORTS) \
9098 for flag in $(EXTRA_HOST_FLAGS) ; do \
9099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9100 done; \
9101 echo "Doing mostlyclean in fastjar" ; \
9102 (cd $(HOST_SUBDIR)/fastjar && \
9103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9105 "RANLIB=$${RANLIB}" \
9106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9107 mostlyclean) \
9108 || exit 1
9110 @endif fastjar
9112 .PHONY: maybe-clean-fastjar clean-fastjar
9113 maybe-clean-fastjar:
9114 @if fastjar
9115 maybe-clean-fastjar: clean-fastjar
9117 clean-fastjar:
9118 @: $(MAKE); $(unstage)
9119 @[ -f ./fastjar/Makefile ] || exit 0; \
9120 r=`${PWD_COMMAND}`; export r; \
9121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9122 $(HOST_EXPORTS) \
9123 for flag in $(EXTRA_HOST_FLAGS) ; do \
9124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9125 done; \
9126 echo "Doing clean in fastjar" ; \
9127 (cd $(HOST_SUBDIR)/fastjar && \
9128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9130 "RANLIB=$${RANLIB}" \
9131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9132 clean) \
9133 || exit 1
9135 @endif fastjar
9137 .PHONY: maybe-distclean-fastjar distclean-fastjar
9138 maybe-distclean-fastjar:
9139 @if fastjar
9140 maybe-distclean-fastjar: distclean-fastjar
9142 distclean-fastjar:
9143 @: $(MAKE); $(unstage)
9144 @[ -f ./fastjar/Makefile ] || exit 0; \
9145 r=`${PWD_COMMAND}`; export r; \
9146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9147 $(HOST_EXPORTS) \
9148 for flag in $(EXTRA_HOST_FLAGS) ; do \
9149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9150 done; \
9151 echo "Doing distclean in fastjar" ; \
9152 (cd $(HOST_SUBDIR)/fastjar && \
9153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9155 "RANLIB=$${RANLIB}" \
9156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9157 distclean) \
9158 || exit 1
9160 @endif fastjar
9162 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9163 maybe-maintainer-clean-fastjar:
9164 @if fastjar
9165 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9167 maintainer-clean-fastjar:
9168 @: $(MAKE); $(unstage)
9169 @[ -f ./fastjar/Makefile ] || exit 0; \
9170 r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(HOST_EXPORTS) \
9173 for flag in $(EXTRA_HOST_FLAGS) ; do \
9174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9175 done; \
9176 echo "Doing maintainer-clean in fastjar" ; \
9177 (cd $(HOST_SUBDIR)/fastjar && \
9178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9180 "RANLIB=$${RANLIB}" \
9181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9182 maintainer-clean) \
9183 || exit 1
9185 @endif fastjar
9189 .PHONY: configure-fileutils maybe-configure-fileutils
9190 maybe-configure-fileutils:
9191 @if fileutils
9192 maybe-configure-fileutils: configure-fileutils
9193 configure-fileutils:
9194 @: $(MAKE); $(unstage)
9195 @r=`${PWD_COMMAND}`; export r; \
9196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9199 $(HOST_EXPORTS) \
9200 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9201 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9202 case $(srcdir) in \
9203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9204 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9206 esac; \
9207 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9208 libsrcdir="$$s/fileutils"; \
9209 $(SHELL) $${libsrcdir}/configure \
9210 $(HOST_CONFIGARGS) $${srcdiroption} \
9211 || exit 1
9212 @endif fileutils
9218 .PHONY: all-fileutils maybe-all-fileutils
9219 maybe-all-fileutils:
9220 @if fileutils
9221 TARGET-fileutils=all
9222 maybe-all-fileutils: all-fileutils
9223 all-fileutils: configure-fileutils
9224 @: $(MAKE); $(unstage)
9225 @r=`${PWD_COMMAND}`; export r; \
9226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9227 $(HOST_EXPORTS) \
9228 (cd $(HOST_SUBDIR)/fileutils && \
9229 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9230 @endif fileutils
9235 .PHONY: check-fileutils maybe-check-fileutils
9236 maybe-check-fileutils:
9237 @if fileutils
9238 maybe-check-fileutils: check-fileutils
9240 check-fileutils:
9241 @: $(MAKE); $(unstage)
9242 @r=`${PWD_COMMAND}`; export r; \
9243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9244 $(HOST_EXPORTS) \
9245 (cd $(HOST_SUBDIR)/fileutils && \
9246 $(MAKE) $(FLAGS_TO_PASS) check)
9248 @endif fileutils
9250 .PHONY: install-fileutils maybe-install-fileutils
9251 maybe-install-fileutils:
9252 @if fileutils
9253 maybe-install-fileutils: install-fileutils
9255 install-fileutils: installdirs
9256 @: $(MAKE); $(unstage)
9257 @r=`${PWD_COMMAND}`; export r; \
9258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9259 $(HOST_EXPORTS) \
9260 (cd $(HOST_SUBDIR)/fileutils && \
9261 $(MAKE) $(FLAGS_TO_PASS) install)
9263 @endif fileutils
9265 # Other targets (info, dvi, etc.)
9267 .PHONY: maybe-info-fileutils info-fileutils
9268 maybe-info-fileutils:
9269 @if fileutils
9270 maybe-info-fileutils: info-fileutils
9272 info-fileutils: \
9273 configure-fileutils
9274 @: $(MAKE); $(unstage)
9275 @[ -f ./fileutils/Makefile ] || exit 0; \
9276 r=`${PWD_COMMAND}`; export r; \
9277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9278 $(HOST_EXPORTS) \
9279 for flag in $(EXTRA_HOST_FLAGS) ; do \
9280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9281 done; \
9282 echo "Doing info in fileutils" ; \
9283 (cd $(HOST_SUBDIR)/fileutils && \
9284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9286 "RANLIB=$${RANLIB}" \
9287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9288 info) \
9289 || exit 1
9291 @endif fileutils
9293 .PHONY: maybe-dvi-fileutils dvi-fileutils
9294 maybe-dvi-fileutils:
9295 @if fileutils
9296 maybe-dvi-fileutils: dvi-fileutils
9298 dvi-fileutils: \
9299 configure-fileutils
9300 @: $(MAKE); $(unstage)
9301 @[ -f ./fileutils/Makefile ] || exit 0; \
9302 r=`${PWD_COMMAND}`; export r; \
9303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304 $(HOST_EXPORTS) \
9305 for flag in $(EXTRA_HOST_FLAGS) ; do \
9306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9307 done; \
9308 echo "Doing dvi in fileutils" ; \
9309 (cd $(HOST_SUBDIR)/fileutils && \
9310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9312 "RANLIB=$${RANLIB}" \
9313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9314 dvi) \
9315 || exit 1
9317 @endif fileutils
9319 .PHONY: maybe-html-fileutils html-fileutils
9320 maybe-html-fileutils:
9321 @if fileutils
9322 maybe-html-fileutils: html-fileutils
9324 html-fileutils: \
9325 configure-fileutils
9326 @: $(MAKE); $(unstage)
9327 @[ -f ./fileutils/Makefile ] || exit 0; \
9328 r=`${PWD_COMMAND}`; export r; \
9329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9330 $(HOST_EXPORTS) \
9331 for flag in $(EXTRA_HOST_FLAGS) ; do \
9332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9333 done; \
9334 echo "Doing html in fileutils" ; \
9335 (cd $(HOST_SUBDIR)/fileutils && \
9336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9338 "RANLIB=$${RANLIB}" \
9339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9340 html) \
9341 || exit 1
9343 @endif fileutils
9345 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9346 maybe-TAGS-fileutils:
9347 @if fileutils
9348 maybe-TAGS-fileutils: TAGS-fileutils
9350 TAGS-fileutils: \
9351 configure-fileutils
9352 @: $(MAKE); $(unstage)
9353 @[ -f ./fileutils/Makefile ] || exit 0; \
9354 r=`${PWD_COMMAND}`; export r; \
9355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9356 $(HOST_EXPORTS) \
9357 for flag in $(EXTRA_HOST_FLAGS) ; do \
9358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9359 done; \
9360 echo "Doing TAGS in fileutils" ; \
9361 (cd $(HOST_SUBDIR)/fileutils && \
9362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9364 "RANLIB=$${RANLIB}" \
9365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9366 TAGS) \
9367 || exit 1
9369 @endif fileutils
9371 .PHONY: maybe-install-info-fileutils install-info-fileutils
9372 maybe-install-info-fileutils:
9373 @if fileutils
9374 maybe-install-info-fileutils: install-info-fileutils
9376 install-info-fileutils: \
9377 configure-fileutils \
9378 info-fileutils
9379 @: $(MAKE); $(unstage)
9380 @[ -f ./fileutils/Makefile ] || exit 0; \
9381 r=`${PWD_COMMAND}`; export r; \
9382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9383 $(HOST_EXPORTS) \
9384 for flag in $(EXTRA_HOST_FLAGS) ; do \
9385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9386 done; \
9387 echo "Doing install-info in fileutils" ; \
9388 (cd $(HOST_SUBDIR)/fileutils && \
9389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9391 "RANLIB=$${RANLIB}" \
9392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9393 install-info) \
9394 || exit 1
9396 @endif fileutils
9398 .PHONY: maybe-install-html-fileutils install-html-fileutils
9399 maybe-install-html-fileutils:
9400 @if fileutils
9401 maybe-install-html-fileutils: install-html-fileutils
9403 install-html-fileutils: \
9404 configure-fileutils \
9405 html-fileutils
9406 @: $(MAKE); $(unstage)
9407 @[ -f ./fileutils/Makefile ] || exit 0; \
9408 r=`${PWD_COMMAND}`; export r; \
9409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9410 $(HOST_EXPORTS) \
9411 for flag in $(EXTRA_HOST_FLAGS) ; do \
9412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9413 done; \
9414 echo "Doing install-html in fileutils" ; \
9415 (cd $(HOST_SUBDIR)/fileutils && \
9416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9418 "RANLIB=$${RANLIB}" \
9419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9420 install-html) \
9421 || exit 1
9423 @endif fileutils
9425 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9426 maybe-installcheck-fileutils:
9427 @if fileutils
9428 maybe-installcheck-fileutils: installcheck-fileutils
9430 installcheck-fileutils: \
9431 configure-fileutils
9432 @: $(MAKE); $(unstage)
9433 @[ -f ./fileutils/Makefile ] || exit 0; \
9434 r=`${PWD_COMMAND}`; export r; \
9435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9436 $(HOST_EXPORTS) \
9437 for flag in $(EXTRA_HOST_FLAGS) ; do \
9438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9439 done; \
9440 echo "Doing installcheck in fileutils" ; \
9441 (cd $(HOST_SUBDIR)/fileutils && \
9442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9444 "RANLIB=$${RANLIB}" \
9445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9446 installcheck) \
9447 || exit 1
9449 @endif fileutils
9451 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9452 maybe-mostlyclean-fileutils:
9453 @if fileutils
9454 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9456 mostlyclean-fileutils:
9457 @: $(MAKE); $(unstage)
9458 @[ -f ./fileutils/Makefile ] || exit 0; \
9459 r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9461 $(HOST_EXPORTS) \
9462 for flag in $(EXTRA_HOST_FLAGS) ; do \
9463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9464 done; \
9465 echo "Doing mostlyclean in fileutils" ; \
9466 (cd $(HOST_SUBDIR)/fileutils && \
9467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9469 "RANLIB=$${RANLIB}" \
9470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9471 mostlyclean) \
9472 || exit 1
9474 @endif fileutils
9476 .PHONY: maybe-clean-fileutils clean-fileutils
9477 maybe-clean-fileutils:
9478 @if fileutils
9479 maybe-clean-fileutils: clean-fileutils
9481 clean-fileutils:
9482 @: $(MAKE); $(unstage)
9483 @[ -f ./fileutils/Makefile ] || exit 0; \
9484 r=`${PWD_COMMAND}`; export r; \
9485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9486 $(HOST_EXPORTS) \
9487 for flag in $(EXTRA_HOST_FLAGS) ; do \
9488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9489 done; \
9490 echo "Doing clean in fileutils" ; \
9491 (cd $(HOST_SUBDIR)/fileutils && \
9492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9494 "RANLIB=$${RANLIB}" \
9495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9496 clean) \
9497 || exit 1
9499 @endif fileutils
9501 .PHONY: maybe-distclean-fileutils distclean-fileutils
9502 maybe-distclean-fileutils:
9503 @if fileutils
9504 maybe-distclean-fileutils: distclean-fileutils
9506 distclean-fileutils:
9507 @: $(MAKE); $(unstage)
9508 @[ -f ./fileutils/Makefile ] || exit 0; \
9509 r=`${PWD_COMMAND}`; export r; \
9510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9511 $(HOST_EXPORTS) \
9512 for flag in $(EXTRA_HOST_FLAGS) ; do \
9513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9514 done; \
9515 echo "Doing distclean in fileutils" ; \
9516 (cd $(HOST_SUBDIR)/fileutils && \
9517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9519 "RANLIB=$${RANLIB}" \
9520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9521 distclean) \
9522 || exit 1
9524 @endif fileutils
9526 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9527 maybe-maintainer-clean-fileutils:
9528 @if fileutils
9529 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9531 maintainer-clean-fileutils:
9532 @: $(MAKE); $(unstage)
9533 @[ -f ./fileutils/Makefile ] || exit 0; \
9534 r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536 $(HOST_EXPORTS) \
9537 for flag in $(EXTRA_HOST_FLAGS) ; do \
9538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9539 done; \
9540 echo "Doing maintainer-clean in fileutils" ; \
9541 (cd $(HOST_SUBDIR)/fileutils && \
9542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9544 "RANLIB=$${RANLIB}" \
9545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9546 maintainer-clean) \
9547 || exit 1
9549 @endif fileutils
9553 .PHONY: configure-findutils maybe-configure-findutils
9554 maybe-configure-findutils:
9555 @if findutils
9556 maybe-configure-findutils: configure-findutils
9557 configure-findutils:
9558 @: $(MAKE); $(unstage)
9559 @r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9561 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9563 $(HOST_EXPORTS) \
9564 echo Configuring in $(HOST_SUBDIR)/findutils; \
9565 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9566 case $(srcdir) in \
9567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9568 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9570 esac; \
9571 srcdiroption="--srcdir=$${topdir}/findutils"; \
9572 libsrcdir="$$s/findutils"; \
9573 $(SHELL) $${libsrcdir}/configure \
9574 $(HOST_CONFIGARGS) $${srcdiroption} \
9575 || exit 1
9576 @endif findutils
9582 .PHONY: all-findutils maybe-all-findutils
9583 maybe-all-findutils:
9584 @if findutils
9585 TARGET-findutils=all
9586 maybe-all-findutils: all-findutils
9587 all-findutils: configure-findutils
9588 @: $(MAKE); $(unstage)
9589 @r=`${PWD_COMMAND}`; export r; \
9590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9591 $(HOST_EXPORTS) \
9592 (cd $(HOST_SUBDIR)/findutils && \
9593 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9594 @endif findutils
9599 .PHONY: check-findutils maybe-check-findutils
9600 maybe-check-findutils:
9601 @if findutils
9602 maybe-check-findutils: check-findutils
9604 check-findutils:
9605 @: $(MAKE); $(unstage)
9606 @r=`${PWD_COMMAND}`; export r; \
9607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 $(HOST_EXPORTS) \
9609 (cd $(HOST_SUBDIR)/findutils && \
9610 $(MAKE) $(FLAGS_TO_PASS) check)
9612 @endif findutils
9614 .PHONY: install-findutils maybe-install-findutils
9615 maybe-install-findutils:
9616 @if findutils
9617 maybe-install-findutils: install-findutils
9619 install-findutils: installdirs
9620 @: $(MAKE); $(unstage)
9621 @r=`${PWD_COMMAND}`; export r; \
9622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9623 $(HOST_EXPORTS) \
9624 (cd $(HOST_SUBDIR)/findutils && \
9625 $(MAKE) $(FLAGS_TO_PASS) install)
9627 @endif findutils
9629 # Other targets (info, dvi, etc.)
9631 .PHONY: maybe-info-findutils info-findutils
9632 maybe-info-findutils:
9633 @if findutils
9634 maybe-info-findutils: info-findutils
9636 info-findutils: \
9637 configure-findutils
9638 @: $(MAKE); $(unstage)
9639 @[ -f ./findutils/Makefile ] || exit 0; \
9640 r=`${PWD_COMMAND}`; export r; \
9641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9642 $(HOST_EXPORTS) \
9643 for flag in $(EXTRA_HOST_FLAGS) ; do \
9644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9645 done; \
9646 echo "Doing info in findutils" ; \
9647 (cd $(HOST_SUBDIR)/findutils && \
9648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9650 "RANLIB=$${RANLIB}" \
9651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9652 info) \
9653 || exit 1
9655 @endif findutils
9657 .PHONY: maybe-dvi-findutils dvi-findutils
9658 maybe-dvi-findutils:
9659 @if findutils
9660 maybe-dvi-findutils: dvi-findutils
9662 dvi-findutils: \
9663 configure-findutils
9664 @: $(MAKE); $(unstage)
9665 @[ -f ./findutils/Makefile ] || exit 0; \
9666 r=`${PWD_COMMAND}`; export r; \
9667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9668 $(HOST_EXPORTS) \
9669 for flag in $(EXTRA_HOST_FLAGS) ; do \
9670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9671 done; \
9672 echo "Doing dvi in findutils" ; \
9673 (cd $(HOST_SUBDIR)/findutils && \
9674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9676 "RANLIB=$${RANLIB}" \
9677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9678 dvi) \
9679 || exit 1
9681 @endif findutils
9683 .PHONY: maybe-html-findutils html-findutils
9684 maybe-html-findutils:
9685 @if findutils
9686 maybe-html-findutils: html-findutils
9688 html-findutils: \
9689 configure-findutils
9690 @: $(MAKE); $(unstage)
9691 @[ -f ./findutils/Makefile ] || exit 0; \
9692 r=`${PWD_COMMAND}`; export r; \
9693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9694 $(HOST_EXPORTS) \
9695 for flag in $(EXTRA_HOST_FLAGS) ; do \
9696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9697 done; \
9698 echo "Doing html in findutils" ; \
9699 (cd $(HOST_SUBDIR)/findutils && \
9700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9702 "RANLIB=$${RANLIB}" \
9703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9704 html) \
9705 || exit 1
9707 @endif findutils
9709 .PHONY: maybe-TAGS-findutils TAGS-findutils
9710 maybe-TAGS-findutils:
9711 @if findutils
9712 maybe-TAGS-findutils: TAGS-findutils
9714 TAGS-findutils: \
9715 configure-findutils
9716 @: $(MAKE); $(unstage)
9717 @[ -f ./findutils/Makefile ] || exit 0; \
9718 r=`${PWD_COMMAND}`; export r; \
9719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9720 $(HOST_EXPORTS) \
9721 for flag in $(EXTRA_HOST_FLAGS) ; do \
9722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9723 done; \
9724 echo "Doing TAGS in findutils" ; \
9725 (cd $(HOST_SUBDIR)/findutils && \
9726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9728 "RANLIB=$${RANLIB}" \
9729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9730 TAGS) \
9731 || exit 1
9733 @endif findutils
9735 .PHONY: maybe-install-info-findutils install-info-findutils
9736 maybe-install-info-findutils:
9737 @if findutils
9738 maybe-install-info-findutils: install-info-findutils
9740 install-info-findutils: \
9741 configure-findutils \
9742 info-findutils
9743 @: $(MAKE); $(unstage)
9744 @[ -f ./findutils/Makefile ] || exit 0; \
9745 r=`${PWD_COMMAND}`; export r; \
9746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9747 $(HOST_EXPORTS) \
9748 for flag in $(EXTRA_HOST_FLAGS) ; do \
9749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9750 done; \
9751 echo "Doing install-info in findutils" ; \
9752 (cd $(HOST_SUBDIR)/findutils && \
9753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9755 "RANLIB=$${RANLIB}" \
9756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9757 install-info) \
9758 || exit 1
9760 @endif findutils
9762 .PHONY: maybe-install-html-findutils install-html-findutils
9763 maybe-install-html-findutils:
9764 @if findutils
9765 maybe-install-html-findutils: install-html-findutils
9767 install-html-findutils: \
9768 configure-findutils \
9769 html-findutils
9770 @: $(MAKE); $(unstage)
9771 @[ -f ./findutils/Makefile ] || exit 0; \
9772 r=`${PWD_COMMAND}`; export r; \
9773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9774 $(HOST_EXPORTS) \
9775 for flag in $(EXTRA_HOST_FLAGS) ; do \
9776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9777 done; \
9778 echo "Doing install-html in findutils" ; \
9779 (cd $(HOST_SUBDIR)/findutils && \
9780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9782 "RANLIB=$${RANLIB}" \
9783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9784 install-html) \
9785 || exit 1
9787 @endif findutils
9789 .PHONY: maybe-installcheck-findutils installcheck-findutils
9790 maybe-installcheck-findutils:
9791 @if findutils
9792 maybe-installcheck-findutils: installcheck-findutils
9794 installcheck-findutils: \
9795 configure-findutils
9796 @: $(MAKE); $(unstage)
9797 @[ -f ./findutils/Makefile ] || exit 0; \
9798 r=`${PWD_COMMAND}`; export r; \
9799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9800 $(HOST_EXPORTS) \
9801 for flag in $(EXTRA_HOST_FLAGS) ; do \
9802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9803 done; \
9804 echo "Doing installcheck in findutils" ; \
9805 (cd $(HOST_SUBDIR)/findutils && \
9806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9808 "RANLIB=$${RANLIB}" \
9809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9810 installcheck) \
9811 || exit 1
9813 @endif findutils
9815 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9816 maybe-mostlyclean-findutils:
9817 @if findutils
9818 maybe-mostlyclean-findutils: mostlyclean-findutils
9820 mostlyclean-findutils:
9821 @: $(MAKE); $(unstage)
9822 @[ -f ./findutils/Makefile ] || exit 0; \
9823 r=`${PWD_COMMAND}`; export r; \
9824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9825 $(HOST_EXPORTS) \
9826 for flag in $(EXTRA_HOST_FLAGS) ; do \
9827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9828 done; \
9829 echo "Doing mostlyclean in findutils" ; \
9830 (cd $(HOST_SUBDIR)/findutils && \
9831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9833 "RANLIB=$${RANLIB}" \
9834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9835 mostlyclean) \
9836 || exit 1
9838 @endif findutils
9840 .PHONY: maybe-clean-findutils clean-findutils
9841 maybe-clean-findutils:
9842 @if findutils
9843 maybe-clean-findutils: clean-findutils
9845 clean-findutils:
9846 @: $(MAKE); $(unstage)
9847 @[ -f ./findutils/Makefile ] || exit 0; \
9848 r=`${PWD_COMMAND}`; export r; \
9849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9850 $(HOST_EXPORTS) \
9851 for flag in $(EXTRA_HOST_FLAGS) ; do \
9852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9853 done; \
9854 echo "Doing clean in findutils" ; \
9855 (cd $(HOST_SUBDIR)/findutils && \
9856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9858 "RANLIB=$${RANLIB}" \
9859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9860 clean) \
9861 || exit 1
9863 @endif findutils
9865 .PHONY: maybe-distclean-findutils distclean-findutils
9866 maybe-distclean-findutils:
9867 @if findutils
9868 maybe-distclean-findutils: distclean-findutils
9870 distclean-findutils:
9871 @: $(MAKE); $(unstage)
9872 @[ -f ./findutils/Makefile ] || exit 0; \
9873 r=`${PWD_COMMAND}`; export r; \
9874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9875 $(HOST_EXPORTS) \
9876 for flag in $(EXTRA_HOST_FLAGS) ; do \
9877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9878 done; \
9879 echo "Doing distclean in findutils" ; \
9880 (cd $(HOST_SUBDIR)/findutils && \
9881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9883 "RANLIB=$${RANLIB}" \
9884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9885 distclean) \
9886 || exit 1
9888 @endif findutils
9890 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9891 maybe-maintainer-clean-findutils:
9892 @if findutils
9893 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9895 maintainer-clean-findutils:
9896 @: $(MAKE); $(unstage)
9897 @[ -f ./findutils/Makefile ] || exit 0; \
9898 r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 $(HOST_EXPORTS) \
9901 for flag in $(EXTRA_HOST_FLAGS) ; do \
9902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9903 done; \
9904 echo "Doing maintainer-clean in findutils" ; \
9905 (cd $(HOST_SUBDIR)/findutils && \
9906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9908 "RANLIB=$${RANLIB}" \
9909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9910 maintainer-clean) \
9911 || exit 1
9913 @endif findutils
9917 .PHONY: configure-find maybe-configure-find
9918 maybe-configure-find:
9919 @if find
9920 maybe-configure-find: configure-find
9921 configure-find:
9922 @: $(MAKE); $(unstage)
9923 @r=`${PWD_COMMAND}`; export r; \
9924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9925 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9927 $(HOST_EXPORTS) \
9928 echo Configuring in $(HOST_SUBDIR)/find; \
9929 cd "$(HOST_SUBDIR)/find" || exit 1; \
9930 case $(srcdir) in \
9931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9932 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9934 esac; \
9935 srcdiroption="--srcdir=$${topdir}/find"; \
9936 libsrcdir="$$s/find"; \
9937 $(SHELL) $${libsrcdir}/configure \
9938 $(HOST_CONFIGARGS) $${srcdiroption} \
9939 || exit 1
9940 @endif find
9946 .PHONY: all-find maybe-all-find
9947 maybe-all-find:
9948 @if find
9949 TARGET-find=all
9950 maybe-all-find: all-find
9951 all-find: configure-find
9952 @: $(MAKE); $(unstage)
9953 @r=`${PWD_COMMAND}`; export r; \
9954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9955 $(HOST_EXPORTS) \
9956 (cd $(HOST_SUBDIR)/find && \
9957 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9958 @endif find
9963 .PHONY: check-find maybe-check-find
9964 maybe-check-find:
9965 @if find
9966 maybe-check-find: check-find
9968 check-find:
9969 @: $(MAKE); $(unstage)
9970 @r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972 $(HOST_EXPORTS) \
9973 (cd $(HOST_SUBDIR)/find && \
9974 $(MAKE) $(FLAGS_TO_PASS) check)
9976 @endif find
9978 .PHONY: install-find maybe-install-find
9979 maybe-install-find:
9980 @if find
9981 maybe-install-find: install-find
9983 install-find: installdirs
9984 @: $(MAKE); $(unstage)
9985 @r=`${PWD_COMMAND}`; export r; \
9986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9987 $(HOST_EXPORTS) \
9988 (cd $(HOST_SUBDIR)/find && \
9989 $(MAKE) $(FLAGS_TO_PASS) install)
9991 @endif find
9993 # Other targets (info, dvi, etc.)
9995 .PHONY: maybe-info-find info-find
9996 maybe-info-find:
9997 @if find
9998 maybe-info-find: info-find
10000 info-find: \
10001 configure-find
10002 @: $(MAKE); $(unstage)
10003 @[ -f ./find/Makefile ] || exit 0; \
10004 r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(HOST_EXPORTS) \
10007 for flag in $(EXTRA_HOST_FLAGS) ; do \
10008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10009 done; \
10010 echo "Doing info in find" ; \
10011 (cd $(HOST_SUBDIR)/find && \
10012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10014 "RANLIB=$${RANLIB}" \
10015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10016 info) \
10017 || exit 1
10019 @endif find
10021 .PHONY: maybe-dvi-find dvi-find
10022 maybe-dvi-find:
10023 @if find
10024 maybe-dvi-find: dvi-find
10026 dvi-find: \
10027 configure-find
10028 @: $(MAKE); $(unstage)
10029 @[ -f ./find/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(HOST_EXPORTS) \
10033 for flag in $(EXTRA_HOST_FLAGS) ; do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035 done; \
10036 echo "Doing dvi in find" ; \
10037 (cd $(HOST_SUBDIR)/find && \
10038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040 "RANLIB=$${RANLIB}" \
10041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10042 dvi) \
10043 || exit 1
10045 @endif find
10047 .PHONY: maybe-html-find html-find
10048 maybe-html-find:
10049 @if find
10050 maybe-html-find: html-find
10052 html-find: \
10053 configure-find
10054 @: $(MAKE); $(unstage)
10055 @[ -f ./find/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(HOST_EXPORTS) \
10059 for flag in $(EXTRA_HOST_FLAGS) ; do \
10060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10061 done; \
10062 echo "Doing html in find" ; \
10063 (cd $(HOST_SUBDIR)/find && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10068 html) \
10069 || exit 1
10071 @endif find
10073 .PHONY: maybe-TAGS-find TAGS-find
10074 maybe-TAGS-find:
10075 @if find
10076 maybe-TAGS-find: TAGS-find
10078 TAGS-find: \
10079 configure-find
10080 @: $(MAKE); $(unstage)
10081 @[ -f ./find/Makefile ] || exit 0; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084 $(HOST_EXPORTS) \
10085 for flag in $(EXTRA_HOST_FLAGS) ; do \
10086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10087 done; \
10088 echo "Doing TAGS in find" ; \
10089 (cd $(HOST_SUBDIR)/find && \
10090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10092 "RANLIB=$${RANLIB}" \
10093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10094 TAGS) \
10095 || exit 1
10097 @endif find
10099 .PHONY: maybe-install-info-find install-info-find
10100 maybe-install-info-find:
10101 @if find
10102 maybe-install-info-find: install-info-find
10104 install-info-find: \
10105 configure-find \
10106 info-find
10107 @: $(MAKE); $(unstage)
10108 @[ -f ./find/Makefile ] || exit 0; \
10109 r=`${PWD_COMMAND}`; export r; \
10110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10111 $(HOST_EXPORTS) \
10112 for flag in $(EXTRA_HOST_FLAGS) ; do \
10113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10114 done; \
10115 echo "Doing install-info in find" ; \
10116 (cd $(HOST_SUBDIR)/find && \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10121 install-info) \
10122 || exit 1
10124 @endif find
10126 .PHONY: maybe-install-html-find install-html-find
10127 maybe-install-html-find:
10128 @if find
10129 maybe-install-html-find: install-html-find
10131 install-html-find: \
10132 configure-find \
10133 html-find
10134 @: $(MAKE); $(unstage)
10135 @[ -f ./find/Makefile ] || exit 0; \
10136 r=`${PWD_COMMAND}`; export r; \
10137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10138 $(HOST_EXPORTS) \
10139 for flag in $(EXTRA_HOST_FLAGS) ; do \
10140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10141 done; \
10142 echo "Doing install-html in find" ; \
10143 (cd $(HOST_SUBDIR)/find && \
10144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10146 "RANLIB=$${RANLIB}" \
10147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10148 install-html) \
10149 || exit 1
10151 @endif find
10153 .PHONY: maybe-installcheck-find installcheck-find
10154 maybe-installcheck-find:
10155 @if find
10156 maybe-installcheck-find: installcheck-find
10158 installcheck-find: \
10159 configure-find
10160 @: $(MAKE); $(unstage)
10161 @[ -f ./find/Makefile ] || exit 0; \
10162 r=`${PWD_COMMAND}`; export r; \
10163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10164 $(HOST_EXPORTS) \
10165 for flag in $(EXTRA_HOST_FLAGS) ; do \
10166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10167 done; \
10168 echo "Doing installcheck in find" ; \
10169 (cd $(HOST_SUBDIR)/find && \
10170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10172 "RANLIB=$${RANLIB}" \
10173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10174 installcheck) \
10175 || exit 1
10177 @endif find
10179 .PHONY: maybe-mostlyclean-find mostlyclean-find
10180 maybe-mostlyclean-find:
10181 @if find
10182 maybe-mostlyclean-find: mostlyclean-find
10184 mostlyclean-find:
10185 @: $(MAKE); $(unstage)
10186 @[ -f ./find/Makefile ] || exit 0; \
10187 r=`${PWD_COMMAND}`; export r; \
10188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 $(HOST_EXPORTS) \
10190 for flag in $(EXTRA_HOST_FLAGS) ; do \
10191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10192 done; \
10193 echo "Doing mostlyclean in find" ; \
10194 (cd $(HOST_SUBDIR)/find && \
10195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10197 "RANLIB=$${RANLIB}" \
10198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10199 mostlyclean) \
10200 || exit 1
10202 @endif find
10204 .PHONY: maybe-clean-find clean-find
10205 maybe-clean-find:
10206 @if find
10207 maybe-clean-find: clean-find
10209 clean-find:
10210 @: $(MAKE); $(unstage)
10211 @[ -f ./find/Makefile ] || exit 0; \
10212 r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10214 $(HOST_EXPORTS) \
10215 for flag in $(EXTRA_HOST_FLAGS) ; do \
10216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10217 done; \
10218 echo "Doing clean in find" ; \
10219 (cd $(HOST_SUBDIR)/find && \
10220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10222 "RANLIB=$${RANLIB}" \
10223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10224 clean) \
10225 || exit 1
10227 @endif find
10229 .PHONY: maybe-distclean-find distclean-find
10230 maybe-distclean-find:
10231 @if find
10232 maybe-distclean-find: distclean-find
10234 distclean-find:
10235 @: $(MAKE); $(unstage)
10236 @[ -f ./find/Makefile ] || exit 0; \
10237 r=`${PWD_COMMAND}`; export r; \
10238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10239 $(HOST_EXPORTS) \
10240 for flag in $(EXTRA_HOST_FLAGS) ; do \
10241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10242 done; \
10243 echo "Doing distclean in find" ; \
10244 (cd $(HOST_SUBDIR)/find && \
10245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10247 "RANLIB=$${RANLIB}" \
10248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10249 distclean) \
10250 || exit 1
10252 @endif find
10254 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10255 maybe-maintainer-clean-find:
10256 @if find
10257 maybe-maintainer-clean-find: maintainer-clean-find
10259 maintainer-clean-find:
10260 @: $(MAKE); $(unstage)
10261 @[ -f ./find/Makefile ] || exit 0; \
10262 r=`${PWD_COMMAND}`; export r; \
10263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10264 $(HOST_EXPORTS) \
10265 for flag in $(EXTRA_HOST_FLAGS) ; do \
10266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10267 done; \
10268 echo "Doing maintainer-clean in find" ; \
10269 (cd $(HOST_SUBDIR)/find && \
10270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10272 "RANLIB=$${RANLIB}" \
10273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10274 maintainer-clean) \
10275 || exit 1
10277 @endif find
10281 .PHONY: configure-fixincludes maybe-configure-fixincludes
10282 maybe-configure-fixincludes:
10283 @if fixincludes
10284 maybe-configure-fixincludes: configure-fixincludes
10285 configure-fixincludes:
10286 @: $(MAKE); $(unstage)
10287 @r=`${PWD_COMMAND}`; export r; \
10288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10289 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
10290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
10291 $(HOST_EXPORTS) \
10292 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
10293 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
10294 case $(srcdir) in \
10295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10296 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
10297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10298 esac; \
10299 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
10300 libsrcdir="$$s/fixincludes"; \
10301 $(SHELL) $${libsrcdir}/configure \
10302 $(HOST_CONFIGARGS) $${srcdiroption} \
10303 || exit 1
10304 @endif fixincludes
10310 .PHONY: all-fixincludes maybe-all-fixincludes
10311 maybe-all-fixincludes:
10312 @if fixincludes
10313 TARGET-fixincludes=all
10314 maybe-all-fixincludes: all-fixincludes
10315 all-fixincludes: configure-fixincludes
10316 @: $(MAKE); $(unstage)
10317 @r=`${PWD_COMMAND}`; export r; \
10318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10319 $(HOST_EXPORTS) \
10320 (cd $(HOST_SUBDIR)/fixincludes && \
10321 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
10322 @endif fixincludes
10327 .PHONY: check-fixincludes maybe-check-fixincludes
10328 maybe-check-fixincludes:
10329 @if fixincludes
10330 maybe-check-fixincludes: check-fixincludes
10332 check-fixincludes:
10333 @: $(MAKE); $(unstage)
10334 @r=`${PWD_COMMAND}`; export r; \
10335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10336 $(HOST_EXPORTS) \
10337 (cd $(HOST_SUBDIR)/fixincludes && \
10338 $(MAKE) $(FLAGS_TO_PASS) check)
10340 @endif fixincludes
10342 .PHONY: install-fixincludes maybe-install-fixincludes
10343 maybe-install-fixincludes:
10344 @if fixincludes
10345 maybe-install-fixincludes: install-fixincludes
10347 install-fixincludes: installdirs
10348 @: $(MAKE); $(unstage)
10349 @r=`${PWD_COMMAND}`; export r; \
10350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10351 $(HOST_EXPORTS) \
10352 (cd $(HOST_SUBDIR)/fixincludes && \
10353 $(MAKE) $(FLAGS_TO_PASS) install)
10355 @endif fixincludes
10357 # Other targets (info, dvi, etc.)
10359 .PHONY: maybe-info-fixincludes info-fixincludes
10360 maybe-info-fixincludes:
10361 @if fixincludes
10362 maybe-info-fixincludes: info-fixincludes
10364 # fixincludes doesn't support info.
10365 info-fixincludes:
10367 @endif fixincludes
10369 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10370 maybe-dvi-fixincludes:
10371 @if fixincludes
10372 maybe-dvi-fixincludes: dvi-fixincludes
10374 # fixincludes doesn't support dvi.
10375 dvi-fixincludes:
10377 @endif fixincludes
10379 .PHONY: maybe-html-fixincludes html-fixincludes
10380 maybe-html-fixincludes:
10381 @if fixincludes
10382 maybe-html-fixincludes: html-fixincludes
10384 html-fixincludes: \
10385 configure-fixincludes
10386 @: $(MAKE); $(unstage)
10387 @[ -f ./fixincludes/Makefile ] || exit 0; \
10388 r=`${PWD_COMMAND}`; export r; \
10389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10390 $(HOST_EXPORTS) \
10391 for flag in $(EXTRA_HOST_FLAGS) ; do \
10392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10393 done; \
10394 echo "Doing html in fixincludes" ; \
10395 (cd $(HOST_SUBDIR)/fixincludes && \
10396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10398 "RANLIB=$${RANLIB}" \
10399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10400 html) \
10401 || exit 1
10403 @endif fixincludes
10405 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10406 maybe-TAGS-fixincludes:
10407 @if fixincludes
10408 maybe-TAGS-fixincludes: TAGS-fixincludes
10410 # fixincludes doesn't support TAGS.
10411 TAGS-fixincludes:
10413 @endif fixincludes
10415 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10416 maybe-install-info-fixincludes:
10417 @if fixincludes
10418 maybe-install-info-fixincludes: install-info-fixincludes
10420 # fixincludes doesn't support install-info.
10421 install-info-fixincludes:
10423 @endif fixincludes
10425 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10426 maybe-install-html-fixincludes:
10427 @if fixincludes
10428 maybe-install-html-fixincludes: install-html-fixincludes
10430 install-html-fixincludes: \
10431 configure-fixincludes \
10432 html-fixincludes
10433 @: $(MAKE); $(unstage)
10434 @[ -f ./fixincludes/Makefile ] || exit 0; \
10435 r=`${PWD_COMMAND}`; export r; \
10436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10437 $(HOST_EXPORTS) \
10438 for flag in $(EXTRA_HOST_FLAGS) ; do \
10439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10440 done; \
10441 echo "Doing install-html in fixincludes" ; \
10442 (cd $(HOST_SUBDIR)/fixincludes && \
10443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10445 "RANLIB=$${RANLIB}" \
10446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10447 install-html) \
10448 || exit 1
10450 @endif fixincludes
10452 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10453 maybe-installcheck-fixincludes:
10454 @if fixincludes
10455 maybe-installcheck-fixincludes: installcheck-fixincludes
10457 # fixincludes doesn't support installcheck.
10458 installcheck-fixincludes:
10460 @endif fixincludes
10462 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10463 maybe-mostlyclean-fixincludes:
10464 @if fixincludes
10465 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10467 mostlyclean-fixincludes:
10468 @: $(MAKE); $(unstage)
10469 @[ -f ./fixincludes/Makefile ] || exit 0; \
10470 r=`${PWD_COMMAND}`; export r; \
10471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472 $(HOST_EXPORTS) \
10473 for flag in $(EXTRA_HOST_FLAGS) ; do \
10474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10475 done; \
10476 echo "Doing mostlyclean in fixincludes" ; \
10477 (cd $(HOST_SUBDIR)/fixincludes && \
10478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10480 "RANLIB=$${RANLIB}" \
10481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10482 mostlyclean) \
10483 || exit 1
10485 @endif fixincludes
10487 .PHONY: maybe-clean-fixincludes clean-fixincludes
10488 maybe-clean-fixincludes:
10489 @if fixincludes
10490 maybe-clean-fixincludes: clean-fixincludes
10492 clean-fixincludes:
10493 @: $(MAKE); $(unstage)
10494 @[ -f ./fixincludes/Makefile ] || exit 0; \
10495 r=`${PWD_COMMAND}`; export r; \
10496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10497 $(HOST_EXPORTS) \
10498 for flag in $(EXTRA_HOST_FLAGS) ; do \
10499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10500 done; \
10501 echo "Doing clean in fixincludes" ; \
10502 (cd $(HOST_SUBDIR)/fixincludes && \
10503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10505 "RANLIB=$${RANLIB}" \
10506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10507 clean) \
10508 || exit 1
10510 @endif fixincludes
10512 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10513 maybe-distclean-fixincludes:
10514 @if fixincludes
10515 maybe-distclean-fixincludes: distclean-fixincludes
10517 distclean-fixincludes:
10518 @: $(MAKE); $(unstage)
10519 @[ -f ./fixincludes/Makefile ] || exit 0; \
10520 r=`${PWD_COMMAND}`; export r; \
10521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10522 $(HOST_EXPORTS) \
10523 for flag in $(EXTRA_HOST_FLAGS) ; do \
10524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10525 done; \
10526 echo "Doing distclean in fixincludes" ; \
10527 (cd $(HOST_SUBDIR)/fixincludes && \
10528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10530 "RANLIB=$${RANLIB}" \
10531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10532 distclean) \
10533 || exit 1
10535 @endif fixincludes
10537 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10538 maybe-maintainer-clean-fixincludes:
10539 @if fixincludes
10540 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10542 maintainer-clean-fixincludes:
10543 @: $(MAKE); $(unstage)
10544 @[ -f ./fixincludes/Makefile ] || exit 0; \
10545 r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 $(HOST_EXPORTS) \
10548 for flag in $(EXTRA_HOST_FLAGS) ; do \
10549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10550 done; \
10551 echo "Doing maintainer-clean in fixincludes" ; \
10552 (cd $(HOST_SUBDIR)/fixincludes && \
10553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10555 "RANLIB=$${RANLIB}" \
10556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10557 maintainer-clean) \
10558 || exit 1
10560 @endif fixincludes
10564 .PHONY: configure-flex maybe-configure-flex
10565 maybe-configure-flex:
10566 @if flex
10567 maybe-configure-flex: configure-flex
10568 configure-flex:
10569 @: $(MAKE); $(unstage)
10570 @r=`${PWD_COMMAND}`; export r; \
10571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10572 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10574 $(HOST_EXPORTS) \
10575 echo Configuring in $(HOST_SUBDIR)/flex; \
10576 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10577 case $(srcdir) in \
10578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10579 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10581 esac; \
10582 srcdiroption="--srcdir=$${topdir}/flex"; \
10583 libsrcdir="$$s/flex"; \
10584 $(SHELL) $${libsrcdir}/configure \
10585 $(HOST_CONFIGARGS) $${srcdiroption} \
10586 || exit 1
10587 @endif flex
10593 .PHONY: all-flex maybe-all-flex
10594 maybe-all-flex:
10595 @if flex
10596 TARGET-flex=all
10597 maybe-all-flex: all-flex
10598 all-flex: configure-flex
10599 @: $(MAKE); $(unstage)
10600 @r=`${PWD_COMMAND}`; export r; \
10601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10602 $(HOST_EXPORTS) \
10603 (cd $(HOST_SUBDIR)/flex && \
10604 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10605 @endif flex
10610 .PHONY: check-flex maybe-check-flex
10611 maybe-check-flex:
10612 @if flex
10613 maybe-check-flex: check-flex
10615 # This module is only tested in a native toolchain.
10616 check-flex:
10617 @: $(MAKE); $(unstage)
10618 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
10626 @endif flex
10628 .PHONY: install-flex maybe-install-flex
10629 maybe-install-flex:
10630 @if flex
10631 maybe-install-flex: install-flex
10633 install-flex: installdirs
10634 @: $(MAKE); $(unstage)
10635 @r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 $(HOST_EXPORTS) \
10638 (cd $(HOST_SUBDIR)/flex && \
10639 $(MAKE) $(FLAGS_TO_PASS) install)
10641 @endif flex
10643 # Other targets (info, dvi, etc.)
10645 .PHONY: maybe-info-flex info-flex
10646 maybe-info-flex:
10647 @if flex
10648 maybe-info-flex: info-flex
10650 info-flex: \
10651 configure-flex
10652 @: $(MAKE); $(unstage)
10653 @[ -f ./flex/Makefile ] || exit 0; \
10654 r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 for flag in $(EXTRA_HOST_FLAGS) ; do \
10658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10659 done; \
10660 echo "Doing info in flex" ; \
10661 (cd $(HOST_SUBDIR)/flex && \
10662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10664 "RANLIB=$${RANLIB}" \
10665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10666 info) \
10667 || exit 1
10669 @endif flex
10671 .PHONY: maybe-dvi-flex dvi-flex
10672 maybe-dvi-flex:
10673 @if flex
10674 maybe-dvi-flex: dvi-flex
10676 dvi-flex: \
10677 configure-flex
10678 @: $(MAKE); $(unstage)
10679 @[ -f ./flex/Makefile ] || exit 0; \
10680 r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 $(HOST_EXPORTS) \
10683 for flag in $(EXTRA_HOST_FLAGS) ; do \
10684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10685 done; \
10686 echo "Doing dvi in flex" ; \
10687 (cd $(HOST_SUBDIR)/flex && \
10688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10690 "RANLIB=$${RANLIB}" \
10691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10692 dvi) \
10693 || exit 1
10695 @endif flex
10697 .PHONY: maybe-html-flex html-flex
10698 maybe-html-flex:
10699 @if flex
10700 maybe-html-flex: html-flex
10702 html-flex: \
10703 configure-flex
10704 @: $(MAKE); $(unstage)
10705 @[ -f ./flex/Makefile ] || exit 0; \
10706 r=`${PWD_COMMAND}`; export r; \
10707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10708 $(HOST_EXPORTS) \
10709 for flag in $(EXTRA_HOST_FLAGS) ; do \
10710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10711 done; \
10712 echo "Doing html in flex" ; \
10713 (cd $(HOST_SUBDIR)/flex && \
10714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10716 "RANLIB=$${RANLIB}" \
10717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10718 html) \
10719 || exit 1
10721 @endif flex
10723 .PHONY: maybe-TAGS-flex TAGS-flex
10724 maybe-TAGS-flex:
10725 @if flex
10726 maybe-TAGS-flex: TAGS-flex
10728 TAGS-flex: \
10729 configure-flex
10730 @: $(MAKE); $(unstage)
10731 @[ -f ./flex/Makefile ] || exit 0; \
10732 r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(HOST_EXPORTS) \
10735 for flag in $(EXTRA_HOST_FLAGS) ; do \
10736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10737 done; \
10738 echo "Doing TAGS in flex" ; \
10739 (cd $(HOST_SUBDIR)/flex && \
10740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10742 "RANLIB=$${RANLIB}" \
10743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10744 TAGS) \
10745 || exit 1
10747 @endif flex
10749 .PHONY: maybe-install-info-flex install-info-flex
10750 maybe-install-info-flex:
10751 @if flex
10752 maybe-install-info-flex: install-info-flex
10754 install-info-flex: \
10755 configure-flex \
10756 info-flex
10757 @: $(MAKE); $(unstage)
10758 @[ -f ./flex/Makefile ] || exit 0; \
10759 r=`${PWD_COMMAND}`; export r; \
10760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10761 $(HOST_EXPORTS) \
10762 for flag in $(EXTRA_HOST_FLAGS) ; do \
10763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10764 done; \
10765 echo "Doing install-info in flex" ; \
10766 (cd $(HOST_SUBDIR)/flex && \
10767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10769 "RANLIB=$${RANLIB}" \
10770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10771 install-info) \
10772 || exit 1
10774 @endif flex
10776 .PHONY: maybe-install-html-flex install-html-flex
10777 maybe-install-html-flex:
10778 @if flex
10779 maybe-install-html-flex: install-html-flex
10781 install-html-flex: \
10782 configure-flex \
10783 html-flex
10784 @: $(MAKE); $(unstage)
10785 @[ -f ./flex/Makefile ] || exit 0; \
10786 r=`${PWD_COMMAND}`; export r; \
10787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10788 $(HOST_EXPORTS) \
10789 for flag in $(EXTRA_HOST_FLAGS) ; do \
10790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10791 done; \
10792 echo "Doing install-html in flex" ; \
10793 (cd $(HOST_SUBDIR)/flex && \
10794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10796 "RANLIB=$${RANLIB}" \
10797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10798 install-html) \
10799 || exit 1
10801 @endif flex
10803 .PHONY: maybe-installcheck-flex installcheck-flex
10804 maybe-installcheck-flex:
10805 @if flex
10806 maybe-installcheck-flex: installcheck-flex
10808 installcheck-flex: \
10809 configure-flex
10810 @: $(MAKE); $(unstage)
10811 @[ -f ./flex/Makefile ] || exit 0; \
10812 r=`${PWD_COMMAND}`; export r; \
10813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10814 $(HOST_EXPORTS) \
10815 for flag in $(EXTRA_HOST_FLAGS) ; do \
10816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10817 done; \
10818 echo "Doing installcheck in flex" ; \
10819 (cd $(HOST_SUBDIR)/flex && \
10820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10822 "RANLIB=$${RANLIB}" \
10823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10824 installcheck) \
10825 || exit 1
10827 @endif flex
10829 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10830 maybe-mostlyclean-flex:
10831 @if flex
10832 maybe-mostlyclean-flex: mostlyclean-flex
10834 mostlyclean-flex:
10835 @: $(MAKE); $(unstage)
10836 @[ -f ./flex/Makefile ] || exit 0; \
10837 r=`${PWD_COMMAND}`; export r; \
10838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10839 $(HOST_EXPORTS) \
10840 for flag in $(EXTRA_HOST_FLAGS) ; do \
10841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10842 done; \
10843 echo "Doing mostlyclean in flex" ; \
10844 (cd $(HOST_SUBDIR)/flex && \
10845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10847 "RANLIB=$${RANLIB}" \
10848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10849 mostlyclean) \
10850 || exit 1
10852 @endif flex
10854 .PHONY: maybe-clean-flex clean-flex
10855 maybe-clean-flex:
10856 @if flex
10857 maybe-clean-flex: clean-flex
10859 clean-flex:
10860 @: $(MAKE); $(unstage)
10861 @[ -f ./flex/Makefile ] || exit 0; \
10862 r=`${PWD_COMMAND}`; export r; \
10863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10864 $(HOST_EXPORTS) \
10865 for flag in $(EXTRA_HOST_FLAGS) ; do \
10866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10867 done; \
10868 echo "Doing clean in flex" ; \
10869 (cd $(HOST_SUBDIR)/flex && \
10870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10872 "RANLIB=$${RANLIB}" \
10873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10874 clean) \
10875 || exit 1
10877 @endif flex
10879 .PHONY: maybe-distclean-flex distclean-flex
10880 maybe-distclean-flex:
10881 @if flex
10882 maybe-distclean-flex: distclean-flex
10884 distclean-flex:
10885 @: $(MAKE); $(unstage)
10886 @[ -f ./flex/Makefile ] || exit 0; \
10887 r=`${PWD_COMMAND}`; export r; \
10888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10889 $(HOST_EXPORTS) \
10890 for flag in $(EXTRA_HOST_FLAGS) ; do \
10891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10892 done; \
10893 echo "Doing distclean in flex" ; \
10894 (cd $(HOST_SUBDIR)/flex && \
10895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10897 "RANLIB=$${RANLIB}" \
10898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10899 distclean) \
10900 || exit 1
10902 @endif flex
10904 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10905 maybe-maintainer-clean-flex:
10906 @if flex
10907 maybe-maintainer-clean-flex: maintainer-clean-flex
10909 maintainer-clean-flex:
10910 @: $(MAKE); $(unstage)
10911 @[ -f ./flex/Makefile ] || exit 0; \
10912 r=`${PWD_COMMAND}`; export r; \
10913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10914 $(HOST_EXPORTS) \
10915 for flag in $(EXTRA_HOST_FLAGS) ; do \
10916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10917 done; \
10918 echo "Doing maintainer-clean in flex" ; \
10919 (cd $(HOST_SUBDIR)/flex && \
10920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10922 "RANLIB=$${RANLIB}" \
10923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10924 maintainer-clean) \
10925 || exit 1
10927 @endif flex
10931 .PHONY: configure-gas maybe-configure-gas
10932 maybe-configure-gas:
10933 @if gas
10934 maybe-configure-gas: configure-gas
10935 configure-gas:
10936 @endif gas
10937 @if gas-bootstrap
10938 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10939 @endif gas-bootstrap
10940 @if gas
10941 @r=`${PWD_COMMAND}`; export r; \
10942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10943 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10945 $(HOST_EXPORTS) \
10946 echo Configuring in $(HOST_SUBDIR)/gas; \
10947 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10948 case $(srcdir) in \
10949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10950 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10952 esac; \
10953 srcdiroption="--srcdir=$${topdir}/gas"; \
10954 libsrcdir="$$s/gas"; \
10955 $(SHELL) $${libsrcdir}/configure \
10956 $(HOST_CONFIGARGS) $${srcdiroption} \
10957 || exit 1
10958 @endif gas
10962 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10963 maybe-configure-stage1-gas:
10964 @if gas-bootstrap
10965 maybe-configure-stage1-gas: configure-stage1-gas
10966 configure-stage1-gas:
10967 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10969 @r=`${PWD_COMMAND}`; export r; \
10970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10971 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10972 $(HOST_EXPORTS) \
10973 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10975 cd $(HOST_SUBDIR)/gas || exit 1; \
10976 case $(srcdir) in \
10977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10978 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10980 esac; \
10981 srcdiroption="--srcdir=$${topdir}/gas"; \
10982 libsrcdir="$$s/gas"; \
10983 $(SHELL) $${libsrcdir}/configure \
10984 $(HOST_CONFIGARGS) $${srcdiroption} \
10985 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10986 @endif gas-bootstrap
10988 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10989 maybe-configure-stage2-gas:
10990 @if gas-bootstrap
10991 maybe-configure-stage2-gas: configure-stage2-gas
10992 configure-stage2-gas:
10993 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10995 @r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10998 $(HOST_EXPORTS) \
10999 $(POSTSTAGE1_HOST_EXPORTS) \
11000 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11002 cd $(HOST_SUBDIR)/gas || exit 1; \
11003 case $(srcdir) in \
11004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11005 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11007 esac; \
11008 srcdiroption="--srcdir=$${topdir}/gas"; \
11009 libsrcdir="$$s/gas"; \
11010 $(SHELL) $${libsrcdir}/configure \
11011 $(HOST_CONFIGARGS) $${srcdiroption} \
11012 @stage2_werror_flag@
11013 @endif gas-bootstrap
11015 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11016 maybe-configure-stage3-gas:
11017 @if gas-bootstrap
11018 maybe-configure-stage3-gas: configure-stage3-gas
11019 configure-stage3-gas:
11020 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11022 @r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11024 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11025 $(HOST_EXPORTS) \
11026 $(POSTSTAGE1_HOST_EXPORTS) \
11027 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11029 cd $(HOST_SUBDIR)/gas || exit 1; \
11030 case $(srcdir) in \
11031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11032 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11034 esac; \
11035 srcdiroption="--srcdir=$${topdir}/gas"; \
11036 libsrcdir="$$s/gas"; \
11037 $(SHELL) $${libsrcdir}/configure \
11038 $(HOST_CONFIGARGS) $${srcdiroption} \
11039 @stage2_werror_flag@
11040 @endif gas-bootstrap
11042 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11043 maybe-configure-stage4-gas:
11044 @if gas-bootstrap
11045 maybe-configure-stage4-gas: configure-stage4-gas
11046 configure-stage4-gas:
11047 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11049 @r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11052 $(HOST_EXPORTS) \
11053 $(POSTSTAGE1_HOST_EXPORTS) \
11054 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11056 cd $(HOST_SUBDIR)/gas || exit 1; \
11057 case $(srcdir) in \
11058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11059 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11061 esac; \
11062 srcdiroption="--srcdir=$${topdir}/gas"; \
11063 libsrcdir="$$s/gas"; \
11064 $(SHELL) $${libsrcdir}/configure \
11065 $(HOST_CONFIGARGS) $${srcdiroption} \
11066 @stage2_werror_flag@
11067 @endif gas-bootstrap
11069 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11070 maybe-configure-stageprofile-gas:
11071 @if gas-bootstrap
11072 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11073 configure-stageprofile-gas:
11074 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11076 @r=`${PWD_COMMAND}`; export r; \
11077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11079 $(HOST_EXPORTS) \
11080 $(POSTSTAGE1_HOST_EXPORTS) \
11081 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11083 cd $(HOST_SUBDIR)/gas || exit 1; \
11084 case $(srcdir) in \
11085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11086 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11088 esac; \
11089 srcdiroption="--srcdir=$${topdir}/gas"; \
11090 libsrcdir="$$s/gas"; \
11091 $(SHELL) $${libsrcdir}/configure \
11092 $(HOST_CONFIGARGS) $${srcdiroption} \
11093 @stage2_werror_flag@
11094 @endif gas-bootstrap
11096 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11097 maybe-configure-stagefeedback-gas:
11098 @if gas-bootstrap
11099 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11100 configure-stagefeedback-gas:
11101 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11103 @r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11106 $(HOST_EXPORTS) \
11107 $(POSTSTAGE1_HOST_EXPORTS) \
11108 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11110 cd $(HOST_SUBDIR)/gas || exit 1; \
11111 case $(srcdir) in \
11112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11113 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11115 esac; \
11116 srcdiroption="--srcdir=$${topdir}/gas"; \
11117 libsrcdir="$$s/gas"; \
11118 $(SHELL) $${libsrcdir}/configure \
11119 $(HOST_CONFIGARGS) $${srcdiroption} \
11120 @stage2_werror_flag@
11121 @endif gas-bootstrap
11127 .PHONY: all-gas maybe-all-gas
11128 maybe-all-gas:
11129 @if gas
11130 TARGET-gas=all
11131 maybe-all-gas: all-gas
11132 all-gas: configure-gas
11133 @endif gas
11134 @if gas-bootstrap
11135 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11136 @endif gas-bootstrap
11137 @if gas
11138 @r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11140 $(HOST_EXPORTS) \
11141 (cd $(HOST_SUBDIR)/gas && \
11142 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11143 @endif gas
11147 .PHONY: all-stage1-gas maybe-all-stage1-gas
11148 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11149 maybe-all-stage1-gas:
11150 maybe-clean-stage1-gas:
11151 @if gas-bootstrap
11152 maybe-all-stage1-gas: all-stage1-gas
11153 all-stage1: all-stage1-gas
11154 TARGET-stage1-gas = $(TARGET-gas)
11155 all-stage1-gas: configure-stage1-gas
11156 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11162 $(TARGET-stage1-gas)
11164 maybe-clean-stage1-gas: clean-stage1-gas
11165 clean-stage1: clean-stage1-gas
11166 clean-stage1-gas:
11167 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
11168 || exit 0 ; \
11169 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11170 cd $(HOST_SUBDIR)/gas && \
11171 $(MAKE) $(FLAGS_TO_PASS) \
11172 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11173 @endif gas-bootstrap
11176 .PHONY: all-stage2-gas maybe-all-stage2-gas
11177 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11178 maybe-all-stage2-gas:
11179 maybe-clean-stage2-gas:
11180 @if gas-bootstrap
11181 maybe-all-stage2-gas: all-stage2-gas
11182 all-stage2: all-stage2-gas
11183 TARGET-stage2-gas = $(TARGET-gas)
11184 all-stage2-gas: configure-stage2-gas
11185 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11186 @r=`${PWD_COMMAND}`; export r; \
11187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11188 $(HOST_EXPORTS) \
11189 $(POSTSTAGE1_HOST_EXPORTS) \
11190 cd $(HOST_SUBDIR)/gas && \
11191 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11192 $(TARGET-stage2-gas)
11194 maybe-clean-stage2-gas: clean-stage2-gas
11195 clean-stage2: clean-stage2-gas
11196 clean-stage2-gas:
11197 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
11198 || exit 0 ; \
11199 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11200 cd $(HOST_SUBDIR)/gas && \
11201 $(MAKE) $(FLAGS_TO_PASS) \
11202 $(POSTSTAGE1_FLAGS_TO_PASS) \
11203 clean
11204 @endif gas-bootstrap
11207 .PHONY: all-stage3-gas maybe-all-stage3-gas
11208 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11209 maybe-all-stage3-gas:
11210 maybe-clean-stage3-gas:
11211 @if gas-bootstrap
11212 maybe-all-stage3-gas: all-stage3-gas
11213 all-stage3: all-stage3-gas
11214 TARGET-stage3-gas = $(TARGET-gas)
11215 all-stage3-gas: configure-stage3-gas
11216 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11217 @r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 $(HOST_EXPORTS) \
11220 $(POSTSTAGE1_HOST_EXPORTS) \
11221 cd $(HOST_SUBDIR)/gas && \
11222 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11223 $(TARGET-stage3-gas)
11225 maybe-clean-stage3-gas: clean-stage3-gas
11226 clean-stage3: clean-stage3-gas
11227 clean-stage3-gas:
11228 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
11229 || exit 0 ; \
11230 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11231 cd $(HOST_SUBDIR)/gas && \
11232 $(MAKE) $(FLAGS_TO_PASS) \
11233 $(POSTSTAGE1_FLAGS_TO_PASS) \
11234 clean
11235 @endif gas-bootstrap
11238 .PHONY: all-stage4-gas maybe-all-stage4-gas
11239 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11240 maybe-all-stage4-gas:
11241 maybe-clean-stage4-gas:
11242 @if gas-bootstrap
11243 maybe-all-stage4-gas: all-stage4-gas
11244 all-stage4: all-stage4-gas
11245 TARGET-stage4-gas = $(TARGET-gas)
11246 all-stage4-gas: configure-stage4-gas
11247 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11248 @r=`${PWD_COMMAND}`; export r; \
11249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11250 $(HOST_EXPORTS) \
11251 $(POSTSTAGE1_HOST_EXPORTS) \
11252 cd $(HOST_SUBDIR)/gas && \
11253 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11254 $(TARGET-stage4-gas)
11256 maybe-clean-stage4-gas: clean-stage4-gas
11257 clean-stage4: clean-stage4-gas
11258 clean-stage4-gas:
11259 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
11260 || exit 0 ; \
11261 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11262 cd $(HOST_SUBDIR)/gas && \
11263 $(MAKE) $(FLAGS_TO_PASS) \
11264 $(POSTSTAGE1_FLAGS_TO_PASS) \
11265 clean
11266 @endif gas-bootstrap
11269 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11270 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11271 maybe-all-stageprofile-gas:
11272 maybe-clean-stageprofile-gas:
11273 @if gas-bootstrap
11274 maybe-all-stageprofile-gas: all-stageprofile-gas
11275 all-stageprofile: all-stageprofile-gas
11276 TARGET-stageprofile-gas = $(TARGET-gas)
11277 all-stageprofile-gas: configure-stageprofile-gas
11278 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11279 @r=`${PWD_COMMAND}`; export r; \
11280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 $(HOST_EXPORTS) \
11282 $(POSTSTAGE1_HOST_EXPORTS) \
11283 cd $(HOST_SUBDIR)/gas && \
11284 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
11285 $(TARGET-stageprofile-gas)
11287 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11288 clean-stageprofile: clean-stageprofile-gas
11289 clean-stageprofile-gas:
11290 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
11291 || exit 0 ; \
11292 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11293 cd $(HOST_SUBDIR)/gas && \
11294 $(MAKE) $(FLAGS_TO_PASS) \
11295 $(POSTSTAGE1_FLAGS_TO_PASS) \
11296 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
11297 @endif gas-bootstrap
11300 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11301 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11302 maybe-all-stagefeedback-gas:
11303 maybe-clean-stagefeedback-gas:
11304 @if gas-bootstrap
11305 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11306 all-stagefeedback: all-stagefeedback-gas
11307 TARGET-stagefeedback-gas = $(TARGET-gas)
11308 all-stagefeedback-gas: configure-stagefeedback-gas
11309 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11310 @r=`${PWD_COMMAND}`; export r; \
11311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11312 $(HOST_EXPORTS) \
11313 $(POSTSTAGE1_HOST_EXPORTS) \
11314 cd $(HOST_SUBDIR)/gas && \
11315 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
11316 $(TARGET-stagefeedback-gas)
11318 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11319 clean-stagefeedback: clean-stagefeedback-gas
11320 clean-stagefeedback-gas:
11321 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
11322 || exit 0 ; \
11323 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11324 cd $(HOST_SUBDIR)/gas && \
11325 $(MAKE) $(FLAGS_TO_PASS) \
11326 $(POSTSTAGE1_FLAGS_TO_PASS) \
11327 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
11328 @endif gas-bootstrap
11334 .PHONY: check-gas maybe-check-gas
11335 maybe-check-gas:
11336 @if gas
11337 maybe-check-gas: check-gas
11339 check-gas:
11340 @: $(MAKE); $(unstage)
11341 @r=`${PWD_COMMAND}`; export r; \
11342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11343 $(HOST_EXPORTS) \
11344 (cd $(HOST_SUBDIR)/gas && \
11345 $(MAKE) $(FLAGS_TO_PASS) check)
11347 @endif gas
11349 .PHONY: install-gas maybe-install-gas
11350 maybe-install-gas:
11351 @if gas
11352 maybe-install-gas: install-gas
11354 install-gas: installdirs
11355 @: $(MAKE); $(unstage)
11356 @r=`${PWD_COMMAND}`; export r; \
11357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358 $(HOST_EXPORTS) \
11359 (cd $(HOST_SUBDIR)/gas && \
11360 $(MAKE) $(FLAGS_TO_PASS) install)
11362 @endif gas
11364 # Other targets (info, dvi, etc.)
11366 .PHONY: maybe-info-gas info-gas
11367 maybe-info-gas:
11368 @if gas
11369 maybe-info-gas: info-gas
11371 info-gas: \
11372 configure-gas
11373 @[ -f ./gas/Makefile ] || exit 0; \
11374 r=`${PWD_COMMAND}`; export r; \
11375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11376 $(HOST_EXPORTS) \
11377 for flag in $(EXTRA_HOST_FLAGS) ; do \
11378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11379 done; \
11380 echo "Doing info in gas" ; \
11381 (cd $(HOST_SUBDIR)/gas && \
11382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11384 "RANLIB=$${RANLIB}" \
11385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11386 info) \
11387 || exit 1
11389 @endif gas
11391 .PHONY: maybe-dvi-gas dvi-gas
11392 maybe-dvi-gas:
11393 @if gas
11394 maybe-dvi-gas: dvi-gas
11396 dvi-gas: \
11397 configure-gas
11398 @[ -f ./gas/Makefile ] || exit 0; \
11399 r=`${PWD_COMMAND}`; export r; \
11400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11401 $(HOST_EXPORTS) \
11402 for flag in $(EXTRA_HOST_FLAGS) ; do \
11403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11404 done; \
11405 echo "Doing dvi in gas" ; \
11406 (cd $(HOST_SUBDIR)/gas && \
11407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11409 "RANLIB=$${RANLIB}" \
11410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11411 dvi) \
11412 || exit 1
11414 @endif gas
11416 .PHONY: maybe-html-gas html-gas
11417 maybe-html-gas:
11418 @if gas
11419 maybe-html-gas: html-gas
11421 html-gas: \
11422 configure-gas
11423 @[ -f ./gas/Makefile ] || exit 0; \
11424 r=`${PWD_COMMAND}`; export r; \
11425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11426 $(HOST_EXPORTS) \
11427 for flag in $(EXTRA_HOST_FLAGS) ; do \
11428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11429 done; \
11430 echo "Doing html in gas" ; \
11431 (cd $(HOST_SUBDIR)/gas && \
11432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11434 "RANLIB=$${RANLIB}" \
11435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11436 html) \
11437 || exit 1
11439 @endif gas
11441 .PHONY: maybe-TAGS-gas TAGS-gas
11442 maybe-TAGS-gas:
11443 @if gas
11444 maybe-TAGS-gas: TAGS-gas
11446 TAGS-gas: \
11447 configure-gas
11448 @[ -f ./gas/Makefile ] || exit 0; \
11449 r=`${PWD_COMMAND}`; export r; \
11450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11451 $(HOST_EXPORTS) \
11452 for flag in $(EXTRA_HOST_FLAGS) ; do \
11453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11454 done; \
11455 echo "Doing TAGS in gas" ; \
11456 (cd $(HOST_SUBDIR)/gas && \
11457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11459 "RANLIB=$${RANLIB}" \
11460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11461 TAGS) \
11462 || exit 1
11464 @endif gas
11466 .PHONY: maybe-install-info-gas install-info-gas
11467 maybe-install-info-gas:
11468 @if gas
11469 maybe-install-info-gas: install-info-gas
11471 install-info-gas: \
11472 configure-gas \
11473 info-gas
11474 @[ -f ./gas/Makefile ] || exit 0; \
11475 r=`${PWD_COMMAND}`; export r; \
11476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11477 $(HOST_EXPORTS) \
11478 for flag in $(EXTRA_HOST_FLAGS) ; do \
11479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11480 done; \
11481 echo "Doing install-info in gas" ; \
11482 (cd $(HOST_SUBDIR)/gas && \
11483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11485 "RANLIB=$${RANLIB}" \
11486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11487 install-info) \
11488 || exit 1
11490 @endif gas
11492 .PHONY: maybe-install-html-gas install-html-gas
11493 maybe-install-html-gas:
11494 @if gas
11495 maybe-install-html-gas: install-html-gas
11497 install-html-gas: \
11498 configure-gas \
11499 html-gas
11500 @[ -f ./gas/Makefile ] || exit 0; \
11501 r=`${PWD_COMMAND}`; export r; \
11502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11503 $(HOST_EXPORTS) \
11504 for flag in $(EXTRA_HOST_FLAGS) ; do \
11505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11506 done; \
11507 echo "Doing install-html in gas" ; \
11508 (cd $(HOST_SUBDIR)/gas && \
11509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11511 "RANLIB=$${RANLIB}" \
11512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11513 install-html) \
11514 || exit 1
11516 @endif gas
11518 .PHONY: maybe-installcheck-gas installcheck-gas
11519 maybe-installcheck-gas:
11520 @if gas
11521 maybe-installcheck-gas: installcheck-gas
11523 installcheck-gas: \
11524 configure-gas
11525 @[ -f ./gas/Makefile ] || exit 0; \
11526 r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(HOST_EXPORTS) \
11529 for flag in $(EXTRA_HOST_FLAGS) ; do \
11530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11531 done; \
11532 echo "Doing installcheck in gas" ; \
11533 (cd $(HOST_SUBDIR)/gas && \
11534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11536 "RANLIB=$${RANLIB}" \
11537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11538 installcheck) \
11539 || exit 1
11541 @endif gas
11543 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11544 maybe-mostlyclean-gas:
11545 @if gas
11546 maybe-mostlyclean-gas: mostlyclean-gas
11548 mostlyclean-gas:
11549 @[ -f ./gas/Makefile ] || exit 0; \
11550 r=`${PWD_COMMAND}`; export r; \
11551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11552 $(HOST_EXPORTS) \
11553 for flag in $(EXTRA_HOST_FLAGS) ; do \
11554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11555 done; \
11556 echo "Doing mostlyclean in gas" ; \
11557 (cd $(HOST_SUBDIR)/gas && \
11558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11560 "RANLIB=$${RANLIB}" \
11561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11562 mostlyclean) \
11563 || exit 1
11565 @endif gas
11567 .PHONY: maybe-clean-gas clean-gas
11568 maybe-clean-gas:
11569 @if gas
11570 maybe-clean-gas: clean-gas
11572 clean-gas:
11573 @[ -f ./gas/Makefile ] || exit 0; \
11574 r=`${PWD_COMMAND}`; export r; \
11575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11576 $(HOST_EXPORTS) \
11577 for flag in $(EXTRA_HOST_FLAGS) ; do \
11578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11579 done; \
11580 echo "Doing clean in gas" ; \
11581 (cd $(HOST_SUBDIR)/gas && \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11584 "RANLIB=$${RANLIB}" \
11585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11586 clean) \
11587 || exit 1
11589 @endif gas
11591 .PHONY: maybe-distclean-gas distclean-gas
11592 maybe-distclean-gas:
11593 @if gas
11594 maybe-distclean-gas: distclean-gas
11596 distclean-gas:
11597 @[ -f ./gas/Makefile ] || exit 0; \
11598 r=`${PWD_COMMAND}`; export r; \
11599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11600 $(HOST_EXPORTS) \
11601 for flag in $(EXTRA_HOST_FLAGS) ; do \
11602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11603 done; \
11604 echo "Doing distclean in gas" ; \
11605 (cd $(HOST_SUBDIR)/gas && \
11606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11608 "RANLIB=$${RANLIB}" \
11609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11610 distclean) \
11611 || exit 1
11613 @endif gas
11615 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11616 maybe-maintainer-clean-gas:
11617 @if gas
11618 maybe-maintainer-clean-gas: maintainer-clean-gas
11620 maintainer-clean-gas:
11621 @[ -f ./gas/Makefile ] || exit 0; \
11622 r=`${PWD_COMMAND}`; export r; \
11623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11624 $(HOST_EXPORTS) \
11625 for flag in $(EXTRA_HOST_FLAGS) ; do \
11626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11627 done; \
11628 echo "Doing maintainer-clean in gas" ; \
11629 (cd $(HOST_SUBDIR)/gas && \
11630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11632 "RANLIB=$${RANLIB}" \
11633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11634 maintainer-clean) \
11635 || exit 1
11637 @endif gas
11641 .PHONY: configure-gcc maybe-configure-gcc
11642 maybe-configure-gcc:
11643 @if gcc
11644 maybe-configure-gcc: configure-gcc
11645 configure-gcc:
11646 @endif gcc
11647 @if gcc-bootstrap
11648 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11649 @endif gcc-bootstrap
11650 @if gcc
11651 @r=`${PWD_COMMAND}`; export r; \
11652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11653 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11655 $(HOST_EXPORTS) \
11656 echo Configuring in $(HOST_SUBDIR)/gcc; \
11657 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11658 case $(srcdir) in \
11659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11660 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11662 esac; \
11663 srcdiroption="--srcdir=$${topdir}/gcc"; \
11664 libsrcdir="$$s/gcc"; \
11665 $(SHELL) $${libsrcdir}/configure \
11666 $(HOST_CONFIGARGS) $${srcdiroption} \
11667 || exit 1
11668 @endif gcc
11672 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11673 maybe-configure-stage1-gcc:
11674 @if gcc-bootstrap
11675 maybe-configure-stage1-gcc: configure-stage1-gcc
11676 configure-stage1-gcc:
11677 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11679 @r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11681 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11682 $(HOST_EXPORTS) \
11683 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11685 cd $(HOST_SUBDIR)/gcc || exit 1; \
11686 case $(srcdir) in \
11687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11688 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11690 esac; \
11691 srcdiroption="--srcdir=$${topdir}/gcc"; \
11692 libsrcdir="$$s/gcc"; \
11693 $(SHELL) $${libsrcdir}/configure \
11694 $(HOST_CONFIGARGS) $${srcdiroption} \
11695 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11696 @endif gcc-bootstrap
11698 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11699 maybe-configure-stage2-gcc:
11700 @if gcc-bootstrap
11701 maybe-configure-stage2-gcc: configure-stage2-gcc
11702 configure-stage2-gcc:
11703 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11705 @r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11708 $(HOST_EXPORTS) \
11709 $(POSTSTAGE1_HOST_EXPORTS) \
11710 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11712 cd $(HOST_SUBDIR)/gcc || exit 1; \
11713 case $(srcdir) in \
11714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11715 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11717 esac; \
11718 srcdiroption="--srcdir=$${topdir}/gcc"; \
11719 libsrcdir="$$s/gcc"; \
11720 $(SHELL) $${libsrcdir}/configure \
11721 $(HOST_CONFIGARGS) $${srcdiroption} \
11722 @stage2_werror_flag@
11723 @endif gcc-bootstrap
11725 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11726 maybe-configure-stage3-gcc:
11727 @if gcc-bootstrap
11728 maybe-configure-stage3-gcc: configure-stage3-gcc
11729 configure-stage3-gcc:
11730 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11732 @r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11735 $(HOST_EXPORTS) \
11736 $(POSTSTAGE1_HOST_EXPORTS) \
11737 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11739 cd $(HOST_SUBDIR)/gcc || exit 1; \
11740 case $(srcdir) in \
11741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11742 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11744 esac; \
11745 srcdiroption="--srcdir=$${topdir}/gcc"; \
11746 libsrcdir="$$s/gcc"; \
11747 $(SHELL) $${libsrcdir}/configure \
11748 $(HOST_CONFIGARGS) $${srcdiroption} \
11749 @stage2_werror_flag@
11750 @endif gcc-bootstrap
11752 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11753 maybe-configure-stage4-gcc:
11754 @if gcc-bootstrap
11755 maybe-configure-stage4-gcc: configure-stage4-gcc
11756 configure-stage4-gcc:
11757 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11759 @r=`${PWD_COMMAND}`; export r; \
11760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11762 $(HOST_EXPORTS) \
11763 $(POSTSTAGE1_HOST_EXPORTS) \
11764 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11766 cd $(HOST_SUBDIR)/gcc || exit 1; \
11767 case $(srcdir) in \
11768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11769 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11771 esac; \
11772 srcdiroption="--srcdir=$${topdir}/gcc"; \
11773 libsrcdir="$$s/gcc"; \
11774 $(SHELL) $${libsrcdir}/configure \
11775 $(HOST_CONFIGARGS) $${srcdiroption} \
11776 @stage2_werror_flag@
11777 @endif gcc-bootstrap
11779 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11780 maybe-configure-stageprofile-gcc:
11781 @if gcc-bootstrap
11782 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11783 configure-stageprofile-gcc:
11784 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11786 @r=`${PWD_COMMAND}`; export r; \
11787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11788 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11789 $(HOST_EXPORTS) \
11790 $(POSTSTAGE1_HOST_EXPORTS) \
11791 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11793 cd $(HOST_SUBDIR)/gcc || exit 1; \
11794 case $(srcdir) in \
11795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11796 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11798 esac; \
11799 srcdiroption="--srcdir=$${topdir}/gcc"; \
11800 libsrcdir="$$s/gcc"; \
11801 $(SHELL) $${libsrcdir}/configure \
11802 $(HOST_CONFIGARGS) $${srcdiroption} \
11803 @stage2_werror_flag@
11804 @endif gcc-bootstrap
11806 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11807 maybe-configure-stagefeedback-gcc:
11808 @if gcc-bootstrap
11809 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11810 configure-stagefeedback-gcc:
11811 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11813 @r=`${PWD_COMMAND}`; export r; \
11814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11815 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11816 $(HOST_EXPORTS) \
11817 $(POSTSTAGE1_HOST_EXPORTS) \
11818 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11820 cd $(HOST_SUBDIR)/gcc || exit 1; \
11821 case $(srcdir) in \
11822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11823 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11825 esac; \
11826 srcdiroption="--srcdir=$${topdir}/gcc"; \
11827 libsrcdir="$$s/gcc"; \
11828 $(SHELL) $${libsrcdir}/configure \
11829 $(HOST_CONFIGARGS) $${srcdiroption} \
11830 @stage2_werror_flag@
11831 @endif gcc-bootstrap
11837 .PHONY: all-gcc maybe-all-gcc
11838 maybe-all-gcc:
11839 @if gcc
11840 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11841 maybe-all-gcc: all-gcc
11842 all-gcc: configure-gcc
11843 @endif gcc
11844 @if gcc-bootstrap
11845 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11846 @endif gcc-bootstrap
11847 @if gcc
11848 @r=`${PWD_COMMAND}`; export r; \
11849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11850 $(HOST_EXPORTS) \
11851 (cd $(HOST_SUBDIR)/gcc && \
11852 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11853 @endif gcc
11857 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11858 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11859 maybe-all-stage1-gcc:
11860 maybe-clean-stage1-gcc:
11861 @if gcc-bootstrap
11862 maybe-all-stage1-gcc: all-stage1-gcc
11863 all-stage1: all-stage1-gcc
11864 TARGET-stage1-gcc = $(TARGET-gcc)
11865 all-stage1-gcc: configure-stage1-gcc
11866 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11872 $(TARGET-stage1-gcc)
11874 maybe-clean-stage1-gcc: clean-stage1-gcc
11875 clean-stage1: clean-stage1-gcc
11876 clean-stage1-gcc:
11877 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11878 || exit 0 ; \
11879 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11880 cd $(HOST_SUBDIR)/gcc && \
11881 $(MAKE) $(FLAGS_TO_PASS) \
11882 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11883 @endif gcc-bootstrap
11886 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11887 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11888 maybe-all-stage2-gcc:
11889 maybe-clean-stage2-gcc:
11890 @if gcc-bootstrap
11891 maybe-all-stage2-gcc: all-stage2-gcc
11892 all-stage2: all-stage2-gcc
11893 TARGET-stage2-gcc = $(TARGET-gcc)
11894 all-stage2-gcc: configure-stage2-gcc
11895 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11896 @r=`${PWD_COMMAND}`; export r; \
11897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11898 $(HOST_EXPORTS) \
11899 $(POSTSTAGE1_HOST_EXPORTS) \
11900 cd $(HOST_SUBDIR)/gcc && \
11901 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11902 $(TARGET-stage2-gcc)
11904 maybe-clean-stage2-gcc: clean-stage2-gcc
11905 clean-stage2: clean-stage2-gcc
11906 clean-stage2-gcc:
11907 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11908 || exit 0 ; \
11909 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11910 cd $(HOST_SUBDIR)/gcc && \
11911 $(MAKE) $(FLAGS_TO_PASS) \
11912 $(POSTSTAGE1_FLAGS_TO_PASS) \
11913 $(EXTRA_GCC_FLAGS) clean
11914 @endif gcc-bootstrap
11917 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11918 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11919 maybe-all-stage3-gcc:
11920 maybe-clean-stage3-gcc:
11921 @if gcc-bootstrap
11922 maybe-all-stage3-gcc: all-stage3-gcc
11923 all-stage3: all-stage3-gcc
11924 TARGET-stage3-gcc = $(TARGET-gcc)
11925 all-stage3-gcc: configure-stage3-gcc
11926 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11927 @r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(HOST_EXPORTS) \
11930 $(POSTSTAGE1_HOST_EXPORTS) \
11931 cd $(HOST_SUBDIR)/gcc && \
11932 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11933 $(TARGET-stage3-gcc)
11935 maybe-clean-stage3-gcc: clean-stage3-gcc
11936 clean-stage3: clean-stage3-gcc
11937 clean-stage3-gcc:
11938 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11939 || exit 0 ; \
11940 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11941 cd $(HOST_SUBDIR)/gcc && \
11942 $(MAKE) $(FLAGS_TO_PASS) \
11943 $(POSTSTAGE1_FLAGS_TO_PASS) \
11944 $(EXTRA_GCC_FLAGS) clean
11945 @endif gcc-bootstrap
11948 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11949 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11950 maybe-all-stage4-gcc:
11951 maybe-clean-stage4-gcc:
11952 @if gcc-bootstrap
11953 maybe-all-stage4-gcc: all-stage4-gcc
11954 all-stage4: all-stage4-gcc
11955 TARGET-stage4-gcc = $(TARGET-gcc)
11956 all-stage4-gcc: configure-stage4-gcc
11957 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11958 @r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 $(HOST_EXPORTS) \
11961 $(POSTSTAGE1_HOST_EXPORTS) \
11962 cd $(HOST_SUBDIR)/gcc && \
11963 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11964 $(TARGET-stage4-gcc)
11966 maybe-clean-stage4-gcc: clean-stage4-gcc
11967 clean-stage4: clean-stage4-gcc
11968 clean-stage4-gcc:
11969 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11970 || exit 0 ; \
11971 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11972 cd $(HOST_SUBDIR)/gcc && \
11973 $(MAKE) $(FLAGS_TO_PASS) \
11974 $(POSTSTAGE1_FLAGS_TO_PASS) \
11975 $(EXTRA_GCC_FLAGS) clean
11976 @endif gcc-bootstrap
11979 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11980 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11981 maybe-all-stageprofile-gcc:
11982 maybe-clean-stageprofile-gcc:
11983 @if gcc-bootstrap
11984 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11985 all-stageprofile: all-stageprofile-gcc
11986 TARGET-stageprofile-gcc = $(TARGET-gcc)
11987 all-stageprofile-gcc: configure-stageprofile-gcc
11988 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11989 @r=`${PWD_COMMAND}`; export r; \
11990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11991 $(HOST_EXPORTS) \
11992 $(POSTSTAGE1_HOST_EXPORTS) \
11993 cd $(HOST_SUBDIR)/gcc && \
11994 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11995 $(TARGET-stageprofile-gcc)
11997 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11998 clean-stageprofile: clean-stageprofile-gcc
11999 clean-stageprofile-gcc:
12000 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
12001 || exit 0 ; \
12002 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12003 cd $(HOST_SUBDIR)/gcc && \
12004 $(MAKE) $(FLAGS_TO_PASS) \
12005 $(POSTSTAGE1_FLAGS_TO_PASS) \
12006 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12007 @endif gcc-bootstrap
12010 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12011 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12012 maybe-all-stagefeedback-gcc:
12013 maybe-clean-stagefeedback-gcc:
12014 @if gcc-bootstrap
12015 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12016 all-stagefeedback: all-stagefeedback-gcc
12017 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12018 all-stagefeedback-gcc: configure-stagefeedback-gcc
12019 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12020 @r=`${PWD_COMMAND}`; export r; \
12021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12022 $(HOST_EXPORTS) \
12023 $(POSTSTAGE1_HOST_EXPORTS) \
12024 cd $(HOST_SUBDIR)/gcc && \
12025 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12026 $(TARGET-stagefeedback-gcc)
12028 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12029 clean-stagefeedback: clean-stagefeedback-gcc
12030 clean-stagefeedback-gcc:
12031 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
12032 || exit 0 ; \
12033 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12034 cd $(HOST_SUBDIR)/gcc && \
12035 $(MAKE) $(FLAGS_TO_PASS) \
12036 $(POSTSTAGE1_FLAGS_TO_PASS) \
12037 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12038 @endif gcc-bootstrap
12044 .PHONY: check-gcc maybe-check-gcc
12045 maybe-check-gcc:
12046 @if gcc
12047 maybe-check-gcc: check-gcc
12049 check-gcc:
12050 @: $(MAKE); $(unstage)
12051 @r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 $(HOST_EXPORTS) \
12054 (cd $(HOST_SUBDIR)/gcc && \
12055 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12057 @endif gcc
12059 .PHONY: install-gcc maybe-install-gcc
12060 maybe-install-gcc:
12061 @if gcc
12062 maybe-install-gcc: install-gcc
12064 install-gcc: installdirs
12065 @: $(MAKE); $(unstage)
12066 @r=`${PWD_COMMAND}`; export r; \
12067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12068 $(HOST_EXPORTS) \
12069 (cd $(HOST_SUBDIR)/gcc && \
12070 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12072 @endif gcc
12074 # Other targets (info, dvi, etc.)
12076 .PHONY: maybe-info-gcc info-gcc
12077 maybe-info-gcc:
12078 @if gcc
12079 maybe-info-gcc: info-gcc
12081 info-gcc: \
12082 configure-gcc
12083 @[ -f ./gcc/Makefile ] || exit 0; \
12084 r=`${PWD_COMMAND}`; export r; \
12085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12086 $(HOST_EXPORTS) \
12087 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12089 done; \
12090 echo "Doing info in gcc" ; \
12091 (cd $(HOST_SUBDIR)/gcc && \
12092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12094 "RANLIB=$${RANLIB}" \
12095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12096 info) \
12097 || exit 1
12099 @endif gcc
12101 .PHONY: maybe-dvi-gcc dvi-gcc
12102 maybe-dvi-gcc:
12103 @if gcc
12104 maybe-dvi-gcc: dvi-gcc
12106 dvi-gcc: \
12107 configure-gcc
12108 @[ -f ./gcc/Makefile ] || exit 0; \
12109 r=`${PWD_COMMAND}`; export r; \
12110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12111 $(HOST_EXPORTS) \
12112 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12114 done; \
12115 echo "Doing dvi in gcc" ; \
12116 (cd $(HOST_SUBDIR)/gcc && \
12117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12119 "RANLIB=$${RANLIB}" \
12120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12121 dvi) \
12122 || exit 1
12124 @endif gcc
12126 .PHONY: maybe-html-gcc html-gcc
12127 maybe-html-gcc:
12128 @if gcc
12129 maybe-html-gcc: html-gcc
12131 html-gcc: \
12132 configure-gcc
12133 @[ -f ./gcc/Makefile ] || exit 0; \
12134 r=`${PWD_COMMAND}`; export r; \
12135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12136 $(HOST_EXPORTS) \
12137 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12139 done; \
12140 echo "Doing html in gcc" ; \
12141 (cd $(HOST_SUBDIR)/gcc && \
12142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12144 "RANLIB=$${RANLIB}" \
12145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12146 html) \
12147 || exit 1
12149 @endif gcc
12151 .PHONY: maybe-TAGS-gcc TAGS-gcc
12152 maybe-TAGS-gcc:
12153 @if gcc
12154 maybe-TAGS-gcc: TAGS-gcc
12156 TAGS-gcc: \
12157 configure-gcc
12158 @[ -f ./gcc/Makefile ] || exit 0; \
12159 r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12161 $(HOST_EXPORTS) \
12162 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12164 done; \
12165 echo "Doing TAGS in gcc" ; \
12166 (cd $(HOST_SUBDIR)/gcc && \
12167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12169 "RANLIB=$${RANLIB}" \
12170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12171 TAGS) \
12172 || exit 1
12174 @endif gcc
12176 .PHONY: maybe-install-info-gcc install-info-gcc
12177 maybe-install-info-gcc:
12178 @if gcc
12179 maybe-install-info-gcc: install-info-gcc
12181 install-info-gcc: \
12182 configure-gcc \
12183 info-gcc
12184 @[ -f ./gcc/Makefile ] || exit 0; \
12185 r=`${PWD_COMMAND}`; export r; \
12186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12187 $(HOST_EXPORTS) \
12188 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12190 done; \
12191 echo "Doing install-info in gcc" ; \
12192 (cd $(HOST_SUBDIR)/gcc && \
12193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12195 "RANLIB=$${RANLIB}" \
12196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12197 install-info) \
12198 || exit 1
12200 @endif gcc
12202 .PHONY: maybe-install-html-gcc install-html-gcc
12203 maybe-install-html-gcc:
12204 @if gcc
12205 maybe-install-html-gcc: install-html-gcc
12207 install-html-gcc: \
12208 configure-gcc \
12209 html-gcc
12210 @[ -f ./gcc/Makefile ] || exit 0; \
12211 r=`${PWD_COMMAND}`; export r; \
12212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12213 $(HOST_EXPORTS) \
12214 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12216 done; \
12217 echo "Doing install-html in gcc" ; \
12218 (cd $(HOST_SUBDIR)/gcc && \
12219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12221 "RANLIB=$${RANLIB}" \
12222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12223 install-html) \
12224 || exit 1
12226 @endif gcc
12228 .PHONY: maybe-installcheck-gcc installcheck-gcc
12229 maybe-installcheck-gcc:
12230 @if gcc
12231 maybe-installcheck-gcc: installcheck-gcc
12233 installcheck-gcc: \
12234 configure-gcc
12235 @[ -f ./gcc/Makefile ] || exit 0; \
12236 r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12238 $(HOST_EXPORTS) \
12239 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12241 done; \
12242 echo "Doing installcheck in gcc" ; \
12243 (cd $(HOST_SUBDIR)/gcc && \
12244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12246 "RANLIB=$${RANLIB}" \
12247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12248 installcheck) \
12249 || exit 1
12251 @endif gcc
12253 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12254 maybe-mostlyclean-gcc:
12255 @if gcc
12256 maybe-mostlyclean-gcc: mostlyclean-gcc
12258 mostlyclean-gcc:
12259 @[ -f ./gcc/Makefile ] || exit 0; \
12260 r=`${PWD_COMMAND}`; export r; \
12261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12262 $(HOST_EXPORTS) \
12263 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12265 done; \
12266 echo "Doing mostlyclean in gcc" ; \
12267 (cd $(HOST_SUBDIR)/gcc && \
12268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12270 "RANLIB=$${RANLIB}" \
12271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12272 mostlyclean) \
12273 || exit 1
12275 @endif gcc
12277 .PHONY: maybe-clean-gcc clean-gcc
12278 maybe-clean-gcc:
12279 @if gcc
12280 maybe-clean-gcc: clean-gcc
12282 clean-gcc:
12283 @[ -f ./gcc/Makefile ] || exit 0; \
12284 r=`${PWD_COMMAND}`; export r; \
12285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12286 $(HOST_EXPORTS) \
12287 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12289 done; \
12290 echo "Doing clean in gcc" ; \
12291 (cd $(HOST_SUBDIR)/gcc && \
12292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12294 "RANLIB=$${RANLIB}" \
12295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12296 clean) \
12297 || exit 1
12299 @endif gcc
12301 .PHONY: maybe-distclean-gcc distclean-gcc
12302 maybe-distclean-gcc:
12303 @if gcc
12304 maybe-distclean-gcc: distclean-gcc
12306 distclean-gcc:
12307 @[ -f ./gcc/Makefile ] || exit 0; \
12308 r=`${PWD_COMMAND}`; export r; \
12309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12310 $(HOST_EXPORTS) \
12311 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12313 done; \
12314 echo "Doing distclean in gcc" ; \
12315 (cd $(HOST_SUBDIR)/gcc && \
12316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12318 "RANLIB=$${RANLIB}" \
12319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12320 distclean) \
12321 || exit 1
12323 @endif gcc
12325 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12326 maybe-maintainer-clean-gcc:
12327 @if gcc
12328 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12330 maintainer-clean-gcc:
12331 @[ -f ./gcc/Makefile ] || exit 0; \
12332 r=`${PWD_COMMAND}`; export r; \
12333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12334 $(HOST_EXPORTS) \
12335 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12337 done; \
12338 echo "Doing maintainer-clean in gcc" ; \
12339 (cd $(HOST_SUBDIR)/gcc && \
12340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12342 "RANLIB=$${RANLIB}" \
12343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12344 maintainer-clean) \
12345 || exit 1
12347 @endif gcc
12351 .PHONY: configure-gawk maybe-configure-gawk
12352 maybe-configure-gawk:
12353 @if gawk
12354 maybe-configure-gawk: configure-gawk
12355 configure-gawk:
12356 @: $(MAKE); $(unstage)
12357 @r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
12360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
12361 $(HOST_EXPORTS) \
12362 echo Configuring in $(HOST_SUBDIR)/gawk; \
12363 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
12364 case $(srcdir) in \
12365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12366 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
12367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12368 esac; \
12369 srcdiroption="--srcdir=$${topdir}/gawk"; \
12370 libsrcdir="$$s/gawk"; \
12371 $(SHELL) $${libsrcdir}/configure \
12372 $(HOST_CONFIGARGS) $${srcdiroption} \
12373 || exit 1
12374 @endif gawk
12380 .PHONY: all-gawk maybe-all-gawk
12381 maybe-all-gawk:
12382 @if gawk
12383 TARGET-gawk=all
12384 maybe-all-gawk: all-gawk
12385 all-gawk: configure-gawk
12386 @: $(MAKE); $(unstage)
12387 @r=`${PWD_COMMAND}`; export r; \
12388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12389 $(HOST_EXPORTS) \
12390 (cd $(HOST_SUBDIR)/gawk && \
12391 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
12392 @endif gawk
12397 .PHONY: check-gawk maybe-check-gawk
12398 maybe-check-gawk:
12399 @if gawk
12400 maybe-check-gawk: check-gawk
12402 check-gawk:
12403 @: $(MAKE); $(unstage)
12404 @r=`${PWD_COMMAND}`; export r; \
12405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12406 $(HOST_EXPORTS) \
12407 (cd $(HOST_SUBDIR)/gawk && \
12408 $(MAKE) $(FLAGS_TO_PASS) check)
12410 @endif gawk
12412 .PHONY: install-gawk maybe-install-gawk
12413 maybe-install-gawk:
12414 @if gawk
12415 maybe-install-gawk: install-gawk
12417 install-gawk: installdirs
12418 @: $(MAKE); $(unstage)
12419 @r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 $(HOST_EXPORTS) \
12422 (cd $(HOST_SUBDIR)/gawk && \
12423 $(MAKE) $(FLAGS_TO_PASS) install)
12425 @endif gawk
12427 # Other targets (info, dvi, etc.)
12429 .PHONY: maybe-info-gawk info-gawk
12430 maybe-info-gawk:
12431 @if gawk
12432 maybe-info-gawk: info-gawk
12434 info-gawk: \
12435 configure-gawk
12436 @: $(MAKE); $(unstage)
12437 @[ -f ./gawk/Makefile ] || exit 0; \
12438 r=`${PWD_COMMAND}`; export r; \
12439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12440 $(HOST_EXPORTS) \
12441 for flag in $(EXTRA_HOST_FLAGS) ; do \
12442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12443 done; \
12444 echo "Doing info in gawk" ; \
12445 (cd $(HOST_SUBDIR)/gawk && \
12446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12448 "RANLIB=$${RANLIB}" \
12449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12450 info) \
12451 || exit 1
12453 @endif gawk
12455 .PHONY: maybe-dvi-gawk dvi-gawk
12456 maybe-dvi-gawk:
12457 @if gawk
12458 maybe-dvi-gawk: dvi-gawk
12460 dvi-gawk: \
12461 configure-gawk
12462 @: $(MAKE); $(unstage)
12463 @[ -f ./gawk/Makefile ] || exit 0; \
12464 r=`${PWD_COMMAND}`; export r; \
12465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12466 $(HOST_EXPORTS) \
12467 for flag in $(EXTRA_HOST_FLAGS) ; do \
12468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12469 done; \
12470 echo "Doing dvi in gawk" ; \
12471 (cd $(HOST_SUBDIR)/gawk && \
12472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12474 "RANLIB=$${RANLIB}" \
12475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12476 dvi) \
12477 || exit 1
12479 @endif gawk
12481 .PHONY: maybe-html-gawk html-gawk
12482 maybe-html-gawk:
12483 @if gawk
12484 maybe-html-gawk: html-gawk
12486 html-gawk: \
12487 configure-gawk
12488 @: $(MAKE); $(unstage)
12489 @[ -f ./gawk/Makefile ] || exit 0; \
12490 r=`${PWD_COMMAND}`; export r; \
12491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12492 $(HOST_EXPORTS) \
12493 for flag in $(EXTRA_HOST_FLAGS) ; do \
12494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12495 done; \
12496 echo "Doing html in gawk" ; \
12497 (cd $(HOST_SUBDIR)/gawk && \
12498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12500 "RANLIB=$${RANLIB}" \
12501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12502 html) \
12503 || exit 1
12505 @endif gawk
12507 .PHONY: maybe-TAGS-gawk TAGS-gawk
12508 maybe-TAGS-gawk:
12509 @if gawk
12510 maybe-TAGS-gawk: TAGS-gawk
12512 TAGS-gawk: \
12513 configure-gawk
12514 @: $(MAKE); $(unstage)
12515 @[ -f ./gawk/Makefile ] || exit 0; \
12516 r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 $(HOST_EXPORTS) \
12519 for flag in $(EXTRA_HOST_FLAGS) ; do \
12520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12521 done; \
12522 echo "Doing TAGS in gawk" ; \
12523 (cd $(HOST_SUBDIR)/gawk && \
12524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12526 "RANLIB=$${RANLIB}" \
12527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12528 TAGS) \
12529 || exit 1
12531 @endif gawk
12533 .PHONY: maybe-install-info-gawk install-info-gawk
12534 maybe-install-info-gawk:
12535 @if gawk
12536 maybe-install-info-gawk: install-info-gawk
12538 install-info-gawk: \
12539 configure-gawk \
12540 info-gawk
12541 @: $(MAKE); $(unstage)
12542 @[ -f ./gawk/Makefile ] || exit 0; \
12543 r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 $(HOST_EXPORTS) \
12546 for flag in $(EXTRA_HOST_FLAGS) ; do \
12547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 done; \
12549 echo "Doing install-info in gawk" ; \
12550 (cd $(HOST_SUBDIR)/gawk && \
12551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12553 "RANLIB=$${RANLIB}" \
12554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12555 install-info) \
12556 || exit 1
12558 @endif gawk
12560 .PHONY: maybe-install-html-gawk install-html-gawk
12561 maybe-install-html-gawk:
12562 @if gawk
12563 maybe-install-html-gawk: install-html-gawk
12565 install-html-gawk: \
12566 configure-gawk \
12567 html-gawk
12568 @: $(MAKE); $(unstage)
12569 @[ -f ./gawk/Makefile ] || exit 0; \
12570 r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 $(HOST_EXPORTS) \
12573 for flag in $(EXTRA_HOST_FLAGS) ; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 done; \
12576 echo "Doing install-html in gawk" ; \
12577 (cd $(HOST_SUBDIR)/gawk && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12582 install-html) \
12583 || exit 1
12585 @endif gawk
12587 .PHONY: maybe-installcheck-gawk installcheck-gawk
12588 maybe-installcheck-gawk:
12589 @if gawk
12590 maybe-installcheck-gawk: installcheck-gawk
12592 installcheck-gawk: \
12593 configure-gawk
12594 @: $(MAKE); $(unstage)
12595 @[ -f ./gawk/Makefile ] || exit 0; \
12596 r=`${PWD_COMMAND}`; export r; \
12597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12598 $(HOST_EXPORTS) \
12599 for flag in $(EXTRA_HOST_FLAGS) ; do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 done; \
12602 echo "Doing installcheck in gawk" ; \
12603 (cd $(HOST_SUBDIR)/gawk && \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12608 installcheck) \
12609 || exit 1
12611 @endif gawk
12613 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12614 maybe-mostlyclean-gawk:
12615 @if gawk
12616 maybe-mostlyclean-gawk: mostlyclean-gawk
12618 mostlyclean-gawk:
12619 @: $(MAKE); $(unstage)
12620 @[ -f ./gawk/Makefile ] || exit 0; \
12621 r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing mostlyclean in gawk" ; \
12628 (cd $(HOST_SUBDIR)/gawk && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633 mostlyclean) \
12634 || exit 1
12636 @endif gawk
12638 .PHONY: maybe-clean-gawk clean-gawk
12639 maybe-clean-gawk:
12640 @if gawk
12641 maybe-clean-gawk: clean-gawk
12643 clean-gawk:
12644 @: $(MAKE); $(unstage)
12645 @[ -f ./gawk/Makefile ] || exit 0; \
12646 r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 $(HOST_EXPORTS) \
12649 for flag in $(EXTRA_HOST_FLAGS) ; do \
12650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12651 done; \
12652 echo "Doing clean in gawk" ; \
12653 (cd $(HOST_SUBDIR)/gawk && \
12654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12656 "RANLIB=$${RANLIB}" \
12657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12658 clean) \
12659 || exit 1
12661 @endif gawk
12663 .PHONY: maybe-distclean-gawk distclean-gawk
12664 maybe-distclean-gawk:
12665 @if gawk
12666 maybe-distclean-gawk: distclean-gawk
12668 distclean-gawk:
12669 @: $(MAKE); $(unstage)
12670 @[ -f ./gawk/Makefile ] || exit 0; \
12671 r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12673 $(HOST_EXPORTS) \
12674 for flag in $(EXTRA_HOST_FLAGS) ; do \
12675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12676 done; \
12677 echo "Doing distclean in gawk" ; \
12678 (cd $(HOST_SUBDIR)/gawk && \
12679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12681 "RANLIB=$${RANLIB}" \
12682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12683 distclean) \
12684 || exit 1
12686 @endif gawk
12688 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12689 maybe-maintainer-clean-gawk:
12690 @if gawk
12691 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12693 maintainer-clean-gawk:
12694 @: $(MAKE); $(unstage)
12695 @[ -f ./gawk/Makefile ] || exit 0; \
12696 r=`${PWD_COMMAND}`; export r; \
12697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12698 $(HOST_EXPORTS) \
12699 for flag in $(EXTRA_HOST_FLAGS) ; do \
12700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12701 done; \
12702 echo "Doing maintainer-clean in gawk" ; \
12703 (cd $(HOST_SUBDIR)/gawk && \
12704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12706 "RANLIB=$${RANLIB}" \
12707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12708 maintainer-clean) \
12709 || exit 1
12711 @endif gawk
12715 .PHONY: configure-gettext maybe-configure-gettext
12716 maybe-configure-gettext:
12717 @if gettext
12718 maybe-configure-gettext: configure-gettext
12719 configure-gettext:
12720 @: $(MAKE); $(unstage)
12721 @r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12725 $(HOST_EXPORTS) \
12726 echo Configuring in $(HOST_SUBDIR)/gettext; \
12727 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12728 case $(srcdir) in \
12729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12730 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12732 esac; \
12733 srcdiroption="--srcdir=$${topdir}/gettext"; \
12734 libsrcdir="$$s/gettext"; \
12735 $(SHELL) $${libsrcdir}/configure \
12736 $(HOST_CONFIGARGS) $${srcdiroption} \
12737 || exit 1
12738 @endif gettext
12744 .PHONY: all-gettext maybe-all-gettext
12745 maybe-all-gettext:
12746 @if gettext
12747 TARGET-gettext=all
12748 maybe-all-gettext: all-gettext
12749 all-gettext: configure-gettext
12750 @: $(MAKE); $(unstage)
12751 @r=`${PWD_COMMAND}`; export r; \
12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12753 $(HOST_EXPORTS) \
12754 (cd $(HOST_SUBDIR)/gettext && \
12755 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12756 @endif gettext
12761 .PHONY: check-gettext maybe-check-gettext
12762 maybe-check-gettext:
12763 @if gettext
12764 maybe-check-gettext: check-gettext
12766 check-gettext:
12767 @: $(MAKE); $(unstage)
12768 @r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 $(HOST_EXPORTS) \
12771 (cd $(HOST_SUBDIR)/gettext && \
12772 $(MAKE) $(FLAGS_TO_PASS) check)
12774 @endif gettext
12776 .PHONY: install-gettext maybe-install-gettext
12777 maybe-install-gettext:
12778 @if gettext
12779 maybe-install-gettext: install-gettext
12781 install-gettext: installdirs
12782 @: $(MAKE); $(unstage)
12783 @r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 $(HOST_EXPORTS) \
12786 (cd $(HOST_SUBDIR)/gettext && \
12787 $(MAKE) $(FLAGS_TO_PASS) install)
12789 @endif gettext
12791 # Other targets (info, dvi, etc.)
12793 .PHONY: maybe-info-gettext info-gettext
12794 maybe-info-gettext:
12795 @if gettext
12796 maybe-info-gettext: info-gettext
12798 info-gettext: \
12799 configure-gettext
12800 @: $(MAKE); $(unstage)
12801 @[ -f ./gettext/Makefile ] || exit 0; \
12802 r=`${PWD_COMMAND}`; export r; \
12803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12804 $(HOST_EXPORTS) \
12805 for flag in $(EXTRA_HOST_FLAGS) ; do \
12806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12807 done; \
12808 echo "Doing info in gettext" ; \
12809 (cd $(HOST_SUBDIR)/gettext && \
12810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12812 "RANLIB=$${RANLIB}" \
12813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12814 info) \
12815 || exit 1
12817 @endif gettext
12819 .PHONY: maybe-dvi-gettext dvi-gettext
12820 maybe-dvi-gettext:
12821 @if gettext
12822 maybe-dvi-gettext: dvi-gettext
12824 dvi-gettext: \
12825 configure-gettext
12826 @: $(MAKE); $(unstage)
12827 @[ -f ./gettext/Makefile ] || exit 0; \
12828 r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(HOST_EXPORTS) \
12831 for flag in $(EXTRA_HOST_FLAGS) ; do \
12832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12833 done; \
12834 echo "Doing dvi in gettext" ; \
12835 (cd $(HOST_SUBDIR)/gettext && \
12836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12838 "RANLIB=$${RANLIB}" \
12839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12840 dvi) \
12841 || exit 1
12843 @endif gettext
12845 .PHONY: maybe-html-gettext html-gettext
12846 maybe-html-gettext:
12847 @if gettext
12848 maybe-html-gettext: html-gettext
12850 html-gettext: \
12851 configure-gettext
12852 @: $(MAKE); $(unstage)
12853 @[ -f ./gettext/Makefile ] || exit 0; \
12854 r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(HOST_EXPORTS) \
12857 for flag in $(EXTRA_HOST_FLAGS) ; do \
12858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12859 done; \
12860 echo "Doing html in gettext" ; \
12861 (cd $(HOST_SUBDIR)/gettext && \
12862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12864 "RANLIB=$${RANLIB}" \
12865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12866 html) \
12867 || exit 1
12869 @endif gettext
12871 .PHONY: maybe-TAGS-gettext TAGS-gettext
12872 maybe-TAGS-gettext:
12873 @if gettext
12874 maybe-TAGS-gettext: TAGS-gettext
12876 TAGS-gettext: \
12877 configure-gettext
12878 @: $(MAKE); $(unstage)
12879 @[ -f ./gettext/Makefile ] || exit 0; \
12880 r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 for flag in $(EXTRA_HOST_FLAGS) ; do \
12884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12885 done; \
12886 echo "Doing TAGS in gettext" ; \
12887 (cd $(HOST_SUBDIR)/gettext && \
12888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12890 "RANLIB=$${RANLIB}" \
12891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12892 TAGS) \
12893 || exit 1
12895 @endif gettext
12897 .PHONY: maybe-install-info-gettext install-info-gettext
12898 maybe-install-info-gettext:
12899 @if gettext
12900 maybe-install-info-gettext: install-info-gettext
12902 install-info-gettext: \
12903 configure-gettext \
12904 info-gettext
12905 @: $(MAKE); $(unstage)
12906 @[ -f ./gettext/Makefile ] || exit 0; \
12907 r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 $(HOST_EXPORTS) \
12910 for flag in $(EXTRA_HOST_FLAGS) ; do \
12911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12912 done; \
12913 echo "Doing install-info in gettext" ; \
12914 (cd $(HOST_SUBDIR)/gettext && \
12915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12917 "RANLIB=$${RANLIB}" \
12918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12919 install-info) \
12920 || exit 1
12922 @endif gettext
12924 .PHONY: maybe-install-html-gettext install-html-gettext
12925 maybe-install-html-gettext:
12926 @if gettext
12927 maybe-install-html-gettext: install-html-gettext
12929 install-html-gettext: \
12930 configure-gettext \
12931 html-gettext
12932 @: $(MAKE); $(unstage)
12933 @[ -f ./gettext/Makefile ] || exit 0; \
12934 r=`${PWD_COMMAND}`; export r; \
12935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12936 $(HOST_EXPORTS) \
12937 for flag in $(EXTRA_HOST_FLAGS) ; do \
12938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12939 done; \
12940 echo "Doing install-html in gettext" ; \
12941 (cd $(HOST_SUBDIR)/gettext && \
12942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12944 "RANLIB=$${RANLIB}" \
12945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12946 install-html) \
12947 || exit 1
12949 @endif gettext
12951 .PHONY: maybe-installcheck-gettext installcheck-gettext
12952 maybe-installcheck-gettext:
12953 @if gettext
12954 maybe-installcheck-gettext: installcheck-gettext
12956 installcheck-gettext: \
12957 configure-gettext
12958 @: $(MAKE); $(unstage)
12959 @[ -f ./gettext/Makefile ] || exit 0; \
12960 r=`${PWD_COMMAND}`; export r; \
12961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12962 $(HOST_EXPORTS) \
12963 for flag in $(EXTRA_HOST_FLAGS) ; do \
12964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12965 done; \
12966 echo "Doing installcheck in gettext" ; \
12967 (cd $(HOST_SUBDIR)/gettext && \
12968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12970 "RANLIB=$${RANLIB}" \
12971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12972 installcheck) \
12973 || exit 1
12975 @endif gettext
12977 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12978 maybe-mostlyclean-gettext:
12979 @if gettext
12980 maybe-mostlyclean-gettext: mostlyclean-gettext
12982 mostlyclean-gettext:
12983 @: $(MAKE); $(unstage)
12984 @[ -f ./gettext/Makefile ] || exit 0; \
12985 r=`${PWD_COMMAND}`; export r; \
12986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12987 $(HOST_EXPORTS) \
12988 for flag in $(EXTRA_HOST_FLAGS) ; do \
12989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12990 done; \
12991 echo "Doing mostlyclean in gettext" ; \
12992 (cd $(HOST_SUBDIR)/gettext && \
12993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12995 "RANLIB=$${RANLIB}" \
12996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12997 mostlyclean) \
12998 || exit 1
13000 @endif gettext
13002 .PHONY: maybe-clean-gettext clean-gettext
13003 maybe-clean-gettext:
13004 @if gettext
13005 maybe-clean-gettext: clean-gettext
13007 clean-gettext:
13008 @: $(MAKE); $(unstage)
13009 @[ -f ./gettext/Makefile ] || exit 0; \
13010 r=`${PWD_COMMAND}`; export r; \
13011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13012 $(HOST_EXPORTS) \
13013 for flag in $(EXTRA_HOST_FLAGS) ; do \
13014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13015 done; \
13016 echo "Doing clean in gettext" ; \
13017 (cd $(HOST_SUBDIR)/gettext && \
13018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13020 "RANLIB=$${RANLIB}" \
13021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13022 clean) \
13023 || exit 1
13025 @endif gettext
13027 .PHONY: maybe-distclean-gettext distclean-gettext
13028 maybe-distclean-gettext:
13029 @if gettext
13030 maybe-distclean-gettext: distclean-gettext
13032 distclean-gettext:
13033 @: $(MAKE); $(unstage)
13034 @[ -f ./gettext/Makefile ] || exit 0; \
13035 r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 $(HOST_EXPORTS) \
13038 for flag in $(EXTRA_HOST_FLAGS) ; do \
13039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13040 done; \
13041 echo "Doing distclean in gettext" ; \
13042 (cd $(HOST_SUBDIR)/gettext && \
13043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13045 "RANLIB=$${RANLIB}" \
13046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13047 distclean) \
13048 || exit 1
13050 @endif gettext
13052 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
13053 maybe-maintainer-clean-gettext:
13054 @if gettext
13055 maybe-maintainer-clean-gettext: maintainer-clean-gettext
13057 maintainer-clean-gettext:
13058 @: $(MAKE); $(unstage)
13059 @[ -f ./gettext/Makefile ] || exit 0; \
13060 r=`${PWD_COMMAND}`; export r; \
13061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13062 $(HOST_EXPORTS) \
13063 for flag in $(EXTRA_HOST_FLAGS) ; do \
13064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13065 done; \
13066 echo "Doing maintainer-clean in gettext" ; \
13067 (cd $(HOST_SUBDIR)/gettext && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13070 "RANLIB=$${RANLIB}" \
13071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13072 maintainer-clean) \
13073 || exit 1
13075 @endif gettext
13079 .PHONY: configure-gnuserv maybe-configure-gnuserv
13080 maybe-configure-gnuserv:
13081 @if gnuserv
13082 maybe-configure-gnuserv: configure-gnuserv
13083 configure-gnuserv:
13084 @: $(MAKE); $(unstage)
13085 @r=`${PWD_COMMAND}`; export r; \
13086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13087 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
13088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
13089 $(HOST_EXPORTS) \
13090 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
13091 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
13092 case $(srcdir) in \
13093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13094 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
13095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13096 esac; \
13097 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
13098 libsrcdir="$$s/gnuserv"; \
13099 $(SHELL) $${libsrcdir}/configure \
13100 $(HOST_CONFIGARGS) $${srcdiroption} \
13101 || exit 1
13102 @endif gnuserv
13108 .PHONY: all-gnuserv maybe-all-gnuserv
13109 maybe-all-gnuserv:
13110 @if gnuserv
13111 TARGET-gnuserv=all
13112 maybe-all-gnuserv: all-gnuserv
13113 all-gnuserv: configure-gnuserv
13114 @: $(MAKE); $(unstage)
13115 @r=`${PWD_COMMAND}`; export r; \
13116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13117 $(HOST_EXPORTS) \
13118 (cd $(HOST_SUBDIR)/gnuserv && \
13119 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
13120 @endif gnuserv
13125 .PHONY: check-gnuserv maybe-check-gnuserv
13126 maybe-check-gnuserv:
13127 @if gnuserv
13128 maybe-check-gnuserv: check-gnuserv
13130 check-gnuserv:
13131 @: $(MAKE); $(unstage)
13132 @r=`${PWD_COMMAND}`; export r; \
13133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13134 $(HOST_EXPORTS) \
13135 (cd $(HOST_SUBDIR)/gnuserv && \
13136 $(MAKE) $(FLAGS_TO_PASS) check)
13138 @endif gnuserv
13140 .PHONY: install-gnuserv maybe-install-gnuserv
13141 maybe-install-gnuserv:
13142 @if gnuserv
13143 maybe-install-gnuserv: install-gnuserv
13145 install-gnuserv: installdirs
13146 @: $(MAKE); $(unstage)
13147 @r=`${PWD_COMMAND}`; export r; \
13148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13149 $(HOST_EXPORTS) \
13150 (cd $(HOST_SUBDIR)/gnuserv && \
13151 $(MAKE) $(FLAGS_TO_PASS) install)
13153 @endif gnuserv
13155 # Other targets (info, dvi, etc.)
13157 .PHONY: maybe-info-gnuserv info-gnuserv
13158 maybe-info-gnuserv:
13159 @if gnuserv
13160 maybe-info-gnuserv: info-gnuserv
13162 info-gnuserv: \
13163 configure-gnuserv
13164 @: $(MAKE); $(unstage)
13165 @[ -f ./gnuserv/Makefile ] || exit 0; \
13166 r=`${PWD_COMMAND}`; export r; \
13167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13168 $(HOST_EXPORTS) \
13169 for flag in $(EXTRA_HOST_FLAGS) ; do \
13170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13171 done; \
13172 echo "Doing info in gnuserv" ; \
13173 (cd $(HOST_SUBDIR)/gnuserv && \
13174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13176 "RANLIB=$${RANLIB}" \
13177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13178 info) \
13179 || exit 1
13181 @endif gnuserv
13183 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
13184 maybe-dvi-gnuserv:
13185 @if gnuserv
13186 maybe-dvi-gnuserv: dvi-gnuserv
13188 dvi-gnuserv: \
13189 configure-gnuserv
13190 @: $(MAKE); $(unstage)
13191 @[ -f ./gnuserv/Makefile ] || exit 0; \
13192 r=`${PWD_COMMAND}`; export r; \
13193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13194 $(HOST_EXPORTS) \
13195 for flag in $(EXTRA_HOST_FLAGS) ; do \
13196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13197 done; \
13198 echo "Doing dvi in gnuserv" ; \
13199 (cd $(HOST_SUBDIR)/gnuserv && \
13200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13202 "RANLIB=$${RANLIB}" \
13203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13204 dvi) \
13205 || exit 1
13207 @endif gnuserv
13209 .PHONY: maybe-html-gnuserv html-gnuserv
13210 maybe-html-gnuserv:
13211 @if gnuserv
13212 maybe-html-gnuserv: html-gnuserv
13214 html-gnuserv: \
13215 configure-gnuserv
13216 @: $(MAKE); $(unstage)
13217 @[ -f ./gnuserv/Makefile ] || exit 0; \
13218 r=`${PWD_COMMAND}`; export r; \
13219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13220 $(HOST_EXPORTS) \
13221 for flag in $(EXTRA_HOST_FLAGS) ; do \
13222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13223 done; \
13224 echo "Doing html in gnuserv" ; \
13225 (cd $(HOST_SUBDIR)/gnuserv && \
13226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13228 "RANLIB=$${RANLIB}" \
13229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13230 html) \
13231 || exit 1
13233 @endif gnuserv
13235 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
13236 maybe-TAGS-gnuserv:
13237 @if gnuserv
13238 maybe-TAGS-gnuserv: TAGS-gnuserv
13240 TAGS-gnuserv: \
13241 configure-gnuserv
13242 @: $(MAKE); $(unstage)
13243 @[ -f ./gnuserv/Makefile ] || exit 0; \
13244 r=`${PWD_COMMAND}`; export r; \
13245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13246 $(HOST_EXPORTS) \
13247 for flag in $(EXTRA_HOST_FLAGS) ; do \
13248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13249 done; \
13250 echo "Doing TAGS in gnuserv" ; \
13251 (cd $(HOST_SUBDIR)/gnuserv && \
13252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13254 "RANLIB=$${RANLIB}" \
13255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13256 TAGS) \
13257 || exit 1
13259 @endif gnuserv
13261 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
13262 maybe-install-info-gnuserv:
13263 @if gnuserv
13264 maybe-install-info-gnuserv: install-info-gnuserv
13266 install-info-gnuserv: \
13267 configure-gnuserv \
13268 info-gnuserv
13269 @: $(MAKE); $(unstage)
13270 @[ -f ./gnuserv/Makefile ] || exit 0; \
13271 r=`${PWD_COMMAND}`; export r; \
13272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13273 $(HOST_EXPORTS) \
13274 for flag in $(EXTRA_HOST_FLAGS) ; do \
13275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13276 done; \
13277 echo "Doing install-info in gnuserv" ; \
13278 (cd $(HOST_SUBDIR)/gnuserv && \
13279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13281 "RANLIB=$${RANLIB}" \
13282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13283 install-info) \
13284 || exit 1
13286 @endif gnuserv
13288 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
13289 maybe-install-html-gnuserv:
13290 @if gnuserv
13291 maybe-install-html-gnuserv: install-html-gnuserv
13293 install-html-gnuserv: \
13294 configure-gnuserv \
13295 html-gnuserv
13296 @: $(MAKE); $(unstage)
13297 @[ -f ./gnuserv/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 $(HOST_EXPORTS) \
13301 for flag in $(EXTRA_HOST_FLAGS) ; do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13303 done; \
13304 echo "Doing install-html in gnuserv" ; \
13305 (cd $(HOST_SUBDIR)/gnuserv && \
13306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308 "RANLIB=$${RANLIB}" \
13309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13310 install-html) \
13311 || exit 1
13313 @endif gnuserv
13315 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
13316 maybe-installcheck-gnuserv:
13317 @if gnuserv
13318 maybe-installcheck-gnuserv: installcheck-gnuserv
13320 installcheck-gnuserv: \
13321 configure-gnuserv
13322 @: $(MAKE); $(unstage)
13323 @[ -f ./gnuserv/Makefile ] || exit 0; \
13324 r=`${PWD_COMMAND}`; export r; \
13325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13326 $(HOST_EXPORTS) \
13327 for flag in $(EXTRA_HOST_FLAGS) ; do \
13328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13329 done; \
13330 echo "Doing installcheck in gnuserv" ; \
13331 (cd $(HOST_SUBDIR)/gnuserv && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13334 "RANLIB=$${RANLIB}" \
13335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13336 installcheck) \
13337 || exit 1
13339 @endif gnuserv
13341 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
13342 maybe-mostlyclean-gnuserv:
13343 @if gnuserv
13344 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
13346 mostlyclean-gnuserv:
13347 @: $(MAKE); $(unstage)
13348 @[ -f ./gnuserv/Makefile ] || exit 0; \
13349 r=`${PWD_COMMAND}`; export r; \
13350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351 $(HOST_EXPORTS) \
13352 for flag in $(EXTRA_HOST_FLAGS) ; do \
13353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13354 done; \
13355 echo "Doing mostlyclean in gnuserv" ; \
13356 (cd $(HOST_SUBDIR)/gnuserv && \
13357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13359 "RANLIB=$${RANLIB}" \
13360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13361 mostlyclean) \
13362 || exit 1
13364 @endif gnuserv
13366 .PHONY: maybe-clean-gnuserv clean-gnuserv
13367 maybe-clean-gnuserv:
13368 @if gnuserv
13369 maybe-clean-gnuserv: clean-gnuserv
13371 clean-gnuserv:
13372 @: $(MAKE); $(unstage)
13373 @[ -f ./gnuserv/Makefile ] || exit 0; \
13374 r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 $(HOST_EXPORTS) \
13377 for flag in $(EXTRA_HOST_FLAGS) ; do \
13378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13379 done; \
13380 echo "Doing clean in gnuserv" ; \
13381 (cd $(HOST_SUBDIR)/gnuserv && \
13382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13384 "RANLIB=$${RANLIB}" \
13385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13386 clean) \
13387 || exit 1
13389 @endif gnuserv
13391 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
13392 maybe-distclean-gnuserv:
13393 @if gnuserv
13394 maybe-distclean-gnuserv: distclean-gnuserv
13396 distclean-gnuserv:
13397 @: $(MAKE); $(unstage)
13398 @[ -f ./gnuserv/Makefile ] || exit 0; \
13399 r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13401 $(HOST_EXPORTS) \
13402 for flag in $(EXTRA_HOST_FLAGS) ; do \
13403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13404 done; \
13405 echo "Doing distclean in gnuserv" ; \
13406 (cd $(HOST_SUBDIR)/gnuserv && \
13407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13409 "RANLIB=$${RANLIB}" \
13410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13411 distclean) \
13412 || exit 1
13414 @endif gnuserv
13416 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
13417 maybe-maintainer-clean-gnuserv:
13418 @if gnuserv
13419 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
13421 maintainer-clean-gnuserv:
13422 @: $(MAKE); $(unstage)
13423 @[ -f ./gnuserv/Makefile ] || exit 0; \
13424 r=`${PWD_COMMAND}`; export r; \
13425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13426 $(HOST_EXPORTS) \
13427 for flag in $(EXTRA_HOST_FLAGS) ; do \
13428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13429 done; \
13430 echo "Doing maintainer-clean in gnuserv" ; \
13431 (cd $(HOST_SUBDIR)/gnuserv && \
13432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13434 "RANLIB=$${RANLIB}" \
13435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13436 maintainer-clean) \
13437 || exit 1
13439 @endif gnuserv
13443 .PHONY: configure-gprof maybe-configure-gprof
13444 maybe-configure-gprof:
13445 @if gprof
13446 maybe-configure-gprof: configure-gprof
13447 configure-gprof:
13448 @: $(MAKE); $(unstage)
13449 @r=`${PWD_COMMAND}`; export r; \
13450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
13452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
13453 $(HOST_EXPORTS) \
13454 echo Configuring in $(HOST_SUBDIR)/gprof; \
13455 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
13456 case $(srcdir) in \
13457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13458 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
13459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13460 esac; \
13461 srcdiroption="--srcdir=$${topdir}/gprof"; \
13462 libsrcdir="$$s/gprof"; \
13463 $(SHELL) $${libsrcdir}/configure \
13464 $(HOST_CONFIGARGS) $${srcdiroption} \
13465 || exit 1
13466 @endif gprof
13472 .PHONY: all-gprof maybe-all-gprof
13473 maybe-all-gprof:
13474 @if gprof
13475 TARGET-gprof=all
13476 maybe-all-gprof: all-gprof
13477 all-gprof: configure-gprof
13478 @: $(MAKE); $(unstage)
13479 @r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(HOST_EXPORTS) \
13482 (cd $(HOST_SUBDIR)/gprof && \
13483 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
13484 @endif gprof
13489 .PHONY: check-gprof maybe-check-gprof
13490 maybe-check-gprof:
13491 @if gprof
13492 maybe-check-gprof: check-gprof
13494 check-gprof:
13495 @: $(MAKE); $(unstage)
13496 @r=`${PWD_COMMAND}`; export r; \
13497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13498 $(HOST_EXPORTS) \
13499 (cd $(HOST_SUBDIR)/gprof && \
13500 $(MAKE) $(FLAGS_TO_PASS) check)
13502 @endif gprof
13504 .PHONY: install-gprof maybe-install-gprof
13505 maybe-install-gprof:
13506 @if gprof
13507 maybe-install-gprof: install-gprof
13509 install-gprof: installdirs
13510 @: $(MAKE); $(unstage)
13511 @r=`${PWD_COMMAND}`; export r; \
13512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13513 $(HOST_EXPORTS) \
13514 (cd $(HOST_SUBDIR)/gprof && \
13515 $(MAKE) $(FLAGS_TO_PASS) install)
13517 @endif gprof
13519 # Other targets (info, dvi, etc.)
13521 .PHONY: maybe-info-gprof info-gprof
13522 maybe-info-gprof:
13523 @if gprof
13524 maybe-info-gprof: info-gprof
13526 info-gprof: \
13527 configure-gprof
13528 @: $(MAKE); $(unstage)
13529 @[ -f ./gprof/Makefile ] || exit 0; \
13530 r=`${PWD_COMMAND}`; export r; \
13531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13532 $(HOST_EXPORTS) \
13533 for flag in $(EXTRA_HOST_FLAGS) ; do \
13534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13535 done; \
13536 echo "Doing info in gprof" ; \
13537 (cd $(HOST_SUBDIR)/gprof && \
13538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13540 "RANLIB=$${RANLIB}" \
13541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13542 info) \
13543 || exit 1
13545 @endif gprof
13547 .PHONY: maybe-dvi-gprof dvi-gprof
13548 maybe-dvi-gprof:
13549 @if gprof
13550 maybe-dvi-gprof: dvi-gprof
13552 dvi-gprof: \
13553 configure-gprof
13554 @: $(MAKE); $(unstage)
13555 @[ -f ./gprof/Makefile ] || exit 0; \
13556 r=`${PWD_COMMAND}`; export r; \
13557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13558 $(HOST_EXPORTS) \
13559 for flag in $(EXTRA_HOST_FLAGS) ; do \
13560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 done; \
13562 echo "Doing dvi in gprof" ; \
13563 (cd $(HOST_SUBDIR)/gprof && \
13564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13566 "RANLIB=$${RANLIB}" \
13567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13568 dvi) \
13569 || exit 1
13571 @endif gprof
13573 .PHONY: maybe-html-gprof html-gprof
13574 maybe-html-gprof:
13575 @if gprof
13576 maybe-html-gprof: html-gprof
13578 html-gprof: \
13579 configure-gprof
13580 @: $(MAKE); $(unstage)
13581 @[ -f ./gprof/Makefile ] || exit 0; \
13582 r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584 $(HOST_EXPORTS) \
13585 for flag in $(EXTRA_HOST_FLAGS) ; do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 echo "Doing html in gprof" ; \
13589 (cd $(HOST_SUBDIR)/gprof && \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13594 html) \
13595 || exit 1
13597 @endif gprof
13599 .PHONY: maybe-TAGS-gprof TAGS-gprof
13600 maybe-TAGS-gprof:
13601 @if gprof
13602 maybe-TAGS-gprof: TAGS-gprof
13604 TAGS-gprof: \
13605 configure-gprof
13606 @: $(MAKE); $(unstage)
13607 @[ -f ./gprof/Makefile ] || exit 0; \
13608 r=`${PWD_COMMAND}`; export r; \
13609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13610 $(HOST_EXPORTS) \
13611 for flag in $(EXTRA_HOST_FLAGS) ; do \
13612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13613 done; \
13614 echo "Doing TAGS in gprof" ; \
13615 (cd $(HOST_SUBDIR)/gprof && \
13616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13618 "RANLIB=$${RANLIB}" \
13619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13620 TAGS) \
13621 || exit 1
13623 @endif gprof
13625 .PHONY: maybe-install-info-gprof install-info-gprof
13626 maybe-install-info-gprof:
13627 @if gprof
13628 maybe-install-info-gprof: install-info-gprof
13630 install-info-gprof: \
13631 configure-gprof \
13632 info-gprof
13633 @: $(MAKE); $(unstage)
13634 @[ -f ./gprof/Makefile ] || exit 0; \
13635 r=`${PWD_COMMAND}`; export r; \
13636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13637 $(HOST_EXPORTS) \
13638 for flag in $(EXTRA_HOST_FLAGS) ; do \
13639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13640 done; \
13641 echo "Doing install-info in gprof" ; \
13642 (cd $(HOST_SUBDIR)/gprof && \
13643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13645 "RANLIB=$${RANLIB}" \
13646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13647 install-info) \
13648 || exit 1
13650 @endif gprof
13652 .PHONY: maybe-install-html-gprof install-html-gprof
13653 maybe-install-html-gprof:
13654 @if gprof
13655 maybe-install-html-gprof: install-html-gprof
13657 install-html-gprof: \
13658 configure-gprof \
13659 html-gprof
13660 @: $(MAKE); $(unstage)
13661 @[ -f ./gprof/Makefile ] || exit 0; \
13662 r=`${PWD_COMMAND}`; export r; \
13663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13664 $(HOST_EXPORTS) \
13665 for flag in $(EXTRA_HOST_FLAGS) ; do \
13666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13667 done; \
13668 echo "Doing install-html in gprof" ; \
13669 (cd $(HOST_SUBDIR)/gprof && \
13670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13672 "RANLIB=$${RANLIB}" \
13673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13674 install-html) \
13675 || exit 1
13677 @endif gprof
13679 .PHONY: maybe-installcheck-gprof installcheck-gprof
13680 maybe-installcheck-gprof:
13681 @if gprof
13682 maybe-installcheck-gprof: installcheck-gprof
13684 installcheck-gprof: \
13685 configure-gprof
13686 @: $(MAKE); $(unstage)
13687 @[ -f ./gprof/Makefile ] || exit 0; \
13688 r=`${PWD_COMMAND}`; export r; \
13689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13690 $(HOST_EXPORTS) \
13691 for flag in $(EXTRA_HOST_FLAGS) ; do \
13692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13693 done; \
13694 echo "Doing installcheck in gprof" ; \
13695 (cd $(HOST_SUBDIR)/gprof && \
13696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13698 "RANLIB=$${RANLIB}" \
13699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13700 installcheck) \
13701 || exit 1
13703 @endif gprof
13705 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13706 maybe-mostlyclean-gprof:
13707 @if gprof
13708 maybe-mostlyclean-gprof: mostlyclean-gprof
13710 mostlyclean-gprof:
13711 @: $(MAKE); $(unstage)
13712 @[ -f ./gprof/Makefile ] || exit 0; \
13713 r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 $(HOST_EXPORTS) \
13716 for flag in $(EXTRA_HOST_FLAGS) ; do \
13717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13718 done; \
13719 echo "Doing mostlyclean in gprof" ; \
13720 (cd $(HOST_SUBDIR)/gprof && \
13721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13723 "RANLIB=$${RANLIB}" \
13724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13725 mostlyclean) \
13726 || exit 1
13728 @endif gprof
13730 .PHONY: maybe-clean-gprof clean-gprof
13731 maybe-clean-gprof:
13732 @if gprof
13733 maybe-clean-gprof: clean-gprof
13735 clean-gprof:
13736 @: $(MAKE); $(unstage)
13737 @[ -f ./gprof/Makefile ] || exit 0; \
13738 r=`${PWD_COMMAND}`; export r; \
13739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13740 $(HOST_EXPORTS) \
13741 for flag in $(EXTRA_HOST_FLAGS) ; do \
13742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13743 done; \
13744 echo "Doing clean in gprof" ; \
13745 (cd $(HOST_SUBDIR)/gprof && \
13746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13748 "RANLIB=$${RANLIB}" \
13749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13750 clean) \
13751 || exit 1
13753 @endif gprof
13755 .PHONY: maybe-distclean-gprof distclean-gprof
13756 maybe-distclean-gprof:
13757 @if gprof
13758 maybe-distclean-gprof: distclean-gprof
13760 distclean-gprof:
13761 @: $(MAKE); $(unstage)
13762 @[ -f ./gprof/Makefile ] || exit 0; \
13763 r=`${PWD_COMMAND}`; export r; \
13764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13765 $(HOST_EXPORTS) \
13766 for flag in $(EXTRA_HOST_FLAGS) ; do \
13767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13768 done; \
13769 echo "Doing distclean in gprof" ; \
13770 (cd $(HOST_SUBDIR)/gprof && \
13771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13773 "RANLIB=$${RANLIB}" \
13774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13775 distclean) \
13776 || exit 1
13778 @endif gprof
13780 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13781 maybe-maintainer-clean-gprof:
13782 @if gprof
13783 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13785 maintainer-clean-gprof:
13786 @: $(MAKE); $(unstage)
13787 @[ -f ./gprof/Makefile ] || exit 0; \
13788 r=`${PWD_COMMAND}`; export r; \
13789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13790 $(HOST_EXPORTS) \
13791 for flag in $(EXTRA_HOST_FLAGS) ; do \
13792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13793 done; \
13794 echo "Doing maintainer-clean in gprof" ; \
13795 (cd $(HOST_SUBDIR)/gprof && \
13796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13798 "RANLIB=$${RANLIB}" \
13799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13800 maintainer-clean) \
13801 || exit 1
13803 @endif gprof
13807 .PHONY: configure-gzip maybe-configure-gzip
13808 maybe-configure-gzip:
13809 @if gzip
13810 maybe-configure-gzip: configure-gzip
13811 configure-gzip:
13812 @: $(MAKE); $(unstage)
13813 @r=`${PWD_COMMAND}`; export r; \
13814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13815 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13817 $(HOST_EXPORTS) \
13818 echo Configuring in $(HOST_SUBDIR)/gzip; \
13819 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13820 case $(srcdir) in \
13821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13822 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13824 esac; \
13825 srcdiroption="--srcdir=$${topdir}/gzip"; \
13826 libsrcdir="$$s/gzip"; \
13827 $(SHELL) $${libsrcdir}/configure \
13828 $(HOST_CONFIGARGS) $${srcdiroption} \
13829 || exit 1
13830 @endif gzip
13836 .PHONY: all-gzip maybe-all-gzip
13837 maybe-all-gzip:
13838 @if gzip
13839 TARGET-gzip=all
13840 maybe-all-gzip: all-gzip
13841 all-gzip: configure-gzip
13842 @: $(MAKE); $(unstage)
13843 @r=`${PWD_COMMAND}`; export r; \
13844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13845 $(HOST_EXPORTS) \
13846 (cd $(HOST_SUBDIR)/gzip && \
13847 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13848 @endif gzip
13853 .PHONY: check-gzip maybe-check-gzip
13854 maybe-check-gzip:
13855 @if gzip
13856 maybe-check-gzip: check-gzip
13858 check-gzip:
13859 @: $(MAKE); $(unstage)
13860 @r=`${PWD_COMMAND}`; export r; \
13861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13862 $(HOST_EXPORTS) \
13863 (cd $(HOST_SUBDIR)/gzip && \
13864 $(MAKE) $(FLAGS_TO_PASS) check)
13866 @endif gzip
13868 .PHONY: install-gzip maybe-install-gzip
13869 maybe-install-gzip:
13870 @if gzip
13871 maybe-install-gzip: install-gzip
13873 install-gzip: installdirs
13874 @: $(MAKE); $(unstage)
13875 @r=`${PWD_COMMAND}`; export r; \
13876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13877 $(HOST_EXPORTS) \
13878 (cd $(HOST_SUBDIR)/gzip && \
13879 $(MAKE) $(FLAGS_TO_PASS) install)
13881 @endif gzip
13883 # Other targets (info, dvi, etc.)
13885 .PHONY: maybe-info-gzip info-gzip
13886 maybe-info-gzip:
13887 @if gzip
13888 maybe-info-gzip: info-gzip
13890 info-gzip: \
13891 configure-gzip
13892 @: $(MAKE); $(unstage)
13893 @[ -f ./gzip/Makefile ] || exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896 $(HOST_EXPORTS) \
13897 for flag in $(EXTRA_HOST_FLAGS) ; do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13899 done; \
13900 echo "Doing info in gzip" ; \
13901 (cd $(HOST_SUBDIR)/gzip && \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904 "RANLIB=$${RANLIB}" \
13905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13906 info) \
13907 || exit 1
13909 @endif gzip
13911 .PHONY: maybe-dvi-gzip dvi-gzip
13912 maybe-dvi-gzip:
13913 @if gzip
13914 maybe-dvi-gzip: dvi-gzip
13916 dvi-gzip: \
13917 configure-gzip
13918 @: $(MAKE); $(unstage)
13919 @[ -f ./gzip/Makefile ] || exit 0; \
13920 r=`${PWD_COMMAND}`; export r; \
13921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13922 $(HOST_EXPORTS) \
13923 for flag in $(EXTRA_HOST_FLAGS) ; do \
13924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13925 done; \
13926 echo "Doing dvi in gzip" ; \
13927 (cd $(HOST_SUBDIR)/gzip && \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13930 "RANLIB=$${RANLIB}" \
13931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13932 dvi) \
13933 || exit 1
13935 @endif gzip
13937 .PHONY: maybe-html-gzip html-gzip
13938 maybe-html-gzip:
13939 @if gzip
13940 maybe-html-gzip: html-gzip
13942 html-gzip: \
13943 configure-gzip
13944 @: $(MAKE); $(unstage)
13945 @[ -f ./gzip/Makefile ] || exit 0; \
13946 r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13948 $(HOST_EXPORTS) \
13949 for flag in $(EXTRA_HOST_FLAGS) ; do \
13950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13951 done; \
13952 echo "Doing html in gzip" ; \
13953 (cd $(HOST_SUBDIR)/gzip && \
13954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13956 "RANLIB=$${RANLIB}" \
13957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13958 html) \
13959 || exit 1
13961 @endif gzip
13963 .PHONY: maybe-TAGS-gzip TAGS-gzip
13964 maybe-TAGS-gzip:
13965 @if gzip
13966 maybe-TAGS-gzip: TAGS-gzip
13968 TAGS-gzip: \
13969 configure-gzip
13970 @: $(MAKE); $(unstage)
13971 @[ -f ./gzip/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 $(HOST_EXPORTS) \
13975 for flag in $(EXTRA_HOST_FLAGS) ; do \
13976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13977 done; \
13978 echo "Doing TAGS in gzip" ; \
13979 (cd $(HOST_SUBDIR)/gzip && \
13980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13982 "RANLIB=$${RANLIB}" \
13983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13984 TAGS) \
13985 || exit 1
13987 @endif gzip
13989 .PHONY: maybe-install-info-gzip install-info-gzip
13990 maybe-install-info-gzip:
13991 @if gzip
13992 maybe-install-info-gzip: install-info-gzip
13994 install-info-gzip: \
13995 configure-gzip \
13996 info-gzip
13997 @: $(MAKE); $(unstage)
13998 @[ -f ./gzip/Makefile ] || exit 0; \
13999 r=`${PWD_COMMAND}`; export r; \
14000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 $(HOST_EXPORTS) \
14002 for flag in $(EXTRA_HOST_FLAGS) ; do \
14003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14004 done; \
14005 echo "Doing install-info in gzip" ; \
14006 (cd $(HOST_SUBDIR)/gzip && \
14007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14009 "RANLIB=$${RANLIB}" \
14010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14011 install-info) \
14012 || exit 1
14014 @endif gzip
14016 .PHONY: maybe-install-html-gzip install-html-gzip
14017 maybe-install-html-gzip:
14018 @if gzip
14019 maybe-install-html-gzip: install-html-gzip
14021 install-html-gzip: \
14022 configure-gzip \
14023 html-gzip
14024 @: $(MAKE); $(unstage)
14025 @[ -f ./gzip/Makefile ] || exit 0; \
14026 r=`${PWD_COMMAND}`; export r; \
14027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14028 $(HOST_EXPORTS) \
14029 for flag in $(EXTRA_HOST_FLAGS) ; do \
14030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14031 done; \
14032 echo "Doing install-html in gzip" ; \
14033 (cd $(HOST_SUBDIR)/gzip && \
14034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14036 "RANLIB=$${RANLIB}" \
14037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14038 install-html) \
14039 || exit 1
14041 @endif gzip
14043 .PHONY: maybe-installcheck-gzip installcheck-gzip
14044 maybe-installcheck-gzip:
14045 @if gzip
14046 maybe-installcheck-gzip: installcheck-gzip
14048 installcheck-gzip: \
14049 configure-gzip
14050 @: $(MAKE); $(unstage)
14051 @[ -f ./gzip/Makefile ] || exit 0; \
14052 r=`${PWD_COMMAND}`; export r; \
14053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14054 $(HOST_EXPORTS) \
14055 for flag in $(EXTRA_HOST_FLAGS) ; do \
14056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14057 done; \
14058 echo "Doing installcheck in gzip" ; \
14059 (cd $(HOST_SUBDIR)/gzip && \
14060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14062 "RANLIB=$${RANLIB}" \
14063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14064 installcheck) \
14065 || exit 1
14067 @endif gzip
14069 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
14070 maybe-mostlyclean-gzip:
14071 @if gzip
14072 maybe-mostlyclean-gzip: mostlyclean-gzip
14074 mostlyclean-gzip:
14075 @: $(MAKE); $(unstage)
14076 @[ -f ./gzip/Makefile ] || exit 0; \
14077 r=`${PWD_COMMAND}`; export r; \
14078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14079 $(HOST_EXPORTS) \
14080 for flag in $(EXTRA_HOST_FLAGS) ; do \
14081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14082 done; \
14083 echo "Doing mostlyclean in gzip" ; \
14084 (cd $(HOST_SUBDIR)/gzip && \
14085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14087 "RANLIB=$${RANLIB}" \
14088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14089 mostlyclean) \
14090 || exit 1
14092 @endif gzip
14094 .PHONY: maybe-clean-gzip clean-gzip
14095 maybe-clean-gzip:
14096 @if gzip
14097 maybe-clean-gzip: clean-gzip
14099 clean-gzip:
14100 @: $(MAKE); $(unstage)
14101 @[ -f ./gzip/Makefile ] || exit 0; \
14102 r=`${PWD_COMMAND}`; export r; \
14103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14104 $(HOST_EXPORTS) \
14105 for flag in $(EXTRA_HOST_FLAGS) ; do \
14106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14107 done; \
14108 echo "Doing clean in gzip" ; \
14109 (cd $(HOST_SUBDIR)/gzip && \
14110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14112 "RANLIB=$${RANLIB}" \
14113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14114 clean) \
14115 || exit 1
14117 @endif gzip
14119 .PHONY: maybe-distclean-gzip distclean-gzip
14120 maybe-distclean-gzip:
14121 @if gzip
14122 maybe-distclean-gzip: distclean-gzip
14124 distclean-gzip:
14125 @: $(MAKE); $(unstage)
14126 @[ -f ./gzip/Makefile ] || exit 0; \
14127 r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(HOST_EXPORTS) \
14130 for flag in $(EXTRA_HOST_FLAGS) ; do \
14131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14132 done; \
14133 echo "Doing distclean in gzip" ; \
14134 (cd $(HOST_SUBDIR)/gzip && \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14137 "RANLIB=$${RANLIB}" \
14138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14139 distclean) \
14140 || exit 1
14142 @endif gzip
14144 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
14145 maybe-maintainer-clean-gzip:
14146 @if gzip
14147 maybe-maintainer-clean-gzip: maintainer-clean-gzip
14149 maintainer-clean-gzip:
14150 @: $(MAKE); $(unstage)
14151 @[ -f ./gzip/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 $(HOST_EXPORTS) \
14155 for flag in $(EXTRA_HOST_FLAGS) ; do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing maintainer-clean in gzip" ; \
14159 (cd $(HOST_SUBDIR)/gzip && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14164 maintainer-clean) \
14165 || exit 1
14167 @endif gzip
14171 .PHONY: configure-hello maybe-configure-hello
14172 maybe-configure-hello:
14173 @if hello
14174 maybe-configure-hello: configure-hello
14175 configure-hello:
14176 @: $(MAKE); $(unstage)
14177 @r=`${PWD_COMMAND}`; export r; \
14178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14179 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
14180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
14181 $(HOST_EXPORTS) \
14182 echo Configuring in $(HOST_SUBDIR)/hello; \
14183 cd "$(HOST_SUBDIR)/hello" || exit 1; \
14184 case $(srcdir) in \
14185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14186 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
14187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14188 esac; \
14189 srcdiroption="--srcdir=$${topdir}/hello"; \
14190 libsrcdir="$$s/hello"; \
14191 $(SHELL) $${libsrcdir}/configure \
14192 $(HOST_CONFIGARGS) $${srcdiroption} \
14193 || exit 1
14194 @endif hello
14200 .PHONY: all-hello maybe-all-hello
14201 maybe-all-hello:
14202 @if hello
14203 TARGET-hello=all
14204 maybe-all-hello: all-hello
14205 all-hello: configure-hello
14206 @: $(MAKE); $(unstage)
14207 @r=`${PWD_COMMAND}`; export r; \
14208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14209 $(HOST_EXPORTS) \
14210 (cd $(HOST_SUBDIR)/hello && \
14211 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
14212 @endif hello
14217 .PHONY: check-hello maybe-check-hello
14218 maybe-check-hello:
14219 @if hello
14220 maybe-check-hello: check-hello
14222 check-hello:
14223 @: $(MAKE); $(unstage)
14224 @r=`${PWD_COMMAND}`; export r; \
14225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14226 $(HOST_EXPORTS) \
14227 (cd $(HOST_SUBDIR)/hello && \
14228 $(MAKE) $(FLAGS_TO_PASS) check)
14230 @endif hello
14232 .PHONY: install-hello maybe-install-hello
14233 maybe-install-hello:
14234 @if hello
14235 maybe-install-hello: install-hello
14237 install-hello: installdirs
14238 @: $(MAKE); $(unstage)
14239 @r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241 $(HOST_EXPORTS) \
14242 (cd $(HOST_SUBDIR)/hello && \
14243 $(MAKE) $(FLAGS_TO_PASS) install)
14245 @endif hello
14247 # Other targets (info, dvi, etc.)
14249 .PHONY: maybe-info-hello info-hello
14250 maybe-info-hello:
14251 @if hello
14252 maybe-info-hello: info-hello
14254 info-hello: \
14255 configure-hello
14256 @: $(MAKE); $(unstage)
14257 @[ -f ./hello/Makefile ] || exit 0; \
14258 r=`${PWD_COMMAND}`; export r; \
14259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14260 $(HOST_EXPORTS) \
14261 for flag in $(EXTRA_HOST_FLAGS) ; do \
14262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14263 done; \
14264 echo "Doing info in hello" ; \
14265 (cd $(HOST_SUBDIR)/hello && \
14266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14268 "RANLIB=$${RANLIB}" \
14269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14270 info) \
14271 || exit 1
14273 @endif hello
14275 .PHONY: maybe-dvi-hello dvi-hello
14276 maybe-dvi-hello:
14277 @if hello
14278 maybe-dvi-hello: dvi-hello
14280 dvi-hello: \
14281 configure-hello
14282 @: $(MAKE); $(unstage)
14283 @[ -f ./hello/Makefile ] || exit 0; \
14284 r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(HOST_EXPORTS) \
14287 for flag in $(EXTRA_HOST_FLAGS) ; do \
14288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14289 done; \
14290 echo "Doing dvi in hello" ; \
14291 (cd $(HOST_SUBDIR)/hello && \
14292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14294 "RANLIB=$${RANLIB}" \
14295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14296 dvi) \
14297 || exit 1
14299 @endif hello
14301 .PHONY: maybe-html-hello html-hello
14302 maybe-html-hello:
14303 @if hello
14304 maybe-html-hello: html-hello
14306 html-hello: \
14307 configure-hello
14308 @: $(MAKE); $(unstage)
14309 @[ -f ./hello/Makefile ] || exit 0; \
14310 r=`${PWD_COMMAND}`; export r; \
14311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14312 $(HOST_EXPORTS) \
14313 for flag in $(EXTRA_HOST_FLAGS) ; do \
14314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14315 done; \
14316 echo "Doing html in hello" ; \
14317 (cd $(HOST_SUBDIR)/hello && \
14318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14320 "RANLIB=$${RANLIB}" \
14321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14322 html) \
14323 || exit 1
14325 @endif hello
14327 .PHONY: maybe-TAGS-hello TAGS-hello
14328 maybe-TAGS-hello:
14329 @if hello
14330 maybe-TAGS-hello: TAGS-hello
14332 TAGS-hello: \
14333 configure-hello
14334 @: $(MAKE); $(unstage)
14335 @[ -f ./hello/Makefile ] || exit 0; \
14336 r=`${PWD_COMMAND}`; export r; \
14337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14338 $(HOST_EXPORTS) \
14339 for flag in $(EXTRA_HOST_FLAGS) ; do \
14340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14341 done; \
14342 echo "Doing TAGS in hello" ; \
14343 (cd $(HOST_SUBDIR)/hello && \
14344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14346 "RANLIB=$${RANLIB}" \
14347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14348 TAGS) \
14349 || exit 1
14351 @endif hello
14353 .PHONY: maybe-install-info-hello install-info-hello
14354 maybe-install-info-hello:
14355 @if hello
14356 maybe-install-info-hello: install-info-hello
14358 install-info-hello: \
14359 configure-hello \
14360 info-hello
14361 @: $(MAKE); $(unstage)
14362 @[ -f ./hello/Makefile ] || exit 0; \
14363 r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365 $(HOST_EXPORTS) \
14366 for flag in $(EXTRA_HOST_FLAGS) ; do \
14367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14368 done; \
14369 echo "Doing install-info in hello" ; \
14370 (cd $(HOST_SUBDIR)/hello && \
14371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14373 "RANLIB=$${RANLIB}" \
14374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14375 install-info) \
14376 || exit 1
14378 @endif hello
14380 .PHONY: maybe-install-html-hello install-html-hello
14381 maybe-install-html-hello:
14382 @if hello
14383 maybe-install-html-hello: install-html-hello
14385 install-html-hello: \
14386 configure-hello \
14387 html-hello
14388 @: $(MAKE); $(unstage)
14389 @[ -f ./hello/Makefile ] || exit 0; \
14390 r=`${PWD_COMMAND}`; export r; \
14391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14392 $(HOST_EXPORTS) \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14395 done; \
14396 echo "Doing install-html in hello" ; \
14397 (cd $(HOST_SUBDIR)/hello && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14402 install-html) \
14403 || exit 1
14405 @endif hello
14407 .PHONY: maybe-installcheck-hello installcheck-hello
14408 maybe-installcheck-hello:
14409 @if hello
14410 maybe-installcheck-hello: installcheck-hello
14412 installcheck-hello: \
14413 configure-hello
14414 @: $(MAKE); $(unstage)
14415 @[ -f ./hello/Makefile ] || exit 0; \
14416 r=`${PWD_COMMAND}`; export r; \
14417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14418 $(HOST_EXPORTS) \
14419 for flag in $(EXTRA_HOST_FLAGS) ; do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 done; \
14422 echo "Doing installcheck in hello" ; \
14423 (cd $(HOST_SUBDIR)/hello && \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 installcheck) \
14429 || exit 1
14431 @endif hello
14433 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
14434 maybe-mostlyclean-hello:
14435 @if hello
14436 maybe-mostlyclean-hello: mostlyclean-hello
14438 mostlyclean-hello:
14439 @: $(MAKE); $(unstage)
14440 @[ -f ./hello/Makefile ] || exit 0; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443 $(HOST_EXPORTS) \
14444 for flag in $(EXTRA_HOST_FLAGS) ; do \
14445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14446 done; \
14447 echo "Doing mostlyclean in hello" ; \
14448 (cd $(HOST_SUBDIR)/hello && \
14449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14451 "RANLIB=$${RANLIB}" \
14452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14453 mostlyclean) \
14454 || exit 1
14456 @endif hello
14458 .PHONY: maybe-clean-hello clean-hello
14459 maybe-clean-hello:
14460 @if hello
14461 maybe-clean-hello: clean-hello
14463 clean-hello:
14464 @: $(MAKE); $(unstage)
14465 @[ -f ./hello/Makefile ] || exit 0; \
14466 r=`${PWD_COMMAND}`; export r; \
14467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14468 $(HOST_EXPORTS) \
14469 for flag in $(EXTRA_HOST_FLAGS) ; do \
14470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14471 done; \
14472 echo "Doing clean in hello" ; \
14473 (cd $(HOST_SUBDIR)/hello && \
14474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14476 "RANLIB=$${RANLIB}" \
14477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14478 clean) \
14479 || exit 1
14481 @endif hello
14483 .PHONY: maybe-distclean-hello distclean-hello
14484 maybe-distclean-hello:
14485 @if hello
14486 maybe-distclean-hello: distclean-hello
14488 distclean-hello:
14489 @: $(MAKE); $(unstage)
14490 @[ -f ./hello/Makefile ] || exit 0; \
14491 r=`${PWD_COMMAND}`; export r; \
14492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14493 $(HOST_EXPORTS) \
14494 for flag in $(EXTRA_HOST_FLAGS) ; do \
14495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14496 done; \
14497 echo "Doing distclean in hello" ; \
14498 (cd $(HOST_SUBDIR)/hello && \
14499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14501 "RANLIB=$${RANLIB}" \
14502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14503 distclean) \
14504 || exit 1
14506 @endif hello
14508 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
14509 maybe-maintainer-clean-hello:
14510 @if hello
14511 maybe-maintainer-clean-hello: maintainer-clean-hello
14513 maintainer-clean-hello:
14514 @: $(MAKE); $(unstage)
14515 @[ -f ./hello/Makefile ] || exit 0; \
14516 r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(HOST_EXPORTS) \
14519 for flag in $(EXTRA_HOST_FLAGS) ; do \
14520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14521 done; \
14522 echo "Doing maintainer-clean in hello" ; \
14523 (cd $(HOST_SUBDIR)/hello && \
14524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14526 "RANLIB=$${RANLIB}" \
14527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14528 maintainer-clean) \
14529 || exit 1
14531 @endif hello
14535 .PHONY: configure-indent maybe-configure-indent
14536 maybe-configure-indent:
14537 @if indent
14538 maybe-configure-indent: configure-indent
14539 configure-indent:
14540 @: $(MAKE); $(unstage)
14541 @r=`${PWD_COMMAND}`; export r; \
14542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
14544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
14545 $(HOST_EXPORTS) \
14546 echo Configuring in $(HOST_SUBDIR)/indent; \
14547 cd "$(HOST_SUBDIR)/indent" || exit 1; \
14548 case $(srcdir) in \
14549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14550 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
14551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14552 esac; \
14553 srcdiroption="--srcdir=$${topdir}/indent"; \
14554 libsrcdir="$$s/indent"; \
14555 $(SHELL) $${libsrcdir}/configure \
14556 $(HOST_CONFIGARGS) $${srcdiroption} \
14557 || exit 1
14558 @endif indent
14564 .PHONY: all-indent maybe-all-indent
14565 maybe-all-indent:
14566 @if indent
14567 TARGET-indent=all
14568 maybe-all-indent: all-indent
14569 all-indent: configure-indent
14570 @: $(MAKE); $(unstage)
14571 @r=`${PWD_COMMAND}`; export r; \
14572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14573 $(HOST_EXPORTS) \
14574 (cd $(HOST_SUBDIR)/indent && \
14575 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
14576 @endif indent
14581 .PHONY: check-indent maybe-check-indent
14582 maybe-check-indent:
14583 @if indent
14584 maybe-check-indent: check-indent
14586 check-indent:
14587 @: $(MAKE); $(unstage)
14588 @r=`${PWD_COMMAND}`; export r; \
14589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14590 $(HOST_EXPORTS) \
14591 (cd $(HOST_SUBDIR)/indent && \
14592 $(MAKE) $(FLAGS_TO_PASS) check)
14594 @endif indent
14596 .PHONY: install-indent maybe-install-indent
14597 maybe-install-indent:
14598 @if indent
14599 maybe-install-indent: install-indent
14601 install-indent: installdirs
14602 @: $(MAKE); $(unstage)
14603 @r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 (cd $(HOST_SUBDIR)/indent && \
14607 $(MAKE) $(FLAGS_TO_PASS) install)
14609 @endif indent
14611 # Other targets (info, dvi, etc.)
14613 .PHONY: maybe-info-indent info-indent
14614 maybe-info-indent:
14615 @if indent
14616 maybe-info-indent: info-indent
14618 info-indent: \
14619 configure-indent
14620 @: $(MAKE); $(unstage)
14621 @[ -f ./indent/Makefile ] || exit 0; \
14622 r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 for flag in $(EXTRA_HOST_FLAGS) ; do \
14626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14627 done; \
14628 echo "Doing info in indent" ; \
14629 (cd $(HOST_SUBDIR)/indent && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14632 "RANLIB=$${RANLIB}" \
14633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14634 info) \
14635 || exit 1
14637 @endif indent
14639 .PHONY: maybe-dvi-indent dvi-indent
14640 maybe-dvi-indent:
14641 @if indent
14642 maybe-dvi-indent: dvi-indent
14644 dvi-indent: \
14645 configure-indent
14646 @: $(MAKE); $(unstage)
14647 @[ -f ./indent/Makefile ] || exit 0; \
14648 r=`${PWD_COMMAND}`; export r; \
14649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650 $(HOST_EXPORTS) \
14651 for flag in $(EXTRA_HOST_FLAGS) ; do \
14652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14653 done; \
14654 echo "Doing dvi in indent" ; \
14655 (cd $(HOST_SUBDIR)/indent && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658 "RANLIB=$${RANLIB}" \
14659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14660 dvi) \
14661 || exit 1
14663 @endif indent
14665 .PHONY: maybe-html-indent html-indent
14666 maybe-html-indent:
14667 @if indent
14668 maybe-html-indent: html-indent
14670 html-indent: \
14671 configure-indent
14672 @: $(MAKE); $(unstage)
14673 @[ -f ./indent/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) ; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing html in indent" ; \
14681 (cd $(HOST_SUBDIR)/indent && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14686 html) \
14687 || exit 1
14689 @endif indent
14691 .PHONY: maybe-TAGS-indent TAGS-indent
14692 maybe-TAGS-indent:
14693 @if indent
14694 maybe-TAGS-indent: TAGS-indent
14696 TAGS-indent: \
14697 configure-indent
14698 @: $(MAKE); $(unstage)
14699 @[ -f ./indent/Makefile ] || exit 0; \
14700 r=`${PWD_COMMAND}`; export r; \
14701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14702 $(HOST_EXPORTS) \
14703 for flag in $(EXTRA_HOST_FLAGS) ; do \
14704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14705 done; \
14706 echo "Doing TAGS in indent" ; \
14707 (cd $(HOST_SUBDIR)/indent && \
14708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14710 "RANLIB=$${RANLIB}" \
14711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14712 TAGS) \
14713 || exit 1
14715 @endif indent
14717 .PHONY: maybe-install-info-indent install-info-indent
14718 maybe-install-info-indent:
14719 @if indent
14720 maybe-install-info-indent: install-info-indent
14722 install-info-indent: \
14723 configure-indent \
14724 info-indent
14725 @: $(MAKE); $(unstage)
14726 @[ -f ./indent/Makefile ] || exit 0; \
14727 r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729 $(HOST_EXPORTS) \
14730 for flag in $(EXTRA_HOST_FLAGS) ; do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732 done; \
14733 echo "Doing install-info in indent" ; \
14734 (cd $(HOST_SUBDIR)/indent && \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14739 install-info) \
14740 || exit 1
14742 @endif indent
14744 .PHONY: maybe-install-html-indent install-html-indent
14745 maybe-install-html-indent:
14746 @if indent
14747 maybe-install-html-indent: install-html-indent
14749 install-html-indent: \
14750 configure-indent \
14751 html-indent
14752 @: $(MAKE); $(unstage)
14753 @[ -f ./indent/Makefile ] || exit 0; \
14754 r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 $(HOST_EXPORTS) \
14757 for flag in $(EXTRA_HOST_FLAGS) ; do \
14758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14759 done; \
14760 echo "Doing install-html in indent" ; \
14761 (cd $(HOST_SUBDIR)/indent && \
14762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14764 "RANLIB=$${RANLIB}" \
14765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14766 install-html) \
14767 || exit 1
14769 @endif indent
14771 .PHONY: maybe-installcheck-indent installcheck-indent
14772 maybe-installcheck-indent:
14773 @if indent
14774 maybe-installcheck-indent: installcheck-indent
14776 installcheck-indent: \
14777 configure-indent
14778 @: $(MAKE); $(unstage)
14779 @[ -f ./indent/Makefile ] || exit 0; \
14780 r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 $(HOST_EXPORTS) \
14783 for flag in $(EXTRA_HOST_FLAGS) ; do \
14784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14785 done; \
14786 echo "Doing installcheck in indent" ; \
14787 (cd $(HOST_SUBDIR)/indent && \
14788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790 "RANLIB=$${RANLIB}" \
14791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14792 installcheck) \
14793 || exit 1
14795 @endif indent
14797 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14798 maybe-mostlyclean-indent:
14799 @if indent
14800 maybe-mostlyclean-indent: mostlyclean-indent
14802 mostlyclean-indent:
14803 @: $(MAKE); $(unstage)
14804 @[ -f ./indent/Makefile ] || exit 0; \
14805 r=`${PWD_COMMAND}`; export r; \
14806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14807 $(HOST_EXPORTS) \
14808 for flag in $(EXTRA_HOST_FLAGS) ; do \
14809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14810 done; \
14811 echo "Doing mostlyclean in indent" ; \
14812 (cd $(HOST_SUBDIR)/indent && \
14813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14815 "RANLIB=$${RANLIB}" \
14816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14817 mostlyclean) \
14818 || exit 1
14820 @endif indent
14822 .PHONY: maybe-clean-indent clean-indent
14823 maybe-clean-indent:
14824 @if indent
14825 maybe-clean-indent: clean-indent
14827 clean-indent:
14828 @: $(MAKE); $(unstage)
14829 @[ -f ./indent/Makefile ] || exit 0; \
14830 r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 $(HOST_EXPORTS) \
14833 for flag in $(EXTRA_HOST_FLAGS) ; do \
14834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14835 done; \
14836 echo "Doing clean in indent" ; \
14837 (cd $(HOST_SUBDIR)/indent && \
14838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840 "RANLIB=$${RANLIB}" \
14841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14842 clean) \
14843 || exit 1
14845 @endif indent
14847 .PHONY: maybe-distclean-indent distclean-indent
14848 maybe-distclean-indent:
14849 @if indent
14850 maybe-distclean-indent: distclean-indent
14852 distclean-indent:
14853 @: $(MAKE); $(unstage)
14854 @[ -f ./indent/Makefile ] || exit 0; \
14855 r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 $(HOST_EXPORTS) \
14858 for flag in $(EXTRA_HOST_FLAGS) ; do \
14859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14860 done; \
14861 echo "Doing distclean in indent" ; \
14862 (cd $(HOST_SUBDIR)/indent && \
14863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14865 "RANLIB=$${RANLIB}" \
14866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14867 distclean) \
14868 || exit 1
14870 @endif indent
14872 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14873 maybe-maintainer-clean-indent:
14874 @if indent
14875 maybe-maintainer-clean-indent: maintainer-clean-indent
14877 maintainer-clean-indent:
14878 @: $(MAKE); $(unstage)
14879 @[ -f ./indent/Makefile ] || exit 0; \
14880 r=`${PWD_COMMAND}`; export r; \
14881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 $(HOST_EXPORTS) \
14883 for flag in $(EXTRA_HOST_FLAGS) ; do \
14884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14885 done; \
14886 echo "Doing maintainer-clean in indent" ; \
14887 (cd $(HOST_SUBDIR)/indent && \
14888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14890 "RANLIB=$${RANLIB}" \
14891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14892 maintainer-clean) \
14893 || exit 1
14895 @endif indent
14899 .PHONY: configure-intl maybe-configure-intl
14900 maybe-configure-intl:
14901 @if intl
14902 maybe-configure-intl: configure-intl
14903 configure-intl:
14904 @endif intl
14905 @if intl-bootstrap
14906 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14907 @endif intl-bootstrap
14908 @if intl
14909 @r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14913 $(HOST_EXPORTS) \
14914 echo Configuring in $(HOST_SUBDIR)/intl; \
14915 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14916 case $(srcdir) in \
14917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14918 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14920 esac; \
14921 srcdiroption="--srcdir=$${topdir}/intl"; \
14922 libsrcdir="$$s/intl"; \
14923 $(SHELL) $${libsrcdir}/configure \
14924 $(HOST_CONFIGARGS) $${srcdiroption} \
14925 || exit 1
14926 @endif intl
14930 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14931 maybe-configure-stage1-intl:
14932 @if intl-bootstrap
14933 maybe-configure-stage1-intl: configure-stage1-intl
14934 configure-stage1-intl:
14935 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14937 @r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14940 $(HOST_EXPORTS) \
14941 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14943 cd $(HOST_SUBDIR)/intl || exit 1; \
14944 case $(srcdir) in \
14945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14946 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14948 esac; \
14949 srcdiroption="--srcdir=$${topdir}/intl"; \
14950 libsrcdir="$$s/intl"; \
14951 $(SHELL) $${libsrcdir}/configure \
14952 $(HOST_CONFIGARGS) $${srcdiroption} \
14953 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14954 @endif intl-bootstrap
14956 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14957 maybe-configure-stage2-intl:
14958 @if intl-bootstrap
14959 maybe-configure-stage2-intl: configure-stage2-intl
14960 configure-stage2-intl:
14961 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14963 @r=`${PWD_COMMAND}`; export r; \
14964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14965 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14966 $(HOST_EXPORTS) \
14967 $(POSTSTAGE1_HOST_EXPORTS) \
14968 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14970 cd $(HOST_SUBDIR)/intl || exit 1; \
14971 case $(srcdir) in \
14972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14973 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14975 esac; \
14976 srcdiroption="--srcdir=$${topdir}/intl"; \
14977 libsrcdir="$$s/intl"; \
14978 $(SHELL) $${libsrcdir}/configure \
14979 $(HOST_CONFIGARGS) $${srcdiroption} \
14980 @stage2_werror_flag@
14981 @endif intl-bootstrap
14983 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14984 maybe-configure-stage3-intl:
14985 @if intl-bootstrap
14986 maybe-configure-stage3-intl: configure-stage3-intl
14987 configure-stage3-intl:
14988 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14990 @r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14993 $(HOST_EXPORTS) \
14994 $(POSTSTAGE1_HOST_EXPORTS) \
14995 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14997 cd $(HOST_SUBDIR)/intl || exit 1; \
14998 case $(srcdir) in \
14999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15000 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15002 esac; \
15003 srcdiroption="--srcdir=$${topdir}/intl"; \
15004 libsrcdir="$$s/intl"; \
15005 $(SHELL) $${libsrcdir}/configure \
15006 $(HOST_CONFIGARGS) $${srcdiroption} \
15007 @stage2_werror_flag@
15008 @endif intl-bootstrap
15010 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
15011 maybe-configure-stage4-intl:
15012 @if intl-bootstrap
15013 maybe-configure-stage4-intl: configure-stage4-intl
15014 configure-stage4-intl:
15015 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15017 @r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15020 $(HOST_EXPORTS) \
15021 $(POSTSTAGE1_HOST_EXPORTS) \
15022 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
15023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15024 cd $(HOST_SUBDIR)/intl || exit 1; \
15025 case $(srcdir) in \
15026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15027 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15029 esac; \
15030 srcdiroption="--srcdir=$${topdir}/intl"; \
15031 libsrcdir="$$s/intl"; \
15032 $(SHELL) $${libsrcdir}/configure \
15033 $(HOST_CONFIGARGS) $${srcdiroption} \
15034 @stage2_werror_flag@
15035 @endif intl-bootstrap
15037 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
15038 maybe-configure-stageprofile-intl:
15039 @if intl-bootstrap
15040 maybe-configure-stageprofile-intl: configure-stageprofile-intl
15041 configure-stageprofile-intl:
15042 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15044 @r=`${PWD_COMMAND}`; export r; \
15045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15046 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15047 $(HOST_EXPORTS) \
15048 $(POSTSTAGE1_HOST_EXPORTS) \
15049 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
15050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15051 cd $(HOST_SUBDIR)/intl || exit 1; \
15052 case $(srcdir) in \
15053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15054 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15056 esac; \
15057 srcdiroption="--srcdir=$${topdir}/intl"; \
15058 libsrcdir="$$s/intl"; \
15059 $(SHELL) $${libsrcdir}/configure \
15060 $(HOST_CONFIGARGS) $${srcdiroption} \
15061 @stage2_werror_flag@
15062 @endif intl-bootstrap
15064 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
15065 maybe-configure-stagefeedback-intl:
15066 @if intl-bootstrap
15067 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
15068 configure-stagefeedback-intl:
15069 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15071 @r=`${PWD_COMMAND}`; export r; \
15072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15073 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15074 $(HOST_EXPORTS) \
15075 $(POSTSTAGE1_HOST_EXPORTS) \
15076 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
15077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15078 cd $(HOST_SUBDIR)/intl || exit 1; \
15079 case $(srcdir) in \
15080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15081 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15083 esac; \
15084 srcdiroption="--srcdir=$${topdir}/intl"; \
15085 libsrcdir="$$s/intl"; \
15086 $(SHELL) $${libsrcdir}/configure \
15087 $(HOST_CONFIGARGS) $${srcdiroption} \
15088 @stage2_werror_flag@
15089 @endif intl-bootstrap
15095 .PHONY: all-intl maybe-all-intl
15096 maybe-all-intl:
15097 @if intl
15098 TARGET-intl=all
15099 maybe-all-intl: all-intl
15100 all-intl: configure-intl
15101 @endif intl
15102 @if intl-bootstrap
15103 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15104 @endif intl-bootstrap
15105 @if intl
15106 @r=`${PWD_COMMAND}`; export r; \
15107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15108 $(HOST_EXPORTS) \
15109 (cd $(HOST_SUBDIR)/intl && \
15110 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
15111 @endif intl
15115 .PHONY: all-stage1-intl maybe-all-stage1-intl
15116 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
15117 maybe-all-stage1-intl:
15118 maybe-clean-stage1-intl:
15119 @if intl-bootstrap
15120 maybe-all-stage1-intl: all-stage1-intl
15121 all-stage1: all-stage1-intl
15122 TARGET-stage1-intl = $(TARGET-intl)
15123 all-stage1-intl: configure-stage1-intl
15124 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15130 $(TARGET-stage1-intl)
15132 maybe-clean-stage1-intl: clean-stage1-intl
15133 clean-stage1: clean-stage1-intl
15134 clean-stage1-intl:
15135 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
15136 || exit 0 ; \
15137 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15138 cd $(HOST_SUBDIR)/intl && \
15139 $(MAKE) $(FLAGS_TO_PASS) \
15140 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15141 @endif intl-bootstrap
15144 .PHONY: all-stage2-intl maybe-all-stage2-intl
15145 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
15146 maybe-all-stage2-intl:
15147 maybe-clean-stage2-intl:
15148 @if intl-bootstrap
15149 maybe-all-stage2-intl: all-stage2-intl
15150 all-stage2: all-stage2-intl
15151 TARGET-stage2-intl = $(TARGET-intl)
15152 all-stage2-intl: configure-stage2-intl
15153 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15154 @r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 $(HOST_EXPORTS) \
15157 $(POSTSTAGE1_HOST_EXPORTS) \
15158 cd $(HOST_SUBDIR)/intl && \
15159 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15160 $(TARGET-stage2-intl)
15162 maybe-clean-stage2-intl: clean-stage2-intl
15163 clean-stage2: clean-stage2-intl
15164 clean-stage2-intl:
15165 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
15166 || exit 0 ; \
15167 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15168 cd $(HOST_SUBDIR)/intl && \
15169 $(MAKE) $(FLAGS_TO_PASS) \
15170 $(POSTSTAGE1_FLAGS_TO_PASS) \
15171 clean
15172 @endif intl-bootstrap
15175 .PHONY: all-stage3-intl maybe-all-stage3-intl
15176 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
15177 maybe-all-stage3-intl:
15178 maybe-clean-stage3-intl:
15179 @if intl-bootstrap
15180 maybe-all-stage3-intl: all-stage3-intl
15181 all-stage3: all-stage3-intl
15182 TARGET-stage3-intl = $(TARGET-intl)
15183 all-stage3-intl: configure-stage3-intl
15184 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15185 @r=`${PWD_COMMAND}`; export r; \
15186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15187 $(HOST_EXPORTS) \
15188 $(POSTSTAGE1_HOST_EXPORTS) \
15189 cd $(HOST_SUBDIR)/intl && \
15190 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15191 $(TARGET-stage3-intl)
15193 maybe-clean-stage3-intl: clean-stage3-intl
15194 clean-stage3: clean-stage3-intl
15195 clean-stage3-intl:
15196 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
15197 || exit 0 ; \
15198 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15199 cd $(HOST_SUBDIR)/intl && \
15200 $(MAKE) $(FLAGS_TO_PASS) \
15201 $(POSTSTAGE1_FLAGS_TO_PASS) \
15202 clean
15203 @endif intl-bootstrap
15206 .PHONY: all-stage4-intl maybe-all-stage4-intl
15207 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
15208 maybe-all-stage4-intl:
15209 maybe-clean-stage4-intl:
15210 @if intl-bootstrap
15211 maybe-all-stage4-intl: all-stage4-intl
15212 all-stage4: all-stage4-intl
15213 TARGET-stage4-intl = $(TARGET-intl)
15214 all-stage4-intl: configure-stage4-intl
15215 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15216 @r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 $(HOST_EXPORTS) \
15219 $(POSTSTAGE1_HOST_EXPORTS) \
15220 cd $(HOST_SUBDIR)/intl && \
15221 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15222 $(TARGET-stage4-intl)
15224 maybe-clean-stage4-intl: clean-stage4-intl
15225 clean-stage4: clean-stage4-intl
15226 clean-stage4-intl:
15227 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
15228 || exit 0 ; \
15229 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15230 cd $(HOST_SUBDIR)/intl && \
15231 $(MAKE) $(FLAGS_TO_PASS) \
15232 $(POSTSTAGE1_FLAGS_TO_PASS) \
15233 clean
15234 @endif intl-bootstrap
15237 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
15238 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
15239 maybe-all-stageprofile-intl:
15240 maybe-clean-stageprofile-intl:
15241 @if intl-bootstrap
15242 maybe-all-stageprofile-intl: all-stageprofile-intl
15243 all-stageprofile: all-stageprofile-intl
15244 TARGET-stageprofile-intl = $(TARGET-intl)
15245 all-stageprofile-intl: configure-stageprofile-intl
15246 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15247 @r=`${PWD_COMMAND}`; export r; \
15248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15249 $(HOST_EXPORTS) \
15250 $(POSTSTAGE1_HOST_EXPORTS) \
15251 cd $(HOST_SUBDIR)/intl && \
15252 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15253 $(TARGET-stageprofile-intl)
15255 maybe-clean-stageprofile-intl: clean-stageprofile-intl
15256 clean-stageprofile: clean-stageprofile-intl
15257 clean-stageprofile-intl:
15258 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
15259 || exit 0 ; \
15260 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15261 cd $(HOST_SUBDIR)/intl && \
15262 $(MAKE) $(FLAGS_TO_PASS) \
15263 $(POSTSTAGE1_FLAGS_TO_PASS) \
15264 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15265 @endif intl-bootstrap
15268 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
15269 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
15270 maybe-all-stagefeedback-intl:
15271 maybe-clean-stagefeedback-intl:
15272 @if intl-bootstrap
15273 maybe-all-stagefeedback-intl: all-stagefeedback-intl
15274 all-stagefeedback: all-stagefeedback-intl
15275 TARGET-stagefeedback-intl = $(TARGET-intl)
15276 all-stagefeedback-intl: configure-stagefeedback-intl
15277 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15278 @r=`${PWD_COMMAND}`; export r; \
15279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15280 $(HOST_EXPORTS) \
15281 $(POSTSTAGE1_HOST_EXPORTS) \
15282 cd $(HOST_SUBDIR)/intl && \
15283 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15284 $(TARGET-stagefeedback-intl)
15286 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
15287 clean-stagefeedback: clean-stagefeedback-intl
15288 clean-stagefeedback-intl:
15289 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
15290 || exit 0 ; \
15291 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15292 cd $(HOST_SUBDIR)/intl && \
15293 $(MAKE) $(FLAGS_TO_PASS) \
15294 $(POSTSTAGE1_FLAGS_TO_PASS) \
15295 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15296 @endif intl-bootstrap
15302 .PHONY: check-intl maybe-check-intl
15303 maybe-check-intl:
15304 @if intl
15305 maybe-check-intl: check-intl
15307 check-intl:
15308 @: $(MAKE); $(unstage)
15309 @r=`${PWD_COMMAND}`; export r; \
15310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15311 $(HOST_EXPORTS) \
15312 (cd $(HOST_SUBDIR)/intl && \
15313 $(MAKE) $(FLAGS_TO_PASS) check)
15315 @endif intl
15317 .PHONY: install-intl maybe-install-intl
15318 maybe-install-intl:
15319 @if intl
15320 maybe-install-intl: install-intl
15322 install-intl: installdirs
15323 @: $(MAKE); $(unstage)
15324 @r=`${PWD_COMMAND}`; export r; \
15325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15326 $(HOST_EXPORTS) \
15327 (cd $(HOST_SUBDIR)/intl && \
15328 $(MAKE) $(FLAGS_TO_PASS) install)
15330 @endif intl
15332 # Other targets (info, dvi, etc.)
15334 .PHONY: maybe-info-intl info-intl
15335 maybe-info-intl:
15336 @if intl
15337 maybe-info-intl: info-intl
15339 info-intl: \
15340 configure-intl
15341 @[ -f ./intl/Makefile ] || exit 0; \
15342 r=`${PWD_COMMAND}`; export r; \
15343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15344 $(HOST_EXPORTS) \
15345 for flag in $(EXTRA_HOST_FLAGS) ; do \
15346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15347 done; \
15348 echo "Doing info in intl" ; \
15349 (cd $(HOST_SUBDIR)/intl && \
15350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15352 "RANLIB=$${RANLIB}" \
15353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15354 info) \
15355 || exit 1
15357 @endif intl
15359 .PHONY: maybe-dvi-intl dvi-intl
15360 maybe-dvi-intl:
15361 @if intl
15362 maybe-dvi-intl: dvi-intl
15364 dvi-intl: \
15365 configure-intl
15366 @[ -f ./intl/Makefile ] || exit 0; \
15367 r=`${PWD_COMMAND}`; export r; \
15368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15369 $(HOST_EXPORTS) \
15370 for flag in $(EXTRA_HOST_FLAGS) ; do \
15371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15372 done; \
15373 echo "Doing dvi in intl" ; \
15374 (cd $(HOST_SUBDIR)/intl && \
15375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15377 "RANLIB=$${RANLIB}" \
15378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15379 dvi) \
15380 || exit 1
15382 @endif intl
15384 .PHONY: maybe-html-intl html-intl
15385 maybe-html-intl:
15386 @if intl
15387 maybe-html-intl: html-intl
15389 html-intl: \
15390 configure-intl
15391 @[ -f ./intl/Makefile ] || exit 0; \
15392 r=`${PWD_COMMAND}`; export r; \
15393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15394 $(HOST_EXPORTS) \
15395 for flag in $(EXTRA_HOST_FLAGS) ; do \
15396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15397 done; \
15398 echo "Doing html in intl" ; \
15399 (cd $(HOST_SUBDIR)/intl && \
15400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15402 "RANLIB=$${RANLIB}" \
15403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15404 html) \
15405 || exit 1
15407 @endif intl
15409 .PHONY: maybe-TAGS-intl TAGS-intl
15410 maybe-TAGS-intl:
15411 @if intl
15412 maybe-TAGS-intl: TAGS-intl
15414 TAGS-intl: \
15415 configure-intl
15416 @[ -f ./intl/Makefile ] || exit 0; \
15417 r=`${PWD_COMMAND}`; export r; \
15418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15419 $(HOST_EXPORTS) \
15420 for flag in $(EXTRA_HOST_FLAGS) ; do \
15421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15422 done; \
15423 echo "Doing TAGS in intl" ; \
15424 (cd $(HOST_SUBDIR)/intl && \
15425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15427 "RANLIB=$${RANLIB}" \
15428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15429 TAGS) \
15430 || exit 1
15432 @endif intl
15434 .PHONY: maybe-install-info-intl install-info-intl
15435 maybe-install-info-intl:
15436 @if intl
15437 maybe-install-info-intl: install-info-intl
15439 install-info-intl: \
15440 configure-intl \
15441 info-intl
15442 @[ -f ./intl/Makefile ] || exit 0; \
15443 r=`${PWD_COMMAND}`; export r; \
15444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15445 $(HOST_EXPORTS) \
15446 for flag in $(EXTRA_HOST_FLAGS) ; do \
15447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15448 done; \
15449 echo "Doing install-info in intl" ; \
15450 (cd $(HOST_SUBDIR)/intl && \
15451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15453 "RANLIB=$${RANLIB}" \
15454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15455 install-info) \
15456 || exit 1
15458 @endif intl
15460 .PHONY: maybe-install-html-intl install-html-intl
15461 maybe-install-html-intl:
15462 @if intl
15463 maybe-install-html-intl: install-html-intl
15465 install-html-intl: \
15466 configure-intl \
15467 html-intl
15468 @[ -f ./intl/Makefile ] || exit 0; \
15469 r=`${PWD_COMMAND}`; export r; \
15470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15471 $(HOST_EXPORTS) \
15472 for flag in $(EXTRA_HOST_FLAGS) ; do \
15473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15474 done; \
15475 echo "Doing install-html in intl" ; \
15476 (cd $(HOST_SUBDIR)/intl && \
15477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15479 "RANLIB=$${RANLIB}" \
15480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15481 install-html) \
15482 || exit 1
15484 @endif intl
15486 .PHONY: maybe-installcheck-intl installcheck-intl
15487 maybe-installcheck-intl:
15488 @if intl
15489 maybe-installcheck-intl: installcheck-intl
15491 installcheck-intl: \
15492 configure-intl
15493 @[ -f ./intl/Makefile ] || exit 0; \
15494 r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 $(HOST_EXPORTS) \
15497 for flag in $(EXTRA_HOST_FLAGS) ; do \
15498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15499 done; \
15500 echo "Doing installcheck in intl" ; \
15501 (cd $(HOST_SUBDIR)/intl && \
15502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15504 "RANLIB=$${RANLIB}" \
15505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15506 installcheck) \
15507 || exit 1
15509 @endif intl
15511 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
15512 maybe-mostlyclean-intl:
15513 @if intl
15514 maybe-mostlyclean-intl: mostlyclean-intl
15516 mostlyclean-intl:
15517 @[ -f ./intl/Makefile ] || exit 0; \
15518 r=`${PWD_COMMAND}`; export r; \
15519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15520 $(HOST_EXPORTS) \
15521 for flag in $(EXTRA_HOST_FLAGS) ; do \
15522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15523 done; \
15524 echo "Doing mostlyclean in intl" ; \
15525 (cd $(HOST_SUBDIR)/intl && \
15526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15528 "RANLIB=$${RANLIB}" \
15529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15530 mostlyclean) \
15531 || exit 1
15533 @endif intl
15535 .PHONY: maybe-clean-intl clean-intl
15536 maybe-clean-intl:
15537 @if intl
15538 maybe-clean-intl: clean-intl
15540 clean-intl:
15541 @[ -f ./intl/Makefile ] || exit 0; \
15542 r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 $(HOST_EXPORTS) \
15545 for flag in $(EXTRA_HOST_FLAGS) ; do \
15546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15547 done; \
15548 echo "Doing clean in intl" ; \
15549 (cd $(HOST_SUBDIR)/intl && \
15550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15552 "RANLIB=$${RANLIB}" \
15553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15554 clean) \
15555 || exit 1
15557 @endif intl
15559 .PHONY: maybe-distclean-intl distclean-intl
15560 maybe-distclean-intl:
15561 @if intl
15562 maybe-distclean-intl: distclean-intl
15564 distclean-intl:
15565 @[ -f ./intl/Makefile ] || exit 0; \
15566 r=`${PWD_COMMAND}`; export r; \
15567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15568 $(HOST_EXPORTS) \
15569 for flag in $(EXTRA_HOST_FLAGS) ; do \
15570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15571 done; \
15572 echo "Doing distclean in intl" ; \
15573 (cd $(HOST_SUBDIR)/intl && \
15574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15576 "RANLIB=$${RANLIB}" \
15577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15578 distclean) \
15579 || exit 1
15581 @endif intl
15583 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
15584 maybe-maintainer-clean-intl:
15585 @if intl
15586 maybe-maintainer-clean-intl: maintainer-clean-intl
15588 maintainer-clean-intl:
15589 @[ -f ./intl/Makefile ] || exit 0; \
15590 r=`${PWD_COMMAND}`; export r; \
15591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15592 $(HOST_EXPORTS) \
15593 for flag in $(EXTRA_HOST_FLAGS) ; do \
15594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15595 done; \
15596 echo "Doing maintainer-clean in intl" ; \
15597 (cd $(HOST_SUBDIR)/intl && \
15598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15600 "RANLIB=$${RANLIB}" \
15601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15602 maintainer-clean) \
15603 || exit 1
15605 @endif intl
15609 .PHONY: configure-tcl maybe-configure-tcl
15610 maybe-configure-tcl:
15611 @if tcl
15612 maybe-configure-tcl: configure-tcl
15613 configure-tcl:
15614 @: $(MAKE); $(unstage)
15615 @r=`${PWD_COMMAND}`; export r; \
15616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15617 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
15618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
15619 $(HOST_EXPORTS) \
15620 echo Configuring in $(HOST_SUBDIR)/tcl; \
15621 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
15622 case $(srcdir) in \
15623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15624 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
15625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15626 esac; \
15627 srcdiroption="--srcdir=$${topdir}/tcl"; \
15628 libsrcdir="$$s/tcl"; \
15629 $(SHELL) $${libsrcdir}/configure \
15630 $(HOST_CONFIGARGS) $${srcdiroption} \
15631 || exit 1
15632 @endif tcl
15638 .PHONY: all-tcl maybe-all-tcl
15639 maybe-all-tcl:
15640 @if tcl
15641 TARGET-tcl=all
15642 maybe-all-tcl: all-tcl
15643 all-tcl: configure-tcl
15644 @: $(MAKE); $(unstage)
15645 @r=`${PWD_COMMAND}`; export r; \
15646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 $(HOST_EXPORTS) \
15648 (cd $(HOST_SUBDIR)/tcl && \
15649 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
15650 @endif tcl
15655 .PHONY: check-tcl maybe-check-tcl
15656 maybe-check-tcl:
15657 @if tcl
15658 maybe-check-tcl: check-tcl
15660 check-tcl:
15661 @: $(MAKE); $(unstage)
15662 @r=`${PWD_COMMAND}`; export r; \
15663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15664 $(HOST_EXPORTS) \
15665 (cd $(HOST_SUBDIR)/tcl && \
15666 $(MAKE) $(FLAGS_TO_PASS) check)
15668 @endif tcl
15670 .PHONY: install-tcl maybe-install-tcl
15671 maybe-install-tcl:
15672 @if tcl
15673 maybe-install-tcl: install-tcl
15675 install-tcl: installdirs
15676 @: $(MAKE); $(unstage)
15677 @r=`${PWD_COMMAND}`; export r; \
15678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15679 $(HOST_EXPORTS) \
15680 (cd $(HOST_SUBDIR)/tcl && \
15681 $(MAKE) $(FLAGS_TO_PASS) install)
15683 @endif tcl
15685 # Other targets (info, dvi, etc.)
15687 .PHONY: maybe-info-tcl info-tcl
15688 maybe-info-tcl:
15689 @if tcl
15690 maybe-info-tcl: info-tcl
15692 info-tcl: \
15693 configure-tcl
15694 @: $(MAKE); $(unstage)
15695 @[ -f ./tcl/Makefile ] || exit 0; \
15696 r=`${PWD_COMMAND}`; export r; \
15697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15698 $(HOST_EXPORTS) \
15699 for flag in $(EXTRA_HOST_FLAGS) ; do \
15700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15701 done; \
15702 echo "Doing info in tcl" ; \
15703 (cd $(HOST_SUBDIR)/tcl && \
15704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15706 "RANLIB=$${RANLIB}" \
15707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15708 info) \
15709 || exit 1
15711 @endif tcl
15713 .PHONY: maybe-dvi-tcl dvi-tcl
15714 maybe-dvi-tcl:
15715 @if tcl
15716 maybe-dvi-tcl: dvi-tcl
15718 dvi-tcl: \
15719 configure-tcl
15720 @: $(MAKE); $(unstage)
15721 @[ -f ./tcl/Makefile ] || exit 0; \
15722 r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 $(HOST_EXPORTS) \
15725 for flag in $(EXTRA_HOST_FLAGS) ; do \
15726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727 done; \
15728 echo "Doing dvi in tcl" ; \
15729 (cd $(HOST_SUBDIR)/tcl && \
15730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732 "RANLIB=$${RANLIB}" \
15733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15734 dvi) \
15735 || exit 1
15737 @endif tcl
15739 .PHONY: maybe-html-tcl html-tcl
15740 maybe-html-tcl:
15741 @if tcl
15742 maybe-html-tcl: html-tcl
15744 html-tcl: \
15745 configure-tcl
15746 @: $(MAKE); $(unstage)
15747 @[ -f ./tcl/Makefile ] || exit 0; \
15748 r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 $(HOST_EXPORTS) \
15751 for flag in $(EXTRA_HOST_FLAGS) ; do \
15752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15753 done; \
15754 echo "Doing html in tcl" ; \
15755 (cd $(HOST_SUBDIR)/tcl && \
15756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15758 "RANLIB=$${RANLIB}" \
15759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15760 html) \
15761 || exit 1
15763 @endif tcl
15765 .PHONY: maybe-TAGS-tcl TAGS-tcl
15766 maybe-TAGS-tcl:
15767 @if tcl
15768 maybe-TAGS-tcl: TAGS-tcl
15770 TAGS-tcl: \
15771 configure-tcl
15772 @: $(MAKE); $(unstage)
15773 @[ -f ./tcl/Makefile ] || exit 0; \
15774 r=`${PWD_COMMAND}`; export r; \
15775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15776 $(HOST_EXPORTS) \
15777 for flag in $(EXTRA_HOST_FLAGS) ; do \
15778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15779 done; \
15780 echo "Doing TAGS in tcl" ; \
15781 (cd $(HOST_SUBDIR)/tcl && \
15782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15784 "RANLIB=$${RANLIB}" \
15785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15786 TAGS) \
15787 || exit 1
15789 @endif tcl
15791 .PHONY: maybe-install-info-tcl install-info-tcl
15792 maybe-install-info-tcl:
15793 @if tcl
15794 maybe-install-info-tcl: install-info-tcl
15796 install-info-tcl: \
15797 configure-tcl \
15798 info-tcl
15799 @: $(MAKE); $(unstage)
15800 @[ -f ./tcl/Makefile ] || exit 0; \
15801 r=`${PWD_COMMAND}`; export r; \
15802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15803 $(HOST_EXPORTS) \
15804 for flag in $(EXTRA_HOST_FLAGS) ; do \
15805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15806 done; \
15807 echo "Doing install-info in tcl" ; \
15808 (cd $(HOST_SUBDIR)/tcl && \
15809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15811 "RANLIB=$${RANLIB}" \
15812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15813 install-info) \
15814 || exit 1
15816 @endif tcl
15818 .PHONY: maybe-install-html-tcl install-html-tcl
15819 maybe-install-html-tcl:
15820 @if tcl
15821 maybe-install-html-tcl: install-html-tcl
15823 install-html-tcl: \
15824 configure-tcl \
15825 html-tcl
15826 @: $(MAKE); $(unstage)
15827 @[ -f ./tcl/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833 done; \
15834 echo "Doing install-html in tcl" ; \
15835 (cd $(HOST_SUBDIR)/tcl && \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15840 install-html) \
15841 || exit 1
15843 @endif tcl
15845 .PHONY: maybe-installcheck-tcl installcheck-tcl
15846 maybe-installcheck-tcl:
15847 @if tcl
15848 maybe-installcheck-tcl: installcheck-tcl
15850 installcheck-tcl: \
15851 configure-tcl
15852 @: $(MAKE); $(unstage)
15853 @[ -f ./tcl/Makefile ] || exit 0; \
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(HOST_EXPORTS) \
15857 for flag in $(EXTRA_HOST_FLAGS) ; do \
15858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 done; \
15860 echo "Doing installcheck in tcl" ; \
15861 (cd $(HOST_SUBDIR)/tcl && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15864 "RANLIB=$${RANLIB}" \
15865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15866 installcheck) \
15867 || exit 1
15869 @endif tcl
15871 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
15872 maybe-mostlyclean-tcl:
15873 @if tcl
15874 maybe-mostlyclean-tcl: mostlyclean-tcl
15876 # tcl doesn't support mostlyclean.
15877 mostlyclean-tcl:
15879 @endif tcl
15881 .PHONY: maybe-clean-tcl clean-tcl
15882 maybe-clean-tcl:
15883 @if tcl
15884 maybe-clean-tcl: clean-tcl
15886 clean-tcl:
15887 @: $(MAKE); $(unstage)
15888 @[ -f ./tcl/Makefile ] || exit 0; \
15889 r=`${PWD_COMMAND}`; export r; \
15890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15891 $(HOST_EXPORTS) \
15892 for flag in $(EXTRA_HOST_FLAGS) ; do \
15893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15894 done; \
15895 echo "Doing clean in tcl" ; \
15896 (cd $(HOST_SUBDIR)/tcl && \
15897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15899 "RANLIB=$${RANLIB}" \
15900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15901 clean) \
15902 || exit 1
15904 @endif tcl
15906 .PHONY: maybe-distclean-tcl distclean-tcl
15907 maybe-distclean-tcl:
15908 @if tcl
15909 maybe-distclean-tcl: distclean-tcl
15911 distclean-tcl:
15912 @: $(MAKE); $(unstage)
15913 @[ -f ./tcl/Makefile ] || exit 0; \
15914 r=`${PWD_COMMAND}`; export r; \
15915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15916 $(HOST_EXPORTS) \
15917 for flag in $(EXTRA_HOST_FLAGS) ; do \
15918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15919 done; \
15920 echo "Doing distclean in tcl" ; \
15921 (cd $(HOST_SUBDIR)/tcl && \
15922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15924 "RANLIB=$${RANLIB}" \
15925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15926 distclean) \
15927 || exit 1
15929 @endif tcl
15931 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15932 maybe-maintainer-clean-tcl:
15933 @if tcl
15934 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15936 maintainer-clean-tcl:
15937 @: $(MAKE); $(unstage)
15938 @[ -f ./tcl/Makefile ] || exit 0; \
15939 r=`${PWD_COMMAND}`; export r; \
15940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15941 $(HOST_EXPORTS) \
15942 for flag in $(EXTRA_HOST_FLAGS) ; do \
15943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15944 done; \
15945 echo "Doing maintainer-clean in tcl" ; \
15946 (cd $(HOST_SUBDIR)/tcl && \
15947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15949 "RANLIB=$${RANLIB}" \
15950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15951 maintainer-clean) \
15952 || exit 1
15954 @endif tcl
15958 .PHONY: configure-itcl maybe-configure-itcl
15959 maybe-configure-itcl:
15960 @if itcl
15961 maybe-configure-itcl: configure-itcl
15962 configure-itcl:
15963 @: $(MAKE); $(unstage)
15964 @r=`${PWD_COMMAND}`; export r; \
15965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15966 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15968 $(HOST_EXPORTS) \
15969 echo Configuring in $(HOST_SUBDIR)/itcl; \
15970 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15971 case $(srcdir) in \
15972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15973 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15975 esac; \
15976 srcdiroption="--srcdir=$${topdir}/itcl"; \
15977 libsrcdir="$$s/itcl"; \
15978 $(SHELL) $${libsrcdir}/configure \
15979 $(HOST_CONFIGARGS) $${srcdiroption} \
15980 || exit 1
15981 @endif itcl
15987 .PHONY: all-itcl maybe-all-itcl
15988 maybe-all-itcl:
15989 @if itcl
15990 TARGET-itcl=all
15991 maybe-all-itcl: all-itcl
15992 all-itcl: configure-itcl
15993 @: $(MAKE); $(unstage)
15994 @r=`${PWD_COMMAND}`; export r; \
15995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15996 $(HOST_EXPORTS) \
15997 (cd $(HOST_SUBDIR)/itcl && \
15998 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15999 @endif itcl
16004 .PHONY: check-itcl maybe-check-itcl
16005 maybe-check-itcl:
16006 @if itcl
16007 maybe-check-itcl: check-itcl
16009 check-itcl:
16010 @: $(MAKE); $(unstage)
16011 @r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(HOST_EXPORTS) \
16014 (cd $(HOST_SUBDIR)/itcl && \
16015 $(MAKE) $(FLAGS_TO_PASS) check)
16017 @endif itcl
16019 .PHONY: install-itcl maybe-install-itcl
16020 maybe-install-itcl:
16021 @if itcl
16022 maybe-install-itcl: install-itcl
16024 install-itcl: installdirs
16025 @: $(MAKE); $(unstage)
16026 @r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 $(HOST_EXPORTS) \
16029 (cd $(HOST_SUBDIR)/itcl && \
16030 $(MAKE) $(FLAGS_TO_PASS) install)
16032 @endif itcl
16034 # Other targets (info, dvi, etc.)
16036 .PHONY: maybe-info-itcl info-itcl
16037 maybe-info-itcl:
16038 @if itcl
16039 maybe-info-itcl: info-itcl
16041 info-itcl: \
16042 configure-itcl
16043 @: $(MAKE); $(unstage)
16044 @[ -f ./itcl/Makefile ] || exit 0; \
16045 r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047 $(HOST_EXPORTS) \
16048 for flag in $(EXTRA_HOST_FLAGS) ; do \
16049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16050 done; \
16051 echo "Doing info in itcl" ; \
16052 (cd $(HOST_SUBDIR)/itcl && \
16053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16055 "RANLIB=$${RANLIB}" \
16056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16057 info) \
16058 || exit 1
16060 @endif itcl
16062 .PHONY: maybe-dvi-itcl dvi-itcl
16063 maybe-dvi-itcl:
16064 @if itcl
16065 maybe-dvi-itcl: dvi-itcl
16067 dvi-itcl: \
16068 configure-itcl
16069 @: $(MAKE); $(unstage)
16070 @[ -f ./itcl/Makefile ] || exit 0; \
16071 r=`${PWD_COMMAND}`; export r; \
16072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16073 $(HOST_EXPORTS) \
16074 for flag in $(EXTRA_HOST_FLAGS) ; do \
16075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16076 done; \
16077 echo "Doing dvi in itcl" ; \
16078 (cd $(HOST_SUBDIR)/itcl && \
16079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16081 "RANLIB=$${RANLIB}" \
16082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16083 dvi) \
16084 || exit 1
16086 @endif itcl
16088 .PHONY: maybe-html-itcl html-itcl
16089 maybe-html-itcl:
16090 @if itcl
16091 maybe-html-itcl: html-itcl
16093 html-itcl: \
16094 configure-itcl
16095 @: $(MAKE); $(unstage)
16096 @[ -f ./itcl/Makefile ] || exit 0; \
16097 r=`${PWD_COMMAND}`; export r; \
16098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16099 $(HOST_EXPORTS) \
16100 for flag in $(EXTRA_HOST_FLAGS) ; do \
16101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16102 done; \
16103 echo "Doing html in itcl" ; \
16104 (cd $(HOST_SUBDIR)/itcl && \
16105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16107 "RANLIB=$${RANLIB}" \
16108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16109 html) \
16110 || exit 1
16112 @endif itcl
16114 .PHONY: maybe-TAGS-itcl TAGS-itcl
16115 maybe-TAGS-itcl:
16116 @if itcl
16117 maybe-TAGS-itcl: TAGS-itcl
16119 TAGS-itcl: \
16120 configure-itcl
16121 @: $(MAKE); $(unstage)
16122 @[ -f ./itcl/Makefile ] || exit 0; \
16123 r=`${PWD_COMMAND}`; export r; \
16124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 $(HOST_EXPORTS) \
16126 for flag in $(EXTRA_HOST_FLAGS) ; do \
16127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16128 done; \
16129 echo "Doing TAGS in itcl" ; \
16130 (cd $(HOST_SUBDIR)/itcl && \
16131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16133 "RANLIB=$${RANLIB}" \
16134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16135 TAGS) \
16136 || exit 1
16138 @endif itcl
16140 .PHONY: maybe-install-info-itcl install-info-itcl
16141 maybe-install-info-itcl:
16142 @if itcl
16143 maybe-install-info-itcl: install-info-itcl
16145 install-info-itcl: \
16146 configure-itcl \
16147 info-itcl
16148 @: $(MAKE); $(unstage)
16149 @[ -f ./itcl/Makefile ] || exit 0; \
16150 r=`${PWD_COMMAND}`; export r; \
16151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16152 $(HOST_EXPORTS) \
16153 for flag in $(EXTRA_HOST_FLAGS) ; do \
16154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16155 done; \
16156 echo "Doing install-info in itcl" ; \
16157 (cd $(HOST_SUBDIR)/itcl && \
16158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16160 "RANLIB=$${RANLIB}" \
16161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16162 install-info) \
16163 || exit 1
16165 @endif itcl
16167 .PHONY: maybe-install-html-itcl install-html-itcl
16168 maybe-install-html-itcl:
16169 @if itcl
16170 maybe-install-html-itcl: install-html-itcl
16172 install-html-itcl: \
16173 configure-itcl \
16174 html-itcl
16175 @: $(MAKE); $(unstage)
16176 @[ -f ./itcl/Makefile ] || exit 0; \
16177 r=`${PWD_COMMAND}`; export r; \
16178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16179 $(HOST_EXPORTS) \
16180 for flag in $(EXTRA_HOST_FLAGS) ; do \
16181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16182 done; \
16183 echo "Doing install-html in itcl" ; \
16184 (cd $(HOST_SUBDIR)/itcl && \
16185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16187 "RANLIB=$${RANLIB}" \
16188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16189 install-html) \
16190 || exit 1
16192 @endif itcl
16194 .PHONY: maybe-installcheck-itcl installcheck-itcl
16195 maybe-installcheck-itcl:
16196 @if itcl
16197 maybe-installcheck-itcl: installcheck-itcl
16199 installcheck-itcl: \
16200 configure-itcl
16201 @: $(MAKE); $(unstage)
16202 @[ -f ./itcl/Makefile ] || exit 0; \
16203 r=`${PWD_COMMAND}`; export r; \
16204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16205 $(HOST_EXPORTS) \
16206 for flag in $(EXTRA_HOST_FLAGS) ; do \
16207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16208 done; \
16209 echo "Doing installcheck in itcl" ; \
16210 (cd $(HOST_SUBDIR)/itcl && \
16211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16213 "RANLIB=$${RANLIB}" \
16214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16215 installcheck) \
16216 || exit 1
16218 @endif itcl
16220 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
16221 maybe-mostlyclean-itcl:
16222 @if itcl
16223 maybe-mostlyclean-itcl: mostlyclean-itcl
16225 mostlyclean-itcl:
16226 @: $(MAKE); $(unstage)
16227 @[ -f ./itcl/Makefile ] || exit 0; \
16228 r=`${PWD_COMMAND}`; export r; \
16229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 $(HOST_EXPORTS) \
16231 for flag in $(EXTRA_HOST_FLAGS) ; do \
16232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16233 done; \
16234 echo "Doing mostlyclean in itcl" ; \
16235 (cd $(HOST_SUBDIR)/itcl && \
16236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16238 "RANLIB=$${RANLIB}" \
16239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16240 mostlyclean) \
16241 || exit 1
16243 @endif itcl
16245 .PHONY: maybe-clean-itcl clean-itcl
16246 maybe-clean-itcl:
16247 @if itcl
16248 maybe-clean-itcl: clean-itcl
16250 clean-itcl:
16251 @: $(MAKE); $(unstage)
16252 @[ -f ./itcl/Makefile ] || exit 0; \
16253 r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16255 $(HOST_EXPORTS) \
16256 for flag in $(EXTRA_HOST_FLAGS) ; do \
16257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16258 done; \
16259 echo "Doing clean in itcl" ; \
16260 (cd $(HOST_SUBDIR)/itcl && \
16261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16263 "RANLIB=$${RANLIB}" \
16264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16265 clean) \
16266 || exit 1
16268 @endif itcl
16270 .PHONY: maybe-distclean-itcl distclean-itcl
16271 maybe-distclean-itcl:
16272 @if itcl
16273 maybe-distclean-itcl: distclean-itcl
16275 distclean-itcl:
16276 @: $(MAKE); $(unstage)
16277 @[ -f ./itcl/Makefile ] || exit 0; \
16278 r=`${PWD_COMMAND}`; export r; \
16279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16280 $(HOST_EXPORTS) \
16281 for flag in $(EXTRA_HOST_FLAGS) ; do \
16282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16283 done; \
16284 echo "Doing distclean in itcl" ; \
16285 (cd $(HOST_SUBDIR)/itcl && \
16286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16288 "RANLIB=$${RANLIB}" \
16289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16290 distclean) \
16291 || exit 1
16293 @endif itcl
16295 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16296 maybe-maintainer-clean-itcl:
16297 @if itcl
16298 maybe-maintainer-clean-itcl: maintainer-clean-itcl
16300 maintainer-clean-itcl:
16301 @: $(MAKE); $(unstage)
16302 @[ -f ./itcl/Makefile ] || exit 0; \
16303 r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 $(HOST_EXPORTS) \
16306 for flag in $(EXTRA_HOST_FLAGS) ; do \
16307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16308 done; \
16309 echo "Doing maintainer-clean in itcl" ; \
16310 (cd $(HOST_SUBDIR)/itcl && \
16311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16313 "RANLIB=$${RANLIB}" \
16314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16315 maintainer-clean) \
16316 || exit 1
16318 @endif itcl
16322 .PHONY: configure-ld maybe-configure-ld
16323 maybe-configure-ld:
16324 @if ld
16325 maybe-configure-ld: configure-ld
16326 configure-ld:
16327 @endif ld
16328 @if ld-bootstrap
16329 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16330 @endif ld-bootstrap
16331 @if ld
16332 @r=`${PWD_COMMAND}`; export r; \
16333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16334 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16336 $(HOST_EXPORTS) \
16337 echo Configuring in $(HOST_SUBDIR)/ld; \
16338 cd "$(HOST_SUBDIR)/ld" || exit 1; \
16339 case $(srcdir) in \
16340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16341 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16343 esac; \
16344 srcdiroption="--srcdir=$${topdir}/ld"; \
16345 libsrcdir="$$s/ld"; \
16346 $(SHELL) $${libsrcdir}/configure \
16347 $(HOST_CONFIGARGS) $${srcdiroption} \
16348 || exit 1
16349 @endif ld
16353 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
16354 maybe-configure-stage1-ld:
16355 @if ld-bootstrap
16356 maybe-configure-stage1-ld: configure-stage1-ld
16357 configure-stage1-ld:
16358 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16360 @r=`${PWD_COMMAND}`; export r; \
16361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16362 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16363 $(HOST_EXPORTS) \
16364 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
16365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16366 cd $(HOST_SUBDIR)/ld || exit 1; \
16367 case $(srcdir) in \
16368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16369 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16371 esac; \
16372 srcdiroption="--srcdir=$${topdir}/ld"; \
16373 libsrcdir="$$s/ld"; \
16374 $(SHELL) $${libsrcdir}/configure \
16375 $(HOST_CONFIGARGS) $${srcdiroption} \
16376 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16377 @endif ld-bootstrap
16379 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
16380 maybe-configure-stage2-ld:
16381 @if ld-bootstrap
16382 maybe-configure-stage2-ld: configure-stage2-ld
16383 configure-stage2-ld:
16384 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16386 @r=`${PWD_COMMAND}`; export r; \
16387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16388 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16389 $(HOST_EXPORTS) \
16390 $(POSTSTAGE1_HOST_EXPORTS) \
16391 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
16392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16393 cd $(HOST_SUBDIR)/ld || exit 1; \
16394 case $(srcdir) in \
16395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16396 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16398 esac; \
16399 srcdiroption="--srcdir=$${topdir}/ld"; \
16400 libsrcdir="$$s/ld"; \
16401 $(SHELL) $${libsrcdir}/configure \
16402 $(HOST_CONFIGARGS) $${srcdiroption} \
16403 @stage2_werror_flag@
16404 @endif ld-bootstrap
16406 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
16407 maybe-configure-stage3-ld:
16408 @if ld-bootstrap
16409 maybe-configure-stage3-ld: configure-stage3-ld
16410 configure-stage3-ld:
16411 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16413 @r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16416 $(HOST_EXPORTS) \
16417 $(POSTSTAGE1_HOST_EXPORTS) \
16418 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
16419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16420 cd $(HOST_SUBDIR)/ld || exit 1; \
16421 case $(srcdir) in \
16422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16423 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16425 esac; \
16426 srcdiroption="--srcdir=$${topdir}/ld"; \
16427 libsrcdir="$$s/ld"; \
16428 $(SHELL) $${libsrcdir}/configure \
16429 $(HOST_CONFIGARGS) $${srcdiroption} \
16430 @stage2_werror_flag@
16431 @endif ld-bootstrap
16433 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
16434 maybe-configure-stage4-ld:
16435 @if ld-bootstrap
16436 maybe-configure-stage4-ld: configure-stage4-ld
16437 configure-stage4-ld:
16438 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16440 @r=`${PWD_COMMAND}`; export r; \
16441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16442 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16443 $(HOST_EXPORTS) \
16444 $(POSTSTAGE1_HOST_EXPORTS) \
16445 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
16446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16447 cd $(HOST_SUBDIR)/ld || exit 1; \
16448 case $(srcdir) in \
16449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16450 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16452 esac; \
16453 srcdiroption="--srcdir=$${topdir}/ld"; \
16454 libsrcdir="$$s/ld"; \
16455 $(SHELL) $${libsrcdir}/configure \
16456 $(HOST_CONFIGARGS) $${srcdiroption} \
16457 @stage2_werror_flag@
16458 @endif ld-bootstrap
16460 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
16461 maybe-configure-stageprofile-ld:
16462 @if ld-bootstrap
16463 maybe-configure-stageprofile-ld: configure-stageprofile-ld
16464 configure-stageprofile-ld:
16465 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16467 @r=`${PWD_COMMAND}`; export r; \
16468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16469 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16470 $(HOST_EXPORTS) \
16471 $(POSTSTAGE1_HOST_EXPORTS) \
16472 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
16473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16474 cd $(HOST_SUBDIR)/ld || exit 1; \
16475 case $(srcdir) in \
16476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16477 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16479 esac; \
16480 srcdiroption="--srcdir=$${topdir}/ld"; \
16481 libsrcdir="$$s/ld"; \
16482 $(SHELL) $${libsrcdir}/configure \
16483 $(HOST_CONFIGARGS) $${srcdiroption} \
16484 @stage2_werror_flag@
16485 @endif ld-bootstrap
16487 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
16488 maybe-configure-stagefeedback-ld:
16489 @if ld-bootstrap
16490 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
16491 configure-stagefeedback-ld:
16492 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16493 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16494 @r=`${PWD_COMMAND}`; export r; \
16495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16496 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16497 $(HOST_EXPORTS) \
16498 $(POSTSTAGE1_HOST_EXPORTS) \
16499 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
16500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16501 cd $(HOST_SUBDIR)/ld || exit 1; \
16502 case $(srcdir) in \
16503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16504 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16506 esac; \
16507 srcdiroption="--srcdir=$${topdir}/ld"; \
16508 libsrcdir="$$s/ld"; \
16509 $(SHELL) $${libsrcdir}/configure \
16510 $(HOST_CONFIGARGS) $${srcdiroption} \
16511 @stage2_werror_flag@
16512 @endif ld-bootstrap
16518 .PHONY: all-ld maybe-all-ld
16519 maybe-all-ld:
16520 @if ld
16521 TARGET-ld=all
16522 maybe-all-ld: all-ld
16523 all-ld: configure-ld
16524 @endif ld
16525 @if ld-bootstrap
16526 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16527 @endif ld-bootstrap
16528 @if ld
16529 @r=`${PWD_COMMAND}`; export r; \
16530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16531 $(HOST_EXPORTS) \
16532 (cd $(HOST_SUBDIR)/ld && \
16533 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
16534 @endif ld
16538 .PHONY: all-stage1-ld maybe-all-stage1-ld
16539 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
16540 maybe-all-stage1-ld:
16541 maybe-clean-stage1-ld:
16542 @if ld-bootstrap
16543 maybe-all-stage1-ld: all-stage1-ld
16544 all-stage1: all-stage1-ld
16545 TARGET-stage1-ld = $(TARGET-ld)
16546 all-stage1-ld: configure-stage1-ld
16547 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16553 $(TARGET-stage1-ld)
16555 maybe-clean-stage1-ld: clean-stage1-ld
16556 clean-stage1: clean-stage1-ld
16557 clean-stage1-ld:
16558 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
16559 || exit 0 ; \
16560 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16561 cd $(HOST_SUBDIR)/ld && \
16562 $(MAKE) $(FLAGS_TO_PASS) \
16563 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16564 @endif ld-bootstrap
16567 .PHONY: all-stage2-ld maybe-all-stage2-ld
16568 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
16569 maybe-all-stage2-ld:
16570 maybe-clean-stage2-ld:
16571 @if ld-bootstrap
16572 maybe-all-stage2-ld: all-stage2-ld
16573 all-stage2: all-stage2-ld
16574 TARGET-stage2-ld = $(TARGET-ld)
16575 all-stage2-ld: configure-stage2-ld
16576 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16577 @r=`${PWD_COMMAND}`; export r; \
16578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16579 $(HOST_EXPORTS) \
16580 $(POSTSTAGE1_HOST_EXPORTS) \
16581 cd $(HOST_SUBDIR)/ld && \
16582 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16583 $(TARGET-stage2-ld)
16585 maybe-clean-stage2-ld: clean-stage2-ld
16586 clean-stage2: clean-stage2-ld
16587 clean-stage2-ld:
16588 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
16589 || exit 0 ; \
16590 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16591 cd $(HOST_SUBDIR)/ld && \
16592 $(MAKE) $(FLAGS_TO_PASS) \
16593 $(POSTSTAGE1_FLAGS_TO_PASS) \
16594 clean
16595 @endif ld-bootstrap
16598 .PHONY: all-stage3-ld maybe-all-stage3-ld
16599 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
16600 maybe-all-stage3-ld:
16601 maybe-clean-stage3-ld:
16602 @if ld-bootstrap
16603 maybe-all-stage3-ld: all-stage3-ld
16604 all-stage3: all-stage3-ld
16605 TARGET-stage3-ld = $(TARGET-ld)
16606 all-stage3-ld: configure-stage3-ld
16607 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16608 @r=`${PWD_COMMAND}`; export r; \
16609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16610 $(HOST_EXPORTS) \
16611 $(POSTSTAGE1_HOST_EXPORTS) \
16612 cd $(HOST_SUBDIR)/ld && \
16613 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16614 $(TARGET-stage3-ld)
16616 maybe-clean-stage3-ld: clean-stage3-ld
16617 clean-stage3: clean-stage3-ld
16618 clean-stage3-ld:
16619 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
16620 || exit 0 ; \
16621 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16622 cd $(HOST_SUBDIR)/ld && \
16623 $(MAKE) $(FLAGS_TO_PASS) \
16624 $(POSTSTAGE1_FLAGS_TO_PASS) \
16625 clean
16626 @endif ld-bootstrap
16629 .PHONY: all-stage4-ld maybe-all-stage4-ld
16630 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
16631 maybe-all-stage4-ld:
16632 maybe-clean-stage4-ld:
16633 @if ld-bootstrap
16634 maybe-all-stage4-ld: all-stage4-ld
16635 all-stage4: all-stage4-ld
16636 TARGET-stage4-ld = $(TARGET-ld)
16637 all-stage4-ld: configure-stage4-ld
16638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16639 @r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 $(HOST_EXPORTS) \
16642 $(POSTSTAGE1_HOST_EXPORTS) \
16643 cd $(HOST_SUBDIR)/ld && \
16644 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16645 $(TARGET-stage4-ld)
16647 maybe-clean-stage4-ld: clean-stage4-ld
16648 clean-stage4: clean-stage4-ld
16649 clean-stage4-ld:
16650 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
16651 || exit 0 ; \
16652 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16653 cd $(HOST_SUBDIR)/ld && \
16654 $(MAKE) $(FLAGS_TO_PASS) \
16655 $(POSTSTAGE1_FLAGS_TO_PASS) \
16656 clean
16657 @endif ld-bootstrap
16660 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
16661 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
16662 maybe-all-stageprofile-ld:
16663 maybe-clean-stageprofile-ld:
16664 @if ld-bootstrap
16665 maybe-all-stageprofile-ld: all-stageprofile-ld
16666 all-stageprofile: all-stageprofile-ld
16667 TARGET-stageprofile-ld = $(TARGET-ld)
16668 all-stageprofile-ld: configure-stageprofile-ld
16669 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16670 @r=`${PWD_COMMAND}`; export r; \
16671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16672 $(HOST_EXPORTS) \
16673 $(POSTSTAGE1_HOST_EXPORTS) \
16674 cd $(HOST_SUBDIR)/ld && \
16675 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16676 $(TARGET-stageprofile-ld)
16678 maybe-clean-stageprofile-ld: clean-stageprofile-ld
16679 clean-stageprofile: clean-stageprofile-ld
16680 clean-stageprofile-ld:
16681 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
16682 || exit 0 ; \
16683 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16684 cd $(HOST_SUBDIR)/ld && \
16685 $(MAKE) $(FLAGS_TO_PASS) \
16686 $(POSTSTAGE1_FLAGS_TO_PASS) \
16687 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16688 @endif ld-bootstrap
16691 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
16692 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
16693 maybe-all-stagefeedback-ld:
16694 maybe-clean-stagefeedback-ld:
16695 @if ld-bootstrap
16696 maybe-all-stagefeedback-ld: all-stagefeedback-ld
16697 all-stagefeedback: all-stagefeedback-ld
16698 TARGET-stagefeedback-ld = $(TARGET-ld)
16699 all-stagefeedback-ld: configure-stagefeedback-ld
16700 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16701 @r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 $(HOST_EXPORTS) \
16704 $(POSTSTAGE1_HOST_EXPORTS) \
16705 cd $(HOST_SUBDIR)/ld && \
16706 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16707 $(TARGET-stagefeedback-ld)
16709 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
16710 clean-stagefeedback: clean-stagefeedback-ld
16711 clean-stagefeedback-ld:
16712 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
16713 || exit 0 ; \
16714 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16715 cd $(HOST_SUBDIR)/ld && \
16716 $(MAKE) $(FLAGS_TO_PASS) \
16717 $(POSTSTAGE1_FLAGS_TO_PASS) \
16718 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16719 @endif ld-bootstrap
16725 .PHONY: check-ld maybe-check-ld
16726 maybe-check-ld:
16727 @if ld
16728 maybe-check-ld: check-ld
16730 check-ld:
16731 @: $(MAKE); $(unstage)
16732 @r=`${PWD_COMMAND}`; export r; \
16733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 $(HOST_EXPORTS) \
16735 (cd $(HOST_SUBDIR)/ld && \
16736 $(MAKE) $(FLAGS_TO_PASS) check)
16738 @endif ld
16740 .PHONY: install-ld maybe-install-ld
16741 maybe-install-ld:
16742 @if ld
16743 maybe-install-ld: install-ld
16745 install-ld: installdirs
16746 @: $(MAKE); $(unstage)
16747 @r=`${PWD_COMMAND}`; export r; \
16748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16749 $(HOST_EXPORTS) \
16750 (cd $(HOST_SUBDIR)/ld && \
16751 $(MAKE) $(FLAGS_TO_PASS) install)
16753 @endif ld
16755 # Other targets (info, dvi, etc.)
16757 .PHONY: maybe-info-ld info-ld
16758 maybe-info-ld:
16759 @if ld
16760 maybe-info-ld: info-ld
16762 info-ld: \
16763 configure-ld
16764 @[ -f ./ld/Makefile ] || exit 0; \
16765 r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(HOST_EXPORTS) \
16768 for flag in $(EXTRA_HOST_FLAGS) ; do \
16769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16770 done; \
16771 echo "Doing info in ld" ; \
16772 (cd $(HOST_SUBDIR)/ld && \
16773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16775 "RANLIB=$${RANLIB}" \
16776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16777 info) \
16778 || exit 1
16780 @endif ld
16782 .PHONY: maybe-dvi-ld dvi-ld
16783 maybe-dvi-ld:
16784 @if ld
16785 maybe-dvi-ld: dvi-ld
16787 dvi-ld: \
16788 configure-ld
16789 @[ -f ./ld/Makefile ] || exit 0; \
16790 r=`${PWD_COMMAND}`; export r; \
16791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16792 $(HOST_EXPORTS) \
16793 for flag in $(EXTRA_HOST_FLAGS) ; do \
16794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16795 done; \
16796 echo "Doing dvi in ld" ; \
16797 (cd $(HOST_SUBDIR)/ld && \
16798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800 "RANLIB=$${RANLIB}" \
16801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16802 dvi) \
16803 || exit 1
16805 @endif ld
16807 .PHONY: maybe-html-ld html-ld
16808 maybe-html-ld:
16809 @if ld
16810 maybe-html-ld: html-ld
16812 html-ld: \
16813 configure-ld
16814 @[ -f ./ld/Makefile ] || exit 0; \
16815 r=`${PWD_COMMAND}`; export r; \
16816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16817 $(HOST_EXPORTS) \
16818 for flag in $(EXTRA_HOST_FLAGS) ; do \
16819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16820 done; \
16821 echo "Doing html in ld" ; \
16822 (cd $(HOST_SUBDIR)/ld && \
16823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16825 "RANLIB=$${RANLIB}" \
16826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16827 html) \
16828 || exit 1
16830 @endif ld
16832 .PHONY: maybe-TAGS-ld TAGS-ld
16833 maybe-TAGS-ld:
16834 @if ld
16835 maybe-TAGS-ld: TAGS-ld
16837 TAGS-ld: \
16838 configure-ld
16839 @[ -f ./ld/Makefile ] || exit 0; \
16840 r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 for flag in $(EXTRA_HOST_FLAGS) ; do \
16844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16845 done; \
16846 echo "Doing TAGS in ld" ; \
16847 (cd $(HOST_SUBDIR)/ld && \
16848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850 "RANLIB=$${RANLIB}" \
16851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16852 TAGS) \
16853 || exit 1
16855 @endif ld
16857 .PHONY: maybe-install-info-ld install-info-ld
16858 maybe-install-info-ld:
16859 @if ld
16860 maybe-install-info-ld: install-info-ld
16862 install-info-ld: \
16863 configure-ld \
16864 info-ld
16865 @[ -f ./ld/Makefile ] || exit 0; \
16866 r=`${PWD_COMMAND}`; export r; \
16867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16868 $(HOST_EXPORTS) \
16869 for flag in $(EXTRA_HOST_FLAGS) ; do \
16870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16871 done; \
16872 echo "Doing install-info in ld" ; \
16873 (cd $(HOST_SUBDIR)/ld && \
16874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16876 "RANLIB=$${RANLIB}" \
16877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16878 install-info) \
16879 || exit 1
16881 @endif ld
16883 .PHONY: maybe-install-html-ld install-html-ld
16884 maybe-install-html-ld:
16885 @if ld
16886 maybe-install-html-ld: install-html-ld
16888 install-html-ld: \
16889 configure-ld \
16890 html-ld
16891 @[ -f ./ld/Makefile ] || exit 0; \
16892 r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16894 $(HOST_EXPORTS) \
16895 for flag in $(EXTRA_HOST_FLAGS) ; do \
16896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16897 done; \
16898 echo "Doing install-html in ld" ; \
16899 (cd $(HOST_SUBDIR)/ld && \
16900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16902 "RANLIB=$${RANLIB}" \
16903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16904 install-html) \
16905 || exit 1
16907 @endif ld
16909 .PHONY: maybe-installcheck-ld installcheck-ld
16910 maybe-installcheck-ld:
16911 @if ld
16912 maybe-installcheck-ld: installcheck-ld
16914 installcheck-ld: \
16915 configure-ld
16916 @[ -f ./ld/Makefile ] || exit 0; \
16917 r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 $(HOST_EXPORTS) \
16920 for flag in $(EXTRA_HOST_FLAGS) ; do \
16921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 done; \
16923 echo "Doing installcheck in ld" ; \
16924 (cd $(HOST_SUBDIR)/ld && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16927 "RANLIB=$${RANLIB}" \
16928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16929 installcheck) \
16930 || exit 1
16932 @endif ld
16934 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
16935 maybe-mostlyclean-ld:
16936 @if ld
16937 maybe-mostlyclean-ld: mostlyclean-ld
16939 mostlyclean-ld:
16940 @[ -f ./ld/Makefile ] || exit 0; \
16941 r=`${PWD_COMMAND}`; export r; \
16942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16943 $(HOST_EXPORTS) \
16944 for flag in $(EXTRA_HOST_FLAGS) ; do \
16945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16946 done; \
16947 echo "Doing mostlyclean in ld" ; \
16948 (cd $(HOST_SUBDIR)/ld && \
16949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16951 "RANLIB=$${RANLIB}" \
16952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16953 mostlyclean) \
16954 || exit 1
16956 @endif ld
16958 .PHONY: maybe-clean-ld clean-ld
16959 maybe-clean-ld:
16960 @if ld
16961 maybe-clean-ld: clean-ld
16963 clean-ld:
16964 @[ -f ./ld/Makefile ] || exit 0; \
16965 r=`${PWD_COMMAND}`; export r; \
16966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16967 $(HOST_EXPORTS) \
16968 for flag in $(EXTRA_HOST_FLAGS) ; do \
16969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16970 done; \
16971 echo "Doing clean in ld" ; \
16972 (cd $(HOST_SUBDIR)/ld && \
16973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16975 "RANLIB=$${RANLIB}" \
16976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16977 clean) \
16978 || exit 1
16980 @endif ld
16982 .PHONY: maybe-distclean-ld distclean-ld
16983 maybe-distclean-ld:
16984 @if ld
16985 maybe-distclean-ld: distclean-ld
16987 distclean-ld:
16988 @[ -f ./ld/Makefile ] || exit 0; \
16989 r=`${PWD_COMMAND}`; export r; \
16990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16991 $(HOST_EXPORTS) \
16992 for flag in $(EXTRA_HOST_FLAGS) ; do \
16993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16994 done; \
16995 echo "Doing distclean in ld" ; \
16996 (cd $(HOST_SUBDIR)/ld && \
16997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16999 "RANLIB=$${RANLIB}" \
17000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17001 distclean) \
17002 || exit 1
17004 @endif ld
17006 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
17007 maybe-maintainer-clean-ld:
17008 @if ld
17009 maybe-maintainer-clean-ld: maintainer-clean-ld
17011 maintainer-clean-ld:
17012 @[ -f ./ld/Makefile ] || exit 0; \
17013 r=`${PWD_COMMAND}`; export r; \
17014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17015 $(HOST_EXPORTS) \
17016 for flag in $(EXTRA_HOST_FLAGS) ; do \
17017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17018 done; \
17019 echo "Doing maintainer-clean in ld" ; \
17020 (cd $(HOST_SUBDIR)/ld && \
17021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17023 "RANLIB=$${RANLIB}" \
17024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17025 maintainer-clean) \
17026 || exit 1
17028 @endif ld
17032 .PHONY: configure-libcpp maybe-configure-libcpp
17033 maybe-configure-libcpp:
17034 @if libcpp
17035 maybe-configure-libcpp: configure-libcpp
17036 configure-libcpp:
17037 @endif libcpp
17038 @if libcpp-bootstrap
17039 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17040 @endif libcpp-bootstrap
17041 @if libcpp
17042 @r=`${PWD_COMMAND}`; export r; \
17043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17044 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17046 $(HOST_EXPORTS) \
17047 echo Configuring in $(HOST_SUBDIR)/libcpp; \
17048 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
17049 case $(srcdir) in \
17050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17051 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17053 esac; \
17054 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17055 libsrcdir="$$s/libcpp"; \
17056 $(SHELL) $${libsrcdir}/configure \
17057 $(HOST_CONFIGARGS) $${srcdiroption} \
17058 || exit 1
17059 @endif libcpp
17063 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
17064 maybe-configure-stage1-libcpp:
17065 @if libcpp-bootstrap
17066 maybe-configure-stage1-libcpp: configure-stage1-libcpp
17067 configure-stage1-libcpp:
17068 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17070 @r=`${PWD_COMMAND}`; export r; \
17071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17072 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17073 $(HOST_EXPORTS) \
17074 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
17075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17076 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17077 case $(srcdir) in \
17078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17079 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17081 esac; \
17082 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17083 libsrcdir="$$s/libcpp"; \
17084 $(SHELL) $${libsrcdir}/configure \
17085 $(HOST_CONFIGARGS) $${srcdiroption} \
17086 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17087 @endif libcpp-bootstrap
17089 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
17090 maybe-configure-stage2-libcpp:
17091 @if libcpp-bootstrap
17092 maybe-configure-stage2-libcpp: configure-stage2-libcpp
17093 configure-stage2-libcpp:
17094 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17096 @r=`${PWD_COMMAND}`; export r; \
17097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17098 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17099 $(HOST_EXPORTS) \
17100 $(POSTSTAGE1_HOST_EXPORTS) \
17101 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
17102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17103 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17104 case $(srcdir) in \
17105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17106 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17108 esac; \
17109 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17110 libsrcdir="$$s/libcpp"; \
17111 $(SHELL) $${libsrcdir}/configure \
17112 $(HOST_CONFIGARGS) $${srcdiroption} \
17113 @stage2_werror_flag@
17114 @endif libcpp-bootstrap
17116 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
17117 maybe-configure-stage3-libcpp:
17118 @if libcpp-bootstrap
17119 maybe-configure-stage3-libcpp: configure-stage3-libcpp
17120 configure-stage3-libcpp:
17121 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17123 @r=`${PWD_COMMAND}`; export r; \
17124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17125 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17126 $(HOST_EXPORTS) \
17127 $(POSTSTAGE1_HOST_EXPORTS) \
17128 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
17129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17130 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17131 case $(srcdir) in \
17132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17133 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17135 esac; \
17136 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17137 libsrcdir="$$s/libcpp"; \
17138 $(SHELL) $${libsrcdir}/configure \
17139 $(HOST_CONFIGARGS) $${srcdiroption} \
17140 @stage2_werror_flag@
17141 @endif libcpp-bootstrap
17143 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
17144 maybe-configure-stage4-libcpp:
17145 @if libcpp-bootstrap
17146 maybe-configure-stage4-libcpp: configure-stage4-libcpp
17147 configure-stage4-libcpp:
17148 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17150 @r=`${PWD_COMMAND}`; export r; \
17151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17152 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17153 $(HOST_EXPORTS) \
17154 $(POSTSTAGE1_HOST_EXPORTS) \
17155 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
17156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17157 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17158 case $(srcdir) in \
17159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17160 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17162 esac; \
17163 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17164 libsrcdir="$$s/libcpp"; \
17165 $(SHELL) $${libsrcdir}/configure \
17166 $(HOST_CONFIGARGS) $${srcdiroption} \
17167 @stage2_werror_flag@
17168 @endif libcpp-bootstrap
17170 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
17171 maybe-configure-stageprofile-libcpp:
17172 @if libcpp-bootstrap
17173 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
17174 configure-stageprofile-libcpp:
17175 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17177 @r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17180 $(HOST_EXPORTS) \
17181 $(POSTSTAGE1_HOST_EXPORTS) \
17182 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
17183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17184 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17185 case $(srcdir) in \
17186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17187 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17189 esac; \
17190 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17191 libsrcdir="$$s/libcpp"; \
17192 $(SHELL) $${libsrcdir}/configure \
17193 $(HOST_CONFIGARGS) $${srcdiroption} \
17194 @stage2_werror_flag@
17195 @endif libcpp-bootstrap
17197 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
17198 maybe-configure-stagefeedback-libcpp:
17199 @if libcpp-bootstrap
17200 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
17201 configure-stagefeedback-libcpp:
17202 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17204 @r=`${PWD_COMMAND}`; export r; \
17205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17206 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17207 $(HOST_EXPORTS) \
17208 $(POSTSTAGE1_HOST_EXPORTS) \
17209 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
17210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17211 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17212 case $(srcdir) in \
17213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17214 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17216 esac; \
17217 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17218 libsrcdir="$$s/libcpp"; \
17219 $(SHELL) $${libsrcdir}/configure \
17220 $(HOST_CONFIGARGS) $${srcdiroption} \
17221 @stage2_werror_flag@
17222 @endif libcpp-bootstrap
17228 .PHONY: all-libcpp maybe-all-libcpp
17229 maybe-all-libcpp:
17230 @if libcpp
17231 TARGET-libcpp=all
17232 maybe-all-libcpp: all-libcpp
17233 all-libcpp: configure-libcpp
17234 @endif libcpp
17235 @if libcpp-bootstrap
17236 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17237 @endif libcpp-bootstrap
17238 @if libcpp
17239 @r=`${PWD_COMMAND}`; export r; \
17240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17241 $(HOST_EXPORTS) \
17242 (cd $(HOST_SUBDIR)/libcpp && \
17243 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
17244 @endif libcpp
17248 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
17249 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
17250 maybe-all-stage1-libcpp:
17251 maybe-clean-stage1-libcpp:
17252 @if libcpp-bootstrap
17253 maybe-all-stage1-libcpp: all-stage1-libcpp
17254 all-stage1: all-stage1-libcpp
17255 TARGET-stage1-libcpp = $(TARGET-libcpp)
17256 all-stage1-libcpp: configure-stage1-libcpp
17257 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17263 $(TARGET-stage1-libcpp)
17265 maybe-clean-stage1-libcpp: clean-stage1-libcpp
17266 clean-stage1: clean-stage1-libcpp
17267 clean-stage1-libcpp:
17268 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
17269 || exit 0 ; \
17270 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17271 cd $(HOST_SUBDIR)/libcpp && \
17272 $(MAKE) $(FLAGS_TO_PASS) \
17273 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17274 @endif libcpp-bootstrap
17277 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
17278 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
17279 maybe-all-stage2-libcpp:
17280 maybe-clean-stage2-libcpp:
17281 @if libcpp-bootstrap
17282 maybe-all-stage2-libcpp: all-stage2-libcpp
17283 all-stage2: all-stage2-libcpp
17284 TARGET-stage2-libcpp = $(TARGET-libcpp)
17285 all-stage2-libcpp: configure-stage2-libcpp
17286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17287 @r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289 $(HOST_EXPORTS) \
17290 $(POSTSTAGE1_HOST_EXPORTS) \
17291 cd $(HOST_SUBDIR)/libcpp && \
17292 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17293 $(TARGET-stage2-libcpp)
17295 maybe-clean-stage2-libcpp: clean-stage2-libcpp
17296 clean-stage2: clean-stage2-libcpp
17297 clean-stage2-libcpp:
17298 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
17299 || exit 0 ; \
17300 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17301 cd $(HOST_SUBDIR)/libcpp && \
17302 $(MAKE) $(FLAGS_TO_PASS) \
17303 $(POSTSTAGE1_FLAGS_TO_PASS) \
17304 clean
17305 @endif libcpp-bootstrap
17308 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
17309 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
17310 maybe-all-stage3-libcpp:
17311 maybe-clean-stage3-libcpp:
17312 @if libcpp-bootstrap
17313 maybe-all-stage3-libcpp: all-stage3-libcpp
17314 all-stage3: all-stage3-libcpp
17315 TARGET-stage3-libcpp = $(TARGET-libcpp)
17316 all-stage3-libcpp: configure-stage3-libcpp
17317 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17318 @r=`${PWD_COMMAND}`; export r; \
17319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17320 $(HOST_EXPORTS) \
17321 $(POSTSTAGE1_HOST_EXPORTS) \
17322 cd $(HOST_SUBDIR)/libcpp && \
17323 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17324 $(TARGET-stage3-libcpp)
17326 maybe-clean-stage3-libcpp: clean-stage3-libcpp
17327 clean-stage3: clean-stage3-libcpp
17328 clean-stage3-libcpp:
17329 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
17330 || exit 0 ; \
17331 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17332 cd $(HOST_SUBDIR)/libcpp && \
17333 $(MAKE) $(FLAGS_TO_PASS) \
17334 $(POSTSTAGE1_FLAGS_TO_PASS) \
17335 clean
17336 @endif libcpp-bootstrap
17339 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
17340 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
17341 maybe-all-stage4-libcpp:
17342 maybe-clean-stage4-libcpp:
17343 @if libcpp-bootstrap
17344 maybe-all-stage4-libcpp: all-stage4-libcpp
17345 all-stage4: all-stage4-libcpp
17346 TARGET-stage4-libcpp = $(TARGET-libcpp)
17347 all-stage4-libcpp: configure-stage4-libcpp
17348 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17349 @r=`${PWD_COMMAND}`; export r; \
17350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17351 $(HOST_EXPORTS) \
17352 $(POSTSTAGE1_HOST_EXPORTS) \
17353 cd $(HOST_SUBDIR)/libcpp && \
17354 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17355 $(TARGET-stage4-libcpp)
17357 maybe-clean-stage4-libcpp: clean-stage4-libcpp
17358 clean-stage4: clean-stage4-libcpp
17359 clean-stage4-libcpp:
17360 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
17361 || exit 0 ; \
17362 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17363 cd $(HOST_SUBDIR)/libcpp && \
17364 $(MAKE) $(FLAGS_TO_PASS) \
17365 $(POSTSTAGE1_FLAGS_TO_PASS) \
17366 clean
17367 @endif libcpp-bootstrap
17370 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
17371 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
17372 maybe-all-stageprofile-libcpp:
17373 maybe-clean-stageprofile-libcpp:
17374 @if libcpp-bootstrap
17375 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
17376 all-stageprofile: all-stageprofile-libcpp
17377 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
17378 all-stageprofile-libcpp: configure-stageprofile-libcpp
17379 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17380 @r=`${PWD_COMMAND}`; export r; \
17381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17382 $(HOST_EXPORTS) \
17383 $(POSTSTAGE1_HOST_EXPORTS) \
17384 cd $(HOST_SUBDIR)/libcpp && \
17385 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17386 $(TARGET-stageprofile-libcpp)
17388 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
17389 clean-stageprofile: clean-stageprofile-libcpp
17390 clean-stageprofile-libcpp:
17391 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
17392 || exit 0 ; \
17393 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17394 cd $(HOST_SUBDIR)/libcpp && \
17395 $(MAKE) $(FLAGS_TO_PASS) \
17396 $(POSTSTAGE1_FLAGS_TO_PASS) \
17397 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17398 @endif libcpp-bootstrap
17401 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
17402 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
17403 maybe-all-stagefeedback-libcpp:
17404 maybe-clean-stagefeedback-libcpp:
17405 @if libcpp-bootstrap
17406 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
17407 all-stagefeedback: all-stagefeedback-libcpp
17408 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
17409 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
17410 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17411 @r=`${PWD_COMMAND}`; export r; \
17412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17413 $(HOST_EXPORTS) \
17414 $(POSTSTAGE1_HOST_EXPORTS) \
17415 cd $(HOST_SUBDIR)/libcpp && \
17416 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17417 $(TARGET-stagefeedback-libcpp)
17419 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
17420 clean-stagefeedback: clean-stagefeedback-libcpp
17421 clean-stagefeedback-libcpp:
17422 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
17423 || exit 0 ; \
17424 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17425 cd $(HOST_SUBDIR)/libcpp && \
17426 $(MAKE) $(FLAGS_TO_PASS) \
17427 $(POSTSTAGE1_FLAGS_TO_PASS) \
17428 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17429 @endif libcpp-bootstrap
17435 .PHONY: check-libcpp maybe-check-libcpp
17436 maybe-check-libcpp:
17437 @if libcpp
17438 maybe-check-libcpp: check-libcpp
17440 check-libcpp:
17441 @: $(MAKE); $(unstage)
17442 @r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 $(HOST_EXPORTS) \
17445 (cd $(HOST_SUBDIR)/libcpp && \
17446 $(MAKE) $(FLAGS_TO_PASS) check)
17448 @endif libcpp
17450 .PHONY: install-libcpp maybe-install-libcpp
17451 maybe-install-libcpp:
17452 @if libcpp
17453 maybe-install-libcpp: install-libcpp
17455 install-libcpp: installdirs
17456 @: $(MAKE); $(unstage)
17457 @r=`${PWD_COMMAND}`; export r; \
17458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17459 $(HOST_EXPORTS) \
17460 (cd $(HOST_SUBDIR)/libcpp && \
17461 $(MAKE) $(FLAGS_TO_PASS) install)
17463 @endif libcpp
17465 # Other targets (info, dvi, etc.)
17467 .PHONY: maybe-info-libcpp info-libcpp
17468 maybe-info-libcpp:
17469 @if libcpp
17470 maybe-info-libcpp: info-libcpp
17472 info-libcpp: \
17473 configure-libcpp
17474 @[ -f ./libcpp/Makefile ] || exit 0; \
17475 r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 for flag in $(EXTRA_HOST_FLAGS) ; do \
17479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17480 done; \
17481 echo "Doing info in libcpp" ; \
17482 (cd $(HOST_SUBDIR)/libcpp && \
17483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17485 "RANLIB=$${RANLIB}" \
17486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17487 info) \
17488 || exit 1
17490 @endif libcpp
17492 .PHONY: maybe-dvi-libcpp dvi-libcpp
17493 maybe-dvi-libcpp:
17494 @if libcpp
17495 maybe-dvi-libcpp: dvi-libcpp
17497 dvi-libcpp: \
17498 configure-libcpp
17499 @[ -f ./libcpp/Makefile ] || exit 0; \
17500 r=`${PWD_COMMAND}`; export r; \
17501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17502 $(HOST_EXPORTS) \
17503 for flag in $(EXTRA_HOST_FLAGS) ; do \
17504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17505 done; \
17506 echo "Doing dvi in libcpp" ; \
17507 (cd $(HOST_SUBDIR)/libcpp && \
17508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17510 "RANLIB=$${RANLIB}" \
17511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17512 dvi) \
17513 || exit 1
17515 @endif libcpp
17517 .PHONY: maybe-html-libcpp html-libcpp
17518 maybe-html-libcpp:
17519 @if libcpp
17520 maybe-html-libcpp: html-libcpp
17522 html-libcpp: \
17523 configure-libcpp
17524 @[ -f ./libcpp/Makefile ] || exit 0; \
17525 r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 $(HOST_EXPORTS) \
17528 for flag in $(EXTRA_HOST_FLAGS) ; do \
17529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17530 done; \
17531 echo "Doing html in libcpp" ; \
17532 (cd $(HOST_SUBDIR)/libcpp && \
17533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17535 "RANLIB=$${RANLIB}" \
17536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17537 html) \
17538 || exit 1
17540 @endif libcpp
17542 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
17543 maybe-TAGS-libcpp:
17544 @if libcpp
17545 maybe-TAGS-libcpp: TAGS-libcpp
17547 TAGS-libcpp: \
17548 configure-libcpp
17549 @[ -f ./libcpp/Makefile ] || exit 0; \
17550 r=`${PWD_COMMAND}`; export r; \
17551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17552 $(HOST_EXPORTS) \
17553 for flag in $(EXTRA_HOST_FLAGS) ; do \
17554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17555 done; \
17556 echo "Doing TAGS in libcpp" ; \
17557 (cd $(HOST_SUBDIR)/libcpp && \
17558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17560 "RANLIB=$${RANLIB}" \
17561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17562 TAGS) \
17563 || exit 1
17565 @endif libcpp
17567 .PHONY: maybe-install-info-libcpp install-info-libcpp
17568 maybe-install-info-libcpp:
17569 @if libcpp
17570 maybe-install-info-libcpp: install-info-libcpp
17572 install-info-libcpp: \
17573 configure-libcpp \
17574 info-libcpp
17575 @[ -f ./libcpp/Makefile ] || exit 0; \
17576 r=`${PWD_COMMAND}`; export r; \
17577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17578 $(HOST_EXPORTS) \
17579 for flag in $(EXTRA_HOST_FLAGS) ; do \
17580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17581 done; \
17582 echo "Doing install-info in libcpp" ; \
17583 (cd $(HOST_SUBDIR)/libcpp && \
17584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17586 "RANLIB=$${RANLIB}" \
17587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17588 install-info) \
17589 || exit 1
17591 @endif libcpp
17593 .PHONY: maybe-install-html-libcpp install-html-libcpp
17594 maybe-install-html-libcpp:
17595 @if libcpp
17596 maybe-install-html-libcpp: install-html-libcpp
17598 install-html-libcpp: \
17599 configure-libcpp \
17600 html-libcpp
17601 @[ -f ./libcpp/Makefile ] || exit 0; \
17602 r=`${PWD_COMMAND}`; export r; \
17603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 $(HOST_EXPORTS) \
17605 for flag in $(EXTRA_HOST_FLAGS) ; do \
17606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17607 done; \
17608 echo "Doing install-html in libcpp" ; \
17609 (cd $(HOST_SUBDIR)/libcpp && \
17610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17612 "RANLIB=$${RANLIB}" \
17613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17614 install-html) \
17615 || exit 1
17617 @endif libcpp
17619 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
17620 maybe-installcheck-libcpp:
17621 @if libcpp
17622 maybe-installcheck-libcpp: installcheck-libcpp
17624 installcheck-libcpp: \
17625 configure-libcpp
17626 @[ -f ./libcpp/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(HOST_EXPORTS) \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17632 done; \
17633 echo "Doing installcheck in libcpp" ; \
17634 (cd $(HOST_SUBDIR)/libcpp && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17637 "RANLIB=$${RANLIB}" \
17638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17639 installcheck) \
17640 || exit 1
17642 @endif libcpp
17644 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
17645 maybe-mostlyclean-libcpp:
17646 @if libcpp
17647 maybe-mostlyclean-libcpp: mostlyclean-libcpp
17649 mostlyclean-libcpp:
17650 @[ -f ./libcpp/Makefile ] || exit 0; \
17651 r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 $(HOST_EXPORTS) \
17654 for flag in $(EXTRA_HOST_FLAGS) ; do \
17655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17656 done; \
17657 echo "Doing mostlyclean in libcpp" ; \
17658 (cd $(HOST_SUBDIR)/libcpp && \
17659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17661 "RANLIB=$${RANLIB}" \
17662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17663 mostlyclean) \
17664 || exit 1
17666 @endif libcpp
17668 .PHONY: maybe-clean-libcpp clean-libcpp
17669 maybe-clean-libcpp:
17670 @if libcpp
17671 maybe-clean-libcpp: clean-libcpp
17673 clean-libcpp:
17674 @[ -f ./libcpp/Makefile ] || exit 0; \
17675 r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17677 $(HOST_EXPORTS) \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17680 done; \
17681 echo "Doing clean in libcpp" ; \
17682 (cd $(HOST_SUBDIR)/libcpp && \
17683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17685 "RANLIB=$${RANLIB}" \
17686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17687 clean) \
17688 || exit 1
17690 @endif libcpp
17692 .PHONY: maybe-distclean-libcpp distclean-libcpp
17693 maybe-distclean-libcpp:
17694 @if libcpp
17695 maybe-distclean-libcpp: distclean-libcpp
17697 distclean-libcpp:
17698 @[ -f ./libcpp/Makefile ] || exit 0; \
17699 r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701 $(HOST_EXPORTS) \
17702 for flag in $(EXTRA_HOST_FLAGS) ; do \
17703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17704 done; \
17705 echo "Doing distclean in libcpp" ; \
17706 (cd $(HOST_SUBDIR)/libcpp && \
17707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17709 "RANLIB=$${RANLIB}" \
17710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17711 distclean) \
17712 || exit 1
17714 @endif libcpp
17716 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
17717 maybe-maintainer-clean-libcpp:
17718 @if libcpp
17719 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
17721 maintainer-clean-libcpp:
17722 @[ -f ./libcpp/Makefile ] || exit 0; \
17723 r=`${PWD_COMMAND}`; export r; \
17724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17725 $(HOST_EXPORTS) \
17726 for flag in $(EXTRA_HOST_FLAGS) ; do \
17727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17728 done; \
17729 echo "Doing maintainer-clean in libcpp" ; \
17730 (cd $(HOST_SUBDIR)/libcpp && \
17731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17733 "RANLIB=$${RANLIB}" \
17734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17735 maintainer-clean) \
17736 || exit 1
17738 @endif libcpp
17742 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
17743 maybe-configure-libdecnumber:
17744 @if libdecnumber
17745 maybe-configure-libdecnumber: configure-libdecnumber
17746 configure-libdecnumber:
17747 @endif libdecnumber
17748 @if libdecnumber-bootstrap
17749 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17750 @endif libdecnumber-bootstrap
17751 @if libdecnumber
17752 @r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17756 $(HOST_EXPORTS) \
17757 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
17758 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
17759 case $(srcdir) in \
17760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17761 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17763 esac; \
17764 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17765 libsrcdir="$$s/libdecnumber"; \
17766 $(SHELL) $${libsrcdir}/configure \
17767 $(HOST_CONFIGARGS) $${srcdiroption} \
17768 || exit 1
17769 @endif libdecnumber
17773 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
17774 maybe-configure-stage1-libdecnumber:
17775 @if libdecnumber-bootstrap
17776 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
17777 configure-stage1-libdecnumber:
17778 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17780 @r=`${PWD_COMMAND}`; export r; \
17781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17782 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17783 $(HOST_EXPORTS) \
17784 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
17785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17786 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17787 case $(srcdir) in \
17788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17789 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17791 esac; \
17792 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17793 libsrcdir="$$s/libdecnumber"; \
17794 $(SHELL) $${libsrcdir}/configure \
17795 $(HOST_CONFIGARGS) $${srcdiroption} \
17796 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17797 @endif libdecnumber-bootstrap
17799 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
17800 maybe-configure-stage2-libdecnumber:
17801 @if libdecnumber-bootstrap
17802 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
17803 configure-stage2-libdecnumber:
17804 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17805 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17806 @r=`${PWD_COMMAND}`; export r; \
17807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17808 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17809 $(HOST_EXPORTS) \
17810 $(POSTSTAGE1_HOST_EXPORTS) \
17811 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
17812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17813 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17814 case $(srcdir) in \
17815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17816 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17818 esac; \
17819 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17820 libsrcdir="$$s/libdecnumber"; \
17821 $(SHELL) $${libsrcdir}/configure \
17822 $(HOST_CONFIGARGS) $${srcdiroption} \
17823 @stage2_werror_flag@
17824 @endif libdecnumber-bootstrap
17826 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
17827 maybe-configure-stage3-libdecnumber:
17828 @if libdecnumber-bootstrap
17829 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
17830 configure-stage3-libdecnumber:
17831 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17833 @r=`${PWD_COMMAND}`; export r; \
17834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17835 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17836 $(HOST_EXPORTS) \
17837 $(POSTSTAGE1_HOST_EXPORTS) \
17838 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
17839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17840 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17841 case $(srcdir) in \
17842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17843 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17845 esac; \
17846 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17847 libsrcdir="$$s/libdecnumber"; \
17848 $(SHELL) $${libsrcdir}/configure \
17849 $(HOST_CONFIGARGS) $${srcdiroption} \
17850 @stage2_werror_flag@
17851 @endif libdecnumber-bootstrap
17853 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
17854 maybe-configure-stage4-libdecnumber:
17855 @if libdecnumber-bootstrap
17856 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
17857 configure-stage4-libdecnumber:
17858 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17860 @r=`${PWD_COMMAND}`; export r; \
17861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17862 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17863 $(HOST_EXPORTS) \
17864 $(POSTSTAGE1_HOST_EXPORTS) \
17865 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
17866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17867 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17868 case $(srcdir) in \
17869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17870 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17872 esac; \
17873 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17874 libsrcdir="$$s/libdecnumber"; \
17875 $(SHELL) $${libsrcdir}/configure \
17876 $(HOST_CONFIGARGS) $${srcdiroption} \
17877 @stage2_werror_flag@
17878 @endif libdecnumber-bootstrap
17880 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
17881 maybe-configure-stageprofile-libdecnumber:
17882 @if libdecnumber-bootstrap
17883 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17884 configure-stageprofile-libdecnumber:
17885 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17887 @r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17890 $(HOST_EXPORTS) \
17891 $(POSTSTAGE1_HOST_EXPORTS) \
17892 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
17893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17894 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17895 case $(srcdir) in \
17896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17897 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17899 esac; \
17900 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17901 libsrcdir="$$s/libdecnumber"; \
17902 $(SHELL) $${libsrcdir}/configure \
17903 $(HOST_CONFIGARGS) $${srcdiroption} \
17904 @stage2_werror_flag@
17905 @endif libdecnumber-bootstrap
17907 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
17908 maybe-configure-stagefeedback-libdecnumber:
17909 @if libdecnumber-bootstrap
17910 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17911 configure-stagefeedback-libdecnumber:
17912 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17914 @r=`${PWD_COMMAND}`; export r; \
17915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17916 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17917 $(HOST_EXPORTS) \
17918 $(POSTSTAGE1_HOST_EXPORTS) \
17919 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
17920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17921 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17922 case $(srcdir) in \
17923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17924 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17926 esac; \
17927 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17928 libsrcdir="$$s/libdecnumber"; \
17929 $(SHELL) $${libsrcdir}/configure \
17930 $(HOST_CONFIGARGS) $${srcdiroption} \
17931 @stage2_werror_flag@
17932 @endif libdecnumber-bootstrap
17938 .PHONY: all-libdecnumber maybe-all-libdecnumber
17939 maybe-all-libdecnumber:
17940 @if libdecnumber
17941 TARGET-libdecnumber=all
17942 maybe-all-libdecnumber: all-libdecnumber
17943 all-libdecnumber: configure-libdecnumber
17944 @endif libdecnumber
17945 @if libdecnumber-bootstrap
17946 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17947 @endif libdecnumber-bootstrap
17948 @if libdecnumber
17949 @r=`${PWD_COMMAND}`; export r; \
17950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17951 $(HOST_EXPORTS) \
17952 (cd $(HOST_SUBDIR)/libdecnumber && \
17953 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
17954 @endif libdecnumber
17958 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
17959 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
17960 maybe-all-stage1-libdecnumber:
17961 maybe-clean-stage1-libdecnumber:
17962 @if libdecnumber-bootstrap
17963 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
17964 all-stage1: all-stage1-libdecnumber
17965 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
17966 all-stage1-libdecnumber: configure-stage1-libdecnumber
17967 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17973 $(TARGET-stage1-libdecnumber)
17975 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
17976 clean-stage1: clean-stage1-libdecnumber
17977 clean-stage1-libdecnumber:
17978 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
17979 || exit 0 ; \
17980 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17981 cd $(HOST_SUBDIR)/libdecnumber && \
17982 $(MAKE) $(FLAGS_TO_PASS) \
17983 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17984 @endif libdecnumber-bootstrap
17987 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
17988 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
17989 maybe-all-stage2-libdecnumber:
17990 maybe-clean-stage2-libdecnumber:
17991 @if libdecnumber-bootstrap
17992 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
17993 all-stage2: all-stage2-libdecnumber
17994 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
17995 all-stage2-libdecnumber: configure-stage2-libdecnumber
17996 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17997 @r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(HOST_EXPORTS) \
18000 $(POSTSTAGE1_HOST_EXPORTS) \
18001 cd $(HOST_SUBDIR)/libdecnumber && \
18002 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18003 $(TARGET-stage2-libdecnumber)
18005 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
18006 clean-stage2: clean-stage2-libdecnumber
18007 clean-stage2-libdecnumber:
18008 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
18009 || exit 0 ; \
18010 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18011 cd $(HOST_SUBDIR)/libdecnumber && \
18012 $(MAKE) $(FLAGS_TO_PASS) \
18013 $(POSTSTAGE1_FLAGS_TO_PASS) \
18014 clean
18015 @endif libdecnumber-bootstrap
18018 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
18019 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
18020 maybe-all-stage3-libdecnumber:
18021 maybe-clean-stage3-libdecnumber:
18022 @if libdecnumber-bootstrap
18023 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
18024 all-stage3: all-stage3-libdecnumber
18025 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
18026 all-stage3-libdecnumber: configure-stage3-libdecnumber
18027 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18028 @r=`${PWD_COMMAND}`; export r; \
18029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18030 $(HOST_EXPORTS) \
18031 $(POSTSTAGE1_HOST_EXPORTS) \
18032 cd $(HOST_SUBDIR)/libdecnumber && \
18033 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18034 $(TARGET-stage3-libdecnumber)
18036 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
18037 clean-stage3: clean-stage3-libdecnumber
18038 clean-stage3-libdecnumber:
18039 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
18040 || exit 0 ; \
18041 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18042 cd $(HOST_SUBDIR)/libdecnumber && \
18043 $(MAKE) $(FLAGS_TO_PASS) \
18044 $(POSTSTAGE1_FLAGS_TO_PASS) \
18045 clean
18046 @endif libdecnumber-bootstrap
18049 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
18050 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
18051 maybe-all-stage4-libdecnumber:
18052 maybe-clean-stage4-libdecnumber:
18053 @if libdecnumber-bootstrap
18054 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
18055 all-stage4: all-stage4-libdecnumber
18056 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
18057 all-stage4-libdecnumber: configure-stage4-libdecnumber
18058 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18059 @r=`${PWD_COMMAND}`; export r; \
18060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18061 $(HOST_EXPORTS) \
18062 $(POSTSTAGE1_HOST_EXPORTS) \
18063 cd $(HOST_SUBDIR)/libdecnumber && \
18064 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18065 $(TARGET-stage4-libdecnumber)
18067 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
18068 clean-stage4: clean-stage4-libdecnumber
18069 clean-stage4-libdecnumber:
18070 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
18071 || exit 0 ; \
18072 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18073 cd $(HOST_SUBDIR)/libdecnumber && \
18074 $(MAKE) $(FLAGS_TO_PASS) \
18075 $(POSTSTAGE1_FLAGS_TO_PASS) \
18076 clean
18077 @endif libdecnumber-bootstrap
18080 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
18081 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
18082 maybe-all-stageprofile-libdecnumber:
18083 maybe-clean-stageprofile-libdecnumber:
18084 @if libdecnumber-bootstrap
18085 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
18086 all-stageprofile: all-stageprofile-libdecnumber
18087 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
18088 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18089 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18090 @r=`${PWD_COMMAND}`; export r; \
18091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18092 $(HOST_EXPORTS) \
18093 $(POSTSTAGE1_HOST_EXPORTS) \
18094 cd $(HOST_SUBDIR)/libdecnumber && \
18095 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18096 $(TARGET-stageprofile-libdecnumber)
18098 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
18099 clean-stageprofile: clean-stageprofile-libdecnumber
18100 clean-stageprofile-libdecnumber:
18101 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
18102 || exit 0 ; \
18103 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18104 cd $(HOST_SUBDIR)/libdecnumber && \
18105 $(MAKE) $(FLAGS_TO_PASS) \
18106 $(POSTSTAGE1_FLAGS_TO_PASS) \
18107 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18108 @endif libdecnumber-bootstrap
18111 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
18112 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
18113 maybe-all-stagefeedback-libdecnumber:
18114 maybe-clean-stagefeedback-libdecnumber:
18115 @if libdecnumber-bootstrap
18116 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
18117 all-stagefeedback: all-stagefeedback-libdecnumber
18118 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
18119 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18120 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18121 @r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 $(HOST_EXPORTS) \
18124 $(POSTSTAGE1_HOST_EXPORTS) \
18125 cd $(HOST_SUBDIR)/libdecnumber && \
18126 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18127 $(TARGET-stagefeedback-libdecnumber)
18129 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
18130 clean-stagefeedback: clean-stagefeedback-libdecnumber
18131 clean-stagefeedback-libdecnumber:
18132 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
18133 || exit 0 ; \
18134 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18135 cd $(HOST_SUBDIR)/libdecnumber && \
18136 $(MAKE) $(FLAGS_TO_PASS) \
18137 $(POSTSTAGE1_FLAGS_TO_PASS) \
18138 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18139 @endif libdecnumber-bootstrap
18145 .PHONY: check-libdecnumber maybe-check-libdecnumber
18146 maybe-check-libdecnumber:
18147 @if libdecnumber
18148 maybe-check-libdecnumber: check-libdecnumber
18150 check-libdecnumber:
18151 @: $(MAKE); $(unstage)
18152 @r=`${PWD_COMMAND}`; export r; \
18153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18154 $(HOST_EXPORTS) \
18155 (cd $(HOST_SUBDIR)/libdecnumber && \
18156 $(MAKE) $(FLAGS_TO_PASS) check)
18158 @endif libdecnumber
18160 .PHONY: install-libdecnumber maybe-install-libdecnumber
18161 maybe-install-libdecnumber:
18162 @if libdecnumber
18163 maybe-install-libdecnumber: install-libdecnumber
18165 install-libdecnumber: installdirs
18166 @: $(MAKE); $(unstage)
18167 @r=`${PWD_COMMAND}`; export r; \
18168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18169 $(HOST_EXPORTS) \
18170 (cd $(HOST_SUBDIR)/libdecnumber && \
18171 $(MAKE) $(FLAGS_TO_PASS) install)
18173 @endif libdecnumber
18175 # Other targets (info, dvi, etc.)
18177 .PHONY: maybe-info-libdecnumber info-libdecnumber
18178 maybe-info-libdecnumber:
18179 @if libdecnumber
18180 maybe-info-libdecnumber: info-libdecnumber
18182 info-libdecnumber: \
18183 configure-libdecnumber
18184 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18185 r=`${PWD_COMMAND}`; export r; \
18186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18187 $(HOST_EXPORTS) \
18188 for flag in $(EXTRA_HOST_FLAGS) ; do \
18189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18190 done; \
18191 echo "Doing info in libdecnumber" ; \
18192 (cd $(HOST_SUBDIR)/libdecnumber && \
18193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18195 "RANLIB=$${RANLIB}" \
18196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18197 info) \
18198 || exit 1
18200 @endif libdecnumber
18202 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
18203 maybe-dvi-libdecnumber:
18204 @if libdecnumber
18205 maybe-dvi-libdecnumber: dvi-libdecnumber
18207 dvi-libdecnumber: \
18208 configure-libdecnumber
18209 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18210 r=`${PWD_COMMAND}`; export r; \
18211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18212 $(HOST_EXPORTS) \
18213 for flag in $(EXTRA_HOST_FLAGS) ; do \
18214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18215 done; \
18216 echo "Doing dvi in libdecnumber" ; \
18217 (cd $(HOST_SUBDIR)/libdecnumber && \
18218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18220 "RANLIB=$${RANLIB}" \
18221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18222 dvi) \
18223 || exit 1
18225 @endif libdecnumber
18227 .PHONY: maybe-html-libdecnumber html-libdecnumber
18228 maybe-html-libdecnumber:
18229 @if libdecnumber
18230 maybe-html-libdecnumber: html-libdecnumber
18232 html-libdecnumber: \
18233 configure-libdecnumber
18234 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18235 r=`${PWD_COMMAND}`; export r; \
18236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18237 $(HOST_EXPORTS) \
18238 for flag in $(EXTRA_HOST_FLAGS) ; do \
18239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18240 done; \
18241 echo "Doing html in libdecnumber" ; \
18242 (cd $(HOST_SUBDIR)/libdecnumber && \
18243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18245 "RANLIB=$${RANLIB}" \
18246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18247 html) \
18248 || exit 1
18250 @endif libdecnumber
18252 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
18253 maybe-TAGS-libdecnumber:
18254 @if libdecnumber
18255 maybe-TAGS-libdecnumber: TAGS-libdecnumber
18257 TAGS-libdecnumber: \
18258 configure-libdecnumber
18259 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18260 r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18262 $(HOST_EXPORTS) \
18263 for flag in $(EXTRA_HOST_FLAGS) ; do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18265 done; \
18266 echo "Doing TAGS in libdecnumber" ; \
18267 (cd $(HOST_SUBDIR)/libdecnumber && \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18272 TAGS) \
18273 || exit 1
18275 @endif libdecnumber
18277 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
18278 maybe-install-info-libdecnumber:
18279 @if libdecnumber
18280 maybe-install-info-libdecnumber: install-info-libdecnumber
18282 install-info-libdecnumber: \
18283 configure-libdecnumber \
18284 info-libdecnumber
18285 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18286 r=`${PWD_COMMAND}`; export r; \
18287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18288 $(HOST_EXPORTS) \
18289 for flag in $(EXTRA_HOST_FLAGS) ; do \
18290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18291 done; \
18292 echo "Doing install-info in libdecnumber" ; \
18293 (cd $(HOST_SUBDIR)/libdecnumber && \
18294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18296 "RANLIB=$${RANLIB}" \
18297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18298 install-info) \
18299 || exit 1
18301 @endif libdecnumber
18303 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
18304 maybe-install-html-libdecnumber:
18305 @if libdecnumber
18306 maybe-install-html-libdecnumber: install-html-libdecnumber
18308 install-html-libdecnumber: \
18309 configure-libdecnumber \
18310 html-libdecnumber
18311 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18312 r=`${PWD_COMMAND}`; export r; \
18313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18314 $(HOST_EXPORTS) \
18315 for flag in $(EXTRA_HOST_FLAGS) ; do \
18316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18317 done; \
18318 echo "Doing install-html in libdecnumber" ; \
18319 (cd $(HOST_SUBDIR)/libdecnumber && \
18320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18322 "RANLIB=$${RANLIB}" \
18323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18324 install-html) \
18325 || exit 1
18327 @endif libdecnumber
18329 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
18330 maybe-installcheck-libdecnumber:
18331 @if libdecnumber
18332 maybe-installcheck-libdecnumber: installcheck-libdecnumber
18334 installcheck-libdecnumber: \
18335 configure-libdecnumber
18336 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18337 r=`${PWD_COMMAND}`; export r; \
18338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18339 $(HOST_EXPORTS) \
18340 for flag in $(EXTRA_HOST_FLAGS) ; do \
18341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18342 done; \
18343 echo "Doing installcheck in libdecnumber" ; \
18344 (cd $(HOST_SUBDIR)/libdecnumber && \
18345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18347 "RANLIB=$${RANLIB}" \
18348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18349 installcheck) \
18350 || exit 1
18352 @endif libdecnumber
18354 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
18355 maybe-mostlyclean-libdecnumber:
18356 @if libdecnumber
18357 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
18359 mostlyclean-libdecnumber:
18360 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18361 r=`${PWD_COMMAND}`; export r; \
18362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18363 $(HOST_EXPORTS) \
18364 for flag in $(EXTRA_HOST_FLAGS) ; do \
18365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18366 done; \
18367 echo "Doing mostlyclean in libdecnumber" ; \
18368 (cd $(HOST_SUBDIR)/libdecnumber && \
18369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18371 "RANLIB=$${RANLIB}" \
18372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18373 mostlyclean) \
18374 || exit 1
18376 @endif libdecnumber
18378 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
18379 maybe-clean-libdecnumber:
18380 @if libdecnumber
18381 maybe-clean-libdecnumber: clean-libdecnumber
18383 clean-libdecnumber:
18384 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18385 r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 $(HOST_EXPORTS) \
18388 for flag in $(EXTRA_HOST_FLAGS) ; do \
18389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18390 done; \
18391 echo "Doing clean in libdecnumber" ; \
18392 (cd $(HOST_SUBDIR)/libdecnumber && \
18393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18395 "RANLIB=$${RANLIB}" \
18396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18397 clean) \
18398 || exit 1
18400 @endif libdecnumber
18402 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
18403 maybe-distclean-libdecnumber:
18404 @if libdecnumber
18405 maybe-distclean-libdecnumber: distclean-libdecnumber
18407 distclean-libdecnumber:
18408 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18409 r=`${PWD_COMMAND}`; export r; \
18410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18411 $(HOST_EXPORTS) \
18412 for flag in $(EXTRA_HOST_FLAGS) ; do \
18413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18414 done; \
18415 echo "Doing distclean in libdecnumber" ; \
18416 (cd $(HOST_SUBDIR)/libdecnumber && \
18417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18419 "RANLIB=$${RANLIB}" \
18420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18421 distclean) \
18422 || exit 1
18424 @endif libdecnumber
18426 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
18427 maybe-maintainer-clean-libdecnumber:
18428 @if libdecnumber
18429 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
18431 maintainer-clean-libdecnumber:
18432 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18433 r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 $(HOST_EXPORTS) \
18436 for flag in $(EXTRA_HOST_FLAGS) ; do \
18437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18438 done; \
18439 echo "Doing maintainer-clean in libdecnumber" ; \
18440 (cd $(HOST_SUBDIR)/libdecnumber && \
18441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18443 "RANLIB=$${RANLIB}" \
18444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18445 maintainer-clean) \
18446 || exit 1
18448 @endif libdecnumber
18452 .PHONY: configure-libgui maybe-configure-libgui
18453 maybe-configure-libgui:
18454 @if libgui
18455 maybe-configure-libgui: configure-libgui
18456 configure-libgui:
18457 @: $(MAKE); $(unstage)
18458 @r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18460 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
18461 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
18462 $(HOST_EXPORTS) \
18463 echo Configuring in $(HOST_SUBDIR)/libgui; \
18464 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
18465 case $(srcdir) in \
18466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18467 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
18468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18469 esac; \
18470 srcdiroption="--srcdir=$${topdir}/libgui"; \
18471 libsrcdir="$$s/libgui"; \
18472 $(SHELL) $${libsrcdir}/configure \
18473 $(HOST_CONFIGARGS) $${srcdiroption} \
18474 || exit 1
18475 @endif libgui
18481 .PHONY: all-libgui maybe-all-libgui
18482 maybe-all-libgui:
18483 @if libgui
18484 TARGET-libgui=all
18485 maybe-all-libgui: all-libgui
18486 all-libgui: configure-libgui
18487 @: $(MAKE); $(unstage)
18488 @r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490 $(HOST_EXPORTS) \
18491 (cd $(HOST_SUBDIR)/libgui && \
18492 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
18493 @endif libgui
18498 .PHONY: check-libgui maybe-check-libgui
18499 maybe-check-libgui:
18500 @if libgui
18501 maybe-check-libgui: check-libgui
18503 check-libgui:
18504 @: $(MAKE); $(unstage)
18505 @r=`${PWD_COMMAND}`; export r; \
18506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18507 $(HOST_EXPORTS) \
18508 (cd $(HOST_SUBDIR)/libgui && \
18509 $(MAKE) $(FLAGS_TO_PASS) check)
18511 @endif libgui
18513 .PHONY: install-libgui maybe-install-libgui
18514 maybe-install-libgui:
18515 @if libgui
18516 maybe-install-libgui: install-libgui
18518 install-libgui: installdirs
18519 @: $(MAKE); $(unstage)
18520 @r=`${PWD_COMMAND}`; export r; \
18521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18522 $(HOST_EXPORTS) \
18523 (cd $(HOST_SUBDIR)/libgui && \
18524 $(MAKE) $(FLAGS_TO_PASS) install)
18526 @endif libgui
18528 # Other targets (info, dvi, etc.)
18530 .PHONY: maybe-info-libgui info-libgui
18531 maybe-info-libgui:
18532 @if libgui
18533 maybe-info-libgui: info-libgui
18535 info-libgui: \
18536 configure-libgui
18537 @: $(MAKE); $(unstage)
18538 @[ -f ./libgui/Makefile ] || exit 0; \
18539 r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 $(HOST_EXPORTS) \
18542 for flag in $(EXTRA_HOST_FLAGS) ; do \
18543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18544 done; \
18545 echo "Doing info in libgui" ; \
18546 (cd $(HOST_SUBDIR)/libgui && \
18547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18549 "RANLIB=$${RANLIB}" \
18550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18551 info) \
18552 || exit 1
18554 @endif libgui
18556 .PHONY: maybe-dvi-libgui dvi-libgui
18557 maybe-dvi-libgui:
18558 @if libgui
18559 maybe-dvi-libgui: dvi-libgui
18561 dvi-libgui: \
18562 configure-libgui
18563 @: $(MAKE); $(unstage)
18564 @[ -f ./libgui/Makefile ] || exit 0; \
18565 r=`${PWD_COMMAND}`; export r; \
18566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18567 $(HOST_EXPORTS) \
18568 for flag in $(EXTRA_HOST_FLAGS) ; do \
18569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18570 done; \
18571 echo "Doing dvi in libgui" ; \
18572 (cd $(HOST_SUBDIR)/libgui && \
18573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18575 "RANLIB=$${RANLIB}" \
18576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18577 dvi) \
18578 || exit 1
18580 @endif libgui
18582 .PHONY: maybe-html-libgui html-libgui
18583 maybe-html-libgui:
18584 @if libgui
18585 maybe-html-libgui: html-libgui
18587 html-libgui: \
18588 configure-libgui
18589 @: $(MAKE); $(unstage)
18590 @[ -f ./libgui/Makefile ] || exit 0; \
18591 r=`${PWD_COMMAND}`; export r; \
18592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18593 $(HOST_EXPORTS) \
18594 for flag in $(EXTRA_HOST_FLAGS) ; do \
18595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18596 done; \
18597 echo "Doing html in libgui" ; \
18598 (cd $(HOST_SUBDIR)/libgui && \
18599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18601 "RANLIB=$${RANLIB}" \
18602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18603 html) \
18604 || exit 1
18606 @endif libgui
18608 .PHONY: maybe-TAGS-libgui TAGS-libgui
18609 maybe-TAGS-libgui:
18610 @if libgui
18611 maybe-TAGS-libgui: TAGS-libgui
18613 TAGS-libgui: \
18614 configure-libgui
18615 @: $(MAKE); $(unstage)
18616 @[ -f ./libgui/Makefile ] || exit 0; \
18617 r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18619 $(HOST_EXPORTS) \
18620 for flag in $(EXTRA_HOST_FLAGS) ; do \
18621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18622 done; \
18623 echo "Doing TAGS in libgui" ; \
18624 (cd $(HOST_SUBDIR)/libgui && \
18625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18627 "RANLIB=$${RANLIB}" \
18628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18629 TAGS) \
18630 || exit 1
18632 @endif libgui
18634 .PHONY: maybe-install-info-libgui install-info-libgui
18635 maybe-install-info-libgui:
18636 @if libgui
18637 maybe-install-info-libgui: install-info-libgui
18639 install-info-libgui: \
18640 configure-libgui \
18641 info-libgui
18642 @: $(MAKE); $(unstage)
18643 @[ -f ./libgui/Makefile ] || exit 0; \
18644 r=`${PWD_COMMAND}`; export r; \
18645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18646 $(HOST_EXPORTS) \
18647 for flag in $(EXTRA_HOST_FLAGS) ; do \
18648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18649 done; \
18650 echo "Doing install-info in libgui" ; \
18651 (cd $(HOST_SUBDIR)/libgui && \
18652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18654 "RANLIB=$${RANLIB}" \
18655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18656 install-info) \
18657 || exit 1
18659 @endif libgui
18661 .PHONY: maybe-install-html-libgui install-html-libgui
18662 maybe-install-html-libgui:
18663 @if libgui
18664 maybe-install-html-libgui: install-html-libgui
18666 install-html-libgui: \
18667 configure-libgui \
18668 html-libgui
18669 @: $(MAKE); $(unstage)
18670 @[ -f ./libgui/Makefile ] || exit 0; \
18671 r=`${PWD_COMMAND}`; export r; \
18672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18673 $(HOST_EXPORTS) \
18674 for flag in $(EXTRA_HOST_FLAGS) ; do \
18675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18676 done; \
18677 echo "Doing install-html in libgui" ; \
18678 (cd $(HOST_SUBDIR)/libgui && \
18679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18681 "RANLIB=$${RANLIB}" \
18682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18683 install-html) \
18684 || exit 1
18686 @endif libgui
18688 .PHONY: maybe-installcheck-libgui installcheck-libgui
18689 maybe-installcheck-libgui:
18690 @if libgui
18691 maybe-installcheck-libgui: installcheck-libgui
18693 installcheck-libgui: \
18694 configure-libgui
18695 @: $(MAKE); $(unstage)
18696 @[ -f ./libgui/Makefile ] || exit 0; \
18697 r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18699 $(HOST_EXPORTS) \
18700 for flag in $(EXTRA_HOST_FLAGS) ; do \
18701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18702 done; \
18703 echo "Doing installcheck in libgui" ; \
18704 (cd $(HOST_SUBDIR)/libgui && \
18705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18707 "RANLIB=$${RANLIB}" \
18708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18709 installcheck) \
18710 || exit 1
18712 @endif libgui
18714 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
18715 maybe-mostlyclean-libgui:
18716 @if libgui
18717 maybe-mostlyclean-libgui: mostlyclean-libgui
18719 mostlyclean-libgui:
18720 @: $(MAKE); $(unstage)
18721 @[ -f ./libgui/Makefile ] || exit 0; \
18722 r=`${PWD_COMMAND}`; export r; \
18723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18724 $(HOST_EXPORTS) \
18725 for flag in $(EXTRA_HOST_FLAGS) ; do \
18726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18727 done; \
18728 echo "Doing mostlyclean in libgui" ; \
18729 (cd $(HOST_SUBDIR)/libgui && \
18730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18732 "RANLIB=$${RANLIB}" \
18733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18734 mostlyclean) \
18735 || exit 1
18737 @endif libgui
18739 .PHONY: maybe-clean-libgui clean-libgui
18740 maybe-clean-libgui:
18741 @if libgui
18742 maybe-clean-libgui: clean-libgui
18744 clean-libgui:
18745 @: $(MAKE); $(unstage)
18746 @[ -f ./libgui/Makefile ] || exit 0; \
18747 r=`${PWD_COMMAND}`; export r; \
18748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18749 $(HOST_EXPORTS) \
18750 for flag in $(EXTRA_HOST_FLAGS) ; do \
18751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18752 done; \
18753 echo "Doing clean in libgui" ; \
18754 (cd $(HOST_SUBDIR)/libgui && \
18755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18757 "RANLIB=$${RANLIB}" \
18758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18759 clean) \
18760 || exit 1
18762 @endif libgui
18764 .PHONY: maybe-distclean-libgui distclean-libgui
18765 maybe-distclean-libgui:
18766 @if libgui
18767 maybe-distclean-libgui: distclean-libgui
18769 distclean-libgui:
18770 @: $(MAKE); $(unstage)
18771 @[ -f ./libgui/Makefile ] || exit 0; \
18772 r=`${PWD_COMMAND}`; export r; \
18773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18774 $(HOST_EXPORTS) \
18775 for flag in $(EXTRA_HOST_FLAGS) ; do \
18776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18777 done; \
18778 echo "Doing distclean in libgui" ; \
18779 (cd $(HOST_SUBDIR)/libgui && \
18780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18782 "RANLIB=$${RANLIB}" \
18783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18784 distclean) \
18785 || exit 1
18787 @endif libgui
18789 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
18790 maybe-maintainer-clean-libgui:
18791 @if libgui
18792 maybe-maintainer-clean-libgui: maintainer-clean-libgui
18794 maintainer-clean-libgui:
18795 @: $(MAKE); $(unstage)
18796 @[ -f ./libgui/Makefile ] || exit 0; \
18797 r=`${PWD_COMMAND}`; export r; \
18798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18799 $(HOST_EXPORTS) \
18800 for flag in $(EXTRA_HOST_FLAGS) ; do \
18801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18802 done; \
18803 echo "Doing maintainer-clean in libgui" ; \
18804 (cd $(HOST_SUBDIR)/libgui && \
18805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18807 "RANLIB=$${RANLIB}" \
18808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18809 maintainer-clean) \
18810 || exit 1
18812 @endif libgui
18816 .PHONY: configure-libiberty maybe-configure-libiberty
18817 maybe-configure-libiberty:
18818 @if libiberty
18819 maybe-configure-libiberty: configure-libiberty
18820 configure-libiberty:
18821 @endif libiberty
18822 @if libiberty-bootstrap
18823 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
18824 @endif libiberty-bootstrap
18825 @if libiberty
18826 @r=`${PWD_COMMAND}`; export r; \
18827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18828 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18829 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18830 $(HOST_EXPORTS) \
18831 echo Configuring in $(HOST_SUBDIR)/libiberty; \
18832 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
18833 case $(srcdir) in \
18834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18835 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18837 esac; \
18838 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18839 libsrcdir="$$s/libiberty"; \
18840 $(SHELL) $${libsrcdir}/configure \
18841 $(HOST_CONFIGARGS) $${srcdiroption} \
18842 || exit 1
18843 @endif libiberty
18847 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
18848 maybe-configure-stage1-libiberty:
18849 @if libiberty-bootstrap
18850 maybe-configure-stage1-libiberty: configure-stage1-libiberty
18851 configure-stage1-libiberty:
18852 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18854 @r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18857 $(HOST_EXPORTS) \
18858 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
18859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18860 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18861 case $(srcdir) in \
18862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18863 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18865 esac; \
18866 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18867 libsrcdir="$$s/libiberty"; \
18868 $(SHELL) $${libsrcdir}/configure \
18869 $(HOST_CONFIGARGS) $${srcdiroption} \
18870 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18871 @endif libiberty-bootstrap
18873 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
18874 maybe-configure-stage2-libiberty:
18875 @if libiberty-bootstrap
18876 maybe-configure-stage2-libiberty: configure-stage2-libiberty
18877 configure-stage2-libiberty:
18878 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18883 $(HOST_EXPORTS) \
18884 $(POSTSTAGE1_HOST_EXPORTS) \
18885 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
18886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18887 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18888 case $(srcdir) in \
18889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18890 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18892 esac; \
18893 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18894 libsrcdir="$$s/libiberty"; \
18895 $(SHELL) $${libsrcdir}/configure \
18896 $(HOST_CONFIGARGS) $${srcdiroption} \
18897 @stage2_werror_flag@
18898 @endif libiberty-bootstrap
18900 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
18901 maybe-configure-stage3-libiberty:
18902 @if libiberty-bootstrap
18903 maybe-configure-stage3-libiberty: configure-stage3-libiberty
18904 configure-stage3-libiberty:
18905 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18907 @r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18909 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18910 $(HOST_EXPORTS) \
18911 $(POSTSTAGE1_HOST_EXPORTS) \
18912 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
18913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18914 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18915 case $(srcdir) in \
18916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18917 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18919 esac; \
18920 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18921 libsrcdir="$$s/libiberty"; \
18922 $(SHELL) $${libsrcdir}/configure \
18923 $(HOST_CONFIGARGS) $${srcdiroption} \
18924 @stage2_werror_flag@
18925 @endif libiberty-bootstrap
18927 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
18928 maybe-configure-stage4-libiberty:
18929 @if libiberty-bootstrap
18930 maybe-configure-stage4-libiberty: configure-stage4-libiberty
18931 configure-stage4-libiberty:
18932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18934 @r=`${PWD_COMMAND}`; export r; \
18935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18936 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18937 $(HOST_EXPORTS) \
18938 $(POSTSTAGE1_HOST_EXPORTS) \
18939 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
18940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18941 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18942 case $(srcdir) in \
18943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18944 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18946 esac; \
18947 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18948 libsrcdir="$$s/libiberty"; \
18949 $(SHELL) $${libsrcdir}/configure \
18950 $(HOST_CONFIGARGS) $${srcdiroption} \
18951 @stage2_werror_flag@
18952 @endif libiberty-bootstrap
18954 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
18955 maybe-configure-stageprofile-libiberty:
18956 @if libiberty-bootstrap
18957 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
18958 configure-stageprofile-libiberty:
18959 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18961 @r=`${PWD_COMMAND}`; export r; \
18962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18963 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18964 $(HOST_EXPORTS) \
18965 $(POSTSTAGE1_HOST_EXPORTS) \
18966 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
18967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18968 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18969 case $(srcdir) in \
18970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18971 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18973 esac; \
18974 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18975 libsrcdir="$$s/libiberty"; \
18976 $(SHELL) $${libsrcdir}/configure \
18977 $(HOST_CONFIGARGS) $${srcdiroption} \
18978 @stage2_werror_flag@
18979 @endif libiberty-bootstrap
18981 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
18982 maybe-configure-stagefeedback-libiberty:
18983 @if libiberty-bootstrap
18984 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
18985 configure-stagefeedback-libiberty:
18986 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18988 @r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18991 $(HOST_EXPORTS) \
18992 $(POSTSTAGE1_HOST_EXPORTS) \
18993 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
18994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18995 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18996 case $(srcdir) in \
18997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18998 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19000 esac; \
19001 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19002 libsrcdir="$$s/libiberty"; \
19003 $(SHELL) $${libsrcdir}/configure \
19004 $(HOST_CONFIGARGS) $${srcdiroption} \
19005 @stage2_werror_flag@
19006 @endif libiberty-bootstrap
19012 .PHONY: all-libiberty maybe-all-libiberty
19013 maybe-all-libiberty:
19014 @if libiberty
19015 TARGET-libiberty=all
19016 maybe-all-libiberty: all-libiberty
19017 all-libiberty: configure-libiberty
19018 @endif libiberty
19019 @if libiberty-bootstrap
19020 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
19021 @endif libiberty-bootstrap
19022 @if libiberty
19023 @r=`${PWD_COMMAND}`; export r; \
19024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19025 $(HOST_EXPORTS) \
19026 (cd $(HOST_SUBDIR)/libiberty && \
19027 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
19028 @endif libiberty
19032 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
19033 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
19034 maybe-all-stage1-libiberty:
19035 maybe-clean-stage1-libiberty:
19036 @if libiberty-bootstrap
19037 maybe-all-stage1-libiberty: all-stage1-libiberty
19038 all-stage1: all-stage1-libiberty
19039 TARGET-stage1-libiberty = $(TARGET-libiberty)
19040 all-stage1-libiberty: configure-stage1-libiberty
19041 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19047 $(TARGET-stage1-libiberty)
19049 maybe-clean-stage1-libiberty: clean-stage1-libiberty
19050 clean-stage1: clean-stage1-libiberty
19051 clean-stage1-libiberty:
19052 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
19053 || exit 0 ; \
19054 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
19055 cd $(HOST_SUBDIR)/libiberty && \
19056 $(MAKE) $(FLAGS_TO_PASS) \
19057 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19058 @endif libiberty-bootstrap
19061 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
19062 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
19063 maybe-all-stage2-libiberty:
19064 maybe-clean-stage2-libiberty:
19065 @if libiberty-bootstrap
19066 maybe-all-stage2-libiberty: all-stage2-libiberty
19067 all-stage2: all-stage2-libiberty
19068 TARGET-stage2-libiberty = $(TARGET-libiberty)
19069 all-stage2-libiberty: configure-stage2-libiberty
19070 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19071 @r=`${PWD_COMMAND}`; export r; \
19072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19073 $(HOST_EXPORTS) \
19074 $(POSTSTAGE1_HOST_EXPORTS) \
19075 cd $(HOST_SUBDIR)/libiberty && \
19076 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19077 $(TARGET-stage2-libiberty)
19079 maybe-clean-stage2-libiberty: clean-stage2-libiberty
19080 clean-stage2: clean-stage2-libiberty
19081 clean-stage2-libiberty:
19082 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
19083 || exit 0 ; \
19084 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
19085 cd $(HOST_SUBDIR)/libiberty && \
19086 $(MAKE) $(FLAGS_TO_PASS) \
19087 $(POSTSTAGE1_FLAGS_TO_PASS) \
19088 clean
19089 @endif libiberty-bootstrap
19092 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
19093 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
19094 maybe-all-stage3-libiberty:
19095 maybe-clean-stage3-libiberty:
19096 @if libiberty-bootstrap
19097 maybe-all-stage3-libiberty: all-stage3-libiberty
19098 all-stage3: all-stage3-libiberty
19099 TARGET-stage3-libiberty = $(TARGET-libiberty)
19100 all-stage3-libiberty: configure-stage3-libiberty
19101 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 $(HOST_EXPORTS) \
19105 $(POSTSTAGE1_HOST_EXPORTS) \
19106 cd $(HOST_SUBDIR)/libiberty && \
19107 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19108 $(TARGET-stage3-libiberty)
19110 maybe-clean-stage3-libiberty: clean-stage3-libiberty
19111 clean-stage3: clean-stage3-libiberty
19112 clean-stage3-libiberty:
19113 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
19114 || exit 0 ; \
19115 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
19116 cd $(HOST_SUBDIR)/libiberty && \
19117 $(MAKE) $(FLAGS_TO_PASS) \
19118 $(POSTSTAGE1_FLAGS_TO_PASS) \
19119 clean
19120 @endif libiberty-bootstrap
19123 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
19124 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
19125 maybe-all-stage4-libiberty:
19126 maybe-clean-stage4-libiberty:
19127 @if libiberty-bootstrap
19128 maybe-all-stage4-libiberty: all-stage4-libiberty
19129 all-stage4: all-stage4-libiberty
19130 TARGET-stage4-libiberty = $(TARGET-libiberty)
19131 all-stage4-libiberty: configure-stage4-libiberty
19132 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19133 @r=`${PWD_COMMAND}`; export r; \
19134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19135 $(HOST_EXPORTS) \
19136 $(POSTSTAGE1_HOST_EXPORTS) \
19137 cd $(HOST_SUBDIR)/libiberty && \
19138 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19139 $(TARGET-stage4-libiberty)
19141 maybe-clean-stage4-libiberty: clean-stage4-libiberty
19142 clean-stage4: clean-stage4-libiberty
19143 clean-stage4-libiberty:
19144 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
19145 || exit 0 ; \
19146 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
19147 cd $(HOST_SUBDIR)/libiberty && \
19148 $(MAKE) $(FLAGS_TO_PASS) \
19149 $(POSTSTAGE1_FLAGS_TO_PASS) \
19150 clean
19151 @endif libiberty-bootstrap
19154 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
19155 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
19156 maybe-all-stageprofile-libiberty:
19157 maybe-clean-stageprofile-libiberty:
19158 @if libiberty-bootstrap
19159 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
19160 all-stageprofile: all-stageprofile-libiberty
19161 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
19162 all-stageprofile-libiberty: configure-stageprofile-libiberty
19163 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19164 @r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(HOST_EXPORTS) \
19167 $(POSTSTAGE1_HOST_EXPORTS) \
19168 cd $(HOST_SUBDIR)/libiberty && \
19169 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19170 $(TARGET-stageprofile-libiberty)
19172 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
19173 clean-stageprofile: clean-stageprofile-libiberty
19174 clean-stageprofile-libiberty:
19175 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
19176 || exit 0 ; \
19177 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
19178 cd $(HOST_SUBDIR)/libiberty && \
19179 $(MAKE) $(FLAGS_TO_PASS) \
19180 $(POSTSTAGE1_FLAGS_TO_PASS) \
19181 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19182 @endif libiberty-bootstrap
19185 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
19186 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
19187 maybe-all-stagefeedback-libiberty:
19188 maybe-clean-stagefeedback-libiberty:
19189 @if libiberty-bootstrap
19190 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
19191 all-stagefeedback: all-stagefeedback-libiberty
19192 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
19193 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
19194 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19195 @r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19197 $(HOST_EXPORTS) \
19198 $(POSTSTAGE1_HOST_EXPORTS) \
19199 cd $(HOST_SUBDIR)/libiberty && \
19200 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19201 $(TARGET-stagefeedback-libiberty)
19203 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
19204 clean-stagefeedback: clean-stagefeedback-libiberty
19205 clean-stagefeedback-libiberty:
19206 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
19207 || exit 0 ; \
19208 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
19209 cd $(HOST_SUBDIR)/libiberty && \
19210 $(MAKE) $(FLAGS_TO_PASS) \
19211 $(POSTSTAGE1_FLAGS_TO_PASS) \
19212 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19213 @endif libiberty-bootstrap
19219 .PHONY: check-libiberty maybe-check-libiberty
19220 maybe-check-libiberty:
19221 @if libiberty
19222 maybe-check-libiberty: check-libiberty
19224 check-libiberty:
19225 @: $(MAKE); $(unstage)
19226 @r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 $(HOST_EXPORTS) \
19229 (cd $(HOST_SUBDIR)/libiberty && \
19230 $(MAKE) $(FLAGS_TO_PASS) check)
19232 @endif libiberty
19234 .PHONY: install-libiberty maybe-install-libiberty
19235 maybe-install-libiberty:
19236 @if libiberty
19237 maybe-install-libiberty: install-libiberty
19239 install-libiberty: installdirs
19240 @: $(MAKE); $(unstage)
19241 @r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243 $(HOST_EXPORTS) \
19244 (cd $(HOST_SUBDIR)/libiberty && \
19245 $(MAKE) $(FLAGS_TO_PASS) install)
19247 @endif libiberty
19249 # Other targets (info, dvi, etc.)
19251 .PHONY: maybe-info-libiberty info-libiberty
19252 maybe-info-libiberty:
19253 @if libiberty
19254 maybe-info-libiberty: info-libiberty
19256 info-libiberty: \
19257 configure-libiberty
19258 @[ -f ./libiberty/Makefile ] || exit 0; \
19259 r=`${PWD_COMMAND}`; export r; \
19260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19261 $(HOST_EXPORTS) \
19262 for flag in $(EXTRA_HOST_FLAGS) ; do \
19263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19264 done; \
19265 echo "Doing info in libiberty" ; \
19266 (cd $(HOST_SUBDIR)/libiberty && \
19267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19269 "RANLIB=$${RANLIB}" \
19270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19271 info) \
19272 || exit 1
19274 @endif libiberty
19276 .PHONY: maybe-dvi-libiberty dvi-libiberty
19277 maybe-dvi-libiberty:
19278 @if libiberty
19279 maybe-dvi-libiberty: dvi-libiberty
19281 dvi-libiberty: \
19282 configure-libiberty
19283 @[ -f ./libiberty/Makefile ] || exit 0; \
19284 r=`${PWD_COMMAND}`; export r; \
19285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19286 $(HOST_EXPORTS) \
19287 for flag in $(EXTRA_HOST_FLAGS) ; do \
19288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19289 done; \
19290 echo "Doing dvi in libiberty" ; \
19291 (cd $(HOST_SUBDIR)/libiberty && \
19292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19294 "RANLIB=$${RANLIB}" \
19295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19296 dvi) \
19297 || exit 1
19299 @endif libiberty
19301 .PHONY: maybe-html-libiberty html-libiberty
19302 maybe-html-libiberty:
19303 @if libiberty
19304 maybe-html-libiberty: html-libiberty
19306 html-libiberty: \
19307 configure-libiberty
19308 @[ -f ./libiberty/Makefile ] || exit 0; \
19309 r=`${PWD_COMMAND}`; export r; \
19310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19311 $(HOST_EXPORTS) \
19312 for flag in $(EXTRA_HOST_FLAGS) ; do \
19313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19314 done; \
19315 echo "Doing html in libiberty" ; \
19316 (cd $(HOST_SUBDIR)/libiberty && \
19317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19319 "RANLIB=$${RANLIB}" \
19320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19321 html) \
19322 || exit 1
19324 @endif libiberty
19326 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
19327 maybe-TAGS-libiberty:
19328 @if libiberty
19329 maybe-TAGS-libiberty: TAGS-libiberty
19331 TAGS-libiberty: \
19332 configure-libiberty
19333 @[ -f ./libiberty/Makefile ] || exit 0; \
19334 r=`${PWD_COMMAND}`; export r; \
19335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19336 $(HOST_EXPORTS) \
19337 for flag in $(EXTRA_HOST_FLAGS) ; do \
19338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19339 done; \
19340 echo "Doing TAGS in libiberty" ; \
19341 (cd $(HOST_SUBDIR)/libiberty && \
19342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19344 "RANLIB=$${RANLIB}" \
19345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19346 TAGS) \
19347 || exit 1
19349 @endif libiberty
19351 .PHONY: maybe-install-info-libiberty install-info-libiberty
19352 maybe-install-info-libiberty:
19353 @if libiberty
19354 maybe-install-info-libiberty: install-info-libiberty
19356 install-info-libiberty: \
19357 configure-libiberty \
19358 info-libiberty
19359 @[ -f ./libiberty/Makefile ] || exit 0; \
19360 r=`${PWD_COMMAND}`; export r; \
19361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19362 $(HOST_EXPORTS) \
19363 for flag in $(EXTRA_HOST_FLAGS) ; do \
19364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19365 done; \
19366 echo "Doing install-info in libiberty" ; \
19367 (cd $(HOST_SUBDIR)/libiberty && \
19368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19370 "RANLIB=$${RANLIB}" \
19371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19372 install-info) \
19373 || exit 1
19375 @endif libiberty
19377 .PHONY: maybe-install-html-libiberty install-html-libiberty
19378 maybe-install-html-libiberty:
19379 @if libiberty
19380 maybe-install-html-libiberty: install-html-libiberty
19382 install-html-libiberty: \
19383 configure-libiberty \
19384 html-libiberty
19385 @[ -f ./libiberty/Makefile ] || exit 0; \
19386 r=`${PWD_COMMAND}`; export r; \
19387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19388 $(HOST_EXPORTS) \
19389 for flag in $(EXTRA_HOST_FLAGS) ; do \
19390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19391 done; \
19392 echo "Doing install-html in libiberty" ; \
19393 (cd $(HOST_SUBDIR)/libiberty && \
19394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19396 "RANLIB=$${RANLIB}" \
19397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19398 install-html) \
19399 || exit 1
19401 @endif libiberty
19403 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
19404 maybe-installcheck-libiberty:
19405 @if libiberty
19406 maybe-installcheck-libiberty: installcheck-libiberty
19408 installcheck-libiberty: \
19409 configure-libiberty
19410 @[ -f ./libiberty/Makefile ] || exit 0; \
19411 r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 $(HOST_EXPORTS) \
19414 for flag in $(EXTRA_HOST_FLAGS) ; do \
19415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19416 done; \
19417 echo "Doing installcheck in libiberty" ; \
19418 (cd $(HOST_SUBDIR)/libiberty && \
19419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19421 "RANLIB=$${RANLIB}" \
19422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19423 installcheck) \
19424 || exit 1
19426 @endif libiberty
19428 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
19429 maybe-mostlyclean-libiberty:
19430 @if libiberty
19431 maybe-mostlyclean-libiberty: mostlyclean-libiberty
19433 mostlyclean-libiberty:
19434 @[ -f ./libiberty/Makefile ] || exit 0; \
19435 r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19437 $(HOST_EXPORTS) \
19438 for flag in $(EXTRA_HOST_FLAGS) ; do \
19439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19440 done; \
19441 echo "Doing mostlyclean in libiberty" ; \
19442 (cd $(HOST_SUBDIR)/libiberty && \
19443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19445 "RANLIB=$${RANLIB}" \
19446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19447 mostlyclean) \
19448 || exit 1
19450 @endif libiberty
19452 .PHONY: maybe-clean-libiberty clean-libiberty
19453 maybe-clean-libiberty:
19454 @if libiberty
19455 maybe-clean-libiberty: clean-libiberty
19457 clean-libiberty:
19458 @[ -f ./libiberty/Makefile ] || exit 0; \
19459 r=`${PWD_COMMAND}`; export r; \
19460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461 $(HOST_EXPORTS) \
19462 for flag in $(EXTRA_HOST_FLAGS) ; do \
19463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19464 done; \
19465 echo "Doing clean in libiberty" ; \
19466 (cd $(HOST_SUBDIR)/libiberty && \
19467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19469 "RANLIB=$${RANLIB}" \
19470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19471 clean) \
19472 || exit 1
19474 @endif libiberty
19476 .PHONY: maybe-distclean-libiberty distclean-libiberty
19477 maybe-distclean-libiberty:
19478 @if libiberty
19479 maybe-distclean-libiberty: distclean-libiberty
19481 distclean-libiberty:
19482 @[ -f ./libiberty/Makefile ] || exit 0; \
19483 r=`${PWD_COMMAND}`; export r; \
19484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19485 $(HOST_EXPORTS) \
19486 for flag in $(EXTRA_HOST_FLAGS) ; do \
19487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19488 done; \
19489 echo "Doing distclean in libiberty" ; \
19490 (cd $(HOST_SUBDIR)/libiberty && \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19493 "RANLIB=$${RANLIB}" \
19494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19495 distclean) \
19496 || exit 1
19498 @endif libiberty
19500 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
19501 maybe-maintainer-clean-libiberty:
19502 @if libiberty
19503 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
19505 maintainer-clean-libiberty:
19506 @[ -f ./libiberty/Makefile ] || exit 0; \
19507 r=`${PWD_COMMAND}`; export r; \
19508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19509 $(HOST_EXPORTS) \
19510 for flag in $(EXTRA_HOST_FLAGS) ; do \
19511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19512 done; \
19513 echo "Doing maintainer-clean in libiberty" ; \
19514 (cd $(HOST_SUBDIR)/libiberty && \
19515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19517 "RANLIB=$${RANLIB}" \
19518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19519 maintainer-clean) \
19520 || exit 1
19522 @endif libiberty
19526 .PHONY: configure-libtool maybe-configure-libtool
19527 maybe-configure-libtool:
19528 @if libtool
19529 maybe-configure-libtool: configure-libtool
19530 configure-libtool:
19531 @: $(MAKE); $(unstage)
19532 @r=`${PWD_COMMAND}`; export r; \
19533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19534 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
19535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
19536 $(HOST_EXPORTS) \
19537 echo Configuring in $(HOST_SUBDIR)/libtool; \
19538 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
19539 case $(srcdir) in \
19540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19541 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
19542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19543 esac; \
19544 srcdiroption="--srcdir=$${topdir}/libtool"; \
19545 libsrcdir="$$s/libtool"; \
19546 $(SHELL) $${libsrcdir}/configure \
19547 $(HOST_CONFIGARGS) $${srcdiroption} \
19548 || exit 1
19549 @endif libtool
19555 .PHONY: all-libtool maybe-all-libtool
19556 maybe-all-libtool:
19557 @if libtool
19558 TARGET-libtool=all
19559 maybe-all-libtool: all-libtool
19560 all-libtool: configure-libtool
19561 @: $(MAKE); $(unstage)
19562 @r=`${PWD_COMMAND}`; export r; \
19563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19564 $(HOST_EXPORTS) \
19565 (cd $(HOST_SUBDIR)/libtool && \
19566 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
19567 @endif libtool
19572 .PHONY: check-libtool maybe-check-libtool
19573 maybe-check-libtool:
19574 @if libtool
19575 maybe-check-libtool: check-libtool
19577 check-libtool:
19578 @: $(MAKE); $(unstage)
19579 @r=`${PWD_COMMAND}`; export r; \
19580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19581 $(HOST_EXPORTS) \
19582 (cd $(HOST_SUBDIR)/libtool && \
19583 $(MAKE) $(FLAGS_TO_PASS) check)
19585 @endif libtool
19587 .PHONY: install-libtool maybe-install-libtool
19588 maybe-install-libtool:
19589 @if libtool
19590 maybe-install-libtool: install-libtool
19592 install-libtool: installdirs
19593 @: $(MAKE); $(unstage)
19594 @r=`${PWD_COMMAND}`; export r; \
19595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19596 $(HOST_EXPORTS) \
19597 (cd $(HOST_SUBDIR)/libtool && \
19598 $(MAKE) $(FLAGS_TO_PASS) install)
19600 @endif libtool
19602 # Other targets (info, dvi, etc.)
19604 .PHONY: maybe-info-libtool info-libtool
19605 maybe-info-libtool:
19606 @if libtool
19607 maybe-info-libtool: info-libtool
19609 info-libtool: \
19610 configure-libtool
19611 @: $(MAKE); $(unstage)
19612 @[ -f ./libtool/Makefile ] || exit 0; \
19613 r=`${PWD_COMMAND}`; export r; \
19614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19615 $(HOST_EXPORTS) \
19616 for flag in $(EXTRA_HOST_FLAGS) ; do \
19617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19618 done; \
19619 echo "Doing info in libtool" ; \
19620 (cd $(HOST_SUBDIR)/libtool && \
19621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19623 "RANLIB=$${RANLIB}" \
19624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19625 info) \
19626 || exit 1
19628 @endif libtool
19630 .PHONY: maybe-dvi-libtool dvi-libtool
19631 maybe-dvi-libtool:
19632 @if libtool
19633 maybe-dvi-libtool: dvi-libtool
19635 dvi-libtool: \
19636 configure-libtool
19637 @: $(MAKE); $(unstage)
19638 @[ -f ./libtool/Makefile ] || exit 0; \
19639 r=`${PWD_COMMAND}`; export r; \
19640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19641 $(HOST_EXPORTS) \
19642 for flag in $(EXTRA_HOST_FLAGS) ; do \
19643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19644 done; \
19645 echo "Doing dvi in libtool" ; \
19646 (cd $(HOST_SUBDIR)/libtool && \
19647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19649 "RANLIB=$${RANLIB}" \
19650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19651 dvi) \
19652 || exit 1
19654 @endif libtool
19656 .PHONY: maybe-html-libtool html-libtool
19657 maybe-html-libtool:
19658 @if libtool
19659 maybe-html-libtool: html-libtool
19661 html-libtool: \
19662 configure-libtool
19663 @: $(MAKE); $(unstage)
19664 @[ -f ./libtool/Makefile ] || exit 0; \
19665 r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 $(HOST_EXPORTS) \
19668 for flag in $(EXTRA_HOST_FLAGS) ; do \
19669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19670 done; \
19671 echo "Doing html in libtool" ; \
19672 (cd $(HOST_SUBDIR)/libtool && \
19673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19675 "RANLIB=$${RANLIB}" \
19676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19677 html) \
19678 || exit 1
19680 @endif libtool
19682 .PHONY: maybe-TAGS-libtool TAGS-libtool
19683 maybe-TAGS-libtool:
19684 @if libtool
19685 maybe-TAGS-libtool: TAGS-libtool
19687 TAGS-libtool: \
19688 configure-libtool
19689 @: $(MAKE); $(unstage)
19690 @[ -f ./libtool/Makefile ] || exit 0; \
19691 r=`${PWD_COMMAND}`; export r; \
19692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19693 $(HOST_EXPORTS) \
19694 for flag in $(EXTRA_HOST_FLAGS) ; do \
19695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19696 done; \
19697 echo "Doing TAGS in libtool" ; \
19698 (cd $(HOST_SUBDIR)/libtool && \
19699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19701 "RANLIB=$${RANLIB}" \
19702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19703 TAGS) \
19704 || exit 1
19706 @endif libtool
19708 .PHONY: maybe-install-info-libtool install-info-libtool
19709 maybe-install-info-libtool:
19710 @if libtool
19711 maybe-install-info-libtool: install-info-libtool
19713 install-info-libtool: \
19714 configure-libtool \
19715 info-libtool
19716 @: $(MAKE); $(unstage)
19717 @[ -f ./libtool/Makefile ] || exit 0; \
19718 r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 for flag in $(EXTRA_HOST_FLAGS) ; do \
19722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19723 done; \
19724 echo "Doing install-info in libtool" ; \
19725 (cd $(HOST_SUBDIR)/libtool && \
19726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19728 "RANLIB=$${RANLIB}" \
19729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19730 install-info) \
19731 || exit 1
19733 @endif libtool
19735 .PHONY: maybe-install-html-libtool install-html-libtool
19736 maybe-install-html-libtool:
19737 @if libtool
19738 maybe-install-html-libtool: install-html-libtool
19740 install-html-libtool: \
19741 configure-libtool \
19742 html-libtool
19743 @: $(MAKE); $(unstage)
19744 @[ -f ./libtool/Makefile ] || exit 0; \
19745 r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19747 $(HOST_EXPORTS) \
19748 for flag in $(EXTRA_HOST_FLAGS) ; do \
19749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19750 done; \
19751 echo "Doing install-html in libtool" ; \
19752 (cd $(HOST_SUBDIR)/libtool && \
19753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19755 "RANLIB=$${RANLIB}" \
19756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19757 install-html) \
19758 || exit 1
19760 @endif libtool
19762 .PHONY: maybe-installcheck-libtool installcheck-libtool
19763 maybe-installcheck-libtool:
19764 @if libtool
19765 maybe-installcheck-libtool: installcheck-libtool
19767 installcheck-libtool: \
19768 configure-libtool
19769 @: $(MAKE); $(unstage)
19770 @[ -f ./libtool/Makefile ] || exit 0; \
19771 r=`${PWD_COMMAND}`; export r; \
19772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19773 $(HOST_EXPORTS) \
19774 for flag in $(EXTRA_HOST_FLAGS) ; do \
19775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19776 done; \
19777 echo "Doing installcheck in libtool" ; \
19778 (cd $(HOST_SUBDIR)/libtool && \
19779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19781 "RANLIB=$${RANLIB}" \
19782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19783 installcheck) \
19784 || exit 1
19786 @endif libtool
19788 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
19789 maybe-mostlyclean-libtool:
19790 @if libtool
19791 maybe-mostlyclean-libtool: mostlyclean-libtool
19793 mostlyclean-libtool:
19794 @: $(MAKE); $(unstage)
19795 @[ -f ./libtool/Makefile ] || exit 0; \
19796 r=`${PWD_COMMAND}`; export r; \
19797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19798 $(HOST_EXPORTS) \
19799 for flag in $(EXTRA_HOST_FLAGS) ; do \
19800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19801 done; \
19802 echo "Doing mostlyclean in libtool" ; \
19803 (cd $(HOST_SUBDIR)/libtool && \
19804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19806 "RANLIB=$${RANLIB}" \
19807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19808 mostlyclean) \
19809 || exit 1
19811 @endif libtool
19813 .PHONY: maybe-clean-libtool clean-libtool
19814 maybe-clean-libtool:
19815 @if libtool
19816 maybe-clean-libtool: clean-libtool
19818 clean-libtool:
19819 @: $(MAKE); $(unstage)
19820 @[ -f ./libtool/Makefile ] || exit 0; \
19821 r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19823 $(HOST_EXPORTS) \
19824 for flag in $(EXTRA_HOST_FLAGS) ; do \
19825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19826 done; \
19827 echo "Doing clean in libtool" ; \
19828 (cd $(HOST_SUBDIR)/libtool && \
19829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19831 "RANLIB=$${RANLIB}" \
19832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19833 clean) \
19834 || exit 1
19836 @endif libtool
19838 .PHONY: maybe-distclean-libtool distclean-libtool
19839 maybe-distclean-libtool:
19840 @if libtool
19841 maybe-distclean-libtool: distclean-libtool
19843 distclean-libtool:
19844 @: $(MAKE); $(unstage)
19845 @[ -f ./libtool/Makefile ] || exit 0; \
19846 r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 $(HOST_EXPORTS) \
19849 for flag in $(EXTRA_HOST_FLAGS) ; do \
19850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19851 done; \
19852 echo "Doing distclean in libtool" ; \
19853 (cd $(HOST_SUBDIR)/libtool && \
19854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19856 "RANLIB=$${RANLIB}" \
19857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19858 distclean) \
19859 || exit 1
19861 @endif libtool
19863 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
19864 maybe-maintainer-clean-libtool:
19865 @if libtool
19866 maybe-maintainer-clean-libtool: maintainer-clean-libtool
19868 maintainer-clean-libtool:
19869 @: $(MAKE); $(unstage)
19870 @[ -f ./libtool/Makefile ] || exit 0; \
19871 r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 $(HOST_EXPORTS) \
19874 for flag in $(EXTRA_HOST_FLAGS) ; do \
19875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876 done; \
19877 echo "Doing maintainer-clean in libtool" ; \
19878 (cd $(HOST_SUBDIR)/libtool && \
19879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19881 "RANLIB=$${RANLIB}" \
19882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19883 maintainer-clean) \
19884 || exit 1
19886 @endif libtool
19890 .PHONY: configure-m4 maybe-configure-m4
19891 maybe-configure-m4:
19892 @if m4
19893 maybe-configure-m4: configure-m4
19894 configure-m4:
19895 @: $(MAKE); $(unstage)
19896 @r=`${PWD_COMMAND}`; export r; \
19897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19898 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
19899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
19900 $(HOST_EXPORTS) \
19901 echo Configuring in $(HOST_SUBDIR)/m4; \
19902 cd "$(HOST_SUBDIR)/m4" || exit 1; \
19903 case $(srcdir) in \
19904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19905 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
19906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19907 esac; \
19908 srcdiroption="--srcdir=$${topdir}/m4"; \
19909 libsrcdir="$$s/m4"; \
19910 $(SHELL) $${libsrcdir}/configure \
19911 $(HOST_CONFIGARGS) $${srcdiroption} \
19912 || exit 1
19913 @endif m4
19919 .PHONY: all-m4 maybe-all-m4
19920 maybe-all-m4:
19921 @if m4
19922 TARGET-m4=all
19923 maybe-all-m4: all-m4
19924 all-m4: configure-m4
19925 @: $(MAKE); $(unstage)
19926 @r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 $(HOST_EXPORTS) \
19929 (cd $(HOST_SUBDIR)/m4 && \
19930 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
19931 @endif m4
19936 .PHONY: check-m4 maybe-check-m4
19937 maybe-check-m4:
19938 @if m4
19939 maybe-check-m4: check-m4
19941 check-m4:
19942 @: $(MAKE); $(unstage)
19943 @r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19945 $(HOST_EXPORTS) \
19946 (cd $(HOST_SUBDIR)/m4 && \
19947 $(MAKE) $(FLAGS_TO_PASS) check)
19949 @endif m4
19951 .PHONY: install-m4 maybe-install-m4
19952 maybe-install-m4:
19953 @if m4
19954 maybe-install-m4: install-m4
19956 install-m4: installdirs
19957 @: $(MAKE); $(unstage)
19958 @r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 $(HOST_EXPORTS) \
19961 (cd $(HOST_SUBDIR)/m4 && \
19962 $(MAKE) $(FLAGS_TO_PASS) install)
19964 @endif m4
19966 # Other targets (info, dvi, etc.)
19968 .PHONY: maybe-info-m4 info-m4
19969 maybe-info-m4:
19970 @if m4
19971 maybe-info-m4: info-m4
19973 info-m4: \
19974 configure-m4
19975 @: $(MAKE); $(unstage)
19976 @[ -f ./m4/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(HOST_EXPORTS) \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982 done; \
19983 echo "Doing info in m4" ; \
19984 (cd $(HOST_SUBDIR)/m4 && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989 info) \
19990 || exit 1
19992 @endif m4
19994 .PHONY: maybe-dvi-m4 dvi-m4
19995 maybe-dvi-m4:
19996 @if m4
19997 maybe-dvi-m4: dvi-m4
19999 dvi-m4: \
20000 configure-m4
20001 @: $(MAKE); $(unstage)
20002 @[ -f ./m4/Makefile ] || exit 0; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 $(HOST_EXPORTS) \
20006 for flag in $(EXTRA_HOST_FLAGS) ; do \
20007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20008 done; \
20009 echo "Doing dvi in m4" ; \
20010 (cd $(HOST_SUBDIR)/m4 && \
20011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20013 "RANLIB=$${RANLIB}" \
20014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20015 dvi) \
20016 || exit 1
20018 @endif m4
20020 .PHONY: maybe-html-m4 html-m4
20021 maybe-html-m4:
20022 @if m4
20023 maybe-html-m4: html-m4
20025 html-m4: \
20026 configure-m4
20027 @: $(MAKE); $(unstage)
20028 @[ -f ./m4/Makefile ] || exit 0; \
20029 r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(HOST_EXPORTS) \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20034 done; \
20035 echo "Doing html in m4" ; \
20036 (cd $(HOST_SUBDIR)/m4 && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20041 html) \
20042 || exit 1
20044 @endif m4
20046 .PHONY: maybe-TAGS-m4 TAGS-m4
20047 maybe-TAGS-m4:
20048 @if m4
20049 maybe-TAGS-m4: TAGS-m4
20051 TAGS-m4: \
20052 configure-m4
20053 @: $(MAKE); $(unstage)
20054 @[ -f ./m4/Makefile ] || exit 0; \
20055 r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057 $(HOST_EXPORTS) \
20058 for flag in $(EXTRA_HOST_FLAGS) ; do \
20059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20060 done; \
20061 echo "Doing TAGS in m4" ; \
20062 (cd $(HOST_SUBDIR)/m4 && \
20063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20065 "RANLIB=$${RANLIB}" \
20066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20067 TAGS) \
20068 || exit 1
20070 @endif m4
20072 .PHONY: maybe-install-info-m4 install-info-m4
20073 maybe-install-info-m4:
20074 @if m4
20075 maybe-install-info-m4: install-info-m4
20077 install-info-m4: \
20078 configure-m4 \
20079 info-m4
20080 @: $(MAKE); $(unstage)
20081 @[ -f ./m4/Makefile ] || exit 0; \
20082 r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20084 $(HOST_EXPORTS) \
20085 for flag in $(EXTRA_HOST_FLAGS) ; do \
20086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20087 done; \
20088 echo "Doing install-info in m4" ; \
20089 (cd $(HOST_SUBDIR)/m4 && \
20090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20092 "RANLIB=$${RANLIB}" \
20093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20094 install-info) \
20095 || exit 1
20097 @endif m4
20099 .PHONY: maybe-install-html-m4 install-html-m4
20100 maybe-install-html-m4:
20101 @if m4
20102 maybe-install-html-m4: install-html-m4
20104 install-html-m4: \
20105 configure-m4 \
20106 html-m4
20107 @: $(MAKE); $(unstage)
20108 @[ -f ./m4/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing install-html in m4" ; \
20116 (cd $(HOST_SUBDIR)/m4 && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 install-html) \
20122 || exit 1
20124 @endif m4
20126 .PHONY: maybe-installcheck-m4 installcheck-m4
20127 maybe-installcheck-m4:
20128 @if m4
20129 maybe-installcheck-m4: installcheck-m4
20131 installcheck-m4: \
20132 configure-m4
20133 @: $(MAKE); $(unstage)
20134 @[ -f ./m4/Makefile ] || exit 0; \
20135 r=`${PWD_COMMAND}`; export r; \
20136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 $(HOST_EXPORTS) \
20138 for flag in $(EXTRA_HOST_FLAGS) ; do \
20139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20140 done; \
20141 echo "Doing installcheck in m4" ; \
20142 (cd $(HOST_SUBDIR)/m4 && \
20143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20145 "RANLIB=$${RANLIB}" \
20146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20147 installcheck) \
20148 || exit 1
20150 @endif m4
20152 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
20153 maybe-mostlyclean-m4:
20154 @if m4
20155 maybe-mostlyclean-m4: mostlyclean-m4
20157 mostlyclean-m4:
20158 @: $(MAKE); $(unstage)
20159 @[ -f ./m4/Makefile ] || exit 0; \
20160 r=`${PWD_COMMAND}`; export r; \
20161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20162 $(HOST_EXPORTS) \
20163 for flag in $(EXTRA_HOST_FLAGS) ; do \
20164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20165 done; \
20166 echo "Doing mostlyclean in m4" ; \
20167 (cd $(HOST_SUBDIR)/m4 && \
20168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20170 "RANLIB=$${RANLIB}" \
20171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20172 mostlyclean) \
20173 || exit 1
20175 @endif m4
20177 .PHONY: maybe-clean-m4 clean-m4
20178 maybe-clean-m4:
20179 @if m4
20180 maybe-clean-m4: clean-m4
20182 clean-m4:
20183 @: $(MAKE); $(unstage)
20184 @[ -f ./m4/Makefile ] || exit 0; \
20185 r=`${PWD_COMMAND}`; export r; \
20186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187 $(HOST_EXPORTS) \
20188 for flag in $(EXTRA_HOST_FLAGS) ; do \
20189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20190 done; \
20191 echo "Doing clean in m4" ; \
20192 (cd $(HOST_SUBDIR)/m4 && \
20193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20195 "RANLIB=$${RANLIB}" \
20196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20197 clean) \
20198 || exit 1
20200 @endif m4
20202 .PHONY: maybe-distclean-m4 distclean-m4
20203 maybe-distclean-m4:
20204 @if m4
20205 maybe-distclean-m4: distclean-m4
20207 distclean-m4:
20208 @: $(MAKE); $(unstage)
20209 @[ -f ./m4/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing distclean in m4" ; \
20217 (cd $(HOST_SUBDIR)/m4 && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20222 distclean) \
20223 || exit 1
20225 @endif m4
20227 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
20228 maybe-maintainer-clean-m4:
20229 @if m4
20230 maybe-maintainer-clean-m4: maintainer-clean-m4
20232 maintainer-clean-m4:
20233 @: $(MAKE); $(unstage)
20234 @[ -f ./m4/Makefile ] || exit 0; \
20235 r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 $(HOST_EXPORTS) \
20238 for flag in $(EXTRA_HOST_FLAGS) ; do \
20239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20240 done; \
20241 echo "Doing maintainer-clean in m4" ; \
20242 (cd $(HOST_SUBDIR)/m4 && \
20243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20245 "RANLIB=$${RANLIB}" \
20246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20247 maintainer-clean) \
20248 || exit 1
20250 @endif m4
20254 .PHONY: configure-make maybe-configure-make
20255 maybe-configure-make:
20256 @if make
20257 maybe-configure-make: configure-make
20258 configure-make:
20259 @: $(MAKE); $(unstage)
20260 @r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
20263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
20264 $(HOST_EXPORTS) \
20265 echo Configuring in $(HOST_SUBDIR)/make; \
20266 cd "$(HOST_SUBDIR)/make" || exit 1; \
20267 case $(srcdir) in \
20268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20269 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
20270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20271 esac; \
20272 srcdiroption="--srcdir=$${topdir}/make"; \
20273 libsrcdir="$$s/make"; \
20274 $(SHELL) $${libsrcdir}/configure \
20275 $(HOST_CONFIGARGS) $${srcdiroption} \
20276 || exit 1
20277 @endif make
20283 .PHONY: all-make maybe-all-make
20284 maybe-all-make:
20285 @if make
20286 TARGET-make=all
20287 maybe-all-make: all-make
20288 all-make: configure-make
20289 @: $(MAKE); $(unstage)
20290 @r=`${PWD_COMMAND}`; export r; \
20291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20292 $(HOST_EXPORTS) \
20293 (cd $(HOST_SUBDIR)/make && \
20294 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
20295 @endif make
20300 .PHONY: check-make maybe-check-make
20301 maybe-check-make:
20302 @if make
20303 maybe-check-make: check-make
20305 check-make:
20306 @: $(MAKE); $(unstage)
20307 @r=`${PWD_COMMAND}`; export r; \
20308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20309 $(HOST_EXPORTS) \
20310 (cd $(HOST_SUBDIR)/make && \
20311 $(MAKE) $(FLAGS_TO_PASS) check)
20313 @endif make
20315 .PHONY: install-make maybe-install-make
20316 maybe-install-make:
20317 @if make
20318 maybe-install-make: install-make
20320 install-make: installdirs
20321 @: $(MAKE); $(unstage)
20322 @r=`${PWD_COMMAND}`; export r; \
20323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20324 $(HOST_EXPORTS) \
20325 (cd $(HOST_SUBDIR)/make && \
20326 $(MAKE) $(FLAGS_TO_PASS) install)
20328 @endif make
20330 # Other targets (info, dvi, etc.)
20332 .PHONY: maybe-info-make info-make
20333 maybe-info-make:
20334 @if make
20335 maybe-info-make: info-make
20337 info-make: \
20338 configure-make
20339 @: $(MAKE); $(unstage)
20340 @[ -f ./make/Makefile ] || exit 0; \
20341 r=`${PWD_COMMAND}`; export r; \
20342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 $(HOST_EXPORTS) \
20344 for flag in $(EXTRA_HOST_FLAGS) ; do \
20345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20346 done; \
20347 echo "Doing info in make" ; \
20348 (cd $(HOST_SUBDIR)/make && \
20349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20351 "RANLIB=$${RANLIB}" \
20352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20353 info) \
20354 || exit 1
20356 @endif make
20358 .PHONY: maybe-dvi-make dvi-make
20359 maybe-dvi-make:
20360 @if make
20361 maybe-dvi-make: dvi-make
20363 dvi-make: \
20364 configure-make
20365 @: $(MAKE); $(unstage)
20366 @[ -f ./make/Makefile ] || exit 0; \
20367 r=`${PWD_COMMAND}`; export r; \
20368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20369 $(HOST_EXPORTS) \
20370 for flag in $(EXTRA_HOST_FLAGS) ; do \
20371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20372 done; \
20373 echo "Doing dvi in make" ; \
20374 (cd $(HOST_SUBDIR)/make && \
20375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20377 "RANLIB=$${RANLIB}" \
20378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20379 dvi) \
20380 || exit 1
20382 @endif make
20384 .PHONY: maybe-html-make html-make
20385 maybe-html-make:
20386 @if make
20387 maybe-html-make: html-make
20389 html-make: \
20390 configure-make
20391 @: $(MAKE); $(unstage)
20392 @[ -f ./make/Makefile ] || exit 0; \
20393 r=`${PWD_COMMAND}`; export r; \
20394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20395 $(HOST_EXPORTS) \
20396 for flag in $(EXTRA_HOST_FLAGS) ; do \
20397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20398 done; \
20399 echo "Doing html in make" ; \
20400 (cd $(HOST_SUBDIR)/make && \
20401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20403 "RANLIB=$${RANLIB}" \
20404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20405 html) \
20406 || exit 1
20408 @endif make
20410 .PHONY: maybe-TAGS-make TAGS-make
20411 maybe-TAGS-make:
20412 @if make
20413 maybe-TAGS-make: TAGS-make
20415 TAGS-make: \
20416 configure-make
20417 @: $(MAKE); $(unstage)
20418 @[ -f ./make/Makefile ] || exit 0; \
20419 r=`${PWD_COMMAND}`; export r; \
20420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20421 $(HOST_EXPORTS) \
20422 for flag in $(EXTRA_HOST_FLAGS) ; do \
20423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20424 done; \
20425 echo "Doing TAGS in make" ; \
20426 (cd $(HOST_SUBDIR)/make && \
20427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20429 "RANLIB=$${RANLIB}" \
20430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20431 TAGS) \
20432 || exit 1
20434 @endif make
20436 .PHONY: maybe-install-info-make install-info-make
20437 maybe-install-info-make:
20438 @if make
20439 maybe-install-info-make: install-info-make
20441 install-info-make: \
20442 configure-make \
20443 info-make
20444 @: $(MAKE); $(unstage)
20445 @[ -f ./make/Makefile ] || exit 0; \
20446 r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 $(HOST_EXPORTS) \
20449 for flag in $(EXTRA_HOST_FLAGS) ; do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 done; \
20452 echo "Doing install-info in make" ; \
20453 (cd $(HOST_SUBDIR)/make && \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20458 install-info) \
20459 || exit 1
20461 @endif make
20463 .PHONY: maybe-install-html-make install-html-make
20464 maybe-install-html-make:
20465 @if make
20466 maybe-install-html-make: install-html-make
20468 install-html-make: \
20469 configure-make \
20470 html-make
20471 @: $(MAKE); $(unstage)
20472 @[ -f ./make/Makefile ] || exit 0; \
20473 r=`${PWD_COMMAND}`; export r; \
20474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20475 $(HOST_EXPORTS) \
20476 for flag in $(EXTRA_HOST_FLAGS) ; do \
20477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20478 done; \
20479 echo "Doing install-html in make" ; \
20480 (cd $(HOST_SUBDIR)/make && \
20481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20483 "RANLIB=$${RANLIB}" \
20484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20485 install-html) \
20486 || exit 1
20488 @endif make
20490 .PHONY: maybe-installcheck-make installcheck-make
20491 maybe-installcheck-make:
20492 @if make
20493 maybe-installcheck-make: installcheck-make
20495 installcheck-make: \
20496 configure-make
20497 @: $(MAKE); $(unstage)
20498 @[ -f ./make/Makefile ] || exit 0; \
20499 r=`${PWD_COMMAND}`; export r; \
20500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 $(HOST_EXPORTS) \
20502 for flag in $(EXTRA_HOST_FLAGS) ; do \
20503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20504 done; \
20505 echo "Doing installcheck in make" ; \
20506 (cd $(HOST_SUBDIR)/make && \
20507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20509 "RANLIB=$${RANLIB}" \
20510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20511 installcheck) \
20512 || exit 1
20514 @endif make
20516 .PHONY: maybe-mostlyclean-make mostlyclean-make
20517 maybe-mostlyclean-make:
20518 @if make
20519 maybe-mostlyclean-make: mostlyclean-make
20521 mostlyclean-make:
20522 @: $(MAKE); $(unstage)
20523 @[ -f ./make/Makefile ] || exit 0; \
20524 r=`${PWD_COMMAND}`; export r; \
20525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20526 $(HOST_EXPORTS) \
20527 for flag in $(EXTRA_HOST_FLAGS) ; do \
20528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20529 done; \
20530 echo "Doing mostlyclean in make" ; \
20531 (cd $(HOST_SUBDIR)/make && \
20532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20534 "RANLIB=$${RANLIB}" \
20535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20536 mostlyclean) \
20537 || exit 1
20539 @endif make
20541 .PHONY: maybe-clean-make clean-make
20542 maybe-clean-make:
20543 @if make
20544 maybe-clean-make: clean-make
20546 clean-make:
20547 @: $(MAKE); $(unstage)
20548 @[ -f ./make/Makefile ] || exit 0; \
20549 r=`${PWD_COMMAND}`; export r; \
20550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20551 $(HOST_EXPORTS) \
20552 for flag in $(EXTRA_HOST_FLAGS) ; do \
20553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20554 done; \
20555 echo "Doing clean in make" ; \
20556 (cd $(HOST_SUBDIR)/make && \
20557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20559 "RANLIB=$${RANLIB}" \
20560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20561 clean) \
20562 || exit 1
20564 @endif make
20566 .PHONY: maybe-distclean-make distclean-make
20567 maybe-distclean-make:
20568 @if make
20569 maybe-distclean-make: distclean-make
20571 distclean-make:
20572 @: $(MAKE); $(unstage)
20573 @[ -f ./make/Makefile ] || exit 0; \
20574 r=`${PWD_COMMAND}`; export r; \
20575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20576 $(HOST_EXPORTS) \
20577 for flag in $(EXTRA_HOST_FLAGS) ; do \
20578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20579 done; \
20580 echo "Doing distclean in make" ; \
20581 (cd $(HOST_SUBDIR)/make && \
20582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20584 "RANLIB=$${RANLIB}" \
20585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20586 distclean) \
20587 || exit 1
20589 @endif make
20591 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
20592 maybe-maintainer-clean-make:
20593 @if make
20594 maybe-maintainer-clean-make: maintainer-clean-make
20596 maintainer-clean-make:
20597 @: $(MAKE); $(unstage)
20598 @[ -f ./make/Makefile ] || exit 0; \
20599 r=`${PWD_COMMAND}`; export r; \
20600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20601 $(HOST_EXPORTS) \
20602 for flag in $(EXTRA_HOST_FLAGS) ; do \
20603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20604 done; \
20605 echo "Doing maintainer-clean in make" ; \
20606 (cd $(HOST_SUBDIR)/make && \
20607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20609 "RANLIB=$${RANLIB}" \
20610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20611 maintainer-clean) \
20612 || exit 1
20614 @endif make
20618 .PHONY: configure-mmalloc maybe-configure-mmalloc
20619 maybe-configure-mmalloc:
20620 @if mmalloc
20621 maybe-configure-mmalloc: configure-mmalloc
20622 configure-mmalloc:
20623 @: $(MAKE); $(unstage)
20624 @r=`${PWD_COMMAND}`; export r; \
20625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20626 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
20627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
20628 $(HOST_EXPORTS) \
20629 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
20630 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
20631 case $(srcdir) in \
20632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20633 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
20634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20635 esac; \
20636 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
20637 libsrcdir="$$s/mmalloc"; \
20638 $(SHELL) $${libsrcdir}/configure \
20639 $(HOST_CONFIGARGS) $${srcdiroption} \
20640 || exit 1
20641 @endif mmalloc
20647 .PHONY: all-mmalloc maybe-all-mmalloc
20648 maybe-all-mmalloc:
20649 @if mmalloc
20650 TARGET-mmalloc=all
20651 maybe-all-mmalloc: all-mmalloc
20652 all-mmalloc: configure-mmalloc
20653 @: $(MAKE); $(unstage)
20654 @r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 $(HOST_EXPORTS) \
20657 (cd $(HOST_SUBDIR)/mmalloc && \
20658 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
20659 @endif mmalloc
20664 .PHONY: check-mmalloc maybe-check-mmalloc
20665 maybe-check-mmalloc:
20666 @if mmalloc
20667 maybe-check-mmalloc: check-mmalloc
20669 check-mmalloc:
20671 @endif mmalloc
20673 .PHONY: install-mmalloc maybe-install-mmalloc
20674 maybe-install-mmalloc:
20675 @if mmalloc
20676 maybe-install-mmalloc: install-mmalloc
20678 install-mmalloc: installdirs
20679 @: $(MAKE); $(unstage)
20680 @r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(HOST_EXPORTS) \
20683 (cd $(HOST_SUBDIR)/mmalloc && \
20684 $(MAKE) $(FLAGS_TO_PASS) install)
20686 @endif mmalloc
20688 # Other targets (info, dvi, etc.)
20690 .PHONY: maybe-info-mmalloc info-mmalloc
20691 maybe-info-mmalloc:
20692 @if mmalloc
20693 maybe-info-mmalloc: info-mmalloc
20695 info-mmalloc: \
20696 configure-mmalloc
20697 @: $(MAKE); $(unstage)
20698 @[ -f ./mmalloc/Makefile ] || exit 0; \
20699 r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 $(HOST_EXPORTS) \
20702 for flag in $(EXTRA_HOST_FLAGS) ; do \
20703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20704 done; \
20705 echo "Doing info in mmalloc" ; \
20706 (cd $(HOST_SUBDIR)/mmalloc && \
20707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20709 "RANLIB=$${RANLIB}" \
20710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20711 info) \
20712 || exit 1
20714 @endif mmalloc
20716 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
20717 maybe-dvi-mmalloc:
20718 @if mmalloc
20719 maybe-dvi-mmalloc: dvi-mmalloc
20721 dvi-mmalloc: \
20722 configure-mmalloc
20723 @: $(MAKE); $(unstage)
20724 @[ -f ./mmalloc/Makefile ] || exit 0; \
20725 r=`${PWD_COMMAND}`; export r; \
20726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20727 $(HOST_EXPORTS) \
20728 for flag in $(EXTRA_HOST_FLAGS) ; do \
20729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20730 done; \
20731 echo "Doing dvi in mmalloc" ; \
20732 (cd $(HOST_SUBDIR)/mmalloc && \
20733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20735 "RANLIB=$${RANLIB}" \
20736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20737 dvi) \
20738 || exit 1
20740 @endif mmalloc
20742 .PHONY: maybe-html-mmalloc html-mmalloc
20743 maybe-html-mmalloc:
20744 @if mmalloc
20745 maybe-html-mmalloc: html-mmalloc
20747 html-mmalloc: \
20748 configure-mmalloc
20749 @: $(MAKE); $(unstage)
20750 @[ -f ./mmalloc/Makefile ] || exit 0; \
20751 r=`${PWD_COMMAND}`; export r; \
20752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20753 $(HOST_EXPORTS) \
20754 for flag in $(EXTRA_HOST_FLAGS) ; do \
20755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20756 done; \
20757 echo "Doing html in mmalloc" ; \
20758 (cd $(HOST_SUBDIR)/mmalloc && \
20759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20761 "RANLIB=$${RANLIB}" \
20762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20763 html) \
20764 || exit 1
20766 @endif mmalloc
20768 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
20769 maybe-TAGS-mmalloc:
20770 @if mmalloc
20771 maybe-TAGS-mmalloc: TAGS-mmalloc
20773 TAGS-mmalloc: \
20774 configure-mmalloc
20775 @: $(MAKE); $(unstage)
20776 @[ -f ./mmalloc/Makefile ] || exit 0; \
20777 r=`${PWD_COMMAND}`; export r; \
20778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20779 $(HOST_EXPORTS) \
20780 for flag in $(EXTRA_HOST_FLAGS) ; do \
20781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20782 done; \
20783 echo "Doing TAGS in mmalloc" ; \
20784 (cd $(HOST_SUBDIR)/mmalloc && \
20785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20787 "RANLIB=$${RANLIB}" \
20788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20789 TAGS) \
20790 || exit 1
20792 @endif mmalloc
20794 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
20795 maybe-install-info-mmalloc:
20796 @if mmalloc
20797 maybe-install-info-mmalloc: install-info-mmalloc
20799 install-info-mmalloc: \
20800 configure-mmalloc \
20801 info-mmalloc
20802 @: $(MAKE); $(unstage)
20803 @[ -f ./mmalloc/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(HOST_EXPORTS) \
20807 for flag in $(EXTRA_HOST_FLAGS) ; do \
20808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20809 done; \
20810 echo "Doing install-info in mmalloc" ; \
20811 (cd $(HOST_SUBDIR)/mmalloc && \
20812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20814 "RANLIB=$${RANLIB}" \
20815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20816 install-info) \
20817 || exit 1
20819 @endif mmalloc
20821 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
20822 maybe-install-html-mmalloc:
20823 @if mmalloc
20824 maybe-install-html-mmalloc: install-html-mmalloc
20826 install-html-mmalloc: \
20827 configure-mmalloc \
20828 html-mmalloc
20829 @: $(MAKE); $(unstage)
20830 @[ -f ./mmalloc/Makefile ] || exit 0; \
20831 r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833 $(HOST_EXPORTS) \
20834 for flag in $(EXTRA_HOST_FLAGS) ; do \
20835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20836 done; \
20837 echo "Doing install-html in mmalloc" ; \
20838 (cd $(HOST_SUBDIR)/mmalloc && \
20839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20841 "RANLIB=$${RANLIB}" \
20842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20843 install-html) \
20844 || exit 1
20846 @endif mmalloc
20848 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
20849 maybe-installcheck-mmalloc:
20850 @if mmalloc
20851 maybe-installcheck-mmalloc: installcheck-mmalloc
20853 installcheck-mmalloc: \
20854 configure-mmalloc
20855 @: $(MAKE); $(unstage)
20856 @[ -f ./mmalloc/Makefile ] || exit 0; \
20857 r=`${PWD_COMMAND}`; export r; \
20858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20859 $(HOST_EXPORTS) \
20860 for flag in $(EXTRA_HOST_FLAGS) ; do \
20861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20862 done; \
20863 echo "Doing installcheck in mmalloc" ; \
20864 (cd $(HOST_SUBDIR)/mmalloc && \
20865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20867 "RANLIB=$${RANLIB}" \
20868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20869 installcheck) \
20870 || exit 1
20872 @endif mmalloc
20874 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
20875 maybe-mostlyclean-mmalloc:
20876 @if mmalloc
20877 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
20879 mostlyclean-mmalloc:
20880 @: $(MAKE); $(unstage)
20881 @[ -f ./mmalloc/Makefile ] || exit 0; \
20882 r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 $(HOST_EXPORTS) \
20885 for flag in $(EXTRA_HOST_FLAGS) ; do \
20886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20887 done; \
20888 echo "Doing mostlyclean in mmalloc" ; \
20889 (cd $(HOST_SUBDIR)/mmalloc && \
20890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20892 "RANLIB=$${RANLIB}" \
20893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20894 mostlyclean) \
20895 || exit 1
20897 @endif mmalloc
20899 .PHONY: maybe-clean-mmalloc clean-mmalloc
20900 maybe-clean-mmalloc:
20901 @if mmalloc
20902 maybe-clean-mmalloc: clean-mmalloc
20904 clean-mmalloc:
20905 @: $(MAKE); $(unstage)
20906 @[ -f ./mmalloc/Makefile ] || exit 0; \
20907 r=`${PWD_COMMAND}`; export r; \
20908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20909 $(HOST_EXPORTS) \
20910 for flag in $(EXTRA_HOST_FLAGS) ; do \
20911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20912 done; \
20913 echo "Doing clean in mmalloc" ; \
20914 (cd $(HOST_SUBDIR)/mmalloc && \
20915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20917 "RANLIB=$${RANLIB}" \
20918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20919 clean) \
20920 || exit 1
20922 @endif mmalloc
20924 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
20925 maybe-distclean-mmalloc:
20926 @if mmalloc
20927 maybe-distclean-mmalloc: distclean-mmalloc
20929 distclean-mmalloc:
20930 @: $(MAKE); $(unstage)
20931 @[ -f ./mmalloc/Makefile ] || exit 0; \
20932 r=`${PWD_COMMAND}`; export r; \
20933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 $(HOST_EXPORTS) \
20935 for flag in $(EXTRA_HOST_FLAGS) ; do \
20936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20937 done; \
20938 echo "Doing distclean in mmalloc" ; \
20939 (cd $(HOST_SUBDIR)/mmalloc && \
20940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20942 "RANLIB=$${RANLIB}" \
20943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20944 distclean) \
20945 || exit 1
20947 @endif mmalloc
20949 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
20950 maybe-maintainer-clean-mmalloc:
20951 @if mmalloc
20952 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
20954 maintainer-clean-mmalloc:
20955 @: $(MAKE); $(unstage)
20956 @[ -f ./mmalloc/Makefile ] || exit 0; \
20957 r=`${PWD_COMMAND}`; export r; \
20958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20959 $(HOST_EXPORTS) \
20960 for flag in $(EXTRA_HOST_FLAGS) ; do \
20961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20962 done; \
20963 echo "Doing maintainer-clean in mmalloc" ; \
20964 (cd $(HOST_SUBDIR)/mmalloc && \
20965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20967 "RANLIB=$${RANLIB}" \
20968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20969 maintainer-clean) \
20970 || exit 1
20972 @endif mmalloc
20976 .PHONY: configure-patch maybe-configure-patch
20977 maybe-configure-patch:
20978 @if patch
20979 maybe-configure-patch: configure-patch
20980 configure-patch:
20981 @: $(MAKE); $(unstage)
20982 @r=`${PWD_COMMAND}`; export r; \
20983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
20985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
20986 $(HOST_EXPORTS) \
20987 echo Configuring in $(HOST_SUBDIR)/patch; \
20988 cd "$(HOST_SUBDIR)/patch" || exit 1; \
20989 case $(srcdir) in \
20990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20991 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
20992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20993 esac; \
20994 srcdiroption="--srcdir=$${topdir}/patch"; \
20995 libsrcdir="$$s/patch"; \
20996 $(SHELL) $${libsrcdir}/configure \
20997 $(HOST_CONFIGARGS) $${srcdiroption} \
20998 || exit 1
20999 @endif patch
21005 .PHONY: all-patch maybe-all-patch
21006 maybe-all-patch:
21007 @if patch
21008 TARGET-patch=all
21009 maybe-all-patch: all-patch
21010 all-patch: configure-patch
21011 @: $(MAKE); $(unstage)
21012 @r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 $(HOST_EXPORTS) \
21015 (cd $(HOST_SUBDIR)/patch && \
21016 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
21017 @endif patch
21022 .PHONY: check-patch maybe-check-patch
21023 maybe-check-patch:
21024 @if patch
21025 maybe-check-patch: check-patch
21027 check-patch:
21028 @: $(MAKE); $(unstage)
21029 @r=`${PWD_COMMAND}`; export r; \
21030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21031 $(HOST_EXPORTS) \
21032 (cd $(HOST_SUBDIR)/patch && \
21033 $(MAKE) $(FLAGS_TO_PASS) check)
21035 @endif patch
21037 .PHONY: install-patch maybe-install-patch
21038 maybe-install-patch:
21039 @if patch
21040 maybe-install-patch: install-patch
21042 install-patch: installdirs
21043 @: $(MAKE); $(unstage)
21044 @r=`${PWD_COMMAND}`; export r; \
21045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21046 $(HOST_EXPORTS) \
21047 (cd $(HOST_SUBDIR)/patch && \
21048 $(MAKE) $(FLAGS_TO_PASS) install)
21050 @endif patch
21052 # Other targets (info, dvi, etc.)
21054 .PHONY: maybe-info-patch info-patch
21055 maybe-info-patch:
21056 @if patch
21057 maybe-info-patch: info-patch
21059 info-patch: \
21060 configure-patch
21061 @: $(MAKE); $(unstage)
21062 @[ -f ./patch/Makefile ] || exit 0; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(HOST_EXPORTS) \
21066 for flag in $(EXTRA_HOST_FLAGS) ; do \
21067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21068 done; \
21069 echo "Doing info in patch" ; \
21070 (cd $(HOST_SUBDIR)/patch && \
21071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21073 "RANLIB=$${RANLIB}" \
21074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21075 info) \
21076 || exit 1
21078 @endif patch
21080 .PHONY: maybe-dvi-patch dvi-patch
21081 maybe-dvi-patch:
21082 @if patch
21083 maybe-dvi-patch: dvi-patch
21085 dvi-patch: \
21086 configure-patch
21087 @: $(MAKE); $(unstage)
21088 @[ -f ./patch/Makefile ] || exit 0; \
21089 r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21091 $(HOST_EXPORTS) \
21092 for flag in $(EXTRA_HOST_FLAGS) ; do \
21093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21094 done; \
21095 echo "Doing dvi in patch" ; \
21096 (cd $(HOST_SUBDIR)/patch && \
21097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21099 "RANLIB=$${RANLIB}" \
21100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21101 dvi) \
21102 || exit 1
21104 @endif patch
21106 .PHONY: maybe-html-patch html-patch
21107 maybe-html-patch:
21108 @if patch
21109 maybe-html-patch: html-patch
21111 html-patch: \
21112 configure-patch
21113 @: $(MAKE); $(unstage)
21114 @[ -f ./patch/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 $(HOST_EXPORTS) \
21118 for flag in $(EXTRA_HOST_FLAGS) ; do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21120 done; \
21121 echo "Doing html in patch" ; \
21122 (cd $(HOST_SUBDIR)/patch && \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21127 html) \
21128 || exit 1
21130 @endif patch
21132 .PHONY: maybe-TAGS-patch TAGS-patch
21133 maybe-TAGS-patch:
21134 @if patch
21135 maybe-TAGS-patch: TAGS-patch
21137 TAGS-patch: \
21138 configure-patch
21139 @: $(MAKE); $(unstage)
21140 @[ -f ./patch/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143 $(HOST_EXPORTS) \
21144 for flag in $(EXTRA_HOST_FLAGS) ; do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21146 done; \
21147 echo "Doing TAGS in patch" ; \
21148 (cd $(HOST_SUBDIR)/patch && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21153 TAGS) \
21154 || exit 1
21156 @endif patch
21158 .PHONY: maybe-install-info-patch install-info-patch
21159 maybe-install-info-patch:
21160 @if patch
21161 maybe-install-info-patch: install-info-patch
21163 install-info-patch: \
21164 configure-patch \
21165 info-patch
21166 @: $(MAKE); $(unstage)
21167 @[ -f ./patch/Makefile ] || exit 0; \
21168 r=`${PWD_COMMAND}`; export r; \
21169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21170 $(HOST_EXPORTS) \
21171 for flag in $(EXTRA_HOST_FLAGS) ; do \
21172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21173 done; \
21174 echo "Doing install-info in patch" ; \
21175 (cd $(HOST_SUBDIR)/patch && \
21176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21178 "RANLIB=$${RANLIB}" \
21179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21180 install-info) \
21181 || exit 1
21183 @endif patch
21185 .PHONY: maybe-install-html-patch install-html-patch
21186 maybe-install-html-patch:
21187 @if patch
21188 maybe-install-html-patch: install-html-patch
21190 install-html-patch: \
21191 configure-patch \
21192 html-patch
21193 @: $(MAKE); $(unstage)
21194 @[ -f ./patch/Makefile ] || exit 0; \
21195 r=`${PWD_COMMAND}`; export r; \
21196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21197 $(HOST_EXPORTS) \
21198 for flag in $(EXTRA_HOST_FLAGS) ; do \
21199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21200 done; \
21201 echo "Doing install-html in patch" ; \
21202 (cd $(HOST_SUBDIR)/patch && \
21203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21205 "RANLIB=$${RANLIB}" \
21206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21207 install-html) \
21208 || exit 1
21210 @endif patch
21212 .PHONY: maybe-installcheck-patch installcheck-patch
21213 maybe-installcheck-patch:
21214 @if patch
21215 maybe-installcheck-patch: installcheck-patch
21217 installcheck-patch: \
21218 configure-patch
21219 @: $(MAKE); $(unstage)
21220 @[ -f ./patch/Makefile ] || exit 0; \
21221 r=`${PWD_COMMAND}`; export r; \
21222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21223 $(HOST_EXPORTS) \
21224 for flag in $(EXTRA_HOST_FLAGS) ; do \
21225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21226 done; \
21227 echo "Doing installcheck in patch" ; \
21228 (cd $(HOST_SUBDIR)/patch && \
21229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21231 "RANLIB=$${RANLIB}" \
21232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21233 installcheck) \
21234 || exit 1
21236 @endif patch
21238 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
21239 maybe-mostlyclean-patch:
21240 @if patch
21241 maybe-mostlyclean-patch: mostlyclean-patch
21243 mostlyclean-patch:
21244 @: $(MAKE); $(unstage)
21245 @[ -f ./patch/Makefile ] || exit 0; \
21246 r=`${PWD_COMMAND}`; export r; \
21247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21248 $(HOST_EXPORTS) \
21249 for flag in $(EXTRA_HOST_FLAGS) ; do \
21250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21251 done; \
21252 echo "Doing mostlyclean in patch" ; \
21253 (cd $(HOST_SUBDIR)/patch && \
21254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21256 "RANLIB=$${RANLIB}" \
21257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21258 mostlyclean) \
21259 || exit 1
21261 @endif patch
21263 .PHONY: maybe-clean-patch clean-patch
21264 maybe-clean-patch:
21265 @if patch
21266 maybe-clean-patch: clean-patch
21268 clean-patch:
21269 @: $(MAKE); $(unstage)
21270 @[ -f ./patch/Makefile ] || exit 0; \
21271 r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 $(HOST_EXPORTS) \
21274 for flag in $(EXTRA_HOST_FLAGS) ; do \
21275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21276 done; \
21277 echo "Doing clean in patch" ; \
21278 (cd $(HOST_SUBDIR)/patch && \
21279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21281 "RANLIB=$${RANLIB}" \
21282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21283 clean) \
21284 || exit 1
21286 @endif patch
21288 .PHONY: maybe-distclean-patch distclean-patch
21289 maybe-distclean-patch:
21290 @if patch
21291 maybe-distclean-patch: distclean-patch
21293 distclean-patch:
21294 @: $(MAKE); $(unstage)
21295 @[ -f ./patch/Makefile ] || exit 0; \
21296 r=`${PWD_COMMAND}`; export r; \
21297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21298 $(HOST_EXPORTS) \
21299 for flag in $(EXTRA_HOST_FLAGS) ; do \
21300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21301 done; \
21302 echo "Doing distclean in patch" ; \
21303 (cd $(HOST_SUBDIR)/patch && \
21304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21306 "RANLIB=$${RANLIB}" \
21307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21308 distclean) \
21309 || exit 1
21311 @endif patch
21313 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
21314 maybe-maintainer-clean-patch:
21315 @if patch
21316 maybe-maintainer-clean-patch: maintainer-clean-patch
21318 maintainer-clean-patch:
21319 @: $(MAKE); $(unstage)
21320 @[ -f ./patch/Makefile ] || exit 0; \
21321 r=`${PWD_COMMAND}`; export r; \
21322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21323 $(HOST_EXPORTS) \
21324 for flag in $(EXTRA_HOST_FLAGS) ; do \
21325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21326 done; \
21327 echo "Doing maintainer-clean in patch" ; \
21328 (cd $(HOST_SUBDIR)/patch && \
21329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21331 "RANLIB=$${RANLIB}" \
21332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21333 maintainer-clean) \
21334 || exit 1
21336 @endif patch
21340 .PHONY: configure-perl maybe-configure-perl
21341 maybe-configure-perl:
21342 @if perl
21343 maybe-configure-perl: configure-perl
21344 configure-perl:
21345 @: $(MAKE); $(unstage)
21346 @r=`${PWD_COMMAND}`; export r; \
21347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21348 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
21349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
21350 $(HOST_EXPORTS) \
21351 echo Configuring in $(HOST_SUBDIR)/perl; \
21352 cd "$(HOST_SUBDIR)/perl" || exit 1; \
21353 case $(srcdir) in \
21354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21355 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
21356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21357 esac; \
21358 srcdiroption="--srcdir=$${topdir}/perl"; \
21359 libsrcdir="$$s/perl"; \
21360 $(SHELL) $${libsrcdir}/configure \
21361 $(HOST_CONFIGARGS) $${srcdiroption} \
21362 || exit 1
21363 @endif perl
21369 .PHONY: all-perl maybe-all-perl
21370 maybe-all-perl:
21371 @if perl
21372 TARGET-perl=all
21373 maybe-all-perl: all-perl
21374 all-perl: configure-perl
21375 @: $(MAKE); $(unstage)
21376 @r=`${PWD_COMMAND}`; export r; \
21377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21378 $(HOST_EXPORTS) \
21379 (cd $(HOST_SUBDIR)/perl && \
21380 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
21381 @endif perl
21386 .PHONY: check-perl maybe-check-perl
21387 maybe-check-perl:
21388 @if perl
21389 maybe-check-perl: check-perl
21391 check-perl:
21392 @: $(MAKE); $(unstage)
21393 @r=`${PWD_COMMAND}`; export r; \
21394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21395 $(HOST_EXPORTS) \
21396 (cd $(HOST_SUBDIR)/perl && \
21397 $(MAKE) $(FLAGS_TO_PASS) check)
21399 @endif perl
21401 .PHONY: install-perl maybe-install-perl
21402 maybe-install-perl:
21403 @if perl
21404 maybe-install-perl: install-perl
21406 install-perl: installdirs
21407 @: $(MAKE); $(unstage)
21408 @r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(HOST_EXPORTS) \
21411 (cd $(HOST_SUBDIR)/perl && \
21412 $(MAKE) $(FLAGS_TO_PASS) install)
21414 @endif perl
21416 # Other targets (info, dvi, etc.)
21418 .PHONY: maybe-info-perl info-perl
21419 maybe-info-perl:
21420 @if perl
21421 maybe-info-perl: info-perl
21423 info-perl: \
21424 configure-perl
21425 @: $(MAKE); $(unstage)
21426 @[ -f ./perl/Makefile ] || exit 0; \
21427 r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(HOST_EXPORTS) \
21430 for flag in $(EXTRA_HOST_FLAGS) ; do \
21431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21432 done; \
21433 echo "Doing info in perl" ; \
21434 (cd $(HOST_SUBDIR)/perl && \
21435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21437 "RANLIB=$${RANLIB}" \
21438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21439 info) \
21440 || exit 1
21442 @endif perl
21444 .PHONY: maybe-dvi-perl dvi-perl
21445 maybe-dvi-perl:
21446 @if perl
21447 maybe-dvi-perl: dvi-perl
21449 dvi-perl: \
21450 configure-perl
21451 @: $(MAKE); $(unstage)
21452 @[ -f ./perl/Makefile ] || exit 0; \
21453 r=`${PWD_COMMAND}`; export r; \
21454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21455 $(HOST_EXPORTS) \
21456 for flag in $(EXTRA_HOST_FLAGS) ; do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21458 done; \
21459 echo "Doing dvi in perl" ; \
21460 (cd $(HOST_SUBDIR)/perl && \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21463 "RANLIB=$${RANLIB}" \
21464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21465 dvi) \
21466 || exit 1
21468 @endif perl
21470 .PHONY: maybe-html-perl html-perl
21471 maybe-html-perl:
21472 @if perl
21473 maybe-html-perl: html-perl
21475 html-perl: \
21476 configure-perl
21477 @: $(MAKE); $(unstage)
21478 @[ -f ./perl/Makefile ] || exit 0; \
21479 r=`${PWD_COMMAND}`; export r; \
21480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21481 $(HOST_EXPORTS) \
21482 for flag in $(EXTRA_HOST_FLAGS) ; do \
21483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21484 done; \
21485 echo "Doing html in perl" ; \
21486 (cd $(HOST_SUBDIR)/perl && \
21487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21489 "RANLIB=$${RANLIB}" \
21490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21491 html) \
21492 || exit 1
21494 @endif perl
21496 .PHONY: maybe-TAGS-perl TAGS-perl
21497 maybe-TAGS-perl:
21498 @if perl
21499 maybe-TAGS-perl: TAGS-perl
21501 TAGS-perl: \
21502 configure-perl
21503 @: $(MAKE); $(unstage)
21504 @[ -f ./perl/Makefile ] || exit 0; \
21505 r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 $(HOST_EXPORTS) \
21508 for flag in $(EXTRA_HOST_FLAGS) ; do \
21509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21510 done; \
21511 echo "Doing TAGS in perl" ; \
21512 (cd $(HOST_SUBDIR)/perl && \
21513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21515 "RANLIB=$${RANLIB}" \
21516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21517 TAGS) \
21518 || exit 1
21520 @endif perl
21522 .PHONY: maybe-install-info-perl install-info-perl
21523 maybe-install-info-perl:
21524 @if perl
21525 maybe-install-info-perl: install-info-perl
21527 install-info-perl: \
21528 configure-perl \
21529 info-perl
21530 @: $(MAKE); $(unstage)
21531 @[ -f ./perl/Makefile ] || exit 0; \
21532 r=`${PWD_COMMAND}`; export r; \
21533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534 $(HOST_EXPORTS) \
21535 for flag in $(EXTRA_HOST_FLAGS) ; do \
21536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21537 done; \
21538 echo "Doing install-info in perl" ; \
21539 (cd $(HOST_SUBDIR)/perl && \
21540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21542 "RANLIB=$${RANLIB}" \
21543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21544 install-info) \
21545 || exit 1
21547 @endif perl
21549 .PHONY: maybe-install-html-perl install-html-perl
21550 maybe-install-html-perl:
21551 @if perl
21552 maybe-install-html-perl: install-html-perl
21554 install-html-perl: \
21555 configure-perl \
21556 html-perl
21557 @: $(MAKE); $(unstage)
21558 @[ -f ./perl/Makefile ] || exit 0; \
21559 r=`${PWD_COMMAND}`; export r; \
21560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21561 $(HOST_EXPORTS) \
21562 for flag in $(EXTRA_HOST_FLAGS) ; do \
21563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21564 done; \
21565 echo "Doing install-html in perl" ; \
21566 (cd $(HOST_SUBDIR)/perl && \
21567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21569 "RANLIB=$${RANLIB}" \
21570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21571 install-html) \
21572 || exit 1
21574 @endif perl
21576 .PHONY: maybe-installcheck-perl installcheck-perl
21577 maybe-installcheck-perl:
21578 @if perl
21579 maybe-installcheck-perl: installcheck-perl
21581 installcheck-perl: \
21582 configure-perl
21583 @: $(MAKE); $(unstage)
21584 @[ -f ./perl/Makefile ] || exit 0; \
21585 r=`${PWD_COMMAND}`; export r; \
21586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21587 $(HOST_EXPORTS) \
21588 for flag in $(EXTRA_HOST_FLAGS) ; do \
21589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21590 done; \
21591 echo "Doing installcheck in perl" ; \
21592 (cd $(HOST_SUBDIR)/perl && \
21593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21595 "RANLIB=$${RANLIB}" \
21596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21597 installcheck) \
21598 || exit 1
21600 @endif perl
21602 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
21603 maybe-mostlyclean-perl:
21604 @if perl
21605 maybe-mostlyclean-perl: mostlyclean-perl
21607 mostlyclean-perl:
21608 @: $(MAKE); $(unstage)
21609 @[ -f ./perl/Makefile ] || exit 0; \
21610 r=`${PWD_COMMAND}`; export r; \
21611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21612 $(HOST_EXPORTS) \
21613 for flag in $(EXTRA_HOST_FLAGS) ; do \
21614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21615 done; \
21616 echo "Doing mostlyclean in perl" ; \
21617 (cd $(HOST_SUBDIR)/perl && \
21618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21620 "RANLIB=$${RANLIB}" \
21621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21622 mostlyclean) \
21623 || exit 1
21625 @endif perl
21627 .PHONY: maybe-clean-perl clean-perl
21628 maybe-clean-perl:
21629 @if perl
21630 maybe-clean-perl: clean-perl
21632 clean-perl:
21633 @: $(MAKE); $(unstage)
21634 @[ -f ./perl/Makefile ] || exit 0; \
21635 r=`${PWD_COMMAND}`; export r; \
21636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21637 $(HOST_EXPORTS) \
21638 for flag in $(EXTRA_HOST_FLAGS) ; do \
21639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21640 done; \
21641 echo "Doing clean in perl" ; \
21642 (cd $(HOST_SUBDIR)/perl && \
21643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21645 "RANLIB=$${RANLIB}" \
21646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21647 clean) \
21648 || exit 1
21650 @endif perl
21652 .PHONY: maybe-distclean-perl distclean-perl
21653 maybe-distclean-perl:
21654 @if perl
21655 maybe-distclean-perl: distclean-perl
21657 distclean-perl:
21658 @: $(MAKE); $(unstage)
21659 @[ -f ./perl/Makefile ] || exit 0; \
21660 r=`${PWD_COMMAND}`; export r; \
21661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21662 $(HOST_EXPORTS) \
21663 for flag in $(EXTRA_HOST_FLAGS) ; do \
21664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21665 done; \
21666 echo "Doing distclean in perl" ; \
21667 (cd $(HOST_SUBDIR)/perl && \
21668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21670 "RANLIB=$${RANLIB}" \
21671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21672 distclean) \
21673 || exit 1
21675 @endif perl
21677 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
21678 maybe-maintainer-clean-perl:
21679 @if perl
21680 maybe-maintainer-clean-perl: maintainer-clean-perl
21682 maintainer-clean-perl:
21683 @: $(MAKE); $(unstage)
21684 @[ -f ./perl/Makefile ] || exit 0; \
21685 r=`${PWD_COMMAND}`; export r; \
21686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21687 $(HOST_EXPORTS) \
21688 for flag in $(EXTRA_HOST_FLAGS) ; do \
21689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21690 done; \
21691 echo "Doing maintainer-clean in perl" ; \
21692 (cd $(HOST_SUBDIR)/perl && \
21693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21695 "RANLIB=$${RANLIB}" \
21696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21697 maintainer-clean) \
21698 || exit 1
21700 @endif perl
21704 .PHONY: configure-prms maybe-configure-prms
21705 maybe-configure-prms:
21706 @if prms
21707 maybe-configure-prms: configure-prms
21708 configure-prms:
21709 @: $(MAKE); $(unstage)
21710 @r=`${PWD_COMMAND}`; export r; \
21711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21712 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
21713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
21714 $(HOST_EXPORTS) \
21715 echo Configuring in $(HOST_SUBDIR)/prms; \
21716 cd "$(HOST_SUBDIR)/prms" || exit 1; \
21717 case $(srcdir) in \
21718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21719 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
21720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21721 esac; \
21722 srcdiroption="--srcdir=$${topdir}/prms"; \
21723 libsrcdir="$$s/prms"; \
21724 $(SHELL) $${libsrcdir}/configure \
21725 $(HOST_CONFIGARGS) $${srcdiroption} \
21726 || exit 1
21727 @endif prms
21733 .PHONY: all-prms maybe-all-prms
21734 maybe-all-prms:
21735 @if prms
21736 TARGET-prms=all
21737 maybe-all-prms: all-prms
21738 all-prms: configure-prms
21739 @: $(MAKE); $(unstage)
21740 @r=`${PWD_COMMAND}`; export r; \
21741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21742 $(HOST_EXPORTS) \
21743 (cd $(HOST_SUBDIR)/prms && \
21744 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
21745 @endif prms
21750 .PHONY: check-prms maybe-check-prms
21751 maybe-check-prms:
21752 @if prms
21753 maybe-check-prms: check-prms
21755 check-prms:
21756 @: $(MAKE); $(unstage)
21757 @r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 $(HOST_EXPORTS) \
21760 (cd $(HOST_SUBDIR)/prms && \
21761 $(MAKE) $(FLAGS_TO_PASS) check)
21763 @endif prms
21765 .PHONY: install-prms maybe-install-prms
21766 maybe-install-prms:
21767 @if prms
21768 maybe-install-prms: install-prms
21770 install-prms: installdirs
21771 @: $(MAKE); $(unstage)
21772 @r=`${PWD_COMMAND}`; export r; \
21773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21774 $(HOST_EXPORTS) \
21775 (cd $(HOST_SUBDIR)/prms && \
21776 $(MAKE) $(FLAGS_TO_PASS) install)
21778 @endif prms
21780 # Other targets (info, dvi, etc.)
21782 .PHONY: maybe-info-prms info-prms
21783 maybe-info-prms:
21784 @if prms
21785 maybe-info-prms: info-prms
21787 info-prms: \
21788 configure-prms
21789 @: $(MAKE); $(unstage)
21790 @[ -f ./prms/Makefile ] || exit 0; \
21791 r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 $(HOST_EXPORTS) \
21794 for flag in $(EXTRA_HOST_FLAGS) ; do \
21795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21796 done; \
21797 echo "Doing info in prms" ; \
21798 (cd $(HOST_SUBDIR)/prms && \
21799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21801 "RANLIB=$${RANLIB}" \
21802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21803 info) \
21804 || exit 1
21806 @endif prms
21808 .PHONY: maybe-dvi-prms dvi-prms
21809 maybe-dvi-prms:
21810 @if prms
21811 maybe-dvi-prms: dvi-prms
21813 dvi-prms: \
21814 configure-prms
21815 @: $(MAKE); $(unstage)
21816 @[ -f ./prms/Makefile ] || exit 0; \
21817 r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 $(HOST_EXPORTS) \
21820 for flag in $(EXTRA_HOST_FLAGS) ; do \
21821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21822 done; \
21823 echo "Doing dvi in prms" ; \
21824 (cd $(HOST_SUBDIR)/prms && \
21825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21827 "RANLIB=$${RANLIB}" \
21828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21829 dvi) \
21830 || exit 1
21832 @endif prms
21834 .PHONY: maybe-html-prms html-prms
21835 maybe-html-prms:
21836 @if prms
21837 maybe-html-prms: html-prms
21839 html-prms: \
21840 configure-prms
21841 @: $(MAKE); $(unstage)
21842 @[ -f ./prms/Makefile ] || exit 0; \
21843 r=`${PWD_COMMAND}`; export r; \
21844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21845 $(HOST_EXPORTS) \
21846 for flag in $(EXTRA_HOST_FLAGS) ; do \
21847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21848 done; \
21849 echo "Doing html in prms" ; \
21850 (cd $(HOST_SUBDIR)/prms && \
21851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21853 "RANLIB=$${RANLIB}" \
21854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21855 html) \
21856 || exit 1
21858 @endif prms
21860 .PHONY: maybe-TAGS-prms TAGS-prms
21861 maybe-TAGS-prms:
21862 @if prms
21863 maybe-TAGS-prms: TAGS-prms
21865 TAGS-prms: \
21866 configure-prms
21867 @: $(MAKE); $(unstage)
21868 @[ -f ./prms/Makefile ] || exit 0; \
21869 r=`${PWD_COMMAND}`; export r; \
21870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21871 $(HOST_EXPORTS) \
21872 for flag in $(EXTRA_HOST_FLAGS) ; do \
21873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21874 done; \
21875 echo "Doing TAGS in prms" ; \
21876 (cd $(HOST_SUBDIR)/prms && \
21877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21879 "RANLIB=$${RANLIB}" \
21880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21881 TAGS) \
21882 || exit 1
21884 @endif prms
21886 .PHONY: maybe-install-info-prms install-info-prms
21887 maybe-install-info-prms:
21888 @if prms
21889 maybe-install-info-prms: install-info-prms
21891 install-info-prms: \
21892 configure-prms \
21893 info-prms
21894 @: $(MAKE); $(unstage)
21895 @[ -f ./prms/Makefile ] || exit 0; \
21896 r=`${PWD_COMMAND}`; export r; \
21897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21898 $(HOST_EXPORTS) \
21899 for flag in $(EXTRA_HOST_FLAGS) ; do \
21900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21901 done; \
21902 echo "Doing install-info in prms" ; \
21903 (cd $(HOST_SUBDIR)/prms && \
21904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21906 "RANLIB=$${RANLIB}" \
21907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21908 install-info) \
21909 || exit 1
21911 @endif prms
21913 .PHONY: maybe-install-html-prms install-html-prms
21914 maybe-install-html-prms:
21915 @if prms
21916 maybe-install-html-prms: install-html-prms
21918 install-html-prms: \
21919 configure-prms \
21920 html-prms
21921 @: $(MAKE); $(unstage)
21922 @[ -f ./prms/Makefile ] || exit 0; \
21923 r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 $(HOST_EXPORTS) \
21926 for flag in $(EXTRA_HOST_FLAGS) ; do \
21927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21928 done; \
21929 echo "Doing install-html in prms" ; \
21930 (cd $(HOST_SUBDIR)/prms && \
21931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21933 "RANLIB=$${RANLIB}" \
21934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21935 install-html) \
21936 || exit 1
21938 @endif prms
21940 .PHONY: maybe-installcheck-prms installcheck-prms
21941 maybe-installcheck-prms:
21942 @if prms
21943 maybe-installcheck-prms: installcheck-prms
21945 installcheck-prms: \
21946 configure-prms
21947 @: $(MAKE); $(unstage)
21948 @[ -f ./prms/Makefile ] || exit 0; \
21949 r=`${PWD_COMMAND}`; export r; \
21950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21951 $(HOST_EXPORTS) \
21952 for flag in $(EXTRA_HOST_FLAGS) ; do \
21953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21954 done; \
21955 echo "Doing installcheck in prms" ; \
21956 (cd $(HOST_SUBDIR)/prms && \
21957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21959 "RANLIB=$${RANLIB}" \
21960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21961 installcheck) \
21962 || exit 1
21964 @endif prms
21966 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
21967 maybe-mostlyclean-prms:
21968 @if prms
21969 maybe-mostlyclean-prms: mostlyclean-prms
21971 mostlyclean-prms:
21972 @: $(MAKE); $(unstage)
21973 @[ -f ./prms/Makefile ] || exit 0; \
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976 $(HOST_EXPORTS) \
21977 for flag in $(EXTRA_HOST_FLAGS) ; do \
21978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21979 done; \
21980 echo "Doing mostlyclean in prms" ; \
21981 (cd $(HOST_SUBDIR)/prms && \
21982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21984 "RANLIB=$${RANLIB}" \
21985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21986 mostlyclean) \
21987 || exit 1
21989 @endif prms
21991 .PHONY: maybe-clean-prms clean-prms
21992 maybe-clean-prms:
21993 @if prms
21994 maybe-clean-prms: clean-prms
21996 clean-prms:
21997 @: $(MAKE); $(unstage)
21998 @[ -f ./prms/Makefile ] || exit 0; \
21999 r=`${PWD_COMMAND}`; export r; \
22000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22001 $(HOST_EXPORTS) \
22002 for flag in $(EXTRA_HOST_FLAGS) ; do \
22003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22004 done; \
22005 echo "Doing clean in prms" ; \
22006 (cd $(HOST_SUBDIR)/prms && \
22007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22009 "RANLIB=$${RANLIB}" \
22010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22011 clean) \
22012 || exit 1
22014 @endif prms
22016 .PHONY: maybe-distclean-prms distclean-prms
22017 maybe-distclean-prms:
22018 @if prms
22019 maybe-distclean-prms: distclean-prms
22021 distclean-prms:
22022 @: $(MAKE); $(unstage)
22023 @[ -f ./prms/Makefile ] || exit 0; \
22024 r=`${PWD_COMMAND}`; export r; \
22025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22026 $(HOST_EXPORTS) \
22027 for flag in $(EXTRA_HOST_FLAGS) ; do \
22028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22029 done; \
22030 echo "Doing distclean in prms" ; \
22031 (cd $(HOST_SUBDIR)/prms && \
22032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22034 "RANLIB=$${RANLIB}" \
22035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22036 distclean) \
22037 || exit 1
22039 @endif prms
22041 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
22042 maybe-maintainer-clean-prms:
22043 @if prms
22044 maybe-maintainer-clean-prms: maintainer-clean-prms
22046 maintainer-clean-prms:
22047 @: $(MAKE); $(unstage)
22048 @[ -f ./prms/Makefile ] || exit 0; \
22049 r=`${PWD_COMMAND}`; export r; \
22050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22051 $(HOST_EXPORTS) \
22052 for flag in $(EXTRA_HOST_FLAGS) ; do \
22053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22054 done; \
22055 echo "Doing maintainer-clean in prms" ; \
22056 (cd $(HOST_SUBDIR)/prms && \
22057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22059 "RANLIB=$${RANLIB}" \
22060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22061 maintainer-clean) \
22062 || exit 1
22064 @endif prms
22068 .PHONY: configure-rcs maybe-configure-rcs
22069 maybe-configure-rcs:
22070 @if rcs
22071 maybe-configure-rcs: configure-rcs
22072 configure-rcs:
22073 @: $(MAKE); $(unstage)
22074 @r=`${PWD_COMMAND}`; export r; \
22075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22076 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
22077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
22078 $(HOST_EXPORTS) \
22079 echo Configuring in $(HOST_SUBDIR)/rcs; \
22080 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
22081 case $(srcdir) in \
22082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22083 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
22084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22085 esac; \
22086 srcdiroption="--srcdir=$${topdir}/rcs"; \
22087 libsrcdir="$$s/rcs"; \
22088 $(SHELL) $${libsrcdir}/configure \
22089 $(HOST_CONFIGARGS) $${srcdiroption} \
22090 || exit 1
22091 @endif rcs
22097 .PHONY: all-rcs maybe-all-rcs
22098 maybe-all-rcs:
22099 @if rcs
22100 TARGET-rcs=all
22101 maybe-all-rcs: all-rcs
22102 all-rcs: configure-rcs
22103 @: $(MAKE); $(unstage)
22104 @r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22106 $(HOST_EXPORTS) \
22107 (cd $(HOST_SUBDIR)/rcs && \
22108 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
22109 @endif rcs
22114 .PHONY: check-rcs maybe-check-rcs
22115 maybe-check-rcs:
22116 @if rcs
22117 maybe-check-rcs: check-rcs
22119 check-rcs:
22120 @: $(MAKE); $(unstage)
22121 @r=`${PWD_COMMAND}`; export r; \
22122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22123 $(HOST_EXPORTS) \
22124 (cd $(HOST_SUBDIR)/rcs && \
22125 $(MAKE) $(FLAGS_TO_PASS) check)
22127 @endif rcs
22129 .PHONY: install-rcs maybe-install-rcs
22130 maybe-install-rcs:
22131 @if rcs
22132 maybe-install-rcs: install-rcs
22134 install-rcs: installdirs
22135 @: $(MAKE); $(unstage)
22136 @r=`${PWD_COMMAND}`; export r; \
22137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22138 $(HOST_EXPORTS) \
22139 (cd $(HOST_SUBDIR)/rcs && \
22140 $(MAKE) $(FLAGS_TO_PASS) install)
22142 @endif rcs
22144 # Other targets (info, dvi, etc.)
22146 .PHONY: maybe-info-rcs info-rcs
22147 maybe-info-rcs:
22148 @if rcs
22149 maybe-info-rcs: info-rcs
22151 info-rcs: \
22152 configure-rcs
22153 @: $(MAKE); $(unstage)
22154 @[ -f ./rcs/Makefile ] || exit 0; \
22155 r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 $(HOST_EXPORTS) \
22158 for flag in $(EXTRA_HOST_FLAGS) ; do \
22159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22160 done; \
22161 echo "Doing info in rcs" ; \
22162 (cd $(HOST_SUBDIR)/rcs && \
22163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22165 "RANLIB=$${RANLIB}" \
22166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22167 info) \
22168 || exit 1
22170 @endif rcs
22172 .PHONY: maybe-dvi-rcs dvi-rcs
22173 maybe-dvi-rcs:
22174 @if rcs
22175 maybe-dvi-rcs: dvi-rcs
22177 dvi-rcs: \
22178 configure-rcs
22179 @: $(MAKE); $(unstage)
22180 @[ -f ./rcs/Makefile ] || exit 0; \
22181 r=`${PWD_COMMAND}`; export r; \
22182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22183 $(HOST_EXPORTS) \
22184 for flag in $(EXTRA_HOST_FLAGS) ; do \
22185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22186 done; \
22187 echo "Doing dvi in rcs" ; \
22188 (cd $(HOST_SUBDIR)/rcs && \
22189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22191 "RANLIB=$${RANLIB}" \
22192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22193 dvi) \
22194 || exit 1
22196 @endif rcs
22198 .PHONY: maybe-html-rcs html-rcs
22199 maybe-html-rcs:
22200 @if rcs
22201 maybe-html-rcs: html-rcs
22203 html-rcs: \
22204 configure-rcs
22205 @: $(MAKE); $(unstage)
22206 @[ -f ./rcs/Makefile ] || exit 0; \
22207 r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 $(HOST_EXPORTS) \
22210 for flag in $(EXTRA_HOST_FLAGS) ; do \
22211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22212 done; \
22213 echo "Doing html in rcs" ; \
22214 (cd $(HOST_SUBDIR)/rcs && \
22215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22217 "RANLIB=$${RANLIB}" \
22218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22219 html) \
22220 || exit 1
22222 @endif rcs
22224 .PHONY: maybe-TAGS-rcs TAGS-rcs
22225 maybe-TAGS-rcs:
22226 @if rcs
22227 maybe-TAGS-rcs: TAGS-rcs
22229 TAGS-rcs: \
22230 configure-rcs
22231 @: $(MAKE); $(unstage)
22232 @[ -f ./rcs/Makefile ] || exit 0; \
22233 r=`${PWD_COMMAND}`; export r; \
22234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 $(HOST_EXPORTS) \
22236 for flag in $(EXTRA_HOST_FLAGS) ; do \
22237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22238 done; \
22239 echo "Doing TAGS in rcs" ; \
22240 (cd $(HOST_SUBDIR)/rcs && \
22241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22243 "RANLIB=$${RANLIB}" \
22244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22245 TAGS) \
22246 || exit 1
22248 @endif rcs
22250 .PHONY: maybe-install-info-rcs install-info-rcs
22251 maybe-install-info-rcs:
22252 @if rcs
22253 maybe-install-info-rcs: install-info-rcs
22255 install-info-rcs: \
22256 configure-rcs \
22257 info-rcs
22258 @: $(MAKE); $(unstage)
22259 @[ -f ./rcs/Makefile ] || exit 0; \
22260 r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22262 $(HOST_EXPORTS) \
22263 for flag in $(EXTRA_HOST_FLAGS) ; do \
22264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22265 done; \
22266 echo "Doing install-info in rcs" ; \
22267 (cd $(HOST_SUBDIR)/rcs && \
22268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22270 "RANLIB=$${RANLIB}" \
22271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22272 install-info) \
22273 || exit 1
22275 @endif rcs
22277 .PHONY: maybe-install-html-rcs install-html-rcs
22278 maybe-install-html-rcs:
22279 @if rcs
22280 maybe-install-html-rcs: install-html-rcs
22282 install-html-rcs: \
22283 configure-rcs \
22284 html-rcs
22285 @: $(MAKE); $(unstage)
22286 @[ -f ./rcs/Makefile ] || exit 0; \
22287 r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 $(HOST_EXPORTS) \
22290 for flag in $(EXTRA_HOST_FLAGS) ; do \
22291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22292 done; \
22293 echo "Doing install-html in rcs" ; \
22294 (cd $(HOST_SUBDIR)/rcs && \
22295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22297 "RANLIB=$${RANLIB}" \
22298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22299 install-html) \
22300 || exit 1
22302 @endif rcs
22304 .PHONY: maybe-installcheck-rcs installcheck-rcs
22305 maybe-installcheck-rcs:
22306 @if rcs
22307 maybe-installcheck-rcs: installcheck-rcs
22309 installcheck-rcs: \
22310 configure-rcs
22311 @: $(MAKE); $(unstage)
22312 @[ -f ./rcs/Makefile ] || exit 0; \
22313 r=`${PWD_COMMAND}`; export r; \
22314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22315 $(HOST_EXPORTS) \
22316 for flag in $(EXTRA_HOST_FLAGS) ; do \
22317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22318 done; \
22319 echo "Doing installcheck in rcs" ; \
22320 (cd $(HOST_SUBDIR)/rcs && \
22321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22323 "RANLIB=$${RANLIB}" \
22324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22325 installcheck) \
22326 || exit 1
22328 @endif rcs
22330 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
22331 maybe-mostlyclean-rcs:
22332 @if rcs
22333 maybe-mostlyclean-rcs: mostlyclean-rcs
22335 mostlyclean-rcs:
22336 @: $(MAKE); $(unstage)
22337 @[ -f ./rcs/Makefile ] || exit 0; \
22338 r=`${PWD_COMMAND}`; export r; \
22339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22340 $(HOST_EXPORTS) \
22341 for flag in $(EXTRA_HOST_FLAGS) ; do \
22342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22343 done; \
22344 echo "Doing mostlyclean in rcs" ; \
22345 (cd $(HOST_SUBDIR)/rcs && \
22346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22348 "RANLIB=$${RANLIB}" \
22349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22350 mostlyclean) \
22351 || exit 1
22353 @endif rcs
22355 .PHONY: maybe-clean-rcs clean-rcs
22356 maybe-clean-rcs:
22357 @if rcs
22358 maybe-clean-rcs: clean-rcs
22360 clean-rcs:
22361 @: $(MAKE); $(unstage)
22362 @[ -f ./rcs/Makefile ] || exit 0; \
22363 r=`${PWD_COMMAND}`; export r; \
22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22365 $(HOST_EXPORTS) \
22366 for flag in $(EXTRA_HOST_FLAGS) ; do \
22367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22368 done; \
22369 echo "Doing clean in rcs" ; \
22370 (cd $(HOST_SUBDIR)/rcs && \
22371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22373 "RANLIB=$${RANLIB}" \
22374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22375 clean) \
22376 || exit 1
22378 @endif rcs
22380 .PHONY: maybe-distclean-rcs distclean-rcs
22381 maybe-distclean-rcs:
22382 @if rcs
22383 maybe-distclean-rcs: distclean-rcs
22385 distclean-rcs:
22386 @: $(MAKE); $(unstage)
22387 @[ -f ./rcs/Makefile ] || exit 0; \
22388 r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22390 $(HOST_EXPORTS) \
22391 for flag in $(EXTRA_HOST_FLAGS) ; do \
22392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22393 done; \
22394 echo "Doing distclean in rcs" ; \
22395 (cd $(HOST_SUBDIR)/rcs && \
22396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22398 "RANLIB=$${RANLIB}" \
22399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22400 distclean) \
22401 || exit 1
22403 @endif rcs
22405 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
22406 maybe-maintainer-clean-rcs:
22407 @if rcs
22408 maybe-maintainer-clean-rcs: maintainer-clean-rcs
22410 maintainer-clean-rcs:
22411 @: $(MAKE); $(unstage)
22412 @[ -f ./rcs/Makefile ] || exit 0; \
22413 r=`${PWD_COMMAND}`; export r; \
22414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22415 $(HOST_EXPORTS) \
22416 for flag in $(EXTRA_HOST_FLAGS) ; do \
22417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22418 done; \
22419 echo "Doing maintainer-clean in rcs" ; \
22420 (cd $(HOST_SUBDIR)/rcs && \
22421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22423 "RANLIB=$${RANLIB}" \
22424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22425 maintainer-clean) \
22426 || exit 1
22428 @endif rcs
22432 .PHONY: configure-readline maybe-configure-readline
22433 maybe-configure-readline:
22434 @if readline
22435 maybe-configure-readline: configure-readline
22436 configure-readline:
22437 @: $(MAKE); $(unstage)
22438 @r=`${PWD_COMMAND}`; export r; \
22439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22440 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
22441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
22442 $(HOST_EXPORTS) \
22443 echo Configuring in $(HOST_SUBDIR)/readline; \
22444 cd "$(HOST_SUBDIR)/readline" || exit 1; \
22445 case $(srcdir) in \
22446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22447 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
22448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22449 esac; \
22450 srcdiroption="--srcdir=$${topdir}/readline"; \
22451 libsrcdir="$$s/readline"; \
22452 $(SHELL) $${libsrcdir}/configure \
22453 $(HOST_CONFIGARGS) $${srcdiroption} \
22454 || exit 1
22455 @endif readline
22461 .PHONY: all-readline maybe-all-readline
22462 maybe-all-readline:
22463 @if readline
22464 TARGET-readline=all
22465 maybe-all-readline: all-readline
22466 all-readline: configure-readline
22467 @: $(MAKE); $(unstage)
22468 @r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(HOST_EXPORTS) \
22471 (cd $(HOST_SUBDIR)/readline && \
22472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
22473 @endif readline
22478 .PHONY: check-readline maybe-check-readline
22479 maybe-check-readline:
22480 @if readline
22481 maybe-check-readline: check-readline
22483 check-readline:
22484 @: $(MAKE); $(unstage)
22485 @r=`${PWD_COMMAND}`; export r; \
22486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22487 $(HOST_EXPORTS) \
22488 (cd $(HOST_SUBDIR)/readline && \
22489 $(MAKE) $(FLAGS_TO_PASS) check)
22491 @endif readline
22493 .PHONY: install-readline maybe-install-readline
22494 maybe-install-readline:
22495 @if readline
22496 maybe-install-readline: install-readline
22498 install-readline: installdirs
22499 @: $(MAKE); $(unstage)
22500 @r=`${PWD_COMMAND}`; export r; \
22501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22502 $(HOST_EXPORTS) \
22503 (cd $(HOST_SUBDIR)/readline && \
22504 $(MAKE) $(FLAGS_TO_PASS) install)
22506 @endif readline
22508 # Other targets (info, dvi, etc.)
22510 .PHONY: maybe-info-readline info-readline
22511 maybe-info-readline:
22512 @if readline
22513 maybe-info-readline: info-readline
22515 info-readline: \
22516 configure-readline
22517 @: $(MAKE); $(unstage)
22518 @[ -f ./readline/Makefile ] || exit 0; \
22519 r=`${PWD_COMMAND}`; export r; \
22520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22521 $(HOST_EXPORTS) \
22522 for flag in $(EXTRA_HOST_FLAGS) ; do \
22523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22524 done; \
22525 echo "Doing info in readline" ; \
22526 (cd $(HOST_SUBDIR)/readline && \
22527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22529 "RANLIB=$${RANLIB}" \
22530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22531 info) \
22532 || exit 1
22534 @endif readline
22536 .PHONY: maybe-dvi-readline dvi-readline
22537 maybe-dvi-readline:
22538 @if readline
22539 maybe-dvi-readline: dvi-readline
22541 dvi-readline: \
22542 configure-readline
22543 @: $(MAKE); $(unstage)
22544 @[ -f ./readline/Makefile ] || exit 0; \
22545 r=`${PWD_COMMAND}`; export r; \
22546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22547 $(HOST_EXPORTS) \
22548 for flag in $(EXTRA_HOST_FLAGS) ; do \
22549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22550 done; \
22551 echo "Doing dvi in readline" ; \
22552 (cd $(HOST_SUBDIR)/readline && \
22553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555 "RANLIB=$${RANLIB}" \
22556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22557 dvi) \
22558 || exit 1
22560 @endif readline
22562 .PHONY: maybe-html-readline html-readline
22563 maybe-html-readline:
22564 @if readline
22565 maybe-html-readline: html-readline
22567 html-readline: \
22568 configure-readline
22569 @: $(MAKE); $(unstage)
22570 @[ -f ./readline/Makefile ] || exit 0; \
22571 r=`${PWD_COMMAND}`; export r; \
22572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22573 $(HOST_EXPORTS) \
22574 for flag in $(EXTRA_HOST_FLAGS) ; do \
22575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22576 done; \
22577 echo "Doing html in readline" ; \
22578 (cd $(HOST_SUBDIR)/readline && \
22579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22581 "RANLIB=$${RANLIB}" \
22582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22583 html) \
22584 || exit 1
22586 @endif readline
22588 .PHONY: maybe-TAGS-readline TAGS-readline
22589 maybe-TAGS-readline:
22590 @if readline
22591 maybe-TAGS-readline: TAGS-readline
22593 TAGS-readline: \
22594 configure-readline
22595 @: $(MAKE); $(unstage)
22596 @[ -f ./readline/Makefile ] || exit 0; \
22597 r=`${PWD_COMMAND}`; export r; \
22598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22599 $(HOST_EXPORTS) \
22600 for flag in $(EXTRA_HOST_FLAGS) ; do \
22601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22602 done; \
22603 echo "Doing TAGS in readline" ; \
22604 (cd $(HOST_SUBDIR)/readline && \
22605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22607 "RANLIB=$${RANLIB}" \
22608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22609 TAGS) \
22610 || exit 1
22612 @endif readline
22614 .PHONY: maybe-install-info-readline install-info-readline
22615 maybe-install-info-readline:
22616 @if readline
22617 maybe-install-info-readline: install-info-readline
22619 install-info-readline: \
22620 configure-readline \
22621 info-readline
22622 @: $(MAKE); $(unstage)
22623 @[ -f ./readline/Makefile ] || exit 0; \
22624 r=`${PWD_COMMAND}`; export r; \
22625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22626 $(HOST_EXPORTS) \
22627 for flag in $(EXTRA_HOST_FLAGS) ; do \
22628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22629 done; \
22630 echo "Doing install-info in readline" ; \
22631 (cd $(HOST_SUBDIR)/readline && \
22632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22634 "RANLIB=$${RANLIB}" \
22635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22636 install-info) \
22637 || exit 1
22639 @endif readline
22641 .PHONY: maybe-install-html-readline install-html-readline
22642 maybe-install-html-readline:
22643 @if readline
22644 maybe-install-html-readline: install-html-readline
22646 install-html-readline: \
22647 configure-readline \
22648 html-readline
22649 @: $(MAKE); $(unstage)
22650 @[ -f ./readline/Makefile ] || exit 0; \
22651 r=`${PWD_COMMAND}`; export r; \
22652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22653 $(HOST_EXPORTS) \
22654 for flag in $(EXTRA_HOST_FLAGS) ; do \
22655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22656 done; \
22657 echo "Doing install-html in readline" ; \
22658 (cd $(HOST_SUBDIR)/readline && \
22659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22661 "RANLIB=$${RANLIB}" \
22662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22663 install-html) \
22664 || exit 1
22666 @endif readline
22668 .PHONY: maybe-installcheck-readline installcheck-readline
22669 maybe-installcheck-readline:
22670 @if readline
22671 maybe-installcheck-readline: installcheck-readline
22673 installcheck-readline: \
22674 configure-readline
22675 @: $(MAKE); $(unstage)
22676 @[ -f ./readline/Makefile ] || exit 0; \
22677 r=`${PWD_COMMAND}`; export r; \
22678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22679 $(HOST_EXPORTS) \
22680 for flag in $(EXTRA_HOST_FLAGS) ; do \
22681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22682 done; \
22683 echo "Doing installcheck in readline" ; \
22684 (cd $(HOST_SUBDIR)/readline && \
22685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22687 "RANLIB=$${RANLIB}" \
22688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22689 installcheck) \
22690 || exit 1
22692 @endif readline
22694 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
22695 maybe-mostlyclean-readline:
22696 @if readline
22697 maybe-mostlyclean-readline: mostlyclean-readline
22699 mostlyclean-readline:
22700 @: $(MAKE); $(unstage)
22701 @[ -f ./readline/Makefile ] || exit 0; \
22702 r=`${PWD_COMMAND}`; export r; \
22703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22704 $(HOST_EXPORTS) \
22705 for flag in $(EXTRA_HOST_FLAGS) ; do \
22706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22707 done; \
22708 echo "Doing mostlyclean in readline" ; \
22709 (cd $(HOST_SUBDIR)/readline && \
22710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22712 "RANLIB=$${RANLIB}" \
22713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22714 mostlyclean) \
22715 || exit 1
22717 @endif readline
22719 .PHONY: maybe-clean-readline clean-readline
22720 maybe-clean-readline:
22721 @if readline
22722 maybe-clean-readline: clean-readline
22724 clean-readline:
22725 @: $(MAKE); $(unstage)
22726 @[ -f ./readline/Makefile ] || exit 0; \
22727 r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 $(HOST_EXPORTS) \
22730 for flag in $(EXTRA_HOST_FLAGS) ; do \
22731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22732 done; \
22733 echo "Doing clean in readline" ; \
22734 (cd $(HOST_SUBDIR)/readline && \
22735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22737 "RANLIB=$${RANLIB}" \
22738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22739 clean) \
22740 || exit 1
22742 @endif readline
22744 .PHONY: maybe-distclean-readline distclean-readline
22745 maybe-distclean-readline:
22746 @if readline
22747 maybe-distclean-readline: distclean-readline
22749 distclean-readline:
22750 @: $(MAKE); $(unstage)
22751 @[ -f ./readline/Makefile ] || exit 0; \
22752 r=`${PWD_COMMAND}`; export r; \
22753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754 $(HOST_EXPORTS) \
22755 for flag in $(EXTRA_HOST_FLAGS) ; do \
22756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22757 done; \
22758 echo "Doing distclean in readline" ; \
22759 (cd $(HOST_SUBDIR)/readline && \
22760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22762 "RANLIB=$${RANLIB}" \
22763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22764 distclean) \
22765 || exit 1
22767 @endif readline
22769 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
22770 maybe-maintainer-clean-readline:
22771 @if readline
22772 maybe-maintainer-clean-readline: maintainer-clean-readline
22774 maintainer-clean-readline:
22775 @: $(MAKE); $(unstage)
22776 @[ -f ./readline/Makefile ] || exit 0; \
22777 r=`${PWD_COMMAND}`; export r; \
22778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22779 $(HOST_EXPORTS) \
22780 for flag in $(EXTRA_HOST_FLAGS) ; do \
22781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22782 done; \
22783 echo "Doing maintainer-clean in readline" ; \
22784 (cd $(HOST_SUBDIR)/readline && \
22785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22787 "RANLIB=$${RANLIB}" \
22788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22789 maintainer-clean) \
22790 || exit 1
22792 @endif readline
22796 .PHONY: configure-release maybe-configure-release
22797 maybe-configure-release:
22798 @if release
22799 maybe-configure-release: configure-release
22800 configure-release:
22801 @: $(MAKE); $(unstage)
22802 @r=`${PWD_COMMAND}`; export r; \
22803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22804 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
22805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
22806 $(HOST_EXPORTS) \
22807 echo Configuring in $(HOST_SUBDIR)/release; \
22808 cd "$(HOST_SUBDIR)/release" || exit 1; \
22809 case $(srcdir) in \
22810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22811 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
22812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22813 esac; \
22814 srcdiroption="--srcdir=$${topdir}/release"; \
22815 libsrcdir="$$s/release"; \
22816 $(SHELL) $${libsrcdir}/configure \
22817 $(HOST_CONFIGARGS) $${srcdiroption} \
22818 || exit 1
22819 @endif release
22825 .PHONY: all-release maybe-all-release
22826 maybe-all-release:
22827 @if release
22828 TARGET-release=all
22829 maybe-all-release: all-release
22830 all-release: configure-release
22831 @: $(MAKE); $(unstage)
22832 @r=`${PWD_COMMAND}`; export r; \
22833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22834 $(HOST_EXPORTS) \
22835 (cd $(HOST_SUBDIR)/release && \
22836 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
22837 @endif release
22842 .PHONY: check-release maybe-check-release
22843 maybe-check-release:
22844 @if release
22845 maybe-check-release: check-release
22847 check-release:
22849 @endif release
22851 .PHONY: install-release maybe-install-release
22852 maybe-install-release:
22853 @if release
22854 maybe-install-release: install-release
22856 install-release:
22858 @endif release
22860 # Other targets (info, dvi, etc.)
22862 .PHONY: maybe-info-release info-release
22863 maybe-info-release:
22864 @if release
22865 maybe-info-release: info-release
22867 info-release: \
22868 configure-release
22869 @: $(MAKE); $(unstage)
22870 @[ -f ./release/Makefile ] || exit 0; \
22871 r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873 $(HOST_EXPORTS) \
22874 for flag in $(EXTRA_HOST_FLAGS) ; do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 done; \
22877 echo "Doing info in release" ; \
22878 (cd $(HOST_SUBDIR)/release && \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22883 info) \
22884 || exit 1
22886 @endif release
22888 .PHONY: maybe-dvi-release dvi-release
22889 maybe-dvi-release:
22890 @if release
22891 maybe-dvi-release: dvi-release
22893 dvi-release: \
22894 configure-release
22895 @: $(MAKE); $(unstage)
22896 @[ -f ./release/Makefile ] || exit 0; \
22897 r=`${PWD_COMMAND}`; export r; \
22898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22899 $(HOST_EXPORTS) \
22900 for flag in $(EXTRA_HOST_FLAGS) ; do \
22901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 done; \
22903 echo "Doing dvi in release" ; \
22904 (cd $(HOST_SUBDIR)/release && \
22905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22907 "RANLIB=$${RANLIB}" \
22908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22909 dvi) \
22910 || exit 1
22912 @endif release
22914 .PHONY: maybe-html-release html-release
22915 maybe-html-release:
22916 @if release
22917 maybe-html-release: html-release
22919 html-release: \
22920 configure-release
22921 @: $(MAKE); $(unstage)
22922 @[ -f ./release/Makefile ] || exit 0; \
22923 r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 $(HOST_EXPORTS) \
22926 for flag in $(EXTRA_HOST_FLAGS) ; do \
22927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22928 done; \
22929 echo "Doing html in release" ; \
22930 (cd $(HOST_SUBDIR)/release && \
22931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22933 "RANLIB=$${RANLIB}" \
22934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22935 html) \
22936 || exit 1
22938 @endif release
22940 .PHONY: maybe-TAGS-release TAGS-release
22941 maybe-TAGS-release:
22942 @if release
22943 maybe-TAGS-release: TAGS-release
22945 TAGS-release: \
22946 configure-release
22947 @: $(MAKE); $(unstage)
22948 @[ -f ./release/Makefile ] || exit 0; \
22949 r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 $(HOST_EXPORTS) \
22952 for flag in $(EXTRA_HOST_FLAGS) ; do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22954 done; \
22955 echo "Doing TAGS in release" ; \
22956 (cd $(HOST_SUBDIR)/release && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 TAGS) \
22962 || exit 1
22964 @endif release
22966 .PHONY: maybe-install-info-release install-info-release
22967 maybe-install-info-release:
22968 @if release
22969 maybe-install-info-release: install-info-release
22971 install-info-release: \
22972 configure-release \
22973 info-release
22974 @: $(MAKE); $(unstage)
22975 @[ -f ./release/Makefile ] || exit 0; \
22976 r=`${PWD_COMMAND}`; export r; \
22977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22978 $(HOST_EXPORTS) \
22979 for flag in $(EXTRA_HOST_FLAGS) ; do \
22980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22981 done; \
22982 echo "Doing install-info in release" ; \
22983 (cd $(HOST_SUBDIR)/release && \
22984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22986 "RANLIB=$${RANLIB}" \
22987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22988 install-info) \
22989 || exit 1
22991 @endif release
22993 .PHONY: maybe-install-html-release install-html-release
22994 maybe-install-html-release:
22995 @if release
22996 maybe-install-html-release: install-html-release
22998 install-html-release: \
22999 configure-release \
23000 html-release
23001 @: $(MAKE); $(unstage)
23002 @[ -f ./release/Makefile ] || exit 0; \
23003 r=`${PWD_COMMAND}`; export r; \
23004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23005 $(HOST_EXPORTS) \
23006 for flag in $(EXTRA_HOST_FLAGS) ; do \
23007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23008 done; \
23009 echo "Doing install-html in release" ; \
23010 (cd $(HOST_SUBDIR)/release && \
23011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23013 "RANLIB=$${RANLIB}" \
23014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23015 install-html) \
23016 || exit 1
23018 @endif release
23020 .PHONY: maybe-installcheck-release installcheck-release
23021 maybe-installcheck-release:
23022 @if release
23023 maybe-installcheck-release: installcheck-release
23025 installcheck-release: \
23026 configure-release
23027 @: $(MAKE); $(unstage)
23028 @[ -f ./release/Makefile ] || exit 0; \
23029 r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 $(HOST_EXPORTS) \
23032 for flag in $(EXTRA_HOST_FLAGS) ; do \
23033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23034 done; \
23035 echo "Doing installcheck in release" ; \
23036 (cd $(HOST_SUBDIR)/release && \
23037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23039 "RANLIB=$${RANLIB}" \
23040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23041 installcheck) \
23042 || exit 1
23044 @endif release
23046 .PHONY: maybe-mostlyclean-release mostlyclean-release
23047 maybe-mostlyclean-release:
23048 @if release
23049 maybe-mostlyclean-release: mostlyclean-release
23051 mostlyclean-release:
23052 @: $(MAKE); $(unstage)
23053 @[ -f ./release/Makefile ] || exit 0; \
23054 r=`${PWD_COMMAND}`; export r; \
23055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23056 $(HOST_EXPORTS) \
23057 for flag in $(EXTRA_HOST_FLAGS) ; do \
23058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23059 done; \
23060 echo "Doing mostlyclean in release" ; \
23061 (cd $(HOST_SUBDIR)/release && \
23062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23064 "RANLIB=$${RANLIB}" \
23065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23066 mostlyclean) \
23067 || exit 1
23069 @endif release
23071 .PHONY: maybe-clean-release clean-release
23072 maybe-clean-release:
23073 @if release
23074 maybe-clean-release: clean-release
23076 clean-release:
23077 @: $(MAKE); $(unstage)
23078 @[ -f ./release/Makefile ] || exit 0; \
23079 r=`${PWD_COMMAND}`; export r; \
23080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23081 $(HOST_EXPORTS) \
23082 for flag in $(EXTRA_HOST_FLAGS) ; do \
23083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23084 done; \
23085 echo "Doing clean in release" ; \
23086 (cd $(HOST_SUBDIR)/release && \
23087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23089 "RANLIB=$${RANLIB}" \
23090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23091 clean) \
23092 || exit 1
23094 @endif release
23096 .PHONY: maybe-distclean-release distclean-release
23097 maybe-distclean-release:
23098 @if release
23099 maybe-distclean-release: distclean-release
23101 distclean-release:
23102 @: $(MAKE); $(unstage)
23103 @[ -f ./release/Makefile ] || exit 0; \
23104 r=`${PWD_COMMAND}`; export r; \
23105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23106 $(HOST_EXPORTS) \
23107 for flag in $(EXTRA_HOST_FLAGS) ; do \
23108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23109 done; \
23110 echo "Doing distclean in release" ; \
23111 (cd $(HOST_SUBDIR)/release && \
23112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23114 "RANLIB=$${RANLIB}" \
23115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23116 distclean) \
23117 || exit 1
23119 @endif release
23121 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
23122 maybe-maintainer-clean-release:
23123 @if release
23124 maybe-maintainer-clean-release: maintainer-clean-release
23126 maintainer-clean-release:
23127 @: $(MAKE); $(unstage)
23128 @[ -f ./release/Makefile ] || exit 0; \
23129 r=`${PWD_COMMAND}`; export r; \
23130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23131 $(HOST_EXPORTS) \
23132 for flag in $(EXTRA_HOST_FLAGS) ; do \
23133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23134 done; \
23135 echo "Doing maintainer-clean in release" ; \
23136 (cd $(HOST_SUBDIR)/release && \
23137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23139 "RANLIB=$${RANLIB}" \
23140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23141 maintainer-clean) \
23142 || exit 1
23144 @endif release
23148 .PHONY: configure-recode maybe-configure-recode
23149 maybe-configure-recode:
23150 @if recode
23151 maybe-configure-recode: configure-recode
23152 configure-recode:
23153 @: $(MAKE); $(unstage)
23154 @r=`${PWD_COMMAND}`; export r; \
23155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23156 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
23157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
23158 $(HOST_EXPORTS) \
23159 echo Configuring in $(HOST_SUBDIR)/recode; \
23160 cd "$(HOST_SUBDIR)/recode" || exit 1; \
23161 case $(srcdir) in \
23162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23163 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
23164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23165 esac; \
23166 srcdiroption="--srcdir=$${topdir}/recode"; \
23167 libsrcdir="$$s/recode"; \
23168 $(SHELL) $${libsrcdir}/configure \
23169 $(HOST_CONFIGARGS) $${srcdiroption} \
23170 || exit 1
23171 @endif recode
23177 .PHONY: all-recode maybe-all-recode
23178 maybe-all-recode:
23179 @if recode
23180 TARGET-recode=all
23181 maybe-all-recode: all-recode
23182 all-recode: configure-recode
23183 @: $(MAKE); $(unstage)
23184 @r=`${PWD_COMMAND}`; export r; \
23185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23186 $(HOST_EXPORTS) \
23187 (cd $(HOST_SUBDIR)/recode && \
23188 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
23189 @endif recode
23194 .PHONY: check-recode maybe-check-recode
23195 maybe-check-recode:
23196 @if recode
23197 maybe-check-recode: check-recode
23199 check-recode:
23200 @: $(MAKE); $(unstage)
23201 @r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 $(HOST_EXPORTS) \
23204 (cd $(HOST_SUBDIR)/recode && \
23205 $(MAKE) $(FLAGS_TO_PASS) check)
23207 @endif recode
23209 .PHONY: install-recode maybe-install-recode
23210 maybe-install-recode:
23211 @if recode
23212 maybe-install-recode: install-recode
23214 install-recode: installdirs
23215 @: $(MAKE); $(unstage)
23216 @r=`${PWD_COMMAND}`; export r; \
23217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23218 $(HOST_EXPORTS) \
23219 (cd $(HOST_SUBDIR)/recode && \
23220 $(MAKE) $(FLAGS_TO_PASS) install)
23222 @endif recode
23224 # Other targets (info, dvi, etc.)
23226 .PHONY: maybe-info-recode info-recode
23227 maybe-info-recode:
23228 @if recode
23229 maybe-info-recode: info-recode
23231 info-recode: \
23232 configure-recode
23233 @: $(MAKE); $(unstage)
23234 @[ -f ./recode/Makefile ] || exit 0; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(HOST_EXPORTS) \
23238 for flag in $(EXTRA_HOST_FLAGS) ; do \
23239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23240 done; \
23241 echo "Doing info in recode" ; \
23242 (cd $(HOST_SUBDIR)/recode && \
23243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23245 "RANLIB=$${RANLIB}" \
23246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23247 info) \
23248 || exit 1
23250 @endif recode
23252 .PHONY: maybe-dvi-recode dvi-recode
23253 maybe-dvi-recode:
23254 @if recode
23255 maybe-dvi-recode: dvi-recode
23257 dvi-recode: \
23258 configure-recode
23259 @: $(MAKE); $(unstage)
23260 @[ -f ./recode/Makefile ] || exit 0; \
23261 r=`${PWD_COMMAND}`; export r; \
23262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23263 $(HOST_EXPORTS) \
23264 for flag in $(EXTRA_HOST_FLAGS) ; do \
23265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23266 done; \
23267 echo "Doing dvi in recode" ; \
23268 (cd $(HOST_SUBDIR)/recode && \
23269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23271 "RANLIB=$${RANLIB}" \
23272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23273 dvi) \
23274 || exit 1
23276 @endif recode
23278 .PHONY: maybe-html-recode html-recode
23279 maybe-html-recode:
23280 @if recode
23281 maybe-html-recode: html-recode
23283 html-recode: \
23284 configure-recode
23285 @: $(MAKE); $(unstage)
23286 @[ -f ./recode/Makefile ] || exit 0; \
23287 r=`${PWD_COMMAND}`; export r; \
23288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23289 $(HOST_EXPORTS) \
23290 for flag in $(EXTRA_HOST_FLAGS) ; do \
23291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23292 done; \
23293 echo "Doing html in recode" ; \
23294 (cd $(HOST_SUBDIR)/recode && \
23295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23297 "RANLIB=$${RANLIB}" \
23298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23299 html) \
23300 || exit 1
23302 @endif recode
23304 .PHONY: maybe-TAGS-recode TAGS-recode
23305 maybe-TAGS-recode:
23306 @if recode
23307 maybe-TAGS-recode: TAGS-recode
23309 TAGS-recode: \
23310 configure-recode
23311 @: $(MAKE); $(unstage)
23312 @[ -f ./recode/Makefile ] || exit 0; \
23313 r=`${PWD_COMMAND}`; export r; \
23314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23315 $(HOST_EXPORTS) \
23316 for flag in $(EXTRA_HOST_FLAGS) ; do \
23317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23318 done; \
23319 echo "Doing TAGS in recode" ; \
23320 (cd $(HOST_SUBDIR)/recode && \
23321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23323 "RANLIB=$${RANLIB}" \
23324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23325 TAGS) \
23326 || exit 1
23328 @endif recode
23330 .PHONY: maybe-install-info-recode install-info-recode
23331 maybe-install-info-recode:
23332 @if recode
23333 maybe-install-info-recode: install-info-recode
23335 install-info-recode: \
23336 configure-recode \
23337 info-recode
23338 @: $(MAKE); $(unstage)
23339 @[ -f ./recode/Makefile ] || exit 0; \
23340 r=`${PWD_COMMAND}`; export r; \
23341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(HOST_EXPORTS) \
23343 for flag in $(EXTRA_HOST_FLAGS) ; do \
23344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23345 done; \
23346 echo "Doing install-info in recode" ; \
23347 (cd $(HOST_SUBDIR)/recode && \
23348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23350 "RANLIB=$${RANLIB}" \
23351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23352 install-info) \
23353 || exit 1
23355 @endif recode
23357 .PHONY: maybe-install-html-recode install-html-recode
23358 maybe-install-html-recode:
23359 @if recode
23360 maybe-install-html-recode: install-html-recode
23362 install-html-recode: \
23363 configure-recode \
23364 html-recode
23365 @: $(MAKE); $(unstage)
23366 @[ -f ./recode/Makefile ] || exit 0; \
23367 r=`${PWD_COMMAND}`; export r; \
23368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23369 $(HOST_EXPORTS) \
23370 for flag in $(EXTRA_HOST_FLAGS) ; do \
23371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23372 done; \
23373 echo "Doing install-html in recode" ; \
23374 (cd $(HOST_SUBDIR)/recode && \
23375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23377 "RANLIB=$${RANLIB}" \
23378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23379 install-html) \
23380 || exit 1
23382 @endif recode
23384 .PHONY: maybe-installcheck-recode installcheck-recode
23385 maybe-installcheck-recode:
23386 @if recode
23387 maybe-installcheck-recode: installcheck-recode
23389 installcheck-recode: \
23390 configure-recode
23391 @: $(MAKE); $(unstage)
23392 @[ -f ./recode/Makefile ] || exit 0; \
23393 r=`${PWD_COMMAND}`; export r; \
23394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23395 $(HOST_EXPORTS) \
23396 for flag in $(EXTRA_HOST_FLAGS) ; do \
23397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23398 done; \
23399 echo "Doing installcheck in recode" ; \
23400 (cd $(HOST_SUBDIR)/recode && \
23401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23403 "RANLIB=$${RANLIB}" \
23404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23405 installcheck) \
23406 || exit 1
23408 @endif recode
23410 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
23411 maybe-mostlyclean-recode:
23412 @if recode
23413 maybe-mostlyclean-recode: mostlyclean-recode
23415 mostlyclean-recode:
23416 @: $(MAKE); $(unstage)
23417 @[ -f ./recode/Makefile ] || exit 0; \
23418 r=`${PWD_COMMAND}`; export r; \
23419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23420 $(HOST_EXPORTS) \
23421 for flag in $(EXTRA_HOST_FLAGS) ; do \
23422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23423 done; \
23424 echo "Doing mostlyclean in recode" ; \
23425 (cd $(HOST_SUBDIR)/recode && \
23426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23428 "RANLIB=$${RANLIB}" \
23429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23430 mostlyclean) \
23431 || exit 1
23433 @endif recode
23435 .PHONY: maybe-clean-recode clean-recode
23436 maybe-clean-recode:
23437 @if recode
23438 maybe-clean-recode: clean-recode
23440 clean-recode:
23441 @: $(MAKE); $(unstage)
23442 @[ -f ./recode/Makefile ] || exit 0; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 $(HOST_EXPORTS) \
23446 for flag in $(EXTRA_HOST_FLAGS) ; do \
23447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23448 done; \
23449 echo "Doing clean in recode" ; \
23450 (cd $(HOST_SUBDIR)/recode && \
23451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23453 "RANLIB=$${RANLIB}" \
23454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23455 clean) \
23456 || exit 1
23458 @endif recode
23460 .PHONY: maybe-distclean-recode distclean-recode
23461 maybe-distclean-recode:
23462 @if recode
23463 maybe-distclean-recode: distclean-recode
23465 distclean-recode:
23466 @: $(MAKE); $(unstage)
23467 @[ -f ./recode/Makefile ] || exit 0; \
23468 r=`${PWD_COMMAND}`; export r; \
23469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23470 $(HOST_EXPORTS) \
23471 for flag in $(EXTRA_HOST_FLAGS) ; do \
23472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23473 done; \
23474 echo "Doing distclean in recode" ; \
23475 (cd $(HOST_SUBDIR)/recode && \
23476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23478 "RANLIB=$${RANLIB}" \
23479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23480 distclean) \
23481 || exit 1
23483 @endif recode
23485 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
23486 maybe-maintainer-clean-recode:
23487 @if recode
23488 maybe-maintainer-clean-recode: maintainer-clean-recode
23490 maintainer-clean-recode:
23491 @: $(MAKE); $(unstage)
23492 @[ -f ./recode/Makefile ] || exit 0; \
23493 r=`${PWD_COMMAND}`; export r; \
23494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23495 $(HOST_EXPORTS) \
23496 for flag in $(EXTRA_HOST_FLAGS) ; do \
23497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23498 done; \
23499 echo "Doing maintainer-clean in recode" ; \
23500 (cd $(HOST_SUBDIR)/recode && \
23501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23503 "RANLIB=$${RANLIB}" \
23504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23505 maintainer-clean) \
23506 || exit 1
23508 @endif recode
23512 .PHONY: configure-sed maybe-configure-sed
23513 maybe-configure-sed:
23514 @if sed
23515 maybe-configure-sed: configure-sed
23516 configure-sed:
23517 @: $(MAKE); $(unstage)
23518 @r=`${PWD_COMMAND}`; export r; \
23519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
23521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
23522 $(HOST_EXPORTS) \
23523 echo Configuring in $(HOST_SUBDIR)/sed; \
23524 cd "$(HOST_SUBDIR)/sed" || exit 1; \
23525 case $(srcdir) in \
23526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23527 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
23528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23529 esac; \
23530 srcdiroption="--srcdir=$${topdir}/sed"; \
23531 libsrcdir="$$s/sed"; \
23532 $(SHELL) $${libsrcdir}/configure \
23533 $(HOST_CONFIGARGS) $${srcdiroption} \
23534 || exit 1
23535 @endif sed
23541 .PHONY: all-sed maybe-all-sed
23542 maybe-all-sed:
23543 @if sed
23544 TARGET-sed=all
23545 maybe-all-sed: all-sed
23546 all-sed: configure-sed
23547 @: $(MAKE); $(unstage)
23548 @r=`${PWD_COMMAND}`; export r; \
23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23550 $(HOST_EXPORTS) \
23551 (cd $(HOST_SUBDIR)/sed && \
23552 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
23553 @endif sed
23558 .PHONY: check-sed maybe-check-sed
23559 maybe-check-sed:
23560 @if sed
23561 maybe-check-sed: check-sed
23563 check-sed:
23564 @: $(MAKE); $(unstage)
23565 @r=`${PWD_COMMAND}`; export r; \
23566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23567 $(HOST_EXPORTS) \
23568 (cd $(HOST_SUBDIR)/sed && \
23569 $(MAKE) $(FLAGS_TO_PASS) check)
23571 @endif sed
23573 .PHONY: install-sed maybe-install-sed
23574 maybe-install-sed:
23575 @if sed
23576 maybe-install-sed: install-sed
23578 install-sed: installdirs
23579 @: $(MAKE); $(unstage)
23580 @r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582 $(HOST_EXPORTS) \
23583 (cd $(HOST_SUBDIR)/sed && \
23584 $(MAKE) $(FLAGS_TO_PASS) install)
23586 @endif sed
23588 # Other targets (info, dvi, etc.)
23590 .PHONY: maybe-info-sed info-sed
23591 maybe-info-sed:
23592 @if sed
23593 maybe-info-sed: info-sed
23595 info-sed: \
23596 configure-sed
23597 @: $(MAKE); $(unstage)
23598 @[ -f ./sed/Makefile ] || exit 0; \
23599 r=`${PWD_COMMAND}`; export r; \
23600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23601 $(HOST_EXPORTS) \
23602 for flag in $(EXTRA_HOST_FLAGS) ; do \
23603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23604 done; \
23605 echo "Doing info in sed" ; \
23606 (cd $(HOST_SUBDIR)/sed && \
23607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23609 "RANLIB=$${RANLIB}" \
23610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23611 info) \
23612 || exit 1
23614 @endif sed
23616 .PHONY: maybe-dvi-sed dvi-sed
23617 maybe-dvi-sed:
23618 @if sed
23619 maybe-dvi-sed: dvi-sed
23621 dvi-sed: \
23622 configure-sed
23623 @: $(MAKE); $(unstage)
23624 @[ -f ./sed/Makefile ] || exit 0; \
23625 r=`${PWD_COMMAND}`; export r; \
23626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23627 $(HOST_EXPORTS) \
23628 for flag in $(EXTRA_HOST_FLAGS) ; do \
23629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23630 done; \
23631 echo "Doing dvi in sed" ; \
23632 (cd $(HOST_SUBDIR)/sed && \
23633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23635 "RANLIB=$${RANLIB}" \
23636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23637 dvi) \
23638 || exit 1
23640 @endif sed
23642 .PHONY: maybe-html-sed html-sed
23643 maybe-html-sed:
23644 @if sed
23645 maybe-html-sed: html-sed
23647 html-sed: \
23648 configure-sed
23649 @: $(MAKE); $(unstage)
23650 @[ -f ./sed/Makefile ] || exit 0; \
23651 r=`${PWD_COMMAND}`; export r; \
23652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23653 $(HOST_EXPORTS) \
23654 for flag in $(EXTRA_HOST_FLAGS) ; do \
23655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23656 done; \
23657 echo "Doing html in sed" ; \
23658 (cd $(HOST_SUBDIR)/sed && \
23659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23661 "RANLIB=$${RANLIB}" \
23662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23663 html) \
23664 || exit 1
23666 @endif sed
23668 .PHONY: maybe-TAGS-sed TAGS-sed
23669 maybe-TAGS-sed:
23670 @if sed
23671 maybe-TAGS-sed: TAGS-sed
23673 TAGS-sed: \
23674 configure-sed
23675 @: $(MAKE); $(unstage)
23676 @[ -f ./sed/Makefile ] || exit 0; \
23677 r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23679 $(HOST_EXPORTS) \
23680 for flag in $(EXTRA_HOST_FLAGS) ; do \
23681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23682 done; \
23683 echo "Doing TAGS in sed" ; \
23684 (cd $(HOST_SUBDIR)/sed && \
23685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23687 "RANLIB=$${RANLIB}" \
23688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23689 TAGS) \
23690 || exit 1
23692 @endif sed
23694 .PHONY: maybe-install-info-sed install-info-sed
23695 maybe-install-info-sed:
23696 @if sed
23697 maybe-install-info-sed: install-info-sed
23699 install-info-sed: \
23700 configure-sed \
23701 info-sed
23702 @: $(MAKE); $(unstage)
23703 @[ -f ./sed/Makefile ] || exit 0; \
23704 r=`${PWD_COMMAND}`; export r; \
23705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23706 $(HOST_EXPORTS) \
23707 for flag in $(EXTRA_HOST_FLAGS) ; do \
23708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23709 done; \
23710 echo "Doing install-info in sed" ; \
23711 (cd $(HOST_SUBDIR)/sed && \
23712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23714 "RANLIB=$${RANLIB}" \
23715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23716 install-info) \
23717 || exit 1
23719 @endif sed
23721 .PHONY: maybe-install-html-sed install-html-sed
23722 maybe-install-html-sed:
23723 @if sed
23724 maybe-install-html-sed: install-html-sed
23726 install-html-sed: \
23727 configure-sed \
23728 html-sed
23729 @: $(MAKE); $(unstage)
23730 @[ -f ./sed/Makefile ] || exit 0; \
23731 r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733 $(HOST_EXPORTS) \
23734 for flag in $(EXTRA_HOST_FLAGS) ; do \
23735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23736 done; \
23737 echo "Doing install-html in sed" ; \
23738 (cd $(HOST_SUBDIR)/sed && \
23739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23741 "RANLIB=$${RANLIB}" \
23742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23743 install-html) \
23744 || exit 1
23746 @endif sed
23748 .PHONY: maybe-installcheck-sed installcheck-sed
23749 maybe-installcheck-sed:
23750 @if sed
23751 maybe-installcheck-sed: installcheck-sed
23753 installcheck-sed: \
23754 configure-sed
23755 @: $(MAKE); $(unstage)
23756 @[ -f ./sed/Makefile ] || exit 0; \
23757 r=`${PWD_COMMAND}`; export r; \
23758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23759 $(HOST_EXPORTS) \
23760 for flag in $(EXTRA_HOST_FLAGS) ; do \
23761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23762 done; \
23763 echo "Doing installcheck in sed" ; \
23764 (cd $(HOST_SUBDIR)/sed && \
23765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23767 "RANLIB=$${RANLIB}" \
23768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23769 installcheck) \
23770 || exit 1
23772 @endif sed
23774 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
23775 maybe-mostlyclean-sed:
23776 @if sed
23777 maybe-mostlyclean-sed: mostlyclean-sed
23779 mostlyclean-sed:
23780 @: $(MAKE); $(unstage)
23781 @[ -f ./sed/Makefile ] || exit 0; \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 $(HOST_EXPORTS) \
23785 for flag in $(EXTRA_HOST_FLAGS) ; do \
23786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23787 done; \
23788 echo "Doing mostlyclean in sed" ; \
23789 (cd $(HOST_SUBDIR)/sed && \
23790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23792 "RANLIB=$${RANLIB}" \
23793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23794 mostlyclean) \
23795 || exit 1
23797 @endif sed
23799 .PHONY: maybe-clean-sed clean-sed
23800 maybe-clean-sed:
23801 @if sed
23802 maybe-clean-sed: clean-sed
23804 clean-sed:
23805 @: $(MAKE); $(unstage)
23806 @[ -f ./sed/Makefile ] || exit 0; \
23807 r=`${PWD_COMMAND}`; export r; \
23808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23809 $(HOST_EXPORTS) \
23810 for flag in $(EXTRA_HOST_FLAGS) ; do \
23811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23812 done; \
23813 echo "Doing clean in sed" ; \
23814 (cd $(HOST_SUBDIR)/sed && \
23815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23817 "RANLIB=$${RANLIB}" \
23818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23819 clean) \
23820 || exit 1
23822 @endif sed
23824 .PHONY: maybe-distclean-sed distclean-sed
23825 maybe-distclean-sed:
23826 @if sed
23827 maybe-distclean-sed: distclean-sed
23829 distclean-sed:
23830 @: $(MAKE); $(unstage)
23831 @[ -f ./sed/Makefile ] || exit 0; \
23832 r=`${PWD_COMMAND}`; export r; \
23833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23834 $(HOST_EXPORTS) \
23835 for flag in $(EXTRA_HOST_FLAGS) ; do \
23836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23837 done; \
23838 echo "Doing distclean in sed" ; \
23839 (cd $(HOST_SUBDIR)/sed && \
23840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23842 "RANLIB=$${RANLIB}" \
23843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23844 distclean) \
23845 || exit 1
23847 @endif sed
23849 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
23850 maybe-maintainer-clean-sed:
23851 @if sed
23852 maybe-maintainer-clean-sed: maintainer-clean-sed
23854 maintainer-clean-sed:
23855 @: $(MAKE); $(unstage)
23856 @[ -f ./sed/Makefile ] || exit 0; \
23857 r=`${PWD_COMMAND}`; export r; \
23858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 $(HOST_EXPORTS) \
23860 for flag in $(EXTRA_HOST_FLAGS) ; do \
23861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 done; \
23863 echo "Doing maintainer-clean in sed" ; \
23864 (cd $(HOST_SUBDIR)/sed && \
23865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23867 "RANLIB=$${RANLIB}" \
23868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23869 maintainer-clean) \
23870 || exit 1
23872 @endif sed
23876 .PHONY: configure-send-pr maybe-configure-send-pr
23877 maybe-configure-send-pr:
23878 @if send-pr
23879 maybe-configure-send-pr: configure-send-pr
23880 configure-send-pr:
23881 @: $(MAKE); $(unstage)
23882 @r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
23885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
23886 $(HOST_EXPORTS) \
23887 echo Configuring in $(HOST_SUBDIR)/send-pr; \
23888 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
23889 case $(srcdir) in \
23890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23891 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
23892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23893 esac; \
23894 srcdiroption="--srcdir=$${topdir}/send-pr"; \
23895 libsrcdir="$$s/send-pr"; \
23896 $(SHELL) $${libsrcdir}/configure \
23897 $(HOST_CONFIGARGS) $${srcdiroption} \
23898 || exit 1
23899 @endif send-pr
23905 .PHONY: all-send-pr maybe-all-send-pr
23906 maybe-all-send-pr:
23907 @if send-pr
23908 TARGET-send-pr=all
23909 maybe-all-send-pr: all-send-pr
23910 all-send-pr: configure-send-pr
23911 @: $(MAKE); $(unstage)
23912 @r=`${PWD_COMMAND}`; export r; \
23913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23914 $(HOST_EXPORTS) \
23915 (cd $(HOST_SUBDIR)/send-pr && \
23916 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
23917 @endif send-pr
23922 .PHONY: check-send-pr maybe-check-send-pr
23923 maybe-check-send-pr:
23924 @if send-pr
23925 maybe-check-send-pr: check-send-pr
23927 check-send-pr:
23928 @: $(MAKE); $(unstage)
23929 @r=`${PWD_COMMAND}`; export r; \
23930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23931 $(HOST_EXPORTS) \
23932 (cd $(HOST_SUBDIR)/send-pr && \
23933 $(MAKE) $(FLAGS_TO_PASS) check)
23935 @endif send-pr
23937 .PHONY: install-send-pr maybe-install-send-pr
23938 maybe-install-send-pr:
23939 @if send-pr
23940 maybe-install-send-pr: install-send-pr
23942 install-send-pr: installdirs
23943 @: $(MAKE); $(unstage)
23944 @r=`${PWD_COMMAND}`; export r; \
23945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23946 $(HOST_EXPORTS) \
23947 (cd $(HOST_SUBDIR)/send-pr && \
23948 $(MAKE) $(FLAGS_TO_PASS) install)
23950 @endif send-pr
23952 # Other targets (info, dvi, etc.)
23954 .PHONY: maybe-info-send-pr info-send-pr
23955 maybe-info-send-pr:
23956 @if send-pr
23957 maybe-info-send-pr: info-send-pr
23959 info-send-pr: \
23960 configure-send-pr
23961 @: $(MAKE); $(unstage)
23962 @[ -f ./send-pr/Makefile ] || exit 0; \
23963 r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 $(HOST_EXPORTS) \
23966 for flag in $(EXTRA_HOST_FLAGS) ; do \
23967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23968 done; \
23969 echo "Doing info in send-pr" ; \
23970 (cd $(HOST_SUBDIR)/send-pr && \
23971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23973 "RANLIB=$${RANLIB}" \
23974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23975 info) \
23976 || exit 1
23978 @endif send-pr
23980 .PHONY: maybe-dvi-send-pr dvi-send-pr
23981 maybe-dvi-send-pr:
23982 @if send-pr
23983 maybe-dvi-send-pr: dvi-send-pr
23985 dvi-send-pr: \
23986 configure-send-pr
23987 @: $(MAKE); $(unstage)
23988 @[ -f ./send-pr/Makefile ] || exit 0; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23991 $(HOST_EXPORTS) \
23992 for flag in $(EXTRA_HOST_FLAGS) ; do \
23993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23994 done; \
23995 echo "Doing dvi in send-pr" ; \
23996 (cd $(HOST_SUBDIR)/send-pr && \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24001 dvi) \
24002 || exit 1
24004 @endif send-pr
24006 .PHONY: maybe-html-send-pr html-send-pr
24007 maybe-html-send-pr:
24008 @if send-pr
24009 maybe-html-send-pr: html-send-pr
24011 html-send-pr: \
24012 configure-send-pr
24013 @: $(MAKE); $(unstage)
24014 @[ -f ./send-pr/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(HOST_EXPORTS) \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 echo "Doing html in send-pr" ; \
24022 (cd $(HOST_SUBDIR)/send-pr && \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24027 html) \
24028 || exit 1
24030 @endif send-pr
24032 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
24033 maybe-TAGS-send-pr:
24034 @if send-pr
24035 maybe-TAGS-send-pr: TAGS-send-pr
24037 TAGS-send-pr: \
24038 configure-send-pr
24039 @: $(MAKE); $(unstage)
24040 @[ -f ./send-pr/Makefile ] || exit 0; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24043 $(HOST_EXPORTS) \
24044 for flag in $(EXTRA_HOST_FLAGS) ; do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24046 done; \
24047 echo "Doing TAGS in send-pr" ; \
24048 (cd $(HOST_SUBDIR)/send-pr && \
24049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24051 "RANLIB=$${RANLIB}" \
24052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24053 TAGS) \
24054 || exit 1
24056 @endif send-pr
24058 .PHONY: maybe-install-info-send-pr install-info-send-pr
24059 maybe-install-info-send-pr:
24060 @if send-pr
24061 maybe-install-info-send-pr: install-info-send-pr
24063 install-info-send-pr: \
24064 configure-send-pr \
24065 info-send-pr
24066 @: $(MAKE); $(unstage)
24067 @[ -f ./send-pr/Makefile ] || exit 0; \
24068 r=`${PWD_COMMAND}`; export r; \
24069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24070 $(HOST_EXPORTS) \
24071 for flag in $(EXTRA_HOST_FLAGS) ; do \
24072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24073 done; \
24074 echo "Doing install-info in send-pr" ; \
24075 (cd $(HOST_SUBDIR)/send-pr && \
24076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24078 "RANLIB=$${RANLIB}" \
24079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24080 install-info) \
24081 || exit 1
24083 @endif send-pr
24085 .PHONY: maybe-install-html-send-pr install-html-send-pr
24086 maybe-install-html-send-pr:
24087 @if send-pr
24088 maybe-install-html-send-pr: install-html-send-pr
24090 install-html-send-pr: \
24091 configure-send-pr \
24092 html-send-pr
24093 @: $(MAKE); $(unstage)
24094 @[ -f ./send-pr/Makefile ] || exit 0; \
24095 r=`${PWD_COMMAND}`; export r; \
24096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24097 $(HOST_EXPORTS) \
24098 for flag in $(EXTRA_HOST_FLAGS) ; do \
24099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24100 done; \
24101 echo "Doing install-html in send-pr" ; \
24102 (cd $(HOST_SUBDIR)/send-pr && \
24103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24105 "RANLIB=$${RANLIB}" \
24106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24107 install-html) \
24108 || exit 1
24110 @endif send-pr
24112 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
24113 maybe-installcheck-send-pr:
24114 @if send-pr
24115 maybe-installcheck-send-pr: installcheck-send-pr
24117 installcheck-send-pr: \
24118 configure-send-pr
24119 @: $(MAKE); $(unstage)
24120 @[ -f ./send-pr/Makefile ] || exit 0; \
24121 r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 $(HOST_EXPORTS) \
24124 for flag in $(EXTRA_HOST_FLAGS) ; do \
24125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24126 done; \
24127 echo "Doing installcheck in send-pr" ; \
24128 (cd $(HOST_SUBDIR)/send-pr && \
24129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24131 "RANLIB=$${RANLIB}" \
24132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24133 installcheck) \
24134 || exit 1
24136 @endif send-pr
24138 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
24139 maybe-mostlyclean-send-pr:
24140 @if send-pr
24141 maybe-mostlyclean-send-pr: mostlyclean-send-pr
24143 mostlyclean-send-pr:
24144 @: $(MAKE); $(unstage)
24145 @[ -f ./send-pr/Makefile ] || exit 0; \
24146 r=`${PWD_COMMAND}`; export r; \
24147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24148 $(HOST_EXPORTS) \
24149 for flag in $(EXTRA_HOST_FLAGS) ; do \
24150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24151 done; \
24152 echo "Doing mostlyclean in send-pr" ; \
24153 (cd $(HOST_SUBDIR)/send-pr && \
24154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24156 "RANLIB=$${RANLIB}" \
24157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24158 mostlyclean) \
24159 || exit 1
24161 @endif send-pr
24163 .PHONY: maybe-clean-send-pr clean-send-pr
24164 maybe-clean-send-pr:
24165 @if send-pr
24166 maybe-clean-send-pr: clean-send-pr
24168 clean-send-pr:
24169 @: $(MAKE); $(unstage)
24170 @[ -f ./send-pr/Makefile ] || exit 0; \
24171 r=`${PWD_COMMAND}`; export r; \
24172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24173 $(HOST_EXPORTS) \
24174 for flag in $(EXTRA_HOST_FLAGS) ; do \
24175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24176 done; \
24177 echo "Doing clean in send-pr" ; \
24178 (cd $(HOST_SUBDIR)/send-pr && \
24179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24181 "RANLIB=$${RANLIB}" \
24182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24183 clean) \
24184 || exit 1
24186 @endif send-pr
24188 .PHONY: maybe-distclean-send-pr distclean-send-pr
24189 maybe-distclean-send-pr:
24190 @if send-pr
24191 maybe-distclean-send-pr: distclean-send-pr
24193 distclean-send-pr:
24194 @: $(MAKE); $(unstage)
24195 @[ -f ./send-pr/Makefile ] || exit 0; \
24196 r=`${PWD_COMMAND}`; export r; \
24197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 $(HOST_EXPORTS) \
24199 for flag in $(EXTRA_HOST_FLAGS) ; do \
24200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24201 done; \
24202 echo "Doing distclean in send-pr" ; \
24203 (cd $(HOST_SUBDIR)/send-pr && \
24204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24206 "RANLIB=$${RANLIB}" \
24207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24208 distclean) \
24209 || exit 1
24211 @endif send-pr
24213 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
24214 maybe-maintainer-clean-send-pr:
24215 @if send-pr
24216 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
24218 maintainer-clean-send-pr:
24219 @: $(MAKE); $(unstage)
24220 @[ -f ./send-pr/Makefile ] || exit 0; \
24221 r=`${PWD_COMMAND}`; export r; \
24222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223 $(HOST_EXPORTS) \
24224 for flag in $(EXTRA_HOST_FLAGS) ; do \
24225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24226 done; \
24227 echo "Doing maintainer-clean in send-pr" ; \
24228 (cd $(HOST_SUBDIR)/send-pr && \
24229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24231 "RANLIB=$${RANLIB}" \
24232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24233 maintainer-clean) \
24234 || exit 1
24236 @endif send-pr
24240 .PHONY: configure-shellutils maybe-configure-shellutils
24241 maybe-configure-shellutils:
24242 @if shellutils
24243 maybe-configure-shellutils: configure-shellutils
24244 configure-shellutils:
24245 @: $(MAKE); $(unstage)
24246 @r=`${PWD_COMMAND}`; export r; \
24247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24248 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
24249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
24250 $(HOST_EXPORTS) \
24251 echo Configuring in $(HOST_SUBDIR)/shellutils; \
24252 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
24253 case $(srcdir) in \
24254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24255 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
24256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24257 esac; \
24258 srcdiroption="--srcdir=$${topdir}/shellutils"; \
24259 libsrcdir="$$s/shellutils"; \
24260 $(SHELL) $${libsrcdir}/configure \
24261 $(HOST_CONFIGARGS) $${srcdiroption} \
24262 || exit 1
24263 @endif shellutils
24269 .PHONY: all-shellutils maybe-all-shellutils
24270 maybe-all-shellutils:
24271 @if shellutils
24272 TARGET-shellutils=all
24273 maybe-all-shellutils: all-shellutils
24274 all-shellutils: configure-shellutils
24275 @: $(MAKE); $(unstage)
24276 @r=`${PWD_COMMAND}`; export r; \
24277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24278 $(HOST_EXPORTS) \
24279 (cd $(HOST_SUBDIR)/shellutils && \
24280 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
24281 @endif shellutils
24286 .PHONY: check-shellutils maybe-check-shellutils
24287 maybe-check-shellutils:
24288 @if shellutils
24289 maybe-check-shellutils: check-shellutils
24291 check-shellutils:
24292 @: $(MAKE); $(unstage)
24293 @r=`${PWD_COMMAND}`; export r; \
24294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 $(HOST_EXPORTS) \
24296 (cd $(HOST_SUBDIR)/shellutils && \
24297 $(MAKE) $(FLAGS_TO_PASS) check)
24299 @endif shellutils
24301 .PHONY: install-shellutils maybe-install-shellutils
24302 maybe-install-shellutils:
24303 @if shellutils
24304 maybe-install-shellutils: install-shellutils
24306 install-shellutils: installdirs
24307 @: $(MAKE); $(unstage)
24308 @r=`${PWD_COMMAND}`; export r; \
24309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24310 $(HOST_EXPORTS) \
24311 (cd $(HOST_SUBDIR)/shellutils && \
24312 $(MAKE) $(FLAGS_TO_PASS) install)
24314 @endif shellutils
24316 # Other targets (info, dvi, etc.)
24318 .PHONY: maybe-info-shellutils info-shellutils
24319 maybe-info-shellutils:
24320 @if shellutils
24321 maybe-info-shellutils: info-shellutils
24323 info-shellutils: \
24324 configure-shellutils
24325 @: $(MAKE); $(unstage)
24326 @[ -f ./shellutils/Makefile ] || exit 0; \
24327 r=`${PWD_COMMAND}`; export r; \
24328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24329 $(HOST_EXPORTS) \
24330 for flag in $(EXTRA_HOST_FLAGS) ; do \
24331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24332 done; \
24333 echo "Doing info in shellutils" ; \
24334 (cd $(HOST_SUBDIR)/shellutils && \
24335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24337 "RANLIB=$${RANLIB}" \
24338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24339 info) \
24340 || exit 1
24342 @endif shellutils
24344 .PHONY: maybe-dvi-shellutils dvi-shellutils
24345 maybe-dvi-shellutils:
24346 @if shellutils
24347 maybe-dvi-shellutils: dvi-shellutils
24349 dvi-shellutils: \
24350 configure-shellutils
24351 @: $(MAKE); $(unstage)
24352 @[ -f ./shellutils/Makefile ] || exit 0; \
24353 r=`${PWD_COMMAND}`; export r; \
24354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24355 $(HOST_EXPORTS) \
24356 for flag in $(EXTRA_HOST_FLAGS) ; do \
24357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24358 done; \
24359 echo "Doing dvi in shellutils" ; \
24360 (cd $(HOST_SUBDIR)/shellutils && \
24361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24363 "RANLIB=$${RANLIB}" \
24364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24365 dvi) \
24366 || exit 1
24368 @endif shellutils
24370 .PHONY: maybe-html-shellutils html-shellutils
24371 maybe-html-shellutils:
24372 @if shellutils
24373 maybe-html-shellutils: html-shellutils
24375 html-shellutils: \
24376 configure-shellutils
24377 @: $(MAKE); $(unstage)
24378 @[ -f ./shellutils/Makefile ] || exit 0; \
24379 r=`${PWD_COMMAND}`; export r; \
24380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24381 $(HOST_EXPORTS) \
24382 for flag in $(EXTRA_HOST_FLAGS) ; do \
24383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24384 done; \
24385 echo "Doing html in shellutils" ; \
24386 (cd $(HOST_SUBDIR)/shellutils && \
24387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24389 "RANLIB=$${RANLIB}" \
24390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24391 html) \
24392 || exit 1
24394 @endif shellutils
24396 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
24397 maybe-TAGS-shellutils:
24398 @if shellutils
24399 maybe-TAGS-shellutils: TAGS-shellutils
24401 TAGS-shellutils: \
24402 configure-shellutils
24403 @: $(MAKE); $(unstage)
24404 @[ -f ./shellutils/Makefile ] || exit 0; \
24405 r=`${PWD_COMMAND}`; export r; \
24406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24407 $(HOST_EXPORTS) \
24408 for flag in $(EXTRA_HOST_FLAGS) ; do \
24409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24410 done; \
24411 echo "Doing TAGS in shellutils" ; \
24412 (cd $(HOST_SUBDIR)/shellutils && \
24413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24415 "RANLIB=$${RANLIB}" \
24416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24417 TAGS) \
24418 || exit 1
24420 @endif shellutils
24422 .PHONY: maybe-install-info-shellutils install-info-shellutils
24423 maybe-install-info-shellutils:
24424 @if shellutils
24425 maybe-install-info-shellutils: install-info-shellutils
24427 install-info-shellutils: \
24428 configure-shellutils \
24429 info-shellutils
24430 @: $(MAKE); $(unstage)
24431 @[ -f ./shellutils/Makefile ] || exit 0; \
24432 r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 for flag in $(EXTRA_HOST_FLAGS) ; do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 echo "Doing install-info in shellutils" ; \
24439 (cd $(HOST_SUBDIR)/shellutils && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24442 "RANLIB=$${RANLIB}" \
24443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24444 install-info) \
24445 || exit 1
24447 @endif shellutils
24449 .PHONY: maybe-install-html-shellutils install-html-shellutils
24450 maybe-install-html-shellutils:
24451 @if shellutils
24452 maybe-install-html-shellutils: install-html-shellutils
24454 install-html-shellutils: \
24455 configure-shellutils \
24456 html-shellutils
24457 @: $(MAKE); $(unstage)
24458 @[ -f ./shellutils/Makefile ] || exit 0; \
24459 r=`${PWD_COMMAND}`; export r; \
24460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24461 $(HOST_EXPORTS) \
24462 for flag in $(EXTRA_HOST_FLAGS) ; do \
24463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24464 done; \
24465 echo "Doing install-html in shellutils" ; \
24466 (cd $(HOST_SUBDIR)/shellutils && \
24467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24469 "RANLIB=$${RANLIB}" \
24470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24471 install-html) \
24472 || exit 1
24474 @endif shellutils
24476 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
24477 maybe-installcheck-shellutils:
24478 @if shellutils
24479 maybe-installcheck-shellutils: installcheck-shellutils
24481 installcheck-shellutils: \
24482 configure-shellutils
24483 @: $(MAKE); $(unstage)
24484 @[ -f ./shellutils/Makefile ] || exit 0; \
24485 r=`${PWD_COMMAND}`; export r; \
24486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24487 $(HOST_EXPORTS) \
24488 for flag in $(EXTRA_HOST_FLAGS) ; do \
24489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24490 done; \
24491 echo "Doing installcheck in shellutils" ; \
24492 (cd $(HOST_SUBDIR)/shellutils && \
24493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24495 "RANLIB=$${RANLIB}" \
24496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24497 installcheck) \
24498 || exit 1
24500 @endif shellutils
24502 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
24503 maybe-mostlyclean-shellutils:
24504 @if shellutils
24505 maybe-mostlyclean-shellutils: mostlyclean-shellutils
24507 mostlyclean-shellutils:
24508 @: $(MAKE); $(unstage)
24509 @[ -f ./shellutils/Makefile ] || exit 0; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(HOST_EXPORTS) \
24513 for flag in $(EXTRA_HOST_FLAGS) ; do \
24514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24515 done; \
24516 echo "Doing mostlyclean in shellutils" ; \
24517 (cd $(HOST_SUBDIR)/shellutils && \
24518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24520 "RANLIB=$${RANLIB}" \
24521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24522 mostlyclean) \
24523 || exit 1
24525 @endif shellutils
24527 .PHONY: maybe-clean-shellutils clean-shellutils
24528 maybe-clean-shellutils:
24529 @if shellutils
24530 maybe-clean-shellutils: clean-shellutils
24532 clean-shellutils:
24533 @: $(MAKE); $(unstage)
24534 @[ -f ./shellutils/Makefile ] || exit 0; \
24535 r=`${PWD_COMMAND}`; export r; \
24536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24537 $(HOST_EXPORTS) \
24538 for flag in $(EXTRA_HOST_FLAGS) ; do \
24539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24540 done; \
24541 echo "Doing clean in shellutils" ; \
24542 (cd $(HOST_SUBDIR)/shellutils && \
24543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24545 "RANLIB=$${RANLIB}" \
24546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24547 clean) \
24548 || exit 1
24550 @endif shellutils
24552 .PHONY: maybe-distclean-shellutils distclean-shellutils
24553 maybe-distclean-shellutils:
24554 @if shellutils
24555 maybe-distclean-shellutils: distclean-shellutils
24557 distclean-shellutils:
24558 @: $(MAKE); $(unstage)
24559 @[ -f ./shellutils/Makefile ] || exit 0; \
24560 r=`${PWD_COMMAND}`; export r; \
24561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24562 $(HOST_EXPORTS) \
24563 for flag in $(EXTRA_HOST_FLAGS) ; do \
24564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24565 done; \
24566 echo "Doing distclean in shellutils" ; \
24567 (cd $(HOST_SUBDIR)/shellutils && \
24568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24570 "RANLIB=$${RANLIB}" \
24571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24572 distclean) \
24573 || exit 1
24575 @endif shellutils
24577 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
24578 maybe-maintainer-clean-shellutils:
24579 @if shellutils
24580 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
24582 maintainer-clean-shellutils:
24583 @: $(MAKE); $(unstage)
24584 @[ -f ./shellutils/Makefile ] || exit 0; \
24585 r=`${PWD_COMMAND}`; export r; \
24586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24587 $(HOST_EXPORTS) \
24588 for flag in $(EXTRA_HOST_FLAGS) ; do \
24589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24590 done; \
24591 echo "Doing maintainer-clean in shellutils" ; \
24592 (cd $(HOST_SUBDIR)/shellutils && \
24593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24595 "RANLIB=$${RANLIB}" \
24596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24597 maintainer-clean) \
24598 || exit 1
24600 @endif shellutils
24604 .PHONY: configure-sid maybe-configure-sid
24605 maybe-configure-sid:
24606 @if sid
24607 maybe-configure-sid: configure-sid
24608 configure-sid:
24609 @: $(MAKE); $(unstage)
24610 @r=`${PWD_COMMAND}`; export r; \
24611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24612 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24614 $(HOST_EXPORTS) \
24615 echo Configuring in $(HOST_SUBDIR)/sid; \
24616 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24617 case $(srcdir) in \
24618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24619 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24621 esac; \
24622 srcdiroption="--srcdir=$${topdir}/sid"; \
24623 libsrcdir="$$s/sid"; \
24624 $(SHELL) $${libsrcdir}/configure \
24625 $(HOST_CONFIGARGS) $${srcdiroption} \
24626 || exit 1
24627 @endif sid
24633 .PHONY: all-sid maybe-all-sid
24634 maybe-all-sid:
24635 @if sid
24636 TARGET-sid=all
24637 maybe-all-sid: all-sid
24638 all-sid: configure-sid
24639 @: $(MAKE); $(unstage)
24640 @r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(HOST_EXPORTS) \
24643 (cd $(HOST_SUBDIR)/sid && \
24644 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
24645 @endif sid
24650 .PHONY: check-sid maybe-check-sid
24651 maybe-check-sid:
24652 @if sid
24653 maybe-check-sid: check-sid
24655 check-sid:
24656 @: $(MAKE); $(unstage)
24657 @r=`${PWD_COMMAND}`; export r; \
24658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24659 $(HOST_EXPORTS) \
24660 (cd $(HOST_SUBDIR)/sid && \
24661 $(MAKE) $(FLAGS_TO_PASS) check)
24663 @endif sid
24665 .PHONY: install-sid maybe-install-sid
24666 maybe-install-sid:
24667 @if sid
24668 maybe-install-sid: install-sid
24670 install-sid: installdirs
24671 @: $(MAKE); $(unstage)
24672 @r=`${PWD_COMMAND}`; export r; \
24673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24674 $(HOST_EXPORTS) \
24675 (cd $(HOST_SUBDIR)/sid && \
24676 $(MAKE) $(FLAGS_TO_PASS) install)
24678 @endif sid
24680 # Other targets (info, dvi, etc.)
24682 .PHONY: maybe-info-sid info-sid
24683 maybe-info-sid:
24684 @if sid
24685 maybe-info-sid: info-sid
24687 info-sid: \
24688 configure-sid
24689 @: $(MAKE); $(unstage)
24690 @[ -f ./sid/Makefile ] || exit 0; \
24691 r=`${PWD_COMMAND}`; export r; \
24692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24693 $(HOST_EXPORTS) \
24694 for flag in $(EXTRA_HOST_FLAGS) ; do \
24695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24696 done; \
24697 echo "Doing info in sid" ; \
24698 (cd $(HOST_SUBDIR)/sid && \
24699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24701 "RANLIB=$${RANLIB}" \
24702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24703 info) \
24704 || exit 1
24706 @endif sid
24708 .PHONY: maybe-dvi-sid dvi-sid
24709 maybe-dvi-sid:
24710 @if sid
24711 maybe-dvi-sid: dvi-sid
24713 dvi-sid: \
24714 configure-sid
24715 @: $(MAKE); $(unstage)
24716 @[ -f ./sid/Makefile ] || exit 0; \
24717 r=`${PWD_COMMAND}`; export r; \
24718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24719 $(HOST_EXPORTS) \
24720 for flag in $(EXTRA_HOST_FLAGS) ; do \
24721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24722 done; \
24723 echo "Doing dvi in sid" ; \
24724 (cd $(HOST_SUBDIR)/sid && \
24725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24727 "RANLIB=$${RANLIB}" \
24728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24729 dvi) \
24730 || exit 1
24732 @endif sid
24734 .PHONY: maybe-html-sid html-sid
24735 maybe-html-sid:
24736 @if sid
24737 maybe-html-sid: html-sid
24739 html-sid: \
24740 configure-sid
24741 @: $(MAKE); $(unstage)
24742 @[ -f ./sid/Makefile ] || exit 0; \
24743 r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 $(HOST_EXPORTS) \
24746 for flag in $(EXTRA_HOST_FLAGS) ; do \
24747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 done; \
24749 echo "Doing html in sid" ; \
24750 (cd $(HOST_SUBDIR)/sid && \
24751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24753 "RANLIB=$${RANLIB}" \
24754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24755 html) \
24756 || exit 1
24758 @endif sid
24760 .PHONY: maybe-TAGS-sid TAGS-sid
24761 maybe-TAGS-sid:
24762 @if sid
24763 maybe-TAGS-sid: TAGS-sid
24765 TAGS-sid: \
24766 configure-sid
24767 @: $(MAKE); $(unstage)
24768 @[ -f ./sid/Makefile ] || exit 0; \
24769 r=`${PWD_COMMAND}`; export r; \
24770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24771 $(HOST_EXPORTS) \
24772 for flag in $(EXTRA_HOST_FLAGS) ; do \
24773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774 done; \
24775 echo "Doing TAGS in sid" ; \
24776 (cd $(HOST_SUBDIR)/sid && \
24777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24779 "RANLIB=$${RANLIB}" \
24780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24781 TAGS) \
24782 || exit 1
24784 @endif sid
24786 .PHONY: maybe-install-info-sid install-info-sid
24787 maybe-install-info-sid:
24788 @if sid
24789 maybe-install-info-sid: install-info-sid
24791 install-info-sid: \
24792 configure-sid \
24793 info-sid
24794 @: $(MAKE); $(unstage)
24795 @[ -f ./sid/Makefile ] || exit 0; \
24796 r=`${PWD_COMMAND}`; export r; \
24797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 $(HOST_EXPORTS) \
24799 for flag in $(EXTRA_HOST_FLAGS) ; do \
24800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24801 done; \
24802 echo "Doing install-info in sid" ; \
24803 (cd $(HOST_SUBDIR)/sid && \
24804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24806 "RANLIB=$${RANLIB}" \
24807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24808 install-info) \
24809 || exit 1
24811 @endif sid
24813 .PHONY: maybe-install-html-sid install-html-sid
24814 maybe-install-html-sid:
24815 @if sid
24816 maybe-install-html-sid: install-html-sid
24818 install-html-sid: \
24819 configure-sid \
24820 html-sid
24821 @: $(MAKE); $(unstage)
24822 @[ -f ./sid/Makefile ] || exit 0; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(HOST_EXPORTS) \
24826 for flag in $(EXTRA_HOST_FLAGS) ; do \
24827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24828 done; \
24829 echo "Doing install-html in sid" ; \
24830 (cd $(HOST_SUBDIR)/sid && \
24831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24833 "RANLIB=$${RANLIB}" \
24834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24835 install-html) \
24836 || exit 1
24838 @endif sid
24840 .PHONY: maybe-installcheck-sid installcheck-sid
24841 maybe-installcheck-sid:
24842 @if sid
24843 maybe-installcheck-sid: installcheck-sid
24845 installcheck-sid: \
24846 configure-sid
24847 @: $(MAKE); $(unstage)
24848 @[ -f ./sid/Makefile ] || exit 0; \
24849 r=`${PWD_COMMAND}`; export r; \
24850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24851 $(HOST_EXPORTS) \
24852 for flag in $(EXTRA_HOST_FLAGS) ; do \
24853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24854 done; \
24855 echo "Doing installcheck in sid" ; \
24856 (cd $(HOST_SUBDIR)/sid && \
24857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24859 "RANLIB=$${RANLIB}" \
24860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24861 installcheck) \
24862 || exit 1
24864 @endif sid
24866 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24867 maybe-mostlyclean-sid:
24868 @if sid
24869 maybe-mostlyclean-sid: mostlyclean-sid
24871 mostlyclean-sid:
24872 @: $(MAKE); $(unstage)
24873 @[ -f ./sid/Makefile ] || exit 0; \
24874 r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24876 $(HOST_EXPORTS) \
24877 for flag in $(EXTRA_HOST_FLAGS) ; do \
24878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24879 done; \
24880 echo "Doing mostlyclean in sid" ; \
24881 (cd $(HOST_SUBDIR)/sid && \
24882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24884 "RANLIB=$${RANLIB}" \
24885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24886 mostlyclean) \
24887 || exit 1
24889 @endif sid
24891 .PHONY: maybe-clean-sid clean-sid
24892 maybe-clean-sid:
24893 @if sid
24894 maybe-clean-sid: clean-sid
24896 clean-sid:
24897 @: $(MAKE); $(unstage)
24898 @[ -f ./sid/Makefile ] || exit 0; \
24899 r=`${PWD_COMMAND}`; export r; \
24900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24901 $(HOST_EXPORTS) \
24902 for flag in $(EXTRA_HOST_FLAGS) ; do \
24903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24904 done; \
24905 echo "Doing clean in sid" ; \
24906 (cd $(HOST_SUBDIR)/sid && \
24907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24909 "RANLIB=$${RANLIB}" \
24910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24911 clean) \
24912 || exit 1
24914 @endif sid
24916 .PHONY: maybe-distclean-sid distclean-sid
24917 maybe-distclean-sid:
24918 @if sid
24919 maybe-distclean-sid: distclean-sid
24921 distclean-sid:
24922 @: $(MAKE); $(unstage)
24923 @[ -f ./sid/Makefile ] || exit 0; \
24924 r=`${PWD_COMMAND}`; export r; \
24925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24926 $(HOST_EXPORTS) \
24927 for flag in $(EXTRA_HOST_FLAGS) ; do \
24928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24929 done; \
24930 echo "Doing distclean in sid" ; \
24931 (cd $(HOST_SUBDIR)/sid && \
24932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24934 "RANLIB=$${RANLIB}" \
24935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24936 distclean) \
24937 || exit 1
24939 @endif sid
24941 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24942 maybe-maintainer-clean-sid:
24943 @if sid
24944 maybe-maintainer-clean-sid: maintainer-clean-sid
24946 maintainer-clean-sid:
24947 @: $(MAKE); $(unstage)
24948 @[ -f ./sid/Makefile ] || exit 0; \
24949 r=`${PWD_COMMAND}`; export r; \
24950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24951 $(HOST_EXPORTS) \
24952 for flag in $(EXTRA_HOST_FLAGS) ; do \
24953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24954 done; \
24955 echo "Doing maintainer-clean in sid" ; \
24956 (cd $(HOST_SUBDIR)/sid && \
24957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24959 "RANLIB=$${RANLIB}" \
24960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24961 maintainer-clean) \
24962 || exit 1
24964 @endif sid
24968 .PHONY: configure-sim maybe-configure-sim
24969 maybe-configure-sim:
24970 @if sim
24971 maybe-configure-sim: configure-sim
24972 configure-sim:
24973 @: $(MAKE); $(unstage)
24974 @r=`${PWD_COMMAND}`; export r; \
24975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24976 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24978 $(HOST_EXPORTS) \
24979 echo Configuring in $(HOST_SUBDIR)/sim; \
24980 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24981 case $(srcdir) in \
24982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24983 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24985 esac; \
24986 srcdiroption="--srcdir=$${topdir}/sim"; \
24987 libsrcdir="$$s/sim"; \
24988 $(SHELL) $${libsrcdir}/configure \
24989 $(HOST_CONFIGARGS) $${srcdiroption} \
24990 || exit 1
24991 @endif sim
24997 .PHONY: all-sim maybe-all-sim
24998 maybe-all-sim:
24999 @if sim
25000 TARGET-sim=all
25001 maybe-all-sim: all-sim
25002 all-sim: configure-sim
25003 @: $(MAKE); $(unstage)
25004 @r=`${PWD_COMMAND}`; export r; \
25005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25006 $(HOST_EXPORTS) \
25007 (cd $(HOST_SUBDIR)/sim && \
25008 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
25009 @endif sim
25014 .PHONY: check-sim maybe-check-sim
25015 maybe-check-sim:
25016 @if sim
25017 maybe-check-sim: check-sim
25019 check-sim:
25020 @: $(MAKE); $(unstage)
25021 @r=`${PWD_COMMAND}`; export r; \
25022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25023 $(HOST_EXPORTS) \
25024 (cd $(HOST_SUBDIR)/sim && \
25025 $(MAKE) $(FLAGS_TO_PASS) check)
25027 @endif sim
25029 .PHONY: install-sim maybe-install-sim
25030 maybe-install-sim:
25031 @if sim
25032 maybe-install-sim: install-sim
25034 install-sim: installdirs
25035 @: $(MAKE); $(unstage)
25036 @r=`${PWD_COMMAND}`; export r; \
25037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25038 $(HOST_EXPORTS) \
25039 (cd $(HOST_SUBDIR)/sim && \
25040 $(MAKE) $(FLAGS_TO_PASS) install)
25042 @endif sim
25044 # Other targets (info, dvi, etc.)
25046 .PHONY: maybe-info-sim info-sim
25047 maybe-info-sim:
25048 @if sim
25049 maybe-info-sim: info-sim
25051 info-sim: \
25052 configure-sim
25053 @: $(MAKE); $(unstage)
25054 @[ -f ./sim/Makefile ] || exit 0; \
25055 r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(HOST_EXPORTS) \
25058 for flag in $(EXTRA_HOST_FLAGS) ; do \
25059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25060 done; \
25061 echo "Doing info in sim" ; \
25062 (cd $(HOST_SUBDIR)/sim && \
25063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25065 "RANLIB=$${RANLIB}" \
25066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25067 info) \
25068 || exit 1
25070 @endif sim
25072 .PHONY: maybe-dvi-sim dvi-sim
25073 maybe-dvi-sim:
25074 @if sim
25075 maybe-dvi-sim: dvi-sim
25077 dvi-sim: \
25078 configure-sim
25079 @: $(MAKE); $(unstage)
25080 @[ -f ./sim/Makefile ] || exit 0; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(HOST_EXPORTS) \
25084 for flag in $(EXTRA_HOST_FLAGS) ; do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 done; \
25087 echo "Doing dvi in sim" ; \
25088 (cd $(HOST_SUBDIR)/sim && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25093 dvi) \
25094 || exit 1
25096 @endif sim
25098 .PHONY: maybe-html-sim html-sim
25099 maybe-html-sim:
25100 @if sim
25101 maybe-html-sim: html-sim
25103 html-sim: \
25104 configure-sim
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./sim/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing html in sim" ; \
25114 (cd $(HOST_SUBDIR)/sim && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25119 html) \
25120 || exit 1
25122 @endif sim
25124 .PHONY: maybe-TAGS-sim TAGS-sim
25125 maybe-TAGS-sim:
25126 @if sim
25127 maybe-TAGS-sim: TAGS-sim
25129 TAGS-sim: \
25130 configure-sim
25131 @: $(MAKE); $(unstage)
25132 @[ -f ./sim/Makefile ] || exit 0; \
25133 r=`${PWD_COMMAND}`; export r; \
25134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25135 $(HOST_EXPORTS) \
25136 for flag in $(EXTRA_HOST_FLAGS) ; do \
25137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25138 done; \
25139 echo "Doing TAGS in sim" ; \
25140 (cd $(HOST_SUBDIR)/sim && \
25141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25143 "RANLIB=$${RANLIB}" \
25144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25145 TAGS) \
25146 || exit 1
25148 @endif sim
25150 .PHONY: maybe-install-info-sim install-info-sim
25151 maybe-install-info-sim:
25152 @if sim
25153 maybe-install-info-sim: install-info-sim
25155 install-info-sim: \
25156 configure-sim \
25157 info-sim
25158 @: $(MAKE); $(unstage)
25159 @[ -f ./sim/Makefile ] || exit 0; \
25160 r=`${PWD_COMMAND}`; export r; \
25161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25162 $(HOST_EXPORTS) \
25163 for flag in $(EXTRA_HOST_FLAGS) ; do \
25164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25165 done; \
25166 echo "Doing install-info in sim" ; \
25167 (cd $(HOST_SUBDIR)/sim && \
25168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25170 "RANLIB=$${RANLIB}" \
25171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25172 install-info) \
25173 || exit 1
25175 @endif sim
25177 .PHONY: maybe-install-html-sim install-html-sim
25178 maybe-install-html-sim:
25179 @if sim
25180 maybe-install-html-sim: install-html-sim
25182 install-html-sim: \
25183 configure-sim \
25184 html-sim
25185 @: $(MAKE); $(unstage)
25186 @[ -f ./sim/Makefile ] || exit 0; \
25187 r=`${PWD_COMMAND}`; export r; \
25188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25189 $(HOST_EXPORTS) \
25190 for flag in $(EXTRA_HOST_FLAGS) ; do \
25191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25192 done; \
25193 echo "Doing install-html in sim" ; \
25194 (cd $(HOST_SUBDIR)/sim && \
25195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25197 "RANLIB=$${RANLIB}" \
25198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25199 install-html) \
25200 || exit 1
25202 @endif sim
25204 .PHONY: maybe-installcheck-sim installcheck-sim
25205 maybe-installcheck-sim:
25206 @if sim
25207 maybe-installcheck-sim: installcheck-sim
25209 installcheck-sim: \
25210 configure-sim
25211 @: $(MAKE); $(unstage)
25212 @[ -f ./sim/Makefile ] || exit 0; \
25213 r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215 $(HOST_EXPORTS) \
25216 for flag in $(EXTRA_HOST_FLAGS) ; do \
25217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25218 done; \
25219 echo "Doing installcheck in sim" ; \
25220 (cd $(HOST_SUBDIR)/sim && \
25221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25223 "RANLIB=$${RANLIB}" \
25224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25225 installcheck) \
25226 || exit 1
25228 @endif sim
25230 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25231 maybe-mostlyclean-sim:
25232 @if sim
25233 maybe-mostlyclean-sim: mostlyclean-sim
25235 mostlyclean-sim:
25236 @: $(MAKE); $(unstage)
25237 @[ -f ./sim/Makefile ] || exit 0; \
25238 r=`${PWD_COMMAND}`; export r; \
25239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25240 $(HOST_EXPORTS) \
25241 for flag in $(EXTRA_HOST_FLAGS) ; do \
25242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25243 done; \
25244 echo "Doing mostlyclean in sim" ; \
25245 (cd $(HOST_SUBDIR)/sim && \
25246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25248 "RANLIB=$${RANLIB}" \
25249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25250 mostlyclean) \
25251 || exit 1
25253 @endif sim
25255 .PHONY: maybe-clean-sim clean-sim
25256 maybe-clean-sim:
25257 @if sim
25258 maybe-clean-sim: clean-sim
25260 clean-sim:
25261 @: $(MAKE); $(unstage)
25262 @[ -f ./sim/Makefile ] || exit 0; \
25263 r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 $(HOST_EXPORTS) \
25266 for flag in $(EXTRA_HOST_FLAGS) ; do \
25267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25268 done; \
25269 echo "Doing clean in sim" ; \
25270 (cd $(HOST_SUBDIR)/sim && \
25271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25273 "RANLIB=$${RANLIB}" \
25274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25275 clean) \
25276 || exit 1
25278 @endif sim
25280 .PHONY: maybe-distclean-sim distclean-sim
25281 maybe-distclean-sim:
25282 @if sim
25283 maybe-distclean-sim: distclean-sim
25285 distclean-sim:
25286 @: $(MAKE); $(unstage)
25287 @[ -f ./sim/Makefile ] || exit 0; \
25288 r=`${PWD_COMMAND}`; export r; \
25289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25290 $(HOST_EXPORTS) \
25291 for flag in $(EXTRA_HOST_FLAGS) ; do \
25292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25293 done; \
25294 echo "Doing distclean in sim" ; \
25295 (cd $(HOST_SUBDIR)/sim && \
25296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25298 "RANLIB=$${RANLIB}" \
25299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25300 distclean) \
25301 || exit 1
25303 @endif sim
25305 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25306 maybe-maintainer-clean-sim:
25307 @if sim
25308 maybe-maintainer-clean-sim: maintainer-clean-sim
25310 maintainer-clean-sim:
25311 @: $(MAKE); $(unstage)
25312 @[ -f ./sim/Makefile ] || exit 0; \
25313 r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25315 $(HOST_EXPORTS) \
25316 for flag in $(EXTRA_HOST_FLAGS) ; do \
25317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25318 done; \
25319 echo "Doing maintainer-clean in sim" ; \
25320 (cd $(HOST_SUBDIR)/sim && \
25321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25323 "RANLIB=$${RANLIB}" \
25324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25325 maintainer-clean) \
25326 || exit 1
25328 @endif sim
25332 .PHONY: configure-tar maybe-configure-tar
25333 maybe-configure-tar:
25334 @if tar
25335 maybe-configure-tar: configure-tar
25336 configure-tar:
25337 @: $(MAKE); $(unstage)
25338 @r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
25341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
25342 $(HOST_EXPORTS) \
25343 echo Configuring in $(HOST_SUBDIR)/tar; \
25344 cd "$(HOST_SUBDIR)/tar" || exit 1; \
25345 case $(srcdir) in \
25346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25347 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
25348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25349 esac; \
25350 srcdiroption="--srcdir=$${topdir}/tar"; \
25351 libsrcdir="$$s/tar"; \
25352 $(SHELL) $${libsrcdir}/configure \
25353 $(HOST_CONFIGARGS) $${srcdiroption} \
25354 || exit 1
25355 @endif tar
25361 .PHONY: all-tar maybe-all-tar
25362 maybe-all-tar:
25363 @if tar
25364 TARGET-tar=all
25365 maybe-all-tar: all-tar
25366 all-tar: configure-tar
25367 @: $(MAKE); $(unstage)
25368 @r=`${PWD_COMMAND}`; export r; \
25369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25370 $(HOST_EXPORTS) \
25371 (cd $(HOST_SUBDIR)/tar && \
25372 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
25373 @endif tar
25378 .PHONY: check-tar maybe-check-tar
25379 maybe-check-tar:
25380 @if tar
25381 maybe-check-tar: check-tar
25383 check-tar:
25384 @: $(MAKE); $(unstage)
25385 @r=`${PWD_COMMAND}`; export r; \
25386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25387 $(HOST_EXPORTS) \
25388 (cd $(HOST_SUBDIR)/tar && \
25389 $(MAKE) $(FLAGS_TO_PASS) check)
25391 @endif tar
25393 .PHONY: install-tar maybe-install-tar
25394 maybe-install-tar:
25395 @if tar
25396 maybe-install-tar: install-tar
25398 install-tar: installdirs
25399 @: $(MAKE); $(unstage)
25400 @r=`${PWD_COMMAND}`; export r; \
25401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25402 $(HOST_EXPORTS) \
25403 (cd $(HOST_SUBDIR)/tar && \
25404 $(MAKE) $(FLAGS_TO_PASS) install)
25406 @endif tar
25408 # Other targets (info, dvi, etc.)
25410 .PHONY: maybe-info-tar info-tar
25411 maybe-info-tar:
25412 @if tar
25413 maybe-info-tar: info-tar
25415 info-tar: \
25416 configure-tar
25417 @: $(MAKE); $(unstage)
25418 @[ -f ./tar/Makefile ] || exit 0; \
25419 r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(HOST_EXPORTS) \
25422 for flag in $(EXTRA_HOST_FLAGS) ; do \
25423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25424 done; \
25425 echo "Doing info in tar" ; \
25426 (cd $(HOST_SUBDIR)/tar && \
25427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25429 "RANLIB=$${RANLIB}" \
25430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25431 info) \
25432 || exit 1
25434 @endif tar
25436 .PHONY: maybe-dvi-tar dvi-tar
25437 maybe-dvi-tar:
25438 @if tar
25439 maybe-dvi-tar: dvi-tar
25441 dvi-tar: \
25442 configure-tar
25443 @: $(MAKE); $(unstage)
25444 @[ -f ./tar/Makefile ] || exit 0; \
25445 r=`${PWD_COMMAND}`; export r; \
25446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25447 $(HOST_EXPORTS) \
25448 for flag in $(EXTRA_HOST_FLAGS) ; do \
25449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25450 done; \
25451 echo "Doing dvi in tar" ; \
25452 (cd $(HOST_SUBDIR)/tar && \
25453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25455 "RANLIB=$${RANLIB}" \
25456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25457 dvi) \
25458 || exit 1
25460 @endif tar
25462 .PHONY: maybe-html-tar html-tar
25463 maybe-html-tar:
25464 @if tar
25465 maybe-html-tar: html-tar
25467 html-tar: \
25468 configure-tar
25469 @: $(MAKE); $(unstage)
25470 @[ -f ./tar/Makefile ] || exit 0; \
25471 r=`${PWD_COMMAND}`; export r; \
25472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25473 $(HOST_EXPORTS) \
25474 for flag in $(EXTRA_HOST_FLAGS) ; do \
25475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25476 done; \
25477 echo "Doing html in tar" ; \
25478 (cd $(HOST_SUBDIR)/tar && \
25479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25481 "RANLIB=$${RANLIB}" \
25482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25483 html) \
25484 || exit 1
25486 @endif tar
25488 .PHONY: maybe-TAGS-tar TAGS-tar
25489 maybe-TAGS-tar:
25490 @if tar
25491 maybe-TAGS-tar: TAGS-tar
25493 TAGS-tar: \
25494 configure-tar
25495 @: $(MAKE); $(unstage)
25496 @[ -f ./tar/Makefile ] || exit 0; \
25497 r=`${PWD_COMMAND}`; export r; \
25498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25499 $(HOST_EXPORTS) \
25500 for flag in $(EXTRA_HOST_FLAGS) ; do \
25501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25502 done; \
25503 echo "Doing TAGS in tar" ; \
25504 (cd $(HOST_SUBDIR)/tar && \
25505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25507 "RANLIB=$${RANLIB}" \
25508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25509 TAGS) \
25510 || exit 1
25512 @endif tar
25514 .PHONY: maybe-install-info-tar install-info-tar
25515 maybe-install-info-tar:
25516 @if tar
25517 maybe-install-info-tar: install-info-tar
25519 install-info-tar: \
25520 configure-tar \
25521 info-tar
25522 @: $(MAKE); $(unstage)
25523 @[ -f ./tar/Makefile ] || exit 0; \
25524 r=`${PWD_COMMAND}`; export r; \
25525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25526 $(HOST_EXPORTS) \
25527 for flag in $(EXTRA_HOST_FLAGS) ; do \
25528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25529 done; \
25530 echo "Doing install-info in tar" ; \
25531 (cd $(HOST_SUBDIR)/tar && \
25532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25534 "RANLIB=$${RANLIB}" \
25535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25536 install-info) \
25537 || exit 1
25539 @endif tar
25541 .PHONY: maybe-install-html-tar install-html-tar
25542 maybe-install-html-tar:
25543 @if tar
25544 maybe-install-html-tar: install-html-tar
25546 install-html-tar: \
25547 configure-tar \
25548 html-tar
25549 @: $(MAKE); $(unstage)
25550 @[ -f ./tar/Makefile ] || exit 0; \
25551 r=`${PWD_COMMAND}`; export r; \
25552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25553 $(HOST_EXPORTS) \
25554 for flag in $(EXTRA_HOST_FLAGS) ; do \
25555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25556 done; \
25557 echo "Doing install-html in tar" ; \
25558 (cd $(HOST_SUBDIR)/tar && \
25559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25561 "RANLIB=$${RANLIB}" \
25562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25563 install-html) \
25564 || exit 1
25566 @endif tar
25568 .PHONY: maybe-installcheck-tar installcheck-tar
25569 maybe-installcheck-tar:
25570 @if tar
25571 maybe-installcheck-tar: installcheck-tar
25573 installcheck-tar: \
25574 configure-tar
25575 @: $(MAKE); $(unstage)
25576 @[ -f ./tar/Makefile ] || exit 0; \
25577 r=`${PWD_COMMAND}`; export r; \
25578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25579 $(HOST_EXPORTS) \
25580 for flag in $(EXTRA_HOST_FLAGS) ; do \
25581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25582 done; \
25583 echo "Doing installcheck in tar" ; \
25584 (cd $(HOST_SUBDIR)/tar && \
25585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25587 "RANLIB=$${RANLIB}" \
25588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25589 installcheck) \
25590 || exit 1
25592 @endif tar
25594 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
25595 maybe-mostlyclean-tar:
25596 @if tar
25597 maybe-mostlyclean-tar: mostlyclean-tar
25599 mostlyclean-tar:
25600 @: $(MAKE); $(unstage)
25601 @[ -f ./tar/Makefile ] || exit 0; \
25602 r=`${PWD_COMMAND}`; export r; \
25603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25604 $(HOST_EXPORTS) \
25605 for flag in $(EXTRA_HOST_FLAGS) ; do \
25606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25607 done; \
25608 echo "Doing mostlyclean in tar" ; \
25609 (cd $(HOST_SUBDIR)/tar && \
25610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25612 "RANLIB=$${RANLIB}" \
25613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25614 mostlyclean) \
25615 || exit 1
25617 @endif tar
25619 .PHONY: maybe-clean-tar clean-tar
25620 maybe-clean-tar:
25621 @if tar
25622 maybe-clean-tar: clean-tar
25624 clean-tar:
25625 @: $(MAKE); $(unstage)
25626 @[ -f ./tar/Makefile ] || exit 0; \
25627 r=`${PWD_COMMAND}`; export r; \
25628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25629 $(HOST_EXPORTS) \
25630 for flag in $(EXTRA_HOST_FLAGS) ; do \
25631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25632 done; \
25633 echo "Doing clean in tar" ; \
25634 (cd $(HOST_SUBDIR)/tar && \
25635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25637 "RANLIB=$${RANLIB}" \
25638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25639 clean) \
25640 || exit 1
25642 @endif tar
25644 .PHONY: maybe-distclean-tar distclean-tar
25645 maybe-distclean-tar:
25646 @if tar
25647 maybe-distclean-tar: distclean-tar
25649 distclean-tar:
25650 @: $(MAKE); $(unstage)
25651 @[ -f ./tar/Makefile ] || exit 0; \
25652 r=`${PWD_COMMAND}`; export r; \
25653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25654 $(HOST_EXPORTS) \
25655 for flag in $(EXTRA_HOST_FLAGS) ; do \
25656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25657 done; \
25658 echo "Doing distclean in tar" ; \
25659 (cd $(HOST_SUBDIR)/tar && \
25660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25662 "RANLIB=$${RANLIB}" \
25663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25664 distclean) \
25665 || exit 1
25667 @endif tar
25669 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
25670 maybe-maintainer-clean-tar:
25671 @if tar
25672 maybe-maintainer-clean-tar: maintainer-clean-tar
25674 maintainer-clean-tar:
25675 @: $(MAKE); $(unstage)
25676 @[ -f ./tar/Makefile ] || exit 0; \
25677 r=`${PWD_COMMAND}`; export r; \
25678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 $(HOST_EXPORTS) \
25680 for flag in $(EXTRA_HOST_FLAGS) ; do \
25681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25682 done; \
25683 echo "Doing maintainer-clean in tar" ; \
25684 (cd $(HOST_SUBDIR)/tar && \
25685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687 "RANLIB=$${RANLIB}" \
25688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25689 maintainer-clean) \
25690 || exit 1
25692 @endif tar
25696 .PHONY: configure-texinfo maybe-configure-texinfo
25697 maybe-configure-texinfo:
25698 @if texinfo
25699 maybe-configure-texinfo: configure-texinfo
25700 configure-texinfo:
25701 @: $(MAKE); $(unstage)
25702 @r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25706 $(HOST_EXPORTS) \
25707 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25708 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25709 case $(srcdir) in \
25710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25711 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25713 esac; \
25714 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25715 libsrcdir="$$s/texinfo"; \
25716 $(SHELL) $${libsrcdir}/configure \
25717 $(HOST_CONFIGARGS) $${srcdiroption} \
25718 || exit 1
25719 @endif texinfo
25725 .PHONY: all-texinfo maybe-all-texinfo
25726 maybe-all-texinfo:
25727 @if texinfo
25728 TARGET-texinfo=all
25729 maybe-all-texinfo: all-texinfo
25730 all-texinfo: configure-texinfo
25731 @: $(MAKE); $(unstage)
25732 @r=`${PWD_COMMAND}`; export r; \
25733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25734 $(HOST_EXPORTS) \
25735 (cd $(HOST_SUBDIR)/texinfo && \
25736 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
25737 @endif texinfo
25742 .PHONY: check-texinfo maybe-check-texinfo
25743 maybe-check-texinfo:
25744 @if texinfo
25745 maybe-check-texinfo: check-texinfo
25747 check-texinfo:
25748 @: $(MAKE); $(unstage)
25749 @r=`${PWD_COMMAND}`; export r; \
25750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25751 $(HOST_EXPORTS) \
25752 (cd $(HOST_SUBDIR)/texinfo && \
25753 $(MAKE) $(FLAGS_TO_PASS) check)
25755 @endif texinfo
25757 .PHONY: install-texinfo maybe-install-texinfo
25758 maybe-install-texinfo:
25759 @if texinfo
25760 maybe-install-texinfo: install-texinfo
25762 install-texinfo:
25764 @endif texinfo
25766 # Other targets (info, dvi, etc.)
25768 .PHONY: maybe-info-texinfo info-texinfo
25769 maybe-info-texinfo:
25770 @if texinfo
25771 maybe-info-texinfo: info-texinfo
25773 info-texinfo: \
25774 configure-texinfo
25775 @: $(MAKE); $(unstage)
25776 @[ -f ./texinfo/Makefile ] || exit 0; \
25777 r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(HOST_EXPORTS) \
25780 for flag in $(EXTRA_HOST_FLAGS) ; do \
25781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25782 done; \
25783 echo "Doing info in texinfo" ; \
25784 (cd $(HOST_SUBDIR)/texinfo && \
25785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787 "RANLIB=$${RANLIB}" \
25788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25789 info) \
25790 || exit 1
25792 @endif texinfo
25794 .PHONY: maybe-dvi-texinfo dvi-texinfo
25795 maybe-dvi-texinfo:
25796 @if texinfo
25797 maybe-dvi-texinfo: dvi-texinfo
25799 dvi-texinfo: \
25800 configure-texinfo
25801 @: $(MAKE); $(unstage)
25802 @[ -f ./texinfo/Makefile ] || exit 0; \
25803 r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805 $(HOST_EXPORTS) \
25806 for flag in $(EXTRA_HOST_FLAGS) ; do \
25807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25808 done; \
25809 echo "Doing dvi in texinfo" ; \
25810 (cd $(HOST_SUBDIR)/texinfo && \
25811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25813 "RANLIB=$${RANLIB}" \
25814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25815 dvi) \
25816 || exit 1
25818 @endif texinfo
25820 .PHONY: maybe-html-texinfo html-texinfo
25821 maybe-html-texinfo:
25822 @if texinfo
25823 maybe-html-texinfo: html-texinfo
25825 html-texinfo: \
25826 configure-texinfo
25827 @: $(MAKE); $(unstage)
25828 @[ -f ./texinfo/Makefile ] || exit 0; \
25829 r=`${PWD_COMMAND}`; export r; \
25830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25831 $(HOST_EXPORTS) \
25832 for flag in $(EXTRA_HOST_FLAGS) ; do \
25833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25834 done; \
25835 echo "Doing html in texinfo" ; \
25836 (cd $(HOST_SUBDIR)/texinfo && \
25837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25839 "RANLIB=$${RANLIB}" \
25840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25841 html) \
25842 || exit 1
25844 @endif texinfo
25846 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25847 maybe-TAGS-texinfo:
25848 @if texinfo
25849 maybe-TAGS-texinfo: TAGS-texinfo
25851 TAGS-texinfo: \
25852 configure-texinfo
25853 @: $(MAKE); $(unstage)
25854 @[ -f ./texinfo/Makefile ] || exit 0; \
25855 r=`${PWD_COMMAND}`; export r; \
25856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25857 $(HOST_EXPORTS) \
25858 for flag in $(EXTRA_HOST_FLAGS) ; do \
25859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25860 done; \
25861 echo "Doing TAGS in texinfo" ; \
25862 (cd $(HOST_SUBDIR)/texinfo && \
25863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25865 "RANLIB=$${RANLIB}" \
25866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25867 TAGS) \
25868 || exit 1
25870 @endif texinfo
25872 .PHONY: maybe-install-info-texinfo install-info-texinfo
25873 maybe-install-info-texinfo:
25874 @if texinfo
25875 maybe-install-info-texinfo: install-info-texinfo
25877 install-info-texinfo: \
25878 configure-texinfo \
25879 info-texinfo
25880 @: $(MAKE); $(unstage)
25881 @[ -f ./texinfo/Makefile ] || exit 0; \
25882 r=`${PWD_COMMAND}`; export r; \
25883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25884 $(HOST_EXPORTS) \
25885 for flag in $(EXTRA_HOST_FLAGS) ; do \
25886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25887 done; \
25888 echo "Doing install-info in texinfo" ; \
25889 (cd $(HOST_SUBDIR)/texinfo && \
25890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25892 "RANLIB=$${RANLIB}" \
25893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25894 install-info) \
25895 || exit 1
25897 @endif texinfo
25899 .PHONY: maybe-install-html-texinfo install-html-texinfo
25900 maybe-install-html-texinfo:
25901 @if texinfo
25902 maybe-install-html-texinfo: install-html-texinfo
25904 install-html-texinfo: \
25905 configure-texinfo \
25906 html-texinfo
25907 @: $(MAKE); $(unstage)
25908 @[ -f ./texinfo/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25914 done; \
25915 echo "Doing install-html in texinfo" ; \
25916 (cd $(HOST_SUBDIR)/texinfo && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25921 install-html) \
25922 || exit 1
25924 @endif texinfo
25926 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25927 maybe-installcheck-texinfo:
25928 @if texinfo
25929 maybe-installcheck-texinfo: installcheck-texinfo
25931 installcheck-texinfo: \
25932 configure-texinfo
25933 @: $(MAKE); $(unstage)
25934 @[ -f ./texinfo/Makefile ] || exit 0; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(HOST_EXPORTS) \
25938 for flag in $(EXTRA_HOST_FLAGS) ; do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940 done; \
25941 echo "Doing installcheck in texinfo" ; \
25942 (cd $(HOST_SUBDIR)/texinfo && \
25943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25945 "RANLIB=$${RANLIB}" \
25946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25947 installcheck) \
25948 || exit 1
25950 @endif texinfo
25952 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25953 maybe-mostlyclean-texinfo:
25954 @if texinfo
25955 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25957 mostlyclean-texinfo:
25958 @: $(MAKE); $(unstage)
25959 @[ -f ./texinfo/Makefile ] || exit 0; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25962 $(HOST_EXPORTS) \
25963 for flag in $(EXTRA_HOST_FLAGS) ; do \
25964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25965 done; \
25966 echo "Doing mostlyclean in texinfo" ; \
25967 (cd $(HOST_SUBDIR)/texinfo && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25970 "RANLIB=$${RANLIB}" \
25971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25972 mostlyclean) \
25973 || exit 1
25975 @endif texinfo
25977 .PHONY: maybe-clean-texinfo clean-texinfo
25978 maybe-clean-texinfo:
25979 @if texinfo
25980 maybe-clean-texinfo: clean-texinfo
25982 clean-texinfo:
25983 @: $(MAKE); $(unstage)
25984 @[ -f ./texinfo/Makefile ] || exit 0; \
25985 r=`${PWD_COMMAND}`; export r; \
25986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25987 $(HOST_EXPORTS) \
25988 for flag in $(EXTRA_HOST_FLAGS) ; do \
25989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25990 done; \
25991 echo "Doing clean in texinfo" ; \
25992 (cd $(HOST_SUBDIR)/texinfo && \
25993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25995 "RANLIB=$${RANLIB}" \
25996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25997 clean) \
25998 || exit 1
26000 @endif texinfo
26002 .PHONY: maybe-distclean-texinfo distclean-texinfo
26003 maybe-distclean-texinfo:
26004 @if texinfo
26005 maybe-distclean-texinfo: distclean-texinfo
26007 distclean-texinfo:
26008 @: $(MAKE); $(unstage)
26009 @[ -f ./texinfo/Makefile ] || exit 0; \
26010 r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 $(HOST_EXPORTS) \
26013 for flag in $(EXTRA_HOST_FLAGS) ; do \
26014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26015 done; \
26016 echo "Doing distclean in texinfo" ; \
26017 (cd $(HOST_SUBDIR)/texinfo && \
26018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26020 "RANLIB=$${RANLIB}" \
26021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26022 distclean) \
26023 || exit 1
26025 @endif texinfo
26027 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26028 maybe-maintainer-clean-texinfo:
26029 @if texinfo
26030 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26032 maintainer-clean-texinfo:
26033 @: $(MAKE); $(unstage)
26034 @[ -f ./texinfo/Makefile ] || exit 0; \
26035 r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26037 $(HOST_EXPORTS) \
26038 for flag in $(EXTRA_HOST_FLAGS) ; do \
26039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26040 done; \
26041 echo "Doing maintainer-clean in texinfo" ; \
26042 (cd $(HOST_SUBDIR)/texinfo && \
26043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26045 "RANLIB=$${RANLIB}" \
26046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26047 maintainer-clean) \
26048 || exit 1
26050 @endif texinfo
26054 .PHONY: configure-textutils maybe-configure-textutils
26055 maybe-configure-textutils:
26056 @if textutils
26057 maybe-configure-textutils: configure-textutils
26058 configure-textutils:
26059 @: $(MAKE); $(unstage)
26060 @r=`${PWD_COMMAND}`; export r; \
26061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26062 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
26063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
26064 $(HOST_EXPORTS) \
26065 echo Configuring in $(HOST_SUBDIR)/textutils; \
26066 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
26067 case $(srcdir) in \
26068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26069 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
26070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26071 esac; \
26072 srcdiroption="--srcdir=$${topdir}/textutils"; \
26073 libsrcdir="$$s/textutils"; \
26074 $(SHELL) $${libsrcdir}/configure \
26075 $(HOST_CONFIGARGS) $${srcdiroption} \
26076 || exit 1
26077 @endif textutils
26083 .PHONY: all-textutils maybe-all-textutils
26084 maybe-all-textutils:
26085 @if textutils
26086 TARGET-textutils=all
26087 maybe-all-textutils: all-textutils
26088 all-textutils: configure-textutils
26089 @: $(MAKE); $(unstage)
26090 @r=`${PWD_COMMAND}`; export r; \
26091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26092 $(HOST_EXPORTS) \
26093 (cd $(HOST_SUBDIR)/textutils && \
26094 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
26095 @endif textutils
26100 .PHONY: check-textutils maybe-check-textutils
26101 maybe-check-textutils:
26102 @if textutils
26103 maybe-check-textutils: check-textutils
26105 check-textutils:
26106 @: $(MAKE); $(unstage)
26107 @r=`${PWD_COMMAND}`; export r; \
26108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26109 $(HOST_EXPORTS) \
26110 (cd $(HOST_SUBDIR)/textutils && \
26111 $(MAKE) $(FLAGS_TO_PASS) check)
26113 @endif textutils
26115 .PHONY: install-textutils maybe-install-textutils
26116 maybe-install-textutils:
26117 @if textutils
26118 maybe-install-textutils: install-textutils
26120 install-textutils: installdirs
26121 @: $(MAKE); $(unstage)
26122 @r=`${PWD_COMMAND}`; export r; \
26123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26124 $(HOST_EXPORTS) \
26125 (cd $(HOST_SUBDIR)/textutils && \
26126 $(MAKE) $(FLAGS_TO_PASS) install)
26128 @endif textutils
26130 # Other targets (info, dvi, etc.)
26132 .PHONY: maybe-info-textutils info-textutils
26133 maybe-info-textutils:
26134 @if textutils
26135 maybe-info-textutils: info-textutils
26137 info-textutils: \
26138 configure-textutils
26139 @: $(MAKE); $(unstage)
26140 @[ -f ./textutils/Makefile ] || exit 0; \
26141 r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(HOST_EXPORTS) \
26144 for flag in $(EXTRA_HOST_FLAGS) ; do \
26145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26146 done; \
26147 echo "Doing info in textutils" ; \
26148 (cd $(HOST_SUBDIR)/textutils && \
26149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26151 "RANLIB=$${RANLIB}" \
26152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26153 info) \
26154 || exit 1
26156 @endif textutils
26158 .PHONY: maybe-dvi-textutils dvi-textutils
26159 maybe-dvi-textutils:
26160 @if textutils
26161 maybe-dvi-textutils: dvi-textutils
26163 dvi-textutils: \
26164 configure-textutils
26165 @: $(MAKE); $(unstage)
26166 @[ -f ./textutils/Makefile ] || exit 0; \
26167 r=`${PWD_COMMAND}`; export r; \
26168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26169 $(HOST_EXPORTS) \
26170 for flag in $(EXTRA_HOST_FLAGS) ; do \
26171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26172 done; \
26173 echo "Doing dvi in textutils" ; \
26174 (cd $(HOST_SUBDIR)/textutils && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26179 dvi) \
26180 || exit 1
26182 @endif textutils
26184 .PHONY: maybe-html-textutils html-textutils
26185 maybe-html-textutils:
26186 @if textutils
26187 maybe-html-textutils: html-textutils
26189 html-textutils: \
26190 configure-textutils
26191 @: $(MAKE); $(unstage)
26192 @[ -f ./textutils/Makefile ] || exit 0; \
26193 r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 for flag in $(EXTRA_HOST_FLAGS) ; do \
26197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26198 done; \
26199 echo "Doing html in textutils" ; \
26200 (cd $(HOST_SUBDIR)/textutils && \
26201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26203 "RANLIB=$${RANLIB}" \
26204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26205 html) \
26206 || exit 1
26208 @endif textutils
26210 .PHONY: maybe-TAGS-textutils TAGS-textutils
26211 maybe-TAGS-textutils:
26212 @if textutils
26213 maybe-TAGS-textutils: TAGS-textutils
26215 TAGS-textutils: \
26216 configure-textutils
26217 @: $(MAKE); $(unstage)
26218 @[ -f ./textutils/Makefile ] || exit 0; \
26219 r=`${PWD_COMMAND}`; export r; \
26220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26221 $(HOST_EXPORTS) \
26222 for flag in $(EXTRA_HOST_FLAGS) ; do \
26223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26224 done; \
26225 echo "Doing TAGS in textutils" ; \
26226 (cd $(HOST_SUBDIR)/textutils && \
26227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26229 "RANLIB=$${RANLIB}" \
26230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26231 TAGS) \
26232 || exit 1
26234 @endif textutils
26236 .PHONY: maybe-install-info-textutils install-info-textutils
26237 maybe-install-info-textutils:
26238 @if textutils
26239 maybe-install-info-textutils: install-info-textutils
26241 install-info-textutils: \
26242 configure-textutils \
26243 info-textutils
26244 @: $(MAKE); $(unstage)
26245 @[ -f ./textutils/Makefile ] || exit 0; \
26246 r=`${PWD_COMMAND}`; export r; \
26247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26248 $(HOST_EXPORTS) \
26249 for flag in $(EXTRA_HOST_FLAGS) ; do \
26250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26251 done; \
26252 echo "Doing install-info in textutils" ; \
26253 (cd $(HOST_SUBDIR)/textutils && \
26254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26256 "RANLIB=$${RANLIB}" \
26257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26258 install-info) \
26259 || exit 1
26261 @endif textutils
26263 .PHONY: maybe-install-html-textutils install-html-textutils
26264 maybe-install-html-textutils:
26265 @if textutils
26266 maybe-install-html-textutils: install-html-textutils
26268 install-html-textutils: \
26269 configure-textutils \
26270 html-textutils
26271 @: $(MAKE); $(unstage)
26272 @[ -f ./textutils/Makefile ] || exit 0; \
26273 r=`${PWD_COMMAND}`; export r; \
26274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26275 $(HOST_EXPORTS) \
26276 for flag in $(EXTRA_HOST_FLAGS) ; do \
26277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26278 done; \
26279 echo "Doing install-html in textutils" ; \
26280 (cd $(HOST_SUBDIR)/textutils && \
26281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26283 "RANLIB=$${RANLIB}" \
26284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26285 install-html) \
26286 || exit 1
26288 @endif textutils
26290 .PHONY: maybe-installcheck-textutils installcheck-textutils
26291 maybe-installcheck-textutils:
26292 @if textutils
26293 maybe-installcheck-textutils: installcheck-textutils
26295 installcheck-textutils: \
26296 configure-textutils
26297 @: $(MAKE); $(unstage)
26298 @[ -f ./textutils/Makefile ] || exit 0; \
26299 r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 $(HOST_EXPORTS) \
26302 for flag in $(EXTRA_HOST_FLAGS) ; do \
26303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26304 done; \
26305 echo "Doing installcheck in textutils" ; \
26306 (cd $(HOST_SUBDIR)/textutils && \
26307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26309 "RANLIB=$${RANLIB}" \
26310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26311 installcheck) \
26312 || exit 1
26314 @endif textutils
26316 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
26317 maybe-mostlyclean-textutils:
26318 @if textutils
26319 maybe-mostlyclean-textutils: mostlyclean-textutils
26321 mostlyclean-textutils:
26322 @: $(MAKE); $(unstage)
26323 @[ -f ./textutils/Makefile ] || exit 0; \
26324 r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 $(HOST_EXPORTS) \
26327 for flag in $(EXTRA_HOST_FLAGS) ; do \
26328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26329 done; \
26330 echo "Doing mostlyclean in textutils" ; \
26331 (cd $(HOST_SUBDIR)/textutils && \
26332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26334 "RANLIB=$${RANLIB}" \
26335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26336 mostlyclean) \
26337 || exit 1
26339 @endif textutils
26341 .PHONY: maybe-clean-textutils clean-textutils
26342 maybe-clean-textutils:
26343 @if textutils
26344 maybe-clean-textutils: clean-textutils
26346 clean-textutils:
26347 @: $(MAKE); $(unstage)
26348 @[ -f ./textutils/Makefile ] || exit 0; \
26349 r=`${PWD_COMMAND}`; export r; \
26350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26351 $(HOST_EXPORTS) \
26352 for flag in $(EXTRA_HOST_FLAGS) ; do \
26353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26354 done; \
26355 echo "Doing clean in textutils" ; \
26356 (cd $(HOST_SUBDIR)/textutils && \
26357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26359 "RANLIB=$${RANLIB}" \
26360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26361 clean) \
26362 || exit 1
26364 @endif textutils
26366 .PHONY: maybe-distclean-textutils distclean-textutils
26367 maybe-distclean-textutils:
26368 @if textutils
26369 maybe-distclean-textutils: distclean-textutils
26371 distclean-textutils:
26372 @: $(MAKE); $(unstage)
26373 @[ -f ./textutils/Makefile ] || exit 0; \
26374 r=`${PWD_COMMAND}`; export r; \
26375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26376 $(HOST_EXPORTS) \
26377 for flag in $(EXTRA_HOST_FLAGS) ; do \
26378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26379 done; \
26380 echo "Doing distclean in textutils" ; \
26381 (cd $(HOST_SUBDIR)/textutils && \
26382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26384 "RANLIB=$${RANLIB}" \
26385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26386 distclean) \
26387 || exit 1
26389 @endif textutils
26391 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
26392 maybe-maintainer-clean-textutils:
26393 @if textutils
26394 maybe-maintainer-clean-textutils: maintainer-clean-textutils
26396 maintainer-clean-textutils:
26397 @: $(MAKE); $(unstage)
26398 @[ -f ./textutils/Makefile ] || exit 0; \
26399 r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 $(HOST_EXPORTS) \
26402 for flag in $(EXTRA_HOST_FLAGS) ; do \
26403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26404 done; \
26405 echo "Doing maintainer-clean in textutils" ; \
26406 (cd $(HOST_SUBDIR)/textutils && \
26407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26409 "RANLIB=$${RANLIB}" \
26410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26411 maintainer-clean) \
26412 || exit 1
26414 @endif textutils
26418 .PHONY: configure-time maybe-configure-time
26419 maybe-configure-time:
26420 @if time
26421 maybe-configure-time: configure-time
26422 configure-time:
26423 @: $(MAKE); $(unstage)
26424 @r=`${PWD_COMMAND}`; export r; \
26425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
26427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
26428 $(HOST_EXPORTS) \
26429 echo Configuring in $(HOST_SUBDIR)/time; \
26430 cd "$(HOST_SUBDIR)/time" || exit 1; \
26431 case $(srcdir) in \
26432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26433 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
26434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26435 esac; \
26436 srcdiroption="--srcdir=$${topdir}/time"; \
26437 libsrcdir="$$s/time"; \
26438 $(SHELL) $${libsrcdir}/configure \
26439 $(HOST_CONFIGARGS) $${srcdiroption} \
26440 || exit 1
26441 @endif time
26447 .PHONY: all-time maybe-all-time
26448 maybe-all-time:
26449 @if time
26450 TARGET-time=all
26451 maybe-all-time: all-time
26452 all-time: configure-time
26453 @: $(MAKE); $(unstage)
26454 @r=`${PWD_COMMAND}`; export r; \
26455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26456 $(HOST_EXPORTS) \
26457 (cd $(HOST_SUBDIR)/time && \
26458 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
26459 @endif time
26464 .PHONY: check-time maybe-check-time
26465 maybe-check-time:
26466 @if time
26467 maybe-check-time: check-time
26469 check-time:
26470 @: $(MAKE); $(unstage)
26471 @r=`${PWD_COMMAND}`; export r; \
26472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26473 $(HOST_EXPORTS) \
26474 (cd $(HOST_SUBDIR)/time && \
26475 $(MAKE) $(FLAGS_TO_PASS) check)
26477 @endif time
26479 .PHONY: install-time maybe-install-time
26480 maybe-install-time:
26481 @if time
26482 maybe-install-time: install-time
26484 install-time: installdirs
26485 @: $(MAKE); $(unstage)
26486 @r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(HOST_EXPORTS) \
26489 (cd $(HOST_SUBDIR)/time && \
26490 $(MAKE) $(FLAGS_TO_PASS) install)
26492 @endif time
26494 # Other targets (info, dvi, etc.)
26496 .PHONY: maybe-info-time info-time
26497 maybe-info-time:
26498 @if time
26499 maybe-info-time: info-time
26501 info-time: \
26502 configure-time
26503 @: $(MAKE); $(unstage)
26504 @[ -f ./time/Makefile ] || exit 0; \
26505 r=`${PWD_COMMAND}`; export r; \
26506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26507 $(HOST_EXPORTS) \
26508 for flag in $(EXTRA_HOST_FLAGS) ; do \
26509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26510 done; \
26511 echo "Doing info in time" ; \
26512 (cd $(HOST_SUBDIR)/time && \
26513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26515 "RANLIB=$${RANLIB}" \
26516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26517 info) \
26518 || exit 1
26520 @endif time
26522 .PHONY: maybe-dvi-time dvi-time
26523 maybe-dvi-time:
26524 @if time
26525 maybe-dvi-time: dvi-time
26527 dvi-time: \
26528 configure-time
26529 @: $(MAKE); $(unstage)
26530 @[ -f ./time/Makefile ] || exit 0; \
26531 r=`${PWD_COMMAND}`; export r; \
26532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26533 $(HOST_EXPORTS) \
26534 for flag in $(EXTRA_HOST_FLAGS) ; do \
26535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26536 done; \
26537 echo "Doing dvi in time" ; \
26538 (cd $(HOST_SUBDIR)/time && \
26539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26541 "RANLIB=$${RANLIB}" \
26542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26543 dvi) \
26544 || exit 1
26546 @endif time
26548 .PHONY: maybe-html-time html-time
26549 maybe-html-time:
26550 @if time
26551 maybe-html-time: html-time
26553 html-time: \
26554 configure-time
26555 @: $(MAKE); $(unstage)
26556 @[ -f ./time/Makefile ] || exit 0; \
26557 r=`${PWD_COMMAND}`; export r; \
26558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26559 $(HOST_EXPORTS) \
26560 for flag in $(EXTRA_HOST_FLAGS) ; do \
26561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26562 done; \
26563 echo "Doing html in time" ; \
26564 (cd $(HOST_SUBDIR)/time && \
26565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26567 "RANLIB=$${RANLIB}" \
26568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26569 html) \
26570 || exit 1
26572 @endif time
26574 .PHONY: maybe-TAGS-time TAGS-time
26575 maybe-TAGS-time:
26576 @if time
26577 maybe-TAGS-time: TAGS-time
26579 TAGS-time: \
26580 configure-time
26581 @: $(MAKE); $(unstage)
26582 @[ -f ./time/Makefile ] || exit 0; \
26583 r=`${PWD_COMMAND}`; export r; \
26584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26585 $(HOST_EXPORTS) \
26586 for flag in $(EXTRA_HOST_FLAGS) ; do \
26587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26588 done; \
26589 echo "Doing TAGS in time" ; \
26590 (cd $(HOST_SUBDIR)/time && \
26591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26593 "RANLIB=$${RANLIB}" \
26594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26595 TAGS) \
26596 || exit 1
26598 @endif time
26600 .PHONY: maybe-install-info-time install-info-time
26601 maybe-install-info-time:
26602 @if time
26603 maybe-install-info-time: install-info-time
26605 install-info-time: \
26606 configure-time \
26607 info-time
26608 @: $(MAKE); $(unstage)
26609 @[ -f ./time/Makefile ] || exit 0; \
26610 r=`${PWD_COMMAND}`; export r; \
26611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26612 $(HOST_EXPORTS) \
26613 for flag in $(EXTRA_HOST_FLAGS) ; do \
26614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26615 done; \
26616 echo "Doing install-info in time" ; \
26617 (cd $(HOST_SUBDIR)/time && \
26618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26620 "RANLIB=$${RANLIB}" \
26621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26622 install-info) \
26623 || exit 1
26625 @endif time
26627 .PHONY: maybe-install-html-time install-html-time
26628 maybe-install-html-time:
26629 @if time
26630 maybe-install-html-time: install-html-time
26632 install-html-time: \
26633 configure-time \
26634 html-time
26635 @: $(MAKE); $(unstage)
26636 @[ -f ./time/Makefile ] || exit 0; \
26637 r=`${PWD_COMMAND}`; export r; \
26638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26639 $(HOST_EXPORTS) \
26640 for flag in $(EXTRA_HOST_FLAGS) ; do \
26641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26642 done; \
26643 echo "Doing install-html in time" ; \
26644 (cd $(HOST_SUBDIR)/time && \
26645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26647 "RANLIB=$${RANLIB}" \
26648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26649 install-html) \
26650 || exit 1
26652 @endif time
26654 .PHONY: maybe-installcheck-time installcheck-time
26655 maybe-installcheck-time:
26656 @if time
26657 maybe-installcheck-time: installcheck-time
26659 installcheck-time: \
26660 configure-time
26661 @: $(MAKE); $(unstage)
26662 @[ -f ./time/Makefile ] || exit 0; \
26663 r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(HOST_EXPORTS) \
26666 for flag in $(EXTRA_HOST_FLAGS) ; do \
26667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26668 done; \
26669 echo "Doing installcheck in time" ; \
26670 (cd $(HOST_SUBDIR)/time && \
26671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26673 "RANLIB=$${RANLIB}" \
26674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26675 installcheck) \
26676 || exit 1
26678 @endif time
26680 .PHONY: maybe-mostlyclean-time mostlyclean-time
26681 maybe-mostlyclean-time:
26682 @if time
26683 maybe-mostlyclean-time: mostlyclean-time
26685 mostlyclean-time:
26686 @: $(MAKE); $(unstage)
26687 @[ -f ./time/Makefile ] || exit 0; \
26688 r=`${PWD_COMMAND}`; export r; \
26689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26690 $(HOST_EXPORTS) \
26691 for flag in $(EXTRA_HOST_FLAGS) ; do \
26692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26693 done; \
26694 echo "Doing mostlyclean in time" ; \
26695 (cd $(HOST_SUBDIR)/time && \
26696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26698 "RANLIB=$${RANLIB}" \
26699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26700 mostlyclean) \
26701 || exit 1
26703 @endif time
26705 .PHONY: maybe-clean-time clean-time
26706 maybe-clean-time:
26707 @if time
26708 maybe-clean-time: clean-time
26710 clean-time:
26711 @: $(MAKE); $(unstage)
26712 @[ -f ./time/Makefile ] || exit 0; \
26713 r=`${PWD_COMMAND}`; export r; \
26714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26715 $(HOST_EXPORTS) \
26716 for flag in $(EXTRA_HOST_FLAGS) ; do \
26717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26718 done; \
26719 echo "Doing clean in time" ; \
26720 (cd $(HOST_SUBDIR)/time && \
26721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26723 "RANLIB=$${RANLIB}" \
26724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26725 clean) \
26726 || exit 1
26728 @endif time
26730 .PHONY: maybe-distclean-time distclean-time
26731 maybe-distclean-time:
26732 @if time
26733 maybe-distclean-time: distclean-time
26735 distclean-time:
26736 @: $(MAKE); $(unstage)
26737 @[ -f ./time/Makefile ] || exit 0; \
26738 r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 $(HOST_EXPORTS) \
26741 for flag in $(EXTRA_HOST_FLAGS) ; do \
26742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26743 done; \
26744 echo "Doing distclean in time" ; \
26745 (cd $(HOST_SUBDIR)/time && \
26746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26748 "RANLIB=$${RANLIB}" \
26749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26750 distclean) \
26751 || exit 1
26753 @endif time
26755 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
26756 maybe-maintainer-clean-time:
26757 @if time
26758 maybe-maintainer-clean-time: maintainer-clean-time
26760 maintainer-clean-time:
26761 @: $(MAKE); $(unstage)
26762 @[ -f ./time/Makefile ] || exit 0; \
26763 r=`${PWD_COMMAND}`; export r; \
26764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26765 $(HOST_EXPORTS) \
26766 for flag in $(EXTRA_HOST_FLAGS) ; do \
26767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26768 done; \
26769 echo "Doing maintainer-clean in time" ; \
26770 (cd $(HOST_SUBDIR)/time && \
26771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26773 "RANLIB=$${RANLIB}" \
26774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26775 maintainer-clean) \
26776 || exit 1
26778 @endif time
26782 .PHONY: configure-uudecode maybe-configure-uudecode
26783 maybe-configure-uudecode:
26784 @if uudecode
26785 maybe-configure-uudecode: configure-uudecode
26786 configure-uudecode:
26787 @: $(MAKE); $(unstage)
26788 @r=`${PWD_COMMAND}`; export r; \
26789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26790 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
26791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
26792 $(HOST_EXPORTS) \
26793 echo Configuring in $(HOST_SUBDIR)/uudecode; \
26794 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
26795 case $(srcdir) in \
26796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26797 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
26798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26799 esac; \
26800 srcdiroption="--srcdir=$${topdir}/uudecode"; \
26801 libsrcdir="$$s/uudecode"; \
26802 $(SHELL) $${libsrcdir}/configure \
26803 $(HOST_CONFIGARGS) $${srcdiroption} \
26804 || exit 1
26805 @endif uudecode
26811 .PHONY: all-uudecode maybe-all-uudecode
26812 maybe-all-uudecode:
26813 @if uudecode
26814 TARGET-uudecode=all
26815 maybe-all-uudecode: all-uudecode
26816 all-uudecode: configure-uudecode
26817 @: $(MAKE); $(unstage)
26818 @r=`${PWD_COMMAND}`; export r; \
26819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26820 $(HOST_EXPORTS) \
26821 (cd $(HOST_SUBDIR)/uudecode && \
26822 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
26823 @endif uudecode
26828 .PHONY: check-uudecode maybe-check-uudecode
26829 maybe-check-uudecode:
26830 @if uudecode
26831 maybe-check-uudecode: check-uudecode
26833 check-uudecode:
26834 @: $(MAKE); $(unstage)
26835 @r=`${PWD_COMMAND}`; export r; \
26836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26837 $(HOST_EXPORTS) \
26838 (cd $(HOST_SUBDIR)/uudecode && \
26839 $(MAKE) $(FLAGS_TO_PASS) check)
26841 @endif uudecode
26843 .PHONY: install-uudecode maybe-install-uudecode
26844 maybe-install-uudecode:
26845 @if uudecode
26846 maybe-install-uudecode: install-uudecode
26848 install-uudecode: installdirs
26849 @: $(MAKE); $(unstage)
26850 @r=`${PWD_COMMAND}`; export r; \
26851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26852 $(HOST_EXPORTS) \
26853 (cd $(HOST_SUBDIR)/uudecode && \
26854 $(MAKE) $(FLAGS_TO_PASS) install)
26856 @endif uudecode
26858 # Other targets (info, dvi, etc.)
26860 .PHONY: maybe-info-uudecode info-uudecode
26861 maybe-info-uudecode:
26862 @if uudecode
26863 maybe-info-uudecode: info-uudecode
26865 info-uudecode: \
26866 configure-uudecode
26867 @: $(MAKE); $(unstage)
26868 @[ -f ./uudecode/Makefile ] || exit 0; \
26869 r=`${PWD_COMMAND}`; export r; \
26870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26871 $(HOST_EXPORTS) \
26872 for flag in $(EXTRA_HOST_FLAGS) ; do \
26873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26874 done; \
26875 echo "Doing info in uudecode" ; \
26876 (cd $(HOST_SUBDIR)/uudecode && \
26877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26879 "RANLIB=$${RANLIB}" \
26880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26881 info) \
26882 || exit 1
26884 @endif uudecode
26886 .PHONY: maybe-dvi-uudecode dvi-uudecode
26887 maybe-dvi-uudecode:
26888 @if uudecode
26889 maybe-dvi-uudecode: dvi-uudecode
26891 dvi-uudecode: \
26892 configure-uudecode
26893 @: $(MAKE); $(unstage)
26894 @[ -f ./uudecode/Makefile ] || exit 0; \
26895 r=`${PWD_COMMAND}`; export r; \
26896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26897 $(HOST_EXPORTS) \
26898 for flag in $(EXTRA_HOST_FLAGS) ; do \
26899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26900 done; \
26901 echo "Doing dvi in uudecode" ; \
26902 (cd $(HOST_SUBDIR)/uudecode && \
26903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26905 "RANLIB=$${RANLIB}" \
26906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26907 dvi) \
26908 || exit 1
26910 @endif uudecode
26912 .PHONY: maybe-html-uudecode html-uudecode
26913 maybe-html-uudecode:
26914 @if uudecode
26915 maybe-html-uudecode: html-uudecode
26917 html-uudecode: \
26918 configure-uudecode
26919 @: $(MAKE); $(unstage)
26920 @[ -f ./uudecode/Makefile ] || exit 0; \
26921 r=`${PWD_COMMAND}`; export r; \
26922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26923 $(HOST_EXPORTS) \
26924 for flag in $(EXTRA_HOST_FLAGS) ; do \
26925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26926 done; \
26927 echo "Doing html in uudecode" ; \
26928 (cd $(HOST_SUBDIR)/uudecode && \
26929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26931 "RANLIB=$${RANLIB}" \
26932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26933 html) \
26934 || exit 1
26936 @endif uudecode
26938 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
26939 maybe-TAGS-uudecode:
26940 @if uudecode
26941 maybe-TAGS-uudecode: TAGS-uudecode
26943 TAGS-uudecode: \
26944 configure-uudecode
26945 @: $(MAKE); $(unstage)
26946 @[ -f ./uudecode/Makefile ] || exit 0; \
26947 r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 $(HOST_EXPORTS) \
26950 for flag in $(EXTRA_HOST_FLAGS) ; do \
26951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26952 done; \
26953 echo "Doing TAGS in uudecode" ; \
26954 (cd $(HOST_SUBDIR)/uudecode && \
26955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26957 "RANLIB=$${RANLIB}" \
26958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26959 TAGS) \
26960 || exit 1
26962 @endif uudecode
26964 .PHONY: maybe-install-info-uudecode install-info-uudecode
26965 maybe-install-info-uudecode:
26966 @if uudecode
26967 maybe-install-info-uudecode: install-info-uudecode
26969 install-info-uudecode: \
26970 configure-uudecode \
26971 info-uudecode
26972 @: $(MAKE); $(unstage)
26973 @[ -f ./uudecode/Makefile ] || exit 0; \
26974 r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 for flag in $(EXTRA_HOST_FLAGS) ; do \
26978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26979 done; \
26980 echo "Doing install-info in uudecode" ; \
26981 (cd $(HOST_SUBDIR)/uudecode && \
26982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26984 "RANLIB=$${RANLIB}" \
26985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26986 install-info) \
26987 || exit 1
26989 @endif uudecode
26991 .PHONY: maybe-install-html-uudecode install-html-uudecode
26992 maybe-install-html-uudecode:
26993 @if uudecode
26994 maybe-install-html-uudecode: install-html-uudecode
26996 install-html-uudecode: \
26997 configure-uudecode \
26998 html-uudecode
26999 @: $(MAKE); $(unstage)
27000 @[ -f ./uudecode/Makefile ] || exit 0; \
27001 r=`${PWD_COMMAND}`; export r; \
27002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27003 $(HOST_EXPORTS) \
27004 for flag in $(EXTRA_HOST_FLAGS) ; do \
27005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27006 done; \
27007 echo "Doing install-html in uudecode" ; \
27008 (cd $(HOST_SUBDIR)/uudecode && \
27009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27011 "RANLIB=$${RANLIB}" \
27012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27013 install-html) \
27014 || exit 1
27016 @endif uudecode
27018 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
27019 maybe-installcheck-uudecode:
27020 @if uudecode
27021 maybe-installcheck-uudecode: installcheck-uudecode
27023 installcheck-uudecode: \
27024 configure-uudecode
27025 @: $(MAKE); $(unstage)
27026 @[ -f ./uudecode/Makefile ] || exit 0; \
27027 r=`${PWD_COMMAND}`; export r; \
27028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27029 $(HOST_EXPORTS) \
27030 for flag in $(EXTRA_HOST_FLAGS) ; do \
27031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27032 done; \
27033 echo "Doing installcheck in uudecode" ; \
27034 (cd $(HOST_SUBDIR)/uudecode && \
27035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27037 "RANLIB=$${RANLIB}" \
27038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27039 installcheck) \
27040 || exit 1
27042 @endif uudecode
27044 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
27045 maybe-mostlyclean-uudecode:
27046 @if uudecode
27047 maybe-mostlyclean-uudecode: mostlyclean-uudecode
27049 mostlyclean-uudecode:
27050 @: $(MAKE); $(unstage)
27051 @[ -f ./uudecode/Makefile ] || exit 0; \
27052 r=`${PWD_COMMAND}`; export r; \
27053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27054 $(HOST_EXPORTS) \
27055 for flag in $(EXTRA_HOST_FLAGS) ; do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 done; \
27058 echo "Doing mostlyclean in uudecode" ; \
27059 (cd $(HOST_SUBDIR)/uudecode && \
27060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27062 "RANLIB=$${RANLIB}" \
27063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27064 mostlyclean) \
27065 || exit 1
27067 @endif uudecode
27069 .PHONY: maybe-clean-uudecode clean-uudecode
27070 maybe-clean-uudecode:
27071 @if uudecode
27072 maybe-clean-uudecode: clean-uudecode
27074 clean-uudecode:
27075 @: $(MAKE); $(unstage)
27076 @[ -f ./uudecode/Makefile ] || exit 0; \
27077 r=`${PWD_COMMAND}`; export r; \
27078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27079 $(HOST_EXPORTS) \
27080 for flag in $(EXTRA_HOST_FLAGS) ; do \
27081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27082 done; \
27083 echo "Doing clean in uudecode" ; \
27084 (cd $(HOST_SUBDIR)/uudecode && \
27085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27087 "RANLIB=$${RANLIB}" \
27088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27089 clean) \
27090 || exit 1
27092 @endif uudecode
27094 .PHONY: maybe-distclean-uudecode distclean-uudecode
27095 maybe-distclean-uudecode:
27096 @if uudecode
27097 maybe-distclean-uudecode: distclean-uudecode
27099 distclean-uudecode:
27100 @: $(MAKE); $(unstage)
27101 @[ -f ./uudecode/Makefile ] || exit 0; \
27102 r=`${PWD_COMMAND}`; export r; \
27103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27104 $(HOST_EXPORTS) \
27105 for flag in $(EXTRA_HOST_FLAGS) ; do \
27106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27107 done; \
27108 echo "Doing distclean in uudecode" ; \
27109 (cd $(HOST_SUBDIR)/uudecode && \
27110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27112 "RANLIB=$${RANLIB}" \
27113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27114 distclean) \
27115 || exit 1
27117 @endif uudecode
27119 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
27120 maybe-maintainer-clean-uudecode:
27121 @if uudecode
27122 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
27124 maintainer-clean-uudecode:
27125 @: $(MAKE); $(unstage)
27126 @[ -f ./uudecode/Makefile ] || exit 0; \
27127 r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(HOST_EXPORTS) \
27130 for flag in $(EXTRA_HOST_FLAGS) ; do \
27131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27132 done; \
27133 echo "Doing maintainer-clean in uudecode" ; \
27134 (cd $(HOST_SUBDIR)/uudecode && \
27135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27137 "RANLIB=$${RANLIB}" \
27138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27139 maintainer-clean) \
27140 || exit 1
27142 @endif uudecode
27146 .PHONY: configure-wdiff maybe-configure-wdiff
27147 maybe-configure-wdiff:
27148 @if wdiff
27149 maybe-configure-wdiff: configure-wdiff
27150 configure-wdiff:
27151 @: $(MAKE); $(unstage)
27152 @r=`${PWD_COMMAND}`; export r; \
27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27154 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
27155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
27156 $(HOST_EXPORTS) \
27157 echo Configuring in $(HOST_SUBDIR)/wdiff; \
27158 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
27159 case $(srcdir) in \
27160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27161 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
27162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27163 esac; \
27164 srcdiroption="--srcdir=$${topdir}/wdiff"; \
27165 libsrcdir="$$s/wdiff"; \
27166 $(SHELL) $${libsrcdir}/configure \
27167 $(HOST_CONFIGARGS) $${srcdiroption} \
27168 || exit 1
27169 @endif wdiff
27175 .PHONY: all-wdiff maybe-all-wdiff
27176 maybe-all-wdiff:
27177 @if wdiff
27178 TARGET-wdiff=all
27179 maybe-all-wdiff: all-wdiff
27180 all-wdiff: configure-wdiff
27181 @: $(MAKE); $(unstage)
27182 @r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(HOST_EXPORTS) \
27185 (cd $(HOST_SUBDIR)/wdiff && \
27186 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
27187 @endif wdiff
27192 .PHONY: check-wdiff maybe-check-wdiff
27193 maybe-check-wdiff:
27194 @if wdiff
27195 maybe-check-wdiff: check-wdiff
27197 check-wdiff:
27198 @: $(MAKE); $(unstage)
27199 @r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(HOST_EXPORTS) \
27202 (cd $(HOST_SUBDIR)/wdiff && \
27203 $(MAKE) $(FLAGS_TO_PASS) check)
27205 @endif wdiff
27207 .PHONY: install-wdiff maybe-install-wdiff
27208 maybe-install-wdiff:
27209 @if wdiff
27210 maybe-install-wdiff: install-wdiff
27212 install-wdiff: installdirs
27213 @: $(MAKE); $(unstage)
27214 @r=`${PWD_COMMAND}`; export r; \
27215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27216 $(HOST_EXPORTS) \
27217 (cd $(HOST_SUBDIR)/wdiff && \
27218 $(MAKE) $(FLAGS_TO_PASS) install)
27220 @endif wdiff
27222 # Other targets (info, dvi, etc.)
27224 .PHONY: maybe-info-wdiff info-wdiff
27225 maybe-info-wdiff:
27226 @if wdiff
27227 maybe-info-wdiff: info-wdiff
27229 info-wdiff: \
27230 configure-wdiff
27231 @: $(MAKE); $(unstage)
27232 @[ -f ./wdiff/Makefile ] || exit 0; \
27233 r=`${PWD_COMMAND}`; export r; \
27234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27235 $(HOST_EXPORTS) \
27236 for flag in $(EXTRA_HOST_FLAGS) ; do \
27237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27238 done; \
27239 echo "Doing info in wdiff" ; \
27240 (cd $(HOST_SUBDIR)/wdiff && \
27241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27243 "RANLIB=$${RANLIB}" \
27244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27245 info) \
27246 || exit 1
27248 @endif wdiff
27250 .PHONY: maybe-dvi-wdiff dvi-wdiff
27251 maybe-dvi-wdiff:
27252 @if wdiff
27253 maybe-dvi-wdiff: dvi-wdiff
27255 dvi-wdiff: \
27256 configure-wdiff
27257 @: $(MAKE); $(unstage)
27258 @[ -f ./wdiff/Makefile ] || exit 0; \
27259 r=`${PWD_COMMAND}`; export r; \
27260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27261 $(HOST_EXPORTS) \
27262 for flag in $(EXTRA_HOST_FLAGS) ; do \
27263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27264 done; \
27265 echo "Doing dvi in wdiff" ; \
27266 (cd $(HOST_SUBDIR)/wdiff && \
27267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27269 "RANLIB=$${RANLIB}" \
27270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27271 dvi) \
27272 || exit 1
27274 @endif wdiff
27276 .PHONY: maybe-html-wdiff html-wdiff
27277 maybe-html-wdiff:
27278 @if wdiff
27279 maybe-html-wdiff: html-wdiff
27281 html-wdiff: \
27282 configure-wdiff
27283 @: $(MAKE); $(unstage)
27284 @[ -f ./wdiff/Makefile ] || exit 0; \
27285 r=`${PWD_COMMAND}`; export r; \
27286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27287 $(HOST_EXPORTS) \
27288 for flag in $(EXTRA_HOST_FLAGS) ; do \
27289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27290 done; \
27291 echo "Doing html in wdiff" ; \
27292 (cd $(HOST_SUBDIR)/wdiff && \
27293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27295 "RANLIB=$${RANLIB}" \
27296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27297 html) \
27298 || exit 1
27300 @endif wdiff
27302 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
27303 maybe-TAGS-wdiff:
27304 @if wdiff
27305 maybe-TAGS-wdiff: TAGS-wdiff
27307 TAGS-wdiff: \
27308 configure-wdiff
27309 @: $(MAKE); $(unstage)
27310 @[ -f ./wdiff/Makefile ] || exit 0; \
27311 r=`${PWD_COMMAND}`; export r; \
27312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27313 $(HOST_EXPORTS) \
27314 for flag in $(EXTRA_HOST_FLAGS) ; do \
27315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27316 done; \
27317 echo "Doing TAGS in wdiff" ; \
27318 (cd $(HOST_SUBDIR)/wdiff && \
27319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27321 "RANLIB=$${RANLIB}" \
27322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27323 TAGS) \
27324 || exit 1
27326 @endif wdiff
27328 .PHONY: maybe-install-info-wdiff install-info-wdiff
27329 maybe-install-info-wdiff:
27330 @if wdiff
27331 maybe-install-info-wdiff: install-info-wdiff
27333 install-info-wdiff: \
27334 configure-wdiff \
27335 info-wdiff
27336 @: $(MAKE); $(unstage)
27337 @[ -f ./wdiff/Makefile ] || exit 0; \
27338 r=`${PWD_COMMAND}`; export r; \
27339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27340 $(HOST_EXPORTS) \
27341 for flag in $(EXTRA_HOST_FLAGS) ; do \
27342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27343 done; \
27344 echo "Doing install-info in wdiff" ; \
27345 (cd $(HOST_SUBDIR)/wdiff && \
27346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27348 "RANLIB=$${RANLIB}" \
27349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27350 install-info) \
27351 || exit 1
27353 @endif wdiff
27355 .PHONY: maybe-install-html-wdiff install-html-wdiff
27356 maybe-install-html-wdiff:
27357 @if wdiff
27358 maybe-install-html-wdiff: install-html-wdiff
27360 install-html-wdiff: \
27361 configure-wdiff \
27362 html-wdiff
27363 @: $(MAKE); $(unstage)
27364 @[ -f ./wdiff/Makefile ] || exit 0; \
27365 r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(HOST_EXPORTS) \
27368 for flag in $(EXTRA_HOST_FLAGS) ; do \
27369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27370 done; \
27371 echo "Doing install-html in wdiff" ; \
27372 (cd $(HOST_SUBDIR)/wdiff && \
27373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27375 "RANLIB=$${RANLIB}" \
27376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27377 install-html) \
27378 || exit 1
27380 @endif wdiff
27382 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
27383 maybe-installcheck-wdiff:
27384 @if wdiff
27385 maybe-installcheck-wdiff: installcheck-wdiff
27387 installcheck-wdiff: \
27388 configure-wdiff
27389 @: $(MAKE); $(unstage)
27390 @[ -f ./wdiff/Makefile ] || exit 0; \
27391 r=`${PWD_COMMAND}`; export r; \
27392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27393 $(HOST_EXPORTS) \
27394 for flag in $(EXTRA_HOST_FLAGS) ; do \
27395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27396 done; \
27397 echo "Doing installcheck in wdiff" ; \
27398 (cd $(HOST_SUBDIR)/wdiff && \
27399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27401 "RANLIB=$${RANLIB}" \
27402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27403 installcheck) \
27404 || exit 1
27406 @endif wdiff
27408 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
27409 maybe-mostlyclean-wdiff:
27410 @if wdiff
27411 maybe-mostlyclean-wdiff: mostlyclean-wdiff
27413 mostlyclean-wdiff:
27414 @: $(MAKE); $(unstage)
27415 @[ -f ./wdiff/Makefile ] || exit 0; \
27416 r=`${PWD_COMMAND}`; export r; \
27417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27418 $(HOST_EXPORTS) \
27419 for flag in $(EXTRA_HOST_FLAGS) ; do \
27420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27421 done; \
27422 echo "Doing mostlyclean in wdiff" ; \
27423 (cd $(HOST_SUBDIR)/wdiff && \
27424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27426 "RANLIB=$${RANLIB}" \
27427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27428 mostlyclean) \
27429 || exit 1
27431 @endif wdiff
27433 .PHONY: maybe-clean-wdiff clean-wdiff
27434 maybe-clean-wdiff:
27435 @if wdiff
27436 maybe-clean-wdiff: clean-wdiff
27438 clean-wdiff:
27439 @: $(MAKE); $(unstage)
27440 @[ -f ./wdiff/Makefile ] || exit 0; \
27441 r=`${PWD_COMMAND}`; export r; \
27442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443 $(HOST_EXPORTS) \
27444 for flag in $(EXTRA_HOST_FLAGS) ; do \
27445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27446 done; \
27447 echo "Doing clean in wdiff" ; \
27448 (cd $(HOST_SUBDIR)/wdiff && \
27449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27451 "RANLIB=$${RANLIB}" \
27452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27453 clean) \
27454 || exit 1
27456 @endif wdiff
27458 .PHONY: maybe-distclean-wdiff distclean-wdiff
27459 maybe-distclean-wdiff:
27460 @if wdiff
27461 maybe-distclean-wdiff: distclean-wdiff
27463 distclean-wdiff:
27464 @: $(MAKE); $(unstage)
27465 @[ -f ./wdiff/Makefile ] || exit 0; \
27466 r=`${PWD_COMMAND}`; export r; \
27467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27468 $(HOST_EXPORTS) \
27469 for flag in $(EXTRA_HOST_FLAGS) ; do \
27470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27471 done; \
27472 echo "Doing distclean in wdiff" ; \
27473 (cd $(HOST_SUBDIR)/wdiff && \
27474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27476 "RANLIB=$${RANLIB}" \
27477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27478 distclean) \
27479 || exit 1
27481 @endif wdiff
27483 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
27484 maybe-maintainer-clean-wdiff:
27485 @if wdiff
27486 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
27488 maintainer-clean-wdiff:
27489 @: $(MAKE); $(unstage)
27490 @[ -f ./wdiff/Makefile ] || exit 0; \
27491 r=`${PWD_COMMAND}`; export r; \
27492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27493 $(HOST_EXPORTS) \
27494 for flag in $(EXTRA_HOST_FLAGS) ; do \
27495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27496 done; \
27497 echo "Doing maintainer-clean in wdiff" ; \
27498 (cd $(HOST_SUBDIR)/wdiff && \
27499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27501 "RANLIB=$${RANLIB}" \
27502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27503 maintainer-clean) \
27504 || exit 1
27506 @endif wdiff
27510 .PHONY: configure-zip maybe-configure-zip
27511 maybe-configure-zip:
27512 @if zip
27513 maybe-configure-zip: configure-zip
27514 configure-zip:
27515 @: $(MAKE); $(unstage)
27516 @r=`${PWD_COMMAND}`; export r; \
27517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27518 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
27519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
27520 $(HOST_EXPORTS) \
27521 echo Configuring in $(HOST_SUBDIR)/zip; \
27522 cd "$(HOST_SUBDIR)/zip" || exit 1; \
27523 case $(srcdir) in \
27524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27525 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
27526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27527 esac; \
27528 srcdiroption="--srcdir=$${topdir}/zip"; \
27529 libsrcdir="$$s/zip"; \
27530 $(SHELL) $${libsrcdir}/configure \
27531 $(HOST_CONFIGARGS) $${srcdiroption} \
27532 || exit 1
27533 @endif zip
27539 .PHONY: all-zip maybe-all-zip
27540 maybe-all-zip:
27541 @if zip
27542 TARGET-zip=all
27543 maybe-all-zip: all-zip
27544 all-zip: configure-zip
27545 @: $(MAKE); $(unstage)
27546 @r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(HOST_EXPORTS) \
27549 (cd $(HOST_SUBDIR)/zip && \
27550 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
27551 @endif zip
27556 .PHONY: check-zip maybe-check-zip
27557 maybe-check-zip:
27558 @if zip
27559 maybe-check-zip: check-zip
27561 # This module is only tested in a native toolchain.
27562 check-zip:
27563 @: $(MAKE); $(unstage)
27564 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
27572 @endif zip
27574 .PHONY: install-zip maybe-install-zip
27575 maybe-install-zip:
27576 @if zip
27577 maybe-install-zip: install-zip
27579 install-zip: installdirs
27580 @: $(MAKE); $(unstage)
27581 @r=`${PWD_COMMAND}`; export r; \
27582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27583 $(HOST_EXPORTS) \
27584 (cd $(HOST_SUBDIR)/zip && \
27585 $(MAKE) $(FLAGS_TO_PASS) install)
27587 @endif zip
27589 # Other targets (info, dvi, etc.)
27591 .PHONY: maybe-info-zip info-zip
27592 maybe-info-zip:
27593 @if zip
27594 maybe-info-zip: info-zip
27596 info-zip: \
27597 configure-zip
27598 @: $(MAKE); $(unstage)
27599 @[ -f ./zip/Makefile ] || exit 0; \
27600 r=`${PWD_COMMAND}`; export r; \
27601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27602 $(HOST_EXPORTS) \
27603 for flag in $(EXTRA_HOST_FLAGS) ; do \
27604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27605 done; \
27606 echo "Doing info in zip" ; \
27607 (cd $(HOST_SUBDIR)/zip && \
27608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27610 "RANLIB=$${RANLIB}" \
27611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27612 info) \
27613 || exit 1
27615 @endif zip
27617 .PHONY: maybe-dvi-zip dvi-zip
27618 maybe-dvi-zip:
27619 @if zip
27620 maybe-dvi-zip: dvi-zip
27622 dvi-zip: \
27623 configure-zip
27624 @: $(MAKE); $(unstage)
27625 @[ -f ./zip/Makefile ] || exit 0; \
27626 r=`${PWD_COMMAND}`; export r; \
27627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27628 $(HOST_EXPORTS) \
27629 for flag in $(EXTRA_HOST_FLAGS) ; do \
27630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27631 done; \
27632 echo "Doing dvi in zip" ; \
27633 (cd $(HOST_SUBDIR)/zip && \
27634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27636 "RANLIB=$${RANLIB}" \
27637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27638 dvi) \
27639 || exit 1
27641 @endif zip
27643 .PHONY: maybe-html-zip html-zip
27644 maybe-html-zip:
27645 @if zip
27646 maybe-html-zip: html-zip
27648 html-zip: \
27649 configure-zip
27650 @: $(MAKE); $(unstage)
27651 @[ -f ./zip/Makefile ] || exit 0; \
27652 r=`${PWD_COMMAND}`; export r; \
27653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27654 $(HOST_EXPORTS) \
27655 for flag in $(EXTRA_HOST_FLAGS) ; do \
27656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27657 done; \
27658 echo "Doing html in zip" ; \
27659 (cd $(HOST_SUBDIR)/zip && \
27660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27662 "RANLIB=$${RANLIB}" \
27663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27664 html) \
27665 || exit 1
27667 @endif zip
27669 .PHONY: maybe-TAGS-zip TAGS-zip
27670 maybe-TAGS-zip:
27671 @if zip
27672 maybe-TAGS-zip: TAGS-zip
27674 TAGS-zip: \
27675 configure-zip
27676 @: $(MAKE); $(unstage)
27677 @[ -f ./zip/Makefile ] || exit 0; \
27678 r=`${PWD_COMMAND}`; export r; \
27679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27680 $(HOST_EXPORTS) \
27681 for flag in $(EXTRA_HOST_FLAGS) ; do \
27682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27683 done; \
27684 echo "Doing TAGS in zip" ; \
27685 (cd $(HOST_SUBDIR)/zip && \
27686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27688 "RANLIB=$${RANLIB}" \
27689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27690 TAGS) \
27691 || exit 1
27693 @endif zip
27695 .PHONY: maybe-install-info-zip install-info-zip
27696 maybe-install-info-zip:
27697 @if zip
27698 maybe-install-info-zip: install-info-zip
27700 install-info-zip: \
27701 configure-zip \
27702 info-zip
27703 @: $(MAKE); $(unstage)
27704 @[ -f ./zip/Makefile ] || exit 0; \
27705 r=`${PWD_COMMAND}`; export r; \
27706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27707 $(HOST_EXPORTS) \
27708 for flag in $(EXTRA_HOST_FLAGS) ; do \
27709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27710 done; \
27711 echo "Doing install-info in zip" ; \
27712 (cd $(HOST_SUBDIR)/zip && \
27713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27715 "RANLIB=$${RANLIB}" \
27716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27717 install-info) \
27718 || exit 1
27720 @endif zip
27722 .PHONY: maybe-install-html-zip install-html-zip
27723 maybe-install-html-zip:
27724 @if zip
27725 maybe-install-html-zip: install-html-zip
27727 install-html-zip: \
27728 configure-zip \
27729 html-zip
27730 @: $(MAKE); $(unstage)
27731 @[ -f ./zip/Makefile ] || exit 0; \
27732 r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27734 $(HOST_EXPORTS) \
27735 for flag in $(EXTRA_HOST_FLAGS) ; do \
27736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27737 done; \
27738 echo "Doing install-html in zip" ; \
27739 (cd $(HOST_SUBDIR)/zip && \
27740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27742 "RANLIB=$${RANLIB}" \
27743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27744 install-html) \
27745 || exit 1
27747 @endif zip
27749 .PHONY: maybe-installcheck-zip installcheck-zip
27750 maybe-installcheck-zip:
27751 @if zip
27752 maybe-installcheck-zip: installcheck-zip
27754 installcheck-zip: \
27755 configure-zip
27756 @: $(MAKE); $(unstage)
27757 @[ -f ./zip/Makefile ] || exit 0; \
27758 r=`${PWD_COMMAND}`; export r; \
27759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27760 $(HOST_EXPORTS) \
27761 for flag in $(EXTRA_HOST_FLAGS) ; do \
27762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763 done; \
27764 echo "Doing installcheck in zip" ; \
27765 (cd $(HOST_SUBDIR)/zip && \
27766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27768 "RANLIB=$${RANLIB}" \
27769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27770 installcheck) \
27771 || exit 1
27773 @endif zip
27775 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
27776 maybe-mostlyclean-zip:
27777 @if zip
27778 maybe-mostlyclean-zip: mostlyclean-zip
27780 mostlyclean-zip:
27781 @: $(MAKE); $(unstage)
27782 @[ -f ./zip/Makefile ] || exit 0; \
27783 r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(HOST_EXPORTS) \
27786 for flag in $(EXTRA_HOST_FLAGS) ; do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 echo "Doing mostlyclean in zip" ; \
27790 (cd $(HOST_SUBDIR)/zip && \
27791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27793 "RANLIB=$${RANLIB}" \
27794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27795 mostlyclean) \
27796 || exit 1
27798 @endif zip
27800 .PHONY: maybe-clean-zip clean-zip
27801 maybe-clean-zip:
27802 @if zip
27803 maybe-clean-zip: clean-zip
27805 clean-zip:
27806 @: $(MAKE); $(unstage)
27807 @[ -f ./zip/Makefile ] || exit 0; \
27808 r=`${PWD_COMMAND}`; export r; \
27809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810 $(HOST_EXPORTS) \
27811 for flag in $(EXTRA_HOST_FLAGS) ; do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 done; \
27814 echo "Doing clean in zip" ; \
27815 (cd $(HOST_SUBDIR)/zip && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27820 clean) \
27821 || exit 1
27823 @endif zip
27825 .PHONY: maybe-distclean-zip distclean-zip
27826 maybe-distclean-zip:
27827 @if zip
27828 maybe-distclean-zip: distclean-zip
27830 distclean-zip:
27831 @: $(MAKE); $(unstage)
27832 @[ -f ./zip/Makefile ] || exit 0; \
27833 r=`${PWD_COMMAND}`; export r; \
27834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27835 $(HOST_EXPORTS) \
27836 for flag in $(EXTRA_HOST_FLAGS) ; do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838 done; \
27839 echo "Doing distclean in zip" ; \
27840 (cd $(HOST_SUBDIR)/zip && \
27841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27843 "RANLIB=$${RANLIB}" \
27844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27845 distclean) \
27846 || exit 1
27848 @endif zip
27850 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
27851 maybe-maintainer-clean-zip:
27852 @if zip
27853 maybe-maintainer-clean-zip: maintainer-clean-zip
27855 maintainer-clean-zip:
27856 @: $(MAKE); $(unstage)
27857 @[ -f ./zip/Makefile ] || exit 0; \
27858 r=`${PWD_COMMAND}`; export r; \
27859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 $(HOST_EXPORTS) \
27861 for flag in $(EXTRA_HOST_FLAGS) ; do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 done; \
27864 echo "Doing maintainer-clean in zip" ; \
27865 (cd $(HOST_SUBDIR)/zip && \
27866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27868 "RANLIB=$${RANLIB}" \
27869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27870 maintainer-clean) \
27871 || exit 1
27873 @endif zip
27877 .PHONY: configure-zlib maybe-configure-zlib
27878 maybe-configure-zlib:
27879 @if zlib
27880 maybe-configure-zlib: configure-zlib
27881 configure-zlib:
27882 @endif zlib
27883 @if zlib-bootstrap
27884 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
27885 @endif zlib-bootstrap
27886 @if zlib
27887 @r=`${PWD_COMMAND}`; export r; \
27888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27889 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27891 $(HOST_EXPORTS) \
27892 echo Configuring in $(HOST_SUBDIR)/zlib; \
27893 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27894 case $(srcdir) in \
27895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27896 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27898 esac; \
27899 srcdiroption="--srcdir=$${topdir}/zlib"; \
27900 libsrcdir="$$s/zlib"; \
27901 $(SHELL) $${libsrcdir}/configure \
27902 $(HOST_CONFIGARGS) $${srcdiroption} \
27903 || exit 1
27904 @endif zlib
27908 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27909 maybe-configure-stage1-zlib:
27910 @if zlib-bootstrap
27911 maybe-configure-stage1-zlib: configure-stage1-zlib
27912 configure-stage1-zlib:
27913 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27915 @r=`${PWD_COMMAND}`; export r; \
27916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27918 $(HOST_EXPORTS) \
27919 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
27920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27921 cd $(HOST_SUBDIR)/zlib || exit 1; \
27922 case $(srcdir) in \
27923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27924 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27926 esac; \
27927 srcdiroption="--srcdir=$${topdir}/zlib"; \
27928 libsrcdir="$$s/zlib"; \
27929 $(SHELL) $${libsrcdir}/configure \
27930 $(HOST_CONFIGARGS) $${srcdiroption} \
27931 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
27932 @endif zlib-bootstrap
27934 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27935 maybe-configure-stage2-zlib:
27936 @if zlib-bootstrap
27937 maybe-configure-stage2-zlib: configure-stage2-zlib
27938 configure-stage2-zlib:
27939 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27941 @r=`${PWD_COMMAND}`; export r; \
27942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27943 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27944 $(HOST_EXPORTS) \
27945 $(POSTSTAGE1_HOST_EXPORTS) \
27946 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
27947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27948 cd $(HOST_SUBDIR)/zlib || exit 1; \
27949 case $(srcdir) in \
27950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27951 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27953 esac; \
27954 srcdiroption="--srcdir=$${topdir}/zlib"; \
27955 libsrcdir="$$s/zlib"; \
27956 $(SHELL) $${libsrcdir}/configure \
27957 $(HOST_CONFIGARGS) $${srcdiroption} \
27958 @stage2_werror_flag@
27959 @endif zlib-bootstrap
27961 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27962 maybe-configure-stage3-zlib:
27963 @if zlib-bootstrap
27964 maybe-configure-stage3-zlib: configure-stage3-zlib
27965 configure-stage3-zlib:
27966 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27968 @r=`${PWD_COMMAND}`; export r; \
27969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27971 $(HOST_EXPORTS) \
27972 $(POSTSTAGE1_HOST_EXPORTS) \
27973 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
27974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27975 cd $(HOST_SUBDIR)/zlib || exit 1; \
27976 case $(srcdir) in \
27977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27978 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27980 esac; \
27981 srcdiroption="--srcdir=$${topdir}/zlib"; \
27982 libsrcdir="$$s/zlib"; \
27983 $(SHELL) $${libsrcdir}/configure \
27984 $(HOST_CONFIGARGS) $${srcdiroption} \
27985 @stage2_werror_flag@
27986 @endif zlib-bootstrap
27988 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
27989 maybe-configure-stage4-zlib:
27990 @if zlib-bootstrap
27991 maybe-configure-stage4-zlib: configure-stage4-zlib
27992 configure-stage4-zlib:
27993 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27995 @r=`${PWD_COMMAND}`; export r; \
27996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27997 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27998 $(HOST_EXPORTS) \
27999 $(POSTSTAGE1_HOST_EXPORTS) \
28000 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
28001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28002 cd $(HOST_SUBDIR)/zlib || exit 1; \
28003 case $(srcdir) in \
28004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28005 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28007 esac; \
28008 srcdiroption="--srcdir=$${topdir}/zlib"; \
28009 libsrcdir="$$s/zlib"; \
28010 $(SHELL) $${libsrcdir}/configure \
28011 $(HOST_CONFIGARGS) $${srcdiroption} \
28012 @stage2_werror_flag@
28013 @endif zlib-bootstrap
28015 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
28016 maybe-configure-stageprofile-zlib:
28017 @if zlib-bootstrap
28018 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
28019 configure-stageprofile-zlib:
28020 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28022 @r=`${PWD_COMMAND}`; export r; \
28023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28025 $(HOST_EXPORTS) \
28026 $(POSTSTAGE1_HOST_EXPORTS) \
28027 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
28028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28029 cd $(HOST_SUBDIR)/zlib || exit 1; \
28030 case $(srcdir) in \
28031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28032 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28034 esac; \
28035 srcdiroption="--srcdir=$${topdir}/zlib"; \
28036 libsrcdir="$$s/zlib"; \
28037 $(SHELL) $${libsrcdir}/configure \
28038 $(HOST_CONFIGARGS) $${srcdiroption} \
28039 @stage2_werror_flag@
28040 @endif zlib-bootstrap
28042 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
28043 maybe-configure-stagefeedback-zlib:
28044 @if zlib-bootstrap
28045 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
28046 configure-stagefeedback-zlib:
28047 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28049 @r=`${PWD_COMMAND}`; export r; \
28050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28051 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28052 $(HOST_EXPORTS) \
28053 $(POSTSTAGE1_HOST_EXPORTS) \
28054 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
28055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28056 cd $(HOST_SUBDIR)/zlib || exit 1; \
28057 case $(srcdir) in \
28058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28059 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28061 esac; \
28062 srcdiroption="--srcdir=$${topdir}/zlib"; \
28063 libsrcdir="$$s/zlib"; \
28064 $(SHELL) $${libsrcdir}/configure \
28065 $(HOST_CONFIGARGS) $${srcdiroption} \
28066 @stage2_werror_flag@
28067 @endif zlib-bootstrap
28073 .PHONY: all-zlib maybe-all-zlib
28074 maybe-all-zlib:
28075 @if zlib
28076 TARGET-zlib=all
28077 maybe-all-zlib: all-zlib
28078 all-zlib: configure-zlib
28079 @endif zlib
28080 @if zlib-bootstrap
28081 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
28082 @endif zlib-bootstrap
28083 @if zlib
28084 @r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 $(HOST_EXPORTS) \
28087 (cd $(HOST_SUBDIR)/zlib && \
28088 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
28089 @endif zlib
28093 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28094 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28095 maybe-all-stage1-zlib:
28096 maybe-clean-stage1-zlib:
28097 @if zlib-bootstrap
28098 maybe-all-stage1-zlib: all-stage1-zlib
28099 all-stage1: all-stage1-zlib
28100 TARGET-stage1-zlib = $(TARGET-zlib)
28101 all-stage1-zlib: configure-stage1-zlib
28102 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
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) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
28108 $(TARGET-stage1-zlib)
28110 maybe-clean-stage1-zlib: clean-stage1-zlib
28111 clean-stage1: clean-stage1-zlib
28112 clean-stage1-zlib:
28113 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
28114 || exit 0 ; \
28115 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
28116 cd $(HOST_SUBDIR)/zlib && \
28117 $(MAKE) $(FLAGS_TO_PASS) \
28118 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
28119 @endif zlib-bootstrap
28122 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
28123 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
28124 maybe-all-stage2-zlib:
28125 maybe-clean-stage2-zlib:
28126 @if zlib-bootstrap
28127 maybe-all-stage2-zlib: all-stage2-zlib
28128 all-stage2: all-stage2-zlib
28129 TARGET-stage2-zlib = $(TARGET-zlib)
28130 all-stage2-zlib: configure-stage2-zlib
28131 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28132 @r=`${PWD_COMMAND}`; export r; \
28133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28134 $(HOST_EXPORTS) \
28135 $(POSTSTAGE1_HOST_EXPORTS) \
28136 cd $(HOST_SUBDIR)/zlib && \
28137 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28138 $(TARGET-stage2-zlib)
28140 maybe-clean-stage2-zlib: clean-stage2-zlib
28141 clean-stage2: clean-stage2-zlib
28142 clean-stage2-zlib:
28143 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
28144 || exit 0 ; \
28145 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
28146 cd $(HOST_SUBDIR)/zlib && \
28147 $(MAKE) $(FLAGS_TO_PASS) \
28148 $(POSTSTAGE1_FLAGS_TO_PASS) \
28149 clean
28150 @endif zlib-bootstrap
28153 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
28154 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
28155 maybe-all-stage3-zlib:
28156 maybe-clean-stage3-zlib:
28157 @if zlib-bootstrap
28158 maybe-all-stage3-zlib: all-stage3-zlib
28159 all-stage3: all-stage3-zlib
28160 TARGET-stage3-zlib = $(TARGET-zlib)
28161 all-stage3-zlib: configure-stage3-zlib
28162 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28163 @r=`${PWD_COMMAND}`; export r; \
28164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28165 $(HOST_EXPORTS) \
28166 $(POSTSTAGE1_HOST_EXPORTS) \
28167 cd $(HOST_SUBDIR)/zlib && \
28168 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28169 $(TARGET-stage3-zlib)
28171 maybe-clean-stage3-zlib: clean-stage3-zlib
28172 clean-stage3: clean-stage3-zlib
28173 clean-stage3-zlib:
28174 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
28175 || exit 0 ; \
28176 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
28177 cd $(HOST_SUBDIR)/zlib && \
28178 $(MAKE) $(FLAGS_TO_PASS) \
28179 $(POSTSTAGE1_FLAGS_TO_PASS) \
28180 clean
28181 @endif zlib-bootstrap
28184 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
28185 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
28186 maybe-all-stage4-zlib:
28187 maybe-clean-stage4-zlib:
28188 @if zlib-bootstrap
28189 maybe-all-stage4-zlib: all-stage4-zlib
28190 all-stage4: all-stage4-zlib
28191 TARGET-stage4-zlib = $(TARGET-zlib)
28192 all-stage4-zlib: configure-stage4-zlib
28193 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28194 @r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 $(HOST_EXPORTS) \
28197 $(POSTSTAGE1_HOST_EXPORTS) \
28198 cd $(HOST_SUBDIR)/zlib && \
28199 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28200 $(TARGET-stage4-zlib)
28202 maybe-clean-stage4-zlib: clean-stage4-zlib
28203 clean-stage4: clean-stage4-zlib
28204 clean-stage4-zlib:
28205 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
28206 || exit 0 ; \
28207 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
28208 cd $(HOST_SUBDIR)/zlib && \
28209 $(MAKE) $(FLAGS_TO_PASS) \
28210 $(POSTSTAGE1_FLAGS_TO_PASS) \
28211 clean
28212 @endif zlib-bootstrap
28215 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
28216 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
28217 maybe-all-stageprofile-zlib:
28218 maybe-clean-stageprofile-zlib:
28219 @if zlib-bootstrap
28220 maybe-all-stageprofile-zlib: all-stageprofile-zlib
28221 all-stageprofile: all-stageprofile-zlib
28222 TARGET-stageprofile-zlib = $(TARGET-zlib)
28223 all-stageprofile-zlib: configure-stageprofile-zlib
28224 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28225 @r=`${PWD_COMMAND}`; export r; \
28226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28227 $(HOST_EXPORTS) \
28228 $(POSTSTAGE1_HOST_EXPORTS) \
28229 cd $(HOST_SUBDIR)/zlib && \
28230 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
28231 $(TARGET-stageprofile-zlib)
28233 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
28234 clean-stageprofile: clean-stageprofile-zlib
28235 clean-stageprofile-zlib:
28236 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
28237 || exit 0 ; \
28238 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
28239 cd $(HOST_SUBDIR)/zlib && \
28240 $(MAKE) $(FLAGS_TO_PASS) \
28241 $(POSTSTAGE1_FLAGS_TO_PASS) \
28242 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
28243 @endif zlib-bootstrap
28246 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
28247 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
28248 maybe-all-stagefeedback-zlib:
28249 maybe-clean-stagefeedback-zlib:
28250 @if zlib-bootstrap
28251 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
28252 all-stagefeedback: all-stagefeedback-zlib
28253 TARGET-stagefeedback-zlib = $(TARGET-zlib)
28254 all-stagefeedback-zlib: configure-stagefeedback-zlib
28255 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28256 @r=`${PWD_COMMAND}`; export r; \
28257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28258 $(HOST_EXPORTS) \
28259 $(POSTSTAGE1_HOST_EXPORTS) \
28260 cd $(HOST_SUBDIR)/zlib && \
28261 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
28262 $(TARGET-stagefeedback-zlib)
28264 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
28265 clean-stagefeedback: clean-stagefeedback-zlib
28266 clean-stagefeedback-zlib:
28267 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
28268 || exit 0 ; \
28269 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
28270 cd $(HOST_SUBDIR)/zlib && \
28271 $(MAKE) $(FLAGS_TO_PASS) \
28272 $(POSTSTAGE1_FLAGS_TO_PASS) \
28273 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
28274 @endif zlib-bootstrap
28280 .PHONY: check-zlib maybe-check-zlib
28281 maybe-check-zlib:
28282 @if zlib
28283 maybe-check-zlib: check-zlib
28285 check-zlib:
28287 @endif zlib
28289 .PHONY: install-zlib maybe-install-zlib
28290 maybe-install-zlib:
28291 @if zlib
28292 maybe-install-zlib: install-zlib
28294 install-zlib:
28296 @endif zlib
28298 # Other targets (info, dvi, etc.)
28300 .PHONY: maybe-info-zlib info-zlib
28301 maybe-info-zlib:
28302 @if zlib
28303 maybe-info-zlib: info-zlib
28305 info-zlib: \
28306 configure-zlib
28307 @[ -f ./zlib/Makefile ] || exit 0; \
28308 r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(HOST_EXPORTS) \
28311 for flag in $(EXTRA_HOST_FLAGS) ; do \
28312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28313 done; \
28314 echo "Doing info in zlib" ; \
28315 (cd $(HOST_SUBDIR)/zlib && \
28316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28318 "RANLIB=$${RANLIB}" \
28319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28320 info) \
28321 || exit 1
28323 @endif zlib
28325 .PHONY: maybe-dvi-zlib dvi-zlib
28326 maybe-dvi-zlib:
28327 @if zlib
28328 maybe-dvi-zlib: dvi-zlib
28330 dvi-zlib: \
28331 configure-zlib
28332 @[ -f ./zlib/Makefile ] || exit 0; \
28333 r=`${PWD_COMMAND}`; export r; \
28334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28335 $(HOST_EXPORTS) \
28336 for flag in $(EXTRA_HOST_FLAGS) ; do \
28337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28338 done; \
28339 echo "Doing dvi in zlib" ; \
28340 (cd $(HOST_SUBDIR)/zlib && \
28341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28343 "RANLIB=$${RANLIB}" \
28344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28345 dvi) \
28346 || exit 1
28348 @endif zlib
28350 .PHONY: maybe-html-zlib html-zlib
28351 maybe-html-zlib:
28352 @if zlib
28353 maybe-html-zlib: html-zlib
28355 html-zlib: \
28356 configure-zlib
28357 @[ -f ./zlib/Makefile ] || exit 0; \
28358 r=`${PWD_COMMAND}`; export r; \
28359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28360 $(HOST_EXPORTS) \
28361 for flag in $(EXTRA_HOST_FLAGS) ; do \
28362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28363 done; \
28364 echo "Doing html in zlib" ; \
28365 (cd $(HOST_SUBDIR)/zlib && \
28366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28368 "RANLIB=$${RANLIB}" \
28369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28370 html) \
28371 || exit 1
28373 @endif zlib
28375 .PHONY: maybe-TAGS-zlib TAGS-zlib
28376 maybe-TAGS-zlib:
28377 @if zlib
28378 maybe-TAGS-zlib: TAGS-zlib
28380 TAGS-zlib: \
28381 configure-zlib
28382 @[ -f ./zlib/Makefile ] || exit 0; \
28383 r=`${PWD_COMMAND}`; export r; \
28384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28385 $(HOST_EXPORTS) \
28386 for flag in $(EXTRA_HOST_FLAGS) ; do \
28387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28388 done; \
28389 echo "Doing TAGS in zlib" ; \
28390 (cd $(HOST_SUBDIR)/zlib && \
28391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28393 "RANLIB=$${RANLIB}" \
28394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28395 TAGS) \
28396 || exit 1
28398 @endif zlib
28400 .PHONY: maybe-install-info-zlib install-info-zlib
28401 maybe-install-info-zlib:
28402 @if zlib
28403 maybe-install-info-zlib: install-info-zlib
28405 install-info-zlib: \
28406 configure-zlib \
28407 info-zlib
28408 @[ -f ./zlib/Makefile ] || exit 0; \
28409 r=`${PWD_COMMAND}`; export r; \
28410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28411 $(HOST_EXPORTS) \
28412 for flag in $(EXTRA_HOST_FLAGS) ; do \
28413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28414 done; \
28415 echo "Doing install-info in zlib" ; \
28416 (cd $(HOST_SUBDIR)/zlib && \
28417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28419 "RANLIB=$${RANLIB}" \
28420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28421 install-info) \
28422 || exit 1
28424 @endif zlib
28426 .PHONY: maybe-install-html-zlib install-html-zlib
28427 maybe-install-html-zlib:
28428 @if zlib
28429 maybe-install-html-zlib: install-html-zlib
28431 install-html-zlib: \
28432 configure-zlib \
28433 html-zlib
28434 @[ -f ./zlib/Makefile ] || exit 0; \
28435 r=`${PWD_COMMAND}`; export r; \
28436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(HOST_EXPORTS) \
28438 for flag in $(EXTRA_HOST_FLAGS) ; do \
28439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28440 done; \
28441 echo "Doing install-html in zlib" ; \
28442 (cd $(HOST_SUBDIR)/zlib && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28447 install-html) \
28448 || exit 1
28450 @endif zlib
28452 .PHONY: maybe-installcheck-zlib installcheck-zlib
28453 maybe-installcheck-zlib:
28454 @if zlib
28455 maybe-installcheck-zlib: installcheck-zlib
28457 installcheck-zlib: \
28458 configure-zlib
28459 @[ -f ./zlib/Makefile ] || exit 0; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(HOST_EXPORTS) \
28463 for flag in $(EXTRA_HOST_FLAGS) ; do \
28464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28465 done; \
28466 echo "Doing installcheck in zlib" ; \
28467 (cd $(HOST_SUBDIR)/zlib && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28472 installcheck) \
28473 || exit 1
28475 @endif zlib
28477 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28478 maybe-mostlyclean-zlib:
28479 @if zlib
28480 maybe-mostlyclean-zlib: mostlyclean-zlib
28482 mostlyclean-zlib:
28483 @[ -f ./zlib/Makefile ] || exit 0; \
28484 r=`${PWD_COMMAND}`; export r; \
28485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28486 $(HOST_EXPORTS) \
28487 for flag in $(EXTRA_HOST_FLAGS) ; do \
28488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28489 done; \
28490 echo "Doing mostlyclean in zlib" ; \
28491 (cd $(HOST_SUBDIR)/zlib && \
28492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28494 "RANLIB=$${RANLIB}" \
28495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28496 mostlyclean) \
28497 || exit 1
28499 @endif zlib
28501 .PHONY: maybe-clean-zlib clean-zlib
28502 maybe-clean-zlib:
28503 @if zlib
28504 maybe-clean-zlib: clean-zlib
28506 clean-zlib:
28507 @[ -f ./zlib/Makefile ] || exit 0; \
28508 r=`${PWD_COMMAND}`; export r; \
28509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28510 $(HOST_EXPORTS) \
28511 for flag in $(EXTRA_HOST_FLAGS) ; do \
28512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28513 done; \
28514 echo "Doing clean in zlib" ; \
28515 (cd $(HOST_SUBDIR)/zlib && \
28516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28518 "RANLIB=$${RANLIB}" \
28519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28520 clean) \
28521 || exit 1
28523 @endif zlib
28525 .PHONY: maybe-distclean-zlib distclean-zlib
28526 maybe-distclean-zlib:
28527 @if zlib
28528 maybe-distclean-zlib: distclean-zlib
28530 distclean-zlib:
28531 @[ -f ./zlib/Makefile ] || exit 0; \
28532 r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28534 $(HOST_EXPORTS) \
28535 for flag in $(EXTRA_HOST_FLAGS) ; do \
28536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28537 done; \
28538 echo "Doing distclean in zlib" ; \
28539 (cd $(HOST_SUBDIR)/zlib && \
28540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28542 "RANLIB=$${RANLIB}" \
28543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28544 distclean) \
28545 || exit 1
28547 @endif zlib
28549 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28550 maybe-maintainer-clean-zlib:
28551 @if zlib
28552 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28554 maintainer-clean-zlib:
28555 @[ -f ./zlib/Makefile ] || exit 0; \
28556 r=`${PWD_COMMAND}`; export r; \
28557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28558 $(HOST_EXPORTS) \
28559 for flag in $(EXTRA_HOST_FLAGS) ; do \
28560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28561 done; \
28562 echo "Doing maintainer-clean in zlib" ; \
28563 (cd $(HOST_SUBDIR)/zlib && \
28564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28566 "RANLIB=$${RANLIB}" \
28567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28568 maintainer-clean) \
28569 || exit 1
28571 @endif zlib
28575 .PHONY: configure-gdb maybe-configure-gdb
28576 maybe-configure-gdb:
28577 @if gdb
28578 maybe-configure-gdb: configure-gdb
28579 configure-gdb:
28580 @: $(MAKE); $(unstage)
28581 @r=`${PWD_COMMAND}`; export r; \
28582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28583 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28585 $(HOST_EXPORTS) \
28586 echo Configuring in $(HOST_SUBDIR)/gdb; \
28587 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28588 case $(srcdir) in \
28589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28590 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28592 esac; \
28593 srcdiroption="--srcdir=$${topdir}/gdb"; \
28594 libsrcdir="$$s/gdb"; \
28595 $(SHELL) $${libsrcdir}/configure \
28596 $(HOST_CONFIGARGS) $${srcdiroption} \
28597 || exit 1
28598 @endif gdb
28604 .PHONY: all-gdb maybe-all-gdb
28605 maybe-all-gdb:
28606 @if gdb
28607 TARGET-gdb=all
28608 maybe-all-gdb: all-gdb
28609 all-gdb: configure-gdb
28610 @: $(MAKE); $(unstage)
28611 @r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 (cd $(HOST_SUBDIR)/gdb && \
28615 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
28616 @endif gdb
28621 .PHONY: check-gdb maybe-check-gdb
28622 maybe-check-gdb:
28623 @if gdb
28624 maybe-check-gdb: check-gdb
28626 check-gdb:
28627 @: $(MAKE); $(unstage)
28628 @r=`${PWD_COMMAND}`; export r; \
28629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28630 $(HOST_EXPORTS) \
28631 (cd $(HOST_SUBDIR)/gdb && \
28632 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
28634 @endif gdb
28636 .PHONY: install-gdb maybe-install-gdb
28637 maybe-install-gdb:
28638 @if gdb
28639 maybe-install-gdb: install-gdb
28641 install-gdb: installdirs
28642 @: $(MAKE); $(unstage)
28643 @r=`${PWD_COMMAND}`; export r; \
28644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28645 $(HOST_EXPORTS) \
28646 (cd $(HOST_SUBDIR)/gdb && \
28647 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
28649 @endif gdb
28651 # Other targets (info, dvi, etc.)
28653 .PHONY: maybe-info-gdb info-gdb
28654 maybe-info-gdb:
28655 @if gdb
28656 maybe-info-gdb: info-gdb
28658 info-gdb: \
28659 configure-gdb
28660 @: $(MAKE); $(unstage)
28661 @[ -f ./gdb/Makefile ] || exit 0; \
28662 r=`${PWD_COMMAND}`; export r; \
28663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28664 $(HOST_EXPORTS) \
28665 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28667 done; \
28668 echo "Doing info in gdb" ; \
28669 (cd $(HOST_SUBDIR)/gdb && \
28670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28672 "RANLIB=$${RANLIB}" \
28673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28674 info) \
28675 || exit 1
28677 @endif gdb
28679 .PHONY: maybe-dvi-gdb dvi-gdb
28680 maybe-dvi-gdb:
28681 @if gdb
28682 maybe-dvi-gdb: dvi-gdb
28684 dvi-gdb: \
28685 configure-gdb
28686 @: $(MAKE); $(unstage)
28687 @[ -f ./gdb/Makefile ] || exit 0; \
28688 r=`${PWD_COMMAND}`; export r; \
28689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28690 $(HOST_EXPORTS) \
28691 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28693 done; \
28694 echo "Doing dvi in gdb" ; \
28695 (cd $(HOST_SUBDIR)/gdb && \
28696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28698 "RANLIB=$${RANLIB}" \
28699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28700 dvi) \
28701 || exit 1
28703 @endif gdb
28705 .PHONY: maybe-html-gdb html-gdb
28706 maybe-html-gdb:
28707 @if gdb
28708 maybe-html-gdb: html-gdb
28710 html-gdb: \
28711 configure-gdb
28712 @: $(MAKE); $(unstage)
28713 @[ -f ./gdb/Makefile ] || exit 0; \
28714 r=`${PWD_COMMAND}`; export r; \
28715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28716 $(HOST_EXPORTS) \
28717 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28719 done; \
28720 echo "Doing html in gdb" ; \
28721 (cd $(HOST_SUBDIR)/gdb && \
28722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28724 "RANLIB=$${RANLIB}" \
28725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28726 html) \
28727 || exit 1
28729 @endif gdb
28731 .PHONY: maybe-TAGS-gdb TAGS-gdb
28732 maybe-TAGS-gdb:
28733 @if gdb
28734 maybe-TAGS-gdb: TAGS-gdb
28736 TAGS-gdb: \
28737 configure-gdb
28738 @: $(MAKE); $(unstage)
28739 @[ -f ./gdb/Makefile ] || exit 0; \
28740 r=`${PWD_COMMAND}`; export r; \
28741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28742 $(HOST_EXPORTS) \
28743 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28745 done; \
28746 echo "Doing TAGS in gdb" ; \
28747 (cd $(HOST_SUBDIR)/gdb && \
28748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28750 "RANLIB=$${RANLIB}" \
28751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28752 TAGS) \
28753 || exit 1
28755 @endif gdb
28757 .PHONY: maybe-install-info-gdb install-info-gdb
28758 maybe-install-info-gdb:
28759 @if gdb
28760 maybe-install-info-gdb: install-info-gdb
28762 install-info-gdb: \
28763 configure-gdb \
28764 info-gdb
28765 @: $(MAKE); $(unstage)
28766 @[ -f ./gdb/Makefile ] || exit 0; \
28767 r=`${PWD_COMMAND}`; export r; \
28768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28769 $(HOST_EXPORTS) \
28770 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28772 done; \
28773 echo "Doing install-info in gdb" ; \
28774 (cd $(HOST_SUBDIR)/gdb && \
28775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28777 "RANLIB=$${RANLIB}" \
28778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28779 install-info) \
28780 || exit 1
28782 @endif gdb
28784 .PHONY: maybe-install-html-gdb install-html-gdb
28785 maybe-install-html-gdb:
28786 @if gdb
28787 maybe-install-html-gdb: install-html-gdb
28789 install-html-gdb: \
28790 configure-gdb \
28791 html-gdb
28792 @: $(MAKE); $(unstage)
28793 @[ -f ./gdb/Makefile ] || exit 0; \
28794 r=`${PWD_COMMAND}`; export r; \
28795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28796 $(HOST_EXPORTS) \
28797 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28799 done; \
28800 echo "Doing install-html in gdb" ; \
28801 (cd $(HOST_SUBDIR)/gdb && \
28802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28804 "RANLIB=$${RANLIB}" \
28805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28806 install-html) \
28807 || exit 1
28809 @endif gdb
28811 .PHONY: maybe-installcheck-gdb installcheck-gdb
28812 maybe-installcheck-gdb:
28813 @if gdb
28814 maybe-installcheck-gdb: installcheck-gdb
28816 installcheck-gdb: \
28817 configure-gdb
28818 @: $(MAKE); $(unstage)
28819 @[ -f ./gdb/Makefile ] || exit 0; \
28820 r=`${PWD_COMMAND}`; export r; \
28821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28822 $(HOST_EXPORTS) \
28823 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28825 done; \
28826 echo "Doing installcheck in gdb" ; \
28827 (cd $(HOST_SUBDIR)/gdb && \
28828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28830 "RANLIB=$${RANLIB}" \
28831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28832 installcheck) \
28833 || exit 1
28835 @endif gdb
28837 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28838 maybe-mostlyclean-gdb:
28839 @if gdb
28840 maybe-mostlyclean-gdb: mostlyclean-gdb
28842 mostlyclean-gdb:
28843 @: $(MAKE); $(unstage)
28844 @[ -f ./gdb/Makefile ] || exit 0; \
28845 r=`${PWD_COMMAND}`; export r; \
28846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28847 $(HOST_EXPORTS) \
28848 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28850 done; \
28851 echo "Doing mostlyclean in gdb" ; \
28852 (cd $(HOST_SUBDIR)/gdb && \
28853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28855 "RANLIB=$${RANLIB}" \
28856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28857 mostlyclean) \
28858 || exit 1
28860 @endif gdb
28862 .PHONY: maybe-clean-gdb clean-gdb
28863 maybe-clean-gdb:
28864 @if gdb
28865 maybe-clean-gdb: clean-gdb
28867 clean-gdb:
28868 @: $(MAKE); $(unstage)
28869 @[ -f ./gdb/Makefile ] || exit 0; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(HOST_EXPORTS) \
28873 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28875 done; \
28876 echo "Doing clean in gdb" ; \
28877 (cd $(HOST_SUBDIR)/gdb && \
28878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28880 "RANLIB=$${RANLIB}" \
28881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28882 clean) \
28883 || exit 1
28885 @endif gdb
28887 .PHONY: maybe-distclean-gdb distclean-gdb
28888 maybe-distclean-gdb:
28889 @if gdb
28890 maybe-distclean-gdb: distclean-gdb
28892 distclean-gdb:
28893 @: $(MAKE); $(unstage)
28894 @[ -f ./gdb/Makefile ] || exit 0; \
28895 r=`${PWD_COMMAND}`; export r; \
28896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28897 $(HOST_EXPORTS) \
28898 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28900 done; \
28901 echo "Doing distclean in gdb" ; \
28902 (cd $(HOST_SUBDIR)/gdb && \
28903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28905 "RANLIB=$${RANLIB}" \
28906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28907 distclean) \
28908 || exit 1
28910 @endif gdb
28912 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28913 maybe-maintainer-clean-gdb:
28914 @if gdb
28915 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28917 maintainer-clean-gdb:
28918 @: $(MAKE); $(unstage)
28919 @[ -f ./gdb/Makefile ] || exit 0; \
28920 r=`${PWD_COMMAND}`; export r; \
28921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28922 $(HOST_EXPORTS) \
28923 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28925 done; \
28926 echo "Doing maintainer-clean in gdb" ; \
28927 (cd $(HOST_SUBDIR)/gdb && \
28928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28930 "RANLIB=$${RANLIB}" \
28931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28932 maintainer-clean) \
28933 || exit 1
28935 @endif gdb
28939 .PHONY: configure-expect maybe-configure-expect
28940 maybe-configure-expect:
28941 @if expect
28942 maybe-configure-expect: configure-expect
28943 configure-expect:
28944 @: $(MAKE); $(unstage)
28945 @r=`${PWD_COMMAND}`; export r; \
28946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28947 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
28949 $(HOST_EXPORTS) \
28950 echo Configuring in $(HOST_SUBDIR)/expect; \
28951 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28952 case $(srcdir) in \
28953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28954 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28956 esac; \
28957 srcdiroption="--srcdir=$${topdir}/expect"; \
28958 libsrcdir="$$s/expect"; \
28959 $(SHELL) $${libsrcdir}/configure \
28960 $(HOST_CONFIGARGS) $${srcdiroption} \
28961 || exit 1
28962 @endif expect
28968 .PHONY: all-expect maybe-all-expect
28969 maybe-all-expect:
28970 @if expect
28971 TARGET-expect=all
28972 maybe-all-expect: all-expect
28973 all-expect: configure-expect
28974 @: $(MAKE); $(unstage)
28975 @r=`${PWD_COMMAND}`; export r; \
28976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28977 $(HOST_EXPORTS) \
28978 (cd $(HOST_SUBDIR)/expect && \
28979 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
28980 @endif expect
28985 .PHONY: check-expect maybe-check-expect
28986 maybe-check-expect:
28987 @if expect
28988 maybe-check-expect: check-expect
28990 check-expect:
28991 @: $(MAKE); $(unstage)
28992 @r=`${PWD_COMMAND}`; export r; \
28993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28994 $(HOST_EXPORTS) \
28995 (cd $(HOST_SUBDIR)/expect && \
28996 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
28998 @endif expect
29000 .PHONY: install-expect maybe-install-expect
29001 maybe-install-expect:
29002 @if expect
29003 maybe-install-expect: install-expect
29005 install-expect: installdirs
29006 @: $(MAKE); $(unstage)
29007 @r=`${PWD_COMMAND}`; export r; \
29008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29009 $(HOST_EXPORTS) \
29010 (cd $(HOST_SUBDIR)/expect && \
29011 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29013 @endif expect
29015 # Other targets (info, dvi, etc.)
29017 .PHONY: maybe-info-expect info-expect
29018 maybe-info-expect:
29019 @if expect
29020 maybe-info-expect: info-expect
29022 info-expect: \
29023 configure-expect
29024 @: $(MAKE); $(unstage)
29025 @[ -f ./expect/Makefile ] || exit 0; \
29026 r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 $(HOST_EXPORTS) \
29029 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29031 done; \
29032 echo "Doing info in expect" ; \
29033 (cd $(HOST_SUBDIR)/expect && \
29034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29036 "RANLIB=$${RANLIB}" \
29037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29038 info) \
29039 || exit 1
29041 @endif expect
29043 .PHONY: maybe-dvi-expect dvi-expect
29044 maybe-dvi-expect:
29045 @if expect
29046 maybe-dvi-expect: dvi-expect
29048 dvi-expect: \
29049 configure-expect
29050 @: $(MAKE); $(unstage)
29051 @[ -f ./expect/Makefile ] || exit 0; \
29052 r=`${PWD_COMMAND}`; export r; \
29053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29054 $(HOST_EXPORTS) \
29055 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29057 done; \
29058 echo "Doing dvi in expect" ; \
29059 (cd $(HOST_SUBDIR)/expect && \
29060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29062 "RANLIB=$${RANLIB}" \
29063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29064 dvi) \
29065 || exit 1
29067 @endif expect
29069 .PHONY: maybe-html-expect html-expect
29070 maybe-html-expect:
29071 @if expect
29072 maybe-html-expect: html-expect
29074 html-expect: \
29075 configure-expect
29076 @: $(MAKE); $(unstage)
29077 @[ -f ./expect/Makefile ] || exit 0; \
29078 r=`${PWD_COMMAND}`; export r; \
29079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29080 $(HOST_EXPORTS) \
29081 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29083 done; \
29084 echo "Doing html in expect" ; \
29085 (cd $(HOST_SUBDIR)/expect && \
29086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29088 "RANLIB=$${RANLIB}" \
29089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29090 html) \
29091 || exit 1
29093 @endif expect
29095 .PHONY: maybe-TAGS-expect TAGS-expect
29096 maybe-TAGS-expect:
29097 @if expect
29098 maybe-TAGS-expect: TAGS-expect
29100 TAGS-expect: \
29101 configure-expect
29102 @: $(MAKE); $(unstage)
29103 @[ -f ./expect/Makefile ] || exit 0; \
29104 r=`${PWD_COMMAND}`; export r; \
29105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29106 $(HOST_EXPORTS) \
29107 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29109 done; \
29110 echo "Doing TAGS in expect" ; \
29111 (cd $(HOST_SUBDIR)/expect && \
29112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29114 "RANLIB=$${RANLIB}" \
29115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29116 TAGS) \
29117 || exit 1
29119 @endif expect
29121 .PHONY: maybe-install-info-expect install-info-expect
29122 maybe-install-info-expect:
29123 @if expect
29124 maybe-install-info-expect: install-info-expect
29126 install-info-expect: \
29127 configure-expect \
29128 info-expect
29129 @: $(MAKE); $(unstage)
29130 @[ -f ./expect/Makefile ] || exit 0; \
29131 r=`${PWD_COMMAND}`; export r; \
29132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29133 $(HOST_EXPORTS) \
29134 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29136 done; \
29137 echo "Doing install-info in expect" ; \
29138 (cd $(HOST_SUBDIR)/expect && \
29139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29141 "RANLIB=$${RANLIB}" \
29142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29143 install-info) \
29144 || exit 1
29146 @endif expect
29148 .PHONY: maybe-install-html-expect install-html-expect
29149 maybe-install-html-expect:
29150 @if expect
29151 maybe-install-html-expect: install-html-expect
29153 install-html-expect: \
29154 configure-expect \
29155 html-expect
29156 @: $(MAKE); $(unstage)
29157 @[ -f ./expect/Makefile ] || exit 0; \
29158 r=`${PWD_COMMAND}`; export r; \
29159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29160 $(HOST_EXPORTS) \
29161 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29163 done; \
29164 echo "Doing install-html in expect" ; \
29165 (cd $(HOST_SUBDIR)/expect && \
29166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29168 "RANLIB=$${RANLIB}" \
29169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29170 install-html) \
29171 || exit 1
29173 @endif expect
29175 .PHONY: maybe-installcheck-expect installcheck-expect
29176 maybe-installcheck-expect:
29177 @if expect
29178 maybe-installcheck-expect: installcheck-expect
29180 installcheck-expect: \
29181 configure-expect
29182 @: $(MAKE); $(unstage)
29183 @[ -f ./expect/Makefile ] || exit 0; \
29184 r=`${PWD_COMMAND}`; export r; \
29185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29186 $(HOST_EXPORTS) \
29187 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29189 done; \
29190 echo "Doing installcheck in expect" ; \
29191 (cd $(HOST_SUBDIR)/expect && \
29192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29194 "RANLIB=$${RANLIB}" \
29195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29196 installcheck) \
29197 || exit 1
29199 @endif expect
29201 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29202 maybe-mostlyclean-expect:
29203 @if expect
29204 maybe-mostlyclean-expect: mostlyclean-expect
29206 mostlyclean-expect:
29207 @: $(MAKE); $(unstage)
29208 @[ -f ./expect/Makefile ] || exit 0; \
29209 r=`${PWD_COMMAND}`; export r; \
29210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29211 $(HOST_EXPORTS) \
29212 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29214 done; \
29215 echo "Doing mostlyclean in expect" ; \
29216 (cd $(HOST_SUBDIR)/expect && \
29217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29219 "RANLIB=$${RANLIB}" \
29220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29221 mostlyclean) \
29222 || exit 1
29224 @endif expect
29226 .PHONY: maybe-clean-expect clean-expect
29227 maybe-clean-expect:
29228 @if expect
29229 maybe-clean-expect: clean-expect
29231 clean-expect:
29232 @: $(MAKE); $(unstage)
29233 @[ -f ./expect/Makefile ] || exit 0; \
29234 r=`${PWD_COMMAND}`; export r; \
29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236 $(HOST_EXPORTS) \
29237 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29239 done; \
29240 echo "Doing clean in expect" ; \
29241 (cd $(HOST_SUBDIR)/expect && \
29242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29244 "RANLIB=$${RANLIB}" \
29245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29246 clean) \
29247 || exit 1
29249 @endif expect
29251 .PHONY: maybe-distclean-expect distclean-expect
29252 maybe-distclean-expect:
29253 @if expect
29254 maybe-distclean-expect: distclean-expect
29256 distclean-expect:
29257 @: $(MAKE); $(unstage)
29258 @[ -f ./expect/Makefile ] || exit 0; \
29259 r=`${PWD_COMMAND}`; export r; \
29260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29261 $(HOST_EXPORTS) \
29262 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29264 done; \
29265 echo "Doing distclean in expect" ; \
29266 (cd $(HOST_SUBDIR)/expect && \
29267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29269 "RANLIB=$${RANLIB}" \
29270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29271 distclean) \
29272 || exit 1
29274 @endif expect
29276 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29277 maybe-maintainer-clean-expect:
29278 @if expect
29279 maybe-maintainer-clean-expect: maintainer-clean-expect
29281 maintainer-clean-expect:
29282 @: $(MAKE); $(unstage)
29283 @[ -f ./expect/Makefile ] || exit 0; \
29284 r=`${PWD_COMMAND}`; export r; \
29285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29286 $(HOST_EXPORTS) \
29287 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29289 done; \
29290 echo "Doing maintainer-clean in expect" ; \
29291 (cd $(HOST_SUBDIR)/expect && \
29292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29294 "RANLIB=$${RANLIB}" \
29295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29296 maintainer-clean) \
29297 || exit 1
29299 @endif expect
29303 .PHONY: configure-guile maybe-configure-guile
29304 maybe-configure-guile:
29305 @if guile
29306 maybe-configure-guile: configure-guile
29307 configure-guile:
29308 @: $(MAKE); $(unstage)
29309 @r=`${PWD_COMMAND}`; export r; \
29310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29311 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29313 $(HOST_EXPORTS) \
29314 echo Configuring in $(HOST_SUBDIR)/guile; \
29315 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29316 case $(srcdir) in \
29317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29318 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29320 esac; \
29321 srcdiroption="--srcdir=$${topdir}/guile"; \
29322 libsrcdir="$$s/guile"; \
29323 $(SHELL) $${libsrcdir}/configure \
29324 $(HOST_CONFIGARGS) $${srcdiroption} \
29325 || exit 1
29326 @endif guile
29332 .PHONY: all-guile maybe-all-guile
29333 maybe-all-guile:
29334 @if guile
29335 TARGET-guile=all
29336 maybe-all-guile: all-guile
29337 all-guile: configure-guile
29338 @: $(MAKE); $(unstage)
29339 @r=`${PWD_COMMAND}`; export r; \
29340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29341 $(HOST_EXPORTS) \
29342 (cd $(HOST_SUBDIR)/guile && \
29343 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
29344 @endif guile
29349 .PHONY: check-guile maybe-check-guile
29350 maybe-check-guile:
29351 @if guile
29352 maybe-check-guile: check-guile
29354 check-guile:
29355 @: $(MAKE); $(unstage)
29356 @r=`${PWD_COMMAND}`; export r; \
29357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29358 $(HOST_EXPORTS) \
29359 (cd $(HOST_SUBDIR)/guile && \
29360 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29362 @endif guile
29364 .PHONY: install-guile maybe-install-guile
29365 maybe-install-guile:
29366 @if guile
29367 maybe-install-guile: install-guile
29369 install-guile: installdirs
29370 @: $(MAKE); $(unstage)
29371 @r=`${PWD_COMMAND}`; export r; \
29372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29373 $(HOST_EXPORTS) \
29374 (cd $(HOST_SUBDIR)/guile && \
29375 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29377 @endif guile
29379 # Other targets (info, dvi, etc.)
29381 .PHONY: maybe-info-guile info-guile
29382 maybe-info-guile:
29383 @if guile
29384 maybe-info-guile: info-guile
29386 info-guile: \
29387 configure-guile
29388 @: $(MAKE); $(unstage)
29389 @[ -f ./guile/Makefile ] || exit 0; \
29390 r=`${PWD_COMMAND}`; export r; \
29391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29392 $(HOST_EXPORTS) \
29393 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29395 done; \
29396 echo "Doing info in guile" ; \
29397 (cd $(HOST_SUBDIR)/guile && \
29398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29400 "RANLIB=$${RANLIB}" \
29401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29402 info) \
29403 || exit 1
29405 @endif guile
29407 .PHONY: maybe-dvi-guile dvi-guile
29408 maybe-dvi-guile:
29409 @if guile
29410 maybe-dvi-guile: dvi-guile
29412 dvi-guile: \
29413 configure-guile
29414 @: $(MAKE); $(unstage)
29415 @[ -f ./guile/Makefile ] || exit 0; \
29416 r=`${PWD_COMMAND}`; export r; \
29417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29418 $(HOST_EXPORTS) \
29419 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29421 done; \
29422 echo "Doing dvi in guile" ; \
29423 (cd $(HOST_SUBDIR)/guile && \
29424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29426 "RANLIB=$${RANLIB}" \
29427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29428 dvi) \
29429 || exit 1
29431 @endif guile
29433 .PHONY: maybe-html-guile html-guile
29434 maybe-html-guile:
29435 @if guile
29436 maybe-html-guile: html-guile
29438 html-guile: \
29439 configure-guile
29440 @: $(MAKE); $(unstage)
29441 @[ -f ./guile/Makefile ] || exit 0; \
29442 r=`${PWD_COMMAND}`; export r; \
29443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29444 $(HOST_EXPORTS) \
29445 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29447 done; \
29448 echo "Doing html in guile" ; \
29449 (cd $(HOST_SUBDIR)/guile && \
29450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29452 "RANLIB=$${RANLIB}" \
29453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29454 html) \
29455 || exit 1
29457 @endif guile
29459 .PHONY: maybe-TAGS-guile TAGS-guile
29460 maybe-TAGS-guile:
29461 @if guile
29462 maybe-TAGS-guile: TAGS-guile
29464 TAGS-guile: \
29465 configure-guile
29466 @: $(MAKE); $(unstage)
29467 @[ -f ./guile/Makefile ] || exit 0; \
29468 r=`${PWD_COMMAND}`; export r; \
29469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29470 $(HOST_EXPORTS) \
29471 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29473 done; \
29474 echo "Doing TAGS in guile" ; \
29475 (cd $(HOST_SUBDIR)/guile && \
29476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29478 "RANLIB=$${RANLIB}" \
29479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29480 TAGS) \
29481 || exit 1
29483 @endif guile
29485 .PHONY: maybe-install-info-guile install-info-guile
29486 maybe-install-info-guile:
29487 @if guile
29488 maybe-install-info-guile: install-info-guile
29490 install-info-guile: \
29491 configure-guile \
29492 info-guile
29493 @: $(MAKE); $(unstage)
29494 @[ -f ./guile/Makefile ] || exit 0; \
29495 r=`${PWD_COMMAND}`; export r; \
29496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29497 $(HOST_EXPORTS) \
29498 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29500 done; \
29501 echo "Doing install-info in guile" ; \
29502 (cd $(HOST_SUBDIR)/guile && \
29503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29505 "RANLIB=$${RANLIB}" \
29506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29507 install-info) \
29508 || exit 1
29510 @endif guile
29512 .PHONY: maybe-install-html-guile install-html-guile
29513 maybe-install-html-guile:
29514 @if guile
29515 maybe-install-html-guile: install-html-guile
29517 install-html-guile: \
29518 configure-guile \
29519 html-guile
29520 @: $(MAKE); $(unstage)
29521 @[ -f ./guile/Makefile ] || exit 0; \
29522 r=`${PWD_COMMAND}`; export r; \
29523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29524 $(HOST_EXPORTS) \
29525 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29527 done; \
29528 echo "Doing install-html in guile" ; \
29529 (cd $(HOST_SUBDIR)/guile && \
29530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29532 "RANLIB=$${RANLIB}" \
29533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29534 install-html) \
29535 || exit 1
29537 @endif guile
29539 .PHONY: maybe-installcheck-guile installcheck-guile
29540 maybe-installcheck-guile:
29541 @if guile
29542 maybe-installcheck-guile: installcheck-guile
29544 installcheck-guile: \
29545 configure-guile
29546 @: $(MAKE); $(unstage)
29547 @[ -f ./guile/Makefile ] || exit 0; \
29548 r=`${PWD_COMMAND}`; export r; \
29549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29550 $(HOST_EXPORTS) \
29551 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29553 done; \
29554 echo "Doing installcheck in guile" ; \
29555 (cd $(HOST_SUBDIR)/guile && \
29556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29558 "RANLIB=$${RANLIB}" \
29559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29560 installcheck) \
29561 || exit 1
29563 @endif guile
29565 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29566 maybe-mostlyclean-guile:
29567 @if guile
29568 maybe-mostlyclean-guile: mostlyclean-guile
29570 mostlyclean-guile:
29571 @: $(MAKE); $(unstage)
29572 @[ -f ./guile/Makefile ] || exit 0; \
29573 r=`${PWD_COMMAND}`; export r; \
29574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29575 $(HOST_EXPORTS) \
29576 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29578 done; \
29579 echo "Doing mostlyclean in guile" ; \
29580 (cd $(HOST_SUBDIR)/guile && \
29581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29583 "RANLIB=$${RANLIB}" \
29584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29585 mostlyclean) \
29586 || exit 1
29588 @endif guile
29590 .PHONY: maybe-clean-guile clean-guile
29591 maybe-clean-guile:
29592 @if guile
29593 maybe-clean-guile: clean-guile
29595 clean-guile:
29596 @: $(MAKE); $(unstage)
29597 @[ -f ./guile/Makefile ] || exit 0; \
29598 r=`${PWD_COMMAND}`; export r; \
29599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29600 $(HOST_EXPORTS) \
29601 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29603 done; \
29604 echo "Doing clean in guile" ; \
29605 (cd $(HOST_SUBDIR)/guile && \
29606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29608 "RANLIB=$${RANLIB}" \
29609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29610 clean) \
29611 || exit 1
29613 @endif guile
29615 .PHONY: maybe-distclean-guile distclean-guile
29616 maybe-distclean-guile:
29617 @if guile
29618 maybe-distclean-guile: distclean-guile
29620 distclean-guile:
29621 @: $(MAKE); $(unstage)
29622 @[ -f ./guile/Makefile ] || exit 0; \
29623 r=`${PWD_COMMAND}`; export r; \
29624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29625 $(HOST_EXPORTS) \
29626 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29628 done; \
29629 echo "Doing distclean in guile" ; \
29630 (cd $(HOST_SUBDIR)/guile && \
29631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29633 "RANLIB=$${RANLIB}" \
29634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29635 distclean) \
29636 || exit 1
29638 @endif guile
29640 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29641 maybe-maintainer-clean-guile:
29642 @if guile
29643 maybe-maintainer-clean-guile: maintainer-clean-guile
29645 maintainer-clean-guile:
29646 @: $(MAKE); $(unstage)
29647 @[ -f ./guile/Makefile ] || exit 0; \
29648 r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(HOST_EXPORTS) \
29651 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29653 done; \
29654 echo "Doing maintainer-clean in guile" ; \
29655 (cd $(HOST_SUBDIR)/guile && \
29656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29658 "RANLIB=$${RANLIB}" \
29659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29660 maintainer-clean) \
29661 || exit 1
29663 @endif guile
29667 .PHONY: configure-tk maybe-configure-tk
29668 maybe-configure-tk:
29669 @if tk
29670 maybe-configure-tk: configure-tk
29671 configure-tk:
29672 @: $(MAKE); $(unstage)
29673 @r=`${PWD_COMMAND}`; export r; \
29674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29675 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29677 $(HOST_EXPORTS) \
29678 echo Configuring in $(HOST_SUBDIR)/tk; \
29679 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29680 case $(srcdir) in \
29681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29682 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29684 esac; \
29685 srcdiroption="--srcdir=$${topdir}/tk"; \
29686 libsrcdir="$$s/tk"; \
29687 $(SHELL) $${libsrcdir}/configure \
29688 $(HOST_CONFIGARGS) $${srcdiroption} \
29689 || exit 1
29690 @endif tk
29696 .PHONY: all-tk maybe-all-tk
29697 maybe-all-tk:
29698 @if tk
29699 TARGET-tk=all
29700 maybe-all-tk: all-tk
29701 all-tk: configure-tk
29702 @: $(MAKE); $(unstage)
29703 @r=`${PWD_COMMAND}`; export r; \
29704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29705 $(HOST_EXPORTS) \
29706 (cd $(HOST_SUBDIR)/tk && \
29707 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
29708 @endif tk
29713 .PHONY: check-tk maybe-check-tk
29714 maybe-check-tk:
29715 @if tk
29716 maybe-check-tk: check-tk
29718 check-tk:
29719 @: $(MAKE); $(unstage)
29720 @r=`${PWD_COMMAND}`; export r; \
29721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29722 $(HOST_EXPORTS) \
29723 (cd $(HOST_SUBDIR)/tk && \
29724 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29726 @endif tk
29728 .PHONY: install-tk maybe-install-tk
29729 maybe-install-tk:
29730 @if tk
29731 maybe-install-tk: install-tk
29733 install-tk: installdirs
29734 @: $(MAKE); $(unstage)
29735 @r=`${PWD_COMMAND}`; export r; \
29736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29737 $(HOST_EXPORTS) \
29738 (cd $(HOST_SUBDIR)/tk && \
29739 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29741 @endif tk
29743 # Other targets (info, dvi, etc.)
29745 .PHONY: maybe-info-tk info-tk
29746 maybe-info-tk:
29747 @if tk
29748 maybe-info-tk: info-tk
29750 info-tk: \
29751 configure-tk
29752 @: $(MAKE); $(unstage)
29753 @[ -f ./tk/Makefile ] || exit 0; \
29754 r=`${PWD_COMMAND}`; export r; \
29755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29756 $(HOST_EXPORTS) \
29757 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29759 done; \
29760 echo "Doing info in tk" ; \
29761 (cd $(HOST_SUBDIR)/tk && \
29762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29764 "RANLIB=$${RANLIB}" \
29765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29766 info) \
29767 || exit 1
29769 @endif tk
29771 .PHONY: maybe-dvi-tk dvi-tk
29772 maybe-dvi-tk:
29773 @if tk
29774 maybe-dvi-tk: dvi-tk
29776 dvi-tk: \
29777 configure-tk
29778 @: $(MAKE); $(unstage)
29779 @[ -f ./tk/Makefile ] || exit 0; \
29780 r=`${PWD_COMMAND}`; export r; \
29781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29782 $(HOST_EXPORTS) \
29783 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29785 done; \
29786 echo "Doing dvi in tk" ; \
29787 (cd $(HOST_SUBDIR)/tk && \
29788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29790 "RANLIB=$${RANLIB}" \
29791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29792 dvi) \
29793 || exit 1
29795 @endif tk
29797 .PHONY: maybe-html-tk html-tk
29798 maybe-html-tk:
29799 @if tk
29800 maybe-html-tk: html-tk
29802 html-tk: \
29803 configure-tk
29804 @: $(MAKE); $(unstage)
29805 @[ -f ./tk/Makefile ] || exit 0; \
29806 r=`${PWD_COMMAND}`; export r; \
29807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29808 $(HOST_EXPORTS) \
29809 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 echo "Doing html in tk" ; \
29813 (cd $(HOST_SUBDIR)/tk && \
29814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29816 "RANLIB=$${RANLIB}" \
29817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29818 html) \
29819 || exit 1
29821 @endif tk
29823 .PHONY: maybe-TAGS-tk TAGS-tk
29824 maybe-TAGS-tk:
29825 @if tk
29826 maybe-TAGS-tk: TAGS-tk
29828 TAGS-tk: \
29829 configure-tk
29830 @: $(MAKE); $(unstage)
29831 @[ -f ./tk/Makefile ] || exit 0; \
29832 r=`${PWD_COMMAND}`; export r; \
29833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29834 $(HOST_EXPORTS) \
29835 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29837 done; \
29838 echo "Doing TAGS in tk" ; \
29839 (cd $(HOST_SUBDIR)/tk && \
29840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29842 "RANLIB=$${RANLIB}" \
29843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29844 TAGS) \
29845 || exit 1
29847 @endif tk
29849 .PHONY: maybe-install-info-tk install-info-tk
29850 maybe-install-info-tk:
29851 @if tk
29852 maybe-install-info-tk: install-info-tk
29854 install-info-tk: \
29855 configure-tk \
29856 info-tk
29857 @: $(MAKE); $(unstage)
29858 @[ -f ./tk/Makefile ] || exit 0; \
29859 r=`${PWD_COMMAND}`; export r; \
29860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29861 $(HOST_EXPORTS) \
29862 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29864 done; \
29865 echo "Doing install-info in tk" ; \
29866 (cd $(HOST_SUBDIR)/tk && \
29867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29869 "RANLIB=$${RANLIB}" \
29870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29871 install-info) \
29872 || exit 1
29874 @endif tk
29876 .PHONY: maybe-install-html-tk install-html-tk
29877 maybe-install-html-tk:
29878 @if tk
29879 maybe-install-html-tk: install-html-tk
29881 install-html-tk: \
29882 configure-tk \
29883 html-tk
29884 @: $(MAKE); $(unstage)
29885 @[ -f ./tk/Makefile ] || exit 0; \
29886 r=`${PWD_COMMAND}`; export r; \
29887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29888 $(HOST_EXPORTS) \
29889 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29891 done; \
29892 echo "Doing install-html in tk" ; \
29893 (cd $(HOST_SUBDIR)/tk && \
29894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29896 "RANLIB=$${RANLIB}" \
29897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29898 install-html) \
29899 || exit 1
29901 @endif tk
29903 .PHONY: maybe-installcheck-tk installcheck-tk
29904 maybe-installcheck-tk:
29905 @if tk
29906 maybe-installcheck-tk: installcheck-tk
29908 installcheck-tk: \
29909 configure-tk
29910 @: $(MAKE); $(unstage)
29911 @[ -f ./tk/Makefile ] || exit 0; \
29912 r=`${PWD_COMMAND}`; export r; \
29913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29914 $(HOST_EXPORTS) \
29915 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29917 done; \
29918 echo "Doing installcheck in tk" ; \
29919 (cd $(HOST_SUBDIR)/tk && \
29920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29922 "RANLIB=$${RANLIB}" \
29923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29924 installcheck) \
29925 || exit 1
29927 @endif tk
29929 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29930 maybe-mostlyclean-tk:
29931 @if tk
29932 maybe-mostlyclean-tk: mostlyclean-tk
29934 mostlyclean-tk:
29935 @: $(MAKE); $(unstage)
29936 @[ -f ./tk/Makefile ] || exit 0; \
29937 r=`${PWD_COMMAND}`; export r; \
29938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29939 $(HOST_EXPORTS) \
29940 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29942 done; \
29943 echo "Doing mostlyclean in tk" ; \
29944 (cd $(HOST_SUBDIR)/tk && \
29945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29947 "RANLIB=$${RANLIB}" \
29948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29949 mostlyclean) \
29950 || exit 1
29952 @endif tk
29954 .PHONY: maybe-clean-tk clean-tk
29955 maybe-clean-tk:
29956 @if tk
29957 maybe-clean-tk: clean-tk
29959 clean-tk:
29960 @: $(MAKE); $(unstage)
29961 @[ -f ./tk/Makefile ] || exit 0; \
29962 r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(HOST_EXPORTS) \
29965 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29967 done; \
29968 echo "Doing clean in tk" ; \
29969 (cd $(HOST_SUBDIR)/tk && \
29970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29972 "RANLIB=$${RANLIB}" \
29973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29974 clean) \
29975 || exit 1
29977 @endif tk
29979 .PHONY: maybe-distclean-tk distclean-tk
29980 maybe-distclean-tk:
29981 @if tk
29982 maybe-distclean-tk: distclean-tk
29984 distclean-tk:
29985 @: $(MAKE); $(unstage)
29986 @[ -f ./tk/Makefile ] || exit 0; \
29987 r=`${PWD_COMMAND}`; export r; \
29988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29989 $(HOST_EXPORTS) \
29990 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29992 done; \
29993 echo "Doing distclean in tk" ; \
29994 (cd $(HOST_SUBDIR)/tk && \
29995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29997 "RANLIB=$${RANLIB}" \
29998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29999 distclean) \
30000 || exit 1
30002 @endif tk
30004 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30005 maybe-maintainer-clean-tk:
30006 @if tk
30007 maybe-maintainer-clean-tk: maintainer-clean-tk
30009 maintainer-clean-tk:
30010 @: $(MAKE); $(unstage)
30011 @[ -f ./tk/Makefile ] || exit 0; \
30012 r=`${PWD_COMMAND}`; export r; \
30013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30014 $(HOST_EXPORTS) \
30015 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30017 done; \
30018 echo "Doing maintainer-clean in tk" ; \
30019 (cd $(HOST_SUBDIR)/tk && \
30020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30022 "RANLIB=$${RANLIB}" \
30023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30024 maintainer-clean) \
30025 || exit 1
30027 @endif tk
30031 .PHONY: configure-libtermcap maybe-configure-libtermcap
30032 maybe-configure-libtermcap:
30033 @if libtermcap
30034 maybe-configure-libtermcap: configure-libtermcap
30035 configure-libtermcap:
30036 @: $(MAKE); $(unstage)
30037 @r=`${PWD_COMMAND}`; export r; \
30038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30041 $(HOST_EXPORTS) \
30042 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30043 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30044 case $(srcdir) in \
30045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30046 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30048 esac; \
30049 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30050 libsrcdir="$$s/libtermcap"; \
30051 $(SHELL) $${libsrcdir}/configure \
30052 $(HOST_CONFIGARGS) $${srcdiroption} \
30053 || exit 1
30054 @endif libtermcap
30060 .PHONY: all-libtermcap maybe-all-libtermcap
30061 maybe-all-libtermcap:
30062 @if libtermcap
30063 TARGET-libtermcap=all
30064 maybe-all-libtermcap: all-libtermcap
30065 all-libtermcap: configure-libtermcap
30066 @: $(MAKE); $(unstage)
30067 @r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(HOST_EXPORTS) \
30070 (cd $(HOST_SUBDIR)/libtermcap && \
30071 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
30072 @endif libtermcap
30077 .PHONY: check-libtermcap maybe-check-libtermcap
30078 maybe-check-libtermcap:
30079 @if libtermcap
30080 maybe-check-libtermcap: check-libtermcap
30082 check-libtermcap:
30084 @endif libtermcap
30086 .PHONY: install-libtermcap maybe-install-libtermcap
30087 maybe-install-libtermcap:
30088 @if libtermcap
30089 maybe-install-libtermcap: install-libtermcap
30091 install-libtermcap: installdirs
30092 @: $(MAKE); $(unstage)
30093 @r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(HOST_EXPORTS) \
30096 (cd $(HOST_SUBDIR)/libtermcap && \
30097 $(MAKE) $(FLAGS_TO_PASS) install)
30099 @endif libtermcap
30101 # Other targets (info, dvi, etc.)
30103 .PHONY: maybe-info-libtermcap info-libtermcap
30104 maybe-info-libtermcap:
30105 @if libtermcap
30106 maybe-info-libtermcap: info-libtermcap
30108 info-libtermcap: \
30109 configure-libtermcap
30110 @: $(MAKE); $(unstage)
30111 @[ -f ./libtermcap/Makefile ] || exit 0; \
30112 r=`${PWD_COMMAND}`; export r; \
30113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30114 $(HOST_EXPORTS) \
30115 for flag in $(EXTRA_HOST_FLAGS) ; do \
30116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30117 done; \
30118 echo "Doing info in libtermcap" ; \
30119 (cd $(HOST_SUBDIR)/libtermcap && \
30120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30122 "RANLIB=$${RANLIB}" \
30123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30124 info) \
30125 || exit 1
30127 @endif libtermcap
30129 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30130 maybe-dvi-libtermcap:
30131 @if libtermcap
30132 maybe-dvi-libtermcap: dvi-libtermcap
30134 dvi-libtermcap: \
30135 configure-libtermcap
30136 @: $(MAKE); $(unstage)
30137 @[ -f ./libtermcap/Makefile ] || exit 0; \
30138 r=`${PWD_COMMAND}`; export r; \
30139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30140 $(HOST_EXPORTS) \
30141 for flag in $(EXTRA_HOST_FLAGS) ; do \
30142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30143 done; \
30144 echo "Doing dvi in libtermcap" ; \
30145 (cd $(HOST_SUBDIR)/libtermcap && \
30146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30148 "RANLIB=$${RANLIB}" \
30149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30150 dvi) \
30151 || exit 1
30153 @endif libtermcap
30155 .PHONY: maybe-html-libtermcap html-libtermcap
30156 maybe-html-libtermcap:
30157 @if libtermcap
30158 maybe-html-libtermcap: html-libtermcap
30160 html-libtermcap: \
30161 configure-libtermcap
30162 @: $(MAKE); $(unstage)
30163 @[ -f ./libtermcap/Makefile ] || exit 0; \
30164 r=`${PWD_COMMAND}`; export r; \
30165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30166 $(HOST_EXPORTS) \
30167 for flag in $(EXTRA_HOST_FLAGS) ; do \
30168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30169 done; \
30170 echo "Doing html in libtermcap" ; \
30171 (cd $(HOST_SUBDIR)/libtermcap && \
30172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30174 "RANLIB=$${RANLIB}" \
30175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30176 html) \
30177 || exit 1
30179 @endif libtermcap
30181 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30182 maybe-TAGS-libtermcap:
30183 @if libtermcap
30184 maybe-TAGS-libtermcap: TAGS-libtermcap
30186 TAGS-libtermcap: \
30187 configure-libtermcap
30188 @: $(MAKE); $(unstage)
30189 @[ -f ./libtermcap/Makefile ] || exit 0; \
30190 r=`${PWD_COMMAND}`; export r; \
30191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30192 $(HOST_EXPORTS) \
30193 for flag in $(EXTRA_HOST_FLAGS) ; do \
30194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30195 done; \
30196 echo "Doing TAGS in libtermcap" ; \
30197 (cd $(HOST_SUBDIR)/libtermcap && \
30198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30200 "RANLIB=$${RANLIB}" \
30201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30202 TAGS) \
30203 || exit 1
30205 @endif libtermcap
30207 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30208 maybe-install-info-libtermcap:
30209 @if libtermcap
30210 maybe-install-info-libtermcap: install-info-libtermcap
30212 install-info-libtermcap: \
30213 configure-libtermcap \
30214 info-libtermcap
30215 @: $(MAKE); $(unstage)
30216 @[ -f ./libtermcap/Makefile ] || exit 0; \
30217 r=`${PWD_COMMAND}`; export r; \
30218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30219 $(HOST_EXPORTS) \
30220 for flag in $(EXTRA_HOST_FLAGS) ; do \
30221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30222 done; \
30223 echo "Doing install-info in libtermcap" ; \
30224 (cd $(HOST_SUBDIR)/libtermcap && \
30225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30227 "RANLIB=$${RANLIB}" \
30228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30229 install-info) \
30230 || exit 1
30232 @endif libtermcap
30234 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30235 maybe-install-html-libtermcap:
30236 @if libtermcap
30237 maybe-install-html-libtermcap: install-html-libtermcap
30239 install-html-libtermcap: \
30240 configure-libtermcap \
30241 html-libtermcap
30242 @: $(MAKE); $(unstage)
30243 @[ -f ./libtermcap/Makefile ] || exit 0; \
30244 r=`${PWD_COMMAND}`; export r; \
30245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30246 $(HOST_EXPORTS) \
30247 for flag in $(EXTRA_HOST_FLAGS) ; do \
30248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30249 done; \
30250 echo "Doing install-html in libtermcap" ; \
30251 (cd $(HOST_SUBDIR)/libtermcap && \
30252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30254 "RANLIB=$${RANLIB}" \
30255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30256 install-html) \
30257 || exit 1
30259 @endif libtermcap
30261 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30262 maybe-installcheck-libtermcap:
30263 @if libtermcap
30264 maybe-installcheck-libtermcap: installcheck-libtermcap
30266 installcheck-libtermcap: \
30267 configure-libtermcap
30268 @: $(MAKE); $(unstage)
30269 @[ -f ./libtermcap/Makefile ] || exit 0; \
30270 r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 $(HOST_EXPORTS) \
30273 for flag in $(EXTRA_HOST_FLAGS) ; do \
30274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30275 done; \
30276 echo "Doing installcheck in libtermcap" ; \
30277 (cd $(HOST_SUBDIR)/libtermcap && \
30278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30280 "RANLIB=$${RANLIB}" \
30281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30282 installcheck) \
30283 || exit 1
30285 @endif libtermcap
30287 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30288 maybe-mostlyclean-libtermcap:
30289 @if libtermcap
30290 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30292 # libtermcap doesn't support mostlyclean.
30293 mostlyclean-libtermcap:
30295 @endif libtermcap
30297 .PHONY: maybe-clean-libtermcap clean-libtermcap
30298 maybe-clean-libtermcap:
30299 @if libtermcap
30300 maybe-clean-libtermcap: clean-libtermcap
30302 # libtermcap doesn't support clean.
30303 clean-libtermcap:
30305 @endif libtermcap
30307 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30308 maybe-distclean-libtermcap:
30309 @if libtermcap
30310 maybe-distclean-libtermcap: distclean-libtermcap
30312 # libtermcap doesn't support distclean.
30313 distclean-libtermcap:
30315 @endif libtermcap
30317 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30318 maybe-maintainer-clean-libtermcap:
30319 @if libtermcap
30320 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30322 # libtermcap doesn't support maintainer-clean.
30323 maintainer-clean-libtermcap:
30325 @endif libtermcap
30329 .PHONY: configure-utils maybe-configure-utils
30330 maybe-configure-utils:
30331 @if utils
30332 maybe-configure-utils: configure-utils
30333 configure-utils:
30334 @: $(MAKE); $(unstage)
30335 @r=`${PWD_COMMAND}`; export r; \
30336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30337 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30339 $(HOST_EXPORTS) \
30340 echo Configuring in $(HOST_SUBDIR)/utils; \
30341 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30342 case $(srcdir) in \
30343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30344 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30346 esac; \
30347 srcdiroption="--srcdir=$${topdir}/utils"; \
30348 libsrcdir="$$s/utils"; \
30349 $(SHELL) $${libsrcdir}/configure \
30350 $(HOST_CONFIGARGS) $${srcdiroption} \
30351 || exit 1
30352 @endif utils
30358 .PHONY: all-utils maybe-all-utils
30359 maybe-all-utils:
30360 @if utils
30361 TARGET-utils=all
30362 maybe-all-utils: all-utils
30363 all-utils: configure-utils
30364 @: $(MAKE); $(unstage)
30365 @r=`${PWD_COMMAND}`; export r; \
30366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30367 $(HOST_EXPORTS) \
30368 (cd $(HOST_SUBDIR)/utils && \
30369 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
30370 @endif utils
30375 .PHONY: check-utils maybe-check-utils
30376 maybe-check-utils:
30377 @if utils
30378 maybe-check-utils: check-utils
30380 check-utils:
30382 @endif utils
30384 .PHONY: install-utils maybe-install-utils
30385 maybe-install-utils:
30386 @if utils
30387 maybe-install-utils: install-utils
30389 install-utils: installdirs
30390 @: $(MAKE); $(unstage)
30391 @r=`${PWD_COMMAND}`; export r; \
30392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30393 $(HOST_EXPORTS) \
30394 (cd $(HOST_SUBDIR)/utils && \
30395 $(MAKE) $(FLAGS_TO_PASS) install)
30397 @endif utils
30399 # Other targets (info, dvi, etc.)
30401 .PHONY: maybe-info-utils info-utils
30402 maybe-info-utils:
30403 @if utils
30404 maybe-info-utils: info-utils
30406 info-utils: \
30407 configure-utils
30408 @: $(MAKE); $(unstage)
30409 @[ -f ./utils/Makefile ] || exit 0; \
30410 r=`${PWD_COMMAND}`; export r; \
30411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30412 $(HOST_EXPORTS) \
30413 for flag in $(EXTRA_HOST_FLAGS) ; do \
30414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30415 done; \
30416 echo "Doing info in utils" ; \
30417 (cd $(HOST_SUBDIR)/utils && \
30418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30420 "RANLIB=$${RANLIB}" \
30421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30422 info) \
30423 || exit 1
30425 @endif utils
30427 .PHONY: maybe-dvi-utils dvi-utils
30428 maybe-dvi-utils:
30429 @if utils
30430 maybe-dvi-utils: dvi-utils
30432 dvi-utils: \
30433 configure-utils
30434 @: $(MAKE); $(unstage)
30435 @[ -f ./utils/Makefile ] || exit 0; \
30436 r=`${PWD_COMMAND}`; export r; \
30437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30438 $(HOST_EXPORTS) \
30439 for flag in $(EXTRA_HOST_FLAGS) ; do \
30440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30441 done; \
30442 echo "Doing dvi in utils" ; \
30443 (cd $(HOST_SUBDIR)/utils && \
30444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30446 "RANLIB=$${RANLIB}" \
30447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30448 dvi) \
30449 || exit 1
30451 @endif utils
30453 .PHONY: maybe-html-utils html-utils
30454 maybe-html-utils:
30455 @if utils
30456 maybe-html-utils: html-utils
30458 html-utils: \
30459 configure-utils
30460 @: $(MAKE); $(unstage)
30461 @[ -f ./utils/Makefile ] || exit 0; \
30462 r=`${PWD_COMMAND}`; export r; \
30463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30464 $(HOST_EXPORTS) \
30465 for flag in $(EXTRA_HOST_FLAGS) ; do \
30466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30467 done; \
30468 echo "Doing html in utils" ; \
30469 (cd $(HOST_SUBDIR)/utils && \
30470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30472 "RANLIB=$${RANLIB}" \
30473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30474 html) \
30475 || exit 1
30477 @endif utils
30479 .PHONY: maybe-TAGS-utils TAGS-utils
30480 maybe-TAGS-utils:
30481 @if utils
30482 maybe-TAGS-utils: TAGS-utils
30484 TAGS-utils: \
30485 configure-utils
30486 @: $(MAKE); $(unstage)
30487 @[ -f ./utils/Makefile ] || exit 0; \
30488 r=`${PWD_COMMAND}`; export r; \
30489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30490 $(HOST_EXPORTS) \
30491 for flag in $(EXTRA_HOST_FLAGS) ; do \
30492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30493 done; \
30494 echo "Doing TAGS in utils" ; \
30495 (cd $(HOST_SUBDIR)/utils && \
30496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30498 "RANLIB=$${RANLIB}" \
30499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30500 TAGS) \
30501 || exit 1
30503 @endif utils
30505 .PHONY: maybe-install-info-utils install-info-utils
30506 maybe-install-info-utils:
30507 @if utils
30508 maybe-install-info-utils: install-info-utils
30510 install-info-utils: \
30511 configure-utils \
30512 info-utils
30513 @: $(MAKE); $(unstage)
30514 @[ -f ./utils/Makefile ] || exit 0; \
30515 r=`${PWD_COMMAND}`; export r; \
30516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30517 $(HOST_EXPORTS) \
30518 for flag in $(EXTRA_HOST_FLAGS) ; do \
30519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30520 done; \
30521 echo "Doing install-info in utils" ; \
30522 (cd $(HOST_SUBDIR)/utils && \
30523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30525 "RANLIB=$${RANLIB}" \
30526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30527 install-info) \
30528 || exit 1
30530 @endif utils
30532 .PHONY: maybe-install-html-utils install-html-utils
30533 maybe-install-html-utils:
30534 @if utils
30535 maybe-install-html-utils: install-html-utils
30537 install-html-utils: \
30538 configure-utils \
30539 html-utils
30540 @: $(MAKE); $(unstage)
30541 @[ -f ./utils/Makefile ] || exit 0; \
30542 r=`${PWD_COMMAND}`; export r; \
30543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30544 $(HOST_EXPORTS) \
30545 for flag in $(EXTRA_HOST_FLAGS) ; do \
30546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30547 done; \
30548 echo "Doing install-html in utils" ; \
30549 (cd $(HOST_SUBDIR)/utils && \
30550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30552 "RANLIB=$${RANLIB}" \
30553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30554 install-html) \
30555 || exit 1
30557 @endif utils
30559 .PHONY: maybe-installcheck-utils installcheck-utils
30560 maybe-installcheck-utils:
30561 @if utils
30562 maybe-installcheck-utils: installcheck-utils
30564 installcheck-utils: \
30565 configure-utils
30566 @: $(MAKE); $(unstage)
30567 @[ -f ./utils/Makefile ] || exit 0; \
30568 r=`${PWD_COMMAND}`; export r; \
30569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30570 $(HOST_EXPORTS) \
30571 for flag in $(EXTRA_HOST_FLAGS) ; do \
30572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30573 done; \
30574 echo "Doing installcheck in utils" ; \
30575 (cd $(HOST_SUBDIR)/utils && \
30576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30578 "RANLIB=$${RANLIB}" \
30579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30580 installcheck) \
30581 || exit 1
30583 @endif utils
30585 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30586 maybe-mostlyclean-utils:
30587 @if utils
30588 maybe-mostlyclean-utils: mostlyclean-utils
30590 mostlyclean-utils:
30591 @: $(MAKE); $(unstage)
30592 @[ -f ./utils/Makefile ] || exit 0; \
30593 r=`${PWD_COMMAND}`; export r; \
30594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30595 $(HOST_EXPORTS) \
30596 for flag in $(EXTRA_HOST_FLAGS) ; do \
30597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30598 done; \
30599 echo "Doing mostlyclean in utils" ; \
30600 (cd $(HOST_SUBDIR)/utils && \
30601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30603 "RANLIB=$${RANLIB}" \
30604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30605 mostlyclean) \
30606 || exit 1
30608 @endif utils
30610 .PHONY: maybe-clean-utils clean-utils
30611 maybe-clean-utils:
30612 @if utils
30613 maybe-clean-utils: clean-utils
30615 clean-utils:
30616 @: $(MAKE); $(unstage)
30617 @[ -f ./utils/Makefile ] || exit 0; \
30618 r=`${PWD_COMMAND}`; export r; \
30619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30620 $(HOST_EXPORTS) \
30621 for flag in $(EXTRA_HOST_FLAGS) ; do \
30622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30623 done; \
30624 echo "Doing clean in utils" ; \
30625 (cd $(HOST_SUBDIR)/utils && \
30626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30628 "RANLIB=$${RANLIB}" \
30629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30630 clean) \
30631 || exit 1
30633 @endif utils
30635 .PHONY: maybe-distclean-utils distclean-utils
30636 maybe-distclean-utils:
30637 @if utils
30638 maybe-distclean-utils: distclean-utils
30640 distclean-utils:
30641 @: $(MAKE); $(unstage)
30642 @[ -f ./utils/Makefile ] || exit 0; \
30643 r=`${PWD_COMMAND}`; export r; \
30644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30645 $(HOST_EXPORTS) \
30646 for flag in $(EXTRA_HOST_FLAGS) ; do \
30647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30648 done; \
30649 echo "Doing distclean in utils" ; \
30650 (cd $(HOST_SUBDIR)/utils && \
30651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30653 "RANLIB=$${RANLIB}" \
30654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30655 distclean) \
30656 || exit 1
30658 @endif utils
30660 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30661 maybe-maintainer-clean-utils:
30662 @if utils
30663 maybe-maintainer-clean-utils: maintainer-clean-utils
30665 maintainer-clean-utils:
30666 @: $(MAKE); $(unstage)
30667 @[ -f ./utils/Makefile ] || exit 0; \
30668 r=`${PWD_COMMAND}`; export r; \
30669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30670 $(HOST_EXPORTS) \
30671 for flag in $(EXTRA_HOST_FLAGS) ; do \
30672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30673 done; \
30674 echo "Doing maintainer-clean in utils" ; \
30675 (cd $(HOST_SUBDIR)/utils && \
30676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30678 "RANLIB=$${RANLIB}" \
30679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30680 maintainer-clean) \
30681 || exit 1
30683 @endif utils
30687 .PHONY: configure-gnattools maybe-configure-gnattools
30688 maybe-configure-gnattools:
30689 @if gnattools
30690 maybe-configure-gnattools: configure-gnattools
30691 configure-gnattools:
30692 @: $(MAKE); $(unstage)
30693 @r=`${PWD_COMMAND}`; export r; \
30694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30695 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30697 $(HOST_EXPORTS) \
30698 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30699 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30700 case $(srcdir) in \
30701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30702 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30704 esac; \
30705 srcdiroption="--srcdir=$${topdir}/gnattools"; \
30706 libsrcdir="$$s/gnattools"; \
30707 $(SHELL) $${libsrcdir}/configure \
30708 $(HOST_CONFIGARGS) $${srcdiroption} \
30709 || exit 1
30710 @endif gnattools
30716 .PHONY: all-gnattools maybe-all-gnattools
30717 maybe-all-gnattools:
30718 @if gnattools
30719 TARGET-gnattools=all
30720 maybe-all-gnattools: all-gnattools
30721 all-gnattools: configure-gnattools
30722 @: $(MAKE); $(unstage)
30723 @r=`${PWD_COMMAND}`; export r; \
30724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30725 $(HOST_EXPORTS) \
30726 (cd $(HOST_SUBDIR)/gnattools && \
30727 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
30728 @endif gnattools
30733 .PHONY: check-gnattools maybe-check-gnattools
30734 maybe-check-gnattools:
30735 @if gnattools
30736 maybe-check-gnattools: check-gnattools
30738 check-gnattools:
30739 @: $(MAKE); $(unstage)
30740 @r=`${PWD_COMMAND}`; export r; \
30741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30742 $(HOST_EXPORTS) \
30743 (cd $(HOST_SUBDIR)/gnattools && \
30744 $(MAKE) $(FLAGS_TO_PASS) check)
30746 @endif gnattools
30748 .PHONY: install-gnattools maybe-install-gnattools
30749 maybe-install-gnattools:
30750 @if gnattools
30751 maybe-install-gnattools: install-gnattools
30753 install-gnattools: installdirs
30754 @: $(MAKE); $(unstage)
30755 @r=`${PWD_COMMAND}`; export r; \
30756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30757 $(HOST_EXPORTS) \
30758 (cd $(HOST_SUBDIR)/gnattools && \
30759 $(MAKE) $(FLAGS_TO_PASS) install)
30761 @endif gnattools
30763 # Other targets (info, dvi, etc.)
30765 .PHONY: maybe-info-gnattools info-gnattools
30766 maybe-info-gnattools:
30767 @if gnattools
30768 maybe-info-gnattools: info-gnattools
30770 info-gnattools: \
30771 configure-gnattools
30772 @: $(MAKE); $(unstage)
30773 @[ -f ./gnattools/Makefile ] || exit 0; \
30774 r=`${PWD_COMMAND}`; export r; \
30775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30776 $(HOST_EXPORTS) \
30777 for flag in $(EXTRA_HOST_FLAGS) ; do \
30778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30779 done; \
30780 echo "Doing info in gnattools" ; \
30781 (cd $(HOST_SUBDIR)/gnattools && \
30782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30784 "RANLIB=$${RANLIB}" \
30785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30786 info) \
30787 || exit 1
30789 @endif gnattools
30791 .PHONY: maybe-dvi-gnattools dvi-gnattools
30792 maybe-dvi-gnattools:
30793 @if gnattools
30794 maybe-dvi-gnattools: dvi-gnattools
30796 dvi-gnattools: \
30797 configure-gnattools
30798 @: $(MAKE); $(unstage)
30799 @[ -f ./gnattools/Makefile ] || exit 0; \
30800 r=`${PWD_COMMAND}`; export r; \
30801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30802 $(HOST_EXPORTS) \
30803 for flag in $(EXTRA_HOST_FLAGS) ; do \
30804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30805 done; \
30806 echo "Doing dvi in gnattools" ; \
30807 (cd $(HOST_SUBDIR)/gnattools && \
30808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30810 "RANLIB=$${RANLIB}" \
30811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30812 dvi) \
30813 || exit 1
30815 @endif gnattools
30817 .PHONY: maybe-html-gnattools html-gnattools
30818 maybe-html-gnattools:
30819 @if gnattools
30820 maybe-html-gnattools: html-gnattools
30822 html-gnattools: \
30823 configure-gnattools
30824 @: $(MAKE); $(unstage)
30825 @[ -f ./gnattools/Makefile ] || exit 0; \
30826 r=`${PWD_COMMAND}`; export r; \
30827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30828 $(HOST_EXPORTS) \
30829 for flag in $(EXTRA_HOST_FLAGS) ; do \
30830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30831 done; \
30832 echo "Doing html in gnattools" ; \
30833 (cd $(HOST_SUBDIR)/gnattools && \
30834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30836 "RANLIB=$${RANLIB}" \
30837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30838 html) \
30839 || exit 1
30841 @endif gnattools
30843 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30844 maybe-TAGS-gnattools:
30845 @if gnattools
30846 maybe-TAGS-gnattools: TAGS-gnattools
30848 TAGS-gnattools: \
30849 configure-gnattools
30850 @: $(MAKE); $(unstage)
30851 @[ -f ./gnattools/Makefile ] || exit 0; \
30852 r=`${PWD_COMMAND}`; export r; \
30853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 $(HOST_EXPORTS) \
30855 for flag in $(EXTRA_HOST_FLAGS) ; do \
30856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30857 done; \
30858 echo "Doing TAGS in gnattools" ; \
30859 (cd $(HOST_SUBDIR)/gnattools && \
30860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30862 "RANLIB=$${RANLIB}" \
30863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30864 TAGS) \
30865 || exit 1
30867 @endif gnattools
30869 .PHONY: maybe-install-info-gnattools install-info-gnattools
30870 maybe-install-info-gnattools:
30871 @if gnattools
30872 maybe-install-info-gnattools: install-info-gnattools
30874 install-info-gnattools: \
30875 configure-gnattools \
30876 info-gnattools
30877 @: $(MAKE); $(unstage)
30878 @[ -f ./gnattools/Makefile ] || exit 0; \
30879 r=`${PWD_COMMAND}`; export r; \
30880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30881 $(HOST_EXPORTS) \
30882 for flag in $(EXTRA_HOST_FLAGS) ; do \
30883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30884 done; \
30885 echo "Doing install-info in gnattools" ; \
30886 (cd $(HOST_SUBDIR)/gnattools && \
30887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30889 "RANLIB=$${RANLIB}" \
30890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30891 install-info) \
30892 || exit 1
30894 @endif gnattools
30896 .PHONY: maybe-install-html-gnattools install-html-gnattools
30897 maybe-install-html-gnattools:
30898 @if gnattools
30899 maybe-install-html-gnattools: install-html-gnattools
30901 install-html-gnattools: \
30902 configure-gnattools \
30903 html-gnattools
30904 @: $(MAKE); $(unstage)
30905 @[ -f ./gnattools/Makefile ] || exit 0; \
30906 r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(HOST_EXPORTS) \
30909 for flag in $(EXTRA_HOST_FLAGS) ; do \
30910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30911 done; \
30912 echo "Doing install-html in gnattools" ; \
30913 (cd $(HOST_SUBDIR)/gnattools && \
30914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30916 "RANLIB=$${RANLIB}" \
30917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30918 install-html) \
30919 || exit 1
30921 @endif gnattools
30923 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30924 maybe-installcheck-gnattools:
30925 @if gnattools
30926 maybe-installcheck-gnattools: installcheck-gnattools
30928 installcheck-gnattools: \
30929 configure-gnattools
30930 @: $(MAKE); $(unstage)
30931 @[ -f ./gnattools/Makefile ] || exit 0; \
30932 r=`${PWD_COMMAND}`; export r; \
30933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30934 $(HOST_EXPORTS) \
30935 for flag in $(EXTRA_HOST_FLAGS) ; do \
30936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30937 done; \
30938 echo "Doing installcheck in gnattools" ; \
30939 (cd $(HOST_SUBDIR)/gnattools && \
30940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30942 "RANLIB=$${RANLIB}" \
30943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30944 installcheck) \
30945 || exit 1
30947 @endif gnattools
30949 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30950 maybe-mostlyclean-gnattools:
30951 @if gnattools
30952 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30954 mostlyclean-gnattools:
30955 @: $(MAKE); $(unstage)
30956 @[ -f ./gnattools/Makefile ] || exit 0; \
30957 r=`${PWD_COMMAND}`; export r; \
30958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30959 $(HOST_EXPORTS) \
30960 for flag in $(EXTRA_HOST_FLAGS) ; do \
30961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30962 done; \
30963 echo "Doing mostlyclean in gnattools" ; \
30964 (cd $(HOST_SUBDIR)/gnattools && \
30965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30967 "RANLIB=$${RANLIB}" \
30968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30969 mostlyclean) \
30970 || exit 1
30972 @endif gnattools
30974 .PHONY: maybe-clean-gnattools clean-gnattools
30975 maybe-clean-gnattools:
30976 @if gnattools
30977 maybe-clean-gnattools: clean-gnattools
30979 clean-gnattools:
30980 @: $(MAKE); $(unstage)
30981 @[ -f ./gnattools/Makefile ] || exit 0; \
30982 r=`${PWD_COMMAND}`; export r; \
30983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30984 $(HOST_EXPORTS) \
30985 for flag in $(EXTRA_HOST_FLAGS) ; do \
30986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30987 done; \
30988 echo "Doing clean in gnattools" ; \
30989 (cd $(HOST_SUBDIR)/gnattools && \
30990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30992 "RANLIB=$${RANLIB}" \
30993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30994 clean) \
30995 || exit 1
30997 @endif gnattools
30999 .PHONY: maybe-distclean-gnattools distclean-gnattools
31000 maybe-distclean-gnattools:
31001 @if gnattools
31002 maybe-distclean-gnattools: distclean-gnattools
31004 distclean-gnattools:
31005 @: $(MAKE); $(unstage)
31006 @[ -f ./gnattools/Makefile ] || exit 0; \
31007 r=`${PWD_COMMAND}`; export r; \
31008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31009 $(HOST_EXPORTS) \
31010 for flag in $(EXTRA_HOST_FLAGS) ; do \
31011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31012 done; \
31013 echo "Doing distclean in gnattools" ; \
31014 (cd $(HOST_SUBDIR)/gnattools && \
31015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31017 "RANLIB=$${RANLIB}" \
31018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31019 distclean) \
31020 || exit 1
31022 @endif gnattools
31024 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31025 maybe-maintainer-clean-gnattools:
31026 @if gnattools
31027 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31029 maintainer-clean-gnattools:
31030 @: $(MAKE); $(unstage)
31031 @[ -f ./gnattools/Makefile ] || exit 0; \
31032 r=`${PWD_COMMAND}`; export r; \
31033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31034 $(HOST_EXPORTS) \
31035 for flag in $(EXTRA_HOST_FLAGS) ; do \
31036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31037 done; \
31038 echo "Doing maintainer-clean in gnattools" ; \
31039 (cd $(HOST_SUBDIR)/gnattools && \
31040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31042 "RANLIB=$${RANLIB}" \
31043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31044 maintainer-clean) \
31045 || exit 1
31047 @endif gnattools
31051 # ---------------------------------------
31052 # Modules which run on the target machine
31053 # ---------------------------------------
31058 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31059 maybe-configure-target-libstdc++-v3:
31060 @if target-libstdc++-v3
31061 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31062 configure-target-libstdc++-v3:
31063 @: $(MAKE); $(unstage)
31064 @r=`${PWD_COMMAND}`; export r; \
31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31066 echo "Checking multilib configuration for libstdc++-v3..."; \
31067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31068 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31069 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31070 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31071 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31072 else \
31073 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31074 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31075 fi; \
31076 else \
31077 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31078 fi; \
31079 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31081 $(RAW_CXX_TARGET_EXPORTS) \
31082 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31083 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31084 case $(srcdir) in \
31085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31086 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31088 esac; \
31089 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31090 libsrcdir="$$s/libstdc++-v3"; \
31091 rm -f no-such-file || : ; \
31092 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31093 $(TARGET_CONFIGARGS) $${srcdiroption} \
31094 || exit 1
31095 @endif target-libstdc++-v3
31101 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31102 maybe-all-target-libstdc++-v3:
31103 @if target-libstdc++-v3
31104 TARGET-target-libstdc++-v3=all
31105 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31106 all-target-libstdc++-v3: configure-target-libstdc++-v3
31107 @: $(MAKE); $(unstage)
31108 @r=`${PWD_COMMAND}`; export r; \
31109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31110 $(RAW_CXX_TARGET_EXPORTS) \
31111 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31112 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
31113 @endif target-libstdc++-v3
31119 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31120 maybe-check-target-libstdc++-v3:
31121 @if target-libstdc++-v3
31122 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31124 check-target-libstdc++-v3:
31125 @: $(MAKE); $(unstage)
31126 @r=`${PWD_COMMAND}`; export r; \
31127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31128 $(RAW_CXX_TARGET_EXPORTS) \
31129 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31130 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31132 @endif target-libstdc++-v3
31134 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31135 maybe-install-target-libstdc++-v3:
31136 @if target-libstdc++-v3
31137 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31139 install-target-libstdc++-v3: installdirs
31140 @: $(MAKE); $(unstage)
31141 @r=`${PWD_COMMAND}`; export r; \
31142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31143 $(RAW_CXX_TARGET_EXPORTS) \
31144 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31145 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31147 @endif target-libstdc++-v3
31149 # Other targets (info, dvi, etc.)
31151 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31152 maybe-info-target-libstdc++-v3:
31153 @if target-libstdc++-v3
31154 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31156 info-target-libstdc++-v3: \
31157 configure-target-libstdc++-v3
31158 @: $(MAKE); $(unstage)
31159 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31160 r=`${PWD_COMMAND}`; export r; \
31161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31162 $(RAW_CXX_TARGET_EXPORTS) \
31163 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31164 for flag in $(EXTRA_TARGET_FLAGS); do \
31165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31166 done; \
31167 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31170 "RANLIB=$${RANLIB}" \
31171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31172 info) \
31173 || exit 1
31175 @endif target-libstdc++-v3
31177 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31178 maybe-dvi-target-libstdc++-v3:
31179 @if target-libstdc++-v3
31180 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31182 dvi-target-libstdc++-v3: \
31183 configure-target-libstdc++-v3
31184 @: $(MAKE); $(unstage)
31185 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31186 r=`${PWD_COMMAND}`; export r; \
31187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31188 $(RAW_CXX_TARGET_EXPORTS) \
31189 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31190 for flag in $(EXTRA_TARGET_FLAGS); do \
31191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31192 done; \
31193 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31196 "RANLIB=$${RANLIB}" \
31197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31198 dvi) \
31199 || exit 1
31201 @endif target-libstdc++-v3
31203 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31204 maybe-html-target-libstdc++-v3:
31205 @if target-libstdc++-v3
31206 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31208 html-target-libstdc++-v3: \
31209 configure-target-libstdc++-v3
31210 @: $(MAKE); $(unstage)
31211 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31212 r=`${PWD_COMMAND}`; export r; \
31213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31214 $(RAW_CXX_TARGET_EXPORTS) \
31215 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31216 for flag in $(EXTRA_TARGET_FLAGS); do \
31217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31218 done; \
31219 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31222 "RANLIB=$${RANLIB}" \
31223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31224 html) \
31225 || exit 1
31227 @endif target-libstdc++-v3
31229 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31230 maybe-TAGS-target-libstdc++-v3:
31231 @if target-libstdc++-v3
31232 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31234 TAGS-target-libstdc++-v3: \
31235 configure-target-libstdc++-v3
31236 @: $(MAKE); $(unstage)
31237 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31238 r=`${PWD_COMMAND}`; export r; \
31239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31240 $(RAW_CXX_TARGET_EXPORTS) \
31241 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31242 for flag in $(EXTRA_TARGET_FLAGS); do \
31243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31244 done; \
31245 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31248 "RANLIB=$${RANLIB}" \
31249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31250 TAGS) \
31251 || exit 1
31253 @endif target-libstdc++-v3
31255 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31256 maybe-install-info-target-libstdc++-v3:
31257 @if target-libstdc++-v3
31258 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31260 install-info-target-libstdc++-v3: \
31261 configure-target-libstdc++-v3 \
31262 info-target-libstdc++-v3
31263 @: $(MAKE); $(unstage)
31264 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31265 r=`${PWD_COMMAND}`; export r; \
31266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31267 $(RAW_CXX_TARGET_EXPORTS) \
31268 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31269 for flag in $(EXTRA_TARGET_FLAGS); do \
31270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31271 done; \
31272 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31275 "RANLIB=$${RANLIB}" \
31276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31277 install-info) \
31278 || exit 1
31280 @endif target-libstdc++-v3
31282 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31283 maybe-install-html-target-libstdc++-v3:
31284 @if target-libstdc++-v3
31285 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31287 install-html-target-libstdc++-v3: \
31288 configure-target-libstdc++-v3 \
31289 html-target-libstdc++-v3
31290 @: $(MAKE); $(unstage)
31291 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31292 r=`${PWD_COMMAND}`; export r; \
31293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31294 $(RAW_CXX_TARGET_EXPORTS) \
31295 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31296 for flag in $(EXTRA_TARGET_FLAGS); do \
31297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31298 done; \
31299 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31302 "RANLIB=$${RANLIB}" \
31303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31304 install-html) \
31305 || exit 1
31307 @endif target-libstdc++-v3
31309 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31310 maybe-installcheck-target-libstdc++-v3:
31311 @if target-libstdc++-v3
31312 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31314 installcheck-target-libstdc++-v3: \
31315 configure-target-libstdc++-v3
31316 @: $(MAKE); $(unstage)
31317 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31318 r=`${PWD_COMMAND}`; export r; \
31319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31320 $(RAW_CXX_TARGET_EXPORTS) \
31321 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31322 for flag in $(EXTRA_TARGET_FLAGS); do \
31323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31324 done; \
31325 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31328 "RANLIB=$${RANLIB}" \
31329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31330 installcheck) \
31331 || exit 1
31333 @endif target-libstdc++-v3
31335 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31336 maybe-mostlyclean-target-libstdc++-v3:
31337 @if target-libstdc++-v3
31338 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31340 mostlyclean-target-libstdc++-v3:
31341 @: $(MAKE); $(unstage)
31342 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31343 r=`${PWD_COMMAND}`; export r; \
31344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31345 $(RAW_CXX_TARGET_EXPORTS) \
31346 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31347 for flag in $(EXTRA_TARGET_FLAGS); do \
31348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31349 done; \
31350 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31353 "RANLIB=$${RANLIB}" \
31354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31355 mostlyclean) \
31356 || exit 1
31358 @endif target-libstdc++-v3
31360 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31361 maybe-clean-target-libstdc++-v3:
31362 @if target-libstdc++-v3
31363 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31365 clean-target-libstdc++-v3:
31366 @: $(MAKE); $(unstage)
31367 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31368 r=`${PWD_COMMAND}`; export r; \
31369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31370 $(RAW_CXX_TARGET_EXPORTS) \
31371 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31372 for flag in $(EXTRA_TARGET_FLAGS); do \
31373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31374 done; \
31375 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31378 "RANLIB=$${RANLIB}" \
31379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31380 clean) \
31381 || exit 1
31383 @endif target-libstdc++-v3
31385 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31386 maybe-distclean-target-libstdc++-v3:
31387 @if target-libstdc++-v3
31388 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31390 distclean-target-libstdc++-v3:
31391 @: $(MAKE); $(unstage)
31392 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31393 r=`${PWD_COMMAND}`; export r; \
31394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31395 $(RAW_CXX_TARGET_EXPORTS) \
31396 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31397 for flag in $(EXTRA_TARGET_FLAGS); do \
31398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31399 done; \
31400 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31403 "RANLIB=$${RANLIB}" \
31404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31405 distclean) \
31406 || exit 1
31408 @endif target-libstdc++-v3
31410 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31411 maybe-maintainer-clean-target-libstdc++-v3:
31412 @if target-libstdc++-v3
31413 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31415 maintainer-clean-target-libstdc++-v3:
31416 @: $(MAKE); $(unstage)
31417 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(RAW_CXX_TARGET_EXPORTS) \
31421 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31430 maintainer-clean) \
31431 || exit 1
31433 @endif target-libstdc++-v3
31439 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31440 maybe-configure-target-libmudflap:
31441 @if target-libmudflap
31442 maybe-configure-target-libmudflap: configure-target-libmudflap
31443 configure-target-libmudflap:
31444 @: $(MAKE); $(unstage)
31445 @r=`${PWD_COMMAND}`; export r; \
31446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31447 echo "Checking multilib configuration for libmudflap..."; \
31448 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31449 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31450 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31451 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31452 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31453 else \
31454 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31455 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31456 fi; \
31457 else \
31458 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31459 fi; \
31460 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31462 $(NORMAL_TARGET_EXPORTS) \
31463 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31464 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31465 case $(srcdir) in \
31466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31467 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31469 esac; \
31470 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31471 libsrcdir="$$s/libmudflap"; \
31472 rm -f no-such-file || : ; \
31473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31474 $(TARGET_CONFIGARGS) $${srcdiroption} \
31475 || exit 1
31476 @endif target-libmudflap
31482 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31483 maybe-all-target-libmudflap:
31484 @if target-libmudflap
31485 TARGET-target-libmudflap=all
31486 maybe-all-target-libmudflap: all-target-libmudflap
31487 all-target-libmudflap: configure-target-libmudflap
31488 @: $(MAKE); $(unstage)
31489 @r=`${PWD_COMMAND}`; export r; \
31490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31491 $(NORMAL_TARGET_EXPORTS) \
31492 (cd $(TARGET_SUBDIR)/libmudflap && \
31493 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
31494 @endif target-libmudflap
31500 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31501 maybe-check-target-libmudflap:
31502 @if target-libmudflap
31503 maybe-check-target-libmudflap: check-target-libmudflap
31505 check-target-libmudflap:
31506 @: $(MAKE); $(unstage)
31507 @r=`${PWD_COMMAND}`; export r; \
31508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31509 $(NORMAL_TARGET_EXPORTS) \
31510 (cd $(TARGET_SUBDIR)/libmudflap && \
31511 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31513 @endif target-libmudflap
31515 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31516 maybe-install-target-libmudflap:
31517 @if target-libmudflap
31518 maybe-install-target-libmudflap: install-target-libmudflap
31520 install-target-libmudflap: installdirs
31521 @: $(MAKE); $(unstage)
31522 @r=`${PWD_COMMAND}`; export r; \
31523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31524 $(NORMAL_TARGET_EXPORTS) \
31525 (cd $(TARGET_SUBDIR)/libmudflap && \
31526 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31528 @endif target-libmudflap
31530 # Other targets (info, dvi, etc.)
31532 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31533 maybe-info-target-libmudflap:
31534 @if target-libmudflap
31535 maybe-info-target-libmudflap: info-target-libmudflap
31537 info-target-libmudflap: \
31538 configure-target-libmudflap
31539 @: $(MAKE); $(unstage)
31540 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31541 r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(NORMAL_TARGET_EXPORTS) \
31544 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31545 for flag in $(EXTRA_TARGET_FLAGS); do \
31546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31547 done; \
31548 (cd $(TARGET_SUBDIR)/libmudflap && \
31549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31551 "RANLIB=$${RANLIB}" \
31552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31553 info) \
31554 || exit 1
31556 @endif target-libmudflap
31558 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31559 maybe-dvi-target-libmudflap:
31560 @if target-libmudflap
31561 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31563 dvi-target-libmudflap: \
31564 configure-target-libmudflap
31565 @: $(MAKE); $(unstage)
31566 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31567 r=`${PWD_COMMAND}`; export r; \
31568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31569 $(NORMAL_TARGET_EXPORTS) \
31570 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31571 for flag in $(EXTRA_TARGET_FLAGS); do \
31572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31573 done; \
31574 (cd $(TARGET_SUBDIR)/libmudflap && \
31575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31577 "RANLIB=$${RANLIB}" \
31578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31579 dvi) \
31580 || exit 1
31582 @endif target-libmudflap
31584 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31585 maybe-html-target-libmudflap:
31586 @if target-libmudflap
31587 maybe-html-target-libmudflap: html-target-libmudflap
31589 html-target-libmudflap: \
31590 configure-target-libmudflap
31591 @: $(MAKE); $(unstage)
31592 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31593 r=`${PWD_COMMAND}`; export r; \
31594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31595 $(NORMAL_TARGET_EXPORTS) \
31596 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31597 for flag in $(EXTRA_TARGET_FLAGS); do \
31598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31599 done; \
31600 (cd $(TARGET_SUBDIR)/libmudflap && \
31601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31603 "RANLIB=$${RANLIB}" \
31604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31605 html) \
31606 || exit 1
31608 @endif target-libmudflap
31610 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31611 maybe-TAGS-target-libmudflap:
31612 @if target-libmudflap
31613 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31615 TAGS-target-libmudflap: \
31616 configure-target-libmudflap
31617 @: $(MAKE); $(unstage)
31618 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31619 r=`${PWD_COMMAND}`; export r; \
31620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31621 $(NORMAL_TARGET_EXPORTS) \
31622 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31623 for flag in $(EXTRA_TARGET_FLAGS); do \
31624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31625 done; \
31626 (cd $(TARGET_SUBDIR)/libmudflap && \
31627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31629 "RANLIB=$${RANLIB}" \
31630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31631 TAGS) \
31632 || exit 1
31634 @endif target-libmudflap
31636 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31637 maybe-install-info-target-libmudflap:
31638 @if target-libmudflap
31639 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31641 install-info-target-libmudflap: \
31642 configure-target-libmudflap \
31643 info-target-libmudflap
31644 @: $(MAKE); $(unstage)
31645 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31646 r=`${PWD_COMMAND}`; export r; \
31647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31648 $(NORMAL_TARGET_EXPORTS) \
31649 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31650 for flag in $(EXTRA_TARGET_FLAGS); do \
31651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31652 done; \
31653 (cd $(TARGET_SUBDIR)/libmudflap && \
31654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31656 "RANLIB=$${RANLIB}" \
31657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31658 install-info) \
31659 || exit 1
31661 @endif target-libmudflap
31663 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31664 maybe-install-html-target-libmudflap:
31665 @if target-libmudflap
31666 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31668 install-html-target-libmudflap: \
31669 configure-target-libmudflap \
31670 html-target-libmudflap
31671 @: $(MAKE); $(unstage)
31672 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31673 r=`${PWD_COMMAND}`; export r; \
31674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31675 $(NORMAL_TARGET_EXPORTS) \
31676 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31677 for flag in $(EXTRA_TARGET_FLAGS); do \
31678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31679 done; \
31680 (cd $(TARGET_SUBDIR)/libmudflap && \
31681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31683 "RANLIB=$${RANLIB}" \
31684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31685 install-html) \
31686 || exit 1
31688 @endif target-libmudflap
31690 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31691 maybe-installcheck-target-libmudflap:
31692 @if target-libmudflap
31693 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31695 installcheck-target-libmudflap: \
31696 configure-target-libmudflap
31697 @: $(MAKE); $(unstage)
31698 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31699 r=`${PWD_COMMAND}`; export r; \
31700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31701 $(NORMAL_TARGET_EXPORTS) \
31702 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31703 for flag in $(EXTRA_TARGET_FLAGS); do \
31704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31705 done; \
31706 (cd $(TARGET_SUBDIR)/libmudflap && \
31707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31709 "RANLIB=$${RANLIB}" \
31710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31711 installcheck) \
31712 || exit 1
31714 @endif target-libmudflap
31716 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31717 maybe-mostlyclean-target-libmudflap:
31718 @if target-libmudflap
31719 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31721 mostlyclean-target-libmudflap:
31722 @: $(MAKE); $(unstage)
31723 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31724 r=`${PWD_COMMAND}`; export r; \
31725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31726 $(NORMAL_TARGET_EXPORTS) \
31727 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31728 for flag in $(EXTRA_TARGET_FLAGS); do \
31729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31730 done; \
31731 (cd $(TARGET_SUBDIR)/libmudflap && \
31732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31734 "RANLIB=$${RANLIB}" \
31735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31736 mostlyclean) \
31737 || exit 1
31739 @endif target-libmudflap
31741 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31742 maybe-clean-target-libmudflap:
31743 @if target-libmudflap
31744 maybe-clean-target-libmudflap: clean-target-libmudflap
31746 clean-target-libmudflap:
31747 @: $(MAKE); $(unstage)
31748 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31749 r=`${PWD_COMMAND}`; export r; \
31750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31751 $(NORMAL_TARGET_EXPORTS) \
31752 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31753 for flag in $(EXTRA_TARGET_FLAGS); do \
31754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31755 done; \
31756 (cd $(TARGET_SUBDIR)/libmudflap && \
31757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31759 "RANLIB=$${RANLIB}" \
31760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31761 clean) \
31762 || exit 1
31764 @endif target-libmudflap
31766 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31767 maybe-distclean-target-libmudflap:
31768 @if target-libmudflap
31769 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31771 distclean-target-libmudflap:
31772 @: $(MAKE); $(unstage)
31773 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31774 r=`${PWD_COMMAND}`; export r; \
31775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31776 $(NORMAL_TARGET_EXPORTS) \
31777 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31778 for flag in $(EXTRA_TARGET_FLAGS); do \
31779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31780 done; \
31781 (cd $(TARGET_SUBDIR)/libmudflap && \
31782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31784 "RANLIB=$${RANLIB}" \
31785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31786 distclean) \
31787 || exit 1
31789 @endif target-libmudflap
31791 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31792 maybe-maintainer-clean-target-libmudflap:
31793 @if target-libmudflap
31794 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31796 maintainer-clean-target-libmudflap:
31797 @: $(MAKE); $(unstage)
31798 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31799 r=`${PWD_COMMAND}`; export r; \
31800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31801 $(NORMAL_TARGET_EXPORTS) \
31802 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31803 for flag in $(EXTRA_TARGET_FLAGS); do \
31804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31805 done; \
31806 (cd $(TARGET_SUBDIR)/libmudflap && \
31807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31809 "RANLIB=$${RANLIB}" \
31810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31811 maintainer-clean) \
31812 || exit 1
31814 @endif target-libmudflap
31820 .PHONY: configure-target-libssp maybe-configure-target-libssp
31821 maybe-configure-target-libssp:
31822 @if target-libssp
31823 maybe-configure-target-libssp: configure-target-libssp
31824 configure-target-libssp:
31825 @: $(MAKE); $(unstage)
31826 @r=`${PWD_COMMAND}`; export r; \
31827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31828 echo "Checking multilib configuration for libssp..."; \
31829 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31830 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31831 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31832 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31833 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31834 else \
31835 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31836 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31837 fi; \
31838 else \
31839 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31840 fi; \
31841 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31842 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31843 $(NORMAL_TARGET_EXPORTS) \
31844 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31845 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31846 case $(srcdir) in \
31847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31848 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31850 esac; \
31851 srcdiroption="--srcdir=$${topdir}/libssp"; \
31852 libsrcdir="$$s/libssp"; \
31853 rm -f no-such-file || : ; \
31854 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31855 $(TARGET_CONFIGARGS) $${srcdiroption} \
31856 || exit 1
31857 @endif target-libssp
31863 .PHONY: all-target-libssp maybe-all-target-libssp
31864 maybe-all-target-libssp:
31865 @if target-libssp
31866 TARGET-target-libssp=all
31867 maybe-all-target-libssp: all-target-libssp
31868 all-target-libssp: configure-target-libssp
31869 @: $(MAKE); $(unstage)
31870 @r=`${PWD_COMMAND}`; export r; \
31871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31872 $(NORMAL_TARGET_EXPORTS) \
31873 (cd $(TARGET_SUBDIR)/libssp && \
31874 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
31875 @endif target-libssp
31881 .PHONY: check-target-libssp maybe-check-target-libssp
31882 maybe-check-target-libssp:
31883 @if target-libssp
31884 maybe-check-target-libssp: check-target-libssp
31886 check-target-libssp:
31887 @: $(MAKE); $(unstage)
31888 @r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 $(NORMAL_TARGET_EXPORTS) \
31891 (cd $(TARGET_SUBDIR)/libssp && \
31892 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31894 @endif target-libssp
31896 .PHONY: install-target-libssp maybe-install-target-libssp
31897 maybe-install-target-libssp:
31898 @if target-libssp
31899 maybe-install-target-libssp: install-target-libssp
31901 install-target-libssp: installdirs
31902 @: $(MAKE); $(unstage)
31903 @r=`${PWD_COMMAND}`; export r; \
31904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31905 $(NORMAL_TARGET_EXPORTS) \
31906 (cd $(TARGET_SUBDIR)/libssp && \
31907 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31909 @endif target-libssp
31911 # Other targets (info, dvi, etc.)
31913 .PHONY: maybe-info-target-libssp info-target-libssp
31914 maybe-info-target-libssp:
31915 @if target-libssp
31916 maybe-info-target-libssp: info-target-libssp
31918 info-target-libssp: \
31919 configure-target-libssp
31920 @: $(MAKE); $(unstage)
31921 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31922 r=`${PWD_COMMAND}`; export r; \
31923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31924 $(NORMAL_TARGET_EXPORTS) \
31925 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31926 for flag in $(EXTRA_TARGET_FLAGS); do \
31927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31928 done; \
31929 (cd $(TARGET_SUBDIR)/libssp && \
31930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31932 "RANLIB=$${RANLIB}" \
31933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31934 info) \
31935 || exit 1
31937 @endif target-libssp
31939 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31940 maybe-dvi-target-libssp:
31941 @if target-libssp
31942 maybe-dvi-target-libssp: dvi-target-libssp
31944 dvi-target-libssp: \
31945 configure-target-libssp
31946 @: $(MAKE); $(unstage)
31947 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31948 r=`${PWD_COMMAND}`; export r; \
31949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31950 $(NORMAL_TARGET_EXPORTS) \
31951 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31952 for flag in $(EXTRA_TARGET_FLAGS); do \
31953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31954 done; \
31955 (cd $(TARGET_SUBDIR)/libssp && \
31956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31958 "RANLIB=$${RANLIB}" \
31959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31960 dvi) \
31961 || exit 1
31963 @endif target-libssp
31965 .PHONY: maybe-html-target-libssp html-target-libssp
31966 maybe-html-target-libssp:
31967 @if target-libssp
31968 maybe-html-target-libssp: html-target-libssp
31970 html-target-libssp: \
31971 configure-target-libssp
31972 @: $(MAKE); $(unstage)
31973 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31974 r=`${PWD_COMMAND}`; export r; \
31975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31976 $(NORMAL_TARGET_EXPORTS) \
31977 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31978 for flag in $(EXTRA_TARGET_FLAGS); do \
31979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31980 done; \
31981 (cd $(TARGET_SUBDIR)/libssp && \
31982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31984 "RANLIB=$${RANLIB}" \
31985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31986 html) \
31987 || exit 1
31989 @endif target-libssp
31991 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31992 maybe-TAGS-target-libssp:
31993 @if target-libssp
31994 maybe-TAGS-target-libssp: TAGS-target-libssp
31996 TAGS-target-libssp: \
31997 configure-target-libssp
31998 @: $(MAKE); $(unstage)
31999 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32000 r=`${PWD_COMMAND}`; export r; \
32001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32002 $(NORMAL_TARGET_EXPORTS) \
32003 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32004 for flag in $(EXTRA_TARGET_FLAGS); do \
32005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32006 done; \
32007 (cd $(TARGET_SUBDIR)/libssp && \
32008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32010 "RANLIB=$${RANLIB}" \
32011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32012 TAGS) \
32013 || exit 1
32015 @endif target-libssp
32017 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32018 maybe-install-info-target-libssp:
32019 @if target-libssp
32020 maybe-install-info-target-libssp: install-info-target-libssp
32022 install-info-target-libssp: \
32023 configure-target-libssp \
32024 info-target-libssp
32025 @: $(MAKE); $(unstage)
32026 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32027 r=`${PWD_COMMAND}`; export r; \
32028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32029 $(NORMAL_TARGET_EXPORTS) \
32030 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32031 for flag in $(EXTRA_TARGET_FLAGS); do \
32032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32033 done; \
32034 (cd $(TARGET_SUBDIR)/libssp && \
32035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32037 "RANLIB=$${RANLIB}" \
32038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32039 install-info) \
32040 || exit 1
32042 @endif target-libssp
32044 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32045 maybe-install-html-target-libssp:
32046 @if target-libssp
32047 maybe-install-html-target-libssp: install-html-target-libssp
32049 install-html-target-libssp: \
32050 configure-target-libssp \
32051 html-target-libssp
32052 @: $(MAKE); $(unstage)
32053 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32054 r=`${PWD_COMMAND}`; export r; \
32055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32056 $(NORMAL_TARGET_EXPORTS) \
32057 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32058 for flag in $(EXTRA_TARGET_FLAGS); do \
32059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32060 done; \
32061 (cd $(TARGET_SUBDIR)/libssp && \
32062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32064 "RANLIB=$${RANLIB}" \
32065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32066 install-html) \
32067 || exit 1
32069 @endif target-libssp
32071 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32072 maybe-installcheck-target-libssp:
32073 @if target-libssp
32074 maybe-installcheck-target-libssp: installcheck-target-libssp
32076 installcheck-target-libssp: \
32077 configure-target-libssp
32078 @: $(MAKE); $(unstage)
32079 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32080 r=`${PWD_COMMAND}`; export r; \
32081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32082 $(NORMAL_TARGET_EXPORTS) \
32083 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32084 for flag in $(EXTRA_TARGET_FLAGS); do \
32085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32086 done; \
32087 (cd $(TARGET_SUBDIR)/libssp && \
32088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32090 "RANLIB=$${RANLIB}" \
32091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32092 installcheck) \
32093 || exit 1
32095 @endif target-libssp
32097 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32098 maybe-mostlyclean-target-libssp:
32099 @if target-libssp
32100 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32102 mostlyclean-target-libssp:
32103 @: $(MAKE); $(unstage)
32104 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32105 r=`${PWD_COMMAND}`; export r; \
32106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32107 $(NORMAL_TARGET_EXPORTS) \
32108 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32109 for flag in $(EXTRA_TARGET_FLAGS); do \
32110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32111 done; \
32112 (cd $(TARGET_SUBDIR)/libssp && \
32113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32115 "RANLIB=$${RANLIB}" \
32116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32117 mostlyclean) \
32118 || exit 1
32120 @endif target-libssp
32122 .PHONY: maybe-clean-target-libssp clean-target-libssp
32123 maybe-clean-target-libssp:
32124 @if target-libssp
32125 maybe-clean-target-libssp: clean-target-libssp
32127 clean-target-libssp:
32128 @: $(MAKE); $(unstage)
32129 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32130 r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(NORMAL_TARGET_EXPORTS) \
32133 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32134 for flag in $(EXTRA_TARGET_FLAGS); do \
32135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32136 done; \
32137 (cd $(TARGET_SUBDIR)/libssp && \
32138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32140 "RANLIB=$${RANLIB}" \
32141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32142 clean) \
32143 || exit 1
32145 @endif target-libssp
32147 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32148 maybe-distclean-target-libssp:
32149 @if target-libssp
32150 maybe-distclean-target-libssp: distclean-target-libssp
32152 distclean-target-libssp:
32153 @: $(MAKE); $(unstage)
32154 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32155 r=`${PWD_COMMAND}`; export r; \
32156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32157 $(NORMAL_TARGET_EXPORTS) \
32158 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32159 for flag in $(EXTRA_TARGET_FLAGS); do \
32160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32161 done; \
32162 (cd $(TARGET_SUBDIR)/libssp && \
32163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32165 "RANLIB=$${RANLIB}" \
32166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32167 distclean) \
32168 || exit 1
32170 @endif target-libssp
32172 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32173 maybe-maintainer-clean-target-libssp:
32174 @if target-libssp
32175 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32177 maintainer-clean-target-libssp:
32178 @: $(MAKE); $(unstage)
32179 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32180 r=`${PWD_COMMAND}`; export r; \
32181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32182 $(NORMAL_TARGET_EXPORTS) \
32183 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32184 for flag in $(EXTRA_TARGET_FLAGS); do \
32185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32186 done; \
32187 (cd $(TARGET_SUBDIR)/libssp && \
32188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32190 "RANLIB=$${RANLIB}" \
32191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32192 maintainer-clean) \
32193 || exit 1
32195 @endif target-libssp
32201 .PHONY: configure-target-newlib maybe-configure-target-newlib
32202 maybe-configure-target-newlib:
32203 @if target-newlib
32204 maybe-configure-target-newlib: configure-target-newlib
32205 configure-target-newlib:
32206 @: $(MAKE); $(unstage)
32207 @r=`${PWD_COMMAND}`; export r; \
32208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32209 echo "Checking multilib configuration for newlib..."; \
32210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32211 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32212 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32213 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32214 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32215 else \
32216 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32217 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32218 fi; \
32219 else \
32220 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32221 fi; \
32222 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32223 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32224 $(NORMAL_TARGET_EXPORTS) \
32225 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32226 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32227 case $(srcdir) in \
32228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32229 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32231 esac; \
32232 srcdiroption="--srcdir=$${topdir}/newlib"; \
32233 libsrcdir="$$s/newlib"; \
32234 rm -f no-such-file || : ; \
32235 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32236 $(TARGET_CONFIGARGS) $${srcdiroption} \
32237 || exit 1
32238 @endif target-newlib
32244 .PHONY: all-target-newlib maybe-all-target-newlib
32245 maybe-all-target-newlib:
32246 @if target-newlib
32247 TARGET-target-newlib=all
32248 maybe-all-target-newlib: all-target-newlib
32249 all-target-newlib: configure-target-newlib
32250 @: $(MAKE); $(unstage)
32251 @r=`${PWD_COMMAND}`; export r; \
32252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32253 $(NORMAL_TARGET_EXPORTS) \
32254 (cd $(TARGET_SUBDIR)/newlib && \
32255 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
32256 @endif target-newlib
32262 .PHONY: check-target-newlib maybe-check-target-newlib
32263 maybe-check-target-newlib:
32264 @if target-newlib
32265 maybe-check-target-newlib: check-target-newlib
32267 check-target-newlib:
32268 @: $(MAKE); $(unstage)
32269 @r=`${PWD_COMMAND}`; export r; \
32270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32271 $(NORMAL_TARGET_EXPORTS) \
32272 (cd $(TARGET_SUBDIR)/newlib && \
32273 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32275 @endif target-newlib
32277 .PHONY: install-target-newlib maybe-install-target-newlib
32278 maybe-install-target-newlib:
32279 @if target-newlib
32280 maybe-install-target-newlib: install-target-newlib
32282 install-target-newlib: installdirs
32283 @: $(MAKE); $(unstage)
32284 @r=`${PWD_COMMAND}`; export r; \
32285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32286 $(NORMAL_TARGET_EXPORTS) \
32287 (cd $(TARGET_SUBDIR)/newlib && \
32288 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32290 @endif target-newlib
32292 # Other targets (info, dvi, etc.)
32294 .PHONY: maybe-info-target-newlib info-target-newlib
32295 maybe-info-target-newlib:
32296 @if target-newlib
32297 maybe-info-target-newlib: info-target-newlib
32299 info-target-newlib: \
32300 configure-target-newlib
32301 @: $(MAKE); $(unstage)
32302 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32303 r=`${PWD_COMMAND}`; export r; \
32304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32305 $(NORMAL_TARGET_EXPORTS) \
32306 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32307 for flag in $(EXTRA_TARGET_FLAGS); do \
32308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32309 done; \
32310 (cd $(TARGET_SUBDIR)/newlib && \
32311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32313 "RANLIB=$${RANLIB}" \
32314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32315 info) \
32316 || exit 1
32318 @endif target-newlib
32320 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32321 maybe-dvi-target-newlib:
32322 @if target-newlib
32323 maybe-dvi-target-newlib: dvi-target-newlib
32325 dvi-target-newlib: \
32326 configure-target-newlib
32327 @: $(MAKE); $(unstage)
32328 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32329 r=`${PWD_COMMAND}`; export r; \
32330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32331 $(NORMAL_TARGET_EXPORTS) \
32332 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32333 for flag in $(EXTRA_TARGET_FLAGS); do \
32334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32335 done; \
32336 (cd $(TARGET_SUBDIR)/newlib && \
32337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32339 "RANLIB=$${RANLIB}" \
32340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32341 dvi) \
32342 || exit 1
32344 @endif target-newlib
32346 .PHONY: maybe-html-target-newlib html-target-newlib
32347 maybe-html-target-newlib:
32348 @if target-newlib
32349 maybe-html-target-newlib: html-target-newlib
32351 html-target-newlib: \
32352 configure-target-newlib
32353 @: $(MAKE); $(unstage)
32354 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32355 r=`${PWD_COMMAND}`; export r; \
32356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32357 $(NORMAL_TARGET_EXPORTS) \
32358 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32359 for flag in $(EXTRA_TARGET_FLAGS); do \
32360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32361 done; \
32362 (cd $(TARGET_SUBDIR)/newlib && \
32363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32365 "RANLIB=$${RANLIB}" \
32366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32367 html) \
32368 || exit 1
32370 @endif target-newlib
32372 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32373 maybe-TAGS-target-newlib:
32374 @if target-newlib
32375 maybe-TAGS-target-newlib: TAGS-target-newlib
32377 TAGS-target-newlib: \
32378 configure-target-newlib
32379 @: $(MAKE); $(unstage)
32380 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32381 r=`${PWD_COMMAND}`; export r; \
32382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32383 $(NORMAL_TARGET_EXPORTS) \
32384 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32385 for flag in $(EXTRA_TARGET_FLAGS); do \
32386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32387 done; \
32388 (cd $(TARGET_SUBDIR)/newlib && \
32389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32391 "RANLIB=$${RANLIB}" \
32392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32393 TAGS) \
32394 || exit 1
32396 @endif target-newlib
32398 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32399 maybe-install-info-target-newlib:
32400 @if target-newlib
32401 maybe-install-info-target-newlib: install-info-target-newlib
32403 install-info-target-newlib: \
32404 configure-target-newlib \
32405 info-target-newlib
32406 @: $(MAKE); $(unstage)
32407 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32408 r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(NORMAL_TARGET_EXPORTS) \
32411 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32412 for flag in $(EXTRA_TARGET_FLAGS); do \
32413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32414 done; \
32415 (cd $(TARGET_SUBDIR)/newlib && \
32416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32418 "RANLIB=$${RANLIB}" \
32419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32420 install-info) \
32421 || exit 1
32423 @endif target-newlib
32425 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32426 maybe-install-html-target-newlib:
32427 @if target-newlib
32428 maybe-install-html-target-newlib: install-html-target-newlib
32430 install-html-target-newlib: \
32431 configure-target-newlib \
32432 html-target-newlib
32433 @: $(MAKE); $(unstage)
32434 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32435 r=`${PWD_COMMAND}`; export r; \
32436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32437 $(NORMAL_TARGET_EXPORTS) \
32438 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32439 for flag in $(EXTRA_TARGET_FLAGS); do \
32440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32441 done; \
32442 (cd $(TARGET_SUBDIR)/newlib && \
32443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32445 "RANLIB=$${RANLIB}" \
32446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32447 install-html) \
32448 || exit 1
32450 @endif target-newlib
32452 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32453 maybe-installcheck-target-newlib:
32454 @if target-newlib
32455 maybe-installcheck-target-newlib: installcheck-target-newlib
32457 installcheck-target-newlib: \
32458 configure-target-newlib
32459 @: $(MAKE); $(unstage)
32460 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32461 r=`${PWD_COMMAND}`; export r; \
32462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32463 $(NORMAL_TARGET_EXPORTS) \
32464 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32465 for flag in $(EXTRA_TARGET_FLAGS); do \
32466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32467 done; \
32468 (cd $(TARGET_SUBDIR)/newlib && \
32469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32471 "RANLIB=$${RANLIB}" \
32472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32473 installcheck) \
32474 || exit 1
32476 @endif target-newlib
32478 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32479 maybe-mostlyclean-target-newlib:
32480 @if target-newlib
32481 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32483 mostlyclean-target-newlib:
32484 @: $(MAKE); $(unstage)
32485 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32486 r=`${PWD_COMMAND}`; export r; \
32487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32488 $(NORMAL_TARGET_EXPORTS) \
32489 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32490 for flag in $(EXTRA_TARGET_FLAGS); do \
32491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32492 done; \
32493 (cd $(TARGET_SUBDIR)/newlib && \
32494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32496 "RANLIB=$${RANLIB}" \
32497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32498 mostlyclean) \
32499 || exit 1
32501 @endif target-newlib
32503 .PHONY: maybe-clean-target-newlib clean-target-newlib
32504 maybe-clean-target-newlib:
32505 @if target-newlib
32506 maybe-clean-target-newlib: clean-target-newlib
32508 clean-target-newlib:
32509 @: $(MAKE); $(unstage)
32510 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32511 r=`${PWD_COMMAND}`; export r; \
32512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32513 $(NORMAL_TARGET_EXPORTS) \
32514 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32515 for flag in $(EXTRA_TARGET_FLAGS); do \
32516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32517 done; \
32518 (cd $(TARGET_SUBDIR)/newlib && \
32519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32521 "RANLIB=$${RANLIB}" \
32522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32523 clean) \
32524 || exit 1
32526 @endif target-newlib
32528 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32529 maybe-distclean-target-newlib:
32530 @if target-newlib
32531 maybe-distclean-target-newlib: distclean-target-newlib
32533 distclean-target-newlib:
32534 @: $(MAKE); $(unstage)
32535 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32536 r=`${PWD_COMMAND}`; export r; \
32537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32538 $(NORMAL_TARGET_EXPORTS) \
32539 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32540 for flag in $(EXTRA_TARGET_FLAGS); do \
32541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32542 done; \
32543 (cd $(TARGET_SUBDIR)/newlib && \
32544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32546 "RANLIB=$${RANLIB}" \
32547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32548 distclean) \
32549 || exit 1
32551 @endif target-newlib
32553 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32554 maybe-maintainer-clean-target-newlib:
32555 @if target-newlib
32556 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32558 maintainer-clean-target-newlib:
32559 @: $(MAKE); $(unstage)
32560 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32561 r=`${PWD_COMMAND}`; export r; \
32562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32563 $(NORMAL_TARGET_EXPORTS) \
32564 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32565 for flag in $(EXTRA_TARGET_FLAGS); do \
32566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32567 done; \
32568 (cd $(TARGET_SUBDIR)/newlib && \
32569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32571 "RANLIB=$${RANLIB}" \
32572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32573 maintainer-clean) \
32574 || exit 1
32576 @endif target-newlib
32582 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
32583 maybe-configure-target-libgfortran:
32584 @if target-libgfortran
32585 maybe-configure-target-libgfortran: configure-target-libgfortran
32586 configure-target-libgfortran:
32587 @: $(MAKE); $(unstage)
32588 @r=`${PWD_COMMAND}`; export r; \
32589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32590 echo "Checking multilib configuration for libgfortran..."; \
32591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32592 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
32593 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32594 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32595 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
32596 else \
32597 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
32598 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32599 fi; \
32600 else \
32601 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32602 fi; \
32603 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
32604 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32605 $(NORMAL_TARGET_EXPORTS) \
32606 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
32607 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
32608 case $(srcdir) in \
32609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32610 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
32611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32612 esac; \
32613 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
32614 libsrcdir="$$s/libgfortran"; \
32615 rm -f no-such-file || : ; \
32616 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32617 $(TARGET_CONFIGARGS) $${srcdiroption} \
32618 || exit 1
32619 @endif target-libgfortran
32625 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
32626 maybe-all-target-libgfortran:
32627 @if target-libgfortran
32628 TARGET-target-libgfortran=all
32629 maybe-all-target-libgfortran: all-target-libgfortran
32630 all-target-libgfortran: configure-target-libgfortran
32631 @: $(MAKE); $(unstage)
32632 @r=`${PWD_COMMAND}`; export r; \
32633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32634 $(NORMAL_TARGET_EXPORTS) \
32635 (cd $(TARGET_SUBDIR)/libgfortran && \
32636 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
32637 @endif target-libgfortran
32643 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
32644 maybe-check-target-libgfortran:
32645 @if target-libgfortran
32646 maybe-check-target-libgfortran: check-target-libgfortran
32648 check-target-libgfortran:
32649 @: $(MAKE); $(unstage)
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(NORMAL_TARGET_EXPORTS) \
32653 (cd $(TARGET_SUBDIR)/libgfortran && \
32654 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32656 @endif target-libgfortran
32658 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
32659 maybe-install-target-libgfortran:
32660 @if target-libgfortran
32661 maybe-install-target-libgfortran: install-target-libgfortran
32663 install-target-libgfortran: installdirs
32664 @: $(MAKE); $(unstage)
32665 @r=`${PWD_COMMAND}`; export r; \
32666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32667 $(NORMAL_TARGET_EXPORTS) \
32668 (cd $(TARGET_SUBDIR)/libgfortran && \
32669 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32671 @endif target-libgfortran
32673 # Other targets (info, dvi, etc.)
32675 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
32676 maybe-info-target-libgfortran:
32677 @if target-libgfortran
32678 maybe-info-target-libgfortran: info-target-libgfortran
32680 info-target-libgfortran: \
32681 configure-target-libgfortran
32682 @: $(MAKE); $(unstage)
32683 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32684 r=`${PWD_COMMAND}`; export r; \
32685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32686 $(NORMAL_TARGET_EXPORTS) \
32687 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
32688 for flag in $(EXTRA_TARGET_FLAGS); do \
32689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32690 done; \
32691 (cd $(TARGET_SUBDIR)/libgfortran && \
32692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32694 "RANLIB=$${RANLIB}" \
32695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32696 info) \
32697 || exit 1
32699 @endif target-libgfortran
32701 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
32702 maybe-dvi-target-libgfortran:
32703 @if target-libgfortran
32704 maybe-dvi-target-libgfortran: dvi-target-libgfortran
32706 dvi-target-libgfortran: \
32707 configure-target-libgfortran
32708 @: $(MAKE); $(unstage)
32709 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32710 r=`${PWD_COMMAND}`; export r; \
32711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32712 $(NORMAL_TARGET_EXPORTS) \
32713 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
32714 for flag in $(EXTRA_TARGET_FLAGS); do \
32715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32716 done; \
32717 (cd $(TARGET_SUBDIR)/libgfortran && \
32718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32720 "RANLIB=$${RANLIB}" \
32721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32722 dvi) \
32723 || exit 1
32725 @endif target-libgfortran
32727 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
32728 maybe-html-target-libgfortran:
32729 @if target-libgfortran
32730 maybe-html-target-libgfortran: html-target-libgfortran
32732 html-target-libgfortran: \
32733 configure-target-libgfortran
32734 @: $(MAKE); $(unstage)
32735 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32736 r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 $(NORMAL_TARGET_EXPORTS) \
32739 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
32740 for flag in $(EXTRA_TARGET_FLAGS); do \
32741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32742 done; \
32743 (cd $(TARGET_SUBDIR)/libgfortran && \
32744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32746 "RANLIB=$${RANLIB}" \
32747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32748 html) \
32749 || exit 1
32751 @endif target-libgfortran
32753 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
32754 maybe-TAGS-target-libgfortran:
32755 @if target-libgfortran
32756 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
32758 TAGS-target-libgfortran: \
32759 configure-target-libgfortran
32760 @: $(MAKE); $(unstage)
32761 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32762 r=`${PWD_COMMAND}`; export r; \
32763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32764 $(NORMAL_TARGET_EXPORTS) \
32765 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
32766 for flag in $(EXTRA_TARGET_FLAGS); do \
32767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32768 done; \
32769 (cd $(TARGET_SUBDIR)/libgfortran && \
32770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32772 "RANLIB=$${RANLIB}" \
32773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32774 TAGS) \
32775 || exit 1
32777 @endif target-libgfortran
32779 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
32780 maybe-install-info-target-libgfortran:
32781 @if target-libgfortran
32782 maybe-install-info-target-libgfortran: install-info-target-libgfortran
32784 install-info-target-libgfortran: \
32785 configure-target-libgfortran \
32786 info-target-libgfortran
32787 @: $(MAKE); $(unstage)
32788 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32789 r=`${PWD_COMMAND}`; export r; \
32790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32791 $(NORMAL_TARGET_EXPORTS) \
32792 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
32793 for flag in $(EXTRA_TARGET_FLAGS); do \
32794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32795 done; \
32796 (cd $(TARGET_SUBDIR)/libgfortran && \
32797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32799 "RANLIB=$${RANLIB}" \
32800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32801 install-info) \
32802 || exit 1
32804 @endif target-libgfortran
32806 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
32807 maybe-install-html-target-libgfortran:
32808 @if target-libgfortran
32809 maybe-install-html-target-libgfortran: install-html-target-libgfortran
32811 install-html-target-libgfortran: \
32812 configure-target-libgfortran \
32813 html-target-libgfortran
32814 @: $(MAKE); $(unstage)
32815 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32816 r=`${PWD_COMMAND}`; export r; \
32817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32818 $(NORMAL_TARGET_EXPORTS) \
32819 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
32820 for flag in $(EXTRA_TARGET_FLAGS); do \
32821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32822 done; \
32823 (cd $(TARGET_SUBDIR)/libgfortran && \
32824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32826 "RANLIB=$${RANLIB}" \
32827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32828 install-html) \
32829 || exit 1
32831 @endif target-libgfortran
32833 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
32834 maybe-installcheck-target-libgfortran:
32835 @if target-libgfortran
32836 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
32838 installcheck-target-libgfortran: \
32839 configure-target-libgfortran
32840 @: $(MAKE); $(unstage)
32841 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32842 r=`${PWD_COMMAND}`; export r; \
32843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32844 $(NORMAL_TARGET_EXPORTS) \
32845 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
32846 for flag in $(EXTRA_TARGET_FLAGS); do \
32847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32848 done; \
32849 (cd $(TARGET_SUBDIR)/libgfortran && \
32850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32852 "RANLIB=$${RANLIB}" \
32853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32854 installcheck) \
32855 || exit 1
32857 @endif target-libgfortran
32859 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
32860 maybe-mostlyclean-target-libgfortran:
32861 @if target-libgfortran
32862 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
32864 mostlyclean-target-libgfortran:
32865 @: $(MAKE); $(unstage)
32866 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32867 r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 $(NORMAL_TARGET_EXPORTS) \
32870 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
32871 for flag in $(EXTRA_TARGET_FLAGS); do \
32872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32873 done; \
32874 (cd $(TARGET_SUBDIR)/libgfortran && \
32875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32877 "RANLIB=$${RANLIB}" \
32878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32879 mostlyclean) \
32880 || exit 1
32882 @endif target-libgfortran
32884 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
32885 maybe-clean-target-libgfortran:
32886 @if target-libgfortran
32887 maybe-clean-target-libgfortran: clean-target-libgfortran
32889 clean-target-libgfortran:
32890 @: $(MAKE); $(unstage)
32891 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32892 r=`${PWD_COMMAND}`; export r; \
32893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32894 $(NORMAL_TARGET_EXPORTS) \
32895 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
32896 for flag in $(EXTRA_TARGET_FLAGS); do \
32897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32898 done; \
32899 (cd $(TARGET_SUBDIR)/libgfortran && \
32900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32902 "RANLIB=$${RANLIB}" \
32903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32904 clean) \
32905 || exit 1
32907 @endif target-libgfortran
32909 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
32910 maybe-distclean-target-libgfortran:
32911 @if target-libgfortran
32912 maybe-distclean-target-libgfortran: distclean-target-libgfortran
32914 distclean-target-libgfortran:
32915 @: $(MAKE); $(unstage)
32916 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32917 r=`${PWD_COMMAND}`; export r; \
32918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32919 $(NORMAL_TARGET_EXPORTS) \
32920 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
32921 for flag in $(EXTRA_TARGET_FLAGS); do \
32922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32923 done; \
32924 (cd $(TARGET_SUBDIR)/libgfortran && \
32925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32927 "RANLIB=$${RANLIB}" \
32928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32929 distclean) \
32930 || exit 1
32932 @endif target-libgfortran
32934 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
32935 maybe-maintainer-clean-target-libgfortran:
32936 @if target-libgfortran
32937 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
32939 maintainer-clean-target-libgfortran:
32940 @: $(MAKE); $(unstage)
32941 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
32942 r=`${PWD_COMMAND}`; export r; \
32943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32944 $(NORMAL_TARGET_EXPORTS) \
32945 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
32946 for flag in $(EXTRA_TARGET_FLAGS); do \
32947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32948 done; \
32949 (cd $(TARGET_SUBDIR)/libgfortran && \
32950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32952 "RANLIB=$${RANLIB}" \
32953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32954 maintainer-clean) \
32955 || exit 1
32957 @endif target-libgfortran
32963 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
32964 maybe-configure-target-libobjc:
32965 @if target-libobjc
32966 maybe-configure-target-libobjc: configure-target-libobjc
32967 configure-target-libobjc:
32968 @: $(MAKE); $(unstage)
32969 @r=`${PWD_COMMAND}`; export r; \
32970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32971 echo "Checking multilib configuration for libobjc..."; \
32972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
32973 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
32974 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
32975 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
32976 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
32977 else \
32978 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
32979 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
32980 fi; \
32981 else \
32982 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
32983 fi; \
32984 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
32985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
32986 $(NORMAL_TARGET_EXPORTS) \
32987 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
32988 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
32989 case $(srcdir) in \
32990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32991 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
32992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32993 esac; \
32994 srcdiroption="--srcdir=$${topdir}/libobjc"; \
32995 libsrcdir="$$s/libobjc"; \
32996 rm -f no-such-file || : ; \
32997 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32998 $(TARGET_CONFIGARGS) $${srcdiroption} \
32999 || exit 1
33000 @endif target-libobjc
33006 .PHONY: all-target-libobjc maybe-all-target-libobjc
33007 maybe-all-target-libobjc:
33008 @if target-libobjc
33009 TARGET-target-libobjc=all
33010 maybe-all-target-libobjc: all-target-libobjc
33011 all-target-libobjc: configure-target-libobjc
33012 @: $(MAKE); $(unstage)
33013 @r=`${PWD_COMMAND}`; export r; \
33014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33015 $(NORMAL_TARGET_EXPORTS) \
33016 (cd $(TARGET_SUBDIR)/libobjc && \
33017 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
33018 @endif target-libobjc
33024 .PHONY: check-target-libobjc maybe-check-target-libobjc
33025 maybe-check-target-libobjc:
33026 @if target-libobjc
33027 maybe-check-target-libobjc: check-target-libobjc
33029 check-target-libobjc:
33030 @: $(MAKE); $(unstage)
33031 @r=`${PWD_COMMAND}`; export r; \
33032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33033 $(NORMAL_TARGET_EXPORTS) \
33034 (cd $(TARGET_SUBDIR)/libobjc && \
33035 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33037 @endif target-libobjc
33039 .PHONY: install-target-libobjc maybe-install-target-libobjc
33040 maybe-install-target-libobjc:
33041 @if target-libobjc
33042 maybe-install-target-libobjc: install-target-libobjc
33044 install-target-libobjc: installdirs
33045 @: $(MAKE); $(unstage)
33046 @r=`${PWD_COMMAND}`; export r; \
33047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33048 $(NORMAL_TARGET_EXPORTS) \
33049 (cd $(TARGET_SUBDIR)/libobjc && \
33050 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33052 @endif target-libobjc
33054 # Other targets (info, dvi, etc.)
33056 .PHONY: maybe-info-target-libobjc info-target-libobjc
33057 maybe-info-target-libobjc:
33058 @if target-libobjc
33059 maybe-info-target-libobjc: info-target-libobjc
33061 info-target-libobjc: \
33062 configure-target-libobjc
33063 @: $(MAKE); $(unstage)
33064 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33065 r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(NORMAL_TARGET_EXPORTS) \
33068 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
33069 for flag in $(EXTRA_TARGET_FLAGS); do \
33070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33071 done; \
33072 (cd $(TARGET_SUBDIR)/libobjc && \
33073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33075 "RANLIB=$${RANLIB}" \
33076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33077 info) \
33078 || exit 1
33080 @endif target-libobjc
33082 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
33083 maybe-dvi-target-libobjc:
33084 @if target-libobjc
33085 maybe-dvi-target-libobjc: dvi-target-libobjc
33087 dvi-target-libobjc: \
33088 configure-target-libobjc
33089 @: $(MAKE); $(unstage)
33090 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33091 r=`${PWD_COMMAND}`; export r; \
33092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33093 $(NORMAL_TARGET_EXPORTS) \
33094 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
33095 for flag in $(EXTRA_TARGET_FLAGS); do \
33096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33097 done; \
33098 (cd $(TARGET_SUBDIR)/libobjc && \
33099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33101 "RANLIB=$${RANLIB}" \
33102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33103 dvi) \
33104 || exit 1
33106 @endif target-libobjc
33108 .PHONY: maybe-html-target-libobjc html-target-libobjc
33109 maybe-html-target-libobjc:
33110 @if target-libobjc
33111 maybe-html-target-libobjc: html-target-libobjc
33113 html-target-libobjc: \
33114 configure-target-libobjc
33115 @: $(MAKE); $(unstage)
33116 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33117 r=`${PWD_COMMAND}`; export r; \
33118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33119 $(NORMAL_TARGET_EXPORTS) \
33120 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
33121 for flag in $(EXTRA_TARGET_FLAGS); do \
33122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33123 done; \
33124 (cd $(TARGET_SUBDIR)/libobjc && \
33125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33127 "RANLIB=$${RANLIB}" \
33128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33129 html) \
33130 || exit 1
33132 @endif target-libobjc
33134 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
33135 maybe-TAGS-target-libobjc:
33136 @if target-libobjc
33137 maybe-TAGS-target-libobjc: TAGS-target-libobjc
33139 TAGS-target-libobjc: \
33140 configure-target-libobjc
33141 @: $(MAKE); $(unstage)
33142 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33143 r=`${PWD_COMMAND}`; export r; \
33144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33145 $(NORMAL_TARGET_EXPORTS) \
33146 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
33147 for flag in $(EXTRA_TARGET_FLAGS); do \
33148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33149 done; \
33150 (cd $(TARGET_SUBDIR)/libobjc && \
33151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33153 "RANLIB=$${RANLIB}" \
33154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33155 TAGS) \
33156 || exit 1
33158 @endif target-libobjc
33160 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
33161 maybe-install-info-target-libobjc:
33162 @if target-libobjc
33163 maybe-install-info-target-libobjc: install-info-target-libobjc
33165 install-info-target-libobjc: \
33166 configure-target-libobjc \
33167 info-target-libobjc
33168 @: $(MAKE); $(unstage)
33169 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33170 r=`${PWD_COMMAND}`; export r; \
33171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33172 $(NORMAL_TARGET_EXPORTS) \
33173 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
33174 for flag in $(EXTRA_TARGET_FLAGS); do \
33175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33176 done; \
33177 (cd $(TARGET_SUBDIR)/libobjc && \
33178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33180 "RANLIB=$${RANLIB}" \
33181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33182 install-info) \
33183 || exit 1
33185 @endif target-libobjc
33187 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
33188 maybe-install-html-target-libobjc:
33189 @if target-libobjc
33190 maybe-install-html-target-libobjc: install-html-target-libobjc
33192 install-html-target-libobjc: \
33193 configure-target-libobjc \
33194 html-target-libobjc
33195 @: $(MAKE); $(unstage)
33196 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33197 r=`${PWD_COMMAND}`; export r; \
33198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33199 $(NORMAL_TARGET_EXPORTS) \
33200 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
33201 for flag in $(EXTRA_TARGET_FLAGS); do \
33202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33203 done; \
33204 (cd $(TARGET_SUBDIR)/libobjc && \
33205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33207 "RANLIB=$${RANLIB}" \
33208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33209 install-html) \
33210 || exit 1
33212 @endif target-libobjc
33214 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
33215 maybe-installcheck-target-libobjc:
33216 @if target-libobjc
33217 maybe-installcheck-target-libobjc: installcheck-target-libobjc
33219 installcheck-target-libobjc: \
33220 configure-target-libobjc
33221 @: $(MAKE); $(unstage)
33222 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(NORMAL_TARGET_EXPORTS) \
33226 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
33227 for flag in $(EXTRA_TARGET_FLAGS); do \
33228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33229 done; \
33230 (cd $(TARGET_SUBDIR)/libobjc && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33235 installcheck) \
33236 || exit 1
33238 @endif target-libobjc
33240 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
33241 maybe-mostlyclean-target-libobjc:
33242 @if target-libobjc
33243 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
33245 mostlyclean-target-libobjc:
33246 @: $(MAKE); $(unstage)
33247 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33248 r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 $(NORMAL_TARGET_EXPORTS) \
33251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
33252 for flag in $(EXTRA_TARGET_FLAGS); do \
33253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33254 done; \
33255 (cd $(TARGET_SUBDIR)/libobjc && \
33256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33258 "RANLIB=$${RANLIB}" \
33259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33260 mostlyclean) \
33261 || exit 1
33263 @endif target-libobjc
33265 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
33266 maybe-clean-target-libobjc:
33267 @if target-libobjc
33268 maybe-clean-target-libobjc: clean-target-libobjc
33270 clean-target-libobjc:
33271 @: $(MAKE); $(unstage)
33272 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33273 r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(NORMAL_TARGET_EXPORTS) \
33276 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
33277 for flag in $(EXTRA_TARGET_FLAGS); do \
33278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33279 done; \
33280 (cd $(TARGET_SUBDIR)/libobjc && \
33281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33283 "RANLIB=$${RANLIB}" \
33284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33285 clean) \
33286 || exit 1
33288 @endif target-libobjc
33290 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
33291 maybe-distclean-target-libobjc:
33292 @if target-libobjc
33293 maybe-distclean-target-libobjc: distclean-target-libobjc
33295 distclean-target-libobjc:
33296 @: $(MAKE); $(unstage)
33297 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33298 r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 $(NORMAL_TARGET_EXPORTS) \
33301 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
33302 for flag in $(EXTRA_TARGET_FLAGS); do \
33303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33304 done; \
33305 (cd $(TARGET_SUBDIR)/libobjc && \
33306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33308 "RANLIB=$${RANLIB}" \
33309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33310 distclean) \
33311 || exit 1
33313 @endif target-libobjc
33315 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
33316 maybe-maintainer-clean-target-libobjc:
33317 @if target-libobjc
33318 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
33320 maintainer-clean-target-libobjc:
33321 @: $(MAKE); $(unstage)
33322 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33323 r=`${PWD_COMMAND}`; export r; \
33324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33325 $(NORMAL_TARGET_EXPORTS) \
33326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
33327 for flag in $(EXTRA_TARGET_FLAGS); do \
33328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33329 done; \
33330 (cd $(TARGET_SUBDIR)/libobjc && \
33331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33333 "RANLIB=$${RANLIB}" \
33334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33335 maintainer-clean) \
33336 || exit 1
33338 @endif target-libobjc
33344 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
33345 maybe-configure-target-libtermcap:
33346 @if target-libtermcap
33347 maybe-configure-target-libtermcap: configure-target-libtermcap
33348 configure-target-libtermcap:
33349 @: $(MAKE); $(unstage)
33350 @r=`${PWD_COMMAND}`; export r; \
33351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33352 echo "Checking multilib configuration for libtermcap..."; \
33353 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33354 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
33355 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33356 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33357 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
33358 else \
33359 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
33360 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33361 fi; \
33362 else \
33363 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33364 fi; \
33365 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
33366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33367 $(NORMAL_TARGET_EXPORTS) \
33368 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
33369 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
33370 case $(srcdir) in \
33371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33372 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
33373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33374 esac; \
33375 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
33376 libsrcdir="$$s/libtermcap"; \
33377 rm -f no-such-file || : ; \
33378 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33379 $(TARGET_CONFIGARGS) $${srcdiroption} \
33380 || exit 1
33381 @endif target-libtermcap
33387 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
33388 maybe-all-target-libtermcap:
33389 @if target-libtermcap
33390 TARGET-target-libtermcap=all
33391 maybe-all-target-libtermcap: all-target-libtermcap
33392 all-target-libtermcap: configure-target-libtermcap
33393 @: $(MAKE); $(unstage)
33394 @r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(NORMAL_TARGET_EXPORTS) \
33397 (cd $(TARGET_SUBDIR)/libtermcap && \
33398 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
33399 @endif target-libtermcap
33405 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
33406 maybe-check-target-libtermcap:
33407 @if target-libtermcap
33408 maybe-check-target-libtermcap: check-target-libtermcap
33410 # Dummy target for uncheckable module.
33411 check-target-libtermcap:
33413 @endif target-libtermcap
33415 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
33416 maybe-install-target-libtermcap:
33417 @if target-libtermcap
33418 maybe-install-target-libtermcap: install-target-libtermcap
33420 install-target-libtermcap: installdirs
33421 @: $(MAKE); $(unstage)
33422 @r=`${PWD_COMMAND}`; export r; \
33423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33424 $(NORMAL_TARGET_EXPORTS) \
33425 (cd $(TARGET_SUBDIR)/libtermcap && \
33426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33428 @endif target-libtermcap
33430 # Other targets (info, dvi, etc.)
33432 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
33433 maybe-info-target-libtermcap:
33434 @if target-libtermcap
33435 maybe-info-target-libtermcap: info-target-libtermcap
33437 info-target-libtermcap: \
33438 configure-target-libtermcap
33439 @: $(MAKE); $(unstage)
33440 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33441 r=`${PWD_COMMAND}`; export r; \
33442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33443 $(NORMAL_TARGET_EXPORTS) \
33444 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
33445 for flag in $(EXTRA_TARGET_FLAGS); do \
33446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33447 done; \
33448 (cd $(TARGET_SUBDIR)/libtermcap && \
33449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33451 "RANLIB=$${RANLIB}" \
33452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33453 info) \
33454 || exit 1
33456 @endif target-libtermcap
33458 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
33459 maybe-dvi-target-libtermcap:
33460 @if target-libtermcap
33461 maybe-dvi-target-libtermcap: dvi-target-libtermcap
33463 dvi-target-libtermcap: \
33464 configure-target-libtermcap
33465 @: $(MAKE); $(unstage)
33466 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33467 r=`${PWD_COMMAND}`; export r; \
33468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33469 $(NORMAL_TARGET_EXPORTS) \
33470 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
33471 for flag in $(EXTRA_TARGET_FLAGS); do \
33472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33473 done; \
33474 (cd $(TARGET_SUBDIR)/libtermcap && \
33475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33477 "RANLIB=$${RANLIB}" \
33478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33479 dvi) \
33480 || exit 1
33482 @endif target-libtermcap
33484 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
33485 maybe-html-target-libtermcap:
33486 @if target-libtermcap
33487 maybe-html-target-libtermcap: html-target-libtermcap
33489 html-target-libtermcap: \
33490 configure-target-libtermcap
33491 @: $(MAKE); $(unstage)
33492 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33493 r=`${PWD_COMMAND}`; export r; \
33494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33495 $(NORMAL_TARGET_EXPORTS) \
33496 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
33497 for flag in $(EXTRA_TARGET_FLAGS); do \
33498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33499 done; \
33500 (cd $(TARGET_SUBDIR)/libtermcap && \
33501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33503 "RANLIB=$${RANLIB}" \
33504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33505 html) \
33506 || exit 1
33508 @endif target-libtermcap
33510 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
33511 maybe-TAGS-target-libtermcap:
33512 @if target-libtermcap
33513 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
33515 TAGS-target-libtermcap: \
33516 configure-target-libtermcap
33517 @: $(MAKE); $(unstage)
33518 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33519 r=`${PWD_COMMAND}`; export r; \
33520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33521 $(NORMAL_TARGET_EXPORTS) \
33522 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
33523 for flag in $(EXTRA_TARGET_FLAGS); do \
33524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33525 done; \
33526 (cd $(TARGET_SUBDIR)/libtermcap && \
33527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33529 "RANLIB=$${RANLIB}" \
33530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33531 TAGS) \
33532 || exit 1
33534 @endif target-libtermcap
33536 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
33537 maybe-install-info-target-libtermcap:
33538 @if target-libtermcap
33539 maybe-install-info-target-libtermcap: install-info-target-libtermcap
33541 install-info-target-libtermcap: \
33542 configure-target-libtermcap \
33543 info-target-libtermcap
33544 @: $(MAKE); $(unstage)
33545 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33546 r=`${PWD_COMMAND}`; export r; \
33547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33548 $(NORMAL_TARGET_EXPORTS) \
33549 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
33550 for flag in $(EXTRA_TARGET_FLAGS); do \
33551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33552 done; \
33553 (cd $(TARGET_SUBDIR)/libtermcap && \
33554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33556 "RANLIB=$${RANLIB}" \
33557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33558 install-info) \
33559 || exit 1
33561 @endif target-libtermcap
33563 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
33564 maybe-install-html-target-libtermcap:
33565 @if target-libtermcap
33566 maybe-install-html-target-libtermcap: install-html-target-libtermcap
33568 install-html-target-libtermcap: \
33569 configure-target-libtermcap \
33570 html-target-libtermcap
33571 @: $(MAKE); $(unstage)
33572 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33573 r=`${PWD_COMMAND}`; export r; \
33574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33575 $(NORMAL_TARGET_EXPORTS) \
33576 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
33577 for flag in $(EXTRA_TARGET_FLAGS); do \
33578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33579 done; \
33580 (cd $(TARGET_SUBDIR)/libtermcap && \
33581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33583 "RANLIB=$${RANLIB}" \
33584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33585 install-html) \
33586 || exit 1
33588 @endif target-libtermcap
33590 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
33591 maybe-installcheck-target-libtermcap:
33592 @if target-libtermcap
33593 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
33595 installcheck-target-libtermcap: \
33596 configure-target-libtermcap
33597 @: $(MAKE); $(unstage)
33598 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33599 r=`${PWD_COMMAND}`; export r; \
33600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33601 $(NORMAL_TARGET_EXPORTS) \
33602 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
33603 for flag in $(EXTRA_TARGET_FLAGS); do \
33604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33605 done; \
33606 (cd $(TARGET_SUBDIR)/libtermcap && \
33607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33609 "RANLIB=$${RANLIB}" \
33610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33611 installcheck) \
33612 || exit 1
33614 @endif target-libtermcap
33616 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
33617 maybe-mostlyclean-target-libtermcap:
33618 @if target-libtermcap
33619 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
33621 # libtermcap doesn't support mostlyclean.
33622 mostlyclean-target-libtermcap:
33624 @endif target-libtermcap
33626 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
33627 maybe-clean-target-libtermcap:
33628 @if target-libtermcap
33629 maybe-clean-target-libtermcap: clean-target-libtermcap
33631 # libtermcap doesn't support clean.
33632 clean-target-libtermcap:
33634 @endif target-libtermcap
33636 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
33637 maybe-distclean-target-libtermcap:
33638 @if target-libtermcap
33639 maybe-distclean-target-libtermcap: distclean-target-libtermcap
33641 # libtermcap doesn't support distclean.
33642 distclean-target-libtermcap:
33644 @endif target-libtermcap
33646 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
33647 maybe-maintainer-clean-target-libtermcap:
33648 @if target-libtermcap
33649 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
33651 # libtermcap doesn't support maintainer-clean.
33652 maintainer-clean-target-libtermcap:
33654 @endif target-libtermcap
33660 .PHONY: configure-target-winsup maybe-configure-target-winsup
33661 maybe-configure-target-winsup:
33662 @if target-winsup
33663 maybe-configure-target-winsup: configure-target-winsup
33664 configure-target-winsup:
33665 @: $(MAKE); $(unstage)
33666 @r=`${PWD_COMMAND}`; export r; \
33667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33668 echo "Checking multilib configuration for winsup..."; \
33669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
33670 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
33671 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
33672 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
33673 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
33674 else \
33675 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
33676 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
33677 fi; \
33678 else \
33679 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
33680 fi; \
33681 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
33682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
33683 $(NORMAL_TARGET_EXPORTS) \
33684 echo Configuring in $(TARGET_SUBDIR)/winsup; \
33685 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
33686 case $(srcdir) in \
33687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33688 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
33689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33690 esac; \
33691 srcdiroption="--srcdir=$${topdir}/winsup"; \
33692 libsrcdir="$$s/winsup"; \
33693 rm -f no-such-file || : ; \
33694 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33695 $(TARGET_CONFIGARGS) $${srcdiroption} \
33696 || exit 1
33697 @endif target-winsup
33703 .PHONY: all-target-winsup maybe-all-target-winsup
33704 maybe-all-target-winsup:
33705 @if target-winsup
33706 TARGET-target-winsup=all
33707 maybe-all-target-winsup: all-target-winsup
33708 all-target-winsup: configure-target-winsup
33709 @: $(MAKE); $(unstage)
33710 @r=`${PWD_COMMAND}`; export r; \
33711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33712 $(NORMAL_TARGET_EXPORTS) \
33713 (cd $(TARGET_SUBDIR)/winsup && \
33714 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
33715 @endif target-winsup
33721 .PHONY: check-target-winsup maybe-check-target-winsup
33722 maybe-check-target-winsup:
33723 @if target-winsup
33724 maybe-check-target-winsup: check-target-winsup
33726 check-target-winsup:
33727 @: $(MAKE); $(unstage)
33728 @r=`${PWD_COMMAND}`; export r; \
33729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33730 $(NORMAL_TARGET_EXPORTS) \
33731 (cd $(TARGET_SUBDIR)/winsup && \
33732 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33734 @endif target-winsup
33736 .PHONY: install-target-winsup maybe-install-target-winsup
33737 maybe-install-target-winsup:
33738 @if target-winsup
33739 maybe-install-target-winsup: install-target-winsup
33741 install-target-winsup: installdirs
33742 @: $(MAKE); $(unstage)
33743 @r=`${PWD_COMMAND}`; export r; \
33744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33745 $(NORMAL_TARGET_EXPORTS) \
33746 (cd $(TARGET_SUBDIR)/winsup && \
33747 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33749 @endif target-winsup
33751 # Other targets (info, dvi, etc.)
33753 .PHONY: maybe-info-target-winsup info-target-winsup
33754 maybe-info-target-winsup:
33755 @if target-winsup
33756 maybe-info-target-winsup: info-target-winsup
33758 info-target-winsup: \
33759 configure-target-winsup
33760 @: $(MAKE); $(unstage)
33761 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33762 r=`${PWD_COMMAND}`; export r; \
33763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33764 $(NORMAL_TARGET_EXPORTS) \
33765 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
33766 for flag in $(EXTRA_TARGET_FLAGS); do \
33767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33768 done; \
33769 (cd $(TARGET_SUBDIR)/winsup && \
33770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33772 "RANLIB=$${RANLIB}" \
33773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33774 info) \
33775 || exit 1
33777 @endif target-winsup
33779 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
33780 maybe-dvi-target-winsup:
33781 @if target-winsup
33782 maybe-dvi-target-winsup: dvi-target-winsup
33784 dvi-target-winsup: \
33785 configure-target-winsup
33786 @: $(MAKE); $(unstage)
33787 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33788 r=`${PWD_COMMAND}`; export r; \
33789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33790 $(NORMAL_TARGET_EXPORTS) \
33791 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
33792 for flag in $(EXTRA_TARGET_FLAGS); do \
33793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33794 done; \
33795 (cd $(TARGET_SUBDIR)/winsup && \
33796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33798 "RANLIB=$${RANLIB}" \
33799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33800 dvi) \
33801 || exit 1
33803 @endif target-winsup
33805 .PHONY: maybe-html-target-winsup html-target-winsup
33806 maybe-html-target-winsup:
33807 @if target-winsup
33808 maybe-html-target-winsup: html-target-winsup
33810 html-target-winsup: \
33811 configure-target-winsup
33812 @: $(MAKE); $(unstage)
33813 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33814 r=`${PWD_COMMAND}`; export r; \
33815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33816 $(NORMAL_TARGET_EXPORTS) \
33817 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
33818 for flag in $(EXTRA_TARGET_FLAGS); do \
33819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33820 done; \
33821 (cd $(TARGET_SUBDIR)/winsup && \
33822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33824 "RANLIB=$${RANLIB}" \
33825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33826 html) \
33827 || exit 1
33829 @endif target-winsup
33831 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
33832 maybe-TAGS-target-winsup:
33833 @if target-winsup
33834 maybe-TAGS-target-winsup: TAGS-target-winsup
33836 TAGS-target-winsup: \
33837 configure-target-winsup
33838 @: $(MAKE); $(unstage)
33839 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33840 r=`${PWD_COMMAND}`; export r; \
33841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33842 $(NORMAL_TARGET_EXPORTS) \
33843 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
33844 for flag in $(EXTRA_TARGET_FLAGS); do \
33845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33846 done; \
33847 (cd $(TARGET_SUBDIR)/winsup && \
33848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33850 "RANLIB=$${RANLIB}" \
33851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33852 TAGS) \
33853 || exit 1
33855 @endif target-winsup
33857 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
33858 maybe-install-info-target-winsup:
33859 @if target-winsup
33860 maybe-install-info-target-winsup: install-info-target-winsup
33862 install-info-target-winsup: \
33863 configure-target-winsup \
33864 info-target-winsup
33865 @: $(MAKE); $(unstage)
33866 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33867 r=`${PWD_COMMAND}`; export r; \
33868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33869 $(NORMAL_TARGET_EXPORTS) \
33870 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 install-info) \
33880 || exit 1
33882 @endif target-winsup
33884 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
33885 maybe-install-html-target-winsup:
33886 @if target-winsup
33887 maybe-install-html-target-winsup: install-html-target-winsup
33889 install-html-target-winsup: \
33890 configure-target-winsup \
33891 html-target-winsup
33892 @: $(MAKE); $(unstage)
33893 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33894 r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(NORMAL_TARGET_EXPORTS) \
33897 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
33898 for flag in $(EXTRA_TARGET_FLAGS); do \
33899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33900 done; \
33901 (cd $(TARGET_SUBDIR)/winsup && \
33902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33904 "RANLIB=$${RANLIB}" \
33905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33906 install-html) \
33907 || exit 1
33909 @endif target-winsup
33911 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
33912 maybe-installcheck-target-winsup:
33913 @if target-winsup
33914 maybe-installcheck-target-winsup: installcheck-target-winsup
33916 installcheck-target-winsup: \
33917 configure-target-winsup
33918 @: $(MAKE); $(unstage)
33919 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33920 r=`${PWD_COMMAND}`; export r; \
33921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33922 $(NORMAL_TARGET_EXPORTS) \
33923 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
33924 for flag in $(EXTRA_TARGET_FLAGS); do \
33925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33926 done; \
33927 (cd $(TARGET_SUBDIR)/winsup && \
33928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33930 "RANLIB=$${RANLIB}" \
33931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33932 installcheck) \
33933 || exit 1
33935 @endif target-winsup
33937 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
33938 maybe-mostlyclean-target-winsup:
33939 @if target-winsup
33940 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
33942 mostlyclean-target-winsup:
33943 @: $(MAKE); $(unstage)
33944 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33945 r=`${PWD_COMMAND}`; export r; \
33946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33947 $(NORMAL_TARGET_EXPORTS) \
33948 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
33949 for flag in $(EXTRA_TARGET_FLAGS); do \
33950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33951 done; \
33952 (cd $(TARGET_SUBDIR)/winsup && \
33953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33955 "RANLIB=$${RANLIB}" \
33956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33957 mostlyclean) \
33958 || exit 1
33960 @endif target-winsup
33962 .PHONY: maybe-clean-target-winsup clean-target-winsup
33963 maybe-clean-target-winsup:
33964 @if target-winsup
33965 maybe-clean-target-winsup: clean-target-winsup
33967 clean-target-winsup:
33968 @: $(MAKE); $(unstage)
33969 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33970 r=`${PWD_COMMAND}`; export r; \
33971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33972 $(NORMAL_TARGET_EXPORTS) \
33973 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
33974 for flag in $(EXTRA_TARGET_FLAGS); do \
33975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33976 done; \
33977 (cd $(TARGET_SUBDIR)/winsup && \
33978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33980 "RANLIB=$${RANLIB}" \
33981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33982 clean) \
33983 || exit 1
33985 @endif target-winsup
33987 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
33988 maybe-distclean-target-winsup:
33989 @if target-winsup
33990 maybe-distclean-target-winsup: distclean-target-winsup
33992 distclean-target-winsup:
33993 @: $(MAKE); $(unstage)
33994 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
33995 r=`${PWD_COMMAND}`; export r; \
33996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33997 $(NORMAL_TARGET_EXPORTS) \
33998 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
33999 for flag in $(EXTRA_TARGET_FLAGS); do \
34000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34001 done; \
34002 (cd $(TARGET_SUBDIR)/winsup && \
34003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34005 "RANLIB=$${RANLIB}" \
34006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34007 distclean) \
34008 || exit 1
34010 @endif target-winsup
34012 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
34013 maybe-maintainer-clean-target-winsup:
34014 @if target-winsup
34015 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
34017 maintainer-clean-target-winsup:
34018 @: $(MAKE); $(unstage)
34019 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34020 r=`${PWD_COMMAND}`; export r; \
34021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34022 $(NORMAL_TARGET_EXPORTS) \
34023 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
34024 for flag in $(EXTRA_TARGET_FLAGS); do \
34025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34026 done; \
34027 (cd $(TARGET_SUBDIR)/winsup && \
34028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34030 "RANLIB=$${RANLIB}" \
34031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34032 maintainer-clean) \
34033 || exit 1
34035 @endif target-winsup
34041 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
34042 maybe-configure-target-libgloss:
34043 @if target-libgloss
34044 maybe-configure-target-libgloss: configure-target-libgloss
34045 configure-target-libgloss:
34046 @: $(MAKE); $(unstage)
34047 @r=`${PWD_COMMAND}`; export r; \
34048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34049 echo "Checking multilib configuration for libgloss..."; \
34050 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34051 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
34052 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34053 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34054 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
34055 else \
34056 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
34057 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34058 fi; \
34059 else \
34060 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34061 fi; \
34062 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
34063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34064 $(NORMAL_TARGET_EXPORTS) \
34065 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
34066 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
34067 case $(srcdir) in \
34068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34069 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
34070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34071 esac; \
34072 srcdiroption="--srcdir=$${topdir}/libgloss"; \
34073 libsrcdir="$$s/libgloss"; \
34074 rm -f no-such-file || : ; \
34075 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34076 $(TARGET_CONFIGARGS) $${srcdiroption} \
34077 || exit 1
34078 @endif target-libgloss
34084 .PHONY: all-target-libgloss maybe-all-target-libgloss
34085 maybe-all-target-libgloss:
34086 @if target-libgloss
34087 TARGET-target-libgloss=all
34088 maybe-all-target-libgloss: all-target-libgloss
34089 all-target-libgloss: configure-target-libgloss
34090 @: $(MAKE); $(unstage)
34091 @r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(NORMAL_TARGET_EXPORTS) \
34094 (cd $(TARGET_SUBDIR)/libgloss && \
34095 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
34096 @endif target-libgloss
34102 .PHONY: check-target-libgloss maybe-check-target-libgloss
34103 maybe-check-target-libgloss:
34104 @if target-libgloss
34105 maybe-check-target-libgloss: check-target-libgloss
34107 # Dummy target for uncheckable module.
34108 check-target-libgloss:
34110 @endif target-libgloss
34112 .PHONY: install-target-libgloss maybe-install-target-libgloss
34113 maybe-install-target-libgloss:
34114 @if target-libgloss
34115 maybe-install-target-libgloss: install-target-libgloss
34117 install-target-libgloss: installdirs
34118 @: $(MAKE); $(unstage)
34119 @r=`${PWD_COMMAND}`; export r; \
34120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34121 $(NORMAL_TARGET_EXPORTS) \
34122 (cd $(TARGET_SUBDIR)/libgloss && \
34123 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34125 @endif target-libgloss
34127 # Other targets (info, dvi, etc.)
34129 .PHONY: maybe-info-target-libgloss info-target-libgloss
34130 maybe-info-target-libgloss:
34131 @if target-libgloss
34132 maybe-info-target-libgloss: info-target-libgloss
34134 info-target-libgloss: \
34135 configure-target-libgloss
34136 @: $(MAKE); $(unstage)
34137 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34138 r=`${PWD_COMMAND}`; export r; \
34139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34140 $(NORMAL_TARGET_EXPORTS) \
34141 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
34142 for flag in $(EXTRA_TARGET_FLAGS); do \
34143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34144 done; \
34145 (cd $(TARGET_SUBDIR)/libgloss && \
34146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34148 "RANLIB=$${RANLIB}" \
34149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34150 info) \
34151 || exit 1
34153 @endif target-libgloss
34155 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
34156 maybe-dvi-target-libgloss:
34157 @if target-libgloss
34158 maybe-dvi-target-libgloss: dvi-target-libgloss
34160 dvi-target-libgloss: \
34161 configure-target-libgloss
34162 @: $(MAKE); $(unstage)
34163 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34164 r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 $(NORMAL_TARGET_EXPORTS) \
34167 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
34168 for flag in $(EXTRA_TARGET_FLAGS); do \
34169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34170 done; \
34171 (cd $(TARGET_SUBDIR)/libgloss && \
34172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34174 "RANLIB=$${RANLIB}" \
34175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34176 dvi) \
34177 || exit 1
34179 @endif target-libgloss
34181 .PHONY: maybe-html-target-libgloss html-target-libgloss
34182 maybe-html-target-libgloss:
34183 @if target-libgloss
34184 maybe-html-target-libgloss: html-target-libgloss
34186 html-target-libgloss: \
34187 configure-target-libgloss
34188 @: $(MAKE); $(unstage)
34189 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34190 r=`${PWD_COMMAND}`; export r; \
34191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34192 $(NORMAL_TARGET_EXPORTS) \
34193 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
34194 for flag in $(EXTRA_TARGET_FLAGS); do \
34195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34196 done; \
34197 (cd $(TARGET_SUBDIR)/libgloss && \
34198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34200 "RANLIB=$${RANLIB}" \
34201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34202 html) \
34203 || exit 1
34205 @endif target-libgloss
34207 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
34208 maybe-TAGS-target-libgloss:
34209 @if target-libgloss
34210 maybe-TAGS-target-libgloss: TAGS-target-libgloss
34212 TAGS-target-libgloss: \
34213 configure-target-libgloss
34214 @: $(MAKE); $(unstage)
34215 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34216 r=`${PWD_COMMAND}`; export r; \
34217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34218 $(NORMAL_TARGET_EXPORTS) \
34219 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
34220 for flag in $(EXTRA_TARGET_FLAGS); do \
34221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34222 done; \
34223 (cd $(TARGET_SUBDIR)/libgloss && \
34224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34226 "RANLIB=$${RANLIB}" \
34227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34228 TAGS) \
34229 || exit 1
34231 @endif target-libgloss
34233 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
34234 maybe-install-info-target-libgloss:
34235 @if target-libgloss
34236 maybe-install-info-target-libgloss: install-info-target-libgloss
34238 install-info-target-libgloss: \
34239 configure-target-libgloss \
34240 info-target-libgloss
34241 @: $(MAKE); $(unstage)
34242 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34243 r=`${PWD_COMMAND}`; export r; \
34244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34245 $(NORMAL_TARGET_EXPORTS) \
34246 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
34247 for flag in $(EXTRA_TARGET_FLAGS); do \
34248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34249 done; \
34250 (cd $(TARGET_SUBDIR)/libgloss && \
34251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34253 "RANLIB=$${RANLIB}" \
34254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34255 install-info) \
34256 || exit 1
34258 @endif target-libgloss
34260 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
34261 maybe-install-html-target-libgloss:
34262 @if target-libgloss
34263 maybe-install-html-target-libgloss: install-html-target-libgloss
34265 install-html-target-libgloss: \
34266 configure-target-libgloss \
34267 html-target-libgloss
34268 @: $(MAKE); $(unstage)
34269 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34270 r=`${PWD_COMMAND}`; export r; \
34271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34272 $(NORMAL_TARGET_EXPORTS) \
34273 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
34274 for flag in $(EXTRA_TARGET_FLAGS); do \
34275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34276 done; \
34277 (cd $(TARGET_SUBDIR)/libgloss && \
34278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34280 "RANLIB=$${RANLIB}" \
34281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34282 install-html) \
34283 || exit 1
34285 @endif target-libgloss
34287 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
34288 maybe-installcheck-target-libgloss:
34289 @if target-libgloss
34290 maybe-installcheck-target-libgloss: installcheck-target-libgloss
34292 installcheck-target-libgloss: \
34293 configure-target-libgloss
34294 @: $(MAKE); $(unstage)
34295 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34296 r=`${PWD_COMMAND}`; export r; \
34297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34298 $(NORMAL_TARGET_EXPORTS) \
34299 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
34300 for flag in $(EXTRA_TARGET_FLAGS); do \
34301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34302 done; \
34303 (cd $(TARGET_SUBDIR)/libgloss && \
34304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34306 "RANLIB=$${RANLIB}" \
34307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34308 installcheck) \
34309 || exit 1
34311 @endif target-libgloss
34313 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
34314 maybe-mostlyclean-target-libgloss:
34315 @if target-libgloss
34316 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
34318 mostlyclean-target-libgloss:
34319 @: $(MAKE); $(unstage)
34320 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34321 r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(NORMAL_TARGET_EXPORTS) \
34324 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
34325 for flag in $(EXTRA_TARGET_FLAGS); do \
34326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34327 done; \
34328 (cd $(TARGET_SUBDIR)/libgloss && \
34329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34331 "RANLIB=$${RANLIB}" \
34332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34333 mostlyclean) \
34334 || exit 1
34336 @endif target-libgloss
34338 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
34339 maybe-clean-target-libgloss:
34340 @if target-libgloss
34341 maybe-clean-target-libgloss: clean-target-libgloss
34343 clean-target-libgloss:
34344 @: $(MAKE); $(unstage)
34345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34346 r=`${PWD_COMMAND}`; export r; \
34347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34348 $(NORMAL_TARGET_EXPORTS) \
34349 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
34350 for flag in $(EXTRA_TARGET_FLAGS); do \
34351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34352 done; \
34353 (cd $(TARGET_SUBDIR)/libgloss && \
34354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34356 "RANLIB=$${RANLIB}" \
34357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34358 clean) \
34359 || exit 1
34361 @endif target-libgloss
34363 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
34364 maybe-distclean-target-libgloss:
34365 @if target-libgloss
34366 maybe-distclean-target-libgloss: distclean-target-libgloss
34368 distclean-target-libgloss:
34369 @: $(MAKE); $(unstage)
34370 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34371 r=`${PWD_COMMAND}`; export r; \
34372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34373 $(NORMAL_TARGET_EXPORTS) \
34374 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
34375 for flag in $(EXTRA_TARGET_FLAGS); do \
34376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34377 done; \
34378 (cd $(TARGET_SUBDIR)/libgloss && \
34379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34381 "RANLIB=$${RANLIB}" \
34382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34383 distclean) \
34384 || exit 1
34386 @endif target-libgloss
34388 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
34389 maybe-maintainer-clean-target-libgloss:
34390 @if target-libgloss
34391 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
34393 maintainer-clean-target-libgloss:
34394 @: $(MAKE); $(unstage)
34395 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34396 r=`${PWD_COMMAND}`; export r; \
34397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34398 $(NORMAL_TARGET_EXPORTS) \
34399 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
34400 for flag in $(EXTRA_TARGET_FLAGS); do \
34401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34402 done; \
34403 (cd $(TARGET_SUBDIR)/libgloss && \
34404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34406 "RANLIB=$${RANLIB}" \
34407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34408 maintainer-clean) \
34409 || exit 1
34411 @endif target-libgloss
34417 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
34418 maybe-configure-target-libiberty:
34419 @if target-libiberty
34420 maybe-configure-target-libiberty: configure-target-libiberty
34421 configure-target-libiberty:
34422 @: $(MAKE); $(unstage)
34423 @r=`${PWD_COMMAND}`; export r; \
34424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34425 echo "Checking multilib configuration for libiberty..."; \
34426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34427 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
34428 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34429 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34430 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
34431 else \
34432 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
34433 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34434 fi; \
34435 else \
34436 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34437 fi; \
34438 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
34439 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34440 $(NORMAL_TARGET_EXPORTS) \
34441 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
34442 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
34443 case $(srcdir) in \
34444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34445 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
34446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34447 esac; \
34448 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34449 libsrcdir="$$s/libiberty"; \
34450 rm -f no-such-file || : ; \
34451 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34452 $(TARGET_CONFIGARGS) $${srcdiroption} \
34453 || exit 1
34454 @endif target-libiberty
34460 .PHONY: all-target-libiberty maybe-all-target-libiberty
34461 maybe-all-target-libiberty:
34462 @if target-libiberty
34463 TARGET-target-libiberty=all
34464 maybe-all-target-libiberty: all-target-libiberty
34465 all-target-libiberty: configure-target-libiberty
34466 @: $(MAKE); $(unstage)
34467 @r=`${PWD_COMMAND}`; export r; \
34468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34469 $(NORMAL_TARGET_EXPORTS) \
34470 (cd $(TARGET_SUBDIR)/libiberty && \
34471 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
34472 @endif target-libiberty
34478 .PHONY: check-target-libiberty maybe-check-target-libiberty
34479 maybe-check-target-libiberty:
34480 @if target-libiberty
34481 maybe-check-target-libiberty: check-target-libiberty
34483 check-target-libiberty:
34484 @: $(MAKE); $(unstage)
34485 @r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 $(NORMAL_TARGET_EXPORTS) \
34488 (cd $(TARGET_SUBDIR)/libiberty && \
34489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34491 @endif target-libiberty
34493 .PHONY: install-target-libiberty maybe-install-target-libiberty
34494 maybe-install-target-libiberty:
34495 @if target-libiberty
34496 maybe-install-target-libiberty: install-target-libiberty
34498 install-target-libiberty: installdirs
34499 @: $(MAKE); $(unstage)
34500 @r=`${PWD_COMMAND}`; export r; \
34501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34502 $(NORMAL_TARGET_EXPORTS) \
34503 (cd $(TARGET_SUBDIR)/libiberty && \
34504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34506 @endif target-libiberty
34508 # Other targets (info, dvi, etc.)
34510 .PHONY: maybe-info-target-libiberty info-target-libiberty
34511 maybe-info-target-libiberty:
34512 @if target-libiberty
34513 maybe-info-target-libiberty: info-target-libiberty
34515 info-target-libiberty: \
34516 configure-target-libiberty
34517 @: $(MAKE); $(unstage)
34518 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34519 r=`${PWD_COMMAND}`; export r; \
34520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34521 $(NORMAL_TARGET_EXPORTS) \
34522 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
34523 for flag in $(EXTRA_TARGET_FLAGS); do \
34524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34525 done; \
34526 (cd $(TARGET_SUBDIR)/libiberty && \
34527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34529 "RANLIB=$${RANLIB}" \
34530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34531 info) \
34532 || exit 1
34534 @endif target-libiberty
34536 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
34537 maybe-dvi-target-libiberty:
34538 @if target-libiberty
34539 maybe-dvi-target-libiberty: dvi-target-libiberty
34541 dvi-target-libiberty: \
34542 configure-target-libiberty
34543 @: $(MAKE); $(unstage)
34544 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34545 r=`${PWD_COMMAND}`; export r; \
34546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34547 $(NORMAL_TARGET_EXPORTS) \
34548 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
34549 for flag in $(EXTRA_TARGET_FLAGS); do \
34550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34551 done; \
34552 (cd $(TARGET_SUBDIR)/libiberty && \
34553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34555 "RANLIB=$${RANLIB}" \
34556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34557 dvi) \
34558 || exit 1
34560 @endif target-libiberty
34562 .PHONY: maybe-html-target-libiberty html-target-libiberty
34563 maybe-html-target-libiberty:
34564 @if target-libiberty
34565 maybe-html-target-libiberty: html-target-libiberty
34567 html-target-libiberty: \
34568 configure-target-libiberty
34569 @: $(MAKE); $(unstage)
34570 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34571 r=`${PWD_COMMAND}`; export r; \
34572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34573 $(NORMAL_TARGET_EXPORTS) \
34574 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
34575 for flag in $(EXTRA_TARGET_FLAGS); do \
34576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34577 done; \
34578 (cd $(TARGET_SUBDIR)/libiberty && \
34579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34581 "RANLIB=$${RANLIB}" \
34582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34583 html) \
34584 || exit 1
34586 @endif target-libiberty
34588 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
34589 maybe-TAGS-target-libiberty:
34590 @if target-libiberty
34591 maybe-TAGS-target-libiberty: TAGS-target-libiberty
34593 TAGS-target-libiberty: \
34594 configure-target-libiberty
34595 @: $(MAKE); $(unstage)
34596 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34597 r=`${PWD_COMMAND}`; export r; \
34598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34599 $(NORMAL_TARGET_EXPORTS) \
34600 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
34601 for flag in $(EXTRA_TARGET_FLAGS); do \
34602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34603 done; \
34604 (cd $(TARGET_SUBDIR)/libiberty && \
34605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34607 "RANLIB=$${RANLIB}" \
34608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34609 TAGS) \
34610 || exit 1
34612 @endif target-libiberty
34614 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
34615 maybe-install-info-target-libiberty:
34616 @if target-libiberty
34617 maybe-install-info-target-libiberty: install-info-target-libiberty
34619 install-info-target-libiberty: \
34620 configure-target-libiberty \
34621 info-target-libiberty
34622 @: $(MAKE); $(unstage)
34623 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34624 r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(NORMAL_TARGET_EXPORTS) \
34627 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
34628 for flag in $(EXTRA_TARGET_FLAGS); do \
34629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34630 done; \
34631 (cd $(TARGET_SUBDIR)/libiberty && \
34632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34634 "RANLIB=$${RANLIB}" \
34635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34636 install-info) \
34637 || exit 1
34639 @endif target-libiberty
34641 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
34642 maybe-install-html-target-libiberty:
34643 @if target-libiberty
34644 maybe-install-html-target-libiberty: install-html-target-libiberty
34646 install-html-target-libiberty: \
34647 configure-target-libiberty \
34648 html-target-libiberty
34649 @: $(MAKE); $(unstage)
34650 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34651 r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 $(NORMAL_TARGET_EXPORTS) \
34654 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
34655 for flag in $(EXTRA_TARGET_FLAGS); do \
34656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34657 done; \
34658 (cd $(TARGET_SUBDIR)/libiberty && \
34659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34661 "RANLIB=$${RANLIB}" \
34662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34663 install-html) \
34664 || exit 1
34666 @endif target-libiberty
34668 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
34669 maybe-installcheck-target-libiberty:
34670 @if target-libiberty
34671 maybe-installcheck-target-libiberty: installcheck-target-libiberty
34673 installcheck-target-libiberty: \
34674 configure-target-libiberty
34675 @: $(MAKE); $(unstage)
34676 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34677 r=`${PWD_COMMAND}`; export r; \
34678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34679 $(NORMAL_TARGET_EXPORTS) \
34680 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
34681 for flag in $(EXTRA_TARGET_FLAGS); do \
34682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34683 done; \
34684 (cd $(TARGET_SUBDIR)/libiberty && \
34685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34687 "RANLIB=$${RANLIB}" \
34688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34689 installcheck) \
34690 || exit 1
34692 @endif target-libiberty
34694 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
34695 maybe-mostlyclean-target-libiberty:
34696 @if target-libiberty
34697 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
34699 mostlyclean-target-libiberty:
34700 @: $(MAKE); $(unstage)
34701 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34702 r=`${PWD_COMMAND}`; export r; \
34703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34704 $(NORMAL_TARGET_EXPORTS) \
34705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
34706 for flag in $(EXTRA_TARGET_FLAGS); do \
34707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34708 done; \
34709 (cd $(TARGET_SUBDIR)/libiberty && \
34710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34712 "RANLIB=$${RANLIB}" \
34713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34714 mostlyclean) \
34715 || exit 1
34717 @endif target-libiberty
34719 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
34720 maybe-clean-target-libiberty:
34721 @if target-libiberty
34722 maybe-clean-target-libiberty: clean-target-libiberty
34724 clean-target-libiberty:
34725 @: $(MAKE); $(unstage)
34726 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34727 r=`${PWD_COMMAND}`; export r; \
34728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34729 $(NORMAL_TARGET_EXPORTS) \
34730 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
34731 for flag in $(EXTRA_TARGET_FLAGS); do \
34732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34733 done; \
34734 (cd $(TARGET_SUBDIR)/libiberty && \
34735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34737 "RANLIB=$${RANLIB}" \
34738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34739 clean) \
34740 || exit 1
34742 @endif target-libiberty
34744 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
34745 maybe-distclean-target-libiberty:
34746 @if target-libiberty
34747 maybe-distclean-target-libiberty: distclean-target-libiberty
34749 distclean-target-libiberty:
34750 @: $(MAKE); $(unstage)
34751 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34752 r=`${PWD_COMMAND}`; export r; \
34753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34754 $(NORMAL_TARGET_EXPORTS) \
34755 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
34756 for flag in $(EXTRA_TARGET_FLAGS); do \
34757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34758 done; \
34759 (cd $(TARGET_SUBDIR)/libiberty && \
34760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34762 "RANLIB=$${RANLIB}" \
34763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34764 distclean) \
34765 || exit 1
34767 @endif target-libiberty
34769 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
34770 maybe-maintainer-clean-target-libiberty:
34771 @if target-libiberty
34772 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
34774 maintainer-clean-target-libiberty:
34775 @: $(MAKE); $(unstage)
34776 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34777 r=`${PWD_COMMAND}`; export r; \
34778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34779 $(NORMAL_TARGET_EXPORTS) \
34780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
34781 for flag in $(EXTRA_TARGET_FLAGS); do \
34782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34783 done; \
34784 (cd $(TARGET_SUBDIR)/libiberty && \
34785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34787 "RANLIB=$${RANLIB}" \
34788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34789 maintainer-clean) \
34790 || exit 1
34792 @endif target-libiberty
34798 .PHONY: configure-target-gperf maybe-configure-target-gperf
34799 maybe-configure-target-gperf:
34800 @if target-gperf
34801 maybe-configure-target-gperf: configure-target-gperf
34802 configure-target-gperf:
34803 @: $(MAKE); $(unstage)
34804 @r=`${PWD_COMMAND}`; export r; \
34805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34806 echo "Checking multilib configuration for gperf..."; \
34807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
34808 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
34809 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
34810 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
34811 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
34812 else \
34813 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
34814 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
34815 fi; \
34816 else \
34817 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
34818 fi; \
34819 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
34820 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
34821 $(NORMAL_TARGET_EXPORTS) \
34822 echo Configuring in $(TARGET_SUBDIR)/gperf; \
34823 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
34824 case $(srcdir) in \
34825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34826 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
34827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34828 esac; \
34829 srcdiroption="--srcdir=$${topdir}/gperf"; \
34830 libsrcdir="$$s/gperf"; \
34831 rm -f no-such-file || : ; \
34832 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34833 $(TARGET_CONFIGARGS) $${srcdiroption} \
34834 || exit 1
34835 @endif target-gperf
34841 .PHONY: all-target-gperf maybe-all-target-gperf
34842 maybe-all-target-gperf:
34843 @if target-gperf
34844 TARGET-target-gperf=all
34845 maybe-all-target-gperf: all-target-gperf
34846 all-target-gperf: configure-target-gperf
34847 @: $(MAKE); $(unstage)
34848 @r=`${PWD_COMMAND}`; export r; \
34849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34850 $(NORMAL_TARGET_EXPORTS) \
34851 (cd $(TARGET_SUBDIR)/gperf && \
34852 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
34853 @endif target-gperf
34859 .PHONY: check-target-gperf maybe-check-target-gperf
34860 maybe-check-target-gperf:
34861 @if target-gperf
34862 maybe-check-target-gperf: check-target-gperf
34864 check-target-gperf:
34865 @: $(MAKE); $(unstage)
34866 @r=`${PWD_COMMAND}`; export r; \
34867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34868 $(NORMAL_TARGET_EXPORTS) \
34869 (cd $(TARGET_SUBDIR)/gperf && \
34870 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34872 @endif target-gperf
34874 .PHONY: install-target-gperf maybe-install-target-gperf
34875 maybe-install-target-gperf:
34876 @if target-gperf
34877 maybe-install-target-gperf: install-target-gperf
34879 install-target-gperf: installdirs
34880 @: $(MAKE); $(unstage)
34881 @r=`${PWD_COMMAND}`; export r; \
34882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34883 $(NORMAL_TARGET_EXPORTS) \
34884 (cd $(TARGET_SUBDIR)/gperf && \
34885 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34887 @endif target-gperf
34889 # Other targets (info, dvi, etc.)
34891 .PHONY: maybe-info-target-gperf info-target-gperf
34892 maybe-info-target-gperf:
34893 @if target-gperf
34894 maybe-info-target-gperf: info-target-gperf
34896 info-target-gperf: \
34897 configure-target-gperf
34898 @: $(MAKE); $(unstage)
34899 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
34900 r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34902 $(NORMAL_TARGET_EXPORTS) \
34903 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
34904 for flag in $(EXTRA_TARGET_FLAGS); do \
34905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34906 done; \
34907 (cd $(TARGET_SUBDIR)/gperf && \
34908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34910 "RANLIB=$${RANLIB}" \
34911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34912 info) \
34913 || exit 1
34915 @endif target-gperf
34917 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
34918 maybe-dvi-target-gperf:
34919 @if target-gperf
34920 maybe-dvi-target-gperf: dvi-target-gperf
34922 dvi-target-gperf: \
34923 configure-target-gperf
34924 @: $(MAKE); $(unstage)
34925 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
34926 r=`${PWD_COMMAND}`; export r; \
34927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34928 $(NORMAL_TARGET_EXPORTS) \
34929 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
34930 for flag in $(EXTRA_TARGET_FLAGS); do \
34931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34932 done; \
34933 (cd $(TARGET_SUBDIR)/gperf && \
34934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34936 "RANLIB=$${RANLIB}" \
34937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34938 dvi) \
34939 || exit 1
34941 @endif target-gperf
34943 .PHONY: maybe-html-target-gperf html-target-gperf
34944 maybe-html-target-gperf:
34945 @if target-gperf
34946 maybe-html-target-gperf: html-target-gperf
34948 html-target-gperf: \
34949 configure-target-gperf
34950 @: $(MAKE); $(unstage)
34951 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
34952 r=`${PWD_COMMAND}`; export r; \
34953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34954 $(NORMAL_TARGET_EXPORTS) \
34955 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
34956 for flag in $(EXTRA_TARGET_FLAGS); do \
34957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34958 done; \
34959 (cd $(TARGET_SUBDIR)/gperf && \
34960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34962 "RANLIB=$${RANLIB}" \
34963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34964 html) \
34965 || exit 1
34967 @endif target-gperf
34969 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
34970 maybe-TAGS-target-gperf:
34971 @if target-gperf
34972 maybe-TAGS-target-gperf: TAGS-target-gperf
34974 TAGS-target-gperf: \
34975 configure-target-gperf
34976 @: $(MAKE); $(unstage)
34977 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
34978 r=`${PWD_COMMAND}`; export r; \
34979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34980 $(NORMAL_TARGET_EXPORTS) \
34981 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
34982 for flag in $(EXTRA_TARGET_FLAGS); do \
34983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34984 done; \
34985 (cd $(TARGET_SUBDIR)/gperf && \
34986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34988 "RANLIB=$${RANLIB}" \
34989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34990 TAGS) \
34991 || exit 1
34993 @endif target-gperf
34995 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
34996 maybe-install-info-target-gperf:
34997 @if target-gperf
34998 maybe-install-info-target-gperf: install-info-target-gperf
35000 install-info-target-gperf: \
35001 configure-target-gperf \
35002 info-target-gperf
35003 @: $(MAKE); $(unstage)
35004 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35005 r=`${PWD_COMMAND}`; export r; \
35006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35007 $(NORMAL_TARGET_EXPORTS) \
35008 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
35009 for flag in $(EXTRA_TARGET_FLAGS); do \
35010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35011 done; \
35012 (cd $(TARGET_SUBDIR)/gperf && \
35013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35015 "RANLIB=$${RANLIB}" \
35016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35017 install-info) \
35018 || exit 1
35020 @endif target-gperf
35022 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
35023 maybe-install-html-target-gperf:
35024 @if target-gperf
35025 maybe-install-html-target-gperf: install-html-target-gperf
35027 install-html-target-gperf: \
35028 configure-target-gperf \
35029 html-target-gperf
35030 @: $(MAKE); $(unstage)
35031 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35032 r=`${PWD_COMMAND}`; export r; \
35033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35034 $(NORMAL_TARGET_EXPORTS) \
35035 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
35036 for flag in $(EXTRA_TARGET_FLAGS); do \
35037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35038 done; \
35039 (cd $(TARGET_SUBDIR)/gperf && \
35040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35042 "RANLIB=$${RANLIB}" \
35043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35044 install-html) \
35045 || exit 1
35047 @endif target-gperf
35049 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
35050 maybe-installcheck-target-gperf:
35051 @if target-gperf
35052 maybe-installcheck-target-gperf: installcheck-target-gperf
35054 installcheck-target-gperf: \
35055 configure-target-gperf
35056 @: $(MAKE); $(unstage)
35057 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35058 r=`${PWD_COMMAND}`; export r; \
35059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35060 $(NORMAL_TARGET_EXPORTS) \
35061 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
35062 for flag in $(EXTRA_TARGET_FLAGS); do \
35063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35064 done; \
35065 (cd $(TARGET_SUBDIR)/gperf && \
35066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35068 "RANLIB=$${RANLIB}" \
35069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35070 installcheck) \
35071 || exit 1
35073 @endif target-gperf
35075 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
35076 maybe-mostlyclean-target-gperf:
35077 @if target-gperf
35078 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
35080 mostlyclean-target-gperf:
35081 @: $(MAKE); $(unstage)
35082 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35083 r=`${PWD_COMMAND}`; export r; \
35084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35085 $(NORMAL_TARGET_EXPORTS) \
35086 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
35087 for flag in $(EXTRA_TARGET_FLAGS); do \
35088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35089 done; \
35090 (cd $(TARGET_SUBDIR)/gperf && \
35091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35093 "RANLIB=$${RANLIB}" \
35094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35095 mostlyclean) \
35096 || exit 1
35098 @endif target-gperf
35100 .PHONY: maybe-clean-target-gperf clean-target-gperf
35101 maybe-clean-target-gperf:
35102 @if target-gperf
35103 maybe-clean-target-gperf: clean-target-gperf
35105 clean-target-gperf:
35106 @: $(MAKE); $(unstage)
35107 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35108 r=`${PWD_COMMAND}`; export r; \
35109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35110 $(NORMAL_TARGET_EXPORTS) \
35111 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
35112 for flag in $(EXTRA_TARGET_FLAGS); do \
35113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35114 done; \
35115 (cd $(TARGET_SUBDIR)/gperf && \
35116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35118 "RANLIB=$${RANLIB}" \
35119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35120 clean) \
35121 || exit 1
35123 @endif target-gperf
35125 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
35126 maybe-distclean-target-gperf:
35127 @if target-gperf
35128 maybe-distclean-target-gperf: distclean-target-gperf
35130 distclean-target-gperf:
35131 @: $(MAKE); $(unstage)
35132 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35133 r=`${PWD_COMMAND}`; export r; \
35134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35135 $(NORMAL_TARGET_EXPORTS) \
35136 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
35137 for flag in $(EXTRA_TARGET_FLAGS); do \
35138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35139 done; \
35140 (cd $(TARGET_SUBDIR)/gperf && \
35141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35143 "RANLIB=$${RANLIB}" \
35144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35145 distclean) \
35146 || exit 1
35148 @endif target-gperf
35150 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
35151 maybe-maintainer-clean-target-gperf:
35152 @if target-gperf
35153 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
35155 maintainer-clean-target-gperf:
35156 @: $(MAKE); $(unstage)
35157 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35158 r=`${PWD_COMMAND}`; export r; \
35159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35160 $(NORMAL_TARGET_EXPORTS) \
35161 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
35162 for flag in $(EXTRA_TARGET_FLAGS); do \
35163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35164 done; \
35165 (cd $(TARGET_SUBDIR)/gperf && \
35166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35168 "RANLIB=$${RANLIB}" \
35169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35170 maintainer-clean) \
35171 || exit 1
35173 @endif target-gperf
35179 .PHONY: configure-target-examples maybe-configure-target-examples
35180 maybe-configure-target-examples:
35181 @if target-examples
35182 maybe-configure-target-examples: configure-target-examples
35183 configure-target-examples:
35184 @: $(MAKE); $(unstage)
35185 @r=`${PWD_COMMAND}`; export r; \
35186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35187 echo "Checking multilib configuration for examples..."; \
35188 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35189 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
35190 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
35191 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
35192 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
35193 else \
35194 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
35195 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35196 fi; \
35197 else \
35198 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35199 fi; \
35200 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
35201 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35202 $(NORMAL_TARGET_EXPORTS) \
35203 echo Configuring in $(TARGET_SUBDIR)/examples; \
35204 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
35205 case $(srcdir) in \
35206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35207 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
35208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35209 esac; \
35210 srcdiroption="--srcdir=$${topdir}/examples"; \
35211 libsrcdir="$$s/examples"; \
35212 rm -f no-such-file || : ; \
35213 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35214 $(TARGET_CONFIGARGS) $${srcdiroption} \
35215 || exit 1
35216 @endif target-examples
35222 .PHONY: all-target-examples maybe-all-target-examples
35223 maybe-all-target-examples:
35224 @if target-examples
35225 TARGET-target-examples=all
35226 maybe-all-target-examples: all-target-examples
35227 all-target-examples: configure-target-examples
35228 @: $(MAKE); $(unstage)
35229 @r=`${PWD_COMMAND}`; export r; \
35230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35231 $(NORMAL_TARGET_EXPORTS) \
35232 (cd $(TARGET_SUBDIR)/examples && \
35233 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
35234 @endif target-examples
35240 .PHONY: check-target-examples maybe-check-target-examples
35241 maybe-check-target-examples:
35242 @if target-examples
35243 maybe-check-target-examples: check-target-examples
35245 # Dummy target for uncheckable module.
35246 check-target-examples:
35248 @endif target-examples
35250 .PHONY: install-target-examples maybe-install-target-examples
35251 maybe-install-target-examples:
35252 @if target-examples
35253 maybe-install-target-examples: install-target-examples
35255 # Dummy target for uninstallable.
35256 install-target-examples:
35258 @endif target-examples
35260 # Other targets (info, dvi, etc.)
35262 .PHONY: maybe-info-target-examples info-target-examples
35263 maybe-info-target-examples:
35264 @if target-examples
35265 maybe-info-target-examples: info-target-examples
35267 info-target-examples: \
35268 configure-target-examples
35269 @: $(MAKE); $(unstage)
35270 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35271 r=`${PWD_COMMAND}`; export r; \
35272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35273 $(NORMAL_TARGET_EXPORTS) \
35274 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
35275 for flag in $(EXTRA_TARGET_FLAGS); do \
35276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35277 done; \
35278 (cd $(TARGET_SUBDIR)/examples && \
35279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35281 "RANLIB=$${RANLIB}" \
35282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35283 info) \
35284 || exit 1
35286 @endif target-examples
35288 .PHONY: maybe-dvi-target-examples dvi-target-examples
35289 maybe-dvi-target-examples:
35290 @if target-examples
35291 maybe-dvi-target-examples: dvi-target-examples
35293 dvi-target-examples: \
35294 configure-target-examples
35295 @: $(MAKE); $(unstage)
35296 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35297 r=`${PWD_COMMAND}`; export r; \
35298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35299 $(NORMAL_TARGET_EXPORTS) \
35300 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
35301 for flag in $(EXTRA_TARGET_FLAGS); do \
35302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35303 done; \
35304 (cd $(TARGET_SUBDIR)/examples && \
35305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35307 "RANLIB=$${RANLIB}" \
35308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35309 dvi) \
35310 || exit 1
35312 @endif target-examples
35314 .PHONY: maybe-html-target-examples html-target-examples
35315 maybe-html-target-examples:
35316 @if target-examples
35317 maybe-html-target-examples: html-target-examples
35319 html-target-examples: \
35320 configure-target-examples
35321 @: $(MAKE); $(unstage)
35322 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35323 r=`${PWD_COMMAND}`; export r; \
35324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35325 $(NORMAL_TARGET_EXPORTS) \
35326 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
35327 for flag in $(EXTRA_TARGET_FLAGS); do \
35328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35329 done; \
35330 (cd $(TARGET_SUBDIR)/examples && \
35331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35333 "RANLIB=$${RANLIB}" \
35334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35335 html) \
35336 || exit 1
35338 @endif target-examples
35340 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
35341 maybe-TAGS-target-examples:
35342 @if target-examples
35343 maybe-TAGS-target-examples: TAGS-target-examples
35345 TAGS-target-examples: \
35346 configure-target-examples
35347 @: $(MAKE); $(unstage)
35348 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35349 r=`${PWD_COMMAND}`; export r; \
35350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35351 $(NORMAL_TARGET_EXPORTS) \
35352 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
35353 for flag in $(EXTRA_TARGET_FLAGS); do \
35354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35355 done; \
35356 (cd $(TARGET_SUBDIR)/examples && \
35357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35359 "RANLIB=$${RANLIB}" \
35360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35361 TAGS) \
35362 || exit 1
35364 @endif target-examples
35366 .PHONY: maybe-install-info-target-examples install-info-target-examples
35367 maybe-install-info-target-examples:
35368 @if target-examples
35369 maybe-install-info-target-examples: install-info-target-examples
35371 install-info-target-examples: \
35372 configure-target-examples \
35373 info-target-examples
35374 @: $(MAKE); $(unstage)
35375 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35376 r=`${PWD_COMMAND}`; export r; \
35377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35378 $(NORMAL_TARGET_EXPORTS) \
35379 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
35380 for flag in $(EXTRA_TARGET_FLAGS); do \
35381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35382 done; \
35383 (cd $(TARGET_SUBDIR)/examples && \
35384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35386 "RANLIB=$${RANLIB}" \
35387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35388 install-info) \
35389 || exit 1
35391 @endif target-examples
35393 .PHONY: maybe-install-html-target-examples install-html-target-examples
35394 maybe-install-html-target-examples:
35395 @if target-examples
35396 maybe-install-html-target-examples: install-html-target-examples
35398 install-html-target-examples: \
35399 configure-target-examples \
35400 html-target-examples
35401 @: $(MAKE); $(unstage)
35402 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35403 r=`${PWD_COMMAND}`; export r; \
35404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35405 $(NORMAL_TARGET_EXPORTS) \
35406 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
35407 for flag in $(EXTRA_TARGET_FLAGS); do \
35408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35409 done; \
35410 (cd $(TARGET_SUBDIR)/examples && \
35411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35413 "RANLIB=$${RANLIB}" \
35414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35415 install-html) \
35416 || exit 1
35418 @endif target-examples
35420 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
35421 maybe-installcheck-target-examples:
35422 @if target-examples
35423 maybe-installcheck-target-examples: installcheck-target-examples
35425 installcheck-target-examples: \
35426 configure-target-examples
35427 @: $(MAKE); $(unstage)
35428 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35429 r=`${PWD_COMMAND}`; export r; \
35430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35431 $(NORMAL_TARGET_EXPORTS) \
35432 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
35433 for flag in $(EXTRA_TARGET_FLAGS); do \
35434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35435 done; \
35436 (cd $(TARGET_SUBDIR)/examples && \
35437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35439 "RANLIB=$${RANLIB}" \
35440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35441 installcheck) \
35442 || exit 1
35444 @endif target-examples
35446 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
35447 maybe-mostlyclean-target-examples:
35448 @if target-examples
35449 maybe-mostlyclean-target-examples: mostlyclean-target-examples
35451 mostlyclean-target-examples:
35452 @: $(MAKE); $(unstage)
35453 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35454 r=`${PWD_COMMAND}`; export r; \
35455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35456 $(NORMAL_TARGET_EXPORTS) \
35457 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
35458 for flag in $(EXTRA_TARGET_FLAGS); do \
35459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35460 done; \
35461 (cd $(TARGET_SUBDIR)/examples && \
35462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35464 "RANLIB=$${RANLIB}" \
35465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35466 mostlyclean) \
35467 || exit 1
35469 @endif target-examples
35471 .PHONY: maybe-clean-target-examples clean-target-examples
35472 maybe-clean-target-examples:
35473 @if target-examples
35474 maybe-clean-target-examples: clean-target-examples
35476 clean-target-examples:
35477 @: $(MAKE); $(unstage)
35478 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35479 r=`${PWD_COMMAND}`; export r; \
35480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35481 $(NORMAL_TARGET_EXPORTS) \
35482 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
35483 for flag in $(EXTRA_TARGET_FLAGS); do \
35484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35485 done; \
35486 (cd $(TARGET_SUBDIR)/examples && \
35487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35489 "RANLIB=$${RANLIB}" \
35490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35491 clean) \
35492 || exit 1
35494 @endif target-examples
35496 .PHONY: maybe-distclean-target-examples distclean-target-examples
35497 maybe-distclean-target-examples:
35498 @if target-examples
35499 maybe-distclean-target-examples: distclean-target-examples
35501 distclean-target-examples:
35502 @: $(MAKE); $(unstage)
35503 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35504 r=`${PWD_COMMAND}`; export r; \
35505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35506 $(NORMAL_TARGET_EXPORTS) \
35507 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
35508 for flag in $(EXTRA_TARGET_FLAGS); do \
35509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35510 done; \
35511 (cd $(TARGET_SUBDIR)/examples && \
35512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35514 "RANLIB=$${RANLIB}" \
35515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35516 distclean) \
35517 || exit 1
35519 @endif target-examples
35521 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
35522 maybe-maintainer-clean-target-examples:
35523 @if target-examples
35524 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
35526 maintainer-clean-target-examples:
35527 @: $(MAKE); $(unstage)
35528 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35529 r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 $(NORMAL_TARGET_EXPORTS) \
35532 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
35533 for flag in $(EXTRA_TARGET_FLAGS); do \
35534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35535 done; \
35536 (cd $(TARGET_SUBDIR)/examples && \
35537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35539 "RANLIB=$${RANLIB}" \
35540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35541 maintainer-clean) \
35542 || exit 1
35544 @endif target-examples
35550 .PHONY: configure-target-libffi maybe-configure-target-libffi
35551 maybe-configure-target-libffi:
35552 @if target-libffi
35553 maybe-configure-target-libffi: configure-target-libffi
35554 configure-target-libffi:
35555 @: $(MAKE); $(unstage)
35556 @r=`${PWD_COMMAND}`; export r; \
35557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35558 echo "Checking multilib configuration for libffi..."; \
35559 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35560 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
35561 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
35562 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
35563 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
35564 else \
35565 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
35566 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35567 fi; \
35568 else \
35569 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35570 fi; \
35571 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
35572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35573 $(NORMAL_TARGET_EXPORTS) \
35574 echo Configuring in $(TARGET_SUBDIR)/libffi; \
35575 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
35576 case $(srcdir) in \
35577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35578 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
35579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35580 esac; \
35581 srcdiroption="--srcdir=$${topdir}/libffi"; \
35582 libsrcdir="$$s/libffi"; \
35583 rm -f no-such-file || : ; \
35584 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35585 $(TARGET_CONFIGARGS) $${srcdiroption} \
35586 || exit 1
35587 @endif target-libffi
35593 .PHONY: all-target-libffi maybe-all-target-libffi
35594 maybe-all-target-libffi:
35595 @if target-libffi
35596 TARGET-target-libffi=all
35597 maybe-all-target-libffi: all-target-libffi
35598 all-target-libffi: configure-target-libffi
35599 @: $(MAKE); $(unstage)
35600 @r=`${PWD_COMMAND}`; export r; \
35601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35602 $(NORMAL_TARGET_EXPORTS) \
35603 (cd $(TARGET_SUBDIR)/libffi && \
35604 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
35605 @endif target-libffi
35611 .PHONY: check-target-libffi maybe-check-target-libffi
35612 maybe-check-target-libffi:
35613 @if target-libffi
35614 maybe-check-target-libffi: check-target-libffi
35616 check-target-libffi:
35617 @: $(MAKE); $(unstage)
35618 @r=`${PWD_COMMAND}`; export r; \
35619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35620 $(NORMAL_TARGET_EXPORTS) \
35621 (cd $(TARGET_SUBDIR)/libffi && \
35622 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35624 @endif target-libffi
35626 .PHONY: install-target-libffi maybe-install-target-libffi
35627 maybe-install-target-libffi:
35628 @if target-libffi
35629 maybe-install-target-libffi: install-target-libffi
35631 install-target-libffi: installdirs
35632 @: $(MAKE); $(unstage)
35633 @r=`${PWD_COMMAND}`; export r; \
35634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35635 $(NORMAL_TARGET_EXPORTS) \
35636 (cd $(TARGET_SUBDIR)/libffi && \
35637 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35639 @endif target-libffi
35641 # Other targets (info, dvi, etc.)
35643 .PHONY: maybe-info-target-libffi info-target-libffi
35644 maybe-info-target-libffi:
35645 @if target-libffi
35646 maybe-info-target-libffi: info-target-libffi
35648 info-target-libffi: \
35649 configure-target-libffi
35650 @: $(MAKE); $(unstage)
35651 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35652 r=`${PWD_COMMAND}`; export r; \
35653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35654 $(NORMAL_TARGET_EXPORTS) \
35655 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
35656 for flag in $(EXTRA_TARGET_FLAGS); do \
35657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35658 done; \
35659 (cd $(TARGET_SUBDIR)/libffi && \
35660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35662 "RANLIB=$${RANLIB}" \
35663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35664 info) \
35665 || exit 1
35667 @endif target-libffi
35669 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
35670 maybe-dvi-target-libffi:
35671 @if target-libffi
35672 maybe-dvi-target-libffi: dvi-target-libffi
35674 dvi-target-libffi: \
35675 configure-target-libffi
35676 @: $(MAKE); $(unstage)
35677 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35678 r=`${PWD_COMMAND}`; export r; \
35679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35680 $(NORMAL_TARGET_EXPORTS) \
35681 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
35682 for flag in $(EXTRA_TARGET_FLAGS); do \
35683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35684 done; \
35685 (cd $(TARGET_SUBDIR)/libffi && \
35686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35688 "RANLIB=$${RANLIB}" \
35689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35690 dvi) \
35691 || exit 1
35693 @endif target-libffi
35695 .PHONY: maybe-html-target-libffi html-target-libffi
35696 maybe-html-target-libffi:
35697 @if target-libffi
35698 maybe-html-target-libffi: html-target-libffi
35700 html-target-libffi: \
35701 configure-target-libffi
35702 @: $(MAKE); $(unstage)
35703 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35704 r=`${PWD_COMMAND}`; export r; \
35705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35706 $(NORMAL_TARGET_EXPORTS) \
35707 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
35708 for flag in $(EXTRA_TARGET_FLAGS); do \
35709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35710 done; \
35711 (cd $(TARGET_SUBDIR)/libffi && \
35712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35714 "RANLIB=$${RANLIB}" \
35715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35716 html) \
35717 || exit 1
35719 @endif target-libffi
35721 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
35722 maybe-TAGS-target-libffi:
35723 @if target-libffi
35724 maybe-TAGS-target-libffi: TAGS-target-libffi
35726 TAGS-target-libffi: \
35727 configure-target-libffi
35728 @: $(MAKE); $(unstage)
35729 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35730 r=`${PWD_COMMAND}`; export r; \
35731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35732 $(NORMAL_TARGET_EXPORTS) \
35733 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
35734 for flag in $(EXTRA_TARGET_FLAGS); do \
35735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35736 done; \
35737 (cd $(TARGET_SUBDIR)/libffi && \
35738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35740 "RANLIB=$${RANLIB}" \
35741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35742 TAGS) \
35743 || exit 1
35745 @endif target-libffi
35747 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
35748 maybe-install-info-target-libffi:
35749 @if target-libffi
35750 maybe-install-info-target-libffi: install-info-target-libffi
35752 install-info-target-libffi: \
35753 configure-target-libffi \
35754 info-target-libffi
35755 @: $(MAKE); $(unstage)
35756 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35757 r=`${PWD_COMMAND}`; export r; \
35758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35759 $(NORMAL_TARGET_EXPORTS) \
35760 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
35761 for flag in $(EXTRA_TARGET_FLAGS); do \
35762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35763 done; \
35764 (cd $(TARGET_SUBDIR)/libffi && \
35765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35767 "RANLIB=$${RANLIB}" \
35768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35769 install-info) \
35770 || exit 1
35772 @endif target-libffi
35774 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
35775 maybe-install-html-target-libffi:
35776 @if target-libffi
35777 maybe-install-html-target-libffi: install-html-target-libffi
35779 install-html-target-libffi: \
35780 configure-target-libffi \
35781 html-target-libffi
35782 @: $(MAKE); $(unstage)
35783 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35784 r=`${PWD_COMMAND}`; export r; \
35785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35786 $(NORMAL_TARGET_EXPORTS) \
35787 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
35788 for flag in $(EXTRA_TARGET_FLAGS); do \
35789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35790 done; \
35791 (cd $(TARGET_SUBDIR)/libffi && \
35792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35794 "RANLIB=$${RANLIB}" \
35795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35796 install-html) \
35797 || exit 1
35799 @endif target-libffi
35801 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
35802 maybe-installcheck-target-libffi:
35803 @if target-libffi
35804 maybe-installcheck-target-libffi: installcheck-target-libffi
35806 installcheck-target-libffi: \
35807 configure-target-libffi
35808 @: $(MAKE); $(unstage)
35809 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35810 r=`${PWD_COMMAND}`; export r; \
35811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35812 $(NORMAL_TARGET_EXPORTS) \
35813 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
35814 for flag in $(EXTRA_TARGET_FLAGS); do \
35815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35816 done; \
35817 (cd $(TARGET_SUBDIR)/libffi && \
35818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35820 "RANLIB=$${RANLIB}" \
35821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35822 installcheck) \
35823 || exit 1
35825 @endif target-libffi
35827 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
35828 maybe-mostlyclean-target-libffi:
35829 @if target-libffi
35830 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
35832 mostlyclean-target-libffi:
35833 @: $(MAKE); $(unstage)
35834 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35835 r=`${PWD_COMMAND}`; export r; \
35836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35837 $(NORMAL_TARGET_EXPORTS) \
35838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
35839 for flag in $(EXTRA_TARGET_FLAGS); do \
35840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35841 done; \
35842 (cd $(TARGET_SUBDIR)/libffi && \
35843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35845 "RANLIB=$${RANLIB}" \
35846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35847 mostlyclean) \
35848 || exit 1
35850 @endif target-libffi
35852 .PHONY: maybe-clean-target-libffi clean-target-libffi
35853 maybe-clean-target-libffi:
35854 @if target-libffi
35855 maybe-clean-target-libffi: clean-target-libffi
35857 clean-target-libffi:
35858 @: $(MAKE); $(unstage)
35859 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35860 r=`${PWD_COMMAND}`; export r; \
35861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35862 $(NORMAL_TARGET_EXPORTS) \
35863 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
35864 for flag in $(EXTRA_TARGET_FLAGS); do \
35865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35866 done; \
35867 (cd $(TARGET_SUBDIR)/libffi && \
35868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35870 "RANLIB=$${RANLIB}" \
35871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35872 clean) \
35873 || exit 1
35875 @endif target-libffi
35877 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
35878 maybe-distclean-target-libffi:
35879 @if target-libffi
35880 maybe-distclean-target-libffi: distclean-target-libffi
35882 distclean-target-libffi:
35883 @: $(MAKE); $(unstage)
35884 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35885 r=`${PWD_COMMAND}`; export r; \
35886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35887 $(NORMAL_TARGET_EXPORTS) \
35888 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
35889 for flag in $(EXTRA_TARGET_FLAGS); do \
35890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35891 done; \
35892 (cd $(TARGET_SUBDIR)/libffi && \
35893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35895 "RANLIB=$${RANLIB}" \
35896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35897 distclean) \
35898 || exit 1
35900 @endif target-libffi
35902 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
35903 maybe-maintainer-clean-target-libffi:
35904 @if target-libffi
35905 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
35907 maintainer-clean-target-libffi:
35908 @: $(MAKE); $(unstage)
35909 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
35910 r=`${PWD_COMMAND}`; export r; \
35911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35912 $(NORMAL_TARGET_EXPORTS) \
35913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
35914 for flag in $(EXTRA_TARGET_FLAGS); do \
35915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35916 done; \
35917 (cd $(TARGET_SUBDIR)/libffi && \
35918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35920 "RANLIB=$${RANLIB}" \
35921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35922 maintainer-clean) \
35923 || exit 1
35925 @endif target-libffi
35931 .PHONY: configure-target-libjava maybe-configure-target-libjava
35932 maybe-configure-target-libjava:
35933 @if target-libjava
35934 maybe-configure-target-libjava: configure-target-libjava
35935 configure-target-libjava:
35936 @: $(MAKE); $(unstage)
35937 @r=`${PWD_COMMAND}`; export r; \
35938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35939 echo "Checking multilib configuration for libjava..."; \
35940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
35941 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
35942 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
35943 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
35944 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
35945 else \
35946 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
35947 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
35948 fi; \
35949 else \
35950 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
35951 fi; \
35952 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
35953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
35954 $(RAW_CXX_TARGET_EXPORTS) \
35955 echo Configuring in $(TARGET_SUBDIR)/libjava; \
35956 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
35957 case $(srcdir) in \
35958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35959 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
35960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35961 esac; \
35962 srcdiroption="--srcdir=$${topdir}/libjava"; \
35963 libsrcdir="$$s/libjava"; \
35964 rm -f no-such-file || : ; \
35965 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35966 $(TARGET_CONFIGARGS) $${srcdiroption} \
35967 || exit 1
35968 @endif target-libjava
35974 .PHONY: all-target-libjava maybe-all-target-libjava
35975 maybe-all-target-libjava:
35976 @if target-libjava
35977 TARGET-target-libjava=all
35978 maybe-all-target-libjava: all-target-libjava
35979 all-target-libjava: configure-target-libjava
35980 @: $(MAKE); $(unstage)
35981 @r=`${PWD_COMMAND}`; export r; \
35982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35983 $(RAW_CXX_TARGET_EXPORTS) \
35984 (cd $(TARGET_SUBDIR)/libjava && \
35985 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
35986 @endif target-libjava
35992 .PHONY: check-target-libjava maybe-check-target-libjava
35993 maybe-check-target-libjava:
35994 @if target-libjava
35995 maybe-check-target-libjava: check-target-libjava
35997 check-target-libjava:
35998 @: $(MAKE); $(unstage)
35999 @r=`${PWD_COMMAND}`; export r; \
36000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36001 $(RAW_CXX_TARGET_EXPORTS) \
36002 (cd $(TARGET_SUBDIR)/libjava && \
36003 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36005 @endif target-libjava
36007 .PHONY: install-target-libjava maybe-install-target-libjava
36008 maybe-install-target-libjava:
36009 @if target-libjava
36010 maybe-install-target-libjava: install-target-libjava
36012 install-target-libjava: installdirs
36013 @: $(MAKE); $(unstage)
36014 @r=`${PWD_COMMAND}`; export r; \
36015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36016 $(RAW_CXX_TARGET_EXPORTS) \
36017 (cd $(TARGET_SUBDIR)/libjava && \
36018 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36020 @endif target-libjava
36022 # Other targets (info, dvi, etc.)
36024 .PHONY: maybe-info-target-libjava info-target-libjava
36025 maybe-info-target-libjava:
36026 @if target-libjava
36027 maybe-info-target-libjava: info-target-libjava
36029 info-target-libjava: \
36030 configure-target-libjava
36031 @: $(MAKE); $(unstage)
36032 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36033 r=`${PWD_COMMAND}`; export r; \
36034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36035 $(RAW_CXX_TARGET_EXPORTS) \
36036 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
36037 for flag in $(EXTRA_TARGET_FLAGS); do \
36038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36039 done; \
36040 (cd $(TARGET_SUBDIR)/libjava && \
36041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36043 "RANLIB=$${RANLIB}" \
36044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36045 info) \
36046 || exit 1
36048 @endif target-libjava
36050 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
36051 maybe-dvi-target-libjava:
36052 @if target-libjava
36053 maybe-dvi-target-libjava: dvi-target-libjava
36055 dvi-target-libjava: \
36056 configure-target-libjava
36057 @: $(MAKE); $(unstage)
36058 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36059 r=`${PWD_COMMAND}`; export r; \
36060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36061 $(RAW_CXX_TARGET_EXPORTS) \
36062 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
36063 for flag in $(EXTRA_TARGET_FLAGS); do \
36064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36065 done; \
36066 (cd $(TARGET_SUBDIR)/libjava && \
36067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36069 "RANLIB=$${RANLIB}" \
36070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36071 dvi) \
36072 || exit 1
36074 @endif target-libjava
36076 .PHONY: maybe-html-target-libjava html-target-libjava
36077 maybe-html-target-libjava:
36078 @if target-libjava
36079 maybe-html-target-libjava: html-target-libjava
36081 html-target-libjava: \
36082 configure-target-libjava
36083 @: $(MAKE); $(unstage)
36084 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36085 r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(RAW_CXX_TARGET_EXPORTS) \
36088 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
36089 for flag in $(EXTRA_TARGET_FLAGS); do \
36090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36091 done; \
36092 (cd $(TARGET_SUBDIR)/libjava && \
36093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36095 "RANLIB=$${RANLIB}" \
36096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36097 html) \
36098 || exit 1
36100 @endif target-libjava
36102 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
36103 maybe-TAGS-target-libjava:
36104 @if target-libjava
36105 maybe-TAGS-target-libjava: TAGS-target-libjava
36107 TAGS-target-libjava: \
36108 configure-target-libjava
36109 @: $(MAKE); $(unstage)
36110 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36111 r=`${PWD_COMMAND}`; export r; \
36112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36113 $(RAW_CXX_TARGET_EXPORTS) \
36114 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
36115 for flag in $(EXTRA_TARGET_FLAGS); do \
36116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36117 done; \
36118 (cd $(TARGET_SUBDIR)/libjava && \
36119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36121 "RANLIB=$${RANLIB}" \
36122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36123 TAGS) \
36124 || exit 1
36126 @endif target-libjava
36128 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
36129 maybe-install-info-target-libjava:
36130 @if target-libjava
36131 maybe-install-info-target-libjava: install-info-target-libjava
36133 install-info-target-libjava: \
36134 configure-target-libjava \
36135 info-target-libjava
36136 @: $(MAKE); $(unstage)
36137 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36138 r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(RAW_CXX_TARGET_EXPORTS) \
36141 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
36142 for flag in $(EXTRA_TARGET_FLAGS); do \
36143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36144 done; \
36145 (cd $(TARGET_SUBDIR)/libjava && \
36146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36148 "RANLIB=$${RANLIB}" \
36149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36150 install-info) \
36151 || exit 1
36153 @endif target-libjava
36155 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
36156 maybe-install-html-target-libjava:
36157 @if target-libjava
36158 maybe-install-html-target-libjava: install-html-target-libjava
36160 install-html-target-libjava: \
36161 configure-target-libjava \
36162 html-target-libjava
36163 @: $(MAKE); $(unstage)
36164 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36165 r=`${PWD_COMMAND}`; export r; \
36166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36167 $(RAW_CXX_TARGET_EXPORTS) \
36168 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
36169 for flag in $(EXTRA_TARGET_FLAGS); do \
36170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36171 done; \
36172 (cd $(TARGET_SUBDIR)/libjava && \
36173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36175 "RANLIB=$${RANLIB}" \
36176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36177 install-html) \
36178 || exit 1
36180 @endif target-libjava
36182 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
36183 maybe-installcheck-target-libjava:
36184 @if target-libjava
36185 maybe-installcheck-target-libjava: installcheck-target-libjava
36187 installcheck-target-libjava: \
36188 configure-target-libjava
36189 @: $(MAKE); $(unstage)
36190 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36191 r=`${PWD_COMMAND}`; export r; \
36192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36193 $(RAW_CXX_TARGET_EXPORTS) \
36194 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
36195 for flag in $(EXTRA_TARGET_FLAGS); do \
36196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36197 done; \
36198 (cd $(TARGET_SUBDIR)/libjava && \
36199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36201 "RANLIB=$${RANLIB}" \
36202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36203 installcheck) \
36204 || exit 1
36206 @endif target-libjava
36208 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
36209 maybe-mostlyclean-target-libjava:
36210 @if target-libjava
36211 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
36213 mostlyclean-target-libjava:
36214 @: $(MAKE); $(unstage)
36215 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36216 r=`${PWD_COMMAND}`; export r; \
36217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36218 $(RAW_CXX_TARGET_EXPORTS) \
36219 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
36220 for flag in $(EXTRA_TARGET_FLAGS); do \
36221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36222 done; \
36223 (cd $(TARGET_SUBDIR)/libjava && \
36224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36226 "RANLIB=$${RANLIB}" \
36227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36228 mostlyclean) \
36229 || exit 1
36231 @endif target-libjava
36233 .PHONY: maybe-clean-target-libjava clean-target-libjava
36234 maybe-clean-target-libjava:
36235 @if target-libjava
36236 maybe-clean-target-libjava: clean-target-libjava
36238 clean-target-libjava:
36239 @: $(MAKE); $(unstage)
36240 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36241 r=`${PWD_COMMAND}`; export r; \
36242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36243 $(RAW_CXX_TARGET_EXPORTS) \
36244 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
36245 for flag in $(EXTRA_TARGET_FLAGS); do \
36246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36247 done; \
36248 (cd $(TARGET_SUBDIR)/libjava && \
36249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36251 "RANLIB=$${RANLIB}" \
36252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36253 clean) \
36254 || exit 1
36256 @endif target-libjava
36258 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
36259 maybe-distclean-target-libjava:
36260 @if target-libjava
36261 maybe-distclean-target-libjava: distclean-target-libjava
36263 distclean-target-libjava:
36264 @: $(MAKE); $(unstage)
36265 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36266 r=`${PWD_COMMAND}`; export r; \
36267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36268 $(RAW_CXX_TARGET_EXPORTS) \
36269 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
36270 for flag in $(EXTRA_TARGET_FLAGS); do \
36271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36272 done; \
36273 (cd $(TARGET_SUBDIR)/libjava && \
36274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36276 "RANLIB=$${RANLIB}" \
36277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36278 distclean) \
36279 || exit 1
36281 @endif target-libjava
36283 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
36284 maybe-maintainer-clean-target-libjava:
36285 @if target-libjava
36286 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
36288 maintainer-clean-target-libjava:
36289 @: $(MAKE); $(unstage)
36290 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36291 r=`${PWD_COMMAND}`; export r; \
36292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36293 $(RAW_CXX_TARGET_EXPORTS) \
36294 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
36295 for flag in $(EXTRA_TARGET_FLAGS); do \
36296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36297 done; \
36298 (cd $(TARGET_SUBDIR)/libjava && \
36299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36301 "RANLIB=$${RANLIB}" \
36302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36303 maintainer-clean) \
36304 || exit 1
36306 @endif target-libjava
36312 .PHONY: configure-target-zlib maybe-configure-target-zlib
36313 maybe-configure-target-zlib:
36314 @if target-zlib
36315 maybe-configure-target-zlib: configure-target-zlib
36316 configure-target-zlib:
36317 @: $(MAKE); $(unstage)
36318 @r=`${PWD_COMMAND}`; export r; \
36319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36320 echo "Checking multilib configuration for zlib..."; \
36321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36322 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
36323 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
36324 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
36325 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
36326 else \
36327 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
36328 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36329 fi; \
36330 else \
36331 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36332 fi; \
36333 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
36334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36335 $(NORMAL_TARGET_EXPORTS) \
36336 echo Configuring in $(TARGET_SUBDIR)/zlib; \
36337 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
36338 case $(srcdir) in \
36339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36340 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
36341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36342 esac; \
36343 srcdiroption="--srcdir=$${topdir}/zlib"; \
36344 libsrcdir="$$s/zlib"; \
36345 rm -f no-such-file || : ; \
36346 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36347 $(TARGET_CONFIGARGS) $${srcdiroption} \
36348 || exit 1
36349 @endif target-zlib
36355 .PHONY: all-target-zlib maybe-all-target-zlib
36356 maybe-all-target-zlib:
36357 @if target-zlib
36358 TARGET-target-zlib=all
36359 maybe-all-target-zlib: all-target-zlib
36360 all-target-zlib: configure-target-zlib
36361 @: $(MAKE); $(unstage)
36362 @r=`${PWD_COMMAND}`; export r; \
36363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36364 $(NORMAL_TARGET_EXPORTS) \
36365 (cd $(TARGET_SUBDIR)/zlib && \
36366 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
36367 @endif target-zlib
36373 .PHONY: check-target-zlib maybe-check-target-zlib
36374 maybe-check-target-zlib:
36375 @if target-zlib
36376 maybe-check-target-zlib: check-target-zlib
36378 check-target-zlib:
36379 @: $(MAKE); $(unstage)
36380 @r=`${PWD_COMMAND}`; export r; \
36381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36382 $(NORMAL_TARGET_EXPORTS) \
36383 (cd $(TARGET_SUBDIR)/zlib && \
36384 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36386 @endif target-zlib
36388 .PHONY: install-target-zlib maybe-install-target-zlib
36389 maybe-install-target-zlib:
36390 @if target-zlib
36391 maybe-install-target-zlib: install-target-zlib
36393 install-target-zlib: installdirs
36394 @: $(MAKE); $(unstage)
36395 @r=`${PWD_COMMAND}`; export r; \
36396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36397 $(NORMAL_TARGET_EXPORTS) \
36398 (cd $(TARGET_SUBDIR)/zlib && \
36399 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36401 @endif target-zlib
36403 # Other targets (info, dvi, etc.)
36405 .PHONY: maybe-info-target-zlib info-target-zlib
36406 maybe-info-target-zlib:
36407 @if target-zlib
36408 maybe-info-target-zlib: info-target-zlib
36410 info-target-zlib: \
36411 configure-target-zlib
36412 @: $(MAKE); $(unstage)
36413 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36414 r=`${PWD_COMMAND}`; export r; \
36415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36416 $(NORMAL_TARGET_EXPORTS) \
36417 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
36418 for flag in $(EXTRA_TARGET_FLAGS); do \
36419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36420 done; \
36421 (cd $(TARGET_SUBDIR)/zlib && \
36422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36424 "RANLIB=$${RANLIB}" \
36425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36426 info) \
36427 || exit 1
36429 @endif target-zlib
36431 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
36432 maybe-dvi-target-zlib:
36433 @if target-zlib
36434 maybe-dvi-target-zlib: dvi-target-zlib
36436 dvi-target-zlib: \
36437 configure-target-zlib
36438 @: $(MAKE); $(unstage)
36439 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36440 r=`${PWD_COMMAND}`; export r; \
36441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36442 $(NORMAL_TARGET_EXPORTS) \
36443 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
36444 for flag in $(EXTRA_TARGET_FLAGS); do \
36445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36446 done; \
36447 (cd $(TARGET_SUBDIR)/zlib && \
36448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36450 "RANLIB=$${RANLIB}" \
36451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36452 dvi) \
36453 || exit 1
36455 @endif target-zlib
36457 .PHONY: maybe-html-target-zlib html-target-zlib
36458 maybe-html-target-zlib:
36459 @if target-zlib
36460 maybe-html-target-zlib: html-target-zlib
36462 html-target-zlib: \
36463 configure-target-zlib
36464 @: $(MAKE); $(unstage)
36465 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36466 r=`${PWD_COMMAND}`; export r; \
36467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36468 $(NORMAL_TARGET_EXPORTS) \
36469 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
36470 for flag in $(EXTRA_TARGET_FLAGS); do \
36471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36472 done; \
36473 (cd $(TARGET_SUBDIR)/zlib && \
36474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36476 "RANLIB=$${RANLIB}" \
36477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36478 html) \
36479 || exit 1
36481 @endif target-zlib
36483 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
36484 maybe-TAGS-target-zlib:
36485 @if target-zlib
36486 maybe-TAGS-target-zlib: TAGS-target-zlib
36488 TAGS-target-zlib: \
36489 configure-target-zlib
36490 @: $(MAKE); $(unstage)
36491 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36492 r=`${PWD_COMMAND}`; export r; \
36493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36494 $(NORMAL_TARGET_EXPORTS) \
36495 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
36496 for flag in $(EXTRA_TARGET_FLAGS); do \
36497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36498 done; \
36499 (cd $(TARGET_SUBDIR)/zlib && \
36500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36502 "RANLIB=$${RANLIB}" \
36503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36504 TAGS) \
36505 || exit 1
36507 @endif target-zlib
36509 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
36510 maybe-install-info-target-zlib:
36511 @if target-zlib
36512 maybe-install-info-target-zlib: install-info-target-zlib
36514 install-info-target-zlib: \
36515 configure-target-zlib \
36516 info-target-zlib
36517 @: $(MAKE); $(unstage)
36518 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36519 r=`${PWD_COMMAND}`; export r; \
36520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36521 $(NORMAL_TARGET_EXPORTS) \
36522 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
36523 for flag in $(EXTRA_TARGET_FLAGS); do \
36524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36525 done; \
36526 (cd $(TARGET_SUBDIR)/zlib && \
36527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36529 "RANLIB=$${RANLIB}" \
36530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36531 install-info) \
36532 || exit 1
36534 @endif target-zlib
36536 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
36537 maybe-install-html-target-zlib:
36538 @if target-zlib
36539 maybe-install-html-target-zlib: install-html-target-zlib
36541 install-html-target-zlib: \
36542 configure-target-zlib \
36543 html-target-zlib
36544 @: $(MAKE); $(unstage)
36545 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36546 r=`${PWD_COMMAND}`; export r; \
36547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36548 $(NORMAL_TARGET_EXPORTS) \
36549 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
36550 for flag in $(EXTRA_TARGET_FLAGS); do \
36551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36552 done; \
36553 (cd $(TARGET_SUBDIR)/zlib && \
36554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36556 "RANLIB=$${RANLIB}" \
36557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36558 install-html) \
36559 || exit 1
36561 @endif target-zlib
36563 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
36564 maybe-installcheck-target-zlib:
36565 @if target-zlib
36566 maybe-installcheck-target-zlib: installcheck-target-zlib
36568 installcheck-target-zlib: \
36569 configure-target-zlib
36570 @: $(MAKE); $(unstage)
36571 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36572 r=`${PWD_COMMAND}`; export r; \
36573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36574 $(NORMAL_TARGET_EXPORTS) \
36575 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
36576 for flag in $(EXTRA_TARGET_FLAGS); do \
36577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36578 done; \
36579 (cd $(TARGET_SUBDIR)/zlib && \
36580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36582 "RANLIB=$${RANLIB}" \
36583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36584 installcheck) \
36585 || exit 1
36587 @endif target-zlib
36589 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
36590 maybe-mostlyclean-target-zlib:
36591 @if target-zlib
36592 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
36594 mostlyclean-target-zlib:
36595 @: $(MAKE); $(unstage)
36596 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36597 r=`${PWD_COMMAND}`; export r; \
36598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36599 $(NORMAL_TARGET_EXPORTS) \
36600 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
36601 for flag in $(EXTRA_TARGET_FLAGS); do \
36602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36603 done; \
36604 (cd $(TARGET_SUBDIR)/zlib && \
36605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36607 "RANLIB=$${RANLIB}" \
36608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36609 mostlyclean) \
36610 || exit 1
36612 @endif target-zlib
36614 .PHONY: maybe-clean-target-zlib clean-target-zlib
36615 maybe-clean-target-zlib:
36616 @if target-zlib
36617 maybe-clean-target-zlib: clean-target-zlib
36619 clean-target-zlib:
36620 @: $(MAKE); $(unstage)
36621 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36622 r=`${PWD_COMMAND}`; export r; \
36623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36624 $(NORMAL_TARGET_EXPORTS) \
36625 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
36626 for flag in $(EXTRA_TARGET_FLAGS); do \
36627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36628 done; \
36629 (cd $(TARGET_SUBDIR)/zlib && \
36630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36632 "RANLIB=$${RANLIB}" \
36633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36634 clean) \
36635 || exit 1
36637 @endif target-zlib
36639 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
36640 maybe-distclean-target-zlib:
36641 @if target-zlib
36642 maybe-distclean-target-zlib: distclean-target-zlib
36644 distclean-target-zlib:
36645 @: $(MAKE); $(unstage)
36646 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36647 r=`${PWD_COMMAND}`; export r; \
36648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36649 $(NORMAL_TARGET_EXPORTS) \
36650 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
36651 for flag in $(EXTRA_TARGET_FLAGS); do \
36652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36653 done; \
36654 (cd $(TARGET_SUBDIR)/zlib && \
36655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36657 "RANLIB=$${RANLIB}" \
36658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36659 distclean) \
36660 || exit 1
36662 @endif target-zlib
36664 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
36665 maybe-maintainer-clean-target-zlib:
36666 @if target-zlib
36667 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
36669 maintainer-clean-target-zlib:
36670 @: $(MAKE); $(unstage)
36671 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36672 r=`${PWD_COMMAND}`; export r; \
36673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36674 $(NORMAL_TARGET_EXPORTS) \
36675 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
36676 for flag in $(EXTRA_TARGET_FLAGS); do \
36677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36678 done; \
36679 (cd $(TARGET_SUBDIR)/zlib && \
36680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36682 "RANLIB=$${RANLIB}" \
36683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36684 maintainer-clean) \
36685 || exit 1
36687 @endif target-zlib
36693 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
36694 maybe-configure-target-boehm-gc:
36695 @if target-boehm-gc
36696 maybe-configure-target-boehm-gc: configure-target-boehm-gc
36697 configure-target-boehm-gc:
36698 @: $(MAKE); $(unstage)
36699 @r=`${PWD_COMMAND}`; export r; \
36700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36701 echo "Checking multilib configuration for boehm-gc..."; \
36702 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
36703 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
36704 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
36705 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
36706 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
36707 else \
36708 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
36709 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
36710 fi; \
36711 else \
36712 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
36713 fi; \
36714 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
36715 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
36716 $(NORMAL_TARGET_EXPORTS) \
36717 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
36718 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
36719 case $(srcdir) in \
36720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36721 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
36722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36723 esac; \
36724 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
36725 libsrcdir="$$s/boehm-gc"; \
36726 rm -f no-such-file || : ; \
36727 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36728 $(TARGET_CONFIGARGS) $${srcdiroption} \
36729 || exit 1
36730 @endif target-boehm-gc
36736 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
36737 maybe-all-target-boehm-gc:
36738 @if target-boehm-gc
36739 TARGET-target-boehm-gc=all
36740 maybe-all-target-boehm-gc: all-target-boehm-gc
36741 all-target-boehm-gc: configure-target-boehm-gc
36742 @: $(MAKE); $(unstage)
36743 @r=`${PWD_COMMAND}`; export r; \
36744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36745 $(NORMAL_TARGET_EXPORTS) \
36746 (cd $(TARGET_SUBDIR)/boehm-gc && \
36747 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
36748 @endif target-boehm-gc
36754 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
36755 maybe-check-target-boehm-gc:
36756 @if target-boehm-gc
36757 maybe-check-target-boehm-gc: check-target-boehm-gc
36759 check-target-boehm-gc:
36760 @: $(MAKE); $(unstage)
36761 @r=`${PWD_COMMAND}`; export r; \
36762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36763 $(NORMAL_TARGET_EXPORTS) \
36764 (cd $(TARGET_SUBDIR)/boehm-gc && \
36765 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36767 @endif target-boehm-gc
36769 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
36770 maybe-install-target-boehm-gc:
36771 @if target-boehm-gc
36772 maybe-install-target-boehm-gc: install-target-boehm-gc
36774 install-target-boehm-gc: installdirs
36775 @: $(MAKE); $(unstage)
36776 @r=`${PWD_COMMAND}`; export r; \
36777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36778 $(NORMAL_TARGET_EXPORTS) \
36779 (cd $(TARGET_SUBDIR)/boehm-gc && \
36780 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36782 @endif target-boehm-gc
36784 # Other targets (info, dvi, etc.)
36786 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
36787 maybe-info-target-boehm-gc:
36788 @if target-boehm-gc
36789 maybe-info-target-boehm-gc: info-target-boehm-gc
36791 info-target-boehm-gc: \
36792 configure-target-boehm-gc
36793 @: $(MAKE); $(unstage)
36794 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36795 r=`${PWD_COMMAND}`; export r; \
36796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36797 $(NORMAL_TARGET_EXPORTS) \
36798 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
36799 for flag in $(EXTRA_TARGET_FLAGS); do \
36800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36801 done; \
36802 (cd $(TARGET_SUBDIR)/boehm-gc && \
36803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36805 "RANLIB=$${RANLIB}" \
36806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36807 info) \
36808 || exit 1
36810 @endif target-boehm-gc
36812 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
36813 maybe-dvi-target-boehm-gc:
36814 @if target-boehm-gc
36815 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
36817 dvi-target-boehm-gc: \
36818 configure-target-boehm-gc
36819 @: $(MAKE); $(unstage)
36820 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36821 r=`${PWD_COMMAND}`; export r; \
36822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36823 $(NORMAL_TARGET_EXPORTS) \
36824 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
36825 for flag in $(EXTRA_TARGET_FLAGS); do \
36826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36827 done; \
36828 (cd $(TARGET_SUBDIR)/boehm-gc && \
36829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36831 "RANLIB=$${RANLIB}" \
36832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36833 dvi) \
36834 || exit 1
36836 @endif target-boehm-gc
36838 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
36839 maybe-html-target-boehm-gc:
36840 @if target-boehm-gc
36841 maybe-html-target-boehm-gc: html-target-boehm-gc
36843 html-target-boehm-gc: \
36844 configure-target-boehm-gc
36845 @: $(MAKE); $(unstage)
36846 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36847 r=`${PWD_COMMAND}`; export r; \
36848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36849 $(NORMAL_TARGET_EXPORTS) \
36850 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
36851 for flag in $(EXTRA_TARGET_FLAGS); do \
36852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36853 done; \
36854 (cd $(TARGET_SUBDIR)/boehm-gc && \
36855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36857 "RANLIB=$${RANLIB}" \
36858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36859 html) \
36860 || exit 1
36862 @endif target-boehm-gc
36864 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
36865 maybe-TAGS-target-boehm-gc:
36866 @if target-boehm-gc
36867 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
36869 TAGS-target-boehm-gc: \
36870 configure-target-boehm-gc
36871 @: $(MAKE); $(unstage)
36872 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36873 r=`${PWD_COMMAND}`; export r; \
36874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36875 $(NORMAL_TARGET_EXPORTS) \
36876 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
36877 for flag in $(EXTRA_TARGET_FLAGS); do \
36878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36879 done; \
36880 (cd $(TARGET_SUBDIR)/boehm-gc && \
36881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36883 "RANLIB=$${RANLIB}" \
36884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36885 TAGS) \
36886 || exit 1
36888 @endif target-boehm-gc
36890 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
36891 maybe-install-info-target-boehm-gc:
36892 @if target-boehm-gc
36893 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
36895 install-info-target-boehm-gc: \
36896 configure-target-boehm-gc \
36897 info-target-boehm-gc
36898 @: $(MAKE); $(unstage)
36899 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36900 r=`${PWD_COMMAND}`; export r; \
36901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36902 $(NORMAL_TARGET_EXPORTS) \
36903 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
36904 for flag in $(EXTRA_TARGET_FLAGS); do \
36905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36906 done; \
36907 (cd $(TARGET_SUBDIR)/boehm-gc && \
36908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36910 "RANLIB=$${RANLIB}" \
36911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36912 install-info) \
36913 || exit 1
36915 @endif target-boehm-gc
36917 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
36918 maybe-install-html-target-boehm-gc:
36919 @if target-boehm-gc
36920 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
36922 install-html-target-boehm-gc: \
36923 configure-target-boehm-gc \
36924 html-target-boehm-gc
36925 @: $(MAKE); $(unstage)
36926 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36927 r=`${PWD_COMMAND}`; export r; \
36928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36929 $(NORMAL_TARGET_EXPORTS) \
36930 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
36931 for flag in $(EXTRA_TARGET_FLAGS); do \
36932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36933 done; \
36934 (cd $(TARGET_SUBDIR)/boehm-gc && \
36935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36937 "RANLIB=$${RANLIB}" \
36938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36939 install-html) \
36940 || exit 1
36942 @endif target-boehm-gc
36944 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
36945 maybe-installcheck-target-boehm-gc:
36946 @if target-boehm-gc
36947 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
36949 installcheck-target-boehm-gc: \
36950 configure-target-boehm-gc
36951 @: $(MAKE); $(unstage)
36952 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36953 r=`${PWD_COMMAND}`; export r; \
36954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36955 $(NORMAL_TARGET_EXPORTS) \
36956 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
36957 for flag in $(EXTRA_TARGET_FLAGS); do \
36958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36959 done; \
36960 (cd $(TARGET_SUBDIR)/boehm-gc && \
36961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36963 "RANLIB=$${RANLIB}" \
36964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36965 installcheck) \
36966 || exit 1
36968 @endif target-boehm-gc
36970 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
36971 maybe-mostlyclean-target-boehm-gc:
36972 @if target-boehm-gc
36973 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
36975 mostlyclean-target-boehm-gc:
36976 @: $(MAKE); $(unstage)
36977 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
36978 r=`${PWD_COMMAND}`; export r; \
36979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36980 $(NORMAL_TARGET_EXPORTS) \
36981 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
36982 for flag in $(EXTRA_TARGET_FLAGS); do \
36983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36984 done; \
36985 (cd $(TARGET_SUBDIR)/boehm-gc && \
36986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36988 "RANLIB=$${RANLIB}" \
36989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36990 mostlyclean) \
36991 || exit 1
36993 @endif target-boehm-gc
36995 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
36996 maybe-clean-target-boehm-gc:
36997 @if target-boehm-gc
36998 maybe-clean-target-boehm-gc: clean-target-boehm-gc
37000 clean-target-boehm-gc:
37001 @: $(MAKE); $(unstage)
37002 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37003 r=`${PWD_COMMAND}`; export r; \
37004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37005 $(NORMAL_TARGET_EXPORTS) \
37006 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37007 for flag in $(EXTRA_TARGET_FLAGS); do \
37008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37009 done; \
37010 (cd $(TARGET_SUBDIR)/boehm-gc && \
37011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37013 "RANLIB=$${RANLIB}" \
37014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37015 clean) \
37016 || exit 1
37018 @endif target-boehm-gc
37020 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
37021 maybe-distclean-target-boehm-gc:
37022 @if target-boehm-gc
37023 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
37025 distclean-target-boehm-gc:
37026 @: $(MAKE); $(unstage)
37027 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37028 r=`${PWD_COMMAND}`; export r; \
37029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37030 $(NORMAL_TARGET_EXPORTS) \
37031 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37032 for flag in $(EXTRA_TARGET_FLAGS); do \
37033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37034 done; \
37035 (cd $(TARGET_SUBDIR)/boehm-gc && \
37036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37038 "RANLIB=$${RANLIB}" \
37039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37040 distclean) \
37041 || exit 1
37043 @endif target-boehm-gc
37045 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
37046 maybe-maintainer-clean-target-boehm-gc:
37047 @if target-boehm-gc
37048 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
37050 maintainer-clean-target-boehm-gc:
37051 @: $(MAKE); $(unstage)
37052 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37053 r=`${PWD_COMMAND}`; export r; \
37054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37055 $(NORMAL_TARGET_EXPORTS) \
37056 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37057 for flag in $(EXTRA_TARGET_FLAGS); do \
37058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37059 done; \
37060 (cd $(TARGET_SUBDIR)/boehm-gc && \
37061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37063 "RANLIB=$${RANLIB}" \
37064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37065 maintainer-clean) \
37066 || exit 1
37068 @endif target-boehm-gc
37074 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
37075 maybe-configure-target-qthreads:
37076 @if target-qthreads
37077 maybe-configure-target-qthreads: configure-target-qthreads
37078 configure-target-qthreads:
37079 @: $(MAKE); $(unstage)
37080 @r=`${PWD_COMMAND}`; export r; \
37081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37082 echo "Checking multilib configuration for qthreads..."; \
37083 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37084 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
37085 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37086 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37087 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
37088 else \
37089 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
37090 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37091 fi; \
37092 else \
37093 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37094 fi; \
37095 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
37096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37097 $(NORMAL_TARGET_EXPORTS) \
37098 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
37099 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
37100 case $(srcdir) in \
37101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37102 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
37103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37104 esac; \
37105 srcdiroption="--srcdir=$${topdir}/qthreads"; \
37106 libsrcdir="$$s/qthreads"; \
37107 rm -f no-such-file || : ; \
37108 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37109 $(TARGET_CONFIGARGS) $${srcdiroption} \
37110 || exit 1
37111 @endif target-qthreads
37117 .PHONY: all-target-qthreads maybe-all-target-qthreads
37118 maybe-all-target-qthreads:
37119 @if target-qthreads
37120 TARGET-target-qthreads=all
37121 maybe-all-target-qthreads: all-target-qthreads
37122 all-target-qthreads: configure-target-qthreads
37123 @: $(MAKE); $(unstage)
37124 @r=`${PWD_COMMAND}`; export r; \
37125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37126 $(NORMAL_TARGET_EXPORTS) \
37127 (cd $(TARGET_SUBDIR)/qthreads && \
37128 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
37129 @endif target-qthreads
37135 .PHONY: check-target-qthreads maybe-check-target-qthreads
37136 maybe-check-target-qthreads:
37137 @if target-qthreads
37138 maybe-check-target-qthreads: check-target-qthreads
37140 check-target-qthreads:
37141 @: $(MAKE); $(unstage)
37142 @r=`${PWD_COMMAND}`; export r; \
37143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37144 $(NORMAL_TARGET_EXPORTS) \
37145 (cd $(TARGET_SUBDIR)/qthreads && \
37146 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37148 @endif target-qthreads
37150 .PHONY: install-target-qthreads maybe-install-target-qthreads
37151 maybe-install-target-qthreads:
37152 @if target-qthreads
37153 maybe-install-target-qthreads: install-target-qthreads
37155 install-target-qthreads: installdirs
37156 @: $(MAKE); $(unstage)
37157 @r=`${PWD_COMMAND}`; export r; \
37158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37159 $(NORMAL_TARGET_EXPORTS) \
37160 (cd $(TARGET_SUBDIR)/qthreads && \
37161 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37163 @endif target-qthreads
37165 # Other targets (info, dvi, etc.)
37167 .PHONY: maybe-info-target-qthreads info-target-qthreads
37168 maybe-info-target-qthreads:
37169 @if target-qthreads
37170 maybe-info-target-qthreads: info-target-qthreads
37172 info-target-qthreads: \
37173 configure-target-qthreads
37174 @: $(MAKE); $(unstage)
37175 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37176 r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(NORMAL_TARGET_EXPORTS) \
37179 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
37180 for flag in $(EXTRA_TARGET_FLAGS); do \
37181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37182 done; \
37183 (cd $(TARGET_SUBDIR)/qthreads && \
37184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37186 "RANLIB=$${RANLIB}" \
37187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37188 info) \
37189 || exit 1
37191 @endif target-qthreads
37193 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
37194 maybe-dvi-target-qthreads:
37195 @if target-qthreads
37196 maybe-dvi-target-qthreads: dvi-target-qthreads
37198 dvi-target-qthreads: \
37199 configure-target-qthreads
37200 @: $(MAKE); $(unstage)
37201 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37202 r=`${PWD_COMMAND}`; export r; \
37203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37204 $(NORMAL_TARGET_EXPORTS) \
37205 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
37206 for flag in $(EXTRA_TARGET_FLAGS); do \
37207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37208 done; \
37209 (cd $(TARGET_SUBDIR)/qthreads && \
37210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37212 "RANLIB=$${RANLIB}" \
37213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37214 dvi) \
37215 || exit 1
37217 @endif target-qthreads
37219 .PHONY: maybe-html-target-qthreads html-target-qthreads
37220 maybe-html-target-qthreads:
37221 @if target-qthreads
37222 maybe-html-target-qthreads: html-target-qthreads
37224 html-target-qthreads: \
37225 configure-target-qthreads
37226 @: $(MAKE); $(unstage)
37227 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37228 r=`${PWD_COMMAND}`; export r; \
37229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37230 $(NORMAL_TARGET_EXPORTS) \
37231 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
37232 for flag in $(EXTRA_TARGET_FLAGS); do \
37233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37234 done; \
37235 (cd $(TARGET_SUBDIR)/qthreads && \
37236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37238 "RANLIB=$${RANLIB}" \
37239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37240 html) \
37241 || exit 1
37243 @endif target-qthreads
37245 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
37246 maybe-TAGS-target-qthreads:
37247 @if target-qthreads
37248 maybe-TAGS-target-qthreads: TAGS-target-qthreads
37250 TAGS-target-qthreads: \
37251 configure-target-qthreads
37252 @: $(MAKE); $(unstage)
37253 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37254 r=`${PWD_COMMAND}`; export r; \
37255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37256 $(NORMAL_TARGET_EXPORTS) \
37257 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
37258 for flag in $(EXTRA_TARGET_FLAGS); do \
37259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37260 done; \
37261 (cd $(TARGET_SUBDIR)/qthreads && \
37262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37264 "RANLIB=$${RANLIB}" \
37265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37266 TAGS) \
37267 || exit 1
37269 @endif target-qthreads
37271 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
37272 maybe-install-info-target-qthreads:
37273 @if target-qthreads
37274 maybe-install-info-target-qthreads: install-info-target-qthreads
37276 install-info-target-qthreads: \
37277 configure-target-qthreads \
37278 info-target-qthreads
37279 @: $(MAKE); $(unstage)
37280 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37281 r=`${PWD_COMMAND}`; export r; \
37282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37283 $(NORMAL_TARGET_EXPORTS) \
37284 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
37285 for flag in $(EXTRA_TARGET_FLAGS); do \
37286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37287 done; \
37288 (cd $(TARGET_SUBDIR)/qthreads && \
37289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37291 "RANLIB=$${RANLIB}" \
37292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37293 install-info) \
37294 || exit 1
37296 @endif target-qthreads
37298 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
37299 maybe-install-html-target-qthreads:
37300 @if target-qthreads
37301 maybe-install-html-target-qthreads: install-html-target-qthreads
37303 install-html-target-qthreads: \
37304 configure-target-qthreads \
37305 html-target-qthreads
37306 @: $(MAKE); $(unstage)
37307 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37308 r=`${PWD_COMMAND}`; export r; \
37309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37310 $(NORMAL_TARGET_EXPORTS) \
37311 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
37312 for flag in $(EXTRA_TARGET_FLAGS); do \
37313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37314 done; \
37315 (cd $(TARGET_SUBDIR)/qthreads && \
37316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37318 "RANLIB=$${RANLIB}" \
37319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37320 install-html) \
37321 || exit 1
37323 @endif target-qthreads
37325 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
37326 maybe-installcheck-target-qthreads:
37327 @if target-qthreads
37328 maybe-installcheck-target-qthreads: installcheck-target-qthreads
37330 installcheck-target-qthreads: \
37331 configure-target-qthreads
37332 @: $(MAKE); $(unstage)
37333 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37334 r=`${PWD_COMMAND}`; export r; \
37335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37336 $(NORMAL_TARGET_EXPORTS) \
37337 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
37338 for flag in $(EXTRA_TARGET_FLAGS); do \
37339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37340 done; \
37341 (cd $(TARGET_SUBDIR)/qthreads && \
37342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37344 "RANLIB=$${RANLIB}" \
37345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37346 installcheck) \
37347 || exit 1
37349 @endif target-qthreads
37351 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
37352 maybe-mostlyclean-target-qthreads:
37353 @if target-qthreads
37354 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
37356 mostlyclean-target-qthreads:
37357 @: $(MAKE); $(unstage)
37358 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37359 r=`${PWD_COMMAND}`; export r; \
37360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37361 $(NORMAL_TARGET_EXPORTS) \
37362 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
37363 for flag in $(EXTRA_TARGET_FLAGS); do \
37364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37365 done; \
37366 (cd $(TARGET_SUBDIR)/qthreads && \
37367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37369 "RANLIB=$${RANLIB}" \
37370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37371 mostlyclean) \
37372 || exit 1
37374 @endif target-qthreads
37376 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
37377 maybe-clean-target-qthreads:
37378 @if target-qthreads
37379 maybe-clean-target-qthreads: clean-target-qthreads
37381 clean-target-qthreads:
37382 @: $(MAKE); $(unstage)
37383 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37384 r=`${PWD_COMMAND}`; export r; \
37385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37386 $(NORMAL_TARGET_EXPORTS) \
37387 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
37388 for flag in $(EXTRA_TARGET_FLAGS); do \
37389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37390 done; \
37391 (cd $(TARGET_SUBDIR)/qthreads && \
37392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37394 "RANLIB=$${RANLIB}" \
37395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37396 clean) \
37397 || exit 1
37399 @endif target-qthreads
37401 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
37402 maybe-distclean-target-qthreads:
37403 @if target-qthreads
37404 maybe-distclean-target-qthreads: distclean-target-qthreads
37406 distclean-target-qthreads:
37407 @: $(MAKE); $(unstage)
37408 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37409 r=`${PWD_COMMAND}`; export r; \
37410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37411 $(NORMAL_TARGET_EXPORTS) \
37412 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
37413 for flag in $(EXTRA_TARGET_FLAGS); do \
37414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37415 done; \
37416 (cd $(TARGET_SUBDIR)/qthreads && \
37417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37419 "RANLIB=$${RANLIB}" \
37420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37421 distclean) \
37422 || exit 1
37424 @endif target-qthreads
37426 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
37427 maybe-maintainer-clean-target-qthreads:
37428 @if target-qthreads
37429 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
37431 maintainer-clean-target-qthreads:
37432 @: $(MAKE); $(unstage)
37433 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37434 r=`${PWD_COMMAND}`; export r; \
37435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37436 $(NORMAL_TARGET_EXPORTS) \
37437 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
37438 for flag in $(EXTRA_TARGET_FLAGS); do \
37439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37440 done; \
37441 (cd $(TARGET_SUBDIR)/qthreads && \
37442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37444 "RANLIB=$${RANLIB}" \
37445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37446 maintainer-clean) \
37447 || exit 1
37449 @endif target-qthreads
37455 .PHONY: configure-target-rda maybe-configure-target-rda
37456 maybe-configure-target-rda:
37457 @if target-rda
37458 maybe-configure-target-rda: configure-target-rda
37459 configure-target-rda:
37460 @: $(MAKE); $(unstage)
37461 @r=`${PWD_COMMAND}`; export r; \
37462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37463 echo "Checking multilib configuration for rda..."; \
37464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
37466 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
37467 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
37468 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
37469 else \
37470 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
37471 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37472 fi; \
37473 else \
37474 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37475 fi; \
37476 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
37477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37478 $(NORMAL_TARGET_EXPORTS) \
37479 echo Configuring in $(TARGET_SUBDIR)/rda; \
37480 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
37481 case $(srcdir) in \
37482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37483 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
37484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37485 esac; \
37486 srcdiroption="--srcdir=$${topdir}/rda"; \
37487 libsrcdir="$$s/rda"; \
37488 rm -f no-such-file || : ; \
37489 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37490 $(TARGET_CONFIGARGS) $${srcdiroption} \
37491 || exit 1
37492 @endif target-rda
37498 .PHONY: all-target-rda maybe-all-target-rda
37499 maybe-all-target-rda:
37500 @if target-rda
37501 TARGET-target-rda=all
37502 maybe-all-target-rda: all-target-rda
37503 all-target-rda: configure-target-rda
37504 @: $(MAKE); $(unstage)
37505 @r=`${PWD_COMMAND}`; export r; \
37506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37507 $(NORMAL_TARGET_EXPORTS) \
37508 (cd $(TARGET_SUBDIR)/rda && \
37509 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
37510 @endif target-rda
37516 .PHONY: check-target-rda maybe-check-target-rda
37517 maybe-check-target-rda:
37518 @if target-rda
37519 maybe-check-target-rda: check-target-rda
37521 check-target-rda:
37522 @: $(MAKE); $(unstage)
37523 @r=`${PWD_COMMAND}`; export r; \
37524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37525 $(NORMAL_TARGET_EXPORTS) \
37526 (cd $(TARGET_SUBDIR)/rda && \
37527 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37529 @endif target-rda
37531 .PHONY: install-target-rda maybe-install-target-rda
37532 maybe-install-target-rda:
37533 @if target-rda
37534 maybe-install-target-rda: install-target-rda
37536 install-target-rda: installdirs
37537 @: $(MAKE); $(unstage)
37538 @r=`${PWD_COMMAND}`; export r; \
37539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37540 $(NORMAL_TARGET_EXPORTS) \
37541 (cd $(TARGET_SUBDIR)/rda && \
37542 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37544 @endif target-rda
37546 # Other targets (info, dvi, etc.)
37548 .PHONY: maybe-info-target-rda info-target-rda
37549 maybe-info-target-rda:
37550 @if target-rda
37551 maybe-info-target-rda: info-target-rda
37553 info-target-rda: \
37554 configure-target-rda
37555 @: $(MAKE); $(unstage)
37556 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37557 r=`${PWD_COMMAND}`; export r; \
37558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37559 $(NORMAL_TARGET_EXPORTS) \
37560 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
37561 for flag in $(EXTRA_TARGET_FLAGS); do \
37562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37563 done; \
37564 (cd $(TARGET_SUBDIR)/rda && \
37565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37567 "RANLIB=$${RANLIB}" \
37568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37569 info) \
37570 || exit 1
37572 @endif target-rda
37574 .PHONY: maybe-dvi-target-rda dvi-target-rda
37575 maybe-dvi-target-rda:
37576 @if target-rda
37577 maybe-dvi-target-rda: dvi-target-rda
37579 dvi-target-rda: \
37580 configure-target-rda
37581 @: $(MAKE); $(unstage)
37582 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37583 r=`${PWD_COMMAND}`; export r; \
37584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37585 $(NORMAL_TARGET_EXPORTS) \
37586 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
37587 for flag in $(EXTRA_TARGET_FLAGS); do \
37588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37589 done; \
37590 (cd $(TARGET_SUBDIR)/rda && \
37591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37593 "RANLIB=$${RANLIB}" \
37594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37595 dvi) \
37596 || exit 1
37598 @endif target-rda
37600 .PHONY: maybe-html-target-rda html-target-rda
37601 maybe-html-target-rda:
37602 @if target-rda
37603 maybe-html-target-rda: html-target-rda
37605 html-target-rda: \
37606 configure-target-rda
37607 @: $(MAKE); $(unstage)
37608 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37609 r=`${PWD_COMMAND}`; export r; \
37610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37611 $(NORMAL_TARGET_EXPORTS) \
37612 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
37613 for flag in $(EXTRA_TARGET_FLAGS); do \
37614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37615 done; \
37616 (cd $(TARGET_SUBDIR)/rda && \
37617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37619 "RANLIB=$${RANLIB}" \
37620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37621 html) \
37622 || exit 1
37624 @endif target-rda
37626 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
37627 maybe-TAGS-target-rda:
37628 @if target-rda
37629 maybe-TAGS-target-rda: TAGS-target-rda
37631 TAGS-target-rda: \
37632 configure-target-rda
37633 @: $(MAKE); $(unstage)
37634 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37635 r=`${PWD_COMMAND}`; export r; \
37636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37637 $(NORMAL_TARGET_EXPORTS) \
37638 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
37639 for flag in $(EXTRA_TARGET_FLAGS); do \
37640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37641 done; \
37642 (cd $(TARGET_SUBDIR)/rda && \
37643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37645 "RANLIB=$${RANLIB}" \
37646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37647 TAGS) \
37648 || exit 1
37650 @endif target-rda
37652 .PHONY: maybe-install-info-target-rda install-info-target-rda
37653 maybe-install-info-target-rda:
37654 @if target-rda
37655 maybe-install-info-target-rda: install-info-target-rda
37657 install-info-target-rda: \
37658 configure-target-rda \
37659 info-target-rda
37660 @: $(MAKE); $(unstage)
37661 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37662 r=`${PWD_COMMAND}`; export r; \
37663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37664 $(NORMAL_TARGET_EXPORTS) \
37665 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
37666 for flag in $(EXTRA_TARGET_FLAGS); do \
37667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37668 done; \
37669 (cd $(TARGET_SUBDIR)/rda && \
37670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37672 "RANLIB=$${RANLIB}" \
37673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37674 install-info) \
37675 || exit 1
37677 @endif target-rda
37679 .PHONY: maybe-install-html-target-rda install-html-target-rda
37680 maybe-install-html-target-rda:
37681 @if target-rda
37682 maybe-install-html-target-rda: install-html-target-rda
37684 install-html-target-rda: \
37685 configure-target-rda \
37686 html-target-rda
37687 @: $(MAKE); $(unstage)
37688 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37689 r=`${PWD_COMMAND}`; export r; \
37690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37691 $(NORMAL_TARGET_EXPORTS) \
37692 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
37693 for flag in $(EXTRA_TARGET_FLAGS); do \
37694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37695 done; \
37696 (cd $(TARGET_SUBDIR)/rda && \
37697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37699 "RANLIB=$${RANLIB}" \
37700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37701 install-html) \
37702 || exit 1
37704 @endif target-rda
37706 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
37707 maybe-installcheck-target-rda:
37708 @if target-rda
37709 maybe-installcheck-target-rda: installcheck-target-rda
37711 installcheck-target-rda: \
37712 configure-target-rda
37713 @: $(MAKE); $(unstage)
37714 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37715 r=`${PWD_COMMAND}`; export r; \
37716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37717 $(NORMAL_TARGET_EXPORTS) \
37718 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
37719 for flag in $(EXTRA_TARGET_FLAGS); do \
37720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37721 done; \
37722 (cd $(TARGET_SUBDIR)/rda && \
37723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37725 "RANLIB=$${RANLIB}" \
37726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37727 installcheck) \
37728 || exit 1
37730 @endif target-rda
37732 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
37733 maybe-mostlyclean-target-rda:
37734 @if target-rda
37735 maybe-mostlyclean-target-rda: mostlyclean-target-rda
37737 mostlyclean-target-rda:
37738 @: $(MAKE); $(unstage)
37739 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37740 r=`${PWD_COMMAND}`; export r; \
37741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37742 $(NORMAL_TARGET_EXPORTS) \
37743 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
37744 for flag in $(EXTRA_TARGET_FLAGS); do \
37745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37746 done; \
37747 (cd $(TARGET_SUBDIR)/rda && \
37748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37750 "RANLIB=$${RANLIB}" \
37751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37752 mostlyclean) \
37753 || exit 1
37755 @endif target-rda
37757 .PHONY: maybe-clean-target-rda clean-target-rda
37758 maybe-clean-target-rda:
37759 @if target-rda
37760 maybe-clean-target-rda: clean-target-rda
37762 clean-target-rda:
37763 @: $(MAKE); $(unstage)
37764 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37765 r=`${PWD_COMMAND}`; export r; \
37766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37767 $(NORMAL_TARGET_EXPORTS) \
37768 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
37769 for flag in $(EXTRA_TARGET_FLAGS); do \
37770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37771 done; \
37772 (cd $(TARGET_SUBDIR)/rda && \
37773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37775 "RANLIB=$${RANLIB}" \
37776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37777 clean) \
37778 || exit 1
37780 @endif target-rda
37782 .PHONY: maybe-distclean-target-rda distclean-target-rda
37783 maybe-distclean-target-rda:
37784 @if target-rda
37785 maybe-distclean-target-rda: distclean-target-rda
37787 distclean-target-rda:
37788 @: $(MAKE); $(unstage)
37789 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37790 r=`${PWD_COMMAND}`; export r; \
37791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37792 $(NORMAL_TARGET_EXPORTS) \
37793 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
37794 for flag in $(EXTRA_TARGET_FLAGS); do \
37795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37796 done; \
37797 (cd $(TARGET_SUBDIR)/rda && \
37798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37800 "RANLIB=$${RANLIB}" \
37801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37802 distclean) \
37803 || exit 1
37805 @endif target-rda
37807 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
37808 maybe-maintainer-clean-target-rda:
37809 @if target-rda
37810 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
37812 maintainer-clean-target-rda:
37813 @: $(MAKE); $(unstage)
37814 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
37815 r=`${PWD_COMMAND}`; export r; \
37816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37817 $(NORMAL_TARGET_EXPORTS) \
37818 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
37819 for flag in $(EXTRA_TARGET_FLAGS); do \
37820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37821 done; \
37822 (cd $(TARGET_SUBDIR)/rda && \
37823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37825 "RANLIB=$${RANLIB}" \
37826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37827 maintainer-clean) \
37828 || exit 1
37830 @endif target-rda
37836 .PHONY: configure-target-libada maybe-configure-target-libada
37837 maybe-configure-target-libada:
37838 @if target-libada
37839 maybe-configure-target-libada: configure-target-libada
37840 configure-target-libada:
37841 @: $(MAKE); $(unstage)
37842 @r=`${PWD_COMMAND}`; export r; \
37843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37844 echo "Checking multilib configuration for libada..."; \
37845 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
37846 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
37847 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
37848 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
37849 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
37850 else \
37851 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
37852 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
37853 fi; \
37854 else \
37855 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
37856 fi; \
37857 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
37858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
37859 $(NORMAL_TARGET_EXPORTS) \
37860 echo Configuring in $(TARGET_SUBDIR)/libada; \
37861 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
37862 case $(srcdir) in \
37863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37864 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
37865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37866 esac; \
37867 srcdiroption="--srcdir=$${topdir}/libada"; \
37868 libsrcdir="$$s/libada"; \
37869 rm -f no-such-file || : ; \
37870 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37871 $(TARGET_CONFIGARGS) $${srcdiroption} \
37872 || exit 1
37873 @endif target-libada
37879 .PHONY: all-target-libada maybe-all-target-libada
37880 maybe-all-target-libada:
37881 @if target-libada
37882 TARGET-target-libada=all
37883 maybe-all-target-libada: all-target-libada
37884 all-target-libada: configure-target-libada
37885 @: $(MAKE); $(unstage)
37886 @r=`${PWD_COMMAND}`; export r; \
37887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37888 $(NORMAL_TARGET_EXPORTS) \
37889 (cd $(TARGET_SUBDIR)/libada && \
37890 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
37891 @endif target-libada
37897 .PHONY: check-target-libada maybe-check-target-libada
37898 maybe-check-target-libada:
37899 @if target-libada
37900 maybe-check-target-libada: check-target-libada
37902 check-target-libada:
37903 @: $(MAKE); $(unstage)
37904 @r=`${PWD_COMMAND}`; export r; \
37905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37906 $(NORMAL_TARGET_EXPORTS) \
37907 (cd $(TARGET_SUBDIR)/libada && \
37908 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37910 @endif target-libada
37912 .PHONY: install-target-libada maybe-install-target-libada
37913 maybe-install-target-libada:
37914 @if target-libada
37915 maybe-install-target-libada: install-target-libada
37917 install-target-libada: installdirs
37918 @: $(MAKE); $(unstage)
37919 @r=`${PWD_COMMAND}`; export r; \
37920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37921 $(NORMAL_TARGET_EXPORTS) \
37922 (cd $(TARGET_SUBDIR)/libada && \
37923 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37925 @endif target-libada
37927 # Other targets (info, dvi, etc.)
37929 .PHONY: maybe-info-target-libada info-target-libada
37930 maybe-info-target-libada:
37931 @if target-libada
37932 maybe-info-target-libada: info-target-libada
37934 info-target-libada: \
37935 configure-target-libada
37936 @: $(MAKE); $(unstage)
37937 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
37938 r=`${PWD_COMMAND}`; export r; \
37939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37940 $(NORMAL_TARGET_EXPORTS) \
37941 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
37942 for flag in $(EXTRA_TARGET_FLAGS); do \
37943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37944 done; \
37945 (cd $(TARGET_SUBDIR)/libada && \
37946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37948 "RANLIB=$${RANLIB}" \
37949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37950 info) \
37951 || exit 1
37953 @endif target-libada
37955 .PHONY: maybe-dvi-target-libada dvi-target-libada
37956 maybe-dvi-target-libada:
37957 @if target-libada
37958 maybe-dvi-target-libada: dvi-target-libada
37960 dvi-target-libada: \
37961 configure-target-libada
37962 @: $(MAKE); $(unstage)
37963 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
37964 r=`${PWD_COMMAND}`; export r; \
37965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37966 $(NORMAL_TARGET_EXPORTS) \
37967 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
37968 for flag in $(EXTRA_TARGET_FLAGS); do \
37969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37970 done; \
37971 (cd $(TARGET_SUBDIR)/libada && \
37972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37974 "RANLIB=$${RANLIB}" \
37975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37976 dvi) \
37977 || exit 1
37979 @endif target-libada
37981 .PHONY: maybe-html-target-libada html-target-libada
37982 maybe-html-target-libada:
37983 @if target-libada
37984 maybe-html-target-libada: html-target-libada
37986 html-target-libada: \
37987 configure-target-libada
37988 @: $(MAKE); $(unstage)
37989 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
37990 r=`${PWD_COMMAND}`; export r; \
37991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37992 $(NORMAL_TARGET_EXPORTS) \
37993 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
37994 for flag in $(EXTRA_TARGET_FLAGS); do \
37995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37996 done; \
37997 (cd $(TARGET_SUBDIR)/libada && \
37998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38000 "RANLIB=$${RANLIB}" \
38001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38002 html) \
38003 || exit 1
38005 @endif target-libada
38007 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38008 maybe-TAGS-target-libada:
38009 @if target-libada
38010 maybe-TAGS-target-libada: TAGS-target-libada
38012 TAGS-target-libada: \
38013 configure-target-libada
38014 @: $(MAKE); $(unstage)
38015 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38016 r=`${PWD_COMMAND}`; export r; \
38017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38018 $(NORMAL_TARGET_EXPORTS) \
38019 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38020 for flag in $(EXTRA_TARGET_FLAGS); do \
38021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38022 done; \
38023 (cd $(TARGET_SUBDIR)/libada && \
38024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38026 "RANLIB=$${RANLIB}" \
38027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38028 TAGS) \
38029 || exit 1
38031 @endif target-libada
38033 .PHONY: maybe-install-info-target-libada install-info-target-libada
38034 maybe-install-info-target-libada:
38035 @if target-libada
38036 maybe-install-info-target-libada: install-info-target-libada
38038 install-info-target-libada: \
38039 configure-target-libada \
38040 info-target-libada
38041 @: $(MAKE); $(unstage)
38042 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38043 r=`${PWD_COMMAND}`; export r; \
38044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38045 $(NORMAL_TARGET_EXPORTS) \
38046 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38047 for flag in $(EXTRA_TARGET_FLAGS); do \
38048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38049 done; \
38050 (cd $(TARGET_SUBDIR)/libada && \
38051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38053 "RANLIB=$${RANLIB}" \
38054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38055 install-info) \
38056 || exit 1
38058 @endif target-libada
38060 .PHONY: maybe-install-html-target-libada install-html-target-libada
38061 maybe-install-html-target-libada:
38062 @if target-libada
38063 maybe-install-html-target-libada: install-html-target-libada
38065 install-html-target-libada: \
38066 configure-target-libada \
38067 html-target-libada
38068 @: $(MAKE); $(unstage)
38069 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38070 r=`${PWD_COMMAND}`; export r; \
38071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38072 $(NORMAL_TARGET_EXPORTS) \
38073 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
38074 for flag in $(EXTRA_TARGET_FLAGS); do \
38075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38076 done; \
38077 (cd $(TARGET_SUBDIR)/libada && \
38078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38080 "RANLIB=$${RANLIB}" \
38081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38082 install-html) \
38083 || exit 1
38085 @endif target-libada
38087 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
38088 maybe-installcheck-target-libada:
38089 @if target-libada
38090 maybe-installcheck-target-libada: installcheck-target-libada
38092 installcheck-target-libada: \
38093 configure-target-libada
38094 @: $(MAKE); $(unstage)
38095 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38096 r=`${PWD_COMMAND}`; export r; \
38097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38098 $(NORMAL_TARGET_EXPORTS) \
38099 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
38100 for flag in $(EXTRA_TARGET_FLAGS); do \
38101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38102 done; \
38103 (cd $(TARGET_SUBDIR)/libada && \
38104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38106 "RANLIB=$${RANLIB}" \
38107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38108 installcheck) \
38109 || exit 1
38111 @endif target-libada
38113 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
38114 maybe-mostlyclean-target-libada:
38115 @if target-libada
38116 maybe-mostlyclean-target-libada: mostlyclean-target-libada
38118 mostlyclean-target-libada:
38119 @: $(MAKE); $(unstage)
38120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38121 r=`${PWD_COMMAND}`; export r; \
38122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38123 $(NORMAL_TARGET_EXPORTS) \
38124 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
38125 for flag in $(EXTRA_TARGET_FLAGS); do \
38126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38127 done; \
38128 (cd $(TARGET_SUBDIR)/libada && \
38129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38131 "RANLIB=$${RANLIB}" \
38132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38133 mostlyclean) \
38134 || exit 1
38136 @endif target-libada
38138 .PHONY: maybe-clean-target-libada clean-target-libada
38139 maybe-clean-target-libada:
38140 @if target-libada
38141 maybe-clean-target-libada: clean-target-libada
38143 clean-target-libada:
38144 @: $(MAKE); $(unstage)
38145 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38146 r=`${PWD_COMMAND}`; export r; \
38147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38148 $(NORMAL_TARGET_EXPORTS) \
38149 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
38150 for flag in $(EXTRA_TARGET_FLAGS); do \
38151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38152 done; \
38153 (cd $(TARGET_SUBDIR)/libada && \
38154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38156 "RANLIB=$${RANLIB}" \
38157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38158 clean) \
38159 || exit 1
38161 @endif target-libada
38163 .PHONY: maybe-distclean-target-libada distclean-target-libada
38164 maybe-distclean-target-libada:
38165 @if target-libada
38166 maybe-distclean-target-libada: distclean-target-libada
38168 distclean-target-libada:
38169 @: $(MAKE); $(unstage)
38170 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38171 r=`${PWD_COMMAND}`; export r; \
38172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38173 $(NORMAL_TARGET_EXPORTS) \
38174 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
38175 for flag in $(EXTRA_TARGET_FLAGS); do \
38176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38177 done; \
38178 (cd $(TARGET_SUBDIR)/libada && \
38179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38181 "RANLIB=$${RANLIB}" \
38182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38183 distclean) \
38184 || exit 1
38186 @endif target-libada
38188 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
38189 maybe-maintainer-clean-target-libada:
38190 @if target-libada
38191 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
38193 maintainer-clean-target-libada:
38194 @: $(MAKE); $(unstage)
38195 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38196 r=`${PWD_COMMAND}`; export r; \
38197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38198 $(NORMAL_TARGET_EXPORTS) \
38199 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
38200 for flag in $(EXTRA_TARGET_FLAGS); do \
38201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38202 done; \
38203 (cd $(TARGET_SUBDIR)/libada && \
38204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38206 "RANLIB=$${RANLIB}" \
38207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38208 maintainer-clean) \
38209 || exit 1
38211 @endif target-libada
38217 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
38218 maybe-configure-target-libgomp:
38219 @if target-libgomp
38220 maybe-configure-target-libgomp: configure-target-libgomp
38221 configure-target-libgomp:
38222 @: $(MAKE); $(unstage)
38223 @r=`${PWD_COMMAND}`; export r; \
38224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38225 echo "Checking multilib configuration for libgomp..."; \
38226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38227 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
38228 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38229 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38230 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
38231 else \
38232 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
38233 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38234 fi; \
38235 else \
38236 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38237 fi; \
38238 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
38239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38240 $(NORMAL_TARGET_EXPORTS) \
38241 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
38242 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
38243 case $(srcdir) in \
38244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38245 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
38246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38247 esac; \
38248 srcdiroption="--srcdir=$${topdir}/libgomp"; \
38249 libsrcdir="$$s/libgomp"; \
38250 rm -f no-such-file || : ; \
38251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38252 $(TARGET_CONFIGARGS) $${srcdiroption} \
38253 || exit 1
38254 @endif target-libgomp
38260 .PHONY: all-target-libgomp maybe-all-target-libgomp
38261 maybe-all-target-libgomp:
38262 @if target-libgomp
38263 TARGET-target-libgomp=all
38264 maybe-all-target-libgomp: all-target-libgomp
38265 all-target-libgomp: configure-target-libgomp
38266 @: $(MAKE); $(unstage)
38267 @r=`${PWD_COMMAND}`; export r; \
38268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38269 $(NORMAL_TARGET_EXPORTS) \
38270 (cd $(TARGET_SUBDIR)/libgomp && \
38271 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
38272 @endif target-libgomp
38278 .PHONY: check-target-libgomp maybe-check-target-libgomp
38279 maybe-check-target-libgomp:
38280 @if target-libgomp
38281 maybe-check-target-libgomp: check-target-libgomp
38283 check-target-libgomp:
38284 @: $(MAKE); $(unstage)
38285 @r=`${PWD_COMMAND}`; export r; \
38286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38287 $(NORMAL_TARGET_EXPORTS) \
38288 (cd $(TARGET_SUBDIR)/libgomp && \
38289 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38291 @endif target-libgomp
38293 .PHONY: install-target-libgomp maybe-install-target-libgomp
38294 maybe-install-target-libgomp:
38295 @if target-libgomp
38296 maybe-install-target-libgomp: install-target-libgomp
38298 install-target-libgomp: installdirs
38299 @: $(MAKE); $(unstage)
38300 @r=`${PWD_COMMAND}`; export r; \
38301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38302 $(NORMAL_TARGET_EXPORTS) \
38303 (cd $(TARGET_SUBDIR)/libgomp && \
38304 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38306 @endif target-libgomp
38308 # Other targets (info, dvi, etc.)
38310 .PHONY: maybe-info-target-libgomp info-target-libgomp
38311 maybe-info-target-libgomp:
38312 @if target-libgomp
38313 maybe-info-target-libgomp: info-target-libgomp
38315 info-target-libgomp: \
38316 configure-target-libgomp
38317 @: $(MAKE); $(unstage)
38318 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38319 r=`${PWD_COMMAND}`; export r; \
38320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38321 $(NORMAL_TARGET_EXPORTS) \
38322 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
38323 for flag in $(EXTRA_TARGET_FLAGS); do \
38324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38325 done; \
38326 (cd $(TARGET_SUBDIR)/libgomp && \
38327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38329 "RANLIB=$${RANLIB}" \
38330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38331 info) \
38332 || exit 1
38334 @endif target-libgomp
38336 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
38337 maybe-dvi-target-libgomp:
38338 @if target-libgomp
38339 maybe-dvi-target-libgomp: dvi-target-libgomp
38341 dvi-target-libgomp: \
38342 configure-target-libgomp
38343 @: $(MAKE); $(unstage)
38344 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38345 r=`${PWD_COMMAND}`; export r; \
38346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38347 $(NORMAL_TARGET_EXPORTS) \
38348 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
38349 for flag in $(EXTRA_TARGET_FLAGS); do \
38350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38351 done; \
38352 (cd $(TARGET_SUBDIR)/libgomp && \
38353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38355 "RANLIB=$${RANLIB}" \
38356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38357 dvi) \
38358 || exit 1
38360 @endif target-libgomp
38362 .PHONY: maybe-html-target-libgomp html-target-libgomp
38363 maybe-html-target-libgomp:
38364 @if target-libgomp
38365 maybe-html-target-libgomp: html-target-libgomp
38367 html-target-libgomp: \
38368 configure-target-libgomp
38369 @: $(MAKE); $(unstage)
38370 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38371 r=`${PWD_COMMAND}`; export r; \
38372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38373 $(NORMAL_TARGET_EXPORTS) \
38374 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
38375 for flag in $(EXTRA_TARGET_FLAGS); do \
38376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38377 done; \
38378 (cd $(TARGET_SUBDIR)/libgomp && \
38379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38381 "RANLIB=$${RANLIB}" \
38382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38383 html) \
38384 || exit 1
38386 @endif target-libgomp
38388 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
38389 maybe-TAGS-target-libgomp:
38390 @if target-libgomp
38391 maybe-TAGS-target-libgomp: TAGS-target-libgomp
38393 TAGS-target-libgomp: \
38394 configure-target-libgomp
38395 @: $(MAKE); $(unstage)
38396 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38397 r=`${PWD_COMMAND}`; export r; \
38398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38399 $(NORMAL_TARGET_EXPORTS) \
38400 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
38401 for flag in $(EXTRA_TARGET_FLAGS); do \
38402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38403 done; \
38404 (cd $(TARGET_SUBDIR)/libgomp && \
38405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38407 "RANLIB=$${RANLIB}" \
38408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38409 TAGS) \
38410 || exit 1
38412 @endif target-libgomp
38414 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
38415 maybe-install-info-target-libgomp:
38416 @if target-libgomp
38417 maybe-install-info-target-libgomp: install-info-target-libgomp
38419 install-info-target-libgomp: \
38420 configure-target-libgomp \
38421 info-target-libgomp
38422 @: $(MAKE); $(unstage)
38423 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38424 r=`${PWD_COMMAND}`; export r; \
38425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38426 $(NORMAL_TARGET_EXPORTS) \
38427 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
38428 for flag in $(EXTRA_TARGET_FLAGS); do \
38429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38430 done; \
38431 (cd $(TARGET_SUBDIR)/libgomp && \
38432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38434 "RANLIB=$${RANLIB}" \
38435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38436 install-info) \
38437 || exit 1
38439 @endif target-libgomp
38441 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
38442 maybe-install-html-target-libgomp:
38443 @if target-libgomp
38444 maybe-install-html-target-libgomp: install-html-target-libgomp
38446 install-html-target-libgomp: \
38447 configure-target-libgomp \
38448 html-target-libgomp
38449 @: $(MAKE); $(unstage)
38450 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38451 r=`${PWD_COMMAND}`; export r; \
38452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38453 $(NORMAL_TARGET_EXPORTS) \
38454 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
38455 for flag in $(EXTRA_TARGET_FLAGS); do \
38456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38457 done; \
38458 (cd $(TARGET_SUBDIR)/libgomp && \
38459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38461 "RANLIB=$${RANLIB}" \
38462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38463 install-html) \
38464 || exit 1
38466 @endif target-libgomp
38468 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
38469 maybe-installcheck-target-libgomp:
38470 @if target-libgomp
38471 maybe-installcheck-target-libgomp: installcheck-target-libgomp
38473 installcheck-target-libgomp: \
38474 configure-target-libgomp
38475 @: $(MAKE); $(unstage)
38476 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38477 r=`${PWD_COMMAND}`; export r; \
38478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38479 $(NORMAL_TARGET_EXPORTS) \
38480 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
38481 for flag in $(EXTRA_TARGET_FLAGS); do \
38482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38483 done; \
38484 (cd $(TARGET_SUBDIR)/libgomp && \
38485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38487 "RANLIB=$${RANLIB}" \
38488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38489 installcheck) \
38490 || exit 1
38492 @endif target-libgomp
38494 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
38495 maybe-mostlyclean-target-libgomp:
38496 @if target-libgomp
38497 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
38499 mostlyclean-target-libgomp:
38500 @: $(MAKE); $(unstage)
38501 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38502 r=`${PWD_COMMAND}`; export r; \
38503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38504 $(NORMAL_TARGET_EXPORTS) \
38505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
38506 for flag in $(EXTRA_TARGET_FLAGS); do \
38507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38508 done; \
38509 (cd $(TARGET_SUBDIR)/libgomp && \
38510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38512 "RANLIB=$${RANLIB}" \
38513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38514 mostlyclean) \
38515 || exit 1
38517 @endif target-libgomp
38519 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
38520 maybe-clean-target-libgomp:
38521 @if target-libgomp
38522 maybe-clean-target-libgomp: clean-target-libgomp
38524 clean-target-libgomp:
38525 @: $(MAKE); $(unstage)
38526 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38527 r=`${PWD_COMMAND}`; export r; \
38528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38529 $(NORMAL_TARGET_EXPORTS) \
38530 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
38531 for flag in $(EXTRA_TARGET_FLAGS); do \
38532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38533 done; \
38534 (cd $(TARGET_SUBDIR)/libgomp && \
38535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38537 "RANLIB=$${RANLIB}" \
38538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38539 clean) \
38540 || exit 1
38542 @endif target-libgomp
38544 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
38545 maybe-distclean-target-libgomp:
38546 @if target-libgomp
38547 maybe-distclean-target-libgomp: distclean-target-libgomp
38549 distclean-target-libgomp:
38550 @: $(MAKE); $(unstage)
38551 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38552 r=`${PWD_COMMAND}`; export r; \
38553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38554 $(NORMAL_TARGET_EXPORTS) \
38555 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
38556 for flag in $(EXTRA_TARGET_FLAGS); do \
38557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38558 done; \
38559 (cd $(TARGET_SUBDIR)/libgomp && \
38560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38562 "RANLIB=$${RANLIB}" \
38563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38564 distclean) \
38565 || exit 1
38567 @endif target-libgomp
38569 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
38570 maybe-maintainer-clean-target-libgomp:
38571 @if target-libgomp
38572 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
38574 maintainer-clean-target-libgomp:
38575 @: $(MAKE); $(unstage)
38576 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38577 r=`${PWD_COMMAND}`; export r; \
38578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38579 $(NORMAL_TARGET_EXPORTS) \
38580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
38581 for flag in $(EXTRA_TARGET_FLAGS); do \
38582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38583 done; \
38584 (cd $(TARGET_SUBDIR)/libgomp && \
38585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38587 "RANLIB=$${RANLIB}" \
38588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38589 maintainer-clean) \
38590 || exit 1
38592 @endif target-libgomp
38596 # ----------
38597 # GCC module
38598 # ----------
38600 @if gcc-no-bootstrap
38601 # GCC has some more recursive targets, which trigger the old
38602 # (but still current, until the toplevel bootstrap project
38603 # is finished) compiler bootstrapping rules.
38605 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
38606 .PHONY: $(GCC_STRAP_TARGETS)
38607 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
38608 @r=`${PWD_COMMAND}`; export r; \
38609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38610 $(HOST_EXPORTS) \
38611 echo "Bootstrapping the compiler"; \
38612 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
38613 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
38614 @r=`${PWD_COMMAND}`; export r; \
38615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38616 case "$@" in \
38617 *bootstrap4-lean ) \
38618 msg="Comparing stage3 and stage4 of the compiler"; \
38619 compare=compare3-lean ;; \
38620 *bootstrap4 ) \
38621 msg="Comparing stage3 and stage4 of the compiler"; \
38622 compare=compare3 ;; \
38623 *-lean ) \
38624 msg="Comparing stage2 and stage3 of the compiler"; \
38625 compare=compare-lean ;; \
38626 * ) \
38627 msg="Comparing stage2 and stage3 of the compiler"; \
38628 compare=compare ;; \
38629 esac; \
38630 $(HOST_EXPORTS) \
38631 echo "$$msg"; \
38632 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
38633 @r=`${PWD_COMMAND}`; export r; \
38634 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
38635 echo "Building runtime libraries"; \
38636 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
38638 profiledbootstrap: all-prebootstrap configure-gcc
38639 @r=`${PWD_COMMAND}`; export r; \
38640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38641 $(HOST_EXPORTS) \
38642 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
38643 echo "Bootstrapping training compiler"; \
38644 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
38645 @r=`${PWD_COMMAND}`; export r; \
38646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38647 $(HOST_EXPORTS) \
38648 echo "Building feedback based compiler"; \
38649 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
38650 @r=`${PWD_COMMAND}`; export r; \
38651 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
38652 echo "Building runtime libraries"; \
38653 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
38655 .PHONY: cross
38656 cross: all-build all-gas all-ld
38657 @r=`${PWD_COMMAND}`; export r; \
38658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38659 $(HOST_EXPORTS) \
38660 echo "Building the C and C++ compiler"; \
38661 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
38662 @r=`${PWD_COMMAND}`; export r; \
38663 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
38664 echo "Building runtime libraries"; \
38665 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
38666 @endif gcc-no-bootstrap
38668 @if gcc
38669 .PHONY: check-gcc-c++
38670 check-gcc-c++:
38671 @if [ -f ./gcc/Makefile ] ; then \
38672 r=`${PWD_COMMAND}`; export r; \
38673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38674 $(HOST_EXPORTS) \
38675 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
38676 else \
38677 true; \
38680 .PHONY: check-c++
38681 check-c++: check-target-libstdc++-v3 check-gcc-c++
38683 # Install the gcc headers files, but not the fixed include files,
38684 # which Cygnus is not allowed to distribute. This rule is very
38685 # dependent on the workings of the gcc Makefile.in.
38686 .PHONY: gcc-no-fixedincludes
38687 gcc-no-fixedincludes:
38688 @if [ -f ./gcc/Makefile ]; then \
38689 rm -rf gcc/tmp-include; \
38690 mv gcc/include gcc/tmp-include 2>/dev/null; \
38691 mkdir gcc/include; \
38692 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
38693 touch gcc/stmp-fixinc gcc/include/fixed; \
38694 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
38695 r=`${PWD_COMMAND}`; export r; \
38696 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
38697 $(HOST_EXPORTS) \
38698 (cd ./gcc && \
38699 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
38700 rm -rf gcc/include; \
38701 mv gcc/tmp-include gcc/include 2>/dev/null; \
38702 else true; fi
38703 @endif gcc
38705 # ---------------------
38706 # GCC bootstrap support
38707 # ---------------------
38709 # We track the current stage (the one in 'gcc') in the stage_current file.
38710 # stage_last instead tracks the stage that was built last. These targets
38711 # are dummy when toplevel bootstrap is not active.
38713 # While making host and target tools, symlinks to the final stage must be
38714 # there, so $(unstage) should be run at various points. To avoid excessive
38715 # recursive invocations of make, we "inline" them using a variable. These
38716 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
38717 # to avoid warnings from the GNU Make job server.
38719 unstage = :
38720 stage = :
38721 current_stage = ""
38723 @if gcc-bootstrap
38724 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
38725 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
38726 current_stage = "`cat stage_current 2> /dev/null`"
38727 @endif gcc-bootstrap
38729 .PHONY: unstage stage
38730 unstage:
38731 @: $(MAKE); $(unstage)
38732 stage:
38733 @: $(MAKE); $(stage)
38735 # Disable commands for lean bootstrap.
38736 LEAN = false
38738 # We name the build directories for the various stages "stage1-gcc",
38739 # "stage2-gcc","stage3-gcc", etc.
38741 # Since the 'compare' process will fail (on debugging information) if any
38742 # directory names are different, we need to link the gcc directory for
38743 # the previous stage to a constant name ('prev-gcc'), and to make the name of
38744 # the build directories constant as well. For the latter, we use naked names
38745 # like 'gcc', because the scripts in that directory assume it. We use
38746 # mv on platforms where symlinks to directories do not work or are not
38747 # reliable.
38749 # 'touch' doesn't work right on some platforms.
38750 STAMP = echo timestamp >
38752 # Only build the C compiler for stage1, because that is the only one that
38753 # we can guarantee will build with the native compiler, and also it is the
38754 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
38755 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
38756 # overrideable (for a bootstrap build stage1 also builds gcc.info).
38758 STAGE1_CFLAGS=@stage1_cflags@
38759 STAGE1_LANGUAGES=@stage1_languages@
38761 # We only want to compare .o files, so set this!
38762 objext = .o
38764 # Flags to pass to stage2 and later makes.
38765 POSTSTAGE1_FLAGS_TO_PASS = \
38766 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
38767 STAGE_PREFIX=$$r/prev-gcc/ \
38768 CFLAGS="$(BOOT_CFLAGS)" \
38769 LIBCFLAGS="$(BOOT_CFLAGS)" \
38770 LDFLAGS="$(BOOT_LDFLAGS)" \
38771 ADAC="\$$(CC)"
38773 # For stage 1:
38774 # * We force-disable intermodule optimizations, even if
38775 # --enable-intermodule was passed, since the installed compiler probably
38776 # can't handle them. Luckily, autoconf always respects
38777 # the last argument when conflicting --enable arguments are passed.
38778 # * Likewise, we force-disable coverage flags, since the installed compiler
38779 # probably has never heard of them.
38780 # * We build only C (and possibly Ada).
38783 .PHONY: stage1-start stage1-end
38785 stage1-start::
38786 @: $(MAKE); $(stage); \
38787 echo stage1 > stage_current ; \
38788 echo stage1 > stage_last; \
38789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
38790 @if bfd
38791 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
38792 mkdir stage1-bfd; \
38793 mv stage1-bfd bfd
38794 @endif bfd
38795 @if opcodes
38796 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
38797 mkdir stage1-opcodes; \
38798 mv stage1-opcodes opcodes
38799 @endif opcodes
38800 @if binutils
38801 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
38802 mkdir stage1-binutils; \
38803 mv stage1-binutils binutils
38804 @endif binutils
38805 @if gas
38806 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
38807 mkdir stage1-gas; \
38808 mv stage1-gas gas
38809 @endif gas
38810 @if gcc
38811 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
38812 mkdir stage1-gcc; \
38813 mv stage1-gcc gcc
38814 @endif gcc
38815 @if intl
38816 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
38817 mkdir stage1-intl; \
38818 mv stage1-intl intl
38819 @endif intl
38820 @if ld
38821 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
38822 mkdir stage1-ld; \
38823 mv stage1-ld ld
38824 @endif ld
38825 @if libcpp
38826 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
38827 mkdir stage1-libcpp; \
38828 mv stage1-libcpp libcpp
38829 @endif libcpp
38830 @if libdecnumber
38831 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
38832 mkdir stage1-libdecnumber; \
38833 mv stage1-libdecnumber libdecnumber
38834 @endif libdecnumber
38835 @if libiberty
38836 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
38837 mkdir stage1-libiberty; \
38838 mv stage1-libiberty libiberty
38839 @endif libiberty
38840 @if zlib
38841 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
38842 mkdir stage1-zlib; \
38843 mv stage1-zlib zlib
38844 @endif zlib
38845 @[ -d stage1-$(TARGET_SUBDIR) ] || \
38846 mkdir stage1-$(TARGET_SUBDIR); \
38847 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
38849 stage1-end::
38850 @if bfd
38851 @if test -d $(HOST_SUBDIR)/bfd ; then \
38852 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
38854 @endif bfd
38855 @if opcodes
38856 @if test -d $(HOST_SUBDIR)/opcodes ; then \
38857 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
38859 @endif opcodes
38860 @if binutils
38861 @if test -d $(HOST_SUBDIR)/binutils ; then \
38862 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
38864 @endif binutils
38865 @if gas
38866 @if test -d $(HOST_SUBDIR)/gas ; then \
38867 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
38869 @endif gas
38870 @if gcc
38871 @if test -d $(HOST_SUBDIR)/gcc ; then \
38872 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
38874 @endif gcc
38875 @if intl
38876 @if test -d $(HOST_SUBDIR)/intl ; then \
38877 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
38879 @endif intl
38880 @if ld
38881 @if test -d $(HOST_SUBDIR)/ld ; then \
38882 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
38884 @endif ld
38885 @if libcpp
38886 @if test -d $(HOST_SUBDIR)/libcpp ; then \
38887 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
38889 @endif libcpp
38890 @if libdecnumber
38891 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
38892 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
38894 @endif libdecnumber
38895 @if libiberty
38896 @if test -d $(HOST_SUBDIR)/libiberty ; then \
38897 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
38899 @endif libiberty
38900 @if zlib
38901 @if test -d $(HOST_SUBDIR)/zlib ; then \
38902 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
38904 @endif zlib
38905 @if test -d $(TARGET_SUBDIR) ; then \
38906 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
38908 rm -f stage_current
38910 # Bubble a bugfix through all the stages up to stage 1. They are
38911 # remade, but not reconfigured. The next stage (if any) will not be
38912 # reconfigured as well.
38913 .PHONY: stage1-bubble
38914 stage1-bubble::
38915 @r=`${PWD_COMMAND}`; export r; \
38916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38917 if test -f stage1-lean ; then \
38918 echo Skipping rebuild of stage1 ; \
38919 else \
38920 $(MAKE) stage1-start; \
38921 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
38924 .PHONY: all-stage1 clean-stage1
38925 do-clean: clean-stage1
38927 # FIXME: Will not need to be conditional when toplevel bootstrap is the
38928 # only possibility, but now it conflicts with no-bootstrap rules
38929 @if gcc-bootstrap
38934 # Rules to wipe a stage and all the following ones, also used for cleanstrap
38936 .PHONY: distclean-stage1
38937 distclean-stage1::
38938 @: $(MAKE); $(stage)
38939 rm -rf stage1-*
38942 @endif gcc-bootstrap
38945 .PHONY: stage2-start stage2-end
38947 stage2-start::
38948 @: $(MAKE); $(stage); \
38949 echo stage2 > stage_current ; \
38950 echo stage2 > stage_last; \
38951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
38952 @if bfd
38953 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
38954 mkdir stage2-bfd; \
38955 mv stage2-bfd bfd ; \
38956 mv stage1-bfd prev-bfd || test -f stage1-lean
38957 @endif bfd
38958 @if opcodes
38959 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
38960 mkdir stage2-opcodes; \
38961 mv stage2-opcodes opcodes ; \
38962 mv stage1-opcodes prev-opcodes || test -f stage1-lean
38963 @endif opcodes
38964 @if binutils
38965 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
38966 mkdir stage2-binutils; \
38967 mv stage2-binutils binutils ; \
38968 mv stage1-binutils prev-binutils || test -f stage1-lean
38969 @endif binutils
38970 @if gas
38971 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
38972 mkdir stage2-gas; \
38973 mv stage2-gas gas ; \
38974 mv stage1-gas prev-gas || test -f stage1-lean
38975 @endif gas
38976 @if gcc
38977 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
38978 mkdir stage2-gcc; \
38979 mv stage2-gcc gcc ; \
38980 mv stage1-gcc prev-gcc || test -f stage1-lean
38981 @endif gcc
38982 @if intl
38983 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
38984 mkdir stage2-intl; \
38985 mv stage2-intl intl ; \
38986 mv stage1-intl prev-intl || test -f stage1-lean
38987 @endif intl
38988 @if ld
38989 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
38990 mkdir stage2-ld; \
38991 mv stage2-ld ld ; \
38992 mv stage1-ld prev-ld || test -f stage1-lean
38993 @endif ld
38994 @if libcpp
38995 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
38996 mkdir stage2-libcpp; \
38997 mv stage2-libcpp libcpp ; \
38998 mv stage1-libcpp prev-libcpp || test -f stage1-lean
38999 @endif libcpp
39000 @if libdecnumber
39001 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
39002 mkdir stage2-libdecnumber; \
39003 mv stage2-libdecnumber libdecnumber ; \
39004 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
39005 @endif libdecnumber
39006 @if libiberty
39007 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
39008 mkdir stage2-libiberty; \
39009 mv stage2-libiberty libiberty ; \
39010 mv stage1-libiberty prev-libiberty || test -f stage1-lean
39011 @endif libiberty
39012 @if zlib
39013 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
39014 mkdir stage2-zlib; \
39015 mv stage2-zlib zlib ; \
39016 mv stage1-zlib prev-zlib || test -f stage1-lean
39017 @endif zlib
39018 @[ -d stage2-$(TARGET_SUBDIR) ] || \
39019 mkdir stage2-$(TARGET_SUBDIR); \
39020 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39021 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
39023 stage2-end::
39024 @if bfd
39025 @if test -d $(HOST_SUBDIR)/bfd ; then \
39026 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
39027 mv prev-bfd stage1-bfd ; : ; \
39029 @endif bfd
39030 @if opcodes
39031 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39032 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
39033 mv prev-opcodes stage1-opcodes ; : ; \
39035 @endif opcodes
39036 @if binutils
39037 @if test -d $(HOST_SUBDIR)/binutils ; then \
39038 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
39039 mv prev-binutils stage1-binutils ; : ; \
39041 @endif binutils
39042 @if gas
39043 @if test -d $(HOST_SUBDIR)/gas ; then \
39044 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
39045 mv prev-gas stage1-gas ; : ; \
39047 @endif gas
39048 @if gcc
39049 @if test -d $(HOST_SUBDIR)/gcc ; then \
39050 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
39051 mv prev-gcc stage1-gcc ; : ; \
39053 @endif gcc
39054 @if intl
39055 @if test -d $(HOST_SUBDIR)/intl ; then \
39056 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
39057 mv prev-intl stage1-intl ; : ; \
39059 @endif intl
39060 @if ld
39061 @if test -d $(HOST_SUBDIR)/ld ; then \
39062 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
39063 mv prev-ld stage1-ld ; : ; \
39065 @endif ld
39066 @if libcpp
39067 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39068 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
39069 mv prev-libcpp stage1-libcpp ; : ; \
39071 @endif libcpp
39072 @if libdecnumber
39073 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39074 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
39075 mv prev-libdecnumber stage1-libdecnumber ; : ; \
39077 @endif libdecnumber
39078 @if libiberty
39079 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39080 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
39081 mv prev-libiberty stage1-libiberty ; : ; \
39083 @endif libiberty
39084 @if zlib
39085 @if test -d $(HOST_SUBDIR)/zlib ; then \
39086 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
39087 mv prev-zlib stage1-zlib ; : ; \
39089 @endif zlib
39090 @if test -d $(TARGET_SUBDIR) ; then \
39091 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
39092 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
39094 rm -f stage_current
39096 # Bubble a bugfix through all the stages up to stage 2. They are
39097 # remade, but not reconfigured. The next stage (if any) will not be
39098 # reconfigured as well.
39099 .PHONY: stage2-bubble
39100 stage2-bubble:: stage1-bubble
39101 @r=`${PWD_COMMAND}`; export r; \
39102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39103 if test -f stage2-lean || test -f stage1-lean ; then \
39104 echo Skipping rebuild of stage2 ; \
39105 else \
39106 $(MAKE) stage2-start; \
39107 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
39110 .PHONY: all-stage2 clean-stage2
39111 do-clean: clean-stage2
39113 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39114 # only possibility, but now it conflicts with no-bootstrap rules
39115 @if gcc-bootstrap
39119 .PHONY: bootstrap2 bootstrap2-lean
39120 bootstrap2:
39121 echo stage2 > stage_final
39122 @r=`${PWD_COMMAND}`; export r; \
39123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
39125 @: $(MAKE); $(unstage)
39126 @r=`${PWD_COMMAND}`; export r; \
39127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39128 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39130 bootstrap2-lean:
39131 echo stage2 > stage_final
39132 @r=`${PWD_COMMAND}`; export r; \
39133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39134 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
39135 @: $(MAKE); $(unstage)
39136 @r=`${PWD_COMMAND}`; export r; \
39137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39138 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39141 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39142 distclean-stage1:: distclean-stage2
39143 .PHONY: distclean-stage2
39144 distclean-stage2::
39145 @: $(MAKE); $(stage)
39146 rm -rf stage2-*
39149 @endif gcc-bootstrap
39152 .PHONY: stage3-start stage3-end
39154 stage3-start::
39155 @: $(MAKE); $(stage); \
39156 echo stage3 > stage_current ; \
39157 echo stage3 > stage_last; \
39158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39159 @if bfd
39160 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
39161 mkdir stage3-bfd; \
39162 mv stage3-bfd bfd ; \
39163 mv stage2-bfd prev-bfd || test -f stage2-lean
39164 @endif bfd
39165 @if opcodes
39166 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
39167 mkdir stage3-opcodes; \
39168 mv stage3-opcodes opcodes ; \
39169 mv stage2-opcodes prev-opcodes || test -f stage2-lean
39170 @endif opcodes
39171 @if binutils
39172 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
39173 mkdir stage3-binutils; \
39174 mv stage3-binutils binutils ; \
39175 mv stage2-binutils prev-binutils || test -f stage2-lean
39176 @endif binutils
39177 @if gas
39178 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
39179 mkdir stage3-gas; \
39180 mv stage3-gas gas ; \
39181 mv stage2-gas prev-gas || test -f stage2-lean
39182 @endif gas
39183 @if gcc
39184 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
39185 mkdir stage3-gcc; \
39186 mv stage3-gcc gcc ; \
39187 mv stage2-gcc prev-gcc || test -f stage2-lean
39188 @endif gcc
39189 @if intl
39190 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
39191 mkdir stage3-intl; \
39192 mv stage3-intl intl ; \
39193 mv stage2-intl prev-intl || test -f stage2-lean
39194 @endif intl
39195 @if ld
39196 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
39197 mkdir stage3-ld; \
39198 mv stage3-ld ld ; \
39199 mv stage2-ld prev-ld || test -f stage2-lean
39200 @endif ld
39201 @if libcpp
39202 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
39203 mkdir stage3-libcpp; \
39204 mv stage3-libcpp libcpp ; \
39205 mv stage2-libcpp prev-libcpp || test -f stage2-lean
39206 @endif libcpp
39207 @if libdecnumber
39208 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
39209 mkdir stage3-libdecnumber; \
39210 mv stage3-libdecnumber libdecnumber ; \
39211 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
39212 @endif libdecnumber
39213 @if libiberty
39214 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
39215 mkdir stage3-libiberty; \
39216 mv stage3-libiberty libiberty ; \
39217 mv stage2-libiberty prev-libiberty || test -f stage2-lean
39218 @endif libiberty
39219 @if zlib
39220 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
39221 mkdir stage3-zlib; \
39222 mv stage3-zlib zlib ; \
39223 mv stage2-zlib prev-zlib || test -f stage2-lean
39224 @endif zlib
39225 @[ -d stage3-$(TARGET_SUBDIR) ] || \
39226 mkdir stage3-$(TARGET_SUBDIR); \
39227 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39228 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
39230 stage3-end::
39231 @if bfd
39232 @if test -d $(HOST_SUBDIR)/bfd ; then \
39233 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
39234 mv prev-bfd stage2-bfd ; : ; \
39236 @endif bfd
39237 @if opcodes
39238 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39239 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
39240 mv prev-opcodes stage2-opcodes ; : ; \
39242 @endif opcodes
39243 @if binutils
39244 @if test -d $(HOST_SUBDIR)/binutils ; then \
39245 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
39246 mv prev-binutils stage2-binutils ; : ; \
39248 @endif binutils
39249 @if gas
39250 @if test -d $(HOST_SUBDIR)/gas ; then \
39251 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
39252 mv prev-gas stage2-gas ; : ; \
39254 @endif gas
39255 @if gcc
39256 @if test -d $(HOST_SUBDIR)/gcc ; then \
39257 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
39258 mv prev-gcc stage2-gcc ; : ; \
39260 @endif gcc
39261 @if intl
39262 @if test -d $(HOST_SUBDIR)/intl ; then \
39263 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
39264 mv prev-intl stage2-intl ; : ; \
39266 @endif intl
39267 @if ld
39268 @if test -d $(HOST_SUBDIR)/ld ; then \
39269 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
39270 mv prev-ld stage2-ld ; : ; \
39272 @endif ld
39273 @if libcpp
39274 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39275 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
39276 mv prev-libcpp stage2-libcpp ; : ; \
39278 @endif libcpp
39279 @if libdecnumber
39280 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39281 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
39282 mv prev-libdecnumber stage2-libdecnumber ; : ; \
39284 @endif libdecnumber
39285 @if libiberty
39286 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39287 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
39288 mv prev-libiberty stage2-libiberty ; : ; \
39290 @endif libiberty
39291 @if zlib
39292 @if test -d $(HOST_SUBDIR)/zlib ; then \
39293 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
39294 mv prev-zlib stage2-zlib ; : ; \
39296 @endif zlib
39297 @if test -d $(TARGET_SUBDIR) ; then \
39298 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
39299 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
39301 rm -f stage_current
39303 # Bubble a bugfix through all the stages up to stage 3. They are
39304 # remade, but not reconfigured. The next stage (if any) will not be
39305 # reconfigured as well.
39306 .PHONY: stage3-bubble
39307 stage3-bubble:: stage2-bubble
39308 @r=`${PWD_COMMAND}`; export r; \
39309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39310 if test -f stage3-lean || test -f stage2-lean ; then \
39311 echo Skipping rebuild of stage3 ; \
39312 else \
39313 $(MAKE) stage3-start; \
39314 if $(LEAN); then \
39315 rm -rf stage1-* ; \
39316 $(STAMP) stage1-lean ; \
39317 fi; \
39318 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
39320 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
39322 .PHONY: all-stage3 clean-stage3
39323 do-clean: clean-stage3
39325 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39326 # only possibility, but now it conflicts with no-bootstrap rules
39327 @if gcc-bootstrap
39329 compare:
39330 @r=`${PWD_COMMAND}`; export r; \
39331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39332 if test -f stage2-lean; then \
39333 echo Cannot compare object files as stage 2 was deleted. ; \
39334 exit 0 ; \
39335 fi; \
39336 : $(MAKE); $(stage); \
39337 rm -f .bad_compare ; \
39338 echo Comparing stages 2 and 3 ; \
39339 cd stage3-gcc; \
39340 files=`find . -name "*$(objext)" -print` ; \
39341 cd .. ; \
39342 for file in $${files} ; do \
39343 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
39344 @do_compare@ > /dev/null 2>&1; \
39345 if test $$? -eq 1; then \
39346 case $$file in \
39347 ./cc*-checksum$(objext) | ./libgcc/* ) \
39348 echo warning: $$file differs ;; \
39349 *) \
39350 echo $$file differs >> .bad_compare ;; \
39351 esac ; \
39352 fi ; \
39353 done ; \
39354 if [ -f .bad_compare ]; then \
39355 echo "Bootstrap comparison failure!"; \
39356 cat .bad_compare; \
39357 exit 1; \
39358 else \
39359 echo Comparison successful.; \
39360 fi ; \
39361 $(STAMP) compare
39362 if $(LEAN); then \
39363 rm -rf stage2-*; \
39364 $(STAMP) stage2-lean; \
39369 .PHONY: bootstrap bootstrap-lean
39370 bootstrap:
39371 echo stage3 > stage_final
39372 @r=`${PWD_COMMAND}`; export r; \
39373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39374 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
39375 @: $(MAKE); $(unstage)
39376 @r=`${PWD_COMMAND}`; export r; \
39377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39378 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39380 bootstrap-lean:
39381 echo stage3 > stage_final
39382 @r=`${PWD_COMMAND}`; export r; \
39383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39384 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
39385 @: $(MAKE); $(unstage)
39386 @r=`${PWD_COMMAND}`; export r; \
39387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39388 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39391 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39392 distclean-stage2:: distclean-stage3
39393 .PHONY: distclean-stage3
39394 distclean-stage3::
39395 @: $(MAKE); $(stage)
39396 rm -rf stage3-* compare
39399 .PHONY: cleanstrap
39400 cleanstrap: distclean bootstrap
39402 @endif gcc-bootstrap
39405 .PHONY: stage4-start stage4-end
39407 stage4-start::
39408 @: $(MAKE); $(stage); \
39409 echo stage4 > stage_current ; \
39410 echo stage4 > stage_last; \
39411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39412 @if bfd
39413 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
39414 mkdir stage4-bfd; \
39415 mv stage4-bfd bfd ; \
39416 mv stage3-bfd prev-bfd || test -f stage3-lean
39417 @endif bfd
39418 @if opcodes
39419 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
39420 mkdir stage4-opcodes; \
39421 mv stage4-opcodes opcodes ; \
39422 mv stage3-opcodes prev-opcodes || test -f stage3-lean
39423 @endif opcodes
39424 @if binutils
39425 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
39426 mkdir stage4-binutils; \
39427 mv stage4-binutils binutils ; \
39428 mv stage3-binutils prev-binutils || test -f stage3-lean
39429 @endif binutils
39430 @if gas
39431 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
39432 mkdir stage4-gas; \
39433 mv stage4-gas gas ; \
39434 mv stage3-gas prev-gas || test -f stage3-lean
39435 @endif gas
39436 @if gcc
39437 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
39438 mkdir stage4-gcc; \
39439 mv stage4-gcc gcc ; \
39440 mv stage3-gcc prev-gcc || test -f stage3-lean
39441 @endif gcc
39442 @if intl
39443 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
39444 mkdir stage4-intl; \
39445 mv stage4-intl intl ; \
39446 mv stage3-intl prev-intl || test -f stage3-lean
39447 @endif intl
39448 @if ld
39449 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
39450 mkdir stage4-ld; \
39451 mv stage4-ld ld ; \
39452 mv stage3-ld prev-ld || test -f stage3-lean
39453 @endif ld
39454 @if libcpp
39455 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
39456 mkdir stage4-libcpp; \
39457 mv stage4-libcpp libcpp ; \
39458 mv stage3-libcpp prev-libcpp || test -f stage3-lean
39459 @endif libcpp
39460 @if libdecnumber
39461 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
39462 mkdir stage4-libdecnumber; \
39463 mv stage4-libdecnumber libdecnumber ; \
39464 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
39465 @endif libdecnumber
39466 @if libiberty
39467 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
39468 mkdir stage4-libiberty; \
39469 mv stage4-libiberty libiberty ; \
39470 mv stage3-libiberty prev-libiberty || test -f stage3-lean
39471 @endif libiberty
39472 @if zlib
39473 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
39474 mkdir stage4-zlib; \
39475 mv stage4-zlib zlib ; \
39476 mv stage3-zlib prev-zlib || test -f stage3-lean
39477 @endif zlib
39478 @[ -d stage4-$(TARGET_SUBDIR) ] || \
39479 mkdir stage4-$(TARGET_SUBDIR); \
39480 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39481 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
39483 stage4-end::
39484 @if bfd
39485 @if test -d $(HOST_SUBDIR)/bfd ; then \
39486 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
39487 mv prev-bfd stage3-bfd ; : ; \
39489 @endif bfd
39490 @if opcodes
39491 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39492 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
39493 mv prev-opcodes stage3-opcodes ; : ; \
39495 @endif opcodes
39496 @if binutils
39497 @if test -d $(HOST_SUBDIR)/binutils ; then \
39498 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
39499 mv prev-binutils stage3-binutils ; : ; \
39501 @endif binutils
39502 @if gas
39503 @if test -d $(HOST_SUBDIR)/gas ; then \
39504 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
39505 mv prev-gas stage3-gas ; : ; \
39507 @endif gas
39508 @if gcc
39509 @if test -d $(HOST_SUBDIR)/gcc ; then \
39510 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
39511 mv prev-gcc stage3-gcc ; : ; \
39513 @endif gcc
39514 @if intl
39515 @if test -d $(HOST_SUBDIR)/intl ; then \
39516 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
39517 mv prev-intl stage3-intl ; : ; \
39519 @endif intl
39520 @if ld
39521 @if test -d $(HOST_SUBDIR)/ld ; then \
39522 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
39523 mv prev-ld stage3-ld ; : ; \
39525 @endif ld
39526 @if libcpp
39527 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39528 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
39529 mv prev-libcpp stage3-libcpp ; : ; \
39531 @endif libcpp
39532 @if libdecnumber
39533 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39534 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
39535 mv prev-libdecnumber stage3-libdecnumber ; : ; \
39537 @endif libdecnumber
39538 @if libiberty
39539 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39540 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
39541 mv prev-libiberty stage3-libiberty ; : ; \
39543 @endif libiberty
39544 @if zlib
39545 @if test -d $(HOST_SUBDIR)/zlib ; then \
39546 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
39547 mv prev-zlib stage3-zlib ; : ; \
39549 @endif zlib
39550 @if test -d $(TARGET_SUBDIR) ; then \
39551 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
39552 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
39554 rm -f stage_current
39556 # Bubble a bugfix through all the stages up to stage 4. They are
39557 # remade, but not reconfigured. The next stage (if any) will not be
39558 # reconfigured as well.
39559 .PHONY: stage4-bubble
39560 stage4-bubble:: stage3-bubble
39561 @r=`${PWD_COMMAND}`; export r; \
39562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39563 if test -f stage4-lean || test -f stage3-lean ; then \
39564 echo Skipping rebuild of stage4 ; \
39565 else \
39566 $(MAKE) stage4-start; \
39567 if $(LEAN); then \
39568 rm -rf stage2-* ; \
39569 $(STAMP) stage2-lean ; \
39570 fi; \
39571 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
39573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
39575 .PHONY: all-stage4 clean-stage4
39576 do-clean: clean-stage4
39578 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39579 # only possibility, but now it conflicts with no-bootstrap rules
39580 @if gcc-bootstrap
39582 compare3:
39583 @r=`${PWD_COMMAND}`; export r; \
39584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39585 if test -f stage3-lean; then \
39586 echo Cannot compare object files as stage 3 was deleted. ; \
39587 exit 0 ; \
39588 fi; \
39589 : $(MAKE); $(stage); \
39590 rm -f .bad_compare ; \
39591 echo Comparing stages 3 and 4 ; \
39592 cd stage4-gcc; \
39593 files=`find . -name "*$(objext)" -print` ; \
39594 cd .. ; \
39595 for file in $${files} ; do \
39596 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
39597 @do_compare@ > /dev/null 2>&1; \
39598 if test $$? -eq 1; then \
39599 case $$file in \
39600 ./cc*-checksum$(objext) | ./libgcc/* ) \
39601 echo warning: $$file differs ;; \
39602 *) \
39603 echo $$file differs >> .bad_compare ;; \
39604 esac ; \
39605 fi ; \
39606 done ; \
39607 if [ -f .bad_compare ]; then \
39608 echo "Bootstrap comparison failure!"; \
39609 cat .bad_compare; \
39610 exit 1; \
39611 else \
39612 echo Comparison successful.; \
39613 fi ; \
39614 $(STAMP) compare3
39615 if $(LEAN); then \
39616 rm -rf stage3-*; \
39617 $(STAMP) stage3-lean; \
39622 .PHONY: bootstrap4 bootstrap4-lean
39623 bootstrap4:
39624 echo stage4 > stage_final
39625 @r=`${PWD_COMMAND}`; export r; \
39626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39627 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
39628 @: $(MAKE); $(unstage)
39629 @r=`${PWD_COMMAND}`; export r; \
39630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39631 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39633 bootstrap4-lean:
39634 echo stage4 > stage_final
39635 @r=`${PWD_COMMAND}`; export r; \
39636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39637 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
39638 @: $(MAKE); $(unstage)
39639 @r=`${PWD_COMMAND}`; export r; \
39640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39641 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39644 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39645 distclean-stage3:: distclean-stage4
39646 .PHONY: distclean-stage4
39647 distclean-stage4::
39648 @: $(MAKE); $(stage)
39649 rm -rf stage4-* compare3
39652 @endif gcc-bootstrap
39655 .PHONY: stageprofile-start stageprofile-end
39657 stageprofile-start::
39658 @: $(MAKE); $(stage); \
39659 echo stageprofile > stage_current ; \
39660 echo stageprofile > stage_last; \
39661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39662 @if bfd
39663 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
39664 mkdir stageprofile-bfd; \
39665 mv stageprofile-bfd bfd ; \
39666 mv stage1-bfd prev-bfd || test -f stage1-lean
39667 @endif bfd
39668 @if opcodes
39669 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
39670 mkdir stageprofile-opcodes; \
39671 mv stageprofile-opcodes opcodes ; \
39672 mv stage1-opcodes prev-opcodes || test -f stage1-lean
39673 @endif opcodes
39674 @if binutils
39675 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
39676 mkdir stageprofile-binutils; \
39677 mv stageprofile-binutils binutils ; \
39678 mv stage1-binutils prev-binutils || test -f stage1-lean
39679 @endif binutils
39680 @if gas
39681 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
39682 mkdir stageprofile-gas; \
39683 mv stageprofile-gas gas ; \
39684 mv stage1-gas prev-gas || test -f stage1-lean
39685 @endif gas
39686 @if gcc
39687 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
39688 mkdir stageprofile-gcc; \
39689 mv stageprofile-gcc gcc ; \
39690 mv stage1-gcc prev-gcc || test -f stage1-lean
39691 @endif gcc
39692 @if intl
39693 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
39694 mkdir stageprofile-intl; \
39695 mv stageprofile-intl intl ; \
39696 mv stage1-intl prev-intl || test -f stage1-lean
39697 @endif intl
39698 @if ld
39699 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
39700 mkdir stageprofile-ld; \
39701 mv stageprofile-ld ld ; \
39702 mv stage1-ld prev-ld || test -f stage1-lean
39703 @endif ld
39704 @if libcpp
39705 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
39706 mkdir stageprofile-libcpp; \
39707 mv stageprofile-libcpp libcpp ; \
39708 mv stage1-libcpp prev-libcpp || test -f stage1-lean
39709 @endif libcpp
39710 @if libdecnumber
39711 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
39712 mkdir stageprofile-libdecnumber; \
39713 mv stageprofile-libdecnumber libdecnumber ; \
39714 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
39715 @endif libdecnumber
39716 @if libiberty
39717 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
39718 mkdir stageprofile-libiberty; \
39719 mv stageprofile-libiberty libiberty ; \
39720 mv stage1-libiberty prev-libiberty || test -f stage1-lean
39721 @endif libiberty
39722 @if zlib
39723 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
39724 mkdir stageprofile-zlib; \
39725 mv stageprofile-zlib zlib ; \
39726 mv stage1-zlib prev-zlib || test -f stage1-lean
39727 @endif zlib
39728 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
39729 mkdir stageprofile-$(TARGET_SUBDIR); \
39730 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39731 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
39733 stageprofile-end::
39734 @if bfd
39735 @if test -d $(HOST_SUBDIR)/bfd ; then \
39736 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
39737 mv prev-bfd stage1-bfd ; : ; \
39739 @endif bfd
39740 @if opcodes
39741 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39742 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
39743 mv prev-opcodes stage1-opcodes ; : ; \
39745 @endif opcodes
39746 @if binutils
39747 @if test -d $(HOST_SUBDIR)/binutils ; then \
39748 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
39749 mv prev-binutils stage1-binutils ; : ; \
39751 @endif binutils
39752 @if gas
39753 @if test -d $(HOST_SUBDIR)/gas ; then \
39754 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
39755 mv prev-gas stage1-gas ; : ; \
39757 @endif gas
39758 @if gcc
39759 @if test -d $(HOST_SUBDIR)/gcc ; then \
39760 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
39761 mv prev-gcc stage1-gcc ; : ; \
39763 @endif gcc
39764 @if intl
39765 @if test -d $(HOST_SUBDIR)/intl ; then \
39766 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
39767 mv prev-intl stage1-intl ; : ; \
39769 @endif intl
39770 @if ld
39771 @if test -d $(HOST_SUBDIR)/ld ; then \
39772 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
39773 mv prev-ld stage1-ld ; : ; \
39775 @endif ld
39776 @if libcpp
39777 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39778 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
39779 mv prev-libcpp stage1-libcpp ; : ; \
39781 @endif libcpp
39782 @if libdecnumber
39783 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39784 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
39785 mv prev-libdecnumber stage1-libdecnumber ; : ; \
39787 @endif libdecnumber
39788 @if libiberty
39789 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39790 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
39791 mv prev-libiberty stage1-libiberty ; : ; \
39793 @endif libiberty
39794 @if zlib
39795 @if test -d $(HOST_SUBDIR)/zlib ; then \
39796 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
39797 mv prev-zlib stage1-zlib ; : ; \
39799 @endif zlib
39800 @if test -d $(TARGET_SUBDIR) ; then \
39801 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
39802 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
39804 rm -f stage_current
39806 # Bubble a bugfix through all the stages up to stage profile. They are
39807 # remade, but not reconfigured. The next stage (if any) will not be
39808 # reconfigured as well.
39809 .PHONY: stageprofile-bubble
39810 stageprofile-bubble:: stage1-bubble
39811 @r=`${PWD_COMMAND}`; export r; \
39812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39813 if test -f stageprofile-lean || test -f stage1-lean ; then \
39814 echo Skipping rebuild of stageprofile ; \
39815 else \
39816 $(MAKE) stageprofile-start; \
39817 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
39820 .PHONY: all-stageprofile clean-stageprofile
39821 do-clean: clean-stageprofile
39823 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39824 # only possibility, but now it conflicts with no-bootstrap rules
39825 @if gcc-bootstrap
39830 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39831 distclean-stage1:: distclean-stageprofile
39832 .PHONY: distclean-stageprofile
39833 distclean-stageprofile::
39834 @: $(MAKE); $(stage)
39835 rm -rf stageprofile-*
39838 @endif gcc-bootstrap
39841 .PHONY: stagefeedback-start stagefeedback-end
39843 stagefeedback-start::
39844 @: $(MAKE); $(stage); \
39845 echo stagefeedback > stage_current ; \
39846 echo stagefeedback > stage_last; \
39847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39848 @if bfd
39849 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
39850 mkdir stagefeedback-bfd; \
39851 mv stagefeedback-bfd bfd ; \
39852 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
39853 @endif bfd
39854 @if opcodes
39855 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
39856 mkdir stagefeedback-opcodes; \
39857 mv stagefeedback-opcodes opcodes ; \
39858 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
39859 @endif opcodes
39860 @if binutils
39861 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
39862 mkdir stagefeedback-binutils; \
39863 mv stagefeedback-binutils binutils ; \
39864 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
39865 @endif binutils
39866 @if gas
39867 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
39868 mkdir stagefeedback-gas; \
39869 mv stagefeedback-gas gas ; \
39870 mv stageprofile-gas prev-gas || test -f stageprofile-lean
39871 @endif gas
39872 @if gcc
39873 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
39874 mkdir stagefeedback-gcc; \
39875 mv stagefeedback-gcc gcc ; \
39876 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
39877 @endif gcc
39878 @if intl
39879 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
39880 mkdir stagefeedback-intl; \
39881 mv stagefeedback-intl intl ; \
39882 mv stageprofile-intl prev-intl || test -f stageprofile-lean
39883 @endif intl
39884 @if ld
39885 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
39886 mkdir stagefeedback-ld; \
39887 mv stagefeedback-ld ld ; \
39888 mv stageprofile-ld prev-ld || test -f stageprofile-lean
39889 @endif ld
39890 @if libcpp
39891 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
39892 mkdir stagefeedback-libcpp; \
39893 mv stagefeedback-libcpp libcpp ; \
39894 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
39895 @endif libcpp
39896 @if libdecnumber
39897 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
39898 mkdir stagefeedback-libdecnumber; \
39899 mv stagefeedback-libdecnumber libdecnumber ; \
39900 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
39901 @endif libdecnumber
39902 @if libiberty
39903 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
39904 mkdir stagefeedback-libiberty; \
39905 mv stagefeedback-libiberty libiberty ; \
39906 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
39907 @endif libiberty
39908 @if zlib
39909 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
39910 mkdir stagefeedback-zlib; \
39911 mv stagefeedback-zlib zlib ; \
39912 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
39913 @endif zlib
39914 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
39915 mkdir stagefeedback-$(TARGET_SUBDIR); \
39916 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39917 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
39919 stagefeedback-end::
39920 @if bfd
39921 @if test -d $(HOST_SUBDIR)/bfd ; then \
39922 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
39923 mv prev-bfd stageprofile-bfd ; : ; \
39925 @endif bfd
39926 @if opcodes
39927 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39928 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
39929 mv prev-opcodes stageprofile-opcodes ; : ; \
39931 @endif opcodes
39932 @if binutils
39933 @if test -d $(HOST_SUBDIR)/binutils ; then \
39934 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
39935 mv prev-binutils stageprofile-binutils ; : ; \
39937 @endif binutils
39938 @if gas
39939 @if test -d $(HOST_SUBDIR)/gas ; then \
39940 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
39941 mv prev-gas stageprofile-gas ; : ; \
39943 @endif gas
39944 @if gcc
39945 @if test -d $(HOST_SUBDIR)/gcc ; then \
39946 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
39947 mv prev-gcc stageprofile-gcc ; : ; \
39949 @endif gcc
39950 @if intl
39951 @if test -d $(HOST_SUBDIR)/intl ; then \
39952 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
39953 mv prev-intl stageprofile-intl ; : ; \
39955 @endif intl
39956 @if ld
39957 @if test -d $(HOST_SUBDIR)/ld ; then \
39958 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
39959 mv prev-ld stageprofile-ld ; : ; \
39961 @endif ld
39962 @if libcpp
39963 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39964 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
39965 mv prev-libcpp stageprofile-libcpp ; : ; \
39967 @endif libcpp
39968 @if libdecnumber
39969 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39970 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
39971 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
39973 @endif libdecnumber
39974 @if libiberty
39975 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39976 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
39977 mv prev-libiberty stageprofile-libiberty ; : ; \
39979 @endif libiberty
39980 @if zlib
39981 @if test -d $(HOST_SUBDIR)/zlib ; then \
39982 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
39983 mv prev-zlib stageprofile-zlib ; : ; \
39985 @endif zlib
39986 @if test -d $(TARGET_SUBDIR) ; then \
39987 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
39988 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
39990 rm -f stage_current
39992 # Bubble a bugfix through all the stages up to stage feedback. They are
39993 # remade, but not reconfigured. The next stage (if any) will not be
39994 # reconfigured as well.
39995 .PHONY: stagefeedback-bubble
39996 stagefeedback-bubble:: stageprofile-bubble
39997 @r=`${PWD_COMMAND}`; export r; \
39998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39999 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
40000 echo Skipping rebuild of stagefeedback ; \
40001 else \
40002 $(MAKE) stagefeedback-start; \
40003 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
40006 .PHONY: all-stagefeedback clean-stagefeedback
40007 do-clean: clean-stagefeedback
40009 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40010 # only possibility, but now it conflicts with no-bootstrap rules
40011 @if gcc-bootstrap
40015 .PHONY: profiledbootstrap profiledbootstrap-lean
40016 profiledbootstrap:
40017 echo stagefeedback > stage_final
40018 @r=`${PWD_COMMAND}`; export r; \
40019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40020 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
40021 @: $(MAKE); $(unstage)
40022 @r=`${PWD_COMMAND}`; export r; \
40023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40024 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40026 profiledbootstrap-lean:
40027 echo stagefeedback > stage_final
40028 @r=`${PWD_COMMAND}`; export r; \
40029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40030 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
40031 @: $(MAKE); $(unstage)
40032 @r=`${PWD_COMMAND}`; export r; \
40033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40034 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40037 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40038 distclean-stageprofile:: distclean-stagefeedback
40039 .PHONY: distclean-stagefeedback
40040 distclean-stagefeedback::
40041 @: $(MAKE); $(stage)
40042 rm -rf stagefeedback-*
40045 @endif gcc-bootstrap
40049 stageprofile-end::
40050 $(MAKE) distclean-stagefeedback
40052 stagefeedback-start::
40053 @r=`${PWD_COMMAND}`; export r; \
40054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40055 for i in prev-*; do \
40056 j=`echo $$i | sed s/^prev-//` ; \
40057 cd $$r/$$i && \
40058 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
40059 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
40060 done
40062 @if gcc-bootstrap
40063 do-distclean: distclean-stage1
40065 # Provide a GCC build when we're building target libraries. This does
40066 # not work as a dependency, just as the minimum necessary to avoid errors.
40067 stage_last:
40068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
40069 @endif gcc-bootstrap
40071 .PHONY: restrap
40072 restrap:
40073 @: $(MAKE); $(stage)
40074 rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback
40075 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
40077 # --------------------------------------
40078 # Dependencies between different modules
40079 # --------------------------------------
40081 # Generic dependencies for target modules on host stuff, especially gcc
40082 @if gcc-bootstrap
40083 configure-target-libstdc++-v3: stage_last
40084 configure-target-libmudflap: stage_last
40085 configure-target-libssp: stage_last
40086 configure-target-newlib: stage_last
40087 configure-target-libgfortran: stage_last
40088 configure-target-libobjc: stage_last
40089 configure-target-libtermcap: stage_last
40090 configure-target-winsup: stage_last
40091 configure-target-libgloss: stage_last
40092 configure-target-libiberty: stage_last
40093 configure-target-gperf: stage_last
40094 configure-target-examples: stage_last
40095 configure-target-libffi: stage_last
40096 configure-target-libjava: stage_last
40097 configure-target-zlib: stage_last
40098 configure-target-boehm-gc: stage_last
40099 configure-target-qthreads: stage_last
40100 configure-target-rda: stage_last
40101 configure-target-libada: stage_last
40102 configure-target-libgomp: stage_last
40103 @endif gcc-bootstrap
40105 @if gcc-no-bootstrap
40106 configure-target-libstdc++-v3: maybe-all-gcc
40107 configure-target-libmudflap: maybe-all-gcc
40108 configure-target-libssp: maybe-all-gcc
40109 configure-target-newlib: maybe-all-gcc
40110 configure-target-libgfortran: maybe-all-gcc
40111 configure-target-libobjc: maybe-all-gcc
40112 configure-target-libtermcap: maybe-all-gcc
40113 configure-target-winsup: maybe-all-gcc
40114 configure-target-libgloss: maybe-all-gcc
40115 configure-target-libiberty: maybe-all-gcc
40116 configure-target-gperf: maybe-all-gcc
40117 configure-target-examples: maybe-all-gcc
40118 configure-target-libffi: maybe-all-gcc
40119 configure-target-libjava: maybe-all-gcc
40120 configure-target-zlib: maybe-all-gcc
40121 configure-target-boehm-gc: maybe-all-gcc
40122 configure-target-qthreads: maybe-all-gcc
40123 configure-target-rda: maybe-all-gcc
40124 configure-target-libada: maybe-all-gcc
40125 configure-target-libgomp: maybe-all-gcc
40126 @endif gcc-no-bootstrap
40130 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
40132 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
40133 configure-target-gperf: maybe-all-target-libstdc++-v3
40135 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
40137 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
40139 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
40141 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
40142 configure-target-libjava: maybe-all-target-libstdc++-v3
40144 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
40146 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
40148 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
40150 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
40152 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
40154 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
40156 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
40158 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
40160 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
40162 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
40165 # There are two types of dependencies here: 'hard' dependencies, where one
40166 # module simply won't build without the other; and 'soft' dependencies, where
40167 # if the depended-on module is missing, the depending module will do without
40168 # or find a substitute somewhere (perhaps installed). Soft dependencies
40169 # are made here to depend on a 'maybe-' target. If you're not sure,
40170 # it's safer to use a soft dependency.
40177 # With all the machinery above in place, it is pretty easy to generate
40178 # dependencies. Host dependencies are a bit more complex because we have
40179 # to check for bootstrap/prebootstrap dependencies. To resolve
40180 # prebootstrap dependencies, prebootstrap modules are gathered in
40181 # a hash table.
40182 all-build-bison: maybe-all-build-texinfo
40183 all-build-byacc: maybe-all-build-texinfo
40184 all-build-flex: maybe-all-build-texinfo
40185 all-build-flex: maybe-all-build-bison
40186 all-build-flex: maybe-all-build-byacc
40187 all-build-flex: maybe-all-build-m4
40188 all-build-libiberty: maybe-all-build-texinfo
40189 all-build-m4: maybe-all-build-texinfo
40190 all-build-fixincludes: maybe-all-build-libiberty
40191 configure-gcc: maybe-configure-intl
40193 configure-stage1-gcc: maybe-configure-stage1-intl
40194 configure-stage2-gcc: maybe-configure-stage2-intl
40195 configure-stage3-gcc: maybe-configure-stage3-intl
40196 configure-stage4-gcc: maybe-configure-stage4-intl
40197 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
40198 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
40199 configure-gcc: maybe-all-binutils
40201 configure-stage1-gcc: maybe-all-stage1-binutils
40202 configure-stage2-gcc: maybe-all-stage2-binutils
40203 configure-stage3-gcc: maybe-all-stage3-binutils
40204 configure-stage4-gcc: maybe-all-stage4-binutils
40205 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
40206 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
40207 configure-gcc: maybe-all-gas
40209 configure-stage1-gcc: maybe-all-stage1-gas
40210 configure-stage2-gcc: maybe-all-stage2-gas
40211 configure-stage3-gcc: maybe-all-stage3-gas
40212 configure-stage4-gcc: maybe-all-stage4-gas
40213 configure-stageprofile-gcc: maybe-all-stageprofile-gas
40214 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
40215 configure-gcc: maybe-all-ld
40217 configure-stage1-gcc: maybe-all-stage1-ld
40218 configure-stage2-gcc: maybe-all-stage2-ld
40219 configure-stage3-gcc: maybe-all-stage3-ld
40220 configure-stage4-gcc: maybe-all-stage4-ld
40221 configure-stageprofile-gcc: maybe-all-stageprofile-ld
40222 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
40223 all-gcc: all-libiberty
40225 all-stage1-gcc: all-stage1-libiberty
40226 all-stage2-gcc: all-stage2-libiberty
40227 all-stage3-gcc: all-stage3-libiberty
40228 all-stage4-gcc: all-stage4-libiberty
40229 all-stageprofile-gcc: all-stageprofile-libiberty
40230 all-stagefeedback-gcc: all-stagefeedback-libiberty
40231 all-gcc: maybe-all-intl
40233 all-stage1-gcc: maybe-all-stage1-intl
40234 all-stage2-gcc: maybe-all-stage2-intl
40235 all-stage3-gcc: maybe-all-stage3-intl
40236 all-stage4-gcc: maybe-all-stage4-intl
40237 all-stageprofile-gcc: maybe-all-stageprofile-intl
40238 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
40239 all-gcc: maybe-all-build-texinfo
40241 all-stage1-gcc: maybe-all-build-texinfo
40242 all-stage2-gcc: maybe-all-build-texinfo
40243 all-stage3-gcc: maybe-all-build-texinfo
40244 all-stage4-gcc: maybe-all-build-texinfo
40245 all-stageprofile-gcc: maybe-all-build-texinfo
40246 all-stagefeedback-gcc: maybe-all-build-texinfo
40247 all-prebootstrap: maybe-all-build-texinfo
40248 all-gcc: maybe-all-build-bison
40250 all-stage1-gcc: maybe-all-build-bison
40251 all-stage2-gcc: maybe-all-build-bison
40252 all-stage3-gcc: maybe-all-build-bison
40253 all-stage4-gcc: maybe-all-build-bison
40254 all-stageprofile-gcc: maybe-all-build-bison
40255 all-stagefeedback-gcc: maybe-all-build-bison
40256 all-prebootstrap: maybe-all-build-bison
40257 all-gcc: maybe-all-build-byacc
40259 all-stage1-gcc: maybe-all-build-byacc
40260 all-stage2-gcc: maybe-all-build-byacc
40261 all-stage3-gcc: maybe-all-build-byacc
40262 all-stage4-gcc: maybe-all-build-byacc
40263 all-stageprofile-gcc: maybe-all-build-byacc
40264 all-stagefeedback-gcc: maybe-all-build-byacc
40265 all-prebootstrap: maybe-all-build-byacc
40266 all-gcc: maybe-all-build-flex
40268 all-stage1-gcc: maybe-all-build-flex
40269 all-stage2-gcc: maybe-all-build-flex
40270 all-stage3-gcc: maybe-all-build-flex
40271 all-stage4-gcc: maybe-all-build-flex
40272 all-stageprofile-gcc: maybe-all-build-flex
40273 all-stagefeedback-gcc: maybe-all-build-flex
40274 all-prebootstrap: maybe-all-build-flex
40275 all-gcc: maybe-all-build-libiberty
40277 all-stage1-gcc: maybe-all-build-libiberty
40278 all-stage2-gcc: maybe-all-build-libiberty
40279 all-stage3-gcc: maybe-all-build-libiberty
40280 all-stage4-gcc: maybe-all-build-libiberty
40281 all-stageprofile-gcc: maybe-all-build-libiberty
40282 all-stagefeedback-gcc: maybe-all-build-libiberty
40283 all-prebootstrap: maybe-all-build-libiberty
40284 all-gcc: maybe-all-build-fixincludes
40286 all-stage1-gcc: maybe-all-build-fixincludes
40287 all-stage2-gcc: maybe-all-build-fixincludes
40288 all-stage3-gcc: maybe-all-build-fixincludes
40289 all-stage4-gcc: maybe-all-build-fixincludes
40290 all-stageprofile-gcc: maybe-all-build-fixincludes
40291 all-stagefeedback-gcc: maybe-all-build-fixincludes
40292 all-prebootstrap: maybe-all-build-fixincludes
40293 all-gcc: maybe-all-zlib
40295 all-stage1-gcc: maybe-all-stage1-zlib
40296 all-stage2-gcc: maybe-all-stage2-zlib
40297 all-stage3-gcc: maybe-all-stage3-zlib
40298 all-stage4-gcc: maybe-all-stage4-zlib
40299 all-stageprofile-gcc: maybe-all-stageprofile-zlib
40300 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
40301 all-gcc: all-libcpp
40303 all-stage1-gcc: all-stage1-libcpp
40304 all-stage2-gcc: all-stage2-libcpp
40305 all-stage3-gcc: all-stage3-libcpp
40306 all-stage4-gcc: all-stage4-libcpp
40307 all-stageprofile-gcc: all-stageprofile-libcpp
40308 all-stagefeedback-gcc: all-stagefeedback-libcpp
40309 all-gcc: all-libdecnumber
40311 all-stage1-gcc: all-stage1-libdecnumber
40312 all-stage2-gcc: all-stage2-libdecnumber
40313 all-stage3-gcc: all-stage3-libdecnumber
40314 all-stage4-gcc: all-stage4-libdecnumber
40315 all-stageprofile-gcc: all-stageprofile-libdecnumber
40316 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
40317 all-gcc: maybe-all-libiberty
40319 all-stage1-gcc: maybe-all-stage1-libiberty
40320 all-stage2-gcc: maybe-all-stage2-libiberty
40321 all-stage3-gcc: maybe-all-stage3-libiberty
40322 all-stage4-gcc: maybe-all-stage4-libiberty
40323 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
40324 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
40325 all-gcc: maybe-all-fixincludes
40326 install-gcc: maybe-install-fixincludes
40327 configure-libcpp: configure-libiberty
40329 configure-stage1-libcpp: configure-stage1-libiberty
40330 configure-stage2-libcpp: configure-stage2-libiberty
40331 configure-stage3-libcpp: configure-stage3-libiberty
40332 configure-stage4-libcpp: configure-stage4-libiberty
40333 configure-stageprofile-libcpp: configure-stageprofile-libiberty
40334 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
40335 configure-libcpp: maybe-configure-intl
40337 configure-stage1-libcpp: maybe-configure-stage1-intl
40338 configure-stage2-libcpp: maybe-configure-stage2-intl
40339 configure-stage3-libcpp: maybe-configure-stage3-intl
40340 configure-stage4-libcpp: maybe-configure-stage4-intl
40341 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
40342 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
40343 all-libcpp: all-libiberty
40345 all-stage1-libcpp: all-stage1-libiberty
40346 all-stage2-libcpp: all-stage2-libiberty
40347 all-stage3-libcpp: all-stage3-libiberty
40348 all-stage4-libcpp: all-stage4-libiberty
40349 all-stageprofile-libcpp: all-stageprofile-libiberty
40350 all-stagefeedback-libcpp: all-stagefeedback-libiberty
40351 all-libcpp: maybe-all-intl
40353 all-stage1-libcpp: maybe-all-stage1-intl
40354 all-stage2-libcpp: maybe-all-stage2-intl
40355 all-stage3-libcpp: maybe-all-stage3-intl
40356 all-stage4-libcpp: maybe-all-stage4-intl
40357 all-stageprofile-libcpp: maybe-all-stageprofile-intl
40358 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
40359 all-fixincludes: maybe-all-libiberty
40360 all-gnattools: maybe-all-target-libada
40361 configure-gdb: maybe-configure-sim
40362 all-gdb: maybe-all-libiberty
40363 all-gdb: maybe-all-opcodes
40364 all-gdb: maybe-all-bfd
40365 all-gdb: maybe-all-readline
40366 all-gdb: maybe-all-build-bison
40367 all-gdb: maybe-all-build-byacc
40368 all-gdb: maybe-all-sim
40369 configure-libgui: maybe-configure-tcl
40370 configure-libgui: maybe-configure-tk
40371 all-libgui: maybe-all-tcl
40372 all-libgui: maybe-all-tk
40373 all-libgui: maybe-all-itcl
40374 configure-bfd: configure-libiberty
40376 configure-stage1-bfd: configure-stage1-libiberty
40377 configure-stage2-bfd: configure-stage2-libiberty
40378 configure-stage3-bfd: configure-stage3-libiberty
40379 configure-stage4-bfd: configure-stage4-libiberty
40380 configure-stageprofile-bfd: configure-stageprofile-libiberty
40381 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
40382 all-bfd: maybe-all-libiberty
40384 all-stage1-bfd: maybe-all-stage1-libiberty
40385 all-stage2-bfd: maybe-all-stage2-libiberty
40386 all-stage3-bfd: maybe-all-stage3-libiberty
40387 all-stage4-bfd: maybe-all-stage4-libiberty
40388 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
40389 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
40390 all-bfd: maybe-all-intl
40392 all-stage1-bfd: maybe-all-stage1-intl
40393 all-stage2-bfd: maybe-all-stage2-intl
40394 all-stage3-bfd: maybe-all-stage3-intl
40395 all-stage4-bfd: maybe-all-stage4-intl
40396 all-stageprofile-bfd: maybe-all-stageprofile-intl
40397 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
40398 all-binutils: maybe-all-libiberty
40400 all-stage1-binutils: maybe-all-stage1-libiberty
40401 all-stage2-binutils: maybe-all-stage2-libiberty
40402 all-stage3-binutils: maybe-all-stage3-libiberty
40403 all-stage4-binutils: maybe-all-stage4-libiberty
40404 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
40405 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
40406 all-binutils: maybe-all-opcodes
40408 all-stage1-binutils: maybe-all-stage1-opcodes
40409 all-stage2-binutils: maybe-all-stage2-opcodes
40410 all-stage3-binutils: maybe-all-stage3-opcodes
40411 all-stage4-binutils: maybe-all-stage4-opcodes
40412 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
40413 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
40414 all-binutils: maybe-all-bfd
40416 all-stage1-binutils: maybe-all-stage1-bfd
40417 all-stage2-binutils: maybe-all-stage2-bfd
40418 all-stage3-binutils: maybe-all-stage3-bfd
40419 all-stage4-binutils: maybe-all-stage4-bfd
40420 all-stageprofile-binutils: maybe-all-stageprofile-bfd
40421 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
40422 all-binutils: maybe-all-build-flex
40424 all-stage1-binutils: maybe-all-build-flex
40425 all-stage2-binutils: maybe-all-build-flex
40426 all-stage3-binutils: maybe-all-build-flex
40427 all-stage4-binutils: maybe-all-build-flex
40428 all-stageprofile-binutils: maybe-all-build-flex
40429 all-stagefeedback-binutils: maybe-all-build-flex
40430 all-prebootstrap: maybe-all-build-flex
40431 all-binutils: maybe-all-build-bison
40433 all-stage1-binutils: maybe-all-build-bison
40434 all-stage2-binutils: maybe-all-build-bison
40435 all-stage3-binutils: maybe-all-build-bison
40436 all-stage4-binutils: maybe-all-build-bison
40437 all-stageprofile-binutils: maybe-all-build-bison
40438 all-stagefeedback-binutils: maybe-all-build-bison
40439 all-prebootstrap: maybe-all-build-bison
40440 all-binutils: maybe-all-build-byacc
40442 all-stage1-binutils: maybe-all-build-byacc
40443 all-stage2-binutils: maybe-all-build-byacc
40444 all-stage3-binutils: maybe-all-build-byacc
40445 all-stage4-binutils: maybe-all-build-byacc
40446 all-stageprofile-binutils: maybe-all-build-byacc
40447 all-stagefeedback-binutils: maybe-all-build-byacc
40448 all-prebootstrap: maybe-all-build-byacc
40449 all-binutils: maybe-all-intl
40451 all-stage1-binutils: maybe-all-stage1-intl
40452 all-stage2-binutils: maybe-all-stage2-intl
40453 all-stage3-binutils: maybe-all-stage3-intl
40454 all-stage4-binutils: maybe-all-stage4-intl
40455 all-stageprofile-binutils: maybe-all-stageprofile-intl
40456 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
40457 install-binutils: maybe-install-opcodes
40458 install-opcodes: maybe-install-bfd
40459 all-gas: maybe-all-libiberty
40461 all-stage1-gas: maybe-all-stage1-libiberty
40462 all-stage2-gas: maybe-all-stage2-libiberty
40463 all-stage3-gas: maybe-all-stage3-libiberty
40464 all-stage4-gas: maybe-all-stage4-libiberty
40465 all-stageprofile-gas: maybe-all-stageprofile-libiberty
40466 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
40467 all-gas: maybe-all-opcodes
40469 all-stage1-gas: maybe-all-stage1-opcodes
40470 all-stage2-gas: maybe-all-stage2-opcodes
40471 all-stage3-gas: maybe-all-stage3-opcodes
40472 all-stage4-gas: maybe-all-stage4-opcodes
40473 all-stageprofile-gas: maybe-all-stageprofile-opcodes
40474 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
40475 all-gas: maybe-all-bfd
40477 all-stage1-gas: maybe-all-stage1-bfd
40478 all-stage2-gas: maybe-all-stage2-bfd
40479 all-stage3-gas: maybe-all-stage3-bfd
40480 all-stage4-gas: maybe-all-stage4-bfd
40481 all-stageprofile-gas: maybe-all-stageprofile-bfd
40482 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
40483 all-gas: maybe-all-intl
40485 all-stage1-gas: maybe-all-stage1-intl
40486 all-stage2-gas: maybe-all-stage2-intl
40487 all-stage3-gas: maybe-all-stage3-intl
40488 all-stage4-gas: maybe-all-stage4-intl
40489 all-stageprofile-gas: maybe-all-stageprofile-intl
40490 all-stagefeedback-gas: maybe-all-stagefeedback-intl
40491 all-gprof: maybe-all-libiberty
40492 all-gprof: maybe-all-bfd
40493 all-gprof: maybe-all-opcodes
40494 all-gprof: maybe-all-intl
40495 all-ld: maybe-all-libiberty
40497 all-stage1-ld: maybe-all-stage1-libiberty
40498 all-stage2-ld: maybe-all-stage2-libiberty
40499 all-stage3-ld: maybe-all-stage3-libiberty
40500 all-stage4-ld: maybe-all-stage4-libiberty
40501 all-stageprofile-ld: maybe-all-stageprofile-libiberty
40502 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
40503 all-ld: maybe-all-bfd
40505 all-stage1-ld: maybe-all-stage1-bfd
40506 all-stage2-ld: maybe-all-stage2-bfd
40507 all-stage3-ld: maybe-all-stage3-bfd
40508 all-stage4-ld: maybe-all-stage4-bfd
40509 all-stageprofile-ld: maybe-all-stageprofile-bfd
40510 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
40511 all-ld: maybe-all-opcodes
40513 all-stage1-ld: maybe-all-stage1-opcodes
40514 all-stage2-ld: maybe-all-stage2-opcodes
40515 all-stage3-ld: maybe-all-stage3-opcodes
40516 all-stage4-ld: maybe-all-stage4-opcodes
40517 all-stageprofile-ld: maybe-all-stageprofile-opcodes
40518 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
40519 all-ld: maybe-all-build-bison
40521 all-stage1-ld: maybe-all-build-bison
40522 all-stage2-ld: maybe-all-build-bison
40523 all-stage3-ld: maybe-all-build-bison
40524 all-stage4-ld: maybe-all-build-bison
40525 all-stageprofile-ld: maybe-all-build-bison
40526 all-stagefeedback-ld: maybe-all-build-bison
40527 all-prebootstrap: maybe-all-build-bison
40528 all-ld: maybe-all-build-byacc
40530 all-stage1-ld: maybe-all-build-byacc
40531 all-stage2-ld: maybe-all-build-byacc
40532 all-stage3-ld: maybe-all-build-byacc
40533 all-stage4-ld: maybe-all-build-byacc
40534 all-stageprofile-ld: maybe-all-build-byacc
40535 all-stagefeedback-ld: maybe-all-build-byacc
40536 all-prebootstrap: maybe-all-build-byacc
40537 all-ld: maybe-all-build-flex
40539 all-stage1-ld: maybe-all-build-flex
40540 all-stage2-ld: maybe-all-build-flex
40541 all-stage3-ld: maybe-all-build-flex
40542 all-stage4-ld: maybe-all-build-flex
40543 all-stageprofile-ld: maybe-all-build-flex
40544 all-stagefeedback-ld: maybe-all-build-flex
40545 all-prebootstrap: maybe-all-build-flex
40546 all-ld: maybe-all-intl
40548 all-stage1-ld: maybe-all-stage1-intl
40549 all-stage2-ld: maybe-all-stage2-intl
40550 all-stage3-ld: maybe-all-stage3-intl
40551 all-stage4-ld: maybe-all-stage4-intl
40552 all-stageprofile-ld: maybe-all-stageprofile-intl
40553 all-stagefeedback-ld: maybe-all-stagefeedback-intl
40554 all-opcodes: maybe-all-bfd
40556 all-stage1-opcodes: maybe-all-stage1-bfd
40557 all-stage2-opcodes: maybe-all-stage2-bfd
40558 all-stage3-opcodes: maybe-all-stage3-bfd
40559 all-stage4-opcodes: maybe-all-stage4-bfd
40560 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
40561 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
40562 all-opcodes: maybe-all-libiberty
40564 all-stage1-opcodes: maybe-all-stage1-libiberty
40565 all-stage2-opcodes: maybe-all-stage2-libiberty
40566 all-stage3-opcodes: maybe-all-stage3-libiberty
40567 all-stage4-opcodes: maybe-all-stage4-libiberty
40568 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
40569 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
40570 all-dejagnu: maybe-all-tcl
40571 all-dejagnu: maybe-all-expect
40572 all-dejagnu: maybe-all-tk
40573 configure-expect: maybe-configure-tcl
40574 configure-expect: maybe-configure-tk
40575 all-expect: maybe-all-tcl
40576 all-expect: maybe-all-tk
40577 configure-itcl: maybe-configure-tcl
40578 configure-itcl: maybe-configure-tk
40579 all-itcl: maybe-all-tcl
40580 all-itcl: maybe-all-tk
40581 install-itcl: maybe-install-tcl
40582 configure-tk: maybe-configure-tcl
40583 all-tk: maybe-all-tcl
40584 all-sid: maybe-all-libiberty
40585 all-sid: maybe-all-bfd
40586 all-sid: maybe-all-opcodes
40587 all-sid: maybe-all-tcl
40588 all-sid: maybe-all-tk
40589 install-sid: maybe-install-tcl
40590 install-sid: maybe-install-tk
40591 all-sim: maybe-all-libiberty
40592 all-sim: maybe-all-bfd
40593 all-sim: maybe-all-opcodes
40594 all-sim: maybe-all-readline
40595 all-sim: maybe-configure-gdb
40596 all-fastjar: maybe-all-zlib
40597 all-fastjar: maybe-all-build-texinfo
40598 all-fastjar: maybe-all-libiberty
40599 all-autoconf: maybe-all-m4
40600 all-autoconf: maybe-all-build-texinfo
40601 all-automake: maybe-all-m4
40602 all-automake: maybe-all-build-texinfo
40603 all-automake: maybe-all-autoconf
40604 all-bison: maybe-all-intl
40605 all-bison: maybe-all-build-texinfo
40606 all-diff: maybe-all-intl
40607 all-diff: maybe-all-build-texinfo
40608 all-fileutils: maybe-all-intl
40609 all-fileutils: maybe-all-build-texinfo
40610 all-flex: maybe-all-build-bison
40611 all-flex: maybe-all-build-byacc
40612 all-flex: maybe-all-intl
40613 all-flex: maybe-all-m4
40614 all-flex: maybe-all-build-texinfo
40615 all-gzip: maybe-all-intl
40616 all-gzip: maybe-all-zlib
40617 all-gzip: maybe-all-build-texinfo
40618 all-hello: maybe-all-intl
40619 all-hello: maybe-all-build-texinfo
40620 all-m4: maybe-all-intl
40621 all-m4: maybe-all-build-texinfo
40622 all-make: maybe-all-intl
40623 all-make: maybe-all-build-texinfo
40624 all-patch: maybe-all-build-texinfo
40625 all-make: maybe-all-build-texinfo
40626 all-prms: maybe-all-libiberty
40627 all-recode: maybe-all-build-texinfo
40628 all-sed: maybe-all-build-texinfo
40629 all-send-pr: maybe-all-prms
40630 all-tar: maybe-all-build-texinfo
40631 all-uudecode: maybe-all-build-texinfo
40632 configure-target-boehm-gc: maybe-configure-target-qthreads
40633 configure-target-fastjar: maybe-configure-target-zlib
40634 all-target-fastjar: maybe-all-target-zlib
40635 all-target-fastjar: maybe-all-target-libiberty
40636 configure-target-libjava: maybe-configure-target-zlib
40637 configure-target-libjava: maybe-configure-target-boehm-gc
40638 configure-target-libjava: maybe-configure-target-qthreads
40639 configure-target-libjava: maybe-configure-target-libffi
40640 all-target-libjava: maybe-all-fastjar
40641 all-target-libjava: maybe-all-target-zlib
40642 all-target-libjava: maybe-all-target-boehm-gc
40643 all-target-libjava: maybe-all-target-qthreads
40644 all-target-libjava: maybe-all-target-libffi
40645 all-target-libobjc: maybe-all-target-libiberty
40646 all-target-libstdc++-v3: maybe-all-target-libiberty
40647 all-target-libgloss: maybe-configure-target-newlib
40648 all-target-winsup: maybe-all-target-libiberty
40649 all-target-winsup: maybe-all-target-libtermcap
40652 # Non-toplevel bootstrap rules must depend on several packages, to be built
40653 # before gcc. Another wart that will go away, hopefully soon.
40654 @if gcc-no-bootstrap
40656 all-prebootstrap: maybe-all-bfd
40657 all-prebootstrap: maybe-all-opcodes
40658 all-prebootstrap: maybe-all-binutils
40659 all-prebootstrap: maybe-all-gas
40660 all-prebootstrap: maybe-all-intl
40661 all-prebootstrap: maybe-all-ld
40662 all-prebootstrap: maybe-all-libcpp
40663 all-prebootstrap: maybe-all-libdecnumber
40664 all-prebootstrap: maybe-all-libiberty
40665 all-prebootstrap: maybe-all-zlib
40666 @endif gcc-no-bootstrap
40668 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
40669 GDB_TK = @GDB_TK@
40670 INSTALL_GDB_TK = @INSTALL_GDB_TK@
40671 configure-gdb: $(CONFIGURE_GDB_TK)
40672 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
40673 install-gdb: $(INSTALL_GDB_TK)
40675 # Serialization dependencies. Host configures don't work well in parallel to
40676 # each other, due to contention over config.cache. Target configures and
40677 # build configures are similar.
40678 @serialization_dependencies@
40680 # --------------------------------
40681 # Regenerating top level configury
40682 # --------------------------------
40684 # Rebuilding Makefile.in, using autogen.
40685 AUTOGEN = autogen
40686 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
40687 cd $(srcdir) && $(AUTOGEN) Makefile.def
40689 # Rebuilding Makefile.
40690 Makefile: $(srcdir)/Makefile.in config.status
40691 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
40693 config.status: configure
40694 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
40696 # Rebuilding configure.
40697 AUTOCONF = autoconf
40698 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
40699 cd $(srcdir) && $(AUTOCONF)
40701 # ------------------------------
40702 # Special directives to GNU Make
40703 # ------------------------------
40705 # Don't pass command-line variables to submakes.
40706 .NOEXPORT:
40707 MAKEOVERRIDES=
40709 # end of Makefile.in