2005-10-05 Paolo Bonzini <bonzini@gnu.org>
[binutils.git] / Makefile.in
blob98c0ca98ca4fa6808c168d612ad793ceabb4f504
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.
137 HOST_EXPORTS = \
138 $(BASE_EXPORTS) \
139 CC="$(CC)"; export CC; \
140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142 CXX="$(CXX)"; export CXX; \
143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144 AR="$(AR)"; export AR; \
145 AS="$(AS)"; export AS; \
146 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148 LD="$(LD)"; export LD; \
149 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150 NM="$(NM)"; export NM; \
151 RANLIB="$(RANLIB)"; export RANLIB; \
152 WINDRES="$(WINDRES)"; export WINDRES; \
153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
158 @if gcc-bootstrap
159 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
160 @endif gcc-bootstrap
161 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
163 # Similar, for later GCC stages.
164 POSTSTAGE1_HOST_EXPORTS = \
165 $(HOST_EXPORTS) \
166 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
167 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
168 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
169 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
170 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
171 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
173 # This is set by the configure script to the list of directories which
174 # should be built using the target tools.
175 TARGET_CONFIGDIRS = @target_configdirs@
176 # Target libraries are put under this directory:
177 TARGET_SUBDIR = @target_subdir@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the target.
180 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
181 # This is the list of variables to export in the environment when
182 # configuring subdirectories for the host system.
183 BASE_TARGET_EXPORTS = \
184 $(BASE_EXPORTS) \
185 AR="$(AR_FOR_TARGET)"; export AR; \
186 AS="$(AS_FOR_TARGET)"; export AS; \
187 CC="$(CC_FOR_TARGET)"; export CC; \
188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
189 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
190 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
192 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
193 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
194 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
195 LD="$(LD_FOR_TARGET)"; export LD; \
196 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
197 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
198 NM="$(NM_FOR_TARGET)"; export NM; \
199 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
200 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
201 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
202 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
204 RAW_CXX_TARGET_EXPORTS = \
205 $(BASE_TARGET_EXPORTS) \
206 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
207 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
209 NORMAL_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX="$(CXX_FOR_TARGET)"; export CXX;
213 # Where to find GMP
214 HOST_GMPLIBS = @gmplibs@
215 HOST_GMPINC = @gmpinc@
217 # ----------------------------------------------
218 # Programs producing files for the BUILD machine
219 # ----------------------------------------------
221 SHELL = @config_shell@
223 # pwd command to use. Allow user to override default by setting PWDCMD in
224 # the environment to account for automounters. The make variable must not
225 # be called PWDCMD, otherwise the value set here is passed to make
226 # subprocesses and overrides the setting from the user's environment.
227 # Don't use PWD since it is a common shell environment variable and we
228 # don't want to corrupt it.
229 PWD_COMMAND = $${PWDCMD-pwd}
231 # compilers to use to create programs which must be run in the build
232 # environment.
233 CC_FOR_BUILD = @CC_FOR_BUILD@
234 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
236 CXX_FOR_BUILD = $(CXX)
238 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
239 # here so that they can be overridden by Makefile fragments.
240 BUILD_PREFIX = @BUILD_PREFIX@
241 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
243 # Flags to pass to stage2 and later makes. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BOOT_CFLAGS= -g -O2
247 CONFIGURED_BISON = @CONFIGURED_BISON@
248 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
249 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
250 else \
251 echo ${CONFIGURED_BISON} ; \
254 CONFIGURED_YACC = @CONFIGURED_YACC@
255 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
256 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
257 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
258 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
259 else \
260 echo ${CONFIGURED_YACC} ; \
263 CONFIGURED_FLEX = @CONFIGURED_FLEX@
264 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
265 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
266 else echo ${CONFIGURED_FLEX} ; fi`
268 CONFIGURED_LEX = @CONFIGURED_LEX@
269 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
270 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
271 else echo ${CONFIGURED_LEX} ; fi`
273 CONFIGURED_M4 = @CONFIGURED_M4@
274 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
276 else echo ${CONFIGURED_M4} ; fi`
278 # For an installed makeinfo, we require it to be from texinfo 4.2 or
279 # higher, else we use the "missing" dummy. We also pass the subdirectory
280 # makeinfo even if only the Makefile is there, because Texinfo builds its
281 # manual when made, and it requires its own version.
282 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
283 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
284 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
285 else if (${CONFIGURED_MAKEINFO} --version \
286 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
287 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
289 # This just becomes part of the MAKEINFO definition passed down to
290 # sub-makes. It lets flags be given on the command line while still
291 # using the makeinfo from the object tree.
292 # (Default to avoid splitting info files by setting the threshold high.)
293 MAKEINFOFLAGS = --split-size=5000000
295 # FIXME: expect may become a build tool?
296 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
297 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
298 else echo expect ; fi`
300 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
301 then echo $$s/dejagnu/runtest ; \
302 else echo runtest ; fi`
304 # ---------------------------------------------
305 # Programs producing files for the HOST machine
306 # ---------------------------------------------
308 AS = @AS@
310 AR = @AR@
311 AR_FLAGS = rc
313 CC = @CC@
314 CFLAGS = @CFLAGS@
315 LIBCFLAGS = $(CFLAGS)
317 CXX = @CXX@
318 CXXFLAGS = @CXXFLAGS@
319 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
321 DLLTOOL = @DLLTOOL@
323 NM = @NM@
325 LD = @LD@
326 LDFLAGS =
328 RANLIB = @RANLIB@
330 WINDRES = @WINDRES@
332 PICFLAG =
334 # -----------------------------------------------
335 # Programs producing files for the TARGET machine
336 # -----------------------------------------------
338 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
340 AR_FOR_TARGET=@AR_FOR_TARGET@
341 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
342 USUAL_AR_FOR_TARGET = ` \
343 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
344 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
345 else \
346 if [ '$(host)' = '$(target)' ] ; then \
347 echo $(AR); \
348 else \
349 echo $(CONFIGURED_AR_FOR_TARGET) ; \
350 fi; \
353 AS_FOR_TARGET=@AS_FOR_TARGET@
354 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
355 USUAL_AS_FOR_TARGET = ` \
356 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
357 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
358 elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \
359 echo $$r/$(HOST_SUBDIR)/gcc/as ; \
360 else \
361 if [ '$(host)' = '$(target)' ] ; then \
362 echo $(AS); \
363 else \
364 echo $(CONFIGURED_AS_FOR_TARGET) ; \
365 fi; \
368 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
369 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
370 USUAL_CC_FOR_TARGET = ` \
371 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
372 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
373 else \
374 if [ '$(host)' = '$(target)' ] ; then \
375 echo $(CC); \
376 else \
377 echo $(CONFIGURED_CC_FOR_TARGET) ; \
378 fi; \
381 # During gcc bootstrap, if we use some random cc for stage1 then
382 # CFLAGS will be just -g. We want to ensure that TARGET libraries
383 # (which we know are built with gcc) are built with optimizations so
384 # prepend -O2 when setting CFLAGS_FOR_TARGET.
385 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
386 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
388 # If GCC_FOR_TARGET is not overriden on the command line, then this
389 # variable is passed down to the gcc Makefile, where it is used to
390 # build libgcc2.a. We define it here so that it can itself be
391 # overridden on the command line.
392 GCC_FOR_TARGET=@GCC_FOR_TARGET@
393 CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_GCC_FOR_TARGET@
394 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
395 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
396 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
398 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
399 CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@
400 USUAL_CXX_FOR_TARGET = ` \
401 if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \
402 (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \
403 test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \
404 echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \
405 else \
406 if [ '$(host)' = '$(target)' ] ; then \
407 echo $(CXX); \
408 else \
409 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
410 fi; \
413 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
414 USUAL_RAW_CXX_FOR_TARGET = ` \
415 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
416 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs; \
417 else \
418 if [ '$(host)' = '$(target)' ] ; then \
419 echo $(CXX); \
420 else \
421 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
422 fi; \
425 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
426 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
428 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
429 CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@
430 USUAL_GCJ_FOR_TARGET = ` \
431 if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \
432 echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \
433 else \
434 if [ '$(host)' = '$(target)' ] ; then \
435 echo $(GCJ); \
436 else \
437 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
438 fi; \
441 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
442 CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@
443 USUAL_GFORTRAN_FOR_TARGET = ` \
444 if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \
445 echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \
446 else \
447 if [ '$(host)' = '$(target)' ] ; then \
448 echo $(GFORTRAN); \
449 else \
450 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
451 fi; \
455 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
456 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
457 USUAL_DLLTOOL_FOR_TARGET = ` \
458 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
459 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
460 else \
461 if [ '$(host)' = '$(target)' ] ; then \
462 echo $(DLLTOOL); \
463 else \
464 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
465 fi; \
468 LD_FOR_TARGET=@LD_FOR_TARGET@
469 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
470 USUAL_LD_FOR_TARGET = ` \
471 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
472 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
473 elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \
474 echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \
475 else \
476 if [ '$(host)' = '$(target)' ] ; then \
477 echo $(LD); \
478 else \
479 echo $(CONFIGURED_LD_FOR_TARGET) ; \
480 fi; \
483 LDFLAGS_FOR_TARGET =
485 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
486 CONFIGURED_LIPO_FOR_TARGET=@CONFIGURED_LIPO_FOR_TARGET@
487 USUAL_LIPO_FOR_TARGET = ` \
488 if [ '$(host)' = '$(target)' ] ; then \
489 if [ x'$(LIPO)' != x ]; then \
490 echo $(LIPO); \
491 else \
492 echo lipo; \
493 fi; \
494 else \
495 echo $(CONFIGURED_LIPO_FOR_TARGET) ; \
498 NM_FOR_TARGET=@NM_FOR_TARGET@
499 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
500 USUAL_NM_FOR_TARGET = ` \
501 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
502 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
503 elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \
504 echo $$r/$(HOST_SUBDIR)/gcc/nm ; \
505 else \
506 if [ '$(host)' = '$(target)' ] ; then \
507 echo $(NM); \
508 else \
509 echo $(CONFIGURED_NM_FOR_TARGET) ; \
510 fi; \
513 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
514 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
515 USUAL_RANLIB_FOR_TARGET = ` \
516 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
517 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
518 else \
519 if [ '$(host)' = '$(target)' ] ; then \
520 if [ x'$(RANLIB)' != x ]; then \
521 echo $(RANLIB); \
522 else \
523 echo ranlib; \
524 fi; \
525 else \
526 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
527 fi; \
530 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
531 CONFIGURED_STRIP_FOR_TARGET=@CONFIGURED_STRIP_FOR_TARGET@
532 USUAL_STRIP_FOR_TARGET = ` \
533 if [ -f $$r/$(HOST_SUBDIR)/binutils/strip ] ; then \
534 echo $$r/$(HOST_SUBDIR)/binutils/strip ; \
535 else \
536 if [ '$(host)' = '$(target)' ] ; then \
537 if [ x'$(STRIP)' != x ]; then \
538 echo $(STRIP); \
539 else \
540 echo strip; \
541 fi; \
542 else \
543 echo $(CONFIGURED_STRIP_FOR_TARGET) ; \
544 fi; \
547 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
548 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
549 USUAL_WINDRES_FOR_TARGET = ` \
550 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
551 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
552 else \
553 if [ '$(host)' = '$(target)' ] ; then \
554 echo $(WINDRES); \
555 else \
556 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
557 fi; \
560 PICFLAG_FOR_TARGET =
562 # ------------------------------------
563 # Miscellaneous targets and flag lists
564 # ------------------------------------
566 # The first rule in the file had better be this one. Don't put any above it.
567 # This lives here to allow makefile fragments to contain dependencies.
568 all:
570 #### host and target specific makefile fragments come in here.
571 @target_makefile_frag@
572 @alphaieee_frag@
573 @ospace_frag@
574 @host_makefile_frag@
577 # This is the list of directories that may be needed in RPATH_ENVVAR
578 # so that prorgams built for the target machine work.
579 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
581 @if target-libstdc++-v3
582 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
583 @endif target-libstdc++-v3
585 @if target-libmudflap
586 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
587 @endif target-libmudflap
589 @if target-libssp
590 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
591 @endif target-libssp
595 # This is the list of directories that may be needed in RPATH_ENVVAR
596 # so that programs built for the host machine work.
597 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
599 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
600 @if gcc
601 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
602 @endif gcc
605 @if bfd
606 HOST_LIB_PATH_bfd = \
607 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
608 @endif bfd
610 @if opcodes
611 HOST_LIB_PATH_opcodes = \
612 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
613 @endif opcodes
616 # Flags to pass down to all sub-makes.
617 BASE_FLAGS_TO_PASS = \
618 "DESTDIR=$(DESTDIR)" \
619 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
620 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
621 "bindir=$(bindir)" \
622 "datadir=$(datadir)" \
623 "exec_prefix=$(exec_prefix)" \
624 "includedir=$(includedir)" \
625 "infodir=$(infodir)" \
626 "libdir=$(libdir)" \
627 "libexecdir=$(libexecdir)" \
628 "lispdir=$(lispdir)" \
629 "localstatedir=$(localstatedir)" \
630 "mandir=$(mandir)" \
631 "oldincludedir=$(oldincludedir)" \
632 "prefix=$(prefix)" \
633 "sbindir=$(sbindir)" \
634 "sharedstatedir=$(sharedstatedir)" \
635 "sysconfdir=$(sysconfdir)" \
636 "tooldir=$(tooldir)" \
637 "build_tooldir=$(build_tooldir)" \
638 "target_alias=$(target_alias)" \
639 "BISON=$(BISON)" \
640 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
641 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
642 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
643 "EXPECT=$(EXPECT)" \
644 "FLEX=$(FLEX)" \
645 "INSTALL=$(INSTALL)" \
646 "INSTALL_DATA=$(INSTALL_DATA)" \
647 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
648 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
649 "LEX=$(LEX)" \
650 "M4=$(M4)" \
651 "MAKE=$(MAKE)" \
652 "RUNTEST=$(RUNTEST)" \
653 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
654 "SHELL=$(SHELL)" \
655 "YACC=$(YACC)" \
656 "AR_FLAGS=$(AR_FLAGS)" \
657 "CFLAGS=$(CFLAGS)" \
658 "CXXFLAGS=$(CXXFLAGS)" \
659 "LDFLAGS=$(LDFLAGS)" \
660 "LIBCFLAGS=$(LIBCFLAGS)" \
661 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
662 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
663 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
664 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
665 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
666 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
667 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
668 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
669 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
670 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
671 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
672 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
673 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
674 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
675 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
676 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
677 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
678 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
679 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
680 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
681 "CONFIG_SHELL=$(SHELL)" \
682 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
684 # We leave this in just in case, but it is not needed anymore.
685 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
687 # Flags to pass down to most sub-makes, in which we're building with
688 # the host environment.
689 EXTRA_HOST_FLAGS = \
690 'AR=$(AR)' \
691 'AS=$(AS)' \
692 'CC=$(CC)' \
693 'CXX=$(CXX)' \
694 'DLLTOOL=$(DLLTOOL)' \
695 'LD=$(LD)' \
696 'NM=$(NM)' \
697 'RANLIB=$(RANLIB)' \
698 'WINDRES=$(WINDRES)'
700 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
702 # Flags that are concerned with the location of the X11 include files
703 # and library files
705 # NOTE: until the top-level is getting the values via autoconf, it only
706 # causes problems to have this top-level Makefile overriding the autoconf-set
707 # values in child directories. Only variables that don't conflict with
708 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
710 X11_FLAGS_TO_PASS = \
711 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
712 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
714 # Flags to pass down to makes which are built with the target environment.
715 # The double $ decreases the length of the command line; the variables
716 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
717 EXTRA_TARGET_FLAGS = \
718 'AR=$$(AR_FOR_TARGET)' \
719 'AS=$$(AS_FOR_TARGET)' \
720 'CC=$$(CC_FOR_TARGET)' \
721 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
722 'CXX=$$(CXX_FOR_TARGET)' \
723 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
724 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
725 'LD=$$(LD_FOR_TARGET)' \
726 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
727 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
728 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
729 'NM=$$(NM_FOR_TARGET)' \
730 'RANLIB=$$(RANLIB_FOR_TARGET)' \
731 'WINDRES=$$(WINDRES_FOR_TARGET)'
733 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
735 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
736 # unfortunately needs the native compiler and the target ar and
737 # ranlib.
738 # If any variables are added here, they must be added to do-*, below.
739 # The BUILD_* variables are a special case, which are used for the gcc
740 # cross-building scheme.
741 EXTRA_GCC_FLAGS = \
742 'BUILD_PREFIX=$(BUILD_PREFIX)' \
743 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
744 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
745 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
746 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
747 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
748 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
749 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
750 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
751 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
752 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
753 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
755 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
757 .PHONY: configure-host
758 configure-host: \
759 maybe-configure-ash \
760 maybe-configure-autoconf \
761 maybe-configure-automake \
762 maybe-configure-bash \
763 maybe-configure-bfd \
764 maybe-configure-opcodes \
765 maybe-configure-binutils \
766 maybe-configure-bison \
767 maybe-configure-byacc \
768 maybe-configure-bzip2 \
769 maybe-configure-dejagnu \
770 maybe-configure-diff \
771 maybe-configure-dosutils \
772 maybe-configure-etc \
773 maybe-configure-fastjar \
774 maybe-configure-fileutils \
775 maybe-configure-findutils \
776 maybe-configure-find \
777 maybe-configure-fixincludes \
778 maybe-configure-flex \
779 maybe-configure-gas \
780 maybe-configure-gcc \
781 maybe-configure-gawk \
782 maybe-configure-gettext \
783 maybe-configure-gnuserv \
784 maybe-configure-gprof \
785 maybe-configure-gzip \
786 maybe-configure-hello \
787 maybe-configure-indent \
788 maybe-configure-intl \
789 maybe-configure-tcl \
790 maybe-configure-itcl \
791 maybe-configure-ld \
792 maybe-configure-libcpp \
793 maybe-configure-libgui \
794 maybe-configure-libiberty \
795 maybe-configure-libtool \
796 maybe-configure-m4 \
797 maybe-configure-make \
798 maybe-configure-mmalloc \
799 maybe-configure-patch \
800 maybe-configure-perl \
801 maybe-configure-prms \
802 maybe-configure-rcs \
803 maybe-configure-readline \
804 maybe-configure-release \
805 maybe-configure-recode \
806 maybe-configure-sed \
807 maybe-configure-send-pr \
808 maybe-configure-shellutils \
809 maybe-configure-sid \
810 maybe-configure-sim \
811 maybe-configure-tar \
812 maybe-configure-texinfo \
813 maybe-configure-textutils \
814 maybe-configure-time \
815 maybe-configure-uudecode \
816 maybe-configure-wdiff \
817 maybe-configure-zip \
818 maybe-configure-zlib \
819 maybe-configure-gdb \
820 maybe-configure-expect \
821 maybe-configure-guile \
822 maybe-configure-tk \
823 maybe-configure-libtermcap \
824 maybe-configure-utils \
825 maybe-configure-gnattools
826 .PHONY: configure-target
827 configure-target: \
828 maybe-configure-target-libstdc++-v3 \
829 maybe-configure-target-libmudflap \
830 maybe-configure-target-libssp \
831 maybe-configure-target-newlib \
832 maybe-configure-target-libgfortran \
833 maybe-configure-target-libobjc \
834 maybe-configure-target-libtermcap \
835 maybe-configure-target-winsup \
836 maybe-configure-target-libgloss \
837 maybe-configure-target-libiberty \
838 maybe-configure-target-gperf \
839 maybe-configure-target-examples \
840 maybe-configure-target-libffi \
841 maybe-configure-target-libjava \
842 maybe-configure-target-zlib \
843 maybe-configure-target-boehm-gc \
844 maybe-configure-target-qthreads \
845 maybe-configure-target-rda \
846 maybe-configure-target-libada
848 # The target built for a native non-bootstrap build.
849 .PHONY: all
850 all:
851 @if gcc-bootstrap
852 @r=`${PWD_COMMAND}`; export r; \
853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
854 if [ ! -f stage_last ]; then \
855 $(MAKE) $(RECURSE_FLAGS_TO_PASS) bootstrap; \
857 @endif gcc-bootstrap
858 @$(unstage)
859 @r=`${PWD_COMMAND}`; export r; \
860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
861 if [ -f stage_last ]; then \
862 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host; \
863 else \
864 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host; \
866 @r=`${PWD_COMMAND}`; export r; \
867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
868 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-target
869 @$(stage)
871 .PHONY: all-build
872 all-build: \
873 maybe-all-build-libiberty \
874 maybe-all-build-bison \
875 maybe-all-build-byacc \
876 maybe-all-build-flex \
877 maybe-all-build-m4 \
878 maybe-all-build-texinfo \
879 maybe-all-build-fixincludes
880 .PHONY: all-host
881 all-host: \
882 maybe-all-ash \
883 maybe-all-autoconf \
884 maybe-all-automake \
885 maybe-all-bash \
886 maybe-all-bfd \
887 maybe-all-opcodes \
888 maybe-all-binutils \
889 maybe-all-bison \
890 maybe-all-byacc \
891 maybe-all-bzip2 \
892 maybe-all-dejagnu \
893 maybe-all-diff \
894 maybe-all-dosutils \
895 maybe-all-etc \
896 maybe-all-fastjar \
897 maybe-all-fileutils \
898 maybe-all-findutils \
899 maybe-all-find \
900 maybe-all-fixincludes \
901 maybe-all-flex \
902 maybe-all-gas \
903 maybe-all-gcc \
904 maybe-all-gawk \
905 maybe-all-gettext \
906 maybe-all-gnuserv \
907 maybe-all-gprof \
908 maybe-all-gzip \
909 maybe-all-hello \
910 maybe-all-indent \
911 maybe-all-intl \
912 maybe-all-tcl \
913 maybe-all-itcl \
914 maybe-all-ld \
915 maybe-all-libcpp \
916 maybe-all-libgui \
917 maybe-all-libiberty \
918 maybe-all-libtool \
919 maybe-all-m4 \
920 maybe-all-make \
921 maybe-all-mmalloc \
922 maybe-all-patch \
923 maybe-all-perl \
924 maybe-all-prms \
925 maybe-all-rcs \
926 maybe-all-readline \
927 maybe-all-release \
928 maybe-all-recode \
929 maybe-all-sed \
930 maybe-all-send-pr \
931 maybe-all-shellutils \
932 maybe-all-sid \
933 maybe-all-sim \
934 maybe-all-tar \
935 maybe-all-texinfo \
936 maybe-all-textutils \
937 maybe-all-time \
938 maybe-all-uudecode \
939 maybe-all-wdiff \
940 maybe-all-zip \
941 maybe-all-zlib \
942 maybe-all-gdb \
943 maybe-all-expect \
944 maybe-all-guile \
945 maybe-all-tk \
946 maybe-all-libtermcap \
947 maybe-all-utils \
948 maybe-all-gnattools
949 .PHONY: all-target
950 all-target: \
951 maybe-all-target-libstdc++-v3 \
952 maybe-all-target-libmudflap \
953 maybe-all-target-libssp \
954 maybe-all-target-newlib \
955 maybe-all-target-libgfortran \
956 maybe-all-target-libobjc \
957 maybe-all-target-libtermcap \
958 maybe-all-target-winsup \
959 maybe-all-target-libgloss \
960 maybe-all-target-libiberty \
961 maybe-all-target-gperf \
962 maybe-all-target-examples \
963 maybe-all-target-libffi \
964 maybe-all-target-libjava \
965 maybe-all-target-zlib \
966 maybe-all-target-boehm-gc \
967 maybe-all-target-qthreads \
968 maybe-all-target-rda \
969 maybe-all-target-libada
971 # Do a target for all the subdirectories. A ``make do-X'' will do a
972 # ``make X'' in all subdirectories (because, in general, there is a
973 # dependency (below) of X upon do-X, a ``make X'' will also do this,
974 # but it may do additional work as well).
976 .PHONY: do-info
977 do-info:
978 @$(unstage)
979 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
980 info-target
981 @$(stage)
984 .PHONY: info-host
985 info-host: \
986 maybe-info-ash \
987 maybe-info-autoconf \
988 maybe-info-automake \
989 maybe-info-bash \
990 maybe-info-bfd \
991 maybe-info-opcodes \
992 maybe-info-binutils \
993 maybe-info-bison \
994 maybe-info-byacc \
995 maybe-info-bzip2 \
996 maybe-info-dejagnu \
997 maybe-info-diff \
998 maybe-info-dosutils \
999 maybe-info-etc \
1000 maybe-info-fastjar \
1001 maybe-info-fileutils \
1002 maybe-info-findutils \
1003 maybe-info-find \
1004 maybe-info-fixincludes \
1005 maybe-info-flex \
1006 maybe-info-gas \
1007 maybe-info-gcc \
1008 maybe-info-gawk \
1009 maybe-info-gettext \
1010 maybe-info-gnuserv \
1011 maybe-info-gprof \
1012 maybe-info-gzip \
1013 maybe-info-hello \
1014 maybe-info-indent \
1015 maybe-info-intl \
1016 maybe-info-tcl \
1017 maybe-info-itcl \
1018 maybe-info-ld \
1019 maybe-info-libcpp \
1020 maybe-info-libgui \
1021 maybe-info-libiberty \
1022 maybe-info-libtool \
1023 maybe-info-m4 \
1024 maybe-info-make \
1025 maybe-info-mmalloc \
1026 maybe-info-patch \
1027 maybe-info-perl \
1028 maybe-info-prms \
1029 maybe-info-rcs \
1030 maybe-info-readline \
1031 maybe-info-release \
1032 maybe-info-recode \
1033 maybe-info-sed \
1034 maybe-info-send-pr \
1035 maybe-info-shellutils \
1036 maybe-info-sid \
1037 maybe-info-sim \
1038 maybe-info-tar \
1039 maybe-info-texinfo \
1040 maybe-info-textutils \
1041 maybe-info-time \
1042 maybe-info-uudecode \
1043 maybe-info-wdiff \
1044 maybe-info-zip \
1045 maybe-info-zlib \
1046 maybe-info-gdb \
1047 maybe-info-expect \
1048 maybe-info-guile \
1049 maybe-info-tk \
1050 maybe-info-libtermcap \
1051 maybe-info-utils \
1052 maybe-info-gnattools
1054 .PHONY: info-target
1055 info-target: \
1056 maybe-info-target-libstdc++-v3 \
1057 maybe-info-target-libmudflap \
1058 maybe-info-target-libssp \
1059 maybe-info-target-newlib \
1060 maybe-info-target-libgfortran \
1061 maybe-info-target-libobjc \
1062 maybe-info-target-libtermcap \
1063 maybe-info-target-winsup \
1064 maybe-info-target-libgloss \
1065 maybe-info-target-libiberty \
1066 maybe-info-target-gperf \
1067 maybe-info-target-examples \
1068 maybe-info-target-libffi \
1069 maybe-info-target-libjava \
1070 maybe-info-target-zlib \
1071 maybe-info-target-boehm-gc \
1072 maybe-info-target-qthreads \
1073 maybe-info-target-rda \
1074 maybe-info-target-libada
1076 .PHONY: do-dvi
1077 do-dvi:
1078 @$(unstage)
1079 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1080 dvi-target
1081 @$(stage)
1084 .PHONY: dvi-host
1085 dvi-host: \
1086 maybe-dvi-ash \
1087 maybe-dvi-autoconf \
1088 maybe-dvi-automake \
1089 maybe-dvi-bash \
1090 maybe-dvi-bfd \
1091 maybe-dvi-opcodes \
1092 maybe-dvi-binutils \
1093 maybe-dvi-bison \
1094 maybe-dvi-byacc \
1095 maybe-dvi-bzip2 \
1096 maybe-dvi-dejagnu \
1097 maybe-dvi-diff \
1098 maybe-dvi-dosutils \
1099 maybe-dvi-etc \
1100 maybe-dvi-fastjar \
1101 maybe-dvi-fileutils \
1102 maybe-dvi-findutils \
1103 maybe-dvi-find \
1104 maybe-dvi-fixincludes \
1105 maybe-dvi-flex \
1106 maybe-dvi-gas \
1107 maybe-dvi-gcc \
1108 maybe-dvi-gawk \
1109 maybe-dvi-gettext \
1110 maybe-dvi-gnuserv \
1111 maybe-dvi-gprof \
1112 maybe-dvi-gzip \
1113 maybe-dvi-hello \
1114 maybe-dvi-indent \
1115 maybe-dvi-intl \
1116 maybe-dvi-tcl \
1117 maybe-dvi-itcl \
1118 maybe-dvi-ld \
1119 maybe-dvi-libcpp \
1120 maybe-dvi-libgui \
1121 maybe-dvi-libiberty \
1122 maybe-dvi-libtool \
1123 maybe-dvi-m4 \
1124 maybe-dvi-make \
1125 maybe-dvi-mmalloc \
1126 maybe-dvi-patch \
1127 maybe-dvi-perl \
1128 maybe-dvi-prms \
1129 maybe-dvi-rcs \
1130 maybe-dvi-readline \
1131 maybe-dvi-release \
1132 maybe-dvi-recode \
1133 maybe-dvi-sed \
1134 maybe-dvi-send-pr \
1135 maybe-dvi-shellutils \
1136 maybe-dvi-sid \
1137 maybe-dvi-sim \
1138 maybe-dvi-tar \
1139 maybe-dvi-texinfo \
1140 maybe-dvi-textutils \
1141 maybe-dvi-time \
1142 maybe-dvi-uudecode \
1143 maybe-dvi-wdiff \
1144 maybe-dvi-zip \
1145 maybe-dvi-zlib \
1146 maybe-dvi-gdb \
1147 maybe-dvi-expect \
1148 maybe-dvi-guile \
1149 maybe-dvi-tk \
1150 maybe-dvi-libtermcap \
1151 maybe-dvi-utils \
1152 maybe-dvi-gnattools
1154 .PHONY: dvi-target
1155 dvi-target: \
1156 maybe-dvi-target-libstdc++-v3 \
1157 maybe-dvi-target-libmudflap \
1158 maybe-dvi-target-libssp \
1159 maybe-dvi-target-newlib \
1160 maybe-dvi-target-libgfortran \
1161 maybe-dvi-target-libobjc \
1162 maybe-dvi-target-libtermcap \
1163 maybe-dvi-target-winsup \
1164 maybe-dvi-target-libgloss \
1165 maybe-dvi-target-libiberty \
1166 maybe-dvi-target-gperf \
1167 maybe-dvi-target-examples \
1168 maybe-dvi-target-libffi \
1169 maybe-dvi-target-libjava \
1170 maybe-dvi-target-zlib \
1171 maybe-dvi-target-boehm-gc \
1172 maybe-dvi-target-qthreads \
1173 maybe-dvi-target-rda \
1174 maybe-dvi-target-libada
1176 .PHONY: do-html
1177 do-html:
1178 @$(unstage)
1179 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1180 html-target
1181 @$(stage)
1184 .PHONY: html-host
1185 html-host: \
1186 maybe-html-ash \
1187 maybe-html-autoconf \
1188 maybe-html-automake \
1189 maybe-html-bash \
1190 maybe-html-bfd \
1191 maybe-html-opcodes \
1192 maybe-html-binutils \
1193 maybe-html-bison \
1194 maybe-html-byacc \
1195 maybe-html-bzip2 \
1196 maybe-html-dejagnu \
1197 maybe-html-diff \
1198 maybe-html-dosutils \
1199 maybe-html-etc \
1200 maybe-html-fastjar \
1201 maybe-html-fileutils \
1202 maybe-html-findutils \
1203 maybe-html-find \
1204 maybe-html-fixincludes \
1205 maybe-html-flex \
1206 maybe-html-gas \
1207 maybe-html-gcc \
1208 maybe-html-gawk \
1209 maybe-html-gettext \
1210 maybe-html-gnuserv \
1211 maybe-html-gprof \
1212 maybe-html-gzip \
1213 maybe-html-hello \
1214 maybe-html-indent \
1215 maybe-html-intl \
1216 maybe-html-tcl \
1217 maybe-html-itcl \
1218 maybe-html-ld \
1219 maybe-html-libcpp \
1220 maybe-html-libgui \
1221 maybe-html-libiberty \
1222 maybe-html-libtool \
1223 maybe-html-m4 \
1224 maybe-html-make \
1225 maybe-html-mmalloc \
1226 maybe-html-patch \
1227 maybe-html-perl \
1228 maybe-html-prms \
1229 maybe-html-rcs \
1230 maybe-html-readline \
1231 maybe-html-release \
1232 maybe-html-recode \
1233 maybe-html-sed \
1234 maybe-html-send-pr \
1235 maybe-html-shellutils \
1236 maybe-html-sid \
1237 maybe-html-sim \
1238 maybe-html-tar \
1239 maybe-html-texinfo \
1240 maybe-html-textutils \
1241 maybe-html-time \
1242 maybe-html-uudecode \
1243 maybe-html-wdiff \
1244 maybe-html-zip \
1245 maybe-html-zlib \
1246 maybe-html-gdb \
1247 maybe-html-expect \
1248 maybe-html-guile \
1249 maybe-html-tk \
1250 maybe-html-libtermcap \
1251 maybe-html-utils \
1252 maybe-html-gnattools
1254 .PHONY: html-target
1255 html-target: \
1256 maybe-html-target-libstdc++-v3 \
1257 maybe-html-target-libmudflap \
1258 maybe-html-target-libssp \
1259 maybe-html-target-newlib \
1260 maybe-html-target-libgfortran \
1261 maybe-html-target-libobjc \
1262 maybe-html-target-libtermcap \
1263 maybe-html-target-winsup \
1264 maybe-html-target-libgloss \
1265 maybe-html-target-libiberty \
1266 maybe-html-target-gperf \
1267 maybe-html-target-examples \
1268 maybe-html-target-libffi \
1269 maybe-html-target-libjava \
1270 maybe-html-target-zlib \
1271 maybe-html-target-boehm-gc \
1272 maybe-html-target-qthreads \
1273 maybe-html-target-rda \
1274 maybe-html-target-libada
1276 .PHONY: do-TAGS
1277 do-TAGS:
1278 @$(unstage)
1279 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1280 TAGS-target
1281 @$(stage)
1284 .PHONY: TAGS-host
1285 TAGS-host: \
1286 maybe-TAGS-ash \
1287 maybe-TAGS-autoconf \
1288 maybe-TAGS-automake \
1289 maybe-TAGS-bash \
1290 maybe-TAGS-bfd \
1291 maybe-TAGS-opcodes \
1292 maybe-TAGS-binutils \
1293 maybe-TAGS-bison \
1294 maybe-TAGS-byacc \
1295 maybe-TAGS-bzip2 \
1296 maybe-TAGS-dejagnu \
1297 maybe-TAGS-diff \
1298 maybe-TAGS-dosutils \
1299 maybe-TAGS-etc \
1300 maybe-TAGS-fastjar \
1301 maybe-TAGS-fileutils \
1302 maybe-TAGS-findutils \
1303 maybe-TAGS-find \
1304 maybe-TAGS-fixincludes \
1305 maybe-TAGS-flex \
1306 maybe-TAGS-gas \
1307 maybe-TAGS-gcc \
1308 maybe-TAGS-gawk \
1309 maybe-TAGS-gettext \
1310 maybe-TAGS-gnuserv \
1311 maybe-TAGS-gprof \
1312 maybe-TAGS-gzip \
1313 maybe-TAGS-hello \
1314 maybe-TAGS-indent \
1315 maybe-TAGS-intl \
1316 maybe-TAGS-tcl \
1317 maybe-TAGS-itcl \
1318 maybe-TAGS-ld \
1319 maybe-TAGS-libcpp \
1320 maybe-TAGS-libgui \
1321 maybe-TAGS-libiberty \
1322 maybe-TAGS-libtool \
1323 maybe-TAGS-m4 \
1324 maybe-TAGS-make \
1325 maybe-TAGS-mmalloc \
1326 maybe-TAGS-patch \
1327 maybe-TAGS-perl \
1328 maybe-TAGS-prms \
1329 maybe-TAGS-rcs \
1330 maybe-TAGS-readline \
1331 maybe-TAGS-release \
1332 maybe-TAGS-recode \
1333 maybe-TAGS-sed \
1334 maybe-TAGS-send-pr \
1335 maybe-TAGS-shellutils \
1336 maybe-TAGS-sid \
1337 maybe-TAGS-sim \
1338 maybe-TAGS-tar \
1339 maybe-TAGS-texinfo \
1340 maybe-TAGS-textutils \
1341 maybe-TAGS-time \
1342 maybe-TAGS-uudecode \
1343 maybe-TAGS-wdiff \
1344 maybe-TAGS-zip \
1345 maybe-TAGS-zlib \
1346 maybe-TAGS-gdb \
1347 maybe-TAGS-expect \
1348 maybe-TAGS-guile \
1349 maybe-TAGS-tk \
1350 maybe-TAGS-libtermcap \
1351 maybe-TAGS-utils \
1352 maybe-TAGS-gnattools
1354 .PHONY: TAGS-target
1355 TAGS-target: \
1356 maybe-TAGS-target-libstdc++-v3 \
1357 maybe-TAGS-target-libmudflap \
1358 maybe-TAGS-target-libssp \
1359 maybe-TAGS-target-newlib \
1360 maybe-TAGS-target-libgfortran \
1361 maybe-TAGS-target-libobjc \
1362 maybe-TAGS-target-libtermcap \
1363 maybe-TAGS-target-winsup \
1364 maybe-TAGS-target-libgloss \
1365 maybe-TAGS-target-libiberty \
1366 maybe-TAGS-target-gperf \
1367 maybe-TAGS-target-examples \
1368 maybe-TAGS-target-libffi \
1369 maybe-TAGS-target-libjava \
1370 maybe-TAGS-target-zlib \
1371 maybe-TAGS-target-boehm-gc \
1372 maybe-TAGS-target-qthreads \
1373 maybe-TAGS-target-rda \
1374 maybe-TAGS-target-libada
1376 .PHONY: do-install-info
1377 do-install-info:
1378 @$(unstage)
1379 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1380 install-info-target
1381 @$(stage)
1384 .PHONY: install-info-host
1385 install-info-host: \
1386 maybe-install-info-ash \
1387 maybe-install-info-autoconf \
1388 maybe-install-info-automake \
1389 maybe-install-info-bash \
1390 maybe-install-info-bfd \
1391 maybe-install-info-opcodes \
1392 maybe-install-info-binutils \
1393 maybe-install-info-bison \
1394 maybe-install-info-byacc \
1395 maybe-install-info-bzip2 \
1396 maybe-install-info-dejagnu \
1397 maybe-install-info-diff \
1398 maybe-install-info-dosutils \
1399 maybe-install-info-etc \
1400 maybe-install-info-fastjar \
1401 maybe-install-info-fileutils \
1402 maybe-install-info-findutils \
1403 maybe-install-info-find \
1404 maybe-install-info-fixincludes \
1405 maybe-install-info-flex \
1406 maybe-install-info-gas \
1407 maybe-install-info-gcc \
1408 maybe-install-info-gawk \
1409 maybe-install-info-gettext \
1410 maybe-install-info-gnuserv \
1411 maybe-install-info-gprof \
1412 maybe-install-info-gzip \
1413 maybe-install-info-hello \
1414 maybe-install-info-indent \
1415 maybe-install-info-intl \
1416 maybe-install-info-tcl \
1417 maybe-install-info-itcl \
1418 maybe-install-info-ld \
1419 maybe-install-info-libcpp \
1420 maybe-install-info-libgui \
1421 maybe-install-info-libiberty \
1422 maybe-install-info-libtool \
1423 maybe-install-info-m4 \
1424 maybe-install-info-make \
1425 maybe-install-info-mmalloc \
1426 maybe-install-info-patch \
1427 maybe-install-info-perl \
1428 maybe-install-info-prms \
1429 maybe-install-info-rcs \
1430 maybe-install-info-readline \
1431 maybe-install-info-release \
1432 maybe-install-info-recode \
1433 maybe-install-info-sed \
1434 maybe-install-info-send-pr \
1435 maybe-install-info-shellutils \
1436 maybe-install-info-sid \
1437 maybe-install-info-sim \
1438 maybe-install-info-tar \
1439 maybe-install-info-texinfo \
1440 maybe-install-info-textutils \
1441 maybe-install-info-time \
1442 maybe-install-info-uudecode \
1443 maybe-install-info-wdiff \
1444 maybe-install-info-zip \
1445 maybe-install-info-zlib \
1446 maybe-install-info-gdb \
1447 maybe-install-info-expect \
1448 maybe-install-info-guile \
1449 maybe-install-info-tk \
1450 maybe-install-info-libtermcap \
1451 maybe-install-info-utils \
1452 maybe-install-info-gnattools
1454 .PHONY: install-info-target
1455 install-info-target: \
1456 maybe-install-info-target-libstdc++-v3 \
1457 maybe-install-info-target-libmudflap \
1458 maybe-install-info-target-libssp \
1459 maybe-install-info-target-newlib \
1460 maybe-install-info-target-libgfortran \
1461 maybe-install-info-target-libobjc \
1462 maybe-install-info-target-libtermcap \
1463 maybe-install-info-target-winsup \
1464 maybe-install-info-target-libgloss \
1465 maybe-install-info-target-libiberty \
1466 maybe-install-info-target-gperf \
1467 maybe-install-info-target-examples \
1468 maybe-install-info-target-libffi \
1469 maybe-install-info-target-libjava \
1470 maybe-install-info-target-zlib \
1471 maybe-install-info-target-boehm-gc \
1472 maybe-install-info-target-qthreads \
1473 maybe-install-info-target-rda \
1474 maybe-install-info-target-libada
1476 .PHONY: do-installcheck
1477 do-installcheck:
1478 @$(unstage)
1479 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1480 installcheck-target
1481 @$(stage)
1484 .PHONY: installcheck-host
1485 installcheck-host: \
1486 maybe-installcheck-ash \
1487 maybe-installcheck-autoconf \
1488 maybe-installcheck-automake \
1489 maybe-installcheck-bash \
1490 maybe-installcheck-bfd \
1491 maybe-installcheck-opcodes \
1492 maybe-installcheck-binutils \
1493 maybe-installcheck-bison \
1494 maybe-installcheck-byacc \
1495 maybe-installcheck-bzip2 \
1496 maybe-installcheck-dejagnu \
1497 maybe-installcheck-diff \
1498 maybe-installcheck-dosutils \
1499 maybe-installcheck-etc \
1500 maybe-installcheck-fastjar \
1501 maybe-installcheck-fileutils \
1502 maybe-installcheck-findutils \
1503 maybe-installcheck-find \
1504 maybe-installcheck-fixincludes \
1505 maybe-installcheck-flex \
1506 maybe-installcheck-gas \
1507 maybe-installcheck-gcc \
1508 maybe-installcheck-gawk \
1509 maybe-installcheck-gettext \
1510 maybe-installcheck-gnuserv \
1511 maybe-installcheck-gprof \
1512 maybe-installcheck-gzip \
1513 maybe-installcheck-hello \
1514 maybe-installcheck-indent \
1515 maybe-installcheck-intl \
1516 maybe-installcheck-tcl \
1517 maybe-installcheck-itcl \
1518 maybe-installcheck-ld \
1519 maybe-installcheck-libcpp \
1520 maybe-installcheck-libgui \
1521 maybe-installcheck-libiberty \
1522 maybe-installcheck-libtool \
1523 maybe-installcheck-m4 \
1524 maybe-installcheck-make \
1525 maybe-installcheck-mmalloc \
1526 maybe-installcheck-patch \
1527 maybe-installcheck-perl \
1528 maybe-installcheck-prms \
1529 maybe-installcheck-rcs \
1530 maybe-installcheck-readline \
1531 maybe-installcheck-release \
1532 maybe-installcheck-recode \
1533 maybe-installcheck-sed \
1534 maybe-installcheck-send-pr \
1535 maybe-installcheck-shellutils \
1536 maybe-installcheck-sid \
1537 maybe-installcheck-sim \
1538 maybe-installcheck-tar \
1539 maybe-installcheck-texinfo \
1540 maybe-installcheck-textutils \
1541 maybe-installcheck-time \
1542 maybe-installcheck-uudecode \
1543 maybe-installcheck-wdiff \
1544 maybe-installcheck-zip \
1545 maybe-installcheck-zlib \
1546 maybe-installcheck-gdb \
1547 maybe-installcheck-expect \
1548 maybe-installcheck-guile \
1549 maybe-installcheck-tk \
1550 maybe-installcheck-libtermcap \
1551 maybe-installcheck-utils \
1552 maybe-installcheck-gnattools
1554 .PHONY: installcheck-target
1555 installcheck-target: \
1556 maybe-installcheck-target-libstdc++-v3 \
1557 maybe-installcheck-target-libmudflap \
1558 maybe-installcheck-target-libssp \
1559 maybe-installcheck-target-newlib \
1560 maybe-installcheck-target-libgfortran \
1561 maybe-installcheck-target-libobjc \
1562 maybe-installcheck-target-libtermcap \
1563 maybe-installcheck-target-winsup \
1564 maybe-installcheck-target-libgloss \
1565 maybe-installcheck-target-libiberty \
1566 maybe-installcheck-target-gperf \
1567 maybe-installcheck-target-examples \
1568 maybe-installcheck-target-libffi \
1569 maybe-installcheck-target-libjava \
1570 maybe-installcheck-target-zlib \
1571 maybe-installcheck-target-boehm-gc \
1572 maybe-installcheck-target-qthreads \
1573 maybe-installcheck-target-rda \
1574 maybe-installcheck-target-libada
1576 .PHONY: do-mostlyclean
1577 do-mostlyclean:
1578 @$(unstage)
1579 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1580 mostlyclean-target
1581 @$(stage)
1584 .PHONY: mostlyclean-host
1585 mostlyclean-host: \
1586 maybe-mostlyclean-ash \
1587 maybe-mostlyclean-autoconf \
1588 maybe-mostlyclean-automake \
1589 maybe-mostlyclean-bash \
1590 maybe-mostlyclean-bfd \
1591 maybe-mostlyclean-opcodes \
1592 maybe-mostlyclean-binutils \
1593 maybe-mostlyclean-bison \
1594 maybe-mostlyclean-byacc \
1595 maybe-mostlyclean-bzip2 \
1596 maybe-mostlyclean-dejagnu \
1597 maybe-mostlyclean-diff \
1598 maybe-mostlyclean-dosutils \
1599 maybe-mostlyclean-etc \
1600 maybe-mostlyclean-fastjar \
1601 maybe-mostlyclean-fileutils \
1602 maybe-mostlyclean-findutils \
1603 maybe-mostlyclean-find \
1604 maybe-mostlyclean-fixincludes \
1605 maybe-mostlyclean-flex \
1606 maybe-mostlyclean-gas \
1607 maybe-mostlyclean-gcc \
1608 maybe-mostlyclean-gawk \
1609 maybe-mostlyclean-gettext \
1610 maybe-mostlyclean-gnuserv \
1611 maybe-mostlyclean-gprof \
1612 maybe-mostlyclean-gzip \
1613 maybe-mostlyclean-hello \
1614 maybe-mostlyclean-indent \
1615 maybe-mostlyclean-intl \
1616 maybe-mostlyclean-tcl \
1617 maybe-mostlyclean-itcl \
1618 maybe-mostlyclean-ld \
1619 maybe-mostlyclean-libcpp \
1620 maybe-mostlyclean-libgui \
1621 maybe-mostlyclean-libiberty \
1622 maybe-mostlyclean-libtool \
1623 maybe-mostlyclean-m4 \
1624 maybe-mostlyclean-make \
1625 maybe-mostlyclean-mmalloc \
1626 maybe-mostlyclean-patch \
1627 maybe-mostlyclean-perl \
1628 maybe-mostlyclean-prms \
1629 maybe-mostlyclean-rcs \
1630 maybe-mostlyclean-readline \
1631 maybe-mostlyclean-release \
1632 maybe-mostlyclean-recode \
1633 maybe-mostlyclean-sed \
1634 maybe-mostlyclean-send-pr \
1635 maybe-mostlyclean-shellutils \
1636 maybe-mostlyclean-sid \
1637 maybe-mostlyclean-sim \
1638 maybe-mostlyclean-tar \
1639 maybe-mostlyclean-texinfo \
1640 maybe-mostlyclean-textutils \
1641 maybe-mostlyclean-time \
1642 maybe-mostlyclean-uudecode \
1643 maybe-mostlyclean-wdiff \
1644 maybe-mostlyclean-zip \
1645 maybe-mostlyclean-zlib \
1646 maybe-mostlyclean-gdb \
1647 maybe-mostlyclean-expect \
1648 maybe-mostlyclean-guile \
1649 maybe-mostlyclean-tk \
1650 maybe-mostlyclean-libtermcap \
1651 maybe-mostlyclean-utils \
1652 maybe-mostlyclean-gnattools
1654 .PHONY: mostlyclean-target
1655 mostlyclean-target: \
1656 maybe-mostlyclean-target-libstdc++-v3 \
1657 maybe-mostlyclean-target-libmudflap \
1658 maybe-mostlyclean-target-libssp \
1659 maybe-mostlyclean-target-newlib \
1660 maybe-mostlyclean-target-libgfortran \
1661 maybe-mostlyclean-target-libobjc \
1662 maybe-mostlyclean-target-libtermcap \
1663 maybe-mostlyclean-target-winsup \
1664 maybe-mostlyclean-target-libgloss \
1665 maybe-mostlyclean-target-libiberty \
1666 maybe-mostlyclean-target-gperf \
1667 maybe-mostlyclean-target-examples \
1668 maybe-mostlyclean-target-libffi \
1669 maybe-mostlyclean-target-libjava \
1670 maybe-mostlyclean-target-zlib \
1671 maybe-mostlyclean-target-boehm-gc \
1672 maybe-mostlyclean-target-qthreads \
1673 maybe-mostlyclean-target-rda \
1674 maybe-mostlyclean-target-libada
1676 .PHONY: do-clean
1677 do-clean:
1678 @$(unstage)
1679 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1680 clean-target
1681 @$(stage)
1684 .PHONY: clean-host
1685 clean-host: \
1686 maybe-clean-ash \
1687 maybe-clean-autoconf \
1688 maybe-clean-automake \
1689 maybe-clean-bash \
1690 maybe-clean-bfd \
1691 maybe-clean-opcodes \
1692 maybe-clean-binutils \
1693 maybe-clean-bison \
1694 maybe-clean-byacc \
1695 maybe-clean-bzip2 \
1696 maybe-clean-dejagnu \
1697 maybe-clean-diff \
1698 maybe-clean-dosutils \
1699 maybe-clean-etc \
1700 maybe-clean-fastjar \
1701 maybe-clean-fileutils \
1702 maybe-clean-findutils \
1703 maybe-clean-find \
1704 maybe-clean-fixincludes \
1705 maybe-clean-flex \
1706 maybe-clean-gas \
1707 maybe-clean-gcc \
1708 maybe-clean-gawk \
1709 maybe-clean-gettext \
1710 maybe-clean-gnuserv \
1711 maybe-clean-gprof \
1712 maybe-clean-gzip \
1713 maybe-clean-hello \
1714 maybe-clean-indent \
1715 maybe-clean-intl \
1716 maybe-clean-tcl \
1717 maybe-clean-itcl \
1718 maybe-clean-ld \
1719 maybe-clean-libcpp \
1720 maybe-clean-libgui \
1721 maybe-clean-libiberty \
1722 maybe-clean-libtool \
1723 maybe-clean-m4 \
1724 maybe-clean-make \
1725 maybe-clean-mmalloc \
1726 maybe-clean-patch \
1727 maybe-clean-perl \
1728 maybe-clean-prms \
1729 maybe-clean-rcs \
1730 maybe-clean-readline \
1731 maybe-clean-release \
1732 maybe-clean-recode \
1733 maybe-clean-sed \
1734 maybe-clean-send-pr \
1735 maybe-clean-shellutils \
1736 maybe-clean-sid \
1737 maybe-clean-sim \
1738 maybe-clean-tar \
1739 maybe-clean-texinfo \
1740 maybe-clean-textutils \
1741 maybe-clean-time \
1742 maybe-clean-uudecode \
1743 maybe-clean-wdiff \
1744 maybe-clean-zip \
1745 maybe-clean-zlib \
1746 maybe-clean-gdb \
1747 maybe-clean-expect \
1748 maybe-clean-guile \
1749 maybe-clean-tk \
1750 maybe-clean-libtermcap \
1751 maybe-clean-utils \
1752 maybe-clean-gnattools
1754 .PHONY: clean-target
1755 clean-target: \
1756 maybe-clean-target-libstdc++-v3 \
1757 maybe-clean-target-libmudflap \
1758 maybe-clean-target-libssp \
1759 maybe-clean-target-newlib \
1760 maybe-clean-target-libgfortran \
1761 maybe-clean-target-libobjc \
1762 maybe-clean-target-libtermcap \
1763 maybe-clean-target-winsup \
1764 maybe-clean-target-libgloss \
1765 maybe-clean-target-libiberty \
1766 maybe-clean-target-gperf \
1767 maybe-clean-target-examples \
1768 maybe-clean-target-libffi \
1769 maybe-clean-target-libjava \
1770 maybe-clean-target-zlib \
1771 maybe-clean-target-boehm-gc \
1772 maybe-clean-target-qthreads \
1773 maybe-clean-target-rda \
1774 maybe-clean-target-libada
1776 .PHONY: do-distclean
1777 do-distclean:
1778 @$(unstage)
1779 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1780 distclean-target
1781 @$(stage)
1784 .PHONY: distclean-host
1785 distclean-host: \
1786 maybe-distclean-ash \
1787 maybe-distclean-autoconf \
1788 maybe-distclean-automake \
1789 maybe-distclean-bash \
1790 maybe-distclean-bfd \
1791 maybe-distclean-opcodes \
1792 maybe-distclean-binutils \
1793 maybe-distclean-bison \
1794 maybe-distclean-byacc \
1795 maybe-distclean-bzip2 \
1796 maybe-distclean-dejagnu \
1797 maybe-distclean-diff \
1798 maybe-distclean-dosutils \
1799 maybe-distclean-etc \
1800 maybe-distclean-fastjar \
1801 maybe-distclean-fileutils \
1802 maybe-distclean-findutils \
1803 maybe-distclean-find \
1804 maybe-distclean-fixincludes \
1805 maybe-distclean-flex \
1806 maybe-distclean-gas \
1807 maybe-distclean-gcc \
1808 maybe-distclean-gawk \
1809 maybe-distclean-gettext \
1810 maybe-distclean-gnuserv \
1811 maybe-distclean-gprof \
1812 maybe-distclean-gzip \
1813 maybe-distclean-hello \
1814 maybe-distclean-indent \
1815 maybe-distclean-intl \
1816 maybe-distclean-tcl \
1817 maybe-distclean-itcl \
1818 maybe-distclean-ld \
1819 maybe-distclean-libcpp \
1820 maybe-distclean-libgui \
1821 maybe-distclean-libiberty \
1822 maybe-distclean-libtool \
1823 maybe-distclean-m4 \
1824 maybe-distclean-make \
1825 maybe-distclean-mmalloc \
1826 maybe-distclean-patch \
1827 maybe-distclean-perl \
1828 maybe-distclean-prms \
1829 maybe-distclean-rcs \
1830 maybe-distclean-readline \
1831 maybe-distclean-release \
1832 maybe-distclean-recode \
1833 maybe-distclean-sed \
1834 maybe-distclean-send-pr \
1835 maybe-distclean-shellutils \
1836 maybe-distclean-sid \
1837 maybe-distclean-sim \
1838 maybe-distclean-tar \
1839 maybe-distclean-texinfo \
1840 maybe-distclean-textutils \
1841 maybe-distclean-time \
1842 maybe-distclean-uudecode \
1843 maybe-distclean-wdiff \
1844 maybe-distclean-zip \
1845 maybe-distclean-zlib \
1846 maybe-distclean-gdb \
1847 maybe-distclean-expect \
1848 maybe-distclean-guile \
1849 maybe-distclean-tk \
1850 maybe-distclean-libtermcap \
1851 maybe-distclean-utils \
1852 maybe-distclean-gnattools
1854 .PHONY: distclean-target
1855 distclean-target: \
1856 maybe-distclean-target-libstdc++-v3 \
1857 maybe-distclean-target-libmudflap \
1858 maybe-distclean-target-libssp \
1859 maybe-distclean-target-newlib \
1860 maybe-distclean-target-libgfortran \
1861 maybe-distclean-target-libobjc \
1862 maybe-distclean-target-libtermcap \
1863 maybe-distclean-target-winsup \
1864 maybe-distclean-target-libgloss \
1865 maybe-distclean-target-libiberty \
1866 maybe-distclean-target-gperf \
1867 maybe-distclean-target-examples \
1868 maybe-distclean-target-libffi \
1869 maybe-distclean-target-libjava \
1870 maybe-distclean-target-zlib \
1871 maybe-distclean-target-boehm-gc \
1872 maybe-distclean-target-qthreads \
1873 maybe-distclean-target-rda \
1874 maybe-distclean-target-libada
1876 .PHONY: do-maintainer-clean
1877 do-maintainer-clean:
1878 @$(unstage)
1879 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1880 maintainer-clean-target
1881 @$(stage)
1884 .PHONY: maintainer-clean-host
1885 maintainer-clean-host: \
1886 maybe-maintainer-clean-ash \
1887 maybe-maintainer-clean-autoconf \
1888 maybe-maintainer-clean-automake \
1889 maybe-maintainer-clean-bash \
1890 maybe-maintainer-clean-bfd \
1891 maybe-maintainer-clean-opcodes \
1892 maybe-maintainer-clean-binutils \
1893 maybe-maintainer-clean-bison \
1894 maybe-maintainer-clean-byacc \
1895 maybe-maintainer-clean-bzip2 \
1896 maybe-maintainer-clean-dejagnu \
1897 maybe-maintainer-clean-diff \
1898 maybe-maintainer-clean-dosutils \
1899 maybe-maintainer-clean-etc \
1900 maybe-maintainer-clean-fastjar \
1901 maybe-maintainer-clean-fileutils \
1902 maybe-maintainer-clean-findutils \
1903 maybe-maintainer-clean-find \
1904 maybe-maintainer-clean-fixincludes \
1905 maybe-maintainer-clean-flex \
1906 maybe-maintainer-clean-gas \
1907 maybe-maintainer-clean-gcc \
1908 maybe-maintainer-clean-gawk \
1909 maybe-maintainer-clean-gettext \
1910 maybe-maintainer-clean-gnuserv \
1911 maybe-maintainer-clean-gprof \
1912 maybe-maintainer-clean-gzip \
1913 maybe-maintainer-clean-hello \
1914 maybe-maintainer-clean-indent \
1915 maybe-maintainer-clean-intl \
1916 maybe-maintainer-clean-tcl \
1917 maybe-maintainer-clean-itcl \
1918 maybe-maintainer-clean-ld \
1919 maybe-maintainer-clean-libcpp \
1920 maybe-maintainer-clean-libgui \
1921 maybe-maintainer-clean-libiberty \
1922 maybe-maintainer-clean-libtool \
1923 maybe-maintainer-clean-m4 \
1924 maybe-maintainer-clean-make \
1925 maybe-maintainer-clean-mmalloc \
1926 maybe-maintainer-clean-patch \
1927 maybe-maintainer-clean-perl \
1928 maybe-maintainer-clean-prms \
1929 maybe-maintainer-clean-rcs \
1930 maybe-maintainer-clean-readline \
1931 maybe-maintainer-clean-release \
1932 maybe-maintainer-clean-recode \
1933 maybe-maintainer-clean-sed \
1934 maybe-maintainer-clean-send-pr \
1935 maybe-maintainer-clean-shellutils \
1936 maybe-maintainer-clean-sid \
1937 maybe-maintainer-clean-sim \
1938 maybe-maintainer-clean-tar \
1939 maybe-maintainer-clean-texinfo \
1940 maybe-maintainer-clean-textutils \
1941 maybe-maintainer-clean-time \
1942 maybe-maintainer-clean-uudecode \
1943 maybe-maintainer-clean-wdiff \
1944 maybe-maintainer-clean-zip \
1945 maybe-maintainer-clean-zlib \
1946 maybe-maintainer-clean-gdb \
1947 maybe-maintainer-clean-expect \
1948 maybe-maintainer-clean-guile \
1949 maybe-maintainer-clean-tk \
1950 maybe-maintainer-clean-libtermcap \
1951 maybe-maintainer-clean-utils \
1952 maybe-maintainer-clean-gnattools
1954 .PHONY: maintainer-clean-target
1955 maintainer-clean-target: \
1956 maybe-maintainer-clean-target-libstdc++-v3 \
1957 maybe-maintainer-clean-target-libmudflap \
1958 maybe-maintainer-clean-target-libssp \
1959 maybe-maintainer-clean-target-newlib \
1960 maybe-maintainer-clean-target-libgfortran \
1961 maybe-maintainer-clean-target-libobjc \
1962 maybe-maintainer-clean-target-libtermcap \
1963 maybe-maintainer-clean-target-winsup \
1964 maybe-maintainer-clean-target-libgloss \
1965 maybe-maintainer-clean-target-libiberty \
1966 maybe-maintainer-clean-target-gperf \
1967 maybe-maintainer-clean-target-examples \
1968 maybe-maintainer-clean-target-libffi \
1969 maybe-maintainer-clean-target-libjava \
1970 maybe-maintainer-clean-target-zlib \
1971 maybe-maintainer-clean-target-boehm-gc \
1972 maybe-maintainer-clean-target-qthreads \
1973 maybe-maintainer-clean-target-rda \
1974 maybe-maintainer-clean-target-libada
1977 # Here are the targets which correspond to the do-X targets.
1979 .PHONY: info installcheck dvi html install-info
1980 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1981 .PHONY: local-clean local-distclean local-maintainer-clean
1982 info: do-info
1983 installcheck: do-installcheck
1984 dvi: do-dvi
1985 html: do-html
1987 # Make sure makeinfo is built before we do a `make info', if we're
1988 # in fact building texinfo.
1989 do-info: maybe-all-texinfo
1991 install-info: do-install-info dir.info
1992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1993 if [ -f dir.info ] ; then \
1994 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1995 else true ; fi
1997 local-clean:
1998 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2000 local-distclean:
2001 -rm -f Makefile config.status config.cache mh-frag mt-frag
2002 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
2003 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2004 rm -rf $(TARGET_SUBDIR); \
2005 else true; fi
2006 -rm -rf $(BUILD_SUBDIR)
2007 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2008 rm -rf $(HOST_SUBDIR); \
2009 else true; fi
2010 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2011 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2012 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2013 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2014 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2016 local-maintainer-clean:
2017 @echo "This command is intended for maintainers to use;"
2018 @echo "it deletes files that may require special tools to rebuild."
2020 clean: do-clean local-clean
2021 mostlyclean: do-mostlyclean local-clean
2022 distclean: do-distclean local-clean local-distclean
2023 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2024 maintainer-clean: local-distclean
2025 realclean: maintainer-clean
2027 # Extra dependency for clean-target, owing to the mixed nature of gcc
2028 clean-target: clean-target-libgcc
2029 clean-target-libgcc:
2030 test ! -d gcc/libgcc || \
2031 (cd gcc/libgcc && find . -type d -print) | \
2032 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
2033 -rm -rf gcc/libgcc
2034 -rm -f gcc/stmp-dirs
2036 # Check target.
2038 .PHONY: check do-check
2039 check: do-check
2041 # Only include modules actually being configured and built.
2042 .PHONY: check-host
2043 check-host: \
2044 maybe-check-ash \
2045 maybe-check-autoconf \
2046 maybe-check-automake \
2047 maybe-check-bash \
2048 maybe-check-bfd \
2049 maybe-check-opcodes \
2050 maybe-check-binutils \
2051 maybe-check-bison \
2052 maybe-check-byacc \
2053 maybe-check-bzip2 \
2054 maybe-check-dejagnu \
2055 maybe-check-diff \
2056 maybe-check-dosutils \
2057 maybe-check-etc \
2058 maybe-check-fastjar \
2059 maybe-check-fileutils \
2060 maybe-check-findutils \
2061 maybe-check-find \
2062 maybe-check-fixincludes \
2063 maybe-check-flex \
2064 maybe-check-gas \
2065 maybe-check-gcc \
2066 maybe-check-gawk \
2067 maybe-check-gettext \
2068 maybe-check-gnuserv \
2069 maybe-check-gprof \
2070 maybe-check-gzip \
2071 maybe-check-hello \
2072 maybe-check-indent \
2073 maybe-check-intl \
2074 maybe-check-tcl \
2075 maybe-check-itcl \
2076 maybe-check-ld \
2077 maybe-check-libcpp \
2078 maybe-check-libgui \
2079 maybe-check-libiberty \
2080 maybe-check-libtool \
2081 maybe-check-m4 \
2082 maybe-check-make \
2083 maybe-check-mmalloc \
2084 maybe-check-patch \
2085 maybe-check-perl \
2086 maybe-check-prms \
2087 maybe-check-rcs \
2088 maybe-check-readline \
2089 maybe-check-release \
2090 maybe-check-recode \
2091 maybe-check-sed \
2092 maybe-check-send-pr \
2093 maybe-check-shellutils \
2094 maybe-check-sid \
2095 maybe-check-sim \
2096 maybe-check-tar \
2097 maybe-check-texinfo \
2098 maybe-check-textutils \
2099 maybe-check-time \
2100 maybe-check-uudecode \
2101 maybe-check-wdiff \
2102 maybe-check-zip \
2103 maybe-check-zlib \
2104 maybe-check-gdb \
2105 maybe-check-expect \
2106 maybe-check-guile \
2107 maybe-check-tk \
2108 maybe-check-libtermcap \
2109 maybe-check-utils \
2110 maybe-check-gnattools
2112 .PHONY: check-target
2113 check-target: \
2114 maybe-check-target-libstdc++-v3 \
2115 maybe-check-target-libmudflap \
2116 maybe-check-target-libssp \
2117 maybe-check-target-newlib \
2118 maybe-check-target-libgfortran \
2119 maybe-check-target-libobjc \
2120 maybe-check-target-libtermcap \
2121 maybe-check-target-winsup \
2122 maybe-check-target-libgloss \
2123 maybe-check-target-libiberty \
2124 maybe-check-target-gperf \
2125 maybe-check-target-examples \
2126 maybe-check-target-libffi \
2127 maybe-check-target-libjava \
2128 maybe-check-target-zlib \
2129 maybe-check-target-boehm-gc \
2130 maybe-check-target-qthreads \
2131 maybe-check-target-rda \
2132 maybe-check-target-libada
2134 do-check:
2135 @$(unstage)
2136 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2137 @$(stage)
2139 # Automated reporting of test results.
2141 warning.log: build.log
2142 $(srcdir)/contrib/warn_summary build.log > $@
2144 mail-report.log:
2145 if test x'$(BOOT_CFLAGS)' != x''; then \
2146 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2147 fi; \
2148 $(srcdir)/contrib/test_summary -t >$@
2149 chmod +x $@
2150 echo If you really want to send e-mail, run ./$@ now
2152 mail-report-with-warnings.log: warning.log
2153 if test x'$(BOOT_CFLAGS)' != x''; then \
2154 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2155 fi; \
2156 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2157 chmod +x $@
2158 echo If you really want to send e-mail, run ./$@ now
2160 # Installation targets.
2162 .PHONY: install uninstall
2163 install:
2164 @$(unstage)
2165 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2166 @$(stage)
2168 .PHONY: install-host-nogcc
2169 install-host-nogcc: \
2170 maybe-install-ash \
2171 maybe-install-autoconf \
2172 maybe-install-automake \
2173 maybe-install-bash \
2174 maybe-install-bfd \
2175 maybe-install-opcodes \
2176 maybe-install-binutils \
2177 maybe-install-bison \
2178 maybe-install-byacc \
2179 maybe-install-bzip2 \
2180 maybe-install-dejagnu \
2181 maybe-install-diff \
2182 maybe-install-dosutils \
2183 maybe-install-etc \
2184 maybe-install-fastjar \
2185 maybe-install-fileutils \
2186 maybe-install-findutils \
2187 maybe-install-find \
2188 maybe-install-fixincludes \
2189 maybe-install-flex \
2190 maybe-install-gas \
2191 maybe-install-gawk \
2192 maybe-install-gettext \
2193 maybe-install-gnuserv \
2194 maybe-install-gprof \
2195 maybe-install-gzip \
2196 maybe-install-hello \
2197 maybe-install-indent \
2198 maybe-install-intl \
2199 maybe-install-tcl \
2200 maybe-install-itcl \
2201 maybe-install-ld \
2202 maybe-install-libcpp \
2203 maybe-install-libgui \
2204 maybe-install-libiberty \
2205 maybe-install-libtool \
2206 maybe-install-m4 \
2207 maybe-install-make \
2208 maybe-install-mmalloc \
2209 maybe-install-patch \
2210 maybe-install-perl \
2211 maybe-install-prms \
2212 maybe-install-rcs \
2213 maybe-install-readline \
2214 maybe-install-release \
2215 maybe-install-recode \
2216 maybe-install-sed \
2217 maybe-install-send-pr \
2218 maybe-install-shellutils \
2219 maybe-install-sid \
2220 maybe-install-sim \
2221 maybe-install-tar \
2222 maybe-install-texinfo \
2223 maybe-install-textutils \
2224 maybe-install-time \
2225 maybe-install-uudecode \
2226 maybe-install-wdiff \
2227 maybe-install-zip \
2228 maybe-install-zlib \
2229 maybe-install-gdb \
2230 maybe-install-expect \
2231 maybe-install-guile \
2232 maybe-install-tk \
2233 maybe-install-libtermcap \
2234 maybe-install-utils \
2235 maybe-install-gnattools
2237 .PHONY: install-host
2238 install-host: \
2239 maybe-install-ash \
2240 maybe-install-autoconf \
2241 maybe-install-automake \
2242 maybe-install-bash \
2243 maybe-install-bfd \
2244 maybe-install-opcodes \
2245 maybe-install-binutils \
2246 maybe-install-bison \
2247 maybe-install-byacc \
2248 maybe-install-bzip2 \
2249 maybe-install-dejagnu \
2250 maybe-install-diff \
2251 maybe-install-dosutils \
2252 maybe-install-etc \
2253 maybe-install-fastjar \
2254 maybe-install-fileutils \
2255 maybe-install-findutils \
2256 maybe-install-find \
2257 maybe-install-fixincludes \
2258 maybe-install-flex \
2259 maybe-install-gas \
2260 maybe-install-gcc \
2261 maybe-install-gawk \
2262 maybe-install-gettext \
2263 maybe-install-gnuserv \
2264 maybe-install-gprof \
2265 maybe-install-gzip \
2266 maybe-install-hello \
2267 maybe-install-indent \
2268 maybe-install-intl \
2269 maybe-install-tcl \
2270 maybe-install-itcl \
2271 maybe-install-ld \
2272 maybe-install-libcpp \
2273 maybe-install-libgui \
2274 maybe-install-libiberty \
2275 maybe-install-libtool \
2276 maybe-install-m4 \
2277 maybe-install-make \
2278 maybe-install-mmalloc \
2279 maybe-install-patch \
2280 maybe-install-perl \
2281 maybe-install-prms \
2282 maybe-install-rcs \
2283 maybe-install-readline \
2284 maybe-install-release \
2285 maybe-install-recode \
2286 maybe-install-sed \
2287 maybe-install-send-pr \
2288 maybe-install-shellutils \
2289 maybe-install-sid \
2290 maybe-install-sim \
2291 maybe-install-tar \
2292 maybe-install-texinfo \
2293 maybe-install-textutils \
2294 maybe-install-time \
2295 maybe-install-uudecode \
2296 maybe-install-wdiff \
2297 maybe-install-zip \
2298 maybe-install-zlib \
2299 maybe-install-gdb \
2300 maybe-install-expect \
2301 maybe-install-guile \
2302 maybe-install-tk \
2303 maybe-install-libtermcap \
2304 maybe-install-utils \
2305 maybe-install-gnattools
2307 .PHONY: install-target
2308 install-target: \
2309 maybe-install-target-libstdc++-v3 \
2310 maybe-install-target-libmudflap \
2311 maybe-install-target-libssp \
2312 maybe-install-target-newlib \
2313 maybe-install-target-libgfortran \
2314 maybe-install-target-libobjc \
2315 maybe-install-target-libtermcap \
2316 maybe-install-target-winsup \
2317 maybe-install-target-libgloss \
2318 maybe-install-target-libiberty \
2319 maybe-install-target-gperf \
2320 maybe-install-target-examples \
2321 maybe-install-target-libffi \
2322 maybe-install-target-libjava \
2323 maybe-install-target-zlib \
2324 maybe-install-target-boehm-gc \
2325 maybe-install-target-qthreads \
2326 maybe-install-target-rda \
2327 maybe-install-target-libada
2329 uninstall:
2330 @echo "the uninstall target is not supported in this tree"
2332 .PHONY: install.all
2333 install.all: install-no-fixedincludes
2334 @if [ -f ./gcc/Makefile ] ; then \
2335 r=`${PWD_COMMAND}` ; export r ; \
2336 $(HOST_EXPORTS) \
2337 (cd ./gcc && \
2338 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2339 else \
2340 true ; \
2343 # install-no-fixedincludes is used because Cygnus can not distribute
2344 # the fixed header files.
2345 .PHONY: install-no-fixedincludes
2346 install-no-fixedincludes: installdirs install-host-nogcc \
2347 install-target gcc-no-fixedincludes
2349 ### other supporting targets
2351 MAKEDIRS= \
2352 $(DESTDIR)$(prefix) \
2353 $(DESTDIR)$(exec_prefix)
2354 .PHONY: installdirs
2355 installdirs: mkinstalldirs
2356 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2358 dir.info: do-install-info
2359 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2360 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2361 mv -f dir.info.new dir.info ; \
2362 else true ; \
2365 dist:
2366 @echo "Building a full distribution of this tree isn't done"
2367 @echo "via 'make dist'. Check out the etc/ subdirectory"
2369 etags tags: TAGS
2371 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2372 # ability to use several tags files at once, so there is probably no need
2373 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2374 # (if we felt like it) have this Makefile write a piece of elisp which
2375 # the user could load to tell emacs19 where all the TAGS files we just
2376 # built are.
2377 TAGS: do-TAGS
2379 # ------------------------------------
2380 # Macros for configure and all targets
2381 # ------------------------------------
2387 # --------------------------------------
2388 # Modules which run on the build machine
2389 # --------------------------------------
2392 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2393 maybe-configure-build-libiberty:
2394 @if build-libiberty
2395 maybe-configure-build-libiberty: configure-build-libiberty
2396 configure-build-libiberty:
2397 @$(unstage)
2398 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2399 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2400 r=`${PWD_COMMAND}`; export r; \
2401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2402 $(BUILD_EXPORTS) \
2403 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2404 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2405 case $(srcdir) in \
2406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2407 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2409 esac; \
2410 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2411 libsrcdir="$$s/libiberty"; \
2412 rm -f no-such-file || : ; \
2413 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2414 $(BUILD_CONFIGARGS) $${srcdiroption} \
2415 || exit 1
2416 @endif build-libiberty
2422 .PHONY: all-build-libiberty maybe-all-build-libiberty
2423 maybe-all-build-libiberty:
2424 @if build-libiberty
2425 TARGET-build-libiberty=all
2426 maybe-all-build-libiberty: all-build-libiberty
2427 all-build-libiberty: configure-build-libiberty
2428 @$(unstage)
2429 @r=`${PWD_COMMAND}`; export r; \
2430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2431 $(BUILD_EXPORTS) \
2432 (cd $(BUILD_SUBDIR)/libiberty && \
2433 $(MAKE) $(TARGET-build-libiberty))
2434 @endif build-libiberty
2440 .PHONY: configure-build-bison maybe-configure-build-bison
2441 maybe-configure-build-bison:
2442 @if build-bison
2443 maybe-configure-build-bison: configure-build-bison
2444 configure-build-bison:
2445 @$(unstage)
2446 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2447 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2448 r=`${PWD_COMMAND}`; export r; \
2449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450 $(BUILD_EXPORTS) \
2451 echo Configuring in $(BUILD_SUBDIR)/bison; \
2452 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2453 case $(srcdir) in \
2454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2455 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2457 esac; \
2458 srcdiroption="--srcdir=$${topdir}/bison"; \
2459 libsrcdir="$$s/bison"; \
2460 rm -f no-such-file || : ; \
2461 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2462 $(BUILD_CONFIGARGS) $${srcdiroption} \
2463 || exit 1
2464 @endif build-bison
2470 .PHONY: all-build-bison maybe-all-build-bison
2471 maybe-all-build-bison:
2472 @if build-bison
2473 TARGET-build-bison=all
2474 maybe-all-build-bison: all-build-bison
2475 all-build-bison: configure-build-bison
2476 @$(unstage)
2477 @r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2479 $(BUILD_EXPORTS) \
2480 (cd $(BUILD_SUBDIR)/bison && \
2481 $(MAKE) $(TARGET-build-bison))
2482 @endif build-bison
2488 .PHONY: configure-build-byacc maybe-configure-build-byacc
2489 maybe-configure-build-byacc:
2490 @if build-byacc
2491 maybe-configure-build-byacc: configure-build-byacc
2492 configure-build-byacc:
2493 @$(unstage)
2494 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2495 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2496 r=`${PWD_COMMAND}`; export r; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 $(BUILD_EXPORTS) \
2499 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2500 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2501 case $(srcdir) in \
2502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2503 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2505 esac; \
2506 srcdiroption="--srcdir=$${topdir}/byacc"; \
2507 libsrcdir="$$s/byacc"; \
2508 rm -f no-such-file || : ; \
2509 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2510 $(BUILD_CONFIGARGS) $${srcdiroption} \
2511 || exit 1
2512 @endif build-byacc
2518 .PHONY: all-build-byacc maybe-all-build-byacc
2519 maybe-all-build-byacc:
2520 @if build-byacc
2521 TARGET-build-byacc=all
2522 maybe-all-build-byacc: all-build-byacc
2523 all-build-byacc: configure-build-byacc
2524 @$(unstage)
2525 @r=`${PWD_COMMAND}`; export r; \
2526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2527 $(BUILD_EXPORTS) \
2528 (cd $(BUILD_SUBDIR)/byacc && \
2529 $(MAKE) $(TARGET-build-byacc))
2530 @endif build-byacc
2536 .PHONY: configure-build-flex maybe-configure-build-flex
2537 maybe-configure-build-flex:
2538 @if build-flex
2539 maybe-configure-build-flex: configure-build-flex
2540 configure-build-flex:
2541 @$(unstage)
2542 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2543 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2544 r=`${PWD_COMMAND}`; export r; \
2545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2546 $(BUILD_EXPORTS) \
2547 echo Configuring in $(BUILD_SUBDIR)/flex; \
2548 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2549 case $(srcdir) in \
2550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2551 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2553 esac; \
2554 srcdiroption="--srcdir=$${topdir}/flex"; \
2555 libsrcdir="$$s/flex"; \
2556 rm -f no-such-file || : ; \
2557 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2558 $(BUILD_CONFIGARGS) $${srcdiroption} \
2559 || exit 1
2560 @endif build-flex
2566 .PHONY: all-build-flex maybe-all-build-flex
2567 maybe-all-build-flex:
2568 @if build-flex
2569 TARGET-build-flex=all
2570 maybe-all-build-flex: all-build-flex
2571 all-build-flex: configure-build-flex
2572 @$(unstage)
2573 @r=`${PWD_COMMAND}`; export r; \
2574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2575 $(BUILD_EXPORTS) \
2576 (cd $(BUILD_SUBDIR)/flex && \
2577 $(MAKE) $(TARGET-build-flex))
2578 @endif build-flex
2584 .PHONY: configure-build-m4 maybe-configure-build-m4
2585 maybe-configure-build-m4:
2586 @if build-m4
2587 maybe-configure-build-m4: configure-build-m4
2588 configure-build-m4:
2589 @$(unstage)
2590 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2591 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2592 r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594 $(BUILD_EXPORTS) \
2595 echo Configuring in $(BUILD_SUBDIR)/m4; \
2596 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2597 case $(srcdir) in \
2598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2599 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2601 esac; \
2602 srcdiroption="--srcdir=$${topdir}/m4"; \
2603 libsrcdir="$$s/m4"; \
2604 rm -f no-such-file || : ; \
2605 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2606 $(BUILD_CONFIGARGS) $${srcdiroption} \
2607 || exit 1
2608 @endif build-m4
2614 .PHONY: all-build-m4 maybe-all-build-m4
2615 maybe-all-build-m4:
2616 @if build-m4
2617 TARGET-build-m4=all
2618 maybe-all-build-m4: all-build-m4
2619 all-build-m4: configure-build-m4
2620 @$(unstage)
2621 @r=`${PWD_COMMAND}`; export r; \
2622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623 $(BUILD_EXPORTS) \
2624 (cd $(BUILD_SUBDIR)/m4 && \
2625 $(MAKE) $(TARGET-build-m4))
2626 @endif build-m4
2632 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2633 maybe-configure-build-texinfo:
2634 @if build-texinfo
2635 maybe-configure-build-texinfo: configure-build-texinfo
2636 configure-build-texinfo:
2637 @$(unstage)
2638 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2639 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2640 r=`${PWD_COMMAND}`; export r; \
2641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2642 $(BUILD_EXPORTS) \
2643 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2644 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2645 case $(srcdir) in \
2646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2647 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2649 esac; \
2650 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2651 libsrcdir="$$s/texinfo"; \
2652 rm -f no-such-file || : ; \
2653 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2654 $(BUILD_CONFIGARGS) $${srcdiroption} \
2655 || exit 1
2656 @endif build-texinfo
2662 .PHONY: all-build-texinfo maybe-all-build-texinfo
2663 maybe-all-build-texinfo:
2664 @if build-texinfo
2665 TARGET-build-texinfo=all
2666 maybe-all-build-texinfo: all-build-texinfo
2667 all-build-texinfo: configure-build-texinfo
2668 @$(unstage)
2669 @r=`${PWD_COMMAND}`; export r; \
2670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2671 $(BUILD_EXPORTS) \
2672 (cd $(BUILD_SUBDIR)/texinfo && \
2673 $(MAKE) $(TARGET-build-texinfo))
2674 @endif build-texinfo
2680 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2681 maybe-configure-build-fixincludes:
2682 @if build-fixincludes
2683 maybe-configure-build-fixincludes: configure-build-fixincludes
2684 configure-build-fixincludes:
2685 @$(unstage)
2686 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2687 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2688 r=`${PWD_COMMAND}`; export r; \
2689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2690 $(BUILD_EXPORTS) \
2691 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2692 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2693 case $(srcdir) in \
2694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2695 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2697 esac; \
2698 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2699 libsrcdir="$$s/fixincludes"; \
2700 rm -f no-such-file || : ; \
2701 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2702 $(BUILD_CONFIGARGS) $${srcdiroption} \
2703 || exit 1
2704 @endif build-fixincludes
2710 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2711 maybe-all-build-fixincludes:
2712 @if build-fixincludes
2713 TARGET-build-fixincludes=all
2714 maybe-all-build-fixincludes: all-build-fixincludes
2715 all-build-fixincludes: configure-build-fixincludes
2716 @$(unstage)
2717 @r=`${PWD_COMMAND}`; export r; \
2718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2719 $(BUILD_EXPORTS) \
2720 (cd $(BUILD_SUBDIR)/fixincludes && \
2721 $(MAKE) $(TARGET-build-fixincludes))
2722 @endif build-fixincludes
2728 # --------------------------------------
2729 # Modules which run on the host machine
2730 # --------------------------------------
2733 .PHONY: configure-ash maybe-configure-ash
2734 maybe-configure-ash:
2735 @if ash
2736 maybe-configure-ash: configure-ash
2737 configure-ash:
2738 @$(unstage)
2739 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2741 r=`${PWD_COMMAND}`; export r; \
2742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743 $(HOST_EXPORTS) \
2744 echo Configuring in $(HOST_SUBDIR)/ash; \
2745 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2746 case $(srcdir) in \
2747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2748 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2750 esac; \
2751 srcdiroption="--srcdir=$${topdir}/ash"; \
2752 libsrcdir="$$s/ash"; \
2753 $(SHELL) $${libsrcdir}/configure \
2754 $(HOST_CONFIGARGS) $${srcdiroption} \
2755 || exit 1
2756 @endif ash
2762 .PHONY: all-ash maybe-all-ash
2763 maybe-all-ash:
2764 @if ash
2765 TARGET-ash=all
2766 maybe-all-ash: all-ash
2767 all-ash: configure-ash
2768 @$(unstage)
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 $(HOST_EXPORTS) \
2772 (cd $(HOST_SUBDIR)/ash && \
2773 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2774 @endif ash
2779 .PHONY: check-ash maybe-check-ash
2780 maybe-check-ash:
2781 @if ash
2782 maybe-check-ash: check-ash
2784 check-ash:
2785 @$(unstage)
2786 @r=`${PWD_COMMAND}`; export r; \
2787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2788 $(HOST_EXPORTS) \
2789 (cd $(HOST_SUBDIR)/ash && \
2790 $(MAKE) $(FLAGS_TO_PASS) check)
2792 @endif ash
2794 .PHONY: install-ash maybe-install-ash
2795 maybe-install-ash:
2796 @if ash
2797 maybe-install-ash: install-ash
2799 install-ash: installdirs
2800 @$(unstage)
2801 @r=`${PWD_COMMAND}`; export r; \
2802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2803 $(HOST_EXPORTS) \
2804 (cd $(HOST_SUBDIR)/ash && \
2805 $(MAKE) $(FLAGS_TO_PASS) install)
2807 @endif ash
2809 # Other targets (info, dvi, etc.)
2811 .PHONY: maybe-info-ash info-ash
2812 maybe-info-ash:
2813 @if ash
2814 maybe-info-ash: info-ash
2816 info-ash: \
2817 configure-ash
2818 @$(unstage)
2819 @[ -f ./ash/Makefile ] || exit 0; \
2820 r=`${PWD_COMMAND}`; export r; \
2821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 $(HOST_EXPORTS) \
2823 for flag in $(EXTRA_HOST_FLAGS) ; do \
2824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2825 done; \
2826 echo "Doing info in ash" ; \
2827 (cd $(HOST_SUBDIR)/ash && \
2828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2830 "RANLIB=$${RANLIB}" \
2831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2832 info) \
2833 || exit 1
2835 @endif ash
2837 .PHONY: maybe-dvi-ash dvi-ash
2838 maybe-dvi-ash:
2839 @if ash
2840 maybe-dvi-ash: dvi-ash
2842 dvi-ash: \
2843 configure-ash
2844 @$(unstage)
2845 @[ -f ./ash/Makefile ] || exit 0; \
2846 r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 $(HOST_EXPORTS) \
2849 for flag in $(EXTRA_HOST_FLAGS) ; do \
2850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2851 done; \
2852 echo "Doing dvi in ash" ; \
2853 (cd $(HOST_SUBDIR)/ash && \
2854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2856 "RANLIB=$${RANLIB}" \
2857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2858 dvi) \
2859 || exit 1
2861 @endif ash
2863 .PHONY: maybe-html-ash html-ash
2864 maybe-html-ash:
2865 @if ash
2866 maybe-html-ash: html-ash
2868 html-ash: \
2869 configure-ash
2870 @$(unstage)
2871 @[ -f ./ash/Makefile ] || exit 0; \
2872 r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874 $(HOST_EXPORTS) \
2875 for flag in $(EXTRA_HOST_FLAGS) ; do \
2876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2877 done; \
2878 echo "Doing html in ash" ; \
2879 (cd $(HOST_SUBDIR)/ash && \
2880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2882 "RANLIB=$${RANLIB}" \
2883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2884 html) \
2885 || exit 1
2887 @endif ash
2889 .PHONY: maybe-TAGS-ash TAGS-ash
2890 maybe-TAGS-ash:
2891 @if ash
2892 maybe-TAGS-ash: TAGS-ash
2894 TAGS-ash: \
2895 configure-ash
2896 @$(unstage)
2897 @[ -f ./ash/Makefile ] || exit 0; \
2898 r=`${PWD_COMMAND}`; export r; \
2899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2900 $(HOST_EXPORTS) \
2901 for flag in $(EXTRA_HOST_FLAGS) ; do \
2902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2903 done; \
2904 echo "Doing TAGS in ash" ; \
2905 (cd $(HOST_SUBDIR)/ash && \
2906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2908 "RANLIB=$${RANLIB}" \
2909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2910 TAGS) \
2911 || exit 1
2913 @endif ash
2915 .PHONY: maybe-install-info-ash install-info-ash
2916 maybe-install-info-ash:
2917 @if ash
2918 maybe-install-info-ash: install-info-ash
2920 install-info-ash: \
2921 configure-ash \
2922 info-ash
2923 @$(unstage)
2924 @[ -f ./ash/Makefile ] || exit 0; \
2925 r=`${PWD_COMMAND}`; export r; \
2926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2927 $(HOST_EXPORTS) \
2928 for flag in $(EXTRA_HOST_FLAGS) ; do \
2929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2930 done; \
2931 echo "Doing install-info in ash" ; \
2932 (cd $(HOST_SUBDIR)/ash && \
2933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2935 "RANLIB=$${RANLIB}" \
2936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2937 install-info) \
2938 || exit 1
2940 @endif ash
2942 .PHONY: maybe-installcheck-ash installcheck-ash
2943 maybe-installcheck-ash:
2944 @if ash
2945 maybe-installcheck-ash: installcheck-ash
2947 installcheck-ash: \
2948 configure-ash
2949 @$(unstage)
2950 @[ -f ./ash/Makefile ] || exit 0; \
2951 r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953 $(HOST_EXPORTS) \
2954 for flag in $(EXTRA_HOST_FLAGS) ; do \
2955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2956 done; \
2957 echo "Doing installcheck in ash" ; \
2958 (cd $(HOST_SUBDIR)/ash && \
2959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2961 "RANLIB=$${RANLIB}" \
2962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2963 installcheck) \
2964 || exit 1
2966 @endif ash
2968 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2969 maybe-mostlyclean-ash:
2970 @if ash
2971 maybe-mostlyclean-ash: mostlyclean-ash
2973 mostlyclean-ash:
2974 @$(unstage)
2975 @[ -f ./ash/Makefile ] || exit 0; \
2976 r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 $(HOST_EXPORTS) \
2979 for flag in $(EXTRA_HOST_FLAGS) ; do \
2980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2981 done; \
2982 echo "Doing mostlyclean in ash" ; \
2983 (cd $(HOST_SUBDIR)/ash && \
2984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2986 "RANLIB=$${RANLIB}" \
2987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2988 mostlyclean) \
2989 || exit 1
2991 @endif ash
2993 .PHONY: maybe-clean-ash clean-ash
2994 maybe-clean-ash:
2995 @if ash
2996 maybe-clean-ash: clean-ash
2998 clean-ash:
2999 @$(unstage)
3000 @[ -f ./ash/Makefile ] || exit 0; \
3001 r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 $(HOST_EXPORTS) \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3006 done; \
3007 echo "Doing clean in ash" ; \
3008 (cd $(HOST_SUBDIR)/ash && \
3009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3011 "RANLIB=$${RANLIB}" \
3012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 clean) \
3014 || exit 1
3016 @endif ash
3018 .PHONY: maybe-distclean-ash distclean-ash
3019 maybe-distclean-ash:
3020 @if ash
3021 maybe-distclean-ash: distclean-ash
3023 distclean-ash:
3024 @$(unstage)
3025 @[ -f ./ash/Makefile ] || exit 0; \
3026 r=`${PWD_COMMAND}`; export r; \
3027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3028 $(HOST_EXPORTS) \
3029 for flag in $(EXTRA_HOST_FLAGS) ; do \
3030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3031 done; \
3032 echo "Doing distclean in ash" ; \
3033 (cd $(HOST_SUBDIR)/ash && \
3034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3036 "RANLIB=$${RANLIB}" \
3037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3038 distclean) \
3039 || exit 1
3041 @endif ash
3043 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3044 maybe-maintainer-clean-ash:
3045 @if ash
3046 maybe-maintainer-clean-ash: maintainer-clean-ash
3048 maintainer-clean-ash:
3049 @$(unstage)
3050 @[ -f ./ash/Makefile ] || exit 0; \
3051 r=`${PWD_COMMAND}`; export r; \
3052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3053 $(HOST_EXPORTS) \
3054 for flag in $(EXTRA_HOST_FLAGS) ; do \
3055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3056 done; \
3057 echo "Doing maintainer-clean in ash" ; \
3058 (cd $(HOST_SUBDIR)/ash && \
3059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3061 "RANLIB=$${RANLIB}" \
3062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 maintainer-clean) \
3064 || exit 1
3066 @endif ash
3070 .PHONY: configure-autoconf maybe-configure-autoconf
3071 maybe-configure-autoconf:
3072 @if autoconf
3073 maybe-configure-autoconf: configure-autoconf
3074 configure-autoconf:
3075 @$(unstage)
3076 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3078 r=`${PWD_COMMAND}`; export r; \
3079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3080 $(HOST_EXPORTS) \
3081 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3082 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3083 case $(srcdir) in \
3084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3085 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3087 esac; \
3088 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3089 libsrcdir="$$s/autoconf"; \
3090 $(SHELL) $${libsrcdir}/configure \
3091 $(HOST_CONFIGARGS) $${srcdiroption} \
3092 || exit 1
3093 @endif autoconf
3099 .PHONY: all-autoconf maybe-all-autoconf
3100 maybe-all-autoconf:
3101 @if autoconf
3102 TARGET-autoconf=all
3103 maybe-all-autoconf: all-autoconf
3104 all-autoconf: configure-autoconf
3105 @$(unstage)
3106 @r=`${PWD_COMMAND}`; export r; \
3107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3108 $(HOST_EXPORTS) \
3109 (cd $(HOST_SUBDIR)/autoconf && \
3110 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3111 @endif autoconf
3116 .PHONY: check-autoconf maybe-check-autoconf
3117 maybe-check-autoconf:
3118 @if autoconf
3119 maybe-check-autoconf: check-autoconf
3121 check-autoconf:
3122 @$(unstage)
3123 @r=`${PWD_COMMAND}`; export r; \
3124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3125 $(HOST_EXPORTS) \
3126 (cd $(HOST_SUBDIR)/autoconf && \
3127 $(MAKE) $(FLAGS_TO_PASS) check)
3129 @endif autoconf
3131 .PHONY: install-autoconf maybe-install-autoconf
3132 maybe-install-autoconf:
3133 @if autoconf
3134 maybe-install-autoconf: install-autoconf
3136 install-autoconf: installdirs
3137 @$(unstage)
3138 @r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 $(HOST_EXPORTS) \
3141 (cd $(HOST_SUBDIR)/autoconf && \
3142 $(MAKE) $(FLAGS_TO_PASS) install)
3144 @endif autoconf
3146 # Other targets (info, dvi, etc.)
3148 .PHONY: maybe-info-autoconf info-autoconf
3149 maybe-info-autoconf:
3150 @if autoconf
3151 maybe-info-autoconf: info-autoconf
3153 info-autoconf: \
3154 configure-autoconf
3155 @$(unstage)
3156 @[ -f ./autoconf/Makefile ] || exit 0; \
3157 r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159 $(HOST_EXPORTS) \
3160 for flag in $(EXTRA_HOST_FLAGS) ; do \
3161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3162 done; \
3163 echo "Doing info in autoconf" ; \
3164 (cd $(HOST_SUBDIR)/autoconf && \
3165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3167 "RANLIB=$${RANLIB}" \
3168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3169 info) \
3170 || exit 1
3172 @endif autoconf
3174 .PHONY: maybe-dvi-autoconf dvi-autoconf
3175 maybe-dvi-autoconf:
3176 @if autoconf
3177 maybe-dvi-autoconf: dvi-autoconf
3179 dvi-autoconf: \
3180 configure-autoconf
3181 @$(unstage)
3182 @[ -f ./autoconf/Makefile ] || exit 0; \
3183 r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 $(HOST_EXPORTS) \
3186 for flag in $(EXTRA_HOST_FLAGS) ; do \
3187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3188 done; \
3189 echo "Doing dvi in autoconf" ; \
3190 (cd $(HOST_SUBDIR)/autoconf && \
3191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3193 "RANLIB=$${RANLIB}" \
3194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3195 dvi) \
3196 || exit 1
3198 @endif autoconf
3200 .PHONY: maybe-html-autoconf html-autoconf
3201 maybe-html-autoconf:
3202 @if autoconf
3203 maybe-html-autoconf: html-autoconf
3205 html-autoconf: \
3206 configure-autoconf
3207 @$(unstage)
3208 @[ -f ./autoconf/Makefile ] || exit 0; \
3209 r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211 $(HOST_EXPORTS) \
3212 for flag in $(EXTRA_HOST_FLAGS) ; do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3214 done; \
3215 echo "Doing html in autoconf" ; \
3216 (cd $(HOST_SUBDIR)/autoconf && \
3217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219 "RANLIB=$${RANLIB}" \
3220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3221 html) \
3222 || exit 1
3224 @endif autoconf
3226 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3227 maybe-TAGS-autoconf:
3228 @if autoconf
3229 maybe-TAGS-autoconf: TAGS-autoconf
3231 TAGS-autoconf: \
3232 configure-autoconf
3233 @$(unstage)
3234 @[ -f ./autoconf/Makefile ] || exit 0; \
3235 r=`${PWD_COMMAND}`; export r; \
3236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3237 $(HOST_EXPORTS) \
3238 for flag in $(EXTRA_HOST_FLAGS) ; do \
3239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3240 done; \
3241 echo "Doing TAGS in autoconf" ; \
3242 (cd $(HOST_SUBDIR)/autoconf && \
3243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3245 "RANLIB=$${RANLIB}" \
3246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3247 TAGS) \
3248 || exit 1
3250 @endif autoconf
3252 .PHONY: maybe-install-info-autoconf install-info-autoconf
3253 maybe-install-info-autoconf:
3254 @if autoconf
3255 maybe-install-info-autoconf: install-info-autoconf
3257 install-info-autoconf: \
3258 configure-autoconf \
3259 info-autoconf
3260 @$(unstage)
3261 @[ -f ./autoconf/Makefile ] || exit 0; \
3262 r=`${PWD_COMMAND}`; export r; \
3263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3264 $(HOST_EXPORTS) \
3265 for flag in $(EXTRA_HOST_FLAGS) ; do \
3266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3267 done; \
3268 echo "Doing install-info in autoconf" ; \
3269 (cd $(HOST_SUBDIR)/autoconf && \
3270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3272 "RANLIB=$${RANLIB}" \
3273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3274 install-info) \
3275 || exit 1
3277 @endif autoconf
3279 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3280 maybe-installcheck-autoconf:
3281 @if autoconf
3282 maybe-installcheck-autoconf: installcheck-autoconf
3284 installcheck-autoconf: \
3285 configure-autoconf
3286 @$(unstage)
3287 @[ -f ./autoconf/Makefile ] || exit 0; \
3288 r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3290 $(HOST_EXPORTS) \
3291 for flag in $(EXTRA_HOST_FLAGS) ; do \
3292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3293 done; \
3294 echo "Doing installcheck in autoconf" ; \
3295 (cd $(HOST_SUBDIR)/autoconf && \
3296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3298 "RANLIB=$${RANLIB}" \
3299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3300 installcheck) \
3301 || exit 1
3303 @endif autoconf
3305 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3306 maybe-mostlyclean-autoconf:
3307 @if autoconf
3308 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3310 mostlyclean-autoconf:
3311 @$(unstage)
3312 @[ -f ./autoconf/Makefile ] || exit 0; \
3313 r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315 $(HOST_EXPORTS) \
3316 for flag in $(EXTRA_HOST_FLAGS) ; do \
3317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3318 done; \
3319 echo "Doing mostlyclean in autoconf" ; \
3320 (cd $(HOST_SUBDIR)/autoconf && \
3321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3323 "RANLIB=$${RANLIB}" \
3324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3325 mostlyclean) \
3326 || exit 1
3328 @endif autoconf
3330 .PHONY: maybe-clean-autoconf clean-autoconf
3331 maybe-clean-autoconf:
3332 @if autoconf
3333 maybe-clean-autoconf: clean-autoconf
3335 clean-autoconf:
3336 @$(unstage)
3337 @[ -f ./autoconf/Makefile ] || exit 0; \
3338 r=`${PWD_COMMAND}`; export r; \
3339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 $(HOST_EXPORTS) \
3341 for flag in $(EXTRA_HOST_FLAGS) ; do \
3342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3343 done; \
3344 echo "Doing clean in autoconf" ; \
3345 (cd $(HOST_SUBDIR)/autoconf && \
3346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3348 "RANLIB=$${RANLIB}" \
3349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3350 clean) \
3351 || exit 1
3353 @endif autoconf
3355 .PHONY: maybe-distclean-autoconf distclean-autoconf
3356 maybe-distclean-autoconf:
3357 @if autoconf
3358 maybe-distclean-autoconf: distclean-autoconf
3360 distclean-autoconf:
3361 @$(unstage)
3362 @[ -f ./autoconf/Makefile ] || exit 0; \
3363 r=`${PWD_COMMAND}`; export r; \
3364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 $(HOST_EXPORTS) \
3366 for flag in $(EXTRA_HOST_FLAGS) ; do \
3367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3368 done; \
3369 echo "Doing distclean in autoconf" ; \
3370 (cd $(HOST_SUBDIR)/autoconf && \
3371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3373 "RANLIB=$${RANLIB}" \
3374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3375 distclean) \
3376 || exit 1
3378 @endif autoconf
3380 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3381 maybe-maintainer-clean-autoconf:
3382 @if autoconf
3383 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3385 maintainer-clean-autoconf:
3386 @$(unstage)
3387 @[ -f ./autoconf/Makefile ] || exit 0; \
3388 r=`${PWD_COMMAND}`; export r; \
3389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3390 $(HOST_EXPORTS) \
3391 for flag in $(EXTRA_HOST_FLAGS) ; do \
3392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3393 done; \
3394 echo "Doing maintainer-clean in autoconf" ; \
3395 (cd $(HOST_SUBDIR)/autoconf && \
3396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3398 "RANLIB=$${RANLIB}" \
3399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3400 maintainer-clean) \
3401 || exit 1
3403 @endif autoconf
3407 .PHONY: configure-automake maybe-configure-automake
3408 maybe-configure-automake:
3409 @if automake
3410 maybe-configure-automake: configure-automake
3411 configure-automake:
3412 @$(unstage)
3413 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3415 r=`${PWD_COMMAND}`; export r; \
3416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3417 $(HOST_EXPORTS) \
3418 echo Configuring in $(HOST_SUBDIR)/automake; \
3419 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3420 case $(srcdir) in \
3421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3422 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3424 esac; \
3425 srcdiroption="--srcdir=$${topdir}/automake"; \
3426 libsrcdir="$$s/automake"; \
3427 $(SHELL) $${libsrcdir}/configure \
3428 $(HOST_CONFIGARGS) $${srcdiroption} \
3429 || exit 1
3430 @endif automake
3436 .PHONY: all-automake maybe-all-automake
3437 maybe-all-automake:
3438 @if automake
3439 TARGET-automake=all
3440 maybe-all-automake: all-automake
3441 all-automake: configure-automake
3442 @$(unstage)
3443 @r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3445 $(HOST_EXPORTS) \
3446 (cd $(HOST_SUBDIR)/automake && \
3447 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3448 @endif automake
3453 .PHONY: check-automake maybe-check-automake
3454 maybe-check-automake:
3455 @if automake
3456 maybe-check-automake: check-automake
3458 check-automake:
3459 @$(unstage)
3460 @r=`${PWD_COMMAND}`; export r; \
3461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3462 $(HOST_EXPORTS) \
3463 (cd $(HOST_SUBDIR)/automake && \
3464 $(MAKE) $(FLAGS_TO_PASS) check)
3466 @endif automake
3468 .PHONY: install-automake maybe-install-automake
3469 maybe-install-automake:
3470 @if automake
3471 maybe-install-automake: install-automake
3473 install-automake: installdirs
3474 @$(unstage)
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(HOST_EXPORTS) \
3478 (cd $(HOST_SUBDIR)/automake && \
3479 $(MAKE) $(FLAGS_TO_PASS) install)
3481 @endif automake
3483 # Other targets (info, dvi, etc.)
3485 .PHONY: maybe-info-automake info-automake
3486 maybe-info-automake:
3487 @if automake
3488 maybe-info-automake: info-automake
3490 info-automake: \
3491 configure-automake
3492 @$(unstage)
3493 @[ -f ./automake/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3496 $(HOST_EXPORTS) \
3497 for flag in $(EXTRA_HOST_FLAGS) ; do \
3498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3499 done; \
3500 echo "Doing info in automake" ; \
3501 (cd $(HOST_SUBDIR)/automake && \
3502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3504 "RANLIB=$${RANLIB}" \
3505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3506 info) \
3507 || exit 1
3509 @endif automake
3511 .PHONY: maybe-dvi-automake dvi-automake
3512 maybe-dvi-automake:
3513 @if automake
3514 maybe-dvi-automake: dvi-automake
3516 dvi-automake: \
3517 configure-automake
3518 @$(unstage)
3519 @[ -f ./automake/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 $(HOST_EXPORTS) \
3523 for flag in $(EXTRA_HOST_FLAGS) ; do \
3524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3525 done; \
3526 echo "Doing dvi in automake" ; \
3527 (cd $(HOST_SUBDIR)/automake && \
3528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3530 "RANLIB=$${RANLIB}" \
3531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3532 dvi) \
3533 || exit 1
3535 @endif automake
3537 .PHONY: maybe-html-automake html-automake
3538 maybe-html-automake:
3539 @if automake
3540 maybe-html-automake: html-automake
3542 html-automake: \
3543 configure-automake
3544 @$(unstage)
3545 @[ -f ./automake/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 $(HOST_EXPORTS) \
3549 for flag in $(EXTRA_HOST_FLAGS) ; do \
3550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3551 done; \
3552 echo "Doing html in automake" ; \
3553 (cd $(HOST_SUBDIR)/automake && \
3554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3556 "RANLIB=$${RANLIB}" \
3557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3558 html) \
3559 || exit 1
3561 @endif automake
3563 .PHONY: maybe-TAGS-automake TAGS-automake
3564 maybe-TAGS-automake:
3565 @if automake
3566 maybe-TAGS-automake: TAGS-automake
3568 TAGS-automake: \
3569 configure-automake
3570 @$(unstage)
3571 @[ -f ./automake/Makefile ] || exit 0; \
3572 r=`${PWD_COMMAND}`; export r; \
3573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3574 $(HOST_EXPORTS) \
3575 for flag in $(EXTRA_HOST_FLAGS) ; do \
3576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3577 done; \
3578 echo "Doing TAGS in automake" ; \
3579 (cd $(HOST_SUBDIR)/automake && \
3580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3582 "RANLIB=$${RANLIB}" \
3583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3584 TAGS) \
3585 || exit 1
3587 @endif automake
3589 .PHONY: maybe-install-info-automake install-info-automake
3590 maybe-install-info-automake:
3591 @if automake
3592 maybe-install-info-automake: install-info-automake
3594 install-info-automake: \
3595 configure-automake \
3596 info-automake
3597 @$(unstage)
3598 @[ -f ./automake/Makefile ] || exit 0; \
3599 r=`${PWD_COMMAND}`; export r; \
3600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3601 $(HOST_EXPORTS) \
3602 for flag in $(EXTRA_HOST_FLAGS) ; do \
3603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3604 done; \
3605 echo "Doing install-info in automake" ; \
3606 (cd $(HOST_SUBDIR)/automake && \
3607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3609 "RANLIB=$${RANLIB}" \
3610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3611 install-info) \
3612 || exit 1
3614 @endif automake
3616 .PHONY: maybe-installcheck-automake installcheck-automake
3617 maybe-installcheck-automake:
3618 @if automake
3619 maybe-installcheck-automake: installcheck-automake
3621 installcheck-automake: \
3622 configure-automake
3623 @$(unstage)
3624 @[ -f ./automake/Makefile ] || exit 0; \
3625 r=`${PWD_COMMAND}`; export r; \
3626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3627 $(HOST_EXPORTS) \
3628 for flag in $(EXTRA_HOST_FLAGS) ; do \
3629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3630 done; \
3631 echo "Doing installcheck in automake" ; \
3632 (cd $(HOST_SUBDIR)/automake && \
3633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3635 "RANLIB=$${RANLIB}" \
3636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3637 installcheck) \
3638 || exit 1
3640 @endif automake
3642 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3643 maybe-mostlyclean-automake:
3644 @if automake
3645 maybe-mostlyclean-automake: mostlyclean-automake
3647 mostlyclean-automake:
3648 @$(unstage)
3649 @[ -f ./automake/Makefile ] || exit 0; \
3650 r=`${PWD_COMMAND}`; export r; \
3651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing mostlyclean in automake" ; \
3657 (cd $(HOST_SUBDIR)/automake && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3662 mostlyclean) \
3663 || exit 1
3665 @endif automake
3667 .PHONY: maybe-clean-automake clean-automake
3668 maybe-clean-automake:
3669 @if automake
3670 maybe-clean-automake: clean-automake
3672 clean-automake:
3673 @$(unstage)
3674 @[ -f ./automake/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing clean in automake" ; \
3682 (cd $(HOST_SUBDIR)/automake && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687 clean) \
3688 || exit 1
3690 @endif automake
3692 .PHONY: maybe-distclean-automake distclean-automake
3693 maybe-distclean-automake:
3694 @if automake
3695 maybe-distclean-automake: distclean-automake
3697 distclean-automake:
3698 @$(unstage)
3699 @[ -f ./automake/Makefile ] || exit 0; \
3700 r=`${PWD_COMMAND}`; export r; \
3701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3702 $(HOST_EXPORTS) \
3703 for flag in $(EXTRA_HOST_FLAGS) ; do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3705 done; \
3706 echo "Doing distclean in automake" ; \
3707 (cd $(HOST_SUBDIR)/automake && \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712 distclean) \
3713 || exit 1
3715 @endif automake
3717 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3718 maybe-maintainer-clean-automake:
3719 @if automake
3720 maybe-maintainer-clean-automake: maintainer-clean-automake
3722 maintainer-clean-automake:
3723 @$(unstage)
3724 @[ -f ./automake/Makefile ] || exit 0; \
3725 r=`${PWD_COMMAND}`; export r; \
3726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3727 $(HOST_EXPORTS) \
3728 for flag in $(EXTRA_HOST_FLAGS) ; do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3730 done; \
3731 echo "Doing maintainer-clean in automake" ; \
3732 (cd $(HOST_SUBDIR)/automake && \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3735 "RANLIB=$${RANLIB}" \
3736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3737 maintainer-clean) \
3738 || exit 1
3740 @endif automake
3744 .PHONY: configure-bash maybe-configure-bash
3745 maybe-configure-bash:
3746 @if bash
3747 maybe-configure-bash: configure-bash
3748 configure-bash:
3749 @$(unstage)
3750 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3752 r=`${PWD_COMMAND}`; export r; \
3753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3754 $(HOST_EXPORTS) \
3755 echo Configuring in $(HOST_SUBDIR)/bash; \
3756 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3757 case $(srcdir) in \
3758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3759 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3761 esac; \
3762 srcdiroption="--srcdir=$${topdir}/bash"; \
3763 libsrcdir="$$s/bash"; \
3764 $(SHELL) $${libsrcdir}/configure \
3765 $(HOST_CONFIGARGS) $${srcdiroption} \
3766 || exit 1
3767 @endif bash
3773 .PHONY: all-bash maybe-all-bash
3774 maybe-all-bash:
3775 @if bash
3776 TARGET-bash=all
3777 maybe-all-bash: all-bash
3778 all-bash: configure-bash
3779 @$(unstage)
3780 @r=`${PWD_COMMAND}`; export r; \
3781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3782 $(HOST_EXPORTS) \
3783 (cd $(HOST_SUBDIR)/bash && \
3784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3785 @endif bash
3790 .PHONY: check-bash maybe-check-bash
3791 maybe-check-bash:
3792 @if bash
3793 maybe-check-bash: check-bash
3795 check-bash:
3796 @$(unstage)
3797 @r=`${PWD_COMMAND}`; export r; \
3798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3799 $(HOST_EXPORTS) \
3800 (cd $(HOST_SUBDIR)/bash && \
3801 $(MAKE) $(FLAGS_TO_PASS) check)
3803 @endif bash
3805 .PHONY: install-bash maybe-install-bash
3806 maybe-install-bash:
3807 @if bash
3808 maybe-install-bash: install-bash
3810 install-bash: installdirs
3811 @$(unstage)
3812 @r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814 $(HOST_EXPORTS) \
3815 (cd $(HOST_SUBDIR)/bash && \
3816 $(MAKE) $(FLAGS_TO_PASS) install)
3818 @endif bash
3820 # Other targets (info, dvi, etc.)
3822 .PHONY: maybe-info-bash info-bash
3823 maybe-info-bash:
3824 @if bash
3825 maybe-info-bash: info-bash
3827 info-bash: \
3828 configure-bash
3829 @$(unstage)
3830 @[ -f ./bash/Makefile ] || exit 0; \
3831 r=`${PWD_COMMAND}`; export r; \
3832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3833 $(HOST_EXPORTS) \
3834 for flag in $(EXTRA_HOST_FLAGS) ; do \
3835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3836 done; \
3837 echo "Doing info in bash" ; \
3838 (cd $(HOST_SUBDIR)/bash && \
3839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3841 "RANLIB=$${RANLIB}" \
3842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3843 info) \
3844 || exit 1
3846 @endif bash
3848 .PHONY: maybe-dvi-bash dvi-bash
3849 maybe-dvi-bash:
3850 @if bash
3851 maybe-dvi-bash: dvi-bash
3853 dvi-bash: \
3854 configure-bash
3855 @$(unstage)
3856 @[ -f ./bash/Makefile ] || exit 0; \
3857 r=`${PWD_COMMAND}`; export r; \
3858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3859 $(HOST_EXPORTS) \
3860 for flag in $(EXTRA_HOST_FLAGS) ; do \
3861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3862 done; \
3863 echo "Doing dvi in bash" ; \
3864 (cd $(HOST_SUBDIR)/bash && \
3865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3867 "RANLIB=$${RANLIB}" \
3868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3869 dvi) \
3870 || exit 1
3872 @endif bash
3874 .PHONY: maybe-html-bash html-bash
3875 maybe-html-bash:
3876 @if bash
3877 maybe-html-bash: html-bash
3879 html-bash: \
3880 configure-bash
3881 @$(unstage)
3882 @[ -f ./bash/Makefile ] || exit 0; \
3883 r=`${PWD_COMMAND}`; export r; \
3884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3885 $(HOST_EXPORTS) \
3886 for flag in $(EXTRA_HOST_FLAGS) ; do \
3887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3888 done; \
3889 echo "Doing html in bash" ; \
3890 (cd $(HOST_SUBDIR)/bash && \
3891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3893 "RANLIB=$${RANLIB}" \
3894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3895 html) \
3896 || exit 1
3898 @endif bash
3900 .PHONY: maybe-TAGS-bash TAGS-bash
3901 maybe-TAGS-bash:
3902 @if bash
3903 maybe-TAGS-bash: TAGS-bash
3905 TAGS-bash: \
3906 configure-bash
3907 @$(unstage)
3908 @[ -f ./bash/Makefile ] || exit 0; \
3909 r=`${PWD_COMMAND}`; export r; \
3910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3911 $(HOST_EXPORTS) \
3912 for flag in $(EXTRA_HOST_FLAGS) ; do \
3913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3914 done; \
3915 echo "Doing TAGS in bash" ; \
3916 (cd $(HOST_SUBDIR)/bash && \
3917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3919 "RANLIB=$${RANLIB}" \
3920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3921 TAGS) \
3922 || exit 1
3924 @endif bash
3926 .PHONY: maybe-install-info-bash install-info-bash
3927 maybe-install-info-bash:
3928 @if bash
3929 maybe-install-info-bash: install-info-bash
3931 install-info-bash: \
3932 configure-bash \
3933 info-bash
3934 @$(unstage)
3935 @[ -f ./bash/Makefile ] || exit 0; \
3936 r=`${PWD_COMMAND}`; export r; \
3937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3938 $(HOST_EXPORTS) \
3939 for flag in $(EXTRA_HOST_FLAGS) ; do \
3940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3941 done; \
3942 echo "Doing install-info in bash" ; \
3943 (cd $(HOST_SUBDIR)/bash && \
3944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3946 "RANLIB=$${RANLIB}" \
3947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3948 install-info) \
3949 || exit 1
3951 @endif bash
3953 .PHONY: maybe-installcheck-bash installcheck-bash
3954 maybe-installcheck-bash:
3955 @if bash
3956 maybe-installcheck-bash: installcheck-bash
3958 installcheck-bash: \
3959 configure-bash
3960 @$(unstage)
3961 @[ -f ./bash/Makefile ] || exit 0; \
3962 r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 $(HOST_EXPORTS) \
3965 for flag in $(EXTRA_HOST_FLAGS) ; do \
3966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3967 done; \
3968 echo "Doing installcheck in bash" ; \
3969 (cd $(HOST_SUBDIR)/bash && \
3970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3972 "RANLIB=$${RANLIB}" \
3973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3974 installcheck) \
3975 || exit 1
3977 @endif bash
3979 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3980 maybe-mostlyclean-bash:
3981 @if bash
3982 maybe-mostlyclean-bash: mostlyclean-bash
3984 mostlyclean-bash:
3985 @$(unstage)
3986 @[ -f ./bash/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing mostlyclean in bash" ; \
3994 (cd $(HOST_SUBDIR)/bash && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3999 mostlyclean) \
4000 || exit 1
4002 @endif bash
4004 .PHONY: maybe-clean-bash clean-bash
4005 maybe-clean-bash:
4006 @if bash
4007 maybe-clean-bash: clean-bash
4009 clean-bash:
4010 @$(unstage)
4011 @[ -f ./bash/Makefile ] || exit 0; \
4012 r=`${PWD_COMMAND}`; export r; \
4013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4014 $(HOST_EXPORTS) \
4015 for flag in $(EXTRA_HOST_FLAGS) ; do \
4016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4017 done; \
4018 echo "Doing clean in bash" ; \
4019 (cd $(HOST_SUBDIR)/bash && \
4020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4022 "RANLIB=$${RANLIB}" \
4023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4024 clean) \
4025 || exit 1
4027 @endif bash
4029 .PHONY: maybe-distclean-bash distclean-bash
4030 maybe-distclean-bash:
4031 @if bash
4032 maybe-distclean-bash: distclean-bash
4034 distclean-bash:
4035 @$(unstage)
4036 @[ -f ./bash/Makefile ] || exit 0; \
4037 r=`${PWD_COMMAND}`; export r; \
4038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4039 $(HOST_EXPORTS) \
4040 for flag in $(EXTRA_HOST_FLAGS) ; do \
4041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4042 done; \
4043 echo "Doing distclean in bash" ; \
4044 (cd $(HOST_SUBDIR)/bash && \
4045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4047 "RANLIB=$${RANLIB}" \
4048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4049 distclean) \
4050 || exit 1
4052 @endif bash
4054 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4055 maybe-maintainer-clean-bash:
4056 @if bash
4057 maybe-maintainer-clean-bash: maintainer-clean-bash
4059 maintainer-clean-bash:
4060 @$(unstage)
4061 @[ -f ./bash/Makefile ] || exit 0; \
4062 r=`${PWD_COMMAND}`; export r; \
4063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4064 $(HOST_EXPORTS) \
4065 for flag in $(EXTRA_HOST_FLAGS) ; do \
4066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4067 done; \
4068 echo "Doing maintainer-clean in bash" ; \
4069 (cd $(HOST_SUBDIR)/bash && \
4070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4072 "RANLIB=$${RANLIB}" \
4073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4074 maintainer-clean) \
4075 || exit 1
4077 @endif bash
4081 .PHONY: configure-bfd maybe-configure-bfd
4082 maybe-configure-bfd:
4083 @if bfd
4084 maybe-configure-bfd: configure-bfd
4085 configure-bfd:
4086 @test -f stage_last && exit 0; \
4087 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4089 r=`${PWD_COMMAND}`; export r; \
4090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 $(HOST_EXPORTS) \
4092 echo Configuring in $(HOST_SUBDIR)/bfd; \
4093 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4094 case $(srcdir) in \
4095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4096 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4098 esac; \
4099 srcdiroption="--srcdir=$${topdir}/bfd"; \
4100 libsrcdir="$$s/bfd"; \
4101 $(SHELL) $${libsrcdir}/configure \
4102 $(HOST_CONFIGARGS) $${srcdiroption} \
4103 || exit 1
4104 @endif bfd
4108 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4109 maybe-configure-stage1-bfd:
4110 @if bfd-bootstrap
4111 maybe-configure-stage1-bfd: configure-stage1-bfd
4112 configure-stage1-bfd:
4113 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4114 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4115 r=`${PWD_COMMAND}`; export r; \
4116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4117 $(HOST_EXPORTS) \
4118 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4119 cd $(HOST_SUBDIR)/bfd || exit 1; \
4120 case $(srcdir) in \
4121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4122 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4124 esac; \
4125 srcdiroption="--srcdir=$${topdir}/bfd"; \
4126 libsrcdir="$$s/bfd"; \
4127 $(SHELL) $${libsrcdir}/configure \
4128 $(HOST_CONFIGARGS) $${srcdiroption} \
4129 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4130 @endif bfd-bootstrap
4132 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4133 maybe-configure-stage2-bfd:
4134 @if bfd-bootstrap
4135 maybe-configure-stage2-bfd: configure-stage2-bfd
4136 configure-stage2-bfd:
4137 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4138 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4139 r=`${PWD_COMMAND}`; export r; \
4140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141 $(HOST_EXPORTS) \
4142 $(POSTSTAGE1_HOST_EXPORTS) \
4143 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4144 cd $(HOST_SUBDIR)/bfd || exit 1; \
4145 case $(srcdir) in \
4146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4147 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4149 esac; \
4150 srcdiroption="--srcdir=$${topdir}/bfd"; \
4151 libsrcdir="$$s/bfd"; \
4152 $(SHELL) $${libsrcdir}/configure \
4153 $(HOST_CONFIGARGS) $${srcdiroption} \
4154 @stage2_werror_flag@
4155 @endif bfd-bootstrap
4157 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4158 maybe-configure-stage3-bfd:
4159 @if bfd-bootstrap
4160 maybe-configure-stage3-bfd: configure-stage3-bfd
4161 configure-stage3-bfd:
4162 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4163 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4164 r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4166 $(HOST_EXPORTS) \
4167 $(POSTSTAGE1_HOST_EXPORTS) \
4168 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4169 cd $(HOST_SUBDIR)/bfd || exit 1; \
4170 case $(srcdir) in \
4171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4172 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4174 esac; \
4175 srcdiroption="--srcdir=$${topdir}/bfd"; \
4176 libsrcdir="$$s/bfd"; \
4177 $(SHELL) $${libsrcdir}/configure \
4178 $(HOST_CONFIGARGS) $${srcdiroption} \
4179 @stage2_werror_flag@
4180 @endif bfd-bootstrap
4182 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4183 maybe-configure-stage4-bfd:
4184 @if bfd-bootstrap
4185 maybe-configure-stage4-bfd: configure-stage4-bfd
4186 configure-stage4-bfd:
4187 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4188 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4189 r=`${PWD_COMMAND}`; export r; \
4190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191 $(HOST_EXPORTS) \
4192 $(POSTSTAGE1_HOST_EXPORTS) \
4193 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4194 cd $(HOST_SUBDIR)/bfd || exit 1; \
4195 case $(srcdir) in \
4196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4197 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4199 esac; \
4200 srcdiroption="--srcdir=$${topdir}/bfd"; \
4201 libsrcdir="$$s/bfd"; \
4202 $(SHELL) $${libsrcdir}/configure \
4203 $(HOST_CONFIGARGS) $${srcdiroption} \
4204 @stage2_werror_flag@
4205 @endif bfd-bootstrap
4207 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4208 maybe-configure-stageprofile-bfd:
4209 @if bfd-bootstrap
4210 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4211 configure-stageprofile-bfd:
4212 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4213 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4214 r=`${PWD_COMMAND}`; export r; \
4215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216 $(HOST_EXPORTS) \
4217 $(POSTSTAGE1_HOST_EXPORTS) \
4218 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4219 cd $(HOST_SUBDIR)/bfd || exit 1; \
4220 case $(srcdir) in \
4221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4222 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4224 esac; \
4225 srcdiroption="--srcdir=$${topdir}/bfd"; \
4226 libsrcdir="$$s/bfd"; \
4227 $(SHELL) $${libsrcdir}/configure \
4228 $(HOST_CONFIGARGS) $${srcdiroption} \
4229 @stage2_werror_flag@
4230 @endif bfd-bootstrap
4232 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4233 maybe-configure-stagefeedback-bfd:
4234 @if bfd-bootstrap
4235 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4236 configure-stagefeedback-bfd:
4237 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4238 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4239 r=`${PWD_COMMAND}`; export r; \
4240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4241 $(HOST_EXPORTS) \
4242 $(POSTSTAGE1_HOST_EXPORTS) \
4243 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4244 cd $(HOST_SUBDIR)/bfd || exit 1; \
4245 case $(srcdir) in \
4246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4247 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4249 esac; \
4250 srcdiroption="--srcdir=$${topdir}/bfd"; \
4251 libsrcdir="$$s/bfd"; \
4252 $(SHELL) $${libsrcdir}/configure \
4253 $(HOST_CONFIGARGS) $${srcdiroption} \
4254 @stage2_werror_flag@
4255 @endif bfd-bootstrap
4261 .PHONY: all-bfd maybe-all-bfd
4262 maybe-all-bfd:
4263 @if bfd
4264 TARGET-bfd=all
4265 maybe-all-bfd: all-bfd
4266 all-bfd: configure-bfd
4267 @test -f stage_last && exit 0; \
4268 r=`${PWD_COMMAND}`; export r; \
4269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4270 $(HOST_EXPORTS) \
4271 (cd $(HOST_SUBDIR)/bfd && \
4272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4273 @endif bfd
4277 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4278 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4279 maybe-all-stage1-bfd:
4280 maybe-clean-stage1-bfd:
4281 @if bfd-bootstrap
4282 maybe-all-stage1-bfd: all-stage1-bfd
4283 all-stage1: all-stage1-bfd
4284 TARGET-stage1-bfd = $(TARGET-bfd)
4285 all-stage1-bfd: configure-stage1-bfd
4286 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4287 @r=`${PWD_COMMAND}`; export r; \
4288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4289 $(HOST_EXPORTS) \
4290 cd $(HOST_SUBDIR)/bfd && \
4291 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4292 $(TARGET-stage1-bfd)
4294 maybe-clean-stage1-bfd: clean-stage1-bfd
4295 clean-stage1: clean-stage1-bfd
4296 clean-stage1-bfd:
4297 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4298 || exit 0 ; \
4299 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4300 cd $(HOST_SUBDIR)/bfd && \
4301 $(MAKE) $(FLAGS_TO_PASS) \
4302 CFLAGS="$(STAGE1_CFLAGS)" clean
4303 @endif bfd-bootstrap
4306 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4307 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4308 maybe-all-stage2-bfd:
4309 maybe-clean-stage2-bfd:
4310 @if bfd-bootstrap
4311 maybe-all-stage2-bfd: all-stage2-bfd
4312 all-stage2: all-stage2-bfd
4313 TARGET-stage2-bfd = $(TARGET-bfd)
4314 all-stage2-bfd: configure-stage2-bfd
4315 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4316 @r=`${PWD_COMMAND}`; export r; \
4317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4318 $(HOST_EXPORTS) \
4319 $(POSTSTAGE1_HOST_EXPORTS) \
4320 cd $(HOST_SUBDIR)/bfd && \
4321 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4322 $(TARGET-stage2-bfd)
4324 maybe-clean-stage2-bfd: clean-stage2-bfd
4325 clean-stage2: clean-stage2-bfd
4326 clean-stage2-bfd:
4327 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4328 || exit 0 ; \
4329 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4330 cd $(HOST_SUBDIR)/bfd && \
4331 $(MAKE) $(FLAGS_TO_PASS) \
4332 $(POSTSTAGE1_FLAGS_TO_PASS) \
4333 clean
4334 @endif bfd-bootstrap
4337 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4338 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4339 maybe-all-stage3-bfd:
4340 maybe-clean-stage3-bfd:
4341 @if bfd-bootstrap
4342 maybe-all-stage3-bfd: all-stage3-bfd
4343 all-stage3: all-stage3-bfd
4344 TARGET-stage3-bfd = $(TARGET-bfd)
4345 all-stage3-bfd: configure-stage3-bfd
4346 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4347 @r=`${PWD_COMMAND}`; export r; \
4348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4349 $(HOST_EXPORTS) \
4350 $(POSTSTAGE1_HOST_EXPORTS) \
4351 cd $(HOST_SUBDIR)/bfd && \
4352 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4353 $(TARGET-stage3-bfd)
4355 maybe-clean-stage3-bfd: clean-stage3-bfd
4356 clean-stage3: clean-stage3-bfd
4357 clean-stage3-bfd:
4358 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4359 || exit 0 ; \
4360 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4361 cd $(HOST_SUBDIR)/bfd && \
4362 $(MAKE) $(FLAGS_TO_PASS) \
4363 $(POSTSTAGE1_FLAGS_TO_PASS) \
4364 clean
4365 @endif bfd-bootstrap
4368 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4369 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4370 maybe-all-stage4-bfd:
4371 maybe-clean-stage4-bfd:
4372 @if bfd-bootstrap
4373 maybe-all-stage4-bfd: all-stage4-bfd
4374 all-stage4: all-stage4-bfd
4375 TARGET-stage4-bfd = $(TARGET-bfd)
4376 all-stage4-bfd: configure-stage4-bfd
4377 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4378 @r=`${PWD_COMMAND}`; export r; \
4379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4380 $(HOST_EXPORTS) \
4381 $(POSTSTAGE1_HOST_EXPORTS) \
4382 cd $(HOST_SUBDIR)/bfd && \
4383 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4384 $(TARGET-stage4-bfd)
4386 maybe-clean-stage4-bfd: clean-stage4-bfd
4387 clean-stage4: clean-stage4-bfd
4388 clean-stage4-bfd:
4389 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4390 || exit 0 ; \
4391 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4392 cd $(HOST_SUBDIR)/bfd && \
4393 $(MAKE) $(FLAGS_TO_PASS) \
4394 $(POSTSTAGE1_FLAGS_TO_PASS) \
4395 clean
4396 @endif bfd-bootstrap
4399 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4400 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4401 maybe-all-stageprofile-bfd:
4402 maybe-clean-stageprofile-bfd:
4403 @if bfd-bootstrap
4404 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4405 all-stageprofile: all-stageprofile-bfd
4406 TARGET-stageprofile-bfd = $(TARGET-bfd)
4407 all-stageprofile-bfd: configure-stageprofile-bfd
4408 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4409 @r=`${PWD_COMMAND}`; export r; \
4410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411 $(HOST_EXPORTS) \
4412 $(POSTSTAGE1_HOST_EXPORTS) \
4413 cd $(HOST_SUBDIR)/bfd && \
4414 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4415 $(TARGET-stageprofile-bfd)
4417 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4418 clean-stageprofile: clean-stageprofile-bfd
4419 clean-stageprofile-bfd:
4420 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4421 || exit 0 ; \
4422 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4423 cd $(HOST_SUBDIR)/bfd && \
4424 $(MAKE) $(FLAGS_TO_PASS) \
4425 $(POSTSTAGE1_FLAGS_TO_PASS) \
4426 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4427 @endif bfd-bootstrap
4430 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4431 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4432 maybe-all-stagefeedback-bfd:
4433 maybe-clean-stagefeedback-bfd:
4434 @if bfd-bootstrap
4435 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4436 all-stagefeedback: all-stagefeedback-bfd
4437 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4438 all-stagefeedback-bfd: configure-stagefeedback-bfd
4439 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4440 @r=`${PWD_COMMAND}`; export r; \
4441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4442 $(HOST_EXPORTS) \
4443 $(POSTSTAGE1_HOST_EXPORTS) \
4444 cd $(HOST_SUBDIR)/bfd && \
4445 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4446 $(TARGET-stagefeedback-bfd)
4448 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4449 clean-stagefeedback: clean-stagefeedback-bfd
4450 clean-stagefeedback-bfd:
4451 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4452 || exit 0 ; \
4453 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4454 cd $(HOST_SUBDIR)/bfd && \
4455 $(MAKE) $(FLAGS_TO_PASS) \
4456 $(POSTSTAGE1_FLAGS_TO_PASS) \
4457 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4458 @endif bfd-bootstrap
4464 .PHONY: check-bfd maybe-check-bfd
4465 maybe-check-bfd:
4466 @if bfd
4467 maybe-check-bfd: check-bfd
4469 check-bfd:
4470 @$(unstage)
4471 @r=`${PWD_COMMAND}`; export r; \
4472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4473 $(HOST_EXPORTS) \
4474 (cd $(HOST_SUBDIR)/bfd && \
4475 $(MAKE) $(FLAGS_TO_PASS) check)
4477 @endif bfd
4479 .PHONY: install-bfd maybe-install-bfd
4480 maybe-install-bfd:
4481 @if bfd
4482 maybe-install-bfd: install-bfd
4484 install-bfd: installdirs
4485 @$(unstage)
4486 @r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 $(HOST_EXPORTS) \
4489 (cd $(HOST_SUBDIR)/bfd && \
4490 $(MAKE) $(FLAGS_TO_PASS) install)
4492 @endif bfd
4494 # Other targets (info, dvi, etc.)
4496 .PHONY: maybe-info-bfd info-bfd
4497 maybe-info-bfd:
4498 @if bfd
4499 maybe-info-bfd: info-bfd
4501 info-bfd: \
4502 configure-bfd
4503 @[ -f ./bfd/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 for flag in $(EXTRA_HOST_FLAGS) ; do \
4508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4509 done; \
4510 echo "Doing info in bfd" ; \
4511 (cd $(HOST_SUBDIR)/bfd && \
4512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4514 "RANLIB=$${RANLIB}" \
4515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4516 info) \
4517 || exit 1
4519 @endif bfd
4521 .PHONY: maybe-dvi-bfd dvi-bfd
4522 maybe-dvi-bfd:
4523 @if bfd
4524 maybe-dvi-bfd: dvi-bfd
4526 dvi-bfd: \
4527 configure-bfd
4528 @[ -f ./bfd/Makefile ] || exit 0; \
4529 r=`${PWD_COMMAND}`; export r; \
4530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4531 $(HOST_EXPORTS) \
4532 for flag in $(EXTRA_HOST_FLAGS) ; do \
4533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4534 done; \
4535 echo "Doing dvi in bfd" ; \
4536 (cd $(HOST_SUBDIR)/bfd && \
4537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4539 "RANLIB=$${RANLIB}" \
4540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4541 dvi) \
4542 || exit 1
4544 @endif bfd
4546 .PHONY: maybe-html-bfd html-bfd
4547 maybe-html-bfd:
4548 @if bfd
4549 maybe-html-bfd: html-bfd
4551 html-bfd: \
4552 configure-bfd
4553 @[ -f ./bfd/Makefile ] || exit 0; \
4554 r=`${PWD_COMMAND}`; export r; \
4555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4556 $(HOST_EXPORTS) \
4557 for flag in $(EXTRA_HOST_FLAGS) ; do \
4558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4559 done; \
4560 echo "Doing html in bfd" ; \
4561 (cd $(HOST_SUBDIR)/bfd && \
4562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4564 "RANLIB=$${RANLIB}" \
4565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4566 html) \
4567 || exit 1
4569 @endif bfd
4571 .PHONY: maybe-TAGS-bfd TAGS-bfd
4572 maybe-TAGS-bfd:
4573 @if bfd
4574 maybe-TAGS-bfd: TAGS-bfd
4576 TAGS-bfd: \
4577 configure-bfd
4578 @[ -f ./bfd/Makefile ] || exit 0; \
4579 r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4581 $(HOST_EXPORTS) \
4582 for flag in $(EXTRA_HOST_FLAGS) ; do \
4583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4584 done; \
4585 echo "Doing TAGS in bfd" ; \
4586 (cd $(HOST_SUBDIR)/bfd && \
4587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4589 "RANLIB=$${RANLIB}" \
4590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4591 TAGS) \
4592 || exit 1
4594 @endif bfd
4596 .PHONY: maybe-install-info-bfd install-info-bfd
4597 maybe-install-info-bfd:
4598 @if bfd
4599 maybe-install-info-bfd: install-info-bfd
4601 install-info-bfd: \
4602 configure-bfd \
4603 info-bfd
4604 @[ -f ./bfd/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 $(HOST_EXPORTS) \
4608 for flag in $(EXTRA_HOST_FLAGS) ; do \
4609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4610 done; \
4611 echo "Doing install-info in bfd" ; \
4612 (cd $(HOST_SUBDIR)/bfd && \
4613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4615 "RANLIB=$${RANLIB}" \
4616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4617 install-info) \
4618 || exit 1
4620 @endif bfd
4622 .PHONY: maybe-installcheck-bfd installcheck-bfd
4623 maybe-installcheck-bfd:
4624 @if bfd
4625 maybe-installcheck-bfd: installcheck-bfd
4627 installcheck-bfd: \
4628 configure-bfd
4629 @[ -f ./bfd/Makefile ] || exit 0; \
4630 r=`${PWD_COMMAND}`; export r; \
4631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4632 $(HOST_EXPORTS) \
4633 for flag in $(EXTRA_HOST_FLAGS) ; do \
4634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4635 done; \
4636 echo "Doing installcheck in bfd" ; \
4637 (cd $(HOST_SUBDIR)/bfd && \
4638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4640 "RANLIB=$${RANLIB}" \
4641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4642 installcheck) \
4643 || exit 1
4645 @endif bfd
4647 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4648 maybe-mostlyclean-bfd:
4649 @if bfd
4650 maybe-mostlyclean-bfd: mostlyclean-bfd
4652 mostlyclean-bfd:
4653 @[ -f ./bfd/Makefile ] || exit 0; \
4654 r=`${PWD_COMMAND}`; export r; \
4655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4656 $(HOST_EXPORTS) \
4657 for flag in $(EXTRA_HOST_FLAGS) ; do \
4658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4659 done; \
4660 echo "Doing mostlyclean in bfd" ; \
4661 (cd $(HOST_SUBDIR)/bfd && \
4662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4664 "RANLIB=$${RANLIB}" \
4665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4666 mostlyclean) \
4667 || exit 1
4669 @endif bfd
4671 .PHONY: maybe-clean-bfd clean-bfd
4672 maybe-clean-bfd:
4673 @if bfd
4674 maybe-clean-bfd: clean-bfd
4676 clean-bfd:
4677 @[ -f ./bfd/Makefile ] || exit 0; \
4678 r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4680 $(HOST_EXPORTS) \
4681 for flag in $(EXTRA_HOST_FLAGS) ; do \
4682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4683 done; \
4684 echo "Doing clean in bfd" ; \
4685 (cd $(HOST_SUBDIR)/bfd && \
4686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4688 "RANLIB=$${RANLIB}" \
4689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4690 clean) \
4691 || exit 1
4693 @endif bfd
4695 .PHONY: maybe-distclean-bfd distclean-bfd
4696 maybe-distclean-bfd:
4697 @if bfd
4698 maybe-distclean-bfd: distclean-bfd
4700 distclean-bfd:
4701 @[ -f ./bfd/Makefile ] || exit 0; \
4702 r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4704 $(HOST_EXPORTS) \
4705 for flag in $(EXTRA_HOST_FLAGS) ; do \
4706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4707 done; \
4708 echo "Doing distclean in bfd" ; \
4709 (cd $(HOST_SUBDIR)/bfd && \
4710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4712 "RANLIB=$${RANLIB}" \
4713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4714 distclean) \
4715 || exit 1
4717 @endif bfd
4719 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4720 maybe-maintainer-clean-bfd:
4721 @if bfd
4722 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4724 maintainer-clean-bfd:
4725 @[ -f ./bfd/Makefile ] || exit 0; \
4726 r=`${PWD_COMMAND}`; export r; \
4727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4728 $(HOST_EXPORTS) \
4729 for flag in $(EXTRA_HOST_FLAGS) ; do \
4730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4731 done; \
4732 echo "Doing maintainer-clean in bfd" ; \
4733 (cd $(HOST_SUBDIR)/bfd && \
4734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4736 "RANLIB=$${RANLIB}" \
4737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4738 maintainer-clean) \
4739 || exit 1
4741 @endif bfd
4745 .PHONY: configure-opcodes maybe-configure-opcodes
4746 maybe-configure-opcodes:
4747 @if opcodes
4748 maybe-configure-opcodes: configure-opcodes
4749 configure-opcodes:
4750 @test -f stage_last && exit 0; \
4751 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4753 r=`${PWD_COMMAND}`; export r; \
4754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4755 $(HOST_EXPORTS) \
4756 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4757 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4758 case $(srcdir) in \
4759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4760 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4762 esac; \
4763 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4764 libsrcdir="$$s/opcodes"; \
4765 $(SHELL) $${libsrcdir}/configure \
4766 $(HOST_CONFIGARGS) $${srcdiroption} \
4767 || exit 1
4768 @endif opcodes
4772 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4773 maybe-configure-stage1-opcodes:
4774 @if opcodes-bootstrap
4775 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4776 configure-stage1-opcodes:
4777 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4778 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4779 r=`${PWD_COMMAND}`; export r; \
4780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4781 $(HOST_EXPORTS) \
4782 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4783 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4784 case $(srcdir) in \
4785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4786 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4788 esac; \
4789 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4790 libsrcdir="$$s/opcodes"; \
4791 $(SHELL) $${libsrcdir}/configure \
4792 $(HOST_CONFIGARGS) $${srcdiroption} \
4793 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4794 @endif opcodes-bootstrap
4796 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4797 maybe-configure-stage2-opcodes:
4798 @if opcodes-bootstrap
4799 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4800 configure-stage2-opcodes:
4801 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4802 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4803 r=`${PWD_COMMAND}`; export r; \
4804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4805 $(HOST_EXPORTS) \
4806 $(POSTSTAGE1_HOST_EXPORTS) \
4807 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4808 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4809 case $(srcdir) in \
4810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4811 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4813 esac; \
4814 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4815 libsrcdir="$$s/opcodes"; \
4816 $(SHELL) $${libsrcdir}/configure \
4817 $(HOST_CONFIGARGS) $${srcdiroption} \
4818 @stage2_werror_flag@
4819 @endif opcodes-bootstrap
4821 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4822 maybe-configure-stage3-opcodes:
4823 @if opcodes-bootstrap
4824 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4825 configure-stage3-opcodes:
4826 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4827 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4828 r=`${PWD_COMMAND}`; export r; \
4829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4830 $(HOST_EXPORTS) \
4831 $(POSTSTAGE1_HOST_EXPORTS) \
4832 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4833 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4834 case $(srcdir) in \
4835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4836 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4838 esac; \
4839 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4840 libsrcdir="$$s/opcodes"; \
4841 $(SHELL) $${libsrcdir}/configure \
4842 $(HOST_CONFIGARGS) $${srcdiroption} \
4843 @stage2_werror_flag@
4844 @endif opcodes-bootstrap
4846 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4847 maybe-configure-stage4-opcodes:
4848 @if opcodes-bootstrap
4849 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4850 configure-stage4-opcodes:
4851 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4852 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4853 r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 $(HOST_EXPORTS) \
4856 $(POSTSTAGE1_HOST_EXPORTS) \
4857 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4858 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4859 case $(srcdir) in \
4860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4861 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4863 esac; \
4864 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4865 libsrcdir="$$s/opcodes"; \
4866 $(SHELL) $${libsrcdir}/configure \
4867 $(HOST_CONFIGARGS) $${srcdiroption} \
4868 @stage2_werror_flag@
4869 @endif opcodes-bootstrap
4871 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4872 maybe-configure-stageprofile-opcodes:
4873 @if opcodes-bootstrap
4874 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4875 configure-stageprofile-opcodes:
4876 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4877 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4878 r=`${PWD_COMMAND}`; export r; \
4879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 $(HOST_EXPORTS) \
4881 $(POSTSTAGE1_HOST_EXPORTS) \
4882 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4883 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4884 case $(srcdir) in \
4885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4886 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4888 esac; \
4889 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4890 libsrcdir="$$s/opcodes"; \
4891 $(SHELL) $${libsrcdir}/configure \
4892 $(HOST_CONFIGARGS) $${srcdiroption} \
4893 @stage2_werror_flag@
4894 @endif opcodes-bootstrap
4896 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4897 maybe-configure-stagefeedback-opcodes:
4898 @if opcodes-bootstrap
4899 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4900 configure-stagefeedback-opcodes:
4901 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4902 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4903 r=`${PWD_COMMAND}`; export r; \
4904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4905 $(HOST_EXPORTS) \
4906 $(POSTSTAGE1_HOST_EXPORTS) \
4907 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4908 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4909 case $(srcdir) in \
4910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4911 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4913 esac; \
4914 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4915 libsrcdir="$$s/opcodes"; \
4916 $(SHELL) $${libsrcdir}/configure \
4917 $(HOST_CONFIGARGS) $${srcdiroption} \
4918 @stage2_werror_flag@
4919 @endif opcodes-bootstrap
4925 .PHONY: all-opcodes maybe-all-opcodes
4926 maybe-all-opcodes:
4927 @if opcodes
4928 TARGET-opcodes=all
4929 maybe-all-opcodes: all-opcodes
4930 all-opcodes: configure-opcodes
4931 @test -f stage_last && exit 0; \
4932 r=`${PWD_COMMAND}`; export r; \
4933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4934 $(HOST_EXPORTS) \
4935 (cd $(HOST_SUBDIR)/opcodes && \
4936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4937 @endif opcodes
4941 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4942 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4943 maybe-all-stage1-opcodes:
4944 maybe-clean-stage1-opcodes:
4945 @if opcodes-bootstrap
4946 maybe-all-stage1-opcodes: all-stage1-opcodes
4947 all-stage1: all-stage1-opcodes
4948 TARGET-stage1-opcodes = $(TARGET-opcodes)
4949 all-stage1-opcodes: configure-stage1-opcodes
4950 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4951 @r=`${PWD_COMMAND}`; export r; \
4952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4953 $(HOST_EXPORTS) \
4954 cd $(HOST_SUBDIR)/opcodes && \
4955 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4956 $(TARGET-stage1-opcodes)
4958 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4959 clean-stage1: clean-stage1-opcodes
4960 clean-stage1-opcodes:
4961 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4962 || exit 0 ; \
4963 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4964 cd $(HOST_SUBDIR)/opcodes && \
4965 $(MAKE) $(FLAGS_TO_PASS) \
4966 CFLAGS="$(STAGE1_CFLAGS)" clean
4967 @endif opcodes-bootstrap
4970 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4971 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4972 maybe-all-stage2-opcodes:
4973 maybe-clean-stage2-opcodes:
4974 @if opcodes-bootstrap
4975 maybe-all-stage2-opcodes: all-stage2-opcodes
4976 all-stage2: all-stage2-opcodes
4977 TARGET-stage2-opcodes = $(TARGET-opcodes)
4978 all-stage2-opcodes: configure-stage2-opcodes
4979 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4980 @r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 $(HOST_EXPORTS) \
4983 $(POSTSTAGE1_HOST_EXPORTS) \
4984 cd $(HOST_SUBDIR)/opcodes && \
4985 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4986 $(TARGET-stage2-opcodes)
4988 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4989 clean-stage2: clean-stage2-opcodes
4990 clean-stage2-opcodes:
4991 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4992 || exit 0 ; \
4993 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4994 cd $(HOST_SUBDIR)/opcodes && \
4995 $(MAKE) $(FLAGS_TO_PASS) \
4996 $(POSTSTAGE1_FLAGS_TO_PASS) \
4997 clean
4998 @endif opcodes-bootstrap
5001 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5002 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5003 maybe-all-stage3-opcodes:
5004 maybe-clean-stage3-opcodes:
5005 @if opcodes-bootstrap
5006 maybe-all-stage3-opcodes: all-stage3-opcodes
5007 all-stage3: all-stage3-opcodes
5008 TARGET-stage3-opcodes = $(TARGET-opcodes)
5009 all-stage3-opcodes: configure-stage3-opcodes
5010 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5011 @r=`${PWD_COMMAND}`; export r; \
5012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5013 $(HOST_EXPORTS) \
5014 $(POSTSTAGE1_HOST_EXPORTS) \
5015 cd $(HOST_SUBDIR)/opcodes && \
5016 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5017 $(TARGET-stage3-opcodes)
5019 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5020 clean-stage3: clean-stage3-opcodes
5021 clean-stage3-opcodes:
5022 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5023 || exit 0 ; \
5024 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5025 cd $(HOST_SUBDIR)/opcodes && \
5026 $(MAKE) $(FLAGS_TO_PASS) \
5027 $(POSTSTAGE1_FLAGS_TO_PASS) \
5028 clean
5029 @endif opcodes-bootstrap
5032 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5033 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5034 maybe-all-stage4-opcodes:
5035 maybe-clean-stage4-opcodes:
5036 @if opcodes-bootstrap
5037 maybe-all-stage4-opcodes: all-stage4-opcodes
5038 all-stage4: all-stage4-opcodes
5039 TARGET-stage4-opcodes = $(TARGET-opcodes)
5040 all-stage4-opcodes: configure-stage4-opcodes
5041 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5042 @r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 $(HOST_EXPORTS) \
5045 $(POSTSTAGE1_HOST_EXPORTS) \
5046 cd $(HOST_SUBDIR)/opcodes && \
5047 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5048 $(TARGET-stage4-opcodes)
5050 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5051 clean-stage4: clean-stage4-opcodes
5052 clean-stage4-opcodes:
5053 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5054 || exit 0 ; \
5055 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5056 cd $(HOST_SUBDIR)/opcodes && \
5057 $(MAKE) $(FLAGS_TO_PASS) \
5058 $(POSTSTAGE1_FLAGS_TO_PASS) \
5059 clean
5060 @endif opcodes-bootstrap
5063 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5064 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5065 maybe-all-stageprofile-opcodes:
5066 maybe-clean-stageprofile-opcodes:
5067 @if opcodes-bootstrap
5068 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5069 all-stageprofile: all-stageprofile-opcodes
5070 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5071 all-stageprofile-opcodes: configure-stageprofile-opcodes
5072 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5073 @r=`${PWD_COMMAND}`; export r; \
5074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5075 $(HOST_EXPORTS) \
5076 $(POSTSTAGE1_HOST_EXPORTS) \
5077 cd $(HOST_SUBDIR)/opcodes && \
5078 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5079 $(TARGET-stageprofile-opcodes)
5081 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5082 clean-stageprofile: clean-stageprofile-opcodes
5083 clean-stageprofile-opcodes:
5084 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5085 || exit 0 ; \
5086 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5087 cd $(HOST_SUBDIR)/opcodes && \
5088 $(MAKE) $(FLAGS_TO_PASS) \
5089 $(POSTSTAGE1_FLAGS_TO_PASS) \
5090 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5091 @endif opcodes-bootstrap
5094 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5095 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5096 maybe-all-stagefeedback-opcodes:
5097 maybe-clean-stagefeedback-opcodes:
5098 @if opcodes-bootstrap
5099 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5100 all-stagefeedback: all-stagefeedback-opcodes
5101 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5102 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5103 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5104 @r=`${PWD_COMMAND}`; export r; \
5105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5106 $(HOST_EXPORTS) \
5107 $(POSTSTAGE1_HOST_EXPORTS) \
5108 cd $(HOST_SUBDIR)/opcodes && \
5109 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5110 $(TARGET-stagefeedback-opcodes)
5112 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5113 clean-stagefeedback: clean-stagefeedback-opcodes
5114 clean-stagefeedback-opcodes:
5115 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5116 || exit 0 ; \
5117 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5118 cd $(HOST_SUBDIR)/opcodes && \
5119 $(MAKE) $(FLAGS_TO_PASS) \
5120 $(POSTSTAGE1_FLAGS_TO_PASS) \
5121 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5122 @endif opcodes-bootstrap
5128 .PHONY: check-opcodes maybe-check-opcodes
5129 maybe-check-opcodes:
5130 @if opcodes
5131 maybe-check-opcodes: check-opcodes
5133 check-opcodes:
5134 @$(unstage)
5135 @r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5137 $(HOST_EXPORTS) \
5138 (cd $(HOST_SUBDIR)/opcodes && \
5139 $(MAKE) $(FLAGS_TO_PASS) check)
5141 @endif opcodes
5143 .PHONY: install-opcodes maybe-install-opcodes
5144 maybe-install-opcodes:
5145 @if opcodes
5146 maybe-install-opcodes: install-opcodes
5148 install-opcodes: installdirs
5149 @$(unstage)
5150 @r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(HOST_EXPORTS) \
5153 (cd $(HOST_SUBDIR)/opcodes && \
5154 $(MAKE) $(FLAGS_TO_PASS) install)
5156 @endif opcodes
5158 # Other targets (info, dvi, etc.)
5160 .PHONY: maybe-info-opcodes info-opcodes
5161 maybe-info-opcodes:
5162 @if opcodes
5163 maybe-info-opcodes: info-opcodes
5165 info-opcodes: \
5166 configure-opcodes
5167 @[ -f ./opcodes/Makefile ] || exit 0; \
5168 r=`${PWD_COMMAND}`; export r; \
5169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5170 $(HOST_EXPORTS) \
5171 for flag in $(EXTRA_HOST_FLAGS) ; do \
5172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5173 done; \
5174 echo "Doing info in opcodes" ; \
5175 (cd $(HOST_SUBDIR)/opcodes && \
5176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5178 "RANLIB=$${RANLIB}" \
5179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5180 info) \
5181 || exit 1
5183 @endif opcodes
5185 .PHONY: maybe-dvi-opcodes dvi-opcodes
5186 maybe-dvi-opcodes:
5187 @if opcodes
5188 maybe-dvi-opcodes: dvi-opcodes
5190 dvi-opcodes: \
5191 configure-opcodes
5192 @[ -f ./opcodes/Makefile ] || exit 0; \
5193 r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5195 $(HOST_EXPORTS) \
5196 for flag in $(EXTRA_HOST_FLAGS) ; do \
5197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5198 done; \
5199 echo "Doing dvi in opcodes" ; \
5200 (cd $(HOST_SUBDIR)/opcodes && \
5201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5203 "RANLIB=$${RANLIB}" \
5204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5205 dvi) \
5206 || exit 1
5208 @endif opcodes
5210 .PHONY: maybe-html-opcodes html-opcodes
5211 maybe-html-opcodes:
5212 @if opcodes
5213 maybe-html-opcodes: html-opcodes
5215 html-opcodes: \
5216 configure-opcodes
5217 @[ -f ./opcodes/Makefile ] || exit 0; \
5218 r=`${PWD_COMMAND}`; export r; \
5219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5220 $(HOST_EXPORTS) \
5221 for flag in $(EXTRA_HOST_FLAGS) ; do \
5222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5223 done; \
5224 echo "Doing html in opcodes" ; \
5225 (cd $(HOST_SUBDIR)/opcodes && \
5226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5228 "RANLIB=$${RANLIB}" \
5229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5230 html) \
5231 || exit 1
5233 @endif opcodes
5235 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5236 maybe-TAGS-opcodes:
5237 @if opcodes
5238 maybe-TAGS-opcodes: TAGS-opcodes
5240 TAGS-opcodes: \
5241 configure-opcodes
5242 @[ -f ./opcodes/Makefile ] || exit 0; \
5243 r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 for flag in $(EXTRA_HOST_FLAGS) ; do \
5247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5248 done; \
5249 echo "Doing TAGS in opcodes" ; \
5250 (cd $(HOST_SUBDIR)/opcodes && \
5251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5253 "RANLIB=$${RANLIB}" \
5254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5255 TAGS) \
5256 || exit 1
5258 @endif opcodes
5260 .PHONY: maybe-install-info-opcodes install-info-opcodes
5261 maybe-install-info-opcodes:
5262 @if opcodes
5263 maybe-install-info-opcodes: install-info-opcodes
5265 install-info-opcodes: \
5266 configure-opcodes \
5267 info-opcodes
5268 @[ -f ./opcodes/Makefile ] || exit 0; \
5269 r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5271 $(HOST_EXPORTS) \
5272 for flag in $(EXTRA_HOST_FLAGS) ; do \
5273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5274 done; \
5275 echo "Doing install-info in opcodes" ; \
5276 (cd $(HOST_SUBDIR)/opcodes && \
5277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5279 "RANLIB=$${RANLIB}" \
5280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5281 install-info) \
5282 || exit 1
5284 @endif opcodes
5286 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5287 maybe-installcheck-opcodes:
5288 @if opcodes
5289 maybe-installcheck-opcodes: installcheck-opcodes
5291 installcheck-opcodes: \
5292 configure-opcodes
5293 @[ -f ./opcodes/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 $(HOST_EXPORTS) \
5297 for flag in $(EXTRA_HOST_FLAGS) ; do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5299 done; \
5300 echo "Doing installcheck in opcodes" ; \
5301 (cd $(HOST_SUBDIR)/opcodes && \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304 "RANLIB=$${RANLIB}" \
5305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5306 installcheck) \
5307 || exit 1
5309 @endif opcodes
5311 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5312 maybe-mostlyclean-opcodes:
5313 @if opcodes
5314 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5316 mostlyclean-opcodes:
5317 @[ -f ./opcodes/Makefile ] || exit 0; \
5318 r=`${PWD_COMMAND}`; export r; \
5319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320 $(HOST_EXPORTS) \
5321 for flag in $(EXTRA_HOST_FLAGS) ; do \
5322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5323 done; \
5324 echo "Doing mostlyclean in opcodes" ; \
5325 (cd $(HOST_SUBDIR)/opcodes && \
5326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5328 "RANLIB=$${RANLIB}" \
5329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5330 mostlyclean) \
5331 || exit 1
5333 @endif opcodes
5335 .PHONY: maybe-clean-opcodes clean-opcodes
5336 maybe-clean-opcodes:
5337 @if opcodes
5338 maybe-clean-opcodes: clean-opcodes
5340 clean-opcodes:
5341 @[ -f ./opcodes/Makefile ] || exit 0; \
5342 r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5344 $(HOST_EXPORTS) \
5345 for flag in $(EXTRA_HOST_FLAGS) ; do \
5346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5347 done; \
5348 echo "Doing clean in opcodes" ; \
5349 (cd $(HOST_SUBDIR)/opcodes && \
5350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5352 "RANLIB=$${RANLIB}" \
5353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5354 clean) \
5355 || exit 1
5357 @endif opcodes
5359 .PHONY: maybe-distclean-opcodes distclean-opcodes
5360 maybe-distclean-opcodes:
5361 @if opcodes
5362 maybe-distclean-opcodes: distclean-opcodes
5364 distclean-opcodes:
5365 @[ -f ./opcodes/Makefile ] || exit 0; \
5366 r=`${PWD_COMMAND}`; export r; \
5367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5368 $(HOST_EXPORTS) \
5369 for flag in $(EXTRA_HOST_FLAGS) ; do \
5370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5371 done; \
5372 echo "Doing distclean in opcodes" ; \
5373 (cd $(HOST_SUBDIR)/opcodes && \
5374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5376 "RANLIB=$${RANLIB}" \
5377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5378 distclean) \
5379 || exit 1
5381 @endif opcodes
5383 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5384 maybe-maintainer-clean-opcodes:
5385 @if opcodes
5386 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5388 maintainer-clean-opcodes:
5389 @[ -f ./opcodes/Makefile ] || exit 0; \
5390 r=`${PWD_COMMAND}`; export r; \
5391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5392 $(HOST_EXPORTS) \
5393 for flag in $(EXTRA_HOST_FLAGS) ; do \
5394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5395 done; \
5396 echo "Doing maintainer-clean in opcodes" ; \
5397 (cd $(HOST_SUBDIR)/opcodes && \
5398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5400 "RANLIB=$${RANLIB}" \
5401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5402 maintainer-clean) \
5403 || exit 1
5405 @endif opcodes
5409 .PHONY: configure-binutils maybe-configure-binutils
5410 maybe-configure-binutils:
5411 @if binutils
5412 maybe-configure-binutils: configure-binutils
5413 configure-binutils:
5414 @test -f stage_last && exit 0; \
5415 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5417 r=`${PWD_COMMAND}`; export r; \
5418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5419 $(HOST_EXPORTS) \
5420 echo Configuring in $(HOST_SUBDIR)/binutils; \
5421 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5422 case $(srcdir) in \
5423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5424 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5426 esac; \
5427 srcdiroption="--srcdir=$${topdir}/binutils"; \
5428 libsrcdir="$$s/binutils"; \
5429 $(SHELL) $${libsrcdir}/configure \
5430 $(HOST_CONFIGARGS) $${srcdiroption} \
5431 || exit 1
5432 @endif binutils
5436 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5437 maybe-configure-stage1-binutils:
5438 @if binutils-bootstrap
5439 maybe-configure-stage1-binutils: configure-stage1-binutils
5440 configure-stage1-binutils:
5441 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5442 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5443 r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 $(HOST_EXPORTS) \
5446 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5447 cd $(HOST_SUBDIR)/binutils || exit 1; \
5448 case $(srcdir) in \
5449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5450 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5452 esac; \
5453 srcdiroption="--srcdir=$${topdir}/binutils"; \
5454 libsrcdir="$$s/binutils"; \
5455 $(SHELL) $${libsrcdir}/configure \
5456 $(HOST_CONFIGARGS) $${srcdiroption} \
5457 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5458 @endif binutils-bootstrap
5460 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5461 maybe-configure-stage2-binutils:
5462 @if binutils-bootstrap
5463 maybe-configure-stage2-binutils: configure-stage2-binutils
5464 configure-stage2-binutils:
5465 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5466 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 $(HOST_EXPORTS) \
5470 $(POSTSTAGE1_HOST_EXPORTS) \
5471 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5472 cd $(HOST_SUBDIR)/binutils || exit 1; \
5473 case $(srcdir) in \
5474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5475 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5477 esac; \
5478 srcdiroption="--srcdir=$${topdir}/binutils"; \
5479 libsrcdir="$$s/binutils"; \
5480 $(SHELL) $${libsrcdir}/configure \
5481 $(HOST_CONFIGARGS) $${srcdiroption} \
5482 @stage2_werror_flag@
5483 @endif binutils-bootstrap
5485 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5486 maybe-configure-stage3-binutils:
5487 @if binutils-bootstrap
5488 maybe-configure-stage3-binutils: configure-stage3-binutils
5489 configure-stage3-binutils:
5490 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5491 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5492 r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494 $(HOST_EXPORTS) \
5495 $(POSTSTAGE1_HOST_EXPORTS) \
5496 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5497 cd $(HOST_SUBDIR)/binutils || exit 1; \
5498 case $(srcdir) in \
5499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5500 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5502 esac; \
5503 srcdiroption="--srcdir=$${topdir}/binutils"; \
5504 libsrcdir="$$s/binutils"; \
5505 $(SHELL) $${libsrcdir}/configure \
5506 $(HOST_CONFIGARGS) $${srcdiroption} \
5507 @stage2_werror_flag@
5508 @endif binutils-bootstrap
5510 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5511 maybe-configure-stage4-binutils:
5512 @if binutils-bootstrap
5513 maybe-configure-stage4-binutils: configure-stage4-binutils
5514 configure-stage4-binutils:
5515 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5516 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5517 r=`${PWD_COMMAND}`; export r; \
5518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5519 $(HOST_EXPORTS) \
5520 $(POSTSTAGE1_HOST_EXPORTS) \
5521 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5522 cd $(HOST_SUBDIR)/binutils || exit 1; \
5523 case $(srcdir) in \
5524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5525 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5527 esac; \
5528 srcdiroption="--srcdir=$${topdir}/binutils"; \
5529 libsrcdir="$$s/binutils"; \
5530 $(SHELL) $${libsrcdir}/configure \
5531 $(HOST_CONFIGARGS) $${srcdiroption} \
5532 @stage2_werror_flag@
5533 @endif binutils-bootstrap
5535 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5536 maybe-configure-stageprofile-binutils:
5537 @if binutils-bootstrap
5538 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5539 configure-stageprofile-binutils:
5540 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5541 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5542 r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 $(POSTSTAGE1_HOST_EXPORTS) \
5546 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5547 cd $(HOST_SUBDIR)/binutils || exit 1; \
5548 case $(srcdir) in \
5549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5550 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5552 esac; \
5553 srcdiroption="--srcdir=$${topdir}/binutils"; \
5554 libsrcdir="$$s/binutils"; \
5555 $(SHELL) $${libsrcdir}/configure \
5556 $(HOST_CONFIGARGS) $${srcdiroption} \
5557 @stage2_werror_flag@
5558 @endif binutils-bootstrap
5560 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5561 maybe-configure-stagefeedback-binutils:
5562 @if binutils-bootstrap
5563 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5564 configure-stagefeedback-binutils:
5565 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5566 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5567 r=`${PWD_COMMAND}`; export r; \
5568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5569 $(HOST_EXPORTS) \
5570 $(POSTSTAGE1_HOST_EXPORTS) \
5571 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5572 cd $(HOST_SUBDIR)/binutils || exit 1; \
5573 case $(srcdir) in \
5574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5575 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5577 esac; \
5578 srcdiroption="--srcdir=$${topdir}/binutils"; \
5579 libsrcdir="$$s/binutils"; \
5580 $(SHELL) $${libsrcdir}/configure \
5581 $(HOST_CONFIGARGS) $${srcdiroption} \
5582 @stage2_werror_flag@
5583 @endif binutils-bootstrap
5589 .PHONY: all-binutils maybe-all-binutils
5590 maybe-all-binutils:
5591 @if binutils
5592 TARGET-binutils=all
5593 maybe-all-binutils: all-binutils
5594 all-binutils: configure-binutils
5595 @test -f stage_last && exit 0; \
5596 r=`${PWD_COMMAND}`; export r; \
5597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5598 $(HOST_EXPORTS) \
5599 (cd $(HOST_SUBDIR)/binutils && \
5600 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5601 @endif binutils
5605 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5606 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5607 maybe-all-stage1-binutils:
5608 maybe-clean-stage1-binutils:
5609 @if binutils-bootstrap
5610 maybe-all-stage1-binutils: all-stage1-binutils
5611 all-stage1: all-stage1-binutils
5612 TARGET-stage1-binutils = $(TARGET-binutils)
5613 all-stage1-binutils: configure-stage1-binutils
5614 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5615 @r=`${PWD_COMMAND}`; export r; \
5616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5617 $(HOST_EXPORTS) \
5618 cd $(HOST_SUBDIR)/binutils && \
5619 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5620 $(TARGET-stage1-binutils)
5622 maybe-clean-stage1-binutils: clean-stage1-binutils
5623 clean-stage1: clean-stage1-binutils
5624 clean-stage1-binutils:
5625 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5626 || exit 0 ; \
5627 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5628 cd $(HOST_SUBDIR)/binutils && \
5629 $(MAKE) $(FLAGS_TO_PASS) \
5630 CFLAGS="$(STAGE1_CFLAGS)" clean
5631 @endif binutils-bootstrap
5634 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5635 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5636 maybe-all-stage2-binutils:
5637 maybe-clean-stage2-binutils:
5638 @if binutils-bootstrap
5639 maybe-all-stage2-binutils: all-stage2-binutils
5640 all-stage2: all-stage2-binutils
5641 TARGET-stage2-binutils = $(TARGET-binutils)
5642 all-stage2-binutils: configure-stage2-binutils
5643 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5644 @r=`${PWD_COMMAND}`; export r; \
5645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5646 $(HOST_EXPORTS) \
5647 $(POSTSTAGE1_HOST_EXPORTS) \
5648 cd $(HOST_SUBDIR)/binutils && \
5649 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5650 $(TARGET-stage2-binutils)
5652 maybe-clean-stage2-binutils: clean-stage2-binutils
5653 clean-stage2: clean-stage2-binutils
5654 clean-stage2-binutils:
5655 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5656 || exit 0 ; \
5657 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5658 cd $(HOST_SUBDIR)/binutils && \
5659 $(MAKE) $(FLAGS_TO_PASS) \
5660 $(POSTSTAGE1_FLAGS_TO_PASS) \
5661 clean
5662 @endif binutils-bootstrap
5665 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5666 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5667 maybe-all-stage3-binutils:
5668 maybe-clean-stage3-binutils:
5669 @if binutils-bootstrap
5670 maybe-all-stage3-binutils: all-stage3-binutils
5671 all-stage3: all-stage3-binutils
5672 TARGET-stage3-binutils = $(TARGET-binutils)
5673 all-stage3-binutils: configure-stage3-binutils
5674 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5675 @r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 $(POSTSTAGE1_HOST_EXPORTS) \
5679 cd $(HOST_SUBDIR)/binutils && \
5680 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5681 $(TARGET-stage3-binutils)
5683 maybe-clean-stage3-binutils: clean-stage3-binutils
5684 clean-stage3: clean-stage3-binutils
5685 clean-stage3-binutils:
5686 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5687 || exit 0 ; \
5688 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5689 cd $(HOST_SUBDIR)/binutils && \
5690 $(MAKE) $(FLAGS_TO_PASS) \
5691 $(POSTSTAGE1_FLAGS_TO_PASS) \
5692 clean
5693 @endif binutils-bootstrap
5696 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5697 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5698 maybe-all-stage4-binutils:
5699 maybe-clean-stage4-binutils:
5700 @if binutils-bootstrap
5701 maybe-all-stage4-binutils: all-stage4-binutils
5702 all-stage4: all-stage4-binutils
5703 TARGET-stage4-binutils = $(TARGET-binutils)
5704 all-stage4-binutils: configure-stage4-binutils
5705 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5706 @r=`${PWD_COMMAND}`; export r; \
5707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5708 $(HOST_EXPORTS) \
5709 $(POSTSTAGE1_HOST_EXPORTS) \
5710 cd $(HOST_SUBDIR)/binutils && \
5711 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5712 $(TARGET-stage4-binutils)
5714 maybe-clean-stage4-binutils: clean-stage4-binutils
5715 clean-stage4: clean-stage4-binutils
5716 clean-stage4-binutils:
5717 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5718 || exit 0 ; \
5719 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5720 cd $(HOST_SUBDIR)/binutils && \
5721 $(MAKE) $(FLAGS_TO_PASS) \
5722 $(POSTSTAGE1_FLAGS_TO_PASS) \
5723 clean
5724 @endif binutils-bootstrap
5727 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5728 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5729 maybe-all-stageprofile-binutils:
5730 maybe-clean-stageprofile-binutils:
5731 @if binutils-bootstrap
5732 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5733 all-stageprofile: all-stageprofile-binutils
5734 TARGET-stageprofile-binutils = $(TARGET-binutils)
5735 all-stageprofile-binutils: configure-stageprofile-binutils
5736 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5737 @r=`${PWD_COMMAND}`; export r; \
5738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5739 $(HOST_EXPORTS) \
5740 $(POSTSTAGE1_HOST_EXPORTS) \
5741 cd $(HOST_SUBDIR)/binutils && \
5742 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5743 $(TARGET-stageprofile-binutils)
5745 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5746 clean-stageprofile: clean-stageprofile-binutils
5747 clean-stageprofile-binutils:
5748 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5749 || exit 0 ; \
5750 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5751 cd $(HOST_SUBDIR)/binutils && \
5752 $(MAKE) $(FLAGS_TO_PASS) \
5753 $(POSTSTAGE1_FLAGS_TO_PASS) \
5754 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5755 @endif binutils-bootstrap
5758 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5759 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5760 maybe-all-stagefeedback-binutils:
5761 maybe-clean-stagefeedback-binutils:
5762 @if binutils-bootstrap
5763 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5764 all-stagefeedback: all-stagefeedback-binutils
5765 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5766 all-stagefeedback-binutils: configure-stagefeedback-binutils
5767 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5768 @r=`${PWD_COMMAND}`; export r; \
5769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5770 $(HOST_EXPORTS) \
5771 $(POSTSTAGE1_HOST_EXPORTS) \
5772 cd $(HOST_SUBDIR)/binutils && \
5773 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5774 $(TARGET-stagefeedback-binutils)
5776 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5777 clean-stagefeedback: clean-stagefeedback-binutils
5778 clean-stagefeedback-binutils:
5779 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5780 || exit 0 ; \
5781 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5782 cd $(HOST_SUBDIR)/binutils && \
5783 $(MAKE) $(FLAGS_TO_PASS) \
5784 $(POSTSTAGE1_FLAGS_TO_PASS) \
5785 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5786 @endif binutils-bootstrap
5792 .PHONY: check-binutils maybe-check-binutils
5793 maybe-check-binutils:
5794 @if binutils
5795 maybe-check-binutils: check-binutils
5797 check-binutils:
5798 @$(unstage)
5799 @r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 $(HOST_EXPORTS) \
5802 (cd $(HOST_SUBDIR)/binutils && \
5803 $(MAKE) $(FLAGS_TO_PASS) check)
5805 @endif binutils
5807 .PHONY: install-binutils maybe-install-binutils
5808 maybe-install-binutils:
5809 @if binutils
5810 maybe-install-binutils: install-binutils
5812 install-binutils: installdirs
5813 @$(unstage)
5814 @r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5816 $(HOST_EXPORTS) \
5817 (cd $(HOST_SUBDIR)/binutils && \
5818 $(MAKE) $(FLAGS_TO_PASS) install)
5820 @endif binutils
5822 # Other targets (info, dvi, etc.)
5824 .PHONY: maybe-info-binutils info-binutils
5825 maybe-info-binutils:
5826 @if binutils
5827 maybe-info-binutils: info-binutils
5829 info-binutils: \
5830 configure-binutils
5831 @[ -f ./binutils/Makefile ] || exit 0; \
5832 r=`${PWD_COMMAND}`; export r; \
5833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5834 $(HOST_EXPORTS) \
5835 for flag in $(EXTRA_HOST_FLAGS) ; do \
5836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5837 done; \
5838 echo "Doing info in binutils" ; \
5839 (cd $(HOST_SUBDIR)/binutils && \
5840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5842 "RANLIB=$${RANLIB}" \
5843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5844 info) \
5845 || exit 1
5847 @endif binutils
5849 .PHONY: maybe-dvi-binutils dvi-binutils
5850 maybe-dvi-binutils:
5851 @if binutils
5852 maybe-dvi-binutils: dvi-binutils
5854 dvi-binutils: \
5855 configure-binutils
5856 @[ -f ./binutils/Makefile ] || exit 0; \
5857 r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859 $(HOST_EXPORTS) \
5860 for flag in $(EXTRA_HOST_FLAGS) ; do \
5861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5862 done; \
5863 echo "Doing dvi in binutils" ; \
5864 (cd $(HOST_SUBDIR)/binutils && \
5865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5867 "RANLIB=$${RANLIB}" \
5868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5869 dvi) \
5870 || exit 1
5872 @endif binutils
5874 .PHONY: maybe-html-binutils html-binutils
5875 maybe-html-binutils:
5876 @if binutils
5877 maybe-html-binutils: html-binutils
5879 html-binutils: \
5880 configure-binutils
5881 @[ -f ./binutils/Makefile ] || exit 0; \
5882 r=`${PWD_COMMAND}`; export r; \
5883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5884 $(HOST_EXPORTS) \
5885 for flag in $(EXTRA_HOST_FLAGS) ; do \
5886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5887 done; \
5888 echo "Doing html in binutils" ; \
5889 (cd $(HOST_SUBDIR)/binutils && \
5890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5892 "RANLIB=$${RANLIB}" \
5893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5894 html) \
5895 || exit 1
5897 @endif binutils
5899 .PHONY: maybe-TAGS-binutils TAGS-binutils
5900 maybe-TAGS-binutils:
5901 @if binutils
5902 maybe-TAGS-binutils: TAGS-binutils
5904 TAGS-binutils: \
5905 configure-binutils
5906 @[ -f ./binutils/Makefile ] || exit 0; \
5907 r=`${PWD_COMMAND}`; export r; \
5908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5909 $(HOST_EXPORTS) \
5910 for flag in $(EXTRA_HOST_FLAGS) ; do \
5911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5912 done; \
5913 echo "Doing TAGS in binutils" ; \
5914 (cd $(HOST_SUBDIR)/binutils && \
5915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5917 "RANLIB=$${RANLIB}" \
5918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5919 TAGS) \
5920 || exit 1
5922 @endif binutils
5924 .PHONY: maybe-install-info-binutils install-info-binutils
5925 maybe-install-info-binutils:
5926 @if binutils
5927 maybe-install-info-binutils: install-info-binutils
5929 install-info-binutils: \
5930 configure-binutils \
5931 info-binutils
5932 @[ -f ./binutils/Makefile ] || exit 0; \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 $(HOST_EXPORTS) \
5936 for flag in $(EXTRA_HOST_FLAGS) ; do \
5937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5938 done; \
5939 echo "Doing install-info in binutils" ; \
5940 (cd $(HOST_SUBDIR)/binutils && \
5941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5943 "RANLIB=$${RANLIB}" \
5944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5945 install-info) \
5946 || exit 1
5948 @endif binutils
5950 .PHONY: maybe-installcheck-binutils installcheck-binutils
5951 maybe-installcheck-binutils:
5952 @if binutils
5953 maybe-installcheck-binutils: installcheck-binutils
5955 installcheck-binutils: \
5956 configure-binutils
5957 @[ -f ./binutils/Makefile ] || exit 0; \
5958 r=`${PWD_COMMAND}`; export r; \
5959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5960 $(HOST_EXPORTS) \
5961 for flag in $(EXTRA_HOST_FLAGS) ; do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5963 done; \
5964 echo "Doing installcheck in binutils" ; \
5965 (cd $(HOST_SUBDIR)/binutils && \
5966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968 "RANLIB=$${RANLIB}" \
5969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5970 installcheck) \
5971 || exit 1
5973 @endif binutils
5975 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5976 maybe-mostlyclean-binutils:
5977 @if binutils
5978 maybe-mostlyclean-binutils: mostlyclean-binutils
5980 mostlyclean-binutils:
5981 @[ -f ./binutils/Makefile ] || exit 0; \
5982 r=`${PWD_COMMAND}`; export r; \
5983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5984 $(HOST_EXPORTS) \
5985 for flag in $(EXTRA_HOST_FLAGS) ; do \
5986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5987 done; \
5988 echo "Doing mostlyclean in binutils" ; \
5989 (cd $(HOST_SUBDIR)/binutils && \
5990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5992 "RANLIB=$${RANLIB}" \
5993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5994 mostlyclean) \
5995 || exit 1
5997 @endif binutils
5999 .PHONY: maybe-clean-binutils clean-binutils
6000 maybe-clean-binutils:
6001 @if binutils
6002 maybe-clean-binutils: clean-binutils
6004 clean-binutils:
6005 @[ -f ./binutils/Makefile ] || exit 0; \
6006 r=`${PWD_COMMAND}`; export r; \
6007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6008 $(HOST_EXPORTS) \
6009 for flag in $(EXTRA_HOST_FLAGS) ; do \
6010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6011 done; \
6012 echo "Doing clean in binutils" ; \
6013 (cd $(HOST_SUBDIR)/binutils && \
6014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6016 "RANLIB=$${RANLIB}" \
6017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6018 clean) \
6019 || exit 1
6021 @endif binutils
6023 .PHONY: maybe-distclean-binutils distclean-binutils
6024 maybe-distclean-binutils:
6025 @if binutils
6026 maybe-distclean-binutils: distclean-binutils
6028 distclean-binutils:
6029 @[ -f ./binutils/Makefile ] || exit 0; \
6030 r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032 $(HOST_EXPORTS) \
6033 for flag in $(EXTRA_HOST_FLAGS) ; do \
6034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6035 done; \
6036 echo "Doing distclean in binutils" ; \
6037 (cd $(HOST_SUBDIR)/binutils && \
6038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6040 "RANLIB=$${RANLIB}" \
6041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6042 distclean) \
6043 || exit 1
6045 @endif binutils
6047 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6048 maybe-maintainer-clean-binutils:
6049 @if binutils
6050 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6052 maintainer-clean-binutils:
6053 @[ -f ./binutils/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 maintainer-clean in binutils" ; \
6061 (cd $(HOST_SUBDIR)/binutils && \
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 maintainer-clean) \
6067 || exit 1
6069 @endif binutils
6073 .PHONY: configure-bison maybe-configure-bison
6074 maybe-configure-bison:
6075 @if bison
6076 maybe-configure-bison: configure-bison
6077 configure-bison:
6078 @$(unstage)
6079 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6081 r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 $(HOST_EXPORTS) \
6084 echo Configuring in $(HOST_SUBDIR)/bison; \
6085 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6086 case $(srcdir) in \
6087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6088 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6090 esac; \
6091 srcdiroption="--srcdir=$${topdir}/bison"; \
6092 libsrcdir="$$s/bison"; \
6093 $(SHELL) $${libsrcdir}/configure \
6094 $(HOST_CONFIGARGS) $${srcdiroption} \
6095 || exit 1
6096 @endif bison
6102 .PHONY: all-bison maybe-all-bison
6103 maybe-all-bison:
6104 @if bison
6105 TARGET-bison=all
6106 maybe-all-bison: all-bison
6107 all-bison: configure-bison
6108 @$(unstage)
6109 @r=`${PWD_COMMAND}`; export r; \
6110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6111 $(HOST_EXPORTS) \
6112 (cd $(HOST_SUBDIR)/bison && \
6113 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6114 @endif bison
6119 .PHONY: check-bison maybe-check-bison
6120 maybe-check-bison:
6121 @if bison
6122 maybe-check-bison: check-bison
6124 # This module is only tested in a native toolchain.
6125 check-bison:
6126 @$(unstage)
6127 @if [ '$(host)' = '$(target)' ] ; then \
6128 r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6130 $(HOST_EXPORTS) \
6131 (cd $(HOST_SUBDIR)/bison && \
6132 $(MAKE) $(FLAGS_TO_PASS) check); \
6135 @endif bison
6137 .PHONY: install-bison maybe-install-bison
6138 maybe-install-bison:
6139 @if bison
6140 maybe-install-bison: install-bison
6142 install-bison: installdirs
6143 @$(unstage)
6144 @r=`${PWD_COMMAND}`; export r; \
6145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6146 $(HOST_EXPORTS) \
6147 (cd $(HOST_SUBDIR)/bison && \
6148 $(MAKE) $(FLAGS_TO_PASS) install)
6150 @endif bison
6152 # Other targets (info, dvi, etc.)
6154 .PHONY: maybe-info-bison info-bison
6155 maybe-info-bison:
6156 @if bison
6157 maybe-info-bison: info-bison
6159 info-bison: \
6160 configure-bison
6161 @$(unstage)
6162 @[ -f ./bison/Makefile ] || exit 0; \
6163 r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6165 $(HOST_EXPORTS) \
6166 for flag in $(EXTRA_HOST_FLAGS) ; do \
6167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6168 done; \
6169 echo "Doing info in bison" ; \
6170 (cd $(HOST_SUBDIR)/bison && \
6171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6173 "RANLIB=$${RANLIB}" \
6174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6175 info) \
6176 || exit 1
6178 @endif bison
6180 .PHONY: maybe-dvi-bison dvi-bison
6181 maybe-dvi-bison:
6182 @if bison
6183 maybe-dvi-bison: dvi-bison
6185 dvi-bison: \
6186 configure-bison
6187 @$(unstage)
6188 @[ -f ./bison/Makefile ] || exit 0; \
6189 r=`${PWD_COMMAND}`; export r; \
6190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6191 $(HOST_EXPORTS) \
6192 for flag in $(EXTRA_HOST_FLAGS) ; do \
6193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6194 done; \
6195 echo "Doing dvi in bison" ; \
6196 (cd $(HOST_SUBDIR)/bison && \
6197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6199 "RANLIB=$${RANLIB}" \
6200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6201 dvi) \
6202 || exit 1
6204 @endif bison
6206 .PHONY: maybe-html-bison html-bison
6207 maybe-html-bison:
6208 @if bison
6209 maybe-html-bison: html-bison
6211 html-bison: \
6212 configure-bison
6213 @$(unstage)
6214 @[ -f ./bison/Makefile ] || exit 0; \
6215 r=`${PWD_COMMAND}`; export r; \
6216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6217 $(HOST_EXPORTS) \
6218 for flag in $(EXTRA_HOST_FLAGS) ; do \
6219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6220 done; \
6221 echo "Doing html in bison" ; \
6222 (cd $(HOST_SUBDIR)/bison && \
6223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6225 "RANLIB=$${RANLIB}" \
6226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6227 html) \
6228 || exit 1
6230 @endif bison
6232 .PHONY: maybe-TAGS-bison TAGS-bison
6233 maybe-TAGS-bison:
6234 @if bison
6235 maybe-TAGS-bison: TAGS-bison
6237 TAGS-bison: \
6238 configure-bison
6239 @$(unstage)
6240 @[ -f ./bison/Makefile ] || exit 0; \
6241 r=`${PWD_COMMAND}`; export r; \
6242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6243 $(HOST_EXPORTS) \
6244 for flag in $(EXTRA_HOST_FLAGS) ; do \
6245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6246 done; \
6247 echo "Doing TAGS in bison" ; \
6248 (cd $(HOST_SUBDIR)/bison && \
6249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6251 "RANLIB=$${RANLIB}" \
6252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6253 TAGS) \
6254 || exit 1
6256 @endif bison
6258 .PHONY: maybe-install-info-bison install-info-bison
6259 maybe-install-info-bison:
6260 @if bison
6261 maybe-install-info-bison: install-info-bison
6263 install-info-bison: \
6264 configure-bison \
6265 info-bison
6266 @$(unstage)
6267 @[ -f ./bison/Makefile ] || exit 0; \
6268 r=`${PWD_COMMAND}`; export r; \
6269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6270 $(HOST_EXPORTS) \
6271 for flag in $(EXTRA_HOST_FLAGS) ; do \
6272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6273 done; \
6274 echo "Doing install-info in bison" ; \
6275 (cd $(HOST_SUBDIR)/bison && \
6276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6278 "RANLIB=$${RANLIB}" \
6279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6280 install-info) \
6281 || exit 1
6283 @endif bison
6285 .PHONY: maybe-installcheck-bison installcheck-bison
6286 maybe-installcheck-bison:
6287 @if bison
6288 maybe-installcheck-bison: installcheck-bison
6290 installcheck-bison: \
6291 configure-bison
6292 @$(unstage)
6293 @[ -f ./bison/Makefile ] || exit 0; \
6294 r=`${PWD_COMMAND}`; export r; \
6295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6296 $(HOST_EXPORTS) \
6297 for flag in $(EXTRA_HOST_FLAGS) ; do \
6298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6299 done; \
6300 echo "Doing installcheck in bison" ; \
6301 (cd $(HOST_SUBDIR)/bison && \
6302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6304 "RANLIB=$${RANLIB}" \
6305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6306 installcheck) \
6307 || exit 1
6309 @endif bison
6311 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6312 maybe-mostlyclean-bison:
6313 @if bison
6314 maybe-mostlyclean-bison: mostlyclean-bison
6316 mostlyclean-bison:
6317 @$(unstage)
6318 @[ -f ./bison/Makefile ] || exit 0; \
6319 r=`${PWD_COMMAND}`; export r; \
6320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6321 $(HOST_EXPORTS) \
6322 for flag in $(EXTRA_HOST_FLAGS) ; do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6324 done; \
6325 echo "Doing mostlyclean in bison" ; \
6326 (cd $(HOST_SUBDIR)/bison && \
6327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6329 "RANLIB=$${RANLIB}" \
6330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6331 mostlyclean) \
6332 || exit 1
6334 @endif bison
6336 .PHONY: maybe-clean-bison clean-bison
6337 maybe-clean-bison:
6338 @if bison
6339 maybe-clean-bison: clean-bison
6341 clean-bison:
6342 @$(unstage)
6343 @[ -f ./bison/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing clean in bison" ; \
6351 (cd $(HOST_SUBDIR)/bison && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6356 clean) \
6357 || exit 1
6359 @endif bison
6361 .PHONY: maybe-distclean-bison distclean-bison
6362 maybe-distclean-bison:
6363 @if bison
6364 maybe-distclean-bison: distclean-bison
6366 distclean-bison:
6367 @$(unstage)
6368 @[ -f ./bison/Makefile ] || exit 0; \
6369 r=`${PWD_COMMAND}`; export r; \
6370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6371 $(HOST_EXPORTS) \
6372 for flag in $(EXTRA_HOST_FLAGS) ; do \
6373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6374 done; \
6375 echo "Doing distclean in bison" ; \
6376 (cd $(HOST_SUBDIR)/bison && \
6377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6379 "RANLIB=$${RANLIB}" \
6380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6381 distclean) \
6382 || exit 1
6384 @endif bison
6386 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6387 maybe-maintainer-clean-bison:
6388 @if bison
6389 maybe-maintainer-clean-bison: maintainer-clean-bison
6391 maintainer-clean-bison:
6392 @$(unstage)
6393 @[ -f ./bison/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 maintainer-clean in bison" ; \
6401 (cd $(HOST_SUBDIR)/bison && \
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 maintainer-clean) \
6407 || exit 1
6409 @endif bison
6413 .PHONY: configure-byacc maybe-configure-byacc
6414 maybe-configure-byacc:
6415 @if byacc
6416 maybe-configure-byacc: configure-byacc
6417 configure-byacc:
6418 @$(unstage)
6419 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6421 r=`${PWD_COMMAND}`; export r; \
6422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6423 $(HOST_EXPORTS) \
6424 echo Configuring in $(HOST_SUBDIR)/byacc; \
6425 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6426 case $(srcdir) in \
6427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6428 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6430 esac; \
6431 srcdiroption="--srcdir=$${topdir}/byacc"; \
6432 libsrcdir="$$s/byacc"; \
6433 $(SHELL) $${libsrcdir}/configure \
6434 $(HOST_CONFIGARGS) $${srcdiroption} \
6435 || exit 1
6436 @endif byacc
6442 .PHONY: all-byacc maybe-all-byacc
6443 maybe-all-byacc:
6444 @if byacc
6445 TARGET-byacc=all
6446 maybe-all-byacc: all-byacc
6447 all-byacc: configure-byacc
6448 @$(unstage)
6449 @r=`${PWD_COMMAND}`; export r; \
6450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6451 $(HOST_EXPORTS) \
6452 (cd $(HOST_SUBDIR)/byacc && \
6453 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6454 @endif byacc
6459 .PHONY: check-byacc maybe-check-byacc
6460 maybe-check-byacc:
6461 @if byacc
6462 maybe-check-byacc: check-byacc
6464 # This module is only tested in a native toolchain.
6465 check-byacc:
6466 @$(unstage)
6467 @if [ '$(host)' = '$(target)' ] ; then \
6468 r=`${PWD_COMMAND}`; export r; \
6469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6470 $(HOST_EXPORTS) \
6471 (cd $(HOST_SUBDIR)/byacc && \
6472 $(MAKE) $(FLAGS_TO_PASS) check); \
6475 @endif byacc
6477 .PHONY: install-byacc maybe-install-byacc
6478 maybe-install-byacc:
6479 @if byacc
6480 maybe-install-byacc: install-byacc
6482 install-byacc: installdirs
6483 @$(unstage)
6484 @r=`${PWD_COMMAND}`; export r; \
6485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6486 $(HOST_EXPORTS) \
6487 (cd $(HOST_SUBDIR)/byacc && \
6488 $(MAKE) $(FLAGS_TO_PASS) install)
6490 @endif byacc
6492 # Other targets (info, dvi, etc.)
6494 .PHONY: maybe-info-byacc info-byacc
6495 maybe-info-byacc:
6496 @if byacc
6497 maybe-info-byacc: info-byacc
6499 info-byacc: \
6500 configure-byacc
6501 @$(unstage)
6502 @[ -f ./byacc/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(HOST_EXPORTS) \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6508 done; \
6509 echo "Doing info in byacc" ; \
6510 (cd $(HOST_SUBDIR)/byacc && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6515 info) \
6516 || exit 1
6518 @endif byacc
6520 .PHONY: maybe-dvi-byacc dvi-byacc
6521 maybe-dvi-byacc:
6522 @if byacc
6523 maybe-dvi-byacc: dvi-byacc
6525 dvi-byacc: \
6526 configure-byacc
6527 @$(unstage)
6528 @[ -f ./byacc/Makefile ] || exit 0; \
6529 r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(HOST_EXPORTS) \
6532 for flag in $(EXTRA_HOST_FLAGS) ; do \
6533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6534 done; \
6535 echo "Doing dvi in byacc" ; \
6536 (cd $(HOST_SUBDIR)/byacc && \
6537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6539 "RANLIB=$${RANLIB}" \
6540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6541 dvi) \
6542 || exit 1
6544 @endif byacc
6546 .PHONY: maybe-html-byacc html-byacc
6547 maybe-html-byacc:
6548 @if byacc
6549 maybe-html-byacc: html-byacc
6551 html-byacc: \
6552 configure-byacc
6553 @$(unstage)
6554 @[ -f ./byacc/Makefile ] || exit 0; \
6555 r=`${PWD_COMMAND}`; export r; \
6556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 $(HOST_EXPORTS) \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560 done; \
6561 echo "Doing html in byacc" ; \
6562 (cd $(HOST_SUBDIR)/byacc && \
6563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565 "RANLIB=$${RANLIB}" \
6566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6567 html) \
6568 || exit 1
6570 @endif byacc
6572 .PHONY: maybe-TAGS-byacc TAGS-byacc
6573 maybe-TAGS-byacc:
6574 @if byacc
6575 maybe-TAGS-byacc: TAGS-byacc
6577 TAGS-byacc: \
6578 configure-byacc
6579 @$(unstage)
6580 @[ -f ./byacc/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing TAGS in byacc" ; \
6588 (cd $(HOST_SUBDIR)/byacc && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6593 TAGS) \
6594 || exit 1
6596 @endif byacc
6598 .PHONY: maybe-install-info-byacc install-info-byacc
6599 maybe-install-info-byacc:
6600 @if byacc
6601 maybe-install-info-byacc: install-info-byacc
6603 install-info-byacc: \
6604 configure-byacc \
6605 info-byacc
6606 @$(unstage)
6607 @[ -f ./byacc/Makefile ] || exit 0; \
6608 r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 $(HOST_EXPORTS) \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing install-info in byacc" ; \
6615 (cd $(HOST_SUBDIR)/byacc && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6620 install-info) \
6621 || exit 1
6623 @endif byacc
6625 .PHONY: maybe-installcheck-byacc installcheck-byacc
6626 maybe-installcheck-byacc:
6627 @if byacc
6628 maybe-installcheck-byacc: installcheck-byacc
6630 installcheck-byacc: \
6631 configure-byacc
6632 @$(unstage)
6633 @[ -f ./byacc/Makefile ] || exit 0; \
6634 r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 $(HOST_EXPORTS) \
6637 for flag in $(EXTRA_HOST_FLAGS) ; do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639 done; \
6640 echo "Doing installcheck in byacc" ; \
6641 (cd $(HOST_SUBDIR)/byacc && \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6646 installcheck) \
6647 || exit 1
6649 @endif byacc
6651 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6652 maybe-mostlyclean-byacc:
6653 @if byacc
6654 maybe-mostlyclean-byacc: mostlyclean-byacc
6656 mostlyclean-byacc:
6657 @$(unstage)
6658 @[ -f ./byacc/Makefile ] || exit 0; \
6659 r=`${PWD_COMMAND}`; export r; \
6660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661 $(HOST_EXPORTS) \
6662 for flag in $(EXTRA_HOST_FLAGS) ; do \
6663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 done; \
6665 echo "Doing mostlyclean in byacc" ; \
6666 (cd $(HOST_SUBDIR)/byacc && \
6667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6669 "RANLIB=$${RANLIB}" \
6670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6671 mostlyclean) \
6672 || exit 1
6674 @endif byacc
6676 .PHONY: maybe-clean-byacc clean-byacc
6677 maybe-clean-byacc:
6678 @if byacc
6679 maybe-clean-byacc: clean-byacc
6681 clean-byacc:
6682 @$(unstage)
6683 @[ -f ./byacc/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing clean in byacc" ; \
6691 (cd $(HOST_SUBDIR)/byacc && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6696 clean) \
6697 || exit 1
6699 @endif byacc
6701 .PHONY: maybe-distclean-byacc distclean-byacc
6702 maybe-distclean-byacc:
6703 @if byacc
6704 maybe-distclean-byacc: distclean-byacc
6706 distclean-byacc:
6707 @$(unstage)
6708 @[ -f ./byacc/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 $(HOST_EXPORTS) \
6712 for flag in $(EXTRA_HOST_FLAGS) ; do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 done; \
6715 echo "Doing distclean in byacc" ; \
6716 (cd $(HOST_SUBDIR)/byacc && \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6721 distclean) \
6722 || exit 1
6724 @endif byacc
6726 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6727 maybe-maintainer-clean-byacc:
6728 @if byacc
6729 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6731 maintainer-clean-byacc:
6732 @$(unstage)
6733 @[ -f ./byacc/Makefile ] || exit 0; \
6734 r=`${PWD_COMMAND}`; export r; \
6735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6736 $(HOST_EXPORTS) \
6737 for flag in $(EXTRA_HOST_FLAGS) ; do \
6738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6739 done; \
6740 echo "Doing maintainer-clean in byacc" ; \
6741 (cd $(HOST_SUBDIR)/byacc && \
6742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6744 "RANLIB=$${RANLIB}" \
6745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6746 maintainer-clean) \
6747 || exit 1
6749 @endif byacc
6753 .PHONY: configure-bzip2 maybe-configure-bzip2
6754 maybe-configure-bzip2:
6755 @if bzip2
6756 maybe-configure-bzip2: configure-bzip2
6757 configure-bzip2:
6758 @$(unstage)
6759 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6761 r=`${PWD_COMMAND}`; export r; \
6762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6763 $(HOST_EXPORTS) \
6764 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6765 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6766 case $(srcdir) in \
6767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6768 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6770 esac; \
6771 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6772 libsrcdir="$$s/bzip2"; \
6773 $(SHELL) $${libsrcdir}/configure \
6774 $(HOST_CONFIGARGS) $${srcdiroption} \
6775 || exit 1
6776 @endif bzip2
6782 .PHONY: all-bzip2 maybe-all-bzip2
6783 maybe-all-bzip2:
6784 @if bzip2
6785 TARGET-bzip2=all
6786 maybe-all-bzip2: all-bzip2
6787 all-bzip2: configure-bzip2
6788 @$(unstage)
6789 @r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 (cd $(HOST_SUBDIR)/bzip2 && \
6793 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6794 @endif bzip2
6799 .PHONY: check-bzip2 maybe-check-bzip2
6800 maybe-check-bzip2:
6801 @if bzip2
6802 maybe-check-bzip2: check-bzip2
6804 check-bzip2:
6805 @$(unstage)
6806 @r=`${PWD_COMMAND}`; export r; \
6807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6808 $(HOST_EXPORTS) \
6809 (cd $(HOST_SUBDIR)/bzip2 && \
6810 $(MAKE) $(FLAGS_TO_PASS) check)
6812 @endif bzip2
6814 .PHONY: install-bzip2 maybe-install-bzip2
6815 maybe-install-bzip2:
6816 @if bzip2
6817 maybe-install-bzip2: install-bzip2
6819 install-bzip2: installdirs
6820 @$(unstage)
6821 @r=`${PWD_COMMAND}`; export r; \
6822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6823 $(HOST_EXPORTS) \
6824 (cd $(HOST_SUBDIR)/bzip2 && \
6825 $(MAKE) $(FLAGS_TO_PASS) install)
6827 @endif bzip2
6829 # Other targets (info, dvi, etc.)
6831 .PHONY: maybe-info-bzip2 info-bzip2
6832 maybe-info-bzip2:
6833 @if bzip2
6834 maybe-info-bzip2: info-bzip2
6836 info-bzip2: \
6837 configure-bzip2
6838 @$(unstage)
6839 @[ -f ./bzip2/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(HOST_EXPORTS) \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 done; \
6846 echo "Doing info in bzip2" ; \
6847 (cd $(HOST_SUBDIR)/bzip2 && \
6848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6850 "RANLIB=$${RANLIB}" \
6851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6852 info) \
6853 || exit 1
6855 @endif bzip2
6857 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6858 maybe-dvi-bzip2:
6859 @if bzip2
6860 maybe-dvi-bzip2: dvi-bzip2
6862 dvi-bzip2: \
6863 configure-bzip2
6864 @$(unstage)
6865 @[ -f ./bzip2/Makefile ] || exit 0; \
6866 r=`${PWD_COMMAND}`; export r; \
6867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6868 $(HOST_EXPORTS) \
6869 for flag in $(EXTRA_HOST_FLAGS) ; do \
6870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6871 done; \
6872 echo "Doing dvi in bzip2" ; \
6873 (cd $(HOST_SUBDIR)/bzip2 && \
6874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6876 "RANLIB=$${RANLIB}" \
6877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6878 dvi) \
6879 || exit 1
6881 @endif bzip2
6883 .PHONY: maybe-html-bzip2 html-bzip2
6884 maybe-html-bzip2:
6885 @if bzip2
6886 maybe-html-bzip2: html-bzip2
6888 html-bzip2: \
6889 configure-bzip2
6890 @$(unstage)
6891 @[ -f ./bzip2/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 $(HOST_EXPORTS) \
6895 for flag in $(EXTRA_HOST_FLAGS) ; do \
6896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6897 done; \
6898 echo "Doing html in bzip2" ; \
6899 (cd $(HOST_SUBDIR)/bzip2 && \
6900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6902 "RANLIB=$${RANLIB}" \
6903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6904 html) \
6905 || exit 1
6907 @endif bzip2
6909 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6910 maybe-TAGS-bzip2:
6911 @if bzip2
6912 maybe-TAGS-bzip2: TAGS-bzip2
6914 TAGS-bzip2: \
6915 configure-bzip2
6916 @$(unstage)
6917 @[ -f ./bzip2/Makefile ] || exit 0; \
6918 r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 $(HOST_EXPORTS) \
6921 for flag in $(EXTRA_HOST_FLAGS) ; do \
6922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6923 done; \
6924 echo "Doing TAGS in bzip2" ; \
6925 (cd $(HOST_SUBDIR)/bzip2 && \
6926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6928 "RANLIB=$${RANLIB}" \
6929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6930 TAGS) \
6931 || exit 1
6933 @endif bzip2
6935 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6936 maybe-install-info-bzip2:
6937 @if bzip2
6938 maybe-install-info-bzip2: install-info-bzip2
6940 install-info-bzip2: \
6941 configure-bzip2 \
6942 info-bzip2
6943 @$(unstage)
6944 @[ -f ./bzip2/Makefile ] || exit 0; \
6945 r=`${PWD_COMMAND}`; export r; \
6946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6947 $(HOST_EXPORTS) \
6948 for flag in $(EXTRA_HOST_FLAGS) ; do \
6949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6950 done; \
6951 echo "Doing install-info in bzip2" ; \
6952 (cd $(HOST_SUBDIR)/bzip2 && \
6953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6955 "RANLIB=$${RANLIB}" \
6956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6957 install-info) \
6958 || exit 1
6960 @endif bzip2
6962 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6963 maybe-installcheck-bzip2:
6964 @if bzip2
6965 maybe-installcheck-bzip2: installcheck-bzip2
6967 installcheck-bzip2: \
6968 configure-bzip2
6969 @$(unstage)
6970 @[ -f ./bzip2/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing installcheck in bzip2" ; \
6978 (cd $(HOST_SUBDIR)/bzip2 && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6983 installcheck) \
6984 || exit 1
6986 @endif bzip2
6988 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6989 maybe-mostlyclean-bzip2:
6990 @if bzip2
6991 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6993 mostlyclean-bzip2:
6994 @$(unstage)
6995 @[ -f ./bzip2/Makefile ] || exit 0; \
6996 r=`${PWD_COMMAND}`; export r; \
6997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6998 $(HOST_EXPORTS) \
6999 for flag in $(EXTRA_HOST_FLAGS) ; do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7001 done; \
7002 echo "Doing mostlyclean in bzip2" ; \
7003 (cd $(HOST_SUBDIR)/bzip2 && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7006 "RANLIB=$${RANLIB}" \
7007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7008 mostlyclean) \
7009 || exit 1
7011 @endif bzip2
7013 .PHONY: maybe-clean-bzip2 clean-bzip2
7014 maybe-clean-bzip2:
7015 @if bzip2
7016 maybe-clean-bzip2: clean-bzip2
7018 clean-bzip2:
7019 @$(unstage)
7020 @[ -f ./bzip2/Makefile ] || exit 0; \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing clean in bzip2" ; \
7028 (cd $(HOST_SUBDIR)/bzip2 && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7033 clean) \
7034 || exit 1
7036 @endif bzip2
7038 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7039 maybe-distclean-bzip2:
7040 @if bzip2
7041 maybe-distclean-bzip2: distclean-bzip2
7043 distclean-bzip2:
7044 @$(unstage)
7045 @[ -f ./bzip2/Makefile ] || exit 0; \
7046 r=`${PWD_COMMAND}`; export r; \
7047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048 $(HOST_EXPORTS) \
7049 for flag in $(EXTRA_HOST_FLAGS) ; do \
7050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7051 done; \
7052 echo "Doing distclean in bzip2" ; \
7053 (cd $(HOST_SUBDIR)/bzip2 && \
7054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7056 "RANLIB=$${RANLIB}" \
7057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7058 distclean) \
7059 || exit 1
7061 @endif bzip2
7063 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7064 maybe-maintainer-clean-bzip2:
7065 @if bzip2
7066 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7068 maintainer-clean-bzip2:
7069 @$(unstage)
7070 @[ -f ./bzip2/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073 $(HOST_EXPORTS) \
7074 for flag in $(EXTRA_HOST_FLAGS) ; do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7076 done; \
7077 echo "Doing maintainer-clean in bzip2" ; \
7078 (cd $(HOST_SUBDIR)/bzip2 && \
7079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081 "RANLIB=$${RANLIB}" \
7082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7083 maintainer-clean) \
7084 || exit 1
7086 @endif bzip2
7090 .PHONY: configure-dejagnu maybe-configure-dejagnu
7091 maybe-configure-dejagnu:
7092 @if dejagnu
7093 maybe-configure-dejagnu: configure-dejagnu
7094 configure-dejagnu:
7095 @$(unstage)
7096 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7098 r=`${PWD_COMMAND}`; export r; \
7099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100 $(HOST_EXPORTS) \
7101 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7102 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7103 case $(srcdir) in \
7104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7105 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7107 esac; \
7108 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7109 libsrcdir="$$s/dejagnu"; \
7110 $(SHELL) $${libsrcdir}/configure \
7111 $(HOST_CONFIGARGS) $${srcdiroption} \
7112 || exit 1
7113 @endif dejagnu
7119 .PHONY: all-dejagnu maybe-all-dejagnu
7120 maybe-all-dejagnu:
7121 @if dejagnu
7122 TARGET-dejagnu=all
7123 maybe-all-dejagnu: all-dejagnu
7124 all-dejagnu: configure-dejagnu
7125 @$(unstage)
7126 @r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(HOST_EXPORTS) \
7129 (cd $(HOST_SUBDIR)/dejagnu && \
7130 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7131 @endif dejagnu
7136 .PHONY: check-dejagnu maybe-check-dejagnu
7137 maybe-check-dejagnu:
7138 @if dejagnu
7139 maybe-check-dejagnu: check-dejagnu
7141 check-dejagnu:
7142 @$(unstage)
7143 @r=`${PWD_COMMAND}`; export r; \
7144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7145 $(HOST_EXPORTS) \
7146 (cd $(HOST_SUBDIR)/dejagnu && \
7147 $(MAKE) $(FLAGS_TO_PASS) check)
7149 @endif dejagnu
7151 .PHONY: install-dejagnu maybe-install-dejagnu
7152 maybe-install-dejagnu:
7153 @if dejagnu
7154 maybe-install-dejagnu: install-dejagnu
7156 install-dejagnu: installdirs
7157 @$(unstage)
7158 @r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7160 $(HOST_EXPORTS) \
7161 (cd $(HOST_SUBDIR)/dejagnu && \
7162 $(MAKE) $(FLAGS_TO_PASS) install)
7164 @endif dejagnu
7166 # Other targets (info, dvi, etc.)
7168 .PHONY: maybe-info-dejagnu info-dejagnu
7169 maybe-info-dejagnu:
7170 @if dejagnu
7171 maybe-info-dejagnu: info-dejagnu
7173 info-dejagnu: \
7174 configure-dejagnu
7175 @$(unstage)
7176 @[ -f ./dejagnu/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7179 $(HOST_EXPORTS) \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7182 done; \
7183 echo "Doing info in dejagnu" ; \
7184 (cd $(HOST_SUBDIR)/dejagnu && \
7185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7187 "RANLIB=$${RANLIB}" \
7188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7189 info) \
7190 || exit 1
7192 @endif dejagnu
7194 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7195 maybe-dvi-dejagnu:
7196 @if dejagnu
7197 maybe-dvi-dejagnu: dvi-dejagnu
7199 dvi-dejagnu: \
7200 configure-dejagnu
7201 @$(unstage)
7202 @[ -f ./dejagnu/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing dvi in dejagnu" ; \
7210 (cd $(HOST_SUBDIR)/dejagnu && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7215 dvi) \
7216 || exit 1
7218 @endif dejagnu
7220 .PHONY: maybe-html-dejagnu html-dejagnu
7221 maybe-html-dejagnu:
7222 @if dejagnu
7223 maybe-html-dejagnu: html-dejagnu
7225 html-dejagnu: \
7226 configure-dejagnu
7227 @$(unstage)
7228 @[ -f ./dejagnu/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 $(HOST_EXPORTS) \
7232 for flag in $(EXTRA_HOST_FLAGS) ; do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 done; \
7235 echo "Doing html in dejagnu" ; \
7236 (cd $(HOST_SUBDIR)/dejagnu && \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7241 html) \
7242 || exit 1
7244 @endif dejagnu
7246 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7247 maybe-TAGS-dejagnu:
7248 @if dejagnu
7249 maybe-TAGS-dejagnu: TAGS-dejagnu
7251 TAGS-dejagnu: \
7252 configure-dejagnu
7253 @$(unstage)
7254 @[ -f ./dejagnu/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing TAGS in dejagnu" ; \
7262 (cd $(HOST_SUBDIR)/dejagnu && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7267 TAGS) \
7268 || exit 1
7270 @endif dejagnu
7272 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7273 maybe-install-info-dejagnu:
7274 @if dejagnu
7275 maybe-install-info-dejagnu: install-info-dejagnu
7277 install-info-dejagnu: \
7278 configure-dejagnu \
7279 info-dejagnu
7280 @$(unstage)
7281 @[ -f ./dejagnu/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7284 $(HOST_EXPORTS) \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7287 done; \
7288 echo "Doing install-info in dejagnu" ; \
7289 (cd $(HOST_SUBDIR)/dejagnu && \
7290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7292 "RANLIB=$${RANLIB}" \
7293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7294 install-info) \
7295 || exit 1
7297 @endif dejagnu
7299 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7300 maybe-installcheck-dejagnu:
7301 @if dejagnu
7302 maybe-installcheck-dejagnu: installcheck-dejagnu
7304 installcheck-dejagnu: \
7305 configure-dejagnu
7306 @$(unstage)
7307 @[ -f ./dejagnu/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7313 done; \
7314 echo "Doing installcheck in dejagnu" ; \
7315 (cd $(HOST_SUBDIR)/dejagnu && \
7316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7318 "RANLIB=$${RANLIB}" \
7319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7320 installcheck) \
7321 || exit 1
7323 @endif dejagnu
7325 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7326 maybe-mostlyclean-dejagnu:
7327 @if dejagnu
7328 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7330 mostlyclean-dejagnu:
7331 @$(unstage)
7332 @[ -f ./dejagnu/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing mostlyclean in dejagnu" ; \
7340 (cd $(HOST_SUBDIR)/dejagnu && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7345 mostlyclean) \
7346 || exit 1
7348 @endif dejagnu
7350 .PHONY: maybe-clean-dejagnu clean-dejagnu
7351 maybe-clean-dejagnu:
7352 @if dejagnu
7353 maybe-clean-dejagnu: clean-dejagnu
7355 clean-dejagnu:
7356 @$(unstage)
7357 @[ -f ./dejagnu/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing clean in dejagnu" ; \
7365 (cd $(HOST_SUBDIR)/dejagnu && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7370 clean) \
7371 || exit 1
7373 @endif dejagnu
7375 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7376 maybe-distclean-dejagnu:
7377 @if dejagnu
7378 maybe-distclean-dejagnu: distclean-dejagnu
7380 distclean-dejagnu:
7381 @$(unstage)
7382 @[ -f ./dejagnu/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing distclean in dejagnu" ; \
7390 (cd $(HOST_SUBDIR)/dejagnu && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7395 distclean) \
7396 || exit 1
7398 @endif dejagnu
7400 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7401 maybe-maintainer-clean-dejagnu:
7402 @if dejagnu
7403 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7405 maintainer-clean-dejagnu:
7406 @$(unstage)
7407 @[ -f ./dejagnu/Makefile ] || exit 0; \
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 $(HOST_EXPORTS) \
7411 for flag in $(EXTRA_HOST_FLAGS) ; do \
7412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7413 done; \
7414 echo "Doing maintainer-clean in dejagnu" ; \
7415 (cd $(HOST_SUBDIR)/dejagnu && \
7416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7418 "RANLIB=$${RANLIB}" \
7419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7420 maintainer-clean) \
7421 || exit 1
7423 @endif dejagnu
7427 .PHONY: configure-diff maybe-configure-diff
7428 maybe-configure-diff:
7429 @if diff
7430 maybe-configure-diff: configure-diff
7431 configure-diff:
7432 @$(unstage)
7433 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7435 r=`${PWD_COMMAND}`; export r; \
7436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7437 $(HOST_EXPORTS) \
7438 echo Configuring in $(HOST_SUBDIR)/diff; \
7439 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7440 case $(srcdir) in \
7441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7442 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7444 esac; \
7445 srcdiroption="--srcdir=$${topdir}/diff"; \
7446 libsrcdir="$$s/diff"; \
7447 $(SHELL) $${libsrcdir}/configure \
7448 $(HOST_CONFIGARGS) $${srcdiroption} \
7449 || exit 1
7450 @endif diff
7456 .PHONY: all-diff maybe-all-diff
7457 maybe-all-diff:
7458 @if diff
7459 TARGET-diff=all
7460 maybe-all-diff: all-diff
7461 all-diff: configure-diff
7462 @$(unstage)
7463 @r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(HOST_EXPORTS) \
7466 (cd $(HOST_SUBDIR)/diff && \
7467 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7468 @endif diff
7473 .PHONY: check-diff maybe-check-diff
7474 maybe-check-diff:
7475 @if diff
7476 maybe-check-diff: check-diff
7478 check-diff:
7479 @$(unstage)
7480 @r=`${PWD_COMMAND}`; export r; \
7481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7482 $(HOST_EXPORTS) \
7483 (cd $(HOST_SUBDIR)/diff && \
7484 $(MAKE) $(FLAGS_TO_PASS) check)
7486 @endif diff
7488 .PHONY: install-diff maybe-install-diff
7489 maybe-install-diff:
7490 @if diff
7491 maybe-install-diff: install-diff
7493 install-diff: installdirs
7494 @$(unstage)
7495 @r=`${PWD_COMMAND}`; export r; \
7496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7497 $(HOST_EXPORTS) \
7498 (cd $(HOST_SUBDIR)/diff && \
7499 $(MAKE) $(FLAGS_TO_PASS) install)
7501 @endif diff
7503 # Other targets (info, dvi, etc.)
7505 .PHONY: maybe-info-diff info-diff
7506 maybe-info-diff:
7507 @if diff
7508 maybe-info-diff: info-diff
7510 info-diff: \
7511 configure-diff
7512 @$(unstage)
7513 @[ -f ./diff/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing info in diff" ; \
7521 (cd $(HOST_SUBDIR)/diff && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 info) \
7527 || exit 1
7529 @endif diff
7531 .PHONY: maybe-dvi-diff dvi-diff
7532 maybe-dvi-diff:
7533 @if diff
7534 maybe-dvi-diff: dvi-diff
7536 dvi-diff: \
7537 configure-diff
7538 @$(unstage)
7539 @[ -f ./diff/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(HOST_EXPORTS) \
7543 for flag in $(EXTRA_HOST_FLAGS) ; do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7545 done; \
7546 echo "Doing dvi in diff" ; \
7547 (cd $(HOST_SUBDIR)/diff && \
7548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7550 "RANLIB=$${RANLIB}" \
7551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7552 dvi) \
7553 || exit 1
7555 @endif diff
7557 .PHONY: maybe-html-diff html-diff
7558 maybe-html-diff:
7559 @if diff
7560 maybe-html-diff: html-diff
7562 html-diff: \
7563 configure-diff
7564 @$(unstage)
7565 @[ -f ./diff/Makefile ] || exit 0; \
7566 r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7568 $(HOST_EXPORTS) \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7571 done; \
7572 echo "Doing html in diff" ; \
7573 (cd $(HOST_SUBDIR)/diff && \
7574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7576 "RANLIB=$${RANLIB}" \
7577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7578 html) \
7579 || exit 1
7581 @endif diff
7583 .PHONY: maybe-TAGS-diff TAGS-diff
7584 maybe-TAGS-diff:
7585 @if diff
7586 maybe-TAGS-diff: TAGS-diff
7588 TAGS-diff: \
7589 configure-diff
7590 @$(unstage)
7591 @[ -f ./diff/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(HOST_EXPORTS) \
7595 for flag in $(EXTRA_HOST_FLAGS) ; do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7597 done; \
7598 echo "Doing TAGS in diff" ; \
7599 (cd $(HOST_SUBDIR)/diff && \
7600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7602 "RANLIB=$${RANLIB}" \
7603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7604 TAGS) \
7605 || exit 1
7607 @endif diff
7609 .PHONY: maybe-install-info-diff install-info-diff
7610 maybe-install-info-diff:
7611 @if diff
7612 maybe-install-info-diff: install-info-diff
7614 install-info-diff: \
7615 configure-diff \
7616 info-diff
7617 @$(unstage)
7618 @[ -f ./diff/Makefile ] || exit 0; \
7619 r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7621 $(HOST_EXPORTS) \
7622 for flag in $(EXTRA_HOST_FLAGS) ; do \
7623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7624 done; \
7625 echo "Doing install-info in diff" ; \
7626 (cd $(HOST_SUBDIR)/diff && \
7627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7629 "RANLIB=$${RANLIB}" \
7630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7631 install-info) \
7632 || exit 1
7634 @endif diff
7636 .PHONY: maybe-installcheck-diff installcheck-diff
7637 maybe-installcheck-diff:
7638 @if diff
7639 maybe-installcheck-diff: installcheck-diff
7641 installcheck-diff: \
7642 configure-diff
7643 @$(unstage)
7644 @[ -f ./diff/Makefile ] || exit 0; \
7645 r=`${PWD_COMMAND}`; export r; \
7646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7647 $(HOST_EXPORTS) \
7648 for flag in $(EXTRA_HOST_FLAGS) ; do \
7649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7650 done; \
7651 echo "Doing installcheck in diff" ; \
7652 (cd $(HOST_SUBDIR)/diff && \
7653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7655 "RANLIB=$${RANLIB}" \
7656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7657 installcheck) \
7658 || exit 1
7660 @endif diff
7662 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7663 maybe-mostlyclean-diff:
7664 @if diff
7665 maybe-mostlyclean-diff: mostlyclean-diff
7667 mostlyclean-diff:
7668 @$(unstage)
7669 @[ -f ./diff/Makefile ] || exit 0; \
7670 r=`${PWD_COMMAND}`; export r; \
7671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7672 $(HOST_EXPORTS) \
7673 for flag in $(EXTRA_HOST_FLAGS) ; do \
7674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7675 done; \
7676 echo "Doing mostlyclean in diff" ; \
7677 (cd $(HOST_SUBDIR)/diff && \
7678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7680 "RANLIB=$${RANLIB}" \
7681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7682 mostlyclean) \
7683 || exit 1
7685 @endif diff
7687 .PHONY: maybe-clean-diff clean-diff
7688 maybe-clean-diff:
7689 @if diff
7690 maybe-clean-diff: clean-diff
7692 clean-diff:
7693 @$(unstage)
7694 @[ -f ./diff/Makefile ] || exit 0; \
7695 r=`${PWD_COMMAND}`; export r; \
7696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7697 $(HOST_EXPORTS) \
7698 for flag in $(EXTRA_HOST_FLAGS) ; do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7700 done; \
7701 echo "Doing clean in diff" ; \
7702 (cd $(HOST_SUBDIR)/diff && \
7703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7705 "RANLIB=$${RANLIB}" \
7706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7707 clean) \
7708 || exit 1
7710 @endif diff
7712 .PHONY: maybe-distclean-diff distclean-diff
7713 maybe-distclean-diff:
7714 @if diff
7715 maybe-distclean-diff: distclean-diff
7717 distclean-diff:
7718 @$(unstage)
7719 @[ -f ./diff/Makefile ] || exit 0; \
7720 r=`${PWD_COMMAND}`; export r; \
7721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7722 $(HOST_EXPORTS) \
7723 for flag in $(EXTRA_HOST_FLAGS) ; do \
7724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7725 done; \
7726 echo "Doing distclean in diff" ; \
7727 (cd $(HOST_SUBDIR)/diff && \
7728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7730 "RANLIB=$${RANLIB}" \
7731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7732 distclean) \
7733 || exit 1
7735 @endif diff
7737 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7738 maybe-maintainer-clean-diff:
7739 @if diff
7740 maybe-maintainer-clean-diff: maintainer-clean-diff
7742 maintainer-clean-diff:
7743 @$(unstage)
7744 @[ -f ./diff/Makefile ] || exit 0; \
7745 r=`${PWD_COMMAND}`; export r; \
7746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747 $(HOST_EXPORTS) \
7748 for flag in $(EXTRA_HOST_FLAGS) ; do \
7749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7750 done; \
7751 echo "Doing maintainer-clean in diff" ; \
7752 (cd $(HOST_SUBDIR)/diff && \
7753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7755 "RANLIB=$${RANLIB}" \
7756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7757 maintainer-clean) \
7758 || exit 1
7760 @endif diff
7764 .PHONY: configure-dosutils maybe-configure-dosutils
7765 maybe-configure-dosutils:
7766 @if dosutils
7767 maybe-configure-dosutils: configure-dosutils
7768 configure-dosutils:
7769 @$(unstage)
7770 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7772 r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(HOST_EXPORTS) \
7775 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7776 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7777 case $(srcdir) in \
7778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7779 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7781 esac; \
7782 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7783 libsrcdir="$$s/dosutils"; \
7784 $(SHELL) $${libsrcdir}/configure \
7785 $(HOST_CONFIGARGS) $${srcdiroption} \
7786 || exit 1
7787 @endif dosutils
7793 .PHONY: all-dosutils maybe-all-dosutils
7794 maybe-all-dosutils:
7795 @if dosutils
7796 TARGET-dosutils=all
7797 maybe-all-dosutils: all-dosutils
7798 all-dosutils: configure-dosutils
7799 @$(unstage)
7800 @r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7802 $(HOST_EXPORTS) \
7803 (cd $(HOST_SUBDIR)/dosutils && \
7804 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7805 @endif dosutils
7810 .PHONY: check-dosutils maybe-check-dosutils
7811 maybe-check-dosutils:
7812 @if dosutils
7813 maybe-check-dosutils: check-dosutils
7815 check-dosutils:
7817 @endif dosutils
7819 .PHONY: install-dosutils maybe-install-dosutils
7820 maybe-install-dosutils:
7821 @if dosutils
7822 maybe-install-dosutils: install-dosutils
7824 install-dosutils: installdirs
7825 @$(unstage)
7826 @r=`${PWD_COMMAND}`; export r; \
7827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7828 $(HOST_EXPORTS) \
7829 (cd $(HOST_SUBDIR)/dosutils && \
7830 $(MAKE) $(FLAGS_TO_PASS) install)
7832 @endif dosutils
7834 # Other targets (info, dvi, etc.)
7836 .PHONY: maybe-info-dosutils info-dosutils
7837 maybe-info-dosutils:
7838 @if dosutils
7839 maybe-info-dosutils: info-dosutils
7841 info-dosutils: \
7842 configure-dosutils
7843 @$(unstage)
7844 @[ -f ./dosutils/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing info in dosutils" ; \
7852 (cd $(HOST_SUBDIR)/dosutils && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 info) \
7858 || exit 1
7860 @endif dosutils
7862 .PHONY: maybe-dvi-dosutils dvi-dosutils
7863 maybe-dvi-dosutils:
7864 @if dosutils
7865 maybe-dvi-dosutils: dvi-dosutils
7867 dvi-dosutils: \
7868 configure-dosutils
7869 @$(unstage)
7870 @[ -f ./dosutils/Makefile ] || exit 0; \
7871 r=`${PWD_COMMAND}`; export r; \
7872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7873 $(HOST_EXPORTS) \
7874 for flag in $(EXTRA_HOST_FLAGS) ; do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7876 done; \
7877 echo "Doing dvi in dosutils" ; \
7878 (cd $(HOST_SUBDIR)/dosutils && \
7879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7881 "RANLIB=$${RANLIB}" \
7882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7883 dvi) \
7884 || exit 1
7886 @endif dosutils
7888 .PHONY: maybe-html-dosutils html-dosutils
7889 maybe-html-dosutils:
7890 @if dosutils
7891 maybe-html-dosutils: html-dosutils
7893 html-dosutils: \
7894 configure-dosutils
7895 @$(unstage)
7896 @[ -f ./dosutils/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing html in dosutils" ; \
7904 (cd $(HOST_SUBDIR)/dosutils && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7909 html) \
7910 || exit 1
7912 @endif dosutils
7914 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7915 maybe-TAGS-dosutils:
7916 @if dosutils
7917 maybe-TAGS-dosutils: TAGS-dosutils
7919 TAGS-dosutils: \
7920 configure-dosutils
7921 @$(unstage)
7922 @[ -f ./dosutils/Makefile ] || exit 0; \
7923 r=`${PWD_COMMAND}`; export r; \
7924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7925 $(HOST_EXPORTS) \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7928 done; \
7929 echo "Doing TAGS in dosutils" ; \
7930 (cd $(HOST_SUBDIR)/dosutils && \
7931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7933 "RANLIB=$${RANLIB}" \
7934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7935 TAGS) \
7936 || exit 1
7938 @endif dosutils
7940 .PHONY: maybe-install-info-dosutils install-info-dosutils
7941 maybe-install-info-dosutils:
7942 @if dosutils
7943 maybe-install-info-dosutils: install-info-dosutils
7945 install-info-dosutils: \
7946 configure-dosutils \
7947 info-dosutils
7948 @$(unstage)
7949 @[ -f ./dosutils/Makefile ] || exit 0; \
7950 r=`${PWD_COMMAND}`; export r; \
7951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7952 $(HOST_EXPORTS) \
7953 for flag in $(EXTRA_HOST_FLAGS) ; do \
7954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7955 done; \
7956 echo "Doing install-info in dosutils" ; \
7957 (cd $(HOST_SUBDIR)/dosutils && \
7958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7960 "RANLIB=$${RANLIB}" \
7961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7962 install-info) \
7963 || exit 1
7965 @endif dosutils
7967 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7968 maybe-installcheck-dosutils:
7969 @if dosutils
7970 maybe-installcheck-dosutils: installcheck-dosutils
7972 installcheck-dosutils: \
7973 configure-dosutils
7974 @$(unstage)
7975 @[ -f ./dosutils/Makefile ] || exit 0; \
7976 r=`${PWD_COMMAND}`; export r; \
7977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7978 $(HOST_EXPORTS) \
7979 for flag in $(EXTRA_HOST_FLAGS) ; do \
7980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7981 done; \
7982 echo "Doing installcheck in dosutils" ; \
7983 (cd $(HOST_SUBDIR)/dosutils && \
7984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7986 "RANLIB=$${RANLIB}" \
7987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7988 installcheck) \
7989 || exit 1
7991 @endif dosutils
7993 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7994 maybe-mostlyclean-dosutils:
7995 @if dosutils
7996 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7998 mostlyclean-dosutils:
7999 @$(unstage)
8000 @[ -f ./dosutils/Makefile ] || exit 0; \
8001 r=`${PWD_COMMAND}`; export r; \
8002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8003 $(HOST_EXPORTS) \
8004 for flag in $(EXTRA_HOST_FLAGS) ; do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8006 done; \
8007 echo "Doing mostlyclean in dosutils" ; \
8008 (cd $(HOST_SUBDIR)/dosutils && \
8009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8011 "RANLIB=$${RANLIB}" \
8012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8013 mostlyclean) \
8014 || exit 1
8016 @endif dosutils
8018 .PHONY: maybe-clean-dosutils clean-dosutils
8019 maybe-clean-dosutils:
8020 @if dosutils
8021 maybe-clean-dosutils: clean-dosutils
8023 clean-dosutils:
8024 @$(unstage)
8025 @[ -f ./dosutils/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028 $(HOST_EXPORTS) \
8029 for flag in $(EXTRA_HOST_FLAGS) ; do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8031 done; \
8032 echo "Doing clean in dosutils" ; \
8033 (cd $(HOST_SUBDIR)/dosutils && \
8034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036 "RANLIB=$${RANLIB}" \
8037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8038 clean) \
8039 || exit 1
8041 @endif dosutils
8043 .PHONY: maybe-distclean-dosutils distclean-dosutils
8044 maybe-distclean-dosutils:
8045 @if dosutils
8046 maybe-distclean-dosutils: distclean-dosutils
8048 distclean-dosutils:
8049 @$(unstage)
8050 @[ -f ./dosutils/Makefile ] || exit 0; \
8051 r=`${PWD_COMMAND}`; export r; \
8052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8053 $(HOST_EXPORTS) \
8054 for flag in $(EXTRA_HOST_FLAGS) ; do \
8055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8056 done; \
8057 echo "Doing distclean in dosutils" ; \
8058 (cd $(HOST_SUBDIR)/dosutils && \
8059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8061 "RANLIB=$${RANLIB}" \
8062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8063 distclean) \
8064 || exit 1
8066 @endif dosutils
8068 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8069 maybe-maintainer-clean-dosutils:
8070 @if dosutils
8071 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8073 maintainer-clean-dosutils:
8074 @$(unstage)
8075 @[ -f ./dosutils/Makefile ] || exit 0; \
8076 r=`${PWD_COMMAND}`; export r; \
8077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8078 $(HOST_EXPORTS) \
8079 for flag in $(EXTRA_HOST_FLAGS) ; do \
8080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8081 done; \
8082 echo "Doing maintainer-clean in dosutils" ; \
8083 (cd $(HOST_SUBDIR)/dosutils && \
8084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8086 "RANLIB=$${RANLIB}" \
8087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8088 maintainer-clean) \
8089 || exit 1
8091 @endif dosutils
8095 .PHONY: configure-etc maybe-configure-etc
8096 maybe-configure-etc:
8097 @if etc
8098 maybe-configure-etc: configure-etc
8099 configure-etc:
8100 @$(unstage)
8101 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8103 r=`${PWD_COMMAND}`; export r; \
8104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8105 $(HOST_EXPORTS) \
8106 echo Configuring in $(HOST_SUBDIR)/etc; \
8107 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8108 case $(srcdir) in \
8109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8110 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8112 esac; \
8113 srcdiroption="--srcdir=$${topdir}/etc"; \
8114 libsrcdir="$$s/etc"; \
8115 $(SHELL) $${libsrcdir}/configure \
8116 $(HOST_CONFIGARGS) $${srcdiroption} \
8117 || exit 1
8118 @endif etc
8124 .PHONY: all-etc maybe-all-etc
8125 maybe-all-etc:
8126 @if etc
8127 TARGET-etc=all
8128 maybe-all-etc: all-etc
8129 all-etc: configure-etc
8130 @$(unstage)
8131 @r=`${PWD_COMMAND}`; export r; \
8132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8133 $(HOST_EXPORTS) \
8134 (cd $(HOST_SUBDIR)/etc && \
8135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8136 @endif etc
8141 .PHONY: check-etc maybe-check-etc
8142 maybe-check-etc:
8143 @if etc
8144 maybe-check-etc: check-etc
8146 check-etc:
8147 @$(unstage)
8148 @r=`${PWD_COMMAND}`; export r; \
8149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8150 $(HOST_EXPORTS) \
8151 (cd $(HOST_SUBDIR)/etc && \
8152 $(MAKE) $(FLAGS_TO_PASS) check)
8154 @endif etc
8156 .PHONY: install-etc maybe-install-etc
8157 maybe-install-etc:
8158 @if etc
8159 maybe-install-etc: install-etc
8161 install-etc: installdirs
8162 @$(unstage)
8163 @r=`${PWD_COMMAND}`; export r; \
8164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8165 $(HOST_EXPORTS) \
8166 (cd $(HOST_SUBDIR)/etc && \
8167 $(MAKE) $(FLAGS_TO_PASS) install)
8169 @endif etc
8171 # Other targets (info, dvi, etc.)
8173 .PHONY: maybe-info-etc info-etc
8174 maybe-info-etc:
8175 @if etc
8176 maybe-info-etc: info-etc
8178 info-etc: \
8179 configure-etc
8180 @$(unstage)
8181 @[ -f ./etc/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing info in etc" ; \
8189 (cd $(HOST_SUBDIR)/etc && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194 info) \
8195 || exit 1
8197 @endif etc
8199 .PHONY: maybe-dvi-etc dvi-etc
8200 maybe-dvi-etc:
8201 @if etc
8202 maybe-dvi-etc: dvi-etc
8204 dvi-etc: \
8205 configure-etc
8206 @$(unstage)
8207 @[ -f ./etc/Makefile ] || exit 0; \
8208 r=`${PWD_COMMAND}`; export r; \
8209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8210 $(HOST_EXPORTS) \
8211 for flag in $(EXTRA_HOST_FLAGS) ; do \
8212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8213 done; \
8214 echo "Doing dvi in etc" ; \
8215 (cd $(HOST_SUBDIR)/etc && \
8216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8218 "RANLIB=$${RANLIB}" \
8219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8220 dvi) \
8221 || exit 1
8223 @endif etc
8225 .PHONY: maybe-html-etc html-etc
8226 maybe-html-etc:
8227 @if etc
8228 maybe-html-etc: html-etc
8230 html-etc: \
8231 configure-etc
8232 @$(unstage)
8233 @[ -f ./etc/Makefile ] || exit 0; \
8234 r=`${PWD_COMMAND}`; export r; \
8235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8236 $(HOST_EXPORTS) \
8237 for flag in $(EXTRA_HOST_FLAGS) ; do \
8238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8239 done; \
8240 echo "Doing html in etc" ; \
8241 (cd $(HOST_SUBDIR)/etc && \
8242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8244 "RANLIB=$${RANLIB}" \
8245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8246 html) \
8247 || exit 1
8249 @endif etc
8251 .PHONY: maybe-TAGS-etc TAGS-etc
8252 maybe-TAGS-etc:
8253 @if etc
8254 maybe-TAGS-etc: TAGS-etc
8256 TAGS-etc: \
8257 configure-etc
8258 @$(unstage)
8259 @[ -f ./etc/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8265 done; \
8266 echo "Doing TAGS in etc" ; \
8267 (cd $(HOST_SUBDIR)/etc && \
8268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8270 "RANLIB=$${RANLIB}" \
8271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8272 TAGS) \
8273 || exit 1
8275 @endif etc
8277 .PHONY: maybe-install-info-etc install-info-etc
8278 maybe-install-info-etc:
8279 @if etc
8280 maybe-install-info-etc: install-info-etc
8282 install-info-etc: \
8283 configure-etc \
8284 info-etc
8285 @$(unstage)
8286 @[ -f ./etc/Makefile ] || exit 0; \
8287 r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 $(HOST_EXPORTS) \
8290 for flag in $(EXTRA_HOST_FLAGS) ; do \
8291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8292 done; \
8293 echo "Doing install-info in etc" ; \
8294 (cd $(HOST_SUBDIR)/etc && \
8295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8297 "RANLIB=$${RANLIB}" \
8298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8299 install-info) \
8300 || exit 1
8302 @endif etc
8304 .PHONY: maybe-installcheck-etc installcheck-etc
8305 maybe-installcheck-etc:
8306 @if etc
8307 maybe-installcheck-etc: installcheck-etc
8309 installcheck-etc: \
8310 configure-etc
8311 @$(unstage)
8312 @[ -f ./etc/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 $(HOST_EXPORTS) \
8316 for flag in $(EXTRA_HOST_FLAGS) ; do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8318 done; \
8319 echo "Doing installcheck in etc" ; \
8320 (cd $(HOST_SUBDIR)/etc && \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323 "RANLIB=$${RANLIB}" \
8324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8325 installcheck) \
8326 || exit 1
8328 @endif etc
8330 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8331 maybe-mostlyclean-etc:
8332 @if etc
8333 maybe-mostlyclean-etc: mostlyclean-etc
8335 mostlyclean-etc:
8336 @$(unstage)
8337 @[ -f ./etc/Makefile ] || exit 0; \
8338 r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8340 $(HOST_EXPORTS) \
8341 for flag in $(EXTRA_HOST_FLAGS) ; do \
8342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8343 done; \
8344 echo "Doing mostlyclean in etc" ; \
8345 (cd $(HOST_SUBDIR)/etc && \
8346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8348 "RANLIB=$${RANLIB}" \
8349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8350 mostlyclean) \
8351 || exit 1
8353 @endif etc
8355 .PHONY: maybe-clean-etc clean-etc
8356 maybe-clean-etc:
8357 @if etc
8358 maybe-clean-etc: clean-etc
8360 clean-etc:
8361 @$(unstage)
8362 @[ -f ./etc/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8365 $(HOST_EXPORTS) \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8368 done; \
8369 echo "Doing clean in etc" ; \
8370 (cd $(HOST_SUBDIR)/etc && \
8371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8373 "RANLIB=$${RANLIB}" \
8374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8375 clean) \
8376 || exit 1
8378 @endif etc
8380 .PHONY: maybe-distclean-etc distclean-etc
8381 maybe-distclean-etc:
8382 @if etc
8383 maybe-distclean-etc: distclean-etc
8385 distclean-etc:
8386 @$(unstage)
8387 @[ -f ./etc/Makefile ] || exit 0; \
8388 r=`${PWD_COMMAND}`; export r; \
8389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8390 $(HOST_EXPORTS) \
8391 for flag in $(EXTRA_HOST_FLAGS) ; do \
8392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8393 done; \
8394 echo "Doing distclean in etc" ; \
8395 (cd $(HOST_SUBDIR)/etc && \
8396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8398 "RANLIB=$${RANLIB}" \
8399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8400 distclean) \
8401 || exit 1
8403 @endif etc
8405 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8406 maybe-maintainer-clean-etc:
8407 @if etc
8408 maybe-maintainer-clean-etc: maintainer-clean-etc
8410 maintainer-clean-etc:
8411 @$(unstage)
8412 @[ -f ./etc/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 maintainer-clean in etc" ; \
8420 (cd $(HOST_SUBDIR)/etc && \
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 maintainer-clean) \
8426 || exit 1
8428 @endif etc
8432 .PHONY: configure-fastjar maybe-configure-fastjar
8433 maybe-configure-fastjar:
8434 @if fastjar
8435 maybe-configure-fastjar: configure-fastjar
8436 configure-fastjar:
8437 @$(unstage)
8438 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8440 r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8444 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8445 case $(srcdir) in \
8446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8447 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8449 esac; \
8450 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8451 libsrcdir="$$s/fastjar"; \
8452 $(SHELL) $${libsrcdir}/configure \
8453 $(HOST_CONFIGARGS) $${srcdiroption} \
8454 || exit 1
8455 @endif fastjar
8461 .PHONY: all-fastjar maybe-all-fastjar
8462 maybe-all-fastjar:
8463 @if fastjar
8464 TARGET-fastjar=all
8465 maybe-all-fastjar: all-fastjar
8466 all-fastjar: configure-fastjar
8467 @$(unstage)
8468 @r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 $(HOST_EXPORTS) \
8471 (cd $(HOST_SUBDIR)/fastjar && \
8472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8473 @endif fastjar
8478 .PHONY: check-fastjar maybe-check-fastjar
8479 maybe-check-fastjar:
8480 @if fastjar
8481 maybe-check-fastjar: check-fastjar
8483 # This module is only tested in a native toolchain.
8484 check-fastjar:
8485 @$(unstage)
8486 @if [ '$(host)' = '$(target)' ] ; then \
8487 r=`${PWD_COMMAND}`; export r; \
8488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8489 $(HOST_EXPORTS) \
8490 (cd $(HOST_SUBDIR)/fastjar && \
8491 $(MAKE) $(FLAGS_TO_PASS) check); \
8494 @endif fastjar
8496 .PHONY: install-fastjar maybe-install-fastjar
8497 maybe-install-fastjar:
8498 @if fastjar
8499 maybe-install-fastjar: install-fastjar
8501 install-fastjar: installdirs
8502 @$(unstage)
8503 @r=`${PWD_COMMAND}`; export r; \
8504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8505 $(HOST_EXPORTS) \
8506 (cd $(HOST_SUBDIR)/fastjar && \
8507 $(MAKE) $(FLAGS_TO_PASS) install)
8509 @endif fastjar
8511 # Other targets (info, dvi, etc.)
8513 .PHONY: maybe-info-fastjar info-fastjar
8514 maybe-info-fastjar:
8515 @if fastjar
8516 maybe-info-fastjar: info-fastjar
8518 info-fastjar: \
8519 configure-fastjar
8520 @$(unstage)
8521 @[ -f ./fastjar/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing info in fastjar" ; \
8529 (cd $(HOST_SUBDIR)/fastjar && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 info) \
8535 || exit 1
8537 @endif fastjar
8539 .PHONY: maybe-dvi-fastjar dvi-fastjar
8540 maybe-dvi-fastjar:
8541 @if fastjar
8542 maybe-dvi-fastjar: dvi-fastjar
8544 dvi-fastjar: \
8545 configure-fastjar
8546 @$(unstage)
8547 @[ -f ./fastjar/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8550 $(HOST_EXPORTS) \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8553 done; \
8554 echo "Doing dvi in fastjar" ; \
8555 (cd $(HOST_SUBDIR)/fastjar && \
8556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8558 "RANLIB=$${RANLIB}" \
8559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8560 dvi) \
8561 || exit 1
8563 @endif fastjar
8565 .PHONY: maybe-html-fastjar html-fastjar
8566 maybe-html-fastjar:
8567 @if fastjar
8568 maybe-html-fastjar: html-fastjar
8570 html-fastjar: \
8571 configure-fastjar
8572 @$(unstage)
8573 @[ -f ./fastjar/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 $(HOST_EXPORTS) \
8577 for flag in $(EXTRA_HOST_FLAGS) ; do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579 done; \
8580 echo "Doing html in fastjar" ; \
8581 (cd $(HOST_SUBDIR)/fastjar && \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8586 html) \
8587 || exit 1
8589 @endif fastjar
8591 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8592 maybe-TAGS-fastjar:
8593 @if fastjar
8594 maybe-TAGS-fastjar: TAGS-fastjar
8596 TAGS-fastjar: \
8597 configure-fastjar
8598 @$(unstage)
8599 @[ -f ./fastjar/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 $(HOST_EXPORTS) \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 done; \
8606 echo "Doing TAGS in fastjar" ; \
8607 (cd $(HOST_SUBDIR)/fastjar && \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8612 TAGS) \
8613 || exit 1
8615 @endif fastjar
8617 .PHONY: maybe-install-info-fastjar install-info-fastjar
8618 maybe-install-info-fastjar:
8619 @if fastjar
8620 maybe-install-info-fastjar: install-info-fastjar
8622 install-info-fastjar: \
8623 configure-fastjar \
8624 info-fastjar
8625 @$(unstage)
8626 @[ -f ./fastjar/Makefile ] || exit 0; \
8627 r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 $(HOST_EXPORTS) \
8630 for flag in $(EXTRA_HOST_FLAGS) ; do \
8631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8632 done; \
8633 echo "Doing install-info in fastjar" ; \
8634 (cd $(HOST_SUBDIR)/fastjar && \
8635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8637 "RANLIB=$${RANLIB}" \
8638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8639 install-info) \
8640 || exit 1
8642 @endif fastjar
8644 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8645 maybe-installcheck-fastjar:
8646 @if fastjar
8647 maybe-installcheck-fastjar: installcheck-fastjar
8649 installcheck-fastjar: \
8650 configure-fastjar
8651 @$(unstage)
8652 @[ -f ./fastjar/Makefile ] || exit 0; \
8653 r=`${PWD_COMMAND}`; export r; \
8654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8655 $(HOST_EXPORTS) \
8656 for flag in $(EXTRA_HOST_FLAGS) ; do \
8657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8658 done; \
8659 echo "Doing installcheck in fastjar" ; \
8660 (cd $(HOST_SUBDIR)/fastjar && \
8661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8663 "RANLIB=$${RANLIB}" \
8664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8665 installcheck) \
8666 || exit 1
8668 @endif fastjar
8670 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8671 maybe-mostlyclean-fastjar:
8672 @if fastjar
8673 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8675 mostlyclean-fastjar:
8676 @$(unstage)
8677 @[ -f ./fastjar/Makefile ] || exit 0; \
8678 r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8680 $(HOST_EXPORTS) \
8681 for flag in $(EXTRA_HOST_FLAGS) ; do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8683 done; \
8684 echo "Doing mostlyclean in fastjar" ; \
8685 (cd $(HOST_SUBDIR)/fastjar && \
8686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8688 "RANLIB=$${RANLIB}" \
8689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8690 mostlyclean) \
8691 || exit 1
8693 @endif fastjar
8695 .PHONY: maybe-clean-fastjar clean-fastjar
8696 maybe-clean-fastjar:
8697 @if fastjar
8698 maybe-clean-fastjar: clean-fastjar
8700 clean-fastjar:
8701 @$(unstage)
8702 @[ -f ./fastjar/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(HOST_EXPORTS) \
8706 for flag in $(EXTRA_HOST_FLAGS) ; do \
8707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8708 done; \
8709 echo "Doing clean in fastjar" ; \
8710 (cd $(HOST_SUBDIR)/fastjar && \
8711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8713 "RANLIB=$${RANLIB}" \
8714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8715 clean) \
8716 || exit 1
8718 @endif fastjar
8720 .PHONY: maybe-distclean-fastjar distclean-fastjar
8721 maybe-distclean-fastjar:
8722 @if fastjar
8723 maybe-distclean-fastjar: distclean-fastjar
8725 distclean-fastjar:
8726 @$(unstage)
8727 @[ -f ./fastjar/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(HOST_EXPORTS) \
8731 for flag in $(EXTRA_HOST_FLAGS) ; do \
8732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8733 done; \
8734 echo "Doing distclean in fastjar" ; \
8735 (cd $(HOST_SUBDIR)/fastjar && \
8736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8738 "RANLIB=$${RANLIB}" \
8739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8740 distclean) \
8741 || exit 1
8743 @endif fastjar
8745 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8746 maybe-maintainer-clean-fastjar:
8747 @if fastjar
8748 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8750 maintainer-clean-fastjar:
8751 @$(unstage)
8752 @[ -f ./fastjar/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(HOST_EXPORTS) \
8756 for flag in $(EXTRA_HOST_FLAGS) ; do \
8757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8758 done; \
8759 echo "Doing maintainer-clean in fastjar" ; \
8760 (cd $(HOST_SUBDIR)/fastjar && \
8761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8763 "RANLIB=$${RANLIB}" \
8764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8765 maintainer-clean) \
8766 || exit 1
8768 @endif fastjar
8772 .PHONY: configure-fileutils maybe-configure-fileutils
8773 maybe-configure-fileutils:
8774 @if fileutils
8775 maybe-configure-fileutils: configure-fileutils
8776 configure-fileutils:
8777 @$(unstage)
8778 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8780 r=`${PWD_COMMAND}`; export r; \
8781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8782 $(HOST_EXPORTS) \
8783 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8784 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8785 case $(srcdir) in \
8786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8787 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8789 esac; \
8790 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8791 libsrcdir="$$s/fileutils"; \
8792 $(SHELL) $${libsrcdir}/configure \
8793 $(HOST_CONFIGARGS) $${srcdiroption} \
8794 || exit 1
8795 @endif fileutils
8801 .PHONY: all-fileutils maybe-all-fileutils
8802 maybe-all-fileutils:
8803 @if fileutils
8804 TARGET-fileutils=all
8805 maybe-all-fileutils: all-fileutils
8806 all-fileutils: configure-fileutils
8807 @$(unstage)
8808 @r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 $(HOST_EXPORTS) \
8811 (cd $(HOST_SUBDIR)/fileutils && \
8812 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8813 @endif fileutils
8818 .PHONY: check-fileutils maybe-check-fileutils
8819 maybe-check-fileutils:
8820 @if fileutils
8821 maybe-check-fileutils: check-fileutils
8823 check-fileutils:
8824 @$(unstage)
8825 @r=`${PWD_COMMAND}`; export r; \
8826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8827 $(HOST_EXPORTS) \
8828 (cd $(HOST_SUBDIR)/fileutils && \
8829 $(MAKE) $(FLAGS_TO_PASS) check)
8831 @endif fileutils
8833 .PHONY: install-fileutils maybe-install-fileutils
8834 maybe-install-fileutils:
8835 @if fileutils
8836 maybe-install-fileutils: install-fileutils
8838 install-fileutils: installdirs
8839 @$(unstage)
8840 @r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 $(HOST_EXPORTS) \
8843 (cd $(HOST_SUBDIR)/fileutils && \
8844 $(MAKE) $(FLAGS_TO_PASS) install)
8846 @endif fileutils
8848 # Other targets (info, dvi, etc.)
8850 .PHONY: maybe-info-fileutils info-fileutils
8851 maybe-info-fileutils:
8852 @if fileutils
8853 maybe-info-fileutils: info-fileutils
8855 info-fileutils: \
8856 configure-fileutils
8857 @$(unstage)
8858 @[ -f ./fileutils/Makefile ] || exit 0; \
8859 r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 $(HOST_EXPORTS) \
8862 for flag in $(EXTRA_HOST_FLAGS) ; do \
8863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8864 done; \
8865 echo "Doing info in fileutils" ; \
8866 (cd $(HOST_SUBDIR)/fileutils && \
8867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8869 "RANLIB=$${RANLIB}" \
8870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8871 info) \
8872 || exit 1
8874 @endif fileutils
8876 .PHONY: maybe-dvi-fileutils dvi-fileutils
8877 maybe-dvi-fileutils:
8878 @if fileutils
8879 maybe-dvi-fileutils: dvi-fileutils
8881 dvi-fileutils: \
8882 configure-fileutils
8883 @$(unstage)
8884 @[ -f ./fileutils/Makefile ] || exit 0; \
8885 r=`${PWD_COMMAND}`; export r; \
8886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8887 $(HOST_EXPORTS) \
8888 for flag in $(EXTRA_HOST_FLAGS) ; do \
8889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8890 done; \
8891 echo "Doing dvi in fileutils" ; \
8892 (cd $(HOST_SUBDIR)/fileutils && \
8893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895 "RANLIB=$${RANLIB}" \
8896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8897 dvi) \
8898 || exit 1
8900 @endif fileutils
8902 .PHONY: maybe-html-fileutils html-fileutils
8903 maybe-html-fileutils:
8904 @if fileutils
8905 maybe-html-fileutils: html-fileutils
8907 html-fileutils: \
8908 configure-fileutils
8909 @$(unstage)
8910 @[ -f ./fileutils/Makefile ] || exit 0; \
8911 r=`${PWD_COMMAND}`; export r; \
8912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 $(HOST_EXPORTS) \
8914 for flag in $(EXTRA_HOST_FLAGS) ; do \
8915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8916 done; \
8917 echo "Doing html in fileutils" ; \
8918 (cd $(HOST_SUBDIR)/fileutils && \
8919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8921 "RANLIB=$${RANLIB}" \
8922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8923 html) \
8924 || exit 1
8926 @endif fileutils
8928 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8929 maybe-TAGS-fileutils:
8930 @if fileutils
8931 maybe-TAGS-fileutils: TAGS-fileutils
8933 TAGS-fileutils: \
8934 configure-fileutils
8935 @$(unstage)
8936 @[ -f ./fileutils/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8939 $(HOST_EXPORTS) \
8940 for flag in $(EXTRA_HOST_FLAGS) ; do \
8941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8942 done; \
8943 echo "Doing TAGS in fileutils" ; \
8944 (cd $(HOST_SUBDIR)/fileutils && \
8945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8947 "RANLIB=$${RANLIB}" \
8948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8949 TAGS) \
8950 || exit 1
8952 @endif fileutils
8954 .PHONY: maybe-install-info-fileutils install-info-fileutils
8955 maybe-install-info-fileutils:
8956 @if fileutils
8957 maybe-install-info-fileutils: install-info-fileutils
8959 install-info-fileutils: \
8960 configure-fileutils \
8961 info-fileutils
8962 @$(unstage)
8963 @[ -f ./fileutils/Makefile ] || exit 0; \
8964 r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8966 $(HOST_EXPORTS) \
8967 for flag in $(EXTRA_HOST_FLAGS) ; do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8969 done; \
8970 echo "Doing install-info in fileutils" ; \
8971 (cd $(HOST_SUBDIR)/fileutils && \
8972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8974 "RANLIB=$${RANLIB}" \
8975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8976 install-info) \
8977 || exit 1
8979 @endif fileutils
8981 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8982 maybe-installcheck-fileutils:
8983 @if fileutils
8984 maybe-installcheck-fileutils: installcheck-fileutils
8986 installcheck-fileutils: \
8987 configure-fileutils
8988 @$(unstage)
8989 @[ -f ./fileutils/Makefile ] || exit 0; \
8990 r=`${PWD_COMMAND}`; export r; \
8991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8992 $(HOST_EXPORTS) \
8993 for flag in $(EXTRA_HOST_FLAGS) ; do \
8994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8995 done; \
8996 echo "Doing installcheck in fileutils" ; \
8997 (cd $(HOST_SUBDIR)/fileutils && \
8998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9000 "RANLIB=$${RANLIB}" \
9001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9002 installcheck) \
9003 || exit 1
9005 @endif fileutils
9007 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9008 maybe-mostlyclean-fileutils:
9009 @if fileutils
9010 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9012 mostlyclean-fileutils:
9013 @$(unstage)
9014 @[ -f ./fileutils/Makefile ] || exit 0; \
9015 r=`${PWD_COMMAND}`; export r; \
9016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9017 $(HOST_EXPORTS) \
9018 for flag in $(EXTRA_HOST_FLAGS) ; do \
9019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9020 done; \
9021 echo "Doing mostlyclean in fileutils" ; \
9022 (cd $(HOST_SUBDIR)/fileutils && \
9023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9025 "RANLIB=$${RANLIB}" \
9026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9027 mostlyclean) \
9028 || exit 1
9030 @endif fileutils
9032 .PHONY: maybe-clean-fileutils clean-fileutils
9033 maybe-clean-fileutils:
9034 @if fileutils
9035 maybe-clean-fileutils: clean-fileutils
9037 clean-fileutils:
9038 @$(unstage)
9039 @[ -f ./fileutils/Makefile ] || exit 0; \
9040 r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 $(HOST_EXPORTS) \
9043 for flag in $(EXTRA_HOST_FLAGS) ; do \
9044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9045 done; \
9046 echo "Doing clean in fileutils" ; \
9047 (cd $(HOST_SUBDIR)/fileutils && \
9048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9050 "RANLIB=$${RANLIB}" \
9051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9052 clean) \
9053 || exit 1
9055 @endif fileutils
9057 .PHONY: maybe-distclean-fileutils distclean-fileutils
9058 maybe-distclean-fileutils:
9059 @if fileutils
9060 maybe-distclean-fileutils: distclean-fileutils
9062 distclean-fileutils:
9063 @$(unstage)
9064 @[ -f ./fileutils/Makefile ] || exit 0; \
9065 r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 $(HOST_EXPORTS) \
9068 for flag in $(EXTRA_HOST_FLAGS) ; do \
9069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9070 done; \
9071 echo "Doing distclean in fileutils" ; \
9072 (cd $(HOST_SUBDIR)/fileutils && \
9073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9075 "RANLIB=$${RANLIB}" \
9076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9077 distclean) \
9078 || exit 1
9080 @endif fileutils
9082 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9083 maybe-maintainer-clean-fileutils:
9084 @if fileutils
9085 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9087 maintainer-clean-fileutils:
9088 @$(unstage)
9089 @[ -f ./fileutils/Makefile ] || exit 0; \
9090 r=`${PWD_COMMAND}`; export r; \
9091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9092 $(HOST_EXPORTS) \
9093 for flag in $(EXTRA_HOST_FLAGS) ; do \
9094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9095 done; \
9096 echo "Doing maintainer-clean in fileutils" ; \
9097 (cd $(HOST_SUBDIR)/fileutils && \
9098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9100 "RANLIB=$${RANLIB}" \
9101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9102 maintainer-clean) \
9103 || exit 1
9105 @endif fileutils
9109 .PHONY: configure-findutils maybe-configure-findutils
9110 maybe-configure-findutils:
9111 @if findutils
9112 maybe-configure-findutils: configure-findutils
9113 configure-findutils:
9114 @$(unstage)
9115 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9117 r=`${PWD_COMMAND}`; export r; \
9118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9119 $(HOST_EXPORTS) \
9120 echo Configuring in $(HOST_SUBDIR)/findutils; \
9121 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9122 case $(srcdir) in \
9123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9124 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9126 esac; \
9127 srcdiroption="--srcdir=$${topdir}/findutils"; \
9128 libsrcdir="$$s/findutils"; \
9129 $(SHELL) $${libsrcdir}/configure \
9130 $(HOST_CONFIGARGS) $${srcdiroption} \
9131 || exit 1
9132 @endif findutils
9138 .PHONY: all-findutils maybe-all-findutils
9139 maybe-all-findutils:
9140 @if findutils
9141 TARGET-findutils=all
9142 maybe-all-findutils: all-findutils
9143 all-findutils: configure-findutils
9144 @$(unstage)
9145 @r=`${PWD_COMMAND}`; export r; \
9146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9147 $(HOST_EXPORTS) \
9148 (cd $(HOST_SUBDIR)/findutils && \
9149 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9150 @endif findutils
9155 .PHONY: check-findutils maybe-check-findutils
9156 maybe-check-findutils:
9157 @if findutils
9158 maybe-check-findutils: check-findutils
9160 check-findutils:
9161 @$(unstage)
9162 @r=`${PWD_COMMAND}`; export r; \
9163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9164 $(HOST_EXPORTS) \
9165 (cd $(HOST_SUBDIR)/findutils && \
9166 $(MAKE) $(FLAGS_TO_PASS) check)
9168 @endif findutils
9170 .PHONY: install-findutils maybe-install-findutils
9171 maybe-install-findutils:
9172 @if findutils
9173 maybe-install-findutils: install-findutils
9175 install-findutils: installdirs
9176 @$(unstage)
9177 @r=`${PWD_COMMAND}`; export r; \
9178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9179 $(HOST_EXPORTS) \
9180 (cd $(HOST_SUBDIR)/findutils && \
9181 $(MAKE) $(FLAGS_TO_PASS) install)
9183 @endif findutils
9185 # Other targets (info, dvi, etc.)
9187 .PHONY: maybe-info-findutils info-findutils
9188 maybe-info-findutils:
9189 @if findutils
9190 maybe-info-findutils: info-findutils
9192 info-findutils: \
9193 configure-findutils
9194 @$(unstage)
9195 @[ -f ./findutils/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 $(HOST_EXPORTS) \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9201 done; \
9202 echo "Doing info in findutils" ; \
9203 (cd $(HOST_SUBDIR)/findutils && \
9204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9206 "RANLIB=$${RANLIB}" \
9207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9208 info) \
9209 || exit 1
9211 @endif findutils
9213 .PHONY: maybe-dvi-findutils dvi-findutils
9214 maybe-dvi-findutils:
9215 @if findutils
9216 maybe-dvi-findutils: dvi-findutils
9218 dvi-findutils: \
9219 configure-findutils
9220 @$(unstage)
9221 @[ -f ./findutils/Makefile ] || exit 0; \
9222 r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 $(HOST_EXPORTS) \
9225 for flag in $(EXTRA_HOST_FLAGS) ; do \
9226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9227 done; \
9228 echo "Doing dvi in findutils" ; \
9229 (cd $(HOST_SUBDIR)/findutils && \
9230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9232 "RANLIB=$${RANLIB}" \
9233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9234 dvi) \
9235 || exit 1
9237 @endif findutils
9239 .PHONY: maybe-html-findutils html-findutils
9240 maybe-html-findutils:
9241 @if findutils
9242 maybe-html-findutils: html-findutils
9244 html-findutils: \
9245 configure-findutils
9246 @$(unstage)
9247 @[ -f ./findutils/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing html in findutils" ; \
9255 (cd $(HOST_SUBDIR)/findutils && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9260 html) \
9261 || exit 1
9263 @endif findutils
9265 .PHONY: maybe-TAGS-findutils TAGS-findutils
9266 maybe-TAGS-findutils:
9267 @if findutils
9268 maybe-TAGS-findutils: TAGS-findutils
9270 TAGS-findutils: \
9271 configure-findutils
9272 @$(unstage)
9273 @[ -f ./findutils/Makefile ] || exit 0; \
9274 r=`${PWD_COMMAND}`; export r; \
9275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9276 $(HOST_EXPORTS) \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 done; \
9280 echo "Doing TAGS in findutils" ; \
9281 (cd $(HOST_SUBDIR)/findutils && \
9282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9284 "RANLIB=$${RANLIB}" \
9285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9286 TAGS) \
9287 || exit 1
9289 @endif findutils
9291 .PHONY: maybe-install-info-findutils install-info-findutils
9292 maybe-install-info-findutils:
9293 @if findutils
9294 maybe-install-info-findutils: install-info-findutils
9296 install-info-findutils: \
9297 configure-findutils \
9298 info-findutils
9299 @$(unstage)
9300 @[ -f ./findutils/Makefile ] || exit 0; \
9301 r=`${PWD_COMMAND}`; export r; \
9302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9303 $(HOST_EXPORTS) \
9304 for flag in $(EXTRA_HOST_FLAGS) ; do \
9305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9306 done; \
9307 echo "Doing install-info in findutils" ; \
9308 (cd $(HOST_SUBDIR)/findutils && \
9309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9311 "RANLIB=$${RANLIB}" \
9312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9313 install-info) \
9314 || exit 1
9316 @endif findutils
9318 .PHONY: maybe-installcheck-findutils installcheck-findutils
9319 maybe-installcheck-findutils:
9320 @if findutils
9321 maybe-installcheck-findutils: installcheck-findutils
9323 installcheck-findutils: \
9324 configure-findutils
9325 @$(unstage)
9326 @[ -f ./findutils/Makefile ] || exit 0; \
9327 r=`${PWD_COMMAND}`; export r; \
9328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9329 $(HOST_EXPORTS) \
9330 for flag in $(EXTRA_HOST_FLAGS) ; do \
9331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9332 done; \
9333 echo "Doing installcheck in findutils" ; \
9334 (cd $(HOST_SUBDIR)/findutils && \
9335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9337 "RANLIB=$${RANLIB}" \
9338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9339 installcheck) \
9340 || exit 1
9342 @endif findutils
9344 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9345 maybe-mostlyclean-findutils:
9346 @if findutils
9347 maybe-mostlyclean-findutils: mostlyclean-findutils
9349 mostlyclean-findutils:
9350 @$(unstage)
9351 @[ -f ./findutils/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 for flag in $(EXTRA_HOST_FLAGS) ; do \
9356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9357 done; \
9358 echo "Doing mostlyclean in findutils" ; \
9359 (cd $(HOST_SUBDIR)/findutils && \
9360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9362 "RANLIB=$${RANLIB}" \
9363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9364 mostlyclean) \
9365 || exit 1
9367 @endif findutils
9369 .PHONY: maybe-clean-findutils clean-findutils
9370 maybe-clean-findutils:
9371 @if findutils
9372 maybe-clean-findutils: clean-findutils
9374 clean-findutils:
9375 @$(unstage)
9376 @[ -f ./findutils/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(HOST_EXPORTS) \
9380 for flag in $(EXTRA_HOST_FLAGS) ; do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382 done; \
9383 echo "Doing clean in findutils" ; \
9384 (cd $(HOST_SUBDIR)/findutils && \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387 "RANLIB=$${RANLIB}" \
9388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9389 clean) \
9390 || exit 1
9392 @endif findutils
9394 .PHONY: maybe-distclean-findutils distclean-findutils
9395 maybe-distclean-findutils:
9396 @if findutils
9397 maybe-distclean-findutils: distclean-findutils
9399 distclean-findutils:
9400 @$(unstage)
9401 @[ -f ./findutils/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 $(HOST_EXPORTS) \
9405 for flag in $(EXTRA_HOST_FLAGS) ; do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9407 done; \
9408 echo "Doing distclean in findutils" ; \
9409 (cd $(HOST_SUBDIR)/findutils && \
9410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9412 "RANLIB=$${RANLIB}" \
9413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9414 distclean) \
9415 || exit 1
9417 @endif findutils
9419 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9420 maybe-maintainer-clean-findutils:
9421 @if findutils
9422 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9424 maintainer-clean-findutils:
9425 @$(unstage)
9426 @[ -f ./findutils/Makefile ] || exit 0; \
9427 r=`${PWD_COMMAND}`; export r; \
9428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9429 $(HOST_EXPORTS) \
9430 for flag in $(EXTRA_HOST_FLAGS) ; do \
9431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9432 done; \
9433 echo "Doing maintainer-clean in findutils" ; \
9434 (cd $(HOST_SUBDIR)/findutils && \
9435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9437 "RANLIB=$${RANLIB}" \
9438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9439 maintainer-clean) \
9440 || exit 1
9442 @endif findutils
9446 .PHONY: configure-find maybe-configure-find
9447 maybe-configure-find:
9448 @if find
9449 maybe-configure-find: configure-find
9450 configure-find:
9451 @$(unstage)
9452 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9454 r=`${PWD_COMMAND}`; export r; \
9455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9456 $(HOST_EXPORTS) \
9457 echo Configuring in $(HOST_SUBDIR)/find; \
9458 cd "$(HOST_SUBDIR)/find" || exit 1; \
9459 case $(srcdir) in \
9460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9461 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9463 esac; \
9464 srcdiroption="--srcdir=$${topdir}/find"; \
9465 libsrcdir="$$s/find"; \
9466 $(SHELL) $${libsrcdir}/configure \
9467 $(HOST_CONFIGARGS) $${srcdiroption} \
9468 || exit 1
9469 @endif find
9475 .PHONY: all-find maybe-all-find
9476 maybe-all-find:
9477 @if find
9478 TARGET-find=all
9479 maybe-all-find: all-find
9480 all-find: configure-find
9481 @$(unstage)
9482 @r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 (cd $(HOST_SUBDIR)/find && \
9486 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9487 @endif find
9492 .PHONY: check-find maybe-check-find
9493 maybe-check-find:
9494 @if find
9495 maybe-check-find: check-find
9497 check-find:
9498 @$(unstage)
9499 @r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 $(HOST_EXPORTS) \
9502 (cd $(HOST_SUBDIR)/find && \
9503 $(MAKE) $(FLAGS_TO_PASS) check)
9505 @endif find
9507 .PHONY: install-find maybe-install-find
9508 maybe-install-find:
9509 @if find
9510 maybe-install-find: install-find
9512 install-find: installdirs
9513 @$(unstage)
9514 @r=`${PWD_COMMAND}`; export r; \
9515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9516 $(HOST_EXPORTS) \
9517 (cd $(HOST_SUBDIR)/find && \
9518 $(MAKE) $(FLAGS_TO_PASS) install)
9520 @endif find
9522 # Other targets (info, dvi, etc.)
9524 .PHONY: maybe-info-find info-find
9525 maybe-info-find:
9526 @if find
9527 maybe-info-find: info-find
9529 info-find: \
9530 configure-find
9531 @$(unstage)
9532 @[ -f ./find/Makefile ] || exit 0; \
9533 r=`${PWD_COMMAND}`; export r; \
9534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9535 $(HOST_EXPORTS) \
9536 for flag in $(EXTRA_HOST_FLAGS) ; do \
9537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9538 done; \
9539 echo "Doing info in find" ; \
9540 (cd $(HOST_SUBDIR)/find && \
9541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9543 "RANLIB=$${RANLIB}" \
9544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9545 info) \
9546 || exit 1
9548 @endif find
9550 .PHONY: maybe-dvi-find dvi-find
9551 maybe-dvi-find:
9552 @if find
9553 maybe-dvi-find: dvi-find
9555 dvi-find: \
9556 configure-find
9557 @$(unstage)
9558 @[ -f ./find/Makefile ] || exit 0; \
9559 r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9561 $(HOST_EXPORTS) \
9562 for flag in $(EXTRA_HOST_FLAGS) ; do \
9563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9564 done; \
9565 echo "Doing dvi in find" ; \
9566 (cd $(HOST_SUBDIR)/find && \
9567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9569 "RANLIB=$${RANLIB}" \
9570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9571 dvi) \
9572 || exit 1
9574 @endif find
9576 .PHONY: maybe-html-find html-find
9577 maybe-html-find:
9578 @if find
9579 maybe-html-find: html-find
9581 html-find: \
9582 configure-find
9583 @$(unstage)
9584 @[ -f ./find/Makefile ] || exit 0; \
9585 r=`${PWD_COMMAND}`; export r; \
9586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9587 $(HOST_EXPORTS) \
9588 for flag in $(EXTRA_HOST_FLAGS) ; do \
9589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9590 done; \
9591 echo "Doing html in find" ; \
9592 (cd $(HOST_SUBDIR)/find && \
9593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9595 "RANLIB=$${RANLIB}" \
9596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9597 html) \
9598 || exit 1
9600 @endif find
9602 .PHONY: maybe-TAGS-find TAGS-find
9603 maybe-TAGS-find:
9604 @if find
9605 maybe-TAGS-find: TAGS-find
9607 TAGS-find: \
9608 configure-find
9609 @$(unstage)
9610 @[ -f ./find/Makefile ] || exit 0; \
9611 r=`${PWD_COMMAND}`; export r; \
9612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9613 $(HOST_EXPORTS) \
9614 for flag in $(EXTRA_HOST_FLAGS) ; do \
9615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9616 done; \
9617 echo "Doing TAGS in find" ; \
9618 (cd $(HOST_SUBDIR)/find && \
9619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9621 "RANLIB=$${RANLIB}" \
9622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9623 TAGS) \
9624 || exit 1
9626 @endif find
9628 .PHONY: maybe-install-info-find install-info-find
9629 maybe-install-info-find:
9630 @if find
9631 maybe-install-info-find: install-info-find
9633 install-info-find: \
9634 configure-find \
9635 info-find
9636 @$(unstage)
9637 @[ -f ./find/Makefile ] || exit 0; \
9638 r=`${PWD_COMMAND}`; export r; \
9639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9640 $(HOST_EXPORTS) \
9641 for flag in $(EXTRA_HOST_FLAGS) ; do \
9642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9643 done; \
9644 echo "Doing install-info in find" ; \
9645 (cd $(HOST_SUBDIR)/find && \
9646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9648 "RANLIB=$${RANLIB}" \
9649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9650 install-info) \
9651 || exit 1
9653 @endif find
9655 .PHONY: maybe-installcheck-find installcheck-find
9656 maybe-installcheck-find:
9657 @if find
9658 maybe-installcheck-find: installcheck-find
9660 installcheck-find: \
9661 configure-find
9662 @$(unstage)
9663 @[ -f ./find/Makefile ] || exit 0; \
9664 r=`${PWD_COMMAND}`; export r; \
9665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 $(HOST_EXPORTS) \
9667 for flag in $(EXTRA_HOST_FLAGS) ; do \
9668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9669 done; \
9670 echo "Doing installcheck in find" ; \
9671 (cd $(HOST_SUBDIR)/find && \
9672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9674 "RANLIB=$${RANLIB}" \
9675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9676 installcheck) \
9677 || exit 1
9679 @endif find
9681 .PHONY: maybe-mostlyclean-find mostlyclean-find
9682 maybe-mostlyclean-find:
9683 @if find
9684 maybe-mostlyclean-find: mostlyclean-find
9686 mostlyclean-find:
9687 @$(unstage)
9688 @[ -f ./find/Makefile ] || exit 0; \
9689 r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9691 $(HOST_EXPORTS) \
9692 for flag in $(EXTRA_HOST_FLAGS) ; do \
9693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9694 done; \
9695 echo "Doing mostlyclean in find" ; \
9696 (cd $(HOST_SUBDIR)/find && \
9697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9699 "RANLIB=$${RANLIB}" \
9700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9701 mostlyclean) \
9702 || exit 1
9704 @endif find
9706 .PHONY: maybe-clean-find clean-find
9707 maybe-clean-find:
9708 @if find
9709 maybe-clean-find: clean-find
9711 clean-find:
9712 @$(unstage)
9713 @[ -f ./find/Makefile ] || exit 0; \
9714 r=`${PWD_COMMAND}`; export r; \
9715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9716 $(HOST_EXPORTS) \
9717 for flag in $(EXTRA_HOST_FLAGS) ; do \
9718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9719 done; \
9720 echo "Doing clean in find" ; \
9721 (cd $(HOST_SUBDIR)/find && \
9722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9724 "RANLIB=$${RANLIB}" \
9725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9726 clean) \
9727 || exit 1
9729 @endif find
9731 .PHONY: maybe-distclean-find distclean-find
9732 maybe-distclean-find:
9733 @if find
9734 maybe-distclean-find: distclean-find
9736 distclean-find:
9737 @$(unstage)
9738 @[ -f ./find/Makefile ] || exit 0; \
9739 r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 $(HOST_EXPORTS) \
9742 for flag in $(EXTRA_HOST_FLAGS) ; do \
9743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9744 done; \
9745 echo "Doing distclean in find" ; \
9746 (cd $(HOST_SUBDIR)/find && \
9747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9749 "RANLIB=$${RANLIB}" \
9750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9751 distclean) \
9752 || exit 1
9754 @endif find
9756 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9757 maybe-maintainer-clean-find:
9758 @if find
9759 maybe-maintainer-clean-find: maintainer-clean-find
9761 maintainer-clean-find:
9762 @$(unstage)
9763 @[ -f ./find/Makefile ] || exit 0; \
9764 r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9766 $(HOST_EXPORTS) \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769 done; \
9770 echo "Doing maintainer-clean in find" ; \
9771 (cd $(HOST_SUBDIR)/find && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776 maintainer-clean) \
9777 || exit 1
9779 @endif find
9783 .PHONY: configure-fixincludes maybe-configure-fixincludes
9784 maybe-configure-fixincludes:
9785 @if fixincludes
9786 maybe-configure-fixincludes: configure-fixincludes
9787 configure-fixincludes:
9788 @$(unstage)
9789 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9791 r=`${PWD_COMMAND}`; export r; \
9792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9793 $(HOST_EXPORTS) \
9794 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9795 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9796 case $(srcdir) in \
9797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9798 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9800 esac; \
9801 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9802 libsrcdir="$$s/fixincludes"; \
9803 $(SHELL) $${libsrcdir}/configure \
9804 $(HOST_CONFIGARGS) $${srcdiroption} \
9805 || exit 1
9806 @endif fixincludes
9812 .PHONY: all-fixincludes maybe-all-fixincludes
9813 maybe-all-fixincludes:
9814 @if fixincludes
9815 TARGET-fixincludes=all
9816 maybe-all-fixincludes: all-fixincludes
9817 all-fixincludes: configure-fixincludes
9818 @$(unstage)
9819 @r=`${PWD_COMMAND}`; export r; \
9820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9821 $(HOST_EXPORTS) \
9822 (cd $(HOST_SUBDIR)/fixincludes && \
9823 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9824 @endif fixincludes
9829 .PHONY: check-fixincludes maybe-check-fixincludes
9830 maybe-check-fixincludes:
9831 @if fixincludes
9832 maybe-check-fixincludes: check-fixincludes
9834 check-fixincludes:
9835 @$(unstage)
9836 @r=`${PWD_COMMAND}`; export r; \
9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838 $(HOST_EXPORTS) \
9839 (cd $(HOST_SUBDIR)/fixincludes && \
9840 $(MAKE) $(FLAGS_TO_PASS) check)
9842 @endif fixincludes
9844 .PHONY: install-fixincludes maybe-install-fixincludes
9845 maybe-install-fixincludes:
9846 @if fixincludes
9847 maybe-install-fixincludes: install-fixincludes
9849 install-fixincludes: installdirs
9850 @$(unstage)
9851 @r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 (cd $(HOST_SUBDIR)/fixincludes && \
9855 $(MAKE) $(FLAGS_TO_PASS) install)
9857 @endif fixincludes
9859 # Other targets (info, dvi, etc.)
9861 .PHONY: maybe-info-fixincludes info-fixincludes
9862 maybe-info-fixincludes:
9863 @if fixincludes
9864 maybe-info-fixincludes: info-fixincludes
9866 # fixincludes doesn't support info.
9867 info-fixincludes:
9869 @endif fixincludes
9871 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9872 maybe-dvi-fixincludes:
9873 @if fixincludes
9874 maybe-dvi-fixincludes: dvi-fixincludes
9876 # fixincludes doesn't support dvi.
9877 dvi-fixincludes:
9879 @endif fixincludes
9881 .PHONY: maybe-html-fixincludes html-fixincludes
9882 maybe-html-fixincludes:
9883 @if fixincludes
9884 maybe-html-fixincludes: html-fixincludes
9886 html-fixincludes: \
9887 configure-fixincludes
9888 @$(unstage)
9889 @[ -f ./fixincludes/Makefile ] || exit 0; \
9890 r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892 $(HOST_EXPORTS) \
9893 for flag in $(EXTRA_HOST_FLAGS) ; do \
9894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9895 done; \
9896 echo "Doing html in fixincludes" ; \
9897 (cd $(HOST_SUBDIR)/fixincludes && \
9898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9900 "RANLIB=$${RANLIB}" \
9901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9902 html) \
9903 || exit 1
9905 @endif fixincludes
9907 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9908 maybe-TAGS-fixincludes:
9909 @if fixincludes
9910 maybe-TAGS-fixincludes: TAGS-fixincludes
9912 # fixincludes doesn't support TAGS.
9913 TAGS-fixincludes:
9915 @endif fixincludes
9917 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9918 maybe-install-info-fixincludes:
9919 @if fixincludes
9920 maybe-install-info-fixincludes: install-info-fixincludes
9922 # fixincludes doesn't support install-info.
9923 install-info-fixincludes:
9925 @endif fixincludes
9927 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9928 maybe-installcheck-fixincludes:
9929 @if fixincludes
9930 maybe-installcheck-fixincludes: installcheck-fixincludes
9932 # fixincludes doesn't support installcheck.
9933 installcheck-fixincludes:
9935 @endif fixincludes
9937 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9938 maybe-mostlyclean-fixincludes:
9939 @if fixincludes
9940 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9942 mostlyclean-fixincludes:
9943 @$(unstage)
9944 @[ -f ./fixincludes/Makefile ] || exit 0; \
9945 r=`${PWD_COMMAND}`; export r; \
9946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9947 $(HOST_EXPORTS) \
9948 for flag in $(EXTRA_HOST_FLAGS) ; do \
9949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9950 done; \
9951 echo "Doing mostlyclean in fixincludes" ; \
9952 (cd $(HOST_SUBDIR)/fixincludes && \
9953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9955 "RANLIB=$${RANLIB}" \
9956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9957 mostlyclean) \
9958 || exit 1
9960 @endif fixincludes
9962 .PHONY: maybe-clean-fixincludes clean-fixincludes
9963 maybe-clean-fixincludes:
9964 @if fixincludes
9965 maybe-clean-fixincludes: clean-fixincludes
9967 clean-fixincludes:
9968 @$(unstage)
9969 @[ -f ./fixincludes/Makefile ] || exit 0; \
9970 r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972 $(HOST_EXPORTS) \
9973 for flag in $(EXTRA_HOST_FLAGS) ; do \
9974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9975 done; \
9976 echo "Doing clean in fixincludes" ; \
9977 (cd $(HOST_SUBDIR)/fixincludes && \
9978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9980 "RANLIB=$${RANLIB}" \
9981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9982 clean) \
9983 || exit 1
9985 @endif fixincludes
9987 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9988 maybe-distclean-fixincludes:
9989 @if fixincludes
9990 maybe-distclean-fixincludes: distclean-fixincludes
9992 distclean-fixincludes:
9993 @$(unstage)
9994 @[ -f ./fixincludes/Makefile ] || exit 0; \
9995 r=`${PWD_COMMAND}`; export r; \
9996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9997 $(HOST_EXPORTS) \
9998 for flag in $(EXTRA_HOST_FLAGS) ; do \
9999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10000 done; \
10001 echo "Doing distclean in fixincludes" ; \
10002 (cd $(HOST_SUBDIR)/fixincludes && \
10003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10005 "RANLIB=$${RANLIB}" \
10006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10007 distclean) \
10008 || exit 1
10010 @endif fixincludes
10012 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10013 maybe-maintainer-clean-fixincludes:
10014 @if fixincludes
10015 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10017 maintainer-clean-fixincludes:
10018 @$(unstage)
10019 @[ -f ./fixincludes/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 maintainer-clean in fixincludes" ; \
10027 (cd $(HOST_SUBDIR)/fixincludes && \
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 maintainer-clean) \
10033 || exit 1
10035 @endif fixincludes
10039 .PHONY: configure-flex maybe-configure-flex
10040 maybe-configure-flex:
10041 @if flex
10042 maybe-configure-flex: configure-flex
10043 configure-flex:
10044 @$(unstage)
10045 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10047 r=`${PWD_COMMAND}`; export r; \
10048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 $(HOST_EXPORTS) \
10050 echo Configuring in $(HOST_SUBDIR)/flex; \
10051 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10052 case $(srcdir) in \
10053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10054 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10056 esac; \
10057 srcdiroption="--srcdir=$${topdir}/flex"; \
10058 libsrcdir="$$s/flex"; \
10059 $(SHELL) $${libsrcdir}/configure \
10060 $(HOST_CONFIGARGS) $${srcdiroption} \
10061 || exit 1
10062 @endif flex
10068 .PHONY: all-flex maybe-all-flex
10069 maybe-all-flex:
10070 @if flex
10071 TARGET-flex=all
10072 maybe-all-flex: all-flex
10073 all-flex: configure-flex
10074 @$(unstage)
10075 @r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 (cd $(HOST_SUBDIR)/flex && \
10079 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10080 @endif flex
10085 .PHONY: check-flex maybe-check-flex
10086 maybe-check-flex:
10087 @if flex
10088 maybe-check-flex: check-flex
10090 # This module is only tested in a native toolchain.
10091 check-flex:
10092 @$(unstage)
10093 @if [ '$(host)' = '$(target)' ] ; then \
10094 r=`${PWD_COMMAND}`; export r; \
10095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10096 $(HOST_EXPORTS) \
10097 (cd $(HOST_SUBDIR)/flex && \
10098 $(MAKE) $(FLAGS_TO_PASS) check); \
10101 @endif flex
10103 .PHONY: install-flex maybe-install-flex
10104 maybe-install-flex:
10105 @if flex
10106 maybe-install-flex: install-flex
10108 install-flex: installdirs
10109 @$(unstage)
10110 @r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112 $(HOST_EXPORTS) \
10113 (cd $(HOST_SUBDIR)/flex && \
10114 $(MAKE) $(FLAGS_TO_PASS) install)
10116 @endif flex
10118 # Other targets (info, dvi, etc.)
10120 .PHONY: maybe-info-flex info-flex
10121 maybe-info-flex:
10122 @if flex
10123 maybe-info-flex: info-flex
10125 info-flex: \
10126 configure-flex
10127 @$(unstage)
10128 @[ -f ./flex/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 for flag in $(EXTRA_HOST_FLAGS) ; do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 done; \
10135 echo "Doing info in flex" ; \
10136 (cd $(HOST_SUBDIR)/flex && \
10137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10139 "RANLIB=$${RANLIB}" \
10140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10141 info) \
10142 || exit 1
10144 @endif flex
10146 .PHONY: maybe-dvi-flex dvi-flex
10147 maybe-dvi-flex:
10148 @if flex
10149 maybe-dvi-flex: dvi-flex
10151 dvi-flex: \
10152 configure-flex
10153 @$(unstage)
10154 @[ -f ./flex/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 $(HOST_EXPORTS) \
10158 for flag in $(EXTRA_HOST_FLAGS) ; do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10160 done; \
10161 echo "Doing dvi in flex" ; \
10162 (cd $(HOST_SUBDIR)/flex && \
10163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10165 "RANLIB=$${RANLIB}" \
10166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10167 dvi) \
10168 || exit 1
10170 @endif flex
10172 .PHONY: maybe-html-flex html-flex
10173 maybe-html-flex:
10174 @if flex
10175 maybe-html-flex: html-flex
10177 html-flex: \
10178 configure-flex
10179 @$(unstage)
10180 @[ -f ./flex/Makefile ] || exit 0; \
10181 r=`${PWD_COMMAND}`; export r; \
10182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10183 $(HOST_EXPORTS) \
10184 for flag in $(EXTRA_HOST_FLAGS) ; do \
10185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10186 done; \
10187 echo "Doing html in flex" ; \
10188 (cd $(HOST_SUBDIR)/flex && \
10189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10191 "RANLIB=$${RANLIB}" \
10192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10193 html) \
10194 || exit 1
10196 @endif flex
10198 .PHONY: maybe-TAGS-flex TAGS-flex
10199 maybe-TAGS-flex:
10200 @if flex
10201 maybe-TAGS-flex: TAGS-flex
10203 TAGS-flex: \
10204 configure-flex
10205 @$(unstage)
10206 @[ -f ./flex/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 $(HOST_EXPORTS) \
10210 for flag in $(EXTRA_HOST_FLAGS) ; do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10212 done; \
10213 echo "Doing TAGS in flex" ; \
10214 (cd $(HOST_SUBDIR)/flex && \
10215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10217 "RANLIB=$${RANLIB}" \
10218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10219 TAGS) \
10220 || exit 1
10222 @endif flex
10224 .PHONY: maybe-install-info-flex install-info-flex
10225 maybe-install-info-flex:
10226 @if flex
10227 maybe-install-info-flex: install-info-flex
10229 install-info-flex: \
10230 configure-flex \
10231 info-flex
10232 @$(unstage)
10233 @[ -f ./flex/Makefile ] || exit 0; \
10234 r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10236 $(HOST_EXPORTS) \
10237 for flag in $(EXTRA_HOST_FLAGS) ; do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10239 done; \
10240 echo "Doing install-info in flex" ; \
10241 (cd $(HOST_SUBDIR)/flex && \
10242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10244 "RANLIB=$${RANLIB}" \
10245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10246 install-info) \
10247 || exit 1
10249 @endif flex
10251 .PHONY: maybe-installcheck-flex installcheck-flex
10252 maybe-installcheck-flex:
10253 @if flex
10254 maybe-installcheck-flex: installcheck-flex
10256 installcheck-flex: \
10257 configure-flex
10258 @$(unstage)
10259 @[ -f ./flex/Makefile ] || exit 0; \
10260 r=`${PWD_COMMAND}`; export r; \
10261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10262 $(HOST_EXPORTS) \
10263 for flag in $(EXTRA_HOST_FLAGS) ; do \
10264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10265 done; \
10266 echo "Doing installcheck in flex" ; \
10267 (cd $(HOST_SUBDIR)/flex && \
10268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10270 "RANLIB=$${RANLIB}" \
10271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10272 installcheck) \
10273 || exit 1
10275 @endif flex
10277 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10278 maybe-mostlyclean-flex:
10279 @if flex
10280 maybe-mostlyclean-flex: mostlyclean-flex
10282 mostlyclean-flex:
10283 @$(unstage)
10284 @[ -f ./flex/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 $(HOST_EXPORTS) \
10288 for flag in $(EXTRA_HOST_FLAGS) ; do \
10289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10290 done; \
10291 echo "Doing mostlyclean in flex" ; \
10292 (cd $(HOST_SUBDIR)/flex && \
10293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10295 "RANLIB=$${RANLIB}" \
10296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10297 mostlyclean) \
10298 || exit 1
10300 @endif flex
10302 .PHONY: maybe-clean-flex clean-flex
10303 maybe-clean-flex:
10304 @if flex
10305 maybe-clean-flex: clean-flex
10307 clean-flex:
10308 @$(unstage)
10309 @[ -f ./flex/Makefile ] || exit 0; \
10310 r=`${PWD_COMMAND}`; export r; \
10311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10312 $(HOST_EXPORTS) \
10313 for flag in $(EXTRA_HOST_FLAGS) ; do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10315 done; \
10316 echo "Doing clean in flex" ; \
10317 (cd $(HOST_SUBDIR)/flex && \
10318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10320 "RANLIB=$${RANLIB}" \
10321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10322 clean) \
10323 || exit 1
10325 @endif flex
10327 .PHONY: maybe-distclean-flex distclean-flex
10328 maybe-distclean-flex:
10329 @if flex
10330 maybe-distclean-flex: distclean-flex
10332 distclean-flex:
10333 @$(unstage)
10334 @[ -f ./flex/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 for flag in $(EXTRA_HOST_FLAGS) ; do \
10339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10340 done; \
10341 echo "Doing distclean in flex" ; \
10342 (cd $(HOST_SUBDIR)/flex && \
10343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10345 "RANLIB=$${RANLIB}" \
10346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10347 distclean) \
10348 || exit 1
10350 @endif flex
10352 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10353 maybe-maintainer-clean-flex:
10354 @if flex
10355 maybe-maintainer-clean-flex: maintainer-clean-flex
10357 maintainer-clean-flex:
10358 @$(unstage)
10359 @[ -f ./flex/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 $(HOST_EXPORTS) \
10363 for flag in $(EXTRA_HOST_FLAGS) ; do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10365 done; \
10366 echo "Doing maintainer-clean in flex" ; \
10367 (cd $(HOST_SUBDIR)/flex && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10370 "RANLIB=$${RANLIB}" \
10371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10372 maintainer-clean) \
10373 || exit 1
10375 @endif flex
10379 .PHONY: configure-gas maybe-configure-gas
10380 maybe-configure-gas:
10381 @if gas
10382 maybe-configure-gas: configure-gas
10383 configure-gas:
10384 @test -f stage_last && exit 0; \
10385 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10387 r=`${PWD_COMMAND}`; export r; \
10388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389 $(HOST_EXPORTS) \
10390 echo Configuring in $(HOST_SUBDIR)/gas; \
10391 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10392 case $(srcdir) in \
10393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10394 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10396 esac; \
10397 srcdiroption="--srcdir=$${topdir}/gas"; \
10398 libsrcdir="$$s/gas"; \
10399 $(SHELL) $${libsrcdir}/configure \
10400 $(HOST_CONFIGARGS) $${srcdiroption} \
10401 || exit 1
10402 @endif gas
10406 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10407 maybe-configure-stage1-gas:
10408 @if gas-bootstrap
10409 maybe-configure-stage1-gas: configure-stage1-gas
10410 configure-stage1-gas:
10411 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10412 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10413 r=`${PWD_COMMAND}`; export r; \
10414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10415 $(HOST_EXPORTS) \
10416 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10417 cd $(HOST_SUBDIR)/gas || exit 1; \
10418 case $(srcdir) in \
10419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10420 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10422 esac; \
10423 srcdiroption="--srcdir=$${topdir}/gas"; \
10424 libsrcdir="$$s/gas"; \
10425 $(SHELL) $${libsrcdir}/configure \
10426 $(HOST_CONFIGARGS) $${srcdiroption} \
10427 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10428 @endif gas-bootstrap
10430 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10431 maybe-configure-stage2-gas:
10432 @if gas-bootstrap
10433 maybe-configure-stage2-gas: configure-stage2-gas
10434 configure-stage2-gas:
10435 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10436 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10437 r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439 $(HOST_EXPORTS) \
10440 $(POSTSTAGE1_HOST_EXPORTS) \
10441 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10442 cd $(HOST_SUBDIR)/gas || exit 1; \
10443 case $(srcdir) in \
10444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10445 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10447 esac; \
10448 srcdiroption="--srcdir=$${topdir}/gas"; \
10449 libsrcdir="$$s/gas"; \
10450 $(SHELL) $${libsrcdir}/configure \
10451 $(HOST_CONFIGARGS) $${srcdiroption} \
10452 @stage2_werror_flag@
10453 @endif gas-bootstrap
10455 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10456 maybe-configure-stage3-gas:
10457 @if gas-bootstrap
10458 maybe-configure-stage3-gas: configure-stage3-gas
10459 configure-stage3-gas:
10460 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10461 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(HOST_EXPORTS) \
10465 $(POSTSTAGE1_HOST_EXPORTS) \
10466 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10467 cd $(HOST_SUBDIR)/gas || exit 1; \
10468 case $(srcdir) in \
10469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10470 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10472 esac; \
10473 srcdiroption="--srcdir=$${topdir}/gas"; \
10474 libsrcdir="$$s/gas"; \
10475 $(SHELL) $${libsrcdir}/configure \
10476 $(HOST_CONFIGARGS) $${srcdiroption} \
10477 @stage2_werror_flag@
10478 @endif gas-bootstrap
10480 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10481 maybe-configure-stage4-gas:
10482 @if gas-bootstrap
10483 maybe-configure-stage4-gas: configure-stage4-gas
10484 configure-stage4-gas:
10485 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10486 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10487 r=`${PWD_COMMAND}`; export r; \
10488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10489 $(HOST_EXPORTS) \
10490 $(POSTSTAGE1_HOST_EXPORTS) \
10491 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10492 cd $(HOST_SUBDIR)/gas || exit 1; \
10493 case $(srcdir) in \
10494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10495 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10497 esac; \
10498 srcdiroption="--srcdir=$${topdir}/gas"; \
10499 libsrcdir="$$s/gas"; \
10500 $(SHELL) $${libsrcdir}/configure \
10501 $(HOST_CONFIGARGS) $${srcdiroption} \
10502 @stage2_werror_flag@
10503 @endif gas-bootstrap
10505 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10506 maybe-configure-stageprofile-gas:
10507 @if gas-bootstrap
10508 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10509 configure-stageprofile-gas:
10510 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10511 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10512 r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 $(HOST_EXPORTS) \
10515 $(POSTSTAGE1_HOST_EXPORTS) \
10516 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10517 cd $(HOST_SUBDIR)/gas || exit 1; \
10518 case $(srcdir) in \
10519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10520 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10522 esac; \
10523 srcdiroption="--srcdir=$${topdir}/gas"; \
10524 libsrcdir="$$s/gas"; \
10525 $(SHELL) $${libsrcdir}/configure \
10526 $(HOST_CONFIGARGS) $${srcdiroption} \
10527 @stage2_werror_flag@
10528 @endif gas-bootstrap
10530 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10531 maybe-configure-stagefeedback-gas:
10532 @if gas-bootstrap
10533 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10534 configure-stagefeedback-gas:
10535 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10536 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10537 r=`${PWD_COMMAND}`; export r; \
10538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10539 $(HOST_EXPORTS) \
10540 $(POSTSTAGE1_HOST_EXPORTS) \
10541 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10542 cd $(HOST_SUBDIR)/gas || exit 1; \
10543 case $(srcdir) in \
10544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10545 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10547 esac; \
10548 srcdiroption="--srcdir=$${topdir}/gas"; \
10549 libsrcdir="$$s/gas"; \
10550 $(SHELL) $${libsrcdir}/configure \
10551 $(HOST_CONFIGARGS) $${srcdiroption} \
10552 @stage2_werror_flag@
10553 @endif gas-bootstrap
10559 .PHONY: all-gas maybe-all-gas
10560 maybe-all-gas:
10561 @if gas
10562 TARGET-gas=all
10563 maybe-all-gas: all-gas
10564 all-gas: configure-gas
10565 @test -f stage_last && exit 0; \
10566 r=`${PWD_COMMAND}`; export r; \
10567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10568 $(HOST_EXPORTS) \
10569 (cd $(HOST_SUBDIR)/gas && \
10570 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10571 @endif gas
10575 .PHONY: all-stage1-gas maybe-all-stage1-gas
10576 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10577 maybe-all-stage1-gas:
10578 maybe-clean-stage1-gas:
10579 @if gas-bootstrap
10580 maybe-all-stage1-gas: all-stage1-gas
10581 all-stage1: all-stage1-gas
10582 TARGET-stage1-gas = $(TARGET-gas)
10583 all-stage1-gas: configure-stage1-gas
10584 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10585 @r=`${PWD_COMMAND}`; export r; \
10586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10587 $(HOST_EXPORTS) \
10588 cd $(HOST_SUBDIR)/gas && \
10589 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10590 $(TARGET-stage1-gas)
10592 maybe-clean-stage1-gas: clean-stage1-gas
10593 clean-stage1: clean-stage1-gas
10594 clean-stage1-gas:
10595 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10596 || exit 0 ; \
10597 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10598 cd $(HOST_SUBDIR)/gas && \
10599 $(MAKE) $(FLAGS_TO_PASS) \
10600 CFLAGS="$(STAGE1_CFLAGS)" clean
10601 @endif gas-bootstrap
10604 .PHONY: all-stage2-gas maybe-all-stage2-gas
10605 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10606 maybe-all-stage2-gas:
10607 maybe-clean-stage2-gas:
10608 @if gas-bootstrap
10609 maybe-all-stage2-gas: all-stage2-gas
10610 all-stage2: all-stage2-gas
10611 TARGET-stage2-gas = $(TARGET-gas)
10612 all-stage2-gas: configure-stage2-gas
10613 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10614 @r=`${PWD_COMMAND}`; export r; \
10615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10616 $(HOST_EXPORTS) \
10617 $(POSTSTAGE1_HOST_EXPORTS) \
10618 cd $(HOST_SUBDIR)/gas && \
10619 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10620 $(TARGET-stage2-gas)
10622 maybe-clean-stage2-gas: clean-stage2-gas
10623 clean-stage2: clean-stage2-gas
10624 clean-stage2-gas:
10625 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10626 || exit 0 ; \
10627 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10628 cd $(HOST_SUBDIR)/gas && \
10629 $(MAKE) $(FLAGS_TO_PASS) \
10630 $(POSTSTAGE1_FLAGS_TO_PASS) \
10631 clean
10632 @endif gas-bootstrap
10635 .PHONY: all-stage3-gas maybe-all-stage3-gas
10636 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10637 maybe-all-stage3-gas:
10638 maybe-clean-stage3-gas:
10639 @if gas-bootstrap
10640 maybe-all-stage3-gas: all-stage3-gas
10641 all-stage3: all-stage3-gas
10642 TARGET-stage3-gas = $(TARGET-gas)
10643 all-stage3-gas: configure-stage3-gas
10644 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10645 @r=`${PWD_COMMAND}`; export r; \
10646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10647 $(HOST_EXPORTS) \
10648 $(POSTSTAGE1_HOST_EXPORTS) \
10649 cd $(HOST_SUBDIR)/gas && \
10650 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10651 $(TARGET-stage3-gas)
10653 maybe-clean-stage3-gas: clean-stage3-gas
10654 clean-stage3: clean-stage3-gas
10655 clean-stage3-gas:
10656 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10657 || exit 0 ; \
10658 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10659 cd $(HOST_SUBDIR)/gas && \
10660 $(MAKE) $(FLAGS_TO_PASS) \
10661 $(POSTSTAGE1_FLAGS_TO_PASS) \
10662 clean
10663 @endif gas-bootstrap
10666 .PHONY: all-stage4-gas maybe-all-stage4-gas
10667 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10668 maybe-all-stage4-gas:
10669 maybe-clean-stage4-gas:
10670 @if gas-bootstrap
10671 maybe-all-stage4-gas: all-stage4-gas
10672 all-stage4: all-stage4-gas
10673 TARGET-stage4-gas = $(TARGET-gas)
10674 all-stage4-gas: configure-stage4-gas
10675 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10676 @r=`${PWD_COMMAND}`; export r; \
10677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10678 $(HOST_EXPORTS) \
10679 $(POSTSTAGE1_HOST_EXPORTS) \
10680 cd $(HOST_SUBDIR)/gas && \
10681 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10682 $(TARGET-stage4-gas)
10684 maybe-clean-stage4-gas: clean-stage4-gas
10685 clean-stage4: clean-stage4-gas
10686 clean-stage4-gas:
10687 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10688 || exit 0 ; \
10689 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10690 cd $(HOST_SUBDIR)/gas && \
10691 $(MAKE) $(FLAGS_TO_PASS) \
10692 $(POSTSTAGE1_FLAGS_TO_PASS) \
10693 clean
10694 @endif gas-bootstrap
10697 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10698 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10699 maybe-all-stageprofile-gas:
10700 maybe-clean-stageprofile-gas:
10701 @if gas-bootstrap
10702 maybe-all-stageprofile-gas: all-stageprofile-gas
10703 all-stageprofile: all-stageprofile-gas
10704 TARGET-stageprofile-gas = $(TARGET-gas)
10705 all-stageprofile-gas: configure-stageprofile-gas
10706 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10707 @r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 $(HOST_EXPORTS) \
10710 $(POSTSTAGE1_HOST_EXPORTS) \
10711 cd $(HOST_SUBDIR)/gas && \
10712 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10713 $(TARGET-stageprofile-gas)
10715 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10716 clean-stageprofile: clean-stageprofile-gas
10717 clean-stageprofile-gas:
10718 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10719 || exit 0 ; \
10720 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10721 cd $(HOST_SUBDIR)/gas && \
10722 $(MAKE) $(FLAGS_TO_PASS) \
10723 $(POSTSTAGE1_FLAGS_TO_PASS) \
10724 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10725 @endif gas-bootstrap
10728 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10729 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10730 maybe-all-stagefeedback-gas:
10731 maybe-clean-stagefeedback-gas:
10732 @if gas-bootstrap
10733 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10734 all-stagefeedback: all-stagefeedback-gas
10735 TARGET-stagefeedback-gas = $(TARGET-gas)
10736 all-stagefeedback-gas: configure-stagefeedback-gas
10737 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10738 @r=`${PWD_COMMAND}`; export r; \
10739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10740 $(HOST_EXPORTS) \
10741 $(POSTSTAGE1_HOST_EXPORTS) \
10742 cd $(HOST_SUBDIR)/gas && \
10743 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10744 $(TARGET-stagefeedback-gas)
10746 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10747 clean-stagefeedback: clean-stagefeedback-gas
10748 clean-stagefeedback-gas:
10749 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10750 || exit 0 ; \
10751 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10752 cd $(HOST_SUBDIR)/gas && \
10753 $(MAKE) $(FLAGS_TO_PASS) \
10754 $(POSTSTAGE1_FLAGS_TO_PASS) \
10755 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10756 @endif gas-bootstrap
10762 .PHONY: check-gas maybe-check-gas
10763 maybe-check-gas:
10764 @if gas
10765 maybe-check-gas: check-gas
10767 check-gas:
10768 @$(unstage)
10769 @r=`${PWD_COMMAND}`; export r; \
10770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10771 $(HOST_EXPORTS) \
10772 (cd $(HOST_SUBDIR)/gas && \
10773 $(MAKE) $(FLAGS_TO_PASS) check)
10775 @endif gas
10777 .PHONY: install-gas maybe-install-gas
10778 maybe-install-gas:
10779 @if gas
10780 maybe-install-gas: install-gas
10782 install-gas: installdirs
10783 @$(unstage)
10784 @r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(HOST_EXPORTS) \
10787 (cd $(HOST_SUBDIR)/gas && \
10788 $(MAKE) $(FLAGS_TO_PASS) install)
10790 @endif gas
10792 # Other targets (info, dvi, etc.)
10794 .PHONY: maybe-info-gas info-gas
10795 maybe-info-gas:
10796 @if gas
10797 maybe-info-gas: info-gas
10799 info-gas: \
10800 configure-gas
10801 @[ -f ./gas/Makefile ] || exit 0; \
10802 r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804 $(HOST_EXPORTS) \
10805 for flag in $(EXTRA_HOST_FLAGS) ; do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807 done; \
10808 echo "Doing info in gas" ; \
10809 (cd $(HOST_SUBDIR)/gas && \
10810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812 "RANLIB=$${RANLIB}" \
10813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10814 info) \
10815 || exit 1
10817 @endif gas
10819 .PHONY: maybe-dvi-gas dvi-gas
10820 maybe-dvi-gas:
10821 @if gas
10822 maybe-dvi-gas: dvi-gas
10824 dvi-gas: \
10825 configure-gas
10826 @[ -f ./gas/Makefile ] || exit 0; \
10827 r=`${PWD_COMMAND}`; export r; \
10828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10829 $(HOST_EXPORTS) \
10830 for flag in $(EXTRA_HOST_FLAGS) ; do \
10831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10832 done; \
10833 echo "Doing dvi in gas" ; \
10834 (cd $(HOST_SUBDIR)/gas && \
10835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10837 "RANLIB=$${RANLIB}" \
10838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10839 dvi) \
10840 || exit 1
10842 @endif gas
10844 .PHONY: maybe-html-gas html-gas
10845 maybe-html-gas:
10846 @if gas
10847 maybe-html-gas: html-gas
10849 html-gas: \
10850 configure-gas
10851 @[ -f ./gas/Makefile ] || exit 0; \
10852 r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 $(HOST_EXPORTS) \
10855 for flag in $(EXTRA_HOST_FLAGS) ; do \
10856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10857 done; \
10858 echo "Doing html in gas" ; \
10859 (cd $(HOST_SUBDIR)/gas && \
10860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10862 "RANLIB=$${RANLIB}" \
10863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10864 html) \
10865 || exit 1
10867 @endif gas
10869 .PHONY: maybe-TAGS-gas TAGS-gas
10870 maybe-TAGS-gas:
10871 @if gas
10872 maybe-TAGS-gas: TAGS-gas
10874 TAGS-gas: \
10875 configure-gas
10876 @[ -f ./gas/Makefile ] || exit 0; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 $(HOST_EXPORTS) \
10880 for flag in $(EXTRA_HOST_FLAGS) ; do \
10881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10882 done; \
10883 echo "Doing TAGS in gas" ; \
10884 (cd $(HOST_SUBDIR)/gas && \
10885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10887 "RANLIB=$${RANLIB}" \
10888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10889 TAGS) \
10890 || exit 1
10892 @endif gas
10894 .PHONY: maybe-install-info-gas install-info-gas
10895 maybe-install-info-gas:
10896 @if gas
10897 maybe-install-info-gas: install-info-gas
10899 install-info-gas: \
10900 configure-gas \
10901 info-gas
10902 @[ -f ./gas/Makefile ] || exit 0; \
10903 r=`${PWD_COMMAND}`; export r; \
10904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10905 $(HOST_EXPORTS) \
10906 for flag in $(EXTRA_HOST_FLAGS) ; do \
10907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10908 done; \
10909 echo "Doing install-info in gas" ; \
10910 (cd $(HOST_SUBDIR)/gas && \
10911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10913 "RANLIB=$${RANLIB}" \
10914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10915 install-info) \
10916 || exit 1
10918 @endif gas
10920 .PHONY: maybe-installcheck-gas installcheck-gas
10921 maybe-installcheck-gas:
10922 @if gas
10923 maybe-installcheck-gas: installcheck-gas
10925 installcheck-gas: \
10926 configure-gas
10927 @[ -f ./gas/Makefile ] || exit 0; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10930 $(HOST_EXPORTS) \
10931 for flag in $(EXTRA_HOST_FLAGS) ; do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10933 done; \
10934 echo "Doing installcheck in gas" ; \
10935 (cd $(HOST_SUBDIR)/gas && \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938 "RANLIB=$${RANLIB}" \
10939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10940 installcheck) \
10941 || exit 1
10943 @endif gas
10945 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10946 maybe-mostlyclean-gas:
10947 @if gas
10948 maybe-mostlyclean-gas: mostlyclean-gas
10950 mostlyclean-gas:
10951 @[ -f ./gas/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 $(HOST_EXPORTS) \
10955 for flag in $(EXTRA_HOST_FLAGS) ; do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 done; \
10958 echo "Doing mostlyclean in gas" ; \
10959 (cd $(HOST_SUBDIR)/gas && \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962 "RANLIB=$${RANLIB}" \
10963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10964 mostlyclean) \
10965 || exit 1
10967 @endif gas
10969 .PHONY: maybe-clean-gas clean-gas
10970 maybe-clean-gas:
10971 @if gas
10972 maybe-clean-gas: clean-gas
10974 clean-gas:
10975 @[ -f ./gas/Makefile ] || exit 0; \
10976 r=`${PWD_COMMAND}`; export r; \
10977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10978 $(HOST_EXPORTS) \
10979 for flag in $(EXTRA_HOST_FLAGS) ; do \
10980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10981 done; \
10982 echo "Doing clean in gas" ; \
10983 (cd $(HOST_SUBDIR)/gas && \
10984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10986 "RANLIB=$${RANLIB}" \
10987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10988 clean) \
10989 || exit 1
10991 @endif gas
10993 .PHONY: maybe-distclean-gas distclean-gas
10994 maybe-distclean-gas:
10995 @if gas
10996 maybe-distclean-gas: distclean-gas
10998 distclean-gas:
10999 @[ -f ./gas/Makefile ] || exit 0; \
11000 r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002 $(HOST_EXPORTS) \
11003 for flag in $(EXTRA_HOST_FLAGS) ; do \
11004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11005 done; \
11006 echo "Doing distclean in gas" ; \
11007 (cd $(HOST_SUBDIR)/gas && \
11008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11010 "RANLIB=$${RANLIB}" \
11011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11012 distclean) \
11013 || exit 1
11015 @endif gas
11017 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11018 maybe-maintainer-clean-gas:
11019 @if gas
11020 maybe-maintainer-clean-gas: maintainer-clean-gas
11022 maintainer-clean-gas:
11023 @[ -f ./gas/Makefile ] || exit 0; \
11024 r=`${PWD_COMMAND}`; export r; \
11025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11026 $(HOST_EXPORTS) \
11027 for flag in $(EXTRA_HOST_FLAGS) ; do \
11028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11029 done; \
11030 echo "Doing maintainer-clean in gas" ; \
11031 (cd $(HOST_SUBDIR)/gas && \
11032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11034 "RANLIB=$${RANLIB}" \
11035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11036 maintainer-clean) \
11037 || exit 1
11039 @endif gas
11043 .PHONY: configure-gcc maybe-configure-gcc
11044 maybe-configure-gcc:
11045 @if gcc
11046 maybe-configure-gcc: configure-gcc
11047 configure-gcc:
11048 @test -f stage_last && exit 0; \
11049 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11051 r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 $(HOST_EXPORTS) \
11054 echo Configuring in $(HOST_SUBDIR)/gcc; \
11055 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11056 case $(srcdir) in \
11057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11058 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11060 esac; \
11061 srcdiroption="--srcdir=$${topdir}/gcc"; \
11062 libsrcdir="$$s/gcc"; \
11063 $(SHELL) $${libsrcdir}/configure \
11064 $(HOST_CONFIGARGS) $${srcdiroption} \
11065 || exit 1
11066 @endif gcc
11070 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11071 maybe-configure-stage1-gcc:
11072 @if gcc-bootstrap
11073 maybe-configure-stage1-gcc: configure-stage1-gcc
11074 configure-stage1-gcc:
11075 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11076 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11077 r=`${PWD_COMMAND}`; export r; \
11078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11079 $(HOST_EXPORTS) \
11080 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11081 cd $(HOST_SUBDIR)/gcc || exit 1; \
11082 case $(srcdir) in \
11083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11084 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11086 esac; \
11087 srcdiroption="--srcdir=$${topdir}/gcc"; \
11088 libsrcdir="$$s/gcc"; \
11089 $(SHELL) $${libsrcdir}/configure \
11090 $(HOST_CONFIGARGS) $${srcdiroption} \
11091 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11092 @endif gcc-bootstrap
11094 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11095 maybe-configure-stage2-gcc:
11096 @if gcc-bootstrap
11097 maybe-configure-stage2-gcc: configure-stage2-gcc
11098 configure-stage2-gcc:
11099 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11100 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(HOST_EXPORTS) \
11104 $(POSTSTAGE1_HOST_EXPORTS) \
11105 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11106 cd $(HOST_SUBDIR)/gcc || exit 1; \
11107 case $(srcdir) in \
11108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11109 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11111 esac; \
11112 srcdiroption="--srcdir=$${topdir}/gcc"; \
11113 libsrcdir="$$s/gcc"; \
11114 $(SHELL) $${libsrcdir}/configure \
11115 $(HOST_CONFIGARGS) $${srcdiroption} \
11116 @stage2_werror_flag@
11117 @endif gcc-bootstrap
11119 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11120 maybe-configure-stage3-gcc:
11121 @if gcc-bootstrap
11122 maybe-configure-stage3-gcc: configure-stage3-gcc
11123 configure-stage3-gcc:
11124 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11125 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(HOST_EXPORTS) \
11129 $(POSTSTAGE1_HOST_EXPORTS) \
11130 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11131 cd $(HOST_SUBDIR)/gcc || exit 1; \
11132 case $(srcdir) in \
11133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11134 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11136 esac; \
11137 srcdiroption="--srcdir=$${topdir}/gcc"; \
11138 libsrcdir="$$s/gcc"; \
11139 $(SHELL) $${libsrcdir}/configure \
11140 $(HOST_CONFIGARGS) $${srcdiroption} \
11141 @stage2_werror_flag@
11142 @endif gcc-bootstrap
11144 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11145 maybe-configure-stage4-gcc:
11146 @if gcc-bootstrap
11147 maybe-configure-stage4-gcc: configure-stage4-gcc
11148 configure-stage4-gcc:
11149 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11150 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11151 r=`${PWD_COMMAND}`; export r; \
11152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 $(HOST_EXPORTS) \
11154 $(POSTSTAGE1_HOST_EXPORTS) \
11155 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11156 cd $(HOST_SUBDIR)/gcc || exit 1; \
11157 case $(srcdir) in \
11158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11159 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11161 esac; \
11162 srcdiroption="--srcdir=$${topdir}/gcc"; \
11163 libsrcdir="$$s/gcc"; \
11164 $(SHELL) $${libsrcdir}/configure \
11165 $(HOST_CONFIGARGS) $${srcdiroption} \
11166 @stage2_werror_flag@
11167 @endif gcc-bootstrap
11169 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11170 maybe-configure-stageprofile-gcc:
11171 @if gcc-bootstrap
11172 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11173 configure-stageprofile-gcc:
11174 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11175 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11176 r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 $(POSTSTAGE1_HOST_EXPORTS) \
11180 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11181 cd $(HOST_SUBDIR)/gcc || exit 1; \
11182 case $(srcdir) in \
11183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11184 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11186 esac; \
11187 srcdiroption="--srcdir=$${topdir}/gcc"; \
11188 libsrcdir="$$s/gcc"; \
11189 $(SHELL) $${libsrcdir}/configure \
11190 $(HOST_CONFIGARGS) $${srcdiroption} \
11191 @stage2_werror_flag@
11192 @endif gcc-bootstrap
11194 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11195 maybe-configure-stagefeedback-gcc:
11196 @if gcc-bootstrap
11197 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11198 configure-stagefeedback-gcc:
11199 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11200 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11201 r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(HOST_EXPORTS) \
11204 $(POSTSTAGE1_HOST_EXPORTS) \
11205 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11206 cd $(HOST_SUBDIR)/gcc || exit 1; \
11207 case $(srcdir) in \
11208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11209 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11211 esac; \
11212 srcdiroption="--srcdir=$${topdir}/gcc"; \
11213 libsrcdir="$$s/gcc"; \
11214 $(SHELL) $${libsrcdir}/configure \
11215 $(HOST_CONFIGARGS) $${srcdiroption} \
11216 @stage2_werror_flag@
11217 @endif gcc-bootstrap
11223 .PHONY: all-gcc maybe-all-gcc
11224 maybe-all-gcc:
11225 @if gcc
11226 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
11227 maybe-all-gcc: all-gcc
11228 all-gcc: configure-gcc
11229 @test -f stage_last && exit 0; \
11230 r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 $(HOST_EXPORTS) \
11233 (cd $(HOST_SUBDIR)/gcc && \
11234 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11235 @endif gcc
11239 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11240 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11241 maybe-all-stage1-gcc:
11242 maybe-clean-stage1-gcc:
11243 @if gcc-bootstrap
11244 maybe-all-stage1-gcc: all-stage1-gcc
11245 all-stage1: all-stage1-gcc
11246 TARGET-stage1-gcc = $(TARGET-gcc)
11247 all-stage1-gcc: configure-stage1-gcc
11248 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11249 @r=`${PWD_COMMAND}`; export r; \
11250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11251 $(HOST_EXPORTS) \
11252 cd $(HOST_SUBDIR)/gcc && \
11253 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11254 $(TARGET-stage1-gcc)
11256 maybe-clean-stage1-gcc: clean-stage1-gcc
11257 clean-stage1: clean-stage1-gcc
11258 clean-stage1-gcc:
11259 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11260 || exit 0 ; \
11261 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11262 cd $(HOST_SUBDIR)/gcc && \
11263 $(MAKE) $(FLAGS_TO_PASS) \
11264 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11265 @endif gcc-bootstrap
11268 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11269 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11270 maybe-all-stage2-gcc:
11271 maybe-clean-stage2-gcc:
11272 @if gcc-bootstrap
11273 maybe-all-stage2-gcc: all-stage2-gcc
11274 all-stage2: all-stage2-gcc
11275 TARGET-stage2-gcc = $(TARGET-gcc)
11276 all-stage2-gcc: configure-stage2-gcc
11277 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11278 @r=`${PWD_COMMAND}`; export r; \
11279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11280 $(HOST_EXPORTS) \
11281 $(POSTSTAGE1_HOST_EXPORTS) \
11282 cd $(HOST_SUBDIR)/gcc && \
11283 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11284 $(TARGET-stage2-gcc)
11286 maybe-clean-stage2-gcc: clean-stage2-gcc
11287 clean-stage2: clean-stage2-gcc
11288 clean-stage2-gcc:
11289 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11290 || exit 0 ; \
11291 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11292 cd $(HOST_SUBDIR)/gcc && \
11293 $(MAKE) $(FLAGS_TO_PASS) \
11294 $(POSTSTAGE1_FLAGS_TO_PASS) \
11295 $(EXTRA_GCC_FLAGS) clean
11296 @endif gcc-bootstrap
11299 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11300 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11301 maybe-all-stage3-gcc:
11302 maybe-clean-stage3-gcc:
11303 @if gcc-bootstrap
11304 maybe-all-stage3-gcc: all-stage3-gcc
11305 all-stage3: all-stage3-gcc
11306 TARGET-stage3-gcc = $(TARGET-gcc)
11307 all-stage3-gcc: configure-stage3-gcc
11308 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11309 @r=`${PWD_COMMAND}`; export r; \
11310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11311 $(HOST_EXPORTS) \
11312 $(POSTSTAGE1_HOST_EXPORTS) \
11313 cd $(HOST_SUBDIR)/gcc && \
11314 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11315 $(TARGET-stage3-gcc)
11317 maybe-clean-stage3-gcc: clean-stage3-gcc
11318 clean-stage3: clean-stage3-gcc
11319 clean-stage3-gcc:
11320 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11321 || exit 0 ; \
11322 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11323 cd $(HOST_SUBDIR)/gcc && \
11324 $(MAKE) $(FLAGS_TO_PASS) \
11325 $(POSTSTAGE1_FLAGS_TO_PASS) \
11326 $(EXTRA_GCC_FLAGS) clean
11327 @endif gcc-bootstrap
11330 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11331 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11332 maybe-all-stage4-gcc:
11333 maybe-clean-stage4-gcc:
11334 @if gcc-bootstrap
11335 maybe-all-stage4-gcc: all-stage4-gcc
11336 all-stage4: all-stage4-gcc
11337 TARGET-stage4-gcc = $(TARGET-gcc)
11338 all-stage4-gcc: configure-stage4-gcc
11339 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11340 @r=`${PWD_COMMAND}`; export r; \
11341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11342 $(HOST_EXPORTS) \
11343 $(POSTSTAGE1_HOST_EXPORTS) \
11344 cd $(HOST_SUBDIR)/gcc && \
11345 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11346 $(TARGET-stage4-gcc)
11348 maybe-clean-stage4-gcc: clean-stage4-gcc
11349 clean-stage4: clean-stage4-gcc
11350 clean-stage4-gcc:
11351 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11352 || exit 0 ; \
11353 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11354 cd $(HOST_SUBDIR)/gcc && \
11355 $(MAKE) $(FLAGS_TO_PASS) \
11356 $(POSTSTAGE1_FLAGS_TO_PASS) \
11357 $(EXTRA_GCC_FLAGS) clean
11358 @endif gcc-bootstrap
11361 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11362 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11363 maybe-all-stageprofile-gcc:
11364 maybe-clean-stageprofile-gcc:
11365 @if gcc-bootstrap
11366 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11367 all-stageprofile: all-stageprofile-gcc
11368 TARGET-stageprofile-gcc = $(TARGET-gcc)
11369 all-stageprofile-gcc: configure-stageprofile-gcc
11370 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11371 @r=`${PWD_COMMAND}`; export r; \
11372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11373 $(HOST_EXPORTS) \
11374 $(POSTSTAGE1_HOST_EXPORTS) \
11375 cd $(HOST_SUBDIR)/gcc && \
11376 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11377 $(TARGET-stageprofile-gcc)
11379 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11380 clean-stageprofile: clean-stageprofile-gcc
11381 clean-stageprofile-gcc:
11382 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11383 || exit 0 ; \
11384 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11385 cd $(HOST_SUBDIR)/gcc && \
11386 $(MAKE) $(FLAGS_TO_PASS) \
11387 $(POSTSTAGE1_FLAGS_TO_PASS) \
11388 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11389 @endif gcc-bootstrap
11392 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11393 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11394 maybe-all-stagefeedback-gcc:
11395 maybe-clean-stagefeedback-gcc:
11396 @if gcc-bootstrap
11397 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11398 all-stagefeedback: all-stagefeedback-gcc
11399 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11400 all-stagefeedback-gcc: configure-stagefeedback-gcc
11401 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11402 @r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 $(HOST_EXPORTS) \
11405 $(POSTSTAGE1_HOST_EXPORTS) \
11406 cd $(HOST_SUBDIR)/gcc && \
11407 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11408 $(TARGET-stagefeedback-gcc)
11410 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11411 clean-stagefeedback: clean-stagefeedback-gcc
11412 clean-stagefeedback-gcc:
11413 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11414 || exit 0 ; \
11415 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11416 cd $(HOST_SUBDIR)/gcc && \
11417 $(MAKE) $(FLAGS_TO_PASS) \
11418 $(POSTSTAGE1_FLAGS_TO_PASS) \
11419 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11420 @endif gcc-bootstrap
11426 .PHONY: check-gcc maybe-check-gcc
11427 maybe-check-gcc:
11428 @if gcc
11429 maybe-check-gcc: check-gcc
11431 check-gcc:
11432 @$(unstage)
11433 @r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 $(HOST_EXPORTS) \
11436 (cd $(HOST_SUBDIR)/gcc && \
11437 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11439 @endif gcc
11441 .PHONY: install-gcc maybe-install-gcc
11442 maybe-install-gcc:
11443 @if gcc
11444 maybe-install-gcc: install-gcc
11446 install-gcc: installdirs
11447 @$(unstage)
11448 @r=`${PWD_COMMAND}`; export r; \
11449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11450 $(HOST_EXPORTS) \
11451 (cd $(HOST_SUBDIR)/gcc && \
11452 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11454 @endif gcc
11456 # Other targets (info, dvi, etc.)
11458 .PHONY: maybe-info-gcc info-gcc
11459 maybe-info-gcc:
11460 @if gcc
11461 maybe-info-gcc: info-gcc
11463 info-gcc: \
11464 configure-gcc
11465 @[ -f ./gcc/Makefile ] || exit 0; \
11466 r=`${PWD_COMMAND}`; export r; \
11467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11468 $(HOST_EXPORTS) \
11469 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11471 done; \
11472 echo "Doing info in gcc" ; \
11473 (cd $(HOST_SUBDIR)/gcc && \
11474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11476 "RANLIB=$${RANLIB}" \
11477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11478 info) \
11479 || exit 1
11481 @endif gcc
11483 .PHONY: maybe-dvi-gcc dvi-gcc
11484 maybe-dvi-gcc:
11485 @if gcc
11486 maybe-dvi-gcc: dvi-gcc
11488 dvi-gcc: \
11489 configure-gcc
11490 @[ -f ./gcc/Makefile ] || exit 0; \
11491 r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11493 $(HOST_EXPORTS) \
11494 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11496 done; \
11497 echo "Doing dvi in gcc" ; \
11498 (cd $(HOST_SUBDIR)/gcc && \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501 "RANLIB=$${RANLIB}" \
11502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11503 dvi) \
11504 || exit 1
11506 @endif gcc
11508 .PHONY: maybe-html-gcc html-gcc
11509 maybe-html-gcc:
11510 @if gcc
11511 maybe-html-gcc: html-gcc
11513 html-gcc: \
11514 configure-gcc
11515 @[ -f ./gcc/Makefile ] || exit 0; \
11516 r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11518 $(HOST_EXPORTS) \
11519 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11521 done; \
11522 echo "Doing html in gcc" ; \
11523 (cd $(HOST_SUBDIR)/gcc && \
11524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11526 "RANLIB=$${RANLIB}" \
11527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11528 html) \
11529 || exit 1
11531 @endif gcc
11533 .PHONY: maybe-TAGS-gcc TAGS-gcc
11534 maybe-TAGS-gcc:
11535 @if gcc
11536 maybe-TAGS-gcc: TAGS-gcc
11538 TAGS-gcc: \
11539 configure-gcc
11540 @[ -f ./gcc/Makefile ] || exit 0; \
11541 r=`${PWD_COMMAND}`; export r; \
11542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11543 $(HOST_EXPORTS) \
11544 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11546 done; \
11547 echo "Doing TAGS in gcc" ; \
11548 (cd $(HOST_SUBDIR)/gcc && \
11549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11551 "RANLIB=$${RANLIB}" \
11552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11553 TAGS) \
11554 || exit 1
11556 @endif gcc
11558 .PHONY: maybe-install-info-gcc install-info-gcc
11559 maybe-install-info-gcc:
11560 @if gcc
11561 maybe-install-info-gcc: install-info-gcc
11563 install-info-gcc: \
11564 configure-gcc \
11565 info-gcc
11566 @[ -f ./gcc/Makefile ] || exit 0; \
11567 r=`${PWD_COMMAND}`; export r; \
11568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11569 $(HOST_EXPORTS) \
11570 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11572 done; \
11573 echo "Doing install-info in gcc" ; \
11574 (cd $(HOST_SUBDIR)/gcc && \
11575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11577 "RANLIB=$${RANLIB}" \
11578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11579 install-info) \
11580 || exit 1
11582 @endif gcc
11584 .PHONY: maybe-installcheck-gcc installcheck-gcc
11585 maybe-installcheck-gcc:
11586 @if gcc
11587 maybe-installcheck-gcc: installcheck-gcc
11589 installcheck-gcc: \
11590 configure-gcc
11591 @[ -f ./gcc/Makefile ] || exit 0; \
11592 r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 $(HOST_EXPORTS) \
11595 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11597 done; \
11598 echo "Doing installcheck in gcc" ; \
11599 (cd $(HOST_SUBDIR)/gcc && \
11600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11602 "RANLIB=$${RANLIB}" \
11603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11604 installcheck) \
11605 || exit 1
11607 @endif gcc
11609 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11610 maybe-mostlyclean-gcc:
11611 @if gcc
11612 maybe-mostlyclean-gcc: mostlyclean-gcc
11614 mostlyclean-gcc:
11615 @[ -f ./gcc/Makefile ] || exit 0; \
11616 r=`${PWD_COMMAND}`; export r; \
11617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11618 $(HOST_EXPORTS) \
11619 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11621 done; \
11622 echo "Doing mostlyclean in gcc" ; \
11623 (cd $(HOST_SUBDIR)/gcc && \
11624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11626 "RANLIB=$${RANLIB}" \
11627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11628 mostlyclean) \
11629 || exit 1
11631 @endif gcc
11633 .PHONY: maybe-clean-gcc clean-gcc
11634 maybe-clean-gcc:
11635 @if gcc
11636 maybe-clean-gcc: clean-gcc
11638 clean-gcc:
11639 @[ -f ./gcc/Makefile ] || exit 0; \
11640 r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11642 $(HOST_EXPORTS) \
11643 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11645 done; \
11646 echo "Doing clean in gcc" ; \
11647 (cd $(HOST_SUBDIR)/gcc && \
11648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11650 "RANLIB=$${RANLIB}" \
11651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11652 clean) \
11653 || exit 1
11655 @endif gcc
11657 .PHONY: maybe-distclean-gcc distclean-gcc
11658 maybe-distclean-gcc:
11659 @if gcc
11660 maybe-distclean-gcc: distclean-gcc
11662 distclean-gcc:
11663 @[ -f ./gcc/Makefile ] || exit 0; \
11664 r=`${PWD_COMMAND}`; export r; \
11665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11666 $(HOST_EXPORTS) \
11667 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11669 done; \
11670 echo "Doing distclean in gcc" ; \
11671 (cd $(HOST_SUBDIR)/gcc && \
11672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11674 "RANLIB=$${RANLIB}" \
11675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11676 distclean) \
11677 || exit 1
11679 @endif gcc
11681 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11682 maybe-maintainer-clean-gcc:
11683 @if gcc
11684 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11686 maintainer-clean-gcc:
11687 @[ -f ./gcc/Makefile ] || exit 0; \
11688 r=`${PWD_COMMAND}`; export r; \
11689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11690 $(HOST_EXPORTS) \
11691 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11693 done; \
11694 echo "Doing maintainer-clean in gcc" ; \
11695 (cd $(HOST_SUBDIR)/gcc && \
11696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11698 "RANLIB=$${RANLIB}" \
11699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11700 maintainer-clean) \
11701 || exit 1
11703 @endif gcc
11707 .PHONY: configure-gawk maybe-configure-gawk
11708 maybe-configure-gawk:
11709 @if gawk
11710 maybe-configure-gawk: configure-gawk
11711 configure-gawk:
11712 @$(unstage)
11713 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11715 r=`${PWD_COMMAND}`; export r; \
11716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11717 $(HOST_EXPORTS) \
11718 echo Configuring in $(HOST_SUBDIR)/gawk; \
11719 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11720 case $(srcdir) in \
11721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11722 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11724 esac; \
11725 srcdiroption="--srcdir=$${topdir}/gawk"; \
11726 libsrcdir="$$s/gawk"; \
11727 $(SHELL) $${libsrcdir}/configure \
11728 $(HOST_CONFIGARGS) $${srcdiroption} \
11729 || exit 1
11730 @endif gawk
11736 .PHONY: all-gawk maybe-all-gawk
11737 maybe-all-gawk:
11738 @if gawk
11739 TARGET-gawk=all
11740 maybe-all-gawk: all-gawk
11741 all-gawk: configure-gawk
11742 @$(unstage)
11743 @r=`${PWD_COMMAND}`; export r; \
11744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11745 $(HOST_EXPORTS) \
11746 (cd $(HOST_SUBDIR)/gawk && \
11747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11748 @endif gawk
11753 .PHONY: check-gawk maybe-check-gawk
11754 maybe-check-gawk:
11755 @if gawk
11756 maybe-check-gawk: check-gawk
11758 check-gawk:
11759 @$(unstage)
11760 @r=`${PWD_COMMAND}`; export r; \
11761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11762 $(HOST_EXPORTS) \
11763 (cd $(HOST_SUBDIR)/gawk && \
11764 $(MAKE) $(FLAGS_TO_PASS) check)
11766 @endif gawk
11768 .PHONY: install-gawk maybe-install-gawk
11769 maybe-install-gawk:
11770 @if gawk
11771 maybe-install-gawk: install-gawk
11773 install-gawk: installdirs
11774 @$(unstage)
11775 @r=`${PWD_COMMAND}`; export r; \
11776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11777 $(HOST_EXPORTS) \
11778 (cd $(HOST_SUBDIR)/gawk && \
11779 $(MAKE) $(FLAGS_TO_PASS) install)
11781 @endif gawk
11783 # Other targets (info, dvi, etc.)
11785 .PHONY: maybe-info-gawk info-gawk
11786 maybe-info-gawk:
11787 @if gawk
11788 maybe-info-gawk: info-gawk
11790 info-gawk: \
11791 configure-gawk
11792 @$(unstage)
11793 @[ -f ./gawk/Makefile ] || exit 0; \
11794 r=`${PWD_COMMAND}`; export r; \
11795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11796 $(HOST_EXPORTS) \
11797 for flag in $(EXTRA_HOST_FLAGS) ; do \
11798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11799 done; \
11800 echo "Doing info in gawk" ; \
11801 (cd $(HOST_SUBDIR)/gawk && \
11802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11804 "RANLIB=$${RANLIB}" \
11805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11806 info) \
11807 || exit 1
11809 @endif gawk
11811 .PHONY: maybe-dvi-gawk dvi-gawk
11812 maybe-dvi-gawk:
11813 @if gawk
11814 maybe-dvi-gawk: dvi-gawk
11816 dvi-gawk: \
11817 configure-gawk
11818 @$(unstage)
11819 @[ -f ./gawk/Makefile ] || exit 0; \
11820 r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11822 $(HOST_EXPORTS) \
11823 for flag in $(EXTRA_HOST_FLAGS) ; do \
11824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11825 done; \
11826 echo "Doing dvi in gawk" ; \
11827 (cd $(HOST_SUBDIR)/gawk && \
11828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11830 "RANLIB=$${RANLIB}" \
11831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11832 dvi) \
11833 || exit 1
11835 @endif gawk
11837 .PHONY: maybe-html-gawk html-gawk
11838 maybe-html-gawk:
11839 @if gawk
11840 maybe-html-gawk: html-gawk
11842 html-gawk: \
11843 configure-gawk
11844 @$(unstage)
11845 @[ -f ./gawk/Makefile ] || exit 0; \
11846 r=`${PWD_COMMAND}`; export r; \
11847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11848 $(HOST_EXPORTS) \
11849 for flag in $(EXTRA_HOST_FLAGS) ; do \
11850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11851 done; \
11852 echo "Doing html in gawk" ; \
11853 (cd $(HOST_SUBDIR)/gawk && \
11854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11856 "RANLIB=$${RANLIB}" \
11857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11858 html) \
11859 || exit 1
11861 @endif gawk
11863 .PHONY: maybe-TAGS-gawk TAGS-gawk
11864 maybe-TAGS-gawk:
11865 @if gawk
11866 maybe-TAGS-gawk: TAGS-gawk
11868 TAGS-gawk: \
11869 configure-gawk
11870 @$(unstage)
11871 @[ -f ./gawk/Makefile ] || exit 0; \
11872 r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11874 $(HOST_EXPORTS) \
11875 for flag in $(EXTRA_HOST_FLAGS) ; do \
11876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11877 done; \
11878 echo "Doing TAGS in gawk" ; \
11879 (cd $(HOST_SUBDIR)/gawk && \
11880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11882 "RANLIB=$${RANLIB}" \
11883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11884 TAGS) \
11885 || exit 1
11887 @endif gawk
11889 .PHONY: maybe-install-info-gawk install-info-gawk
11890 maybe-install-info-gawk:
11891 @if gawk
11892 maybe-install-info-gawk: install-info-gawk
11894 install-info-gawk: \
11895 configure-gawk \
11896 info-gawk
11897 @$(unstage)
11898 @[ -f ./gawk/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(HOST_EXPORTS) \
11902 for flag in $(EXTRA_HOST_FLAGS) ; do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904 done; \
11905 echo "Doing install-info in gawk" ; \
11906 (cd $(HOST_SUBDIR)/gawk && \
11907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909 "RANLIB=$${RANLIB}" \
11910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11911 install-info) \
11912 || exit 1
11914 @endif gawk
11916 .PHONY: maybe-installcheck-gawk installcheck-gawk
11917 maybe-installcheck-gawk:
11918 @if gawk
11919 maybe-installcheck-gawk: installcheck-gawk
11921 installcheck-gawk: \
11922 configure-gawk
11923 @$(unstage)
11924 @[ -f ./gawk/Makefile ] || exit 0; \
11925 r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927 $(HOST_EXPORTS) \
11928 for flag in $(EXTRA_HOST_FLAGS) ; do \
11929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11930 done; \
11931 echo "Doing installcheck in gawk" ; \
11932 (cd $(HOST_SUBDIR)/gawk && \
11933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11935 "RANLIB=$${RANLIB}" \
11936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11937 installcheck) \
11938 || exit 1
11940 @endif gawk
11942 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11943 maybe-mostlyclean-gawk:
11944 @if gawk
11945 maybe-mostlyclean-gawk: mostlyclean-gawk
11947 mostlyclean-gawk:
11948 @$(unstage)
11949 @[ -f ./gawk/Makefile ] || exit 0; \
11950 r=`${PWD_COMMAND}`; export r; \
11951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11952 $(HOST_EXPORTS) \
11953 for flag in $(EXTRA_HOST_FLAGS) ; do \
11954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11955 done; \
11956 echo "Doing mostlyclean in gawk" ; \
11957 (cd $(HOST_SUBDIR)/gawk && \
11958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11960 "RANLIB=$${RANLIB}" \
11961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11962 mostlyclean) \
11963 || exit 1
11965 @endif gawk
11967 .PHONY: maybe-clean-gawk clean-gawk
11968 maybe-clean-gawk:
11969 @if gawk
11970 maybe-clean-gawk: clean-gawk
11972 clean-gawk:
11973 @$(unstage)
11974 @[ -f ./gawk/Makefile ] || exit 0; \
11975 r=`${PWD_COMMAND}`; export r; \
11976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11977 $(HOST_EXPORTS) \
11978 for flag in $(EXTRA_HOST_FLAGS) ; do \
11979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11980 done; \
11981 echo "Doing clean in gawk" ; \
11982 (cd $(HOST_SUBDIR)/gawk && \
11983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11985 "RANLIB=$${RANLIB}" \
11986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11987 clean) \
11988 || exit 1
11990 @endif gawk
11992 .PHONY: maybe-distclean-gawk distclean-gawk
11993 maybe-distclean-gawk:
11994 @if gawk
11995 maybe-distclean-gawk: distclean-gawk
11997 distclean-gawk:
11998 @$(unstage)
11999 @[ -f ./gawk/Makefile ] || exit 0; \
12000 r=`${PWD_COMMAND}`; export r; \
12001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12002 $(HOST_EXPORTS) \
12003 for flag in $(EXTRA_HOST_FLAGS) ; do \
12004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12005 done; \
12006 echo "Doing distclean in gawk" ; \
12007 (cd $(HOST_SUBDIR)/gawk && \
12008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12010 "RANLIB=$${RANLIB}" \
12011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12012 distclean) \
12013 || exit 1
12015 @endif gawk
12017 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12018 maybe-maintainer-clean-gawk:
12019 @if gawk
12020 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12022 maintainer-clean-gawk:
12023 @$(unstage)
12024 @[ -f ./gawk/Makefile ] || exit 0; \
12025 r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12027 $(HOST_EXPORTS) \
12028 for flag in $(EXTRA_HOST_FLAGS) ; do \
12029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12030 done; \
12031 echo "Doing maintainer-clean in gawk" ; \
12032 (cd $(HOST_SUBDIR)/gawk && \
12033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12035 "RANLIB=$${RANLIB}" \
12036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12037 maintainer-clean) \
12038 || exit 1
12040 @endif gawk
12044 .PHONY: configure-gettext maybe-configure-gettext
12045 maybe-configure-gettext:
12046 @if gettext
12047 maybe-configure-gettext: configure-gettext
12048 configure-gettext:
12049 @$(unstage)
12050 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12052 r=`${PWD_COMMAND}`; export r; \
12053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12054 $(HOST_EXPORTS) \
12055 echo Configuring in $(HOST_SUBDIR)/gettext; \
12056 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12057 case $(srcdir) in \
12058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12059 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12061 esac; \
12062 srcdiroption="--srcdir=$${topdir}/gettext"; \
12063 libsrcdir="$$s/gettext"; \
12064 $(SHELL) $${libsrcdir}/configure \
12065 $(HOST_CONFIGARGS) $${srcdiroption} \
12066 || exit 1
12067 @endif gettext
12073 .PHONY: all-gettext maybe-all-gettext
12074 maybe-all-gettext:
12075 @if gettext
12076 TARGET-gettext=all
12077 maybe-all-gettext: all-gettext
12078 all-gettext: configure-gettext
12079 @$(unstage)
12080 @r=`${PWD_COMMAND}`; export r; \
12081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12082 $(HOST_EXPORTS) \
12083 (cd $(HOST_SUBDIR)/gettext && \
12084 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12085 @endif gettext
12090 .PHONY: check-gettext maybe-check-gettext
12091 maybe-check-gettext:
12092 @if gettext
12093 maybe-check-gettext: check-gettext
12095 check-gettext:
12096 @$(unstage)
12097 @r=`${PWD_COMMAND}`; export r; \
12098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12099 $(HOST_EXPORTS) \
12100 (cd $(HOST_SUBDIR)/gettext && \
12101 $(MAKE) $(FLAGS_TO_PASS) check)
12103 @endif gettext
12105 .PHONY: install-gettext maybe-install-gettext
12106 maybe-install-gettext:
12107 @if gettext
12108 maybe-install-gettext: install-gettext
12110 install-gettext: installdirs
12111 @$(unstage)
12112 @r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12114 $(HOST_EXPORTS) \
12115 (cd $(HOST_SUBDIR)/gettext && \
12116 $(MAKE) $(FLAGS_TO_PASS) install)
12118 @endif gettext
12120 # Other targets (info, dvi, etc.)
12122 .PHONY: maybe-info-gettext info-gettext
12123 maybe-info-gettext:
12124 @if gettext
12125 maybe-info-gettext: info-gettext
12127 info-gettext: \
12128 configure-gettext
12129 @$(unstage)
12130 @[ -f ./gettext/Makefile ] || exit 0; \
12131 r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12133 $(HOST_EXPORTS) \
12134 for flag in $(EXTRA_HOST_FLAGS) ; do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12136 done; \
12137 echo "Doing info in gettext" ; \
12138 (cd $(HOST_SUBDIR)/gettext && \
12139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141 "RANLIB=$${RANLIB}" \
12142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12143 info) \
12144 || exit 1
12146 @endif gettext
12148 .PHONY: maybe-dvi-gettext dvi-gettext
12149 maybe-dvi-gettext:
12150 @if gettext
12151 maybe-dvi-gettext: dvi-gettext
12153 dvi-gettext: \
12154 configure-gettext
12155 @$(unstage)
12156 @[ -f ./gettext/Makefile ] || exit 0; \
12157 r=`${PWD_COMMAND}`; export r; \
12158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12159 $(HOST_EXPORTS) \
12160 for flag in $(EXTRA_HOST_FLAGS) ; do \
12161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12162 done; \
12163 echo "Doing dvi in gettext" ; \
12164 (cd $(HOST_SUBDIR)/gettext && \
12165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12167 "RANLIB=$${RANLIB}" \
12168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12169 dvi) \
12170 || exit 1
12172 @endif gettext
12174 .PHONY: maybe-html-gettext html-gettext
12175 maybe-html-gettext:
12176 @if gettext
12177 maybe-html-gettext: html-gettext
12179 html-gettext: \
12180 configure-gettext
12181 @$(unstage)
12182 @[ -f ./gettext/Makefile ] || exit 0; \
12183 r=`${PWD_COMMAND}`; export r; \
12184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185 $(HOST_EXPORTS) \
12186 for flag in $(EXTRA_HOST_FLAGS) ; do \
12187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12188 done; \
12189 echo "Doing html in gettext" ; \
12190 (cd $(HOST_SUBDIR)/gettext && \
12191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12193 "RANLIB=$${RANLIB}" \
12194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12195 html) \
12196 || exit 1
12198 @endif gettext
12200 .PHONY: maybe-TAGS-gettext TAGS-gettext
12201 maybe-TAGS-gettext:
12202 @if gettext
12203 maybe-TAGS-gettext: TAGS-gettext
12205 TAGS-gettext: \
12206 configure-gettext
12207 @$(unstage)
12208 @[ -f ./gettext/Makefile ] || exit 0; \
12209 r=`${PWD_COMMAND}`; export r; \
12210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12211 $(HOST_EXPORTS) \
12212 for flag in $(EXTRA_HOST_FLAGS) ; do \
12213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12214 done; \
12215 echo "Doing TAGS in gettext" ; \
12216 (cd $(HOST_SUBDIR)/gettext && \
12217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12219 "RANLIB=$${RANLIB}" \
12220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12221 TAGS) \
12222 || exit 1
12224 @endif gettext
12226 .PHONY: maybe-install-info-gettext install-info-gettext
12227 maybe-install-info-gettext:
12228 @if gettext
12229 maybe-install-info-gettext: install-info-gettext
12231 install-info-gettext: \
12232 configure-gettext \
12233 info-gettext
12234 @$(unstage)
12235 @[ -f ./gettext/Makefile ] || exit 0; \
12236 r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12238 $(HOST_EXPORTS) \
12239 for flag in $(EXTRA_HOST_FLAGS) ; do \
12240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12241 done; \
12242 echo "Doing install-info in gettext" ; \
12243 (cd $(HOST_SUBDIR)/gettext && \
12244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12246 "RANLIB=$${RANLIB}" \
12247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12248 install-info) \
12249 || exit 1
12251 @endif gettext
12253 .PHONY: maybe-installcheck-gettext installcheck-gettext
12254 maybe-installcheck-gettext:
12255 @if gettext
12256 maybe-installcheck-gettext: installcheck-gettext
12258 installcheck-gettext: \
12259 configure-gettext
12260 @$(unstage)
12261 @[ -f ./gettext/Makefile ] || exit 0; \
12262 r=`${PWD_COMMAND}`; export r; \
12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12264 $(HOST_EXPORTS) \
12265 for flag in $(EXTRA_HOST_FLAGS) ; do \
12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12267 done; \
12268 echo "Doing installcheck in gettext" ; \
12269 (cd $(HOST_SUBDIR)/gettext && \
12270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12272 "RANLIB=$${RANLIB}" \
12273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12274 installcheck) \
12275 || exit 1
12277 @endif gettext
12279 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12280 maybe-mostlyclean-gettext:
12281 @if gettext
12282 maybe-mostlyclean-gettext: mostlyclean-gettext
12284 mostlyclean-gettext:
12285 @$(unstage)
12286 @[ -f ./gettext/Makefile ] || exit 0; \
12287 r=`${PWD_COMMAND}`; export r; \
12288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12289 $(HOST_EXPORTS) \
12290 for flag in $(EXTRA_HOST_FLAGS) ; do \
12291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12292 done; \
12293 echo "Doing mostlyclean in gettext" ; \
12294 (cd $(HOST_SUBDIR)/gettext && \
12295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12297 "RANLIB=$${RANLIB}" \
12298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12299 mostlyclean) \
12300 || exit 1
12302 @endif gettext
12304 .PHONY: maybe-clean-gettext clean-gettext
12305 maybe-clean-gettext:
12306 @if gettext
12307 maybe-clean-gettext: clean-gettext
12309 clean-gettext:
12310 @$(unstage)
12311 @[ -f ./gettext/Makefile ] || exit 0; \
12312 r=`${PWD_COMMAND}`; export r; \
12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12314 $(HOST_EXPORTS) \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12317 done; \
12318 echo "Doing clean in gettext" ; \
12319 (cd $(HOST_SUBDIR)/gettext && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12324 clean) \
12325 || exit 1
12327 @endif gettext
12329 .PHONY: maybe-distclean-gettext distclean-gettext
12330 maybe-distclean-gettext:
12331 @if gettext
12332 maybe-distclean-gettext: distclean-gettext
12334 distclean-gettext:
12335 @$(unstage)
12336 @[ -f ./gettext/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(HOST_EXPORTS) \
12340 for flag in $(EXTRA_HOST_FLAGS) ; do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12342 done; \
12343 echo "Doing distclean in gettext" ; \
12344 (cd $(HOST_SUBDIR)/gettext && \
12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12347 "RANLIB=$${RANLIB}" \
12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12349 distclean) \
12350 || exit 1
12352 @endif gettext
12354 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12355 maybe-maintainer-clean-gettext:
12356 @if gettext
12357 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12359 maintainer-clean-gettext:
12360 @$(unstage)
12361 @[ -f ./gettext/Makefile ] || exit 0; \
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 for flag in $(EXTRA_HOST_FLAGS) ; do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing maintainer-clean in gettext" ; \
12369 (cd $(HOST_SUBDIR)/gettext && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12374 maintainer-clean) \
12375 || exit 1
12377 @endif gettext
12381 .PHONY: configure-gnuserv maybe-configure-gnuserv
12382 maybe-configure-gnuserv:
12383 @if gnuserv
12384 maybe-configure-gnuserv: configure-gnuserv
12385 configure-gnuserv:
12386 @$(unstage)
12387 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12389 r=`${PWD_COMMAND}`; export r; \
12390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12391 $(HOST_EXPORTS) \
12392 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12393 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12394 case $(srcdir) in \
12395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12396 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12398 esac; \
12399 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12400 libsrcdir="$$s/gnuserv"; \
12401 $(SHELL) $${libsrcdir}/configure \
12402 $(HOST_CONFIGARGS) $${srcdiroption} \
12403 || exit 1
12404 @endif gnuserv
12410 .PHONY: all-gnuserv maybe-all-gnuserv
12411 maybe-all-gnuserv:
12412 @if gnuserv
12413 TARGET-gnuserv=all
12414 maybe-all-gnuserv: all-gnuserv
12415 all-gnuserv: configure-gnuserv
12416 @$(unstage)
12417 @r=`${PWD_COMMAND}`; export r; \
12418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12419 $(HOST_EXPORTS) \
12420 (cd $(HOST_SUBDIR)/gnuserv && \
12421 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12422 @endif gnuserv
12427 .PHONY: check-gnuserv maybe-check-gnuserv
12428 maybe-check-gnuserv:
12429 @if gnuserv
12430 maybe-check-gnuserv: check-gnuserv
12432 check-gnuserv:
12433 @$(unstage)
12434 @r=`${PWD_COMMAND}`; export r; \
12435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12436 $(HOST_EXPORTS) \
12437 (cd $(HOST_SUBDIR)/gnuserv && \
12438 $(MAKE) $(FLAGS_TO_PASS) check)
12440 @endif gnuserv
12442 .PHONY: install-gnuserv maybe-install-gnuserv
12443 maybe-install-gnuserv:
12444 @if gnuserv
12445 maybe-install-gnuserv: install-gnuserv
12447 install-gnuserv: installdirs
12448 @$(unstage)
12449 @r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12451 $(HOST_EXPORTS) \
12452 (cd $(HOST_SUBDIR)/gnuserv && \
12453 $(MAKE) $(FLAGS_TO_PASS) install)
12455 @endif gnuserv
12457 # Other targets (info, dvi, etc.)
12459 .PHONY: maybe-info-gnuserv info-gnuserv
12460 maybe-info-gnuserv:
12461 @if gnuserv
12462 maybe-info-gnuserv: info-gnuserv
12464 info-gnuserv: \
12465 configure-gnuserv
12466 @$(unstage)
12467 @[ -f ./gnuserv/Makefile ] || exit 0; \
12468 r=`${PWD_COMMAND}`; export r; \
12469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12470 $(HOST_EXPORTS) \
12471 for flag in $(EXTRA_HOST_FLAGS) ; do \
12472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12473 done; \
12474 echo "Doing info in gnuserv" ; \
12475 (cd $(HOST_SUBDIR)/gnuserv && \
12476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12478 "RANLIB=$${RANLIB}" \
12479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12480 info) \
12481 || exit 1
12483 @endif gnuserv
12485 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12486 maybe-dvi-gnuserv:
12487 @if gnuserv
12488 maybe-dvi-gnuserv: dvi-gnuserv
12490 dvi-gnuserv: \
12491 configure-gnuserv
12492 @$(unstage)
12493 @[ -f ./gnuserv/Makefile ] || exit 0; \
12494 r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 $(HOST_EXPORTS) \
12497 for flag in $(EXTRA_HOST_FLAGS) ; do \
12498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12499 done; \
12500 echo "Doing dvi in gnuserv" ; \
12501 (cd $(HOST_SUBDIR)/gnuserv && \
12502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12504 "RANLIB=$${RANLIB}" \
12505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12506 dvi) \
12507 || exit 1
12509 @endif gnuserv
12511 .PHONY: maybe-html-gnuserv html-gnuserv
12512 maybe-html-gnuserv:
12513 @if gnuserv
12514 maybe-html-gnuserv: html-gnuserv
12516 html-gnuserv: \
12517 configure-gnuserv
12518 @$(unstage)
12519 @[ -f ./gnuserv/Makefile ] || exit 0; \
12520 r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522 $(HOST_EXPORTS) \
12523 for flag in $(EXTRA_HOST_FLAGS) ; do \
12524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12525 done; \
12526 echo "Doing html in gnuserv" ; \
12527 (cd $(HOST_SUBDIR)/gnuserv && \
12528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12530 "RANLIB=$${RANLIB}" \
12531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12532 html) \
12533 || exit 1
12535 @endif gnuserv
12537 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12538 maybe-TAGS-gnuserv:
12539 @if gnuserv
12540 maybe-TAGS-gnuserv: TAGS-gnuserv
12542 TAGS-gnuserv: \
12543 configure-gnuserv
12544 @$(unstage)
12545 @[ -f ./gnuserv/Makefile ] || exit 0; \
12546 r=`${PWD_COMMAND}`; export r; \
12547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12548 $(HOST_EXPORTS) \
12549 for flag in $(EXTRA_HOST_FLAGS) ; do \
12550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12551 done; \
12552 echo "Doing TAGS in gnuserv" ; \
12553 (cd $(HOST_SUBDIR)/gnuserv && \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12556 "RANLIB=$${RANLIB}" \
12557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12558 TAGS) \
12559 || exit 1
12561 @endif gnuserv
12563 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12564 maybe-install-info-gnuserv:
12565 @if gnuserv
12566 maybe-install-info-gnuserv: install-info-gnuserv
12568 install-info-gnuserv: \
12569 configure-gnuserv \
12570 info-gnuserv
12571 @$(unstage)
12572 @[ -f ./gnuserv/Makefile ] || exit 0; \
12573 r=`${PWD_COMMAND}`; export r; \
12574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12575 $(HOST_EXPORTS) \
12576 for flag in $(EXTRA_HOST_FLAGS) ; do \
12577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12578 done; \
12579 echo "Doing install-info in gnuserv" ; \
12580 (cd $(HOST_SUBDIR)/gnuserv && \
12581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12583 "RANLIB=$${RANLIB}" \
12584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12585 install-info) \
12586 || exit 1
12588 @endif gnuserv
12590 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12591 maybe-installcheck-gnuserv:
12592 @if gnuserv
12593 maybe-installcheck-gnuserv: installcheck-gnuserv
12595 installcheck-gnuserv: \
12596 configure-gnuserv
12597 @$(unstage)
12598 @[ -f ./gnuserv/Makefile ] || exit 0; \
12599 r=`${PWD_COMMAND}`; export r; \
12600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12601 $(HOST_EXPORTS) \
12602 for flag in $(EXTRA_HOST_FLAGS) ; do \
12603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12604 done; \
12605 echo "Doing installcheck in gnuserv" ; \
12606 (cd $(HOST_SUBDIR)/gnuserv && \
12607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12609 "RANLIB=$${RANLIB}" \
12610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12611 installcheck) \
12612 || exit 1
12614 @endif gnuserv
12616 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12617 maybe-mostlyclean-gnuserv:
12618 @if gnuserv
12619 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12621 mostlyclean-gnuserv:
12622 @$(unstage)
12623 @[ -f ./gnuserv/Makefile ] || exit 0; \
12624 r=`${PWD_COMMAND}`; export r; \
12625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12626 $(HOST_EXPORTS) \
12627 for flag in $(EXTRA_HOST_FLAGS) ; do \
12628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12629 done; \
12630 echo "Doing mostlyclean in gnuserv" ; \
12631 (cd $(HOST_SUBDIR)/gnuserv && \
12632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12634 "RANLIB=$${RANLIB}" \
12635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12636 mostlyclean) \
12637 || exit 1
12639 @endif gnuserv
12641 .PHONY: maybe-clean-gnuserv clean-gnuserv
12642 maybe-clean-gnuserv:
12643 @if gnuserv
12644 maybe-clean-gnuserv: clean-gnuserv
12646 clean-gnuserv:
12647 @$(unstage)
12648 @[ -f ./gnuserv/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing clean in gnuserv" ; \
12656 (cd $(HOST_SUBDIR)/gnuserv && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 clean) \
12662 || exit 1
12664 @endif gnuserv
12666 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12667 maybe-distclean-gnuserv:
12668 @if gnuserv
12669 maybe-distclean-gnuserv: distclean-gnuserv
12671 distclean-gnuserv:
12672 @$(unstage)
12673 @[ -f ./gnuserv/Makefile ] || exit 0; \
12674 r=`${PWD_COMMAND}`; export r; \
12675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12676 $(HOST_EXPORTS) \
12677 for flag in $(EXTRA_HOST_FLAGS) ; do \
12678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12679 done; \
12680 echo "Doing distclean in gnuserv" ; \
12681 (cd $(HOST_SUBDIR)/gnuserv && \
12682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12684 "RANLIB=$${RANLIB}" \
12685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12686 distclean) \
12687 || exit 1
12689 @endif gnuserv
12691 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12692 maybe-maintainer-clean-gnuserv:
12693 @if gnuserv
12694 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12696 maintainer-clean-gnuserv:
12697 @$(unstage)
12698 @[ -f ./gnuserv/Makefile ] || exit 0; \
12699 r=`${PWD_COMMAND}`; export r; \
12700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12701 $(HOST_EXPORTS) \
12702 for flag in $(EXTRA_HOST_FLAGS) ; do \
12703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12704 done; \
12705 echo "Doing maintainer-clean in gnuserv" ; \
12706 (cd $(HOST_SUBDIR)/gnuserv && \
12707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12709 "RANLIB=$${RANLIB}" \
12710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12711 maintainer-clean) \
12712 || exit 1
12714 @endif gnuserv
12718 .PHONY: configure-gprof maybe-configure-gprof
12719 maybe-configure-gprof:
12720 @if gprof
12721 maybe-configure-gprof: configure-gprof
12722 configure-gprof:
12723 @$(unstage)
12724 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12726 r=`${PWD_COMMAND}`; export r; \
12727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12728 $(HOST_EXPORTS) \
12729 echo Configuring in $(HOST_SUBDIR)/gprof; \
12730 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12731 case $(srcdir) in \
12732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12733 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12735 esac; \
12736 srcdiroption="--srcdir=$${topdir}/gprof"; \
12737 libsrcdir="$$s/gprof"; \
12738 $(SHELL) $${libsrcdir}/configure \
12739 $(HOST_CONFIGARGS) $${srcdiroption} \
12740 || exit 1
12741 @endif gprof
12747 .PHONY: all-gprof maybe-all-gprof
12748 maybe-all-gprof:
12749 @if gprof
12750 TARGET-gprof=all
12751 maybe-all-gprof: all-gprof
12752 all-gprof: configure-gprof
12753 @$(unstage)
12754 @r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 $(HOST_EXPORTS) \
12757 (cd $(HOST_SUBDIR)/gprof && \
12758 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12759 @endif gprof
12764 .PHONY: check-gprof maybe-check-gprof
12765 maybe-check-gprof:
12766 @if gprof
12767 maybe-check-gprof: check-gprof
12769 check-gprof:
12770 @$(unstage)
12771 @r=`${PWD_COMMAND}`; export r; \
12772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12773 $(HOST_EXPORTS) \
12774 (cd $(HOST_SUBDIR)/gprof && \
12775 $(MAKE) $(FLAGS_TO_PASS) check)
12777 @endif gprof
12779 .PHONY: install-gprof maybe-install-gprof
12780 maybe-install-gprof:
12781 @if gprof
12782 maybe-install-gprof: install-gprof
12784 install-gprof: installdirs
12785 @$(unstage)
12786 @r=`${PWD_COMMAND}`; export r; \
12787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12788 $(HOST_EXPORTS) \
12789 (cd $(HOST_SUBDIR)/gprof && \
12790 $(MAKE) $(FLAGS_TO_PASS) install)
12792 @endif gprof
12794 # Other targets (info, dvi, etc.)
12796 .PHONY: maybe-info-gprof info-gprof
12797 maybe-info-gprof:
12798 @if gprof
12799 maybe-info-gprof: info-gprof
12801 info-gprof: \
12802 configure-gprof
12803 @$(unstage)
12804 @[ -f ./gprof/Makefile ] || exit 0; \
12805 r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12807 $(HOST_EXPORTS) \
12808 for flag in $(EXTRA_HOST_FLAGS) ; do \
12809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12810 done; \
12811 echo "Doing info in gprof" ; \
12812 (cd $(HOST_SUBDIR)/gprof && \
12813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12815 "RANLIB=$${RANLIB}" \
12816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12817 info) \
12818 || exit 1
12820 @endif gprof
12822 .PHONY: maybe-dvi-gprof dvi-gprof
12823 maybe-dvi-gprof:
12824 @if gprof
12825 maybe-dvi-gprof: dvi-gprof
12827 dvi-gprof: \
12828 configure-gprof
12829 @$(unstage)
12830 @[ -f ./gprof/Makefile ] || exit 0; \
12831 r=`${PWD_COMMAND}`; export r; \
12832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12833 $(HOST_EXPORTS) \
12834 for flag in $(EXTRA_HOST_FLAGS) ; do \
12835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12836 done; \
12837 echo "Doing dvi in gprof" ; \
12838 (cd $(HOST_SUBDIR)/gprof && \
12839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12841 "RANLIB=$${RANLIB}" \
12842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12843 dvi) \
12844 || exit 1
12846 @endif gprof
12848 .PHONY: maybe-html-gprof html-gprof
12849 maybe-html-gprof:
12850 @if gprof
12851 maybe-html-gprof: html-gprof
12853 html-gprof: \
12854 configure-gprof
12855 @$(unstage)
12856 @[ -f ./gprof/Makefile ] || exit 0; \
12857 r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12859 $(HOST_EXPORTS) \
12860 for flag in $(EXTRA_HOST_FLAGS) ; do \
12861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12862 done; \
12863 echo "Doing html in gprof" ; \
12864 (cd $(HOST_SUBDIR)/gprof && \
12865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12867 "RANLIB=$${RANLIB}" \
12868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12869 html) \
12870 || exit 1
12872 @endif gprof
12874 .PHONY: maybe-TAGS-gprof TAGS-gprof
12875 maybe-TAGS-gprof:
12876 @if gprof
12877 maybe-TAGS-gprof: TAGS-gprof
12879 TAGS-gprof: \
12880 configure-gprof
12881 @$(unstage)
12882 @[ -f ./gprof/Makefile ] || exit 0; \
12883 r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 $(HOST_EXPORTS) \
12886 for flag in $(EXTRA_HOST_FLAGS) ; do \
12887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12888 done; \
12889 echo "Doing TAGS in gprof" ; \
12890 (cd $(HOST_SUBDIR)/gprof && \
12891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12893 "RANLIB=$${RANLIB}" \
12894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12895 TAGS) \
12896 || exit 1
12898 @endif gprof
12900 .PHONY: maybe-install-info-gprof install-info-gprof
12901 maybe-install-info-gprof:
12902 @if gprof
12903 maybe-install-info-gprof: install-info-gprof
12905 install-info-gprof: \
12906 configure-gprof \
12907 info-gprof
12908 @$(unstage)
12909 @[ -f ./gprof/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12912 $(HOST_EXPORTS) \
12913 for flag in $(EXTRA_HOST_FLAGS) ; do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12915 done; \
12916 echo "Doing install-info in gprof" ; \
12917 (cd $(HOST_SUBDIR)/gprof && \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12922 install-info) \
12923 || exit 1
12925 @endif gprof
12927 .PHONY: maybe-installcheck-gprof installcheck-gprof
12928 maybe-installcheck-gprof:
12929 @if gprof
12930 maybe-installcheck-gprof: installcheck-gprof
12932 installcheck-gprof: \
12933 configure-gprof
12934 @$(unstage)
12935 @[ -f ./gprof/Makefile ] || exit 0; \
12936 r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12938 $(HOST_EXPORTS) \
12939 for flag in $(EXTRA_HOST_FLAGS) ; do \
12940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12941 done; \
12942 echo "Doing installcheck in gprof" ; \
12943 (cd $(HOST_SUBDIR)/gprof && \
12944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12946 "RANLIB=$${RANLIB}" \
12947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12948 installcheck) \
12949 || exit 1
12951 @endif gprof
12953 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12954 maybe-mostlyclean-gprof:
12955 @if gprof
12956 maybe-mostlyclean-gprof: mostlyclean-gprof
12958 mostlyclean-gprof:
12959 @$(unstage)
12960 @[ -f ./gprof/Makefile ] || exit 0; \
12961 r=`${PWD_COMMAND}`; export r; \
12962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12963 $(HOST_EXPORTS) \
12964 for flag in $(EXTRA_HOST_FLAGS) ; do \
12965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12966 done; \
12967 echo "Doing mostlyclean in gprof" ; \
12968 (cd $(HOST_SUBDIR)/gprof && \
12969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12971 "RANLIB=$${RANLIB}" \
12972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12973 mostlyclean) \
12974 || exit 1
12976 @endif gprof
12978 .PHONY: maybe-clean-gprof clean-gprof
12979 maybe-clean-gprof:
12980 @if gprof
12981 maybe-clean-gprof: clean-gprof
12983 clean-gprof:
12984 @$(unstage)
12985 @[ -f ./gprof/Makefile ] || exit 0; \
12986 r=`${PWD_COMMAND}`; export r; \
12987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12988 $(HOST_EXPORTS) \
12989 for flag in $(EXTRA_HOST_FLAGS) ; do \
12990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12991 done; \
12992 echo "Doing clean in gprof" ; \
12993 (cd $(HOST_SUBDIR)/gprof && \
12994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12996 "RANLIB=$${RANLIB}" \
12997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12998 clean) \
12999 || exit 1
13001 @endif gprof
13003 .PHONY: maybe-distclean-gprof distclean-gprof
13004 maybe-distclean-gprof:
13005 @if gprof
13006 maybe-distclean-gprof: distclean-gprof
13008 distclean-gprof:
13009 @$(unstage)
13010 @[ -f ./gprof/Makefile ] || exit 0; \
13011 r=`${PWD_COMMAND}`; export r; \
13012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13013 $(HOST_EXPORTS) \
13014 for flag in $(EXTRA_HOST_FLAGS) ; do \
13015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13016 done; \
13017 echo "Doing distclean in gprof" ; \
13018 (cd $(HOST_SUBDIR)/gprof && \
13019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13021 "RANLIB=$${RANLIB}" \
13022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13023 distclean) \
13024 || exit 1
13026 @endif gprof
13028 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13029 maybe-maintainer-clean-gprof:
13030 @if gprof
13031 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13033 maintainer-clean-gprof:
13034 @$(unstage)
13035 @[ -f ./gprof/Makefile ] || exit 0; \
13036 r=`${PWD_COMMAND}`; export r; \
13037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13038 $(HOST_EXPORTS) \
13039 for flag in $(EXTRA_HOST_FLAGS) ; do \
13040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13041 done; \
13042 echo "Doing maintainer-clean in gprof" ; \
13043 (cd $(HOST_SUBDIR)/gprof && \
13044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13046 "RANLIB=$${RANLIB}" \
13047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13048 maintainer-clean) \
13049 || exit 1
13051 @endif gprof
13055 .PHONY: configure-gzip maybe-configure-gzip
13056 maybe-configure-gzip:
13057 @if gzip
13058 maybe-configure-gzip: configure-gzip
13059 configure-gzip:
13060 @$(unstage)
13061 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13063 r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 $(HOST_EXPORTS) \
13066 echo Configuring in $(HOST_SUBDIR)/gzip; \
13067 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13068 case $(srcdir) in \
13069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13070 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13072 esac; \
13073 srcdiroption="--srcdir=$${topdir}/gzip"; \
13074 libsrcdir="$$s/gzip"; \
13075 $(SHELL) $${libsrcdir}/configure \
13076 $(HOST_CONFIGARGS) $${srcdiroption} \
13077 || exit 1
13078 @endif gzip
13084 .PHONY: all-gzip maybe-all-gzip
13085 maybe-all-gzip:
13086 @if gzip
13087 TARGET-gzip=all
13088 maybe-all-gzip: all-gzip
13089 all-gzip: configure-gzip
13090 @$(unstage)
13091 @r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 $(HOST_EXPORTS) \
13094 (cd $(HOST_SUBDIR)/gzip && \
13095 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13096 @endif gzip
13101 .PHONY: check-gzip maybe-check-gzip
13102 maybe-check-gzip:
13103 @if gzip
13104 maybe-check-gzip: check-gzip
13106 check-gzip:
13107 @$(unstage)
13108 @r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13110 $(HOST_EXPORTS) \
13111 (cd $(HOST_SUBDIR)/gzip && \
13112 $(MAKE) $(FLAGS_TO_PASS) check)
13114 @endif gzip
13116 .PHONY: install-gzip maybe-install-gzip
13117 maybe-install-gzip:
13118 @if gzip
13119 maybe-install-gzip: install-gzip
13121 install-gzip: installdirs
13122 @$(unstage)
13123 @r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 $(HOST_EXPORTS) \
13126 (cd $(HOST_SUBDIR)/gzip && \
13127 $(MAKE) $(FLAGS_TO_PASS) install)
13129 @endif gzip
13131 # Other targets (info, dvi, etc.)
13133 .PHONY: maybe-info-gzip info-gzip
13134 maybe-info-gzip:
13135 @if gzip
13136 maybe-info-gzip: info-gzip
13138 info-gzip: \
13139 configure-gzip
13140 @$(unstage)
13141 @[ -f ./gzip/Makefile ] || exit 0; \
13142 r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13144 $(HOST_EXPORTS) \
13145 for flag in $(EXTRA_HOST_FLAGS) ; do \
13146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13147 done; \
13148 echo "Doing info in gzip" ; \
13149 (cd $(HOST_SUBDIR)/gzip && \
13150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13152 "RANLIB=$${RANLIB}" \
13153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13154 info) \
13155 || exit 1
13157 @endif gzip
13159 .PHONY: maybe-dvi-gzip dvi-gzip
13160 maybe-dvi-gzip:
13161 @if gzip
13162 maybe-dvi-gzip: dvi-gzip
13164 dvi-gzip: \
13165 configure-gzip
13166 @$(unstage)
13167 @[ -f ./gzip/Makefile ] || exit 0; \
13168 r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 $(HOST_EXPORTS) \
13171 for flag in $(EXTRA_HOST_FLAGS) ; do \
13172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13173 done; \
13174 echo "Doing dvi in gzip" ; \
13175 (cd $(HOST_SUBDIR)/gzip && \
13176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13178 "RANLIB=$${RANLIB}" \
13179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13180 dvi) \
13181 || exit 1
13183 @endif gzip
13185 .PHONY: maybe-html-gzip html-gzip
13186 maybe-html-gzip:
13187 @if gzip
13188 maybe-html-gzip: html-gzip
13190 html-gzip: \
13191 configure-gzip
13192 @$(unstage)
13193 @[ -f ./gzip/Makefile ] || exit 0; \
13194 r=`${PWD_COMMAND}`; export r; \
13195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13196 $(HOST_EXPORTS) \
13197 for flag in $(EXTRA_HOST_FLAGS) ; do \
13198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13199 done; \
13200 echo "Doing html in gzip" ; \
13201 (cd $(HOST_SUBDIR)/gzip && \
13202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13204 "RANLIB=$${RANLIB}" \
13205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13206 html) \
13207 || exit 1
13209 @endif gzip
13211 .PHONY: maybe-TAGS-gzip TAGS-gzip
13212 maybe-TAGS-gzip:
13213 @if gzip
13214 maybe-TAGS-gzip: TAGS-gzip
13216 TAGS-gzip: \
13217 configure-gzip
13218 @$(unstage)
13219 @[ -f ./gzip/Makefile ] || exit 0; \
13220 r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 $(HOST_EXPORTS) \
13223 for flag in $(EXTRA_HOST_FLAGS) ; do \
13224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13225 done; \
13226 echo "Doing TAGS in gzip" ; \
13227 (cd $(HOST_SUBDIR)/gzip && \
13228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13230 "RANLIB=$${RANLIB}" \
13231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13232 TAGS) \
13233 || exit 1
13235 @endif gzip
13237 .PHONY: maybe-install-info-gzip install-info-gzip
13238 maybe-install-info-gzip:
13239 @if gzip
13240 maybe-install-info-gzip: install-info-gzip
13242 install-info-gzip: \
13243 configure-gzip \
13244 info-gzip
13245 @$(unstage)
13246 @[ -f ./gzip/Makefile ] || exit 0; \
13247 r=`${PWD_COMMAND}`; export r; \
13248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13249 $(HOST_EXPORTS) \
13250 for flag in $(EXTRA_HOST_FLAGS) ; do \
13251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13252 done; \
13253 echo "Doing install-info in gzip" ; \
13254 (cd $(HOST_SUBDIR)/gzip && \
13255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13257 "RANLIB=$${RANLIB}" \
13258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13259 install-info) \
13260 || exit 1
13262 @endif gzip
13264 .PHONY: maybe-installcheck-gzip installcheck-gzip
13265 maybe-installcheck-gzip:
13266 @if gzip
13267 maybe-installcheck-gzip: installcheck-gzip
13269 installcheck-gzip: \
13270 configure-gzip
13271 @$(unstage)
13272 @[ -f ./gzip/Makefile ] || exit 0; \
13273 r=`${PWD_COMMAND}`; export r; \
13274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13275 $(HOST_EXPORTS) \
13276 for flag in $(EXTRA_HOST_FLAGS) ; do \
13277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13278 done; \
13279 echo "Doing installcheck in gzip" ; \
13280 (cd $(HOST_SUBDIR)/gzip && \
13281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13283 "RANLIB=$${RANLIB}" \
13284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13285 installcheck) \
13286 || exit 1
13288 @endif gzip
13290 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13291 maybe-mostlyclean-gzip:
13292 @if gzip
13293 maybe-mostlyclean-gzip: mostlyclean-gzip
13295 mostlyclean-gzip:
13296 @$(unstage)
13297 @[ -f ./gzip/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 $(HOST_EXPORTS) \
13301 for flag in $(EXTRA_HOST_FLAGS) ; do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13303 done; \
13304 echo "Doing mostlyclean in gzip" ; \
13305 (cd $(HOST_SUBDIR)/gzip && \
13306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308 "RANLIB=$${RANLIB}" \
13309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13310 mostlyclean) \
13311 || exit 1
13313 @endif gzip
13315 .PHONY: maybe-clean-gzip clean-gzip
13316 maybe-clean-gzip:
13317 @if gzip
13318 maybe-clean-gzip: clean-gzip
13320 clean-gzip:
13321 @$(unstage)
13322 @[ -f ./gzip/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 $(HOST_EXPORTS) \
13326 for flag in $(EXTRA_HOST_FLAGS) ; do \
13327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13328 done; \
13329 echo "Doing clean in gzip" ; \
13330 (cd $(HOST_SUBDIR)/gzip && \
13331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13333 "RANLIB=$${RANLIB}" \
13334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13335 clean) \
13336 || exit 1
13338 @endif gzip
13340 .PHONY: maybe-distclean-gzip distclean-gzip
13341 maybe-distclean-gzip:
13342 @if gzip
13343 maybe-distclean-gzip: distclean-gzip
13345 distclean-gzip:
13346 @$(unstage)
13347 @[ -f ./gzip/Makefile ] || exit 0; \
13348 r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(HOST_EXPORTS) \
13351 for flag in $(EXTRA_HOST_FLAGS) ; do \
13352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13353 done; \
13354 echo "Doing distclean in gzip" ; \
13355 (cd $(HOST_SUBDIR)/gzip && \
13356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13358 "RANLIB=$${RANLIB}" \
13359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13360 distclean) \
13361 || exit 1
13363 @endif gzip
13365 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13366 maybe-maintainer-clean-gzip:
13367 @if gzip
13368 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13370 maintainer-clean-gzip:
13371 @$(unstage)
13372 @[ -f ./gzip/Makefile ] || exit 0; \
13373 r=`${PWD_COMMAND}`; export r; \
13374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13375 $(HOST_EXPORTS) \
13376 for flag in $(EXTRA_HOST_FLAGS) ; do \
13377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13378 done; \
13379 echo "Doing maintainer-clean in gzip" ; \
13380 (cd $(HOST_SUBDIR)/gzip && \
13381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13383 "RANLIB=$${RANLIB}" \
13384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13385 maintainer-clean) \
13386 || exit 1
13388 @endif gzip
13392 .PHONY: configure-hello maybe-configure-hello
13393 maybe-configure-hello:
13394 @if hello
13395 maybe-configure-hello: configure-hello
13396 configure-hello:
13397 @$(unstage)
13398 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13399 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13400 r=`${PWD_COMMAND}`; export r; \
13401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402 $(HOST_EXPORTS) \
13403 echo Configuring in $(HOST_SUBDIR)/hello; \
13404 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13405 case $(srcdir) in \
13406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13407 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13409 esac; \
13410 srcdiroption="--srcdir=$${topdir}/hello"; \
13411 libsrcdir="$$s/hello"; \
13412 $(SHELL) $${libsrcdir}/configure \
13413 $(HOST_CONFIGARGS) $${srcdiroption} \
13414 || exit 1
13415 @endif hello
13421 .PHONY: all-hello maybe-all-hello
13422 maybe-all-hello:
13423 @if hello
13424 TARGET-hello=all
13425 maybe-all-hello: all-hello
13426 all-hello: configure-hello
13427 @$(unstage)
13428 @r=`${PWD_COMMAND}`; export r; \
13429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13430 $(HOST_EXPORTS) \
13431 (cd $(HOST_SUBDIR)/hello && \
13432 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13433 @endif hello
13438 .PHONY: check-hello maybe-check-hello
13439 maybe-check-hello:
13440 @if hello
13441 maybe-check-hello: check-hello
13443 check-hello:
13444 @$(unstage)
13445 @r=`${PWD_COMMAND}`; export r; \
13446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13447 $(HOST_EXPORTS) \
13448 (cd $(HOST_SUBDIR)/hello && \
13449 $(MAKE) $(FLAGS_TO_PASS) check)
13451 @endif hello
13453 .PHONY: install-hello maybe-install-hello
13454 maybe-install-hello:
13455 @if hello
13456 maybe-install-hello: install-hello
13458 install-hello: installdirs
13459 @$(unstage)
13460 @r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13462 $(HOST_EXPORTS) \
13463 (cd $(HOST_SUBDIR)/hello && \
13464 $(MAKE) $(FLAGS_TO_PASS) install)
13466 @endif hello
13468 # Other targets (info, dvi, etc.)
13470 .PHONY: maybe-info-hello info-hello
13471 maybe-info-hello:
13472 @if hello
13473 maybe-info-hello: info-hello
13475 info-hello: \
13476 configure-hello
13477 @$(unstage)
13478 @[ -f ./hello/Makefile ] || exit 0; \
13479 r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(HOST_EXPORTS) \
13482 for flag in $(EXTRA_HOST_FLAGS) ; do \
13483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13484 done; \
13485 echo "Doing info in hello" ; \
13486 (cd $(HOST_SUBDIR)/hello && \
13487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13489 "RANLIB=$${RANLIB}" \
13490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13491 info) \
13492 || exit 1
13494 @endif hello
13496 .PHONY: maybe-dvi-hello dvi-hello
13497 maybe-dvi-hello:
13498 @if hello
13499 maybe-dvi-hello: dvi-hello
13501 dvi-hello: \
13502 configure-hello
13503 @$(unstage)
13504 @[ -f ./hello/Makefile ] || exit 0; \
13505 r=`${PWD_COMMAND}`; export r; \
13506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507 $(HOST_EXPORTS) \
13508 for flag in $(EXTRA_HOST_FLAGS) ; do \
13509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13510 done; \
13511 echo "Doing dvi in hello" ; \
13512 (cd $(HOST_SUBDIR)/hello && \
13513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13515 "RANLIB=$${RANLIB}" \
13516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13517 dvi) \
13518 || exit 1
13520 @endif hello
13522 .PHONY: maybe-html-hello html-hello
13523 maybe-html-hello:
13524 @if hello
13525 maybe-html-hello: html-hello
13527 html-hello: \
13528 configure-hello
13529 @$(unstage)
13530 @[ -f ./hello/Makefile ] || exit 0; \
13531 r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13533 $(HOST_EXPORTS) \
13534 for flag in $(EXTRA_HOST_FLAGS) ; do \
13535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13536 done; \
13537 echo "Doing html in hello" ; \
13538 (cd $(HOST_SUBDIR)/hello && \
13539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13541 "RANLIB=$${RANLIB}" \
13542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13543 html) \
13544 || exit 1
13546 @endif hello
13548 .PHONY: maybe-TAGS-hello TAGS-hello
13549 maybe-TAGS-hello:
13550 @if hello
13551 maybe-TAGS-hello: TAGS-hello
13553 TAGS-hello: \
13554 configure-hello
13555 @$(unstage)
13556 @[ -f ./hello/Makefile ] || exit 0; \
13557 r=`${PWD_COMMAND}`; export r; \
13558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13559 $(HOST_EXPORTS) \
13560 for flag in $(EXTRA_HOST_FLAGS) ; do \
13561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13562 done; \
13563 echo "Doing TAGS in hello" ; \
13564 (cd $(HOST_SUBDIR)/hello && \
13565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13567 "RANLIB=$${RANLIB}" \
13568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13569 TAGS) \
13570 || exit 1
13572 @endif hello
13574 .PHONY: maybe-install-info-hello install-info-hello
13575 maybe-install-info-hello:
13576 @if hello
13577 maybe-install-info-hello: install-info-hello
13579 install-info-hello: \
13580 configure-hello \
13581 info-hello
13582 @$(unstage)
13583 @[ -f ./hello/Makefile ] || exit 0; \
13584 r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13586 $(HOST_EXPORTS) \
13587 for flag in $(EXTRA_HOST_FLAGS) ; do \
13588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13589 done; \
13590 echo "Doing install-info in hello" ; \
13591 (cd $(HOST_SUBDIR)/hello && \
13592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13594 "RANLIB=$${RANLIB}" \
13595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13596 install-info) \
13597 || exit 1
13599 @endif hello
13601 .PHONY: maybe-installcheck-hello installcheck-hello
13602 maybe-installcheck-hello:
13603 @if hello
13604 maybe-installcheck-hello: installcheck-hello
13606 installcheck-hello: \
13607 configure-hello
13608 @$(unstage)
13609 @[ -f ./hello/Makefile ] || exit 0; \
13610 r=`${PWD_COMMAND}`; export r; \
13611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13612 $(HOST_EXPORTS) \
13613 for flag in $(EXTRA_HOST_FLAGS) ; do \
13614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13615 done; \
13616 echo "Doing installcheck in hello" ; \
13617 (cd $(HOST_SUBDIR)/hello && \
13618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13620 "RANLIB=$${RANLIB}" \
13621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13622 installcheck) \
13623 || exit 1
13625 @endif hello
13627 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13628 maybe-mostlyclean-hello:
13629 @if hello
13630 maybe-mostlyclean-hello: mostlyclean-hello
13632 mostlyclean-hello:
13633 @$(unstage)
13634 @[ -f ./hello/Makefile ] || exit 0; \
13635 r=`${PWD_COMMAND}`; export r; \
13636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13637 $(HOST_EXPORTS) \
13638 for flag in $(EXTRA_HOST_FLAGS) ; do \
13639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13640 done; \
13641 echo "Doing mostlyclean in hello" ; \
13642 (cd $(HOST_SUBDIR)/hello && \
13643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13645 "RANLIB=$${RANLIB}" \
13646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13647 mostlyclean) \
13648 || exit 1
13650 @endif hello
13652 .PHONY: maybe-clean-hello clean-hello
13653 maybe-clean-hello:
13654 @if hello
13655 maybe-clean-hello: clean-hello
13657 clean-hello:
13658 @$(unstage)
13659 @[ -f ./hello/Makefile ] || exit 0; \
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 $(HOST_EXPORTS) \
13663 for flag in $(EXTRA_HOST_FLAGS) ; do \
13664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13665 done; \
13666 echo "Doing clean in hello" ; \
13667 (cd $(HOST_SUBDIR)/hello && \
13668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13670 "RANLIB=$${RANLIB}" \
13671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13672 clean) \
13673 || exit 1
13675 @endif hello
13677 .PHONY: maybe-distclean-hello distclean-hello
13678 maybe-distclean-hello:
13679 @if hello
13680 maybe-distclean-hello: distclean-hello
13682 distclean-hello:
13683 @$(unstage)
13684 @[ -f ./hello/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 $(HOST_EXPORTS) \
13688 for flag in $(EXTRA_HOST_FLAGS) ; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13690 done; \
13691 echo "Doing distclean in hello" ; \
13692 (cd $(HOST_SUBDIR)/hello && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13695 "RANLIB=$${RANLIB}" \
13696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13697 distclean) \
13698 || exit 1
13700 @endif hello
13702 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13703 maybe-maintainer-clean-hello:
13704 @if hello
13705 maybe-maintainer-clean-hello: maintainer-clean-hello
13707 maintainer-clean-hello:
13708 @$(unstage)
13709 @[ -f ./hello/Makefile ] || exit 0; \
13710 r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 $(HOST_EXPORTS) \
13713 for flag in $(EXTRA_HOST_FLAGS) ; do \
13714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13715 done; \
13716 echo "Doing maintainer-clean in hello" ; \
13717 (cd $(HOST_SUBDIR)/hello && \
13718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13720 "RANLIB=$${RANLIB}" \
13721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13722 maintainer-clean) \
13723 || exit 1
13725 @endif hello
13729 .PHONY: configure-indent maybe-configure-indent
13730 maybe-configure-indent:
13731 @if indent
13732 maybe-configure-indent: configure-indent
13733 configure-indent:
13734 @$(unstage)
13735 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13737 r=`${PWD_COMMAND}`; export r; \
13738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13739 $(HOST_EXPORTS) \
13740 echo Configuring in $(HOST_SUBDIR)/indent; \
13741 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13742 case $(srcdir) in \
13743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13744 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13746 esac; \
13747 srcdiroption="--srcdir=$${topdir}/indent"; \
13748 libsrcdir="$$s/indent"; \
13749 $(SHELL) $${libsrcdir}/configure \
13750 $(HOST_CONFIGARGS) $${srcdiroption} \
13751 || exit 1
13752 @endif indent
13758 .PHONY: all-indent maybe-all-indent
13759 maybe-all-indent:
13760 @if indent
13761 TARGET-indent=all
13762 maybe-all-indent: all-indent
13763 all-indent: configure-indent
13764 @$(unstage)
13765 @r=`${PWD_COMMAND}`; export r; \
13766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13767 $(HOST_EXPORTS) \
13768 (cd $(HOST_SUBDIR)/indent && \
13769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13770 @endif indent
13775 .PHONY: check-indent maybe-check-indent
13776 maybe-check-indent:
13777 @if indent
13778 maybe-check-indent: check-indent
13780 check-indent:
13781 @$(unstage)
13782 @r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(HOST_EXPORTS) \
13785 (cd $(HOST_SUBDIR)/indent && \
13786 $(MAKE) $(FLAGS_TO_PASS) check)
13788 @endif indent
13790 .PHONY: install-indent maybe-install-indent
13791 maybe-install-indent:
13792 @if indent
13793 maybe-install-indent: install-indent
13795 install-indent: installdirs
13796 @$(unstage)
13797 @r=`${PWD_COMMAND}`; export r; \
13798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13799 $(HOST_EXPORTS) \
13800 (cd $(HOST_SUBDIR)/indent && \
13801 $(MAKE) $(FLAGS_TO_PASS) install)
13803 @endif indent
13805 # Other targets (info, dvi, etc.)
13807 .PHONY: maybe-info-indent info-indent
13808 maybe-info-indent:
13809 @if indent
13810 maybe-info-indent: info-indent
13812 info-indent: \
13813 configure-indent
13814 @$(unstage)
13815 @[ -f ./indent/Makefile ] || exit 0; \
13816 r=`${PWD_COMMAND}`; export r; \
13817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13818 $(HOST_EXPORTS) \
13819 for flag in $(EXTRA_HOST_FLAGS) ; do \
13820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13821 done; \
13822 echo "Doing info in indent" ; \
13823 (cd $(HOST_SUBDIR)/indent && \
13824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13826 "RANLIB=$${RANLIB}" \
13827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13828 info) \
13829 || exit 1
13831 @endif indent
13833 .PHONY: maybe-dvi-indent dvi-indent
13834 maybe-dvi-indent:
13835 @if indent
13836 maybe-dvi-indent: dvi-indent
13838 dvi-indent: \
13839 configure-indent
13840 @$(unstage)
13841 @[ -f ./indent/Makefile ] || exit 0; \
13842 r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13844 $(HOST_EXPORTS) \
13845 for flag in $(EXTRA_HOST_FLAGS) ; do \
13846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13847 done; \
13848 echo "Doing dvi in indent" ; \
13849 (cd $(HOST_SUBDIR)/indent && \
13850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13852 "RANLIB=$${RANLIB}" \
13853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13854 dvi) \
13855 || exit 1
13857 @endif indent
13859 .PHONY: maybe-html-indent html-indent
13860 maybe-html-indent:
13861 @if indent
13862 maybe-html-indent: html-indent
13864 html-indent: \
13865 configure-indent
13866 @$(unstage)
13867 @[ -f ./indent/Makefile ] || exit 0; \
13868 r=`${PWD_COMMAND}`; export r; \
13869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13870 $(HOST_EXPORTS) \
13871 for flag in $(EXTRA_HOST_FLAGS) ; do \
13872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13873 done; \
13874 echo "Doing html in indent" ; \
13875 (cd $(HOST_SUBDIR)/indent && \
13876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13878 "RANLIB=$${RANLIB}" \
13879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13880 html) \
13881 || exit 1
13883 @endif indent
13885 .PHONY: maybe-TAGS-indent TAGS-indent
13886 maybe-TAGS-indent:
13887 @if indent
13888 maybe-TAGS-indent: TAGS-indent
13890 TAGS-indent: \
13891 configure-indent
13892 @$(unstage)
13893 @[ -f ./indent/Makefile ] || exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896 $(HOST_EXPORTS) \
13897 for flag in $(EXTRA_HOST_FLAGS) ; do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13899 done; \
13900 echo "Doing TAGS in indent" ; \
13901 (cd $(HOST_SUBDIR)/indent && \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904 "RANLIB=$${RANLIB}" \
13905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13906 TAGS) \
13907 || exit 1
13909 @endif indent
13911 .PHONY: maybe-install-info-indent install-info-indent
13912 maybe-install-info-indent:
13913 @if indent
13914 maybe-install-info-indent: install-info-indent
13916 install-info-indent: \
13917 configure-indent \
13918 info-indent
13919 @$(unstage)
13920 @[ -f ./indent/Makefile ] || exit 0; \
13921 r=`${PWD_COMMAND}`; export r; \
13922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13923 $(HOST_EXPORTS) \
13924 for flag in $(EXTRA_HOST_FLAGS) ; do \
13925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13926 done; \
13927 echo "Doing install-info in indent" ; \
13928 (cd $(HOST_SUBDIR)/indent && \
13929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13931 "RANLIB=$${RANLIB}" \
13932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13933 install-info) \
13934 || exit 1
13936 @endif indent
13938 .PHONY: maybe-installcheck-indent installcheck-indent
13939 maybe-installcheck-indent:
13940 @if indent
13941 maybe-installcheck-indent: installcheck-indent
13943 installcheck-indent: \
13944 configure-indent
13945 @$(unstage)
13946 @[ -f ./indent/Makefile ] || exit 0; \
13947 r=`${PWD_COMMAND}`; export r; \
13948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13949 $(HOST_EXPORTS) \
13950 for flag in $(EXTRA_HOST_FLAGS) ; do \
13951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13952 done; \
13953 echo "Doing installcheck in indent" ; \
13954 (cd $(HOST_SUBDIR)/indent && \
13955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13957 "RANLIB=$${RANLIB}" \
13958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13959 installcheck) \
13960 || exit 1
13962 @endif indent
13964 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13965 maybe-mostlyclean-indent:
13966 @if indent
13967 maybe-mostlyclean-indent: mostlyclean-indent
13969 mostlyclean-indent:
13970 @$(unstage)
13971 @[ -f ./indent/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 $(HOST_EXPORTS) \
13975 for flag in $(EXTRA_HOST_FLAGS) ; do \
13976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13977 done; \
13978 echo "Doing mostlyclean in indent" ; \
13979 (cd $(HOST_SUBDIR)/indent && \
13980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13982 "RANLIB=$${RANLIB}" \
13983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13984 mostlyclean) \
13985 || exit 1
13987 @endif indent
13989 .PHONY: maybe-clean-indent clean-indent
13990 maybe-clean-indent:
13991 @if indent
13992 maybe-clean-indent: clean-indent
13994 clean-indent:
13995 @$(unstage)
13996 @[ -f ./indent/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13999 $(HOST_EXPORTS) \
14000 for flag in $(EXTRA_HOST_FLAGS) ; do \
14001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14002 done; \
14003 echo "Doing clean in indent" ; \
14004 (cd $(HOST_SUBDIR)/indent && \
14005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14007 "RANLIB=$${RANLIB}" \
14008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14009 clean) \
14010 || exit 1
14012 @endif indent
14014 .PHONY: maybe-distclean-indent distclean-indent
14015 maybe-distclean-indent:
14016 @if indent
14017 maybe-distclean-indent: distclean-indent
14019 distclean-indent:
14020 @$(unstage)
14021 @[ -f ./indent/Makefile ] || exit 0; \
14022 r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 $(HOST_EXPORTS) \
14025 for flag in $(EXTRA_HOST_FLAGS) ; do \
14026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14027 done; \
14028 echo "Doing distclean in indent" ; \
14029 (cd $(HOST_SUBDIR)/indent && \
14030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14032 "RANLIB=$${RANLIB}" \
14033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14034 distclean) \
14035 || exit 1
14037 @endif indent
14039 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14040 maybe-maintainer-clean-indent:
14041 @if indent
14042 maybe-maintainer-clean-indent: maintainer-clean-indent
14044 maintainer-clean-indent:
14045 @$(unstage)
14046 @[ -f ./indent/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS) ; do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing maintainer-clean in indent" ; \
14054 (cd $(HOST_SUBDIR)/indent && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 maintainer-clean) \
14060 || exit 1
14062 @endif indent
14066 .PHONY: configure-intl maybe-configure-intl
14067 maybe-configure-intl:
14068 @if intl
14069 maybe-configure-intl: configure-intl
14070 configure-intl:
14071 @test -f stage_last && exit 0; \
14072 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14074 r=`${PWD_COMMAND}`; export r; \
14075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 $(HOST_EXPORTS) \
14077 echo Configuring in $(HOST_SUBDIR)/intl; \
14078 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14079 case $(srcdir) in \
14080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14081 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14083 esac; \
14084 srcdiroption="--srcdir=$${topdir}/intl"; \
14085 libsrcdir="$$s/intl"; \
14086 $(SHELL) $${libsrcdir}/configure \
14087 $(HOST_CONFIGARGS) $${srcdiroption} \
14088 || exit 1
14089 @endif intl
14093 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14094 maybe-configure-stage1-intl:
14095 @if intl-bootstrap
14096 maybe-configure-stage1-intl: configure-stage1-intl
14097 configure-stage1-intl:
14098 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14099 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14100 r=`${PWD_COMMAND}`; export r; \
14101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 $(HOST_EXPORTS) \
14103 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14104 cd $(HOST_SUBDIR)/intl || exit 1; \
14105 case $(srcdir) in \
14106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14107 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14109 esac; \
14110 srcdiroption="--srcdir=$${topdir}/intl"; \
14111 libsrcdir="$$s/intl"; \
14112 $(SHELL) $${libsrcdir}/configure \
14113 $(HOST_CONFIGARGS) $${srcdiroption} \
14114 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14115 @endif intl-bootstrap
14117 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14118 maybe-configure-stage2-intl:
14119 @if intl-bootstrap
14120 maybe-configure-stage2-intl: configure-stage2-intl
14121 configure-stage2-intl:
14122 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14123 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14124 r=`${PWD_COMMAND}`; export r; \
14125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14126 $(HOST_EXPORTS) \
14127 $(POSTSTAGE1_HOST_EXPORTS) \
14128 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14129 cd $(HOST_SUBDIR)/intl || exit 1; \
14130 case $(srcdir) in \
14131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14132 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14134 esac; \
14135 srcdiroption="--srcdir=$${topdir}/intl"; \
14136 libsrcdir="$$s/intl"; \
14137 $(SHELL) $${libsrcdir}/configure \
14138 $(HOST_CONFIGARGS) $${srcdiroption} \
14139 @stage2_werror_flag@
14140 @endif intl-bootstrap
14142 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14143 maybe-configure-stage3-intl:
14144 @if intl-bootstrap
14145 maybe-configure-stage3-intl: configure-stage3-intl
14146 configure-stage3-intl:
14147 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14148 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14149 r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151 $(HOST_EXPORTS) \
14152 $(POSTSTAGE1_HOST_EXPORTS) \
14153 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14154 cd $(HOST_SUBDIR)/intl || exit 1; \
14155 case $(srcdir) in \
14156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14157 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14159 esac; \
14160 srcdiroption="--srcdir=$${topdir}/intl"; \
14161 libsrcdir="$$s/intl"; \
14162 $(SHELL) $${libsrcdir}/configure \
14163 $(HOST_CONFIGARGS) $${srcdiroption} \
14164 @stage2_werror_flag@
14165 @endif intl-bootstrap
14167 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14168 maybe-configure-stage4-intl:
14169 @if intl-bootstrap
14170 maybe-configure-stage4-intl: configure-stage4-intl
14171 configure-stage4-intl:
14172 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14173 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14174 r=`${PWD_COMMAND}`; export r; \
14175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14176 $(HOST_EXPORTS) \
14177 $(POSTSTAGE1_HOST_EXPORTS) \
14178 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14179 cd $(HOST_SUBDIR)/intl || exit 1; \
14180 case $(srcdir) in \
14181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14182 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14184 esac; \
14185 srcdiroption="--srcdir=$${topdir}/intl"; \
14186 libsrcdir="$$s/intl"; \
14187 $(SHELL) $${libsrcdir}/configure \
14188 $(HOST_CONFIGARGS) $${srcdiroption} \
14189 @stage2_werror_flag@
14190 @endif intl-bootstrap
14192 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14193 maybe-configure-stageprofile-intl:
14194 @if intl-bootstrap
14195 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14196 configure-stageprofile-intl:
14197 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14198 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14199 r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 $(HOST_EXPORTS) \
14202 $(POSTSTAGE1_HOST_EXPORTS) \
14203 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14204 cd $(HOST_SUBDIR)/intl || exit 1; \
14205 case $(srcdir) in \
14206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14207 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14209 esac; \
14210 srcdiroption="--srcdir=$${topdir}/intl"; \
14211 libsrcdir="$$s/intl"; \
14212 $(SHELL) $${libsrcdir}/configure \
14213 $(HOST_CONFIGARGS) $${srcdiroption} \
14214 @stage2_werror_flag@
14215 @endif intl-bootstrap
14217 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14218 maybe-configure-stagefeedback-intl:
14219 @if intl-bootstrap
14220 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14221 configure-stagefeedback-intl:
14222 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14223 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14224 r=`${PWD_COMMAND}`; export r; \
14225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14226 $(HOST_EXPORTS) \
14227 $(POSTSTAGE1_HOST_EXPORTS) \
14228 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14229 cd $(HOST_SUBDIR)/intl || exit 1; \
14230 case $(srcdir) in \
14231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14232 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14234 esac; \
14235 srcdiroption="--srcdir=$${topdir}/intl"; \
14236 libsrcdir="$$s/intl"; \
14237 $(SHELL) $${libsrcdir}/configure \
14238 $(HOST_CONFIGARGS) $${srcdiroption} \
14239 @stage2_werror_flag@
14240 @endif intl-bootstrap
14246 .PHONY: all-intl maybe-all-intl
14247 maybe-all-intl:
14248 @if intl
14249 TARGET-intl=all
14250 maybe-all-intl: all-intl
14251 all-intl: configure-intl
14252 @test -f stage_last && exit 0; \
14253 r=`${PWD_COMMAND}`; export r; \
14254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14255 $(HOST_EXPORTS) \
14256 (cd $(HOST_SUBDIR)/intl && \
14257 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14258 @endif intl
14262 .PHONY: all-stage1-intl maybe-all-stage1-intl
14263 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14264 maybe-all-stage1-intl:
14265 maybe-clean-stage1-intl:
14266 @if intl-bootstrap
14267 maybe-all-stage1-intl: all-stage1-intl
14268 all-stage1: all-stage1-intl
14269 TARGET-stage1-intl = $(TARGET-intl)
14270 all-stage1-intl: configure-stage1-intl
14271 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14272 @r=`${PWD_COMMAND}`; export r; \
14273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14274 $(HOST_EXPORTS) \
14275 cd $(HOST_SUBDIR)/intl && \
14276 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14277 $(TARGET-stage1-intl)
14279 maybe-clean-stage1-intl: clean-stage1-intl
14280 clean-stage1: clean-stage1-intl
14281 clean-stage1-intl:
14282 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14283 || exit 0 ; \
14284 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14285 cd $(HOST_SUBDIR)/intl && \
14286 $(MAKE) $(FLAGS_TO_PASS) \
14287 CFLAGS="$(STAGE1_CFLAGS)" clean
14288 @endif intl-bootstrap
14291 .PHONY: all-stage2-intl maybe-all-stage2-intl
14292 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14293 maybe-all-stage2-intl:
14294 maybe-clean-stage2-intl:
14295 @if intl-bootstrap
14296 maybe-all-stage2-intl: all-stage2-intl
14297 all-stage2: all-stage2-intl
14298 TARGET-stage2-intl = $(TARGET-intl)
14299 all-stage2-intl: configure-stage2-intl
14300 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14301 @r=`${PWD_COMMAND}`; export r; \
14302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14303 $(HOST_EXPORTS) \
14304 $(POSTSTAGE1_HOST_EXPORTS) \
14305 cd $(HOST_SUBDIR)/intl && \
14306 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14307 $(TARGET-stage2-intl)
14309 maybe-clean-stage2-intl: clean-stage2-intl
14310 clean-stage2: clean-stage2-intl
14311 clean-stage2-intl:
14312 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14313 || exit 0 ; \
14314 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14315 cd $(HOST_SUBDIR)/intl && \
14316 $(MAKE) $(FLAGS_TO_PASS) \
14317 $(POSTSTAGE1_FLAGS_TO_PASS) \
14318 clean
14319 @endif intl-bootstrap
14322 .PHONY: all-stage3-intl maybe-all-stage3-intl
14323 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14324 maybe-all-stage3-intl:
14325 maybe-clean-stage3-intl:
14326 @if intl-bootstrap
14327 maybe-all-stage3-intl: all-stage3-intl
14328 all-stage3: all-stage3-intl
14329 TARGET-stage3-intl = $(TARGET-intl)
14330 all-stage3-intl: configure-stage3-intl
14331 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14332 @r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 $(HOST_EXPORTS) \
14335 $(POSTSTAGE1_HOST_EXPORTS) \
14336 cd $(HOST_SUBDIR)/intl && \
14337 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14338 $(TARGET-stage3-intl)
14340 maybe-clean-stage3-intl: clean-stage3-intl
14341 clean-stage3: clean-stage3-intl
14342 clean-stage3-intl:
14343 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14344 || exit 0 ; \
14345 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14346 cd $(HOST_SUBDIR)/intl && \
14347 $(MAKE) $(FLAGS_TO_PASS) \
14348 $(POSTSTAGE1_FLAGS_TO_PASS) \
14349 clean
14350 @endif intl-bootstrap
14353 .PHONY: all-stage4-intl maybe-all-stage4-intl
14354 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14355 maybe-all-stage4-intl:
14356 maybe-clean-stage4-intl:
14357 @if intl-bootstrap
14358 maybe-all-stage4-intl: all-stage4-intl
14359 all-stage4: all-stage4-intl
14360 TARGET-stage4-intl = $(TARGET-intl)
14361 all-stage4-intl: configure-stage4-intl
14362 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14363 @r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365 $(HOST_EXPORTS) \
14366 $(POSTSTAGE1_HOST_EXPORTS) \
14367 cd $(HOST_SUBDIR)/intl && \
14368 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14369 $(TARGET-stage4-intl)
14371 maybe-clean-stage4-intl: clean-stage4-intl
14372 clean-stage4: clean-stage4-intl
14373 clean-stage4-intl:
14374 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14375 || exit 0 ; \
14376 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14377 cd $(HOST_SUBDIR)/intl && \
14378 $(MAKE) $(FLAGS_TO_PASS) \
14379 $(POSTSTAGE1_FLAGS_TO_PASS) \
14380 clean
14381 @endif intl-bootstrap
14384 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14385 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14386 maybe-all-stageprofile-intl:
14387 maybe-clean-stageprofile-intl:
14388 @if intl-bootstrap
14389 maybe-all-stageprofile-intl: all-stageprofile-intl
14390 all-stageprofile: all-stageprofile-intl
14391 TARGET-stageprofile-intl = $(TARGET-intl)
14392 all-stageprofile-intl: configure-stageprofile-intl
14393 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14394 @r=`${PWD_COMMAND}`; export r; \
14395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14396 $(HOST_EXPORTS) \
14397 $(POSTSTAGE1_HOST_EXPORTS) \
14398 cd $(HOST_SUBDIR)/intl && \
14399 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14400 $(TARGET-stageprofile-intl)
14402 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14403 clean-stageprofile: clean-stageprofile-intl
14404 clean-stageprofile-intl:
14405 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14406 || exit 0 ; \
14407 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14408 cd $(HOST_SUBDIR)/intl && \
14409 $(MAKE) $(FLAGS_TO_PASS) \
14410 $(POSTSTAGE1_FLAGS_TO_PASS) \
14411 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14412 @endif intl-bootstrap
14415 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14416 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14417 maybe-all-stagefeedback-intl:
14418 maybe-clean-stagefeedback-intl:
14419 @if intl-bootstrap
14420 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14421 all-stagefeedback: all-stagefeedback-intl
14422 TARGET-stagefeedback-intl = $(TARGET-intl)
14423 all-stagefeedback-intl: configure-stagefeedback-intl
14424 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14425 @r=`${PWD_COMMAND}`; export r; \
14426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14427 $(HOST_EXPORTS) \
14428 $(POSTSTAGE1_HOST_EXPORTS) \
14429 cd $(HOST_SUBDIR)/intl && \
14430 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14431 $(TARGET-stagefeedback-intl)
14433 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14434 clean-stagefeedback: clean-stagefeedback-intl
14435 clean-stagefeedback-intl:
14436 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14437 || exit 0 ; \
14438 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14439 cd $(HOST_SUBDIR)/intl && \
14440 $(MAKE) $(FLAGS_TO_PASS) \
14441 $(POSTSTAGE1_FLAGS_TO_PASS) \
14442 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14443 @endif intl-bootstrap
14449 .PHONY: check-intl maybe-check-intl
14450 maybe-check-intl:
14451 @if intl
14452 maybe-check-intl: check-intl
14454 check-intl:
14455 @$(unstage)
14456 @r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458 $(HOST_EXPORTS) \
14459 (cd $(HOST_SUBDIR)/intl && \
14460 $(MAKE) $(FLAGS_TO_PASS) check)
14462 @endif intl
14464 .PHONY: install-intl maybe-install-intl
14465 maybe-install-intl:
14466 @if intl
14467 maybe-install-intl: install-intl
14469 install-intl: installdirs
14470 @$(unstage)
14471 @r=`${PWD_COMMAND}`; export r; \
14472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14473 $(HOST_EXPORTS) \
14474 (cd $(HOST_SUBDIR)/intl && \
14475 $(MAKE) $(FLAGS_TO_PASS) install)
14477 @endif intl
14479 # Other targets (info, dvi, etc.)
14481 .PHONY: maybe-info-intl info-intl
14482 maybe-info-intl:
14483 @if intl
14484 maybe-info-intl: info-intl
14486 info-intl: \
14487 configure-intl
14488 @[ -f ./intl/Makefile ] || exit 0; \
14489 r=`${PWD_COMMAND}`; export r; \
14490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14491 $(HOST_EXPORTS) \
14492 for flag in $(EXTRA_HOST_FLAGS) ; do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing info in intl" ; \
14496 (cd $(HOST_SUBDIR)/intl && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14501 info) \
14502 || exit 1
14504 @endif intl
14506 .PHONY: maybe-dvi-intl dvi-intl
14507 maybe-dvi-intl:
14508 @if intl
14509 maybe-dvi-intl: dvi-intl
14511 dvi-intl: \
14512 configure-intl
14513 @[ -f ./intl/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing dvi in intl" ; \
14521 (cd $(HOST_SUBDIR)/intl && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 dvi) \
14527 || exit 1
14529 @endif intl
14531 .PHONY: maybe-html-intl html-intl
14532 maybe-html-intl:
14533 @if intl
14534 maybe-html-intl: html-intl
14536 html-intl: \
14537 configure-intl
14538 @[ -f ./intl/Makefile ] || exit 0; \
14539 r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14541 $(HOST_EXPORTS) \
14542 for flag in $(EXTRA_HOST_FLAGS) ; do \
14543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14544 done; \
14545 echo "Doing html in intl" ; \
14546 (cd $(HOST_SUBDIR)/intl && \
14547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14549 "RANLIB=$${RANLIB}" \
14550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14551 html) \
14552 || exit 1
14554 @endif intl
14556 .PHONY: maybe-TAGS-intl TAGS-intl
14557 maybe-TAGS-intl:
14558 @if intl
14559 maybe-TAGS-intl: TAGS-intl
14561 TAGS-intl: \
14562 configure-intl
14563 @[ -f ./intl/Makefile ] || exit 0; \
14564 r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(HOST_EXPORTS) \
14567 for flag in $(EXTRA_HOST_FLAGS) ; do \
14568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14569 done; \
14570 echo "Doing TAGS in intl" ; \
14571 (cd $(HOST_SUBDIR)/intl && \
14572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14574 "RANLIB=$${RANLIB}" \
14575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14576 TAGS) \
14577 || exit 1
14579 @endif intl
14581 .PHONY: maybe-install-info-intl install-info-intl
14582 maybe-install-info-intl:
14583 @if intl
14584 maybe-install-info-intl: install-info-intl
14586 install-info-intl: \
14587 configure-intl \
14588 info-intl
14589 @[ -f ./intl/Makefile ] || exit 0; \
14590 r=`${PWD_COMMAND}`; export r; \
14591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14592 $(HOST_EXPORTS) \
14593 for flag in $(EXTRA_HOST_FLAGS) ; do \
14594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14595 done; \
14596 echo "Doing install-info in intl" ; \
14597 (cd $(HOST_SUBDIR)/intl && \
14598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14600 "RANLIB=$${RANLIB}" \
14601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14602 install-info) \
14603 || exit 1
14605 @endif intl
14607 .PHONY: maybe-installcheck-intl installcheck-intl
14608 maybe-installcheck-intl:
14609 @if intl
14610 maybe-installcheck-intl: installcheck-intl
14612 installcheck-intl: \
14613 configure-intl
14614 @[ -f ./intl/Makefile ] || exit 0; \
14615 r=`${PWD_COMMAND}`; export r; \
14616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14617 $(HOST_EXPORTS) \
14618 for flag in $(EXTRA_HOST_FLAGS) ; do \
14619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14620 done; \
14621 echo "Doing installcheck in intl" ; \
14622 (cd $(HOST_SUBDIR)/intl && \
14623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14625 "RANLIB=$${RANLIB}" \
14626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14627 installcheck) \
14628 || exit 1
14630 @endif intl
14632 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14633 maybe-mostlyclean-intl:
14634 @if intl
14635 maybe-mostlyclean-intl: mostlyclean-intl
14637 mostlyclean-intl:
14638 @[ -f ./intl/Makefile ] || exit 0; \
14639 r=`${PWD_COMMAND}`; export r; \
14640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14641 $(HOST_EXPORTS) \
14642 for flag in $(EXTRA_HOST_FLAGS) ; do \
14643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14644 done; \
14645 echo "Doing mostlyclean in intl" ; \
14646 (cd $(HOST_SUBDIR)/intl && \
14647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14649 "RANLIB=$${RANLIB}" \
14650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14651 mostlyclean) \
14652 || exit 1
14654 @endif intl
14656 .PHONY: maybe-clean-intl clean-intl
14657 maybe-clean-intl:
14658 @if intl
14659 maybe-clean-intl: clean-intl
14661 clean-intl:
14662 @[ -f ./intl/Makefile ] || exit 0; \
14663 r=`${PWD_COMMAND}`; export r; \
14664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14665 $(HOST_EXPORTS) \
14666 for flag in $(EXTRA_HOST_FLAGS) ; do \
14667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14668 done; \
14669 echo "Doing clean in intl" ; \
14670 (cd $(HOST_SUBDIR)/intl && \
14671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14673 "RANLIB=$${RANLIB}" \
14674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14675 clean) \
14676 || exit 1
14678 @endif intl
14680 .PHONY: maybe-distclean-intl distclean-intl
14681 maybe-distclean-intl:
14682 @if intl
14683 maybe-distclean-intl: distclean-intl
14685 distclean-intl:
14686 @[ -f ./intl/Makefile ] || exit 0; \
14687 r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689 $(HOST_EXPORTS) \
14690 for flag in $(EXTRA_HOST_FLAGS) ; do \
14691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14692 done; \
14693 echo "Doing distclean in intl" ; \
14694 (cd $(HOST_SUBDIR)/intl && \
14695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14697 "RANLIB=$${RANLIB}" \
14698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14699 distclean) \
14700 || exit 1
14702 @endif intl
14704 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14705 maybe-maintainer-clean-intl:
14706 @if intl
14707 maybe-maintainer-clean-intl: maintainer-clean-intl
14709 maintainer-clean-intl:
14710 @[ -f ./intl/Makefile ] || exit 0; \
14711 r=`${PWD_COMMAND}`; export r; \
14712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14713 $(HOST_EXPORTS) \
14714 for flag in $(EXTRA_HOST_FLAGS) ; do \
14715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14716 done; \
14717 echo "Doing maintainer-clean in intl" ; \
14718 (cd $(HOST_SUBDIR)/intl && \
14719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14721 "RANLIB=$${RANLIB}" \
14722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14723 maintainer-clean) \
14724 || exit 1
14726 @endif intl
14730 .PHONY: configure-tcl maybe-configure-tcl
14731 maybe-configure-tcl:
14732 @if tcl
14733 maybe-configure-tcl: configure-tcl
14734 configure-tcl:
14735 @$(unstage)
14736 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14738 r=`${PWD_COMMAND}`; export r; \
14739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14740 $(HOST_EXPORTS) \
14741 echo Configuring in $(HOST_SUBDIR)/tcl; \
14742 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14743 case $(srcdir) in \
14744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14745 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14747 esac; \
14748 srcdiroption="--srcdir=$${topdir}/tcl"; \
14749 libsrcdir="$$s/tcl"; \
14750 $(SHELL) $${libsrcdir}/configure \
14751 $(HOST_CONFIGARGS) $${srcdiroption} \
14752 || exit 1
14753 @endif tcl
14759 .PHONY: all-tcl maybe-all-tcl
14760 maybe-all-tcl:
14761 @if tcl
14762 TARGET-tcl=all
14763 maybe-all-tcl: all-tcl
14764 all-tcl: configure-tcl
14765 @$(unstage)
14766 @r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14768 $(HOST_EXPORTS) \
14769 (cd $(HOST_SUBDIR)/tcl && \
14770 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14771 @endif tcl
14776 .PHONY: check-tcl maybe-check-tcl
14777 maybe-check-tcl:
14778 @if tcl
14779 maybe-check-tcl: check-tcl
14781 check-tcl:
14782 @$(unstage)
14783 @r=`${PWD_COMMAND}`; export r; \
14784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14785 $(HOST_EXPORTS) \
14786 (cd $(HOST_SUBDIR)/tcl && \
14787 $(MAKE) $(FLAGS_TO_PASS) check)
14789 @endif tcl
14791 .PHONY: install-tcl maybe-install-tcl
14792 maybe-install-tcl:
14793 @if tcl
14794 maybe-install-tcl: install-tcl
14796 install-tcl: installdirs
14797 @$(unstage)
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(HOST_EXPORTS) \
14801 (cd $(HOST_SUBDIR)/tcl && \
14802 $(MAKE) $(FLAGS_TO_PASS) install)
14804 @endif tcl
14806 # Other targets (info, dvi, etc.)
14808 .PHONY: maybe-info-tcl info-tcl
14809 maybe-info-tcl:
14810 @if tcl
14811 maybe-info-tcl: info-tcl
14813 info-tcl: \
14814 configure-tcl
14815 @$(unstage)
14816 @[ -f ./tcl/Makefile ] || exit 0; \
14817 r=`${PWD_COMMAND}`; export r; \
14818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14819 $(HOST_EXPORTS) \
14820 for flag in $(EXTRA_HOST_FLAGS) ; do \
14821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14822 done; \
14823 echo "Doing info in tcl" ; \
14824 (cd $(HOST_SUBDIR)/tcl && \
14825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14827 "RANLIB=$${RANLIB}" \
14828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14829 info) \
14830 || exit 1
14832 @endif tcl
14834 .PHONY: maybe-dvi-tcl dvi-tcl
14835 maybe-dvi-tcl:
14836 @if tcl
14837 maybe-dvi-tcl: dvi-tcl
14839 dvi-tcl: \
14840 configure-tcl
14841 @$(unstage)
14842 @[ -f ./tcl/Makefile ] || exit 0; \
14843 r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14845 $(HOST_EXPORTS) \
14846 for flag in $(EXTRA_HOST_FLAGS) ; do \
14847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14848 done; \
14849 echo "Doing dvi in tcl" ; \
14850 (cd $(HOST_SUBDIR)/tcl && \
14851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14853 "RANLIB=$${RANLIB}" \
14854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14855 dvi) \
14856 || exit 1
14858 @endif tcl
14860 .PHONY: maybe-html-tcl html-tcl
14861 maybe-html-tcl:
14862 @if tcl
14863 maybe-html-tcl: html-tcl
14865 html-tcl: \
14866 configure-tcl
14867 @$(unstage)
14868 @[ -f ./tcl/Makefile ] || exit 0; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 $(HOST_EXPORTS) \
14872 for flag in $(EXTRA_HOST_FLAGS) ; do \
14873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14874 done; \
14875 echo "Doing html in tcl" ; \
14876 (cd $(HOST_SUBDIR)/tcl && \
14877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14879 "RANLIB=$${RANLIB}" \
14880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14881 html) \
14882 || exit 1
14884 @endif tcl
14886 .PHONY: maybe-TAGS-tcl TAGS-tcl
14887 maybe-TAGS-tcl:
14888 @if tcl
14889 maybe-TAGS-tcl: TAGS-tcl
14891 TAGS-tcl: \
14892 configure-tcl
14893 @$(unstage)
14894 @[ -f ./tcl/Makefile ] || exit 0; \
14895 r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14897 $(HOST_EXPORTS) \
14898 for flag in $(EXTRA_HOST_FLAGS) ; do \
14899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14900 done; \
14901 echo "Doing TAGS in tcl" ; \
14902 (cd $(HOST_SUBDIR)/tcl && \
14903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14905 "RANLIB=$${RANLIB}" \
14906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14907 TAGS) \
14908 || exit 1
14910 @endif tcl
14912 .PHONY: maybe-install-info-tcl install-info-tcl
14913 maybe-install-info-tcl:
14914 @if tcl
14915 maybe-install-info-tcl: install-info-tcl
14917 install-info-tcl: \
14918 configure-tcl \
14919 info-tcl
14920 @$(unstage)
14921 @[ -f ./tcl/Makefile ] || exit 0; \
14922 r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 $(HOST_EXPORTS) \
14925 for flag in $(EXTRA_HOST_FLAGS) ; do \
14926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14927 done; \
14928 echo "Doing install-info in tcl" ; \
14929 (cd $(HOST_SUBDIR)/tcl && \
14930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14932 "RANLIB=$${RANLIB}" \
14933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14934 install-info) \
14935 || exit 1
14937 @endif tcl
14939 .PHONY: maybe-installcheck-tcl installcheck-tcl
14940 maybe-installcheck-tcl:
14941 @if tcl
14942 maybe-installcheck-tcl: installcheck-tcl
14944 installcheck-tcl: \
14945 configure-tcl
14946 @$(unstage)
14947 @[ -f ./tcl/Makefile ] || exit 0; \
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14950 $(HOST_EXPORTS) \
14951 for flag in $(EXTRA_HOST_FLAGS) ; do \
14952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14953 done; \
14954 echo "Doing installcheck in tcl" ; \
14955 (cd $(HOST_SUBDIR)/tcl && \
14956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14958 "RANLIB=$${RANLIB}" \
14959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14960 installcheck) \
14961 || exit 1
14963 @endif tcl
14965 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14966 maybe-mostlyclean-tcl:
14967 @if tcl
14968 maybe-mostlyclean-tcl: mostlyclean-tcl
14970 # tcl doesn't support mostlyclean.
14971 mostlyclean-tcl:
14973 @endif tcl
14975 .PHONY: maybe-clean-tcl clean-tcl
14976 maybe-clean-tcl:
14977 @if tcl
14978 maybe-clean-tcl: clean-tcl
14980 clean-tcl:
14981 @$(unstage)
14982 @[ -f ./tcl/Makefile ] || exit 0; \
14983 r=`${PWD_COMMAND}`; export r; \
14984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14985 $(HOST_EXPORTS) \
14986 for flag in $(EXTRA_HOST_FLAGS) ; do \
14987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14988 done; \
14989 echo "Doing clean in tcl" ; \
14990 (cd $(HOST_SUBDIR)/tcl && \
14991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14993 "RANLIB=$${RANLIB}" \
14994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14995 clean) \
14996 || exit 1
14998 @endif tcl
15000 .PHONY: maybe-distclean-tcl distclean-tcl
15001 maybe-distclean-tcl:
15002 @if tcl
15003 maybe-distclean-tcl: distclean-tcl
15005 distclean-tcl:
15006 @$(unstage)
15007 @[ -f ./tcl/Makefile ] || exit 0; \
15008 r=`${PWD_COMMAND}`; export r; \
15009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15010 $(HOST_EXPORTS) \
15011 for flag in $(EXTRA_HOST_FLAGS) ; do \
15012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15013 done; \
15014 echo "Doing distclean in tcl" ; \
15015 (cd $(HOST_SUBDIR)/tcl && \
15016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15018 "RANLIB=$${RANLIB}" \
15019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15020 distclean) \
15021 || exit 1
15023 @endif tcl
15025 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15026 maybe-maintainer-clean-tcl:
15027 @if tcl
15028 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15030 maintainer-clean-tcl:
15031 @$(unstage)
15032 @[ -f ./tcl/Makefile ] || exit 0; \
15033 r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 $(HOST_EXPORTS) \
15036 for flag in $(EXTRA_HOST_FLAGS) ; do \
15037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15038 done; \
15039 echo "Doing maintainer-clean in tcl" ; \
15040 (cd $(HOST_SUBDIR)/tcl && \
15041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15043 "RANLIB=$${RANLIB}" \
15044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15045 maintainer-clean) \
15046 || exit 1
15048 @endif tcl
15052 .PHONY: configure-itcl maybe-configure-itcl
15053 maybe-configure-itcl:
15054 @if itcl
15055 maybe-configure-itcl: configure-itcl
15056 configure-itcl:
15057 @$(unstage)
15058 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15060 r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15062 $(HOST_EXPORTS) \
15063 echo Configuring in $(HOST_SUBDIR)/itcl; \
15064 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15065 case $(srcdir) in \
15066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15067 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15069 esac; \
15070 srcdiroption="--srcdir=$${topdir}/itcl"; \
15071 libsrcdir="$$s/itcl"; \
15072 $(SHELL) $${libsrcdir}/configure \
15073 $(HOST_CONFIGARGS) $${srcdiroption} \
15074 || exit 1
15075 @endif itcl
15081 .PHONY: all-itcl maybe-all-itcl
15082 maybe-all-itcl:
15083 @if itcl
15084 TARGET-itcl=all
15085 maybe-all-itcl: all-itcl
15086 all-itcl: configure-itcl
15087 @$(unstage)
15088 @r=`${PWD_COMMAND}`; export r; \
15089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15090 $(HOST_EXPORTS) \
15091 (cd $(HOST_SUBDIR)/itcl && \
15092 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15093 @endif itcl
15098 .PHONY: check-itcl maybe-check-itcl
15099 maybe-check-itcl:
15100 @if itcl
15101 maybe-check-itcl: check-itcl
15103 check-itcl:
15104 @$(unstage)
15105 @r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15107 $(HOST_EXPORTS) \
15108 (cd $(HOST_SUBDIR)/itcl && \
15109 $(MAKE) $(FLAGS_TO_PASS) check)
15111 @endif itcl
15113 .PHONY: install-itcl maybe-install-itcl
15114 maybe-install-itcl:
15115 @if itcl
15116 maybe-install-itcl: install-itcl
15118 install-itcl: installdirs
15119 @$(unstage)
15120 @r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15122 $(HOST_EXPORTS) \
15123 (cd $(HOST_SUBDIR)/itcl && \
15124 $(MAKE) $(FLAGS_TO_PASS) install)
15126 @endif itcl
15128 # Other targets (info, dvi, etc.)
15130 .PHONY: maybe-info-itcl info-itcl
15131 maybe-info-itcl:
15132 @if itcl
15133 maybe-info-itcl: info-itcl
15135 info-itcl: \
15136 configure-itcl
15137 @$(unstage)
15138 @[ -f ./itcl/Makefile ] || exit 0; \
15139 r=`${PWD_COMMAND}`; export r; \
15140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15141 $(HOST_EXPORTS) \
15142 for flag in $(EXTRA_HOST_FLAGS) ; do \
15143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15144 done; \
15145 echo "Doing info in itcl" ; \
15146 (cd $(HOST_SUBDIR)/itcl && \
15147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15149 "RANLIB=$${RANLIB}" \
15150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15151 info) \
15152 || exit 1
15154 @endif itcl
15156 .PHONY: maybe-dvi-itcl dvi-itcl
15157 maybe-dvi-itcl:
15158 @if itcl
15159 maybe-dvi-itcl: dvi-itcl
15161 dvi-itcl: \
15162 configure-itcl
15163 @$(unstage)
15164 @[ -f ./itcl/Makefile ] || exit 0; \
15165 r=`${PWD_COMMAND}`; export r; \
15166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15167 $(HOST_EXPORTS) \
15168 for flag in $(EXTRA_HOST_FLAGS) ; do \
15169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15170 done; \
15171 echo "Doing dvi in itcl" ; \
15172 (cd $(HOST_SUBDIR)/itcl && \
15173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15175 "RANLIB=$${RANLIB}" \
15176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15177 dvi) \
15178 || exit 1
15180 @endif itcl
15182 .PHONY: maybe-html-itcl html-itcl
15183 maybe-html-itcl:
15184 @if itcl
15185 maybe-html-itcl: html-itcl
15187 html-itcl: \
15188 configure-itcl
15189 @$(unstage)
15190 @[ -f ./itcl/Makefile ] || exit 0; \
15191 r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15193 $(HOST_EXPORTS) \
15194 for flag in $(EXTRA_HOST_FLAGS) ; do \
15195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15196 done; \
15197 echo "Doing html in itcl" ; \
15198 (cd $(HOST_SUBDIR)/itcl && \
15199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15201 "RANLIB=$${RANLIB}" \
15202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15203 html) \
15204 || exit 1
15206 @endif itcl
15208 .PHONY: maybe-TAGS-itcl TAGS-itcl
15209 maybe-TAGS-itcl:
15210 @if itcl
15211 maybe-TAGS-itcl: TAGS-itcl
15213 TAGS-itcl: \
15214 configure-itcl
15215 @$(unstage)
15216 @[ -f ./itcl/Makefile ] || exit 0; \
15217 r=`${PWD_COMMAND}`; export r; \
15218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15219 $(HOST_EXPORTS) \
15220 for flag in $(EXTRA_HOST_FLAGS) ; do \
15221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15222 done; \
15223 echo "Doing TAGS in itcl" ; \
15224 (cd $(HOST_SUBDIR)/itcl && \
15225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15227 "RANLIB=$${RANLIB}" \
15228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15229 TAGS) \
15230 || exit 1
15232 @endif itcl
15234 .PHONY: maybe-install-info-itcl install-info-itcl
15235 maybe-install-info-itcl:
15236 @if itcl
15237 maybe-install-info-itcl: install-info-itcl
15239 install-info-itcl: \
15240 configure-itcl \
15241 info-itcl
15242 @$(unstage)
15243 @[ -f ./itcl/Makefile ] || exit 0; \
15244 r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 $(HOST_EXPORTS) \
15247 for flag in $(EXTRA_HOST_FLAGS) ; do \
15248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15249 done; \
15250 echo "Doing install-info in itcl" ; \
15251 (cd $(HOST_SUBDIR)/itcl && \
15252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15254 "RANLIB=$${RANLIB}" \
15255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15256 install-info) \
15257 || exit 1
15259 @endif itcl
15261 .PHONY: maybe-installcheck-itcl installcheck-itcl
15262 maybe-installcheck-itcl:
15263 @if itcl
15264 maybe-installcheck-itcl: installcheck-itcl
15266 installcheck-itcl: \
15267 configure-itcl
15268 @$(unstage)
15269 @[ -f ./itcl/Makefile ] || exit 0; \
15270 r=`${PWD_COMMAND}`; export r; \
15271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15272 $(HOST_EXPORTS) \
15273 for flag in $(EXTRA_HOST_FLAGS) ; do \
15274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15275 done; \
15276 echo "Doing installcheck in itcl" ; \
15277 (cd $(HOST_SUBDIR)/itcl && \
15278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15280 "RANLIB=$${RANLIB}" \
15281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15282 installcheck) \
15283 || exit 1
15285 @endif itcl
15287 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15288 maybe-mostlyclean-itcl:
15289 @if itcl
15290 maybe-mostlyclean-itcl: mostlyclean-itcl
15292 mostlyclean-itcl:
15293 @$(unstage)
15294 @[ -f ./itcl/Makefile ] || exit 0; \
15295 r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15297 $(HOST_EXPORTS) \
15298 for flag in $(EXTRA_HOST_FLAGS) ; do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15300 done; \
15301 echo "Doing mostlyclean in itcl" ; \
15302 (cd $(HOST_SUBDIR)/itcl && \
15303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15305 "RANLIB=$${RANLIB}" \
15306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15307 mostlyclean) \
15308 || exit 1
15310 @endif itcl
15312 .PHONY: maybe-clean-itcl clean-itcl
15313 maybe-clean-itcl:
15314 @if itcl
15315 maybe-clean-itcl: clean-itcl
15317 clean-itcl:
15318 @$(unstage)
15319 @[ -f ./itcl/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS) ; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing clean in itcl" ; \
15327 (cd $(HOST_SUBDIR)/itcl && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15332 clean) \
15333 || exit 1
15335 @endif itcl
15337 .PHONY: maybe-distclean-itcl distclean-itcl
15338 maybe-distclean-itcl:
15339 @if itcl
15340 maybe-distclean-itcl: distclean-itcl
15342 distclean-itcl:
15343 @$(unstage)
15344 @[ -f ./itcl/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347 $(HOST_EXPORTS) \
15348 for flag in $(EXTRA_HOST_FLAGS) ; do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15350 done; \
15351 echo "Doing distclean in itcl" ; \
15352 (cd $(HOST_SUBDIR)/itcl && \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15357 distclean) \
15358 || exit 1
15360 @endif itcl
15362 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15363 maybe-maintainer-clean-itcl:
15364 @if itcl
15365 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15367 maintainer-clean-itcl:
15368 @$(unstage)
15369 @[ -f ./itcl/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing maintainer-clean in itcl" ; \
15377 (cd $(HOST_SUBDIR)/itcl && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15382 maintainer-clean) \
15383 || exit 1
15385 @endif itcl
15389 .PHONY: configure-ld maybe-configure-ld
15390 maybe-configure-ld:
15391 @if ld
15392 maybe-configure-ld: configure-ld
15393 configure-ld:
15394 @test -f stage_last && exit 0; \
15395 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15397 r=`${PWD_COMMAND}`; export r; \
15398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15399 $(HOST_EXPORTS) \
15400 echo Configuring in $(HOST_SUBDIR)/ld; \
15401 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15402 case $(srcdir) in \
15403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15404 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15406 esac; \
15407 srcdiroption="--srcdir=$${topdir}/ld"; \
15408 libsrcdir="$$s/ld"; \
15409 $(SHELL) $${libsrcdir}/configure \
15410 $(HOST_CONFIGARGS) $${srcdiroption} \
15411 || exit 1
15412 @endif ld
15416 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15417 maybe-configure-stage1-ld:
15418 @if ld-bootstrap
15419 maybe-configure-stage1-ld: configure-stage1-ld
15420 configure-stage1-ld:
15421 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15422 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15423 r=`${PWD_COMMAND}`; export r; \
15424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15425 $(HOST_EXPORTS) \
15426 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15427 cd $(HOST_SUBDIR)/ld || exit 1; \
15428 case $(srcdir) in \
15429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15430 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15432 esac; \
15433 srcdiroption="--srcdir=$${topdir}/ld"; \
15434 libsrcdir="$$s/ld"; \
15435 $(SHELL) $${libsrcdir}/configure \
15436 $(HOST_CONFIGARGS) $${srcdiroption} \
15437 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15438 @endif ld-bootstrap
15440 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15441 maybe-configure-stage2-ld:
15442 @if ld-bootstrap
15443 maybe-configure-stage2-ld: configure-stage2-ld
15444 configure-stage2-ld:
15445 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15446 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15447 r=`${PWD_COMMAND}`; export r; \
15448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15449 $(HOST_EXPORTS) \
15450 $(POSTSTAGE1_HOST_EXPORTS) \
15451 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15452 cd $(HOST_SUBDIR)/ld || exit 1; \
15453 case $(srcdir) in \
15454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15455 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15457 esac; \
15458 srcdiroption="--srcdir=$${topdir}/ld"; \
15459 libsrcdir="$$s/ld"; \
15460 $(SHELL) $${libsrcdir}/configure \
15461 $(HOST_CONFIGARGS) $${srcdiroption} \
15462 @stage2_werror_flag@
15463 @endif ld-bootstrap
15465 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15466 maybe-configure-stage3-ld:
15467 @if ld-bootstrap
15468 maybe-configure-stage3-ld: configure-stage3-ld
15469 configure-stage3-ld:
15470 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15471 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15472 r=`${PWD_COMMAND}`; export r; \
15473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15474 $(HOST_EXPORTS) \
15475 $(POSTSTAGE1_HOST_EXPORTS) \
15476 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15477 cd $(HOST_SUBDIR)/ld || exit 1; \
15478 case $(srcdir) in \
15479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15480 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15482 esac; \
15483 srcdiroption="--srcdir=$${topdir}/ld"; \
15484 libsrcdir="$$s/ld"; \
15485 $(SHELL) $${libsrcdir}/configure \
15486 $(HOST_CONFIGARGS) $${srcdiroption} \
15487 @stage2_werror_flag@
15488 @endif ld-bootstrap
15490 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15491 maybe-configure-stage4-ld:
15492 @if ld-bootstrap
15493 maybe-configure-stage4-ld: configure-stage4-ld
15494 configure-stage4-ld:
15495 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15496 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15497 r=`${PWD_COMMAND}`; export r; \
15498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15499 $(HOST_EXPORTS) \
15500 $(POSTSTAGE1_HOST_EXPORTS) \
15501 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15502 cd $(HOST_SUBDIR)/ld || exit 1; \
15503 case $(srcdir) in \
15504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15505 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15507 esac; \
15508 srcdiroption="--srcdir=$${topdir}/ld"; \
15509 libsrcdir="$$s/ld"; \
15510 $(SHELL) $${libsrcdir}/configure \
15511 $(HOST_CONFIGARGS) $${srcdiroption} \
15512 @stage2_werror_flag@
15513 @endif ld-bootstrap
15515 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15516 maybe-configure-stageprofile-ld:
15517 @if ld-bootstrap
15518 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15519 configure-stageprofile-ld:
15520 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15521 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15522 r=`${PWD_COMMAND}`; export r; \
15523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15524 $(HOST_EXPORTS) \
15525 $(POSTSTAGE1_HOST_EXPORTS) \
15526 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15527 cd $(HOST_SUBDIR)/ld || exit 1; \
15528 case $(srcdir) in \
15529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15530 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15532 esac; \
15533 srcdiroption="--srcdir=$${topdir}/ld"; \
15534 libsrcdir="$$s/ld"; \
15535 $(SHELL) $${libsrcdir}/configure \
15536 $(HOST_CONFIGARGS) $${srcdiroption} \
15537 @stage2_werror_flag@
15538 @endif ld-bootstrap
15540 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15541 maybe-configure-stagefeedback-ld:
15542 @if ld-bootstrap
15543 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15544 configure-stagefeedback-ld:
15545 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15546 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15547 r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 $(HOST_EXPORTS) \
15550 $(POSTSTAGE1_HOST_EXPORTS) \
15551 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15552 cd $(HOST_SUBDIR)/ld || exit 1; \
15553 case $(srcdir) in \
15554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15555 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15557 esac; \
15558 srcdiroption="--srcdir=$${topdir}/ld"; \
15559 libsrcdir="$$s/ld"; \
15560 $(SHELL) $${libsrcdir}/configure \
15561 $(HOST_CONFIGARGS) $${srcdiroption} \
15562 @stage2_werror_flag@
15563 @endif ld-bootstrap
15569 .PHONY: all-ld maybe-all-ld
15570 maybe-all-ld:
15571 @if ld
15572 TARGET-ld=all
15573 maybe-all-ld: all-ld
15574 all-ld: configure-ld
15575 @test -f stage_last && exit 0; \
15576 r=`${PWD_COMMAND}`; export r; \
15577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15578 $(HOST_EXPORTS) \
15579 (cd $(HOST_SUBDIR)/ld && \
15580 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15581 @endif ld
15585 .PHONY: all-stage1-ld maybe-all-stage1-ld
15586 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15587 maybe-all-stage1-ld:
15588 maybe-clean-stage1-ld:
15589 @if ld-bootstrap
15590 maybe-all-stage1-ld: all-stage1-ld
15591 all-stage1: all-stage1-ld
15592 TARGET-stage1-ld = $(TARGET-ld)
15593 all-stage1-ld: configure-stage1-ld
15594 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15595 @r=`${PWD_COMMAND}`; export r; \
15596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15597 $(HOST_EXPORTS) \
15598 cd $(HOST_SUBDIR)/ld && \
15599 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15600 $(TARGET-stage1-ld)
15602 maybe-clean-stage1-ld: clean-stage1-ld
15603 clean-stage1: clean-stage1-ld
15604 clean-stage1-ld:
15605 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15606 || exit 0 ; \
15607 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15608 cd $(HOST_SUBDIR)/ld && \
15609 $(MAKE) $(FLAGS_TO_PASS) \
15610 CFLAGS="$(STAGE1_CFLAGS)" clean
15611 @endif ld-bootstrap
15614 .PHONY: all-stage2-ld maybe-all-stage2-ld
15615 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15616 maybe-all-stage2-ld:
15617 maybe-clean-stage2-ld:
15618 @if ld-bootstrap
15619 maybe-all-stage2-ld: all-stage2-ld
15620 all-stage2: all-stage2-ld
15621 TARGET-stage2-ld = $(TARGET-ld)
15622 all-stage2-ld: configure-stage2-ld
15623 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15624 @r=`${PWD_COMMAND}`; export r; \
15625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15626 $(HOST_EXPORTS) \
15627 $(POSTSTAGE1_HOST_EXPORTS) \
15628 cd $(HOST_SUBDIR)/ld && \
15629 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15630 $(TARGET-stage2-ld)
15632 maybe-clean-stage2-ld: clean-stage2-ld
15633 clean-stage2: clean-stage2-ld
15634 clean-stage2-ld:
15635 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15636 || exit 0 ; \
15637 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15638 cd $(HOST_SUBDIR)/ld && \
15639 $(MAKE) $(FLAGS_TO_PASS) \
15640 $(POSTSTAGE1_FLAGS_TO_PASS) \
15641 clean
15642 @endif ld-bootstrap
15645 .PHONY: all-stage3-ld maybe-all-stage3-ld
15646 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15647 maybe-all-stage3-ld:
15648 maybe-clean-stage3-ld:
15649 @if ld-bootstrap
15650 maybe-all-stage3-ld: all-stage3-ld
15651 all-stage3: all-stage3-ld
15652 TARGET-stage3-ld = $(TARGET-ld)
15653 all-stage3-ld: configure-stage3-ld
15654 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15655 @r=`${PWD_COMMAND}`; export r; \
15656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15657 $(HOST_EXPORTS) \
15658 $(POSTSTAGE1_HOST_EXPORTS) \
15659 cd $(HOST_SUBDIR)/ld && \
15660 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15661 $(TARGET-stage3-ld)
15663 maybe-clean-stage3-ld: clean-stage3-ld
15664 clean-stage3: clean-stage3-ld
15665 clean-stage3-ld:
15666 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15667 || exit 0 ; \
15668 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15669 cd $(HOST_SUBDIR)/ld && \
15670 $(MAKE) $(FLAGS_TO_PASS) \
15671 $(POSTSTAGE1_FLAGS_TO_PASS) \
15672 clean
15673 @endif ld-bootstrap
15676 .PHONY: all-stage4-ld maybe-all-stage4-ld
15677 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15678 maybe-all-stage4-ld:
15679 maybe-clean-stage4-ld:
15680 @if ld-bootstrap
15681 maybe-all-stage4-ld: all-stage4-ld
15682 all-stage4: all-stage4-ld
15683 TARGET-stage4-ld = $(TARGET-ld)
15684 all-stage4-ld: configure-stage4-ld
15685 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15686 @r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15688 $(HOST_EXPORTS) \
15689 $(POSTSTAGE1_HOST_EXPORTS) \
15690 cd $(HOST_SUBDIR)/ld && \
15691 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15692 $(TARGET-stage4-ld)
15694 maybe-clean-stage4-ld: clean-stage4-ld
15695 clean-stage4: clean-stage4-ld
15696 clean-stage4-ld:
15697 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15698 || exit 0 ; \
15699 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15700 cd $(HOST_SUBDIR)/ld && \
15701 $(MAKE) $(FLAGS_TO_PASS) \
15702 $(POSTSTAGE1_FLAGS_TO_PASS) \
15703 clean
15704 @endif ld-bootstrap
15707 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15708 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15709 maybe-all-stageprofile-ld:
15710 maybe-clean-stageprofile-ld:
15711 @if ld-bootstrap
15712 maybe-all-stageprofile-ld: all-stageprofile-ld
15713 all-stageprofile: all-stageprofile-ld
15714 TARGET-stageprofile-ld = $(TARGET-ld)
15715 all-stageprofile-ld: configure-stageprofile-ld
15716 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15717 @r=`${PWD_COMMAND}`; export r; \
15718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15719 $(HOST_EXPORTS) \
15720 $(POSTSTAGE1_HOST_EXPORTS) \
15721 cd $(HOST_SUBDIR)/ld && \
15722 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15723 $(TARGET-stageprofile-ld)
15725 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15726 clean-stageprofile: clean-stageprofile-ld
15727 clean-stageprofile-ld:
15728 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15729 || exit 0 ; \
15730 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15731 cd $(HOST_SUBDIR)/ld && \
15732 $(MAKE) $(FLAGS_TO_PASS) \
15733 $(POSTSTAGE1_FLAGS_TO_PASS) \
15734 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15735 @endif ld-bootstrap
15738 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15739 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15740 maybe-all-stagefeedback-ld:
15741 maybe-clean-stagefeedback-ld:
15742 @if ld-bootstrap
15743 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15744 all-stagefeedback: all-stagefeedback-ld
15745 TARGET-stagefeedback-ld = $(TARGET-ld)
15746 all-stagefeedback-ld: configure-stagefeedback-ld
15747 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15748 @r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 $(HOST_EXPORTS) \
15751 $(POSTSTAGE1_HOST_EXPORTS) \
15752 cd $(HOST_SUBDIR)/ld && \
15753 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15754 $(TARGET-stagefeedback-ld)
15756 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15757 clean-stagefeedback: clean-stagefeedback-ld
15758 clean-stagefeedback-ld:
15759 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15760 || exit 0 ; \
15761 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15762 cd $(HOST_SUBDIR)/ld && \
15763 $(MAKE) $(FLAGS_TO_PASS) \
15764 $(POSTSTAGE1_FLAGS_TO_PASS) \
15765 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15766 @endif ld-bootstrap
15772 .PHONY: check-ld maybe-check-ld
15773 maybe-check-ld:
15774 @if ld
15775 maybe-check-ld: check-ld
15777 check-ld:
15778 @$(unstage)
15779 @r=`${PWD_COMMAND}`; export r; \
15780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15781 $(HOST_EXPORTS) \
15782 (cd $(HOST_SUBDIR)/ld && \
15783 $(MAKE) $(FLAGS_TO_PASS) check)
15785 @endif ld
15787 .PHONY: install-ld maybe-install-ld
15788 maybe-install-ld:
15789 @if ld
15790 maybe-install-ld: install-ld
15792 install-ld: installdirs
15793 @$(unstage)
15794 @r=`${PWD_COMMAND}`; export r; \
15795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15796 $(HOST_EXPORTS) \
15797 (cd $(HOST_SUBDIR)/ld && \
15798 $(MAKE) $(FLAGS_TO_PASS) install)
15800 @endif ld
15802 # Other targets (info, dvi, etc.)
15804 .PHONY: maybe-info-ld info-ld
15805 maybe-info-ld:
15806 @if ld
15807 maybe-info-ld: info-ld
15809 info-ld: \
15810 configure-ld
15811 @[ -f ./ld/Makefile ] || exit 0; \
15812 r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 $(HOST_EXPORTS) \
15815 for flag in $(EXTRA_HOST_FLAGS) ; do \
15816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15817 done; \
15818 echo "Doing info in ld" ; \
15819 (cd $(HOST_SUBDIR)/ld && \
15820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15822 "RANLIB=$${RANLIB}" \
15823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15824 info) \
15825 || exit 1
15827 @endif ld
15829 .PHONY: maybe-dvi-ld dvi-ld
15830 maybe-dvi-ld:
15831 @if ld
15832 maybe-dvi-ld: dvi-ld
15834 dvi-ld: \
15835 configure-ld
15836 @[ -f ./ld/Makefile ] || exit 0; \
15837 r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839 $(HOST_EXPORTS) \
15840 for flag in $(EXTRA_HOST_FLAGS) ; do \
15841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15842 done; \
15843 echo "Doing dvi in ld" ; \
15844 (cd $(HOST_SUBDIR)/ld && \
15845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15847 "RANLIB=$${RANLIB}" \
15848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15849 dvi) \
15850 || exit 1
15852 @endif ld
15854 .PHONY: maybe-html-ld html-ld
15855 maybe-html-ld:
15856 @if ld
15857 maybe-html-ld: html-ld
15859 html-ld: \
15860 configure-ld
15861 @[ -f ./ld/Makefile ] || exit 0; \
15862 r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864 $(HOST_EXPORTS) \
15865 for flag in $(EXTRA_HOST_FLAGS) ; do \
15866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15867 done; \
15868 echo "Doing html in ld" ; \
15869 (cd $(HOST_SUBDIR)/ld && \
15870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15872 "RANLIB=$${RANLIB}" \
15873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15874 html) \
15875 || exit 1
15877 @endif ld
15879 .PHONY: maybe-TAGS-ld TAGS-ld
15880 maybe-TAGS-ld:
15881 @if ld
15882 maybe-TAGS-ld: TAGS-ld
15884 TAGS-ld: \
15885 configure-ld
15886 @[ -f ./ld/Makefile ] || exit 0; \
15887 r=`${PWD_COMMAND}`; export r; \
15888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15889 $(HOST_EXPORTS) \
15890 for flag in $(EXTRA_HOST_FLAGS) ; do \
15891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15892 done; \
15893 echo "Doing TAGS in ld" ; \
15894 (cd $(HOST_SUBDIR)/ld && \
15895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15897 "RANLIB=$${RANLIB}" \
15898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15899 TAGS) \
15900 || exit 1
15902 @endif ld
15904 .PHONY: maybe-install-info-ld install-info-ld
15905 maybe-install-info-ld:
15906 @if ld
15907 maybe-install-info-ld: install-info-ld
15909 install-info-ld: \
15910 configure-ld \
15911 info-ld
15912 @[ -f ./ld/Makefile ] || exit 0; \
15913 r=`${PWD_COMMAND}`; export r; \
15914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15915 $(HOST_EXPORTS) \
15916 for flag in $(EXTRA_HOST_FLAGS) ; do \
15917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15918 done; \
15919 echo "Doing install-info in ld" ; \
15920 (cd $(HOST_SUBDIR)/ld && \
15921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15923 "RANLIB=$${RANLIB}" \
15924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15925 install-info) \
15926 || exit 1
15928 @endif ld
15930 .PHONY: maybe-installcheck-ld installcheck-ld
15931 maybe-installcheck-ld:
15932 @if ld
15933 maybe-installcheck-ld: installcheck-ld
15935 installcheck-ld: \
15936 configure-ld
15937 @[ -f ./ld/Makefile ] || exit 0; \
15938 r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15940 $(HOST_EXPORTS) \
15941 for flag in $(EXTRA_HOST_FLAGS) ; do \
15942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15943 done; \
15944 echo "Doing installcheck in ld" ; \
15945 (cd $(HOST_SUBDIR)/ld && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15948 "RANLIB=$${RANLIB}" \
15949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15950 installcheck) \
15951 || exit 1
15953 @endif ld
15955 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15956 maybe-mostlyclean-ld:
15957 @if ld
15958 maybe-mostlyclean-ld: mostlyclean-ld
15960 mostlyclean-ld:
15961 @[ -f ./ld/Makefile ] || exit 0; \
15962 r=`${PWD_COMMAND}`; export r; \
15963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15964 $(HOST_EXPORTS) \
15965 for flag in $(EXTRA_HOST_FLAGS) ; do \
15966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15967 done; \
15968 echo "Doing mostlyclean in ld" ; \
15969 (cd $(HOST_SUBDIR)/ld && \
15970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15972 "RANLIB=$${RANLIB}" \
15973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15974 mostlyclean) \
15975 || exit 1
15977 @endif ld
15979 .PHONY: maybe-clean-ld clean-ld
15980 maybe-clean-ld:
15981 @if ld
15982 maybe-clean-ld: clean-ld
15984 clean-ld:
15985 @[ -f ./ld/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(HOST_EXPORTS) \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 done; \
15992 echo "Doing clean in ld" ; \
15993 (cd $(HOST_SUBDIR)/ld && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15998 clean) \
15999 || exit 1
16001 @endif ld
16003 .PHONY: maybe-distclean-ld distclean-ld
16004 maybe-distclean-ld:
16005 @if ld
16006 maybe-distclean-ld: distclean-ld
16008 distclean-ld:
16009 @[ -f ./ld/Makefile ] || exit 0; \
16010 r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16012 $(HOST_EXPORTS) \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16015 done; \
16016 echo "Doing distclean in ld" ; \
16017 (cd $(HOST_SUBDIR)/ld && \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16022 distclean) \
16023 || exit 1
16025 @endif ld
16027 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16028 maybe-maintainer-clean-ld:
16029 @if ld
16030 maybe-maintainer-clean-ld: maintainer-clean-ld
16032 maintainer-clean-ld:
16033 @[ -f ./ld/Makefile ] || exit 0; \
16034 r=`${PWD_COMMAND}`; export r; \
16035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16036 $(HOST_EXPORTS) \
16037 for flag in $(EXTRA_HOST_FLAGS) ; do \
16038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16039 done; \
16040 echo "Doing maintainer-clean in ld" ; \
16041 (cd $(HOST_SUBDIR)/ld && \
16042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16044 "RANLIB=$${RANLIB}" \
16045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16046 maintainer-clean) \
16047 || exit 1
16049 @endif ld
16053 .PHONY: configure-libcpp maybe-configure-libcpp
16054 maybe-configure-libcpp:
16055 @if libcpp
16056 maybe-configure-libcpp: configure-libcpp
16057 configure-libcpp:
16058 @test -f stage_last && exit 0; \
16059 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16061 r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 $(HOST_EXPORTS) \
16064 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16065 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16066 case $(srcdir) in \
16067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16068 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16070 esac; \
16071 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16072 libsrcdir="$$s/libcpp"; \
16073 $(SHELL) $${libsrcdir}/configure \
16074 $(HOST_CONFIGARGS) $${srcdiroption} \
16075 || exit 1
16076 @endif libcpp
16080 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16081 maybe-configure-stage1-libcpp:
16082 @if libcpp-bootstrap
16083 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16084 configure-stage1-libcpp:
16085 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16086 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16087 r=`${PWD_COMMAND}`; export r; \
16088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 $(HOST_EXPORTS) \
16090 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16091 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16092 case $(srcdir) in \
16093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16094 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16096 esac; \
16097 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16098 libsrcdir="$$s/libcpp"; \
16099 $(SHELL) $${libsrcdir}/configure \
16100 $(HOST_CONFIGARGS) $${srcdiroption} \
16101 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16102 @endif libcpp-bootstrap
16104 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16105 maybe-configure-stage2-libcpp:
16106 @if libcpp-bootstrap
16107 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16108 configure-stage2-libcpp:
16109 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16110 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16111 r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 $(HOST_EXPORTS) \
16114 $(POSTSTAGE1_HOST_EXPORTS) \
16115 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16116 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16117 case $(srcdir) in \
16118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16119 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16121 esac; \
16122 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16123 libsrcdir="$$s/libcpp"; \
16124 $(SHELL) $${libsrcdir}/configure \
16125 $(HOST_CONFIGARGS) $${srcdiroption} \
16126 @stage2_werror_flag@
16127 @endif libcpp-bootstrap
16129 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16130 maybe-configure-stage3-libcpp:
16131 @if libcpp-bootstrap
16132 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16133 configure-stage3-libcpp:
16134 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16135 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16136 r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 $(HOST_EXPORTS) \
16139 $(POSTSTAGE1_HOST_EXPORTS) \
16140 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16141 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16142 case $(srcdir) in \
16143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16144 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16146 esac; \
16147 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16148 libsrcdir="$$s/libcpp"; \
16149 $(SHELL) $${libsrcdir}/configure \
16150 $(HOST_CONFIGARGS) $${srcdiroption} \
16151 @stage2_werror_flag@
16152 @endif libcpp-bootstrap
16154 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16155 maybe-configure-stage4-libcpp:
16156 @if libcpp-bootstrap
16157 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16158 configure-stage4-libcpp:
16159 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16160 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(HOST_EXPORTS) \
16164 $(POSTSTAGE1_HOST_EXPORTS) \
16165 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16166 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16167 case $(srcdir) in \
16168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16169 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16171 esac; \
16172 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16173 libsrcdir="$$s/libcpp"; \
16174 $(SHELL) $${libsrcdir}/configure \
16175 $(HOST_CONFIGARGS) $${srcdiroption} \
16176 @stage2_werror_flag@
16177 @endif libcpp-bootstrap
16179 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16180 maybe-configure-stageprofile-libcpp:
16181 @if libcpp-bootstrap
16182 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16183 configure-stageprofile-libcpp:
16184 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16185 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16186 r=`${PWD_COMMAND}`; export r; \
16187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 $(HOST_EXPORTS) \
16189 $(POSTSTAGE1_HOST_EXPORTS) \
16190 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16191 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16192 case $(srcdir) in \
16193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16194 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16196 esac; \
16197 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16198 libsrcdir="$$s/libcpp"; \
16199 $(SHELL) $${libsrcdir}/configure \
16200 $(HOST_CONFIGARGS) $${srcdiroption} \
16201 @stage2_werror_flag@
16202 @endif libcpp-bootstrap
16204 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16205 maybe-configure-stagefeedback-libcpp:
16206 @if libcpp-bootstrap
16207 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16208 configure-stagefeedback-libcpp:
16209 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16210 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16213 $(HOST_EXPORTS) \
16214 $(POSTSTAGE1_HOST_EXPORTS) \
16215 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16216 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16217 case $(srcdir) in \
16218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16219 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16221 esac; \
16222 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16223 libsrcdir="$$s/libcpp"; \
16224 $(SHELL) $${libsrcdir}/configure \
16225 $(HOST_CONFIGARGS) $${srcdiroption} \
16226 @stage2_werror_flag@
16227 @endif libcpp-bootstrap
16233 .PHONY: all-libcpp maybe-all-libcpp
16234 maybe-all-libcpp:
16235 @if libcpp
16236 TARGET-libcpp=all
16237 maybe-all-libcpp: all-libcpp
16238 all-libcpp: configure-libcpp
16239 @test -f stage_last && exit 0; \
16240 r=`${PWD_COMMAND}`; export r; \
16241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 $(HOST_EXPORTS) \
16243 (cd $(HOST_SUBDIR)/libcpp && \
16244 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16245 @endif libcpp
16249 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16250 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16251 maybe-all-stage1-libcpp:
16252 maybe-clean-stage1-libcpp:
16253 @if libcpp-bootstrap
16254 maybe-all-stage1-libcpp: all-stage1-libcpp
16255 all-stage1: all-stage1-libcpp
16256 TARGET-stage1-libcpp = $(TARGET-libcpp)
16257 all-stage1-libcpp: configure-stage1-libcpp
16258 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16259 @r=`${PWD_COMMAND}`; export r; \
16260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16261 $(HOST_EXPORTS) \
16262 cd $(HOST_SUBDIR)/libcpp && \
16263 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16264 $(TARGET-stage1-libcpp)
16266 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16267 clean-stage1: clean-stage1-libcpp
16268 clean-stage1-libcpp:
16269 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16270 || exit 0 ; \
16271 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16272 cd $(HOST_SUBDIR)/libcpp && \
16273 $(MAKE) $(FLAGS_TO_PASS) \
16274 CFLAGS="$(STAGE1_CFLAGS)" clean
16275 @endif libcpp-bootstrap
16278 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16279 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16280 maybe-all-stage2-libcpp:
16281 maybe-clean-stage2-libcpp:
16282 @if libcpp-bootstrap
16283 maybe-all-stage2-libcpp: all-stage2-libcpp
16284 all-stage2: all-stage2-libcpp
16285 TARGET-stage2-libcpp = $(TARGET-libcpp)
16286 all-stage2-libcpp: configure-stage2-libcpp
16287 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16288 @r=`${PWD_COMMAND}`; export r; \
16289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16290 $(HOST_EXPORTS) \
16291 $(POSTSTAGE1_HOST_EXPORTS) \
16292 cd $(HOST_SUBDIR)/libcpp && \
16293 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16294 $(TARGET-stage2-libcpp)
16296 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16297 clean-stage2: clean-stage2-libcpp
16298 clean-stage2-libcpp:
16299 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16300 || exit 0 ; \
16301 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16302 cd $(HOST_SUBDIR)/libcpp && \
16303 $(MAKE) $(FLAGS_TO_PASS) \
16304 $(POSTSTAGE1_FLAGS_TO_PASS) \
16305 clean
16306 @endif libcpp-bootstrap
16309 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16310 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16311 maybe-all-stage3-libcpp:
16312 maybe-clean-stage3-libcpp:
16313 @if libcpp-bootstrap
16314 maybe-all-stage3-libcpp: all-stage3-libcpp
16315 all-stage3: all-stage3-libcpp
16316 TARGET-stage3-libcpp = $(TARGET-libcpp)
16317 all-stage3-libcpp: configure-stage3-libcpp
16318 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16319 @r=`${PWD_COMMAND}`; export r; \
16320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16321 $(HOST_EXPORTS) \
16322 $(POSTSTAGE1_HOST_EXPORTS) \
16323 cd $(HOST_SUBDIR)/libcpp && \
16324 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16325 $(TARGET-stage3-libcpp)
16327 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16328 clean-stage3: clean-stage3-libcpp
16329 clean-stage3-libcpp:
16330 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16331 || exit 0 ; \
16332 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16333 cd $(HOST_SUBDIR)/libcpp && \
16334 $(MAKE) $(FLAGS_TO_PASS) \
16335 $(POSTSTAGE1_FLAGS_TO_PASS) \
16336 clean
16337 @endif libcpp-bootstrap
16340 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16341 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16342 maybe-all-stage4-libcpp:
16343 maybe-clean-stage4-libcpp:
16344 @if libcpp-bootstrap
16345 maybe-all-stage4-libcpp: all-stage4-libcpp
16346 all-stage4: all-stage4-libcpp
16347 TARGET-stage4-libcpp = $(TARGET-libcpp)
16348 all-stage4-libcpp: configure-stage4-libcpp
16349 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16350 @r=`${PWD_COMMAND}`; export r; \
16351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16352 $(HOST_EXPORTS) \
16353 $(POSTSTAGE1_HOST_EXPORTS) \
16354 cd $(HOST_SUBDIR)/libcpp && \
16355 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16356 $(TARGET-stage4-libcpp)
16358 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16359 clean-stage4: clean-stage4-libcpp
16360 clean-stage4-libcpp:
16361 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16362 || exit 0 ; \
16363 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16364 cd $(HOST_SUBDIR)/libcpp && \
16365 $(MAKE) $(FLAGS_TO_PASS) \
16366 $(POSTSTAGE1_FLAGS_TO_PASS) \
16367 clean
16368 @endif libcpp-bootstrap
16371 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16372 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16373 maybe-all-stageprofile-libcpp:
16374 maybe-clean-stageprofile-libcpp:
16375 @if libcpp-bootstrap
16376 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16377 all-stageprofile: all-stageprofile-libcpp
16378 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16379 all-stageprofile-libcpp: configure-stageprofile-libcpp
16380 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16381 @r=`${PWD_COMMAND}`; export r; \
16382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16383 $(HOST_EXPORTS) \
16384 $(POSTSTAGE1_HOST_EXPORTS) \
16385 cd $(HOST_SUBDIR)/libcpp && \
16386 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16387 $(TARGET-stageprofile-libcpp)
16389 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16390 clean-stageprofile: clean-stageprofile-libcpp
16391 clean-stageprofile-libcpp:
16392 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16393 || exit 0 ; \
16394 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16395 cd $(HOST_SUBDIR)/libcpp && \
16396 $(MAKE) $(FLAGS_TO_PASS) \
16397 $(POSTSTAGE1_FLAGS_TO_PASS) \
16398 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16399 @endif libcpp-bootstrap
16402 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16403 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16404 maybe-all-stagefeedback-libcpp:
16405 maybe-clean-stagefeedback-libcpp:
16406 @if libcpp-bootstrap
16407 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16408 all-stagefeedback: all-stagefeedback-libcpp
16409 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16410 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16411 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16412 @r=`${PWD_COMMAND}`; export r; \
16413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16414 $(HOST_EXPORTS) \
16415 $(POSTSTAGE1_HOST_EXPORTS) \
16416 cd $(HOST_SUBDIR)/libcpp && \
16417 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16418 $(TARGET-stagefeedback-libcpp)
16420 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16421 clean-stagefeedback: clean-stagefeedback-libcpp
16422 clean-stagefeedback-libcpp:
16423 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16424 || exit 0 ; \
16425 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16426 cd $(HOST_SUBDIR)/libcpp && \
16427 $(MAKE) $(FLAGS_TO_PASS) \
16428 $(POSTSTAGE1_FLAGS_TO_PASS) \
16429 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16430 @endif libcpp-bootstrap
16436 .PHONY: check-libcpp maybe-check-libcpp
16437 maybe-check-libcpp:
16438 @if libcpp
16439 maybe-check-libcpp: check-libcpp
16441 check-libcpp:
16442 @$(unstage)
16443 @r=`${PWD_COMMAND}`; export r; \
16444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16445 $(HOST_EXPORTS) \
16446 (cd $(HOST_SUBDIR)/libcpp && \
16447 $(MAKE) $(FLAGS_TO_PASS) check)
16449 @endif libcpp
16451 .PHONY: install-libcpp maybe-install-libcpp
16452 maybe-install-libcpp:
16453 @if libcpp
16454 maybe-install-libcpp: install-libcpp
16456 install-libcpp: installdirs
16457 @$(unstage)
16458 @r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 $(HOST_EXPORTS) \
16461 (cd $(HOST_SUBDIR)/libcpp && \
16462 $(MAKE) $(FLAGS_TO_PASS) install)
16464 @endif libcpp
16466 # Other targets (info, dvi, etc.)
16468 .PHONY: maybe-info-libcpp info-libcpp
16469 maybe-info-libcpp:
16470 @if libcpp
16471 maybe-info-libcpp: info-libcpp
16473 info-libcpp: \
16474 configure-libcpp
16475 @[ -f ./libcpp/Makefile ] || exit 0; \
16476 r=`${PWD_COMMAND}`; export r; \
16477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16478 $(HOST_EXPORTS) \
16479 for flag in $(EXTRA_HOST_FLAGS) ; do \
16480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16481 done; \
16482 echo "Doing info in libcpp" ; \
16483 (cd $(HOST_SUBDIR)/libcpp && \
16484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16486 "RANLIB=$${RANLIB}" \
16487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16488 info) \
16489 || exit 1
16491 @endif libcpp
16493 .PHONY: maybe-dvi-libcpp dvi-libcpp
16494 maybe-dvi-libcpp:
16495 @if libcpp
16496 maybe-dvi-libcpp: dvi-libcpp
16498 dvi-libcpp: \
16499 configure-libcpp
16500 @[ -f ./libcpp/Makefile ] || exit 0; \
16501 r=`${PWD_COMMAND}`; export r; \
16502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16503 $(HOST_EXPORTS) \
16504 for flag in $(EXTRA_HOST_FLAGS) ; do \
16505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16506 done; \
16507 echo "Doing dvi in libcpp" ; \
16508 (cd $(HOST_SUBDIR)/libcpp && \
16509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16511 "RANLIB=$${RANLIB}" \
16512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16513 dvi) \
16514 || exit 1
16516 @endif libcpp
16518 .PHONY: maybe-html-libcpp html-libcpp
16519 maybe-html-libcpp:
16520 @if libcpp
16521 maybe-html-libcpp: html-libcpp
16523 html-libcpp: \
16524 configure-libcpp
16525 @[ -f ./libcpp/Makefile ] || exit 0; \
16526 r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(HOST_EXPORTS) \
16529 for flag in $(EXTRA_HOST_FLAGS) ; do \
16530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16531 done; \
16532 echo "Doing html in libcpp" ; \
16533 (cd $(HOST_SUBDIR)/libcpp && \
16534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16536 "RANLIB=$${RANLIB}" \
16537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16538 html) \
16539 || exit 1
16541 @endif libcpp
16543 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16544 maybe-TAGS-libcpp:
16545 @if libcpp
16546 maybe-TAGS-libcpp: TAGS-libcpp
16548 TAGS-libcpp: \
16549 configure-libcpp
16550 @[ -f ./libcpp/Makefile ] || exit 0; \
16551 r=`${PWD_COMMAND}`; export r; \
16552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16553 $(HOST_EXPORTS) \
16554 for flag in $(EXTRA_HOST_FLAGS) ; do \
16555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16556 done; \
16557 echo "Doing TAGS in libcpp" ; \
16558 (cd $(HOST_SUBDIR)/libcpp && \
16559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16561 "RANLIB=$${RANLIB}" \
16562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16563 TAGS) \
16564 || exit 1
16566 @endif libcpp
16568 .PHONY: maybe-install-info-libcpp install-info-libcpp
16569 maybe-install-info-libcpp:
16570 @if libcpp
16571 maybe-install-info-libcpp: install-info-libcpp
16573 install-info-libcpp: \
16574 configure-libcpp \
16575 info-libcpp
16576 @[ -f ./libcpp/Makefile ] || exit 0; \
16577 r=`${PWD_COMMAND}`; export r; \
16578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16579 $(HOST_EXPORTS) \
16580 for flag in $(EXTRA_HOST_FLAGS) ; do \
16581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16582 done; \
16583 echo "Doing install-info in libcpp" ; \
16584 (cd $(HOST_SUBDIR)/libcpp && \
16585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16587 "RANLIB=$${RANLIB}" \
16588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16589 install-info) \
16590 || exit 1
16592 @endif libcpp
16594 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16595 maybe-installcheck-libcpp:
16596 @if libcpp
16597 maybe-installcheck-libcpp: installcheck-libcpp
16599 installcheck-libcpp: \
16600 configure-libcpp
16601 @[ -f ./libcpp/Makefile ] || exit 0; \
16602 r=`${PWD_COMMAND}`; export r; \
16603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16604 $(HOST_EXPORTS) \
16605 for flag in $(EXTRA_HOST_FLAGS) ; do \
16606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16607 done; \
16608 echo "Doing installcheck in libcpp" ; \
16609 (cd $(HOST_SUBDIR)/libcpp && \
16610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16612 "RANLIB=$${RANLIB}" \
16613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16614 installcheck) \
16615 || exit 1
16617 @endif libcpp
16619 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16620 maybe-mostlyclean-libcpp:
16621 @if libcpp
16622 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16624 mostlyclean-libcpp:
16625 @[ -f ./libcpp/Makefile ] || exit 0; \
16626 r=`${PWD_COMMAND}`; export r; \
16627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16628 $(HOST_EXPORTS) \
16629 for flag in $(EXTRA_HOST_FLAGS) ; do \
16630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16631 done; \
16632 echo "Doing mostlyclean in libcpp" ; \
16633 (cd $(HOST_SUBDIR)/libcpp && \
16634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16636 "RANLIB=$${RANLIB}" \
16637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16638 mostlyclean) \
16639 || exit 1
16641 @endif libcpp
16643 .PHONY: maybe-clean-libcpp clean-libcpp
16644 maybe-clean-libcpp:
16645 @if libcpp
16646 maybe-clean-libcpp: clean-libcpp
16648 clean-libcpp:
16649 @[ -f ./libcpp/Makefile ] || exit 0; \
16650 r=`${PWD_COMMAND}`; export r; \
16651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16652 $(HOST_EXPORTS) \
16653 for flag in $(EXTRA_HOST_FLAGS) ; do \
16654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16655 done; \
16656 echo "Doing clean in libcpp" ; \
16657 (cd $(HOST_SUBDIR)/libcpp && \
16658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16660 "RANLIB=$${RANLIB}" \
16661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16662 clean) \
16663 || exit 1
16665 @endif libcpp
16667 .PHONY: maybe-distclean-libcpp distclean-libcpp
16668 maybe-distclean-libcpp:
16669 @if libcpp
16670 maybe-distclean-libcpp: distclean-libcpp
16672 distclean-libcpp:
16673 @[ -f ./libcpp/Makefile ] || exit 0; \
16674 r=`${PWD_COMMAND}`; export r; \
16675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16676 $(HOST_EXPORTS) \
16677 for flag in $(EXTRA_HOST_FLAGS) ; do \
16678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16679 done; \
16680 echo "Doing distclean in libcpp" ; \
16681 (cd $(HOST_SUBDIR)/libcpp && \
16682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16684 "RANLIB=$${RANLIB}" \
16685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16686 distclean) \
16687 || exit 1
16689 @endif libcpp
16691 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16692 maybe-maintainer-clean-libcpp:
16693 @if libcpp
16694 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16696 maintainer-clean-libcpp:
16697 @[ -f ./libcpp/Makefile ] || exit 0; \
16698 r=`${PWD_COMMAND}`; export r; \
16699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16700 $(HOST_EXPORTS) \
16701 for flag in $(EXTRA_HOST_FLAGS) ; do \
16702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16703 done; \
16704 echo "Doing maintainer-clean in libcpp" ; \
16705 (cd $(HOST_SUBDIR)/libcpp && \
16706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16708 "RANLIB=$${RANLIB}" \
16709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16710 maintainer-clean) \
16711 || exit 1
16713 @endif libcpp
16717 .PHONY: configure-libgui maybe-configure-libgui
16718 maybe-configure-libgui:
16719 @if libgui
16720 maybe-configure-libgui: configure-libgui
16721 configure-libgui:
16722 @$(unstage)
16723 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16725 r=`${PWD_COMMAND}`; export r; \
16726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16727 $(HOST_EXPORTS) \
16728 echo Configuring in $(HOST_SUBDIR)/libgui; \
16729 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16730 case $(srcdir) in \
16731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16732 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16734 esac; \
16735 srcdiroption="--srcdir=$${topdir}/libgui"; \
16736 libsrcdir="$$s/libgui"; \
16737 $(SHELL) $${libsrcdir}/configure \
16738 $(HOST_CONFIGARGS) $${srcdiroption} \
16739 || exit 1
16740 @endif libgui
16746 .PHONY: all-libgui maybe-all-libgui
16747 maybe-all-libgui:
16748 @if libgui
16749 TARGET-libgui=all
16750 maybe-all-libgui: all-libgui
16751 all-libgui: configure-libgui
16752 @$(unstage)
16753 @r=`${PWD_COMMAND}`; export r; \
16754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16755 $(HOST_EXPORTS) \
16756 (cd $(HOST_SUBDIR)/libgui && \
16757 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16758 @endif libgui
16763 .PHONY: check-libgui maybe-check-libgui
16764 maybe-check-libgui:
16765 @if libgui
16766 maybe-check-libgui: check-libgui
16768 check-libgui:
16769 @$(unstage)
16770 @r=`${PWD_COMMAND}`; export r; \
16771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16772 $(HOST_EXPORTS) \
16773 (cd $(HOST_SUBDIR)/libgui && \
16774 $(MAKE) $(FLAGS_TO_PASS) check)
16776 @endif libgui
16778 .PHONY: install-libgui maybe-install-libgui
16779 maybe-install-libgui:
16780 @if libgui
16781 maybe-install-libgui: install-libgui
16783 install-libgui: installdirs
16784 @$(unstage)
16785 @r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 $(HOST_EXPORTS) \
16788 (cd $(HOST_SUBDIR)/libgui && \
16789 $(MAKE) $(FLAGS_TO_PASS) install)
16791 @endif libgui
16793 # Other targets (info, dvi, etc.)
16795 .PHONY: maybe-info-libgui info-libgui
16796 maybe-info-libgui:
16797 @if libgui
16798 maybe-info-libgui: info-libgui
16800 info-libgui: \
16801 configure-libgui
16802 @$(unstage)
16803 @[ -f ./libgui/Makefile ] || exit 0; \
16804 r=`${PWD_COMMAND}`; export r; \
16805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16806 $(HOST_EXPORTS) \
16807 for flag in $(EXTRA_HOST_FLAGS) ; do \
16808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16809 done; \
16810 echo "Doing info in libgui" ; \
16811 (cd $(HOST_SUBDIR)/libgui && \
16812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16814 "RANLIB=$${RANLIB}" \
16815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16816 info) \
16817 || exit 1
16819 @endif libgui
16821 .PHONY: maybe-dvi-libgui dvi-libgui
16822 maybe-dvi-libgui:
16823 @if libgui
16824 maybe-dvi-libgui: dvi-libgui
16826 dvi-libgui: \
16827 configure-libgui
16828 @$(unstage)
16829 @[ -f ./libgui/Makefile ] || exit 0; \
16830 r=`${PWD_COMMAND}`; export r; \
16831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16832 $(HOST_EXPORTS) \
16833 for flag in $(EXTRA_HOST_FLAGS) ; do \
16834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16835 done; \
16836 echo "Doing dvi in libgui" ; \
16837 (cd $(HOST_SUBDIR)/libgui && \
16838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16840 "RANLIB=$${RANLIB}" \
16841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16842 dvi) \
16843 || exit 1
16845 @endif libgui
16847 .PHONY: maybe-html-libgui html-libgui
16848 maybe-html-libgui:
16849 @if libgui
16850 maybe-html-libgui: html-libgui
16852 html-libgui: \
16853 configure-libgui
16854 @$(unstage)
16855 @[ -f ./libgui/Makefile ] || exit 0; \
16856 r=`${PWD_COMMAND}`; export r; \
16857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16858 $(HOST_EXPORTS) \
16859 for flag in $(EXTRA_HOST_FLAGS) ; do \
16860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16861 done; \
16862 echo "Doing html in libgui" ; \
16863 (cd $(HOST_SUBDIR)/libgui && \
16864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16866 "RANLIB=$${RANLIB}" \
16867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16868 html) \
16869 || exit 1
16871 @endif libgui
16873 .PHONY: maybe-TAGS-libgui TAGS-libgui
16874 maybe-TAGS-libgui:
16875 @if libgui
16876 maybe-TAGS-libgui: TAGS-libgui
16878 TAGS-libgui: \
16879 configure-libgui
16880 @$(unstage)
16881 @[ -f ./libgui/Makefile ] || exit 0; \
16882 r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16884 $(HOST_EXPORTS) \
16885 for flag in $(EXTRA_HOST_FLAGS) ; do \
16886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16887 done; \
16888 echo "Doing TAGS in libgui" ; \
16889 (cd $(HOST_SUBDIR)/libgui && \
16890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16892 "RANLIB=$${RANLIB}" \
16893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16894 TAGS) \
16895 || exit 1
16897 @endif libgui
16899 .PHONY: maybe-install-info-libgui install-info-libgui
16900 maybe-install-info-libgui:
16901 @if libgui
16902 maybe-install-info-libgui: install-info-libgui
16904 install-info-libgui: \
16905 configure-libgui \
16906 info-libgui
16907 @$(unstage)
16908 @[ -f ./libgui/Makefile ] || exit 0; \
16909 r=`${PWD_COMMAND}`; export r; \
16910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16911 $(HOST_EXPORTS) \
16912 for flag in $(EXTRA_HOST_FLAGS) ; do \
16913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16914 done; \
16915 echo "Doing install-info in libgui" ; \
16916 (cd $(HOST_SUBDIR)/libgui && \
16917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16919 "RANLIB=$${RANLIB}" \
16920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16921 install-info) \
16922 || exit 1
16924 @endif libgui
16926 .PHONY: maybe-installcheck-libgui installcheck-libgui
16927 maybe-installcheck-libgui:
16928 @if libgui
16929 maybe-installcheck-libgui: installcheck-libgui
16931 installcheck-libgui: \
16932 configure-libgui
16933 @$(unstage)
16934 @[ -f ./libgui/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 for flag in $(EXTRA_HOST_FLAGS) ; do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 done; \
16941 echo "Doing installcheck in libgui" ; \
16942 (cd $(HOST_SUBDIR)/libgui && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16947 installcheck) \
16948 || exit 1
16950 @endif libgui
16952 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16953 maybe-mostlyclean-libgui:
16954 @if libgui
16955 maybe-mostlyclean-libgui: mostlyclean-libgui
16957 mostlyclean-libgui:
16958 @$(unstage)
16959 @[ -f ./libgui/Makefile ] || exit 0; \
16960 r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 $(HOST_EXPORTS) \
16963 for flag in $(EXTRA_HOST_FLAGS) ; do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 echo "Doing mostlyclean in libgui" ; \
16967 (cd $(HOST_SUBDIR)/libgui && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 mostlyclean) \
16973 || exit 1
16975 @endif libgui
16977 .PHONY: maybe-clean-libgui clean-libgui
16978 maybe-clean-libgui:
16979 @if libgui
16980 maybe-clean-libgui: clean-libgui
16982 clean-libgui:
16983 @$(unstage)
16984 @[ -f ./libgui/Makefile ] || exit 0; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 $(HOST_EXPORTS) \
16988 for flag in $(EXTRA_HOST_FLAGS) ; do \
16989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16990 done; \
16991 echo "Doing clean in libgui" ; \
16992 (cd $(HOST_SUBDIR)/libgui && \
16993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16995 "RANLIB=$${RANLIB}" \
16996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16997 clean) \
16998 || exit 1
17000 @endif libgui
17002 .PHONY: maybe-distclean-libgui distclean-libgui
17003 maybe-distclean-libgui:
17004 @if libgui
17005 maybe-distclean-libgui: distclean-libgui
17007 distclean-libgui:
17008 @$(unstage)
17009 @[ -f ./libgui/Makefile ] || exit 0; \
17010 r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 $(HOST_EXPORTS) \
17013 for flag in $(EXTRA_HOST_FLAGS) ; do \
17014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17015 done; \
17016 echo "Doing distclean in libgui" ; \
17017 (cd $(HOST_SUBDIR)/libgui && \
17018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17020 "RANLIB=$${RANLIB}" \
17021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17022 distclean) \
17023 || exit 1
17025 @endif libgui
17027 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17028 maybe-maintainer-clean-libgui:
17029 @if libgui
17030 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17032 maintainer-clean-libgui:
17033 @$(unstage)
17034 @[ -f ./libgui/Makefile ] || exit 0; \
17035 r=`${PWD_COMMAND}`; export r; \
17036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17037 $(HOST_EXPORTS) \
17038 for flag in $(EXTRA_HOST_FLAGS) ; do \
17039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17040 done; \
17041 echo "Doing maintainer-clean in libgui" ; \
17042 (cd $(HOST_SUBDIR)/libgui && \
17043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17045 "RANLIB=$${RANLIB}" \
17046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17047 maintainer-clean) \
17048 || exit 1
17050 @endif libgui
17054 .PHONY: configure-libiberty maybe-configure-libiberty
17055 maybe-configure-libiberty:
17056 @if libiberty
17057 maybe-configure-libiberty: configure-libiberty
17058 configure-libiberty:
17059 @test -f stage_last && exit 0; \
17060 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17062 r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064 $(HOST_EXPORTS) \
17065 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17066 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17067 case $(srcdir) in \
17068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17069 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17071 esac; \
17072 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17073 libsrcdir="$$s/libiberty"; \
17074 $(SHELL) $${libsrcdir}/configure \
17075 $(HOST_CONFIGARGS) $${srcdiroption} \
17076 || exit 1
17077 @endif libiberty
17081 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17082 maybe-configure-stage1-libiberty:
17083 @if libiberty-bootstrap
17084 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17085 configure-stage1-libiberty:
17086 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17087 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17088 r=`${PWD_COMMAND}`; export r; \
17089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17090 $(HOST_EXPORTS) \
17091 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17092 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17093 case $(srcdir) in \
17094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17095 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17097 esac; \
17098 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17099 libsrcdir="$$s/libiberty"; \
17100 $(SHELL) $${libsrcdir}/configure \
17101 $(HOST_CONFIGARGS) $${srcdiroption} \
17102 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17103 @endif libiberty-bootstrap
17105 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17106 maybe-configure-stage2-libiberty:
17107 @if libiberty-bootstrap
17108 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17109 configure-stage2-libiberty:
17110 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17111 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17112 r=`${PWD_COMMAND}`; export r; \
17113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17114 $(HOST_EXPORTS) \
17115 $(POSTSTAGE1_HOST_EXPORTS) \
17116 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17117 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17118 case $(srcdir) in \
17119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17120 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17122 esac; \
17123 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17124 libsrcdir="$$s/libiberty"; \
17125 $(SHELL) $${libsrcdir}/configure \
17126 $(HOST_CONFIGARGS) $${srcdiroption} \
17127 @stage2_werror_flag@
17128 @endif libiberty-bootstrap
17130 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17131 maybe-configure-stage3-libiberty:
17132 @if libiberty-bootstrap
17133 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17134 configure-stage3-libiberty:
17135 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17136 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17137 r=`${PWD_COMMAND}`; export r; \
17138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 $(HOST_EXPORTS) \
17140 $(POSTSTAGE1_HOST_EXPORTS) \
17141 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17142 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17143 case $(srcdir) in \
17144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17145 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17147 esac; \
17148 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17149 libsrcdir="$$s/libiberty"; \
17150 $(SHELL) $${libsrcdir}/configure \
17151 $(HOST_CONFIGARGS) $${srcdiroption} \
17152 @stage2_werror_flag@
17153 @endif libiberty-bootstrap
17155 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17156 maybe-configure-stage4-libiberty:
17157 @if libiberty-bootstrap
17158 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17159 configure-stage4-libiberty:
17160 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17161 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17162 r=`${PWD_COMMAND}`; export r; \
17163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17164 $(HOST_EXPORTS) \
17165 $(POSTSTAGE1_HOST_EXPORTS) \
17166 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17167 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17168 case $(srcdir) in \
17169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17170 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17172 esac; \
17173 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17174 libsrcdir="$$s/libiberty"; \
17175 $(SHELL) $${libsrcdir}/configure \
17176 $(HOST_CONFIGARGS) $${srcdiroption} \
17177 @stage2_werror_flag@
17178 @endif libiberty-bootstrap
17180 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17181 maybe-configure-stageprofile-libiberty:
17182 @if libiberty-bootstrap
17183 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17184 configure-stageprofile-libiberty:
17185 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17186 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17187 r=`${PWD_COMMAND}`; export r; \
17188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17189 $(HOST_EXPORTS) \
17190 $(POSTSTAGE1_HOST_EXPORTS) \
17191 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17192 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17193 case $(srcdir) in \
17194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17195 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17197 esac; \
17198 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17199 libsrcdir="$$s/libiberty"; \
17200 $(SHELL) $${libsrcdir}/configure \
17201 $(HOST_CONFIGARGS) $${srcdiroption} \
17202 @stage2_werror_flag@
17203 @endif libiberty-bootstrap
17205 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17206 maybe-configure-stagefeedback-libiberty:
17207 @if libiberty-bootstrap
17208 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17209 configure-stagefeedback-libiberty:
17210 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17211 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17212 r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 $(HOST_EXPORTS) \
17215 $(POSTSTAGE1_HOST_EXPORTS) \
17216 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17217 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17218 case $(srcdir) in \
17219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17220 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17222 esac; \
17223 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17224 libsrcdir="$$s/libiberty"; \
17225 $(SHELL) $${libsrcdir}/configure \
17226 $(HOST_CONFIGARGS) $${srcdiroption} \
17227 @stage2_werror_flag@
17228 @endif libiberty-bootstrap
17234 .PHONY: all-libiberty maybe-all-libiberty
17235 maybe-all-libiberty:
17236 @if libiberty
17237 TARGET-libiberty=all
17238 maybe-all-libiberty: all-libiberty
17239 all-libiberty: configure-libiberty
17240 @test -f stage_last && exit 0; \
17241 r=`${PWD_COMMAND}`; export r; \
17242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17243 $(HOST_EXPORTS) \
17244 (cd $(HOST_SUBDIR)/libiberty && \
17245 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17246 @endif libiberty
17250 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17251 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17252 maybe-all-stage1-libiberty:
17253 maybe-clean-stage1-libiberty:
17254 @if libiberty-bootstrap
17255 maybe-all-stage1-libiberty: all-stage1-libiberty
17256 all-stage1: all-stage1-libiberty
17257 TARGET-stage1-libiberty = $(TARGET-libiberty)
17258 all-stage1-libiberty: configure-stage1-libiberty
17259 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17260 @r=`${PWD_COMMAND}`; export r; \
17261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17262 $(HOST_EXPORTS) \
17263 cd $(HOST_SUBDIR)/libiberty && \
17264 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17265 $(TARGET-stage1-libiberty)
17267 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17268 clean-stage1: clean-stage1-libiberty
17269 clean-stage1-libiberty:
17270 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17271 || exit 0 ; \
17272 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17273 cd $(HOST_SUBDIR)/libiberty && \
17274 $(MAKE) $(FLAGS_TO_PASS) \
17275 CFLAGS="$(STAGE1_CFLAGS)" clean
17276 @endif libiberty-bootstrap
17279 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17280 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17281 maybe-all-stage2-libiberty:
17282 maybe-clean-stage2-libiberty:
17283 @if libiberty-bootstrap
17284 maybe-all-stage2-libiberty: all-stage2-libiberty
17285 all-stage2: all-stage2-libiberty
17286 TARGET-stage2-libiberty = $(TARGET-libiberty)
17287 all-stage2-libiberty: configure-stage2-libiberty
17288 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17289 @r=`${PWD_COMMAND}`; export r; \
17290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17291 $(HOST_EXPORTS) \
17292 $(POSTSTAGE1_HOST_EXPORTS) \
17293 cd $(HOST_SUBDIR)/libiberty && \
17294 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17295 $(TARGET-stage2-libiberty)
17297 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17298 clean-stage2: clean-stage2-libiberty
17299 clean-stage2-libiberty:
17300 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17301 || exit 0 ; \
17302 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17303 cd $(HOST_SUBDIR)/libiberty && \
17304 $(MAKE) $(FLAGS_TO_PASS) \
17305 $(POSTSTAGE1_FLAGS_TO_PASS) \
17306 clean
17307 @endif libiberty-bootstrap
17310 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17311 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17312 maybe-all-stage3-libiberty:
17313 maybe-clean-stage3-libiberty:
17314 @if libiberty-bootstrap
17315 maybe-all-stage3-libiberty: all-stage3-libiberty
17316 all-stage3: all-stage3-libiberty
17317 TARGET-stage3-libiberty = $(TARGET-libiberty)
17318 all-stage3-libiberty: configure-stage3-libiberty
17319 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17320 @r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 $(HOST_EXPORTS) \
17323 $(POSTSTAGE1_HOST_EXPORTS) \
17324 cd $(HOST_SUBDIR)/libiberty && \
17325 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17326 $(TARGET-stage3-libiberty)
17328 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17329 clean-stage3: clean-stage3-libiberty
17330 clean-stage3-libiberty:
17331 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17332 || exit 0 ; \
17333 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17334 cd $(HOST_SUBDIR)/libiberty && \
17335 $(MAKE) $(FLAGS_TO_PASS) \
17336 $(POSTSTAGE1_FLAGS_TO_PASS) \
17337 clean
17338 @endif libiberty-bootstrap
17341 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17342 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17343 maybe-all-stage4-libiberty:
17344 maybe-clean-stage4-libiberty:
17345 @if libiberty-bootstrap
17346 maybe-all-stage4-libiberty: all-stage4-libiberty
17347 all-stage4: all-stage4-libiberty
17348 TARGET-stage4-libiberty = $(TARGET-libiberty)
17349 all-stage4-libiberty: configure-stage4-libiberty
17350 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17351 @r=`${PWD_COMMAND}`; export r; \
17352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17353 $(HOST_EXPORTS) \
17354 $(POSTSTAGE1_HOST_EXPORTS) \
17355 cd $(HOST_SUBDIR)/libiberty && \
17356 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17357 $(TARGET-stage4-libiberty)
17359 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17360 clean-stage4: clean-stage4-libiberty
17361 clean-stage4-libiberty:
17362 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17363 || exit 0 ; \
17364 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17365 cd $(HOST_SUBDIR)/libiberty && \
17366 $(MAKE) $(FLAGS_TO_PASS) \
17367 $(POSTSTAGE1_FLAGS_TO_PASS) \
17368 clean
17369 @endif libiberty-bootstrap
17372 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17373 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17374 maybe-all-stageprofile-libiberty:
17375 maybe-clean-stageprofile-libiberty:
17376 @if libiberty-bootstrap
17377 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17378 all-stageprofile: all-stageprofile-libiberty
17379 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17380 all-stageprofile-libiberty: configure-stageprofile-libiberty
17381 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17382 @r=`${PWD_COMMAND}`; export r; \
17383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17384 $(HOST_EXPORTS) \
17385 $(POSTSTAGE1_HOST_EXPORTS) \
17386 cd $(HOST_SUBDIR)/libiberty && \
17387 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17388 $(TARGET-stageprofile-libiberty)
17390 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17391 clean-stageprofile: clean-stageprofile-libiberty
17392 clean-stageprofile-libiberty:
17393 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17394 || exit 0 ; \
17395 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17396 cd $(HOST_SUBDIR)/libiberty && \
17397 $(MAKE) $(FLAGS_TO_PASS) \
17398 $(POSTSTAGE1_FLAGS_TO_PASS) \
17399 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17400 @endif libiberty-bootstrap
17403 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17404 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17405 maybe-all-stagefeedback-libiberty:
17406 maybe-clean-stagefeedback-libiberty:
17407 @if libiberty-bootstrap
17408 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17409 all-stagefeedback: all-stagefeedback-libiberty
17410 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17411 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17412 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17413 @r=`${PWD_COMMAND}`; export r; \
17414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17415 $(HOST_EXPORTS) \
17416 $(POSTSTAGE1_HOST_EXPORTS) \
17417 cd $(HOST_SUBDIR)/libiberty && \
17418 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17419 $(TARGET-stagefeedback-libiberty)
17421 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17422 clean-stagefeedback: clean-stagefeedback-libiberty
17423 clean-stagefeedback-libiberty:
17424 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17425 || exit 0 ; \
17426 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17427 cd $(HOST_SUBDIR)/libiberty && \
17428 $(MAKE) $(FLAGS_TO_PASS) \
17429 $(POSTSTAGE1_FLAGS_TO_PASS) \
17430 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17431 @endif libiberty-bootstrap
17437 .PHONY: check-libiberty maybe-check-libiberty
17438 maybe-check-libiberty:
17439 @if libiberty
17440 maybe-check-libiberty: check-libiberty
17442 check-libiberty:
17443 @$(unstage)
17444 @r=`${PWD_COMMAND}`; export r; \
17445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17446 $(HOST_EXPORTS) \
17447 (cd $(HOST_SUBDIR)/libiberty && \
17448 $(MAKE) $(FLAGS_TO_PASS) check)
17450 @endif libiberty
17452 .PHONY: install-libiberty maybe-install-libiberty
17453 maybe-install-libiberty:
17454 @if libiberty
17455 maybe-install-libiberty: install-libiberty
17457 install-libiberty: installdirs
17458 @$(unstage)
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 $(HOST_EXPORTS) \
17462 (cd $(HOST_SUBDIR)/libiberty && \
17463 $(MAKE) $(FLAGS_TO_PASS) install)
17465 @endif libiberty
17467 # Other targets (info, dvi, etc.)
17469 .PHONY: maybe-info-libiberty info-libiberty
17470 maybe-info-libiberty:
17471 @if libiberty
17472 maybe-info-libiberty: info-libiberty
17474 info-libiberty: \
17475 configure-libiberty
17476 @[ -f ./libiberty/Makefile ] || exit 0; \
17477 r=`${PWD_COMMAND}`; export r; \
17478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17479 $(HOST_EXPORTS) \
17480 for flag in $(EXTRA_HOST_FLAGS) ; do \
17481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17482 done; \
17483 echo "Doing info in libiberty" ; \
17484 (cd $(HOST_SUBDIR)/libiberty && \
17485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17487 "RANLIB=$${RANLIB}" \
17488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17489 info) \
17490 || exit 1
17492 @endif libiberty
17494 .PHONY: maybe-dvi-libiberty dvi-libiberty
17495 maybe-dvi-libiberty:
17496 @if libiberty
17497 maybe-dvi-libiberty: dvi-libiberty
17499 dvi-libiberty: \
17500 configure-libiberty
17501 @[ -f ./libiberty/Makefile ] || exit 0; \
17502 r=`${PWD_COMMAND}`; export r; \
17503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 $(HOST_EXPORTS) \
17505 for flag in $(EXTRA_HOST_FLAGS) ; do \
17506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17507 done; \
17508 echo "Doing dvi in libiberty" ; \
17509 (cd $(HOST_SUBDIR)/libiberty && \
17510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17512 "RANLIB=$${RANLIB}" \
17513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17514 dvi) \
17515 || exit 1
17517 @endif libiberty
17519 .PHONY: maybe-html-libiberty html-libiberty
17520 maybe-html-libiberty:
17521 @if libiberty
17522 maybe-html-libiberty: html-libiberty
17524 html-libiberty: \
17525 configure-libiberty
17526 @[ -f ./libiberty/Makefile ] || exit 0; \
17527 r=`${PWD_COMMAND}`; export r; \
17528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17529 $(HOST_EXPORTS) \
17530 for flag in $(EXTRA_HOST_FLAGS) ; do \
17531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17532 done; \
17533 echo "Doing html in libiberty" ; \
17534 (cd $(HOST_SUBDIR)/libiberty && \
17535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17537 "RANLIB=$${RANLIB}" \
17538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17539 html) \
17540 || exit 1
17542 @endif libiberty
17544 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
17545 maybe-TAGS-libiberty:
17546 @if libiberty
17547 maybe-TAGS-libiberty: TAGS-libiberty
17549 TAGS-libiberty: \
17550 configure-libiberty
17551 @[ -f ./libiberty/Makefile ] || exit 0; \
17552 r=`${PWD_COMMAND}`; export r; \
17553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17554 $(HOST_EXPORTS) \
17555 for flag in $(EXTRA_HOST_FLAGS) ; do \
17556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17557 done; \
17558 echo "Doing TAGS in libiberty" ; \
17559 (cd $(HOST_SUBDIR)/libiberty && \
17560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17562 "RANLIB=$${RANLIB}" \
17563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17564 TAGS) \
17565 || exit 1
17567 @endif libiberty
17569 .PHONY: maybe-install-info-libiberty install-info-libiberty
17570 maybe-install-info-libiberty:
17571 @if libiberty
17572 maybe-install-info-libiberty: install-info-libiberty
17574 install-info-libiberty: \
17575 configure-libiberty \
17576 info-libiberty
17577 @[ -f ./libiberty/Makefile ] || exit 0; \
17578 r=`${PWD_COMMAND}`; export r; \
17579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17580 $(HOST_EXPORTS) \
17581 for flag in $(EXTRA_HOST_FLAGS) ; do \
17582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17583 done; \
17584 echo "Doing install-info in libiberty" ; \
17585 (cd $(HOST_SUBDIR)/libiberty && \
17586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17588 "RANLIB=$${RANLIB}" \
17589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17590 install-info) \
17591 || exit 1
17593 @endif libiberty
17595 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
17596 maybe-installcheck-libiberty:
17597 @if libiberty
17598 maybe-installcheck-libiberty: installcheck-libiberty
17600 installcheck-libiberty: \
17601 configure-libiberty
17602 @[ -f ./libiberty/Makefile ] || exit 0; \
17603 r=`${PWD_COMMAND}`; export r; \
17604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17605 $(HOST_EXPORTS) \
17606 for flag in $(EXTRA_HOST_FLAGS) ; do \
17607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17608 done; \
17609 echo "Doing installcheck in libiberty" ; \
17610 (cd $(HOST_SUBDIR)/libiberty && \
17611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17613 "RANLIB=$${RANLIB}" \
17614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17615 installcheck) \
17616 || exit 1
17618 @endif libiberty
17620 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
17621 maybe-mostlyclean-libiberty:
17622 @if libiberty
17623 maybe-mostlyclean-libiberty: mostlyclean-libiberty
17625 mostlyclean-libiberty:
17626 @[ -f ./libiberty/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(HOST_EXPORTS) \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17632 done; \
17633 echo "Doing mostlyclean in libiberty" ; \
17634 (cd $(HOST_SUBDIR)/libiberty && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17637 "RANLIB=$${RANLIB}" \
17638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17639 mostlyclean) \
17640 || exit 1
17642 @endif libiberty
17644 .PHONY: maybe-clean-libiberty clean-libiberty
17645 maybe-clean-libiberty:
17646 @if libiberty
17647 maybe-clean-libiberty: clean-libiberty
17649 clean-libiberty:
17650 @[ -f ./libiberty/Makefile ] || exit 0; \
17651 r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 $(HOST_EXPORTS) \
17654 for flag in $(EXTRA_HOST_FLAGS) ; do \
17655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17656 done; \
17657 echo "Doing clean in libiberty" ; \
17658 (cd $(HOST_SUBDIR)/libiberty && \
17659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17661 "RANLIB=$${RANLIB}" \
17662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17663 clean) \
17664 || exit 1
17666 @endif libiberty
17668 .PHONY: maybe-distclean-libiberty distclean-libiberty
17669 maybe-distclean-libiberty:
17670 @if libiberty
17671 maybe-distclean-libiberty: distclean-libiberty
17673 distclean-libiberty:
17674 @[ -f ./libiberty/Makefile ] || exit 0; \
17675 r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17677 $(HOST_EXPORTS) \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17680 done; \
17681 echo "Doing distclean in libiberty" ; \
17682 (cd $(HOST_SUBDIR)/libiberty && \
17683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17685 "RANLIB=$${RANLIB}" \
17686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17687 distclean) \
17688 || exit 1
17690 @endif libiberty
17692 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17693 maybe-maintainer-clean-libiberty:
17694 @if libiberty
17695 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17697 maintainer-clean-libiberty:
17698 @[ -f ./libiberty/Makefile ] || exit 0; \
17699 r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701 $(HOST_EXPORTS) \
17702 for flag in $(EXTRA_HOST_FLAGS) ; do \
17703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17704 done; \
17705 echo "Doing maintainer-clean in libiberty" ; \
17706 (cd $(HOST_SUBDIR)/libiberty && \
17707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17709 "RANLIB=$${RANLIB}" \
17710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17711 maintainer-clean) \
17712 || exit 1
17714 @endif libiberty
17718 .PHONY: configure-libtool maybe-configure-libtool
17719 maybe-configure-libtool:
17720 @if libtool
17721 maybe-configure-libtool: configure-libtool
17722 configure-libtool:
17723 @$(unstage)
17724 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17726 r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 $(HOST_EXPORTS) \
17729 echo Configuring in $(HOST_SUBDIR)/libtool; \
17730 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17731 case $(srcdir) in \
17732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17733 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17735 esac; \
17736 srcdiroption="--srcdir=$${topdir}/libtool"; \
17737 libsrcdir="$$s/libtool"; \
17738 $(SHELL) $${libsrcdir}/configure \
17739 $(HOST_CONFIGARGS) $${srcdiroption} \
17740 || exit 1
17741 @endif libtool
17747 .PHONY: all-libtool maybe-all-libtool
17748 maybe-all-libtool:
17749 @if libtool
17750 TARGET-libtool=all
17751 maybe-all-libtool: all-libtool
17752 all-libtool: configure-libtool
17753 @$(unstage)
17754 @r=`${PWD_COMMAND}`; export r; \
17755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17756 $(HOST_EXPORTS) \
17757 (cd $(HOST_SUBDIR)/libtool && \
17758 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17759 @endif libtool
17764 .PHONY: check-libtool maybe-check-libtool
17765 maybe-check-libtool:
17766 @if libtool
17767 maybe-check-libtool: check-libtool
17769 check-libtool:
17770 @$(unstage)
17771 @r=`${PWD_COMMAND}`; export r; \
17772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17773 $(HOST_EXPORTS) \
17774 (cd $(HOST_SUBDIR)/libtool && \
17775 $(MAKE) $(FLAGS_TO_PASS) check)
17777 @endif libtool
17779 .PHONY: install-libtool maybe-install-libtool
17780 maybe-install-libtool:
17781 @if libtool
17782 maybe-install-libtool: install-libtool
17784 install-libtool: installdirs
17785 @$(unstage)
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17788 $(HOST_EXPORTS) \
17789 (cd $(HOST_SUBDIR)/libtool && \
17790 $(MAKE) $(FLAGS_TO_PASS) install)
17792 @endif libtool
17794 # Other targets (info, dvi, etc.)
17796 .PHONY: maybe-info-libtool info-libtool
17797 maybe-info-libtool:
17798 @if libtool
17799 maybe-info-libtool: info-libtool
17801 info-libtool: \
17802 configure-libtool
17803 @$(unstage)
17804 @[ -f ./libtool/Makefile ] || exit 0; \
17805 r=`${PWD_COMMAND}`; export r; \
17806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17807 $(HOST_EXPORTS) \
17808 for flag in $(EXTRA_HOST_FLAGS) ; do \
17809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17810 done; \
17811 echo "Doing info in libtool" ; \
17812 (cd $(HOST_SUBDIR)/libtool && \
17813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17815 "RANLIB=$${RANLIB}" \
17816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17817 info) \
17818 || exit 1
17820 @endif libtool
17822 .PHONY: maybe-dvi-libtool dvi-libtool
17823 maybe-dvi-libtool:
17824 @if libtool
17825 maybe-dvi-libtool: dvi-libtool
17827 dvi-libtool: \
17828 configure-libtool
17829 @$(unstage)
17830 @[ -f ./libtool/Makefile ] || exit 0; \
17831 r=`${PWD_COMMAND}`; export r; \
17832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17833 $(HOST_EXPORTS) \
17834 for flag in $(EXTRA_HOST_FLAGS) ; do \
17835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17836 done; \
17837 echo "Doing dvi in libtool" ; \
17838 (cd $(HOST_SUBDIR)/libtool && \
17839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17841 "RANLIB=$${RANLIB}" \
17842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17843 dvi) \
17844 || exit 1
17846 @endif libtool
17848 .PHONY: maybe-html-libtool html-libtool
17849 maybe-html-libtool:
17850 @if libtool
17851 maybe-html-libtool: html-libtool
17853 html-libtool: \
17854 configure-libtool
17855 @$(unstage)
17856 @[ -f ./libtool/Makefile ] || exit 0; \
17857 r=`${PWD_COMMAND}`; export r; \
17858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17859 $(HOST_EXPORTS) \
17860 for flag in $(EXTRA_HOST_FLAGS) ; do \
17861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17862 done; \
17863 echo "Doing html in libtool" ; \
17864 (cd $(HOST_SUBDIR)/libtool && \
17865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17867 "RANLIB=$${RANLIB}" \
17868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17869 html) \
17870 || exit 1
17872 @endif libtool
17874 .PHONY: maybe-TAGS-libtool TAGS-libtool
17875 maybe-TAGS-libtool:
17876 @if libtool
17877 maybe-TAGS-libtool: TAGS-libtool
17879 TAGS-libtool: \
17880 configure-libtool
17881 @$(unstage)
17882 @[ -f ./libtool/Makefile ] || exit 0; \
17883 r=`${PWD_COMMAND}`; export r; \
17884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17885 $(HOST_EXPORTS) \
17886 for flag in $(EXTRA_HOST_FLAGS) ; do \
17887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17888 done; \
17889 echo "Doing TAGS in libtool" ; \
17890 (cd $(HOST_SUBDIR)/libtool && \
17891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17893 "RANLIB=$${RANLIB}" \
17894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17895 TAGS) \
17896 || exit 1
17898 @endif libtool
17900 .PHONY: maybe-install-info-libtool install-info-libtool
17901 maybe-install-info-libtool:
17902 @if libtool
17903 maybe-install-info-libtool: install-info-libtool
17905 install-info-libtool: \
17906 configure-libtool \
17907 info-libtool
17908 @$(unstage)
17909 @[ -f ./libtool/Makefile ] || exit 0; \
17910 r=`${PWD_COMMAND}`; export r; \
17911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17912 $(HOST_EXPORTS) \
17913 for flag in $(EXTRA_HOST_FLAGS) ; do \
17914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17915 done; \
17916 echo "Doing install-info in libtool" ; \
17917 (cd $(HOST_SUBDIR)/libtool && \
17918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17920 "RANLIB=$${RANLIB}" \
17921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17922 install-info) \
17923 || exit 1
17925 @endif libtool
17927 .PHONY: maybe-installcheck-libtool installcheck-libtool
17928 maybe-installcheck-libtool:
17929 @if libtool
17930 maybe-installcheck-libtool: installcheck-libtool
17932 installcheck-libtool: \
17933 configure-libtool
17934 @$(unstage)
17935 @[ -f ./libtool/Makefile ] || exit 0; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 done; \
17942 echo "Doing installcheck in libtool" ; \
17943 (cd $(HOST_SUBDIR)/libtool && \
17944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17946 "RANLIB=$${RANLIB}" \
17947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17948 installcheck) \
17949 || exit 1
17951 @endif libtool
17953 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17954 maybe-mostlyclean-libtool:
17955 @if libtool
17956 maybe-mostlyclean-libtool: mostlyclean-libtool
17958 mostlyclean-libtool:
17959 @$(unstage)
17960 @[ -f ./libtool/Makefile ] || exit 0; \
17961 r=`${PWD_COMMAND}`; export r; \
17962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17963 $(HOST_EXPORTS) \
17964 for flag in $(EXTRA_HOST_FLAGS) ; do \
17965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17966 done; \
17967 echo "Doing mostlyclean in libtool" ; \
17968 (cd $(HOST_SUBDIR)/libtool && \
17969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17971 "RANLIB=$${RANLIB}" \
17972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17973 mostlyclean) \
17974 || exit 1
17976 @endif libtool
17978 .PHONY: maybe-clean-libtool clean-libtool
17979 maybe-clean-libtool:
17980 @if libtool
17981 maybe-clean-libtool: clean-libtool
17983 clean-libtool:
17984 @$(unstage)
17985 @[ -f ./libtool/Makefile ] || exit 0; \
17986 r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988 $(HOST_EXPORTS) \
17989 for flag in $(EXTRA_HOST_FLAGS) ; do \
17990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17991 done; \
17992 echo "Doing clean in libtool" ; \
17993 (cd $(HOST_SUBDIR)/libtool && \
17994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17996 "RANLIB=$${RANLIB}" \
17997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17998 clean) \
17999 || exit 1
18001 @endif libtool
18003 .PHONY: maybe-distclean-libtool distclean-libtool
18004 maybe-distclean-libtool:
18005 @if libtool
18006 maybe-distclean-libtool: distclean-libtool
18008 distclean-libtool:
18009 @$(unstage)
18010 @[ -f ./libtool/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 $(HOST_EXPORTS) \
18014 for flag in $(EXTRA_HOST_FLAGS) ; do \
18015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18016 done; \
18017 echo "Doing distclean in libtool" ; \
18018 (cd $(HOST_SUBDIR)/libtool && \
18019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021 "RANLIB=$${RANLIB}" \
18022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18023 distclean) \
18024 || exit 1
18026 @endif libtool
18028 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18029 maybe-maintainer-clean-libtool:
18030 @if libtool
18031 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18033 maintainer-clean-libtool:
18034 @$(unstage)
18035 @[ -f ./libtool/Makefile ] || exit 0; \
18036 r=`${PWD_COMMAND}`; export r; \
18037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18038 $(HOST_EXPORTS) \
18039 for flag in $(EXTRA_HOST_FLAGS) ; do \
18040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18041 done; \
18042 echo "Doing maintainer-clean in libtool" ; \
18043 (cd $(HOST_SUBDIR)/libtool && \
18044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18046 "RANLIB=$${RANLIB}" \
18047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18048 maintainer-clean) \
18049 || exit 1
18051 @endif libtool
18055 .PHONY: configure-m4 maybe-configure-m4
18056 maybe-configure-m4:
18057 @if m4
18058 maybe-configure-m4: configure-m4
18059 configure-m4:
18060 @$(unstage)
18061 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18063 r=`${PWD_COMMAND}`; export r; \
18064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18065 $(HOST_EXPORTS) \
18066 echo Configuring in $(HOST_SUBDIR)/m4; \
18067 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18068 case $(srcdir) in \
18069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18070 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18072 esac; \
18073 srcdiroption="--srcdir=$${topdir}/m4"; \
18074 libsrcdir="$$s/m4"; \
18075 $(SHELL) $${libsrcdir}/configure \
18076 $(HOST_CONFIGARGS) $${srcdiroption} \
18077 || exit 1
18078 @endif m4
18084 .PHONY: all-m4 maybe-all-m4
18085 maybe-all-m4:
18086 @if m4
18087 TARGET-m4=all
18088 maybe-all-m4: all-m4
18089 all-m4: configure-m4
18090 @$(unstage)
18091 @r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18093 $(HOST_EXPORTS) \
18094 (cd $(HOST_SUBDIR)/m4 && \
18095 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18096 @endif m4
18101 .PHONY: check-m4 maybe-check-m4
18102 maybe-check-m4:
18103 @if m4
18104 maybe-check-m4: check-m4
18106 check-m4:
18107 @$(unstage)
18108 @r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18110 $(HOST_EXPORTS) \
18111 (cd $(HOST_SUBDIR)/m4 && \
18112 $(MAKE) $(FLAGS_TO_PASS) check)
18114 @endif m4
18116 .PHONY: install-m4 maybe-install-m4
18117 maybe-install-m4:
18118 @if m4
18119 maybe-install-m4: install-m4
18121 install-m4: installdirs
18122 @$(unstage)
18123 @r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 $(HOST_EXPORTS) \
18126 (cd $(HOST_SUBDIR)/m4 && \
18127 $(MAKE) $(FLAGS_TO_PASS) install)
18129 @endif m4
18131 # Other targets (info, dvi, etc.)
18133 .PHONY: maybe-info-m4 info-m4
18134 maybe-info-m4:
18135 @if m4
18136 maybe-info-m4: info-m4
18138 info-m4: \
18139 configure-m4
18140 @$(unstage)
18141 @[ -f ./m4/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 $(HOST_EXPORTS) \
18145 for flag in $(EXTRA_HOST_FLAGS) ; do \
18146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18147 done; \
18148 echo "Doing info in m4" ; \
18149 (cd $(HOST_SUBDIR)/m4 && \
18150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18152 "RANLIB=$${RANLIB}" \
18153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18154 info) \
18155 || exit 1
18157 @endif m4
18159 .PHONY: maybe-dvi-m4 dvi-m4
18160 maybe-dvi-m4:
18161 @if m4
18162 maybe-dvi-m4: dvi-m4
18164 dvi-m4: \
18165 configure-m4
18166 @$(unstage)
18167 @[ -f ./m4/Makefile ] || exit 0; \
18168 r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 $(HOST_EXPORTS) \
18171 for flag in $(EXTRA_HOST_FLAGS) ; do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18173 done; \
18174 echo "Doing dvi in m4" ; \
18175 (cd $(HOST_SUBDIR)/m4 && \
18176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18178 "RANLIB=$${RANLIB}" \
18179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18180 dvi) \
18181 || exit 1
18183 @endif m4
18185 .PHONY: maybe-html-m4 html-m4
18186 maybe-html-m4:
18187 @if m4
18188 maybe-html-m4: html-m4
18190 html-m4: \
18191 configure-m4
18192 @$(unstage)
18193 @[ -f ./m4/Makefile ] || exit 0; \
18194 r=`${PWD_COMMAND}`; export r; \
18195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 $(HOST_EXPORTS) \
18197 for flag in $(EXTRA_HOST_FLAGS) ; do \
18198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18199 done; \
18200 echo "Doing html in m4" ; \
18201 (cd $(HOST_SUBDIR)/m4 && \
18202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18204 "RANLIB=$${RANLIB}" \
18205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18206 html) \
18207 || exit 1
18209 @endif m4
18211 .PHONY: maybe-TAGS-m4 TAGS-m4
18212 maybe-TAGS-m4:
18213 @if m4
18214 maybe-TAGS-m4: TAGS-m4
18216 TAGS-m4: \
18217 configure-m4
18218 @$(unstage)
18219 @[ -f ./m4/Makefile ] || exit 0; \
18220 r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18222 $(HOST_EXPORTS) \
18223 for flag in $(EXTRA_HOST_FLAGS) ; do \
18224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18225 done; \
18226 echo "Doing TAGS in m4" ; \
18227 (cd $(HOST_SUBDIR)/m4 && \
18228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18230 "RANLIB=$${RANLIB}" \
18231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232 TAGS) \
18233 || exit 1
18235 @endif m4
18237 .PHONY: maybe-install-info-m4 install-info-m4
18238 maybe-install-info-m4:
18239 @if m4
18240 maybe-install-info-m4: install-info-m4
18242 install-info-m4: \
18243 configure-m4 \
18244 info-m4
18245 @$(unstage)
18246 @[ -f ./m4/Makefile ] || exit 0; \
18247 r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18249 $(HOST_EXPORTS) \
18250 for flag in $(EXTRA_HOST_FLAGS) ; do \
18251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18252 done; \
18253 echo "Doing install-info in m4" ; \
18254 (cd $(HOST_SUBDIR)/m4 && \
18255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18257 "RANLIB=$${RANLIB}" \
18258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18259 install-info) \
18260 || exit 1
18262 @endif m4
18264 .PHONY: maybe-installcheck-m4 installcheck-m4
18265 maybe-installcheck-m4:
18266 @if m4
18267 maybe-installcheck-m4: installcheck-m4
18269 installcheck-m4: \
18270 configure-m4
18271 @$(unstage)
18272 @[ -f ./m4/Makefile ] || exit 0; \
18273 r=`${PWD_COMMAND}`; export r; \
18274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18275 $(HOST_EXPORTS) \
18276 for flag in $(EXTRA_HOST_FLAGS) ; do \
18277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18278 done; \
18279 echo "Doing installcheck in m4" ; \
18280 (cd $(HOST_SUBDIR)/m4 && \
18281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18283 "RANLIB=$${RANLIB}" \
18284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18285 installcheck) \
18286 || exit 1
18288 @endif m4
18290 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18291 maybe-mostlyclean-m4:
18292 @if m4
18293 maybe-mostlyclean-m4: mostlyclean-m4
18295 mostlyclean-m4:
18296 @$(unstage)
18297 @[ -f ./m4/Makefile ] || exit 0; \
18298 r=`${PWD_COMMAND}`; export r; \
18299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18300 $(HOST_EXPORTS) \
18301 for flag in $(EXTRA_HOST_FLAGS) ; do \
18302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18303 done; \
18304 echo "Doing mostlyclean in m4" ; \
18305 (cd $(HOST_SUBDIR)/m4 && \
18306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18308 "RANLIB=$${RANLIB}" \
18309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18310 mostlyclean) \
18311 || exit 1
18313 @endif m4
18315 .PHONY: maybe-clean-m4 clean-m4
18316 maybe-clean-m4:
18317 @if m4
18318 maybe-clean-m4: clean-m4
18320 clean-m4:
18321 @$(unstage)
18322 @[ -f ./m4/Makefile ] || exit 0; \
18323 r=`${PWD_COMMAND}`; export r; \
18324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18325 $(HOST_EXPORTS) \
18326 for flag in $(EXTRA_HOST_FLAGS) ; do \
18327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18328 done; \
18329 echo "Doing clean in m4" ; \
18330 (cd $(HOST_SUBDIR)/m4 && \
18331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18333 "RANLIB=$${RANLIB}" \
18334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18335 clean) \
18336 || exit 1
18338 @endif m4
18340 .PHONY: maybe-distclean-m4 distclean-m4
18341 maybe-distclean-m4:
18342 @if m4
18343 maybe-distclean-m4: distclean-m4
18345 distclean-m4:
18346 @$(unstage)
18347 @[ -f ./m4/Makefile ] || exit 0; \
18348 r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18350 $(HOST_EXPORTS) \
18351 for flag in $(EXTRA_HOST_FLAGS) ; do \
18352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18353 done; \
18354 echo "Doing distclean in m4" ; \
18355 (cd $(HOST_SUBDIR)/m4 && \
18356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18358 "RANLIB=$${RANLIB}" \
18359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18360 distclean) \
18361 || exit 1
18363 @endif m4
18365 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18366 maybe-maintainer-clean-m4:
18367 @if m4
18368 maybe-maintainer-clean-m4: maintainer-clean-m4
18370 maintainer-clean-m4:
18371 @$(unstage)
18372 @[ -f ./m4/Makefile ] || exit 0; \
18373 r=`${PWD_COMMAND}`; export r; \
18374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18375 $(HOST_EXPORTS) \
18376 for flag in $(EXTRA_HOST_FLAGS) ; do \
18377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18378 done; \
18379 echo "Doing maintainer-clean in m4" ; \
18380 (cd $(HOST_SUBDIR)/m4 && \
18381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18383 "RANLIB=$${RANLIB}" \
18384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18385 maintainer-clean) \
18386 || exit 1
18388 @endif m4
18392 .PHONY: configure-make maybe-configure-make
18393 maybe-configure-make:
18394 @if make
18395 maybe-configure-make: configure-make
18396 configure-make:
18397 @$(unstage)
18398 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18399 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18400 r=`${PWD_COMMAND}`; export r; \
18401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18402 $(HOST_EXPORTS) \
18403 echo Configuring in $(HOST_SUBDIR)/make; \
18404 cd "$(HOST_SUBDIR)/make" || exit 1; \
18405 case $(srcdir) in \
18406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18407 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18409 esac; \
18410 srcdiroption="--srcdir=$${topdir}/make"; \
18411 libsrcdir="$$s/make"; \
18412 $(SHELL) $${libsrcdir}/configure \
18413 $(HOST_CONFIGARGS) $${srcdiroption} \
18414 || exit 1
18415 @endif make
18421 .PHONY: all-make maybe-all-make
18422 maybe-all-make:
18423 @if make
18424 TARGET-make=all
18425 maybe-all-make: all-make
18426 all-make: configure-make
18427 @$(unstage)
18428 @r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 $(HOST_EXPORTS) \
18431 (cd $(HOST_SUBDIR)/make && \
18432 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18433 @endif make
18438 .PHONY: check-make maybe-check-make
18439 maybe-check-make:
18440 @if make
18441 maybe-check-make: check-make
18443 check-make:
18444 @$(unstage)
18445 @r=`${PWD_COMMAND}`; export r; \
18446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18447 $(HOST_EXPORTS) \
18448 (cd $(HOST_SUBDIR)/make && \
18449 $(MAKE) $(FLAGS_TO_PASS) check)
18451 @endif make
18453 .PHONY: install-make maybe-install-make
18454 maybe-install-make:
18455 @if make
18456 maybe-install-make: install-make
18458 install-make: installdirs
18459 @$(unstage)
18460 @r=`${PWD_COMMAND}`; export r; \
18461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18462 $(HOST_EXPORTS) \
18463 (cd $(HOST_SUBDIR)/make && \
18464 $(MAKE) $(FLAGS_TO_PASS) install)
18466 @endif make
18468 # Other targets (info, dvi, etc.)
18470 .PHONY: maybe-info-make info-make
18471 maybe-info-make:
18472 @if make
18473 maybe-info-make: info-make
18475 info-make: \
18476 configure-make
18477 @$(unstage)
18478 @[ -f ./make/Makefile ] || exit 0; \
18479 r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18481 $(HOST_EXPORTS) \
18482 for flag in $(EXTRA_HOST_FLAGS) ; do \
18483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18484 done; \
18485 echo "Doing info in make" ; \
18486 (cd $(HOST_SUBDIR)/make && \
18487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18489 "RANLIB=$${RANLIB}" \
18490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18491 info) \
18492 || exit 1
18494 @endif make
18496 .PHONY: maybe-dvi-make dvi-make
18497 maybe-dvi-make:
18498 @if make
18499 maybe-dvi-make: dvi-make
18501 dvi-make: \
18502 configure-make
18503 @$(unstage)
18504 @[ -f ./make/Makefile ] || exit 0; \
18505 r=`${PWD_COMMAND}`; export r; \
18506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18507 $(HOST_EXPORTS) \
18508 for flag in $(EXTRA_HOST_FLAGS) ; do \
18509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18510 done; \
18511 echo "Doing dvi in make" ; \
18512 (cd $(HOST_SUBDIR)/make && \
18513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18515 "RANLIB=$${RANLIB}" \
18516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18517 dvi) \
18518 || exit 1
18520 @endif make
18522 .PHONY: maybe-html-make html-make
18523 maybe-html-make:
18524 @if make
18525 maybe-html-make: html-make
18527 html-make: \
18528 configure-make
18529 @$(unstage)
18530 @[ -f ./make/Makefile ] || exit 0; \
18531 r=`${PWD_COMMAND}`; export r; \
18532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18533 $(HOST_EXPORTS) \
18534 for flag in $(EXTRA_HOST_FLAGS) ; do \
18535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18536 done; \
18537 echo "Doing html in make" ; \
18538 (cd $(HOST_SUBDIR)/make && \
18539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18541 "RANLIB=$${RANLIB}" \
18542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18543 html) \
18544 || exit 1
18546 @endif make
18548 .PHONY: maybe-TAGS-make TAGS-make
18549 maybe-TAGS-make:
18550 @if make
18551 maybe-TAGS-make: TAGS-make
18553 TAGS-make: \
18554 configure-make
18555 @$(unstage)
18556 @[ -f ./make/Makefile ] || exit 0; \
18557 r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18559 $(HOST_EXPORTS) \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18562 done; \
18563 echo "Doing TAGS in make" ; \
18564 (cd $(HOST_SUBDIR)/make && \
18565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18567 "RANLIB=$${RANLIB}" \
18568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18569 TAGS) \
18570 || exit 1
18572 @endif make
18574 .PHONY: maybe-install-info-make install-info-make
18575 maybe-install-info-make:
18576 @if make
18577 maybe-install-info-make: install-info-make
18579 install-info-make: \
18580 configure-make \
18581 info-make
18582 @$(unstage)
18583 @[ -f ./make/Makefile ] || exit 0; \
18584 r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586 $(HOST_EXPORTS) \
18587 for flag in $(EXTRA_HOST_FLAGS) ; do \
18588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18589 done; \
18590 echo "Doing install-info in make" ; \
18591 (cd $(HOST_SUBDIR)/make && \
18592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18594 "RANLIB=$${RANLIB}" \
18595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18596 install-info) \
18597 || exit 1
18599 @endif make
18601 .PHONY: maybe-installcheck-make installcheck-make
18602 maybe-installcheck-make:
18603 @if make
18604 maybe-installcheck-make: installcheck-make
18606 installcheck-make: \
18607 configure-make
18608 @$(unstage)
18609 @[ -f ./make/Makefile ] || exit 0; \
18610 r=`${PWD_COMMAND}`; export r; \
18611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18612 $(HOST_EXPORTS) \
18613 for flag in $(EXTRA_HOST_FLAGS) ; do \
18614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18615 done; \
18616 echo "Doing installcheck in make" ; \
18617 (cd $(HOST_SUBDIR)/make && \
18618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18620 "RANLIB=$${RANLIB}" \
18621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18622 installcheck) \
18623 || exit 1
18625 @endif make
18627 .PHONY: maybe-mostlyclean-make mostlyclean-make
18628 maybe-mostlyclean-make:
18629 @if make
18630 maybe-mostlyclean-make: mostlyclean-make
18632 mostlyclean-make:
18633 @$(unstage)
18634 @[ -f ./make/Makefile ] || exit 0; \
18635 r=`${PWD_COMMAND}`; export r; \
18636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18637 $(HOST_EXPORTS) \
18638 for flag in $(EXTRA_HOST_FLAGS) ; do \
18639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18640 done; \
18641 echo "Doing mostlyclean in make" ; \
18642 (cd $(HOST_SUBDIR)/make && \
18643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18645 "RANLIB=$${RANLIB}" \
18646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18647 mostlyclean) \
18648 || exit 1
18650 @endif make
18652 .PHONY: maybe-clean-make clean-make
18653 maybe-clean-make:
18654 @if make
18655 maybe-clean-make: clean-make
18657 clean-make:
18658 @$(unstage)
18659 @[ -f ./make/Makefile ] || exit 0; \
18660 r=`${PWD_COMMAND}`; export r; \
18661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18662 $(HOST_EXPORTS) \
18663 for flag in $(EXTRA_HOST_FLAGS) ; do \
18664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18665 done; \
18666 echo "Doing clean in make" ; \
18667 (cd $(HOST_SUBDIR)/make && \
18668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18670 "RANLIB=$${RANLIB}" \
18671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18672 clean) \
18673 || exit 1
18675 @endif make
18677 .PHONY: maybe-distclean-make distclean-make
18678 maybe-distclean-make:
18679 @if make
18680 maybe-distclean-make: distclean-make
18682 distclean-make:
18683 @$(unstage)
18684 @[ -f ./make/Makefile ] || exit 0; \
18685 r=`${PWD_COMMAND}`; export r; \
18686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18687 $(HOST_EXPORTS) \
18688 for flag in $(EXTRA_HOST_FLAGS) ; do \
18689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18690 done; \
18691 echo "Doing distclean in make" ; \
18692 (cd $(HOST_SUBDIR)/make && \
18693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18695 "RANLIB=$${RANLIB}" \
18696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18697 distclean) \
18698 || exit 1
18700 @endif make
18702 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
18703 maybe-maintainer-clean-make:
18704 @if make
18705 maybe-maintainer-clean-make: maintainer-clean-make
18707 maintainer-clean-make:
18708 @$(unstage)
18709 @[ -f ./make/Makefile ] || exit 0; \
18710 r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) \
18713 for flag in $(EXTRA_HOST_FLAGS) ; do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18715 done; \
18716 echo "Doing maintainer-clean in make" ; \
18717 (cd $(HOST_SUBDIR)/make && \
18718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720 "RANLIB=$${RANLIB}" \
18721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18722 maintainer-clean) \
18723 || exit 1
18725 @endif make
18729 .PHONY: configure-mmalloc maybe-configure-mmalloc
18730 maybe-configure-mmalloc:
18731 @if mmalloc
18732 maybe-configure-mmalloc: configure-mmalloc
18733 configure-mmalloc:
18734 @$(unstage)
18735 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18737 r=`${PWD_COMMAND}`; export r; \
18738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18739 $(HOST_EXPORTS) \
18740 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18741 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18742 case $(srcdir) in \
18743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18744 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18746 esac; \
18747 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18748 libsrcdir="$$s/mmalloc"; \
18749 $(SHELL) $${libsrcdir}/configure \
18750 $(HOST_CONFIGARGS) $${srcdiroption} \
18751 || exit 1
18752 @endif mmalloc
18758 .PHONY: all-mmalloc maybe-all-mmalloc
18759 maybe-all-mmalloc:
18760 @if mmalloc
18761 TARGET-mmalloc=all
18762 maybe-all-mmalloc: all-mmalloc
18763 all-mmalloc: configure-mmalloc
18764 @$(unstage)
18765 @r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767 $(HOST_EXPORTS) \
18768 (cd $(HOST_SUBDIR)/mmalloc && \
18769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18770 @endif mmalloc
18775 .PHONY: check-mmalloc maybe-check-mmalloc
18776 maybe-check-mmalloc:
18777 @if mmalloc
18778 maybe-check-mmalloc: check-mmalloc
18780 check-mmalloc:
18782 @endif mmalloc
18784 .PHONY: install-mmalloc maybe-install-mmalloc
18785 maybe-install-mmalloc:
18786 @if mmalloc
18787 maybe-install-mmalloc: install-mmalloc
18789 install-mmalloc: installdirs
18790 @$(unstage)
18791 @r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 $(HOST_EXPORTS) \
18794 (cd $(HOST_SUBDIR)/mmalloc && \
18795 $(MAKE) $(FLAGS_TO_PASS) install)
18797 @endif mmalloc
18799 # Other targets (info, dvi, etc.)
18801 .PHONY: maybe-info-mmalloc info-mmalloc
18802 maybe-info-mmalloc:
18803 @if mmalloc
18804 maybe-info-mmalloc: info-mmalloc
18806 info-mmalloc: \
18807 configure-mmalloc
18808 @$(unstage)
18809 @[ -f ./mmalloc/Makefile ] || exit 0; \
18810 r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18812 $(HOST_EXPORTS) \
18813 for flag in $(EXTRA_HOST_FLAGS) ; do \
18814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18815 done; \
18816 echo "Doing info in mmalloc" ; \
18817 (cd $(HOST_SUBDIR)/mmalloc && \
18818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18820 "RANLIB=$${RANLIB}" \
18821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18822 info) \
18823 || exit 1
18825 @endif mmalloc
18827 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18828 maybe-dvi-mmalloc:
18829 @if mmalloc
18830 maybe-dvi-mmalloc: dvi-mmalloc
18832 dvi-mmalloc: \
18833 configure-mmalloc
18834 @$(unstage)
18835 @[ -f ./mmalloc/Makefile ] || exit 0; \
18836 r=`${PWD_COMMAND}`; export r; \
18837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18838 $(HOST_EXPORTS) \
18839 for flag in $(EXTRA_HOST_FLAGS) ; do \
18840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18841 done; \
18842 echo "Doing dvi in mmalloc" ; \
18843 (cd $(HOST_SUBDIR)/mmalloc && \
18844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18846 "RANLIB=$${RANLIB}" \
18847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18848 dvi) \
18849 || exit 1
18851 @endif mmalloc
18853 .PHONY: maybe-html-mmalloc html-mmalloc
18854 maybe-html-mmalloc:
18855 @if mmalloc
18856 maybe-html-mmalloc: html-mmalloc
18858 html-mmalloc: \
18859 configure-mmalloc
18860 @$(unstage)
18861 @[ -f ./mmalloc/Makefile ] || exit 0; \
18862 r=`${PWD_COMMAND}`; export r; \
18863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18864 $(HOST_EXPORTS) \
18865 for flag in $(EXTRA_HOST_FLAGS) ; do \
18866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18867 done; \
18868 echo "Doing html in mmalloc" ; \
18869 (cd $(HOST_SUBDIR)/mmalloc && \
18870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18872 "RANLIB=$${RANLIB}" \
18873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18874 html) \
18875 || exit 1
18877 @endif mmalloc
18879 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18880 maybe-TAGS-mmalloc:
18881 @if mmalloc
18882 maybe-TAGS-mmalloc: TAGS-mmalloc
18884 TAGS-mmalloc: \
18885 configure-mmalloc
18886 @$(unstage)
18887 @[ -f ./mmalloc/Makefile ] || exit 0; \
18888 r=`${PWD_COMMAND}`; export r; \
18889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18890 $(HOST_EXPORTS) \
18891 for flag in $(EXTRA_HOST_FLAGS) ; do \
18892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18893 done; \
18894 echo "Doing TAGS in mmalloc" ; \
18895 (cd $(HOST_SUBDIR)/mmalloc && \
18896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18898 "RANLIB=$${RANLIB}" \
18899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18900 TAGS) \
18901 || exit 1
18903 @endif mmalloc
18905 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18906 maybe-install-info-mmalloc:
18907 @if mmalloc
18908 maybe-install-info-mmalloc: install-info-mmalloc
18910 install-info-mmalloc: \
18911 configure-mmalloc \
18912 info-mmalloc
18913 @$(unstage)
18914 @[ -f ./mmalloc/Makefile ] || exit 0; \
18915 r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 $(HOST_EXPORTS) \
18918 for flag in $(EXTRA_HOST_FLAGS) ; do \
18919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18920 done; \
18921 echo "Doing install-info in mmalloc" ; \
18922 (cd $(HOST_SUBDIR)/mmalloc && \
18923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18925 "RANLIB=$${RANLIB}" \
18926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18927 install-info) \
18928 || exit 1
18930 @endif mmalloc
18932 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18933 maybe-installcheck-mmalloc:
18934 @if mmalloc
18935 maybe-installcheck-mmalloc: installcheck-mmalloc
18937 installcheck-mmalloc: \
18938 configure-mmalloc
18939 @$(unstage)
18940 @[ -f ./mmalloc/Makefile ] || exit 0; \
18941 r=`${PWD_COMMAND}`; export r; \
18942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18943 $(HOST_EXPORTS) \
18944 for flag in $(EXTRA_HOST_FLAGS) ; do \
18945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18946 done; \
18947 echo "Doing installcheck in mmalloc" ; \
18948 (cd $(HOST_SUBDIR)/mmalloc && \
18949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18951 "RANLIB=$${RANLIB}" \
18952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18953 installcheck) \
18954 || exit 1
18956 @endif mmalloc
18958 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18959 maybe-mostlyclean-mmalloc:
18960 @if mmalloc
18961 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18963 mostlyclean-mmalloc:
18964 @$(unstage)
18965 @[ -f ./mmalloc/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 $(HOST_EXPORTS) \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18971 done; \
18972 echo "Doing mostlyclean in mmalloc" ; \
18973 (cd $(HOST_SUBDIR)/mmalloc && \
18974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18976 "RANLIB=$${RANLIB}" \
18977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18978 mostlyclean) \
18979 || exit 1
18981 @endif mmalloc
18983 .PHONY: maybe-clean-mmalloc clean-mmalloc
18984 maybe-clean-mmalloc:
18985 @if mmalloc
18986 maybe-clean-mmalloc: clean-mmalloc
18988 clean-mmalloc:
18989 @$(unstage)
18990 @[ -f ./mmalloc/Makefile ] || exit 0; \
18991 r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 $(HOST_EXPORTS) \
18994 for flag in $(EXTRA_HOST_FLAGS) ; do \
18995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18996 done; \
18997 echo "Doing clean in mmalloc" ; \
18998 (cd $(HOST_SUBDIR)/mmalloc && \
18999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19001 "RANLIB=$${RANLIB}" \
19002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19003 clean) \
19004 || exit 1
19006 @endif mmalloc
19008 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19009 maybe-distclean-mmalloc:
19010 @if mmalloc
19011 maybe-distclean-mmalloc: distclean-mmalloc
19013 distclean-mmalloc:
19014 @$(unstage)
19015 @[ -f ./mmalloc/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19018 $(HOST_EXPORTS) \
19019 for flag in $(EXTRA_HOST_FLAGS) ; do \
19020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19021 done; \
19022 echo "Doing distclean in mmalloc" ; \
19023 (cd $(HOST_SUBDIR)/mmalloc && \
19024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19026 "RANLIB=$${RANLIB}" \
19027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19028 distclean) \
19029 || exit 1
19031 @endif mmalloc
19033 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19034 maybe-maintainer-clean-mmalloc:
19035 @if mmalloc
19036 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19038 maintainer-clean-mmalloc:
19039 @$(unstage)
19040 @[ -f ./mmalloc/Makefile ] || exit 0; \
19041 r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 $(HOST_EXPORTS) \
19044 for flag in $(EXTRA_HOST_FLAGS) ; do \
19045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19046 done; \
19047 echo "Doing maintainer-clean in mmalloc" ; \
19048 (cd $(HOST_SUBDIR)/mmalloc && \
19049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19051 "RANLIB=$${RANLIB}" \
19052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19053 maintainer-clean) \
19054 || exit 1
19056 @endif mmalloc
19060 .PHONY: configure-patch maybe-configure-patch
19061 maybe-configure-patch:
19062 @if patch
19063 maybe-configure-patch: configure-patch
19064 configure-patch:
19065 @$(unstage)
19066 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19068 r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 $(HOST_EXPORTS) \
19071 echo Configuring in $(HOST_SUBDIR)/patch; \
19072 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19073 case $(srcdir) in \
19074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19075 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19077 esac; \
19078 srcdiroption="--srcdir=$${topdir}/patch"; \
19079 libsrcdir="$$s/patch"; \
19080 $(SHELL) $${libsrcdir}/configure \
19081 $(HOST_CONFIGARGS) $${srcdiroption} \
19082 || exit 1
19083 @endif patch
19089 .PHONY: all-patch maybe-all-patch
19090 maybe-all-patch:
19091 @if patch
19092 TARGET-patch=all
19093 maybe-all-patch: all-patch
19094 all-patch: configure-patch
19095 @$(unstage)
19096 @r=`${PWD_COMMAND}`; export r; \
19097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098 $(HOST_EXPORTS) \
19099 (cd $(HOST_SUBDIR)/patch && \
19100 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19101 @endif patch
19106 .PHONY: check-patch maybe-check-patch
19107 maybe-check-patch:
19108 @if patch
19109 maybe-check-patch: check-patch
19111 check-patch:
19112 @$(unstage)
19113 @r=`${PWD_COMMAND}`; export r; \
19114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19115 $(HOST_EXPORTS) \
19116 (cd $(HOST_SUBDIR)/patch && \
19117 $(MAKE) $(FLAGS_TO_PASS) check)
19119 @endif patch
19121 .PHONY: install-patch maybe-install-patch
19122 maybe-install-patch:
19123 @if patch
19124 maybe-install-patch: install-patch
19126 install-patch: installdirs
19127 @$(unstage)
19128 @r=`${PWD_COMMAND}`; export r; \
19129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19130 $(HOST_EXPORTS) \
19131 (cd $(HOST_SUBDIR)/patch && \
19132 $(MAKE) $(FLAGS_TO_PASS) install)
19134 @endif patch
19136 # Other targets (info, dvi, etc.)
19138 .PHONY: maybe-info-patch info-patch
19139 maybe-info-patch:
19140 @if patch
19141 maybe-info-patch: info-patch
19143 info-patch: \
19144 configure-patch
19145 @$(unstage)
19146 @[ -f ./patch/Makefile ] || exit 0; \
19147 r=`${PWD_COMMAND}`; export r; \
19148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19149 $(HOST_EXPORTS) \
19150 for flag in $(EXTRA_HOST_FLAGS) ; do \
19151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19152 done; \
19153 echo "Doing info in patch" ; \
19154 (cd $(HOST_SUBDIR)/patch && \
19155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19157 "RANLIB=$${RANLIB}" \
19158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19159 info) \
19160 || exit 1
19162 @endif patch
19164 .PHONY: maybe-dvi-patch dvi-patch
19165 maybe-dvi-patch:
19166 @if patch
19167 maybe-dvi-patch: dvi-patch
19169 dvi-patch: \
19170 configure-patch
19171 @$(unstage)
19172 @[ -f ./patch/Makefile ] || exit 0; \
19173 r=`${PWD_COMMAND}`; export r; \
19174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19175 $(HOST_EXPORTS) \
19176 for flag in $(EXTRA_HOST_FLAGS) ; do \
19177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19178 done; \
19179 echo "Doing dvi in patch" ; \
19180 (cd $(HOST_SUBDIR)/patch && \
19181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19183 "RANLIB=$${RANLIB}" \
19184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19185 dvi) \
19186 || exit 1
19188 @endif patch
19190 .PHONY: maybe-html-patch html-patch
19191 maybe-html-patch:
19192 @if patch
19193 maybe-html-patch: html-patch
19195 html-patch: \
19196 configure-patch
19197 @$(unstage)
19198 @[ -f ./patch/Makefile ] || exit 0; \
19199 r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 $(HOST_EXPORTS) \
19202 for flag in $(EXTRA_HOST_FLAGS) ; do \
19203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19204 done; \
19205 echo "Doing html in patch" ; \
19206 (cd $(HOST_SUBDIR)/patch && \
19207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19209 "RANLIB=$${RANLIB}" \
19210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19211 html) \
19212 || exit 1
19214 @endif patch
19216 .PHONY: maybe-TAGS-patch TAGS-patch
19217 maybe-TAGS-patch:
19218 @if patch
19219 maybe-TAGS-patch: TAGS-patch
19221 TAGS-patch: \
19222 configure-patch
19223 @$(unstage)
19224 @[ -f ./patch/Makefile ] || exit 0; \
19225 r=`${PWD_COMMAND}`; export r; \
19226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19227 $(HOST_EXPORTS) \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19230 done; \
19231 echo "Doing TAGS in patch" ; \
19232 (cd $(HOST_SUBDIR)/patch && \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19235 "RANLIB=$${RANLIB}" \
19236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19237 TAGS) \
19238 || exit 1
19240 @endif patch
19242 .PHONY: maybe-install-info-patch install-info-patch
19243 maybe-install-info-patch:
19244 @if patch
19245 maybe-install-info-patch: install-info-patch
19247 install-info-patch: \
19248 configure-patch \
19249 info-patch
19250 @$(unstage)
19251 @[ -f ./patch/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(HOST_EXPORTS) \
19255 for flag in $(EXTRA_HOST_FLAGS) ; do \
19256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19257 done; \
19258 echo "Doing install-info in patch" ; \
19259 (cd $(HOST_SUBDIR)/patch && \
19260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19262 "RANLIB=$${RANLIB}" \
19263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19264 install-info) \
19265 || exit 1
19267 @endif patch
19269 .PHONY: maybe-installcheck-patch installcheck-patch
19270 maybe-installcheck-patch:
19271 @if patch
19272 maybe-installcheck-patch: installcheck-patch
19274 installcheck-patch: \
19275 configure-patch
19276 @$(unstage)
19277 @[ -f ./patch/Makefile ] || exit 0; \
19278 r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 $(HOST_EXPORTS) \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19283 done; \
19284 echo "Doing installcheck in patch" ; \
19285 (cd $(HOST_SUBDIR)/patch && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19290 installcheck) \
19291 || exit 1
19293 @endif patch
19295 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19296 maybe-mostlyclean-patch:
19297 @if patch
19298 maybe-mostlyclean-patch: mostlyclean-patch
19300 mostlyclean-patch:
19301 @$(unstage)
19302 @[ -f ./patch/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing mostlyclean in patch" ; \
19310 (cd $(HOST_SUBDIR)/patch && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19315 mostlyclean) \
19316 || exit 1
19318 @endif patch
19320 .PHONY: maybe-clean-patch clean-patch
19321 maybe-clean-patch:
19322 @if patch
19323 maybe-clean-patch: clean-patch
19325 clean-patch:
19326 @$(unstage)
19327 @[ -f ./patch/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19333 done; \
19334 echo "Doing clean in patch" ; \
19335 (cd $(HOST_SUBDIR)/patch && \
19336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19338 "RANLIB=$${RANLIB}" \
19339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19340 clean) \
19341 || exit 1
19343 @endif patch
19345 .PHONY: maybe-distclean-patch distclean-patch
19346 maybe-distclean-patch:
19347 @if patch
19348 maybe-distclean-patch: distclean-patch
19350 distclean-patch:
19351 @$(unstage)
19352 @[ -f ./patch/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing distclean in patch" ; \
19360 (cd $(HOST_SUBDIR)/patch && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19365 distclean) \
19366 || exit 1
19368 @endif patch
19370 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19371 maybe-maintainer-clean-patch:
19372 @if patch
19373 maybe-maintainer-clean-patch: maintainer-clean-patch
19375 maintainer-clean-patch:
19376 @$(unstage)
19377 @[ -f ./patch/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(HOST_EXPORTS) \
19381 for flag in $(EXTRA_HOST_FLAGS) ; do \
19382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19383 done; \
19384 echo "Doing maintainer-clean in patch" ; \
19385 (cd $(HOST_SUBDIR)/patch && \
19386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19388 "RANLIB=$${RANLIB}" \
19389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19390 maintainer-clean) \
19391 || exit 1
19393 @endif patch
19397 .PHONY: configure-perl maybe-configure-perl
19398 maybe-configure-perl:
19399 @if perl
19400 maybe-configure-perl: configure-perl
19401 configure-perl:
19402 @$(unstage)
19403 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 echo Configuring in $(HOST_SUBDIR)/perl; \
19409 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19410 case $(srcdir) in \
19411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19412 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19414 esac; \
19415 srcdiroption="--srcdir=$${topdir}/perl"; \
19416 libsrcdir="$$s/perl"; \
19417 $(SHELL) $${libsrcdir}/configure \
19418 $(HOST_CONFIGARGS) $${srcdiroption} \
19419 || exit 1
19420 @endif perl
19426 .PHONY: all-perl maybe-all-perl
19427 maybe-all-perl:
19428 @if perl
19429 TARGET-perl=all
19430 maybe-all-perl: all-perl
19431 all-perl: configure-perl
19432 @$(unstage)
19433 @r=`${PWD_COMMAND}`; export r; \
19434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19435 $(HOST_EXPORTS) \
19436 (cd $(HOST_SUBDIR)/perl && \
19437 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19438 @endif perl
19443 .PHONY: check-perl maybe-check-perl
19444 maybe-check-perl:
19445 @if perl
19446 maybe-check-perl: check-perl
19448 check-perl:
19449 @$(unstage)
19450 @r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 $(HOST_EXPORTS) \
19453 (cd $(HOST_SUBDIR)/perl && \
19454 $(MAKE) $(FLAGS_TO_PASS) check)
19456 @endif perl
19458 .PHONY: install-perl maybe-install-perl
19459 maybe-install-perl:
19460 @if perl
19461 maybe-install-perl: install-perl
19463 install-perl: installdirs
19464 @$(unstage)
19465 @r=`${PWD_COMMAND}`; export r; \
19466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19467 $(HOST_EXPORTS) \
19468 (cd $(HOST_SUBDIR)/perl && \
19469 $(MAKE) $(FLAGS_TO_PASS) install)
19471 @endif perl
19473 # Other targets (info, dvi, etc.)
19475 .PHONY: maybe-info-perl info-perl
19476 maybe-info-perl:
19477 @if perl
19478 maybe-info-perl: info-perl
19480 info-perl: \
19481 configure-perl
19482 @$(unstage)
19483 @[ -f ./perl/Makefile ] || exit 0; \
19484 r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19486 $(HOST_EXPORTS) \
19487 for flag in $(EXTRA_HOST_FLAGS) ; do \
19488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19489 done; \
19490 echo "Doing info in perl" ; \
19491 (cd $(HOST_SUBDIR)/perl && \
19492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19494 "RANLIB=$${RANLIB}" \
19495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19496 info) \
19497 || exit 1
19499 @endif perl
19501 .PHONY: maybe-dvi-perl dvi-perl
19502 maybe-dvi-perl:
19503 @if perl
19504 maybe-dvi-perl: dvi-perl
19506 dvi-perl: \
19507 configure-perl
19508 @$(unstage)
19509 @[ -f ./perl/Makefile ] || exit 0; \
19510 r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512 $(HOST_EXPORTS) \
19513 for flag in $(EXTRA_HOST_FLAGS) ; do \
19514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19515 done; \
19516 echo "Doing dvi in perl" ; \
19517 (cd $(HOST_SUBDIR)/perl && \
19518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19520 "RANLIB=$${RANLIB}" \
19521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19522 dvi) \
19523 || exit 1
19525 @endif perl
19527 .PHONY: maybe-html-perl html-perl
19528 maybe-html-perl:
19529 @if perl
19530 maybe-html-perl: html-perl
19532 html-perl: \
19533 configure-perl
19534 @$(unstage)
19535 @[ -f ./perl/Makefile ] || exit 0; \
19536 r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19538 $(HOST_EXPORTS) \
19539 for flag in $(EXTRA_HOST_FLAGS) ; do \
19540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19541 done; \
19542 echo "Doing html in perl" ; \
19543 (cd $(HOST_SUBDIR)/perl && \
19544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19546 "RANLIB=$${RANLIB}" \
19547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19548 html) \
19549 || exit 1
19551 @endif perl
19553 .PHONY: maybe-TAGS-perl TAGS-perl
19554 maybe-TAGS-perl:
19555 @if perl
19556 maybe-TAGS-perl: TAGS-perl
19558 TAGS-perl: \
19559 configure-perl
19560 @$(unstage)
19561 @[ -f ./perl/Makefile ] || exit 0; \
19562 r=`${PWD_COMMAND}`; export r; \
19563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19564 $(HOST_EXPORTS) \
19565 for flag in $(EXTRA_HOST_FLAGS) ; do \
19566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19567 done; \
19568 echo "Doing TAGS in perl" ; \
19569 (cd $(HOST_SUBDIR)/perl && \
19570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19572 "RANLIB=$${RANLIB}" \
19573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19574 TAGS) \
19575 || exit 1
19577 @endif perl
19579 .PHONY: maybe-install-info-perl install-info-perl
19580 maybe-install-info-perl:
19581 @if perl
19582 maybe-install-info-perl: install-info-perl
19584 install-info-perl: \
19585 configure-perl \
19586 info-perl
19587 @$(unstage)
19588 @[ -f ./perl/Makefile ] || exit 0; \
19589 r=`${PWD_COMMAND}`; export r; \
19590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19591 $(HOST_EXPORTS) \
19592 for flag in $(EXTRA_HOST_FLAGS) ; do \
19593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19594 done; \
19595 echo "Doing install-info in perl" ; \
19596 (cd $(HOST_SUBDIR)/perl && \
19597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19599 "RANLIB=$${RANLIB}" \
19600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19601 install-info) \
19602 || exit 1
19604 @endif perl
19606 .PHONY: maybe-installcheck-perl installcheck-perl
19607 maybe-installcheck-perl:
19608 @if perl
19609 maybe-installcheck-perl: installcheck-perl
19611 installcheck-perl: \
19612 configure-perl
19613 @$(unstage)
19614 @[ -f ./perl/Makefile ] || exit 0; \
19615 r=`${PWD_COMMAND}`; export r; \
19616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19617 $(HOST_EXPORTS) \
19618 for flag in $(EXTRA_HOST_FLAGS) ; do \
19619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19620 done; \
19621 echo "Doing installcheck in perl" ; \
19622 (cd $(HOST_SUBDIR)/perl && \
19623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19625 "RANLIB=$${RANLIB}" \
19626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19627 installcheck) \
19628 || exit 1
19630 @endif perl
19632 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
19633 maybe-mostlyclean-perl:
19634 @if perl
19635 maybe-mostlyclean-perl: mostlyclean-perl
19637 mostlyclean-perl:
19638 @$(unstage)
19639 @[ -f ./perl/Makefile ] || exit 0; \
19640 r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19642 $(HOST_EXPORTS) \
19643 for flag in $(EXTRA_HOST_FLAGS) ; do \
19644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19645 done; \
19646 echo "Doing mostlyclean in perl" ; \
19647 (cd $(HOST_SUBDIR)/perl && \
19648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19650 "RANLIB=$${RANLIB}" \
19651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19652 mostlyclean) \
19653 || exit 1
19655 @endif perl
19657 .PHONY: maybe-clean-perl clean-perl
19658 maybe-clean-perl:
19659 @if perl
19660 maybe-clean-perl: clean-perl
19662 clean-perl:
19663 @$(unstage)
19664 @[ -f ./perl/Makefile ] || exit 0; \
19665 r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 $(HOST_EXPORTS) \
19668 for flag in $(EXTRA_HOST_FLAGS) ; do \
19669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19670 done; \
19671 echo "Doing clean in perl" ; \
19672 (cd $(HOST_SUBDIR)/perl && \
19673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19675 "RANLIB=$${RANLIB}" \
19676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19677 clean) \
19678 || exit 1
19680 @endif perl
19682 .PHONY: maybe-distclean-perl distclean-perl
19683 maybe-distclean-perl:
19684 @if perl
19685 maybe-distclean-perl: distclean-perl
19687 distclean-perl:
19688 @$(unstage)
19689 @[ -f ./perl/Makefile ] || exit 0; \
19690 r=`${PWD_COMMAND}`; export r; \
19691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19692 $(HOST_EXPORTS) \
19693 for flag in $(EXTRA_HOST_FLAGS) ; do \
19694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19695 done; \
19696 echo "Doing distclean in perl" ; \
19697 (cd $(HOST_SUBDIR)/perl && \
19698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19700 "RANLIB=$${RANLIB}" \
19701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19702 distclean) \
19703 || exit 1
19705 @endif perl
19707 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
19708 maybe-maintainer-clean-perl:
19709 @if perl
19710 maybe-maintainer-clean-perl: maintainer-clean-perl
19712 maintainer-clean-perl:
19713 @$(unstage)
19714 @[ -f ./perl/Makefile ] || exit 0; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717 $(HOST_EXPORTS) \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19720 done; \
19721 echo "Doing maintainer-clean in perl" ; \
19722 (cd $(HOST_SUBDIR)/perl && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19727 maintainer-clean) \
19728 || exit 1
19730 @endif perl
19734 .PHONY: configure-prms maybe-configure-prms
19735 maybe-configure-prms:
19736 @if prms
19737 maybe-configure-prms: configure-prms
19738 configure-prms:
19739 @$(unstage)
19740 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
19741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
19742 r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 $(HOST_EXPORTS) \
19745 echo Configuring in $(HOST_SUBDIR)/prms; \
19746 cd "$(HOST_SUBDIR)/prms" || exit 1; \
19747 case $(srcdir) in \
19748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19749 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
19750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19751 esac; \
19752 srcdiroption="--srcdir=$${topdir}/prms"; \
19753 libsrcdir="$$s/prms"; \
19754 $(SHELL) $${libsrcdir}/configure \
19755 $(HOST_CONFIGARGS) $${srcdiroption} \
19756 || exit 1
19757 @endif prms
19763 .PHONY: all-prms maybe-all-prms
19764 maybe-all-prms:
19765 @if prms
19766 TARGET-prms=all
19767 maybe-all-prms: all-prms
19768 all-prms: configure-prms
19769 @$(unstage)
19770 @r=`${PWD_COMMAND}`; export r; \
19771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19772 $(HOST_EXPORTS) \
19773 (cd $(HOST_SUBDIR)/prms && \
19774 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19775 @endif prms
19780 .PHONY: check-prms maybe-check-prms
19781 maybe-check-prms:
19782 @if prms
19783 maybe-check-prms: check-prms
19785 check-prms:
19786 @$(unstage)
19787 @r=`${PWD_COMMAND}`; export r; \
19788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19789 $(HOST_EXPORTS) \
19790 (cd $(HOST_SUBDIR)/prms && \
19791 $(MAKE) $(FLAGS_TO_PASS) check)
19793 @endif prms
19795 .PHONY: install-prms maybe-install-prms
19796 maybe-install-prms:
19797 @if prms
19798 maybe-install-prms: install-prms
19800 install-prms: installdirs
19801 @$(unstage)
19802 @r=`${PWD_COMMAND}`; export r; \
19803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19804 $(HOST_EXPORTS) \
19805 (cd $(HOST_SUBDIR)/prms && \
19806 $(MAKE) $(FLAGS_TO_PASS) install)
19808 @endif prms
19810 # Other targets (info, dvi, etc.)
19812 .PHONY: maybe-info-prms info-prms
19813 maybe-info-prms:
19814 @if prms
19815 maybe-info-prms: info-prms
19817 info-prms: \
19818 configure-prms
19819 @$(unstage)
19820 @[ -f ./prms/Makefile ] || exit 0; \
19821 r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19823 $(HOST_EXPORTS) \
19824 for flag in $(EXTRA_HOST_FLAGS) ; do \
19825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19826 done; \
19827 echo "Doing info in prms" ; \
19828 (cd $(HOST_SUBDIR)/prms && \
19829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19831 "RANLIB=$${RANLIB}" \
19832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19833 info) \
19834 || exit 1
19836 @endif prms
19838 .PHONY: maybe-dvi-prms dvi-prms
19839 maybe-dvi-prms:
19840 @if prms
19841 maybe-dvi-prms: dvi-prms
19843 dvi-prms: \
19844 configure-prms
19845 @$(unstage)
19846 @[ -f ./prms/Makefile ] || exit 0; \
19847 r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19849 $(HOST_EXPORTS) \
19850 for flag in $(EXTRA_HOST_FLAGS) ; do \
19851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19852 done; \
19853 echo "Doing dvi in prms" ; \
19854 (cd $(HOST_SUBDIR)/prms && \
19855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19857 "RANLIB=$${RANLIB}" \
19858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19859 dvi) \
19860 || exit 1
19862 @endif prms
19864 .PHONY: maybe-html-prms html-prms
19865 maybe-html-prms:
19866 @if prms
19867 maybe-html-prms: html-prms
19869 html-prms: \
19870 configure-prms
19871 @$(unstage)
19872 @[ -f ./prms/Makefile ] || exit 0; \
19873 r=`${PWD_COMMAND}`; export r; \
19874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19875 $(HOST_EXPORTS) \
19876 for flag in $(EXTRA_HOST_FLAGS) ; do \
19877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19878 done; \
19879 echo "Doing html in prms" ; \
19880 (cd $(HOST_SUBDIR)/prms && \
19881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19883 "RANLIB=$${RANLIB}" \
19884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19885 html) \
19886 || exit 1
19888 @endif prms
19890 .PHONY: maybe-TAGS-prms TAGS-prms
19891 maybe-TAGS-prms:
19892 @if prms
19893 maybe-TAGS-prms: TAGS-prms
19895 TAGS-prms: \
19896 configure-prms
19897 @$(unstage)
19898 @[ -f ./prms/Makefile ] || exit 0; \
19899 r=`${PWD_COMMAND}`; export r; \
19900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19901 $(HOST_EXPORTS) \
19902 for flag in $(EXTRA_HOST_FLAGS) ; do \
19903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19904 done; \
19905 echo "Doing TAGS in prms" ; \
19906 (cd $(HOST_SUBDIR)/prms && \
19907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19909 "RANLIB=$${RANLIB}" \
19910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19911 TAGS) \
19912 || exit 1
19914 @endif prms
19916 .PHONY: maybe-install-info-prms install-info-prms
19917 maybe-install-info-prms:
19918 @if prms
19919 maybe-install-info-prms: install-info-prms
19921 install-info-prms: \
19922 configure-prms \
19923 info-prms
19924 @$(unstage)
19925 @[ -f ./prms/Makefile ] || exit 0; \
19926 r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 $(HOST_EXPORTS) \
19929 for flag in $(EXTRA_HOST_FLAGS) ; do \
19930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19931 done; \
19932 echo "Doing install-info in prms" ; \
19933 (cd $(HOST_SUBDIR)/prms && \
19934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19936 "RANLIB=$${RANLIB}" \
19937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19938 install-info) \
19939 || exit 1
19941 @endif prms
19943 .PHONY: maybe-installcheck-prms installcheck-prms
19944 maybe-installcheck-prms:
19945 @if prms
19946 maybe-installcheck-prms: installcheck-prms
19948 installcheck-prms: \
19949 configure-prms
19950 @$(unstage)
19951 @[ -f ./prms/Makefile ] || exit 0; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 $(HOST_EXPORTS) \
19955 for flag in $(EXTRA_HOST_FLAGS) ; do \
19956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19957 done; \
19958 echo "Doing installcheck in prms" ; \
19959 (cd $(HOST_SUBDIR)/prms && \
19960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19962 "RANLIB=$${RANLIB}" \
19963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19964 installcheck) \
19965 || exit 1
19967 @endif prms
19969 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19970 maybe-mostlyclean-prms:
19971 @if prms
19972 maybe-mostlyclean-prms: mostlyclean-prms
19974 mostlyclean-prms:
19975 @$(unstage)
19976 @[ -f ./prms/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(HOST_EXPORTS) \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982 done; \
19983 echo "Doing mostlyclean in prms" ; \
19984 (cd $(HOST_SUBDIR)/prms && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989 mostlyclean) \
19990 || exit 1
19992 @endif prms
19994 .PHONY: maybe-clean-prms clean-prms
19995 maybe-clean-prms:
19996 @if prms
19997 maybe-clean-prms: clean-prms
19999 clean-prms:
20000 @$(unstage)
20001 @[ -f ./prms/Makefile ] || exit 0; \
20002 r=`${PWD_COMMAND}`; export r; \
20003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20004 $(HOST_EXPORTS) \
20005 for flag in $(EXTRA_HOST_FLAGS) ; do \
20006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20007 done; \
20008 echo "Doing clean in prms" ; \
20009 (cd $(HOST_SUBDIR)/prms && \
20010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20012 "RANLIB=$${RANLIB}" \
20013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20014 clean) \
20015 || exit 1
20017 @endif prms
20019 .PHONY: maybe-distclean-prms distclean-prms
20020 maybe-distclean-prms:
20021 @if prms
20022 maybe-distclean-prms: distclean-prms
20024 distclean-prms:
20025 @$(unstage)
20026 @[ -f ./prms/Makefile ] || exit 0; \
20027 r=`${PWD_COMMAND}`; export r; \
20028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20029 $(HOST_EXPORTS) \
20030 for flag in $(EXTRA_HOST_FLAGS) ; do \
20031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20032 done; \
20033 echo "Doing distclean in prms" ; \
20034 (cd $(HOST_SUBDIR)/prms && \
20035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20037 "RANLIB=$${RANLIB}" \
20038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20039 distclean) \
20040 || exit 1
20042 @endif prms
20044 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20045 maybe-maintainer-clean-prms:
20046 @if prms
20047 maybe-maintainer-clean-prms: maintainer-clean-prms
20049 maintainer-clean-prms:
20050 @$(unstage)
20051 @[ -f ./prms/Makefile ] || exit 0; \
20052 r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 $(HOST_EXPORTS) \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20057 done; \
20058 echo "Doing maintainer-clean in prms" ; \
20059 (cd $(HOST_SUBDIR)/prms && \
20060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20062 "RANLIB=$${RANLIB}" \
20063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20064 maintainer-clean) \
20065 || exit 1
20067 @endif prms
20071 .PHONY: configure-rcs maybe-configure-rcs
20072 maybe-configure-rcs:
20073 @if rcs
20074 maybe-configure-rcs: configure-rcs
20075 configure-rcs:
20076 @$(unstage)
20077 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20079 r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 $(HOST_EXPORTS) \
20082 echo Configuring in $(HOST_SUBDIR)/rcs; \
20083 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20084 case $(srcdir) in \
20085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20086 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20088 esac; \
20089 srcdiroption="--srcdir=$${topdir}/rcs"; \
20090 libsrcdir="$$s/rcs"; \
20091 $(SHELL) $${libsrcdir}/configure \
20092 $(HOST_CONFIGARGS) $${srcdiroption} \
20093 || exit 1
20094 @endif rcs
20100 .PHONY: all-rcs maybe-all-rcs
20101 maybe-all-rcs:
20102 @if rcs
20103 TARGET-rcs=all
20104 maybe-all-rcs: all-rcs
20105 all-rcs: configure-rcs
20106 @$(unstage)
20107 @r=`${PWD_COMMAND}`; export r; \
20108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20109 $(HOST_EXPORTS) \
20110 (cd $(HOST_SUBDIR)/rcs && \
20111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20112 @endif rcs
20117 .PHONY: check-rcs maybe-check-rcs
20118 maybe-check-rcs:
20119 @if rcs
20120 maybe-check-rcs: check-rcs
20122 check-rcs:
20123 @$(unstage)
20124 @r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 (cd $(HOST_SUBDIR)/rcs && \
20128 $(MAKE) $(FLAGS_TO_PASS) check)
20130 @endif rcs
20132 .PHONY: install-rcs maybe-install-rcs
20133 maybe-install-rcs:
20134 @if rcs
20135 maybe-install-rcs: install-rcs
20137 install-rcs: installdirs
20138 @$(unstage)
20139 @r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20141 $(HOST_EXPORTS) \
20142 (cd $(HOST_SUBDIR)/rcs && \
20143 $(MAKE) $(FLAGS_TO_PASS) install)
20145 @endif rcs
20147 # Other targets (info, dvi, etc.)
20149 .PHONY: maybe-info-rcs info-rcs
20150 maybe-info-rcs:
20151 @if rcs
20152 maybe-info-rcs: info-rcs
20154 info-rcs: \
20155 configure-rcs
20156 @$(unstage)
20157 @[ -f ./rcs/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 $(HOST_EXPORTS) \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 done; \
20164 echo "Doing info in rcs" ; \
20165 (cd $(HOST_SUBDIR)/rcs && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20170 info) \
20171 || exit 1
20173 @endif rcs
20175 .PHONY: maybe-dvi-rcs dvi-rcs
20176 maybe-dvi-rcs:
20177 @if rcs
20178 maybe-dvi-rcs: dvi-rcs
20180 dvi-rcs: \
20181 configure-rcs
20182 @$(unstage)
20183 @[ -f ./rcs/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 $(HOST_EXPORTS) \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20189 done; \
20190 echo "Doing dvi in rcs" ; \
20191 (cd $(HOST_SUBDIR)/rcs && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20194 "RANLIB=$${RANLIB}" \
20195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20196 dvi) \
20197 || exit 1
20199 @endif rcs
20201 .PHONY: maybe-html-rcs html-rcs
20202 maybe-html-rcs:
20203 @if rcs
20204 maybe-html-rcs: html-rcs
20206 html-rcs: \
20207 configure-rcs
20208 @$(unstage)
20209 @[ -f ./rcs/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing html in rcs" ; \
20217 (cd $(HOST_SUBDIR)/rcs && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20222 html) \
20223 || exit 1
20225 @endif rcs
20227 .PHONY: maybe-TAGS-rcs TAGS-rcs
20228 maybe-TAGS-rcs:
20229 @if rcs
20230 maybe-TAGS-rcs: TAGS-rcs
20232 TAGS-rcs: \
20233 configure-rcs
20234 @$(unstage)
20235 @[ -f ./rcs/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 $(HOST_EXPORTS) \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 done; \
20242 echo "Doing TAGS in rcs" ; \
20243 (cd $(HOST_SUBDIR)/rcs && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20248 TAGS) \
20249 || exit 1
20251 @endif rcs
20253 .PHONY: maybe-install-info-rcs install-info-rcs
20254 maybe-install-info-rcs:
20255 @if rcs
20256 maybe-install-info-rcs: install-info-rcs
20258 install-info-rcs: \
20259 configure-rcs \
20260 info-rcs
20261 @$(unstage)
20262 @[ -f ./rcs/Makefile ] || exit 0; \
20263 r=`${PWD_COMMAND}`; export r; \
20264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20265 $(HOST_EXPORTS) \
20266 for flag in $(EXTRA_HOST_FLAGS) ; do \
20267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20268 done; \
20269 echo "Doing install-info in rcs" ; \
20270 (cd $(HOST_SUBDIR)/rcs && \
20271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20273 "RANLIB=$${RANLIB}" \
20274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20275 install-info) \
20276 || exit 1
20278 @endif rcs
20280 .PHONY: maybe-installcheck-rcs installcheck-rcs
20281 maybe-installcheck-rcs:
20282 @if rcs
20283 maybe-installcheck-rcs: installcheck-rcs
20285 installcheck-rcs: \
20286 configure-rcs
20287 @$(unstage)
20288 @[ -f ./rcs/Makefile ] || exit 0; \
20289 r=`${PWD_COMMAND}`; export r; \
20290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20291 $(HOST_EXPORTS) \
20292 for flag in $(EXTRA_HOST_FLAGS) ; do \
20293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20294 done; \
20295 echo "Doing installcheck in rcs" ; \
20296 (cd $(HOST_SUBDIR)/rcs && \
20297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20299 "RANLIB=$${RANLIB}" \
20300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20301 installcheck) \
20302 || exit 1
20304 @endif rcs
20306 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20307 maybe-mostlyclean-rcs:
20308 @if rcs
20309 maybe-mostlyclean-rcs: mostlyclean-rcs
20311 mostlyclean-rcs:
20312 @$(unstage)
20313 @[ -f ./rcs/Makefile ] || exit 0; \
20314 r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20316 $(HOST_EXPORTS) \
20317 for flag in $(EXTRA_HOST_FLAGS) ; do \
20318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20319 done; \
20320 echo "Doing mostlyclean in rcs" ; \
20321 (cd $(HOST_SUBDIR)/rcs && \
20322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20324 "RANLIB=$${RANLIB}" \
20325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20326 mostlyclean) \
20327 || exit 1
20329 @endif rcs
20331 .PHONY: maybe-clean-rcs clean-rcs
20332 maybe-clean-rcs:
20333 @if rcs
20334 maybe-clean-rcs: clean-rcs
20336 clean-rcs:
20337 @$(unstage)
20338 @[ -f ./rcs/Makefile ] || exit 0; \
20339 r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20341 $(HOST_EXPORTS) \
20342 for flag in $(EXTRA_HOST_FLAGS) ; do \
20343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20344 done; \
20345 echo "Doing clean in rcs" ; \
20346 (cd $(HOST_SUBDIR)/rcs && \
20347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20349 "RANLIB=$${RANLIB}" \
20350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20351 clean) \
20352 || exit 1
20354 @endif rcs
20356 .PHONY: maybe-distclean-rcs distclean-rcs
20357 maybe-distclean-rcs:
20358 @if rcs
20359 maybe-distclean-rcs: distclean-rcs
20361 distclean-rcs:
20362 @$(unstage)
20363 @[ -f ./rcs/Makefile ] || exit 0; \
20364 r=`${PWD_COMMAND}`; export r; \
20365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20366 $(HOST_EXPORTS) \
20367 for flag in $(EXTRA_HOST_FLAGS) ; do \
20368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20369 done; \
20370 echo "Doing distclean in rcs" ; \
20371 (cd $(HOST_SUBDIR)/rcs && \
20372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20374 "RANLIB=$${RANLIB}" \
20375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20376 distclean) \
20377 || exit 1
20379 @endif rcs
20381 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20382 maybe-maintainer-clean-rcs:
20383 @if rcs
20384 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20386 maintainer-clean-rcs:
20387 @$(unstage)
20388 @[ -f ./rcs/Makefile ] || exit 0; \
20389 r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 $(HOST_EXPORTS) \
20392 for flag in $(EXTRA_HOST_FLAGS) ; do \
20393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20394 done; \
20395 echo "Doing maintainer-clean in rcs" ; \
20396 (cd $(HOST_SUBDIR)/rcs && \
20397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20399 "RANLIB=$${RANLIB}" \
20400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20401 maintainer-clean) \
20402 || exit 1
20404 @endif rcs
20408 .PHONY: configure-readline maybe-configure-readline
20409 maybe-configure-readline:
20410 @if readline
20411 maybe-configure-readline: configure-readline
20412 configure-readline:
20413 @$(unstage)
20414 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20416 r=`${PWD_COMMAND}`; export r; \
20417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 $(HOST_EXPORTS) \
20419 echo Configuring in $(HOST_SUBDIR)/readline; \
20420 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20421 case $(srcdir) in \
20422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20423 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20425 esac; \
20426 srcdiroption="--srcdir=$${topdir}/readline"; \
20427 libsrcdir="$$s/readline"; \
20428 $(SHELL) $${libsrcdir}/configure \
20429 $(HOST_CONFIGARGS) $${srcdiroption} \
20430 || exit 1
20431 @endif readline
20437 .PHONY: all-readline maybe-all-readline
20438 maybe-all-readline:
20439 @if readline
20440 TARGET-readline=all
20441 maybe-all-readline: all-readline
20442 all-readline: configure-readline
20443 @$(unstage)
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 $(HOST_EXPORTS) \
20447 (cd $(HOST_SUBDIR)/readline && \
20448 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20449 @endif readline
20454 .PHONY: check-readline maybe-check-readline
20455 maybe-check-readline:
20456 @if readline
20457 maybe-check-readline: check-readline
20459 check-readline:
20460 @$(unstage)
20461 @r=`${PWD_COMMAND}`; export r; \
20462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 $(HOST_EXPORTS) \
20464 (cd $(HOST_SUBDIR)/readline && \
20465 $(MAKE) $(FLAGS_TO_PASS) check)
20467 @endif readline
20469 .PHONY: install-readline maybe-install-readline
20470 maybe-install-readline:
20471 @if readline
20472 maybe-install-readline: install-readline
20474 install-readline: installdirs
20475 @$(unstage)
20476 @r=`${PWD_COMMAND}`; export r; \
20477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20478 $(HOST_EXPORTS) \
20479 (cd $(HOST_SUBDIR)/readline && \
20480 $(MAKE) $(FLAGS_TO_PASS) install)
20482 @endif readline
20484 # Other targets (info, dvi, etc.)
20486 .PHONY: maybe-info-readline info-readline
20487 maybe-info-readline:
20488 @if readline
20489 maybe-info-readline: info-readline
20491 info-readline: \
20492 configure-readline
20493 @$(unstage)
20494 @[ -f ./readline/Makefile ] || exit 0; \
20495 r=`${PWD_COMMAND}`; export r; \
20496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20497 $(HOST_EXPORTS) \
20498 for flag in $(EXTRA_HOST_FLAGS) ; do \
20499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20500 done; \
20501 echo "Doing info in readline" ; \
20502 (cd $(HOST_SUBDIR)/readline && \
20503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20505 "RANLIB=$${RANLIB}" \
20506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20507 info) \
20508 || exit 1
20510 @endif readline
20512 .PHONY: maybe-dvi-readline dvi-readline
20513 maybe-dvi-readline:
20514 @if readline
20515 maybe-dvi-readline: dvi-readline
20517 dvi-readline: \
20518 configure-readline
20519 @$(unstage)
20520 @[ -f ./readline/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20523 $(HOST_EXPORTS) \
20524 for flag in $(EXTRA_HOST_FLAGS) ; do \
20525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20526 done; \
20527 echo "Doing dvi in readline" ; \
20528 (cd $(HOST_SUBDIR)/readline && \
20529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20531 "RANLIB=$${RANLIB}" \
20532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20533 dvi) \
20534 || exit 1
20536 @endif readline
20538 .PHONY: maybe-html-readline html-readline
20539 maybe-html-readline:
20540 @if readline
20541 maybe-html-readline: html-readline
20543 html-readline: \
20544 configure-readline
20545 @$(unstage)
20546 @[ -f ./readline/Makefile ] || exit 0; \
20547 r=`${PWD_COMMAND}`; export r; \
20548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20549 $(HOST_EXPORTS) \
20550 for flag in $(EXTRA_HOST_FLAGS) ; do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20552 done; \
20553 echo "Doing html in readline" ; \
20554 (cd $(HOST_SUBDIR)/readline && \
20555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20557 "RANLIB=$${RANLIB}" \
20558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20559 html) \
20560 || exit 1
20562 @endif readline
20564 .PHONY: maybe-TAGS-readline TAGS-readline
20565 maybe-TAGS-readline:
20566 @if readline
20567 maybe-TAGS-readline: TAGS-readline
20569 TAGS-readline: \
20570 configure-readline
20571 @$(unstage)
20572 @[ -f ./readline/Makefile ] || exit 0; \
20573 r=`${PWD_COMMAND}`; export r; \
20574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20575 $(HOST_EXPORTS) \
20576 for flag in $(EXTRA_HOST_FLAGS) ; do \
20577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20578 done; \
20579 echo "Doing TAGS in readline" ; \
20580 (cd $(HOST_SUBDIR)/readline && \
20581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20583 "RANLIB=$${RANLIB}" \
20584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20585 TAGS) \
20586 || exit 1
20588 @endif readline
20590 .PHONY: maybe-install-info-readline install-info-readline
20591 maybe-install-info-readline:
20592 @if readline
20593 maybe-install-info-readline: install-info-readline
20595 install-info-readline: \
20596 configure-readline \
20597 info-readline
20598 @$(unstage)
20599 @[ -f ./readline/Makefile ] || exit 0; \
20600 r=`${PWD_COMMAND}`; export r; \
20601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20602 $(HOST_EXPORTS) \
20603 for flag in $(EXTRA_HOST_FLAGS) ; do \
20604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20605 done; \
20606 echo "Doing install-info in readline" ; \
20607 (cd $(HOST_SUBDIR)/readline && \
20608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20610 "RANLIB=$${RANLIB}" \
20611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20612 install-info) \
20613 || exit 1
20615 @endif readline
20617 .PHONY: maybe-installcheck-readline installcheck-readline
20618 maybe-installcheck-readline:
20619 @if readline
20620 maybe-installcheck-readline: installcheck-readline
20622 installcheck-readline: \
20623 configure-readline
20624 @$(unstage)
20625 @[ -f ./readline/Makefile ] || exit 0; \
20626 r=`${PWD_COMMAND}`; export r; \
20627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20628 $(HOST_EXPORTS) \
20629 for flag in $(EXTRA_HOST_FLAGS) ; do \
20630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20631 done; \
20632 echo "Doing installcheck in readline" ; \
20633 (cd $(HOST_SUBDIR)/readline && \
20634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20636 "RANLIB=$${RANLIB}" \
20637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20638 installcheck) \
20639 || exit 1
20641 @endif readline
20643 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
20644 maybe-mostlyclean-readline:
20645 @if readline
20646 maybe-mostlyclean-readline: mostlyclean-readline
20648 mostlyclean-readline:
20649 @$(unstage)
20650 @[ -f ./readline/Makefile ] || exit 0; \
20651 r=`${PWD_COMMAND}`; export r; \
20652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20653 $(HOST_EXPORTS) \
20654 for flag in $(EXTRA_HOST_FLAGS) ; do \
20655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20656 done; \
20657 echo "Doing mostlyclean in readline" ; \
20658 (cd $(HOST_SUBDIR)/readline && \
20659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20661 "RANLIB=$${RANLIB}" \
20662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20663 mostlyclean) \
20664 || exit 1
20666 @endif readline
20668 .PHONY: maybe-clean-readline clean-readline
20669 maybe-clean-readline:
20670 @if readline
20671 maybe-clean-readline: clean-readline
20673 clean-readline:
20674 @$(unstage)
20675 @[ -f ./readline/Makefile ] || exit 0; \
20676 r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 $(HOST_EXPORTS) \
20679 for flag in $(EXTRA_HOST_FLAGS) ; do \
20680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20681 done; \
20682 echo "Doing clean in readline" ; \
20683 (cd $(HOST_SUBDIR)/readline && \
20684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20686 "RANLIB=$${RANLIB}" \
20687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20688 clean) \
20689 || exit 1
20691 @endif readline
20693 .PHONY: maybe-distclean-readline distclean-readline
20694 maybe-distclean-readline:
20695 @if readline
20696 maybe-distclean-readline: distclean-readline
20698 distclean-readline:
20699 @$(unstage)
20700 @[ -f ./readline/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706 done; \
20707 echo "Doing distclean in readline" ; \
20708 (cd $(HOST_SUBDIR)/readline && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20711 "RANLIB=$${RANLIB}" \
20712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20713 distclean) \
20714 || exit 1
20716 @endif readline
20718 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
20719 maybe-maintainer-clean-readline:
20720 @if readline
20721 maybe-maintainer-clean-readline: maintainer-clean-readline
20723 maintainer-clean-readline:
20724 @$(unstage)
20725 @[ -f ./readline/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing maintainer-clean in readline" ; \
20733 (cd $(HOST_SUBDIR)/readline && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 maintainer-clean) \
20739 || exit 1
20741 @endif readline
20745 .PHONY: configure-release maybe-configure-release
20746 maybe-configure-release:
20747 @if release
20748 maybe-configure-release: configure-release
20749 configure-release:
20750 @$(unstage)
20751 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
20752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
20753 r=`${PWD_COMMAND}`; export r; \
20754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20755 $(HOST_EXPORTS) \
20756 echo Configuring in $(HOST_SUBDIR)/release; \
20757 cd "$(HOST_SUBDIR)/release" || exit 1; \
20758 case $(srcdir) in \
20759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20760 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
20761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20762 esac; \
20763 srcdiroption="--srcdir=$${topdir}/release"; \
20764 libsrcdir="$$s/release"; \
20765 $(SHELL) $${libsrcdir}/configure \
20766 $(HOST_CONFIGARGS) $${srcdiroption} \
20767 || exit 1
20768 @endif release
20774 .PHONY: all-release maybe-all-release
20775 maybe-all-release:
20776 @if release
20777 TARGET-release=all
20778 maybe-all-release: all-release
20779 all-release: configure-release
20780 @$(unstage)
20781 @r=`${PWD_COMMAND}`; export r; \
20782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20783 $(HOST_EXPORTS) \
20784 (cd $(HOST_SUBDIR)/release && \
20785 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
20786 @endif release
20791 .PHONY: check-release maybe-check-release
20792 maybe-check-release:
20793 @if release
20794 maybe-check-release: check-release
20796 check-release:
20798 @endif release
20800 .PHONY: install-release maybe-install-release
20801 maybe-install-release:
20802 @if release
20803 maybe-install-release: install-release
20805 install-release:
20807 @endif release
20809 # Other targets (info, dvi, etc.)
20811 .PHONY: maybe-info-release info-release
20812 maybe-info-release:
20813 @if release
20814 maybe-info-release: info-release
20816 info-release: \
20817 configure-release
20818 @$(unstage)
20819 @[ -f ./release/Makefile ] || exit 0; \
20820 r=`${PWD_COMMAND}`; export r; \
20821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20822 $(HOST_EXPORTS) \
20823 for flag in $(EXTRA_HOST_FLAGS) ; do \
20824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20825 done; \
20826 echo "Doing info in release" ; \
20827 (cd $(HOST_SUBDIR)/release && \
20828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20830 "RANLIB=$${RANLIB}" \
20831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20832 info) \
20833 || exit 1
20835 @endif release
20837 .PHONY: maybe-dvi-release dvi-release
20838 maybe-dvi-release:
20839 @if release
20840 maybe-dvi-release: dvi-release
20842 dvi-release: \
20843 configure-release
20844 @$(unstage)
20845 @[ -f ./release/Makefile ] || exit 0; \
20846 r=`${PWD_COMMAND}`; export r; \
20847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20848 $(HOST_EXPORTS) \
20849 for flag in $(EXTRA_HOST_FLAGS) ; do \
20850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20851 done; \
20852 echo "Doing dvi in release" ; \
20853 (cd $(HOST_SUBDIR)/release && \
20854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20856 "RANLIB=$${RANLIB}" \
20857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20858 dvi) \
20859 || exit 1
20861 @endif release
20863 .PHONY: maybe-html-release html-release
20864 maybe-html-release:
20865 @if release
20866 maybe-html-release: html-release
20868 html-release: \
20869 configure-release
20870 @$(unstage)
20871 @[ -f ./release/Makefile ] || exit 0; \
20872 r=`${PWD_COMMAND}`; export r; \
20873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20874 $(HOST_EXPORTS) \
20875 for flag in $(EXTRA_HOST_FLAGS) ; do \
20876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20877 done; \
20878 echo "Doing html in release" ; \
20879 (cd $(HOST_SUBDIR)/release && \
20880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20882 "RANLIB=$${RANLIB}" \
20883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20884 html) \
20885 || exit 1
20887 @endif release
20889 .PHONY: maybe-TAGS-release TAGS-release
20890 maybe-TAGS-release:
20891 @if release
20892 maybe-TAGS-release: TAGS-release
20894 TAGS-release: \
20895 configure-release
20896 @$(unstage)
20897 @[ -f ./release/Makefile ] || exit 0; \
20898 r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 $(HOST_EXPORTS) \
20901 for flag in $(EXTRA_HOST_FLAGS) ; do \
20902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20903 done; \
20904 echo "Doing TAGS in release" ; \
20905 (cd $(HOST_SUBDIR)/release && \
20906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20908 "RANLIB=$${RANLIB}" \
20909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20910 TAGS) \
20911 || exit 1
20913 @endif release
20915 .PHONY: maybe-install-info-release install-info-release
20916 maybe-install-info-release:
20917 @if release
20918 maybe-install-info-release: install-info-release
20920 install-info-release: \
20921 configure-release \
20922 info-release
20923 @$(unstage)
20924 @[ -f ./release/Makefile ] || exit 0; \
20925 r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20927 $(HOST_EXPORTS) \
20928 for flag in $(EXTRA_HOST_FLAGS) ; do \
20929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20930 done; \
20931 echo "Doing install-info in release" ; \
20932 (cd $(HOST_SUBDIR)/release && \
20933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20935 "RANLIB=$${RANLIB}" \
20936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20937 install-info) \
20938 || exit 1
20940 @endif release
20942 .PHONY: maybe-installcheck-release installcheck-release
20943 maybe-installcheck-release:
20944 @if release
20945 maybe-installcheck-release: installcheck-release
20947 installcheck-release: \
20948 configure-release
20949 @$(unstage)
20950 @[ -f ./release/Makefile ] || exit 0; \
20951 r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953 $(HOST_EXPORTS) \
20954 for flag in $(EXTRA_HOST_FLAGS) ; do \
20955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20956 done; \
20957 echo "Doing installcheck in release" ; \
20958 (cd $(HOST_SUBDIR)/release && \
20959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20961 "RANLIB=$${RANLIB}" \
20962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20963 installcheck) \
20964 || exit 1
20966 @endif release
20968 .PHONY: maybe-mostlyclean-release mostlyclean-release
20969 maybe-mostlyclean-release:
20970 @if release
20971 maybe-mostlyclean-release: mostlyclean-release
20973 mostlyclean-release:
20974 @$(unstage)
20975 @[ -f ./release/Makefile ] || exit 0; \
20976 r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20978 $(HOST_EXPORTS) \
20979 for flag in $(EXTRA_HOST_FLAGS) ; do \
20980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20981 done; \
20982 echo "Doing mostlyclean in release" ; \
20983 (cd $(HOST_SUBDIR)/release && \
20984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20986 "RANLIB=$${RANLIB}" \
20987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20988 mostlyclean) \
20989 || exit 1
20991 @endif release
20993 .PHONY: maybe-clean-release clean-release
20994 maybe-clean-release:
20995 @if release
20996 maybe-clean-release: clean-release
20998 clean-release:
20999 @$(unstage)
21000 @[ -f ./release/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(HOST_EXPORTS) \
21004 for flag in $(EXTRA_HOST_FLAGS) ; do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006 done; \
21007 echo "Doing clean in release" ; \
21008 (cd $(HOST_SUBDIR)/release && \
21009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011 "RANLIB=$${RANLIB}" \
21012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21013 clean) \
21014 || exit 1
21016 @endif release
21018 .PHONY: maybe-distclean-release distclean-release
21019 maybe-distclean-release:
21020 @if release
21021 maybe-distclean-release: distclean-release
21023 distclean-release:
21024 @$(unstage)
21025 @[ -f ./release/Makefile ] || exit 0; \
21026 r=`${PWD_COMMAND}`; export r; \
21027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21028 $(HOST_EXPORTS) \
21029 for flag in $(EXTRA_HOST_FLAGS) ; do \
21030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21031 done; \
21032 echo "Doing distclean in release" ; \
21033 (cd $(HOST_SUBDIR)/release && \
21034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21036 "RANLIB=$${RANLIB}" \
21037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21038 distclean) \
21039 || exit 1
21041 @endif release
21043 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21044 maybe-maintainer-clean-release:
21045 @if release
21046 maybe-maintainer-clean-release: maintainer-clean-release
21048 maintainer-clean-release:
21049 @$(unstage)
21050 @[ -f ./release/Makefile ] || exit 0; \
21051 r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053 $(HOST_EXPORTS) \
21054 for flag in $(EXTRA_HOST_FLAGS) ; do \
21055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21056 done; \
21057 echo "Doing maintainer-clean in release" ; \
21058 (cd $(HOST_SUBDIR)/release && \
21059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21061 "RANLIB=$${RANLIB}" \
21062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21063 maintainer-clean) \
21064 || exit 1
21066 @endif release
21070 .PHONY: configure-recode maybe-configure-recode
21071 maybe-configure-recode:
21072 @if recode
21073 maybe-configure-recode: configure-recode
21074 configure-recode:
21075 @$(unstage)
21076 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21078 r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 $(HOST_EXPORTS) \
21081 echo Configuring in $(HOST_SUBDIR)/recode; \
21082 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21083 case $(srcdir) in \
21084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21085 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21087 esac; \
21088 srcdiroption="--srcdir=$${topdir}/recode"; \
21089 libsrcdir="$$s/recode"; \
21090 $(SHELL) $${libsrcdir}/configure \
21091 $(HOST_CONFIGARGS) $${srcdiroption} \
21092 || exit 1
21093 @endif recode
21099 .PHONY: all-recode maybe-all-recode
21100 maybe-all-recode:
21101 @if recode
21102 TARGET-recode=all
21103 maybe-all-recode: all-recode
21104 all-recode: configure-recode
21105 @$(unstage)
21106 @r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(HOST_EXPORTS) \
21109 (cd $(HOST_SUBDIR)/recode && \
21110 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21111 @endif recode
21116 .PHONY: check-recode maybe-check-recode
21117 maybe-check-recode:
21118 @if recode
21119 maybe-check-recode: check-recode
21121 check-recode:
21122 @$(unstage)
21123 @r=`${PWD_COMMAND}`; export r; \
21124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21125 $(HOST_EXPORTS) \
21126 (cd $(HOST_SUBDIR)/recode && \
21127 $(MAKE) $(FLAGS_TO_PASS) check)
21129 @endif recode
21131 .PHONY: install-recode maybe-install-recode
21132 maybe-install-recode:
21133 @if recode
21134 maybe-install-recode: install-recode
21136 install-recode: installdirs
21137 @$(unstage)
21138 @r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21140 $(HOST_EXPORTS) \
21141 (cd $(HOST_SUBDIR)/recode && \
21142 $(MAKE) $(FLAGS_TO_PASS) install)
21144 @endif recode
21146 # Other targets (info, dvi, etc.)
21148 .PHONY: maybe-info-recode info-recode
21149 maybe-info-recode:
21150 @if recode
21151 maybe-info-recode: info-recode
21153 info-recode: \
21154 configure-recode
21155 @$(unstage)
21156 @[ -f ./recode/Makefile ] || exit 0; \
21157 r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21159 $(HOST_EXPORTS) \
21160 for flag in $(EXTRA_HOST_FLAGS) ; do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21162 done; \
21163 echo "Doing info in recode" ; \
21164 (cd $(HOST_SUBDIR)/recode && \
21165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21167 "RANLIB=$${RANLIB}" \
21168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21169 info) \
21170 || exit 1
21172 @endif recode
21174 .PHONY: maybe-dvi-recode dvi-recode
21175 maybe-dvi-recode:
21176 @if recode
21177 maybe-dvi-recode: dvi-recode
21179 dvi-recode: \
21180 configure-recode
21181 @$(unstage)
21182 @[ -f ./recode/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 $(HOST_EXPORTS) \
21186 for flag in $(EXTRA_HOST_FLAGS) ; do \
21187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21188 done; \
21189 echo "Doing dvi in recode" ; \
21190 (cd $(HOST_SUBDIR)/recode && \
21191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193 "RANLIB=$${RANLIB}" \
21194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21195 dvi) \
21196 || exit 1
21198 @endif recode
21200 .PHONY: maybe-html-recode html-recode
21201 maybe-html-recode:
21202 @if recode
21203 maybe-html-recode: html-recode
21205 html-recode: \
21206 configure-recode
21207 @$(unstage)
21208 @[ -f ./recode/Makefile ] || exit 0; \
21209 r=`${PWD_COMMAND}`; export r; \
21210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21211 $(HOST_EXPORTS) \
21212 for flag in $(EXTRA_HOST_FLAGS) ; do \
21213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21214 done; \
21215 echo "Doing html in recode" ; \
21216 (cd $(HOST_SUBDIR)/recode && \
21217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21219 "RANLIB=$${RANLIB}" \
21220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21221 html) \
21222 || exit 1
21224 @endif recode
21226 .PHONY: maybe-TAGS-recode TAGS-recode
21227 maybe-TAGS-recode:
21228 @if recode
21229 maybe-TAGS-recode: TAGS-recode
21231 TAGS-recode: \
21232 configure-recode
21233 @$(unstage)
21234 @[ -f ./recode/Makefile ] || exit 0; \
21235 r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 $(HOST_EXPORTS) \
21238 for flag in $(EXTRA_HOST_FLAGS) ; do \
21239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21240 done; \
21241 echo "Doing TAGS in recode" ; \
21242 (cd $(HOST_SUBDIR)/recode && \
21243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21245 "RANLIB=$${RANLIB}" \
21246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21247 TAGS) \
21248 || exit 1
21250 @endif recode
21252 .PHONY: maybe-install-info-recode install-info-recode
21253 maybe-install-info-recode:
21254 @if recode
21255 maybe-install-info-recode: install-info-recode
21257 install-info-recode: \
21258 configure-recode \
21259 info-recode
21260 @$(unstage)
21261 @[ -f ./recode/Makefile ] || exit 0; \
21262 r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264 $(HOST_EXPORTS) \
21265 for flag in $(EXTRA_HOST_FLAGS) ; do \
21266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21267 done; \
21268 echo "Doing install-info in recode" ; \
21269 (cd $(HOST_SUBDIR)/recode && \
21270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21272 "RANLIB=$${RANLIB}" \
21273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21274 install-info) \
21275 || exit 1
21277 @endif recode
21279 .PHONY: maybe-installcheck-recode installcheck-recode
21280 maybe-installcheck-recode:
21281 @if recode
21282 maybe-installcheck-recode: installcheck-recode
21284 installcheck-recode: \
21285 configure-recode
21286 @$(unstage)
21287 @[ -f ./recode/Makefile ] || exit 0; \
21288 r=`${PWD_COMMAND}`; export r; \
21289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21290 $(HOST_EXPORTS) \
21291 for flag in $(EXTRA_HOST_FLAGS) ; do \
21292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21293 done; \
21294 echo "Doing installcheck in recode" ; \
21295 (cd $(HOST_SUBDIR)/recode && \
21296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21298 "RANLIB=$${RANLIB}" \
21299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21300 installcheck) \
21301 || exit 1
21303 @endif recode
21305 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21306 maybe-mostlyclean-recode:
21307 @if recode
21308 maybe-mostlyclean-recode: mostlyclean-recode
21310 mostlyclean-recode:
21311 @$(unstage)
21312 @[ -f ./recode/Makefile ] || exit 0; \
21313 r=`${PWD_COMMAND}`; export r; \
21314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21315 $(HOST_EXPORTS) \
21316 for flag in $(EXTRA_HOST_FLAGS) ; do \
21317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21318 done; \
21319 echo "Doing mostlyclean in recode" ; \
21320 (cd $(HOST_SUBDIR)/recode && \
21321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21323 "RANLIB=$${RANLIB}" \
21324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21325 mostlyclean) \
21326 || exit 1
21328 @endif recode
21330 .PHONY: maybe-clean-recode clean-recode
21331 maybe-clean-recode:
21332 @if recode
21333 maybe-clean-recode: clean-recode
21335 clean-recode:
21336 @$(unstage)
21337 @[ -f ./recode/Makefile ] || exit 0; \
21338 r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 $(HOST_EXPORTS) \
21341 for flag in $(EXTRA_HOST_FLAGS) ; do \
21342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21343 done; \
21344 echo "Doing clean in recode" ; \
21345 (cd $(HOST_SUBDIR)/recode && \
21346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21348 "RANLIB=$${RANLIB}" \
21349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21350 clean) \
21351 || exit 1
21353 @endif recode
21355 .PHONY: maybe-distclean-recode distclean-recode
21356 maybe-distclean-recode:
21357 @if recode
21358 maybe-distclean-recode: distclean-recode
21360 distclean-recode:
21361 @$(unstage)
21362 @[ -f ./recode/Makefile ] || exit 0; \
21363 r=`${PWD_COMMAND}`; export r; \
21364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21365 $(HOST_EXPORTS) \
21366 for flag in $(EXTRA_HOST_FLAGS) ; do \
21367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21368 done; \
21369 echo "Doing distclean in recode" ; \
21370 (cd $(HOST_SUBDIR)/recode && \
21371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21373 "RANLIB=$${RANLIB}" \
21374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21375 distclean) \
21376 || exit 1
21378 @endif recode
21380 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21381 maybe-maintainer-clean-recode:
21382 @if recode
21383 maybe-maintainer-clean-recode: maintainer-clean-recode
21385 maintainer-clean-recode:
21386 @$(unstage)
21387 @[ -f ./recode/Makefile ] || exit 0; \
21388 r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 $(HOST_EXPORTS) \
21391 for flag in $(EXTRA_HOST_FLAGS) ; do \
21392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21393 done; \
21394 echo "Doing maintainer-clean in recode" ; \
21395 (cd $(HOST_SUBDIR)/recode && \
21396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21398 "RANLIB=$${RANLIB}" \
21399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21400 maintainer-clean) \
21401 || exit 1
21403 @endif recode
21407 .PHONY: configure-sed maybe-configure-sed
21408 maybe-configure-sed:
21409 @if sed
21410 maybe-configure-sed: configure-sed
21411 configure-sed:
21412 @$(unstage)
21413 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21415 r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 $(HOST_EXPORTS) \
21418 echo Configuring in $(HOST_SUBDIR)/sed; \
21419 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21420 case $(srcdir) in \
21421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21422 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21424 esac; \
21425 srcdiroption="--srcdir=$${topdir}/sed"; \
21426 libsrcdir="$$s/sed"; \
21427 $(SHELL) $${libsrcdir}/configure \
21428 $(HOST_CONFIGARGS) $${srcdiroption} \
21429 || exit 1
21430 @endif sed
21436 .PHONY: all-sed maybe-all-sed
21437 maybe-all-sed:
21438 @if sed
21439 TARGET-sed=all
21440 maybe-all-sed: all-sed
21441 all-sed: configure-sed
21442 @$(unstage)
21443 @r=`${PWD_COMMAND}`; export r; \
21444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21445 $(HOST_EXPORTS) \
21446 (cd $(HOST_SUBDIR)/sed && \
21447 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21448 @endif sed
21453 .PHONY: check-sed maybe-check-sed
21454 maybe-check-sed:
21455 @if sed
21456 maybe-check-sed: check-sed
21458 check-sed:
21459 @$(unstage)
21460 @r=`${PWD_COMMAND}`; export r; \
21461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21462 $(HOST_EXPORTS) \
21463 (cd $(HOST_SUBDIR)/sed && \
21464 $(MAKE) $(FLAGS_TO_PASS) check)
21466 @endif sed
21468 .PHONY: install-sed maybe-install-sed
21469 maybe-install-sed:
21470 @if sed
21471 maybe-install-sed: install-sed
21473 install-sed: installdirs
21474 @$(unstage)
21475 @r=`${PWD_COMMAND}`; export r; \
21476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21477 $(HOST_EXPORTS) \
21478 (cd $(HOST_SUBDIR)/sed && \
21479 $(MAKE) $(FLAGS_TO_PASS) install)
21481 @endif sed
21483 # Other targets (info, dvi, etc.)
21485 .PHONY: maybe-info-sed info-sed
21486 maybe-info-sed:
21487 @if sed
21488 maybe-info-sed: info-sed
21490 info-sed: \
21491 configure-sed
21492 @$(unstage)
21493 @[ -f ./sed/Makefile ] || exit 0; \
21494 r=`${PWD_COMMAND}`; export r; \
21495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21496 $(HOST_EXPORTS) \
21497 for flag in $(EXTRA_HOST_FLAGS) ; do \
21498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21499 done; \
21500 echo "Doing info in sed" ; \
21501 (cd $(HOST_SUBDIR)/sed && \
21502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21504 "RANLIB=$${RANLIB}" \
21505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21506 info) \
21507 || exit 1
21509 @endif sed
21511 .PHONY: maybe-dvi-sed dvi-sed
21512 maybe-dvi-sed:
21513 @if sed
21514 maybe-dvi-sed: dvi-sed
21516 dvi-sed: \
21517 configure-sed
21518 @$(unstage)
21519 @[ -f ./sed/Makefile ] || exit 0; \
21520 r=`${PWD_COMMAND}`; export r; \
21521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21522 $(HOST_EXPORTS) \
21523 for flag in $(EXTRA_HOST_FLAGS) ; do \
21524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21525 done; \
21526 echo "Doing dvi in sed" ; \
21527 (cd $(HOST_SUBDIR)/sed && \
21528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21530 "RANLIB=$${RANLIB}" \
21531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21532 dvi) \
21533 || exit 1
21535 @endif sed
21537 .PHONY: maybe-html-sed html-sed
21538 maybe-html-sed:
21539 @if sed
21540 maybe-html-sed: html-sed
21542 html-sed: \
21543 configure-sed
21544 @$(unstage)
21545 @[ -f ./sed/Makefile ] || exit 0; \
21546 r=`${PWD_COMMAND}`; export r; \
21547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21548 $(HOST_EXPORTS) \
21549 for flag in $(EXTRA_HOST_FLAGS) ; do \
21550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21551 done; \
21552 echo "Doing html in sed" ; \
21553 (cd $(HOST_SUBDIR)/sed && \
21554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21556 "RANLIB=$${RANLIB}" \
21557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21558 html) \
21559 || exit 1
21561 @endif sed
21563 .PHONY: maybe-TAGS-sed TAGS-sed
21564 maybe-TAGS-sed:
21565 @if sed
21566 maybe-TAGS-sed: TAGS-sed
21568 TAGS-sed: \
21569 configure-sed
21570 @$(unstage)
21571 @[ -f ./sed/Makefile ] || exit 0; \
21572 r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21574 $(HOST_EXPORTS) \
21575 for flag in $(EXTRA_HOST_FLAGS) ; do \
21576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21577 done; \
21578 echo "Doing TAGS in sed" ; \
21579 (cd $(HOST_SUBDIR)/sed && \
21580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21582 "RANLIB=$${RANLIB}" \
21583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21584 TAGS) \
21585 || exit 1
21587 @endif sed
21589 .PHONY: maybe-install-info-sed install-info-sed
21590 maybe-install-info-sed:
21591 @if sed
21592 maybe-install-info-sed: install-info-sed
21594 install-info-sed: \
21595 configure-sed \
21596 info-sed
21597 @$(unstage)
21598 @[ -f ./sed/Makefile ] || exit 0; \
21599 r=`${PWD_COMMAND}`; export r; \
21600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21601 $(HOST_EXPORTS) \
21602 for flag in $(EXTRA_HOST_FLAGS) ; do \
21603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21604 done; \
21605 echo "Doing install-info in sed" ; \
21606 (cd $(HOST_SUBDIR)/sed && \
21607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21609 "RANLIB=$${RANLIB}" \
21610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21611 install-info) \
21612 || exit 1
21614 @endif sed
21616 .PHONY: maybe-installcheck-sed installcheck-sed
21617 maybe-installcheck-sed:
21618 @if sed
21619 maybe-installcheck-sed: installcheck-sed
21621 installcheck-sed: \
21622 configure-sed
21623 @$(unstage)
21624 @[ -f ./sed/Makefile ] || exit 0; \
21625 r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21627 $(HOST_EXPORTS) \
21628 for flag in $(EXTRA_HOST_FLAGS) ; do \
21629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21630 done; \
21631 echo "Doing installcheck in sed" ; \
21632 (cd $(HOST_SUBDIR)/sed && \
21633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21635 "RANLIB=$${RANLIB}" \
21636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21637 installcheck) \
21638 || exit 1
21640 @endif sed
21642 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
21643 maybe-mostlyclean-sed:
21644 @if sed
21645 maybe-mostlyclean-sed: mostlyclean-sed
21647 mostlyclean-sed:
21648 @$(unstage)
21649 @[ -f ./sed/Makefile ] || exit 0; \
21650 r=`${PWD_COMMAND}`; export r; \
21651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21652 $(HOST_EXPORTS) \
21653 for flag in $(EXTRA_HOST_FLAGS) ; do \
21654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21655 done; \
21656 echo "Doing mostlyclean in sed" ; \
21657 (cd $(HOST_SUBDIR)/sed && \
21658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21660 "RANLIB=$${RANLIB}" \
21661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21662 mostlyclean) \
21663 || exit 1
21665 @endif sed
21667 .PHONY: maybe-clean-sed clean-sed
21668 maybe-clean-sed:
21669 @if sed
21670 maybe-clean-sed: clean-sed
21672 clean-sed:
21673 @$(unstage)
21674 @[ -f ./sed/Makefile ] || exit 0; \
21675 r=`${PWD_COMMAND}`; export r; \
21676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21677 $(HOST_EXPORTS) \
21678 for flag in $(EXTRA_HOST_FLAGS) ; do \
21679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21680 done; \
21681 echo "Doing clean in sed" ; \
21682 (cd $(HOST_SUBDIR)/sed && \
21683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21685 "RANLIB=$${RANLIB}" \
21686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21687 clean) \
21688 || exit 1
21690 @endif sed
21692 .PHONY: maybe-distclean-sed distclean-sed
21693 maybe-distclean-sed:
21694 @if sed
21695 maybe-distclean-sed: distclean-sed
21697 distclean-sed:
21698 @$(unstage)
21699 @[ -f ./sed/Makefile ] || exit 0; \
21700 r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21702 $(HOST_EXPORTS) \
21703 for flag in $(EXTRA_HOST_FLAGS) ; do \
21704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21705 done; \
21706 echo "Doing distclean in sed" ; \
21707 (cd $(HOST_SUBDIR)/sed && \
21708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21710 "RANLIB=$${RANLIB}" \
21711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21712 distclean) \
21713 || exit 1
21715 @endif sed
21717 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
21718 maybe-maintainer-clean-sed:
21719 @if sed
21720 maybe-maintainer-clean-sed: maintainer-clean-sed
21722 maintainer-clean-sed:
21723 @$(unstage)
21724 @[ -f ./sed/Makefile ] || exit 0; \
21725 r=`${PWD_COMMAND}`; export r; \
21726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21727 $(HOST_EXPORTS) \
21728 for flag in $(EXTRA_HOST_FLAGS) ; do \
21729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21730 done; \
21731 echo "Doing maintainer-clean in sed" ; \
21732 (cd $(HOST_SUBDIR)/sed && \
21733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21735 "RANLIB=$${RANLIB}" \
21736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21737 maintainer-clean) \
21738 || exit 1
21740 @endif sed
21744 .PHONY: configure-send-pr maybe-configure-send-pr
21745 maybe-configure-send-pr:
21746 @if send-pr
21747 maybe-configure-send-pr: configure-send-pr
21748 configure-send-pr:
21749 @$(unstage)
21750 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
21751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 echo Configuring in $(HOST_SUBDIR)/send-pr; \
21756 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
21757 case $(srcdir) in \
21758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21759 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
21760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21761 esac; \
21762 srcdiroption="--srcdir=$${topdir}/send-pr"; \
21763 libsrcdir="$$s/send-pr"; \
21764 $(SHELL) $${libsrcdir}/configure \
21765 $(HOST_CONFIGARGS) $${srcdiroption} \
21766 || exit 1
21767 @endif send-pr
21773 .PHONY: all-send-pr maybe-all-send-pr
21774 maybe-all-send-pr:
21775 @if send-pr
21776 TARGET-send-pr=all
21777 maybe-all-send-pr: all-send-pr
21778 all-send-pr: configure-send-pr
21779 @$(unstage)
21780 @r=`${PWD_COMMAND}`; export r; \
21781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21782 $(HOST_EXPORTS) \
21783 (cd $(HOST_SUBDIR)/send-pr && \
21784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
21785 @endif send-pr
21790 .PHONY: check-send-pr maybe-check-send-pr
21791 maybe-check-send-pr:
21792 @if send-pr
21793 maybe-check-send-pr: check-send-pr
21795 check-send-pr:
21796 @$(unstage)
21797 @r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 $(HOST_EXPORTS) \
21800 (cd $(HOST_SUBDIR)/send-pr && \
21801 $(MAKE) $(FLAGS_TO_PASS) check)
21803 @endif send-pr
21805 .PHONY: install-send-pr maybe-install-send-pr
21806 maybe-install-send-pr:
21807 @if send-pr
21808 maybe-install-send-pr: install-send-pr
21810 install-send-pr: installdirs
21811 @$(unstage)
21812 @r=`${PWD_COMMAND}`; export r; \
21813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21814 $(HOST_EXPORTS) \
21815 (cd $(HOST_SUBDIR)/send-pr && \
21816 $(MAKE) $(FLAGS_TO_PASS) install)
21818 @endif send-pr
21820 # Other targets (info, dvi, etc.)
21822 .PHONY: maybe-info-send-pr info-send-pr
21823 maybe-info-send-pr:
21824 @if send-pr
21825 maybe-info-send-pr: info-send-pr
21827 info-send-pr: \
21828 configure-send-pr
21829 @$(unstage)
21830 @[ -f ./send-pr/Makefile ] || exit 0; \
21831 r=`${PWD_COMMAND}`; export r; \
21832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21833 $(HOST_EXPORTS) \
21834 for flag in $(EXTRA_HOST_FLAGS) ; do \
21835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21836 done; \
21837 echo "Doing info in send-pr" ; \
21838 (cd $(HOST_SUBDIR)/send-pr && \
21839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21841 "RANLIB=$${RANLIB}" \
21842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21843 info) \
21844 || exit 1
21846 @endif send-pr
21848 .PHONY: maybe-dvi-send-pr dvi-send-pr
21849 maybe-dvi-send-pr:
21850 @if send-pr
21851 maybe-dvi-send-pr: dvi-send-pr
21853 dvi-send-pr: \
21854 configure-send-pr
21855 @$(unstage)
21856 @[ -f ./send-pr/Makefile ] || exit 0; \
21857 r=`${PWD_COMMAND}`; export r; \
21858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21859 $(HOST_EXPORTS) \
21860 for flag in $(EXTRA_HOST_FLAGS) ; do \
21861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21862 done; \
21863 echo "Doing dvi in send-pr" ; \
21864 (cd $(HOST_SUBDIR)/send-pr && \
21865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21867 "RANLIB=$${RANLIB}" \
21868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21869 dvi) \
21870 || exit 1
21872 @endif send-pr
21874 .PHONY: maybe-html-send-pr html-send-pr
21875 maybe-html-send-pr:
21876 @if send-pr
21877 maybe-html-send-pr: html-send-pr
21879 html-send-pr: \
21880 configure-send-pr
21881 @$(unstage)
21882 @[ -f ./send-pr/Makefile ] || exit 0; \
21883 r=`${PWD_COMMAND}`; export r; \
21884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21885 $(HOST_EXPORTS) \
21886 for flag in $(EXTRA_HOST_FLAGS) ; do \
21887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21888 done; \
21889 echo "Doing html in send-pr" ; \
21890 (cd $(HOST_SUBDIR)/send-pr && \
21891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21893 "RANLIB=$${RANLIB}" \
21894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21895 html) \
21896 || exit 1
21898 @endif send-pr
21900 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21901 maybe-TAGS-send-pr:
21902 @if send-pr
21903 maybe-TAGS-send-pr: TAGS-send-pr
21905 TAGS-send-pr: \
21906 configure-send-pr
21907 @$(unstage)
21908 @[ -f ./send-pr/Makefile ] || exit 0; \
21909 r=`${PWD_COMMAND}`; export r; \
21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21911 $(HOST_EXPORTS) \
21912 for flag in $(EXTRA_HOST_FLAGS) ; do \
21913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21914 done; \
21915 echo "Doing TAGS in send-pr" ; \
21916 (cd $(HOST_SUBDIR)/send-pr && \
21917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21919 "RANLIB=$${RANLIB}" \
21920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21921 TAGS) \
21922 || exit 1
21924 @endif send-pr
21926 .PHONY: maybe-install-info-send-pr install-info-send-pr
21927 maybe-install-info-send-pr:
21928 @if send-pr
21929 maybe-install-info-send-pr: install-info-send-pr
21931 install-info-send-pr: \
21932 configure-send-pr \
21933 info-send-pr
21934 @$(unstage)
21935 @[ -f ./send-pr/Makefile ] || exit 0; \
21936 r=`${PWD_COMMAND}`; export r; \
21937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21938 $(HOST_EXPORTS) \
21939 for flag in $(EXTRA_HOST_FLAGS) ; do \
21940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21941 done; \
21942 echo "Doing install-info in send-pr" ; \
21943 (cd $(HOST_SUBDIR)/send-pr && \
21944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21946 "RANLIB=$${RANLIB}" \
21947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21948 install-info) \
21949 || exit 1
21951 @endif send-pr
21953 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21954 maybe-installcheck-send-pr:
21955 @if send-pr
21956 maybe-installcheck-send-pr: installcheck-send-pr
21958 installcheck-send-pr: \
21959 configure-send-pr
21960 @$(unstage)
21961 @[ -f ./send-pr/Makefile ] || exit 0; \
21962 r=`${PWD_COMMAND}`; export r; \
21963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21964 $(HOST_EXPORTS) \
21965 for flag in $(EXTRA_HOST_FLAGS) ; do \
21966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21967 done; \
21968 echo "Doing installcheck in send-pr" ; \
21969 (cd $(HOST_SUBDIR)/send-pr && \
21970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21972 "RANLIB=$${RANLIB}" \
21973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21974 installcheck) \
21975 || exit 1
21977 @endif send-pr
21979 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21980 maybe-mostlyclean-send-pr:
21981 @if send-pr
21982 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21984 mostlyclean-send-pr:
21985 @$(unstage)
21986 @[ -f ./send-pr/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 $(HOST_EXPORTS) \
21990 for flag in $(EXTRA_HOST_FLAGS) ; do \
21991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21992 done; \
21993 echo "Doing mostlyclean in send-pr" ; \
21994 (cd $(HOST_SUBDIR)/send-pr && \
21995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21997 "RANLIB=$${RANLIB}" \
21998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21999 mostlyclean) \
22000 || exit 1
22002 @endif send-pr
22004 .PHONY: maybe-clean-send-pr clean-send-pr
22005 maybe-clean-send-pr:
22006 @if send-pr
22007 maybe-clean-send-pr: clean-send-pr
22009 clean-send-pr:
22010 @$(unstage)
22011 @[ -f ./send-pr/Makefile ] || exit 0; \
22012 r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 $(HOST_EXPORTS) \
22015 for flag in $(EXTRA_HOST_FLAGS) ; do \
22016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22017 done; \
22018 echo "Doing clean in send-pr" ; \
22019 (cd $(HOST_SUBDIR)/send-pr && \
22020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22022 "RANLIB=$${RANLIB}" \
22023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22024 clean) \
22025 || exit 1
22027 @endif send-pr
22029 .PHONY: maybe-distclean-send-pr distclean-send-pr
22030 maybe-distclean-send-pr:
22031 @if send-pr
22032 maybe-distclean-send-pr: distclean-send-pr
22034 distclean-send-pr:
22035 @$(unstage)
22036 @[ -f ./send-pr/Makefile ] || exit 0; \
22037 r=`${PWD_COMMAND}`; export r; \
22038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22039 $(HOST_EXPORTS) \
22040 for flag in $(EXTRA_HOST_FLAGS) ; do \
22041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22042 done; \
22043 echo "Doing distclean in send-pr" ; \
22044 (cd $(HOST_SUBDIR)/send-pr && \
22045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22047 "RANLIB=$${RANLIB}" \
22048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22049 distclean) \
22050 || exit 1
22052 @endif send-pr
22054 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22055 maybe-maintainer-clean-send-pr:
22056 @if send-pr
22057 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22059 maintainer-clean-send-pr:
22060 @$(unstage)
22061 @[ -f ./send-pr/Makefile ] || exit 0; \
22062 r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22064 $(HOST_EXPORTS) \
22065 for flag in $(EXTRA_HOST_FLAGS) ; do \
22066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22067 done; \
22068 echo "Doing maintainer-clean in send-pr" ; \
22069 (cd $(HOST_SUBDIR)/send-pr && \
22070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22072 "RANLIB=$${RANLIB}" \
22073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22074 maintainer-clean) \
22075 || exit 1
22077 @endif send-pr
22081 .PHONY: configure-shellutils maybe-configure-shellutils
22082 maybe-configure-shellutils:
22083 @if shellutils
22084 maybe-configure-shellutils: configure-shellutils
22085 configure-shellutils:
22086 @$(unstage)
22087 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22089 r=`${PWD_COMMAND}`; export r; \
22090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22091 $(HOST_EXPORTS) \
22092 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22093 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22094 case $(srcdir) in \
22095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22096 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22098 esac; \
22099 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22100 libsrcdir="$$s/shellutils"; \
22101 $(SHELL) $${libsrcdir}/configure \
22102 $(HOST_CONFIGARGS) $${srcdiroption} \
22103 || exit 1
22104 @endif shellutils
22110 .PHONY: all-shellutils maybe-all-shellutils
22111 maybe-all-shellutils:
22112 @if shellutils
22113 TARGET-shellutils=all
22114 maybe-all-shellutils: all-shellutils
22115 all-shellutils: configure-shellutils
22116 @$(unstage)
22117 @r=`${PWD_COMMAND}`; export r; \
22118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22119 $(HOST_EXPORTS) \
22120 (cd $(HOST_SUBDIR)/shellutils && \
22121 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22122 @endif shellutils
22127 .PHONY: check-shellutils maybe-check-shellutils
22128 maybe-check-shellutils:
22129 @if shellutils
22130 maybe-check-shellutils: check-shellutils
22132 check-shellutils:
22133 @$(unstage)
22134 @r=`${PWD_COMMAND}`; export r; \
22135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22136 $(HOST_EXPORTS) \
22137 (cd $(HOST_SUBDIR)/shellutils && \
22138 $(MAKE) $(FLAGS_TO_PASS) check)
22140 @endif shellutils
22142 .PHONY: install-shellutils maybe-install-shellutils
22143 maybe-install-shellutils:
22144 @if shellutils
22145 maybe-install-shellutils: install-shellutils
22147 install-shellutils: installdirs
22148 @$(unstage)
22149 @r=`${PWD_COMMAND}`; export r; \
22150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22151 $(HOST_EXPORTS) \
22152 (cd $(HOST_SUBDIR)/shellutils && \
22153 $(MAKE) $(FLAGS_TO_PASS) install)
22155 @endif shellutils
22157 # Other targets (info, dvi, etc.)
22159 .PHONY: maybe-info-shellutils info-shellutils
22160 maybe-info-shellutils:
22161 @if shellutils
22162 maybe-info-shellutils: info-shellutils
22164 info-shellutils: \
22165 configure-shellutils
22166 @$(unstage)
22167 @[ -f ./shellutils/Makefile ] || exit 0; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170 $(HOST_EXPORTS) \
22171 for flag in $(EXTRA_HOST_FLAGS) ; do \
22172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22173 done; \
22174 echo "Doing info in shellutils" ; \
22175 (cd $(HOST_SUBDIR)/shellutils && \
22176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22178 "RANLIB=$${RANLIB}" \
22179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22180 info) \
22181 || exit 1
22183 @endif shellutils
22185 .PHONY: maybe-dvi-shellutils dvi-shellutils
22186 maybe-dvi-shellutils:
22187 @if shellutils
22188 maybe-dvi-shellutils: dvi-shellutils
22190 dvi-shellutils: \
22191 configure-shellutils
22192 @$(unstage)
22193 @[ -f ./shellutils/Makefile ] || exit 0; \
22194 r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22196 $(HOST_EXPORTS) \
22197 for flag in $(EXTRA_HOST_FLAGS) ; do \
22198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22199 done; \
22200 echo "Doing dvi in shellutils" ; \
22201 (cd $(HOST_SUBDIR)/shellutils && \
22202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22204 "RANLIB=$${RANLIB}" \
22205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22206 dvi) \
22207 || exit 1
22209 @endif shellutils
22211 .PHONY: maybe-html-shellutils html-shellutils
22212 maybe-html-shellutils:
22213 @if shellutils
22214 maybe-html-shellutils: html-shellutils
22216 html-shellutils: \
22217 configure-shellutils
22218 @$(unstage)
22219 @[ -f ./shellutils/Makefile ] || exit 0; \
22220 r=`${PWD_COMMAND}`; export r; \
22221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22222 $(HOST_EXPORTS) \
22223 for flag in $(EXTRA_HOST_FLAGS) ; do \
22224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22225 done; \
22226 echo "Doing html in shellutils" ; \
22227 (cd $(HOST_SUBDIR)/shellutils && \
22228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22230 "RANLIB=$${RANLIB}" \
22231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22232 html) \
22233 || exit 1
22235 @endif shellutils
22237 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22238 maybe-TAGS-shellutils:
22239 @if shellutils
22240 maybe-TAGS-shellutils: TAGS-shellutils
22242 TAGS-shellutils: \
22243 configure-shellutils
22244 @$(unstage)
22245 @[ -f ./shellutils/Makefile ] || exit 0; \
22246 r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 $(HOST_EXPORTS) \
22249 for flag in $(EXTRA_HOST_FLAGS) ; do \
22250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22251 done; \
22252 echo "Doing TAGS in shellutils" ; \
22253 (cd $(HOST_SUBDIR)/shellutils && \
22254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22256 "RANLIB=$${RANLIB}" \
22257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22258 TAGS) \
22259 || exit 1
22261 @endif shellutils
22263 .PHONY: maybe-install-info-shellutils install-info-shellutils
22264 maybe-install-info-shellutils:
22265 @if shellutils
22266 maybe-install-info-shellutils: install-info-shellutils
22268 install-info-shellutils: \
22269 configure-shellutils \
22270 info-shellutils
22271 @$(unstage)
22272 @[ -f ./shellutils/Makefile ] || exit 0; \
22273 r=`${PWD_COMMAND}`; export r; \
22274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22275 $(HOST_EXPORTS) \
22276 for flag in $(EXTRA_HOST_FLAGS) ; do \
22277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22278 done; \
22279 echo "Doing install-info in shellutils" ; \
22280 (cd $(HOST_SUBDIR)/shellutils && \
22281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22283 "RANLIB=$${RANLIB}" \
22284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22285 install-info) \
22286 || exit 1
22288 @endif shellutils
22290 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22291 maybe-installcheck-shellutils:
22292 @if shellutils
22293 maybe-installcheck-shellutils: installcheck-shellutils
22295 installcheck-shellutils: \
22296 configure-shellutils
22297 @$(unstage)
22298 @[ -f ./shellutils/Makefile ] || exit 0; \
22299 r=`${PWD_COMMAND}`; export r; \
22300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22301 $(HOST_EXPORTS) \
22302 for flag in $(EXTRA_HOST_FLAGS) ; do \
22303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22304 done; \
22305 echo "Doing installcheck in shellutils" ; \
22306 (cd $(HOST_SUBDIR)/shellutils && \
22307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22309 "RANLIB=$${RANLIB}" \
22310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22311 installcheck) \
22312 || exit 1
22314 @endif shellutils
22316 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22317 maybe-mostlyclean-shellutils:
22318 @if shellutils
22319 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22321 mostlyclean-shellutils:
22322 @$(unstage)
22323 @[ -f ./shellutils/Makefile ] || exit 0; \
22324 r=`${PWD_COMMAND}`; export r; \
22325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22326 $(HOST_EXPORTS) \
22327 for flag in $(EXTRA_HOST_FLAGS) ; do \
22328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22329 done; \
22330 echo "Doing mostlyclean in shellutils" ; \
22331 (cd $(HOST_SUBDIR)/shellutils && \
22332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22334 "RANLIB=$${RANLIB}" \
22335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22336 mostlyclean) \
22337 || exit 1
22339 @endif shellutils
22341 .PHONY: maybe-clean-shellutils clean-shellutils
22342 maybe-clean-shellutils:
22343 @if shellutils
22344 maybe-clean-shellutils: clean-shellutils
22346 clean-shellutils:
22347 @$(unstage)
22348 @[ -f ./shellutils/Makefile ] || exit 0; \
22349 r=`${PWD_COMMAND}`; export r; \
22350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22351 $(HOST_EXPORTS) \
22352 for flag in $(EXTRA_HOST_FLAGS) ; do \
22353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22354 done; \
22355 echo "Doing clean in shellutils" ; \
22356 (cd $(HOST_SUBDIR)/shellutils && \
22357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22359 "RANLIB=$${RANLIB}" \
22360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22361 clean) \
22362 || exit 1
22364 @endif shellutils
22366 .PHONY: maybe-distclean-shellutils distclean-shellutils
22367 maybe-distclean-shellutils:
22368 @if shellutils
22369 maybe-distclean-shellutils: distclean-shellutils
22371 distclean-shellutils:
22372 @$(unstage)
22373 @[ -f ./shellutils/Makefile ] || exit 0; \
22374 r=`${PWD_COMMAND}`; export r; \
22375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22376 $(HOST_EXPORTS) \
22377 for flag in $(EXTRA_HOST_FLAGS) ; do \
22378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22379 done; \
22380 echo "Doing distclean in shellutils" ; \
22381 (cd $(HOST_SUBDIR)/shellutils && \
22382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22384 "RANLIB=$${RANLIB}" \
22385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22386 distclean) \
22387 || exit 1
22389 @endif shellutils
22391 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22392 maybe-maintainer-clean-shellutils:
22393 @if shellutils
22394 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22396 maintainer-clean-shellutils:
22397 @$(unstage)
22398 @[ -f ./shellutils/Makefile ] || exit 0; \
22399 r=`${PWD_COMMAND}`; export r; \
22400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22401 $(HOST_EXPORTS) \
22402 for flag in $(EXTRA_HOST_FLAGS) ; do \
22403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22404 done; \
22405 echo "Doing maintainer-clean in shellutils" ; \
22406 (cd $(HOST_SUBDIR)/shellutils && \
22407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22409 "RANLIB=$${RANLIB}" \
22410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22411 maintainer-clean) \
22412 || exit 1
22414 @endif shellutils
22418 .PHONY: configure-sid maybe-configure-sid
22419 maybe-configure-sid:
22420 @if sid
22421 maybe-configure-sid: configure-sid
22422 configure-sid:
22423 @$(unstage)
22424 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(HOST_EXPORTS) \
22429 echo Configuring in $(HOST_SUBDIR)/sid; \
22430 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22431 case $(srcdir) in \
22432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22433 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22435 esac; \
22436 srcdiroption="--srcdir=$${topdir}/sid"; \
22437 libsrcdir="$$s/sid"; \
22438 $(SHELL) $${libsrcdir}/configure \
22439 $(HOST_CONFIGARGS) $${srcdiroption} \
22440 || exit 1
22441 @endif sid
22447 .PHONY: all-sid maybe-all-sid
22448 maybe-all-sid:
22449 @if sid
22450 TARGET-sid=all
22451 maybe-all-sid: all-sid
22452 all-sid: configure-sid
22453 @$(unstage)
22454 @r=`${PWD_COMMAND}`; export r; \
22455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22456 $(HOST_EXPORTS) \
22457 (cd $(HOST_SUBDIR)/sid && \
22458 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22459 @endif sid
22464 .PHONY: check-sid maybe-check-sid
22465 maybe-check-sid:
22466 @if sid
22467 maybe-check-sid: check-sid
22469 check-sid:
22470 @$(unstage)
22471 @r=`${PWD_COMMAND}`; export r; \
22472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22473 $(HOST_EXPORTS) \
22474 (cd $(HOST_SUBDIR)/sid && \
22475 $(MAKE) $(FLAGS_TO_PASS) check)
22477 @endif sid
22479 .PHONY: install-sid maybe-install-sid
22480 maybe-install-sid:
22481 @if sid
22482 maybe-install-sid: install-sid
22484 install-sid: installdirs
22485 @$(unstage)
22486 @r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22488 $(HOST_EXPORTS) \
22489 (cd $(HOST_SUBDIR)/sid && \
22490 $(MAKE) $(FLAGS_TO_PASS) install)
22492 @endif sid
22494 # Other targets (info, dvi, etc.)
22496 .PHONY: maybe-info-sid info-sid
22497 maybe-info-sid:
22498 @if sid
22499 maybe-info-sid: info-sid
22501 info-sid: \
22502 configure-sid
22503 @$(unstage)
22504 @[ -f ./sid/Makefile ] || exit 0; \
22505 r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 $(HOST_EXPORTS) \
22508 for flag in $(EXTRA_HOST_FLAGS) ; do \
22509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22510 done; \
22511 echo "Doing info in sid" ; \
22512 (cd $(HOST_SUBDIR)/sid && \
22513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22515 "RANLIB=$${RANLIB}" \
22516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22517 info) \
22518 || exit 1
22520 @endif sid
22522 .PHONY: maybe-dvi-sid dvi-sid
22523 maybe-dvi-sid:
22524 @if sid
22525 maybe-dvi-sid: dvi-sid
22527 dvi-sid: \
22528 configure-sid
22529 @$(unstage)
22530 @[ -f ./sid/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(HOST_EXPORTS) \
22534 for flag in $(EXTRA_HOST_FLAGS) ; do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22536 done; \
22537 echo "Doing dvi in sid" ; \
22538 (cd $(HOST_SUBDIR)/sid && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22541 "RANLIB=$${RANLIB}" \
22542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22543 dvi) \
22544 || exit 1
22546 @endif sid
22548 .PHONY: maybe-html-sid html-sid
22549 maybe-html-sid:
22550 @if sid
22551 maybe-html-sid: html-sid
22553 html-sid: \
22554 configure-sid
22555 @$(unstage)
22556 @[ -f ./sid/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22559 $(HOST_EXPORTS) \
22560 for flag in $(EXTRA_HOST_FLAGS) ; do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22562 done; \
22563 echo "Doing html in sid" ; \
22564 (cd $(HOST_SUBDIR)/sid && \
22565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22567 "RANLIB=$${RANLIB}" \
22568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22569 html) \
22570 || exit 1
22572 @endif sid
22574 .PHONY: maybe-TAGS-sid TAGS-sid
22575 maybe-TAGS-sid:
22576 @if sid
22577 maybe-TAGS-sid: TAGS-sid
22579 TAGS-sid: \
22580 configure-sid
22581 @$(unstage)
22582 @[ -f ./sid/Makefile ] || exit 0; \
22583 r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 $(HOST_EXPORTS) \
22586 for flag in $(EXTRA_HOST_FLAGS) ; do \
22587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22588 done; \
22589 echo "Doing TAGS in sid" ; \
22590 (cd $(HOST_SUBDIR)/sid && \
22591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22593 "RANLIB=$${RANLIB}" \
22594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22595 TAGS) \
22596 || exit 1
22598 @endif sid
22600 .PHONY: maybe-install-info-sid install-info-sid
22601 maybe-install-info-sid:
22602 @if sid
22603 maybe-install-info-sid: install-info-sid
22605 install-info-sid: \
22606 configure-sid \
22607 info-sid
22608 @$(unstage)
22609 @[ -f ./sid/Makefile ] || exit 0; \
22610 r=`${PWD_COMMAND}`; export r; \
22611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22612 $(HOST_EXPORTS) \
22613 for flag in $(EXTRA_HOST_FLAGS) ; do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615 done; \
22616 echo "Doing install-info in sid" ; \
22617 (cd $(HOST_SUBDIR)/sid && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22622 install-info) \
22623 || exit 1
22625 @endif sid
22627 .PHONY: maybe-installcheck-sid installcheck-sid
22628 maybe-installcheck-sid:
22629 @if sid
22630 maybe-installcheck-sid: installcheck-sid
22632 installcheck-sid: \
22633 configure-sid
22634 @$(unstage)
22635 @[ -f ./sid/Makefile ] || exit 0; \
22636 r=`${PWD_COMMAND}`; export r; \
22637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22638 $(HOST_EXPORTS) \
22639 for flag in $(EXTRA_HOST_FLAGS) ; do \
22640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22641 done; \
22642 echo "Doing installcheck in sid" ; \
22643 (cd $(HOST_SUBDIR)/sid && \
22644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22646 "RANLIB=$${RANLIB}" \
22647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22648 installcheck) \
22649 || exit 1
22651 @endif sid
22653 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
22654 maybe-mostlyclean-sid:
22655 @if sid
22656 maybe-mostlyclean-sid: mostlyclean-sid
22658 mostlyclean-sid:
22659 @$(unstage)
22660 @[ -f ./sid/Makefile ] || exit 0; \
22661 r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663 $(HOST_EXPORTS) \
22664 for flag in $(EXTRA_HOST_FLAGS) ; do \
22665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22666 done; \
22667 echo "Doing mostlyclean in sid" ; \
22668 (cd $(HOST_SUBDIR)/sid && \
22669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22671 "RANLIB=$${RANLIB}" \
22672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22673 mostlyclean) \
22674 || exit 1
22676 @endif sid
22678 .PHONY: maybe-clean-sid clean-sid
22679 maybe-clean-sid:
22680 @if sid
22681 maybe-clean-sid: clean-sid
22683 clean-sid:
22684 @$(unstage)
22685 @[ -f ./sid/Makefile ] || exit 0; \
22686 r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 $(HOST_EXPORTS) \
22689 for flag in $(EXTRA_HOST_FLAGS) ; do \
22690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22691 done; \
22692 echo "Doing clean in sid" ; \
22693 (cd $(HOST_SUBDIR)/sid && \
22694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22696 "RANLIB=$${RANLIB}" \
22697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22698 clean) \
22699 || exit 1
22701 @endif sid
22703 .PHONY: maybe-distclean-sid distclean-sid
22704 maybe-distclean-sid:
22705 @if sid
22706 maybe-distclean-sid: distclean-sid
22708 distclean-sid:
22709 @$(unstage)
22710 @[ -f ./sid/Makefile ] || exit 0; \
22711 r=`${PWD_COMMAND}`; export r; \
22712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22713 $(HOST_EXPORTS) \
22714 for flag in $(EXTRA_HOST_FLAGS) ; do \
22715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22716 done; \
22717 echo "Doing distclean in sid" ; \
22718 (cd $(HOST_SUBDIR)/sid && \
22719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22721 "RANLIB=$${RANLIB}" \
22722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22723 distclean) \
22724 || exit 1
22726 @endif sid
22728 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
22729 maybe-maintainer-clean-sid:
22730 @if sid
22731 maybe-maintainer-clean-sid: maintainer-clean-sid
22733 maintainer-clean-sid:
22734 @$(unstage)
22735 @[ -f ./sid/Makefile ] || exit 0; \
22736 r=`${PWD_COMMAND}`; export r; \
22737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22738 $(HOST_EXPORTS) \
22739 for flag in $(EXTRA_HOST_FLAGS) ; do \
22740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22741 done; \
22742 echo "Doing maintainer-clean in sid" ; \
22743 (cd $(HOST_SUBDIR)/sid && \
22744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22746 "RANLIB=$${RANLIB}" \
22747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22748 maintainer-clean) \
22749 || exit 1
22751 @endif sid
22755 .PHONY: configure-sim maybe-configure-sim
22756 maybe-configure-sim:
22757 @if sim
22758 maybe-configure-sim: configure-sim
22759 configure-sim:
22760 @$(unstage)
22761 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
22762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
22763 r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(HOST_EXPORTS) \
22766 echo Configuring in $(HOST_SUBDIR)/sim; \
22767 cd "$(HOST_SUBDIR)/sim" || exit 1; \
22768 case $(srcdir) in \
22769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22770 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
22771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22772 esac; \
22773 srcdiroption="--srcdir=$${topdir}/sim"; \
22774 libsrcdir="$$s/sim"; \
22775 $(SHELL) $${libsrcdir}/configure \
22776 $(HOST_CONFIGARGS) $${srcdiroption} \
22777 || exit 1
22778 @endif sim
22784 .PHONY: all-sim maybe-all-sim
22785 maybe-all-sim:
22786 @if sim
22787 TARGET-sim=all
22788 maybe-all-sim: all-sim
22789 all-sim: configure-sim
22790 @$(unstage)
22791 @r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22793 $(HOST_EXPORTS) \
22794 (cd $(HOST_SUBDIR)/sim && \
22795 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
22796 @endif sim
22801 .PHONY: check-sim maybe-check-sim
22802 maybe-check-sim:
22803 @if sim
22804 maybe-check-sim: check-sim
22806 check-sim:
22807 @$(unstage)
22808 @r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22810 $(HOST_EXPORTS) \
22811 (cd $(HOST_SUBDIR)/sim && \
22812 $(MAKE) $(FLAGS_TO_PASS) check)
22814 @endif sim
22816 .PHONY: install-sim maybe-install-sim
22817 maybe-install-sim:
22818 @if sim
22819 maybe-install-sim: install-sim
22821 install-sim: installdirs
22822 @$(unstage)
22823 @r=`${PWD_COMMAND}`; export r; \
22824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22825 $(HOST_EXPORTS) \
22826 (cd $(HOST_SUBDIR)/sim && \
22827 $(MAKE) $(FLAGS_TO_PASS) install)
22829 @endif sim
22831 # Other targets (info, dvi, etc.)
22833 .PHONY: maybe-info-sim info-sim
22834 maybe-info-sim:
22835 @if sim
22836 maybe-info-sim: info-sim
22838 info-sim: \
22839 configure-sim
22840 @$(unstage)
22841 @[ -f ./sim/Makefile ] || exit 0; \
22842 r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(HOST_EXPORTS) \
22845 for flag in $(EXTRA_HOST_FLAGS) ; do \
22846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22847 done; \
22848 echo "Doing info in sim" ; \
22849 (cd $(HOST_SUBDIR)/sim && \
22850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22852 "RANLIB=$${RANLIB}" \
22853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22854 info) \
22855 || exit 1
22857 @endif sim
22859 .PHONY: maybe-dvi-sim dvi-sim
22860 maybe-dvi-sim:
22861 @if sim
22862 maybe-dvi-sim: dvi-sim
22864 dvi-sim: \
22865 configure-sim
22866 @$(unstage)
22867 @[ -f ./sim/Makefile ] || exit 0; \
22868 r=`${PWD_COMMAND}`; export r; \
22869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22870 $(HOST_EXPORTS) \
22871 for flag in $(EXTRA_HOST_FLAGS) ; do \
22872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22873 done; \
22874 echo "Doing dvi in sim" ; \
22875 (cd $(HOST_SUBDIR)/sim && \
22876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22878 "RANLIB=$${RANLIB}" \
22879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22880 dvi) \
22881 || exit 1
22883 @endif sim
22885 .PHONY: maybe-html-sim html-sim
22886 maybe-html-sim:
22887 @if sim
22888 maybe-html-sim: html-sim
22890 html-sim: \
22891 configure-sim
22892 @$(unstage)
22893 @[ -f ./sim/Makefile ] || exit 0; \
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22896 $(HOST_EXPORTS) \
22897 for flag in $(EXTRA_HOST_FLAGS) ; do \
22898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22899 done; \
22900 echo "Doing html in sim" ; \
22901 (cd $(HOST_SUBDIR)/sim && \
22902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22904 "RANLIB=$${RANLIB}" \
22905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22906 html) \
22907 || exit 1
22909 @endif sim
22911 .PHONY: maybe-TAGS-sim TAGS-sim
22912 maybe-TAGS-sim:
22913 @if sim
22914 maybe-TAGS-sim: TAGS-sim
22916 TAGS-sim: \
22917 configure-sim
22918 @$(unstage)
22919 @[ -f ./sim/Makefile ] || exit 0; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(HOST_EXPORTS) \
22923 for flag in $(EXTRA_HOST_FLAGS) ; do \
22924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22925 done; \
22926 echo "Doing TAGS in sim" ; \
22927 (cd $(HOST_SUBDIR)/sim && \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932 TAGS) \
22933 || exit 1
22935 @endif sim
22937 .PHONY: maybe-install-info-sim install-info-sim
22938 maybe-install-info-sim:
22939 @if sim
22940 maybe-install-info-sim: install-info-sim
22942 install-info-sim: \
22943 configure-sim \
22944 info-sim
22945 @$(unstage)
22946 @[ -f ./sim/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 $(HOST_EXPORTS) \
22950 for flag in $(EXTRA_HOST_FLAGS) ; do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 done; \
22953 echo "Doing install-info in sim" ; \
22954 (cd $(HOST_SUBDIR)/sim && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22957 "RANLIB=$${RANLIB}" \
22958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22959 install-info) \
22960 || exit 1
22962 @endif sim
22964 .PHONY: maybe-installcheck-sim installcheck-sim
22965 maybe-installcheck-sim:
22966 @if sim
22967 maybe-installcheck-sim: installcheck-sim
22969 installcheck-sim: \
22970 configure-sim
22971 @$(unstage)
22972 @[ -f ./sim/Makefile ] || exit 0; \
22973 r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22975 $(HOST_EXPORTS) \
22976 for flag in $(EXTRA_HOST_FLAGS) ; do \
22977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22978 done; \
22979 echo "Doing installcheck in sim" ; \
22980 (cd $(HOST_SUBDIR)/sim && \
22981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22983 "RANLIB=$${RANLIB}" \
22984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22985 installcheck) \
22986 || exit 1
22988 @endif sim
22990 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22991 maybe-mostlyclean-sim:
22992 @if sim
22993 maybe-mostlyclean-sim: mostlyclean-sim
22995 mostlyclean-sim:
22996 @$(unstage)
22997 @[ -f ./sim/Makefile ] || exit 0; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23000 $(HOST_EXPORTS) \
23001 for flag in $(EXTRA_HOST_FLAGS) ; do \
23002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23003 done; \
23004 echo "Doing mostlyclean in sim" ; \
23005 (cd $(HOST_SUBDIR)/sim && \
23006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23008 "RANLIB=$${RANLIB}" \
23009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23010 mostlyclean) \
23011 || exit 1
23013 @endif sim
23015 .PHONY: maybe-clean-sim clean-sim
23016 maybe-clean-sim:
23017 @if sim
23018 maybe-clean-sim: clean-sim
23020 clean-sim:
23021 @$(unstage)
23022 @[ -f ./sim/Makefile ] || exit 0; \
23023 r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 $(HOST_EXPORTS) \
23026 for flag in $(EXTRA_HOST_FLAGS) ; do \
23027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23028 done; \
23029 echo "Doing clean in sim" ; \
23030 (cd $(HOST_SUBDIR)/sim && \
23031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23033 "RANLIB=$${RANLIB}" \
23034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23035 clean) \
23036 || exit 1
23038 @endif sim
23040 .PHONY: maybe-distclean-sim distclean-sim
23041 maybe-distclean-sim:
23042 @if sim
23043 maybe-distclean-sim: distclean-sim
23045 distclean-sim:
23046 @$(unstage)
23047 @[ -f ./sim/Makefile ] || exit 0; \
23048 r=`${PWD_COMMAND}`; export r; \
23049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23050 $(HOST_EXPORTS) \
23051 for flag in $(EXTRA_HOST_FLAGS) ; do \
23052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23053 done; \
23054 echo "Doing distclean in sim" ; \
23055 (cd $(HOST_SUBDIR)/sim && \
23056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23058 "RANLIB=$${RANLIB}" \
23059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23060 distclean) \
23061 || exit 1
23063 @endif sim
23065 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23066 maybe-maintainer-clean-sim:
23067 @if sim
23068 maybe-maintainer-clean-sim: maintainer-clean-sim
23070 maintainer-clean-sim:
23071 @$(unstage)
23072 @[ -f ./sim/Makefile ] || exit 0; \
23073 r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 $(HOST_EXPORTS) \
23076 for flag in $(EXTRA_HOST_FLAGS) ; do \
23077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23078 done; \
23079 echo "Doing maintainer-clean in sim" ; \
23080 (cd $(HOST_SUBDIR)/sim && \
23081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23083 "RANLIB=$${RANLIB}" \
23084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23085 maintainer-clean) \
23086 || exit 1
23088 @endif sim
23092 .PHONY: configure-tar maybe-configure-tar
23093 maybe-configure-tar:
23094 @if tar
23095 maybe-configure-tar: configure-tar
23096 configure-tar:
23097 @$(unstage)
23098 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23100 r=`${PWD_COMMAND}`; export r; \
23101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23102 $(HOST_EXPORTS) \
23103 echo Configuring in $(HOST_SUBDIR)/tar; \
23104 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23105 case $(srcdir) in \
23106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23107 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23109 esac; \
23110 srcdiroption="--srcdir=$${topdir}/tar"; \
23111 libsrcdir="$$s/tar"; \
23112 $(SHELL) $${libsrcdir}/configure \
23113 $(HOST_CONFIGARGS) $${srcdiroption} \
23114 || exit 1
23115 @endif tar
23121 .PHONY: all-tar maybe-all-tar
23122 maybe-all-tar:
23123 @if tar
23124 TARGET-tar=all
23125 maybe-all-tar: all-tar
23126 all-tar: configure-tar
23127 @$(unstage)
23128 @r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 $(HOST_EXPORTS) \
23131 (cd $(HOST_SUBDIR)/tar && \
23132 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23133 @endif tar
23138 .PHONY: check-tar maybe-check-tar
23139 maybe-check-tar:
23140 @if tar
23141 maybe-check-tar: check-tar
23143 check-tar:
23144 @$(unstage)
23145 @r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23147 $(HOST_EXPORTS) \
23148 (cd $(HOST_SUBDIR)/tar && \
23149 $(MAKE) $(FLAGS_TO_PASS) check)
23151 @endif tar
23153 .PHONY: install-tar maybe-install-tar
23154 maybe-install-tar:
23155 @if tar
23156 maybe-install-tar: install-tar
23158 install-tar: installdirs
23159 @$(unstage)
23160 @r=`${PWD_COMMAND}`; export r; \
23161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23162 $(HOST_EXPORTS) \
23163 (cd $(HOST_SUBDIR)/tar && \
23164 $(MAKE) $(FLAGS_TO_PASS) install)
23166 @endif tar
23168 # Other targets (info, dvi, etc.)
23170 .PHONY: maybe-info-tar info-tar
23171 maybe-info-tar:
23172 @if tar
23173 maybe-info-tar: info-tar
23175 info-tar: \
23176 configure-tar
23177 @$(unstage)
23178 @[ -f ./tar/Makefile ] || exit 0; \
23179 r=`${PWD_COMMAND}`; export r; \
23180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23181 $(HOST_EXPORTS) \
23182 for flag in $(EXTRA_HOST_FLAGS) ; do \
23183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23184 done; \
23185 echo "Doing info in tar" ; \
23186 (cd $(HOST_SUBDIR)/tar && \
23187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23189 "RANLIB=$${RANLIB}" \
23190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23191 info) \
23192 || exit 1
23194 @endif tar
23196 .PHONY: maybe-dvi-tar dvi-tar
23197 maybe-dvi-tar:
23198 @if tar
23199 maybe-dvi-tar: dvi-tar
23201 dvi-tar: \
23202 configure-tar
23203 @$(unstage)
23204 @[ -f ./tar/Makefile ] || exit 0; \
23205 r=`${PWD_COMMAND}`; export r; \
23206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23207 $(HOST_EXPORTS) \
23208 for flag in $(EXTRA_HOST_FLAGS) ; do \
23209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23210 done; \
23211 echo "Doing dvi in tar" ; \
23212 (cd $(HOST_SUBDIR)/tar && \
23213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23215 "RANLIB=$${RANLIB}" \
23216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23217 dvi) \
23218 || exit 1
23220 @endif tar
23222 .PHONY: maybe-html-tar html-tar
23223 maybe-html-tar:
23224 @if tar
23225 maybe-html-tar: html-tar
23227 html-tar: \
23228 configure-tar
23229 @$(unstage)
23230 @[ -f ./tar/Makefile ] || exit 0; \
23231 r=`${PWD_COMMAND}`; export r; \
23232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23233 $(HOST_EXPORTS) \
23234 for flag in $(EXTRA_HOST_FLAGS) ; do \
23235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23236 done; \
23237 echo "Doing html in tar" ; \
23238 (cd $(HOST_SUBDIR)/tar && \
23239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23241 "RANLIB=$${RANLIB}" \
23242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23243 html) \
23244 || exit 1
23246 @endif tar
23248 .PHONY: maybe-TAGS-tar TAGS-tar
23249 maybe-TAGS-tar:
23250 @if tar
23251 maybe-TAGS-tar: TAGS-tar
23253 TAGS-tar: \
23254 configure-tar
23255 @$(unstage)
23256 @[ -f ./tar/Makefile ] || exit 0; \
23257 r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 $(HOST_EXPORTS) \
23260 for flag in $(EXTRA_HOST_FLAGS) ; do \
23261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23262 done; \
23263 echo "Doing TAGS in tar" ; \
23264 (cd $(HOST_SUBDIR)/tar && \
23265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267 "RANLIB=$${RANLIB}" \
23268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23269 TAGS) \
23270 || exit 1
23272 @endif tar
23274 .PHONY: maybe-install-info-tar install-info-tar
23275 maybe-install-info-tar:
23276 @if tar
23277 maybe-install-info-tar: install-info-tar
23279 install-info-tar: \
23280 configure-tar \
23281 info-tar
23282 @$(unstage)
23283 @[ -f ./tar/Makefile ] || exit 0; \
23284 r=`${PWD_COMMAND}`; export r; \
23285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23286 $(HOST_EXPORTS) \
23287 for flag in $(EXTRA_HOST_FLAGS) ; do \
23288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23289 done; \
23290 echo "Doing install-info in tar" ; \
23291 (cd $(HOST_SUBDIR)/tar && \
23292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23294 "RANLIB=$${RANLIB}" \
23295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23296 install-info) \
23297 || exit 1
23299 @endif tar
23301 .PHONY: maybe-installcheck-tar installcheck-tar
23302 maybe-installcheck-tar:
23303 @if tar
23304 maybe-installcheck-tar: installcheck-tar
23306 installcheck-tar: \
23307 configure-tar
23308 @$(unstage)
23309 @[ -f ./tar/Makefile ] || exit 0; \
23310 r=`${PWD_COMMAND}`; export r; \
23311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23312 $(HOST_EXPORTS) \
23313 for flag in $(EXTRA_HOST_FLAGS) ; do \
23314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23315 done; \
23316 echo "Doing installcheck in tar" ; \
23317 (cd $(HOST_SUBDIR)/tar && \
23318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23320 "RANLIB=$${RANLIB}" \
23321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23322 installcheck) \
23323 || exit 1
23325 @endif tar
23327 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23328 maybe-mostlyclean-tar:
23329 @if tar
23330 maybe-mostlyclean-tar: mostlyclean-tar
23332 mostlyclean-tar:
23333 @$(unstage)
23334 @[ -f ./tar/Makefile ] || exit 0; \
23335 r=`${PWD_COMMAND}`; export r; \
23336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23337 $(HOST_EXPORTS) \
23338 for flag in $(EXTRA_HOST_FLAGS) ; do \
23339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23340 done; \
23341 echo "Doing mostlyclean in tar" ; \
23342 (cd $(HOST_SUBDIR)/tar && \
23343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23345 "RANLIB=$${RANLIB}" \
23346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23347 mostlyclean) \
23348 || exit 1
23350 @endif tar
23352 .PHONY: maybe-clean-tar clean-tar
23353 maybe-clean-tar:
23354 @if tar
23355 maybe-clean-tar: clean-tar
23357 clean-tar:
23358 @$(unstage)
23359 @[ -f ./tar/Makefile ] || exit 0; \
23360 r=`${PWD_COMMAND}`; export r; \
23361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23362 $(HOST_EXPORTS) \
23363 for flag in $(EXTRA_HOST_FLAGS) ; do \
23364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23365 done; \
23366 echo "Doing clean in tar" ; \
23367 (cd $(HOST_SUBDIR)/tar && \
23368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23370 "RANLIB=$${RANLIB}" \
23371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23372 clean) \
23373 || exit 1
23375 @endif tar
23377 .PHONY: maybe-distclean-tar distclean-tar
23378 maybe-distclean-tar:
23379 @if tar
23380 maybe-distclean-tar: distclean-tar
23382 distclean-tar:
23383 @$(unstage)
23384 @[ -f ./tar/Makefile ] || exit 0; \
23385 r=`${PWD_COMMAND}`; export r; \
23386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23387 $(HOST_EXPORTS) \
23388 for flag in $(EXTRA_HOST_FLAGS) ; do \
23389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23390 done; \
23391 echo "Doing distclean in tar" ; \
23392 (cd $(HOST_SUBDIR)/tar && \
23393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23395 "RANLIB=$${RANLIB}" \
23396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23397 distclean) \
23398 || exit 1
23400 @endif tar
23402 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23403 maybe-maintainer-clean-tar:
23404 @if tar
23405 maybe-maintainer-clean-tar: maintainer-clean-tar
23407 maintainer-clean-tar:
23408 @$(unstage)
23409 @[ -f ./tar/Makefile ] || exit 0; \
23410 r=`${PWD_COMMAND}`; export r; \
23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23412 $(HOST_EXPORTS) \
23413 for flag in $(EXTRA_HOST_FLAGS) ; do \
23414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415 done; \
23416 echo "Doing maintainer-clean in tar" ; \
23417 (cd $(HOST_SUBDIR)/tar && \
23418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23420 "RANLIB=$${RANLIB}" \
23421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23422 maintainer-clean) \
23423 || exit 1
23425 @endif tar
23429 .PHONY: configure-texinfo maybe-configure-texinfo
23430 maybe-configure-texinfo:
23431 @if texinfo
23432 maybe-configure-texinfo: configure-texinfo
23433 configure-texinfo:
23434 @$(unstage)
23435 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23437 r=`${PWD_COMMAND}`; export r; \
23438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 $(HOST_EXPORTS) \
23440 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23441 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23442 case $(srcdir) in \
23443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23444 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23446 esac; \
23447 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23448 libsrcdir="$$s/texinfo"; \
23449 $(SHELL) $${libsrcdir}/configure \
23450 $(HOST_CONFIGARGS) $${srcdiroption} \
23451 || exit 1
23452 @endif texinfo
23458 .PHONY: all-texinfo maybe-all-texinfo
23459 maybe-all-texinfo:
23460 @if texinfo
23461 TARGET-texinfo=all
23462 maybe-all-texinfo: all-texinfo
23463 all-texinfo: configure-texinfo
23464 @$(unstage)
23465 @r=`${PWD_COMMAND}`; export r; \
23466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23467 $(HOST_EXPORTS) \
23468 (cd $(HOST_SUBDIR)/texinfo && \
23469 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23470 @endif texinfo
23475 .PHONY: check-texinfo maybe-check-texinfo
23476 maybe-check-texinfo:
23477 @if texinfo
23478 maybe-check-texinfo: check-texinfo
23480 check-texinfo:
23481 @$(unstage)
23482 @r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 $(HOST_EXPORTS) \
23485 (cd $(HOST_SUBDIR)/texinfo && \
23486 $(MAKE) $(FLAGS_TO_PASS) check)
23488 @endif texinfo
23490 .PHONY: install-texinfo maybe-install-texinfo
23491 maybe-install-texinfo:
23492 @if texinfo
23493 maybe-install-texinfo: install-texinfo
23495 install-texinfo:
23497 @endif texinfo
23499 # Other targets (info, dvi, etc.)
23501 .PHONY: maybe-info-texinfo info-texinfo
23502 maybe-info-texinfo:
23503 @if texinfo
23504 maybe-info-texinfo: info-texinfo
23506 info-texinfo: \
23507 configure-texinfo
23508 @$(unstage)
23509 @[ -f ./texinfo/Makefile ] || exit 0; \
23510 r=`${PWD_COMMAND}`; export r; \
23511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23512 $(HOST_EXPORTS) \
23513 for flag in $(EXTRA_HOST_FLAGS) ; do \
23514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23515 done; \
23516 echo "Doing info in texinfo" ; \
23517 (cd $(HOST_SUBDIR)/texinfo && \
23518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23520 "RANLIB=$${RANLIB}" \
23521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23522 info) \
23523 || exit 1
23525 @endif texinfo
23527 .PHONY: maybe-dvi-texinfo dvi-texinfo
23528 maybe-dvi-texinfo:
23529 @if texinfo
23530 maybe-dvi-texinfo: dvi-texinfo
23532 dvi-texinfo: \
23533 configure-texinfo
23534 @$(unstage)
23535 @[ -f ./texinfo/Makefile ] || exit 0; \
23536 r=`${PWD_COMMAND}`; export r; \
23537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23538 $(HOST_EXPORTS) \
23539 for flag in $(EXTRA_HOST_FLAGS) ; do \
23540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23541 done; \
23542 echo "Doing dvi in texinfo" ; \
23543 (cd $(HOST_SUBDIR)/texinfo && \
23544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23546 "RANLIB=$${RANLIB}" \
23547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23548 dvi) \
23549 || exit 1
23551 @endif texinfo
23553 .PHONY: maybe-html-texinfo html-texinfo
23554 maybe-html-texinfo:
23555 @if texinfo
23556 maybe-html-texinfo: html-texinfo
23558 html-texinfo: \
23559 configure-texinfo
23560 @$(unstage)
23561 @[ -f ./texinfo/Makefile ] || exit 0; \
23562 r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23564 $(HOST_EXPORTS) \
23565 for flag in $(EXTRA_HOST_FLAGS) ; do \
23566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23567 done; \
23568 echo "Doing html in texinfo" ; \
23569 (cd $(HOST_SUBDIR)/texinfo && \
23570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23572 "RANLIB=$${RANLIB}" \
23573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23574 html) \
23575 || exit 1
23577 @endif texinfo
23579 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
23580 maybe-TAGS-texinfo:
23581 @if texinfo
23582 maybe-TAGS-texinfo: TAGS-texinfo
23584 TAGS-texinfo: \
23585 configure-texinfo
23586 @$(unstage)
23587 @[ -f ./texinfo/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing TAGS in texinfo" ; \
23595 (cd $(HOST_SUBDIR)/texinfo && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23600 TAGS) \
23601 || exit 1
23603 @endif texinfo
23605 .PHONY: maybe-install-info-texinfo install-info-texinfo
23606 maybe-install-info-texinfo:
23607 @if texinfo
23608 maybe-install-info-texinfo: install-info-texinfo
23610 install-info-texinfo: \
23611 configure-texinfo \
23612 info-texinfo
23613 @$(unstage)
23614 @[ -f ./texinfo/Makefile ] || exit 0; \
23615 r=`${PWD_COMMAND}`; export r; \
23616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23617 $(HOST_EXPORTS) \
23618 for flag in $(EXTRA_HOST_FLAGS) ; do \
23619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23620 done; \
23621 echo "Doing install-info in texinfo" ; \
23622 (cd $(HOST_SUBDIR)/texinfo && \
23623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23625 "RANLIB=$${RANLIB}" \
23626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23627 install-info) \
23628 || exit 1
23630 @endif texinfo
23632 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
23633 maybe-installcheck-texinfo:
23634 @if texinfo
23635 maybe-installcheck-texinfo: installcheck-texinfo
23637 installcheck-texinfo: \
23638 configure-texinfo
23639 @$(unstage)
23640 @[ -f ./texinfo/Makefile ] || exit 0; \
23641 r=`${PWD_COMMAND}`; export r; \
23642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23643 $(HOST_EXPORTS) \
23644 for flag in $(EXTRA_HOST_FLAGS) ; do \
23645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23646 done; \
23647 echo "Doing installcheck in texinfo" ; \
23648 (cd $(HOST_SUBDIR)/texinfo && \
23649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23651 "RANLIB=$${RANLIB}" \
23652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23653 installcheck) \
23654 || exit 1
23656 @endif texinfo
23658 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
23659 maybe-mostlyclean-texinfo:
23660 @if texinfo
23661 maybe-mostlyclean-texinfo: mostlyclean-texinfo
23663 mostlyclean-texinfo:
23664 @$(unstage)
23665 @[ -f ./texinfo/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing mostlyclean in texinfo" ; \
23673 (cd $(HOST_SUBDIR)/texinfo && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23678 mostlyclean) \
23679 || exit 1
23681 @endif texinfo
23683 .PHONY: maybe-clean-texinfo clean-texinfo
23684 maybe-clean-texinfo:
23685 @if texinfo
23686 maybe-clean-texinfo: clean-texinfo
23688 clean-texinfo:
23689 @$(unstage)
23690 @[ -f ./texinfo/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 done; \
23697 echo "Doing clean in texinfo" ; \
23698 (cd $(HOST_SUBDIR)/texinfo && \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23701 "RANLIB=$${RANLIB}" \
23702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23703 clean) \
23704 || exit 1
23706 @endif texinfo
23708 .PHONY: maybe-distclean-texinfo distclean-texinfo
23709 maybe-distclean-texinfo:
23710 @if texinfo
23711 maybe-distclean-texinfo: distclean-texinfo
23713 distclean-texinfo:
23714 @$(unstage)
23715 @[ -f ./texinfo/Makefile ] || exit 0; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718 $(HOST_EXPORTS) \
23719 for flag in $(EXTRA_HOST_FLAGS) ; do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23721 done; \
23722 echo "Doing distclean in texinfo" ; \
23723 (cd $(HOST_SUBDIR)/texinfo && \
23724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23726 "RANLIB=$${RANLIB}" \
23727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23728 distclean) \
23729 || exit 1
23731 @endif texinfo
23733 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
23734 maybe-maintainer-clean-texinfo:
23735 @if texinfo
23736 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
23738 maintainer-clean-texinfo:
23739 @$(unstage)
23740 @[ -f ./texinfo/Makefile ] || exit 0; \
23741 r=`${PWD_COMMAND}`; export r; \
23742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23743 $(HOST_EXPORTS) \
23744 for flag in $(EXTRA_HOST_FLAGS) ; do \
23745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23746 done; \
23747 echo "Doing maintainer-clean in texinfo" ; \
23748 (cd $(HOST_SUBDIR)/texinfo && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23753 maintainer-clean) \
23754 || exit 1
23756 @endif texinfo
23760 .PHONY: configure-textutils maybe-configure-textutils
23761 maybe-configure-textutils:
23762 @if textutils
23763 maybe-configure-textutils: configure-textutils
23764 configure-textutils:
23765 @$(unstage)
23766 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
23767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
23768 r=`${PWD_COMMAND}`; export r; \
23769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23770 $(HOST_EXPORTS) \
23771 echo Configuring in $(HOST_SUBDIR)/textutils; \
23772 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
23773 case $(srcdir) in \
23774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23775 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
23776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23777 esac; \
23778 srcdiroption="--srcdir=$${topdir}/textutils"; \
23779 libsrcdir="$$s/textutils"; \
23780 $(SHELL) $${libsrcdir}/configure \
23781 $(HOST_CONFIGARGS) $${srcdiroption} \
23782 || exit 1
23783 @endif textutils
23789 .PHONY: all-textutils maybe-all-textutils
23790 maybe-all-textutils:
23791 @if textutils
23792 TARGET-textutils=all
23793 maybe-all-textutils: all-textutils
23794 all-textutils: configure-textutils
23795 @$(unstage)
23796 @r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23798 $(HOST_EXPORTS) \
23799 (cd $(HOST_SUBDIR)/textutils && \
23800 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
23801 @endif textutils
23806 .PHONY: check-textutils maybe-check-textutils
23807 maybe-check-textutils:
23808 @if textutils
23809 maybe-check-textutils: check-textutils
23811 check-textutils:
23812 @$(unstage)
23813 @r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23815 $(HOST_EXPORTS) \
23816 (cd $(HOST_SUBDIR)/textutils && \
23817 $(MAKE) $(FLAGS_TO_PASS) check)
23819 @endif textutils
23821 .PHONY: install-textutils maybe-install-textutils
23822 maybe-install-textutils:
23823 @if textutils
23824 maybe-install-textutils: install-textutils
23826 install-textutils: installdirs
23827 @$(unstage)
23828 @r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 $(HOST_EXPORTS) \
23831 (cd $(HOST_SUBDIR)/textutils && \
23832 $(MAKE) $(FLAGS_TO_PASS) install)
23834 @endif textutils
23836 # Other targets (info, dvi, etc.)
23838 .PHONY: maybe-info-textutils info-textutils
23839 maybe-info-textutils:
23840 @if textutils
23841 maybe-info-textutils: info-textutils
23843 info-textutils: \
23844 configure-textutils
23845 @$(unstage)
23846 @[ -f ./textutils/Makefile ] || exit 0; \
23847 r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23849 $(HOST_EXPORTS) \
23850 for flag in $(EXTRA_HOST_FLAGS) ; do \
23851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23852 done; \
23853 echo "Doing info in textutils" ; \
23854 (cd $(HOST_SUBDIR)/textutils && \
23855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23857 "RANLIB=$${RANLIB}" \
23858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23859 info) \
23860 || exit 1
23862 @endif textutils
23864 .PHONY: maybe-dvi-textutils dvi-textutils
23865 maybe-dvi-textutils:
23866 @if textutils
23867 maybe-dvi-textutils: dvi-textutils
23869 dvi-textutils: \
23870 configure-textutils
23871 @$(unstage)
23872 @[ -f ./textutils/Makefile ] || exit 0; \
23873 r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23875 $(HOST_EXPORTS) \
23876 for flag in $(EXTRA_HOST_FLAGS) ; do \
23877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23878 done; \
23879 echo "Doing dvi in textutils" ; \
23880 (cd $(HOST_SUBDIR)/textutils && \
23881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23883 "RANLIB=$${RANLIB}" \
23884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23885 dvi) \
23886 || exit 1
23888 @endif textutils
23890 .PHONY: maybe-html-textutils html-textutils
23891 maybe-html-textutils:
23892 @if textutils
23893 maybe-html-textutils: html-textutils
23895 html-textutils: \
23896 configure-textutils
23897 @$(unstage)
23898 @[ -f ./textutils/Makefile ] || exit 0; \
23899 r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23901 $(HOST_EXPORTS) \
23902 for flag in $(EXTRA_HOST_FLAGS) ; do \
23903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23904 done; \
23905 echo "Doing html in textutils" ; \
23906 (cd $(HOST_SUBDIR)/textutils && \
23907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23909 "RANLIB=$${RANLIB}" \
23910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23911 html) \
23912 || exit 1
23914 @endif textutils
23916 .PHONY: maybe-TAGS-textutils TAGS-textutils
23917 maybe-TAGS-textutils:
23918 @if textutils
23919 maybe-TAGS-textutils: TAGS-textutils
23921 TAGS-textutils: \
23922 configure-textutils
23923 @$(unstage)
23924 @[ -f ./textutils/Makefile ] || exit 0; \
23925 r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23927 $(HOST_EXPORTS) \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23930 done; \
23931 echo "Doing TAGS in textutils" ; \
23932 (cd $(HOST_SUBDIR)/textutils && \
23933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23935 "RANLIB=$${RANLIB}" \
23936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23937 TAGS) \
23938 || exit 1
23940 @endif textutils
23942 .PHONY: maybe-install-info-textutils install-info-textutils
23943 maybe-install-info-textutils:
23944 @if textutils
23945 maybe-install-info-textutils: install-info-textutils
23947 install-info-textutils: \
23948 configure-textutils \
23949 info-textutils
23950 @$(unstage)
23951 @[ -f ./textutils/Makefile ] || exit 0; \
23952 r=`${PWD_COMMAND}`; export r; \
23953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23954 $(HOST_EXPORTS) \
23955 for flag in $(EXTRA_HOST_FLAGS) ; do \
23956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23957 done; \
23958 echo "Doing install-info in textutils" ; \
23959 (cd $(HOST_SUBDIR)/textutils && \
23960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23962 "RANLIB=$${RANLIB}" \
23963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23964 install-info) \
23965 || exit 1
23967 @endif textutils
23969 .PHONY: maybe-installcheck-textutils installcheck-textutils
23970 maybe-installcheck-textutils:
23971 @if textutils
23972 maybe-installcheck-textutils: installcheck-textutils
23974 installcheck-textutils: \
23975 configure-textutils
23976 @$(unstage)
23977 @[ -f ./textutils/Makefile ] || exit 0; \
23978 r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980 $(HOST_EXPORTS) \
23981 for flag in $(EXTRA_HOST_FLAGS) ; do \
23982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23983 done; \
23984 echo "Doing installcheck in textutils" ; \
23985 (cd $(HOST_SUBDIR)/textutils && \
23986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23988 "RANLIB=$${RANLIB}" \
23989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23990 installcheck) \
23991 || exit 1
23993 @endif textutils
23995 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23996 maybe-mostlyclean-textutils:
23997 @if textutils
23998 maybe-mostlyclean-textutils: mostlyclean-textutils
24000 mostlyclean-textutils:
24001 @$(unstage)
24002 @[ -f ./textutils/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 echo "Doing mostlyclean in textutils" ; \
24010 (cd $(HOST_SUBDIR)/textutils && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24015 mostlyclean) \
24016 || exit 1
24018 @endif textutils
24020 .PHONY: maybe-clean-textutils clean-textutils
24021 maybe-clean-textutils:
24022 @if textutils
24023 maybe-clean-textutils: clean-textutils
24025 clean-textutils:
24026 @$(unstage)
24027 @[ -f ./textutils/Makefile ] || exit 0; \
24028 r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24030 $(HOST_EXPORTS) \
24031 for flag in $(EXTRA_HOST_FLAGS) ; do \
24032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24033 done; \
24034 echo "Doing clean in textutils" ; \
24035 (cd $(HOST_SUBDIR)/textutils && \
24036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24038 "RANLIB=$${RANLIB}" \
24039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24040 clean) \
24041 || exit 1
24043 @endif textutils
24045 .PHONY: maybe-distclean-textutils distclean-textutils
24046 maybe-distclean-textutils:
24047 @if textutils
24048 maybe-distclean-textutils: distclean-textutils
24050 distclean-textutils:
24051 @$(unstage)
24052 @[ -f ./textutils/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(HOST_EXPORTS) \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24058 done; \
24059 echo "Doing distclean in textutils" ; \
24060 (cd $(HOST_SUBDIR)/textutils && \
24061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24063 "RANLIB=$${RANLIB}" \
24064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24065 distclean) \
24066 || exit 1
24068 @endif textutils
24070 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24071 maybe-maintainer-clean-textutils:
24072 @if textutils
24073 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24075 maintainer-clean-textutils:
24076 @$(unstage)
24077 @[ -f ./textutils/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(HOST_EXPORTS) \
24081 for flag in $(EXTRA_HOST_FLAGS) ; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24083 done; \
24084 echo "Doing maintainer-clean in textutils" ; \
24085 (cd $(HOST_SUBDIR)/textutils && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24088 "RANLIB=$${RANLIB}" \
24089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24090 maintainer-clean) \
24091 || exit 1
24093 @endif textutils
24097 .PHONY: configure-time maybe-configure-time
24098 maybe-configure-time:
24099 @if time
24100 maybe-configure-time: configure-time
24101 configure-time:
24102 @$(unstage)
24103 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24105 r=`${PWD_COMMAND}`; export r; \
24106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24107 $(HOST_EXPORTS) \
24108 echo Configuring in $(HOST_SUBDIR)/time; \
24109 cd "$(HOST_SUBDIR)/time" || exit 1; \
24110 case $(srcdir) in \
24111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24112 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24114 esac; \
24115 srcdiroption="--srcdir=$${topdir}/time"; \
24116 libsrcdir="$$s/time"; \
24117 $(SHELL) $${libsrcdir}/configure \
24118 $(HOST_CONFIGARGS) $${srcdiroption} \
24119 || exit 1
24120 @endif time
24126 .PHONY: all-time maybe-all-time
24127 maybe-all-time:
24128 @if time
24129 TARGET-time=all
24130 maybe-all-time: all-time
24131 all-time: configure-time
24132 @$(unstage)
24133 @r=`${PWD_COMMAND}`; export r; \
24134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24135 $(HOST_EXPORTS) \
24136 (cd $(HOST_SUBDIR)/time && \
24137 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24138 @endif time
24143 .PHONY: check-time maybe-check-time
24144 maybe-check-time:
24145 @if time
24146 maybe-check-time: check-time
24148 check-time:
24149 @$(unstage)
24150 @r=`${PWD_COMMAND}`; export r; \
24151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24152 $(HOST_EXPORTS) \
24153 (cd $(HOST_SUBDIR)/time && \
24154 $(MAKE) $(FLAGS_TO_PASS) check)
24156 @endif time
24158 .PHONY: install-time maybe-install-time
24159 maybe-install-time:
24160 @if time
24161 maybe-install-time: install-time
24163 install-time: installdirs
24164 @$(unstage)
24165 @r=`${PWD_COMMAND}`; export r; \
24166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24167 $(HOST_EXPORTS) \
24168 (cd $(HOST_SUBDIR)/time && \
24169 $(MAKE) $(FLAGS_TO_PASS) install)
24171 @endif time
24173 # Other targets (info, dvi, etc.)
24175 .PHONY: maybe-info-time info-time
24176 maybe-info-time:
24177 @if time
24178 maybe-info-time: info-time
24180 info-time: \
24181 configure-time
24182 @$(unstage)
24183 @[ -f ./time/Makefile ] || exit 0; \
24184 r=`${PWD_COMMAND}`; export r; \
24185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24186 $(HOST_EXPORTS) \
24187 for flag in $(EXTRA_HOST_FLAGS) ; do \
24188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24189 done; \
24190 echo "Doing info in time" ; \
24191 (cd $(HOST_SUBDIR)/time && \
24192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24194 "RANLIB=$${RANLIB}" \
24195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24196 info) \
24197 || exit 1
24199 @endif time
24201 .PHONY: maybe-dvi-time dvi-time
24202 maybe-dvi-time:
24203 @if time
24204 maybe-dvi-time: dvi-time
24206 dvi-time: \
24207 configure-time
24208 @$(unstage)
24209 @[ -f ./time/Makefile ] || exit 0; \
24210 r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24212 $(HOST_EXPORTS) \
24213 for flag in $(EXTRA_HOST_FLAGS) ; do \
24214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24215 done; \
24216 echo "Doing dvi in time" ; \
24217 (cd $(HOST_SUBDIR)/time && \
24218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24220 "RANLIB=$${RANLIB}" \
24221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24222 dvi) \
24223 || exit 1
24225 @endif time
24227 .PHONY: maybe-html-time html-time
24228 maybe-html-time:
24229 @if time
24230 maybe-html-time: html-time
24232 html-time: \
24233 configure-time
24234 @$(unstage)
24235 @[ -f ./time/Makefile ] || exit 0; \
24236 r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24238 $(HOST_EXPORTS) \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24241 done; \
24242 echo "Doing html in time" ; \
24243 (cd $(HOST_SUBDIR)/time && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24246 "RANLIB=$${RANLIB}" \
24247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24248 html) \
24249 || exit 1
24251 @endif time
24253 .PHONY: maybe-TAGS-time TAGS-time
24254 maybe-TAGS-time:
24255 @if time
24256 maybe-TAGS-time: TAGS-time
24258 TAGS-time: \
24259 configure-time
24260 @$(unstage)
24261 @[ -f ./time/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing TAGS in time" ; \
24269 (cd $(HOST_SUBDIR)/time && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24274 TAGS) \
24275 || exit 1
24277 @endif time
24279 .PHONY: maybe-install-info-time install-info-time
24280 maybe-install-info-time:
24281 @if time
24282 maybe-install-info-time: install-info-time
24284 install-info-time: \
24285 configure-time \
24286 info-time
24287 @$(unstage)
24288 @[ -f ./time/Makefile ] || exit 0; \
24289 r=`${PWD_COMMAND}`; export r; \
24290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24291 $(HOST_EXPORTS) \
24292 for flag in $(EXTRA_HOST_FLAGS) ; do \
24293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24294 done; \
24295 echo "Doing install-info in time" ; \
24296 (cd $(HOST_SUBDIR)/time && \
24297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24299 "RANLIB=$${RANLIB}" \
24300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24301 install-info) \
24302 || exit 1
24304 @endif time
24306 .PHONY: maybe-installcheck-time installcheck-time
24307 maybe-installcheck-time:
24308 @if time
24309 maybe-installcheck-time: installcheck-time
24311 installcheck-time: \
24312 configure-time
24313 @$(unstage)
24314 @[ -f ./time/Makefile ] || exit 0; \
24315 r=`${PWD_COMMAND}`; export r; \
24316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24317 $(HOST_EXPORTS) \
24318 for flag in $(EXTRA_HOST_FLAGS) ; do \
24319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24320 done; \
24321 echo "Doing installcheck in time" ; \
24322 (cd $(HOST_SUBDIR)/time && \
24323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24325 "RANLIB=$${RANLIB}" \
24326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24327 installcheck) \
24328 || exit 1
24330 @endif time
24332 .PHONY: maybe-mostlyclean-time mostlyclean-time
24333 maybe-mostlyclean-time:
24334 @if time
24335 maybe-mostlyclean-time: mostlyclean-time
24337 mostlyclean-time:
24338 @$(unstage)
24339 @[ -f ./time/Makefile ] || exit 0; \
24340 r=`${PWD_COMMAND}`; export r; \
24341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24342 $(HOST_EXPORTS) \
24343 for flag in $(EXTRA_HOST_FLAGS) ; do \
24344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24345 done; \
24346 echo "Doing mostlyclean in time" ; \
24347 (cd $(HOST_SUBDIR)/time && \
24348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24350 "RANLIB=$${RANLIB}" \
24351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24352 mostlyclean) \
24353 || exit 1
24355 @endif time
24357 .PHONY: maybe-clean-time clean-time
24358 maybe-clean-time:
24359 @if time
24360 maybe-clean-time: clean-time
24362 clean-time:
24363 @$(unstage)
24364 @[ -f ./time/Makefile ] || exit 0; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 $(HOST_EXPORTS) \
24368 for flag in $(EXTRA_HOST_FLAGS) ; do \
24369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24370 done; \
24371 echo "Doing clean in time" ; \
24372 (cd $(HOST_SUBDIR)/time && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24375 "RANLIB=$${RANLIB}" \
24376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24377 clean) \
24378 || exit 1
24380 @endif time
24382 .PHONY: maybe-distclean-time distclean-time
24383 maybe-distclean-time:
24384 @if time
24385 maybe-distclean-time: distclean-time
24387 distclean-time:
24388 @$(unstage)
24389 @[ -f ./time/Makefile ] || exit 0; \
24390 r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 $(HOST_EXPORTS) \
24393 for flag in $(EXTRA_HOST_FLAGS) ; do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24395 done; \
24396 echo "Doing distclean in time" ; \
24397 (cd $(HOST_SUBDIR)/time && \
24398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24400 "RANLIB=$${RANLIB}" \
24401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24402 distclean) \
24403 || exit 1
24405 @endif time
24407 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24408 maybe-maintainer-clean-time:
24409 @if time
24410 maybe-maintainer-clean-time: maintainer-clean-time
24412 maintainer-clean-time:
24413 @$(unstage)
24414 @[ -f ./time/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing maintainer-clean in time" ; \
24422 (cd $(HOST_SUBDIR)/time && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24427 maintainer-clean) \
24428 || exit 1
24430 @endif time
24434 .PHONY: configure-uudecode maybe-configure-uudecode
24435 maybe-configure-uudecode:
24436 @if uudecode
24437 maybe-configure-uudecode: configure-uudecode
24438 configure-uudecode:
24439 @$(unstage)
24440 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24442 r=`${PWD_COMMAND}`; export r; \
24443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24444 $(HOST_EXPORTS) \
24445 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24446 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24447 case $(srcdir) in \
24448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24449 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24451 esac; \
24452 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24453 libsrcdir="$$s/uudecode"; \
24454 $(SHELL) $${libsrcdir}/configure \
24455 $(HOST_CONFIGARGS) $${srcdiroption} \
24456 || exit 1
24457 @endif uudecode
24463 .PHONY: all-uudecode maybe-all-uudecode
24464 maybe-all-uudecode:
24465 @if uudecode
24466 TARGET-uudecode=all
24467 maybe-all-uudecode: all-uudecode
24468 all-uudecode: configure-uudecode
24469 @$(unstage)
24470 @r=`${PWD_COMMAND}`; export r; \
24471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24472 $(HOST_EXPORTS) \
24473 (cd $(HOST_SUBDIR)/uudecode && \
24474 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24475 @endif uudecode
24480 .PHONY: check-uudecode maybe-check-uudecode
24481 maybe-check-uudecode:
24482 @if uudecode
24483 maybe-check-uudecode: check-uudecode
24485 check-uudecode:
24486 @$(unstage)
24487 @r=`${PWD_COMMAND}`; export r; \
24488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24489 $(HOST_EXPORTS) \
24490 (cd $(HOST_SUBDIR)/uudecode && \
24491 $(MAKE) $(FLAGS_TO_PASS) check)
24493 @endif uudecode
24495 .PHONY: install-uudecode maybe-install-uudecode
24496 maybe-install-uudecode:
24497 @if uudecode
24498 maybe-install-uudecode: install-uudecode
24500 install-uudecode: installdirs
24501 @$(unstage)
24502 @r=`${PWD_COMMAND}`; export r; \
24503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24504 $(HOST_EXPORTS) \
24505 (cd $(HOST_SUBDIR)/uudecode && \
24506 $(MAKE) $(FLAGS_TO_PASS) install)
24508 @endif uudecode
24510 # Other targets (info, dvi, etc.)
24512 .PHONY: maybe-info-uudecode info-uudecode
24513 maybe-info-uudecode:
24514 @if uudecode
24515 maybe-info-uudecode: info-uudecode
24517 info-uudecode: \
24518 configure-uudecode
24519 @$(unstage)
24520 @[ -f ./uudecode/Makefile ] || exit 0; \
24521 r=`${PWD_COMMAND}`; export r; \
24522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24523 $(HOST_EXPORTS) \
24524 for flag in $(EXTRA_HOST_FLAGS) ; do \
24525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24526 done; \
24527 echo "Doing info in uudecode" ; \
24528 (cd $(HOST_SUBDIR)/uudecode && \
24529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24531 "RANLIB=$${RANLIB}" \
24532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24533 info) \
24534 || exit 1
24536 @endif uudecode
24538 .PHONY: maybe-dvi-uudecode dvi-uudecode
24539 maybe-dvi-uudecode:
24540 @if uudecode
24541 maybe-dvi-uudecode: dvi-uudecode
24543 dvi-uudecode: \
24544 configure-uudecode
24545 @$(unstage)
24546 @[ -f ./uudecode/Makefile ] || exit 0; \
24547 r=`${PWD_COMMAND}`; export r; \
24548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24549 $(HOST_EXPORTS) \
24550 for flag in $(EXTRA_HOST_FLAGS) ; do \
24551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24552 done; \
24553 echo "Doing dvi in uudecode" ; \
24554 (cd $(HOST_SUBDIR)/uudecode && \
24555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24557 "RANLIB=$${RANLIB}" \
24558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24559 dvi) \
24560 || exit 1
24562 @endif uudecode
24564 .PHONY: maybe-html-uudecode html-uudecode
24565 maybe-html-uudecode:
24566 @if uudecode
24567 maybe-html-uudecode: html-uudecode
24569 html-uudecode: \
24570 configure-uudecode
24571 @$(unstage)
24572 @[ -f ./uudecode/Makefile ] || exit 0; \
24573 r=`${PWD_COMMAND}`; export r; \
24574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24575 $(HOST_EXPORTS) \
24576 for flag in $(EXTRA_HOST_FLAGS) ; do \
24577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24578 done; \
24579 echo "Doing html in uudecode" ; \
24580 (cd $(HOST_SUBDIR)/uudecode && \
24581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24583 "RANLIB=$${RANLIB}" \
24584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24585 html) \
24586 || exit 1
24588 @endif uudecode
24590 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
24591 maybe-TAGS-uudecode:
24592 @if uudecode
24593 maybe-TAGS-uudecode: TAGS-uudecode
24595 TAGS-uudecode: \
24596 configure-uudecode
24597 @$(unstage)
24598 @[ -f ./uudecode/Makefile ] || exit 0; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601 $(HOST_EXPORTS) \
24602 for flag in $(EXTRA_HOST_FLAGS) ; do \
24603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24604 done; \
24605 echo "Doing TAGS in uudecode" ; \
24606 (cd $(HOST_SUBDIR)/uudecode && \
24607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24609 "RANLIB=$${RANLIB}" \
24610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24611 TAGS) \
24612 || exit 1
24614 @endif uudecode
24616 .PHONY: maybe-install-info-uudecode install-info-uudecode
24617 maybe-install-info-uudecode:
24618 @if uudecode
24619 maybe-install-info-uudecode: install-info-uudecode
24621 install-info-uudecode: \
24622 configure-uudecode \
24623 info-uudecode
24624 @$(unstage)
24625 @[ -f ./uudecode/Makefile ] || exit 0; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24628 $(HOST_EXPORTS) \
24629 for flag in $(EXTRA_HOST_FLAGS) ; do \
24630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24631 done; \
24632 echo "Doing install-info in uudecode" ; \
24633 (cd $(HOST_SUBDIR)/uudecode && \
24634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24636 "RANLIB=$${RANLIB}" \
24637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24638 install-info) \
24639 || exit 1
24641 @endif uudecode
24643 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
24644 maybe-installcheck-uudecode:
24645 @if uudecode
24646 maybe-installcheck-uudecode: installcheck-uudecode
24648 installcheck-uudecode: \
24649 configure-uudecode
24650 @$(unstage)
24651 @[ -f ./uudecode/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 $(HOST_EXPORTS) \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24657 done; \
24658 echo "Doing installcheck in uudecode" ; \
24659 (cd $(HOST_SUBDIR)/uudecode && \
24660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662 "RANLIB=$${RANLIB}" \
24663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24664 installcheck) \
24665 || exit 1
24667 @endif uudecode
24669 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
24670 maybe-mostlyclean-uudecode:
24671 @if uudecode
24672 maybe-mostlyclean-uudecode: mostlyclean-uudecode
24674 mostlyclean-uudecode:
24675 @$(unstage)
24676 @[ -f ./uudecode/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing mostlyclean in uudecode" ; \
24684 (cd $(HOST_SUBDIR)/uudecode && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24689 mostlyclean) \
24690 || exit 1
24692 @endif uudecode
24694 .PHONY: maybe-clean-uudecode clean-uudecode
24695 maybe-clean-uudecode:
24696 @if uudecode
24697 maybe-clean-uudecode: clean-uudecode
24699 clean-uudecode:
24700 @$(unstage)
24701 @[ -f ./uudecode/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24707 done; \
24708 echo "Doing clean in uudecode" ; \
24709 (cd $(HOST_SUBDIR)/uudecode && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24714 clean) \
24715 || exit 1
24717 @endif uudecode
24719 .PHONY: maybe-distclean-uudecode distclean-uudecode
24720 maybe-distclean-uudecode:
24721 @if uudecode
24722 maybe-distclean-uudecode: distclean-uudecode
24724 distclean-uudecode:
24725 @$(unstage)
24726 @[ -f ./uudecode/Makefile ] || exit 0; \
24727 r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(HOST_EXPORTS) \
24730 for flag in $(EXTRA_HOST_FLAGS) ; do \
24731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24732 done; \
24733 echo "Doing distclean in uudecode" ; \
24734 (cd $(HOST_SUBDIR)/uudecode && \
24735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24737 "RANLIB=$${RANLIB}" \
24738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24739 distclean) \
24740 || exit 1
24742 @endif uudecode
24744 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
24745 maybe-maintainer-clean-uudecode:
24746 @if uudecode
24747 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
24749 maintainer-clean-uudecode:
24750 @$(unstage)
24751 @[ -f ./uudecode/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing maintainer-clean in uudecode" ; \
24759 (cd $(HOST_SUBDIR)/uudecode && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24764 maintainer-clean) \
24765 || exit 1
24767 @endif uudecode
24771 .PHONY: configure-wdiff maybe-configure-wdiff
24772 maybe-configure-wdiff:
24773 @if wdiff
24774 maybe-configure-wdiff: configure-wdiff
24775 configure-wdiff:
24776 @$(unstage)
24777 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
24778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
24779 r=`${PWD_COMMAND}`; export r; \
24780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24781 $(HOST_EXPORTS) \
24782 echo Configuring in $(HOST_SUBDIR)/wdiff; \
24783 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
24784 case $(srcdir) in \
24785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24786 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
24787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24788 esac; \
24789 srcdiroption="--srcdir=$${topdir}/wdiff"; \
24790 libsrcdir="$$s/wdiff"; \
24791 $(SHELL) $${libsrcdir}/configure \
24792 $(HOST_CONFIGARGS) $${srcdiroption} \
24793 || exit 1
24794 @endif wdiff
24800 .PHONY: all-wdiff maybe-all-wdiff
24801 maybe-all-wdiff:
24802 @if wdiff
24803 TARGET-wdiff=all
24804 maybe-all-wdiff: all-wdiff
24805 all-wdiff: configure-wdiff
24806 @$(unstage)
24807 @r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24809 $(HOST_EXPORTS) \
24810 (cd $(HOST_SUBDIR)/wdiff && \
24811 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
24812 @endif wdiff
24817 .PHONY: check-wdiff maybe-check-wdiff
24818 maybe-check-wdiff:
24819 @if wdiff
24820 maybe-check-wdiff: check-wdiff
24822 check-wdiff:
24823 @$(unstage)
24824 @r=`${PWD_COMMAND}`; export r; \
24825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24826 $(HOST_EXPORTS) \
24827 (cd $(HOST_SUBDIR)/wdiff && \
24828 $(MAKE) $(FLAGS_TO_PASS) check)
24830 @endif wdiff
24832 .PHONY: install-wdiff maybe-install-wdiff
24833 maybe-install-wdiff:
24834 @if wdiff
24835 maybe-install-wdiff: install-wdiff
24837 install-wdiff: installdirs
24838 @$(unstage)
24839 @r=`${PWD_COMMAND}`; export r; \
24840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24841 $(HOST_EXPORTS) \
24842 (cd $(HOST_SUBDIR)/wdiff && \
24843 $(MAKE) $(FLAGS_TO_PASS) install)
24845 @endif wdiff
24847 # Other targets (info, dvi, etc.)
24849 .PHONY: maybe-info-wdiff info-wdiff
24850 maybe-info-wdiff:
24851 @if wdiff
24852 maybe-info-wdiff: info-wdiff
24854 info-wdiff: \
24855 configure-wdiff
24856 @$(unstage)
24857 @[ -f ./wdiff/Makefile ] || exit 0; \
24858 r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24860 $(HOST_EXPORTS) \
24861 for flag in $(EXTRA_HOST_FLAGS) ; do \
24862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24863 done; \
24864 echo "Doing info in wdiff" ; \
24865 (cd $(HOST_SUBDIR)/wdiff && \
24866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24868 "RANLIB=$${RANLIB}" \
24869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24870 info) \
24871 || exit 1
24873 @endif wdiff
24875 .PHONY: maybe-dvi-wdiff dvi-wdiff
24876 maybe-dvi-wdiff:
24877 @if wdiff
24878 maybe-dvi-wdiff: dvi-wdiff
24880 dvi-wdiff: \
24881 configure-wdiff
24882 @$(unstage)
24883 @[ -f ./wdiff/Makefile ] || exit 0; \
24884 r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 $(HOST_EXPORTS) \
24887 for flag in $(EXTRA_HOST_FLAGS) ; do \
24888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24889 done; \
24890 echo "Doing dvi in wdiff" ; \
24891 (cd $(HOST_SUBDIR)/wdiff && \
24892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24894 "RANLIB=$${RANLIB}" \
24895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24896 dvi) \
24897 || exit 1
24899 @endif wdiff
24901 .PHONY: maybe-html-wdiff html-wdiff
24902 maybe-html-wdiff:
24903 @if wdiff
24904 maybe-html-wdiff: html-wdiff
24906 html-wdiff: \
24907 configure-wdiff
24908 @$(unstage)
24909 @[ -f ./wdiff/Makefile ] || exit 0; \
24910 r=`${PWD_COMMAND}`; export r; \
24911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 $(HOST_EXPORTS) \
24913 for flag in $(EXTRA_HOST_FLAGS) ; do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 done; \
24916 echo "Doing html in wdiff" ; \
24917 (cd $(HOST_SUBDIR)/wdiff && \
24918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24920 "RANLIB=$${RANLIB}" \
24921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24922 html) \
24923 || exit 1
24925 @endif wdiff
24927 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
24928 maybe-TAGS-wdiff:
24929 @if wdiff
24930 maybe-TAGS-wdiff: TAGS-wdiff
24932 TAGS-wdiff: \
24933 configure-wdiff
24934 @$(unstage)
24935 @[ -f ./wdiff/Makefile ] || exit 0; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(HOST_EXPORTS) \
24939 for flag in $(EXTRA_HOST_FLAGS) ; do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24941 done; \
24942 echo "Doing TAGS in wdiff" ; \
24943 (cd $(HOST_SUBDIR)/wdiff && \
24944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24946 "RANLIB=$${RANLIB}" \
24947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24948 TAGS) \
24949 || exit 1
24951 @endif wdiff
24953 .PHONY: maybe-install-info-wdiff install-info-wdiff
24954 maybe-install-info-wdiff:
24955 @if wdiff
24956 maybe-install-info-wdiff: install-info-wdiff
24958 install-info-wdiff: \
24959 configure-wdiff \
24960 info-wdiff
24961 @$(unstage)
24962 @[ -f ./wdiff/Makefile ] || exit 0; \
24963 r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24965 $(HOST_EXPORTS) \
24966 for flag in $(EXTRA_HOST_FLAGS) ; do \
24967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24968 done; \
24969 echo "Doing install-info in wdiff" ; \
24970 (cd $(HOST_SUBDIR)/wdiff && \
24971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24973 "RANLIB=$${RANLIB}" \
24974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24975 install-info) \
24976 || exit 1
24978 @endif wdiff
24980 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
24981 maybe-installcheck-wdiff:
24982 @if wdiff
24983 maybe-installcheck-wdiff: installcheck-wdiff
24985 installcheck-wdiff: \
24986 configure-wdiff
24987 @$(unstage)
24988 @[ -f ./wdiff/Makefile ] || exit 0; \
24989 r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(HOST_EXPORTS) \
24992 for flag in $(EXTRA_HOST_FLAGS) ; do \
24993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24994 done; \
24995 echo "Doing installcheck in wdiff" ; \
24996 (cd $(HOST_SUBDIR)/wdiff && \
24997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24999 "RANLIB=$${RANLIB}" \
25000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25001 installcheck) \
25002 || exit 1
25004 @endif wdiff
25006 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25007 maybe-mostlyclean-wdiff:
25008 @if wdiff
25009 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25011 mostlyclean-wdiff:
25012 @$(unstage)
25013 @[ -f ./wdiff/Makefile ] || exit 0; \
25014 r=`${PWD_COMMAND}`; export r; \
25015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25016 $(HOST_EXPORTS) \
25017 for flag in $(EXTRA_HOST_FLAGS) ; do \
25018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25019 done; \
25020 echo "Doing mostlyclean in wdiff" ; \
25021 (cd $(HOST_SUBDIR)/wdiff && \
25022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25024 "RANLIB=$${RANLIB}" \
25025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25026 mostlyclean) \
25027 || exit 1
25029 @endif wdiff
25031 .PHONY: maybe-clean-wdiff clean-wdiff
25032 maybe-clean-wdiff:
25033 @if wdiff
25034 maybe-clean-wdiff: clean-wdiff
25036 clean-wdiff:
25037 @$(unstage)
25038 @[ -f ./wdiff/Makefile ] || exit 0; \
25039 r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041 $(HOST_EXPORTS) \
25042 for flag in $(EXTRA_HOST_FLAGS) ; do \
25043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25044 done; \
25045 echo "Doing clean in wdiff" ; \
25046 (cd $(HOST_SUBDIR)/wdiff && \
25047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25049 "RANLIB=$${RANLIB}" \
25050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25051 clean) \
25052 || exit 1
25054 @endif wdiff
25056 .PHONY: maybe-distclean-wdiff distclean-wdiff
25057 maybe-distclean-wdiff:
25058 @if wdiff
25059 maybe-distclean-wdiff: distclean-wdiff
25061 distclean-wdiff:
25062 @$(unstage)
25063 @[ -f ./wdiff/Makefile ] || exit 0; \
25064 r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066 $(HOST_EXPORTS) \
25067 for flag in $(EXTRA_HOST_FLAGS) ; do \
25068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25069 done; \
25070 echo "Doing distclean in wdiff" ; \
25071 (cd $(HOST_SUBDIR)/wdiff && \
25072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25074 "RANLIB=$${RANLIB}" \
25075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25076 distclean) \
25077 || exit 1
25079 @endif wdiff
25081 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25082 maybe-maintainer-clean-wdiff:
25083 @if wdiff
25084 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25086 maintainer-clean-wdiff:
25087 @$(unstage)
25088 @[ -f ./wdiff/Makefile ] || exit 0; \
25089 r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 $(HOST_EXPORTS) \
25092 for flag in $(EXTRA_HOST_FLAGS) ; do \
25093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25094 done; \
25095 echo "Doing maintainer-clean in wdiff" ; \
25096 (cd $(HOST_SUBDIR)/wdiff && \
25097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25099 "RANLIB=$${RANLIB}" \
25100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25101 maintainer-clean) \
25102 || exit 1
25104 @endif wdiff
25108 .PHONY: configure-zip maybe-configure-zip
25109 maybe-configure-zip:
25110 @if zip
25111 maybe-configure-zip: configure-zip
25112 configure-zip:
25113 @$(unstage)
25114 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25116 r=`${PWD_COMMAND}`; export r; \
25117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25118 $(HOST_EXPORTS) \
25119 echo Configuring in $(HOST_SUBDIR)/zip; \
25120 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25121 case $(srcdir) in \
25122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25123 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25125 esac; \
25126 srcdiroption="--srcdir=$${topdir}/zip"; \
25127 libsrcdir="$$s/zip"; \
25128 $(SHELL) $${libsrcdir}/configure \
25129 $(HOST_CONFIGARGS) $${srcdiroption} \
25130 || exit 1
25131 @endif zip
25137 .PHONY: all-zip maybe-all-zip
25138 maybe-all-zip:
25139 @if zip
25140 TARGET-zip=all
25141 maybe-all-zip: all-zip
25142 all-zip: configure-zip
25143 @$(unstage)
25144 @r=`${PWD_COMMAND}`; export r; \
25145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25146 $(HOST_EXPORTS) \
25147 (cd $(HOST_SUBDIR)/zip && \
25148 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25149 @endif zip
25154 .PHONY: check-zip maybe-check-zip
25155 maybe-check-zip:
25156 @if zip
25157 maybe-check-zip: check-zip
25159 # This module is only tested in a native toolchain.
25160 check-zip:
25161 @$(unstage)
25162 @if [ '$(host)' = '$(target)' ] ; then \
25163 r=`${PWD_COMMAND}`; export r; \
25164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25165 $(HOST_EXPORTS) \
25166 (cd $(HOST_SUBDIR)/zip && \
25167 $(MAKE) $(FLAGS_TO_PASS) check); \
25170 @endif zip
25172 .PHONY: install-zip maybe-install-zip
25173 maybe-install-zip:
25174 @if zip
25175 maybe-install-zip: install-zip
25177 install-zip: installdirs
25178 @$(unstage)
25179 @r=`${PWD_COMMAND}`; export r; \
25180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25181 $(HOST_EXPORTS) \
25182 (cd $(HOST_SUBDIR)/zip && \
25183 $(MAKE) $(FLAGS_TO_PASS) install)
25185 @endif zip
25187 # Other targets (info, dvi, etc.)
25189 .PHONY: maybe-info-zip info-zip
25190 maybe-info-zip:
25191 @if zip
25192 maybe-info-zip: info-zip
25194 info-zip: \
25195 configure-zip
25196 @$(unstage)
25197 @[ -f ./zip/Makefile ] || exit 0; \
25198 r=`${PWD_COMMAND}`; export r; \
25199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25200 $(HOST_EXPORTS) \
25201 for flag in $(EXTRA_HOST_FLAGS) ; do \
25202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25203 done; \
25204 echo "Doing info in zip" ; \
25205 (cd $(HOST_SUBDIR)/zip && \
25206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25208 "RANLIB=$${RANLIB}" \
25209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25210 info) \
25211 || exit 1
25213 @endif zip
25215 .PHONY: maybe-dvi-zip dvi-zip
25216 maybe-dvi-zip:
25217 @if zip
25218 maybe-dvi-zip: dvi-zip
25220 dvi-zip: \
25221 configure-zip
25222 @$(unstage)
25223 @[ -f ./zip/Makefile ] || exit 0; \
25224 r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226 $(HOST_EXPORTS) \
25227 for flag in $(EXTRA_HOST_FLAGS) ; do \
25228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25229 done; \
25230 echo "Doing dvi in zip" ; \
25231 (cd $(HOST_SUBDIR)/zip && \
25232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25234 "RANLIB=$${RANLIB}" \
25235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25236 dvi) \
25237 || exit 1
25239 @endif zip
25241 .PHONY: maybe-html-zip html-zip
25242 maybe-html-zip:
25243 @if zip
25244 maybe-html-zip: html-zip
25246 html-zip: \
25247 configure-zip
25248 @$(unstage)
25249 @[ -f ./zip/Makefile ] || exit 0; \
25250 r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252 $(HOST_EXPORTS) \
25253 for flag in $(EXTRA_HOST_FLAGS) ; do \
25254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25255 done; \
25256 echo "Doing html in zip" ; \
25257 (cd $(HOST_SUBDIR)/zip && \
25258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25260 "RANLIB=$${RANLIB}" \
25261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25262 html) \
25263 || exit 1
25265 @endif zip
25267 .PHONY: maybe-TAGS-zip TAGS-zip
25268 maybe-TAGS-zip:
25269 @if zip
25270 maybe-TAGS-zip: TAGS-zip
25272 TAGS-zip: \
25273 configure-zip
25274 @$(unstage)
25275 @[ -f ./zip/Makefile ] || exit 0; \
25276 r=`${PWD_COMMAND}`; export r; \
25277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25278 $(HOST_EXPORTS) \
25279 for flag in $(EXTRA_HOST_FLAGS) ; do \
25280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25281 done; \
25282 echo "Doing TAGS in zip" ; \
25283 (cd $(HOST_SUBDIR)/zip && \
25284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25286 "RANLIB=$${RANLIB}" \
25287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25288 TAGS) \
25289 || exit 1
25291 @endif zip
25293 .PHONY: maybe-install-info-zip install-info-zip
25294 maybe-install-info-zip:
25295 @if zip
25296 maybe-install-info-zip: install-info-zip
25298 install-info-zip: \
25299 configure-zip \
25300 info-zip
25301 @$(unstage)
25302 @[ -f ./zip/Makefile ] || exit 0; \
25303 r=`${PWD_COMMAND}`; export r; \
25304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25305 $(HOST_EXPORTS) \
25306 for flag in $(EXTRA_HOST_FLAGS) ; do \
25307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25308 done; \
25309 echo "Doing install-info in zip" ; \
25310 (cd $(HOST_SUBDIR)/zip && \
25311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25313 "RANLIB=$${RANLIB}" \
25314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25315 install-info) \
25316 || exit 1
25318 @endif zip
25320 .PHONY: maybe-installcheck-zip installcheck-zip
25321 maybe-installcheck-zip:
25322 @if zip
25323 maybe-installcheck-zip: installcheck-zip
25325 installcheck-zip: \
25326 configure-zip
25327 @$(unstage)
25328 @[ -f ./zip/Makefile ] || exit 0; \
25329 r=`${PWD_COMMAND}`; export r; \
25330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25331 $(HOST_EXPORTS) \
25332 for flag in $(EXTRA_HOST_FLAGS) ; do \
25333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25334 done; \
25335 echo "Doing installcheck in zip" ; \
25336 (cd $(HOST_SUBDIR)/zip && \
25337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25339 "RANLIB=$${RANLIB}" \
25340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25341 installcheck) \
25342 || exit 1
25344 @endif zip
25346 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25347 maybe-mostlyclean-zip:
25348 @if zip
25349 maybe-mostlyclean-zip: mostlyclean-zip
25351 mostlyclean-zip:
25352 @$(unstage)
25353 @[ -f ./zip/Makefile ] || exit 0; \
25354 r=`${PWD_COMMAND}`; export r; \
25355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356 $(HOST_EXPORTS) \
25357 for flag in $(EXTRA_HOST_FLAGS) ; do \
25358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25359 done; \
25360 echo "Doing mostlyclean in zip" ; \
25361 (cd $(HOST_SUBDIR)/zip && \
25362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25364 "RANLIB=$${RANLIB}" \
25365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25366 mostlyclean) \
25367 || exit 1
25369 @endif zip
25371 .PHONY: maybe-clean-zip clean-zip
25372 maybe-clean-zip:
25373 @if zip
25374 maybe-clean-zip: clean-zip
25376 clean-zip:
25377 @$(unstage)
25378 @[ -f ./zip/Makefile ] || exit 0; \
25379 r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25381 $(HOST_EXPORTS) \
25382 for flag in $(EXTRA_HOST_FLAGS) ; do \
25383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25384 done; \
25385 echo "Doing clean in zip" ; \
25386 (cd $(HOST_SUBDIR)/zip && \
25387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25389 "RANLIB=$${RANLIB}" \
25390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25391 clean) \
25392 || exit 1
25394 @endif zip
25396 .PHONY: maybe-distclean-zip distclean-zip
25397 maybe-distclean-zip:
25398 @if zip
25399 maybe-distclean-zip: distclean-zip
25401 distclean-zip:
25402 @$(unstage)
25403 @[ -f ./zip/Makefile ] || exit 0; \
25404 r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 $(HOST_EXPORTS) \
25407 for flag in $(EXTRA_HOST_FLAGS) ; do \
25408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25409 done; \
25410 echo "Doing distclean in zip" ; \
25411 (cd $(HOST_SUBDIR)/zip && \
25412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25414 "RANLIB=$${RANLIB}" \
25415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25416 distclean) \
25417 || exit 1
25419 @endif zip
25421 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25422 maybe-maintainer-clean-zip:
25423 @if zip
25424 maybe-maintainer-clean-zip: maintainer-clean-zip
25426 maintainer-clean-zip:
25427 @$(unstage)
25428 @[ -f ./zip/Makefile ] || exit 0; \
25429 r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431 $(HOST_EXPORTS) \
25432 for flag in $(EXTRA_HOST_FLAGS) ; do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25434 done; \
25435 echo "Doing maintainer-clean in zip" ; \
25436 (cd $(HOST_SUBDIR)/zip && \
25437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25439 "RANLIB=$${RANLIB}" \
25440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25441 maintainer-clean) \
25442 || exit 1
25444 @endif zip
25448 .PHONY: configure-zlib maybe-configure-zlib
25449 maybe-configure-zlib:
25450 @if zlib
25451 maybe-configure-zlib: configure-zlib
25452 configure-zlib:
25453 @test -f stage_last && exit 0; \
25454 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25456 r=`${PWD_COMMAND}`; export r; \
25457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25458 $(HOST_EXPORTS) \
25459 echo Configuring in $(HOST_SUBDIR)/zlib; \
25460 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25461 case $(srcdir) in \
25462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25463 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25465 esac; \
25466 srcdiroption="--srcdir=$${topdir}/zlib"; \
25467 libsrcdir="$$s/zlib"; \
25468 $(SHELL) $${libsrcdir}/configure \
25469 $(HOST_CONFIGARGS) $${srcdiroption} \
25470 || exit 1
25471 @endif zlib
25475 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25476 maybe-configure-stage1-zlib:
25477 @if zlib-bootstrap
25478 maybe-configure-stage1-zlib: configure-stage1-zlib
25479 configure-stage1-zlib:
25480 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25481 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25482 r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25484 $(HOST_EXPORTS) \
25485 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25486 cd $(HOST_SUBDIR)/zlib || exit 1; \
25487 case $(srcdir) in \
25488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25489 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25491 esac; \
25492 srcdiroption="--srcdir=$${topdir}/zlib"; \
25493 libsrcdir="$$s/zlib"; \
25494 $(SHELL) $${libsrcdir}/configure \
25495 $(HOST_CONFIGARGS) $${srcdiroption} \
25496 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25497 @endif zlib-bootstrap
25499 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25500 maybe-configure-stage2-zlib:
25501 @if zlib-bootstrap
25502 maybe-configure-stage2-zlib: configure-stage2-zlib
25503 configure-stage2-zlib:
25504 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25505 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 $(HOST_EXPORTS) \
25509 $(POSTSTAGE1_HOST_EXPORTS) \
25510 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25511 cd $(HOST_SUBDIR)/zlib || exit 1; \
25512 case $(srcdir) in \
25513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25514 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25516 esac; \
25517 srcdiroption="--srcdir=$${topdir}/zlib"; \
25518 libsrcdir="$$s/zlib"; \
25519 $(SHELL) $${libsrcdir}/configure \
25520 $(HOST_CONFIGARGS) $${srcdiroption} \
25521 @stage2_werror_flag@
25522 @endif zlib-bootstrap
25524 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25525 maybe-configure-stage3-zlib:
25526 @if zlib-bootstrap
25527 maybe-configure-stage3-zlib: configure-stage3-zlib
25528 configure-stage3-zlib:
25529 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25530 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) \
25534 $(POSTSTAGE1_HOST_EXPORTS) \
25535 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25536 cd $(HOST_SUBDIR)/zlib || exit 1; \
25537 case $(srcdir) in \
25538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25539 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25541 esac; \
25542 srcdiroption="--srcdir=$${topdir}/zlib"; \
25543 libsrcdir="$$s/zlib"; \
25544 $(SHELL) $${libsrcdir}/configure \
25545 $(HOST_CONFIGARGS) $${srcdiroption} \
25546 @stage2_werror_flag@
25547 @endif zlib-bootstrap
25549 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25550 maybe-configure-stage4-zlib:
25551 @if zlib-bootstrap
25552 maybe-configure-stage4-zlib: configure-stage4-zlib
25553 configure-stage4-zlib:
25554 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25555 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25558 $(HOST_EXPORTS) \
25559 $(POSTSTAGE1_HOST_EXPORTS) \
25560 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25561 cd $(HOST_SUBDIR)/zlib || exit 1; \
25562 case $(srcdir) in \
25563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25564 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25566 esac; \
25567 srcdiroption="--srcdir=$${topdir}/zlib"; \
25568 libsrcdir="$$s/zlib"; \
25569 $(SHELL) $${libsrcdir}/configure \
25570 $(HOST_CONFIGARGS) $${srcdiroption} \
25571 @stage2_werror_flag@
25572 @endif zlib-bootstrap
25574 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25575 maybe-configure-stageprofile-zlib:
25576 @if zlib-bootstrap
25577 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25578 configure-stageprofile-zlib:
25579 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25580 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25581 r=`${PWD_COMMAND}`; export r; \
25582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25583 $(HOST_EXPORTS) \
25584 $(POSTSTAGE1_HOST_EXPORTS) \
25585 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25586 cd $(HOST_SUBDIR)/zlib || exit 1; \
25587 case $(srcdir) in \
25588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25589 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25591 esac; \
25592 srcdiroption="--srcdir=$${topdir}/zlib"; \
25593 libsrcdir="$$s/zlib"; \
25594 $(SHELL) $${libsrcdir}/configure \
25595 $(HOST_CONFIGARGS) $${srcdiroption} \
25596 @stage2_werror_flag@
25597 @endif zlib-bootstrap
25599 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25600 maybe-configure-stagefeedback-zlib:
25601 @if zlib-bootstrap
25602 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25603 configure-stagefeedback-zlib:
25604 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25605 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25606 r=`${PWD_COMMAND}`; export r; \
25607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25608 $(HOST_EXPORTS) \
25609 $(POSTSTAGE1_HOST_EXPORTS) \
25610 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25611 cd $(HOST_SUBDIR)/zlib || exit 1; \
25612 case $(srcdir) in \
25613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25614 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25616 esac; \
25617 srcdiroption="--srcdir=$${topdir}/zlib"; \
25618 libsrcdir="$$s/zlib"; \
25619 $(SHELL) $${libsrcdir}/configure \
25620 $(HOST_CONFIGARGS) $${srcdiroption} \
25621 @stage2_werror_flag@
25622 @endif zlib-bootstrap
25628 .PHONY: all-zlib maybe-all-zlib
25629 maybe-all-zlib:
25630 @if zlib
25631 TARGET-zlib=all
25632 maybe-all-zlib: all-zlib
25633 all-zlib: configure-zlib
25634 @test -f stage_last && exit 0; \
25635 r=`${PWD_COMMAND}`; export r; \
25636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25637 $(HOST_EXPORTS) \
25638 (cd $(HOST_SUBDIR)/zlib && \
25639 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
25640 @endif zlib
25644 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25645 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25646 maybe-all-stage1-zlib:
25647 maybe-clean-stage1-zlib:
25648 @if zlib-bootstrap
25649 maybe-all-stage1-zlib: all-stage1-zlib
25650 all-stage1: all-stage1-zlib
25651 TARGET-stage1-zlib = $(TARGET-zlib)
25652 all-stage1-zlib: configure-stage1-zlib
25653 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25654 @r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 $(HOST_EXPORTS) \
25657 cd $(HOST_SUBDIR)/zlib && \
25658 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
25659 $(TARGET-stage1-zlib)
25661 maybe-clean-stage1-zlib: clean-stage1-zlib
25662 clean-stage1: clean-stage1-zlib
25663 clean-stage1-zlib:
25664 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
25665 || exit 0 ; \
25666 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25667 cd $(HOST_SUBDIR)/zlib && \
25668 $(MAKE) $(FLAGS_TO_PASS) \
25669 CFLAGS="$(STAGE1_CFLAGS)" clean
25670 @endif zlib-bootstrap
25673 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25674 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25675 maybe-all-stage2-zlib:
25676 maybe-clean-stage2-zlib:
25677 @if zlib-bootstrap
25678 maybe-all-stage2-zlib: all-stage2-zlib
25679 all-stage2: all-stage2-zlib
25680 TARGET-stage2-zlib = $(TARGET-zlib)
25681 all-stage2-zlib: configure-stage2-zlib
25682 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25683 @r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(HOST_EXPORTS) \
25686 $(POSTSTAGE1_HOST_EXPORTS) \
25687 cd $(HOST_SUBDIR)/zlib && \
25688 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25689 $(TARGET-stage2-zlib)
25691 maybe-clean-stage2-zlib: clean-stage2-zlib
25692 clean-stage2: clean-stage2-zlib
25693 clean-stage2-zlib:
25694 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
25695 || exit 0 ; \
25696 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25697 cd $(HOST_SUBDIR)/zlib && \
25698 $(MAKE) $(FLAGS_TO_PASS) \
25699 $(POSTSTAGE1_FLAGS_TO_PASS) \
25700 clean
25701 @endif zlib-bootstrap
25704 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25705 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25706 maybe-all-stage3-zlib:
25707 maybe-clean-stage3-zlib:
25708 @if zlib-bootstrap
25709 maybe-all-stage3-zlib: all-stage3-zlib
25710 all-stage3: all-stage3-zlib
25711 TARGET-stage3-zlib = $(TARGET-zlib)
25712 all-stage3-zlib: configure-stage3-zlib
25713 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25714 @r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 $(HOST_EXPORTS) \
25717 $(POSTSTAGE1_HOST_EXPORTS) \
25718 cd $(HOST_SUBDIR)/zlib && \
25719 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25720 $(TARGET-stage3-zlib)
25722 maybe-clean-stage3-zlib: clean-stage3-zlib
25723 clean-stage3: clean-stage3-zlib
25724 clean-stage3-zlib:
25725 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
25726 || exit 0 ; \
25727 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25728 cd $(HOST_SUBDIR)/zlib && \
25729 $(MAKE) $(FLAGS_TO_PASS) \
25730 $(POSTSTAGE1_FLAGS_TO_PASS) \
25731 clean
25732 @endif zlib-bootstrap
25735 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25736 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25737 maybe-all-stage4-zlib:
25738 maybe-clean-stage4-zlib:
25739 @if zlib-bootstrap
25740 maybe-all-stage4-zlib: all-stage4-zlib
25741 all-stage4: all-stage4-zlib
25742 TARGET-stage4-zlib = $(TARGET-zlib)
25743 all-stage4-zlib: configure-stage4-zlib
25744 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25745 @r=`${PWD_COMMAND}`; export r; \
25746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25747 $(HOST_EXPORTS) \
25748 $(POSTSTAGE1_HOST_EXPORTS) \
25749 cd $(HOST_SUBDIR)/zlib && \
25750 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25751 $(TARGET-stage4-zlib)
25753 maybe-clean-stage4-zlib: clean-stage4-zlib
25754 clean-stage4: clean-stage4-zlib
25755 clean-stage4-zlib:
25756 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
25757 || exit 0 ; \
25758 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25759 cd $(HOST_SUBDIR)/zlib && \
25760 $(MAKE) $(FLAGS_TO_PASS) \
25761 $(POSTSTAGE1_FLAGS_TO_PASS) \
25762 clean
25763 @endif zlib-bootstrap
25766 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25767 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25768 maybe-all-stageprofile-zlib:
25769 maybe-clean-stageprofile-zlib:
25770 @if zlib-bootstrap
25771 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25772 all-stageprofile: all-stageprofile-zlib
25773 TARGET-stageprofile-zlib = $(TARGET-zlib)
25774 all-stageprofile-zlib: configure-stageprofile-zlib
25775 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25776 @r=`${PWD_COMMAND}`; export r; \
25777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25778 $(HOST_EXPORTS) \
25779 $(POSTSTAGE1_HOST_EXPORTS) \
25780 cd $(HOST_SUBDIR)/zlib && \
25781 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
25782 $(TARGET-stageprofile-zlib)
25784 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25785 clean-stageprofile: clean-stageprofile-zlib
25786 clean-stageprofile-zlib:
25787 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
25788 || exit 0 ; \
25789 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25790 cd $(HOST_SUBDIR)/zlib && \
25791 $(MAKE) $(FLAGS_TO_PASS) \
25792 $(POSTSTAGE1_FLAGS_TO_PASS) \
25793 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
25794 @endif zlib-bootstrap
25797 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25798 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25799 maybe-all-stagefeedback-zlib:
25800 maybe-clean-stagefeedback-zlib:
25801 @if zlib-bootstrap
25802 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25803 all-stagefeedback: all-stagefeedback-zlib
25804 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25805 all-stagefeedback-zlib: configure-stagefeedback-zlib
25806 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25807 @r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25809 $(HOST_EXPORTS) \
25810 $(POSTSTAGE1_HOST_EXPORTS) \
25811 cd $(HOST_SUBDIR)/zlib && \
25812 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
25813 $(TARGET-stagefeedback-zlib)
25815 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25816 clean-stagefeedback: clean-stagefeedback-zlib
25817 clean-stagefeedback-zlib:
25818 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
25819 || exit 0 ; \
25820 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25821 cd $(HOST_SUBDIR)/zlib && \
25822 $(MAKE) $(FLAGS_TO_PASS) \
25823 $(POSTSTAGE1_FLAGS_TO_PASS) \
25824 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
25825 @endif zlib-bootstrap
25831 .PHONY: check-zlib maybe-check-zlib
25832 maybe-check-zlib:
25833 @if zlib
25834 maybe-check-zlib: check-zlib
25836 check-zlib:
25838 @endif zlib
25840 .PHONY: install-zlib maybe-install-zlib
25841 maybe-install-zlib:
25842 @if zlib
25843 maybe-install-zlib: install-zlib
25845 install-zlib:
25847 @endif zlib
25849 # Other targets (info, dvi, etc.)
25851 .PHONY: maybe-info-zlib info-zlib
25852 maybe-info-zlib:
25853 @if zlib
25854 maybe-info-zlib: info-zlib
25856 info-zlib: \
25857 configure-zlib
25858 @[ -f ./zlib/Makefile ] || exit 0; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 $(HOST_EXPORTS) \
25862 for flag in $(EXTRA_HOST_FLAGS) ; do \
25863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25864 done; \
25865 echo "Doing info in zlib" ; \
25866 (cd $(HOST_SUBDIR)/zlib && \
25867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25869 "RANLIB=$${RANLIB}" \
25870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25871 info) \
25872 || exit 1
25874 @endif zlib
25876 .PHONY: maybe-dvi-zlib dvi-zlib
25877 maybe-dvi-zlib:
25878 @if zlib
25879 maybe-dvi-zlib: dvi-zlib
25881 dvi-zlib: \
25882 configure-zlib
25883 @[ -f ./zlib/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(HOST_EXPORTS) \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25889 done; \
25890 echo "Doing dvi in zlib" ; \
25891 (cd $(HOST_SUBDIR)/zlib && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25896 dvi) \
25897 || exit 1
25899 @endif zlib
25901 .PHONY: maybe-html-zlib html-zlib
25902 maybe-html-zlib:
25903 @if zlib
25904 maybe-html-zlib: html-zlib
25906 html-zlib: \
25907 configure-zlib
25908 @[ -f ./zlib/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25914 done; \
25915 echo "Doing html in zlib" ; \
25916 (cd $(HOST_SUBDIR)/zlib && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25921 html) \
25922 || exit 1
25924 @endif zlib
25926 .PHONY: maybe-TAGS-zlib TAGS-zlib
25927 maybe-TAGS-zlib:
25928 @if zlib
25929 maybe-TAGS-zlib: TAGS-zlib
25931 TAGS-zlib: \
25932 configure-zlib
25933 @[ -f ./zlib/Makefile ] || exit 0; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936 $(HOST_EXPORTS) \
25937 for flag in $(EXTRA_HOST_FLAGS) ; do \
25938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25939 done; \
25940 echo "Doing TAGS in zlib" ; \
25941 (cd $(HOST_SUBDIR)/zlib && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946 TAGS) \
25947 || exit 1
25949 @endif zlib
25951 .PHONY: maybe-install-info-zlib install-info-zlib
25952 maybe-install-info-zlib:
25953 @if zlib
25954 maybe-install-info-zlib: install-info-zlib
25956 install-info-zlib: \
25957 configure-zlib \
25958 info-zlib
25959 @[ -f ./zlib/Makefile ] || exit 0; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25962 $(HOST_EXPORTS) \
25963 for flag in $(EXTRA_HOST_FLAGS) ; do \
25964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25965 done; \
25966 echo "Doing install-info in zlib" ; \
25967 (cd $(HOST_SUBDIR)/zlib && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25970 "RANLIB=$${RANLIB}" \
25971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25972 install-info) \
25973 || exit 1
25975 @endif zlib
25977 .PHONY: maybe-installcheck-zlib installcheck-zlib
25978 maybe-installcheck-zlib:
25979 @if zlib
25980 maybe-installcheck-zlib: installcheck-zlib
25982 installcheck-zlib: \
25983 configure-zlib
25984 @[ -f ./zlib/Makefile ] || exit 0; \
25985 r=`${PWD_COMMAND}`; export r; \
25986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25987 $(HOST_EXPORTS) \
25988 for flag in $(EXTRA_HOST_FLAGS) ; do \
25989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25990 done; \
25991 echo "Doing installcheck in zlib" ; \
25992 (cd $(HOST_SUBDIR)/zlib && \
25993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25995 "RANLIB=$${RANLIB}" \
25996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25997 installcheck) \
25998 || exit 1
26000 @endif zlib
26002 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26003 maybe-mostlyclean-zlib:
26004 @if zlib
26005 maybe-mostlyclean-zlib: mostlyclean-zlib
26007 mostlyclean-zlib:
26008 @[ -f ./zlib/Makefile ] || exit 0; \
26009 r=`${PWD_COMMAND}`; export r; \
26010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26011 $(HOST_EXPORTS) \
26012 for flag in $(EXTRA_HOST_FLAGS) ; do \
26013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26014 done; \
26015 echo "Doing mostlyclean in zlib" ; \
26016 (cd $(HOST_SUBDIR)/zlib && \
26017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26019 "RANLIB=$${RANLIB}" \
26020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26021 mostlyclean) \
26022 || exit 1
26024 @endif zlib
26026 .PHONY: maybe-clean-zlib clean-zlib
26027 maybe-clean-zlib:
26028 @if zlib
26029 maybe-clean-zlib: clean-zlib
26031 clean-zlib:
26032 @[ -f ./zlib/Makefile ] || exit 0; \
26033 r=`${PWD_COMMAND}`; export r; \
26034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26035 $(HOST_EXPORTS) \
26036 for flag in $(EXTRA_HOST_FLAGS) ; do \
26037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26038 done; \
26039 echo "Doing clean in zlib" ; \
26040 (cd $(HOST_SUBDIR)/zlib && \
26041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26043 "RANLIB=$${RANLIB}" \
26044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26045 clean) \
26046 || exit 1
26048 @endif zlib
26050 .PHONY: maybe-distclean-zlib distclean-zlib
26051 maybe-distclean-zlib:
26052 @if zlib
26053 maybe-distclean-zlib: distclean-zlib
26055 distclean-zlib:
26056 @[ -f ./zlib/Makefile ] || exit 0; \
26057 r=`${PWD_COMMAND}`; export r; \
26058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26059 $(HOST_EXPORTS) \
26060 for flag in $(EXTRA_HOST_FLAGS) ; do \
26061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26062 done; \
26063 echo "Doing distclean in zlib" ; \
26064 (cd $(HOST_SUBDIR)/zlib && \
26065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26067 "RANLIB=$${RANLIB}" \
26068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26069 distclean) \
26070 || exit 1
26072 @endif zlib
26074 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26075 maybe-maintainer-clean-zlib:
26076 @if zlib
26077 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26079 maintainer-clean-zlib:
26080 @[ -f ./zlib/Makefile ] || exit 0; \
26081 r=`${PWD_COMMAND}`; export r; \
26082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26083 $(HOST_EXPORTS) \
26084 for flag in $(EXTRA_HOST_FLAGS) ; do \
26085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26086 done; \
26087 echo "Doing maintainer-clean in zlib" ; \
26088 (cd $(HOST_SUBDIR)/zlib && \
26089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26091 "RANLIB=$${RANLIB}" \
26092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26093 maintainer-clean) \
26094 || exit 1
26096 @endif zlib
26100 .PHONY: configure-gdb maybe-configure-gdb
26101 maybe-configure-gdb:
26102 @if gdb
26103 maybe-configure-gdb: configure-gdb
26104 configure-gdb:
26105 @$(unstage)
26106 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26108 r=`${PWD_COMMAND}`; export r; \
26109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26110 $(HOST_EXPORTS) \
26111 echo Configuring in $(HOST_SUBDIR)/gdb; \
26112 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26113 case $(srcdir) in \
26114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26115 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26117 esac; \
26118 srcdiroption="--srcdir=$${topdir}/gdb"; \
26119 libsrcdir="$$s/gdb"; \
26120 $(SHELL) $${libsrcdir}/configure \
26121 $(HOST_CONFIGARGS) $${srcdiroption} \
26122 || exit 1
26123 @endif gdb
26129 .PHONY: all-gdb maybe-all-gdb
26130 maybe-all-gdb:
26131 @if gdb
26132 TARGET-gdb=all
26133 maybe-all-gdb: all-gdb
26134 all-gdb: configure-gdb
26135 @$(unstage)
26136 @r=`${PWD_COMMAND}`; export r; \
26137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26138 $(HOST_EXPORTS) \
26139 (cd $(HOST_SUBDIR)/gdb && \
26140 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26141 @endif gdb
26146 .PHONY: check-gdb maybe-check-gdb
26147 maybe-check-gdb:
26148 @if gdb
26149 maybe-check-gdb: check-gdb
26151 check-gdb:
26152 @$(unstage)
26153 @r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26155 $(HOST_EXPORTS) \
26156 (cd $(HOST_SUBDIR)/gdb && \
26157 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26159 @endif gdb
26161 .PHONY: install-gdb maybe-install-gdb
26162 maybe-install-gdb:
26163 @if gdb
26164 maybe-install-gdb: install-gdb
26166 install-gdb: installdirs
26167 @$(unstage)
26168 @r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 $(HOST_EXPORTS) \
26171 (cd $(HOST_SUBDIR)/gdb && \
26172 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26174 @endif gdb
26176 # Other targets (info, dvi, etc.)
26178 .PHONY: maybe-info-gdb info-gdb
26179 maybe-info-gdb:
26180 @if gdb
26181 maybe-info-gdb: info-gdb
26183 info-gdb: \
26184 configure-gdb
26185 @$(unstage)
26186 @[ -f ./gdb/Makefile ] || exit 0; \
26187 r=`${PWD_COMMAND}`; export r; \
26188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26189 $(HOST_EXPORTS) \
26190 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26192 done; \
26193 echo "Doing info in gdb" ; \
26194 (cd $(HOST_SUBDIR)/gdb && \
26195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26197 "RANLIB=$${RANLIB}" \
26198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26199 info) \
26200 || exit 1
26202 @endif gdb
26204 .PHONY: maybe-dvi-gdb dvi-gdb
26205 maybe-dvi-gdb:
26206 @if gdb
26207 maybe-dvi-gdb: dvi-gdb
26209 dvi-gdb: \
26210 configure-gdb
26211 @$(unstage)
26212 @[ -f ./gdb/Makefile ] || exit 0; \
26213 r=`${PWD_COMMAND}`; export r; \
26214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26215 $(HOST_EXPORTS) \
26216 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26218 done; \
26219 echo "Doing dvi in gdb" ; \
26220 (cd $(HOST_SUBDIR)/gdb && \
26221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26223 "RANLIB=$${RANLIB}" \
26224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26225 dvi) \
26226 || exit 1
26228 @endif gdb
26230 .PHONY: maybe-html-gdb html-gdb
26231 maybe-html-gdb:
26232 @if gdb
26233 maybe-html-gdb: html-gdb
26235 html-gdb: \
26236 configure-gdb
26237 @$(unstage)
26238 @[ -f ./gdb/Makefile ] || exit 0; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(HOST_EXPORTS) \
26242 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26244 done; \
26245 echo "Doing html in gdb" ; \
26246 (cd $(HOST_SUBDIR)/gdb && \
26247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249 "RANLIB=$${RANLIB}" \
26250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26251 html) \
26252 || exit 1
26254 @endif gdb
26256 .PHONY: maybe-TAGS-gdb TAGS-gdb
26257 maybe-TAGS-gdb:
26258 @if gdb
26259 maybe-TAGS-gdb: TAGS-gdb
26261 TAGS-gdb: \
26262 configure-gdb
26263 @$(unstage)
26264 @[ -f ./gdb/Makefile ] || exit 0; \
26265 r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 $(HOST_EXPORTS) \
26268 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26270 done; \
26271 echo "Doing TAGS in gdb" ; \
26272 (cd $(HOST_SUBDIR)/gdb && \
26273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26275 "RANLIB=$${RANLIB}" \
26276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26277 TAGS) \
26278 || exit 1
26280 @endif gdb
26282 .PHONY: maybe-install-info-gdb install-info-gdb
26283 maybe-install-info-gdb:
26284 @if gdb
26285 maybe-install-info-gdb: install-info-gdb
26287 install-info-gdb: \
26288 configure-gdb \
26289 info-gdb
26290 @$(unstage)
26291 @[ -f ./gdb/Makefile ] || exit 0; \
26292 r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 $(HOST_EXPORTS) \
26295 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 echo "Doing install-info in gdb" ; \
26299 (cd $(HOST_SUBDIR)/gdb && \
26300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26302 "RANLIB=$${RANLIB}" \
26303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26304 install-info) \
26305 || exit 1
26307 @endif gdb
26309 .PHONY: maybe-installcheck-gdb installcheck-gdb
26310 maybe-installcheck-gdb:
26311 @if gdb
26312 maybe-installcheck-gdb: installcheck-gdb
26314 installcheck-gdb: \
26315 configure-gdb
26316 @$(unstage)
26317 @[ -f ./gdb/Makefile ] || exit 0; \
26318 r=`${PWD_COMMAND}`; export r; \
26319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26320 $(HOST_EXPORTS) \
26321 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26323 done; \
26324 echo "Doing installcheck in gdb" ; \
26325 (cd $(HOST_SUBDIR)/gdb && \
26326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26328 "RANLIB=$${RANLIB}" \
26329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26330 installcheck) \
26331 || exit 1
26333 @endif gdb
26335 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26336 maybe-mostlyclean-gdb:
26337 @if gdb
26338 maybe-mostlyclean-gdb: mostlyclean-gdb
26340 mostlyclean-gdb:
26341 @$(unstage)
26342 @[ -f ./gdb/Makefile ] || exit 0; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(HOST_EXPORTS) \
26346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26348 done; \
26349 echo "Doing mostlyclean in gdb" ; \
26350 (cd $(HOST_SUBDIR)/gdb && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26353 "RANLIB=$${RANLIB}" \
26354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26355 mostlyclean) \
26356 || exit 1
26358 @endif gdb
26360 .PHONY: maybe-clean-gdb clean-gdb
26361 maybe-clean-gdb:
26362 @if gdb
26363 maybe-clean-gdb: clean-gdb
26365 clean-gdb:
26366 @$(unstage)
26367 @[ -f ./gdb/Makefile ] || exit 0; \
26368 r=`${PWD_COMMAND}`; export r; \
26369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26370 $(HOST_EXPORTS) \
26371 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26373 done; \
26374 echo "Doing clean in gdb" ; \
26375 (cd $(HOST_SUBDIR)/gdb && \
26376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26378 "RANLIB=$${RANLIB}" \
26379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26380 clean) \
26381 || exit 1
26383 @endif gdb
26385 .PHONY: maybe-distclean-gdb distclean-gdb
26386 maybe-distclean-gdb:
26387 @if gdb
26388 maybe-distclean-gdb: distclean-gdb
26390 distclean-gdb:
26391 @$(unstage)
26392 @[ -f ./gdb/Makefile ] || exit 0; \
26393 r=`${PWD_COMMAND}`; export r; \
26394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26395 $(HOST_EXPORTS) \
26396 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26398 done; \
26399 echo "Doing distclean in gdb" ; \
26400 (cd $(HOST_SUBDIR)/gdb && \
26401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26403 "RANLIB=$${RANLIB}" \
26404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26405 distclean) \
26406 || exit 1
26408 @endif gdb
26410 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26411 maybe-maintainer-clean-gdb:
26412 @if gdb
26413 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26415 maintainer-clean-gdb:
26416 @$(unstage)
26417 @[ -f ./gdb/Makefile ] || exit 0; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(HOST_EXPORTS) \
26421 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26423 done; \
26424 echo "Doing maintainer-clean in gdb" ; \
26425 (cd $(HOST_SUBDIR)/gdb && \
26426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26428 "RANLIB=$${RANLIB}" \
26429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26430 maintainer-clean) \
26431 || exit 1
26433 @endif gdb
26437 .PHONY: configure-expect maybe-configure-expect
26438 maybe-configure-expect:
26439 @if expect
26440 maybe-configure-expect: configure-expect
26441 configure-expect:
26442 @$(unstage)
26443 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26445 r=`${PWD_COMMAND}`; export r; \
26446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26447 $(HOST_EXPORTS) \
26448 echo Configuring in $(HOST_SUBDIR)/expect; \
26449 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26450 case $(srcdir) in \
26451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26452 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26454 esac; \
26455 srcdiroption="--srcdir=$${topdir}/expect"; \
26456 libsrcdir="$$s/expect"; \
26457 $(SHELL) $${libsrcdir}/configure \
26458 $(HOST_CONFIGARGS) $${srcdiroption} \
26459 || exit 1
26460 @endif expect
26466 .PHONY: all-expect maybe-all-expect
26467 maybe-all-expect:
26468 @if expect
26469 TARGET-expect=all
26470 maybe-all-expect: all-expect
26471 all-expect: configure-expect
26472 @$(unstage)
26473 @r=`${PWD_COMMAND}`; export r; \
26474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26475 $(HOST_EXPORTS) \
26476 (cd $(HOST_SUBDIR)/expect && \
26477 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26478 @endif expect
26483 .PHONY: check-expect maybe-check-expect
26484 maybe-check-expect:
26485 @if expect
26486 maybe-check-expect: check-expect
26488 check-expect:
26489 @$(unstage)
26490 @r=`${PWD_COMMAND}`; export r; \
26491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26492 $(HOST_EXPORTS) \
26493 (cd $(HOST_SUBDIR)/expect && \
26494 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26496 @endif expect
26498 .PHONY: install-expect maybe-install-expect
26499 maybe-install-expect:
26500 @if expect
26501 maybe-install-expect: install-expect
26503 install-expect: installdirs
26504 @$(unstage)
26505 @r=`${PWD_COMMAND}`; export r; \
26506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26507 $(HOST_EXPORTS) \
26508 (cd $(HOST_SUBDIR)/expect && \
26509 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26511 @endif expect
26513 # Other targets (info, dvi, etc.)
26515 .PHONY: maybe-info-expect info-expect
26516 maybe-info-expect:
26517 @if expect
26518 maybe-info-expect: info-expect
26520 info-expect: \
26521 configure-expect
26522 @$(unstage)
26523 @[ -f ./expect/Makefile ] || exit 0; \
26524 r=`${PWD_COMMAND}`; export r; \
26525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26526 $(HOST_EXPORTS) \
26527 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26529 done; \
26530 echo "Doing info in expect" ; \
26531 (cd $(HOST_SUBDIR)/expect && \
26532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26534 "RANLIB=$${RANLIB}" \
26535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26536 info) \
26537 || exit 1
26539 @endif expect
26541 .PHONY: maybe-dvi-expect dvi-expect
26542 maybe-dvi-expect:
26543 @if expect
26544 maybe-dvi-expect: dvi-expect
26546 dvi-expect: \
26547 configure-expect
26548 @$(unstage)
26549 @[ -f ./expect/Makefile ] || exit 0; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(HOST_EXPORTS) \
26553 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26555 done; \
26556 echo "Doing dvi in expect" ; \
26557 (cd $(HOST_SUBDIR)/expect && \
26558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26560 "RANLIB=$${RANLIB}" \
26561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26562 dvi) \
26563 || exit 1
26565 @endif expect
26567 .PHONY: maybe-html-expect html-expect
26568 maybe-html-expect:
26569 @if expect
26570 maybe-html-expect: html-expect
26572 html-expect: \
26573 configure-expect
26574 @$(unstage)
26575 @[ -f ./expect/Makefile ] || exit 0; \
26576 r=`${PWD_COMMAND}`; export r; \
26577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26578 $(HOST_EXPORTS) \
26579 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26581 done; \
26582 echo "Doing html in expect" ; \
26583 (cd $(HOST_SUBDIR)/expect && \
26584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26586 "RANLIB=$${RANLIB}" \
26587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26588 html) \
26589 || exit 1
26591 @endif expect
26593 .PHONY: maybe-TAGS-expect TAGS-expect
26594 maybe-TAGS-expect:
26595 @if expect
26596 maybe-TAGS-expect: TAGS-expect
26598 TAGS-expect: \
26599 configure-expect
26600 @$(unstage)
26601 @[ -f ./expect/Makefile ] || exit 0; \
26602 r=`${PWD_COMMAND}`; export r; \
26603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26604 $(HOST_EXPORTS) \
26605 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26607 done; \
26608 echo "Doing TAGS in expect" ; \
26609 (cd $(HOST_SUBDIR)/expect && \
26610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26612 "RANLIB=$${RANLIB}" \
26613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26614 TAGS) \
26615 || exit 1
26617 @endif expect
26619 .PHONY: maybe-install-info-expect install-info-expect
26620 maybe-install-info-expect:
26621 @if expect
26622 maybe-install-info-expect: install-info-expect
26624 install-info-expect: \
26625 configure-expect \
26626 info-expect
26627 @$(unstage)
26628 @[ -f ./expect/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26634 done; \
26635 echo "Doing install-info in expect" ; \
26636 (cd $(HOST_SUBDIR)/expect && \
26637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26639 "RANLIB=$${RANLIB}" \
26640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26641 install-info) \
26642 || exit 1
26644 @endif expect
26646 .PHONY: maybe-installcheck-expect installcheck-expect
26647 maybe-installcheck-expect:
26648 @if expect
26649 maybe-installcheck-expect: installcheck-expect
26651 installcheck-expect: \
26652 configure-expect
26653 @$(unstage)
26654 @[ -f ./expect/Makefile ] || exit 0; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 $(HOST_EXPORTS) \
26658 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26660 done; \
26661 echo "Doing installcheck in expect" ; \
26662 (cd $(HOST_SUBDIR)/expect && \
26663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26665 "RANLIB=$${RANLIB}" \
26666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26667 installcheck) \
26668 || exit 1
26670 @endif expect
26672 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26673 maybe-mostlyclean-expect:
26674 @if expect
26675 maybe-mostlyclean-expect: mostlyclean-expect
26677 mostlyclean-expect:
26678 @$(unstage)
26679 @[ -f ./expect/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(HOST_EXPORTS) \
26683 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 done; \
26686 echo "Doing mostlyclean in expect" ; \
26687 (cd $(HOST_SUBDIR)/expect && \
26688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690 "RANLIB=$${RANLIB}" \
26691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26692 mostlyclean) \
26693 || exit 1
26695 @endif expect
26697 .PHONY: maybe-clean-expect clean-expect
26698 maybe-clean-expect:
26699 @if expect
26700 maybe-clean-expect: clean-expect
26702 clean-expect:
26703 @$(unstage)
26704 @[ -f ./expect/Makefile ] || exit 0; \
26705 r=`${PWD_COMMAND}`; export r; \
26706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26707 $(HOST_EXPORTS) \
26708 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26710 done; \
26711 echo "Doing clean in expect" ; \
26712 (cd $(HOST_SUBDIR)/expect && \
26713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26715 "RANLIB=$${RANLIB}" \
26716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26717 clean) \
26718 || exit 1
26720 @endif expect
26722 .PHONY: maybe-distclean-expect distclean-expect
26723 maybe-distclean-expect:
26724 @if expect
26725 maybe-distclean-expect: distclean-expect
26727 distclean-expect:
26728 @$(unstage)
26729 @[ -f ./expect/Makefile ] || exit 0; \
26730 r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 $(HOST_EXPORTS) \
26733 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26735 done; \
26736 echo "Doing distclean in expect" ; \
26737 (cd $(HOST_SUBDIR)/expect && \
26738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26740 "RANLIB=$${RANLIB}" \
26741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26742 distclean) \
26743 || exit 1
26745 @endif expect
26747 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26748 maybe-maintainer-clean-expect:
26749 @if expect
26750 maybe-maintainer-clean-expect: maintainer-clean-expect
26752 maintainer-clean-expect:
26753 @$(unstage)
26754 @[ -f ./expect/Makefile ] || exit 0; \
26755 r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(HOST_EXPORTS) \
26758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26760 done; \
26761 echo "Doing maintainer-clean in expect" ; \
26762 (cd $(HOST_SUBDIR)/expect && \
26763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26765 "RANLIB=$${RANLIB}" \
26766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26767 maintainer-clean) \
26768 || exit 1
26770 @endif expect
26774 .PHONY: configure-guile maybe-configure-guile
26775 maybe-configure-guile:
26776 @if guile
26777 maybe-configure-guile: configure-guile
26778 configure-guile:
26779 @$(unstage)
26780 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26782 r=`${PWD_COMMAND}`; export r; \
26783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26784 $(HOST_EXPORTS) \
26785 echo Configuring in $(HOST_SUBDIR)/guile; \
26786 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26787 case $(srcdir) in \
26788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26789 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26791 esac; \
26792 srcdiroption="--srcdir=$${topdir}/guile"; \
26793 libsrcdir="$$s/guile"; \
26794 $(SHELL) $${libsrcdir}/configure \
26795 $(HOST_CONFIGARGS) $${srcdiroption} \
26796 || exit 1
26797 @endif guile
26803 .PHONY: all-guile maybe-all-guile
26804 maybe-all-guile:
26805 @if guile
26806 TARGET-guile=all
26807 maybe-all-guile: all-guile
26808 all-guile: configure-guile
26809 @$(unstage)
26810 @r=`${PWD_COMMAND}`; export r; \
26811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26812 $(HOST_EXPORTS) \
26813 (cd $(HOST_SUBDIR)/guile && \
26814 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
26815 @endif guile
26820 .PHONY: check-guile maybe-check-guile
26821 maybe-check-guile:
26822 @if guile
26823 maybe-check-guile: check-guile
26825 check-guile:
26826 @$(unstage)
26827 @r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26829 $(HOST_EXPORTS) \
26830 (cd $(HOST_SUBDIR)/guile && \
26831 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26833 @endif guile
26835 .PHONY: install-guile maybe-install-guile
26836 maybe-install-guile:
26837 @if guile
26838 maybe-install-guile: install-guile
26840 install-guile: installdirs
26841 @$(unstage)
26842 @r=`${PWD_COMMAND}`; export r; \
26843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26844 $(HOST_EXPORTS) \
26845 (cd $(HOST_SUBDIR)/guile && \
26846 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26848 @endif guile
26850 # Other targets (info, dvi, etc.)
26852 .PHONY: maybe-info-guile info-guile
26853 maybe-info-guile:
26854 @if guile
26855 maybe-info-guile: info-guile
26857 info-guile: \
26858 configure-guile
26859 @$(unstage)
26860 @[ -f ./guile/Makefile ] || exit 0; \
26861 r=`${PWD_COMMAND}`; export r; \
26862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26863 $(HOST_EXPORTS) \
26864 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26866 done; \
26867 echo "Doing info in guile" ; \
26868 (cd $(HOST_SUBDIR)/guile && \
26869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26871 "RANLIB=$${RANLIB}" \
26872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26873 info) \
26874 || exit 1
26876 @endif guile
26878 .PHONY: maybe-dvi-guile dvi-guile
26879 maybe-dvi-guile:
26880 @if guile
26881 maybe-dvi-guile: dvi-guile
26883 dvi-guile: \
26884 configure-guile
26885 @$(unstage)
26886 @[ -f ./guile/Makefile ] || exit 0; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(HOST_EXPORTS) \
26890 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26892 done; \
26893 echo "Doing dvi in guile" ; \
26894 (cd $(HOST_SUBDIR)/guile && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26897 "RANLIB=$${RANLIB}" \
26898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26899 dvi) \
26900 || exit 1
26902 @endif guile
26904 .PHONY: maybe-html-guile html-guile
26905 maybe-html-guile:
26906 @if guile
26907 maybe-html-guile: html-guile
26909 html-guile: \
26910 configure-guile
26911 @$(unstage)
26912 @[ -f ./guile/Makefile ] || exit 0; \
26913 r=`${PWD_COMMAND}`; export r; \
26914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26915 $(HOST_EXPORTS) \
26916 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26918 done; \
26919 echo "Doing html in guile" ; \
26920 (cd $(HOST_SUBDIR)/guile && \
26921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26923 "RANLIB=$${RANLIB}" \
26924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26925 html) \
26926 || exit 1
26928 @endif guile
26930 .PHONY: maybe-TAGS-guile TAGS-guile
26931 maybe-TAGS-guile:
26932 @if guile
26933 maybe-TAGS-guile: TAGS-guile
26935 TAGS-guile: \
26936 configure-guile
26937 @$(unstage)
26938 @[ -f ./guile/Makefile ] || exit 0; \
26939 r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26941 $(HOST_EXPORTS) \
26942 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26944 done; \
26945 echo "Doing TAGS in guile" ; \
26946 (cd $(HOST_SUBDIR)/guile && \
26947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26949 "RANLIB=$${RANLIB}" \
26950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26951 TAGS) \
26952 || exit 1
26954 @endif guile
26956 .PHONY: maybe-install-info-guile install-info-guile
26957 maybe-install-info-guile:
26958 @if guile
26959 maybe-install-info-guile: install-info-guile
26961 install-info-guile: \
26962 configure-guile \
26963 info-guile
26964 @$(unstage)
26965 @[ -f ./guile/Makefile ] || exit 0; \
26966 r=`${PWD_COMMAND}`; export r; \
26967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26968 $(HOST_EXPORTS) \
26969 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26971 done; \
26972 echo "Doing install-info in guile" ; \
26973 (cd $(HOST_SUBDIR)/guile && \
26974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26976 "RANLIB=$${RANLIB}" \
26977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26978 install-info) \
26979 || exit 1
26981 @endif guile
26983 .PHONY: maybe-installcheck-guile installcheck-guile
26984 maybe-installcheck-guile:
26985 @if guile
26986 maybe-installcheck-guile: installcheck-guile
26988 installcheck-guile: \
26989 configure-guile
26990 @$(unstage)
26991 @[ -f ./guile/Makefile ] || exit 0; \
26992 r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(HOST_EXPORTS) \
26995 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26997 done; \
26998 echo "Doing installcheck in guile" ; \
26999 (cd $(HOST_SUBDIR)/guile && \
27000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27002 "RANLIB=$${RANLIB}" \
27003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27004 installcheck) \
27005 || exit 1
27007 @endif guile
27009 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27010 maybe-mostlyclean-guile:
27011 @if guile
27012 maybe-mostlyclean-guile: mostlyclean-guile
27014 mostlyclean-guile:
27015 @$(unstage)
27016 @[ -f ./guile/Makefile ] || exit 0; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019 $(HOST_EXPORTS) \
27020 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27022 done; \
27023 echo "Doing mostlyclean in guile" ; \
27024 (cd $(HOST_SUBDIR)/guile && \
27025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27027 "RANLIB=$${RANLIB}" \
27028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27029 mostlyclean) \
27030 || exit 1
27032 @endif guile
27034 .PHONY: maybe-clean-guile clean-guile
27035 maybe-clean-guile:
27036 @if guile
27037 maybe-clean-guile: clean-guile
27039 clean-guile:
27040 @$(unstage)
27041 @[ -f ./guile/Makefile ] || exit 0; \
27042 r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 $(HOST_EXPORTS) \
27045 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27047 done; \
27048 echo "Doing clean in guile" ; \
27049 (cd $(HOST_SUBDIR)/guile && \
27050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27052 "RANLIB=$${RANLIB}" \
27053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27054 clean) \
27055 || exit 1
27057 @endif guile
27059 .PHONY: maybe-distclean-guile distclean-guile
27060 maybe-distclean-guile:
27061 @if guile
27062 maybe-distclean-guile: distclean-guile
27064 distclean-guile:
27065 @$(unstage)
27066 @[ -f ./guile/Makefile ] || exit 0; \
27067 r=`${PWD_COMMAND}`; export r; \
27068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27069 $(HOST_EXPORTS) \
27070 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27072 done; \
27073 echo "Doing distclean in guile" ; \
27074 (cd $(HOST_SUBDIR)/guile && \
27075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27077 "RANLIB=$${RANLIB}" \
27078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27079 distclean) \
27080 || exit 1
27082 @endif guile
27084 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27085 maybe-maintainer-clean-guile:
27086 @if guile
27087 maybe-maintainer-clean-guile: maintainer-clean-guile
27089 maintainer-clean-guile:
27090 @$(unstage)
27091 @[ -f ./guile/Makefile ] || exit 0; \
27092 r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 $(HOST_EXPORTS) \
27095 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27097 done; \
27098 echo "Doing maintainer-clean in guile" ; \
27099 (cd $(HOST_SUBDIR)/guile && \
27100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27102 "RANLIB=$${RANLIB}" \
27103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27104 maintainer-clean) \
27105 || exit 1
27107 @endif guile
27111 .PHONY: configure-tk maybe-configure-tk
27112 maybe-configure-tk:
27113 @if tk
27114 maybe-configure-tk: configure-tk
27115 configure-tk:
27116 @$(unstage)
27117 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27119 r=`${PWD_COMMAND}`; export r; \
27120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27121 $(HOST_EXPORTS) \
27122 echo Configuring in $(HOST_SUBDIR)/tk; \
27123 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27124 case $(srcdir) in \
27125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27126 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27128 esac; \
27129 srcdiroption="--srcdir=$${topdir}/tk"; \
27130 libsrcdir="$$s/tk"; \
27131 $(SHELL) $${libsrcdir}/configure \
27132 $(HOST_CONFIGARGS) $${srcdiroption} \
27133 || exit 1
27134 @endif tk
27140 .PHONY: all-tk maybe-all-tk
27141 maybe-all-tk:
27142 @if tk
27143 TARGET-tk=all
27144 maybe-all-tk: all-tk
27145 all-tk: configure-tk
27146 @$(unstage)
27147 @r=`${PWD_COMMAND}`; export r; \
27148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27149 $(HOST_EXPORTS) \
27150 (cd $(HOST_SUBDIR)/tk && \
27151 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27152 @endif tk
27157 .PHONY: check-tk maybe-check-tk
27158 maybe-check-tk:
27159 @if tk
27160 maybe-check-tk: check-tk
27162 check-tk:
27163 @$(unstage)
27164 @r=`${PWD_COMMAND}`; export r; \
27165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27166 $(HOST_EXPORTS) \
27167 (cd $(HOST_SUBDIR)/tk && \
27168 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27170 @endif tk
27172 .PHONY: install-tk maybe-install-tk
27173 maybe-install-tk:
27174 @if tk
27175 maybe-install-tk: install-tk
27177 install-tk: installdirs
27178 @$(unstage)
27179 @r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27181 $(HOST_EXPORTS) \
27182 (cd $(HOST_SUBDIR)/tk && \
27183 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27185 @endif tk
27187 # Other targets (info, dvi, etc.)
27189 .PHONY: maybe-info-tk info-tk
27190 maybe-info-tk:
27191 @if tk
27192 maybe-info-tk: info-tk
27194 info-tk: \
27195 configure-tk
27196 @$(unstage)
27197 @[ -f ./tk/Makefile ] || exit 0; \
27198 r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27200 $(HOST_EXPORTS) \
27201 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27203 done; \
27204 echo "Doing info in tk" ; \
27205 (cd $(HOST_SUBDIR)/tk && \
27206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27208 "RANLIB=$${RANLIB}" \
27209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27210 info) \
27211 || exit 1
27213 @endif tk
27215 .PHONY: maybe-dvi-tk dvi-tk
27216 maybe-dvi-tk:
27217 @if tk
27218 maybe-dvi-tk: dvi-tk
27220 dvi-tk: \
27221 configure-tk
27222 @$(unstage)
27223 @[ -f ./tk/Makefile ] || exit 0; \
27224 r=`${PWD_COMMAND}`; export r; \
27225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27226 $(HOST_EXPORTS) \
27227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27229 done; \
27230 echo "Doing dvi in tk" ; \
27231 (cd $(HOST_SUBDIR)/tk && \
27232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27234 "RANLIB=$${RANLIB}" \
27235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27236 dvi) \
27237 || exit 1
27239 @endif tk
27241 .PHONY: maybe-html-tk html-tk
27242 maybe-html-tk:
27243 @if tk
27244 maybe-html-tk: html-tk
27246 html-tk: \
27247 configure-tk
27248 @$(unstage)
27249 @[ -f ./tk/Makefile ] || exit 0; \
27250 r=`${PWD_COMMAND}`; export r; \
27251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27252 $(HOST_EXPORTS) \
27253 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27255 done; \
27256 echo "Doing html in tk" ; \
27257 (cd $(HOST_SUBDIR)/tk && \
27258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27260 "RANLIB=$${RANLIB}" \
27261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27262 html) \
27263 || exit 1
27265 @endif tk
27267 .PHONY: maybe-TAGS-tk TAGS-tk
27268 maybe-TAGS-tk:
27269 @if tk
27270 maybe-TAGS-tk: TAGS-tk
27272 TAGS-tk: \
27273 configure-tk
27274 @$(unstage)
27275 @[ -f ./tk/Makefile ] || exit 0; \
27276 r=`${PWD_COMMAND}`; export r; \
27277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27278 $(HOST_EXPORTS) \
27279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27281 done; \
27282 echo "Doing TAGS in tk" ; \
27283 (cd $(HOST_SUBDIR)/tk && \
27284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27286 "RANLIB=$${RANLIB}" \
27287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27288 TAGS) \
27289 || exit 1
27291 @endif tk
27293 .PHONY: maybe-install-info-tk install-info-tk
27294 maybe-install-info-tk:
27295 @if tk
27296 maybe-install-info-tk: install-info-tk
27298 install-info-tk: \
27299 configure-tk \
27300 info-tk
27301 @$(unstage)
27302 @[ -f ./tk/Makefile ] || exit 0; \
27303 r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27305 $(HOST_EXPORTS) \
27306 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27308 done; \
27309 echo "Doing install-info in tk" ; \
27310 (cd $(HOST_SUBDIR)/tk && \
27311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27313 "RANLIB=$${RANLIB}" \
27314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27315 install-info) \
27316 || exit 1
27318 @endif tk
27320 .PHONY: maybe-installcheck-tk installcheck-tk
27321 maybe-installcheck-tk:
27322 @if tk
27323 maybe-installcheck-tk: installcheck-tk
27325 installcheck-tk: \
27326 configure-tk
27327 @$(unstage)
27328 @[ -f ./tk/Makefile ] || exit 0; \
27329 r=`${PWD_COMMAND}`; export r; \
27330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27331 $(HOST_EXPORTS) \
27332 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27334 done; \
27335 echo "Doing installcheck in tk" ; \
27336 (cd $(HOST_SUBDIR)/tk && \
27337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27339 "RANLIB=$${RANLIB}" \
27340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27341 installcheck) \
27342 || exit 1
27344 @endif tk
27346 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27347 maybe-mostlyclean-tk:
27348 @if tk
27349 maybe-mostlyclean-tk: mostlyclean-tk
27351 mostlyclean-tk:
27352 @$(unstage)
27353 @[ -f ./tk/Makefile ] || exit 0; \
27354 r=`${PWD_COMMAND}`; export r; \
27355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27356 $(HOST_EXPORTS) \
27357 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27359 done; \
27360 echo "Doing mostlyclean in tk" ; \
27361 (cd $(HOST_SUBDIR)/tk && \
27362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27364 "RANLIB=$${RANLIB}" \
27365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27366 mostlyclean) \
27367 || exit 1
27369 @endif tk
27371 .PHONY: maybe-clean-tk clean-tk
27372 maybe-clean-tk:
27373 @if tk
27374 maybe-clean-tk: clean-tk
27376 clean-tk:
27377 @$(unstage)
27378 @[ -f ./tk/Makefile ] || exit 0; \
27379 r=`${PWD_COMMAND}`; export r; \
27380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27381 $(HOST_EXPORTS) \
27382 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27384 done; \
27385 echo "Doing clean in tk" ; \
27386 (cd $(HOST_SUBDIR)/tk && \
27387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27389 "RANLIB=$${RANLIB}" \
27390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27391 clean) \
27392 || exit 1
27394 @endif tk
27396 .PHONY: maybe-distclean-tk distclean-tk
27397 maybe-distclean-tk:
27398 @if tk
27399 maybe-distclean-tk: distclean-tk
27401 distclean-tk:
27402 @$(unstage)
27403 @[ -f ./tk/Makefile ] || exit 0; \
27404 r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(HOST_EXPORTS) \
27407 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27409 done; \
27410 echo "Doing distclean in tk" ; \
27411 (cd $(HOST_SUBDIR)/tk && \
27412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27414 "RANLIB=$${RANLIB}" \
27415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27416 distclean) \
27417 || exit 1
27419 @endif tk
27421 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27422 maybe-maintainer-clean-tk:
27423 @if tk
27424 maybe-maintainer-clean-tk: maintainer-clean-tk
27426 maintainer-clean-tk:
27427 @$(unstage)
27428 @[ -f ./tk/Makefile ] || exit 0; \
27429 r=`${PWD_COMMAND}`; export r; \
27430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27431 $(HOST_EXPORTS) \
27432 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27434 done; \
27435 echo "Doing maintainer-clean in tk" ; \
27436 (cd $(HOST_SUBDIR)/tk && \
27437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27439 "RANLIB=$${RANLIB}" \
27440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27441 maintainer-clean) \
27442 || exit 1
27444 @endif tk
27448 .PHONY: configure-libtermcap maybe-configure-libtermcap
27449 maybe-configure-libtermcap:
27450 @if libtermcap
27451 maybe-configure-libtermcap: configure-libtermcap
27452 configure-libtermcap:
27453 @$(unstage)
27454 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(HOST_EXPORTS) \
27459 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27460 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27461 case $(srcdir) in \
27462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27463 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27465 esac; \
27466 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27467 libsrcdir="$$s/libtermcap"; \
27468 $(SHELL) $${libsrcdir}/configure \
27469 $(HOST_CONFIGARGS) $${srcdiroption} \
27470 || exit 1
27471 @endif libtermcap
27477 .PHONY: all-libtermcap maybe-all-libtermcap
27478 maybe-all-libtermcap:
27479 @if libtermcap
27480 TARGET-libtermcap=all
27481 maybe-all-libtermcap: all-libtermcap
27482 all-libtermcap: configure-libtermcap
27483 @$(unstage)
27484 @r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27486 $(HOST_EXPORTS) \
27487 (cd $(HOST_SUBDIR)/libtermcap && \
27488 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27489 @endif libtermcap
27494 .PHONY: check-libtermcap maybe-check-libtermcap
27495 maybe-check-libtermcap:
27496 @if libtermcap
27497 maybe-check-libtermcap: check-libtermcap
27499 check-libtermcap:
27501 @endif libtermcap
27503 .PHONY: install-libtermcap maybe-install-libtermcap
27504 maybe-install-libtermcap:
27505 @if libtermcap
27506 maybe-install-libtermcap: install-libtermcap
27508 install-libtermcap: installdirs
27509 @$(unstage)
27510 @r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(HOST_EXPORTS) \
27513 (cd $(HOST_SUBDIR)/libtermcap && \
27514 $(MAKE) $(FLAGS_TO_PASS) install)
27516 @endif libtermcap
27518 # Other targets (info, dvi, etc.)
27520 .PHONY: maybe-info-libtermcap info-libtermcap
27521 maybe-info-libtermcap:
27522 @if libtermcap
27523 maybe-info-libtermcap: info-libtermcap
27525 info-libtermcap: \
27526 configure-libtermcap
27527 @$(unstage)
27528 @[ -f ./libtermcap/Makefile ] || exit 0; \
27529 r=`${PWD_COMMAND}`; export r; \
27530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27531 $(HOST_EXPORTS) \
27532 for flag in $(EXTRA_HOST_FLAGS) ; do \
27533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27534 done; \
27535 echo "Doing info in libtermcap" ; \
27536 (cd $(HOST_SUBDIR)/libtermcap && \
27537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27539 "RANLIB=$${RANLIB}" \
27540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27541 info) \
27542 || exit 1
27544 @endif libtermcap
27546 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27547 maybe-dvi-libtermcap:
27548 @if libtermcap
27549 maybe-dvi-libtermcap: dvi-libtermcap
27551 dvi-libtermcap: \
27552 configure-libtermcap
27553 @$(unstage)
27554 @[ -f ./libtermcap/Makefile ] || exit 0; \
27555 r=`${PWD_COMMAND}`; export r; \
27556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27557 $(HOST_EXPORTS) \
27558 for flag in $(EXTRA_HOST_FLAGS) ; do \
27559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27560 done; \
27561 echo "Doing dvi in libtermcap" ; \
27562 (cd $(HOST_SUBDIR)/libtermcap && \
27563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27565 "RANLIB=$${RANLIB}" \
27566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27567 dvi) \
27568 || exit 1
27570 @endif libtermcap
27572 .PHONY: maybe-html-libtermcap html-libtermcap
27573 maybe-html-libtermcap:
27574 @if libtermcap
27575 maybe-html-libtermcap: html-libtermcap
27577 html-libtermcap: \
27578 configure-libtermcap
27579 @$(unstage)
27580 @[ -f ./libtermcap/Makefile ] || exit 0; \
27581 r=`${PWD_COMMAND}`; export r; \
27582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27583 $(HOST_EXPORTS) \
27584 for flag in $(EXTRA_HOST_FLAGS) ; do \
27585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27586 done; \
27587 echo "Doing html in libtermcap" ; \
27588 (cd $(HOST_SUBDIR)/libtermcap && \
27589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27591 "RANLIB=$${RANLIB}" \
27592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27593 html) \
27594 || exit 1
27596 @endif libtermcap
27598 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
27599 maybe-TAGS-libtermcap:
27600 @if libtermcap
27601 maybe-TAGS-libtermcap: TAGS-libtermcap
27603 TAGS-libtermcap: \
27604 configure-libtermcap
27605 @$(unstage)
27606 @[ -f ./libtermcap/Makefile ] || exit 0; \
27607 r=`${PWD_COMMAND}`; export r; \
27608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27609 $(HOST_EXPORTS) \
27610 for flag in $(EXTRA_HOST_FLAGS) ; do \
27611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27612 done; \
27613 echo "Doing TAGS in libtermcap" ; \
27614 (cd $(HOST_SUBDIR)/libtermcap && \
27615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27617 "RANLIB=$${RANLIB}" \
27618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27619 TAGS) \
27620 || exit 1
27622 @endif libtermcap
27624 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
27625 maybe-install-info-libtermcap:
27626 @if libtermcap
27627 maybe-install-info-libtermcap: install-info-libtermcap
27629 install-info-libtermcap: \
27630 configure-libtermcap \
27631 info-libtermcap
27632 @$(unstage)
27633 @[ -f ./libtermcap/Makefile ] || exit 0; \
27634 r=`${PWD_COMMAND}`; export r; \
27635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27636 $(HOST_EXPORTS) \
27637 for flag in $(EXTRA_HOST_FLAGS) ; do \
27638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27639 done; \
27640 echo "Doing install-info in libtermcap" ; \
27641 (cd $(HOST_SUBDIR)/libtermcap && \
27642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27644 "RANLIB=$${RANLIB}" \
27645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27646 install-info) \
27647 || exit 1
27649 @endif libtermcap
27651 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
27652 maybe-installcheck-libtermcap:
27653 @if libtermcap
27654 maybe-installcheck-libtermcap: installcheck-libtermcap
27656 installcheck-libtermcap: \
27657 configure-libtermcap
27658 @$(unstage)
27659 @[ -f ./libtermcap/Makefile ] || exit 0; \
27660 r=`${PWD_COMMAND}`; export r; \
27661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27662 $(HOST_EXPORTS) \
27663 for flag in $(EXTRA_HOST_FLAGS) ; do \
27664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27665 done; \
27666 echo "Doing installcheck in libtermcap" ; \
27667 (cd $(HOST_SUBDIR)/libtermcap && \
27668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27670 "RANLIB=$${RANLIB}" \
27671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27672 installcheck) \
27673 || exit 1
27675 @endif libtermcap
27677 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
27678 maybe-mostlyclean-libtermcap:
27679 @if libtermcap
27680 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
27682 # libtermcap doesn't support mostlyclean.
27683 mostlyclean-libtermcap:
27685 @endif libtermcap
27687 .PHONY: maybe-clean-libtermcap clean-libtermcap
27688 maybe-clean-libtermcap:
27689 @if libtermcap
27690 maybe-clean-libtermcap: clean-libtermcap
27692 # libtermcap doesn't support clean.
27693 clean-libtermcap:
27695 @endif libtermcap
27697 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
27698 maybe-distclean-libtermcap:
27699 @if libtermcap
27700 maybe-distclean-libtermcap: distclean-libtermcap
27702 # libtermcap doesn't support distclean.
27703 distclean-libtermcap:
27705 @endif libtermcap
27707 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
27708 maybe-maintainer-clean-libtermcap:
27709 @if libtermcap
27710 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
27712 # libtermcap doesn't support maintainer-clean.
27713 maintainer-clean-libtermcap:
27715 @endif libtermcap
27719 .PHONY: configure-utils maybe-configure-utils
27720 maybe-configure-utils:
27721 @if utils
27722 maybe-configure-utils: configure-utils
27723 configure-utils:
27724 @$(unstage)
27725 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
27726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
27727 r=`${PWD_COMMAND}`; export r; \
27728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27729 $(HOST_EXPORTS) \
27730 echo Configuring in $(HOST_SUBDIR)/utils; \
27731 cd "$(HOST_SUBDIR)/utils" || exit 1; \
27732 case $(srcdir) in \
27733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27734 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
27735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27736 esac; \
27737 srcdiroption="--srcdir=$${topdir}/utils"; \
27738 libsrcdir="$$s/utils"; \
27739 $(SHELL) $${libsrcdir}/configure \
27740 $(HOST_CONFIGARGS) $${srcdiroption} \
27741 || exit 1
27742 @endif utils
27748 .PHONY: all-utils maybe-all-utils
27749 maybe-all-utils:
27750 @if utils
27751 TARGET-utils=all
27752 maybe-all-utils: all-utils
27753 all-utils: configure-utils
27754 @$(unstage)
27755 @r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27757 $(HOST_EXPORTS) \
27758 (cd $(HOST_SUBDIR)/utils && \
27759 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
27760 @endif utils
27765 .PHONY: check-utils maybe-check-utils
27766 maybe-check-utils:
27767 @if utils
27768 maybe-check-utils: check-utils
27770 check-utils:
27772 @endif utils
27774 .PHONY: install-utils maybe-install-utils
27775 maybe-install-utils:
27776 @if utils
27777 maybe-install-utils: install-utils
27779 install-utils: installdirs
27780 @$(unstage)
27781 @r=`${PWD_COMMAND}`; export r; \
27782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27783 $(HOST_EXPORTS) \
27784 (cd $(HOST_SUBDIR)/utils && \
27785 $(MAKE) $(FLAGS_TO_PASS) install)
27787 @endif utils
27789 # Other targets (info, dvi, etc.)
27791 .PHONY: maybe-info-utils info-utils
27792 maybe-info-utils:
27793 @if utils
27794 maybe-info-utils: info-utils
27796 info-utils: \
27797 configure-utils
27798 @$(unstage)
27799 @[ -f ./utils/Makefile ] || exit 0; \
27800 r=`${PWD_COMMAND}`; export r; \
27801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27802 $(HOST_EXPORTS) \
27803 for flag in $(EXTRA_HOST_FLAGS) ; do \
27804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27805 done; \
27806 echo "Doing info in utils" ; \
27807 (cd $(HOST_SUBDIR)/utils && \
27808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27810 "RANLIB=$${RANLIB}" \
27811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27812 info) \
27813 || exit 1
27815 @endif utils
27817 .PHONY: maybe-dvi-utils dvi-utils
27818 maybe-dvi-utils:
27819 @if utils
27820 maybe-dvi-utils: dvi-utils
27822 dvi-utils: \
27823 configure-utils
27824 @$(unstage)
27825 @[ -f ./utils/Makefile ] || exit 0; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(HOST_EXPORTS) \
27829 for flag in $(EXTRA_HOST_FLAGS) ; do \
27830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27831 done; \
27832 echo "Doing dvi in utils" ; \
27833 (cd $(HOST_SUBDIR)/utils && \
27834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27836 "RANLIB=$${RANLIB}" \
27837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27838 dvi) \
27839 || exit 1
27841 @endif utils
27843 .PHONY: maybe-html-utils html-utils
27844 maybe-html-utils:
27845 @if utils
27846 maybe-html-utils: html-utils
27848 html-utils: \
27849 configure-utils
27850 @$(unstage)
27851 @[ -f ./utils/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 echo "Doing html in utils" ; \
27859 (cd $(HOST_SUBDIR)/utils && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27862 "RANLIB=$${RANLIB}" \
27863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27864 html) \
27865 || exit 1
27867 @endif utils
27869 .PHONY: maybe-TAGS-utils TAGS-utils
27870 maybe-TAGS-utils:
27871 @if utils
27872 maybe-TAGS-utils: TAGS-utils
27874 TAGS-utils: \
27875 configure-utils
27876 @$(unstage)
27877 @[ -f ./utils/Makefile ] || exit 0; \
27878 r=`${PWD_COMMAND}`; export r; \
27879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27880 $(HOST_EXPORTS) \
27881 for flag in $(EXTRA_HOST_FLAGS) ; do \
27882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27883 done; \
27884 echo "Doing TAGS in utils" ; \
27885 (cd $(HOST_SUBDIR)/utils && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27890 TAGS) \
27891 || exit 1
27893 @endif utils
27895 .PHONY: maybe-install-info-utils install-info-utils
27896 maybe-install-info-utils:
27897 @if utils
27898 maybe-install-info-utils: install-info-utils
27900 install-info-utils: \
27901 configure-utils \
27902 info-utils
27903 @$(unstage)
27904 @[ -f ./utils/Makefile ] || exit 0; \
27905 r=`${PWD_COMMAND}`; export r; \
27906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27907 $(HOST_EXPORTS) \
27908 for flag in $(EXTRA_HOST_FLAGS) ; do \
27909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27910 done; \
27911 echo "Doing install-info in utils" ; \
27912 (cd $(HOST_SUBDIR)/utils && \
27913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27915 "RANLIB=$${RANLIB}" \
27916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27917 install-info) \
27918 || exit 1
27920 @endif utils
27922 .PHONY: maybe-installcheck-utils installcheck-utils
27923 maybe-installcheck-utils:
27924 @if utils
27925 maybe-installcheck-utils: installcheck-utils
27927 installcheck-utils: \
27928 configure-utils
27929 @$(unstage)
27930 @[ -f ./utils/Makefile ] || exit 0; \
27931 r=`${PWD_COMMAND}`; export r; \
27932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27933 $(HOST_EXPORTS) \
27934 for flag in $(EXTRA_HOST_FLAGS) ; do \
27935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27936 done; \
27937 echo "Doing installcheck in utils" ; \
27938 (cd $(HOST_SUBDIR)/utils && \
27939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27941 "RANLIB=$${RANLIB}" \
27942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27943 installcheck) \
27944 || exit 1
27946 @endif utils
27948 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
27949 maybe-mostlyclean-utils:
27950 @if utils
27951 maybe-mostlyclean-utils: mostlyclean-utils
27953 mostlyclean-utils:
27954 @$(unstage)
27955 @[ -f ./utils/Makefile ] || exit 0; \
27956 r=`${PWD_COMMAND}`; export r; \
27957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27958 $(HOST_EXPORTS) \
27959 for flag in $(EXTRA_HOST_FLAGS) ; do \
27960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27961 done; \
27962 echo "Doing mostlyclean in utils" ; \
27963 (cd $(HOST_SUBDIR)/utils && \
27964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27966 "RANLIB=$${RANLIB}" \
27967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27968 mostlyclean) \
27969 || exit 1
27971 @endif utils
27973 .PHONY: maybe-clean-utils clean-utils
27974 maybe-clean-utils:
27975 @if utils
27976 maybe-clean-utils: clean-utils
27978 clean-utils:
27979 @$(unstage)
27980 @[ -f ./utils/Makefile ] || exit 0; \
27981 r=`${PWD_COMMAND}`; export r; \
27982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27983 $(HOST_EXPORTS) \
27984 for flag in $(EXTRA_HOST_FLAGS) ; do \
27985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27986 done; \
27987 echo "Doing clean in utils" ; \
27988 (cd $(HOST_SUBDIR)/utils && \
27989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27991 "RANLIB=$${RANLIB}" \
27992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27993 clean) \
27994 || exit 1
27996 @endif utils
27998 .PHONY: maybe-distclean-utils distclean-utils
27999 maybe-distclean-utils:
28000 @if utils
28001 maybe-distclean-utils: distclean-utils
28003 distclean-utils:
28004 @$(unstage)
28005 @[ -f ./utils/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 distclean in utils" ; \
28013 (cd $(HOST_SUBDIR)/utils && \
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 distclean) \
28019 || exit 1
28021 @endif utils
28023 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28024 maybe-maintainer-clean-utils:
28025 @if utils
28026 maybe-maintainer-clean-utils: maintainer-clean-utils
28028 maintainer-clean-utils:
28029 @$(unstage)
28030 @[ -f ./utils/Makefile ] || exit 0; \
28031 r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28033 $(HOST_EXPORTS) \
28034 for flag in $(EXTRA_HOST_FLAGS) ; do \
28035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28036 done; \
28037 echo "Doing maintainer-clean in utils" ; \
28038 (cd $(HOST_SUBDIR)/utils && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28041 "RANLIB=$${RANLIB}" \
28042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28043 maintainer-clean) \
28044 || exit 1
28046 @endif utils
28050 .PHONY: configure-gnattools maybe-configure-gnattools
28051 maybe-configure-gnattools:
28052 @if gnattools
28053 maybe-configure-gnattools: configure-gnattools
28054 configure-gnattools:
28055 @$(unstage)
28056 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28058 r=`${PWD_COMMAND}`; export r; \
28059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28060 $(HOST_EXPORTS) \
28061 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28062 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28063 case $(srcdir) in \
28064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28065 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28067 esac; \
28068 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28069 libsrcdir="$$s/gnattools"; \
28070 $(SHELL) $${libsrcdir}/configure \
28071 $(HOST_CONFIGARGS) $${srcdiroption} \
28072 || exit 1
28073 @endif gnattools
28079 .PHONY: all-gnattools maybe-all-gnattools
28080 maybe-all-gnattools:
28081 @if gnattools
28082 TARGET-gnattools=all
28083 maybe-all-gnattools: all-gnattools
28084 all-gnattools: configure-gnattools
28085 @$(unstage)
28086 @r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28088 $(HOST_EXPORTS) \
28089 (cd $(HOST_SUBDIR)/gnattools && \
28090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28091 @endif gnattools
28096 .PHONY: check-gnattools maybe-check-gnattools
28097 maybe-check-gnattools:
28098 @if gnattools
28099 maybe-check-gnattools: check-gnattools
28101 check-gnattools:
28102 @$(unstage)
28103 @r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 $(HOST_EXPORTS) \
28106 (cd $(HOST_SUBDIR)/gnattools && \
28107 $(MAKE) $(FLAGS_TO_PASS) check)
28109 @endif gnattools
28111 .PHONY: install-gnattools maybe-install-gnattools
28112 maybe-install-gnattools:
28113 @if gnattools
28114 maybe-install-gnattools: install-gnattools
28116 install-gnattools: installdirs
28117 @$(unstage)
28118 @r=`${PWD_COMMAND}`; export r; \
28119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28120 $(HOST_EXPORTS) \
28121 (cd $(HOST_SUBDIR)/gnattools && \
28122 $(MAKE) $(FLAGS_TO_PASS) install)
28124 @endif gnattools
28126 # Other targets (info, dvi, etc.)
28128 .PHONY: maybe-info-gnattools info-gnattools
28129 maybe-info-gnattools:
28130 @if gnattools
28131 maybe-info-gnattools: info-gnattools
28133 info-gnattools: \
28134 configure-gnattools
28135 @$(unstage)
28136 @[ -f ./gnattools/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 info in gnattools" ; \
28144 (cd $(HOST_SUBDIR)/gnattools && \
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 info) \
28150 || exit 1
28152 @endif gnattools
28154 .PHONY: maybe-dvi-gnattools dvi-gnattools
28155 maybe-dvi-gnattools:
28156 @if gnattools
28157 maybe-dvi-gnattools: dvi-gnattools
28159 dvi-gnattools: \
28160 configure-gnattools
28161 @$(unstage)
28162 @[ -f ./gnattools/Makefile ] || exit 0; \
28163 r=`${PWD_COMMAND}`; export r; \
28164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28165 $(HOST_EXPORTS) \
28166 for flag in $(EXTRA_HOST_FLAGS) ; do \
28167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28168 done; \
28169 echo "Doing dvi in gnattools" ; \
28170 (cd $(HOST_SUBDIR)/gnattools && \
28171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28173 "RANLIB=$${RANLIB}" \
28174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28175 dvi) \
28176 || exit 1
28178 @endif gnattools
28180 .PHONY: maybe-html-gnattools html-gnattools
28181 maybe-html-gnattools:
28182 @if gnattools
28183 maybe-html-gnattools: html-gnattools
28185 html-gnattools: \
28186 configure-gnattools
28187 @$(unstage)
28188 @[ -f ./gnattools/Makefile ] || exit 0; \
28189 r=`${PWD_COMMAND}`; export r; \
28190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28191 $(HOST_EXPORTS) \
28192 for flag in $(EXTRA_HOST_FLAGS) ; do \
28193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28194 done; \
28195 echo "Doing html in gnattools" ; \
28196 (cd $(HOST_SUBDIR)/gnattools && \
28197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28199 "RANLIB=$${RANLIB}" \
28200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28201 html) \
28202 || exit 1
28204 @endif gnattools
28206 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28207 maybe-TAGS-gnattools:
28208 @if gnattools
28209 maybe-TAGS-gnattools: TAGS-gnattools
28211 TAGS-gnattools: \
28212 configure-gnattools
28213 @$(unstage)
28214 @[ -f ./gnattools/Makefile ] || exit 0; \
28215 r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 $(HOST_EXPORTS) \
28218 for flag in $(EXTRA_HOST_FLAGS) ; do \
28219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28220 done; \
28221 echo "Doing TAGS in gnattools" ; \
28222 (cd $(HOST_SUBDIR)/gnattools && \
28223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28225 "RANLIB=$${RANLIB}" \
28226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28227 TAGS) \
28228 || exit 1
28230 @endif gnattools
28232 .PHONY: maybe-install-info-gnattools install-info-gnattools
28233 maybe-install-info-gnattools:
28234 @if gnattools
28235 maybe-install-info-gnattools: install-info-gnattools
28237 install-info-gnattools: \
28238 configure-gnattools \
28239 info-gnattools
28240 @$(unstage)
28241 @[ -f ./gnattools/Makefile ] || exit 0; \
28242 r=`${PWD_COMMAND}`; export r; \
28243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28244 $(HOST_EXPORTS) \
28245 for flag in $(EXTRA_HOST_FLAGS) ; do \
28246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28247 done; \
28248 echo "Doing install-info in gnattools" ; \
28249 (cd $(HOST_SUBDIR)/gnattools && \
28250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28252 "RANLIB=$${RANLIB}" \
28253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28254 install-info) \
28255 || exit 1
28257 @endif gnattools
28259 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28260 maybe-installcheck-gnattools:
28261 @if gnattools
28262 maybe-installcheck-gnattools: installcheck-gnattools
28264 installcheck-gnattools: \
28265 configure-gnattools
28266 @$(unstage)
28267 @[ -f ./gnattools/Makefile ] || exit 0; \
28268 r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 $(HOST_EXPORTS) \
28271 for flag in $(EXTRA_HOST_FLAGS) ; do \
28272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28273 done; \
28274 echo "Doing installcheck in gnattools" ; \
28275 (cd $(HOST_SUBDIR)/gnattools && \
28276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28278 "RANLIB=$${RANLIB}" \
28279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28280 installcheck) \
28281 || exit 1
28283 @endif gnattools
28285 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28286 maybe-mostlyclean-gnattools:
28287 @if gnattools
28288 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28290 mostlyclean-gnattools:
28291 @$(unstage)
28292 @[ -f ./gnattools/Makefile ] || exit 0; \
28293 r=`${PWD_COMMAND}`; export r; \
28294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28295 $(HOST_EXPORTS) \
28296 for flag in $(EXTRA_HOST_FLAGS) ; do \
28297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28298 done; \
28299 echo "Doing mostlyclean in gnattools" ; \
28300 (cd $(HOST_SUBDIR)/gnattools && \
28301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28303 "RANLIB=$${RANLIB}" \
28304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28305 mostlyclean) \
28306 || exit 1
28308 @endif gnattools
28310 .PHONY: maybe-clean-gnattools clean-gnattools
28311 maybe-clean-gnattools:
28312 @if gnattools
28313 maybe-clean-gnattools: clean-gnattools
28315 clean-gnattools:
28316 @$(unstage)
28317 @[ -f ./gnattools/Makefile ] || exit 0; \
28318 r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28320 $(HOST_EXPORTS) \
28321 for flag in $(EXTRA_HOST_FLAGS) ; do \
28322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28323 done; \
28324 echo "Doing clean in gnattools" ; \
28325 (cd $(HOST_SUBDIR)/gnattools && \
28326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28328 "RANLIB=$${RANLIB}" \
28329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28330 clean) \
28331 || exit 1
28333 @endif gnattools
28335 .PHONY: maybe-distclean-gnattools distclean-gnattools
28336 maybe-distclean-gnattools:
28337 @if gnattools
28338 maybe-distclean-gnattools: distclean-gnattools
28340 distclean-gnattools:
28341 @$(unstage)
28342 @[ -f ./gnattools/Makefile ] || exit 0; \
28343 r=`${PWD_COMMAND}`; export r; \
28344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28345 $(HOST_EXPORTS) \
28346 for flag in $(EXTRA_HOST_FLAGS) ; do \
28347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28348 done; \
28349 echo "Doing distclean in gnattools" ; \
28350 (cd $(HOST_SUBDIR)/gnattools && \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28353 "RANLIB=$${RANLIB}" \
28354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28355 distclean) \
28356 || exit 1
28358 @endif gnattools
28360 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28361 maybe-maintainer-clean-gnattools:
28362 @if gnattools
28363 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28365 maintainer-clean-gnattools:
28366 @$(unstage)
28367 @[ -f ./gnattools/Makefile ] || exit 0; \
28368 r=`${PWD_COMMAND}`; export r; \
28369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28370 $(HOST_EXPORTS) \
28371 for flag in $(EXTRA_HOST_FLAGS) ; do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 done; \
28374 echo "Doing maintainer-clean in gnattools" ; \
28375 (cd $(HOST_SUBDIR)/gnattools && \
28376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28378 "RANLIB=$${RANLIB}" \
28379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28380 maintainer-clean) \
28381 || exit 1
28383 @endif gnattools
28387 # ---------------------------------------
28388 # Modules which run on the target machine
28389 # ---------------------------------------
28392 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28393 @if target-libstdc++-v3
28394 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
28395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28396 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
28397 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28398 @endif target-libstdc++-v3
28402 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28403 maybe-configure-target-libstdc++-v3:
28404 @if target-libstdc++-v3
28405 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28406 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28407 @$(unstage)
28408 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28409 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28410 r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 $(RAW_CXX_TARGET_EXPORTS) \
28413 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28414 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28415 case $(srcdir) in \
28416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28417 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28419 esac; \
28420 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28421 libsrcdir="$$s/libstdc++-v3"; \
28422 rm -f no-such-file || : ; \
28423 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28424 $(TARGET_CONFIGARGS) $${srcdiroption} \
28425 || exit 1
28426 @endif target-libstdc++-v3
28432 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28433 maybe-all-target-libstdc++-v3:
28434 @if target-libstdc++-v3
28435 TARGET-target-libstdc++-v3=all
28436 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28437 all-target-libstdc++-v3: configure-target-libstdc++-v3
28438 @$(unstage)
28439 @r=`${PWD_COMMAND}`; export r; \
28440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28441 $(RAW_CXX_TARGET_EXPORTS) \
28442 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28443 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28444 @endif target-libstdc++-v3
28450 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28451 maybe-check-target-libstdc++-v3:
28452 @if target-libstdc++-v3
28453 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28455 check-target-libstdc++-v3:
28456 @$(unstage)
28457 @r=`${PWD_COMMAND}`; export r; \
28458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28459 $(RAW_CXX_TARGET_EXPORTS) \
28460 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28461 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28463 @endif target-libstdc++-v3
28465 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28466 maybe-install-target-libstdc++-v3:
28467 @if target-libstdc++-v3
28468 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28470 install-target-libstdc++-v3: installdirs
28471 @$(unstage)
28472 @r=`${PWD_COMMAND}`; export r; \
28473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28474 $(RAW_CXX_TARGET_EXPORTS) \
28475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28476 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28478 @endif target-libstdc++-v3
28480 # Other targets (info, dvi, etc.)
28482 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28483 maybe-info-target-libstdc++-v3:
28484 @if target-libstdc++-v3
28485 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28487 info-target-libstdc++-v3: \
28488 configure-target-libstdc++-v3
28489 @$(unstage)
28490 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28491 r=`${PWD_COMMAND}`; export r; \
28492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28493 $(RAW_CXX_TARGET_EXPORTS) \
28494 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28495 for flag in $(EXTRA_TARGET_FLAGS); do \
28496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28497 done; \
28498 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28501 "RANLIB=$${RANLIB}" \
28502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28503 info) \
28504 || exit 1
28506 @endif target-libstdc++-v3
28508 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28509 maybe-dvi-target-libstdc++-v3:
28510 @if target-libstdc++-v3
28511 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28513 dvi-target-libstdc++-v3: \
28514 configure-target-libstdc++-v3
28515 @$(unstage)
28516 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28517 r=`${PWD_COMMAND}`; export r; \
28518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28519 $(RAW_CXX_TARGET_EXPORTS) \
28520 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28521 for flag in $(EXTRA_TARGET_FLAGS); do \
28522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28523 done; \
28524 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28527 "RANLIB=$${RANLIB}" \
28528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28529 dvi) \
28530 || exit 1
28532 @endif target-libstdc++-v3
28534 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
28535 maybe-html-target-libstdc++-v3:
28536 @if target-libstdc++-v3
28537 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
28539 html-target-libstdc++-v3: \
28540 configure-target-libstdc++-v3
28541 @$(unstage)
28542 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28543 r=`${PWD_COMMAND}`; export r; \
28544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28545 $(RAW_CXX_TARGET_EXPORTS) \
28546 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28547 for flag in $(EXTRA_TARGET_FLAGS); do \
28548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28549 done; \
28550 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28553 "RANLIB=$${RANLIB}" \
28554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28555 html) \
28556 || exit 1
28558 @endif target-libstdc++-v3
28560 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
28561 maybe-TAGS-target-libstdc++-v3:
28562 @if target-libstdc++-v3
28563 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
28565 TAGS-target-libstdc++-v3: \
28566 configure-target-libstdc++-v3
28567 @$(unstage)
28568 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28569 r=`${PWD_COMMAND}`; export r; \
28570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28571 $(RAW_CXX_TARGET_EXPORTS) \
28572 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28573 for flag in $(EXTRA_TARGET_FLAGS); do \
28574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28575 done; \
28576 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28579 "RANLIB=$${RANLIB}" \
28580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28581 TAGS) \
28582 || exit 1
28584 @endif target-libstdc++-v3
28586 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
28587 maybe-install-info-target-libstdc++-v3:
28588 @if target-libstdc++-v3
28589 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
28591 install-info-target-libstdc++-v3: \
28592 configure-target-libstdc++-v3 \
28593 info-target-libstdc++-v3
28594 @$(unstage)
28595 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28596 r=`${PWD_COMMAND}`; export r; \
28597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28598 $(RAW_CXX_TARGET_EXPORTS) \
28599 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28600 for flag in $(EXTRA_TARGET_FLAGS); do \
28601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28602 done; \
28603 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28606 "RANLIB=$${RANLIB}" \
28607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28608 install-info) \
28609 || exit 1
28611 @endif target-libstdc++-v3
28613 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
28614 maybe-installcheck-target-libstdc++-v3:
28615 @if target-libstdc++-v3
28616 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
28618 installcheck-target-libstdc++-v3: \
28619 configure-target-libstdc++-v3
28620 @$(unstage)
28621 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28622 r=`${PWD_COMMAND}`; export r; \
28623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28624 $(RAW_CXX_TARGET_EXPORTS) \
28625 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28626 for flag in $(EXTRA_TARGET_FLAGS); do \
28627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28628 done; \
28629 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28632 "RANLIB=$${RANLIB}" \
28633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28634 installcheck) \
28635 || exit 1
28637 @endif target-libstdc++-v3
28639 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
28640 maybe-mostlyclean-target-libstdc++-v3:
28641 @if target-libstdc++-v3
28642 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
28644 mostlyclean-target-libstdc++-v3:
28645 @$(unstage)
28646 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28647 r=`${PWD_COMMAND}`; export r; \
28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 $(RAW_CXX_TARGET_EXPORTS) \
28650 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28651 for flag in $(EXTRA_TARGET_FLAGS); do \
28652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28653 done; \
28654 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28657 "RANLIB=$${RANLIB}" \
28658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28659 mostlyclean) \
28660 || exit 1
28662 @endif target-libstdc++-v3
28664 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
28665 maybe-clean-target-libstdc++-v3:
28666 @if target-libstdc++-v3
28667 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
28669 clean-target-libstdc++-v3:
28670 @$(unstage)
28671 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28672 r=`${PWD_COMMAND}`; export r; \
28673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28674 $(RAW_CXX_TARGET_EXPORTS) \
28675 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28676 for flag in $(EXTRA_TARGET_FLAGS); do \
28677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28678 done; \
28679 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28682 "RANLIB=$${RANLIB}" \
28683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28684 clean) \
28685 || exit 1
28687 @endif target-libstdc++-v3
28689 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
28690 maybe-distclean-target-libstdc++-v3:
28691 @if target-libstdc++-v3
28692 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
28694 distclean-target-libstdc++-v3:
28695 @$(unstage)
28696 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(RAW_CXX_TARGET_EXPORTS) \
28700 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28701 for flag in $(EXTRA_TARGET_FLAGS); do \
28702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28703 done; \
28704 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28707 "RANLIB=$${RANLIB}" \
28708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28709 distclean) \
28710 || exit 1
28712 @endif target-libstdc++-v3
28714 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
28715 maybe-maintainer-clean-target-libstdc++-v3:
28716 @if target-libstdc++-v3
28717 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
28719 maintainer-clean-target-libstdc++-v3:
28720 @$(unstage)
28721 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28722 r=`${PWD_COMMAND}`; export r; \
28723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28724 $(RAW_CXX_TARGET_EXPORTS) \
28725 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28726 for flag in $(EXTRA_TARGET_FLAGS); do \
28727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28728 done; \
28729 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28732 "RANLIB=$${RANLIB}" \
28733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28734 maintainer-clean) \
28735 || exit 1
28737 @endif target-libstdc++-v3
28741 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28742 @if target-libmudflap
28743 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
28744 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
28745 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
28746 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
28747 @endif target-libmudflap
28751 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
28752 maybe-configure-target-libmudflap:
28753 @if target-libmudflap
28754 maybe-configure-target-libmudflap: configure-target-libmudflap
28755 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
28756 @$(unstage)
28757 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
28758 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
28759 r=`${PWD_COMMAND}`; export r; \
28760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28761 $(NORMAL_TARGET_EXPORTS) \
28762 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
28763 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
28764 case $(srcdir) in \
28765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28766 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
28767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28768 esac; \
28769 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
28770 libsrcdir="$$s/libmudflap"; \
28771 rm -f no-such-file || : ; \
28772 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28773 $(TARGET_CONFIGARGS) $${srcdiroption} \
28774 || exit 1
28775 @endif target-libmudflap
28781 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
28782 maybe-all-target-libmudflap:
28783 @if target-libmudflap
28784 TARGET-target-libmudflap=all
28785 maybe-all-target-libmudflap: all-target-libmudflap
28786 all-target-libmudflap: configure-target-libmudflap
28787 @$(unstage)
28788 @r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(NORMAL_TARGET_EXPORTS) \
28791 (cd $(TARGET_SUBDIR)/libmudflap && \
28792 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
28793 @endif target-libmudflap
28799 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
28800 maybe-check-target-libmudflap:
28801 @if target-libmudflap
28802 maybe-check-target-libmudflap: check-target-libmudflap
28804 check-target-libmudflap:
28805 @$(unstage)
28806 @r=`${PWD_COMMAND}`; export r; \
28807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28808 $(NORMAL_TARGET_EXPORTS) \
28809 (cd $(TARGET_SUBDIR)/libmudflap && \
28810 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28812 @endif target-libmudflap
28814 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
28815 maybe-install-target-libmudflap:
28816 @if target-libmudflap
28817 maybe-install-target-libmudflap: install-target-libmudflap
28819 install-target-libmudflap: installdirs
28820 @$(unstage)
28821 @r=`${PWD_COMMAND}`; export r; \
28822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28823 $(NORMAL_TARGET_EXPORTS) \
28824 (cd $(TARGET_SUBDIR)/libmudflap && \
28825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28827 @endif target-libmudflap
28829 # Other targets (info, dvi, etc.)
28831 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
28832 maybe-info-target-libmudflap:
28833 @if target-libmudflap
28834 maybe-info-target-libmudflap: info-target-libmudflap
28836 info-target-libmudflap: \
28837 configure-target-libmudflap
28838 @$(unstage)
28839 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28840 r=`${PWD_COMMAND}`; export r; \
28841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28842 $(NORMAL_TARGET_EXPORTS) \
28843 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
28844 for flag in $(EXTRA_TARGET_FLAGS); do \
28845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28846 done; \
28847 (cd $(TARGET_SUBDIR)/libmudflap && \
28848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28850 "RANLIB=$${RANLIB}" \
28851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28852 info) \
28853 || exit 1
28855 @endif target-libmudflap
28857 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
28858 maybe-dvi-target-libmudflap:
28859 @if target-libmudflap
28860 maybe-dvi-target-libmudflap: dvi-target-libmudflap
28862 dvi-target-libmudflap: \
28863 configure-target-libmudflap
28864 @$(unstage)
28865 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28866 r=`${PWD_COMMAND}`; export r; \
28867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28868 $(NORMAL_TARGET_EXPORTS) \
28869 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
28870 for flag in $(EXTRA_TARGET_FLAGS); do \
28871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28872 done; \
28873 (cd $(TARGET_SUBDIR)/libmudflap && \
28874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28876 "RANLIB=$${RANLIB}" \
28877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28878 dvi) \
28879 || exit 1
28881 @endif target-libmudflap
28883 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
28884 maybe-html-target-libmudflap:
28885 @if target-libmudflap
28886 maybe-html-target-libmudflap: html-target-libmudflap
28888 html-target-libmudflap: \
28889 configure-target-libmudflap
28890 @$(unstage)
28891 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28892 r=`${PWD_COMMAND}`; export r; \
28893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28894 $(NORMAL_TARGET_EXPORTS) \
28895 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
28896 for flag in $(EXTRA_TARGET_FLAGS); do \
28897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28898 done; \
28899 (cd $(TARGET_SUBDIR)/libmudflap && \
28900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28902 "RANLIB=$${RANLIB}" \
28903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28904 html) \
28905 || exit 1
28907 @endif target-libmudflap
28909 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
28910 maybe-TAGS-target-libmudflap:
28911 @if target-libmudflap
28912 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
28914 TAGS-target-libmudflap: \
28915 configure-target-libmudflap
28916 @$(unstage)
28917 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28918 r=`${PWD_COMMAND}`; export r; \
28919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28920 $(NORMAL_TARGET_EXPORTS) \
28921 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
28922 for flag in $(EXTRA_TARGET_FLAGS); do \
28923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28924 done; \
28925 (cd $(TARGET_SUBDIR)/libmudflap && \
28926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28928 "RANLIB=$${RANLIB}" \
28929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28930 TAGS) \
28931 || exit 1
28933 @endif target-libmudflap
28935 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
28936 maybe-install-info-target-libmudflap:
28937 @if target-libmudflap
28938 maybe-install-info-target-libmudflap: install-info-target-libmudflap
28940 install-info-target-libmudflap: \
28941 configure-target-libmudflap \
28942 info-target-libmudflap
28943 @$(unstage)
28944 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28945 r=`${PWD_COMMAND}`; export r; \
28946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28947 $(NORMAL_TARGET_EXPORTS) \
28948 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
28949 for flag in $(EXTRA_TARGET_FLAGS); do \
28950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28951 done; \
28952 (cd $(TARGET_SUBDIR)/libmudflap && \
28953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28955 "RANLIB=$${RANLIB}" \
28956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28957 install-info) \
28958 || exit 1
28960 @endif target-libmudflap
28962 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
28963 maybe-installcheck-target-libmudflap:
28964 @if target-libmudflap
28965 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
28967 installcheck-target-libmudflap: \
28968 configure-target-libmudflap
28969 @$(unstage)
28970 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28971 r=`${PWD_COMMAND}`; export r; \
28972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28973 $(NORMAL_TARGET_EXPORTS) \
28974 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
28975 for flag in $(EXTRA_TARGET_FLAGS); do \
28976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28977 done; \
28978 (cd $(TARGET_SUBDIR)/libmudflap && \
28979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28981 "RANLIB=$${RANLIB}" \
28982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28983 installcheck) \
28984 || exit 1
28986 @endif target-libmudflap
28988 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
28989 maybe-mostlyclean-target-libmudflap:
28990 @if target-libmudflap
28991 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
28993 mostlyclean-target-libmudflap:
28994 @$(unstage)
28995 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28996 r=`${PWD_COMMAND}`; export r; \
28997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28998 $(NORMAL_TARGET_EXPORTS) \
28999 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29000 for flag in $(EXTRA_TARGET_FLAGS); do \
29001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29002 done; \
29003 (cd $(TARGET_SUBDIR)/libmudflap && \
29004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29006 "RANLIB=$${RANLIB}" \
29007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29008 mostlyclean) \
29009 || exit 1
29011 @endif target-libmudflap
29013 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29014 maybe-clean-target-libmudflap:
29015 @if target-libmudflap
29016 maybe-clean-target-libmudflap: clean-target-libmudflap
29018 clean-target-libmudflap:
29019 @$(unstage)
29020 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29021 r=`${PWD_COMMAND}`; export r; \
29022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29023 $(NORMAL_TARGET_EXPORTS) \
29024 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29025 for flag in $(EXTRA_TARGET_FLAGS); do \
29026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29027 done; \
29028 (cd $(TARGET_SUBDIR)/libmudflap && \
29029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29031 "RANLIB=$${RANLIB}" \
29032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29033 clean) \
29034 || exit 1
29036 @endif target-libmudflap
29038 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29039 maybe-distclean-target-libmudflap:
29040 @if target-libmudflap
29041 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29043 distclean-target-libmudflap:
29044 @$(unstage)
29045 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29046 r=`${PWD_COMMAND}`; export r; \
29047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29048 $(NORMAL_TARGET_EXPORTS) \
29049 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 distclean) \
29059 || exit 1
29061 @endif target-libmudflap
29063 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29064 maybe-maintainer-clean-target-libmudflap:
29065 @if target-libmudflap
29066 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29068 maintainer-clean-target-libmudflap:
29069 @$(unstage)
29070 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(NORMAL_TARGET_EXPORTS) \
29074 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29075 for flag in $(EXTRA_TARGET_FLAGS); do \
29076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29077 done; \
29078 (cd $(TARGET_SUBDIR)/libmudflap && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29083 maintainer-clean) \
29084 || exit 1
29086 @endif target-libmudflap
29090 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29091 @if target-libssp
29092 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
29093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29094 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
29095 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
29096 @endif target-libssp
29100 .PHONY: configure-target-libssp maybe-configure-target-libssp
29101 maybe-configure-target-libssp:
29102 @if target-libssp
29103 maybe-configure-target-libssp: configure-target-libssp
29104 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
29105 @$(unstage)
29106 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29107 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29108 r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(NORMAL_TARGET_EXPORTS) \
29111 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29112 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29113 case $(srcdir) in \
29114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29115 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29117 esac; \
29118 srcdiroption="--srcdir=$${topdir}/libssp"; \
29119 libsrcdir="$$s/libssp"; \
29120 rm -f no-such-file || : ; \
29121 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29122 $(TARGET_CONFIGARGS) $${srcdiroption} \
29123 || exit 1
29124 @endif target-libssp
29130 .PHONY: all-target-libssp maybe-all-target-libssp
29131 maybe-all-target-libssp:
29132 @if target-libssp
29133 TARGET-target-libssp=all
29134 maybe-all-target-libssp: all-target-libssp
29135 all-target-libssp: configure-target-libssp
29136 @$(unstage)
29137 @r=`${PWD_COMMAND}`; export r; \
29138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29139 $(NORMAL_TARGET_EXPORTS) \
29140 (cd $(TARGET_SUBDIR)/libssp && \
29141 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29142 @endif target-libssp
29148 .PHONY: check-target-libssp maybe-check-target-libssp
29149 maybe-check-target-libssp:
29150 @if target-libssp
29151 maybe-check-target-libssp: check-target-libssp
29153 check-target-libssp:
29154 @$(unstage)
29155 @r=`${PWD_COMMAND}`; export r; \
29156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29157 $(NORMAL_TARGET_EXPORTS) \
29158 (cd $(TARGET_SUBDIR)/libssp && \
29159 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29161 @endif target-libssp
29163 .PHONY: install-target-libssp maybe-install-target-libssp
29164 maybe-install-target-libssp:
29165 @if target-libssp
29166 maybe-install-target-libssp: install-target-libssp
29168 install-target-libssp: installdirs
29169 @$(unstage)
29170 @r=`${PWD_COMMAND}`; export r; \
29171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29172 $(NORMAL_TARGET_EXPORTS) \
29173 (cd $(TARGET_SUBDIR)/libssp && \
29174 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29176 @endif target-libssp
29178 # Other targets (info, dvi, etc.)
29180 .PHONY: maybe-info-target-libssp info-target-libssp
29181 maybe-info-target-libssp:
29182 @if target-libssp
29183 maybe-info-target-libssp: info-target-libssp
29185 info-target-libssp: \
29186 configure-target-libssp
29187 @$(unstage)
29188 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29189 r=`${PWD_COMMAND}`; export r; \
29190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29191 $(NORMAL_TARGET_EXPORTS) \
29192 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29193 for flag in $(EXTRA_TARGET_FLAGS); do \
29194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29195 done; \
29196 (cd $(TARGET_SUBDIR)/libssp && \
29197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29199 "RANLIB=$${RANLIB}" \
29200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29201 info) \
29202 || exit 1
29204 @endif target-libssp
29206 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29207 maybe-dvi-target-libssp:
29208 @if target-libssp
29209 maybe-dvi-target-libssp: dvi-target-libssp
29211 dvi-target-libssp: \
29212 configure-target-libssp
29213 @$(unstage)
29214 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29215 r=`${PWD_COMMAND}`; export r; \
29216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29217 $(NORMAL_TARGET_EXPORTS) \
29218 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29219 for flag in $(EXTRA_TARGET_FLAGS); do \
29220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29221 done; \
29222 (cd $(TARGET_SUBDIR)/libssp && \
29223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29225 "RANLIB=$${RANLIB}" \
29226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29227 dvi) \
29228 || exit 1
29230 @endif target-libssp
29232 .PHONY: maybe-html-target-libssp html-target-libssp
29233 maybe-html-target-libssp:
29234 @if target-libssp
29235 maybe-html-target-libssp: html-target-libssp
29237 html-target-libssp: \
29238 configure-target-libssp
29239 @$(unstage)
29240 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29241 r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(NORMAL_TARGET_EXPORTS) \
29244 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29245 for flag in $(EXTRA_TARGET_FLAGS); do \
29246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29247 done; \
29248 (cd $(TARGET_SUBDIR)/libssp && \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29251 "RANLIB=$${RANLIB}" \
29252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29253 html) \
29254 || exit 1
29256 @endif target-libssp
29258 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29259 maybe-TAGS-target-libssp:
29260 @if target-libssp
29261 maybe-TAGS-target-libssp: TAGS-target-libssp
29263 TAGS-target-libssp: \
29264 configure-target-libssp
29265 @$(unstage)
29266 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29267 r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(NORMAL_TARGET_EXPORTS) \
29270 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29271 for flag in $(EXTRA_TARGET_FLAGS); do \
29272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29273 done; \
29274 (cd $(TARGET_SUBDIR)/libssp && \
29275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29277 "RANLIB=$${RANLIB}" \
29278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29279 TAGS) \
29280 || exit 1
29282 @endif target-libssp
29284 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29285 maybe-install-info-target-libssp:
29286 @if target-libssp
29287 maybe-install-info-target-libssp: install-info-target-libssp
29289 install-info-target-libssp: \
29290 configure-target-libssp \
29291 info-target-libssp
29292 @$(unstage)
29293 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(NORMAL_TARGET_EXPORTS) \
29297 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29298 for flag in $(EXTRA_TARGET_FLAGS); do \
29299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29300 done; \
29301 (cd $(TARGET_SUBDIR)/libssp && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29304 "RANLIB=$${RANLIB}" \
29305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29306 install-info) \
29307 || exit 1
29309 @endif target-libssp
29311 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29312 maybe-installcheck-target-libssp:
29313 @if target-libssp
29314 maybe-installcheck-target-libssp: installcheck-target-libssp
29316 installcheck-target-libssp: \
29317 configure-target-libssp
29318 @$(unstage)
29319 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29320 r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(NORMAL_TARGET_EXPORTS) \
29323 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29324 for flag in $(EXTRA_TARGET_FLAGS); do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 done; \
29327 (cd $(TARGET_SUBDIR)/libssp && \
29328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29330 "RANLIB=$${RANLIB}" \
29331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29332 installcheck) \
29333 || exit 1
29335 @endif target-libssp
29337 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29338 maybe-mostlyclean-target-libssp:
29339 @if target-libssp
29340 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29342 mostlyclean-target-libssp:
29343 @$(unstage)
29344 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29345 r=`${PWD_COMMAND}`; export r; \
29346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29347 $(NORMAL_TARGET_EXPORTS) \
29348 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29349 for flag in $(EXTRA_TARGET_FLAGS); do \
29350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29351 done; \
29352 (cd $(TARGET_SUBDIR)/libssp && \
29353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29355 "RANLIB=$${RANLIB}" \
29356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29357 mostlyclean) \
29358 || exit 1
29360 @endif target-libssp
29362 .PHONY: maybe-clean-target-libssp clean-target-libssp
29363 maybe-clean-target-libssp:
29364 @if target-libssp
29365 maybe-clean-target-libssp: clean-target-libssp
29367 clean-target-libssp:
29368 @$(unstage)
29369 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29370 r=`${PWD_COMMAND}`; export r; \
29371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29372 $(NORMAL_TARGET_EXPORTS) \
29373 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29374 for flag in $(EXTRA_TARGET_FLAGS); do \
29375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29376 done; \
29377 (cd $(TARGET_SUBDIR)/libssp && \
29378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29380 "RANLIB=$${RANLIB}" \
29381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29382 clean) \
29383 || exit 1
29385 @endif target-libssp
29387 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29388 maybe-distclean-target-libssp:
29389 @if target-libssp
29390 maybe-distclean-target-libssp: distclean-target-libssp
29392 distclean-target-libssp:
29393 @$(unstage)
29394 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29395 r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 $(NORMAL_TARGET_EXPORTS) \
29398 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
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)/libssp && \
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 distclean) \
29408 || exit 1
29410 @endif target-libssp
29412 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29413 maybe-maintainer-clean-target-libssp:
29414 @if target-libssp
29415 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29417 maintainer-clean-target-libssp:
29418 @$(unstage)
29419 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29420 r=`${PWD_COMMAND}`; export r; \
29421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29422 $(NORMAL_TARGET_EXPORTS) \
29423 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29424 for flag in $(EXTRA_TARGET_FLAGS); do \
29425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 done; \
29427 (cd $(TARGET_SUBDIR)/libssp && \
29428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29430 "RANLIB=$${RANLIB}" \
29431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29432 maintainer-clean) \
29433 || exit 1
29435 @endif target-libssp
29439 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29440 @if target-newlib
29441 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
29442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29443 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
29444 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
29445 @endif target-newlib
29449 .PHONY: configure-target-newlib maybe-configure-target-newlib
29450 maybe-configure-target-newlib:
29451 @if target-newlib
29452 maybe-configure-target-newlib: configure-target-newlib
29453 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
29454 @$(unstage)
29455 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29457 r=`${PWD_COMMAND}`; export r; \
29458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29459 $(NORMAL_TARGET_EXPORTS) \
29460 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29461 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29462 case $(srcdir) in \
29463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29464 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29466 esac; \
29467 srcdiroption="--srcdir=$${topdir}/newlib"; \
29468 libsrcdir="$$s/newlib"; \
29469 rm -f no-such-file || : ; \
29470 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29471 $(TARGET_CONFIGARGS) $${srcdiroption} \
29472 || exit 1
29473 @endif target-newlib
29479 .PHONY: all-target-newlib maybe-all-target-newlib
29480 maybe-all-target-newlib:
29481 @if target-newlib
29482 TARGET-target-newlib=all
29483 maybe-all-target-newlib: all-target-newlib
29484 all-target-newlib: configure-target-newlib
29485 @$(unstage)
29486 @r=`${PWD_COMMAND}`; export r; \
29487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29488 $(NORMAL_TARGET_EXPORTS) \
29489 (cd $(TARGET_SUBDIR)/newlib && \
29490 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29491 @endif target-newlib
29497 .PHONY: check-target-newlib maybe-check-target-newlib
29498 maybe-check-target-newlib:
29499 @if target-newlib
29500 maybe-check-target-newlib: check-target-newlib
29502 check-target-newlib:
29503 @$(unstage)
29504 @r=`${PWD_COMMAND}`; export r; \
29505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29506 $(NORMAL_TARGET_EXPORTS) \
29507 (cd $(TARGET_SUBDIR)/newlib && \
29508 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29510 @endif target-newlib
29512 .PHONY: install-target-newlib maybe-install-target-newlib
29513 maybe-install-target-newlib:
29514 @if target-newlib
29515 maybe-install-target-newlib: install-target-newlib
29517 install-target-newlib: installdirs
29518 @$(unstage)
29519 @r=`${PWD_COMMAND}`; export r; \
29520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29521 $(NORMAL_TARGET_EXPORTS) \
29522 (cd $(TARGET_SUBDIR)/newlib && \
29523 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29525 @endif target-newlib
29527 # Other targets (info, dvi, etc.)
29529 .PHONY: maybe-info-target-newlib info-target-newlib
29530 maybe-info-target-newlib:
29531 @if target-newlib
29532 maybe-info-target-newlib: info-target-newlib
29534 info-target-newlib: \
29535 configure-target-newlib
29536 @$(unstage)
29537 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29538 r=`${PWD_COMMAND}`; export r; \
29539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29540 $(NORMAL_TARGET_EXPORTS) \
29541 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
29542 for flag in $(EXTRA_TARGET_FLAGS); do \
29543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29544 done; \
29545 (cd $(TARGET_SUBDIR)/newlib && \
29546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29548 "RANLIB=$${RANLIB}" \
29549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29550 info) \
29551 || exit 1
29553 @endif target-newlib
29555 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
29556 maybe-dvi-target-newlib:
29557 @if target-newlib
29558 maybe-dvi-target-newlib: dvi-target-newlib
29560 dvi-target-newlib: \
29561 configure-target-newlib
29562 @$(unstage)
29563 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29564 r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(NORMAL_TARGET_EXPORTS) \
29567 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
29568 for flag in $(EXTRA_TARGET_FLAGS); do \
29569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29570 done; \
29571 (cd $(TARGET_SUBDIR)/newlib && \
29572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29574 "RANLIB=$${RANLIB}" \
29575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29576 dvi) \
29577 || exit 1
29579 @endif target-newlib
29581 .PHONY: maybe-html-target-newlib html-target-newlib
29582 maybe-html-target-newlib:
29583 @if target-newlib
29584 maybe-html-target-newlib: html-target-newlib
29586 html-target-newlib: \
29587 configure-target-newlib
29588 @$(unstage)
29589 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29590 r=`${PWD_COMMAND}`; export r; \
29591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29592 $(NORMAL_TARGET_EXPORTS) \
29593 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
29594 for flag in $(EXTRA_TARGET_FLAGS); do \
29595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29596 done; \
29597 (cd $(TARGET_SUBDIR)/newlib && \
29598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29600 "RANLIB=$${RANLIB}" \
29601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29602 html) \
29603 || exit 1
29605 @endif target-newlib
29607 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
29608 maybe-TAGS-target-newlib:
29609 @if target-newlib
29610 maybe-TAGS-target-newlib: TAGS-target-newlib
29612 TAGS-target-newlib: \
29613 configure-target-newlib
29614 @$(unstage)
29615 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29616 r=`${PWD_COMMAND}`; export r; \
29617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29618 $(NORMAL_TARGET_EXPORTS) \
29619 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
29620 for flag in $(EXTRA_TARGET_FLAGS); do \
29621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29622 done; \
29623 (cd $(TARGET_SUBDIR)/newlib && \
29624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29626 "RANLIB=$${RANLIB}" \
29627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29628 TAGS) \
29629 || exit 1
29631 @endif target-newlib
29633 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
29634 maybe-install-info-target-newlib:
29635 @if target-newlib
29636 maybe-install-info-target-newlib: install-info-target-newlib
29638 install-info-target-newlib: \
29639 configure-target-newlib \
29640 info-target-newlib
29641 @$(unstage)
29642 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29643 r=`${PWD_COMMAND}`; export r; \
29644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 $(NORMAL_TARGET_EXPORTS) \
29646 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
29647 for flag in $(EXTRA_TARGET_FLAGS); do \
29648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29649 done; \
29650 (cd $(TARGET_SUBDIR)/newlib && \
29651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29653 "RANLIB=$${RANLIB}" \
29654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29655 install-info) \
29656 || exit 1
29658 @endif target-newlib
29660 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
29661 maybe-installcheck-target-newlib:
29662 @if target-newlib
29663 maybe-installcheck-target-newlib: installcheck-target-newlib
29665 installcheck-target-newlib: \
29666 configure-target-newlib
29667 @$(unstage)
29668 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29669 r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(NORMAL_TARGET_EXPORTS) \
29672 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
29673 for flag in $(EXTRA_TARGET_FLAGS); do \
29674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29675 done; \
29676 (cd $(TARGET_SUBDIR)/newlib && \
29677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29679 "RANLIB=$${RANLIB}" \
29680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29681 installcheck) \
29682 || exit 1
29684 @endif target-newlib
29686 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
29687 maybe-mostlyclean-target-newlib:
29688 @if target-newlib
29689 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
29691 mostlyclean-target-newlib:
29692 @$(unstage)
29693 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29694 r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(NORMAL_TARGET_EXPORTS) \
29697 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
29698 for flag in $(EXTRA_TARGET_FLAGS); do \
29699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29700 done; \
29701 (cd $(TARGET_SUBDIR)/newlib && \
29702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29704 "RANLIB=$${RANLIB}" \
29705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29706 mostlyclean) \
29707 || exit 1
29709 @endif target-newlib
29711 .PHONY: maybe-clean-target-newlib clean-target-newlib
29712 maybe-clean-target-newlib:
29713 @if target-newlib
29714 maybe-clean-target-newlib: clean-target-newlib
29716 clean-target-newlib:
29717 @$(unstage)
29718 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(NORMAL_TARGET_EXPORTS) \
29722 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
29723 for flag in $(EXTRA_TARGET_FLAGS); do \
29724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29725 done; \
29726 (cd $(TARGET_SUBDIR)/newlib && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29731 clean) \
29732 || exit 1
29734 @endif target-newlib
29736 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
29737 maybe-distclean-target-newlib:
29738 @if target-newlib
29739 maybe-distclean-target-newlib: distclean-target-newlib
29741 distclean-target-newlib:
29742 @$(unstage)
29743 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(NORMAL_TARGET_EXPORTS) \
29747 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 distclean) \
29757 || exit 1
29759 @endif target-newlib
29761 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
29762 maybe-maintainer-clean-target-newlib:
29763 @if target-newlib
29764 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
29766 maintainer-clean-target-newlib:
29767 @$(unstage)
29768 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(NORMAL_TARGET_EXPORTS) \
29772 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
29773 for flag in $(EXTRA_TARGET_FLAGS); do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 (cd $(TARGET_SUBDIR)/newlib && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29781 maintainer-clean) \
29782 || exit 1
29784 @endif target-newlib
29788 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29789 @if target-libgfortran
29790 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
29791 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
29792 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
29793 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
29794 @endif target-libgfortran
29798 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
29799 maybe-configure-target-libgfortran:
29800 @if target-libgfortran
29801 maybe-configure-target-libgfortran: configure-target-libgfortran
29802 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
29803 @$(unstage)
29804 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
29805 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
29806 r=`${PWD_COMMAND}`; export r; \
29807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29808 $(NORMAL_TARGET_EXPORTS) \
29809 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
29810 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
29811 case $(srcdir) in \
29812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29813 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
29814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29815 esac; \
29816 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
29817 libsrcdir="$$s/libgfortran"; \
29818 rm -f no-such-file || : ; \
29819 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29820 $(TARGET_CONFIGARGS) $${srcdiroption} \
29821 || exit 1
29822 @endif target-libgfortran
29828 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
29829 maybe-all-target-libgfortran:
29830 @if target-libgfortran
29831 TARGET-target-libgfortran=all
29832 maybe-all-target-libgfortran: all-target-libgfortran
29833 all-target-libgfortran: configure-target-libgfortran
29834 @$(unstage)
29835 @r=`${PWD_COMMAND}`; export r; \
29836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29837 $(NORMAL_TARGET_EXPORTS) \
29838 (cd $(TARGET_SUBDIR)/libgfortran && \
29839 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
29840 @endif target-libgfortran
29846 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
29847 maybe-check-target-libgfortran:
29848 @if target-libgfortran
29849 maybe-check-target-libgfortran: check-target-libgfortran
29851 check-target-libgfortran:
29852 @$(unstage)
29853 @r=`${PWD_COMMAND}`; export r; \
29854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29855 $(NORMAL_TARGET_EXPORTS) \
29856 (cd $(TARGET_SUBDIR)/libgfortran && \
29857 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29859 @endif target-libgfortran
29861 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
29862 maybe-install-target-libgfortran:
29863 @if target-libgfortran
29864 maybe-install-target-libgfortran: install-target-libgfortran
29866 install-target-libgfortran: installdirs
29867 @$(unstage)
29868 @r=`${PWD_COMMAND}`; export r; \
29869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29870 $(NORMAL_TARGET_EXPORTS) \
29871 (cd $(TARGET_SUBDIR)/libgfortran && \
29872 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29874 @endif target-libgfortran
29876 # Other targets (info, dvi, etc.)
29878 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
29879 maybe-info-target-libgfortran:
29880 @if target-libgfortran
29881 maybe-info-target-libgfortran: info-target-libgfortran
29883 info-target-libgfortran: \
29884 configure-target-libgfortran
29885 @$(unstage)
29886 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29887 r=`${PWD_COMMAND}`; export r; \
29888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29889 $(NORMAL_TARGET_EXPORTS) \
29890 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
29891 for flag in $(EXTRA_TARGET_FLAGS); do \
29892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29893 done; \
29894 (cd $(TARGET_SUBDIR)/libgfortran && \
29895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29897 "RANLIB=$${RANLIB}" \
29898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29899 info) \
29900 || exit 1
29902 @endif target-libgfortran
29904 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
29905 maybe-dvi-target-libgfortran:
29906 @if target-libgfortran
29907 maybe-dvi-target-libgfortran: dvi-target-libgfortran
29909 dvi-target-libgfortran: \
29910 configure-target-libgfortran
29911 @$(unstage)
29912 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29913 r=`${PWD_COMMAND}`; export r; \
29914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29915 $(NORMAL_TARGET_EXPORTS) \
29916 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
29917 for flag in $(EXTRA_TARGET_FLAGS); do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 (cd $(TARGET_SUBDIR)/libgfortran && \
29921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29923 "RANLIB=$${RANLIB}" \
29924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29925 dvi) \
29926 || exit 1
29928 @endif target-libgfortran
29930 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
29931 maybe-html-target-libgfortran:
29932 @if target-libgfortran
29933 maybe-html-target-libgfortran: html-target-libgfortran
29935 html-target-libgfortran: \
29936 configure-target-libgfortran
29937 @$(unstage)
29938 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29939 r=`${PWD_COMMAND}`; export r; \
29940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29941 $(NORMAL_TARGET_EXPORTS) \
29942 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
29943 for flag in $(EXTRA_TARGET_FLAGS); do \
29944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29945 done; \
29946 (cd $(TARGET_SUBDIR)/libgfortran && \
29947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29949 "RANLIB=$${RANLIB}" \
29950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29951 html) \
29952 || exit 1
29954 @endif target-libgfortran
29956 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
29957 maybe-TAGS-target-libgfortran:
29958 @if target-libgfortran
29959 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
29961 TAGS-target-libgfortran: \
29962 configure-target-libgfortran
29963 @$(unstage)
29964 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29965 r=`${PWD_COMMAND}`; export r; \
29966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29967 $(NORMAL_TARGET_EXPORTS) \
29968 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
29969 for flag in $(EXTRA_TARGET_FLAGS); do \
29970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29971 done; \
29972 (cd $(TARGET_SUBDIR)/libgfortran && \
29973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29975 "RANLIB=$${RANLIB}" \
29976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29977 TAGS) \
29978 || exit 1
29980 @endif target-libgfortran
29982 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
29983 maybe-install-info-target-libgfortran:
29984 @if target-libgfortran
29985 maybe-install-info-target-libgfortran: install-info-target-libgfortran
29987 install-info-target-libgfortran: \
29988 configure-target-libgfortran \
29989 info-target-libgfortran
29990 @$(unstage)
29991 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29992 r=`${PWD_COMMAND}`; export r; \
29993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29994 $(NORMAL_TARGET_EXPORTS) \
29995 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
29996 for flag in $(EXTRA_TARGET_FLAGS); do \
29997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29998 done; \
29999 (cd $(TARGET_SUBDIR)/libgfortran && \
30000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30002 "RANLIB=$${RANLIB}" \
30003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30004 install-info) \
30005 || exit 1
30007 @endif target-libgfortran
30009 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30010 maybe-installcheck-target-libgfortran:
30011 @if target-libgfortran
30012 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30014 installcheck-target-libgfortran: \
30015 configure-target-libgfortran
30016 @$(unstage)
30017 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30018 r=`${PWD_COMMAND}`; export r; \
30019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30020 $(NORMAL_TARGET_EXPORTS) \
30021 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30022 for flag in $(EXTRA_TARGET_FLAGS); do \
30023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30024 done; \
30025 (cd $(TARGET_SUBDIR)/libgfortran && \
30026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30028 "RANLIB=$${RANLIB}" \
30029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30030 installcheck) \
30031 || exit 1
30033 @endif target-libgfortran
30035 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30036 maybe-mostlyclean-target-libgfortran:
30037 @if target-libgfortran
30038 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30040 mostlyclean-target-libgfortran:
30041 @$(unstage)
30042 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30043 r=`${PWD_COMMAND}`; export r; \
30044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(NORMAL_TARGET_EXPORTS) \
30046 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30047 for flag in $(EXTRA_TARGET_FLAGS); do \
30048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30049 done; \
30050 (cd $(TARGET_SUBDIR)/libgfortran && \
30051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30053 "RANLIB=$${RANLIB}" \
30054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30055 mostlyclean) \
30056 || exit 1
30058 @endif target-libgfortran
30060 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30061 maybe-clean-target-libgfortran:
30062 @if target-libgfortran
30063 maybe-clean-target-libgfortran: clean-target-libgfortran
30065 clean-target-libgfortran:
30066 @$(unstage)
30067 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30068 r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 $(NORMAL_TARGET_EXPORTS) \
30071 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30072 for flag in $(EXTRA_TARGET_FLAGS); do \
30073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30074 done; \
30075 (cd $(TARGET_SUBDIR)/libgfortran && \
30076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30078 "RANLIB=$${RANLIB}" \
30079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30080 clean) \
30081 || exit 1
30083 @endif target-libgfortran
30085 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30086 maybe-distclean-target-libgfortran:
30087 @if target-libgfortran
30088 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30090 distclean-target-libgfortran:
30091 @$(unstage)
30092 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30093 r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(NORMAL_TARGET_EXPORTS) \
30096 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 distclean) \
30106 || exit 1
30108 @endif target-libgfortran
30110 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30111 maybe-maintainer-clean-target-libgfortran:
30112 @if target-libgfortran
30113 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30115 maintainer-clean-target-libgfortran:
30116 @$(unstage)
30117 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30118 r=`${PWD_COMMAND}`; export r; \
30119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30120 $(NORMAL_TARGET_EXPORTS) \
30121 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30122 for flag in $(EXTRA_TARGET_FLAGS); do \
30123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30124 done; \
30125 (cd $(TARGET_SUBDIR)/libgfortran && \
30126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30128 "RANLIB=$${RANLIB}" \
30129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30130 maintainer-clean) \
30131 || exit 1
30133 @endif target-libgfortran
30137 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30138 @if target-libobjc
30139 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
30140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30141 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
30142 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
30143 @endif target-libobjc
30147 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30148 maybe-configure-target-libobjc:
30149 @if target-libobjc
30150 maybe-configure-target-libobjc: configure-target-libobjc
30151 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
30152 @$(unstage)
30153 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30154 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30155 r=`${PWD_COMMAND}`; export r; \
30156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30157 $(NORMAL_TARGET_EXPORTS) \
30158 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30159 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30160 case $(srcdir) in \
30161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30162 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30164 esac; \
30165 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30166 libsrcdir="$$s/libobjc"; \
30167 rm -f no-such-file || : ; \
30168 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30169 $(TARGET_CONFIGARGS) $${srcdiroption} \
30170 || exit 1
30171 @endif target-libobjc
30177 .PHONY: all-target-libobjc maybe-all-target-libobjc
30178 maybe-all-target-libobjc:
30179 @if target-libobjc
30180 TARGET-target-libobjc=all
30181 maybe-all-target-libobjc: all-target-libobjc
30182 all-target-libobjc: configure-target-libobjc
30183 @$(unstage)
30184 @r=`${PWD_COMMAND}`; export r; \
30185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30186 $(NORMAL_TARGET_EXPORTS) \
30187 (cd $(TARGET_SUBDIR)/libobjc && \
30188 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30189 @endif target-libobjc
30195 .PHONY: check-target-libobjc maybe-check-target-libobjc
30196 maybe-check-target-libobjc:
30197 @if target-libobjc
30198 maybe-check-target-libobjc: check-target-libobjc
30200 check-target-libobjc:
30201 @$(unstage)
30202 @r=`${PWD_COMMAND}`; export r; \
30203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30204 $(NORMAL_TARGET_EXPORTS) \
30205 (cd $(TARGET_SUBDIR)/libobjc && \
30206 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30208 @endif target-libobjc
30210 .PHONY: install-target-libobjc maybe-install-target-libobjc
30211 maybe-install-target-libobjc:
30212 @if target-libobjc
30213 maybe-install-target-libobjc: install-target-libobjc
30215 install-target-libobjc: installdirs
30216 @$(unstage)
30217 @r=`${PWD_COMMAND}`; export r; \
30218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30219 $(NORMAL_TARGET_EXPORTS) \
30220 (cd $(TARGET_SUBDIR)/libobjc && \
30221 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30223 @endif target-libobjc
30225 # Other targets (info, dvi, etc.)
30227 .PHONY: maybe-info-target-libobjc info-target-libobjc
30228 maybe-info-target-libobjc:
30229 @if target-libobjc
30230 maybe-info-target-libobjc: info-target-libobjc
30232 info-target-libobjc: \
30233 configure-target-libobjc
30234 @$(unstage)
30235 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(NORMAL_TARGET_EXPORTS) \
30239 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30240 for flag in $(EXTRA_TARGET_FLAGS); do \
30241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30242 done; \
30243 (cd $(TARGET_SUBDIR)/libobjc && \
30244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30246 "RANLIB=$${RANLIB}" \
30247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30248 info) \
30249 || exit 1
30251 @endif target-libobjc
30253 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30254 maybe-dvi-target-libobjc:
30255 @if target-libobjc
30256 maybe-dvi-target-libobjc: dvi-target-libobjc
30258 dvi-target-libobjc: \
30259 configure-target-libobjc
30260 @$(unstage)
30261 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30262 r=`${PWD_COMMAND}`; export r; \
30263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30264 $(NORMAL_TARGET_EXPORTS) \
30265 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30266 for flag in $(EXTRA_TARGET_FLAGS); do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 (cd $(TARGET_SUBDIR)/libobjc && \
30270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30272 "RANLIB=$${RANLIB}" \
30273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30274 dvi) \
30275 || exit 1
30277 @endif target-libobjc
30279 .PHONY: maybe-html-target-libobjc html-target-libobjc
30280 maybe-html-target-libobjc:
30281 @if target-libobjc
30282 maybe-html-target-libobjc: html-target-libobjc
30284 html-target-libobjc: \
30285 configure-target-libobjc
30286 @$(unstage)
30287 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30288 r=`${PWD_COMMAND}`; export r; \
30289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30290 $(NORMAL_TARGET_EXPORTS) \
30291 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30292 for flag in $(EXTRA_TARGET_FLAGS); do \
30293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30294 done; \
30295 (cd $(TARGET_SUBDIR)/libobjc && \
30296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30298 "RANLIB=$${RANLIB}" \
30299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30300 html) \
30301 || exit 1
30303 @endif target-libobjc
30305 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30306 maybe-TAGS-target-libobjc:
30307 @if target-libobjc
30308 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30310 TAGS-target-libobjc: \
30311 configure-target-libobjc
30312 @$(unstage)
30313 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30314 r=`${PWD_COMMAND}`; export r; \
30315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 $(NORMAL_TARGET_EXPORTS) \
30317 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30318 for flag in $(EXTRA_TARGET_FLAGS); do \
30319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30320 done; \
30321 (cd $(TARGET_SUBDIR)/libobjc && \
30322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30324 "RANLIB=$${RANLIB}" \
30325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30326 TAGS) \
30327 || exit 1
30329 @endif target-libobjc
30331 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30332 maybe-install-info-target-libobjc:
30333 @if target-libobjc
30334 maybe-install-info-target-libobjc: install-info-target-libobjc
30336 install-info-target-libobjc: \
30337 configure-target-libobjc \
30338 info-target-libobjc
30339 @$(unstage)
30340 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30341 r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 $(NORMAL_TARGET_EXPORTS) \
30344 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30345 for flag in $(EXTRA_TARGET_FLAGS); do \
30346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30347 done; \
30348 (cd $(TARGET_SUBDIR)/libobjc && \
30349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30351 "RANLIB=$${RANLIB}" \
30352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30353 install-info) \
30354 || exit 1
30356 @endif target-libobjc
30358 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30359 maybe-installcheck-target-libobjc:
30360 @if target-libobjc
30361 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30363 installcheck-target-libobjc: \
30364 configure-target-libobjc
30365 @$(unstage)
30366 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30367 r=`${PWD_COMMAND}`; export r; \
30368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30369 $(NORMAL_TARGET_EXPORTS) \
30370 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30371 for flag in $(EXTRA_TARGET_FLAGS); do \
30372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30373 done; \
30374 (cd $(TARGET_SUBDIR)/libobjc && \
30375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30377 "RANLIB=$${RANLIB}" \
30378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30379 installcheck) \
30380 || exit 1
30382 @endif target-libobjc
30384 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30385 maybe-mostlyclean-target-libobjc:
30386 @if target-libobjc
30387 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30389 mostlyclean-target-libobjc:
30390 @$(unstage)
30391 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30392 r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(NORMAL_TARGET_EXPORTS) \
30395 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30396 for flag in $(EXTRA_TARGET_FLAGS); do \
30397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30398 done; \
30399 (cd $(TARGET_SUBDIR)/libobjc && \
30400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30402 "RANLIB=$${RANLIB}" \
30403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30404 mostlyclean) \
30405 || exit 1
30407 @endif target-libobjc
30409 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30410 maybe-clean-target-libobjc:
30411 @if target-libobjc
30412 maybe-clean-target-libobjc: clean-target-libobjc
30414 clean-target-libobjc:
30415 @$(unstage)
30416 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30417 r=`${PWD_COMMAND}`; export r; \
30418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30419 $(NORMAL_TARGET_EXPORTS) \
30420 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30421 for flag in $(EXTRA_TARGET_FLAGS); do \
30422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30423 done; \
30424 (cd $(TARGET_SUBDIR)/libobjc && \
30425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30427 "RANLIB=$${RANLIB}" \
30428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30429 clean) \
30430 || exit 1
30432 @endif target-libobjc
30434 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30435 maybe-distclean-target-libobjc:
30436 @if target-libobjc
30437 maybe-distclean-target-libobjc: distclean-target-libobjc
30439 distclean-target-libobjc:
30440 @$(unstage)
30441 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30442 r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(NORMAL_TARGET_EXPORTS) \
30445 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 distclean) \
30455 || exit 1
30457 @endif target-libobjc
30459 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30460 maybe-maintainer-clean-target-libobjc:
30461 @if target-libobjc
30462 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30464 maintainer-clean-target-libobjc:
30465 @$(unstage)
30466 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30467 r=`${PWD_COMMAND}`; export r; \
30468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30469 $(NORMAL_TARGET_EXPORTS) \
30470 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30471 for flag in $(EXTRA_TARGET_FLAGS); do \
30472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30473 done; \
30474 (cd $(TARGET_SUBDIR)/libobjc && \
30475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30477 "RANLIB=$${RANLIB}" \
30478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30479 maintainer-clean) \
30480 || exit 1
30482 @endif target-libobjc
30486 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30487 @if target-libtermcap
30488 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
30489 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30490 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
30491 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
30492 @endif target-libtermcap
30496 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
30497 maybe-configure-target-libtermcap:
30498 @if target-libtermcap
30499 maybe-configure-target-libtermcap: configure-target-libtermcap
30500 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
30501 @$(unstage)
30502 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
30503 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30504 r=`${PWD_COMMAND}`; export r; \
30505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30506 $(NORMAL_TARGET_EXPORTS) \
30507 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
30508 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
30509 case $(srcdir) in \
30510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30511 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
30512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30513 esac; \
30514 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30515 libsrcdir="$$s/libtermcap"; \
30516 rm -f no-such-file || : ; \
30517 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30518 $(TARGET_CONFIGARGS) $${srcdiroption} \
30519 || exit 1
30520 @endif target-libtermcap
30526 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
30527 maybe-all-target-libtermcap:
30528 @if target-libtermcap
30529 TARGET-target-libtermcap=all
30530 maybe-all-target-libtermcap: all-target-libtermcap
30531 all-target-libtermcap: configure-target-libtermcap
30532 @$(unstage)
30533 @r=`${PWD_COMMAND}`; export r; \
30534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30535 $(NORMAL_TARGET_EXPORTS) \
30536 (cd $(TARGET_SUBDIR)/libtermcap && \
30537 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
30538 @endif target-libtermcap
30544 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
30545 maybe-check-target-libtermcap:
30546 @if target-libtermcap
30547 maybe-check-target-libtermcap: check-target-libtermcap
30549 # Dummy target for uncheckable module.
30550 check-target-libtermcap:
30552 @endif target-libtermcap
30554 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
30555 maybe-install-target-libtermcap:
30556 @if target-libtermcap
30557 maybe-install-target-libtermcap: install-target-libtermcap
30559 install-target-libtermcap: installdirs
30560 @$(unstage)
30561 @r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 $(NORMAL_TARGET_EXPORTS) \
30564 (cd $(TARGET_SUBDIR)/libtermcap && \
30565 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30567 @endif target-libtermcap
30569 # Other targets (info, dvi, etc.)
30571 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
30572 maybe-info-target-libtermcap:
30573 @if target-libtermcap
30574 maybe-info-target-libtermcap: info-target-libtermcap
30576 info-target-libtermcap: \
30577 configure-target-libtermcap
30578 @$(unstage)
30579 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30580 r=`${PWD_COMMAND}`; export r; \
30581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30582 $(NORMAL_TARGET_EXPORTS) \
30583 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
30584 for flag in $(EXTRA_TARGET_FLAGS); do \
30585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30586 done; \
30587 (cd $(TARGET_SUBDIR)/libtermcap && \
30588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30590 "RANLIB=$${RANLIB}" \
30591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30592 info) \
30593 || exit 1
30595 @endif target-libtermcap
30597 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
30598 maybe-dvi-target-libtermcap:
30599 @if target-libtermcap
30600 maybe-dvi-target-libtermcap: dvi-target-libtermcap
30602 dvi-target-libtermcap: \
30603 configure-target-libtermcap
30604 @$(unstage)
30605 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30606 r=`${PWD_COMMAND}`; export r; \
30607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30608 $(NORMAL_TARGET_EXPORTS) \
30609 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
30610 for flag in $(EXTRA_TARGET_FLAGS); do \
30611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30612 done; \
30613 (cd $(TARGET_SUBDIR)/libtermcap && \
30614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30616 "RANLIB=$${RANLIB}" \
30617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30618 dvi) \
30619 || exit 1
30621 @endif target-libtermcap
30623 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
30624 maybe-html-target-libtermcap:
30625 @if target-libtermcap
30626 maybe-html-target-libtermcap: html-target-libtermcap
30628 html-target-libtermcap: \
30629 configure-target-libtermcap
30630 @$(unstage)
30631 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30632 r=`${PWD_COMMAND}`; export r; \
30633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30634 $(NORMAL_TARGET_EXPORTS) \
30635 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
30636 for flag in $(EXTRA_TARGET_FLAGS); do \
30637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30638 done; \
30639 (cd $(TARGET_SUBDIR)/libtermcap && \
30640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30642 "RANLIB=$${RANLIB}" \
30643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30644 html) \
30645 || exit 1
30647 @endif target-libtermcap
30649 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
30650 maybe-TAGS-target-libtermcap:
30651 @if target-libtermcap
30652 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
30654 TAGS-target-libtermcap: \
30655 configure-target-libtermcap
30656 @$(unstage)
30657 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30658 r=`${PWD_COMMAND}`; export r; \
30659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30660 $(NORMAL_TARGET_EXPORTS) \
30661 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
30662 for flag in $(EXTRA_TARGET_FLAGS); do \
30663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30664 done; \
30665 (cd $(TARGET_SUBDIR)/libtermcap && \
30666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30668 "RANLIB=$${RANLIB}" \
30669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30670 TAGS) \
30671 || exit 1
30673 @endif target-libtermcap
30675 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
30676 maybe-install-info-target-libtermcap:
30677 @if target-libtermcap
30678 maybe-install-info-target-libtermcap: install-info-target-libtermcap
30680 install-info-target-libtermcap: \
30681 configure-target-libtermcap \
30682 info-target-libtermcap
30683 @$(unstage)
30684 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30685 r=`${PWD_COMMAND}`; export r; \
30686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30687 $(NORMAL_TARGET_EXPORTS) \
30688 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
30689 for flag in $(EXTRA_TARGET_FLAGS); do \
30690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30691 done; \
30692 (cd $(TARGET_SUBDIR)/libtermcap && \
30693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30695 "RANLIB=$${RANLIB}" \
30696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30697 install-info) \
30698 || exit 1
30700 @endif target-libtermcap
30702 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
30703 maybe-installcheck-target-libtermcap:
30704 @if target-libtermcap
30705 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
30707 installcheck-target-libtermcap: \
30708 configure-target-libtermcap
30709 @$(unstage)
30710 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30711 r=`${PWD_COMMAND}`; export r; \
30712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30713 $(NORMAL_TARGET_EXPORTS) \
30714 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
30715 for flag in $(EXTRA_TARGET_FLAGS); do \
30716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30717 done; \
30718 (cd $(TARGET_SUBDIR)/libtermcap && \
30719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30721 "RANLIB=$${RANLIB}" \
30722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30723 installcheck) \
30724 || exit 1
30726 @endif target-libtermcap
30728 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
30729 maybe-mostlyclean-target-libtermcap:
30730 @if target-libtermcap
30731 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
30733 # libtermcap doesn't support mostlyclean.
30734 mostlyclean-target-libtermcap:
30736 @endif target-libtermcap
30738 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
30739 maybe-clean-target-libtermcap:
30740 @if target-libtermcap
30741 maybe-clean-target-libtermcap: clean-target-libtermcap
30743 # libtermcap doesn't support clean.
30744 clean-target-libtermcap:
30746 @endif target-libtermcap
30748 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
30749 maybe-distclean-target-libtermcap:
30750 @if target-libtermcap
30751 maybe-distclean-target-libtermcap: distclean-target-libtermcap
30753 # libtermcap doesn't support distclean.
30754 distclean-target-libtermcap:
30756 @endif target-libtermcap
30758 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
30759 maybe-maintainer-clean-target-libtermcap:
30760 @if target-libtermcap
30761 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
30763 # libtermcap doesn't support maintainer-clean.
30764 maintainer-clean-target-libtermcap:
30766 @endif target-libtermcap
30770 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30771 @if target-winsup
30772 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
30773 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
30774 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
30775 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
30776 @endif target-winsup
30780 .PHONY: configure-target-winsup maybe-configure-target-winsup
30781 maybe-configure-target-winsup:
30782 @if target-winsup
30783 maybe-configure-target-winsup: configure-target-winsup
30784 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
30785 @$(unstage)
30786 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
30787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
30788 r=`${PWD_COMMAND}`; export r; \
30789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30790 $(NORMAL_TARGET_EXPORTS) \
30791 echo Configuring in $(TARGET_SUBDIR)/winsup; \
30792 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
30793 case $(srcdir) in \
30794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30795 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
30796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30797 esac; \
30798 srcdiroption="--srcdir=$${topdir}/winsup"; \
30799 libsrcdir="$$s/winsup"; \
30800 rm -f no-such-file || : ; \
30801 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30802 $(TARGET_CONFIGARGS) $${srcdiroption} \
30803 || exit 1
30804 @endif target-winsup
30810 .PHONY: all-target-winsup maybe-all-target-winsup
30811 maybe-all-target-winsup:
30812 @if target-winsup
30813 TARGET-target-winsup=all
30814 maybe-all-target-winsup: all-target-winsup
30815 all-target-winsup: configure-target-winsup
30816 @$(unstage)
30817 @r=`${PWD_COMMAND}`; export r; \
30818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30819 $(NORMAL_TARGET_EXPORTS) \
30820 (cd $(TARGET_SUBDIR)/winsup && \
30821 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
30822 @endif target-winsup
30828 .PHONY: check-target-winsup maybe-check-target-winsup
30829 maybe-check-target-winsup:
30830 @if target-winsup
30831 maybe-check-target-winsup: check-target-winsup
30833 check-target-winsup:
30834 @$(unstage)
30835 @r=`${PWD_COMMAND}`; export r; \
30836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30837 $(NORMAL_TARGET_EXPORTS) \
30838 (cd $(TARGET_SUBDIR)/winsup && \
30839 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30841 @endif target-winsup
30843 .PHONY: install-target-winsup maybe-install-target-winsup
30844 maybe-install-target-winsup:
30845 @if target-winsup
30846 maybe-install-target-winsup: install-target-winsup
30848 install-target-winsup: installdirs
30849 @$(unstage)
30850 @r=`${PWD_COMMAND}`; export r; \
30851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30852 $(NORMAL_TARGET_EXPORTS) \
30853 (cd $(TARGET_SUBDIR)/winsup && \
30854 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30856 @endif target-winsup
30858 # Other targets (info, dvi, etc.)
30860 .PHONY: maybe-info-target-winsup info-target-winsup
30861 maybe-info-target-winsup:
30862 @if target-winsup
30863 maybe-info-target-winsup: info-target-winsup
30865 info-target-winsup: \
30866 configure-target-winsup
30867 @$(unstage)
30868 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30869 r=`${PWD_COMMAND}`; export r; \
30870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30871 $(NORMAL_TARGET_EXPORTS) \
30872 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 info) \
30882 || exit 1
30884 @endif target-winsup
30886 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
30887 maybe-dvi-target-winsup:
30888 @if target-winsup
30889 maybe-dvi-target-winsup: dvi-target-winsup
30891 dvi-target-winsup: \
30892 configure-target-winsup
30893 @$(unstage)
30894 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30895 r=`${PWD_COMMAND}`; export r; \
30896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30897 $(NORMAL_TARGET_EXPORTS) \
30898 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
30899 for flag in $(EXTRA_TARGET_FLAGS); do \
30900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30901 done; \
30902 (cd $(TARGET_SUBDIR)/winsup && \
30903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30905 "RANLIB=$${RANLIB}" \
30906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30907 dvi) \
30908 || exit 1
30910 @endif target-winsup
30912 .PHONY: maybe-html-target-winsup html-target-winsup
30913 maybe-html-target-winsup:
30914 @if target-winsup
30915 maybe-html-target-winsup: html-target-winsup
30917 html-target-winsup: \
30918 configure-target-winsup
30919 @$(unstage)
30920 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30921 r=`${PWD_COMMAND}`; export r; \
30922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30923 $(NORMAL_TARGET_EXPORTS) \
30924 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
30925 for flag in $(EXTRA_TARGET_FLAGS); do \
30926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30927 done; \
30928 (cd $(TARGET_SUBDIR)/winsup && \
30929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30931 "RANLIB=$${RANLIB}" \
30932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30933 html) \
30934 || exit 1
30936 @endif target-winsup
30938 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
30939 maybe-TAGS-target-winsup:
30940 @if target-winsup
30941 maybe-TAGS-target-winsup: TAGS-target-winsup
30943 TAGS-target-winsup: \
30944 configure-target-winsup
30945 @$(unstage)
30946 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30947 r=`${PWD_COMMAND}`; export r; \
30948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30949 $(NORMAL_TARGET_EXPORTS) \
30950 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
30951 for flag in $(EXTRA_TARGET_FLAGS); do \
30952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30953 done; \
30954 (cd $(TARGET_SUBDIR)/winsup && \
30955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30957 "RANLIB=$${RANLIB}" \
30958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30959 TAGS) \
30960 || exit 1
30962 @endif target-winsup
30964 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
30965 maybe-install-info-target-winsup:
30966 @if target-winsup
30967 maybe-install-info-target-winsup: install-info-target-winsup
30969 install-info-target-winsup: \
30970 configure-target-winsup \
30971 info-target-winsup
30972 @$(unstage)
30973 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30974 r=`${PWD_COMMAND}`; export r; \
30975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30976 $(NORMAL_TARGET_EXPORTS) \
30977 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
30978 for flag in $(EXTRA_TARGET_FLAGS); do \
30979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30980 done; \
30981 (cd $(TARGET_SUBDIR)/winsup && \
30982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30984 "RANLIB=$${RANLIB}" \
30985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30986 install-info) \
30987 || exit 1
30989 @endif target-winsup
30991 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
30992 maybe-installcheck-target-winsup:
30993 @if target-winsup
30994 maybe-installcheck-target-winsup: installcheck-target-winsup
30996 installcheck-target-winsup: \
30997 configure-target-winsup
30998 @$(unstage)
30999 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31000 r=`${PWD_COMMAND}`; export r; \
31001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31002 $(NORMAL_TARGET_EXPORTS) \
31003 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31004 for flag in $(EXTRA_TARGET_FLAGS); do \
31005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31006 done; \
31007 (cd $(TARGET_SUBDIR)/winsup && \
31008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31010 "RANLIB=$${RANLIB}" \
31011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31012 installcheck) \
31013 || exit 1
31015 @endif target-winsup
31017 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31018 maybe-mostlyclean-target-winsup:
31019 @if target-winsup
31020 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31022 mostlyclean-target-winsup:
31023 @$(unstage)
31024 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31025 r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 $(NORMAL_TARGET_EXPORTS) \
31028 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31029 for flag in $(EXTRA_TARGET_FLAGS); do \
31030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31031 done; \
31032 (cd $(TARGET_SUBDIR)/winsup && \
31033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31035 "RANLIB=$${RANLIB}" \
31036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31037 mostlyclean) \
31038 || exit 1
31040 @endif target-winsup
31042 .PHONY: maybe-clean-target-winsup clean-target-winsup
31043 maybe-clean-target-winsup:
31044 @if target-winsup
31045 maybe-clean-target-winsup: clean-target-winsup
31047 clean-target-winsup:
31048 @$(unstage)
31049 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31050 r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 $(NORMAL_TARGET_EXPORTS) \
31053 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31054 for flag in $(EXTRA_TARGET_FLAGS); do \
31055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31056 done; \
31057 (cd $(TARGET_SUBDIR)/winsup && \
31058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31060 "RANLIB=$${RANLIB}" \
31061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31062 clean) \
31063 || exit 1
31065 @endif target-winsup
31067 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31068 maybe-distclean-target-winsup:
31069 @if target-winsup
31070 maybe-distclean-target-winsup: distclean-target-winsup
31072 distclean-target-winsup:
31073 @$(unstage)
31074 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31075 r=`${PWD_COMMAND}`; export r; \
31076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31077 $(NORMAL_TARGET_EXPORTS) \
31078 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31079 for flag in $(EXTRA_TARGET_FLAGS); do \
31080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31081 done; \
31082 (cd $(TARGET_SUBDIR)/winsup && \
31083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31085 "RANLIB=$${RANLIB}" \
31086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31087 distclean) \
31088 || exit 1
31090 @endif target-winsup
31092 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31093 maybe-maintainer-clean-target-winsup:
31094 @if target-winsup
31095 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31097 maintainer-clean-target-winsup:
31098 @$(unstage)
31099 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31100 r=`${PWD_COMMAND}`; export r; \
31101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31102 $(NORMAL_TARGET_EXPORTS) \
31103 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31104 for flag in $(EXTRA_TARGET_FLAGS); do \
31105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31106 done; \
31107 (cd $(TARGET_SUBDIR)/winsup && \
31108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31110 "RANLIB=$${RANLIB}" \
31111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31112 maintainer-clean) \
31113 || exit 1
31115 @endif target-winsup
31119 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31120 @if target-libgloss
31121 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
31122 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31123 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
31124 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
31125 @endif target-libgloss
31129 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31130 maybe-configure-target-libgloss:
31131 @if target-libgloss
31132 maybe-configure-target-libgloss: configure-target-libgloss
31133 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
31134 @$(unstage)
31135 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31137 r=`${PWD_COMMAND}`; export r; \
31138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31139 $(NORMAL_TARGET_EXPORTS) \
31140 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31141 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31142 case $(srcdir) in \
31143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31144 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31146 esac; \
31147 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31148 libsrcdir="$$s/libgloss"; \
31149 rm -f no-such-file || : ; \
31150 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31151 $(TARGET_CONFIGARGS) $${srcdiroption} \
31152 || exit 1
31153 @endif target-libgloss
31159 .PHONY: all-target-libgloss maybe-all-target-libgloss
31160 maybe-all-target-libgloss:
31161 @if target-libgloss
31162 TARGET-target-libgloss=all
31163 maybe-all-target-libgloss: all-target-libgloss
31164 all-target-libgloss: configure-target-libgloss
31165 @$(unstage)
31166 @r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 $(NORMAL_TARGET_EXPORTS) \
31169 (cd $(TARGET_SUBDIR)/libgloss && \
31170 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31171 @endif target-libgloss
31177 .PHONY: check-target-libgloss maybe-check-target-libgloss
31178 maybe-check-target-libgloss:
31179 @if target-libgloss
31180 maybe-check-target-libgloss: check-target-libgloss
31182 # Dummy target for uncheckable module.
31183 check-target-libgloss:
31185 @endif target-libgloss
31187 .PHONY: install-target-libgloss maybe-install-target-libgloss
31188 maybe-install-target-libgloss:
31189 @if target-libgloss
31190 maybe-install-target-libgloss: install-target-libgloss
31192 install-target-libgloss: installdirs
31193 @$(unstage)
31194 @r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(NORMAL_TARGET_EXPORTS) \
31197 (cd $(TARGET_SUBDIR)/libgloss && \
31198 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31200 @endif target-libgloss
31202 # Other targets (info, dvi, etc.)
31204 .PHONY: maybe-info-target-libgloss info-target-libgloss
31205 maybe-info-target-libgloss:
31206 @if target-libgloss
31207 maybe-info-target-libgloss: info-target-libgloss
31209 info-target-libgloss: \
31210 configure-target-libgloss
31211 @$(unstage)
31212 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31213 r=`${PWD_COMMAND}`; export r; \
31214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31215 $(NORMAL_TARGET_EXPORTS) \
31216 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31217 for flag in $(EXTRA_TARGET_FLAGS); do \
31218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31219 done; \
31220 (cd $(TARGET_SUBDIR)/libgloss && \
31221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31223 "RANLIB=$${RANLIB}" \
31224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31225 info) \
31226 || exit 1
31228 @endif target-libgloss
31230 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31231 maybe-dvi-target-libgloss:
31232 @if target-libgloss
31233 maybe-dvi-target-libgloss: dvi-target-libgloss
31235 dvi-target-libgloss: \
31236 configure-target-libgloss
31237 @$(unstage)
31238 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31239 r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 $(NORMAL_TARGET_EXPORTS) \
31242 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31243 for flag in $(EXTRA_TARGET_FLAGS); do \
31244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31245 done; \
31246 (cd $(TARGET_SUBDIR)/libgloss && \
31247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31249 "RANLIB=$${RANLIB}" \
31250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31251 dvi) \
31252 || exit 1
31254 @endif target-libgloss
31256 .PHONY: maybe-html-target-libgloss html-target-libgloss
31257 maybe-html-target-libgloss:
31258 @if target-libgloss
31259 maybe-html-target-libgloss: html-target-libgloss
31261 html-target-libgloss: \
31262 configure-target-libgloss
31263 @$(unstage)
31264 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31265 r=`${PWD_COMMAND}`; export r; \
31266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31267 $(NORMAL_TARGET_EXPORTS) \
31268 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31269 for flag in $(EXTRA_TARGET_FLAGS); do \
31270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31271 done; \
31272 (cd $(TARGET_SUBDIR)/libgloss && \
31273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31275 "RANLIB=$${RANLIB}" \
31276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31277 html) \
31278 || exit 1
31280 @endif target-libgloss
31282 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31283 maybe-TAGS-target-libgloss:
31284 @if target-libgloss
31285 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31287 TAGS-target-libgloss: \
31288 configure-target-libgloss
31289 @$(unstage)
31290 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31291 r=`${PWD_COMMAND}`; export r; \
31292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31293 $(NORMAL_TARGET_EXPORTS) \
31294 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31295 for flag in $(EXTRA_TARGET_FLAGS); do \
31296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31297 done; \
31298 (cd $(TARGET_SUBDIR)/libgloss && \
31299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31301 "RANLIB=$${RANLIB}" \
31302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31303 TAGS) \
31304 || exit 1
31306 @endif target-libgloss
31308 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31309 maybe-install-info-target-libgloss:
31310 @if target-libgloss
31311 maybe-install-info-target-libgloss: install-info-target-libgloss
31313 install-info-target-libgloss: \
31314 configure-target-libgloss \
31315 info-target-libgloss
31316 @$(unstage)
31317 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31318 r=`${PWD_COMMAND}`; export r; \
31319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31320 $(NORMAL_TARGET_EXPORTS) \
31321 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31322 for flag in $(EXTRA_TARGET_FLAGS); do \
31323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31324 done; \
31325 (cd $(TARGET_SUBDIR)/libgloss && \
31326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31328 "RANLIB=$${RANLIB}" \
31329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31330 install-info) \
31331 || exit 1
31333 @endif target-libgloss
31335 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31336 maybe-installcheck-target-libgloss:
31337 @if target-libgloss
31338 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31340 installcheck-target-libgloss: \
31341 configure-target-libgloss
31342 @$(unstage)
31343 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31344 r=`${PWD_COMMAND}`; export r; \
31345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31346 $(NORMAL_TARGET_EXPORTS) \
31347 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31348 for flag in $(EXTRA_TARGET_FLAGS); do \
31349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31350 done; \
31351 (cd $(TARGET_SUBDIR)/libgloss && \
31352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31354 "RANLIB=$${RANLIB}" \
31355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31356 installcheck) \
31357 || exit 1
31359 @endif target-libgloss
31361 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31362 maybe-mostlyclean-target-libgloss:
31363 @if target-libgloss
31364 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31366 mostlyclean-target-libgloss:
31367 @$(unstage)
31368 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31369 r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(NORMAL_TARGET_EXPORTS) \
31372 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31373 for flag in $(EXTRA_TARGET_FLAGS); do \
31374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31375 done; \
31376 (cd $(TARGET_SUBDIR)/libgloss && \
31377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31379 "RANLIB=$${RANLIB}" \
31380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31381 mostlyclean) \
31382 || exit 1
31384 @endif target-libgloss
31386 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31387 maybe-clean-target-libgloss:
31388 @if target-libgloss
31389 maybe-clean-target-libgloss: clean-target-libgloss
31391 clean-target-libgloss:
31392 @$(unstage)
31393 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31394 r=`${PWD_COMMAND}`; export r; \
31395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31396 $(NORMAL_TARGET_EXPORTS) \
31397 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31398 for flag in $(EXTRA_TARGET_FLAGS); do \
31399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31400 done; \
31401 (cd $(TARGET_SUBDIR)/libgloss && \
31402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31404 "RANLIB=$${RANLIB}" \
31405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31406 clean) \
31407 || exit 1
31409 @endif target-libgloss
31411 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31412 maybe-distclean-target-libgloss:
31413 @if target-libgloss
31414 maybe-distclean-target-libgloss: distclean-target-libgloss
31416 distclean-target-libgloss:
31417 @$(unstage)
31418 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31419 r=`${PWD_COMMAND}`; export r; \
31420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31421 $(NORMAL_TARGET_EXPORTS) \
31422 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31423 for flag in $(EXTRA_TARGET_FLAGS); do \
31424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31425 done; \
31426 (cd $(TARGET_SUBDIR)/libgloss && \
31427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31429 "RANLIB=$${RANLIB}" \
31430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31431 distclean) \
31432 || exit 1
31434 @endif target-libgloss
31436 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31437 maybe-maintainer-clean-target-libgloss:
31438 @if target-libgloss
31439 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31441 maintainer-clean-target-libgloss:
31442 @$(unstage)
31443 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(NORMAL_TARGET_EXPORTS) \
31447 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31448 for flag in $(EXTRA_TARGET_FLAGS); do \
31449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31450 done; \
31451 (cd $(TARGET_SUBDIR)/libgloss && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31456 maintainer-clean) \
31457 || exit 1
31459 @endif target-libgloss
31463 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31464 @if target-libiberty
31465 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
31466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31467 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
31468 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
31469 @endif target-libiberty
31473 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
31474 maybe-configure-target-libiberty:
31475 @if target-libiberty
31476 maybe-configure-target-libiberty: configure-target-libiberty
31477 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
31478 @$(unstage)
31479 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
31480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31481 r=`${PWD_COMMAND}`; export r; \
31482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31483 $(NORMAL_TARGET_EXPORTS) \
31484 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
31485 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
31486 case $(srcdir) in \
31487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31488 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
31489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31490 esac; \
31491 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31492 libsrcdir="$$s/libiberty"; \
31493 rm -f no-such-file || : ; \
31494 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31495 $(TARGET_CONFIGARGS) $${srcdiroption} \
31496 || exit 1
31497 @endif target-libiberty
31503 .PHONY: all-target-libiberty maybe-all-target-libiberty
31504 maybe-all-target-libiberty:
31505 @if target-libiberty
31506 TARGET-target-libiberty=all
31507 maybe-all-target-libiberty: all-target-libiberty
31508 all-target-libiberty: configure-target-libiberty
31509 @$(unstage)
31510 @r=`${PWD_COMMAND}`; export r; \
31511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31512 $(NORMAL_TARGET_EXPORTS) \
31513 (cd $(TARGET_SUBDIR)/libiberty && \
31514 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
31515 @endif target-libiberty
31521 .PHONY: check-target-libiberty maybe-check-target-libiberty
31522 maybe-check-target-libiberty:
31523 @if target-libiberty
31524 maybe-check-target-libiberty: check-target-libiberty
31526 check-target-libiberty:
31527 @$(unstage)
31528 @r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(NORMAL_TARGET_EXPORTS) \
31531 (cd $(TARGET_SUBDIR)/libiberty && \
31532 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31534 @endif target-libiberty
31536 .PHONY: install-target-libiberty maybe-install-target-libiberty
31537 maybe-install-target-libiberty:
31538 @if target-libiberty
31539 maybe-install-target-libiberty: install-target-libiberty
31541 install-target-libiberty: installdirs
31542 @$(unstage)
31543 @r=`${PWD_COMMAND}`; export r; \
31544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31545 $(NORMAL_TARGET_EXPORTS) \
31546 (cd $(TARGET_SUBDIR)/libiberty && \
31547 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31549 @endif target-libiberty
31551 # Other targets (info, dvi, etc.)
31553 .PHONY: maybe-info-target-libiberty info-target-libiberty
31554 maybe-info-target-libiberty:
31555 @if target-libiberty
31556 maybe-info-target-libiberty: info-target-libiberty
31558 info-target-libiberty: \
31559 configure-target-libiberty
31560 @$(unstage)
31561 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31562 r=`${PWD_COMMAND}`; export r; \
31563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31564 $(NORMAL_TARGET_EXPORTS) \
31565 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
31566 for flag in $(EXTRA_TARGET_FLAGS); do \
31567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31568 done; \
31569 (cd $(TARGET_SUBDIR)/libiberty && \
31570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31572 "RANLIB=$${RANLIB}" \
31573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31574 info) \
31575 || exit 1
31577 @endif target-libiberty
31579 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
31580 maybe-dvi-target-libiberty:
31581 @if target-libiberty
31582 maybe-dvi-target-libiberty: dvi-target-libiberty
31584 dvi-target-libiberty: \
31585 configure-target-libiberty
31586 @$(unstage)
31587 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31588 r=`${PWD_COMMAND}`; export r; \
31589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31590 $(NORMAL_TARGET_EXPORTS) \
31591 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
31592 for flag in $(EXTRA_TARGET_FLAGS); do \
31593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31594 done; \
31595 (cd $(TARGET_SUBDIR)/libiberty && \
31596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31598 "RANLIB=$${RANLIB}" \
31599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31600 dvi) \
31601 || exit 1
31603 @endif target-libiberty
31605 .PHONY: maybe-html-target-libiberty html-target-libiberty
31606 maybe-html-target-libiberty:
31607 @if target-libiberty
31608 maybe-html-target-libiberty: html-target-libiberty
31610 html-target-libiberty: \
31611 configure-target-libiberty
31612 @$(unstage)
31613 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31614 r=`${PWD_COMMAND}`; export r; \
31615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31616 $(NORMAL_TARGET_EXPORTS) \
31617 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
31618 for flag in $(EXTRA_TARGET_FLAGS); do \
31619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31620 done; \
31621 (cd $(TARGET_SUBDIR)/libiberty && \
31622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31624 "RANLIB=$${RANLIB}" \
31625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31626 html) \
31627 || exit 1
31629 @endif target-libiberty
31631 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
31632 maybe-TAGS-target-libiberty:
31633 @if target-libiberty
31634 maybe-TAGS-target-libiberty: TAGS-target-libiberty
31636 TAGS-target-libiberty: \
31637 configure-target-libiberty
31638 @$(unstage)
31639 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31640 r=`${PWD_COMMAND}`; export r; \
31641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31642 $(NORMAL_TARGET_EXPORTS) \
31643 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
31644 for flag in $(EXTRA_TARGET_FLAGS); do \
31645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31646 done; \
31647 (cd $(TARGET_SUBDIR)/libiberty && \
31648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31650 "RANLIB=$${RANLIB}" \
31651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31652 TAGS) \
31653 || exit 1
31655 @endif target-libiberty
31657 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
31658 maybe-install-info-target-libiberty:
31659 @if target-libiberty
31660 maybe-install-info-target-libiberty: install-info-target-libiberty
31662 install-info-target-libiberty: \
31663 configure-target-libiberty \
31664 info-target-libiberty
31665 @$(unstage)
31666 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31667 r=`${PWD_COMMAND}`; export r; \
31668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31669 $(NORMAL_TARGET_EXPORTS) \
31670 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
31671 for flag in $(EXTRA_TARGET_FLAGS); do \
31672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31673 done; \
31674 (cd $(TARGET_SUBDIR)/libiberty && \
31675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31677 "RANLIB=$${RANLIB}" \
31678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31679 install-info) \
31680 || exit 1
31682 @endif target-libiberty
31684 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
31685 maybe-installcheck-target-libiberty:
31686 @if target-libiberty
31687 maybe-installcheck-target-libiberty: installcheck-target-libiberty
31689 installcheck-target-libiberty: \
31690 configure-target-libiberty
31691 @$(unstage)
31692 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31693 r=`${PWD_COMMAND}`; export r; \
31694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31695 $(NORMAL_TARGET_EXPORTS) \
31696 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
31697 for flag in $(EXTRA_TARGET_FLAGS); do \
31698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31699 done; \
31700 (cd $(TARGET_SUBDIR)/libiberty && \
31701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31703 "RANLIB=$${RANLIB}" \
31704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31705 installcheck) \
31706 || exit 1
31708 @endif target-libiberty
31710 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
31711 maybe-mostlyclean-target-libiberty:
31712 @if target-libiberty
31713 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
31715 mostlyclean-target-libiberty:
31716 @$(unstage)
31717 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31718 r=`${PWD_COMMAND}`; export r; \
31719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31720 $(NORMAL_TARGET_EXPORTS) \
31721 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
31722 for flag in $(EXTRA_TARGET_FLAGS); do \
31723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31724 done; \
31725 (cd $(TARGET_SUBDIR)/libiberty && \
31726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31728 "RANLIB=$${RANLIB}" \
31729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31730 mostlyclean) \
31731 || exit 1
31733 @endif target-libiberty
31735 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
31736 maybe-clean-target-libiberty:
31737 @if target-libiberty
31738 maybe-clean-target-libiberty: clean-target-libiberty
31740 clean-target-libiberty:
31741 @$(unstage)
31742 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31743 r=`${PWD_COMMAND}`; export r; \
31744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31745 $(NORMAL_TARGET_EXPORTS) \
31746 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
31747 for flag in $(EXTRA_TARGET_FLAGS); do \
31748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31749 done; \
31750 (cd $(TARGET_SUBDIR)/libiberty && \
31751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31753 "RANLIB=$${RANLIB}" \
31754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31755 clean) \
31756 || exit 1
31758 @endif target-libiberty
31760 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
31761 maybe-distclean-target-libiberty:
31762 @if target-libiberty
31763 maybe-distclean-target-libiberty: distclean-target-libiberty
31765 distclean-target-libiberty:
31766 @$(unstage)
31767 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(NORMAL_TARGET_EXPORTS) \
31771 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 distclean) \
31781 || exit 1
31783 @endif target-libiberty
31785 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
31786 maybe-maintainer-clean-target-libiberty:
31787 @if target-libiberty
31788 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
31790 maintainer-clean-target-libiberty:
31791 @$(unstage)
31792 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31793 r=`${PWD_COMMAND}`; export r; \
31794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31795 $(NORMAL_TARGET_EXPORTS) \
31796 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
31797 for flag in $(EXTRA_TARGET_FLAGS); do \
31798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31799 done; \
31800 (cd $(TARGET_SUBDIR)/libiberty && \
31801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31803 "RANLIB=$${RANLIB}" \
31804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31805 maintainer-clean) \
31806 || exit 1
31808 @endif target-libiberty
31812 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31813 @if target-gperf
31814 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
31815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
31816 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
31817 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
31818 @endif target-gperf
31822 .PHONY: configure-target-gperf maybe-configure-target-gperf
31823 maybe-configure-target-gperf:
31824 @if target-gperf
31825 maybe-configure-target-gperf: configure-target-gperf
31826 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
31827 @$(unstage)
31828 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
31829 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
31830 r=`${PWD_COMMAND}`; export r; \
31831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31832 $(NORMAL_TARGET_EXPORTS) \
31833 echo Configuring in $(TARGET_SUBDIR)/gperf; \
31834 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
31835 case $(srcdir) in \
31836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31837 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
31838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31839 esac; \
31840 srcdiroption="--srcdir=$${topdir}/gperf"; \
31841 libsrcdir="$$s/gperf"; \
31842 rm -f no-such-file || : ; \
31843 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31844 $(TARGET_CONFIGARGS) $${srcdiroption} \
31845 || exit 1
31846 @endif target-gperf
31852 .PHONY: all-target-gperf maybe-all-target-gperf
31853 maybe-all-target-gperf:
31854 @if target-gperf
31855 TARGET-target-gperf=all
31856 maybe-all-target-gperf: all-target-gperf
31857 all-target-gperf: configure-target-gperf
31858 @$(unstage)
31859 @r=`${PWD_COMMAND}`; export r; \
31860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31861 $(NORMAL_TARGET_EXPORTS) \
31862 (cd $(TARGET_SUBDIR)/gperf && \
31863 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
31864 @endif target-gperf
31870 .PHONY: check-target-gperf maybe-check-target-gperf
31871 maybe-check-target-gperf:
31872 @if target-gperf
31873 maybe-check-target-gperf: check-target-gperf
31875 check-target-gperf:
31876 @$(unstage)
31877 @r=`${PWD_COMMAND}`; export r; \
31878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31879 $(NORMAL_TARGET_EXPORTS) \
31880 (cd $(TARGET_SUBDIR)/gperf && \
31881 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31883 @endif target-gperf
31885 .PHONY: install-target-gperf maybe-install-target-gperf
31886 maybe-install-target-gperf:
31887 @if target-gperf
31888 maybe-install-target-gperf: install-target-gperf
31890 install-target-gperf: installdirs
31891 @$(unstage)
31892 @r=`${PWD_COMMAND}`; export r; \
31893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31894 $(NORMAL_TARGET_EXPORTS) \
31895 (cd $(TARGET_SUBDIR)/gperf && \
31896 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31898 @endif target-gperf
31900 # Other targets (info, dvi, etc.)
31902 .PHONY: maybe-info-target-gperf info-target-gperf
31903 maybe-info-target-gperf:
31904 @if target-gperf
31905 maybe-info-target-gperf: info-target-gperf
31907 info-target-gperf: \
31908 configure-target-gperf
31909 @$(unstage)
31910 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31911 r=`${PWD_COMMAND}`; export r; \
31912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31913 $(NORMAL_TARGET_EXPORTS) \
31914 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
31915 for flag in $(EXTRA_TARGET_FLAGS); do \
31916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31917 done; \
31918 (cd $(TARGET_SUBDIR)/gperf && \
31919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31921 "RANLIB=$${RANLIB}" \
31922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31923 info) \
31924 || exit 1
31926 @endif target-gperf
31928 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
31929 maybe-dvi-target-gperf:
31930 @if target-gperf
31931 maybe-dvi-target-gperf: dvi-target-gperf
31933 dvi-target-gperf: \
31934 configure-target-gperf
31935 @$(unstage)
31936 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31937 r=`${PWD_COMMAND}`; export r; \
31938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31939 $(NORMAL_TARGET_EXPORTS) \
31940 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
31941 for flag in $(EXTRA_TARGET_FLAGS); do \
31942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31943 done; \
31944 (cd $(TARGET_SUBDIR)/gperf && \
31945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31947 "RANLIB=$${RANLIB}" \
31948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31949 dvi) \
31950 || exit 1
31952 @endif target-gperf
31954 .PHONY: maybe-html-target-gperf html-target-gperf
31955 maybe-html-target-gperf:
31956 @if target-gperf
31957 maybe-html-target-gperf: html-target-gperf
31959 html-target-gperf: \
31960 configure-target-gperf
31961 @$(unstage)
31962 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31963 r=`${PWD_COMMAND}`; export r; \
31964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31965 $(NORMAL_TARGET_EXPORTS) \
31966 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
31967 for flag in $(EXTRA_TARGET_FLAGS); do \
31968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31969 done; \
31970 (cd $(TARGET_SUBDIR)/gperf && \
31971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31973 "RANLIB=$${RANLIB}" \
31974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31975 html) \
31976 || exit 1
31978 @endif target-gperf
31980 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
31981 maybe-TAGS-target-gperf:
31982 @if target-gperf
31983 maybe-TAGS-target-gperf: TAGS-target-gperf
31985 TAGS-target-gperf: \
31986 configure-target-gperf
31987 @$(unstage)
31988 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31989 r=`${PWD_COMMAND}`; export r; \
31990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31991 $(NORMAL_TARGET_EXPORTS) \
31992 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
31993 for flag in $(EXTRA_TARGET_FLAGS); do \
31994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31995 done; \
31996 (cd $(TARGET_SUBDIR)/gperf && \
31997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31999 "RANLIB=$${RANLIB}" \
32000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32001 TAGS) \
32002 || exit 1
32004 @endif target-gperf
32006 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32007 maybe-install-info-target-gperf:
32008 @if target-gperf
32009 maybe-install-info-target-gperf: install-info-target-gperf
32011 install-info-target-gperf: \
32012 configure-target-gperf \
32013 info-target-gperf
32014 @$(unstage)
32015 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32016 r=`${PWD_COMMAND}`; export r; \
32017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32018 $(NORMAL_TARGET_EXPORTS) \
32019 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32020 for flag in $(EXTRA_TARGET_FLAGS); do \
32021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32022 done; \
32023 (cd $(TARGET_SUBDIR)/gperf && \
32024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32026 "RANLIB=$${RANLIB}" \
32027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32028 install-info) \
32029 || exit 1
32031 @endif target-gperf
32033 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32034 maybe-installcheck-target-gperf:
32035 @if target-gperf
32036 maybe-installcheck-target-gperf: installcheck-target-gperf
32038 installcheck-target-gperf: \
32039 configure-target-gperf
32040 @$(unstage)
32041 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32042 r=`${PWD_COMMAND}`; export r; \
32043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32044 $(NORMAL_TARGET_EXPORTS) \
32045 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32046 for flag in $(EXTRA_TARGET_FLAGS); do \
32047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32048 done; \
32049 (cd $(TARGET_SUBDIR)/gperf && \
32050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32052 "RANLIB=$${RANLIB}" \
32053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32054 installcheck) \
32055 || exit 1
32057 @endif target-gperf
32059 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32060 maybe-mostlyclean-target-gperf:
32061 @if target-gperf
32062 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32064 mostlyclean-target-gperf:
32065 @$(unstage)
32066 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32067 r=`${PWD_COMMAND}`; export r; \
32068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32069 $(NORMAL_TARGET_EXPORTS) \
32070 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32071 for flag in $(EXTRA_TARGET_FLAGS); do \
32072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32073 done; \
32074 (cd $(TARGET_SUBDIR)/gperf && \
32075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32077 "RANLIB=$${RANLIB}" \
32078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32079 mostlyclean) \
32080 || exit 1
32082 @endif target-gperf
32084 .PHONY: maybe-clean-target-gperf clean-target-gperf
32085 maybe-clean-target-gperf:
32086 @if target-gperf
32087 maybe-clean-target-gperf: clean-target-gperf
32089 clean-target-gperf:
32090 @$(unstage)
32091 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32092 r=`${PWD_COMMAND}`; export r; \
32093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32094 $(NORMAL_TARGET_EXPORTS) \
32095 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32096 for flag in $(EXTRA_TARGET_FLAGS); do \
32097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32098 done; \
32099 (cd $(TARGET_SUBDIR)/gperf && \
32100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32102 "RANLIB=$${RANLIB}" \
32103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32104 clean) \
32105 || exit 1
32107 @endif target-gperf
32109 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32110 maybe-distclean-target-gperf:
32111 @if target-gperf
32112 maybe-distclean-target-gperf: distclean-target-gperf
32114 distclean-target-gperf:
32115 @$(unstage)
32116 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32117 r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(NORMAL_TARGET_EXPORTS) \
32120 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 distclean) \
32130 || exit 1
32132 @endif target-gperf
32134 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32135 maybe-maintainer-clean-target-gperf:
32136 @if target-gperf
32137 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32139 maintainer-clean-target-gperf:
32140 @$(unstage)
32141 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32142 r=`${PWD_COMMAND}`; export r; \
32143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32144 $(NORMAL_TARGET_EXPORTS) \
32145 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32146 for flag in $(EXTRA_TARGET_FLAGS); do \
32147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32148 done; \
32149 (cd $(TARGET_SUBDIR)/gperf && \
32150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32152 "RANLIB=$${RANLIB}" \
32153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32154 maintainer-clean) \
32155 || exit 1
32157 @endif target-gperf
32161 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32162 @if target-examples
32163 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
32164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32165 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
32166 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
32167 @endif target-examples
32171 .PHONY: configure-target-examples maybe-configure-target-examples
32172 maybe-configure-target-examples:
32173 @if target-examples
32174 maybe-configure-target-examples: configure-target-examples
32175 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
32176 @$(unstage)
32177 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32178 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32179 r=`${PWD_COMMAND}`; export r; \
32180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32181 $(NORMAL_TARGET_EXPORTS) \
32182 echo Configuring in $(TARGET_SUBDIR)/examples; \
32183 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32184 case $(srcdir) in \
32185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32186 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32188 esac; \
32189 srcdiroption="--srcdir=$${topdir}/examples"; \
32190 libsrcdir="$$s/examples"; \
32191 rm -f no-such-file || : ; \
32192 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32193 $(TARGET_CONFIGARGS) $${srcdiroption} \
32194 || exit 1
32195 @endif target-examples
32201 .PHONY: all-target-examples maybe-all-target-examples
32202 maybe-all-target-examples:
32203 @if target-examples
32204 TARGET-target-examples=all
32205 maybe-all-target-examples: all-target-examples
32206 all-target-examples: configure-target-examples
32207 @$(unstage)
32208 @r=`${PWD_COMMAND}`; export r; \
32209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32210 $(NORMAL_TARGET_EXPORTS) \
32211 (cd $(TARGET_SUBDIR)/examples && \
32212 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32213 @endif target-examples
32219 .PHONY: check-target-examples maybe-check-target-examples
32220 maybe-check-target-examples:
32221 @if target-examples
32222 maybe-check-target-examples: check-target-examples
32224 # Dummy target for uncheckable module.
32225 check-target-examples:
32227 @endif target-examples
32229 .PHONY: install-target-examples maybe-install-target-examples
32230 maybe-install-target-examples:
32231 @if target-examples
32232 maybe-install-target-examples: install-target-examples
32234 # Dummy target for uninstallable.
32235 install-target-examples:
32237 @endif target-examples
32239 # Other targets (info, dvi, etc.)
32241 .PHONY: maybe-info-target-examples info-target-examples
32242 maybe-info-target-examples:
32243 @if target-examples
32244 maybe-info-target-examples: info-target-examples
32246 info-target-examples: \
32247 configure-target-examples
32248 @$(unstage)
32249 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32250 r=`${PWD_COMMAND}`; export r; \
32251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32252 $(NORMAL_TARGET_EXPORTS) \
32253 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32254 for flag in $(EXTRA_TARGET_FLAGS); do \
32255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32256 done; \
32257 (cd $(TARGET_SUBDIR)/examples && \
32258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32260 "RANLIB=$${RANLIB}" \
32261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32262 info) \
32263 || exit 1
32265 @endif target-examples
32267 .PHONY: maybe-dvi-target-examples dvi-target-examples
32268 maybe-dvi-target-examples:
32269 @if target-examples
32270 maybe-dvi-target-examples: dvi-target-examples
32272 dvi-target-examples: \
32273 configure-target-examples
32274 @$(unstage)
32275 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32276 r=`${PWD_COMMAND}`; export r; \
32277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32278 $(NORMAL_TARGET_EXPORTS) \
32279 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32280 for flag in $(EXTRA_TARGET_FLAGS); do \
32281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32282 done; \
32283 (cd $(TARGET_SUBDIR)/examples && \
32284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32286 "RANLIB=$${RANLIB}" \
32287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32288 dvi) \
32289 || exit 1
32291 @endif target-examples
32293 .PHONY: maybe-html-target-examples html-target-examples
32294 maybe-html-target-examples:
32295 @if target-examples
32296 maybe-html-target-examples: html-target-examples
32298 html-target-examples: \
32299 configure-target-examples
32300 @$(unstage)
32301 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32302 r=`${PWD_COMMAND}`; export r; \
32303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32304 $(NORMAL_TARGET_EXPORTS) \
32305 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32306 for flag in $(EXTRA_TARGET_FLAGS); do \
32307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32308 done; \
32309 (cd $(TARGET_SUBDIR)/examples && \
32310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32312 "RANLIB=$${RANLIB}" \
32313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32314 html) \
32315 || exit 1
32317 @endif target-examples
32319 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32320 maybe-TAGS-target-examples:
32321 @if target-examples
32322 maybe-TAGS-target-examples: TAGS-target-examples
32324 TAGS-target-examples: \
32325 configure-target-examples
32326 @$(unstage)
32327 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32328 r=`${PWD_COMMAND}`; export r; \
32329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32330 $(NORMAL_TARGET_EXPORTS) \
32331 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32332 for flag in $(EXTRA_TARGET_FLAGS); do \
32333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32334 done; \
32335 (cd $(TARGET_SUBDIR)/examples && \
32336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32338 "RANLIB=$${RANLIB}" \
32339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32340 TAGS) \
32341 || exit 1
32343 @endif target-examples
32345 .PHONY: maybe-install-info-target-examples install-info-target-examples
32346 maybe-install-info-target-examples:
32347 @if target-examples
32348 maybe-install-info-target-examples: install-info-target-examples
32350 install-info-target-examples: \
32351 configure-target-examples \
32352 info-target-examples
32353 @$(unstage)
32354 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32355 r=`${PWD_COMMAND}`; export r; \
32356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32357 $(NORMAL_TARGET_EXPORTS) \
32358 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32359 for flag in $(EXTRA_TARGET_FLAGS); do \
32360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32361 done; \
32362 (cd $(TARGET_SUBDIR)/examples && \
32363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32365 "RANLIB=$${RANLIB}" \
32366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32367 install-info) \
32368 || exit 1
32370 @endif target-examples
32372 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32373 maybe-installcheck-target-examples:
32374 @if target-examples
32375 maybe-installcheck-target-examples: installcheck-target-examples
32377 installcheck-target-examples: \
32378 configure-target-examples
32379 @$(unstage)
32380 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32381 r=`${PWD_COMMAND}`; export r; \
32382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32383 $(NORMAL_TARGET_EXPORTS) \
32384 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32385 for flag in $(EXTRA_TARGET_FLAGS); do \
32386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32387 done; \
32388 (cd $(TARGET_SUBDIR)/examples && \
32389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32391 "RANLIB=$${RANLIB}" \
32392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32393 installcheck) \
32394 || exit 1
32396 @endif target-examples
32398 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32399 maybe-mostlyclean-target-examples:
32400 @if target-examples
32401 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32403 mostlyclean-target-examples:
32404 @$(unstage)
32405 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32406 r=`${PWD_COMMAND}`; export r; \
32407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32408 $(NORMAL_TARGET_EXPORTS) \
32409 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32410 for flag in $(EXTRA_TARGET_FLAGS); do \
32411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32412 done; \
32413 (cd $(TARGET_SUBDIR)/examples && \
32414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32416 "RANLIB=$${RANLIB}" \
32417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32418 mostlyclean) \
32419 || exit 1
32421 @endif target-examples
32423 .PHONY: maybe-clean-target-examples clean-target-examples
32424 maybe-clean-target-examples:
32425 @if target-examples
32426 maybe-clean-target-examples: clean-target-examples
32428 clean-target-examples:
32429 @$(unstage)
32430 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32431 r=`${PWD_COMMAND}`; export r; \
32432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32433 $(NORMAL_TARGET_EXPORTS) \
32434 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32435 for flag in $(EXTRA_TARGET_FLAGS); do \
32436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32437 done; \
32438 (cd $(TARGET_SUBDIR)/examples && \
32439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32441 "RANLIB=$${RANLIB}" \
32442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32443 clean) \
32444 || exit 1
32446 @endif target-examples
32448 .PHONY: maybe-distclean-target-examples distclean-target-examples
32449 maybe-distclean-target-examples:
32450 @if target-examples
32451 maybe-distclean-target-examples: distclean-target-examples
32453 distclean-target-examples:
32454 @$(unstage)
32455 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32456 r=`${PWD_COMMAND}`; export r; \
32457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32458 $(NORMAL_TARGET_EXPORTS) \
32459 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
32460 for flag in $(EXTRA_TARGET_FLAGS); do \
32461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32462 done; \
32463 (cd $(TARGET_SUBDIR)/examples && \
32464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32466 "RANLIB=$${RANLIB}" \
32467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32468 distclean) \
32469 || exit 1
32471 @endif target-examples
32473 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
32474 maybe-maintainer-clean-target-examples:
32475 @if target-examples
32476 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
32478 maintainer-clean-target-examples:
32479 @$(unstage)
32480 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32481 r=`${PWD_COMMAND}`; export r; \
32482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32483 $(NORMAL_TARGET_EXPORTS) \
32484 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
32485 for flag in $(EXTRA_TARGET_FLAGS); do \
32486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32487 done; \
32488 (cd $(TARGET_SUBDIR)/examples && \
32489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32491 "RANLIB=$${RANLIB}" \
32492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32493 maintainer-clean) \
32494 || exit 1
32496 @endif target-examples
32500 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32501 @if target-libffi
32502 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
32503 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32504 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
32505 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
32506 @endif target-libffi
32510 .PHONY: configure-target-libffi maybe-configure-target-libffi
32511 maybe-configure-target-libffi:
32512 @if target-libffi
32513 maybe-configure-target-libffi: configure-target-libffi
32514 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
32515 @$(unstage)
32516 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
32517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32518 r=`${PWD_COMMAND}`; export r; \
32519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32520 $(NORMAL_TARGET_EXPORTS) \
32521 echo Configuring in $(TARGET_SUBDIR)/libffi; \
32522 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
32523 case $(srcdir) in \
32524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32525 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
32526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32527 esac; \
32528 srcdiroption="--srcdir=$${topdir}/libffi"; \
32529 libsrcdir="$$s/libffi"; \
32530 rm -f no-such-file || : ; \
32531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32532 $(TARGET_CONFIGARGS) $${srcdiroption} \
32533 || exit 1
32534 @endif target-libffi
32540 .PHONY: all-target-libffi maybe-all-target-libffi
32541 maybe-all-target-libffi:
32542 @if target-libffi
32543 TARGET-target-libffi=all
32544 maybe-all-target-libffi: all-target-libffi
32545 all-target-libffi: configure-target-libffi
32546 @$(unstage)
32547 @r=`${PWD_COMMAND}`; export r; \
32548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32549 $(NORMAL_TARGET_EXPORTS) \
32550 (cd $(TARGET_SUBDIR)/libffi && \
32551 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
32552 @endif target-libffi
32558 .PHONY: check-target-libffi maybe-check-target-libffi
32559 maybe-check-target-libffi:
32560 @if target-libffi
32561 maybe-check-target-libffi: check-target-libffi
32563 check-target-libffi:
32564 @$(unstage)
32565 @r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 $(NORMAL_TARGET_EXPORTS) \
32568 (cd $(TARGET_SUBDIR)/libffi && \
32569 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32571 @endif target-libffi
32573 .PHONY: install-target-libffi maybe-install-target-libffi
32574 maybe-install-target-libffi:
32575 @if target-libffi
32576 maybe-install-target-libffi: install-target-libffi
32578 install-target-libffi: installdirs
32579 @$(unstage)
32580 @r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(NORMAL_TARGET_EXPORTS) \
32583 (cd $(TARGET_SUBDIR)/libffi && \
32584 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32586 @endif target-libffi
32588 # Other targets (info, dvi, etc.)
32590 .PHONY: maybe-info-target-libffi info-target-libffi
32591 maybe-info-target-libffi:
32592 @if target-libffi
32593 maybe-info-target-libffi: info-target-libffi
32595 info-target-libffi: \
32596 configure-target-libffi
32597 @$(unstage)
32598 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32599 r=`${PWD_COMMAND}`; export r; \
32600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32601 $(NORMAL_TARGET_EXPORTS) \
32602 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
32603 for flag in $(EXTRA_TARGET_FLAGS); do \
32604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32605 done; \
32606 (cd $(TARGET_SUBDIR)/libffi && \
32607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32609 "RANLIB=$${RANLIB}" \
32610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32611 info) \
32612 || exit 1
32614 @endif target-libffi
32616 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
32617 maybe-dvi-target-libffi:
32618 @if target-libffi
32619 maybe-dvi-target-libffi: dvi-target-libffi
32621 dvi-target-libffi: \
32622 configure-target-libffi
32623 @$(unstage)
32624 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32625 r=`${PWD_COMMAND}`; export r; \
32626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32627 $(NORMAL_TARGET_EXPORTS) \
32628 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
32629 for flag in $(EXTRA_TARGET_FLAGS); do \
32630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32631 done; \
32632 (cd $(TARGET_SUBDIR)/libffi && \
32633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32635 "RANLIB=$${RANLIB}" \
32636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32637 dvi) \
32638 || exit 1
32640 @endif target-libffi
32642 .PHONY: maybe-html-target-libffi html-target-libffi
32643 maybe-html-target-libffi:
32644 @if target-libffi
32645 maybe-html-target-libffi: html-target-libffi
32647 html-target-libffi: \
32648 configure-target-libffi
32649 @$(unstage)
32650 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32651 r=`${PWD_COMMAND}`; export r; \
32652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32653 $(NORMAL_TARGET_EXPORTS) \
32654 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
32655 for flag in $(EXTRA_TARGET_FLAGS); do \
32656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32657 done; \
32658 (cd $(TARGET_SUBDIR)/libffi && \
32659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32661 "RANLIB=$${RANLIB}" \
32662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32663 html) \
32664 || exit 1
32666 @endif target-libffi
32668 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
32669 maybe-TAGS-target-libffi:
32670 @if target-libffi
32671 maybe-TAGS-target-libffi: TAGS-target-libffi
32673 TAGS-target-libffi: \
32674 configure-target-libffi
32675 @$(unstage)
32676 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32677 r=`${PWD_COMMAND}`; export r; \
32678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32679 $(NORMAL_TARGET_EXPORTS) \
32680 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
32681 for flag in $(EXTRA_TARGET_FLAGS); do \
32682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32683 done; \
32684 (cd $(TARGET_SUBDIR)/libffi && \
32685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32687 "RANLIB=$${RANLIB}" \
32688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32689 TAGS) \
32690 || exit 1
32692 @endif target-libffi
32694 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
32695 maybe-install-info-target-libffi:
32696 @if target-libffi
32697 maybe-install-info-target-libffi: install-info-target-libffi
32699 install-info-target-libffi: \
32700 configure-target-libffi \
32701 info-target-libffi
32702 @$(unstage)
32703 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32704 r=`${PWD_COMMAND}`; export r; \
32705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32706 $(NORMAL_TARGET_EXPORTS) \
32707 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
32708 for flag in $(EXTRA_TARGET_FLAGS); do \
32709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32710 done; \
32711 (cd $(TARGET_SUBDIR)/libffi && \
32712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32714 "RANLIB=$${RANLIB}" \
32715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32716 install-info) \
32717 || exit 1
32719 @endif target-libffi
32721 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
32722 maybe-installcheck-target-libffi:
32723 @if target-libffi
32724 maybe-installcheck-target-libffi: installcheck-target-libffi
32726 installcheck-target-libffi: \
32727 configure-target-libffi
32728 @$(unstage)
32729 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32730 r=`${PWD_COMMAND}`; export r; \
32731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32732 $(NORMAL_TARGET_EXPORTS) \
32733 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
32734 for flag in $(EXTRA_TARGET_FLAGS); do \
32735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32736 done; \
32737 (cd $(TARGET_SUBDIR)/libffi && \
32738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32740 "RANLIB=$${RANLIB}" \
32741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32742 installcheck) \
32743 || exit 1
32745 @endif target-libffi
32747 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
32748 maybe-mostlyclean-target-libffi:
32749 @if target-libffi
32750 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
32752 mostlyclean-target-libffi:
32753 @$(unstage)
32754 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32755 r=`${PWD_COMMAND}`; export r; \
32756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32757 $(NORMAL_TARGET_EXPORTS) \
32758 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
32759 for flag in $(EXTRA_TARGET_FLAGS); do \
32760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32761 done; \
32762 (cd $(TARGET_SUBDIR)/libffi && \
32763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32765 "RANLIB=$${RANLIB}" \
32766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32767 mostlyclean) \
32768 || exit 1
32770 @endif target-libffi
32772 .PHONY: maybe-clean-target-libffi clean-target-libffi
32773 maybe-clean-target-libffi:
32774 @if target-libffi
32775 maybe-clean-target-libffi: clean-target-libffi
32777 clean-target-libffi:
32778 @$(unstage)
32779 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32780 r=`${PWD_COMMAND}`; export r; \
32781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32782 $(NORMAL_TARGET_EXPORTS) \
32783 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
32784 for flag in $(EXTRA_TARGET_FLAGS); do \
32785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32786 done; \
32787 (cd $(TARGET_SUBDIR)/libffi && \
32788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32790 "RANLIB=$${RANLIB}" \
32791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32792 clean) \
32793 || exit 1
32795 @endif target-libffi
32797 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
32798 maybe-distclean-target-libffi:
32799 @if target-libffi
32800 maybe-distclean-target-libffi: distclean-target-libffi
32802 distclean-target-libffi:
32803 @$(unstage)
32804 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32805 r=`${PWD_COMMAND}`; export r; \
32806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32807 $(NORMAL_TARGET_EXPORTS) \
32808 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 distclean) \
32818 || exit 1
32820 @endif target-libffi
32822 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
32823 maybe-maintainer-clean-target-libffi:
32824 @if target-libffi
32825 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
32827 maintainer-clean-target-libffi:
32828 @$(unstage)
32829 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32830 r=`${PWD_COMMAND}`; export r; \
32831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32832 $(NORMAL_TARGET_EXPORTS) \
32833 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
32834 for flag in $(EXTRA_TARGET_FLAGS); do \
32835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32836 done; \
32837 (cd $(TARGET_SUBDIR)/libffi && \
32838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32840 "RANLIB=$${RANLIB}" \
32841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32842 maintainer-clean) \
32843 || exit 1
32845 @endif target-libffi
32849 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32850 @if target-libjava
32851 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
32852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
32853 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
32854 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
32855 @endif target-libjava
32859 .PHONY: configure-target-libjava maybe-configure-target-libjava
32860 maybe-configure-target-libjava:
32861 @if target-libjava
32862 maybe-configure-target-libjava: configure-target-libjava
32863 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
32864 @$(unstage)
32865 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
32866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
32867 r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 $(RAW_CXX_TARGET_EXPORTS) \
32870 echo Configuring in $(TARGET_SUBDIR)/libjava; \
32871 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
32872 case $(srcdir) in \
32873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32874 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
32875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32876 esac; \
32877 srcdiroption="--srcdir=$${topdir}/libjava"; \
32878 libsrcdir="$$s/libjava"; \
32879 rm -f no-such-file || : ; \
32880 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32881 $(TARGET_CONFIGARGS) $${srcdiroption} \
32882 || exit 1
32883 @endif target-libjava
32889 .PHONY: all-target-libjava maybe-all-target-libjava
32890 maybe-all-target-libjava:
32891 @if target-libjava
32892 TARGET-target-libjava=all
32893 maybe-all-target-libjava: all-target-libjava
32894 all-target-libjava: configure-target-libjava
32895 @$(unstage)
32896 @r=`${PWD_COMMAND}`; export r; \
32897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32898 $(RAW_CXX_TARGET_EXPORTS) \
32899 (cd $(TARGET_SUBDIR)/libjava && \
32900 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
32901 @endif target-libjava
32907 .PHONY: check-target-libjava maybe-check-target-libjava
32908 maybe-check-target-libjava:
32909 @if target-libjava
32910 maybe-check-target-libjava: check-target-libjava
32912 check-target-libjava:
32913 @$(unstage)
32914 @r=`${PWD_COMMAND}`; export r; \
32915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32916 $(RAW_CXX_TARGET_EXPORTS) \
32917 (cd $(TARGET_SUBDIR)/libjava && \
32918 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32920 @endif target-libjava
32922 .PHONY: install-target-libjava maybe-install-target-libjava
32923 maybe-install-target-libjava:
32924 @if target-libjava
32925 maybe-install-target-libjava: install-target-libjava
32927 install-target-libjava: installdirs
32928 @$(unstage)
32929 @r=`${PWD_COMMAND}`; export r; \
32930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32931 $(RAW_CXX_TARGET_EXPORTS) \
32932 (cd $(TARGET_SUBDIR)/libjava && \
32933 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32935 @endif target-libjava
32937 # Other targets (info, dvi, etc.)
32939 .PHONY: maybe-info-target-libjava info-target-libjava
32940 maybe-info-target-libjava:
32941 @if target-libjava
32942 maybe-info-target-libjava: info-target-libjava
32944 info-target-libjava: \
32945 configure-target-libjava
32946 @$(unstage)
32947 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
32948 r=`${PWD_COMMAND}`; export r; \
32949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32950 $(RAW_CXX_TARGET_EXPORTS) \
32951 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
32952 for flag in $(EXTRA_TARGET_FLAGS); do \
32953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32954 done; \
32955 (cd $(TARGET_SUBDIR)/libjava && \
32956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32958 "RANLIB=$${RANLIB}" \
32959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32960 info) \
32961 || exit 1
32963 @endif target-libjava
32965 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
32966 maybe-dvi-target-libjava:
32967 @if target-libjava
32968 maybe-dvi-target-libjava: dvi-target-libjava
32970 dvi-target-libjava: \
32971 configure-target-libjava
32972 @$(unstage)
32973 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
32974 r=`${PWD_COMMAND}`; export r; \
32975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32976 $(RAW_CXX_TARGET_EXPORTS) \
32977 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
32978 for flag in $(EXTRA_TARGET_FLAGS); do \
32979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32980 done; \
32981 (cd $(TARGET_SUBDIR)/libjava && \
32982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32984 "RANLIB=$${RANLIB}" \
32985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32986 dvi) \
32987 || exit 1
32989 @endif target-libjava
32991 .PHONY: maybe-html-target-libjava html-target-libjava
32992 maybe-html-target-libjava:
32993 @if target-libjava
32994 maybe-html-target-libjava: html-target-libjava
32996 html-target-libjava: \
32997 configure-target-libjava
32998 @$(unstage)
32999 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33000 r=`${PWD_COMMAND}`; export r; \
33001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33002 $(RAW_CXX_TARGET_EXPORTS) \
33003 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33004 for flag in $(EXTRA_TARGET_FLAGS); do \
33005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33006 done; \
33007 (cd $(TARGET_SUBDIR)/libjava && \
33008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33010 "RANLIB=$${RANLIB}" \
33011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33012 html) \
33013 || exit 1
33015 @endif target-libjava
33017 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33018 maybe-TAGS-target-libjava:
33019 @if target-libjava
33020 maybe-TAGS-target-libjava: TAGS-target-libjava
33022 TAGS-target-libjava: \
33023 configure-target-libjava
33024 @$(unstage)
33025 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33026 r=`${PWD_COMMAND}`; export r; \
33027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33028 $(RAW_CXX_TARGET_EXPORTS) \
33029 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33030 for flag in $(EXTRA_TARGET_FLAGS); do \
33031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33032 done; \
33033 (cd $(TARGET_SUBDIR)/libjava && \
33034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33036 "RANLIB=$${RANLIB}" \
33037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33038 TAGS) \
33039 || exit 1
33041 @endif target-libjava
33043 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33044 maybe-install-info-target-libjava:
33045 @if target-libjava
33046 maybe-install-info-target-libjava: install-info-target-libjava
33048 install-info-target-libjava: \
33049 configure-target-libjava \
33050 info-target-libjava
33051 @$(unstage)
33052 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33053 r=`${PWD_COMMAND}`; export r; \
33054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33055 $(RAW_CXX_TARGET_EXPORTS) \
33056 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33057 for flag in $(EXTRA_TARGET_FLAGS); do \
33058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33059 done; \
33060 (cd $(TARGET_SUBDIR)/libjava && \
33061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33063 "RANLIB=$${RANLIB}" \
33064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33065 install-info) \
33066 || exit 1
33068 @endif target-libjava
33070 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33071 maybe-installcheck-target-libjava:
33072 @if target-libjava
33073 maybe-installcheck-target-libjava: installcheck-target-libjava
33075 installcheck-target-libjava: \
33076 configure-target-libjava
33077 @$(unstage)
33078 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33079 r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(RAW_CXX_TARGET_EXPORTS) \
33082 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33083 for flag in $(EXTRA_TARGET_FLAGS); do \
33084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33085 done; \
33086 (cd $(TARGET_SUBDIR)/libjava && \
33087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33089 "RANLIB=$${RANLIB}" \
33090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33091 installcheck) \
33092 || exit 1
33094 @endif target-libjava
33096 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33097 maybe-mostlyclean-target-libjava:
33098 @if target-libjava
33099 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33101 mostlyclean-target-libjava:
33102 @$(unstage)
33103 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33104 r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(RAW_CXX_TARGET_EXPORTS) \
33107 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33108 for flag in $(EXTRA_TARGET_FLAGS); do \
33109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33110 done; \
33111 (cd $(TARGET_SUBDIR)/libjava && \
33112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33114 "RANLIB=$${RANLIB}" \
33115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33116 mostlyclean) \
33117 || exit 1
33119 @endif target-libjava
33121 .PHONY: maybe-clean-target-libjava clean-target-libjava
33122 maybe-clean-target-libjava:
33123 @if target-libjava
33124 maybe-clean-target-libjava: clean-target-libjava
33126 clean-target-libjava:
33127 @$(unstage)
33128 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33129 r=`${PWD_COMMAND}`; export r; \
33130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33131 $(RAW_CXX_TARGET_EXPORTS) \
33132 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33133 for flag in $(EXTRA_TARGET_FLAGS); do \
33134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33135 done; \
33136 (cd $(TARGET_SUBDIR)/libjava && \
33137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33139 "RANLIB=$${RANLIB}" \
33140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33141 clean) \
33142 || exit 1
33144 @endif target-libjava
33146 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33147 maybe-distclean-target-libjava:
33148 @if target-libjava
33149 maybe-distclean-target-libjava: distclean-target-libjava
33151 distclean-target-libjava:
33152 @$(unstage)
33153 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33154 r=`${PWD_COMMAND}`; export r; \
33155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33156 $(RAW_CXX_TARGET_EXPORTS) \
33157 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 distclean) \
33167 || exit 1
33169 @endif target-libjava
33171 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33172 maybe-maintainer-clean-target-libjava:
33173 @if target-libjava
33174 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33176 maintainer-clean-target-libjava:
33177 @$(unstage)
33178 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33179 r=`${PWD_COMMAND}`; export r; \
33180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33181 $(RAW_CXX_TARGET_EXPORTS) \
33182 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33183 for flag in $(EXTRA_TARGET_FLAGS); do \
33184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33185 done; \
33186 (cd $(TARGET_SUBDIR)/libjava && \
33187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33189 "RANLIB=$${RANLIB}" \
33190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33191 maintainer-clean) \
33192 || exit 1
33194 @endif target-libjava
33198 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33199 @if target-zlib
33200 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
33201 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33202 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
33203 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
33204 @endif target-zlib
33208 .PHONY: configure-target-zlib maybe-configure-target-zlib
33209 maybe-configure-target-zlib:
33210 @if target-zlib
33211 maybe-configure-target-zlib: configure-target-zlib
33212 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
33213 @$(unstage)
33214 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33215 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33216 r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 $(NORMAL_TARGET_EXPORTS) \
33219 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33220 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33221 case $(srcdir) in \
33222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33223 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33225 esac; \
33226 srcdiroption="--srcdir=$${topdir}/zlib"; \
33227 libsrcdir="$$s/zlib"; \
33228 rm -f no-such-file || : ; \
33229 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33230 $(TARGET_CONFIGARGS) $${srcdiroption} \
33231 || exit 1
33232 @endif target-zlib
33238 .PHONY: all-target-zlib maybe-all-target-zlib
33239 maybe-all-target-zlib:
33240 @if target-zlib
33241 TARGET-target-zlib=all
33242 maybe-all-target-zlib: all-target-zlib
33243 all-target-zlib: configure-target-zlib
33244 @$(unstage)
33245 @r=`${PWD_COMMAND}`; export r; \
33246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33247 $(NORMAL_TARGET_EXPORTS) \
33248 (cd $(TARGET_SUBDIR)/zlib && \
33249 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33250 @endif target-zlib
33256 .PHONY: check-target-zlib maybe-check-target-zlib
33257 maybe-check-target-zlib:
33258 @if target-zlib
33259 maybe-check-target-zlib: check-target-zlib
33261 check-target-zlib:
33262 @$(unstage)
33263 @r=`${PWD_COMMAND}`; export r; \
33264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33265 $(NORMAL_TARGET_EXPORTS) \
33266 (cd $(TARGET_SUBDIR)/zlib && \
33267 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33269 @endif target-zlib
33271 .PHONY: install-target-zlib maybe-install-target-zlib
33272 maybe-install-target-zlib:
33273 @if target-zlib
33274 maybe-install-target-zlib: install-target-zlib
33276 install-target-zlib: installdirs
33277 @$(unstage)
33278 @r=`${PWD_COMMAND}`; export r; \
33279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33280 $(NORMAL_TARGET_EXPORTS) \
33281 (cd $(TARGET_SUBDIR)/zlib && \
33282 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33284 @endif target-zlib
33286 # Other targets (info, dvi, etc.)
33288 .PHONY: maybe-info-target-zlib info-target-zlib
33289 maybe-info-target-zlib:
33290 @if target-zlib
33291 maybe-info-target-zlib: info-target-zlib
33293 info-target-zlib: \
33294 configure-target-zlib
33295 @$(unstage)
33296 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33297 r=`${PWD_COMMAND}`; export r; \
33298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33299 $(NORMAL_TARGET_EXPORTS) \
33300 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33301 for flag in $(EXTRA_TARGET_FLAGS); do \
33302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33303 done; \
33304 (cd $(TARGET_SUBDIR)/zlib && \
33305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33307 "RANLIB=$${RANLIB}" \
33308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33309 info) \
33310 || exit 1
33312 @endif target-zlib
33314 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33315 maybe-dvi-target-zlib:
33316 @if target-zlib
33317 maybe-dvi-target-zlib: dvi-target-zlib
33319 dvi-target-zlib: \
33320 configure-target-zlib
33321 @$(unstage)
33322 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33323 r=`${PWD_COMMAND}`; export r; \
33324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33325 $(NORMAL_TARGET_EXPORTS) \
33326 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33327 for flag in $(EXTRA_TARGET_FLAGS); do \
33328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33329 done; \
33330 (cd $(TARGET_SUBDIR)/zlib && \
33331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33333 "RANLIB=$${RANLIB}" \
33334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33335 dvi) \
33336 || exit 1
33338 @endif target-zlib
33340 .PHONY: maybe-html-target-zlib html-target-zlib
33341 maybe-html-target-zlib:
33342 @if target-zlib
33343 maybe-html-target-zlib: html-target-zlib
33345 html-target-zlib: \
33346 configure-target-zlib
33347 @$(unstage)
33348 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33349 r=`${PWD_COMMAND}`; export r; \
33350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33351 $(NORMAL_TARGET_EXPORTS) \
33352 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33353 for flag in $(EXTRA_TARGET_FLAGS); do \
33354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33355 done; \
33356 (cd $(TARGET_SUBDIR)/zlib && \
33357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33359 "RANLIB=$${RANLIB}" \
33360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33361 html) \
33362 || exit 1
33364 @endif target-zlib
33366 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33367 maybe-TAGS-target-zlib:
33368 @if target-zlib
33369 maybe-TAGS-target-zlib: TAGS-target-zlib
33371 TAGS-target-zlib: \
33372 configure-target-zlib
33373 @$(unstage)
33374 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33375 r=`${PWD_COMMAND}`; export r; \
33376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33377 $(NORMAL_TARGET_EXPORTS) \
33378 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33379 for flag in $(EXTRA_TARGET_FLAGS); do \
33380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33381 done; \
33382 (cd $(TARGET_SUBDIR)/zlib && \
33383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33385 "RANLIB=$${RANLIB}" \
33386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33387 TAGS) \
33388 || exit 1
33390 @endif target-zlib
33392 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33393 maybe-install-info-target-zlib:
33394 @if target-zlib
33395 maybe-install-info-target-zlib: install-info-target-zlib
33397 install-info-target-zlib: \
33398 configure-target-zlib \
33399 info-target-zlib
33400 @$(unstage)
33401 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33402 r=`${PWD_COMMAND}`; export r; \
33403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33404 $(NORMAL_TARGET_EXPORTS) \
33405 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33406 for flag in $(EXTRA_TARGET_FLAGS); do \
33407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33408 done; \
33409 (cd $(TARGET_SUBDIR)/zlib && \
33410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33412 "RANLIB=$${RANLIB}" \
33413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33414 install-info) \
33415 || exit 1
33417 @endif target-zlib
33419 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33420 maybe-installcheck-target-zlib:
33421 @if target-zlib
33422 maybe-installcheck-target-zlib: installcheck-target-zlib
33424 installcheck-target-zlib: \
33425 configure-target-zlib
33426 @$(unstage)
33427 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(NORMAL_TARGET_EXPORTS) \
33431 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
33432 for flag in $(EXTRA_TARGET_FLAGS); do \
33433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33434 done; \
33435 (cd $(TARGET_SUBDIR)/zlib && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33440 installcheck) \
33441 || exit 1
33443 @endif target-zlib
33445 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
33446 maybe-mostlyclean-target-zlib:
33447 @if target-zlib
33448 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
33450 mostlyclean-target-zlib:
33451 @$(unstage)
33452 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33453 r=`${PWD_COMMAND}`; export r; \
33454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33455 $(NORMAL_TARGET_EXPORTS) \
33456 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
33457 for flag in $(EXTRA_TARGET_FLAGS); do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 (cd $(TARGET_SUBDIR)/zlib && \
33461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33463 "RANLIB=$${RANLIB}" \
33464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33465 mostlyclean) \
33466 || exit 1
33468 @endif target-zlib
33470 .PHONY: maybe-clean-target-zlib clean-target-zlib
33471 maybe-clean-target-zlib:
33472 @if target-zlib
33473 maybe-clean-target-zlib: clean-target-zlib
33475 clean-target-zlib:
33476 @$(unstage)
33477 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33478 r=`${PWD_COMMAND}`; export r; \
33479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33480 $(NORMAL_TARGET_EXPORTS) \
33481 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
33482 for flag in $(EXTRA_TARGET_FLAGS); do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 (cd $(TARGET_SUBDIR)/zlib && \
33486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33488 "RANLIB=$${RANLIB}" \
33489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33490 clean) \
33491 || exit 1
33493 @endif target-zlib
33495 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
33496 maybe-distclean-target-zlib:
33497 @if target-zlib
33498 maybe-distclean-target-zlib: distclean-target-zlib
33500 distclean-target-zlib:
33501 @$(unstage)
33502 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33503 r=`${PWD_COMMAND}`; export r; \
33504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33505 $(NORMAL_TARGET_EXPORTS) \
33506 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 distclean) \
33516 || exit 1
33518 @endif target-zlib
33520 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
33521 maybe-maintainer-clean-target-zlib:
33522 @if target-zlib
33523 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
33525 maintainer-clean-target-zlib:
33526 @$(unstage)
33527 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33528 r=`${PWD_COMMAND}`; export r; \
33529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33530 $(NORMAL_TARGET_EXPORTS) \
33531 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
33532 for flag in $(EXTRA_TARGET_FLAGS); do \
33533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33534 done; \
33535 (cd $(TARGET_SUBDIR)/zlib && \
33536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33538 "RANLIB=$${RANLIB}" \
33539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33540 maintainer-clean) \
33541 || exit 1
33543 @endif target-zlib
33547 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33548 @if target-boehm-gc
33549 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
33550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
33551 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
33552 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
33553 @endif target-boehm-gc
33557 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
33558 maybe-configure-target-boehm-gc:
33559 @if target-boehm-gc
33560 maybe-configure-target-boehm-gc: configure-target-boehm-gc
33561 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
33562 @$(unstage)
33563 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
33564 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
33565 r=`${PWD_COMMAND}`; export r; \
33566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33567 $(NORMAL_TARGET_EXPORTS) \
33568 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
33569 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
33570 case $(srcdir) in \
33571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33572 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
33573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33574 esac; \
33575 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
33576 libsrcdir="$$s/boehm-gc"; \
33577 rm -f no-such-file || : ; \
33578 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33579 $(TARGET_CONFIGARGS) $${srcdiroption} \
33580 || exit 1
33581 @endif target-boehm-gc
33587 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
33588 maybe-all-target-boehm-gc:
33589 @if target-boehm-gc
33590 TARGET-target-boehm-gc=all
33591 maybe-all-target-boehm-gc: all-target-boehm-gc
33592 all-target-boehm-gc: configure-target-boehm-gc
33593 @$(unstage)
33594 @r=`${PWD_COMMAND}`; export r; \
33595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33596 $(NORMAL_TARGET_EXPORTS) \
33597 (cd $(TARGET_SUBDIR)/boehm-gc && \
33598 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
33599 @endif target-boehm-gc
33605 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
33606 maybe-check-target-boehm-gc:
33607 @if target-boehm-gc
33608 maybe-check-target-boehm-gc: check-target-boehm-gc
33610 check-target-boehm-gc:
33611 @$(unstage)
33612 @r=`${PWD_COMMAND}`; export r; \
33613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33614 $(NORMAL_TARGET_EXPORTS) \
33615 (cd $(TARGET_SUBDIR)/boehm-gc && \
33616 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33618 @endif target-boehm-gc
33620 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
33621 maybe-install-target-boehm-gc:
33622 @if target-boehm-gc
33623 maybe-install-target-boehm-gc: install-target-boehm-gc
33625 install-target-boehm-gc: installdirs
33626 @$(unstage)
33627 @r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(NORMAL_TARGET_EXPORTS) \
33630 (cd $(TARGET_SUBDIR)/boehm-gc && \
33631 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33633 @endif target-boehm-gc
33635 # Other targets (info, dvi, etc.)
33637 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
33638 maybe-info-target-boehm-gc:
33639 @if target-boehm-gc
33640 maybe-info-target-boehm-gc: info-target-boehm-gc
33642 info-target-boehm-gc: \
33643 configure-target-boehm-gc
33644 @$(unstage)
33645 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33646 r=`${PWD_COMMAND}`; export r; \
33647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33648 $(NORMAL_TARGET_EXPORTS) \
33649 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
33650 for flag in $(EXTRA_TARGET_FLAGS); do \
33651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33652 done; \
33653 (cd $(TARGET_SUBDIR)/boehm-gc && \
33654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33656 "RANLIB=$${RANLIB}" \
33657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33658 info) \
33659 || exit 1
33661 @endif target-boehm-gc
33663 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
33664 maybe-dvi-target-boehm-gc:
33665 @if target-boehm-gc
33666 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
33668 dvi-target-boehm-gc: \
33669 configure-target-boehm-gc
33670 @$(unstage)
33671 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33672 r=`${PWD_COMMAND}`; export r; \
33673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33674 $(NORMAL_TARGET_EXPORTS) \
33675 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
33676 for flag in $(EXTRA_TARGET_FLAGS); do \
33677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33678 done; \
33679 (cd $(TARGET_SUBDIR)/boehm-gc && \
33680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33682 "RANLIB=$${RANLIB}" \
33683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33684 dvi) \
33685 || exit 1
33687 @endif target-boehm-gc
33689 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
33690 maybe-html-target-boehm-gc:
33691 @if target-boehm-gc
33692 maybe-html-target-boehm-gc: html-target-boehm-gc
33694 html-target-boehm-gc: \
33695 configure-target-boehm-gc
33696 @$(unstage)
33697 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33698 r=`${PWD_COMMAND}`; export r; \
33699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33700 $(NORMAL_TARGET_EXPORTS) \
33701 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
33702 for flag in $(EXTRA_TARGET_FLAGS); do \
33703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33704 done; \
33705 (cd $(TARGET_SUBDIR)/boehm-gc && \
33706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33708 "RANLIB=$${RANLIB}" \
33709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33710 html) \
33711 || exit 1
33713 @endif target-boehm-gc
33715 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
33716 maybe-TAGS-target-boehm-gc:
33717 @if target-boehm-gc
33718 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
33720 TAGS-target-boehm-gc: \
33721 configure-target-boehm-gc
33722 @$(unstage)
33723 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33724 r=`${PWD_COMMAND}`; export r; \
33725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33726 $(NORMAL_TARGET_EXPORTS) \
33727 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
33728 for flag in $(EXTRA_TARGET_FLAGS); do \
33729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33730 done; \
33731 (cd $(TARGET_SUBDIR)/boehm-gc && \
33732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33734 "RANLIB=$${RANLIB}" \
33735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33736 TAGS) \
33737 || exit 1
33739 @endif target-boehm-gc
33741 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
33742 maybe-install-info-target-boehm-gc:
33743 @if target-boehm-gc
33744 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
33746 install-info-target-boehm-gc: \
33747 configure-target-boehm-gc \
33748 info-target-boehm-gc
33749 @$(unstage)
33750 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33751 r=`${PWD_COMMAND}`; export r; \
33752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33753 $(NORMAL_TARGET_EXPORTS) \
33754 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
33755 for flag in $(EXTRA_TARGET_FLAGS); do \
33756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33757 done; \
33758 (cd $(TARGET_SUBDIR)/boehm-gc && \
33759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33761 "RANLIB=$${RANLIB}" \
33762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33763 install-info) \
33764 || exit 1
33766 @endif target-boehm-gc
33768 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
33769 maybe-installcheck-target-boehm-gc:
33770 @if target-boehm-gc
33771 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
33773 installcheck-target-boehm-gc: \
33774 configure-target-boehm-gc
33775 @$(unstage)
33776 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33777 r=`${PWD_COMMAND}`; export r; \
33778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33779 $(NORMAL_TARGET_EXPORTS) \
33780 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
33781 for flag in $(EXTRA_TARGET_FLAGS); do \
33782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33783 done; \
33784 (cd $(TARGET_SUBDIR)/boehm-gc && \
33785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33787 "RANLIB=$${RANLIB}" \
33788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33789 installcheck) \
33790 || exit 1
33792 @endif target-boehm-gc
33794 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
33795 maybe-mostlyclean-target-boehm-gc:
33796 @if target-boehm-gc
33797 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
33799 mostlyclean-target-boehm-gc:
33800 @$(unstage)
33801 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33802 r=`${PWD_COMMAND}`; export r; \
33803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33804 $(NORMAL_TARGET_EXPORTS) \
33805 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
33806 for flag in $(EXTRA_TARGET_FLAGS); do \
33807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33808 done; \
33809 (cd $(TARGET_SUBDIR)/boehm-gc && \
33810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33812 "RANLIB=$${RANLIB}" \
33813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33814 mostlyclean) \
33815 || exit 1
33817 @endif target-boehm-gc
33819 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
33820 maybe-clean-target-boehm-gc:
33821 @if target-boehm-gc
33822 maybe-clean-target-boehm-gc: clean-target-boehm-gc
33824 clean-target-boehm-gc:
33825 @$(unstage)
33826 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33827 r=`${PWD_COMMAND}`; export r; \
33828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33829 $(NORMAL_TARGET_EXPORTS) \
33830 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
33831 for flag in $(EXTRA_TARGET_FLAGS); do \
33832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33833 done; \
33834 (cd $(TARGET_SUBDIR)/boehm-gc && \
33835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33837 "RANLIB=$${RANLIB}" \
33838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33839 clean) \
33840 || exit 1
33842 @endif target-boehm-gc
33844 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
33845 maybe-distclean-target-boehm-gc:
33846 @if target-boehm-gc
33847 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
33849 distclean-target-boehm-gc:
33850 @$(unstage)
33851 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33852 r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(NORMAL_TARGET_EXPORTS) \
33855 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 distclean) \
33865 || exit 1
33867 @endif target-boehm-gc
33869 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
33870 maybe-maintainer-clean-target-boehm-gc:
33871 @if target-boehm-gc
33872 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
33874 maintainer-clean-target-boehm-gc:
33875 @$(unstage)
33876 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33877 r=`${PWD_COMMAND}`; export r; \
33878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33879 $(NORMAL_TARGET_EXPORTS) \
33880 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
33881 for flag in $(EXTRA_TARGET_FLAGS); do \
33882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33883 done; \
33884 (cd $(TARGET_SUBDIR)/boehm-gc && \
33885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33887 "RANLIB=$${RANLIB}" \
33888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33889 maintainer-clean) \
33890 || exit 1
33892 @endif target-boehm-gc
33896 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33897 @if target-qthreads
33898 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
33899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
33900 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
33901 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
33902 @endif target-qthreads
33906 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
33907 maybe-configure-target-qthreads:
33908 @if target-qthreads
33909 maybe-configure-target-qthreads: configure-target-qthreads
33910 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
33911 @$(unstage)
33912 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
33913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
33914 r=`${PWD_COMMAND}`; export r; \
33915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33916 $(NORMAL_TARGET_EXPORTS) \
33917 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
33918 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
33919 case $(srcdir) in \
33920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33921 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
33922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33923 esac; \
33924 srcdiroption="--srcdir=$${topdir}/qthreads"; \
33925 libsrcdir="$$s/qthreads"; \
33926 rm -f no-such-file || : ; \
33927 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33928 $(TARGET_CONFIGARGS) $${srcdiroption} \
33929 || exit 1
33930 @endif target-qthreads
33936 .PHONY: all-target-qthreads maybe-all-target-qthreads
33937 maybe-all-target-qthreads:
33938 @if target-qthreads
33939 TARGET-target-qthreads=all
33940 maybe-all-target-qthreads: all-target-qthreads
33941 all-target-qthreads: configure-target-qthreads
33942 @$(unstage)
33943 @r=`${PWD_COMMAND}`; export r; \
33944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33945 $(NORMAL_TARGET_EXPORTS) \
33946 (cd $(TARGET_SUBDIR)/qthreads && \
33947 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
33948 @endif target-qthreads
33954 .PHONY: check-target-qthreads maybe-check-target-qthreads
33955 maybe-check-target-qthreads:
33956 @if target-qthreads
33957 maybe-check-target-qthreads: check-target-qthreads
33959 check-target-qthreads:
33960 @$(unstage)
33961 @r=`${PWD_COMMAND}`; export r; \
33962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33963 $(NORMAL_TARGET_EXPORTS) \
33964 (cd $(TARGET_SUBDIR)/qthreads && \
33965 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33967 @endif target-qthreads
33969 .PHONY: install-target-qthreads maybe-install-target-qthreads
33970 maybe-install-target-qthreads:
33971 @if target-qthreads
33972 maybe-install-target-qthreads: install-target-qthreads
33974 install-target-qthreads: installdirs
33975 @$(unstage)
33976 @r=`${PWD_COMMAND}`; export r; \
33977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33978 $(NORMAL_TARGET_EXPORTS) \
33979 (cd $(TARGET_SUBDIR)/qthreads && \
33980 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33982 @endif target-qthreads
33984 # Other targets (info, dvi, etc.)
33986 .PHONY: maybe-info-target-qthreads info-target-qthreads
33987 maybe-info-target-qthreads:
33988 @if target-qthreads
33989 maybe-info-target-qthreads: info-target-qthreads
33991 info-target-qthreads: \
33992 configure-target-qthreads
33993 @$(unstage)
33994 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
33995 r=`${PWD_COMMAND}`; export r; \
33996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33997 $(NORMAL_TARGET_EXPORTS) \
33998 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
33999 for flag in $(EXTRA_TARGET_FLAGS); do \
34000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34001 done; \
34002 (cd $(TARGET_SUBDIR)/qthreads && \
34003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34005 "RANLIB=$${RANLIB}" \
34006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34007 info) \
34008 || exit 1
34010 @endif target-qthreads
34012 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34013 maybe-dvi-target-qthreads:
34014 @if target-qthreads
34015 maybe-dvi-target-qthreads: dvi-target-qthreads
34017 dvi-target-qthreads: \
34018 configure-target-qthreads
34019 @$(unstage)
34020 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34021 r=`${PWD_COMMAND}`; export r; \
34022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34023 $(NORMAL_TARGET_EXPORTS) \
34024 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34025 for flag in $(EXTRA_TARGET_FLAGS); do \
34026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34027 done; \
34028 (cd $(TARGET_SUBDIR)/qthreads && \
34029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34031 "RANLIB=$${RANLIB}" \
34032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34033 dvi) \
34034 || exit 1
34036 @endif target-qthreads
34038 .PHONY: maybe-html-target-qthreads html-target-qthreads
34039 maybe-html-target-qthreads:
34040 @if target-qthreads
34041 maybe-html-target-qthreads: html-target-qthreads
34043 html-target-qthreads: \
34044 configure-target-qthreads
34045 @$(unstage)
34046 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34047 r=`${PWD_COMMAND}`; export r; \
34048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34049 $(NORMAL_TARGET_EXPORTS) \
34050 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34051 for flag in $(EXTRA_TARGET_FLAGS); do \
34052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34053 done; \
34054 (cd $(TARGET_SUBDIR)/qthreads && \
34055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34057 "RANLIB=$${RANLIB}" \
34058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34059 html) \
34060 || exit 1
34062 @endif target-qthreads
34064 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34065 maybe-TAGS-target-qthreads:
34066 @if target-qthreads
34067 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34069 TAGS-target-qthreads: \
34070 configure-target-qthreads
34071 @$(unstage)
34072 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34073 r=`${PWD_COMMAND}`; export r; \
34074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34075 $(NORMAL_TARGET_EXPORTS) \
34076 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34077 for flag in $(EXTRA_TARGET_FLAGS); do \
34078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34079 done; \
34080 (cd $(TARGET_SUBDIR)/qthreads && \
34081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34083 "RANLIB=$${RANLIB}" \
34084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34085 TAGS) \
34086 || exit 1
34088 @endif target-qthreads
34090 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34091 maybe-install-info-target-qthreads:
34092 @if target-qthreads
34093 maybe-install-info-target-qthreads: install-info-target-qthreads
34095 install-info-target-qthreads: \
34096 configure-target-qthreads \
34097 info-target-qthreads
34098 @$(unstage)
34099 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34100 r=`${PWD_COMMAND}`; export r; \
34101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34102 $(NORMAL_TARGET_EXPORTS) \
34103 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34104 for flag in $(EXTRA_TARGET_FLAGS); do \
34105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34106 done; \
34107 (cd $(TARGET_SUBDIR)/qthreads && \
34108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34110 "RANLIB=$${RANLIB}" \
34111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34112 install-info) \
34113 || exit 1
34115 @endif target-qthreads
34117 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34118 maybe-installcheck-target-qthreads:
34119 @if target-qthreads
34120 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34122 installcheck-target-qthreads: \
34123 configure-target-qthreads
34124 @$(unstage)
34125 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34126 r=`${PWD_COMMAND}`; export r; \
34127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34128 $(NORMAL_TARGET_EXPORTS) \
34129 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34130 for flag in $(EXTRA_TARGET_FLAGS); do \
34131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34132 done; \
34133 (cd $(TARGET_SUBDIR)/qthreads && \
34134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34136 "RANLIB=$${RANLIB}" \
34137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34138 installcheck) \
34139 || exit 1
34141 @endif target-qthreads
34143 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34144 maybe-mostlyclean-target-qthreads:
34145 @if target-qthreads
34146 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34148 mostlyclean-target-qthreads:
34149 @$(unstage)
34150 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34151 r=`${PWD_COMMAND}`; export r; \
34152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34153 $(NORMAL_TARGET_EXPORTS) \
34154 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34155 for flag in $(EXTRA_TARGET_FLAGS); do \
34156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34157 done; \
34158 (cd $(TARGET_SUBDIR)/qthreads && \
34159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34161 "RANLIB=$${RANLIB}" \
34162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34163 mostlyclean) \
34164 || exit 1
34166 @endif target-qthreads
34168 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34169 maybe-clean-target-qthreads:
34170 @if target-qthreads
34171 maybe-clean-target-qthreads: clean-target-qthreads
34173 clean-target-qthreads:
34174 @$(unstage)
34175 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34176 r=`${PWD_COMMAND}`; export r; \
34177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34178 $(NORMAL_TARGET_EXPORTS) \
34179 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34180 for flag in $(EXTRA_TARGET_FLAGS); do \
34181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34182 done; \
34183 (cd $(TARGET_SUBDIR)/qthreads && \
34184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34186 "RANLIB=$${RANLIB}" \
34187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34188 clean) \
34189 || exit 1
34191 @endif target-qthreads
34193 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34194 maybe-distclean-target-qthreads:
34195 @if target-qthreads
34196 maybe-distclean-target-qthreads: distclean-target-qthreads
34198 distclean-target-qthreads:
34199 @$(unstage)
34200 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34201 r=`${PWD_COMMAND}`; export r; \
34202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34203 $(NORMAL_TARGET_EXPORTS) \
34204 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 distclean) \
34214 || exit 1
34216 @endif target-qthreads
34218 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34219 maybe-maintainer-clean-target-qthreads:
34220 @if target-qthreads
34221 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34223 maintainer-clean-target-qthreads:
34224 @$(unstage)
34225 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34226 r=`${PWD_COMMAND}`; export r; \
34227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34228 $(NORMAL_TARGET_EXPORTS) \
34229 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34230 for flag in $(EXTRA_TARGET_FLAGS); do \
34231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34232 done; \
34233 (cd $(TARGET_SUBDIR)/qthreads && \
34234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34236 "RANLIB=$${RANLIB}" \
34237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34238 maintainer-clean) \
34239 || exit 1
34241 @endif target-qthreads
34245 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34246 @if target-rda
34247 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
34248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34249 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
34250 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
34251 @endif target-rda
34255 .PHONY: configure-target-rda maybe-configure-target-rda
34256 maybe-configure-target-rda:
34257 @if target-rda
34258 maybe-configure-target-rda: configure-target-rda
34259 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
34260 @$(unstage)
34261 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34262 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34263 r=`${PWD_COMMAND}`; export r; \
34264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34265 $(NORMAL_TARGET_EXPORTS) \
34266 echo Configuring in $(TARGET_SUBDIR)/rda; \
34267 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34268 case $(srcdir) in \
34269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34270 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34272 esac; \
34273 srcdiroption="--srcdir=$${topdir}/rda"; \
34274 libsrcdir="$$s/rda"; \
34275 rm -f no-such-file || : ; \
34276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34277 $(TARGET_CONFIGARGS) $${srcdiroption} \
34278 || exit 1
34279 @endif target-rda
34285 .PHONY: all-target-rda maybe-all-target-rda
34286 maybe-all-target-rda:
34287 @if target-rda
34288 TARGET-target-rda=all
34289 maybe-all-target-rda: all-target-rda
34290 all-target-rda: configure-target-rda
34291 @$(unstage)
34292 @r=`${PWD_COMMAND}`; export r; \
34293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34294 $(NORMAL_TARGET_EXPORTS) \
34295 (cd $(TARGET_SUBDIR)/rda && \
34296 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34297 @endif target-rda
34303 .PHONY: check-target-rda maybe-check-target-rda
34304 maybe-check-target-rda:
34305 @if target-rda
34306 maybe-check-target-rda: check-target-rda
34308 check-target-rda:
34309 @$(unstage)
34310 @r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(NORMAL_TARGET_EXPORTS) \
34313 (cd $(TARGET_SUBDIR)/rda && \
34314 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34316 @endif target-rda
34318 .PHONY: install-target-rda maybe-install-target-rda
34319 maybe-install-target-rda:
34320 @if target-rda
34321 maybe-install-target-rda: install-target-rda
34323 install-target-rda: installdirs
34324 @$(unstage)
34325 @r=`${PWD_COMMAND}`; export r; \
34326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34327 $(NORMAL_TARGET_EXPORTS) \
34328 (cd $(TARGET_SUBDIR)/rda && \
34329 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34331 @endif target-rda
34333 # Other targets (info, dvi, etc.)
34335 .PHONY: maybe-info-target-rda info-target-rda
34336 maybe-info-target-rda:
34337 @if target-rda
34338 maybe-info-target-rda: info-target-rda
34340 info-target-rda: \
34341 configure-target-rda
34342 @$(unstage)
34343 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34344 r=`${PWD_COMMAND}`; export r; \
34345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34346 $(NORMAL_TARGET_EXPORTS) \
34347 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34348 for flag in $(EXTRA_TARGET_FLAGS); do \
34349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34350 done; \
34351 (cd $(TARGET_SUBDIR)/rda && \
34352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34354 "RANLIB=$${RANLIB}" \
34355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34356 info) \
34357 || exit 1
34359 @endif target-rda
34361 .PHONY: maybe-dvi-target-rda dvi-target-rda
34362 maybe-dvi-target-rda:
34363 @if target-rda
34364 maybe-dvi-target-rda: dvi-target-rda
34366 dvi-target-rda: \
34367 configure-target-rda
34368 @$(unstage)
34369 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34370 r=`${PWD_COMMAND}`; export r; \
34371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34372 $(NORMAL_TARGET_EXPORTS) \
34373 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34374 for flag in $(EXTRA_TARGET_FLAGS); do \
34375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34376 done; \
34377 (cd $(TARGET_SUBDIR)/rda && \
34378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34380 "RANLIB=$${RANLIB}" \
34381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34382 dvi) \
34383 || exit 1
34385 @endif target-rda
34387 .PHONY: maybe-html-target-rda html-target-rda
34388 maybe-html-target-rda:
34389 @if target-rda
34390 maybe-html-target-rda: html-target-rda
34392 html-target-rda: \
34393 configure-target-rda
34394 @$(unstage)
34395 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34396 r=`${PWD_COMMAND}`; export r; \
34397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34398 $(NORMAL_TARGET_EXPORTS) \
34399 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
34400 for flag in $(EXTRA_TARGET_FLAGS); do \
34401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34402 done; \
34403 (cd $(TARGET_SUBDIR)/rda && \
34404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34406 "RANLIB=$${RANLIB}" \
34407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34408 html) \
34409 || exit 1
34411 @endif target-rda
34413 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
34414 maybe-TAGS-target-rda:
34415 @if target-rda
34416 maybe-TAGS-target-rda: TAGS-target-rda
34418 TAGS-target-rda: \
34419 configure-target-rda
34420 @$(unstage)
34421 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34422 r=`${PWD_COMMAND}`; export r; \
34423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34424 $(NORMAL_TARGET_EXPORTS) \
34425 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
34426 for flag in $(EXTRA_TARGET_FLAGS); do \
34427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34428 done; \
34429 (cd $(TARGET_SUBDIR)/rda && \
34430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34432 "RANLIB=$${RANLIB}" \
34433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34434 TAGS) \
34435 || exit 1
34437 @endif target-rda
34439 .PHONY: maybe-install-info-target-rda install-info-target-rda
34440 maybe-install-info-target-rda:
34441 @if target-rda
34442 maybe-install-info-target-rda: install-info-target-rda
34444 install-info-target-rda: \
34445 configure-target-rda \
34446 info-target-rda
34447 @$(unstage)
34448 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34449 r=`${PWD_COMMAND}`; export r; \
34450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34451 $(NORMAL_TARGET_EXPORTS) \
34452 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
34453 for flag in $(EXTRA_TARGET_FLAGS); do \
34454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34455 done; \
34456 (cd $(TARGET_SUBDIR)/rda && \
34457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34459 "RANLIB=$${RANLIB}" \
34460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34461 install-info) \
34462 || exit 1
34464 @endif target-rda
34466 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
34467 maybe-installcheck-target-rda:
34468 @if target-rda
34469 maybe-installcheck-target-rda: installcheck-target-rda
34471 installcheck-target-rda: \
34472 configure-target-rda
34473 @$(unstage)
34474 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34475 r=`${PWD_COMMAND}`; export r; \
34476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34477 $(NORMAL_TARGET_EXPORTS) \
34478 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
34479 for flag in $(EXTRA_TARGET_FLAGS); do \
34480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34481 done; \
34482 (cd $(TARGET_SUBDIR)/rda && \
34483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34485 "RANLIB=$${RANLIB}" \
34486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34487 installcheck) \
34488 || exit 1
34490 @endif target-rda
34492 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
34493 maybe-mostlyclean-target-rda:
34494 @if target-rda
34495 maybe-mostlyclean-target-rda: mostlyclean-target-rda
34497 mostlyclean-target-rda:
34498 @$(unstage)
34499 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34500 r=`${PWD_COMMAND}`; export r; \
34501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34502 $(NORMAL_TARGET_EXPORTS) \
34503 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
34504 for flag in $(EXTRA_TARGET_FLAGS); do \
34505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34506 done; \
34507 (cd $(TARGET_SUBDIR)/rda && \
34508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34510 "RANLIB=$${RANLIB}" \
34511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34512 mostlyclean) \
34513 || exit 1
34515 @endif target-rda
34517 .PHONY: maybe-clean-target-rda clean-target-rda
34518 maybe-clean-target-rda:
34519 @if target-rda
34520 maybe-clean-target-rda: clean-target-rda
34522 clean-target-rda:
34523 @$(unstage)
34524 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34525 r=`${PWD_COMMAND}`; export r; \
34526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34527 $(NORMAL_TARGET_EXPORTS) \
34528 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
34529 for flag in $(EXTRA_TARGET_FLAGS); do \
34530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34531 done; \
34532 (cd $(TARGET_SUBDIR)/rda && \
34533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34535 "RANLIB=$${RANLIB}" \
34536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34537 clean) \
34538 || exit 1
34540 @endif target-rda
34542 .PHONY: maybe-distclean-target-rda distclean-target-rda
34543 maybe-distclean-target-rda:
34544 @if target-rda
34545 maybe-distclean-target-rda: distclean-target-rda
34547 distclean-target-rda:
34548 @$(unstage)
34549 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34550 r=`${PWD_COMMAND}`; export r; \
34551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34552 $(NORMAL_TARGET_EXPORTS) \
34553 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 distclean) \
34563 || exit 1
34565 @endif target-rda
34567 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
34568 maybe-maintainer-clean-target-rda:
34569 @if target-rda
34570 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
34572 maintainer-clean-target-rda:
34573 @$(unstage)
34574 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34575 r=`${PWD_COMMAND}`; export r; \
34576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34577 $(NORMAL_TARGET_EXPORTS) \
34578 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
34579 for flag in $(EXTRA_TARGET_FLAGS); do \
34580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34581 done; \
34582 (cd $(TARGET_SUBDIR)/rda && \
34583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34585 "RANLIB=$${RANLIB}" \
34586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34587 maintainer-clean) \
34588 || exit 1
34590 @endif target-rda
34594 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34595 @if target-libada
34596 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
34597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
34598 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
34599 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
34600 @endif target-libada
34604 .PHONY: configure-target-libada maybe-configure-target-libada
34605 maybe-configure-target-libada:
34606 @if target-libada
34607 maybe-configure-target-libada: configure-target-libada
34608 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
34609 @$(unstage)
34610 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
34611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(NORMAL_TARGET_EXPORTS) \
34615 echo Configuring in $(TARGET_SUBDIR)/libada; \
34616 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
34617 case $(srcdir) in \
34618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34619 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
34620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34621 esac; \
34622 srcdiroption="--srcdir=$${topdir}/libada"; \
34623 libsrcdir="$$s/libada"; \
34624 rm -f no-such-file || : ; \
34625 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34626 $(TARGET_CONFIGARGS) $${srcdiroption} \
34627 || exit 1
34628 @endif target-libada
34634 .PHONY: all-target-libada maybe-all-target-libada
34635 maybe-all-target-libada:
34636 @if target-libada
34637 TARGET-target-libada=all
34638 maybe-all-target-libada: all-target-libada
34639 all-target-libada: configure-target-libada
34640 @$(unstage)
34641 @r=`${PWD_COMMAND}`; export r; \
34642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34643 $(NORMAL_TARGET_EXPORTS) \
34644 (cd $(TARGET_SUBDIR)/libada && \
34645 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
34646 @endif target-libada
34652 .PHONY: check-target-libada maybe-check-target-libada
34653 maybe-check-target-libada:
34654 @if target-libada
34655 maybe-check-target-libada: check-target-libada
34657 check-target-libada:
34658 @$(unstage)
34659 @r=`${PWD_COMMAND}`; export r; \
34660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34661 $(NORMAL_TARGET_EXPORTS) \
34662 (cd $(TARGET_SUBDIR)/libada && \
34663 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34665 @endif target-libada
34667 .PHONY: install-target-libada maybe-install-target-libada
34668 maybe-install-target-libada:
34669 @if target-libada
34670 maybe-install-target-libada: install-target-libada
34672 install-target-libada: installdirs
34673 @$(unstage)
34674 @r=`${PWD_COMMAND}`; export r; \
34675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34676 $(NORMAL_TARGET_EXPORTS) \
34677 (cd $(TARGET_SUBDIR)/libada && \
34678 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34680 @endif target-libada
34682 # Other targets (info, dvi, etc.)
34684 .PHONY: maybe-info-target-libada info-target-libada
34685 maybe-info-target-libada:
34686 @if target-libada
34687 maybe-info-target-libada: info-target-libada
34689 info-target-libada: \
34690 configure-target-libada
34691 @$(unstage)
34692 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34693 r=`${PWD_COMMAND}`; export r; \
34694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34695 $(NORMAL_TARGET_EXPORTS) \
34696 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
34697 for flag in $(EXTRA_TARGET_FLAGS); do \
34698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34699 done; \
34700 (cd $(TARGET_SUBDIR)/libada && \
34701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34703 "RANLIB=$${RANLIB}" \
34704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34705 info) \
34706 || exit 1
34708 @endif target-libada
34710 .PHONY: maybe-dvi-target-libada dvi-target-libada
34711 maybe-dvi-target-libada:
34712 @if target-libada
34713 maybe-dvi-target-libada: dvi-target-libada
34715 dvi-target-libada: \
34716 configure-target-libada
34717 @$(unstage)
34718 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34719 r=`${PWD_COMMAND}`; export r; \
34720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34721 $(NORMAL_TARGET_EXPORTS) \
34722 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
34723 for flag in $(EXTRA_TARGET_FLAGS); do \
34724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34725 done; \
34726 (cd $(TARGET_SUBDIR)/libada && \
34727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34729 "RANLIB=$${RANLIB}" \
34730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34731 dvi) \
34732 || exit 1
34734 @endif target-libada
34736 .PHONY: maybe-html-target-libada html-target-libada
34737 maybe-html-target-libada:
34738 @if target-libada
34739 maybe-html-target-libada: html-target-libada
34741 html-target-libada: \
34742 configure-target-libada
34743 @$(unstage)
34744 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34745 r=`${PWD_COMMAND}`; export r; \
34746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34747 $(NORMAL_TARGET_EXPORTS) \
34748 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
34749 for flag in $(EXTRA_TARGET_FLAGS); do \
34750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34751 done; \
34752 (cd $(TARGET_SUBDIR)/libada && \
34753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34755 "RANLIB=$${RANLIB}" \
34756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34757 html) \
34758 || exit 1
34760 @endif target-libada
34762 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
34763 maybe-TAGS-target-libada:
34764 @if target-libada
34765 maybe-TAGS-target-libada: TAGS-target-libada
34767 TAGS-target-libada: \
34768 configure-target-libada
34769 @$(unstage)
34770 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34771 r=`${PWD_COMMAND}`; export r; \
34772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34773 $(NORMAL_TARGET_EXPORTS) \
34774 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
34775 for flag in $(EXTRA_TARGET_FLAGS); do \
34776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34777 done; \
34778 (cd $(TARGET_SUBDIR)/libada && \
34779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34781 "RANLIB=$${RANLIB}" \
34782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34783 TAGS) \
34784 || exit 1
34786 @endif target-libada
34788 .PHONY: maybe-install-info-target-libada install-info-target-libada
34789 maybe-install-info-target-libada:
34790 @if target-libada
34791 maybe-install-info-target-libada: install-info-target-libada
34793 install-info-target-libada: \
34794 configure-target-libada \
34795 info-target-libada
34796 @$(unstage)
34797 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34798 r=`${PWD_COMMAND}`; export r; \
34799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34800 $(NORMAL_TARGET_EXPORTS) \
34801 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
34802 for flag in $(EXTRA_TARGET_FLAGS); do \
34803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34804 done; \
34805 (cd $(TARGET_SUBDIR)/libada && \
34806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34808 "RANLIB=$${RANLIB}" \
34809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34810 install-info) \
34811 || exit 1
34813 @endif target-libada
34815 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
34816 maybe-installcheck-target-libada:
34817 @if target-libada
34818 maybe-installcheck-target-libada: installcheck-target-libada
34820 installcheck-target-libada: \
34821 configure-target-libada
34822 @$(unstage)
34823 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34824 r=`${PWD_COMMAND}`; export r; \
34825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34826 $(NORMAL_TARGET_EXPORTS) \
34827 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
34828 for flag in $(EXTRA_TARGET_FLAGS); do \
34829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34830 done; \
34831 (cd $(TARGET_SUBDIR)/libada && \
34832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34834 "RANLIB=$${RANLIB}" \
34835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34836 installcheck) \
34837 || exit 1
34839 @endif target-libada
34841 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
34842 maybe-mostlyclean-target-libada:
34843 @if target-libada
34844 maybe-mostlyclean-target-libada: mostlyclean-target-libada
34846 mostlyclean-target-libada:
34847 @$(unstage)
34848 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34849 r=`${PWD_COMMAND}`; export r; \
34850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34851 $(NORMAL_TARGET_EXPORTS) \
34852 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
34853 for flag in $(EXTRA_TARGET_FLAGS); do \
34854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34855 done; \
34856 (cd $(TARGET_SUBDIR)/libada && \
34857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34859 "RANLIB=$${RANLIB}" \
34860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34861 mostlyclean) \
34862 || exit 1
34864 @endif target-libada
34866 .PHONY: maybe-clean-target-libada clean-target-libada
34867 maybe-clean-target-libada:
34868 @if target-libada
34869 maybe-clean-target-libada: clean-target-libada
34871 clean-target-libada:
34872 @$(unstage)
34873 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34874 r=`${PWD_COMMAND}`; export r; \
34875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34876 $(NORMAL_TARGET_EXPORTS) \
34877 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
34878 for flag in $(EXTRA_TARGET_FLAGS); do \
34879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34880 done; \
34881 (cd $(TARGET_SUBDIR)/libada && \
34882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34884 "RANLIB=$${RANLIB}" \
34885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34886 clean) \
34887 || exit 1
34889 @endif target-libada
34891 .PHONY: maybe-distclean-target-libada distclean-target-libada
34892 maybe-distclean-target-libada:
34893 @if target-libada
34894 maybe-distclean-target-libada: distclean-target-libada
34896 distclean-target-libada:
34897 @$(unstage)
34898 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34899 r=`${PWD_COMMAND}`; export r; \
34900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34901 $(NORMAL_TARGET_EXPORTS) \
34902 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 distclean) \
34912 || exit 1
34914 @endif target-libada
34916 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
34917 maybe-maintainer-clean-target-libada:
34918 @if target-libada
34919 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
34921 maintainer-clean-target-libada:
34922 @$(unstage)
34923 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34924 r=`${PWD_COMMAND}`; export r; \
34925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34926 $(NORMAL_TARGET_EXPORTS) \
34927 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
34928 for flag in $(EXTRA_TARGET_FLAGS); do \
34929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34930 done; \
34931 (cd $(TARGET_SUBDIR)/libada && \
34932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34934 "RANLIB=$${RANLIB}" \
34935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34936 maintainer-clean) \
34937 || exit 1
34939 @endif target-libada
34943 # ----------
34944 # GCC module
34945 # ----------
34947 @if gcc-no-bootstrap
34948 # GCC has some more recursive targets, which trigger the old
34949 # (but still current, until the toplevel bootstrap project
34950 # is finished) compiler bootstrapping rules.
34952 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
34953 .PHONY: $(GCC_STRAP_TARGETS)
34954 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
34955 @r=`${PWD_COMMAND}`; export r; \
34956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34957 $(HOST_EXPORTS) \
34958 echo "Bootstrapping the compiler"; \
34959 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
34960 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
34961 @r=`${PWD_COMMAND}`; export r; \
34962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34963 case "$@" in \
34964 *bootstrap4-lean ) \
34965 msg="Comparing stage3 and stage4 of the compiler"; \
34966 compare=compare3-lean ;; \
34967 *bootstrap4 ) \
34968 msg="Comparing stage3 and stage4 of the compiler"; \
34969 compare=compare3 ;; \
34970 *-lean ) \
34971 msg="Comparing stage2 and stage3 of the compiler"; \
34972 compare=compare-lean ;; \
34973 * ) \
34974 msg="Comparing stage2 and stage3 of the compiler"; \
34975 compare=compare ;; \
34976 esac; \
34977 $(HOST_EXPORTS) \
34978 echo "$$msg"; \
34979 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
34980 @r=`${PWD_COMMAND}`; export r; \
34981 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34982 echo "Building runtime libraries"; \
34983 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
34985 profiledbootstrap: all-prebootstrap configure-gcc
34986 @r=`${PWD_COMMAND}`; export r; \
34987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34988 $(HOST_EXPORTS) \
34989 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
34990 echo "Bootstrapping training compiler"; \
34991 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
34992 @r=`${PWD_COMMAND}`; export r; \
34993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34994 $(HOST_EXPORTS) \
34995 echo "Building feedback based compiler"; \
34996 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
34997 @r=`${PWD_COMMAND}`; export r; \
34998 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34999 echo "Building runtime libraries"; \
35000 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35002 .PHONY: cross
35003 cross: all-build all-gas all-ld
35004 @r=`${PWD_COMMAND}`; export r; \
35005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35006 $(HOST_EXPORTS) \
35007 echo "Building the C and C++ compiler"; \
35008 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35009 @r=`${PWD_COMMAND}`; export r; \
35010 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35011 echo "Building runtime libraries"; \
35012 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35013 @endif gcc-no-bootstrap
35015 @if gcc
35016 .PHONY: check-gcc-c++
35017 check-gcc-c++:
35018 @if [ -f ./gcc/Makefile ] ; then \
35019 r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35021 $(HOST_EXPORTS) \
35022 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35023 else \
35024 true; \
35027 .PHONY: check-c++
35028 check-c++: check-target-libstdc++-v3 check-gcc-c++
35030 # Install the gcc headers files, but not the fixed include files,
35031 # which Cygnus is not allowed to distribute. This rule is very
35032 # dependent on the workings of the gcc Makefile.in.
35033 .PHONY: gcc-no-fixedincludes
35034 gcc-no-fixedincludes:
35035 @if [ -f ./gcc/Makefile ]; then \
35036 rm -rf gcc/tmp-include; \
35037 mv gcc/include gcc/tmp-include 2>/dev/null; \
35038 mkdir gcc/include; \
35039 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35040 touch gcc/stmp-fixinc gcc/include/fixed; \
35041 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35042 r=`${PWD_COMMAND}`; export r; \
35043 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35044 $(HOST_EXPORTS) \
35045 (cd ./gcc && \
35046 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35047 rm -rf gcc/include; \
35048 mv gcc/tmp-include gcc/include 2>/dev/null; \
35049 else true; fi
35050 @endif gcc
35052 # ---------------------
35053 # GCC bootstrap support
35054 # ---------------------
35056 # We track the current stage (the one in 'gcc') in the stage_current file.
35057 # stage_last instead tracks the stage that was built last. These targets
35058 # are dummy when toplevel bootstrap is not active.
35060 # While making host and target tools, symlinks to the final stage must be
35061 # there, so $(MAKE) $(unstage) should be run at various points. To avoid
35062 # excessive recursive invocations of make, we "inline" them using a variable.
35064 unstage = :
35065 stage = :
35067 @if gcc-bootstrap
35068 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35069 stage = $(MAKE) `cat stage_current`-end
35070 @endif gcc-bootstrap
35072 .PHONY: unstage stage
35073 unstage:
35074 @$(unstage)
35075 stage:
35076 @$(stage)
35078 # We name the build directories for the various stages "stage1-gcc",
35079 # "stage2-gcc","stage3-gcc", etc.
35081 # Since the 'compare' process will fail (on debugging information) if any
35082 # directory names are different, we need to link the gcc directory for
35083 # the previous stage to a constant name ('gcc-prev'), and to make the name of
35084 # the build directories constant as well. For the latter, we use naked names
35085 # like 'gcc', because the scripts in that directory assume it. We use
35086 # mv on platforms where symlinks to directories do not work or are not
35087 # reliable.
35089 # 'touch' doesn't work right on some platforms.
35090 STAMP = echo timestamp >
35092 # Only build the C compiler for stage1, because that is the only one that
35093 # we can guarantee will build with the native compiler, and also it is the
35094 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35095 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35096 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35098 STAGE1_CFLAGS=@stage1_cflags@
35099 STAGE1_LANGUAGES=@stage1_languages@
35101 # We only want to compare .o files, so set this!
35102 objext = .o
35104 # Flags to pass to stage2 and later makes.
35105 POSTSTAGE1_FLAGS_TO_PASS = \
35106 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35107 STAGE_PREFIX=$$r/prev-gcc/ \
35108 CFLAGS="$(BOOT_CFLAGS)" \
35109 ADAC="\$$(CC)"
35111 # For stage 1:
35112 # * We force-disable intermodule optimizations, even if
35113 # --enable-intermodule was passed, since the installed compiler probably
35114 # can't handle them. Luckily, autoconf always respects
35115 # the last argument when conflicting --enable arguments are passed.
35116 # * Likewise, we force-disable coverage flags, since the installed compiler
35117 # probably has never heard of them.
35118 # * We build only C (and possibly Ada).
35121 .PHONY: stage1-start stage1-end
35123 stage1-start::
35124 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35125 echo stage1 > stage_current ; \
35126 echo stage1 > stage_last; \
35127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35128 @if bfd
35129 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35130 mkdir stage1-bfd; \
35131 set stage1-bfd bfd ; \
35132 @CREATE_LINK_TO_DIR@
35133 @endif bfd
35134 @if opcodes
35135 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35136 mkdir stage1-opcodes; \
35137 set stage1-opcodes opcodes ; \
35138 @CREATE_LINK_TO_DIR@
35139 @endif opcodes
35140 @if binutils
35141 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35142 mkdir stage1-binutils; \
35143 set stage1-binutils binutils ; \
35144 @CREATE_LINK_TO_DIR@
35145 @endif binutils
35146 @if gas
35147 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35148 mkdir stage1-gas; \
35149 set stage1-gas gas ; \
35150 @CREATE_LINK_TO_DIR@
35151 @endif gas
35152 @if gcc
35153 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35154 mkdir stage1-gcc; \
35155 set stage1-gcc gcc ; \
35156 @CREATE_LINK_TO_DIR@
35157 @endif gcc
35158 @if intl
35159 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35160 mkdir stage1-intl; \
35161 set stage1-intl intl ; \
35162 @CREATE_LINK_TO_DIR@
35163 @endif intl
35164 @if ld
35165 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35166 mkdir stage1-ld; \
35167 set stage1-ld ld ; \
35168 @CREATE_LINK_TO_DIR@
35169 @endif ld
35170 @if libcpp
35171 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35172 mkdir stage1-libcpp; \
35173 set stage1-libcpp libcpp ; \
35174 @CREATE_LINK_TO_DIR@
35175 @endif libcpp
35176 @if libiberty
35177 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35178 mkdir stage1-libiberty; \
35179 set stage1-libiberty libiberty ; \
35180 @CREATE_LINK_TO_DIR@
35181 @endif libiberty
35182 @if zlib
35183 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35184 mkdir stage1-zlib; \
35185 set stage1-zlib zlib ; \
35186 @CREATE_LINK_TO_DIR@
35187 @endif zlib
35189 stage1-end::
35190 @rm -f stage_current
35191 @if bfd
35192 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35193 @UNDO_LINK_TO_DIR@
35194 @endif bfd
35195 @if opcodes
35196 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35197 @UNDO_LINK_TO_DIR@
35198 @endif opcodes
35199 @if binutils
35200 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35201 @UNDO_LINK_TO_DIR@
35202 @endif binutils
35203 @if gas
35204 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
35205 @UNDO_LINK_TO_DIR@
35206 @endif gas
35207 @if gcc
35208 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35209 @UNDO_LINK_TO_DIR@
35210 @endif gcc
35211 @if intl
35212 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
35213 @UNDO_LINK_TO_DIR@
35214 @endif intl
35215 @if ld
35216 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
35217 @UNDO_LINK_TO_DIR@
35218 @endif ld
35219 @if libcpp
35220 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35221 @UNDO_LINK_TO_DIR@
35222 @endif libcpp
35223 @if libiberty
35224 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35225 @UNDO_LINK_TO_DIR@
35226 @endif libiberty
35227 @if zlib
35228 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35229 @UNDO_LINK_TO_DIR@
35230 @endif zlib
35232 # Bubble a bugfix through all the stages up to stage 1. They
35233 # are remade, but not reconfigured. The next stage (if any) will not
35234 # be reconfigured as well.
35235 .PHONY: stage1-bubble
35236 stage1-bubble::
35237 @if test -f stage1-lean ; then \
35238 echo Skipping rebuild of stage1 ; \
35239 else \
35240 $(MAKE) stage1-start; \
35241 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35244 .PHONY: all-stage1 clean-stage1
35245 do-clean: clean-stage1
35247 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35248 # only possibility, but now it conflicts with no-bootstrap rules
35249 @if gcc-bootstrap
35254 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35256 .PHONY: distclean-stage1
35257 distclean-stage1::
35258 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35259 rm -rf stage1-*
35262 @endif gcc-bootstrap
35265 .PHONY: stage2-start stage2-end
35267 stage2-start::
35268 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35269 echo stage2 > stage_current ; \
35270 echo stage2 > stage_last; \
35271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35272 @if bfd
35273 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35274 mkdir stage2-bfd; \
35275 set stage2-bfd bfd ; \
35276 @CREATE_LINK_TO_DIR@ ; \
35277 set stage1-bfd prev-bfd ; \
35278 @CREATE_LINK_TO_DIR@
35279 @endif bfd
35280 @if opcodes
35281 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35282 mkdir stage2-opcodes; \
35283 set stage2-opcodes opcodes ; \
35284 @CREATE_LINK_TO_DIR@ ; \
35285 set stage1-opcodes prev-opcodes ; \
35286 @CREATE_LINK_TO_DIR@
35287 @endif opcodes
35288 @if binutils
35289 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35290 mkdir stage2-binutils; \
35291 set stage2-binutils binutils ; \
35292 @CREATE_LINK_TO_DIR@ ; \
35293 set stage1-binutils prev-binutils ; \
35294 @CREATE_LINK_TO_DIR@
35295 @endif binutils
35296 @if gas
35297 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35298 mkdir stage2-gas; \
35299 set stage2-gas gas ; \
35300 @CREATE_LINK_TO_DIR@ ; \
35301 set stage1-gas prev-gas ; \
35302 @CREATE_LINK_TO_DIR@
35303 @endif gas
35304 @if gcc
35305 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35306 mkdir stage2-gcc; \
35307 set stage2-gcc gcc ; \
35308 @CREATE_LINK_TO_DIR@ ; \
35309 set stage1-gcc prev-gcc ; \
35310 @CREATE_LINK_TO_DIR@
35311 @endif gcc
35312 @if intl
35313 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35314 mkdir stage2-intl; \
35315 set stage2-intl intl ; \
35316 @CREATE_LINK_TO_DIR@ ; \
35317 set stage1-intl prev-intl ; \
35318 @CREATE_LINK_TO_DIR@
35319 @endif intl
35320 @if ld
35321 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35322 mkdir stage2-ld; \
35323 set stage2-ld ld ; \
35324 @CREATE_LINK_TO_DIR@ ; \
35325 set stage1-ld prev-ld ; \
35326 @CREATE_LINK_TO_DIR@
35327 @endif ld
35328 @if libcpp
35329 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35330 mkdir stage2-libcpp; \
35331 set stage2-libcpp libcpp ; \
35332 @CREATE_LINK_TO_DIR@ ; \
35333 set stage1-libcpp prev-libcpp ; \
35334 @CREATE_LINK_TO_DIR@
35335 @endif libcpp
35336 @if libiberty
35337 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
35338 mkdir stage2-libiberty; \
35339 set stage2-libiberty libiberty ; \
35340 @CREATE_LINK_TO_DIR@ ; \
35341 set stage1-libiberty prev-libiberty ; \
35342 @CREATE_LINK_TO_DIR@
35343 @endif libiberty
35344 @if zlib
35345 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
35346 mkdir stage2-zlib; \
35347 set stage2-zlib zlib ; \
35348 @CREATE_LINK_TO_DIR@ ; \
35349 set stage1-zlib prev-zlib ; \
35350 @CREATE_LINK_TO_DIR@
35351 @endif zlib
35353 stage2-end::
35354 @rm -f stage_current
35355 @if bfd
35356 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
35357 @UNDO_LINK_TO_DIR@ ; \
35358 set prev-bfd stage1-bfd ; \
35359 @UNDO_LINK_TO_DIR@
35360 @endif bfd
35361 @if opcodes
35362 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
35363 @UNDO_LINK_TO_DIR@ ; \
35364 set prev-opcodes stage1-opcodes ; \
35365 @UNDO_LINK_TO_DIR@
35366 @endif opcodes
35367 @if binutils
35368 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
35369 @UNDO_LINK_TO_DIR@ ; \
35370 set prev-binutils stage1-binutils ; \
35371 @UNDO_LINK_TO_DIR@
35372 @endif binutils
35373 @if gas
35374 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
35375 @UNDO_LINK_TO_DIR@ ; \
35376 set prev-gas stage1-gas ; \
35377 @UNDO_LINK_TO_DIR@
35378 @endif gas
35379 @if gcc
35380 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
35381 @UNDO_LINK_TO_DIR@ ; \
35382 set prev-gcc stage1-gcc ; \
35383 @UNDO_LINK_TO_DIR@
35384 @endif gcc
35385 @if intl
35386 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
35387 @UNDO_LINK_TO_DIR@ ; \
35388 set prev-intl stage1-intl ; \
35389 @UNDO_LINK_TO_DIR@
35390 @endif intl
35391 @if ld
35392 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
35393 @UNDO_LINK_TO_DIR@ ; \
35394 set prev-ld stage1-ld ; \
35395 @UNDO_LINK_TO_DIR@
35396 @endif ld
35397 @if libcpp
35398 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
35399 @UNDO_LINK_TO_DIR@ ; \
35400 set prev-libcpp stage1-libcpp ; \
35401 @UNDO_LINK_TO_DIR@
35402 @endif libcpp
35403 @if libiberty
35404 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
35405 @UNDO_LINK_TO_DIR@ ; \
35406 set prev-libiberty stage1-libiberty ; \
35407 @UNDO_LINK_TO_DIR@
35408 @endif libiberty
35409 @if zlib
35410 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
35411 @UNDO_LINK_TO_DIR@ ; \
35412 set prev-zlib stage1-zlib ; \
35413 @UNDO_LINK_TO_DIR@
35414 @endif zlib
35416 # Bubble a bugfix through all the stages up to stage 2. They
35417 # are remade, but not reconfigured. The next stage (if any) will not
35418 # be reconfigured as well.
35419 .PHONY: stage2-bubble
35420 stage2-bubble:: stage1-bubble
35421 @if test -f stage2-lean || test -f stage1-lean ; then \
35422 echo Skipping rebuild of stage2 ; \
35423 else \
35424 $(MAKE) stage2-start; \
35425 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
35428 .PHONY: all-stage2 clean-stage2
35429 do-clean: clean-stage2
35431 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35432 # only possibility, but now it conflicts with no-bootstrap rules
35433 @if gcc-bootstrap
35437 .PHONY: bootstrap2
35438 bootstrap2: stage2-bubble
35439 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35442 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35443 distclean-stage1:: distclean-stage2
35444 .PHONY: distclean-stage2
35445 distclean-stage2::
35446 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35447 rm -rf stage2-*
35450 @endif gcc-bootstrap
35453 .PHONY: stage3-start stage3-end
35455 stage3-start::
35456 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35457 echo stage3 > stage_current ; \
35458 echo stage3 > stage_last; \
35459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35460 @if bfd
35461 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
35462 mkdir stage3-bfd; \
35463 set stage3-bfd bfd ; \
35464 @CREATE_LINK_TO_DIR@ ; \
35465 set stage2-bfd prev-bfd ; \
35466 @CREATE_LINK_TO_DIR@
35467 @endif bfd
35468 @if opcodes
35469 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
35470 mkdir stage3-opcodes; \
35471 set stage3-opcodes opcodes ; \
35472 @CREATE_LINK_TO_DIR@ ; \
35473 set stage2-opcodes prev-opcodes ; \
35474 @CREATE_LINK_TO_DIR@
35475 @endif opcodes
35476 @if binutils
35477 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
35478 mkdir stage3-binutils; \
35479 set stage3-binutils binutils ; \
35480 @CREATE_LINK_TO_DIR@ ; \
35481 set stage2-binutils prev-binutils ; \
35482 @CREATE_LINK_TO_DIR@
35483 @endif binutils
35484 @if gas
35485 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
35486 mkdir stage3-gas; \
35487 set stage3-gas gas ; \
35488 @CREATE_LINK_TO_DIR@ ; \
35489 set stage2-gas prev-gas ; \
35490 @CREATE_LINK_TO_DIR@
35491 @endif gas
35492 @if gcc
35493 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
35494 mkdir stage3-gcc; \
35495 set stage3-gcc gcc ; \
35496 @CREATE_LINK_TO_DIR@ ; \
35497 set stage2-gcc prev-gcc ; \
35498 @CREATE_LINK_TO_DIR@
35499 @endif gcc
35500 @if intl
35501 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
35502 mkdir stage3-intl; \
35503 set stage3-intl intl ; \
35504 @CREATE_LINK_TO_DIR@ ; \
35505 set stage2-intl prev-intl ; \
35506 @CREATE_LINK_TO_DIR@
35507 @endif intl
35508 @if ld
35509 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
35510 mkdir stage3-ld; \
35511 set stage3-ld ld ; \
35512 @CREATE_LINK_TO_DIR@ ; \
35513 set stage2-ld prev-ld ; \
35514 @CREATE_LINK_TO_DIR@
35515 @endif ld
35516 @if libcpp
35517 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
35518 mkdir stage3-libcpp; \
35519 set stage3-libcpp libcpp ; \
35520 @CREATE_LINK_TO_DIR@ ; \
35521 set stage2-libcpp prev-libcpp ; \
35522 @CREATE_LINK_TO_DIR@
35523 @endif libcpp
35524 @if libiberty
35525 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
35526 mkdir stage3-libiberty; \
35527 set stage3-libiberty libiberty ; \
35528 @CREATE_LINK_TO_DIR@ ; \
35529 set stage2-libiberty prev-libiberty ; \
35530 @CREATE_LINK_TO_DIR@
35531 @endif libiberty
35532 @if zlib
35533 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
35534 mkdir stage3-zlib; \
35535 set stage3-zlib zlib ; \
35536 @CREATE_LINK_TO_DIR@ ; \
35537 set stage2-zlib prev-zlib ; \
35538 @CREATE_LINK_TO_DIR@
35539 @endif zlib
35541 stage3-end::
35542 @rm -f stage_current
35543 @if bfd
35544 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
35545 @UNDO_LINK_TO_DIR@ ; \
35546 set prev-bfd stage2-bfd ; \
35547 @UNDO_LINK_TO_DIR@
35548 @endif bfd
35549 @if opcodes
35550 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
35551 @UNDO_LINK_TO_DIR@ ; \
35552 set prev-opcodes stage2-opcodes ; \
35553 @UNDO_LINK_TO_DIR@
35554 @endif opcodes
35555 @if binutils
35556 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
35557 @UNDO_LINK_TO_DIR@ ; \
35558 set prev-binutils stage2-binutils ; \
35559 @UNDO_LINK_TO_DIR@
35560 @endif binutils
35561 @if gas
35562 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
35563 @UNDO_LINK_TO_DIR@ ; \
35564 set prev-gas stage2-gas ; \
35565 @UNDO_LINK_TO_DIR@
35566 @endif gas
35567 @if gcc
35568 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
35569 @UNDO_LINK_TO_DIR@ ; \
35570 set prev-gcc stage2-gcc ; \
35571 @UNDO_LINK_TO_DIR@
35572 @endif gcc
35573 @if intl
35574 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
35575 @UNDO_LINK_TO_DIR@ ; \
35576 set prev-intl stage2-intl ; \
35577 @UNDO_LINK_TO_DIR@
35578 @endif intl
35579 @if ld
35580 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
35581 @UNDO_LINK_TO_DIR@ ; \
35582 set prev-ld stage2-ld ; \
35583 @UNDO_LINK_TO_DIR@
35584 @endif ld
35585 @if libcpp
35586 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
35587 @UNDO_LINK_TO_DIR@ ; \
35588 set prev-libcpp stage2-libcpp ; \
35589 @UNDO_LINK_TO_DIR@
35590 @endif libcpp
35591 @if libiberty
35592 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
35593 @UNDO_LINK_TO_DIR@ ; \
35594 set prev-libiberty stage2-libiberty ; \
35595 @UNDO_LINK_TO_DIR@
35596 @endif libiberty
35597 @if zlib
35598 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
35599 @UNDO_LINK_TO_DIR@ ; \
35600 set prev-zlib stage2-zlib ; \
35601 @UNDO_LINK_TO_DIR@
35602 @endif zlib
35604 # Bubble a bugfix through all the stages up to stage 3. They
35605 # are remade, but not reconfigured. The next stage (if any) will not
35606 # be reconfigured as well.
35607 .PHONY: stage3-bubble
35608 stage3-bubble:: stage2-bubble
35609 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
35610 @if test -f stage3-lean || test -f stage2-lean ; then \
35611 echo Skipping rebuild of stage3 ; \
35612 else \
35613 $(MAKE) stage3-start; \
35614 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
35617 .PHONY: all-stage3 clean-stage3
35618 do-clean: clean-stage3
35620 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35621 # only possibility, but now it conflicts with no-bootstrap rules
35622 @if gcc-bootstrap
35624 compare:
35625 @if test -f stage2-lean; then \
35626 echo Cannot compare object files as stage 2 was deleted. ; \
35627 exit 0 ; \
35628 fi; \
35629 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35630 @r=`${PWD_COMMAND}`; export r; \
35631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35632 rm -f .bad_compare ; \
35633 cd stage3-gcc; \
35634 files=`find . -name "*$(objext)" -print` ; \
35635 cd .. ; \
35636 for file in $${files} ; do \
35637 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
35638 @do_compare@ > /dev/null 2>&1; \
35639 if test $$? -eq 1; then \
35640 case $$file in \
35641 ./cc*-checksum$(objext) | ./libgcc/* ) \
35642 echo warning: $$file differs ;; \
35643 *) \
35644 echo $$file differs >> .bad_compare ;; \
35645 esac ; \
35646 fi ; \
35647 done ; \
35648 if [ -f .bad_compare ]; then \
35649 echo "Bootstrap comparison failure!"; \
35650 cat .bad_compare; \
35651 exit 1; \
35652 else \
35653 true; \
35654 fi ; \
35655 $(STAMP) compare
35656 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35660 .PHONY: bootstrap
35661 bootstrap: stage3-bubble
35662 $(MAKE) compare
35663 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35666 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35667 distclean-stage2:: distclean-stage3
35668 .PHONY: distclean-stage3
35669 distclean-stage3::
35670 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35671 rm -rf stage3-* compare
35674 .PHONY: cleanstrap
35675 cleanstrap: distclean bootstrap
35677 @endif gcc-bootstrap
35680 .PHONY: stage4-start stage4-end
35682 stage4-start::
35683 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35684 echo stage4 > stage_current ; \
35685 echo stage4 > stage_last; \
35686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35687 @if bfd
35688 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
35689 mkdir stage4-bfd; \
35690 set stage4-bfd bfd ; \
35691 @CREATE_LINK_TO_DIR@ ; \
35692 set stage3-bfd prev-bfd ; \
35693 @CREATE_LINK_TO_DIR@
35694 @endif bfd
35695 @if opcodes
35696 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
35697 mkdir stage4-opcodes; \
35698 set stage4-opcodes opcodes ; \
35699 @CREATE_LINK_TO_DIR@ ; \
35700 set stage3-opcodes prev-opcodes ; \
35701 @CREATE_LINK_TO_DIR@
35702 @endif opcodes
35703 @if binutils
35704 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
35705 mkdir stage4-binutils; \
35706 set stage4-binutils binutils ; \
35707 @CREATE_LINK_TO_DIR@ ; \
35708 set stage3-binutils prev-binutils ; \
35709 @CREATE_LINK_TO_DIR@
35710 @endif binutils
35711 @if gas
35712 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
35713 mkdir stage4-gas; \
35714 set stage4-gas gas ; \
35715 @CREATE_LINK_TO_DIR@ ; \
35716 set stage3-gas prev-gas ; \
35717 @CREATE_LINK_TO_DIR@
35718 @endif gas
35719 @if gcc
35720 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
35721 mkdir stage4-gcc; \
35722 set stage4-gcc gcc ; \
35723 @CREATE_LINK_TO_DIR@ ; \
35724 set stage3-gcc prev-gcc ; \
35725 @CREATE_LINK_TO_DIR@
35726 @endif gcc
35727 @if intl
35728 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
35729 mkdir stage4-intl; \
35730 set stage4-intl intl ; \
35731 @CREATE_LINK_TO_DIR@ ; \
35732 set stage3-intl prev-intl ; \
35733 @CREATE_LINK_TO_DIR@
35734 @endif intl
35735 @if ld
35736 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
35737 mkdir stage4-ld; \
35738 set stage4-ld ld ; \
35739 @CREATE_LINK_TO_DIR@ ; \
35740 set stage3-ld prev-ld ; \
35741 @CREATE_LINK_TO_DIR@
35742 @endif ld
35743 @if libcpp
35744 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
35745 mkdir stage4-libcpp; \
35746 set stage4-libcpp libcpp ; \
35747 @CREATE_LINK_TO_DIR@ ; \
35748 set stage3-libcpp prev-libcpp ; \
35749 @CREATE_LINK_TO_DIR@
35750 @endif libcpp
35751 @if libiberty
35752 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
35753 mkdir stage4-libiberty; \
35754 set stage4-libiberty libiberty ; \
35755 @CREATE_LINK_TO_DIR@ ; \
35756 set stage3-libiberty prev-libiberty ; \
35757 @CREATE_LINK_TO_DIR@
35758 @endif libiberty
35759 @if zlib
35760 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
35761 mkdir stage4-zlib; \
35762 set stage4-zlib zlib ; \
35763 @CREATE_LINK_TO_DIR@ ; \
35764 set stage3-zlib prev-zlib ; \
35765 @CREATE_LINK_TO_DIR@
35766 @endif zlib
35768 stage4-end::
35769 @rm -f stage_current
35770 @if bfd
35771 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
35772 @UNDO_LINK_TO_DIR@ ; \
35773 set prev-bfd stage3-bfd ; \
35774 @UNDO_LINK_TO_DIR@
35775 @endif bfd
35776 @if opcodes
35777 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
35778 @UNDO_LINK_TO_DIR@ ; \
35779 set prev-opcodes stage3-opcodes ; \
35780 @UNDO_LINK_TO_DIR@
35781 @endif opcodes
35782 @if binutils
35783 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
35784 @UNDO_LINK_TO_DIR@ ; \
35785 set prev-binutils stage3-binutils ; \
35786 @UNDO_LINK_TO_DIR@
35787 @endif binutils
35788 @if gas
35789 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
35790 @UNDO_LINK_TO_DIR@ ; \
35791 set prev-gas stage3-gas ; \
35792 @UNDO_LINK_TO_DIR@
35793 @endif gas
35794 @if gcc
35795 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
35796 @UNDO_LINK_TO_DIR@ ; \
35797 set prev-gcc stage3-gcc ; \
35798 @UNDO_LINK_TO_DIR@
35799 @endif gcc
35800 @if intl
35801 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
35802 @UNDO_LINK_TO_DIR@ ; \
35803 set prev-intl stage3-intl ; \
35804 @UNDO_LINK_TO_DIR@
35805 @endif intl
35806 @if ld
35807 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
35808 @UNDO_LINK_TO_DIR@ ; \
35809 set prev-ld stage3-ld ; \
35810 @UNDO_LINK_TO_DIR@
35811 @endif ld
35812 @if libcpp
35813 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
35814 @UNDO_LINK_TO_DIR@ ; \
35815 set prev-libcpp stage3-libcpp ; \
35816 @UNDO_LINK_TO_DIR@
35817 @endif libcpp
35818 @if libiberty
35819 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
35820 @UNDO_LINK_TO_DIR@ ; \
35821 set prev-libiberty stage3-libiberty ; \
35822 @UNDO_LINK_TO_DIR@
35823 @endif libiberty
35824 @if zlib
35825 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
35826 @UNDO_LINK_TO_DIR@ ; \
35827 set prev-zlib stage3-zlib ; \
35828 @UNDO_LINK_TO_DIR@
35829 @endif zlib
35831 # Bubble a bugfix through all the stages up to stage 4. They
35832 # are remade, but not reconfigured. The next stage (if any) will not
35833 # be reconfigured as well.
35834 .PHONY: stage4-bubble
35835 stage4-bubble:: stage3-bubble
35836 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35837 @if test -f stage4-lean || test -f stage3-lean ; then \
35838 echo Skipping rebuild of stage4 ; \
35839 else \
35840 $(MAKE) stage4-start; \
35841 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
35844 .PHONY: all-stage4 clean-stage4
35845 do-clean: clean-stage4
35847 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35848 # only possibility, but now it conflicts with no-bootstrap rules
35849 @if gcc-bootstrap
35851 compare3:
35852 @if test -f stage3-lean; then \
35853 echo Cannot compare object files as stage 3 was deleted. ; \
35854 exit 0 ; \
35855 fi; \
35856 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35857 @r=`${PWD_COMMAND}`; export r; \
35858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35859 rm -f .bad_compare ; \
35860 cd stage4-gcc; \
35861 files=`find . -name "*$(objext)" -print` ; \
35862 cd .. ; \
35863 for file in $${files} ; do \
35864 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
35865 @do_compare@ > /dev/null 2>&1; \
35866 if test $$? -eq 1; then \
35867 case $$file in \
35868 ./cc*-checksum$(objext) | ./libgcc/* ) \
35869 echo warning: $$file differs ;; \
35870 *) \
35871 echo $$file differs >> .bad_compare ;; \
35872 esac ; \
35873 fi ; \
35874 done ; \
35875 if [ -f .bad_compare ]; then \
35876 echo "Bootstrap comparison failure!"; \
35877 cat .bad_compare; \
35878 exit 1; \
35879 else \
35880 true; \
35881 fi ; \
35882 $(STAMP) compare3
35883 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
35887 .PHONY: bootstrap4
35888 bootstrap4: stage4-bubble
35889 $(MAKE) compare3
35890 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35893 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35894 distclean-stage3:: distclean-stage4
35895 .PHONY: distclean-stage4
35896 distclean-stage4::
35897 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35898 rm -rf stage4-* compare3
35901 @endif gcc-bootstrap
35904 .PHONY: stageprofile-start stageprofile-end
35906 stageprofile-start::
35907 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35908 echo stageprofile > stage_current ; \
35909 echo stageprofile > stage_last; \
35910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35911 @if bfd
35912 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
35913 mkdir stageprofile-bfd; \
35914 set stageprofile-bfd bfd ; \
35915 @CREATE_LINK_TO_DIR@ ; \
35916 set stage1-bfd prev-bfd ; \
35917 @CREATE_LINK_TO_DIR@
35918 @endif bfd
35919 @if opcodes
35920 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
35921 mkdir stageprofile-opcodes; \
35922 set stageprofile-opcodes opcodes ; \
35923 @CREATE_LINK_TO_DIR@ ; \
35924 set stage1-opcodes prev-opcodes ; \
35925 @CREATE_LINK_TO_DIR@
35926 @endif opcodes
35927 @if binutils
35928 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
35929 mkdir stageprofile-binutils; \
35930 set stageprofile-binutils binutils ; \
35931 @CREATE_LINK_TO_DIR@ ; \
35932 set stage1-binutils prev-binutils ; \
35933 @CREATE_LINK_TO_DIR@
35934 @endif binutils
35935 @if gas
35936 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
35937 mkdir stageprofile-gas; \
35938 set stageprofile-gas gas ; \
35939 @CREATE_LINK_TO_DIR@ ; \
35940 set stage1-gas prev-gas ; \
35941 @CREATE_LINK_TO_DIR@
35942 @endif gas
35943 @if gcc
35944 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
35945 mkdir stageprofile-gcc; \
35946 set stageprofile-gcc gcc ; \
35947 @CREATE_LINK_TO_DIR@ ; \
35948 set stage1-gcc prev-gcc ; \
35949 @CREATE_LINK_TO_DIR@
35950 @endif gcc
35951 @if intl
35952 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
35953 mkdir stageprofile-intl; \
35954 set stageprofile-intl intl ; \
35955 @CREATE_LINK_TO_DIR@ ; \
35956 set stage1-intl prev-intl ; \
35957 @CREATE_LINK_TO_DIR@
35958 @endif intl
35959 @if ld
35960 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
35961 mkdir stageprofile-ld; \
35962 set stageprofile-ld ld ; \
35963 @CREATE_LINK_TO_DIR@ ; \
35964 set stage1-ld prev-ld ; \
35965 @CREATE_LINK_TO_DIR@
35966 @endif ld
35967 @if libcpp
35968 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
35969 mkdir stageprofile-libcpp; \
35970 set stageprofile-libcpp libcpp ; \
35971 @CREATE_LINK_TO_DIR@ ; \
35972 set stage1-libcpp prev-libcpp ; \
35973 @CREATE_LINK_TO_DIR@
35974 @endif libcpp
35975 @if libiberty
35976 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
35977 mkdir stageprofile-libiberty; \
35978 set stageprofile-libiberty libiberty ; \
35979 @CREATE_LINK_TO_DIR@ ; \
35980 set stage1-libiberty prev-libiberty ; \
35981 @CREATE_LINK_TO_DIR@
35982 @endif libiberty
35983 @if zlib
35984 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
35985 mkdir stageprofile-zlib; \
35986 set stageprofile-zlib zlib ; \
35987 @CREATE_LINK_TO_DIR@ ; \
35988 set stage1-zlib prev-zlib ; \
35989 @CREATE_LINK_TO_DIR@
35990 @endif zlib
35992 stageprofile-end::
35993 @rm -f stage_current
35994 @if bfd
35995 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
35996 @UNDO_LINK_TO_DIR@ ; \
35997 set prev-bfd stage1-bfd ; \
35998 @UNDO_LINK_TO_DIR@
35999 @endif bfd
36000 @if opcodes
36001 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36002 @UNDO_LINK_TO_DIR@ ; \
36003 set prev-opcodes stage1-opcodes ; \
36004 @UNDO_LINK_TO_DIR@
36005 @endif opcodes
36006 @if binutils
36007 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36008 @UNDO_LINK_TO_DIR@ ; \
36009 set prev-binutils stage1-binutils ; \
36010 @UNDO_LINK_TO_DIR@
36011 @endif binutils
36012 @if gas
36013 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36014 @UNDO_LINK_TO_DIR@ ; \
36015 set prev-gas stage1-gas ; \
36016 @UNDO_LINK_TO_DIR@
36017 @endif gas
36018 @if gcc
36019 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36020 @UNDO_LINK_TO_DIR@ ; \
36021 set prev-gcc stage1-gcc ; \
36022 @UNDO_LINK_TO_DIR@
36023 @endif gcc
36024 @if intl
36025 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36026 @UNDO_LINK_TO_DIR@ ; \
36027 set prev-intl stage1-intl ; \
36028 @UNDO_LINK_TO_DIR@
36029 @endif intl
36030 @if ld
36031 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36032 @UNDO_LINK_TO_DIR@ ; \
36033 set prev-ld stage1-ld ; \
36034 @UNDO_LINK_TO_DIR@
36035 @endif ld
36036 @if libcpp
36037 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36038 @UNDO_LINK_TO_DIR@ ; \
36039 set prev-libcpp stage1-libcpp ; \
36040 @UNDO_LINK_TO_DIR@
36041 @endif libcpp
36042 @if libiberty
36043 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36044 @UNDO_LINK_TO_DIR@ ; \
36045 set prev-libiberty stage1-libiberty ; \
36046 @UNDO_LINK_TO_DIR@
36047 @endif libiberty
36048 @if zlib
36049 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36050 @UNDO_LINK_TO_DIR@ ; \
36051 set prev-zlib stage1-zlib ; \
36052 @UNDO_LINK_TO_DIR@
36053 @endif zlib
36055 # Bubble a bugfix through all the stages up to stage profile. They
36056 # are remade, but not reconfigured. The next stage (if any) will not
36057 # be reconfigured as well.
36058 .PHONY: stageprofile-bubble
36059 stageprofile-bubble:: stage1-bubble
36060 @if test -f stageprofile-lean || test -f stage1-lean ; then \
36061 echo Skipping rebuild of stageprofile ; \
36062 else \
36063 $(MAKE) stageprofile-start; \
36064 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36067 .PHONY: all-stageprofile clean-stageprofile
36068 do-clean: clean-stageprofile
36070 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36071 # only possibility, but now it conflicts with no-bootstrap rules
36072 @if gcc-bootstrap
36077 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36078 distclean-stage1:: distclean-stageprofile
36079 .PHONY: distclean-stageprofile
36080 distclean-stageprofile::
36081 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36082 rm -rf stageprofile-*
36085 @endif gcc-bootstrap
36088 .PHONY: stagefeedback-start stagefeedback-end
36090 stagefeedback-start::
36091 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36092 echo stagefeedback > stage_current ; \
36093 echo stagefeedback > stage_last; \
36094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36095 @if bfd
36096 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36097 mkdir stagefeedback-bfd; \
36098 set stagefeedback-bfd bfd ; \
36099 @CREATE_LINK_TO_DIR@ ; \
36100 set stageprofile-bfd prev-bfd ; \
36101 @CREATE_LINK_TO_DIR@
36102 @endif bfd
36103 @if opcodes
36104 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36105 mkdir stagefeedback-opcodes; \
36106 set stagefeedback-opcodes opcodes ; \
36107 @CREATE_LINK_TO_DIR@ ; \
36108 set stageprofile-opcodes prev-opcodes ; \
36109 @CREATE_LINK_TO_DIR@
36110 @endif opcodes
36111 @if binutils
36112 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36113 mkdir stagefeedback-binutils; \
36114 set stagefeedback-binutils binutils ; \
36115 @CREATE_LINK_TO_DIR@ ; \
36116 set stageprofile-binutils prev-binutils ; \
36117 @CREATE_LINK_TO_DIR@
36118 @endif binutils
36119 @if gas
36120 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36121 mkdir stagefeedback-gas; \
36122 set stagefeedback-gas gas ; \
36123 @CREATE_LINK_TO_DIR@ ; \
36124 set stageprofile-gas prev-gas ; \
36125 @CREATE_LINK_TO_DIR@
36126 @endif gas
36127 @if gcc
36128 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36129 mkdir stagefeedback-gcc; \
36130 set stagefeedback-gcc gcc ; \
36131 @CREATE_LINK_TO_DIR@ ; \
36132 set stageprofile-gcc prev-gcc ; \
36133 @CREATE_LINK_TO_DIR@
36134 @endif gcc
36135 @if intl
36136 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
36137 mkdir stagefeedback-intl; \
36138 set stagefeedback-intl intl ; \
36139 @CREATE_LINK_TO_DIR@ ; \
36140 set stageprofile-intl prev-intl ; \
36141 @CREATE_LINK_TO_DIR@
36142 @endif intl
36143 @if ld
36144 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
36145 mkdir stagefeedback-ld; \
36146 set stagefeedback-ld ld ; \
36147 @CREATE_LINK_TO_DIR@ ; \
36148 set stageprofile-ld prev-ld ; \
36149 @CREATE_LINK_TO_DIR@
36150 @endif ld
36151 @if libcpp
36152 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
36153 mkdir stagefeedback-libcpp; \
36154 set stagefeedback-libcpp libcpp ; \
36155 @CREATE_LINK_TO_DIR@ ; \
36156 set stageprofile-libcpp prev-libcpp ; \
36157 @CREATE_LINK_TO_DIR@
36158 @endif libcpp
36159 @if libiberty
36160 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
36161 mkdir stagefeedback-libiberty; \
36162 set stagefeedback-libiberty libiberty ; \
36163 @CREATE_LINK_TO_DIR@ ; \
36164 set stageprofile-libiberty prev-libiberty ; \
36165 @CREATE_LINK_TO_DIR@
36166 @endif libiberty
36167 @if zlib
36168 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
36169 mkdir stagefeedback-zlib; \
36170 set stagefeedback-zlib zlib ; \
36171 @CREATE_LINK_TO_DIR@ ; \
36172 set stageprofile-zlib prev-zlib ; \
36173 @CREATE_LINK_TO_DIR@
36174 @endif zlib
36176 stagefeedback-end::
36177 @rm -f stage_current
36178 @if bfd
36179 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
36180 @UNDO_LINK_TO_DIR@ ; \
36181 set prev-bfd stageprofile-bfd ; \
36182 @UNDO_LINK_TO_DIR@
36183 @endif bfd
36184 @if opcodes
36185 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
36186 @UNDO_LINK_TO_DIR@ ; \
36187 set prev-opcodes stageprofile-opcodes ; \
36188 @UNDO_LINK_TO_DIR@
36189 @endif opcodes
36190 @if binutils
36191 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
36192 @UNDO_LINK_TO_DIR@ ; \
36193 set prev-binutils stageprofile-binutils ; \
36194 @UNDO_LINK_TO_DIR@
36195 @endif binutils
36196 @if gas
36197 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
36198 @UNDO_LINK_TO_DIR@ ; \
36199 set prev-gas stageprofile-gas ; \
36200 @UNDO_LINK_TO_DIR@
36201 @endif gas
36202 @if gcc
36203 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
36204 @UNDO_LINK_TO_DIR@ ; \
36205 set prev-gcc stageprofile-gcc ; \
36206 @UNDO_LINK_TO_DIR@
36207 @endif gcc
36208 @if intl
36209 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
36210 @UNDO_LINK_TO_DIR@ ; \
36211 set prev-intl stageprofile-intl ; \
36212 @UNDO_LINK_TO_DIR@
36213 @endif intl
36214 @if ld
36215 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
36216 @UNDO_LINK_TO_DIR@ ; \
36217 set prev-ld stageprofile-ld ; \
36218 @UNDO_LINK_TO_DIR@
36219 @endif ld
36220 @if libcpp
36221 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
36222 @UNDO_LINK_TO_DIR@ ; \
36223 set prev-libcpp stageprofile-libcpp ; \
36224 @UNDO_LINK_TO_DIR@
36225 @endif libcpp
36226 @if libiberty
36227 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
36228 @UNDO_LINK_TO_DIR@ ; \
36229 set prev-libiberty stageprofile-libiberty ; \
36230 @UNDO_LINK_TO_DIR@
36231 @endif libiberty
36232 @if zlib
36233 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
36234 @UNDO_LINK_TO_DIR@ ; \
36235 set prev-zlib stageprofile-zlib ; \
36236 @UNDO_LINK_TO_DIR@
36237 @endif zlib
36239 # Bubble a bugfix through all the stages up to stage feedback. They
36240 # are remade, but not reconfigured. The next stage (if any) will not
36241 # be reconfigured as well.
36242 .PHONY: stagefeedback-bubble
36243 stagefeedback-bubble:: stageprofile-bubble
36244 @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
36245 echo Skipping rebuild of stagefeedback ; \
36246 else \
36247 $(MAKE) stagefeedback-start; \
36248 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
36251 .PHONY: all-stagefeedback clean-stagefeedback
36252 do-clean: clean-stagefeedback
36254 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36255 # only possibility, but now it conflicts with no-bootstrap rules
36256 @if gcc-bootstrap
36260 .PHONY: profiledbootstrap
36261 profiledbootstrap: stagefeedback-bubble
36262 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36265 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36266 distclean-stageprofile:: distclean-stagefeedback
36267 .PHONY: distclean-stagefeedback
36268 distclean-stagefeedback::
36269 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36270 rm -rf stagefeedback-*
36273 @endif gcc-bootstrap
36277 stageprofile-end::
36278 $(MAKE) distclean-stagefeedback
36280 stagefeedback-start::
36281 @r=`${PWD_COMMAND}`; export r; \
36282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36283 for i in prev-*; do \
36284 j=`echo $$i | sed s/^prev-//` ; \
36285 cd $$r/$$i && \
36286 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
36287 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
36288 done
36290 @if gcc-bootstrap
36291 do-distclean: distclean-stage1
36292 @endif gcc-bootstrap
36294 # --------------------------------------
36295 # Dependencies between different modules
36296 # --------------------------------------
36298 # Generic dependencies for target modules on host stuff, especially gcc
36300 configure-target-libstdc++-v3: maybe-all-gcc
36302 configure-target-libmudflap: maybe-all-gcc
36304 configure-target-libssp: maybe-all-gcc
36306 configure-target-newlib: maybe-all-gcc
36308 configure-target-libgfortran: maybe-all-gcc
36310 configure-target-libobjc: maybe-all-gcc
36312 configure-target-libtermcap: maybe-all-gcc
36314 configure-target-winsup: maybe-all-gcc
36316 configure-target-libgloss: maybe-all-gcc
36318 configure-target-libiberty: maybe-all-gcc
36320 configure-target-gperf: maybe-all-gcc
36322 configure-target-examples: maybe-all-gcc
36324 configure-target-libffi: maybe-all-gcc
36326 configure-target-libjava: maybe-all-gcc
36328 configure-target-zlib: maybe-all-gcc
36330 configure-target-boehm-gc: maybe-all-gcc
36332 configure-target-qthreads: maybe-all-gcc
36334 configure-target-rda: maybe-all-gcc
36336 configure-target-libada: maybe-all-gcc
36340 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
36342 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
36343 configure-target-gperf: maybe-all-target-libstdc++-v3
36345 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
36347 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
36349 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
36351 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
36352 configure-target-libjava: maybe-all-target-libstdc++-v3
36354 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
36356 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
36358 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
36360 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
36362 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
36364 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
36366 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
36368 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
36370 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
36372 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
36375 # There are two types of dependencies here: 'hard' dependencies, where one
36376 # module simply won't build without the other; and 'soft' dependencies, where
36377 # if the depended-on module is missing, the depending module will do without
36378 # or find a substitute somewhere (perhaps installed). Soft dependencies
36379 # are made here to depend on a 'maybe-' target. If you're not sure,
36380 # it's safer to use a soft dependency.
36387 # With all the machinery above in place, it is pretty easy to generate
36388 # dependencies. Host dependencies are a bit more complex because we have
36389 # to check for bootstrap/prebootstrap dependencies. To resolve
36390 # prebootstrap dependencies, prebootstrap modules are gathered in
36391 # a hash table.
36392 all-build-bison: maybe-all-build-texinfo
36393 all-build-byacc: maybe-all-build-texinfo
36394 all-build-flex: maybe-all-build-texinfo
36395 all-build-flex: maybe-all-build-bison
36396 all-build-flex: maybe-all-build-byacc
36397 all-build-flex: maybe-all-build-m4
36398 all-build-libiberty: maybe-all-build-texinfo
36399 all-build-m4: maybe-all-build-texinfo
36400 all-build-fixincludes: maybe-all-build-libiberty
36401 configure-gcc: maybe-configure-intl
36403 configure-stage1-gcc: maybe-configure-stage1-intl
36404 configure-stage2-gcc: maybe-configure-stage2-intl
36405 configure-stage3-gcc: maybe-configure-stage3-intl
36406 configure-stage4-gcc: maybe-configure-stage4-intl
36407 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
36408 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
36409 configure-gcc: maybe-all-binutils
36411 configure-stage1-gcc: maybe-all-stage1-binutils
36412 configure-stage2-gcc: maybe-all-stage2-binutils
36413 configure-stage3-gcc: maybe-all-stage3-binutils
36414 configure-stage4-gcc: maybe-all-stage4-binutils
36415 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
36416 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
36417 configure-gcc: maybe-all-gas
36419 configure-stage1-gcc: maybe-all-stage1-gas
36420 configure-stage2-gcc: maybe-all-stage2-gas
36421 configure-stage3-gcc: maybe-all-stage3-gas
36422 configure-stage4-gcc: maybe-all-stage4-gas
36423 configure-stageprofile-gcc: maybe-all-stageprofile-gas
36424 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
36425 configure-gcc: maybe-all-ld
36427 configure-stage1-gcc: maybe-all-stage1-ld
36428 configure-stage2-gcc: maybe-all-stage2-ld
36429 configure-stage3-gcc: maybe-all-stage3-ld
36430 configure-stage4-gcc: maybe-all-stage4-ld
36431 configure-stageprofile-gcc: maybe-all-stageprofile-ld
36432 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
36433 all-gcc: all-libiberty
36435 all-stage1-gcc: all-stage1-libiberty
36436 all-stage2-gcc: all-stage2-libiberty
36437 all-stage3-gcc: all-stage3-libiberty
36438 all-stage4-gcc: all-stage4-libiberty
36439 all-stageprofile-gcc: all-stageprofile-libiberty
36440 all-stagefeedback-gcc: all-stagefeedback-libiberty
36441 all-gcc: maybe-all-intl
36443 all-stage1-gcc: maybe-all-stage1-intl
36444 all-stage2-gcc: maybe-all-stage2-intl
36445 all-stage3-gcc: maybe-all-stage3-intl
36446 all-stage4-gcc: maybe-all-stage4-intl
36447 all-stageprofile-gcc: maybe-all-stageprofile-intl
36448 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
36449 all-gcc: maybe-all-build-texinfo
36451 all-stage1-gcc: maybe-all-build-texinfo
36452 all-stage2-gcc: maybe-all-build-texinfo
36453 all-stage3-gcc: maybe-all-build-texinfo
36454 all-stage4-gcc: maybe-all-build-texinfo
36455 all-stageprofile-gcc: maybe-all-build-texinfo
36456 all-stagefeedback-gcc: maybe-all-build-texinfo
36457 all-prebootstrap: maybe-all-build-texinfo
36458 all-gcc: maybe-all-build-bison
36460 all-stage1-gcc: maybe-all-build-bison
36461 all-stage2-gcc: maybe-all-build-bison
36462 all-stage3-gcc: maybe-all-build-bison
36463 all-stage4-gcc: maybe-all-build-bison
36464 all-stageprofile-gcc: maybe-all-build-bison
36465 all-stagefeedback-gcc: maybe-all-build-bison
36466 all-prebootstrap: maybe-all-build-bison
36467 all-gcc: maybe-all-build-byacc
36469 all-stage1-gcc: maybe-all-build-byacc
36470 all-stage2-gcc: maybe-all-build-byacc
36471 all-stage3-gcc: maybe-all-build-byacc
36472 all-stage4-gcc: maybe-all-build-byacc
36473 all-stageprofile-gcc: maybe-all-build-byacc
36474 all-stagefeedback-gcc: maybe-all-build-byacc
36475 all-prebootstrap: maybe-all-build-byacc
36476 all-gcc: maybe-all-build-flex
36478 all-stage1-gcc: maybe-all-build-flex
36479 all-stage2-gcc: maybe-all-build-flex
36480 all-stage3-gcc: maybe-all-build-flex
36481 all-stage4-gcc: maybe-all-build-flex
36482 all-stageprofile-gcc: maybe-all-build-flex
36483 all-stagefeedback-gcc: maybe-all-build-flex
36484 all-prebootstrap: maybe-all-build-flex
36485 all-gcc: maybe-all-build-libiberty
36487 all-stage1-gcc: maybe-all-build-libiberty
36488 all-stage2-gcc: maybe-all-build-libiberty
36489 all-stage3-gcc: maybe-all-build-libiberty
36490 all-stage4-gcc: maybe-all-build-libiberty
36491 all-stageprofile-gcc: maybe-all-build-libiberty
36492 all-stagefeedback-gcc: maybe-all-build-libiberty
36493 all-prebootstrap: maybe-all-build-libiberty
36494 all-gcc: maybe-all-build-fixincludes
36496 all-stage1-gcc: maybe-all-build-fixincludes
36497 all-stage2-gcc: maybe-all-build-fixincludes
36498 all-stage3-gcc: maybe-all-build-fixincludes
36499 all-stage4-gcc: maybe-all-build-fixincludes
36500 all-stageprofile-gcc: maybe-all-build-fixincludes
36501 all-stagefeedback-gcc: maybe-all-build-fixincludes
36502 all-prebootstrap: maybe-all-build-fixincludes
36503 all-gcc: maybe-all-zlib
36505 all-stage1-gcc: maybe-all-stage1-zlib
36506 all-stage2-gcc: maybe-all-stage2-zlib
36507 all-stage3-gcc: maybe-all-stage3-zlib
36508 all-stage4-gcc: maybe-all-stage4-zlib
36509 all-stageprofile-gcc: maybe-all-stageprofile-zlib
36510 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
36511 all-gcc: all-libcpp
36513 all-stage1-gcc: all-stage1-libcpp
36514 all-stage2-gcc: all-stage2-libcpp
36515 all-stage3-gcc: all-stage3-libcpp
36516 all-stage4-gcc: all-stage4-libcpp
36517 all-stageprofile-gcc: all-stageprofile-libcpp
36518 all-stagefeedback-gcc: all-stagefeedback-libcpp
36519 all-gcc: maybe-all-libiberty
36521 all-stage1-gcc: maybe-all-stage1-libiberty
36522 all-stage2-gcc: maybe-all-stage2-libiberty
36523 all-stage3-gcc: maybe-all-stage3-libiberty
36524 all-stage4-gcc: maybe-all-stage4-libiberty
36525 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
36526 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
36527 all-gcc: maybe-all-fixincludes
36528 install-gcc: maybe-install-fixincludes
36529 configure-libcpp: configure-libiberty
36531 configure-stage1-libcpp: configure-stage1-libiberty
36532 configure-stage2-libcpp: configure-stage2-libiberty
36533 configure-stage3-libcpp: configure-stage3-libiberty
36534 configure-stage4-libcpp: configure-stage4-libiberty
36535 configure-stageprofile-libcpp: configure-stageprofile-libiberty
36536 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
36537 configure-libcpp: maybe-configure-intl
36539 configure-stage1-libcpp: maybe-configure-stage1-intl
36540 configure-stage2-libcpp: maybe-configure-stage2-intl
36541 configure-stage3-libcpp: maybe-configure-stage3-intl
36542 configure-stage4-libcpp: maybe-configure-stage4-intl
36543 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
36544 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
36545 all-libcpp: all-libiberty
36547 all-stage1-libcpp: all-stage1-libiberty
36548 all-stage2-libcpp: all-stage2-libiberty
36549 all-stage3-libcpp: all-stage3-libiberty
36550 all-stage4-libcpp: all-stage4-libiberty
36551 all-stageprofile-libcpp: all-stageprofile-libiberty
36552 all-stagefeedback-libcpp: all-stagefeedback-libiberty
36553 all-libcpp: maybe-all-intl
36555 all-stage1-libcpp: maybe-all-stage1-intl
36556 all-stage2-libcpp: maybe-all-stage2-intl
36557 all-stage3-libcpp: maybe-all-stage3-intl
36558 all-stage4-libcpp: maybe-all-stage4-intl
36559 all-stageprofile-libcpp: maybe-all-stageprofile-intl
36560 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
36561 all-fixincludes: maybe-all-libiberty
36562 all-gnattools: maybe-all-target-libada
36563 configure-gdb: maybe-configure-itcl
36564 configure-gdb: maybe-configure-tcl
36565 configure-gdb: maybe-configure-tk
36566 configure-gdb: maybe-configure-sim
36567 all-gdb: maybe-all-libiberty
36568 all-gdb: maybe-all-opcodes
36569 all-gdb: maybe-all-bfd
36570 all-gdb: maybe-all-readline
36571 all-gdb: maybe-all-build-bison
36572 all-gdb: maybe-all-build-byacc
36573 all-gdb: maybe-all-sim
36574 install-gdb: maybe-install-tcl
36575 install-gdb: maybe-install-tk
36576 install-gdb: maybe-install-itcl
36577 install-gdb: maybe-install-libgui
36578 configure-libgui: maybe-configure-tcl
36579 configure-libgui: maybe-configure-tk
36580 all-libgui: maybe-all-tcl
36581 all-libgui: maybe-all-tk
36582 all-libgui: maybe-all-itcl
36583 configure-bfd: configure-libiberty
36585 configure-stage1-bfd: configure-stage1-libiberty
36586 configure-stage2-bfd: configure-stage2-libiberty
36587 configure-stage3-bfd: configure-stage3-libiberty
36588 configure-stage4-bfd: configure-stage4-libiberty
36589 configure-stageprofile-bfd: configure-stageprofile-libiberty
36590 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
36591 all-bfd: maybe-all-libiberty
36593 all-stage1-bfd: maybe-all-stage1-libiberty
36594 all-stage2-bfd: maybe-all-stage2-libiberty
36595 all-stage3-bfd: maybe-all-stage3-libiberty
36596 all-stage4-bfd: maybe-all-stage4-libiberty
36597 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
36598 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
36599 all-bfd: maybe-all-intl
36601 all-stage1-bfd: maybe-all-stage1-intl
36602 all-stage2-bfd: maybe-all-stage2-intl
36603 all-stage3-bfd: maybe-all-stage3-intl
36604 all-stage4-bfd: maybe-all-stage4-intl
36605 all-stageprofile-bfd: maybe-all-stageprofile-intl
36606 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
36607 all-binutils: maybe-all-libiberty
36609 all-stage1-binutils: maybe-all-stage1-libiberty
36610 all-stage2-binutils: maybe-all-stage2-libiberty
36611 all-stage3-binutils: maybe-all-stage3-libiberty
36612 all-stage4-binutils: maybe-all-stage4-libiberty
36613 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
36614 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
36615 all-binutils: maybe-all-opcodes
36617 all-stage1-binutils: maybe-all-stage1-opcodes
36618 all-stage2-binutils: maybe-all-stage2-opcodes
36619 all-stage3-binutils: maybe-all-stage3-opcodes
36620 all-stage4-binutils: maybe-all-stage4-opcodes
36621 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
36622 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
36623 all-binutils: maybe-all-bfd
36625 all-stage1-binutils: maybe-all-stage1-bfd
36626 all-stage2-binutils: maybe-all-stage2-bfd
36627 all-stage3-binutils: maybe-all-stage3-bfd
36628 all-stage4-binutils: maybe-all-stage4-bfd
36629 all-stageprofile-binutils: maybe-all-stageprofile-bfd
36630 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
36631 all-binutils: maybe-all-build-flex
36633 all-stage1-binutils: maybe-all-build-flex
36634 all-stage2-binutils: maybe-all-build-flex
36635 all-stage3-binutils: maybe-all-build-flex
36636 all-stage4-binutils: maybe-all-build-flex
36637 all-stageprofile-binutils: maybe-all-build-flex
36638 all-stagefeedback-binutils: maybe-all-build-flex
36639 all-prebootstrap: maybe-all-build-flex
36640 all-binutils: maybe-all-build-bison
36642 all-stage1-binutils: maybe-all-build-bison
36643 all-stage2-binutils: maybe-all-build-bison
36644 all-stage3-binutils: maybe-all-build-bison
36645 all-stage4-binutils: maybe-all-build-bison
36646 all-stageprofile-binutils: maybe-all-build-bison
36647 all-stagefeedback-binutils: maybe-all-build-bison
36648 all-prebootstrap: maybe-all-build-bison
36649 all-binutils: maybe-all-build-byacc
36651 all-stage1-binutils: maybe-all-build-byacc
36652 all-stage2-binutils: maybe-all-build-byacc
36653 all-stage3-binutils: maybe-all-build-byacc
36654 all-stage4-binutils: maybe-all-build-byacc
36655 all-stageprofile-binutils: maybe-all-build-byacc
36656 all-stagefeedback-binutils: maybe-all-build-byacc
36657 all-prebootstrap: maybe-all-build-byacc
36658 all-binutils: maybe-all-intl
36660 all-stage1-binutils: maybe-all-stage1-intl
36661 all-stage2-binutils: maybe-all-stage2-intl
36662 all-stage3-binutils: maybe-all-stage3-intl
36663 all-stage4-binutils: maybe-all-stage4-intl
36664 all-stageprofile-binutils: maybe-all-stageprofile-intl
36665 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
36666 install-binutils: maybe-install-opcodes
36667 install-opcodes: maybe-install-bfd
36668 all-gas: maybe-all-libiberty
36670 all-stage1-gas: maybe-all-stage1-libiberty
36671 all-stage2-gas: maybe-all-stage2-libiberty
36672 all-stage3-gas: maybe-all-stage3-libiberty
36673 all-stage4-gas: maybe-all-stage4-libiberty
36674 all-stageprofile-gas: maybe-all-stageprofile-libiberty
36675 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
36676 all-gas: maybe-all-opcodes
36678 all-stage1-gas: maybe-all-stage1-opcodes
36679 all-stage2-gas: maybe-all-stage2-opcodes
36680 all-stage3-gas: maybe-all-stage3-opcodes
36681 all-stage4-gas: maybe-all-stage4-opcodes
36682 all-stageprofile-gas: maybe-all-stageprofile-opcodes
36683 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
36684 all-gas: maybe-all-bfd
36686 all-stage1-gas: maybe-all-stage1-bfd
36687 all-stage2-gas: maybe-all-stage2-bfd
36688 all-stage3-gas: maybe-all-stage3-bfd
36689 all-stage4-gas: maybe-all-stage4-bfd
36690 all-stageprofile-gas: maybe-all-stageprofile-bfd
36691 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
36692 all-gas: maybe-all-intl
36694 all-stage1-gas: maybe-all-stage1-intl
36695 all-stage2-gas: maybe-all-stage2-intl
36696 all-stage3-gas: maybe-all-stage3-intl
36697 all-stage4-gas: maybe-all-stage4-intl
36698 all-stageprofile-gas: maybe-all-stageprofile-intl
36699 all-stagefeedback-gas: maybe-all-stagefeedback-intl
36700 all-gprof: maybe-all-libiberty
36701 all-gprof: maybe-all-bfd
36702 all-gprof: maybe-all-opcodes
36703 all-gprof: maybe-all-intl
36704 all-ld: maybe-all-libiberty
36706 all-stage1-ld: maybe-all-stage1-libiberty
36707 all-stage2-ld: maybe-all-stage2-libiberty
36708 all-stage3-ld: maybe-all-stage3-libiberty
36709 all-stage4-ld: maybe-all-stage4-libiberty
36710 all-stageprofile-ld: maybe-all-stageprofile-libiberty
36711 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
36712 all-ld: maybe-all-bfd
36714 all-stage1-ld: maybe-all-stage1-bfd
36715 all-stage2-ld: maybe-all-stage2-bfd
36716 all-stage3-ld: maybe-all-stage3-bfd
36717 all-stage4-ld: maybe-all-stage4-bfd
36718 all-stageprofile-ld: maybe-all-stageprofile-bfd
36719 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
36720 all-ld: maybe-all-opcodes
36722 all-stage1-ld: maybe-all-stage1-opcodes
36723 all-stage2-ld: maybe-all-stage2-opcodes
36724 all-stage3-ld: maybe-all-stage3-opcodes
36725 all-stage4-ld: maybe-all-stage4-opcodes
36726 all-stageprofile-ld: maybe-all-stageprofile-opcodes
36727 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
36728 all-ld: maybe-all-build-bison
36730 all-stage1-ld: maybe-all-build-bison
36731 all-stage2-ld: maybe-all-build-bison
36732 all-stage3-ld: maybe-all-build-bison
36733 all-stage4-ld: maybe-all-build-bison
36734 all-stageprofile-ld: maybe-all-build-bison
36735 all-stagefeedback-ld: maybe-all-build-bison
36736 all-prebootstrap: maybe-all-build-bison
36737 all-ld: maybe-all-build-byacc
36739 all-stage1-ld: maybe-all-build-byacc
36740 all-stage2-ld: maybe-all-build-byacc
36741 all-stage3-ld: maybe-all-build-byacc
36742 all-stage4-ld: maybe-all-build-byacc
36743 all-stageprofile-ld: maybe-all-build-byacc
36744 all-stagefeedback-ld: maybe-all-build-byacc
36745 all-prebootstrap: maybe-all-build-byacc
36746 all-ld: maybe-all-build-flex
36748 all-stage1-ld: maybe-all-build-flex
36749 all-stage2-ld: maybe-all-build-flex
36750 all-stage3-ld: maybe-all-build-flex
36751 all-stage4-ld: maybe-all-build-flex
36752 all-stageprofile-ld: maybe-all-build-flex
36753 all-stagefeedback-ld: maybe-all-build-flex
36754 all-prebootstrap: maybe-all-build-flex
36755 all-ld: maybe-all-intl
36757 all-stage1-ld: maybe-all-stage1-intl
36758 all-stage2-ld: maybe-all-stage2-intl
36759 all-stage3-ld: maybe-all-stage3-intl
36760 all-stage4-ld: maybe-all-stage4-intl
36761 all-stageprofile-ld: maybe-all-stageprofile-intl
36762 all-stagefeedback-ld: maybe-all-stagefeedback-intl
36763 all-opcodes: maybe-all-bfd
36765 all-stage1-opcodes: maybe-all-stage1-bfd
36766 all-stage2-opcodes: maybe-all-stage2-bfd
36767 all-stage3-opcodes: maybe-all-stage3-bfd
36768 all-stage4-opcodes: maybe-all-stage4-bfd
36769 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
36770 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
36771 all-opcodes: maybe-all-libiberty
36773 all-stage1-opcodes: maybe-all-stage1-libiberty
36774 all-stage2-opcodes: maybe-all-stage2-libiberty
36775 all-stage3-opcodes: maybe-all-stage3-libiberty
36776 all-stage4-opcodes: maybe-all-stage4-libiberty
36777 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
36778 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
36779 all-dejagnu: maybe-all-tcl
36780 all-dejagnu: maybe-all-expect
36781 all-dejagnu: maybe-all-tk
36782 configure-expect: maybe-configure-tcl
36783 configure-expect: maybe-configure-tk
36784 all-expect: maybe-all-tcl
36785 all-expect: maybe-all-tk
36786 configure-itcl: maybe-configure-tcl
36787 configure-itcl: maybe-configure-tk
36788 all-itcl: maybe-all-tcl
36789 all-itcl: maybe-all-tk
36790 install-itcl: maybe-install-tcl
36791 configure-tk: maybe-configure-tcl
36792 all-tk: maybe-all-tcl
36793 all-sid: maybe-all-libiberty
36794 all-sid: maybe-all-bfd
36795 all-sid: maybe-all-opcodes
36796 all-sid: maybe-all-tcl
36797 all-sid: maybe-all-tk
36798 install-sid: maybe-install-tcl
36799 install-sid: maybe-install-tk
36800 all-sim: maybe-all-libiberty
36801 all-sim: maybe-all-bfd
36802 all-sim: maybe-all-opcodes
36803 all-sim: maybe-all-readline
36804 all-sim: maybe-configure-gdb
36805 all-fastjar: maybe-all-zlib
36806 all-fastjar: maybe-all-build-texinfo
36807 all-fastjar: maybe-all-libiberty
36808 all-autoconf: maybe-all-m4
36809 all-autoconf: maybe-all-build-texinfo
36810 all-automake: maybe-all-m4
36811 all-automake: maybe-all-build-texinfo
36812 all-automake: maybe-all-autoconf
36813 all-bison: maybe-all-intl
36814 all-bison: maybe-all-build-texinfo
36815 all-diff: maybe-all-intl
36816 all-diff: maybe-all-build-texinfo
36817 all-fileutils: maybe-all-intl
36818 all-fileutils: maybe-all-build-texinfo
36819 all-flex: maybe-all-build-bison
36820 all-flex: maybe-all-build-byacc
36821 all-flex: maybe-all-intl
36822 all-flex: maybe-all-m4
36823 all-flex: maybe-all-build-texinfo
36824 all-gzip: maybe-all-intl
36825 all-gzip: maybe-all-zlib
36826 all-gzip: maybe-all-build-texinfo
36827 all-hello: maybe-all-intl
36828 all-hello: maybe-all-build-texinfo
36829 all-m4: maybe-all-intl
36830 all-m4: maybe-all-build-texinfo
36831 all-make: maybe-all-intl
36832 all-make: maybe-all-build-texinfo
36833 all-patch: maybe-all-build-texinfo
36834 all-make: maybe-all-build-texinfo
36835 all-prms: maybe-all-libiberty
36836 all-recode: maybe-all-build-texinfo
36837 all-sed: maybe-all-build-texinfo
36838 all-send-pr: maybe-all-prms
36839 all-tar: maybe-all-build-texinfo
36840 all-uudecode: maybe-all-build-texinfo
36841 configure-target-boehm-gc: maybe-configure-target-qthreads
36842 configure-target-fastjar: maybe-configure-target-zlib
36843 all-target-fastjar: maybe-all-target-zlib
36844 all-target-fastjar: maybe-all-target-libiberty
36845 configure-target-libjava: maybe-configure-target-zlib
36846 configure-target-libjava: maybe-configure-target-boehm-gc
36847 configure-target-libjava: maybe-configure-target-qthreads
36848 configure-target-libjava: maybe-configure-target-libffi
36849 all-target-libjava: maybe-all-fastjar
36850 all-target-libjava: maybe-all-target-zlib
36851 all-target-libjava: maybe-all-target-boehm-gc
36852 all-target-libjava: maybe-all-target-qthreads
36853 all-target-libjava: maybe-all-target-libffi
36854 all-target-libobjc: maybe-all-target-libiberty
36855 all-target-libstdc++-v3: maybe-all-target-libiberty
36856 all-target-libgloss: maybe-configure-target-newlib
36857 all-target-winsup: maybe-all-target-libiberty
36858 all-target-winsup: maybe-all-target-libtermcap
36861 # Non-toplevel bootstrap rules must depend on several packages, to be built
36862 # before gcc. Another wart that will go away, hopefully soon.
36863 @if gcc-no-bootstrap
36865 all-prebootstrap: maybe-all-bfd
36866 all-prebootstrap: maybe-all-opcodes
36867 all-prebootstrap: maybe-all-binutils
36868 all-prebootstrap: maybe-all-gas
36869 all-prebootstrap: maybe-all-intl
36870 all-prebootstrap: maybe-all-ld
36871 all-prebootstrap: maybe-all-libcpp
36872 all-prebootstrap: maybe-all-libiberty
36873 all-prebootstrap: maybe-all-zlib
36874 @endif gcc-no-bootstrap
36876 GDB_TK = @GDB_TK@
36877 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
36879 # Serialization dependencies. Host configures don't work well in parallel to
36880 # each other, due to contention over config.cache. Target configures and
36881 # build configures are similar.
36882 @serialization_dependencies@
36884 # --------------------------------
36885 # Regenerating top level configury
36886 # --------------------------------
36888 # Multilib.out tells target dirs what multilibs they should build.
36889 # There is really only one copy. We use the 'timestamp' method to
36890 # work around various timestamp bugs on some systems.
36891 # We use move-if-change so that it's only considered updated when it
36892 # actually changes, because it has to depend on a phony target.
36893 multilib.out: maybe-all-gcc
36894 @r=`${PWD_COMMAND}`; export r; \
36895 echo "Checking multilib configuration..."; \
36896 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
36897 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
36899 # Rebuilding Makefile.in, using autogen.
36900 AUTOGEN = autogen
36901 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
36902 cd $(srcdir) && $(AUTOGEN) Makefile.def
36904 # Rebuilding Makefile.
36905 Makefile: $(srcdir)/Makefile.in config.status
36906 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
36908 config.status: configure
36909 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
36911 # Rebuilding configure.
36912 AUTOCONF = autoconf
36913 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
36914 cd $(srcdir) && $(AUTOCONF)
36916 # ------------------------------
36917 # Special directives to GNU Make
36918 # ------------------------------
36920 # Don't pass command-line variables to submakes.
36921 .NOEXPORT:
36922 MAKEOVERRIDES=
36924 # end of Makefile.in