* include/cpplib.h (CPP_N_DFLOAT): New.
[official-gcc.git] / Makefile.in
blob5bedd9e98cb49733a515522a87f0a7f349547088
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 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system. We need to pass
137 # some to the GCC configure because of its hybrid host/target nature.
138 HOST_EXPORTS = \
139 $(BASE_EXPORTS) \
140 CC="$(CC)"; export CC; \
141 CFLAGS="$(CFLAGS)"; export CFLAGS; \
142 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
143 CXX="$(CXX)"; export CXX; \
144 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
145 AR="$(AR)"; export AR; \
146 AS="$(AS)"; export AS; \
147 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
148 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
149 LD="$(LD)"; export LD; \
150 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
151 NM="$(NM)"; export NM; \
152 RANLIB="$(RANLIB)"; export RANLIB; \
153 WINDRES="$(WINDRES)"; export WINDRES; \
154 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
155 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
156 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
157 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
158 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
159 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
160 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
161 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
162 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
163 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
164 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
165 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
166 @if gcc-bootstrap
167 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
168 @endif gcc-bootstrap
169 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
171 # Similar, for later GCC stages.
172 POSTSTAGE1_HOST_EXPORTS = \
173 $(HOST_EXPORTS) \
174 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
175 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
176 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
177 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
178 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
179 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
256 BISON = @BISON@
257 YACC = @YACC@
258 FLEX = @FLEX@
259 LEX = @LEX@
260 M4 = @M4@
261 MAKEINFO = @MAKEINFO@
262 EXPECT = @EXPECT@
263 RUNTEST = @RUNTEST@
265 # This just becomes part of the MAKEINFO definition passed down to
266 # sub-makes. It lets flags be given on the command line while still
267 # using the makeinfo from the object tree.
268 # (Default to avoid splitting info files by setting the threshold high.)
269 MAKEINFOFLAGS = --split-size=5000000
271 # ---------------------------------------------
272 # Programs producing files for the HOST machine
273 # ---------------------------------------------
275 AS = @AS@
276 AR = @AR@
277 AR_FLAGS = rc
278 CC = @CC@
279 CXX = @CXX@
280 DLLTOOL = @DLLTOOL@
281 LD = @LD@
282 LIPO = @LIPO@
283 NM = @NM@
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)$(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
373 # This is the list of directories that may be needed in RPATH_ENVVAR
374 # so that programs built for the host machine work.
375 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
377 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
378 @if gcc
379 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
380 @endif gcc
383 @if bfd
384 HOST_LIB_PATH_bfd = \
385 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
386 @endif bfd
388 @if opcodes
389 HOST_LIB_PATH_opcodes = \
390 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
391 @endif opcodes
394 # Flags to pass down to all sub-makes.
395 BASE_FLAGS_TO_PASS = \
396 "DESTDIR=$(DESTDIR)" \
397 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
398 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
399 "bindir=$(bindir)" \
400 "datadir=$(datadir)" \
401 "exec_prefix=$(exec_prefix)" \
402 "includedir=$(includedir)" \
403 "infodir=$(infodir)" \
404 "libdir=$(libdir)" \
405 "libexecdir=$(libexecdir)" \
406 "lispdir=$(lispdir)" \
407 "localstatedir=$(localstatedir)" \
408 "mandir=$(mandir)" \
409 "oldincludedir=$(oldincludedir)" \
410 "prefix=$(prefix)" \
411 "sbindir=$(sbindir)" \
412 "sharedstatedir=$(sharedstatedir)" \
413 "sysconfdir=$(sysconfdir)" \
414 "tooldir=$(tooldir)" \
415 "build_tooldir=$(build_tooldir)" \
416 "target_alias=$(target_alias)" \
417 "BISON=$(BISON)" \
418 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
419 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
420 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
421 "EXPECT=$(EXPECT)" \
422 "FLEX=$(FLEX)" \
423 "INSTALL=$(INSTALL)" \
424 "INSTALL_DATA=$(INSTALL_DATA)" \
425 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
426 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
427 "LEX=$(LEX)" \
428 "M4=$(M4)" \
429 "MAKE=$(MAKE)" \
430 "RUNTEST=$(RUNTEST)" \
431 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
432 "SHELL=$(SHELL)" \
433 "YACC=$(YACC)" \
434 "AR_FLAGS=$(AR_FLAGS)" \
435 "CFLAGS=$(CFLAGS)" \
436 "CXXFLAGS=$(CXXFLAGS)" \
437 "LDFLAGS=$(LDFLAGS)" \
438 "LIBCFLAGS=$(LIBCFLAGS)" \
439 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
440 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
441 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
442 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
443 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
444 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
445 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
446 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
447 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
448 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
449 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
450 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
451 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
452 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
453 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
454 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
455 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
456 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
457 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
458 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
459 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
460 "CONFIG_SHELL=$(SHELL)" \
461 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
463 # We leave this in just in case, but it is not needed anymore.
464 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
466 # Flags to pass down to most sub-makes, in which we're building with
467 # the host environment.
468 EXTRA_HOST_FLAGS = \
469 'AR=$(AR)' \
470 'AS=$(AS)' \
471 'CC=$(CC)' \
472 'CXX=$(CXX)' \
473 'DLLTOOL=$(DLLTOOL)' \
474 'LD=$(LD)' \
475 'LIPO=$(LIPO)' \
476 'NM=$(NM)' \
477 'RANLIB=$(RANLIB)' \
478 'STRIP=$(STRIP)' \
479 'WINDRES=$(WINDRES)'
481 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
483 # Flags that are concerned with the location of the X11 include files
484 # and library files
486 # NOTE: until the top-level is getting the values via autoconf, it only
487 # causes problems to have this top-level Makefile overriding the autoconf-set
488 # values in child directories. Only variables that don't conflict with
489 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
491 X11_FLAGS_TO_PASS = \
492 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
493 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
495 # Flags to pass down to makes which are built with the target environment.
496 # The double $ decreases the length of the command line; the variables
497 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
498 EXTRA_TARGET_FLAGS = \
499 'AR=$$(AR_FOR_TARGET)' \
500 'AS=$$(COMPILER_AS_FOR_TARGET)' \
501 'CC=$$(CC_FOR_TARGET)' \
502 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
503 'CXX=$$(CXX_FOR_TARGET)' \
504 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
505 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
506 'LD=$$(COMPILER_LD_FOR_TARGET)' \
507 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
508 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
509 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
510 'NM=$$(COMPILER_NM_FOR_TARGET)' \
511 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
512 'RANLIB=$$(RANLIB_FOR_TARGET)' \
513 'WINDRES=$$(WINDRES_FOR_TARGET)'
515 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
517 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
518 # unfortunately needs the native compiler and the target ar and
519 # ranlib.
520 # If any variables are added here, they must be added to do-*, below.
521 # The BUILD_* variables are a special case, which are used for the gcc
522 # cross-building scheme.
523 EXTRA_GCC_FLAGS = \
524 'BUILD_PREFIX=$(BUILD_PREFIX)' \
525 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
526 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
527 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
528 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
529 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
530 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
531 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
534 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
535 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
537 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
539 .PHONY: configure-host
540 configure-host: \
541 maybe-configure-ash \
542 maybe-configure-autoconf \
543 maybe-configure-automake \
544 maybe-configure-bash \
545 maybe-configure-bfd \
546 maybe-configure-opcodes \
547 maybe-configure-binutils \
548 maybe-configure-bison \
549 maybe-configure-byacc \
550 maybe-configure-bzip2 \
551 maybe-configure-dejagnu \
552 maybe-configure-diff \
553 maybe-configure-dosutils \
554 maybe-configure-etc \
555 maybe-configure-fastjar \
556 maybe-configure-fileutils \
557 maybe-configure-findutils \
558 maybe-configure-find \
559 maybe-configure-fixincludes \
560 maybe-configure-flex \
561 maybe-configure-gas \
562 maybe-configure-gcc \
563 maybe-configure-gawk \
564 maybe-configure-gettext \
565 maybe-configure-gnuserv \
566 maybe-configure-gprof \
567 maybe-configure-gzip \
568 maybe-configure-hello \
569 maybe-configure-indent \
570 maybe-configure-intl \
571 maybe-configure-tcl \
572 maybe-configure-itcl \
573 maybe-configure-ld \
574 maybe-configure-libcpp \
575 maybe-configure-libdecnumber \
576 maybe-configure-libgui \
577 maybe-configure-libiberty \
578 maybe-configure-libtool \
579 maybe-configure-m4 \
580 maybe-configure-make \
581 maybe-configure-mmalloc \
582 maybe-configure-patch \
583 maybe-configure-perl \
584 maybe-configure-prms \
585 maybe-configure-rcs \
586 maybe-configure-readline \
587 maybe-configure-release \
588 maybe-configure-recode \
589 maybe-configure-sed \
590 maybe-configure-send-pr \
591 maybe-configure-shellutils \
592 maybe-configure-sid \
593 maybe-configure-sim \
594 maybe-configure-tar \
595 maybe-configure-texinfo \
596 maybe-configure-textutils \
597 maybe-configure-time \
598 maybe-configure-uudecode \
599 maybe-configure-wdiff \
600 maybe-configure-zip \
601 maybe-configure-zlib \
602 maybe-configure-gdb \
603 maybe-configure-expect \
604 maybe-configure-guile \
605 maybe-configure-tk \
606 maybe-configure-libtermcap \
607 maybe-configure-utils \
608 maybe-configure-gnattools
609 .PHONY: configure-target
610 configure-target: \
611 maybe-configure-target-libstdc++-v3 \
612 maybe-configure-target-libmudflap \
613 maybe-configure-target-libssp \
614 maybe-configure-target-newlib \
615 maybe-configure-target-libgfortran \
616 maybe-configure-target-libobjc \
617 maybe-configure-target-libtermcap \
618 maybe-configure-target-winsup \
619 maybe-configure-target-libgloss \
620 maybe-configure-target-libiberty \
621 maybe-configure-target-gperf \
622 maybe-configure-target-examples \
623 maybe-configure-target-libffi \
624 maybe-configure-target-libjava \
625 maybe-configure-target-zlib \
626 maybe-configure-target-boehm-gc \
627 maybe-configure-target-qthreads \
628 maybe-configure-target-rda \
629 maybe-configure-target-libada
631 # The target built for a native non-bootstrap build.
632 .PHONY: all
633 all:
634 @if gcc-bootstrap
635 [ -f stage_final ] || echo stage3 > stage_final
636 @r=`${PWD_COMMAND}`; export r; \
637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble; \
639 @endif gcc-bootstrap
640 @$(unstage)
641 @r=`${PWD_COMMAND}`; export r; \
642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
643 if [ -f stage_last ]; then \
644 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
645 else \
646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
648 @$(stage)
650 .PHONY: all-build
651 all-build: \
652 maybe-all-build-libiberty \
653 maybe-all-build-bison \
654 maybe-all-build-byacc \
655 maybe-all-build-flex \
656 maybe-all-build-m4 \
657 maybe-all-build-texinfo \
658 maybe-all-build-fixincludes
659 .PHONY: all-host
660 all-host: \
661 maybe-all-ash \
662 maybe-all-autoconf \
663 maybe-all-automake \
664 maybe-all-bash \
665 maybe-all-bfd \
666 maybe-all-opcodes \
667 maybe-all-binutils \
668 maybe-all-bison \
669 maybe-all-byacc \
670 maybe-all-bzip2 \
671 maybe-all-dejagnu \
672 maybe-all-diff \
673 maybe-all-dosutils \
674 maybe-all-etc \
675 maybe-all-fastjar \
676 maybe-all-fileutils \
677 maybe-all-findutils \
678 maybe-all-find \
679 maybe-all-fixincludes \
680 maybe-all-flex \
681 maybe-all-gas \
682 maybe-all-gcc \
683 maybe-all-gawk \
684 maybe-all-gettext \
685 maybe-all-gnuserv \
686 maybe-all-gprof \
687 maybe-all-gzip \
688 maybe-all-hello \
689 maybe-all-indent \
690 maybe-all-intl \
691 maybe-all-tcl \
692 maybe-all-itcl \
693 maybe-all-ld \
694 maybe-all-libcpp \
695 maybe-all-libdecnumber \
696 maybe-all-libgui \
697 maybe-all-libiberty \
698 maybe-all-libtool \
699 maybe-all-m4 \
700 maybe-all-make \
701 maybe-all-mmalloc \
702 maybe-all-patch \
703 maybe-all-perl \
704 maybe-all-prms \
705 maybe-all-rcs \
706 maybe-all-readline \
707 maybe-all-release \
708 maybe-all-recode \
709 maybe-all-sed \
710 maybe-all-send-pr \
711 maybe-all-shellutils \
712 maybe-all-sid \
713 maybe-all-sim \
714 maybe-all-tar \
715 maybe-all-texinfo \
716 maybe-all-textutils \
717 maybe-all-time \
718 maybe-all-uudecode \
719 maybe-all-wdiff \
720 maybe-all-zip \
721 maybe-all-zlib \
722 maybe-all-gdb \
723 maybe-all-expect \
724 maybe-all-guile \
725 maybe-all-tk \
726 maybe-all-libtermcap \
727 maybe-all-utils \
728 maybe-all-gnattools
729 .PHONY: all-target
730 all-target: \
731 maybe-all-target-libstdc++-v3 \
732 maybe-all-target-libmudflap \
733 maybe-all-target-libssp \
734 maybe-all-target-newlib \
735 maybe-all-target-libgfortran \
736 maybe-all-target-libobjc \
737 maybe-all-target-libtermcap \
738 maybe-all-target-winsup \
739 maybe-all-target-libgloss \
740 maybe-all-target-libiberty \
741 maybe-all-target-gperf \
742 maybe-all-target-examples \
743 maybe-all-target-libffi \
744 maybe-all-target-libjava \
745 maybe-all-target-zlib \
746 maybe-all-target-boehm-gc \
747 maybe-all-target-qthreads \
748 maybe-all-target-rda \
749 maybe-all-target-libada
751 # Do a target for all the subdirectories. A ``make do-X'' will do a
752 # ``make X'' in all subdirectories (because, in general, there is a
753 # dependency (below) of X upon do-X, a ``make X'' will also do this,
754 # but it may do additional work as well).
756 .PHONY: do-info
757 do-info:
758 @$(unstage)
759 @r=`${PWD_COMMAND}`; export r; \
760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
761 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
762 info-target
763 @$(stage)
766 .PHONY: info-host
767 info-host: \
768 maybe-info-ash \
769 maybe-info-autoconf \
770 maybe-info-automake \
771 maybe-info-bash \
772 maybe-info-bfd \
773 maybe-info-opcodes \
774 maybe-info-binutils \
775 maybe-info-bison \
776 maybe-info-byacc \
777 maybe-info-bzip2 \
778 maybe-info-dejagnu \
779 maybe-info-diff \
780 maybe-info-dosutils \
781 maybe-info-etc \
782 maybe-info-fastjar \
783 maybe-info-fileutils \
784 maybe-info-findutils \
785 maybe-info-find \
786 maybe-info-fixincludes \
787 maybe-info-flex \
788 maybe-info-gas \
789 maybe-info-gcc \
790 maybe-info-gawk \
791 maybe-info-gettext \
792 maybe-info-gnuserv \
793 maybe-info-gprof \
794 maybe-info-gzip \
795 maybe-info-hello \
796 maybe-info-indent \
797 maybe-info-intl \
798 maybe-info-tcl \
799 maybe-info-itcl \
800 maybe-info-ld \
801 maybe-info-libcpp \
802 maybe-info-libdecnumber \
803 maybe-info-libgui \
804 maybe-info-libiberty \
805 maybe-info-libtool \
806 maybe-info-m4 \
807 maybe-info-make \
808 maybe-info-mmalloc \
809 maybe-info-patch \
810 maybe-info-perl \
811 maybe-info-prms \
812 maybe-info-rcs \
813 maybe-info-readline \
814 maybe-info-release \
815 maybe-info-recode \
816 maybe-info-sed \
817 maybe-info-send-pr \
818 maybe-info-shellutils \
819 maybe-info-sid \
820 maybe-info-sim \
821 maybe-info-tar \
822 maybe-info-texinfo \
823 maybe-info-textutils \
824 maybe-info-time \
825 maybe-info-uudecode \
826 maybe-info-wdiff \
827 maybe-info-zip \
828 maybe-info-zlib \
829 maybe-info-gdb \
830 maybe-info-expect \
831 maybe-info-guile \
832 maybe-info-tk \
833 maybe-info-libtermcap \
834 maybe-info-utils \
835 maybe-info-gnattools
837 .PHONY: info-target
838 info-target: \
839 maybe-info-target-libstdc++-v3 \
840 maybe-info-target-libmudflap \
841 maybe-info-target-libssp \
842 maybe-info-target-newlib \
843 maybe-info-target-libgfortran \
844 maybe-info-target-libobjc \
845 maybe-info-target-libtermcap \
846 maybe-info-target-winsup \
847 maybe-info-target-libgloss \
848 maybe-info-target-libiberty \
849 maybe-info-target-gperf \
850 maybe-info-target-examples \
851 maybe-info-target-libffi \
852 maybe-info-target-libjava \
853 maybe-info-target-zlib \
854 maybe-info-target-boehm-gc \
855 maybe-info-target-qthreads \
856 maybe-info-target-rda \
857 maybe-info-target-libada
859 .PHONY: do-dvi
860 do-dvi:
861 @$(unstage)
862 @r=`${PWD_COMMAND}`; export r; \
863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
864 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
865 dvi-target
866 @$(stage)
869 .PHONY: dvi-host
870 dvi-host: \
871 maybe-dvi-ash \
872 maybe-dvi-autoconf \
873 maybe-dvi-automake \
874 maybe-dvi-bash \
875 maybe-dvi-bfd \
876 maybe-dvi-opcodes \
877 maybe-dvi-binutils \
878 maybe-dvi-bison \
879 maybe-dvi-byacc \
880 maybe-dvi-bzip2 \
881 maybe-dvi-dejagnu \
882 maybe-dvi-diff \
883 maybe-dvi-dosutils \
884 maybe-dvi-etc \
885 maybe-dvi-fastjar \
886 maybe-dvi-fileutils \
887 maybe-dvi-findutils \
888 maybe-dvi-find \
889 maybe-dvi-fixincludes \
890 maybe-dvi-flex \
891 maybe-dvi-gas \
892 maybe-dvi-gcc \
893 maybe-dvi-gawk \
894 maybe-dvi-gettext \
895 maybe-dvi-gnuserv \
896 maybe-dvi-gprof \
897 maybe-dvi-gzip \
898 maybe-dvi-hello \
899 maybe-dvi-indent \
900 maybe-dvi-intl \
901 maybe-dvi-tcl \
902 maybe-dvi-itcl \
903 maybe-dvi-ld \
904 maybe-dvi-libcpp \
905 maybe-dvi-libdecnumber \
906 maybe-dvi-libgui \
907 maybe-dvi-libiberty \
908 maybe-dvi-libtool \
909 maybe-dvi-m4 \
910 maybe-dvi-make \
911 maybe-dvi-mmalloc \
912 maybe-dvi-patch \
913 maybe-dvi-perl \
914 maybe-dvi-prms \
915 maybe-dvi-rcs \
916 maybe-dvi-readline \
917 maybe-dvi-release \
918 maybe-dvi-recode \
919 maybe-dvi-sed \
920 maybe-dvi-send-pr \
921 maybe-dvi-shellutils \
922 maybe-dvi-sid \
923 maybe-dvi-sim \
924 maybe-dvi-tar \
925 maybe-dvi-texinfo \
926 maybe-dvi-textutils \
927 maybe-dvi-time \
928 maybe-dvi-uudecode \
929 maybe-dvi-wdiff \
930 maybe-dvi-zip \
931 maybe-dvi-zlib \
932 maybe-dvi-gdb \
933 maybe-dvi-expect \
934 maybe-dvi-guile \
935 maybe-dvi-tk \
936 maybe-dvi-libtermcap \
937 maybe-dvi-utils \
938 maybe-dvi-gnattools
940 .PHONY: dvi-target
941 dvi-target: \
942 maybe-dvi-target-libstdc++-v3 \
943 maybe-dvi-target-libmudflap \
944 maybe-dvi-target-libssp \
945 maybe-dvi-target-newlib \
946 maybe-dvi-target-libgfortran \
947 maybe-dvi-target-libobjc \
948 maybe-dvi-target-libtermcap \
949 maybe-dvi-target-winsup \
950 maybe-dvi-target-libgloss \
951 maybe-dvi-target-libiberty \
952 maybe-dvi-target-gperf \
953 maybe-dvi-target-examples \
954 maybe-dvi-target-libffi \
955 maybe-dvi-target-libjava \
956 maybe-dvi-target-zlib \
957 maybe-dvi-target-boehm-gc \
958 maybe-dvi-target-qthreads \
959 maybe-dvi-target-rda \
960 maybe-dvi-target-libada
962 .PHONY: do-html
963 do-html:
964 @$(unstage)
965 @r=`${PWD_COMMAND}`; export r; \
966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
968 html-target
969 @$(stage)
972 .PHONY: html-host
973 html-host: \
974 maybe-html-ash \
975 maybe-html-autoconf \
976 maybe-html-automake \
977 maybe-html-bash \
978 maybe-html-bfd \
979 maybe-html-opcodes \
980 maybe-html-binutils \
981 maybe-html-bison \
982 maybe-html-byacc \
983 maybe-html-bzip2 \
984 maybe-html-dejagnu \
985 maybe-html-diff \
986 maybe-html-dosutils \
987 maybe-html-etc \
988 maybe-html-fastjar \
989 maybe-html-fileutils \
990 maybe-html-findutils \
991 maybe-html-find \
992 maybe-html-fixincludes \
993 maybe-html-flex \
994 maybe-html-gas \
995 maybe-html-gcc \
996 maybe-html-gawk \
997 maybe-html-gettext \
998 maybe-html-gnuserv \
999 maybe-html-gprof \
1000 maybe-html-gzip \
1001 maybe-html-hello \
1002 maybe-html-indent \
1003 maybe-html-intl \
1004 maybe-html-tcl \
1005 maybe-html-itcl \
1006 maybe-html-ld \
1007 maybe-html-libcpp \
1008 maybe-html-libdecnumber \
1009 maybe-html-libgui \
1010 maybe-html-libiberty \
1011 maybe-html-libtool \
1012 maybe-html-m4 \
1013 maybe-html-make \
1014 maybe-html-mmalloc \
1015 maybe-html-patch \
1016 maybe-html-perl \
1017 maybe-html-prms \
1018 maybe-html-rcs \
1019 maybe-html-readline \
1020 maybe-html-release \
1021 maybe-html-recode \
1022 maybe-html-sed \
1023 maybe-html-send-pr \
1024 maybe-html-shellutils \
1025 maybe-html-sid \
1026 maybe-html-sim \
1027 maybe-html-tar \
1028 maybe-html-texinfo \
1029 maybe-html-textutils \
1030 maybe-html-time \
1031 maybe-html-uudecode \
1032 maybe-html-wdiff \
1033 maybe-html-zip \
1034 maybe-html-zlib \
1035 maybe-html-gdb \
1036 maybe-html-expect \
1037 maybe-html-guile \
1038 maybe-html-tk \
1039 maybe-html-libtermcap \
1040 maybe-html-utils \
1041 maybe-html-gnattools
1043 .PHONY: html-target
1044 html-target: \
1045 maybe-html-target-libstdc++-v3 \
1046 maybe-html-target-libmudflap \
1047 maybe-html-target-libssp \
1048 maybe-html-target-newlib \
1049 maybe-html-target-libgfortran \
1050 maybe-html-target-libobjc \
1051 maybe-html-target-libtermcap \
1052 maybe-html-target-winsup \
1053 maybe-html-target-libgloss \
1054 maybe-html-target-libiberty \
1055 maybe-html-target-gperf \
1056 maybe-html-target-examples \
1057 maybe-html-target-libffi \
1058 maybe-html-target-libjava \
1059 maybe-html-target-zlib \
1060 maybe-html-target-boehm-gc \
1061 maybe-html-target-qthreads \
1062 maybe-html-target-rda \
1063 maybe-html-target-libada
1065 .PHONY: do-TAGS
1066 do-TAGS:
1067 @$(unstage)
1068 @r=`${PWD_COMMAND}`; export r; \
1069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1071 TAGS-target
1072 @$(stage)
1075 .PHONY: TAGS-host
1076 TAGS-host: \
1077 maybe-TAGS-ash \
1078 maybe-TAGS-autoconf \
1079 maybe-TAGS-automake \
1080 maybe-TAGS-bash \
1081 maybe-TAGS-bfd \
1082 maybe-TAGS-opcodes \
1083 maybe-TAGS-binutils \
1084 maybe-TAGS-bison \
1085 maybe-TAGS-byacc \
1086 maybe-TAGS-bzip2 \
1087 maybe-TAGS-dejagnu \
1088 maybe-TAGS-diff \
1089 maybe-TAGS-dosutils \
1090 maybe-TAGS-etc \
1091 maybe-TAGS-fastjar \
1092 maybe-TAGS-fileutils \
1093 maybe-TAGS-findutils \
1094 maybe-TAGS-find \
1095 maybe-TAGS-fixincludes \
1096 maybe-TAGS-flex \
1097 maybe-TAGS-gas \
1098 maybe-TAGS-gcc \
1099 maybe-TAGS-gawk \
1100 maybe-TAGS-gettext \
1101 maybe-TAGS-gnuserv \
1102 maybe-TAGS-gprof \
1103 maybe-TAGS-gzip \
1104 maybe-TAGS-hello \
1105 maybe-TAGS-indent \
1106 maybe-TAGS-intl \
1107 maybe-TAGS-tcl \
1108 maybe-TAGS-itcl \
1109 maybe-TAGS-ld \
1110 maybe-TAGS-libcpp \
1111 maybe-TAGS-libdecnumber \
1112 maybe-TAGS-libgui \
1113 maybe-TAGS-libiberty \
1114 maybe-TAGS-libtool \
1115 maybe-TAGS-m4 \
1116 maybe-TAGS-make \
1117 maybe-TAGS-mmalloc \
1118 maybe-TAGS-patch \
1119 maybe-TAGS-perl \
1120 maybe-TAGS-prms \
1121 maybe-TAGS-rcs \
1122 maybe-TAGS-readline \
1123 maybe-TAGS-release \
1124 maybe-TAGS-recode \
1125 maybe-TAGS-sed \
1126 maybe-TAGS-send-pr \
1127 maybe-TAGS-shellutils \
1128 maybe-TAGS-sid \
1129 maybe-TAGS-sim \
1130 maybe-TAGS-tar \
1131 maybe-TAGS-texinfo \
1132 maybe-TAGS-textutils \
1133 maybe-TAGS-time \
1134 maybe-TAGS-uudecode \
1135 maybe-TAGS-wdiff \
1136 maybe-TAGS-zip \
1137 maybe-TAGS-zlib \
1138 maybe-TAGS-gdb \
1139 maybe-TAGS-expect \
1140 maybe-TAGS-guile \
1141 maybe-TAGS-tk \
1142 maybe-TAGS-libtermcap \
1143 maybe-TAGS-utils \
1144 maybe-TAGS-gnattools
1146 .PHONY: TAGS-target
1147 TAGS-target: \
1148 maybe-TAGS-target-libstdc++-v3 \
1149 maybe-TAGS-target-libmudflap \
1150 maybe-TAGS-target-libssp \
1151 maybe-TAGS-target-newlib \
1152 maybe-TAGS-target-libgfortran \
1153 maybe-TAGS-target-libobjc \
1154 maybe-TAGS-target-libtermcap \
1155 maybe-TAGS-target-winsup \
1156 maybe-TAGS-target-libgloss \
1157 maybe-TAGS-target-libiberty \
1158 maybe-TAGS-target-gperf \
1159 maybe-TAGS-target-examples \
1160 maybe-TAGS-target-libffi \
1161 maybe-TAGS-target-libjava \
1162 maybe-TAGS-target-zlib \
1163 maybe-TAGS-target-boehm-gc \
1164 maybe-TAGS-target-qthreads \
1165 maybe-TAGS-target-rda \
1166 maybe-TAGS-target-libada
1168 .PHONY: do-install-info
1169 do-install-info:
1170 @$(unstage)
1171 @r=`${PWD_COMMAND}`; export r; \
1172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1173 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1174 install-info-target
1175 @$(stage)
1178 .PHONY: install-info-host
1179 install-info-host: \
1180 maybe-install-info-ash \
1181 maybe-install-info-autoconf \
1182 maybe-install-info-automake \
1183 maybe-install-info-bash \
1184 maybe-install-info-bfd \
1185 maybe-install-info-opcodes \
1186 maybe-install-info-binutils \
1187 maybe-install-info-bison \
1188 maybe-install-info-byacc \
1189 maybe-install-info-bzip2 \
1190 maybe-install-info-dejagnu \
1191 maybe-install-info-diff \
1192 maybe-install-info-dosutils \
1193 maybe-install-info-etc \
1194 maybe-install-info-fastjar \
1195 maybe-install-info-fileutils \
1196 maybe-install-info-findutils \
1197 maybe-install-info-find \
1198 maybe-install-info-fixincludes \
1199 maybe-install-info-flex \
1200 maybe-install-info-gas \
1201 maybe-install-info-gcc \
1202 maybe-install-info-gawk \
1203 maybe-install-info-gettext \
1204 maybe-install-info-gnuserv \
1205 maybe-install-info-gprof \
1206 maybe-install-info-gzip \
1207 maybe-install-info-hello \
1208 maybe-install-info-indent \
1209 maybe-install-info-intl \
1210 maybe-install-info-tcl \
1211 maybe-install-info-itcl \
1212 maybe-install-info-ld \
1213 maybe-install-info-libcpp \
1214 maybe-install-info-libdecnumber \
1215 maybe-install-info-libgui \
1216 maybe-install-info-libiberty \
1217 maybe-install-info-libtool \
1218 maybe-install-info-m4 \
1219 maybe-install-info-make \
1220 maybe-install-info-mmalloc \
1221 maybe-install-info-patch \
1222 maybe-install-info-perl \
1223 maybe-install-info-prms \
1224 maybe-install-info-rcs \
1225 maybe-install-info-readline \
1226 maybe-install-info-release \
1227 maybe-install-info-recode \
1228 maybe-install-info-sed \
1229 maybe-install-info-send-pr \
1230 maybe-install-info-shellutils \
1231 maybe-install-info-sid \
1232 maybe-install-info-sim \
1233 maybe-install-info-tar \
1234 maybe-install-info-texinfo \
1235 maybe-install-info-textutils \
1236 maybe-install-info-time \
1237 maybe-install-info-uudecode \
1238 maybe-install-info-wdiff \
1239 maybe-install-info-zip \
1240 maybe-install-info-zlib \
1241 maybe-install-info-gdb \
1242 maybe-install-info-expect \
1243 maybe-install-info-guile \
1244 maybe-install-info-tk \
1245 maybe-install-info-libtermcap \
1246 maybe-install-info-utils \
1247 maybe-install-info-gnattools
1249 .PHONY: install-info-target
1250 install-info-target: \
1251 maybe-install-info-target-libstdc++-v3 \
1252 maybe-install-info-target-libmudflap \
1253 maybe-install-info-target-libssp \
1254 maybe-install-info-target-newlib \
1255 maybe-install-info-target-libgfortran \
1256 maybe-install-info-target-libobjc \
1257 maybe-install-info-target-libtermcap \
1258 maybe-install-info-target-winsup \
1259 maybe-install-info-target-libgloss \
1260 maybe-install-info-target-libiberty \
1261 maybe-install-info-target-gperf \
1262 maybe-install-info-target-examples \
1263 maybe-install-info-target-libffi \
1264 maybe-install-info-target-libjava \
1265 maybe-install-info-target-zlib \
1266 maybe-install-info-target-boehm-gc \
1267 maybe-install-info-target-qthreads \
1268 maybe-install-info-target-rda \
1269 maybe-install-info-target-libada
1271 .PHONY: do-installcheck
1272 do-installcheck:
1273 @$(unstage)
1274 @r=`${PWD_COMMAND}`; export r; \
1275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1276 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1277 installcheck-target
1278 @$(stage)
1281 .PHONY: installcheck-host
1282 installcheck-host: \
1283 maybe-installcheck-ash \
1284 maybe-installcheck-autoconf \
1285 maybe-installcheck-automake \
1286 maybe-installcheck-bash \
1287 maybe-installcheck-bfd \
1288 maybe-installcheck-opcodes \
1289 maybe-installcheck-binutils \
1290 maybe-installcheck-bison \
1291 maybe-installcheck-byacc \
1292 maybe-installcheck-bzip2 \
1293 maybe-installcheck-dejagnu \
1294 maybe-installcheck-diff \
1295 maybe-installcheck-dosutils \
1296 maybe-installcheck-etc \
1297 maybe-installcheck-fastjar \
1298 maybe-installcheck-fileutils \
1299 maybe-installcheck-findutils \
1300 maybe-installcheck-find \
1301 maybe-installcheck-fixincludes \
1302 maybe-installcheck-flex \
1303 maybe-installcheck-gas \
1304 maybe-installcheck-gcc \
1305 maybe-installcheck-gawk \
1306 maybe-installcheck-gettext \
1307 maybe-installcheck-gnuserv \
1308 maybe-installcheck-gprof \
1309 maybe-installcheck-gzip \
1310 maybe-installcheck-hello \
1311 maybe-installcheck-indent \
1312 maybe-installcheck-intl \
1313 maybe-installcheck-tcl \
1314 maybe-installcheck-itcl \
1315 maybe-installcheck-ld \
1316 maybe-installcheck-libcpp \
1317 maybe-installcheck-libdecnumber \
1318 maybe-installcheck-libgui \
1319 maybe-installcheck-libiberty \
1320 maybe-installcheck-libtool \
1321 maybe-installcheck-m4 \
1322 maybe-installcheck-make \
1323 maybe-installcheck-mmalloc \
1324 maybe-installcheck-patch \
1325 maybe-installcheck-perl \
1326 maybe-installcheck-prms \
1327 maybe-installcheck-rcs \
1328 maybe-installcheck-readline \
1329 maybe-installcheck-release \
1330 maybe-installcheck-recode \
1331 maybe-installcheck-sed \
1332 maybe-installcheck-send-pr \
1333 maybe-installcheck-shellutils \
1334 maybe-installcheck-sid \
1335 maybe-installcheck-sim \
1336 maybe-installcheck-tar \
1337 maybe-installcheck-texinfo \
1338 maybe-installcheck-textutils \
1339 maybe-installcheck-time \
1340 maybe-installcheck-uudecode \
1341 maybe-installcheck-wdiff \
1342 maybe-installcheck-zip \
1343 maybe-installcheck-zlib \
1344 maybe-installcheck-gdb \
1345 maybe-installcheck-expect \
1346 maybe-installcheck-guile \
1347 maybe-installcheck-tk \
1348 maybe-installcheck-libtermcap \
1349 maybe-installcheck-utils \
1350 maybe-installcheck-gnattools
1352 .PHONY: installcheck-target
1353 installcheck-target: \
1354 maybe-installcheck-target-libstdc++-v3 \
1355 maybe-installcheck-target-libmudflap \
1356 maybe-installcheck-target-libssp \
1357 maybe-installcheck-target-newlib \
1358 maybe-installcheck-target-libgfortran \
1359 maybe-installcheck-target-libobjc \
1360 maybe-installcheck-target-libtermcap \
1361 maybe-installcheck-target-winsup \
1362 maybe-installcheck-target-libgloss \
1363 maybe-installcheck-target-libiberty \
1364 maybe-installcheck-target-gperf \
1365 maybe-installcheck-target-examples \
1366 maybe-installcheck-target-libffi \
1367 maybe-installcheck-target-libjava \
1368 maybe-installcheck-target-zlib \
1369 maybe-installcheck-target-boehm-gc \
1370 maybe-installcheck-target-qthreads \
1371 maybe-installcheck-target-rda \
1372 maybe-installcheck-target-libada
1374 .PHONY: do-mostlyclean
1375 do-mostlyclean:
1376 @$(unstage)
1377 @r=`${PWD_COMMAND}`; export r; \
1378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1379 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1380 mostlyclean-target
1381 @$(stage)
1384 .PHONY: mostlyclean-host
1385 mostlyclean-host: \
1386 maybe-mostlyclean-ash \
1387 maybe-mostlyclean-autoconf \
1388 maybe-mostlyclean-automake \
1389 maybe-mostlyclean-bash \
1390 maybe-mostlyclean-bfd \
1391 maybe-mostlyclean-opcodes \
1392 maybe-mostlyclean-binutils \
1393 maybe-mostlyclean-bison \
1394 maybe-mostlyclean-byacc \
1395 maybe-mostlyclean-bzip2 \
1396 maybe-mostlyclean-dejagnu \
1397 maybe-mostlyclean-diff \
1398 maybe-mostlyclean-dosutils \
1399 maybe-mostlyclean-etc \
1400 maybe-mostlyclean-fastjar \
1401 maybe-mostlyclean-fileutils \
1402 maybe-mostlyclean-findutils \
1403 maybe-mostlyclean-find \
1404 maybe-mostlyclean-fixincludes \
1405 maybe-mostlyclean-flex \
1406 maybe-mostlyclean-gas \
1407 maybe-mostlyclean-gcc \
1408 maybe-mostlyclean-gawk \
1409 maybe-mostlyclean-gettext \
1410 maybe-mostlyclean-gnuserv \
1411 maybe-mostlyclean-gprof \
1412 maybe-mostlyclean-gzip \
1413 maybe-mostlyclean-hello \
1414 maybe-mostlyclean-indent \
1415 maybe-mostlyclean-intl \
1416 maybe-mostlyclean-tcl \
1417 maybe-mostlyclean-itcl \
1418 maybe-mostlyclean-ld \
1419 maybe-mostlyclean-libcpp \
1420 maybe-mostlyclean-libdecnumber \
1421 maybe-mostlyclean-libgui \
1422 maybe-mostlyclean-libiberty \
1423 maybe-mostlyclean-libtool \
1424 maybe-mostlyclean-m4 \
1425 maybe-mostlyclean-make \
1426 maybe-mostlyclean-mmalloc \
1427 maybe-mostlyclean-patch \
1428 maybe-mostlyclean-perl \
1429 maybe-mostlyclean-prms \
1430 maybe-mostlyclean-rcs \
1431 maybe-mostlyclean-readline \
1432 maybe-mostlyclean-release \
1433 maybe-mostlyclean-recode \
1434 maybe-mostlyclean-sed \
1435 maybe-mostlyclean-send-pr \
1436 maybe-mostlyclean-shellutils \
1437 maybe-mostlyclean-sid \
1438 maybe-mostlyclean-sim \
1439 maybe-mostlyclean-tar \
1440 maybe-mostlyclean-texinfo \
1441 maybe-mostlyclean-textutils \
1442 maybe-mostlyclean-time \
1443 maybe-mostlyclean-uudecode \
1444 maybe-mostlyclean-wdiff \
1445 maybe-mostlyclean-zip \
1446 maybe-mostlyclean-zlib \
1447 maybe-mostlyclean-gdb \
1448 maybe-mostlyclean-expect \
1449 maybe-mostlyclean-guile \
1450 maybe-mostlyclean-tk \
1451 maybe-mostlyclean-libtermcap \
1452 maybe-mostlyclean-utils \
1453 maybe-mostlyclean-gnattools
1455 .PHONY: mostlyclean-target
1456 mostlyclean-target: \
1457 maybe-mostlyclean-target-libstdc++-v3 \
1458 maybe-mostlyclean-target-libmudflap \
1459 maybe-mostlyclean-target-libssp \
1460 maybe-mostlyclean-target-newlib \
1461 maybe-mostlyclean-target-libgfortran \
1462 maybe-mostlyclean-target-libobjc \
1463 maybe-mostlyclean-target-libtermcap \
1464 maybe-mostlyclean-target-winsup \
1465 maybe-mostlyclean-target-libgloss \
1466 maybe-mostlyclean-target-libiberty \
1467 maybe-mostlyclean-target-gperf \
1468 maybe-mostlyclean-target-examples \
1469 maybe-mostlyclean-target-libffi \
1470 maybe-mostlyclean-target-libjava \
1471 maybe-mostlyclean-target-zlib \
1472 maybe-mostlyclean-target-boehm-gc \
1473 maybe-mostlyclean-target-qthreads \
1474 maybe-mostlyclean-target-rda \
1475 maybe-mostlyclean-target-libada
1477 .PHONY: do-clean
1478 do-clean:
1479 @$(unstage)
1480 @r=`${PWD_COMMAND}`; export r; \
1481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1482 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1483 clean-target
1484 @$(stage)
1487 .PHONY: clean-host
1488 clean-host: \
1489 maybe-clean-ash \
1490 maybe-clean-autoconf \
1491 maybe-clean-automake \
1492 maybe-clean-bash \
1493 maybe-clean-bfd \
1494 maybe-clean-opcodes \
1495 maybe-clean-binutils \
1496 maybe-clean-bison \
1497 maybe-clean-byacc \
1498 maybe-clean-bzip2 \
1499 maybe-clean-dejagnu \
1500 maybe-clean-diff \
1501 maybe-clean-dosutils \
1502 maybe-clean-etc \
1503 maybe-clean-fastjar \
1504 maybe-clean-fileutils \
1505 maybe-clean-findutils \
1506 maybe-clean-find \
1507 maybe-clean-fixincludes \
1508 maybe-clean-flex \
1509 maybe-clean-gas \
1510 maybe-clean-gcc \
1511 maybe-clean-gawk \
1512 maybe-clean-gettext \
1513 maybe-clean-gnuserv \
1514 maybe-clean-gprof \
1515 maybe-clean-gzip \
1516 maybe-clean-hello \
1517 maybe-clean-indent \
1518 maybe-clean-intl \
1519 maybe-clean-tcl \
1520 maybe-clean-itcl \
1521 maybe-clean-ld \
1522 maybe-clean-libcpp \
1523 maybe-clean-libdecnumber \
1524 maybe-clean-libgui \
1525 maybe-clean-libiberty \
1526 maybe-clean-libtool \
1527 maybe-clean-m4 \
1528 maybe-clean-make \
1529 maybe-clean-mmalloc \
1530 maybe-clean-patch \
1531 maybe-clean-perl \
1532 maybe-clean-prms \
1533 maybe-clean-rcs \
1534 maybe-clean-readline \
1535 maybe-clean-release \
1536 maybe-clean-recode \
1537 maybe-clean-sed \
1538 maybe-clean-send-pr \
1539 maybe-clean-shellutils \
1540 maybe-clean-sid \
1541 maybe-clean-sim \
1542 maybe-clean-tar \
1543 maybe-clean-texinfo \
1544 maybe-clean-textutils \
1545 maybe-clean-time \
1546 maybe-clean-uudecode \
1547 maybe-clean-wdiff \
1548 maybe-clean-zip \
1549 maybe-clean-zlib \
1550 maybe-clean-gdb \
1551 maybe-clean-expect \
1552 maybe-clean-guile \
1553 maybe-clean-tk \
1554 maybe-clean-libtermcap \
1555 maybe-clean-utils \
1556 maybe-clean-gnattools
1558 .PHONY: clean-target
1559 clean-target: \
1560 maybe-clean-target-libstdc++-v3 \
1561 maybe-clean-target-libmudflap \
1562 maybe-clean-target-libssp \
1563 maybe-clean-target-newlib \
1564 maybe-clean-target-libgfortran \
1565 maybe-clean-target-libobjc \
1566 maybe-clean-target-libtermcap \
1567 maybe-clean-target-winsup \
1568 maybe-clean-target-libgloss \
1569 maybe-clean-target-libiberty \
1570 maybe-clean-target-gperf \
1571 maybe-clean-target-examples \
1572 maybe-clean-target-libffi \
1573 maybe-clean-target-libjava \
1574 maybe-clean-target-zlib \
1575 maybe-clean-target-boehm-gc \
1576 maybe-clean-target-qthreads \
1577 maybe-clean-target-rda \
1578 maybe-clean-target-libada
1580 .PHONY: do-distclean
1581 do-distclean:
1582 @$(unstage)
1583 @r=`${PWD_COMMAND}`; export r; \
1584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1585 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1586 distclean-target
1587 @$(stage)
1590 .PHONY: distclean-host
1591 distclean-host: \
1592 maybe-distclean-ash \
1593 maybe-distclean-autoconf \
1594 maybe-distclean-automake \
1595 maybe-distclean-bash \
1596 maybe-distclean-bfd \
1597 maybe-distclean-opcodes \
1598 maybe-distclean-binutils \
1599 maybe-distclean-bison \
1600 maybe-distclean-byacc \
1601 maybe-distclean-bzip2 \
1602 maybe-distclean-dejagnu \
1603 maybe-distclean-diff \
1604 maybe-distclean-dosutils \
1605 maybe-distclean-etc \
1606 maybe-distclean-fastjar \
1607 maybe-distclean-fileutils \
1608 maybe-distclean-findutils \
1609 maybe-distclean-find \
1610 maybe-distclean-fixincludes \
1611 maybe-distclean-flex \
1612 maybe-distclean-gas \
1613 maybe-distclean-gcc \
1614 maybe-distclean-gawk \
1615 maybe-distclean-gettext \
1616 maybe-distclean-gnuserv \
1617 maybe-distclean-gprof \
1618 maybe-distclean-gzip \
1619 maybe-distclean-hello \
1620 maybe-distclean-indent \
1621 maybe-distclean-intl \
1622 maybe-distclean-tcl \
1623 maybe-distclean-itcl \
1624 maybe-distclean-ld \
1625 maybe-distclean-libcpp \
1626 maybe-distclean-libdecnumber \
1627 maybe-distclean-libgui \
1628 maybe-distclean-libiberty \
1629 maybe-distclean-libtool \
1630 maybe-distclean-m4 \
1631 maybe-distclean-make \
1632 maybe-distclean-mmalloc \
1633 maybe-distclean-patch \
1634 maybe-distclean-perl \
1635 maybe-distclean-prms \
1636 maybe-distclean-rcs \
1637 maybe-distclean-readline \
1638 maybe-distclean-release \
1639 maybe-distclean-recode \
1640 maybe-distclean-sed \
1641 maybe-distclean-send-pr \
1642 maybe-distclean-shellutils \
1643 maybe-distclean-sid \
1644 maybe-distclean-sim \
1645 maybe-distclean-tar \
1646 maybe-distclean-texinfo \
1647 maybe-distclean-textutils \
1648 maybe-distclean-time \
1649 maybe-distclean-uudecode \
1650 maybe-distclean-wdiff \
1651 maybe-distclean-zip \
1652 maybe-distclean-zlib \
1653 maybe-distclean-gdb \
1654 maybe-distclean-expect \
1655 maybe-distclean-guile \
1656 maybe-distclean-tk \
1657 maybe-distclean-libtermcap \
1658 maybe-distclean-utils \
1659 maybe-distclean-gnattools
1661 .PHONY: distclean-target
1662 distclean-target: \
1663 maybe-distclean-target-libstdc++-v3 \
1664 maybe-distclean-target-libmudflap \
1665 maybe-distclean-target-libssp \
1666 maybe-distclean-target-newlib \
1667 maybe-distclean-target-libgfortran \
1668 maybe-distclean-target-libobjc \
1669 maybe-distclean-target-libtermcap \
1670 maybe-distclean-target-winsup \
1671 maybe-distclean-target-libgloss \
1672 maybe-distclean-target-libiberty \
1673 maybe-distclean-target-gperf \
1674 maybe-distclean-target-examples \
1675 maybe-distclean-target-libffi \
1676 maybe-distclean-target-libjava \
1677 maybe-distclean-target-zlib \
1678 maybe-distclean-target-boehm-gc \
1679 maybe-distclean-target-qthreads \
1680 maybe-distclean-target-rda \
1681 maybe-distclean-target-libada
1683 .PHONY: do-maintainer-clean
1684 do-maintainer-clean:
1685 @$(unstage)
1686 @r=`${PWD_COMMAND}`; export r; \
1687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1688 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1689 maintainer-clean-target
1690 @$(stage)
1693 .PHONY: maintainer-clean-host
1694 maintainer-clean-host: \
1695 maybe-maintainer-clean-ash \
1696 maybe-maintainer-clean-autoconf \
1697 maybe-maintainer-clean-automake \
1698 maybe-maintainer-clean-bash \
1699 maybe-maintainer-clean-bfd \
1700 maybe-maintainer-clean-opcodes \
1701 maybe-maintainer-clean-binutils \
1702 maybe-maintainer-clean-bison \
1703 maybe-maintainer-clean-byacc \
1704 maybe-maintainer-clean-bzip2 \
1705 maybe-maintainer-clean-dejagnu \
1706 maybe-maintainer-clean-diff \
1707 maybe-maintainer-clean-dosutils \
1708 maybe-maintainer-clean-etc \
1709 maybe-maintainer-clean-fastjar \
1710 maybe-maintainer-clean-fileutils \
1711 maybe-maintainer-clean-findutils \
1712 maybe-maintainer-clean-find \
1713 maybe-maintainer-clean-fixincludes \
1714 maybe-maintainer-clean-flex \
1715 maybe-maintainer-clean-gas \
1716 maybe-maintainer-clean-gcc \
1717 maybe-maintainer-clean-gawk \
1718 maybe-maintainer-clean-gettext \
1719 maybe-maintainer-clean-gnuserv \
1720 maybe-maintainer-clean-gprof \
1721 maybe-maintainer-clean-gzip \
1722 maybe-maintainer-clean-hello \
1723 maybe-maintainer-clean-indent \
1724 maybe-maintainer-clean-intl \
1725 maybe-maintainer-clean-tcl \
1726 maybe-maintainer-clean-itcl \
1727 maybe-maintainer-clean-ld \
1728 maybe-maintainer-clean-libcpp \
1729 maybe-maintainer-clean-libdecnumber \
1730 maybe-maintainer-clean-libgui \
1731 maybe-maintainer-clean-libiberty \
1732 maybe-maintainer-clean-libtool \
1733 maybe-maintainer-clean-m4 \
1734 maybe-maintainer-clean-make \
1735 maybe-maintainer-clean-mmalloc \
1736 maybe-maintainer-clean-patch \
1737 maybe-maintainer-clean-perl \
1738 maybe-maintainer-clean-prms \
1739 maybe-maintainer-clean-rcs \
1740 maybe-maintainer-clean-readline \
1741 maybe-maintainer-clean-release \
1742 maybe-maintainer-clean-recode \
1743 maybe-maintainer-clean-sed \
1744 maybe-maintainer-clean-send-pr \
1745 maybe-maintainer-clean-shellutils \
1746 maybe-maintainer-clean-sid \
1747 maybe-maintainer-clean-sim \
1748 maybe-maintainer-clean-tar \
1749 maybe-maintainer-clean-texinfo \
1750 maybe-maintainer-clean-textutils \
1751 maybe-maintainer-clean-time \
1752 maybe-maintainer-clean-uudecode \
1753 maybe-maintainer-clean-wdiff \
1754 maybe-maintainer-clean-zip \
1755 maybe-maintainer-clean-zlib \
1756 maybe-maintainer-clean-gdb \
1757 maybe-maintainer-clean-expect \
1758 maybe-maintainer-clean-guile \
1759 maybe-maintainer-clean-tk \
1760 maybe-maintainer-clean-libtermcap \
1761 maybe-maintainer-clean-utils \
1762 maybe-maintainer-clean-gnattools
1764 .PHONY: maintainer-clean-target
1765 maintainer-clean-target: \
1766 maybe-maintainer-clean-target-libstdc++-v3 \
1767 maybe-maintainer-clean-target-libmudflap \
1768 maybe-maintainer-clean-target-libssp \
1769 maybe-maintainer-clean-target-newlib \
1770 maybe-maintainer-clean-target-libgfortran \
1771 maybe-maintainer-clean-target-libobjc \
1772 maybe-maintainer-clean-target-libtermcap \
1773 maybe-maintainer-clean-target-winsup \
1774 maybe-maintainer-clean-target-libgloss \
1775 maybe-maintainer-clean-target-libiberty \
1776 maybe-maintainer-clean-target-gperf \
1777 maybe-maintainer-clean-target-examples \
1778 maybe-maintainer-clean-target-libffi \
1779 maybe-maintainer-clean-target-libjava \
1780 maybe-maintainer-clean-target-zlib \
1781 maybe-maintainer-clean-target-boehm-gc \
1782 maybe-maintainer-clean-target-qthreads \
1783 maybe-maintainer-clean-target-rda \
1784 maybe-maintainer-clean-target-libada
1787 # Here are the targets which correspond to the do-X targets.
1789 .PHONY: info installcheck dvi html install-info
1790 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1791 .PHONY: local-clean local-distclean local-maintainer-clean
1792 info: do-info
1793 installcheck: do-installcheck
1794 dvi: do-dvi
1795 html: do-html
1797 # Make sure makeinfo is built before we do a `make info', if we're
1798 # in fact building texinfo.
1799 do-info: maybe-all-texinfo
1801 install-info: do-install-info dir.info
1802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1803 if [ -f dir.info ] ; then \
1804 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1805 else true ; fi
1807 local-clean:
1808 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1810 local-distclean:
1811 -rm -f Makefile config.status config.cache mh-frag mt-frag
1812 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1813 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1814 rm -rf $(TARGET_SUBDIR); \
1815 else true; fi
1816 -rm -rf $(BUILD_SUBDIR)
1817 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1818 rm -rf $(HOST_SUBDIR); \
1819 else true; fi
1820 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1821 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1822 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1823 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1824 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1826 local-maintainer-clean:
1827 @echo "This command is intended for maintainers to use;"
1828 @echo "it deletes files that may require special tools to rebuild."
1830 clean: do-clean local-clean
1831 mostlyclean: do-mostlyclean local-clean
1832 distclean: do-distclean local-clean local-distclean
1833 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1834 maintainer-clean: local-distclean
1835 realclean: maintainer-clean
1837 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1838 clean-target: clean-target-libgcc
1839 clean-target-libgcc:
1840 test ! -d gcc || (cd gcc && $(MAKE) $@)
1842 # Check target.
1844 .PHONY: check do-check
1845 check: do-check
1847 # Only include modules actually being configured and built.
1848 .PHONY: check-host
1849 check-host: \
1850 maybe-check-ash \
1851 maybe-check-autoconf \
1852 maybe-check-automake \
1853 maybe-check-bash \
1854 maybe-check-bfd \
1855 maybe-check-opcodes \
1856 maybe-check-binutils \
1857 maybe-check-bison \
1858 maybe-check-byacc \
1859 maybe-check-bzip2 \
1860 maybe-check-dejagnu \
1861 maybe-check-diff \
1862 maybe-check-dosutils \
1863 maybe-check-etc \
1864 maybe-check-fastjar \
1865 maybe-check-fileutils \
1866 maybe-check-findutils \
1867 maybe-check-find \
1868 maybe-check-fixincludes \
1869 maybe-check-flex \
1870 maybe-check-gas \
1871 maybe-check-gcc \
1872 maybe-check-gawk \
1873 maybe-check-gettext \
1874 maybe-check-gnuserv \
1875 maybe-check-gprof \
1876 maybe-check-gzip \
1877 maybe-check-hello \
1878 maybe-check-indent \
1879 maybe-check-intl \
1880 maybe-check-tcl \
1881 maybe-check-itcl \
1882 maybe-check-ld \
1883 maybe-check-libcpp \
1884 maybe-check-libdecnumber \
1885 maybe-check-libgui \
1886 maybe-check-libiberty \
1887 maybe-check-libtool \
1888 maybe-check-m4 \
1889 maybe-check-make \
1890 maybe-check-mmalloc \
1891 maybe-check-patch \
1892 maybe-check-perl \
1893 maybe-check-prms \
1894 maybe-check-rcs \
1895 maybe-check-readline \
1896 maybe-check-release \
1897 maybe-check-recode \
1898 maybe-check-sed \
1899 maybe-check-send-pr \
1900 maybe-check-shellutils \
1901 maybe-check-sid \
1902 maybe-check-sim \
1903 maybe-check-tar \
1904 maybe-check-texinfo \
1905 maybe-check-textutils \
1906 maybe-check-time \
1907 maybe-check-uudecode \
1908 maybe-check-wdiff \
1909 maybe-check-zip \
1910 maybe-check-zlib \
1911 maybe-check-gdb \
1912 maybe-check-expect \
1913 maybe-check-guile \
1914 maybe-check-tk \
1915 maybe-check-libtermcap \
1916 maybe-check-utils \
1917 maybe-check-gnattools
1919 .PHONY: check-target
1920 check-target: \
1921 maybe-check-target-libstdc++-v3 \
1922 maybe-check-target-libmudflap \
1923 maybe-check-target-libssp \
1924 maybe-check-target-newlib \
1925 maybe-check-target-libgfortran \
1926 maybe-check-target-libobjc \
1927 maybe-check-target-libtermcap \
1928 maybe-check-target-winsup \
1929 maybe-check-target-libgloss \
1930 maybe-check-target-libiberty \
1931 maybe-check-target-gperf \
1932 maybe-check-target-examples \
1933 maybe-check-target-libffi \
1934 maybe-check-target-libjava \
1935 maybe-check-target-zlib \
1936 maybe-check-target-boehm-gc \
1937 maybe-check-target-qthreads \
1938 maybe-check-target-rda \
1939 maybe-check-target-libada
1941 do-check:
1942 @$(unstage)
1943 @r=`${PWD_COMMAND}`; export r; \
1944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1945 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1946 @$(stage)
1948 # Automated reporting of test results.
1950 warning.log: build.log
1951 $(srcdir)/contrib/warn_summary build.log > $@
1953 mail-report.log:
1954 if test x'$(BOOT_CFLAGS)' != x''; then \
1955 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1956 fi; \
1957 $(srcdir)/contrib/test_summary -t >$@
1958 chmod +x $@
1959 echo If you really want to send e-mail, run ./$@ now
1961 mail-report-with-warnings.log: warning.log
1962 if test x'$(BOOT_CFLAGS)' != x''; then \
1963 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1964 fi; \
1965 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1966 chmod +x $@
1967 echo If you really want to send e-mail, run ./$@ now
1969 # Installation targets.
1971 .PHONY: install uninstall
1972 install:
1973 @$(unstage)
1974 @r=`${PWD_COMMAND}`; export r; \
1975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1976 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
1977 @$(stage)
1979 .PHONY: install-host-nogcc
1980 install-host-nogcc: \
1981 maybe-install-ash \
1982 maybe-install-autoconf \
1983 maybe-install-automake \
1984 maybe-install-bash \
1985 maybe-install-bfd \
1986 maybe-install-opcodes \
1987 maybe-install-binutils \
1988 maybe-install-bison \
1989 maybe-install-byacc \
1990 maybe-install-bzip2 \
1991 maybe-install-dejagnu \
1992 maybe-install-diff \
1993 maybe-install-dosutils \
1994 maybe-install-etc \
1995 maybe-install-fastjar \
1996 maybe-install-fileutils \
1997 maybe-install-findutils \
1998 maybe-install-find \
1999 maybe-install-fixincludes \
2000 maybe-install-flex \
2001 maybe-install-gas \
2002 maybe-install-gawk \
2003 maybe-install-gettext \
2004 maybe-install-gnuserv \
2005 maybe-install-gprof \
2006 maybe-install-gzip \
2007 maybe-install-hello \
2008 maybe-install-indent \
2009 maybe-install-intl \
2010 maybe-install-tcl \
2011 maybe-install-itcl \
2012 maybe-install-ld \
2013 maybe-install-libcpp \
2014 maybe-install-libdecnumber \
2015 maybe-install-libgui \
2016 maybe-install-libiberty \
2017 maybe-install-libtool \
2018 maybe-install-m4 \
2019 maybe-install-make \
2020 maybe-install-mmalloc \
2021 maybe-install-patch \
2022 maybe-install-perl \
2023 maybe-install-prms \
2024 maybe-install-rcs \
2025 maybe-install-readline \
2026 maybe-install-release \
2027 maybe-install-recode \
2028 maybe-install-sed \
2029 maybe-install-send-pr \
2030 maybe-install-shellutils \
2031 maybe-install-sid \
2032 maybe-install-sim \
2033 maybe-install-tar \
2034 maybe-install-texinfo \
2035 maybe-install-textutils \
2036 maybe-install-time \
2037 maybe-install-uudecode \
2038 maybe-install-wdiff \
2039 maybe-install-zip \
2040 maybe-install-zlib \
2041 maybe-install-gdb \
2042 maybe-install-expect \
2043 maybe-install-guile \
2044 maybe-install-tk \
2045 maybe-install-libtermcap \
2046 maybe-install-utils \
2047 maybe-install-gnattools
2049 .PHONY: install-host
2050 install-host: \
2051 maybe-install-ash \
2052 maybe-install-autoconf \
2053 maybe-install-automake \
2054 maybe-install-bash \
2055 maybe-install-bfd \
2056 maybe-install-opcodes \
2057 maybe-install-binutils \
2058 maybe-install-bison \
2059 maybe-install-byacc \
2060 maybe-install-bzip2 \
2061 maybe-install-dejagnu \
2062 maybe-install-diff \
2063 maybe-install-dosutils \
2064 maybe-install-etc \
2065 maybe-install-fastjar \
2066 maybe-install-fileutils \
2067 maybe-install-findutils \
2068 maybe-install-find \
2069 maybe-install-fixincludes \
2070 maybe-install-flex \
2071 maybe-install-gas \
2072 maybe-install-gcc \
2073 maybe-install-gawk \
2074 maybe-install-gettext \
2075 maybe-install-gnuserv \
2076 maybe-install-gprof \
2077 maybe-install-gzip \
2078 maybe-install-hello \
2079 maybe-install-indent \
2080 maybe-install-intl \
2081 maybe-install-tcl \
2082 maybe-install-itcl \
2083 maybe-install-ld \
2084 maybe-install-libcpp \
2085 maybe-install-libdecnumber \
2086 maybe-install-libgui \
2087 maybe-install-libiberty \
2088 maybe-install-libtool \
2089 maybe-install-m4 \
2090 maybe-install-make \
2091 maybe-install-mmalloc \
2092 maybe-install-patch \
2093 maybe-install-perl \
2094 maybe-install-prms \
2095 maybe-install-rcs \
2096 maybe-install-readline \
2097 maybe-install-release \
2098 maybe-install-recode \
2099 maybe-install-sed \
2100 maybe-install-send-pr \
2101 maybe-install-shellutils \
2102 maybe-install-sid \
2103 maybe-install-sim \
2104 maybe-install-tar \
2105 maybe-install-texinfo \
2106 maybe-install-textutils \
2107 maybe-install-time \
2108 maybe-install-uudecode \
2109 maybe-install-wdiff \
2110 maybe-install-zip \
2111 maybe-install-zlib \
2112 maybe-install-gdb \
2113 maybe-install-expect \
2114 maybe-install-guile \
2115 maybe-install-tk \
2116 maybe-install-libtermcap \
2117 maybe-install-utils \
2118 maybe-install-gnattools
2120 .PHONY: install-target
2121 install-target: \
2122 maybe-install-target-libstdc++-v3 \
2123 maybe-install-target-libmudflap \
2124 maybe-install-target-libssp \
2125 maybe-install-target-newlib \
2126 maybe-install-target-libgfortran \
2127 maybe-install-target-libobjc \
2128 maybe-install-target-libtermcap \
2129 maybe-install-target-winsup \
2130 maybe-install-target-libgloss \
2131 maybe-install-target-libiberty \
2132 maybe-install-target-gperf \
2133 maybe-install-target-examples \
2134 maybe-install-target-libffi \
2135 maybe-install-target-libjava \
2136 maybe-install-target-zlib \
2137 maybe-install-target-boehm-gc \
2138 maybe-install-target-qthreads \
2139 maybe-install-target-rda \
2140 maybe-install-target-libada
2142 uninstall:
2143 @echo "the uninstall target is not supported in this tree"
2145 .PHONY: install.all
2146 install.all: install-no-fixedincludes
2147 @if [ -f ./gcc/Makefile ] ; then \
2148 r=`${PWD_COMMAND}` ; export r ; \
2149 $(HOST_EXPORTS) \
2150 (cd ./gcc && \
2151 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2152 else \
2153 true ; \
2156 # install-no-fixedincludes is used because Cygnus can not distribute
2157 # the fixed header files.
2158 .PHONY: install-no-fixedincludes
2159 install-no-fixedincludes: installdirs install-host-nogcc \
2160 install-target gcc-no-fixedincludes
2162 ### other supporting targets
2164 MAKEDIRS= \
2165 $(DESTDIR)$(prefix) \
2166 $(DESTDIR)$(exec_prefix)
2167 .PHONY: installdirs
2168 installdirs: mkinstalldirs
2169 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2171 dir.info: do-install-info
2172 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2173 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2174 mv -f dir.info.new dir.info ; \
2175 else true ; \
2178 dist:
2179 @echo "Building a full distribution of this tree isn't done"
2180 @echo "via 'make dist'. Check out the etc/ subdirectory"
2182 etags tags: TAGS
2184 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2185 # ability to use several tags files at once, so there is probably no need
2186 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2187 # (if we felt like it) have this Makefile write a piece of elisp which
2188 # the user could load to tell emacs19 where all the TAGS files we just
2189 # built are.
2190 TAGS: do-TAGS
2192 # ------------------------------------
2193 # Macros for configure and all targets
2194 # ------------------------------------
2200 # --------------------------------------
2201 # Modules which run on the build machine
2202 # --------------------------------------
2205 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2206 maybe-configure-build-libiberty:
2207 @if build-libiberty
2208 maybe-configure-build-libiberty: configure-build-libiberty
2209 configure-build-libiberty:
2210 @$(unstage)
2211 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2212 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2213 r=`${PWD_COMMAND}`; export r; \
2214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2215 $(BUILD_EXPORTS) \
2216 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2217 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2218 case $(srcdir) in \
2219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2220 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2222 esac; \
2223 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2224 libsrcdir="$$s/libiberty"; \
2225 rm -f no-such-file || : ; \
2226 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2227 $(BUILD_CONFIGARGS) $${srcdiroption} \
2228 || exit 1
2229 @endif build-libiberty
2235 .PHONY: all-build-libiberty maybe-all-build-libiberty
2236 maybe-all-build-libiberty:
2237 @if build-libiberty
2238 TARGET-build-libiberty=all
2239 maybe-all-build-libiberty: all-build-libiberty
2240 all-build-libiberty: configure-build-libiberty
2241 @$(unstage)
2242 @r=`${PWD_COMMAND}`; export r; \
2243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2244 $(BUILD_EXPORTS) \
2245 (cd $(BUILD_SUBDIR)/libiberty && \
2246 $(MAKE) $(TARGET-build-libiberty))
2247 @endif build-libiberty
2253 .PHONY: configure-build-bison maybe-configure-build-bison
2254 maybe-configure-build-bison:
2255 @if build-bison
2256 maybe-configure-build-bison: configure-build-bison
2257 configure-build-bison:
2258 @$(unstage)
2259 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2260 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2261 r=`${PWD_COMMAND}`; export r; \
2262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2263 $(BUILD_EXPORTS) \
2264 echo Configuring in $(BUILD_SUBDIR)/bison; \
2265 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2266 case $(srcdir) in \
2267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2268 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2270 esac; \
2271 srcdiroption="--srcdir=$${topdir}/bison"; \
2272 libsrcdir="$$s/bison"; \
2273 rm -f no-such-file || : ; \
2274 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2275 $(BUILD_CONFIGARGS) $${srcdiroption} \
2276 || exit 1
2277 @endif build-bison
2283 .PHONY: all-build-bison maybe-all-build-bison
2284 maybe-all-build-bison:
2285 @if build-bison
2286 TARGET-build-bison=all
2287 maybe-all-build-bison: all-build-bison
2288 all-build-bison: configure-build-bison
2289 @$(unstage)
2290 @r=`${PWD_COMMAND}`; export r; \
2291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2292 $(BUILD_EXPORTS) \
2293 (cd $(BUILD_SUBDIR)/bison && \
2294 $(MAKE) $(TARGET-build-bison))
2295 @endif build-bison
2301 .PHONY: configure-build-byacc maybe-configure-build-byacc
2302 maybe-configure-build-byacc:
2303 @if build-byacc
2304 maybe-configure-build-byacc: configure-build-byacc
2305 configure-build-byacc:
2306 @$(unstage)
2307 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2308 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2309 r=`${PWD_COMMAND}`; export r; \
2310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2311 $(BUILD_EXPORTS) \
2312 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2313 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2314 case $(srcdir) in \
2315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2316 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2318 esac; \
2319 srcdiroption="--srcdir=$${topdir}/byacc"; \
2320 libsrcdir="$$s/byacc"; \
2321 rm -f no-such-file || : ; \
2322 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2323 $(BUILD_CONFIGARGS) $${srcdiroption} \
2324 || exit 1
2325 @endif build-byacc
2331 .PHONY: all-build-byacc maybe-all-build-byacc
2332 maybe-all-build-byacc:
2333 @if build-byacc
2334 TARGET-build-byacc=all
2335 maybe-all-build-byacc: all-build-byacc
2336 all-build-byacc: configure-build-byacc
2337 @$(unstage)
2338 @r=`${PWD_COMMAND}`; export r; \
2339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2340 $(BUILD_EXPORTS) \
2341 (cd $(BUILD_SUBDIR)/byacc && \
2342 $(MAKE) $(TARGET-build-byacc))
2343 @endif build-byacc
2349 .PHONY: configure-build-flex maybe-configure-build-flex
2350 maybe-configure-build-flex:
2351 @if build-flex
2352 maybe-configure-build-flex: configure-build-flex
2353 configure-build-flex:
2354 @$(unstage)
2355 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2356 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2357 r=`${PWD_COMMAND}`; export r; \
2358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2359 $(BUILD_EXPORTS) \
2360 echo Configuring in $(BUILD_SUBDIR)/flex; \
2361 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2362 case $(srcdir) in \
2363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2364 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2366 esac; \
2367 srcdiroption="--srcdir=$${topdir}/flex"; \
2368 libsrcdir="$$s/flex"; \
2369 rm -f no-such-file || : ; \
2370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2371 $(BUILD_CONFIGARGS) $${srcdiroption} \
2372 || exit 1
2373 @endif build-flex
2379 .PHONY: all-build-flex maybe-all-build-flex
2380 maybe-all-build-flex:
2381 @if build-flex
2382 TARGET-build-flex=all
2383 maybe-all-build-flex: all-build-flex
2384 all-build-flex: configure-build-flex
2385 @$(unstage)
2386 @r=`${PWD_COMMAND}`; export r; \
2387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2388 $(BUILD_EXPORTS) \
2389 (cd $(BUILD_SUBDIR)/flex && \
2390 $(MAKE) $(TARGET-build-flex))
2391 @endif build-flex
2397 .PHONY: configure-build-m4 maybe-configure-build-m4
2398 maybe-configure-build-m4:
2399 @if build-m4
2400 maybe-configure-build-m4: configure-build-m4
2401 configure-build-m4:
2402 @$(unstage)
2403 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2404 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2405 r=`${PWD_COMMAND}`; export r; \
2406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2407 $(BUILD_EXPORTS) \
2408 echo Configuring in $(BUILD_SUBDIR)/m4; \
2409 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2410 case $(srcdir) in \
2411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2412 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2414 esac; \
2415 srcdiroption="--srcdir=$${topdir}/m4"; \
2416 libsrcdir="$$s/m4"; \
2417 rm -f no-such-file || : ; \
2418 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2419 $(BUILD_CONFIGARGS) $${srcdiroption} \
2420 || exit 1
2421 @endif build-m4
2427 .PHONY: all-build-m4 maybe-all-build-m4
2428 maybe-all-build-m4:
2429 @if build-m4
2430 TARGET-build-m4=all
2431 maybe-all-build-m4: all-build-m4
2432 all-build-m4: configure-build-m4
2433 @$(unstage)
2434 @r=`${PWD_COMMAND}`; export r; \
2435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2436 $(BUILD_EXPORTS) \
2437 (cd $(BUILD_SUBDIR)/m4 && \
2438 $(MAKE) $(TARGET-build-m4))
2439 @endif build-m4
2445 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2446 maybe-configure-build-texinfo:
2447 @if build-texinfo
2448 maybe-configure-build-texinfo: configure-build-texinfo
2449 configure-build-texinfo:
2450 @$(unstage)
2451 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2452 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2453 r=`${PWD_COMMAND}`; export r; \
2454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2455 $(BUILD_EXPORTS) \
2456 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2457 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2458 case $(srcdir) in \
2459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2460 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2462 esac; \
2463 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2464 libsrcdir="$$s/texinfo"; \
2465 rm -f no-such-file || : ; \
2466 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2467 $(BUILD_CONFIGARGS) $${srcdiroption} \
2468 || exit 1
2469 @endif build-texinfo
2475 .PHONY: all-build-texinfo maybe-all-build-texinfo
2476 maybe-all-build-texinfo:
2477 @if build-texinfo
2478 TARGET-build-texinfo=all
2479 maybe-all-build-texinfo: all-build-texinfo
2480 all-build-texinfo: configure-build-texinfo
2481 @$(unstage)
2482 @r=`${PWD_COMMAND}`; export r; \
2483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2484 $(BUILD_EXPORTS) \
2485 (cd $(BUILD_SUBDIR)/texinfo && \
2486 $(MAKE) $(TARGET-build-texinfo))
2487 @endif build-texinfo
2493 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2494 maybe-configure-build-fixincludes:
2495 @if build-fixincludes
2496 maybe-configure-build-fixincludes: configure-build-fixincludes
2497 configure-build-fixincludes:
2498 @$(unstage)
2499 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2500 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2501 r=`${PWD_COMMAND}`; export r; \
2502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2503 $(BUILD_EXPORTS) \
2504 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2505 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2506 case $(srcdir) in \
2507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2508 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2510 esac; \
2511 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2512 libsrcdir="$$s/fixincludes"; \
2513 rm -f no-such-file || : ; \
2514 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2515 $(BUILD_CONFIGARGS) $${srcdiroption} \
2516 || exit 1
2517 @endif build-fixincludes
2523 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2524 maybe-all-build-fixincludes:
2525 @if build-fixincludes
2526 TARGET-build-fixincludes=all
2527 maybe-all-build-fixincludes: all-build-fixincludes
2528 all-build-fixincludes: configure-build-fixincludes
2529 @$(unstage)
2530 @r=`${PWD_COMMAND}`; export r; \
2531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2532 $(BUILD_EXPORTS) \
2533 (cd $(BUILD_SUBDIR)/fixincludes && \
2534 $(MAKE) $(TARGET-build-fixincludes))
2535 @endif build-fixincludes
2541 # --------------------------------------
2542 # Modules which run on the host machine
2543 # --------------------------------------
2546 .PHONY: configure-ash maybe-configure-ash
2547 maybe-configure-ash:
2548 @if ash
2549 maybe-configure-ash: configure-ash
2550 configure-ash:
2551 @$(unstage)
2552 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2554 r=`${PWD_COMMAND}`; export r; \
2555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2556 $(HOST_EXPORTS) \
2557 echo Configuring in $(HOST_SUBDIR)/ash; \
2558 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2559 case $(srcdir) in \
2560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2561 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2563 esac; \
2564 srcdiroption="--srcdir=$${topdir}/ash"; \
2565 libsrcdir="$$s/ash"; \
2566 $(SHELL) $${libsrcdir}/configure \
2567 $(HOST_CONFIGARGS) $${srcdiroption} \
2568 || exit 1
2569 @endif ash
2575 .PHONY: all-ash maybe-all-ash
2576 maybe-all-ash:
2577 @if ash
2578 TARGET-ash=all
2579 maybe-all-ash: all-ash
2580 all-ash: configure-ash
2581 @$(unstage)
2582 @r=`${PWD_COMMAND}`; export r; \
2583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2584 $(HOST_EXPORTS) \
2585 (cd $(HOST_SUBDIR)/ash && \
2586 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2587 @endif ash
2592 .PHONY: check-ash maybe-check-ash
2593 maybe-check-ash:
2594 @if ash
2595 maybe-check-ash: check-ash
2597 check-ash:
2598 @$(unstage)
2599 @r=`${PWD_COMMAND}`; export r; \
2600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2601 $(HOST_EXPORTS) \
2602 (cd $(HOST_SUBDIR)/ash && \
2603 $(MAKE) $(FLAGS_TO_PASS) check)
2605 @endif ash
2607 .PHONY: install-ash maybe-install-ash
2608 maybe-install-ash:
2609 @if ash
2610 maybe-install-ash: install-ash
2612 install-ash: installdirs
2613 @$(unstage)
2614 @r=`${PWD_COMMAND}`; export r; \
2615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2616 $(HOST_EXPORTS) \
2617 (cd $(HOST_SUBDIR)/ash && \
2618 $(MAKE) $(FLAGS_TO_PASS) install)
2620 @endif ash
2622 # Other targets (info, dvi, etc.)
2624 .PHONY: maybe-info-ash info-ash
2625 maybe-info-ash:
2626 @if ash
2627 maybe-info-ash: info-ash
2629 info-ash: \
2630 configure-ash
2631 @$(unstage)
2632 @[ -f ./ash/Makefile ] || exit 0; \
2633 r=`${PWD_COMMAND}`; export r; \
2634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2635 $(HOST_EXPORTS) \
2636 for flag in $(EXTRA_HOST_FLAGS) ; do \
2637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2638 done; \
2639 echo "Doing info in ash" ; \
2640 (cd $(HOST_SUBDIR)/ash && \
2641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2643 "RANLIB=$${RANLIB}" \
2644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2645 info) \
2646 || exit 1
2648 @endif ash
2650 .PHONY: maybe-dvi-ash dvi-ash
2651 maybe-dvi-ash:
2652 @if ash
2653 maybe-dvi-ash: dvi-ash
2655 dvi-ash: \
2656 configure-ash
2657 @$(unstage)
2658 @[ -f ./ash/Makefile ] || exit 0; \
2659 r=`${PWD_COMMAND}`; export r; \
2660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2661 $(HOST_EXPORTS) \
2662 for flag in $(EXTRA_HOST_FLAGS) ; do \
2663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2664 done; \
2665 echo "Doing dvi in ash" ; \
2666 (cd $(HOST_SUBDIR)/ash && \
2667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2669 "RANLIB=$${RANLIB}" \
2670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2671 dvi) \
2672 || exit 1
2674 @endif ash
2676 .PHONY: maybe-html-ash html-ash
2677 maybe-html-ash:
2678 @if ash
2679 maybe-html-ash: html-ash
2681 html-ash: \
2682 configure-ash
2683 @$(unstage)
2684 @[ -f ./ash/Makefile ] || exit 0; \
2685 r=`${PWD_COMMAND}`; export r; \
2686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2687 $(HOST_EXPORTS) \
2688 for flag in $(EXTRA_HOST_FLAGS) ; do \
2689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2690 done; \
2691 echo "Doing html in ash" ; \
2692 (cd $(HOST_SUBDIR)/ash && \
2693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2695 "RANLIB=$${RANLIB}" \
2696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2697 html) \
2698 || exit 1
2700 @endif ash
2702 .PHONY: maybe-TAGS-ash TAGS-ash
2703 maybe-TAGS-ash:
2704 @if ash
2705 maybe-TAGS-ash: TAGS-ash
2707 TAGS-ash: \
2708 configure-ash
2709 @$(unstage)
2710 @[ -f ./ash/Makefile ] || exit 0; \
2711 r=`${PWD_COMMAND}`; export r; \
2712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2713 $(HOST_EXPORTS) \
2714 for flag in $(EXTRA_HOST_FLAGS) ; do \
2715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2716 done; \
2717 echo "Doing TAGS in ash" ; \
2718 (cd $(HOST_SUBDIR)/ash && \
2719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2721 "RANLIB=$${RANLIB}" \
2722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2723 TAGS) \
2724 || exit 1
2726 @endif ash
2728 .PHONY: maybe-install-info-ash install-info-ash
2729 maybe-install-info-ash:
2730 @if ash
2731 maybe-install-info-ash: install-info-ash
2733 install-info-ash: \
2734 configure-ash \
2735 info-ash
2736 @$(unstage)
2737 @[ -f ./ash/Makefile ] || exit 0; \
2738 r=`${PWD_COMMAND}`; export r; \
2739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2740 $(HOST_EXPORTS) \
2741 for flag in $(EXTRA_HOST_FLAGS) ; do \
2742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2743 done; \
2744 echo "Doing install-info in ash" ; \
2745 (cd $(HOST_SUBDIR)/ash && \
2746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2748 "RANLIB=$${RANLIB}" \
2749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2750 install-info) \
2751 || exit 1
2753 @endif ash
2755 .PHONY: maybe-installcheck-ash installcheck-ash
2756 maybe-installcheck-ash:
2757 @if ash
2758 maybe-installcheck-ash: installcheck-ash
2760 installcheck-ash: \
2761 configure-ash
2762 @$(unstage)
2763 @[ -f ./ash/Makefile ] || exit 0; \
2764 r=`${PWD_COMMAND}`; export r; \
2765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2766 $(HOST_EXPORTS) \
2767 for flag in $(EXTRA_HOST_FLAGS) ; do \
2768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2769 done; \
2770 echo "Doing installcheck in ash" ; \
2771 (cd $(HOST_SUBDIR)/ash && \
2772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2774 "RANLIB=$${RANLIB}" \
2775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2776 installcheck) \
2777 || exit 1
2779 @endif ash
2781 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2782 maybe-mostlyclean-ash:
2783 @if ash
2784 maybe-mostlyclean-ash: mostlyclean-ash
2786 mostlyclean-ash:
2787 @$(unstage)
2788 @[ -f ./ash/Makefile ] || exit 0; \
2789 r=`${PWD_COMMAND}`; export r; \
2790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2791 $(HOST_EXPORTS) \
2792 for flag in $(EXTRA_HOST_FLAGS) ; do \
2793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2794 done; \
2795 echo "Doing mostlyclean in ash" ; \
2796 (cd $(HOST_SUBDIR)/ash && \
2797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2799 "RANLIB=$${RANLIB}" \
2800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2801 mostlyclean) \
2802 || exit 1
2804 @endif ash
2806 .PHONY: maybe-clean-ash clean-ash
2807 maybe-clean-ash:
2808 @if ash
2809 maybe-clean-ash: clean-ash
2811 clean-ash:
2812 @$(unstage)
2813 @[ -f ./ash/Makefile ] || exit 0; \
2814 r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2816 $(HOST_EXPORTS) \
2817 for flag in $(EXTRA_HOST_FLAGS) ; do \
2818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2819 done; \
2820 echo "Doing clean in ash" ; \
2821 (cd $(HOST_SUBDIR)/ash && \
2822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2824 "RANLIB=$${RANLIB}" \
2825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2826 clean) \
2827 || exit 1
2829 @endif ash
2831 .PHONY: maybe-distclean-ash distclean-ash
2832 maybe-distclean-ash:
2833 @if ash
2834 maybe-distclean-ash: distclean-ash
2836 distclean-ash:
2837 @$(unstage)
2838 @[ -f ./ash/Makefile ] || exit 0; \
2839 r=`${PWD_COMMAND}`; export r; \
2840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2841 $(HOST_EXPORTS) \
2842 for flag in $(EXTRA_HOST_FLAGS) ; do \
2843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2844 done; \
2845 echo "Doing distclean in ash" ; \
2846 (cd $(HOST_SUBDIR)/ash && \
2847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2849 "RANLIB=$${RANLIB}" \
2850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2851 distclean) \
2852 || exit 1
2854 @endif ash
2856 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2857 maybe-maintainer-clean-ash:
2858 @if ash
2859 maybe-maintainer-clean-ash: maintainer-clean-ash
2861 maintainer-clean-ash:
2862 @$(unstage)
2863 @[ -f ./ash/Makefile ] || exit 0; \
2864 r=`${PWD_COMMAND}`; export r; \
2865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2866 $(HOST_EXPORTS) \
2867 for flag in $(EXTRA_HOST_FLAGS) ; do \
2868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2869 done; \
2870 echo "Doing maintainer-clean in ash" ; \
2871 (cd $(HOST_SUBDIR)/ash && \
2872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2874 "RANLIB=$${RANLIB}" \
2875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2876 maintainer-clean) \
2877 || exit 1
2879 @endif ash
2883 .PHONY: configure-autoconf maybe-configure-autoconf
2884 maybe-configure-autoconf:
2885 @if autoconf
2886 maybe-configure-autoconf: configure-autoconf
2887 configure-autoconf:
2888 @$(unstage)
2889 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2891 r=`${PWD_COMMAND}`; export r; \
2892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2893 $(HOST_EXPORTS) \
2894 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2895 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2896 case $(srcdir) in \
2897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2898 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2900 esac; \
2901 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2902 libsrcdir="$$s/autoconf"; \
2903 $(SHELL) $${libsrcdir}/configure \
2904 $(HOST_CONFIGARGS) $${srcdiroption} \
2905 || exit 1
2906 @endif autoconf
2912 .PHONY: all-autoconf maybe-all-autoconf
2913 maybe-all-autoconf:
2914 @if autoconf
2915 TARGET-autoconf=all
2916 maybe-all-autoconf: all-autoconf
2917 all-autoconf: configure-autoconf
2918 @$(unstage)
2919 @r=`${PWD_COMMAND}`; export r; \
2920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2921 $(HOST_EXPORTS) \
2922 (cd $(HOST_SUBDIR)/autoconf && \
2923 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2924 @endif autoconf
2929 .PHONY: check-autoconf maybe-check-autoconf
2930 maybe-check-autoconf:
2931 @if autoconf
2932 maybe-check-autoconf: check-autoconf
2934 check-autoconf:
2935 @$(unstage)
2936 @r=`${PWD_COMMAND}`; export r; \
2937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2938 $(HOST_EXPORTS) \
2939 (cd $(HOST_SUBDIR)/autoconf && \
2940 $(MAKE) $(FLAGS_TO_PASS) check)
2942 @endif autoconf
2944 .PHONY: install-autoconf maybe-install-autoconf
2945 maybe-install-autoconf:
2946 @if autoconf
2947 maybe-install-autoconf: install-autoconf
2949 install-autoconf: installdirs
2950 @$(unstage)
2951 @r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953 $(HOST_EXPORTS) \
2954 (cd $(HOST_SUBDIR)/autoconf && \
2955 $(MAKE) $(FLAGS_TO_PASS) install)
2957 @endif autoconf
2959 # Other targets (info, dvi, etc.)
2961 .PHONY: maybe-info-autoconf info-autoconf
2962 maybe-info-autoconf:
2963 @if autoconf
2964 maybe-info-autoconf: info-autoconf
2966 info-autoconf: \
2967 configure-autoconf
2968 @$(unstage)
2969 @[ -f ./autoconf/Makefile ] || exit 0; \
2970 r=`${PWD_COMMAND}`; export r; \
2971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2972 $(HOST_EXPORTS) \
2973 for flag in $(EXTRA_HOST_FLAGS) ; do \
2974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2975 done; \
2976 echo "Doing info in autoconf" ; \
2977 (cd $(HOST_SUBDIR)/autoconf && \
2978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2980 "RANLIB=$${RANLIB}" \
2981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2982 info) \
2983 || exit 1
2985 @endif autoconf
2987 .PHONY: maybe-dvi-autoconf dvi-autoconf
2988 maybe-dvi-autoconf:
2989 @if autoconf
2990 maybe-dvi-autoconf: dvi-autoconf
2992 dvi-autoconf: \
2993 configure-autoconf
2994 @$(unstage)
2995 @[ -f ./autoconf/Makefile ] || exit 0; \
2996 r=`${PWD_COMMAND}`; export r; \
2997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2998 $(HOST_EXPORTS) \
2999 for flag in $(EXTRA_HOST_FLAGS) ; do \
3000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3001 done; \
3002 echo "Doing dvi in autoconf" ; \
3003 (cd $(HOST_SUBDIR)/autoconf && \
3004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3006 "RANLIB=$${RANLIB}" \
3007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3008 dvi) \
3009 || exit 1
3011 @endif autoconf
3013 .PHONY: maybe-html-autoconf html-autoconf
3014 maybe-html-autoconf:
3015 @if autoconf
3016 maybe-html-autoconf: html-autoconf
3018 html-autoconf: \
3019 configure-autoconf
3020 @$(unstage)
3021 @[ -f ./autoconf/Makefile ] || exit 0; \
3022 r=`${PWD_COMMAND}`; export r; \
3023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 $(HOST_EXPORTS) \
3025 for flag in $(EXTRA_HOST_FLAGS) ; do \
3026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3027 done; \
3028 echo "Doing html in autoconf" ; \
3029 (cd $(HOST_SUBDIR)/autoconf && \
3030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3032 "RANLIB=$${RANLIB}" \
3033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3034 html) \
3035 || exit 1
3037 @endif autoconf
3039 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3040 maybe-TAGS-autoconf:
3041 @if autoconf
3042 maybe-TAGS-autoconf: TAGS-autoconf
3044 TAGS-autoconf: \
3045 configure-autoconf
3046 @$(unstage)
3047 @[ -f ./autoconf/Makefile ] || exit 0; \
3048 r=`${PWD_COMMAND}`; export r; \
3049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3050 $(HOST_EXPORTS) \
3051 for flag in $(EXTRA_HOST_FLAGS) ; do \
3052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3053 done; \
3054 echo "Doing TAGS in autoconf" ; \
3055 (cd $(HOST_SUBDIR)/autoconf && \
3056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3058 "RANLIB=$${RANLIB}" \
3059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3060 TAGS) \
3061 || exit 1
3063 @endif autoconf
3065 .PHONY: maybe-install-info-autoconf install-info-autoconf
3066 maybe-install-info-autoconf:
3067 @if autoconf
3068 maybe-install-info-autoconf: install-info-autoconf
3070 install-info-autoconf: \
3071 configure-autoconf \
3072 info-autoconf
3073 @$(unstage)
3074 @[ -f ./autoconf/Makefile ] || exit 0; \
3075 r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3077 $(HOST_EXPORTS) \
3078 for flag in $(EXTRA_HOST_FLAGS) ; do \
3079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3080 done; \
3081 echo "Doing install-info in autoconf" ; \
3082 (cd $(HOST_SUBDIR)/autoconf && \
3083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3085 "RANLIB=$${RANLIB}" \
3086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3087 install-info) \
3088 || exit 1
3090 @endif autoconf
3092 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3093 maybe-installcheck-autoconf:
3094 @if autoconf
3095 maybe-installcheck-autoconf: installcheck-autoconf
3097 installcheck-autoconf: \
3098 configure-autoconf
3099 @$(unstage)
3100 @[ -f ./autoconf/Makefile ] || exit 0; \
3101 r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 $(HOST_EXPORTS) \
3104 for flag in $(EXTRA_HOST_FLAGS) ; do \
3105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3106 done; \
3107 echo "Doing installcheck in autoconf" ; \
3108 (cd $(HOST_SUBDIR)/autoconf && \
3109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3111 "RANLIB=$${RANLIB}" \
3112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3113 installcheck) \
3114 || exit 1
3116 @endif autoconf
3118 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3119 maybe-mostlyclean-autoconf:
3120 @if autoconf
3121 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3123 mostlyclean-autoconf:
3124 @$(unstage)
3125 @[ -f ./autoconf/Makefile ] || exit 0; \
3126 r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3128 $(HOST_EXPORTS) \
3129 for flag in $(EXTRA_HOST_FLAGS) ; do \
3130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3131 done; \
3132 echo "Doing mostlyclean in autoconf" ; \
3133 (cd $(HOST_SUBDIR)/autoconf && \
3134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3136 "RANLIB=$${RANLIB}" \
3137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3138 mostlyclean) \
3139 || exit 1
3141 @endif autoconf
3143 .PHONY: maybe-clean-autoconf clean-autoconf
3144 maybe-clean-autoconf:
3145 @if autoconf
3146 maybe-clean-autoconf: clean-autoconf
3148 clean-autoconf:
3149 @$(unstage)
3150 @[ -f ./autoconf/Makefile ] || exit 0; \
3151 r=`${PWD_COMMAND}`; export r; \
3152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3153 $(HOST_EXPORTS) \
3154 for flag in $(EXTRA_HOST_FLAGS) ; do \
3155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3156 done; \
3157 echo "Doing clean in autoconf" ; \
3158 (cd $(HOST_SUBDIR)/autoconf && \
3159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3161 "RANLIB=$${RANLIB}" \
3162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3163 clean) \
3164 || exit 1
3166 @endif autoconf
3168 .PHONY: maybe-distclean-autoconf distclean-autoconf
3169 maybe-distclean-autoconf:
3170 @if autoconf
3171 maybe-distclean-autoconf: distclean-autoconf
3173 distclean-autoconf:
3174 @$(unstage)
3175 @[ -f ./autoconf/Makefile ] || exit 0; \
3176 r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 $(HOST_EXPORTS) \
3179 for flag in $(EXTRA_HOST_FLAGS) ; do \
3180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3181 done; \
3182 echo "Doing distclean in autoconf" ; \
3183 (cd $(HOST_SUBDIR)/autoconf && \
3184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3186 "RANLIB=$${RANLIB}" \
3187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3188 distclean) \
3189 || exit 1
3191 @endif autoconf
3193 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3194 maybe-maintainer-clean-autoconf:
3195 @if autoconf
3196 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3198 maintainer-clean-autoconf:
3199 @$(unstage)
3200 @[ -f ./autoconf/Makefile ] || exit 0; \
3201 r=`${PWD_COMMAND}`; export r; \
3202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3203 $(HOST_EXPORTS) \
3204 for flag in $(EXTRA_HOST_FLAGS) ; do \
3205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3206 done; \
3207 echo "Doing maintainer-clean in autoconf" ; \
3208 (cd $(HOST_SUBDIR)/autoconf && \
3209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3211 "RANLIB=$${RANLIB}" \
3212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3213 maintainer-clean) \
3214 || exit 1
3216 @endif autoconf
3220 .PHONY: configure-automake maybe-configure-automake
3221 maybe-configure-automake:
3222 @if automake
3223 maybe-configure-automake: configure-automake
3224 configure-automake:
3225 @$(unstage)
3226 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3228 r=`${PWD_COMMAND}`; export r; \
3229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3230 $(HOST_EXPORTS) \
3231 echo Configuring in $(HOST_SUBDIR)/automake; \
3232 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3233 case $(srcdir) in \
3234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3235 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3237 esac; \
3238 srcdiroption="--srcdir=$${topdir}/automake"; \
3239 libsrcdir="$$s/automake"; \
3240 $(SHELL) $${libsrcdir}/configure \
3241 $(HOST_CONFIGARGS) $${srcdiroption} \
3242 || exit 1
3243 @endif automake
3249 .PHONY: all-automake maybe-all-automake
3250 maybe-all-automake:
3251 @if automake
3252 TARGET-automake=all
3253 maybe-all-automake: all-automake
3254 all-automake: configure-automake
3255 @$(unstage)
3256 @r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 $(HOST_EXPORTS) \
3259 (cd $(HOST_SUBDIR)/automake && \
3260 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3261 @endif automake
3266 .PHONY: check-automake maybe-check-automake
3267 maybe-check-automake:
3268 @if automake
3269 maybe-check-automake: check-automake
3271 check-automake:
3272 @$(unstage)
3273 @r=`${PWD_COMMAND}`; export r; \
3274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3275 $(HOST_EXPORTS) \
3276 (cd $(HOST_SUBDIR)/automake && \
3277 $(MAKE) $(FLAGS_TO_PASS) check)
3279 @endif automake
3281 .PHONY: install-automake maybe-install-automake
3282 maybe-install-automake:
3283 @if automake
3284 maybe-install-automake: install-automake
3286 install-automake: installdirs
3287 @$(unstage)
3288 @r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3290 $(HOST_EXPORTS) \
3291 (cd $(HOST_SUBDIR)/automake && \
3292 $(MAKE) $(FLAGS_TO_PASS) install)
3294 @endif automake
3296 # Other targets (info, dvi, etc.)
3298 .PHONY: maybe-info-automake info-automake
3299 maybe-info-automake:
3300 @if automake
3301 maybe-info-automake: info-automake
3303 info-automake: \
3304 configure-automake
3305 @$(unstage)
3306 @[ -f ./automake/Makefile ] || exit 0; \
3307 r=`${PWD_COMMAND}`; export r; \
3308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3309 $(HOST_EXPORTS) \
3310 for flag in $(EXTRA_HOST_FLAGS) ; do \
3311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3312 done; \
3313 echo "Doing info in automake" ; \
3314 (cd $(HOST_SUBDIR)/automake && \
3315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3317 "RANLIB=$${RANLIB}" \
3318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3319 info) \
3320 || exit 1
3322 @endif automake
3324 .PHONY: maybe-dvi-automake dvi-automake
3325 maybe-dvi-automake:
3326 @if automake
3327 maybe-dvi-automake: dvi-automake
3329 dvi-automake: \
3330 configure-automake
3331 @$(unstage)
3332 @[ -f ./automake/Makefile ] || exit 0; \
3333 r=`${PWD_COMMAND}`; export r; \
3334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3335 $(HOST_EXPORTS) \
3336 for flag in $(EXTRA_HOST_FLAGS) ; do \
3337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3338 done; \
3339 echo "Doing dvi in automake" ; \
3340 (cd $(HOST_SUBDIR)/automake && \
3341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3343 "RANLIB=$${RANLIB}" \
3344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3345 dvi) \
3346 || exit 1
3348 @endif automake
3350 .PHONY: maybe-html-automake html-automake
3351 maybe-html-automake:
3352 @if automake
3353 maybe-html-automake: html-automake
3355 html-automake: \
3356 configure-automake
3357 @$(unstage)
3358 @[ -f ./automake/Makefile ] || exit 0; \
3359 r=`${PWD_COMMAND}`; export r; \
3360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3361 $(HOST_EXPORTS) \
3362 for flag in $(EXTRA_HOST_FLAGS) ; do \
3363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3364 done; \
3365 echo "Doing html in automake" ; \
3366 (cd $(HOST_SUBDIR)/automake && \
3367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3369 "RANLIB=$${RANLIB}" \
3370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3371 html) \
3372 || exit 1
3374 @endif automake
3376 .PHONY: maybe-TAGS-automake TAGS-automake
3377 maybe-TAGS-automake:
3378 @if automake
3379 maybe-TAGS-automake: TAGS-automake
3381 TAGS-automake: \
3382 configure-automake
3383 @$(unstage)
3384 @[ -f ./automake/Makefile ] || exit 0; \
3385 r=`${PWD_COMMAND}`; export r; \
3386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3387 $(HOST_EXPORTS) \
3388 for flag in $(EXTRA_HOST_FLAGS) ; do \
3389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3390 done; \
3391 echo "Doing TAGS in automake" ; \
3392 (cd $(HOST_SUBDIR)/automake && \
3393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3395 "RANLIB=$${RANLIB}" \
3396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3397 TAGS) \
3398 || exit 1
3400 @endif automake
3402 .PHONY: maybe-install-info-automake install-info-automake
3403 maybe-install-info-automake:
3404 @if automake
3405 maybe-install-info-automake: install-info-automake
3407 install-info-automake: \
3408 configure-automake \
3409 info-automake
3410 @$(unstage)
3411 @[ -f ./automake/Makefile ] || exit 0; \
3412 r=`${PWD_COMMAND}`; export r; \
3413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3414 $(HOST_EXPORTS) \
3415 for flag in $(EXTRA_HOST_FLAGS) ; do \
3416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3417 done; \
3418 echo "Doing install-info in automake" ; \
3419 (cd $(HOST_SUBDIR)/automake && \
3420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3422 "RANLIB=$${RANLIB}" \
3423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3424 install-info) \
3425 || exit 1
3427 @endif automake
3429 .PHONY: maybe-installcheck-automake installcheck-automake
3430 maybe-installcheck-automake:
3431 @if automake
3432 maybe-installcheck-automake: installcheck-automake
3434 installcheck-automake: \
3435 configure-automake
3436 @$(unstage)
3437 @[ -f ./automake/Makefile ] || exit 0; \
3438 r=`${PWD_COMMAND}`; export r; \
3439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3440 $(HOST_EXPORTS) \
3441 for flag in $(EXTRA_HOST_FLAGS) ; do \
3442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3443 done; \
3444 echo "Doing installcheck in automake" ; \
3445 (cd $(HOST_SUBDIR)/automake && \
3446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3448 "RANLIB=$${RANLIB}" \
3449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3450 installcheck) \
3451 || exit 1
3453 @endif automake
3455 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3456 maybe-mostlyclean-automake:
3457 @if automake
3458 maybe-mostlyclean-automake: mostlyclean-automake
3460 mostlyclean-automake:
3461 @$(unstage)
3462 @[ -f ./automake/Makefile ] || exit 0; \
3463 r=`${PWD_COMMAND}`; export r; \
3464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3465 $(HOST_EXPORTS) \
3466 for flag in $(EXTRA_HOST_FLAGS) ; do \
3467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3468 done; \
3469 echo "Doing mostlyclean in automake" ; \
3470 (cd $(HOST_SUBDIR)/automake && \
3471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3473 "RANLIB=$${RANLIB}" \
3474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3475 mostlyclean) \
3476 || exit 1
3478 @endif automake
3480 .PHONY: maybe-clean-automake clean-automake
3481 maybe-clean-automake:
3482 @if automake
3483 maybe-clean-automake: clean-automake
3485 clean-automake:
3486 @$(unstage)
3487 @[ -f ./automake/Makefile ] || exit 0; \
3488 r=`${PWD_COMMAND}`; export r; \
3489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3490 $(HOST_EXPORTS) \
3491 for flag in $(EXTRA_HOST_FLAGS) ; do \
3492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3493 done; \
3494 echo "Doing clean in automake" ; \
3495 (cd $(HOST_SUBDIR)/automake && \
3496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3498 "RANLIB=$${RANLIB}" \
3499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3500 clean) \
3501 || exit 1
3503 @endif automake
3505 .PHONY: maybe-distclean-automake distclean-automake
3506 maybe-distclean-automake:
3507 @if automake
3508 maybe-distclean-automake: distclean-automake
3510 distclean-automake:
3511 @$(unstage)
3512 @[ -f ./automake/Makefile ] || exit 0; \
3513 r=`${PWD_COMMAND}`; export r; \
3514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3515 $(HOST_EXPORTS) \
3516 for flag in $(EXTRA_HOST_FLAGS) ; do \
3517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3518 done; \
3519 echo "Doing distclean in automake" ; \
3520 (cd $(HOST_SUBDIR)/automake && \
3521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3523 "RANLIB=$${RANLIB}" \
3524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3525 distclean) \
3526 || exit 1
3528 @endif automake
3530 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3531 maybe-maintainer-clean-automake:
3532 @if automake
3533 maybe-maintainer-clean-automake: maintainer-clean-automake
3535 maintainer-clean-automake:
3536 @$(unstage)
3537 @[ -f ./automake/Makefile ] || exit 0; \
3538 r=`${PWD_COMMAND}`; export r; \
3539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3540 $(HOST_EXPORTS) \
3541 for flag in $(EXTRA_HOST_FLAGS) ; do \
3542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3543 done; \
3544 echo "Doing maintainer-clean in automake" ; \
3545 (cd $(HOST_SUBDIR)/automake && \
3546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3548 "RANLIB=$${RANLIB}" \
3549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3550 maintainer-clean) \
3551 || exit 1
3553 @endif automake
3557 .PHONY: configure-bash maybe-configure-bash
3558 maybe-configure-bash:
3559 @if bash
3560 maybe-configure-bash: configure-bash
3561 configure-bash:
3562 @$(unstage)
3563 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3565 r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567 $(HOST_EXPORTS) \
3568 echo Configuring in $(HOST_SUBDIR)/bash; \
3569 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3570 case $(srcdir) in \
3571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3572 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3574 esac; \
3575 srcdiroption="--srcdir=$${topdir}/bash"; \
3576 libsrcdir="$$s/bash"; \
3577 $(SHELL) $${libsrcdir}/configure \
3578 $(HOST_CONFIGARGS) $${srcdiroption} \
3579 || exit 1
3580 @endif bash
3586 .PHONY: all-bash maybe-all-bash
3587 maybe-all-bash:
3588 @if bash
3589 TARGET-bash=all
3590 maybe-all-bash: all-bash
3591 all-bash: configure-bash
3592 @$(unstage)
3593 @r=`${PWD_COMMAND}`; export r; \
3594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3595 $(HOST_EXPORTS) \
3596 (cd $(HOST_SUBDIR)/bash && \
3597 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3598 @endif bash
3603 .PHONY: check-bash maybe-check-bash
3604 maybe-check-bash:
3605 @if bash
3606 maybe-check-bash: check-bash
3608 check-bash:
3609 @$(unstage)
3610 @r=`${PWD_COMMAND}`; export r; \
3611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3612 $(HOST_EXPORTS) \
3613 (cd $(HOST_SUBDIR)/bash && \
3614 $(MAKE) $(FLAGS_TO_PASS) check)
3616 @endif bash
3618 .PHONY: install-bash maybe-install-bash
3619 maybe-install-bash:
3620 @if bash
3621 maybe-install-bash: install-bash
3623 install-bash: installdirs
3624 @$(unstage)
3625 @r=`${PWD_COMMAND}`; export r; \
3626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3627 $(HOST_EXPORTS) \
3628 (cd $(HOST_SUBDIR)/bash && \
3629 $(MAKE) $(FLAGS_TO_PASS) install)
3631 @endif bash
3633 # Other targets (info, dvi, etc.)
3635 .PHONY: maybe-info-bash info-bash
3636 maybe-info-bash:
3637 @if bash
3638 maybe-info-bash: info-bash
3640 info-bash: \
3641 configure-bash
3642 @$(unstage)
3643 @[ -f ./bash/Makefile ] || exit 0; \
3644 r=`${PWD_COMMAND}`; export r; \
3645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3646 $(HOST_EXPORTS) \
3647 for flag in $(EXTRA_HOST_FLAGS) ; do \
3648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3649 done; \
3650 echo "Doing info in bash" ; \
3651 (cd $(HOST_SUBDIR)/bash && \
3652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3654 "RANLIB=$${RANLIB}" \
3655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3656 info) \
3657 || exit 1
3659 @endif bash
3661 .PHONY: maybe-dvi-bash dvi-bash
3662 maybe-dvi-bash:
3663 @if bash
3664 maybe-dvi-bash: dvi-bash
3666 dvi-bash: \
3667 configure-bash
3668 @$(unstage)
3669 @[ -f ./bash/Makefile ] || exit 0; \
3670 r=`${PWD_COMMAND}`; export r; \
3671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672 $(HOST_EXPORTS) \
3673 for flag in $(EXTRA_HOST_FLAGS) ; do \
3674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3675 done; \
3676 echo "Doing dvi in bash" ; \
3677 (cd $(HOST_SUBDIR)/bash && \
3678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3680 "RANLIB=$${RANLIB}" \
3681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3682 dvi) \
3683 || exit 1
3685 @endif bash
3687 .PHONY: maybe-html-bash html-bash
3688 maybe-html-bash:
3689 @if bash
3690 maybe-html-bash: html-bash
3692 html-bash: \
3693 configure-bash
3694 @$(unstage)
3695 @[ -f ./bash/Makefile ] || exit 0; \
3696 r=`${PWD_COMMAND}`; export r; \
3697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3698 $(HOST_EXPORTS) \
3699 for flag in $(EXTRA_HOST_FLAGS) ; do \
3700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3701 done; \
3702 echo "Doing html in bash" ; \
3703 (cd $(HOST_SUBDIR)/bash && \
3704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3706 "RANLIB=$${RANLIB}" \
3707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3708 html) \
3709 || exit 1
3711 @endif bash
3713 .PHONY: maybe-TAGS-bash TAGS-bash
3714 maybe-TAGS-bash:
3715 @if bash
3716 maybe-TAGS-bash: TAGS-bash
3718 TAGS-bash: \
3719 configure-bash
3720 @$(unstage)
3721 @[ -f ./bash/Makefile ] || exit 0; \
3722 r=`${PWD_COMMAND}`; export r; \
3723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3724 $(HOST_EXPORTS) \
3725 for flag in $(EXTRA_HOST_FLAGS) ; do \
3726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3727 done; \
3728 echo "Doing TAGS in bash" ; \
3729 (cd $(HOST_SUBDIR)/bash && \
3730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3732 "RANLIB=$${RANLIB}" \
3733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3734 TAGS) \
3735 || exit 1
3737 @endif bash
3739 .PHONY: maybe-install-info-bash install-info-bash
3740 maybe-install-info-bash:
3741 @if bash
3742 maybe-install-info-bash: install-info-bash
3744 install-info-bash: \
3745 configure-bash \
3746 info-bash
3747 @$(unstage)
3748 @[ -f ./bash/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 $(HOST_EXPORTS) \
3752 for flag in $(EXTRA_HOST_FLAGS) ; do \
3753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3754 done; \
3755 echo "Doing install-info in bash" ; \
3756 (cd $(HOST_SUBDIR)/bash && \
3757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3759 "RANLIB=$${RANLIB}" \
3760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3761 install-info) \
3762 || exit 1
3764 @endif bash
3766 .PHONY: maybe-installcheck-bash installcheck-bash
3767 maybe-installcheck-bash:
3768 @if bash
3769 maybe-installcheck-bash: installcheck-bash
3771 installcheck-bash: \
3772 configure-bash
3773 @$(unstage)
3774 @[ -f ./bash/Makefile ] || exit 0; \
3775 r=`${PWD_COMMAND}`; export r; \
3776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3777 $(HOST_EXPORTS) \
3778 for flag in $(EXTRA_HOST_FLAGS) ; do \
3779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3780 done; \
3781 echo "Doing installcheck in bash" ; \
3782 (cd $(HOST_SUBDIR)/bash && \
3783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3785 "RANLIB=$${RANLIB}" \
3786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3787 installcheck) \
3788 || exit 1
3790 @endif bash
3792 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3793 maybe-mostlyclean-bash:
3794 @if bash
3795 maybe-mostlyclean-bash: mostlyclean-bash
3797 mostlyclean-bash:
3798 @$(unstage)
3799 @[ -f ./bash/Makefile ] || exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802 $(HOST_EXPORTS) \
3803 for flag in $(EXTRA_HOST_FLAGS) ; do \
3804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3805 done; \
3806 echo "Doing mostlyclean in bash" ; \
3807 (cd $(HOST_SUBDIR)/bash && \
3808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810 "RANLIB=$${RANLIB}" \
3811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3812 mostlyclean) \
3813 || exit 1
3815 @endif bash
3817 .PHONY: maybe-clean-bash clean-bash
3818 maybe-clean-bash:
3819 @if bash
3820 maybe-clean-bash: clean-bash
3822 clean-bash:
3823 @$(unstage)
3824 @[ -f ./bash/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3827 $(HOST_EXPORTS) \
3828 for flag in $(EXTRA_HOST_FLAGS) ; do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830 done; \
3831 echo "Doing clean in bash" ; \
3832 (cd $(HOST_SUBDIR)/bash && \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837 clean) \
3838 || exit 1
3840 @endif bash
3842 .PHONY: maybe-distclean-bash distclean-bash
3843 maybe-distclean-bash:
3844 @if bash
3845 maybe-distclean-bash: distclean-bash
3847 distclean-bash:
3848 @$(unstage)
3849 @[ -f ./bash/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 $(HOST_EXPORTS) \
3853 for flag in $(EXTRA_HOST_FLAGS) ; do \
3854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3855 done; \
3856 echo "Doing distclean in bash" ; \
3857 (cd $(HOST_SUBDIR)/bash && \
3858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3860 "RANLIB=$${RANLIB}" \
3861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3862 distclean) \
3863 || exit 1
3865 @endif bash
3867 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3868 maybe-maintainer-clean-bash:
3869 @if bash
3870 maybe-maintainer-clean-bash: maintainer-clean-bash
3872 maintainer-clean-bash:
3873 @$(unstage)
3874 @[ -f ./bash/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 $(HOST_EXPORTS) \
3878 for flag in $(EXTRA_HOST_FLAGS) ; do \
3879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 done; \
3881 echo "Doing maintainer-clean in bash" ; \
3882 (cd $(HOST_SUBDIR)/bash && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3885 "RANLIB=$${RANLIB}" \
3886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3887 maintainer-clean) \
3888 || exit 1
3890 @endif bash
3894 .PHONY: configure-bfd maybe-configure-bfd
3895 maybe-configure-bfd:
3896 @if bfd
3897 maybe-configure-bfd: configure-bfd
3898 configure-bfd:
3899 @test -f stage_last && exit 0; \
3900 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3902 r=`${PWD_COMMAND}`; export r; \
3903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3904 $(HOST_EXPORTS) \
3905 echo Configuring in $(HOST_SUBDIR)/bfd; \
3906 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3907 case $(srcdir) in \
3908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3909 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3911 esac; \
3912 srcdiroption="--srcdir=$${topdir}/bfd"; \
3913 libsrcdir="$$s/bfd"; \
3914 $(SHELL) $${libsrcdir}/configure \
3915 $(HOST_CONFIGARGS) $${srcdiroption} \
3916 || exit 1
3917 @endif bfd
3921 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3922 maybe-configure-stage1-bfd:
3923 @if bfd-bootstrap
3924 maybe-configure-stage1-bfd: configure-stage1-bfd
3925 configure-stage1-bfd:
3926 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
3927 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3928 r=`${PWD_COMMAND}`; export r; \
3929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930 $(HOST_EXPORTS) \
3931 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3932 cd $(HOST_SUBDIR)/bfd || exit 1; \
3933 case $(srcdir) in \
3934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3935 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3937 esac; \
3938 srcdiroption="--srcdir=$${topdir}/bfd"; \
3939 libsrcdir="$$s/bfd"; \
3940 $(SHELL) $${libsrcdir}/configure \
3941 $(HOST_CONFIGARGS) $${srcdiroption} \
3942 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3943 @endif bfd-bootstrap
3945 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3946 maybe-configure-stage2-bfd:
3947 @if bfd-bootstrap
3948 maybe-configure-stage2-bfd: configure-stage2-bfd
3949 configure-stage2-bfd:
3950 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
3951 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3952 r=`${PWD_COMMAND}`; export r; \
3953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3954 $(HOST_EXPORTS) \
3955 $(POSTSTAGE1_HOST_EXPORTS) \
3956 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3957 cd $(HOST_SUBDIR)/bfd || exit 1; \
3958 case $(srcdir) in \
3959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3960 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3962 esac; \
3963 srcdiroption="--srcdir=$${topdir}/bfd"; \
3964 libsrcdir="$$s/bfd"; \
3965 $(SHELL) $${libsrcdir}/configure \
3966 $(HOST_CONFIGARGS) $${srcdiroption} \
3967 @stage2_werror_flag@
3968 @endif bfd-bootstrap
3970 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3971 maybe-configure-stage3-bfd:
3972 @if bfd-bootstrap
3973 maybe-configure-stage3-bfd: configure-stage3-bfd
3974 configure-stage3-bfd:
3975 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
3976 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3977 r=`${PWD_COMMAND}`; export r; \
3978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3979 $(HOST_EXPORTS) \
3980 $(POSTSTAGE1_HOST_EXPORTS) \
3981 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3982 cd $(HOST_SUBDIR)/bfd || exit 1; \
3983 case $(srcdir) in \
3984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3985 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3987 esac; \
3988 srcdiroption="--srcdir=$${topdir}/bfd"; \
3989 libsrcdir="$$s/bfd"; \
3990 $(SHELL) $${libsrcdir}/configure \
3991 $(HOST_CONFIGARGS) $${srcdiroption} \
3992 @stage2_werror_flag@
3993 @endif bfd-bootstrap
3995 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3996 maybe-configure-stage4-bfd:
3997 @if bfd-bootstrap
3998 maybe-configure-stage4-bfd: configure-stage4-bfd
3999 configure-stage4-bfd:
4000 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4001 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4002 r=`${PWD_COMMAND}`; export r; \
4003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4004 $(HOST_EXPORTS) \
4005 $(POSTSTAGE1_HOST_EXPORTS) \
4006 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4007 cd $(HOST_SUBDIR)/bfd || exit 1; \
4008 case $(srcdir) in \
4009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4010 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4012 esac; \
4013 srcdiroption="--srcdir=$${topdir}/bfd"; \
4014 libsrcdir="$$s/bfd"; \
4015 $(SHELL) $${libsrcdir}/configure \
4016 $(HOST_CONFIGARGS) $${srcdiroption} \
4017 @stage2_werror_flag@
4018 @endif bfd-bootstrap
4020 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4021 maybe-configure-stageprofile-bfd:
4022 @if bfd-bootstrap
4023 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4024 configure-stageprofile-bfd:
4025 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4026 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4029 $(HOST_EXPORTS) \
4030 $(POSTSTAGE1_HOST_EXPORTS) \
4031 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4032 cd $(HOST_SUBDIR)/bfd || exit 1; \
4033 case $(srcdir) in \
4034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4035 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4037 esac; \
4038 srcdiroption="--srcdir=$${topdir}/bfd"; \
4039 libsrcdir="$$s/bfd"; \
4040 $(SHELL) $${libsrcdir}/configure \
4041 $(HOST_CONFIGARGS) $${srcdiroption} \
4042 @stage2_werror_flag@
4043 @endif bfd-bootstrap
4045 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4046 maybe-configure-stagefeedback-bfd:
4047 @if bfd-bootstrap
4048 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4049 configure-stagefeedback-bfd:
4050 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4051 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4052 r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 $(HOST_EXPORTS) \
4055 $(POSTSTAGE1_HOST_EXPORTS) \
4056 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4057 cd $(HOST_SUBDIR)/bfd || exit 1; \
4058 case $(srcdir) in \
4059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4060 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4062 esac; \
4063 srcdiroption="--srcdir=$${topdir}/bfd"; \
4064 libsrcdir="$$s/bfd"; \
4065 $(SHELL) $${libsrcdir}/configure \
4066 $(HOST_CONFIGARGS) $${srcdiroption} \
4067 @stage2_werror_flag@
4068 @endif bfd-bootstrap
4074 .PHONY: all-bfd maybe-all-bfd
4075 maybe-all-bfd:
4076 @if bfd
4077 TARGET-bfd=all
4078 maybe-all-bfd: all-bfd
4079 all-bfd: configure-bfd
4080 @test -f stage_last && exit 0; \
4081 r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 $(HOST_EXPORTS) \
4084 (cd $(HOST_SUBDIR)/bfd && \
4085 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4086 @endif bfd
4090 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4091 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4092 maybe-all-stage1-bfd:
4093 maybe-clean-stage1-bfd:
4094 @if bfd-bootstrap
4095 maybe-all-stage1-bfd: all-stage1-bfd
4096 all-stage1: all-stage1-bfd
4097 TARGET-stage1-bfd = $(TARGET-bfd)
4098 all-stage1-bfd: configure-stage1-bfd
4099 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4100 @r=`${PWD_COMMAND}`; export r; \
4101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102 $(HOST_EXPORTS) \
4103 cd $(HOST_SUBDIR)/bfd && \
4104 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4105 $(TARGET-stage1-bfd)
4107 maybe-clean-stage1-bfd: clean-stage1-bfd
4108 clean-stage1: clean-stage1-bfd
4109 clean-stage1-bfd:
4110 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4111 || exit 0 ; \
4112 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4113 cd $(HOST_SUBDIR)/bfd && \
4114 $(MAKE) $(FLAGS_TO_PASS) \
4115 CFLAGS="$(STAGE1_CFLAGS)" clean
4116 @endif bfd-bootstrap
4119 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4120 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4121 maybe-all-stage2-bfd:
4122 maybe-clean-stage2-bfd:
4123 @if bfd-bootstrap
4124 maybe-all-stage2-bfd: all-stage2-bfd
4125 all-stage2: all-stage2-bfd
4126 TARGET-stage2-bfd = $(TARGET-bfd)
4127 all-stage2-bfd: configure-stage2-bfd
4128 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4129 @r=`${PWD_COMMAND}`; export r; \
4130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4131 $(HOST_EXPORTS) \
4132 $(POSTSTAGE1_HOST_EXPORTS) \
4133 cd $(HOST_SUBDIR)/bfd && \
4134 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4135 $(TARGET-stage2-bfd)
4137 maybe-clean-stage2-bfd: clean-stage2-bfd
4138 clean-stage2: clean-stage2-bfd
4139 clean-stage2-bfd:
4140 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4141 || exit 0 ; \
4142 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4143 cd $(HOST_SUBDIR)/bfd && \
4144 $(MAKE) $(FLAGS_TO_PASS) \
4145 $(POSTSTAGE1_FLAGS_TO_PASS) \
4146 clean
4147 @endif bfd-bootstrap
4150 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4151 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4152 maybe-all-stage3-bfd:
4153 maybe-clean-stage3-bfd:
4154 @if bfd-bootstrap
4155 maybe-all-stage3-bfd: all-stage3-bfd
4156 all-stage3: all-stage3-bfd
4157 TARGET-stage3-bfd = $(TARGET-bfd)
4158 all-stage3-bfd: configure-stage3-bfd
4159 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4160 @r=`${PWD_COMMAND}`; export r; \
4161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 $(HOST_EXPORTS) \
4163 $(POSTSTAGE1_HOST_EXPORTS) \
4164 cd $(HOST_SUBDIR)/bfd && \
4165 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4166 $(TARGET-stage3-bfd)
4168 maybe-clean-stage3-bfd: clean-stage3-bfd
4169 clean-stage3: clean-stage3-bfd
4170 clean-stage3-bfd:
4171 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4172 || exit 0 ; \
4173 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4174 cd $(HOST_SUBDIR)/bfd && \
4175 $(MAKE) $(FLAGS_TO_PASS) \
4176 $(POSTSTAGE1_FLAGS_TO_PASS) \
4177 clean
4178 @endif bfd-bootstrap
4181 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4182 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4183 maybe-all-stage4-bfd:
4184 maybe-clean-stage4-bfd:
4185 @if bfd-bootstrap
4186 maybe-all-stage4-bfd: all-stage4-bfd
4187 all-stage4: all-stage4-bfd
4188 TARGET-stage4-bfd = $(TARGET-bfd)
4189 all-stage4-bfd: configure-stage4-bfd
4190 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4191 @r=`${PWD_COMMAND}`; export r; \
4192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4193 $(HOST_EXPORTS) \
4194 $(POSTSTAGE1_HOST_EXPORTS) \
4195 cd $(HOST_SUBDIR)/bfd && \
4196 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4197 $(TARGET-stage4-bfd)
4199 maybe-clean-stage4-bfd: clean-stage4-bfd
4200 clean-stage4: clean-stage4-bfd
4201 clean-stage4-bfd:
4202 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4203 || exit 0 ; \
4204 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4205 cd $(HOST_SUBDIR)/bfd && \
4206 $(MAKE) $(FLAGS_TO_PASS) \
4207 $(POSTSTAGE1_FLAGS_TO_PASS) \
4208 clean
4209 @endif bfd-bootstrap
4212 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4213 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4214 maybe-all-stageprofile-bfd:
4215 maybe-clean-stageprofile-bfd:
4216 @if bfd-bootstrap
4217 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4218 all-stageprofile: all-stageprofile-bfd
4219 TARGET-stageprofile-bfd = $(TARGET-bfd)
4220 all-stageprofile-bfd: configure-stageprofile-bfd
4221 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4222 @r=`${PWD_COMMAND}`; export r; \
4223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4224 $(HOST_EXPORTS) \
4225 $(POSTSTAGE1_HOST_EXPORTS) \
4226 cd $(HOST_SUBDIR)/bfd && \
4227 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4228 $(TARGET-stageprofile-bfd)
4230 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4231 clean-stageprofile: clean-stageprofile-bfd
4232 clean-stageprofile-bfd:
4233 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4234 || exit 0 ; \
4235 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4236 cd $(HOST_SUBDIR)/bfd && \
4237 $(MAKE) $(FLAGS_TO_PASS) \
4238 $(POSTSTAGE1_FLAGS_TO_PASS) \
4239 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4240 @endif bfd-bootstrap
4243 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4244 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4245 maybe-all-stagefeedback-bfd:
4246 maybe-clean-stagefeedback-bfd:
4247 @if bfd-bootstrap
4248 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4249 all-stagefeedback: all-stagefeedback-bfd
4250 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4251 all-stagefeedback-bfd: configure-stagefeedback-bfd
4252 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4253 @r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 $(HOST_EXPORTS) \
4256 $(POSTSTAGE1_HOST_EXPORTS) \
4257 cd $(HOST_SUBDIR)/bfd && \
4258 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4259 $(TARGET-stagefeedback-bfd)
4261 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4262 clean-stagefeedback: clean-stagefeedback-bfd
4263 clean-stagefeedback-bfd:
4264 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4265 || exit 0 ; \
4266 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4267 cd $(HOST_SUBDIR)/bfd && \
4268 $(MAKE) $(FLAGS_TO_PASS) \
4269 $(POSTSTAGE1_FLAGS_TO_PASS) \
4270 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4271 @endif bfd-bootstrap
4277 .PHONY: check-bfd maybe-check-bfd
4278 maybe-check-bfd:
4279 @if bfd
4280 maybe-check-bfd: check-bfd
4282 check-bfd:
4283 @$(unstage)
4284 @r=`${PWD_COMMAND}`; export r; \
4285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4286 $(HOST_EXPORTS) \
4287 (cd $(HOST_SUBDIR)/bfd && \
4288 $(MAKE) $(FLAGS_TO_PASS) check)
4290 @endif bfd
4292 .PHONY: install-bfd maybe-install-bfd
4293 maybe-install-bfd:
4294 @if bfd
4295 maybe-install-bfd: install-bfd
4297 install-bfd: installdirs
4298 @$(unstage)
4299 @r=`${PWD_COMMAND}`; export r; \
4300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301 $(HOST_EXPORTS) \
4302 (cd $(HOST_SUBDIR)/bfd && \
4303 $(MAKE) $(FLAGS_TO_PASS) install)
4305 @endif bfd
4307 # Other targets (info, dvi, etc.)
4309 .PHONY: maybe-info-bfd info-bfd
4310 maybe-info-bfd:
4311 @if bfd
4312 maybe-info-bfd: info-bfd
4314 info-bfd: \
4315 configure-bfd
4316 @[ -f ./bfd/Makefile ] || exit 0; \
4317 r=`${PWD_COMMAND}`; export r; \
4318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4319 $(HOST_EXPORTS) \
4320 for flag in $(EXTRA_HOST_FLAGS) ; do \
4321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4322 done; \
4323 echo "Doing info in bfd" ; \
4324 (cd $(HOST_SUBDIR)/bfd && \
4325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4327 "RANLIB=$${RANLIB}" \
4328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4329 info) \
4330 || exit 1
4332 @endif bfd
4334 .PHONY: maybe-dvi-bfd dvi-bfd
4335 maybe-dvi-bfd:
4336 @if bfd
4337 maybe-dvi-bfd: dvi-bfd
4339 dvi-bfd: \
4340 configure-bfd
4341 @[ -f ./bfd/Makefile ] || exit 0; \
4342 r=`${PWD_COMMAND}`; export r; \
4343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4344 $(HOST_EXPORTS) \
4345 for flag in $(EXTRA_HOST_FLAGS) ; do \
4346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4347 done; \
4348 echo "Doing dvi in bfd" ; \
4349 (cd $(HOST_SUBDIR)/bfd && \
4350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4352 "RANLIB=$${RANLIB}" \
4353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4354 dvi) \
4355 || exit 1
4357 @endif bfd
4359 .PHONY: maybe-html-bfd html-bfd
4360 maybe-html-bfd:
4361 @if bfd
4362 maybe-html-bfd: html-bfd
4364 html-bfd: \
4365 configure-bfd
4366 @[ -f ./bfd/Makefile ] || exit 0; \
4367 r=`${PWD_COMMAND}`; export r; \
4368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4369 $(HOST_EXPORTS) \
4370 for flag in $(EXTRA_HOST_FLAGS) ; do \
4371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4372 done; \
4373 echo "Doing html in bfd" ; \
4374 (cd $(HOST_SUBDIR)/bfd && \
4375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4377 "RANLIB=$${RANLIB}" \
4378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4379 html) \
4380 || exit 1
4382 @endif bfd
4384 .PHONY: maybe-TAGS-bfd TAGS-bfd
4385 maybe-TAGS-bfd:
4386 @if bfd
4387 maybe-TAGS-bfd: TAGS-bfd
4389 TAGS-bfd: \
4390 configure-bfd
4391 @[ -f ./bfd/Makefile ] || exit 0; \
4392 r=`${PWD_COMMAND}`; export r; \
4393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4394 $(HOST_EXPORTS) \
4395 for flag in $(EXTRA_HOST_FLAGS) ; do \
4396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4397 done; \
4398 echo "Doing TAGS in bfd" ; \
4399 (cd $(HOST_SUBDIR)/bfd && \
4400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4402 "RANLIB=$${RANLIB}" \
4403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4404 TAGS) \
4405 || exit 1
4407 @endif bfd
4409 .PHONY: maybe-install-info-bfd install-info-bfd
4410 maybe-install-info-bfd:
4411 @if bfd
4412 maybe-install-info-bfd: install-info-bfd
4414 install-info-bfd: \
4415 configure-bfd \
4416 info-bfd
4417 @[ -f ./bfd/Makefile ] || exit 0; \
4418 r=`${PWD_COMMAND}`; export r; \
4419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4420 $(HOST_EXPORTS) \
4421 for flag in $(EXTRA_HOST_FLAGS) ; do \
4422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4423 done; \
4424 echo "Doing install-info in bfd" ; \
4425 (cd $(HOST_SUBDIR)/bfd && \
4426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4428 "RANLIB=$${RANLIB}" \
4429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4430 install-info) \
4431 || exit 1
4433 @endif bfd
4435 .PHONY: maybe-installcheck-bfd installcheck-bfd
4436 maybe-installcheck-bfd:
4437 @if bfd
4438 maybe-installcheck-bfd: installcheck-bfd
4440 installcheck-bfd: \
4441 configure-bfd
4442 @[ -f ./bfd/Makefile ] || exit 0; \
4443 r=`${PWD_COMMAND}`; export r; \
4444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4445 $(HOST_EXPORTS) \
4446 for flag in $(EXTRA_HOST_FLAGS) ; do \
4447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4448 done; \
4449 echo "Doing installcheck in bfd" ; \
4450 (cd $(HOST_SUBDIR)/bfd && \
4451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4453 "RANLIB=$${RANLIB}" \
4454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4455 installcheck) \
4456 || exit 1
4458 @endif bfd
4460 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4461 maybe-mostlyclean-bfd:
4462 @if bfd
4463 maybe-mostlyclean-bfd: mostlyclean-bfd
4465 mostlyclean-bfd:
4466 @[ -f ./bfd/Makefile ] || exit 0; \
4467 r=`${PWD_COMMAND}`; export r; \
4468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4469 $(HOST_EXPORTS) \
4470 for flag in $(EXTRA_HOST_FLAGS) ; do \
4471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4472 done; \
4473 echo "Doing mostlyclean in bfd" ; \
4474 (cd $(HOST_SUBDIR)/bfd && \
4475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4477 "RANLIB=$${RANLIB}" \
4478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4479 mostlyclean) \
4480 || exit 1
4482 @endif bfd
4484 .PHONY: maybe-clean-bfd clean-bfd
4485 maybe-clean-bfd:
4486 @if bfd
4487 maybe-clean-bfd: clean-bfd
4489 clean-bfd:
4490 @[ -f ./bfd/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 $(HOST_EXPORTS) \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 done; \
4497 echo "Doing clean in bfd" ; \
4498 (cd $(HOST_SUBDIR)/bfd && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4503 clean) \
4504 || exit 1
4506 @endif bfd
4508 .PHONY: maybe-distclean-bfd distclean-bfd
4509 maybe-distclean-bfd:
4510 @if bfd
4511 maybe-distclean-bfd: distclean-bfd
4513 distclean-bfd:
4514 @[ -f ./bfd/Makefile ] || exit 0; \
4515 r=`${PWD_COMMAND}`; export r; \
4516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4517 $(HOST_EXPORTS) \
4518 for flag in $(EXTRA_HOST_FLAGS) ; do \
4519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4520 done; \
4521 echo "Doing distclean in bfd" ; \
4522 (cd $(HOST_SUBDIR)/bfd && \
4523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4525 "RANLIB=$${RANLIB}" \
4526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4527 distclean) \
4528 || exit 1
4530 @endif bfd
4532 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4533 maybe-maintainer-clean-bfd:
4534 @if bfd
4535 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4537 maintainer-clean-bfd:
4538 @[ -f ./bfd/Makefile ] || exit 0; \
4539 r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 $(HOST_EXPORTS) \
4542 for flag in $(EXTRA_HOST_FLAGS) ; do \
4543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4544 done; \
4545 echo "Doing maintainer-clean in bfd" ; \
4546 (cd $(HOST_SUBDIR)/bfd && \
4547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4549 "RANLIB=$${RANLIB}" \
4550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4551 maintainer-clean) \
4552 || exit 1
4554 @endif bfd
4558 .PHONY: configure-opcodes maybe-configure-opcodes
4559 maybe-configure-opcodes:
4560 @if opcodes
4561 maybe-configure-opcodes: configure-opcodes
4562 configure-opcodes:
4563 @test -f stage_last && exit 0; \
4564 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4566 r=`${PWD_COMMAND}`; export r; \
4567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568 $(HOST_EXPORTS) \
4569 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4570 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4571 case $(srcdir) in \
4572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4573 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4575 esac; \
4576 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4577 libsrcdir="$$s/opcodes"; \
4578 $(SHELL) $${libsrcdir}/configure \
4579 $(HOST_CONFIGARGS) $${srcdiroption} \
4580 || exit 1
4581 @endif opcodes
4585 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4586 maybe-configure-stage1-opcodes:
4587 @if opcodes-bootstrap
4588 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4589 configure-stage1-opcodes:
4590 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4591 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4592 r=`${PWD_COMMAND}`; export r; \
4593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4594 $(HOST_EXPORTS) \
4595 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4596 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4597 case $(srcdir) in \
4598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4599 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4601 esac; \
4602 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4603 libsrcdir="$$s/opcodes"; \
4604 $(SHELL) $${libsrcdir}/configure \
4605 $(HOST_CONFIGARGS) $${srcdiroption} \
4606 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4607 @endif opcodes-bootstrap
4609 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4610 maybe-configure-stage2-opcodes:
4611 @if opcodes-bootstrap
4612 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4613 configure-stage2-opcodes:
4614 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4615 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4616 r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 $(HOST_EXPORTS) \
4619 $(POSTSTAGE1_HOST_EXPORTS) \
4620 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4621 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4622 case $(srcdir) in \
4623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4624 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4626 esac; \
4627 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4628 libsrcdir="$$s/opcodes"; \
4629 $(SHELL) $${libsrcdir}/configure \
4630 $(HOST_CONFIGARGS) $${srcdiroption} \
4631 @stage2_werror_flag@
4632 @endif opcodes-bootstrap
4634 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4635 maybe-configure-stage3-opcodes:
4636 @if opcodes-bootstrap
4637 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4638 configure-stage3-opcodes:
4639 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4640 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4641 r=`${PWD_COMMAND}`; export r; \
4642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4643 $(HOST_EXPORTS) \
4644 $(POSTSTAGE1_HOST_EXPORTS) \
4645 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4646 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4647 case $(srcdir) in \
4648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4649 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4651 esac; \
4652 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4653 libsrcdir="$$s/opcodes"; \
4654 $(SHELL) $${libsrcdir}/configure \
4655 $(HOST_CONFIGARGS) $${srcdiroption} \
4656 @stage2_werror_flag@
4657 @endif opcodes-bootstrap
4659 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4660 maybe-configure-stage4-opcodes:
4661 @if opcodes-bootstrap
4662 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4663 configure-stage4-opcodes:
4664 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4665 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4666 r=`${PWD_COMMAND}`; export r; \
4667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4668 $(HOST_EXPORTS) \
4669 $(POSTSTAGE1_HOST_EXPORTS) \
4670 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4671 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4672 case $(srcdir) in \
4673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4674 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4676 esac; \
4677 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4678 libsrcdir="$$s/opcodes"; \
4679 $(SHELL) $${libsrcdir}/configure \
4680 $(HOST_CONFIGARGS) $${srcdiroption} \
4681 @stage2_werror_flag@
4682 @endif opcodes-bootstrap
4684 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4685 maybe-configure-stageprofile-opcodes:
4686 @if opcodes-bootstrap
4687 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4688 configure-stageprofile-opcodes:
4689 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4690 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4691 r=`${PWD_COMMAND}`; export r; \
4692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4693 $(HOST_EXPORTS) \
4694 $(POSTSTAGE1_HOST_EXPORTS) \
4695 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4696 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4697 case $(srcdir) in \
4698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4699 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4701 esac; \
4702 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4703 libsrcdir="$$s/opcodes"; \
4704 $(SHELL) $${libsrcdir}/configure \
4705 $(HOST_CONFIGARGS) $${srcdiroption} \
4706 @stage2_werror_flag@
4707 @endif opcodes-bootstrap
4709 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4710 maybe-configure-stagefeedback-opcodes:
4711 @if opcodes-bootstrap
4712 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4713 configure-stagefeedback-opcodes:
4714 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4715 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4716 r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 $(HOST_EXPORTS) \
4719 $(POSTSTAGE1_HOST_EXPORTS) \
4720 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4721 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4722 case $(srcdir) in \
4723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4724 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4726 esac; \
4727 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4728 libsrcdir="$$s/opcodes"; \
4729 $(SHELL) $${libsrcdir}/configure \
4730 $(HOST_CONFIGARGS) $${srcdiroption} \
4731 @stage2_werror_flag@
4732 @endif opcodes-bootstrap
4738 .PHONY: all-opcodes maybe-all-opcodes
4739 maybe-all-opcodes:
4740 @if opcodes
4741 TARGET-opcodes=all
4742 maybe-all-opcodes: all-opcodes
4743 all-opcodes: configure-opcodes
4744 @test -f stage_last && exit 0; \
4745 r=`${PWD_COMMAND}`; export r; \
4746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4747 $(HOST_EXPORTS) \
4748 (cd $(HOST_SUBDIR)/opcodes && \
4749 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4750 @endif opcodes
4754 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4755 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4756 maybe-all-stage1-opcodes:
4757 maybe-clean-stage1-opcodes:
4758 @if opcodes-bootstrap
4759 maybe-all-stage1-opcodes: all-stage1-opcodes
4760 all-stage1: all-stage1-opcodes
4761 TARGET-stage1-opcodes = $(TARGET-opcodes)
4762 all-stage1-opcodes: configure-stage1-opcodes
4763 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4764 @r=`${PWD_COMMAND}`; export r; \
4765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4766 $(HOST_EXPORTS) \
4767 cd $(HOST_SUBDIR)/opcodes && \
4768 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4769 $(TARGET-stage1-opcodes)
4771 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4772 clean-stage1: clean-stage1-opcodes
4773 clean-stage1-opcodes:
4774 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4775 || exit 0 ; \
4776 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4777 cd $(HOST_SUBDIR)/opcodes && \
4778 $(MAKE) $(FLAGS_TO_PASS) \
4779 CFLAGS="$(STAGE1_CFLAGS)" clean
4780 @endif opcodes-bootstrap
4783 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4784 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4785 maybe-all-stage2-opcodes:
4786 maybe-clean-stage2-opcodes:
4787 @if opcodes-bootstrap
4788 maybe-all-stage2-opcodes: all-stage2-opcodes
4789 all-stage2: all-stage2-opcodes
4790 TARGET-stage2-opcodes = $(TARGET-opcodes)
4791 all-stage2-opcodes: configure-stage2-opcodes
4792 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4793 @r=`${PWD_COMMAND}`; export r; \
4794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4795 $(HOST_EXPORTS) \
4796 $(POSTSTAGE1_HOST_EXPORTS) \
4797 cd $(HOST_SUBDIR)/opcodes && \
4798 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4799 $(TARGET-stage2-opcodes)
4801 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4802 clean-stage2: clean-stage2-opcodes
4803 clean-stage2-opcodes:
4804 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4805 || exit 0 ; \
4806 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4807 cd $(HOST_SUBDIR)/opcodes && \
4808 $(MAKE) $(FLAGS_TO_PASS) \
4809 $(POSTSTAGE1_FLAGS_TO_PASS) \
4810 clean
4811 @endif opcodes-bootstrap
4814 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4815 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4816 maybe-all-stage3-opcodes:
4817 maybe-clean-stage3-opcodes:
4818 @if opcodes-bootstrap
4819 maybe-all-stage3-opcodes: all-stage3-opcodes
4820 all-stage3: all-stage3-opcodes
4821 TARGET-stage3-opcodes = $(TARGET-opcodes)
4822 all-stage3-opcodes: configure-stage3-opcodes
4823 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4824 @r=`${PWD_COMMAND}`; export r; \
4825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4826 $(HOST_EXPORTS) \
4827 $(POSTSTAGE1_HOST_EXPORTS) \
4828 cd $(HOST_SUBDIR)/opcodes && \
4829 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4830 $(TARGET-stage3-opcodes)
4832 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4833 clean-stage3: clean-stage3-opcodes
4834 clean-stage3-opcodes:
4835 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4836 || exit 0 ; \
4837 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4838 cd $(HOST_SUBDIR)/opcodes && \
4839 $(MAKE) $(FLAGS_TO_PASS) \
4840 $(POSTSTAGE1_FLAGS_TO_PASS) \
4841 clean
4842 @endif opcodes-bootstrap
4845 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4846 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4847 maybe-all-stage4-opcodes:
4848 maybe-clean-stage4-opcodes:
4849 @if opcodes-bootstrap
4850 maybe-all-stage4-opcodes: all-stage4-opcodes
4851 all-stage4: all-stage4-opcodes
4852 TARGET-stage4-opcodes = $(TARGET-opcodes)
4853 all-stage4-opcodes: configure-stage4-opcodes
4854 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4855 @r=`${PWD_COMMAND}`; export r; \
4856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4857 $(HOST_EXPORTS) \
4858 $(POSTSTAGE1_HOST_EXPORTS) \
4859 cd $(HOST_SUBDIR)/opcodes && \
4860 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4861 $(TARGET-stage4-opcodes)
4863 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4864 clean-stage4: clean-stage4-opcodes
4865 clean-stage4-opcodes:
4866 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4867 || exit 0 ; \
4868 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4869 cd $(HOST_SUBDIR)/opcodes && \
4870 $(MAKE) $(FLAGS_TO_PASS) \
4871 $(POSTSTAGE1_FLAGS_TO_PASS) \
4872 clean
4873 @endif opcodes-bootstrap
4876 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4877 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4878 maybe-all-stageprofile-opcodes:
4879 maybe-clean-stageprofile-opcodes:
4880 @if opcodes-bootstrap
4881 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4882 all-stageprofile: all-stageprofile-opcodes
4883 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4884 all-stageprofile-opcodes: configure-stageprofile-opcodes
4885 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4886 @r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 $(HOST_EXPORTS) \
4889 $(POSTSTAGE1_HOST_EXPORTS) \
4890 cd $(HOST_SUBDIR)/opcodes && \
4891 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4892 $(TARGET-stageprofile-opcodes)
4894 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4895 clean-stageprofile: clean-stageprofile-opcodes
4896 clean-stageprofile-opcodes:
4897 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4898 || exit 0 ; \
4899 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4900 cd $(HOST_SUBDIR)/opcodes && \
4901 $(MAKE) $(FLAGS_TO_PASS) \
4902 $(POSTSTAGE1_FLAGS_TO_PASS) \
4903 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4904 @endif opcodes-bootstrap
4907 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4908 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4909 maybe-all-stagefeedback-opcodes:
4910 maybe-clean-stagefeedback-opcodes:
4911 @if opcodes-bootstrap
4912 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4913 all-stagefeedback: all-stagefeedback-opcodes
4914 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4915 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4916 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4917 @r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 $(HOST_EXPORTS) \
4920 $(POSTSTAGE1_HOST_EXPORTS) \
4921 cd $(HOST_SUBDIR)/opcodes && \
4922 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4923 $(TARGET-stagefeedback-opcodes)
4925 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4926 clean-stagefeedback: clean-stagefeedback-opcodes
4927 clean-stagefeedback-opcodes:
4928 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4929 || exit 0 ; \
4930 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4931 cd $(HOST_SUBDIR)/opcodes && \
4932 $(MAKE) $(FLAGS_TO_PASS) \
4933 $(POSTSTAGE1_FLAGS_TO_PASS) \
4934 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4935 @endif opcodes-bootstrap
4941 .PHONY: check-opcodes maybe-check-opcodes
4942 maybe-check-opcodes:
4943 @if opcodes
4944 maybe-check-opcodes: check-opcodes
4946 check-opcodes:
4947 @$(unstage)
4948 @r=`${PWD_COMMAND}`; export r; \
4949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4950 $(HOST_EXPORTS) \
4951 (cd $(HOST_SUBDIR)/opcodes && \
4952 $(MAKE) $(FLAGS_TO_PASS) check)
4954 @endif opcodes
4956 .PHONY: install-opcodes maybe-install-opcodes
4957 maybe-install-opcodes:
4958 @if opcodes
4959 maybe-install-opcodes: install-opcodes
4961 install-opcodes: installdirs
4962 @$(unstage)
4963 @r=`${PWD_COMMAND}`; export r; \
4964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 $(HOST_EXPORTS) \
4966 (cd $(HOST_SUBDIR)/opcodes && \
4967 $(MAKE) $(FLAGS_TO_PASS) install)
4969 @endif opcodes
4971 # Other targets (info, dvi, etc.)
4973 .PHONY: maybe-info-opcodes info-opcodes
4974 maybe-info-opcodes:
4975 @if opcodes
4976 maybe-info-opcodes: info-opcodes
4978 info-opcodes: \
4979 configure-opcodes
4980 @[ -f ./opcodes/Makefile ] || exit 0; \
4981 r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983 $(HOST_EXPORTS) \
4984 for flag in $(EXTRA_HOST_FLAGS) ; do \
4985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4986 done; \
4987 echo "Doing info in opcodes" ; \
4988 (cd $(HOST_SUBDIR)/opcodes && \
4989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4991 "RANLIB=$${RANLIB}" \
4992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4993 info) \
4994 || exit 1
4996 @endif opcodes
4998 .PHONY: maybe-dvi-opcodes dvi-opcodes
4999 maybe-dvi-opcodes:
5000 @if opcodes
5001 maybe-dvi-opcodes: dvi-opcodes
5003 dvi-opcodes: \
5004 configure-opcodes
5005 @[ -f ./opcodes/Makefile ] || exit 0; \
5006 r=`${PWD_COMMAND}`; export r; \
5007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5008 $(HOST_EXPORTS) \
5009 for flag in $(EXTRA_HOST_FLAGS) ; do \
5010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5011 done; \
5012 echo "Doing dvi in opcodes" ; \
5013 (cd $(HOST_SUBDIR)/opcodes && \
5014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5016 "RANLIB=$${RANLIB}" \
5017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5018 dvi) \
5019 || exit 1
5021 @endif opcodes
5023 .PHONY: maybe-html-opcodes html-opcodes
5024 maybe-html-opcodes:
5025 @if opcodes
5026 maybe-html-opcodes: html-opcodes
5028 html-opcodes: \
5029 configure-opcodes
5030 @[ -f ./opcodes/Makefile ] || exit 0; \
5031 r=`${PWD_COMMAND}`; export r; \
5032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5033 $(HOST_EXPORTS) \
5034 for flag in $(EXTRA_HOST_FLAGS) ; do \
5035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5036 done; \
5037 echo "Doing html in opcodes" ; \
5038 (cd $(HOST_SUBDIR)/opcodes && \
5039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5041 "RANLIB=$${RANLIB}" \
5042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5043 html) \
5044 || exit 1
5046 @endif opcodes
5048 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5049 maybe-TAGS-opcodes:
5050 @if opcodes
5051 maybe-TAGS-opcodes: TAGS-opcodes
5053 TAGS-opcodes: \
5054 configure-opcodes
5055 @[ -f ./opcodes/Makefile ] || exit 0; \
5056 r=`${PWD_COMMAND}`; export r; \
5057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5058 $(HOST_EXPORTS) \
5059 for flag in $(EXTRA_HOST_FLAGS) ; do \
5060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5061 done; \
5062 echo "Doing TAGS in opcodes" ; \
5063 (cd $(HOST_SUBDIR)/opcodes && \
5064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5066 "RANLIB=$${RANLIB}" \
5067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5068 TAGS) \
5069 || exit 1
5071 @endif opcodes
5073 .PHONY: maybe-install-info-opcodes install-info-opcodes
5074 maybe-install-info-opcodes:
5075 @if opcodes
5076 maybe-install-info-opcodes: install-info-opcodes
5078 install-info-opcodes: \
5079 configure-opcodes \
5080 info-opcodes
5081 @[ -f ./opcodes/Makefile ] || exit 0; \
5082 r=`${PWD_COMMAND}`; export r; \
5083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5084 $(HOST_EXPORTS) \
5085 for flag in $(EXTRA_HOST_FLAGS) ; do \
5086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5087 done; \
5088 echo "Doing install-info in opcodes" ; \
5089 (cd $(HOST_SUBDIR)/opcodes && \
5090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5092 "RANLIB=$${RANLIB}" \
5093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5094 install-info) \
5095 || exit 1
5097 @endif opcodes
5099 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5100 maybe-installcheck-opcodes:
5101 @if opcodes
5102 maybe-installcheck-opcodes: installcheck-opcodes
5104 installcheck-opcodes: \
5105 configure-opcodes
5106 @[ -f ./opcodes/Makefile ] || exit 0; \
5107 r=`${PWD_COMMAND}`; export r; \
5108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5109 $(HOST_EXPORTS) \
5110 for flag in $(EXTRA_HOST_FLAGS) ; do \
5111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5112 done; \
5113 echo "Doing installcheck in opcodes" ; \
5114 (cd $(HOST_SUBDIR)/opcodes && \
5115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5117 "RANLIB=$${RANLIB}" \
5118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5119 installcheck) \
5120 || exit 1
5122 @endif opcodes
5124 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5125 maybe-mostlyclean-opcodes:
5126 @if opcodes
5127 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5129 mostlyclean-opcodes:
5130 @[ -f ./opcodes/Makefile ] || exit 0; \
5131 r=`${PWD_COMMAND}`; export r; \
5132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5133 $(HOST_EXPORTS) \
5134 for flag in $(EXTRA_HOST_FLAGS) ; do \
5135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5136 done; \
5137 echo "Doing mostlyclean in opcodes" ; \
5138 (cd $(HOST_SUBDIR)/opcodes && \
5139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5141 "RANLIB=$${RANLIB}" \
5142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5143 mostlyclean) \
5144 || exit 1
5146 @endif opcodes
5148 .PHONY: maybe-clean-opcodes clean-opcodes
5149 maybe-clean-opcodes:
5150 @if opcodes
5151 maybe-clean-opcodes: clean-opcodes
5153 clean-opcodes:
5154 @[ -f ./opcodes/Makefile ] || exit 0; \
5155 r=`${PWD_COMMAND}`; export r; \
5156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5157 $(HOST_EXPORTS) \
5158 for flag in $(EXTRA_HOST_FLAGS) ; do \
5159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5160 done; \
5161 echo "Doing clean in opcodes" ; \
5162 (cd $(HOST_SUBDIR)/opcodes && \
5163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5165 "RANLIB=$${RANLIB}" \
5166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5167 clean) \
5168 || exit 1
5170 @endif opcodes
5172 .PHONY: maybe-distclean-opcodes distclean-opcodes
5173 maybe-distclean-opcodes:
5174 @if opcodes
5175 maybe-distclean-opcodes: distclean-opcodes
5177 distclean-opcodes:
5178 @[ -f ./opcodes/Makefile ] || exit 0; \
5179 r=`${PWD_COMMAND}`; export r; \
5180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5181 $(HOST_EXPORTS) \
5182 for flag in $(EXTRA_HOST_FLAGS) ; do \
5183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5184 done; \
5185 echo "Doing distclean in opcodes" ; \
5186 (cd $(HOST_SUBDIR)/opcodes && \
5187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5189 "RANLIB=$${RANLIB}" \
5190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5191 distclean) \
5192 || exit 1
5194 @endif opcodes
5196 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5197 maybe-maintainer-clean-opcodes:
5198 @if opcodes
5199 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5201 maintainer-clean-opcodes:
5202 @[ -f ./opcodes/Makefile ] || exit 0; \
5203 r=`${PWD_COMMAND}`; export r; \
5204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5205 $(HOST_EXPORTS) \
5206 for flag in $(EXTRA_HOST_FLAGS) ; do \
5207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5208 done; \
5209 echo "Doing maintainer-clean in opcodes" ; \
5210 (cd $(HOST_SUBDIR)/opcodes && \
5211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5213 "RANLIB=$${RANLIB}" \
5214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5215 maintainer-clean) \
5216 || exit 1
5218 @endif opcodes
5222 .PHONY: configure-binutils maybe-configure-binutils
5223 maybe-configure-binutils:
5224 @if binutils
5225 maybe-configure-binutils: configure-binutils
5226 configure-binutils:
5227 @test -f stage_last && exit 0; \
5228 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5230 r=`${PWD_COMMAND}`; export r; \
5231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5232 $(HOST_EXPORTS) \
5233 echo Configuring in $(HOST_SUBDIR)/binutils; \
5234 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5235 case $(srcdir) in \
5236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5237 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5239 esac; \
5240 srcdiroption="--srcdir=$${topdir}/binutils"; \
5241 libsrcdir="$$s/binutils"; \
5242 $(SHELL) $${libsrcdir}/configure \
5243 $(HOST_CONFIGARGS) $${srcdiroption} \
5244 || exit 1
5245 @endif binutils
5249 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5250 maybe-configure-stage1-binutils:
5251 @if binutils-bootstrap
5252 maybe-configure-stage1-binutils: configure-stage1-binutils
5253 configure-stage1-binutils:
5254 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5255 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5256 r=`${PWD_COMMAND}`; export r; \
5257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5258 $(HOST_EXPORTS) \
5259 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5260 cd $(HOST_SUBDIR)/binutils || exit 1; \
5261 case $(srcdir) in \
5262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5263 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5265 esac; \
5266 srcdiroption="--srcdir=$${topdir}/binutils"; \
5267 libsrcdir="$$s/binutils"; \
5268 $(SHELL) $${libsrcdir}/configure \
5269 $(HOST_CONFIGARGS) $${srcdiroption} \
5270 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5271 @endif binutils-bootstrap
5273 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5274 maybe-configure-stage2-binutils:
5275 @if binutils-bootstrap
5276 maybe-configure-stage2-binutils: configure-stage2-binutils
5277 configure-stage2-binutils:
5278 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5279 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5280 r=`${PWD_COMMAND}`; export r; \
5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5282 $(HOST_EXPORTS) \
5283 $(POSTSTAGE1_HOST_EXPORTS) \
5284 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5285 cd $(HOST_SUBDIR)/binutils || exit 1; \
5286 case $(srcdir) in \
5287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5288 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5290 esac; \
5291 srcdiroption="--srcdir=$${topdir}/binutils"; \
5292 libsrcdir="$$s/binutils"; \
5293 $(SHELL) $${libsrcdir}/configure \
5294 $(HOST_CONFIGARGS) $${srcdiroption} \
5295 @stage2_werror_flag@
5296 @endif binutils-bootstrap
5298 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5299 maybe-configure-stage3-binutils:
5300 @if binutils-bootstrap
5301 maybe-configure-stage3-binutils: configure-stage3-binutils
5302 configure-stage3-binutils:
5303 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5304 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5305 r=`${PWD_COMMAND}`; export r; \
5306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5307 $(HOST_EXPORTS) \
5308 $(POSTSTAGE1_HOST_EXPORTS) \
5309 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5310 cd $(HOST_SUBDIR)/binutils || exit 1; \
5311 case $(srcdir) in \
5312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5313 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5315 esac; \
5316 srcdiroption="--srcdir=$${topdir}/binutils"; \
5317 libsrcdir="$$s/binutils"; \
5318 $(SHELL) $${libsrcdir}/configure \
5319 $(HOST_CONFIGARGS) $${srcdiroption} \
5320 @stage2_werror_flag@
5321 @endif binutils-bootstrap
5323 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5324 maybe-configure-stage4-binutils:
5325 @if binutils-bootstrap
5326 maybe-configure-stage4-binutils: configure-stage4-binutils
5327 configure-stage4-binutils:
5328 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5329 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5330 r=`${PWD_COMMAND}`; export r; \
5331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5332 $(HOST_EXPORTS) \
5333 $(POSTSTAGE1_HOST_EXPORTS) \
5334 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5335 cd $(HOST_SUBDIR)/binutils || exit 1; \
5336 case $(srcdir) in \
5337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5338 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5340 esac; \
5341 srcdiroption="--srcdir=$${topdir}/binutils"; \
5342 libsrcdir="$$s/binutils"; \
5343 $(SHELL) $${libsrcdir}/configure \
5344 $(HOST_CONFIGARGS) $${srcdiroption} \
5345 @stage2_werror_flag@
5346 @endif binutils-bootstrap
5348 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5349 maybe-configure-stageprofile-binutils:
5350 @if binutils-bootstrap
5351 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5352 configure-stageprofile-binutils:
5353 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5354 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5355 r=`${PWD_COMMAND}`; export r; \
5356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5357 $(HOST_EXPORTS) \
5358 $(POSTSTAGE1_HOST_EXPORTS) \
5359 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5360 cd $(HOST_SUBDIR)/binutils || exit 1; \
5361 case $(srcdir) in \
5362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5363 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5365 esac; \
5366 srcdiroption="--srcdir=$${topdir}/binutils"; \
5367 libsrcdir="$$s/binutils"; \
5368 $(SHELL) $${libsrcdir}/configure \
5369 $(HOST_CONFIGARGS) $${srcdiroption} \
5370 @stage2_werror_flag@
5371 @endif binutils-bootstrap
5373 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5374 maybe-configure-stagefeedback-binutils:
5375 @if binutils-bootstrap
5376 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5377 configure-stagefeedback-binutils:
5378 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5379 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5380 r=`${PWD_COMMAND}`; export r; \
5381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5382 $(HOST_EXPORTS) \
5383 $(POSTSTAGE1_HOST_EXPORTS) \
5384 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5385 cd $(HOST_SUBDIR)/binutils || exit 1; \
5386 case $(srcdir) in \
5387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5388 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5390 esac; \
5391 srcdiroption="--srcdir=$${topdir}/binutils"; \
5392 libsrcdir="$$s/binutils"; \
5393 $(SHELL) $${libsrcdir}/configure \
5394 $(HOST_CONFIGARGS) $${srcdiroption} \
5395 @stage2_werror_flag@
5396 @endif binutils-bootstrap
5402 .PHONY: all-binutils maybe-all-binutils
5403 maybe-all-binutils:
5404 @if binutils
5405 TARGET-binutils=all
5406 maybe-all-binutils: all-binutils
5407 all-binutils: configure-binutils
5408 @test -f stage_last && exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5411 $(HOST_EXPORTS) \
5412 (cd $(HOST_SUBDIR)/binutils && \
5413 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5414 @endif binutils
5418 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5419 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5420 maybe-all-stage1-binutils:
5421 maybe-clean-stage1-binutils:
5422 @if binutils-bootstrap
5423 maybe-all-stage1-binutils: all-stage1-binutils
5424 all-stage1: all-stage1-binutils
5425 TARGET-stage1-binutils = $(TARGET-binutils)
5426 all-stage1-binutils: configure-stage1-binutils
5427 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5428 @r=`${PWD_COMMAND}`; export r; \
5429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5430 $(HOST_EXPORTS) \
5431 cd $(HOST_SUBDIR)/binutils && \
5432 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5433 $(TARGET-stage1-binutils)
5435 maybe-clean-stage1-binutils: clean-stage1-binutils
5436 clean-stage1: clean-stage1-binutils
5437 clean-stage1-binutils:
5438 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5439 || exit 0 ; \
5440 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5441 cd $(HOST_SUBDIR)/binutils && \
5442 $(MAKE) $(FLAGS_TO_PASS) \
5443 CFLAGS="$(STAGE1_CFLAGS)" clean
5444 @endif binutils-bootstrap
5447 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5448 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5449 maybe-all-stage2-binutils:
5450 maybe-clean-stage2-binutils:
5451 @if binutils-bootstrap
5452 maybe-all-stage2-binutils: all-stage2-binutils
5453 all-stage2: all-stage2-binutils
5454 TARGET-stage2-binutils = $(TARGET-binutils)
5455 all-stage2-binutils: configure-stage2-binutils
5456 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5457 @r=`${PWD_COMMAND}`; export r; \
5458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5459 $(HOST_EXPORTS) \
5460 $(POSTSTAGE1_HOST_EXPORTS) \
5461 cd $(HOST_SUBDIR)/binutils && \
5462 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5463 $(TARGET-stage2-binutils)
5465 maybe-clean-stage2-binutils: clean-stage2-binutils
5466 clean-stage2: clean-stage2-binutils
5467 clean-stage2-binutils:
5468 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5469 || exit 0 ; \
5470 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5471 cd $(HOST_SUBDIR)/binutils && \
5472 $(MAKE) $(FLAGS_TO_PASS) \
5473 $(POSTSTAGE1_FLAGS_TO_PASS) \
5474 clean
5475 @endif binutils-bootstrap
5478 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5479 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5480 maybe-all-stage3-binutils:
5481 maybe-clean-stage3-binutils:
5482 @if binutils-bootstrap
5483 maybe-all-stage3-binutils: all-stage3-binutils
5484 all-stage3: all-stage3-binutils
5485 TARGET-stage3-binutils = $(TARGET-binutils)
5486 all-stage3-binutils: configure-stage3-binutils
5487 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5488 @r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490 $(HOST_EXPORTS) \
5491 $(POSTSTAGE1_HOST_EXPORTS) \
5492 cd $(HOST_SUBDIR)/binutils && \
5493 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5494 $(TARGET-stage3-binutils)
5496 maybe-clean-stage3-binutils: clean-stage3-binutils
5497 clean-stage3: clean-stage3-binutils
5498 clean-stage3-binutils:
5499 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5500 || exit 0 ; \
5501 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5502 cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(FLAGS_TO_PASS) \
5504 $(POSTSTAGE1_FLAGS_TO_PASS) \
5505 clean
5506 @endif binutils-bootstrap
5509 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5510 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5511 maybe-all-stage4-binutils:
5512 maybe-clean-stage4-binutils:
5513 @if binutils-bootstrap
5514 maybe-all-stage4-binutils: all-stage4-binutils
5515 all-stage4: all-stage4-binutils
5516 TARGET-stage4-binutils = $(TARGET-binutils)
5517 all-stage4-binutils: configure-stage4-binutils
5518 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5519 @r=`${PWD_COMMAND}`; export r; \
5520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 $(HOST_EXPORTS) \
5522 $(POSTSTAGE1_HOST_EXPORTS) \
5523 cd $(HOST_SUBDIR)/binutils && \
5524 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5525 $(TARGET-stage4-binutils)
5527 maybe-clean-stage4-binutils: clean-stage4-binutils
5528 clean-stage4: clean-stage4-binutils
5529 clean-stage4-binutils:
5530 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5531 || exit 0 ; \
5532 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5533 cd $(HOST_SUBDIR)/binutils && \
5534 $(MAKE) $(FLAGS_TO_PASS) \
5535 $(POSTSTAGE1_FLAGS_TO_PASS) \
5536 clean
5537 @endif binutils-bootstrap
5540 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5541 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5542 maybe-all-stageprofile-binutils:
5543 maybe-clean-stageprofile-binutils:
5544 @if binutils-bootstrap
5545 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5546 all-stageprofile: all-stageprofile-binutils
5547 TARGET-stageprofile-binutils = $(TARGET-binutils)
5548 all-stageprofile-binutils: configure-stageprofile-binutils
5549 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5550 @r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 $(HOST_EXPORTS) \
5553 $(POSTSTAGE1_HOST_EXPORTS) \
5554 cd $(HOST_SUBDIR)/binutils && \
5555 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5556 $(TARGET-stageprofile-binutils)
5558 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5559 clean-stageprofile: clean-stageprofile-binutils
5560 clean-stageprofile-binutils:
5561 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5562 || exit 0 ; \
5563 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5564 cd $(HOST_SUBDIR)/binutils && \
5565 $(MAKE) $(FLAGS_TO_PASS) \
5566 $(POSTSTAGE1_FLAGS_TO_PASS) \
5567 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5568 @endif binutils-bootstrap
5571 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5572 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5573 maybe-all-stagefeedback-binutils:
5574 maybe-clean-stagefeedback-binutils:
5575 @if binutils-bootstrap
5576 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5577 all-stagefeedback: all-stagefeedback-binutils
5578 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5579 all-stagefeedback-binutils: configure-stagefeedback-binutils
5580 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5581 @r=`${PWD_COMMAND}`; export r; \
5582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5583 $(HOST_EXPORTS) \
5584 $(POSTSTAGE1_HOST_EXPORTS) \
5585 cd $(HOST_SUBDIR)/binutils && \
5586 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5587 $(TARGET-stagefeedback-binutils)
5589 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5590 clean-stagefeedback: clean-stagefeedback-binutils
5591 clean-stagefeedback-binutils:
5592 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5593 || exit 0 ; \
5594 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5595 cd $(HOST_SUBDIR)/binutils && \
5596 $(MAKE) $(FLAGS_TO_PASS) \
5597 $(POSTSTAGE1_FLAGS_TO_PASS) \
5598 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5599 @endif binutils-bootstrap
5605 .PHONY: check-binutils maybe-check-binutils
5606 maybe-check-binutils:
5607 @if binutils
5608 maybe-check-binutils: check-binutils
5610 check-binutils:
5611 @$(unstage)
5612 @r=`${PWD_COMMAND}`; export r; \
5613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5614 $(HOST_EXPORTS) \
5615 (cd $(HOST_SUBDIR)/binutils && \
5616 $(MAKE) $(FLAGS_TO_PASS) check)
5618 @endif binutils
5620 .PHONY: install-binutils maybe-install-binutils
5621 maybe-install-binutils:
5622 @if binutils
5623 maybe-install-binutils: install-binutils
5625 install-binutils: installdirs
5626 @$(unstage)
5627 @r=`${PWD_COMMAND}`; export r; \
5628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 $(HOST_EXPORTS) \
5630 (cd $(HOST_SUBDIR)/binutils && \
5631 $(MAKE) $(FLAGS_TO_PASS) install)
5633 @endif binutils
5635 # Other targets (info, dvi, etc.)
5637 .PHONY: maybe-info-binutils info-binutils
5638 maybe-info-binutils:
5639 @if binutils
5640 maybe-info-binutils: info-binutils
5642 info-binutils: \
5643 configure-binutils
5644 @[ -f ./binutils/Makefile ] || exit 0; \
5645 r=`${PWD_COMMAND}`; export r; \
5646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5647 $(HOST_EXPORTS) \
5648 for flag in $(EXTRA_HOST_FLAGS) ; do \
5649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5650 done; \
5651 echo "Doing info in binutils" ; \
5652 (cd $(HOST_SUBDIR)/binutils && \
5653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5655 "RANLIB=$${RANLIB}" \
5656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5657 info) \
5658 || exit 1
5660 @endif binutils
5662 .PHONY: maybe-dvi-binutils dvi-binutils
5663 maybe-dvi-binutils:
5664 @if binutils
5665 maybe-dvi-binutils: dvi-binutils
5667 dvi-binutils: \
5668 configure-binutils
5669 @[ -f ./binutils/Makefile ] || exit 0; \
5670 r=`${PWD_COMMAND}`; export r; \
5671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5672 $(HOST_EXPORTS) \
5673 for flag in $(EXTRA_HOST_FLAGS) ; do \
5674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5675 done; \
5676 echo "Doing dvi in binutils" ; \
5677 (cd $(HOST_SUBDIR)/binutils && \
5678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5680 "RANLIB=$${RANLIB}" \
5681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5682 dvi) \
5683 || exit 1
5685 @endif binutils
5687 .PHONY: maybe-html-binutils html-binutils
5688 maybe-html-binutils:
5689 @if binutils
5690 maybe-html-binutils: html-binutils
5692 html-binutils: \
5693 configure-binutils
5694 @[ -f ./binutils/Makefile ] || exit 0; \
5695 r=`${PWD_COMMAND}`; export r; \
5696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5697 $(HOST_EXPORTS) \
5698 for flag in $(EXTRA_HOST_FLAGS) ; do \
5699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5700 done; \
5701 echo "Doing html in binutils" ; \
5702 (cd $(HOST_SUBDIR)/binutils && \
5703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5705 "RANLIB=$${RANLIB}" \
5706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5707 html) \
5708 || exit 1
5710 @endif binutils
5712 .PHONY: maybe-TAGS-binutils TAGS-binutils
5713 maybe-TAGS-binutils:
5714 @if binutils
5715 maybe-TAGS-binutils: TAGS-binutils
5717 TAGS-binutils: \
5718 configure-binutils
5719 @[ -f ./binutils/Makefile ] || exit 0; \
5720 r=`${PWD_COMMAND}`; export r; \
5721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5722 $(HOST_EXPORTS) \
5723 for flag in $(EXTRA_HOST_FLAGS) ; do \
5724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5725 done; \
5726 echo "Doing TAGS in binutils" ; \
5727 (cd $(HOST_SUBDIR)/binutils && \
5728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730 "RANLIB=$${RANLIB}" \
5731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5732 TAGS) \
5733 || exit 1
5735 @endif binutils
5737 .PHONY: maybe-install-info-binutils install-info-binutils
5738 maybe-install-info-binutils:
5739 @if binutils
5740 maybe-install-info-binutils: install-info-binutils
5742 install-info-binutils: \
5743 configure-binutils \
5744 info-binutils
5745 @[ -f ./binutils/Makefile ] || exit 0; \
5746 r=`${PWD_COMMAND}`; export r; \
5747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5748 $(HOST_EXPORTS) \
5749 for flag in $(EXTRA_HOST_FLAGS) ; do \
5750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5751 done; \
5752 echo "Doing install-info in binutils" ; \
5753 (cd $(HOST_SUBDIR)/binutils && \
5754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5756 "RANLIB=$${RANLIB}" \
5757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5758 install-info) \
5759 || exit 1
5761 @endif binutils
5763 .PHONY: maybe-installcheck-binutils installcheck-binutils
5764 maybe-installcheck-binutils:
5765 @if binutils
5766 maybe-installcheck-binutils: installcheck-binutils
5768 installcheck-binutils: \
5769 configure-binutils
5770 @[ -f ./binutils/Makefile ] || exit 0; \
5771 r=`${PWD_COMMAND}`; export r; \
5772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773 $(HOST_EXPORTS) \
5774 for flag in $(EXTRA_HOST_FLAGS) ; do \
5775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5776 done; \
5777 echo "Doing installcheck in binutils" ; \
5778 (cd $(HOST_SUBDIR)/binutils && \
5779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5781 "RANLIB=$${RANLIB}" \
5782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5783 installcheck) \
5784 || exit 1
5786 @endif binutils
5788 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5789 maybe-mostlyclean-binutils:
5790 @if binutils
5791 maybe-mostlyclean-binutils: mostlyclean-binutils
5793 mostlyclean-binutils:
5794 @[ -f ./binutils/Makefile ] || exit 0; \
5795 r=`${PWD_COMMAND}`; export r; \
5796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5797 $(HOST_EXPORTS) \
5798 for flag in $(EXTRA_HOST_FLAGS) ; do \
5799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5800 done; \
5801 echo "Doing mostlyclean in binutils" ; \
5802 (cd $(HOST_SUBDIR)/binutils && \
5803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5805 "RANLIB=$${RANLIB}" \
5806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5807 mostlyclean) \
5808 || exit 1
5810 @endif binutils
5812 .PHONY: maybe-clean-binutils clean-binutils
5813 maybe-clean-binutils:
5814 @if binutils
5815 maybe-clean-binutils: clean-binutils
5817 clean-binutils:
5818 @[ -f ./binutils/Makefile ] || exit 0; \
5819 r=`${PWD_COMMAND}`; export r; \
5820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5821 $(HOST_EXPORTS) \
5822 for flag in $(EXTRA_HOST_FLAGS) ; do \
5823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5824 done; \
5825 echo "Doing clean in binutils" ; \
5826 (cd $(HOST_SUBDIR)/binutils && \
5827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5829 "RANLIB=$${RANLIB}" \
5830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5831 clean) \
5832 || exit 1
5834 @endif binutils
5836 .PHONY: maybe-distclean-binutils distclean-binutils
5837 maybe-distclean-binutils:
5838 @if binutils
5839 maybe-distclean-binutils: distclean-binutils
5841 distclean-binutils:
5842 @[ -f ./binutils/Makefile ] || exit 0; \
5843 r=`${PWD_COMMAND}`; export r; \
5844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5845 $(HOST_EXPORTS) \
5846 for flag in $(EXTRA_HOST_FLAGS) ; do \
5847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5848 done; \
5849 echo "Doing distclean in binutils" ; \
5850 (cd $(HOST_SUBDIR)/binutils && \
5851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5853 "RANLIB=$${RANLIB}" \
5854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5855 distclean) \
5856 || exit 1
5858 @endif binutils
5860 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5861 maybe-maintainer-clean-binutils:
5862 @if binutils
5863 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5865 maintainer-clean-binutils:
5866 @[ -f ./binutils/Makefile ] || exit 0; \
5867 r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5869 $(HOST_EXPORTS) \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5872 done; \
5873 echo "Doing maintainer-clean in binutils" ; \
5874 (cd $(HOST_SUBDIR)/binutils && \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5879 maintainer-clean) \
5880 || exit 1
5882 @endif binutils
5886 .PHONY: configure-bison maybe-configure-bison
5887 maybe-configure-bison:
5888 @if bison
5889 maybe-configure-bison: configure-bison
5890 configure-bison:
5891 @$(unstage)
5892 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5894 r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 $(HOST_EXPORTS) \
5897 echo Configuring in $(HOST_SUBDIR)/bison; \
5898 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5899 case $(srcdir) in \
5900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5901 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5903 esac; \
5904 srcdiroption="--srcdir=$${topdir}/bison"; \
5905 libsrcdir="$$s/bison"; \
5906 $(SHELL) $${libsrcdir}/configure \
5907 $(HOST_CONFIGARGS) $${srcdiroption} \
5908 || exit 1
5909 @endif bison
5915 .PHONY: all-bison maybe-all-bison
5916 maybe-all-bison:
5917 @if bison
5918 TARGET-bison=all
5919 maybe-all-bison: all-bison
5920 all-bison: configure-bison
5921 @$(unstage)
5922 @r=`${PWD_COMMAND}`; export r; \
5923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5924 $(HOST_EXPORTS) \
5925 (cd $(HOST_SUBDIR)/bison && \
5926 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5927 @endif bison
5932 .PHONY: check-bison maybe-check-bison
5933 maybe-check-bison:
5934 @if bison
5935 maybe-check-bison: check-bison
5937 # This module is only tested in a native toolchain.
5938 check-bison:
5939 @$(unstage)
5940 @if [ '$(host)' = '$(target)' ] ; then \
5941 r=`${PWD_COMMAND}`; export r; \
5942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5943 $(HOST_EXPORTS) \
5944 (cd $(HOST_SUBDIR)/bison && \
5945 $(MAKE) $(FLAGS_TO_PASS) check); \
5948 @endif bison
5950 .PHONY: install-bison maybe-install-bison
5951 maybe-install-bison:
5952 @if bison
5953 maybe-install-bison: install-bison
5955 install-bison: installdirs
5956 @$(unstage)
5957 @r=`${PWD_COMMAND}`; export r; \
5958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5959 $(HOST_EXPORTS) \
5960 (cd $(HOST_SUBDIR)/bison && \
5961 $(MAKE) $(FLAGS_TO_PASS) install)
5963 @endif bison
5965 # Other targets (info, dvi, etc.)
5967 .PHONY: maybe-info-bison info-bison
5968 maybe-info-bison:
5969 @if bison
5970 maybe-info-bison: info-bison
5972 info-bison: \
5973 configure-bison
5974 @$(unstage)
5975 @[ -f ./bison/Makefile ] || exit 0; \
5976 r=`${PWD_COMMAND}`; export r; \
5977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5978 $(HOST_EXPORTS) \
5979 for flag in $(EXTRA_HOST_FLAGS) ; do \
5980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5981 done; \
5982 echo "Doing info in bison" ; \
5983 (cd $(HOST_SUBDIR)/bison && \
5984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5986 "RANLIB=$${RANLIB}" \
5987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5988 info) \
5989 || exit 1
5991 @endif bison
5993 .PHONY: maybe-dvi-bison dvi-bison
5994 maybe-dvi-bison:
5995 @if bison
5996 maybe-dvi-bison: dvi-bison
5998 dvi-bison: \
5999 configure-bison
6000 @$(unstage)
6001 @[ -f ./bison/Makefile ] || exit 0; \
6002 r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6004 $(HOST_EXPORTS) \
6005 for flag in $(EXTRA_HOST_FLAGS) ; do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007 done; \
6008 echo "Doing dvi in bison" ; \
6009 (cd $(HOST_SUBDIR)/bison && \
6010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012 "RANLIB=$${RANLIB}" \
6013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6014 dvi) \
6015 || exit 1
6017 @endif bison
6019 .PHONY: maybe-html-bison html-bison
6020 maybe-html-bison:
6021 @if bison
6022 maybe-html-bison: html-bison
6024 html-bison: \
6025 configure-bison
6026 @$(unstage)
6027 @[ -f ./bison/Makefile ] || exit 0; \
6028 r=`${PWD_COMMAND}`; export r; \
6029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6030 $(HOST_EXPORTS) \
6031 for flag in $(EXTRA_HOST_FLAGS) ; do \
6032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6033 done; \
6034 echo "Doing html in bison" ; \
6035 (cd $(HOST_SUBDIR)/bison && \
6036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6038 "RANLIB=$${RANLIB}" \
6039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6040 html) \
6041 || exit 1
6043 @endif bison
6045 .PHONY: maybe-TAGS-bison TAGS-bison
6046 maybe-TAGS-bison:
6047 @if bison
6048 maybe-TAGS-bison: TAGS-bison
6050 TAGS-bison: \
6051 configure-bison
6052 @$(unstage)
6053 @[ -f ./bison/Makefile ] || exit 0; \
6054 r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 $(HOST_EXPORTS) \
6057 for flag in $(EXTRA_HOST_FLAGS) ; do \
6058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6059 done; \
6060 echo "Doing TAGS in bison" ; \
6061 (cd $(HOST_SUBDIR)/bison && \
6062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6064 "RANLIB=$${RANLIB}" \
6065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6066 TAGS) \
6067 || exit 1
6069 @endif bison
6071 .PHONY: maybe-install-info-bison install-info-bison
6072 maybe-install-info-bison:
6073 @if bison
6074 maybe-install-info-bison: install-info-bison
6076 install-info-bison: \
6077 configure-bison \
6078 info-bison
6079 @$(unstage)
6080 @[ -f ./bison/Makefile ] || exit 0; \
6081 r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 $(HOST_EXPORTS) \
6084 for flag in $(EXTRA_HOST_FLAGS) ; do \
6085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6086 done; \
6087 echo "Doing install-info in bison" ; \
6088 (cd $(HOST_SUBDIR)/bison && \
6089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6091 "RANLIB=$${RANLIB}" \
6092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6093 install-info) \
6094 || exit 1
6096 @endif bison
6098 .PHONY: maybe-installcheck-bison installcheck-bison
6099 maybe-installcheck-bison:
6100 @if bison
6101 maybe-installcheck-bison: installcheck-bison
6103 installcheck-bison: \
6104 configure-bison
6105 @$(unstage)
6106 @[ -f ./bison/Makefile ] || exit 0; \
6107 r=`${PWD_COMMAND}`; export r; \
6108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6109 $(HOST_EXPORTS) \
6110 for flag in $(EXTRA_HOST_FLAGS) ; do \
6111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6112 done; \
6113 echo "Doing installcheck in bison" ; \
6114 (cd $(HOST_SUBDIR)/bison && \
6115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6117 "RANLIB=$${RANLIB}" \
6118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6119 installcheck) \
6120 || exit 1
6122 @endif bison
6124 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6125 maybe-mostlyclean-bison:
6126 @if bison
6127 maybe-mostlyclean-bison: mostlyclean-bison
6129 mostlyclean-bison:
6130 @$(unstage)
6131 @[ -f ./bison/Makefile ] || exit 0; \
6132 r=`${PWD_COMMAND}`; export r; \
6133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6134 $(HOST_EXPORTS) \
6135 for flag in $(EXTRA_HOST_FLAGS) ; do \
6136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6137 done; \
6138 echo "Doing mostlyclean in bison" ; \
6139 (cd $(HOST_SUBDIR)/bison && \
6140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6142 "RANLIB=$${RANLIB}" \
6143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6144 mostlyclean) \
6145 || exit 1
6147 @endif bison
6149 .PHONY: maybe-clean-bison clean-bison
6150 maybe-clean-bison:
6151 @if bison
6152 maybe-clean-bison: clean-bison
6154 clean-bison:
6155 @$(unstage)
6156 @[ -f ./bison/Makefile ] || exit 0; \
6157 r=`${PWD_COMMAND}`; export r; \
6158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6159 $(HOST_EXPORTS) \
6160 for flag in $(EXTRA_HOST_FLAGS) ; do \
6161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6162 done; \
6163 echo "Doing clean in bison" ; \
6164 (cd $(HOST_SUBDIR)/bison && \
6165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6167 "RANLIB=$${RANLIB}" \
6168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6169 clean) \
6170 || exit 1
6172 @endif bison
6174 .PHONY: maybe-distclean-bison distclean-bison
6175 maybe-distclean-bison:
6176 @if bison
6177 maybe-distclean-bison: distclean-bison
6179 distclean-bison:
6180 @$(unstage)
6181 @[ -f ./bison/Makefile ] || exit 0; \
6182 r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 $(HOST_EXPORTS) \
6185 for flag in $(EXTRA_HOST_FLAGS) ; do \
6186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6187 done; \
6188 echo "Doing distclean in bison" ; \
6189 (cd $(HOST_SUBDIR)/bison && \
6190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6192 "RANLIB=$${RANLIB}" \
6193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6194 distclean) \
6195 || exit 1
6197 @endif bison
6199 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6200 maybe-maintainer-clean-bison:
6201 @if bison
6202 maybe-maintainer-clean-bison: maintainer-clean-bison
6204 maintainer-clean-bison:
6205 @$(unstage)
6206 @[ -f ./bison/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 maintainer-clean in bison" ; \
6214 (cd $(HOST_SUBDIR)/bison && \
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 maintainer-clean) \
6220 || exit 1
6222 @endif bison
6226 .PHONY: configure-byacc maybe-configure-byacc
6227 maybe-configure-byacc:
6228 @if byacc
6229 maybe-configure-byacc: configure-byacc
6230 configure-byacc:
6231 @$(unstage)
6232 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6234 r=`${PWD_COMMAND}`; export r; \
6235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6236 $(HOST_EXPORTS) \
6237 echo Configuring in $(HOST_SUBDIR)/byacc; \
6238 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6239 case $(srcdir) in \
6240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6241 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6243 esac; \
6244 srcdiroption="--srcdir=$${topdir}/byacc"; \
6245 libsrcdir="$$s/byacc"; \
6246 $(SHELL) $${libsrcdir}/configure \
6247 $(HOST_CONFIGARGS) $${srcdiroption} \
6248 || exit 1
6249 @endif byacc
6255 .PHONY: all-byacc maybe-all-byacc
6256 maybe-all-byacc:
6257 @if byacc
6258 TARGET-byacc=all
6259 maybe-all-byacc: all-byacc
6260 all-byacc: configure-byacc
6261 @$(unstage)
6262 @r=`${PWD_COMMAND}`; export r; \
6263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6264 $(HOST_EXPORTS) \
6265 (cd $(HOST_SUBDIR)/byacc && \
6266 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6267 @endif byacc
6272 .PHONY: check-byacc maybe-check-byacc
6273 maybe-check-byacc:
6274 @if byacc
6275 maybe-check-byacc: check-byacc
6277 # This module is only tested in a native toolchain.
6278 check-byacc:
6279 @$(unstage)
6280 @if [ '$(host)' = '$(target)' ] ; then \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(HOST_EXPORTS) \
6284 (cd $(HOST_SUBDIR)/byacc && \
6285 $(MAKE) $(FLAGS_TO_PASS) check); \
6288 @endif byacc
6290 .PHONY: install-byacc maybe-install-byacc
6291 maybe-install-byacc:
6292 @if byacc
6293 maybe-install-byacc: install-byacc
6295 install-byacc: installdirs
6296 @$(unstage)
6297 @r=`${PWD_COMMAND}`; export r; \
6298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6299 $(HOST_EXPORTS) \
6300 (cd $(HOST_SUBDIR)/byacc && \
6301 $(MAKE) $(FLAGS_TO_PASS) install)
6303 @endif byacc
6305 # Other targets (info, dvi, etc.)
6307 .PHONY: maybe-info-byacc info-byacc
6308 maybe-info-byacc:
6309 @if byacc
6310 maybe-info-byacc: info-byacc
6312 info-byacc: \
6313 configure-byacc
6314 @$(unstage)
6315 @[ -f ./byacc/Makefile ] || exit 0; \
6316 r=`${PWD_COMMAND}`; export r; \
6317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6318 $(HOST_EXPORTS) \
6319 for flag in $(EXTRA_HOST_FLAGS) ; do \
6320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6321 done; \
6322 echo "Doing info in byacc" ; \
6323 (cd $(HOST_SUBDIR)/byacc && \
6324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6326 "RANLIB=$${RANLIB}" \
6327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6328 info) \
6329 || exit 1
6331 @endif byacc
6333 .PHONY: maybe-dvi-byacc dvi-byacc
6334 maybe-dvi-byacc:
6335 @if byacc
6336 maybe-dvi-byacc: dvi-byacc
6338 dvi-byacc: \
6339 configure-byacc
6340 @$(unstage)
6341 @[ -f ./byacc/Makefile ] || exit 0; \
6342 r=`${PWD_COMMAND}`; export r; \
6343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6344 $(HOST_EXPORTS) \
6345 for flag in $(EXTRA_HOST_FLAGS) ; do \
6346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6347 done; \
6348 echo "Doing dvi in byacc" ; \
6349 (cd $(HOST_SUBDIR)/byacc && \
6350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6352 "RANLIB=$${RANLIB}" \
6353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6354 dvi) \
6355 || exit 1
6357 @endif byacc
6359 .PHONY: maybe-html-byacc html-byacc
6360 maybe-html-byacc:
6361 @if byacc
6362 maybe-html-byacc: html-byacc
6364 html-byacc: \
6365 configure-byacc
6366 @$(unstage)
6367 @[ -f ./byacc/Makefile ] || exit 0; \
6368 r=`${PWD_COMMAND}`; export r; \
6369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6370 $(HOST_EXPORTS) \
6371 for flag in $(EXTRA_HOST_FLAGS) ; do \
6372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6373 done; \
6374 echo "Doing html in byacc" ; \
6375 (cd $(HOST_SUBDIR)/byacc && \
6376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6378 "RANLIB=$${RANLIB}" \
6379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6380 html) \
6381 || exit 1
6383 @endif byacc
6385 .PHONY: maybe-TAGS-byacc TAGS-byacc
6386 maybe-TAGS-byacc:
6387 @if byacc
6388 maybe-TAGS-byacc: TAGS-byacc
6390 TAGS-byacc: \
6391 configure-byacc
6392 @$(unstage)
6393 @[ -f ./byacc/Makefile ] || exit 0; \
6394 r=`${PWD_COMMAND}`; export r; \
6395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6396 $(HOST_EXPORTS) \
6397 for flag in $(EXTRA_HOST_FLAGS) ; do \
6398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6399 done; \
6400 echo "Doing TAGS in byacc" ; \
6401 (cd $(HOST_SUBDIR)/byacc && \
6402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6404 "RANLIB=$${RANLIB}" \
6405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6406 TAGS) \
6407 || exit 1
6409 @endif byacc
6411 .PHONY: maybe-install-info-byacc install-info-byacc
6412 maybe-install-info-byacc:
6413 @if byacc
6414 maybe-install-info-byacc: install-info-byacc
6416 install-info-byacc: \
6417 configure-byacc \
6418 info-byacc
6419 @$(unstage)
6420 @[ -f ./byacc/Makefile ] || exit 0; \
6421 r=`${PWD_COMMAND}`; export r; \
6422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6423 $(HOST_EXPORTS) \
6424 for flag in $(EXTRA_HOST_FLAGS) ; do \
6425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6426 done; \
6427 echo "Doing install-info in byacc" ; \
6428 (cd $(HOST_SUBDIR)/byacc && \
6429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6431 "RANLIB=$${RANLIB}" \
6432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6433 install-info) \
6434 || exit 1
6436 @endif byacc
6438 .PHONY: maybe-installcheck-byacc installcheck-byacc
6439 maybe-installcheck-byacc:
6440 @if byacc
6441 maybe-installcheck-byacc: installcheck-byacc
6443 installcheck-byacc: \
6444 configure-byacc
6445 @$(unstage)
6446 @[ -f ./byacc/Makefile ] || exit 0; \
6447 r=`${PWD_COMMAND}`; export r; \
6448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6449 $(HOST_EXPORTS) \
6450 for flag in $(EXTRA_HOST_FLAGS) ; do \
6451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6452 done; \
6453 echo "Doing installcheck in byacc" ; \
6454 (cd $(HOST_SUBDIR)/byacc && \
6455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6457 "RANLIB=$${RANLIB}" \
6458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6459 installcheck) \
6460 || exit 1
6462 @endif byacc
6464 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6465 maybe-mostlyclean-byacc:
6466 @if byacc
6467 maybe-mostlyclean-byacc: mostlyclean-byacc
6469 mostlyclean-byacc:
6470 @$(unstage)
6471 @[ -f ./byacc/Makefile ] || exit 0; \
6472 r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 $(HOST_EXPORTS) \
6475 for flag in $(EXTRA_HOST_FLAGS) ; do \
6476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6477 done; \
6478 echo "Doing mostlyclean in byacc" ; \
6479 (cd $(HOST_SUBDIR)/byacc && \
6480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6482 "RANLIB=$${RANLIB}" \
6483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6484 mostlyclean) \
6485 || exit 1
6487 @endif byacc
6489 .PHONY: maybe-clean-byacc clean-byacc
6490 maybe-clean-byacc:
6491 @if byacc
6492 maybe-clean-byacc: clean-byacc
6494 clean-byacc:
6495 @$(unstage)
6496 @[ -f ./byacc/Makefile ] || exit 0; \
6497 r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 $(HOST_EXPORTS) \
6500 for flag in $(EXTRA_HOST_FLAGS) ; do \
6501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6502 done; \
6503 echo "Doing clean in byacc" ; \
6504 (cd $(HOST_SUBDIR)/byacc && \
6505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6507 "RANLIB=$${RANLIB}" \
6508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6509 clean) \
6510 || exit 1
6512 @endif byacc
6514 .PHONY: maybe-distclean-byacc distclean-byacc
6515 maybe-distclean-byacc:
6516 @if byacc
6517 maybe-distclean-byacc: distclean-byacc
6519 distclean-byacc:
6520 @$(unstage)
6521 @[ -f ./byacc/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 distclean in byacc" ; \
6529 (cd $(HOST_SUBDIR)/byacc && \
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 distclean) \
6535 || exit 1
6537 @endif byacc
6539 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6540 maybe-maintainer-clean-byacc:
6541 @if byacc
6542 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6544 maintainer-clean-byacc:
6545 @$(unstage)
6546 @[ -f ./byacc/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 maintainer-clean in byacc" ; \
6554 (cd $(HOST_SUBDIR)/byacc && \
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 maintainer-clean) \
6560 || exit 1
6562 @endif byacc
6566 .PHONY: configure-bzip2 maybe-configure-bzip2
6567 maybe-configure-bzip2:
6568 @if bzip2
6569 maybe-configure-bzip2: configure-bzip2
6570 configure-bzip2:
6571 @$(unstage)
6572 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6574 r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(HOST_EXPORTS) \
6577 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6578 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6579 case $(srcdir) in \
6580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6581 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6583 esac; \
6584 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6585 libsrcdir="$$s/bzip2"; \
6586 $(SHELL) $${libsrcdir}/configure \
6587 $(HOST_CONFIGARGS) $${srcdiroption} \
6588 || exit 1
6589 @endif bzip2
6595 .PHONY: all-bzip2 maybe-all-bzip2
6596 maybe-all-bzip2:
6597 @if bzip2
6598 TARGET-bzip2=all
6599 maybe-all-bzip2: all-bzip2
6600 all-bzip2: configure-bzip2
6601 @$(unstage)
6602 @r=`${PWD_COMMAND}`; export r; \
6603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6604 $(HOST_EXPORTS) \
6605 (cd $(HOST_SUBDIR)/bzip2 && \
6606 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6607 @endif bzip2
6612 .PHONY: check-bzip2 maybe-check-bzip2
6613 maybe-check-bzip2:
6614 @if bzip2
6615 maybe-check-bzip2: check-bzip2
6617 check-bzip2:
6618 @$(unstage)
6619 @r=`${PWD_COMMAND}`; export r; \
6620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6621 $(HOST_EXPORTS) \
6622 (cd $(HOST_SUBDIR)/bzip2 && \
6623 $(MAKE) $(FLAGS_TO_PASS) check)
6625 @endif bzip2
6627 .PHONY: install-bzip2 maybe-install-bzip2
6628 maybe-install-bzip2:
6629 @if bzip2
6630 maybe-install-bzip2: install-bzip2
6632 install-bzip2: installdirs
6633 @$(unstage)
6634 @r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 $(HOST_EXPORTS) \
6637 (cd $(HOST_SUBDIR)/bzip2 && \
6638 $(MAKE) $(FLAGS_TO_PASS) install)
6640 @endif bzip2
6642 # Other targets (info, dvi, etc.)
6644 .PHONY: maybe-info-bzip2 info-bzip2
6645 maybe-info-bzip2:
6646 @if bzip2
6647 maybe-info-bzip2: info-bzip2
6649 info-bzip2: \
6650 configure-bzip2
6651 @$(unstage)
6652 @[ -f ./bzip2/Makefile ] || exit 0; \
6653 r=`${PWD_COMMAND}`; export r; \
6654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6655 $(HOST_EXPORTS) \
6656 for flag in $(EXTRA_HOST_FLAGS) ; do \
6657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6658 done; \
6659 echo "Doing info in bzip2" ; \
6660 (cd $(HOST_SUBDIR)/bzip2 && \
6661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6663 "RANLIB=$${RANLIB}" \
6664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6665 info) \
6666 || exit 1
6668 @endif bzip2
6670 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6671 maybe-dvi-bzip2:
6672 @if bzip2
6673 maybe-dvi-bzip2: dvi-bzip2
6675 dvi-bzip2: \
6676 configure-bzip2
6677 @$(unstage)
6678 @[ -f ./bzip2/Makefile ] || exit 0; \
6679 r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing dvi in bzip2" ; \
6686 (cd $(HOST_SUBDIR)/bzip2 && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6691 dvi) \
6692 || exit 1
6694 @endif bzip2
6696 .PHONY: maybe-html-bzip2 html-bzip2
6697 maybe-html-bzip2:
6698 @if bzip2
6699 maybe-html-bzip2: html-bzip2
6701 html-bzip2: \
6702 configure-bzip2
6703 @$(unstage)
6704 @[ -f ./bzip2/Makefile ] || exit 0; \
6705 r=`${PWD_COMMAND}`; export r; \
6706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6707 $(HOST_EXPORTS) \
6708 for flag in $(EXTRA_HOST_FLAGS) ; do \
6709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6710 done; \
6711 echo "Doing html in bzip2" ; \
6712 (cd $(HOST_SUBDIR)/bzip2 && \
6713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6715 "RANLIB=$${RANLIB}" \
6716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6717 html) \
6718 || exit 1
6720 @endif bzip2
6722 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6723 maybe-TAGS-bzip2:
6724 @if bzip2
6725 maybe-TAGS-bzip2: TAGS-bzip2
6727 TAGS-bzip2: \
6728 configure-bzip2
6729 @$(unstage)
6730 @[ -f ./bzip2/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 TAGS in bzip2" ; \
6738 (cd $(HOST_SUBDIR)/bzip2 && \
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 TAGS) \
6744 || exit 1
6746 @endif bzip2
6748 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6749 maybe-install-info-bzip2:
6750 @if bzip2
6751 maybe-install-info-bzip2: install-info-bzip2
6753 install-info-bzip2: \
6754 configure-bzip2 \
6755 info-bzip2
6756 @$(unstage)
6757 @[ -f ./bzip2/Makefile ] || exit 0; \
6758 r=`${PWD_COMMAND}`; export r; \
6759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6760 $(HOST_EXPORTS) \
6761 for flag in $(EXTRA_HOST_FLAGS) ; do \
6762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6763 done; \
6764 echo "Doing install-info in bzip2" ; \
6765 (cd $(HOST_SUBDIR)/bzip2 && \
6766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6768 "RANLIB=$${RANLIB}" \
6769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6770 install-info) \
6771 || exit 1
6773 @endif bzip2
6775 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6776 maybe-installcheck-bzip2:
6777 @if bzip2
6778 maybe-installcheck-bzip2: installcheck-bzip2
6780 installcheck-bzip2: \
6781 configure-bzip2
6782 @$(unstage)
6783 @[ -f ./bzip2/Makefile ] || exit 0; \
6784 r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(HOST_EXPORTS) \
6787 for flag in $(EXTRA_HOST_FLAGS) ; do \
6788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6789 done; \
6790 echo "Doing installcheck in bzip2" ; \
6791 (cd $(HOST_SUBDIR)/bzip2 && \
6792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6794 "RANLIB=$${RANLIB}" \
6795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6796 installcheck) \
6797 || exit 1
6799 @endif bzip2
6801 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6802 maybe-mostlyclean-bzip2:
6803 @if bzip2
6804 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6806 mostlyclean-bzip2:
6807 @$(unstage)
6808 @[ -f ./bzip2/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 mostlyclean in bzip2" ; \
6816 (cd $(HOST_SUBDIR)/bzip2 && \
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 mostlyclean) \
6822 || exit 1
6824 @endif bzip2
6826 .PHONY: maybe-clean-bzip2 clean-bzip2
6827 maybe-clean-bzip2:
6828 @if bzip2
6829 maybe-clean-bzip2: clean-bzip2
6831 clean-bzip2:
6832 @$(unstage)
6833 @[ -f ./bzip2/Makefile ] || exit 0; \
6834 r=`${PWD_COMMAND}`; export r; \
6835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6836 $(HOST_EXPORTS) \
6837 for flag in $(EXTRA_HOST_FLAGS) ; do \
6838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6839 done; \
6840 echo "Doing clean in bzip2" ; \
6841 (cd $(HOST_SUBDIR)/bzip2 && \
6842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6844 "RANLIB=$${RANLIB}" \
6845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6846 clean) \
6847 || exit 1
6849 @endif bzip2
6851 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6852 maybe-distclean-bzip2:
6853 @if bzip2
6854 maybe-distclean-bzip2: distclean-bzip2
6856 distclean-bzip2:
6857 @$(unstage)
6858 @[ -f ./bzip2/Makefile ] || exit 0; \
6859 r=`${PWD_COMMAND}`; export r; \
6860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6861 $(HOST_EXPORTS) \
6862 for flag in $(EXTRA_HOST_FLAGS) ; do \
6863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6864 done; \
6865 echo "Doing distclean in bzip2" ; \
6866 (cd $(HOST_SUBDIR)/bzip2 && \
6867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6869 "RANLIB=$${RANLIB}" \
6870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6871 distclean) \
6872 || exit 1
6874 @endif bzip2
6876 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6877 maybe-maintainer-clean-bzip2:
6878 @if bzip2
6879 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6881 maintainer-clean-bzip2:
6882 @$(unstage)
6883 @[ -f ./bzip2/Makefile ] || exit 0; \
6884 r=`${PWD_COMMAND}`; export r; \
6885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6886 $(HOST_EXPORTS) \
6887 for flag in $(EXTRA_HOST_FLAGS) ; do \
6888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6889 done; \
6890 echo "Doing maintainer-clean in bzip2" ; \
6891 (cd $(HOST_SUBDIR)/bzip2 && \
6892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6894 "RANLIB=$${RANLIB}" \
6895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6896 maintainer-clean) \
6897 || exit 1
6899 @endif bzip2
6903 .PHONY: configure-dejagnu maybe-configure-dejagnu
6904 maybe-configure-dejagnu:
6905 @if dejagnu
6906 maybe-configure-dejagnu: configure-dejagnu
6907 configure-dejagnu:
6908 @$(unstage)
6909 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6911 r=`${PWD_COMMAND}`; export r; \
6912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6913 $(HOST_EXPORTS) \
6914 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6915 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6916 case $(srcdir) in \
6917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6918 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6920 esac; \
6921 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6922 libsrcdir="$$s/dejagnu"; \
6923 $(SHELL) $${libsrcdir}/configure \
6924 $(HOST_CONFIGARGS) $${srcdiroption} \
6925 || exit 1
6926 @endif dejagnu
6932 .PHONY: all-dejagnu maybe-all-dejagnu
6933 maybe-all-dejagnu:
6934 @if dejagnu
6935 TARGET-dejagnu=all
6936 maybe-all-dejagnu: all-dejagnu
6937 all-dejagnu: configure-dejagnu
6938 @$(unstage)
6939 @r=`${PWD_COMMAND}`; export r; \
6940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6941 $(HOST_EXPORTS) \
6942 (cd $(HOST_SUBDIR)/dejagnu && \
6943 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6944 @endif dejagnu
6949 .PHONY: check-dejagnu maybe-check-dejagnu
6950 maybe-check-dejagnu:
6951 @if dejagnu
6952 maybe-check-dejagnu: check-dejagnu
6954 check-dejagnu:
6955 @$(unstage)
6956 @r=`${PWD_COMMAND}`; export r; \
6957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6958 $(HOST_EXPORTS) \
6959 (cd $(HOST_SUBDIR)/dejagnu && \
6960 $(MAKE) $(FLAGS_TO_PASS) check)
6962 @endif dejagnu
6964 .PHONY: install-dejagnu maybe-install-dejagnu
6965 maybe-install-dejagnu:
6966 @if dejagnu
6967 maybe-install-dejagnu: install-dejagnu
6969 install-dejagnu: installdirs
6970 @$(unstage)
6971 @r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 (cd $(HOST_SUBDIR)/dejagnu && \
6975 $(MAKE) $(FLAGS_TO_PASS) install)
6977 @endif dejagnu
6979 # Other targets (info, dvi, etc.)
6981 .PHONY: maybe-info-dejagnu info-dejagnu
6982 maybe-info-dejagnu:
6983 @if dejagnu
6984 maybe-info-dejagnu: info-dejagnu
6986 info-dejagnu: \
6987 configure-dejagnu
6988 @$(unstage)
6989 @[ -f ./dejagnu/Makefile ] || exit 0; \
6990 r=`${PWD_COMMAND}`; export r; \
6991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6992 $(HOST_EXPORTS) \
6993 for flag in $(EXTRA_HOST_FLAGS) ; do \
6994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6995 done; \
6996 echo "Doing info in dejagnu" ; \
6997 (cd $(HOST_SUBDIR)/dejagnu && \
6998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7000 "RANLIB=$${RANLIB}" \
7001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7002 info) \
7003 || exit 1
7005 @endif dejagnu
7007 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7008 maybe-dvi-dejagnu:
7009 @if dejagnu
7010 maybe-dvi-dejagnu: dvi-dejagnu
7012 dvi-dejagnu: \
7013 configure-dejagnu
7014 @$(unstage)
7015 @[ -f ./dejagnu/Makefile ] || exit 0; \
7016 r=`${PWD_COMMAND}`; export r; \
7017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7018 $(HOST_EXPORTS) \
7019 for flag in $(EXTRA_HOST_FLAGS) ; do \
7020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7021 done; \
7022 echo "Doing dvi in dejagnu" ; \
7023 (cd $(HOST_SUBDIR)/dejagnu && \
7024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7026 "RANLIB=$${RANLIB}" \
7027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7028 dvi) \
7029 || exit 1
7031 @endif dejagnu
7033 .PHONY: maybe-html-dejagnu html-dejagnu
7034 maybe-html-dejagnu:
7035 @if dejagnu
7036 maybe-html-dejagnu: html-dejagnu
7038 html-dejagnu: \
7039 configure-dejagnu
7040 @$(unstage)
7041 @[ -f ./dejagnu/Makefile ] || exit 0; \
7042 r=`${PWD_COMMAND}`; export r; \
7043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7044 $(HOST_EXPORTS) \
7045 for flag in $(EXTRA_HOST_FLAGS) ; do \
7046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7047 done; \
7048 echo "Doing html in dejagnu" ; \
7049 (cd $(HOST_SUBDIR)/dejagnu && \
7050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7052 "RANLIB=$${RANLIB}" \
7053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7054 html) \
7055 || exit 1
7057 @endif dejagnu
7059 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7060 maybe-TAGS-dejagnu:
7061 @if dejagnu
7062 maybe-TAGS-dejagnu: TAGS-dejagnu
7064 TAGS-dejagnu: \
7065 configure-dejagnu
7066 @$(unstage)
7067 @[ -f ./dejagnu/Makefile ] || exit 0; \
7068 r=`${PWD_COMMAND}`; export r; \
7069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 $(HOST_EXPORTS) \
7071 for flag in $(EXTRA_HOST_FLAGS) ; do \
7072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7073 done; \
7074 echo "Doing TAGS in dejagnu" ; \
7075 (cd $(HOST_SUBDIR)/dejagnu && \
7076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7078 "RANLIB=$${RANLIB}" \
7079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7080 TAGS) \
7081 || exit 1
7083 @endif dejagnu
7085 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7086 maybe-install-info-dejagnu:
7087 @if dejagnu
7088 maybe-install-info-dejagnu: install-info-dejagnu
7090 install-info-dejagnu: \
7091 configure-dejagnu \
7092 info-dejagnu
7093 @$(unstage)
7094 @[ -f ./dejagnu/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 install-info in dejagnu" ; \
7102 (cd $(HOST_SUBDIR)/dejagnu && \
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 install-info) \
7108 || exit 1
7110 @endif dejagnu
7112 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7113 maybe-installcheck-dejagnu:
7114 @if dejagnu
7115 maybe-installcheck-dejagnu: installcheck-dejagnu
7117 installcheck-dejagnu: \
7118 configure-dejagnu
7119 @$(unstage)
7120 @[ -f ./dejagnu/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 installcheck in dejagnu" ; \
7128 (cd $(HOST_SUBDIR)/dejagnu && \
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 installcheck) \
7134 || exit 1
7136 @endif dejagnu
7138 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7139 maybe-mostlyclean-dejagnu:
7140 @if dejagnu
7141 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7143 mostlyclean-dejagnu:
7144 @$(unstage)
7145 @[ -f ./dejagnu/Makefile ] || exit 0; \
7146 r=`${PWD_COMMAND}`; export r; \
7147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7148 $(HOST_EXPORTS) \
7149 for flag in $(EXTRA_HOST_FLAGS) ; do \
7150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7151 done; \
7152 echo "Doing mostlyclean in dejagnu" ; \
7153 (cd $(HOST_SUBDIR)/dejagnu && \
7154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7156 "RANLIB=$${RANLIB}" \
7157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7158 mostlyclean) \
7159 || exit 1
7161 @endif dejagnu
7163 .PHONY: maybe-clean-dejagnu clean-dejagnu
7164 maybe-clean-dejagnu:
7165 @if dejagnu
7166 maybe-clean-dejagnu: clean-dejagnu
7168 clean-dejagnu:
7169 @$(unstage)
7170 @[ -f ./dejagnu/Makefile ] || exit 0; \
7171 r=`${PWD_COMMAND}`; export r; \
7172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7173 $(HOST_EXPORTS) \
7174 for flag in $(EXTRA_HOST_FLAGS) ; do \
7175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7176 done; \
7177 echo "Doing clean in dejagnu" ; \
7178 (cd $(HOST_SUBDIR)/dejagnu && \
7179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7181 "RANLIB=$${RANLIB}" \
7182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7183 clean) \
7184 || exit 1
7186 @endif dejagnu
7188 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7189 maybe-distclean-dejagnu:
7190 @if dejagnu
7191 maybe-distclean-dejagnu: distclean-dejagnu
7193 distclean-dejagnu:
7194 @$(unstage)
7195 @[ -f ./dejagnu/Makefile ] || exit 0; \
7196 r=`${PWD_COMMAND}`; export r; \
7197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7198 $(HOST_EXPORTS) \
7199 for flag in $(EXTRA_HOST_FLAGS) ; do \
7200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7201 done; \
7202 echo "Doing distclean in dejagnu" ; \
7203 (cd $(HOST_SUBDIR)/dejagnu && \
7204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7206 "RANLIB=$${RANLIB}" \
7207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7208 distclean) \
7209 || exit 1
7211 @endif dejagnu
7213 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7214 maybe-maintainer-clean-dejagnu:
7215 @if dejagnu
7216 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7218 maintainer-clean-dejagnu:
7219 @$(unstage)
7220 @[ -f ./dejagnu/Makefile ] || exit 0; \
7221 r=`${PWD_COMMAND}`; export r; \
7222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7223 $(HOST_EXPORTS) \
7224 for flag in $(EXTRA_HOST_FLAGS) ; do \
7225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7226 done; \
7227 echo "Doing maintainer-clean in dejagnu" ; \
7228 (cd $(HOST_SUBDIR)/dejagnu && \
7229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7231 "RANLIB=$${RANLIB}" \
7232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7233 maintainer-clean) \
7234 || exit 1
7236 @endif dejagnu
7240 .PHONY: configure-diff maybe-configure-diff
7241 maybe-configure-diff:
7242 @if diff
7243 maybe-configure-diff: configure-diff
7244 configure-diff:
7245 @$(unstage)
7246 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7248 r=`${PWD_COMMAND}`; export r; \
7249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7250 $(HOST_EXPORTS) \
7251 echo Configuring in $(HOST_SUBDIR)/diff; \
7252 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7253 case $(srcdir) in \
7254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7255 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7257 esac; \
7258 srcdiroption="--srcdir=$${topdir}/diff"; \
7259 libsrcdir="$$s/diff"; \
7260 $(SHELL) $${libsrcdir}/configure \
7261 $(HOST_CONFIGARGS) $${srcdiroption} \
7262 || exit 1
7263 @endif diff
7269 .PHONY: all-diff maybe-all-diff
7270 maybe-all-diff:
7271 @if diff
7272 TARGET-diff=all
7273 maybe-all-diff: all-diff
7274 all-diff: configure-diff
7275 @$(unstage)
7276 @r=`${PWD_COMMAND}`; export r; \
7277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7278 $(HOST_EXPORTS) \
7279 (cd $(HOST_SUBDIR)/diff && \
7280 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7281 @endif diff
7286 .PHONY: check-diff maybe-check-diff
7287 maybe-check-diff:
7288 @if diff
7289 maybe-check-diff: check-diff
7291 check-diff:
7292 @$(unstage)
7293 @r=`${PWD_COMMAND}`; export r; \
7294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7295 $(HOST_EXPORTS) \
7296 (cd $(HOST_SUBDIR)/diff && \
7297 $(MAKE) $(FLAGS_TO_PASS) check)
7299 @endif diff
7301 .PHONY: install-diff maybe-install-diff
7302 maybe-install-diff:
7303 @if diff
7304 maybe-install-diff: install-diff
7306 install-diff: installdirs
7307 @$(unstage)
7308 @r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 (cd $(HOST_SUBDIR)/diff && \
7312 $(MAKE) $(FLAGS_TO_PASS) install)
7314 @endif diff
7316 # Other targets (info, dvi, etc.)
7318 .PHONY: maybe-info-diff info-diff
7319 maybe-info-diff:
7320 @if diff
7321 maybe-info-diff: info-diff
7323 info-diff: \
7324 configure-diff
7325 @$(unstage)
7326 @[ -f ./diff/Makefile ] || exit 0; \
7327 r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 $(HOST_EXPORTS) \
7330 for flag in $(EXTRA_HOST_FLAGS) ; do \
7331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7332 done; \
7333 echo "Doing info in diff" ; \
7334 (cd $(HOST_SUBDIR)/diff && \
7335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7337 "RANLIB=$${RANLIB}" \
7338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7339 info) \
7340 || exit 1
7342 @endif diff
7344 .PHONY: maybe-dvi-diff dvi-diff
7345 maybe-dvi-diff:
7346 @if diff
7347 maybe-dvi-diff: dvi-diff
7349 dvi-diff: \
7350 configure-diff
7351 @$(unstage)
7352 @[ -f ./diff/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 dvi in diff" ; \
7360 (cd $(HOST_SUBDIR)/diff && \
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 dvi) \
7366 || exit 1
7368 @endif diff
7370 .PHONY: maybe-html-diff html-diff
7371 maybe-html-diff:
7372 @if diff
7373 maybe-html-diff: html-diff
7375 html-diff: \
7376 configure-diff
7377 @$(unstage)
7378 @[ -f ./diff/Makefile ] || exit 0; \
7379 r=`${PWD_COMMAND}`; export r; \
7380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7381 $(HOST_EXPORTS) \
7382 for flag in $(EXTRA_HOST_FLAGS) ; do \
7383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7384 done; \
7385 echo "Doing html in diff" ; \
7386 (cd $(HOST_SUBDIR)/diff && \
7387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7389 "RANLIB=$${RANLIB}" \
7390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7391 html) \
7392 || exit 1
7394 @endif diff
7396 .PHONY: maybe-TAGS-diff TAGS-diff
7397 maybe-TAGS-diff:
7398 @if diff
7399 maybe-TAGS-diff: TAGS-diff
7401 TAGS-diff: \
7402 configure-diff
7403 @$(unstage)
7404 @[ -f ./diff/Makefile ] || exit 0; \
7405 r=`${PWD_COMMAND}`; export r; \
7406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7407 $(HOST_EXPORTS) \
7408 for flag in $(EXTRA_HOST_FLAGS) ; do \
7409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7410 done; \
7411 echo "Doing TAGS in diff" ; \
7412 (cd $(HOST_SUBDIR)/diff && \
7413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7415 "RANLIB=$${RANLIB}" \
7416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7417 TAGS) \
7418 || exit 1
7420 @endif diff
7422 .PHONY: maybe-install-info-diff install-info-diff
7423 maybe-install-info-diff:
7424 @if diff
7425 maybe-install-info-diff: install-info-diff
7427 install-info-diff: \
7428 configure-diff \
7429 info-diff
7430 @$(unstage)
7431 @[ -f ./diff/Makefile ] || exit 0; \
7432 r=`${PWD_COMMAND}`; export r; \
7433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7434 $(HOST_EXPORTS) \
7435 for flag in $(EXTRA_HOST_FLAGS) ; do \
7436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7437 done; \
7438 echo "Doing install-info in diff" ; \
7439 (cd $(HOST_SUBDIR)/diff && \
7440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7442 "RANLIB=$${RANLIB}" \
7443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7444 install-info) \
7445 || exit 1
7447 @endif diff
7449 .PHONY: maybe-installcheck-diff installcheck-diff
7450 maybe-installcheck-diff:
7451 @if diff
7452 maybe-installcheck-diff: installcheck-diff
7454 installcheck-diff: \
7455 configure-diff
7456 @$(unstage)
7457 @[ -f ./diff/Makefile ] || exit 0; \
7458 r=`${PWD_COMMAND}`; export r; \
7459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7460 $(HOST_EXPORTS) \
7461 for flag in $(EXTRA_HOST_FLAGS) ; do \
7462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7463 done; \
7464 echo "Doing installcheck in diff" ; \
7465 (cd $(HOST_SUBDIR)/diff && \
7466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7468 "RANLIB=$${RANLIB}" \
7469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7470 installcheck) \
7471 || exit 1
7473 @endif diff
7475 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7476 maybe-mostlyclean-diff:
7477 @if diff
7478 maybe-mostlyclean-diff: mostlyclean-diff
7480 mostlyclean-diff:
7481 @$(unstage)
7482 @[ -f ./diff/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(HOST_EXPORTS) \
7486 for flag in $(EXTRA_HOST_FLAGS) ; do \
7487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7488 done; \
7489 echo "Doing mostlyclean in diff" ; \
7490 (cd $(HOST_SUBDIR)/diff && \
7491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7493 "RANLIB=$${RANLIB}" \
7494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7495 mostlyclean) \
7496 || exit 1
7498 @endif diff
7500 .PHONY: maybe-clean-diff clean-diff
7501 maybe-clean-diff:
7502 @if diff
7503 maybe-clean-diff: clean-diff
7505 clean-diff:
7506 @$(unstage)
7507 @[ -f ./diff/Makefile ] || exit 0; \
7508 r=`${PWD_COMMAND}`; export r; \
7509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7510 $(HOST_EXPORTS) \
7511 for flag in $(EXTRA_HOST_FLAGS) ; do \
7512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7513 done; \
7514 echo "Doing clean in diff" ; \
7515 (cd $(HOST_SUBDIR)/diff && \
7516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7518 "RANLIB=$${RANLIB}" \
7519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7520 clean) \
7521 || exit 1
7523 @endif diff
7525 .PHONY: maybe-distclean-diff distclean-diff
7526 maybe-distclean-diff:
7527 @if diff
7528 maybe-distclean-diff: distclean-diff
7530 distclean-diff:
7531 @$(unstage)
7532 @[ -f ./diff/Makefile ] || exit 0; \
7533 r=`${PWD_COMMAND}`; export r; \
7534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7535 $(HOST_EXPORTS) \
7536 for flag in $(EXTRA_HOST_FLAGS) ; do \
7537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7538 done; \
7539 echo "Doing distclean in diff" ; \
7540 (cd $(HOST_SUBDIR)/diff && \
7541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7543 "RANLIB=$${RANLIB}" \
7544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7545 distclean) \
7546 || exit 1
7548 @endif diff
7550 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7551 maybe-maintainer-clean-diff:
7552 @if diff
7553 maybe-maintainer-clean-diff: maintainer-clean-diff
7555 maintainer-clean-diff:
7556 @$(unstage)
7557 @[ -f ./diff/Makefile ] || exit 0; \
7558 r=`${PWD_COMMAND}`; export r; \
7559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 $(HOST_EXPORTS) \
7561 for flag in $(EXTRA_HOST_FLAGS) ; do \
7562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7563 done; \
7564 echo "Doing maintainer-clean in diff" ; \
7565 (cd $(HOST_SUBDIR)/diff && \
7566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7568 "RANLIB=$${RANLIB}" \
7569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7570 maintainer-clean) \
7571 || exit 1
7573 @endif diff
7577 .PHONY: configure-dosutils maybe-configure-dosutils
7578 maybe-configure-dosutils:
7579 @if dosutils
7580 maybe-configure-dosutils: configure-dosutils
7581 configure-dosutils:
7582 @$(unstage)
7583 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7585 r=`${PWD_COMMAND}`; export r; \
7586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7587 $(HOST_EXPORTS) \
7588 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7589 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7590 case $(srcdir) in \
7591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7592 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7594 esac; \
7595 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7596 libsrcdir="$$s/dosutils"; \
7597 $(SHELL) $${libsrcdir}/configure \
7598 $(HOST_CONFIGARGS) $${srcdiroption} \
7599 || exit 1
7600 @endif dosutils
7606 .PHONY: all-dosutils maybe-all-dosutils
7607 maybe-all-dosutils:
7608 @if dosutils
7609 TARGET-dosutils=all
7610 maybe-all-dosutils: all-dosutils
7611 all-dosutils: configure-dosutils
7612 @$(unstage)
7613 @r=`${PWD_COMMAND}`; export r; \
7614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7615 $(HOST_EXPORTS) \
7616 (cd $(HOST_SUBDIR)/dosutils && \
7617 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7618 @endif dosutils
7623 .PHONY: check-dosutils maybe-check-dosutils
7624 maybe-check-dosutils:
7625 @if dosutils
7626 maybe-check-dosutils: check-dosutils
7628 check-dosutils:
7630 @endif dosutils
7632 .PHONY: install-dosutils maybe-install-dosutils
7633 maybe-install-dosutils:
7634 @if dosutils
7635 maybe-install-dosutils: install-dosutils
7637 install-dosutils: installdirs
7638 @$(unstage)
7639 @r=`${PWD_COMMAND}`; export r; \
7640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7641 $(HOST_EXPORTS) \
7642 (cd $(HOST_SUBDIR)/dosutils && \
7643 $(MAKE) $(FLAGS_TO_PASS) install)
7645 @endif dosutils
7647 # Other targets (info, dvi, etc.)
7649 .PHONY: maybe-info-dosutils info-dosutils
7650 maybe-info-dosutils:
7651 @if dosutils
7652 maybe-info-dosutils: info-dosutils
7654 info-dosutils: \
7655 configure-dosutils
7656 @$(unstage)
7657 @[ -f ./dosutils/Makefile ] || exit 0; \
7658 r=`${PWD_COMMAND}`; export r; \
7659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7660 $(HOST_EXPORTS) \
7661 for flag in $(EXTRA_HOST_FLAGS) ; do \
7662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7663 done; \
7664 echo "Doing info in dosutils" ; \
7665 (cd $(HOST_SUBDIR)/dosutils && \
7666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7668 "RANLIB=$${RANLIB}" \
7669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7670 info) \
7671 || exit 1
7673 @endif dosutils
7675 .PHONY: maybe-dvi-dosutils dvi-dosutils
7676 maybe-dvi-dosutils:
7677 @if dosutils
7678 maybe-dvi-dosutils: dvi-dosutils
7680 dvi-dosutils: \
7681 configure-dosutils
7682 @$(unstage)
7683 @[ -f ./dosutils/Makefile ] || exit 0; \
7684 r=`${PWD_COMMAND}`; export r; \
7685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7686 $(HOST_EXPORTS) \
7687 for flag in $(EXTRA_HOST_FLAGS) ; do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 done; \
7690 echo "Doing dvi in dosutils" ; \
7691 (cd $(HOST_SUBDIR)/dosutils && \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7696 dvi) \
7697 || exit 1
7699 @endif dosutils
7701 .PHONY: maybe-html-dosutils html-dosutils
7702 maybe-html-dosutils:
7703 @if dosutils
7704 maybe-html-dosutils: html-dosutils
7706 html-dosutils: \
7707 configure-dosutils
7708 @$(unstage)
7709 @[ -f ./dosutils/Makefile ] || exit 0; \
7710 r=`${PWD_COMMAND}`; export r; \
7711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7712 $(HOST_EXPORTS) \
7713 for flag in $(EXTRA_HOST_FLAGS) ; do \
7714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7715 done; \
7716 echo "Doing html in dosutils" ; \
7717 (cd $(HOST_SUBDIR)/dosutils && \
7718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7720 "RANLIB=$${RANLIB}" \
7721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7722 html) \
7723 || exit 1
7725 @endif dosutils
7727 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7728 maybe-TAGS-dosutils:
7729 @if dosutils
7730 maybe-TAGS-dosutils: TAGS-dosutils
7732 TAGS-dosutils: \
7733 configure-dosutils
7734 @$(unstage)
7735 @[ -f ./dosutils/Makefile ] || exit 0; \
7736 r=`${PWD_COMMAND}`; export r; \
7737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7738 $(HOST_EXPORTS) \
7739 for flag in $(EXTRA_HOST_FLAGS) ; do \
7740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7741 done; \
7742 echo "Doing TAGS in dosutils" ; \
7743 (cd $(HOST_SUBDIR)/dosutils && \
7744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7746 "RANLIB=$${RANLIB}" \
7747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7748 TAGS) \
7749 || exit 1
7751 @endif dosutils
7753 .PHONY: maybe-install-info-dosutils install-info-dosutils
7754 maybe-install-info-dosutils:
7755 @if dosutils
7756 maybe-install-info-dosutils: install-info-dosutils
7758 install-info-dosutils: \
7759 configure-dosutils \
7760 info-dosutils
7761 @$(unstage)
7762 @[ -f ./dosutils/Makefile ] || exit 0; \
7763 r=`${PWD_COMMAND}`; export r; \
7764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7765 $(HOST_EXPORTS) \
7766 for flag in $(EXTRA_HOST_FLAGS) ; do \
7767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7768 done; \
7769 echo "Doing install-info in dosutils" ; \
7770 (cd $(HOST_SUBDIR)/dosutils && \
7771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7773 "RANLIB=$${RANLIB}" \
7774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7775 install-info) \
7776 || exit 1
7778 @endif dosutils
7780 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7781 maybe-installcheck-dosutils:
7782 @if dosutils
7783 maybe-installcheck-dosutils: installcheck-dosutils
7785 installcheck-dosutils: \
7786 configure-dosutils
7787 @$(unstage)
7788 @[ -f ./dosutils/Makefile ] || exit 0; \
7789 r=`${PWD_COMMAND}`; export r; \
7790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7791 $(HOST_EXPORTS) \
7792 for flag in $(EXTRA_HOST_FLAGS) ; do \
7793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7794 done; \
7795 echo "Doing installcheck in dosutils" ; \
7796 (cd $(HOST_SUBDIR)/dosutils && \
7797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7799 "RANLIB=$${RANLIB}" \
7800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7801 installcheck) \
7802 || exit 1
7804 @endif dosutils
7806 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7807 maybe-mostlyclean-dosutils:
7808 @if dosutils
7809 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7811 mostlyclean-dosutils:
7812 @$(unstage)
7813 @[ -f ./dosutils/Makefile ] || exit 0; \
7814 r=`${PWD_COMMAND}`; export r; \
7815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7816 $(HOST_EXPORTS) \
7817 for flag in $(EXTRA_HOST_FLAGS) ; do \
7818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7819 done; \
7820 echo "Doing mostlyclean in dosutils" ; \
7821 (cd $(HOST_SUBDIR)/dosutils && \
7822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7824 "RANLIB=$${RANLIB}" \
7825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7826 mostlyclean) \
7827 || exit 1
7829 @endif dosutils
7831 .PHONY: maybe-clean-dosutils clean-dosutils
7832 maybe-clean-dosutils:
7833 @if dosutils
7834 maybe-clean-dosutils: clean-dosutils
7836 clean-dosutils:
7837 @$(unstage)
7838 @[ -f ./dosutils/Makefile ] || exit 0; \
7839 r=`${PWD_COMMAND}`; export r; \
7840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7841 $(HOST_EXPORTS) \
7842 for flag in $(EXTRA_HOST_FLAGS) ; do \
7843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7844 done; \
7845 echo "Doing clean in dosutils" ; \
7846 (cd $(HOST_SUBDIR)/dosutils && \
7847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7849 "RANLIB=$${RANLIB}" \
7850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7851 clean) \
7852 || exit 1
7854 @endif dosutils
7856 .PHONY: maybe-distclean-dosutils distclean-dosutils
7857 maybe-distclean-dosutils:
7858 @if dosutils
7859 maybe-distclean-dosutils: distclean-dosutils
7861 distclean-dosutils:
7862 @$(unstage)
7863 @[ -f ./dosutils/Makefile ] || exit 0; \
7864 r=`${PWD_COMMAND}`; export r; \
7865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7866 $(HOST_EXPORTS) \
7867 for flag in $(EXTRA_HOST_FLAGS) ; do \
7868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7869 done; \
7870 echo "Doing distclean in dosutils" ; \
7871 (cd $(HOST_SUBDIR)/dosutils && \
7872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7874 "RANLIB=$${RANLIB}" \
7875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7876 distclean) \
7877 || exit 1
7879 @endif dosutils
7881 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7882 maybe-maintainer-clean-dosutils:
7883 @if dosutils
7884 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7886 maintainer-clean-dosutils:
7887 @$(unstage)
7888 @[ -f ./dosutils/Makefile ] || exit 0; \
7889 r=`${PWD_COMMAND}`; export r; \
7890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7891 $(HOST_EXPORTS) \
7892 for flag in $(EXTRA_HOST_FLAGS) ; do \
7893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7894 done; \
7895 echo "Doing maintainer-clean in dosutils" ; \
7896 (cd $(HOST_SUBDIR)/dosutils && \
7897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7899 "RANLIB=$${RANLIB}" \
7900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7901 maintainer-clean) \
7902 || exit 1
7904 @endif dosutils
7908 .PHONY: configure-etc maybe-configure-etc
7909 maybe-configure-etc:
7910 @if etc
7911 maybe-configure-etc: configure-etc
7912 configure-etc:
7913 @$(unstage)
7914 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7916 r=`${PWD_COMMAND}`; export r; \
7917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7918 $(HOST_EXPORTS) \
7919 echo Configuring in $(HOST_SUBDIR)/etc; \
7920 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7921 case $(srcdir) in \
7922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7923 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7925 esac; \
7926 srcdiroption="--srcdir=$${topdir}/etc"; \
7927 libsrcdir="$$s/etc"; \
7928 $(SHELL) $${libsrcdir}/configure \
7929 $(HOST_CONFIGARGS) $${srcdiroption} \
7930 || exit 1
7931 @endif etc
7937 .PHONY: all-etc maybe-all-etc
7938 maybe-all-etc:
7939 @if etc
7940 TARGET-etc=all
7941 maybe-all-etc: all-etc
7942 all-etc: configure-etc
7943 @$(unstage)
7944 @r=`${PWD_COMMAND}`; export r; \
7945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7946 $(HOST_EXPORTS) \
7947 (cd $(HOST_SUBDIR)/etc && \
7948 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7949 @endif etc
7954 .PHONY: check-etc maybe-check-etc
7955 maybe-check-etc:
7956 @if etc
7957 maybe-check-etc: check-etc
7959 check-etc:
7960 @$(unstage)
7961 @r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 $(HOST_EXPORTS) \
7964 (cd $(HOST_SUBDIR)/etc && \
7965 $(MAKE) $(FLAGS_TO_PASS) check)
7967 @endif etc
7969 .PHONY: install-etc maybe-install-etc
7970 maybe-install-etc:
7971 @if etc
7972 maybe-install-etc: install-etc
7974 install-etc: installdirs
7975 @$(unstage)
7976 @r=`${PWD_COMMAND}`; export r; \
7977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7978 $(HOST_EXPORTS) \
7979 (cd $(HOST_SUBDIR)/etc && \
7980 $(MAKE) $(FLAGS_TO_PASS) install)
7982 @endif etc
7984 # Other targets (info, dvi, etc.)
7986 .PHONY: maybe-info-etc info-etc
7987 maybe-info-etc:
7988 @if etc
7989 maybe-info-etc: info-etc
7991 info-etc: \
7992 configure-etc
7993 @$(unstage)
7994 @[ -f ./etc/Makefile ] || exit 0; \
7995 r=`${PWD_COMMAND}`; export r; \
7996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7997 $(HOST_EXPORTS) \
7998 for flag in $(EXTRA_HOST_FLAGS) ; do \
7999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8000 done; \
8001 echo "Doing info in etc" ; \
8002 (cd $(HOST_SUBDIR)/etc && \
8003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8005 "RANLIB=$${RANLIB}" \
8006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8007 info) \
8008 || exit 1
8010 @endif etc
8012 .PHONY: maybe-dvi-etc dvi-etc
8013 maybe-dvi-etc:
8014 @if etc
8015 maybe-dvi-etc: dvi-etc
8017 dvi-etc: \
8018 configure-etc
8019 @$(unstage)
8020 @[ -f ./etc/Makefile ] || exit 0; \
8021 r=`${PWD_COMMAND}`; export r; \
8022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 $(HOST_EXPORTS) \
8024 for flag in $(EXTRA_HOST_FLAGS) ; do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 done; \
8027 echo "Doing dvi in etc" ; \
8028 (cd $(HOST_SUBDIR)/etc && \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8033 dvi) \
8034 || exit 1
8036 @endif etc
8038 .PHONY: maybe-html-etc html-etc
8039 maybe-html-etc:
8040 @if etc
8041 maybe-html-etc: html-etc
8043 html-etc: \
8044 configure-etc
8045 @$(unstage)
8046 @[ -f ./etc/Makefile ] || exit 0; \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049 $(HOST_EXPORTS) \
8050 for flag in $(EXTRA_HOST_FLAGS) ; do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052 done; \
8053 echo "Doing html in etc" ; \
8054 (cd $(HOST_SUBDIR)/etc && \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8059 html) \
8060 || exit 1
8062 @endif etc
8064 .PHONY: maybe-TAGS-etc TAGS-etc
8065 maybe-TAGS-etc:
8066 @if etc
8067 maybe-TAGS-etc: TAGS-etc
8069 TAGS-etc: \
8070 configure-etc
8071 @$(unstage)
8072 @[ -f ./etc/Makefile ] || exit 0; \
8073 r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(HOST_EXPORTS) \
8076 for flag in $(EXTRA_HOST_FLAGS) ; do \
8077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8078 done; \
8079 echo "Doing TAGS in etc" ; \
8080 (cd $(HOST_SUBDIR)/etc && \
8081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8083 "RANLIB=$${RANLIB}" \
8084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8085 TAGS) \
8086 || exit 1
8088 @endif etc
8090 .PHONY: maybe-install-info-etc install-info-etc
8091 maybe-install-info-etc:
8092 @if etc
8093 maybe-install-info-etc: install-info-etc
8095 install-info-etc: \
8096 configure-etc \
8097 info-etc
8098 @$(unstage)
8099 @[ -f ./etc/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing install-info in etc" ; \
8107 (cd $(HOST_SUBDIR)/etc && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8112 install-info) \
8113 || exit 1
8115 @endif etc
8117 .PHONY: maybe-installcheck-etc installcheck-etc
8118 maybe-installcheck-etc:
8119 @if etc
8120 maybe-installcheck-etc: installcheck-etc
8122 installcheck-etc: \
8123 configure-etc
8124 @$(unstage)
8125 @[ -f ./etc/Makefile ] || exit 0; \
8126 r=`${PWD_COMMAND}`; export r; \
8127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8128 $(HOST_EXPORTS) \
8129 for flag in $(EXTRA_HOST_FLAGS) ; do \
8130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8131 done; \
8132 echo "Doing installcheck in etc" ; \
8133 (cd $(HOST_SUBDIR)/etc && \
8134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8136 "RANLIB=$${RANLIB}" \
8137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8138 installcheck) \
8139 || exit 1
8141 @endif etc
8143 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8144 maybe-mostlyclean-etc:
8145 @if etc
8146 maybe-mostlyclean-etc: mostlyclean-etc
8148 mostlyclean-etc:
8149 @$(unstage)
8150 @[ -f ./etc/Makefile ] || exit 0; \
8151 r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8153 $(HOST_EXPORTS) \
8154 for flag in $(EXTRA_HOST_FLAGS) ; do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8156 done; \
8157 echo "Doing mostlyclean in etc" ; \
8158 (cd $(HOST_SUBDIR)/etc && \
8159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161 "RANLIB=$${RANLIB}" \
8162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8163 mostlyclean) \
8164 || exit 1
8166 @endif etc
8168 .PHONY: maybe-clean-etc clean-etc
8169 maybe-clean-etc:
8170 @if etc
8171 maybe-clean-etc: clean-etc
8173 clean-etc:
8174 @$(unstage)
8175 @[ -f ./etc/Makefile ] || exit 0; \
8176 r=`${PWD_COMMAND}`; export r; \
8177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8178 $(HOST_EXPORTS) \
8179 for flag in $(EXTRA_HOST_FLAGS) ; do \
8180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8181 done; \
8182 echo "Doing clean in etc" ; \
8183 (cd $(HOST_SUBDIR)/etc && \
8184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8186 "RANLIB=$${RANLIB}" \
8187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8188 clean) \
8189 || exit 1
8191 @endif etc
8193 .PHONY: maybe-distclean-etc distclean-etc
8194 maybe-distclean-etc:
8195 @if etc
8196 maybe-distclean-etc: distclean-etc
8198 distclean-etc:
8199 @$(unstage)
8200 @[ -f ./etc/Makefile ] || exit 0; \
8201 r=`${PWD_COMMAND}`; export r; \
8202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8203 $(HOST_EXPORTS) \
8204 for flag in $(EXTRA_HOST_FLAGS) ; do \
8205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8206 done; \
8207 echo "Doing distclean in etc" ; \
8208 (cd $(HOST_SUBDIR)/etc && \
8209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8211 "RANLIB=$${RANLIB}" \
8212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8213 distclean) \
8214 || exit 1
8216 @endif etc
8218 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8219 maybe-maintainer-clean-etc:
8220 @if etc
8221 maybe-maintainer-clean-etc: maintainer-clean-etc
8223 maintainer-clean-etc:
8224 @$(unstage)
8225 @[ -f ./etc/Makefile ] || exit 0; \
8226 r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 $(HOST_EXPORTS) \
8229 for flag in $(EXTRA_HOST_FLAGS) ; do \
8230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8231 done; \
8232 echo "Doing maintainer-clean in etc" ; \
8233 (cd $(HOST_SUBDIR)/etc && \
8234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8236 "RANLIB=$${RANLIB}" \
8237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8238 maintainer-clean) \
8239 || exit 1
8241 @endif etc
8245 .PHONY: configure-fastjar maybe-configure-fastjar
8246 maybe-configure-fastjar:
8247 @if fastjar
8248 maybe-configure-fastjar: configure-fastjar
8249 configure-fastjar:
8250 @$(unstage)
8251 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8253 r=`${PWD_COMMAND}`; export r; \
8254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255 $(HOST_EXPORTS) \
8256 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8257 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8258 case $(srcdir) in \
8259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8260 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8262 esac; \
8263 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8264 libsrcdir="$$s/fastjar"; \
8265 $(SHELL) $${libsrcdir}/configure \
8266 $(HOST_CONFIGARGS) $${srcdiroption} \
8267 || exit 1
8268 @endif fastjar
8274 .PHONY: all-fastjar maybe-all-fastjar
8275 maybe-all-fastjar:
8276 @if fastjar
8277 TARGET-fastjar=all
8278 maybe-all-fastjar: all-fastjar
8279 all-fastjar: configure-fastjar
8280 @$(unstage)
8281 @r=`${PWD_COMMAND}`; export r; \
8282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 $(HOST_EXPORTS) \
8284 (cd $(HOST_SUBDIR)/fastjar && \
8285 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8286 @endif fastjar
8291 .PHONY: check-fastjar maybe-check-fastjar
8292 maybe-check-fastjar:
8293 @if fastjar
8294 maybe-check-fastjar: check-fastjar
8296 # This module is only tested in a native toolchain.
8297 check-fastjar:
8298 @$(unstage)
8299 @if [ '$(host)' = '$(target)' ] ; then \
8300 r=`${PWD_COMMAND}`; export r; \
8301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8302 $(HOST_EXPORTS) \
8303 (cd $(HOST_SUBDIR)/fastjar && \
8304 $(MAKE) $(FLAGS_TO_PASS) check); \
8307 @endif fastjar
8309 .PHONY: install-fastjar maybe-install-fastjar
8310 maybe-install-fastjar:
8311 @if fastjar
8312 maybe-install-fastjar: install-fastjar
8314 install-fastjar: installdirs
8315 @$(unstage)
8316 @r=`${PWD_COMMAND}`; export r; \
8317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8318 $(HOST_EXPORTS) \
8319 (cd $(HOST_SUBDIR)/fastjar && \
8320 $(MAKE) $(FLAGS_TO_PASS) install)
8322 @endif fastjar
8324 # Other targets (info, dvi, etc.)
8326 .PHONY: maybe-info-fastjar info-fastjar
8327 maybe-info-fastjar:
8328 @if fastjar
8329 maybe-info-fastjar: info-fastjar
8331 info-fastjar: \
8332 configure-fastjar
8333 @$(unstage)
8334 @[ -f ./fastjar/Makefile ] || exit 0; \
8335 r=`${PWD_COMMAND}`; export r; \
8336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8337 $(HOST_EXPORTS) \
8338 for flag in $(EXTRA_HOST_FLAGS) ; do \
8339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8340 done; \
8341 echo "Doing info in fastjar" ; \
8342 (cd $(HOST_SUBDIR)/fastjar && \
8343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8345 "RANLIB=$${RANLIB}" \
8346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8347 info) \
8348 || exit 1
8350 @endif fastjar
8352 .PHONY: maybe-dvi-fastjar dvi-fastjar
8353 maybe-dvi-fastjar:
8354 @if fastjar
8355 maybe-dvi-fastjar: dvi-fastjar
8357 dvi-fastjar: \
8358 configure-fastjar
8359 @$(unstage)
8360 @[ -f ./fastjar/Makefile ] || exit 0; \
8361 r=`${PWD_COMMAND}`; export r; \
8362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8363 $(HOST_EXPORTS) \
8364 for flag in $(EXTRA_HOST_FLAGS) ; do \
8365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8366 done; \
8367 echo "Doing dvi in fastjar" ; \
8368 (cd $(HOST_SUBDIR)/fastjar && \
8369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8371 "RANLIB=$${RANLIB}" \
8372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8373 dvi) \
8374 || exit 1
8376 @endif fastjar
8378 .PHONY: maybe-html-fastjar html-fastjar
8379 maybe-html-fastjar:
8380 @if fastjar
8381 maybe-html-fastjar: html-fastjar
8383 html-fastjar: \
8384 configure-fastjar
8385 @$(unstage)
8386 @[ -f ./fastjar/Makefile ] || exit 0; \
8387 r=`${PWD_COMMAND}`; export r; \
8388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8389 $(HOST_EXPORTS) \
8390 for flag in $(EXTRA_HOST_FLAGS) ; do \
8391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392 done; \
8393 echo "Doing html in fastjar" ; \
8394 (cd $(HOST_SUBDIR)/fastjar && \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397 "RANLIB=$${RANLIB}" \
8398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8399 html) \
8400 || exit 1
8402 @endif fastjar
8404 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8405 maybe-TAGS-fastjar:
8406 @if fastjar
8407 maybe-TAGS-fastjar: TAGS-fastjar
8409 TAGS-fastjar: \
8410 configure-fastjar
8411 @$(unstage)
8412 @[ -f ./fastjar/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing TAGS in fastjar" ; \
8420 (cd $(HOST_SUBDIR)/fastjar && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8425 TAGS) \
8426 || exit 1
8428 @endif fastjar
8430 .PHONY: maybe-install-info-fastjar install-info-fastjar
8431 maybe-install-info-fastjar:
8432 @if fastjar
8433 maybe-install-info-fastjar: install-info-fastjar
8435 install-info-fastjar: \
8436 configure-fastjar \
8437 info-fastjar
8438 @$(unstage)
8439 @[ -f ./fastjar/Makefile ] || exit 0; \
8440 r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 for flag in $(EXTRA_HOST_FLAGS) ; do \
8444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 done; \
8446 echo "Doing install-info in fastjar" ; \
8447 (cd $(HOST_SUBDIR)/fastjar && \
8448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8450 "RANLIB=$${RANLIB}" \
8451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8452 install-info) \
8453 || exit 1
8455 @endif fastjar
8457 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8458 maybe-installcheck-fastjar:
8459 @if fastjar
8460 maybe-installcheck-fastjar: installcheck-fastjar
8462 installcheck-fastjar: \
8463 configure-fastjar
8464 @$(unstage)
8465 @[ -f ./fastjar/Makefile ] || exit 0; \
8466 r=`${PWD_COMMAND}`; export r; \
8467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8468 $(HOST_EXPORTS) \
8469 for flag in $(EXTRA_HOST_FLAGS) ; do \
8470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8471 done; \
8472 echo "Doing installcheck in fastjar" ; \
8473 (cd $(HOST_SUBDIR)/fastjar && \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8476 "RANLIB=$${RANLIB}" \
8477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8478 installcheck) \
8479 || exit 1
8481 @endif fastjar
8483 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8484 maybe-mostlyclean-fastjar:
8485 @if fastjar
8486 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8488 mostlyclean-fastjar:
8489 @$(unstage)
8490 @[ -f ./fastjar/Makefile ] || exit 0; \
8491 r=`${PWD_COMMAND}`; export r; \
8492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493 $(HOST_EXPORTS) \
8494 for flag in $(EXTRA_HOST_FLAGS) ; do \
8495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8496 done; \
8497 echo "Doing mostlyclean in fastjar" ; \
8498 (cd $(HOST_SUBDIR)/fastjar && \
8499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8501 "RANLIB=$${RANLIB}" \
8502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8503 mostlyclean) \
8504 || exit 1
8506 @endif fastjar
8508 .PHONY: maybe-clean-fastjar clean-fastjar
8509 maybe-clean-fastjar:
8510 @if fastjar
8511 maybe-clean-fastjar: clean-fastjar
8513 clean-fastjar:
8514 @$(unstage)
8515 @[ -f ./fastjar/Makefile ] || exit 0; \
8516 r=`${PWD_COMMAND}`; export r; \
8517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518 $(HOST_EXPORTS) \
8519 for flag in $(EXTRA_HOST_FLAGS) ; do \
8520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8521 done; \
8522 echo "Doing clean in fastjar" ; \
8523 (cd $(HOST_SUBDIR)/fastjar && \
8524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8526 "RANLIB=$${RANLIB}" \
8527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8528 clean) \
8529 || exit 1
8531 @endif fastjar
8533 .PHONY: maybe-distclean-fastjar distclean-fastjar
8534 maybe-distclean-fastjar:
8535 @if fastjar
8536 maybe-distclean-fastjar: distclean-fastjar
8538 distclean-fastjar:
8539 @$(unstage)
8540 @[ -f ./fastjar/Makefile ] || exit 0; \
8541 r=`${PWD_COMMAND}`; export r; \
8542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8543 $(HOST_EXPORTS) \
8544 for flag in $(EXTRA_HOST_FLAGS) ; do \
8545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8546 done; \
8547 echo "Doing distclean in fastjar" ; \
8548 (cd $(HOST_SUBDIR)/fastjar && \
8549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8551 "RANLIB=$${RANLIB}" \
8552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8553 distclean) \
8554 || exit 1
8556 @endif fastjar
8558 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8559 maybe-maintainer-clean-fastjar:
8560 @if fastjar
8561 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8563 maintainer-clean-fastjar:
8564 @$(unstage)
8565 @[ -f ./fastjar/Makefile ] || exit 0; \
8566 r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(HOST_EXPORTS) \
8569 for flag in $(EXTRA_HOST_FLAGS) ; do \
8570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8571 done; \
8572 echo "Doing maintainer-clean in fastjar" ; \
8573 (cd $(HOST_SUBDIR)/fastjar && \
8574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8576 "RANLIB=$${RANLIB}" \
8577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8578 maintainer-clean) \
8579 || exit 1
8581 @endif fastjar
8585 .PHONY: configure-fileutils maybe-configure-fileutils
8586 maybe-configure-fileutils:
8587 @if fileutils
8588 maybe-configure-fileutils: configure-fileutils
8589 configure-fileutils:
8590 @$(unstage)
8591 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8593 r=`${PWD_COMMAND}`; export r; \
8594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8595 $(HOST_EXPORTS) \
8596 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8597 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8598 case $(srcdir) in \
8599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8600 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8602 esac; \
8603 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8604 libsrcdir="$$s/fileutils"; \
8605 $(SHELL) $${libsrcdir}/configure \
8606 $(HOST_CONFIGARGS) $${srcdiroption} \
8607 || exit 1
8608 @endif fileutils
8614 .PHONY: all-fileutils maybe-all-fileutils
8615 maybe-all-fileutils:
8616 @if fileutils
8617 TARGET-fileutils=all
8618 maybe-all-fileutils: all-fileutils
8619 all-fileutils: configure-fileutils
8620 @$(unstage)
8621 @r=`${PWD_COMMAND}`; export r; \
8622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8623 $(HOST_EXPORTS) \
8624 (cd $(HOST_SUBDIR)/fileutils && \
8625 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8626 @endif fileutils
8631 .PHONY: check-fileutils maybe-check-fileutils
8632 maybe-check-fileutils:
8633 @if fileutils
8634 maybe-check-fileutils: check-fileutils
8636 check-fileutils:
8637 @$(unstage)
8638 @r=`${PWD_COMMAND}`; export r; \
8639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 $(HOST_EXPORTS) \
8641 (cd $(HOST_SUBDIR)/fileutils && \
8642 $(MAKE) $(FLAGS_TO_PASS) check)
8644 @endif fileutils
8646 .PHONY: install-fileutils maybe-install-fileutils
8647 maybe-install-fileutils:
8648 @if fileutils
8649 maybe-install-fileutils: install-fileutils
8651 install-fileutils: installdirs
8652 @$(unstage)
8653 @r=`${PWD_COMMAND}`; export r; \
8654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8655 $(HOST_EXPORTS) \
8656 (cd $(HOST_SUBDIR)/fileutils && \
8657 $(MAKE) $(FLAGS_TO_PASS) install)
8659 @endif fileutils
8661 # Other targets (info, dvi, etc.)
8663 .PHONY: maybe-info-fileutils info-fileutils
8664 maybe-info-fileutils:
8665 @if fileutils
8666 maybe-info-fileutils: info-fileutils
8668 info-fileutils: \
8669 configure-fileutils
8670 @$(unstage)
8671 @[ -f ./fileutils/Makefile ] || exit 0; \
8672 r=`${PWD_COMMAND}`; export r; \
8673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8674 $(HOST_EXPORTS) \
8675 for flag in $(EXTRA_HOST_FLAGS) ; do \
8676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8677 done; \
8678 echo "Doing info in fileutils" ; \
8679 (cd $(HOST_SUBDIR)/fileutils && \
8680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8682 "RANLIB=$${RANLIB}" \
8683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8684 info) \
8685 || exit 1
8687 @endif fileutils
8689 .PHONY: maybe-dvi-fileutils dvi-fileutils
8690 maybe-dvi-fileutils:
8691 @if fileutils
8692 maybe-dvi-fileutils: dvi-fileutils
8694 dvi-fileutils: \
8695 configure-fileutils
8696 @$(unstage)
8697 @[ -f ./fileutils/Makefile ] || exit 0; \
8698 r=`${PWD_COMMAND}`; export r; \
8699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8700 $(HOST_EXPORTS) \
8701 for flag in $(EXTRA_HOST_FLAGS) ; do \
8702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8703 done; \
8704 echo "Doing dvi in fileutils" ; \
8705 (cd $(HOST_SUBDIR)/fileutils && \
8706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8708 "RANLIB=$${RANLIB}" \
8709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8710 dvi) \
8711 || exit 1
8713 @endif fileutils
8715 .PHONY: maybe-html-fileutils html-fileutils
8716 maybe-html-fileutils:
8717 @if fileutils
8718 maybe-html-fileutils: html-fileutils
8720 html-fileutils: \
8721 configure-fileutils
8722 @$(unstage)
8723 @[ -f ./fileutils/Makefile ] || exit 0; \
8724 r=`${PWD_COMMAND}`; export r; \
8725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8726 $(HOST_EXPORTS) \
8727 for flag in $(EXTRA_HOST_FLAGS) ; do \
8728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8729 done; \
8730 echo "Doing html in fileutils" ; \
8731 (cd $(HOST_SUBDIR)/fileutils && \
8732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8734 "RANLIB=$${RANLIB}" \
8735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8736 html) \
8737 || exit 1
8739 @endif fileutils
8741 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8742 maybe-TAGS-fileutils:
8743 @if fileutils
8744 maybe-TAGS-fileutils: TAGS-fileutils
8746 TAGS-fileutils: \
8747 configure-fileutils
8748 @$(unstage)
8749 @[ -f ./fileutils/Makefile ] || exit 0; \
8750 r=`${PWD_COMMAND}`; export r; \
8751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8752 $(HOST_EXPORTS) \
8753 for flag in $(EXTRA_HOST_FLAGS) ; do \
8754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8755 done; \
8756 echo "Doing TAGS in fileutils" ; \
8757 (cd $(HOST_SUBDIR)/fileutils && \
8758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8760 "RANLIB=$${RANLIB}" \
8761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8762 TAGS) \
8763 || exit 1
8765 @endif fileutils
8767 .PHONY: maybe-install-info-fileutils install-info-fileutils
8768 maybe-install-info-fileutils:
8769 @if fileutils
8770 maybe-install-info-fileutils: install-info-fileutils
8772 install-info-fileutils: \
8773 configure-fileutils \
8774 info-fileutils
8775 @$(unstage)
8776 @[ -f ./fileutils/Makefile ] || exit 0; \
8777 r=`${PWD_COMMAND}`; export r; \
8778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8779 $(HOST_EXPORTS) \
8780 for flag in $(EXTRA_HOST_FLAGS) ; do \
8781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8782 done; \
8783 echo "Doing install-info in fileutils" ; \
8784 (cd $(HOST_SUBDIR)/fileutils && \
8785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8787 "RANLIB=$${RANLIB}" \
8788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8789 install-info) \
8790 || exit 1
8792 @endif fileutils
8794 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8795 maybe-installcheck-fileutils:
8796 @if fileutils
8797 maybe-installcheck-fileutils: installcheck-fileutils
8799 installcheck-fileutils: \
8800 configure-fileutils
8801 @$(unstage)
8802 @[ -f ./fileutils/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 installcheck in fileutils" ; \
8810 (cd $(HOST_SUBDIR)/fileutils && \
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 installcheck) \
8816 || exit 1
8818 @endif fileutils
8820 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8821 maybe-mostlyclean-fileutils:
8822 @if fileutils
8823 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8825 mostlyclean-fileutils:
8826 @$(unstage)
8827 @[ -f ./fileutils/Makefile ] || exit 0; \
8828 r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 $(HOST_EXPORTS) \
8831 for flag in $(EXTRA_HOST_FLAGS) ; do \
8832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8833 done; \
8834 echo "Doing mostlyclean in fileutils" ; \
8835 (cd $(HOST_SUBDIR)/fileutils && \
8836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8838 "RANLIB=$${RANLIB}" \
8839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8840 mostlyclean) \
8841 || exit 1
8843 @endif fileutils
8845 .PHONY: maybe-clean-fileutils clean-fileutils
8846 maybe-clean-fileutils:
8847 @if fileutils
8848 maybe-clean-fileutils: clean-fileutils
8850 clean-fileutils:
8851 @$(unstage)
8852 @[ -f ./fileutils/Makefile ] || exit 0; \
8853 r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 $(HOST_EXPORTS) \
8856 for flag in $(EXTRA_HOST_FLAGS) ; do \
8857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8858 done; \
8859 echo "Doing clean in fileutils" ; \
8860 (cd $(HOST_SUBDIR)/fileutils && \
8861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8863 "RANLIB=$${RANLIB}" \
8864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8865 clean) \
8866 || exit 1
8868 @endif fileutils
8870 .PHONY: maybe-distclean-fileutils distclean-fileutils
8871 maybe-distclean-fileutils:
8872 @if fileutils
8873 maybe-distclean-fileutils: distclean-fileutils
8875 distclean-fileutils:
8876 @$(unstage)
8877 @[ -f ./fileutils/Makefile ] || exit 0; \
8878 r=`${PWD_COMMAND}`; export r; \
8879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8880 $(HOST_EXPORTS) \
8881 for flag in $(EXTRA_HOST_FLAGS) ; do \
8882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8883 done; \
8884 echo "Doing distclean in fileutils" ; \
8885 (cd $(HOST_SUBDIR)/fileutils && \
8886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8888 "RANLIB=$${RANLIB}" \
8889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8890 distclean) \
8891 || exit 1
8893 @endif fileutils
8895 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8896 maybe-maintainer-clean-fileutils:
8897 @if fileutils
8898 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8900 maintainer-clean-fileutils:
8901 @$(unstage)
8902 @[ -f ./fileutils/Makefile ] || exit 0; \
8903 r=`${PWD_COMMAND}`; export r; \
8904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8905 $(HOST_EXPORTS) \
8906 for flag in $(EXTRA_HOST_FLAGS) ; do \
8907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8908 done; \
8909 echo "Doing maintainer-clean in fileutils" ; \
8910 (cd $(HOST_SUBDIR)/fileutils && \
8911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8913 "RANLIB=$${RANLIB}" \
8914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8915 maintainer-clean) \
8916 || exit 1
8918 @endif fileutils
8922 .PHONY: configure-findutils maybe-configure-findutils
8923 maybe-configure-findutils:
8924 @if findutils
8925 maybe-configure-findutils: configure-findutils
8926 configure-findutils:
8927 @$(unstage)
8928 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8930 r=`${PWD_COMMAND}`; export r; \
8931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 $(HOST_EXPORTS) \
8933 echo Configuring in $(HOST_SUBDIR)/findutils; \
8934 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8935 case $(srcdir) in \
8936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8937 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8939 esac; \
8940 srcdiroption="--srcdir=$${topdir}/findutils"; \
8941 libsrcdir="$$s/findutils"; \
8942 $(SHELL) $${libsrcdir}/configure \
8943 $(HOST_CONFIGARGS) $${srcdiroption} \
8944 || exit 1
8945 @endif findutils
8951 .PHONY: all-findutils maybe-all-findutils
8952 maybe-all-findutils:
8953 @if findutils
8954 TARGET-findutils=all
8955 maybe-all-findutils: all-findutils
8956 all-findutils: configure-findutils
8957 @$(unstage)
8958 @r=`${PWD_COMMAND}`; export r; \
8959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8960 $(HOST_EXPORTS) \
8961 (cd $(HOST_SUBDIR)/findutils && \
8962 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8963 @endif findutils
8968 .PHONY: check-findutils maybe-check-findutils
8969 maybe-check-findutils:
8970 @if findutils
8971 maybe-check-findutils: check-findutils
8973 check-findutils:
8974 @$(unstage)
8975 @r=`${PWD_COMMAND}`; export r; \
8976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8977 $(HOST_EXPORTS) \
8978 (cd $(HOST_SUBDIR)/findutils && \
8979 $(MAKE) $(FLAGS_TO_PASS) check)
8981 @endif findutils
8983 .PHONY: install-findutils maybe-install-findutils
8984 maybe-install-findutils:
8985 @if findutils
8986 maybe-install-findutils: install-findutils
8988 install-findutils: installdirs
8989 @$(unstage)
8990 @r=`${PWD_COMMAND}`; export r; \
8991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8992 $(HOST_EXPORTS) \
8993 (cd $(HOST_SUBDIR)/findutils && \
8994 $(MAKE) $(FLAGS_TO_PASS) install)
8996 @endif findutils
8998 # Other targets (info, dvi, etc.)
9000 .PHONY: maybe-info-findutils info-findutils
9001 maybe-info-findutils:
9002 @if findutils
9003 maybe-info-findutils: info-findutils
9005 info-findutils: \
9006 configure-findutils
9007 @$(unstage)
9008 @[ -f ./findutils/Makefile ] || exit 0; \
9009 r=`${PWD_COMMAND}`; export r; \
9010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9011 $(HOST_EXPORTS) \
9012 for flag in $(EXTRA_HOST_FLAGS) ; do \
9013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9014 done; \
9015 echo "Doing info in findutils" ; \
9016 (cd $(HOST_SUBDIR)/findutils && \
9017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9019 "RANLIB=$${RANLIB}" \
9020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9021 info) \
9022 || exit 1
9024 @endif findutils
9026 .PHONY: maybe-dvi-findutils dvi-findutils
9027 maybe-dvi-findutils:
9028 @if findutils
9029 maybe-dvi-findutils: dvi-findutils
9031 dvi-findutils: \
9032 configure-findutils
9033 @$(unstage)
9034 @[ -f ./findutils/Makefile ] || exit 0; \
9035 r=`${PWD_COMMAND}`; export r; \
9036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9037 $(HOST_EXPORTS) \
9038 for flag in $(EXTRA_HOST_FLAGS) ; do \
9039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9040 done; \
9041 echo "Doing dvi in findutils" ; \
9042 (cd $(HOST_SUBDIR)/findutils && \
9043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9045 "RANLIB=$${RANLIB}" \
9046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9047 dvi) \
9048 || exit 1
9050 @endif findutils
9052 .PHONY: maybe-html-findutils html-findutils
9053 maybe-html-findutils:
9054 @if findutils
9055 maybe-html-findutils: html-findutils
9057 html-findutils: \
9058 configure-findutils
9059 @$(unstage)
9060 @[ -f ./findutils/Makefile ] || exit 0; \
9061 r=`${PWD_COMMAND}`; export r; \
9062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9063 $(HOST_EXPORTS) \
9064 for flag in $(EXTRA_HOST_FLAGS) ; do \
9065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9066 done; \
9067 echo "Doing html in findutils" ; \
9068 (cd $(HOST_SUBDIR)/findutils && \
9069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9071 "RANLIB=$${RANLIB}" \
9072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9073 html) \
9074 || exit 1
9076 @endif findutils
9078 .PHONY: maybe-TAGS-findutils TAGS-findutils
9079 maybe-TAGS-findutils:
9080 @if findutils
9081 maybe-TAGS-findutils: TAGS-findutils
9083 TAGS-findutils: \
9084 configure-findutils
9085 @$(unstage)
9086 @[ -f ./findutils/Makefile ] || exit 0; \
9087 r=`${PWD_COMMAND}`; export r; \
9088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9089 $(HOST_EXPORTS) \
9090 for flag in $(EXTRA_HOST_FLAGS) ; do \
9091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9092 done; \
9093 echo "Doing TAGS in findutils" ; \
9094 (cd $(HOST_SUBDIR)/findutils && \
9095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9097 "RANLIB=$${RANLIB}" \
9098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9099 TAGS) \
9100 || exit 1
9102 @endif findutils
9104 .PHONY: maybe-install-info-findutils install-info-findutils
9105 maybe-install-info-findutils:
9106 @if findutils
9107 maybe-install-info-findutils: install-info-findutils
9109 install-info-findutils: \
9110 configure-findutils \
9111 info-findutils
9112 @$(unstage)
9113 @[ -f ./findutils/Makefile ] || exit 0; \
9114 r=`${PWD_COMMAND}`; export r; \
9115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9116 $(HOST_EXPORTS) \
9117 for flag in $(EXTRA_HOST_FLAGS) ; do \
9118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9119 done; \
9120 echo "Doing install-info in findutils" ; \
9121 (cd $(HOST_SUBDIR)/findutils && \
9122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9124 "RANLIB=$${RANLIB}" \
9125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9126 install-info) \
9127 || exit 1
9129 @endif findutils
9131 .PHONY: maybe-installcheck-findutils installcheck-findutils
9132 maybe-installcheck-findutils:
9133 @if findutils
9134 maybe-installcheck-findutils: installcheck-findutils
9136 installcheck-findutils: \
9137 configure-findutils
9138 @$(unstage)
9139 @[ -f ./findutils/Makefile ] || exit 0; \
9140 r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 $(HOST_EXPORTS) \
9143 for flag in $(EXTRA_HOST_FLAGS) ; do \
9144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9145 done; \
9146 echo "Doing installcheck in findutils" ; \
9147 (cd $(HOST_SUBDIR)/findutils && \
9148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9150 "RANLIB=$${RANLIB}" \
9151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9152 installcheck) \
9153 || exit 1
9155 @endif findutils
9157 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9158 maybe-mostlyclean-findutils:
9159 @if findutils
9160 maybe-mostlyclean-findutils: mostlyclean-findutils
9162 mostlyclean-findutils:
9163 @$(unstage)
9164 @[ -f ./findutils/Makefile ] || exit 0; \
9165 r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(HOST_EXPORTS) \
9168 for flag in $(EXTRA_HOST_FLAGS) ; do \
9169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9170 done; \
9171 echo "Doing mostlyclean in findutils" ; \
9172 (cd $(HOST_SUBDIR)/findutils && \
9173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9175 "RANLIB=$${RANLIB}" \
9176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9177 mostlyclean) \
9178 || exit 1
9180 @endif findutils
9182 .PHONY: maybe-clean-findutils clean-findutils
9183 maybe-clean-findutils:
9184 @if findutils
9185 maybe-clean-findutils: clean-findutils
9187 clean-findutils:
9188 @$(unstage)
9189 @[ -f ./findutils/Makefile ] || exit 0; \
9190 r=`${PWD_COMMAND}`; export r; \
9191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9192 $(HOST_EXPORTS) \
9193 for flag in $(EXTRA_HOST_FLAGS) ; do \
9194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9195 done; \
9196 echo "Doing clean in findutils" ; \
9197 (cd $(HOST_SUBDIR)/findutils && \
9198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9200 "RANLIB=$${RANLIB}" \
9201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9202 clean) \
9203 || exit 1
9205 @endif findutils
9207 .PHONY: maybe-distclean-findutils distclean-findutils
9208 maybe-distclean-findutils:
9209 @if findutils
9210 maybe-distclean-findutils: distclean-findutils
9212 distclean-findutils:
9213 @$(unstage)
9214 @[ -f ./findutils/Makefile ] || exit 0; \
9215 r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 $(HOST_EXPORTS) \
9218 for flag in $(EXTRA_HOST_FLAGS) ; do \
9219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9220 done; \
9221 echo "Doing distclean in findutils" ; \
9222 (cd $(HOST_SUBDIR)/findutils && \
9223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9225 "RANLIB=$${RANLIB}" \
9226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9227 distclean) \
9228 || exit 1
9230 @endif findutils
9232 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9233 maybe-maintainer-clean-findutils:
9234 @if findutils
9235 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9237 maintainer-clean-findutils:
9238 @$(unstage)
9239 @[ -f ./findutils/Makefile ] || exit 0; \
9240 r=`${PWD_COMMAND}`; export r; \
9241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9242 $(HOST_EXPORTS) \
9243 for flag in $(EXTRA_HOST_FLAGS) ; do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9245 done; \
9246 echo "Doing maintainer-clean in findutils" ; \
9247 (cd $(HOST_SUBDIR)/findutils && \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9252 maintainer-clean) \
9253 || exit 1
9255 @endif findutils
9259 .PHONY: configure-find maybe-configure-find
9260 maybe-configure-find:
9261 @if find
9262 maybe-configure-find: configure-find
9263 configure-find:
9264 @$(unstage)
9265 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9267 r=`${PWD_COMMAND}`; export r; \
9268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9269 $(HOST_EXPORTS) \
9270 echo Configuring in $(HOST_SUBDIR)/find; \
9271 cd "$(HOST_SUBDIR)/find" || exit 1; \
9272 case $(srcdir) in \
9273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9274 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9276 esac; \
9277 srcdiroption="--srcdir=$${topdir}/find"; \
9278 libsrcdir="$$s/find"; \
9279 $(SHELL) $${libsrcdir}/configure \
9280 $(HOST_CONFIGARGS) $${srcdiroption} \
9281 || exit 1
9282 @endif find
9288 .PHONY: all-find maybe-all-find
9289 maybe-all-find:
9290 @if find
9291 TARGET-find=all
9292 maybe-all-find: all-find
9293 all-find: configure-find
9294 @$(unstage)
9295 @r=`${PWD_COMMAND}`; export r; \
9296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9297 $(HOST_EXPORTS) \
9298 (cd $(HOST_SUBDIR)/find && \
9299 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9300 @endif find
9305 .PHONY: check-find maybe-check-find
9306 maybe-check-find:
9307 @if find
9308 maybe-check-find: check-find
9310 check-find:
9311 @$(unstage)
9312 @r=`${PWD_COMMAND}`; export r; \
9313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9314 $(HOST_EXPORTS) \
9315 (cd $(HOST_SUBDIR)/find && \
9316 $(MAKE) $(FLAGS_TO_PASS) check)
9318 @endif find
9320 .PHONY: install-find maybe-install-find
9321 maybe-install-find:
9322 @if find
9323 maybe-install-find: install-find
9325 install-find: installdirs
9326 @$(unstage)
9327 @r=`${PWD_COMMAND}`; export r; \
9328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9329 $(HOST_EXPORTS) \
9330 (cd $(HOST_SUBDIR)/find && \
9331 $(MAKE) $(FLAGS_TO_PASS) install)
9333 @endif find
9335 # Other targets (info, dvi, etc.)
9337 .PHONY: maybe-info-find info-find
9338 maybe-info-find:
9339 @if find
9340 maybe-info-find: info-find
9342 info-find: \
9343 configure-find
9344 @$(unstage)
9345 @[ -f ./find/Makefile ] || exit 0; \
9346 r=`${PWD_COMMAND}`; export r; \
9347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9348 $(HOST_EXPORTS) \
9349 for flag in $(EXTRA_HOST_FLAGS) ; do \
9350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9351 done; \
9352 echo "Doing info in find" ; \
9353 (cd $(HOST_SUBDIR)/find && \
9354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9356 "RANLIB=$${RANLIB}" \
9357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9358 info) \
9359 || exit 1
9361 @endif find
9363 .PHONY: maybe-dvi-find dvi-find
9364 maybe-dvi-find:
9365 @if find
9366 maybe-dvi-find: dvi-find
9368 dvi-find: \
9369 configure-find
9370 @$(unstage)
9371 @[ -f ./find/Makefile ] || exit 0; \
9372 r=`${PWD_COMMAND}`; export r; \
9373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 $(HOST_EXPORTS) \
9375 for flag in $(EXTRA_HOST_FLAGS) ; do \
9376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9377 done; \
9378 echo "Doing dvi in find" ; \
9379 (cd $(HOST_SUBDIR)/find && \
9380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9382 "RANLIB=$${RANLIB}" \
9383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9384 dvi) \
9385 || exit 1
9387 @endif find
9389 .PHONY: maybe-html-find html-find
9390 maybe-html-find:
9391 @if find
9392 maybe-html-find: html-find
9394 html-find: \
9395 configure-find
9396 @$(unstage)
9397 @[ -f ./find/Makefile ] || exit 0; \
9398 r=`${PWD_COMMAND}`; export r; \
9399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9400 $(HOST_EXPORTS) \
9401 for flag in $(EXTRA_HOST_FLAGS) ; do \
9402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9403 done; \
9404 echo "Doing html in find" ; \
9405 (cd $(HOST_SUBDIR)/find && \
9406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9408 "RANLIB=$${RANLIB}" \
9409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9410 html) \
9411 || exit 1
9413 @endif find
9415 .PHONY: maybe-TAGS-find TAGS-find
9416 maybe-TAGS-find:
9417 @if find
9418 maybe-TAGS-find: TAGS-find
9420 TAGS-find: \
9421 configure-find
9422 @$(unstage)
9423 @[ -f ./find/Makefile ] || exit 0; \
9424 r=`${PWD_COMMAND}`; export r; \
9425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9426 $(HOST_EXPORTS) \
9427 for flag in $(EXTRA_HOST_FLAGS) ; do \
9428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9429 done; \
9430 echo "Doing TAGS in find" ; \
9431 (cd $(HOST_SUBDIR)/find && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9434 "RANLIB=$${RANLIB}" \
9435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9436 TAGS) \
9437 || exit 1
9439 @endif find
9441 .PHONY: maybe-install-info-find install-info-find
9442 maybe-install-info-find:
9443 @if find
9444 maybe-install-info-find: install-info-find
9446 install-info-find: \
9447 configure-find \
9448 info-find
9449 @$(unstage)
9450 @[ -f ./find/Makefile ] || exit 0; \
9451 r=`${PWD_COMMAND}`; export r; \
9452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9453 $(HOST_EXPORTS) \
9454 for flag in $(EXTRA_HOST_FLAGS) ; do \
9455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9456 done; \
9457 echo "Doing install-info in find" ; \
9458 (cd $(HOST_SUBDIR)/find && \
9459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9461 "RANLIB=$${RANLIB}" \
9462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9463 install-info) \
9464 || exit 1
9466 @endif find
9468 .PHONY: maybe-installcheck-find installcheck-find
9469 maybe-installcheck-find:
9470 @if find
9471 maybe-installcheck-find: installcheck-find
9473 installcheck-find: \
9474 configure-find
9475 @$(unstage)
9476 @[ -f ./find/Makefile ] || exit 0; \
9477 r=`${PWD_COMMAND}`; export r; \
9478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9479 $(HOST_EXPORTS) \
9480 for flag in $(EXTRA_HOST_FLAGS) ; do \
9481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9482 done; \
9483 echo "Doing installcheck in find" ; \
9484 (cd $(HOST_SUBDIR)/find && \
9485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9487 "RANLIB=$${RANLIB}" \
9488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9489 installcheck) \
9490 || exit 1
9492 @endif find
9494 .PHONY: maybe-mostlyclean-find mostlyclean-find
9495 maybe-mostlyclean-find:
9496 @if find
9497 maybe-mostlyclean-find: mostlyclean-find
9499 mostlyclean-find:
9500 @$(unstage)
9501 @[ -f ./find/Makefile ] || exit 0; \
9502 r=`${PWD_COMMAND}`; export r; \
9503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9504 $(HOST_EXPORTS) \
9505 for flag in $(EXTRA_HOST_FLAGS) ; do \
9506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9507 done; \
9508 echo "Doing mostlyclean in find" ; \
9509 (cd $(HOST_SUBDIR)/find && \
9510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9512 "RANLIB=$${RANLIB}" \
9513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9514 mostlyclean) \
9515 || exit 1
9517 @endif find
9519 .PHONY: maybe-clean-find clean-find
9520 maybe-clean-find:
9521 @if find
9522 maybe-clean-find: clean-find
9524 clean-find:
9525 @$(unstage)
9526 @[ -f ./find/Makefile ] || exit 0; \
9527 r=`${PWD_COMMAND}`; export r; \
9528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9529 $(HOST_EXPORTS) \
9530 for flag in $(EXTRA_HOST_FLAGS) ; do \
9531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9532 done; \
9533 echo "Doing clean in find" ; \
9534 (cd $(HOST_SUBDIR)/find && \
9535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9537 "RANLIB=$${RANLIB}" \
9538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9539 clean) \
9540 || exit 1
9542 @endif find
9544 .PHONY: maybe-distclean-find distclean-find
9545 maybe-distclean-find:
9546 @if find
9547 maybe-distclean-find: distclean-find
9549 distclean-find:
9550 @$(unstage)
9551 @[ -f ./find/Makefile ] || exit 0; \
9552 r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 $(HOST_EXPORTS) \
9555 for flag in $(EXTRA_HOST_FLAGS) ; do \
9556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9557 done; \
9558 echo "Doing distclean in find" ; \
9559 (cd $(HOST_SUBDIR)/find && \
9560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9562 "RANLIB=$${RANLIB}" \
9563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9564 distclean) \
9565 || exit 1
9567 @endif find
9569 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9570 maybe-maintainer-clean-find:
9571 @if find
9572 maybe-maintainer-clean-find: maintainer-clean-find
9574 maintainer-clean-find:
9575 @$(unstage)
9576 @[ -f ./find/Makefile ] || exit 0; \
9577 r=`${PWD_COMMAND}`; export r; \
9578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9579 $(HOST_EXPORTS) \
9580 for flag in $(EXTRA_HOST_FLAGS) ; do \
9581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9582 done; \
9583 echo "Doing maintainer-clean in find" ; \
9584 (cd $(HOST_SUBDIR)/find && \
9585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9587 "RANLIB=$${RANLIB}" \
9588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9589 maintainer-clean) \
9590 || exit 1
9592 @endif find
9596 .PHONY: configure-fixincludes maybe-configure-fixincludes
9597 maybe-configure-fixincludes:
9598 @if fixincludes
9599 maybe-configure-fixincludes: configure-fixincludes
9600 configure-fixincludes:
9601 @$(unstage)
9602 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9604 r=`${PWD_COMMAND}`; export r; \
9605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9606 $(HOST_EXPORTS) \
9607 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9608 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9609 case $(srcdir) in \
9610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9611 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9613 esac; \
9614 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9615 libsrcdir="$$s/fixincludes"; \
9616 $(SHELL) $${libsrcdir}/configure \
9617 $(HOST_CONFIGARGS) $${srcdiroption} \
9618 || exit 1
9619 @endif fixincludes
9625 .PHONY: all-fixincludes maybe-all-fixincludes
9626 maybe-all-fixincludes:
9627 @if fixincludes
9628 TARGET-fixincludes=all
9629 maybe-all-fixincludes: all-fixincludes
9630 all-fixincludes: configure-fixincludes
9631 @$(unstage)
9632 @r=`${PWD_COMMAND}`; export r; \
9633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9634 $(HOST_EXPORTS) \
9635 (cd $(HOST_SUBDIR)/fixincludes && \
9636 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9637 @endif fixincludes
9642 .PHONY: check-fixincludes maybe-check-fixincludes
9643 maybe-check-fixincludes:
9644 @if fixincludes
9645 maybe-check-fixincludes: check-fixincludes
9647 check-fixincludes:
9648 @$(unstage)
9649 @r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9651 $(HOST_EXPORTS) \
9652 (cd $(HOST_SUBDIR)/fixincludes && \
9653 $(MAKE) $(FLAGS_TO_PASS) check)
9655 @endif fixincludes
9657 .PHONY: install-fixincludes maybe-install-fixincludes
9658 maybe-install-fixincludes:
9659 @if fixincludes
9660 maybe-install-fixincludes: install-fixincludes
9662 install-fixincludes: installdirs
9663 @$(unstage)
9664 @r=`${PWD_COMMAND}`; export r; \
9665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 $(HOST_EXPORTS) \
9667 (cd $(HOST_SUBDIR)/fixincludes && \
9668 $(MAKE) $(FLAGS_TO_PASS) install)
9670 @endif fixincludes
9672 # Other targets (info, dvi, etc.)
9674 .PHONY: maybe-info-fixincludes info-fixincludes
9675 maybe-info-fixincludes:
9676 @if fixincludes
9677 maybe-info-fixincludes: info-fixincludes
9679 # fixincludes doesn't support info.
9680 info-fixincludes:
9682 @endif fixincludes
9684 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9685 maybe-dvi-fixincludes:
9686 @if fixincludes
9687 maybe-dvi-fixincludes: dvi-fixincludes
9689 # fixincludes doesn't support dvi.
9690 dvi-fixincludes:
9692 @endif fixincludes
9694 .PHONY: maybe-html-fixincludes html-fixincludes
9695 maybe-html-fixincludes:
9696 @if fixincludes
9697 maybe-html-fixincludes: html-fixincludes
9699 html-fixincludes: \
9700 configure-fixincludes
9701 @$(unstage)
9702 @[ -f ./fixincludes/Makefile ] || exit 0; \
9703 r=`${PWD_COMMAND}`; export r; \
9704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9705 $(HOST_EXPORTS) \
9706 for flag in $(EXTRA_HOST_FLAGS) ; do \
9707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9708 done; \
9709 echo "Doing html in fixincludes" ; \
9710 (cd $(HOST_SUBDIR)/fixincludes && \
9711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9713 "RANLIB=$${RANLIB}" \
9714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9715 html) \
9716 || exit 1
9718 @endif fixincludes
9720 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9721 maybe-TAGS-fixincludes:
9722 @if fixincludes
9723 maybe-TAGS-fixincludes: TAGS-fixincludes
9725 # fixincludes doesn't support TAGS.
9726 TAGS-fixincludes:
9728 @endif fixincludes
9730 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9731 maybe-install-info-fixincludes:
9732 @if fixincludes
9733 maybe-install-info-fixincludes: install-info-fixincludes
9735 # fixincludes doesn't support install-info.
9736 install-info-fixincludes:
9738 @endif fixincludes
9740 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9741 maybe-installcheck-fixincludes:
9742 @if fixincludes
9743 maybe-installcheck-fixincludes: installcheck-fixincludes
9745 # fixincludes doesn't support installcheck.
9746 installcheck-fixincludes:
9748 @endif fixincludes
9750 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9751 maybe-mostlyclean-fixincludes:
9752 @if fixincludes
9753 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9755 mostlyclean-fixincludes:
9756 @$(unstage)
9757 @[ -f ./fixincludes/Makefile ] || exit 0; \
9758 r=`${PWD_COMMAND}`; export r; \
9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9760 $(HOST_EXPORTS) \
9761 for flag in $(EXTRA_HOST_FLAGS) ; do \
9762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9763 done; \
9764 echo "Doing mostlyclean in fixincludes" ; \
9765 (cd $(HOST_SUBDIR)/fixincludes && \
9766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9768 "RANLIB=$${RANLIB}" \
9769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770 mostlyclean) \
9771 || exit 1
9773 @endif fixincludes
9775 .PHONY: maybe-clean-fixincludes clean-fixincludes
9776 maybe-clean-fixincludes:
9777 @if fixincludes
9778 maybe-clean-fixincludes: clean-fixincludes
9780 clean-fixincludes:
9781 @$(unstage)
9782 @[ -f ./fixincludes/Makefile ] || exit 0; \
9783 r=`${PWD_COMMAND}`; export r; \
9784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9785 $(HOST_EXPORTS) \
9786 for flag in $(EXTRA_HOST_FLAGS) ; do \
9787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9788 done; \
9789 echo "Doing clean in fixincludes" ; \
9790 (cd $(HOST_SUBDIR)/fixincludes && \
9791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9793 "RANLIB=$${RANLIB}" \
9794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9795 clean) \
9796 || exit 1
9798 @endif fixincludes
9800 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9801 maybe-distclean-fixincludes:
9802 @if fixincludes
9803 maybe-distclean-fixincludes: distclean-fixincludes
9805 distclean-fixincludes:
9806 @$(unstage)
9807 @[ -f ./fixincludes/Makefile ] || exit 0; \
9808 r=`${PWD_COMMAND}`; export r; \
9809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9810 $(HOST_EXPORTS) \
9811 for flag in $(EXTRA_HOST_FLAGS) ; do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813 done; \
9814 echo "Doing distclean in fixincludes" ; \
9815 (cd $(HOST_SUBDIR)/fixincludes && \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820 distclean) \
9821 || exit 1
9823 @endif fixincludes
9825 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9826 maybe-maintainer-clean-fixincludes:
9827 @if fixincludes
9828 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9830 maintainer-clean-fixincludes:
9831 @$(unstage)
9832 @[ -f ./fixincludes/Makefile ] || exit 0; \
9833 r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 $(HOST_EXPORTS) \
9836 for flag in $(EXTRA_HOST_FLAGS) ; do \
9837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 done; \
9839 echo "Doing maintainer-clean in fixincludes" ; \
9840 (cd $(HOST_SUBDIR)/fixincludes && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9845 maintainer-clean) \
9846 || exit 1
9848 @endif fixincludes
9852 .PHONY: configure-flex maybe-configure-flex
9853 maybe-configure-flex:
9854 @if flex
9855 maybe-configure-flex: configure-flex
9856 configure-flex:
9857 @$(unstage)
9858 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9860 r=`${PWD_COMMAND}`; export r; \
9861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9862 $(HOST_EXPORTS) \
9863 echo Configuring in $(HOST_SUBDIR)/flex; \
9864 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9865 case $(srcdir) in \
9866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9867 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9869 esac; \
9870 srcdiroption="--srcdir=$${topdir}/flex"; \
9871 libsrcdir="$$s/flex"; \
9872 $(SHELL) $${libsrcdir}/configure \
9873 $(HOST_CONFIGARGS) $${srcdiroption} \
9874 || exit 1
9875 @endif flex
9881 .PHONY: all-flex maybe-all-flex
9882 maybe-all-flex:
9883 @if flex
9884 TARGET-flex=all
9885 maybe-all-flex: all-flex
9886 all-flex: configure-flex
9887 @$(unstage)
9888 @r=`${PWD_COMMAND}`; export r; \
9889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9890 $(HOST_EXPORTS) \
9891 (cd $(HOST_SUBDIR)/flex && \
9892 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9893 @endif flex
9898 .PHONY: check-flex maybe-check-flex
9899 maybe-check-flex:
9900 @if flex
9901 maybe-check-flex: check-flex
9903 # This module is only tested in a native toolchain.
9904 check-flex:
9905 @$(unstage)
9906 @if [ '$(host)' = '$(target)' ] ; then \
9907 r=`${PWD_COMMAND}`; export r; \
9908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9909 $(HOST_EXPORTS) \
9910 (cd $(HOST_SUBDIR)/flex && \
9911 $(MAKE) $(FLAGS_TO_PASS) check); \
9914 @endif flex
9916 .PHONY: install-flex maybe-install-flex
9917 maybe-install-flex:
9918 @if flex
9919 maybe-install-flex: install-flex
9921 install-flex: installdirs
9922 @$(unstage)
9923 @r=`${PWD_COMMAND}`; export r; \
9924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9925 $(HOST_EXPORTS) \
9926 (cd $(HOST_SUBDIR)/flex && \
9927 $(MAKE) $(FLAGS_TO_PASS) install)
9929 @endif flex
9931 # Other targets (info, dvi, etc.)
9933 .PHONY: maybe-info-flex info-flex
9934 maybe-info-flex:
9935 @if flex
9936 maybe-info-flex: info-flex
9938 info-flex: \
9939 configure-flex
9940 @$(unstage)
9941 @[ -f ./flex/Makefile ] || exit 0; \
9942 r=`${PWD_COMMAND}`; export r; \
9943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9944 $(HOST_EXPORTS) \
9945 for flag in $(EXTRA_HOST_FLAGS) ; do \
9946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9947 done; \
9948 echo "Doing info in flex" ; \
9949 (cd $(HOST_SUBDIR)/flex && \
9950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9952 "RANLIB=$${RANLIB}" \
9953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9954 info) \
9955 || exit 1
9957 @endif flex
9959 .PHONY: maybe-dvi-flex dvi-flex
9960 maybe-dvi-flex:
9961 @if flex
9962 maybe-dvi-flex: dvi-flex
9964 dvi-flex: \
9965 configure-flex
9966 @$(unstage)
9967 @[ -f ./flex/Makefile ] || exit 0; \
9968 r=`${PWD_COMMAND}`; export r; \
9969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9970 $(HOST_EXPORTS) \
9971 for flag in $(EXTRA_HOST_FLAGS) ; do \
9972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9973 done; \
9974 echo "Doing dvi in flex" ; \
9975 (cd $(HOST_SUBDIR)/flex && \
9976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9978 "RANLIB=$${RANLIB}" \
9979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9980 dvi) \
9981 || exit 1
9983 @endif flex
9985 .PHONY: maybe-html-flex html-flex
9986 maybe-html-flex:
9987 @if flex
9988 maybe-html-flex: html-flex
9990 html-flex: \
9991 configure-flex
9992 @$(unstage)
9993 @[ -f ./flex/Makefile ] || exit 0; \
9994 r=`${PWD_COMMAND}`; export r; \
9995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9996 $(HOST_EXPORTS) \
9997 for flag in $(EXTRA_HOST_FLAGS) ; do \
9998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9999 done; \
10000 echo "Doing html in flex" ; \
10001 (cd $(HOST_SUBDIR)/flex && \
10002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10004 "RANLIB=$${RANLIB}" \
10005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10006 html) \
10007 || exit 1
10009 @endif flex
10011 .PHONY: maybe-TAGS-flex TAGS-flex
10012 maybe-TAGS-flex:
10013 @if flex
10014 maybe-TAGS-flex: TAGS-flex
10016 TAGS-flex: \
10017 configure-flex
10018 @$(unstage)
10019 @[ -f ./flex/Makefile ] || exit 0; \
10020 r=`${PWD_COMMAND}`; export r; \
10021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10022 $(HOST_EXPORTS) \
10023 for flag in $(EXTRA_HOST_FLAGS) ; do \
10024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10025 done; \
10026 echo "Doing TAGS in flex" ; \
10027 (cd $(HOST_SUBDIR)/flex && \
10028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10030 "RANLIB=$${RANLIB}" \
10031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10032 TAGS) \
10033 || exit 1
10035 @endif flex
10037 .PHONY: maybe-install-info-flex install-info-flex
10038 maybe-install-info-flex:
10039 @if flex
10040 maybe-install-info-flex: install-info-flex
10042 install-info-flex: \
10043 configure-flex \
10044 info-flex
10045 @$(unstage)
10046 @[ -f ./flex/Makefile ] || exit 0; \
10047 r=`${PWD_COMMAND}`; export r; \
10048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 $(HOST_EXPORTS) \
10050 for flag in $(EXTRA_HOST_FLAGS) ; do \
10051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10052 done; \
10053 echo "Doing install-info in flex" ; \
10054 (cd $(HOST_SUBDIR)/flex && \
10055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10057 "RANLIB=$${RANLIB}" \
10058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10059 install-info) \
10060 || exit 1
10062 @endif flex
10064 .PHONY: maybe-installcheck-flex installcheck-flex
10065 maybe-installcheck-flex:
10066 @if flex
10067 maybe-installcheck-flex: installcheck-flex
10069 installcheck-flex: \
10070 configure-flex
10071 @$(unstage)
10072 @[ -f ./flex/Makefile ] || exit 0; \
10073 r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10075 $(HOST_EXPORTS) \
10076 for flag in $(EXTRA_HOST_FLAGS) ; do \
10077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10078 done; \
10079 echo "Doing installcheck in flex" ; \
10080 (cd $(HOST_SUBDIR)/flex && \
10081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10083 "RANLIB=$${RANLIB}" \
10084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10085 installcheck) \
10086 || exit 1
10088 @endif flex
10090 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10091 maybe-mostlyclean-flex:
10092 @if flex
10093 maybe-mostlyclean-flex: mostlyclean-flex
10095 mostlyclean-flex:
10096 @$(unstage)
10097 @[ -f ./flex/Makefile ] || exit 0; \
10098 r=`${PWD_COMMAND}`; export r; \
10099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10100 $(HOST_EXPORTS) \
10101 for flag in $(EXTRA_HOST_FLAGS) ; do \
10102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10103 done; \
10104 echo "Doing mostlyclean in flex" ; \
10105 (cd $(HOST_SUBDIR)/flex && \
10106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10108 "RANLIB=$${RANLIB}" \
10109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10110 mostlyclean) \
10111 || exit 1
10113 @endif flex
10115 .PHONY: maybe-clean-flex clean-flex
10116 maybe-clean-flex:
10117 @if flex
10118 maybe-clean-flex: clean-flex
10120 clean-flex:
10121 @$(unstage)
10122 @[ -f ./flex/Makefile ] || exit 0; \
10123 r=`${PWD_COMMAND}`; export r; \
10124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10125 $(HOST_EXPORTS) \
10126 for flag in $(EXTRA_HOST_FLAGS) ; do \
10127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10128 done; \
10129 echo "Doing clean in flex" ; \
10130 (cd $(HOST_SUBDIR)/flex && \
10131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10133 "RANLIB=$${RANLIB}" \
10134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10135 clean) \
10136 || exit 1
10138 @endif flex
10140 .PHONY: maybe-distclean-flex distclean-flex
10141 maybe-distclean-flex:
10142 @if flex
10143 maybe-distclean-flex: distclean-flex
10145 distclean-flex:
10146 @$(unstage)
10147 @[ -f ./flex/Makefile ] || exit 0; \
10148 r=`${PWD_COMMAND}`; export r; \
10149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10150 $(HOST_EXPORTS) \
10151 for flag in $(EXTRA_HOST_FLAGS) ; do \
10152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10153 done; \
10154 echo "Doing distclean in flex" ; \
10155 (cd $(HOST_SUBDIR)/flex && \
10156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10158 "RANLIB=$${RANLIB}" \
10159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10160 distclean) \
10161 || exit 1
10163 @endif flex
10165 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10166 maybe-maintainer-clean-flex:
10167 @if flex
10168 maybe-maintainer-clean-flex: maintainer-clean-flex
10170 maintainer-clean-flex:
10171 @$(unstage)
10172 @[ -f ./flex/Makefile ] || exit 0; \
10173 r=`${PWD_COMMAND}`; export r; \
10174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10175 $(HOST_EXPORTS) \
10176 for flag in $(EXTRA_HOST_FLAGS) ; do \
10177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10178 done; \
10179 echo "Doing maintainer-clean in flex" ; \
10180 (cd $(HOST_SUBDIR)/flex && \
10181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10183 "RANLIB=$${RANLIB}" \
10184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10185 maintainer-clean) \
10186 || exit 1
10188 @endif flex
10192 .PHONY: configure-gas maybe-configure-gas
10193 maybe-configure-gas:
10194 @if gas
10195 maybe-configure-gas: configure-gas
10196 configure-gas:
10197 @test -f stage_last && exit 0; \
10198 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10200 r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 $(HOST_EXPORTS) \
10203 echo Configuring in $(HOST_SUBDIR)/gas; \
10204 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10205 case $(srcdir) in \
10206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10207 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10209 esac; \
10210 srcdiroption="--srcdir=$${topdir}/gas"; \
10211 libsrcdir="$$s/gas"; \
10212 $(SHELL) $${libsrcdir}/configure \
10213 $(HOST_CONFIGARGS) $${srcdiroption} \
10214 || exit 1
10215 @endif gas
10219 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10220 maybe-configure-stage1-gas:
10221 @if gas-bootstrap
10222 maybe-configure-stage1-gas: configure-stage1-gas
10223 configure-stage1-gas:
10224 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10225 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10226 r=`${PWD_COMMAND}`; export r; \
10227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10228 $(HOST_EXPORTS) \
10229 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10230 cd $(HOST_SUBDIR)/gas || exit 1; \
10231 case $(srcdir) in \
10232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10233 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10235 esac; \
10236 srcdiroption="--srcdir=$${topdir}/gas"; \
10237 libsrcdir="$$s/gas"; \
10238 $(SHELL) $${libsrcdir}/configure \
10239 $(HOST_CONFIGARGS) $${srcdiroption} \
10240 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10241 @endif gas-bootstrap
10243 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10244 maybe-configure-stage2-gas:
10245 @if gas-bootstrap
10246 maybe-configure-stage2-gas: configure-stage2-gas
10247 configure-stage2-gas:
10248 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10249 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10250 r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 $(HOST_EXPORTS) \
10253 $(POSTSTAGE1_HOST_EXPORTS) \
10254 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10255 cd $(HOST_SUBDIR)/gas || exit 1; \
10256 case $(srcdir) in \
10257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10258 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10260 esac; \
10261 srcdiroption="--srcdir=$${topdir}/gas"; \
10262 libsrcdir="$$s/gas"; \
10263 $(SHELL) $${libsrcdir}/configure \
10264 $(HOST_CONFIGARGS) $${srcdiroption} \
10265 @stage2_werror_flag@
10266 @endif gas-bootstrap
10268 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10269 maybe-configure-stage3-gas:
10270 @if gas-bootstrap
10271 maybe-configure-stage3-gas: configure-stage3-gas
10272 configure-stage3-gas:
10273 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10274 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10275 r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10277 $(HOST_EXPORTS) \
10278 $(POSTSTAGE1_HOST_EXPORTS) \
10279 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10280 cd $(HOST_SUBDIR)/gas || exit 1; \
10281 case $(srcdir) in \
10282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10283 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10285 esac; \
10286 srcdiroption="--srcdir=$${topdir}/gas"; \
10287 libsrcdir="$$s/gas"; \
10288 $(SHELL) $${libsrcdir}/configure \
10289 $(HOST_CONFIGARGS) $${srcdiroption} \
10290 @stage2_werror_flag@
10291 @endif gas-bootstrap
10293 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10294 maybe-configure-stage4-gas:
10295 @if gas-bootstrap
10296 maybe-configure-stage4-gas: configure-stage4-gas
10297 configure-stage4-gas:
10298 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10299 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10300 r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10302 $(HOST_EXPORTS) \
10303 $(POSTSTAGE1_HOST_EXPORTS) \
10304 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10305 cd $(HOST_SUBDIR)/gas || exit 1; \
10306 case $(srcdir) in \
10307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10308 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10310 esac; \
10311 srcdiroption="--srcdir=$${topdir}/gas"; \
10312 libsrcdir="$$s/gas"; \
10313 $(SHELL) $${libsrcdir}/configure \
10314 $(HOST_CONFIGARGS) $${srcdiroption} \
10315 @stage2_werror_flag@
10316 @endif gas-bootstrap
10318 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10319 maybe-configure-stageprofile-gas:
10320 @if gas-bootstrap
10321 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10322 configure-stageprofile-gas:
10323 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10324 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10325 r=`${PWD_COMMAND}`; export r; \
10326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10327 $(HOST_EXPORTS) \
10328 $(POSTSTAGE1_HOST_EXPORTS) \
10329 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10330 cd $(HOST_SUBDIR)/gas || exit 1; \
10331 case $(srcdir) in \
10332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10333 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10335 esac; \
10336 srcdiroption="--srcdir=$${topdir}/gas"; \
10337 libsrcdir="$$s/gas"; \
10338 $(SHELL) $${libsrcdir}/configure \
10339 $(HOST_CONFIGARGS) $${srcdiroption} \
10340 @stage2_werror_flag@
10341 @endif gas-bootstrap
10343 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10344 maybe-configure-stagefeedback-gas:
10345 @if gas-bootstrap
10346 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10347 configure-stagefeedback-gas:
10348 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10349 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10350 r=`${PWD_COMMAND}`; export r; \
10351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10352 $(HOST_EXPORTS) \
10353 $(POSTSTAGE1_HOST_EXPORTS) \
10354 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10355 cd $(HOST_SUBDIR)/gas || exit 1; \
10356 case $(srcdir) in \
10357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10358 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10360 esac; \
10361 srcdiroption="--srcdir=$${topdir}/gas"; \
10362 libsrcdir="$$s/gas"; \
10363 $(SHELL) $${libsrcdir}/configure \
10364 $(HOST_CONFIGARGS) $${srcdiroption} \
10365 @stage2_werror_flag@
10366 @endif gas-bootstrap
10372 .PHONY: all-gas maybe-all-gas
10373 maybe-all-gas:
10374 @if gas
10375 TARGET-gas=all
10376 maybe-all-gas: all-gas
10377 all-gas: configure-gas
10378 @test -f stage_last && exit 0; \
10379 r=`${PWD_COMMAND}`; export r; \
10380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10381 $(HOST_EXPORTS) \
10382 (cd $(HOST_SUBDIR)/gas && \
10383 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10384 @endif gas
10388 .PHONY: all-stage1-gas maybe-all-stage1-gas
10389 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10390 maybe-all-stage1-gas:
10391 maybe-clean-stage1-gas:
10392 @if gas-bootstrap
10393 maybe-all-stage1-gas: all-stage1-gas
10394 all-stage1: all-stage1-gas
10395 TARGET-stage1-gas = $(TARGET-gas)
10396 all-stage1-gas: configure-stage1-gas
10397 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10398 @r=`${PWD_COMMAND}`; export r; \
10399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10400 $(HOST_EXPORTS) \
10401 cd $(HOST_SUBDIR)/gas && \
10402 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10403 $(TARGET-stage1-gas)
10405 maybe-clean-stage1-gas: clean-stage1-gas
10406 clean-stage1: clean-stage1-gas
10407 clean-stage1-gas:
10408 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10409 || exit 0 ; \
10410 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10411 cd $(HOST_SUBDIR)/gas && \
10412 $(MAKE) $(FLAGS_TO_PASS) \
10413 CFLAGS="$(STAGE1_CFLAGS)" clean
10414 @endif gas-bootstrap
10417 .PHONY: all-stage2-gas maybe-all-stage2-gas
10418 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10419 maybe-all-stage2-gas:
10420 maybe-clean-stage2-gas:
10421 @if gas-bootstrap
10422 maybe-all-stage2-gas: all-stage2-gas
10423 all-stage2: all-stage2-gas
10424 TARGET-stage2-gas = $(TARGET-gas)
10425 all-stage2-gas: configure-stage2-gas
10426 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10427 @r=`${PWD_COMMAND}`; export r; \
10428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10429 $(HOST_EXPORTS) \
10430 $(POSTSTAGE1_HOST_EXPORTS) \
10431 cd $(HOST_SUBDIR)/gas && \
10432 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10433 $(TARGET-stage2-gas)
10435 maybe-clean-stage2-gas: clean-stage2-gas
10436 clean-stage2: clean-stage2-gas
10437 clean-stage2-gas:
10438 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10439 || exit 0 ; \
10440 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10441 cd $(HOST_SUBDIR)/gas && \
10442 $(MAKE) $(FLAGS_TO_PASS) \
10443 $(POSTSTAGE1_FLAGS_TO_PASS) \
10444 clean
10445 @endif gas-bootstrap
10448 .PHONY: all-stage3-gas maybe-all-stage3-gas
10449 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10450 maybe-all-stage3-gas:
10451 maybe-clean-stage3-gas:
10452 @if gas-bootstrap
10453 maybe-all-stage3-gas: all-stage3-gas
10454 all-stage3: all-stage3-gas
10455 TARGET-stage3-gas = $(TARGET-gas)
10456 all-stage3-gas: configure-stage3-gas
10457 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10458 @r=`${PWD_COMMAND}`; export r; \
10459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10460 $(HOST_EXPORTS) \
10461 $(POSTSTAGE1_HOST_EXPORTS) \
10462 cd $(HOST_SUBDIR)/gas && \
10463 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10464 $(TARGET-stage3-gas)
10466 maybe-clean-stage3-gas: clean-stage3-gas
10467 clean-stage3: clean-stage3-gas
10468 clean-stage3-gas:
10469 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10470 || exit 0 ; \
10471 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10472 cd $(HOST_SUBDIR)/gas && \
10473 $(MAKE) $(FLAGS_TO_PASS) \
10474 $(POSTSTAGE1_FLAGS_TO_PASS) \
10475 clean
10476 @endif gas-bootstrap
10479 .PHONY: all-stage4-gas maybe-all-stage4-gas
10480 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10481 maybe-all-stage4-gas:
10482 maybe-clean-stage4-gas:
10483 @if gas-bootstrap
10484 maybe-all-stage4-gas: all-stage4-gas
10485 all-stage4: all-stage4-gas
10486 TARGET-stage4-gas = $(TARGET-gas)
10487 all-stage4-gas: configure-stage4-gas
10488 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10489 @r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 $(HOST_EXPORTS) \
10492 $(POSTSTAGE1_HOST_EXPORTS) \
10493 cd $(HOST_SUBDIR)/gas && \
10494 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10495 $(TARGET-stage4-gas)
10497 maybe-clean-stage4-gas: clean-stage4-gas
10498 clean-stage4: clean-stage4-gas
10499 clean-stage4-gas:
10500 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10501 || exit 0 ; \
10502 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10503 cd $(HOST_SUBDIR)/gas && \
10504 $(MAKE) $(FLAGS_TO_PASS) \
10505 $(POSTSTAGE1_FLAGS_TO_PASS) \
10506 clean
10507 @endif gas-bootstrap
10510 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10511 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10512 maybe-all-stageprofile-gas:
10513 maybe-clean-stageprofile-gas:
10514 @if gas-bootstrap
10515 maybe-all-stageprofile-gas: all-stageprofile-gas
10516 all-stageprofile: all-stageprofile-gas
10517 TARGET-stageprofile-gas = $(TARGET-gas)
10518 all-stageprofile-gas: configure-stageprofile-gas
10519 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10520 @r=`${PWD_COMMAND}`; export r; \
10521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10522 $(HOST_EXPORTS) \
10523 $(POSTSTAGE1_HOST_EXPORTS) \
10524 cd $(HOST_SUBDIR)/gas && \
10525 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10526 $(TARGET-stageprofile-gas)
10528 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10529 clean-stageprofile: clean-stageprofile-gas
10530 clean-stageprofile-gas:
10531 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10532 || exit 0 ; \
10533 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10534 cd $(HOST_SUBDIR)/gas && \
10535 $(MAKE) $(FLAGS_TO_PASS) \
10536 $(POSTSTAGE1_FLAGS_TO_PASS) \
10537 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10538 @endif gas-bootstrap
10541 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10542 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10543 maybe-all-stagefeedback-gas:
10544 maybe-clean-stagefeedback-gas:
10545 @if gas-bootstrap
10546 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10547 all-stagefeedback: all-stagefeedback-gas
10548 TARGET-stagefeedback-gas = $(TARGET-gas)
10549 all-stagefeedback-gas: configure-stagefeedback-gas
10550 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10551 @r=`${PWD_COMMAND}`; export r; \
10552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10553 $(HOST_EXPORTS) \
10554 $(POSTSTAGE1_HOST_EXPORTS) \
10555 cd $(HOST_SUBDIR)/gas && \
10556 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10557 $(TARGET-stagefeedback-gas)
10559 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10560 clean-stagefeedback: clean-stagefeedback-gas
10561 clean-stagefeedback-gas:
10562 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10563 || exit 0 ; \
10564 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10565 cd $(HOST_SUBDIR)/gas && \
10566 $(MAKE) $(FLAGS_TO_PASS) \
10567 $(POSTSTAGE1_FLAGS_TO_PASS) \
10568 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10569 @endif gas-bootstrap
10575 .PHONY: check-gas maybe-check-gas
10576 maybe-check-gas:
10577 @if gas
10578 maybe-check-gas: check-gas
10580 check-gas:
10581 @$(unstage)
10582 @r=`${PWD_COMMAND}`; export r; \
10583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10584 $(HOST_EXPORTS) \
10585 (cd $(HOST_SUBDIR)/gas && \
10586 $(MAKE) $(FLAGS_TO_PASS) check)
10588 @endif gas
10590 .PHONY: install-gas maybe-install-gas
10591 maybe-install-gas:
10592 @if gas
10593 maybe-install-gas: install-gas
10595 install-gas: installdirs
10596 @$(unstage)
10597 @r=`${PWD_COMMAND}`; export r; \
10598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 $(HOST_EXPORTS) \
10600 (cd $(HOST_SUBDIR)/gas && \
10601 $(MAKE) $(FLAGS_TO_PASS) install)
10603 @endif gas
10605 # Other targets (info, dvi, etc.)
10607 .PHONY: maybe-info-gas info-gas
10608 maybe-info-gas:
10609 @if gas
10610 maybe-info-gas: info-gas
10612 info-gas: \
10613 configure-gas
10614 @[ -f ./gas/Makefile ] || exit 0; \
10615 r=`${PWD_COMMAND}`; export r; \
10616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 $(HOST_EXPORTS) \
10618 for flag in $(EXTRA_HOST_FLAGS) ; do \
10619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10620 done; \
10621 echo "Doing info in gas" ; \
10622 (cd $(HOST_SUBDIR)/gas && \
10623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10625 "RANLIB=$${RANLIB}" \
10626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10627 info) \
10628 || exit 1
10630 @endif gas
10632 .PHONY: maybe-dvi-gas dvi-gas
10633 maybe-dvi-gas:
10634 @if gas
10635 maybe-dvi-gas: dvi-gas
10637 dvi-gas: \
10638 configure-gas
10639 @[ -f ./gas/Makefile ] || exit 0; \
10640 r=`${PWD_COMMAND}`; export r; \
10641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10642 $(HOST_EXPORTS) \
10643 for flag in $(EXTRA_HOST_FLAGS) ; do \
10644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10645 done; \
10646 echo "Doing dvi in gas" ; \
10647 (cd $(HOST_SUBDIR)/gas && \
10648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10650 "RANLIB=$${RANLIB}" \
10651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10652 dvi) \
10653 || exit 1
10655 @endif gas
10657 .PHONY: maybe-html-gas html-gas
10658 maybe-html-gas:
10659 @if gas
10660 maybe-html-gas: html-gas
10662 html-gas: \
10663 configure-gas
10664 @[ -f ./gas/Makefile ] || exit 0; \
10665 r=`${PWD_COMMAND}`; export r; \
10666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10667 $(HOST_EXPORTS) \
10668 for flag in $(EXTRA_HOST_FLAGS) ; do \
10669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10670 done; \
10671 echo "Doing html in gas" ; \
10672 (cd $(HOST_SUBDIR)/gas && \
10673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10675 "RANLIB=$${RANLIB}" \
10676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10677 html) \
10678 || exit 1
10680 @endif gas
10682 .PHONY: maybe-TAGS-gas TAGS-gas
10683 maybe-TAGS-gas:
10684 @if gas
10685 maybe-TAGS-gas: TAGS-gas
10687 TAGS-gas: \
10688 configure-gas
10689 @[ -f ./gas/Makefile ] || exit 0; \
10690 r=`${PWD_COMMAND}`; export r; \
10691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10692 $(HOST_EXPORTS) \
10693 for flag in $(EXTRA_HOST_FLAGS) ; do \
10694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10695 done; \
10696 echo "Doing TAGS in gas" ; \
10697 (cd $(HOST_SUBDIR)/gas && \
10698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10700 "RANLIB=$${RANLIB}" \
10701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10702 TAGS) \
10703 || exit 1
10705 @endif gas
10707 .PHONY: maybe-install-info-gas install-info-gas
10708 maybe-install-info-gas:
10709 @if gas
10710 maybe-install-info-gas: install-info-gas
10712 install-info-gas: \
10713 configure-gas \
10714 info-gas
10715 @[ -f ./gas/Makefile ] || exit 0; \
10716 r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10718 $(HOST_EXPORTS) \
10719 for flag in $(EXTRA_HOST_FLAGS) ; do \
10720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10721 done; \
10722 echo "Doing install-info in gas" ; \
10723 (cd $(HOST_SUBDIR)/gas && \
10724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10726 "RANLIB=$${RANLIB}" \
10727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10728 install-info) \
10729 || exit 1
10731 @endif gas
10733 .PHONY: maybe-installcheck-gas installcheck-gas
10734 maybe-installcheck-gas:
10735 @if gas
10736 maybe-installcheck-gas: installcheck-gas
10738 installcheck-gas: \
10739 configure-gas
10740 @[ -f ./gas/Makefile ] || exit 0; \
10741 r=`${PWD_COMMAND}`; export r; \
10742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10743 $(HOST_EXPORTS) \
10744 for flag in $(EXTRA_HOST_FLAGS) ; do \
10745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10746 done; \
10747 echo "Doing installcheck in gas" ; \
10748 (cd $(HOST_SUBDIR)/gas && \
10749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10751 "RANLIB=$${RANLIB}" \
10752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10753 installcheck) \
10754 || exit 1
10756 @endif gas
10758 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10759 maybe-mostlyclean-gas:
10760 @if gas
10761 maybe-mostlyclean-gas: mostlyclean-gas
10763 mostlyclean-gas:
10764 @[ -f ./gas/Makefile ] || exit 0; \
10765 r=`${PWD_COMMAND}`; export r; \
10766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10767 $(HOST_EXPORTS) \
10768 for flag in $(EXTRA_HOST_FLAGS) ; do \
10769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10770 done; \
10771 echo "Doing mostlyclean in gas" ; \
10772 (cd $(HOST_SUBDIR)/gas && \
10773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10775 "RANLIB=$${RANLIB}" \
10776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10777 mostlyclean) \
10778 || exit 1
10780 @endif gas
10782 .PHONY: maybe-clean-gas clean-gas
10783 maybe-clean-gas:
10784 @if gas
10785 maybe-clean-gas: clean-gas
10787 clean-gas:
10788 @[ -f ./gas/Makefile ] || exit 0; \
10789 r=`${PWD_COMMAND}`; export r; \
10790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10791 $(HOST_EXPORTS) \
10792 for flag in $(EXTRA_HOST_FLAGS) ; do \
10793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10794 done; \
10795 echo "Doing clean in gas" ; \
10796 (cd $(HOST_SUBDIR)/gas && \
10797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10799 "RANLIB=$${RANLIB}" \
10800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10801 clean) \
10802 || exit 1
10804 @endif gas
10806 .PHONY: maybe-distclean-gas distclean-gas
10807 maybe-distclean-gas:
10808 @if gas
10809 maybe-distclean-gas: distclean-gas
10811 distclean-gas:
10812 @[ -f ./gas/Makefile ] || exit 0; \
10813 r=`${PWD_COMMAND}`; export r; \
10814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10815 $(HOST_EXPORTS) \
10816 for flag in $(EXTRA_HOST_FLAGS) ; do \
10817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10818 done; \
10819 echo "Doing distclean in gas" ; \
10820 (cd $(HOST_SUBDIR)/gas && \
10821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10823 "RANLIB=$${RANLIB}" \
10824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10825 distclean) \
10826 || exit 1
10828 @endif gas
10830 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10831 maybe-maintainer-clean-gas:
10832 @if gas
10833 maybe-maintainer-clean-gas: maintainer-clean-gas
10835 maintainer-clean-gas:
10836 @[ -f ./gas/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 maintainer-clean in gas" ; \
10844 (cd $(HOST_SUBDIR)/gas && \
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 maintainer-clean) \
10850 || exit 1
10852 @endif gas
10856 .PHONY: configure-gcc maybe-configure-gcc
10857 maybe-configure-gcc:
10858 @if gcc
10859 maybe-configure-gcc: configure-gcc
10860 configure-gcc:
10861 @test -f stage_last && exit 0; \
10862 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10864 r=`${PWD_COMMAND}`; export r; \
10865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10866 $(HOST_EXPORTS) \
10867 echo Configuring in $(HOST_SUBDIR)/gcc; \
10868 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10869 case $(srcdir) in \
10870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10871 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10873 esac; \
10874 srcdiroption="--srcdir=$${topdir}/gcc"; \
10875 libsrcdir="$$s/gcc"; \
10876 $(SHELL) $${libsrcdir}/configure \
10877 $(HOST_CONFIGARGS) $${srcdiroption} \
10878 || exit 1
10879 @endif gcc
10883 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10884 maybe-configure-stage1-gcc:
10885 @if gcc-bootstrap
10886 maybe-configure-stage1-gcc: configure-stage1-gcc
10887 configure-stage1-gcc:
10888 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10889 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10890 r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10892 $(HOST_EXPORTS) \
10893 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10894 cd $(HOST_SUBDIR)/gcc || exit 1; \
10895 case $(srcdir) in \
10896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10897 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10899 esac; \
10900 srcdiroption="--srcdir=$${topdir}/gcc"; \
10901 libsrcdir="$$s/gcc"; \
10902 $(SHELL) $${libsrcdir}/configure \
10903 $(HOST_CONFIGARGS) $${srcdiroption} \
10904 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10905 @endif gcc-bootstrap
10907 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10908 maybe-configure-stage2-gcc:
10909 @if gcc-bootstrap
10910 maybe-configure-stage2-gcc: configure-stage2-gcc
10911 configure-stage2-gcc:
10912 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10913 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10914 r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916 $(HOST_EXPORTS) \
10917 $(POSTSTAGE1_HOST_EXPORTS) \
10918 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10919 cd $(HOST_SUBDIR)/gcc || exit 1; \
10920 case $(srcdir) in \
10921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10922 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10924 esac; \
10925 srcdiroption="--srcdir=$${topdir}/gcc"; \
10926 libsrcdir="$$s/gcc"; \
10927 $(SHELL) $${libsrcdir}/configure \
10928 $(HOST_CONFIGARGS) $${srcdiroption} \
10929 @stage2_werror_flag@
10930 @endif gcc-bootstrap
10932 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10933 maybe-configure-stage3-gcc:
10934 @if gcc-bootstrap
10935 maybe-configure-stage3-gcc: configure-stage3-gcc
10936 configure-stage3-gcc:
10937 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10938 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10939 r=`${PWD_COMMAND}`; export r; \
10940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10941 $(HOST_EXPORTS) \
10942 $(POSTSTAGE1_HOST_EXPORTS) \
10943 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10944 cd $(HOST_SUBDIR)/gcc || exit 1; \
10945 case $(srcdir) in \
10946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10947 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10949 esac; \
10950 srcdiroption="--srcdir=$${topdir}/gcc"; \
10951 libsrcdir="$$s/gcc"; \
10952 $(SHELL) $${libsrcdir}/configure \
10953 $(HOST_CONFIGARGS) $${srcdiroption} \
10954 @stage2_werror_flag@
10955 @endif gcc-bootstrap
10957 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10958 maybe-configure-stage4-gcc:
10959 @if gcc-bootstrap
10960 maybe-configure-stage4-gcc: configure-stage4-gcc
10961 configure-stage4-gcc:
10962 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10963 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10964 r=`${PWD_COMMAND}`; export r; \
10965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10966 $(HOST_EXPORTS) \
10967 $(POSTSTAGE1_HOST_EXPORTS) \
10968 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10969 cd $(HOST_SUBDIR)/gcc || exit 1; \
10970 case $(srcdir) in \
10971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10972 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10974 esac; \
10975 srcdiroption="--srcdir=$${topdir}/gcc"; \
10976 libsrcdir="$$s/gcc"; \
10977 $(SHELL) $${libsrcdir}/configure \
10978 $(HOST_CONFIGARGS) $${srcdiroption} \
10979 @stage2_werror_flag@
10980 @endif gcc-bootstrap
10982 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10983 maybe-configure-stageprofile-gcc:
10984 @if gcc-bootstrap
10985 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10986 configure-stageprofile-gcc:
10987 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10988 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10989 r=`${PWD_COMMAND}`; export r; \
10990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10991 $(HOST_EXPORTS) \
10992 $(POSTSTAGE1_HOST_EXPORTS) \
10993 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10994 cd $(HOST_SUBDIR)/gcc || exit 1; \
10995 case $(srcdir) in \
10996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10997 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10999 esac; \
11000 srcdiroption="--srcdir=$${topdir}/gcc"; \
11001 libsrcdir="$$s/gcc"; \
11002 $(SHELL) $${libsrcdir}/configure \
11003 $(HOST_CONFIGARGS) $${srcdiroption} \
11004 @stage2_werror_flag@
11005 @endif gcc-bootstrap
11007 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11008 maybe-configure-stagefeedback-gcc:
11009 @if gcc-bootstrap
11010 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11011 configure-stagefeedback-gcc:
11012 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11013 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11014 r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 $(HOST_EXPORTS) \
11017 $(POSTSTAGE1_HOST_EXPORTS) \
11018 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11019 cd $(HOST_SUBDIR)/gcc || exit 1; \
11020 case $(srcdir) in \
11021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11022 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11024 esac; \
11025 srcdiroption="--srcdir=$${topdir}/gcc"; \
11026 libsrcdir="$$s/gcc"; \
11027 $(SHELL) $${libsrcdir}/configure \
11028 $(HOST_CONFIGARGS) $${srcdiroption} \
11029 @stage2_werror_flag@
11030 @endif gcc-bootstrap
11036 .PHONY: all-gcc maybe-all-gcc
11037 maybe-all-gcc:
11038 @if gcc
11039 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11040 maybe-all-gcc: all-gcc
11041 all-gcc: configure-gcc
11042 @test -f stage_last && exit 0; \
11043 r=`${PWD_COMMAND}`; export r; \
11044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11045 $(HOST_EXPORTS) \
11046 (cd $(HOST_SUBDIR)/gcc && \
11047 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11048 @endif gcc
11052 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11053 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11054 maybe-all-stage1-gcc:
11055 maybe-clean-stage1-gcc:
11056 @if gcc-bootstrap
11057 maybe-all-stage1-gcc: all-stage1-gcc
11058 all-stage1: all-stage1-gcc
11059 TARGET-stage1-gcc = $(TARGET-gcc)
11060 all-stage1-gcc: configure-stage1-gcc
11061 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11062 @r=`${PWD_COMMAND}`; export r; \
11063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11064 $(HOST_EXPORTS) \
11065 cd $(HOST_SUBDIR)/gcc && \
11066 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11067 $(TARGET-stage1-gcc)
11069 maybe-clean-stage1-gcc: clean-stage1-gcc
11070 clean-stage1: clean-stage1-gcc
11071 clean-stage1-gcc:
11072 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11073 || exit 0 ; \
11074 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11075 cd $(HOST_SUBDIR)/gcc && \
11076 $(MAKE) $(FLAGS_TO_PASS) \
11077 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11078 @endif gcc-bootstrap
11081 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11082 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11083 maybe-all-stage2-gcc:
11084 maybe-clean-stage2-gcc:
11085 @if gcc-bootstrap
11086 maybe-all-stage2-gcc: all-stage2-gcc
11087 all-stage2: all-stage2-gcc
11088 TARGET-stage2-gcc = $(TARGET-gcc)
11089 all-stage2-gcc: configure-stage2-gcc
11090 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11091 @r=`${PWD_COMMAND}`; export r; \
11092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11093 $(HOST_EXPORTS) \
11094 $(POSTSTAGE1_HOST_EXPORTS) \
11095 cd $(HOST_SUBDIR)/gcc && \
11096 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11097 $(TARGET-stage2-gcc)
11099 maybe-clean-stage2-gcc: clean-stage2-gcc
11100 clean-stage2: clean-stage2-gcc
11101 clean-stage2-gcc:
11102 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11103 || exit 0 ; \
11104 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11105 cd $(HOST_SUBDIR)/gcc && \
11106 $(MAKE) $(FLAGS_TO_PASS) \
11107 $(POSTSTAGE1_FLAGS_TO_PASS) \
11108 $(EXTRA_GCC_FLAGS) clean
11109 @endif gcc-bootstrap
11112 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11113 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11114 maybe-all-stage3-gcc:
11115 maybe-clean-stage3-gcc:
11116 @if gcc-bootstrap
11117 maybe-all-stage3-gcc: all-stage3-gcc
11118 all-stage3: all-stage3-gcc
11119 TARGET-stage3-gcc = $(TARGET-gcc)
11120 all-stage3-gcc: configure-stage3-gcc
11121 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11122 @r=`${PWD_COMMAND}`; export r; \
11123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11124 $(HOST_EXPORTS) \
11125 $(POSTSTAGE1_HOST_EXPORTS) \
11126 cd $(HOST_SUBDIR)/gcc && \
11127 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11128 $(TARGET-stage3-gcc)
11130 maybe-clean-stage3-gcc: clean-stage3-gcc
11131 clean-stage3: clean-stage3-gcc
11132 clean-stage3-gcc:
11133 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11134 || exit 0 ; \
11135 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11136 cd $(HOST_SUBDIR)/gcc && \
11137 $(MAKE) $(FLAGS_TO_PASS) \
11138 $(POSTSTAGE1_FLAGS_TO_PASS) \
11139 $(EXTRA_GCC_FLAGS) clean
11140 @endif gcc-bootstrap
11143 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11144 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11145 maybe-all-stage4-gcc:
11146 maybe-clean-stage4-gcc:
11147 @if gcc-bootstrap
11148 maybe-all-stage4-gcc: all-stage4-gcc
11149 all-stage4: all-stage4-gcc
11150 TARGET-stage4-gcc = $(TARGET-gcc)
11151 all-stage4-gcc: configure-stage4-gcc
11152 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11153 @r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 $(HOST_EXPORTS) \
11156 $(POSTSTAGE1_HOST_EXPORTS) \
11157 cd $(HOST_SUBDIR)/gcc && \
11158 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11159 $(TARGET-stage4-gcc)
11161 maybe-clean-stage4-gcc: clean-stage4-gcc
11162 clean-stage4: clean-stage4-gcc
11163 clean-stage4-gcc:
11164 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11165 || exit 0 ; \
11166 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11167 cd $(HOST_SUBDIR)/gcc && \
11168 $(MAKE) $(FLAGS_TO_PASS) \
11169 $(POSTSTAGE1_FLAGS_TO_PASS) \
11170 $(EXTRA_GCC_FLAGS) clean
11171 @endif gcc-bootstrap
11174 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11175 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11176 maybe-all-stageprofile-gcc:
11177 maybe-clean-stageprofile-gcc:
11178 @if gcc-bootstrap
11179 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11180 all-stageprofile: all-stageprofile-gcc
11181 TARGET-stageprofile-gcc = $(TARGET-gcc)
11182 all-stageprofile-gcc: configure-stageprofile-gcc
11183 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11184 @r=`${PWD_COMMAND}`; export r; \
11185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11186 $(HOST_EXPORTS) \
11187 $(POSTSTAGE1_HOST_EXPORTS) \
11188 cd $(HOST_SUBDIR)/gcc && \
11189 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11190 $(TARGET-stageprofile-gcc)
11192 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11193 clean-stageprofile: clean-stageprofile-gcc
11194 clean-stageprofile-gcc:
11195 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11196 || exit 0 ; \
11197 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11198 cd $(HOST_SUBDIR)/gcc && \
11199 $(MAKE) $(FLAGS_TO_PASS) \
11200 $(POSTSTAGE1_FLAGS_TO_PASS) \
11201 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11202 @endif gcc-bootstrap
11205 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11206 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11207 maybe-all-stagefeedback-gcc:
11208 maybe-clean-stagefeedback-gcc:
11209 @if gcc-bootstrap
11210 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11211 all-stagefeedback: all-stagefeedback-gcc
11212 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11213 all-stagefeedback-gcc: configure-stagefeedback-gcc
11214 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11215 @r=`${PWD_COMMAND}`; export r; \
11216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11217 $(HOST_EXPORTS) \
11218 $(POSTSTAGE1_HOST_EXPORTS) \
11219 cd $(HOST_SUBDIR)/gcc && \
11220 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11221 $(TARGET-stagefeedback-gcc)
11223 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11224 clean-stagefeedback: clean-stagefeedback-gcc
11225 clean-stagefeedback-gcc:
11226 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11227 || exit 0 ; \
11228 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11229 cd $(HOST_SUBDIR)/gcc && \
11230 $(MAKE) $(FLAGS_TO_PASS) \
11231 $(POSTSTAGE1_FLAGS_TO_PASS) \
11232 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11233 @endif gcc-bootstrap
11239 .PHONY: check-gcc maybe-check-gcc
11240 maybe-check-gcc:
11241 @if gcc
11242 maybe-check-gcc: check-gcc
11244 check-gcc:
11245 @$(unstage)
11246 @r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248 $(HOST_EXPORTS) \
11249 (cd $(HOST_SUBDIR)/gcc && \
11250 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11252 @endif gcc
11254 .PHONY: install-gcc maybe-install-gcc
11255 maybe-install-gcc:
11256 @if gcc
11257 maybe-install-gcc: install-gcc
11259 install-gcc: installdirs
11260 @$(unstage)
11261 @r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263 $(HOST_EXPORTS) \
11264 (cd $(HOST_SUBDIR)/gcc && \
11265 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11267 @endif gcc
11269 # Other targets (info, dvi, etc.)
11271 .PHONY: maybe-info-gcc info-gcc
11272 maybe-info-gcc:
11273 @if gcc
11274 maybe-info-gcc: info-gcc
11276 info-gcc: \
11277 configure-gcc
11278 @[ -f ./gcc/Makefile ] || exit 0; \
11279 r=`${PWD_COMMAND}`; export r; \
11280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 $(HOST_EXPORTS) \
11282 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11284 done; \
11285 echo "Doing info in gcc" ; \
11286 (cd $(HOST_SUBDIR)/gcc && \
11287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11289 "RANLIB=$${RANLIB}" \
11290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11291 info) \
11292 || exit 1
11294 @endif gcc
11296 .PHONY: maybe-dvi-gcc dvi-gcc
11297 maybe-dvi-gcc:
11298 @if gcc
11299 maybe-dvi-gcc: dvi-gcc
11301 dvi-gcc: \
11302 configure-gcc
11303 @[ -f ./gcc/Makefile ] || exit 0; \
11304 r=`${PWD_COMMAND}`; export r; \
11305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11306 $(HOST_EXPORTS) \
11307 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11309 done; \
11310 echo "Doing dvi in gcc" ; \
11311 (cd $(HOST_SUBDIR)/gcc && \
11312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11314 "RANLIB=$${RANLIB}" \
11315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11316 dvi) \
11317 || exit 1
11319 @endif gcc
11321 .PHONY: maybe-html-gcc html-gcc
11322 maybe-html-gcc:
11323 @if gcc
11324 maybe-html-gcc: html-gcc
11326 html-gcc: \
11327 configure-gcc
11328 @[ -f ./gcc/Makefile ] || exit 0; \
11329 r=`${PWD_COMMAND}`; export r; \
11330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11331 $(HOST_EXPORTS) \
11332 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11334 done; \
11335 echo "Doing html in gcc" ; \
11336 (cd $(HOST_SUBDIR)/gcc && \
11337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11339 "RANLIB=$${RANLIB}" \
11340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11341 html) \
11342 || exit 1
11344 @endif gcc
11346 .PHONY: maybe-TAGS-gcc TAGS-gcc
11347 maybe-TAGS-gcc:
11348 @if gcc
11349 maybe-TAGS-gcc: TAGS-gcc
11351 TAGS-gcc: \
11352 configure-gcc
11353 @[ -f ./gcc/Makefile ] || exit 0; \
11354 r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 $(HOST_EXPORTS) \
11357 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 done; \
11360 echo "Doing TAGS in gcc" ; \
11361 (cd $(HOST_SUBDIR)/gcc && \
11362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11364 "RANLIB=$${RANLIB}" \
11365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11366 TAGS) \
11367 || exit 1
11369 @endif gcc
11371 .PHONY: maybe-install-info-gcc install-info-gcc
11372 maybe-install-info-gcc:
11373 @if gcc
11374 maybe-install-info-gcc: install-info-gcc
11376 install-info-gcc: \
11377 configure-gcc \
11378 info-gcc
11379 @[ -f ./gcc/Makefile ] || exit 0; \
11380 r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382 $(HOST_EXPORTS) \
11383 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11385 done; \
11386 echo "Doing install-info in gcc" ; \
11387 (cd $(HOST_SUBDIR)/gcc && \
11388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11390 "RANLIB=$${RANLIB}" \
11391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11392 install-info) \
11393 || exit 1
11395 @endif gcc
11397 .PHONY: maybe-installcheck-gcc installcheck-gcc
11398 maybe-installcheck-gcc:
11399 @if gcc
11400 maybe-installcheck-gcc: installcheck-gcc
11402 installcheck-gcc: \
11403 configure-gcc
11404 @[ -f ./gcc/Makefile ] || exit 0; \
11405 r=`${PWD_COMMAND}`; export r; \
11406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 $(HOST_EXPORTS) \
11408 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11410 done; \
11411 echo "Doing installcheck in gcc" ; \
11412 (cd $(HOST_SUBDIR)/gcc && \
11413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11415 "RANLIB=$${RANLIB}" \
11416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11417 installcheck) \
11418 || exit 1
11420 @endif gcc
11422 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11423 maybe-mostlyclean-gcc:
11424 @if gcc
11425 maybe-mostlyclean-gcc: mostlyclean-gcc
11427 mostlyclean-gcc:
11428 @[ -f ./gcc/Makefile ] || exit 0; \
11429 r=`${PWD_COMMAND}`; export r; \
11430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 $(HOST_EXPORTS) \
11432 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11434 done; \
11435 echo "Doing mostlyclean in gcc" ; \
11436 (cd $(HOST_SUBDIR)/gcc && \
11437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11439 "RANLIB=$${RANLIB}" \
11440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11441 mostlyclean) \
11442 || exit 1
11444 @endif gcc
11446 .PHONY: maybe-clean-gcc clean-gcc
11447 maybe-clean-gcc:
11448 @if gcc
11449 maybe-clean-gcc: clean-gcc
11451 clean-gcc:
11452 @[ -f ./gcc/Makefile ] || exit 0; \
11453 r=`${PWD_COMMAND}`; export r; \
11454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 $(HOST_EXPORTS) \
11456 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11458 done; \
11459 echo "Doing clean in gcc" ; \
11460 (cd $(HOST_SUBDIR)/gcc && \
11461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11463 "RANLIB=$${RANLIB}" \
11464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 clean) \
11466 || exit 1
11468 @endif gcc
11470 .PHONY: maybe-distclean-gcc distclean-gcc
11471 maybe-distclean-gcc:
11472 @if gcc
11473 maybe-distclean-gcc: distclean-gcc
11475 distclean-gcc:
11476 @[ -f ./gcc/Makefile ] || exit 0; \
11477 r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 $(HOST_EXPORTS) \
11480 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11482 done; \
11483 echo "Doing distclean in gcc" ; \
11484 (cd $(HOST_SUBDIR)/gcc && \
11485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11487 "RANLIB=$${RANLIB}" \
11488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11489 distclean) \
11490 || exit 1
11492 @endif gcc
11494 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11495 maybe-maintainer-clean-gcc:
11496 @if gcc
11497 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11499 maintainer-clean-gcc:
11500 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
11505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11506 done; \
11507 echo "Doing maintainer-clean in gcc" ; \
11508 (cd $(HOST_SUBDIR)/gcc && \
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 maintainer-clean) \
11514 || exit 1
11516 @endif gcc
11520 .PHONY: configure-gawk maybe-configure-gawk
11521 maybe-configure-gawk:
11522 @if gawk
11523 maybe-configure-gawk: configure-gawk
11524 configure-gawk:
11525 @$(unstage)
11526 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11527 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11528 r=`${PWD_COMMAND}`; export r; \
11529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11530 $(HOST_EXPORTS) \
11531 echo Configuring in $(HOST_SUBDIR)/gawk; \
11532 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11533 case $(srcdir) in \
11534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11535 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11537 esac; \
11538 srcdiroption="--srcdir=$${topdir}/gawk"; \
11539 libsrcdir="$$s/gawk"; \
11540 $(SHELL) $${libsrcdir}/configure \
11541 $(HOST_CONFIGARGS) $${srcdiroption} \
11542 || exit 1
11543 @endif gawk
11549 .PHONY: all-gawk maybe-all-gawk
11550 maybe-all-gawk:
11551 @if gawk
11552 TARGET-gawk=all
11553 maybe-all-gawk: all-gawk
11554 all-gawk: configure-gawk
11555 @$(unstage)
11556 @r=`${PWD_COMMAND}`; export r; \
11557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11558 $(HOST_EXPORTS) \
11559 (cd $(HOST_SUBDIR)/gawk && \
11560 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11561 @endif gawk
11566 .PHONY: check-gawk maybe-check-gawk
11567 maybe-check-gawk:
11568 @if gawk
11569 maybe-check-gawk: check-gawk
11571 check-gawk:
11572 @$(unstage)
11573 @r=`${PWD_COMMAND}`; export r; \
11574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11575 $(HOST_EXPORTS) \
11576 (cd $(HOST_SUBDIR)/gawk && \
11577 $(MAKE) $(FLAGS_TO_PASS) check)
11579 @endif gawk
11581 .PHONY: install-gawk maybe-install-gawk
11582 maybe-install-gawk:
11583 @if gawk
11584 maybe-install-gawk: install-gawk
11586 install-gawk: installdirs
11587 @$(unstage)
11588 @r=`${PWD_COMMAND}`; export r; \
11589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11590 $(HOST_EXPORTS) \
11591 (cd $(HOST_SUBDIR)/gawk && \
11592 $(MAKE) $(FLAGS_TO_PASS) install)
11594 @endif gawk
11596 # Other targets (info, dvi, etc.)
11598 .PHONY: maybe-info-gawk info-gawk
11599 maybe-info-gawk:
11600 @if gawk
11601 maybe-info-gawk: info-gawk
11603 info-gawk: \
11604 configure-gawk
11605 @$(unstage)
11606 @[ -f ./gawk/Makefile ] || exit 0; \
11607 r=`${PWD_COMMAND}`; export r; \
11608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11609 $(HOST_EXPORTS) \
11610 for flag in $(EXTRA_HOST_FLAGS) ; do \
11611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11612 done; \
11613 echo "Doing info in gawk" ; \
11614 (cd $(HOST_SUBDIR)/gawk && \
11615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11617 "RANLIB=$${RANLIB}" \
11618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11619 info) \
11620 || exit 1
11622 @endif gawk
11624 .PHONY: maybe-dvi-gawk dvi-gawk
11625 maybe-dvi-gawk:
11626 @if gawk
11627 maybe-dvi-gawk: dvi-gawk
11629 dvi-gawk: \
11630 configure-gawk
11631 @$(unstage)
11632 @[ -f ./gawk/Makefile ] || exit 0; \
11633 r=`${PWD_COMMAND}`; export r; \
11634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11635 $(HOST_EXPORTS) \
11636 for flag in $(EXTRA_HOST_FLAGS) ; do \
11637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11638 done; \
11639 echo "Doing dvi in gawk" ; \
11640 (cd $(HOST_SUBDIR)/gawk && \
11641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11643 "RANLIB=$${RANLIB}" \
11644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11645 dvi) \
11646 || exit 1
11648 @endif gawk
11650 .PHONY: maybe-html-gawk html-gawk
11651 maybe-html-gawk:
11652 @if gawk
11653 maybe-html-gawk: html-gawk
11655 html-gawk: \
11656 configure-gawk
11657 @$(unstage)
11658 @[ -f ./gawk/Makefile ] || exit 0; \
11659 r=`${PWD_COMMAND}`; export r; \
11660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11661 $(HOST_EXPORTS) \
11662 for flag in $(EXTRA_HOST_FLAGS) ; do \
11663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11664 done; \
11665 echo "Doing html in gawk" ; \
11666 (cd $(HOST_SUBDIR)/gawk && \
11667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11669 "RANLIB=$${RANLIB}" \
11670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11671 html) \
11672 || exit 1
11674 @endif gawk
11676 .PHONY: maybe-TAGS-gawk TAGS-gawk
11677 maybe-TAGS-gawk:
11678 @if gawk
11679 maybe-TAGS-gawk: TAGS-gawk
11681 TAGS-gawk: \
11682 configure-gawk
11683 @$(unstage)
11684 @[ -f ./gawk/Makefile ] || exit 0; \
11685 r=`${PWD_COMMAND}`; export r; \
11686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11687 $(HOST_EXPORTS) \
11688 for flag in $(EXTRA_HOST_FLAGS) ; do \
11689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11690 done; \
11691 echo "Doing TAGS in gawk" ; \
11692 (cd $(HOST_SUBDIR)/gawk && \
11693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11695 "RANLIB=$${RANLIB}" \
11696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697 TAGS) \
11698 || exit 1
11700 @endif gawk
11702 .PHONY: maybe-install-info-gawk install-info-gawk
11703 maybe-install-info-gawk:
11704 @if gawk
11705 maybe-install-info-gawk: install-info-gawk
11707 install-info-gawk: \
11708 configure-gawk \
11709 info-gawk
11710 @$(unstage)
11711 @[ -f ./gawk/Makefile ] || exit 0; \
11712 r=`${PWD_COMMAND}`; export r; \
11713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11714 $(HOST_EXPORTS) \
11715 for flag in $(EXTRA_HOST_FLAGS) ; do \
11716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11717 done; \
11718 echo "Doing install-info in gawk" ; \
11719 (cd $(HOST_SUBDIR)/gawk && \
11720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11722 "RANLIB=$${RANLIB}" \
11723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11724 install-info) \
11725 || exit 1
11727 @endif gawk
11729 .PHONY: maybe-installcheck-gawk installcheck-gawk
11730 maybe-installcheck-gawk:
11731 @if gawk
11732 maybe-installcheck-gawk: installcheck-gawk
11734 installcheck-gawk: \
11735 configure-gawk
11736 @$(unstage)
11737 @[ -f ./gawk/Makefile ] || exit 0; \
11738 r=`${PWD_COMMAND}`; export r; \
11739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11740 $(HOST_EXPORTS) \
11741 for flag in $(EXTRA_HOST_FLAGS) ; do \
11742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 done; \
11744 echo "Doing installcheck in gawk" ; \
11745 (cd $(HOST_SUBDIR)/gawk && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11748 "RANLIB=$${RANLIB}" \
11749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11750 installcheck) \
11751 || exit 1
11753 @endif gawk
11755 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11756 maybe-mostlyclean-gawk:
11757 @if gawk
11758 maybe-mostlyclean-gawk: mostlyclean-gawk
11760 mostlyclean-gawk:
11761 @$(unstage)
11762 @[ -f ./gawk/Makefile ] || exit 0; \
11763 r=`${PWD_COMMAND}`; export r; \
11764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11765 $(HOST_EXPORTS) \
11766 for flag in $(EXTRA_HOST_FLAGS) ; do \
11767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11768 done; \
11769 echo "Doing mostlyclean in gawk" ; \
11770 (cd $(HOST_SUBDIR)/gawk && \
11771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11773 "RANLIB=$${RANLIB}" \
11774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11775 mostlyclean) \
11776 || exit 1
11778 @endif gawk
11780 .PHONY: maybe-clean-gawk clean-gawk
11781 maybe-clean-gawk:
11782 @if gawk
11783 maybe-clean-gawk: clean-gawk
11785 clean-gawk:
11786 @$(unstage)
11787 @[ -f ./gawk/Makefile ] || exit 0; \
11788 r=`${PWD_COMMAND}`; export r; \
11789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11790 $(HOST_EXPORTS) \
11791 for flag in $(EXTRA_HOST_FLAGS) ; do \
11792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11793 done; \
11794 echo "Doing clean in gawk" ; \
11795 (cd $(HOST_SUBDIR)/gawk && \
11796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11798 "RANLIB=$${RANLIB}" \
11799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11800 clean) \
11801 || exit 1
11803 @endif gawk
11805 .PHONY: maybe-distclean-gawk distclean-gawk
11806 maybe-distclean-gawk:
11807 @if gawk
11808 maybe-distclean-gawk: distclean-gawk
11810 distclean-gawk:
11811 @$(unstage)
11812 @[ -f ./gawk/Makefile ] || exit 0; \
11813 r=`${PWD_COMMAND}`; export r; \
11814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11815 $(HOST_EXPORTS) \
11816 for flag in $(EXTRA_HOST_FLAGS) ; do \
11817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11818 done; \
11819 echo "Doing distclean in gawk" ; \
11820 (cd $(HOST_SUBDIR)/gawk && \
11821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11823 "RANLIB=$${RANLIB}" \
11824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11825 distclean) \
11826 || exit 1
11828 @endif gawk
11830 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11831 maybe-maintainer-clean-gawk:
11832 @if gawk
11833 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11835 maintainer-clean-gawk:
11836 @$(unstage)
11837 @[ -f ./gawk/Makefile ] || exit 0; \
11838 r=`${PWD_COMMAND}`; export r; \
11839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11840 $(HOST_EXPORTS) \
11841 for flag in $(EXTRA_HOST_FLAGS) ; do \
11842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11843 done; \
11844 echo "Doing maintainer-clean in gawk" ; \
11845 (cd $(HOST_SUBDIR)/gawk && \
11846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11848 "RANLIB=$${RANLIB}" \
11849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11850 maintainer-clean) \
11851 || exit 1
11853 @endif gawk
11857 .PHONY: configure-gettext maybe-configure-gettext
11858 maybe-configure-gettext:
11859 @if gettext
11860 maybe-configure-gettext: configure-gettext
11861 configure-gettext:
11862 @$(unstage)
11863 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11865 r=`${PWD_COMMAND}`; export r; \
11866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11867 $(HOST_EXPORTS) \
11868 echo Configuring in $(HOST_SUBDIR)/gettext; \
11869 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11870 case $(srcdir) in \
11871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11872 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11874 esac; \
11875 srcdiroption="--srcdir=$${topdir}/gettext"; \
11876 libsrcdir="$$s/gettext"; \
11877 $(SHELL) $${libsrcdir}/configure \
11878 $(HOST_CONFIGARGS) $${srcdiroption} \
11879 || exit 1
11880 @endif gettext
11886 .PHONY: all-gettext maybe-all-gettext
11887 maybe-all-gettext:
11888 @if gettext
11889 TARGET-gettext=all
11890 maybe-all-gettext: all-gettext
11891 all-gettext: configure-gettext
11892 @$(unstage)
11893 @r=`${PWD_COMMAND}`; export r; \
11894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11895 $(HOST_EXPORTS) \
11896 (cd $(HOST_SUBDIR)/gettext && \
11897 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11898 @endif gettext
11903 .PHONY: check-gettext maybe-check-gettext
11904 maybe-check-gettext:
11905 @if gettext
11906 maybe-check-gettext: check-gettext
11908 check-gettext:
11909 @$(unstage)
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 $(HOST_EXPORTS) \
11913 (cd $(HOST_SUBDIR)/gettext && \
11914 $(MAKE) $(FLAGS_TO_PASS) check)
11916 @endif gettext
11918 .PHONY: install-gettext maybe-install-gettext
11919 maybe-install-gettext:
11920 @if gettext
11921 maybe-install-gettext: install-gettext
11923 install-gettext: installdirs
11924 @$(unstage)
11925 @r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927 $(HOST_EXPORTS) \
11928 (cd $(HOST_SUBDIR)/gettext && \
11929 $(MAKE) $(FLAGS_TO_PASS) install)
11931 @endif gettext
11933 # Other targets (info, dvi, etc.)
11935 .PHONY: maybe-info-gettext info-gettext
11936 maybe-info-gettext:
11937 @if gettext
11938 maybe-info-gettext: info-gettext
11940 info-gettext: \
11941 configure-gettext
11942 @$(unstage)
11943 @[ -f ./gettext/Makefile ] || exit 0; \
11944 r=`${PWD_COMMAND}`; export r; \
11945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11946 $(HOST_EXPORTS) \
11947 for flag in $(EXTRA_HOST_FLAGS) ; do \
11948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11949 done; \
11950 echo "Doing info in gettext" ; \
11951 (cd $(HOST_SUBDIR)/gettext && \
11952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11954 "RANLIB=$${RANLIB}" \
11955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11956 info) \
11957 || exit 1
11959 @endif gettext
11961 .PHONY: maybe-dvi-gettext dvi-gettext
11962 maybe-dvi-gettext:
11963 @if gettext
11964 maybe-dvi-gettext: dvi-gettext
11966 dvi-gettext: \
11967 configure-gettext
11968 @$(unstage)
11969 @[ -f ./gettext/Makefile ] || exit 0; \
11970 r=`${PWD_COMMAND}`; export r; \
11971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 $(HOST_EXPORTS) \
11973 for flag in $(EXTRA_HOST_FLAGS) ; do \
11974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11975 done; \
11976 echo "Doing dvi in gettext" ; \
11977 (cd $(HOST_SUBDIR)/gettext && \
11978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11980 "RANLIB=$${RANLIB}" \
11981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11982 dvi) \
11983 || exit 1
11985 @endif gettext
11987 .PHONY: maybe-html-gettext html-gettext
11988 maybe-html-gettext:
11989 @if gettext
11990 maybe-html-gettext: html-gettext
11992 html-gettext: \
11993 configure-gettext
11994 @$(unstage)
11995 @[ -f ./gettext/Makefile ] || exit 0; \
11996 r=`${PWD_COMMAND}`; export r; \
11997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11998 $(HOST_EXPORTS) \
11999 for flag in $(EXTRA_HOST_FLAGS) ; do \
12000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12001 done; \
12002 echo "Doing html in gettext" ; \
12003 (cd $(HOST_SUBDIR)/gettext && \
12004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12006 "RANLIB=$${RANLIB}" \
12007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12008 html) \
12009 || exit 1
12011 @endif gettext
12013 .PHONY: maybe-TAGS-gettext TAGS-gettext
12014 maybe-TAGS-gettext:
12015 @if gettext
12016 maybe-TAGS-gettext: TAGS-gettext
12018 TAGS-gettext: \
12019 configure-gettext
12020 @$(unstage)
12021 @[ -f ./gettext/Makefile ] || exit 0; \
12022 r=`${PWD_COMMAND}`; export r; \
12023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12024 $(HOST_EXPORTS) \
12025 for flag in $(EXTRA_HOST_FLAGS) ; do \
12026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12027 done; \
12028 echo "Doing TAGS in gettext" ; \
12029 (cd $(HOST_SUBDIR)/gettext && \
12030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12032 "RANLIB=$${RANLIB}" \
12033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12034 TAGS) \
12035 || exit 1
12037 @endif gettext
12039 .PHONY: maybe-install-info-gettext install-info-gettext
12040 maybe-install-info-gettext:
12041 @if gettext
12042 maybe-install-info-gettext: install-info-gettext
12044 install-info-gettext: \
12045 configure-gettext \
12046 info-gettext
12047 @$(unstage)
12048 @[ -f ./gettext/Makefile ] || exit 0; \
12049 r=`${PWD_COMMAND}`; export r; \
12050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12051 $(HOST_EXPORTS) \
12052 for flag in $(EXTRA_HOST_FLAGS) ; do \
12053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12054 done; \
12055 echo "Doing install-info in gettext" ; \
12056 (cd $(HOST_SUBDIR)/gettext && \
12057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12059 "RANLIB=$${RANLIB}" \
12060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12061 install-info) \
12062 || exit 1
12064 @endif gettext
12066 .PHONY: maybe-installcheck-gettext installcheck-gettext
12067 maybe-installcheck-gettext:
12068 @if gettext
12069 maybe-installcheck-gettext: installcheck-gettext
12071 installcheck-gettext: \
12072 configure-gettext
12073 @$(unstage)
12074 @[ -f ./gettext/Makefile ] || exit 0; \
12075 r=`${PWD_COMMAND}`; export r; \
12076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12077 $(HOST_EXPORTS) \
12078 for flag in $(EXTRA_HOST_FLAGS) ; do \
12079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12080 done; \
12081 echo "Doing installcheck in gettext" ; \
12082 (cd $(HOST_SUBDIR)/gettext && \
12083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12085 "RANLIB=$${RANLIB}" \
12086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12087 installcheck) \
12088 || exit 1
12090 @endif gettext
12092 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12093 maybe-mostlyclean-gettext:
12094 @if gettext
12095 maybe-mostlyclean-gettext: mostlyclean-gettext
12097 mostlyclean-gettext:
12098 @$(unstage)
12099 @[ -f ./gettext/Makefile ] || exit 0; \
12100 r=`${PWD_COMMAND}`; export r; \
12101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12102 $(HOST_EXPORTS) \
12103 for flag in $(EXTRA_HOST_FLAGS) ; do \
12104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12105 done; \
12106 echo "Doing mostlyclean in gettext" ; \
12107 (cd $(HOST_SUBDIR)/gettext && \
12108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12110 "RANLIB=$${RANLIB}" \
12111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12112 mostlyclean) \
12113 || exit 1
12115 @endif gettext
12117 .PHONY: maybe-clean-gettext clean-gettext
12118 maybe-clean-gettext:
12119 @if gettext
12120 maybe-clean-gettext: clean-gettext
12122 clean-gettext:
12123 @$(unstage)
12124 @[ -f ./gettext/Makefile ] || exit 0; \
12125 r=`${PWD_COMMAND}`; export r; \
12126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12127 $(HOST_EXPORTS) \
12128 for flag in $(EXTRA_HOST_FLAGS) ; do \
12129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12130 done; \
12131 echo "Doing clean in gettext" ; \
12132 (cd $(HOST_SUBDIR)/gettext && \
12133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12135 "RANLIB=$${RANLIB}" \
12136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12137 clean) \
12138 || exit 1
12140 @endif gettext
12142 .PHONY: maybe-distclean-gettext distclean-gettext
12143 maybe-distclean-gettext:
12144 @if gettext
12145 maybe-distclean-gettext: distclean-gettext
12147 distclean-gettext:
12148 @$(unstage)
12149 @[ -f ./gettext/Makefile ] || exit 0; \
12150 r=`${PWD_COMMAND}`; export r; \
12151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12152 $(HOST_EXPORTS) \
12153 for flag in $(EXTRA_HOST_FLAGS) ; do \
12154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12155 done; \
12156 echo "Doing distclean in gettext" ; \
12157 (cd $(HOST_SUBDIR)/gettext && \
12158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12160 "RANLIB=$${RANLIB}" \
12161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12162 distclean) \
12163 || exit 1
12165 @endif gettext
12167 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12168 maybe-maintainer-clean-gettext:
12169 @if gettext
12170 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12172 maintainer-clean-gettext:
12173 @$(unstage)
12174 @[ -f ./gettext/Makefile ] || exit 0; \
12175 r=`${PWD_COMMAND}`; export r; \
12176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12177 $(HOST_EXPORTS) \
12178 for flag in $(EXTRA_HOST_FLAGS) ; do \
12179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12180 done; \
12181 echo "Doing maintainer-clean in gettext" ; \
12182 (cd $(HOST_SUBDIR)/gettext && \
12183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12185 "RANLIB=$${RANLIB}" \
12186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12187 maintainer-clean) \
12188 || exit 1
12190 @endif gettext
12194 .PHONY: configure-gnuserv maybe-configure-gnuserv
12195 maybe-configure-gnuserv:
12196 @if gnuserv
12197 maybe-configure-gnuserv: configure-gnuserv
12198 configure-gnuserv:
12199 @$(unstage)
12200 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12202 r=`${PWD_COMMAND}`; export r; \
12203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12204 $(HOST_EXPORTS) \
12205 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12206 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12207 case $(srcdir) in \
12208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12209 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12211 esac; \
12212 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12213 libsrcdir="$$s/gnuserv"; \
12214 $(SHELL) $${libsrcdir}/configure \
12215 $(HOST_CONFIGARGS) $${srcdiroption} \
12216 || exit 1
12217 @endif gnuserv
12223 .PHONY: all-gnuserv maybe-all-gnuserv
12224 maybe-all-gnuserv:
12225 @if gnuserv
12226 TARGET-gnuserv=all
12227 maybe-all-gnuserv: all-gnuserv
12228 all-gnuserv: configure-gnuserv
12229 @$(unstage)
12230 @r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(HOST_EXPORTS) \
12233 (cd $(HOST_SUBDIR)/gnuserv && \
12234 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12235 @endif gnuserv
12240 .PHONY: check-gnuserv maybe-check-gnuserv
12241 maybe-check-gnuserv:
12242 @if gnuserv
12243 maybe-check-gnuserv: check-gnuserv
12245 check-gnuserv:
12246 @$(unstage)
12247 @r=`${PWD_COMMAND}`; export r; \
12248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12249 $(HOST_EXPORTS) \
12250 (cd $(HOST_SUBDIR)/gnuserv && \
12251 $(MAKE) $(FLAGS_TO_PASS) check)
12253 @endif gnuserv
12255 .PHONY: install-gnuserv maybe-install-gnuserv
12256 maybe-install-gnuserv:
12257 @if gnuserv
12258 maybe-install-gnuserv: install-gnuserv
12260 install-gnuserv: installdirs
12261 @$(unstage)
12262 @r=`${PWD_COMMAND}`; export r; \
12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12264 $(HOST_EXPORTS) \
12265 (cd $(HOST_SUBDIR)/gnuserv && \
12266 $(MAKE) $(FLAGS_TO_PASS) install)
12268 @endif gnuserv
12270 # Other targets (info, dvi, etc.)
12272 .PHONY: maybe-info-gnuserv info-gnuserv
12273 maybe-info-gnuserv:
12274 @if gnuserv
12275 maybe-info-gnuserv: info-gnuserv
12277 info-gnuserv: \
12278 configure-gnuserv
12279 @$(unstage)
12280 @[ -f ./gnuserv/Makefile ] || exit 0; \
12281 r=`${PWD_COMMAND}`; export r; \
12282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12283 $(HOST_EXPORTS) \
12284 for flag in $(EXTRA_HOST_FLAGS) ; do \
12285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12286 done; \
12287 echo "Doing info in gnuserv" ; \
12288 (cd $(HOST_SUBDIR)/gnuserv && \
12289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12291 "RANLIB=$${RANLIB}" \
12292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12293 info) \
12294 || exit 1
12296 @endif gnuserv
12298 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12299 maybe-dvi-gnuserv:
12300 @if gnuserv
12301 maybe-dvi-gnuserv: dvi-gnuserv
12303 dvi-gnuserv: \
12304 configure-gnuserv
12305 @$(unstage)
12306 @[ -f ./gnuserv/Makefile ] || exit 0; \
12307 r=`${PWD_COMMAND}`; export r; \
12308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12309 $(HOST_EXPORTS) \
12310 for flag in $(EXTRA_HOST_FLAGS) ; do \
12311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12312 done; \
12313 echo "Doing dvi in gnuserv" ; \
12314 (cd $(HOST_SUBDIR)/gnuserv && \
12315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12317 "RANLIB=$${RANLIB}" \
12318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12319 dvi) \
12320 || exit 1
12322 @endif gnuserv
12324 .PHONY: maybe-html-gnuserv html-gnuserv
12325 maybe-html-gnuserv:
12326 @if gnuserv
12327 maybe-html-gnuserv: html-gnuserv
12329 html-gnuserv: \
12330 configure-gnuserv
12331 @$(unstage)
12332 @[ -f ./gnuserv/Makefile ] || exit 0; \
12333 r=`${PWD_COMMAND}`; export r; \
12334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12335 $(HOST_EXPORTS) \
12336 for flag in $(EXTRA_HOST_FLAGS) ; do \
12337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12338 done; \
12339 echo "Doing html in gnuserv" ; \
12340 (cd $(HOST_SUBDIR)/gnuserv && \
12341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12343 "RANLIB=$${RANLIB}" \
12344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12345 html) \
12346 || exit 1
12348 @endif gnuserv
12350 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12351 maybe-TAGS-gnuserv:
12352 @if gnuserv
12353 maybe-TAGS-gnuserv: TAGS-gnuserv
12355 TAGS-gnuserv: \
12356 configure-gnuserv
12357 @$(unstage)
12358 @[ -f ./gnuserv/Makefile ] || exit 0; \
12359 r=`${PWD_COMMAND}`; export r; \
12360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12361 $(HOST_EXPORTS) \
12362 for flag in $(EXTRA_HOST_FLAGS) ; do \
12363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12364 done; \
12365 echo "Doing TAGS in gnuserv" ; \
12366 (cd $(HOST_SUBDIR)/gnuserv && \
12367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12369 "RANLIB=$${RANLIB}" \
12370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12371 TAGS) \
12372 || exit 1
12374 @endif gnuserv
12376 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12377 maybe-install-info-gnuserv:
12378 @if gnuserv
12379 maybe-install-info-gnuserv: install-info-gnuserv
12381 install-info-gnuserv: \
12382 configure-gnuserv \
12383 info-gnuserv
12384 @$(unstage)
12385 @[ -f ./gnuserv/Makefile ] || exit 0; \
12386 r=`${PWD_COMMAND}`; export r; \
12387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 $(HOST_EXPORTS) \
12389 for flag in $(EXTRA_HOST_FLAGS) ; do \
12390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12391 done; \
12392 echo "Doing install-info in gnuserv" ; \
12393 (cd $(HOST_SUBDIR)/gnuserv && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12396 "RANLIB=$${RANLIB}" \
12397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12398 install-info) \
12399 || exit 1
12401 @endif gnuserv
12403 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12404 maybe-installcheck-gnuserv:
12405 @if gnuserv
12406 maybe-installcheck-gnuserv: installcheck-gnuserv
12408 installcheck-gnuserv: \
12409 configure-gnuserv
12410 @$(unstage)
12411 @[ -f ./gnuserv/Makefile ] || exit 0; \
12412 r=`${PWD_COMMAND}`; export r; \
12413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12414 $(HOST_EXPORTS) \
12415 for flag in $(EXTRA_HOST_FLAGS) ; do \
12416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12417 done; \
12418 echo "Doing installcheck in gnuserv" ; \
12419 (cd $(HOST_SUBDIR)/gnuserv && \
12420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12422 "RANLIB=$${RANLIB}" \
12423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12424 installcheck) \
12425 || exit 1
12427 @endif gnuserv
12429 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12430 maybe-mostlyclean-gnuserv:
12431 @if gnuserv
12432 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12434 mostlyclean-gnuserv:
12435 @$(unstage)
12436 @[ -f ./gnuserv/Makefile ] || exit 0; \
12437 r=`${PWD_COMMAND}`; export r; \
12438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12439 $(HOST_EXPORTS) \
12440 for flag in $(EXTRA_HOST_FLAGS) ; do \
12441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12442 done; \
12443 echo "Doing mostlyclean in gnuserv" ; \
12444 (cd $(HOST_SUBDIR)/gnuserv && \
12445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447 "RANLIB=$${RANLIB}" \
12448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12449 mostlyclean) \
12450 || exit 1
12452 @endif gnuserv
12454 .PHONY: maybe-clean-gnuserv clean-gnuserv
12455 maybe-clean-gnuserv:
12456 @if gnuserv
12457 maybe-clean-gnuserv: clean-gnuserv
12459 clean-gnuserv:
12460 @$(unstage)
12461 @[ -f ./gnuserv/Makefile ] || exit 0; \
12462 r=`${PWD_COMMAND}`; export r; \
12463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12464 $(HOST_EXPORTS) \
12465 for flag in $(EXTRA_HOST_FLAGS) ; do \
12466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12467 done; \
12468 echo "Doing clean in gnuserv" ; \
12469 (cd $(HOST_SUBDIR)/gnuserv && \
12470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12472 "RANLIB=$${RANLIB}" \
12473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12474 clean) \
12475 || exit 1
12477 @endif gnuserv
12479 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12480 maybe-distclean-gnuserv:
12481 @if gnuserv
12482 maybe-distclean-gnuserv: distclean-gnuserv
12484 distclean-gnuserv:
12485 @$(unstage)
12486 @[ -f ./gnuserv/Makefile ] || exit 0; \
12487 r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489 $(HOST_EXPORTS) \
12490 for flag in $(EXTRA_HOST_FLAGS) ; do \
12491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12492 done; \
12493 echo "Doing distclean in gnuserv" ; \
12494 (cd $(HOST_SUBDIR)/gnuserv && \
12495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12497 "RANLIB=$${RANLIB}" \
12498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12499 distclean) \
12500 || exit 1
12502 @endif gnuserv
12504 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12505 maybe-maintainer-clean-gnuserv:
12506 @if gnuserv
12507 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12509 maintainer-clean-gnuserv:
12510 @$(unstage)
12511 @[ -f ./gnuserv/Makefile ] || exit 0; \
12512 r=`${PWD_COMMAND}`; export r; \
12513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12514 $(HOST_EXPORTS) \
12515 for flag in $(EXTRA_HOST_FLAGS) ; do \
12516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12517 done; \
12518 echo "Doing maintainer-clean in gnuserv" ; \
12519 (cd $(HOST_SUBDIR)/gnuserv && \
12520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12522 "RANLIB=$${RANLIB}" \
12523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12524 maintainer-clean) \
12525 || exit 1
12527 @endif gnuserv
12531 .PHONY: configure-gprof maybe-configure-gprof
12532 maybe-configure-gprof:
12533 @if gprof
12534 maybe-configure-gprof: configure-gprof
12535 configure-gprof:
12536 @$(unstage)
12537 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12539 r=`${PWD_COMMAND}`; export r; \
12540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12541 $(HOST_EXPORTS) \
12542 echo Configuring in $(HOST_SUBDIR)/gprof; \
12543 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12544 case $(srcdir) in \
12545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12546 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12548 esac; \
12549 srcdiroption="--srcdir=$${topdir}/gprof"; \
12550 libsrcdir="$$s/gprof"; \
12551 $(SHELL) $${libsrcdir}/configure \
12552 $(HOST_CONFIGARGS) $${srcdiroption} \
12553 || exit 1
12554 @endif gprof
12560 .PHONY: all-gprof maybe-all-gprof
12561 maybe-all-gprof:
12562 @if gprof
12563 TARGET-gprof=all
12564 maybe-all-gprof: all-gprof
12565 all-gprof: configure-gprof
12566 @$(unstage)
12567 @r=`${PWD_COMMAND}`; export r; \
12568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12569 $(HOST_EXPORTS) \
12570 (cd $(HOST_SUBDIR)/gprof && \
12571 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12572 @endif gprof
12577 .PHONY: check-gprof maybe-check-gprof
12578 maybe-check-gprof:
12579 @if gprof
12580 maybe-check-gprof: check-gprof
12582 check-gprof:
12583 @$(unstage)
12584 @r=`${PWD_COMMAND}`; export r; \
12585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12586 $(HOST_EXPORTS) \
12587 (cd $(HOST_SUBDIR)/gprof && \
12588 $(MAKE) $(FLAGS_TO_PASS) check)
12590 @endif gprof
12592 .PHONY: install-gprof maybe-install-gprof
12593 maybe-install-gprof:
12594 @if gprof
12595 maybe-install-gprof: install-gprof
12597 install-gprof: installdirs
12598 @$(unstage)
12599 @r=`${PWD_COMMAND}`; export r; \
12600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12601 $(HOST_EXPORTS) \
12602 (cd $(HOST_SUBDIR)/gprof && \
12603 $(MAKE) $(FLAGS_TO_PASS) install)
12605 @endif gprof
12607 # Other targets (info, dvi, etc.)
12609 .PHONY: maybe-info-gprof info-gprof
12610 maybe-info-gprof:
12611 @if gprof
12612 maybe-info-gprof: info-gprof
12614 info-gprof: \
12615 configure-gprof
12616 @$(unstage)
12617 @[ -f ./gprof/Makefile ] || exit 0; \
12618 r=`${PWD_COMMAND}`; export r; \
12619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12620 $(HOST_EXPORTS) \
12621 for flag in $(EXTRA_HOST_FLAGS) ; do \
12622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12623 done; \
12624 echo "Doing info in gprof" ; \
12625 (cd $(HOST_SUBDIR)/gprof && \
12626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12628 "RANLIB=$${RANLIB}" \
12629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12630 info) \
12631 || exit 1
12633 @endif gprof
12635 .PHONY: maybe-dvi-gprof dvi-gprof
12636 maybe-dvi-gprof:
12637 @if gprof
12638 maybe-dvi-gprof: dvi-gprof
12640 dvi-gprof: \
12641 configure-gprof
12642 @$(unstage)
12643 @[ -f ./gprof/Makefile ] || exit 0; \
12644 r=`${PWD_COMMAND}`; export r; \
12645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12646 $(HOST_EXPORTS) \
12647 for flag in $(EXTRA_HOST_FLAGS) ; do \
12648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12649 done; \
12650 echo "Doing dvi in gprof" ; \
12651 (cd $(HOST_SUBDIR)/gprof && \
12652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12654 "RANLIB=$${RANLIB}" \
12655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12656 dvi) \
12657 || exit 1
12659 @endif gprof
12661 .PHONY: maybe-html-gprof html-gprof
12662 maybe-html-gprof:
12663 @if gprof
12664 maybe-html-gprof: html-gprof
12666 html-gprof: \
12667 configure-gprof
12668 @$(unstage)
12669 @[ -f ./gprof/Makefile ] || exit 0; \
12670 r=`${PWD_COMMAND}`; export r; \
12671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 $(HOST_EXPORTS) \
12673 for flag in $(EXTRA_HOST_FLAGS) ; do \
12674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 done; \
12676 echo "Doing html in gprof" ; \
12677 (cd $(HOST_SUBDIR)/gprof && \
12678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12680 "RANLIB=$${RANLIB}" \
12681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12682 html) \
12683 || exit 1
12685 @endif gprof
12687 .PHONY: maybe-TAGS-gprof TAGS-gprof
12688 maybe-TAGS-gprof:
12689 @if gprof
12690 maybe-TAGS-gprof: TAGS-gprof
12692 TAGS-gprof: \
12693 configure-gprof
12694 @$(unstage)
12695 @[ -f ./gprof/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 TAGS in gprof" ; \
12703 (cd $(HOST_SUBDIR)/gprof && \
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 TAGS) \
12709 || exit 1
12711 @endif gprof
12713 .PHONY: maybe-install-info-gprof install-info-gprof
12714 maybe-install-info-gprof:
12715 @if gprof
12716 maybe-install-info-gprof: install-info-gprof
12718 install-info-gprof: \
12719 configure-gprof \
12720 info-gprof
12721 @$(unstage)
12722 @[ -f ./gprof/Makefile ] || exit 0; \
12723 r=`${PWD_COMMAND}`; export r; \
12724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725 $(HOST_EXPORTS) \
12726 for flag in $(EXTRA_HOST_FLAGS) ; do \
12727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12728 done; \
12729 echo "Doing install-info in gprof" ; \
12730 (cd $(HOST_SUBDIR)/gprof && \
12731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12733 "RANLIB=$${RANLIB}" \
12734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12735 install-info) \
12736 || exit 1
12738 @endif gprof
12740 .PHONY: maybe-installcheck-gprof installcheck-gprof
12741 maybe-installcheck-gprof:
12742 @if gprof
12743 maybe-installcheck-gprof: installcheck-gprof
12745 installcheck-gprof: \
12746 configure-gprof
12747 @$(unstage)
12748 @[ -f ./gprof/Makefile ] || exit 0; \
12749 r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(HOST_EXPORTS) \
12752 for flag in $(EXTRA_HOST_FLAGS) ; do \
12753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12754 done; \
12755 echo "Doing installcheck in gprof" ; \
12756 (cd $(HOST_SUBDIR)/gprof && \
12757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12759 "RANLIB=$${RANLIB}" \
12760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12761 installcheck) \
12762 || exit 1
12764 @endif gprof
12766 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12767 maybe-mostlyclean-gprof:
12768 @if gprof
12769 maybe-mostlyclean-gprof: mostlyclean-gprof
12771 mostlyclean-gprof:
12772 @$(unstage)
12773 @[ -f ./gprof/Makefile ] || exit 0; \
12774 r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(HOST_EXPORTS) \
12777 for flag in $(EXTRA_HOST_FLAGS) ; do \
12778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12779 done; \
12780 echo "Doing mostlyclean in gprof" ; \
12781 (cd $(HOST_SUBDIR)/gprof && \
12782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12784 "RANLIB=$${RANLIB}" \
12785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12786 mostlyclean) \
12787 || exit 1
12789 @endif gprof
12791 .PHONY: maybe-clean-gprof clean-gprof
12792 maybe-clean-gprof:
12793 @if gprof
12794 maybe-clean-gprof: clean-gprof
12796 clean-gprof:
12797 @$(unstage)
12798 @[ -f ./gprof/Makefile ] || exit 0; \
12799 r=`${PWD_COMMAND}`; export r; \
12800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12801 $(HOST_EXPORTS) \
12802 for flag in $(EXTRA_HOST_FLAGS) ; do \
12803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12804 done; \
12805 echo "Doing clean in gprof" ; \
12806 (cd $(HOST_SUBDIR)/gprof && \
12807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12809 "RANLIB=$${RANLIB}" \
12810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12811 clean) \
12812 || exit 1
12814 @endif gprof
12816 .PHONY: maybe-distclean-gprof distclean-gprof
12817 maybe-distclean-gprof:
12818 @if gprof
12819 maybe-distclean-gprof: distclean-gprof
12821 distclean-gprof:
12822 @$(unstage)
12823 @[ -f ./gprof/Makefile ] || exit 0; \
12824 r=`${PWD_COMMAND}`; export r; \
12825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12826 $(HOST_EXPORTS) \
12827 for flag in $(EXTRA_HOST_FLAGS) ; do \
12828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12829 done; \
12830 echo "Doing distclean in gprof" ; \
12831 (cd $(HOST_SUBDIR)/gprof && \
12832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12834 "RANLIB=$${RANLIB}" \
12835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12836 distclean) \
12837 || exit 1
12839 @endif gprof
12841 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12842 maybe-maintainer-clean-gprof:
12843 @if gprof
12844 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12846 maintainer-clean-gprof:
12847 @$(unstage)
12848 @[ -f ./gprof/Makefile ] || exit 0; \
12849 r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(HOST_EXPORTS) \
12852 for flag in $(EXTRA_HOST_FLAGS) ; do \
12853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12854 done; \
12855 echo "Doing maintainer-clean in gprof" ; \
12856 (cd $(HOST_SUBDIR)/gprof && \
12857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12859 "RANLIB=$${RANLIB}" \
12860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12861 maintainer-clean) \
12862 || exit 1
12864 @endif gprof
12868 .PHONY: configure-gzip maybe-configure-gzip
12869 maybe-configure-gzip:
12870 @if gzip
12871 maybe-configure-gzip: configure-gzip
12872 configure-gzip:
12873 @$(unstage)
12874 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12876 r=`${PWD_COMMAND}`; export r; \
12877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12878 $(HOST_EXPORTS) \
12879 echo Configuring in $(HOST_SUBDIR)/gzip; \
12880 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12881 case $(srcdir) in \
12882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12883 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12885 esac; \
12886 srcdiroption="--srcdir=$${topdir}/gzip"; \
12887 libsrcdir="$$s/gzip"; \
12888 $(SHELL) $${libsrcdir}/configure \
12889 $(HOST_CONFIGARGS) $${srcdiroption} \
12890 || exit 1
12891 @endif gzip
12897 .PHONY: all-gzip maybe-all-gzip
12898 maybe-all-gzip:
12899 @if gzip
12900 TARGET-gzip=all
12901 maybe-all-gzip: all-gzip
12902 all-gzip: configure-gzip
12903 @$(unstage)
12904 @r=`${PWD_COMMAND}`; export r; \
12905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12906 $(HOST_EXPORTS) \
12907 (cd $(HOST_SUBDIR)/gzip && \
12908 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12909 @endif gzip
12914 .PHONY: check-gzip maybe-check-gzip
12915 maybe-check-gzip:
12916 @if gzip
12917 maybe-check-gzip: check-gzip
12919 check-gzip:
12920 @$(unstage)
12921 @r=`${PWD_COMMAND}`; export r; \
12922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12923 $(HOST_EXPORTS) \
12924 (cd $(HOST_SUBDIR)/gzip && \
12925 $(MAKE) $(FLAGS_TO_PASS) check)
12927 @endif gzip
12929 .PHONY: install-gzip maybe-install-gzip
12930 maybe-install-gzip:
12931 @if gzip
12932 maybe-install-gzip: install-gzip
12934 install-gzip: installdirs
12935 @$(unstage)
12936 @r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12938 $(HOST_EXPORTS) \
12939 (cd $(HOST_SUBDIR)/gzip && \
12940 $(MAKE) $(FLAGS_TO_PASS) install)
12942 @endif gzip
12944 # Other targets (info, dvi, etc.)
12946 .PHONY: maybe-info-gzip info-gzip
12947 maybe-info-gzip:
12948 @if gzip
12949 maybe-info-gzip: info-gzip
12951 info-gzip: \
12952 configure-gzip
12953 @$(unstage)
12954 @[ -f ./gzip/Makefile ] || exit 0; \
12955 r=`${PWD_COMMAND}`; export r; \
12956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 $(HOST_EXPORTS) \
12958 for flag in $(EXTRA_HOST_FLAGS) ; do \
12959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 done; \
12961 echo "Doing info in gzip" ; \
12962 (cd $(HOST_SUBDIR)/gzip && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12965 "RANLIB=$${RANLIB}" \
12966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12967 info) \
12968 || exit 1
12970 @endif gzip
12972 .PHONY: maybe-dvi-gzip dvi-gzip
12973 maybe-dvi-gzip:
12974 @if gzip
12975 maybe-dvi-gzip: dvi-gzip
12977 dvi-gzip: \
12978 configure-gzip
12979 @$(unstage)
12980 @[ -f ./gzip/Makefile ] || exit 0; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 $(HOST_EXPORTS) \
12984 for flag in $(EXTRA_HOST_FLAGS) ; do \
12985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12986 done; \
12987 echo "Doing dvi in gzip" ; \
12988 (cd $(HOST_SUBDIR)/gzip && \
12989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12991 "RANLIB=$${RANLIB}" \
12992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12993 dvi) \
12994 || exit 1
12996 @endif gzip
12998 .PHONY: maybe-html-gzip html-gzip
12999 maybe-html-gzip:
13000 @if gzip
13001 maybe-html-gzip: html-gzip
13003 html-gzip: \
13004 configure-gzip
13005 @$(unstage)
13006 @[ -f ./gzip/Makefile ] || exit 0; \
13007 r=`${PWD_COMMAND}`; export r; \
13008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13009 $(HOST_EXPORTS) \
13010 for flag in $(EXTRA_HOST_FLAGS) ; do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 done; \
13013 echo "Doing html in gzip" ; \
13014 (cd $(HOST_SUBDIR)/gzip && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13019 html) \
13020 || exit 1
13022 @endif gzip
13024 .PHONY: maybe-TAGS-gzip TAGS-gzip
13025 maybe-TAGS-gzip:
13026 @if gzip
13027 maybe-TAGS-gzip: TAGS-gzip
13029 TAGS-gzip: \
13030 configure-gzip
13031 @$(unstage)
13032 @[ -f ./gzip/Makefile ] || exit 0; \
13033 r=`${PWD_COMMAND}`; export r; \
13034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13035 $(HOST_EXPORTS) \
13036 for flag in $(EXTRA_HOST_FLAGS) ; do \
13037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13038 done; \
13039 echo "Doing TAGS in gzip" ; \
13040 (cd $(HOST_SUBDIR)/gzip && \
13041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13043 "RANLIB=$${RANLIB}" \
13044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13045 TAGS) \
13046 || exit 1
13048 @endif gzip
13050 .PHONY: maybe-install-info-gzip install-info-gzip
13051 maybe-install-info-gzip:
13052 @if gzip
13053 maybe-install-info-gzip: install-info-gzip
13055 install-info-gzip: \
13056 configure-gzip \
13057 info-gzip
13058 @$(unstage)
13059 @[ -f ./gzip/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 install-info in gzip" ; \
13067 (cd $(HOST_SUBDIR)/gzip && \
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 install-info) \
13073 || exit 1
13075 @endif gzip
13077 .PHONY: maybe-installcheck-gzip installcheck-gzip
13078 maybe-installcheck-gzip:
13079 @if gzip
13080 maybe-installcheck-gzip: installcheck-gzip
13082 installcheck-gzip: \
13083 configure-gzip
13084 @$(unstage)
13085 @[ -f ./gzip/Makefile ] || exit 0; \
13086 r=`${PWD_COMMAND}`; export r; \
13087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13088 $(HOST_EXPORTS) \
13089 for flag in $(EXTRA_HOST_FLAGS) ; do \
13090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13091 done; \
13092 echo "Doing installcheck in gzip" ; \
13093 (cd $(HOST_SUBDIR)/gzip && \
13094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13096 "RANLIB=$${RANLIB}" \
13097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13098 installcheck) \
13099 || exit 1
13101 @endif gzip
13103 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13104 maybe-mostlyclean-gzip:
13105 @if gzip
13106 maybe-mostlyclean-gzip: mostlyclean-gzip
13108 mostlyclean-gzip:
13109 @$(unstage)
13110 @[ -f ./gzip/Makefile ] || exit 0; \
13111 r=`${PWD_COMMAND}`; export r; \
13112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13113 $(HOST_EXPORTS) \
13114 for flag in $(EXTRA_HOST_FLAGS) ; do \
13115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13116 done; \
13117 echo "Doing mostlyclean in gzip" ; \
13118 (cd $(HOST_SUBDIR)/gzip && \
13119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13121 "RANLIB=$${RANLIB}" \
13122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13123 mostlyclean) \
13124 || exit 1
13126 @endif gzip
13128 .PHONY: maybe-clean-gzip clean-gzip
13129 maybe-clean-gzip:
13130 @if gzip
13131 maybe-clean-gzip: clean-gzip
13133 clean-gzip:
13134 @$(unstage)
13135 @[ -f ./gzip/Makefile ] || exit 0; \
13136 r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 $(HOST_EXPORTS) \
13139 for flag in $(EXTRA_HOST_FLAGS) ; do \
13140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13141 done; \
13142 echo "Doing clean in gzip" ; \
13143 (cd $(HOST_SUBDIR)/gzip && \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13146 "RANLIB=$${RANLIB}" \
13147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13148 clean) \
13149 || exit 1
13151 @endif gzip
13153 .PHONY: maybe-distclean-gzip distclean-gzip
13154 maybe-distclean-gzip:
13155 @if gzip
13156 maybe-distclean-gzip: distclean-gzip
13158 distclean-gzip:
13159 @$(unstage)
13160 @[ -f ./gzip/Makefile ] || exit 0; \
13161 r=`${PWD_COMMAND}`; export r; \
13162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13163 $(HOST_EXPORTS) \
13164 for flag in $(EXTRA_HOST_FLAGS) ; do \
13165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13166 done; \
13167 echo "Doing distclean in gzip" ; \
13168 (cd $(HOST_SUBDIR)/gzip && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13171 "RANLIB=$${RANLIB}" \
13172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13173 distclean) \
13174 || exit 1
13176 @endif gzip
13178 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13179 maybe-maintainer-clean-gzip:
13180 @if gzip
13181 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13183 maintainer-clean-gzip:
13184 @$(unstage)
13185 @[ -f ./gzip/Makefile ] || exit 0; \
13186 r=`${PWD_COMMAND}`; export r; \
13187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13188 $(HOST_EXPORTS) \
13189 for flag in $(EXTRA_HOST_FLAGS) ; do \
13190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13191 done; \
13192 echo "Doing maintainer-clean in gzip" ; \
13193 (cd $(HOST_SUBDIR)/gzip && \
13194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13196 "RANLIB=$${RANLIB}" \
13197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13198 maintainer-clean) \
13199 || exit 1
13201 @endif gzip
13205 .PHONY: configure-hello maybe-configure-hello
13206 maybe-configure-hello:
13207 @if hello
13208 maybe-configure-hello: configure-hello
13209 configure-hello:
13210 @$(unstage)
13211 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13213 r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215 $(HOST_EXPORTS) \
13216 echo Configuring in $(HOST_SUBDIR)/hello; \
13217 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13218 case $(srcdir) in \
13219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13220 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13222 esac; \
13223 srcdiroption="--srcdir=$${topdir}/hello"; \
13224 libsrcdir="$$s/hello"; \
13225 $(SHELL) $${libsrcdir}/configure \
13226 $(HOST_CONFIGARGS) $${srcdiroption} \
13227 || exit 1
13228 @endif hello
13234 .PHONY: all-hello maybe-all-hello
13235 maybe-all-hello:
13236 @if hello
13237 TARGET-hello=all
13238 maybe-all-hello: all-hello
13239 all-hello: configure-hello
13240 @$(unstage)
13241 @r=`${PWD_COMMAND}`; export r; \
13242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13243 $(HOST_EXPORTS) \
13244 (cd $(HOST_SUBDIR)/hello && \
13245 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13246 @endif hello
13251 .PHONY: check-hello maybe-check-hello
13252 maybe-check-hello:
13253 @if hello
13254 maybe-check-hello: check-hello
13256 check-hello:
13257 @$(unstage)
13258 @r=`${PWD_COMMAND}`; export r; \
13259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 $(HOST_EXPORTS) \
13261 (cd $(HOST_SUBDIR)/hello && \
13262 $(MAKE) $(FLAGS_TO_PASS) check)
13264 @endif hello
13266 .PHONY: install-hello maybe-install-hello
13267 maybe-install-hello:
13268 @if hello
13269 maybe-install-hello: install-hello
13271 install-hello: installdirs
13272 @$(unstage)
13273 @r=`${PWD_COMMAND}`; export r; \
13274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13275 $(HOST_EXPORTS) \
13276 (cd $(HOST_SUBDIR)/hello && \
13277 $(MAKE) $(FLAGS_TO_PASS) install)
13279 @endif hello
13281 # Other targets (info, dvi, etc.)
13283 .PHONY: maybe-info-hello info-hello
13284 maybe-info-hello:
13285 @if hello
13286 maybe-info-hello: info-hello
13288 info-hello: \
13289 configure-hello
13290 @$(unstage)
13291 @[ -f ./hello/Makefile ] || exit 0; \
13292 r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 $(HOST_EXPORTS) \
13295 for flag in $(EXTRA_HOST_FLAGS) ; do \
13296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13297 done; \
13298 echo "Doing info in hello" ; \
13299 (cd $(HOST_SUBDIR)/hello && \
13300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13302 "RANLIB=$${RANLIB}" \
13303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13304 info) \
13305 || exit 1
13307 @endif hello
13309 .PHONY: maybe-dvi-hello dvi-hello
13310 maybe-dvi-hello:
13311 @if hello
13312 maybe-dvi-hello: dvi-hello
13314 dvi-hello: \
13315 configure-hello
13316 @$(unstage)
13317 @[ -f ./hello/Makefile ] || exit 0; \
13318 r=`${PWD_COMMAND}`; export r; \
13319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13320 $(HOST_EXPORTS) \
13321 for flag in $(EXTRA_HOST_FLAGS) ; do \
13322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13323 done; \
13324 echo "Doing dvi in hello" ; \
13325 (cd $(HOST_SUBDIR)/hello && \
13326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13328 "RANLIB=$${RANLIB}" \
13329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13330 dvi) \
13331 || exit 1
13333 @endif hello
13335 .PHONY: maybe-html-hello html-hello
13336 maybe-html-hello:
13337 @if hello
13338 maybe-html-hello: html-hello
13340 html-hello: \
13341 configure-hello
13342 @$(unstage)
13343 @[ -f ./hello/Makefile ] || exit 0; \
13344 r=`${PWD_COMMAND}`; export r; \
13345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13346 $(HOST_EXPORTS) \
13347 for flag in $(EXTRA_HOST_FLAGS) ; do \
13348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13349 done; \
13350 echo "Doing html in hello" ; \
13351 (cd $(HOST_SUBDIR)/hello && \
13352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13354 "RANLIB=$${RANLIB}" \
13355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13356 html) \
13357 || exit 1
13359 @endif hello
13361 .PHONY: maybe-TAGS-hello TAGS-hello
13362 maybe-TAGS-hello:
13363 @if hello
13364 maybe-TAGS-hello: TAGS-hello
13366 TAGS-hello: \
13367 configure-hello
13368 @$(unstage)
13369 @[ -f ./hello/Makefile ] || exit 0; \
13370 r=`${PWD_COMMAND}`; export r; \
13371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13372 $(HOST_EXPORTS) \
13373 for flag in $(EXTRA_HOST_FLAGS) ; do \
13374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13375 done; \
13376 echo "Doing TAGS in hello" ; \
13377 (cd $(HOST_SUBDIR)/hello && \
13378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13380 "RANLIB=$${RANLIB}" \
13381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13382 TAGS) \
13383 || exit 1
13385 @endif hello
13387 .PHONY: maybe-install-info-hello install-info-hello
13388 maybe-install-info-hello:
13389 @if hello
13390 maybe-install-info-hello: install-info-hello
13392 install-info-hello: \
13393 configure-hello \
13394 info-hello
13395 @$(unstage)
13396 @[ -f ./hello/Makefile ] || exit 0; \
13397 r=`${PWD_COMMAND}`; export r; \
13398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13399 $(HOST_EXPORTS) \
13400 for flag in $(EXTRA_HOST_FLAGS) ; do \
13401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13402 done; \
13403 echo "Doing install-info in hello" ; \
13404 (cd $(HOST_SUBDIR)/hello && \
13405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13407 "RANLIB=$${RANLIB}" \
13408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13409 install-info) \
13410 || exit 1
13412 @endif hello
13414 .PHONY: maybe-installcheck-hello installcheck-hello
13415 maybe-installcheck-hello:
13416 @if hello
13417 maybe-installcheck-hello: installcheck-hello
13419 installcheck-hello: \
13420 configure-hello
13421 @$(unstage)
13422 @[ -f ./hello/Makefile ] || exit 0; \
13423 r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 $(HOST_EXPORTS) \
13426 for flag in $(EXTRA_HOST_FLAGS) ; do \
13427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13428 done; \
13429 echo "Doing installcheck in hello" ; \
13430 (cd $(HOST_SUBDIR)/hello && \
13431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13433 "RANLIB=$${RANLIB}" \
13434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13435 installcheck) \
13436 || exit 1
13438 @endif hello
13440 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13441 maybe-mostlyclean-hello:
13442 @if hello
13443 maybe-mostlyclean-hello: mostlyclean-hello
13445 mostlyclean-hello:
13446 @$(unstage)
13447 @[ -f ./hello/Makefile ] || exit 0; \
13448 r=`${PWD_COMMAND}`; export r; \
13449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13450 $(HOST_EXPORTS) \
13451 for flag in $(EXTRA_HOST_FLAGS) ; do \
13452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13453 done; \
13454 echo "Doing mostlyclean in hello" ; \
13455 (cd $(HOST_SUBDIR)/hello && \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13458 "RANLIB=$${RANLIB}" \
13459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13460 mostlyclean) \
13461 || exit 1
13463 @endif hello
13465 .PHONY: maybe-clean-hello clean-hello
13466 maybe-clean-hello:
13467 @if hello
13468 maybe-clean-hello: clean-hello
13470 clean-hello:
13471 @$(unstage)
13472 @[ -f ./hello/Makefile ] || exit 0; \
13473 r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13475 $(HOST_EXPORTS) \
13476 for flag in $(EXTRA_HOST_FLAGS) ; do \
13477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13478 done; \
13479 echo "Doing clean in hello" ; \
13480 (cd $(HOST_SUBDIR)/hello && \
13481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13483 "RANLIB=$${RANLIB}" \
13484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13485 clean) \
13486 || exit 1
13488 @endif hello
13490 .PHONY: maybe-distclean-hello distclean-hello
13491 maybe-distclean-hello:
13492 @if hello
13493 maybe-distclean-hello: distclean-hello
13495 distclean-hello:
13496 @$(unstage)
13497 @[ -f ./hello/Makefile ] || exit 0; \
13498 r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 for flag in $(EXTRA_HOST_FLAGS) ; do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503 done; \
13504 echo "Doing distclean in hello" ; \
13505 (cd $(HOST_SUBDIR)/hello && \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13510 distclean) \
13511 || exit 1
13513 @endif hello
13515 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13516 maybe-maintainer-clean-hello:
13517 @if hello
13518 maybe-maintainer-clean-hello: maintainer-clean-hello
13520 maintainer-clean-hello:
13521 @$(unstage)
13522 @[ -f ./hello/Makefile ] || exit 0; \
13523 r=`${PWD_COMMAND}`; export r; \
13524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13525 $(HOST_EXPORTS) \
13526 for flag in $(EXTRA_HOST_FLAGS) ; do \
13527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13528 done; \
13529 echo "Doing maintainer-clean in hello" ; \
13530 (cd $(HOST_SUBDIR)/hello && \
13531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13533 "RANLIB=$${RANLIB}" \
13534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13535 maintainer-clean) \
13536 || exit 1
13538 @endif hello
13542 .PHONY: configure-indent maybe-configure-indent
13543 maybe-configure-indent:
13544 @if indent
13545 maybe-configure-indent: configure-indent
13546 configure-indent:
13547 @$(unstage)
13548 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13550 r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 $(HOST_EXPORTS) \
13553 echo Configuring in $(HOST_SUBDIR)/indent; \
13554 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13555 case $(srcdir) in \
13556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13557 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13559 esac; \
13560 srcdiroption="--srcdir=$${topdir}/indent"; \
13561 libsrcdir="$$s/indent"; \
13562 $(SHELL) $${libsrcdir}/configure \
13563 $(HOST_CONFIGARGS) $${srcdiroption} \
13564 || exit 1
13565 @endif indent
13571 .PHONY: all-indent maybe-all-indent
13572 maybe-all-indent:
13573 @if indent
13574 TARGET-indent=all
13575 maybe-all-indent: all-indent
13576 all-indent: configure-indent
13577 @$(unstage)
13578 @r=`${PWD_COMMAND}`; export r; \
13579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13580 $(HOST_EXPORTS) \
13581 (cd $(HOST_SUBDIR)/indent && \
13582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13583 @endif indent
13588 .PHONY: check-indent maybe-check-indent
13589 maybe-check-indent:
13590 @if indent
13591 maybe-check-indent: check-indent
13593 check-indent:
13594 @$(unstage)
13595 @r=`${PWD_COMMAND}`; export r; \
13596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13597 $(HOST_EXPORTS) \
13598 (cd $(HOST_SUBDIR)/indent && \
13599 $(MAKE) $(FLAGS_TO_PASS) check)
13601 @endif indent
13603 .PHONY: install-indent maybe-install-indent
13604 maybe-install-indent:
13605 @if indent
13606 maybe-install-indent: install-indent
13608 install-indent: installdirs
13609 @$(unstage)
13610 @r=`${PWD_COMMAND}`; export r; \
13611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13612 $(HOST_EXPORTS) \
13613 (cd $(HOST_SUBDIR)/indent && \
13614 $(MAKE) $(FLAGS_TO_PASS) install)
13616 @endif indent
13618 # Other targets (info, dvi, etc.)
13620 .PHONY: maybe-info-indent info-indent
13621 maybe-info-indent:
13622 @if indent
13623 maybe-info-indent: info-indent
13625 info-indent: \
13626 configure-indent
13627 @$(unstage)
13628 @[ -f ./indent/Makefile ] || exit 0; \
13629 r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 $(HOST_EXPORTS) \
13632 for flag in $(EXTRA_HOST_FLAGS) ; do \
13633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 done; \
13635 echo "Doing info in indent" ; \
13636 (cd $(HOST_SUBDIR)/indent && \
13637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13639 "RANLIB=$${RANLIB}" \
13640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13641 info) \
13642 || exit 1
13644 @endif indent
13646 .PHONY: maybe-dvi-indent dvi-indent
13647 maybe-dvi-indent:
13648 @if indent
13649 maybe-dvi-indent: dvi-indent
13651 dvi-indent: \
13652 configure-indent
13653 @$(unstage)
13654 @[ -f ./indent/Makefile ] || exit 0; \
13655 r=`${PWD_COMMAND}`; export r; \
13656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 $(HOST_EXPORTS) \
13658 for flag in $(EXTRA_HOST_FLAGS) ; do \
13659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660 done; \
13661 echo "Doing dvi in indent" ; \
13662 (cd $(HOST_SUBDIR)/indent && \
13663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13665 "RANLIB=$${RANLIB}" \
13666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13667 dvi) \
13668 || exit 1
13670 @endif indent
13672 .PHONY: maybe-html-indent html-indent
13673 maybe-html-indent:
13674 @if indent
13675 maybe-html-indent: html-indent
13677 html-indent: \
13678 configure-indent
13679 @$(unstage)
13680 @[ -f ./indent/Makefile ] || exit 0; \
13681 r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 $(HOST_EXPORTS) \
13684 for flag in $(EXTRA_HOST_FLAGS) ; do \
13685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13686 done; \
13687 echo "Doing html in indent" ; \
13688 (cd $(HOST_SUBDIR)/indent && \
13689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13691 "RANLIB=$${RANLIB}" \
13692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13693 html) \
13694 || exit 1
13696 @endif indent
13698 .PHONY: maybe-TAGS-indent TAGS-indent
13699 maybe-TAGS-indent:
13700 @if indent
13701 maybe-TAGS-indent: TAGS-indent
13703 TAGS-indent: \
13704 configure-indent
13705 @$(unstage)
13706 @[ -f ./indent/Makefile ] || exit 0; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(HOST_EXPORTS) \
13710 for flag in $(EXTRA_HOST_FLAGS) ; do \
13711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13712 done; \
13713 echo "Doing TAGS in indent" ; \
13714 (cd $(HOST_SUBDIR)/indent && \
13715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13717 "RANLIB=$${RANLIB}" \
13718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13719 TAGS) \
13720 || exit 1
13722 @endif indent
13724 .PHONY: maybe-install-info-indent install-info-indent
13725 maybe-install-info-indent:
13726 @if indent
13727 maybe-install-info-indent: install-info-indent
13729 install-info-indent: \
13730 configure-indent \
13731 info-indent
13732 @$(unstage)
13733 @[ -f ./indent/Makefile ] || exit 0; \
13734 r=`${PWD_COMMAND}`; export r; \
13735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13736 $(HOST_EXPORTS) \
13737 for flag in $(EXTRA_HOST_FLAGS) ; do \
13738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13739 done; \
13740 echo "Doing install-info in indent" ; \
13741 (cd $(HOST_SUBDIR)/indent && \
13742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13744 "RANLIB=$${RANLIB}" \
13745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13746 install-info) \
13747 || exit 1
13749 @endif indent
13751 .PHONY: maybe-installcheck-indent installcheck-indent
13752 maybe-installcheck-indent:
13753 @if indent
13754 maybe-installcheck-indent: installcheck-indent
13756 installcheck-indent: \
13757 configure-indent
13758 @$(unstage)
13759 @[ -f ./indent/Makefile ] || exit 0; \
13760 r=`${PWD_COMMAND}`; export r; \
13761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13762 $(HOST_EXPORTS) \
13763 for flag in $(EXTRA_HOST_FLAGS) ; do \
13764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13765 done; \
13766 echo "Doing installcheck in indent" ; \
13767 (cd $(HOST_SUBDIR)/indent && \
13768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13770 "RANLIB=$${RANLIB}" \
13771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13772 installcheck) \
13773 || exit 1
13775 @endif indent
13777 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13778 maybe-mostlyclean-indent:
13779 @if indent
13780 maybe-mostlyclean-indent: mostlyclean-indent
13782 mostlyclean-indent:
13783 @$(unstage)
13784 @[ -f ./indent/Makefile ] || exit 0; \
13785 r=`${PWD_COMMAND}`; export r; \
13786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13787 $(HOST_EXPORTS) \
13788 for flag in $(EXTRA_HOST_FLAGS) ; do \
13789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13790 done; \
13791 echo "Doing mostlyclean in indent" ; \
13792 (cd $(HOST_SUBDIR)/indent && \
13793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13795 "RANLIB=$${RANLIB}" \
13796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13797 mostlyclean) \
13798 || exit 1
13800 @endif indent
13802 .PHONY: maybe-clean-indent clean-indent
13803 maybe-clean-indent:
13804 @if indent
13805 maybe-clean-indent: clean-indent
13807 clean-indent:
13808 @$(unstage)
13809 @[ -f ./indent/Makefile ] || exit 0; \
13810 r=`${PWD_COMMAND}`; export r; \
13811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 $(HOST_EXPORTS) \
13813 for flag in $(EXTRA_HOST_FLAGS) ; do \
13814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13815 done; \
13816 echo "Doing clean in indent" ; \
13817 (cd $(HOST_SUBDIR)/indent && \
13818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13820 "RANLIB=$${RANLIB}" \
13821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13822 clean) \
13823 || exit 1
13825 @endif indent
13827 .PHONY: maybe-distclean-indent distclean-indent
13828 maybe-distclean-indent:
13829 @if indent
13830 maybe-distclean-indent: distclean-indent
13832 distclean-indent:
13833 @$(unstage)
13834 @[ -f ./indent/Makefile ] || exit 0; \
13835 r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 $(HOST_EXPORTS) \
13838 for flag in $(EXTRA_HOST_FLAGS) ; do \
13839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13840 done; \
13841 echo "Doing distclean in indent" ; \
13842 (cd $(HOST_SUBDIR)/indent && \
13843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13845 "RANLIB=$${RANLIB}" \
13846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13847 distclean) \
13848 || exit 1
13850 @endif indent
13852 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13853 maybe-maintainer-clean-indent:
13854 @if indent
13855 maybe-maintainer-clean-indent: maintainer-clean-indent
13857 maintainer-clean-indent:
13858 @$(unstage)
13859 @[ -f ./indent/Makefile ] || exit 0; \
13860 r=`${PWD_COMMAND}`; export r; \
13861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13862 $(HOST_EXPORTS) \
13863 for flag in $(EXTRA_HOST_FLAGS) ; do \
13864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13865 done; \
13866 echo "Doing maintainer-clean in indent" ; \
13867 (cd $(HOST_SUBDIR)/indent && \
13868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13870 "RANLIB=$${RANLIB}" \
13871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13872 maintainer-clean) \
13873 || exit 1
13875 @endif indent
13879 .PHONY: configure-intl maybe-configure-intl
13880 maybe-configure-intl:
13881 @if intl
13882 maybe-configure-intl: configure-intl
13883 configure-intl:
13884 @test -f stage_last && exit 0; \
13885 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13887 r=`${PWD_COMMAND}`; export r; \
13888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889 $(HOST_EXPORTS) \
13890 echo Configuring in $(HOST_SUBDIR)/intl; \
13891 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13892 case $(srcdir) in \
13893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13894 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13896 esac; \
13897 srcdiroption="--srcdir=$${topdir}/intl"; \
13898 libsrcdir="$$s/intl"; \
13899 $(SHELL) $${libsrcdir}/configure \
13900 $(HOST_CONFIGARGS) $${srcdiroption} \
13901 || exit 1
13902 @endif intl
13906 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13907 maybe-configure-stage1-intl:
13908 @if intl-bootstrap
13909 maybe-configure-stage1-intl: configure-stage1-intl
13910 configure-stage1-intl:
13911 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
13912 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13913 r=`${PWD_COMMAND}`; export r; \
13914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13915 $(HOST_EXPORTS) \
13916 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13917 cd $(HOST_SUBDIR)/intl || exit 1; \
13918 case $(srcdir) in \
13919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13920 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13922 esac; \
13923 srcdiroption="--srcdir=$${topdir}/intl"; \
13924 libsrcdir="$$s/intl"; \
13925 $(SHELL) $${libsrcdir}/configure \
13926 $(HOST_CONFIGARGS) $${srcdiroption} \
13927 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13928 @endif intl-bootstrap
13930 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13931 maybe-configure-stage2-intl:
13932 @if intl-bootstrap
13933 maybe-configure-stage2-intl: configure-stage2-intl
13934 configure-stage2-intl:
13935 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
13936 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13937 r=`${PWD_COMMAND}`; export r; \
13938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13939 $(HOST_EXPORTS) \
13940 $(POSTSTAGE1_HOST_EXPORTS) \
13941 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13942 cd $(HOST_SUBDIR)/intl || exit 1; \
13943 case $(srcdir) in \
13944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13945 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13947 esac; \
13948 srcdiroption="--srcdir=$${topdir}/intl"; \
13949 libsrcdir="$$s/intl"; \
13950 $(SHELL) $${libsrcdir}/configure \
13951 $(HOST_CONFIGARGS) $${srcdiroption} \
13952 @stage2_werror_flag@
13953 @endif intl-bootstrap
13955 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13956 maybe-configure-stage3-intl:
13957 @if intl-bootstrap
13958 maybe-configure-stage3-intl: configure-stage3-intl
13959 configure-stage3-intl:
13960 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
13961 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13962 r=`${PWD_COMMAND}`; export r; \
13963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13964 $(HOST_EXPORTS) \
13965 $(POSTSTAGE1_HOST_EXPORTS) \
13966 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13967 cd $(HOST_SUBDIR)/intl || exit 1; \
13968 case $(srcdir) in \
13969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13970 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13972 esac; \
13973 srcdiroption="--srcdir=$${topdir}/intl"; \
13974 libsrcdir="$$s/intl"; \
13975 $(SHELL) $${libsrcdir}/configure \
13976 $(HOST_CONFIGARGS) $${srcdiroption} \
13977 @stage2_werror_flag@
13978 @endif intl-bootstrap
13980 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13981 maybe-configure-stage4-intl:
13982 @if intl-bootstrap
13983 maybe-configure-stage4-intl: configure-stage4-intl
13984 configure-stage4-intl:
13985 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
13986 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13987 r=`${PWD_COMMAND}`; export r; \
13988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13989 $(HOST_EXPORTS) \
13990 $(POSTSTAGE1_HOST_EXPORTS) \
13991 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13992 cd $(HOST_SUBDIR)/intl || exit 1; \
13993 case $(srcdir) in \
13994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13995 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13997 esac; \
13998 srcdiroption="--srcdir=$${topdir}/intl"; \
13999 libsrcdir="$$s/intl"; \
14000 $(SHELL) $${libsrcdir}/configure \
14001 $(HOST_CONFIGARGS) $${srcdiroption} \
14002 @stage2_werror_flag@
14003 @endif intl-bootstrap
14005 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14006 maybe-configure-stageprofile-intl:
14007 @if intl-bootstrap
14008 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14009 configure-stageprofile-intl:
14010 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14011 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14012 r=`${PWD_COMMAND}`; export r; \
14013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14014 $(HOST_EXPORTS) \
14015 $(POSTSTAGE1_HOST_EXPORTS) \
14016 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14017 cd $(HOST_SUBDIR)/intl || exit 1; \
14018 case $(srcdir) in \
14019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14020 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14022 esac; \
14023 srcdiroption="--srcdir=$${topdir}/intl"; \
14024 libsrcdir="$$s/intl"; \
14025 $(SHELL) $${libsrcdir}/configure \
14026 $(HOST_CONFIGARGS) $${srcdiroption} \
14027 @stage2_werror_flag@
14028 @endif intl-bootstrap
14030 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14031 maybe-configure-stagefeedback-intl:
14032 @if intl-bootstrap
14033 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14034 configure-stagefeedback-intl:
14035 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14036 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14037 r=`${PWD_COMMAND}`; export r; \
14038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14039 $(HOST_EXPORTS) \
14040 $(POSTSTAGE1_HOST_EXPORTS) \
14041 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14042 cd $(HOST_SUBDIR)/intl || exit 1; \
14043 case $(srcdir) in \
14044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14045 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14047 esac; \
14048 srcdiroption="--srcdir=$${topdir}/intl"; \
14049 libsrcdir="$$s/intl"; \
14050 $(SHELL) $${libsrcdir}/configure \
14051 $(HOST_CONFIGARGS) $${srcdiroption} \
14052 @stage2_werror_flag@
14053 @endif intl-bootstrap
14059 .PHONY: all-intl maybe-all-intl
14060 maybe-all-intl:
14061 @if intl
14062 TARGET-intl=all
14063 maybe-all-intl: all-intl
14064 all-intl: configure-intl
14065 @test -f stage_last && exit 0; \
14066 r=`${PWD_COMMAND}`; export r; \
14067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14068 $(HOST_EXPORTS) \
14069 (cd $(HOST_SUBDIR)/intl && \
14070 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14071 @endif intl
14075 .PHONY: all-stage1-intl maybe-all-stage1-intl
14076 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14077 maybe-all-stage1-intl:
14078 maybe-clean-stage1-intl:
14079 @if intl-bootstrap
14080 maybe-all-stage1-intl: all-stage1-intl
14081 all-stage1: all-stage1-intl
14082 TARGET-stage1-intl = $(TARGET-intl)
14083 all-stage1-intl: configure-stage1-intl
14084 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14085 @r=`${PWD_COMMAND}`; export r; \
14086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 $(HOST_EXPORTS) \
14088 cd $(HOST_SUBDIR)/intl && \
14089 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14090 $(TARGET-stage1-intl)
14092 maybe-clean-stage1-intl: clean-stage1-intl
14093 clean-stage1: clean-stage1-intl
14094 clean-stage1-intl:
14095 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14096 || exit 0 ; \
14097 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14098 cd $(HOST_SUBDIR)/intl && \
14099 $(MAKE) $(FLAGS_TO_PASS) \
14100 CFLAGS="$(STAGE1_CFLAGS)" clean
14101 @endif intl-bootstrap
14104 .PHONY: all-stage2-intl maybe-all-stage2-intl
14105 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14106 maybe-all-stage2-intl:
14107 maybe-clean-stage2-intl:
14108 @if intl-bootstrap
14109 maybe-all-stage2-intl: all-stage2-intl
14110 all-stage2: all-stage2-intl
14111 TARGET-stage2-intl = $(TARGET-intl)
14112 all-stage2-intl: configure-stage2-intl
14113 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14114 @r=`${PWD_COMMAND}`; export r; \
14115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14116 $(HOST_EXPORTS) \
14117 $(POSTSTAGE1_HOST_EXPORTS) \
14118 cd $(HOST_SUBDIR)/intl && \
14119 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14120 $(TARGET-stage2-intl)
14122 maybe-clean-stage2-intl: clean-stage2-intl
14123 clean-stage2: clean-stage2-intl
14124 clean-stage2-intl:
14125 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14126 || exit 0 ; \
14127 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14128 cd $(HOST_SUBDIR)/intl && \
14129 $(MAKE) $(FLAGS_TO_PASS) \
14130 $(POSTSTAGE1_FLAGS_TO_PASS) \
14131 clean
14132 @endif intl-bootstrap
14135 .PHONY: all-stage3-intl maybe-all-stage3-intl
14136 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14137 maybe-all-stage3-intl:
14138 maybe-clean-stage3-intl:
14139 @if intl-bootstrap
14140 maybe-all-stage3-intl: all-stage3-intl
14141 all-stage3: all-stage3-intl
14142 TARGET-stage3-intl = $(TARGET-intl)
14143 all-stage3-intl: configure-stage3-intl
14144 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14145 @r=`${PWD_COMMAND}`; export r; \
14146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14147 $(HOST_EXPORTS) \
14148 $(POSTSTAGE1_HOST_EXPORTS) \
14149 cd $(HOST_SUBDIR)/intl && \
14150 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14151 $(TARGET-stage3-intl)
14153 maybe-clean-stage3-intl: clean-stage3-intl
14154 clean-stage3: clean-stage3-intl
14155 clean-stage3-intl:
14156 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14157 || exit 0 ; \
14158 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14159 cd $(HOST_SUBDIR)/intl && \
14160 $(MAKE) $(FLAGS_TO_PASS) \
14161 $(POSTSTAGE1_FLAGS_TO_PASS) \
14162 clean
14163 @endif intl-bootstrap
14166 .PHONY: all-stage4-intl maybe-all-stage4-intl
14167 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14168 maybe-all-stage4-intl:
14169 maybe-clean-stage4-intl:
14170 @if intl-bootstrap
14171 maybe-all-stage4-intl: all-stage4-intl
14172 all-stage4: all-stage4-intl
14173 TARGET-stage4-intl = $(TARGET-intl)
14174 all-stage4-intl: configure-stage4-intl
14175 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14176 @r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(HOST_EXPORTS) \
14179 $(POSTSTAGE1_HOST_EXPORTS) \
14180 cd $(HOST_SUBDIR)/intl && \
14181 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14182 $(TARGET-stage4-intl)
14184 maybe-clean-stage4-intl: clean-stage4-intl
14185 clean-stage4: clean-stage4-intl
14186 clean-stage4-intl:
14187 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14188 || exit 0 ; \
14189 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14190 cd $(HOST_SUBDIR)/intl && \
14191 $(MAKE) $(FLAGS_TO_PASS) \
14192 $(POSTSTAGE1_FLAGS_TO_PASS) \
14193 clean
14194 @endif intl-bootstrap
14197 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14198 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14199 maybe-all-stageprofile-intl:
14200 maybe-clean-stageprofile-intl:
14201 @if intl-bootstrap
14202 maybe-all-stageprofile-intl: all-stageprofile-intl
14203 all-stageprofile: all-stageprofile-intl
14204 TARGET-stageprofile-intl = $(TARGET-intl)
14205 all-stageprofile-intl: configure-stageprofile-intl
14206 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14207 @r=`${PWD_COMMAND}`; export r; \
14208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14209 $(HOST_EXPORTS) \
14210 $(POSTSTAGE1_HOST_EXPORTS) \
14211 cd $(HOST_SUBDIR)/intl && \
14212 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14213 $(TARGET-stageprofile-intl)
14215 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14216 clean-stageprofile: clean-stageprofile-intl
14217 clean-stageprofile-intl:
14218 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14219 || exit 0 ; \
14220 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14221 cd $(HOST_SUBDIR)/intl && \
14222 $(MAKE) $(FLAGS_TO_PASS) \
14223 $(POSTSTAGE1_FLAGS_TO_PASS) \
14224 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14225 @endif intl-bootstrap
14228 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14229 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14230 maybe-all-stagefeedback-intl:
14231 maybe-clean-stagefeedback-intl:
14232 @if intl-bootstrap
14233 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14234 all-stagefeedback: all-stagefeedback-intl
14235 TARGET-stagefeedback-intl = $(TARGET-intl)
14236 all-stagefeedback-intl: configure-stagefeedback-intl
14237 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14238 @r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 $(HOST_EXPORTS) \
14241 $(POSTSTAGE1_HOST_EXPORTS) \
14242 cd $(HOST_SUBDIR)/intl && \
14243 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14244 $(TARGET-stagefeedback-intl)
14246 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14247 clean-stagefeedback: clean-stagefeedback-intl
14248 clean-stagefeedback-intl:
14249 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14250 || exit 0 ; \
14251 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14252 cd $(HOST_SUBDIR)/intl && \
14253 $(MAKE) $(FLAGS_TO_PASS) \
14254 $(POSTSTAGE1_FLAGS_TO_PASS) \
14255 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14256 @endif intl-bootstrap
14262 .PHONY: check-intl maybe-check-intl
14263 maybe-check-intl:
14264 @if intl
14265 maybe-check-intl: check-intl
14267 check-intl:
14268 @$(unstage)
14269 @r=`${PWD_COMMAND}`; export r; \
14270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14271 $(HOST_EXPORTS) \
14272 (cd $(HOST_SUBDIR)/intl && \
14273 $(MAKE) $(FLAGS_TO_PASS) check)
14275 @endif intl
14277 .PHONY: install-intl maybe-install-intl
14278 maybe-install-intl:
14279 @if intl
14280 maybe-install-intl: install-intl
14282 install-intl: installdirs
14283 @$(unstage)
14284 @r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(HOST_EXPORTS) \
14287 (cd $(HOST_SUBDIR)/intl && \
14288 $(MAKE) $(FLAGS_TO_PASS) install)
14290 @endif intl
14292 # Other targets (info, dvi, etc.)
14294 .PHONY: maybe-info-intl info-intl
14295 maybe-info-intl:
14296 @if intl
14297 maybe-info-intl: info-intl
14299 info-intl: \
14300 configure-intl
14301 @[ -f ./intl/Makefile ] || exit 0; \
14302 r=`${PWD_COMMAND}`; export r; \
14303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14304 $(HOST_EXPORTS) \
14305 for flag in $(EXTRA_HOST_FLAGS) ; do \
14306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14307 done; \
14308 echo "Doing info in intl" ; \
14309 (cd $(HOST_SUBDIR)/intl && \
14310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14312 "RANLIB=$${RANLIB}" \
14313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14314 info) \
14315 || exit 1
14317 @endif intl
14319 .PHONY: maybe-dvi-intl dvi-intl
14320 maybe-dvi-intl:
14321 @if intl
14322 maybe-dvi-intl: dvi-intl
14324 dvi-intl: \
14325 configure-intl
14326 @[ -f ./intl/Makefile ] || exit 0; \
14327 r=`${PWD_COMMAND}`; export r; \
14328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14329 $(HOST_EXPORTS) \
14330 for flag in $(EXTRA_HOST_FLAGS) ; do \
14331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14332 done; \
14333 echo "Doing dvi in intl" ; \
14334 (cd $(HOST_SUBDIR)/intl && \
14335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14337 "RANLIB=$${RANLIB}" \
14338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14339 dvi) \
14340 || exit 1
14342 @endif intl
14344 .PHONY: maybe-html-intl html-intl
14345 maybe-html-intl:
14346 @if intl
14347 maybe-html-intl: html-intl
14349 html-intl: \
14350 configure-intl
14351 @[ -f ./intl/Makefile ] || exit 0; \
14352 r=`${PWD_COMMAND}`; export r; \
14353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14354 $(HOST_EXPORTS) \
14355 for flag in $(EXTRA_HOST_FLAGS) ; do \
14356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14357 done; \
14358 echo "Doing html in intl" ; \
14359 (cd $(HOST_SUBDIR)/intl && \
14360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14362 "RANLIB=$${RANLIB}" \
14363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14364 html) \
14365 || exit 1
14367 @endif intl
14369 .PHONY: maybe-TAGS-intl TAGS-intl
14370 maybe-TAGS-intl:
14371 @if intl
14372 maybe-TAGS-intl: TAGS-intl
14374 TAGS-intl: \
14375 configure-intl
14376 @[ -f ./intl/Makefile ] || exit 0; \
14377 r=`${PWD_COMMAND}`; export r; \
14378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 $(HOST_EXPORTS) \
14380 for flag in $(EXTRA_HOST_FLAGS) ; do \
14381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14382 done; \
14383 echo "Doing TAGS in intl" ; \
14384 (cd $(HOST_SUBDIR)/intl && \
14385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14387 "RANLIB=$${RANLIB}" \
14388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14389 TAGS) \
14390 || exit 1
14392 @endif intl
14394 .PHONY: maybe-install-info-intl install-info-intl
14395 maybe-install-info-intl:
14396 @if intl
14397 maybe-install-info-intl: install-info-intl
14399 install-info-intl: \
14400 configure-intl \
14401 info-intl
14402 @[ -f ./intl/Makefile ] || exit 0; \
14403 r=`${PWD_COMMAND}`; export r; \
14404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 $(HOST_EXPORTS) \
14406 for flag in $(EXTRA_HOST_FLAGS) ; do \
14407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14408 done; \
14409 echo "Doing install-info in intl" ; \
14410 (cd $(HOST_SUBDIR)/intl && \
14411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14413 "RANLIB=$${RANLIB}" \
14414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14415 install-info) \
14416 || exit 1
14418 @endif intl
14420 .PHONY: maybe-installcheck-intl installcheck-intl
14421 maybe-installcheck-intl:
14422 @if intl
14423 maybe-installcheck-intl: installcheck-intl
14425 installcheck-intl: \
14426 configure-intl
14427 @[ -f ./intl/Makefile ] || exit 0; \
14428 r=`${PWD_COMMAND}`; export r; \
14429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14430 $(HOST_EXPORTS) \
14431 for flag in $(EXTRA_HOST_FLAGS) ; do \
14432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14433 done; \
14434 echo "Doing installcheck in intl" ; \
14435 (cd $(HOST_SUBDIR)/intl && \
14436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14438 "RANLIB=$${RANLIB}" \
14439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14440 installcheck) \
14441 || exit 1
14443 @endif intl
14445 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14446 maybe-mostlyclean-intl:
14447 @if intl
14448 maybe-mostlyclean-intl: mostlyclean-intl
14450 mostlyclean-intl:
14451 @[ -f ./intl/Makefile ] || exit 0; \
14452 r=`${PWD_COMMAND}`; export r; \
14453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14454 $(HOST_EXPORTS) \
14455 for flag in $(EXTRA_HOST_FLAGS) ; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14457 done; \
14458 echo "Doing mostlyclean in intl" ; \
14459 (cd $(HOST_SUBDIR)/intl && \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14464 mostlyclean) \
14465 || exit 1
14467 @endif intl
14469 .PHONY: maybe-clean-intl clean-intl
14470 maybe-clean-intl:
14471 @if intl
14472 maybe-clean-intl: clean-intl
14474 clean-intl:
14475 @[ -f ./intl/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 $(HOST_EXPORTS) \
14479 for flag in $(EXTRA_HOST_FLAGS) ; do \
14480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14481 done; \
14482 echo "Doing clean in intl" ; \
14483 (cd $(HOST_SUBDIR)/intl && \
14484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14486 "RANLIB=$${RANLIB}" \
14487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14488 clean) \
14489 || exit 1
14491 @endif intl
14493 .PHONY: maybe-distclean-intl distclean-intl
14494 maybe-distclean-intl:
14495 @if intl
14496 maybe-distclean-intl: distclean-intl
14498 distclean-intl:
14499 @[ -f ./intl/Makefile ] || exit 0; \
14500 r=`${PWD_COMMAND}`; export r; \
14501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14502 $(HOST_EXPORTS) \
14503 for flag in $(EXTRA_HOST_FLAGS) ; do \
14504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14505 done; \
14506 echo "Doing distclean in intl" ; \
14507 (cd $(HOST_SUBDIR)/intl && \
14508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14510 "RANLIB=$${RANLIB}" \
14511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14512 distclean) \
14513 || exit 1
14515 @endif intl
14517 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14518 maybe-maintainer-clean-intl:
14519 @if intl
14520 maybe-maintainer-clean-intl: maintainer-clean-intl
14522 maintainer-clean-intl:
14523 @[ -f ./intl/Makefile ] || exit 0; \
14524 r=`${PWD_COMMAND}`; export r; \
14525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14526 $(HOST_EXPORTS) \
14527 for flag in $(EXTRA_HOST_FLAGS) ; do \
14528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14529 done; \
14530 echo "Doing maintainer-clean in intl" ; \
14531 (cd $(HOST_SUBDIR)/intl && \
14532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14534 "RANLIB=$${RANLIB}" \
14535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14536 maintainer-clean) \
14537 || exit 1
14539 @endif intl
14543 .PHONY: configure-tcl maybe-configure-tcl
14544 maybe-configure-tcl:
14545 @if tcl
14546 maybe-configure-tcl: configure-tcl
14547 configure-tcl:
14548 @$(unstage)
14549 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 $(HOST_EXPORTS) \
14554 echo Configuring in $(HOST_SUBDIR)/tcl; \
14555 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14556 case $(srcdir) in \
14557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14558 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14560 esac; \
14561 srcdiroption="--srcdir=$${topdir}/tcl"; \
14562 libsrcdir="$$s/tcl"; \
14563 $(SHELL) $${libsrcdir}/configure \
14564 $(HOST_CONFIGARGS) $${srcdiroption} \
14565 || exit 1
14566 @endif tcl
14572 .PHONY: all-tcl maybe-all-tcl
14573 maybe-all-tcl:
14574 @if tcl
14575 TARGET-tcl=all
14576 maybe-all-tcl: all-tcl
14577 all-tcl: configure-tcl
14578 @$(unstage)
14579 @r=`${PWD_COMMAND}`; export r; \
14580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14581 $(HOST_EXPORTS) \
14582 (cd $(HOST_SUBDIR)/tcl && \
14583 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14584 @endif tcl
14589 .PHONY: check-tcl maybe-check-tcl
14590 maybe-check-tcl:
14591 @if tcl
14592 maybe-check-tcl: check-tcl
14594 check-tcl:
14595 @$(unstage)
14596 @r=`${PWD_COMMAND}`; export r; \
14597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14598 $(HOST_EXPORTS) \
14599 (cd $(HOST_SUBDIR)/tcl && \
14600 $(MAKE) $(FLAGS_TO_PASS) check)
14602 @endif tcl
14604 .PHONY: install-tcl maybe-install-tcl
14605 maybe-install-tcl:
14606 @if tcl
14607 maybe-install-tcl: install-tcl
14609 install-tcl: installdirs
14610 @$(unstage)
14611 @r=`${PWD_COMMAND}`; export r; \
14612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14613 $(HOST_EXPORTS) \
14614 (cd $(HOST_SUBDIR)/tcl && \
14615 $(MAKE) $(FLAGS_TO_PASS) install)
14617 @endif tcl
14619 # Other targets (info, dvi, etc.)
14621 .PHONY: maybe-info-tcl info-tcl
14622 maybe-info-tcl:
14623 @if tcl
14624 maybe-info-tcl: info-tcl
14626 info-tcl: \
14627 configure-tcl
14628 @$(unstage)
14629 @[ -f ./tcl/Makefile ] || exit 0; \
14630 r=`${PWD_COMMAND}`; export r; \
14631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14632 $(HOST_EXPORTS) \
14633 for flag in $(EXTRA_HOST_FLAGS) ; do \
14634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14635 done; \
14636 echo "Doing info in tcl" ; \
14637 (cd $(HOST_SUBDIR)/tcl && \
14638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14640 "RANLIB=$${RANLIB}" \
14641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14642 info) \
14643 || exit 1
14645 @endif tcl
14647 .PHONY: maybe-dvi-tcl dvi-tcl
14648 maybe-dvi-tcl:
14649 @if tcl
14650 maybe-dvi-tcl: dvi-tcl
14652 dvi-tcl: \
14653 configure-tcl
14654 @$(unstage)
14655 @[ -f ./tcl/Makefile ] || exit 0; \
14656 r=`${PWD_COMMAND}`; export r; \
14657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14658 $(HOST_EXPORTS) \
14659 for flag in $(EXTRA_HOST_FLAGS) ; do \
14660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14661 done; \
14662 echo "Doing dvi in tcl" ; \
14663 (cd $(HOST_SUBDIR)/tcl && \
14664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14666 "RANLIB=$${RANLIB}" \
14667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14668 dvi) \
14669 || exit 1
14671 @endif tcl
14673 .PHONY: maybe-html-tcl html-tcl
14674 maybe-html-tcl:
14675 @if tcl
14676 maybe-html-tcl: html-tcl
14678 html-tcl: \
14679 configure-tcl
14680 @$(unstage)
14681 @[ -f ./tcl/Makefile ] || exit 0; \
14682 r=`${PWD_COMMAND}`; export r; \
14683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14684 $(HOST_EXPORTS) \
14685 for flag in $(EXTRA_HOST_FLAGS) ; do \
14686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14687 done; \
14688 echo "Doing html in tcl" ; \
14689 (cd $(HOST_SUBDIR)/tcl && \
14690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14692 "RANLIB=$${RANLIB}" \
14693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14694 html) \
14695 || exit 1
14697 @endif tcl
14699 .PHONY: maybe-TAGS-tcl TAGS-tcl
14700 maybe-TAGS-tcl:
14701 @if tcl
14702 maybe-TAGS-tcl: TAGS-tcl
14704 TAGS-tcl: \
14705 configure-tcl
14706 @$(unstage)
14707 @[ -f ./tcl/Makefile ] || exit 0; \
14708 r=`${PWD_COMMAND}`; export r; \
14709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14710 $(HOST_EXPORTS) \
14711 for flag in $(EXTRA_HOST_FLAGS) ; do \
14712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14713 done; \
14714 echo "Doing TAGS in tcl" ; \
14715 (cd $(HOST_SUBDIR)/tcl && \
14716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14718 "RANLIB=$${RANLIB}" \
14719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14720 TAGS) \
14721 || exit 1
14723 @endif tcl
14725 .PHONY: maybe-install-info-tcl install-info-tcl
14726 maybe-install-info-tcl:
14727 @if tcl
14728 maybe-install-info-tcl: install-info-tcl
14730 install-info-tcl: \
14731 configure-tcl \
14732 info-tcl
14733 @$(unstage)
14734 @[ -f ./tcl/Makefile ] || exit 0; \
14735 r=`${PWD_COMMAND}`; export r; \
14736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14737 $(HOST_EXPORTS) \
14738 for flag in $(EXTRA_HOST_FLAGS) ; do \
14739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14740 done; \
14741 echo "Doing install-info in tcl" ; \
14742 (cd $(HOST_SUBDIR)/tcl && \
14743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14745 "RANLIB=$${RANLIB}" \
14746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14747 install-info) \
14748 || exit 1
14750 @endif tcl
14752 .PHONY: maybe-installcheck-tcl installcheck-tcl
14753 maybe-installcheck-tcl:
14754 @if tcl
14755 maybe-installcheck-tcl: installcheck-tcl
14757 installcheck-tcl: \
14758 configure-tcl
14759 @$(unstage)
14760 @[ -f ./tcl/Makefile ] || exit 0; \
14761 r=`${PWD_COMMAND}`; export r; \
14762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14763 $(HOST_EXPORTS) \
14764 for flag in $(EXTRA_HOST_FLAGS) ; do \
14765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766 done; \
14767 echo "Doing installcheck in tcl" ; \
14768 (cd $(HOST_SUBDIR)/tcl && \
14769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771 "RANLIB=$${RANLIB}" \
14772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773 installcheck) \
14774 || exit 1
14776 @endif tcl
14778 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14779 maybe-mostlyclean-tcl:
14780 @if tcl
14781 maybe-mostlyclean-tcl: mostlyclean-tcl
14783 # tcl doesn't support mostlyclean.
14784 mostlyclean-tcl:
14786 @endif tcl
14788 .PHONY: maybe-clean-tcl clean-tcl
14789 maybe-clean-tcl:
14790 @if tcl
14791 maybe-clean-tcl: clean-tcl
14793 clean-tcl:
14794 @$(unstage)
14795 @[ -f ./tcl/Makefile ] || exit 0; \
14796 r=`${PWD_COMMAND}`; export r; \
14797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14798 $(HOST_EXPORTS) \
14799 for flag in $(EXTRA_HOST_FLAGS) ; do \
14800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14801 done; \
14802 echo "Doing clean in tcl" ; \
14803 (cd $(HOST_SUBDIR)/tcl && \
14804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14806 "RANLIB=$${RANLIB}" \
14807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14808 clean) \
14809 || exit 1
14811 @endif tcl
14813 .PHONY: maybe-distclean-tcl distclean-tcl
14814 maybe-distclean-tcl:
14815 @if tcl
14816 maybe-distclean-tcl: distclean-tcl
14818 distclean-tcl:
14819 @$(unstage)
14820 @[ -f ./tcl/Makefile ] || exit 0; \
14821 r=`${PWD_COMMAND}`; export r; \
14822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14823 $(HOST_EXPORTS) \
14824 for flag in $(EXTRA_HOST_FLAGS) ; do \
14825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14826 done; \
14827 echo "Doing distclean in tcl" ; \
14828 (cd $(HOST_SUBDIR)/tcl && \
14829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14831 "RANLIB=$${RANLIB}" \
14832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14833 distclean) \
14834 || exit 1
14836 @endif tcl
14838 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14839 maybe-maintainer-clean-tcl:
14840 @if tcl
14841 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14843 maintainer-clean-tcl:
14844 @$(unstage)
14845 @[ -f ./tcl/Makefile ] || exit 0; \
14846 r=`${PWD_COMMAND}`; export r; \
14847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14848 $(HOST_EXPORTS) \
14849 for flag in $(EXTRA_HOST_FLAGS) ; do \
14850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14851 done; \
14852 echo "Doing maintainer-clean in tcl" ; \
14853 (cd $(HOST_SUBDIR)/tcl && \
14854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14856 "RANLIB=$${RANLIB}" \
14857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14858 maintainer-clean) \
14859 || exit 1
14861 @endif tcl
14865 .PHONY: configure-itcl maybe-configure-itcl
14866 maybe-configure-itcl:
14867 @if itcl
14868 maybe-configure-itcl: configure-itcl
14869 configure-itcl:
14870 @$(unstage)
14871 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14873 r=`${PWD_COMMAND}`; export r; \
14874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14875 $(HOST_EXPORTS) \
14876 echo Configuring in $(HOST_SUBDIR)/itcl; \
14877 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14878 case $(srcdir) in \
14879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14880 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14882 esac; \
14883 srcdiroption="--srcdir=$${topdir}/itcl"; \
14884 libsrcdir="$$s/itcl"; \
14885 $(SHELL) $${libsrcdir}/configure \
14886 $(HOST_CONFIGARGS) $${srcdiroption} \
14887 || exit 1
14888 @endif itcl
14894 .PHONY: all-itcl maybe-all-itcl
14895 maybe-all-itcl:
14896 @if itcl
14897 TARGET-itcl=all
14898 maybe-all-itcl: all-itcl
14899 all-itcl: configure-itcl
14900 @$(unstage)
14901 @r=`${PWD_COMMAND}`; export r; \
14902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14903 $(HOST_EXPORTS) \
14904 (cd $(HOST_SUBDIR)/itcl && \
14905 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14906 @endif itcl
14911 .PHONY: check-itcl maybe-check-itcl
14912 maybe-check-itcl:
14913 @if itcl
14914 maybe-check-itcl: check-itcl
14916 check-itcl:
14917 @$(unstage)
14918 @r=`${PWD_COMMAND}`; export r; \
14919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14920 $(HOST_EXPORTS) \
14921 (cd $(HOST_SUBDIR)/itcl && \
14922 $(MAKE) $(FLAGS_TO_PASS) check)
14924 @endif itcl
14926 .PHONY: install-itcl maybe-install-itcl
14927 maybe-install-itcl:
14928 @if itcl
14929 maybe-install-itcl: install-itcl
14931 install-itcl: installdirs
14932 @$(unstage)
14933 @r=`${PWD_COMMAND}`; export r; \
14934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14935 $(HOST_EXPORTS) \
14936 (cd $(HOST_SUBDIR)/itcl && \
14937 $(MAKE) $(FLAGS_TO_PASS) install)
14939 @endif itcl
14941 # Other targets (info, dvi, etc.)
14943 .PHONY: maybe-info-itcl info-itcl
14944 maybe-info-itcl:
14945 @if itcl
14946 maybe-info-itcl: info-itcl
14948 info-itcl: \
14949 configure-itcl
14950 @$(unstage)
14951 @[ -f ./itcl/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954 $(HOST_EXPORTS) \
14955 for flag in $(EXTRA_HOST_FLAGS) ; do \
14956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14957 done; \
14958 echo "Doing info in itcl" ; \
14959 (cd $(HOST_SUBDIR)/itcl && \
14960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14962 "RANLIB=$${RANLIB}" \
14963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14964 info) \
14965 || exit 1
14967 @endif itcl
14969 .PHONY: maybe-dvi-itcl dvi-itcl
14970 maybe-dvi-itcl:
14971 @if itcl
14972 maybe-dvi-itcl: dvi-itcl
14974 dvi-itcl: \
14975 configure-itcl
14976 @$(unstage)
14977 @[ -f ./itcl/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(HOST_EXPORTS) \
14981 for flag in $(EXTRA_HOST_FLAGS) ; do \
14982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 done; \
14984 echo "Doing dvi in itcl" ; \
14985 (cd $(HOST_SUBDIR)/itcl && \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14988 "RANLIB=$${RANLIB}" \
14989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14990 dvi) \
14991 || exit 1
14993 @endif itcl
14995 .PHONY: maybe-html-itcl html-itcl
14996 maybe-html-itcl:
14997 @if itcl
14998 maybe-html-itcl: html-itcl
15000 html-itcl: \
15001 configure-itcl
15002 @$(unstage)
15003 @[ -f ./itcl/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(HOST_EXPORTS) \
15007 for flag in $(EXTRA_HOST_FLAGS) ; do \
15008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15009 done; \
15010 echo "Doing html in itcl" ; \
15011 (cd $(HOST_SUBDIR)/itcl && \
15012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15014 "RANLIB=$${RANLIB}" \
15015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15016 html) \
15017 || exit 1
15019 @endif itcl
15021 .PHONY: maybe-TAGS-itcl TAGS-itcl
15022 maybe-TAGS-itcl:
15023 @if itcl
15024 maybe-TAGS-itcl: TAGS-itcl
15026 TAGS-itcl: \
15027 configure-itcl
15028 @$(unstage)
15029 @[ -f ./itcl/Makefile ] || exit 0; \
15030 r=`${PWD_COMMAND}`; export r; \
15031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15032 $(HOST_EXPORTS) \
15033 for flag in $(EXTRA_HOST_FLAGS) ; do \
15034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15035 done; \
15036 echo "Doing TAGS in itcl" ; \
15037 (cd $(HOST_SUBDIR)/itcl && \
15038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15040 "RANLIB=$${RANLIB}" \
15041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15042 TAGS) \
15043 || exit 1
15045 @endif itcl
15047 .PHONY: maybe-install-info-itcl install-info-itcl
15048 maybe-install-info-itcl:
15049 @if itcl
15050 maybe-install-info-itcl: install-info-itcl
15052 install-info-itcl: \
15053 configure-itcl \
15054 info-itcl
15055 @$(unstage)
15056 @[ -f ./itcl/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 $(HOST_EXPORTS) \
15060 for flag in $(EXTRA_HOST_FLAGS) ; do \
15061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15062 done; \
15063 echo "Doing install-info in itcl" ; \
15064 (cd $(HOST_SUBDIR)/itcl && \
15065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15067 "RANLIB=$${RANLIB}" \
15068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15069 install-info) \
15070 || exit 1
15072 @endif itcl
15074 .PHONY: maybe-installcheck-itcl installcheck-itcl
15075 maybe-installcheck-itcl:
15076 @if itcl
15077 maybe-installcheck-itcl: installcheck-itcl
15079 installcheck-itcl: \
15080 configure-itcl
15081 @$(unstage)
15082 @[ -f ./itcl/Makefile ] || exit 0; \
15083 r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 $(HOST_EXPORTS) \
15086 for flag in $(EXTRA_HOST_FLAGS) ; do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15088 done; \
15089 echo "Doing installcheck in itcl" ; \
15090 (cd $(HOST_SUBDIR)/itcl && \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15095 installcheck) \
15096 || exit 1
15098 @endif itcl
15100 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15101 maybe-mostlyclean-itcl:
15102 @if itcl
15103 maybe-mostlyclean-itcl: mostlyclean-itcl
15105 mostlyclean-itcl:
15106 @$(unstage)
15107 @[ -f ./itcl/Makefile ] || exit 0; \
15108 r=`${PWD_COMMAND}`; export r; \
15109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15110 $(HOST_EXPORTS) \
15111 for flag in $(EXTRA_HOST_FLAGS) ; do \
15112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15113 done; \
15114 echo "Doing mostlyclean in itcl" ; \
15115 (cd $(HOST_SUBDIR)/itcl && \
15116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15118 "RANLIB=$${RANLIB}" \
15119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15120 mostlyclean) \
15121 || exit 1
15123 @endif itcl
15125 .PHONY: maybe-clean-itcl clean-itcl
15126 maybe-clean-itcl:
15127 @if itcl
15128 maybe-clean-itcl: clean-itcl
15130 clean-itcl:
15131 @$(unstage)
15132 @[ -f ./itcl/Makefile ] || exit 0; \
15133 r=`${PWD_COMMAND}`; export r; \
15134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15135 $(HOST_EXPORTS) \
15136 for flag in $(EXTRA_HOST_FLAGS) ; do \
15137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15138 done; \
15139 echo "Doing clean in itcl" ; \
15140 (cd $(HOST_SUBDIR)/itcl && \
15141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15143 "RANLIB=$${RANLIB}" \
15144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15145 clean) \
15146 || exit 1
15148 @endif itcl
15150 .PHONY: maybe-distclean-itcl distclean-itcl
15151 maybe-distclean-itcl:
15152 @if itcl
15153 maybe-distclean-itcl: distclean-itcl
15155 distclean-itcl:
15156 @$(unstage)
15157 @[ -f ./itcl/Makefile ] || exit 0; \
15158 r=`${PWD_COMMAND}`; export r; \
15159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15160 $(HOST_EXPORTS) \
15161 for flag in $(EXTRA_HOST_FLAGS) ; do \
15162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15163 done; \
15164 echo "Doing distclean in itcl" ; \
15165 (cd $(HOST_SUBDIR)/itcl && \
15166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15168 "RANLIB=$${RANLIB}" \
15169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15170 distclean) \
15171 || exit 1
15173 @endif itcl
15175 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15176 maybe-maintainer-clean-itcl:
15177 @if itcl
15178 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15180 maintainer-clean-itcl:
15181 @$(unstage)
15182 @[ -f ./itcl/Makefile ] || exit 0; \
15183 r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 $(HOST_EXPORTS) \
15186 for flag in $(EXTRA_HOST_FLAGS) ; do \
15187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15188 done; \
15189 echo "Doing maintainer-clean in itcl" ; \
15190 (cd $(HOST_SUBDIR)/itcl && \
15191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15193 "RANLIB=$${RANLIB}" \
15194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15195 maintainer-clean) \
15196 || exit 1
15198 @endif itcl
15202 .PHONY: configure-ld maybe-configure-ld
15203 maybe-configure-ld:
15204 @if ld
15205 maybe-configure-ld: configure-ld
15206 configure-ld:
15207 @test -f stage_last && exit 0; \
15208 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15210 r=`${PWD_COMMAND}`; export r; \
15211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15212 $(HOST_EXPORTS) \
15213 echo Configuring in $(HOST_SUBDIR)/ld; \
15214 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15215 case $(srcdir) in \
15216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15217 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15219 esac; \
15220 srcdiroption="--srcdir=$${topdir}/ld"; \
15221 libsrcdir="$$s/ld"; \
15222 $(SHELL) $${libsrcdir}/configure \
15223 $(HOST_CONFIGARGS) $${srcdiroption} \
15224 || exit 1
15225 @endif ld
15229 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15230 maybe-configure-stage1-ld:
15231 @if ld-bootstrap
15232 maybe-configure-stage1-ld: configure-stage1-ld
15233 configure-stage1-ld:
15234 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15235 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15236 r=`${PWD_COMMAND}`; export r; \
15237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15238 $(HOST_EXPORTS) \
15239 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15240 cd $(HOST_SUBDIR)/ld || exit 1; \
15241 case $(srcdir) in \
15242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15243 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15245 esac; \
15246 srcdiroption="--srcdir=$${topdir}/ld"; \
15247 libsrcdir="$$s/ld"; \
15248 $(SHELL) $${libsrcdir}/configure \
15249 $(HOST_CONFIGARGS) $${srcdiroption} \
15250 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15251 @endif ld-bootstrap
15253 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15254 maybe-configure-stage2-ld:
15255 @if ld-bootstrap
15256 maybe-configure-stage2-ld: configure-stage2-ld
15257 configure-stage2-ld:
15258 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15259 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15260 r=`${PWD_COMMAND}`; export r; \
15261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15262 $(HOST_EXPORTS) \
15263 $(POSTSTAGE1_HOST_EXPORTS) \
15264 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15265 cd $(HOST_SUBDIR)/ld || exit 1; \
15266 case $(srcdir) in \
15267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15268 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15270 esac; \
15271 srcdiroption="--srcdir=$${topdir}/ld"; \
15272 libsrcdir="$$s/ld"; \
15273 $(SHELL) $${libsrcdir}/configure \
15274 $(HOST_CONFIGARGS) $${srcdiroption} \
15275 @stage2_werror_flag@
15276 @endif ld-bootstrap
15278 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15279 maybe-configure-stage3-ld:
15280 @if ld-bootstrap
15281 maybe-configure-stage3-ld: configure-stage3-ld
15282 configure-stage3-ld:
15283 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15284 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15285 r=`${PWD_COMMAND}`; export r; \
15286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15287 $(HOST_EXPORTS) \
15288 $(POSTSTAGE1_HOST_EXPORTS) \
15289 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15290 cd $(HOST_SUBDIR)/ld || exit 1; \
15291 case $(srcdir) in \
15292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15293 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15295 esac; \
15296 srcdiroption="--srcdir=$${topdir}/ld"; \
15297 libsrcdir="$$s/ld"; \
15298 $(SHELL) $${libsrcdir}/configure \
15299 $(HOST_CONFIGARGS) $${srcdiroption} \
15300 @stage2_werror_flag@
15301 @endif ld-bootstrap
15303 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15304 maybe-configure-stage4-ld:
15305 @if ld-bootstrap
15306 maybe-configure-stage4-ld: configure-stage4-ld
15307 configure-stage4-ld:
15308 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15309 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15310 r=`${PWD_COMMAND}`; export r; \
15311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15312 $(HOST_EXPORTS) \
15313 $(POSTSTAGE1_HOST_EXPORTS) \
15314 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15315 cd $(HOST_SUBDIR)/ld || exit 1; \
15316 case $(srcdir) in \
15317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15318 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15320 esac; \
15321 srcdiroption="--srcdir=$${topdir}/ld"; \
15322 libsrcdir="$$s/ld"; \
15323 $(SHELL) $${libsrcdir}/configure \
15324 $(HOST_CONFIGARGS) $${srcdiroption} \
15325 @stage2_werror_flag@
15326 @endif ld-bootstrap
15328 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15329 maybe-configure-stageprofile-ld:
15330 @if ld-bootstrap
15331 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15332 configure-stageprofile-ld:
15333 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15334 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15335 r=`${PWD_COMMAND}`; export r; \
15336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 $(HOST_EXPORTS) \
15338 $(POSTSTAGE1_HOST_EXPORTS) \
15339 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15340 cd $(HOST_SUBDIR)/ld || exit 1; \
15341 case $(srcdir) in \
15342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15343 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15345 esac; \
15346 srcdiroption="--srcdir=$${topdir}/ld"; \
15347 libsrcdir="$$s/ld"; \
15348 $(SHELL) $${libsrcdir}/configure \
15349 $(HOST_CONFIGARGS) $${srcdiroption} \
15350 @stage2_werror_flag@
15351 @endif ld-bootstrap
15353 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15354 maybe-configure-stagefeedback-ld:
15355 @if ld-bootstrap
15356 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15357 configure-stagefeedback-ld:
15358 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15359 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15360 r=`${PWD_COMMAND}`; export r; \
15361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15362 $(HOST_EXPORTS) \
15363 $(POSTSTAGE1_HOST_EXPORTS) \
15364 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15365 cd $(HOST_SUBDIR)/ld || exit 1; \
15366 case $(srcdir) in \
15367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15368 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15370 esac; \
15371 srcdiroption="--srcdir=$${topdir}/ld"; \
15372 libsrcdir="$$s/ld"; \
15373 $(SHELL) $${libsrcdir}/configure \
15374 $(HOST_CONFIGARGS) $${srcdiroption} \
15375 @stage2_werror_flag@
15376 @endif ld-bootstrap
15382 .PHONY: all-ld maybe-all-ld
15383 maybe-all-ld:
15384 @if ld
15385 TARGET-ld=all
15386 maybe-all-ld: all-ld
15387 all-ld: configure-ld
15388 @test -f stage_last && exit 0; \
15389 r=`${PWD_COMMAND}`; export r; \
15390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15391 $(HOST_EXPORTS) \
15392 (cd $(HOST_SUBDIR)/ld && \
15393 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15394 @endif ld
15398 .PHONY: all-stage1-ld maybe-all-stage1-ld
15399 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15400 maybe-all-stage1-ld:
15401 maybe-clean-stage1-ld:
15402 @if ld-bootstrap
15403 maybe-all-stage1-ld: all-stage1-ld
15404 all-stage1: all-stage1-ld
15405 TARGET-stage1-ld = $(TARGET-ld)
15406 all-stage1-ld: configure-stage1-ld
15407 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15408 @r=`${PWD_COMMAND}`; export r; \
15409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15410 $(HOST_EXPORTS) \
15411 cd $(HOST_SUBDIR)/ld && \
15412 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15413 $(TARGET-stage1-ld)
15415 maybe-clean-stage1-ld: clean-stage1-ld
15416 clean-stage1: clean-stage1-ld
15417 clean-stage1-ld:
15418 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15419 || exit 0 ; \
15420 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15421 cd $(HOST_SUBDIR)/ld && \
15422 $(MAKE) $(FLAGS_TO_PASS) \
15423 CFLAGS="$(STAGE1_CFLAGS)" clean
15424 @endif ld-bootstrap
15427 .PHONY: all-stage2-ld maybe-all-stage2-ld
15428 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15429 maybe-all-stage2-ld:
15430 maybe-clean-stage2-ld:
15431 @if ld-bootstrap
15432 maybe-all-stage2-ld: all-stage2-ld
15433 all-stage2: all-stage2-ld
15434 TARGET-stage2-ld = $(TARGET-ld)
15435 all-stage2-ld: configure-stage2-ld
15436 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15437 @r=`${PWD_COMMAND}`; export r; \
15438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15439 $(HOST_EXPORTS) \
15440 $(POSTSTAGE1_HOST_EXPORTS) \
15441 cd $(HOST_SUBDIR)/ld && \
15442 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15443 $(TARGET-stage2-ld)
15445 maybe-clean-stage2-ld: clean-stage2-ld
15446 clean-stage2: clean-stage2-ld
15447 clean-stage2-ld:
15448 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15449 || exit 0 ; \
15450 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15451 cd $(HOST_SUBDIR)/ld && \
15452 $(MAKE) $(FLAGS_TO_PASS) \
15453 $(POSTSTAGE1_FLAGS_TO_PASS) \
15454 clean
15455 @endif ld-bootstrap
15458 .PHONY: all-stage3-ld maybe-all-stage3-ld
15459 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15460 maybe-all-stage3-ld:
15461 maybe-clean-stage3-ld:
15462 @if ld-bootstrap
15463 maybe-all-stage3-ld: all-stage3-ld
15464 all-stage3: all-stage3-ld
15465 TARGET-stage3-ld = $(TARGET-ld)
15466 all-stage3-ld: configure-stage3-ld
15467 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15468 @r=`${PWD_COMMAND}`; export r; \
15469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15470 $(HOST_EXPORTS) \
15471 $(POSTSTAGE1_HOST_EXPORTS) \
15472 cd $(HOST_SUBDIR)/ld && \
15473 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15474 $(TARGET-stage3-ld)
15476 maybe-clean-stage3-ld: clean-stage3-ld
15477 clean-stage3: clean-stage3-ld
15478 clean-stage3-ld:
15479 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15480 || exit 0 ; \
15481 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15482 cd $(HOST_SUBDIR)/ld && \
15483 $(MAKE) $(FLAGS_TO_PASS) \
15484 $(POSTSTAGE1_FLAGS_TO_PASS) \
15485 clean
15486 @endif ld-bootstrap
15489 .PHONY: all-stage4-ld maybe-all-stage4-ld
15490 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15491 maybe-all-stage4-ld:
15492 maybe-clean-stage4-ld:
15493 @if ld-bootstrap
15494 maybe-all-stage4-ld: all-stage4-ld
15495 all-stage4: all-stage4-ld
15496 TARGET-stage4-ld = $(TARGET-ld)
15497 all-stage4-ld: configure-stage4-ld
15498 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15499 @r=`${PWD_COMMAND}`; export r; \
15500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15501 $(HOST_EXPORTS) \
15502 $(POSTSTAGE1_HOST_EXPORTS) \
15503 cd $(HOST_SUBDIR)/ld && \
15504 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15505 $(TARGET-stage4-ld)
15507 maybe-clean-stage4-ld: clean-stage4-ld
15508 clean-stage4: clean-stage4-ld
15509 clean-stage4-ld:
15510 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15511 || exit 0 ; \
15512 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15513 cd $(HOST_SUBDIR)/ld && \
15514 $(MAKE) $(FLAGS_TO_PASS) \
15515 $(POSTSTAGE1_FLAGS_TO_PASS) \
15516 clean
15517 @endif ld-bootstrap
15520 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15521 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15522 maybe-all-stageprofile-ld:
15523 maybe-clean-stageprofile-ld:
15524 @if ld-bootstrap
15525 maybe-all-stageprofile-ld: all-stageprofile-ld
15526 all-stageprofile: all-stageprofile-ld
15527 TARGET-stageprofile-ld = $(TARGET-ld)
15528 all-stageprofile-ld: configure-stageprofile-ld
15529 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15530 @r=`${PWD_COMMAND}`; export r; \
15531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 $(HOST_EXPORTS) \
15533 $(POSTSTAGE1_HOST_EXPORTS) \
15534 cd $(HOST_SUBDIR)/ld && \
15535 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15536 $(TARGET-stageprofile-ld)
15538 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15539 clean-stageprofile: clean-stageprofile-ld
15540 clean-stageprofile-ld:
15541 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15542 || exit 0 ; \
15543 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15544 cd $(HOST_SUBDIR)/ld && \
15545 $(MAKE) $(FLAGS_TO_PASS) \
15546 $(POSTSTAGE1_FLAGS_TO_PASS) \
15547 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15548 @endif ld-bootstrap
15551 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15552 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15553 maybe-all-stagefeedback-ld:
15554 maybe-clean-stagefeedback-ld:
15555 @if ld-bootstrap
15556 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15557 all-stagefeedback: all-stagefeedback-ld
15558 TARGET-stagefeedback-ld = $(TARGET-ld)
15559 all-stagefeedback-ld: configure-stagefeedback-ld
15560 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15561 @r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(HOST_EXPORTS) \
15564 $(POSTSTAGE1_HOST_EXPORTS) \
15565 cd $(HOST_SUBDIR)/ld && \
15566 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15567 $(TARGET-stagefeedback-ld)
15569 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15570 clean-stagefeedback: clean-stagefeedback-ld
15571 clean-stagefeedback-ld:
15572 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15573 || exit 0 ; \
15574 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15575 cd $(HOST_SUBDIR)/ld && \
15576 $(MAKE) $(FLAGS_TO_PASS) \
15577 $(POSTSTAGE1_FLAGS_TO_PASS) \
15578 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15579 @endif ld-bootstrap
15585 .PHONY: check-ld maybe-check-ld
15586 maybe-check-ld:
15587 @if ld
15588 maybe-check-ld: check-ld
15590 check-ld:
15591 @$(unstage)
15592 @r=`${PWD_COMMAND}`; export r; \
15593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15594 $(HOST_EXPORTS) \
15595 (cd $(HOST_SUBDIR)/ld && \
15596 $(MAKE) $(FLAGS_TO_PASS) check)
15598 @endif ld
15600 .PHONY: install-ld maybe-install-ld
15601 maybe-install-ld:
15602 @if ld
15603 maybe-install-ld: install-ld
15605 install-ld: installdirs
15606 @$(unstage)
15607 @r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 $(HOST_EXPORTS) \
15610 (cd $(HOST_SUBDIR)/ld && \
15611 $(MAKE) $(FLAGS_TO_PASS) install)
15613 @endif ld
15615 # Other targets (info, dvi, etc.)
15617 .PHONY: maybe-info-ld info-ld
15618 maybe-info-ld:
15619 @if ld
15620 maybe-info-ld: info-ld
15622 info-ld: \
15623 configure-ld
15624 @[ -f ./ld/Makefile ] || exit 0; \
15625 r=`${PWD_COMMAND}`; export r; \
15626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15627 $(HOST_EXPORTS) \
15628 for flag in $(EXTRA_HOST_FLAGS) ; do \
15629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15630 done; \
15631 echo "Doing info in ld" ; \
15632 (cd $(HOST_SUBDIR)/ld && \
15633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15635 "RANLIB=$${RANLIB}" \
15636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15637 info) \
15638 || exit 1
15640 @endif ld
15642 .PHONY: maybe-dvi-ld dvi-ld
15643 maybe-dvi-ld:
15644 @if ld
15645 maybe-dvi-ld: dvi-ld
15647 dvi-ld: \
15648 configure-ld
15649 @[ -f ./ld/Makefile ] || exit 0; \
15650 r=`${PWD_COMMAND}`; export r; \
15651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15652 $(HOST_EXPORTS) \
15653 for flag in $(EXTRA_HOST_FLAGS) ; do \
15654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15655 done; \
15656 echo "Doing dvi in ld" ; \
15657 (cd $(HOST_SUBDIR)/ld && \
15658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15660 "RANLIB=$${RANLIB}" \
15661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15662 dvi) \
15663 || exit 1
15665 @endif ld
15667 .PHONY: maybe-html-ld html-ld
15668 maybe-html-ld:
15669 @if ld
15670 maybe-html-ld: html-ld
15672 html-ld: \
15673 configure-ld
15674 @[ -f ./ld/Makefile ] || exit 0; \
15675 r=`${PWD_COMMAND}`; export r; \
15676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15677 $(HOST_EXPORTS) \
15678 for flag in $(EXTRA_HOST_FLAGS) ; do \
15679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15680 done; \
15681 echo "Doing html in ld" ; \
15682 (cd $(HOST_SUBDIR)/ld && \
15683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15685 "RANLIB=$${RANLIB}" \
15686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15687 html) \
15688 || exit 1
15690 @endif ld
15692 .PHONY: maybe-TAGS-ld TAGS-ld
15693 maybe-TAGS-ld:
15694 @if ld
15695 maybe-TAGS-ld: TAGS-ld
15697 TAGS-ld: \
15698 configure-ld
15699 @[ -f ./ld/Makefile ] || exit 0; \
15700 r=`${PWD_COMMAND}`; export r; \
15701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15702 $(HOST_EXPORTS) \
15703 for flag in $(EXTRA_HOST_FLAGS) ; do \
15704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15705 done; \
15706 echo "Doing TAGS in ld" ; \
15707 (cd $(HOST_SUBDIR)/ld && \
15708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15710 "RANLIB=$${RANLIB}" \
15711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15712 TAGS) \
15713 || exit 1
15715 @endif ld
15717 .PHONY: maybe-install-info-ld install-info-ld
15718 maybe-install-info-ld:
15719 @if ld
15720 maybe-install-info-ld: install-info-ld
15722 install-info-ld: \
15723 configure-ld \
15724 info-ld
15725 @[ -f ./ld/Makefile ] || exit 0; \
15726 r=`${PWD_COMMAND}`; export r; \
15727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15728 $(HOST_EXPORTS) \
15729 for flag in $(EXTRA_HOST_FLAGS) ; do \
15730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15731 done; \
15732 echo "Doing install-info in ld" ; \
15733 (cd $(HOST_SUBDIR)/ld && \
15734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15736 "RANLIB=$${RANLIB}" \
15737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15738 install-info) \
15739 || exit 1
15741 @endif ld
15743 .PHONY: maybe-installcheck-ld installcheck-ld
15744 maybe-installcheck-ld:
15745 @if ld
15746 maybe-installcheck-ld: installcheck-ld
15748 installcheck-ld: \
15749 configure-ld
15750 @[ -f ./ld/Makefile ] || exit 0; \
15751 r=`${PWD_COMMAND}`; export r; \
15752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15753 $(HOST_EXPORTS) \
15754 for flag in $(EXTRA_HOST_FLAGS) ; do \
15755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15756 done; \
15757 echo "Doing installcheck in ld" ; \
15758 (cd $(HOST_SUBDIR)/ld && \
15759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15761 "RANLIB=$${RANLIB}" \
15762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15763 installcheck) \
15764 || exit 1
15766 @endif ld
15768 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15769 maybe-mostlyclean-ld:
15770 @if ld
15771 maybe-mostlyclean-ld: mostlyclean-ld
15773 mostlyclean-ld:
15774 @[ -f ./ld/Makefile ] || exit 0; \
15775 r=`${PWD_COMMAND}`; export r; \
15776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15777 $(HOST_EXPORTS) \
15778 for flag in $(EXTRA_HOST_FLAGS) ; do \
15779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15780 done; \
15781 echo "Doing mostlyclean in ld" ; \
15782 (cd $(HOST_SUBDIR)/ld && \
15783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15785 "RANLIB=$${RANLIB}" \
15786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15787 mostlyclean) \
15788 || exit 1
15790 @endif ld
15792 .PHONY: maybe-clean-ld clean-ld
15793 maybe-clean-ld:
15794 @if ld
15795 maybe-clean-ld: clean-ld
15797 clean-ld:
15798 @[ -f ./ld/Makefile ] || exit 0; \
15799 r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 $(HOST_EXPORTS) \
15802 for flag in $(EXTRA_HOST_FLAGS) ; do \
15803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15804 done; \
15805 echo "Doing clean in ld" ; \
15806 (cd $(HOST_SUBDIR)/ld && \
15807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15809 "RANLIB=$${RANLIB}" \
15810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15811 clean) \
15812 || exit 1
15814 @endif ld
15816 .PHONY: maybe-distclean-ld distclean-ld
15817 maybe-distclean-ld:
15818 @if ld
15819 maybe-distclean-ld: distclean-ld
15821 distclean-ld:
15822 @[ -f ./ld/Makefile ] || exit 0; \
15823 r=`${PWD_COMMAND}`; export r; \
15824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15825 $(HOST_EXPORTS) \
15826 for flag in $(EXTRA_HOST_FLAGS) ; do \
15827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15828 done; \
15829 echo "Doing distclean in ld" ; \
15830 (cd $(HOST_SUBDIR)/ld && \
15831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15833 "RANLIB=$${RANLIB}" \
15834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15835 distclean) \
15836 || exit 1
15838 @endif ld
15840 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15841 maybe-maintainer-clean-ld:
15842 @if ld
15843 maybe-maintainer-clean-ld: maintainer-clean-ld
15845 maintainer-clean-ld:
15846 @[ -f ./ld/Makefile ] || exit 0; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 for flag in $(EXTRA_HOST_FLAGS) ; do \
15851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15852 done; \
15853 echo "Doing maintainer-clean in ld" ; \
15854 (cd $(HOST_SUBDIR)/ld && \
15855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15857 "RANLIB=$${RANLIB}" \
15858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15859 maintainer-clean) \
15860 || exit 1
15862 @endif ld
15866 .PHONY: configure-libcpp maybe-configure-libcpp
15867 maybe-configure-libcpp:
15868 @if libcpp
15869 maybe-configure-libcpp: configure-libcpp
15870 configure-libcpp:
15871 @test -f stage_last && exit 0; \
15872 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15874 r=`${PWD_COMMAND}`; export r; \
15875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 $(HOST_EXPORTS) \
15877 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15878 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15879 case $(srcdir) in \
15880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15881 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15883 esac; \
15884 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15885 libsrcdir="$$s/libcpp"; \
15886 $(SHELL) $${libsrcdir}/configure \
15887 $(HOST_CONFIGARGS) $${srcdiroption} \
15888 || exit 1
15889 @endif libcpp
15893 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15894 maybe-configure-stage1-libcpp:
15895 @if libcpp-bootstrap
15896 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15897 configure-stage1-libcpp:
15898 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15899 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15900 r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 $(HOST_EXPORTS) \
15903 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15904 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15905 case $(srcdir) in \
15906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15907 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15909 esac; \
15910 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15911 libsrcdir="$$s/libcpp"; \
15912 $(SHELL) $${libsrcdir}/configure \
15913 $(HOST_CONFIGARGS) $${srcdiroption} \
15914 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15915 @endif libcpp-bootstrap
15917 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15918 maybe-configure-stage2-libcpp:
15919 @if libcpp-bootstrap
15920 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15921 configure-stage2-libcpp:
15922 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15923 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15924 r=`${PWD_COMMAND}`; export r; \
15925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15926 $(HOST_EXPORTS) \
15927 $(POSTSTAGE1_HOST_EXPORTS) \
15928 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15929 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15930 case $(srcdir) in \
15931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15932 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15934 esac; \
15935 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15936 libsrcdir="$$s/libcpp"; \
15937 $(SHELL) $${libsrcdir}/configure \
15938 $(HOST_CONFIGARGS) $${srcdiroption} \
15939 @stage2_werror_flag@
15940 @endif libcpp-bootstrap
15942 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15943 maybe-configure-stage3-libcpp:
15944 @if libcpp-bootstrap
15945 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15946 configure-stage3-libcpp:
15947 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15948 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15949 r=`${PWD_COMMAND}`; export r; \
15950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15951 $(HOST_EXPORTS) \
15952 $(POSTSTAGE1_HOST_EXPORTS) \
15953 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15954 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15955 case $(srcdir) in \
15956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15957 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15959 esac; \
15960 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15961 libsrcdir="$$s/libcpp"; \
15962 $(SHELL) $${libsrcdir}/configure \
15963 $(HOST_CONFIGARGS) $${srcdiroption} \
15964 @stage2_werror_flag@
15965 @endif libcpp-bootstrap
15967 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15968 maybe-configure-stage4-libcpp:
15969 @if libcpp-bootstrap
15970 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15971 configure-stage4-libcpp:
15972 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15973 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15974 r=`${PWD_COMMAND}`; export r; \
15975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15976 $(HOST_EXPORTS) \
15977 $(POSTSTAGE1_HOST_EXPORTS) \
15978 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15979 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15980 case $(srcdir) in \
15981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15982 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15984 esac; \
15985 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15986 libsrcdir="$$s/libcpp"; \
15987 $(SHELL) $${libsrcdir}/configure \
15988 $(HOST_CONFIGARGS) $${srcdiroption} \
15989 @stage2_werror_flag@
15990 @endif libcpp-bootstrap
15992 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15993 maybe-configure-stageprofile-libcpp:
15994 @if libcpp-bootstrap
15995 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15996 configure-stageprofile-libcpp:
15997 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15998 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15999 r=`${PWD_COMMAND}`; export r; \
16000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16001 $(HOST_EXPORTS) \
16002 $(POSTSTAGE1_HOST_EXPORTS) \
16003 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16004 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16005 case $(srcdir) in \
16006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16007 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16009 esac; \
16010 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16011 libsrcdir="$$s/libcpp"; \
16012 $(SHELL) $${libsrcdir}/configure \
16013 $(HOST_CONFIGARGS) $${srcdiroption} \
16014 @stage2_werror_flag@
16015 @endif libcpp-bootstrap
16017 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16018 maybe-configure-stagefeedback-libcpp:
16019 @if libcpp-bootstrap
16020 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16021 configure-stagefeedback-libcpp:
16022 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16023 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16024 r=`${PWD_COMMAND}`; export r; \
16025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16026 $(HOST_EXPORTS) \
16027 $(POSTSTAGE1_HOST_EXPORTS) \
16028 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16029 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16030 case $(srcdir) in \
16031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16032 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16034 esac; \
16035 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16036 libsrcdir="$$s/libcpp"; \
16037 $(SHELL) $${libsrcdir}/configure \
16038 $(HOST_CONFIGARGS) $${srcdiroption} \
16039 @stage2_werror_flag@
16040 @endif libcpp-bootstrap
16046 .PHONY: all-libcpp maybe-all-libcpp
16047 maybe-all-libcpp:
16048 @if libcpp
16049 TARGET-libcpp=all
16050 maybe-all-libcpp: all-libcpp
16051 all-libcpp: configure-libcpp
16052 @test -f stage_last && exit 0; \
16053 r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 $(HOST_EXPORTS) \
16056 (cd $(HOST_SUBDIR)/libcpp && \
16057 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16058 @endif libcpp
16062 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16063 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16064 maybe-all-stage1-libcpp:
16065 maybe-clean-stage1-libcpp:
16066 @if libcpp-bootstrap
16067 maybe-all-stage1-libcpp: all-stage1-libcpp
16068 all-stage1: all-stage1-libcpp
16069 TARGET-stage1-libcpp = $(TARGET-libcpp)
16070 all-stage1-libcpp: configure-stage1-libcpp
16071 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16072 @r=`${PWD_COMMAND}`; export r; \
16073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16074 $(HOST_EXPORTS) \
16075 cd $(HOST_SUBDIR)/libcpp && \
16076 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16077 $(TARGET-stage1-libcpp)
16079 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16080 clean-stage1: clean-stage1-libcpp
16081 clean-stage1-libcpp:
16082 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16083 || exit 0 ; \
16084 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16085 cd $(HOST_SUBDIR)/libcpp && \
16086 $(MAKE) $(FLAGS_TO_PASS) \
16087 CFLAGS="$(STAGE1_CFLAGS)" clean
16088 @endif libcpp-bootstrap
16091 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16092 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16093 maybe-all-stage2-libcpp:
16094 maybe-clean-stage2-libcpp:
16095 @if libcpp-bootstrap
16096 maybe-all-stage2-libcpp: all-stage2-libcpp
16097 all-stage2: all-stage2-libcpp
16098 TARGET-stage2-libcpp = $(TARGET-libcpp)
16099 all-stage2-libcpp: configure-stage2-libcpp
16100 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16101 @r=`${PWD_COMMAND}`; export r; \
16102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16103 $(HOST_EXPORTS) \
16104 $(POSTSTAGE1_HOST_EXPORTS) \
16105 cd $(HOST_SUBDIR)/libcpp && \
16106 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16107 $(TARGET-stage2-libcpp)
16109 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16110 clean-stage2: clean-stage2-libcpp
16111 clean-stage2-libcpp:
16112 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16113 || exit 0 ; \
16114 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16115 cd $(HOST_SUBDIR)/libcpp && \
16116 $(MAKE) $(FLAGS_TO_PASS) \
16117 $(POSTSTAGE1_FLAGS_TO_PASS) \
16118 clean
16119 @endif libcpp-bootstrap
16122 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16123 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16124 maybe-all-stage3-libcpp:
16125 maybe-clean-stage3-libcpp:
16126 @if libcpp-bootstrap
16127 maybe-all-stage3-libcpp: all-stage3-libcpp
16128 all-stage3: all-stage3-libcpp
16129 TARGET-stage3-libcpp = $(TARGET-libcpp)
16130 all-stage3-libcpp: configure-stage3-libcpp
16131 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16132 @r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16134 $(HOST_EXPORTS) \
16135 $(POSTSTAGE1_HOST_EXPORTS) \
16136 cd $(HOST_SUBDIR)/libcpp && \
16137 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16138 $(TARGET-stage3-libcpp)
16140 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16141 clean-stage3: clean-stage3-libcpp
16142 clean-stage3-libcpp:
16143 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16144 || exit 0 ; \
16145 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16146 cd $(HOST_SUBDIR)/libcpp && \
16147 $(MAKE) $(FLAGS_TO_PASS) \
16148 $(POSTSTAGE1_FLAGS_TO_PASS) \
16149 clean
16150 @endif libcpp-bootstrap
16153 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16154 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16155 maybe-all-stage4-libcpp:
16156 maybe-clean-stage4-libcpp:
16157 @if libcpp-bootstrap
16158 maybe-all-stage4-libcpp: all-stage4-libcpp
16159 all-stage4: all-stage4-libcpp
16160 TARGET-stage4-libcpp = $(TARGET-libcpp)
16161 all-stage4-libcpp: configure-stage4-libcpp
16162 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16163 @r=`${PWD_COMMAND}`; export r; \
16164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16165 $(HOST_EXPORTS) \
16166 $(POSTSTAGE1_HOST_EXPORTS) \
16167 cd $(HOST_SUBDIR)/libcpp && \
16168 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16169 $(TARGET-stage4-libcpp)
16171 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16172 clean-stage4: clean-stage4-libcpp
16173 clean-stage4-libcpp:
16174 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16175 || exit 0 ; \
16176 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16177 cd $(HOST_SUBDIR)/libcpp && \
16178 $(MAKE) $(FLAGS_TO_PASS) \
16179 $(POSTSTAGE1_FLAGS_TO_PASS) \
16180 clean
16181 @endif libcpp-bootstrap
16184 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16185 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16186 maybe-all-stageprofile-libcpp:
16187 maybe-clean-stageprofile-libcpp:
16188 @if libcpp-bootstrap
16189 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16190 all-stageprofile: all-stageprofile-libcpp
16191 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16192 all-stageprofile-libcpp: configure-stageprofile-libcpp
16193 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16194 @r=`${PWD_COMMAND}`; export r; \
16195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16196 $(HOST_EXPORTS) \
16197 $(POSTSTAGE1_HOST_EXPORTS) \
16198 cd $(HOST_SUBDIR)/libcpp && \
16199 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16200 $(TARGET-stageprofile-libcpp)
16202 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16203 clean-stageprofile: clean-stageprofile-libcpp
16204 clean-stageprofile-libcpp:
16205 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16206 || exit 0 ; \
16207 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16208 cd $(HOST_SUBDIR)/libcpp && \
16209 $(MAKE) $(FLAGS_TO_PASS) \
16210 $(POSTSTAGE1_FLAGS_TO_PASS) \
16211 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16212 @endif libcpp-bootstrap
16215 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16216 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16217 maybe-all-stagefeedback-libcpp:
16218 maybe-clean-stagefeedback-libcpp:
16219 @if libcpp-bootstrap
16220 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16221 all-stagefeedback: all-stagefeedback-libcpp
16222 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16223 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16224 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16225 @r=`${PWD_COMMAND}`; export r; \
16226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16227 $(HOST_EXPORTS) \
16228 $(POSTSTAGE1_HOST_EXPORTS) \
16229 cd $(HOST_SUBDIR)/libcpp && \
16230 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16231 $(TARGET-stagefeedback-libcpp)
16233 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16234 clean-stagefeedback: clean-stagefeedback-libcpp
16235 clean-stagefeedback-libcpp:
16236 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16237 || exit 0 ; \
16238 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16239 cd $(HOST_SUBDIR)/libcpp && \
16240 $(MAKE) $(FLAGS_TO_PASS) \
16241 $(POSTSTAGE1_FLAGS_TO_PASS) \
16242 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16243 @endif libcpp-bootstrap
16249 .PHONY: check-libcpp maybe-check-libcpp
16250 maybe-check-libcpp:
16251 @if libcpp
16252 maybe-check-libcpp: check-libcpp
16254 check-libcpp:
16255 @$(unstage)
16256 @r=`${PWD_COMMAND}`; export r; \
16257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16258 $(HOST_EXPORTS) \
16259 (cd $(HOST_SUBDIR)/libcpp && \
16260 $(MAKE) $(FLAGS_TO_PASS) check)
16262 @endif libcpp
16264 .PHONY: install-libcpp maybe-install-libcpp
16265 maybe-install-libcpp:
16266 @if libcpp
16267 maybe-install-libcpp: install-libcpp
16269 install-libcpp: installdirs
16270 @$(unstage)
16271 @r=`${PWD_COMMAND}`; export r; \
16272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16273 $(HOST_EXPORTS) \
16274 (cd $(HOST_SUBDIR)/libcpp && \
16275 $(MAKE) $(FLAGS_TO_PASS) install)
16277 @endif libcpp
16279 # Other targets (info, dvi, etc.)
16281 .PHONY: maybe-info-libcpp info-libcpp
16282 maybe-info-libcpp:
16283 @if libcpp
16284 maybe-info-libcpp: info-libcpp
16286 info-libcpp: \
16287 configure-libcpp
16288 @[ -f ./libcpp/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(HOST_EXPORTS) \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16294 done; \
16295 echo "Doing info in libcpp" ; \
16296 (cd $(HOST_SUBDIR)/libcpp && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16301 info) \
16302 || exit 1
16304 @endif libcpp
16306 .PHONY: maybe-dvi-libcpp dvi-libcpp
16307 maybe-dvi-libcpp:
16308 @if libcpp
16309 maybe-dvi-libcpp: dvi-libcpp
16311 dvi-libcpp: \
16312 configure-libcpp
16313 @[ -f ./libcpp/Makefile ] || exit 0; \
16314 r=`${PWD_COMMAND}`; export r; \
16315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16316 $(HOST_EXPORTS) \
16317 for flag in $(EXTRA_HOST_FLAGS) ; do \
16318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16319 done; \
16320 echo "Doing dvi in libcpp" ; \
16321 (cd $(HOST_SUBDIR)/libcpp && \
16322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16324 "RANLIB=$${RANLIB}" \
16325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16326 dvi) \
16327 || exit 1
16329 @endif libcpp
16331 .PHONY: maybe-html-libcpp html-libcpp
16332 maybe-html-libcpp:
16333 @if libcpp
16334 maybe-html-libcpp: html-libcpp
16336 html-libcpp: \
16337 configure-libcpp
16338 @[ -f ./libcpp/Makefile ] || exit 0; \
16339 r=`${PWD_COMMAND}`; export r; \
16340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16341 $(HOST_EXPORTS) \
16342 for flag in $(EXTRA_HOST_FLAGS) ; do \
16343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 done; \
16345 echo "Doing html in libcpp" ; \
16346 (cd $(HOST_SUBDIR)/libcpp && \
16347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16349 "RANLIB=$${RANLIB}" \
16350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16351 html) \
16352 || exit 1
16354 @endif libcpp
16356 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16357 maybe-TAGS-libcpp:
16358 @if libcpp
16359 maybe-TAGS-libcpp: TAGS-libcpp
16361 TAGS-libcpp: \
16362 configure-libcpp
16363 @[ -f ./libcpp/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing TAGS in libcpp" ; \
16371 (cd $(HOST_SUBDIR)/libcpp && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16376 TAGS) \
16377 || exit 1
16379 @endif libcpp
16381 .PHONY: maybe-install-info-libcpp install-info-libcpp
16382 maybe-install-info-libcpp:
16383 @if libcpp
16384 maybe-install-info-libcpp: install-info-libcpp
16386 install-info-libcpp: \
16387 configure-libcpp \
16388 info-libcpp
16389 @[ -f ./libcpp/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 $(HOST_EXPORTS) \
16393 for flag in $(EXTRA_HOST_FLAGS) ; do \
16394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16395 done; \
16396 echo "Doing install-info in libcpp" ; \
16397 (cd $(HOST_SUBDIR)/libcpp && \
16398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16400 "RANLIB=$${RANLIB}" \
16401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16402 install-info) \
16403 || exit 1
16405 @endif libcpp
16407 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16408 maybe-installcheck-libcpp:
16409 @if libcpp
16410 maybe-installcheck-libcpp: installcheck-libcpp
16412 installcheck-libcpp: \
16413 configure-libcpp
16414 @[ -f ./libcpp/Makefile ] || exit 0; \
16415 r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 $(HOST_EXPORTS) \
16418 for flag in $(EXTRA_HOST_FLAGS) ; do \
16419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16420 done; \
16421 echo "Doing installcheck in libcpp" ; \
16422 (cd $(HOST_SUBDIR)/libcpp && \
16423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16425 "RANLIB=$${RANLIB}" \
16426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16427 installcheck) \
16428 || exit 1
16430 @endif libcpp
16432 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16433 maybe-mostlyclean-libcpp:
16434 @if libcpp
16435 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16437 mostlyclean-libcpp:
16438 @[ -f ./libcpp/Makefile ] || exit 0; \
16439 r=`${PWD_COMMAND}`; export r; \
16440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16441 $(HOST_EXPORTS) \
16442 for flag in $(EXTRA_HOST_FLAGS) ; do \
16443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16444 done; \
16445 echo "Doing mostlyclean in libcpp" ; \
16446 (cd $(HOST_SUBDIR)/libcpp && \
16447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16449 "RANLIB=$${RANLIB}" \
16450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16451 mostlyclean) \
16452 || exit 1
16454 @endif libcpp
16456 .PHONY: maybe-clean-libcpp clean-libcpp
16457 maybe-clean-libcpp:
16458 @if libcpp
16459 maybe-clean-libcpp: clean-libcpp
16461 clean-libcpp:
16462 @[ -f ./libcpp/Makefile ] || exit 0; \
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(HOST_EXPORTS) \
16466 for flag in $(EXTRA_HOST_FLAGS) ; do \
16467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16468 done; \
16469 echo "Doing clean in libcpp" ; \
16470 (cd $(HOST_SUBDIR)/libcpp && \
16471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16473 "RANLIB=$${RANLIB}" \
16474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16475 clean) \
16476 || exit 1
16478 @endif libcpp
16480 .PHONY: maybe-distclean-libcpp distclean-libcpp
16481 maybe-distclean-libcpp:
16482 @if libcpp
16483 maybe-distclean-libcpp: distclean-libcpp
16485 distclean-libcpp:
16486 @[ -f ./libcpp/Makefile ] || exit 0; \
16487 r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489 $(HOST_EXPORTS) \
16490 for flag in $(EXTRA_HOST_FLAGS) ; do \
16491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16492 done; \
16493 echo "Doing distclean in libcpp" ; \
16494 (cd $(HOST_SUBDIR)/libcpp && \
16495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16497 "RANLIB=$${RANLIB}" \
16498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16499 distclean) \
16500 || exit 1
16502 @endif libcpp
16504 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16505 maybe-maintainer-clean-libcpp:
16506 @if libcpp
16507 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16509 maintainer-clean-libcpp:
16510 @[ -f ./libcpp/Makefile ] || exit 0; \
16511 r=`${PWD_COMMAND}`; export r; \
16512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16513 $(HOST_EXPORTS) \
16514 for flag in $(EXTRA_HOST_FLAGS) ; do \
16515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16516 done; \
16517 echo "Doing maintainer-clean in libcpp" ; \
16518 (cd $(HOST_SUBDIR)/libcpp && \
16519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16521 "RANLIB=$${RANLIB}" \
16522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16523 maintainer-clean) \
16524 || exit 1
16526 @endif libcpp
16530 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16531 maybe-configure-libdecnumber:
16532 @if libdecnumber
16533 maybe-configure-libdecnumber: configure-libdecnumber
16534 configure-libdecnumber:
16535 @test -f stage_last && exit 0; \
16536 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16538 r=`${PWD_COMMAND}`; export r; \
16539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16540 $(HOST_EXPORTS) \
16541 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16542 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16543 case $(srcdir) in \
16544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16545 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16547 esac; \
16548 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16549 libsrcdir="$$s/libdecnumber"; \
16550 $(SHELL) $${libsrcdir}/configure \
16551 $(HOST_CONFIGARGS) $${srcdiroption} \
16552 || exit 1
16553 @endif libdecnumber
16557 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16558 maybe-configure-stage1-libdecnumber:
16559 @if libdecnumber-bootstrap
16560 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16561 configure-stage1-libdecnumber:
16562 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16563 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16564 r=`${PWD_COMMAND}`; export r; \
16565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16566 $(HOST_EXPORTS) \
16567 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16568 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16569 case $(srcdir) in \
16570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16571 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16573 esac; \
16574 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16575 libsrcdir="$$s/libdecnumber"; \
16576 $(SHELL) $${libsrcdir}/configure \
16577 $(HOST_CONFIGARGS) $${srcdiroption} \
16578 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16579 @endif libdecnumber-bootstrap
16581 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16582 maybe-configure-stage2-libdecnumber:
16583 @if libdecnumber-bootstrap
16584 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16585 configure-stage2-libdecnumber:
16586 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16587 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16588 r=`${PWD_COMMAND}`; export r; \
16589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16590 $(HOST_EXPORTS) \
16591 $(POSTSTAGE1_HOST_EXPORTS) \
16592 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16593 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16594 case $(srcdir) in \
16595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16596 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16598 esac; \
16599 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16600 libsrcdir="$$s/libdecnumber"; \
16601 $(SHELL) $${libsrcdir}/configure \
16602 $(HOST_CONFIGARGS) $${srcdiroption} \
16603 @stage2_werror_flag@
16604 @endif libdecnumber-bootstrap
16606 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16607 maybe-configure-stage3-libdecnumber:
16608 @if libdecnumber-bootstrap
16609 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16610 configure-stage3-libdecnumber:
16611 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16612 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16613 r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 $(HOST_EXPORTS) \
16616 $(POSTSTAGE1_HOST_EXPORTS) \
16617 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16618 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16619 case $(srcdir) in \
16620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16621 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16623 esac; \
16624 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16625 libsrcdir="$$s/libdecnumber"; \
16626 $(SHELL) $${libsrcdir}/configure \
16627 $(HOST_CONFIGARGS) $${srcdiroption} \
16628 @stage2_werror_flag@
16629 @endif libdecnumber-bootstrap
16631 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16632 maybe-configure-stage4-libdecnumber:
16633 @if libdecnumber-bootstrap
16634 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16635 configure-stage4-libdecnumber:
16636 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16637 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16638 r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16640 $(HOST_EXPORTS) \
16641 $(POSTSTAGE1_HOST_EXPORTS) \
16642 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16643 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16644 case $(srcdir) in \
16645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16646 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16648 esac; \
16649 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16650 libsrcdir="$$s/libdecnumber"; \
16651 $(SHELL) $${libsrcdir}/configure \
16652 $(HOST_CONFIGARGS) $${srcdiroption} \
16653 @stage2_werror_flag@
16654 @endif libdecnumber-bootstrap
16656 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16657 maybe-configure-stageprofile-libdecnumber:
16658 @if libdecnumber-bootstrap
16659 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16660 configure-stageprofile-libdecnumber:
16661 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16662 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16663 r=`${PWD_COMMAND}`; export r; \
16664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16665 $(HOST_EXPORTS) \
16666 $(POSTSTAGE1_HOST_EXPORTS) \
16667 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16668 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16669 case $(srcdir) in \
16670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16671 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16673 esac; \
16674 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16675 libsrcdir="$$s/libdecnumber"; \
16676 $(SHELL) $${libsrcdir}/configure \
16677 $(HOST_CONFIGARGS) $${srcdiroption} \
16678 @stage2_werror_flag@
16679 @endif libdecnumber-bootstrap
16681 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16682 maybe-configure-stagefeedback-libdecnumber:
16683 @if libdecnumber-bootstrap
16684 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16685 configure-stagefeedback-libdecnumber:
16686 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16687 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 $(POSTSTAGE1_HOST_EXPORTS) \
16692 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16693 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16694 case $(srcdir) in \
16695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16696 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16698 esac; \
16699 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16700 libsrcdir="$$s/libdecnumber"; \
16701 $(SHELL) $${libsrcdir}/configure \
16702 $(HOST_CONFIGARGS) $${srcdiroption} \
16703 @stage2_werror_flag@
16704 @endif libdecnumber-bootstrap
16710 .PHONY: all-libdecnumber maybe-all-libdecnumber
16711 maybe-all-libdecnumber:
16712 @if libdecnumber
16713 TARGET-libdecnumber=all
16714 maybe-all-libdecnumber: all-libdecnumber
16715 all-libdecnumber: configure-libdecnumber
16716 @test -f stage_last && exit 0; \
16717 r=`${PWD_COMMAND}`; export r; \
16718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16719 $(HOST_EXPORTS) \
16720 (cd $(HOST_SUBDIR)/libdecnumber && \
16721 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16722 @endif libdecnumber
16726 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16727 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16728 maybe-all-stage1-libdecnumber:
16729 maybe-clean-stage1-libdecnumber:
16730 @if libdecnumber-bootstrap
16731 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16732 all-stage1: all-stage1-libdecnumber
16733 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16734 all-stage1-libdecnumber: configure-stage1-libdecnumber
16735 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16736 @r=`${PWD_COMMAND}`; export r; \
16737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16738 $(HOST_EXPORTS) \
16739 cd $(HOST_SUBDIR)/libdecnumber && \
16740 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16741 $(TARGET-stage1-libdecnumber)
16743 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16744 clean-stage1: clean-stage1-libdecnumber
16745 clean-stage1-libdecnumber:
16746 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16747 || exit 0 ; \
16748 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16749 cd $(HOST_SUBDIR)/libdecnumber && \
16750 $(MAKE) $(FLAGS_TO_PASS) \
16751 CFLAGS="$(STAGE1_CFLAGS)" clean
16752 @endif libdecnumber-bootstrap
16755 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16756 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16757 maybe-all-stage2-libdecnumber:
16758 maybe-clean-stage2-libdecnumber:
16759 @if libdecnumber-bootstrap
16760 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16761 all-stage2: all-stage2-libdecnumber
16762 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16763 all-stage2-libdecnumber: configure-stage2-libdecnumber
16764 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16765 @r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(HOST_EXPORTS) \
16768 $(POSTSTAGE1_HOST_EXPORTS) \
16769 cd $(HOST_SUBDIR)/libdecnumber && \
16770 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16771 $(TARGET-stage2-libdecnumber)
16773 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
16774 clean-stage2: clean-stage2-libdecnumber
16775 clean-stage2-libdecnumber:
16776 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
16777 || exit 0 ; \
16778 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16779 cd $(HOST_SUBDIR)/libdecnumber && \
16780 $(MAKE) $(FLAGS_TO_PASS) \
16781 $(POSTSTAGE1_FLAGS_TO_PASS) \
16782 clean
16783 @endif libdecnumber-bootstrap
16786 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
16787 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
16788 maybe-all-stage3-libdecnumber:
16789 maybe-clean-stage3-libdecnumber:
16790 @if libdecnumber-bootstrap
16791 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
16792 all-stage3: all-stage3-libdecnumber
16793 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
16794 all-stage3-libdecnumber: configure-stage3-libdecnumber
16795 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16796 @r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 $(HOST_EXPORTS) \
16799 $(POSTSTAGE1_HOST_EXPORTS) \
16800 cd $(HOST_SUBDIR)/libdecnumber && \
16801 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16802 $(TARGET-stage3-libdecnumber)
16804 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
16805 clean-stage3: clean-stage3-libdecnumber
16806 clean-stage3-libdecnumber:
16807 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
16808 || exit 0 ; \
16809 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16810 cd $(HOST_SUBDIR)/libdecnumber && \
16811 $(MAKE) $(FLAGS_TO_PASS) \
16812 $(POSTSTAGE1_FLAGS_TO_PASS) \
16813 clean
16814 @endif libdecnumber-bootstrap
16817 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
16818 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
16819 maybe-all-stage4-libdecnumber:
16820 maybe-clean-stage4-libdecnumber:
16821 @if libdecnumber-bootstrap
16822 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
16823 all-stage4: all-stage4-libdecnumber
16824 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
16825 all-stage4-libdecnumber: configure-stage4-libdecnumber
16826 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16827 @r=`${PWD_COMMAND}`; export r; \
16828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16829 $(HOST_EXPORTS) \
16830 $(POSTSTAGE1_HOST_EXPORTS) \
16831 cd $(HOST_SUBDIR)/libdecnumber && \
16832 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16833 $(TARGET-stage4-libdecnumber)
16835 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
16836 clean-stage4: clean-stage4-libdecnumber
16837 clean-stage4-libdecnumber:
16838 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
16839 || exit 0 ; \
16840 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16841 cd $(HOST_SUBDIR)/libdecnumber && \
16842 $(MAKE) $(FLAGS_TO_PASS) \
16843 $(POSTSTAGE1_FLAGS_TO_PASS) \
16844 clean
16845 @endif libdecnumber-bootstrap
16848 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
16849 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
16850 maybe-all-stageprofile-libdecnumber:
16851 maybe-clean-stageprofile-libdecnumber:
16852 @if libdecnumber-bootstrap
16853 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
16854 all-stageprofile: all-stageprofile-libdecnumber
16855 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
16856 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16857 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16858 @r=`${PWD_COMMAND}`; export r; \
16859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16860 $(HOST_EXPORTS) \
16861 $(POSTSTAGE1_HOST_EXPORTS) \
16862 cd $(HOST_SUBDIR)/libdecnumber && \
16863 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16864 $(TARGET-stageprofile-libdecnumber)
16866 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
16867 clean-stageprofile: clean-stageprofile-libdecnumber
16868 clean-stageprofile-libdecnumber:
16869 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
16870 || exit 0 ; \
16871 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16872 cd $(HOST_SUBDIR)/libdecnumber && \
16873 $(MAKE) $(FLAGS_TO_PASS) \
16874 $(POSTSTAGE1_FLAGS_TO_PASS) \
16875 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16876 @endif libdecnumber-bootstrap
16879 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
16880 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
16881 maybe-all-stagefeedback-libdecnumber:
16882 maybe-clean-stagefeedback-libdecnumber:
16883 @if libdecnumber-bootstrap
16884 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
16885 all-stagefeedback: all-stagefeedback-libdecnumber
16886 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
16887 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16888 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16889 @r=`${PWD_COMMAND}`; export r; \
16890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16891 $(HOST_EXPORTS) \
16892 $(POSTSTAGE1_HOST_EXPORTS) \
16893 cd $(HOST_SUBDIR)/libdecnumber && \
16894 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16895 $(TARGET-stagefeedback-libdecnumber)
16897 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
16898 clean-stagefeedback: clean-stagefeedback-libdecnumber
16899 clean-stagefeedback-libdecnumber:
16900 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
16901 || exit 0 ; \
16902 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16903 cd $(HOST_SUBDIR)/libdecnumber && \
16904 $(MAKE) $(FLAGS_TO_PASS) \
16905 $(POSTSTAGE1_FLAGS_TO_PASS) \
16906 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16907 @endif libdecnumber-bootstrap
16913 .PHONY: check-libdecnumber maybe-check-libdecnumber
16914 maybe-check-libdecnumber:
16915 @if libdecnumber
16916 maybe-check-libdecnumber: check-libdecnumber
16918 check-libdecnumber:
16919 @$(unstage)
16920 @r=`${PWD_COMMAND}`; export r; \
16921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16922 $(HOST_EXPORTS) \
16923 (cd $(HOST_SUBDIR)/libdecnumber && \
16924 $(MAKE) $(FLAGS_TO_PASS) check)
16926 @endif libdecnumber
16928 .PHONY: install-libdecnumber maybe-install-libdecnumber
16929 maybe-install-libdecnumber:
16930 @if libdecnumber
16931 maybe-install-libdecnumber: install-libdecnumber
16933 install-libdecnumber: installdirs
16934 @$(unstage)
16935 @r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 (cd $(HOST_SUBDIR)/libdecnumber && \
16939 $(MAKE) $(FLAGS_TO_PASS) install)
16941 @endif libdecnumber
16943 # Other targets (info, dvi, etc.)
16945 .PHONY: maybe-info-libdecnumber info-libdecnumber
16946 maybe-info-libdecnumber:
16947 @if libdecnumber
16948 maybe-info-libdecnumber: info-libdecnumber
16950 info-libdecnumber: \
16951 configure-libdecnumber
16952 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16953 r=`${PWD_COMMAND}`; export r; \
16954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16955 $(HOST_EXPORTS) \
16956 for flag in $(EXTRA_HOST_FLAGS) ; do \
16957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16958 done; \
16959 echo "Doing info in libdecnumber" ; \
16960 (cd $(HOST_SUBDIR)/libdecnumber && \
16961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16963 "RANLIB=$${RANLIB}" \
16964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16965 info) \
16966 || exit 1
16968 @endif libdecnumber
16970 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
16971 maybe-dvi-libdecnumber:
16972 @if libdecnumber
16973 maybe-dvi-libdecnumber: dvi-libdecnumber
16975 dvi-libdecnumber: \
16976 configure-libdecnumber
16977 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16978 r=`${PWD_COMMAND}`; export r; \
16979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16980 $(HOST_EXPORTS) \
16981 for flag in $(EXTRA_HOST_FLAGS) ; do \
16982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16983 done; \
16984 echo "Doing dvi in libdecnumber" ; \
16985 (cd $(HOST_SUBDIR)/libdecnumber && \
16986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16988 "RANLIB=$${RANLIB}" \
16989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16990 dvi) \
16991 || exit 1
16993 @endif libdecnumber
16995 .PHONY: maybe-html-libdecnumber html-libdecnumber
16996 maybe-html-libdecnumber:
16997 @if libdecnumber
16998 maybe-html-libdecnumber: html-libdecnumber
17000 html-libdecnumber: \
17001 configure-libdecnumber
17002 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17003 r=`${PWD_COMMAND}`; export r; \
17004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17005 $(HOST_EXPORTS) \
17006 for flag in $(EXTRA_HOST_FLAGS) ; do \
17007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17008 done; \
17009 echo "Doing html in libdecnumber" ; \
17010 (cd $(HOST_SUBDIR)/libdecnumber && \
17011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17013 "RANLIB=$${RANLIB}" \
17014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17015 html) \
17016 || exit 1
17018 @endif libdecnumber
17020 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17021 maybe-TAGS-libdecnumber:
17022 @if libdecnumber
17023 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17025 TAGS-libdecnumber: \
17026 configure-libdecnumber
17027 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17028 r=`${PWD_COMMAND}`; export r; \
17029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17030 $(HOST_EXPORTS) \
17031 for flag in $(EXTRA_HOST_FLAGS) ; do \
17032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17033 done; \
17034 echo "Doing TAGS in libdecnumber" ; \
17035 (cd $(HOST_SUBDIR)/libdecnumber && \
17036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17038 "RANLIB=$${RANLIB}" \
17039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17040 TAGS) \
17041 || exit 1
17043 @endif libdecnumber
17045 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17046 maybe-install-info-libdecnumber:
17047 @if libdecnumber
17048 maybe-install-info-libdecnumber: install-info-libdecnumber
17050 install-info-libdecnumber: \
17051 configure-libdecnumber \
17052 info-libdecnumber
17053 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17054 r=`${PWD_COMMAND}`; export r; \
17055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17056 $(HOST_EXPORTS) \
17057 for flag in $(EXTRA_HOST_FLAGS) ; do \
17058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17059 done; \
17060 echo "Doing install-info in libdecnumber" ; \
17061 (cd $(HOST_SUBDIR)/libdecnumber && \
17062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17064 "RANLIB=$${RANLIB}" \
17065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17066 install-info) \
17067 || exit 1
17069 @endif libdecnumber
17071 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17072 maybe-installcheck-libdecnumber:
17073 @if libdecnumber
17074 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17076 installcheck-libdecnumber: \
17077 configure-libdecnumber
17078 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17079 r=`${PWD_COMMAND}`; export r; \
17080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17081 $(HOST_EXPORTS) \
17082 for flag in $(EXTRA_HOST_FLAGS) ; do \
17083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17084 done; \
17085 echo "Doing installcheck in libdecnumber" ; \
17086 (cd $(HOST_SUBDIR)/libdecnumber && \
17087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17089 "RANLIB=$${RANLIB}" \
17090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17091 installcheck) \
17092 || exit 1
17094 @endif libdecnumber
17096 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17097 maybe-mostlyclean-libdecnumber:
17098 @if libdecnumber
17099 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17101 mostlyclean-libdecnumber:
17102 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17103 r=`${PWD_COMMAND}`; export r; \
17104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17105 $(HOST_EXPORTS) \
17106 for flag in $(EXTRA_HOST_FLAGS) ; do \
17107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17108 done; \
17109 echo "Doing mostlyclean in libdecnumber" ; \
17110 (cd $(HOST_SUBDIR)/libdecnumber && \
17111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17113 "RANLIB=$${RANLIB}" \
17114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17115 mostlyclean) \
17116 || exit 1
17118 @endif libdecnumber
17120 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17121 maybe-clean-libdecnumber:
17122 @if libdecnumber
17123 maybe-clean-libdecnumber: clean-libdecnumber
17125 clean-libdecnumber:
17126 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17127 r=`${PWD_COMMAND}`; export r; \
17128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17129 $(HOST_EXPORTS) \
17130 for flag in $(EXTRA_HOST_FLAGS) ; do \
17131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17132 done; \
17133 echo "Doing clean in libdecnumber" ; \
17134 (cd $(HOST_SUBDIR)/libdecnumber && \
17135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17137 "RANLIB=$${RANLIB}" \
17138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17139 clean) \
17140 || exit 1
17142 @endif libdecnumber
17144 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17145 maybe-distclean-libdecnumber:
17146 @if libdecnumber
17147 maybe-distclean-libdecnumber: distclean-libdecnumber
17149 distclean-libdecnumber:
17150 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17151 r=`${PWD_COMMAND}`; export r; \
17152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17153 $(HOST_EXPORTS) \
17154 for flag in $(EXTRA_HOST_FLAGS) ; do \
17155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17156 done; \
17157 echo "Doing distclean in libdecnumber" ; \
17158 (cd $(HOST_SUBDIR)/libdecnumber && \
17159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17161 "RANLIB=$${RANLIB}" \
17162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17163 distclean) \
17164 || exit 1
17166 @endif libdecnumber
17168 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17169 maybe-maintainer-clean-libdecnumber:
17170 @if libdecnumber
17171 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17173 maintainer-clean-libdecnumber:
17174 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17175 r=`${PWD_COMMAND}`; export r; \
17176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17177 $(HOST_EXPORTS) \
17178 for flag in $(EXTRA_HOST_FLAGS) ; do \
17179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17180 done; \
17181 echo "Doing maintainer-clean in libdecnumber" ; \
17182 (cd $(HOST_SUBDIR)/libdecnumber && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17185 "RANLIB=$${RANLIB}" \
17186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17187 maintainer-clean) \
17188 || exit 1
17190 @endif libdecnumber
17194 .PHONY: configure-libgui maybe-configure-libgui
17195 maybe-configure-libgui:
17196 @if libgui
17197 maybe-configure-libgui: configure-libgui
17198 configure-libgui:
17199 @$(unstage)
17200 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17202 r=`${PWD_COMMAND}`; export r; \
17203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17204 $(HOST_EXPORTS) \
17205 echo Configuring in $(HOST_SUBDIR)/libgui; \
17206 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17207 case $(srcdir) in \
17208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17209 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17211 esac; \
17212 srcdiroption="--srcdir=$${topdir}/libgui"; \
17213 libsrcdir="$$s/libgui"; \
17214 $(SHELL) $${libsrcdir}/configure \
17215 $(HOST_CONFIGARGS) $${srcdiroption} \
17216 || exit 1
17217 @endif libgui
17223 .PHONY: all-libgui maybe-all-libgui
17224 maybe-all-libgui:
17225 @if libgui
17226 TARGET-libgui=all
17227 maybe-all-libgui: all-libgui
17228 all-libgui: configure-libgui
17229 @$(unstage)
17230 @r=`${PWD_COMMAND}`; export r; \
17231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17232 $(HOST_EXPORTS) \
17233 (cd $(HOST_SUBDIR)/libgui && \
17234 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17235 @endif libgui
17240 .PHONY: check-libgui maybe-check-libgui
17241 maybe-check-libgui:
17242 @if libgui
17243 maybe-check-libgui: check-libgui
17245 check-libgui:
17246 @$(unstage)
17247 @r=`${PWD_COMMAND}`; export r; \
17248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17249 $(HOST_EXPORTS) \
17250 (cd $(HOST_SUBDIR)/libgui && \
17251 $(MAKE) $(FLAGS_TO_PASS) check)
17253 @endif libgui
17255 .PHONY: install-libgui maybe-install-libgui
17256 maybe-install-libgui:
17257 @if libgui
17258 maybe-install-libgui: install-libgui
17260 install-libgui: installdirs
17261 @$(unstage)
17262 @r=`${PWD_COMMAND}`; export r; \
17263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17264 $(HOST_EXPORTS) \
17265 (cd $(HOST_SUBDIR)/libgui && \
17266 $(MAKE) $(FLAGS_TO_PASS) install)
17268 @endif libgui
17270 # Other targets (info, dvi, etc.)
17272 .PHONY: maybe-info-libgui info-libgui
17273 maybe-info-libgui:
17274 @if libgui
17275 maybe-info-libgui: info-libgui
17277 info-libgui: \
17278 configure-libgui
17279 @$(unstage)
17280 @[ -f ./libgui/Makefile ] || exit 0; \
17281 r=`${PWD_COMMAND}`; export r; \
17282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 $(HOST_EXPORTS) \
17284 for flag in $(EXTRA_HOST_FLAGS) ; do \
17285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17286 done; \
17287 echo "Doing info in libgui" ; \
17288 (cd $(HOST_SUBDIR)/libgui && \
17289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17291 "RANLIB=$${RANLIB}" \
17292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17293 info) \
17294 || exit 1
17296 @endif libgui
17298 .PHONY: maybe-dvi-libgui dvi-libgui
17299 maybe-dvi-libgui:
17300 @if libgui
17301 maybe-dvi-libgui: dvi-libgui
17303 dvi-libgui: \
17304 configure-libgui
17305 @$(unstage)
17306 @[ -f ./libgui/Makefile ] || exit 0; \
17307 r=`${PWD_COMMAND}`; export r; \
17308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17309 $(HOST_EXPORTS) \
17310 for flag in $(EXTRA_HOST_FLAGS) ; do \
17311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17312 done; \
17313 echo "Doing dvi in libgui" ; \
17314 (cd $(HOST_SUBDIR)/libgui && \
17315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17317 "RANLIB=$${RANLIB}" \
17318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17319 dvi) \
17320 || exit 1
17322 @endif libgui
17324 .PHONY: maybe-html-libgui html-libgui
17325 maybe-html-libgui:
17326 @if libgui
17327 maybe-html-libgui: html-libgui
17329 html-libgui: \
17330 configure-libgui
17331 @$(unstage)
17332 @[ -f ./libgui/Makefile ] || exit 0; \
17333 r=`${PWD_COMMAND}`; export r; \
17334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17335 $(HOST_EXPORTS) \
17336 for flag in $(EXTRA_HOST_FLAGS) ; do \
17337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17338 done; \
17339 echo "Doing html in libgui" ; \
17340 (cd $(HOST_SUBDIR)/libgui && \
17341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17343 "RANLIB=$${RANLIB}" \
17344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17345 html) \
17346 || exit 1
17348 @endif libgui
17350 .PHONY: maybe-TAGS-libgui TAGS-libgui
17351 maybe-TAGS-libgui:
17352 @if libgui
17353 maybe-TAGS-libgui: TAGS-libgui
17355 TAGS-libgui: \
17356 configure-libgui
17357 @$(unstage)
17358 @[ -f ./libgui/Makefile ] || exit 0; \
17359 r=`${PWD_COMMAND}`; export r; \
17360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17361 $(HOST_EXPORTS) \
17362 for flag in $(EXTRA_HOST_FLAGS) ; do \
17363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17364 done; \
17365 echo "Doing TAGS in libgui" ; \
17366 (cd $(HOST_SUBDIR)/libgui && \
17367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17369 "RANLIB=$${RANLIB}" \
17370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17371 TAGS) \
17372 || exit 1
17374 @endif libgui
17376 .PHONY: maybe-install-info-libgui install-info-libgui
17377 maybe-install-info-libgui:
17378 @if libgui
17379 maybe-install-info-libgui: install-info-libgui
17381 install-info-libgui: \
17382 configure-libgui \
17383 info-libgui
17384 @$(unstage)
17385 @[ -f ./libgui/Makefile ] || exit 0; \
17386 r=`${PWD_COMMAND}`; export r; \
17387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17388 $(HOST_EXPORTS) \
17389 for flag in $(EXTRA_HOST_FLAGS) ; do \
17390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17391 done; \
17392 echo "Doing install-info in libgui" ; \
17393 (cd $(HOST_SUBDIR)/libgui && \
17394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17396 "RANLIB=$${RANLIB}" \
17397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17398 install-info) \
17399 || exit 1
17401 @endif libgui
17403 .PHONY: maybe-installcheck-libgui installcheck-libgui
17404 maybe-installcheck-libgui:
17405 @if libgui
17406 maybe-installcheck-libgui: installcheck-libgui
17408 installcheck-libgui: \
17409 configure-libgui
17410 @$(unstage)
17411 @[ -f ./libgui/Makefile ] || exit 0; \
17412 r=`${PWD_COMMAND}`; export r; \
17413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17414 $(HOST_EXPORTS) \
17415 for flag in $(EXTRA_HOST_FLAGS) ; do \
17416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17417 done; \
17418 echo "Doing installcheck in libgui" ; \
17419 (cd $(HOST_SUBDIR)/libgui && \
17420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17422 "RANLIB=$${RANLIB}" \
17423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17424 installcheck) \
17425 || exit 1
17427 @endif libgui
17429 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17430 maybe-mostlyclean-libgui:
17431 @if libgui
17432 maybe-mostlyclean-libgui: mostlyclean-libgui
17434 mostlyclean-libgui:
17435 @$(unstage)
17436 @[ -f ./libgui/Makefile ] || exit 0; \
17437 r=`${PWD_COMMAND}`; export r; \
17438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17439 $(HOST_EXPORTS) \
17440 for flag in $(EXTRA_HOST_FLAGS) ; do \
17441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17442 done; \
17443 echo "Doing mostlyclean in libgui" ; \
17444 (cd $(HOST_SUBDIR)/libgui && \
17445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17447 "RANLIB=$${RANLIB}" \
17448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17449 mostlyclean) \
17450 || exit 1
17452 @endif libgui
17454 .PHONY: maybe-clean-libgui clean-libgui
17455 maybe-clean-libgui:
17456 @if libgui
17457 maybe-clean-libgui: clean-libgui
17459 clean-libgui:
17460 @$(unstage)
17461 @[ -f ./libgui/Makefile ] || exit 0; \
17462 r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 $(HOST_EXPORTS) \
17465 for flag in $(EXTRA_HOST_FLAGS) ; do \
17466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17467 done; \
17468 echo "Doing clean in libgui" ; \
17469 (cd $(HOST_SUBDIR)/libgui && \
17470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472 "RANLIB=$${RANLIB}" \
17473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17474 clean) \
17475 || exit 1
17477 @endif libgui
17479 .PHONY: maybe-distclean-libgui distclean-libgui
17480 maybe-distclean-libgui:
17481 @if libgui
17482 maybe-distclean-libgui: distclean-libgui
17484 distclean-libgui:
17485 @$(unstage)
17486 @[ -f ./libgui/Makefile ] || exit 0; \
17487 r=`${PWD_COMMAND}`; export r; \
17488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17489 $(HOST_EXPORTS) \
17490 for flag in $(EXTRA_HOST_FLAGS) ; do \
17491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17492 done; \
17493 echo "Doing distclean in libgui" ; \
17494 (cd $(HOST_SUBDIR)/libgui && \
17495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497 "RANLIB=$${RANLIB}" \
17498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17499 distclean) \
17500 || exit 1
17502 @endif libgui
17504 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17505 maybe-maintainer-clean-libgui:
17506 @if libgui
17507 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17509 maintainer-clean-libgui:
17510 @$(unstage)
17511 @[ -f ./libgui/Makefile ] || exit 0; \
17512 r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17514 $(HOST_EXPORTS) \
17515 for flag in $(EXTRA_HOST_FLAGS) ; do \
17516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17517 done; \
17518 echo "Doing maintainer-clean in libgui" ; \
17519 (cd $(HOST_SUBDIR)/libgui && \
17520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17522 "RANLIB=$${RANLIB}" \
17523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17524 maintainer-clean) \
17525 || exit 1
17527 @endif libgui
17531 .PHONY: configure-libiberty maybe-configure-libiberty
17532 maybe-configure-libiberty:
17533 @if libiberty
17534 maybe-configure-libiberty: configure-libiberty
17535 configure-libiberty:
17536 @test -f stage_last && exit 0; \
17537 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17539 r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 $(HOST_EXPORTS) \
17542 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17543 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17544 case $(srcdir) in \
17545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17546 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17548 esac; \
17549 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17550 libsrcdir="$$s/libiberty"; \
17551 $(SHELL) $${libsrcdir}/configure \
17552 $(HOST_CONFIGARGS) $${srcdiroption} \
17553 || exit 1
17554 @endif libiberty
17558 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17559 maybe-configure-stage1-libiberty:
17560 @if libiberty-bootstrap
17561 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17562 configure-stage1-libiberty:
17563 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17564 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17565 r=`${PWD_COMMAND}`; export r; \
17566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17567 $(HOST_EXPORTS) \
17568 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17569 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17570 case $(srcdir) in \
17571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17572 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17574 esac; \
17575 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17576 libsrcdir="$$s/libiberty"; \
17577 $(SHELL) $${libsrcdir}/configure \
17578 $(HOST_CONFIGARGS) $${srcdiroption} \
17579 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17580 @endif libiberty-bootstrap
17582 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17583 maybe-configure-stage2-libiberty:
17584 @if libiberty-bootstrap
17585 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17586 configure-stage2-libiberty:
17587 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17588 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 $(HOST_EXPORTS) \
17592 $(POSTSTAGE1_HOST_EXPORTS) \
17593 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17594 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17595 case $(srcdir) in \
17596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17597 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17599 esac; \
17600 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17601 libsrcdir="$$s/libiberty"; \
17602 $(SHELL) $${libsrcdir}/configure \
17603 $(HOST_CONFIGARGS) $${srcdiroption} \
17604 @stage2_werror_flag@
17605 @endif libiberty-bootstrap
17607 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17608 maybe-configure-stage3-libiberty:
17609 @if libiberty-bootstrap
17610 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17611 configure-stage3-libiberty:
17612 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17613 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17614 r=`${PWD_COMMAND}`; export r; \
17615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17616 $(HOST_EXPORTS) \
17617 $(POSTSTAGE1_HOST_EXPORTS) \
17618 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17619 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17620 case $(srcdir) in \
17621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17622 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17624 esac; \
17625 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17626 libsrcdir="$$s/libiberty"; \
17627 $(SHELL) $${libsrcdir}/configure \
17628 $(HOST_CONFIGARGS) $${srcdiroption} \
17629 @stage2_werror_flag@
17630 @endif libiberty-bootstrap
17632 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17633 maybe-configure-stage4-libiberty:
17634 @if libiberty-bootstrap
17635 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17636 configure-stage4-libiberty:
17637 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17638 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17639 r=`${PWD_COMMAND}`; export r; \
17640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17641 $(HOST_EXPORTS) \
17642 $(POSTSTAGE1_HOST_EXPORTS) \
17643 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17644 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17645 case $(srcdir) in \
17646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17647 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17649 esac; \
17650 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17651 libsrcdir="$$s/libiberty"; \
17652 $(SHELL) $${libsrcdir}/configure \
17653 $(HOST_CONFIGARGS) $${srcdiroption} \
17654 @stage2_werror_flag@
17655 @endif libiberty-bootstrap
17657 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17658 maybe-configure-stageprofile-libiberty:
17659 @if libiberty-bootstrap
17660 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17661 configure-stageprofile-libiberty:
17662 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17663 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17664 r=`${PWD_COMMAND}`; export r; \
17665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17666 $(HOST_EXPORTS) \
17667 $(POSTSTAGE1_HOST_EXPORTS) \
17668 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17669 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17670 case $(srcdir) in \
17671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17672 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17674 esac; \
17675 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17676 libsrcdir="$$s/libiberty"; \
17677 $(SHELL) $${libsrcdir}/configure \
17678 $(HOST_CONFIGARGS) $${srcdiroption} \
17679 @stage2_werror_flag@
17680 @endif libiberty-bootstrap
17682 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17683 maybe-configure-stagefeedback-libiberty:
17684 @if libiberty-bootstrap
17685 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17686 configure-stagefeedback-libiberty:
17687 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17688 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17689 r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 $(HOST_EXPORTS) \
17692 $(POSTSTAGE1_HOST_EXPORTS) \
17693 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17694 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17695 case $(srcdir) in \
17696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17697 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17699 esac; \
17700 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17701 libsrcdir="$$s/libiberty"; \
17702 $(SHELL) $${libsrcdir}/configure \
17703 $(HOST_CONFIGARGS) $${srcdiroption} \
17704 @stage2_werror_flag@
17705 @endif libiberty-bootstrap
17711 .PHONY: all-libiberty maybe-all-libiberty
17712 maybe-all-libiberty:
17713 @if libiberty
17714 TARGET-libiberty=all
17715 maybe-all-libiberty: all-libiberty
17716 all-libiberty: configure-libiberty
17717 @test -f stage_last && exit 0; \
17718 r=`${PWD_COMMAND}`; export r; \
17719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17720 $(HOST_EXPORTS) \
17721 (cd $(HOST_SUBDIR)/libiberty && \
17722 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17723 @endif libiberty
17727 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17728 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17729 maybe-all-stage1-libiberty:
17730 maybe-clean-stage1-libiberty:
17731 @if libiberty-bootstrap
17732 maybe-all-stage1-libiberty: all-stage1-libiberty
17733 all-stage1: all-stage1-libiberty
17734 TARGET-stage1-libiberty = $(TARGET-libiberty)
17735 all-stage1-libiberty: configure-stage1-libiberty
17736 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17737 @r=`${PWD_COMMAND}`; export r; \
17738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17739 $(HOST_EXPORTS) \
17740 cd $(HOST_SUBDIR)/libiberty && \
17741 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17742 $(TARGET-stage1-libiberty)
17744 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17745 clean-stage1: clean-stage1-libiberty
17746 clean-stage1-libiberty:
17747 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17748 || exit 0 ; \
17749 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17750 cd $(HOST_SUBDIR)/libiberty && \
17751 $(MAKE) $(FLAGS_TO_PASS) \
17752 CFLAGS="$(STAGE1_CFLAGS)" clean
17753 @endif libiberty-bootstrap
17756 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17757 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17758 maybe-all-stage2-libiberty:
17759 maybe-clean-stage2-libiberty:
17760 @if libiberty-bootstrap
17761 maybe-all-stage2-libiberty: all-stage2-libiberty
17762 all-stage2: all-stage2-libiberty
17763 TARGET-stage2-libiberty = $(TARGET-libiberty)
17764 all-stage2-libiberty: configure-stage2-libiberty
17765 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17766 @r=`${PWD_COMMAND}`; export r; \
17767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17768 $(HOST_EXPORTS) \
17769 $(POSTSTAGE1_HOST_EXPORTS) \
17770 cd $(HOST_SUBDIR)/libiberty && \
17771 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17772 $(TARGET-stage2-libiberty)
17774 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17775 clean-stage2: clean-stage2-libiberty
17776 clean-stage2-libiberty:
17777 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17778 || exit 0 ; \
17779 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17780 cd $(HOST_SUBDIR)/libiberty && \
17781 $(MAKE) $(FLAGS_TO_PASS) \
17782 $(POSTSTAGE1_FLAGS_TO_PASS) \
17783 clean
17784 @endif libiberty-bootstrap
17787 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17788 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17789 maybe-all-stage3-libiberty:
17790 maybe-clean-stage3-libiberty:
17791 @if libiberty-bootstrap
17792 maybe-all-stage3-libiberty: all-stage3-libiberty
17793 all-stage3: all-stage3-libiberty
17794 TARGET-stage3-libiberty = $(TARGET-libiberty)
17795 all-stage3-libiberty: configure-stage3-libiberty
17796 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17797 @r=`${PWD_COMMAND}`; export r; \
17798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17799 $(HOST_EXPORTS) \
17800 $(POSTSTAGE1_HOST_EXPORTS) \
17801 cd $(HOST_SUBDIR)/libiberty && \
17802 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17803 $(TARGET-stage3-libiberty)
17805 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17806 clean-stage3: clean-stage3-libiberty
17807 clean-stage3-libiberty:
17808 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17809 || exit 0 ; \
17810 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17811 cd $(HOST_SUBDIR)/libiberty && \
17812 $(MAKE) $(FLAGS_TO_PASS) \
17813 $(POSTSTAGE1_FLAGS_TO_PASS) \
17814 clean
17815 @endif libiberty-bootstrap
17818 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17819 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17820 maybe-all-stage4-libiberty:
17821 maybe-clean-stage4-libiberty:
17822 @if libiberty-bootstrap
17823 maybe-all-stage4-libiberty: all-stage4-libiberty
17824 all-stage4: all-stage4-libiberty
17825 TARGET-stage4-libiberty = $(TARGET-libiberty)
17826 all-stage4-libiberty: configure-stage4-libiberty
17827 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17828 @r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(HOST_EXPORTS) \
17831 $(POSTSTAGE1_HOST_EXPORTS) \
17832 cd $(HOST_SUBDIR)/libiberty && \
17833 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17834 $(TARGET-stage4-libiberty)
17836 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17837 clean-stage4: clean-stage4-libiberty
17838 clean-stage4-libiberty:
17839 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17840 || exit 0 ; \
17841 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17842 cd $(HOST_SUBDIR)/libiberty && \
17843 $(MAKE) $(FLAGS_TO_PASS) \
17844 $(POSTSTAGE1_FLAGS_TO_PASS) \
17845 clean
17846 @endif libiberty-bootstrap
17849 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17850 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17851 maybe-all-stageprofile-libiberty:
17852 maybe-clean-stageprofile-libiberty:
17853 @if libiberty-bootstrap
17854 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17855 all-stageprofile: all-stageprofile-libiberty
17856 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17857 all-stageprofile-libiberty: configure-stageprofile-libiberty
17858 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17859 @r=`${PWD_COMMAND}`; export r; \
17860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17861 $(HOST_EXPORTS) \
17862 $(POSTSTAGE1_HOST_EXPORTS) \
17863 cd $(HOST_SUBDIR)/libiberty && \
17864 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17865 $(TARGET-stageprofile-libiberty)
17867 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17868 clean-stageprofile: clean-stageprofile-libiberty
17869 clean-stageprofile-libiberty:
17870 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17871 || exit 0 ; \
17872 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17873 cd $(HOST_SUBDIR)/libiberty && \
17874 $(MAKE) $(FLAGS_TO_PASS) \
17875 $(POSTSTAGE1_FLAGS_TO_PASS) \
17876 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17877 @endif libiberty-bootstrap
17880 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17881 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17882 maybe-all-stagefeedback-libiberty:
17883 maybe-clean-stagefeedback-libiberty:
17884 @if libiberty-bootstrap
17885 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17886 all-stagefeedback: all-stagefeedback-libiberty
17887 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17888 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17889 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17890 @r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(HOST_EXPORTS) \
17893 $(POSTSTAGE1_HOST_EXPORTS) \
17894 cd $(HOST_SUBDIR)/libiberty && \
17895 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17896 $(TARGET-stagefeedback-libiberty)
17898 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17899 clean-stagefeedback: clean-stagefeedback-libiberty
17900 clean-stagefeedback-libiberty:
17901 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17902 || exit 0 ; \
17903 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17904 cd $(HOST_SUBDIR)/libiberty && \
17905 $(MAKE) $(FLAGS_TO_PASS) \
17906 $(POSTSTAGE1_FLAGS_TO_PASS) \
17907 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17908 @endif libiberty-bootstrap
17914 .PHONY: check-libiberty maybe-check-libiberty
17915 maybe-check-libiberty:
17916 @if libiberty
17917 maybe-check-libiberty: check-libiberty
17919 check-libiberty:
17920 @$(unstage)
17921 @r=`${PWD_COMMAND}`; export r; \
17922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17923 $(HOST_EXPORTS) \
17924 (cd $(HOST_SUBDIR)/libiberty && \
17925 $(MAKE) $(FLAGS_TO_PASS) check)
17927 @endif libiberty
17929 .PHONY: install-libiberty maybe-install-libiberty
17930 maybe-install-libiberty:
17931 @if libiberty
17932 maybe-install-libiberty: install-libiberty
17934 install-libiberty: installdirs
17935 @$(unstage)
17936 @r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 (cd $(HOST_SUBDIR)/libiberty && \
17940 $(MAKE) $(FLAGS_TO_PASS) install)
17942 @endif libiberty
17944 # Other targets (info, dvi, etc.)
17946 .PHONY: maybe-info-libiberty info-libiberty
17947 maybe-info-libiberty:
17948 @if libiberty
17949 maybe-info-libiberty: info-libiberty
17951 info-libiberty: \
17952 configure-libiberty
17953 @[ -f ./libiberty/Makefile ] || exit 0; \
17954 r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956 $(HOST_EXPORTS) \
17957 for flag in $(EXTRA_HOST_FLAGS) ; do \
17958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17959 done; \
17960 echo "Doing info in libiberty" ; \
17961 (cd $(HOST_SUBDIR)/libiberty && \
17962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17964 "RANLIB=$${RANLIB}" \
17965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17966 info) \
17967 || exit 1
17969 @endif libiberty
17971 .PHONY: maybe-dvi-libiberty dvi-libiberty
17972 maybe-dvi-libiberty:
17973 @if libiberty
17974 maybe-dvi-libiberty: dvi-libiberty
17976 dvi-libiberty: \
17977 configure-libiberty
17978 @[ -f ./libiberty/Makefile ] || exit 0; \
17979 r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(HOST_EXPORTS) \
17982 for flag in $(EXTRA_HOST_FLAGS) ; do \
17983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17984 done; \
17985 echo "Doing dvi in libiberty" ; \
17986 (cd $(HOST_SUBDIR)/libiberty && \
17987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17989 "RANLIB=$${RANLIB}" \
17990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17991 dvi) \
17992 || exit 1
17994 @endif libiberty
17996 .PHONY: maybe-html-libiberty html-libiberty
17997 maybe-html-libiberty:
17998 @if libiberty
17999 maybe-html-libiberty: html-libiberty
18001 html-libiberty: \
18002 configure-libiberty
18003 @[ -f ./libiberty/Makefile ] || exit 0; \
18004 r=`${PWD_COMMAND}`; export r; \
18005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18006 $(HOST_EXPORTS) \
18007 for flag in $(EXTRA_HOST_FLAGS) ; do \
18008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18009 done; \
18010 echo "Doing html in libiberty" ; \
18011 (cd $(HOST_SUBDIR)/libiberty && \
18012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18014 "RANLIB=$${RANLIB}" \
18015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18016 html) \
18017 || exit 1
18019 @endif libiberty
18021 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18022 maybe-TAGS-libiberty:
18023 @if libiberty
18024 maybe-TAGS-libiberty: TAGS-libiberty
18026 TAGS-libiberty: \
18027 configure-libiberty
18028 @[ -f ./libiberty/Makefile ] || exit 0; \
18029 r=`${PWD_COMMAND}`; export r; \
18030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18031 $(HOST_EXPORTS) \
18032 for flag in $(EXTRA_HOST_FLAGS) ; do \
18033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18034 done; \
18035 echo "Doing TAGS in libiberty" ; \
18036 (cd $(HOST_SUBDIR)/libiberty && \
18037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18039 "RANLIB=$${RANLIB}" \
18040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18041 TAGS) \
18042 || exit 1
18044 @endif libiberty
18046 .PHONY: maybe-install-info-libiberty install-info-libiberty
18047 maybe-install-info-libiberty:
18048 @if libiberty
18049 maybe-install-info-libiberty: install-info-libiberty
18051 install-info-libiberty: \
18052 configure-libiberty \
18053 info-libiberty
18054 @[ -f ./libiberty/Makefile ] || exit 0; \
18055 r=`${PWD_COMMAND}`; export r; \
18056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18057 $(HOST_EXPORTS) \
18058 for flag in $(EXTRA_HOST_FLAGS) ; do \
18059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18060 done; \
18061 echo "Doing install-info in libiberty" ; \
18062 (cd $(HOST_SUBDIR)/libiberty && \
18063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18065 "RANLIB=$${RANLIB}" \
18066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18067 install-info) \
18068 || exit 1
18070 @endif libiberty
18072 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18073 maybe-installcheck-libiberty:
18074 @if libiberty
18075 maybe-installcheck-libiberty: installcheck-libiberty
18077 installcheck-libiberty: \
18078 configure-libiberty
18079 @[ -f ./libiberty/Makefile ] || exit 0; \
18080 r=`${PWD_COMMAND}`; export r; \
18081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18082 $(HOST_EXPORTS) \
18083 for flag in $(EXTRA_HOST_FLAGS) ; do \
18084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18085 done; \
18086 echo "Doing installcheck in libiberty" ; \
18087 (cd $(HOST_SUBDIR)/libiberty && \
18088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18090 "RANLIB=$${RANLIB}" \
18091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18092 installcheck) \
18093 || exit 1
18095 @endif libiberty
18097 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18098 maybe-mostlyclean-libiberty:
18099 @if libiberty
18100 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18102 mostlyclean-libiberty:
18103 @[ -f ./libiberty/Makefile ] || exit 0; \
18104 r=`${PWD_COMMAND}`; export r; \
18105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18106 $(HOST_EXPORTS) \
18107 for flag in $(EXTRA_HOST_FLAGS) ; do \
18108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18109 done; \
18110 echo "Doing mostlyclean in libiberty" ; \
18111 (cd $(HOST_SUBDIR)/libiberty && \
18112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18114 "RANLIB=$${RANLIB}" \
18115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18116 mostlyclean) \
18117 || exit 1
18119 @endif libiberty
18121 .PHONY: maybe-clean-libiberty clean-libiberty
18122 maybe-clean-libiberty:
18123 @if libiberty
18124 maybe-clean-libiberty: clean-libiberty
18126 clean-libiberty:
18127 @[ -f ./libiberty/Makefile ] || exit 0; \
18128 r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18130 $(HOST_EXPORTS) \
18131 for flag in $(EXTRA_HOST_FLAGS) ; do \
18132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18133 done; \
18134 echo "Doing clean in libiberty" ; \
18135 (cd $(HOST_SUBDIR)/libiberty && \
18136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18138 "RANLIB=$${RANLIB}" \
18139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18140 clean) \
18141 || exit 1
18143 @endif libiberty
18145 .PHONY: maybe-distclean-libiberty distclean-libiberty
18146 maybe-distclean-libiberty:
18147 @if libiberty
18148 maybe-distclean-libiberty: distclean-libiberty
18150 distclean-libiberty:
18151 @[ -f ./libiberty/Makefile ] || exit 0; \
18152 r=`${PWD_COMMAND}`; export r; \
18153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18154 $(HOST_EXPORTS) \
18155 for flag in $(EXTRA_HOST_FLAGS) ; do \
18156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18157 done; \
18158 echo "Doing distclean in libiberty" ; \
18159 (cd $(HOST_SUBDIR)/libiberty && \
18160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18162 "RANLIB=$${RANLIB}" \
18163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18164 distclean) \
18165 || exit 1
18167 @endif libiberty
18169 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18170 maybe-maintainer-clean-libiberty:
18171 @if libiberty
18172 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18174 maintainer-clean-libiberty:
18175 @[ -f ./libiberty/Makefile ] || exit 0; \
18176 r=`${PWD_COMMAND}`; export r; \
18177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18178 $(HOST_EXPORTS) \
18179 for flag in $(EXTRA_HOST_FLAGS) ; do \
18180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18181 done; \
18182 echo "Doing maintainer-clean in libiberty" ; \
18183 (cd $(HOST_SUBDIR)/libiberty && \
18184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18186 "RANLIB=$${RANLIB}" \
18187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18188 maintainer-clean) \
18189 || exit 1
18191 @endif libiberty
18195 .PHONY: configure-libtool maybe-configure-libtool
18196 maybe-configure-libtool:
18197 @if libtool
18198 maybe-configure-libtool: configure-libtool
18199 configure-libtool:
18200 @$(unstage)
18201 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18203 r=`${PWD_COMMAND}`; export r; \
18204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18205 $(HOST_EXPORTS) \
18206 echo Configuring in $(HOST_SUBDIR)/libtool; \
18207 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18208 case $(srcdir) in \
18209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18210 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18212 esac; \
18213 srcdiroption="--srcdir=$${topdir}/libtool"; \
18214 libsrcdir="$$s/libtool"; \
18215 $(SHELL) $${libsrcdir}/configure \
18216 $(HOST_CONFIGARGS) $${srcdiroption} \
18217 || exit 1
18218 @endif libtool
18224 .PHONY: all-libtool maybe-all-libtool
18225 maybe-all-libtool:
18226 @if libtool
18227 TARGET-libtool=all
18228 maybe-all-libtool: all-libtool
18229 all-libtool: configure-libtool
18230 @$(unstage)
18231 @r=`${PWD_COMMAND}`; export r; \
18232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18233 $(HOST_EXPORTS) \
18234 (cd $(HOST_SUBDIR)/libtool && \
18235 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18236 @endif libtool
18241 .PHONY: check-libtool maybe-check-libtool
18242 maybe-check-libtool:
18243 @if libtool
18244 maybe-check-libtool: check-libtool
18246 check-libtool:
18247 @$(unstage)
18248 @r=`${PWD_COMMAND}`; export r; \
18249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18250 $(HOST_EXPORTS) \
18251 (cd $(HOST_SUBDIR)/libtool && \
18252 $(MAKE) $(FLAGS_TO_PASS) check)
18254 @endif libtool
18256 .PHONY: install-libtool maybe-install-libtool
18257 maybe-install-libtool:
18258 @if libtool
18259 maybe-install-libtool: install-libtool
18261 install-libtool: installdirs
18262 @$(unstage)
18263 @r=`${PWD_COMMAND}`; export r; \
18264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18265 $(HOST_EXPORTS) \
18266 (cd $(HOST_SUBDIR)/libtool && \
18267 $(MAKE) $(FLAGS_TO_PASS) install)
18269 @endif libtool
18271 # Other targets (info, dvi, etc.)
18273 .PHONY: maybe-info-libtool info-libtool
18274 maybe-info-libtool:
18275 @if libtool
18276 maybe-info-libtool: info-libtool
18278 info-libtool: \
18279 configure-libtool
18280 @$(unstage)
18281 @[ -f ./libtool/Makefile ] || exit 0; \
18282 r=`${PWD_COMMAND}`; export r; \
18283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18284 $(HOST_EXPORTS) \
18285 for flag in $(EXTRA_HOST_FLAGS) ; do \
18286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18287 done; \
18288 echo "Doing info in libtool" ; \
18289 (cd $(HOST_SUBDIR)/libtool && \
18290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18292 "RANLIB=$${RANLIB}" \
18293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18294 info) \
18295 || exit 1
18297 @endif libtool
18299 .PHONY: maybe-dvi-libtool dvi-libtool
18300 maybe-dvi-libtool:
18301 @if libtool
18302 maybe-dvi-libtool: dvi-libtool
18304 dvi-libtool: \
18305 configure-libtool
18306 @$(unstage)
18307 @[ -f ./libtool/Makefile ] || exit 0; \
18308 r=`${PWD_COMMAND}`; export r; \
18309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18310 $(HOST_EXPORTS) \
18311 for flag in $(EXTRA_HOST_FLAGS) ; do \
18312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18313 done; \
18314 echo "Doing dvi in libtool" ; \
18315 (cd $(HOST_SUBDIR)/libtool && \
18316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18318 "RANLIB=$${RANLIB}" \
18319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18320 dvi) \
18321 || exit 1
18323 @endif libtool
18325 .PHONY: maybe-html-libtool html-libtool
18326 maybe-html-libtool:
18327 @if libtool
18328 maybe-html-libtool: html-libtool
18330 html-libtool: \
18331 configure-libtool
18332 @$(unstage)
18333 @[ -f ./libtool/Makefile ] || exit 0; \
18334 r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(HOST_EXPORTS) \
18337 for flag in $(EXTRA_HOST_FLAGS) ; do \
18338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18339 done; \
18340 echo "Doing html in libtool" ; \
18341 (cd $(HOST_SUBDIR)/libtool && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18344 "RANLIB=$${RANLIB}" \
18345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18346 html) \
18347 || exit 1
18349 @endif libtool
18351 .PHONY: maybe-TAGS-libtool TAGS-libtool
18352 maybe-TAGS-libtool:
18353 @if libtool
18354 maybe-TAGS-libtool: TAGS-libtool
18356 TAGS-libtool: \
18357 configure-libtool
18358 @$(unstage)
18359 @[ -f ./libtool/Makefile ] || exit 0; \
18360 r=`${PWD_COMMAND}`; export r; \
18361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18362 $(HOST_EXPORTS) \
18363 for flag in $(EXTRA_HOST_FLAGS) ; do \
18364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18365 done; \
18366 echo "Doing TAGS in libtool" ; \
18367 (cd $(HOST_SUBDIR)/libtool && \
18368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18370 "RANLIB=$${RANLIB}" \
18371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18372 TAGS) \
18373 || exit 1
18375 @endif libtool
18377 .PHONY: maybe-install-info-libtool install-info-libtool
18378 maybe-install-info-libtool:
18379 @if libtool
18380 maybe-install-info-libtool: install-info-libtool
18382 install-info-libtool: \
18383 configure-libtool \
18384 info-libtool
18385 @$(unstage)
18386 @[ -f ./libtool/Makefile ] || exit 0; \
18387 r=`${PWD_COMMAND}`; export r; \
18388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18389 $(HOST_EXPORTS) \
18390 for flag in $(EXTRA_HOST_FLAGS) ; do \
18391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18392 done; \
18393 echo "Doing install-info in libtool" ; \
18394 (cd $(HOST_SUBDIR)/libtool && \
18395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18397 "RANLIB=$${RANLIB}" \
18398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18399 install-info) \
18400 || exit 1
18402 @endif libtool
18404 .PHONY: maybe-installcheck-libtool installcheck-libtool
18405 maybe-installcheck-libtool:
18406 @if libtool
18407 maybe-installcheck-libtool: installcheck-libtool
18409 installcheck-libtool: \
18410 configure-libtool
18411 @$(unstage)
18412 @[ -f ./libtool/Makefile ] || exit 0; \
18413 r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18415 $(HOST_EXPORTS) \
18416 for flag in $(EXTRA_HOST_FLAGS) ; do \
18417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18418 done; \
18419 echo "Doing installcheck in libtool" ; \
18420 (cd $(HOST_SUBDIR)/libtool && \
18421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18423 "RANLIB=$${RANLIB}" \
18424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18425 installcheck) \
18426 || exit 1
18428 @endif libtool
18430 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18431 maybe-mostlyclean-libtool:
18432 @if libtool
18433 maybe-mostlyclean-libtool: mostlyclean-libtool
18435 mostlyclean-libtool:
18436 @$(unstage)
18437 @[ -f ./libtool/Makefile ] || exit 0; \
18438 r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 $(HOST_EXPORTS) \
18441 for flag in $(EXTRA_HOST_FLAGS) ; do \
18442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18443 done; \
18444 echo "Doing mostlyclean in libtool" ; \
18445 (cd $(HOST_SUBDIR)/libtool && \
18446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18448 "RANLIB=$${RANLIB}" \
18449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18450 mostlyclean) \
18451 || exit 1
18453 @endif libtool
18455 .PHONY: maybe-clean-libtool clean-libtool
18456 maybe-clean-libtool:
18457 @if libtool
18458 maybe-clean-libtool: clean-libtool
18460 clean-libtool:
18461 @$(unstage)
18462 @[ -f ./libtool/Makefile ] || exit 0; \
18463 r=`${PWD_COMMAND}`; export r; \
18464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18465 $(HOST_EXPORTS) \
18466 for flag in $(EXTRA_HOST_FLAGS) ; do \
18467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18468 done; \
18469 echo "Doing clean in libtool" ; \
18470 (cd $(HOST_SUBDIR)/libtool && \
18471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18473 "RANLIB=$${RANLIB}" \
18474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18475 clean) \
18476 || exit 1
18478 @endif libtool
18480 .PHONY: maybe-distclean-libtool distclean-libtool
18481 maybe-distclean-libtool:
18482 @if libtool
18483 maybe-distclean-libtool: distclean-libtool
18485 distclean-libtool:
18486 @$(unstage)
18487 @[ -f ./libtool/Makefile ] || exit 0; \
18488 r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490 $(HOST_EXPORTS) \
18491 for flag in $(EXTRA_HOST_FLAGS) ; do \
18492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18493 done; \
18494 echo "Doing distclean in libtool" ; \
18495 (cd $(HOST_SUBDIR)/libtool && \
18496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18498 "RANLIB=$${RANLIB}" \
18499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18500 distclean) \
18501 || exit 1
18503 @endif libtool
18505 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18506 maybe-maintainer-clean-libtool:
18507 @if libtool
18508 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18510 maintainer-clean-libtool:
18511 @$(unstage)
18512 @[ -f ./libtool/Makefile ] || exit 0; \
18513 r=`${PWD_COMMAND}`; export r; \
18514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 $(HOST_EXPORTS) \
18516 for flag in $(EXTRA_HOST_FLAGS) ; do \
18517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18518 done; \
18519 echo "Doing maintainer-clean in libtool" ; \
18520 (cd $(HOST_SUBDIR)/libtool && \
18521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18523 "RANLIB=$${RANLIB}" \
18524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18525 maintainer-clean) \
18526 || exit 1
18528 @endif libtool
18532 .PHONY: configure-m4 maybe-configure-m4
18533 maybe-configure-m4:
18534 @if m4
18535 maybe-configure-m4: configure-m4
18536 configure-m4:
18537 @$(unstage)
18538 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18540 r=`${PWD_COMMAND}`; export r; \
18541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 $(HOST_EXPORTS) \
18543 echo Configuring in $(HOST_SUBDIR)/m4; \
18544 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18545 case $(srcdir) in \
18546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18547 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18549 esac; \
18550 srcdiroption="--srcdir=$${topdir}/m4"; \
18551 libsrcdir="$$s/m4"; \
18552 $(SHELL) $${libsrcdir}/configure \
18553 $(HOST_CONFIGARGS) $${srcdiroption} \
18554 || exit 1
18555 @endif m4
18561 .PHONY: all-m4 maybe-all-m4
18562 maybe-all-m4:
18563 @if m4
18564 TARGET-m4=all
18565 maybe-all-m4: all-m4
18566 all-m4: configure-m4
18567 @$(unstage)
18568 @r=`${PWD_COMMAND}`; export r; \
18569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18570 $(HOST_EXPORTS) \
18571 (cd $(HOST_SUBDIR)/m4 && \
18572 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18573 @endif m4
18578 .PHONY: check-m4 maybe-check-m4
18579 maybe-check-m4:
18580 @if m4
18581 maybe-check-m4: check-m4
18583 check-m4:
18584 @$(unstage)
18585 @r=`${PWD_COMMAND}`; export r; \
18586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18587 $(HOST_EXPORTS) \
18588 (cd $(HOST_SUBDIR)/m4 && \
18589 $(MAKE) $(FLAGS_TO_PASS) check)
18591 @endif m4
18593 .PHONY: install-m4 maybe-install-m4
18594 maybe-install-m4:
18595 @if m4
18596 maybe-install-m4: install-m4
18598 install-m4: installdirs
18599 @$(unstage)
18600 @r=`${PWD_COMMAND}`; export r; \
18601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18602 $(HOST_EXPORTS) \
18603 (cd $(HOST_SUBDIR)/m4 && \
18604 $(MAKE) $(FLAGS_TO_PASS) install)
18606 @endif m4
18608 # Other targets (info, dvi, etc.)
18610 .PHONY: maybe-info-m4 info-m4
18611 maybe-info-m4:
18612 @if m4
18613 maybe-info-m4: info-m4
18615 info-m4: \
18616 configure-m4
18617 @$(unstage)
18618 @[ -f ./m4/Makefile ] || exit 0; \
18619 r=`${PWD_COMMAND}`; export r; \
18620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18621 $(HOST_EXPORTS) \
18622 for flag in $(EXTRA_HOST_FLAGS) ; do \
18623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18624 done; \
18625 echo "Doing info in m4" ; \
18626 (cd $(HOST_SUBDIR)/m4 && \
18627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18629 "RANLIB=$${RANLIB}" \
18630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18631 info) \
18632 || exit 1
18634 @endif m4
18636 .PHONY: maybe-dvi-m4 dvi-m4
18637 maybe-dvi-m4:
18638 @if m4
18639 maybe-dvi-m4: dvi-m4
18641 dvi-m4: \
18642 configure-m4
18643 @$(unstage)
18644 @[ -f ./m4/Makefile ] || exit 0; \
18645 r=`${PWD_COMMAND}`; export r; \
18646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18647 $(HOST_EXPORTS) \
18648 for flag in $(EXTRA_HOST_FLAGS) ; do \
18649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18650 done; \
18651 echo "Doing dvi in m4" ; \
18652 (cd $(HOST_SUBDIR)/m4 && \
18653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18655 "RANLIB=$${RANLIB}" \
18656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18657 dvi) \
18658 || exit 1
18660 @endif m4
18662 .PHONY: maybe-html-m4 html-m4
18663 maybe-html-m4:
18664 @if m4
18665 maybe-html-m4: html-m4
18667 html-m4: \
18668 configure-m4
18669 @$(unstage)
18670 @[ -f ./m4/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 html in m4" ; \
18678 (cd $(HOST_SUBDIR)/m4 && \
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 html) \
18684 || exit 1
18686 @endif m4
18688 .PHONY: maybe-TAGS-m4 TAGS-m4
18689 maybe-TAGS-m4:
18690 @if m4
18691 maybe-TAGS-m4: TAGS-m4
18693 TAGS-m4: \
18694 configure-m4
18695 @$(unstage)
18696 @[ -f ./m4/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 TAGS in m4" ; \
18704 (cd $(HOST_SUBDIR)/m4 && \
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 TAGS) \
18710 || exit 1
18712 @endif m4
18714 .PHONY: maybe-install-info-m4 install-info-m4
18715 maybe-install-info-m4:
18716 @if m4
18717 maybe-install-info-m4: install-info-m4
18719 install-info-m4: \
18720 configure-m4 \
18721 info-m4
18722 @$(unstage)
18723 @[ -f ./m4/Makefile ] || exit 0; \
18724 r=`${PWD_COMMAND}`; export r; \
18725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18726 $(HOST_EXPORTS) \
18727 for flag in $(EXTRA_HOST_FLAGS) ; do \
18728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18729 done; \
18730 echo "Doing install-info in m4" ; \
18731 (cd $(HOST_SUBDIR)/m4 && \
18732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18734 "RANLIB=$${RANLIB}" \
18735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18736 install-info) \
18737 || exit 1
18739 @endif m4
18741 .PHONY: maybe-installcheck-m4 installcheck-m4
18742 maybe-installcheck-m4:
18743 @if m4
18744 maybe-installcheck-m4: installcheck-m4
18746 installcheck-m4: \
18747 configure-m4
18748 @$(unstage)
18749 @[ -f ./m4/Makefile ] || exit 0; \
18750 r=`${PWD_COMMAND}`; export r; \
18751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18752 $(HOST_EXPORTS) \
18753 for flag in $(EXTRA_HOST_FLAGS) ; do \
18754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18755 done; \
18756 echo "Doing installcheck in m4" ; \
18757 (cd $(HOST_SUBDIR)/m4 && \
18758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18760 "RANLIB=$${RANLIB}" \
18761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18762 installcheck) \
18763 || exit 1
18765 @endif m4
18767 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18768 maybe-mostlyclean-m4:
18769 @if m4
18770 maybe-mostlyclean-m4: mostlyclean-m4
18772 mostlyclean-m4:
18773 @$(unstage)
18774 @[ -f ./m4/Makefile ] || exit 0; \
18775 r=`${PWD_COMMAND}`; export r; \
18776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18777 $(HOST_EXPORTS) \
18778 for flag in $(EXTRA_HOST_FLAGS) ; do \
18779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18780 done; \
18781 echo "Doing mostlyclean in m4" ; \
18782 (cd $(HOST_SUBDIR)/m4 && \
18783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18785 "RANLIB=$${RANLIB}" \
18786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18787 mostlyclean) \
18788 || exit 1
18790 @endif m4
18792 .PHONY: maybe-clean-m4 clean-m4
18793 maybe-clean-m4:
18794 @if m4
18795 maybe-clean-m4: clean-m4
18797 clean-m4:
18798 @$(unstage)
18799 @[ -f ./m4/Makefile ] || exit 0; \
18800 r=`${PWD_COMMAND}`; export r; \
18801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18802 $(HOST_EXPORTS) \
18803 for flag in $(EXTRA_HOST_FLAGS) ; do \
18804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18805 done; \
18806 echo "Doing clean in m4" ; \
18807 (cd $(HOST_SUBDIR)/m4 && \
18808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18810 "RANLIB=$${RANLIB}" \
18811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18812 clean) \
18813 || exit 1
18815 @endif m4
18817 .PHONY: maybe-distclean-m4 distclean-m4
18818 maybe-distclean-m4:
18819 @if m4
18820 maybe-distclean-m4: distclean-m4
18822 distclean-m4:
18823 @$(unstage)
18824 @[ -f ./m4/Makefile ] || exit 0; \
18825 r=`${PWD_COMMAND}`; export r; \
18826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18827 $(HOST_EXPORTS) \
18828 for flag in $(EXTRA_HOST_FLAGS) ; do \
18829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18830 done; \
18831 echo "Doing distclean in m4" ; \
18832 (cd $(HOST_SUBDIR)/m4 && \
18833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18835 "RANLIB=$${RANLIB}" \
18836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18837 distclean) \
18838 || exit 1
18840 @endif m4
18842 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18843 maybe-maintainer-clean-m4:
18844 @if m4
18845 maybe-maintainer-clean-m4: maintainer-clean-m4
18847 maintainer-clean-m4:
18848 @$(unstage)
18849 @[ -f ./m4/Makefile ] || exit 0; \
18850 r=`${PWD_COMMAND}`; export r; \
18851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18852 $(HOST_EXPORTS) \
18853 for flag in $(EXTRA_HOST_FLAGS) ; do \
18854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18855 done; \
18856 echo "Doing maintainer-clean in m4" ; \
18857 (cd $(HOST_SUBDIR)/m4 && \
18858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18860 "RANLIB=$${RANLIB}" \
18861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18862 maintainer-clean) \
18863 || exit 1
18865 @endif m4
18869 .PHONY: configure-make maybe-configure-make
18870 maybe-configure-make:
18871 @if make
18872 maybe-configure-make: configure-make
18873 configure-make:
18874 @$(unstage)
18875 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18877 r=`${PWD_COMMAND}`; export r; \
18878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18879 $(HOST_EXPORTS) \
18880 echo Configuring in $(HOST_SUBDIR)/make; \
18881 cd "$(HOST_SUBDIR)/make" || exit 1; \
18882 case $(srcdir) in \
18883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18884 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18886 esac; \
18887 srcdiroption="--srcdir=$${topdir}/make"; \
18888 libsrcdir="$$s/make"; \
18889 $(SHELL) $${libsrcdir}/configure \
18890 $(HOST_CONFIGARGS) $${srcdiroption} \
18891 || exit 1
18892 @endif make
18898 .PHONY: all-make maybe-all-make
18899 maybe-all-make:
18900 @if make
18901 TARGET-make=all
18902 maybe-all-make: all-make
18903 all-make: configure-make
18904 @$(unstage)
18905 @r=`${PWD_COMMAND}`; export r; \
18906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18907 $(HOST_EXPORTS) \
18908 (cd $(HOST_SUBDIR)/make && \
18909 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18910 @endif make
18915 .PHONY: check-make maybe-check-make
18916 maybe-check-make:
18917 @if make
18918 maybe-check-make: check-make
18920 check-make:
18921 @$(unstage)
18922 @r=`${PWD_COMMAND}`; export r; \
18923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18924 $(HOST_EXPORTS) \
18925 (cd $(HOST_SUBDIR)/make && \
18926 $(MAKE) $(FLAGS_TO_PASS) check)
18928 @endif make
18930 .PHONY: install-make maybe-install-make
18931 maybe-install-make:
18932 @if make
18933 maybe-install-make: install-make
18935 install-make: installdirs
18936 @$(unstage)
18937 @r=`${PWD_COMMAND}`; export r; \
18938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18939 $(HOST_EXPORTS) \
18940 (cd $(HOST_SUBDIR)/make && \
18941 $(MAKE) $(FLAGS_TO_PASS) install)
18943 @endif make
18945 # Other targets (info, dvi, etc.)
18947 .PHONY: maybe-info-make info-make
18948 maybe-info-make:
18949 @if make
18950 maybe-info-make: info-make
18952 info-make: \
18953 configure-make
18954 @$(unstage)
18955 @[ -f ./make/Makefile ] || exit 0; \
18956 r=`${PWD_COMMAND}`; export r; \
18957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18958 $(HOST_EXPORTS) \
18959 for flag in $(EXTRA_HOST_FLAGS) ; do \
18960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18961 done; \
18962 echo "Doing info in make" ; \
18963 (cd $(HOST_SUBDIR)/make && \
18964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18966 "RANLIB=$${RANLIB}" \
18967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18968 info) \
18969 || exit 1
18971 @endif make
18973 .PHONY: maybe-dvi-make dvi-make
18974 maybe-dvi-make:
18975 @if make
18976 maybe-dvi-make: dvi-make
18978 dvi-make: \
18979 configure-make
18980 @$(unstage)
18981 @[ -f ./make/Makefile ] || exit 0; \
18982 r=`${PWD_COMMAND}`; export r; \
18983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18984 $(HOST_EXPORTS) \
18985 for flag in $(EXTRA_HOST_FLAGS) ; do \
18986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18987 done; \
18988 echo "Doing dvi in make" ; \
18989 (cd $(HOST_SUBDIR)/make && \
18990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18992 "RANLIB=$${RANLIB}" \
18993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18994 dvi) \
18995 || exit 1
18997 @endif make
18999 .PHONY: maybe-html-make html-make
19000 maybe-html-make:
19001 @if make
19002 maybe-html-make: html-make
19004 html-make: \
19005 configure-make
19006 @$(unstage)
19007 @[ -f ./make/Makefile ] || exit 0; \
19008 r=`${PWD_COMMAND}`; export r; \
19009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19010 $(HOST_EXPORTS) \
19011 for flag in $(EXTRA_HOST_FLAGS) ; do \
19012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19013 done; \
19014 echo "Doing html in make" ; \
19015 (cd $(HOST_SUBDIR)/make && \
19016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19018 "RANLIB=$${RANLIB}" \
19019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19020 html) \
19021 || exit 1
19023 @endif make
19025 .PHONY: maybe-TAGS-make TAGS-make
19026 maybe-TAGS-make:
19027 @if make
19028 maybe-TAGS-make: TAGS-make
19030 TAGS-make: \
19031 configure-make
19032 @$(unstage)
19033 @[ -f ./make/Makefile ] || exit 0; \
19034 r=`${PWD_COMMAND}`; export r; \
19035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19036 $(HOST_EXPORTS) \
19037 for flag in $(EXTRA_HOST_FLAGS) ; do \
19038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19039 done; \
19040 echo "Doing TAGS in make" ; \
19041 (cd $(HOST_SUBDIR)/make && \
19042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19044 "RANLIB=$${RANLIB}" \
19045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19046 TAGS) \
19047 || exit 1
19049 @endif make
19051 .PHONY: maybe-install-info-make install-info-make
19052 maybe-install-info-make:
19053 @if make
19054 maybe-install-info-make: install-info-make
19056 install-info-make: \
19057 configure-make \
19058 info-make
19059 @$(unstage)
19060 @[ -f ./make/Makefile ] || exit 0; \
19061 r=`${PWD_COMMAND}`; export r; \
19062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19063 $(HOST_EXPORTS) \
19064 for flag in $(EXTRA_HOST_FLAGS) ; do \
19065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19066 done; \
19067 echo "Doing install-info in make" ; \
19068 (cd $(HOST_SUBDIR)/make && \
19069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19071 "RANLIB=$${RANLIB}" \
19072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19073 install-info) \
19074 || exit 1
19076 @endif make
19078 .PHONY: maybe-installcheck-make installcheck-make
19079 maybe-installcheck-make:
19080 @if make
19081 maybe-installcheck-make: installcheck-make
19083 installcheck-make: \
19084 configure-make
19085 @$(unstage)
19086 @[ -f ./make/Makefile ] || exit 0; \
19087 r=`${PWD_COMMAND}`; export r; \
19088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19089 $(HOST_EXPORTS) \
19090 for flag in $(EXTRA_HOST_FLAGS) ; do \
19091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19092 done; \
19093 echo "Doing installcheck in make" ; \
19094 (cd $(HOST_SUBDIR)/make && \
19095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19097 "RANLIB=$${RANLIB}" \
19098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19099 installcheck) \
19100 || exit 1
19102 @endif make
19104 .PHONY: maybe-mostlyclean-make mostlyclean-make
19105 maybe-mostlyclean-make:
19106 @if make
19107 maybe-mostlyclean-make: mostlyclean-make
19109 mostlyclean-make:
19110 @$(unstage)
19111 @[ -f ./make/Makefile ] || exit 0; \
19112 r=`${PWD_COMMAND}`; export r; \
19113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19114 $(HOST_EXPORTS) \
19115 for flag in $(EXTRA_HOST_FLAGS) ; do \
19116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19117 done; \
19118 echo "Doing mostlyclean in make" ; \
19119 (cd $(HOST_SUBDIR)/make && \
19120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19122 "RANLIB=$${RANLIB}" \
19123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19124 mostlyclean) \
19125 || exit 1
19127 @endif make
19129 .PHONY: maybe-clean-make clean-make
19130 maybe-clean-make:
19131 @if make
19132 maybe-clean-make: clean-make
19134 clean-make:
19135 @$(unstage)
19136 @[ -f ./make/Makefile ] || exit 0; \
19137 r=`${PWD_COMMAND}`; export r; \
19138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19139 $(HOST_EXPORTS) \
19140 for flag in $(EXTRA_HOST_FLAGS) ; do \
19141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19142 done; \
19143 echo "Doing clean in make" ; \
19144 (cd $(HOST_SUBDIR)/make && \
19145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19147 "RANLIB=$${RANLIB}" \
19148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19149 clean) \
19150 || exit 1
19152 @endif make
19154 .PHONY: maybe-distclean-make distclean-make
19155 maybe-distclean-make:
19156 @if make
19157 maybe-distclean-make: distclean-make
19159 distclean-make:
19160 @$(unstage)
19161 @[ -f ./make/Makefile ] || exit 0; \
19162 r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19164 $(HOST_EXPORTS) \
19165 for flag in $(EXTRA_HOST_FLAGS) ; do \
19166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19167 done; \
19168 echo "Doing distclean in make" ; \
19169 (cd $(HOST_SUBDIR)/make && \
19170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19172 "RANLIB=$${RANLIB}" \
19173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19174 distclean) \
19175 || exit 1
19177 @endif make
19179 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19180 maybe-maintainer-clean-make:
19181 @if make
19182 maybe-maintainer-clean-make: maintainer-clean-make
19184 maintainer-clean-make:
19185 @$(unstage)
19186 @[ -f ./make/Makefile ] || exit 0; \
19187 r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19189 $(HOST_EXPORTS) \
19190 for flag in $(EXTRA_HOST_FLAGS) ; do \
19191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19192 done; \
19193 echo "Doing maintainer-clean in make" ; \
19194 (cd $(HOST_SUBDIR)/make && \
19195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19197 "RANLIB=$${RANLIB}" \
19198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19199 maintainer-clean) \
19200 || exit 1
19202 @endif make
19206 .PHONY: configure-mmalloc maybe-configure-mmalloc
19207 maybe-configure-mmalloc:
19208 @if mmalloc
19209 maybe-configure-mmalloc: configure-mmalloc
19210 configure-mmalloc:
19211 @$(unstage)
19212 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19214 r=`${PWD_COMMAND}`; export r; \
19215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19216 $(HOST_EXPORTS) \
19217 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19218 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19219 case $(srcdir) in \
19220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19221 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19223 esac; \
19224 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19225 libsrcdir="$$s/mmalloc"; \
19226 $(SHELL) $${libsrcdir}/configure \
19227 $(HOST_CONFIGARGS) $${srcdiroption} \
19228 || exit 1
19229 @endif mmalloc
19235 .PHONY: all-mmalloc maybe-all-mmalloc
19236 maybe-all-mmalloc:
19237 @if mmalloc
19238 TARGET-mmalloc=all
19239 maybe-all-mmalloc: all-mmalloc
19240 all-mmalloc: configure-mmalloc
19241 @$(unstage)
19242 @r=`${PWD_COMMAND}`; export r; \
19243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 $(HOST_EXPORTS) \
19245 (cd $(HOST_SUBDIR)/mmalloc && \
19246 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19247 @endif mmalloc
19252 .PHONY: check-mmalloc maybe-check-mmalloc
19253 maybe-check-mmalloc:
19254 @if mmalloc
19255 maybe-check-mmalloc: check-mmalloc
19257 check-mmalloc:
19259 @endif mmalloc
19261 .PHONY: install-mmalloc maybe-install-mmalloc
19262 maybe-install-mmalloc:
19263 @if mmalloc
19264 maybe-install-mmalloc: install-mmalloc
19266 install-mmalloc: installdirs
19267 @$(unstage)
19268 @r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270 $(HOST_EXPORTS) \
19271 (cd $(HOST_SUBDIR)/mmalloc && \
19272 $(MAKE) $(FLAGS_TO_PASS) install)
19274 @endif mmalloc
19276 # Other targets (info, dvi, etc.)
19278 .PHONY: maybe-info-mmalloc info-mmalloc
19279 maybe-info-mmalloc:
19280 @if mmalloc
19281 maybe-info-mmalloc: info-mmalloc
19283 info-mmalloc: \
19284 configure-mmalloc
19285 @$(unstage)
19286 @[ -f ./mmalloc/Makefile ] || exit 0; \
19287 r=`${PWD_COMMAND}`; export r; \
19288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19289 $(HOST_EXPORTS) \
19290 for flag in $(EXTRA_HOST_FLAGS) ; do \
19291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19292 done; \
19293 echo "Doing info in mmalloc" ; \
19294 (cd $(HOST_SUBDIR)/mmalloc && \
19295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19297 "RANLIB=$${RANLIB}" \
19298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19299 info) \
19300 || exit 1
19302 @endif mmalloc
19304 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19305 maybe-dvi-mmalloc:
19306 @if mmalloc
19307 maybe-dvi-mmalloc: dvi-mmalloc
19309 dvi-mmalloc: \
19310 configure-mmalloc
19311 @$(unstage)
19312 @[ -f ./mmalloc/Makefile ] || exit 0; \
19313 r=`${PWD_COMMAND}`; export r; \
19314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19315 $(HOST_EXPORTS) \
19316 for flag in $(EXTRA_HOST_FLAGS) ; do \
19317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19318 done; \
19319 echo "Doing dvi in mmalloc" ; \
19320 (cd $(HOST_SUBDIR)/mmalloc && \
19321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19323 "RANLIB=$${RANLIB}" \
19324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19325 dvi) \
19326 || exit 1
19328 @endif mmalloc
19330 .PHONY: maybe-html-mmalloc html-mmalloc
19331 maybe-html-mmalloc:
19332 @if mmalloc
19333 maybe-html-mmalloc: html-mmalloc
19335 html-mmalloc: \
19336 configure-mmalloc
19337 @$(unstage)
19338 @[ -f ./mmalloc/Makefile ] || exit 0; \
19339 r=`${PWD_COMMAND}`; export r; \
19340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19341 $(HOST_EXPORTS) \
19342 for flag in $(EXTRA_HOST_FLAGS) ; do \
19343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19344 done; \
19345 echo "Doing html in mmalloc" ; \
19346 (cd $(HOST_SUBDIR)/mmalloc && \
19347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19349 "RANLIB=$${RANLIB}" \
19350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19351 html) \
19352 || exit 1
19354 @endif mmalloc
19356 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19357 maybe-TAGS-mmalloc:
19358 @if mmalloc
19359 maybe-TAGS-mmalloc: TAGS-mmalloc
19361 TAGS-mmalloc: \
19362 configure-mmalloc
19363 @$(unstage)
19364 @[ -f ./mmalloc/Makefile ] || exit 0; \
19365 r=`${PWD_COMMAND}`; export r; \
19366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19367 $(HOST_EXPORTS) \
19368 for flag in $(EXTRA_HOST_FLAGS) ; do \
19369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19370 done; \
19371 echo "Doing TAGS in mmalloc" ; \
19372 (cd $(HOST_SUBDIR)/mmalloc && \
19373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19375 "RANLIB=$${RANLIB}" \
19376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19377 TAGS) \
19378 || exit 1
19380 @endif mmalloc
19382 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19383 maybe-install-info-mmalloc:
19384 @if mmalloc
19385 maybe-install-info-mmalloc: install-info-mmalloc
19387 install-info-mmalloc: \
19388 configure-mmalloc \
19389 info-mmalloc
19390 @$(unstage)
19391 @[ -f ./mmalloc/Makefile ] || exit 0; \
19392 r=`${PWD_COMMAND}`; export r; \
19393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394 $(HOST_EXPORTS) \
19395 for flag in $(EXTRA_HOST_FLAGS) ; do \
19396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19397 done; \
19398 echo "Doing install-info in mmalloc" ; \
19399 (cd $(HOST_SUBDIR)/mmalloc && \
19400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19402 "RANLIB=$${RANLIB}" \
19403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19404 install-info) \
19405 || exit 1
19407 @endif mmalloc
19409 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19410 maybe-installcheck-mmalloc:
19411 @if mmalloc
19412 maybe-installcheck-mmalloc: installcheck-mmalloc
19414 installcheck-mmalloc: \
19415 configure-mmalloc
19416 @$(unstage)
19417 @[ -f ./mmalloc/Makefile ] || exit 0; \
19418 r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 $(HOST_EXPORTS) \
19421 for flag in $(EXTRA_HOST_FLAGS) ; do \
19422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19423 done; \
19424 echo "Doing installcheck in mmalloc" ; \
19425 (cd $(HOST_SUBDIR)/mmalloc && \
19426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19428 "RANLIB=$${RANLIB}" \
19429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19430 installcheck) \
19431 || exit 1
19433 @endif mmalloc
19435 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19436 maybe-mostlyclean-mmalloc:
19437 @if mmalloc
19438 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19440 mostlyclean-mmalloc:
19441 @$(unstage)
19442 @[ -f ./mmalloc/Makefile ] || exit 0; \
19443 r=`${PWD_COMMAND}`; export r; \
19444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19445 $(HOST_EXPORTS) \
19446 for flag in $(EXTRA_HOST_FLAGS) ; do \
19447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19448 done; \
19449 echo "Doing mostlyclean in mmalloc" ; \
19450 (cd $(HOST_SUBDIR)/mmalloc && \
19451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19453 "RANLIB=$${RANLIB}" \
19454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19455 mostlyclean) \
19456 || exit 1
19458 @endif mmalloc
19460 .PHONY: maybe-clean-mmalloc clean-mmalloc
19461 maybe-clean-mmalloc:
19462 @if mmalloc
19463 maybe-clean-mmalloc: clean-mmalloc
19465 clean-mmalloc:
19466 @$(unstage)
19467 @[ -f ./mmalloc/Makefile ] || exit 0; \
19468 r=`${PWD_COMMAND}`; export r; \
19469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19470 $(HOST_EXPORTS) \
19471 for flag in $(EXTRA_HOST_FLAGS) ; do \
19472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19473 done; \
19474 echo "Doing clean in mmalloc" ; \
19475 (cd $(HOST_SUBDIR)/mmalloc && \
19476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19478 "RANLIB=$${RANLIB}" \
19479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19480 clean) \
19481 || exit 1
19483 @endif mmalloc
19485 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19486 maybe-distclean-mmalloc:
19487 @if mmalloc
19488 maybe-distclean-mmalloc: distclean-mmalloc
19490 distclean-mmalloc:
19491 @$(unstage)
19492 @[ -f ./mmalloc/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 $(HOST_EXPORTS) \
19496 for flag in $(EXTRA_HOST_FLAGS) ; do \
19497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19498 done; \
19499 echo "Doing distclean in mmalloc" ; \
19500 (cd $(HOST_SUBDIR)/mmalloc && \
19501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19503 "RANLIB=$${RANLIB}" \
19504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19505 distclean) \
19506 || exit 1
19508 @endif mmalloc
19510 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19511 maybe-maintainer-clean-mmalloc:
19512 @if mmalloc
19513 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19515 maintainer-clean-mmalloc:
19516 @$(unstage)
19517 @[ -f ./mmalloc/Makefile ] || exit 0; \
19518 r=`${PWD_COMMAND}`; export r; \
19519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19520 $(HOST_EXPORTS) \
19521 for flag in $(EXTRA_HOST_FLAGS) ; do \
19522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19523 done; \
19524 echo "Doing maintainer-clean in mmalloc" ; \
19525 (cd $(HOST_SUBDIR)/mmalloc && \
19526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19528 "RANLIB=$${RANLIB}" \
19529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19530 maintainer-clean) \
19531 || exit 1
19533 @endif mmalloc
19537 .PHONY: configure-patch maybe-configure-patch
19538 maybe-configure-patch:
19539 @if patch
19540 maybe-configure-patch: configure-patch
19541 configure-patch:
19542 @$(unstage)
19543 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19545 r=`${PWD_COMMAND}`; export r; \
19546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19547 $(HOST_EXPORTS) \
19548 echo Configuring in $(HOST_SUBDIR)/patch; \
19549 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19550 case $(srcdir) in \
19551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19552 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19554 esac; \
19555 srcdiroption="--srcdir=$${topdir}/patch"; \
19556 libsrcdir="$$s/patch"; \
19557 $(SHELL) $${libsrcdir}/configure \
19558 $(HOST_CONFIGARGS) $${srcdiroption} \
19559 || exit 1
19560 @endif patch
19566 .PHONY: all-patch maybe-all-patch
19567 maybe-all-patch:
19568 @if patch
19569 TARGET-patch=all
19570 maybe-all-patch: all-patch
19571 all-patch: configure-patch
19572 @$(unstage)
19573 @r=`${PWD_COMMAND}`; export r; \
19574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19575 $(HOST_EXPORTS) \
19576 (cd $(HOST_SUBDIR)/patch && \
19577 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19578 @endif patch
19583 .PHONY: check-patch maybe-check-patch
19584 maybe-check-patch:
19585 @if patch
19586 maybe-check-patch: check-patch
19588 check-patch:
19589 @$(unstage)
19590 @r=`${PWD_COMMAND}`; export r; \
19591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19592 $(HOST_EXPORTS) \
19593 (cd $(HOST_SUBDIR)/patch && \
19594 $(MAKE) $(FLAGS_TO_PASS) check)
19596 @endif patch
19598 .PHONY: install-patch maybe-install-patch
19599 maybe-install-patch:
19600 @if patch
19601 maybe-install-patch: install-patch
19603 install-patch: installdirs
19604 @$(unstage)
19605 @r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19607 $(HOST_EXPORTS) \
19608 (cd $(HOST_SUBDIR)/patch && \
19609 $(MAKE) $(FLAGS_TO_PASS) install)
19611 @endif patch
19613 # Other targets (info, dvi, etc.)
19615 .PHONY: maybe-info-patch info-patch
19616 maybe-info-patch:
19617 @if patch
19618 maybe-info-patch: info-patch
19620 info-patch: \
19621 configure-patch
19622 @$(unstage)
19623 @[ -f ./patch/Makefile ] || exit 0; \
19624 r=`${PWD_COMMAND}`; export r; \
19625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19626 $(HOST_EXPORTS) \
19627 for flag in $(EXTRA_HOST_FLAGS) ; do \
19628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19629 done; \
19630 echo "Doing info in patch" ; \
19631 (cd $(HOST_SUBDIR)/patch && \
19632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19634 "RANLIB=$${RANLIB}" \
19635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19636 info) \
19637 || exit 1
19639 @endif patch
19641 .PHONY: maybe-dvi-patch dvi-patch
19642 maybe-dvi-patch:
19643 @if patch
19644 maybe-dvi-patch: dvi-patch
19646 dvi-patch: \
19647 configure-patch
19648 @$(unstage)
19649 @[ -f ./patch/Makefile ] || exit 0; \
19650 r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 $(HOST_EXPORTS) \
19653 for flag in $(EXTRA_HOST_FLAGS) ; do \
19654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19655 done; \
19656 echo "Doing dvi in patch" ; \
19657 (cd $(HOST_SUBDIR)/patch && \
19658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19660 "RANLIB=$${RANLIB}" \
19661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19662 dvi) \
19663 || exit 1
19665 @endif patch
19667 .PHONY: maybe-html-patch html-patch
19668 maybe-html-patch:
19669 @if patch
19670 maybe-html-patch: html-patch
19672 html-patch: \
19673 configure-patch
19674 @$(unstage)
19675 @[ -f ./patch/Makefile ] || exit 0; \
19676 r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 $(HOST_EXPORTS) \
19679 for flag in $(EXTRA_HOST_FLAGS) ; do \
19680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19681 done; \
19682 echo "Doing html in patch" ; \
19683 (cd $(HOST_SUBDIR)/patch && \
19684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19686 "RANLIB=$${RANLIB}" \
19687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19688 html) \
19689 || exit 1
19691 @endif patch
19693 .PHONY: maybe-TAGS-patch TAGS-patch
19694 maybe-TAGS-patch:
19695 @if patch
19696 maybe-TAGS-patch: TAGS-patch
19698 TAGS-patch: \
19699 configure-patch
19700 @$(unstage)
19701 @[ -f ./patch/Makefile ] || exit 0; \
19702 r=`${PWD_COMMAND}`; export r; \
19703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19704 $(HOST_EXPORTS) \
19705 for flag in $(EXTRA_HOST_FLAGS) ; do \
19706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19707 done; \
19708 echo "Doing TAGS in patch" ; \
19709 (cd $(HOST_SUBDIR)/patch && \
19710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19712 "RANLIB=$${RANLIB}" \
19713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19714 TAGS) \
19715 || exit 1
19717 @endif patch
19719 .PHONY: maybe-install-info-patch install-info-patch
19720 maybe-install-info-patch:
19721 @if patch
19722 maybe-install-info-patch: install-info-patch
19724 install-info-patch: \
19725 configure-patch \
19726 info-patch
19727 @$(unstage)
19728 @[ -f ./patch/Makefile ] || exit 0; \
19729 r=`${PWD_COMMAND}`; export r; \
19730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19731 $(HOST_EXPORTS) \
19732 for flag in $(EXTRA_HOST_FLAGS) ; do \
19733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19734 done; \
19735 echo "Doing install-info in patch" ; \
19736 (cd $(HOST_SUBDIR)/patch && \
19737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19739 "RANLIB=$${RANLIB}" \
19740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19741 install-info) \
19742 || exit 1
19744 @endif patch
19746 .PHONY: maybe-installcheck-patch installcheck-patch
19747 maybe-installcheck-patch:
19748 @if patch
19749 maybe-installcheck-patch: installcheck-patch
19751 installcheck-patch: \
19752 configure-patch
19753 @$(unstage)
19754 @[ -f ./patch/Makefile ] || exit 0; \
19755 r=`${PWD_COMMAND}`; export r; \
19756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19757 $(HOST_EXPORTS) \
19758 for flag in $(EXTRA_HOST_FLAGS) ; do \
19759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19760 done; \
19761 echo "Doing installcheck in patch" ; \
19762 (cd $(HOST_SUBDIR)/patch && \
19763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19765 "RANLIB=$${RANLIB}" \
19766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19767 installcheck) \
19768 || exit 1
19770 @endif patch
19772 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19773 maybe-mostlyclean-patch:
19774 @if patch
19775 maybe-mostlyclean-patch: mostlyclean-patch
19777 mostlyclean-patch:
19778 @$(unstage)
19779 @[ -f ./patch/Makefile ] || exit 0; \
19780 r=`${PWD_COMMAND}`; export r; \
19781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19782 $(HOST_EXPORTS) \
19783 for flag in $(EXTRA_HOST_FLAGS) ; do \
19784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19785 done; \
19786 echo "Doing mostlyclean in patch" ; \
19787 (cd $(HOST_SUBDIR)/patch && \
19788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19790 "RANLIB=$${RANLIB}" \
19791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19792 mostlyclean) \
19793 || exit 1
19795 @endif patch
19797 .PHONY: maybe-clean-patch clean-patch
19798 maybe-clean-patch:
19799 @if patch
19800 maybe-clean-patch: clean-patch
19802 clean-patch:
19803 @$(unstage)
19804 @[ -f ./patch/Makefile ] || exit 0; \
19805 r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807 $(HOST_EXPORTS) \
19808 for flag in $(EXTRA_HOST_FLAGS) ; do \
19809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19810 done; \
19811 echo "Doing clean in patch" ; \
19812 (cd $(HOST_SUBDIR)/patch && \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19817 clean) \
19818 || exit 1
19820 @endif patch
19822 .PHONY: maybe-distclean-patch distclean-patch
19823 maybe-distclean-patch:
19824 @if patch
19825 maybe-distclean-patch: distclean-patch
19827 distclean-patch:
19828 @$(unstage)
19829 @[ -f ./patch/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(HOST_EXPORTS) \
19833 for flag in $(EXTRA_HOST_FLAGS) ; do \
19834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 done; \
19836 echo "Doing distclean in patch" ; \
19837 (cd $(HOST_SUBDIR)/patch && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19840 "RANLIB=$${RANLIB}" \
19841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19842 distclean) \
19843 || exit 1
19845 @endif patch
19847 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19848 maybe-maintainer-clean-patch:
19849 @if patch
19850 maybe-maintainer-clean-patch: maintainer-clean-patch
19852 maintainer-clean-patch:
19853 @$(unstage)
19854 @[ -f ./patch/Makefile ] || exit 0; \
19855 r=`${PWD_COMMAND}`; export r; \
19856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19857 $(HOST_EXPORTS) \
19858 for flag in $(EXTRA_HOST_FLAGS) ; do \
19859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19860 done; \
19861 echo "Doing maintainer-clean in patch" ; \
19862 (cd $(HOST_SUBDIR)/patch && \
19863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19865 "RANLIB=$${RANLIB}" \
19866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19867 maintainer-clean) \
19868 || exit 1
19870 @endif patch
19874 .PHONY: configure-perl maybe-configure-perl
19875 maybe-configure-perl:
19876 @if perl
19877 maybe-configure-perl: configure-perl
19878 configure-perl:
19879 @$(unstage)
19880 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19882 r=`${PWD_COMMAND}`; export r; \
19883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19884 $(HOST_EXPORTS) \
19885 echo Configuring in $(HOST_SUBDIR)/perl; \
19886 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19887 case $(srcdir) in \
19888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19889 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19891 esac; \
19892 srcdiroption="--srcdir=$${topdir}/perl"; \
19893 libsrcdir="$$s/perl"; \
19894 $(SHELL) $${libsrcdir}/configure \
19895 $(HOST_CONFIGARGS) $${srcdiroption} \
19896 || exit 1
19897 @endif perl
19903 .PHONY: all-perl maybe-all-perl
19904 maybe-all-perl:
19905 @if perl
19906 TARGET-perl=all
19907 maybe-all-perl: all-perl
19908 all-perl: configure-perl
19909 @$(unstage)
19910 @r=`${PWD_COMMAND}`; export r; \
19911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19912 $(HOST_EXPORTS) \
19913 (cd $(HOST_SUBDIR)/perl && \
19914 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19915 @endif perl
19920 .PHONY: check-perl maybe-check-perl
19921 maybe-check-perl:
19922 @if perl
19923 maybe-check-perl: check-perl
19925 check-perl:
19926 @$(unstage)
19927 @r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19929 $(HOST_EXPORTS) \
19930 (cd $(HOST_SUBDIR)/perl && \
19931 $(MAKE) $(FLAGS_TO_PASS) check)
19933 @endif perl
19935 .PHONY: install-perl maybe-install-perl
19936 maybe-install-perl:
19937 @if perl
19938 maybe-install-perl: install-perl
19940 install-perl: installdirs
19941 @$(unstage)
19942 @r=`${PWD_COMMAND}`; export r; \
19943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19944 $(HOST_EXPORTS) \
19945 (cd $(HOST_SUBDIR)/perl && \
19946 $(MAKE) $(FLAGS_TO_PASS) install)
19948 @endif perl
19950 # Other targets (info, dvi, etc.)
19952 .PHONY: maybe-info-perl info-perl
19953 maybe-info-perl:
19954 @if perl
19955 maybe-info-perl: info-perl
19957 info-perl: \
19958 configure-perl
19959 @$(unstage)
19960 @[ -f ./perl/Makefile ] || exit 0; \
19961 r=`${PWD_COMMAND}`; export r; \
19962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19963 $(HOST_EXPORTS) \
19964 for flag in $(EXTRA_HOST_FLAGS) ; do \
19965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19966 done; \
19967 echo "Doing info in perl" ; \
19968 (cd $(HOST_SUBDIR)/perl && \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19971 "RANLIB=$${RANLIB}" \
19972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19973 info) \
19974 || exit 1
19976 @endif perl
19978 .PHONY: maybe-dvi-perl dvi-perl
19979 maybe-dvi-perl:
19980 @if perl
19981 maybe-dvi-perl: dvi-perl
19983 dvi-perl: \
19984 configure-perl
19985 @$(unstage)
19986 @[ -f ./perl/Makefile ] || exit 0; \
19987 r=`${PWD_COMMAND}`; export r; \
19988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19989 $(HOST_EXPORTS) \
19990 for flag in $(EXTRA_HOST_FLAGS) ; do \
19991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19992 done; \
19993 echo "Doing dvi in perl" ; \
19994 (cd $(HOST_SUBDIR)/perl && \
19995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19997 "RANLIB=$${RANLIB}" \
19998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19999 dvi) \
20000 || exit 1
20002 @endif perl
20004 .PHONY: maybe-html-perl html-perl
20005 maybe-html-perl:
20006 @if perl
20007 maybe-html-perl: html-perl
20009 html-perl: \
20010 configure-perl
20011 @$(unstage)
20012 @[ -f ./perl/Makefile ] || exit 0; \
20013 r=`${PWD_COMMAND}`; export r; \
20014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20015 $(HOST_EXPORTS) \
20016 for flag in $(EXTRA_HOST_FLAGS) ; do \
20017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20018 done; \
20019 echo "Doing html in perl" ; \
20020 (cd $(HOST_SUBDIR)/perl && \
20021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20023 "RANLIB=$${RANLIB}" \
20024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20025 html) \
20026 || exit 1
20028 @endif perl
20030 .PHONY: maybe-TAGS-perl TAGS-perl
20031 maybe-TAGS-perl:
20032 @if perl
20033 maybe-TAGS-perl: TAGS-perl
20035 TAGS-perl: \
20036 configure-perl
20037 @$(unstage)
20038 @[ -f ./perl/Makefile ] || exit 0; \
20039 r=`${PWD_COMMAND}`; export r; \
20040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20041 $(HOST_EXPORTS) \
20042 for flag in $(EXTRA_HOST_FLAGS) ; do \
20043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20044 done; \
20045 echo "Doing TAGS in perl" ; \
20046 (cd $(HOST_SUBDIR)/perl && \
20047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20049 "RANLIB=$${RANLIB}" \
20050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20051 TAGS) \
20052 || exit 1
20054 @endif perl
20056 .PHONY: maybe-install-info-perl install-info-perl
20057 maybe-install-info-perl:
20058 @if perl
20059 maybe-install-info-perl: install-info-perl
20061 install-info-perl: \
20062 configure-perl \
20063 info-perl
20064 @$(unstage)
20065 @[ -f ./perl/Makefile ] || exit 0; \
20066 r=`${PWD_COMMAND}`; export r; \
20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 $(HOST_EXPORTS) \
20069 for flag in $(EXTRA_HOST_FLAGS) ; do \
20070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20071 done; \
20072 echo "Doing install-info in perl" ; \
20073 (cd $(HOST_SUBDIR)/perl && \
20074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20076 "RANLIB=$${RANLIB}" \
20077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20078 install-info) \
20079 || exit 1
20081 @endif perl
20083 .PHONY: maybe-installcheck-perl installcheck-perl
20084 maybe-installcheck-perl:
20085 @if perl
20086 maybe-installcheck-perl: installcheck-perl
20088 installcheck-perl: \
20089 configure-perl
20090 @$(unstage)
20091 @[ -f ./perl/Makefile ] || exit 0; \
20092 r=`${PWD_COMMAND}`; export r; \
20093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20094 $(HOST_EXPORTS) \
20095 for flag in $(EXTRA_HOST_FLAGS) ; do \
20096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20097 done; \
20098 echo "Doing installcheck in perl" ; \
20099 (cd $(HOST_SUBDIR)/perl && \
20100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20102 "RANLIB=$${RANLIB}" \
20103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20104 installcheck) \
20105 || exit 1
20107 @endif perl
20109 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20110 maybe-mostlyclean-perl:
20111 @if perl
20112 maybe-mostlyclean-perl: mostlyclean-perl
20114 mostlyclean-perl:
20115 @$(unstage)
20116 @[ -f ./perl/Makefile ] || exit 0; \
20117 r=`${PWD_COMMAND}`; export r; \
20118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20119 $(HOST_EXPORTS) \
20120 for flag in $(EXTRA_HOST_FLAGS) ; do \
20121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20122 done; \
20123 echo "Doing mostlyclean in perl" ; \
20124 (cd $(HOST_SUBDIR)/perl && \
20125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20127 "RANLIB=$${RANLIB}" \
20128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20129 mostlyclean) \
20130 || exit 1
20132 @endif perl
20134 .PHONY: maybe-clean-perl clean-perl
20135 maybe-clean-perl:
20136 @if perl
20137 maybe-clean-perl: clean-perl
20139 clean-perl:
20140 @$(unstage)
20141 @[ -f ./perl/Makefile ] || exit 0; \
20142 r=`${PWD_COMMAND}`; export r; \
20143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20144 $(HOST_EXPORTS) \
20145 for flag in $(EXTRA_HOST_FLAGS) ; do \
20146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20147 done; \
20148 echo "Doing clean in perl" ; \
20149 (cd $(HOST_SUBDIR)/perl && \
20150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20152 "RANLIB=$${RANLIB}" \
20153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20154 clean) \
20155 || exit 1
20157 @endif perl
20159 .PHONY: maybe-distclean-perl distclean-perl
20160 maybe-distclean-perl:
20161 @if perl
20162 maybe-distclean-perl: distclean-perl
20164 distclean-perl:
20165 @$(unstage)
20166 @[ -f ./perl/Makefile ] || exit 0; \
20167 r=`${PWD_COMMAND}`; export r; \
20168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20169 $(HOST_EXPORTS) \
20170 for flag in $(EXTRA_HOST_FLAGS) ; do \
20171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20172 done; \
20173 echo "Doing distclean in perl" ; \
20174 (cd $(HOST_SUBDIR)/perl && \
20175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20177 "RANLIB=$${RANLIB}" \
20178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20179 distclean) \
20180 || exit 1
20182 @endif perl
20184 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20185 maybe-maintainer-clean-perl:
20186 @if perl
20187 maybe-maintainer-clean-perl: maintainer-clean-perl
20189 maintainer-clean-perl:
20190 @$(unstage)
20191 @[ -f ./perl/Makefile ] || exit 0; \
20192 r=`${PWD_COMMAND}`; export r; \
20193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20194 $(HOST_EXPORTS) \
20195 for flag in $(EXTRA_HOST_FLAGS) ; do \
20196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20197 done; \
20198 echo "Doing maintainer-clean in perl" ; \
20199 (cd $(HOST_SUBDIR)/perl && \
20200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20202 "RANLIB=$${RANLIB}" \
20203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20204 maintainer-clean) \
20205 || exit 1
20207 @endif perl
20211 .PHONY: configure-prms maybe-configure-prms
20212 maybe-configure-prms:
20213 @if prms
20214 maybe-configure-prms: configure-prms
20215 configure-prms:
20216 @$(unstage)
20217 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20219 r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20221 $(HOST_EXPORTS) \
20222 echo Configuring in $(HOST_SUBDIR)/prms; \
20223 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20224 case $(srcdir) in \
20225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20226 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20228 esac; \
20229 srcdiroption="--srcdir=$${topdir}/prms"; \
20230 libsrcdir="$$s/prms"; \
20231 $(SHELL) $${libsrcdir}/configure \
20232 $(HOST_CONFIGARGS) $${srcdiroption} \
20233 || exit 1
20234 @endif prms
20240 .PHONY: all-prms maybe-all-prms
20241 maybe-all-prms:
20242 @if prms
20243 TARGET-prms=all
20244 maybe-all-prms: all-prms
20245 all-prms: configure-prms
20246 @$(unstage)
20247 @r=`${PWD_COMMAND}`; export r; \
20248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20249 $(HOST_EXPORTS) \
20250 (cd $(HOST_SUBDIR)/prms && \
20251 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20252 @endif prms
20257 .PHONY: check-prms maybe-check-prms
20258 maybe-check-prms:
20259 @if prms
20260 maybe-check-prms: check-prms
20262 check-prms:
20263 @$(unstage)
20264 @r=`${PWD_COMMAND}`; export r; \
20265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20266 $(HOST_EXPORTS) \
20267 (cd $(HOST_SUBDIR)/prms && \
20268 $(MAKE) $(FLAGS_TO_PASS) check)
20270 @endif prms
20272 .PHONY: install-prms maybe-install-prms
20273 maybe-install-prms:
20274 @if prms
20275 maybe-install-prms: install-prms
20277 install-prms: installdirs
20278 @$(unstage)
20279 @r=`${PWD_COMMAND}`; export r; \
20280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20281 $(HOST_EXPORTS) \
20282 (cd $(HOST_SUBDIR)/prms && \
20283 $(MAKE) $(FLAGS_TO_PASS) install)
20285 @endif prms
20287 # Other targets (info, dvi, etc.)
20289 .PHONY: maybe-info-prms info-prms
20290 maybe-info-prms:
20291 @if prms
20292 maybe-info-prms: info-prms
20294 info-prms: \
20295 configure-prms
20296 @$(unstage)
20297 @[ -f ./prms/Makefile ] || exit 0; \
20298 r=`${PWD_COMMAND}`; export r; \
20299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20300 $(HOST_EXPORTS) \
20301 for flag in $(EXTRA_HOST_FLAGS) ; do \
20302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20303 done; \
20304 echo "Doing info in prms" ; \
20305 (cd $(HOST_SUBDIR)/prms && \
20306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20308 "RANLIB=$${RANLIB}" \
20309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20310 info) \
20311 || exit 1
20313 @endif prms
20315 .PHONY: maybe-dvi-prms dvi-prms
20316 maybe-dvi-prms:
20317 @if prms
20318 maybe-dvi-prms: dvi-prms
20320 dvi-prms: \
20321 configure-prms
20322 @$(unstage)
20323 @[ -f ./prms/Makefile ] || exit 0; \
20324 r=`${PWD_COMMAND}`; export r; \
20325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20326 $(HOST_EXPORTS) \
20327 for flag in $(EXTRA_HOST_FLAGS) ; do \
20328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20329 done; \
20330 echo "Doing dvi in prms" ; \
20331 (cd $(HOST_SUBDIR)/prms && \
20332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20334 "RANLIB=$${RANLIB}" \
20335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20336 dvi) \
20337 || exit 1
20339 @endif prms
20341 .PHONY: maybe-html-prms html-prms
20342 maybe-html-prms:
20343 @if prms
20344 maybe-html-prms: html-prms
20346 html-prms: \
20347 configure-prms
20348 @$(unstage)
20349 @[ -f ./prms/Makefile ] || exit 0; \
20350 r=`${PWD_COMMAND}`; export r; \
20351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20352 $(HOST_EXPORTS) \
20353 for flag in $(EXTRA_HOST_FLAGS) ; do \
20354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20355 done; \
20356 echo "Doing html in prms" ; \
20357 (cd $(HOST_SUBDIR)/prms && \
20358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20360 "RANLIB=$${RANLIB}" \
20361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20362 html) \
20363 || exit 1
20365 @endif prms
20367 .PHONY: maybe-TAGS-prms TAGS-prms
20368 maybe-TAGS-prms:
20369 @if prms
20370 maybe-TAGS-prms: TAGS-prms
20372 TAGS-prms: \
20373 configure-prms
20374 @$(unstage)
20375 @[ -f ./prms/Makefile ] || exit 0; \
20376 r=`${PWD_COMMAND}`; export r; \
20377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20378 $(HOST_EXPORTS) \
20379 for flag in $(EXTRA_HOST_FLAGS) ; do \
20380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20381 done; \
20382 echo "Doing TAGS in prms" ; \
20383 (cd $(HOST_SUBDIR)/prms && \
20384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20386 "RANLIB=$${RANLIB}" \
20387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20388 TAGS) \
20389 || exit 1
20391 @endif prms
20393 .PHONY: maybe-install-info-prms install-info-prms
20394 maybe-install-info-prms:
20395 @if prms
20396 maybe-install-info-prms: install-info-prms
20398 install-info-prms: \
20399 configure-prms \
20400 info-prms
20401 @$(unstage)
20402 @[ -f ./prms/Makefile ] || exit 0; \
20403 r=`${PWD_COMMAND}`; export r; \
20404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20405 $(HOST_EXPORTS) \
20406 for flag in $(EXTRA_HOST_FLAGS) ; do \
20407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20408 done; \
20409 echo "Doing install-info in prms" ; \
20410 (cd $(HOST_SUBDIR)/prms && \
20411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20413 "RANLIB=$${RANLIB}" \
20414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20415 install-info) \
20416 || exit 1
20418 @endif prms
20420 .PHONY: maybe-installcheck-prms installcheck-prms
20421 maybe-installcheck-prms:
20422 @if prms
20423 maybe-installcheck-prms: installcheck-prms
20425 installcheck-prms: \
20426 configure-prms
20427 @$(unstage)
20428 @[ -f ./prms/Makefile ] || exit 0; \
20429 r=`${PWD_COMMAND}`; export r; \
20430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20431 $(HOST_EXPORTS) \
20432 for flag in $(EXTRA_HOST_FLAGS) ; do \
20433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20434 done; \
20435 echo "Doing installcheck in prms" ; \
20436 (cd $(HOST_SUBDIR)/prms && \
20437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20439 "RANLIB=$${RANLIB}" \
20440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20441 installcheck) \
20442 || exit 1
20444 @endif prms
20446 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20447 maybe-mostlyclean-prms:
20448 @if prms
20449 maybe-mostlyclean-prms: mostlyclean-prms
20451 mostlyclean-prms:
20452 @$(unstage)
20453 @[ -f ./prms/Makefile ] || exit 0; \
20454 r=`${PWD_COMMAND}`; export r; \
20455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20456 $(HOST_EXPORTS) \
20457 for flag in $(EXTRA_HOST_FLAGS) ; do \
20458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20459 done; \
20460 echo "Doing mostlyclean in prms" ; \
20461 (cd $(HOST_SUBDIR)/prms && \
20462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20464 "RANLIB=$${RANLIB}" \
20465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20466 mostlyclean) \
20467 || exit 1
20469 @endif prms
20471 .PHONY: maybe-clean-prms clean-prms
20472 maybe-clean-prms:
20473 @if prms
20474 maybe-clean-prms: clean-prms
20476 clean-prms:
20477 @$(unstage)
20478 @[ -f ./prms/Makefile ] || exit 0; \
20479 r=`${PWD_COMMAND}`; export r; \
20480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20481 $(HOST_EXPORTS) \
20482 for flag in $(EXTRA_HOST_FLAGS) ; do \
20483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20484 done; \
20485 echo "Doing clean in prms" ; \
20486 (cd $(HOST_SUBDIR)/prms && \
20487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20489 "RANLIB=$${RANLIB}" \
20490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20491 clean) \
20492 || exit 1
20494 @endif prms
20496 .PHONY: maybe-distclean-prms distclean-prms
20497 maybe-distclean-prms:
20498 @if prms
20499 maybe-distclean-prms: distclean-prms
20501 distclean-prms:
20502 @$(unstage)
20503 @[ -f ./prms/Makefile ] || exit 0; \
20504 r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20506 $(HOST_EXPORTS) \
20507 for flag in $(EXTRA_HOST_FLAGS) ; do \
20508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20509 done; \
20510 echo "Doing distclean in prms" ; \
20511 (cd $(HOST_SUBDIR)/prms && \
20512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20514 "RANLIB=$${RANLIB}" \
20515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20516 distclean) \
20517 || exit 1
20519 @endif prms
20521 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20522 maybe-maintainer-clean-prms:
20523 @if prms
20524 maybe-maintainer-clean-prms: maintainer-clean-prms
20526 maintainer-clean-prms:
20527 @$(unstage)
20528 @[ -f ./prms/Makefile ] || exit 0; \
20529 r=`${PWD_COMMAND}`; export r; \
20530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20531 $(HOST_EXPORTS) \
20532 for flag in $(EXTRA_HOST_FLAGS) ; do \
20533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20534 done; \
20535 echo "Doing maintainer-clean in prms" ; \
20536 (cd $(HOST_SUBDIR)/prms && \
20537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20539 "RANLIB=$${RANLIB}" \
20540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20541 maintainer-clean) \
20542 || exit 1
20544 @endif prms
20548 .PHONY: configure-rcs maybe-configure-rcs
20549 maybe-configure-rcs:
20550 @if rcs
20551 maybe-configure-rcs: configure-rcs
20552 configure-rcs:
20553 @$(unstage)
20554 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20558 $(HOST_EXPORTS) \
20559 echo Configuring in $(HOST_SUBDIR)/rcs; \
20560 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20561 case $(srcdir) in \
20562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20563 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20565 esac; \
20566 srcdiroption="--srcdir=$${topdir}/rcs"; \
20567 libsrcdir="$$s/rcs"; \
20568 $(SHELL) $${libsrcdir}/configure \
20569 $(HOST_CONFIGARGS) $${srcdiroption} \
20570 || exit 1
20571 @endif rcs
20577 .PHONY: all-rcs maybe-all-rcs
20578 maybe-all-rcs:
20579 @if rcs
20580 TARGET-rcs=all
20581 maybe-all-rcs: all-rcs
20582 all-rcs: configure-rcs
20583 @$(unstage)
20584 @r=`${PWD_COMMAND}`; export r; \
20585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20586 $(HOST_EXPORTS) \
20587 (cd $(HOST_SUBDIR)/rcs && \
20588 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20589 @endif rcs
20594 .PHONY: check-rcs maybe-check-rcs
20595 maybe-check-rcs:
20596 @if rcs
20597 maybe-check-rcs: check-rcs
20599 check-rcs:
20600 @$(unstage)
20601 @r=`${PWD_COMMAND}`; export r; \
20602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603 $(HOST_EXPORTS) \
20604 (cd $(HOST_SUBDIR)/rcs && \
20605 $(MAKE) $(FLAGS_TO_PASS) check)
20607 @endif rcs
20609 .PHONY: install-rcs maybe-install-rcs
20610 maybe-install-rcs:
20611 @if rcs
20612 maybe-install-rcs: install-rcs
20614 install-rcs: installdirs
20615 @$(unstage)
20616 @r=`${PWD_COMMAND}`; export r; \
20617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 $(HOST_EXPORTS) \
20619 (cd $(HOST_SUBDIR)/rcs && \
20620 $(MAKE) $(FLAGS_TO_PASS) install)
20622 @endif rcs
20624 # Other targets (info, dvi, etc.)
20626 .PHONY: maybe-info-rcs info-rcs
20627 maybe-info-rcs:
20628 @if rcs
20629 maybe-info-rcs: info-rcs
20631 info-rcs: \
20632 configure-rcs
20633 @$(unstage)
20634 @[ -f ./rcs/Makefile ] || exit 0; \
20635 r=`${PWD_COMMAND}`; export r; \
20636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20637 $(HOST_EXPORTS) \
20638 for flag in $(EXTRA_HOST_FLAGS) ; do \
20639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20640 done; \
20641 echo "Doing info in rcs" ; \
20642 (cd $(HOST_SUBDIR)/rcs && \
20643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20645 "RANLIB=$${RANLIB}" \
20646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20647 info) \
20648 || exit 1
20650 @endif rcs
20652 .PHONY: maybe-dvi-rcs dvi-rcs
20653 maybe-dvi-rcs:
20654 @if rcs
20655 maybe-dvi-rcs: dvi-rcs
20657 dvi-rcs: \
20658 configure-rcs
20659 @$(unstage)
20660 @[ -f ./rcs/Makefile ] || exit 0; \
20661 r=`${PWD_COMMAND}`; export r; \
20662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20663 $(HOST_EXPORTS) \
20664 for flag in $(EXTRA_HOST_FLAGS) ; do \
20665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20666 done; \
20667 echo "Doing dvi in rcs" ; \
20668 (cd $(HOST_SUBDIR)/rcs && \
20669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20671 "RANLIB=$${RANLIB}" \
20672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20673 dvi) \
20674 || exit 1
20676 @endif rcs
20678 .PHONY: maybe-html-rcs html-rcs
20679 maybe-html-rcs:
20680 @if rcs
20681 maybe-html-rcs: html-rcs
20683 html-rcs: \
20684 configure-rcs
20685 @$(unstage)
20686 @[ -f ./rcs/Makefile ] || exit 0; \
20687 r=`${PWD_COMMAND}`; export r; \
20688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20689 $(HOST_EXPORTS) \
20690 for flag in $(EXTRA_HOST_FLAGS) ; do \
20691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20692 done; \
20693 echo "Doing html in rcs" ; \
20694 (cd $(HOST_SUBDIR)/rcs && \
20695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20697 "RANLIB=$${RANLIB}" \
20698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20699 html) \
20700 || exit 1
20702 @endif rcs
20704 .PHONY: maybe-TAGS-rcs TAGS-rcs
20705 maybe-TAGS-rcs:
20706 @if rcs
20707 maybe-TAGS-rcs: TAGS-rcs
20709 TAGS-rcs: \
20710 configure-rcs
20711 @$(unstage)
20712 @[ -f ./rcs/Makefile ] || exit 0; \
20713 r=`${PWD_COMMAND}`; export r; \
20714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20715 $(HOST_EXPORTS) \
20716 for flag in $(EXTRA_HOST_FLAGS) ; do \
20717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20718 done; \
20719 echo "Doing TAGS in rcs" ; \
20720 (cd $(HOST_SUBDIR)/rcs && \
20721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20723 "RANLIB=$${RANLIB}" \
20724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20725 TAGS) \
20726 || exit 1
20728 @endif rcs
20730 .PHONY: maybe-install-info-rcs install-info-rcs
20731 maybe-install-info-rcs:
20732 @if rcs
20733 maybe-install-info-rcs: install-info-rcs
20735 install-info-rcs: \
20736 configure-rcs \
20737 info-rcs
20738 @$(unstage)
20739 @[ -f ./rcs/Makefile ] || exit 0; \
20740 r=`${PWD_COMMAND}`; export r; \
20741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20742 $(HOST_EXPORTS) \
20743 for flag in $(EXTRA_HOST_FLAGS) ; do \
20744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20745 done; \
20746 echo "Doing install-info in rcs" ; \
20747 (cd $(HOST_SUBDIR)/rcs && \
20748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20750 "RANLIB=$${RANLIB}" \
20751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20752 install-info) \
20753 || exit 1
20755 @endif rcs
20757 .PHONY: maybe-installcheck-rcs installcheck-rcs
20758 maybe-installcheck-rcs:
20759 @if rcs
20760 maybe-installcheck-rcs: installcheck-rcs
20762 installcheck-rcs: \
20763 configure-rcs
20764 @$(unstage)
20765 @[ -f ./rcs/Makefile ] || exit 0; \
20766 r=`${PWD_COMMAND}`; export r; \
20767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20768 $(HOST_EXPORTS) \
20769 for flag in $(EXTRA_HOST_FLAGS) ; do \
20770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20771 done; \
20772 echo "Doing installcheck in rcs" ; \
20773 (cd $(HOST_SUBDIR)/rcs && \
20774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20776 "RANLIB=$${RANLIB}" \
20777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20778 installcheck) \
20779 || exit 1
20781 @endif rcs
20783 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20784 maybe-mostlyclean-rcs:
20785 @if rcs
20786 maybe-mostlyclean-rcs: mostlyclean-rcs
20788 mostlyclean-rcs:
20789 @$(unstage)
20790 @[ -f ./rcs/Makefile ] || exit 0; \
20791 r=`${PWD_COMMAND}`; export r; \
20792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20793 $(HOST_EXPORTS) \
20794 for flag in $(EXTRA_HOST_FLAGS) ; do \
20795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20796 done; \
20797 echo "Doing mostlyclean in rcs" ; \
20798 (cd $(HOST_SUBDIR)/rcs && \
20799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20801 "RANLIB=$${RANLIB}" \
20802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20803 mostlyclean) \
20804 || exit 1
20806 @endif rcs
20808 .PHONY: maybe-clean-rcs clean-rcs
20809 maybe-clean-rcs:
20810 @if rcs
20811 maybe-clean-rcs: clean-rcs
20813 clean-rcs:
20814 @$(unstage)
20815 @[ -f ./rcs/Makefile ] || exit 0; \
20816 r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20818 $(HOST_EXPORTS) \
20819 for flag in $(EXTRA_HOST_FLAGS) ; do \
20820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20821 done; \
20822 echo "Doing clean in rcs" ; \
20823 (cd $(HOST_SUBDIR)/rcs && \
20824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20826 "RANLIB=$${RANLIB}" \
20827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20828 clean) \
20829 || exit 1
20831 @endif rcs
20833 .PHONY: maybe-distclean-rcs distclean-rcs
20834 maybe-distclean-rcs:
20835 @if rcs
20836 maybe-distclean-rcs: distclean-rcs
20838 distclean-rcs:
20839 @$(unstage)
20840 @[ -f ./rcs/Makefile ] || exit 0; \
20841 r=`${PWD_COMMAND}`; export r; \
20842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20843 $(HOST_EXPORTS) \
20844 for flag in $(EXTRA_HOST_FLAGS) ; do \
20845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20846 done; \
20847 echo "Doing distclean in rcs" ; \
20848 (cd $(HOST_SUBDIR)/rcs && \
20849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20851 "RANLIB=$${RANLIB}" \
20852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20853 distclean) \
20854 || exit 1
20856 @endif rcs
20858 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20859 maybe-maintainer-clean-rcs:
20860 @if rcs
20861 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20863 maintainer-clean-rcs:
20864 @$(unstage)
20865 @[ -f ./rcs/Makefile ] || exit 0; \
20866 r=`${PWD_COMMAND}`; export r; \
20867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20868 $(HOST_EXPORTS) \
20869 for flag in $(EXTRA_HOST_FLAGS) ; do \
20870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20871 done; \
20872 echo "Doing maintainer-clean in rcs" ; \
20873 (cd $(HOST_SUBDIR)/rcs && \
20874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20876 "RANLIB=$${RANLIB}" \
20877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20878 maintainer-clean) \
20879 || exit 1
20881 @endif rcs
20885 .PHONY: configure-readline maybe-configure-readline
20886 maybe-configure-readline:
20887 @if readline
20888 maybe-configure-readline: configure-readline
20889 configure-readline:
20890 @$(unstage)
20891 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20893 r=`${PWD_COMMAND}`; export r; \
20894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20895 $(HOST_EXPORTS) \
20896 echo Configuring in $(HOST_SUBDIR)/readline; \
20897 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20898 case $(srcdir) in \
20899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20900 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20902 esac; \
20903 srcdiroption="--srcdir=$${topdir}/readline"; \
20904 libsrcdir="$$s/readline"; \
20905 $(SHELL) $${libsrcdir}/configure \
20906 $(HOST_CONFIGARGS) $${srcdiroption} \
20907 || exit 1
20908 @endif readline
20914 .PHONY: all-readline maybe-all-readline
20915 maybe-all-readline:
20916 @if readline
20917 TARGET-readline=all
20918 maybe-all-readline: all-readline
20919 all-readline: configure-readline
20920 @$(unstage)
20921 @r=`${PWD_COMMAND}`; export r; \
20922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20923 $(HOST_EXPORTS) \
20924 (cd $(HOST_SUBDIR)/readline && \
20925 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20926 @endif readline
20931 .PHONY: check-readline maybe-check-readline
20932 maybe-check-readline:
20933 @if readline
20934 maybe-check-readline: check-readline
20936 check-readline:
20937 @$(unstage)
20938 @r=`${PWD_COMMAND}`; export r; \
20939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20940 $(HOST_EXPORTS) \
20941 (cd $(HOST_SUBDIR)/readline && \
20942 $(MAKE) $(FLAGS_TO_PASS) check)
20944 @endif readline
20946 .PHONY: install-readline maybe-install-readline
20947 maybe-install-readline:
20948 @if readline
20949 maybe-install-readline: install-readline
20951 install-readline: installdirs
20952 @$(unstage)
20953 @r=`${PWD_COMMAND}`; export r; \
20954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20955 $(HOST_EXPORTS) \
20956 (cd $(HOST_SUBDIR)/readline && \
20957 $(MAKE) $(FLAGS_TO_PASS) install)
20959 @endif readline
20961 # Other targets (info, dvi, etc.)
20963 .PHONY: maybe-info-readline info-readline
20964 maybe-info-readline:
20965 @if readline
20966 maybe-info-readline: info-readline
20968 info-readline: \
20969 configure-readline
20970 @$(unstage)
20971 @[ -f ./readline/Makefile ] || exit 0; \
20972 r=`${PWD_COMMAND}`; export r; \
20973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20974 $(HOST_EXPORTS) \
20975 for flag in $(EXTRA_HOST_FLAGS) ; do \
20976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20977 done; \
20978 echo "Doing info in readline" ; \
20979 (cd $(HOST_SUBDIR)/readline && \
20980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20982 "RANLIB=$${RANLIB}" \
20983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20984 info) \
20985 || exit 1
20987 @endif readline
20989 .PHONY: maybe-dvi-readline dvi-readline
20990 maybe-dvi-readline:
20991 @if readline
20992 maybe-dvi-readline: dvi-readline
20994 dvi-readline: \
20995 configure-readline
20996 @$(unstage)
20997 @[ -f ./readline/Makefile ] || exit 0; \
20998 r=`${PWD_COMMAND}`; export r; \
20999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21000 $(HOST_EXPORTS) \
21001 for flag in $(EXTRA_HOST_FLAGS) ; do \
21002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21003 done; \
21004 echo "Doing dvi in readline" ; \
21005 (cd $(HOST_SUBDIR)/readline && \
21006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21008 "RANLIB=$${RANLIB}" \
21009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21010 dvi) \
21011 || exit 1
21013 @endif readline
21015 .PHONY: maybe-html-readline html-readline
21016 maybe-html-readline:
21017 @if readline
21018 maybe-html-readline: html-readline
21020 html-readline: \
21021 configure-readline
21022 @$(unstage)
21023 @[ -f ./readline/Makefile ] || exit 0; \
21024 r=`${PWD_COMMAND}`; export r; \
21025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21026 $(HOST_EXPORTS) \
21027 for flag in $(EXTRA_HOST_FLAGS) ; do \
21028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21029 done; \
21030 echo "Doing html in readline" ; \
21031 (cd $(HOST_SUBDIR)/readline && \
21032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21034 "RANLIB=$${RANLIB}" \
21035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21036 html) \
21037 || exit 1
21039 @endif readline
21041 .PHONY: maybe-TAGS-readline TAGS-readline
21042 maybe-TAGS-readline:
21043 @if readline
21044 maybe-TAGS-readline: TAGS-readline
21046 TAGS-readline: \
21047 configure-readline
21048 @$(unstage)
21049 @[ -f ./readline/Makefile ] || exit 0; \
21050 r=`${PWD_COMMAND}`; export r; \
21051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 $(HOST_EXPORTS) \
21053 for flag in $(EXTRA_HOST_FLAGS) ; do \
21054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21055 done; \
21056 echo "Doing TAGS in readline" ; \
21057 (cd $(HOST_SUBDIR)/readline && \
21058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21060 "RANLIB=$${RANLIB}" \
21061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21062 TAGS) \
21063 || exit 1
21065 @endif readline
21067 .PHONY: maybe-install-info-readline install-info-readline
21068 maybe-install-info-readline:
21069 @if readline
21070 maybe-install-info-readline: install-info-readline
21072 install-info-readline: \
21073 configure-readline \
21074 info-readline
21075 @$(unstage)
21076 @[ -f ./readline/Makefile ] || exit 0; \
21077 r=`${PWD_COMMAND}`; export r; \
21078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079 $(HOST_EXPORTS) \
21080 for flag in $(EXTRA_HOST_FLAGS) ; do \
21081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21082 done; \
21083 echo "Doing install-info in readline" ; \
21084 (cd $(HOST_SUBDIR)/readline && \
21085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21087 "RANLIB=$${RANLIB}" \
21088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21089 install-info) \
21090 || exit 1
21092 @endif readline
21094 .PHONY: maybe-installcheck-readline installcheck-readline
21095 maybe-installcheck-readline:
21096 @if readline
21097 maybe-installcheck-readline: installcheck-readline
21099 installcheck-readline: \
21100 configure-readline
21101 @$(unstage)
21102 @[ -f ./readline/Makefile ] || exit 0; \
21103 r=`${PWD_COMMAND}`; export r; \
21104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21105 $(HOST_EXPORTS) \
21106 for flag in $(EXTRA_HOST_FLAGS) ; do \
21107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21108 done; \
21109 echo "Doing installcheck in readline" ; \
21110 (cd $(HOST_SUBDIR)/readline && \
21111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21113 "RANLIB=$${RANLIB}" \
21114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21115 installcheck) \
21116 || exit 1
21118 @endif readline
21120 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21121 maybe-mostlyclean-readline:
21122 @if readline
21123 maybe-mostlyclean-readline: mostlyclean-readline
21125 mostlyclean-readline:
21126 @$(unstage)
21127 @[ -f ./readline/Makefile ] || exit 0; \
21128 r=`${PWD_COMMAND}`; export r; \
21129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21130 $(HOST_EXPORTS) \
21131 for flag in $(EXTRA_HOST_FLAGS) ; do \
21132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21133 done; \
21134 echo "Doing mostlyclean in readline" ; \
21135 (cd $(HOST_SUBDIR)/readline && \
21136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21138 "RANLIB=$${RANLIB}" \
21139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21140 mostlyclean) \
21141 || exit 1
21143 @endif readline
21145 .PHONY: maybe-clean-readline clean-readline
21146 maybe-clean-readline:
21147 @if readline
21148 maybe-clean-readline: clean-readline
21150 clean-readline:
21151 @$(unstage)
21152 @[ -f ./readline/Makefile ] || exit 0; \
21153 r=`${PWD_COMMAND}`; export r; \
21154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21155 $(HOST_EXPORTS) \
21156 for flag in $(EXTRA_HOST_FLAGS) ; do \
21157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21158 done; \
21159 echo "Doing clean in readline" ; \
21160 (cd $(HOST_SUBDIR)/readline && \
21161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21163 "RANLIB=$${RANLIB}" \
21164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21165 clean) \
21166 || exit 1
21168 @endif readline
21170 .PHONY: maybe-distclean-readline distclean-readline
21171 maybe-distclean-readline:
21172 @if readline
21173 maybe-distclean-readline: distclean-readline
21175 distclean-readline:
21176 @$(unstage)
21177 @[ -f ./readline/Makefile ] || exit 0; \
21178 r=`${PWD_COMMAND}`; export r; \
21179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21180 $(HOST_EXPORTS) \
21181 for flag in $(EXTRA_HOST_FLAGS) ; do \
21182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21183 done; \
21184 echo "Doing distclean in readline" ; \
21185 (cd $(HOST_SUBDIR)/readline && \
21186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21188 "RANLIB=$${RANLIB}" \
21189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21190 distclean) \
21191 || exit 1
21193 @endif readline
21195 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21196 maybe-maintainer-clean-readline:
21197 @if readline
21198 maybe-maintainer-clean-readline: maintainer-clean-readline
21200 maintainer-clean-readline:
21201 @$(unstage)
21202 @[ -f ./readline/Makefile ] || exit 0; \
21203 r=`${PWD_COMMAND}`; export r; \
21204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21205 $(HOST_EXPORTS) \
21206 for flag in $(EXTRA_HOST_FLAGS) ; do \
21207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21208 done; \
21209 echo "Doing maintainer-clean in readline" ; \
21210 (cd $(HOST_SUBDIR)/readline && \
21211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21213 "RANLIB=$${RANLIB}" \
21214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21215 maintainer-clean) \
21216 || exit 1
21218 @endif readline
21222 .PHONY: configure-release maybe-configure-release
21223 maybe-configure-release:
21224 @if release
21225 maybe-configure-release: configure-release
21226 configure-release:
21227 @$(unstage)
21228 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21230 r=`${PWD_COMMAND}`; export r; \
21231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21232 $(HOST_EXPORTS) \
21233 echo Configuring in $(HOST_SUBDIR)/release; \
21234 cd "$(HOST_SUBDIR)/release" || exit 1; \
21235 case $(srcdir) in \
21236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21237 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21239 esac; \
21240 srcdiroption="--srcdir=$${topdir}/release"; \
21241 libsrcdir="$$s/release"; \
21242 $(SHELL) $${libsrcdir}/configure \
21243 $(HOST_CONFIGARGS) $${srcdiroption} \
21244 || exit 1
21245 @endif release
21251 .PHONY: all-release maybe-all-release
21252 maybe-all-release:
21253 @if release
21254 TARGET-release=all
21255 maybe-all-release: all-release
21256 all-release: configure-release
21257 @$(unstage)
21258 @r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 $(HOST_EXPORTS) \
21261 (cd $(HOST_SUBDIR)/release && \
21262 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21263 @endif release
21268 .PHONY: check-release maybe-check-release
21269 maybe-check-release:
21270 @if release
21271 maybe-check-release: check-release
21273 check-release:
21275 @endif release
21277 .PHONY: install-release maybe-install-release
21278 maybe-install-release:
21279 @if release
21280 maybe-install-release: install-release
21282 install-release:
21284 @endif release
21286 # Other targets (info, dvi, etc.)
21288 .PHONY: maybe-info-release info-release
21289 maybe-info-release:
21290 @if release
21291 maybe-info-release: info-release
21293 info-release: \
21294 configure-release
21295 @$(unstage)
21296 @[ -f ./release/Makefile ] || exit 0; \
21297 r=`${PWD_COMMAND}`; export r; \
21298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21299 $(HOST_EXPORTS) \
21300 for flag in $(EXTRA_HOST_FLAGS) ; do \
21301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21302 done; \
21303 echo "Doing info in release" ; \
21304 (cd $(HOST_SUBDIR)/release && \
21305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21307 "RANLIB=$${RANLIB}" \
21308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21309 info) \
21310 || exit 1
21312 @endif release
21314 .PHONY: maybe-dvi-release dvi-release
21315 maybe-dvi-release:
21316 @if release
21317 maybe-dvi-release: dvi-release
21319 dvi-release: \
21320 configure-release
21321 @$(unstage)
21322 @[ -f ./release/Makefile ] || exit 0; \
21323 r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(HOST_EXPORTS) \
21326 for flag in $(EXTRA_HOST_FLAGS) ; do \
21327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21328 done; \
21329 echo "Doing dvi in release" ; \
21330 (cd $(HOST_SUBDIR)/release && \
21331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21333 "RANLIB=$${RANLIB}" \
21334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21335 dvi) \
21336 || exit 1
21338 @endif release
21340 .PHONY: maybe-html-release html-release
21341 maybe-html-release:
21342 @if release
21343 maybe-html-release: html-release
21345 html-release: \
21346 configure-release
21347 @$(unstage)
21348 @[ -f ./release/Makefile ] || exit 0; \
21349 r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351 $(HOST_EXPORTS) \
21352 for flag in $(EXTRA_HOST_FLAGS) ; do \
21353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21354 done; \
21355 echo "Doing html in release" ; \
21356 (cd $(HOST_SUBDIR)/release && \
21357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21359 "RANLIB=$${RANLIB}" \
21360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21361 html) \
21362 || exit 1
21364 @endif release
21366 .PHONY: maybe-TAGS-release TAGS-release
21367 maybe-TAGS-release:
21368 @if release
21369 maybe-TAGS-release: TAGS-release
21371 TAGS-release: \
21372 configure-release
21373 @$(unstage)
21374 @[ -f ./release/Makefile ] || exit 0; \
21375 r=`${PWD_COMMAND}`; export r; \
21376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21377 $(HOST_EXPORTS) \
21378 for flag in $(EXTRA_HOST_FLAGS) ; do \
21379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21380 done; \
21381 echo "Doing TAGS in release" ; \
21382 (cd $(HOST_SUBDIR)/release && \
21383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21385 "RANLIB=$${RANLIB}" \
21386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21387 TAGS) \
21388 || exit 1
21390 @endif release
21392 .PHONY: maybe-install-info-release install-info-release
21393 maybe-install-info-release:
21394 @if release
21395 maybe-install-info-release: install-info-release
21397 install-info-release: \
21398 configure-release \
21399 info-release
21400 @$(unstage)
21401 @[ -f ./release/Makefile ] || exit 0; \
21402 r=`${PWD_COMMAND}`; export r; \
21403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21404 $(HOST_EXPORTS) \
21405 for flag in $(EXTRA_HOST_FLAGS) ; do \
21406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21407 done; \
21408 echo "Doing install-info in release" ; \
21409 (cd $(HOST_SUBDIR)/release && \
21410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21412 "RANLIB=$${RANLIB}" \
21413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21414 install-info) \
21415 || exit 1
21417 @endif release
21419 .PHONY: maybe-installcheck-release installcheck-release
21420 maybe-installcheck-release:
21421 @if release
21422 maybe-installcheck-release: installcheck-release
21424 installcheck-release: \
21425 configure-release
21426 @$(unstage)
21427 @[ -f ./release/Makefile ] || exit 0; \
21428 r=`${PWD_COMMAND}`; export r; \
21429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21430 $(HOST_EXPORTS) \
21431 for flag in $(EXTRA_HOST_FLAGS) ; do \
21432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21433 done; \
21434 echo "Doing installcheck in release" ; \
21435 (cd $(HOST_SUBDIR)/release && \
21436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21438 "RANLIB=$${RANLIB}" \
21439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21440 installcheck) \
21441 || exit 1
21443 @endif release
21445 .PHONY: maybe-mostlyclean-release mostlyclean-release
21446 maybe-mostlyclean-release:
21447 @if release
21448 maybe-mostlyclean-release: mostlyclean-release
21450 mostlyclean-release:
21451 @$(unstage)
21452 @[ -f ./release/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 mostlyclean in release" ; \
21460 (cd $(HOST_SUBDIR)/release && \
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 mostlyclean) \
21466 || exit 1
21468 @endif release
21470 .PHONY: maybe-clean-release clean-release
21471 maybe-clean-release:
21472 @if release
21473 maybe-clean-release: clean-release
21475 clean-release:
21476 @$(unstage)
21477 @[ -f ./release/Makefile ] || exit 0; \
21478 r=`${PWD_COMMAND}`; export r; \
21479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21480 $(HOST_EXPORTS) \
21481 for flag in $(EXTRA_HOST_FLAGS) ; do \
21482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21483 done; \
21484 echo "Doing clean in release" ; \
21485 (cd $(HOST_SUBDIR)/release && \
21486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21488 "RANLIB=$${RANLIB}" \
21489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21490 clean) \
21491 || exit 1
21493 @endif release
21495 .PHONY: maybe-distclean-release distclean-release
21496 maybe-distclean-release:
21497 @if release
21498 maybe-distclean-release: distclean-release
21500 distclean-release:
21501 @$(unstage)
21502 @[ -f ./release/Makefile ] || exit 0; \
21503 r=`${PWD_COMMAND}`; export r; \
21504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21505 $(HOST_EXPORTS) \
21506 for flag in $(EXTRA_HOST_FLAGS) ; do \
21507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21508 done; \
21509 echo "Doing distclean in release" ; \
21510 (cd $(HOST_SUBDIR)/release && \
21511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21513 "RANLIB=$${RANLIB}" \
21514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21515 distclean) \
21516 || exit 1
21518 @endif release
21520 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21521 maybe-maintainer-clean-release:
21522 @if release
21523 maybe-maintainer-clean-release: maintainer-clean-release
21525 maintainer-clean-release:
21526 @$(unstage)
21527 @[ -f ./release/Makefile ] || exit 0; \
21528 r=`${PWD_COMMAND}`; export r; \
21529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21530 $(HOST_EXPORTS) \
21531 for flag in $(EXTRA_HOST_FLAGS) ; do \
21532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21533 done; \
21534 echo "Doing maintainer-clean in release" ; \
21535 (cd $(HOST_SUBDIR)/release && \
21536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21538 "RANLIB=$${RANLIB}" \
21539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21540 maintainer-clean) \
21541 || exit 1
21543 @endif release
21547 .PHONY: configure-recode maybe-configure-recode
21548 maybe-configure-recode:
21549 @if recode
21550 maybe-configure-recode: configure-recode
21551 configure-recode:
21552 @$(unstage)
21553 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21555 r=`${PWD_COMMAND}`; export r; \
21556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21557 $(HOST_EXPORTS) \
21558 echo Configuring in $(HOST_SUBDIR)/recode; \
21559 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21560 case $(srcdir) in \
21561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21562 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21564 esac; \
21565 srcdiroption="--srcdir=$${topdir}/recode"; \
21566 libsrcdir="$$s/recode"; \
21567 $(SHELL) $${libsrcdir}/configure \
21568 $(HOST_CONFIGARGS) $${srcdiroption} \
21569 || exit 1
21570 @endif recode
21576 .PHONY: all-recode maybe-all-recode
21577 maybe-all-recode:
21578 @if recode
21579 TARGET-recode=all
21580 maybe-all-recode: all-recode
21581 all-recode: configure-recode
21582 @$(unstage)
21583 @r=`${PWD_COMMAND}`; export r; \
21584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21585 $(HOST_EXPORTS) \
21586 (cd $(HOST_SUBDIR)/recode && \
21587 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21588 @endif recode
21593 .PHONY: check-recode maybe-check-recode
21594 maybe-check-recode:
21595 @if recode
21596 maybe-check-recode: check-recode
21598 check-recode:
21599 @$(unstage)
21600 @r=`${PWD_COMMAND}`; export r; \
21601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21602 $(HOST_EXPORTS) \
21603 (cd $(HOST_SUBDIR)/recode && \
21604 $(MAKE) $(FLAGS_TO_PASS) check)
21606 @endif recode
21608 .PHONY: install-recode maybe-install-recode
21609 maybe-install-recode:
21610 @if recode
21611 maybe-install-recode: install-recode
21613 install-recode: installdirs
21614 @$(unstage)
21615 @r=`${PWD_COMMAND}`; export r; \
21616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21617 $(HOST_EXPORTS) \
21618 (cd $(HOST_SUBDIR)/recode && \
21619 $(MAKE) $(FLAGS_TO_PASS) install)
21621 @endif recode
21623 # Other targets (info, dvi, etc.)
21625 .PHONY: maybe-info-recode info-recode
21626 maybe-info-recode:
21627 @if recode
21628 maybe-info-recode: info-recode
21630 info-recode: \
21631 configure-recode
21632 @$(unstage)
21633 @[ -f ./recode/Makefile ] || exit 0; \
21634 r=`${PWD_COMMAND}`; export r; \
21635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21636 $(HOST_EXPORTS) \
21637 for flag in $(EXTRA_HOST_FLAGS) ; do \
21638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21639 done; \
21640 echo "Doing info in recode" ; \
21641 (cd $(HOST_SUBDIR)/recode && \
21642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21644 "RANLIB=$${RANLIB}" \
21645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21646 info) \
21647 || exit 1
21649 @endif recode
21651 .PHONY: maybe-dvi-recode dvi-recode
21652 maybe-dvi-recode:
21653 @if recode
21654 maybe-dvi-recode: dvi-recode
21656 dvi-recode: \
21657 configure-recode
21658 @$(unstage)
21659 @[ -f ./recode/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 dvi in recode" ; \
21667 (cd $(HOST_SUBDIR)/recode && \
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 dvi) \
21673 || exit 1
21675 @endif recode
21677 .PHONY: maybe-html-recode html-recode
21678 maybe-html-recode:
21679 @if recode
21680 maybe-html-recode: html-recode
21682 html-recode: \
21683 configure-recode
21684 @$(unstage)
21685 @[ -f ./recode/Makefile ] || exit 0; \
21686 r=`${PWD_COMMAND}`; export r; \
21687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21688 $(HOST_EXPORTS) \
21689 for flag in $(EXTRA_HOST_FLAGS) ; do \
21690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21691 done; \
21692 echo "Doing html in recode" ; \
21693 (cd $(HOST_SUBDIR)/recode && \
21694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21696 "RANLIB=$${RANLIB}" \
21697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21698 html) \
21699 || exit 1
21701 @endif recode
21703 .PHONY: maybe-TAGS-recode TAGS-recode
21704 maybe-TAGS-recode:
21705 @if recode
21706 maybe-TAGS-recode: TAGS-recode
21708 TAGS-recode: \
21709 configure-recode
21710 @$(unstage)
21711 @[ -f ./recode/Makefile ] || exit 0; \
21712 r=`${PWD_COMMAND}`; export r; \
21713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21714 $(HOST_EXPORTS) \
21715 for flag in $(EXTRA_HOST_FLAGS) ; do \
21716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21717 done; \
21718 echo "Doing TAGS in recode" ; \
21719 (cd $(HOST_SUBDIR)/recode && \
21720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21722 "RANLIB=$${RANLIB}" \
21723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21724 TAGS) \
21725 || exit 1
21727 @endif recode
21729 .PHONY: maybe-install-info-recode install-info-recode
21730 maybe-install-info-recode:
21731 @if recode
21732 maybe-install-info-recode: install-info-recode
21734 install-info-recode: \
21735 configure-recode \
21736 info-recode
21737 @$(unstage)
21738 @[ -f ./recode/Makefile ] || exit 0; \
21739 r=`${PWD_COMMAND}`; export r; \
21740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21741 $(HOST_EXPORTS) \
21742 for flag in $(EXTRA_HOST_FLAGS) ; do \
21743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21744 done; \
21745 echo "Doing install-info in recode" ; \
21746 (cd $(HOST_SUBDIR)/recode && \
21747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21749 "RANLIB=$${RANLIB}" \
21750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21751 install-info) \
21752 || exit 1
21754 @endif recode
21756 .PHONY: maybe-installcheck-recode installcheck-recode
21757 maybe-installcheck-recode:
21758 @if recode
21759 maybe-installcheck-recode: installcheck-recode
21761 installcheck-recode: \
21762 configure-recode
21763 @$(unstage)
21764 @[ -f ./recode/Makefile ] || exit 0; \
21765 r=`${PWD_COMMAND}`; export r; \
21766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21767 $(HOST_EXPORTS) \
21768 for flag in $(EXTRA_HOST_FLAGS) ; do \
21769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21770 done; \
21771 echo "Doing installcheck in recode" ; \
21772 (cd $(HOST_SUBDIR)/recode && \
21773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21775 "RANLIB=$${RANLIB}" \
21776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21777 installcheck) \
21778 || exit 1
21780 @endif recode
21782 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21783 maybe-mostlyclean-recode:
21784 @if recode
21785 maybe-mostlyclean-recode: mostlyclean-recode
21787 mostlyclean-recode:
21788 @$(unstage)
21789 @[ -f ./recode/Makefile ] || exit 0; \
21790 r=`${PWD_COMMAND}`; export r; \
21791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21792 $(HOST_EXPORTS) \
21793 for flag in $(EXTRA_HOST_FLAGS) ; do \
21794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21795 done; \
21796 echo "Doing mostlyclean in recode" ; \
21797 (cd $(HOST_SUBDIR)/recode && \
21798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21800 "RANLIB=$${RANLIB}" \
21801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21802 mostlyclean) \
21803 || exit 1
21805 @endif recode
21807 .PHONY: maybe-clean-recode clean-recode
21808 maybe-clean-recode:
21809 @if recode
21810 maybe-clean-recode: clean-recode
21812 clean-recode:
21813 @$(unstage)
21814 @[ -f ./recode/Makefile ] || exit 0; \
21815 r=`${PWD_COMMAND}`; export r; \
21816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21817 $(HOST_EXPORTS) \
21818 for flag in $(EXTRA_HOST_FLAGS) ; do \
21819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21820 done; \
21821 echo "Doing clean in recode" ; \
21822 (cd $(HOST_SUBDIR)/recode && \
21823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21825 "RANLIB=$${RANLIB}" \
21826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21827 clean) \
21828 || exit 1
21830 @endif recode
21832 .PHONY: maybe-distclean-recode distclean-recode
21833 maybe-distclean-recode:
21834 @if recode
21835 maybe-distclean-recode: distclean-recode
21837 distclean-recode:
21838 @$(unstage)
21839 @[ -f ./recode/Makefile ] || exit 0; \
21840 r=`${PWD_COMMAND}`; export r; \
21841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21842 $(HOST_EXPORTS) \
21843 for flag in $(EXTRA_HOST_FLAGS) ; do \
21844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21845 done; \
21846 echo "Doing distclean in recode" ; \
21847 (cd $(HOST_SUBDIR)/recode && \
21848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21850 "RANLIB=$${RANLIB}" \
21851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21852 distclean) \
21853 || exit 1
21855 @endif recode
21857 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21858 maybe-maintainer-clean-recode:
21859 @if recode
21860 maybe-maintainer-clean-recode: maintainer-clean-recode
21862 maintainer-clean-recode:
21863 @$(unstage)
21864 @[ -f ./recode/Makefile ] || exit 0; \
21865 r=`${PWD_COMMAND}`; export r; \
21866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21867 $(HOST_EXPORTS) \
21868 for flag in $(EXTRA_HOST_FLAGS) ; do \
21869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21870 done; \
21871 echo "Doing maintainer-clean in recode" ; \
21872 (cd $(HOST_SUBDIR)/recode && \
21873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21875 "RANLIB=$${RANLIB}" \
21876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21877 maintainer-clean) \
21878 || exit 1
21880 @endif recode
21884 .PHONY: configure-sed maybe-configure-sed
21885 maybe-configure-sed:
21886 @if sed
21887 maybe-configure-sed: configure-sed
21888 configure-sed:
21889 @$(unstage)
21890 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21892 r=`${PWD_COMMAND}`; export r; \
21893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21894 $(HOST_EXPORTS) \
21895 echo Configuring in $(HOST_SUBDIR)/sed; \
21896 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21897 case $(srcdir) in \
21898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21899 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21901 esac; \
21902 srcdiroption="--srcdir=$${topdir}/sed"; \
21903 libsrcdir="$$s/sed"; \
21904 $(SHELL) $${libsrcdir}/configure \
21905 $(HOST_CONFIGARGS) $${srcdiroption} \
21906 || exit 1
21907 @endif sed
21913 .PHONY: all-sed maybe-all-sed
21914 maybe-all-sed:
21915 @if sed
21916 TARGET-sed=all
21917 maybe-all-sed: all-sed
21918 all-sed: configure-sed
21919 @$(unstage)
21920 @r=`${PWD_COMMAND}`; export r; \
21921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21922 $(HOST_EXPORTS) \
21923 (cd $(HOST_SUBDIR)/sed && \
21924 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21925 @endif sed
21930 .PHONY: check-sed maybe-check-sed
21931 maybe-check-sed:
21932 @if sed
21933 maybe-check-sed: check-sed
21935 check-sed:
21936 @$(unstage)
21937 @r=`${PWD_COMMAND}`; export r; \
21938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21939 $(HOST_EXPORTS) \
21940 (cd $(HOST_SUBDIR)/sed && \
21941 $(MAKE) $(FLAGS_TO_PASS) check)
21943 @endif sed
21945 .PHONY: install-sed maybe-install-sed
21946 maybe-install-sed:
21947 @if sed
21948 maybe-install-sed: install-sed
21950 install-sed: installdirs
21951 @$(unstage)
21952 @r=`${PWD_COMMAND}`; export r; \
21953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21954 $(HOST_EXPORTS) \
21955 (cd $(HOST_SUBDIR)/sed && \
21956 $(MAKE) $(FLAGS_TO_PASS) install)
21958 @endif sed
21960 # Other targets (info, dvi, etc.)
21962 .PHONY: maybe-info-sed info-sed
21963 maybe-info-sed:
21964 @if sed
21965 maybe-info-sed: info-sed
21967 info-sed: \
21968 configure-sed
21969 @$(unstage)
21970 @[ -f ./sed/Makefile ] || exit 0; \
21971 r=`${PWD_COMMAND}`; export r; \
21972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21973 $(HOST_EXPORTS) \
21974 for flag in $(EXTRA_HOST_FLAGS) ; do \
21975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21976 done; \
21977 echo "Doing info in sed" ; \
21978 (cd $(HOST_SUBDIR)/sed && \
21979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21981 "RANLIB=$${RANLIB}" \
21982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21983 info) \
21984 || exit 1
21986 @endif sed
21988 .PHONY: maybe-dvi-sed dvi-sed
21989 maybe-dvi-sed:
21990 @if sed
21991 maybe-dvi-sed: dvi-sed
21993 dvi-sed: \
21994 configure-sed
21995 @$(unstage)
21996 @[ -f ./sed/Makefile ] || exit 0; \
21997 r=`${PWD_COMMAND}`; export r; \
21998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21999 $(HOST_EXPORTS) \
22000 for flag in $(EXTRA_HOST_FLAGS) ; do \
22001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22002 done; \
22003 echo "Doing dvi in sed" ; \
22004 (cd $(HOST_SUBDIR)/sed && \
22005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22007 "RANLIB=$${RANLIB}" \
22008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22009 dvi) \
22010 || exit 1
22012 @endif sed
22014 .PHONY: maybe-html-sed html-sed
22015 maybe-html-sed:
22016 @if sed
22017 maybe-html-sed: html-sed
22019 html-sed: \
22020 configure-sed
22021 @$(unstage)
22022 @[ -f ./sed/Makefile ] || exit 0; \
22023 r=`${PWD_COMMAND}`; export r; \
22024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22025 $(HOST_EXPORTS) \
22026 for flag in $(EXTRA_HOST_FLAGS) ; do \
22027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22028 done; \
22029 echo "Doing html in sed" ; \
22030 (cd $(HOST_SUBDIR)/sed && \
22031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22033 "RANLIB=$${RANLIB}" \
22034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22035 html) \
22036 || exit 1
22038 @endif sed
22040 .PHONY: maybe-TAGS-sed TAGS-sed
22041 maybe-TAGS-sed:
22042 @if sed
22043 maybe-TAGS-sed: TAGS-sed
22045 TAGS-sed: \
22046 configure-sed
22047 @$(unstage)
22048 @[ -f ./sed/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 TAGS in sed" ; \
22056 (cd $(HOST_SUBDIR)/sed && \
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 TAGS) \
22062 || exit 1
22064 @endif sed
22066 .PHONY: maybe-install-info-sed install-info-sed
22067 maybe-install-info-sed:
22068 @if sed
22069 maybe-install-info-sed: install-info-sed
22071 install-info-sed: \
22072 configure-sed \
22073 info-sed
22074 @$(unstage)
22075 @[ -f ./sed/Makefile ] || exit 0; \
22076 r=`${PWD_COMMAND}`; export r; \
22077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22078 $(HOST_EXPORTS) \
22079 for flag in $(EXTRA_HOST_FLAGS) ; do \
22080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22081 done; \
22082 echo "Doing install-info in sed" ; \
22083 (cd $(HOST_SUBDIR)/sed && \
22084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22086 "RANLIB=$${RANLIB}" \
22087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22088 install-info) \
22089 || exit 1
22091 @endif sed
22093 .PHONY: maybe-installcheck-sed installcheck-sed
22094 maybe-installcheck-sed:
22095 @if sed
22096 maybe-installcheck-sed: installcheck-sed
22098 installcheck-sed: \
22099 configure-sed
22100 @$(unstage)
22101 @[ -f ./sed/Makefile ] || exit 0; \
22102 r=`${PWD_COMMAND}`; export r; \
22103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22104 $(HOST_EXPORTS) \
22105 for flag in $(EXTRA_HOST_FLAGS) ; do \
22106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22107 done; \
22108 echo "Doing installcheck in sed" ; \
22109 (cd $(HOST_SUBDIR)/sed && \
22110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22112 "RANLIB=$${RANLIB}" \
22113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22114 installcheck) \
22115 || exit 1
22117 @endif sed
22119 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22120 maybe-mostlyclean-sed:
22121 @if sed
22122 maybe-mostlyclean-sed: mostlyclean-sed
22124 mostlyclean-sed:
22125 @$(unstage)
22126 @[ -f ./sed/Makefile ] || exit 0; \
22127 r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 $(HOST_EXPORTS) \
22130 for flag in $(EXTRA_HOST_FLAGS) ; do \
22131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22132 done; \
22133 echo "Doing mostlyclean in sed" ; \
22134 (cd $(HOST_SUBDIR)/sed && \
22135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22137 "RANLIB=$${RANLIB}" \
22138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22139 mostlyclean) \
22140 || exit 1
22142 @endif sed
22144 .PHONY: maybe-clean-sed clean-sed
22145 maybe-clean-sed:
22146 @if sed
22147 maybe-clean-sed: clean-sed
22149 clean-sed:
22150 @$(unstage)
22151 @[ -f ./sed/Makefile ] || exit 0; \
22152 r=`${PWD_COMMAND}`; export r; \
22153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22154 $(HOST_EXPORTS) \
22155 for flag in $(EXTRA_HOST_FLAGS) ; do \
22156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22157 done; \
22158 echo "Doing clean in sed" ; \
22159 (cd $(HOST_SUBDIR)/sed && \
22160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22162 "RANLIB=$${RANLIB}" \
22163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22164 clean) \
22165 || exit 1
22167 @endif sed
22169 .PHONY: maybe-distclean-sed distclean-sed
22170 maybe-distclean-sed:
22171 @if sed
22172 maybe-distclean-sed: distclean-sed
22174 distclean-sed:
22175 @$(unstage)
22176 @[ -f ./sed/Makefile ] || exit 0; \
22177 r=`${PWD_COMMAND}`; export r; \
22178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22179 $(HOST_EXPORTS) \
22180 for flag in $(EXTRA_HOST_FLAGS) ; do \
22181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22182 done; \
22183 echo "Doing distclean in sed" ; \
22184 (cd $(HOST_SUBDIR)/sed && \
22185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22187 "RANLIB=$${RANLIB}" \
22188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22189 distclean) \
22190 || exit 1
22192 @endif sed
22194 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22195 maybe-maintainer-clean-sed:
22196 @if sed
22197 maybe-maintainer-clean-sed: maintainer-clean-sed
22199 maintainer-clean-sed:
22200 @$(unstage)
22201 @[ -f ./sed/Makefile ] || exit 0; \
22202 r=`${PWD_COMMAND}`; export r; \
22203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22204 $(HOST_EXPORTS) \
22205 for flag in $(EXTRA_HOST_FLAGS) ; do \
22206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22207 done; \
22208 echo "Doing maintainer-clean in sed" ; \
22209 (cd $(HOST_SUBDIR)/sed && \
22210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22212 "RANLIB=$${RANLIB}" \
22213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22214 maintainer-clean) \
22215 || exit 1
22217 @endif sed
22221 .PHONY: configure-send-pr maybe-configure-send-pr
22222 maybe-configure-send-pr:
22223 @if send-pr
22224 maybe-configure-send-pr: configure-send-pr
22225 configure-send-pr:
22226 @$(unstage)
22227 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22229 r=`${PWD_COMMAND}`; export r; \
22230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22231 $(HOST_EXPORTS) \
22232 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22233 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22234 case $(srcdir) in \
22235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22236 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22238 esac; \
22239 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22240 libsrcdir="$$s/send-pr"; \
22241 $(SHELL) $${libsrcdir}/configure \
22242 $(HOST_CONFIGARGS) $${srcdiroption} \
22243 || exit 1
22244 @endif send-pr
22250 .PHONY: all-send-pr maybe-all-send-pr
22251 maybe-all-send-pr:
22252 @if send-pr
22253 TARGET-send-pr=all
22254 maybe-all-send-pr: all-send-pr
22255 all-send-pr: configure-send-pr
22256 @$(unstage)
22257 @r=`${PWD_COMMAND}`; export r; \
22258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22259 $(HOST_EXPORTS) \
22260 (cd $(HOST_SUBDIR)/send-pr && \
22261 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22262 @endif send-pr
22267 .PHONY: check-send-pr maybe-check-send-pr
22268 maybe-check-send-pr:
22269 @if send-pr
22270 maybe-check-send-pr: check-send-pr
22272 check-send-pr:
22273 @$(unstage)
22274 @r=`${PWD_COMMAND}`; export r; \
22275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22276 $(HOST_EXPORTS) \
22277 (cd $(HOST_SUBDIR)/send-pr && \
22278 $(MAKE) $(FLAGS_TO_PASS) check)
22280 @endif send-pr
22282 .PHONY: install-send-pr maybe-install-send-pr
22283 maybe-install-send-pr:
22284 @if send-pr
22285 maybe-install-send-pr: install-send-pr
22287 install-send-pr: installdirs
22288 @$(unstage)
22289 @r=`${PWD_COMMAND}`; export r; \
22290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22291 $(HOST_EXPORTS) \
22292 (cd $(HOST_SUBDIR)/send-pr && \
22293 $(MAKE) $(FLAGS_TO_PASS) install)
22295 @endif send-pr
22297 # Other targets (info, dvi, etc.)
22299 .PHONY: maybe-info-send-pr info-send-pr
22300 maybe-info-send-pr:
22301 @if send-pr
22302 maybe-info-send-pr: info-send-pr
22304 info-send-pr: \
22305 configure-send-pr
22306 @$(unstage)
22307 @[ -f ./send-pr/Makefile ] || exit 0; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22310 $(HOST_EXPORTS) \
22311 for flag in $(EXTRA_HOST_FLAGS) ; do \
22312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22313 done; \
22314 echo "Doing info in send-pr" ; \
22315 (cd $(HOST_SUBDIR)/send-pr && \
22316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22318 "RANLIB=$${RANLIB}" \
22319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22320 info) \
22321 || exit 1
22323 @endif send-pr
22325 .PHONY: maybe-dvi-send-pr dvi-send-pr
22326 maybe-dvi-send-pr:
22327 @if send-pr
22328 maybe-dvi-send-pr: dvi-send-pr
22330 dvi-send-pr: \
22331 configure-send-pr
22332 @$(unstage)
22333 @[ -f ./send-pr/Makefile ] || exit 0; \
22334 r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 $(HOST_EXPORTS) \
22337 for flag in $(EXTRA_HOST_FLAGS) ; do \
22338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22339 done; \
22340 echo "Doing dvi in send-pr" ; \
22341 (cd $(HOST_SUBDIR)/send-pr && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22346 dvi) \
22347 || exit 1
22349 @endif send-pr
22351 .PHONY: maybe-html-send-pr html-send-pr
22352 maybe-html-send-pr:
22353 @if send-pr
22354 maybe-html-send-pr: html-send-pr
22356 html-send-pr: \
22357 configure-send-pr
22358 @$(unstage)
22359 @[ -f ./send-pr/Makefile ] || exit 0; \
22360 r=`${PWD_COMMAND}`; export r; \
22361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22362 $(HOST_EXPORTS) \
22363 for flag in $(EXTRA_HOST_FLAGS) ; do \
22364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22365 done; \
22366 echo "Doing html in send-pr" ; \
22367 (cd $(HOST_SUBDIR)/send-pr && \
22368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22370 "RANLIB=$${RANLIB}" \
22371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22372 html) \
22373 || exit 1
22375 @endif send-pr
22377 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22378 maybe-TAGS-send-pr:
22379 @if send-pr
22380 maybe-TAGS-send-pr: TAGS-send-pr
22382 TAGS-send-pr: \
22383 configure-send-pr
22384 @$(unstage)
22385 @[ -f ./send-pr/Makefile ] || exit 0; \
22386 r=`${PWD_COMMAND}`; export r; \
22387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22388 $(HOST_EXPORTS) \
22389 for flag in $(EXTRA_HOST_FLAGS) ; do \
22390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22391 done; \
22392 echo "Doing TAGS in send-pr" ; \
22393 (cd $(HOST_SUBDIR)/send-pr && \
22394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22396 "RANLIB=$${RANLIB}" \
22397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22398 TAGS) \
22399 || exit 1
22401 @endif send-pr
22403 .PHONY: maybe-install-info-send-pr install-info-send-pr
22404 maybe-install-info-send-pr:
22405 @if send-pr
22406 maybe-install-info-send-pr: install-info-send-pr
22408 install-info-send-pr: \
22409 configure-send-pr \
22410 info-send-pr
22411 @$(unstage)
22412 @[ -f ./send-pr/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 install-info in send-pr" ; \
22420 (cd $(HOST_SUBDIR)/send-pr && \
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 install-info) \
22426 || exit 1
22428 @endif send-pr
22430 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22431 maybe-installcheck-send-pr:
22432 @if send-pr
22433 maybe-installcheck-send-pr: installcheck-send-pr
22435 installcheck-send-pr: \
22436 configure-send-pr
22437 @$(unstage)
22438 @[ -f ./send-pr/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(HOST_EXPORTS) \
22442 for flag in $(EXTRA_HOST_FLAGS) ; do \
22443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 done; \
22445 echo "Doing installcheck in send-pr" ; \
22446 (cd $(HOST_SUBDIR)/send-pr && \
22447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22449 "RANLIB=$${RANLIB}" \
22450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22451 installcheck) \
22452 || exit 1
22454 @endif send-pr
22456 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22457 maybe-mostlyclean-send-pr:
22458 @if send-pr
22459 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22461 mostlyclean-send-pr:
22462 @$(unstage)
22463 @[ -f ./send-pr/Makefile ] || exit 0; \
22464 r=`${PWD_COMMAND}`; export r; \
22465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22466 $(HOST_EXPORTS) \
22467 for flag in $(EXTRA_HOST_FLAGS) ; do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 echo "Doing mostlyclean in send-pr" ; \
22471 (cd $(HOST_SUBDIR)/send-pr && \
22472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22474 "RANLIB=$${RANLIB}" \
22475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22476 mostlyclean) \
22477 || exit 1
22479 @endif send-pr
22481 .PHONY: maybe-clean-send-pr clean-send-pr
22482 maybe-clean-send-pr:
22483 @if send-pr
22484 maybe-clean-send-pr: clean-send-pr
22486 clean-send-pr:
22487 @$(unstage)
22488 @[ -f ./send-pr/Makefile ] || exit 0; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 $(HOST_EXPORTS) \
22492 for flag in $(EXTRA_HOST_FLAGS) ; do \
22493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22494 done; \
22495 echo "Doing clean in send-pr" ; \
22496 (cd $(HOST_SUBDIR)/send-pr && \
22497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499 "RANLIB=$${RANLIB}" \
22500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22501 clean) \
22502 || exit 1
22504 @endif send-pr
22506 .PHONY: maybe-distclean-send-pr distclean-send-pr
22507 maybe-distclean-send-pr:
22508 @if send-pr
22509 maybe-distclean-send-pr: distclean-send-pr
22511 distclean-send-pr:
22512 @$(unstage)
22513 @[ -f ./send-pr/Makefile ] || exit 0; \
22514 r=`${PWD_COMMAND}`; export r; \
22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22516 $(HOST_EXPORTS) \
22517 for flag in $(EXTRA_HOST_FLAGS) ; do \
22518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22519 done; \
22520 echo "Doing distclean in send-pr" ; \
22521 (cd $(HOST_SUBDIR)/send-pr && \
22522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22524 "RANLIB=$${RANLIB}" \
22525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22526 distclean) \
22527 || exit 1
22529 @endif send-pr
22531 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22532 maybe-maintainer-clean-send-pr:
22533 @if send-pr
22534 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22536 maintainer-clean-send-pr:
22537 @$(unstage)
22538 @[ -f ./send-pr/Makefile ] || exit 0; \
22539 r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541 $(HOST_EXPORTS) \
22542 for flag in $(EXTRA_HOST_FLAGS) ; do \
22543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22544 done; \
22545 echo "Doing maintainer-clean in send-pr" ; \
22546 (cd $(HOST_SUBDIR)/send-pr && \
22547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22549 "RANLIB=$${RANLIB}" \
22550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22551 maintainer-clean) \
22552 || exit 1
22554 @endif send-pr
22558 .PHONY: configure-shellutils maybe-configure-shellutils
22559 maybe-configure-shellutils:
22560 @if shellutils
22561 maybe-configure-shellutils: configure-shellutils
22562 configure-shellutils:
22563 @$(unstage)
22564 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22566 r=`${PWD_COMMAND}`; export r; \
22567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568 $(HOST_EXPORTS) \
22569 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22570 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22571 case $(srcdir) in \
22572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22573 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22575 esac; \
22576 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22577 libsrcdir="$$s/shellutils"; \
22578 $(SHELL) $${libsrcdir}/configure \
22579 $(HOST_CONFIGARGS) $${srcdiroption} \
22580 || exit 1
22581 @endif shellutils
22587 .PHONY: all-shellutils maybe-all-shellutils
22588 maybe-all-shellutils:
22589 @if shellutils
22590 TARGET-shellutils=all
22591 maybe-all-shellutils: all-shellutils
22592 all-shellutils: configure-shellutils
22593 @$(unstage)
22594 @r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596 $(HOST_EXPORTS) \
22597 (cd $(HOST_SUBDIR)/shellutils && \
22598 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22599 @endif shellutils
22604 .PHONY: check-shellutils maybe-check-shellutils
22605 maybe-check-shellutils:
22606 @if shellutils
22607 maybe-check-shellutils: check-shellutils
22609 check-shellutils:
22610 @$(unstage)
22611 @r=`${PWD_COMMAND}`; export r; \
22612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22613 $(HOST_EXPORTS) \
22614 (cd $(HOST_SUBDIR)/shellutils && \
22615 $(MAKE) $(FLAGS_TO_PASS) check)
22617 @endif shellutils
22619 .PHONY: install-shellutils maybe-install-shellutils
22620 maybe-install-shellutils:
22621 @if shellutils
22622 maybe-install-shellutils: install-shellutils
22624 install-shellutils: installdirs
22625 @$(unstage)
22626 @r=`${PWD_COMMAND}`; export r; \
22627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22628 $(HOST_EXPORTS) \
22629 (cd $(HOST_SUBDIR)/shellutils && \
22630 $(MAKE) $(FLAGS_TO_PASS) install)
22632 @endif shellutils
22634 # Other targets (info, dvi, etc.)
22636 .PHONY: maybe-info-shellutils info-shellutils
22637 maybe-info-shellutils:
22638 @if shellutils
22639 maybe-info-shellutils: info-shellutils
22641 info-shellutils: \
22642 configure-shellutils
22643 @$(unstage)
22644 @[ -f ./shellutils/Makefile ] || exit 0; \
22645 r=`${PWD_COMMAND}`; export r; \
22646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22647 $(HOST_EXPORTS) \
22648 for flag in $(EXTRA_HOST_FLAGS) ; do \
22649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22650 done; \
22651 echo "Doing info in shellutils" ; \
22652 (cd $(HOST_SUBDIR)/shellutils && \
22653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22655 "RANLIB=$${RANLIB}" \
22656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22657 info) \
22658 || exit 1
22660 @endif shellutils
22662 .PHONY: maybe-dvi-shellutils dvi-shellutils
22663 maybe-dvi-shellutils:
22664 @if shellutils
22665 maybe-dvi-shellutils: dvi-shellutils
22667 dvi-shellutils: \
22668 configure-shellutils
22669 @$(unstage)
22670 @[ -f ./shellutils/Makefile ] || exit 0; \
22671 r=`${PWD_COMMAND}`; export r; \
22672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22673 $(HOST_EXPORTS) \
22674 for flag in $(EXTRA_HOST_FLAGS) ; do \
22675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22676 done; \
22677 echo "Doing dvi in shellutils" ; \
22678 (cd $(HOST_SUBDIR)/shellutils && \
22679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22681 "RANLIB=$${RANLIB}" \
22682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22683 dvi) \
22684 || exit 1
22686 @endif shellutils
22688 .PHONY: maybe-html-shellutils html-shellutils
22689 maybe-html-shellutils:
22690 @if shellutils
22691 maybe-html-shellutils: html-shellutils
22693 html-shellutils: \
22694 configure-shellutils
22695 @$(unstage)
22696 @[ -f ./shellutils/Makefile ] || exit 0; \
22697 r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 $(HOST_EXPORTS) \
22700 for flag in $(EXTRA_HOST_FLAGS) ; do \
22701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22702 done; \
22703 echo "Doing html in shellutils" ; \
22704 (cd $(HOST_SUBDIR)/shellutils && \
22705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22707 "RANLIB=$${RANLIB}" \
22708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22709 html) \
22710 || exit 1
22712 @endif shellutils
22714 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22715 maybe-TAGS-shellutils:
22716 @if shellutils
22717 maybe-TAGS-shellutils: TAGS-shellutils
22719 TAGS-shellutils: \
22720 configure-shellutils
22721 @$(unstage)
22722 @[ -f ./shellutils/Makefile ] || exit 0; \
22723 r=`${PWD_COMMAND}`; export r; \
22724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22725 $(HOST_EXPORTS) \
22726 for flag in $(EXTRA_HOST_FLAGS) ; do \
22727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22728 done; \
22729 echo "Doing TAGS in shellutils" ; \
22730 (cd $(HOST_SUBDIR)/shellutils && \
22731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22733 "RANLIB=$${RANLIB}" \
22734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22735 TAGS) \
22736 || exit 1
22738 @endif shellutils
22740 .PHONY: maybe-install-info-shellutils install-info-shellutils
22741 maybe-install-info-shellutils:
22742 @if shellutils
22743 maybe-install-info-shellutils: install-info-shellutils
22745 install-info-shellutils: \
22746 configure-shellutils \
22747 info-shellutils
22748 @$(unstage)
22749 @[ -f ./shellutils/Makefile ] || exit 0; \
22750 r=`${PWD_COMMAND}`; export r; \
22751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22752 $(HOST_EXPORTS) \
22753 for flag in $(EXTRA_HOST_FLAGS) ; do \
22754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22755 done; \
22756 echo "Doing install-info in shellutils" ; \
22757 (cd $(HOST_SUBDIR)/shellutils && \
22758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22760 "RANLIB=$${RANLIB}" \
22761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22762 install-info) \
22763 || exit 1
22765 @endif shellutils
22767 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22768 maybe-installcheck-shellutils:
22769 @if shellutils
22770 maybe-installcheck-shellutils: installcheck-shellutils
22772 installcheck-shellutils: \
22773 configure-shellutils
22774 @$(unstage)
22775 @[ -f ./shellutils/Makefile ] || exit 0; \
22776 r=`${PWD_COMMAND}`; export r; \
22777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22778 $(HOST_EXPORTS) \
22779 for flag in $(EXTRA_HOST_FLAGS) ; do \
22780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22781 done; \
22782 echo "Doing installcheck in shellutils" ; \
22783 (cd $(HOST_SUBDIR)/shellutils && \
22784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22786 "RANLIB=$${RANLIB}" \
22787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22788 installcheck) \
22789 || exit 1
22791 @endif shellutils
22793 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22794 maybe-mostlyclean-shellutils:
22795 @if shellutils
22796 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22798 mostlyclean-shellutils:
22799 @$(unstage)
22800 @[ -f ./shellutils/Makefile ] || exit 0; \
22801 r=`${PWD_COMMAND}`; export r; \
22802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803 $(HOST_EXPORTS) \
22804 for flag in $(EXTRA_HOST_FLAGS) ; do \
22805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22806 done; \
22807 echo "Doing mostlyclean in shellutils" ; \
22808 (cd $(HOST_SUBDIR)/shellutils && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22811 "RANLIB=$${RANLIB}" \
22812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22813 mostlyclean) \
22814 || exit 1
22816 @endif shellutils
22818 .PHONY: maybe-clean-shellutils clean-shellutils
22819 maybe-clean-shellutils:
22820 @if shellutils
22821 maybe-clean-shellutils: clean-shellutils
22823 clean-shellutils:
22824 @$(unstage)
22825 @[ -f ./shellutils/Makefile ] || exit 0; \
22826 r=`${PWD_COMMAND}`; export r; \
22827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22828 $(HOST_EXPORTS) \
22829 for flag in $(EXTRA_HOST_FLAGS) ; do \
22830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22831 done; \
22832 echo "Doing clean in shellutils" ; \
22833 (cd $(HOST_SUBDIR)/shellutils && \
22834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22836 "RANLIB=$${RANLIB}" \
22837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22838 clean) \
22839 || exit 1
22841 @endif shellutils
22843 .PHONY: maybe-distclean-shellutils distclean-shellutils
22844 maybe-distclean-shellutils:
22845 @if shellutils
22846 maybe-distclean-shellutils: distclean-shellutils
22848 distclean-shellutils:
22849 @$(unstage)
22850 @[ -f ./shellutils/Makefile ] || exit 0; \
22851 r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 for flag in $(EXTRA_HOST_FLAGS) ; do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 echo "Doing distclean in shellutils" ; \
22858 (cd $(HOST_SUBDIR)/shellutils && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 distclean) \
22864 || exit 1
22866 @endif shellutils
22868 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22869 maybe-maintainer-clean-shellutils:
22870 @if shellutils
22871 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22873 maintainer-clean-shellutils:
22874 @$(unstage)
22875 @[ -f ./shellutils/Makefile ] || exit 0; \
22876 r=`${PWD_COMMAND}`; export r; \
22877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22878 $(HOST_EXPORTS) \
22879 for flag in $(EXTRA_HOST_FLAGS) ; do \
22880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22881 done; \
22882 echo "Doing maintainer-clean in shellutils" ; \
22883 (cd $(HOST_SUBDIR)/shellutils && \
22884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22886 "RANLIB=$${RANLIB}" \
22887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22888 maintainer-clean) \
22889 || exit 1
22891 @endif shellutils
22895 .PHONY: configure-sid maybe-configure-sid
22896 maybe-configure-sid:
22897 @if sid
22898 maybe-configure-sid: configure-sid
22899 configure-sid:
22900 @$(unstage)
22901 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22903 r=`${PWD_COMMAND}`; export r; \
22904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22905 $(HOST_EXPORTS) \
22906 echo Configuring in $(HOST_SUBDIR)/sid; \
22907 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22908 case $(srcdir) in \
22909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22910 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22912 esac; \
22913 srcdiroption="--srcdir=$${topdir}/sid"; \
22914 libsrcdir="$$s/sid"; \
22915 $(SHELL) $${libsrcdir}/configure \
22916 $(HOST_CONFIGARGS) $${srcdiroption} \
22917 || exit 1
22918 @endif sid
22924 .PHONY: all-sid maybe-all-sid
22925 maybe-all-sid:
22926 @if sid
22927 TARGET-sid=all
22928 maybe-all-sid: all-sid
22929 all-sid: configure-sid
22930 @$(unstage)
22931 @r=`${PWD_COMMAND}`; export r; \
22932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22933 $(HOST_EXPORTS) \
22934 (cd $(HOST_SUBDIR)/sid && \
22935 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22936 @endif sid
22941 .PHONY: check-sid maybe-check-sid
22942 maybe-check-sid:
22943 @if sid
22944 maybe-check-sid: check-sid
22946 check-sid:
22947 @$(unstage)
22948 @r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 $(HOST_EXPORTS) \
22951 (cd $(HOST_SUBDIR)/sid && \
22952 $(MAKE) $(FLAGS_TO_PASS) check)
22954 @endif sid
22956 .PHONY: install-sid maybe-install-sid
22957 maybe-install-sid:
22958 @if sid
22959 maybe-install-sid: install-sid
22961 install-sid: installdirs
22962 @$(unstage)
22963 @r=`${PWD_COMMAND}`; export r; \
22964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22965 $(HOST_EXPORTS) \
22966 (cd $(HOST_SUBDIR)/sid && \
22967 $(MAKE) $(FLAGS_TO_PASS) install)
22969 @endif sid
22971 # Other targets (info, dvi, etc.)
22973 .PHONY: maybe-info-sid info-sid
22974 maybe-info-sid:
22975 @if sid
22976 maybe-info-sid: info-sid
22978 info-sid: \
22979 configure-sid
22980 @$(unstage)
22981 @[ -f ./sid/Makefile ] || exit 0; \
22982 r=`${PWD_COMMAND}`; export r; \
22983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 $(HOST_EXPORTS) \
22985 for flag in $(EXTRA_HOST_FLAGS) ; do \
22986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22987 done; \
22988 echo "Doing info in sid" ; \
22989 (cd $(HOST_SUBDIR)/sid && \
22990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22992 "RANLIB=$${RANLIB}" \
22993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22994 info) \
22995 || exit 1
22997 @endif sid
22999 .PHONY: maybe-dvi-sid dvi-sid
23000 maybe-dvi-sid:
23001 @if sid
23002 maybe-dvi-sid: dvi-sid
23004 dvi-sid: \
23005 configure-sid
23006 @$(unstage)
23007 @[ -f ./sid/Makefile ] || exit 0; \
23008 r=`${PWD_COMMAND}`; export r; \
23009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23010 $(HOST_EXPORTS) \
23011 for flag in $(EXTRA_HOST_FLAGS) ; do \
23012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23013 done; \
23014 echo "Doing dvi in sid" ; \
23015 (cd $(HOST_SUBDIR)/sid && \
23016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23018 "RANLIB=$${RANLIB}" \
23019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23020 dvi) \
23021 || exit 1
23023 @endif sid
23025 .PHONY: maybe-html-sid html-sid
23026 maybe-html-sid:
23027 @if sid
23028 maybe-html-sid: html-sid
23030 html-sid: \
23031 configure-sid
23032 @$(unstage)
23033 @[ -f ./sid/Makefile ] || exit 0; \
23034 r=`${PWD_COMMAND}`; export r; \
23035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23036 $(HOST_EXPORTS) \
23037 for flag in $(EXTRA_HOST_FLAGS) ; do \
23038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23039 done; \
23040 echo "Doing html in sid" ; \
23041 (cd $(HOST_SUBDIR)/sid && \
23042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23044 "RANLIB=$${RANLIB}" \
23045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23046 html) \
23047 || exit 1
23049 @endif sid
23051 .PHONY: maybe-TAGS-sid TAGS-sid
23052 maybe-TAGS-sid:
23053 @if sid
23054 maybe-TAGS-sid: TAGS-sid
23056 TAGS-sid: \
23057 configure-sid
23058 @$(unstage)
23059 @[ -f ./sid/Makefile ] || exit 0; \
23060 r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 $(HOST_EXPORTS) \
23063 for flag in $(EXTRA_HOST_FLAGS) ; do \
23064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23065 done; \
23066 echo "Doing TAGS in sid" ; \
23067 (cd $(HOST_SUBDIR)/sid && \
23068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23070 "RANLIB=$${RANLIB}" \
23071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23072 TAGS) \
23073 || exit 1
23075 @endif sid
23077 .PHONY: maybe-install-info-sid install-info-sid
23078 maybe-install-info-sid:
23079 @if sid
23080 maybe-install-info-sid: install-info-sid
23082 install-info-sid: \
23083 configure-sid \
23084 info-sid
23085 @$(unstage)
23086 @[ -f ./sid/Makefile ] || exit 0; \
23087 r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(HOST_EXPORTS) \
23090 for flag in $(EXTRA_HOST_FLAGS) ; do \
23091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23092 done; \
23093 echo "Doing install-info in sid" ; \
23094 (cd $(HOST_SUBDIR)/sid && \
23095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23097 "RANLIB=$${RANLIB}" \
23098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23099 install-info) \
23100 || exit 1
23102 @endif sid
23104 .PHONY: maybe-installcheck-sid installcheck-sid
23105 maybe-installcheck-sid:
23106 @if sid
23107 maybe-installcheck-sid: installcheck-sid
23109 installcheck-sid: \
23110 configure-sid
23111 @$(unstage)
23112 @[ -f ./sid/Makefile ] || exit 0; \
23113 r=`${PWD_COMMAND}`; export r; \
23114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23115 $(HOST_EXPORTS) \
23116 for flag in $(EXTRA_HOST_FLAGS) ; do \
23117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23118 done; \
23119 echo "Doing installcheck in sid" ; \
23120 (cd $(HOST_SUBDIR)/sid && \
23121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23123 "RANLIB=$${RANLIB}" \
23124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23125 installcheck) \
23126 || exit 1
23128 @endif sid
23130 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23131 maybe-mostlyclean-sid:
23132 @if sid
23133 maybe-mostlyclean-sid: mostlyclean-sid
23135 mostlyclean-sid:
23136 @$(unstage)
23137 @[ -f ./sid/Makefile ] || exit 0; \
23138 r=`${PWD_COMMAND}`; export r; \
23139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23140 $(HOST_EXPORTS) \
23141 for flag in $(EXTRA_HOST_FLAGS) ; do \
23142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23143 done; \
23144 echo "Doing mostlyclean in sid" ; \
23145 (cd $(HOST_SUBDIR)/sid && \
23146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23148 "RANLIB=$${RANLIB}" \
23149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23150 mostlyclean) \
23151 || exit 1
23153 @endif sid
23155 .PHONY: maybe-clean-sid clean-sid
23156 maybe-clean-sid:
23157 @if sid
23158 maybe-clean-sid: clean-sid
23160 clean-sid:
23161 @$(unstage)
23162 @[ -f ./sid/Makefile ] || exit 0; \
23163 r=`${PWD_COMMAND}`; export r; \
23164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23165 $(HOST_EXPORTS) \
23166 for flag in $(EXTRA_HOST_FLAGS) ; do \
23167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23168 done; \
23169 echo "Doing clean in sid" ; \
23170 (cd $(HOST_SUBDIR)/sid && \
23171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23173 "RANLIB=$${RANLIB}" \
23174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23175 clean) \
23176 || exit 1
23178 @endif sid
23180 .PHONY: maybe-distclean-sid distclean-sid
23181 maybe-distclean-sid:
23182 @if sid
23183 maybe-distclean-sid: distclean-sid
23185 distclean-sid:
23186 @$(unstage)
23187 @[ -f ./sid/Makefile ] || exit 0; \
23188 r=`${PWD_COMMAND}`; export r; \
23189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23190 $(HOST_EXPORTS) \
23191 for flag in $(EXTRA_HOST_FLAGS) ; do \
23192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23193 done; \
23194 echo "Doing distclean in sid" ; \
23195 (cd $(HOST_SUBDIR)/sid && \
23196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23198 "RANLIB=$${RANLIB}" \
23199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23200 distclean) \
23201 || exit 1
23203 @endif sid
23205 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23206 maybe-maintainer-clean-sid:
23207 @if sid
23208 maybe-maintainer-clean-sid: maintainer-clean-sid
23210 maintainer-clean-sid:
23211 @$(unstage)
23212 @[ -f ./sid/Makefile ] || exit 0; \
23213 r=`${PWD_COMMAND}`; export r; \
23214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23215 $(HOST_EXPORTS) \
23216 for flag in $(EXTRA_HOST_FLAGS) ; do \
23217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23218 done; \
23219 echo "Doing maintainer-clean in sid" ; \
23220 (cd $(HOST_SUBDIR)/sid && \
23221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23223 "RANLIB=$${RANLIB}" \
23224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23225 maintainer-clean) \
23226 || exit 1
23228 @endif sid
23232 .PHONY: configure-sim maybe-configure-sim
23233 maybe-configure-sim:
23234 @if sim
23235 maybe-configure-sim: configure-sim
23236 configure-sim:
23237 @$(unstage)
23238 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23240 r=`${PWD_COMMAND}`; export r; \
23241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23242 $(HOST_EXPORTS) \
23243 echo Configuring in $(HOST_SUBDIR)/sim; \
23244 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23245 case $(srcdir) in \
23246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23247 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23249 esac; \
23250 srcdiroption="--srcdir=$${topdir}/sim"; \
23251 libsrcdir="$$s/sim"; \
23252 $(SHELL) $${libsrcdir}/configure \
23253 $(HOST_CONFIGARGS) $${srcdiroption} \
23254 || exit 1
23255 @endif sim
23261 .PHONY: all-sim maybe-all-sim
23262 maybe-all-sim:
23263 @if sim
23264 TARGET-sim=all
23265 maybe-all-sim: all-sim
23266 all-sim: configure-sim
23267 @$(unstage)
23268 @r=`${PWD_COMMAND}`; export r; \
23269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23270 $(HOST_EXPORTS) \
23271 (cd $(HOST_SUBDIR)/sim && \
23272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23273 @endif sim
23278 .PHONY: check-sim maybe-check-sim
23279 maybe-check-sim:
23280 @if sim
23281 maybe-check-sim: check-sim
23283 check-sim:
23284 @$(unstage)
23285 @r=`${PWD_COMMAND}`; export r; \
23286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23287 $(HOST_EXPORTS) \
23288 (cd $(HOST_SUBDIR)/sim && \
23289 $(MAKE) $(FLAGS_TO_PASS) check)
23291 @endif sim
23293 .PHONY: install-sim maybe-install-sim
23294 maybe-install-sim:
23295 @if sim
23296 maybe-install-sim: install-sim
23298 install-sim: installdirs
23299 @$(unstage)
23300 @r=`${PWD_COMMAND}`; export r; \
23301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23302 $(HOST_EXPORTS) \
23303 (cd $(HOST_SUBDIR)/sim && \
23304 $(MAKE) $(FLAGS_TO_PASS) install)
23306 @endif sim
23308 # Other targets (info, dvi, etc.)
23310 .PHONY: maybe-info-sim info-sim
23311 maybe-info-sim:
23312 @if sim
23313 maybe-info-sim: info-sim
23315 info-sim: \
23316 configure-sim
23317 @$(unstage)
23318 @[ -f ./sim/Makefile ] || exit 0; \
23319 r=`${PWD_COMMAND}`; export r; \
23320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23321 $(HOST_EXPORTS) \
23322 for flag in $(EXTRA_HOST_FLAGS) ; do \
23323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23324 done; \
23325 echo "Doing info in sim" ; \
23326 (cd $(HOST_SUBDIR)/sim && \
23327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23329 "RANLIB=$${RANLIB}" \
23330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23331 info) \
23332 || exit 1
23334 @endif sim
23336 .PHONY: maybe-dvi-sim dvi-sim
23337 maybe-dvi-sim:
23338 @if sim
23339 maybe-dvi-sim: dvi-sim
23341 dvi-sim: \
23342 configure-sim
23343 @$(unstage)
23344 @[ -f ./sim/Makefile ] || exit 0; \
23345 r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(HOST_EXPORTS) \
23348 for flag in $(EXTRA_HOST_FLAGS) ; do \
23349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23350 done; \
23351 echo "Doing dvi in sim" ; \
23352 (cd $(HOST_SUBDIR)/sim && \
23353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23355 "RANLIB=$${RANLIB}" \
23356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23357 dvi) \
23358 || exit 1
23360 @endif sim
23362 .PHONY: maybe-html-sim html-sim
23363 maybe-html-sim:
23364 @if sim
23365 maybe-html-sim: html-sim
23367 html-sim: \
23368 configure-sim
23369 @$(unstage)
23370 @[ -f ./sim/Makefile ] || exit 0; \
23371 r=`${PWD_COMMAND}`; export r; \
23372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23373 $(HOST_EXPORTS) \
23374 for flag in $(EXTRA_HOST_FLAGS) ; do \
23375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23376 done; \
23377 echo "Doing html in sim" ; \
23378 (cd $(HOST_SUBDIR)/sim && \
23379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23381 "RANLIB=$${RANLIB}" \
23382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23383 html) \
23384 || exit 1
23386 @endif sim
23388 .PHONY: maybe-TAGS-sim TAGS-sim
23389 maybe-TAGS-sim:
23390 @if sim
23391 maybe-TAGS-sim: TAGS-sim
23393 TAGS-sim: \
23394 configure-sim
23395 @$(unstage)
23396 @[ -f ./sim/Makefile ] || exit 0; \
23397 r=`${PWD_COMMAND}`; export r; \
23398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23399 $(HOST_EXPORTS) \
23400 for flag in $(EXTRA_HOST_FLAGS) ; do \
23401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23402 done; \
23403 echo "Doing TAGS in sim" ; \
23404 (cd $(HOST_SUBDIR)/sim && \
23405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23407 "RANLIB=$${RANLIB}" \
23408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23409 TAGS) \
23410 || exit 1
23412 @endif sim
23414 .PHONY: maybe-install-info-sim install-info-sim
23415 maybe-install-info-sim:
23416 @if sim
23417 maybe-install-info-sim: install-info-sim
23419 install-info-sim: \
23420 configure-sim \
23421 info-sim
23422 @$(unstage)
23423 @[ -f ./sim/Makefile ] || exit 0; \
23424 r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 $(HOST_EXPORTS) \
23427 for flag in $(EXTRA_HOST_FLAGS) ; do \
23428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23429 done; \
23430 echo "Doing install-info in sim" ; \
23431 (cd $(HOST_SUBDIR)/sim && \
23432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23434 "RANLIB=$${RANLIB}" \
23435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23436 install-info) \
23437 || exit 1
23439 @endif sim
23441 .PHONY: maybe-installcheck-sim installcheck-sim
23442 maybe-installcheck-sim:
23443 @if sim
23444 maybe-installcheck-sim: installcheck-sim
23446 installcheck-sim: \
23447 configure-sim
23448 @$(unstage)
23449 @[ -f ./sim/Makefile ] || exit 0; \
23450 r=`${PWD_COMMAND}`; export r; \
23451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23452 $(HOST_EXPORTS) \
23453 for flag in $(EXTRA_HOST_FLAGS) ; do \
23454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23455 done; \
23456 echo "Doing installcheck in sim" ; \
23457 (cd $(HOST_SUBDIR)/sim && \
23458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23460 "RANLIB=$${RANLIB}" \
23461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23462 installcheck) \
23463 || exit 1
23465 @endif sim
23467 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23468 maybe-mostlyclean-sim:
23469 @if sim
23470 maybe-mostlyclean-sim: mostlyclean-sim
23472 mostlyclean-sim:
23473 @$(unstage)
23474 @[ -f ./sim/Makefile ] || exit 0; \
23475 r=`${PWD_COMMAND}`; export r; \
23476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23477 $(HOST_EXPORTS) \
23478 for flag in $(EXTRA_HOST_FLAGS) ; do \
23479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23480 done; \
23481 echo "Doing mostlyclean in sim" ; \
23482 (cd $(HOST_SUBDIR)/sim && \
23483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23485 "RANLIB=$${RANLIB}" \
23486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23487 mostlyclean) \
23488 || exit 1
23490 @endif sim
23492 .PHONY: maybe-clean-sim clean-sim
23493 maybe-clean-sim:
23494 @if sim
23495 maybe-clean-sim: clean-sim
23497 clean-sim:
23498 @$(unstage)
23499 @[ -f ./sim/Makefile ] || exit 0; \
23500 r=`${PWD_COMMAND}`; export r; \
23501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23502 $(HOST_EXPORTS) \
23503 for flag in $(EXTRA_HOST_FLAGS) ; do \
23504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23505 done; \
23506 echo "Doing clean in sim" ; \
23507 (cd $(HOST_SUBDIR)/sim && \
23508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23510 "RANLIB=$${RANLIB}" \
23511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23512 clean) \
23513 || exit 1
23515 @endif sim
23517 .PHONY: maybe-distclean-sim distclean-sim
23518 maybe-distclean-sim:
23519 @if sim
23520 maybe-distclean-sim: distclean-sim
23522 distclean-sim:
23523 @$(unstage)
23524 @[ -f ./sim/Makefile ] || exit 0; \
23525 r=`${PWD_COMMAND}`; export r; \
23526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23527 $(HOST_EXPORTS) \
23528 for flag in $(EXTRA_HOST_FLAGS) ; do \
23529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23530 done; \
23531 echo "Doing distclean in sim" ; \
23532 (cd $(HOST_SUBDIR)/sim && \
23533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23535 "RANLIB=$${RANLIB}" \
23536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23537 distclean) \
23538 || exit 1
23540 @endif sim
23542 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23543 maybe-maintainer-clean-sim:
23544 @if sim
23545 maybe-maintainer-clean-sim: maintainer-clean-sim
23547 maintainer-clean-sim:
23548 @$(unstage)
23549 @[ -f ./sim/Makefile ] || exit 0; \
23550 r=`${PWD_COMMAND}`; export r; \
23551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 $(HOST_EXPORTS) \
23553 for flag in $(EXTRA_HOST_FLAGS) ; do \
23554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23555 done; \
23556 echo "Doing maintainer-clean in sim" ; \
23557 (cd $(HOST_SUBDIR)/sim && \
23558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23560 "RANLIB=$${RANLIB}" \
23561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23562 maintainer-clean) \
23563 || exit 1
23565 @endif sim
23569 .PHONY: configure-tar maybe-configure-tar
23570 maybe-configure-tar:
23571 @if tar
23572 maybe-configure-tar: configure-tar
23573 configure-tar:
23574 @$(unstage)
23575 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23577 r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 $(HOST_EXPORTS) \
23580 echo Configuring in $(HOST_SUBDIR)/tar; \
23581 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23582 case $(srcdir) in \
23583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23584 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23586 esac; \
23587 srcdiroption="--srcdir=$${topdir}/tar"; \
23588 libsrcdir="$$s/tar"; \
23589 $(SHELL) $${libsrcdir}/configure \
23590 $(HOST_CONFIGARGS) $${srcdiroption} \
23591 || exit 1
23592 @endif tar
23598 .PHONY: all-tar maybe-all-tar
23599 maybe-all-tar:
23600 @if tar
23601 TARGET-tar=all
23602 maybe-all-tar: all-tar
23603 all-tar: configure-tar
23604 @$(unstage)
23605 @r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23607 $(HOST_EXPORTS) \
23608 (cd $(HOST_SUBDIR)/tar && \
23609 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23610 @endif tar
23615 .PHONY: check-tar maybe-check-tar
23616 maybe-check-tar:
23617 @if tar
23618 maybe-check-tar: check-tar
23620 check-tar:
23621 @$(unstage)
23622 @r=`${PWD_COMMAND}`; export r; \
23623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23624 $(HOST_EXPORTS) \
23625 (cd $(HOST_SUBDIR)/tar && \
23626 $(MAKE) $(FLAGS_TO_PASS) check)
23628 @endif tar
23630 .PHONY: install-tar maybe-install-tar
23631 maybe-install-tar:
23632 @if tar
23633 maybe-install-tar: install-tar
23635 install-tar: installdirs
23636 @$(unstage)
23637 @r=`${PWD_COMMAND}`; export r; \
23638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23639 $(HOST_EXPORTS) \
23640 (cd $(HOST_SUBDIR)/tar && \
23641 $(MAKE) $(FLAGS_TO_PASS) install)
23643 @endif tar
23645 # Other targets (info, dvi, etc.)
23647 .PHONY: maybe-info-tar info-tar
23648 maybe-info-tar:
23649 @if tar
23650 maybe-info-tar: info-tar
23652 info-tar: \
23653 configure-tar
23654 @$(unstage)
23655 @[ -f ./tar/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing info in tar" ; \
23663 (cd $(HOST_SUBDIR)/tar && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23668 info) \
23669 || exit 1
23671 @endif tar
23673 .PHONY: maybe-dvi-tar dvi-tar
23674 maybe-dvi-tar:
23675 @if tar
23676 maybe-dvi-tar: dvi-tar
23678 dvi-tar: \
23679 configure-tar
23680 @$(unstage)
23681 @[ -f ./tar/Makefile ] || exit 0; \
23682 r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(HOST_EXPORTS) \
23685 for flag in $(EXTRA_HOST_FLAGS) ; do \
23686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23687 done; \
23688 echo "Doing dvi in tar" ; \
23689 (cd $(HOST_SUBDIR)/tar && \
23690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692 "RANLIB=$${RANLIB}" \
23693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23694 dvi) \
23695 || exit 1
23697 @endif tar
23699 .PHONY: maybe-html-tar html-tar
23700 maybe-html-tar:
23701 @if tar
23702 maybe-html-tar: html-tar
23704 html-tar: \
23705 configure-tar
23706 @$(unstage)
23707 @[ -f ./tar/Makefile ] || exit 0; \
23708 r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(HOST_EXPORTS) \
23711 for flag in $(EXTRA_HOST_FLAGS) ; do \
23712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713 done; \
23714 echo "Doing html in tar" ; \
23715 (cd $(HOST_SUBDIR)/tar && \
23716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23718 "RANLIB=$${RANLIB}" \
23719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23720 html) \
23721 || exit 1
23723 @endif tar
23725 .PHONY: maybe-TAGS-tar TAGS-tar
23726 maybe-TAGS-tar:
23727 @if tar
23728 maybe-TAGS-tar: TAGS-tar
23730 TAGS-tar: \
23731 configure-tar
23732 @$(unstage)
23733 @[ -f ./tar/Makefile ] || exit 0; \
23734 r=`${PWD_COMMAND}`; export r; \
23735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23736 $(HOST_EXPORTS) \
23737 for flag in $(EXTRA_HOST_FLAGS) ; do \
23738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23739 done; \
23740 echo "Doing TAGS in tar" ; \
23741 (cd $(HOST_SUBDIR)/tar && \
23742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23744 "RANLIB=$${RANLIB}" \
23745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23746 TAGS) \
23747 || exit 1
23749 @endif tar
23751 .PHONY: maybe-install-info-tar install-info-tar
23752 maybe-install-info-tar:
23753 @if tar
23754 maybe-install-info-tar: install-info-tar
23756 install-info-tar: \
23757 configure-tar \
23758 info-tar
23759 @$(unstage)
23760 @[ -f ./tar/Makefile ] || exit 0; \
23761 r=`${PWD_COMMAND}`; export r; \
23762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23763 $(HOST_EXPORTS) \
23764 for flag in $(EXTRA_HOST_FLAGS) ; do \
23765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23766 done; \
23767 echo "Doing install-info in tar" ; \
23768 (cd $(HOST_SUBDIR)/tar && \
23769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23771 "RANLIB=$${RANLIB}" \
23772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23773 install-info) \
23774 || exit 1
23776 @endif tar
23778 .PHONY: maybe-installcheck-tar installcheck-tar
23779 maybe-installcheck-tar:
23780 @if tar
23781 maybe-installcheck-tar: installcheck-tar
23783 installcheck-tar: \
23784 configure-tar
23785 @$(unstage)
23786 @[ -f ./tar/Makefile ] || exit 0; \
23787 r=`${PWD_COMMAND}`; export r; \
23788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789 $(HOST_EXPORTS) \
23790 for flag in $(EXTRA_HOST_FLAGS) ; do \
23791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23792 done; \
23793 echo "Doing installcheck in tar" ; \
23794 (cd $(HOST_SUBDIR)/tar && \
23795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23797 "RANLIB=$${RANLIB}" \
23798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23799 installcheck) \
23800 || exit 1
23802 @endif tar
23804 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23805 maybe-mostlyclean-tar:
23806 @if tar
23807 maybe-mostlyclean-tar: mostlyclean-tar
23809 mostlyclean-tar:
23810 @$(unstage)
23811 @[ -f ./tar/Makefile ] || exit 0; \
23812 r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(HOST_EXPORTS) \
23815 for flag in $(EXTRA_HOST_FLAGS) ; do \
23816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817 done; \
23818 echo "Doing mostlyclean in tar" ; \
23819 (cd $(HOST_SUBDIR)/tar && \
23820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23822 "RANLIB=$${RANLIB}" \
23823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23824 mostlyclean) \
23825 || exit 1
23827 @endif tar
23829 .PHONY: maybe-clean-tar clean-tar
23830 maybe-clean-tar:
23831 @if tar
23832 maybe-clean-tar: clean-tar
23834 clean-tar:
23835 @$(unstage)
23836 @[ -f ./tar/Makefile ] || exit 0; \
23837 r=`${PWD_COMMAND}`; export r; \
23838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23839 $(HOST_EXPORTS) \
23840 for flag in $(EXTRA_HOST_FLAGS) ; do \
23841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23842 done; \
23843 echo "Doing clean in tar" ; \
23844 (cd $(HOST_SUBDIR)/tar && \
23845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23847 "RANLIB=$${RANLIB}" \
23848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23849 clean) \
23850 || exit 1
23852 @endif tar
23854 .PHONY: maybe-distclean-tar distclean-tar
23855 maybe-distclean-tar:
23856 @if tar
23857 maybe-distclean-tar: distclean-tar
23859 distclean-tar:
23860 @$(unstage)
23861 @[ -f ./tar/Makefile ] || exit 0; \
23862 r=`${PWD_COMMAND}`; export r; \
23863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23864 $(HOST_EXPORTS) \
23865 for flag in $(EXTRA_HOST_FLAGS) ; do \
23866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23867 done; \
23868 echo "Doing distclean in tar" ; \
23869 (cd $(HOST_SUBDIR)/tar && \
23870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23872 "RANLIB=$${RANLIB}" \
23873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23874 distclean) \
23875 || exit 1
23877 @endif tar
23879 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23880 maybe-maintainer-clean-tar:
23881 @if tar
23882 maybe-maintainer-clean-tar: maintainer-clean-tar
23884 maintainer-clean-tar:
23885 @$(unstage)
23886 @[ -f ./tar/Makefile ] || exit 0; \
23887 r=`${PWD_COMMAND}`; export r; \
23888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23889 $(HOST_EXPORTS) \
23890 for flag in $(EXTRA_HOST_FLAGS) ; do \
23891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23892 done; \
23893 echo "Doing maintainer-clean in tar" ; \
23894 (cd $(HOST_SUBDIR)/tar && \
23895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23897 "RANLIB=$${RANLIB}" \
23898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23899 maintainer-clean) \
23900 || exit 1
23902 @endif tar
23906 .PHONY: configure-texinfo maybe-configure-texinfo
23907 maybe-configure-texinfo:
23908 @if texinfo
23909 maybe-configure-texinfo: configure-texinfo
23910 configure-texinfo:
23911 @$(unstage)
23912 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23914 r=`${PWD_COMMAND}`; export r; \
23915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23916 $(HOST_EXPORTS) \
23917 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23918 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23919 case $(srcdir) in \
23920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23921 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23923 esac; \
23924 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23925 libsrcdir="$$s/texinfo"; \
23926 $(SHELL) $${libsrcdir}/configure \
23927 $(HOST_CONFIGARGS) $${srcdiroption} \
23928 || exit 1
23929 @endif texinfo
23935 .PHONY: all-texinfo maybe-all-texinfo
23936 maybe-all-texinfo:
23937 @if texinfo
23938 TARGET-texinfo=all
23939 maybe-all-texinfo: all-texinfo
23940 all-texinfo: configure-texinfo
23941 @$(unstage)
23942 @r=`${PWD_COMMAND}`; export r; \
23943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23944 $(HOST_EXPORTS) \
23945 (cd $(HOST_SUBDIR)/texinfo && \
23946 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23947 @endif texinfo
23952 .PHONY: check-texinfo maybe-check-texinfo
23953 maybe-check-texinfo:
23954 @if texinfo
23955 maybe-check-texinfo: check-texinfo
23957 check-texinfo:
23958 @$(unstage)
23959 @r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(HOST_EXPORTS) \
23962 (cd $(HOST_SUBDIR)/texinfo && \
23963 $(MAKE) $(FLAGS_TO_PASS) check)
23965 @endif texinfo
23967 .PHONY: install-texinfo maybe-install-texinfo
23968 maybe-install-texinfo:
23969 @if texinfo
23970 maybe-install-texinfo: install-texinfo
23972 install-texinfo:
23974 @endif texinfo
23976 # Other targets (info, dvi, etc.)
23978 .PHONY: maybe-info-texinfo info-texinfo
23979 maybe-info-texinfo:
23980 @if texinfo
23981 maybe-info-texinfo: info-texinfo
23983 info-texinfo: \
23984 configure-texinfo
23985 @$(unstage)
23986 @[ -f ./texinfo/Makefile ] || exit 0; \
23987 r=`${PWD_COMMAND}`; export r; \
23988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23989 $(HOST_EXPORTS) \
23990 for flag in $(EXTRA_HOST_FLAGS) ; do \
23991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23992 done; \
23993 echo "Doing info in texinfo" ; \
23994 (cd $(HOST_SUBDIR)/texinfo && \
23995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23997 "RANLIB=$${RANLIB}" \
23998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23999 info) \
24000 || exit 1
24002 @endif texinfo
24004 .PHONY: maybe-dvi-texinfo dvi-texinfo
24005 maybe-dvi-texinfo:
24006 @if texinfo
24007 maybe-dvi-texinfo: dvi-texinfo
24009 dvi-texinfo: \
24010 configure-texinfo
24011 @$(unstage)
24012 @[ -f ./texinfo/Makefile ] || exit 0; \
24013 r=`${PWD_COMMAND}`; export r; \
24014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24015 $(HOST_EXPORTS) \
24016 for flag in $(EXTRA_HOST_FLAGS) ; do \
24017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24018 done; \
24019 echo "Doing dvi in texinfo" ; \
24020 (cd $(HOST_SUBDIR)/texinfo && \
24021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24023 "RANLIB=$${RANLIB}" \
24024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24025 dvi) \
24026 || exit 1
24028 @endif texinfo
24030 .PHONY: maybe-html-texinfo html-texinfo
24031 maybe-html-texinfo:
24032 @if texinfo
24033 maybe-html-texinfo: html-texinfo
24035 html-texinfo: \
24036 configure-texinfo
24037 @$(unstage)
24038 @[ -f ./texinfo/Makefile ] || exit 0; \
24039 r=`${PWD_COMMAND}`; export r; \
24040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24041 $(HOST_EXPORTS) \
24042 for flag in $(EXTRA_HOST_FLAGS) ; do \
24043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24044 done; \
24045 echo "Doing html in texinfo" ; \
24046 (cd $(HOST_SUBDIR)/texinfo && \
24047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24049 "RANLIB=$${RANLIB}" \
24050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24051 html) \
24052 || exit 1
24054 @endif texinfo
24056 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24057 maybe-TAGS-texinfo:
24058 @if texinfo
24059 maybe-TAGS-texinfo: TAGS-texinfo
24061 TAGS-texinfo: \
24062 configure-texinfo
24063 @$(unstage)
24064 @[ -f ./texinfo/Makefile ] || exit 0; \
24065 r=`${PWD_COMMAND}`; export r; \
24066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24067 $(HOST_EXPORTS) \
24068 for flag in $(EXTRA_HOST_FLAGS) ; do \
24069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24070 done; \
24071 echo "Doing TAGS in texinfo" ; \
24072 (cd $(HOST_SUBDIR)/texinfo && \
24073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24075 "RANLIB=$${RANLIB}" \
24076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24077 TAGS) \
24078 || exit 1
24080 @endif texinfo
24082 .PHONY: maybe-install-info-texinfo install-info-texinfo
24083 maybe-install-info-texinfo:
24084 @if texinfo
24085 maybe-install-info-texinfo: install-info-texinfo
24087 install-info-texinfo: \
24088 configure-texinfo \
24089 info-texinfo
24090 @$(unstage)
24091 @[ -f ./texinfo/Makefile ] || exit 0; \
24092 r=`${PWD_COMMAND}`; export r; \
24093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24094 $(HOST_EXPORTS) \
24095 for flag in $(EXTRA_HOST_FLAGS) ; do \
24096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24097 done; \
24098 echo "Doing install-info in texinfo" ; \
24099 (cd $(HOST_SUBDIR)/texinfo && \
24100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24102 "RANLIB=$${RANLIB}" \
24103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24104 install-info) \
24105 || exit 1
24107 @endif texinfo
24109 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24110 maybe-installcheck-texinfo:
24111 @if texinfo
24112 maybe-installcheck-texinfo: installcheck-texinfo
24114 installcheck-texinfo: \
24115 configure-texinfo
24116 @$(unstage)
24117 @[ -f ./texinfo/Makefile ] || exit 0; \
24118 r=`${PWD_COMMAND}`; export r; \
24119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24120 $(HOST_EXPORTS) \
24121 for flag in $(EXTRA_HOST_FLAGS) ; do \
24122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24123 done; \
24124 echo "Doing installcheck in texinfo" ; \
24125 (cd $(HOST_SUBDIR)/texinfo && \
24126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24128 "RANLIB=$${RANLIB}" \
24129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24130 installcheck) \
24131 || exit 1
24133 @endif texinfo
24135 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24136 maybe-mostlyclean-texinfo:
24137 @if texinfo
24138 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24140 mostlyclean-texinfo:
24141 @$(unstage)
24142 @[ -f ./texinfo/Makefile ] || exit 0; \
24143 r=`${PWD_COMMAND}`; export r; \
24144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24145 $(HOST_EXPORTS) \
24146 for flag in $(EXTRA_HOST_FLAGS) ; do \
24147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24148 done; \
24149 echo "Doing mostlyclean in texinfo" ; \
24150 (cd $(HOST_SUBDIR)/texinfo && \
24151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24153 "RANLIB=$${RANLIB}" \
24154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24155 mostlyclean) \
24156 || exit 1
24158 @endif texinfo
24160 .PHONY: maybe-clean-texinfo clean-texinfo
24161 maybe-clean-texinfo:
24162 @if texinfo
24163 maybe-clean-texinfo: clean-texinfo
24165 clean-texinfo:
24166 @$(unstage)
24167 @[ -f ./texinfo/Makefile ] || exit 0; \
24168 r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 $(HOST_EXPORTS) \
24171 for flag in $(EXTRA_HOST_FLAGS) ; do \
24172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24173 done; \
24174 echo "Doing clean in texinfo" ; \
24175 (cd $(HOST_SUBDIR)/texinfo && \
24176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24178 "RANLIB=$${RANLIB}" \
24179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24180 clean) \
24181 || exit 1
24183 @endif texinfo
24185 .PHONY: maybe-distclean-texinfo distclean-texinfo
24186 maybe-distclean-texinfo:
24187 @if texinfo
24188 maybe-distclean-texinfo: distclean-texinfo
24190 distclean-texinfo:
24191 @$(unstage)
24192 @[ -f ./texinfo/Makefile ] || exit 0; \
24193 r=`${PWD_COMMAND}`; export r; \
24194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 $(HOST_EXPORTS) \
24196 for flag in $(EXTRA_HOST_FLAGS) ; do \
24197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24198 done; \
24199 echo "Doing distclean in texinfo" ; \
24200 (cd $(HOST_SUBDIR)/texinfo && \
24201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24203 "RANLIB=$${RANLIB}" \
24204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24205 distclean) \
24206 || exit 1
24208 @endif texinfo
24210 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24211 maybe-maintainer-clean-texinfo:
24212 @if texinfo
24213 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24215 maintainer-clean-texinfo:
24216 @$(unstage)
24217 @[ -f ./texinfo/Makefile ] || exit 0; \
24218 r=`${PWD_COMMAND}`; export r; \
24219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24220 $(HOST_EXPORTS) \
24221 for flag in $(EXTRA_HOST_FLAGS) ; do \
24222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24223 done; \
24224 echo "Doing maintainer-clean in texinfo" ; \
24225 (cd $(HOST_SUBDIR)/texinfo && \
24226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24228 "RANLIB=$${RANLIB}" \
24229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24230 maintainer-clean) \
24231 || exit 1
24233 @endif texinfo
24237 .PHONY: configure-textutils maybe-configure-textutils
24238 maybe-configure-textutils:
24239 @if textutils
24240 maybe-configure-textutils: configure-textutils
24241 configure-textutils:
24242 @$(unstage)
24243 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24245 r=`${PWD_COMMAND}`; export r; \
24246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247 $(HOST_EXPORTS) \
24248 echo Configuring in $(HOST_SUBDIR)/textutils; \
24249 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24250 case $(srcdir) in \
24251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24252 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24254 esac; \
24255 srcdiroption="--srcdir=$${topdir}/textutils"; \
24256 libsrcdir="$$s/textutils"; \
24257 $(SHELL) $${libsrcdir}/configure \
24258 $(HOST_CONFIGARGS) $${srcdiroption} \
24259 || exit 1
24260 @endif textutils
24266 .PHONY: all-textutils maybe-all-textutils
24267 maybe-all-textutils:
24268 @if textutils
24269 TARGET-textutils=all
24270 maybe-all-textutils: all-textutils
24271 all-textutils: configure-textutils
24272 @$(unstage)
24273 @r=`${PWD_COMMAND}`; export r; \
24274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24275 $(HOST_EXPORTS) \
24276 (cd $(HOST_SUBDIR)/textutils && \
24277 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24278 @endif textutils
24283 .PHONY: check-textutils maybe-check-textutils
24284 maybe-check-textutils:
24285 @if textutils
24286 maybe-check-textutils: check-textutils
24288 check-textutils:
24289 @$(unstage)
24290 @r=`${PWD_COMMAND}`; export r; \
24291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24292 $(HOST_EXPORTS) \
24293 (cd $(HOST_SUBDIR)/textutils && \
24294 $(MAKE) $(FLAGS_TO_PASS) check)
24296 @endif textutils
24298 .PHONY: install-textutils maybe-install-textutils
24299 maybe-install-textutils:
24300 @if textutils
24301 maybe-install-textutils: install-textutils
24303 install-textutils: installdirs
24304 @$(unstage)
24305 @r=`${PWD_COMMAND}`; export r; \
24306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24307 $(HOST_EXPORTS) \
24308 (cd $(HOST_SUBDIR)/textutils && \
24309 $(MAKE) $(FLAGS_TO_PASS) install)
24311 @endif textutils
24313 # Other targets (info, dvi, etc.)
24315 .PHONY: maybe-info-textutils info-textutils
24316 maybe-info-textutils:
24317 @if textutils
24318 maybe-info-textutils: info-textutils
24320 info-textutils: \
24321 configure-textutils
24322 @$(unstage)
24323 @[ -f ./textutils/Makefile ] || exit 0; \
24324 r=`${PWD_COMMAND}`; export r; \
24325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24326 $(HOST_EXPORTS) \
24327 for flag in $(EXTRA_HOST_FLAGS) ; do \
24328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24329 done; \
24330 echo "Doing info in textutils" ; \
24331 (cd $(HOST_SUBDIR)/textutils && \
24332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24334 "RANLIB=$${RANLIB}" \
24335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24336 info) \
24337 || exit 1
24339 @endif textutils
24341 .PHONY: maybe-dvi-textutils dvi-textutils
24342 maybe-dvi-textutils:
24343 @if textutils
24344 maybe-dvi-textutils: dvi-textutils
24346 dvi-textutils: \
24347 configure-textutils
24348 @$(unstage)
24349 @[ -f ./textutils/Makefile ] || exit 0; \
24350 r=`${PWD_COMMAND}`; export r; \
24351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24352 $(HOST_EXPORTS) \
24353 for flag in $(EXTRA_HOST_FLAGS) ; do \
24354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24355 done; \
24356 echo "Doing dvi in textutils" ; \
24357 (cd $(HOST_SUBDIR)/textutils && \
24358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24360 "RANLIB=$${RANLIB}" \
24361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24362 dvi) \
24363 || exit 1
24365 @endif textutils
24367 .PHONY: maybe-html-textutils html-textutils
24368 maybe-html-textutils:
24369 @if textutils
24370 maybe-html-textutils: html-textutils
24372 html-textutils: \
24373 configure-textutils
24374 @$(unstage)
24375 @[ -f ./textutils/Makefile ] || exit 0; \
24376 r=`${PWD_COMMAND}`; export r; \
24377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24378 $(HOST_EXPORTS) \
24379 for flag in $(EXTRA_HOST_FLAGS) ; do \
24380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24381 done; \
24382 echo "Doing html in textutils" ; \
24383 (cd $(HOST_SUBDIR)/textutils && \
24384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24386 "RANLIB=$${RANLIB}" \
24387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24388 html) \
24389 || exit 1
24391 @endif textutils
24393 .PHONY: maybe-TAGS-textutils TAGS-textutils
24394 maybe-TAGS-textutils:
24395 @if textutils
24396 maybe-TAGS-textutils: TAGS-textutils
24398 TAGS-textutils: \
24399 configure-textutils
24400 @$(unstage)
24401 @[ -f ./textutils/Makefile ] || exit 0; \
24402 r=`${PWD_COMMAND}`; export r; \
24403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24404 $(HOST_EXPORTS) \
24405 for flag in $(EXTRA_HOST_FLAGS) ; do \
24406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24407 done; \
24408 echo "Doing TAGS in textutils" ; \
24409 (cd $(HOST_SUBDIR)/textutils && \
24410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24412 "RANLIB=$${RANLIB}" \
24413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24414 TAGS) \
24415 || exit 1
24417 @endif textutils
24419 .PHONY: maybe-install-info-textutils install-info-textutils
24420 maybe-install-info-textutils:
24421 @if textutils
24422 maybe-install-info-textutils: install-info-textutils
24424 install-info-textutils: \
24425 configure-textutils \
24426 info-textutils
24427 @$(unstage)
24428 @[ -f ./textutils/Makefile ] || exit 0; \
24429 r=`${PWD_COMMAND}`; export r; \
24430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24431 $(HOST_EXPORTS) \
24432 for flag in $(EXTRA_HOST_FLAGS) ; do \
24433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24434 done; \
24435 echo "Doing install-info in textutils" ; \
24436 (cd $(HOST_SUBDIR)/textutils && \
24437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24439 "RANLIB=$${RANLIB}" \
24440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24441 install-info) \
24442 || exit 1
24444 @endif textutils
24446 .PHONY: maybe-installcheck-textutils installcheck-textutils
24447 maybe-installcheck-textutils:
24448 @if textutils
24449 maybe-installcheck-textutils: installcheck-textutils
24451 installcheck-textutils: \
24452 configure-textutils
24453 @$(unstage)
24454 @[ -f ./textutils/Makefile ] || exit 0; \
24455 r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24457 $(HOST_EXPORTS) \
24458 for flag in $(EXTRA_HOST_FLAGS) ; do \
24459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24460 done; \
24461 echo "Doing installcheck in textutils" ; \
24462 (cd $(HOST_SUBDIR)/textutils && \
24463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24465 "RANLIB=$${RANLIB}" \
24466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24467 installcheck) \
24468 || exit 1
24470 @endif textutils
24472 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24473 maybe-mostlyclean-textutils:
24474 @if textutils
24475 maybe-mostlyclean-textutils: mostlyclean-textutils
24477 mostlyclean-textutils:
24478 @$(unstage)
24479 @[ -f ./textutils/Makefile ] || exit 0; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482 $(HOST_EXPORTS) \
24483 for flag in $(EXTRA_HOST_FLAGS) ; do \
24484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24485 done; \
24486 echo "Doing mostlyclean in textutils" ; \
24487 (cd $(HOST_SUBDIR)/textutils && \
24488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24490 "RANLIB=$${RANLIB}" \
24491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24492 mostlyclean) \
24493 || exit 1
24495 @endif textutils
24497 .PHONY: maybe-clean-textutils clean-textutils
24498 maybe-clean-textutils:
24499 @if textutils
24500 maybe-clean-textutils: clean-textutils
24502 clean-textutils:
24503 @$(unstage)
24504 @[ -f ./textutils/Makefile ] || exit 0; \
24505 r=`${PWD_COMMAND}`; export r; \
24506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24507 $(HOST_EXPORTS) \
24508 for flag in $(EXTRA_HOST_FLAGS) ; do \
24509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24510 done; \
24511 echo "Doing clean in textutils" ; \
24512 (cd $(HOST_SUBDIR)/textutils && \
24513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24515 "RANLIB=$${RANLIB}" \
24516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24517 clean) \
24518 || exit 1
24520 @endif textutils
24522 .PHONY: maybe-distclean-textutils distclean-textutils
24523 maybe-distclean-textutils:
24524 @if textutils
24525 maybe-distclean-textutils: distclean-textutils
24527 distclean-textutils:
24528 @$(unstage)
24529 @[ -f ./textutils/Makefile ] || exit 0; \
24530 r=`${PWD_COMMAND}`; export r; \
24531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24532 $(HOST_EXPORTS) \
24533 for flag in $(EXTRA_HOST_FLAGS) ; do \
24534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24535 done; \
24536 echo "Doing distclean in textutils" ; \
24537 (cd $(HOST_SUBDIR)/textutils && \
24538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24540 "RANLIB=$${RANLIB}" \
24541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24542 distclean) \
24543 || exit 1
24545 @endif textutils
24547 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24548 maybe-maintainer-clean-textutils:
24549 @if textutils
24550 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24552 maintainer-clean-textutils:
24553 @$(unstage)
24554 @[ -f ./textutils/Makefile ] || exit 0; \
24555 r=`${PWD_COMMAND}`; export r; \
24556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24557 $(HOST_EXPORTS) \
24558 for flag in $(EXTRA_HOST_FLAGS) ; do \
24559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24560 done; \
24561 echo "Doing maintainer-clean in textutils" ; \
24562 (cd $(HOST_SUBDIR)/textutils && \
24563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24565 "RANLIB=$${RANLIB}" \
24566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24567 maintainer-clean) \
24568 || exit 1
24570 @endif textutils
24574 .PHONY: configure-time maybe-configure-time
24575 maybe-configure-time:
24576 @if time
24577 maybe-configure-time: configure-time
24578 configure-time:
24579 @$(unstage)
24580 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24582 r=`${PWD_COMMAND}`; export r; \
24583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24584 $(HOST_EXPORTS) \
24585 echo Configuring in $(HOST_SUBDIR)/time; \
24586 cd "$(HOST_SUBDIR)/time" || exit 1; \
24587 case $(srcdir) in \
24588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24589 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24591 esac; \
24592 srcdiroption="--srcdir=$${topdir}/time"; \
24593 libsrcdir="$$s/time"; \
24594 $(SHELL) $${libsrcdir}/configure \
24595 $(HOST_CONFIGARGS) $${srcdiroption} \
24596 || exit 1
24597 @endif time
24603 .PHONY: all-time maybe-all-time
24604 maybe-all-time:
24605 @if time
24606 TARGET-time=all
24607 maybe-all-time: all-time
24608 all-time: configure-time
24609 @$(unstage)
24610 @r=`${PWD_COMMAND}`; export r; \
24611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24612 $(HOST_EXPORTS) \
24613 (cd $(HOST_SUBDIR)/time && \
24614 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24615 @endif time
24620 .PHONY: check-time maybe-check-time
24621 maybe-check-time:
24622 @if time
24623 maybe-check-time: check-time
24625 check-time:
24626 @$(unstage)
24627 @r=`${PWD_COMMAND}`; export r; \
24628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24629 $(HOST_EXPORTS) \
24630 (cd $(HOST_SUBDIR)/time && \
24631 $(MAKE) $(FLAGS_TO_PASS) check)
24633 @endif time
24635 .PHONY: install-time maybe-install-time
24636 maybe-install-time:
24637 @if time
24638 maybe-install-time: install-time
24640 install-time: installdirs
24641 @$(unstage)
24642 @r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644 $(HOST_EXPORTS) \
24645 (cd $(HOST_SUBDIR)/time && \
24646 $(MAKE) $(FLAGS_TO_PASS) install)
24648 @endif time
24650 # Other targets (info, dvi, etc.)
24652 .PHONY: maybe-info-time info-time
24653 maybe-info-time:
24654 @if time
24655 maybe-info-time: info-time
24657 info-time: \
24658 configure-time
24659 @$(unstage)
24660 @[ -f ./time/Makefile ] || exit 0; \
24661 r=`${PWD_COMMAND}`; export r; \
24662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24663 $(HOST_EXPORTS) \
24664 for flag in $(EXTRA_HOST_FLAGS) ; do \
24665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24666 done; \
24667 echo "Doing info in time" ; \
24668 (cd $(HOST_SUBDIR)/time && \
24669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24671 "RANLIB=$${RANLIB}" \
24672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24673 info) \
24674 || exit 1
24676 @endif time
24678 .PHONY: maybe-dvi-time dvi-time
24679 maybe-dvi-time:
24680 @if time
24681 maybe-dvi-time: dvi-time
24683 dvi-time: \
24684 configure-time
24685 @$(unstage)
24686 @[ -f ./time/Makefile ] || exit 0; \
24687 r=`${PWD_COMMAND}`; export r; \
24688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24689 $(HOST_EXPORTS) \
24690 for flag in $(EXTRA_HOST_FLAGS) ; do \
24691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24692 done; \
24693 echo "Doing dvi in time" ; \
24694 (cd $(HOST_SUBDIR)/time && \
24695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24697 "RANLIB=$${RANLIB}" \
24698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24699 dvi) \
24700 || exit 1
24702 @endif time
24704 .PHONY: maybe-html-time html-time
24705 maybe-html-time:
24706 @if time
24707 maybe-html-time: html-time
24709 html-time: \
24710 configure-time
24711 @$(unstage)
24712 @[ -f ./time/Makefile ] || exit 0; \
24713 r=`${PWD_COMMAND}`; export r; \
24714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24715 $(HOST_EXPORTS) \
24716 for flag in $(EXTRA_HOST_FLAGS) ; do \
24717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24718 done; \
24719 echo "Doing html in time" ; \
24720 (cd $(HOST_SUBDIR)/time && \
24721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723 "RANLIB=$${RANLIB}" \
24724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24725 html) \
24726 || exit 1
24728 @endif time
24730 .PHONY: maybe-TAGS-time TAGS-time
24731 maybe-TAGS-time:
24732 @if time
24733 maybe-TAGS-time: TAGS-time
24735 TAGS-time: \
24736 configure-time
24737 @$(unstage)
24738 @[ -f ./time/Makefile ] || exit 0; \
24739 r=`${PWD_COMMAND}`; export r; \
24740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24741 $(HOST_EXPORTS) \
24742 for flag in $(EXTRA_HOST_FLAGS) ; do \
24743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24744 done; \
24745 echo "Doing TAGS in time" ; \
24746 (cd $(HOST_SUBDIR)/time && \
24747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24749 "RANLIB=$${RANLIB}" \
24750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24751 TAGS) \
24752 || exit 1
24754 @endif time
24756 .PHONY: maybe-install-info-time install-info-time
24757 maybe-install-info-time:
24758 @if time
24759 maybe-install-info-time: install-info-time
24761 install-info-time: \
24762 configure-time \
24763 info-time
24764 @$(unstage)
24765 @[ -f ./time/Makefile ] || exit 0; \
24766 r=`${PWD_COMMAND}`; export r; \
24767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24768 $(HOST_EXPORTS) \
24769 for flag in $(EXTRA_HOST_FLAGS) ; do \
24770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24771 done; \
24772 echo "Doing install-info in time" ; \
24773 (cd $(HOST_SUBDIR)/time && \
24774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24776 "RANLIB=$${RANLIB}" \
24777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24778 install-info) \
24779 || exit 1
24781 @endif time
24783 .PHONY: maybe-installcheck-time installcheck-time
24784 maybe-installcheck-time:
24785 @if time
24786 maybe-installcheck-time: installcheck-time
24788 installcheck-time: \
24789 configure-time
24790 @$(unstage)
24791 @[ -f ./time/Makefile ] || exit 0; \
24792 r=`${PWD_COMMAND}`; export r; \
24793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24794 $(HOST_EXPORTS) \
24795 for flag in $(EXTRA_HOST_FLAGS) ; do \
24796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24797 done; \
24798 echo "Doing installcheck in time" ; \
24799 (cd $(HOST_SUBDIR)/time && \
24800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24802 "RANLIB=$${RANLIB}" \
24803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24804 installcheck) \
24805 || exit 1
24807 @endif time
24809 .PHONY: maybe-mostlyclean-time mostlyclean-time
24810 maybe-mostlyclean-time:
24811 @if time
24812 maybe-mostlyclean-time: mostlyclean-time
24814 mostlyclean-time:
24815 @$(unstage)
24816 @[ -f ./time/Makefile ] || exit 0; \
24817 r=`${PWD_COMMAND}`; export r; \
24818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24819 $(HOST_EXPORTS) \
24820 for flag in $(EXTRA_HOST_FLAGS) ; do \
24821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24822 done; \
24823 echo "Doing mostlyclean in time" ; \
24824 (cd $(HOST_SUBDIR)/time && \
24825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24827 "RANLIB=$${RANLIB}" \
24828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24829 mostlyclean) \
24830 || exit 1
24832 @endif time
24834 .PHONY: maybe-clean-time clean-time
24835 maybe-clean-time:
24836 @if time
24837 maybe-clean-time: clean-time
24839 clean-time:
24840 @$(unstage)
24841 @[ -f ./time/Makefile ] || exit 0; \
24842 r=`${PWD_COMMAND}`; export r; \
24843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24844 $(HOST_EXPORTS) \
24845 for flag in $(EXTRA_HOST_FLAGS) ; do \
24846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24847 done; \
24848 echo "Doing clean in time" ; \
24849 (cd $(HOST_SUBDIR)/time && \
24850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24852 "RANLIB=$${RANLIB}" \
24853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24854 clean) \
24855 || exit 1
24857 @endif time
24859 .PHONY: maybe-distclean-time distclean-time
24860 maybe-distclean-time:
24861 @if time
24862 maybe-distclean-time: distclean-time
24864 distclean-time:
24865 @$(unstage)
24866 @[ -f ./time/Makefile ] || exit 0; \
24867 r=`${PWD_COMMAND}`; export r; \
24868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 $(HOST_EXPORTS) \
24870 for flag in $(EXTRA_HOST_FLAGS) ; do \
24871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24872 done; \
24873 echo "Doing distclean in time" ; \
24874 (cd $(HOST_SUBDIR)/time && \
24875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24877 "RANLIB=$${RANLIB}" \
24878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24879 distclean) \
24880 || exit 1
24882 @endif time
24884 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24885 maybe-maintainer-clean-time:
24886 @if time
24887 maybe-maintainer-clean-time: maintainer-clean-time
24889 maintainer-clean-time:
24890 @$(unstage)
24891 @[ -f ./time/Makefile ] || exit 0; \
24892 r=`${PWD_COMMAND}`; export r; \
24893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24894 $(HOST_EXPORTS) \
24895 for flag in $(EXTRA_HOST_FLAGS) ; do \
24896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24897 done; \
24898 echo "Doing maintainer-clean in time" ; \
24899 (cd $(HOST_SUBDIR)/time && \
24900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24902 "RANLIB=$${RANLIB}" \
24903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24904 maintainer-clean) \
24905 || exit 1
24907 @endif time
24911 .PHONY: configure-uudecode maybe-configure-uudecode
24912 maybe-configure-uudecode:
24913 @if uudecode
24914 maybe-configure-uudecode: configure-uudecode
24915 configure-uudecode:
24916 @$(unstage)
24917 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(HOST_EXPORTS) \
24922 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24923 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24924 case $(srcdir) in \
24925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24926 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24928 esac; \
24929 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24930 libsrcdir="$$s/uudecode"; \
24931 $(SHELL) $${libsrcdir}/configure \
24932 $(HOST_CONFIGARGS) $${srcdiroption} \
24933 || exit 1
24934 @endif uudecode
24940 .PHONY: all-uudecode maybe-all-uudecode
24941 maybe-all-uudecode:
24942 @if uudecode
24943 TARGET-uudecode=all
24944 maybe-all-uudecode: all-uudecode
24945 all-uudecode: configure-uudecode
24946 @$(unstage)
24947 @r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949 $(HOST_EXPORTS) \
24950 (cd $(HOST_SUBDIR)/uudecode && \
24951 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24952 @endif uudecode
24957 .PHONY: check-uudecode maybe-check-uudecode
24958 maybe-check-uudecode:
24959 @if uudecode
24960 maybe-check-uudecode: check-uudecode
24962 check-uudecode:
24963 @$(unstage)
24964 @r=`${PWD_COMMAND}`; export r; \
24965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24966 $(HOST_EXPORTS) \
24967 (cd $(HOST_SUBDIR)/uudecode && \
24968 $(MAKE) $(FLAGS_TO_PASS) check)
24970 @endif uudecode
24972 .PHONY: install-uudecode maybe-install-uudecode
24973 maybe-install-uudecode:
24974 @if uudecode
24975 maybe-install-uudecode: install-uudecode
24977 install-uudecode: installdirs
24978 @$(unstage)
24979 @r=`${PWD_COMMAND}`; export r; \
24980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24981 $(HOST_EXPORTS) \
24982 (cd $(HOST_SUBDIR)/uudecode && \
24983 $(MAKE) $(FLAGS_TO_PASS) install)
24985 @endif uudecode
24987 # Other targets (info, dvi, etc.)
24989 .PHONY: maybe-info-uudecode info-uudecode
24990 maybe-info-uudecode:
24991 @if uudecode
24992 maybe-info-uudecode: info-uudecode
24994 info-uudecode: \
24995 configure-uudecode
24996 @$(unstage)
24997 @[ -f ./uudecode/Makefile ] || exit 0; \
24998 r=`${PWD_COMMAND}`; export r; \
24999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25000 $(HOST_EXPORTS) \
25001 for flag in $(EXTRA_HOST_FLAGS) ; do \
25002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25003 done; \
25004 echo "Doing info in uudecode" ; \
25005 (cd $(HOST_SUBDIR)/uudecode && \
25006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25008 "RANLIB=$${RANLIB}" \
25009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25010 info) \
25011 || exit 1
25013 @endif uudecode
25015 .PHONY: maybe-dvi-uudecode dvi-uudecode
25016 maybe-dvi-uudecode:
25017 @if uudecode
25018 maybe-dvi-uudecode: dvi-uudecode
25020 dvi-uudecode: \
25021 configure-uudecode
25022 @$(unstage)
25023 @[ -f ./uudecode/Makefile ] || exit 0; \
25024 r=`${PWD_COMMAND}`; export r; \
25025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25026 $(HOST_EXPORTS) \
25027 for flag in $(EXTRA_HOST_FLAGS) ; do \
25028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25029 done; \
25030 echo "Doing dvi in uudecode" ; \
25031 (cd $(HOST_SUBDIR)/uudecode && \
25032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25034 "RANLIB=$${RANLIB}" \
25035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25036 dvi) \
25037 || exit 1
25039 @endif uudecode
25041 .PHONY: maybe-html-uudecode html-uudecode
25042 maybe-html-uudecode:
25043 @if uudecode
25044 maybe-html-uudecode: html-uudecode
25046 html-uudecode: \
25047 configure-uudecode
25048 @$(unstage)
25049 @[ -f ./uudecode/Makefile ] || exit 0; \
25050 r=`${PWD_COMMAND}`; export r; \
25051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25052 $(HOST_EXPORTS) \
25053 for flag in $(EXTRA_HOST_FLAGS) ; do \
25054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25055 done; \
25056 echo "Doing html in uudecode" ; \
25057 (cd $(HOST_SUBDIR)/uudecode && \
25058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25060 "RANLIB=$${RANLIB}" \
25061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25062 html) \
25063 || exit 1
25065 @endif uudecode
25067 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25068 maybe-TAGS-uudecode:
25069 @if uudecode
25070 maybe-TAGS-uudecode: TAGS-uudecode
25072 TAGS-uudecode: \
25073 configure-uudecode
25074 @$(unstage)
25075 @[ -f ./uudecode/Makefile ] || exit 0; \
25076 r=`${PWD_COMMAND}`; export r; \
25077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25078 $(HOST_EXPORTS) \
25079 for flag in $(EXTRA_HOST_FLAGS) ; do \
25080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25081 done; \
25082 echo "Doing TAGS in uudecode" ; \
25083 (cd $(HOST_SUBDIR)/uudecode && \
25084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25086 "RANLIB=$${RANLIB}" \
25087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25088 TAGS) \
25089 || exit 1
25091 @endif uudecode
25093 .PHONY: maybe-install-info-uudecode install-info-uudecode
25094 maybe-install-info-uudecode:
25095 @if uudecode
25096 maybe-install-info-uudecode: install-info-uudecode
25098 install-info-uudecode: \
25099 configure-uudecode \
25100 info-uudecode
25101 @$(unstage)
25102 @[ -f ./uudecode/Makefile ] || exit 0; \
25103 r=`${PWD_COMMAND}`; export r; \
25104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25105 $(HOST_EXPORTS) \
25106 for flag in $(EXTRA_HOST_FLAGS) ; do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 echo "Doing install-info in uudecode" ; \
25110 (cd $(HOST_SUBDIR)/uudecode && \
25111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25113 "RANLIB=$${RANLIB}" \
25114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25115 install-info) \
25116 || exit 1
25118 @endif uudecode
25120 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25121 maybe-installcheck-uudecode:
25122 @if uudecode
25123 maybe-installcheck-uudecode: installcheck-uudecode
25125 installcheck-uudecode: \
25126 configure-uudecode
25127 @$(unstage)
25128 @[ -f ./uudecode/Makefile ] || exit 0; \
25129 r=`${PWD_COMMAND}`; export r; \
25130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25131 $(HOST_EXPORTS) \
25132 for flag in $(EXTRA_HOST_FLAGS) ; do \
25133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25134 done; \
25135 echo "Doing installcheck in uudecode" ; \
25136 (cd $(HOST_SUBDIR)/uudecode && \
25137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25139 "RANLIB=$${RANLIB}" \
25140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25141 installcheck) \
25142 || exit 1
25144 @endif uudecode
25146 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25147 maybe-mostlyclean-uudecode:
25148 @if uudecode
25149 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25151 mostlyclean-uudecode:
25152 @$(unstage)
25153 @[ -f ./uudecode/Makefile ] || exit 0; \
25154 r=`${PWD_COMMAND}`; export r; \
25155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25156 $(HOST_EXPORTS) \
25157 for flag in $(EXTRA_HOST_FLAGS) ; do \
25158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25159 done; \
25160 echo "Doing mostlyclean in uudecode" ; \
25161 (cd $(HOST_SUBDIR)/uudecode && \
25162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25164 "RANLIB=$${RANLIB}" \
25165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25166 mostlyclean) \
25167 || exit 1
25169 @endif uudecode
25171 .PHONY: maybe-clean-uudecode clean-uudecode
25172 maybe-clean-uudecode:
25173 @if uudecode
25174 maybe-clean-uudecode: clean-uudecode
25176 clean-uudecode:
25177 @$(unstage)
25178 @[ -f ./uudecode/Makefile ] || exit 0; \
25179 r=`${PWD_COMMAND}`; export r; \
25180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25181 $(HOST_EXPORTS) \
25182 for flag in $(EXTRA_HOST_FLAGS) ; do \
25183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25184 done; \
25185 echo "Doing clean in uudecode" ; \
25186 (cd $(HOST_SUBDIR)/uudecode && \
25187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25189 "RANLIB=$${RANLIB}" \
25190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25191 clean) \
25192 || exit 1
25194 @endif uudecode
25196 .PHONY: maybe-distclean-uudecode distclean-uudecode
25197 maybe-distclean-uudecode:
25198 @if uudecode
25199 maybe-distclean-uudecode: distclean-uudecode
25201 distclean-uudecode:
25202 @$(unstage)
25203 @[ -f ./uudecode/Makefile ] || exit 0; \
25204 r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(HOST_EXPORTS) \
25207 for flag in $(EXTRA_HOST_FLAGS) ; do \
25208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25209 done; \
25210 echo "Doing distclean in uudecode" ; \
25211 (cd $(HOST_SUBDIR)/uudecode && \
25212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25214 "RANLIB=$${RANLIB}" \
25215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25216 distclean) \
25217 || exit 1
25219 @endif uudecode
25221 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25222 maybe-maintainer-clean-uudecode:
25223 @if uudecode
25224 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25226 maintainer-clean-uudecode:
25227 @$(unstage)
25228 @[ -f ./uudecode/Makefile ] || exit 0; \
25229 r=`${PWD_COMMAND}`; export r; \
25230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25231 $(HOST_EXPORTS) \
25232 for flag in $(EXTRA_HOST_FLAGS) ; do \
25233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25234 done; \
25235 echo "Doing maintainer-clean in uudecode" ; \
25236 (cd $(HOST_SUBDIR)/uudecode && \
25237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25239 "RANLIB=$${RANLIB}" \
25240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25241 maintainer-clean) \
25242 || exit 1
25244 @endif uudecode
25248 .PHONY: configure-wdiff maybe-configure-wdiff
25249 maybe-configure-wdiff:
25250 @if wdiff
25251 maybe-configure-wdiff: configure-wdiff
25252 configure-wdiff:
25253 @$(unstage)
25254 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25256 r=`${PWD_COMMAND}`; export r; \
25257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25258 $(HOST_EXPORTS) \
25259 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25260 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25261 case $(srcdir) in \
25262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25263 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25265 esac; \
25266 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25267 libsrcdir="$$s/wdiff"; \
25268 $(SHELL) $${libsrcdir}/configure \
25269 $(HOST_CONFIGARGS) $${srcdiroption} \
25270 || exit 1
25271 @endif wdiff
25277 .PHONY: all-wdiff maybe-all-wdiff
25278 maybe-all-wdiff:
25279 @if wdiff
25280 TARGET-wdiff=all
25281 maybe-all-wdiff: all-wdiff
25282 all-wdiff: configure-wdiff
25283 @$(unstage)
25284 @r=`${PWD_COMMAND}`; export r; \
25285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25286 $(HOST_EXPORTS) \
25287 (cd $(HOST_SUBDIR)/wdiff && \
25288 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25289 @endif wdiff
25294 .PHONY: check-wdiff maybe-check-wdiff
25295 maybe-check-wdiff:
25296 @if wdiff
25297 maybe-check-wdiff: check-wdiff
25299 check-wdiff:
25300 @$(unstage)
25301 @r=`${PWD_COMMAND}`; export r; \
25302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25303 $(HOST_EXPORTS) \
25304 (cd $(HOST_SUBDIR)/wdiff && \
25305 $(MAKE) $(FLAGS_TO_PASS) check)
25307 @endif wdiff
25309 .PHONY: install-wdiff maybe-install-wdiff
25310 maybe-install-wdiff:
25311 @if wdiff
25312 maybe-install-wdiff: install-wdiff
25314 install-wdiff: installdirs
25315 @$(unstage)
25316 @r=`${PWD_COMMAND}`; export r; \
25317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25318 $(HOST_EXPORTS) \
25319 (cd $(HOST_SUBDIR)/wdiff && \
25320 $(MAKE) $(FLAGS_TO_PASS) install)
25322 @endif wdiff
25324 # Other targets (info, dvi, etc.)
25326 .PHONY: maybe-info-wdiff info-wdiff
25327 maybe-info-wdiff:
25328 @if wdiff
25329 maybe-info-wdiff: info-wdiff
25331 info-wdiff: \
25332 configure-wdiff
25333 @$(unstage)
25334 @[ -f ./wdiff/Makefile ] || exit 0; \
25335 r=`${PWD_COMMAND}`; export r; \
25336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25337 $(HOST_EXPORTS) \
25338 for flag in $(EXTRA_HOST_FLAGS) ; do \
25339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25340 done; \
25341 echo "Doing info in wdiff" ; \
25342 (cd $(HOST_SUBDIR)/wdiff && \
25343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25345 "RANLIB=$${RANLIB}" \
25346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25347 info) \
25348 || exit 1
25350 @endif wdiff
25352 .PHONY: maybe-dvi-wdiff dvi-wdiff
25353 maybe-dvi-wdiff:
25354 @if wdiff
25355 maybe-dvi-wdiff: dvi-wdiff
25357 dvi-wdiff: \
25358 configure-wdiff
25359 @$(unstage)
25360 @[ -f ./wdiff/Makefile ] || exit 0; \
25361 r=`${PWD_COMMAND}`; export r; \
25362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25363 $(HOST_EXPORTS) \
25364 for flag in $(EXTRA_HOST_FLAGS) ; do \
25365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25366 done; \
25367 echo "Doing dvi in wdiff" ; \
25368 (cd $(HOST_SUBDIR)/wdiff && \
25369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25371 "RANLIB=$${RANLIB}" \
25372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25373 dvi) \
25374 || exit 1
25376 @endif wdiff
25378 .PHONY: maybe-html-wdiff html-wdiff
25379 maybe-html-wdiff:
25380 @if wdiff
25381 maybe-html-wdiff: html-wdiff
25383 html-wdiff: \
25384 configure-wdiff
25385 @$(unstage)
25386 @[ -f ./wdiff/Makefile ] || exit 0; \
25387 r=`${PWD_COMMAND}`; export r; \
25388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25389 $(HOST_EXPORTS) \
25390 for flag in $(EXTRA_HOST_FLAGS) ; do \
25391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25392 done; \
25393 echo "Doing html in wdiff" ; \
25394 (cd $(HOST_SUBDIR)/wdiff && \
25395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25397 "RANLIB=$${RANLIB}" \
25398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25399 html) \
25400 || exit 1
25402 @endif wdiff
25404 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25405 maybe-TAGS-wdiff:
25406 @if wdiff
25407 maybe-TAGS-wdiff: TAGS-wdiff
25409 TAGS-wdiff: \
25410 configure-wdiff
25411 @$(unstage)
25412 @[ -f ./wdiff/Makefile ] || exit 0; \
25413 r=`${PWD_COMMAND}`; export r; \
25414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25415 $(HOST_EXPORTS) \
25416 for flag in $(EXTRA_HOST_FLAGS) ; do \
25417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25418 done; \
25419 echo "Doing TAGS in wdiff" ; \
25420 (cd $(HOST_SUBDIR)/wdiff && \
25421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25423 "RANLIB=$${RANLIB}" \
25424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25425 TAGS) \
25426 || exit 1
25428 @endif wdiff
25430 .PHONY: maybe-install-info-wdiff install-info-wdiff
25431 maybe-install-info-wdiff:
25432 @if wdiff
25433 maybe-install-info-wdiff: install-info-wdiff
25435 install-info-wdiff: \
25436 configure-wdiff \
25437 info-wdiff
25438 @$(unstage)
25439 @[ -f ./wdiff/Makefile ] || exit 0; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(HOST_EXPORTS) \
25443 for flag in $(EXTRA_HOST_FLAGS) ; do \
25444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25445 done; \
25446 echo "Doing install-info in wdiff" ; \
25447 (cd $(HOST_SUBDIR)/wdiff && \
25448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25450 "RANLIB=$${RANLIB}" \
25451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25452 install-info) \
25453 || exit 1
25455 @endif wdiff
25457 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25458 maybe-installcheck-wdiff:
25459 @if wdiff
25460 maybe-installcheck-wdiff: installcheck-wdiff
25462 installcheck-wdiff: \
25463 configure-wdiff
25464 @$(unstage)
25465 @[ -f ./wdiff/Makefile ] || exit 0; \
25466 r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25468 $(HOST_EXPORTS) \
25469 for flag in $(EXTRA_HOST_FLAGS) ; do \
25470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25471 done; \
25472 echo "Doing installcheck in wdiff" ; \
25473 (cd $(HOST_SUBDIR)/wdiff && \
25474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25476 "RANLIB=$${RANLIB}" \
25477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25478 installcheck) \
25479 || exit 1
25481 @endif wdiff
25483 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25484 maybe-mostlyclean-wdiff:
25485 @if wdiff
25486 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25488 mostlyclean-wdiff:
25489 @$(unstage)
25490 @[ -f ./wdiff/Makefile ] || exit 0; \
25491 r=`${PWD_COMMAND}`; export r; \
25492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25493 $(HOST_EXPORTS) \
25494 for flag in $(EXTRA_HOST_FLAGS) ; do \
25495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25496 done; \
25497 echo "Doing mostlyclean in wdiff" ; \
25498 (cd $(HOST_SUBDIR)/wdiff && \
25499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25501 "RANLIB=$${RANLIB}" \
25502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25503 mostlyclean) \
25504 || exit 1
25506 @endif wdiff
25508 .PHONY: maybe-clean-wdiff clean-wdiff
25509 maybe-clean-wdiff:
25510 @if wdiff
25511 maybe-clean-wdiff: clean-wdiff
25513 clean-wdiff:
25514 @$(unstage)
25515 @[ -f ./wdiff/Makefile ] || exit 0; \
25516 r=`${PWD_COMMAND}`; export r; \
25517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25518 $(HOST_EXPORTS) \
25519 for flag in $(EXTRA_HOST_FLAGS) ; do \
25520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25521 done; \
25522 echo "Doing clean in wdiff" ; \
25523 (cd $(HOST_SUBDIR)/wdiff && \
25524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25526 "RANLIB=$${RANLIB}" \
25527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25528 clean) \
25529 || exit 1
25531 @endif wdiff
25533 .PHONY: maybe-distclean-wdiff distclean-wdiff
25534 maybe-distclean-wdiff:
25535 @if wdiff
25536 maybe-distclean-wdiff: distclean-wdiff
25538 distclean-wdiff:
25539 @$(unstage)
25540 @[ -f ./wdiff/Makefile ] || exit 0; \
25541 r=`${PWD_COMMAND}`; export r; \
25542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25543 $(HOST_EXPORTS) \
25544 for flag in $(EXTRA_HOST_FLAGS) ; do \
25545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25546 done; \
25547 echo "Doing distclean in wdiff" ; \
25548 (cd $(HOST_SUBDIR)/wdiff && \
25549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25551 "RANLIB=$${RANLIB}" \
25552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25553 distclean) \
25554 || exit 1
25556 @endif wdiff
25558 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25559 maybe-maintainer-clean-wdiff:
25560 @if wdiff
25561 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25563 maintainer-clean-wdiff:
25564 @$(unstage)
25565 @[ -f ./wdiff/Makefile ] || exit 0; \
25566 r=`${PWD_COMMAND}`; export r; \
25567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568 $(HOST_EXPORTS) \
25569 for flag in $(EXTRA_HOST_FLAGS) ; do \
25570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25571 done; \
25572 echo "Doing maintainer-clean in wdiff" ; \
25573 (cd $(HOST_SUBDIR)/wdiff && \
25574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25576 "RANLIB=$${RANLIB}" \
25577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25578 maintainer-clean) \
25579 || exit 1
25581 @endif wdiff
25585 .PHONY: configure-zip maybe-configure-zip
25586 maybe-configure-zip:
25587 @if zip
25588 maybe-configure-zip: configure-zip
25589 configure-zip:
25590 @$(unstage)
25591 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25593 r=`${PWD_COMMAND}`; export r; \
25594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25595 $(HOST_EXPORTS) \
25596 echo Configuring in $(HOST_SUBDIR)/zip; \
25597 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25598 case $(srcdir) in \
25599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25600 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25602 esac; \
25603 srcdiroption="--srcdir=$${topdir}/zip"; \
25604 libsrcdir="$$s/zip"; \
25605 $(SHELL) $${libsrcdir}/configure \
25606 $(HOST_CONFIGARGS) $${srcdiroption} \
25607 || exit 1
25608 @endif zip
25614 .PHONY: all-zip maybe-all-zip
25615 maybe-all-zip:
25616 @if zip
25617 TARGET-zip=all
25618 maybe-all-zip: all-zip
25619 all-zip: configure-zip
25620 @$(unstage)
25621 @r=`${PWD_COMMAND}`; export r; \
25622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25623 $(HOST_EXPORTS) \
25624 (cd $(HOST_SUBDIR)/zip && \
25625 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25626 @endif zip
25631 .PHONY: check-zip maybe-check-zip
25632 maybe-check-zip:
25633 @if zip
25634 maybe-check-zip: check-zip
25636 # This module is only tested in a native toolchain.
25637 check-zip:
25638 @$(unstage)
25639 @if [ '$(host)' = '$(target)' ] ; then \
25640 r=`${PWD_COMMAND}`; export r; \
25641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25642 $(HOST_EXPORTS) \
25643 (cd $(HOST_SUBDIR)/zip && \
25644 $(MAKE) $(FLAGS_TO_PASS) check); \
25647 @endif zip
25649 .PHONY: install-zip maybe-install-zip
25650 maybe-install-zip:
25651 @if zip
25652 maybe-install-zip: install-zip
25654 install-zip: installdirs
25655 @$(unstage)
25656 @r=`${PWD_COMMAND}`; export r; \
25657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25658 $(HOST_EXPORTS) \
25659 (cd $(HOST_SUBDIR)/zip && \
25660 $(MAKE) $(FLAGS_TO_PASS) install)
25662 @endif zip
25664 # Other targets (info, dvi, etc.)
25666 .PHONY: maybe-info-zip info-zip
25667 maybe-info-zip:
25668 @if zip
25669 maybe-info-zip: info-zip
25671 info-zip: \
25672 configure-zip
25673 @$(unstage)
25674 @[ -f ./zip/Makefile ] || exit 0; \
25675 r=`${PWD_COMMAND}`; export r; \
25676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25677 $(HOST_EXPORTS) \
25678 for flag in $(EXTRA_HOST_FLAGS) ; do \
25679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25680 done; \
25681 echo "Doing info in zip" ; \
25682 (cd $(HOST_SUBDIR)/zip && \
25683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25685 "RANLIB=$${RANLIB}" \
25686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25687 info) \
25688 || exit 1
25690 @endif zip
25692 .PHONY: maybe-dvi-zip dvi-zip
25693 maybe-dvi-zip:
25694 @if zip
25695 maybe-dvi-zip: dvi-zip
25697 dvi-zip: \
25698 configure-zip
25699 @$(unstage)
25700 @[ -f ./zip/Makefile ] || exit 0; \
25701 r=`${PWD_COMMAND}`; export r; \
25702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25703 $(HOST_EXPORTS) \
25704 for flag in $(EXTRA_HOST_FLAGS) ; do \
25705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25706 done; \
25707 echo "Doing dvi in zip" ; \
25708 (cd $(HOST_SUBDIR)/zip && \
25709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25711 "RANLIB=$${RANLIB}" \
25712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25713 dvi) \
25714 || exit 1
25716 @endif zip
25718 .PHONY: maybe-html-zip html-zip
25719 maybe-html-zip:
25720 @if zip
25721 maybe-html-zip: html-zip
25723 html-zip: \
25724 configure-zip
25725 @$(unstage)
25726 @[ -f ./zip/Makefile ] || exit 0; \
25727 r=`${PWD_COMMAND}`; export r; \
25728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25729 $(HOST_EXPORTS) \
25730 for flag in $(EXTRA_HOST_FLAGS) ; do \
25731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25732 done; \
25733 echo "Doing html in zip" ; \
25734 (cd $(HOST_SUBDIR)/zip && \
25735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25737 "RANLIB=$${RANLIB}" \
25738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25739 html) \
25740 || exit 1
25742 @endif zip
25744 .PHONY: maybe-TAGS-zip TAGS-zip
25745 maybe-TAGS-zip:
25746 @if zip
25747 maybe-TAGS-zip: TAGS-zip
25749 TAGS-zip: \
25750 configure-zip
25751 @$(unstage)
25752 @[ -f ./zip/Makefile ] || exit 0; \
25753 r=`${PWD_COMMAND}`; export r; \
25754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25755 $(HOST_EXPORTS) \
25756 for flag in $(EXTRA_HOST_FLAGS) ; do \
25757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25758 done; \
25759 echo "Doing TAGS in zip" ; \
25760 (cd $(HOST_SUBDIR)/zip && \
25761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25763 "RANLIB=$${RANLIB}" \
25764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25765 TAGS) \
25766 || exit 1
25768 @endif zip
25770 .PHONY: maybe-install-info-zip install-info-zip
25771 maybe-install-info-zip:
25772 @if zip
25773 maybe-install-info-zip: install-info-zip
25775 install-info-zip: \
25776 configure-zip \
25777 info-zip
25778 @$(unstage)
25779 @[ -f ./zip/Makefile ] || exit 0; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25782 $(HOST_EXPORTS) \
25783 for flag in $(EXTRA_HOST_FLAGS) ; do \
25784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25785 done; \
25786 echo "Doing install-info in zip" ; \
25787 (cd $(HOST_SUBDIR)/zip && \
25788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25790 "RANLIB=$${RANLIB}" \
25791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25792 install-info) \
25793 || exit 1
25795 @endif zip
25797 .PHONY: maybe-installcheck-zip installcheck-zip
25798 maybe-installcheck-zip:
25799 @if zip
25800 maybe-installcheck-zip: installcheck-zip
25802 installcheck-zip: \
25803 configure-zip
25804 @$(unstage)
25805 @[ -f ./zip/Makefile ] || exit 0; \
25806 r=`${PWD_COMMAND}`; export r; \
25807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25808 $(HOST_EXPORTS) \
25809 for flag in $(EXTRA_HOST_FLAGS) ; do \
25810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25811 done; \
25812 echo "Doing installcheck in zip" ; \
25813 (cd $(HOST_SUBDIR)/zip && \
25814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25816 "RANLIB=$${RANLIB}" \
25817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25818 installcheck) \
25819 || exit 1
25821 @endif zip
25823 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25824 maybe-mostlyclean-zip:
25825 @if zip
25826 maybe-mostlyclean-zip: mostlyclean-zip
25828 mostlyclean-zip:
25829 @$(unstage)
25830 @[ -f ./zip/Makefile ] || exit 0; \
25831 r=`${PWD_COMMAND}`; export r; \
25832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25833 $(HOST_EXPORTS) \
25834 for flag in $(EXTRA_HOST_FLAGS) ; do \
25835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25836 done; \
25837 echo "Doing mostlyclean in zip" ; \
25838 (cd $(HOST_SUBDIR)/zip && \
25839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25841 "RANLIB=$${RANLIB}" \
25842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25843 mostlyclean) \
25844 || exit 1
25846 @endif zip
25848 .PHONY: maybe-clean-zip clean-zip
25849 maybe-clean-zip:
25850 @if zip
25851 maybe-clean-zip: clean-zip
25853 clean-zip:
25854 @$(unstage)
25855 @[ -f ./zip/Makefile ] || exit 0; \
25856 r=`${PWD_COMMAND}`; export r; \
25857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25858 $(HOST_EXPORTS) \
25859 for flag in $(EXTRA_HOST_FLAGS) ; do \
25860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25861 done; \
25862 echo "Doing clean in zip" ; \
25863 (cd $(HOST_SUBDIR)/zip && \
25864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25866 "RANLIB=$${RANLIB}" \
25867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25868 clean) \
25869 || exit 1
25871 @endif zip
25873 .PHONY: maybe-distclean-zip distclean-zip
25874 maybe-distclean-zip:
25875 @if zip
25876 maybe-distclean-zip: distclean-zip
25878 distclean-zip:
25879 @$(unstage)
25880 @[ -f ./zip/Makefile ] || exit 0; \
25881 r=`${PWD_COMMAND}`; export r; \
25882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25883 $(HOST_EXPORTS) \
25884 for flag in $(EXTRA_HOST_FLAGS) ; do \
25885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25886 done; \
25887 echo "Doing distclean in zip" ; \
25888 (cd $(HOST_SUBDIR)/zip && \
25889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25891 "RANLIB=$${RANLIB}" \
25892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25893 distclean) \
25894 || exit 1
25896 @endif zip
25898 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25899 maybe-maintainer-clean-zip:
25900 @if zip
25901 maybe-maintainer-clean-zip: maintainer-clean-zip
25903 maintainer-clean-zip:
25904 @$(unstage)
25905 @[ -f ./zip/Makefile ] || exit 0; \
25906 r=`${PWD_COMMAND}`; export r; \
25907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25908 $(HOST_EXPORTS) \
25909 for flag in $(EXTRA_HOST_FLAGS) ; do \
25910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25911 done; \
25912 echo "Doing maintainer-clean in zip" ; \
25913 (cd $(HOST_SUBDIR)/zip && \
25914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25916 "RANLIB=$${RANLIB}" \
25917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25918 maintainer-clean) \
25919 || exit 1
25921 @endif zip
25925 .PHONY: configure-zlib maybe-configure-zlib
25926 maybe-configure-zlib:
25927 @if zlib
25928 maybe-configure-zlib: configure-zlib
25929 configure-zlib:
25930 @test -f stage_last && exit 0; \
25931 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(HOST_EXPORTS) \
25936 echo Configuring in $(HOST_SUBDIR)/zlib; \
25937 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25938 case $(srcdir) in \
25939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25940 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25942 esac; \
25943 srcdiroption="--srcdir=$${topdir}/zlib"; \
25944 libsrcdir="$$s/zlib"; \
25945 $(SHELL) $${libsrcdir}/configure \
25946 $(HOST_CONFIGARGS) $${srcdiroption} \
25947 || exit 1
25948 @endif zlib
25952 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25953 maybe-configure-stage1-zlib:
25954 @if zlib-bootstrap
25955 maybe-configure-stage1-zlib: configure-stage1-zlib
25956 configure-stage1-zlib:
25957 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25958 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25959 r=`${PWD_COMMAND}`; export r; \
25960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25961 $(HOST_EXPORTS) \
25962 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25963 cd $(HOST_SUBDIR)/zlib || exit 1; \
25964 case $(srcdir) in \
25965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25966 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25968 esac; \
25969 srcdiroption="--srcdir=$${topdir}/zlib"; \
25970 libsrcdir="$$s/zlib"; \
25971 $(SHELL) $${libsrcdir}/configure \
25972 $(HOST_CONFIGARGS) $${srcdiroption} \
25973 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25974 @endif zlib-bootstrap
25976 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25977 maybe-configure-stage2-zlib:
25978 @if zlib-bootstrap
25979 maybe-configure-stage2-zlib: configure-stage2-zlib
25980 configure-stage2-zlib:
25981 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25982 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25983 r=`${PWD_COMMAND}`; export r; \
25984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25985 $(HOST_EXPORTS) \
25986 $(POSTSTAGE1_HOST_EXPORTS) \
25987 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25988 cd $(HOST_SUBDIR)/zlib || exit 1; \
25989 case $(srcdir) in \
25990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25991 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25993 esac; \
25994 srcdiroption="--srcdir=$${topdir}/zlib"; \
25995 libsrcdir="$$s/zlib"; \
25996 $(SHELL) $${libsrcdir}/configure \
25997 $(HOST_CONFIGARGS) $${srcdiroption} \
25998 @stage2_werror_flag@
25999 @endif zlib-bootstrap
26001 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26002 maybe-configure-stage3-zlib:
26003 @if zlib-bootstrap
26004 maybe-configure-stage3-zlib: configure-stage3-zlib
26005 configure-stage3-zlib:
26006 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26007 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26008 r=`${PWD_COMMAND}`; export r; \
26009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26010 $(HOST_EXPORTS) \
26011 $(POSTSTAGE1_HOST_EXPORTS) \
26012 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26013 cd $(HOST_SUBDIR)/zlib || exit 1; \
26014 case $(srcdir) in \
26015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26016 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26018 esac; \
26019 srcdiroption="--srcdir=$${topdir}/zlib"; \
26020 libsrcdir="$$s/zlib"; \
26021 $(SHELL) $${libsrcdir}/configure \
26022 $(HOST_CONFIGARGS) $${srcdiroption} \
26023 @stage2_werror_flag@
26024 @endif zlib-bootstrap
26026 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26027 maybe-configure-stage4-zlib:
26028 @if zlib-bootstrap
26029 maybe-configure-stage4-zlib: configure-stage4-zlib
26030 configure-stage4-zlib:
26031 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26032 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26033 r=`${PWD_COMMAND}`; export r; \
26034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26035 $(HOST_EXPORTS) \
26036 $(POSTSTAGE1_HOST_EXPORTS) \
26037 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26038 cd $(HOST_SUBDIR)/zlib || exit 1; \
26039 case $(srcdir) in \
26040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26041 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26043 esac; \
26044 srcdiroption="--srcdir=$${topdir}/zlib"; \
26045 libsrcdir="$$s/zlib"; \
26046 $(SHELL) $${libsrcdir}/configure \
26047 $(HOST_CONFIGARGS) $${srcdiroption} \
26048 @stage2_werror_flag@
26049 @endif zlib-bootstrap
26051 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26052 maybe-configure-stageprofile-zlib:
26053 @if zlib-bootstrap
26054 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26055 configure-stageprofile-zlib:
26056 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26057 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26058 r=`${PWD_COMMAND}`; export r; \
26059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26060 $(HOST_EXPORTS) \
26061 $(POSTSTAGE1_HOST_EXPORTS) \
26062 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26063 cd $(HOST_SUBDIR)/zlib || exit 1; \
26064 case $(srcdir) in \
26065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26066 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26068 esac; \
26069 srcdiroption="--srcdir=$${topdir}/zlib"; \
26070 libsrcdir="$$s/zlib"; \
26071 $(SHELL) $${libsrcdir}/configure \
26072 $(HOST_CONFIGARGS) $${srcdiroption} \
26073 @stage2_werror_flag@
26074 @endif zlib-bootstrap
26076 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26077 maybe-configure-stagefeedback-zlib:
26078 @if zlib-bootstrap
26079 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26080 configure-stagefeedback-zlib:
26081 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26082 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26083 r=`${PWD_COMMAND}`; export r; \
26084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26085 $(HOST_EXPORTS) \
26086 $(POSTSTAGE1_HOST_EXPORTS) \
26087 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26088 cd $(HOST_SUBDIR)/zlib || exit 1; \
26089 case $(srcdir) in \
26090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26091 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26093 esac; \
26094 srcdiroption="--srcdir=$${topdir}/zlib"; \
26095 libsrcdir="$$s/zlib"; \
26096 $(SHELL) $${libsrcdir}/configure \
26097 $(HOST_CONFIGARGS) $${srcdiroption} \
26098 @stage2_werror_flag@
26099 @endif zlib-bootstrap
26105 .PHONY: all-zlib maybe-all-zlib
26106 maybe-all-zlib:
26107 @if zlib
26108 TARGET-zlib=all
26109 maybe-all-zlib: all-zlib
26110 all-zlib: configure-zlib
26111 @test -f stage_last && exit 0; \
26112 r=`${PWD_COMMAND}`; export r; \
26113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26114 $(HOST_EXPORTS) \
26115 (cd $(HOST_SUBDIR)/zlib && \
26116 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26117 @endif zlib
26121 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26122 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26123 maybe-all-stage1-zlib:
26124 maybe-clean-stage1-zlib:
26125 @if zlib-bootstrap
26126 maybe-all-stage1-zlib: all-stage1-zlib
26127 all-stage1: all-stage1-zlib
26128 TARGET-stage1-zlib = $(TARGET-zlib)
26129 all-stage1-zlib: configure-stage1-zlib
26130 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26131 @r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26133 $(HOST_EXPORTS) \
26134 cd $(HOST_SUBDIR)/zlib && \
26135 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26136 $(TARGET-stage1-zlib)
26138 maybe-clean-stage1-zlib: clean-stage1-zlib
26139 clean-stage1: clean-stage1-zlib
26140 clean-stage1-zlib:
26141 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26142 || exit 0 ; \
26143 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26144 cd $(HOST_SUBDIR)/zlib && \
26145 $(MAKE) $(FLAGS_TO_PASS) \
26146 CFLAGS="$(STAGE1_CFLAGS)" clean
26147 @endif zlib-bootstrap
26150 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26151 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26152 maybe-all-stage2-zlib:
26153 maybe-clean-stage2-zlib:
26154 @if zlib-bootstrap
26155 maybe-all-stage2-zlib: all-stage2-zlib
26156 all-stage2: all-stage2-zlib
26157 TARGET-stage2-zlib = $(TARGET-zlib)
26158 all-stage2-zlib: configure-stage2-zlib
26159 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26160 @r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 $(HOST_EXPORTS) \
26163 $(POSTSTAGE1_HOST_EXPORTS) \
26164 cd $(HOST_SUBDIR)/zlib && \
26165 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26166 $(TARGET-stage2-zlib)
26168 maybe-clean-stage2-zlib: clean-stage2-zlib
26169 clean-stage2: clean-stage2-zlib
26170 clean-stage2-zlib:
26171 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26172 || exit 0 ; \
26173 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26174 cd $(HOST_SUBDIR)/zlib && \
26175 $(MAKE) $(FLAGS_TO_PASS) \
26176 $(POSTSTAGE1_FLAGS_TO_PASS) \
26177 clean
26178 @endif zlib-bootstrap
26181 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26182 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26183 maybe-all-stage3-zlib:
26184 maybe-clean-stage3-zlib:
26185 @if zlib-bootstrap
26186 maybe-all-stage3-zlib: all-stage3-zlib
26187 all-stage3: all-stage3-zlib
26188 TARGET-stage3-zlib = $(TARGET-zlib)
26189 all-stage3-zlib: configure-stage3-zlib
26190 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26191 @r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193 $(HOST_EXPORTS) \
26194 $(POSTSTAGE1_HOST_EXPORTS) \
26195 cd $(HOST_SUBDIR)/zlib && \
26196 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26197 $(TARGET-stage3-zlib)
26199 maybe-clean-stage3-zlib: clean-stage3-zlib
26200 clean-stage3: clean-stage3-zlib
26201 clean-stage3-zlib:
26202 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26203 || exit 0 ; \
26204 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26205 cd $(HOST_SUBDIR)/zlib && \
26206 $(MAKE) $(FLAGS_TO_PASS) \
26207 $(POSTSTAGE1_FLAGS_TO_PASS) \
26208 clean
26209 @endif zlib-bootstrap
26212 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26213 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26214 maybe-all-stage4-zlib:
26215 maybe-clean-stage4-zlib:
26216 @if zlib-bootstrap
26217 maybe-all-stage4-zlib: all-stage4-zlib
26218 all-stage4: all-stage4-zlib
26219 TARGET-stage4-zlib = $(TARGET-zlib)
26220 all-stage4-zlib: configure-stage4-zlib
26221 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26222 @r=`${PWD_COMMAND}`; export r; \
26223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26224 $(HOST_EXPORTS) \
26225 $(POSTSTAGE1_HOST_EXPORTS) \
26226 cd $(HOST_SUBDIR)/zlib && \
26227 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26228 $(TARGET-stage4-zlib)
26230 maybe-clean-stage4-zlib: clean-stage4-zlib
26231 clean-stage4: clean-stage4-zlib
26232 clean-stage4-zlib:
26233 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26234 || exit 0 ; \
26235 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26236 cd $(HOST_SUBDIR)/zlib && \
26237 $(MAKE) $(FLAGS_TO_PASS) \
26238 $(POSTSTAGE1_FLAGS_TO_PASS) \
26239 clean
26240 @endif zlib-bootstrap
26243 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26244 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26245 maybe-all-stageprofile-zlib:
26246 maybe-clean-stageprofile-zlib:
26247 @if zlib-bootstrap
26248 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26249 all-stageprofile: all-stageprofile-zlib
26250 TARGET-stageprofile-zlib = $(TARGET-zlib)
26251 all-stageprofile-zlib: configure-stageprofile-zlib
26252 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26253 @r=`${PWD_COMMAND}`; export r; \
26254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26255 $(HOST_EXPORTS) \
26256 $(POSTSTAGE1_HOST_EXPORTS) \
26257 cd $(HOST_SUBDIR)/zlib && \
26258 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26259 $(TARGET-stageprofile-zlib)
26261 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26262 clean-stageprofile: clean-stageprofile-zlib
26263 clean-stageprofile-zlib:
26264 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26265 || exit 0 ; \
26266 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26267 cd $(HOST_SUBDIR)/zlib && \
26268 $(MAKE) $(FLAGS_TO_PASS) \
26269 $(POSTSTAGE1_FLAGS_TO_PASS) \
26270 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26271 @endif zlib-bootstrap
26274 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26275 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26276 maybe-all-stagefeedback-zlib:
26277 maybe-clean-stagefeedback-zlib:
26278 @if zlib-bootstrap
26279 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26280 all-stagefeedback: all-stagefeedback-zlib
26281 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26282 all-stagefeedback-zlib: configure-stagefeedback-zlib
26283 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26284 @r=`${PWD_COMMAND}`; export r; \
26285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26286 $(HOST_EXPORTS) \
26287 $(POSTSTAGE1_HOST_EXPORTS) \
26288 cd $(HOST_SUBDIR)/zlib && \
26289 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26290 $(TARGET-stagefeedback-zlib)
26292 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26293 clean-stagefeedback: clean-stagefeedback-zlib
26294 clean-stagefeedback-zlib:
26295 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26296 || exit 0 ; \
26297 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26298 cd $(HOST_SUBDIR)/zlib && \
26299 $(MAKE) $(FLAGS_TO_PASS) \
26300 $(POSTSTAGE1_FLAGS_TO_PASS) \
26301 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26302 @endif zlib-bootstrap
26308 .PHONY: check-zlib maybe-check-zlib
26309 maybe-check-zlib:
26310 @if zlib
26311 maybe-check-zlib: check-zlib
26313 check-zlib:
26315 @endif zlib
26317 .PHONY: install-zlib maybe-install-zlib
26318 maybe-install-zlib:
26319 @if zlib
26320 maybe-install-zlib: install-zlib
26322 install-zlib:
26324 @endif zlib
26326 # Other targets (info, dvi, etc.)
26328 .PHONY: maybe-info-zlib info-zlib
26329 maybe-info-zlib:
26330 @if zlib
26331 maybe-info-zlib: info-zlib
26333 info-zlib: \
26334 configure-zlib
26335 @[ -f ./zlib/Makefile ] || exit 0; \
26336 r=`${PWD_COMMAND}`; export r; \
26337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26338 $(HOST_EXPORTS) \
26339 for flag in $(EXTRA_HOST_FLAGS) ; do \
26340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26341 done; \
26342 echo "Doing info in zlib" ; \
26343 (cd $(HOST_SUBDIR)/zlib && \
26344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26346 "RANLIB=$${RANLIB}" \
26347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26348 info) \
26349 || exit 1
26351 @endif zlib
26353 .PHONY: maybe-dvi-zlib dvi-zlib
26354 maybe-dvi-zlib:
26355 @if zlib
26356 maybe-dvi-zlib: dvi-zlib
26358 dvi-zlib: \
26359 configure-zlib
26360 @[ -f ./zlib/Makefile ] || exit 0; \
26361 r=`${PWD_COMMAND}`; export r; \
26362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26363 $(HOST_EXPORTS) \
26364 for flag in $(EXTRA_HOST_FLAGS) ; do \
26365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26366 done; \
26367 echo "Doing dvi in zlib" ; \
26368 (cd $(HOST_SUBDIR)/zlib && \
26369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26371 "RANLIB=$${RANLIB}" \
26372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26373 dvi) \
26374 || exit 1
26376 @endif zlib
26378 .PHONY: maybe-html-zlib html-zlib
26379 maybe-html-zlib:
26380 @if zlib
26381 maybe-html-zlib: html-zlib
26383 html-zlib: \
26384 configure-zlib
26385 @[ -f ./zlib/Makefile ] || exit 0; \
26386 r=`${PWD_COMMAND}`; export r; \
26387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 $(HOST_EXPORTS) \
26389 for flag in $(EXTRA_HOST_FLAGS) ; do \
26390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26391 done; \
26392 echo "Doing html in zlib" ; \
26393 (cd $(HOST_SUBDIR)/zlib && \
26394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26396 "RANLIB=$${RANLIB}" \
26397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26398 html) \
26399 || exit 1
26401 @endif zlib
26403 .PHONY: maybe-TAGS-zlib TAGS-zlib
26404 maybe-TAGS-zlib:
26405 @if zlib
26406 maybe-TAGS-zlib: TAGS-zlib
26408 TAGS-zlib: \
26409 configure-zlib
26410 @[ -f ./zlib/Makefile ] || exit 0; \
26411 r=`${PWD_COMMAND}`; export r; \
26412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413 $(HOST_EXPORTS) \
26414 for flag in $(EXTRA_HOST_FLAGS) ; do \
26415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26416 done; \
26417 echo "Doing TAGS in zlib" ; \
26418 (cd $(HOST_SUBDIR)/zlib && \
26419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26421 "RANLIB=$${RANLIB}" \
26422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26423 TAGS) \
26424 || exit 1
26426 @endif zlib
26428 .PHONY: maybe-install-info-zlib install-info-zlib
26429 maybe-install-info-zlib:
26430 @if zlib
26431 maybe-install-info-zlib: install-info-zlib
26433 install-info-zlib: \
26434 configure-zlib \
26435 info-zlib
26436 @[ -f ./zlib/Makefile ] || exit 0; \
26437 r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 for flag in $(EXTRA_HOST_FLAGS) ; do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 done; \
26443 echo "Doing install-info in zlib" ; \
26444 (cd $(HOST_SUBDIR)/zlib && \
26445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26447 "RANLIB=$${RANLIB}" \
26448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26449 install-info) \
26450 || exit 1
26452 @endif zlib
26454 .PHONY: maybe-installcheck-zlib installcheck-zlib
26455 maybe-installcheck-zlib:
26456 @if zlib
26457 maybe-installcheck-zlib: installcheck-zlib
26459 installcheck-zlib: \
26460 configure-zlib
26461 @[ -f ./zlib/Makefile ] || exit 0; \
26462 r=`${PWD_COMMAND}`; export r; \
26463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26464 $(HOST_EXPORTS) \
26465 for flag in $(EXTRA_HOST_FLAGS) ; do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26467 done; \
26468 echo "Doing installcheck in zlib" ; \
26469 (cd $(HOST_SUBDIR)/zlib && \
26470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26472 "RANLIB=$${RANLIB}" \
26473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26474 installcheck) \
26475 || exit 1
26477 @endif zlib
26479 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26480 maybe-mostlyclean-zlib:
26481 @if zlib
26482 maybe-mostlyclean-zlib: mostlyclean-zlib
26484 mostlyclean-zlib:
26485 @[ -f ./zlib/Makefile ] || exit 0; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(HOST_EXPORTS) \
26489 for flag in $(EXTRA_HOST_FLAGS) ; do \
26490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26491 done; \
26492 echo "Doing mostlyclean in zlib" ; \
26493 (cd $(HOST_SUBDIR)/zlib && \
26494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496 "RANLIB=$${RANLIB}" \
26497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26498 mostlyclean) \
26499 || exit 1
26501 @endif zlib
26503 .PHONY: maybe-clean-zlib clean-zlib
26504 maybe-clean-zlib:
26505 @if zlib
26506 maybe-clean-zlib: clean-zlib
26508 clean-zlib:
26509 @[ -f ./zlib/Makefile ] || exit 0; \
26510 r=`${PWD_COMMAND}`; export r; \
26511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26512 $(HOST_EXPORTS) \
26513 for flag in $(EXTRA_HOST_FLAGS) ; do \
26514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26515 done; \
26516 echo "Doing clean in zlib" ; \
26517 (cd $(HOST_SUBDIR)/zlib && \
26518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26520 "RANLIB=$${RANLIB}" \
26521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26522 clean) \
26523 || exit 1
26525 @endif zlib
26527 .PHONY: maybe-distclean-zlib distclean-zlib
26528 maybe-distclean-zlib:
26529 @if zlib
26530 maybe-distclean-zlib: distclean-zlib
26532 distclean-zlib:
26533 @[ -f ./zlib/Makefile ] || exit 0; \
26534 r=`${PWD_COMMAND}`; export r; \
26535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26536 $(HOST_EXPORTS) \
26537 for flag in $(EXTRA_HOST_FLAGS) ; do \
26538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26539 done; \
26540 echo "Doing distclean in zlib" ; \
26541 (cd $(HOST_SUBDIR)/zlib && \
26542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26544 "RANLIB=$${RANLIB}" \
26545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26546 distclean) \
26547 || exit 1
26549 @endif zlib
26551 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26552 maybe-maintainer-clean-zlib:
26553 @if zlib
26554 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26556 maintainer-clean-zlib:
26557 @[ -f ./zlib/Makefile ] || exit 0; \
26558 r=`${PWD_COMMAND}`; export r; \
26559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 $(HOST_EXPORTS) \
26561 for flag in $(EXTRA_HOST_FLAGS) ; do \
26562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26563 done; \
26564 echo "Doing maintainer-clean in zlib" ; \
26565 (cd $(HOST_SUBDIR)/zlib && \
26566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26568 "RANLIB=$${RANLIB}" \
26569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26570 maintainer-clean) \
26571 || exit 1
26573 @endif zlib
26577 .PHONY: configure-gdb maybe-configure-gdb
26578 maybe-configure-gdb:
26579 @if gdb
26580 maybe-configure-gdb: configure-gdb
26581 configure-gdb:
26582 @$(unstage)
26583 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26585 r=`${PWD_COMMAND}`; export r; \
26586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26587 $(HOST_EXPORTS) \
26588 echo Configuring in $(HOST_SUBDIR)/gdb; \
26589 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26590 case $(srcdir) in \
26591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26592 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26594 esac; \
26595 srcdiroption="--srcdir=$${topdir}/gdb"; \
26596 libsrcdir="$$s/gdb"; \
26597 $(SHELL) $${libsrcdir}/configure \
26598 $(HOST_CONFIGARGS) $${srcdiroption} \
26599 || exit 1
26600 @endif gdb
26606 .PHONY: all-gdb maybe-all-gdb
26607 maybe-all-gdb:
26608 @if gdb
26609 TARGET-gdb=all
26610 maybe-all-gdb: all-gdb
26611 all-gdb: configure-gdb
26612 @$(unstage)
26613 @r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 $(HOST_EXPORTS) \
26616 (cd $(HOST_SUBDIR)/gdb && \
26617 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26618 @endif gdb
26623 .PHONY: check-gdb maybe-check-gdb
26624 maybe-check-gdb:
26625 @if gdb
26626 maybe-check-gdb: check-gdb
26628 check-gdb:
26629 @$(unstage)
26630 @r=`${PWD_COMMAND}`; export r; \
26631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26632 $(HOST_EXPORTS) \
26633 (cd $(HOST_SUBDIR)/gdb && \
26634 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26636 @endif gdb
26638 .PHONY: install-gdb maybe-install-gdb
26639 maybe-install-gdb:
26640 @if gdb
26641 maybe-install-gdb: install-gdb
26643 install-gdb: installdirs
26644 @$(unstage)
26645 @r=`${PWD_COMMAND}`; export r; \
26646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26647 $(HOST_EXPORTS) \
26648 (cd $(HOST_SUBDIR)/gdb && \
26649 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26651 @endif gdb
26653 # Other targets (info, dvi, etc.)
26655 .PHONY: maybe-info-gdb info-gdb
26656 maybe-info-gdb:
26657 @if gdb
26658 maybe-info-gdb: info-gdb
26660 info-gdb: \
26661 configure-gdb
26662 @$(unstage)
26663 @[ -f ./gdb/Makefile ] || exit 0; \
26664 r=`${PWD_COMMAND}`; export r; \
26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(HOST_EXPORTS) \
26667 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26669 done; \
26670 echo "Doing info in gdb" ; \
26671 (cd $(HOST_SUBDIR)/gdb && \
26672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26674 "RANLIB=$${RANLIB}" \
26675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26676 info) \
26677 || exit 1
26679 @endif gdb
26681 .PHONY: maybe-dvi-gdb dvi-gdb
26682 maybe-dvi-gdb:
26683 @if gdb
26684 maybe-dvi-gdb: dvi-gdb
26686 dvi-gdb: \
26687 configure-gdb
26688 @$(unstage)
26689 @[ -f ./gdb/Makefile ] || exit 0; \
26690 r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 $(HOST_EXPORTS) \
26693 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26695 done; \
26696 echo "Doing dvi in gdb" ; \
26697 (cd $(HOST_SUBDIR)/gdb && \
26698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26700 "RANLIB=$${RANLIB}" \
26701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26702 dvi) \
26703 || exit 1
26705 @endif gdb
26707 .PHONY: maybe-html-gdb html-gdb
26708 maybe-html-gdb:
26709 @if gdb
26710 maybe-html-gdb: html-gdb
26712 html-gdb: \
26713 configure-gdb
26714 @$(unstage)
26715 @[ -f ./gdb/Makefile ] || exit 0; \
26716 r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(HOST_EXPORTS) \
26719 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26721 done; \
26722 echo "Doing html in gdb" ; \
26723 (cd $(HOST_SUBDIR)/gdb && \
26724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26726 "RANLIB=$${RANLIB}" \
26727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26728 html) \
26729 || exit 1
26731 @endif gdb
26733 .PHONY: maybe-TAGS-gdb TAGS-gdb
26734 maybe-TAGS-gdb:
26735 @if gdb
26736 maybe-TAGS-gdb: TAGS-gdb
26738 TAGS-gdb: \
26739 configure-gdb
26740 @$(unstage)
26741 @[ -f ./gdb/Makefile ] || exit 0; \
26742 r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 $(HOST_EXPORTS) \
26745 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26747 done; \
26748 echo "Doing TAGS in gdb" ; \
26749 (cd $(HOST_SUBDIR)/gdb && \
26750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26752 "RANLIB=$${RANLIB}" \
26753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26754 TAGS) \
26755 || exit 1
26757 @endif gdb
26759 .PHONY: maybe-install-info-gdb install-info-gdb
26760 maybe-install-info-gdb:
26761 @if gdb
26762 maybe-install-info-gdb: install-info-gdb
26764 install-info-gdb: \
26765 configure-gdb \
26766 info-gdb
26767 @$(unstage)
26768 @[ -f ./gdb/Makefile ] || exit 0; \
26769 r=`${PWD_COMMAND}`; export r; \
26770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26771 $(HOST_EXPORTS) \
26772 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26774 done; \
26775 echo "Doing install-info in gdb" ; \
26776 (cd $(HOST_SUBDIR)/gdb && \
26777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26779 "RANLIB=$${RANLIB}" \
26780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26781 install-info) \
26782 || exit 1
26784 @endif gdb
26786 .PHONY: maybe-installcheck-gdb installcheck-gdb
26787 maybe-installcheck-gdb:
26788 @if gdb
26789 maybe-installcheck-gdb: installcheck-gdb
26791 installcheck-gdb: \
26792 configure-gdb
26793 @$(unstage)
26794 @[ -f ./gdb/Makefile ] || exit 0; \
26795 r=`${PWD_COMMAND}`; export r; \
26796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26797 $(HOST_EXPORTS) \
26798 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26800 done; \
26801 echo "Doing installcheck in gdb" ; \
26802 (cd $(HOST_SUBDIR)/gdb && \
26803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26805 "RANLIB=$${RANLIB}" \
26806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26807 installcheck) \
26808 || exit 1
26810 @endif gdb
26812 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26813 maybe-mostlyclean-gdb:
26814 @if gdb
26815 maybe-mostlyclean-gdb: mostlyclean-gdb
26817 mostlyclean-gdb:
26818 @$(unstage)
26819 @[ -f ./gdb/Makefile ] || exit 0; \
26820 r=`${PWD_COMMAND}`; export r; \
26821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26822 $(HOST_EXPORTS) \
26823 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26825 done; \
26826 echo "Doing mostlyclean in gdb" ; \
26827 (cd $(HOST_SUBDIR)/gdb && \
26828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26830 "RANLIB=$${RANLIB}" \
26831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26832 mostlyclean) \
26833 || exit 1
26835 @endif gdb
26837 .PHONY: maybe-clean-gdb clean-gdb
26838 maybe-clean-gdb:
26839 @if gdb
26840 maybe-clean-gdb: clean-gdb
26842 clean-gdb:
26843 @$(unstage)
26844 @[ -f ./gdb/Makefile ] || exit 0; \
26845 r=`${PWD_COMMAND}`; export r; \
26846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26847 $(HOST_EXPORTS) \
26848 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26850 done; \
26851 echo "Doing clean in gdb" ; \
26852 (cd $(HOST_SUBDIR)/gdb && \
26853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26855 "RANLIB=$${RANLIB}" \
26856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26857 clean) \
26858 || exit 1
26860 @endif gdb
26862 .PHONY: maybe-distclean-gdb distclean-gdb
26863 maybe-distclean-gdb:
26864 @if gdb
26865 maybe-distclean-gdb: distclean-gdb
26867 distclean-gdb:
26868 @$(unstage)
26869 @[ -f ./gdb/Makefile ] || exit 0; \
26870 r=`${PWD_COMMAND}`; export r; \
26871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26872 $(HOST_EXPORTS) \
26873 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26875 done; \
26876 echo "Doing distclean in gdb" ; \
26877 (cd $(HOST_SUBDIR)/gdb && \
26878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26880 "RANLIB=$${RANLIB}" \
26881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26882 distclean) \
26883 || exit 1
26885 @endif gdb
26887 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26888 maybe-maintainer-clean-gdb:
26889 @if gdb
26890 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26892 maintainer-clean-gdb:
26893 @$(unstage)
26894 @[ -f ./gdb/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) $(X11_FLAGS_TO_PASS); do \
26899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26900 done; \
26901 echo "Doing maintainer-clean in gdb" ; \
26902 (cd $(HOST_SUBDIR)/gdb && \
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 maintainer-clean) \
26908 || exit 1
26910 @endif gdb
26914 .PHONY: configure-expect maybe-configure-expect
26915 maybe-configure-expect:
26916 @if expect
26917 maybe-configure-expect: configure-expect
26918 configure-expect:
26919 @$(unstage)
26920 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26922 r=`${PWD_COMMAND}`; export r; \
26923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26924 $(HOST_EXPORTS) \
26925 echo Configuring in $(HOST_SUBDIR)/expect; \
26926 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26927 case $(srcdir) in \
26928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26929 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26931 esac; \
26932 srcdiroption="--srcdir=$${topdir}/expect"; \
26933 libsrcdir="$$s/expect"; \
26934 $(SHELL) $${libsrcdir}/configure \
26935 $(HOST_CONFIGARGS) $${srcdiroption} \
26936 || exit 1
26937 @endif expect
26943 .PHONY: all-expect maybe-all-expect
26944 maybe-all-expect:
26945 @if expect
26946 TARGET-expect=all
26947 maybe-all-expect: all-expect
26948 all-expect: configure-expect
26949 @$(unstage)
26950 @r=`${PWD_COMMAND}`; export r; \
26951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26952 $(HOST_EXPORTS) \
26953 (cd $(HOST_SUBDIR)/expect && \
26954 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26955 @endif expect
26960 .PHONY: check-expect maybe-check-expect
26961 maybe-check-expect:
26962 @if expect
26963 maybe-check-expect: check-expect
26965 check-expect:
26966 @$(unstage)
26967 @r=`${PWD_COMMAND}`; export r; \
26968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26969 $(HOST_EXPORTS) \
26970 (cd $(HOST_SUBDIR)/expect && \
26971 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26973 @endif expect
26975 .PHONY: install-expect maybe-install-expect
26976 maybe-install-expect:
26977 @if expect
26978 maybe-install-expect: install-expect
26980 install-expect: installdirs
26981 @$(unstage)
26982 @r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984 $(HOST_EXPORTS) \
26985 (cd $(HOST_SUBDIR)/expect && \
26986 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26988 @endif expect
26990 # Other targets (info, dvi, etc.)
26992 .PHONY: maybe-info-expect info-expect
26993 maybe-info-expect:
26994 @if expect
26995 maybe-info-expect: info-expect
26997 info-expect: \
26998 configure-expect
26999 @$(unstage)
27000 @[ -f ./expect/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) $(X11_FLAGS_TO_PASS); do \
27005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27006 done; \
27007 echo "Doing info in expect" ; \
27008 (cd $(HOST_SUBDIR)/expect && \
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 info) \
27014 || exit 1
27016 @endif expect
27018 .PHONY: maybe-dvi-expect dvi-expect
27019 maybe-dvi-expect:
27020 @if expect
27021 maybe-dvi-expect: dvi-expect
27023 dvi-expect: \
27024 configure-expect
27025 @$(unstage)
27026 @[ -f ./expect/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) $(X11_FLAGS_TO_PASS); do \
27031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27032 done; \
27033 echo "Doing dvi in expect" ; \
27034 (cd $(HOST_SUBDIR)/expect && \
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 dvi) \
27040 || exit 1
27042 @endif expect
27044 .PHONY: maybe-html-expect html-expect
27045 maybe-html-expect:
27046 @if expect
27047 maybe-html-expect: html-expect
27049 html-expect: \
27050 configure-expect
27051 @$(unstage)
27052 @[ -f ./expect/Makefile ] || exit 0; \
27053 r=`${PWD_COMMAND}`; export r; \
27054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27055 $(HOST_EXPORTS) \
27056 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27058 done; \
27059 echo "Doing html in expect" ; \
27060 (cd $(HOST_SUBDIR)/expect && \
27061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27063 "RANLIB=$${RANLIB}" \
27064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27065 html) \
27066 || exit 1
27068 @endif expect
27070 .PHONY: maybe-TAGS-expect TAGS-expect
27071 maybe-TAGS-expect:
27072 @if expect
27073 maybe-TAGS-expect: TAGS-expect
27075 TAGS-expect: \
27076 configure-expect
27077 @$(unstage)
27078 @[ -f ./expect/Makefile ] || exit 0; \
27079 r=`${PWD_COMMAND}`; export r; \
27080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27081 $(HOST_EXPORTS) \
27082 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27084 done; \
27085 echo "Doing TAGS in expect" ; \
27086 (cd $(HOST_SUBDIR)/expect && \
27087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27089 "RANLIB=$${RANLIB}" \
27090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27091 TAGS) \
27092 || exit 1
27094 @endif expect
27096 .PHONY: maybe-install-info-expect install-info-expect
27097 maybe-install-info-expect:
27098 @if expect
27099 maybe-install-info-expect: install-info-expect
27101 install-info-expect: \
27102 configure-expect \
27103 info-expect
27104 @$(unstage)
27105 @[ -f ./expect/Makefile ] || exit 0; \
27106 r=`${PWD_COMMAND}`; export r; \
27107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27108 $(HOST_EXPORTS) \
27109 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27111 done; \
27112 echo "Doing install-info in expect" ; \
27113 (cd $(HOST_SUBDIR)/expect && \
27114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27116 "RANLIB=$${RANLIB}" \
27117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27118 install-info) \
27119 || exit 1
27121 @endif expect
27123 .PHONY: maybe-installcheck-expect installcheck-expect
27124 maybe-installcheck-expect:
27125 @if expect
27126 maybe-installcheck-expect: installcheck-expect
27128 installcheck-expect: \
27129 configure-expect
27130 @$(unstage)
27131 @[ -f ./expect/Makefile ] || exit 0; \
27132 r=`${PWD_COMMAND}`; export r; \
27133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27134 $(HOST_EXPORTS) \
27135 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27137 done; \
27138 echo "Doing installcheck in expect" ; \
27139 (cd $(HOST_SUBDIR)/expect && \
27140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27142 "RANLIB=$${RANLIB}" \
27143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27144 installcheck) \
27145 || exit 1
27147 @endif expect
27149 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27150 maybe-mostlyclean-expect:
27151 @if expect
27152 maybe-mostlyclean-expect: mostlyclean-expect
27154 mostlyclean-expect:
27155 @$(unstage)
27156 @[ -f ./expect/Makefile ] || exit 0; \
27157 r=`${PWD_COMMAND}`; export r; \
27158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27159 $(HOST_EXPORTS) \
27160 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27162 done; \
27163 echo "Doing mostlyclean in expect" ; \
27164 (cd $(HOST_SUBDIR)/expect && \
27165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27167 "RANLIB=$${RANLIB}" \
27168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27169 mostlyclean) \
27170 || exit 1
27172 @endif expect
27174 .PHONY: maybe-clean-expect clean-expect
27175 maybe-clean-expect:
27176 @if expect
27177 maybe-clean-expect: clean-expect
27179 clean-expect:
27180 @$(unstage)
27181 @[ -f ./expect/Makefile ] || exit 0; \
27182 r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(HOST_EXPORTS) \
27185 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 done; \
27188 echo "Doing clean in expect" ; \
27189 (cd $(HOST_SUBDIR)/expect && \
27190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27192 "RANLIB=$${RANLIB}" \
27193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27194 clean) \
27195 || exit 1
27197 @endif expect
27199 .PHONY: maybe-distclean-expect distclean-expect
27200 maybe-distclean-expect:
27201 @if expect
27202 maybe-distclean-expect: distclean-expect
27204 distclean-expect:
27205 @$(unstage)
27206 @[ -f ./expect/Makefile ] || exit 0; \
27207 r=`${PWD_COMMAND}`; export r; \
27208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27209 $(HOST_EXPORTS) \
27210 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27212 done; \
27213 echo "Doing distclean in expect" ; \
27214 (cd $(HOST_SUBDIR)/expect && \
27215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27217 "RANLIB=$${RANLIB}" \
27218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27219 distclean) \
27220 || exit 1
27222 @endif expect
27224 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27225 maybe-maintainer-clean-expect:
27226 @if expect
27227 maybe-maintainer-clean-expect: maintainer-clean-expect
27229 maintainer-clean-expect:
27230 @$(unstage)
27231 @[ -f ./expect/Makefile ] || exit 0; \
27232 r=`${PWD_COMMAND}`; export r; \
27233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27234 $(HOST_EXPORTS) \
27235 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 done; \
27238 echo "Doing maintainer-clean in expect" ; \
27239 (cd $(HOST_SUBDIR)/expect && \
27240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27242 "RANLIB=$${RANLIB}" \
27243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27244 maintainer-clean) \
27245 || exit 1
27247 @endif expect
27251 .PHONY: configure-guile maybe-configure-guile
27252 maybe-configure-guile:
27253 @if guile
27254 maybe-configure-guile: configure-guile
27255 configure-guile:
27256 @$(unstage)
27257 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27259 r=`${PWD_COMMAND}`; export r; \
27260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27261 $(HOST_EXPORTS) \
27262 echo Configuring in $(HOST_SUBDIR)/guile; \
27263 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27264 case $(srcdir) in \
27265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27266 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27268 esac; \
27269 srcdiroption="--srcdir=$${topdir}/guile"; \
27270 libsrcdir="$$s/guile"; \
27271 $(SHELL) $${libsrcdir}/configure \
27272 $(HOST_CONFIGARGS) $${srcdiroption} \
27273 || exit 1
27274 @endif guile
27280 .PHONY: all-guile maybe-all-guile
27281 maybe-all-guile:
27282 @if guile
27283 TARGET-guile=all
27284 maybe-all-guile: all-guile
27285 all-guile: configure-guile
27286 @$(unstage)
27287 @r=`${PWD_COMMAND}`; export r; \
27288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27289 $(HOST_EXPORTS) \
27290 (cd $(HOST_SUBDIR)/guile && \
27291 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27292 @endif guile
27297 .PHONY: check-guile maybe-check-guile
27298 maybe-check-guile:
27299 @if guile
27300 maybe-check-guile: check-guile
27302 check-guile:
27303 @$(unstage)
27304 @r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 (cd $(HOST_SUBDIR)/guile && \
27308 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27310 @endif guile
27312 .PHONY: install-guile maybe-install-guile
27313 maybe-install-guile:
27314 @if guile
27315 maybe-install-guile: install-guile
27317 install-guile: installdirs
27318 @$(unstage)
27319 @r=`${PWD_COMMAND}`; export r; \
27320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27321 $(HOST_EXPORTS) \
27322 (cd $(HOST_SUBDIR)/guile && \
27323 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27325 @endif guile
27327 # Other targets (info, dvi, etc.)
27329 .PHONY: maybe-info-guile info-guile
27330 maybe-info-guile:
27331 @if guile
27332 maybe-info-guile: info-guile
27334 info-guile: \
27335 configure-guile
27336 @$(unstage)
27337 @[ -f ./guile/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) $(X11_FLAGS_TO_PASS); do \
27342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27343 done; \
27344 echo "Doing info in guile" ; \
27345 (cd $(HOST_SUBDIR)/guile && \
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 info) \
27351 || exit 1
27353 @endif guile
27355 .PHONY: maybe-dvi-guile dvi-guile
27356 maybe-dvi-guile:
27357 @if guile
27358 maybe-dvi-guile: dvi-guile
27360 dvi-guile: \
27361 configure-guile
27362 @$(unstage)
27363 @[ -f ./guile/Makefile ] || exit 0; \
27364 r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 $(HOST_EXPORTS) \
27367 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27369 done; \
27370 echo "Doing dvi in guile" ; \
27371 (cd $(HOST_SUBDIR)/guile && \
27372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27374 "RANLIB=$${RANLIB}" \
27375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27376 dvi) \
27377 || exit 1
27379 @endif guile
27381 .PHONY: maybe-html-guile html-guile
27382 maybe-html-guile:
27383 @if guile
27384 maybe-html-guile: html-guile
27386 html-guile: \
27387 configure-guile
27388 @$(unstage)
27389 @[ -f ./guile/Makefile ] || exit 0; \
27390 r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392 $(HOST_EXPORTS) \
27393 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27395 done; \
27396 echo "Doing html in guile" ; \
27397 (cd $(HOST_SUBDIR)/guile && \
27398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400 "RANLIB=$${RANLIB}" \
27401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27402 html) \
27403 || exit 1
27405 @endif guile
27407 .PHONY: maybe-TAGS-guile TAGS-guile
27408 maybe-TAGS-guile:
27409 @if guile
27410 maybe-TAGS-guile: TAGS-guile
27412 TAGS-guile: \
27413 configure-guile
27414 @$(unstage)
27415 @[ -f ./guile/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) $(X11_FLAGS_TO_PASS); do \
27420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27421 done; \
27422 echo "Doing TAGS in guile" ; \
27423 (cd $(HOST_SUBDIR)/guile && \
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 TAGS) \
27429 || exit 1
27431 @endif guile
27433 .PHONY: maybe-install-info-guile install-info-guile
27434 maybe-install-info-guile:
27435 @if guile
27436 maybe-install-info-guile: install-info-guile
27438 install-info-guile: \
27439 configure-guile \
27440 info-guile
27441 @$(unstage)
27442 @[ -f ./guile/Makefile ] || exit 0; \
27443 r=`${PWD_COMMAND}`; export r; \
27444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27445 $(HOST_EXPORTS) \
27446 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27448 done; \
27449 echo "Doing install-info in guile" ; \
27450 (cd $(HOST_SUBDIR)/guile && \
27451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27453 "RANLIB=$${RANLIB}" \
27454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27455 install-info) \
27456 || exit 1
27458 @endif guile
27460 .PHONY: maybe-installcheck-guile installcheck-guile
27461 maybe-installcheck-guile:
27462 @if guile
27463 maybe-installcheck-guile: installcheck-guile
27465 installcheck-guile: \
27466 configure-guile
27467 @$(unstage)
27468 @[ -f ./guile/Makefile ] || exit 0; \
27469 r=`${PWD_COMMAND}`; export r; \
27470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27471 $(HOST_EXPORTS) \
27472 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27474 done; \
27475 echo "Doing installcheck in guile" ; \
27476 (cd $(HOST_SUBDIR)/guile && \
27477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27479 "RANLIB=$${RANLIB}" \
27480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27481 installcheck) \
27482 || exit 1
27484 @endif guile
27486 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27487 maybe-mostlyclean-guile:
27488 @if guile
27489 maybe-mostlyclean-guile: mostlyclean-guile
27491 mostlyclean-guile:
27492 @$(unstage)
27493 @[ -f ./guile/Makefile ] || exit 0; \
27494 r=`${PWD_COMMAND}`; export r; \
27495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27496 $(HOST_EXPORTS) \
27497 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27499 done; \
27500 echo "Doing mostlyclean in guile" ; \
27501 (cd $(HOST_SUBDIR)/guile && \
27502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27504 "RANLIB=$${RANLIB}" \
27505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27506 mostlyclean) \
27507 || exit 1
27509 @endif guile
27511 .PHONY: maybe-clean-guile clean-guile
27512 maybe-clean-guile:
27513 @if guile
27514 maybe-clean-guile: clean-guile
27516 clean-guile:
27517 @$(unstage)
27518 @[ -f ./guile/Makefile ] || exit 0; \
27519 r=`${PWD_COMMAND}`; export r; \
27520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27521 $(HOST_EXPORTS) \
27522 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27524 done; \
27525 echo "Doing clean in guile" ; \
27526 (cd $(HOST_SUBDIR)/guile && \
27527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27529 "RANLIB=$${RANLIB}" \
27530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27531 clean) \
27532 || exit 1
27534 @endif guile
27536 .PHONY: maybe-distclean-guile distclean-guile
27537 maybe-distclean-guile:
27538 @if guile
27539 maybe-distclean-guile: distclean-guile
27541 distclean-guile:
27542 @$(unstage)
27543 @[ -f ./guile/Makefile ] || exit 0; \
27544 r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(HOST_EXPORTS) \
27547 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 done; \
27550 echo "Doing distclean in guile" ; \
27551 (cd $(HOST_SUBDIR)/guile && \
27552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27554 "RANLIB=$${RANLIB}" \
27555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27556 distclean) \
27557 || exit 1
27559 @endif guile
27561 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27562 maybe-maintainer-clean-guile:
27563 @if guile
27564 maybe-maintainer-clean-guile: maintainer-clean-guile
27566 maintainer-clean-guile:
27567 @$(unstage)
27568 @[ -f ./guile/Makefile ] || exit 0; \
27569 r=`${PWD_COMMAND}`; export r; \
27570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27571 $(HOST_EXPORTS) \
27572 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27574 done; \
27575 echo "Doing maintainer-clean in guile" ; \
27576 (cd $(HOST_SUBDIR)/guile && \
27577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27579 "RANLIB=$${RANLIB}" \
27580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27581 maintainer-clean) \
27582 || exit 1
27584 @endif guile
27588 .PHONY: configure-tk maybe-configure-tk
27589 maybe-configure-tk:
27590 @if tk
27591 maybe-configure-tk: configure-tk
27592 configure-tk:
27593 @$(unstage)
27594 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(HOST_EXPORTS) \
27599 echo Configuring in $(HOST_SUBDIR)/tk; \
27600 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27601 case $(srcdir) in \
27602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27603 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27605 esac; \
27606 srcdiroption="--srcdir=$${topdir}/tk"; \
27607 libsrcdir="$$s/tk"; \
27608 $(SHELL) $${libsrcdir}/configure \
27609 $(HOST_CONFIGARGS) $${srcdiroption} \
27610 || exit 1
27611 @endif tk
27617 .PHONY: all-tk maybe-all-tk
27618 maybe-all-tk:
27619 @if tk
27620 TARGET-tk=all
27621 maybe-all-tk: all-tk
27622 all-tk: configure-tk
27623 @$(unstage)
27624 @r=`${PWD_COMMAND}`; export r; \
27625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27626 $(HOST_EXPORTS) \
27627 (cd $(HOST_SUBDIR)/tk && \
27628 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27629 @endif tk
27634 .PHONY: check-tk maybe-check-tk
27635 maybe-check-tk:
27636 @if tk
27637 maybe-check-tk: check-tk
27639 check-tk:
27640 @$(unstage)
27641 @r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(HOST_EXPORTS) \
27644 (cd $(HOST_SUBDIR)/tk && \
27645 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27647 @endif tk
27649 .PHONY: install-tk maybe-install-tk
27650 maybe-install-tk:
27651 @if tk
27652 maybe-install-tk: install-tk
27654 install-tk: installdirs
27655 @$(unstage)
27656 @r=`${PWD_COMMAND}`; export r; \
27657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27658 $(HOST_EXPORTS) \
27659 (cd $(HOST_SUBDIR)/tk && \
27660 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27662 @endif tk
27664 # Other targets (info, dvi, etc.)
27666 .PHONY: maybe-info-tk info-tk
27667 maybe-info-tk:
27668 @if tk
27669 maybe-info-tk: info-tk
27671 info-tk: \
27672 configure-tk
27673 @$(unstage)
27674 @[ -f ./tk/Makefile ] || exit 0; \
27675 r=`${PWD_COMMAND}`; export r; \
27676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27677 $(HOST_EXPORTS) \
27678 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27680 done; \
27681 echo "Doing info in tk" ; \
27682 (cd $(HOST_SUBDIR)/tk && \
27683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27685 "RANLIB=$${RANLIB}" \
27686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27687 info) \
27688 || exit 1
27690 @endif tk
27692 .PHONY: maybe-dvi-tk dvi-tk
27693 maybe-dvi-tk:
27694 @if tk
27695 maybe-dvi-tk: dvi-tk
27697 dvi-tk: \
27698 configure-tk
27699 @$(unstage)
27700 @[ -f ./tk/Makefile ] || exit 0; \
27701 r=`${PWD_COMMAND}`; export r; \
27702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27703 $(HOST_EXPORTS) \
27704 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27706 done; \
27707 echo "Doing dvi in tk" ; \
27708 (cd $(HOST_SUBDIR)/tk && \
27709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27711 "RANLIB=$${RANLIB}" \
27712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27713 dvi) \
27714 || exit 1
27716 @endif tk
27718 .PHONY: maybe-html-tk html-tk
27719 maybe-html-tk:
27720 @if tk
27721 maybe-html-tk: html-tk
27723 html-tk: \
27724 configure-tk
27725 @$(unstage)
27726 @[ -f ./tk/Makefile ] || exit 0; \
27727 r=`${PWD_COMMAND}`; export r; \
27728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27729 $(HOST_EXPORTS) \
27730 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27732 done; \
27733 echo "Doing html in tk" ; \
27734 (cd $(HOST_SUBDIR)/tk && \
27735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27737 "RANLIB=$${RANLIB}" \
27738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27739 html) \
27740 || exit 1
27742 @endif tk
27744 .PHONY: maybe-TAGS-tk TAGS-tk
27745 maybe-TAGS-tk:
27746 @if tk
27747 maybe-TAGS-tk: TAGS-tk
27749 TAGS-tk: \
27750 configure-tk
27751 @$(unstage)
27752 @[ -f ./tk/Makefile ] || exit 0; \
27753 r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(HOST_EXPORTS) \
27756 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27758 done; \
27759 echo "Doing TAGS in tk" ; \
27760 (cd $(HOST_SUBDIR)/tk && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27765 TAGS) \
27766 || exit 1
27768 @endif tk
27770 .PHONY: maybe-install-info-tk install-info-tk
27771 maybe-install-info-tk:
27772 @if tk
27773 maybe-install-info-tk: install-info-tk
27775 install-info-tk: \
27776 configure-tk \
27777 info-tk
27778 @$(unstage)
27779 @[ -f ./tk/Makefile ] || exit 0; \
27780 r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27782 $(HOST_EXPORTS) \
27783 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27785 done; \
27786 echo "Doing install-info in tk" ; \
27787 (cd $(HOST_SUBDIR)/tk && \
27788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27790 "RANLIB=$${RANLIB}" \
27791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27792 install-info) \
27793 || exit 1
27795 @endif tk
27797 .PHONY: maybe-installcheck-tk installcheck-tk
27798 maybe-installcheck-tk:
27799 @if tk
27800 maybe-installcheck-tk: installcheck-tk
27802 installcheck-tk: \
27803 configure-tk
27804 @$(unstage)
27805 @[ -f ./tk/Makefile ] || exit 0; \
27806 r=`${PWD_COMMAND}`; export r; \
27807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27808 $(HOST_EXPORTS) \
27809 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27811 done; \
27812 echo "Doing installcheck in tk" ; \
27813 (cd $(HOST_SUBDIR)/tk && \
27814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27816 "RANLIB=$${RANLIB}" \
27817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27818 installcheck) \
27819 || exit 1
27821 @endif tk
27823 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27824 maybe-mostlyclean-tk:
27825 @if tk
27826 maybe-mostlyclean-tk: mostlyclean-tk
27828 mostlyclean-tk:
27829 @$(unstage)
27830 @[ -f ./tk/Makefile ] || exit 0; \
27831 r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 $(HOST_EXPORTS) \
27834 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27836 done; \
27837 echo "Doing mostlyclean in tk" ; \
27838 (cd $(HOST_SUBDIR)/tk && \
27839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27841 "RANLIB=$${RANLIB}" \
27842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27843 mostlyclean) \
27844 || exit 1
27846 @endif tk
27848 .PHONY: maybe-clean-tk clean-tk
27849 maybe-clean-tk:
27850 @if tk
27851 maybe-clean-tk: clean-tk
27853 clean-tk:
27854 @$(unstage)
27855 @[ -f ./tk/Makefile ] || exit 0; \
27856 r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27858 $(HOST_EXPORTS) \
27859 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 done; \
27862 echo "Doing clean in tk" ; \
27863 (cd $(HOST_SUBDIR)/tk && \
27864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27866 "RANLIB=$${RANLIB}" \
27867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27868 clean) \
27869 || exit 1
27871 @endif tk
27873 .PHONY: maybe-distclean-tk distclean-tk
27874 maybe-distclean-tk:
27875 @if tk
27876 maybe-distclean-tk: distclean-tk
27878 distclean-tk:
27879 @$(unstage)
27880 @[ -f ./tk/Makefile ] || exit 0; \
27881 r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 $(HOST_EXPORTS) \
27884 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27886 done; \
27887 echo "Doing distclean in tk" ; \
27888 (cd $(HOST_SUBDIR)/tk && \
27889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27891 "RANLIB=$${RANLIB}" \
27892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27893 distclean) \
27894 || exit 1
27896 @endif tk
27898 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27899 maybe-maintainer-clean-tk:
27900 @if tk
27901 maybe-maintainer-clean-tk: maintainer-clean-tk
27903 maintainer-clean-tk:
27904 @$(unstage)
27905 @[ -f ./tk/Makefile ] || exit 0; \
27906 r=`${PWD_COMMAND}`; export r; \
27907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 $(HOST_EXPORTS) \
27909 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27911 done; \
27912 echo "Doing maintainer-clean in tk" ; \
27913 (cd $(HOST_SUBDIR)/tk && \
27914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27916 "RANLIB=$${RANLIB}" \
27917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27918 maintainer-clean) \
27919 || exit 1
27921 @endif tk
27925 .PHONY: configure-libtermcap maybe-configure-libtermcap
27926 maybe-configure-libtermcap:
27927 @if libtermcap
27928 maybe-configure-libtermcap: configure-libtermcap
27929 configure-libtermcap:
27930 @$(unstage)
27931 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27933 r=`${PWD_COMMAND}`; export r; \
27934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27935 $(HOST_EXPORTS) \
27936 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27937 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27938 case $(srcdir) in \
27939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27940 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27942 esac; \
27943 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27944 libsrcdir="$$s/libtermcap"; \
27945 $(SHELL) $${libsrcdir}/configure \
27946 $(HOST_CONFIGARGS) $${srcdiroption} \
27947 || exit 1
27948 @endif libtermcap
27954 .PHONY: all-libtermcap maybe-all-libtermcap
27955 maybe-all-libtermcap:
27956 @if libtermcap
27957 TARGET-libtermcap=all
27958 maybe-all-libtermcap: all-libtermcap
27959 all-libtermcap: configure-libtermcap
27960 @$(unstage)
27961 @r=`${PWD_COMMAND}`; export r; \
27962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27963 $(HOST_EXPORTS) \
27964 (cd $(HOST_SUBDIR)/libtermcap && \
27965 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27966 @endif libtermcap
27971 .PHONY: check-libtermcap maybe-check-libtermcap
27972 maybe-check-libtermcap:
27973 @if libtermcap
27974 maybe-check-libtermcap: check-libtermcap
27976 check-libtermcap:
27978 @endif libtermcap
27980 .PHONY: install-libtermcap maybe-install-libtermcap
27981 maybe-install-libtermcap:
27982 @if libtermcap
27983 maybe-install-libtermcap: install-libtermcap
27985 install-libtermcap: installdirs
27986 @$(unstage)
27987 @r=`${PWD_COMMAND}`; export r; \
27988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27989 $(HOST_EXPORTS) \
27990 (cd $(HOST_SUBDIR)/libtermcap && \
27991 $(MAKE) $(FLAGS_TO_PASS) install)
27993 @endif libtermcap
27995 # Other targets (info, dvi, etc.)
27997 .PHONY: maybe-info-libtermcap info-libtermcap
27998 maybe-info-libtermcap:
27999 @if libtermcap
28000 maybe-info-libtermcap: info-libtermcap
28002 info-libtermcap: \
28003 configure-libtermcap
28004 @$(unstage)
28005 @[ -f ./libtermcap/Makefile ] || exit 0; \
28006 r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 $(HOST_EXPORTS) \
28009 for flag in $(EXTRA_HOST_FLAGS) ; do \
28010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28011 done; \
28012 echo "Doing info in libtermcap" ; \
28013 (cd $(HOST_SUBDIR)/libtermcap && \
28014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28016 "RANLIB=$${RANLIB}" \
28017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28018 info) \
28019 || exit 1
28021 @endif libtermcap
28023 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28024 maybe-dvi-libtermcap:
28025 @if libtermcap
28026 maybe-dvi-libtermcap: dvi-libtermcap
28028 dvi-libtermcap: \
28029 configure-libtermcap
28030 @$(unstage)
28031 @[ -f ./libtermcap/Makefile ] || exit 0; \
28032 r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 $(HOST_EXPORTS) \
28035 for flag in $(EXTRA_HOST_FLAGS) ; do \
28036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28037 done; \
28038 echo "Doing dvi in libtermcap" ; \
28039 (cd $(HOST_SUBDIR)/libtermcap && \
28040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28042 "RANLIB=$${RANLIB}" \
28043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28044 dvi) \
28045 || exit 1
28047 @endif libtermcap
28049 .PHONY: maybe-html-libtermcap html-libtermcap
28050 maybe-html-libtermcap:
28051 @if libtermcap
28052 maybe-html-libtermcap: html-libtermcap
28054 html-libtermcap: \
28055 configure-libtermcap
28056 @$(unstage)
28057 @[ -f ./libtermcap/Makefile ] || exit 0; \
28058 r=`${PWD_COMMAND}`; export r; \
28059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28060 $(HOST_EXPORTS) \
28061 for flag in $(EXTRA_HOST_FLAGS) ; do \
28062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28063 done; \
28064 echo "Doing html in libtermcap" ; \
28065 (cd $(HOST_SUBDIR)/libtermcap && \
28066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28068 "RANLIB=$${RANLIB}" \
28069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28070 html) \
28071 || exit 1
28073 @endif libtermcap
28075 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28076 maybe-TAGS-libtermcap:
28077 @if libtermcap
28078 maybe-TAGS-libtermcap: TAGS-libtermcap
28080 TAGS-libtermcap: \
28081 configure-libtermcap
28082 @$(unstage)
28083 @[ -f ./libtermcap/Makefile ] || exit 0; \
28084 r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 $(HOST_EXPORTS) \
28087 for flag in $(EXTRA_HOST_FLAGS) ; do \
28088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28089 done; \
28090 echo "Doing TAGS in libtermcap" ; \
28091 (cd $(HOST_SUBDIR)/libtermcap && \
28092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28094 "RANLIB=$${RANLIB}" \
28095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28096 TAGS) \
28097 || exit 1
28099 @endif libtermcap
28101 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28102 maybe-install-info-libtermcap:
28103 @if libtermcap
28104 maybe-install-info-libtermcap: install-info-libtermcap
28106 install-info-libtermcap: \
28107 configure-libtermcap \
28108 info-libtermcap
28109 @$(unstage)
28110 @[ -f ./libtermcap/Makefile ] || exit 0; \
28111 r=`${PWD_COMMAND}`; export r; \
28112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28113 $(HOST_EXPORTS) \
28114 for flag in $(EXTRA_HOST_FLAGS) ; do \
28115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28116 done; \
28117 echo "Doing install-info in libtermcap" ; \
28118 (cd $(HOST_SUBDIR)/libtermcap && \
28119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28121 "RANLIB=$${RANLIB}" \
28122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28123 install-info) \
28124 || exit 1
28126 @endif libtermcap
28128 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28129 maybe-installcheck-libtermcap:
28130 @if libtermcap
28131 maybe-installcheck-libtermcap: installcheck-libtermcap
28133 installcheck-libtermcap: \
28134 configure-libtermcap
28135 @$(unstage)
28136 @[ -f ./libtermcap/Makefile ] || exit 0; \
28137 r=`${PWD_COMMAND}`; export r; \
28138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28139 $(HOST_EXPORTS) \
28140 for flag in $(EXTRA_HOST_FLAGS) ; do \
28141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28142 done; \
28143 echo "Doing installcheck in libtermcap" ; \
28144 (cd $(HOST_SUBDIR)/libtermcap && \
28145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28147 "RANLIB=$${RANLIB}" \
28148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28149 installcheck) \
28150 || exit 1
28152 @endif libtermcap
28154 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28155 maybe-mostlyclean-libtermcap:
28156 @if libtermcap
28157 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28159 # libtermcap doesn't support mostlyclean.
28160 mostlyclean-libtermcap:
28162 @endif libtermcap
28164 .PHONY: maybe-clean-libtermcap clean-libtermcap
28165 maybe-clean-libtermcap:
28166 @if libtermcap
28167 maybe-clean-libtermcap: clean-libtermcap
28169 # libtermcap doesn't support clean.
28170 clean-libtermcap:
28172 @endif libtermcap
28174 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28175 maybe-distclean-libtermcap:
28176 @if libtermcap
28177 maybe-distclean-libtermcap: distclean-libtermcap
28179 # libtermcap doesn't support distclean.
28180 distclean-libtermcap:
28182 @endif libtermcap
28184 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28185 maybe-maintainer-clean-libtermcap:
28186 @if libtermcap
28187 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28189 # libtermcap doesn't support maintainer-clean.
28190 maintainer-clean-libtermcap:
28192 @endif libtermcap
28196 .PHONY: configure-utils maybe-configure-utils
28197 maybe-configure-utils:
28198 @if utils
28199 maybe-configure-utils: configure-utils
28200 configure-utils:
28201 @$(unstage)
28202 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28204 r=`${PWD_COMMAND}`; export r; \
28205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28206 $(HOST_EXPORTS) \
28207 echo Configuring in $(HOST_SUBDIR)/utils; \
28208 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28209 case $(srcdir) in \
28210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28211 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28213 esac; \
28214 srcdiroption="--srcdir=$${topdir}/utils"; \
28215 libsrcdir="$$s/utils"; \
28216 $(SHELL) $${libsrcdir}/configure \
28217 $(HOST_CONFIGARGS) $${srcdiroption} \
28218 || exit 1
28219 @endif utils
28225 .PHONY: all-utils maybe-all-utils
28226 maybe-all-utils:
28227 @if utils
28228 TARGET-utils=all
28229 maybe-all-utils: all-utils
28230 all-utils: configure-utils
28231 @$(unstage)
28232 @r=`${PWD_COMMAND}`; export r; \
28233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28234 $(HOST_EXPORTS) \
28235 (cd $(HOST_SUBDIR)/utils && \
28236 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28237 @endif utils
28242 .PHONY: check-utils maybe-check-utils
28243 maybe-check-utils:
28244 @if utils
28245 maybe-check-utils: check-utils
28247 check-utils:
28249 @endif utils
28251 .PHONY: install-utils maybe-install-utils
28252 maybe-install-utils:
28253 @if utils
28254 maybe-install-utils: install-utils
28256 install-utils: installdirs
28257 @$(unstage)
28258 @r=`${PWD_COMMAND}`; export r; \
28259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28260 $(HOST_EXPORTS) \
28261 (cd $(HOST_SUBDIR)/utils && \
28262 $(MAKE) $(FLAGS_TO_PASS) install)
28264 @endif utils
28266 # Other targets (info, dvi, etc.)
28268 .PHONY: maybe-info-utils info-utils
28269 maybe-info-utils:
28270 @if utils
28271 maybe-info-utils: info-utils
28273 info-utils: \
28274 configure-utils
28275 @$(unstage)
28276 @[ -f ./utils/Makefile ] || exit 0; \
28277 r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 $(HOST_EXPORTS) \
28280 for flag in $(EXTRA_HOST_FLAGS) ; do \
28281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28282 done; \
28283 echo "Doing info in utils" ; \
28284 (cd $(HOST_SUBDIR)/utils && \
28285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28287 "RANLIB=$${RANLIB}" \
28288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28289 info) \
28290 || exit 1
28292 @endif utils
28294 .PHONY: maybe-dvi-utils dvi-utils
28295 maybe-dvi-utils:
28296 @if utils
28297 maybe-dvi-utils: dvi-utils
28299 dvi-utils: \
28300 configure-utils
28301 @$(unstage)
28302 @[ -f ./utils/Makefile ] || exit 0; \
28303 r=`${PWD_COMMAND}`; export r; \
28304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28305 $(HOST_EXPORTS) \
28306 for flag in $(EXTRA_HOST_FLAGS) ; do \
28307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28308 done; \
28309 echo "Doing dvi in utils" ; \
28310 (cd $(HOST_SUBDIR)/utils && \
28311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28313 "RANLIB=$${RANLIB}" \
28314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28315 dvi) \
28316 || exit 1
28318 @endif utils
28320 .PHONY: maybe-html-utils html-utils
28321 maybe-html-utils:
28322 @if utils
28323 maybe-html-utils: html-utils
28325 html-utils: \
28326 configure-utils
28327 @$(unstage)
28328 @[ -f ./utils/Makefile ] || exit 0; \
28329 r=`${PWD_COMMAND}`; export r; \
28330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28331 $(HOST_EXPORTS) \
28332 for flag in $(EXTRA_HOST_FLAGS) ; do \
28333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28334 done; \
28335 echo "Doing html in utils" ; \
28336 (cd $(HOST_SUBDIR)/utils && \
28337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28339 "RANLIB=$${RANLIB}" \
28340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28341 html) \
28342 || exit 1
28344 @endif utils
28346 .PHONY: maybe-TAGS-utils TAGS-utils
28347 maybe-TAGS-utils:
28348 @if utils
28349 maybe-TAGS-utils: TAGS-utils
28351 TAGS-utils: \
28352 configure-utils
28353 @$(unstage)
28354 @[ -f ./utils/Makefile ] || exit 0; \
28355 r=`${PWD_COMMAND}`; export r; \
28356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28357 $(HOST_EXPORTS) \
28358 for flag in $(EXTRA_HOST_FLAGS) ; do \
28359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28360 done; \
28361 echo "Doing TAGS in utils" ; \
28362 (cd $(HOST_SUBDIR)/utils && \
28363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28365 "RANLIB=$${RANLIB}" \
28366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28367 TAGS) \
28368 || exit 1
28370 @endif utils
28372 .PHONY: maybe-install-info-utils install-info-utils
28373 maybe-install-info-utils:
28374 @if utils
28375 maybe-install-info-utils: install-info-utils
28377 install-info-utils: \
28378 configure-utils \
28379 info-utils
28380 @$(unstage)
28381 @[ -f ./utils/Makefile ] || exit 0; \
28382 r=`${PWD_COMMAND}`; export r; \
28383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28384 $(HOST_EXPORTS) \
28385 for flag in $(EXTRA_HOST_FLAGS) ; do \
28386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28387 done; \
28388 echo "Doing install-info in utils" ; \
28389 (cd $(HOST_SUBDIR)/utils && \
28390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28392 "RANLIB=$${RANLIB}" \
28393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28394 install-info) \
28395 || exit 1
28397 @endif utils
28399 .PHONY: maybe-installcheck-utils installcheck-utils
28400 maybe-installcheck-utils:
28401 @if utils
28402 maybe-installcheck-utils: installcheck-utils
28404 installcheck-utils: \
28405 configure-utils
28406 @$(unstage)
28407 @[ -f ./utils/Makefile ] || exit 0; \
28408 r=`${PWD_COMMAND}`; export r; \
28409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28410 $(HOST_EXPORTS) \
28411 for flag in $(EXTRA_HOST_FLAGS) ; do \
28412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28413 done; \
28414 echo "Doing installcheck in utils" ; \
28415 (cd $(HOST_SUBDIR)/utils && \
28416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28418 "RANLIB=$${RANLIB}" \
28419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28420 installcheck) \
28421 || exit 1
28423 @endif utils
28425 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28426 maybe-mostlyclean-utils:
28427 @if utils
28428 maybe-mostlyclean-utils: mostlyclean-utils
28430 mostlyclean-utils:
28431 @$(unstage)
28432 @[ -f ./utils/Makefile ] || exit 0; \
28433 r=`${PWD_COMMAND}`; export r; \
28434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28435 $(HOST_EXPORTS) \
28436 for flag in $(EXTRA_HOST_FLAGS) ; do \
28437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28438 done; \
28439 echo "Doing mostlyclean in utils" ; \
28440 (cd $(HOST_SUBDIR)/utils && \
28441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28443 "RANLIB=$${RANLIB}" \
28444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28445 mostlyclean) \
28446 || exit 1
28448 @endif utils
28450 .PHONY: maybe-clean-utils clean-utils
28451 maybe-clean-utils:
28452 @if utils
28453 maybe-clean-utils: clean-utils
28455 clean-utils:
28456 @$(unstage)
28457 @[ -f ./utils/Makefile ] || exit 0; \
28458 r=`${PWD_COMMAND}`; export r; \
28459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 $(HOST_EXPORTS) \
28461 for flag in $(EXTRA_HOST_FLAGS) ; do \
28462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28463 done; \
28464 echo "Doing clean in utils" ; \
28465 (cd $(HOST_SUBDIR)/utils && \
28466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28468 "RANLIB=$${RANLIB}" \
28469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28470 clean) \
28471 || exit 1
28473 @endif utils
28475 .PHONY: maybe-distclean-utils distclean-utils
28476 maybe-distclean-utils:
28477 @if utils
28478 maybe-distclean-utils: distclean-utils
28480 distclean-utils:
28481 @$(unstage)
28482 @[ -f ./utils/Makefile ] || exit 0; \
28483 r=`${PWD_COMMAND}`; export r; \
28484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28485 $(HOST_EXPORTS) \
28486 for flag in $(EXTRA_HOST_FLAGS) ; do \
28487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28488 done; \
28489 echo "Doing distclean in utils" ; \
28490 (cd $(HOST_SUBDIR)/utils && \
28491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28493 "RANLIB=$${RANLIB}" \
28494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28495 distclean) \
28496 || exit 1
28498 @endif utils
28500 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28501 maybe-maintainer-clean-utils:
28502 @if utils
28503 maybe-maintainer-clean-utils: maintainer-clean-utils
28505 maintainer-clean-utils:
28506 @$(unstage)
28507 @[ -f ./utils/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 maintainer-clean in utils" ; \
28515 (cd $(HOST_SUBDIR)/utils && \
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 maintainer-clean) \
28521 || exit 1
28523 @endif utils
28527 .PHONY: configure-gnattools maybe-configure-gnattools
28528 maybe-configure-gnattools:
28529 @if gnattools
28530 maybe-configure-gnattools: configure-gnattools
28531 configure-gnattools:
28532 @$(unstage)
28533 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28535 r=`${PWD_COMMAND}`; export r; \
28536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28537 $(HOST_EXPORTS) \
28538 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28539 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28540 case $(srcdir) in \
28541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28542 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28544 esac; \
28545 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28546 libsrcdir="$$s/gnattools"; \
28547 $(SHELL) $${libsrcdir}/configure \
28548 $(HOST_CONFIGARGS) $${srcdiroption} \
28549 || exit 1
28550 @endif gnattools
28556 .PHONY: all-gnattools maybe-all-gnattools
28557 maybe-all-gnattools:
28558 @if gnattools
28559 TARGET-gnattools=all
28560 maybe-all-gnattools: all-gnattools
28561 all-gnattools: configure-gnattools
28562 @$(unstage)
28563 @r=`${PWD_COMMAND}`; export r; \
28564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28565 $(HOST_EXPORTS) \
28566 (cd $(HOST_SUBDIR)/gnattools && \
28567 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28568 @endif gnattools
28573 .PHONY: check-gnattools maybe-check-gnattools
28574 maybe-check-gnattools:
28575 @if gnattools
28576 maybe-check-gnattools: check-gnattools
28578 check-gnattools:
28579 @$(unstage)
28580 @r=`${PWD_COMMAND}`; export r; \
28581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28582 $(HOST_EXPORTS) \
28583 (cd $(HOST_SUBDIR)/gnattools && \
28584 $(MAKE) $(FLAGS_TO_PASS) check)
28586 @endif gnattools
28588 .PHONY: install-gnattools maybe-install-gnattools
28589 maybe-install-gnattools:
28590 @if gnattools
28591 maybe-install-gnattools: install-gnattools
28593 install-gnattools: installdirs
28594 @$(unstage)
28595 @r=`${PWD_COMMAND}`; export r; \
28596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28597 $(HOST_EXPORTS) \
28598 (cd $(HOST_SUBDIR)/gnattools && \
28599 $(MAKE) $(FLAGS_TO_PASS) install)
28601 @endif gnattools
28603 # Other targets (info, dvi, etc.)
28605 .PHONY: maybe-info-gnattools info-gnattools
28606 maybe-info-gnattools:
28607 @if gnattools
28608 maybe-info-gnattools: info-gnattools
28610 info-gnattools: \
28611 configure-gnattools
28612 @$(unstage)
28613 @[ -f ./gnattools/Makefile ] || exit 0; \
28614 r=`${PWD_COMMAND}`; export r; \
28615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28616 $(HOST_EXPORTS) \
28617 for flag in $(EXTRA_HOST_FLAGS) ; do \
28618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28619 done; \
28620 echo "Doing info in gnattools" ; \
28621 (cd $(HOST_SUBDIR)/gnattools && \
28622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28624 "RANLIB=$${RANLIB}" \
28625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28626 info) \
28627 || exit 1
28629 @endif gnattools
28631 .PHONY: maybe-dvi-gnattools dvi-gnattools
28632 maybe-dvi-gnattools:
28633 @if gnattools
28634 maybe-dvi-gnattools: dvi-gnattools
28636 dvi-gnattools: \
28637 configure-gnattools
28638 @$(unstage)
28639 @[ -f ./gnattools/Makefile ] || exit 0; \
28640 r=`${PWD_COMMAND}`; export r; \
28641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28642 $(HOST_EXPORTS) \
28643 for flag in $(EXTRA_HOST_FLAGS) ; do \
28644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28645 done; \
28646 echo "Doing dvi in gnattools" ; \
28647 (cd $(HOST_SUBDIR)/gnattools && \
28648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28650 "RANLIB=$${RANLIB}" \
28651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28652 dvi) \
28653 || exit 1
28655 @endif gnattools
28657 .PHONY: maybe-html-gnattools html-gnattools
28658 maybe-html-gnattools:
28659 @if gnattools
28660 maybe-html-gnattools: html-gnattools
28662 html-gnattools: \
28663 configure-gnattools
28664 @$(unstage)
28665 @[ -f ./gnattools/Makefile ] || exit 0; \
28666 r=`${PWD_COMMAND}`; export r; \
28667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28668 $(HOST_EXPORTS) \
28669 for flag in $(EXTRA_HOST_FLAGS) ; do \
28670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28671 done; \
28672 echo "Doing html in gnattools" ; \
28673 (cd $(HOST_SUBDIR)/gnattools && \
28674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28676 "RANLIB=$${RANLIB}" \
28677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28678 html) \
28679 || exit 1
28681 @endif gnattools
28683 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28684 maybe-TAGS-gnattools:
28685 @if gnattools
28686 maybe-TAGS-gnattools: TAGS-gnattools
28688 TAGS-gnattools: \
28689 configure-gnattools
28690 @$(unstage)
28691 @[ -f ./gnattools/Makefile ] || exit 0; \
28692 r=`${PWD_COMMAND}`; export r; \
28693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28694 $(HOST_EXPORTS) \
28695 for flag in $(EXTRA_HOST_FLAGS) ; do \
28696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28697 done; \
28698 echo "Doing TAGS in gnattools" ; \
28699 (cd $(HOST_SUBDIR)/gnattools && \
28700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28702 "RANLIB=$${RANLIB}" \
28703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28704 TAGS) \
28705 || exit 1
28707 @endif gnattools
28709 .PHONY: maybe-install-info-gnattools install-info-gnattools
28710 maybe-install-info-gnattools:
28711 @if gnattools
28712 maybe-install-info-gnattools: install-info-gnattools
28714 install-info-gnattools: \
28715 configure-gnattools \
28716 info-gnattools
28717 @$(unstage)
28718 @[ -f ./gnattools/Makefile ] || exit 0; \
28719 r=`${PWD_COMMAND}`; export r; \
28720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28721 $(HOST_EXPORTS) \
28722 for flag in $(EXTRA_HOST_FLAGS) ; do \
28723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28724 done; \
28725 echo "Doing install-info in gnattools" ; \
28726 (cd $(HOST_SUBDIR)/gnattools && \
28727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28729 "RANLIB=$${RANLIB}" \
28730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28731 install-info) \
28732 || exit 1
28734 @endif gnattools
28736 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28737 maybe-installcheck-gnattools:
28738 @if gnattools
28739 maybe-installcheck-gnattools: installcheck-gnattools
28741 installcheck-gnattools: \
28742 configure-gnattools
28743 @$(unstage)
28744 @[ -f ./gnattools/Makefile ] || exit 0; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(HOST_EXPORTS) \
28748 for flag in $(EXTRA_HOST_FLAGS) ; do \
28749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28750 done; \
28751 echo "Doing installcheck in gnattools" ; \
28752 (cd $(HOST_SUBDIR)/gnattools && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28757 installcheck) \
28758 || exit 1
28760 @endif gnattools
28762 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28763 maybe-mostlyclean-gnattools:
28764 @if gnattools
28765 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28767 mostlyclean-gnattools:
28768 @$(unstage)
28769 @[ -f ./gnattools/Makefile ] || exit 0; \
28770 r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(HOST_EXPORTS) \
28773 for flag in $(EXTRA_HOST_FLAGS) ; do \
28774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28775 done; \
28776 echo "Doing mostlyclean in gnattools" ; \
28777 (cd $(HOST_SUBDIR)/gnattools && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28782 mostlyclean) \
28783 || exit 1
28785 @endif gnattools
28787 .PHONY: maybe-clean-gnattools clean-gnattools
28788 maybe-clean-gnattools:
28789 @if gnattools
28790 maybe-clean-gnattools: clean-gnattools
28792 clean-gnattools:
28793 @$(unstage)
28794 @[ -f ./gnattools/Makefile ] || exit 0; \
28795 r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28797 $(HOST_EXPORTS) \
28798 for flag in $(EXTRA_HOST_FLAGS) ; do \
28799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28800 done; \
28801 echo "Doing clean in gnattools" ; \
28802 (cd $(HOST_SUBDIR)/gnattools && \
28803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28805 "RANLIB=$${RANLIB}" \
28806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28807 clean) \
28808 || exit 1
28810 @endif gnattools
28812 .PHONY: maybe-distclean-gnattools distclean-gnattools
28813 maybe-distclean-gnattools:
28814 @if gnattools
28815 maybe-distclean-gnattools: distclean-gnattools
28817 distclean-gnattools:
28818 @$(unstage)
28819 @[ -f ./gnattools/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) ; do \
28824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28825 done; \
28826 echo "Doing distclean in gnattools" ; \
28827 (cd $(HOST_SUBDIR)/gnattools && \
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 distclean) \
28833 || exit 1
28835 @endif gnattools
28837 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28838 maybe-maintainer-clean-gnattools:
28839 @if gnattools
28840 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28842 maintainer-clean-gnattools:
28843 @$(unstage)
28844 @[ -f ./gnattools/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) ; do \
28849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28850 done; \
28851 echo "Doing maintainer-clean in gnattools" ; \
28852 (cd $(HOST_SUBDIR)/gnattools && \
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 maintainer-clean) \
28858 || exit 1
28860 @endif gnattools
28864 # ---------------------------------------
28865 # Modules which run on the target machine
28866 # ---------------------------------------
28869 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28870 @if target-libstdc++-v3
28871 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
28872 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28873 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
28874 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28875 @endif target-libstdc++-v3
28879 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28880 maybe-configure-target-libstdc++-v3:
28881 @if target-libstdc++-v3
28882 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28883 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28884 @$(unstage)
28885 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28886 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28887 r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 $(RAW_CXX_TARGET_EXPORTS) \
28890 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28891 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28892 case $(srcdir) in \
28893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28894 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28896 esac; \
28897 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28898 libsrcdir="$$s/libstdc++-v3"; \
28899 rm -f no-such-file || : ; \
28900 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28901 $(TARGET_CONFIGARGS) $${srcdiroption} \
28902 || exit 1
28903 @endif target-libstdc++-v3
28909 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28910 maybe-all-target-libstdc++-v3:
28911 @if target-libstdc++-v3
28912 TARGET-target-libstdc++-v3=all
28913 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28914 all-target-libstdc++-v3: configure-target-libstdc++-v3
28915 @$(unstage)
28916 @r=`${PWD_COMMAND}`; export r; \
28917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28918 $(RAW_CXX_TARGET_EXPORTS) \
28919 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28920 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28921 @endif target-libstdc++-v3
28927 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28928 maybe-check-target-libstdc++-v3:
28929 @if target-libstdc++-v3
28930 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28932 check-target-libstdc++-v3:
28933 @$(unstage)
28934 @r=`${PWD_COMMAND}`; export r; \
28935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28936 $(RAW_CXX_TARGET_EXPORTS) \
28937 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28938 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28940 @endif target-libstdc++-v3
28942 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28943 maybe-install-target-libstdc++-v3:
28944 @if target-libstdc++-v3
28945 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28947 install-target-libstdc++-v3: installdirs
28948 @$(unstage)
28949 @r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(RAW_CXX_TARGET_EXPORTS) \
28952 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28953 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28955 @endif target-libstdc++-v3
28957 # Other targets (info, dvi, etc.)
28959 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28960 maybe-info-target-libstdc++-v3:
28961 @if target-libstdc++-v3
28962 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28964 info-target-libstdc++-v3: \
28965 configure-target-libstdc++-v3
28966 @$(unstage)
28967 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28968 r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(RAW_CXX_TARGET_EXPORTS) \
28971 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28972 for flag in $(EXTRA_TARGET_FLAGS); do \
28973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28974 done; \
28975 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28978 "RANLIB=$${RANLIB}" \
28979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28980 info) \
28981 || exit 1
28983 @endif target-libstdc++-v3
28985 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28986 maybe-dvi-target-libstdc++-v3:
28987 @if target-libstdc++-v3
28988 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28990 dvi-target-libstdc++-v3: \
28991 configure-target-libstdc++-v3
28992 @$(unstage)
28993 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(RAW_CXX_TARGET_EXPORTS) \
28997 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28998 for flag in $(EXTRA_TARGET_FLAGS); do \
28999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29000 done; \
29001 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29006 dvi) \
29007 || exit 1
29009 @endif target-libstdc++-v3
29011 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29012 maybe-html-target-libstdc++-v3:
29013 @if target-libstdc++-v3
29014 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29016 html-target-libstdc++-v3: \
29017 configure-target-libstdc++-v3
29018 @$(unstage)
29019 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29020 r=`${PWD_COMMAND}`; export r; \
29021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29022 $(RAW_CXX_TARGET_EXPORTS) \
29023 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29024 for flag in $(EXTRA_TARGET_FLAGS); do \
29025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29026 done; \
29027 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29030 "RANLIB=$${RANLIB}" \
29031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29032 html) \
29033 || exit 1
29035 @endif target-libstdc++-v3
29037 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29038 maybe-TAGS-target-libstdc++-v3:
29039 @if target-libstdc++-v3
29040 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29042 TAGS-target-libstdc++-v3: \
29043 configure-target-libstdc++-v3
29044 @$(unstage)
29045 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29046 r=`${PWD_COMMAND}`; export r; \
29047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29048 $(RAW_CXX_TARGET_EXPORTS) \
29049 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29050 for flag in $(EXTRA_TARGET_FLAGS); do \
29051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29052 done; \
29053 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29056 "RANLIB=$${RANLIB}" \
29057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29058 TAGS) \
29059 || exit 1
29061 @endif target-libstdc++-v3
29063 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29064 maybe-install-info-target-libstdc++-v3:
29065 @if target-libstdc++-v3
29066 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29068 install-info-target-libstdc++-v3: \
29069 configure-target-libstdc++-v3 \
29070 info-target-libstdc++-v3
29071 @$(unstage)
29072 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29073 r=`${PWD_COMMAND}`; export r; \
29074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29075 $(RAW_CXX_TARGET_EXPORTS) \
29076 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29077 for flag in $(EXTRA_TARGET_FLAGS); do \
29078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29079 done; \
29080 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29083 "RANLIB=$${RANLIB}" \
29084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29085 install-info) \
29086 || exit 1
29088 @endif target-libstdc++-v3
29090 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29091 maybe-installcheck-target-libstdc++-v3:
29092 @if target-libstdc++-v3
29093 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29095 installcheck-target-libstdc++-v3: \
29096 configure-target-libstdc++-v3
29097 @$(unstage)
29098 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29099 r=`${PWD_COMMAND}`; export r; \
29100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29101 $(RAW_CXX_TARGET_EXPORTS) \
29102 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29103 for flag in $(EXTRA_TARGET_FLAGS); do \
29104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29105 done; \
29106 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29109 "RANLIB=$${RANLIB}" \
29110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29111 installcheck) \
29112 || exit 1
29114 @endif target-libstdc++-v3
29116 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29117 maybe-mostlyclean-target-libstdc++-v3:
29118 @if target-libstdc++-v3
29119 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29121 mostlyclean-target-libstdc++-v3:
29122 @$(unstage)
29123 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29124 r=`${PWD_COMMAND}`; export r; \
29125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29126 $(RAW_CXX_TARGET_EXPORTS) \
29127 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29128 for flag in $(EXTRA_TARGET_FLAGS); do \
29129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29130 done; \
29131 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29134 "RANLIB=$${RANLIB}" \
29135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29136 mostlyclean) \
29137 || exit 1
29139 @endif target-libstdc++-v3
29141 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29142 maybe-clean-target-libstdc++-v3:
29143 @if target-libstdc++-v3
29144 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29146 clean-target-libstdc++-v3:
29147 @$(unstage)
29148 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29149 r=`${PWD_COMMAND}`; export r; \
29150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29151 $(RAW_CXX_TARGET_EXPORTS) \
29152 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29153 for flag in $(EXTRA_TARGET_FLAGS); do \
29154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29155 done; \
29156 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29159 "RANLIB=$${RANLIB}" \
29160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29161 clean) \
29162 || exit 1
29164 @endif target-libstdc++-v3
29166 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29167 maybe-distclean-target-libstdc++-v3:
29168 @if target-libstdc++-v3
29169 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29171 distclean-target-libstdc++-v3:
29172 @$(unstage)
29173 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29174 r=`${PWD_COMMAND}`; export r; \
29175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29176 $(RAW_CXX_TARGET_EXPORTS) \
29177 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29178 for flag in $(EXTRA_TARGET_FLAGS); do \
29179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29180 done; \
29181 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29184 "RANLIB=$${RANLIB}" \
29185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29186 distclean) \
29187 || exit 1
29189 @endif target-libstdc++-v3
29191 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29192 maybe-maintainer-clean-target-libstdc++-v3:
29193 @if target-libstdc++-v3
29194 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29196 maintainer-clean-target-libstdc++-v3:
29197 @$(unstage)
29198 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29199 r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 $(RAW_CXX_TARGET_EXPORTS) \
29202 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29203 for flag in $(EXTRA_TARGET_FLAGS); do \
29204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29205 done; \
29206 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29209 "RANLIB=$${RANLIB}" \
29210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29211 maintainer-clean) \
29212 || exit 1
29214 @endif target-libstdc++-v3
29218 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29219 @if target-libmudflap
29220 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
29221 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29222 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
29223 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
29224 @endif target-libmudflap
29228 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29229 maybe-configure-target-libmudflap:
29230 @if target-libmudflap
29231 maybe-configure-target-libmudflap: configure-target-libmudflap
29232 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
29233 @$(unstage)
29234 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29236 r=`${PWD_COMMAND}`; export r; \
29237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29238 $(NORMAL_TARGET_EXPORTS) \
29239 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29240 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29241 case $(srcdir) in \
29242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29243 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29245 esac; \
29246 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29247 libsrcdir="$$s/libmudflap"; \
29248 rm -f no-such-file || : ; \
29249 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29250 $(TARGET_CONFIGARGS) $${srcdiroption} \
29251 || exit 1
29252 @endif target-libmudflap
29258 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29259 maybe-all-target-libmudflap:
29260 @if target-libmudflap
29261 TARGET-target-libmudflap=all
29262 maybe-all-target-libmudflap: all-target-libmudflap
29263 all-target-libmudflap: configure-target-libmudflap
29264 @$(unstage)
29265 @r=`${PWD_COMMAND}`; export r; \
29266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29267 $(NORMAL_TARGET_EXPORTS) \
29268 (cd $(TARGET_SUBDIR)/libmudflap && \
29269 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29270 @endif target-libmudflap
29276 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29277 maybe-check-target-libmudflap:
29278 @if target-libmudflap
29279 maybe-check-target-libmudflap: check-target-libmudflap
29281 check-target-libmudflap:
29282 @$(unstage)
29283 @r=`${PWD_COMMAND}`; export r; \
29284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29285 $(NORMAL_TARGET_EXPORTS) \
29286 (cd $(TARGET_SUBDIR)/libmudflap && \
29287 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29289 @endif target-libmudflap
29291 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29292 maybe-install-target-libmudflap:
29293 @if target-libmudflap
29294 maybe-install-target-libmudflap: install-target-libmudflap
29296 install-target-libmudflap: installdirs
29297 @$(unstage)
29298 @r=`${PWD_COMMAND}`; export r; \
29299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29300 $(NORMAL_TARGET_EXPORTS) \
29301 (cd $(TARGET_SUBDIR)/libmudflap && \
29302 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29304 @endif target-libmudflap
29306 # Other targets (info, dvi, etc.)
29308 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29309 maybe-info-target-libmudflap:
29310 @if target-libmudflap
29311 maybe-info-target-libmudflap: info-target-libmudflap
29313 info-target-libmudflap: \
29314 configure-target-libmudflap
29315 @$(unstage)
29316 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29317 r=`${PWD_COMMAND}`; export r; \
29318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29319 $(NORMAL_TARGET_EXPORTS) \
29320 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29321 for flag in $(EXTRA_TARGET_FLAGS); do \
29322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29323 done; \
29324 (cd $(TARGET_SUBDIR)/libmudflap && \
29325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29327 "RANLIB=$${RANLIB}" \
29328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29329 info) \
29330 || exit 1
29332 @endif target-libmudflap
29334 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29335 maybe-dvi-target-libmudflap:
29336 @if target-libmudflap
29337 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29339 dvi-target-libmudflap: \
29340 configure-target-libmudflap
29341 @$(unstage)
29342 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29343 r=`${PWD_COMMAND}`; export r; \
29344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29345 $(NORMAL_TARGET_EXPORTS) \
29346 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29347 for flag in $(EXTRA_TARGET_FLAGS); do \
29348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29349 done; \
29350 (cd $(TARGET_SUBDIR)/libmudflap && \
29351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29353 "RANLIB=$${RANLIB}" \
29354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29355 dvi) \
29356 || exit 1
29358 @endif target-libmudflap
29360 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29361 maybe-html-target-libmudflap:
29362 @if target-libmudflap
29363 maybe-html-target-libmudflap: html-target-libmudflap
29365 html-target-libmudflap: \
29366 configure-target-libmudflap
29367 @$(unstage)
29368 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29369 r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 $(NORMAL_TARGET_EXPORTS) \
29372 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29373 for flag in $(EXTRA_TARGET_FLAGS); do \
29374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29375 done; \
29376 (cd $(TARGET_SUBDIR)/libmudflap && \
29377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29379 "RANLIB=$${RANLIB}" \
29380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29381 html) \
29382 || exit 1
29384 @endif target-libmudflap
29386 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29387 maybe-TAGS-target-libmudflap:
29388 @if target-libmudflap
29389 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29391 TAGS-target-libmudflap: \
29392 configure-target-libmudflap
29393 @$(unstage)
29394 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29395 r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 $(NORMAL_TARGET_EXPORTS) \
29398 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29399 for flag in $(EXTRA_TARGET_FLAGS); do \
29400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29401 done; \
29402 (cd $(TARGET_SUBDIR)/libmudflap && \
29403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29405 "RANLIB=$${RANLIB}" \
29406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29407 TAGS) \
29408 || exit 1
29410 @endif target-libmudflap
29412 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29413 maybe-install-info-target-libmudflap:
29414 @if target-libmudflap
29415 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29417 install-info-target-libmudflap: \
29418 configure-target-libmudflap \
29419 info-target-libmudflap
29420 @$(unstage)
29421 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29422 r=`${PWD_COMMAND}`; export r; \
29423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29424 $(NORMAL_TARGET_EXPORTS) \
29425 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29426 for flag in $(EXTRA_TARGET_FLAGS); do \
29427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29428 done; \
29429 (cd $(TARGET_SUBDIR)/libmudflap && \
29430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29432 "RANLIB=$${RANLIB}" \
29433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29434 install-info) \
29435 || exit 1
29437 @endif target-libmudflap
29439 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29440 maybe-installcheck-target-libmudflap:
29441 @if target-libmudflap
29442 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29444 installcheck-target-libmudflap: \
29445 configure-target-libmudflap
29446 @$(unstage)
29447 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29448 r=`${PWD_COMMAND}`; export r; \
29449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29450 $(NORMAL_TARGET_EXPORTS) \
29451 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29452 for flag in $(EXTRA_TARGET_FLAGS); do \
29453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29454 done; \
29455 (cd $(TARGET_SUBDIR)/libmudflap && \
29456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29458 "RANLIB=$${RANLIB}" \
29459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29460 installcheck) \
29461 || exit 1
29463 @endif target-libmudflap
29465 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29466 maybe-mostlyclean-target-libmudflap:
29467 @if target-libmudflap
29468 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29470 mostlyclean-target-libmudflap:
29471 @$(unstage)
29472 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29473 r=`${PWD_COMMAND}`; export r; \
29474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29475 $(NORMAL_TARGET_EXPORTS) \
29476 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29477 for flag in $(EXTRA_TARGET_FLAGS); do \
29478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29479 done; \
29480 (cd $(TARGET_SUBDIR)/libmudflap && \
29481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29483 "RANLIB=$${RANLIB}" \
29484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29485 mostlyclean) \
29486 || exit 1
29488 @endif target-libmudflap
29490 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29491 maybe-clean-target-libmudflap:
29492 @if target-libmudflap
29493 maybe-clean-target-libmudflap: clean-target-libmudflap
29495 clean-target-libmudflap:
29496 @$(unstage)
29497 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29498 r=`${PWD_COMMAND}`; export r; \
29499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29500 $(NORMAL_TARGET_EXPORTS) \
29501 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29502 for flag in $(EXTRA_TARGET_FLAGS); do \
29503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29504 done; \
29505 (cd $(TARGET_SUBDIR)/libmudflap && \
29506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29508 "RANLIB=$${RANLIB}" \
29509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29510 clean) \
29511 || exit 1
29513 @endif target-libmudflap
29515 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29516 maybe-distclean-target-libmudflap:
29517 @if target-libmudflap
29518 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29520 distclean-target-libmudflap:
29521 @$(unstage)
29522 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29523 r=`${PWD_COMMAND}`; export r; \
29524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29525 $(NORMAL_TARGET_EXPORTS) \
29526 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29527 for flag in $(EXTRA_TARGET_FLAGS); do \
29528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29529 done; \
29530 (cd $(TARGET_SUBDIR)/libmudflap && \
29531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29533 "RANLIB=$${RANLIB}" \
29534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29535 distclean) \
29536 || exit 1
29538 @endif target-libmudflap
29540 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29541 maybe-maintainer-clean-target-libmudflap:
29542 @if target-libmudflap
29543 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29545 maintainer-clean-target-libmudflap:
29546 @$(unstage)
29547 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29548 r=`${PWD_COMMAND}`; export r; \
29549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29550 $(NORMAL_TARGET_EXPORTS) \
29551 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29552 for flag in $(EXTRA_TARGET_FLAGS); do \
29553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29554 done; \
29555 (cd $(TARGET_SUBDIR)/libmudflap && \
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 maintainer-clean) \
29561 || exit 1
29563 @endif target-libmudflap
29567 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29568 @if target-libssp
29569 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
29570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29571 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
29572 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
29573 @endif target-libssp
29577 .PHONY: configure-target-libssp maybe-configure-target-libssp
29578 maybe-configure-target-libssp:
29579 @if target-libssp
29580 maybe-configure-target-libssp: configure-target-libssp
29581 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
29582 @$(unstage)
29583 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29584 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(NORMAL_TARGET_EXPORTS) \
29588 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29589 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29590 case $(srcdir) in \
29591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29592 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29594 esac; \
29595 srcdiroption="--srcdir=$${topdir}/libssp"; \
29596 libsrcdir="$$s/libssp"; \
29597 rm -f no-such-file || : ; \
29598 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29599 $(TARGET_CONFIGARGS) $${srcdiroption} \
29600 || exit 1
29601 @endif target-libssp
29607 .PHONY: all-target-libssp maybe-all-target-libssp
29608 maybe-all-target-libssp:
29609 @if target-libssp
29610 TARGET-target-libssp=all
29611 maybe-all-target-libssp: all-target-libssp
29612 all-target-libssp: configure-target-libssp
29613 @$(unstage)
29614 @r=`${PWD_COMMAND}`; export r; \
29615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29616 $(NORMAL_TARGET_EXPORTS) \
29617 (cd $(TARGET_SUBDIR)/libssp && \
29618 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29619 @endif target-libssp
29625 .PHONY: check-target-libssp maybe-check-target-libssp
29626 maybe-check-target-libssp:
29627 @if target-libssp
29628 maybe-check-target-libssp: check-target-libssp
29630 check-target-libssp:
29631 @$(unstage)
29632 @r=`${PWD_COMMAND}`; export r; \
29633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29634 $(NORMAL_TARGET_EXPORTS) \
29635 (cd $(TARGET_SUBDIR)/libssp && \
29636 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29638 @endif target-libssp
29640 .PHONY: install-target-libssp maybe-install-target-libssp
29641 maybe-install-target-libssp:
29642 @if target-libssp
29643 maybe-install-target-libssp: install-target-libssp
29645 install-target-libssp: installdirs
29646 @$(unstage)
29647 @r=`${PWD_COMMAND}`; export r; \
29648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29649 $(NORMAL_TARGET_EXPORTS) \
29650 (cd $(TARGET_SUBDIR)/libssp && \
29651 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29653 @endif target-libssp
29655 # Other targets (info, dvi, etc.)
29657 .PHONY: maybe-info-target-libssp info-target-libssp
29658 maybe-info-target-libssp:
29659 @if target-libssp
29660 maybe-info-target-libssp: info-target-libssp
29662 info-target-libssp: \
29663 configure-target-libssp
29664 @$(unstage)
29665 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29666 r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(NORMAL_TARGET_EXPORTS) \
29669 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29670 for flag in $(EXTRA_TARGET_FLAGS); do \
29671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29672 done; \
29673 (cd $(TARGET_SUBDIR)/libssp && \
29674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29676 "RANLIB=$${RANLIB}" \
29677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29678 info) \
29679 || exit 1
29681 @endif target-libssp
29683 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29684 maybe-dvi-target-libssp:
29685 @if target-libssp
29686 maybe-dvi-target-libssp: dvi-target-libssp
29688 dvi-target-libssp: \
29689 configure-target-libssp
29690 @$(unstage)
29691 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29692 r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 $(NORMAL_TARGET_EXPORTS) \
29695 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29696 for flag in $(EXTRA_TARGET_FLAGS); do \
29697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29698 done; \
29699 (cd $(TARGET_SUBDIR)/libssp && \
29700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29702 "RANLIB=$${RANLIB}" \
29703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29704 dvi) \
29705 || exit 1
29707 @endif target-libssp
29709 .PHONY: maybe-html-target-libssp html-target-libssp
29710 maybe-html-target-libssp:
29711 @if target-libssp
29712 maybe-html-target-libssp: html-target-libssp
29714 html-target-libssp: \
29715 configure-target-libssp
29716 @$(unstage)
29717 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(NORMAL_TARGET_EXPORTS) \
29721 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29722 for flag in $(EXTRA_TARGET_FLAGS); do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 (cd $(TARGET_SUBDIR)/libssp && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29730 html) \
29731 || exit 1
29733 @endif target-libssp
29735 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29736 maybe-TAGS-target-libssp:
29737 @if target-libssp
29738 maybe-TAGS-target-libssp: TAGS-target-libssp
29740 TAGS-target-libssp: \
29741 configure-target-libssp
29742 @$(unstage)
29743 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(NORMAL_TARGET_EXPORTS) \
29747 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29748 for flag in $(EXTRA_TARGET_FLAGS); do \
29749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29750 done; \
29751 (cd $(TARGET_SUBDIR)/libssp && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29756 TAGS) \
29757 || exit 1
29759 @endif target-libssp
29761 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29762 maybe-install-info-target-libssp:
29763 @if target-libssp
29764 maybe-install-info-target-libssp: install-info-target-libssp
29766 install-info-target-libssp: \
29767 configure-target-libssp \
29768 info-target-libssp
29769 @$(unstage)
29770 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29773 $(NORMAL_TARGET_EXPORTS) \
29774 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29775 for flag in $(EXTRA_TARGET_FLAGS); do \
29776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29777 done; \
29778 (cd $(TARGET_SUBDIR)/libssp && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29783 install-info) \
29784 || exit 1
29786 @endif target-libssp
29788 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29789 maybe-installcheck-target-libssp:
29790 @if target-libssp
29791 maybe-installcheck-target-libssp: installcheck-target-libssp
29793 installcheck-target-libssp: \
29794 configure-target-libssp
29795 @$(unstage)
29796 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(NORMAL_TARGET_EXPORTS) \
29800 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29801 for flag in $(EXTRA_TARGET_FLAGS); do \
29802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29803 done; \
29804 (cd $(TARGET_SUBDIR)/libssp && \
29805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29807 "RANLIB=$${RANLIB}" \
29808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29809 installcheck) \
29810 || exit 1
29812 @endif target-libssp
29814 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29815 maybe-mostlyclean-target-libssp:
29816 @if target-libssp
29817 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29819 mostlyclean-target-libssp:
29820 @$(unstage)
29821 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(NORMAL_TARGET_EXPORTS) \
29825 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29826 for flag in $(EXTRA_TARGET_FLAGS); do \
29827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29828 done; \
29829 (cd $(TARGET_SUBDIR)/libssp && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29834 mostlyclean) \
29835 || exit 1
29837 @endif target-libssp
29839 .PHONY: maybe-clean-target-libssp clean-target-libssp
29840 maybe-clean-target-libssp:
29841 @if target-libssp
29842 maybe-clean-target-libssp: clean-target-libssp
29844 clean-target-libssp:
29845 @$(unstage)
29846 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29847 r=`${PWD_COMMAND}`; export r; \
29848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29849 $(NORMAL_TARGET_EXPORTS) \
29850 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29851 for flag in $(EXTRA_TARGET_FLAGS); do \
29852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29853 done; \
29854 (cd $(TARGET_SUBDIR)/libssp && \
29855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29857 "RANLIB=$${RANLIB}" \
29858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29859 clean) \
29860 || exit 1
29862 @endif target-libssp
29864 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29865 maybe-distclean-target-libssp:
29866 @if target-libssp
29867 maybe-distclean-target-libssp: distclean-target-libssp
29869 distclean-target-libssp:
29870 @$(unstage)
29871 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29872 r=`${PWD_COMMAND}`; export r; \
29873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29874 $(NORMAL_TARGET_EXPORTS) \
29875 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29876 for flag in $(EXTRA_TARGET_FLAGS); do \
29877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29878 done; \
29879 (cd $(TARGET_SUBDIR)/libssp && \
29880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29882 "RANLIB=$${RANLIB}" \
29883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29884 distclean) \
29885 || exit 1
29887 @endif target-libssp
29889 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29890 maybe-maintainer-clean-target-libssp:
29891 @if target-libssp
29892 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29894 maintainer-clean-target-libssp:
29895 @$(unstage)
29896 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29897 r=`${PWD_COMMAND}`; export r; \
29898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29899 $(NORMAL_TARGET_EXPORTS) \
29900 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29901 for flag in $(EXTRA_TARGET_FLAGS); do \
29902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29903 done; \
29904 (cd $(TARGET_SUBDIR)/libssp && \
29905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29907 "RANLIB=$${RANLIB}" \
29908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29909 maintainer-clean) \
29910 || exit 1
29912 @endif target-libssp
29916 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29917 @if target-newlib
29918 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
29919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29920 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
29921 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
29922 @endif target-newlib
29926 .PHONY: configure-target-newlib maybe-configure-target-newlib
29927 maybe-configure-target-newlib:
29928 @if target-newlib
29929 maybe-configure-target-newlib: configure-target-newlib
29930 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
29931 @$(unstage)
29932 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29934 r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 $(NORMAL_TARGET_EXPORTS) \
29937 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29938 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29939 case $(srcdir) in \
29940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29941 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29943 esac; \
29944 srcdiroption="--srcdir=$${topdir}/newlib"; \
29945 libsrcdir="$$s/newlib"; \
29946 rm -f no-such-file || : ; \
29947 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29948 $(TARGET_CONFIGARGS) $${srcdiroption} \
29949 || exit 1
29950 @endif target-newlib
29956 .PHONY: all-target-newlib maybe-all-target-newlib
29957 maybe-all-target-newlib:
29958 @if target-newlib
29959 TARGET-target-newlib=all
29960 maybe-all-target-newlib: all-target-newlib
29961 all-target-newlib: configure-target-newlib
29962 @$(unstage)
29963 @r=`${PWD_COMMAND}`; export r; \
29964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29965 $(NORMAL_TARGET_EXPORTS) \
29966 (cd $(TARGET_SUBDIR)/newlib && \
29967 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29968 @endif target-newlib
29974 .PHONY: check-target-newlib maybe-check-target-newlib
29975 maybe-check-target-newlib:
29976 @if target-newlib
29977 maybe-check-target-newlib: check-target-newlib
29979 check-target-newlib:
29980 @$(unstage)
29981 @r=`${PWD_COMMAND}`; export r; \
29982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29983 $(NORMAL_TARGET_EXPORTS) \
29984 (cd $(TARGET_SUBDIR)/newlib && \
29985 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29987 @endif target-newlib
29989 .PHONY: install-target-newlib maybe-install-target-newlib
29990 maybe-install-target-newlib:
29991 @if target-newlib
29992 maybe-install-target-newlib: install-target-newlib
29994 install-target-newlib: installdirs
29995 @$(unstage)
29996 @r=`${PWD_COMMAND}`; export r; \
29997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29998 $(NORMAL_TARGET_EXPORTS) \
29999 (cd $(TARGET_SUBDIR)/newlib && \
30000 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30002 @endif target-newlib
30004 # Other targets (info, dvi, etc.)
30006 .PHONY: maybe-info-target-newlib info-target-newlib
30007 maybe-info-target-newlib:
30008 @if target-newlib
30009 maybe-info-target-newlib: info-target-newlib
30011 info-target-newlib: \
30012 configure-target-newlib
30013 @$(unstage)
30014 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30015 r=`${PWD_COMMAND}`; export r; \
30016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30017 $(NORMAL_TARGET_EXPORTS) \
30018 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30019 for flag in $(EXTRA_TARGET_FLAGS); do \
30020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30021 done; \
30022 (cd $(TARGET_SUBDIR)/newlib && \
30023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30025 "RANLIB=$${RANLIB}" \
30026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30027 info) \
30028 || exit 1
30030 @endif target-newlib
30032 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30033 maybe-dvi-target-newlib:
30034 @if target-newlib
30035 maybe-dvi-target-newlib: dvi-target-newlib
30037 dvi-target-newlib: \
30038 configure-target-newlib
30039 @$(unstage)
30040 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30041 r=`${PWD_COMMAND}`; export r; \
30042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30043 $(NORMAL_TARGET_EXPORTS) \
30044 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30045 for flag in $(EXTRA_TARGET_FLAGS); do \
30046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30047 done; \
30048 (cd $(TARGET_SUBDIR)/newlib && \
30049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30051 "RANLIB=$${RANLIB}" \
30052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30053 dvi) \
30054 || exit 1
30056 @endif target-newlib
30058 .PHONY: maybe-html-target-newlib html-target-newlib
30059 maybe-html-target-newlib:
30060 @if target-newlib
30061 maybe-html-target-newlib: html-target-newlib
30063 html-target-newlib: \
30064 configure-target-newlib
30065 @$(unstage)
30066 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30067 r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(NORMAL_TARGET_EXPORTS) \
30070 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30071 for flag in $(EXTRA_TARGET_FLAGS); do \
30072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30073 done; \
30074 (cd $(TARGET_SUBDIR)/newlib && \
30075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30077 "RANLIB=$${RANLIB}" \
30078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30079 html) \
30080 || exit 1
30082 @endif target-newlib
30084 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30085 maybe-TAGS-target-newlib:
30086 @if target-newlib
30087 maybe-TAGS-target-newlib: TAGS-target-newlib
30089 TAGS-target-newlib: \
30090 configure-target-newlib
30091 @$(unstage)
30092 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30093 r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(NORMAL_TARGET_EXPORTS) \
30096 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30097 for flag in $(EXTRA_TARGET_FLAGS); do \
30098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30099 done; \
30100 (cd $(TARGET_SUBDIR)/newlib && \
30101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30103 "RANLIB=$${RANLIB}" \
30104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30105 TAGS) \
30106 || exit 1
30108 @endif target-newlib
30110 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30111 maybe-install-info-target-newlib:
30112 @if target-newlib
30113 maybe-install-info-target-newlib: install-info-target-newlib
30115 install-info-target-newlib: \
30116 configure-target-newlib \
30117 info-target-newlib
30118 @$(unstage)
30119 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30120 r=`${PWD_COMMAND}`; export r; \
30121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30122 $(NORMAL_TARGET_EXPORTS) \
30123 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30124 for flag in $(EXTRA_TARGET_FLAGS); do \
30125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30126 done; \
30127 (cd $(TARGET_SUBDIR)/newlib && \
30128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30130 "RANLIB=$${RANLIB}" \
30131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30132 install-info) \
30133 || exit 1
30135 @endif target-newlib
30137 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30138 maybe-installcheck-target-newlib:
30139 @if target-newlib
30140 maybe-installcheck-target-newlib: installcheck-target-newlib
30142 installcheck-target-newlib: \
30143 configure-target-newlib
30144 @$(unstage)
30145 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30146 r=`${PWD_COMMAND}`; export r; \
30147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30148 $(NORMAL_TARGET_EXPORTS) \
30149 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30150 for flag in $(EXTRA_TARGET_FLAGS); do \
30151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30152 done; \
30153 (cd $(TARGET_SUBDIR)/newlib && \
30154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30156 "RANLIB=$${RANLIB}" \
30157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30158 installcheck) \
30159 || exit 1
30161 @endif target-newlib
30163 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30164 maybe-mostlyclean-target-newlib:
30165 @if target-newlib
30166 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30168 mostlyclean-target-newlib:
30169 @$(unstage)
30170 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30171 r=`${PWD_COMMAND}`; export r; \
30172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30173 $(NORMAL_TARGET_EXPORTS) \
30174 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30175 for flag in $(EXTRA_TARGET_FLAGS); do \
30176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30177 done; \
30178 (cd $(TARGET_SUBDIR)/newlib && \
30179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30181 "RANLIB=$${RANLIB}" \
30182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30183 mostlyclean) \
30184 || exit 1
30186 @endif target-newlib
30188 .PHONY: maybe-clean-target-newlib clean-target-newlib
30189 maybe-clean-target-newlib:
30190 @if target-newlib
30191 maybe-clean-target-newlib: clean-target-newlib
30193 clean-target-newlib:
30194 @$(unstage)
30195 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30196 r=`${PWD_COMMAND}`; export r; \
30197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30198 $(NORMAL_TARGET_EXPORTS) \
30199 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30200 for flag in $(EXTRA_TARGET_FLAGS); do \
30201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30202 done; \
30203 (cd $(TARGET_SUBDIR)/newlib && \
30204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30206 "RANLIB=$${RANLIB}" \
30207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30208 clean) \
30209 || exit 1
30211 @endif target-newlib
30213 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30214 maybe-distclean-target-newlib:
30215 @if target-newlib
30216 maybe-distclean-target-newlib: distclean-target-newlib
30218 distclean-target-newlib:
30219 @$(unstage)
30220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30221 r=`${PWD_COMMAND}`; export r; \
30222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30223 $(NORMAL_TARGET_EXPORTS) \
30224 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30225 for flag in $(EXTRA_TARGET_FLAGS); do \
30226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30227 done; \
30228 (cd $(TARGET_SUBDIR)/newlib && \
30229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30231 "RANLIB=$${RANLIB}" \
30232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30233 distclean) \
30234 || exit 1
30236 @endif target-newlib
30238 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30239 maybe-maintainer-clean-target-newlib:
30240 @if target-newlib
30241 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30243 maintainer-clean-target-newlib:
30244 @$(unstage)
30245 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30246 r=`${PWD_COMMAND}`; export r; \
30247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30248 $(NORMAL_TARGET_EXPORTS) \
30249 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30250 for flag in $(EXTRA_TARGET_FLAGS); do \
30251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30252 done; \
30253 (cd $(TARGET_SUBDIR)/newlib && \
30254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30256 "RANLIB=$${RANLIB}" \
30257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30258 maintainer-clean) \
30259 || exit 1
30261 @endif target-newlib
30265 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30266 @if target-libgfortran
30267 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
30268 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30269 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
30270 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
30271 @endif target-libgfortran
30275 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30276 maybe-configure-target-libgfortran:
30277 @if target-libgfortran
30278 maybe-configure-target-libgfortran: configure-target-libgfortran
30279 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
30280 @$(unstage)
30281 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30283 r=`${PWD_COMMAND}`; export r; \
30284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30285 $(NORMAL_TARGET_EXPORTS) \
30286 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30287 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30288 case $(srcdir) in \
30289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30290 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30292 esac; \
30293 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30294 libsrcdir="$$s/libgfortran"; \
30295 rm -f no-such-file || : ; \
30296 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30297 $(TARGET_CONFIGARGS) $${srcdiroption} \
30298 || exit 1
30299 @endif target-libgfortran
30305 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30306 maybe-all-target-libgfortran:
30307 @if target-libgfortran
30308 TARGET-target-libgfortran=all
30309 maybe-all-target-libgfortran: all-target-libgfortran
30310 all-target-libgfortran: configure-target-libgfortran
30311 @$(unstage)
30312 @r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 $(NORMAL_TARGET_EXPORTS) \
30315 (cd $(TARGET_SUBDIR)/libgfortran && \
30316 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30317 @endif target-libgfortran
30323 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30324 maybe-check-target-libgfortran:
30325 @if target-libgfortran
30326 maybe-check-target-libgfortran: check-target-libgfortran
30328 check-target-libgfortran:
30329 @$(unstage)
30330 @r=`${PWD_COMMAND}`; export r; \
30331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30332 $(NORMAL_TARGET_EXPORTS) \
30333 (cd $(TARGET_SUBDIR)/libgfortran && \
30334 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30336 @endif target-libgfortran
30338 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30339 maybe-install-target-libgfortran:
30340 @if target-libgfortran
30341 maybe-install-target-libgfortran: install-target-libgfortran
30343 install-target-libgfortran: installdirs
30344 @$(unstage)
30345 @r=`${PWD_COMMAND}`; export r; \
30346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30347 $(NORMAL_TARGET_EXPORTS) \
30348 (cd $(TARGET_SUBDIR)/libgfortran && \
30349 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30351 @endif target-libgfortran
30353 # Other targets (info, dvi, etc.)
30355 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30356 maybe-info-target-libgfortran:
30357 @if target-libgfortran
30358 maybe-info-target-libgfortran: info-target-libgfortran
30360 info-target-libgfortran: \
30361 configure-target-libgfortran
30362 @$(unstage)
30363 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30364 r=`${PWD_COMMAND}`; export r; \
30365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30366 $(NORMAL_TARGET_EXPORTS) \
30367 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30368 for flag in $(EXTRA_TARGET_FLAGS); do \
30369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30370 done; \
30371 (cd $(TARGET_SUBDIR)/libgfortran && \
30372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30374 "RANLIB=$${RANLIB}" \
30375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30376 info) \
30377 || exit 1
30379 @endif target-libgfortran
30381 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30382 maybe-dvi-target-libgfortran:
30383 @if target-libgfortran
30384 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30386 dvi-target-libgfortran: \
30387 configure-target-libgfortran
30388 @$(unstage)
30389 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30390 r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(NORMAL_TARGET_EXPORTS) \
30393 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30394 for flag in $(EXTRA_TARGET_FLAGS); do \
30395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30396 done; \
30397 (cd $(TARGET_SUBDIR)/libgfortran && \
30398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30400 "RANLIB=$${RANLIB}" \
30401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30402 dvi) \
30403 || exit 1
30405 @endif target-libgfortran
30407 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30408 maybe-html-target-libgfortran:
30409 @if target-libgfortran
30410 maybe-html-target-libgfortran: html-target-libgfortran
30412 html-target-libgfortran: \
30413 configure-target-libgfortran
30414 @$(unstage)
30415 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30416 r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30418 $(NORMAL_TARGET_EXPORTS) \
30419 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30420 for flag in $(EXTRA_TARGET_FLAGS); do \
30421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30422 done; \
30423 (cd $(TARGET_SUBDIR)/libgfortran && \
30424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30426 "RANLIB=$${RANLIB}" \
30427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30428 html) \
30429 || exit 1
30431 @endif target-libgfortran
30433 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30434 maybe-TAGS-target-libgfortran:
30435 @if target-libgfortran
30436 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30438 TAGS-target-libgfortran: \
30439 configure-target-libgfortran
30440 @$(unstage)
30441 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30442 r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(NORMAL_TARGET_EXPORTS) \
30445 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30446 for flag in $(EXTRA_TARGET_FLAGS); do \
30447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30448 done; \
30449 (cd $(TARGET_SUBDIR)/libgfortran && \
30450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30452 "RANLIB=$${RANLIB}" \
30453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30454 TAGS) \
30455 || exit 1
30457 @endif target-libgfortran
30459 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30460 maybe-install-info-target-libgfortran:
30461 @if target-libgfortran
30462 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30464 install-info-target-libgfortran: \
30465 configure-target-libgfortran \
30466 info-target-libgfortran
30467 @$(unstage)
30468 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30469 r=`${PWD_COMMAND}`; export r; \
30470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30471 $(NORMAL_TARGET_EXPORTS) \
30472 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30473 for flag in $(EXTRA_TARGET_FLAGS); do \
30474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30475 done; \
30476 (cd $(TARGET_SUBDIR)/libgfortran && \
30477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30479 "RANLIB=$${RANLIB}" \
30480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30481 install-info) \
30482 || exit 1
30484 @endif target-libgfortran
30486 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30487 maybe-installcheck-target-libgfortran:
30488 @if target-libgfortran
30489 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30491 installcheck-target-libgfortran: \
30492 configure-target-libgfortran
30493 @$(unstage)
30494 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30495 r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 $(NORMAL_TARGET_EXPORTS) \
30498 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30499 for flag in $(EXTRA_TARGET_FLAGS); do \
30500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30501 done; \
30502 (cd $(TARGET_SUBDIR)/libgfortran && \
30503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30505 "RANLIB=$${RANLIB}" \
30506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30507 installcheck) \
30508 || exit 1
30510 @endif target-libgfortran
30512 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30513 maybe-mostlyclean-target-libgfortran:
30514 @if target-libgfortran
30515 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30517 mostlyclean-target-libgfortran:
30518 @$(unstage)
30519 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30520 r=`${PWD_COMMAND}`; export r; \
30521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30522 $(NORMAL_TARGET_EXPORTS) \
30523 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30524 for flag in $(EXTRA_TARGET_FLAGS); do \
30525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30526 done; \
30527 (cd $(TARGET_SUBDIR)/libgfortran && \
30528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30530 "RANLIB=$${RANLIB}" \
30531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30532 mostlyclean) \
30533 || exit 1
30535 @endif target-libgfortran
30537 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30538 maybe-clean-target-libgfortran:
30539 @if target-libgfortran
30540 maybe-clean-target-libgfortran: clean-target-libgfortran
30542 clean-target-libgfortran:
30543 @$(unstage)
30544 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30545 r=`${PWD_COMMAND}`; export r; \
30546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30547 $(NORMAL_TARGET_EXPORTS) \
30548 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30549 for flag in $(EXTRA_TARGET_FLAGS); do \
30550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30551 done; \
30552 (cd $(TARGET_SUBDIR)/libgfortran && \
30553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30555 "RANLIB=$${RANLIB}" \
30556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30557 clean) \
30558 || exit 1
30560 @endif target-libgfortran
30562 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30563 maybe-distclean-target-libgfortran:
30564 @if target-libgfortran
30565 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30567 distclean-target-libgfortran:
30568 @$(unstage)
30569 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30570 r=`${PWD_COMMAND}`; export r; \
30571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30572 $(NORMAL_TARGET_EXPORTS) \
30573 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30574 for flag in $(EXTRA_TARGET_FLAGS); do \
30575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30576 done; \
30577 (cd $(TARGET_SUBDIR)/libgfortran && \
30578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30580 "RANLIB=$${RANLIB}" \
30581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30582 distclean) \
30583 || exit 1
30585 @endif target-libgfortran
30587 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30588 maybe-maintainer-clean-target-libgfortran:
30589 @if target-libgfortran
30590 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30592 maintainer-clean-target-libgfortran:
30593 @$(unstage)
30594 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30595 r=`${PWD_COMMAND}`; export r; \
30596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30597 $(NORMAL_TARGET_EXPORTS) \
30598 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30599 for flag in $(EXTRA_TARGET_FLAGS); do \
30600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30601 done; \
30602 (cd $(TARGET_SUBDIR)/libgfortran && \
30603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30605 "RANLIB=$${RANLIB}" \
30606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30607 maintainer-clean) \
30608 || exit 1
30610 @endif target-libgfortran
30614 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30615 @if target-libobjc
30616 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
30617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30618 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
30619 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
30620 @endif target-libobjc
30624 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30625 maybe-configure-target-libobjc:
30626 @if target-libobjc
30627 maybe-configure-target-libobjc: configure-target-libobjc
30628 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
30629 @$(unstage)
30630 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30631 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30632 r=`${PWD_COMMAND}`; export r; \
30633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30634 $(NORMAL_TARGET_EXPORTS) \
30635 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30636 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30637 case $(srcdir) in \
30638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30639 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30641 esac; \
30642 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30643 libsrcdir="$$s/libobjc"; \
30644 rm -f no-such-file || : ; \
30645 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30646 $(TARGET_CONFIGARGS) $${srcdiroption} \
30647 || exit 1
30648 @endif target-libobjc
30654 .PHONY: all-target-libobjc maybe-all-target-libobjc
30655 maybe-all-target-libobjc:
30656 @if target-libobjc
30657 TARGET-target-libobjc=all
30658 maybe-all-target-libobjc: all-target-libobjc
30659 all-target-libobjc: configure-target-libobjc
30660 @$(unstage)
30661 @r=`${PWD_COMMAND}`; export r; \
30662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30663 $(NORMAL_TARGET_EXPORTS) \
30664 (cd $(TARGET_SUBDIR)/libobjc && \
30665 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30666 @endif target-libobjc
30672 .PHONY: check-target-libobjc maybe-check-target-libobjc
30673 maybe-check-target-libobjc:
30674 @if target-libobjc
30675 maybe-check-target-libobjc: check-target-libobjc
30677 check-target-libobjc:
30678 @$(unstage)
30679 @r=`${PWD_COMMAND}`; export r; \
30680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30681 $(NORMAL_TARGET_EXPORTS) \
30682 (cd $(TARGET_SUBDIR)/libobjc && \
30683 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30685 @endif target-libobjc
30687 .PHONY: install-target-libobjc maybe-install-target-libobjc
30688 maybe-install-target-libobjc:
30689 @if target-libobjc
30690 maybe-install-target-libobjc: install-target-libobjc
30692 install-target-libobjc: installdirs
30693 @$(unstage)
30694 @r=`${PWD_COMMAND}`; export r; \
30695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30696 $(NORMAL_TARGET_EXPORTS) \
30697 (cd $(TARGET_SUBDIR)/libobjc && \
30698 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30700 @endif target-libobjc
30702 # Other targets (info, dvi, etc.)
30704 .PHONY: maybe-info-target-libobjc info-target-libobjc
30705 maybe-info-target-libobjc:
30706 @if target-libobjc
30707 maybe-info-target-libobjc: info-target-libobjc
30709 info-target-libobjc: \
30710 configure-target-libobjc
30711 @$(unstage)
30712 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30713 r=`${PWD_COMMAND}`; export r; \
30714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30715 $(NORMAL_TARGET_EXPORTS) \
30716 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30717 for flag in $(EXTRA_TARGET_FLAGS); do \
30718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30719 done; \
30720 (cd $(TARGET_SUBDIR)/libobjc && \
30721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30723 "RANLIB=$${RANLIB}" \
30724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30725 info) \
30726 || exit 1
30728 @endif target-libobjc
30730 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30731 maybe-dvi-target-libobjc:
30732 @if target-libobjc
30733 maybe-dvi-target-libobjc: dvi-target-libobjc
30735 dvi-target-libobjc: \
30736 configure-target-libobjc
30737 @$(unstage)
30738 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30739 r=`${PWD_COMMAND}`; export r; \
30740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30741 $(NORMAL_TARGET_EXPORTS) \
30742 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30743 for flag in $(EXTRA_TARGET_FLAGS); do \
30744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30745 done; \
30746 (cd $(TARGET_SUBDIR)/libobjc && \
30747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30749 "RANLIB=$${RANLIB}" \
30750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30751 dvi) \
30752 || exit 1
30754 @endif target-libobjc
30756 .PHONY: maybe-html-target-libobjc html-target-libobjc
30757 maybe-html-target-libobjc:
30758 @if target-libobjc
30759 maybe-html-target-libobjc: html-target-libobjc
30761 html-target-libobjc: \
30762 configure-target-libobjc
30763 @$(unstage)
30764 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30765 r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767 $(NORMAL_TARGET_EXPORTS) \
30768 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30769 for flag in $(EXTRA_TARGET_FLAGS); do \
30770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30771 done; \
30772 (cd $(TARGET_SUBDIR)/libobjc && \
30773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30775 "RANLIB=$${RANLIB}" \
30776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30777 html) \
30778 || exit 1
30780 @endif target-libobjc
30782 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30783 maybe-TAGS-target-libobjc:
30784 @if target-libobjc
30785 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30787 TAGS-target-libobjc: \
30788 configure-target-libobjc
30789 @$(unstage)
30790 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30791 r=`${PWD_COMMAND}`; export r; \
30792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30793 $(NORMAL_TARGET_EXPORTS) \
30794 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30795 for flag in $(EXTRA_TARGET_FLAGS); do \
30796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30797 done; \
30798 (cd $(TARGET_SUBDIR)/libobjc && \
30799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30801 "RANLIB=$${RANLIB}" \
30802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30803 TAGS) \
30804 || exit 1
30806 @endif target-libobjc
30808 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30809 maybe-install-info-target-libobjc:
30810 @if target-libobjc
30811 maybe-install-info-target-libobjc: install-info-target-libobjc
30813 install-info-target-libobjc: \
30814 configure-target-libobjc \
30815 info-target-libobjc
30816 @$(unstage)
30817 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30818 r=`${PWD_COMMAND}`; export r; \
30819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30820 $(NORMAL_TARGET_EXPORTS) \
30821 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30822 for flag in $(EXTRA_TARGET_FLAGS); do \
30823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30824 done; \
30825 (cd $(TARGET_SUBDIR)/libobjc && \
30826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30828 "RANLIB=$${RANLIB}" \
30829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30830 install-info) \
30831 || exit 1
30833 @endif target-libobjc
30835 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30836 maybe-installcheck-target-libobjc:
30837 @if target-libobjc
30838 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30840 installcheck-target-libobjc: \
30841 configure-target-libobjc
30842 @$(unstage)
30843 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30844 r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 $(NORMAL_TARGET_EXPORTS) \
30847 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30848 for flag in $(EXTRA_TARGET_FLAGS); do \
30849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30850 done; \
30851 (cd $(TARGET_SUBDIR)/libobjc && \
30852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30854 "RANLIB=$${RANLIB}" \
30855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30856 installcheck) \
30857 || exit 1
30859 @endif target-libobjc
30861 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30862 maybe-mostlyclean-target-libobjc:
30863 @if target-libobjc
30864 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30866 mostlyclean-target-libobjc:
30867 @$(unstage)
30868 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30869 r=`${PWD_COMMAND}`; export r; \
30870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30871 $(NORMAL_TARGET_EXPORTS) \
30872 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30873 for flag in $(EXTRA_TARGET_FLAGS); do \
30874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30875 done; \
30876 (cd $(TARGET_SUBDIR)/libobjc && \
30877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30879 "RANLIB=$${RANLIB}" \
30880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30881 mostlyclean) \
30882 || exit 1
30884 @endif target-libobjc
30886 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30887 maybe-clean-target-libobjc:
30888 @if target-libobjc
30889 maybe-clean-target-libobjc: clean-target-libobjc
30891 clean-target-libobjc:
30892 @$(unstage)
30893 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30894 r=`${PWD_COMMAND}`; export r; \
30895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30896 $(NORMAL_TARGET_EXPORTS) \
30897 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30898 for flag in $(EXTRA_TARGET_FLAGS); do \
30899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30900 done; \
30901 (cd $(TARGET_SUBDIR)/libobjc && \
30902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30904 "RANLIB=$${RANLIB}" \
30905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30906 clean) \
30907 || exit 1
30909 @endif target-libobjc
30911 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30912 maybe-distclean-target-libobjc:
30913 @if target-libobjc
30914 maybe-distclean-target-libobjc: distclean-target-libobjc
30916 distclean-target-libobjc:
30917 @$(unstage)
30918 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30919 r=`${PWD_COMMAND}`; export r; \
30920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30921 $(NORMAL_TARGET_EXPORTS) \
30922 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30923 for flag in $(EXTRA_TARGET_FLAGS); do \
30924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30925 done; \
30926 (cd $(TARGET_SUBDIR)/libobjc && \
30927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30929 "RANLIB=$${RANLIB}" \
30930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30931 distclean) \
30932 || exit 1
30934 @endif target-libobjc
30936 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30937 maybe-maintainer-clean-target-libobjc:
30938 @if target-libobjc
30939 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30941 maintainer-clean-target-libobjc:
30942 @$(unstage)
30943 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30944 r=`${PWD_COMMAND}`; export r; \
30945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30946 $(NORMAL_TARGET_EXPORTS) \
30947 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30948 for flag in $(EXTRA_TARGET_FLAGS); do \
30949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30950 done; \
30951 (cd $(TARGET_SUBDIR)/libobjc && \
30952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30954 "RANLIB=$${RANLIB}" \
30955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30956 maintainer-clean) \
30957 || exit 1
30959 @endif target-libobjc
30963 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30964 @if target-libtermcap
30965 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
30966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30967 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
30968 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
30969 @endif target-libtermcap
30973 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
30974 maybe-configure-target-libtermcap:
30975 @if target-libtermcap
30976 maybe-configure-target-libtermcap: configure-target-libtermcap
30977 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
30978 @$(unstage)
30979 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
30980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30981 r=`${PWD_COMMAND}`; export r; \
30982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30983 $(NORMAL_TARGET_EXPORTS) \
30984 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
30985 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
30986 case $(srcdir) in \
30987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30988 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
30989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30990 esac; \
30991 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30992 libsrcdir="$$s/libtermcap"; \
30993 rm -f no-such-file || : ; \
30994 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30995 $(TARGET_CONFIGARGS) $${srcdiroption} \
30996 || exit 1
30997 @endif target-libtermcap
31003 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31004 maybe-all-target-libtermcap:
31005 @if target-libtermcap
31006 TARGET-target-libtermcap=all
31007 maybe-all-target-libtermcap: all-target-libtermcap
31008 all-target-libtermcap: configure-target-libtermcap
31009 @$(unstage)
31010 @r=`${PWD_COMMAND}`; export r; \
31011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31012 $(NORMAL_TARGET_EXPORTS) \
31013 (cd $(TARGET_SUBDIR)/libtermcap && \
31014 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31015 @endif target-libtermcap
31021 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31022 maybe-check-target-libtermcap:
31023 @if target-libtermcap
31024 maybe-check-target-libtermcap: check-target-libtermcap
31026 # Dummy target for uncheckable module.
31027 check-target-libtermcap:
31029 @endif target-libtermcap
31031 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31032 maybe-install-target-libtermcap:
31033 @if target-libtermcap
31034 maybe-install-target-libtermcap: install-target-libtermcap
31036 install-target-libtermcap: installdirs
31037 @$(unstage)
31038 @r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(NORMAL_TARGET_EXPORTS) \
31041 (cd $(TARGET_SUBDIR)/libtermcap && \
31042 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31044 @endif target-libtermcap
31046 # Other targets (info, dvi, etc.)
31048 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31049 maybe-info-target-libtermcap:
31050 @if target-libtermcap
31051 maybe-info-target-libtermcap: info-target-libtermcap
31053 info-target-libtermcap: \
31054 configure-target-libtermcap
31055 @$(unstage)
31056 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31057 r=`${PWD_COMMAND}`; export r; \
31058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31059 $(NORMAL_TARGET_EXPORTS) \
31060 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31061 for flag in $(EXTRA_TARGET_FLAGS); do \
31062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31063 done; \
31064 (cd $(TARGET_SUBDIR)/libtermcap && \
31065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31067 "RANLIB=$${RANLIB}" \
31068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31069 info) \
31070 || exit 1
31072 @endif target-libtermcap
31074 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31075 maybe-dvi-target-libtermcap:
31076 @if target-libtermcap
31077 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31079 dvi-target-libtermcap: \
31080 configure-target-libtermcap
31081 @$(unstage)
31082 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31083 r=`${PWD_COMMAND}`; export r; \
31084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31085 $(NORMAL_TARGET_EXPORTS) \
31086 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31087 for flag in $(EXTRA_TARGET_FLAGS); do \
31088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31089 done; \
31090 (cd $(TARGET_SUBDIR)/libtermcap && \
31091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31093 "RANLIB=$${RANLIB}" \
31094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31095 dvi) \
31096 || exit 1
31098 @endif target-libtermcap
31100 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31101 maybe-html-target-libtermcap:
31102 @if target-libtermcap
31103 maybe-html-target-libtermcap: html-target-libtermcap
31105 html-target-libtermcap: \
31106 configure-target-libtermcap
31107 @$(unstage)
31108 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31109 r=`${PWD_COMMAND}`; export r; \
31110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31111 $(NORMAL_TARGET_EXPORTS) \
31112 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31113 for flag in $(EXTRA_TARGET_FLAGS); do \
31114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31115 done; \
31116 (cd $(TARGET_SUBDIR)/libtermcap && \
31117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31119 "RANLIB=$${RANLIB}" \
31120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31121 html) \
31122 || exit 1
31124 @endif target-libtermcap
31126 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31127 maybe-TAGS-target-libtermcap:
31128 @if target-libtermcap
31129 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31131 TAGS-target-libtermcap: \
31132 configure-target-libtermcap
31133 @$(unstage)
31134 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31135 r=`${PWD_COMMAND}`; export r; \
31136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31137 $(NORMAL_TARGET_EXPORTS) \
31138 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31139 for flag in $(EXTRA_TARGET_FLAGS); do \
31140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31141 done; \
31142 (cd $(TARGET_SUBDIR)/libtermcap && \
31143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31145 "RANLIB=$${RANLIB}" \
31146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31147 TAGS) \
31148 || exit 1
31150 @endif target-libtermcap
31152 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31153 maybe-install-info-target-libtermcap:
31154 @if target-libtermcap
31155 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31157 install-info-target-libtermcap: \
31158 configure-target-libtermcap \
31159 info-target-libtermcap
31160 @$(unstage)
31161 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31162 r=`${PWD_COMMAND}`; export r; \
31163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31164 $(NORMAL_TARGET_EXPORTS) \
31165 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31166 for flag in $(EXTRA_TARGET_FLAGS); do \
31167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31168 done; \
31169 (cd $(TARGET_SUBDIR)/libtermcap && \
31170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31172 "RANLIB=$${RANLIB}" \
31173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31174 install-info) \
31175 || exit 1
31177 @endif target-libtermcap
31179 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31180 maybe-installcheck-target-libtermcap:
31181 @if target-libtermcap
31182 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31184 installcheck-target-libtermcap: \
31185 configure-target-libtermcap
31186 @$(unstage)
31187 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31188 r=`${PWD_COMMAND}`; export r; \
31189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31190 $(NORMAL_TARGET_EXPORTS) \
31191 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31192 for flag in $(EXTRA_TARGET_FLAGS); do \
31193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31194 done; \
31195 (cd $(TARGET_SUBDIR)/libtermcap && \
31196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31198 "RANLIB=$${RANLIB}" \
31199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31200 installcheck) \
31201 || exit 1
31203 @endif target-libtermcap
31205 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31206 maybe-mostlyclean-target-libtermcap:
31207 @if target-libtermcap
31208 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31210 # libtermcap doesn't support mostlyclean.
31211 mostlyclean-target-libtermcap:
31213 @endif target-libtermcap
31215 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31216 maybe-clean-target-libtermcap:
31217 @if target-libtermcap
31218 maybe-clean-target-libtermcap: clean-target-libtermcap
31220 # libtermcap doesn't support clean.
31221 clean-target-libtermcap:
31223 @endif target-libtermcap
31225 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31226 maybe-distclean-target-libtermcap:
31227 @if target-libtermcap
31228 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31230 # libtermcap doesn't support distclean.
31231 distclean-target-libtermcap:
31233 @endif target-libtermcap
31235 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31236 maybe-maintainer-clean-target-libtermcap:
31237 @if target-libtermcap
31238 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31240 # libtermcap doesn't support maintainer-clean.
31241 maintainer-clean-target-libtermcap:
31243 @endif target-libtermcap
31247 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31248 @if target-winsup
31249 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
31250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31251 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
31252 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
31253 @endif target-winsup
31257 .PHONY: configure-target-winsup maybe-configure-target-winsup
31258 maybe-configure-target-winsup:
31259 @if target-winsup
31260 maybe-configure-target-winsup: configure-target-winsup
31261 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
31262 @$(unstage)
31263 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31265 r=`${PWD_COMMAND}`; export r; \
31266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31267 $(NORMAL_TARGET_EXPORTS) \
31268 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31269 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31270 case $(srcdir) in \
31271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31272 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31274 esac; \
31275 srcdiroption="--srcdir=$${topdir}/winsup"; \
31276 libsrcdir="$$s/winsup"; \
31277 rm -f no-such-file || : ; \
31278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31279 $(TARGET_CONFIGARGS) $${srcdiroption} \
31280 || exit 1
31281 @endif target-winsup
31287 .PHONY: all-target-winsup maybe-all-target-winsup
31288 maybe-all-target-winsup:
31289 @if target-winsup
31290 TARGET-target-winsup=all
31291 maybe-all-target-winsup: all-target-winsup
31292 all-target-winsup: configure-target-winsup
31293 @$(unstage)
31294 @r=`${PWD_COMMAND}`; export r; \
31295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31296 $(NORMAL_TARGET_EXPORTS) \
31297 (cd $(TARGET_SUBDIR)/winsup && \
31298 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31299 @endif target-winsup
31305 .PHONY: check-target-winsup maybe-check-target-winsup
31306 maybe-check-target-winsup:
31307 @if target-winsup
31308 maybe-check-target-winsup: check-target-winsup
31310 check-target-winsup:
31311 @$(unstage)
31312 @r=`${PWD_COMMAND}`; export r; \
31313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31314 $(NORMAL_TARGET_EXPORTS) \
31315 (cd $(TARGET_SUBDIR)/winsup && \
31316 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31318 @endif target-winsup
31320 .PHONY: install-target-winsup maybe-install-target-winsup
31321 maybe-install-target-winsup:
31322 @if target-winsup
31323 maybe-install-target-winsup: install-target-winsup
31325 install-target-winsup: installdirs
31326 @$(unstage)
31327 @r=`${PWD_COMMAND}`; export r; \
31328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31329 $(NORMAL_TARGET_EXPORTS) \
31330 (cd $(TARGET_SUBDIR)/winsup && \
31331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31333 @endif target-winsup
31335 # Other targets (info, dvi, etc.)
31337 .PHONY: maybe-info-target-winsup info-target-winsup
31338 maybe-info-target-winsup:
31339 @if target-winsup
31340 maybe-info-target-winsup: info-target-winsup
31342 info-target-winsup: \
31343 configure-target-winsup
31344 @$(unstage)
31345 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31346 r=`${PWD_COMMAND}`; export r; \
31347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31348 $(NORMAL_TARGET_EXPORTS) \
31349 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31350 for flag in $(EXTRA_TARGET_FLAGS); do \
31351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31352 done; \
31353 (cd $(TARGET_SUBDIR)/winsup && \
31354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31356 "RANLIB=$${RANLIB}" \
31357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31358 info) \
31359 || exit 1
31361 @endif target-winsup
31363 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31364 maybe-dvi-target-winsup:
31365 @if target-winsup
31366 maybe-dvi-target-winsup: dvi-target-winsup
31368 dvi-target-winsup: \
31369 configure-target-winsup
31370 @$(unstage)
31371 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31372 r=`${PWD_COMMAND}`; export r; \
31373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31374 $(NORMAL_TARGET_EXPORTS) \
31375 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31376 for flag in $(EXTRA_TARGET_FLAGS); do \
31377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31378 done; \
31379 (cd $(TARGET_SUBDIR)/winsup && \
31380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31382 "RANLIB=$${RANLIB}" \
31383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31384 dvi) \
31385 || exit 1
31387 @endif target-winsup
31389 .PHONY: maybe-html-target-winsup html-target-winsup
31390 maybe-html-target-winsup:
31391 @if target-winsup
31392 maybe-html-target-winsup: html-target-winsup
31394 html-target-winsup: \
31395 configure-target-winsup
31396 @$(unstage)
31397 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31398 r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 $(NORMAL_TARGET_EXPORTS) \
31401 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31402 for flag in $(EXTRA_TARGET_FLAGS); do \
31403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31404 done; \
31405 (cd $(TARGET_SUBDIR)/winsup && \
31406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31408 "RANLIB=$${RANLIB}" \
31409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31410 html) \
31411 || exit 1
31413 @endif target-winsup
31415 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31416 maybe-TAGS-target-winsup:
31417 @if target-winsup
31418 maybe-TAGS-target-winsup: TAGS-target-winsup
31420 TAGS-target-winsup: \
31421 configure-target-winsup
31422 @$(unstage)
31423 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31424 r=`${PWD_COMMAND}`; export r; \
31425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31426 $(NORMAL_TARGET_EXPORTS) \
31427 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31428 for flag in $(EXTRA_TARGET_FLAGS); do \
31429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31430 done; \
31431 (cd $(TARGET_SUBDIR)/winsup && \
31432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31434 "RANLIB=$${RANLIB}" \
31435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31436 TAGS) \
31437 || exit 1
31439 @endif target-winsup
31441 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31442 maybe-install-info-target-winsup:
31443 @if target-winsup
31444 maybe-install-info-target-winsup: install-info-target-winsup
31446 install-info-target-winsup: \
31447 configure-target-winsup \
31448 info-target-winsup
31449 @$(unstage)
31450 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31451 r=`${PWD_COMMAND}`; export r; \
31452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31453 $(NORMAL_TARGET_EXPORTS) \
31454 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31455 for flag in $(EXTRA_TARGET_FLAGS); do \
31456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31457 done; \
31458 (cd $(TARGET_SUBDIR)/winsup && \
31459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31461 "RANLIB=$${RANLIB}" \
31462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31463 install-info) \
31464 || exit 1
31466 @endif target-winsup
31468 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31469 maybe-installcheck-target-winsup:
31470 @if target-winsup
31471 maybe-installcheck-target-winsup: installcheck-target-winsup
31473 installcheck-target-winsup: \
31474 configure-target-winsup
31475 @$(unstage)
31476 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31477 r=`${PWD_COMMAND}`; export r; \
31478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31479 $(NORMAL_TARGET_EXPORTS) \
31480 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31481 for flag in $(EXTRA_TARGET_FLAGS); do \
31482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31483 done; \
31484 (cd $(TARGET_SUBDIR)/winsup && \
31485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31487 "RANLIB=$${RANLIB}" \
31488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31489 installcheck) \
31490 || exit 1
31492 @endif target-winsup
31494 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31495 maybe-mostlyclean-target-winsup:
31496 @if target-winsup
31497 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31499 mostlyclean-target-winsup:
31500 @$(unstage)
31501 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(NORMAL_TARGET_EXPORTS) \
31505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31506 for flag in $(EXTRA_TARGET_FLAGS); do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 (cd $(TARGET_SUBDIR)/winsup && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31514 mostlyclean) \
31515 || exit 1
31517 @endif target-winsup
31519 .PHONY: maybe-clean-target-winsup clean-target-winsup
31520 maybe-clean-target-winsup:
31521 @if target-winsup
31522 maybe-clean-target-winsup: clean-target-winsup
31524 clean-target-winsup:
31525 @$(unstage)
31526 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31527 r=`${PWD_COMMAND}`; export r; \
31528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31529 $(NORMAL_TARGET_EXPORTS) \
31530 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31531 for flag in $(EXTRA_TARGET_FLAGS); do \
31532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 done; \
31534 (cd $(TARGET_SUBDIR)/winsup && \
31535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31537 "RANLIB=$${RANLIB}" \
31538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31539 clean) \
31540 || exit 1
31542 @endif target-winsup
31544 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31545 maybe-distclean-target-winsup:
31546 @if target-winsup
31547 maybe-distclean-target-winsup: distclean-target-winsup
31549 distclean-target-winsup:
31550 @$(unstage)
31551 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31552 r=`${PWD_COMMAND}`; export r; \
31553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31554 $(NORMAL_TARGET_EXPORTS) \
31555 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31556 for flag in $(EXTRA_TARGET_FLAGS); do \
31557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31558 done; \
31559 (cd $(TARGET_SUBDIR)/winsup && \
31560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31562 "RANLIB=$${RANLIB}" \
31563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31564 distclean) \
31565 || exit 1
31567 @endif target-winsup
31569 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31570 maybe-maintainer-clean-target-winsup:
31571 @if target-winsup
31572 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31574 maintainer-clean-target-winsup:
31575 @$(unstage)
31576 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31577 r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(NORMAL_TARGET_EXPORTS) \
31580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31581 for flag in $(EXTRA_TARGET_FLAGS); do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 (cd $(TARGET_SUBDIR)/winsup && \
31585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31587 "RANLIB=$${RANLIB}" \
31588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31589 maintainer-clean) \
31590 || exit 1
31592 @endif target-winsup
31596 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31597 @if target-libgloss
31598 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
31599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31600 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
31601 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
31602 @endif target-libgloss
31606 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31607 maybe-configure-target-libgloss:
31608 @if target-libgloss
31609 maybe-configure-target-libgloss: configure-target-libgloss
31610 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
31611 @$(unstage)
31612 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31614 r=`${PWD_COMMAND}`; export r; \
31615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31616 $(NORMAL_TARGET_EXPORTS) \
31617 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31618 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31619 case $(srcdir) in \
31620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31621 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31623 esac; \
31624 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31625 libsrcdir="$$s/libgloss"; \
31626 rm -f no-such-file || : ; \
31627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31628 $(TARGET_CONFIGARGS) $${srcdiroption} \
31629 || exit 1
31630 @endif target-libgloss
31636 .PHONY: all-target-libgloss maybe-all-target-libgloss
31637 maybe-all-target-libgloss:
31638 @if target-libgloss
31639 TARGET-target-libgloss=all
31640 maybe-all-target-libgloss: all-target-libgloss
31641 all-target-libgloss: configure-target-libgloss
31642 @$(unstage)
31643 @r=`${PWD_COMMAND}`; export r; \
31644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31645 $(NORMAL_TARGET_EXPORTS) \
31646 (cd $(TARGET_SUBDIR)/libgloss && \
31647 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31648 @endif target-libgloss
31654 .PHONY: check-target-libgloss maybe-check-target-libgloss
31655 maybe-check-target-libgloss:
31656 @if target-libgloss
31657 maybe-check-target-libgloss: check-target-libgloss
31659 # Dummy target for uncheckable module.
31660 check-target-libgloss:
31662 @endif target-libgloss
31664 .PHONY: install-target-libgloss maybe-install-target-libgloss
31665 maybe-install-target-libgloss:
31666 @if target-libgloss
31667 maybe-install-target-libgloss: install-target-libgloss
31669 install-target-libgloss: installdirs
31670 @$(unstage)
31671 @r=`${PWD_COMMAND}`; export r; \
31672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31673 $(NORMAL_TARGET_EXPORTS) \
31674 (cd $(TARGET_SUBDIR)/libgloss && \
31675 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31677 @endif target-libgloss
31679 # Other targets (info, dvi, etc.)
31681 .PHONY: maybe-info-target-libgloss info-target-libgloss
31682 maybe-info-target-libgloss:
31683 @if target-libgloss
31684 maybe-info-target-libgloss: info-target-libgloss
31686 info-target-libgloss: \
31687 configure-target-libgloss
31688 @$(unstage)
31689 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31690 r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(NORMAL_TARGET_EXPORTS) \
31693 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31694 for flag in $(EXTRA_TARGET_FLAGS); do \
31695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31696 done; \
31697 (cd $(TARGET_SUBDIR)/libgloss && \
31698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31700 "RANLIB=$${RANLIB}" \
31701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31702 info) \
31703 || exit 1
31705 @endif target-libgloss
31707 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31708 maybe-dvi-target-libgloss:
31709 @if target-libgloss
31710 maybe-dvi-target-libgloss: dvi-target-libgloss
31712 dvi-target-libgloss: \
31713 configure-target-libgloss
31714 @$(unstage)
31715 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31716 r=`${PWD_COMMAND}`; export r; \
31717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31718 $(NORMAL_TARGET_EXPORTS) \
31719 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31720 for flag in $(EXTRA_TARGET_FLAGS); do \
31721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31722 done; \
31723 (cd $(TARGET_SUBDIR)/libgloss && \
31724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31726 "RANLIB=$${RANLIB}" \
31727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31728 dvi) \
31729 || exit 1
31731 @endif target-libgloss
31733 .PHONY: maybe-html-target-libgloss html-target-libgloss
31734 maybe-html-target-libgloss:
31735 @if target-libgloss
31736 maybe-html-target-libgloss: html-target-libgloss
31738 html-target-libgloss: \
31739 configure-target-libgloss
31740 @$(unstage)
31741 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31742 r=`${PWD_COMMAND}`; export r; \
31743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31744 $(NORMAL_TARGET_EXPORTS) \
31745 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31746 for flag in $(EXTRA_TARGET_FLAGS); do \
31747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31748 done; \
31749 (cd $(TARGET_SUBDIR)/libgloss && \
31750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31752 "RANLIB=$${RANLIB}" \
31753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31754 html) \
31755 || exit 1
31757 @endif target-libgloss
31759 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31760 maybe-TAGS-target-libgloss:
31761 @if target-libgloss
31762 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31764 TAGS-target-libgloss: \
31765 configure-target-libgloss
31766 @$(unstage)
31767 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(NORMAL_TARGET_EXPORTS) \
31771 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31772 for flag in $(EXTRA_TARGET_FLAGS); do \
31773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31774 done; \
31775 (cd $(TARGET_SUBDIR)/libgloss && \
31776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31778 "RANLIB=$${RANLIB}" \
31779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31780 TAGS) \
31781 || exit 1
31783 @endif target-libgloss
31785 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31786 maybe-install-info-target-libgloss:
31787 @if target-libgloss
31788 maybe-install-info-target-libgloss: install-info-target-libgloss
31790 install-info-target-libgloss: \
31791 configure-target-libgloss \
31792 info-target-libgloss
31793 @$(unstage)
31794 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31795 r=`${PWD_COMMAND}`; export r; \
31796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31797 $(NORMAL_TARGET_EXPORTS) \
31798 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31799 for flag in $(EXTRA_TARGET_FLAGS); do \
31800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31801 done; \
31802 (cd $(TARGET_SUBDIR)/libgloss && \
31803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31805 "RANLIB=$${RANLIB}" \
31806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31807 install-info) \
31808 || exit 1
31810 @endif target-libgloss
31812 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31813 maybe-installcheck-target-libgloss:
31814 @if target-libgloss
31815 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31817 installcheck-target-libgloss: \
31818 configure-target-libgloss
31819 @$(unstage)
31820 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31821 r=`${PWD_COMMAND}`; export r; \
31822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31823 $(NORMAL_TARGET_EXPORTS) \
31824 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31825 for flag in $(EXTRA_TARGET_FLAGS); do \
31826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31827 done; \
31828 (cd $(TARGET_SUBDIR)/libgloss && \
31829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31831 "RANLIB=$${RANLIB}" \
31832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31833 installcheck) \
31834 || exit 1
31836 @endif target-libgloss
31838 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31839 maybe-mostlyclean-target-libgloss:
31840 @if target-libgloss
31841 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31843 mostlyclean-target-libgloss:
31844 @$(unstage)
31845 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31846 r=`${PWD_COMMAND}`; export r; \
31847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31848 $(NORMAL_TARGET_EXPORTS) \
31849 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31850 for flag in $(EXTRA_TARGET_FLAGS); do \
31851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31852 done; \
31853 (cd $(TARGET_SUBDIR)/libgloss && \
31854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31856 "RANLIB=$${RANLIB}" \
31857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31858 mostlyclean) \
31859 || exit 1
31861 @endif target-libgloss
31863 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31864 maybe-clean-target-libgloss:
31865 @if target-libgloss
31866 maybe-clean-target-libgloss: clean-target-libgloss
31868 clean-target-libgloss:
31869 @$(unstage)
31870 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31871 r=`${PWD_COMMAND}`; export r; \
31872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31873 $(NORMAL_TARGET_EXPORTS) \
31874 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31875 for flag in $(EXTRA_TARGET_FLAGS); do \
31876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31877 done; \
31878 (cd $(TARGET_SUBDIR)/libgloss && \
31879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31881 "RANLIB=$${RANLIB}" \
31882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31883 clean) \
31884 || exit 1
31886 @endif target-libgloss
31888 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31889 maybe-distclean-target-libgloss:
31890 @if target-libgloss
31891 maybe-distclean-target-libgloss: distclean-target-libgloss
31893 distclean-target-libgloss:
31894 @$(unstage)
31895 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31896 r=`${PWD_COMMAND}`; export r; \
31897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31898 $(NORMAL_TARGET_EXPORTS) \
31899 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31900 for flag in $(EXTRA_TARGET_FLAGS); do \
31901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31902 done; \
31903 (cd $(TARGET_SUBDIR)/libgloss && \
31904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31906 "RANLIB=$${RANLIB}" \
31907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31908 distclean) \
31909 || exit 1
31911 @endif target-libgloss
31913 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31914 maybe-maintainer-clean-target-libgloss:
31915 @if target-libgloss
31916 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31918 maintainer-clean-target-libgloss:
31919 @$(unstage)
31920 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31921 r=`${PWD_COMMAND}`; export r; \
31922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31923 $(NORMAL_TARGET_EXPORTS) \
31924 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31925 for flag in $(EXTRA_TARGET_FLAGS); do \
31926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31927 done; \
31928 (cd $(TARGET_SUBDIR)/libgloss && \
31929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31931 "RANLIB=$${RANLIB}" \
31932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31933 maintainer-clean) \
31934 || exit 1
31936 @endif target-libgloss
31940 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31941 @if target-libiberty
31942 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
31943 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31944 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
31945 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
31946 @endif target-libiberty
31950 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
31951 maybe-configure-target-libiberty:
31952 @if target-libiberty
31953 maybe-configure-target-libiberty: configure-target-libiberty
31954 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
31955 @$(unstage)
31956 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
31957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31958 r=`${PWD_COMMAND}`; export r; \
31959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31960 $(NORMAL_TARGET_EXPORTS) \
31961 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
31962 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
31963 case $(srcdir) in \
31964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31965 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
31966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31967 esac; \
31968 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31969 libsrcdir="$$s/libiberty"; \
31970 rm -f no-such-file || : ; \
31971 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31972 $(TARGET_CONFIGARGS) $${srcdiroption} \
31973 || exit 1
31974 @endif target-libiberty
31980 .PHONY: all-target-libiberty maybe-all-target-libiberty
31981 maybe-all-target-libiberty:
31982 @if target-libiberty
31983 TARGET-target-libiberty=all
31984 maybe-all-target-libiberty: all-target-libiberty
31985 all-target-libiberty: configure-target-libiberty
31986 @$(unstage)
31987 @r=`${PWD_COMMAND}`; export r; \
31988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31989 $(NORMAL_TARGET_EXPORTS) \
31990 (cd $(TARGET_SUBDIR)/libiberty && \
31991 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
31992 @endif target-libiberty
31998 .PHONY: check-target-libiberty maybe-check-target-libiberty
31999 maybe-check-target-libiberty:
32000 @if target-libiberty
32001 maybe-check-target-libiberty: check-target-libiberty
32003 check-target-libiberty:
32004 @$(unstage)
32005 @r=`${PWD_COMMAND}`; export r; \
32006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32007 $(NORMAL_TARGET_EXPORTS) \
32008 (cd $(TARGET_SUBDIR)/libiberty && \
32009 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32011 @endif target-libiberty
32013 .PHONY: install-target-libiberty maybe-install-target-libiberty
32014 maybe-install-target-libiberty:
32015 @if target-libiberty
32016 maybe-install-target-libiberty: install-target-libiberty
32018 install-target-libiberty: installdirs
32019 @$(unstage)
32020 @r=`${PWD_COMMAND}`; export r; \
32021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32022 $(NORMAL_TARGET_EXPORTS) \
32023 (cd $(TARGET_SUBDIR)/libiberty && \
32024 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32026 @endif target-libiberty
32028 # Other targets (info, dvi, etc.)
32030 .PHONY: maybe-info-target-libiberty info-target-libiberty
32031 maybe-info-target-libiberty:
32032 @if target-libiberty
32033 maybe-info-target-libiberty: info-target-libiberty
32035 info-target-libiberty: \
32036 configure-target-libiberty
32037 @$(unstage)
32038 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32039 r=`${PWD_COMMAND}`; export r; \
32040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32041 $(NORMAL_TARGET_EXPORTS) \
32042 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32043 for flag in $(EXTRA_TARGET_FLAGS); do \
32044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32045 done; \
32046 (cd $(TARGET_SUBDIR)/libiberty && \
32047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32049 "RANLIB=$${RANLIB}" \
32050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32051 info) \
32052 || exit 1
32054 @endif target-libiberty
32056 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32057 maybe-dvi-target-libiberty:
32058 @if target-libiberty
32059 maybe-dvi-target-libiberty: dvi-target-libiberty
32061 dvi-target-libiberty: \
32062 configure-target-libiberty
32063 @$(unstage)
32064 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32065 r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(NORMAL_TARGET_EXPORTS) \
32068 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32069 for flag in $(EXTRA_TARGET_FLAGS); do \
32070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32071 done; \
32072 (cd $(TARGET_SUBDIR)/libiberty && \
32073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32075 "RANLIB=$${RANLIB}" \
32076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32077 dvi) \
32078 || exit 1
32080 @endif target-libiberty
32082 .PHONY: maybe-html-target-libiberty html-target-libiberty
32083 maybe-html-target-libiberty:
32084 @if target-libiberty
32085 maybe-html-target-libiberty: html-target-libiberty
32087 html-target-libiberty: \
32088 configure-target-libiberty
32089 @$(unstage)
32090 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32091 r=`${PWD_COMMAND}`; export r; \
32092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32093 $(NORMAL_TARGET_EXPORTS) \
32094 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32095 for flag in $(EXTRA_TARGET_FLAGS); do \
32096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32097 done; \
32098 (cd $(TARGET_SUBDIR)/libiberty && \
32099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32101 "RANLIB=$${RANLIB}" \
32102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32103 html) \
32104 || exit 1
32106 @endif target-libiberty
32108 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32109 maybe-TAGS-target-libiberty:
32110 @if target-libiberty
32111 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32113 TAGS-target-libiberty: \
32114 configure-target-libiberty
32115 @$(unstage)
32116 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32117 r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(NORMAL_TARGET_EXPORTS) \
32120 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32121 for flag in $(EXTRA_TARGET_FLAGS); do \
32122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32123 done; \
32124 (cd $(TARGET_SUBDIR)/libiberty && \
32125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32127 "RANLIB=$${RANLIB}" \
32128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32129 TAGS) \
32130 || exit 1
32132 @endif target-libiberty
32134 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32135 maybe-install-info-target-libiberty:
32136 @if target-libiberty
32137 maybe-install-info-target-libiberty: install-info-target-libiberty
32139 install-info-target-libiberty: \
32140 configure-target-libiberty \
32141 info-target-libiberty
32142 @$(unstage)
32143 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32144 r=`${PWD_COMMAND}`; export r; \
32145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32146 $(NORMAL_TARGET_EXPORTS) \
32147 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32148 for flag in $(EXTRA_TARGET_FLAGS); do \
32149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32150 done; \
32151 (cd $(TARGET_SUBDIR)/libiberty && \
32152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32154 "RANLIB=$${RANLIB}" \
32155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32156 install-info) \
32157 || exit 1
32159 @endif target-libiberty
32161 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32162 maybe-installcheck-target-libiberty:
32163 @if target-libiberty
32164 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32166 installcheck-target-libiberty: \
32167 configure-target-libiberty
32168 @$(unstage)
32169 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32170 r=`${PWD_COMMAND}`; export r; \
32171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32172 $(NORMAL_TARGET_EXPORTS) \
32173 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32174 for flag in $(EXTRA_TARGET_FLAGS); do \
32175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32176 done; \
32177 (cd $(TARGET_SUBDIR)/libiberty && \
32178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32180 "RANLIB=$${RANLIB}" \
32181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32182 installcheck) \
32183 || exit 1
32185 @endif target-libiberty
32187 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32188 maybe-mostlyclean-target-libiberty:
32189 @if target-libiberty
32190 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32192 mostlyclean-target-libiberty:
32193 @$(unstage)
32194 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32195 r=`${PWD_COMMAND}`; export r; \
32196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32197 $(NORMAL_TARGET_EXPORTS) \
32198 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32199 for flag in $(EXTRA_TARGET_FLAGS); do \
32200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32201 done; \
32202 (cd $(TARGET_SUBDIR)/libiberty && \
32203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32205 "RANLIB=$${RANLIB}" \
32206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32207 mostlyclean) \
32208 || exit 1
32210 @endif target-libiberty
32212 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32213 maybe-clean-target-libiberty:
32214 @if target-libiberty
32215 maybe-clean-target-libiberty: clean-target-libiberty
32217 clean-target-libiberty:
32218 @$(unstage)
32219 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32220 r=`${PWD_COMMAND}`; export r; \
32221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32222 $(NORMAL_TARGET_EXPORTS) \
32223 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32224 for flag in $(EXTRA_TARGET_FLAGS); do \
32225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32226 done; \
32227 (cd $(TARGET_SUBDIR)/libiberty && \
32228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32230 "RANLIB=$${RANLIB}" \
32231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32232 clean) \
32233 || exit 1
32235 @endif target-libiberty
32237 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32238 maybe-distclean-target-libiberty:
32239 @if target-libiberty
32240 maybe-distclean-target-libiberty: distclean-target-libiberty
32242 distclean-target-libiberty:
32243 @$(unstage)
32244 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32245 r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(NORMAL_TARGET_EXPORTS) \
32248 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32249 for flag in $(EXTRA_TARGET_FLAGS); do \
32250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32251 done; \
32252 (cd $(TARGET_SUBDIR)/libiberty && \
32253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32255 "RANLIB=$${RANLIB}" \
32256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32257 distclean) \
32258 || exit 1
32260 @endif target-libiberty
32262 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32263 maybe-maintainer-clean-target-libiberty:
32264 @if target-libiberty
32265 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32267 maintainer-clean-target-libiberty:
32268 @$(unstage)
32269 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32270 r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(NORMAL_TARGET_EXPORTS) \
32273 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32274 for flag in $(EXTRA_TARGET_FLAGS); do \
32275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32276 done; \
32277 (cd $(TARGET_SUBDIR)/libiberty && \
32278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32280 "RANLIB=$${RANLIB}" \
32281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32282 maintainer-clean) \
32283 || exit 1
32285 @endif target-libiberty
32289 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32290 @if target-gperf
32291 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
32292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32293 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
32294 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
32295 @endif target-gperf
32299 .PHONY: configure-target-gperf maybe-configure-target-gperf
32300 maybe-configure-target-gperf:
32301 @if target-gperf
32302 maybe-configure-target-gperf: configure-target-gperf
32303 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
32304 @$(unstage)
32305 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32307 r=`${PWD_COMMAND}`; export r; \
32308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32309 $(NORMAL_TARGET_EXPORTS) \
32310 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32311 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32312 case $(srcdir) in \
32313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32314 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32316 esac; \
32317 srcdiroption="--srcdir=$${topdir}/gperf"; \
32318 libsrcdir="$$s/gperf"; \
32319 rm -f no-such-file || : ; \
32320 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32321 $(TARGET_CONFIGARGS) $${srcdiroption} \
32322 || exit 1
32323 @endif target-gperf
32329 .PHONY: all-target-gperf maybe-all-target-gperf
32330 maybe-all-target-gperf:
32331 @if target-gperf
32332 TARGET-target-gperf=all
32333 maybe-all-target-gperf: all-target-gperf
32334 all-target-gperf: configure-target-gperf
32335 @$(unstage)
32336 @r=`${PWD_COMMAND}`; export r; \
32337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32338 $(NORMAL_TARGET_EXPORTS) \
32339 (cd $(TARGET_SUBDIR)/gperf && \
32340 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32341 @endif target-gperf
32347 .PHONY: check-target-gperf maybe-check-target-gperf
32348 maybe-check-target-gperf:
32349 @if target-gperf
32350 maybe-check-target-gperf: check-target-gperf
32352 check-target-gperf:
32353 @$(unstage)
32354 @r=`${PWD_COMMAND}`; export r; \
32355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32356 $(NORMAL_TARGET_EXPORTS) \
32357 (cd $(TARGET_SUBDIR)/gperf && \
32358 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32360 @endif target-gperf
32362 .PHONY: install-target-gperf maybe-install-target-gperf
32363 maybe-install-target-gperf:
32364 @if target-gperf
32365 maybe-install-target-gperf: install-target-gperf
32367 install-target-gperf: installdirs
32368 @$(unstage)
32369 @r=`${PWD_COMMAND}`; export r; \
32370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32371 $(NORMAL_TARGET_EXPORTS) \
32372 (cd $(TARGET_SUBDIR)/gperf && \
32373 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32375 @endif target-gperf
32377 # Other targets (info, dvi, etc.)
32379 .PHONY: maybe-info-target-gperf info-target-gperf
32380 maybe-info-target-gperf:
32381 @if target-gperf
32382 maybe-info-target-gperf: info-target-gperf
32384 info-target-gperf: \
32385 configure-target-gperf
32386 @$(unstage)
32387 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32388 r=`${PWD_COMMAND}`; export r; \
32389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32390 $(NORMAL_TARGET_EXPORTS) \
32391 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32392 for flag in $(EXTRA_TARGET_FLAGS); do \
32393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32394 done; \
32395 (cd $(TARGET_SUBDIR)/gperf && \
32396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32398 "RANLIB=$${RANLIB}" \
32399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32400 info) \
32401 || exit 1
32403 @endif target-gperf
32405 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32406 maybe-dvi-target-gperf:
32407 @if target-gperf
32408 maybe-dvi-target-gperf: dvi-target-gperf
32410 dvi-target-gperf: \
32411 configure-target-gperf
32412 @$(unstage)
32413 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32414 r=`${PWD_COMMAND}`; export r; \
32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32416 $(NORMAL_TARGET_EXPORTS) \
32417 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32418 for flag in $(EXTRA_TARGET_FLAGS); do \
32419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32420 done; \
32421 (cd $(TARGET_SUBDIR)/gperf && \
32422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32424 "RANLIB=$${RANLIB}" \
32425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32426 dvi) \
32427 || exit 1
32429 @endif target-gperf
32431 .PHONY: maybe-html-target-gperf html-target-gperf
32432 maybe-html-target-gperf:
32433 @if target-gperf
32434 maybe-html-target-gperf: html-target-gperf
32436 html-target-gperf: \
32437 configure-target-gperf
32438 @$(unstage)
32439 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32440 r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(NORMAL_TARGET_EXPORTS) \
32443 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32444 for flag in $(EXTRA_TARGET_FLAGS); do \
32445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32446 done; \
32447 (cd $(TARGET_SUBDIR)/gperf && \
32448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32450 "RANLIB=$${RANLIB}" \
32451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32452 html) \
32453 || exit 1
32455 @endif target-gperf
32457 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32458 maybe-TAGS-target-gperf:
32459 @if target-gperf
32460 maybe-TAGS-target-gperf: TAGS-target-gperf
32462 TAGS-target-gperf: \
32463 configure-target-gperf
32464 @$(unstage)
32465 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32466 r=`${PWD_COMMAND}`; export r; \
32467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32468 $(NORMAL_TARGET_EXPORTS) \
32469 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32470 for flag in $(EXTRA_TARGET_FLAGS); do \
32471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32472 done; \
32473 (cd $(TARGET_SUBDIR)/gperf && \
32474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32476 "RANLIB=$${RANLIB}" \
32477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32478 TAGS) \
32479 || exit 1
32481 @endif target-gperf
32483 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32484 maybe-install-info-target-gperf:
32485 @if target-gperf
32486 maybe-install-info-target-gperf: install-info-target-gperf
32488 install-info-target-gperf: \
32489 configure-target-gperf \
32490 info-target-gperf
32491 @$(unstage)
32492 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32493 r=`${PWD_COMMAND}`; export r; \
32494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32495 $(NORMAL_TARGET_EXPORTS) \
32496 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32497 for flag in $(EXTRA_TARGET_FLAGS); do \
32498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32499 done; \
32500 (cd $(TARGET_SUBDIR)/gperf && \
32501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32503 "RANLIB=$${RANLIB}" \
32504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32505 install-info) \
32506 || exit 1
32508 @endif target-gperf
32510 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32511 maybe-installcheck-target-gperf:
32512 @if target-gperf
32513 maybe-installcheck-target-gperf: installcheck-target-gperf
32515 installcheck-target-gperf: \
32516 configure-target-gperf
32517 @$(unstage)
32518 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32519 r=`${PWD_COMMAND}`; export r; \
32520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32521 $(NORMAL_TARGET_EXPORTS) \
32522 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32523 for flag in $(EXTRA_TARGET_FLAGS); do \
32524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 done; \
32526 (cd $(TARGET_SUBDIR)/gperf && \
32527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32529 "RANLIB=$${RANLIB}" \
32530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32531 installcheck) \
32532 || exit 1
32534 @endif target-gperf
32536 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32537 maybe-mostlyclean-target-gperf:
32538 @if target-gperf
32539 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32541 mostlyclean-target-gperf:
32542 @$(unstage)
32543 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32544 r=`${PWD_COMMAND}`; export r; \
32545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32546 $(NORMAL_TARGET_EXPORTS) \
32547 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32548 for flag in $(EXTRA_TARGET_FLAGS); do \
32549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32550 done; \
32551 (cd $(TARGET_SUBDIR)/gperf && \
32552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32554 "RANLIB=$${RANLIB}" \
32555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32556 mostlyclean) \
32557 || exit 1
32559 @endif target-gperf
32561 .PHONY: maybe-clean-target-gperf clean-target-gperf
32562 maybe-clean-target-gperf:
32563 @if target-gperf
32564 maybe-clean-target-gperf: clean-target-gperf
32566 clean-target-gperf:
32567 @$(unstage)
32568 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32569 r=`${PWD_COMMAND}`; export r; \
32570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32571 $(NORMAL_TARGET_EXPORTS) \
32572 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32573 for flag in $(EXTRA_TARGET_FLAGS); do \
32574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32575 done; \
32576 (cd $(TARGET_SUBDIR)/gperf && \
32577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32579 "RANLIB=$${RANLIB}" \
32580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32581 clean) \
32582 || exit 1
32584 @endif target-gperf
32586 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32587 maybe-distclean-target-gperf:
32588 @if target-gperf
32589 maybe-distclean-target-gperf: distclean-target-gperf
32591 distclean-target-gperf:
32592 @$(unstage)
32593 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32594 r=`${PWD_COMMAND}`; export r; \
32595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32596 $(NORMAL_TARGET_EXPORTS) \
32597 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32598 for flag in $(EXTRA_TARGET_FLAGS); do \
32599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32600 done; \
32601 (cd $(TARGET_SUBDIR)/gperf && \
32602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32604 "RANLIB=$${RANLIB}" \
32605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32606 distclean) \
32607 || exit 1
32609 @endif target-gperf
32611 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32612 maybe-maintainer-clean-target-gperf:
32613 @if target-gperf
32614 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32616 maintainer-clean-target-gperf:
32617 @$(unstage)
32618 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32619 r=`${PWD_COMMAND}`; export r; \
32620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32621 $(NORMAL_TARGET_EXPORTS) \
32622 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32623 for flag in $(EXTRA_TARGET_FLAGS); do \
32624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32625 done; \
32626 (cd $(TARGET_SUBDIR)/gperf && \
32627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32629 "RANLIB=$${RANLIB}" \
32630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32631 maintainer-clean) \
32632 || exit 1
32634 @endif target-gperf
32638 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32639 @if target-examples
32640 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
32641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32642 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
32643 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
32644 @endif target-examples
32648 .PHONY: configure-target-examples maybe-configure-target-examples
32649 maybe-configure-target-examples:
32650 @if target-examples
32651 maybe-configure-target-examples: configure-target-examples
32652 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
32653 @$(unstage)
32654 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32655 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32656 r=`${PWD_COMMAND}`; export r; \
32657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32658 $(NORMAL_TARGET_EXPORTS) \
32659 echo Configuring in $(TARGET_SUBDIR)/examples; \
32660 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32661 case $(srcdir) in \
32662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32663 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32665 esac; \
32666 srcdiroption="--srcdir=$${topdir}/examples"; \
32667 libsrcdir="$$s/examples"; \
32668 rm -f no-such-file || : ; \
32669 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32670 $(TARGET_CONFIGARGS) $${srcdiroption} \
32671 || exit 1
32672 @endif target-examples
32678 .PHONY: all-target-examples maybe-all-target-examples
32679 maybe-all-target-examples:
32680 @if target-examples
32681 TARGET-target-examples=all
32682 maybe-all-target-examples: all-target-examples
32683 all-target-examples: configure-target-examples
32684 @$(unstage)
32685 @r=`${PWD_COMMAND}`; export r; \
32686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32687 $(NORMAL_TARGET_EXPORTS) \
32688 (cd $(TARGET_SUBDIR)/examples && \
32689 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32690 @endif target-examples
32696 .PHONY: check-target-examples maybe-check-target-examples
32697 maybe-check-target-examples:
32698 @if target-examples
32699 maybe-check-target-examples: check-target-examples
32701 # Dummy target for uncheckable module.
32702 check-target-examples:
32704 @endif target-examples
32706 .PHONY: install-target-examples maybe-install-target-examples
32707 maybe-install-target-examples:
32708 @if target-examples
32709 maybe-install-target-examples: install-target-examples
32711 # Dummy target for uninstallable.
32712 install-target-examples:
32714 @endif target-examples
32716 # Other targets (info, dvi, etc.)
32718 .PHONY: maybe-info-target-examples info-target-examples
32719 maybe-info-target-examples:
32720 @if target-examples
32721 maybe-info-target-examples: info-target-examples
32723 info-target-examples: \
32724 configure-target-examples
32725 @$(unstage)
32726 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32727 r=`${PWD_COMMAND}`; export r; \
32728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32729 $(NORMAL_TARGET_EXPORTS) \
32730 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32731 for flag in $(EXTRA_TARGET_FLAGS); do \
32732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32733 done; \
32734 (cd $(TARGET_SUBDIR)/examples && \
32735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32737 "RANLIB=$${RANLIB}" \
32738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32739 info) \
32740 || exit 1
32742 @endif target-examples
32744 .PHONY: maybe-dvi-target-examples dvi-target-examples
32745 maybe-dvi-target-examples:
32746 @if target-examples
32747 maybe-dvi-target-examples: dvi-target-examples
32749 dvi-target-examples: \
32750 configure-target-examples
32751 @$(unstage)
32752 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32753 r=`${PWD_COMMAND}`; export r; \
32754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32755 $(NORMAL_TARGET_EXPORTS) \
32756 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32757 for flag in $(EXTRA_TARGET_FLAGS); do \
32758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32759 done; \
32760 (cd $(TARGET_SUBDIR)/examples && \
32761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32763 "RANLIB=$${RANLIB}" \
32764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32765 dvi) \
32766 || exit 1
32768 @endif target-examples
32770 .PHONY: maybe-html-target-examples html-target-examples
32771 maybe-html-target-examples:
32772 @if target-examples
32773 maybe-html-target-examples: html-target-examples
32775 html-target-examples: \
32776 configure-target-examples
32777 @$(unstage)
32778 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32779 r=`${PWD_COMMAND}`; export r; \
32780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32781 $(NORMAL_TARGET_EXPORTS) \
32782 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32783 for flag in $(EXTRA_TARGET_FLAGS); do \
32784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32785 done; \
32786 (cd $(TARGET_SUBDIR)/examples && \
32787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32789 "RANLIB=$${RANLIB}" \
32790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32791 html) \
32792 || exit 1
32794 @endif target-examples
32796 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32797 maybe-TAGS-target-examples:
32798 @if target-examples
32799 maybe-TAGS-target-examples: TAGS-target-examples
32801 TAGS-target-examples: \
32802 configure-target-examples
32803 @$(unstage)
32804 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32805 r=`${PWD_COMMAND}`; export r; \
32806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32807 $(NORMAL_TARGET_EXPORTS) \
32808 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32809 for flag in $(EXTRA_TARGET_FLAGS); do \
32810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32811 done; \
32812 (cd $(TARGET_SUBDIR)/examples && \
32813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32815 "RANLIB=$${RANLIB}" \
32816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32817 TAGS) \
32818 || exit 1
32820 @endif target-examples
32822 .PHONY: maybe-install-info-target-examples install-info-target-examples
32823 maybe-install-info-target-examples:
32824 @if target-examples
32825 maybe-install-info-target-examples: install-info-target-examples
32827 install-info-target-examples: \
32828 configure-target-examples \
32829 info-target-examples
32830 @$(unstage)
32831 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32832 r=`${PWD_COMMAND}`; export r; \
32833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32834 $(NORMAL_TARGET_EXPORTS) \
32835 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32836 for flag in $(EXTRA_TARGET_FLAGS); do \
32837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32838 done; \
32839 (cd $(TARGET_SUBDIR)/examples && \
32840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32842 "RANLIB=$${RANLIB}" \
32843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32844 install-info) \
32845 || exit 1
32847 @endif target-examples
32849 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32850 maybe-installcheck-target-examples:
32851 @if target-examples
32852 maybe-installcheck-target-examples: installcheck-target-examples
32854 installcheck-target-examples: \
32855 configure-target-examples
32856 @$(unstage)
32857 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32858 r=`${PWD_COMMAND}`; export r; \
32859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32860 $(NORMAL_TARGET_EXPORTS) \
32861 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32862 for flag in $(EXTRA_TARGET_FLAGS); do \
32863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32864 done; \
32865 (cd $(TARGET_SUBDIR)/examples && \
32866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32868 "RANLIB=$${RANLIB}" \
32869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32870 installcheck) \
32871 || exit 1
32873 @endif target-examples
32875 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32876 maybe-mostlyclean-target-examples:
32877 @if target-examples
32878 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32880 mostlyclean-target-examples:
32881 @$(unstage)
32882 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32883 r=`${PWD_COMMAND}`; export r; \
32884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32885 $(NORMAL_TARGET_EXPORTS) \
32886 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32887 for flag in $(EXTRA_TARGET_FLAGS); do \
32888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32889 done; \
32890 (cd $(TARGET_SUBDIR)/examples && \
32891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32893 "RANLIB=$${RANLIB}" \
32894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32895 mostlyclean) \
32896 || exit 1
32898 @endif target-examples
32900 .PHONY: maybe-clean-target-examples clean-target-examples
32901 maybe-clean-target-examples:
32902 @if target-examples
32903 maybe-clean-target-examples: clean-target-examples
32905 clean-target-examples:
32906 @$(unstage)
32907 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32908 r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(NORMAL_TARGET_EXPORTS) \
32911 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32912 for flag in $(EXTRA_TARGET_FLAGS); do \
32913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32914 done; \
32915 (cd $(TARGET_SUBDIR)/examples && \
32916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32918 "RANLIB=$${RANLIB}" \
32919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32920 clean) \
32921 || exit 1
32923 @endif target-examples
32925 .PHONY: maybe-distclean-target-examples distclean-target-examples
32926 maybe-distclean-target-examples:
32927 @if target-examples
32928 maybe-distclean-target-examples: distclean-target-examples
32930 distclean-target-examples:
32931 @$(unstage)
32932 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32933 r=`${PWD_COMMAND}`; export r; \
32934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32935 $(NORMAL_TARGET_EXPORTS) \
32936 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
32937 for flag in $(EXTRA_TARGET_FLAGS); do \
32938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32939 done; \
32940 (cd $(TARGET_SUBDIR)/examples && \
32941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32943 "RANLIB=$${RANLIB}" \
32944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32945 distclean) \
32946 || exit 1
32948 @endif target-examples
32950 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
32951 maybe-maintainer-clean-target-examples:
32952 @if target-examples
32953 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
32955 maintainer-clean-target-examples:
32956 @$(unstage)
32957 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32958 r=`${PWD_COMMAND}`; export r; \
32959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32960 $(NORMAL_TARGET_EXPORTS) \
32961 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
32962 for flag in $(EXTRA_TARGET_FLAGS); do \
32963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32964 done; \
32965 (cd $(TARGET_SUBDIR)/examples && \
32966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32968 "RANLIB=$${RANLIB}" \
32969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32970 maintainer-clean) \
32971 || exit 1
32973 @endif target-examples
32977 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32978 @if target-libffi
32979 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
32980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32981 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
32982 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
32983 @endif target-libffi
32987 .PHONY: configure-target-libffi maybe-configure-target-libffi
32988 maybe-configure-target-libffi:
32989 @if target-libffi
32990 maybe-configure-target-libffi: configure-target-libffi
32991 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
32992 @$(unstage)
32993 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
32994 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32995 r=`${PWD_COMMAND}`; export r; \
32996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32997 $(NORMAL_TARGET_EXPORTS) \
32998 echo Configuring in $(TARGET_SUBDIR)/libffi; \
32999 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33000 case $(srcdir) in \
33001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33002 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33004 esac; \
33005 srcdiroption="--srcdir=$${topdir}/libffi"; \
33006 libsrcdir="$$s/libffi"; \
33007 rm -f no-such-file || : ; \
33008 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33009 $(TARGET_CONFIGARGS) $${srcdiroption} \
33010 || exit 1
33011 @endif target-libffi
33017 .PHONY: all-target-libffi maybe-all-target-libffi
33018 maybe-all-target-libffi:
33019 @if target-libffi
33020 TARGET-target-libffi=all
33021 maybe-all-target-libffi: all-target-libffi
33022 all-target-libffi: configure-target-libffi
33023 @$(unstage)
33024 @r=`${PWD_COMMAND}`; export r; \
33025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33026 $(NORMAL_TARGET_EXPORTS) \
33027 (cd $(TARGET_SUBDIR)/libffi && \
33028 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33029 @endif target-libffi
33035 .PHONY: check-target-libffi maybe-check-target-libffi
33036 maybe-check-target-libffi:
33037 @if target-libffi
33038 maybe-check-target-libffi: check-target-libffi
33040 check-target-libffi:
33041 @$(unstage)
33042 @r=`${PWD_COMMAND}`; export r; \
33043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33044 $(NORMAL_TARGET_EXPORTS) \
33045 (cd $(TARGET_SUBDIR)/libffi && \
33046 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33048 @endif target-libffi
33050 .PHONY: install-target-libffi maybe-install-target-libffi
33051 maybe-install-target-libffi:
33052 @if target-libffi
33053 maybe-install-target-libffi: install-target-libffi
33055 install-target-libffi: installdirs
33056 @$(unstage)
33057 @r=`${PWD_COMMAND}`; export r; \
33058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33059 $(NORMAL_TARGET_EXPORTS) \
33060 (cd $(TARGET_SUBDIR)/libffi && \
33061 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33063 @endif target-libffi
33065 # Other targets (info, dvi, etc.)
33067 .PHONY: maybe-info-target-libffi info-target-libffi
33068 maybe-info-target-libffi:
33069 @if target-libffi
33070 maybe-info-target-libffi: info-target-libffi
33072 info-target-libffi: \
33073 configure-target-libffi
33074 @$(unstage)
33075 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33076 r=`${PWD_COMMAND}`; export r; \
33077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33078 $(NORMAL_TARGET_EXPORTS) \
33079 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33080 for flag in $(EXTRA_TARGET_FLAGS); do \
33081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33082 done; \
33083 (cd $(TARGET_SUBDIR)/libffi && \
33084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33086 "RANLIB=$${RANLIB}" \
33087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33088 info) \
33089 || exit 1
33091 @endif target-libffi
33093 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33094 maybe-dvi-target-libffi:
33095 @if target-libffi
33096 maybe-dvi-target-libffi: dvi-target-libffi
33098 dvi-target-libffi: \
33099 configure-target-libffi
33100 @$(unstage)
33101 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33102 r=`${PWD_COMMAND}`; export r; \
33103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33104 $(NORMAL_TARGET_EXPORTS) \
33105 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33106 for flag in $(EXTRA_TARGET_FLAGS); do \
33107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33108 done; \
33109 (cd $(TARGET_SUBDIR)/libffi && \
33110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33112 "RANLIB=$${RANLIB}" \
33113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33114 dvi) \
33115 || exit 1
33117 @endif target-libffi
33119 .PHONY: maybe-html-target-libffi html-target-libffi
33120 maybe-html-target-libffi:
33121 @if target-libffi
33122 maybe-html-target-libffi: html-target-libffi
33124 html-target-libffi: \
33125 configure-target-libffi
33126 @$(unstage)
33127 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33128 r=`${PWD_COMMAND}`; export r; \
33129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33130 $(NORMAL_TARGET_EXPORTS) \
33131 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33132 for flag in $(EXTRA_TARGET_FLAGS); do \
33133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33134 done; \
33135 (cd $(TARGET_SUBDIR)/libffi && \
33136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33138 "RANLIB=$${RANLIB}" \
33139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33140 html) \
33141 || exit 1
33143 @endif target-libffi
33145 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33146 maybe-TAGS-target-libffi:
33147 @if target-libffi
33148 maybe-TAGS-target-libffi: TAGS-target-libffi
33150 TAGS-target-libffi: \
33151 configure-target-libffi
33152 @$(unstage)
33153 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33154 r=`${PWD_COMMAND}`; export r; \
33155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33156 $(NORMAL_TARGET_EXPORTS) \
33157 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33158 for flag in $(EXTRA_TARGET_FLAGS); do \
33159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33160 done; \
33161 (cd $(TARGET_SUBDIR)/libffi && \
33162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33164 "RANLIB=$${RANLIB}" \
33165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33166 TAGS) \
33167 || exit 1
33169 @endif target-libffi
33171 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33172 maybe-install-info-target-libffi:
33173 @if target-libffi
33174 maybe-install-info-target-libffi: install-info-target-libffi
33176 install-info-target-libffi: \
33177 configure-target-libffi \
33178 info-target-libffi
33179 @$(unstage)
33180 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33181 r=`${PWD_COMMAND}`; export r; \
33182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33183 $(NORMAL_TARGET_EXPORTS) \
33184 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33185 for flag in $(EXTRA_TARGET_FLAGS); do \
33186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33187 done; \
33188 (cd $(TARGET_SUBDIR)/libffi && \
33189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33191 "RANLIB=$${RANLIB}" \
33192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33193 install-info) \
33194 || exit 1
33196 @endif target-libffi
33198 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33199 maybe-installcheck-target-libffi:
33200 @if target-libffi
33201 maybe-installcheck-target-libffi: installcheck-target-libffi
33203 installcheck-target-libffi: \
33204 configure-target-libffi
33205 @$(unstage)
33206 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33207 r=`${PWD_COMMAND}`; export r; \
33208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33209 $(NORMAL_TARGET_EXPORTS) \
33210 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33211 for flag in $(EXTRA_TARGET_FLAGS); do \
33212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33213 done; \
33214 (cd $(TARGET_SUBDIR)/libffi && \
33215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33217 "RANLIB=$${RANLIB}" \
33218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33219 installcheck) \
33220 || exit 1
33222 @endif target-libffi
33224 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33225 maybe-mostlyclean-target-libffi:
33226 @if target-libffi
33227 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33229 mostlyclean-target-libffi:
33230 @$(unstage)
33231 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33232 r=`${PWD_COMMAND}`; export r; \
33233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33234 $(NORMAL_TARGET_EXPORTS) \
33235 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33236 for flag in $(EXTRA_TARGET_FLAGS); do \
33237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33238 done; \
33239 (cd $(TARGET_SUBDIR)/libffi && \
33240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33242 "RANLIB=$${RANLIB}" \
33243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33244 mostlyclean) \
33245 || exit 1
33247 @endif target-libffi
33249 .PHONY: maybe-clean-target-libffi clean-target-libffi
33250 maybe-clean-target-libffi:
33251 @if target-libffi
33252 maybe-clean-target-libffi: clean-target-libffi
33254 clean-target-libffi:
33255 @$(unstage)
33256 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33257 r=`${PWD_COMMAND}`; export r; \
33258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33259 $(NORMAL_TARGET_EXPORTS) \
33260 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33261 for flag in $(EXTRA_TARGET_FLAGS); do \
33262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33263 done; \
33264 (cd $(TARGET_SUBDIR)/libffi && \
33265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33267 "RANLIB=$${RANLIB}" \
33268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33269 clean) \
33270 || exit 1
33272 @endif target-libffi
33274 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33275 maybe-distclean-target-libffi:
33276 @if target-libffi
33277 maybe-distclean-target-libffi: distclean-target-libffi
33279 distclean-target-libffi:
33280 @$(unstage)
33281 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33282 r=`${PWD_COMMAND}`; export r; \
33283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33284 $(NORMAL_TARGET_EXPORTS) \
33285 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33286 for flag in $(EXTRA_TARGET_FLAGS); do \
33287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33288 done; \
33289 (cd $(TARGET_SUBDIR)/libffi && \
33290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33292 "RANLIB=$${RANLIB}" \
33293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33294 distclean) \
33295 || exit 1
33297 @endif target-libffi
33299 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33300 maybe-maintainer-clean-target-libffi:
33301 @if target-libffi
33302 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33304 maintainer-clean-target-libffi:
33305 @$(unstage)
33306 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33307 r=`${PWD_COMMAND}`; export r; \
33308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33309 $(NORMAL_TARGET_EXPORTS) \
33310 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33311 for flag in $(EXTRA_TARGET_FLAGS); do \
33312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33313 done; \
33314 (cd $(TARGET_SUBDIR)/libffi && \
33315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33317 "RANLIB=$${RANLIB}" \
33318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33319 maintainer-clean) \
33320 || exit 1
33322 @endif target-libffi
33326 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33327 @if target-libjava
33328 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
33329 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33330 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
33331 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
33332 @endif target-libjava
33336 .PHONY: configure-target-libjava maybe-configure-target-libjava
33337 maybe-configure-target-libjava:
33338 @if target-libjava
33339 maybe-configure-target-libjava: configure-target-libjava
33340 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
33341 @$(unstage)
33342 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33344 r=`${PWD_COMMAND}`; export r; \
33345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33346 $(RAW_CXX_TARGET_EXPORTS) \
33347 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33348 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33349 case $(srcdir) in \
33350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33351 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33353 esac; \
33354 srcdiroption="--srcdir=$${topdir}/libjava"; \
33355 libsrcdir="$$s/libjava"; \
33356 rm -f no-such-file || : ; \
33357 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33358 $(TARGET_CONFIGARGS) $${srcdiroption} \
33359 || exit 1
33360 @endif target-libjava
33366 .PHONY: all-target-libjava maybe-all-target-libjava
33367 maybe-all-target-libjava:
33368 @if target-libjava
33369 TARGET-target-libjava=all
33370 maybe-all-target-libjava: all-target-libjava
33371 all-target-libjava: configure-target-libjava
33372 @$(unstage)
33373 @r=`${PWD_COMMAND}`; export r; \
33374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33375 $(RAW_CXX_TARGET_EXPORTS) \
33376 (cd $(TARGET_SUBDIR)/libjava && \
33377 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33378 @endif target-libjava
33384 .PHONY: check-target-libjava maybe-check-target-libjava
33385 maybe-check-target-libjava:
33386 @if target-libjava
33387 maybe-check-target-libjava: check-target-libjava
33389 check-target-libjava:
33390 @$(unstage)
33391 @r=`${PWD_COMMAND}`; export r; \
33392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33393 $(RAW_CXX_TARGET_EXPORTS) \
33394 (cd $(TARGET_SUBDIR)/libjava && \
33395 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33397 @endif target-libjava
33399 .PHONY: install-target-libjava maybe-install-target-libjava
33400 maybe-install-target-libjava:
33401 @if target-libjava
33402 maybe-install-target-libjava: install-target-libjava
33404 install-target-libjava: installdirs
33405 @$(unstage)
33406 @r=`${PWD_COMMAND}`; export r; \
33407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33408 $(RAW_CXX_TARGET_EXPORTS) \
33409 (cd $(TARGET_SUBDIR)/libjava && \
33410 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33412 @endif target-libjava
33414 # Other targets (info, dvi, etc.)
33416 .PHONY: maybe-info-target-libjava info-target-libjava
33417 maybe-info-target-libjava:
33418 @if target-libjava
33419 maybe-info-target-libjava: info-target-libjava
33421 info-target-libjava: \
33422 configure-target-libjava
33423 @$(unstage)
33424 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33425 r=`${PWD_COMMAND}`; export r; \
33426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33427 $(RAW_CXX_TARGET_EXPORTS) \
33428 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33429 for flag in $(EXTRA_TARGET_FLAGS); do \
33430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33431 done; \
33432 (cd $(TARGET_SUBDIR)/libjava && \
33433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33435 "RANLIB=$${RANLIB}" \
33436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33437 info) \
33438 || exit 1
33440 @endif target-libjava
33442 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33443 maybe-dvi-target-libjava:
33444 @if target-libjava
33445 maybe-dvi-target-libjava: dvi-target-libjava
33447 dvi-target-libjava: \
33448 configure-target-libjava
33449 @$(unstage)
33450 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33451 r=`${PWD_COMMAND}`; export r; \
33452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33453 $(RAW_CXX_TARGET_EXPORTS) \
33454 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33455 for flag in $(EXTRA_TARGET_FLAGS); do \
33456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33457 done; \
33458 (cd $(TARGET_SUBDIR)/libjava && \
33459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33461 "RANLIB=$${RANLIB}" \
33462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33463 dvi) \
33464 || exit 1
33466 @endif target-libjava
33468 .PHONY: maybe-html-target-libjava html-target-libjava
33469 maybe-html-target-libjava:
33470 @if target-libjava
33471 maybe-html-target-libjava: html-target-libjava
33473 html-target-libjava: \
33474 configure-target-libjava
33475 @$(unstage)
33476 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33477 r=`${PWD_COMMAND}`; export r; \
33478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33479 $(RAW_CXX_TARGET_EXPORTS) \
33480 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33481 for flag in $(EXTRA_TARGET_FLAGS); do \
33482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33483 done; \
33484 (cd $(TARGET_SUBDIR)/libjava && \
33485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33487 "RANLIB=$${RANLIB}" \
33488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33489 html) \
33490 || exit 1
33492 @endif target-libjava
33494 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33495 maybe-TAGS-target-libjava:
33496 @if target-libjava
33497 maybe-TAGS-target-libjava: TAGS-target-libjava
33499 TAGS-target-libjava: \
33500 configure-target-libjava
33501 @$(unstage)
33502 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33503 r=`${PWD_COMMAND}`; export r; \
33504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33505 $(RAW_CXX_TARGET_EXPORTS) \
33506 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33507 for flag in $(EXTRA_TARGET_FLAGS); do \
33508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33509 done; \
33510 (cd $(TARGET_SUBDIR)/libjava && \
33511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33513 "RANLIB=$${RANLIB}" \
33514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33515 TAGS) \
33516 || exit 1
33518 @endif target-libjava
33520 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33521 maybe-install-info-target-libjava:
33522 @if target-libjava
33523 maybe-install-info-target-libjava: install-info-target-libjava
33525 install-info-target-libjava: \
33526 configure-target-libjava \
33527 info-target-libjava
33528 @$(unstage)
33529 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33530 r=`${PWD_COMMAND}`; export r; \
33531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33532 $(RAW_CXX_TARGET_EXPORTS) \
33533 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33534 for flag in $(EXTRA_TARGET_FLAGS); do \
33535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33536 done; \
33537 (cd $(TARGET_SUBDIR)/libjava && \
33538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33540 "RANLIB=$${RANLIB}" \
33541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33542 install-info) \
33543 || exit 1
33545 @endif target-libjava
33547 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33548 maybe-installcheck-target-libjava:
33549 @if target-libjava
33550 maybe-installcheck-target-libjava: installcheck-target-libjava
33552 installcheck-target-libjava: \
33553 configure-target-libjava
33554 @$(unstage)
33555 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33556 r=`${PWD_COMMAND}`; export r; \
33557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33558 $(RAW_CXX_TARGET_EXPORTS) \
33559 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33560 for flag in $(EXTRA_TARGET_FLAGS); do \
33561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33562 done; \
33563 (cd $(TARGET_SUBDIR)/libjava && \
33564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33566 "RANLIB=$${RANLIB}" \
33567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33568 installcheck) \
33569 || exit 1
33571 @endif target-libjava
33573 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33574 maybe-mostlyclean-target-libjava:
33575 @if target-libjava
33576 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33578 mostlyclean-target-libjava:
33579 @$(unstage)
33580 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33581 r=`${PWD_COMMAND}`; export r; \
33582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33583 $(RAW_CXX_TARGET_EXPORTS) \
33584 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33585 for flag in $(EXTRA_TARGET_FLAGS); do \
33586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33587 done; \
33588 (cd $(TARGET_SUBDIR)/libjava && \
33589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33591 "RANLIB=$${RANLIB}" \
33592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33593 mostlyclean) \
33594 || exit 1
33596 @endif target-libjava
33598 .PHONY: maybe-clean-target-libjava clean-target-libjava
33599 maybe-clean-target-libjava:
33600 @if target-libjava
33601 maybe-clean-target-libjava: clean-target-libjava
33603 clean-target-libjava:
33604 @$(unstage)
33605 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33606 r=`${PWD_COMMAND}`; export r; \
33607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33608 $(RAW_CXX_TARGET_EXPORTS) \
33609 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33610 for flag in $(EXTRA_TARGET_FLAGS); do \
33611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33612 done; \
33613 (cd $(TARGET_SUBDIR)/libjava && \
33614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33616 "RANLIB=$${RANLIB}" \
33617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33618 clean) \
33619 || exit 1
33621 @endif target-libjava
33623 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33624 maybe-distclean-target-libjava:
33625 @if target-libjava
33626 maybe-distclean-target-libjava: distclean-target-libjava
33628 distclean-target-libjava:
33629 @$(unstage)
33630 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33631 r=`${PWD_COMMAND}`; export r; \
33632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33633 $(RAW_CXX_TARGET_EXPORTS) \
33634 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33635 for flag in $(EXTRA_TARGET_FLAGS); do \
33636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33637 done; \
33638 (cd $(TARGET_SUBDIR)/libjava && \
33639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33641 "RANLIB=$${RANLIB}" \
33642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33643 distclean) \
33644 || exit 1
33646 @endif target-libjava
33648 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33649 maybe-maintainer-clean-target-libjava:
33650 @if target-libjava
33651 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33653 maintainer-clean-target-libjava:
33654 @$(unstage)
33655 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33656 r=`${PWD_COMMAND}`; export r; \
33657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33658 $(RAW_CXX_TARGET_EXPORTS) \
33659 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33660 for flag in $(EXTRA_TARGET_FLAGS); do \
33661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33662 done; \
33663 (cd $(TARGET_SUBDIR)/libjava && \
33664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33666 "RANLIB=$${RANLIB}" \
33667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33668 maintainer-clean) \
33669 || exit 1
33671 @endif target-libjava
33675 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33676 @if target-zlib
33677 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
33678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33679 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
33680 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
33681 @endif target-zlib
33685 .PHONY: configure-target-zlib maybe-configure-target-zlib
33686 maybe-configure-target-zlib:
33687 @if target-zlib
33688 maybe-configure-target-zlib: configure-target-zlib
33689 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
33690 @$(unstage)
33691 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33693 r=`${PWD_COMMAND}`; export r; \
33694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33695 $(NORMAL_TARGET_EXPORTS) \
33696 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33697 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33698 case $(srcdir) in \
33699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33700 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33702 esac; \
33703 srcdiroption="--srcdir=$${topdir}/zlib"; \
33704 libsrcdir="$$s/zlib"; \
33705 rm -f no-such-file || : ; \
33706 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33707 $(TARGET_CONFIGARGS) $${srcdiroption} \
33708 || exit 1
33709 @endif target-zlib
33715 .PHONY: all-target-zlib maybe-all-target-zlib
33716 maybe-all-target-zlib:
33717 @if target-zlib
33718 TARGET-target-zlib=all
33719 maybe-all-target-zlib: all-target-zlib
33720 all-target-zlib: configure-target-zlib
33721 @$(unstage)
33722 @r=`${PWD_COMMAND}`; export r; \
33723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33724 $(NORMAL_TARGET_EXPORTS) \
33725 (cd $(TARGET_SUBDIR)/zlib && \
33726 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33727 @endif target-zlib
33733 .PHONY: check-target-zlib maybe-check-target-zlib
33734 maybe-check-target-zlib:
33735 @if target-zlib
33736 maybe-check-target-zlib: check-target-zlib
33738 check-target-zlib:
33739 @$(unstage)
33740 @r=`${PWD_COMMAND}`; export r; \
33741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33742 $(NORMAL_TARGET_EXPORTS) \
33743 (cd $(TARGET_SUBDIR)/zlib && \
33744 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33746 @endif target-zlib
33748 .PHONY: install-target-zlib maybe-install-target-zlib
33749 maybe-install-target-zlib:
33750 @if target-zlib
33751 maybe-install-target-zlib: install-target-zlib
33753 install-target-zlib: installdirs
33754 @$(unstage)
33755 @r=`${PWD_COMMAND}`; export r; \
33756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33757 $(NORMAL_TARGET_EXPORTS) \
33758 (cd $(TARGET_SUBDIR)/zlib && \
33759 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33761 @endif target-zlib
33763 # Other targets (info, dvi, etc.)
33765 .PHONY: maybe-info-target-zlib info-target-zlib
33766 maybe-info-target-zlib:
33767 @if target-zlib
33768 maybe-info-target-zlib: info-target-zlib
33770 info-target-zlib: \
33771 configure-target-zlib
33772 @$(unstage)
33773 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33774 r=`${PWD_COMMAND}`; export r; \
33775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33776 $(NORMAL_TARGET_EXPORTS) \
33777 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33778 for flag in $(EXTRA_TARGET_FLAGS); do \
33779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33780 done; \
33781 (cd $(TARGET_SUBDIR)/zlib && \
33782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33784 "RANLIB=$${RANLIB}" \
33785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33786 info) \
33787 || exit 1
33789 @endif target-zlib
33791 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33792 maybe-dvi-target-zlib:
33793 @if target-zlib
33794 maybe-dvi-target-zlib: dvi-target-zlib
33796 dvi-target-zlib: \
33797 configure-target-zlib
33798 @$(unstage)
33799 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33800 r=`${PWD_COMMAND}`; export r; \
33801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33802 $(NORMAL_TARGET_EXPORTS) \
33803 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33804 for flag in $(EXTRA_TARGET_FLAGS); do \
33805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33806 done; \
33807 (cd $(TARGET_SUBDIR)/zlib && \
33808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33810 "RANLIB=$${RANLIB}" \
33811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33812 dvi) \
33813 || exit 1
33815 @endif target-zlib
33817 .PHONY: maybe-html-target-zlib html-target-zlib
33818 maybe-html-target-zlib:
33819 @if target-zlib
33820 maybe-html-target-zlib: html-target-zlib
33822 html-target-zlib: \
33823 configure-target-zlib
33824 @$(unstage)
33825 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33826 r=`${PWD_COMMAND}`; export r; \
33827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33828 $(NORMAL_TARGET_EXPORTS) \
33829 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33830 for flag in $(EXTRA_TARGET_FLAGS); do \
33831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33832 done; \
33833 (cd $(TARGET_SUBDIR)/zlib && \
33834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33836 "RANLIB=$${RANLIB}" \
33837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33838 html) \
33839 || exit 1
33841 @endif target-zlib
33843 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33844 maybe-TAGS-target-zlib:
33845 @if target-zlib
33846 maybe-TAGS-target-zlib: TAGS-target-zlib
33848 TAGS-target-zlib: \
33849 configure-target-zlib
33850 @$(unstage)
33851 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33852 r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(NORMAL_TARGET_EXPORTS) \
33855 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33856 for flag in $(EXTRA_TARGET_FLAGS); do \
33857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33858 done; \
33859 (cd $(TARGET_SUBDIR)/zlib && \
33860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33862 "RANLIB=$${RANLIB}" \
33863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33864 TAGS) \
33865 || exit 1
33867 @endif target-zlib
33869 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33870 maybe-install-info-target-zlib:
33871 @if target-zlib
33872 maybe-install-info-target-zlib: install-info-target-zlib
33874 install-info-target-zlib: \
33875 configure-target-zlib \
33876 info-target-zlib
33877 @$(unstage)
33878 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33879 r=`${PWD_COMMAND}`; export r; \
33880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33881 $(NORMAL_TARGET_EXPORTS) \
33882 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33883 for flag in $(EXTRA_TARGET_FLAGS); do \
33884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33885 done; \
33886 (cd $(TARGET_SUBDIR)/zlib && \
33887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33889 "RANLIB=$${RANLIB}" \
33890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33891 install-info) \
33892 || exit 1
33894 @endif target-zlib
33896 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33897 maybe-installcheck-target-zlib:
33898 @if target-zlib
33899 maybe-installcheck-target-zlib: installcheck-target-zlib
33901 installcheck-target-zlib: \
33902 configure-target-zlib
33903 @$(unstage)
33904 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33905 r=`${PWD_COMMAND}`; export r; \
33906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33907 $(NORMAL_TARGET_EXPORTS) \
33908 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
33909 for flag in $(EXTRA_TARGET_FLAGS); do \
33910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33911 done; \
33912 (cd $(TARGET_SUBDIR)/zlib && \
33913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33915 "RANLIB=$${RANLIB}" \
33916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33917 installcheck) \
33918 || exit 1
33920 @endif target-zlib
33922 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
33923 maybe-mostlyclean-target-zlib:
33924 @if target-zlib
33925 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
33927 mostlyclean-target-zlib:
33928 @$(unstage)
33929 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33930 r=`${PWD_COMMAND}`; export r; \
33931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33932 $(NORMAL_TARGET_EXPORTS) \
33933 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
33934 for flag in $(EXTRA_TARGET_FLAGS); do \
33935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33936 done; \
33937 (cd $(TARGET_SUBDIR)/zlib && \
33938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33940 "RANLIB=$${RANLIB}" \
33941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33942 mostlyclean) \
33943 || exit 1
33945 @endif target-zlib
33947 .PHONY: maybe-clean-target-zlib clean-target-zlib
33948 maybe-clean-target-zlib:
33949 @if target-zlib
33950 maybe-clean-target-zlib: clean-target-zlib
33952 clean-target-zlib:
33953 @$(unstage)
33954 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33955 r=`${PWD_COMMAND}`; export r; \
33956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33957 $(NORMAL_TARGET_EXPORTS) \
33958 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
33959 for flag in $(EXTRA_TARGET_FLAGS); do \
33960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33961 done; \
33962 (cd $(TARGET_SUBDIR)/zlib && \
33963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33965 "RANLIB=$${RANLIB}" \
33966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33967 clean) \
33968 || exit 1
33970 @endif target-zlib
33972 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
33973 maybe-distclean-target-zlib:
33974 @if target-zlib
33975 maybe-distclean-target-zlib: distclean-target-zlib
33977 distclean-target-zlib:
33978 @$(unstage)
33979 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33980 r=`${PWD_COMMAND}`; export r; \
33981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33982 $(NORMAL_TARGET_EXPORTS) \
33983 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
33984 for flag in $(EXTRA_TARGET_FLAGS); do \
33985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33986 done; \
33987 (cd $(TARGET_SUBDIR)/zlib && \
33988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33990 "RANLIB=$${RANLIB}" \
33991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33992 distclean) \
33993 || exit 1
33995 @endif target-zlib
33997 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
33998 maybe-maintainer-clean-target-zlib:
33999 @if target-zlib
34000 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34002 maintainer-clean-target-zlib:
34003 @$(unstage)
34004 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34005 r=`${PWD_COMMAND}`; export r; \
34006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34007 $(NORMAL_TARGET_EXPORTS) \
34008 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34009 for flag in $(EXTRA_TARGET_FLAGS); do \
34010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34011 done; \
34012 (cd $(TARGET_SUBDIR)/zlib && \
34013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34015 "RANLIB=$${RANLIB}" \
34016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34017 maintainer-clean) \
34018 || exit 1
34020 @endif target-zlib
34024 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34025 @if target-boehm-gc
34026 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
34027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34028 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
34029 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
34030 @endif target-boehm-gc
34034 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34035 maybe-configure-target-boehm-gc:
34036 @if target-boehm-gc
34037 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34038 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
34039 @$(unstage)
34040 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34042 r=`${PWD_COMMAND}`; export r; \
34043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34044 $(NORMAL_TARGET_EXPORTS) \
34045 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34046 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34047 case $(srcdir) in \
34048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34049 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34051 esac; \
34052 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34053 libsrcdir="$$s/boehm-gc"; \
34054 rm -f no-such-file || : ; \
34055 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34056 $(TARGET_CONFIGARGS) $${srcdiroption} \
34057 || exit 1
34058 @endif target-boehm-gc
34064 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34065 maybe-all-target-boehm-gc:
34066 @if target-boehm-gc
34067 TARGET-target-boehm-gc=all
34068 maybe-all-target-boehm-gc: all-target-boehm-gc
34069 all-target-boehm-gc: configure-target-boehm-gc
34070 @$(unstage)
34071 @r=`${PWD_COMMAND}`; export r; \
34072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34073 $(NORMAL_TARGET_EXPORTS) \
34074 (cd $(TARGET_SUBDIR)/boehm-gc && \
34075 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34076 @endif target-boehm-gc
34082 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34083 maybe-check-target-boehm-gc:
34084 @if target-boehm-gc
34085 maybe-check-target-boehm-gc: check-target-boehm-gc
34087 check-target-boehm-gc:
34088 @$(unstage)
34089 @r=`${PWD_COMMAND}`; export r; \
34090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34091 $(NORMAL_TARGET_EXPORTS) \
34092 (cd $(TARGET_SUBDIR)/boehm-gc && \
34093 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34095 @endif target-boehm-gc
34097 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34098 maybe-install-target-boehm-gc:
34099 @if target-boehm-gc
34100 maybe-install-target-boehm-gc: install-target-boehm-gc
34102 install-target-boehm-gc: installdirs
34103 @$(unstage)
34104 @r=`${PWD_COMMAND}`; export r; \
34105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34106 $(NORMAL_TARGET_EXPORTS) \
34107 (cd $(TARGET_SUBDIR)/boehm-gc && \
34108 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34110 @endif target-boehm-gc
34112 # Other targets (info, dvi, etc.)
34114 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34115 maybe-info-target-boehm-gc:
34116 @if target-boehm-gc
34117 maybe-info-target-boehm-gc: info-target-boehm-gc
34119 info-target-boehm-gc: \
34120 configure-target-boehm-gc
34121 @$(unstage)
34122 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34123 r=`${PWD_COMMAND}`; export r; \
34124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34125 $(NORMAL_TARGET_EXPORTS) \
34126 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34127 for flag in $(EXTRA_TARGET_FLAGS); do \
34128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34129 done; \
34130 (cd $(TARGET_SUBDIR)/boehm-gc && \
34131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34133 "RANLIB=$${RANLIB}" \
34134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34135 info) \
34136 || exit 1
34138 @endif target-boehm-gc
34140 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34141 maybe-dvi-target-boehm-gc:
34142 @if target-boehm-gc
34143 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34145 dvi-target-boehm-gc: \
34146 configure-target-boehm-gc
34147 @$(unstage)
34148 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34149 r=`${PWD_COMMAND}`; export r; \
34150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34151 $(NORMAL_TARGET_EXPORTS) \
34152 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34153 for flag in $(EXTRA_TARGET_FLAGS); do \
34154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34155 done; \
34156 (cd $(TARGET_SUBDIR)/boehm-gc && \
34157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34159 "RANLIB=$${RANLIB}" \
34160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34161 dvi) \
34162 || exit 1
34164 @endif target-boehm-gc
34166 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34167 maybe-html-target-boehm-gc:
34168 @if target-boehm-gc
34169 maybe-html-target-boehm-gc: html-target-boehm-gc
34171 html-target-boehm-gc: \
34172 configure-target-boehm-gc
34173 @$(unstage)
34174 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34175 r=`${PWD_COMMAND}`; export r; \
34176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34177 $(NORMAL_TARGET_EXPORTS) \
34178 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34179 for flag in $(EXTRA_TARGET_FLAGS); do \
34180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34181 done; \
34182 (cd $(TARGET_SUBDIR)/boehm-gc && \
34183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34185 "RANLIB=$${RANLIB}" \
34186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34187 html) \
34188 || exit 1
34190 @endif target-boehm-gc
34192 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34193 maybe-TAGS-target-boehm-gc:
34194 @if target-boehm-gc
34195 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34197 TAGS-target-boehm-gc: \
34198 configure-target-boehm-gc
34199 @$(unstage)
34200 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34201 r=`${PWD_COMMAND}`; export r; \
34202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34203 $(NORMAL_TARGET_EXPORTS) \
34204 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34205 for flag in $(EXTRA_TARGET_FLAGS); do \
34206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34207 done; \
34208 (cd $(TARGET_SUBDIR)/boehm-gc && \
34209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34211 "RANLIB=$${RANLIB}" \
34212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34213 TAGS) \
34214 || exit 1
34216 @endif target-boehm-gc
34218 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34219 maybe-install-info-target-boehm-gc:
34220 @if target-boehm-gc
34221 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34223 install-info-target-boehm-gc: \
34224 configure-target-boehm-gc \
34225 info-target-boehm-gc
34226 @$(unstage)
34227 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34228 r=`${PWD_COMMAND}`; export r; \
34229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34230 $(NORMAL_TARGET_EXPORTS) \
34231 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34232 for flag in $(EXTRA_TARGET_FLAGS); do \
34233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34234 done; \
34235 (cd $(TARGET_SUBDIR)/boehm-gc && \
34236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34238 "RANLIB=$${RANLIB}" \
34239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34240 install-info) \
34241 || exit 1
34243 @endif target-boehm-gc
34245 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34246 maybe-installcheck-target-boehm-gc:
34247 @if target-boehm-gc
34248 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34250 installcheck-target-boehm-gc: \
34251 configure-target-boehm-gc
34252 @$(unstage)
34253 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34254 r=`${PWD_COMMAND}`; export r; \
34255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34256 $(NORMAL_TARGET_EXPORTS) \
34257 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34258 for flag in $(EXTRA_TARGET_FLAGS); do \
34259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34260 done; \
34261 (cd $(TARGET_SUBDIR)/boehm-gc && \
34262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34264 "RANLIB=$${RANLIB}" \
34265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34266 installcheck) \
34267 || exit 1
34269 @endif target-boehm-gc
34271 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34272 maybe-mostlyclean-target-boehm-gc:
34273 @if target-boehm-gc
34274 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34276 mostlyclean-target-boehm-gc:
34277 @$(unstage)
34278 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34279 r=`${PWD_COMMAND}`; export r; \
34280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34281 $(NORMAL_TARGET_EXPORTS) \
34282 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34283 for flag in $(EXTRA_TARGET_FLAGS); do \
34284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34285 done; \
34286 (cd $(TARGET_SUBDIR)/boehm-gc && \
34287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34289 "RANLIB=$${RANLIB}" \
34290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34291 mostlyclean) \
34292 || exit 1
34294 @endif target-boehm-gc
34296 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34297 maybe-clean-target-boehm-gc:
34298 @if target-boehm-gc
34299 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34301 clean-target-boehm-gc:
34302 @$(unstage)
34303 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34304 r=`${PWD_COMMAND}`; export r; \
34305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34306 $(NORMAL_TARGET_EXPORTS) \
34307 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34308 for flag in $(EXTRA_TARGET_FLAGS); do \
34309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34310 done; \
34311 (cd $(TARGET_SUBDIR)/boehm-gc && \
34312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34314 "RANLIB=$${RANLIB}" \
34315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34316 clean) \
34317 || exit 1
34319 @endif target-boehm-gc
34321 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34322 maybe-distclean-target-boehm-gc:
34323 @if target-boehm-gc
34324 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34326 distclean-target-boehm-gc:
34327 @$(unstage)
34328 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34329 r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 $(NORMAL_TARGET_EXPORTS) \
34332 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34333 for flag in $(EXTRA_TARGET_FLAGS); do \
34334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34335 done; \
34336 (cd $(TARGET_SUBDIR)/boehm-gc && \
34337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34339 "RANLIB=$${RANLIB}" \
34340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34341 distclean) \
34342 || exit 1
34344 @endif target-boehm-gc
34346 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34347 maybe-maintainer-clean-target-boehm-gc:
34348 @if target-boehm-gc
34349 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34351 maintainer-clean-target-boehm-gc:
34352 @$(unstage)
34353 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34354 r=`${PWD_COMMAND}`; export r; \
34355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34356 $(NORMAL_TARGET_EXPORTS) \
34357 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34358 for flag in $(EXTRA_TARGET_FLAGS); do \
34359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34360 done; \
34361 (cd $(TARGET_SUBDIR)/boehm-gc && \
34362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34364 "RANLIB=$${RANLIB}" \
34365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34366 maintainer-clean) \
34367 || exit 1
34369 @endif target-boehm-gc
34373 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34374 @if target-qthreads
34375 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
34376 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34377 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
34378 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
34379 @endif target-qthreads
34383 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34384 maybe-configure-target-qthreads:
34385 @if target-qthreads
34386 maybe-configure-target-qthreads: configure-target-qthreads
34387 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
34388 @$(unstage)
34389 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34391 r=`${PWD_COMMAND}`; export r; \
34392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34393 $(NORMAL_TARGET_EXPORTS) \
34394 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34395 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34396 case $(srcdir) in \
34397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34398 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34400 esac; \
34401 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34402 libsrcdir="$$s/qthreads"; \
34403 rm -f no-such-file || : ; \
34404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34405 $(TARGET_CONFIGARGS) $${srcdiroption} \
34406 || exit 1
34407 @endif target-qthreads
34413 .PHONY: all-target-qthreads maybe-all-target-qthreads
34414 maybe-all-target-qthreads:
34415 @if target-qthreads
34416 TARGET-target-qthreads=all
34417 maybe-all-target-qthreads: all-target-qthreads
34418 all-target-qthreads: configure-target-qthreads
34419 @$(unstage)
34420 @r=`${PWD_COMMAND}`; export r; \
34421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34422 $(NORMAL_TARGET_EXPORTS) \
34423 (cd $(TARGET_SUBDIR)/qthreads && \
34424 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34425 @endif target-qthreads
34431 .PHONY: check-target-qthreads maybe-check-target-qthreads
34432 maybe-check-target-qthreads:
34433 @if target-qthreads
34434 maybe-check-target-qthreads: check-target-qthreads
34436 check-target-qthreads:
34437 @$(unstage)
34438 @r=`${PWD_COMMAND}`; export r; \
34439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34440 $(NORMAL_TARGET_EXPORTS) \
34441 (cd $(TARGET_SUBDIR)/qthreads && \
34442 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34444 @endif target-qthreads
34446 .PHONY: install-target-qthreads maybe-install-target-qthreads
34447 maybe-install-target-qthreads:
34448 @if target-qthreads
34449 maybe-install-target-qthreads: install-target-qthreads
34451 install-target-qthreads: installdirs
34452 @$(unstage)
34453 @r=`${PWD_COMMAND}`; export r; \
34454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34455 $(NORMAL_TARGET_EXPORTS) \
34456 (cd $(TARGET_SUBDIR)/qthreads && \
34457 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34459 @endif target-qthreads
34461 # Other targets (info, dvi, etc.)
34463 .PHONY: maybe-info-target-qthreads info-target-qthreads
34464 maybe-info-target-qthreads:
34465 @if target-qthreads
34466 maybe-info-target-qthreads: info-target-qthreads
34468 info-target-qthreads: \
34469 configure-target-qthreads
34470 @$(unstage)
34471 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34472 r=`${PWD_COMMAND}`; export r; \
34473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34474 $(NORMAL_TARGET_EXPORTS) \
34475 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34476 for flag in $(EXTRA_TARGET_FLAGS); do \
34477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34478 done; \
34479 (cd $(TARGET_SUBDIR)/qthreads && \
34480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34482 "RANLIB=$${RANLIB}" \
34483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34484 info) \
34485 || exit 1
34487 @endif target-qthreads
34489 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34490 maybe-dvi-target-qthreads:
34491 @if target-qthreads
34492 maybe-dvi-target-qthreads: dvi-target-qthreads
34494 dvi-target-qthreads: \
34495 configure-target-qthreads
34496 @$(unstage)
34497 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(NORMAL_TARGET_EXPORTS) \
34501 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34502 for flag in $(EXTRA_TARGET_FLAGS); do \
34503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34504 done; \
34505 (cd $(TARGET_SUBDIR)/qthreads && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34510 dvi) \
34511 || exit 1
34513 @endif target-qthreads
34515 .PHONY: maybe-html-target-qthreads html-target-qthreads
34516 maybe-html-target-qthreads:
34517 @if target-qthreads
34518 maybe-html-target-qthreads: html-target-qthreads
34520 html-target-qthreads: \
34521 configure-target-qthreads
34522 @$(unstage)
34523 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34524 r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 $(NORMAL_TARGET_EXPORTS) \
34527 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34528 for flag in $(EXTRA_TARGET_FLAGS); do \
34529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34530 done; \
34531 (cd $(TARGET_SUBDIR)/qthreads && \
34532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34534 "RANLIB=$${RANLIB}" \
34535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34536 html) \
34537 || exit 1
34539 @endif target-qthreads
34541 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34542 maybe-TAGS-target-qthreads:
34543 @if target-qthreads
34544 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34546 TAGS-target-qthreads: \
34547 configure-target-qthreads
34548 @$(unstage)
34549 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34550 r=`${PWD_COMMAND}`; export r; \
34551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34552 $(NORMAL_TARGET_EXPORTS) \
34553 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34554 for flag in $(EXTRA_TARGET_FLAGS); do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 (cd $(TARGET_SUBDIR)/qthreads && \
34558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34560 "RANLIB=$${RANLIB}" \
34561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34562 TAGS) \
34563 || exit 1
34565 @endif target-qthreads
34567 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34568 maybe-install-info-target-qthreads:
34569 @if target-qthreads
34570 maybe-install-info-target-qthreads: install-info-target-qthreads
34572 install-info-target-qthreads: \
34573 configure-target-qthreads \
34574 info-target-qthreads
34575 @$(unstage)
34576 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34577 r=`${PWD_COMMAND}`; export r; \
34578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34579 $(NORMAL_TARGET_EXPORTS) \
34580 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34581 for flag in $(EXTRA_TARGET_FLAGS); do \
34582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34583 done; \
34584 (cd $(TARGET_SUBDIR)/qthreads && \
34585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34587 "RANLIB=$${RANLIB}" \
34588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34589 install-info) \
34590 || exit 1
34592 @endif target-qthreads
34594 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34595 maybe-installcheck-target-qthreads:
34596 @if target-qthreads
34597 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34599 installcheck-target-qthreads: \
34600 configure-target-qthreads
34601 @$(unstage)
34602 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34603 r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(NORMAL_TARGET_EXPORTS) \
34606 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34607 for flag in $(EXTRA_TARGET_FLAGS); do \
34608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34609 done; \
34610 (cd $(TARGET_SUBDIR)/qthreads && \
34611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34613 "RANLIB=$${RANLIB}" \
34614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34615 installcheck) \
34616 || exit 1
34618 @endif target-qthreads
34620 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34621 maybe-mostlyclean-target-qthreads:
34622 @if target-qthreads
34623 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34625 mostlyclean-target-qthreads:
34626 @$(unstage)
34627 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34628 r=`${PWD_COMMAND}`; export r; \
34629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34630 $(NORMAL_TARGET_EXPORTS) \
34631 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34632 for flag in $(EXTRA_TARGET_FLAGS); do \
34633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34634 done; \
34635 (cd $(TARGET_SUBDIR)/qthreads && \
34636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34638 "RANLIB=$${RANLIB}" \
34639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34640 mostlyclean) \
34641 || exit 1
34643 @endif target-qthreads
34645 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34646 maybe-clean-target-qthreads:
34647 @if target-qthreads
34648 maybe-clean-target-qthreads: clean-target-qthreads
34650 clean-target-qthreads:
34651 @$(unstage)
34652 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34653 r=`${PWD_COMMAND}`; export r; \
34654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34655 $(NORMAL_TARGET_EXPORTS) \
34656 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34657 for flag in $(EXTRA_TARGET_FLAGS); do \
34658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34659 done; \
34660 (cd $(TARGET_SUBDIR)/qthreads && \
34661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34663 "RANLIB=$${RANLIB}" \
34664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34665 clean) \
34666 || exit 1
34668 @endif target-qthreads
34670 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34671 maybe-distclean-target-qthreads:
34672 @if target-qthreads
34673 maybe-distclean-target-qthreads: distclean-target-qthreads
34675 distclean-target-qthreads:
34676 @$(unstage)
34677 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34678 r=`${PWD_COMMAND}`; export r; \
34679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34680 $(NORMAL_TARGET_EXPORTS) \
34681 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34682 for flag in $(EXTRA_TARGET_FLAGS); do \
34683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34684 done; \
34685 (cd $(TARGET_SUBDIR)/qthreads && \
34686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34688 "RANLIB=$${RANLIB}" \
34689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34690 distclean) \
34691 || exit 1
34693 @endif target-qthreads
34695 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34696 maybe-maintainer-clean-target-qthreads:
34697 @if target-qthreads
34698 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34700 maintainer-clean-target-qthreads:
34701 @$(unstage)
34702 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34703 r=`${PWD_COMMAND}`; export r; \
34704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34705 $(NORMAL_TARGET_EXPORTS) \
34706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34707 for flag in $(EXTRA_TARGET_FLAGS); do \
34708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34709 done; \
34710 (cd $(TARGET_SUBDIR)/qthreads && \
34711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34713 "RANLIB=$${RANLIB}" \
34714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34715 maintainer-clean) \
34716 || exit 1
34718 @endif target-qthreads
34722 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34723 @if target-rda
34724 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
34725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34726 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
34727 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
34728 @endif target-rda
34732 .PHONY: configure-target-rda maybe-configure-target-rda
34733 maybe-configure-target-rda:
34734 @if target-rda
34735 maybe-configure-target-rda: configure-target-rda
34736 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
34737 @$(unstage)
34738 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34739 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34740 r=`${PWD_COMMAND}`; export r; \
34741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34742 $(NORMAL_TARGET_EXPORTS) \
34743 echo Configuring in $(TARGET_SUBDIR)/rda; \
34744 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34745 case $(srcdir) in \
34746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34747 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34749 esac; \
34750 srcdiroption="--srcdir=$${topdir}/rda"; \
34751 libsrcdir="$$s/rda"; \
34752 rm -f no-such-file || : ; \
34753 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34754 $(TARGET_CONFIGARGS) $${srcdiroption} \
34755 || exit 1
34756 @endif target-rda
34762 .PHONY: all-target-rda maybe-all-target-rda
34763 maybe-all-target-rda:
34764 @if target-rda
34765 TARGET-target-rda=all
34766 maybe-all-target-rda: all-target-rda
34767 all-target-rda: configure-target-rda
34768 @$(unstage)
34769 @r=`${PWD_COMMAND}`; export r; \
34770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34771 $(NORMAL_TARGET_EXPORTS) \
34772 (cd $(TARGET_SUBDIR)/rda && \
34773 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34774 @endif target-rda
34780 .PHONY: check-target-rda maybe-check-target-rda
34781 maybe-check-target-rda:
34782 @if target-rda
34783 maybe-check-target-rda: check-target-rda
34785 check-target-rda:
34786 @$(unstage)
34787 @r=`${PWD_COMMAND}`; export r; \
34788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34789 $(NORMAL_TARGET_EXPORTS) \
34790 (cd $(TARGET_SUBDIR)/rda && \
34791 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34793 @endif target-rda
34795 .PHONY: install-target-rda maybe-install-target-rda
34796 maybe-install-target-rda:
34797 @if target-rda
34798 maybe-install-target-rda: install-target-rda
34800 install-target-rda: installdirs
34801 @$(unstage)
34802 @r=`${PWD_COMMAND}`; export r; \
34803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34804 $(NORMAL_TARGET_EXPORTS) \
34805 (cd $(TARGET_SUBDIR)/rda && \
34806 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34808 @endif target-rda
34810 # Other targets (info, dvi, etc.)
34812 .PHONY: maybe-info-target-rda info-target-rda
34813 maybe-info-target-rda:
34814 @if target-rda
34815 maybe-info-target-rda: info-target-rda
34817 info-target-rda: \
34818 configure-target-rda
34819 @$(unstage)
34820 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34821 r=`${PWD_COMMAND}`; export r; \
34822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34823 $(NORMAL_TARGET_EXPORTS) \
34824 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34825 for flag in $(EXTRA_TARGET_FLAGS); do \
34826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34827 done; \
34828 (cd $(TARGET_SUBDIR)/rda && \
34829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34831 "RANLIB=$${RANLIB}" \
34832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34833 info) \
34834 || exit 1
34836 @endif target-rda
34838 .PHONY: maybe-dvi-target-rda dvi-target-rda
34839 maybe-dvi-target-rda:
34840 @if target-rda
34841 maybe-dvi-target-rda: dvi-target-rda
34843 dvi-target-rda: \
34844 configure-target-rda
34845 @$(unstage)
34846 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34847 r=`${PWD_COMMAND}`; export r; \
34848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34849 $(NORMAL_TARGET_EXPORTS) \
34850 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34851 for flag in $(EXTRA_TARGET_FLAGS); do \
34852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34853 done; \
34854 (cd $(TARGET_SUBDIR)/rda && \
34855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34857 "RANLIB=$${RANLIB}" \
34858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34859 dvi) \
34860 || exit 1
34862 @endif target-rda
34864 .PHONY: maybe-html-target-rda html-target-rda
34865 maybe-html-target-rda:
34866 @if target-rda
34867 maybe-html-target-rda: html-target-rda
34869 html-target-rda: \
34870 configure-target-rda
34871 @$(unstage)
34872 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34873 r=`${PWD_COMMAND}`; export r; \
34874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34875 $(NORMAL_TARGET_EXPORTS) \
34876 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
34877 for flag in $(EXTRA_TARGET_FLAGS); do \
34878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34879 done; \
34880 (cd $(TARGET_SUBDIR)/rda && \
34881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34883 "RANLIB=$${RANLIB}" \
34884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34885 html) \
34886 || exit 1
34888 @endif target-rda
34890 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
34891 maybe-TAGS-target-rda:
34892 @if target-rda
34893 maybe-TAGS-target-rda: TAGS-target-rda
34895 TAGS-target-rda: \
34896 configure-target-rda
34897 @$(unstage)
34898 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34899 r=`${PWD_COMMAND}`; export r; \
34900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34901 $(NORMAL_TARGET_EXPORTS) \
34902 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
34903 for flag in $(EXTRA_TARGET_FLAGS); do \
34904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34905 done; \
34906 (cd $(TARGET_SUBDIR)/rda && \
34907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34909 "RANLIB=$${RANLIB}" \
34910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34911 TAGS) \
34912 || exit 1
34914 @endif target-rda
34916 .PHONY: maybe-install-info-target-rda install-info-target-rda
34917 maybe-install-info-target-rda:
34918 @if target-rda
34919 maybe-install-info-target-rda: install-info-target-rda
34921 install-info-target-rda: \
34922 configure-target-rda \
34923 info-target-rda
34924 @$(unstage)
34925 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34926 r=`${PWD_COMMAND}`; export r; \
34927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34928 $(NORMAL_TARGET_EXPORTS) \
34929 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 install-info) \
34939 || exit 1
34941 @endif target-rda
34943 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
34944 maybe-installcheck-target-rda:
34945 @if target-rda
34946 maybe-installcheck-target-rda: installcheck-target-rda
34948 installcheck-target-rda: \
34949 configure-target-rda
34950 @$(unstage)
34951 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34952 r=`${PWD_COMMAND}`; export r; \
34953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34954 $(NORMAL_TARGET_EXPORTS) \
34955 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 installcheck) \
34965 || exit 1
34967 @endif target-rda
34969 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
34970 maybe-mostlyclean-target-rda:
34971 @if target-rda
34972 maybe-mostlyclean-target-rda: mostlyclean-target-rda
34974 mostlyclean-target-rda:
34975 @$(unstage)
34976 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34977 r=`${PWD_COMMAND}`; export r; \
34978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34979 $(NORMAL_TARGET_EXPORTS) \
34980 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
34981 for flag in $(EXTRA_TARGET_FLAGS); do \
34982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34983 done; \
34984 (cd $(TARGET_SUBDIR)/rda && \
34985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34987 "RANLIB=$${RANLIB}" \
34988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34989 mostlyclean) \
34990 || exit 1
34992 @endif target-rda
34994 .PHONY: maybe-clean-target-rda clean-target-rda
34995 maybe-clean-target-rda:
34996 @if target-rda
34997 maybe-clean-target-rda: clean-target-rda
34999 clean-target-rda:
35000 @$(unstage)
35001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35002 r=`${PWD_COMMAND}`; export r; \
35003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35004 $(NORMAL_TARGET_EXPORTS) \
35005 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35006 for flag in $(EXTRA_TARGET_FLAGS); do \
35007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35008 done; \
35009 (cd $(TARGET_SUBDIR)/rda && \
35010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35012 "RANLIB=$${RANLIB}" \
35013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35014 clean) \
35015 || exit 1
35017 @endif target-rda
35019 .PHONY: maybe-distclean-target-rda distclean-target-rda
35020 maybe-distclean-target-rda:
35021 @if target-rda
35022 maybe-distclean-target-rda: distclean-target-rda
35024 distclean-target-rda:
35025 @$(unstage)
35026 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35027 r=`${PWD_COMMAND}`; export r; \
35028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35029 $(NORMAL_TARGET_EXPORTS) \
35030 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35031 for flag in $(EXTRA_TARGET_FLAGS); do \
35032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35033 done; \
35034 (cd $(TARGET_SUBDIR)/rda && \
35035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35037 "RANLIB=$${RANLIB}" \
35038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35039 distclean) \
35040 || exit 1
35042 @endif target-rda
35044 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35045 maybe-maintainer-clean-target-rda:
35046 @if target-rda
35047 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35049 maintainer-clean-target-rda:
35050 @$(unstage)
35051 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35052 r=`${PWD_COMMAND}`; export r; \
35053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35054 $(NORMAL_TARGET_EXPORTS) \
35055 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35056 for flag in $(EXTRA_TARGET_FLAGS); do \
35057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35058 done; \
35059 (cd $(TARGET_SUBDIR)/rda && \
35060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35062 "RANLIB=$${RANLIB}" \
35063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35064 maintainer-clean) \
35065 || exit 1
35067 @endif target-rda
35071 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
35072 @if target-libada
35073 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
35074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35075 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
35076 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
35077 @endif target-libada
35081 .PHONY: configure-target-libada maybe-configure-target-libada
35082 maybe-configure-target-libada:
35083 @if target-libada
35084 maybe-configure-target-libada: configure-target-libada
35085 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
35086 @$(unstage)
35087 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35088 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35089 r=`${PWD_COMMAND}`; export r; \
35090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35091 $(NORMAL_TARGET_EXPORTS) \
35092 echo Configuring in $(TARGET_SUBDIR)/libada; \
35093 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35094 case $(srcdir) in \
35095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35096 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35098 esac; \
35099 srcdiroption="--srcdir=$${topdir}/libada"; \
35100 libsrcdir="$$s/libada"; \
35101 rm -f no-such-file || : ; \
35102 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35103 $(TARGET_CONFIGARGS) $${srcdiroption} \
35104 || exit 1
35105 @endif target-libada
35111 .PHONY: all-target-libada maybe-all-target-libada
35112 maybe-all-target-libada:
35113 @if target-libada
35114 TARGET-target-libada=all
35115 maybe-all-target-libada: all-target-libada
35116 all-target-libada: configure-target-libada
35117 @$(unstage)
35118 @r=`${PWD_COMMAND}`; export r; \
35119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35120 $(NORMAL_TARGET_EXPORTS) \
35121 (cd $(TARGET_SUBDIR)/libada && \
35122 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35123 @endif target-libada
35129 .PHONY: check-target-libada maybe-check-target-libada
35130 maybe-check-target-libada:
35131 @if target-libada
35132 maybe-check-target-libada: check-target-libada
35134 check-target-libada:
35135 @$(unstage)
35136 @r=`${PWD_COMMAND}`; export r; \
35137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35138 $(NORMAL_TARGET_EXPORTS) \
35139 (cd $(TARGET_SUBDIR)/libada && \
35140 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35142 @endif target-libada
35144 .PHONY: install-target-libada maybe-install-target-libada
35145 maybe-install-target-libada:
35146 @if target-libada
35147 maybe-install-target-libada: install-target-libada
35149 install-target-libada: installdirs
35150 @$(unstage)
35151 @r=`${PWD_COMMAND}`; export r; \
35152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35153 $(NORMAL_TARGET_EXPORTS) \
35154 (cd $(TARGET_SUBDIR)/libada && \
35155 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35157 @endif target-libada
35159 # Other targets (info, dvi, etc.)
35161 .PHONY: maybe-info-target-libada info-target-libada
35162 maybe-info-target-libada:
35163 @if target-libada
35164 maybe-info-target-libada: info-target-libada
35166 info-target-libada: \
35167 configure-target-libada
35168 @$(unstage)
35169 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35170 r=`${PWD_COMMAND}`; export r; \
35171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35172 $(NORMAL_TARGET_EXPORTS) \
35173 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35174 for flag in $(EXTRA_TARGET_FLAGS); do \
35175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35176 done; \
35177 (cd $(TARGET_SUBDIR)/libada && \
35178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35180 "RANLIB=$${RANLIB}" \
35181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35182 info) \
35183 || exit 1
35185 @endif target-libada
35187 .PHONY: maybe-dvi-target-libada dvi-target-libada
35188 maybe-dvi-target-libada:
35189 @if target-libada
35190 maybe-dvi-target-libada: dvi-target-libada
35192 dvi-target-libada: \
35193 configure-target-libada
35194 @$(unstage)
35195 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35196 r=`${PWD_COMMAND}`; export r; \
35197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35198 $(NORMAL_TARGET_EXPORTS) \
35199 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35200 for flag in $(EXTRA_TARGET_FLAGS); do \
35201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35202 done; \
35203 (cd $(TARGET_SUBDIR)/libada && \
35204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35206 "RANLIB=$${RANLIB}" \
35207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35208 dvi) \
35209 || exit 1
35211 @endif target-libada
35213 .PHONY: maybe-html-target-libada html-target-libada
35214 maybe-html-target-libada:
35215 @if target-libada
35216 maybe-html-target-libada: html-target-libada
35218 html-target-libada: \
35219 configure-target-libada
35220 @$(unstage)
35221 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35222 r=`${PWD_COMMAND}`; export r; \
35223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35224 $(NORMAL_TARGET_EXPORTS) \
35225 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35226 for flag in $(EXTRA_TARGET_FLAGS); do \
35227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35228 done; \
35229 (cd $(TARGET_SUBDIR)/libada && \
35230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35232 "RANLIB=$${RANLIB}" \
35233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35234 html) \
35235 || exit 1
35237 @endif target-libada
35239 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35240 maybe-TAGS-target-libada:
35241 @if target-libada
35242 maybe-TAGS-target-libada: TAGS-target-libada
35244 TAGS-target-libada: \
35245 configure-target-libada
35246 @$(unstage)
35247 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35248 r=`${PWD_COMMAND}`; export r; \
35249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35250 $(NORMAL_TARGET_EXPORTS) \
35251 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35252 for flag in $(EXTRA_TARGET_FLAGS); do \
35253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35254 done; \
35255 (cd $(TARGET_SUBDIR)/libada && \
35256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35258 "RANLIB=$${RANLIB}" \
35259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35260 TAGS) \
35261 || exit 1
35263 @endif target-libada
35265 .PHONY: maybe-install-info-target-libada install-info-target-libada
35266 maybe-install-info-target-libada:
35267 @if target-libada
35268 maybe-install-info-target-libada: install-info-target-libada
35270 install-info-target-libada: \
35271 configure-target-libada \
35272 info-target-libada
35273 @$(unstage)
35274 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35275 r=`${PWD_COMMAND}`; export r; \
35276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35277 $(NORMAL_TARGET_EXPORTS) \
35278 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35279 for flag in $(EXTRA_TARGET_FLAGS); do \
35280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35281 done; \
35282 (cd $(TARGET_SUBDIR)/libada && \
35283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35285 "RANLIB=$${RANLIB}" \
35286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35287 install-info) \
35288 || exit 1
35290 @endif target-libada
35292 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35293 maybe-installcheck-target-libada:
35294 @if target-libada
35295 maybe-installcheck-target-libada: installcheck-target-libada
35297 installcheck-target-libada: \
35298 configure-target-libada
35299 @$(unstage)
35300 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35301 r=`${PWD_COMMAND}`; export r; \
35302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35303 $(NORMAL_TARGET_EXPORTS) \
35304 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35305 for flag in $(EXTRA_TARGET_FLAGS); do \
35306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35307 done; \
35308 (cd $(TARGET_SUBDIR)/libada && \
35309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35311 "RANLIB=$${RANLIB}" \
35312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35313 installcheck) \
35314 || exit 1
35316 @endif target-libada
35318 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35319 maybe-mostlyclean-target-libada:
35320 @if target-libada
35321 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35323 mostlyclean-target-libada:
35324 @$(unstage)
35325 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35326 r=`${PWD_COMMAND}`; export r; \
35327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35328 $(NORMAL_TARGET_EXPORTS) \
35329 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35330 for flag in $(EXTRA_TARGET_FLAGS); do \
35331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35332 done; \
35333 (cd $(TARGET_SUBDIR)/libada && \
35334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35336 "RANLIB=$${RANLIB}" \
35337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35338 mostlyclean) \
35339 || exit 1
35341 @endif target-libada
35343 .PHONY: maybe-clean-target-libada clean-target-libada
35344 maybe-clean-target-libada:
35345 @if target-libada
35346 maybe-clean-target-libada: clean-target-libada
35348 clean-target-libada:
35349 @$(unstage)
35350 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35351 r=`${PWD_COMMAND}`; export r; \
35352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35353 $(NORMAL_TARGET_EXPORTS) \
35354 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35355 for flag in $(EXTRA_TARGET_FLAGS); do \
35356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35357 done; \
35358 (cd $(TARGET_SUBDIR)/libada && \
35359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35361 "RANLIB=$${RANLIB}" \
35362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35363 clean) \
35364 || exit 1
35366 @endif target-libada
35368 .PHONY: maybe-distclean-target-libada distclean-target-libada
35369 maybe-distclean-target-libada:
35370 @if target-libada
35371 maybe-distclean-target-libada: distclean-target-libada
35373 distclean-target-libada:
35374 @$(unstage)
35375 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35376 r=`${PWD_COMMAND}`; export r; \
35377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35378 $(NORMAL_TARGET_EXPORTS) \
35379 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 distclean) \
35389 || exit 1
35391 @endif target-libada
35393 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35394 maybe-maintainer-clean-target-libada:
35395 @if target-libada
35396 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35398 maintainer-clean-target-libada:
35399 @$(unstage)
35400 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35401 r=`${PWD_COMMAND}`; export r; \
35402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35403 $(NORMAL_TARGET_EXPORTS) \
35404 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35405 for flag in $(EXTRA_TARGET_FLAGS); do \
35406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35407 done; \
35408 (cd $(TARGET_SUBDIR)/libada && \
35409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35411 "RANLIB=$${RANLIB}" \
35412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35413 maintainer-clean) \
35414 || exit 1
35416 @endif target-libada
35420 # ----------
35421 # GCC module
35422 # ----------
35424 @if gcc-no-bootstrap
35425 # GCC has some more recursive targets, which trigger the old
35426 # (but still current, until the toplevel bootstrap project
35427 # is finished) compiler bootstrapping rules.
35429 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35430 .PHONY: $(GCC_STRAP_TARGETS)
35431 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35432 @r=`${PWD_COMMAND}`; export r; \
35433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35434 $(HOST_EXPORTS) \
35435 echo "Bootstrapping the compiler"; \
35436 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35437 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35438 @r=`${PWD_COMMAND}`; export r; \
35439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35440 case "$@" in \
35441 *bootstrap4-lean ) \
35442 msg="Comparing stage3 and stage4 of the compiler"; \
35443 compare=compare3-lean ;; \
35444 *bootstrap4 ) \
35445 msg="Comparing stage3 and stage4 of the compiler"; \
35446 compare=compare3 ;; \
35447 *-lean ) \
35448 msg="Comparing stage2 and stage3 of the compiler"; \
35449 compare=compare-lean ;; \
35450 * ) \
35451 msg="Comparing stage2 and stage3 of the compiler"; \
35452 compare=compare ;; \
35453 esac; \
35454 $(HOST_EXPORTS) \
35455 echo "$$msg"; \
35456 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35457 @r=`${PWD_COMMAND}`; export r; \
35458 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35459 echo "Building runtime libraries"; \
35460 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35462 profiledbootstrap: all-prebootstrap configure-gcc
35463 @r=`${PWD_COMMAND}`; export r; \
35464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35465 $(HOST_EXPORTS) \
35466 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35467 echo "Bootstrapping training compiler"; \
35468 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35469 @r=`${PWD_COMMAND}`; export r; \
35470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35471 $(HOST_EXPORTS) \
35472 echo "Building feedback based compiler"; \
35473 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35474 @r=`${PWD_COMMAND}`; export r; \
35475 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35476 echo "Building runtime libraries"; \
35477 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35479 .PHONY: cross
35480 cross: all-build all-gas all-ld
35481 @r=`${PWD_COMMAND}`; export r; \
35482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35483 $(HOST_EXPORTS) \
35484 echo "Building the C and C++ compiler"; \
35485 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35486 @r=`${PWD_COMMAND}`; export r; \
35487 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35488 echo "Building runtime libraries"; \
35489 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35490 @endif gcc-no-bootstrap
35492 @if gcc
35493 .PHONY: check-gcc-c++
35494 check-gcc-c++:
35495 @if [ -f ./gcc/Makefile ] ; then \
35496 r=`${PWD_COMMAND}`; export r; \
35497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35498 $(HOST_EXPORTS) \
35499 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35500 else \
35501 true; \
35504 .PHONY: check-c++
35505 check-c++: check-target-libstdc++-v3 check-gcc-c++
35507 # Install the gcc headers files, but not the fixed include files,
35508 # which Cygnus is not allowed to distribute. This rule is very
35509 # dependent on the workings of the gcc Makefile.in.
35510 .PHONY: gcc-no-fixedincludes
35511 gcc-no-fixedincludes:
35512 @if [ -f ./gcc/Makefile ]; then \
35513 rm -rf gcc/tmp-include; \
35514 mv gcc/include gcc/tmp-include 2>/dev/null; \
35515 mkdir gcc/include; \
35516 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35517 touch gcc/stmp-fixinc gcc/include/fixed; \
35518 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35519 r=`${PWD_COMMAND}`; export r; \
35520 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35521 $(HOST_EXPORTS) \
35522 (cd ./gcc && \
35523 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35524 rm -rf gcc/include; \
35525 mv gcc/tmp-include gcc/include 2>/dev/null; \
35526 else true; fi
35527 @endif gcc
35529 # ---------------------
35530 # GCC bootstrap support
35531 # ---------------------
35533 # We track the current stage (the one in 'gcc') in the stage_current file.
35534 # stage_last instead tracks the stage that was built last. These targets
35535 # are dummy when toplevel bootstrap is not active.
35537 # While making host and target tools, symlinks to the final stage must be
35538 # there, so $(MAKE) $(unstage) should be run at various points. To avoid
35539 # excessive recursive invocations of make, we "inline" them using a variable.
35541 unstage = :
35542 stage = :
35544 @if gcc-bootstrap
35545 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35546 stage = [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35547 @endif gcc-bootstrap
35549 .PHONY: unstage stage
35550 unstage:
35551 @$(unstage)
35552 stage:
35553 @$(stage)
35555 # We name the build directories for the various stages "stage1-gcc",
35556 # "stage2-gcc","stage3-gcc", etc.
35558 # Since the 'compare' process will fail (on debugging information) if any
35559 # directory names are different, we need to link the gcc directory for
35560 # the previous stage to a constant name ('gcc-prev'), and to make the name of
35561 # the build directories constant as well. For the latter, we use naked names
35562 # like 'gcc', because the scripts in that directory assume it. We use
35563 # mv on platforms where symlinks to directories do not work or are not
35564 # reliable.
35566 # 'touch' doesn't work right on some platforms.
35567 STAMP = echo timestamp >
35569 # Only build the C compiler for stage1, because that is the only one that
35570 # we can guarantee will build with the native compiler, and also it is the
35571 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35572 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35573 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35575 STAGE1_CFLAGS=@stage1_cflags@
35576 STAGE1_LANGUAGES=@stage1_languages@
35578 # We only want to compare .o files, so set this!
35579 objext = .o
35581 # Flags to pass to stage2 and later makes.
35582 POSTSTAGE1_FLAGS_TO_PASS = \
35583 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35584 STAGE_PREFIX=$$r/prev-gcc/ \
35585 CFLAGS="$(BOOT_CFLAGS)" \
35586 ADAC="\$$(CC)"
35588 # For stage 1:
35589 # * We force-disable intermodule optimizations, even if
35590 # --enable-intermodule was passed, since the installed compiler probably
35591 # can't handle them. Luckily, autoconf always respects
35592 # the last argument when conflicting --enable arguments are passed.
35593 # * Likewise, we force-disable coverage flags, since the installed compiler
35594 # probably has never heard of them.
35595 # * We build only C (and possibly Ada).
35598 .PHONY: stage1-start stage1-end
35600 stage1-start::
35601 @$(stage); \
35602 echo stage1 > stage_current ; \
35603 echo stage1 > stage_last; \
35604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35605 @if bfd
35606 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35607 mkdir stage1-bfd; \
35608 set stage1-bfd bfd ; \
35609 @CREATE_LINK_TO_DIR@
35610 @endif bfd
35611 @if opcodes
35612 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35613 mkdir stage1-opcodes; \
35614 set stage1-opcodes opcodes ; \
35615 @CREATE_LINK_TO_DIR@
35616 @endif opcodes
35617 @if binutils
35618 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35619 mkdir stage1-binutils; \
35620 set stage1-binutils binutils ; \
35621 @CREATE_LINK_TO_DIR@
35622 @endif binutils
35623 @if gas
35624 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35625 mkdir stage1-gas; \
35626 set stage1-gas gas ; \
35627 @CREATE_LINK_TO_DIR@
35628 @endif gas
35629 @if gcc
35630 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35631 mkdir stage1-gcc; \
35632 set stage1-gcc gcc ; \
35633 @CREATE_LINK_TO_DIR@
35634 @endif gcc
35635 @if intl
35636 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35637 mkdir stage1-intl; \
35638 set stage1-intl intl ; \
35639 @CREATE_LINK_TO_DIR@
35640 @endif intl
35641 @if ld
35642 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35643 mkdir stage1-ld; \
35644 set stage1-ld ld ; \
35645 @CREATE_LINK_TO_DIR@
35646 @endif ld
35647 @if libcpp
35648 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35649 mkdir stage1-libcpp; \
35650 set stage1-libcpp libcpp ; \
35651 @CREATE_LINK_TO_DIR@
35652 @endif libcpp
35653 @if libdecnumber
35654 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
35655 mkdir stage1-libdecnumber; \
35656 set stage1-libdecnumber libdecnumber ; \
35657 @CREATE_LINK_TO_DIR@
35658 @endif libdecnumber
35659 @if libiberty
35660 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35661 mkdir stage1-libiberty; \
35662 set stage1-libiberty libiberty ; \
35663 @CREATE_LINK_TO_DIR@
35664 @endif libiberty
35665 @if zlib
35666 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35667 mkdir stage1-zlib; \
35668 set stage1-zlib zlib ; \
35669 @CREATE_LINK_TO_DIR@
35670 @endif zlib
35672 stage1-end::
35673 @rm -f stage_current
35674 @if bfd
35675 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35676 @UNDO_LINK_TO_DIR@
35677 @endif bfd
35678 @if opcodes
35679 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35680 @UNDO_LINK_TO_DIR@
35681 @endif opcodes
35682 @if binutils
35683 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35684 @UNDO_LINK_TO_DIR@
35685 @endif binutils
35686 @if gas
35687 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
35688 @UNDO_LINK_TO_DIR@
35689 @endif gas
35690 @if gcc
35691 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35692 @UNDO_LINK_TO_DIR@
35693 @endif gcc
35694 @if intl
35695 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
35696 @UNDO_LINK_TO_DIR@
35697 @endif intl
35698 @if ld
35699 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
35700 @UNDO_LINK_TO_DIR@
35701 @endif ld
35702 @if libcpp
35703 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35704 @UNDO_LINK_TO_DIR@
35705 @endif libcpp
35706 @if libdecnumber
35707 @cd $(HOST_SUBDIR); set libdecnumber stage1-libdecnumber ; \
35708 @UNDO_LINK_TO_DIR@
35709 @endif libdecnumber
35710 @if libiberty
35711 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35712 @UNDO_LINK_TO_DIR@
35713 @endif libiberty
35714 @if zlib
35715 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35716 @UNDO_LINK_TO_DIR@
35717 @endif zlib
35719 # Bubble a bugfix through all the stages up to stage 1. They
35720 # are remade, but not reconfigured. The next stage (if any) will not
35721 # be reconfigured as well.
35722 .PHONY: stage1-bubble
35723 stage1-bubble::
35724 @r=`${PWD_COMMAND}`; export r; \
35725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35726 if test -f stage1-lean ; then \
35727 echo Skipping rebuild of stage1 ; \
35728 else \
35729 $(MAKE) stage1-start; \
35730 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35733 .PHONY: all-stage1 clean-stage1
35734 do-clean: clean-stage1
35736 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35737 # only possibility, but now it conflicts with no-bootstrap rules
35738 @if gcc-bootstrap
35743 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35745 .PHONY: distclean-stage1
35746 distclean-stage1::
35747 @$(stage)
35748 rm -rf stage1-*
35751 @endif gcc-bootstrap
35754 .PHONY: stage2-start stage2-end
35756 stage2-start::
35757 @$(stage); \
35758 echo stage2 > stage_current ; \
35759 echo stage2 > stage_last; \
35760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35761 @if bfd
35762 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35763 mkdir stage2-bfd; \
35764 set stage2-bfd bfd ; \
35765 @CREATE_LINK_TO_DIR@ ; \
35766 set stage1-bfd prev-bfd ; \
35767 @CREATE_LINK_TO_DIR@
35768 @endif bfd
35769 @if opcodes
35770 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35771 mkdir stage2-opcodes; \
35772 set stage2-opcodes opcodes ; \
35773 @CREATE_LINK_TO_DIR@ ; \
35774 set stage1-opcodes prev-opcodes ; \
35775 @CREATE_LINK_TO_DIR@
35776 @endif opcodes
35777 @if binutils
35778 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35779 mkdir stage2-binutils; \
35780 set stage2-binutils binutils ; \
35781 @CREATE_LINK_TO_DIR@ ; \
35782 set stage1-binutils prev-binutils ; \
35783 @CREATE_LINK_TO_DIR@
35784 @endif binutils
35785 @if gas
35786 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35787 mkdir stage2-gas; \
35788 set stage2-gas gas ; \
35789 @CREATE_LINK_TO_DIR@ ; \
35790 set stage1-gas prev-gas ; \
35791 @CREATE_LINK_TO_DIR@
35792 @endif gas
35793 @if gcc
35794 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35795 mkdir stage2-gcc; \
35796 set stage2-gcc gcc ; \
35797 @CREATE_LINK_TO_DIR@ ; \
35798 set stage1-gcc prev-gcc ; \
35799 @CREATE_LINK_TO_DIR@
35800 @endif gcc
35801 @if intl
35802 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35803 mkdir stage2-intl; \
35804 set stage2-intl intl ; \
35805 @CREATE_LINK_TO_DIR@ ; \
35806 set stage1-intl prev-intl ; \
35807 @CREATE_LINK_TO_DIR@
35808 @endif intl
35809 @if ld
35810 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35811 mkdir stage2-ld; \
35812 set stage2-ld ld ; \
35813 @CREATE_LINK_TO_DIR@ ; \
35814 set stage1-ld prev-ld ; \
35815 @CREATE_LINK_TO_DIR@
35816 @endif ld
35817 @if libcpp
35818 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35819 mkdir stage2-libcpp; \
35820 set stage2-libcpp libcpp ; \
35821 @CREATE_LINK_TO_DIR@ ; \
35822 set stage1-libcpp prev-libcpp ; \
35823 @CREATE_LINK_TO_DIR@
35824 @endif libcpp
35825 @if libdecnumber
35826 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
35827 mkdir stage2-libdecnumber; \
35828 set stage2-libdecnumber libdecnumber ; \
35829 @CREATE_LINK_TO_DIR@ ; \
35830 set stage1-libdecnumber prev-libdecnumber ; \
35831 @CREATE_LINK_TO_DIR@
35832 @endif libdecnumber
35833 @if libiberty
35834 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
35835 mkdir stage2-libiberty; \
35836 set stage2-libiberty libiberty ; \
35837 @CREATE_LINK_TO_DIR@ ; \
35838 set stage1-libiberty prev-libiberty ; \
35839 @CREATE_LINK_TO_DIR@
35840 @endif libiberty
35841 @if zlib
35842 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
35843 mkdir stage2-zlib; \
35844 set stage2-zlib zlib ; \
35845 @CREATE_LINK_TO_DIR@ ; \
35846 set stage1-zlib prev-zlib ; \
35847 @CREATE_LINK_TO_DIR@
35848 @endif zlib
35850 stage2-end::
35851 @rm -f stage_current
35852 @if bfd
35853 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
35854 @UNDO_LINK_TO_DIR@ ; \
35855 set prev-bfd stage1-bfd ; \
35856 @UNDO_LINK_TO_DIR@
35857 @endif bfd
35858 @if opcodes
35859 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
35860 @UNDO_LINK_TO_DIR@ ; \
35861 set prev-opcodes stage1-opcodes ; \
35862 @UNDO_LINK_TO_DIR@
35863 @endif opcodes
35864 @if binutils
35865 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
35866 @UNDO_LINK_TO_DIR@ ; \
35867 set prev-binutils stage1-binutils ; \
35868 @UNDO_LINK_TO_DIR@
35869 @endif binutils
35870 @if gas
35871 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
35872 @UNDO_LINK_TO_DIR@ ; \
35873 set prev-gas stage1-gas ; \
35874 @UNDO_LINK_TO_DIR@
35875 @endif gas
35876 @if gcc
35877 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
35878 @UNDO_LINK_TO_DIR@ ; \
35879 set prev-gcc stage1-gcc ; \
35880 @UNDO_LINK_TO_DIR@
35881 @endif gcc
35882 @if intl
35883 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
35884 @UNDO_LINK_TO_DIR@ ; \
35885 set prev-intl stage1-intl ; \
35886 @UNDO_LINK_TO_DIR@
35887 @endif intl
35888 @if ld
35889 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
35890 @UNDO_LINK_TO_DIR@ ; \
35891 set prev-ld stage1-ld ; \
35892 @UNDO_LINK_TO_DIR@
35893 @endif ld
35894 @if libcpp
35895 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
35896 @UNDO_LINK_TO_DIR@ ; \
35897 set prev-libcpp stage1-libcpp ; \
35898 @UNDO_LINK_TO_DIR@
35899 @endif libcpp
35900 @if libdecnumber
35901 @cd $(HOST_SUBDIR); set libdecnumber stage2-libdecnumber ; \
35902 @UNDO_LINK_TO_DIR@ ; \
35903 set prev-libdecnumber stage1-libdecnumber ; \
35904 @UNDO_LINK_TO_DIR@
35905 @endif libdecnumber
35906 @if libiberty
35907 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
35908 @UNDO_LINK_TO_DIR@ ; \
35909 set prev-libiberty stage1-libiberty ; \
35910 @UNDO_LINK_TO_DIR@
35911 @endif libiberty
35912 @if zlib
35913 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
35914 @UNDO_LINK_TO_DIR@ ; \
35915 set prev-zlib stage1-zlib ; \
35916 @UNDO_LINK_TO_DIR@
35917 @endif zlib
35919 # Bubble a bugfix through all the stages up to stage 2. They
35920 # are remade, but not reconfigured. The next stage (if any) will not
35921 # be reconfigured as well.
35922 .PHONY: stage2-bubble
35923 stage2-bubble:: stage1-bubble
35924 @r=`${PWD_COMMAND}`; export r; \
35925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35926 if test -f stage2-lean || test -f stage1-lean ; then \
35927 echo Skipping rebuild of stage2 ; \
35928 else \
35929 $(MAKE) stage2-start; \
35930 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
35933 .PHONY: all-stage2 clean-stage2
35934 do-clean: clean-stage2
35936 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35937 # only possibility, but now it conflicts with no-bootstrap rules
35938 @if gcc-bootstrap
35942 .PHONY: bootstrap2
35943 bootstrap2:
35944 echo stage2 > stage_final
35945 @r=`${PWD_COMMAND}`; export r; \
35946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35947 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
35948 @$(unstage)
35949 @r=`${PWD_COMMAND}`; export r; \
35950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35951 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
35952 @$(stage)
35955 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35956 distclean-stage1:: distclean-stage2
35957 .PHONY: distclean-stage2
35958 distclean-stage2::
35959 @$(stage)
35960 rm -rf stage2-*
35963 @endif gcc-bootstrap
35966 .PHONY: stage3-start stage3-end
35968 stage3-start::
35969 @$(stage); \
35970 echo stage3 > stage_current ; \
35971 echo stage3 > stage_last; \
35972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35973 @if bfd
35974 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
35975 mkdir stage3-bfd; \
35976 set stage3-bfd bfd ; \
35977 @CREATE_LINK_TO_DIR@ ; \
35978 set stage2-bfd prev-bfd ; \
35979 @CREATE_LINK_TO_DIR@
35980 @endif bfd
35981 @if opcodes
35982 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
35983 mkdir stage3-opcodes; \
35984 set stage3-opcodes opcodes ; \
35985 @CREATE_LINK_TO_DIR@ ; \
35986 set stage2-opcodes prev-opcodes ; \
35987 @CREATE_LINK_TO_DIR@
35988 @endif opcodes
35989 @if binutils
35990 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
35991 mkdir stage3-binutils; \
35992 set stage3-binutils binutils ; \
35993 @CREATE_LINK_TO_DIR@ ; \
35994 set stage2-binutils prev-binutils ; \
35995 @CREATE_LINK_TO_DIR@
35996 @endif binutils
35997 @if gas
35998 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
35999 mkdir stage3-gas; \
36000 set stage3-gas gas ; \
36001 @CREATE_LINK_TO_DIR@ ; \
36002 set stage2-gas prev-gas ; \
36003 @CREATE_LINK_TO_DIR@
36004 @endif gas
36005 @if gcc
36006 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36007 mkdir stage3-gcc; \
36008 set stage3-gcc gcc ; \
36009 @CREATE_LINK_TO_DIR@ ; \
36010 set stage2-gcc prev-gcc ; \
36011 @CREATE_LINK_TO_DIR@
36012 @endif gcc
36013 @if intl
36014 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36015 mkdir stage3-intl; \
36016 set stage3-intl intl ; \
36017 @CREATE_LINK_TO_DIR@ ; \
36018 set stage2-intl prev-intl ; \
36019 @CREATE_LINK_TO_DIR@
36020 @endif intl
36021 @if ld
36022 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36023 mkdir stage3-ld; \
36024 set stage3-ld ld ; \
36025 @CREATE_LINK_TO_DIR@ ; \
36026 set stage2-ld prev-ld ; \
36027 @CREATE_LINK_TO_DIR@
36028 @endif ld
36029 @if libcpp
36030 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36031 mkdir stage3-libcpp; \
36032 set stage3-libcpp libcpp ; \
36033 @CREATE_LINK_TO_DIR@ ; \
36034 set stage2-libcpp prev-libcpp ; \
36035 @CREATE_LINK_TO_DIR@
36036 @endif libcpp
36037 @if libdecnumber
36038 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36039 mkdir stage3-libdecnumber; \
36040 set stage3-libdecnumber libdecnumber ; \
36041 @CREATE_LINK_TO_DIR@ ; \
36042 set stage2-libdecnumber prev-libdecnumber ; \
36043 @CREATE_LINK_TO_DIR@
36044 @endif libdecnumber
36045 @if libiberty
36046 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36047 mkdir stage3-libiberty; \
36048 set stage3-libiberty libiberty ; \
36049 @CREATE_LINK_TO_DIR@ ; \
36050 set stage2-libiberty prev-libiberty ; \
36051 @CREATE_LINK_TO_DIR@
36052 @endif libiberty
36053 @if zlib
36054 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36055 mkdir stage3-zlib; \
36056 set stage3-zlib zlib ; \
36057 @CREATE_LINK_TO_DIR@ ; \
36058 set stage2-zlib prev-zlib ; \
36059 @CREATE_LINK_TO_DIR@
36060 @endif zlib
36062 stage3-end::
36063 @rm -f stage_current
36064 @if bfd
36065 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
36066 @UNDO_LINK_TO_DIR@ ; \
36067 set prev-bfd stage2-bfd ; \
36068 @UNDO_LINK_TO_DIR@
36069 @endif bfd
36070 @if opcodes
36071 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
36072 @UNDO_LINK_TO_DIR@ ; \
36073 set prev-opcodes stage2-opcodes ; \
36074 @UNDO_LINK_TO_DIR@
36075 @endif opcodes
36076 @if binutils
36077 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
36078 @UNDO_LINK_TO_DIR@ ; \
36079 set prev-binutils stage2-binutils ; \
36080 @UNDO_LINK_TO_DIR@
36081 @endif binutils
36082 @if gas
36083 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
36084 @UNDO_LINK_TO_DIR@ ; \
36085 set prev-gas stage2-gas ; \
36086 @UNDO_LINK_TO_DIR@
36087 @endif gas
36088 @if gcc
36089 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
36090 @UNDO_LINK_TO_DIR@ ; \
36091 set prev-gcc stage2-gcc ; \
36092 @UNDO_LINK_TO_DIR@
36093 @endif gcc
36094 @if intl
36095 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
36096 @UNDO_LINK_TO_DIR@ ; \
36097 set prev-intl stage2-intl ; \
36098 @UNDO_LINK_TO_DIR@
36099 @endif intl
36100 @if ld
36101 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
36102 @UNDO_LINK_TO_DIR@ ; \
36103 set prev-ld stage2-ld ; \
36104 @UNDO_LINK_TO_DIR@
36105 @endif ld
36106 @if libcpp
36107 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
36108 @UNDO_LINK_TO_DIR@ ; \
36109 set prev-libcpp stage2-libcpp ; \
36110 @UNDO_LINK_TO_DIR@
36111 @endif libcpp
36112 @if libdecnumber
36113 @cd $(HOST_SUBDIR); set libdecnumber stage3-libdecnumber ; \
36114 @UNDO_LINK_TO_DIR@ ; \
36115 set prev-libdecnumber stage2-libdecnumber ; \
36116 @UNDO_LINK_TO_DIR@
36117 @endif libdecnumber
36118 @if libiberty
36119 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
36120 @UNDO_LINK_TO_DIR@ ; \
36121 set prev-libiberty stage2-libiberty ; \
36122 @UNDO_LINK_TO_DIR@
36123 @endif libiberty
36124 @if zlib
36125 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
36126 @UNDO_LINK_TO_DIR@ ; \
36127 set prev-zlib stage2-zlib ; \
36128 @UNDO_LINK_TO_DIR@
36129 @endif zlib
36131 # Bubble a bugfix through all the stages up to stage 3. They
36132 # are remade, but not reconfigured. The next stage (if any) will not
36133 # be reconfigured as well.
36134 .PHONY: stage3-bubble
36135 stage3-bubble:: stage2-bubble
36136 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
36137 @r=`${PWD_COMMAND}`; export r; \
36138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36139 if test -f stage3-lean || test -f stage2-lean ; then \
36140 echo Skipping rebuild of stage3 ; \
36141 else \
36142 $(MAKE) stage3-start; \
36143 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
36145 $(MAKE) compare
36147 .PHONY: all-stage3 clean-stage3
36148 do-clean: clean-stage3
36150 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36151 # only possibility, but now it conflicts with no-bootstrap rules
36152 @if gcc-bootstrap
36154 compare:
36155 @r=`${PWD_COMMAND}`; export r; \
36156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36157 if test -f stage2-lean; then \
36158 echo Cannot compare object files as stage 2 was deleted. ; \
36159 exit 0 ; \
36160 fi; \
36161 $(stage); \
36162 rm -f .bad_compare ; \
36163 cd stage3-gcc; \
36164 files=`find . -name "*$(objext)" -print` ; \
36165 cd .. ; \
36166 for file in $${files} ; do \
36167 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
36168 @do_compare@ > /dev/null 2>&1; \
36169 if test $$? -eq 1; then \
36170 case $$file in \
36171 ./cc*-checksum$(objext) | ./libgcc/* ) \
36172 echo warning: $$file differs ;; \
36173 *) \
36174 echo $$file differs >> .bad_compare ;; \
36175 esac ; \
36176 fi ; \
36177 done ; \
36178 if [ -f .bad_compare ]; then \
36179 echo "Bootstrap comparison failure!"; \
36180 cat .bad_compare; \
36181 exit 1; \
36182 else \
36183 true; \
36184 fi ; \
36185 $(STAMP) compare
36186 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36190 .PHONY: bootstrap
36191 bootstrap:
36192 echo stage3 > stage_final
36193 @r=`${PWD_COMMAND}`; export r; \
36194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36195 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
36196 @$(unstage)
36197 @r=`${PWD_COMMAND}`; export r; \
36198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36199 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36200 @$(stage)
36203 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36204 distclean-stage2:: distclean-stage3
36205 .PHONY: distclean-stage3
36206 distclean-stage3::
36207 @$(stage)
36208 rm -rf stage3-* compare
36211 .PHONY: cleanstrap
36212 cleanstrap: distclean bootstrap
36214 @endif gcc-bootstrap
36217 .PHONY: stage4-start stage4-end
36219 stage4-start::
36220 @$(stage); \
36221 echo stage4 > stage_current ; \
36222 echo stage4 > stage_last; \
36223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36224 @if bfd
36225 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
36226 mkdir stage4-bfd; \
36227 set stage4-bfd bfd ; \
36228 @CREATE_LINK_TO_DIR@ ; \
36229 set stage3-bfd prev-bfd ; \
36230 @CREATE_LINK_TO_DIR@
36231 @endif bfd
36232 @if opcodes
36233 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
36234 mkdir stage4-opcodes; \
36235 set stage4-opcodes opcodes ; \
36236 @CREATE_LINK_TO_DIR@ ; \
36237 set stage3-opcodes prev-opcodes ; \
36238 @CREATE_LINK_TO_DIR@
36239 @endif opcodes
36240 @if binutils
36241 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
36242 mkdir stage4-binutils; \
36243 set stage4-binutils binutils ; \
36244 @CREATE_LINK_TO_DIR@ ; \
36245 set stage3-binutils prev-binutils ; \
36246 @CREATE_LINK_TO_DIR@
36247 @endif binutils
36248 @if gas
36249 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
36250 mkdir stage4-gas; \
36251 set stage4-gas gas ; \
36252 @CREATE_LINK_TO_DIR@ ; \
36253 set stage3-gas prev-gas ; \
36254 @CREATE_LINK_TO_DIR@
36255 @endif gas
36256 @if gcc
36257 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
36258 mkdir stage4-gcc; \
36259 set stage4-gcc gcc ; \
36260 @CREATE_LINK_TO_DIR@ ; \
36261 set stage3-gcc prev-gcc ; \
36262 @CREATE_LINK_TO_DIR@
36263 @endif gcc
36264 @if intl
36265 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
36266 mkdir stage4-intl; \
36267 set stage4-intl intl ; \
36268 @CREATE_LINK_TO_DIR@ ; \
36269 set stage3-intl prev-intl ; \
36270 @CREATE_LINK_TO_DIR@
36271 @endif intl
36272 @if ld
36273 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
36274 mkdir stage4-ld; \
36275 set stage4-ld ld ; \
36276 @CREATE_LINK_TO_DIR@ ; \
36277 set stage3-ld prev-ld ; \
36278 @CREATE_LINK_TO_DIR@
36279 @endif ld
36280 @if libcpp
36281 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
36282 mkdir stage4-libcpp; \
36283 set stage4-libcpp libcpp ; \
36284 @CREATE_LINK_TO_DIR@ ; \
36285 set stage3-libcpp prev-libcpp ; \
36286 @CREATE_LINK_TO_DIR@
36287 @endif libcpp
36288 @if libdecnumber
36289 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
36290 mkdir stage4-libdecnumber; \
36291 set stage4-libdecnumber libdecnumber ; \
36292 @CREATE_LINK_TO_DIR@ ; \
36293 set stage3-libdecnumber prev-libdecnumber ; \
36294 @CREATE_LINK_TO_DIR@
36295 @endif libdecnumber
36296 @if libiberty
36297 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
36298 mkdir stage4-libiberty; \
36299 set stage4-libiberty libiberty ; \
36300 @CREATE_LINK_TO_DIR@ ; \
36301 set stage3-libiberty prev-libiberty ; \
36302 @CREATE_LINK_TO_DIR@
36303 @endif libiberty
36304 @if zlib
36305 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
36306 mkdir stage4-zlib; \
36307 set stage4-zlib zlib ; \
36308 @CREATE_LINK_TO_DIR@ ; \
36309 set stage3-zlib prev-zlib ; \
36310 @CREATE_LINK_TO_DIR@
36311 @endif zlib
36313 stage4-end::
36314 @rm -f stage_current
36315 @if bfd
36316 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
36317 @UNDO_LINK_TO_DIR@ ; \
36318 set prev-bfd stage3-bfd ; \
36319 @UNDO_LINK_TO_DIR@
36320 @endif bfd
36321 @if opcodes
36322 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
36323 @UNDO_LINK_TO_DIR@ ; \
36324 set prev-opcodes stage3-opcodes ; \
36325 @UNDO_LINK_TO_DIR@
36326 @endif opcodes
36327 @if binutils
36328 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
36329 @UNDO_LINK_TO_DIR@ ; \
36330 set prev-binutils stage3-binutils ; \
36331 @UNDO_LINK_TO_DIR@
36332 @endif binutils
36333 @if gas
36334 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
36335 @UNDO_LINK_TO_DIR@ ; \
36336 set prev-gas stage3-gas ; \
36337 @UNDO_LINK_TO_DIR@
36338 @endif gas
36339 @if gcc
36340 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
36341 @UNDO_LINK_TO_DIR@ ; \
36342 set prev-gcc stage3-gcc ; \
36343 @UNDO_LINK_TO_DIR@
36344 @endif gcc
36345 @if intl
36346 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
36347 @UNDO_LINK_TO_DIR@ ; \
36348 set prev-intl stage3-intl ; \
36349 @UNDO_LINK_TO_DIR@
36350 @endif intl
36351 @if ld
36352 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
36353 @UNDO_LINK_TO_DIR@ ; \
36354 set prev-ld stage3-ld ; \
36355 @UNDO_LINK_TO_DIR@
36356 @endif ld
36357 @if libcpp
36358 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
36359 @UNDO_LINK_TO_DIR@ ; \
36360 set prev-libcpp stage3-libcpp ; \
36361 @UNDO_LINK_TO_DIR@
36362 @endif libcpp
36363 @if libdecnumber
36364 @cd $(HOST_SUBDIR); set libdecnumber stage4-libdecnumber ; \
36365 @UNDO_LINK_TO_DIR@ ; \
36366 set prev-libdecnumber stage3-libdecnumber ; \
36367 @UNDO_LINK_TO_DIR@
36368 @endif libdecnumber
36369 @if libiberty
36370 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
36371 @UNDO_LINK_TO_DIR@ ; \
36372 set prev-libiberty stage3-libiberty ; \
36373 @UNDO_LINK_TO_DIR@
36374 @endif libiberty
36375 @if zlib
36376 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
36377 @UNDO_LINK_TO_DIR@ ; \
36378 set prev-zlib stage3-zlib ; \
36379 @UNDO_LINK_TO_DIR@
36380 @endif zlib
36382 # Bubble a bugfix through all the stages up to stage 4. They
36383 # are remade, but not reconfigured. The next stage (if any) will not
36384 # be reconfigured as well.
36385 .PHONY: stage4-bubble
36386 stage4-bubble:: stage3-bubble
36387 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36388 @r=`${PWD_COMMAND}`; export r; \
36389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36390 if test -f stage4-lean || test -f stage3-lean ; then \
36391 echo Skipping rebuild of stage4 ; \
36392 else \
36393 $(MAKE) stage4-start; \
36394 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
36396 $(MAKE) compare3
36398 .PHONY: all-stage4 clean-stage4
36399 do-clean: clean-stage4
36401 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36402 # only possibility, but now it conflicts with no-bootstrap rules
36403 @if gcc-bootstrap
36405 compare3:
36406 @r=`${PWD_COMMAND}`; export r; \
36407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36408 if test -f stage3-lean; then \
36409 echo Cannot compare object files as stage 3 was deleted. ; \
36410 exit 0 ; \
36411 fi; \
36412 $(stage); \
36413 rm -f .bad_compare ; \
36414 cd stage4-gcc; \
36415 files=`find . -name "*$(objext)" -print` ; \
36416 cd .. ; \
36417 for file in $${files} ; do \
36418 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
36419 @do_compare@ > /dev/null 2>&1; \
36420 if test $$? -eq 1; then \
36421 case $$file in \
36422 ./cc*-checksum$(objext) | ./libgcc/* ) \
36423 echo warning: $$file differs ;; \
36424 *) \
36425 echo $$file differs >> .bad_compare ;; \
36426 esac ; \
36427 fi ; \
36428 done ; \
36429 if [ -f .bad_compare ]; then \
36430 echo "Bootstrap comparison failure!"; \
36431 cat .bad_compare; \
36432 exit 1; \
36433 else \
36434 true; \
36435 fi ; \
36436 $(STAMP) compare3
36437 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
36441 .PHONY: bootstrap4
36442 bootstrap4:
36443 echo stage4 > stage_final
36444 @r=`${PWD_COMMAND}`; export r; \
36445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36446 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
36447 @$(unstage)
36448 @r=`${PWD_COMMAND}`; export r; \
36449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36450 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36451 @$(stage)
36454 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36455 distclean-stage3:: distclean-stage4
36456 .PHONY: distclean-stage4
36457 distclean-stage4::
36458 @$(stage)
36459 rm -rf stage4-* compare3
36462 @endif gcc-bootstrap
36465 .PHONY: stageprofile-start stageprofile-end
36467 stageprofile-start::
36468 @$(stage); \
36469 echo stageprofile > stage_current ; \
36470 echo stageprofile > stage_last; \
36471 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36472 @if bfd
36473 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
36474 mkdir stageprofile-bfd; \
36475 set stageprofile-bfd bfd ; \
36476 @CREATE_LINK_TO_DIR@ ; \
36477 set stage1-bfd prev-bfd ; \
36478 @CREATE_LINK_TO_DIR@
36479 @endif bfd
36480 @if opcodes
36481 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
36482 mkdir stageprofile-opcodes; \
36483 set stageprofile-opcodes opcodes ; \
36484 @CREATE_LINK_TO_DIR@ ; \
36485 set stage1-opcodes prev-opcodes ; \
36486 @CREATE_LINK_TO_DIR@
36487 @endif opcodes
36488 @if binutils
36489 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
36490 mkdir stageprofile-binutils; \
36491 set stageprofile-binutils binutils ; \
36492 @CREATE_LINK_TO_DIR@ ; \
36493 set stage1-binutils prev-binutils ; \
36494 @CREATE_LINK_TO_DIR@
36495 @endif binutils
36496 @if gas
36497 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
36498 mkdir stageprofile-gas; \
36499 set stageprofile-gas gas ; \
36500 @CREATE_LINK_TO_DIR@ ; \
36501 set stage1-gas prev-gas ; \
36502 @CREATE_LINK_TO_DIR@
36503 @endif gas
36504 @if gcc
36505 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
36506 mkdir stageprofile-gcc; \
36507 set stageprofile-gcc gcc ; \
36508 @CREATE_LINK_TO_DIR@ ; \
36509 set stage1-gcc prev-gcc ; \
36510 @CREATE_LINK_TO_DIR@
36511 @endif gcc
36512 @if intl
36513 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
36514 mkdir stageprofile-intl; \
36515 set stageprofile-intl intl ; \
36516 @CREATE_LINK_TO_DIR@ ; \
36517 set stage1-intl prev-intl ; \
36518 @CREATE_LINK_TO_DIR@
36519 @endif intl
36520 @if ld
36521 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
36522 mkdir stageprofile-ld; \
36523 set stageprofile-ld ld ; \
36524 @CREATE_LINK_TO_DIR@ ; \
36525 set stage1-ld prev-ld ; \
36526 @CREATE_LINK_TO_DIR@
36527 @endif ld
36528 @if libcpp
36529 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
36530 mkdir stageprofile-libcpp; \
36531 set stageprofile-libcpp libcpp ; \
36532 @CREATE_LINK_TO_DIR@ ; \
36533 set stage1-libcpp prev-libcpp ; \
36534 @CREATE_LINK_TO_DIR@
36535 @endif libcpp
36536 @if libdecnumber
36537 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
36538 mkdir stageprofile-libdecnumber; \
36539 set stageprofile-libdecnumber libdecnumber ; \
36540 @CREATE_LINK_TO_DIR@ ; \
36541 set stage1-libdecnumber prev-libdecnumber ; \
36542 @CREATE_LINK_TO_DIR@
36543 @endif libdecnumber
36544 @if libiberty
36545 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36546 mkdir stageprofile-libiberty; \
36547 set stageprofile-libiberty libiberty ; \
36548 @CREATE_LINK_TO_DIR@ ; \
36549 set stage1-libiberty prev-libiberty ; \
36550 @CREATE_LINK_TO_DIR@
36551 @endif libiberty
36552 @if zlib
36553 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36554 mkdir stageprofile-zlib; \
36555 set stageprofile-zlib zlib ; \
36556 @CREATE_LINK_TO_DIR@ ; \
36557 set stage1-zlib prev-zlib ; \
36558 @CREATE_LINK_TO_DIR@
36559 @endif zlib
36561 stageprofile-end::
36562 @rm -f stage_current
36563 @if bfd
36564 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
36565 @UNDO_LINK_TO_DIR@ ; \
36566 set prev-bfd stage1-bfd ; \
36567 @UNDO_LINK_TO_DIR@
36568 @endif bfd
36569 @if opcodes
36570 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36571 @UNDO_LINK_TO_DIR@ ; \
36572 set prev-opcodes stage1-opcodes ; \
36573 @UNDO_LINK_TO_DIR@
36574 @endif opcodes
36575 @if binutils
36576 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36577 @UNDO_LINK_TO_DIR@ ; \
36578 set prev-binutils stage1-binutils ; \
36579 @UNDO_LINK_TO_DIR@
36580 @endif binutils
36581 @if gas
36582 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36583 @UNDO_LINK_TO_DIR@ ; \
36584 set prev-gas stage1-gas ; \
36585 @UNDO_LINK_TO_DIR@
36586 @endif gas
36587 @if gcc
36588 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36589 @UNDO_LINK_TO_DIR@ ; \
36590 set prev-gcc stage1-gcc ; \
36591 @UNDO_LINK_TO_DIR@
36592 @endif gcc
36593 @if intl
36594 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36595 @UNDO_LINK_TO_DIR@ ; \
36596 set prev-intl stage1-intl ; \
36597 @UNDO_LINK_TO_DIR@
36598 @endif intl
36599 @if ld
36600 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36601 @UNDO_LINK_TO_DIR@ ; \
36602 set prev-ld stage1-ld ; \
36603 @UNDO_LINK_TO_DIR@
36604 @endif ld
36605 @if libcpp
36606 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36607 @UNDO_LINK_TO_DIR@ ; \
36608 set prev-libcpp stage1-libcpp ; \
36609 @UNDO_LINK_TO_DIR@
36610 @endif libcpp
36611 @if libdecnumber
36612 @cd $(HOST_SUBDIR); set libdecnumber stageprofile-libdecnumber ; \
36613 @UNDO_LINK_TO_DIR@ ; \
36614 set prev-libdecnumber stage1-libdecnumber ; \
36615 @UNDO_LINK_TO_DIR@
36616 @endif libdecnumber
36617 @if libiberty
36618 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36619 @UNDO_LINK_TO_DIR@ ; \
36620 set prev-libiberty stage1-libiberty ; \
36621 @UNDO_LINK_TO_DIR@
36622 @endif libiberty
36623 @if zlib
36624 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36625 @UNDO_LINK_TO_DIR@ ; \
36626 set prev-zlib stage1-zlib ; \
36627 @UNDO_LINK_TO_DIR@
36628 @endif zlib
36630 # Bubble a bugfix through all the stages up to stage profile. They
36631 # are remade, but not reconfigured. The next stage (if any) will not
36632 # be reconfigured as well.
36633 .PHONY: stageprofile-bubble
36634 stageprofile-bubble:: stage1-bubble
36635 @r=`${PWD_COMMAND}`; export r; \
36636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36637 if test -f stageprofile-lean || test -f stage1-lean ; then \
36638 echo Skipping rebuild of stageprofile ; \
36639 else \
36640 $(MAKE) stageprofile-start; \
36641 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36644 .PHONY: all-stageprofile clean-stageprofile
36645 do-clean: clean-stageprofile
36647 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36648 # only possibility, but now it conflicts with no-bootstrap rules
36649 @if gcc-bootstrap
36654 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36655 distclean-stage1:: distclean-stageprofile
36656 .PHONY: distclean-stageprofile
36657 distclean-stageprofile::
36658 @$(stage)
36659 rm -rf stageprofile-*
36662 @endif gcc-bootstrap
36665 .PHONY: stagefeedback-start stagefeedback-end
36667 stagefeedback-start::
36668 @$(stage); \
36669 echo stagefeedback > stage_current ; \
36670 echo stagefeedback > stage_last; \
36671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36672 @if bfd
36673 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36674 mkdir stagefeedback-bfd; \
36675 set stagefeedback-bfd bfd ; \
36676 @CREATE_LINK_TO_DIR@ ; \
36677 set stageprofile-bfd prev-bfd ; \
36678 @CREATE_LINK_TO_DIR@
36679 @endif bfd
36680 @if opcodes
36681 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36682 mkdir stagefeedback-opcodes; \
36683 set stagefeedback-opcodes opcodes ; \
36684 @CREATE_LINK_TO_DIR@ ; \
36685 set stageprofile-opcodes prev-opcodes ; \
36686 @CREATE_LINK_TO_DIR@
36687 @endif opcodes
36688 @if binutils
36689 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36690 mkdir stagefeedback-binutils; \
36691 set stagefeedback-binutils binutils ; \
36692 @CREATE_LINK_TO_DIR@ ; \
36693 set stageprofile-binutils prev-binutils ; \
36694 @CREATE_LINK_TO_DIR@
36695 @endif binutils
36696 @if gas
36697 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36698 mkdir stagefeedback-gas; \
36699 set stagefeedback-gas gas ; \
36700 @CREATE_LINK_TO_DIR@ ; \
36701 set stageprofile-gas prev-gas ; \
36702 @CREATE_LINK_TO_DIR@
36703 @endif gas
36704 @if gcc
36705 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36706 mkdir stagefeedback-gcc; \
36707 set stagefeedback-gcc gcc ; \
36708 @CREATE_LINK_TO_DIR@ ; \
36709 set stageprofile-gcc prev-gcc ; \
36710 @CREATE_LINK_TO_DIR@
36711 @endif gcc
36712 @if intl
36713 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
36714 mkdir stagefeedback-intl; \
36715 set stagefeedback-intl intl ; \
36716 @CREATE_LINK_TO_DIR@ ; \
36717 set stageprofile-intl prev-intl ; \
36718 @CREATE_LINK_TO_DIR@
36719 @endif intl
36720 @if ld
36721 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
36722 mkdir stagefeedback-ld; \
36723 set stagefeedback-ld ld ; \
36724 @CREATE_LINK_TO_DIR@ ; \
36725 set stageprofile-ld prev-ld ; \
36726 @CREATE_LINK_TO_DIR@
36727 @endif ld
36728 @if libcpp
36729 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
36730 mkdir stagefeedback-libcpp; \
36731 set stagefeedback-libcpp libcpp ; \
36732 @CREATE_LINK_TO_DIR@ ; \
36733 set stageprofile-libcpp prev-libcpp ; \
36734 @CREATE_LINK_TO_DIR@
36735 @endif libcpp
36736 @if libdecnumber
36737 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
36738 mkdir stagefeedback-libdecnumber; \
36739 set stagefeedback-libdecnumber libdecnumber ; \
36740 @CREATE_LINK_TO_DIR@ ; \
36741 set stageprofile-libdecnumber prev-libdecnumber ; \
36742 @CREATE_LINK_TO_DIR@
36743 @endif libdecnumber
36744 @if libiberty
36745 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
36746 mkdir stagefeedback-libiberty; \
36747 set stagefeedback-libiberty libiberty ; \
36748 @CREATE_LINK_TO_DIR@ ; \
36749 set stageprofile-libiberty prev-libiberty ; \
36750 @CREATE_LINK_TO_DIR@
36751 @endif libiberty
36752 @if zlib
36753 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
36754 mkdir stagefeedback-zlib; \
36755 set stagefeedback-zlib zlib ; \
36756 @CREATE_LINK_TO_DIR@ ; \
36757 set stageprofile-zlib prev-zlib ; \
36758 @CREATE_LINK_TO_DIR@
36759 @endif zlib
36761 stagefeedback-end::
36762 @rm -f stage_current
36763 @if bfd
36764 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
36765 @UNDO_LINK_TO_DIR@ ; \
36766 set prev-bfd stageprofile-bfd ; \
36767 @UNDO_LINK_TO_DIR@
36768 @endif bfd
36769 @if opcodes
36770 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
36771 @UNDO_LINK_TO_DIR@ ; \
36772 set prev-opcodes stageprofile-opcodes ; \
36773 @UNDO_LINK_TO_DIR@
36774 @endif opcodes
36775 @if binutils
36776 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
36777 @UNDO_LINK_TO_DIR@ ; \
36778 set prev-binutils stageprofile-binutils ; \
36779 @UNDO_LINK_TO_DIR@
36780 @endif binutils
36781 @if gas
36782 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
36783 @UNDO_LINK_TO_DIR@ ; \
36784 set prev-gas stageprofile-gas ; \
36785 @UNDO_LINK_TO_DIR@
36786 @endif gas
36787 @if gcc
36788 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
36789 @UNDO_LINK_TO_DIR@ ; \
36790 set prev-gcc stageprofile-gcc ; \
36791 @UNDO_LINK_TO_DIR@
36792 @endif gcc
36793 @if intl
36794 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
36795 @UNDO_LINK_TO_DIR@ ; \
36796 set prev-intl stageprofile-intl ; \
36797 @UNDO_LINK_TO_DIR@
36798 @endif intl
36799 @if ld
36800 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
36801 @UNDO_LINK_TO_DIR@ ; \
36802 set prev-ld stageprofile-ld ; \
36803 @UNDO_LINK_TO_DIR@
36804 @endif ld
36805 @if libcpp
36806 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
36807 @UNDO_LINK_TO_DIR@ ; \
36808 set prev-libcpp stageprofile-libcpp ; \
36809 @UNDO_LINK_TO_DIR@
36810 @endif libcpp
36811 @if libdecnumber
36812 @cd $(HOST_SUBDIR); set libdecnumber stagefeedback-libdecnumber ; \
36813 @UNDO_LINK_TO_DIR@ ; \
36814 set prev-libdecnumber stageprofile-libdecnumber ; \
36815 @UNDO_LINK_TO_DIR@
36816 @endif libdecnumber
36817 @if libiberty
36818 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
36819 @UNDO_LINK_TO_DIR@ ; \
36820 set prev-libiberty stageprofile-libiberty ; \
36821 @UNDO_LINK_TO_DIR@
36822 @endif libiberty
36823 @if zlib
36824 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
36825 @UNDO_LINK_TO_DIR@ ; \
36826 set prev-zlib stageprofile-zlib ; \
36827 @UNDO_LINK_TO_DIR@
36828 @endif zlib
36830 # Bubble a bugfix through all the stages up to stage feedback. They
36831 # are remade, but not reconfigured. The next stage (if any) will not
36832 # be reconfigured as well.
36833 .PHONY: stagefeedback-bubble
36834 stagefeedback-bubble:: stageprofile-bubble
36835 @r=`${PWD_COMMAND}`; export r; \
36836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36837 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
36838 echo Skipping rebuild of stagefeedback ; \
36839 else \
36840 $(MAKE) stagefeedback-start; \
36841 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
36844 .PHONY: all-stagefeedback clean-stagefeedback
36845 do-clean: clean-stagefeedback
36847 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36848 # only possibility, but now it conflicts with no-bootstrap rules
36849 @if gcc-bootstrap
36853 .PHONY: profiledbootstrap
36854 profiledbootstrap:
36855 echo stagefeedback > stage_final
36856 @r=`${PWD_COMMAND}`; export r; \
36857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36858 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
36859 @$(unstage)
36860 @r=`${PWD_COMMAND}`; export r; \
36861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36862 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36863 @$(stage)
36866 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36867 distclean-stageprofile:: distclean-stagefeedback
36868 .PHONY: distclean-stagefeedback
36869 distclean-stagefeedback::
36870 @$(stage)
36871 rm -rf stagefeedback-*
36874 @endif gcc-bootstrap
36878 stageprofile-end::
36879 $(MAKE) distclean-stagefeedback
36881 stagefeedback-start::
36882 @r=`${PWD_COMMAND}`; export r; \
36883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36884 for i in prev-*; do \
36885 j=`echo $$i | sed s/^prev-//` ; \
36886 cd $$r/$$i && \
36887 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
36888 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
36889 done
36891 @if gcc-bootstrap
36892 do-distclean: distclean-stage1
36893 @endif gcc-bootstrap
36895 # --------------------------------------
36896 # Dependencies between different modules
36897 # --------------------------------------
36899 # Generic dependencies for target modules on host stuff, especially gcc
36901 configure-target-libstdc++-v3: maybe-all-gcc
36903 configure-target-libmudflap: maybe-all-gcc
36905 configure-target-libssp: maybe-all-gcc
36907 configure-target-newlib: maybe-all-gcc
36909 configure-target-libgfortran: maybe-all-gcc
36911 configure-target-libobjc: maybe-all-gcc
36913 configure-target-libtermcap: maybe-all-gcc
36915 configure-target-winsup: maybe-all-gcc
36917 configure-target-libgloss: maybe-all-gcc
36919 configure-target-libiberty: maybe-all-gcc
36921 configure-target-gperf: maybe-all-gcc
36923 configure-target-examples: maybe-all-gcc
36925 configure-target-libffi: maybe-all-gcc
36927 configure-target-libjava: maybe-all-gcc
36929 configure-target-zlib: maybe-all-gcc
36931 configure-target-boehm-gc: maybe-all-gcc
36933 configure-target-qthreads: maybe-all-gcc
36935 configure-target-rda: maybe-all-gcc
36937 configure-target-libada: maybe-all-gcc
36941 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
36943 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
36944 configure-target-gperf: maybe-all-target-libstdc++-v3
36946 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
36948 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
36950 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
36952 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
36953 configure-target-libjava: maybe-all-target-libstdc++-v3
36955 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
36957 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
36959 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
36961 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
36963 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
36965 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
36967 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
36969 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
36971 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
36973 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
36976 # There are two types of dependencies here: 'hard' dependencies, where one
36977 # module simply won't build without the other; and 'soft' dependencies, where
36978 # if the depended-on module is missing, the depending module will do without
36979 # or find a substitute somewhere (perhaps installed). Soft dependencies
36980 # are made here to depend on a 'maybe-' target. If you're not sure,
36981 # it's safer to use a soft dependency.
36988 # With all the machinery above in place, it is pretty easy to generate
36989 # dependencies. Host dependencies are a bit more complex because we have
36990 # to check for bootstrap/prebootstrap dependencies. To resolve
36991 # prebootstrap dependencies, prebootstrap modules are gathered in
36992 # a hash table.
36993 all-build-bison: maybe-all-build-texinfo
36994 all-build-byacc: maybe-all-build-texinfo
36995 all-build-flex: maybe-all-build-texinfo
36996 all-build-flex: maybe-all-build-bison
36997 all-build-flex: maybe-all-build-byacc
36998 all-build-flex: maybe-all-build-m4
36999 all-build-libiberty: maybe-all-build-texinfo
37000 all-build-m4: maybe-all-build-texinfo
37001 all-build-fixincludes: maybe-all-build-libiberty
37002 configure-gcc: maybe-configure-intl
37004 configure-stage1-gcc: maybe-configure-stage1-intl
37005 configure-stage2-gcc: maybe-configure-stage2-intl
37006 configure-stage3-gcc: maybe-configure-stage3-intl
37007 configure-stage4-gcc: maybe-configure-stage4-intl
37008 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37009 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37010 configure-gcc: maybe-all-binutils
37012 configure-stage1-gcc: maybe-all-stage1-binutils
37013 configure-stage2-gcc: maybe-all-stage2-binutils
37014 configure-stage3-gcc: maybe-all-stage3-binutils
37015 configure-stage4-gcc: maybe-all-stage4-binutils
37016 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37017 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37018 configure-gcc: maybe-all-gas
37020 configure-stage1-gcc: maybe-all-stage1-gas
37021 configure-stage2-gcc: maybe-all-stage2-gas
37022 configure-stage3-gcc: maybe-all-stage3-gas
37023 configure-stage4-gcc: maybe-all-stage4-gas
37024 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37025 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37026 configure-gcc: maybe-all-ld
37028 configure-stage1-gcc: maybe-all-stage1-ld
37029 configure-stage2-gcc: maybe-all-stage2-ld
37030 configure-stage3-gcc: maybe-all-stage3-ld
37031 configure-stage4-gcc: maybe-all-stage4-ld
37032 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37033 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37034 all-gcc: all-libiberty
37036 all-stage1-gcc: all-stage1-libiberty
37037 all-stage2-gcc: all-stage2-libiberty
37038 all-stage3-gcc: all-stage3-libiberty
37039 all-stage4-gcc: all-stage4-libiberty
37040 all-stageprofile-gcc: all-stageprofile-libiberty
37041 all-stagefeedback-gcc: all-stagefeedback-libiberty
37042 all-gcc: maybe-all-intl
37044 all-stage1-gcc: maybe-all-stage1-intl
37045 all-stage2-gcc: maybe-all-stage2-intl
37046 all-stage3-gcc: maybe-all-stage3-intl
37047 all-stage4-gcc: maybe-all-stage4-intl
37048 all-stageprofile-gcc: maybe-all-stageprofile-intl
37049 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37050 all-gcc: maybe-all-build-texinfo
37052 all-stage1-gcc: maybe-all-build-texinfo
37053 all-stage2-gcc: maybe-all-build-texinfo
37054 all-stage3-gcc: maybe-all-build-texinfo
37055 all-stage4-gcc: maybe-all-build-texinfo
37056 all-stageprofile-gcc: maybe-all-build-texinfo
37057 all-stagefeedback-gcc: maybe-all-build-texinfo
37058 all-prebootstrap: maybe-all-build-texinfo
37059 all-gcc: maybe-all-build-bison
37061 all-stage1-gcc: maybe-all-build-bison
37062 all-stage2-gcc: maybe-all-build-bison
37063 all-stage3-gcc: maybe-all-build-bison
37064 all-stage4-gcc: maybe-all-build-bison
37065 all-stageprofile-gcc: maybe-all-build-bison
37066 all-stagefeedback-gcc: maybe-all-build-bison
37067 all-prebootstrap: maybe-all-build-bison
37068 all-gcc: maybe-all-build-byacc
37070 all-stage1-gcc: maybe-all-build-byacc
37071 all-stage2-gcc: maybe-all-build-byacc
37072 all-stage3-gcc: maybe-all-build-byacc
37073 all-stage4-gcc: maybe-all-build-byacc
37074 all-stageprofile-gcc: maybe-all-build-byacc
37075 all-stagefeedback-gcc: maybe-all-build-byacc
37076 all-prebootstrap: maybe-all-build-byacc
37077 all-gcc: maybe-all-build-flex
37079 all-stage1-gcc: maybe-all-build-flex
37080 all-stage2-gcc: maybe-all-build-flex
37081 all-stage3-gcc: maybe-all-build-flex
37082 all-stage4-gcc: maybe-all-build-flex
37083 all-stageprofile-gcc: maybe-all-build-flex
37084 all-stagefeedback-gcc: maybe-all-build-flex
37085 all-prebootstrap: maybe-all-build-flex
37086 all-gcc: maybe-all-build-libiberty
37088 all-stage1-gcc: maybe-all-build-libiberty
37089 all-stage2-gcc: maybe-all-build-libiberty
37090 all-stage3-gcc: maybe-all-build-libiberty
37091 all-stage4-gcc: maybe-all-build-libiberty
37092 all-stageprofile-gcc: maybe-all-build-libiberty
37093 all-stagefeedback-gcc: maybe-all-build-libiberty
37094 all-prebootstrap: maybe-all-build-libiberty
37095 all-gcc: maybe-all-build-fixincludes
37097 all-stage1-gcc: maybe-all-build-fixincludes
37098 all-stage2-gcc: maybe-all-build-fixincludes
37099 all-stage3-gcc: maybe-all-build-fixincludes
37100 all-stage4-gcc: maybe-all-build-fixincludes
37101 all-stageprofile-gcc: maybe-all-build-fixincludes
37102 all-stagefeedback-gcc: maybe-all-build-fixincludes
37103 all-prebootstrap: maybe-all-build-fixincludes
37104 all-gcc: maybe-all-zlib
37106 all-stage1-gcc: maybe-all-stage1-zlib
37107 all-stage2-gcc: maybe-all-stage2-zlib
37108 all-stage3-gcc: maybe-all-stage3-zlib
37109 all-stage4-gcc: maybe-all-stage4-zlib
37110 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37111 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37112 all-gcc: all-libcpp
37114 all-stage1-gcc: all-stage1-libcpp
37115 all-stage2-gcc: all-stage2-libcpp
37116 all-stage3-gcc: all-stage3-libcpp
37117 all-stage4-gcc: all-stage4-libcpp
37118 all-stageprofile-gcc: all-stageprofile-libcpp
37119 all-stagefeedback-gcc: all-stagefeedback-libcpp
37120 all-gcc: all-libdecnumber
37122 all-stage1-gcc: all-stage1-libdecnumber
37123 all-stage2-gcc: all-stage2-libdecnumber
37124 all-stage3-gcc: all-stage3-libdecnumber
37125 all-stage4-gcc: all-stage4-libdecnumber
37126 all-stageprofile-gcc: all-stageprofile-libdecnumber
37127 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37128 all-gcc: maybe-all-libiberty
37130 all-stage1-gcc: maybe-all-stage1-libiberty
37131 all-stage2-gcc: maybe-all-stage2-libiberty
37132 all-stage3-gcc: maybe-all-stage3-libiberty
37133 all-stage4-gcc: maybe-all-stage4-libiberty
37134 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
37135 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
37136 all-gcc: maybe-all-fixincludes
37137 install-gcc: maybe-install-fixincludes
37138 configure-libcpp: configure-libiberty
37140 configure-stage1-libcpp: configure-stage1-libiberty
37141 configure-stage2-libcpp: configure-stage2-libiberty
37142 configure-stage3-libcpp: configure-stage3-libiberty
37143 configure-stage4-libcpp: configure-stage4-libiberty
37144 configure-stageprofile-libcpp: configure-stageprofile-libiberty
37145 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
37146 configure-libcpp: maybe-configure-intl
37148 configure-stage1-libcpp: maybe-configure-stage1-intl
37149 configure-stage2-libcpp: maybe-configure-stage2-intl
37150 configure-stage3-libcpp: maybe-configure-stage3-intl
37151 configure-stage4-libcpp: maybe-configure-stage4-intl
37152 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
37153 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
37154 all-libcpp: all-libiberty
37156 all-stage1-libcpp: all-stage1-libiberty
37157 all-stage2-libcpp: all-stage2-libiberty
37158 all-stage3-libcpp: all-stage3-libiberty
37159 all-stage4-libcpp: all-stage4-libiberty
37160 all-stageprofile-libcpp: all-stageprofile-libiberty
37161 all-stagefeedback-libcpp: all-stagefeedback-libiberty
37162 all-libcpp: maybe-all-intl
37164 all-stage1-libcpp: maybe-all-stage1-intl
37165 all-stage2-libcpp: maybe-all-stage2-intl
37166 all-stage3-libcpp: maybe-all-stage3-intl
37167 all-stage4-libcpp: maybe-all-stage4-intl
37168 all-stageprofile-libcpp: maybe-all-stageprofile-intl
37169 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
37170 all-fixincludes: maybe-all-libiberty
37171 all-gnattools: maybe-all-target-libada
37172 configure-gdb: maybe-configure-sim
37173 all-gdb: maybe-all-libiberty
37174 all-gdb: maybe-all-opcodes
37175 all-gdb: maybe-all-bfd
37176 all-gdb: maybe-all-readline
37177 all-gdb: maybe-all-build-bison
37178 all-gdb: maybe-all-build-byacc
37179 all-gdb: maybe-all-sim
37180 configure-libgui: maybe-configure-tcl
37181 configure-libgui: maybe-configure-tk
37182 all-libgui: maybe-all-tcl
37183 all-libgui: maybe-all-tk
37184 all-libgui: maybe-all-itcl
37185 configure-bfd: configure-libiberty
37187 configure-stage1-bfd: configure-stage1-libiberty
37188 configure-stage2-bfd: configure-stage2-libiberty
37189 configure-stage3-bfd: configure-stage3-libiberty
37190 configure-stage4-bfd: configure-stage4-libiberty
37191 configure-stageprofile-bfd: configure-stageprofile-libiberty
37192 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
37193 all-bfd: maybe-all-libiberty
37195 all-stage1-bfd: maybe-all-stage1-libiberty
37196 all-stage2-bfd: maybe-all-stage2-libiberty
37197 all-stage3-bfd: maybe-all-stage3-libiberty
37198 all-stage4-bfd: maybe-all-stage4-libiberty
37199 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
37200 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
37201 all-bfd: maybe-all-intl
37203 all-stage1-bfd: maybe-all-stage1-intl
37204 all-stage2-bfd: maybe-all-stage2-intl
37205 all-stage3-bfd: maybe-all-stage3-intl
37206 all-stage4-bfd: maybe-all-stage4-intl
37207 all-stageprofile-bfd: maybe-all-stageprofile-intl
37208 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
37209 all-binutils: maybe-all-libiberty
37211 all-stage1-binutils: maybe-all-stage1-libiberty
37212 all-stage2-binutils: maybe-all-stage2-libiberty
37213 all-stage3-binutils: maybe-all-stage3-libiberty
37214 all-stage4-binutils: maybe-all-stage4-libiberty
37215 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
37216 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
37217 all-binutils: maybe-all-opcodes
37219 all-stage1-binutils: maybe-all-stage1-opcodes
37220 all-stage2-binutils: maybe-all-stage2-opcodes
37221 all-stage3-binutils: maybe-all-stage3-opcodes
37222 all-stage4-binutils: maybe-all-stage4-opcodes
37223 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
37224 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
37225 all-binutils: maybe-all-bfd
37227 all-stage1-binutils: maybe-all-stage1-bfd
37228 all-stage2-binutils: maybe-all-stage2-bfd
37229 all-stage3-binutils: maybe-all-stage3-bfd
37230 all-stage4-binutils: maybe-all-stage4-bfd
37231 all-stageprofile-binutils: maybe-all-stageprofile-bfd
37232 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
37233 all-binutils: maybe-all-build-flex
37235 all-stage1-binutils: maybe-all-build-flex
37236 all-stage2-binutils: maybe-all-build-flex
37237 all-stage3-binutils: maybe-all-build-flex
37238 all-stage4-binutils: maybe-all-build-flex
37239 all-stageprofile-binutils: maybe-all-build-flex
37240 all-stagefeedback-binutils: maybe-all-build-flex
37241 all-prebootstrap: maybe-all-build-flex
37242 all-binutils: maybe-all-build-bison
37244 all-stage1-binutils: maybe-all-build-bison
37245 all-stage2-binutils: maybe-all-build-bison
37246 all-stage3-binutils: maybe-all-build-bison
37247 all-stage4-binutils: maybe-all-build-bison
37248 all-stageprofile-binutils: maybe-all-build-bison
37249 all-stagefeedback-binutils: maybe-all-build-bison
37250 all-prebootstrap: maybe-all-build-bison
37251 all-binutils: maybe-all-build-byacc
37253 all-stage1-binutils: maybe-all-build-byacc
37254 all-stage2-binutils: maybe-all-build-byacc
37255 all-stage3-binutils: maybe-all-build-byacc
37256 all-stage4-binutils: maybe-all-build-byacc
37257 all-stageprofile-binutils: maybe-all-build-byacc
37258 all-stagefeedback-binutils: maybe-all-build-byacc
37259 all-prebootstrap: maybe-all-build-byacc
37260 all-binutils: maybe-all-intl
37262 all-stage1-binutils: maybe-all-stage1-intl
37263 all-stage2-binutils: maybe-all-stage2-intl
37264 all-stage3-binutils: maybe-all-stage3-intl
37265 all-stage4-binutils: maybe-all-stage4-intl
37266 all-stageprofile-binutils: maybe-all-stageprofile-intl
37267 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
37268 install-binutils: maybe-install-opcodes
37269 install-opcodes: maybe-install-bfd
37270 all-gas: maybe-all-libiberty
37272 all-stage1-gas: maybe-all-stage1-libiberty
37273 all-stage2-gas: maybe-all-stage2-libiberty
37274 all-stage3-gas: maybe-all-stage3-libiberty
37275 all-stage4-gas: maybe-all-stage4-libiberty
37276 all-stageprofile-gas: maybe-all-stageprofile-libiberty
37277 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
37278 all-gas: maybe-all-opcodes
37280 all-stage1-gas: maybe-all-stage1-opcodes
37281 all-stage2-gas: maybe-all-stage2-opcodes
37282 all-stage3-gas: maybe-all-stage3-opcodes
37283 all-stage4-gas: maybe-all-stage4-opcodes
37284 all-stageprofile-gas: maybe-all-stageprofile-opcodes
37285 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
37286 all-gas: maybe-all-bfd
37288 all-stage1-gas: maybe-all-stage1-bfd
37289 all-stage2-gas: maybe-all-stage2-bfd
37290 all-stage3-gas: maybe-all-stage3-bfd
37291 all-stage4-gas: maybe-all-stage4-bfd
37292 all-stageprofile-gas: maybe-all-stageprofile-bfd
37293 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
37294 all-gas: maybe-all-intl
37296 all-stage1-gas: maybe-all-stage1-intl
37297 all-stage2-gas: maybe-all-stage2-intl
37298 all-stage3-gas: maybe-all-stage3-intl
37299 all-stage4-gas: maybe-all-stage4-intl
37300 all-stageprofile-gas: maybe-all-stageprofile-intl
37301 all-stagefeedback-gas: maybe-all-stagefeedback-intl
37302 all-gprof: maybe-all-libiberty
37303 all-gprof: maybe-all-bfd
37304 all-gprof: maybe-all-opcodes
37305 all-gprof: maybe-all-intl
37306 all-ld: maybe-all-libiberty
37308 all-stage1-ld: maybe-all-stage1-libiberty
37309 all-stage2-ld: maybe-all-stage2-libiberty
37310 all-stage3-ld: maybe-all-stage3-libiberty
37311 all-stage4-ld: maybe-all-stage4-libiberty
37312 all-stageprofile-ld: maybe-all-stageprofile-libiberty
37313 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
37314 all-ld: maybe-all-bfd
37316 all-stage1-ld: maybe-all-stage1-bfd
37317 all-stage2-ld: maybe-all-stage2-bfd
37318 all-stage3-ld: maybe-all-stage3-bfd
37319 all-stage4-ld: maybe-all-stage4-bfd
37320 all-stageprofile-ld: maybe-all-stageprofile-bfd
37321 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
37322 all-ld: maybe-all-opcodes
37324 all-stage1-ld: maybe-all-stage1-opcodes
37325 all-stage2-ld: maybe-all-stage2-opcodes
37326 all-stage3-ld: maybe-all-stage3-opcodes
37327 all-stage4-ld: maybe-all-stage4-opcodes
37328 all-stageprofile-ld: maybe-all-stageprofile-opcodes
37329 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
37330 all-ld: maybe-all-build-bison
37332 all-stage1-ld: maybe-all-build-bison
37333 all-stage2-ld: maybe-all-build-bison
37334 all-stage3-ld: maybe-all-build-bison
37335 all-stage4-ld: maybe-all-build-bison
37336 all-stageprofile-ld: maybe-all-build-bison
37337 all-stagefeedback-ld: maybe-all-build-bison
37338 all-prebootstrap: maybe-all-build-bison
37339 all-ld: maybe-all-build-byacc
37341 all-stage1-ld: maybe-all-build-byacc
37342 all-stage2-ld: maybe-all-build-byacc
37343 all-stage3-ld: maybe-all-build-byacc
37344 all-stage4-ld: maybe-all-build-byacc
37345 all-stageprofile-ld: maybe-all-build-byacc
37346 all-stagefeedback-ld: maybe-all-build-byacc
37347 all-prebootstrap: maybe-all-build-byacc
37348 all-ld: maybe-all-build-flex
37350 all-stage1-ld: maybe-all-build-flex
37351 all-stage2-ld: maybe-all-build-flex
37352 all-stage3-ld: maybe-all-build-flex
37353 all-stage4-ld: maybe-all-build-flex
37354 all-stageprofile-ld: maybe-all-build-flex
37355 all-stagefeedback-ld: maybe-all-build-flex
37356 all-prebootstrap: maybe-all-build-flex
37357 all-ld: maybe-all-intl
37359 all-stage1-ld: maybe-all-stage1-intl
37360 all-stage2-ld: maybe-all-stage2-intl
37361 all-stage3-ld: maybe-all-stage3-intl
37362 all-stage4-ld: maybe-all-stage4-intl
37363 all-stageprofile-ld: maybe-all-stageprofile-intl
37364 all-stagefeedback-ld: maybe-all-stagefeedback-intl
37365 all-opcodes: maybe-all-bfd
37367 all-stage1-opcodes: maybe-all-stage1-bfd
37368 all-stage2-opcodes: maybe-all-stage2-bfd
37369 all-stage3-opcodes: maybe-all-stage3-bfd
37370 all-stage4-opcodes: maybe-all-stage4-bfd
37371 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
37372 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
37373 all-opcodes: maybe-all-libiberty
37375 all-stage1-opcodes: maybe-all-stage1-libiberty
37376 all-stage2-opcodes: maybe-all-stage2-libiberty
37377 all-stage3-opcodes: maybe-all-stage3-libiberty
37378 all-stage4-opcodes: maybe-all-stage4-libiberty
37379 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
37380 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
37381 all-dejagnu: maybe-all-tcl
37382 all-dejagnu: maybe-all-expect
37383 all-dejagnu: maybe-all-tk
37384 configure-expect: maybe-configure-tcl
37385 configure-expect: maybe-configure-tk
37386 all-expect: maybe-all-tcl
37387 all-expect: maybe-all-tk
37388 configure-itcl: maybe-configure-tcl
37389 configure-itcl: maybe-configure-tk
37390 all-itcl: maybe-all-tcl
37391 all-itcl: maybe-all-tk
37392 install-itcl: maybe-install-tcl
37393 configure-tk: maybe-configure-tcl
37394 all-tk: maybe-all-tcl
37395 all-sid: maybe-all-libiberty
37396 all-sid: maybe-all-bfd
37397 all-sid: maybe-all-opcodes
37398 all-sid: maybe-all-tcl
37399 all-sid: maybe-all-tk
37400 install-sid: maybe-install-tcl
37401 install-sid: maybe-install-tk
37402 all-sim: maybe-all-libiberty
37403 all-sim: maybe-all-bfd
37404 all-sim: maybe-all-opcodes
37405 all-sim: maybe-all-readline
37406 all-sim: maybe-configure-gdb
37407 all-fastjar: maybe-all-zlib
37408 all-fastjar: maybe-all-build-texinfo
37409 all-fastjar: maybe-all-libiberty
37410 all-autoconf: maybe-all-m4
37411 all-autoconf: maybe-all-build-texinfo
37412 all-automake: maybe-all-m4
37413 all-automake: maybe-all-build-texinfo
37414 all-automake: maybe-all-autoconf
37415 all-bison: maybe-all-intl
37416 all-bison: maybe-all-build-texinfo
37417 all-diff: maybe-all-intl
37418 all-diff: maybe-all-build-texinfo
37419 all-fileutils: maybe-all-intl
37420 all-fileutils: maybe-all-build-texinfo
37421 all-flex: maybe-all-build-bison
37422 all-flex: maybe-all-build-byacc
37423 all-flex: maybe-all-intl
37424 all-flex: maybe-all-m4
37425 all-flex: maybe-all-build-texinfo
37426 all-gzip: maybe-all-intl
37427 all-gzip: maybe-all-zlib
37428 all-gzip: maybe-all-build-texinfo
37429 all-hello: maybe-all-intl
37430 all-hello: maybe-all-build-texinfo
37431 all-m4: maybe-all-intl
37432 all-m4: maybe-all-build-texinfo
37433 all-make: maybe-all-intl
37434 all-make: maybe-all-build-texinfo
37435 all-patch: maybe-all-build-texinfo
37436 all-make: maybe-all-build-texinfo
37437 all-prms: maybe-all-libiberty
37438 all-recode: maybe-all-build-texinfo
37439 all-sed: maybe-all-build-texinfo
37440 all-send-pr: maybe-all-prms
37441 all-tar: maybe-all-build-texinfo
37442 all-uudecode: maybe-all-build-texinfo
37443 configure-target-boehm-gc: maybe-configure-target-qthreads
37444 configure-target-fastjar: maybe-configure-target-zlib
37445 all-target-fastjar: maybe-all-target-zlib
37446 all-target-fastjar: maybe-all-target-libiberty
37447 configure-target-libjava: maybe-configure-target-zlib
37448 configure-target-libjava: maybe-configure-target-boehm-gc
37449 configure-target-libjava: maybe-configure-target-qthreads
37450 configure-target-libjava: maybe-configure-target-libffi
37451 all-target-libjava: maybe-all-fastjar
37452 all-target-libjava: maybe-all-target-zlib
37453 all-target-libjava: maybe-all-target-boehm-gc
37454 all-target-libjava: maybe-all-target-qthreads
37455 all-target-libjava: maybe-all-target-libffi
37456 all-target-libobjc: maybe-all-target-libiberty
37457 all-target-libstdc++-v3: maybe-all-target-libiberty
37458 all-target-libgloss: maybe-configure-target-newlib
37459 all-target-winsup: maybe-all-target-libiberty
37460 all-target-winsup: maybe-all-target-libtermcap
37463 # Non-toplevel bootstrap rules must depend on several packages, to be built
37464 # before gcc. Another wart that will go away, hopefully soon.
37465 @if gcc-no-bootstrap
37467 all-prebootstrap: maybe-all-bfd
37468 all-prebootstrap: maybe-all-opcodes
37469 all-prebootstrap: maybe-all-binutils
37470 all-prebootstrap: maybe-all-gas
37471 all-prebootstrap: maybe-all-intl
37472 all-prebootstrap: maybe-all-ld
37473 all-prebootstrap: maybe-all-libcpp
37474 all-prebootstrap: maybe-all-libdecnumber
37475 all-prebootstrap: maybe-all-libiberty
37476 all-prebootstrap: maybe-all-zlib
37477 @endif gcc-no-bootstrap
37479 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
37480 GDB_TK = @GDB_TK@
37481 INSTALL_GDB_TK = @INSTALL_GDB_TK@
37482 configure-gdb: $(CONFIGURE_GDB_TK)
37483 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
37484 install-gdb: $(INSTALL_GDB_TK)
37486 # Serialization dependencies. Host configures don't work well in parallel to
37487 # each other, due to contention over config.cache. Target configures and
37488 # build configures are similar.
37489 @serialization_dependencies@
37491 # --------------------------------
37492 # Regenerating top level configury
37493 # --------------------------------
37495 # Multilib.out tells target dirs what multilibs they should build.
37496 # There is really only one copy. We use the 'timestamp' method to
37497 # work around various timestamp bugs on some systems.
37498 # We use move-if-change so that it's only considered updated when it
37499 # actually changes, because it has to depend on a phony target.
37500 multilib.out: maybe-all-gcc
37501 @r=`${PWD_COMMAND}`; export r; \
37502 echo "Checking multilib configuration..."; \
37503 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
37504 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
37506 # Rebuilding Makefile.in, using autogen.
37507 AUTOGEN = autogen
37508 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
37509 cd $(srcdir) && $(AUTOGEN) Makefile.def
37511 # Rebuilding Makefile.
37512 Makefile: $(srcdir)/Makefile.in config.status
37513 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
37515 config.status: configure
37516 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
37518 # Rebuilding configure.
37519 AUTOCONF = autoconf
37520 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
37521 cd $(srcdir) && $(AUTOCONF)
37523 # ------------------------------
37524 # Special directives to GNU Make
37525 # ------------------------------
37527 # Don't pass command-line variables to submakes.
37528 .NOEXPORT:
37529 MAKEOVERRIDES=
37531 # end of Makefile.in