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 # -------------------------------
28 build_alias=@build_alias@
30 host_alias=@host_alias@
32 target_alias=@target_alias@
35 program_transform_name = @program_transform_name@
38 exec_prefix = @exec_prefix@
44 libexecdir = @libexecdir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
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
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
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@
79 build_tooldir = @build_tooldir@
83 # This is the name of the environment variable used for the path to
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
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.
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
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.
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; \
159 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
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 = \
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 = \
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;
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
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.
247 CONFIGURED_BISON = @CONFIGURED_BISON@
248 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
249 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
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 ; \
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 # ---------------------------------------------
315 LIBCFLAGS = $(CFLAGS)
318 CXXFLAGS = @CXXFLAGS@
319 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
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 ; \
346 if [ '$(host)' = '$(target)' ] ; then \
349 echo $(CONFIGURED_AR_FOR_TARGET) ; \
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 ; \
361 if [ '$(host)' = '$(target)' ] ; then \
364 echo $(CONFIGURED_AS_FOR_TARGET) ; \
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/ ; \
374 if [ '$(host)' = '$(target)' ] ; then \
377 echo $(CONFIGURED_CC_FOR_TARGET) ; \
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' ' '; \
406 if [ '$(host)' = '$(target)' ] ; then \
409 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
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; \
418 if [ '$(host)' = '$(target)' ] ; then \
421 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
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 ; \
434 if [ '$(host)' = '$(target)' ] ; then \
437 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
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 ; \
447 if [ '$(host)' = '$(target)' ] ; then \
450 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
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 ; \
461 if [ '$(host)' = '$(target)' ] ; then \
464 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
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 ; \
476 if [ '$(host)' = '$(target)' ] ; then \
479 echo $(CONFIGURED_LD_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 \
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 ; \
506 if [ '$(host)' = '$(target)' ] ; then \
509 echo $(CONFIGURED_NM_FOR_TARGET) ; \
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 ; \
519 if [ '$(host)' = '$(target)' ] ; then \
520 if [ x'$(RANLIB)' != x ]; then \
526 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
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 ; \
536 if [ '$(host)' = '$(target)' ] ; then \
537 if [ x'$(STRIP)' != x ]; then \
543 echo $(CONFIGURED_STRIP_FOR_TARGET) ; \
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 ; \
553 if [ '$(host)' = '$(target)' ] ; then \
556 echo $(CONFIGURED_WINDRES_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.
570 #### host and target specific makefile fragments come in here.
571 @target_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
590 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
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
601 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
606 HOST_LIB_PATH_bfd = \
607 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
611 HOST_LIB_PATH_opcodes = \
612 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-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)" \
622 "datadir=$(datadir)" \
623 "exec_prefix=$(exec_prefix)" \
624 "includedir=$(includedir)" \
625 "infodir=$(infodir)" \
627 "libexecdir=$(libexecdir)" \
628 "lispdir=$(lispdir)" \
629 "localstatedir=$(localstatedir)" \
631 "oldincludedir=$(oldincludedir)" \
633 "sbindir=$(sbindir)" \
634 "sharedstatedir=$(sharedstatedir)" \
635 "sysconfdir=$(sysconfdir)" \
636 "tooldir=$(tooldir)" \
637 "build_tooldir=$(build_tooldir)" \
638 "target_alias=$(target_alias)" \
640 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
641 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
642 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
645 "INSTALL=$(INSTALL)" \
646 "INSTALL_DATA=$(INSTALL_DATA)" \
647 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
648 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
652 "RUNTEST=$(RUNTEST)" \
653 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
656 "AR_FLAGS=$(AR_FLAGS)" \
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.
694 'DLLTOOL=$(DLLTOOL)' \
700 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
702 # Flags that are concerned with the location of the X11 include 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
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.
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
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 \
792 maybe-configure-libcpp \
793 maybe-configure-libgui \
794 maybe-configure-libiberty \
795 maybe-configure-libtool \
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 \
823 maybe-configure-libtermcap \
824 maybe-configure-utils \
825 maybe-configure-gnattools
826 .PHONY: 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.
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; \
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; \
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
873 maybe-all-build-libiberty \
874 maybe-all-build-bison \
875 maybe-all-build-byacc \
876 maybe-all-build-flex \
878 maybe-all-build-texinfo \
879 maybe-all-build-fixincludes
897 maybe-all-fileutils \
898 maybe-all-findutils \
900 maybe-all-fixincludes \
917 maybe-all-libiberty \
931 maybe-all-shellutils \
936 maybe-all-textutils \
946 maybe-all-libtermcap \
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).
979 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
987 maybe-info-autoconf \
988 maybe-info-automake \
992 maybe-info-binutils \
998 maybe-info-dosutils \
1000 maybe-info-fastjar \
1001 maybe-info-fileutils \
1002 maybe-info-findutils \
1004 maybe-info-fixincludes \
1009 maybe-info-gettext \
1010 maybe-info-gnuserv \
1021 maybe-info-libiberty \
1022 maybe-info-libtool \
1025 maybe-info-mmalloc \
1030 maybe-info-readline \
1031 maybe-info-release \
1034 maybe-info-send-pr \
1035 maybe-info-shellutils \
1039 maybe-info-texinfo \
1040 maybe-info-textutils \
1042 maybe-info-uudecode \
1050 maybe-info-libtermcap \
1052 maybe-info-gnattools
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
1079 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1087 maybe-dvi-autoconf \
1088 maybe-dvi-automake \
1092 maybe-dvi-binutils \
1098 maybe-dvi-dosutils \
1101 maybe-dvi-fileutils \
1102 maybe-dvi-findutils \
1104 maybe-dvi-fixincludes \
1121 maybe-dvi-libiberty \
1130 maybe-dvi-readline \
1135 maybe-dvi-shellutils \
1140 maybe-dvi-textutils \
1142 maybe-dvi-uudecode \
1150 maybe-dvi-libtermcap \
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
1179 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1187 maybe-html-autoconf \
1188 maybe-html-automake \
1191 maybe-html-opcodes \
1192 maybe-html-binutils \
1196 maybe-html-dejagnu \
1198 maybe-html-dosutils \
1200 maybe-html-fastjar \
1201 maybe-html-fileutils \
1202 maybe-html-findutils \
1204 maybe-html-fixincludes \
1209 maybe-html-gettext \
1210 maybe-html-gnuserv \
1221 maybe-html-libiberty \
1222 maybe-html-libtool \
1225 maybe-html-mmalloc \
1230 maybe-html-readline \
1231 maybe-html-release \
1234 maybe-html-send-pr \
1235 maybe-html-shellutils \
1239 maybe-html-texinfo \
1240 maybe-html-textutils \
1242 maybe-html-uudecode \
1250 maybe-html-libtermcap \
1252 maybe-html-gnattools
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
1279 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1287 maybe-TAGS-autoconf \
1288 maybe-TAGS-automake \
1291 maybe-TAGS-opcodes \
1292 maybe-TAGS-binutils \
1296 maybe-TAGS-dejagnu \
1298 maybe-TAGS-dosutils \
1300 maybe-TAGS-fastjar \
1301 maybe-TAGS-fileutils \
1302 maybe-TAGS-findutils \
1304 maybe-TAGS-fixincludes \
1309 maybe-TAGS-gettext \
1310 maybe-TAGS-gnuserv \
1321 maybe-TAGS-libiberty \
1322 maybe-TAGS-libtool \
1325 maybe-TAGS-mmalloc \
1330 maybe-TAGS-readline \
1331 maybe-TAGS-release \
1334 maybe-TAGS-send-pr \
1335 maybe-TAGS-shellutils \
1339 maybe-TAGS-texinfo \
1340 maybe-TAGS-textutils \
1342 maybe-TAGS-uudecode \
1350 maybe-TAGS-libtermcap \
1352 maybe-TAGS-gnattools
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
1379 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
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
1479 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
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
1579 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1584 .PHONY: 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
1679 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1687 maybe-clean-autoconf \
1688 maybe-clean-automake \
1691 maybe-clean-opcodes \
1692 maybe-clean-binutils \
1696 maybe-clean-dejagnu \
1698 maybe-clean-dosutils \
1700 maybe-clean-fastjar \
1701 maybe-clean-fileutils \
1702 maybe-clean-findutils \
1704 maybe-clean-fixincludes \
1709 maybe-clean-gettext \
1710 maybe-clean-gnuserv \
1714 maybe-clean-indent \
1719 maybe-clean-libcpp \
1720 maybe-clean-libgui \
1721 maybe-clean-libiberty \
1722 maybe-clean-libtool \
1725 maybe-clean-mmalloc \
1730 maybe-clean-readline \
1731 maybe-clean-release \
1732 maybe-clean-recode \
1734 maybe-clean-send-pr \
1735 maybe-clean-shellutils \
1739 maybe-clean-texinfo \
1740 maybe-clean-textutils \
1742 maybe-clean-uudecode \
1747 maybe-clean-expect \
1750 maybe-clean-libtermcap \
1752 maybe-clean-gnattools
1754 .PHONY: 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
1779 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1784 .PHONY: 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
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:
1879 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1880 maintainer-clean-target
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
1983 installcheck: do-installcheck
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 ; \
1998 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
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); \
2006 -rm -rf $(BUILD_SUBDIR)
2007 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2008 rm -rf $(HOST_SUBDIR); \
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
2034 -rm -f gcc/stmp-dirs
2038 .PHONY: check do-check
2041 # Only include modules actually being configured and built.
2045 maybe-check-autoconf \
2046 maybe-check-automake \
2049 maybe-check-opcodes \
2050 maybe-check-binutils \
2054 maybe-check-dejagnu \
2056 maybe-check-dosutils \
2058 maybe-check-fastjar \
2059 maybe-check-fileutils \
2060 maybe-check-findutils \
2062 maybe-check-fixincludes \
2067 maybe-check-gettext \
2068 maybe-check-gnuserv \
2072 maybe-check-indent \
2077 maybe-check-libcpp \
2078 maybe-check-libgui \
2079 maybe-check-libiberty \
2080 maybe-check-libtool \
2083 maybe-check-mmalloc \
2088 maybe-check-readline \
2089 maybe-check-release \
2090 maybe-check-recode \
2092 maybe-check-send-pr \
2093 maybe-check-shellutils \
2097 maybe-check-texinfo \
2098 maybe-check-textutils \
2100 maybe-check-uudecode \
2105 maybe-check-expect \
2108 maybe-check-libtermcap \
2110 maybe-check-gnattools
2112 .PHONY: 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
2136 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2139 # Automated reporting of test results.
2141 warning.log: build.log
2142 $(srcdir)/contrib/warn_summary build.log > $@
2145 if test x'$(BOOT_CFLAGS)' != x''; then \
2146 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2148 $(srcdir)/contrib/test_summary -t >$@
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; \
2156 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2158 echo If you really want to send e-mail, run ./$@ now
2160 # Installation targets.
2162 .PHONY: install uninstall
2165 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2168 .PHONY: install-host-nogcc
2169 install-host-nogcc: \
2171 maybe-install-autoconf \
2172 maybe-install-automake \
2173 maybe-install-bash \
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 \
2184 maybe-install-fastjar \
2185 maybe-install-fileutils \
2186 maybe-install-findutils \
2187 maybe-install-find \
2188 maybe-install-fixincludes \
2189 maybe-install-flex \
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 \
2200 maybe-install-itcl \
2202 maybe-install-libcpp \
2203 maybe-install-libgui \
2204 maybe-install-libiberty \
2205 maybe-install-libtool \
2207 maybe-install-make \
2208 maybe-install-mmalloc \
2209 maybe-install-patch \
2210 maybe-install-perl \
2211 maybe-install-prms \
2213 maybe-install-readline \
2214 maybe-install-release \
2215 maybe-install-recode \
2217 maybe-install-send-pr \
2218 maybe-install-shellutils \
2222 maybe-install-texinfo \
2223 maybe-install-textutils \
2224 maybe-install-time \
2225 maybe-install-uudecode \
2226 maybe-install-wdiff \
2228 maybe-install-zlib \
2230 maybe-install-expect \
2231 maybe-install-guile \
2233 maybe-install-libtermcap \
2234 maybe-install-utils \
2235 maybe-install-gnattools
2237 .PHONY: install-host
2240 maybe-install-autoconf \
2241 maybe-install-automake \
2242 maybe-install-bash \
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 \
2253 maybe-install-fastjar \
2254 maybe-install-fileutils \
2255 maybe-install-findutils \
2256 maybe-install-find \
2257 maybe-install-fixincludes \
2258 maybe-install-flex \
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 \
2270 maybe-install-itcl \
2272 maybe-install-libcpp \
2273 maybe-install-libgui \
2274 maybe-install-libiberty \
2275 maybe-install-libtool \
2277 maybe-install-make \
2278 maybe-install-mmalloc \
2279 maybe-install-patch \
2280 maybe-install-perl \
2281 maybe-install-prms \
2283 maybe-install-readline \
2284 maybe-install-release \
2285 maybe-install-recode \
2287 maybe-install-send-pr \
2288 maybe-install-shellutils \
2292 maybe-install-texinfo \
2293 maybe-install-textutils \
2294 maybe-install-time \
2295 maybe-install-uudecode \
2296 maybe-install-wdiff \
2298 maybe-install-zlib \
2300 maybe-install-expect \
2301 maybe-install-guile \
2303 maybe-install-libtermcap \
2304 maybe-install-utils \
2305 maybe-install-gnattools
2307 .PHONY: 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
2330 @echo "the uninstall target is not supported in this tree"
2333 install.all: install-no-fixedincludes
2334 @if [ -f ./gcc/Makefile ] ; then \
2335 r=`${PWD_COMMAND}` ; export r ; \
2338 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
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
2352 $(DESTDIR)$(prefix) \
2353 $(DESTDIR)$(exec_prefix)
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 ; \
2366 @echo "Building a full distribution of this tree isn't done"
2367 @echo "via 'make dist'. Check out the etc/ subdirectory"
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
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:
2395 maybe-configure-build-libiberty: configure-build-libiberty
2396 configure-build-libiberty:
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; \
2403 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2404 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2407 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
2416 @endif build-libiberty
2422 .PHONY: all-build-libiberty maybe-all-build-libiberty
2423 maybe-all-build-libiberty:
2425 TARGET-build-libiberty=all
2426 maybe-all-build-libiberty: all-build-libiberty
2427 all-build-libiberty: configure-build-libiberty
2429 @r=`${PWD_COMMAND}`; export r; \
2430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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:
2443 maybe-configure-build-bison: configure-build-bison
2444 configure-build-bison:
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; \
2451 echo Configuring in $(BUILD_SUBDIR)/bison; \
2452 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2455 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
2470 .PHONY: all-build-bison maybe-all-build-bison
2471 maybe-all-build-bison:
2473 TARGET-build-bison=all
2474 maybe-all-build-bison: all-build-bison
2475 all-build-bison: configure-build-bison
2477 @r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2480 (cd $(BUILD_SUBDIR)/bison && \
2481 $(MAKE) $(TARGET-build-bison))
2488 .PHONY: configure-build-byacc maybe-configure-build-byacc
2489 maybe-configure-build-byacc:
2491 maybe-configure-build-byacc: configure-build-byacc
2492 configure-build-byacc:
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; \
2499 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2500 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2503 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
2518 .PHONY: all-build-byacc maybe-all-build-byacc
2519 maybe-all-build-byacc:
2521 TARGET-build-byacc=all
2522 maybe-all-build-byacc: all-build-byacc
2523 all-build-byacc: configure-build-byacc
2525 @r=`${PWD_COMMAND}`; export r; \
2526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2528 (cd $(BUILD_SUBDIR)/byacc && \
2529 $(MAKE) $(TARGET-build-byacc))
2536 .PHONY: configure-build-flex maybe-configure-build-flex
2537 maybe-configure-build-flex:
2539 maybe-configure-build-flex: configure-build-flex
2540 configure-build-flex:
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; \
2547 echo Configuring in $(BUILD_SUBDIR)/flex; \
2548 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2551 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
2566 .PHONY: all-build-flex maybe-all-build-flex
2567 maybe-all-build-flex:
2569 TARGET-build-flex=all
2570 maybe-all-build-flex: all-build-flex
2571 all-build-flex: configure-build-flex
2573 @r=`${PWD_COMMAND}`; export r; \
2574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 (cd $(BUILD_SUBDIR)/flex && \
2577 $(MAKE) $(TARGET-build-flex))
2584 .PHONY: configure-build-m4 maybe-configure-build-m4
2585 maybe-configure-build-m4:
2587 maybe-configure-build-m4: configure-build-m4
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; \
2595 echo Configuring in $(BUILD_SUBDIR)/m4; \
2596 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2599 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
2614 .PHONY: all-build-m4 maybe-all-build-m4
2618 maybe-all-build-m4: all-build-m4
2619 all-build-m4: configure-build-m4
2621 @r=`${PWD_COMMAND}`; export r; \
2622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2624 (cd $(BUILD_SUBDIR)/m4 && \
2625 $(MAKE) $(TARGET-build-m4))
2632 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2633 maybe-configure-build-texinfo:
2635 maybe-configure-build-texinfo: configure-build-texinfo
2636 configure-build-texinfo:
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; \
2643 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2644 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2647 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
2656 @endif build-texinfo
2662 .PHONY: all-build-texinfo maybe-all-build-texinfo
2663 maybe-all-build-texinfo:
2665 TARGET-build-texinfo=all
2666 maybe-all-build-texinfo: all-build-texinfo
2667 all-build-texinfo: configure-build-texinfo
2669 @r=`${PWD_COMMAND}`; export r; \
2670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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:
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; \
2691 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2692 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2695 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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} \
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
2717 @r=`${PWD_COMMAND}`; export r; \
2718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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:
2736 maybe-configure-ash: configure-ash
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; \
2744 echo Configuring in $(HOST_SUBDIR)/ash; \
2745 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2748 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2751 srcdiroption="--srcdir=$${topdir}/ash"; \
2752 libsrcdir="$$s/ash"; \
2753 $(SHELL) $${libsrcdir}/configure \
2754 $(HOST_CONFIGARGS) $${srcdiroption} \
2762 .PHONY: all-ash maybe-all-ash
2766 maybe-all-ash: all-ash
2767 all-ash: configure-ash
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2772 (cd $(HOST_SUBDIR)/ash && \
2773 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2779 .PHONY: check-ash maybe-check-ash
2782 maybe-check-ash: check-ash
2786 @r=`${PWD_COMMAND}`; export r; \
2787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 (cd $(HOST_SUBDIR)/ash && \
2790 $(MAKE) $(FLAGS_TO_PASS) check)
2794 .PHONY: install-ash maybe-install-ash
2797 maybe-install-ash: install-ash
2799 install-ash: installdirs
2801 @r=`${PWD_COMMAND}`; export r; \
2802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804 (cd $(HOST_SUBDIR)/ash && \
2805 $(MAKE) $(FLAGS_TO_PASS) install)
2809 # Other targets (info, dvi, etc.)
2811 .PHONY: maybe-info-ash info-ash
2814 maybe-info-ash: info-ash
2819 @[ -f ./ash/Makefile ] || exit 0; \
2820 r=`${PWD_COMMAND}`; export r; \
2821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2823 for flag in $(EXTRA_HOST_FLAGS) ; do \
2824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2837 .PHONY: maybe-dvi-ash dvi-ash
2840 maybe-dvi-ash: dvi-ash
2845 @[ -f ./ash/Makefile ] || exit 0; \
2846 r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 for flag in $(EXTRA_HOST_FLAGS) ; do \
2850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2863 .PHONY: maybe-html-ash html-ash
2866 maybe-html-ash: html-ash
2871 @[ -f ./ash/Makefile ] || exit 0; \
2872 r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2875 for flag in $(EXTRA_HOST_FLAGS) ; do \
2876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2889 .PHONY: maybe-TAGS-ash TAGS-ash
2892 maybe-TAGS-ash: TAGS-ash
2897 @[ -f ./ash/Makefile ] || exit 0; \
2898 r=`${PWD_COMMAND}`; export r; \
2899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901 for flag in $(EXTRA_HOST_FLAGS) ; do \
2902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2915 .PHONY: maybe-install-info-ash install-info-ash
2916 maybe-install-info-ash:
2918 maybe-install-info-ash: install-info-ash
2924 @[ -f ./ash/Makefile ] || exit 0; \
2925 r=`${PWD_COMMAND}`; export r; \
2926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2928 for flag in $(EXTRA_HOST_FLAGS) ; do \
2929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2942 .PHONY: maybe-installcheck-ash installcheck-ash
2943 maybe-installcheck-ash:
2945 maybe-installcheck-ash: installcheck-ash
2950 @[ -f ./ash/Makefile ] || exit 0; \
2951 r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2954 for flag in $(EXTRA_HOST_FLAGS) ; do \
2955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2968 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2969 maybe-mostlyclean-ash:
2971 maybe-mostlyclean-ash: mostlyclean-ash
2975 @[ -f ./ash/Makefile ] || exit 0; \
2976 r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 for flag in $(EXTRA_HOST_FLAGS) ; do \
2980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
2993 .PHONY: maybe-clean-ash clean-ash
2996 maybe-clean-ash: clean-ash
3000 @[ -f ./ash/Makefile ] || exit 0; \
3001 r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3018 .PHONY: maybe-distclean-ash distclean-ash
3019 maybe-distclean-ash:
3021 maybe-distclean-ash: distclean-ash
3025 @[ -f ./ash/Makefile ] || exit 0; \
3026 r=`${PWD_COMMAND}`; export r; \
3027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 for flag in $(EXTRA_HOST_FLAGS) ; do \
3030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3043 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3044 maybe-maintainer-clean-ash:
3046 maybe-maintainer-clean-ash: maintainer-clean-ash
3048 maintainer-clean-ash:
3050 @[ -f ./ash/Makefile ] || exit 0; \
3051 r=`${PWD_COMMAND}`; export r; \
3052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3054 for flag in $(EXTRA_HOST_FLAGS) ; do \
3055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3070 .PHONY: configure-autoconf maybe-configure-autoconf
3071 maybe-configure-autoconf:
3073 maybe-configure-autoconf: configure-autoconf
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; \
3081 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3082 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3085 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3088 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3089 libsrcdir="$$s/autoconf"; \
3090 $(SHELL) $${libsrcdir}/configure \
3091 $(HOST_CONFIGARGS) $${srcdiroption} \
3099 .PHONY: all-autoconf maybe-all-autoconf
3103 maybe-all-autoconf: all-autoconf
3104 all-autoconf: configure-autoconf
3106 @r=`${PWD_COMMAND}`; export r; \
3107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 (cd $(HOST_SUBDIR)/autoconf && \
3110 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3116 .PHONY: check-autoconf maybe-check-autoconf
3117 maybe-check-autoconf:
3119 maybe-check-autoconf: check-autoconf
3123 @r=`${PWD_COMMAND}`; export r; \
3124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3126 (cd $(HOST_SUBDIR)/autoconf && \
3127 $(MAKE) $(FLAGS_TO_PASS) check)
3131 .PHONY: install-autoconf maybe-install-autoconf
3132 maybe-install-autoconf:
3134 maybe-install-autoconf: install-autoconf
3136 install-autoconf: installdirs
3138 @r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3141 (cd $(HOST_SUBDIR)/autoconf && \
3142 $(MAKE) $(FLAGS_TO_PASS) install)
3146 # Other targets (info, dvi, etc.)
3148 .PHONY: maybe-info-autoconf info-autoconf
3149 maybe-info-autoconf:
3151 maybe-info-autoconf: info-autoconf
3156 @[ -f ./autoconf/Makefile ] || exit 0; \
3157 r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 for flag in $(EXTRA_HOST_FLAGS) ; do \
3161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3174 .PHONY: maybe-dvi-autoconf dvi-autoconf
3177 maybe-dvi-autoconf: dvi-autoconf
3182 @[ -f ./autoconf/Makefile ] || exit 0; \
3183 r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3186 for flag in $(EXTRA_HOST_FLAGS) ; do \
3187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3200 .PHONY: maybe-html-autoconf html-autoconf
3201 maybe-html-autoconf:
3203 maybe-html-autoconf: html-autoconf
3208 @[ -f ./autoconf/Makefile ] || exit 0; \
3209 r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3212 for flag in $(EXTRA_HOST_FLAGS) ; do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3226 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3227 maybe-TAGS-autoconf:
3229 maybe-TAGS-autoconf: TAGS-autoconf
3234 @[ -f ./autoconf/Makefile ] || exit 0; \
3235 r=`${PWD_COMMAND}`; export r; \
3236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3238 for flag in $(EXTRA_HOST_FLAGS) ; do \
3239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3252 .PHONY: maybe-install-info-autoconf install-info-autoconf
3253 maybe-install-info-autoconf:
3255 maybe-install-info-autoconf: install-info-autoconf
3257 install-info-autoconf: \
3258 configure-autoconf \
3261 @[ -f ./autoconf/Makefile ] || exit 0; \
3262 r=`${PWD_COMMAND}`; export r; \
3263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3265 for flag in $(EXTRA_HOST_FLAGS) ; do \
3266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3279 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3280 maybe-installcheck-autoconf:
3282 maybe-installcheck-autoconf: installcheck-autoconf
3284 installcheck-autoconf: \
3287 @[ -f ./autoconf/Makefile ] || exit 0; \
3288 r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3291 for flag in $(EXTRA_HOST_FLAGS) ; do \
3292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3305 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3306 maybe-mostlyclean-autoconf:
3308 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3310 mostlyclean-autoconf:
3312 @[ -f ./autoconf/Makefile ] || exit 0; \
3313 r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3316 for flag in $(EXTRA_HOST_FLAGS) ; do \
3317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3330 .PHONY: maybe-clean-autoconf clean-autoconf
3331 maybe-clean-autoconf:
3333 maybe-clean-autoconf: clean-autoconf
3337 @[ -f ./autoconf/Makefile ] || exit 0; \
3338 r=`${PWD_COMMAND}`; export r; \
3339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3341 for flag in $(EXTRA_HOST_FLAGS) ; do \
3342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3355 .PHONY: maybe-distclean-autoconf distclean-autoconf
3356 maybe-distclean-autoconf:
3358 maybe-distclean-autoconf: distclean-autoconf
3362 @[ -f ./autoconf/Makefile ] || exit 0; \
3363 r=`${PWD_COMMAND}`; export r; \
3364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3366 for flag in $(EXTRA_HOST_FLAGS) ; do \
3367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3380 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3381 maybe-maintainer-clean-autoconf:
3383 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3385 maintainer-clean-autoconf:
3387 @[ -f ./autoconf/Makefile ] || exit 0; \
3388 r=`${PWD_COMMAND}`; export r; \
3389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3391 for flag in $(EXTRA_HOST_FLAGS) ; do \
3392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3407 .PHONY: configure-automake maybe-configure-automake
3408 maybe-configure-automake:
3410 maybe-configure-automake: configure-automake
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; \
3418 echo Configuring in $(HOST_SUBDIR)/automake; \
3419 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3422 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3425 srcdiroption="--srcdir=$${topdir}/automake"; \
3426 libsrcdir="$$s/automake"; \
3427 $(SHELL) $${libsrcdir}/configure \
3428 $(HOST_CONFIGARGS) $${srcdiroption} \
3436 .PHONY: all-automake maybe-all-automake
3440 maybe-all-automake: all-automake
3441 all-automake: configure-automake
3443 @r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3446 (cd $(HOST_SUBDIR)/automake && \
3447 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3453 .PHONY: check-automake maybe-check-automake
3454 maybe-check-automake:
3456 maybe-check-automake: check-automake
3460 @r=`${PWD_COMMAND}`; export r; \
3461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3463 (cd $(HOST_SUBDIR)/automake && \
3464 $(MAKE) $(FLAGS_TO_PASS) check)
3468 .PHONY: install-automake maybe-install-automake
3469 maybe-install-automake:
3471 maybe-install-automake: install-automake
3473 install-automake: installdirs
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 (cd $(HOST_SUBDIR)/automake && \
3479 $(MAKE) $(FLAGS_TO_PASS) install)
3483 # Other targets (info, dvi, etc.)
3485 .PHONY: maybe-info-automake info-automake
3486 maybe-info-automake:
3488 maybe-info-automake: info-automake
3493 @[ -f ./automake/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3497 for flag in $(EXTRA_HOST_FLAGS) ; do \
3498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3511 .PHONY: maybe-dvi-automake dvi-automake
3514 maybe-dvi-automake: dvi-automake
3519 @[ -f ./automake/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3523 for flag in $(EXTRA_HOST_FLAGS) ; do \
3524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3537 .PHONY: maybe-html-automake html-automake
3538 maybe-html-automake:
3540 maybe-html-automake: html-automake
3545 @[ -f ./automake/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3549 for flag in $(EXTRA_HOST_FLAGS) ; do \
3550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3563 .PHONY: maybe-TAGS-automake TAGS-automake
3564 maybe-TAGS-automake:
3566 maybe-TAGS-automake: TAGS-automake
3571 @[ -f ./automake/Makefile ] || exit 0; \
3572 r=`${PWD_COMMAND}`; export r; \
3573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575 for flag in $(EXTRA_HOST_FLAGS) ; do \
3576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3589 .PHONY: maybe-install-info-automake install-info-automake
3590 maybe-install-info-automake:
3592 maybe-install-info-automake: install-info-automake
3594 install-info-automake: \
3595 configure-automake \
3598 @[ -f ./automake/Makefile ] || exit 0; \
3599 r=`${PWD_COMMAND}`; export r; \
3600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 for flag in $(EXTRA_HOST_FLAGS) ; do \
3603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3616 .PHONY: maybe-installcheck-automake installcheck-automake
3617 maybe-installcheck-automake:
3619 maybe-installcheck-automake: installcheck-automake
3621 installcheck-automake: \
3624 @[ -f ./automake/Makefile ] || exit 0; \
3625 r=`${PWD_COMMAND}`; export r; \
3626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 for flag in $(EXTRA_HOST_FLAGS) ; do \
3629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3642 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3643 maybe-mostlyclean-automake:
3645 maybe-mostlyclean-automake: mostlyclean-automake
3647 mostlyclean-automake:
3649 @[ -f ./automake/Makefile ] || exit 0; \
3650 r=`${PWD_COMMAND}`; export r; \
3651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3667 .PHONY: maybe-clean-automake clean-automake
3668 maybe-clean-automake:
3670 maybe-clean-automake: clean-automake
3674 @[ -f ./automake/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3692 .PHONY: maybe-distclean-automake distclean-automake
3693 maybe-distclean-automake:
3695 maybe-distclean-automake: distclean-automake
3699 @[ -f ./automake/Makefile ] || exit 0; \
3700 r=`${PWD_COMMAND}`; export r; \
3701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 for flag in $(EXTRA_HOST_FLAGS) ; do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3717 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3718 maybe-maintainer-clean-automake:
3720 maybe-maintainer-clean-automake: maintainer-clean-automake
3722 maintainer-clean-automake:
3724 @[ -f ./automake/Makefile ] || exit 0; \
3725 r=`${PWD_COMMAND}`; export r; \
3726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 for flag in $(EXTRA_HOST_FLAGS) ; do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3744 .PHONY: configure-bash maybe-configure-bash
3745 maybe-configure-bash:
3747 maybe-configure-bash: configure-bash
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; \
3755 echo Configuring in $(HOST_SUBDIR)/bash; \
3756 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3759 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3762 srcdiroption="--srcdir=$${topdir}/bash"; \
3763 libsrcdir="$$s/bash"; \
3764 $(SHELL) $${libsrcdir}/configure \
3765 $(HOST_CONFIGARGS) $${srcdiroption} \
3773 .PHONY: all-bash maybe-all-bash
3777 maybe-all-bash: all-bash
3778 all-bash: configure-bash
3780 @r=`${PWD_COMMAND}`; export r; \
3781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783 (cd $(HOST_SUBDIR)/bash && \
3784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3790 .PHONY: check-bash maybe-check-bash
3793 maybe-check-bash: check-bash
3797 @r=`${PWD_COMMAND}`; export r; \
3798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 (cd $(HOST_SUBDIR)/bash && \
3801 $(MAKE) $(FLAGS_TO_PASS) check)
3805 .PHONY: install-bash maybe-install-bash
3808 maybe-install-bash: install-bash
3810 install-bash: installdirs
3812 @r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3815 (cd $(HOST_SUBDIR)/bash && \
3816 $(MAKE) $(FLAGS_TO_PASS) install)
3820 # Other targets (info, dvi, etc.)
3822 .PHONY: maybe-info-bash info-bash
3825 maybe-info-bash: info-bash
3830 @[ -f ./bash/Makefile ] || exit 0; \
3831 r=`${PWD_COMMAND}`; export r; \
3832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3834 for flag in $(EXTRA_HOST_FLAGS) ; do \
3835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3848 .PHONY: maybe-dvi-bash dvi-bash
3851 maybe-dvi-bash: dvi-bash
3856 @[ -f ./bash/Makefile ] || exit 0; \
3857 r=`${PWD_COMMAND}`; export r; \
3858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3860 for flag in $(EXTRA_HOST_FLAGS) ; do \
3861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3874 .PHONY: maybe-html-bash html-bash
3877 maybe-html-bash: html-bash
3882 @[ -f ./bash/Makefile ] || exit 0; \
3883 r=`${PWD_COMMAND}`; export r; \
3884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3886 for flag in $(EXTRA_HOST_FLAGS) ; do \
3887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3900 .PHONY: maybe-TAGS-bash TAGS-bash
3903 maybe-TAGS-bash: TAGS-bash
3908 @[ -f ./bash/Makefile ] || exit 0; \
3909 r=`${PWD_COMMAND}`; export r; \
3910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3912 for flag in $(EXTRA_HOST_FLAGS) ; do \
3913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3926 .PHONY: maybe-install-info-bash install-info-bash
3927 maybe-install-info-bash:
3929 maybe-install-info-bash: install-info-bash
3931 install-info-bash: \
3935 @[ -f ./bash/Makefile ] || exit 0; \
3936 r=`${PWD_COMMAND}`; export r; \
3937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3939 for flag in $(EXTRA_HOST_FLAGS) ; do \
3940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3953 .PHONY: maybe-installcheck-bash installcheck-bash
3954 maybe-installcheck-bash:
3956 maybe-installcheck-bash: installcheck-bash
3958 installcheck-bash: \
3961 @[ -f ./bash/Makefile ] || exit 0; \
3962 r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3965 for flag in $(EXTRA_HOST_FLAGS) ; do \
3966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
3979 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3980 maybe-mostlyclean-bash:
3982 maybe-mostlyclean-bash: mostlyclean-bash
3986 @[ -f ./bash/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4004 .PHONY: maybe-clean-bash clean-bash
4007 maybe-clean-bash: clean-bash
4011 @[ -f ./bash/Makefile ] || exit 0; \
4012 r=`${PWD_COMMAND}`; export r; \
4013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4015 for flag in $(EXTRA_HOST_FLAGS) ; do \
4016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4029 .PHONY: maybe-distclean-bash distclean-bash
4030 maybe-distclean-bash:
4032 maybe-distclean-bash: distclean-bash
4036 @[ -f ./bash/Makefile ] || exit 0; \
4037 r=`${PWD_COMMAND}`; export r; \
4038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4040 for flag in $(EXTRA_HOST_FLAGS) ; do \
4041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4054 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4055 maybe-maintainer-clean-bash:
4057 maybe-maintainer-clean-bash: maintainer-clean-bash
4059 maintainer-clean-bash:
4061 @[ -f ./bash/Makefile ] || exit 0; \
4062 r=`${PWD_COMMAND}`; export r; \
4063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4065 for flag in $(EXTRA_HOST_FLAGS) ; do \
4066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4081 .PHONY: configure-bfd maybe-configure-bfd
4082 maybe-configure-bfd:
4084 maybe-configure-bfd: 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; \
4092 echo Configuring in $(HOST_SUBDIR)/bfd; \
4093 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4096 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4099 srcdiroption="--srcdir=$${topdir}/bfd"; \
4100 libsrcdir="$$s/bfd"; \
4101 $(SHELL) $${libsrcdir}/configure \
4102 $(HOST_CONFIGARGS) $${srcdiroption} \
4108 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4109 maybe-configure-stage1-bfd:
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; \
4118 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4119 cd $(HOST_SUBDIR)/bfd || exit 1; \
4121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4122 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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:
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; \
4142 $(POSTSTAGE1_HOST_EXPORTS) \
4143 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4144 cd $(HOST_SUBDIR)/bfd || exit 1; \
4146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4147 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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:
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; \
4167 $(POSTSTAGE1_HOST_EXPORTS) \
4168 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4169 cd $(HOST_SUBDIR)/bfd || exit 1; \
4171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4172 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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:
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; \
4192 $(POSTSTAGE1_HOST_EXPORTS) \
4193 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4194 cd $(HOST_SUBDIR)/bfd || exit 1; \
4196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4197 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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:
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; \
4217 $(POSTSTAGE1_HOST_EXPORTS) \
4218 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4219 cd $(HOST_SUBDIR)/bfd || exit 1; \
4221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4222 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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:
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; \
4242 $(POSTSTAGE1_HOST_EXPORTS) \
4243 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4244 cd $(HOST_SUBDIR)/bfd || exit 1; \
4246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4247 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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
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; \
4271 (cd $(HOST_SUBDIR)/bfd && \
4272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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:
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; \
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
4297 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
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:
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; \
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
4327 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4329 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4330 cd $(HOST_SUBDIR)/bfd && \
4331 $(MAKE) $(FLAGS_TO_PASS) \
4332 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
4358 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4360 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4361 cd $(HOST_SUBDIR)/bfd && \
4362 $(MAKE) $(FLAGS_TO_PASS) \
4363 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
4389 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4391 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4392 cd $(HOST_SUBDIR)/bfd && \
4393 $(MAKE) $(FLAGS_TO_PASS) \
4394 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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 ] \
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:
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; \
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 ] \
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
4467 maybe-check-bfd: check-bfd
4471 @r=`${PWD_COMMAND}`; export r; \
4472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4474 (cd $(HOST_SUBDIR)/bfd && \
4475 $(MAKE) $(FLAGS_TO_PASS) check)
4479 .PHONY: install-bfd maybe-install-bfd
4482 maybe-install-bfd: install-bfd
4484 install-bfd: installdirs
4486 @r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4489 (cd $(HOST_SUBDIR)/bfd && \
4490 $(MAKE) $(FLAGS_TO_PASS) install)
4494 # Other targets (info, dvi, etc.)
4496 .PHONY: maybe-info-bfd info-bfd
4499 maybe-info-bfd: info-bfd
4503 @[ -f ./bfd/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4507 for flag in $(EXTRA_HOST_FLAGS) ; do \
4508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4521 .PHONY: maybe-dvi-bfd dvi-bfd
4524 maybe-dvi-bfd: dvi-bfd
4528 @[ -f ./bfd/Makefile ] || exit 0; \
4529 r=`${PWD_COMMAND}`; export r; \
4530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532 for flag in $(EXTRA_HOST_FLAGS) ; do \
4533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4546 .PHONY: maybe-html-bfd html-bfd
4549 maybe-html-bfd: html-bfd
4553 @[ -f ./bfd/Makefile ] || exit 0; \
4554 r=`${PWD_COMMAND}`; export r; \
4555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4557 for flag in $(EXTRA_HOST_FLAGS) ; do \
4558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4571 .PHONY: maybe-TAGS-bfd TAGS-bfd
4574 maybe-TAGS-bfd: TAGS-bfd
4578 @[ -f ./bfd/Makefile ] || exit 0; \
4579 r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582 for flag in $(EXTRA_HOST_FLAGS) ; do \
4583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4596 .PHONY: maybe-install-info-bfd install-info-bfd
4597 maybe-install-info-bfd:
4599 maybe-install-info-bfd: install-info-bfd
4604 @[ -f ./bfd/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4608 for flag in $(EXTRA_HOST_FLAGS) ; do \
4609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4622 .PHONY: maybe-installcheck-bfd installcheck-bfd
4623 maybe-installcheck-bfd:
4625 maybe-installcheck-bfd: installcheck-bfd
4629 @[ -f ./bfd/Makefile ] || exit 0; \
4630 r=`${PWD_COMMAND}`; export r; \
4631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 for flag in $(EXTRA_HOST_FLAGS) ; do \
4634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4647 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4648 maybe-mostlyclean-bfd:
4650 maybe-mostlyclean-bfd: mostlyclean-bfd
4653 @[ -f ./bfd/Makefile ] || exit 0; \
4654 r=`${PWD_COMMAND}`; export r; \
4655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4657 for flag in $(EXTRA_HOST_FLAGS) ; do \
4658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4671 .PHONY: maybe-clean-bfd clean-bfd
4674 maybe-clean-bfd: clean-bfd
4677 @[ -f ./bfd/Makefile ] || exit 0; \
4678 r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 for flag in $(EXTRA_HOST_FLAGS) ; do \
4682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4695 .PHONY: maybe-distclean-bfd distclean-bfd
4696 maybe-distclean-bfd:
4698 maybe-distclean-bfd: distclean-bfd
4701 @[ -f ./bfd/Makefile ] || exit 0; \
4702 r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4705 for flag in $(EXTRA_HOST_FLAGS) ; do \
4706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4719 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4720 maybe-maintainer-clean-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; \
4729 for flag in $(EXTRA_HOST_FLAGS) ; do \
4730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
4745 .PHONY: configure-opcodes maybe-configure-opcodes
4746 maybe-configure-opcodes:
4748 maybe-configure-opcodes: 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; \
4756 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4757 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4760 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4763 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4764 libsrcdir="$$s/opcodes"; \
4765 $(SHELL) $${libsrcdir}/configure \
4766 $(HOST_CONFIGARGS) $${srcdiroption} \
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; \
4782 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4783 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4786 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
4806 $(POSTSTAGE1_HOST_EXPORTS) \
4807 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4808 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4811 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
4831 $(POSTSTAGE1_HOST_EXPORTS) \
4832 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4833 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4836 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
4856 $(POSTSTAGE1_HOST_EXPORTS) \
4857 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4858 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4861 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
4881 $(POSTSTAGE1_HOST_EXPORTS) \
4882 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4883 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4886 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
4906 $(POSTSTAGE1_HOST_EXPORTS) \
4907 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4908 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4911 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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
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; \
4935 (cd $(HOST_SUBDIR)/opcodes && \
4936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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; \
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 ] \
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; \
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 ] \
4993 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4994 cd $(HOST_SUBDIR)/opcodes && \
4995 $(MAKE) $(FLAGS_TO_PASS) \
4996 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
5024 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5025 cd $(HOST_SUBDIR)/opcodes && \
5026 $(MAKE) $(FLAGS_TO_PASS) \
5027 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
5055 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5056 cd $(HOST_SUBDIR)/opcodes && \
5057 $(MAKE) $(FLAGS_TO_PASS) \
5058 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
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; \
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 ] \
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:
5131 maybe-check-opcodes: check-opcodes
5135 @r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5138 (cd $(HOST_SUBDIR)/opcodes && \
5139 $(MAKE) $(FLAGS_TO_PASS) check)
5143 .PHONY: install-opcodes maybe-install-opcodes
5144 maybe-install-opcodes:
5146 maybe-install-opcodes: install-opcodes
5148 install-opcodes: installdirs
5150 @r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5153 (cd $(HOST_SUBDIR)/opcodes && \
5154 $(MAKE) $(FLAGS_TO_PASS) install)
5158 # Other targets (info, dvi, etc.)
5160 .PHONY: maybe-info-opcodes info-opcodes
5163 maybe-info-opcodes: info-opcodes
5167 @[ -f ./opcodes/Makefile ] || exit 0; \
5168 r=`${PWD_COMMAND}`; export r; \
5169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5171 for flag in $(EXTRA_HOST_FLAGS) ; do \
5172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5185 .PHONY: maybe-dvi-opcodes dvi-opcodes
5188 maybe-dvi-opcodes: dvi-opcodes
5192 @[ -f ./opcodes/Makefile ] || exit 0; \
5193 r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5196 for flag in $(EXTRA_HOST_FLAGS) ; do \
5197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5210 .PHONY: maybe-html-opcodes html-opcodes
5213 maybe-html-opcodes: html-opcodes
5217 @[ -f ./opcodes/Makefile ] || exit 0; \
5218 r=`${PWD_COMMAND}`; export r; \
5219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 for flag in $(EXTRA_HOST_FLAGS) ; do \
5222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5235 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5238 maybe-TAGS-opcodes: TAGS-opcodes
5242 @[ -f ./opcodes/Makefile ] || exit 0; \
5243 r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246 for flag in $(EXTRA_HOST_FLAGS) ; do \
5247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5260 .PHONY: maybe-install-info-opcodes install-info-opcodes
5261 maybe-install-info-opcodes:
5263 maybe-install-info-opcodes: install-info-opcodes
5265 install-info-opcodes: \
5268 @[ -f ./opcodes/Makefile ] || exit 0; \
5269 r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 for flag in $(EXTRA_HOST_FLAGS) ; do \
5273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5286 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5287 maybe-installcheck-opcodes:
5289 maybe-installcheck-opcodes: installcheck-opcodes
5291 installcheck-opcodes: \
5293 @[ -f ./opcodes/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 for flag in $(EXTRA_HOST_FLAGS) ; do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5311 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5312 maybe-mostlyclean-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; \
5321 for flag in $(EXTRA_HOST_FLAGS) ; do \
5322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5335 .PHONY: maybe-clean-opcodes clean-opcodes
5336 maybe-clean-opcodes:
5338 maybe-clean-opcodes: clean-opcodes
5341 @[ -f ./opcodes/Makefile ] || exit 0; \
5342 r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345 for flag in $(EXTRA_HOST_FLAGS) ; do \
5346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5359 .PHONY: maybe-distclean-opcodes distclean-opcodes
5360 maybe-distclean-opcodes:
5362 maybe-distclean-opcodes: distclean-opcodes
5365 @[ -f ./opcodes/Makefile ] || exit 0; \
5366 r=`${PWD_COMMAND}`; export r; \
5367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 for flag in $(EXTRA_HOST_FLAGS) ; do \
5370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5383 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5384 maybe-maintainer-clean-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; \
5393 for flag in $(EXTRA_HOST_FLAGS) ; do \
5394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5409 .PHONY: configure-binutils maybe-configure-binutils
5410 maybe-configure-binutils:
5412 maybe-configure-binutils: 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; \
5420 echo Configuring in $(HOST_SUBDIR)/binutils; \
5421 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5424 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5427 srcdiroption="--srcdir=$${topdir}/binutils"; \
5428 libsrcdir="$$s/binutils"; \
5429 $(SHELL) $${libsrcdir}/configure \
5430 $(HOST_CONFIGARGS) $${srcdiroption} \
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; \
5446 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5447 cd $(HOST_SUBDIR)/binutils || exit 1; \
5449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5450 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
5470 $(POSTSTAGE1_HOST_EXPORTS) \
5471 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5472 cd $(HOST_SUBDIR)/binutils || exit 1; \
5474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5475 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
5495 $(POSTSTAGE1_HOST_EXPORTS) \
5496 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5497 cd $(HOST_SUBDIR)/binutils || exit 1; \
5499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5500 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
5520 $(POSTSTAGE1_HOST_EXPORTS) \
5521 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5522 cd $(HOST_SUBDIR)/binutils || exit 1; \
5524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5525 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
5545 $(POSTSTAGE1_HOST_EXPORTS) \
5546 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5547 cd $(HOST_SUBDIR)/binutils || exit 1; \
5549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5550 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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; \
5570 $(POSTSTAGE1_HOST_EXPORTS) \
5571 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5572 cd $(HOST_SUBDIR)/binutils || exit 1; \
5574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5575 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
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
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; \
5599 (cd $(HOST_SUBDIR)/binutils && \
5600 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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; \
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 ] \
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; \
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 ] \
5657 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5658 cd $(HOST_SUBDIR)/binutils && \
5659 $(MAKE) $(FLAGS_TO_PASS) \
5660 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
5688 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5689 cd $(HOST_SUBDIR)/binutils && \
5690 $(MAKE) $(FLAGS_TO_PASS) \
5691 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
5719 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5720 cd $(HOST_SUBDIR)/binutils && \
5721 $(MAKE) $(FLAGS_TO_PASS) \
5722 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
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; \
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 ] \
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:
5795 maybe-check-binutils: check-binutils
5799 @r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5802 (cd $(HOST_SUBDIR)/binutils && \
5803 $(MAKE) $(FLAGS_TO_PASS) check)
5807 .PHONY: install-binutils maybe-install-binutils
5808 maybe-install-binutils:
5810 maybe-install-binutils: install-binutils
5812 install-binutils: installdirs
5814 @r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 (cd $(HOST_SUBDIR)/binutils && \
5818 $(MAKE) $(FLAGS_TO_PASS) install)
5822 # Other targets (info, dvi, etc.)
5824 .PHONY: maybe-info-binutils info-binutils
5825 maybe-info-binutils:
5827 maybe-info-binutils: info-binutils
5831 @[ -f ./binutils/Makefile ] || exit 0; \
5832 r=`${PWD_COMMAND}`; export r; \
5833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5835 for flag in $(EXTRA_HOST_FLAGS) ; do \
5836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5849 .PHONY: maybe-dvi-binutils dvi-binutils
5852 maybe-dvi-binutils: dvi-binutils
5856 @[ -f ./binutils/Makefile ] || exit 0; \
5857 r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5860 for flag in $(EXTRA_HOST_FLAGS) ; do \
5861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5874 .PHONY: maybe-html-binutils html-binutils
5875 maybe-html-binutils:
5877 maybe-html-binutils: html-binutils
5881 @[ -f ./binutils/Makefile ] || exit 0; \
5882 r=`${PWD_COMMAND}`; export r; \
5883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5885 for flag in $(EXTRA_HOST_FLAGS) ; do \
5886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5899 .PHONY: maybe-TAGS-binutils TAGS-binutils
5900 maybe-TAGS-binutils:
5902 maybe-TAGS-binutils: TAGS-binutils
5906 @[ -f ./binutils/Makefile ] || exit 0; \
5907 r=`${PWD_COMMAND}`; export r; \
5908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5910 for flag in $(EXTRA_HOST_FLAGS) ; do \
5911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5924 .PHONY: maybe-install-info-binutils install-info-binutils
5925 maybe-install-info-binutils:
5927 maybe-install-info-binutils: install-info-binutils
5929 install-info-binutils: \
5930 configure-binutils \
5932 @[ -f ./binutils/Makefile ] || exit 0; \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5936 for flag in $(EXTRA_HOST_FLAGS) ; do \
5937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5950 .PHONY: maybe-installcheck-binutils installcheck-binutils
5951 maybe-installcheck-binutils:
5953 maybe-installcheck-binutils: installcheck-binutils
5955 installcheck-binutils: \
5957 @[ -f ./binutils/Makefile ] || exit 0; \
5958 r=`${PWD_COMMAND}`; export r; \
5959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 for flag in $(EXTRA_HOST_FLAGS) ; do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5975 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5976 maybe-mostlyclean-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; \
5985 for flag in $(EXTRA_HOST_FLAGS) ; do \
5986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
5999 .PHONY: maybe-clean-binutils clean-binutils
6000 maybe-clean-binutils:
6002 maybe-clean-binutils: clean-binutils
6005 @[ -f ./binutils/Makefile ] || exit 0; \
6006 r=`${PWD_COMMAND}`; export r; \
6007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 for flag in $(EXTRA_HOST_FLAGS) ; do \
6010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6023 .PHONY: maybe-distclean-binutils distclean-binutils
6024 maybe-distclean-binutils:
6026 maybe-distclean-binutils: distclean-binutils
6029 @[ -f ./binutils/Makefile ] || exit 0; \
6030 r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 for flag in $(EXTRA_HOST_FLAGS) ; do \
6034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6047 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6048 maybe-maintainer-clean-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; \
6057 for flag in $(EXTRA_HOST_FLAGS) ; do \
6058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6073 .PHONY: configure-bison maybe-configure-bison
6074 maybe-configure-bison:
6076 maybe-configure-bison: configure-bison
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; \
6084 echo Configuring in $(HOST_SUBDIR)/bison; \
6085 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6088 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6091 srcdiroption="--srcdir=$${topdir}/bison"; \
6092 libsrcdir="$$s/bison"; \
6093 $(SHELL) $${libsrcdir}/configure \
6094 $(HOST_CONFIGARGS) $${srcdiroption} \
6102 .PHONY: all-bison maybe-all-bison
6106 maybe-all-bison: all-bison
6107 all-bison: configure-bison
6109 @r=`${PWD_COMMAND}`; export r; \
6110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6112 (cd $(HOST_SUBDIR)/bison && \
6113 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6119 .PHONY: check-bison maybe-check-bison
6122 maybe-check-bison: check-bison
6124 # This module is only tested in a native toolchain.
6127 @if [ '$(host)' = '$(target)' ] ; then \
6128 r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6131 (cd $(HOST_SUBDIR)/bison && \
6132 $(MAKE) $(FLAGS_TO_PASS) check); \
6137 .PHONY: install-bison maybe-install-bison
6138 maybe-install-bison:
6140 maybe-install-bison: install-bison
6142 install-bison: installdirs
6144 @r=`${PWD_COMMAND}`; export r; \
6145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6147 (cd $(HOST_SUBDIR)/bison && \
6148 $(MAKE) $(FLAGS_TO_PASS) install)
6152 # Other targets (info, dvi, etc.)
6154 .PHONY: maybe-info-bison info-bison
6157 maybe-info-bison: info-bison
6162 @[ -f ./bison/Makefile ] || exit 0; \
6163 r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6166 for flag in $(EXTRA_HOST_FLAGS) ; do \
6167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6180 .PHONY: maybe-dvi-bison dvi-bison
6183 maybe-dvi-bison: dvi-bison
6188 @[ -f ./bison/Makefile ] || exit 0; \
6189 r=`${PWD_COMMAND}`; export r; \
6190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 for flag in $(EXTRA_HOST_FLAGS) ; do \
6193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6206 .PHONY: maybe-html-bison html-bison
6209 maybe-html-bison: html-bison
6214 @[ -f ./bison/Makefile ] || exit 0; \
6215 r=`${PWD_COMMAND}`; export r; \
6216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6218 for flag in $(EXTRA_HOST_FLAGS) ; do \
6219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6232 .PHONY: maybe-TAGS-bison TAGS-bison
6235 maybe-TAGS-bison: TAGS-bison
6240 @[ -f ./bison/Makefile ] || exit 0; \
6241 r=`${PWD_COMMAND}`; export r; \
6242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6244 for flag in $(EXTRA_HOST_FLAGS) ; do \
6245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6258 .PHONY: maybe-install-info-bison install-info-bison
6259 maybe-install-info-bison:
6261 maybe-install-info-bison: install-info-bison
6263 install-info-bison: \
6267 @[ -f ./bison/Makefile ] || exit 0; \
6268 r=`${PWD_COMMAND}`; export r; \
6269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6271 for flag in $(EXTRA_HOST_FLAGS) ; do \
6272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6285 .PHONY: maybe-installcheck-bison installcheck-bison
6286 maybe-installcheck-bison:
6288 maybe-installcheck-bison: installcheck-bison
6290 installcheck-bison: \
6293 @[ -f ./bison/Makefile ] || exit 0; \
6294 r=`${PWD_COMMAND}`; export r; \
6295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6297 for flag in $(EXTRA_HOST_FLAGS) ; do \
6298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6311 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6312 maybe-mostlyclean-bison:
6314 maybe-mostlyclean-bison: mostlyclean-bison
6318 @[ -f ./bison/Makefile ] || exit 0; \
6319 r=`${PWD_COMMAND}`; export r; \
6320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6322 for flag in $(EXTRA_HOST_FLAGS) ; do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6336 .PHONY: maybe-clean-bison clean-bison
6339 maybe-clean-bison: clean-bison
6343 @[ -f ./bison/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6361 .PHONY: maybe-distclean-bison distclean-bison
6362 maybe-distclean-bison:
6364 maybe-distclean-bison: distclean-bison
6368 @[ -f ./bison/Makefile ] || exit 0; \
6369 r=`${PWD_COMMAND}`; export r; \
6370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 for flag in $(EXTRA_HOST_FLAGS) ; do \
6373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6386 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6387 maybe-maintainer-clean-bison:
6389 maybe-maintainer-clean-bison: maintainer-clean-bison
6391 maintainer-clean-bison:
6393 @[ -f ./bison/Makefile ] || exit 0; \
6394 r=`${PWD_COMMAND}`; export r; \
6395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6397 for flag in $(EXTRA_HOST_FLAGS) ; do \
6398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6413 .PHONY: configure-byacc maybe-configure-byacc
6414 maybe-configure-byacc:
6416 maybe-configure-byacc: configure-byacc
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; \
6424 echo Configuring in $(HOST_SUBDIR)/byacc; \
6425 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6428 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6431 srcdiroption="--srcdir=$${topdir}/byacc"; \
6432 libsrcdir="$$s/byacc"; \
6433 $(SHELL) $${libsrcdir}/configure \
6434 $(HOST_CONFIGARGS) $${srcdiroption} \
6442 .PHONY: all-byacc maybe-all-byacc
6446 maybe-all-byacc: all-byacc
6447 all-byacc: configure-byacc
6449 @r=`${PWD_COMMAND}`; export r; \
6450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452 (cd $(HOST_SUBDIR)/byacc && \
6453 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6459 .PHONY: check-byacc maybe-check-byacc
6462 maybe-check-byacc: check-byacc
6464 # This module is only tested in a native toolchain.
6467 @if [ '$(host)' = '$(target)' ] ; then \
6468 r=`${PWD_COMMAND}`; export r; \
6469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6471 (cd $(HOST_SUBDIR)/byacc && \
6472 $(MAKE) $(FLAGS_TO_PASS) check); \
6477 .PHONY: install-byacc maybe-install-byacc
6478 maybe-install-byacc:
6480 maybe-install-byacc: install-byacc
6482 install-byacc: installdirs
6484 @r=`${PWD_COMMAND}`; export r; \
6485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6487 (cd $(HOST_SUBDIR)/byacc && \
6488 $(MAKE) $(FLAGS_TO_PASS) install)
6492 # Other targets (info, dvi, etc.)
6494 .PHONY: maybe-info-byacc info-byacc
6497 maybe-info-byacc: info-byacc
6502 @[ -f ./byacc/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6520 .PHONY: maybe-dvi-byacc dvi-byacc
6523 maybe-dvi-byacc: dvi-byacc
6528 @[ -f ./byacc/Makefile ] || exit 0; \
6529 r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 for flag in $(EXTRA_HOST_FLAGS) ; do \
6533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6546 .PHONY: maybe-html-byacc html-byacc
6549 maybe-html-byacc: html-byacc
6554 @[ -f ./byacc/Makefile ] || exit 0; \
6555 r=`${PWD_COMMAND}`; export r; \
6556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6572 .PHONY: maybe-TAGS-byacc TAGS-byacc
6575 maybe-TAGS-byacc: TAGS-byacc
6580 @[ -f ./byacc/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6598 .PHONY: maybe-install-info-byacc install-info-byacc
6599 maybe-install-info-byacc:
6601 maybe-install-info-byacc: install-info-byacc
6603 install-info-byacc: \
6607 @[ -f ./byacc/Makefile ] || exit 0; \
6608 r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6625 .PHONY: maybe-installcheck-byacc installcheck-byacc
6626 maybe-installcheck-byacc:
6628 maybe-installcheck-byacc: installcheck-byacc
6630 installcheck-byacc: \
6633 @[ -f ./byacc/Makefile ] || exit 0; \
6634 r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6637 for flag in $(EXTRA_HOST_FLAGS) ; do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6651 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6652 maybe-mostlyclean-byacc:
6654 maybe-mostlyclean-byacc: mostlyclean-byacc
6658 @[ -f ./byacc/Makefile ] || exit 0; \
6659 r=`${PWD_COMMAND}`; export r; \
6660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6662 for flag in $(EXTRA_HOST_FLAGS) ; do \
6663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6676 .PHONY: maybe-clean-byacc clean-byacc
6679 maybe-clean-byacc: clean-byacc
6683 @[ -f ./byacc/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6701 .PHONY: maybe-distclean-byacc distclean-byacc
6702 maybe-distclean-byacc:
6704 maybe-distclean-byacc: distclean-byacc
6708 @[ -f ./byacc/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 for flag in $(EXTRA_HOST_FLAGS) ; do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6726 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6727 maybe-maintainer-clean-byacc:
6729 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6731 maintainer-clean-byacc:
6733 @[ -f ./byacc/Makefile ] || exit 0; \
6734 r=`${PWD_COMMAND}`; export r; \
6735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6737 for flag in $(EXTRA_HOST_FLAGS) ; do \
6738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6753 .PHONY: configure-bzip2 maybe-configure-bzip2
6754 maybe-configure-bzip2:
6756 maybe-configure-bzip2: configure-bzip2
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; \
6764 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6765 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6768 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6771 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6772 libsrcdir="$$s/bzip2"; \
6773 $(SHELL) $${libsrcdir}/configure \
6774 $(HOST_CONFIGARGS) $${srcdiroption} \
6782 .PHONY: all-bzip2 maybe-all-bzip2
6786 maybe-all-bzip2: all-bzip2
6787 all-bzip2: configure-bzip2
6789 @r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6792 (cd $(HOST_SUBDIR)/bzip2 && \
6793 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6799 .PHONY: check-bzip2 maybe-check-bzip2
6802 maybe-check-bzip2: check-bzip2
6806 @r=`${PWD_COMMAND}`; export r; \
6807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 (cd $(HOST_SUBDIR)/bzip2 && \
6810 $(MAKE) $(FLAGS_TO_PASS) check)
6814 .PHONY: install-bzip2 maybe-install-bzip2
6815 maybe-install-bzip2:
6817 maybe-install-bzip2: install-bzip2
6819 install-bzip2: installdirs
6821 @r=`${PWD_COMMAND}`; export r; \
6822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 (cd $(HOST_SUBDIR)/bzip2 && \
6825 $(MAKE) $(FLAGS_TO_PASS) install)
6829 # Other targets (info, dvi, etc.)
6831 .PHONY: maybe-info-bzip2 info-bzip2
6834 maybe-info-bzip2: info-bzip2
6839 @[ -f ./bzip2/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6857 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6860 maybe-dvi-bzip2: dvi-bzip2
6865 @[ -f ./bzip2/Makefile ] || exit 0; \
6866 r=`${PWD_COMMAND}`; export r; \
6867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869 for flag in $(EXTRA_HOST_FLAGS) ; do \
6870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6883 .PHONY: maybe-html-bzip2 html-bzip2
6886 maybe-html-bzip2: html-bzip2
6891 @[ -f ./bzip2/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6895 for flag in $(EXTRA_HOST_FLAGS) ; do \
6896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6909 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6912 maybe-TAGS-bzip2: TAGS-bzip2
6917 @[ -f ./bzip2/Makefile ] || exit 0; \
6918 r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6921 for flag in $(EXTRA_HOST_FLAGS) ; do \
6922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6935 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6936 maybe-install-info-bzip2:
6938 maybe-install-info-bzip2: install-info-bzip2
6940 install-info-bzip2: \
6944 @[ -f ./bzip2/Makefile ] || exit 0; \
6945 r=`${PWD_COMMAND}`; export r; \
6946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6948 for flag in $(EXTRA_HOST_FLAGS) ; do \
6949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6962 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6963 maybe-installcheck-bzip2:
6965 maybe-installcheck-bzip2: installcheck-bzip2
6967 installcheck-bzip2: \
6970 @[ -f ./bzip2/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
6988 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6989 maybe-mostlyclean-bzip2:
6991 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6995 @[ -f ./bzip2/Makefile ] || exit 0; \
6996 r=`${PWD_COMMAND}`; export r; \
6997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6999 for flag in $(EXTRA_HOST_FLAGS) ; do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7013 .PHONY: maybe-clean-bzip2 clean-bzip2
7016 maybe-clean-bzip2: clean-bzip2
7020 @[ -f ./bzip2/Makefile ] || exit 0; \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7038 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7039 maybe-distclean-bzip2:
7041 maybe-distclean-bzip2: distclean-bzip2
7045 @[ -f ./bzip2/Makefile ] || exit 0; \
7046 r=`${PWD_COMMAND}`; export r; \
7047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049 for flag in $(EXTRA_HOST_FLAGS) ; do \
7050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7063 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7064 maybe-maintainer-clean-bzip2:
7066 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7068 maintainer-clean-bzip2:
7070 @[ -f ./bzip2/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 for flag in $(EXTRA_HOST_FLAGS) ; do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7090 .PHONY: configure-dejagnu maybe-configure-dejagnu
7091 maybe-configure-dejagnu:
7093 maybe-configure-dejagnu: configure-dejagnu
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; \
7101 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7102 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7105 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7108 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7109 libsrcdir="$$s/dejagnu"; \
7110 $(SHELL) $${libsrcdir}/configure \
7111 $(HOST_CONFIGARGS) $${srcdiroption} \
7119 .PHONY: all-dejagnu maybe-all-dejagnu
7123 maybe-all-dejagnu: all-dejagnu
7124 all-dejagnu: configure-dejagnu
7126 @r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7129 (cd $(HOST_SUBDIR)/dejagnu && \
7130 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7136 .PHONY: check-dejagnu maybe-check-dejagnu
7137 maybe-check-dejagnu:
7139 maybe-check-dejagnu: check-dejagnu
7143 @r=`${PWD_COMMAND}`; export r; \
7144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7146 (cd $(HOST_SUBDIR)/dejagnu && \
7147 $(MAKE) $(FLAGS_TO_PASS) check)
7151 .PHONY: install-dejagnu maybe-install-dejagnu
7152 maybe-install-dejagnu:
7154 maybe-install-dejagnu: install-dejagnu
7156 install-dejagnu: installdirs
7158 @r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 (cd $(HOST_SUBDIR)/dejagnu && \
7162 $(MAKE) $(FLAGS_TO_PASS) install)
7166 # Other targets (info, dvi, etc.)
7168 .PHONY: maybe-info-dejagnu info-dejagnu
7171 maybe-info-dejagnu: info-dejagnu
7176 @[ -f ./dejagnu/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7194 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7197 maybe-dvi-dejagnu: dvi-dejagnu
7202 @[ -f ./dejagnu/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7220 .PHONY: maybe-html-dejagnu html-dejagnu
7223 maybe-html-dejagnu: html-dejagnu
7228 @[ -f ./dejagnu/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 for flag in $(EXTRA_HOST_FLAGS) ; do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7246 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7249 maybe-TAGS-dejagnu: TAGS-dejagnu
7254 @[ -f ./dejagnu/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7272 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7273 maybe-install-info-dejagnu:
7275 maybe-install-info-dejagnu: install-info-dejagnu
7277 install-info-dejagnu: \
7281 @[ -f ./dejagnu/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7299 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7300 maybe-installcheck-dejagnu:
7302 maybe-installcheck-dejagnu: installcheck-dejagnu
7304 installcheck-dejagnu: \
7307 @[ -f ./dejagnu/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7325 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7326 maybe-mostlyclean-dejagnu:
7328 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7330 mostlyclean-dejagnu:
7332 @[ -f ./dejagnu/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7350 .PHONY: maybe-clean-dejagnu clean-dejagnu
7351 maybe-clean-dejagnu:
7353 maybe-clean-dejagnu: clean-dejagnu
7357 @[ -f ./dejagnu/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7375 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7376 maybe-distclean-dejagnu:
7378 maybe-distclean-dejagnu: distclean-dejagnu
7382 @[ -f ./dejagnu/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7400 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7401 maybe-maintainer-clean-dejagnu:
7403 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7405 maintainer-clean-dejagnu:
7407 @[ -f ./dejagnu/Makefile ] || exit 0; \
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7411 for flag in $(EXTRA_HOST_FLAGS) ; do \
7412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7427 .PHONY: configure-diff maybe-configure-diff
7428 maybe-configure-diff:
7430 maybe-configure-diff: configure-diff
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; \
7438 echo Configuring in $(HOST_SUBDIR)/diff; \
7439 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7442 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7445 srcdiroption="--srcdir=$${topdir}/diff"; \
7446 libsrcdir="$$s/diff"; \
7447 $(SHELL) $${libsrcdir}/configure \
7448 $(HOST_CONFIGARGS) $${srcdiroption} \
7456 .PHONY: all-diff maybe-all-diff
7460 maybe-all-diff: all-diff
7461 all-diff: configure-diff
7463 @r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 (cd $(HOST_SUBDIR)/diff && \
7467 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7473 .PHONY: check-diff maybe-check-diff
7476 maybe-check-diff: check-diff
7480 @r=`${PWD_COMMAND}`; export r; \
7481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7483 (cd $(HOST_SUBDIR)/diff && \
7484 $(MAKE) $(FLAGS_TO_PASS) check)
7488 .PHONY: install-diff maybe-install-diff
7491 maybe-install-diff: install-diff
7493 install-diff: installdirs
7495 @r=`${PWD_COMMAND}`; export r; \
7496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7498 (cd $(HOST_SUBDIR)/diff && \
7499 $(MAKE) $(FLAGS_TO_PASS) install)
7503 # Other targets (info, dvi, etc.)
7505 .PHONY: maybe-info-diff info-diff
7508 maybe-info-diff: info-diff
7513 @[ -f ./diff/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7531 .PHONY: maybe-dvi-diff dvi-diff
7534 maybe-dvi-diff: dvi-diff
7539 @[ -f ./diff/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7543 for flag in $(EXTRA_HOST_FLAGS) ; do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7557 .PHONY: maybe-html-diff html-diff
7560 maybe-html-diff: html-diff
7565 @[ -f ./diff/Makefile ] || exit 0; \
7566 r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7583 .PHONY: maybe-TAGS-diff TAGS-diff
7586 maybe-TAGS-diff: TAGS-diff
7591 @[ -f ./diff/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7595 for flag in $(EXTRA_HOST_FLAGS) ; do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7609 .PHONY: maybe-install-info-diff install-info-diff
7610 maybe-install-info-diff:
7612 maybe-install-info-diff: install-info-diff
7614 install-info-diff: \
7618 @[ -f ./diff/Makefile ] || exit 0; \
7619 r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622 for flag in $(EXTRA_HOST_FLAGS) ; do \
7623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7636 .PHONY: maybe-installcheck-diff installcheck-diff
7637 maybe-installcheck-diff:
7639 maybe-installcheck-diff: installcheck-diff
7641 installcheck-diff: \
7644 @[ -f ./diff/Makefile ] || exit 0; \
7645 r=`${PWD_COMMAND}`; export r; \
7646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7648 for flag in $(EXTRA_HOST_FLAGS) ; do \
7649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7662 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7663 maybe-mostlyclean-diff:
7665 maybe-mostlyclean-diff: mostlyclean-diff
7669 @[ -f ./diff/Makefile ] || exit 0; \
7670 r=`${PWD_COMMAND}`; export r; \
7671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 for flag in $(EXTRA_HOST_FLAGS) ; do \
7674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7687 .PHONY: maybe-clean-diff clean-diff
7690 maybe-clean-diff: clean-diff
7694 @[ -f ./diff/Makefile ] || exit 0; \
7695 r=`${PWD_COMMAND}`; export r; \
7696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7698 for flag in $(EXTRA_HOST_FLAGS) ; do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7712 .PHONY: maybe-distclean-diff distclean-diff
7713 maybe-distclean-diff:
7715 maybe-distclean-diff: distclean-diff
7719 @[ -f ./diff/Makefile ] || exit 0; \
7720 r=`${PWD_COMMAND}`; export r; \
7721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7723 for flag in $(EXTRA_HOST_FLAGS) ; do \
7724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7737 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7738 maybe-maintainer-clean-diff:
7740 maybe-maintainer-clean-diff: maintainer-clean-diff
7742 maintainer-clean-diff:
7744 @[ -f ./diff/Makefile ] || exit 0; \
7745 r=`${PWD_COMMAND}`; export r; \
7746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7748 for flag in $(EXTRA_HOST_FLAGS) ; do \
7749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7764 .PHONY: configure-dosutils maybe-configure-dosutils
7765 maybe-configure-dosutils:
7767 maybe-configure-dosutils: configure-dosutils
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; \
7775 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7776 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7779 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7782 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7783 libsrcdir="$$s/dosutils"; \
7784 $(SHELL) $${libsrcdir}/configure \
7785 $(HOST_CONFIGARGS) $${srcdiroption} \
7793 .PHONY: all-dosutils maybe-all-dosutils
7797 maybe-all-dosutils: all-dosutils
7798 all-dosutils: configure-dosutils
7800 @r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 (cd $(HOST_SUBDIR)/dosutils && \
7804 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7810 .PHONY: check-dosutils maybe-check-dosutils
7811 maybe-check-dosutils:
7813 maybe-check-dosutils: check-dosutils
7819 .PHONY: install-dosutils maybe-install-dosutils
7820 maybe-install-dosutils:
7822 maybe-install-dosutils: install-dosutils
7824 install-dosutils: installdirs
7826 @r=`${PWD_COMMAND}`; export r; \
7827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 (cd $(HOST_SUBDIR)/dosutils && \
7830 $(MAKE) $(FLAGS_TO_PASS) install)
7834 # Other targets (info, dvi, etc.)
7836 .PHONY: maybe-info-dosutils info-dosutils
7837 maybe-info-dosutils:
7839 maybe-info-dosutils: info-dosutils
7844 @[ -f ./dosutils/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7862 .PHONY: maybe-dvi-dosutils dvi-dosutils
7865 maybe-dvi-dosutils: dvi-dosutils
7870 @[ -f ./dosutils/Makefile ] || exit 0; \
7871 r=`${PWD_COMMAND}`; export r; \
7872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7874 for flag in $(EXTRA_HOST_FLAGS) ; do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7888 .PHONY: maybe-html-dosutils html-dosutils
7889 maybe-html-dosutils:
7891 maybe-html-dosutils: html-dosutils
7896 @[ -f ./dosutils/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7914 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7915 maybe-TAGS-dosutils:
7917 maybe-TAGS-dosutils: TAGS-dosutils
7922 @[ -f ./dosutils/Makefile ] || exit 0; \
7923 r=`${PWD_COMMAND}`; export r; \
7924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7940 .PHONY: maybe-install-info-dosutils install-info-dosutils
7941 maybe-install-info-dosutils:
7943 maybe-install-info-dosutils: install-info-dosutils
7945 install-info-dosutils: \
7946 configure-dosutils \
7949 @[ -f ./dosutils/Makefile ] || exit 0; \
7950 r=`${PWD_COMMAND}`; export r; \
7951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7953 for flag in $(EXTRA_HOST_FLAGS) ; do \
7954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7967 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7968 maybe-installcheck-dosutils:
7970 maybe-installcheck-dosutils: installcheck-dosutils
7972 installcheck-dosutils: \
7975 @[ -f ./dosutils/Makefile ] || exit 0; \
7976 r=`${PWD_COMMAND}`; export r; \
7977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7979 for flag in $(EXTRA_HOST_FLAGS) ; do \
7980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
7993 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7994 maybe-mostlyclean-dosutils:
7996 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7998 mostlyclean-dosutils:
8000 @[ -f ./dosutils/Makefile ] || exit 0; \
8001 r=`${PWD_COMMAND}`; export r; \
8002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8004 for flag in $(EXTRA_HOST_FLAGS) ; do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8018 .PHONY: maybe-clean-dosutils clean-dosutils
8019 maybe-clean-dosutils:
8021 maybe-clean-dosutils: clean-dosutils
8025 @[ -f ./dosutils/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8029 for flag in $(EXTRA_HOST_FLAGS) ; do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8043 .PHONY: maybe-distclean-dosutils distclean-dosutils
8044 maybe-distclean-dosutils:
8046 maybe-distclean-dosutils: distclean-dosutils
8050 @[ -f ./dosutils/Makefile ] || exit 0; \
8051 r=`${PWD_COMMAND}`; export r; \
8052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8054 for flag in $(EXTRA_HOST_FLAGS) ; do \
8055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8068 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8069 maybe-maintainer-clean-dosutils:
8071 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8073 maintainer-clean-dosutils:
8075 @[ -f ./dosutils/Makefile ] || exit 0; \
8076 r=`${PWD_COMMAND}`; export r; \
8077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8079 for flag in $(EXTRA_HOST_FLAGS) ; do \
8080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8095 .PHONY: configure-etc maybe-configure-etc
8096 maybe-configure-etc:
8098 maybe-configure-etc: configure-etc
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; \
8106 echo Configuring in $(HOST_SUBDIR)/etc; \
8107 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8110 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8113 srcdiroption="--srcdir=$${topdir}/etc"; \
8114 libsrcdir="$$s/etc"; \
8115 $(SHELL) $${libsrcdir}/configure \
8116 $(HOST_CONFIGARGS) $${srcdiroption} \
8124 .PHONY: all-etc maybe-all-etc
8128 maybe-all-etc: all-etc
8129 all-etc: configure-etc
8131 @r=`${PWD_COMMAND}`; export r; \
8132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 (cd $(HOST_SUBDIR)/etc && \
8135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8141 .PHONY: check-etc maybe-check-etc
8144 maybe-check-etc: check-etc
8148 @r=`${PWD_COMMAND}`; export r; \
8149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151 (cd $(HOST_SUBDIR)/etc && \
8152 $(MAKE) $(FLAGS_TO_PASS) check)
8156 .PHONY: install-etc maybe-install-etc
8159 maybe-install-etc: install-etc
8161 install-etc: installdirs
8163 @r=`${PWD_COMMAND}`; export r; \
8164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8166 (cd $(HOST_SUBDIR)/etc && \
8167 $(MAKE) $(FLAGS_TO_PASS) install)
8171 # Other targets (info, dvi, etc.)
8173 .PHONY: maybe-info-etc info-etc
8176 maybe-info-etc: info-etc
8181 @[ -f ./etc/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8199 .PHONY: maybe-dvi-etc dvi-etc
8202 maybe-dvi-etc: dvi-etc
8207 @[ -f ./etc/Makefile ] || exit 0; \
8208 r=`${PWD_COMMAND}`; export r; \
8209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 for flag in $(EXTRA_HOST_FLAGS) ; do \
8212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8225 .PHONY: maybe-html-etc html-etc
8228 maybe-html-etc: html-etc
8233 @[ -f ./etc/Makefile ] || exit 0; \
8234 r=`${PWD_COMMAND}`; export r; \
8235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237 for flag in $(EXTRA_HOST_FLAGS) ; do \
8238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8251 .PHONY: maybe-TAGS-etc TAGS-etc
8254 maybe-TAGS-etc: TAGS-etc
8259 @[ -f ./etc/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8277 .PHONY: maybe-install-info-etc install-info-etc
8278 maybe-install-info-etc:
8280 maybe-install-info-etc: install-info-etc
8286 @[ -f ./etc/Makefile ] || exit 0; \
8287 r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8290 for flag in $(EXTRA_HOST_FLAGS) ; do \
8291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8304 .PHONY: maybe-installcheck-etc installcheck-etc
8305 maybe-installcheck-etc:
8307 maybe-installcheck-etc: installcheck-etc
8312 @[ -f ./etc/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 for flag in $(EXTRA_HOST_FLAGS) ; do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8330 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8331 maybe-mostlyclean-etc:
8333 maybe-mostlyclean-etc: mostlyclean-etc
8337 @[ -f ./etc/Makefile ] || exit 0; \
8338 r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 for flag in $(EXTRA_HOST_FLAGS) ; do \
8342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8355 .PHONY: maybe-clean-etc clean-etc
8358 maybe-clean-etc: clean-etc
8362 @[ -f ./etc/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8380 .PHONY: maybe-distclean-etc distclean-etc
8381 maybe-distclean-etc:
8383 maybe-distclean-etc: distclean-etc
8387 @[ -f ./etc/Makefile ] || exit 0; \
8388 r=`${PWD_COMMAND}`; export r; \
8389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 for flag in $(EXTRA_HOST_FLAGS) ; do \
8392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8405 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8406 maybe-maintainer-clean-etc:
8408 maybe-maintainer-clean-etc: maintainer-clean-etc
8410 maintainer-clean-etc:
8412 @[ -f ./etc/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8432 .PHONY: configure-fastjar maybe-configure-fastjar
8433 maybe-configure-fastjar:
8435 maybe-configure-fastjar: configure-fastjar
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; \
8443 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8444 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8447 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8450 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8451 libsrcdir="$$s/fastjar"; \
8452 $(SHELL) $${libsrcdir}/configure \
8453 $(HOST_CONFIGARGS) $${srcdiroption} \
8461 .PHONY: all-fastjar maybe-all-fastjar
8465 maybe-all-fastjar: all-fastjar
8466 all-fastjar: configure-fastjar
8468 @r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8471 (cd $(HOST_SUBDIR)/fastjar && \
8472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8478 .PHONY: check-fastjar maybe-check-fastjar
8479 maybe-check-fastjar:
8481 maybe-check-fastjar: check-fastjar
8483 # This module is only tested in a native toolchain.
8486 @if [ '$(host)' = '$(target)' ] ; then \
8487 r=`${PWD_COMMAND}`; export r; \
8488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8490 (cd $(HOST_SUBDIR)/fastjar && \
8491 $(MAKE) $(FLAGS_TO_PASS) check); \
8496 .PHONY: install-fastjar maybe-install-fastjar
8497 maybe-install-fastjar:
8499 maybe-install-fastjar: install-fastjar
8501 install-fastjar: installdirs
8503 @r=`${PWD_COMMAND}`; export r; \
8504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8506 (cd $(HOST_SUBDIR)/fastjar && \
8507 $(MAKE) $(FLAGS_TO_PASS) install)
8511 # Other targets (info, dvi, etc.)
8513 .PHONY: maybe-info-fastjar info-fastjar
8516 maybe-info-fastjar: info-fastjar
8521 @[ -f ./fastjar/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8539 .PHONY: maybe-dvi-fastjar dvi-fastjar
8542 maybe-dvi-fastjar: dvi-fastjar
8547 @[ -f ./fastjar/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8565 .PHONY: maybe-html-fastjar html-fastjar
8568 maybe-html-fastjar: html-fastjar
8573 @[ -f ./fastjar/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8577 for flag in $(EXTRA_HOST_FLAGS) ; do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8591 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8594 maybe-TAGS-fastjar: TAGS-fastjar
8599 @[ -f ./fastjar/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8617 .PHONY: maybe-install-info-fastjar install-info-fastjar
8618 maybe-install-info-fastjar:
8620 maybe-install-info-fastjar: install-info-fastjar
8622 install-info-fastjar: \
8626 @[ -f ./fastjar/Makefile ] || exit 0; \
8627 r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8630 for flag in $(EXTRA_HOST_FLAGS) ; do \
8631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8644 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8645 maybe-installcheck-fastjar:
8647 maybe-installcheck-fastjar: installcheck-fastjar
8649 installcheck-fastjar: \
8652 @[ -f ./fastjar/Makefile ] || exit 0; \
8653 r=`${PWD_COMMAND}`; export r; \
8654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8656 for flag in $(EXTRA_HOST_FLAGS) ; do \
8657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8670 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8671 maybe-mostlyclean-fastjar:
8673 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8675 mostlyclean-fastjar:
8677 @[ -f ./fastjar/Makefile ] || exit 0; \
8678 r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8681 for flag in $(EXTRA_HOST_FLAGS) ; do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8695 .PHONY: maybe-clean-fastjar clean-fastjar
8696 maybe-clean-fastjar:
8698 maybe-clean-fastjar: clean-fastjar
8702 @[ -f ./fastjar/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8706 for flag in $(EXTRA_HOST_FLAGS) ; do \
8707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8720 .PHONY: maybe-distclean-fastjar distclean-fastjar
8721 maybe-distclean-fastjar:
8723 maybe-distclean-fastjar: distclean-fastjar
8727 @[ -f ./fastjar/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8731 for flag in $(EXTRA_HOST_FLAGS) ; do \
8732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8745 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8746 maybe-maintainer-clean-fastjar:
8748 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8750 maintainer-clean-fastjar:
8752 @[ -f ./fastjar/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8756 for flag in $(EXTRA_HOST_FLAGS) ; do \
8757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8772 .PHONY: configure-fileutils maybe-configure-fileutils
8773 maybe-configure-fileutils:
8775 maybe-configure-fileutils: configure-fileutils
8776 configure-fileutils:
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; \
8783 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8784 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8787 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8790 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8791 libsrcdir="$$s/fileutils"; \
8792 $(SHELL) $${libsrcdir}/configure \
8793 $(HOST_CONFIGARGS) $${srcdiroption} \
8801 .PHONY: all-fileutils maybe-all-fileutils
8802 maybe-all-fileutils:
8804 TARGET-fileutils=all
8805 maybe-all-fileutils: all-fileutils
8806 all-fileutils: configure-fileutils
8808 @r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8811 (cd $(HOST_SUBDIR)/fileutils && \
8812 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8818 .PHONY: check-fileutils maybe-check-fileutils
8819 maybe-check-fileutils:
8821 maybe-check-fileutils: check-fileutils
8825 @r=`${PWD_COMMAND}`; export r; \
8826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8828 (cd $(HOST_SUBDIR)/fileutils && \
8829 $(MAKE) $(FLAGS_TO_PASS) check)
8833 .PHONY: install-fileutils maybe-install-fileutils
8834 maybe-install-fileutils:
8836 maybe-install-fileutils: install-fileutils
8838 install-fileutils: installdirs
8840 @r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 (cd $(HOST_SUBDIR)/fileutils && \
8844 $(MAKE) $(FLAGS_TO_PASS) install)
8848 # Other targets (info, dvi, etc.)
8850 .PHONY: maybe-info-fileutils info-fileutils
8851 maybe-info-fileutils:
8853 maybe-info-fileutils: info-fileutils
8858 @[ -f ./fileutils/Makefile ] || exit 0; \
8859 r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8862 for flag in $(EXTRA_HOST_FLAGS) ; do \
8863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8876 .PHONY: maybe-dvi-fileutils dvi-fileutils
8877 maybe-dvi-fileutils:
8879 maybe-dvi-fileutils: dvi-fileutils
8884 @[ -f ./fileutils/Makefile ] || exit 0; \
8885 r=`${PWD_COMMAND}`; export r; \
8886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 for flag in $(EXTRA_HOST_FLAGS) ; do \
8889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8902 .PHONY: maybe-html-fileutils html-fileutils
8903 maybe-html-fileutils:
8905 maybe-html-fileutils: html-fileutils
8910 @[ -f ./fileutils/Makefile ] || exit 0; \
8911 r=`${PWD_COMMAND}`; export r; \
8912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 for flag in $(EXTRA_HOST_FLAGS) ; do \
8915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8928 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8929 maybe-TAGS-fileutils:
8931 maybe-TAGS-fileutils: TAGS-fileutils
8936 @[ -f ./fileutils/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8940 for flag in $(EXTRA_HOST_FLAGS) ; do \
8941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8954 .PHONY: maybe-install-info-fileutils install-info-fileutils
8955 maybe-install-info-fileutils:
8957 maybe-install-info-fileutils: install-info-fileutils
8959 install-info-fileutils: \
8960 configure-fileutils \
8963 @[ -f ./fileutils/Makefile ] || exit 0; \
8964 r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8967 for flag in $(EXTRA_HOST_FLAGS) ; do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
8981 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8982 maybe-installcheck-fileutils:
8984 maybe-installcheck-fileutils: installcheck-fileutils
8986 installcheck-fileutils: \
8989 @[ -f ./fileutils/Makefile ] || exit 0; \
8990 r=`${PWD_COMMAND}`; export r; \
8991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8993 for flag in $(EXTRA_HOST_FLAGS) ; do \
8994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9007 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9008 maybe-mostlyclean-fileutils:
9010 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9012 mostlyclean-fileutils:
9014 @[ -f ./fileutils/Makefile ] || exit 0; \
9015 r=`${PWD_COMMAND}`; export r; \
9016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9018 for flag in $(EXTRA_HOST_FLAGS) ; do \
9019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9032 .PHONY: maybe-clean-fileutils clean-fileutils
9033 maybe-clean-fileutils:
9035 maybe-clean-fileutils: clean-fileutils
9039 @[ -f ./fileutils/Makefile ] || exit 0; \
9040 r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 for flag in $(EXTRA_HOST_FLAGS) ; do \
9044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9057 .PHONY: maybe-distclean-fileutils distclean-fileutils
9058 maybe-distclean-fileutils:
9060 maybe-distclean-fileutils: distclean-fileutils
9062 distclean-fileutils:
9064 @[ -f ./fileutils/Makefile ] || exit 0; \
9065 r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9068 for flag in $(EXTRA_HOST_FLAGS) ; do \
9069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9082 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9083 maybe-maintainer-clean-fileutils:
9085 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9087 maintainer-clean-fileutils:
9089 @[ -f ./fileutils/Makefile ] || exit 0; \
9090 r=`${PWD_COMMAND}`; export r; \
9091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 for flag in $(EXTRA_HOST_FLAGS) ; do \
9094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9109 .PHONY: configure-findutils maybe-configure-findutils
9110 maybe-configure-findutils:
9112 maybe-configure-findutils: configure-findutils
9113 configure-findutils:
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; \
9120 echo Configuring in $(HOST_SUBDIR)/findutils; \
9121 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9124 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9127 srcdiroption="--srcdir=$${topdir}/findutils"; \
9128 libsrcdir="$$s/findutils"; \
9129 $(SHELL) $${libsrcdir}/configure \
9130 $(HOST_CONFIGARGS) $${srcdiroption} \
9138 .PHONY: all-findutils maybe-all-findutils
9139 maybe-all-findutils:
9141 TARGET-findutils=all
9142 maybe-all-findutils: all-findutils
9143 all-findutils: configure-findutils
9145 @r=`${PWD_COMMAND}`; export r; \
9146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 (cd $(HOST_SUBDIR)/findutils && \
9149 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9155 .PHONY: check-findutils maybe-check-findutils
9156 maybe-check-findutils:
9158 maybe-check-findutils: check-findutils
9162 @r=`${PWD_COMMAND}`; export r; \
9163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9165 (cd $(HOST_SUBDIR)/findutils && \
9166 $(MAKE) $(FLAGS_TO_PASS) check)
9170 .PHONY: install-findutils maybe-install-findutils
9171 maybe-install-findutils:
9173 maybe-install-findutils: install-findutils
9175 install-findutils: installdirs
9177 @r=`${PWD_COMMAND}`; export r; \
9178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 (cd $(HOST_SUBDIR)/findutils && \
9181 $(MAKE) $(FLAGS_TO_PASS) install)
9185 # Other targets (info, dvi, etc.)
9187 .PHONY: maybe-info-findutils info-findutils
9188 maybe-info-findutils:
9190 maybe-info-findutils: info-findutils
9195 @[ -f ./findutils/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9213 .PHONY: maybe-dvi-findutils dvi-findutils
9214 maybe-dvi-findutils:
9216 maybe-dvi-findutils: dvi-findutils
9221 @[ -f ./findutils/Makefile ] || exit 0; \
9222 r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 for flag in $(EXTRA_HOST_FLAGS) ; do \
9226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9239 .PHONY: maybe-html-findutils html-findutils
9240 maybe-html-findutils:
9242 maybe-html-findutils: html-findutils
9247 @[ -f ./findutils/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9265 .PHONY: maybe-TAGS-findutils TAGS-findutils
9266 maybe-TAGS-findutils:
9268 maybe-TAGS-findutils: TAGS-findutils
9273 @[ -f ./findutils/Makefile ] || exit 0; \
9274 r=`${PWD_COMMAND}`; export r; \
9275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9291 .PHONY: maybe-install-info-findutils install-info-findutils
9292 maybe-install-info-findutils:
9294 maybe-install-info-findutils: install-info-findutils
9296 install-info-findutils: \
9297 configure-findutils \
9300 @[ -f ./findutils/Makefile ] || exit 0; \
9301 r=`${PWD_COMMAND}`; export r; \
9302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304 for flag in $(EXTRA_HOST_FLAGS) ; do \
9305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9318 .PHONY: maybe-installcheck-findutils installcheck-findutils
9319 maybe-installcheck-findutils:
9321 maybe-installcheck-findutils: installcheck-findutils
9323 installcheck-findutils: \
9326 @[ -f ./findutils/Makefile ] || exit 0; \
9327 r=`${PWD_COMMAND}`; export r; \
9328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9330 for flag in $(EXTRA_HOST_FLAGS) ; do \
9331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9344 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9345 maybe-mostlyclean-findutils:
9347 maybe-mostlyclean-findutils: mostlyclean-findutils
9349 mostlyclean-findutils:
9351 @[ -f ./findutils/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9355 for flag in $(EXTRA_HOST_FLAGS) ; do \
9356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9369 .PHONY: maybe-clean-findutils clean-findutils
9370 maybe-clean-findutils:
9372 maybe-clean-findutils: clean-findutils
9376 @[ -f ./findutils/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9380 for flag in $(EXTRA_HOST_FLAGS) ; do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9394 .PHONY: maybe-distclean-findutils distclean-findutils
9395 maybe-distclean-findutils:
9397 maybe-distclean-findutils: distclean-findutils
9399 distclean-findutils:
9401 @[ -f ./findutils/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9405 for flag in $(EXTRA_HOST_FLAGS) ; do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9419 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9420 maybe-maintainer-clean-findutils:
9422 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9424 maintainer-clean-findutils:
9426 @[ -f ./findutils/Makefile ] || exit 0; \
9427 r=`${PWD_COMMAND}`; export r; \
9428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9430 for flag in $(EXTRA_HOST_FLAGS) ; do \
9431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9446 .PHONY: configure-find maybe-configure-find
9447 maybe-configure-find:
9449 maybe-configure-find: configure-find
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; \
9457 echo Configuring in $(HOST_SUBDIR)/find; \
9458 cd "$(HOST_SUBDIR)/find" || exit 1; \
9460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9461 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9464 srcdiroption="--srcdir=$${topdir}/find"; \
9465 libsrcdir="$$s/find"; \
9466 $(SHELL) $${libsrcdir}/configure \
9467 $(HOST_CONFIGARGS) $${srcdiroption} \
9475 .PHONY: all-find maybe-all-find
9479 maybe-all-find: all-find
9480 all-find: configure-find
9482 @r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9485 (cd $(HOST_SUBDIR)/find && \
9486 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9492 .PHONY: check-find maybe-check-find
9495 maybe-check-find: check-find
9499 @r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9502 (cd $(HOST_SUBDIR)/find && \
9503 $(MAKE) $(FLAGS_TO_PASS) check)
9507 .PHONY: install-find maybe-install-find
9510 maybe-install-find: install-find
9512 install-find: installdirs
9514 @r=`${PWD_COMMAND}`; export r; \
9515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 (cd $(HOST_SUBDIR)/find && \
9518 $(MAKE) $(FLAGS_TO_PASS) install)
9522 # Other targets (info, dvi, etc.)
9524 .PHONY: maybe-info-find info-find
9527 maybe-info-find: info-find
9532 @[ -f ./find/Makefile ] || exit 0; \
9533 r=`${PWD_COMMAND}`; export r; \
9534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536 for flag in $(EXTRA_HOST_FLAGS) ; do \
9537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9550 .PHONY: maybe-dvi-find dvi-find
9553 maybe-dvi-find: dvi-find
9558 @[ -f ./find/Makefile ] || exit 0; \
9559 r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9562 for flag in $(EXTRA_HOST_FLAGS) ; do \
9563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9576 .PHONY: maybe-html-find html-find
9579 maybe-html-find: html-find
9584 @[ -f ./find/Makefile ] || exit 0; \
9585 r=`${PWD_COMMAND}`; export r; \
9586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9588 for flag in $(EXTRA_HOST_FLAGS) ; do \
9589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9602 .PHONY: maybe-TAGS-find TAGS-find
9605 maybe-TAGS-find: TAGS-find
9610 @[ -f ./find/Makefile ] || exit 0; \
9611 r=`${PWD_COMMAND}`; export r; \
9612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 for flag in $(EXTRA_HOST_FLAGS) ; do \
9615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9628 .PHONY: maybe-install-info-find install-info-find
9629 maybe-install-info-find:
9631 maybe-install-info-find: install-info-find
9633 install-info-find: \
9637 @[ -f ./find/Makefile ] || exit 0; \
9638 r=`${PWD_COMMAND}`; export r; \
9639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9641 for flag in $(EXTRA_HOST_FLAGS) ; do \
9642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9655 .PHONY: maybe-installcheck-find installcheck-find
9656 maybe-installcheck-find:
9658 maybe-installcheck-find: installcheck-find
9660 installcheck-find: \
9663 @[ -f ./find/Makefile ] || exit 0; \
9664 r=`${PWD_COMMAND}`; export r; \
9665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9667 for flag in $(EXTRA_HOST_FLAGS) ; do \
9668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9681 .PHONY: maybe-mostlyclean-find mostlyclean-find
9682 maybe-mostlyclean-find:
9684 maybe-mostlyclean-find: mostlyclean-find
9688 @[ -f ./find/Makefile ] || exit 0; \
9689 r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9692 for flag in $(EXTRA_HOST_FLAGS) ; do \
9693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9706 .PHONY: maybe-clean-find clean-find
9709 maybe-clean-find: clean-find
9713 @[ -f ./find/Makefile ] || exit 0; \
9714 r=`${PWD_COMMAND}`; export r; \
9715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 for flag in $(EXTRA_HOST_FLAGS) ; do \
9718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9731 .PHONY: maybe-distclean-find distclean-find
9732 maybe-distclean-find:
9734 maybe-distclean-find: distclean-find
9738 @[ -f ./find/Makefile ] || exit 0; \
9739 r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742 for flag in $(EXTRA_HOST_FLAGS) ; do \
9743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9756 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9757 maybe-maintainer-clean-find:
9759 maybe-maintainer-clean-find: maintainer-clean-find
9761 maintainer-clean-find:
9763 @[ -f ./find/Makefile ] || exit 0; \
9764 r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9783 .PHONY: configure-fixincludes maybe-configure-fixincludes
9784 maybe-configure-fixincludes:
9786 maybe-configure-fixincludes: configure-fixincludes
9787 configure-fixincludes:
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; \
9794 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9795 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9798 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9801 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9802 libsrcdir="$$s/fixincludes"; \
9803 $(SHELL) $${libsrcdir}/configure \
9804 $(HOST_CONFIGARGS) $${srcdiroption} \
9812 .PHONY: all-fixincludes maybe-all-fixincludes
9813 maybe-all-fixincludes:
9815 TARGET-fixincludes=all
9816 maybe-all-fixincludes: all-fixincludes
9817 all-fixincludes: configure-fixincludes
9819 @r=`${PWD_COMMAND}`; export r; \
9820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9822 (cd $(HOST_SUBDIR)/fixincludes && \
9823 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9829 .PHONY: check-fixincludes maybe-check-fixincludes
9830 maybe-check-fixincludes:
9832 maybe-check-fixincludes: check-fixincludes
9836 @r=`${PWD_COMMAND}`; export r; \
9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9839 (cd $(HOST_SUBDIR)/fixincludes && \
9840 $(MAKE) $(FLAGS_TO_PASS) check)
9844 .PHONY: install-fixincludes maybe-install-fixincludes
9845 maybe-install-fixincludes:
9847 maybe-install-fixincludes: install-fixincludes
9849 install-fixincludes: installdirs
9851 @r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 (cd $(HOST_SUBDIR)/fixincludes && \
9855 $(MAKE) $(FLAGS_TO_PASS) install)
9859 # Other targets (info, dvi, etc.)
9861 .PHONY: maybe-info-fixincludes info-fixincludes
9862 maybe-info-fixincludes:
9864 maybe-info-fixincludes: info-fixincludes
9866 # fixincludes doesn't support info.
9871 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9872 maybe-dvi-fixincludes:
9874 maybe-dvi-fixincludes: dvi-fixincludes
9876 # fixincludes doesn't support dvi.
9881 .PHONY: maybe-html-fixincludes html-fixincludes
9882 maybe-html-fixincludes:
9884 maybe-html-fixincludes: html-fixincludes
9887 configure-fixincludes
9889 @[ -f ./fixincludes/Makefile ] || exit 0; \
9890 r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893 for flag in $(EXTRA_HOST_FLAGS) ; do \
9894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9907 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9908 maybe-TAGS-fixincludes:
9910 maybe-TAGS-fixincludes: TAGS-fixincludes
9912 # fixincludes doesn't support TAGS.
9917 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9918 maybe-install-info-fixincludes:
9920 maybe-install-info-fixincludes: install-info-fixincludes
9922 # fixincludes doesn't support install-info.
9923 install-info-fixincludes:
9927 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9928 maybe-installcheck-fixincludes:
9930 maybe-installcheck-fixincludes: installcheck-fixincludes
9932 # fixincludes doesn't support installcheck.
9933 installcheck-fixincludes:
9937 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9938 maybe-mostlyclean-fixincludes:
9940 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9942 mostlyclean-fixincludes:
9944 @[ -f ./fixincludes/Makefile ] || exit 0; \
9945 r=`${PWD_COMMAND}`; export r; \
9946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9948 for flag in $(EXTRA_HOST_FLAGS) ; do \
9949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9962 .PHONY: maybe-clean-fixincludes clean-fixincludes
9963 maybe-clean-fixincludes:
9965 maybe-clean-fixincludes: clean-fixincludes
9969 @[ -f ./fixincludes/Makefile ] || exit 0; \
9970 r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9973 for flag in $(EXTRA_HOST_FLAGS) ; do \
9974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
9987 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9988 maybe-distclean-fixincludes:
9990 maybe-distclean-fixincludes: distclean-fixincludes
9992 distclean-fixincludes:
9994 @[ -f ./fixincludes/Makefile ] || exit 0; \
9995 r=`${PWD_COMMAND}`; export r; \
9996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 for flag in $(EXTRA_HOST_FLAGS) ; do \
9999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10012 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10013 maybe-maintainer-clean-fixincludes:
10015 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10017 maintainer-clean-fixincludes:
10019 @[ -f ./fixincludes/Makefile ] || exit 0; \
10020 r=`${PWD_COMMAND}`; export r; \
10021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 for flag in $(EXTRA_HOST_FLAGS) ; do \
10024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
10039 .PHONY: configure-flex maybe-configure-flex
10040 maybe-configure-flex:
10042 maybe-configure-flex: configure-flex
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; \
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) ;; \
10057 srcdiroption="--srcdir=$${topdir}/flex"; \
10058 libsrcdir="$$s/flex"; \
10059 $(SHELL) $${libsrcdir}/configure \
10060 $(HOST_CONFIGARGS) $${srcdiroption} \
10068 .PHONY: all-flex maybe-all-flex
10072 maybe-all-flex: all-flex
10073 all-flex: configure-flex
10075 @r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10078 (cd $(HOST_SUBDIR)/flex && \
10079 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10085 .PHONY: check-flex maybe-check-flex
10088 maybe-check-flex: check-flex
10090 # This module is only tested in a native toolchain.
10093 @if [ '$(host)' = '$(target)' ] ; then \
10094 r=`${PWD_COMMAND}`; export r; \
10095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 (cd $(HOST_SUBDIR)/flex && \
10098 $(MAKE) $(FLAGS_TO_PASS) check); \
10103 .PHONY: install-flex maybe-install-flex
10104 maybe-install-flex:
10106 maybe-install-flex: install-flex
10108 install-flex: installdirs
10110 @r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10113 (cd $(HOST_SUBDIR)/flex && \
10114 $(MAKE) $(FLAGS_TO_PASS) install)
10118 # Other targets (info, dvi, etc.)
10120 .PHONY: maybe-info-flex info-flex
10123 maybe-info-flex: info-flex
10128 @[ -f ./flex/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10132 for flag in $(EXTRA_HOST_FLAGS) ; do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10146 .PHONY: maybe-dvi-flex dvi-flex
10149 maybe-dvi-flex: dvi-flex
10154 @[ -f ./flex/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158 for flag in $(EXTRA_HOST_FLAGS) ; do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10172 .PHONY: maybe-html-flex html-flex
10175 maybe-html-flex: html-flex
10180 @[ -f ./flex/Makefile ] || exit 0; \
10181 r=`${PWD_COMMAND}`; export r; \
10182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 for flag in $(EXTRA_HOST_FLAGS) ; do \
10185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10198 .PHONY: maybe-TAGS-flex TAGS-flex
10201 maybe-TAGS-flex: TAGS-flex
10206 @[ -f ./flex/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210 for flag in $(EXTRA_HOST_FLAGS) ; do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10224 .PHONY: maybe-install-info-flex install-info-flex
10225 maybe-install-info-flex:
10227 maybe-install-info-flex: install-info-flex
10229 install-info-flex: \
10233 @[ -f ./flex/Makefile ] || exit 0; \
10234 r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10237 for flag in $(EXTRA_HOST_FLAGS) ; do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10251 .PHONY: maybe-installcheck-flex installcheck-flex
10252 maybe-installcheck-flex:
10254 maybe-installcheck-flex: installcheck-flex
10256 installcheck-flex: \
10259 @[ -f ./flex/Makefile ] || exit 0; \
10260 r=`${PWD_COMMAND}`; export r; \
10261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10263 for flag in $(EXTRA_HOST_FLAGS) ; do \
10264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10277 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10278 maybe-mostlyclean-flex:
10280 maybe-mostlyclean-flex: mostlyclean-flex
10284 @[ -f ./flex/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10288 for flag in $(EXTRA_HOST_FLAGS) ; do \
10289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10302 .PHONY: maybe-clean-flex clean-flex
10305 maybe-clean-flex: clean-flex
10309 @[ -f ./flex/Makefile ] || exit 0; \
10310 r=`${PWD_COMMAND}`; export r; \
10311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313 for flag in $(EXTRA_HOST_FLAGS) ; do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10327 .PHONY: maybe-distclean-flex distclean-flex
10328 maybe-distclean-flex:
10330 maybe-distclean-flex: distclean-flex
10334 @[ -f ./flex/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 for flag in $(EXTRA_HOST_FLAGS) ; do \
10339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10352 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10353 maybe-maintainer-clean-flex:
10355 maybe-maintainer-clean-flex: maintainer-clean-flex
10357 maintainer-clean-flex:
10359 @[ -f ./flex/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10363 for flag in $(EXTRA_HOST_FLAGS) ; do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
10379 .PHONY: configure-gas maybe-configure-gas
10380 maybe-configure-gas:
10382 maybe-configure-gas: 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; \
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) ;; \
10397 srcdiroption="--srcdir=$${topdir}/gas"; \
10398 libsrcdir="$$s/gas"; \
10399 $(SHELL) $${libsrcdir}/configure \
10400 $(HOST_CONFIGARGS) $${srcdiroption} \
10406 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10407 maybe-configure-stage1-gas:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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
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; \
10569 (cd $(HOST_SUBDIR)/gas && \
10570 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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:
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; \
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
10595 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
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:
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; \
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
10625 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10627 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10628 cd $(HOST_SUBDIR)/gas && \
10629 $(MAKE) $(FLAGS_TO_PASS) \
10630 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
10656 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10658 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10659 cd $(HOST_SUBDIR)/gas && \
10660 $(MAKE) $(FLAGS_TO_PASS) \
10661 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
10687 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10689 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10690 cd $(HOST_SUBDIR)/gas && \
10691 $(MAKE) $(FLAGS_TO_PASS) \
10692 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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 ] \
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:
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; \
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 ] \
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
10765 maybe-check-gas: check-gas
10769 @r=`${PWD_COMMAND}`; export r; \
10770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10772 (cd $(HOST_SUBDIR)/gas && \
10773 $(MAKE) $(FLAGS_TO_PASS) check)
10777 .PHONY: install-gas maybe-install-gas
10780 maybe-install-gas: install-gas
10782 install-gas: installdirs
10784 @r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10787 (cd $(HOST_SUBDIR)/gas && \
10788 $(MAKE) $(FLAGS_TO_PASS) install)
10792 # Other targets (info, dvi, etc.)
10794 .PHONY: maybe-info-gas info-gas
10797 maybe-info-gas: info-gas
10801 @[ -f ./gas/Makefile ] || exit 0; \
10802 r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10805 for flag in $(EXTRA_HOST_FLAGS) ; do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10819 .PHONY: maybe-dvi-gas dvi-gas
10822 maybe-dvi-gas: dvi-gas
10826 @[ -f ./gas/Makefile ] || exit 0; \
10827 r=`${PWD_COMMAND}`; export r; \
10828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10830 for flag in $(EXTRA_HOST_FLAGS) ; do \
10831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10844 .PHONY: maybe-html-gas html-gas
10847 maybe-html-gas: html-gas
10851 @[ -f ./gas/Makefile ] || exit 0; \
10852 r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10855 for flag in $(EXTRA_HOST_FLAGS) ; do \
10856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10869 .PHONY: maybe-TAGS-gas TAGS-gas
10872 maybe-TAGS-gas: TAGS-gas
10876 @[ -f ./gas/Makefile ] || exit 0; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10880 for flag in $(EXTRA_HOST_FLAGS) ; do \
10881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10894 .PHONY: maybe-install-info-gas install-info-gas
10895 maybe-install-info-gas:
10897 maybe-install-info-gas: install-info-gas
10899 install-info-gas: \
10902 @[ -f ./gas/Makefile ] || exit 0; \
10903 r=`${PWD_COMMAND}`; export r; \
10904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10906 for flag in $(EXTRA_HOST_FLAGS) ; do \
10907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10920 .PHONY: maybe-installcheck-gas installcheck-gas
10921 maybe-installcheck-gas:
10923 maybe-installcheck-gas: installcheck-gas
10925 installcheck-gas: \
10927 @[ -f ./gas/Makefile ] || exit 0; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10931 for flag in $(EXTRA_HOST_FLAGS) ; do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10945 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10946 maybe-mostlyclean-gas:
10948 maybe-mostlyclean-gas: mostlyclean-gas
10951 @[ -f ./gas/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10955 for flag in $(EXTRA_HOST_FLAGS) ; do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10969 .PHONY: maybe-clean-gas clean-gas
10972 maybe-clean-gas: clean-gas
10975 @[ -f ./gas/Makefile ] || exit 0; \
10976 r=`${PWD_COMMAND}`; export r; \
10977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 for flag in $(EXTRA_HOST_FLAGS) ; do \
10980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
10993 .PHONY: maybe-distclean-gas distclean-gas
10994 maybe-distclean-gas:
10996 maybe-distclean-gas: distclean-gas
10999 @[ -f ./gas/Makefile ] || exit 0; \
11000 r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003 for flag in $(EXTRA_HOST_FLAGS) ; do \
11004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11017 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11018 maybe-maintainer-clean-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; \
11027 for flag in $(EXTRA_HOST_FLAGS) ; do \
11028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
11043 .PHONY: configure-gcc maybe-configure-gcc
11044 maybe-configure-gcc:
11046 maybe-configure-gcc: 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; \
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) ;; \
11061 srcdiroption="--srcdir=$${topdir}/gcc"; \
11062 libsrcdir="$$s/gcc"; \
11063 $(SHELL) $${libsrcdir}/configure \
11064 $(HOST_CONFIGARGS) $${srcdiroption} \
11070 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11071 maybe-configure-stage1-gcc:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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
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; \
11233 (cd $(HOST_SUBDIR)/gcc && \
11234 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-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:
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; \
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
11259 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
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:
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; \
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
11289 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
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:
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; \
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
11320 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
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:
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; \
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
11351 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
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:
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; \
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 ] \
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:
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; \
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 ] \
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
11429 maybe-check-gcc: check-gcc
11433 @r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11436 (cd $(HOST_SUBDIR)/gcc && \
11437 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11441 .PHONY: install-gcc maybe-install-gcc
11444 maybe-install-gcc: install-gcc
11446 install-gcc: installdirs
11448 @r=`${PWD_COMMAND}`; export r; \
11449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11451 (cd $(HOST_SUBDIR)/gcc && \
11452 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11456 # Other targets (info, dvi, etc.)
11458 .PHONY: maybe-info-gcc info-gcc
11461 maybe-info-gcc: info-gcc
11465 @[ -f ./gcc/Makefile ] || exit 0; \
11466 r=`${PWD_COMMAND}`; export r; \
11467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11469 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11483 .PHONY: maybe-dvi-gcc dvi-gcc
11486 maybe-dvi-gcc: dvi-gcc
11490 @[ -f ./gcc/Makefile ] || exit 0; \
11491 r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11494 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11508 .PHONY: maybe-html-gcc html-gcc
11511 maybe-html-gcc: html-gcc
11515 @[ -f ./gcc/Makefile ] || exit 0; \
11516 r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11519 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11533 .PHONY: maybe-TAGS-gcc TAGS-gcc
11536 maybe-TAGS-gcc: TAGS-gcc
11540 @[ -f ./gcc/Makefile ] || exit 0; \
11541 r=`${PWD_COMMAND}`; export r; \
11542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11544 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11558 .PHONY: maybe-install-info-gcc install-info-gcc
11559 maybe-install-info-gcc:
11561 maybe-install-info-gcc: install-info-gcc
11563 install-info-gcc: \
11566 @[ -f ./gcc/Makefile ] || exit 0; \
11567 r=`${PWD_COMMAND}`; export r; \
11568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11570 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11584 .PHONY: maybe-installcheck-gcc installcheck-gcc
11585 maybe-installcheck-gcc:
11587 maybe-installcheck-gcc: installcheck-gcc
11589 installcheck-gcc: \
11591 @[ -f ./gcc/Makefile ] || exit 0; \
11592 r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11595 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11609 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11610 maybe-mostlyclean-gcc:
11612 maybe-mostlyclean-gcc: mostlyclean-gcc
11615 @[ -f ./gcc/Makefile ] || exit 0; \
11616 r=`${PWD_COMMAND}`; export r; \
11617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11633 .PHONY: maybe-clean-gcc clean-gcc
11636 maybe-clean-gcc: clean-gcc
11639 @[ -f ./gcc/Makefile ] || exit 0; \
11640 r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11643 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11657 .PHONY: maybe-distclean-gcc distclean-gcc
11658 maybe-distclean-gcc:
11660 maybe-distclean-gcc: distclean-gcc
11663 @[ -f ./gcc/Makefile ] || exit 0; \
11664 r=`${PWD_COMMAND}`; export r; \
11665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11667 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11681 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11682 maybe-maintainer-clean-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; \
11691 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
11707 .PHONY: configure-gawk maybe-configure-gawk
11708 maybe-configure-gawk:
11710 maybe-configure-gawk: configure-gawk
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; \
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) ;; \
11725 srcdiroption="--srcdir=$${topdir}/gawk"; \
11726 libsrcdir="$$s/gawk"; \
11727 $(SHELL) $${libsrcdir}/configure \
11728 $(HOST_CONFIGARGS) $${srcdiroption} \
11736 .PHONY: all-gawk maybe-all-gawk
11740 maybe-all-gawk: all-gawk
11741 all-gawk: configure-gawk
11743 @r=`${PWD_COMMAND}`; export r; \
11744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11746 (cd $(HOST_SUBDIR)/gawk && \
11747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11753 .PHONY: check-gawk maybe-check-gawk
11756 maybe-check-gawk: check-gawk
11760 @r=`${PWD_COMMAND}`; export r; \
11761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11763 (cd $(HOST_SUBDIR)/gawk && \
11764 $(MAKE) $(FLAGS_TO_PASS) check)
11768 .PHONY: install-gawk maybe-install-gawk
11769 maybe-install-gawk:
11771 maybe-install-gawk: install-gawk
11773 install-gawk: installdirs
11775 @r=`${PWD_COMMAND}`; export r; \
11776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11778 (cd $(HOST_SUBDIR)/gawk && \
11779 $(MAKE) $(FLAGS_TO_PASS) install)
11783 # Other targets (info, dvi, etc.)
11785 .PHONY: maybe-info-gawk info-gawk
11788 maybe-info-gawk: info-gawk
11793 @[ -f ./gawk/Makefile ] || exit 0; \
11794 r=`${PWD_COMMAND}`; export r; \
11795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11797 for flag in $(EXTRA_HOST_FLAGS) ; do \
11798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11811 .PHONY: maybe-dvi-gawk dvi-gawk
11814 maybe-dvi-gawk: dvi-gawk
11819 @[ -f ./gawk/Makefile ] || exit 0; \
11820 r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11823 for flag in $(EXTRA_HOST_FLAGS) ; do \
11824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11837 .PHONY: maybe-html-gawk html-gawk
11840 maybe-html-gawk: html-gawk
11845 @[ -f ./gawk/Makefile ] || exit 0; \
11846 r=`${PWD_COMMAND}`; export r; \
11847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11849 for flag in $(EXTRA_HOST_FLAGS) ; do \
11850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11863 .PHONY: maybe-TAGS-gawk TAGS-gawk
11866 maybe-TAGS-gawk: TAGS-gawk
11871 @[ -f ./gawk/Makefile ] || exit 0; \
11872 r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 for flag in $(EXTRA_HOST_FLAGS) ; do \
11876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11889 .PHONY: maybe-install-info-gawk install-info-gawk
11890 maybe-install-info-gawk:
11892 maybe-install-info-gawk: install-info-gawk
11894 install-info-gawk: \
11898 @[ -f ./gawk/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11902 for flag in $(EXTRA_HOST_FLAGS) ; do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11916 .PHONY: maybe-installcheck-gawk installcheck-gawk
11917 maybe-installcheck-gawk:
11919 maybe-installcheck-gawk: installcheck-gawk
11921 installcheck-gawk: \
11924 @[ -f ./gawk/Makefile ] || exit 0; \
11925 r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11928 for flag in $(EXTRA_HOST_FLAGS) ; do \
11929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11942 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11943 maybe-mostlyclean-gawk:
11945 maybe-mostlyclean-gawk: mostlyclean-gawk
11949 @[ -f ./gawk/Makefile ] || exit 0; \
11950 r=`${PWD_COMMAND}`; export r; \
11951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 for flag in $(EXTRA_HOST_FLAGS) ; do \
11954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11967 .PHONY: maybe-clean-gawk clean-gawk
11970 maybe-clean-gawk: clean-gawk
11974 @[ -f ./gawk/Makefile ] || exit 0; \
11975 r=`${PWD_COMMAND}`; export r; \
11976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11978 for flag in $(EXTRA_HOST_FLAGS) ; do \
11979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
11992 .PHONY: maybe-distclean-gawk distclean-gawk
11993 maybe-distclean-gawk:
11995 maybe-distclean-gawk: distclean-gawk
11999 @[ -f ./gawk/Makefile ] || exit 0; \
12000 r=`${PWD_COMMAND}`; export r; \
12001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12003 for flag in $(EXTRA_HOST_FLAGS) ; do \
12004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12017 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12018 maybe-maintainer-clean-gawk:
12020 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12022 maintainer-clean-gawk:
12024 @[ -f ./gawk/Makefile ] || exit 0; \
12025 r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12028 for flag in $(EXTRA_HOST_FLAGS) ; do \
12029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
12044 .PHONY: configure-gettext maybe-configure-gettext
12045 maybe-configure-gettext:
12047 maybe-configure-gettext: configure-gettext
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; \
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) ;; \
12062 srcdiroption="--srcdir=$${topdir}/gettext"; \
12063 libsrcdir="$$s/gettext"; \
12064 $(SHELL) $${libsrcdir}/configure \
12065 $(HOST_CONFIGARGS) $${srcdiroption} \
12073 .PHONY: all-gettext maybe-all-gettext
12077 maybe-all-gettext: all-gettext
12078 all-gettext: configure-gettext
12080 @r=`${PWD_COMMAND}`; export r; \
12081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12083 (cd $(HOST_SUBDIR)/gettext && \
12084 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12090 .PHONY: check-gettext maybe-check-gettext
12091 maybe-check-gettext:
12093 maybe-check-gettext: check-gettext
12097 @r=`${PWD_COMMAND}`; export r; \
12098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12100 (cd $(HOST_SUBDIR)/gettext && \
12101 $(MAKE) $(FLAGS_TO_PASS) check)
12105 .PHONY: install-gettext maybe-install-gettext
12106 maybe-install-gettext:
12108 maybe-install-gettext: install-gettext
12110 install-gettext: installdirs
12112 @r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 (cd $(HOST_SUBDIR)/gettext && \
12116 $(MAKE) $(FLAGS_TO_PASS) install)
12120 # Other targets (info, dvi, etc.)
12122 .PHONY: maybe-info-gettext info-gettext
12123 maybe-info-gettext:
12125 maybe-info-gettext: info-gettext
12130 @[ -f ./gettext/Makefile ] || exit 0; \
12131 r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12134 for flag in $(EXTRA_HOST_FLAGS) ; do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12148 .PHONY: maybe-dvi-gettext dvi-gettext
12151 maybe-dvi-gettext: dvi-gettext
12156 @[ -f ./gettext/Makefile ] || exit 0; \
12157 r=`${PWD_COMMAND}`; export r; \
12158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12160 for flag in $(EXTRA_HOST_FLAGS) ; do \
12161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12174 .PHONY: maybe-html-gettext html-gettext
12175 maybe-html-gettext:
12177 maybe-html-gettext: html-gettext
12182 @[ -f ./gettext/Makefile ] || exit 0; \
12183 r=`${PWD_COMMAND}`; export r; \
12184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12186 for flag in $(EXTRA_HOST_FLAGS) ; do \
12187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12200 .PHONY: maybe-TAGS-gettext TAGS-gettext
12201 maybe-TAGS-gettext:
12203 maybe-TAGS-gettext: TAGS-gettext
12208 @[ -f ./gettext/Makefile ] || exit 0; \
12209 r=`${PWD_COMMAND}`; export r; \
12210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12212 for flag in $(EXTRA_HOST_FLAGS) ; do \
12213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12226 .PHONY: maybe-install-info-gettext install-info-gettext
12227 maybe-install-info-gettext:
12229 maybe-install-info-gettext: install-info-gettext
12231 install-info-gettext: \
12232 configure-gettext \
12235 @[ -f ./gettext/Makefile ] || exit 0; \
12236 r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12239 for flag in $(EXTRA_HOST_FLAGS) ; do \
12240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12253 .PHONY: maybe-installcheck-gettext installcheck-gettext
12254 maybe-installcheck-gettext:
12256 maybe-installcheck-gettext: installcheck-gettext
12258 installcheck-gettext: \
12261 @[ -f ./gettext/Makefile ] || exit 0; \
12262 r=`${PWD_COMMAND}`; export r; \
12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 for flag in $(EXTRA_HOST_FLAGS) ; do \
12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12279 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12280 maybe-mostlyclean-gettext:
12282 maybe-mostlyclean-gettext: mostlyclean-gettext
12284 mostlyclean-gettext:
12286 @[ -f ./gettext/Makefile ] || exit 0; \
12287 r=`${PWD_COMMAND}`; export r; \
12288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12290 for flag in $(EXTRA_HOST_FLAGS) ; do \
12291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12304 .PHONY: maybe-clean-gettext clean-gettext
12305 maybe-clean-gettext:
12307 maybe-clean-gettext: clean-gettext
12311 @[ -f ./gettext/Makefile ] || exit 0; \
12312 r=`${PWD_COMMAND}`; export r; \
12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12329 .PHONY: maybe-distclean-gettext distclean-gettext
12330 maybe-distclean-gettext:
12332 maybe-distclean-gettext: distclean-gettext
12336 @[ -f ./gettext/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12340 for flag in $(EXTRA_HOST_FLAGS) ; do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12354 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12355 maybe-maintainer-clean-gettext:
12357 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12359 maintainer-clean-gettext:
12361 @[ -f ./gettext/Makefile ] || exit 0; \
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12365 for flag in $(EXTRA_HOST_FLAGS) ; do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
12381 .PHONY: configure-gnuserv maybe-configure-gnuserv
12382 maybe-configure-gnuserv:
12384 maybe-configure-gnuserv: configure-gnuserv
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; \
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) ;; \
12399 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12400 libsrcdir="$$s/gnuserv"; \
12401 $(SHELL) $${libsrcdir}/configure \
12402 $(HOST_CONFIGARGS) $${srcdiroption} \
12410 .PHONY: all-gnuserv maybe-all-gnuserv
12414 maybe-all-gnuserv: all-gnuserv
12415 all-gnuserv: configure-gnuserv
12417 @r=`${PWD_COMMAND}`; export r; \
12418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12420 (cd $(HOST_SUBDIR)/gnuserv && \
12421 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12427 .PHONY: check-gnuserv maybe-check-gnuserv
12428 maybe-check-gnuserv:
12430 maybe-check-gnuserv: check-gnuserv
12434 @r=`${PWD_COMMAND}`; export r; \
12435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12437 (cd $(HOST_SUBDIR)/gnuserv && \
12438 $(MAKE) $(FLAGS_TO_PASS) check)
12442 .PHONY: install-gnuserv maybe-install-gnuserv
12443 maybe-install-gnuserv:
12445 maybe-install-gnuserv: install-gnuserv
12447 install-gnuserv: installdirs
12449 @r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12452 (cd $(HOST_SUBDIR)/gnuserv && \
12453 $(MAKE) $(FLAGS_TO_PASS) install)
12457 # Other targets (info, dvi, etc.)
12459 .PHONY: maybe-info-gnuserv info-gnuserv
12460 maybe-info-gnuserv:
12462 maybe-info-gnuserv: info-gnuserv
12467 @[ -f ./gnuserv/Makefile ] || exit 0; \
12468 r=`${PWD_COMMAND}`; export r; \
12469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12471 for flag in $(EXTRA_HOST_FLAGS) ; do \
12472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12485 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12488 maybe-dvi-gnuserv: dvi-gnuserv
12493 @[ -f ./gnuserv/Makefile ] || exit 0; \
12494 r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12497 for flag in $(EXTRA_HOST_FLAGS) ; do \
12498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12511 .PHONY: maybe-html-gnuserv html-gnuserv
12512 maybe-html-gnuserv:
12514 maybe-html-gnuserv: html-gnuserv
12519 @[ -f ./gnuserv/Makefile ] || exit 0; \
12520 r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12523 for flag in $(EXTRA_HOST_FLAGS) ; do \
12524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12537 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12538 maybe-TAGS-gnuserv:
12540 maybe-TAGS-gnuserv: TAGS-gnuserv
12545 @[ -f ./gnuserv/Makefile ] || exit 0; \
12546 r=`${PWD_COMMAND}`; export r; \
12547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 for flag in $(EXTRA_HOST_FLAGS) ; do \
12550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12563 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12564 maybe-install-info-gnuserv:
12566 maybe-install-info-gnuserv: install-info-gnuserv
12568 install-info-gnuserv: \
12569 configure-gnuserv \
12572 @[ -f ./gnuserv/Makefile ] || exit 0; \
12573 r=`${PWD_COMMAND}`; export r; \
12574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12576 for flag in $(EXTRA_HOST_FLAGS) ; do \
12577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12590 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12591 maybe-installcheck-gnuserv:
12593 maybe-installcheck-gnuserv: installcheck-gnuserv
12595 installcheck-gnuserv: \
12598 @[ -f ./gnuserv/Makefile ] || exit 0; \
12599 r=`${PWD_COMMAND}`; export r; \
12600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 for flag in $(EXTRA_HOST_FLAGS) ; do \
12603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12616 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12617 maybe-mostlyclean-gnuserv:
12619 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12621 mostlyclean-gnuserv:
12623 @[ -f ./gnuserv/Makefile ] || exit 0; \
12624 r=`${PWD_COMMAND}`; export r; \
12625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12627 for flag in $(EXTRA_HOST_FLAGS) ; do \
12628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12641 .PHONY: maybe-clean-gnuserv clean-gnuserv
12642 maybe-clean-gnuserv:
12644 maybe-clean-gnuserv: clean-gnuserv
12648 @[ -f ./gnuserv/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12666 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12667 maybe-distclean-gnuserv:
12669 maybe-distclean-gnuserv: distclean-gnuserv
12673 @[ -f ./gnuserv/Makefile ] || exit 0; \
12674 r=`${PWD_COMMAND}`; export r; \
12675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12677 for flag in $(EXTRA_HOST_FLAGS) ; do \
12678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12691 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12692 maybe-maintainer-clean-gnuserv:
12694 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12696 maintainer-clean-gnuserv:
12698 @[ -f ./gnuserv/Makefile ] || exit 0; \
12699 r=`${PWD_COMMAND}`; export r; \
12700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12702 for flag in $(EXTRA_HOST_FLAGS) ; do \
12703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
12718 .PHONY: configure-gprof maybe-configure-gprof
12719 maybe-configure-gprof:
12721 maybe-configure-gprof: configure-gprof
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; \
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) ;; \
12736 srcdiroption="--srcdir=$${topdir}/gprof"; \
12737 libsrcdir="$$s/gprof"; \
12738 $(SHELL) $${libsrcdir}/configure \
12739 $(HOST_CONFIGARGS) $${srcdiroption} \
12747 .PHONY: all-gprof maybe-all-gprof
12751 maybe-all-gprof: all-gprof
12752 all-gprof: configure-gprof
12754 @r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12757 (cd $(HOST_SUBDIR)/gprof && \
12758 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12764 .PHONY: check-gprof maybe-check-gprof
12767 maybe-check-gprof: check-gprof
12771 @r=`${PWD_COMMAND}`; export r; \
12772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774 (cd $(HOST_SUBDIR)/gprof && \
12775 $(MAKE) $(FLAGS_TO_PASS) check)
12779 .PHONY: install-gprof maybe-install-gprof
12780 maybe-install-gprof:
12782 maybe-install-gprof: install-gprof
12784 install-gprof: installdirs
12786 @r=`${PWD_COMMAND}`; export r; \
12787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 (cd $(HOST_SUBDIR)/gprof && \
12790 $(MAKE) $(FLAGS_TO_PASS) install)
12794 # Other targets (info, dvi, etc.)
12796 .PHONY: maybe-info-gprof info-gprof
12799 maybe-info-gprof: info-gprof
12804 @[ -f ./gprof/Makefile ] || exit 0; \
12805 r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 for flag in $(EXTRA_HOST_FLAGS) ; do \
12809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12822 .PHONY: maybe-dvi-gprof dvi-gprof
12825 maybe-dvi-gprof: dvi-gprof
12830 @[ -f ./gprof/Makefile ] || exit 0; \
12831 r=`${PWD_COMMAND}`; export r; \
12832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 for flag in $(EXTRA_HOST_FLAGS) ; do \
12835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12848 .PHONY: maybe-html-gprof html-gprof
12851 maybe-html-gprof: html-gprof
12856 @[ -f ./gprof/Makefile ] || exit 0; \
12857 r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12860 for flag in $(EXTRA_HOST_FLAGS) ; do \
12861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12874 .PHONY: maybe-TAGS-gprof TAGS-gprof
12877 maybe-TAGS-gprof: TAGS-gprof
12882 @[ -f ./gprof/Makefile ] || exit 0; \
12883 r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12886 for flag in $(EXTRA_HOST_FLAGS) ; do \
12887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12900 .PHONY: maybe-install-info-gprof install-info-gprof
12901 maybe-install-info-gprof:
12903 maybe-install-info-gprof: install-info-gprof
12905 install-info-gprof: \
12909 @[ -f ./gprof/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 for flag in $(EXTRA_HOST_FLAGS) ; do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12927 .PHONY: maybe-installcheck-gprof installcheck-gprof
12928 maybe-installcheck-gprof:
12930 maybe-installcheck-gprof: installcheck-gprof
12932 installcheck-gprof: \
12935 @[ -f ./gprof/Makefile ] || exit 0; \
12936 r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12939 for flag in $(EXTRA_HOST_FLAGS) ; do \
12940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12953 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12954 maybe-mostlyclean-gprof:
12956 maybe-mostlyclean-gprof: mostlyclean-gprof
12960 @[ -f ./gprof/Makefile ] || exit 0; \
12961 r=`${PWD_COMMAND}`; export r; \
12962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12964 for flag in $(EXTRA_HOST_FLAGS) ; do \
12965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
12978 .PHONY: maybe-clean-gprof clean-gprof
12981 maybe-clean-gprof: clean-gprof
12985 @[ -f ./gprof/Makefile ] || exit 0; \
12986 r=`${PWD_COMMAND}`; export r; \
12987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12989 for flag in $(EXTRA_HOST_FLAGS) ; do \
12990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13003 .PHONY: maybe-distclean-gprof distclean-gprof
13004 maybe-distclean-gprof:
13006 maybe-distclean-gprof: distclean-gprof
13010 @[ -f ./gprof/Makefile ] || exit 0; \
13011 r=`${PWD_COMMAND}`; export r; \
13012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13014 for flag in $(EXTRA_HOST_FLAGS) ; do \
13015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13028 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13029 maybe-maintainer-clean-gprof:
13031 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13033 maintainer-clean-gprof:
13035 @[ -f ./gprof/Makefile ] || exit 0; \
13036 r=`${PWD_COMMAND}`; export r; \
13037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13039 for flag in $(EXTRA_HOST_FLAGS) ; do \
13040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
13055 .PHONY: configure-gzip maybe-configure-gzip
13056 maybe-configure-gzip:
13058 maybe-configure-gzip: configure-gzip
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; \
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) ;; \
13073 srcdiroption="--srcdir=$${topdir}/gzip"; \
13074 libsrcdir="$$s/gzip"; \
13075 $(SHELL) $${libsrcdir}/configure \
13076 $(HOST_CONFIGARGS) $${srcdiroption} \
13084 .PHONY: all-gzip maybe-all-gzip
13088 maybe-all-gzip: all-gzip
13089 all-gzip: configure-gzip
13091 @r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13094 (cd $(HOST_SUBDIR)/gzip && \
13095 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13101 .PHONY: check-gzip maybe-check-gzip
13104 maybe-check-gzip: check-gzip
13108 @r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13111 (cd $(HOST_SUBDIR)/gzip && \
13112 $(MAKE) $(FLAGS_TO_PASS) check)
13116 .PHONY: install-gzip maybe-install-gzip
13117 maybe-install-gzip:
13119 maybe-install-gzip: install-gzip
13121 install-gzip: installdirs
13123 @r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 (cd $(HOST_SUBDIR)/gzip && \
13127 $(MAKE) $(FLAGS_TO_PASS) install)
13131 # Other targets (info, dvi, etc.)
13133 .PHONY: maybe-info-gzip info-gzip
13136 maybe-info-gzip: info-gzip
13141 @[ -f ./gzip/Makefile ] || exit 0; \
13142 r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 for flag in $(EXTRA_HOST_FLAGS) ; do \
13146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13159 .PHONY: maybe-dvi-gzip dvi-gzip
13162 maybe-dvi-gzip: dvi-gzip
13167 @[ -f ./gzip/Makefile ] || exit 0; \
13168 r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13171 for flag in $(EXTRA_HOST_FLAGS) ; do \
13172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13185 .PHONY: maybe-html-gzip html-gzip
13188 maybe-html-gzip: html-gzip
13193 @[ -f ./gzip/Makefile ] || exit 0; \
13194 r=`${PWD_COMMAND}`; export r; \
13195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13197 for flag in $(EXTRA_HOST_FLAGS) ; do \
13198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13211 .PHONY: maybe-TAGS-gzip TAGS-gzip
13214 maybe-TAGS-gzip: TAGS-gzip
13219 @[ -f ./gzip/Makefile ] || exit 0; \
13220 r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13223 for flag in $(EXTRA_HOST_FLAGS) ; do \
13224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13237 .PHONY: maybe-install-info-gzip install-info-gzip
13238 maybe-install-info-gzip:
13240 maybe-install-info-gzip: install-info-gzip
13242 install-info-gzip: \
13246 @[ -f ./gzip/Makefile ] || exit 0; \
13247 r=`${PWD_COMMAND}`; export r; \
13248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13250 for flag in $(EXTRA_HOST_FLAGS) ; do \
13251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13264 .PHONY: maybe-installcheck-gzip installcheck-gzip
13265 maybe-installcheck-gzip:
13267 maybe-installcheck-gzip: installcheck-gzip
13269 installcheck-gzip: \
13272 @[ -f ./gzip/Makefile ] || exit 0; \
13273 r=`${PWD_COMMAND}`; export r; \
13274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13276 for flag in $(EXTRA_HOST_FLAGS) ; do \
13277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13290 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13291 maybe-mostlyclean-gzip:
13293 maybe-mostlyclean-gzip: mostlyclean-gzip
13297 @[ -f ./gzip/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13301 for flag in $(EXTRA_HOST_FLAGS) ; do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13315 .PHONY: maybe-clean-gzip clean-gzip
13318 maybe-clean-gzip: clean-gzip
13322 @[ -f ./gzip/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13326 for flag in $(EXTRA_HOST_FLAGS) ; do \
13327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13340 .PHONY: maybe-distclean-gzip distclean-gzip
13341 maybe-distclean-gzip:
13343 maybe-distclean-gzip: distclean-gzip
13347 @[ -f ./gzip/Makefile ] || exit 0; \
13348 r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351 for flag in $(EXTRA_HOST_FLAGS) ; do \
13352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13365 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13366 maybe-maintainer-clean-gzip:
13368 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13370 maintainer-clean-gzip:
13372 @[ -f ./gzip/Makefile ] || exit 0; \
13373 r=`${PWD_COMMAND}`; export r; \
13374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 for flag in $(EXTRA_HOST_FLAGS) ; do \
13377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
13392 .PHONY: configure-hello maybe-configure-hello
13393 maybe-configure-hello:
13395 maybe-configure-hello: configure-hello
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; \
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) ;; \
13410 srcdiroption="--srcdir=$${topdir}/hello"; \
13411 libsrcdir="$$s/hello"; \
13412 $(SHELL) $${libsrcdir}/configure \
13413 $(HOST_CONFIGARGS) $${srcdiroption} \
13421 .PHONY: all-hello maybe-all-hello
13425 maybe-all-hello: all-hello
13426 all-hello: configure-hello
13428 @r=`${PWD_COMMAND}`; export r; \
13429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13431 (cd $(HOST_SUBDIR)/hello && \
13432 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13438 .PHONY: check-hello maybe-check-hello
13441 maybe-check-hello: check-hello
13445 @r=`${PWD_COMMAND}`; export r; \
13446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 (cd $(HOST_SUBDIR)/hello && \
13449 $(MAKE) $(FLAGS_TO_PASS) check)
13453 .PHONY: install-hello maybe-install-hello
13454 maybe-install-hello:
13456 maybe-install-hello: install-hello
13458 install-hello: installdirs
13460 @r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13463 (cd $(HOST_SUBDIR)/hello && \
13464 $(MAKE) $(FLAGS_TO_PASS) install)
13468 # Other targets (info, dvi, etc.)
13470 .PHONY: maybe-info-hello info-hello
13473 maybe-info-hello: info-hello
13478 @[ -f ./hello/Makefile ] || exit 0; \
13479 r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13482 for flag in $(EXTRA_HOST_FLAGS) ; do \
13483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13496 .PHONY: maybe-dvi-hello dvi-hello
13499 maybe-dvi-hello: dvi-hello
13504 @[ -f ./hello/Makefile ] || exit 0; \
13505 r=`${PWD_COMMAND}`; export r; \
13506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13508 for flag in $(EXTRA_HOST_FLAGS) ; do \
13509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13522 .PHONY: maybe-html-hello html-hello
13525 maybe-html-hello: html-hello
13530 @[ -f ./hello/Makefile ] || exit 0; \
13531 r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13534 for flag in $(EXTRA_HOST_FLAGS) ; do \
13535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13548 .PHONY: maybe-TAGS-hello TAGS-hello
13551 maybe-TAGS-hello: TAGS-hello
13556 @[ -f ./hello/Makefile ] || exit 0; \
13557 r=`${PWD_COMMAND}`; export r; \
13558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13560 for flag in $(EXTRA_HOST_FLAGS) ; do \
13561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13574 .PHONY: maybe-install-info-hello install-info-hello
13575 maybe-install-info-hello:
13577 maybe-install-info-hello: install-info-hello
13579 install-info-hello: \
13583 @[ -f ./hello/Makefile ] || exit 0; \
13584 r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13587 for flag in $(EXTRA_HOST_FLAGS) ; do \
13588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13601 .PHONY: maybe-installcheck-hello installcheck-hello
13602 maybe-installcheck-hello:
13604 maybe-installcheck-hello: installcheck-hello
13606 installcheck-hello: \
13609 @[ -f ./hello/Makefile ] || exit 0; \
13610 r=`${PWD_COMMAND}`; export r; \
13611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13613 for flag in $(EXTRA_HOST_FLAGS) ; do \
13614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13627 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13628 maybe-mostlyclean-hello:
13630 maybe-mostlyclean-hello: mostlyclean-hello
13634 @[ -f ./hello/Makefile ] || exit 0; \
13635 r=`${PWD_COMMAND}`; export r; \
13636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13638 for flag in $(EXTRA_HOST_FLAGS) ; do \
13639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13652 .PHONY: maybe-clean-hello clean-hello
13655 maybe-clean-hello: clean-hello
13659 @[ -f ./hello/Makefile ] || exit 0; \
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13663 for flag in $(EXTRA_HOST_FLAGS) ; do \
13664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13677 .PHONY: maybe-distclean-hello distclean-hello
13678 maybe-distclean-hello:
13680 maybe-distclean-hello: distclean-hello
13684 @[ -f ./hello/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 for flag in $(EXTRA_HOST_FLAGS) ; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13702 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13703 maybe-maintainer-clean-hello:
13705 maybe-maintainer-clean-hello: maintainer-clean-hello
13707 maintainer-clean-hello:
13709 @[ -f ./hello/Makefile ] || exit 0; \
13710 r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13713 for flag in $(EXTRA_HOST_FLAGS) ; do \
13714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
13729 .PHONY: configure-indent maybe-configure-indent
13730 maybe-configure-indent:
13732 maybe-configure-indent: configure-indent
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; \
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) ;; \
13747 srcdiroption="--srcdir=$${topdir}/indent"; \
13748 libsrcdir="$$s/indent"; \
13749 $(SHELL) $${libsrcdir}/configure \
13750 $(HOST_CONFIGARGS) $${srcdiroption} \
13758 .PHONY: all-indent maybe-all-indent
13762 maybe-all-indent: all-indent
13763 all-indent: configure-indent
13765 @r=`${PWD_COMMAND}`; export r; \
13766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13768 (cd $(HOST_SUBDIR)/indent && \
13769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13775 .PHONY: check-indent maybe-check-indent
13776 maybe-check-indent:
13778 maybe-check-indent: check-indent
13782 @r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13785 (cd $(HOST_SUBDIR)/indent && \
13786 $(MAKE) $(FLAGS_TO_PASS) check)
13790 .PHONY: install-indent maybe-install-indent
13791 maybe-install-indent:
13793 maybe-install-indent: install-indent
13795 install-indent: installdirs
13797 @r=`${PWD_COMMAND}`; export r; \
13798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 (cd $(HOST_SUBDIR)/indent && \
13801 $(MAKE) $(FLAGS_TO_PASS) install)
13805 # Other targets (info, dvi, etc.)
13807 .PHONY: maybe-info-indent info-indent
13810 maybe-info-indent: info-indent
13815 @[ -f ./indent/Makefile ] || exit 0; \
13816 r=`${PWD_COMMAND}`; export r; \
13817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13819 for flag in $(EXTRA_HOST_FLAGS) ; do \
13820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13833 .PHONY: maybe-dvi-indent dvi-indent
13836 maybe-dvi-indent: dvi-indent
13841 @[ -f ./indent/Makefile ] || exit 0; \
13842 r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13845 for flag in $(EXTRA_HOST_FLAGS) ; do \
13846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13859 .PHONY: maybe-html-indent html-indent
13862 maybe-html-indent: html-indent
13867 @[ -f ./indent/Makefile ] || exit 0; \
13868 r=`${PWD_COMMAND}`; export r; \
13869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13871 for flag in $(EXTRA_HOST_FLAGS) ; do \
13872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13885 .PHONY: maybe-TAGS-indent TAGS-indent
13888 maybe-TAGS-indent: TAGS-indent
13893 @[ -f ./indent/Makefile ] || exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13897 for flag in $(EXTRA_HOST_FLAGS) ; do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13911 .PHONY: maybe-install-info-indent install-info-indent
13912 maybe-install-info-indent:
13914 maybe-install-info-indent: install-info-indent
13916 install-info-indent: \
13920 @[ -f ./indent/Makefile ] || exit 0; \
13921 r=`${PWD_COMMAND}`; export r; \
13922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13924 for flag in $(EXTRA_HOST_FLAGS) ; do \
13925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13938 .PHONY: maybe-installcheck-indent installcheck-indent
13939 maybe-installcheck-indent:
13941 maybe-installcheck-indent: installcheck-indent
13943 installcheck-indent: \
13946 @[ -f ./indent/Makefile ] || exit 0; \
13947 r=`${PWD_COMMAND}`; export r; \
13948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13950 for flag in $(EXTRA_HOST_FLAGS) ; do \
13951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13964 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13965 maybe-mostlyclean-indent:
13967 maybe-mostlyclean-indent: mostlyclean-indent
13969 mostlyclean-indent:
13971 @[ -f ./indent/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13975 for flag in $(EXTRA_HOST_FLAGS) ; do \
13976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
13989 .PHONY: maybe-clean-indent clean-indent
13990 maybe-clean-indent:
13992 maybe-clean-indent: clean-indent
13996 @[ -f ./indent/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14000 for flag in $(EXTRA_HOST_FLAGS) ; do \
14001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14014 .PHONY: maybe-distclean-indent distclean-indent
14015 maybe-distclean-indent:
14017 maybe-distclean-indent: distclean-indent
14021 @[ -f ./indent/Makefile ] || exit 0; \
14022 r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14025 for flag in $(EXTRA_HOST_FLAGS) ; do \
14026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14039 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14040 maybe-maintainer-clean-indent:
14042 maybe-maintainer-clean-indent: maintainer-clean-indent
14044 maintainer-clean-indent:
14046 @[ -f ./indent/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14050 for flag in $(EXTRA_HOST_FLAGS) ; do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
14066 .PHONY: configure-intl maybe-configure-intl
14067 maybe-configure-intl:
14069 maybe-configure-intl: 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; \
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) ;; \
14084 srcdiroption="--srcdir=$${topdir}/intl"; \
14085 libsrcdir="$$s/intl"; \
14086 $(SHELL) $${libsrcdir}/configure \
14087 $(HOST_CONFIGARGS) $${srcdiroption} \
14093 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14094 maybe-configure-stage1-intl:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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
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; \
14256 (cd $(HOST_SUBDIR)/intl && \
14257 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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:
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; \
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
14282 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
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:
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; \
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
14312 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14314 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14315 cd $(HOST_SUBDIR)/intl && \
14316 $(MAKE) $(FLAGS_TO_PASS) \
14317 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
14343 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14345 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14346 cd $(HOST_SUBDIR)/intl && \
14347 $(MAKE) $(FLAGS_TO_PASS) \
14348 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
14374 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14376 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14377 cd $(HOST_SUBDIR)/intl && \
14378 $(MAKE) $(FLAGS_TO_PASS) \
14379 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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 ] \
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:
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; \
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 ] \
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
14452 maybe-check-intl: check-intl
14456 @r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14459 (cd $(HOST_SUBDIR)/intl && \
14460 $(MAKE) $(FLAGS_TO_PASS) check)
14464 .PHONY: install-intl maybe-install-intl
14465 maybe-install-intl:
14467 maybe-install-intl: install-intl
14469 install-intl: installdirs
14471 @r=`${PWD_COMMAND}`; export r; \
14472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 (cd $(HOST_SUBDIR)/intl && \
14475 $(MAKE) $(FLAGS_TO_PASS) install)
14479 # Other targets (info, dvi, etc.)
14481 .PHONY: maybe-info-intl info-intl
14484 maybe-info-intl: info-intl
14488 @[ -f ./intl/Makefile ] || exit 0; \
14489 r=`${PWD_COMMAND}`; export r; \
14490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14492 for flag in $(EXTRA_HOST_FLAGS) ; do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14506 .PHONY: maybe-dvi-intl dvi-intl
14509 maybe-dvi-intl: dvi-intl
14513 @[ -f ./intl/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14531 .PHONY: maybe-html-intl html-intl
14534 maybe-html-intl: html-intl
14538 @[ -f ./intl/Makefile ] || exit 0; \
14539 r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14542 for flag in $(EXTRA_HOST_FLAGS) ; do \
14543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14556 .PHONY: maybe-TAGS-intl TAGS-intl
14559 maybe-TAGS-intl: TAGS-intl
14563 @[ -f ./intl/Makefile ] || exit 0; \
14564 r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14567 for flag in $(EXTRA_HOST_FLAGS) ; do \
14568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14581 .PHONY: maybe-install-info-intl install-info-intl
14582 maybe-install-info-intl:
14584 maybe-install-info-intl: install-info-intl
14586 install-info-intl: \
14589 @[ -f ./intl/Makefile ] || exit 0; \
14590 r=`${PWD_COMMAND}`; export r; \
14591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 for flag in $(EXTRA_HOST_FLAGS) ; do \
14594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14607 .PHONY: maybe-installcheck-intl installcheck-intl
14608 maybe-installcheck-intl:
14610 maybe-installcheck-intl: installcheck-intl
14612 installcheck-intl: \
14614 @[ -f ./intl/Makefile ] || exit 0; \
14615 r=`${PWD_COMMAND}`; export r; \
14616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14618 for flag in $(EXTRA_HOST_FLAGS) ; do \
14619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14632 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14633 maybe-mostlyclean-intl:
14635 maybe-mostlyclean-intl: mostlyclean-intl
14638 @[ -f ./intl/Makefile ] || exit 0; \
14639 r=`${PWD_COMMAND}`; export r; \
14640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642 for flag in $(EXTRA_HOST_FLAGS) ; do \
14643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14656 .PHONY: maybe-clean-intl clean-intl
14659 maybe-clean-intl: clean-intl
14662 @[ -f ./intl/Makefile ] || exit 0; \
14663 r=`${PWD_COMMAND}`; export r; \
14664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14666 for flag in $(EXTRA_HOST_FLAGS) ; do \
14667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14680 .PHONY: maybe-distclean-intl distclean-intl
14681 maybe-distclean-intl:
14683 maybe-distclean-intl: distclean-intl
14686 @[ -f ./intl/Makefile ] || exit 0; \
14687 r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 for flag in $(EXTRA_HOST_FLAGS) ; do \
14691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14704 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14705 maybe-maintainer-clean-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; \
14714 for flag in $(EXTRA_HOST_FLAGS) ; do \
14715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
14730 .PHONY: configure-tcl maybe-configure-tcl
14731 maybe-configure-tcl:
14733 maybe-configure-tcl: configure-tcl
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; \
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) ;; \
14748 srcdiroption="--srcdir=$${topdir}/tcl"; \
14749 libsrcdir="$$s/tcl"; \
14750 $(SHELL) $${libsrcdir}/configure \
14751 $(HOST_CONFIGARGS) $${srcdiroption} \
14759 .PHONY: all-tcl maybe-all-tcl
14763 maybe-all-tcl: all-tcl
14764 all-tcl: configure-tcl
14766 @r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14769 (cd $(HOST_SUBDIR)/tcl && \
14770 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14776 .PHONY: check-tcl maybe-check-tcl
14779 maybe-check-tcl: check-tcl
14783 @r=`${PWD_COMMAND}`; export r; \
14784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14786 (cd $(HOST_SUBDIR)/tcl && \
14787 $(MAKE) $(FLAGS_TO_PASS) check)
14791 .PHONY: install-tcl maybe-install-tcl
14794 maybe-install-tcl: install-tcl
14796 install-tcl: installdirs
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14801 (cd $(HOST_SUBDIR)/tcl && \
14802 $(MAKE) $(FLAGS_TO_PASS) install)
14806 # Other targets (info, dvi, etc.)
14808 .PHONY: maybe-info-tcl info-tcl
14811 maybe-info-tcl: info-tcl
14816 @[ -f ./tcl/Makefile ] || exit 0; \
14817 r=`${PWD_COMMAND}`; export r; \
14818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14820 for flag in $(EXTRA_HOST_FLAGS) ; do \
14821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14834 .PHONY: maybe-dvi-tcl dvi-tcl
14837 maybe-dvi-tcl: dvi-tcl
14842 @[ -f ./tcl/Makefile ] || exit 0; \
14843 r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14846 for flag in $(EXTRA_HOST_FLAGS) ; do \
14847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14860 .PHONY: maybe-html-tcl html-tcl
14863 maybe-html-tcl: html-tcl
14868 @[ -f ./tcl/Makefile ] || exit 0; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14872 for flag in $(EXTRA_HOST_FLAGS) ; do \
14873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14886 .PHONY: maybe-TAGS-tcl TAGS-tcl
14889 maybe-TAGS-tcl: TAGS-tcl
14894 @[ -f ./tcl/Makefile ] || exit 0; \
14895 r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14898 for flag in $(EXTRA_HOST_FLAGS) ; do \
14899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14912 .PHONY: maybe-install-info-tcl install-info-tcl
14913 maybe-install-info-tcl:
14915 maybe-install-info-tcl: install-info-tcl
14917 install-info-tcl: \
14921 @[ -f ./tcl/Makefile ] || exit 0; \
14922 r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14925 for flag in $(EXTRA_HOST_FLAGS) ; do \
14926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14939 .PHONY: maybe-installcheck-tcl installcheck-tcl
14940 maybe-installcheck-tcl:
14942 maybe-installcheck-tcl: installcheck-tcl
14944 installcheck-tcl: \
14947 @[ -f ./tcl/Makefile ] || exit 0; \
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14951 for flag in $(EXTRA_HOST_FLAGS) ; do \
14952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
14965 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14966 maybe-mostlyclean-tcl:
14968 maybe-mostlyclean-tcl: mostlyclean-tcl
14970 # tcl doesn't support mostlyclean.
14975 .PHONY: maybe-clean-tcl clean-tcl
14978 maybe-clean-tcl: clean-tcl
14982 @[ -f ./tcl/Makefile ] || exit 0; \
14983 r=`${PWD_COMMAND}`; export r; \
14984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14986 for flag in $(EXTRA_HOST_FLAGS) ; do \
14987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15000 .PHONY: maybe-distclean-tcl distclean-tcl
15001 maybe-distclean-tcl:
15003 maybe-distclean-tcl: distclean-tcl
15007 @[ -f ./tcl/Makefile ] || exit 0; \
15008 r=`${PWD_COMMAND}`; export r; \
15009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15011 for flag in $(EXTRA_HOST_FLAGS) ; do \
15012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15025 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15026 maybe-maintainer-clean-tcl:
15028 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15030 maintainer-clean-tcl:
15032 @[ -f ./tcl/Makefile ] || exit 0; \
15033 r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15036 for flag in $(EXTRA_HOST_FLAGS) ; do \
15037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
15052 .PHONY: configure-itcl maybe-configure-itcl
15053 maybe-configure-itcl:
15055 maybe-configure-itcl: configure-itcl
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; \
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) ;; \
15070 srcdiroption="--srcdir=$${topdir}/itcl"; \
15071 libsrcdir="$$s/itcl"; \
15072 $(SHELL) $${libsrcdir}/configure \
15073 $(HOST_CONFIGARGS) $${srcdiroption} \
15081 .PHONY: all-itcl maybe-all-itcl
15085 maybe-all-itcl: all-itcl
15086 all-itcl: configure-itcl
15088 @r=`${PWD_COMMAND}`; export r; \
15089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15091 (cd $(HOST_SUBDIR)/itcl && \
15092 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15098 .PHONY: check-itcl maybe-check-itcl
15101 maybe-check-itcl: check-itcl
15105 @r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15108 (cd $(HOST_SUBDIR)/itcl && \
15109 $(MAKE) $(FLAGS_TO_PASS) check)
15113 .PHONY: install-itcl maybe-install-itcl
15114 maybe-install-itcl:
15116 maybe-install-itcl: install-itcl
15118 install-itcl: installdirs
15120 @r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 (cd $(HOST_SUBDIR)/itcl && \
15124 $(MAKE) $(FLAGS_TO_PASS) install)
15128 # Other targets (info, dvi, etc.)
15130 .PHONY: maybe-info-itcl info-itcl
15133 maybe-info-itcl: info-itcl
15138 @[ -f ./itcl/Makefile ] || exit 0; \
15139 r=`${PWD_COMMAND}`; export r; \
15140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15142 for flag in $(EXTRA_HOST_FLAGS) ; do \
15143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15156 .PHONY: maybe-dvi-itcl dvi-itcl
15159 maybe-dvi-itcl: dvi-itcl
15164 @[ -f ./itcl/Makefile ] || exit 0; \
15165 r=`${PWD_COMMAND}`; export r; \
15166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15168 for flag in $(EXTRA_HOST_FLAGS) ; do \
15169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15182 .PHONY: maybe-html-itcl html-itcl
15185 maybe-html-itcl: html-itcl
15190 @[ -f ./itcl/Makefile ] || exit 0; \
15191 r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15194 for flag in $(EXTRA_HOST_FLAGS) ; do \
15195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15208 .PHONY: maybe-TAGS-itcl TAGS-itcl
15211 maybe-TAGS-itcl: TAGS-itcl
15216 @[ -f ./itcl/Makefile ] || exit 0; \
15217 r=`${PWD_COMMAND}`; export r; \
15218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15220 for flag in $(EXTRA_HOST_FLAGS) ; do \
15221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15234 .PHONY: maybe-install-info-itcl install-info-itcl
15235 maybe-install-info-itcl:
15237 maybe-install-info-itcl: install-info-itcl
15239 install-info-itcl: \
15243 @[ -f ./itcl/Makefile ] || exit 0; \
15244 r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 for flag in $(EXTRA_HOST_FLAGS) ; do \
15248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15261 .PHONY: maybe-installcheck-itcl installcheck-itcl
15262 maybe-installcheck-itcl:
15264 maybe-installcheck-itcl: installcheck-itcl
15266 installcheck-itcl: \
15269 @[ -f ./itcl/Makefile ] || exit 0; \
15270 r=`${PWD_COMMAND}`; export r; \
15271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 for flag in $(EXTRA_HOST_FLAGS) ; do \
15274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15287 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15288 maybe-mostlyclean-itcl:
15290 maybe-mostlyclean-itcl: mostlyclean-itcl
15294 @[ -f ./itcl/Makefile ] || exit 0; \
15295 r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 for flag in $(EXTRA_HOST_FLAGS) ; do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15312 .PHONY: maybe-clean-itcl clean-itcl
15315 maybe-clean-itcl: clean-itcl
15319 @[ -f ./itcl/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15323 for flag in $(EXTRA_HOST_FLAGS) ; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15337 .PHONY: maybe-distclean-itcl distclean-itcl
15338 maybe-distclean-itcl:
15340 maybe-distclean-itcl: distclean-itcl
15344 @[ -f ./itcl/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 for flag in $(EXTRA_HOST_FLAGS) ; do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15362 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15363 maybe-maintainer-clean-itcl:
15365 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15367 maintainer-clean-itcl:
15369 @[ -f ./itcl/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15373 for flag in $(EXTRA_HOST_FLAGS) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
15389 .PHONY: configure-ld maybe-configure-ld
15390 maybe-configure-ld:
15392 maybe-configure-ld: 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; \
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) ;; \
15407 srcdiroption="--srcdir=$${topdir}/ld"; \
15408 libsrcdir="$$s/ld"; \
15409 $(SHELL) $${libsrcdir}/configure \
15410 $(HOST_CONFIGARGS) $${srcdiroption} \
15416 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15417 maybe-configure-stage1-ld:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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
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; \
15579 (cd $(HOST_SUBDIR)/ld && \
15580 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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:
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; \
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
15605 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
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:
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; \
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
15635 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15637 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15638 cd $(HOST_SUBDIR)/ld && \
15639 $(MAKE) $(FLAGS_TO_PASS) \
15640 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
15666 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15668 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15669 cd $(HOST_SUBDIR)/ld && \
15670 $(MAKE) $(FLAGS_TO_PASS) \
15671 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
15697 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15699 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15700 cd $(HOST_SUBDIR)/ld && \
15701 $(MAKE) $(FLAGS_TO_PASS) \
15702 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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 ] \
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:
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; \
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 ] \
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
15775 maybe-check-ld: check-ld
15779 @r=`${PWD_COMMAND}`; export r; \
15780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15782 (cd $(HOST_SUBDIR)/ld && \
15783 $(MAKE) $(FLAGS_TO_PASS) check)
15787 .PHONY: install-ld maybe-install-ld
15790 maybe-install-ld: install-ld
15792 install-ld: installdirs
15794 @r=`${PWD_COMMAND}`; export r; \
15795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 (cd $(HOST_SUBDIR)/ld && \
15798 $(MAKE) $(FLAGS_TO_PASS) install)
15802 # Other targets (info, dvi, etc.)
15804 .PHONY: maybe-info-ld info-ld
15807 maybe-info-ld: info-ld
15811 @[ -f ./ld/Makefile ] || exit 0; \
15812 r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 for flag in $(EXTRA_HOST_FLAGS) ; do \
15816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15829 .PHONY: maybe-dvi-ld dvi-ld
15832 maybe-dvi-ld: dvi-ld
15836 @[ -f ./ld/Makefile ] || exit 0; \
15837 r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15840 for flag in $(EXTRA_HOST_FLAGS) ; do \
15841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15854 .PHONY: maybe-html-ld html-ld
15857 maybe-html-ld: html-ld
15861 @[ -f ./ld/Makefile ] || exit 0; \
15862 r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15865 for flag in $(EXTRA_HOST_FLAGS) ; do \
15866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15879 .PHONY: maybe-TAGS-ld TAGS-ld
15882 maybe-TAGS-ld: TAGS-ld
15886 @[ -f ./ld/Makefile ] || exit 0; \
15887 r=`${PWD_COMMAND}`; export r; \
15888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15890 for flag in $(EXTRA_HOST_FLAGS) ; do \
15891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15904 .PHONY: maybe-install-info-ld install-info-ld
15905 maybe-install-info-ld:
15907 maybe-install-info-ld: install-info-ld
15912 @[ -f ./ld/Makefile ] || exit 0; \
15913 r=`${PWD_COMMAND}`; export r; \
15914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15916 for flag in $(EXTRA_HOST_FLAGS) ; do \
15917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15930 .PHONY: maybe-installcheck-ld installcheck-ld
15931 maybe-installcheck-ld:
15933 maybe-installcheck-ld: installcheck-ld
15937 @[ -f ./ld/Makefile ] || exit 0; \
15938 r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15941 for flag in $(EXTRA_HOST_FLAGS) ; do \
15942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15955 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15956 maybe-mostlyclean-ld:
15958 maybe-mostlyclean-ld: mostlyclean-ld
15961 @[ -f ./ld/Makefile ] || exit 0; \
15962 r=`${PWD_COMMAND}`; export r; \
15963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15965 for flag in $(EXTRA_HOST_FLAGS) ; do \
15966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
15979 .PHONY: maybe-clean-ld clean-ld
15982 maybe-clean-ld: clean-ld
15985 @[ -f ./ld/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16003 .PHONY: maybe-distclean-ld distclean-ld
16004 maybe-distclean-ld:
16006 maybe-distclean-ld: distclean-ld
16009 @[ -f ./ld/Makefile ] || exit 0; \
16010 r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16027 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16028 maybe-maintainer-clean-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; \
16037 for flag in $(EXTRA_HOST_FLAGS) ; do \
16038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
16053 .PHONY: configure-libcpp maybe-configure-libcpp
16054 maybe-configure-libcpp:
16056 maybe-configure-libcpp: 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; \
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) ;; \
16071 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16072 libsrcdir="$$s/libcpp"; \
16073 $(SHELL) $${libsrcdir}/configure \
16074 $(HOST_CONFIGARGS) $${srcdiroption} \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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
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; \
16243 (cd $(HOST_SUBDIR)/libcpp && \
16244 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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; \
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 ] \
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; \
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 ] \
16301 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16302 cd $(HOST_SUBDIR)/libcpp && \
16303 $(MAKE) $(FLAGS_TO_PASS) \
16304 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
16332 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16333 cd $(HOST_SUBDIR)/libcpp && \
16334 $(MAKE) $(FLAGS_TO_PASS) \
16335 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
16363 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16364 cd $(HOST_SUBDIR)/libcpp && \
16365 $(MAKE) $(FLAGS_TO_PASS) \
16366 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
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; \
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 ] \
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:
16439 maybe-check-libcpp: check-libcpp
16443 @r=`${PWD_COMMAND}`; export r; \
16444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16446 (cd $(HOST_SUBDIR)/libcpp && \
16447 $(MAKE) $(FLAGS_TO_PASS) check)
16451 .PHONY: install-libcpp maybe-install-libcpp
16452 maybe-install-libcpp:
16454 maybe-install-libcpp: install-libcpp
16456 install-libcpp: installdirs
16458 @r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 (cd $(HOST_SUBDIR)/libcpp && \
16462 $(MAKE) $(FLAGS_TO_PASS) install)
16466 # Other targets (info, dvi, etc.)
16468 .PHONY: maybe-info-libcpp info-libcpp
16471 maybe-info-libcpp: info-libcpp
16475 @[ -f ./libcpp/Makefile ] || exit 0; \
16476 r=`${PWD_COMMAND}`; export r; \
16477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16479 for flag in $(EXTRA_HOST_FLAGS) ; do \
16480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16493 .PHONY: maybe-dvi-libcpp dvi-libcpp
16496 maybe-dvi-libcpp: dvi-libcpp
16500 @[ -f ./libcpp/Makefile ] || exit 0; \
16501 r=`${PWD_COMMAND}`; export r; \
16502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16504 for flag in $(EXTRA_HOST_FLAGS) ; do \
16505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16518 .PHONY: maybe-html-libcpp html-libcpp
16521 maybe-html-libcpp: html-libcpp
16525 @[ -f ./libcpp/Makefile ] || exit 0; \
16526 r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16529 for flag in $(EXTRA_HOST_FLAGS) ; do \
16530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16543 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16546 maybe-TAGS-libcpp: TAGS-libcpp
16550 @[ -f ./libcpp/Makefile ] || exit 0; \
16551 r=`${PWD_COMMAND}`; export r; \
16552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16554 for flag in $(EXTRA_HOST_FLAGS) ; do \
16555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16568 .PHONY: maybe-install-info-libcpp install-info-libcpp
16569 maybe-install-info-libcpp:
16571 maybe-install-info-libcpp: install-info-libcpp
16573 install-info-libcpp: \
16576 @[ -f ./libcpp/Makefile ] || exit 0; \
16577 r=`${PWD_COMMAND}`; export r; \
16578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16580 for flag in $(EXTRA_HOST_FLAGS) ; do \
16581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16594 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16595 maybe-installcheck-libcpp:
16597 maybe-installcheck-libcpp: installcheck-libcpp
16599 installcheck-libcpp: \
16601 @[ -f ./libcpp/Makefile ] || exit 0; \
16602 r=`${PWD_COMMAND}`; export r; \
16603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16605 for flag in $(EXTRA_HOST_FLAGS) ; do \
16606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16619 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16620 maybe-mostlyclean-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; \
16629 for flag in $(EXTRA_HOST_FLAGS) ; do \
16630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16643 .PHONY: maybe-clean-libcpp clean-libcpp
16644 maybe-clean-libcpp:
16646 maybe-clean-libcpp: clean-libcpp
16649 @[ -f ./libcpp/Makefile ] || exit 0; \
16650 r=`${PWD_COMMAND}`; export r; \
16651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16653 for flag in $(EXTRA_HOST_FLAGS) ; do \
16654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16667 .PHONY: maybe-distclean-libcpp distclean-libcpp
16668 maybe-distclean-libcpp:
16670 maybe-distclean-libcpp: distclean-libcpp
16673 @[ -f ./libcpp/Makefile ] || exit 0; \
16674 r=`${PWD_COMMAND}`; export r; \
16675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16677 for flag in $(EXTRA_HOST_FLAGS) ; do \
16678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16691 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16692 maybe-maintainer-clean-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; \
16701 for flag in $(EXTRA_HOST_FLAGS) ; do \
16702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
16717 .PHONY: configure-libgui maybe-configure-libgui
16718 maybe-configure-libgui:
16720 maybe-configure-libgui: configure-libgui
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; \
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) ;; \
16735 srcdiroption="--srcdir=$${topdir}/libgui"; \
16736 libsrcdir="$$s/libgui"; \
16737 $(SHELL) $${libsrcdir}/configure \
16738 $(HOST_CONFIGARGS) $${srcdiroption} \
16746 .PHONY: all-libgui maybe-all-libgui
16750 maybe-all-libgui: all-libgui
16751 all-libgui: configure-libgui
16753 @r=`${PWD_COMMAND}`; export r; \
16754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16756 (cd $(HOST_SUBDIR)/libgui && \
16757 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16763 .PHONY: check-libgui maybe-check-libgui
16764 maybe-check-libgui:
16766 maybe-check-libgui: check-libgui
16770 @r=`${PWD_COMMAND}`; export r; \
16771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 (cd $(HOST_SUBDIR)/libgui && \
16774 $(MAKE) $(FLAGS_TO_PASS) check)
16778 .PHONY: install-libgui maybe-install-libgui
16779 maybe-install-libgui:
16781 maybe-install-libgui: install-libgui
16783 install-libgui: installdirs
16785 @r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16788 (cd $(HOST_SUBDIR)/libgui && \
16789 $(MAKE) $(FLAGS_TO_PASS) install)
16793 # Other targets (info, dvi, etc.)
16795 .PHONY: maybe-info-libgui info-libgui
16798 maybe-info-libgui: info-libgui
16803 @[ -f ./libgui/Makefile ] || exit 0; \
16804 r=`${PWD_COMMAND}`; export r; \
16805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16807 for flag in $(EXTRA_HOST_FLAGS) ; do \
16808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16821 .PHONY: maybe-dvi-libgui dvi-libgui
16824 maybe-dvi-libgui: dvi-libgui
16829 @[ -f ./libgui/Makefile ] || exit 0; \
16830 r=`${PWD_COMMAND}`; export r; \
16831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16833 for flag in $(EXTRA_HOST_FLAGS) ; do \
16834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16847 .PHONY: maybe-html-libgui html-libgui
16850 maybe-html-libgui: html-libgui
16855 @[ -f ./libgui/Makefile ] || exit 0; \
16856 r=`${PWD_COMMAND}`; export r; \
16857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 for flag in $(EXTRA_HOST_FLAGS) ; do \
16860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16873 .PHONY: maybe-TAGS-libgui TAGS-libgui
16876 maybe-TAGS-libgui: TAGS-libgui
16881 @[ -f ./libgui/Makefile ] || exit 0; \
16882 r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16885 for flag in $(EXTRA_HOST_FLAGS) ; do \
16886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16899 .PHONY: maybe-install-info-libgui install-info-libgui
16900 maybe-install-info-libgui:
16902 maybe-install-info-libgui: install-info-libgui
16904 install-info-libgui: \
16908 @[ -f ./libgui/Makefile ] || exit 0; \
16909 r=`${PWD_COMMAND}`; export r; \
16910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 for flag in $(EXTRA_HOST_FLAGS) ; do \
16913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16926 .PHONY: maybe-installcheck-libgui installcheck-libgui
16927 maybe-installcheck-libgui:
16929 maybe-installcheck-libgui: installcheck-libgui
16931 installcheck-libgui: \
16934 @[ -f ./libgui/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16938 for flag in $(EXTRA_HOST_FLAGS) ; do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16952 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16953 maybe-mostlyclean-libgui:
16955 maybe-mostlyclean-libgui: mostlyclean-libgui
16957 mostlyclean-libgui:
16959 @[ -f ./libgui/Makefile ] || exit 0; \
16960 r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 for flag in $(EXTRA_HOST_FLAGS) ; do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
16977 .PHONY: maybe-clean-libgui clean-libgui
16978 maybe-clean-libgui:
16980 maybe-clean-libgui: clean-libgui
16984 @[ -f ./libgui/Makefile ] || exit 0; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16988 for flag in $(EXTRA_HOST_FLAGS) ; do \
16989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17002 .PHONY: maybe-distclean-libgui distclean-libgui
17003 maybe-distclean-libgui:
17005 maybe-distclean-libgui: distclean-libgui
17009 @[ -f ./libgui/Makefile ] || exit 0; \
17010 r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17013 for flag in $(EXTRA_HOST_FLAGS) ; do \
17014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17027 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17028 maybe-maintainer-clean-libgui:
17030 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17032 maintainer-clean-libgui:
17034 @[ -f ./libgui/Makefile ] || exit 0; \
17035 r=`${PWD_COMMAND}`; export r; \
17036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17038 for flag in $(EXTRA_HOST_FLAGS) ; do \
17039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
17054 .PHONY: configure-libiberty maybe-configure-libiberty
17055 maybe-configure-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; \
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) ;; \
17072 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17073 libsrcdir="$$s/libiberty"; \
17074 $(SHELL) $${libsrcdir}/configure \
17075 $(HOST_CONFIGARGS) $${srcdiroption} \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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; \
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) ;; \
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:
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; \
17244 (cd $(HOST_SUBDIR)/libiberty && \
17245 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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; \
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 ] \
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; \
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 ] \
17302 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17303 cd $(HOST_SUBDIR)/libiberty && \
17304 $(MAKE) $(FLAGS_TO_PASS) \
17305 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
17333 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17334 cd $(HOST_SUBDIR)/libiberty && \
17335 $(MAKE) $(FLAGS_TO_PASS) \
17336 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
17364 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17365 cd $(HOST_SUBDIR)/libiberty && \
17366 $(MAKE) $(FLAGS_TO_PASS) \
17367 $(POSTSTAGE1_FLAGS_TO_PASS) \
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; \
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 ] \
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; \
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 ] \
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:
17440 maybe-check-libiberty: check-libiberty
17444 @r=`${PWD_COMMAND}`; export r; \
17445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17447 (cd $(HOST_SUBDIR)/libiberty && \
17448 $(MAKE) $(FLAGS_TO_PASS) check)
17452 .PHONY: install-libiberty maybe-install-libiberty
17453 maybe-install-libiberty:
17455 maybe-install-libiberty: install-libiberty
17457 install-libiberty: installdirs
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17462 (cd $(HOST_SUBDIR)/libiberty && \
17463 $(MAKE) $(FLAGS_TO_PASS) install)
17467 # Other targets (info, dvi, etc.)
17469 .PHONY: maybe-info-libiberty info-libiberty
17470 maybe-info-libiberty:
17472 maybe-info-libiberty: 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; \
17480 for flag in $(EXTRA_HOST_FLAGS) ; do \
17481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17494 .PHONY: maybe-dvi-libiberty dvi-libiberty
17495 maybe-dvi-libiberty:
17497 maybe-dvi-libiberty: 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; \
17505 for flag in $(EXTRA_HOST_FLAGS) ; do \
17506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17519 .PHONY: maybe-html-libiberty html-libiberty
17520 maybe-html-libiberty:
17522 maybe-html-libiberty: 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; \
17530 for flag in $(EXTRA_HOST_FLAGS) ; do \
17531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17544 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
17545 maybe-TAGS-libiberty:
17547 maybe-TAGS-libiberty: 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; \
17555 for flag in $(EXTRA_HOST_FLAGS) ; do \
17556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17569 .PHONY: maybe-install-info-libiberty install-info-libiberty
17570 maybe-install-info-libiberty:
17572 maybe-install-info-libiberty: install-info-libiberty
17574 install-info-libiberty: \
17575 configure-libiberty \
17577 @[ -f ./libiberty/Makefile ] || exit 0; \
17578 r=`${PWD_COMMAND}`; export r; \
17579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 for flag in $(EXTRA_HOST_FLAGS) ; do \
17582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17595 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
17596 maybe-installcheck-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; \
17606 for flag in $(EXTRA_HOST_FLAGS) ; do \
17607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17620 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
17621 maybe-mostlyclean-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; \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17644 .PHONY: maybe-clean-libiberty clean-libiberty
17645 maybe-clean-libiberty:
17647 maybe-clean-libiberty: clean-libiberty
17650 @[ -f ./libiberty/Makefile ] || exit 0; \
17651 r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 for flag in $(EXTRA_HOST_FLAGS) ; do \
17655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17668 .PHONY: maybe-distclean-libiberty distclean-libiberty
17669 maybe-distclean-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; \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17692 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17693 maybe-maintainer-clean-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; \
17702 for flag in $(EXTRA_HOST_FLAGS) ; do \
17703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
17718 .PHONY: configure-libtool maybe-configure-libtool
17719 maybe-configure-libtool:
17721 maybe-configure-libtool: configure-libtool
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; \
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) ;; \
17736 srcdiroption="--srcdir=$${topdir}/libtool"; \
17737 libsrcdir="$$s/libtool"; \
17738 $(SHELL) $${libsrcdir}/configure \
17739 $(HOST_CONFIGARGS) $${srcdiroption} \
17747 .PHONY: all-libtool maybe-all-libtool
17751 maybe-all-libtool: all-libtool
17752 all-libtool: configure-libtool
17754 @r=`${PWD_COMMAND}`; export r; \
17755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17757 (cd $(HOST_SUBDIR)/libtool && \
17758 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17764 .PHONY: check-libtool maybe-check-libtool
17765 maybe-check-libtool:
17767 maybe-check-libtool: check-libtool
17771 @r=`${PWD_COMMAND}`; export r; \
17772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17774 (cd $(HOST_SUBDIR)/libtool && \
17775 $(MAKE) $(FLAGS_TO_PASS) check)
17779 .PHONY: install-libtool maybe-install-libtool
17780 maybe-install-libtool:
17782 maybe-install-libtool: install-libtool
17784 install-libtool: installdirs
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789 (cd $(HOST_SUBDIR)/libtool && \
17790 $(MAKE) $(FLAGS_TO_PASS) install)
17794 # Other targets (info, dvi, etc.)
17796 .PHONY: maybe-info-libtool info-libtool
17797 maybe-info-libtool:
17799 maybe-info-libtool: info-libtool
17804 @[ -f ./libtool/Makefile ] || exit 0; \
17805 r=`${PWD_COMMAND}`; export r; \
17806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17808 for flag in $(EXTRA_HOST_FLAGS) ; do \
17809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17822 .PHONY: maybe-dvi-libtool dvi-libtool
17825 maybe-dvi-libtool: dvi-libtool
17830 @[ -f ./libtool/Makefile ] || exit 0; \
17831 r=`${PWD_COMMAND}`; export r; \
17832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17834 for flag in $(EXTRA_HOST_FLAGS) ; do \
17835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17848 .PHONY: maybe-html-libtool html-libtool
17849 maybe-html-libtool:
17851 maybe-html-libtool: html-libtool
17856 @[ -f ./libtool/Makefile ] || exit 0; \
17857 r=`${PWD_COMMAND}`; export r; \
17858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 for flag in $(EXTRA_HOST_FLAGS) ; do \
17861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17874 .PHONY: maybe-TAGS-libtool TAGS-libtool
17875 maybe-TAGS-libtool:
17877 maybe-TAGS-libtool: TAGS-libtool
17882 @[ -f ./libtool/Makefile ] || exit 0; \
17883 r=`${PWD_COMMAND}`; export r; \
17884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17886 for flag in $(EXTRA_HOST_FLAGS) ; do \
17887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17900 .PHONY: maybe-install-info-libtool install-info-libtool
17901 maybe-install-info-libtool:
17903 maybe-install-info-libtool: install-info-libtool
17905 install-info-libtool: \
17906 configure-libtool \
17909 @[ -f ./libtool/Makefile ] || exit 0; \
17910 r=`${PWD_COMMAND}`; export r; \
17911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17913 for flag in $(EXTRA_HOST_FLAGS) ; do \
17914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17927 .PHONY: maybe-installcheck-libtool installcheck-libtool
17928 maybe-installcheck-libtool:
17930 maybe-installcheck-libtool: installcheck-libtool
17932 installcheck-libtool: \
17935 @[ -f ./libtool/Makefile ] || exit 0; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17953 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17954 maybe-mostlyclean-libtool:
17956 maybe-mostlyclean-libtool: mostlyclean-libtool
17958 mostlyclean-libtool:
17960 @[ -f ./libtool/Makefile ] || exit 0; \
17961 r=`${PWD_COMMAND}`; export r; \
17962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17964 for flag in $(EXTRA_HOST_FLAGS) ; do \
17965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
17978 .PHONY: maybe-clean-libtool clean-libtool
17979 maybe-clean-libtool:
17981 maybe-clean-libtool: clean-libtool
17985 @[ -f ./libtool/Makefile ] || exit 0; \
17986 r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 for flag in $(EXTRA_HOST_FLAGS) ; do \
17990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18003 .PHONY: maybe-distclean-libtool distclean-libtool
18004 maybe-distclean-libtool:
18006 maybe-distclean-libtool: distclean-libtool
18010 @[ -f ./libtool/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18014 for flag in $(EXTRA_HOST_FLAGS) ; do \
18015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18028 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18029 maybe-maintainer-clean-libtool:
18031 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18033 maintainer-clean-libtool:
18035 @[ -f ./libtool/Makefile ] || exit 0; \
18036 r=`${PWD_COMMAND}`; export r; \
18037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18039 for flag in $(EXTRA_HOST_FLAGS) ; do \
18040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
18055 .PHONY: configure-m4 maybe-configure-m4
18056 maybe-configure-m4:
18058 maybe-configure-m4: configure-m4
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; \
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) ;; \
18073 srcdiroption="--srcdir=$${topdir}/m4"; \
18074 libsrcdir="$$s/m4"; \
18075 $(SHELL) $${libsrcdir}/configure \
18076 $(HOST_CONFIGARGS) $${srcdiroption} \
18084 .PHONY: all-m4 maybe-all-m4
18088 maybe-all-m4: all-m4
18089 all-m4: configure-m4
18091 @r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18094 (cd $(HOST_SUBDIR)/m4 && \
18095 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18101 .PHONY: check-m4 maybe-check-m4
18104 maybe-check-m4: check-m4
18108 @r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18111 (cd $(HOST_SUBDIR)/m4 && \
18112 $(MAKE) $(FLAGS_TO_PASS) check)
18116 .PHONY: install-m4 maybe-install-m4
18119 maybe-install-m4: install-m4
18121 install-m4: installdirs
18123 @r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18126 (cd $(HOST_SUBDIR)/m4 && \
18127 $(MAKE) $(FLAGS_TO_PASS) install)
18131 # Other targets (info, dvi, etc.)
18133 .PHONY: maybe-info-m4 info-m4
18136 maybe-info-m4: info-m4
18141 @[ -f ./m4/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18145 for flag in $(EXTRA_HOST_FLAGS) ; do \
18146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18159 .PHONY: maybe-dvi-m4 dvi-m4
18162 maybe-dvi-m4: dvi-m4
18167 @[ -f ./m4/Makefile ] || exit 0; \
18168 r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18171 for flag in $(EXTRA_HOST_FLAGS) ; do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18185 .PHONY: maybe-html-m4 html-m4
18188 maybe-html-m4: html-m4
18193 @[ -f ./m4/Makefile ] || exit 0; \
18194 r=`${PWD_COMMAND}`; export r; \
18195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18197 for flag in $(EXTRA_HOST_FLAGS) ; do \
18198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18211 .PHONY: maybe-TAGS-m4 TAGS-m4
18214 maybe-TAGS-m4: TAGS-m4
18219 @[ -f ./m4/Makefile ] || exit 0; \
18220 r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18223 for flag in $(EXTRA_HOST_FLAGS) ; do \
18224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18237 .PHONY: maybe-install-info-m4 install-info-m4
18238 maybe-install-info-m4:
18240 maybe-install-info-m4: install-info-m4
18246 @[ -f ./m4/Makefile ] || exit 0; \
18247 r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18250 for flag in $(EXTRA_HOST_FLAGS) ; do \
18251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18264 .PHONY: maybe-installcheck-m4 installcheck-m4
18265 maybe-installcheck-m4:
18267 maybe-installcheck-m4: installcheck-m4
18272 @[ -f ./m4/Makefile ] || exit 0; \
18273 r=`${PWD_COMMAND}`; export r; \
18274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18276 for flag in $(EXTRA_HOST_FLAGS) ; do \
18277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18290 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18291 maybe-mostlyclean-m4:
18293 maybe-mostlyclean-m4: mostlyclean-m4
18297 @[ -f ./m4/Makefile ] || exit 0; \
18298 r=`${PWD_COMMAND}`; export r; \
18299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301 for flag in $(EXTRA_HOST_FLAGS) ; do \
18302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18315 .PHONY: maybe-clean-m4 clean-m4
18318 maybe-clean-m4: clean-m4
18322 @[ -f ./m4/Makefile ] || exit 0; \
18323 r=`${PWD_COMMAND}`; export r; \
18324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18326 for flag in $(EXTRA_HOST_FLAGS) ; do \
18327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18340 .PHONY: maybe-distclean-m4 distclean-m4
18341 maybe-distclean-m4:
18343 maybe-distclean-m4: distclean-m4
18347 @[ -f ./m4/Makefile ] || exit 0; \
18348 r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18351 for flag in $(EXTRA_HOST_FLAGS) ; do \
18352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18365 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18366 maybe-maintainer-clean-m4:
18368 maybe-maintainer-clean-m4: maintainer-clean-m4
18370 maintainer-clean-m4:
18372 @[ -f ./m4/Makefile ] || exit 0; \
18373 r=`${PWD_COMMAND}`; export r; \
18374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 for flag in $(EXTRA_HOST_FLAGS) ; do \
18377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
18392 .PHONY: configure-make maybe-configure-make
18393 maybe-configure-make:
18395 maybe-configure-make: configure-make
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; \
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) ;; \
18410 srcdiroption="--srcdir=$${topdir}/make"; \
18411 libsrcdir="$$s/make"; \
18412 $(SHELL) $${libsrcdir}/configure \
18413 $(HOST_CONFIGARGS) $${srcdiroption} \
18421 .PHONY: all-make maybe-all-make
18425 maybe-all-make: all-make
18426 all-make: configure-make
18428 @r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 (cd $(HOST_SUBDIR)/make && \
18432 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18438 .PHONY: check-make maybe-check-make
18441 maybe-check-make: check-make
18445 @r=`${PWD_COMMAND}`; export r; \
18446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18448 (cd $(HOST_SUBDIR)/make && \
18449 $(MAKE) $(FLAGS_TO_PASS) check)
18453 .PHONY: install-make maybe-install-make
18454 maybe-install-make:
18456 maybe-install-make: install-make
18458 install-make: installdirs
18460 @r=`${PWD_COMMAND}`; export r; \
18461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 (cd $(HOST_SUBDIR)/make && \
18464 $(MAKE) $(FLAGS_TO_PASS) install)
18468 # Other targets (info, dvi, etc.)
18470 .PHONY: maybe-info-make info-make
18473 maybe-info-make: info-make
18478 @[ -f ./make/Makefile ] || exit 0; \
18479 r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18482 for flag in $(EXTRA_HOST_FLAGS) ; do \
18483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18496 .PHONY: maybe-dvi-make dvi-make
18499 maybe-dvi-make: dvi-make
18504 @[ -f ./make/Makefile ] || exit 0; \
18505 r=`${PWD_COMMAND}`; export r; \
18506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18508 for flag in $(EXTRA_HOST_FLAGS) ; do \
18509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18522 .PHONY: maybe-html-make html-make
18525 maybe-html-make: html-make
18530 @[ -f ./make/Makefile ] || exit 0; \
18531 r=`${PWD_COMMAND}`; export r; \
18532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18534 for flag in $(EXTRA_HOST_FLAGS) ; do \
18535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18548 .PHONY: maybe-TAGS-make TAGS-make
18551 maybe-TAGS-make: TAGS-make
18556 @[ -f ./make/Makefile ] || exit 0; \
18557 r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18574 .PHONY: maybe-install-info-make install-info-make
18575 maybe-install-info-make:
18577 maybe-install-info-make: install-info-make
18579 install-info-make: \
18583 @[ -f ./make/Makefile ] || exit 0; \
18584 r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18587 for flag in $(EXTRA_HOST_FLAGS) ; do \
18588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18601 .PHONY: maybe-installcheck-make installcheck-make
18602 maybe-installcheck-make:
18604 maybe-installcheck-make: installcheck-make
18606 installcheck-make: \
18609 @[ -f ./make/Makefile ] || exit 0; \
18610 r=`${PWD_COMMAND}`; export r; \
18611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18613 for flag in $(EXTRA_HOST_FLAGS) ; do \
18614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18627 .PHONY: maybe-mostlyclean-make mostlyclean-make
18628 maybe-mostlyclean-make:
18630 maybe-mostlyclean-make: mostlyclean-make
18634 @[ -f ./make/Makefile ] || exit 0; \
18635 r=`${PWD_COMMAND}`; export r; \
18636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 for flag in $(EXTRA_HOST_FLAGS) ; do \
18639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18652 .PHONY: maybe-clean-make clean-make
18655 maybe-clean-make: clean-make
18659 @[ -f ./make/Makefile ] || exit 0; \
18660 r=`${PWD_COMMAND}`; export r; \
18661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18663 for flag in $(EXTRA_HOST_FLAGS) ; do \
18664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18677 .PHONY: maybe-distclean-make distclean-make
18678 maybe-distclean-make:
18680 maybe-distclean-make: distclean-make
18684 @[ -f ./make/Makefile ] || exit 0; \
18685 r=`${PWD_COMMAND}`; export r; \
18686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18688 for flag in $(EXTRA_HOST_FLAGS) ; do \
18689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18702 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
18703 maybe-maintainer-clean-make:
18705 maybe-maintainer-clean-make: maintainer-clean-make
18707 maintainer-clean-make:
18709 @[ -f ./make/Makefile ] || exit 0; \
18710 r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18713 for flag in $(EXTRA_HOST_FLAGS) ; do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
18729 .PHONY: configure-mmalloc maybe-configure-mmalloc
18730 maybe-configure-mmalloc:
18732 maybe-configure-mmalloc: configure-mmalloc
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; \
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) ;; \
18747 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18748 libsrcdir="$$s/mmalloc"; \
18749 $(SHELL) $${libsrcdir}/configure \
18750 $(HOST_CONFIGARGS) $${srcdiroption} \
18758 .PHONY: all-mmalloc maybe-all-mmalloc
18762 maybe-all-mmalloc: all-mmalloc
18763 all-mmalloc: configure-mmalloc
18765 @r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18768 (cd $(HOST_SUBDIR)/mmalloc && \
18769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18775 .PHONY: check-mmalloc maybe-check-mmalloc
18776 maybe-check-mmalloc:
18778 maybe-check-mmalloc: check-mmalloc
18784 .PHONY: install-mmalloc maybe-install-mmalloc
18785 maybe-install-mmalloc:
18787 maybe-install-mmalloc: install-mmalloc
18789 install-mmalloc: installdirs
18791 @r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 (cd $(HOST_SUBDIR)/mmalloc && \
18795 $(MAKE) $(FLAGS_TO_PASS) install)
18799 # Other targets (info, dvi, etc.)
18801 .PHONY: maybe-info-mmalloc info-mmalloc
18802 maybe-info-mmalloc:
18804 maybe-info-mmalloc: info-mmalloc
18809 @[ -f ./mmalloc/Makefile ] || exit 0; \
18810 r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18813 for flag in $(EXTRA_HOST_FLAGS) ; do \
18814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18827 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18830 maybe-dvi-mmalloc: dvi-mmalloc
18835 @[ -f ./mmalloc/Makefile ] || exit 0; \
18836 r=`${PWD_COMMAND}`; export r; \
18837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18839 for flag in $(EXTRA_HOST_FLAGS) ; do \
18840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18853 .PHONY: maybe-html-mmalloc html-mmalloc
18854 maybe-html-mmalloc:
18856 maybe-html-mmalloc: html-mmalloc
18861 @[ -f ./mmalloc/Makefile ] || exit 0; \
18862 r=`${PWD_COMMAND}`; export r; \
18863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18865 for flag in $(EXTRA_HOST_FLAGS) ; do \
18866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18879 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18880 maybe-TAGS-mmalloc:
18882 maybe-TAGS-mmalloc: TAGS-mmalloc
18887 @[ -f ./mmalloc/Makefile ] || exit 0; \
18888 r=`${PWD_COMMAND}`; export r; \
18889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18891 for flag in $(EXTRA_HOST_FLAGS) ; do \
18892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18905 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18906 maybe-install-info-mmalloc:
18908 maybe-install-info-mmalloc: install-info-mmalloc
18910 install-info-mmalloc: \
18911 configure-mmalloc \
18914 @[ -f ./mmalloc/Makefile ] || exit 0; \
18915 r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18918 for flag in $(EXTRA_HOST_FLAGS) ; do \
18919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18932 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18933 maybe-installcheck-mmalloc:
18935 maybe-installcheck-mmalloc: installcheck-mmalloc
18937 installcheck-mmalloc: \
18940 @[ -f ./mmalloc/Makefile ] || exit 0; \
18941 r=`${PWD_COMMAND}`; export r; \
18942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18944 for flag in $(EXTRA_HOST_FLAGS) ; do \
18945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18958 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18959 maybe-mostlyclean-mmalloc:
18961 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18963 mostlyclean-mmalloc:
18965 @[ -f ./mmalloc/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
18983 .PHONY: maybe-clean-mmalloc clean-mmalloc
18984 maybe-clean-mmalloc:
18986 maybe-clean-mmalloc: clean-mmalloc
18990 @[ -f ./mmalloc/Makefile ] || exit 0; \
18991 r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18994 for flag in $(EXTRA_HOST_FLAGS) ; do \
18995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19008 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19009 maybe-distclean-mmalloc:
19011 maybe-distclean-mmalloc: distclean-mmalloc
19015 @[ -f ./mmalloc/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19019 for flag in $(EXTRA_HOST_FLAGS) ; do \
19020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19033 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19034 maybe-maintainer-clean-mmalloc:
19036 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19038 maintainer-clean-mmalloc:
19040 @[ -f ./mmalloc/Makefile ] || exit 0; \
19041 r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19044 for flag in $(EXTRA_HOST_FLAGS) ; do \
19045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
19060 .PHONY: configure-patch maybe-configure-patch
19061 maybe-configure-patch:
19063 maybe-configure-patch: configure-patch
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; \
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) ;; \
19078 srcdiroption="--srcdir=$${topdir}/patch"; \
19079 libsrcdir="$$s/patch"; \
19080 $(SHELL) $${libsrcdir}/configure \
19081 $(HOST_CONFIGARGS) $${srcdiroption} \
19089 .PHONY: all-patch maybe-all-patch
19093 maybe-all-patch: all-patch
19094 all-patch: configure-patch
19096 @r=`${PWD_COMMAND}`; export r; \
19097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 (cd $(HOST_SUBDIR)/patch && \
19100 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19106 .PHONY: check-patch maybe-check-patch
19109 maybe-check-patch: check-patch
19113 @r=`${PWD_COMMAND}`; export r; \
19114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19116 (cd $(HOST_SUBDIR)/patch && \
19117 $(MAKE) $(FLAGS_TO_PASS) check)
19121 .PHONY: install-patch maybe-install-patch
19122 maybe-install-patch:
19124 maybe-install-patch: install-patch
19126 install-patch: installdirs
19128 @r=`${PWD_COMMAND}`; export r; \
19129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 (cd $(HOST_SUBDIR)/patch && \
19132 $(MAKE) $(FLAGS_TO_PASS) install)
19136 # Other targets (info, dvi, etc.)
19138 .PHONY: maybe-info-patch info-patch
19141 maybe-info-patch: info-patch
19146 @[ -f ./patch/Makefile ] || exit 0; \
19147 r=`${PWD_COMMAND}`; export r; \
19148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19150 for flag in $(EXTRA_HOST_FLAGS) ; do \
19151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19164 .PHONY: maybe-dvi-patch dvi-patch
19167 maybe-dvi-patch: dvi-patch
19172 @[ -f ./patch/Makefile ] || exit 0; \
19173 r=`${PWD_COMMAND}`; export r; \
19174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19176 for flag in $(EXTRA_HOST_FLAGS) ; do \
19177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19190 .PHONY: maybe-html-patch html-patch
19193 maybe-html-patch: html-patch
19198 @[ -f ./patch/Makefile ] || exit 0; \
19199 r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 for flag in $(EXTRA_HOST_FLAGS) ; do \
19203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19216 .PHONY: maybe-TAGS-patch TAGS-patch
19219 maybe-TAGS-patch: TAGS-patch
19224 @[ -f ./patch/Makefile ] || exit 0; \
19225 r=`${PWD_COMMAND}`; export r; \
19226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19242 .PHONY: maybe-install-info-patch install-info-patch
19243 maybe-install-info-patch:
19245 maybe-install-info-patch: install-info-patch
19247 install-info-patch: \
19251 @[ -f ./patch/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19255 for flag in $(EXTRA_HOST_FLAGS) ; do \
19256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19269 .PHONY: maybe-installcheck-patch installcheck-patch
19270 maybe-installcheck-patch:
19272 maybe-installcheck-patch: installcheck-patch
19274 installcheck-patch: \
19277 @[ -f ./patch/Makefile ] || exit 0; \
19278 r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19295 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19296 maybe-mostlyclean-patch:
19298 maybe-mostlyclean-patch: mostlyclean-patch
19302 @[ -f ./patch/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19320 .PHONY: maybe-clean-patch clean-patch
19323 maybe-clean-patch: clean-patch
19327 @[ -f ./patch/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19345 .PHONY: maybe-distclean-patch distclean-patch
19346 maybe-distclean-patch:
19348 maybe-distclean-patch: distclean-patch
19352 @[ -f ./patch/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19370 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19371 maybe-maintainer-clean-patch:
19373 maybe-maintainer-clean-patch: maintainer-clean-patch
19375 maintainer-clean-patch:
19377 @[ -f ./patch/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 for flag in $(EXTRA_HOST_FLAGS) ; do \
19382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
19397 .PHONY: configure-perl maybe-configure-perl
19398 maybe-configure-perl:
19400 maybe-configure-perl: configure-perl
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; \
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) ;; \
19415 srcdiroption="--srcdir=$${topdir}/perl"; \
19416 libsrcdir="$$s/perl"; \
19417 $(SHELL) $${libsrcdir}/configure \
19418 $(HOST_CONFIGARGS) $${srcdiroption} \
19426 .PHONY: all-perl maybe-all-perl
19430 maybe-all-perl: all-perl
19431 all-perl: configure-perl
19433 @r=`${PWD_COMMAND}`; export r; \
19434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19436 (cd $(HOST_SUBDIR)/perl && \
19437 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19443 .PHONY: check-perl maybe-check-perl
19446 maybe-check-perl: check-perl
19450 @r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 (cd $(HOST_SUBDIR)/perl && \
19454 $(MAKE) $(FLAGS_TO_PASS) check)
19458 .PHONY: install-perl maybe-install-perl
19459 maybe-install-perl:
19461 maybe-install-perl: install-perl
19463 install-perl: installdirs
19465 @r=`${PWD_COMMAND}`; export r; \
19466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19468 (cd $(HOST_SUBDIR)/perl && \
19469 $(MAKE) $(FLAGS_TO_PASS) install)
19473 # Other targets (info, dvi, etc.)
19475 .PHONY: maybe-info-perl info-perl
19478 maybe-info-perl: info-perl
19483 @[ -f ./perl/Makefile ] || exit 0; \
19484 r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 for flag in $(EXTRA_HOST_FLAGS) ; do \
19488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19501 .PHONY: maybe-dvi-perl dvi-perl
19504 maybe-dvi-perl: dvi-perl
19509 @[ -f ./perl/Makefile ] || exit 0; \
19510 r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19513 for flag in $(EXTRA_HOST_FLAGS) ; do \
19514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19527 .PHONY: maybe-html-perl html-perl
19530 maybe-html-perl: html-perl
19535 @[ -f ./perl/Makefile ] || exit 0; \
19536 r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19539 for flag in $(EXTRA_HOST_FLAGS) ; do \
19540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19553 .PHONY: maybe-TAGS-perl TAGS-perl
19556 maybe-TAGS-perl: TAGS-perl
19561 @[ -f ./perl/Makefile ] || exit 0; \
19562 r=`${PWD_COMMAND}`; export r; \
19563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565 for flag in $(EXTRA_HOST_FLAGS) ; do \
19566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19579 .PHONY: maybe-install-info-perl install-info-perl
19580 maybe-install-info-perl:
19582 maybe-install-info-perl: install-info-perl
19584 install-info-perl: \
19588 @[ -f ./perl/Makefile ] || exit 0; \
19589 r=`${PWD_COMMAND}`; export r; \
19590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19592 for flag in $(EXTRA_HOST_FLAGS) ; do \
19593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19606 .PHONY: maybe-installcheck-perl installcheck-perl
19607 maybe-installcheck-perl:
19609 maybe-installcheck-perl: installcheck-perl
19611 installcheck-perl: \
19614 @[ -f ./perl/Makefile ] || exit 0; \
19615 r=`${PWD_COMMAND}`; export r; \
19616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19618 for flag in $(EXTRA_HOST_FLAGS) ; do \
19619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19632 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
19633 maybe-mostlyclean-perl:
19635 maybe-mostlyclean-perl: mostlyclean-perl
19639 @[ -f ./perl/Makefile ] || exit 0; \
19640 r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19643 for flag in $(EXTRA_HOST_FLAGS) ; do \
19644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19657 .PHONY: maybe-clean-perl clean-perl
19660 maybe-clean-perl: clean-perl
19664 @[ -f ./perl/Makefile ] || exit 0; \
19665 r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19668 for flag in $(EXTRA_HOST_FLAGS) ; do \
19669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19682 .PHONY: maybe-distclean-perl distclean-perl
19683 maybe-distclean-perl:
19685 maybe-distclean-perl: distclean-perl
19689 @[ -f ./perl/Makefile ] || exit 0; \
19690 r=`${PWD_COMMAND}`; export r; \
19691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19693 for flag in $(EXTRA_HOST_FLAGS) ; do \
19694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19707 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
19708 maybe-maintainer-clean-perl:
19710 maybe-maintainer-clean-perl: maintainer-clean-perl
19712 maintainer-clean-perl:
19714 @[ -f ./perl/Makefile ] || exit 0; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
19734 .PHONY: configure-prms maybe-configure-prms
19735 maybe-configure-prms:
19737 maybe-configure-prms: configure-prms
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; \
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) ;; \
19752 srcdiroption="--srcdir=$${topdir}/prms"; \
19753 libsrcdir="$$s/prms"; \
19754 $(SHELL) $${libsrcdir}/configure \
19755 $(HOST_CONFIGARGS) $${srcdiroption} \
19763 .PHONY: all-prms maybe-all-prms
19767 maybe-all-prms: all-prms
19768 all-prms: configure-prms
19770 @r=`${PWD_COMMAND}`; export r; \
19771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19773 (cd $(HOST_SUBDIR)/prms && \
19774 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19780 .PHONY: check-prms maybe-check-prms
19783 maybe-check-prms: check-prms
19787 @r=`${PWD_COMMAND}`; export r; \
19788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 (cd $(HOST_SUBDIR)/prms && \
19791 $(MAKE) $(FLAGS_TO_PASS) check)
19795 .PHONY: install-prms maybe-install-prms
19796 maybe-install-prms:
19798 maybe-install-prms: install-prms
19800 install-prms: installdirs
19802 @r=`${PWD_COMMAND}`; export r; \
19803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805 (cd $(HOST_SUBDIR)/prms && \
19806 $(MAKE) $(FLAGS_TO_PASS) install)
19810 # Other targets (info, dvi, etc.)
19812 .PHONY: maybe-info-prms info-prms
19815 maybe-info-prms: info-prms
19820 @[ -f ./prms/Makefile ] || exit 0; \
19821 r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 for flag in $(EXTRA_HOST_FLAGS) ; do \
19825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19838 .PHONY: maybe-dvi-prms dvi-prms
19841 maybe-dvi-prms: dvi-prms
19846 @[ -f ./prms/Makefile ] || exit 0; \
19847 r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19850 for flag in $(EXTRA_HOST_FLAGS) ; do \
19851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19864 .PHONY: maybe-html-prms html-prms
19867 maybe-html-prms: html-prms
19872 @[ -f ./prms/Makefile ] || exit 0; \
19873 r=`${PWD_COMMAND}`; export r; \
19874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 for flag in $(EXTRA_HOST_FLAGS) ; do \
19877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19890 .PHONY: maybe-TAGS-prms TAGS-prms
19893 maybe-TAGS-prms: TAGS-prms
19898 @[ -f ./prms/Makefile ] || exit 0; \
19899 r=`${PWD_COMMAND}`; export r; \
19900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19902 for flag in $(EXTRA_HOST_FLAGS) ; do \
19903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19916 .PHONY: maybe-install-info-prms install-info-prms
19917 maybe-install-info-prms:
19919 maybe-install-info-prms: install-info-prms
19921 install-info-prms: \
19925 @[ -f ./prms/Makefile ] || exit 0; \
19926 r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19929 for flag in $(EXTRA_HOST_FLAGS) ; do \
19930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19943 .PHONY: maybe-installcheck-prms installcheck-prms
19944 maybe-installcheck-prms:
19946 maybe-installcheck-prms: installcheck-prms
19948 installcheck-prms: \
19951 @[ -f ./prms/Makefile ] || exit 0; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 for flag in $(EXTRA_HOST_FLAGS) ; do \
19956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19969 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19970 maybe-mostlyclean-prms:
19972 maybe-mostlyclean-prms: mostlyclean-prms
19976 @[ -f ./prms/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
19994 .PHONY: maybe-clean-prms clean-prms
19997 maybe-clean-prms: clean-prms
20001 @[ -f ./prms/Makefile ] || exit 0; \
20002 r=`${PWD_COMMAND}`; export r; \
20003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 for flag in $(EXTRA_HOST_FLAGS) ; do \
20006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20019 .PHONY: maybe-distclean-prms distclean-prms
20020 maybe-distclean-prms:
20022 maybe-distclean-prms: distclean-prms
20026 @[ -f ./prms/Makefile ] || exit 0; \
20027 r=`${PWD_COMMAND}`; export r; \
20028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20030 for flag in $(EXTRA_HOST_FLAGS) ; do \
20031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20044 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20045 maybe-maintainer-clean-prms:
20047 maybe-maintainer-clean-prms: maintainer-clean-prms
20049 maintainer-clean-prms:
20051 @[ -f ./prms/Makefile ] || exit 0; \
20052 r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
20071 .PHONY: configure-rcs maybe-configure-rcs
20072 maybe-configure-rcs:
20074 maybe-configure-rcs: configure-rcs
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; \
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) ;; \
20089 srcdiroption="--srcdir=$${topdir}/rcs"; \
20090 libsrcdir="$$s/rcs"; \
20091 $(SHELL) $${libsrcdir}/configure \
20092 $(HOST_CONFIGARGS) $${srcdiroption} \
20100 .PHONY: all-rcs maybe-all-rcs
20104 maybe-all-rcs: all-rcs
20105 all-rcs: configure-rcs
20107 @r=`${PWD_COMMAND}`; export r; \
20108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20110 (cd $(HOST_SUBDIR)/rcs && \
20111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20117 .PHONY: check-rcs maybe-check-rcs
20120 maybe-check-rcs: check-rcs
20124 @r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20127 (cd $(HOST_SUBDIR)/rcs && \
20128 $(MAKE) $(FLAGS_TO_PASS) check)
20132 .PHONY: install-rcs maybe-install-rcs
20135 maybe-install-rcs: install-rcs
20137 install-rcs: installdirs
20139 @r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20142 (cd $(HOST_SUBDIR)/rcs && \
20143 $(MAKE) $(FLAGS_TO_PASS) install)
20147 # Other targets (info, dvi, etc.)
20149 .PHONY: maybe-info-rcs info-rcs
20152 maybe-info-rcs: info-rcs
20157 @[ -f ./rcs/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20175 .PHONY: maybe-dvi-rcs dvi-rcs
20178 maybe-dvi-rcs: dvi-rcs
20183 @[ -f ./rcs/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20201 .PHONY: maybe-html-rcs html-rcs
20204 maybe-html-rcs: html-rcs
20209 @[ -f ./rcs/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20227 .PHONY: maybe-TAGS-rcs TAGS-rcs
20230 maybe-TAGS-rcs: TAGS-rcs
20235 @[ -f ./rcs/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20253 .PHONY: maybe-install-info-rcs install-info-rcs
20254 maybe-install-info-rcs:
20256 maybe-install-info-rcs: install-info-rcs
20258 install-info-rcs: \
20262 @[ -f ./rcs/Makefile ] || exit 0; \
20263 r=`${PWD_COMMAND}`; export r; \
20264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20266 for flag in $(EXTRA_HOST_FLAGS) ; do \
20267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20280 .PHONY: maybe-installcheck-rcs installcheck-rcs
20281 maybe-installcheck-rcs:
20283 maybe-installcheck-rcs: installcheck-rcs
20285 installcheck-rcs: \
20288 @[ -f ./rcs/Makefile ] || exit 0; \
20289 r=`${PWD_COMMAND}`; export r; \
20290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20292 for flag in $(EXTRA_HOST_FLAGS) ; do \
20293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20306 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20307 maybe-mostlyclean-rcs:
20309 maybe-mostlyclean-rcs: mostlyclean-rcs
20313 @[ -f ./rcs/Makefile ] || exit 0; \
20314 r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20317 for flag in $(EXTRA_HOST_FLAGS) ; do \
20318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20331 .PHONY: maybe-clean-rcs clean-rcs
20334 maybe-clean-rcs: clean-rcs
20338 @[ -f ./rcs/Makefile ] || exit 0; \
20339 r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20342 for flag in $(EXTRA_HOST_FLAGS) ; do \
20343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20356 .PHONY: maybe-distclean-rcs distclean-rcs
20357 maybe-distclean-rcs:
20359 maybe-distclean-rcs: distclean-rcs
20363 @[ -f ./rcs/Makefile ] || exit 0; \
20364 r=`${PWD_COMMAND}`; export r; \
20365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20367 for flag in $(EXTRA_HOST_FLAGS) ; do \
20368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20381 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20382 maybe-maintainer-clean-rcs:
20384 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20386 maintainer-clean-rcs:
20388 @[ -f ./rcs/Makefile ] || exit 0; \
20389 r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20392 for flag in $(EXTRA_HOST_FLAGS) ; do \
20393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
20408 .PHONY: configure-readline maybe-configure-readline
20409 maybe-configure-readline:
20411 maybe-configure-readline: configure-readline
20412 configure-readline:
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; \
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) ;; \
20426 srcdiroption="--srcdir=$${topdir}/readline"; \
20427 libsrcdir="$$s/readline"; \
20428 $(SHELL) $${libsrcdir}/configure \
20429 $(HOST_CONFIGARGS) $${srcdiroption} \
20437 .PHONY: all-readline maybe-all-readline
20438 maybe-all-readline:
20440 TARGET-readline=all
20441 maybe-all-readline: all-readline
20442 all-readline: configure-readline
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20447 (cd $(HOST_SUBDIR)/readline && \
20448 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20454 .PHONY: check-readline maybe-check-readline
20455 maybe-check-readline:
20457 maybe-check-readline: check-readline
20461 @r=`${PWD_COMMAND}`; export r; \
20462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20464 (cd $(HOST_SUBDIR)/readline && \
20465 $(MAKE) $(FLAGS_TO_PASS) check)
20469 .PHONY: install-readline maybe-install-readline
20470 maybe-install-readline:
20472 maybe-install-readline: install-readline
20474 install-readline: installdirs
20476 @r=`${PWD_COMMAND}`; export r; \
20477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20479 (cd $(HOST_SUBDIR)/readline && \
20480 $(MAKE) $(FLAGS_TO_PASS) install)
20484 # Other targets (info, dvi, etc.)
20486 .PHONY: maybe-info-readline info-readline
20487 maybe-info-readline:
20489 maybe-info-readline: info-readline
20494 @[ -f ./readline/Makefile ] || exit 0; \
20495 r=`${PWD_COMMAND}`; export r; \
20496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 for flag in $(EXTRA_HOST_FLAGS) ; do \
20499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20512 .PHONY: maybe-dvi-readline dvi-readline
20513 maybe-dvi-readline:
20515 maybe-dvi-readline: dvi-readline
20520 @[ -f ./readline/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20524 for flag in $(EXTRA_HOST_FLAGS) ; do \
20525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20538 .PHONY: maybe-html-readline html-readline
20539 maybe-html-readline:
20541 maybe-html-readline: html-readline
20546 @[ -f ./readline/Makefile ] || exit 0; \
20547 r=`${PWD_COMMAND}`; export r; \
20548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 for flag in $(EXTRA_HOST_FLAGS) ; do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20564 .PHONY: maybe-TAGS-readline TAGS-readline
20565 maybe-TAGS-readline:
20567 maybe-TAGS-readline: TAGS-readline
20572 @[ -f ./readline/Makefile ] || exit 0; \
20573 r=`${PWD_COMMAND}`; export r; \
20574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20576 for flag in $(EXTRA_HOST_FLAGS) ; do \
20577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20590 .PHONY: maybe-install-info-readline install-info-readline
20591 maybe-install-info-readline:
20593 maybe-install-info-readline: install-info-readline
20595 install-info-readline: \
20596 configure-readline \
20599 @[ -f ./readline/Makefile ] || exit 0; \
20600 r=`${PWD_COMMAND}`; export r; \
20601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603 for flag in $(EXTRA_HOST_FLAGS) ; do \
20604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20617 .PHONY: maybe-installcheck-readline installcheck-readline
20618 maybe-installcheck-readline:
20620 maybe-installcheck-readline: installcheck-readline
20622 installcheck-readline: \
20625 @[ -f ./readline/Makefile ] || exit 0; \
20626 r=`${PWD_COMMAND}`; export r; \
20627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20629 for flag in $(EXTRA_HOST_FLAGS) ; do \
20630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20643 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
20644 maybe-mostlyclean-readline:
20646 maybe-mostlyclean-readline: mostlyclean-readline
20648 mostlyclean-readline:
20650 @[ -f ./readline/Makefile ] || exit 0; \
20651 r=`${PWD_COMMAND}`; export r; \
20652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 for flag in $(EXTRA_HOST_FLAGS) ; do \
20655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20668 .PHONY: maybe-clean-readline clean-readline
20669 maybe-clean-readline:
20671 maybe-clean-readline: clean-readline
20675 @[ -f ./readline/Makefile ] || exit 0; \
20676 r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679 for flag in $(EXTRA_HOST_FLAGS) ; do \
20680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20693 .PHONY: maybe-distclean-readline distclean-readline
20694 maybe-distclean-readline:
20696 maybe-distclean-readline: distclean-readline
20698 distclean-readline:
20700 @[ -f ./readline/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20718 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
20719 maybe-maintainer-clean-readline:
20721 maybe-maintainer-clean-readline: maintainer-clean-readline
20723 maintainer-clean-readline:
20725 @[ -f ./readline/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
20745 .PHONY: configure-release maybe-configure-release
20746 maybe-configure-release:
20748 maybe-configure-release: configure-release
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; \
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) ;; \
20763 srcdiroption="--srcdir=$${topdir}/release"; \
20764 libsrcdir="$$s/release"; \
20765 $(SHELL) $${libsrcdir}/configure \
20766 $(HOST_CONFIGARGS) $${srcdiroption} \
20774 .PHONY: all-release maybe-all-release
20778 maybe-all-release: all-release
20779 all-release: configure-release
20781 @r=`${PWD_COMMAND}`; export r; \
20782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20784 (cd $(HOST_SUBDIR)/release && \
20785 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
20791 .PHONY: check-release maybe-check-release
20792 maybe-check-release:
20794 maybe-check-release: check-release
20800 .PHONY: install-release maybe-install-release
20801 maybe-install-release:
20803 maybe-install-release: install-release
20809 # Other targets (info, dvi, etc.)
20811 .PHONY: maybe-info-release info-release
20812 maybe-info-release:
20814 maybe-info-release: info-release
20819 @[ -f ./release/Makefile ] || exit 0; \
20820 r=`${PWD_COMMAND}`; export r; \
20821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20823 for flag in $(EXTRA_HOST_FLAGS) ; do \
20824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20837 .PHONY: maybe-dvi-release dvi-release
20840 maybe-dvi-release: dvi-release
20845 @[ -f ./release/Makefile ] || exit 0; \
20846 r=`${PWD_COMMAND}`; export r; \
20847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20849 for flag in $(EXTRA_HOST_FLAGS) ; do \
20850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20863 .PHONY: maybe-html-release html-release
20864 maybe-html-release:
20866 maybe-html-release: html-release
20871 @[ -f ./release/Makefile ] || exit 0; \
20872 r=`${PWD_COMMAND}`; export r; \
20873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20875 for flag in $(EXTRA_HOST_FLAGS) ; do \
20876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20889 .PHONY: maybe-TAGS-release TAGS-release
20890 maybe-TAGS-release:
20892 maybe-TAGS-release: TAGS-release
20897 @[ -f ./release/Makefile ] || exit 0; \
20898 r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20901 for flag in $(EXTRA_HOST_FLAGS) ; do \
20902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20915 .PHONY: maybe-install-info-release install-info-release
20916 maybe-install-info-release:
20918 maybe-install-info-release: install-info-release
20920 install-info-release: \
20921 configure-release \
20924 @[ -f ./release/Makefile ] || exit 0; \
20925 r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20928 for flag in $(EXTRA_HOST_FLAGS) ; do \
20929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20942 .PHONY: maybe-installcheck-release installcheck-release
20943 maybe-installcheck-release:
20945 maybe-installcheck-release: installcheck-release
20947 installcheck-release: \
20950 @[ -f ./release/Makefile ] || exit 0; \
20951 r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20954 for flag in $(EXTRA_HOST_FLAGS) ; do \
20955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20968 .PHONY: maybe-mostlyclean-release mostlyclean-release
20969 maybe-mostlyclean-release:
20971 maybe-mostlyclean-release: mostlyclean-release
20973 mostlyclean-release:
20975 @[ -f ./release/Makefile ] || exit 0; \
20976 r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 for flag in $(EXTRA_HOST_FLAGS) ; do \
20980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
20993 .PHONY: maybe-clean-release clean-release
20994 maybe-clean-release:
20996 maybe-clean-release: clean-release
21000 @[ -f ./release/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21004 for flag in $(EXTRA_HOST_FLAGS) ; do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21018 .PHONY: maybe-distclean-release distclean-release
21019 maybe-distclean-release:
21021 maybe-distclean-release: distclean-release
21025 @[ -f ./release/Makefile ] || exit 0; \
21026 r=`${PWD_COMMAND}`; export r; \
21027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 for flag in $(EXTRA_HOST_FLAGS) ; do \
21030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21043 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21044 maybe-maintainer-clean-release:
21046 maybe-maintainer-clean-release: maintainer-clean-release
21048 maintainer-clean-release:
21050 @[ -f ./release/Makefile ] || exit 0; \
21051 r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 for flag in $(EXTRA_HOST_FLAGS) ; do \
21055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
21070 .PHONY: configure-recode maybe-configure-recode
21071 maybe-configure-recode:
21073 maybe-configure-recode: configure-recode
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; \
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) ;; \
21088 srcdiroption="--srcdir=$${topdir}/recode"; \
21089 libsrcdir="$$s/recode"; \
21090 $(SHELL) $${libsrcdir}/configure \
21091 $(HOST_CONFIGARGS) $${srcdiroption} \
21099 .PHONY: all-recode maybe-all-recode
21103 maybe-all-recode: all-recode
21104 all-recode: configure-recode
21106 @r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21109 (cd $(HOST_SUBDIR)/recode && \
21110 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21116 .PHONY: check-recode maybe-check-recode
21117 maybe-check-recode:
21119 maybe-check-recode: check-recode
21123 @r=`${PWD_COMMAND}`; export r; \
21124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21126 (cd $(HOST_SUBDIR)/recode && \
21127 $(MAKE) $(FLAGS_TO_PASS) check)
21131 .PHONY: install-recode maybe-install-recode
21132 maybe-install-recode:
21134 maybe-install-recode: install-recode
21136 install-recode: installdirs
21138 @r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21141 (cd $(HOST_SUBDIR)/recode && \
21142 $(MAKE) $(FLAGS_TO_PASS) install)
21146 # Other targets (info, dvi, etc.)
21148 .PHONY: maybe-info-recode info-recode
21151 maybe-info-recode: info-recode
21156 @[ -f ./recode/Makefile ] || exit 0; \
21157 r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21160 for flag in $(EXTRA_HOST_FLAGS) ; do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21174 .PHONY: maybe-dvi-recode dvi-recode
21177 maybe-dvi-recode: dvi-recode
21182 @[ -f ./recode/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21186 for flag in $(EXTRA_HOST_FLAGS) ; do \
21187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21200 .PHONY: maybe-html-recode html-recode
21203 maybe-html-recode: html-recode
21208 @[ -f ./recode/Makefile ] || exit 0; \
21209 r=`${PWD_COMMAND}`; export r; \
21210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21212 for flag in $(EXTRA_HOST_FLAGS) ; do \
21213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21226 .PHONY: maybe-TAGS-recode TAGS-recode
21229 maybe-TAGS-recode: TAGS-recode
21234 @[ -f ./recode/Makefile ] || exit 0; \
21235 r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21238 for flag in $(EXTRA_HOST_FLAGS) ; do \
21239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21252 .PHONY: maybe-install-info-recode install-info-recode
21253 maybe-install-info-recode:
21255 maybe-install-info-recode: install-info-recode
21257 install-info-recode: \
21261 @[ -f ./recode/Makefile ] || exit 0; \
21262 r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21265 for flag in $(EXTRA_HOST_FLAGS) ; do \
21266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21279 .PHONY: maybe-installcheck-recode installcheck-recode
21280 maybe-installcheck-recode:
21282 maybe-installcheck-recode: installcheck-recode
21284 installcheck-recode: \
21287 @[ -f ./recode/Makefile ] || exit 0; \
21288 r=`${PWD_COMMAND}`; export r; \
21289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 for flag in $(EXTRA_HOST_FLAGS) ; do \
21292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21305 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21306 maybe-mostlyclean-recode:
21308 maybe-mostlyclean-recode: mostlyclean-recode
21310 mostlyclean-recode:
21312 @[ -f ./recode/Makefile ] || exit 0; \
21313 r=`${PWD_COMMAND}`; export r; \
21314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 for flag in $(EXTRA_HOST_FLAGS) ; do \
21317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21330 .PHONY: maybe-clean-recode clean-recode
21331 maybe-clean-recode:
21333 maybe-clean-recode: clean-recode
21337 @[ -f ./recode/Makefile ] || exit 0; \
21338 r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21341 for flag in $(EXTRA_HOST_FLAGS) ; do \
21342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21355 .PHONY: maybe-distclean-recode distclean-recode
21356 maybe-distclean-recode:
21358 maybe-distclean-recode: distclean-recode
21362 @[ -f ./recode/Makefile ] || exit 0; \
21363 r=`${PWD_COMMAND}`; export r; \
21364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21366 for flag in $(EXTRA_HOST_FLAGS) ; do \
21367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21380 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21381 maybe-maintainer-clean-recode:
21383 maybe-maintainer-clean-recode: maintainer-clean-recode
21385 maintainer-clean-recode:
21387 @[ -f ./recode/Makefile ] || exit 0; \
21388 r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21391 for flag in $(EXTRA_HOST_FLAGS) ; do \
21392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
21407 .PHONY: configure-sed maybe-configure-sed
21408 maybe-configure-sed:
21410 maybe-configure-sed: configure-sed
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; \
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) ;; \
21425 srcdiroption="--srcdir=$${topdir}/sed"; \
21426 libsrcdir="$$s/sed"; \
21427 $(SHELL) $${libsrcdir}/configure \
21428 $(HOST_CONFIGARGS) $${srcdiroption} \
21436 .PHONY: all-sed maybe-all-sed
21440 maybe-all-sed: all-sed
21441 all-sed: configure-sed
21443 @r=`${PWD_COMMAND}`; export r; \
21444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21446 (cd $(HOST_SUBDIR)/sed && \
21447 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21453 .PHONY: check-sed maybe-check-sed
21456 maybe-check-sed: check-sed
21460 @r=`${PWD_COMMAND}`; export r; \
21461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21463 (cd $(HOST_SUBDIR)/sed && \
21464 $(MAKE) $(FLAGS_TO_PASS) check)
21468 .PHONY: install-sed maybe-install-sed
21471 maybe-install-sed: install-sed
21473 install-sed: installdirs
21475 @r=`${PWD_COMMAND}`; export r; \
21476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21478 (cd $(HOST_SUBDIR)/sed && \
21479 $(MAKE) $(FLAGS_TO_PASS) install)
21483 # Other targets (info, dvi, etc.)
21485 .PHONY: maybe-info-sed info-sed
21488 maybe-info-sed: info-sed
21493 @[ -f ./sed/Makefile ] || exit 0; \
21494 r=`${PWD_COMMAND}`; export r; \
21495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21497 for flag in $(EXTRA_HOST_FLAGS) ; do \
21498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21511 .PHONY: maybe-dvi-sed dvi-sed
21514 maybe-dvi-sed: dvi-sed
21519 @[ -f ./sed/Makefile ] || exit 0; \
21520 r=`${PWD_COMMAND}`; export r; \
21521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21523 for flag in $(EXTRA_HOST_FLAGS) ; do \
21524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21537 .PHONY: maybe-html-sed html-sed
21540 maybe-html-sed: html-sed
21545 @[ -f ./sed/Makefile ] || exit 0; \
21546 r=`${PWD_COMMAND}`; export r; \
21547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21549 for flag in $(EXTRA_HOST_FLAGS) ; do \
21550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21563 .PHONY: maybe-TAGS-sed TAGS-sed
21566 maybe-TAGS-sed: TAGS-sed
21571 @[ -f ./sed/Makefile ] || exit 0; \
21572 r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21575 for flag in $(EXTRA_HOST_FLAGS) ; do \
21576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21589 .PHONY: maybe-install-info-sed install-info-sed
21590 maybe-install-info-sed:
21592 maybe-install-info-sed: install-info-sed
21594 install-info-sed: \
21598 @[ -f ./sed/Makefile ] || exit 0; \
21599 r=`${PWD_COMMAND}`; export r; \
21600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21602 for flag in $(EXTRA_HOST_FLAGS) ; do \
21603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21616 .PHONY: maybe-installcheck-sed installcheck-sed
21617 maybe-installcheck-sed:
21619 maybe-installcheck-sed: installcheck-sed
21621 installcheck-sed: \
21624 @[ -f ./sed/Makefile ] || exit 0; \
21625 r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 for flag in $(EXTRA_HOST_FLAGS) ; do \
21629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21642 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
21643 maybe-mostlyclean-sed:
21645 maybe-mostlyclean-sed: mostlyclean-sed
21649 @[ -f ./sed/Makefile ] || exit 0; \
21650 r=`${PWD_COMMAND}`; export r; \
21651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21653 for flag in $(EXTRA_HOST_FLAGS) ; do \
21654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21667 .PHONY: maybe-clean-sed clean-sed
21670 maybe-clean-sed: clean-sed
21674 @[ -f ./sed/Makefile ] || exit 0; \
21675 r=`${PWD_COMMAND}`; export r; \
21676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 for flag in $(EXTRA_HOST_FLAGS) ; do \
21679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21692 .PHONY: maybe-distclean-sed distclean-sed
21693 maybe-distclean-sed:
21695 maybe-distclean-sed: distclean-sed
21699 @[ -f ./sed/Makefile ] || exit 0; \
21700 r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703 for flag in $(EXTRA_HOST_FLAGS) ; do \
21704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21717 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
21718 maybe-maintainer-clean-sed:
21720 maybe-maintainer-clean-sed: maintainer-clean-sed
21722 maintainer-clean-sed:
21724 @[ -f ./sed/Makefile ] || exit 0; \
21725 r=`${PWD_COMMAND}`; export r; \
21726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 for flag in $(EXTRA_HOST_FLAGS) ; do \
21729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
21744 .PHONY: configure-send-pr maybe-configure-send-pr
21745 maybe-configure-send-pr:
21747 maybe-configure-send-pr: configure-send-pr
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; \
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) ;; \
21762 srcdiroption="--srcdir=$${topdir}/send-pr"; \
21763 libsrcdir="$$s/send-pr"; \
21764 $(SHELL) $${libsrcdir}/configure \
21765 $(HOST_CONFIGARGS) $${srcdiroption} \
21773 .PHONY: all-send-pr maybe-all-send-pr
21777 maybe-all-send-pr: all-send-pr
21778 all-send-pr: configure-send-pr
21780 @r=`${PWD_COMMAND}`; export r; \
21781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 (cd $(HOST_SUBDIR)/send-pr && \
21784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
21790 .PHONY: check-send-pr maybe-check-send-pr
21791 maybe-check-send-pr:
21793 maybe-check-send-pr: check-send-pr
21797 @r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21800 (cd $(HOST_SUBDIR)/send-pr && \
21801 $(MAKE) $(FLAGS_TO_PASS) check)
21805 .PHONY: install-send-pr maybe-install-send-pr
21806 maybe-install-send-pr:
21808 maybe-install-send-pr: install-send-pr
21810 install-send-pr: installdirs
21812 @r=`${PWD_COMMAND}`; export r; \
21813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21815 (cd $(HOST_SUBDIR)/send-pr && \
21816 $(MAKE) $(FLAGS_TO_PASS) install)
21820 # Other targets (info, dvi, etc.)
21822 .PHONY: maybe-info-send-pr info-send-pr
21823 maybe-info-send-pr:
21825 maybe-info-send-pr: info-send-pr
21830 @[ -f ./send-pr/Makefile ] || exit 0; \
21831 r=`${PWD_COMMAND}`; export r; \
21832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834 for flag in $(EXTRA_HOST_FLAGS) ; do \
21835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21848 .PHONY: maybe-dvi-send-pr dvi-send-pr
21851 maybe-dvi-send-pr: dvi-send-pr
21856 @[ -f ./send-pr/Makefile ] || exit 0; \
21857 r=`${PWD_COMMAND}`; export r; \
21858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21860 for flag in $(EXTRA_HOST_FLAGS) ; do \
21861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21874 .PHONY: maybe-html-send-pr html-send-pr
21875 maybe-html-send-pr:
21877 maybe-html-send-pr: html-send-pr
21882 @[ -f ./send-pr/Makefile ] || exit 0; \
21883 r=`${PWD_COMMAND}`; export r; \
21884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21886 for flag in $(EXTRA_HOST_FLAGS) ; do \
21887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21900 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21901 maybe-TAGS-send-pr:
21903 maybe-TAGS-send-pr: TAGS-send-pr
21908 @[ -f ./send-pr/Makefile ] || exit 0; \
21909 r=`${PWD_COMMAND}`; export r; \
21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21912 for flag in $(EXTRA_HOST_FLAGS) ; do \
21913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21926 .PHONY: maybe-install-info-send-pr install-info-send-pr
21927 maybe-install-info-send-pr:
21929 maybe-install-info-send-pr: install-info-send-pr
21931 install-info-send-pr: \
21932 configure-send-pr \
21935 @[ -f ./send-pr/Makefile ] || exit 0; \
21936 r=`${PWD_COMMAND}`; export r; \
21937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21939 for flag in $(EXTRA_HOST_FLAGS) ; do \
21940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21953 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21954 maybe-installcheck-send-pr:
21956 maybe-installcheck-send-pr: installcheck-send-pr
21958 installcheck-send-pr: \
21961 @[ -f ./send-pr/Makefile ] || exit 0; \
21962 r=`${PWD_COMMAND}`; export r; \
21963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21965 for flag in $(EXTRA_HOST_FLAGS) ; do \
21966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
21979 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21980 maybe-mostlyclean-send-pr:
21982 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21984 mostlyclean-send-pr:
21986 @[ -f ./send-pr/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 for flag in $(EXTRA_HOST_FLAGS) ; do \
21991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22004 .PHONY: maybe-clean-send-pr clean-send-pr
22005 maybe-clean-send-pr:
22007 maybe-clean-send-pr: clean-send-pr
22011 @[ -f ./send-pr/Makefile ] || exit 0; \
22012 r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22015 for flag in $(EXTRA_HOST_FLAGS) ; do \
22016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22029 .PHONY: maybe-distclean-send-pr distclean-send-pr
22030 maybe-distclean-send-pr:
22032 maybe-distclean-send-pr: distclean-send-pr
22036 @[ -f ./send-pr/Makefile ] || exit 0; \
22037 r=`${PWD_COMMAND}`; export r; \
22038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22040 for flag in $(EXTRA_HOST_FLAGS) ; do \
22041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22054 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22055 maybe-maintainer-clean-send-pr:
22057 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22059 maintainer-clean-send-pr:
22061 @[ -f ./send-pr/Makefile ] || exit 0; \
22062 r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22065 for flag in $(EXTRA_HOST_FLAGS) ; do \
22066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
22081 .PHONY: configure-shellutils maybe-configure-shellutils
22082 maybe-configure-shellutils:
22084 maybe-configure-shellutils: configure-shellutils
22085 configure-shellutils:
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; \
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) ;; \
22099 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22100 libsrcdir="$$s/shellutils"; \
22101 $(SHELL) $${libsrcdir}/configure \
22102 $(HOST_CONFIGARGS) $${srcdiroption} \
22110 .PHONY: all-shellutils maybe-all-shellutils
22111 maybe-all-shellutils:
22113 TARGET-shellutils=all
22114 maybe-all-shellutils: all-shellutils
22115 all-shellutils: configure-shellutils
22117 @r=`${PWD_COMMAND}`; export r; \
22118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22120 (cd $(HOST_SUBDIR)/shellutils && \
22121 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22127 .PHONY: check-shellutils maybe-check-shellutils
22128 maybe-check-shellutils:
22130 maybe-check-shellutils: check-shellutils
22134 @r=`${PWD_COMMAND}`; export r; \
22135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22137 (cd $(HOST_SUBDIR)/shellutils && \
22138 $(MAKE) $(FLAGS_TO_PASS) check)
22142 .PHONY: install-shellutils maybe-install-shellutils
22143 maybe-install-shellutils:
22145 maybe-install-shellutils: install-shellutils
22147 install-shellutils: installdirs
22149 @r=`${PWD_COMMAND}`; export r; \
22150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22152 (cd $(HOST_SUBDIR)/shellutils && \
22153 $(MAKE) $(FLAGS_TO_PASS) install)
22157 # Other targets (info, dvi, etc.)
22159 .PHONY: maybe-info-shellutils info-shellutils
22160 maybe-info-shellutils:
22162 maybe-info-shellutils: info-shellutils
22165 configure-shellutils
22167 @[ -f ./shellutils/Makefile ] || exit 0; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22171 for flag in $(EXTRA_HOST_FLAGS) ; do \
22172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22185 .PHONY: maybe-dvi-shellutils dvi-shellutils
22186 maybe-dvi-shellutils:
22188 maybe-dvi-shellutils: dvi-shellutils
22191 configure-shellutils
22193 @[ -f ./shellutils/Makefile ] || exit 0; \
22194 r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22197 for flag in $(EXTRA_HOST_FLAGS) ; do \
22198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22211 .PHONY: maybe-html-shellutils html-shellutils
22212 maybe-html-shellutils:
22214 maybe-html-shellutils: html-shellutils
22217 configure-shellutils
22219 @[ -f ./shellutils/Makefile ] || exit 0; \
22220 r=`${PWD_COMMAND}`; export r; \
22221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223 for flag in $(EXTRA_HOST_FLAGS) ; do \
22224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22237 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22238 maybe-TAGS-shellutils:
22240 maybe-TAGS-shellutils: TAGS-shellutils
22243 configure-shellutils
22245 @[ -f ./shellutils/Makefile ] || exit 0; \
22246 r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22249 for flag in $(EXTRA_HOST_FLAGS) ; do \
22250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22263 .PHONY: maybe-install-info-shellutils install-info-shellutils
22264 maybe-install-info-shellutils:
22266 maybe-install-info-shellutils: install-info-shellutils
22268 install-info-shellutils: \
22269 configure-shellutils \
22272 @[ -f ./shellutils/Makefile ] || exit 0; \
22273 r=`${PWD_COMMAND}`; export r; \
22274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22276 for flag in $(EXTRA_HOST_FLAGS) ; do \
22277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22290 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22291 maybe-installcheck-shellutils:
22293 maybe-installcheck-shellutils: installcheck-shellutils
22295 installcheck-shellutils: \
22296 configure-shellutils
22298 @[ -f ./shellutils/Makefile ] || exit 0; \
22299 r=`${PWD_COMMAND}`; export r; \
22300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302 for flag in $(EXTRA_HOST_FLAGS) ; do \
22303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22316 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22317 maybe-mostlyclean-shellutils:
22319 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22321 mostlyclean-shellutils:
22323 @[ -f ./shellutils/Makefile ] || exit 0; \
22324 r=`${PWD_COMMAND}`; export r; \
22325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 for flag in $(EXTRA_HOST_FLAGS) ; do \
22328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22341 .PHONY: maybe-clean-shellutils clean-shellutils
22342 maybe-clean-shellutils:
22344 maybe-clean-shellutils: clean-shellutils
22348 @[ -f ./shellutils/Makefile ] || exit 0; \
22349 r=`${PWD_COMMAND}`; export r; \
22350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352 for flag in $(EXTRA_HOST_FLAGS) ; do \
22353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22366 .PHONY: maybe-distclean-shellutils distclean-shellutils
22367 maybe-distclean-shellutils:
22369 maybe-distclean-shellutils: distclean-shellutils
22371 distclean-shellutils:
22373 @[ -f ./shellutils/Makefile ] || exit 0; \
22374 r=`${PWD_COMMAND}`; export r; \
22375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22377 for flag in $(EXTRA_HOST_FLAGS) ; do \
22378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22391 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22392 maybe-maintainer-clean-shellutils:
22394 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22396 maintainer-clean-shellutils:
22398 @[ -f ./shellutils/Makefile ] || exit 0; \
22399 r=`${PWD_COMMAND}`; export r; \
22400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22402 for flag in $(EXTRA_HOST_FLAGS) ; do \
22403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
22418 .PHONY: configure-sid maybe-configure-sid
22419 maybe-configure-sid:
22421 maybe-configure-sid: configure-sid
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; \
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) ;; \
22436 srcdiroption="--srcdir=$${topdir}/sid"; \
22437 libsrcdir="$$s/sid"; \
22438 $(SHELL) $${libsrcdir}/configure \
22439 $(HOST_CONFIGARGS) $${srcdiroption} \
22447 .PHONY: all-sid maybe-all-sid
22451 maybe-all-sid: all-sid
22452 all-sid: configure-sid
22454 @r=`${PWD_COMMAND}`; export r; \
22455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22457 (cd $(HOST_SUBDIR)/sid && \
22458 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22464 .PHONY: check-sid maybe-check-sid
22467 maybe-check-sid: check-sid
22471 @r=`${PWD_COMMAND}`; export r; \
22472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22474 (cd $(HOST_SUBDIR)/sid && \
22475 $(MAKE) $(FLAGS_TO_PASS) check)
22479 .PHONY: install-sid maybe-install-sid
22482 maybe-install-sid: install-sid
22484 install-sid: installdirs
22486 @r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22489 (cd $(HOST_SUBDIR)/sid && \
22490 $(MAKE) $(FLAGS_TO_PASS) install)
22494 # Other targets (info, dvi, etc.)
22496 .PHONY: maybe-info-sid info-sid
22499 maybe-info-sid: info-sid
22504 @[ -f ./sid/Makefile ] || exit 0; \
22505 r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 for flag in $(EXTRA_HOST_FLAGS) ; do \
22509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22522 .PHONY: maybe-dvi-sid dvi-sid
22525 maybe-dvi-sid: dvi-sid
22530 @[ -f ./sid/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22534 for flag in $(EXTRA_HOST_FLAGS) ; do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22548 .PHONY: maybe-html-sid html-sid
22551 maybe-html-sid: html-sid
22556 @[ -f ./sid/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 for flag in $(EXTRA_HOST_FLAGS) ; do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22574 .PHONY: maybe-TAGS-sid TAGS-sid
22577 maybe-TAGS-sid: TAGS-sid
22582 @[ -f ./sid/Makefile ] || exit 0; \
22583 r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 for flag in $(EXTRA_HOST_FLAGS) ; do \
22587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22600 .PHONY: maybe-install-info-sid install-info-sid
22601 maybe-install-info-sid:
22603 maybe-install-info-sid: install-info-sid
22605 install-info-sid: \
22609 @[ -f ./sid/Makefile ] || exit 0; \
22610 r=`${PWD_COMMAND}`; export r; \
22611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22613 for flag in $(EXTRA_HOST_FLAGS) ; do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22627 .PHONY: maybe-installcheck-sid installcheck-sid
22628 maybe-installcheck-sid:
22630 maybe-installcheck-sid: installcheck-sid
22632 installcheck-sid: \
22635 @[ -f ./sid/Makefile ] || exit 0; \
22636 r=`${PWD_COMMAND}`; export r; \
22637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22639 for flag in $(EXTRA_HOST_FLAGS) ; do \
22640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22653 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
22654 maybe-mostlyclean-sid:
22656 maybe-mostlyclean-sid: mostlyclean-sid
22660 @[ -f ./sid/Makefile ] || exit 0; \
22661 r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 for flag in $(EXTRA_HOST_FLAGS) ; do \
22665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22678 .PHONY: maybe-clean-sid clean-sid
22681 maybe-clean-sid: clean-sid
22685 @[ -f ./sid/Makefile ] || exit 0; \
22686 r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22689 for flag in $(EXTRA_HOST_FLAGS) ; do \
22690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22703 .PHONY: maybe-distclean-sid distclean-sid
22704 maybe-distclean-sid:
22706 maybe-distclean-sid: distclean-sid
22710 @[ -f ./sid/Makefile ] || exit 0; \
22711 r=`${PWD_COMMAND}`; export r; \
22712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22714 for flag in $(EXTRA_HOST_FLAGS) ; do \
22715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22728 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
22729 maybe-maintainer-clean-sid:
22731 maybe-maintainer-clean-sid: maintainer-clean-sid
22733 maintainer-clean-sid:
22735 @[ -f ./sid/Makefile ] || exit 0; \
22736 r=`${PWD_COMMAND}`; export r; \
22737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22739 for flag in $(EXTRA_HOST_FLAGS) ; do \
22740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
22755 .PHONY: configure-sim maybe-configure-sim
22756 maybe-configure-sim:
22758 maybe-configure-sim: configure-sim
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; \
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) ;; \
22773 srcdiroption="--srcdir=$${topdir}/sim"; \
22774 libsrcdir="$$s/sim"; \
22775 $(SHELL) $${libsrcdir}/configure \
22776 $(HOST_CONFIGARGS) $${srcdiroption} \
22784 .PHONY: all-sim maybe-all-sim
22788 maybe-all-sim: all-sim
22789 all-sim: configure-sim
22791 @r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22794 (cd $(HOST_SUBDIR)/sim && \
22795 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
22801 .PHONY: check-sim maybe-check-sim
22804 maybe-check-sim: check-sim
22808 @r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22811 (cd $(HOST_SUBDIR)/sim && \
22812 $(MAKE) $(FLAGS_TO_PASS) check)
22816 .PHONY: install-sim maybe-install-sim
22819 maybe-install-sim: install-sim
22821 install-sim: installdirs
22823 @r=`${PWD_COMMAND}`; export r; \
22824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22826 (cd $(HOST_SUBDIR)/sim && \
22827 $(MAKE) $(FLAGS_TO_PASS) install)
22831 # Other targets (info, dvi, etc.)
22833 .PHONY: maybe-info-sim info-sim
22836 maybe-info-sim: info-sim
22841 @[ -f ./sim/Makefile ] || exit 0; \
22842 r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22845 for flag in $(EXTRA_HOST_FLAGS) ; do \
22846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22859 .PHONY: maybe-dvi-sim dvi-sim
22862 maybe-dvi-sim: dvi-sim
22867 @[ -f ./sim/Makefile ] || exit 0; \
22868 r=`${PWD_COMMAND}`; export r; \
22869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22871 for flag in $(EXTRA_HOST_FLAGS) ; do \
22872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22885 .PHONY: maybe-html-sim html-sim
22888 maybe-html-sim: html-sim
22893 @[ -f ./sim/Makefile ] || exit 0; \
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 for flag in $(EXTRA_HOST_FLAGS) ; do \
22898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22911 .PHONY: maybe-TAGS-sim TAGS-sim
22914 maybe-TAGS-sim: TAGS-sim
22919 @[ -f ./sim/Makefile ] || exit 0; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22923 for flag in $(EXTRA_HOST_FLAGS) ; do \
22924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22937 .PHONY: maybe-install-info-sim install-info-sim
22938 maybe-install-info-sim:
22940 maybe-install-info-sim: install-info-sim
22942 install-info-sim: \
22946 @[ -f ./sim/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 for flag in $(EXTRA_HOST_FLAGS) ; do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22964 .PHONY: maybe-installcheck-sim installcheck-sim
22965 maybe-installcheck-sim:
22967 maybe-installcheck-sim: installcheck-sim
22969 installcheck-sim: \
22972 @[ -f ./sim/Makefile ] || exit 0; \
22973 r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976 for flag in $(EXTRA_HOST_FLAGS) ; do \
22977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
22990 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22991 maybe-mostlyclean-sim:
22993 maybe-mostlyclean-sim: mostlyclean-sim
22997 @[ -f ./sim/Makefile ] || exit 0; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23001 for flag in $(EXTRA_HOST_FLAGS) ; do \
23002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23015 .PHONY: maybe-clean-sim clean-sim
23018 maybe-clean-sim: clean-sim
23022 @[ -f ./sim/Makefile ] || exit 0; \
23023 r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026 for flag in $(EXTRA_HOST_FLAGS) ; do \
23027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23040 .PHONY: maybe-distclean-sim distclean-sim
23041 maybe-distclean-sim:
23043 maybe-distclean-sim: distclean-sim
23047 @[ -f ./sim/Makefile ] || exit 0; \
23048 r=`${PWD_COMMAND}`; export r; \
23049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 for flag in $(EXTRA_HOST_FLAGS) ; do \
23052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23065 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23066 maybe-maintainer-clean-sim:
23068 maybe-maintainer-clean-sim: maintainer-clean-sim
23070 maintainer-clean-sim:
23072 @[ -f ./sim/Makefile ] || exit 0; \
23073 r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23076 for flag in $(EXTRA_HOST_FLAGS) ; do \
23077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
23092 .PHONY: configure-tar maybe-configure-tar
23093 maybe-configure-tar:
23095 maybe-configure-tar: configure-tar
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; \
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) ;; \
23110 srcdiroption="--srcdir=$${topdir}/tar"; \
23111 libsrcdir="$$s/tar"; \
23112 $(SHELL) $${libsrcdir}/configure \
23113 $(HOST_CONFIGARGS) $${srcdiroption} \
23121 .PHONY: all-tar maybe-all-tar
23125 maybe-all-tar: all-tar
23126 all-tar: configure-tar
23128 @r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23131 (cd $(HOST_SUBDIR)/tar && \
23132 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23138 .PHONY: check-tar maybe-check-tar
23141 maybe-check-tar: check-tar
23145 @r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 (cd $(HOST_SUBDIR)/tar && \
23149 $(MAKE) $(FLAGS_TO_PASS) check)
23153 .PHONY: install-tar maybe-install-tar
23156 maybe-install-tar: install-tar
23158 install-tar: installdirs
23160 @r=`${PWD_COMMAND}`; export r; \
23161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163 (cd $(HOST_SUBDIR)/tar && \
23164 $(MAKE) $(FLAGS_TO_PASS) install)
23168 # Other targets (info, dvi, etc.)
23170 .PHONY: maybe-info-tar info-tar
23173 maybe-info-tar: info-tar
23178 @[ -f ./tar/Makefile ] || exit 0; \
23179 r=`${PWD_COMMAND}`; export r; \
23180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23182 for flag in $(EXTRA_HOST_FLAGS) ; do \
23183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23196 .PHONY: maybe-dvi-tar dvi-tar
23199 maybe-dvi-tar: dvi-tar
23204 @[ -f ./tar/Makefile ] || exit 0; \
23205 r=`${PWD_COMMAND}`; export r; \
23206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23208 for flag in $(EXTRA_HOST_FLAGS) ; do \
23209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23222 .PHONY: maybe-html-tar html-tar
23225 maybe-html-tar: html-tar
23230 @[ -f ./tar/Makefile ] || exit 0; \
23231 r=`${PWD_COMMAND}`; export r; \
23232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 for flag in $(EXTRA_HOST_FLAGS) ; do \
23235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23248 .PHONY: maybe-TAGS-tar TAGS-tar
23251 maybe-TAGS-tar: TAGS-tar
23256 @[ -f ./tar/Makefile ] || exit 0; \
23257 r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23260 for flag in $(EXTRA_HOST_FLAGS) ; do \
23261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23274 .PHONY: maybe-install-info-tar install-info-tar
23275 maybe-install-info-tar:
23277 maybe-install-info-tar: install-info-tar
23279 install-info-tar: \
23283 @[ -f ./tar/Makefile ] || exit 0; \
23284 r=`${PWD_COMMAND}`; export r; \
23285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23287 for flag in $(EXTRA_HOST_FLAGS) ; do \
23288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23301 .PHONY: maybe-installcheck-tar installcheck-tar
23302 maybe-installcheck-tar:
23304 maybe-installcheck-tar: installcheck-tar
23306 installcheck-tar: \
23309 @[ -f ./tar/Makefile ] || exit 0; \
23310 r=`${PWD_COMMAND}`; export r; \
23311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23313 for flag in $(EXTRA_HOST_FLAGS) ; do \
23314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23327 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23328 maybe-mostlyclean-tar:
23330 maybe-mostlyclean-tar: mostlyclean-tar
23334 @[ -f ./tar/Makefile ] || exit 0; \
23335 r=`${PWD_COMMAND}`; export r; \
23336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23338 for flag in $(EXTRA_HOST_FLAGS) ; do \
23339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23352 .PHONY: maybe-clean-tar clean-tar
23355 maybe-clean-tar: clean-tar
23359 @[ -f ./tar/Makefile ] || exit 0; \
23360 r=`${PWD_COMMAND}`; export r; \
23361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23363 for flag in $(EXTRA_HOST_FLAGS) ; do \
23364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23377 .PHONY: maybe-distclean-tar distclean-tar
23378 maybe-distclean-tar:
23380 maybe-distclean-tar: distclean-tar
23384 @[ -f ./tar/Makefile ] || exit 0; \
23385 r=`${PWD_COMMAND}`; export r; \
23386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23388 for flag in $(EXTRA_HOST_FLAGS) ; do \
23389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23402 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23403 maybe-maintainer-clean-tar:
23405 maybe-maintainer-clean-tar: maintainer-clean-tar
23407 maintainer-clean-tar:
23409 @[ -f ./tar/Makefile ] || exit 0; \
23410 r=`${PWD_COMMAND}`; export r; \
23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23413 for flag in $(EXTRA_HOST_FLAGS) ; do \
23414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
23429 .PHONY: configure-texinfo maybe-configure-texinfo
23430 maybe-configure-texinfo:
23432 maybe-configure-texinfo: configure-texinfo
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; \
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) ;; \
23447 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23448 libsrcdir="$$s/texinfo"; \
23449 $(SHELL) $${libsrcdir}/configure \
23450 $(HOST_CONFIGARGS) $${srcdiroption} \
23458 .PHONY: all-texinfo maybe-all-texinfo
23462 maybe-all-texinfo: all-texinfo
23463 all-texinfo: configure-texinfo
23465 @r=`${PWD_COMMAND}`; export r; \
23466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23468 (cd $(HOST_SUBDIR)/texinfo && \
23469 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23475 .PHONY: check-texinfo maybe-check-texinfo
23476 maybe-check-texinfo:
23478 maybe-check-texinfo: check-texinfo
23482 @r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23485 (cd $(HOST_SUBDIR)/texinfo && \
23486 $(MAKE) $(FLAGS_TO_PASS) check)
23490 .PHONY: install-texinfo maybe-install-texinfo
23491 maybe-install-texinfo:
23493 maybe-install-texinfo: install-texinfo
23499 # Other targets (info, dvi, etc.)
23501 .PHONY: maybe-info-texinfo info-texinfo
23502 maybe-info-texinfo:
23504 maybe-info-texinfo: info-texinfo
23509 @[ -f ./texinfo/Makefile ] || exit 0; \
23510 r=`${PWD_COMMAND}`; export r; \
23511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23513 for flag in $(EXTRA_HOST_FLAGS) ; do \
23514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23527 .PHONY: maybe-dvi-texinfo dvi-texinfo
23530 maybe-dvi-texinfo: dvi-texinfo
23535 @[ -f ./texinfo/Makefile ] || exit 0; \
23536 r=`${PWD_COMMAND}`; export r; \
23537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 for flag in $(EXTRA_HOST_FLAGS) ; do \
23540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23553 .PHONY: maybe-html-texinfo html-texinfo
23554 maybe-html-texinfo:
23556 maybe-html-texinfo: html-texinfo
23561 @[ -f ./texinfo/Makefile ] || exit 0; \
23562 r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 for flag in $(EXTRA_HOST_FLAGS) ; do \
23566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23579 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
23580 maybe-TAGS-texinfo:
23582 maybe-TAGS-texinfo: TAGS-texinfo
23587 @[ -f ./texinfo/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23605 .PHONY: maybe-install-info-texinfo install-info-texinfo
23606 maybe-install-info-texinfo:
23608 maybe-install-info-texinfo: install-info-texinfo
23610 install-info-texinfo: \
23611 configure-texinfo \
23614 @[ -f ./texinfo/Makefile ] || exit 0; \
23615 r=`${PWD_COMMAND}`; export r; \
23616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23618 for flag in $(EXTRA_HOST_FLAGS) ; do \
23619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23632 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
23633 maybe-installcheck-texinfo:
23635 maybe-installcheck-texinfo: installcheck-texinfo
23637 installcheck-texinfo: \
23640 @[ -f ./texinfo/Makefile ] || exit 0; \
23641 r=`${PWD_COMMAND}`; export r; \
23642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23644 for flag in $(EXTRA_HOST_FLAGS) ; do \
23645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23658 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
23659 maybe-mostlyclean-texinfo:
23661 maybe-mostlyclean-texinfo: mostlyclean-texinfo
23663 mostlyclean-texinfo:
23665 @[ -f ./texinfo/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23683 .PHONY: maybe-clean-texinfo clean-texinfo
23684 maybe-clean-texinfo:
23686 maybe-clean-texinfo: clean-texinfo
23690 @[ -f ./texinfo/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23708 .PHONY: maybe-distclean-texinfo distclean-texinfo
23709 maybe-distclean-texinfo:
23711 maybe-distclean-texinfo: distclean-texinfo
23715 @[ -f ./texinfo/Makefile ] || exit 0; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23719 for flag in $(EXTRA_HOST_FLAGS) ; do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23733 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
23734 maybe-maintainer-clean-texinfo:
23736 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
23738 maintainer-clean-texinfo:
23740 @[ -f ./texinfo/Makefile ] || exit 0; \
23741 r=`${PWD_COMMAND}`; export r; \
23742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23744 for flag in $(EXTRA_HOST_FLAGS) ; do \
23745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
23760 .PHONY: configure-textutils maybe-configure-textutils
23761 maybe-configure-textutils:
23763 maybe-configure-textutils: configure-textutils
23764 configure-textutils:
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; \
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) ;; \
23778 srcdiroption="--srcdir=$${topdir}/textutils"; \
23779 libsrcdir="$$s/textutils"; \
23780 $(SHELL) $${libsrcdir}/configure \
23781 $(HOST_CONFIGARGS) $${srcdiroption} \
23789 .PHONY: all-textutils maybe-all-textutils
23790 maybe-all-textutils:
23792 TARGET-textutils=all
23793 maybe-all-textutils: all-textutils
23794 all-textutils: configure-textutils
23796 @r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 (cd $(HOST_SUBDIR)/textutils && \
23800 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
23806 .PHONY: check-textutils maybe-check-textutils
23807 maybe-check-textutils:
23809 maybe-check-textutils: check-textutils
23813 @r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816 (cd $(HOST_SUBDIR)/textutils && \
23817 $(MAKE) $(FLAGS_TO_PASS) check)
23821 .PHONY: install-textutils maybe-install-textutils
23822 maybe-install-textutils:
23824 maybe-install-textutils: install-textutils
23826 install-textutils: installdirs
23828 @r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831 (cd $(HOST_SUBDIR)/textutils && \
23832 $(MAKE) $(FLAGS_TO_PASS) install)
23836 # Other targets (info, dvi, etc.)
23838 .PHONY: maybe-info-textutils info-textutils
23839 maybe-info-textutils:
23841 maybe-info-textutils: info-textutils
23844 configure-textutils
23846 @[ -f ./textutils/Makefile ] || exit 0; \
23847 r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23850 for flag in $(EXTRA_HOST_FLAGS) ; do \
23851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23864 .PHONY: maybe-dvi-textutils dvi-textutils
23865 maybe-dvi-textutils:
23867 maybe-dvi-textutils: dvi-textutils
23870 configure-textutils
23872 @[ -f ./textutils/Makefile ] || exit 0; \
23873 r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 for flag in $(EXTRA_HOST_FLAGS) ; do \
23877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23890 .PHONY: maybe-html-textutils html-textutils
23891 maybe-html-textutils:
23893 maybe-html-textutils: html-textutils
23896 configure-textutils
23898 @[ -f ./textutils/Makefile ] || exit 0; \
23899 r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23902 for flag in $(EXTRA_HOST_FLAGS) ; do \
23903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23916 .PHONY: maybe-TAGS-textutils TAGS-textutils
23917 maybe-TAGS-textutils:
23919 maybe-TAGS-textutils: TAGS-textutils
23922 configure-textutils
23924 @[ -f ./textutils/Makefile ] || exit 0; \
23925 r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23942 .PHONY: maybe-install-info-textutils install-info-textutils
23943 maybe-install-info-textutils:
23945 maybe-install-info-textutils: install-info-textutils
23947 install-info-textutils: \
23948 configure-textutils \
23951 @[ -f ./textutils/Makefile ] || exit 0; \
23952 r=`${PWD_COMMAND}`; export r; \
23953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23955 for flag in $(EXTRA_HOST_FLAGS) ; do \
23956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23969 .PHONY: maybe-installcheck-textutils installcheck-textutils
23970 maybe-installcheck-textutils:
23972 maybe-installcheck-textutils: installcheck-textutils
23974 installcheck-textutils: \
23975 configure-textutils
23977 @[ -f ./textutils/Makefile ] || exit 0; \
23978 r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 for flag in $(EXTRA_HOST_FLAGS) ; do \
23982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
23995 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23996 maybe-mostlyclean-textutils:
23998 maybe-mostlyclean-textutils: mostlyclean-textutils
24000 mostlyclean-textutils:
24002 @[ -f ./textutils/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24020 .PHONY: maybe-clean-textutils clean-textutils
24021 maybe-clean-textutils:
24023 maybe-clean-textutils: clean-textutils
24027 @[ -f ./textutils/Makefile ] || exit 0; \
24028 r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 for flag in $(EXTRA_HOST_FLAGS) ; do \
24032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24045 .PHONY: maybe-distclean-textutils distclean-textutils
24046 maybe-distclean-textutils:
24048 maybe-distclean-textutils: distclean-textutils
24050 distclean-textutils:
24052 @[ -f ./textutils/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24070 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24071 maybe-maintainer-clean-textutils:
24073 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24075 maintainer-clean-textutils:
24077 @[ -f ./textutils/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24081 for flag in $(EXTRA_HOST_FLAGS) ; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
24097 .PHONY: configure-time maybe-configure-time
24098 maybe-configure-time:
24100 maybe-configure-time: configure-time
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; \
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) ;; \
24115 srcdiroption="--srcdir=$${topdir}/time"; \
24116 libsrcdir="$$s/time"; \
24117 $(SHELL) $${libsrcdir}/configure \
24118 $(HOST_CONFIGARGS) $${srcdiroption} \
24126 .PHONY: all-time maybe-all-time
24130 maybe-all-time: all-time
24131 all-time: configure-time
24133 @r=`${PWD_COMMAND}`; export r; \
24134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24136 (cd $(HOST_SUBDIR)/time && \
24137 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24143 .PHONY: check-time maybe-check-time
24146 maybe-check-time: check-time
24150 @r=`${PWD_COMMAND}`; export r; \
24151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24153 (cd $(HOST_SUBDIR)/time && \
24154 $(MAKE) $(FLAGS_TO_PASS) check)
24158 .PHONY: install-time maybe-install-time
24159 maybe-install-time:
24161 maybe-install-time: install-time
24163 install-time: installdirs
24165 @r=`${PWD_COMMAND}`; export r; \
24166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24168 (cd $(HOST_SUBDIR)/time && \
24169 $(MAKE) $(FLAGS_TO_PASS) install)
24173 # Other targets (info, dvi, etc.)
24175 .PHONY: maybe-info-time info-time
24178 maybe-info-time: info-time
24183 @[ -f ./time/Makefile ] || exit 0; \
24184 r=`${PWD_COMMAND}`; export r; \
24185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 for flag in $(EXTRA_HOST_FLAGS) ; do \
24188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24201 .PHONY: maybe-dvi-time dvi-time
24204 maybe-dvi-time: dvi-time
24209 @[ -f ./time/Makefile ] || exit 0; \
24210 r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24213 for flag in $(EXTRA_HOST_FLAGS) ; do \
24214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24227 .PHONY: maybe-html-time html-time
24230 maybe-html-time: html-time
24235 @[ -f ./time/Makefile ] || exit 0; \
24236 r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24253 .PHONY: maybe-TAGS-time TAGS-time
24256 maybe-TAGS-time: TAGS-time
24261 @[ -f ./time/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24279 .PHONY: maybe-install-info-time install-info-time
24280 maybe-install-info-time:
24282 maybe-install-info-time: install-info-time
24284 install-info-time: \
24288 @[ -f ./time/Makefile ] || exit 0; \
24289 r=`${PWD_COMMAND}`; export r; \
24290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24292 for flag in $(EXTRA_HOST_FLAGS) ; do \
24293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24306 .PHONY: maybe-installcheck-time installcheck-time
24307 maybe-installcheck-time:
24309 maybe-installcheck-time: installcheck-time
24311 installcheck-time: \
24314 @[ -f ./time/Makefile ] || exit 0; \
24315 r=`${PWD_COMMAND}`; export r; \
24316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 for flag in $(EXTRA_HOST_FLAGS) ; do \
24319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24332 .PHONY: maybe-mostlyclean-time mostlyclean-time
24333 maybe-mostlyclean-time:
24335 maybe-mostlyclean-time: mostlyclean-time
24339 @[ -f ./time/Makefile ] || exit 0; \
24340 r=`${PWD_COMMAND}`; export r; \
24341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24343 for flag in $(EXTRA_HOST_FLAGS) ; do \
24344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24357 .PHONY: maybe-clean-time clean-time
24360 maybe-clean-time: clean-time
24364 @[ -f ./time/Makefile ] || exit 0; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24368 for flag in $(EXTRA_HOST_FLAGS) ; do \
24369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24382 .PHONY: maybe-distclean-time distclean-time
24383 maybe-distclean-time:
24385 maybe-distclean-time: distclean-time
24389 @[ -f ./time/Makefile ] || exit 0; \
24390 r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24393 for flag in $(EXTRA_HOST_FLAGS) ; do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24407 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24408 maybe-maintainer-clean-time:
24410 maybe-maintainer-clean-time: maintainer-clean-time
24412 maintainer-clean-time:
24414 @[ -f ./time/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
24434 .PHONY: configure-uudecode maybe-configure-uudecode
24435 maybe-configure-uudecode:
24437 maybe-configure-uudecode: configure-uudecode
24438 configure-uudecode:
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; \
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) ;; \
24452 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24453 libsrcdir="$$s/uudecode"; \
24454 $(SHELL) $${libsrcdir}/configure \
24455 $(HOST_CONFIGARGS) $${srcdiroption} \
24463 .PHONY: all-uudecode maybe-all-uudecode
24464 maybe-all-uudecode:
24466 TARGET-uudecode=all
24467 maybe-all-uudecode: all-uudecode
24468 all-uudecode: configure-uudecode
24470 @r=`${PWD_COMMAND}`; export r; \
24471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24473 (cd $(HOST_SUBDIR)/uudecode && \
24474 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24480 .PHONY: check-uudecode maybe-check-uudecode
24481 maybe-check-uudecode:
24483 maybe-check-uudecode: check-uudecode
24487 @r=`${PWD_COMMAND}`; export r; \
24488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24490 (cd $(HOST_SUBDIR)/uudecode && \
24491 $(MAKE) $(FLAGS_TO_PASS) check)
24495 .PHONY: install-uudecode maybe-install-uudecode
24496 maybe-install-uudecode:
24498 maybe-install-uudecode: install-uudecode
24500 install-uudecode: installdirs
24502 @r=`${PWD_COMMAND}`; export r; \
24503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24505 (cd $(HOST_SUBDIR)/uudecode && \
24506 $(MAKE) $(FLAGS_TO_PASS) install)
24510 # Other targets (info, dvi, etc.)
24512 .PHONY: maybe-info-uudecode info-uudecode
24513 maybe-info-uudecode:
24515 maybe-info-uudecode: info-uudecode
24520 @[ -f ./uudecode/Makefile ] || exit 0; \
24521 r=`${PWD_COMMAND}`; export r; \
24522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 for flag in $(EXTRA_HOST_FLAGS) ; do \
24525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24538 .PHONY: maybe-dvi-uudecode dvi-uudecode
24539 maybe-dvi-uudecode:
24541 maybe-dvi-uudecode: dvi-uudecode
24546 @[ -f ./uudecode/Makefile ] || exit 0; \
24547 r=`${PWD_COMMAND}`; export r; \
24548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24550 for flag in $(EXTRA_HOST_FLAGS) ; do \
24551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24564 .PHONY: maybe-html-uudecode html-uudecode
24565 maybe-html-uudecode:
24567 maybe-html-uudecode: html-uudecode
24572 @[ -f ./uudecode/Makefile ] || exit 0; \
24573 r=`${PWD_COMMAND}`; export r; \
24574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24576 for flag in $(EXTRA_HOST_FLAGS) ; do \
24577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24590 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
24591 maybe-TAGS-uudecode:
24593 maybe-TAGS-uudecode: TAGS-uudecode
24598 @[ -f ./uudecode/Makefile ] || exit 0; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 for flag in $(EXTRA_HOST_FLAGS) ; do \
24603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24616 .PHONY: maybe-install-info-uudecode install-info-uudecode
24617 maybe-install-info-uudecode:
24619 maybe-install-info-uudecode: install-info-uudecode
24621 install-info-uudecode: \
24622 configure-uudecode \
24625 @[ -f ./uudecode/Makefile ] || exit 0; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24629 for flag in $(EXTRA_HOST_FLAGS) ; do \
24630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24643 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
24644 maybe-installcheck-uudecode:
24646 maybe-installcheck-uudecode: installcheck-uudecode
24648 installcheck-uudecode: \
24651 @[ -f ./uudecode/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24669 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
24670 maybe-mostlyclean-uudecode:
24672 maybe-mostlyclean-uudecode: mostlyclean-uudecode
24674 mostlyclean-uudecode:
24676 @[ -f ./uudecode/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24694 .PHONY: maybe-clean-uudecode clean-uudecode
24695 maybe-clean-uudecode:
24697 maybe-clean-uudecode: clean-uudecode
24701 @[ -f ./uudecode/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24719 .PHONY: maybe-distclean-uudecode distclean-uudecode
24720 maybe-distclean-uudecode:
24722 maybe-distclean-uudecode: distclean-uudecode
24724 distclean-uudecode:
24726 @[ -f ./uudecode/Makefile ] || exit 0; \
24727 r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24730 for flag in $(EXTRA_HOST_FLAGS) ; do \
24731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24744 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
24745 maybe-maintainer-clean-uudecode:
24747 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
24749 maintainer-clean-uudecode:
24751 @[ -f ./uudecode/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
24771 .PHONY: configure-wdiff maybe-configure-wdiff
24772 maybe-configure-wdiff:
24774 maybe-configure-wdiff: configure-wdiff
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; \
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) ;; \
24789 srcdiroption="--srcdir=$${topdir}/wdiff"; \
24790 libsrcdir="$$s/wdiff"; \
24791 $(SHELL) $${libsrcdir}/configure \
24792 $(HOST_CONFIGARGS) $${srcdiroption} \
24800 .PHONY: all-wdiff maybe-all-wdiff
24804 maybe-all-wdiff: all-wdiff
24805 all-wdiff: configure-wdiff
24807 @r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24810 (cd $(HOST_SUBDIR)/wdiff && \
24811 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
24817 .PHONY: check-wdiff maybe-check-wdiff
24820 maybe-check-wdiff: check-wdiff
24824 @r=`${PWD_COMMAND}`; export r; \
24825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24827 (cd $(HOST_SUBDIR)/wdiff && \
24828 $(MAKE) $(FLAGS_TO_PASS) check)
24832 .PHONY: install-wdiff maybe-install-wdiff
24833 maybe-install-wdiff:
24835 maybe-install-wdiff: install-wdiff
24837 install-wdiff: installdirs
24839 @r=`${PWD_COMMAND}`; export r; \
24840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24842 (cd $(HOST_SUBDIR)/wdiff && \
24843 $(MAKE) $(FLAGS_TO_PASS) install)
24847 # Other targets (info, dvi, etc.)
24849 .PHONY: maybe-info-wdiff info-wdiff
24852 maybe-info-wdiff: info-wdiff
24857 @[ -f ./wdiff/Makefile ] || exit 0; \
24858 r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 for flag in $(EXTRA_HOST_FLAGS) ; do \
24862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24875 .PHONY: maybe-dvi-wdiff dvi-wdiff
24878 maybe-dvi-wdiff: dvi-wdiff
24883 @[ -f ./wdiff/Makefile ] || exit 0; \
24884 r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24887 for flag in $(EXTRA_HOST_FLAGS) ; do \
24888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24901 .PHONY: maybe-html-wdiff html-wdiff
24904 maybe-html-wdiff: html-wdiff
24909 @[ -f ./wdiff/Makefile ] || exit 0; \
24910 r=`${PWD_COMMAND}`; export r; \
24911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 for flag in $(EXTRA_HOST_FLAGS) ; do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24927 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
24930 maybe-TAGS-wdiff: TAGS-wdiff
24935 @[ -f ./wdiff/Makefile ] || exit 0; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24939 for flag in $(EXTRA_HOST_FLAGS) ; do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24953 .PHONY: maybe-install-info-wdiff install-info-wdiff
24954 maybe-install-info-wdiff:
24956 maybe-install-info-wdiff: install-info-wdiff
24958 install-info-wdiff: \
24962 @[ -f ./wdiff/Makefile ] || exit 0; \
24963 r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24966 for flag in $(EXTRA_HOST_FLAGS) ; do \
24967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
24980 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
24981 maybe-installcheck-wdiff:
24983 maybe-installcheck-wdiff: installcheck-wdiff
24985 installcheck-wdiff: \
24988 @[ -f ./wdiff/Makefile ] || exit 0; \
24989 r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24992 for flag in $(EXTRA_HOST_FLAGS) ; do \
24993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25006 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25007 maybe-mostlyclean-wdiff:
25009 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25013 @[ -f ./wdiff/Makefile ] || exit 0; \
25014 r=`${PWD_COMMAND}`; export r; \
25015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25017 for flag in $(EXTRA_HOST_FLAGS) ; do \
25018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25031 .PHONY: maybe-clean-wdiff clean-wdiff
25034 maybe-clean-wdiff: clean-wdiff
25038 @[ -f ./wdiff/Makefile ] || exit 0; \
25039 r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25042 for flag in $(EXTRA_HOST_FLAGS) ; do \
25043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25056 .PHONY: maybe-distclean-wdiff distclean-wdiff
25057 maybe-distclean-wdiff:
25059 maybe-distclean-wdiff: distclean-wdiff
25063 @[ -f ./wdiff/Makefile ] || exit 0; \
25064 r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 for flag in $(EXTRA_HOST_FLAGS) ; do \
25068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25081 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25082 maybe-maintainer-clean-wdiff:
25084 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25086 maintainer-clean-wdiff:
25088 @[ -f ./wdiff/Makefile ] || exit 0; \
25089 r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25092 for flag in $(EXTRA_HOST_FLAGS) ; do \
25093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
25108 .PHONY: configure-zip maybe-configure-zip
25109 maybe-configure-zip:
25111 maybe-configure-zip: configure-zip
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; \
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) ;; \
25126 srcdiroption="--srcdir=$${topdir}/zip"; \
25127 libsrcdir="$$s/zip"; \
25128 $(SHELL) $${libsrcdir}/configure \
25129 $(HOST_CONFIGARGS) $${srcdiroption} \
25137 .PHONY: all-zip maybe-all-zip
25141 maybe-all-zip: all-zip
25142 all-zip: configure-zip
25144 @r=`${PWD_COMMAND}`; export r; \
25145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25147 (cd $(HOST_SUBDIR)/zip && \
25148 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25154 .PHONY: check-zip maybe-check-zip
25157 maybe-check-zip: check-zip
25159 # This module is only tested in a native toolchain.
25162 @if [ '$(host)' = '$(target)' ] ; then \
25163 r=`${PWD_COMMAND}`; export r; \
25164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25166 (cd $(HOST_SUBDIR)/zip && \
25167 $(MAKE) $(FLAGS_TO_PASS) check); \
25172 .PHONY: install-zip maybe-install-zip
25175 maybe-install-zip: install-zip
25177 install-zip: installdirs
25179 @r=`${PWD_COMMAND}`; export r; \
25180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 (cd $(HOST_SUBDIR)/zip && \
25183 $(MAKE) $(FLAGS_TO_PASS) install)
25187 # Other targets (info, dvi, etc.)
25189 .PHONY: maybe-info-zip info-zip
25192 maybe-info-zip: info-zip
25197 @[ -f ./zip/Makefile ] || exit 0; \
25198 r=`${PWD_COMMAND}`; export r; \
25199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25201 for flag in $(EXTRA_HOST_FLAGS) ; do \
25202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25215 .PHONY: maybe-dvi-zip dvi-zip
25218 maybe-dvi-zip: dvi-zip
25223 @[ -f ./zip/Makefile ] || exit 0; \
25224 r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 for flag in $(EXTRA_HOST_FLAGS) ; do \
25228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25241 .PHONY: maybe-html-zip html-zip
25244 maybe-html-zip: html-zip
25249 @[ -f ./zip/Makefile ] || exit 0; \
25250 r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25253 for flag in $(EXTRA_HOST_FLAGS) ; do \
25254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25267 .PHONY: maybe-TAGS-zip TAGS-zip
25270 maybe-TAGS-zip: TAGS-zip
25275 @[ -f ./zip/Makefile ] || exit 0; \
25276 r=`${PWD_COMMAND}`; export r; \
25277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25279 for flag in $(EXTRA_HOST_FLAGS) ; do \
25280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25293 .PHONY: maybe-install-info-zip install-info-zip
25294 maybe-install-info-zip:
25296 maybe-install-info-zip: install-info-zip
25298 install-info-zip: \
25302 @[ -f ./zip/Makefile ] || exit 0; \
25303 r=`${PWD_COMMAND}`; export r; \
25304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25306 for flag in $(EXTRA_HOST_FLAGS) ; do \
25307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25320 .PHONY: maybe-installcheck-zip installcheck-zip
25321 maybe-installcheck-zip:
25323 maybe-installcheck-zip: installcheck-zip
25325 installcheck-zip: \
25328 @[ -f ./zip/Makefile ] || exit 0; \
25329 r=`${PWD_COMMAND}`; export r; \
25330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 for flag in $(EXTRA_HOST_FLAGS) ; do \
25333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25346 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25347 maybe-mostlyclean-zip:
25349 maybe-mostlyclean-zip: mostlyclean-zip
25353 @[ -f ./zip/Makefile ] || exit 0; \
25354 r=`${PWD_COMMAND}`; export r; \
25355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25357 for flag in $(EXTRA_HOST_FLAGS) ; do \
25358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25371 .PHONY: maybe-clean-zip clean-zip
25374 maybe-clean-zip: clean-zip
25378 @[ -f ./zip/Makefile ] || exit 0; \
25379 r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25382 for flag in $(EXTRA_HOST_FLAGS) ; do \
25383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25396 .PHONY: maybe-distclean-zip distclean-zip
25397 maybe-distclean-zip:
25399 maybe-distclean-zip: distclean-zip
25403 @[ -f ./zip/Makefile ] || exit 0; \
25404 r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 for flag in $(EXTRA_HOST_FLAGS) ; do \
25408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25421 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25422 maybe-maintainer-clean-zip:
25424 maybe-maintainer-clean-zip: maintainer-clean-zip
25426 maintainer-clean-zip:
25428 @[ -f ./zip/Makefile ] || exit 0; \
25429 r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25432 for flag in $(EXTRA_HOST_FLAGS) ; do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
25448 .PHONY: configure-zlib maybe-configure-zlib
25449 maybe-configure-zlib:
25451 maybe-configure-zlib: 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; \
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) ;; \
25466 srcdiroption="--srcdir=$${topdir}/zlib"; \
25467 libsrcdir="$$s/zlib"; \
25468 $(SHELL) $${libsrcdir}/configure \
25469 $(HOST_CONFIGARGS) $${srcdiroption} \
25475 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25476 maybe-configure-stage1-zlib:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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:
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; \
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) ;; \
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
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; \
25638 (cd $(HOST_SUBDIR)/zlib && \
25639 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-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:
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; \
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
25664 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
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:
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; \
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
25694 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
25696 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25697 cd $(HOST_SUBDIR)/zlib && \
25698 $(MAKE) $(FLAGS_TO_PASS) \
25699 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
25725 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
25727 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25728 cd $(HOST_SUBDIR)/zlib && \
25729 $(MAKE) $(FLAGS_TO_PASS) \
25730 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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
25756 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
25758 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25759 cd $(HOST_SUBDIR)/zlib && \
25760 $(MAKE) $(FLAGS_TO_PASS) \
25761 $(POSTSTAGE1_FLAGS_TO_PASS) \
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:
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; \
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 ] \
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:
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; \
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 ] \
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
25834 maybe-check-zlib: check-zlib
25840 .PHONY: install-zlib maybe-install-zlib
25841 maybe-install-zlib:
25843 maybe-install-zlib: install-zlib
25849 # Other targets (info, dvi, etc.)
25851 .PHONY: maybe-info-zlib info-zlib
25854 maybe-info-zlib: info-zlib
25858 @[ -f ./zlib/Makefile ] || exit 0; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 for flag in $(EXTRA_HOST_FLAGS) ; do \
25863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25876 .PHONY: maybe-dvi-zlib dvi-zlib
25879 maybe-dvi-zlib: dvi-zlib
25883 @[ -f ./zlib/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25901 .PHONY: maybe-html-zlib html-zlib
25904 maybe-html-zlib: html-zlib
25908 @[ -f ./zlib/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25926 .PHONY: maybe-TAGS-zlib TAGS-zlib
25929 maybe-TAGS-zlib: TAGS-zlib
25933 @[ -f ./zlib/Makefile ] || exit 0; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 for flag in $(EXTRA_HOST_FLAGS) ; do \
25938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25951 .PHONY: maybe-install-info-zlib install-info-zlib
25952 maybe-install-info-zlib:
25954 maybe-install-info-zlib: install-info-zlib
25956 install-info-zlib: \
25959 @[ -f ./zlib/Makefile ] || exit 0; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25963 for flag in $(EXTRA_HOST_FLAGS) ; do \
25964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
25977 .PHONY: maybe-installcheck-zlib installcheck-zlib
25978 maybe-installcheck-zlib:
25980 maybe-installcheck-zlib: installcheck-zlib
25982 installcheck-zlib: \
25984 @[ -f ./zlib/Makefile ] || exit 0; \
25985 r=`${PWD_COMMAND}`; export r; \
25986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25988 for flag in $(EXTRA_HOST_FLAGS) ; do \
25989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26002 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26003 maybe-mostlyclean-zlib:
26005 maybe-mostlyclean-zlib: mostlyclean-zlib
26008 @[ -f ./zlib/Makefile ] || exit 0; \
26009 r=`${PWD_COMMAND}`; export r; \
26010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 for flag in $(EXTRA_HOST_FLAGS) ; do \
26013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26026 .PHONY: maybe-clean-zlib clean-zlib
26029 maybe-clean-zlib: clean-zlib
26032 @[ -f ./zlib/Makefile ] || exit 0; \
26033 r=`${PWD_COMMAND}`; export r; \
26034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26036 for flag in $(EXTRA_HOST_FLAGS) ; do \
26037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26050 .PHONY: maybe-distclean-zlib distclean-zlib
26051 maybe-distclean-zlib:
26053 maybe-distclean-zlib: distclean-zlib
26056 @[ -f ./zlib/Makefile ] || exit 0; \
26057 r=`${PWD_COMMAND}`; export r; \
26058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26060 for flag in $(EXTRA_HOST_FLAGS) ; do \
26061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26074 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26075 maybe-maintainer-clean-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; \
26084 for flag in $(EXTRA_HOST_FLAGS) ; do \
26085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
26100 .PHONY: configure-gdb maybe-configure-gdb
26101 maybe-configure-gdb:
26103 maybe-configure-gdb: configure-gdb
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; \
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) ;; \
26118 srcdiroption="--srcdir=$${topdir}/gdb"; \
26119 libsrcdir="$$s/gdb"; \
26120 $(SHELL) $${libsrcdir}/configure \
26121 $(HOST_CONFIGARGS) $${srcdiroption} \
26129 .PHONY: all-gdb maybe-all-gdb
26133 maybe-all-gdb: all-gdb
26134 all-gdb: configure-gdb
26136 @r=`${PWD_COMMAND}`; export r; \
26137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 (cd $(HOST_SUBDIR)/gdb && \
26140 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26146 .PHONY: check-gdb maybe-check-gdb
26149 maybe-check-gdb: check-gdb
26153 @r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26156 (cd $(HOST_SUBDIR)/gdb && \
26157 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26161 .PHONY: install-gdb maybe-install-gdb
26164 maybe-install-gdb: install-gdb
26166 install-gdb: installdirs
26168 @r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26171 (cd $(HOST_SUBDIR)/gdb && \
26172 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26176 # Other targets (info, dvi, etc.)
26178 .PHONY: maybe-info-gdb info-gdb
26181 maybe-info-gdb: info-gdb
26186 @[ -f ./gdb/Makefile ] || exit 0; \
26187 r=`${PWD_COMMAND}`; export r; \
26188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26190 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26204 .PHONY: maybe-dvi-gdb dvi-gdb
26207 maybe-dvi-gdb: dvi-gdb
26212 @[ -f ./gdb/Makefile ] || exit 0; \
26213 r=`${PWD_COMMAND}`; export r; \
26214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26216 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26230 .PHONY: maybe-html-gdb html-gdb
26233 maybe-html-gdb: html-gdb
26238 @[ -f ./gdb/Makefile ] || exit 0; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26242 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26256 .PHONY: maybe-TAGS-gdb TAGS-gdb
26259 maybe-TAGS-gdb: TAGS-gdb
26264 @[ -f ./gdb/Makefile ] || exit 0; \
26265 r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26282 .PHONY: maybe-install-info-gdb install-info-gdb
26283 maybe-install-info-gdb:
26285 maybe-install-info-gdb: install-info-gdb
26287 install-info-gdb: \
26291 @[ -f ./gdb/Makefile ] || exit 0; \
26292 r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26295 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26309 .PHONY: maybe-installcheck-gdb installcheck-gdb
26310 maybe-installcheck-gdb:
26312 maybe-installcheck-gdb: installcheck-gdb
26314 installcheck-gdb: \
26317 @[ -f ./gdb/Makefile ] || exit 0; \
26318 r=`${PWD_COMMAND}`; export r; \
26319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26335 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26336 maybe-mostlyclean-gdb:
26338 maybe-mostlyclean-gdb: mostlyclean-gdb
26342 @[ -f ./gdb/Makefile ] || exit 0; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26360 .PHONY: maybe-clean-gdb clean-gdb
26363 maybe-clean-gdb: clean-gdb
26367 @[ -f ./gdb/Makefile ] || exit 0; \
26368 r=`${PWD_COMMAND}`; export r; \
26369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26371 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26385 .PHONY: maybe-distclean-gdb distclean-gdb
26386 maybe-distclean-gdb:
26388 maybe-distclean-gdb: distclean-gdb
26392 @[ -f ./gdb/Makefile ] || exit 0; \
26393 r=`${PWD_COMMAND}`; export r; \
26394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26396 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26410 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26411 maybe-maintainer-clean-gdb:
26413 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26415 maintainer-clean-gdb:
26417 @[ -f ./gdb/Makefile ] || exit 0; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26421 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
26437 .PHONY: configure-expect maybe-configure-expect
26438 maybe-configure-expect:
26440 maybe-configure-expect: configure-expect
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; \
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) ;; \
26455 srcdiroption="--srcdir=$${topdir}/expect"; \
26456 libsrcdir="$$s/expect"; \
26457 $(SHELL) $${libsrcdir}/configure \
26458 $(HOST_CONFIGARGS) $${srcdiroption} \
26466 .PHONY: all-expect maybe-all-expect
26470 maybe-all-expect: all-expect
26471 all-expect: configure-expect
26473 @r=`${PWD_COMMAND}`; export r; \
26474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26476 (cd $(HOST_SUBDIR)/expect && \
26477 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26483 .PHONY: check-expect maybe-check-expect
26484 maybe-check-expect:
26486 maybe-check-expect: check-expect
26490 @r=`${PWD_COMMAND}`; export r; \
26491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26493 (cd $(HOST_SUBDIR)/expect && \
26494 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26498 .PHONY: install-expect maybe-install-expect
26499 maybe-install-expect:
26501 maybe-install-expect: install-expect
26503 install-expect: installdirs
26505 @r=`${PWD_COMMAND}`; export r; \
26506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26508 (cd $(HOST_SUBDIR)/expect && \
26509 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26513 # Other targets (info, dvi, etc.)
26515 .PHONY: maybe-info-expect info-expect
26518 maybe-info-expect: info-expect
26523 @[ -f ./expect/Makefile ] || exit 0; \
26524 r=`${PWD_COMMAND}`; export r; \
26525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26527 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26541 .PHONY: maybe-dvi-expect dvi-expect
26544 maybe-dvi-expect: dvi-expect
26549 @[ -f ./expect/Makefile ] || exit 0; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26567 .PHONY: maybe-html-expect html-expect
26570 maybe-html-expect: html-expect
26575 @[ -f ./expect/Makefile ] || exit 0; \
26576 r=`${PWD_COMMAND}`; export r; \
26577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26593 .PHONY: maybe-TAGS-expect TAGS-expect
26596 maybe-TAGS-expect: TAGS-expect
26601 @[ -f ./expect/Makefile ] || exit 0; \
26602 r=`${PWD_COMMAND}`; export r; \
26603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26605 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26619 .PHONY: maybe-install-info-expect install-info-expect
26620 maybe-install-info-expect:
26622 maybe-install-info-expect: install-info-expect
26624 install-info-expect: \
26628 @[ -f ./expect/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26632 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26646 .PHONY: maybe-installcheck-expect installcheck-expect
26647 maybe-installcheck-expect:
26649 maybe-installcheck-expect: installcheck-expect
26651 installcheck-expect: \
26654 @[ -f ./expect/Makefile ] || exit 0; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26672 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26673 maybe-mostlyclean-expect:
26675 maybe-mostlyclean-expect: mostlyclean-expect
26677 mostlyclean-expect:
26679 @[ -f ./expect/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26697 .PHONY: maybe-clean-expect clean-expect
26698 maybe-clean-expect:
26700 maybe-clean-expect: clean-expect
26704 @[ -f ./expect/Makefile ] || exit 0; \
26705 r=`${PWD_COMMAND}`; export r; \
26706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26722 .PHONY: maybe-distclean-expect distclean-expect
26723 maybe-distclean-expect:
26725 maybe-distclean-expect: distclean-expect
26729 @[ -f ./expect/Makefile ] || exit 0; \
26730 r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26733 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26747 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26748 maybe-maintainer-clean-expect:
26750 maybe-maintainer-clean-expect: maintainer-clean-expect
26752 maintainer-clean-expect:
26754 @[ -f ./expect/Makefile ] || exit 0; \
26755 r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
26774 .PHONY: configure-guile maybe-configure-guile
26775 maybe-configure-guile:
26777 maybe-configure-guile: configure-guile
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; \
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) ;; \
26792 srcdiroption="--srcdir=$${topdir}/guile"; \
26793 libsrcdir="$$s/guile"; \
26794 $(SHELL) $${libsrcdir}/configure \
26795 $(HOST_CONFIGARGS) $${srcdiroption} \
26803 .PHONY: all-guile maybe-all-guile
26807 maybe-all-guile: all-guile
26808 all-guile: configure-guile
26810 @r=`${PWD_COMMAND}`; export r; \
26811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26813 (cd $(HOST_SUBDIR)/guile && \
26814 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
26820 .PHONY: check-guile maybe-check-guile
26823 maybe-check-guile: check-guile
26827 @r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 (cd $(HOST_SUBDIR)/guile && \
26831 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26835 .PHONY: install-guile maybe-install-guile
26836 maybe-install-guile:
26838 maybe-install-guile: install-guile
26840 install-guile: installdirs
26842 @r=`${PWD_COMMAND}`; export r; \
26843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26845 (cd $(HOST_SUBDIR)/guile && \
26846 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26850 # Other targets (info, dvi, etc.)
26852 .PHONY: maybe-info-guile info-guile
26855 maybe-info-guile: info-guile
26860 @[ -f ./guile/Makefile ] || exit 0; \
26861 r=`${PWD_COMMAND}`; export r; \
26862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26878 .PHONY: maybe-dvi-guile dvi-guile
26881 maybe-dvi-guile: dvi-guile
26886 @[ -f ./guile/Makefile ] || exit 0; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26904 .PHONY: maybe-html-guile html-guile
26907 maybe-html-guile: html-guile
26912 @[ -f ./guile/Makefile ] || exit 0; \
26913 r=`${PWD_COMMAND}`; export r; \
26914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26930 .PHONY: maybe-TAGS-guile TAGS-guile
26933 maybe-TAGS-guile: TAGS-guile
26938 @[ -f ./guile/Makefile ] || exit 0; \
26939 r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26942 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26956 .PHONY: maybe-install-info-guile install-info-guile
26957 maybe-install-info-guile:
26959 maybe-install-info-guile: install-info-guile
26961 install-info-guile: \
26965 @[ -f ./guile/Makefile ] || exit 0; \
26966 r=`${PWD_COMMAND}`; export r; \
26967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26969 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
26983 .PHONY: maybe-installcheck-guile installcheck-guile
26984 maybe-installcheck-guile:
26986 maybe-installcheck-guile: installcheck-guile
26988 installcheck-guile: \
26991 @[ -f ./guile/Makefile ] || exit 0; \
26992 r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26995 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27009 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27010 maybe-mostlyclean-guile:
27012 maybe-mostlyclean-guile: mostlyclean-guile
27016 @[ -f ./guile/Makefile ] || exit 0; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27020 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27034 .PHONY: maybe-clean-guile clean-guile
27037 maybe-clean-guile: clean-guile
27041 @[ -f ./guile/Makefile ] || exit 0; \
27042 r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27059 .PHONY: maybe-distclean-guile distclean-guile
27060 maybe-distclean-guile:
27062 maybe-distclean-guile: distclean-guile
27066 @[ -f ./guile/Makefile ] || exit 0; \
27067 r=`${PWD_COMMAND}`; export r; \
27068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27070 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27084 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27085 maybe-maintainer-clean-guile:
27087 maybe-maintainer-clean-guile: maintainer-clean-guile
27089 maintainer-clean-guile:
27091 @[ -f ./guile/Makefile ] || exit 0; \
27092 r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27095 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
27111 .PHONY: configure-tk maybe-configure-tk
27112 maybe-configure-tk:
27114 maybe-configure-tk: configure-tk
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; \
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) ;; \
27129 srcdiroption="--srcdir=$${topdir}/tk"; \
27130 libsrcdir="$$s/tk"; \
27131 $(SHELL) $${libsrcdir}/configure \
27132 $(HOST_CONFIGARGS) $${srcdiroption} \
27140 .PHONY: all-tk maybe-all-tk
27144 maybe-all-tk: all-tk
27145 all-tk: configure-tk
27147 @r=`${PWD_COMMAND}`; export r; \
27148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27150 (cd $(HOST_SUBDIR)/tk && \
27151 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27157 .PHONY: check-tk maybe-check-tk
27160 maybe-check-tk: check-tk
27164 @r=`${PWD_COMMAND}`; export r; \
27165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27167 (cd $(HOST_SUBDIR)/tk && \
27168 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27172 .PHONY: install-tk maybe-install-tk
27175 maybe-install-tk: install-tk
27177 install-tk: installdirs
27179 @r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 (cd $(HOST_SUBDIR)/tk && \
27183 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27187 # Other targets (info, dvi, etc.)
27189 .PHONY: maybe-info-tk info-tk
27192 maybe-info-tk: info-tk
27197 @[ -f ./tk/Makefile ] || exit 0; \
27198 r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27215 .PHONY: maybe-dvi-tk dvi-tk
27218 maybe-dvi-tk: dvi-tk
27223 @[ -f ./tk/Makefile ] || exit 0; \
27224 r=`${PWD_COMMAND}`; export r; \
27225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27241 .PHONY: maybe-html-tk html-tk
27244 maybe-html-tk: html-tk
27249 @[ -f ./tk/Makefile ] || exit 0; \
27250 r=`${PWD_COMMAND}`; export r; \
27251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27253 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27267 .PHONY: maybe-TAGS-tk TAGS-tk
27270 maybe-TAGS-tk: TAGS-tk
27275 @[ -f ./tk/Makefile ] || exit 0; \
27276 r=`${PWD_COMMAND}`; export r; \
27277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27293 .PHONY: maybe-install-info-tk install-info-tk
27294 maybe-install-info-tk:
27296 maybe-install-info-tk: install-info-tk
27302 @[ -f ./tk/Makefile ] || exit 0; \
27303 r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27320 .PHONY: maybe-installcheck-tk installcheck-tk
27321 maybe-installcheck-tk:
27323 maybe-installcheck-tk: installcheck-tk
27328 @[ -f ./tk/Makefile ] || exit 0; \
27329 r=`${PWD_COMMAND}`; export r; \
27330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27346 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27347 maybe-mostlyclean-tk:
27349 maybe-mostlyclean-tk: mostlyclean-tk
27353 @[ -f ./tk/Makefile ] || exit 0; \
27354 r=`${PWD_COMMAND}`; export r; \
27355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27357 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27371 .PHONY: maybe-clean-tk clean-tk
27374 maybe-clean-tk: clean-tk
27378 @[ -f ./tk/Makefile ] || exit 0; \
27379 r=`${PWD_COMMAND}`; export r; \
27380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27382 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27396 .PHONY: maybe-distclean-tk distclean-tk
27397 maybe-distclean-tk:
27399 maybe-distclean-tk: distclean-tk
27403 @[ -f ./tk/Makefile ] || exit 0; \
27404 r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27421 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27422 maybe-maintainer-clean-tk:
27424 maybe-maintainer-clean-tk: maintainer-clean-tk
27426 maintainer-clean-tk:
27428 @[ -f ./tk/Makefile ] || exit 0; \
27429 r=`${PWD_COMMAND}`; export r; \
27430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
27448 .PHONY: configure-libtermcap maybe-configure-libtermcap
27449 maybe-configure-libtermcap:
27451 maybe-configure-libtermcap: configure-libtermcap
27452 configure-libtermcap:
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; \
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) ;; \
27466 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27467 libsrcdir="$$s/libtermcap"; \
27468 $(SHELL) $${libsrcdir}/configure \
27469 $(HOST_CONFIGARGS) $${srcdiroption} \
27477 .PHONY: all-libtermcap maybe-all-libtermcap
27478 maybe-all-libtermcap:
27480 TARGET-libtermcap=all
27481 maybe-all-libtermcap: all-libtermcap
27482 all-libtermcap: configure-libtermcap
27484 @r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 (cd $(HOST_SUBDIR)/libtermcap && \
27488 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27494 .PHONY: check-libtermcap maybe-check-libtermcap
27495 maybe-check-libtermcap:
27497 maybe-check-libtermcap: check-libtermcap
27503 .PHONY: install-libtermcap maybe-install-libtermcap
27504 maybe-install-libtermcap:
27506 maybe-install-libtermcap: install-libtermcap
27508 install-libtermcap: installdirs
27510 @r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 (cd $(HOST_SUBDIR)/libtermcap && \
27514 $(MAKE) $(FLAGS_TO_PASS) install)
27518 # Other targets (info, dvi, etc.)
27520 .PHONY: maybe-info-libtermcap info-libtermcap
27521 maybe-info-libtermcap:
27523 maybe-info-libtermcap: info-libtermcap
27526 configure-libtermcap
27528 @[ -f ./libtermcap/Makefile ] || exit 0; \
27529 r=`${PWD_COMMAND}`; export r; \
27530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27532 for flag in $(EXTRA_HOST_FLAGS) ; do \
27533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27546 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27547 maybe-dvi-libtermcap:
27549 maybe-dvi-libtermcap: dvi-libtermcap
27552 configure-libtermcap
27554 @[ -f ./libtermcap/Makefile ] || exit 0; \
27555 r=`${PWD_COMMAND}`; export r; \
27556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27558 for flag in $(EXTRA_HOST_FLAGS) ; do \
27559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27572 .PHONY: maybe-html-libtermcap html-libtermcap
27573 maybe-html-libtermcap:
27575 maybe-html-libtermcap: html-libtermcap
27578 configure-libtermcap
27580 @[ -f ./libtermcap/Makefile ] || exit 0; \
27581 r=`${PWD_COMMAND}`; export r; \
27582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27584 for flag in $(EXTRA_HOST_FLAGS) ; do \
27585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27598 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
27599 maybe-TAGS-libtermcap:
27601 maybe-TAGS-libtermcap: TAGS-libtermcap
27604 configure-libtermcap
27606 @[ -f ./libtermcap/Makefile ] || exit 0; \
27607 r=`${PWD_COMMAND}`; export r; \
27608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27610 for flag in $(EXTRA_HOST_FLAGS) ; do \
27611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27624 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
27625 maybe-install-info-libtermcap:
27627 maybe-install-info-libtermcap: install-info-libtermcap
27629 install-info-libtermcap: \
27630 configure-libtermcap \
27633 @[ -f ./libtermcap/Makefile ] || exit 0; \
27634 r=`${PWD_COMMAND}`; export r; \
27635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27637 for flag in $(EXTRA_HOST_FLAGS) ; do \
27638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27651 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
27652 maybe-installcheck-libtermcap:
27654 maybe-installcheck-libtermcap: installcheck-libtermcap
27656 installcheck-libtermcap: \
27657 configure-libtermcap
27659 @[ -f ./libtermcap/Makefile ] || exit 0; \
27660 r=`${PWD_COMMAND}`; export r; \
27661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27663 for flag in $(EXTRA_HOST_FLAGS) ; do \
27664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27677 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
27678 maybe-mostlyclean-libtermcap:
27680 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
27682 # libtermcap doesn't support mostlyclean.
27683 mostlyclean-libtermcap:
27687 .PHONY: maybe-clean-libtermcap clean-libtermcap
27688 maybe-clean-libtermcap:
27690 maybe-clean-libtermcap: clean-libtermcap
27692 # libtermcap doesn't support clean.
27697 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
27698 maybe-distclean-libtermcap:
27700 maybe-distclean-libtermcap: distclean-libtermcap
27702 # libtermcap doesn't support distclean.
27703 distclean-libtermcap:
27707 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
27708 maybe-maintainer-clean-libtermcap:
27710 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
27712 # libtermcap doesn't support maintainer-clean.
27713 maintainer-clean-libtermcap:
27719 .PHONY: configure-utils maybe-configure-utils
27720 maybe-configure-utils:
27722 maybe-configure-utils: configure-utils
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; \
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) ;; \
27737 srcdiroption="--srcdir=$${topdir}/utils"; \
27738 libsrcdir="$$s/utils"; \
27739 $(SHELL) $${libsrcdir}/configure \
27740 $(HOST_CONFIGARGS) $${srcdiroption} \
27748 .PHONY: all-utils maybe-all-utils
27752 maybe-all-utils: all-utils
27753 all-utils: configure-utils
27755 @r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27758 (cd $(HOST_SUBDIR)/utils && \
27759 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
27765 .PHONY: check-utils maybe-check-utils
27768 maybe-check-utils: check-utils
27774 .PHONY: install-utils maybe-install-utils
27775 maybe-install-utils:
27777 maybe-install-utils: install-utils
27779 install-utils: installdirs
27781 @r=`${PWD_COMMAND}`; export r; \
27782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 (cd $(HOST_SUBDIR)/utils && \
27785 $(MAKE) $(FLAGS_TO_PASS) install)
27789 # Other targets (info, dvi, etc.)
27791 .PHONY: maybe-info-utils info-utils
27794 maybe-info-utils: info-utils
27799 @[ -f ./utils/Makefile ] || exit 0; \
27800 r=`${PWD_COMMAND}`; export r; \
27801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27803 for flag in $(EXTRA_HOST_FLAGS) ; do \
27804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27817 .PHONY: maybe-dvi-utils dvi-utils
27820 maybe-dvi-utils: dvi-utils
27825 @[ -f ./utils/Makefile ] || exit 0; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27829 for flag in $(EXTRA_HOST_FLAGS) ; do \
27830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27843 .PHONY: maybe-html-utils html-utils
27846 maybe-html-utils: html-utils
27851 @[ -f ./utils/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27869 .PHONY: maybe-TAGS-utils TAGS-utils
27872 maybe-TAGS-utils: TAGS-utils
27877 @[ -f ./utils/Makefile ] || exit 0; \
27878 r=`${PWD_COMMAND}`; export r; \
27879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27881 for flag in $(EXTRA_HOST_FLAGS) ; do \
27882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27895 .PHONY: maybe-install-info-utils install-info-utils
27896 maybe-install-info-utils:
27898 maybe-install-info-utils: install-info-utils
27900 install-info-utils: \
27904 @[ -f ./utils/Makefile ] || exit 0; \
27905 r=`${PWD_COMMAND}`; export r; \
27906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 for flag in $(EXTRA_HOST_FLAGS) ; do \
27909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27922 .PHONY: maybe-installcheck-utils installcheck-utils
27923 maybe-installcheck-utils:
27925 maybe-installcheck-utils: installcheck-utils
27927 installcheck-utils: \
27930 @[ -f ./utils/Makefile ] || exit 0; \
27931 r=`${PWD_COMMAND}`; export r; \
27932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27934 for flag in $(EXTRA_HOST_FLAGS) ; do \
27935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27948 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
27949 maybe-mostlyclean-utils:
27951 maybe-mostlyclean-utils: mostlyclean-utils
27955 @[ -f ./utils/Makefile ] || exit 0; \
27956 r=`${PWD_COMMAND}`; export r; \
27957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27959 for flag in $(EXTRA_HOST_FLAGS) ; do \
27960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27973 .PHONY: maybe-clean-utils clean-utils
27976 maybe-clean-utils: clean-utils
27980 @[ -f ./utils/Makefile ] || exit 0; \
27981 r=`${PWD_COMMAND}`; export r; \
27982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 for flag in $(EXTRA_HOST_FLAGS) ; do \
27985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
27998 .PHONY: maybe-distclean-utils distclean-utils
27999 maybe-distclean-utils:
28001 maybe-distclean-utils: distclean-utils
28005 @[ -f ./utils/Makefile ] || exit 0; \
28006 r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28009 for flag in $(EXTRA_HOST_FLAGS) ; do \
28010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28023 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28024 maybe-maintainer-clean-utils:
28026 maybe-maintainer-clean-utils: maintainer-clean-utils
28028 maintainer-clean-utils:
28030 @[ -f ./utils/Makefile ] || exit 0; \
28031 r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 for flag in $(EXTRA_HOST_FLAGS) ; do \
28035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
28050 .PHONY: configure-gnattools maybe-configure-gnattools
28051 maybe-configure-gnattools:
28053 maybe-configure-gnattools: configure-gnattools
28054 configure-gnattools:
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; \
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) ;; \
28068 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28069 libsrcdir="$$s/gnattools"; \
28070 $(SHELL) $${libsrcdir}/configure \
28071 $(HOST_CONFIGARGS) $${srcdiroption} \
28079 .PHONY: all-gnattools maybe-all-gnattools
28080 maybe-all-gnattools:
28082 TARGET-gnattools=all
28083 maybe-all-gnattools: all-gnattools
28084 all-gnattools: configure-gnattools
28086 @r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28089 (cd $(HOST_SUBDIR)/gnattools && \
28090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28096 .PHONY: check-gnattools maybe-check-gnattools
28097 maybe-check-gnattools:
28099 maybe-check-gnattools: check-gnattools
28103 @r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28106 (cd $(HOST_SUBDIR)/gnattools && \
28107 $(MAKE) $(FLAGS_TO_PASS) check)
28111 .PHONY: install-gnattools maybe-install-gnattools
28112 maybe-install-gnattools:
28114 maybe-install-gnattools: install-gnattools
28116 install-gnattools: installdirs
28118 @r=`${PWD_COMMAND}`; export r; \
28119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28121 (cd $(HOST_SUBDIR)/gnattools && \
28122 $(MAKE) $(FLAGS_TO_PASS) install)
28126 # Other targets (info, dvi, etc.)
28128 .PHONY: maybe-info-gnattools info-gnattools
28129 maybe-info-gnattools:
28131 maybe-info-gnattools: info-gnattools
28134 configure-gnattools
28136 @[ -f ./gnattools/Makefile ] || exit 0; \
28137 r=`${PWD_COMMAND}`; export r; \
28138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28140 for flag in $(EXTRA_HOST_FLAGS) ; do \
28141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28154 .PHONY: maybe-dvi-gnattools dvi-gnattools
28155 maybe-dvi-gnattools:
28157 maybe-dvi-gnattools: dvi-gnattools
28160 configure-gnattools
28162 @[ -f ./gnattools/Makefile ] || exit 0; \
28163 r=`${PWD_COMMAND}`; export r; \
28164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28166 for flag in $(EXTRA_HOST_FLAGS) ; do \
28167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28180 .PHONY: maybe-html-gnattools html-gnattools
28181 maybe-html-gnattools:
28183 maybe-html-gnattools: html-gnattools
28186 configure-gnattools
28188 @[ -f ./gnattools/Makefile ] || exit 0; \
28189 r=`${PWD_COMMAND}`; export r; \
28190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28192 for flag in $(EXTRA_HOST_FLAGS) ; do \
28193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28206 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28207 maybe-TAGS-gnattools:
28209 maybe-TAGS-gnattools: TAGS-gnattools
28212 configure-gnattools
28214 @[ -f ./gnattools/Makefile ] || exit 0; \
28215 r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28218 for flag in $(EXTRA_HOST_FLAGS) ; do \
28219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28232 .PHONY: maybe-install-info-gnattools install-info-gnattools
28233 maybe-install-info-gnattools:
28235 maybe-install-info-gnattools: install-info-gnattools
28237 install-info-gnattools: \
28238 configure-gnattools \
28241 @[ -f ./gnattools/Makefile ] || exit 0; \
28242 r=`${PWD_COMMAND}`; export r; \
28243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28245 for flag in $(EXTRA_HOST_FLAGS) ; do \
28246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28259 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28260 maybe-installcheck-gnattools:
28262 maybe-installcheck-gnattools: installcheck-gnattools
28264 installcheck-gnattools: \
28265 configure-gnattools
28267 @[ -f ./gnattools/Makefile ] || exit 0; \
28268 r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 for flag in $(EXTRA_HOST_FLAGS) ; do \
28272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28285 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28286 maybe-mostlyclean-gnattools:
28288 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28290 mostlyclean-gnattools:
28292 @[ -f ./gnattools/Makefile ] || exit 0; \
28293 r=`${PWD_COMMAND}`; export r; \
28294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28296 for flag in $(EXTRA_HOST_FLAGS) ; do \
28297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28310 .PHONY: maybe-clean-gnattools clean-gnattools
28311 maybe-clean-gnattools:
28313 maybe-clean-gnattools: clean-gnattools
28317 @[ -f ./gnattools/Makefile ] || exit 0; \
28318 r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28321 for flag in $(EXTRA_HOST_FLAGS) ; do \
28322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28335 .PHONY: maybe-distclean-gnattools distclean-gnattools
28336 maybe-distclean-gnattools:
28338 maybe-distclean-gnattools: distclean-gnattools
28340 distclean-gnattools:
28342 @[ -f ./gnattools/Makefile ] || exit 0; \
28343 r=`${PWD_COMMAND}`; export r; \
28344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28346 for flag in $(EXTRA_HOST_FLAGS) ; do \
28347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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}" \
28360 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28361 maybe-maintainer-clean-gnattools:
28363 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28365 maintainer-clean-gnattools:
28367 @[ -f ./gnattools/Makefile ] || exit 0; \
28368 r=`${PWD_COMMAND}`; export r; \
28369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28371 for flag in $(EXTRA_HOST_FLAGS) ; do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
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) \
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
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) ;; \
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} \
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
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:
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
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
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) ;; \
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} \
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
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:
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
29086 @endif target-libmudflap
29090 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
29103 maybe-configure-target-libssp: configure-target-libssp
29104 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
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) ;; \
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} \
29124 @endif target-libssp
29130 .PHONY: all-target-libssp maybe-all-target-libssp
29131 maybe-all-target-libssp:
29133 TARGET-target-libssp=all
29134 maybe-all-target-libssp: all-target-libssp
29135 all-target-libssp: configure-target-libssp
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:
29151 maybe-check-target-libssp: check-target-libssp
29153 check-target-libssp:
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:
29166 maybe-install-target-libssp: install-target-libssp
29168 install-target-libssp: installdirs
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:
29183 maybe-info-target-libssp: info-target-libssp
29185 info-target-libssp: \
29186 configure-target-libssp
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|"`; \
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}" \
29204 @endif target-libssp
29206 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29207 maybe-dvi-target-libssp:
29209 maybe-dvi-target-libssp: dvi-target-libssp
29211 dvi-target-libssp: \
29212 configure-target-libssp
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|"`; \
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}" \
29230 @endif target-libssp
29232 .PHONY: maybe-html-target-libssp html-target-libssp
29233 maybe-html-target-libssp:
29235 maybe-html-target-libssp: html-target-libssp
29237 html-target-libssp: \
29238 configure-target-libssp
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|"`; \
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}" \
29256 @endif target-libssp
29258 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29259 maybe-TAGS-target-libssp:
29261 maybe-TAGS-target-libssp: TAGS-target-libssp
29263 TAGS-target-libssp: \
29264 configure-target-libssp
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|"`; \
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}" \
29282 @endif target-libssp
29284 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29285 maybe-install-info-target-libssp:
29287 maybe-install-info-target-libssp: install-info-target-libssp
29289 install-info-target-libssp: \
29290 configure-target-libssp \
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|"`; \
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}" \
29309 @endif target-libssp
29311 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29312 maybe-installcheck-target-libssp:
29314 maybe-installcheck-target-libssp: installcheck-target-libssp
29316 installcheck-target-libssp: \
29317 configure-target-libssp
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|"`; \
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}" \
29335 @endif target-libssp
29337 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29338 maybe-mostlyclean-target-libssp:
29340 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29342 mostlyclean-target-libssp:
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|"`; \
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}" \
29360 @endif target-libssp
29362 .PHONY: maybe-clean-target-libssp clean-target-libssp
29363 maybe-clean-target-libssp:
29365 maybe-clean-target-libssp: clean-target-libssp
29367 clean-target-libssp:
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|"`; \
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}" \
29385 @endif target-libssp
29387 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29388 maybe-distclean-target-libssp:
29390 maybe-distclean-target-libssp: distclean-target-libssp
29392 distclean-target-libssp:
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|"`; \
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}" \
29410 @endif target-libssp
29412 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29413 maybe-maintainer-clean-target-libssp:
29415 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29417 maintainer-clean-target-libssp:
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|"`; \
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) \
29435 @endif target-libssp
29439 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
29452 maybe-configure-target-newlib: configure-target-newlib
29453 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
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) ;; \
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} \
29473 @endif target-newlib
29479 .PHONY: all-target-newlib maybe-all-target-newlib
29480 maybe-all-target-newlib:
29482 TARGET-target-newlib=all
29483 maybe-all-target-newlib: all-target-newlib
29484 all-target-newlib: configure-target-newlib
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:
29500 maybe-check-target-newlib: check-target-newlib
29502 check-target-newlib:
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:
29515 maybe-install-target-newlib: install-target-newlib
29517 install-target-newlib: installdirs
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:
29532 maybe-info-target-newlib: info-target-newlib
29534 info-target-newlib: \
29535 configure-target-newlib
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|"`; \
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}" \
29553 @endif target-newlib
29555 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
29556 maybe-dvi-target-newlib:
29558 maybe-dvi-target-newlib: dvi-target-newlib
29560 dvi-target-newlib: \
29561 configure-target-newlib
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|"`; \
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}" \
29579 @endif target-newlib
29581 .PHONY: maybe-html-target-newlib html-target-newlib
29582 maybe-html-target-newlib:
29584 maybe-html-target-newlib: html-target-newlib
29586 html-target-newlib: \
29587 configure-target-newlib
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|"`; \
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}" \
29605 @endif target-newlib
29607 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
29608 maybe-TAGS-target-newlib:
29610 maybe-TAGS-target-newlib: TAGS-target-newlib
29612 TAGS-target-newlib: \
29613 configure-target-newlib
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|"`; \
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}" \
29631 @endif target-newlib
29633 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
29634 maybe-install-info-target-newlib:
29636 maybe-install-info-target-newlib: install-info-target-newlib
29638 install-info-target-newlib: \
29639 configure-target-newlib \
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|"`; \
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}" \
29658 @endif target-newlib
29660 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
29661 maybe-installcheck-target-newlib:
29663 maybe-installcheck-target-newlib: installcheck-target-newlib
29665 installcheck-target-newlib: \
29666 configure-target-newlib
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|"`; \
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}" \
29684 @endif target-newlib
29686 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
29687 maybe-mostlyclean-target-newlib:
29689 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
29691 mostlyclean-target-newlib:
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|"`; \
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}" \
29709 @endif target-newlib
29711 .PHONY: maybe-clean-target-newlib clean-target-newlib
29712 maybe-clean-target-newlib:
29714 maybe-clean-target-newlib: clean-target-newlib
29716 clean-target-newlib:
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|"`; \
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}" \
29734 @endif target-newlib
29736 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
29737 maybe-distclean-target-newlib:
29739 maybe-distclean-target-newlib: distclean-target-newlib
29741 distclean-target-newlib:
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|"`; \
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}" \
29759 @endif target-newlib
29761 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
29762 maybe-maintainer-clean-target-newlib:
29764 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
29766 maintainer-clean-target-newlib:
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|"`; \
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) \
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
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) ;; \
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} \
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
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:
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
30133 @endif target-libgfortran
30137 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
30150 maybe-configure-target-libobjc: configure-target-libobjc
30151 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
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) ;; \
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} \
30171 @endif target-libobjc
30177 .PHONY: all-target-libobjc maybe-all-target-libobjc
30178 maybe-all-target-libobjc:
30180 TARGET-target-libobjc=all
30181 maybe-all-target-libobjc: all-target-libobjc
30182 all-target-libobjc: configure-target-libobjc
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:
30198 maybe-check-target-libobjc: check-target-libobjc
30200 check-target-libobjc:
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:
30213 maybe-install-target-libobjc: install-target-libobjc
30215 install-target-libobjc: installdirs
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:
30230 maybe-info-target-libobjc: info-target-libobjc
30232 info-target-libobjc: \
30233 configure-target-libobjc
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|"`; \
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}" \
30251 @endif target-libobjc
30253 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30254 maybe-dvi-target-libobjc:
30256 maybe-dvi-target-libobjc: dvi-target-libobjc
30258 dvi-target-libobjc: \
30259 configure-target-libobjc
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|"`; \
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}" \
30277 @endif target-libobjc
30279 .PHONY: maybe-html-target-libobjc html-target-libobjc
30280 maybe-html-target-libobjc:
30282 maybe-html-target-libobjc: html-target-libobjc
30284 html-target-libobjc: \
30285 configure-target-libobjc
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|"`; \
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}" \
30303 @endif target-libobjc
30305 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30306 maybe-TAGS-target-libobjc:
30308 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30310 TAGS-target-libobjc: \
30311 configure-target-libobjc
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|"`; \
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}" \
30329 @endif target-libobjc
30331 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30332 maybe-install-info-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
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|"`; \
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}" \
30356 @endif target-libobjc
30358 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30359 maybe-installcheck-target-libobjc:
30361 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30363 installcheck-target-libobjc: \
30364 configure-target-libobjc
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|"`; \
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}" \
30382 @endif target-libobjc
30384 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30385 maybe-mostlyclean-target-libobjc:
30387 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30389 mostlyclean-target-libobjc:
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|"`; \
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}" \
30407 @endif target-libobjc
30409 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30410 maybe-clean-target-libobjc:
30412 maybe-clean-target-libobjc: clean-target-libobjc
30414 clean-target-libobjc:
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|"`; \
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}" \
30432 @endif target-libobjc
30434 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30435 maybe-distclean-target-libobjc:
30437 maybe-distclean-target-libobjc: distclean-target-libobjc
30439 distclean-target-libobjc:
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|"`; \
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}" \
30457 @endif target-libobjc
30459 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30460 maybe-maintainer-clean-target-libobjc:
30462 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30464 maintainer-clean-target-libobjc:
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|"`; \
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) \
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
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) ;; \
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} \
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
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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.
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:
30783 maybe-configure-target-winsup: configure-target-winsup
30784 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
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) ;; \
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} \
30804 @endif target-winsup
30810 .PHONY: all-target-winsup maybe-all-target-winsup
30811 maybe-all-target-winsup:
30813 TARGET-target-winsup=all
30814 maybe-all-target-winsup: all-target-winsup
30815 all-target-winsup: configure-target-winsup
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:
30831 maybe-check-target-winsup: check-target-winsup
30833 check-target-winsup:
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:
30846 maybe-install-target-winsup: install-target-winsup
30848 install-target-winsup: installdirs
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:
30863 maybe-info-target-winsup: info-target-winsup
30865 info-target-winsup: \
30866 configure-target-winsup
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|"`; \
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}" \
30884 @endif target-winsup
30886 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
30887 maybe-dvi-target-winsup:
30889 maybe-dvi-target-winsup: dvi-target-winsup
30891 dvi-target-winsup: \
30892 configure-target-winsup
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|"`; \
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}" \
30910 @endif target-winsup
30912 .PHONY: maybe-html-target-winsup html-target-winsup
30913 maybe-html-target-winsup:
30915 maybe-html-target-winsup: html-target-winsup
30917 html-target-winsup: \
30918 configure-target-winsup
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|"`; \
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}" \
30936 @endif target-winsup
30938 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
30939 maybe-TAGS-target-winsup:
30941 maybe-TAGS-target-winsup: TAGS-target-winsup
30943 TAGS-target-winsup: \
30944 configure-target-winsup
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|"`; \
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}" \
30962 @endif target-winsup
30964 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
30965 maybe-install-info-target-winsup:
30967 maybe-install-info-target-winsup: install-info-target-winsup
30969 install-info-target-winsup: \
30970 configure-target-winsup \
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|"`; \
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}" \
30989 @endif target-winsup
30991 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
30992 maybe-installcheck-target-winsup:
30994 maybe-installcheck-target-winsup: installcheck-target-winsup
30996 installcheck-target-winsup: \
30997 configure-target-winsup
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|"`; \
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}" \
31015 @endif target-winsup
31017 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31018 maybe-mostlyclean-target-winsup:
31020 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31022 mostlyclean-target-winsup:
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|"`; \
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}" \
31040 @endif target-winsup
31042 .PHONY: maybe-clean-target-winsup clean-target-winsup
31043 maybe-clean-target-winsup:
31045 maybe-clean-target-winsup: clean-target-winsup
31047 clean-target-winsup:
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|"`; \
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}" \
31065 @endif target-winsup
31067 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31068 maybe-distclean-target-winsup:
31070 maybe-distclean-target-winsup: distclean-target-winsup
31072 distclean-target-winsup:
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|"`; \
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}" \
31090 @endif target-winsup
31092 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31093 maybe-maintainer-clean-target-winsup:
31095 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31097 maintainer-clean-target-winsup:
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|"`; \
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) \
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
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) ;; \
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} \
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
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
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
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) ;; \
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} \
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
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:
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
31808 @endif target-libiberty
31812 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
31825 maybe-configure-target-gperf: configure-target-gperf
31826 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
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) ;; \
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} \
31846 @endif target-gperf
31852 .PHONY: all-target-gperf maybe-all-target-gperf
31853 maybe-all-target-gperf:
31855 TARGET-target-gperf=all
31856 maybe-all-target-gperf: all-target-gperf
31857 all-target-gperf: configure-target-gperf
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:
31873 maybe-check-target-gperf: check-target-gperf
31875 check-target-gperf:
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:
31888 maybe-install-target-gperf: install-target-gperf
31890 install-target-gperf: installdirs
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:
31905 maybe-info-target-gperf: info-target-gperf
31907 info-target-gperf: \
31908 configure-target-gperf
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|"`; \
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}" \
31926 @endif target-gperf
31928 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
31929 maybe-dvi-target-gperf:
31931 maybe-dvi-target-gperf: dvi-target-gperf
31933 dvi-target-gperf: \
31934 configure-target-gperf
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|"`; \
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}" \
31952 @endif target-gperf
31954 .PHONY: maybe-html-target-gperf html-target-gperf
31955 maybe-html-target-gperf:
31957 maybe-html-target-gperf: html-target-gperf
31959 html-target-gperf: \
31960 configure-target-gperf
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|"`; \
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}" \
31978 @endif target-gperf
31980 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
31981 maybe-TAGS-target-gperf:
31983 maybe-TAGS-target-gperf: TAGS-target-gperf
31985 TAGS-target-gperf: \
31986 configure-target-gperf
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|"`; \
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}" \
32004 @endif target-gperf
32006 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32007 maybe-install-info-target-gperf:
32009 maybe-install-info-target-gperf: install-info-target-gperf
32011 install-info-target-gperf: \
32012 configure-target-gperf \
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|"`; \
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}" \
32031 @endif target-gperf
32033 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32034 maybe-installcheck-target-gperf:
32036 maybe-installcheck-target-gperf: installcheck-target-gperf
32038 installcheck-target-gperf: \
32039 configure-target-gperf
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|"`; \
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}" \
32057 @endif target-gperf
32059 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32060 maybe-mostlyclean-target-gperf:
32062 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32064 mostlyclean-target-gperf:
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|"`; \
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}" \
32082 @endif target-gperf
32084 .PHONY: maybe-clean-target-gperf clean-target-gperf
32085 maybe-clean-target-gperf:
32087 maybe-clean-target-gperf: clean-target-gperf
32089 clean-target-gperf:
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|"`; \
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}" \
32107 @endif target-gperf
32109 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32110 maybe-distclean-target-gperf:
32112 maybe-distclean-target-gperf: distclean-target-gperf
32114 distclean-target-gperf:
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|"`; \
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}" \
32132 @endif target-gperf
32134 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32135 maybe-maintainer-clean-target-gperf:
32137 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32139 maintainer-clean-target-gperf:
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|"`; \
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) \
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
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) ;; \
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} \
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
32496 @endif target-examples
32500 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
32513 maybe-configure-target-libffi: configure-target-libffi
32514 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
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) ;; \
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} \
32534 @endif target-libffi
32540 .PHONY: all-target-libffi maybe-all-target-libffi
32541 maybe-all-target-libffi:
32543 TARGET-target-libffi=all
32544 maybe-all-target-libffi: all-target-libffi
32545 all-target-libffi: configure-target-libffi
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:
32561 maybe-check-target-libffi: check-target-libffi
32563 check-target-libffi:
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:
32576 maybe-install-target-libffi: install-target-libffi
32578 install-target-libffi: installdirs
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:
32593 maybe-info-target-libffi: info-target-libffi
32595 info-target-libffi: \
32596 configure-target-libffi
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|"`; \
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}" \
32614 @endif target-libffi
32616 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
32617 maybe-dvi-target-libffi:
32619 maybe-dvi-target-libffi: dvi-target-libffi
32621 dvi-target-libffi: \
32622 configure-target-libffi
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|"`; \
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}" \
32640 @endif target-libffi
32642 .PHONY: maybe-html-target-libffi html-target-libffi
32643 maybe-html-target-libffi:
32645 maybe-html-target-libffi: html-target-libffi
32647 html-target-libffi: \
32648 configure-target-libffi
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|"`; \
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}" \
32666 @endif target-libffi
32668 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
32669 maybe-TAGS-target-libffi:
32671 maybe-TAGS-target-libffi: TAGS-target-libffi
32673 TAGS-target-libffi: \
32674 configure-target-libffi
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|"`; \
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}" \
32692 @endif target-libffi
32694 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
32695 maybe-install-info-target-libffi:
32697 maybe-install-info-target-libffi: install-info-target-libffi
32699 install-info-target-libffi: \
32700 configure-target-libffi \
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|"`; \
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}" \
32719 @endif target-libffi
32721 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
32722 maybe-installcheck-target-libffi:
32724 maybe-installcheck-target-libffi: installcheck-target-libffi
32726 installcheck-target-libffi: \
32727 configure-target-libffi
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|"`; \
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}" \
32745 @endif target-libffi
32747 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
32748 maybe-mostlyclean-target-libffi:
32750 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
32752 mostlyclean-target-libffi:
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|"`; \
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}" \
32770 @endif target-libffi
32772 .PHONY: maybe-clean-target-libffi clean-target-libffi
32773 maybe-clean-target-libffi:
32775 maybe-clean-target-libffi: clean-target-libffi
32777 clean-target-libffi:
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|"`; \
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}" \
32795 @endif target-libffi
32797 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
32798 maybe-distclean-target-libffi:
32800 maybe-distclean-target-libffi: distclean-target-libffi
32802 distclean-target-libffi:
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|"`; \
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}" \
32820 @endif target-libffi
32822 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
32823 maybe-maintainer-clean-target-libffi:
32825 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
32827 maintainer-clean-target-libffi:
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|"`; \
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) \
32845 @endif target-libffi
32849 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
32862 maybe-configure-target-libjava: configure-target-libjava
32863 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
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) ;; \
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} \
32883 @endif target-libjava
32889 .PHONY: all-target-libjava maybe-all-target-libjava
32890 maybe-all-target-libjava:
32892 TARGET-target-libjava=all
32893 maybe-all-target-libjava: all-target-libjava
32894 all-target-libjava: configure-target-libjava
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:
32910 maybe-check-target-libjava: check-target-libjava
32912 check-target-libjava:
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:
32925 maybe-install-target-libjava: install-target-libjava
32927 install-target-libjava: installdirs
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:
32942 maybe-info-target-libjava: info-target-libjava
32944 info-target-libjava: \
32945 configure-target-libjava
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|"`; \
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}" \
32963 @endif target-libjava
32965 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
32966 maybe-dvi-target-libjava:
32968 maybe-dvi-target-libjava: dvi-target-libjava
32970 dvi-target-libjava: \
32971 configure-target-libjava
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|"`; \
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}" \
32989 @endif target-libjava
32991 .PHONY: maybe-html-target-libjava html-target-libjava
32992 maybe-html-target-libjava:
32994 maybe-html-target-libjava: html-target-libjava
32996 html-target-libjava: \
32997 configure-target-libjava
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|"`; \
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}" \
33015 @endif target-libjava
33017 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33018 maybe-TAGS-target-libjava:
33020 maybe-TAGS-target-libjava: TAGS-target-libjava
33022 TAGS-target-libjava: \
33023 configure-target-libjava
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|"`; \
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}" \
33041 @endif target-libjava
33043 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33044 maybe-install-info-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
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|"`; \
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}" \
33068 @endif target-libjava
33070 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33071 maybe-installcheck-target-libjava:
33073 maybe-installcheck-target-libjava: installcheck-target-libjava
33075 installcheck-target-libjava: \
33076 configure-target-libjava
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|"`; \
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}" \
33094 @endif target-libjava
33096 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33097 maybe-mostlyclean-target-libjava:
33099 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33101 mostlyclean-target-libjava:
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|"`; \
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}" \
33119 @endif target-libjava
33121 .PHONY: maybe-clean-target-libjava clean-target-libjava
33122 maybe-clean-target-libjava:
33124 maybe-clean-target-libjava: clean-target-libjava
33126 clean-target-libjava:
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|"`; \
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}" \
33144 @endif target-libjava
33146 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33147 maybe-distclean-target-libjava:
33149 maybe-distclean-target-libjava: distclean-target-libjava
33151 distclean-target-libjava:
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|"`; \
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}" \
33169 @endif target-libjava
33171 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33172 maybe-maintainer-clean-target-libjava:
33174 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33176 maintainer-clean-target-libjava:
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|"`; \
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) \
33194 @endif target-libjava
33198 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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
33208 .PHONY: configure-target-zlib maybe-configure-target-zlib
33209 maybe-configure-target-zlib:
33211 maybe-configure-target-zlib: configure-target-zlib
33212 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
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) ;; \
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} \
33238 .PHONY: all-target-zlib maybe-all-target-zlib
33239 maybe-all-target-zlib:
33241 TARGET-target-zlib=all
33242 maybe-all-target-zlib: all-target-zlib
33243 all-target-zlib: configure-target-zlib
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))
33256 .PHONY: check-target-zlib maybe-check-target-zlib
33257 maybe-check-target-zlib:
33259 maybe-check-target-zlib: check-target-zlib
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)
33271 .PHONY: install-target-zlib maybe-install-target-zlib
33272 maybe-install-target-zlib:
33274 maybe-install-target-zlib: install-target-zlib
33276 install-target-zlib: installdirs
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)
33286 # Other targets (info, dvi, etc.)
33288 .PHONY: maybe-info-target-zlib info-target-zlib
33289 maybe-info-target-zlib:
33291 maybe-info-target-zlib: info-target-zlib
33293 info-target-zlib: \
33294 configure-target-zlib
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|"`; \
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}" \
33314 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33315 maybe-dvi-target-zlib:
33317 maybe-dvi-target-zlib: dvi-target-zlib
33320 configure-target-zlib
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|"`; \
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}" \
33340 .PHONY: maybe-html-target-zlib html-target-zlib
33341 maybe-html-target-zlib:
33343 maybe-html-target-zlib: html-target-zlib
33345 html-target-zlib: \
33346 configure-target-zlib
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|"`; \
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}" \
33366 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33367 maybe-TAGS-target-zlib:
33369 maybe-TAGS-target-zlib: TAGS-target-zlib
33371 TAGS-target-zlib: \
33372 configure-target-zlib
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|"`; \
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}" \
33392 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33393 maybe-install-info-target-zlib:
33395 maybe-install-info-target-zlib: install-info-target-zlib
33397 install-info-target-zlib: \
33398 configure-target-zlib \
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|"`; \
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}" \
33419 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33420 maybe-installcheck-target-zlib:
33422 maybe-installcheck-target-zlib: installcheck-target-zlib
33424 installcheck-target-zlib: \
33425 configure-target-zlib
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|"`; \
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}" \
33445 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
33446 maybe-mostlyclean-target-zlib:
33448 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
33450 mostlyclean-target-zlib:
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|"`; \
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}" \
33470 .PHONY: maybe-clean-target-zlib clean-target-zlib
33471 maybe-clean-target-zlib:
33473 maybe-clean-target-zlib: clean-target-zlib
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|"`; \
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}" \
33495 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
33496 maybe-distclean-target-zlib:
33498 maybe-distclean-target-zlib: distclean-target-zlib
33500 distclean-target-zlib:
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|"`; \
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}" \
33520 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
33521 maybe-maintainer-clean-target-zlib:
33523 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
33525 maintainer-clean-target-zlib:
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|"`; \
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) \
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
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) ;; \
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} \
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
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:
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
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
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) ;; \
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} \
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
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:
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
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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}" \
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:
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|"`; \
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) \
34241 @endif target-qthreads
34245 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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
34255 .PHONY: configure-target-rda maybe-configure-target-rda
34256 maybe-configure-target-rda:
34258 maybe-configure-target-rda: configure-target-rda
34259 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
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) ;; \
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} \
34285 .PHONY: all-target-rda maybe-all-target-rda
34286 maybe-all-target-rda:
34288 TARGET-target-rda=all
34289 maybe-all-target-rda: all-target-rda
34290 all-target-rda: configure-target-rda
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))
34303 .PHONY: check-target-rda maybe-check-target-rda
34304 maybe-check-target-rda:
34306 maybe-check-target-rda: check-target-rda
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)
34318 .PHONY: install-target-rda maybe-install-target-rda
34319 maybe-install-target-rda:
34321 maybe-install-target-rda: install-target-rda
34323 install-target-rda: installdirs
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)
34333 # Other targets (info, dvi, etc.)
34335 .PHONY: maybe-info-target-rda info-target-rda
34336 maybe-info-target-rda:
34338 maybe-info-target-rda: info-target-rda
34341 configure-target-rda
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|"`; \
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}" \
34361 .PHONY: maybe-dvi-target-rda dvi-target-rda
34362 maybe-dvi-target-rda:
34364 maybe-dvi-target-rda: dvi-target-rda
34367 configure-target-rda
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|"`; \
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}" \
34387 .PHONY: maybe-html-target-rda html-target-rda
34388 maybe-html-target-rda:
34390 maybe-html-target-rda: html-target-rda
34393 configure-target-rda
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|"`; \
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}" \
34413 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
34414 maybe-TAGS-target-rda:
34416 maybe-TAGS-target-rda: TAGS-target-rda
34419 configure-target-rda
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|"`; \
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}" \
34439 .PHONY: maybe-install-info-target-rda install-info-target-rda
34440 maybe-install-info-target-rda:
34442 maybe-install-info-target-rda: install-info-target-rda
34444 install-info-target-rda: \
34445 configure-target-rda \
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|"`; \
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}" \
34466 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
34467 maybe-installcheck-target-rda:
34469 maybe-installcheck-target-rda: installcheck-target-rda
34471 installcheck-target-rda: \
34472 configure-target-rda
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|"`; \
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}" \
34492 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
34493 maybe-mostlyclean-target-rda:
34495 maybe-mostlyclean-target-rda: mostlyclean-target-rda
34497 mostlyclean-target-rda:
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|"`; \
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}" \
34517 .PHONY: maybe-clean-target-rda clean-target-rda
34518 maybe-clean-target-rda:
34520 maybe-clean-target-rda: clean-target-rda
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|"`; \
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}" \
34542 .PHONY: maybe-distclean-target-rda distclean-target-rda
34543 maybe-distclean-target-rda:
34545 maybe-distclean-target-rda: distclean-target-rda
34547 distclean-target-rda:
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|"`; \
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}" \
34567 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
34568 maybe-maintainer-clean-target-rda:
34570 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
34572 maintainer-clean-target-rda:
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|"`; \
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) \
34594 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
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:
34607 maybe-configure-target-libada: configure-target-libada
34608 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
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) ;; \
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} \
34628 @endif target-libada
34634 .PHONY: all-target-libada maybe-all-target-libada
34635 maybe-all-target-libada:
34637 TARGET-target-libada=all
34638 maybe-all-target-libada: all-target-libada
34639 all-target-libada: configure-target-libada
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:
34655 maybe-check-target-libada: check-target-libada
34657 check-target-libada:
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:
34670 maybe-install-target-libada: install-target-libada
34672 install-target-libada: installdirs
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:
34687 maybe-info-target-libada: info-target-libada
34689 info-target-libada: \
34690 configure-target-libada
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|"`; \
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}" \
34708 @endif target-libada
34710 .PHONY: maybe-dvi-target-libada dvi-target-libada
34711 maybe-dvi-target-libada:
34713 maybe-dvi-target-libada: dvi-target-libada
34715 dvi-target-libada: \
34716 configure-target-libada
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|"`; \
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}" \
34734 @endif target-libada
34736 .PHONY: maybe-html-target-libada html-target-libada
34737 maybe-html-target-libada:
34739 maybe-html-target-libada: html-target-libada
34741 html-target-libada: \
34742 configure-target-libada
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|"`; \
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}" \
34760 @endif target-libada
34762 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
34763 maybe-TAGS-target-libada:
34765 maybe-TAGS-target-libada: TAGS-target-libada
34767 TAGS-target-libada: \
34768 configure-target-libada
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|"`; \
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}" \
34786 @endif target-libada
34788 .PHONY: maybe-install-info-target-libada install-info-target-libada
34789 maybe-install-info-target-libada:
34791 maybe-install-info-target-libada: install-info-target-libada
34793 install-info-target-libada: \
34794 configure-target-libada \
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|"`; \
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}" \
34813 @endif target-libada
34815 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
34816 maybe-installcheck-target-libada:
34818 maybe-installcheck-target-libada: installcheck-target-libada
34820 installcheck-target-libada: \
34821 configure-target-libada
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|"`; \
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}" \
34839 @endif target-libada
34841 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
34842 maybe-mostlyclean-target-libada:
34844 maybe-mostlyclean-target-libada: mostlyclean-target-libada
34846 mostlyclean-target-libada:
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|"`; \
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}" \
34864 @endif target-libada
34866 .PHONY: maybe-clean-target-libada clean-target-libada
34867 maybe-clean-target-libada:
34869 maybe-clean-target-libada: clean-target-libada
34871 clean-target-libada:
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|"`; \
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}" \
34889 @endif target-libada
34891 .PHONY: maybe-distclean-target-libada distclean-target-libada
34892 maybe-distclean-target-libada:
34894 maybe-distclean-target-libada: distclean-target-libada
34896 distclean-target-libada:
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|"`; \
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}" \
34914 @endif target-libada
34916 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
34917 maybe-maintainer-clean-target-libada:
34919 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
34921 maintainer-clean-target-libada:
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|"`; \
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) \
34939 @endif target-libada
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; \
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; \
34964 *bootstrap4-lean ) \
34965 msg="Comparing stage3 and stage4 of the compiler"; \
34966 compare=compare3-lean ;; \
34968 msg="Comparing stage3 and stage4 of the compiler"; \
34969 compare=compare3 ;; \
34971 msg="Comparing stage2 and stage3 of the compiler"; \
34972 compare=compare-lean ;; \
34974 msg="Comparing stage2 and stage3 of the compiler"; \
34975 compare=compare ;; \
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; \
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; \
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
35003 cross: all-build all-gas all-ld
35004 @r=`${PWD_COMMAND}`; export r; \
35005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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
35016 .PHONY: check-gcc-c++
35018 @if [ -f ./gcc/Makefile ] ; then \
35019 r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35022 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) 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; \
35046 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35047 rm -rf gcc/include; \
35048 mv gcc/tmp-include gcc/include 2>/dev/null; \
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.
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
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
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!
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)" \
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
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)
35129 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35130 mkdir stage1-bfd; \
35131 set stage1-bfd bfd ; \
35132 @CREATE_LINK_TO_DIR@
35135 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35136 mkdir stage1-opcodes; \
35137 set stage1-opcodes opcodes ; \
35138 @CREATE_LINK_TO_DIR@
35141 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35142 mkdir stage1-binutils; \
35143 set stage1-binutils binutils ; \
35144 @CREATE_LINK_TO_DIR@
35147 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35148 mkdir stage1-gas; \
35149 set stage1-gas gas ; \
35150 @CREATE_LINK_TO_DIR@
35153 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35154 mkdir stage1-gcc; \
35155 set stage1-gcc gcc ; \
35156 @CREATE_LINK_TO_DIR@
35159 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35160 mkdir stage1-intl; \
35161 set stage1-intl intl ; \
35162 @CREATE_LINK_TO_DIR@
35165 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35167 set stage1-ld ld ; \
35168 @CREATE_LINK_TO_DIR@
35171 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35172 mkdir stage1-libcpp; \
35173 set stage1-libcpp libcpp ; \
35174 @CREATE_LINK_TO_DIR@
35177 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35178 mkdir stage1-libiberty; \
35179 set stage1-libiberty libiberty ; \
35180 @CREATE_LINK_TO_DIR@
35183 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35184 mkdir stage1-zlib; \
35185 set stage1-zlib zlib ; \
35186 @CREATE_LINK_TO_DIR@
35190 @rm -f stage_current
35192 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35196 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35200 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35204 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
35208 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35212 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
35216 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
35220 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35224 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35228 @cd $(HOST_SUBDIR); set zlib stage1-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
35237 @if test -f stage1-lean ; then \
35238 echo Skipping rebuild of stage1 ; \
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
35254 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35256 .PHONY: distclean-stage1
35258 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35262 @endif gcc-bootstrap
35265 .PHONY: stage2-start stage2-end
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)
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@
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@
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@
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@
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@
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@
35321 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35323 set stage2-ld ld ; \
35324 @CREATE_LINK_TO_DIR@ ; \
35325 set stage1-ld prev-ld ; \
35326 @CREATE_LINK_TO_DIR@
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@
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@
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@
35354 @rm -f stage_current
35356 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
35357 @UNDO_LINK_TO_DIR@ ; \
35358 set prev-bfd stage1-bfd ; \
35362 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
35363 @UNDO_LINK_TO_DIR@ ; \
35364 set prev-opcodes stage1-opcodes ; \
35368 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
35369 @UNDO_LINK_TO_DIR@ ; \
35370 set prev-binutils stage1-binutils ; \
35374 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
35375 @UNDO_LINK_TO_DIR@ ; \
35376 set prev-gas stage1-gas ; \
35380 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
35381 @UNDO_LINK_TO_DIR@ ; \
35382 set prev-gcc stage1-gcc ; \
35386 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
35387 @UNDO_LINK_TO_DIR@ ; \
35388 set prev-intl stage1-intl ; \
35392 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
35393 @UNDO_LINK_TO_DIR@ ; \
35394 set prev-ld stage1-ld ; \
35398 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
35399 @UNDO_LINK_TO_DIR@ ; \
35400 set prev-libcpp stage1-libcpp ; \
35404 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
35405 @UNDO_LINK_TO_DIR@ ; \
35406 set prev-libiberty stage1-libiberty ; \
35410 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
35411 @UNDO_LINK_TO_DIR@ ; \
35412 set prev-zlib stage1-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 ; \
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
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
35446 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35450 @endif gcc-bootstrap
35453 .PHONY: stage3-start stage3-end
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)
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@
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@
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@
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@
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@
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@
35509 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
35511 set stage3-ld ld ; \
35512 @CREATE_LINK_TO_DIR@ ; \
35513 set stage2-ld prev-ld ; \
35514 @CREATE_LINK_TO_DIR@
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@
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@
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@
35542 @rm -f stage_current
35544 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
35545 @UNDO_LINK_TO_DIR@ ; \
35546 set prev-bfd stage2-bfd ; \
35550 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
35551 @UNDO_LINK_TO_DIR@ ; \
35552 set prev-opcodes stage2-opcodes ; \
35556 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
35557 @UNDO_LINK_TO_DIR@ ; \
35558 set prev-binutils stage2-binutils ; \
35562 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
35563 @UNDO_LINK_TO_DIR@ ; \
35564 set prev-gas stage2-gas ; \
35568 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
35569 @UNDO_LINK_TO_DIR@ ; \
35570 set prev-gcc stage2-gcc ; \
35574 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
35575 @UNDO_LINK_TO_DIR@ ; \
35576 set prev-intl stage2-intl ; \
35580 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
35581 @UNDO_LINK_TO_DIR@ ; \
35582 set prev-ld stage2-ld ; \
35586 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
35587 @UNDO_LINK_TO_DIR@ ; \
35588 set prev-libcpp stage2-libcpp ; \
35592 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
35593 @UNDO_LINK_TO_DIR@ ; \
35594 set prev-libiberty stage2-libiberty ; \
35598 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
35599 @UNDO_LINK_TO_DIR@ ; \
35600 set prev-zlib stage2-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 ; \
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
35625 @if test -f stage2-lean; then \
35626 echo Cannot compare object files as stage 2 was deleted. ; \
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 ; \
35634 files=`find . -name "*$(objext)" -print` ; \
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 \
35641 ./cc*-checksum$(objext) | ./libgcc/* ) \
35642 echo warning: $$file differs ;; \
35644 echo $$file differs >> .bad_compare ;; \
35648 if [ -f .bad_compare ]; then \
35649 echo "Bootstrap comparison failure!"; \
35650 cat .bad_compare; \
35656 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35661 bootstrap: stage3-bubble
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
35670 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35671 rm -rf stage3-* compare
35675 cleanstrap: distclean bootstrap
35677 @endif gcc-bootstrap
35680 .PHONY: stage4-start stage4-end
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)
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@
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@
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@
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@
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@
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@
35736 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
35738 set stage4-ld ld ; \
35739 @CREATE_LINK_TO_DIR@ ; \
35740 set stage3-ld prev-ld ; \
35741 @CREATE_LINK_TO_DIR@
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@
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@
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@
35769 @rm -f stage_current
35771 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
35772 @UNDO_LINK_TO_DIR@ ; \
35773 set prev-bfd stage3-bfd ; \
35777 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
35778 @UNDO_LINK_TO_DIR@ ; \
35779 set prev-opcodes stage3-opcodes ; \
35783 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
35784 @UNDO_LINK_TO_DIR@ ; \
35785 set prev-binutils stage3-binutils ; \
35789 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
35790 @UNDO_LINK_TO_DIR@ ; \
35791 set prev-gas stage3-gas ; \
35795 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
35796 @UNDO_LINK_TO_DIR@ ; \
35797 set prev-gcc stage3-gcc ; \
35801 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
35802 @UNDO_LINK_TO_DIR@ ; \
35803 set prev-intl stage3-intl ; \
35807 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
35808 @UNDO_LINK_TO_DIR@ ; \
35809 set prev-ld stage3-ld ; \
35813 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
35814 @UNDO_LINK_TO_DIR@ ; \
35815 set prev-libcpp stage3-libcpp ; \
35819 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
35820 @UNDO_LINK_TO_DIR@ ; \
35821 set prev-libiberty stage3-libiberty ; \
35825 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
35826 @UNDO_LINK_TO_DIR@ ; \
35827 set prev-zlib stage3-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 ; \
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
35852 @if test -f stage3-lean; then \
35853 echo Cannot compare object files as stage 3 was deleted. ; \
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 ; \
35861 files=`find . -name "*$(objext)" -print` ; \
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 \
35868 ./cc*-checksum$(objext) | ./libgcc/* ) \
35869 echo warning: $$file differs ;; \
35871 echo $$file differs >> .bad_compare ;; \
35875 if [ -f .bad_compare ]; then \
35876 echo "Bootstrap comparison failure!"; \
35877 cat .bad_compare; \
35883 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
35888 bootstrap4: stage4-bubble
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
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)
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@
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@
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@
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@
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@
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@
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@
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@
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@
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@
35993 @rm -f stage_current
35995 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
35996 @UNDO_LINK_TO_DIR@ ; \
35997 set prev-bfd stage1-bfd ; \
36001 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36002 @UNDO_LINK_TO_DIR@ ; \
36003 set prev-opcodes stage1-opcodes ; \
36007 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36008 @UNDO_LINK_TO_DIR@ ; \
36009 set prev-binutils stage1-binutils ; \
36013 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36014 @UNDO_LINK_TO_DIR@ ; \
36015 set prev-gas stage1-gas ; \
36019 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36020 @UNDO_LINK_TO_DIR@ ; \
36021 set prev-gcc stage1-gcc ; \
36025 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36026 @UNDO_LINK_TO_DIR@ ; \
36027 set prev-intl stage1-intl ; \
36031 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36032 @UNDO_LINK_TO_DIR@ ; \
36033 set prev-ld stage1-ld ; \
36037 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36038 @UNDO_LINK_TO_DIR@ ; \
36039 set prev-libcpp stage1-libcpp ; \
36043 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36044 @UNDO_LINK_TO_DIR@ ; \
36045 set prev-libiberty stage1-libiberty ; \
36049 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36050 @UNDO_LINK_TO_DIR@ ; \
36051 set prev-zlib stage1-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 ; \
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
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)
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@
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@
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@
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@
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@
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@
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@
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@
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@
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@
36176 stagefeedback-end::
36177 @rm -f stage_current
36179 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
36180 @UNDO_LINK_TO_DIR@ ; \
36181 set prev-bfd stageprofile-bfd ; \
36185 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
36186 @UNDO_LINK_TO_DIR@ ; \
36187 set prev-opcodes stageprofile-opcodes ; \
36191 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
36192 @UNDO_LINK_TO_DIR@ ; \
36193 set prev-binutils stageprofile-binutils ; \
36197 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
36198 @UNDO_LINK_TO_DIR@ ; \
36199 set prev-gas stageprofile-gas ; \
36203 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
36204 @UNDO_LINK_TO_DIR@ ; \
36205 set prev-gcc stageprofile-gcc ; \
36209 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
36210 @UNDO_LINK_TO_DIR@ ; \
36211 set prev-intl stageprofile-intl ; \
36215 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
36216 @UNDO_LINK_TO_DIR@ ; \
36217 set prev-ld stageprofile-ld ; \
36221 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
36222 @UNDO_LINK_TO_DIR@ ; \
36223 set prev-libcpp stageprofile-libcpp ; \
36227 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
36228 @UNDO_LINK_TO_DIR@ ; \
36229 set prev-libiberty stageprofile-libiberty ; \
36233 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
36234 @UNDO_LINK_TO_DIR@ ; \
36235 set prev-zlib stageprofile-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 ; \
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
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
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-//` ; \
36286 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
36287 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
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
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
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.
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.
36924 # end of Makefile.in