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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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@
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; \
158 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
160 # Similar, for later GCC stages.
161 STAGE_HOST_EXPORTS = \
162 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
164 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
165 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
166 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
167 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
168 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
169 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
171 # This is set by the configure script to the list of directories which
172 # should be built using the target tools.
173 TARGET_CONFIGDIRS = @target_configdirs@
174 # Target libraries are put under this directory:
175 TARGET_SUBDIR = @target_subdir@
176 # This is set by the configure script to the arguments to use when configuring
177 # directories built for the target.
178 TARGET_CONFIGARGS = @target_configargs@
179 # This is the list of variables to export in the environment when
180 # configuring subdirectories for the host system.
181 BASE_TARGET_EXPORTS = \
183 AR="$(AR_FOR_TARGET)"; export AR; \
184 AS="$(AS_FOR_TARGET)"; export AS; \
185 CC="$(CC_FOR_TARGET)"; export CC; \
186 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
188 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
190 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
191 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
192 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
193 LD="$(LD_FOR_TARGET)"; export LD; \
194 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
195 NM="$(NM_FOR_TARGET)"; export NM; \
196 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
197 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
198 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
200 RAW_CXX_TARGET_EXPORTS = \
201 $(BASE_TARGET_EXPORTS) \
202 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
203 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
205 NORMAL_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX="$(CXX_FOR_TARGET)"; export CXX;
210 HOST_GMPLIBS = @gmplibs@
211 HOST_GMPINC = @gmpinc@
213 # ----------------------------------------------
214 # Programs producing files for the BUILD machine
215 # ----------------------------------------------
217 SHELL = @config_shell@
219 # pwd command to use. Allow user to override default by setting PWDCMD in
220 # the environment to account for automounters. The make variable must not
221 # be called PWDCMD, otherwise the value set here is passed to make
222 # subprocesses and overrides the setting from the user's environment.
223 # Don't use PWD since it is a common shell environment variable and we
224 # don't want to corrupt it.
225 PWD_COMMAND = $${PWDCMD-pwd}
227 # compilers to use to create programs which must be run in the build
229 CC_FOR_BUILD = @CC_FOR_BUILD@
230 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
232 CXX_FOR_BUILD = $(CXX)
234 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
235 # here so that they can be overridden by Makefile fragments.
236 BUILD_PREFIX = @BUILD_PREFIX@
237 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
239 # Flags to pass to stage2 and later makes. They are defined
240 # here so that they can be overridden by Makefile fragments.
243 CONFIGURED_BISON = @CONFIGURED_BISON@
244 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
245 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
247 echo ${CONFIGURED_BISON} ; \
250 CONFIGURED_YACC = @CONFIGURED_YACC@
251 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
252 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
253 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
256 echo ${CONFIGURED_YACC} ; \
259 CONFIGURED_FLEX = @CONFIGURED_FLEX@
260 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
261 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
262 else echo ${CONFIGURED_FLEX} ; fi`
264 CONFIGURED_LEX = @CONFIGURED_LEX@
265 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_LEX} ; fi`
269 CONFIGURED_M4 = @CONFIGURED_M4@
270 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
272 else echo ${CONFIGURED_M4} ; fi`
274 # For an installed makeinfo, we require it to be from texinfo 4.2 or
275 # higher, else we use the "missing" dummy. We also pass the subdirectory
276 # makeinfo even if only the Makefile is there, because Texinfo builds its
277 # manual when made, and it requires its own version.
278 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
279 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
281 else if (${CONFIGURED_MAKEINFO} --version \
282 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
283 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
285 # This just becomes part of the MAKEINFO definition passed down to
286 # sub-makes. It lets flags be given on the command line while still
287 # using the makeinfo from the object tree.
288 # (Default to avoid splitting info files by setting the threshold high.)
289 MAKEINFOFLAGS = --split-size=5000000
291 # FIXME: expect may become a build tool?
292 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
293 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
294 else echo expect ; fi`
296 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
297 then echo $$s/dejagnu/runtest ; \
298 else echo runtest ; fi`
300 # ---------------------------------------------
301 # Programs producing files for the HOST machine
302 # ---------------------------------------------
311 LIBCFLAGS = $(CFLAGS)
314 CXXFLAGS = @CXXFLAGS@
315 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
330 # -----------------------------------------------
331 # Programs producing files for the TARGET machine
332 # -----------------------------------------------
334 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
336 AR_FOR_TARGET=@AR_FOR_TARGET@
337 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
338 USUAL_AR_FOR_TARGET = ` \
339 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
340 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
342 if [ '$(host)' = '$(target)' ] ; then \
345 echo $(CONFIGURED_AR_FOR_TARGET) ; \
349 AS_FOR_TARGET=@AS_FOR_TARGET@
350 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
351 USUAL_AS_FOR_TARGET = ` \
352 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
353 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
354 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
355 $(CC_FOR_TARGET) -print-prog-name=as ; \
357 if [ '$(host)' = '$(target)' ] ; then \
360 echo $(CONFIGURED_AS_FOR_TARGET) ; \
364 CC_FOR_TARGET = @CC_FOR_TARGET@
365 # During gcc bootstrap, if we use some random cc for stage1 then
366 # CFLAGS will be just -g. We want to ensure that TARGET libraries
367 # (which we know are built with gcc) are built with optimizations so
368 # prepend -O2 when setting CFLAGS_FOR_TARGET.
369 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
370 # If GCC_FOR_TARGET is not overriden on the command line, then this
371 # variable is passed down to the gcc Makefile, where it is used to
372 # build libgcc2.a. We define it here so that it can itself be
373 # overridden on the command line.
374 GCC_FOR_TARGET=@GCC_FOR_TARGET@
375 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
376 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
377 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
379 CXX_FOR_TARGET = @CXX_FOR_TARGET@
380 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
381 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
382 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
383 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
384 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
386 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
387 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
388 USUAL_DLLTOOL_FOR_TARGET = ` \
389 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
390 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
392 if [ '$(host)' = '$(target)' ] ; then \
395 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
399 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
400 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
402 LD_FOR_TARGET=@LD_FOR_TARGET@
403 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
404 USUAL_LD_FOR_TARGET = ` \
405 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
406 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
407 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
408 $(CC_FOR_TARGET) -print-prog-name=ld ; \
410 if [ '$(host)' = '$(target)' ] ; then \
413 echo $(CONFIGURED_LD_FOR_TARGET) ; \
419 NM_FOR_TARGET=@NM_FOR_TARGET@
420 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
421 USUAL_NM_FOR_TARGET = ` \
422 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
423 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
424 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
425 $(CC_FOR_TARGET) -print-prog-name=nm ; \
427 if [ '$(host)' = '$(target)' ] ; then \
430 echo $(CONFIGURED_NM_FOR_TARGET) ; \
434 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
435 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
436 USUAL_RANLIB_FOR_TARGET = ` \
437 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
438 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
440 if [ '$(host)' = '$(target)' ] ; then \
441 if [ x'$(RANLIB)' != x ]; then \
447 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
451 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
452 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
453 USUAL_WINDRES_FOR_TARGET = ` \
454 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
455 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
457 if [ '$(host)' = '$(target)' ] ; then \
460 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
466 # ------------------------------------
467 # Miscellaneous targets and flag lists
468 # ------------------------------------
470 # The first rule in the file had better be this one. Don't put any above it.
471 # This lives here to allow makefile fragments to contain dependencies.
474 #### host and target specific makefile fragments come in here.
475 @target_makefile_frag@
481 # This is the list of directories that may be needed in RPATH_ENVVAR
482 # so that prorgams built for the target machine work.
483 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(HOST_LIB_PATH_gcc)
485 @if target-libstdc++-v3
486 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
487 @endif target-libstdc++-v3
489 @if target-libmudflap
490 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
491 @endif target-libmudflap
495 # This is the list of directories that may be needed in RPATH_ENVVAR
496 # so that programs built for the host machine work.
497 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
499 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
501 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
506 HOST_LIB_PATH_bfd = \
507 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
511 HOST_LIB_PATH_opcodes = \
512 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
516 # Flags to pass down to all sub-makes.
517 BASE_FLAGS_TO_PASS = \
518 "DESTDIR=$(DESTDIR)" \
519 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
520 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
522 "datadir=$(datadir)" \
523 "exec_prefix=$(exec_prefix)" \
524 "includedir=$(includedir)" \
525 "infodir=$(infodir)" \
527 "libexecdir=$(libexecdir)" \
528 "lispdir=$(lispdir)" \
529 "localstatedir=$(localstatedir)" \
531 "oldincludedir=$(oldincludedir)" \
533 "sbindir=$(sbindir)" \
534 "sharedstatedir=$(sharedstatedir)" \
535 "sysconfdir=$(sysconfdir)" \
536 "tooldir=$(tooldir)" \
537 "build_tooldir=$(build_tooldir)" \
538 "target_alias=$(target_alias)" \
540 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
541 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
544 "INSTALL=$(INSTALL)" \
545 "INSTALL_DATA=$(INSTALL_DATA)" \
546 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
547 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
551 "RUNTEST=$(RUNTEST)" \
552 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
555 "AR_FLAGS=$(AR_FLAGS)" \
557 "CXXFLAGS=$(CXXFLAGS)" \
558 "LDFLAGS=$(LDFLAGS)" \
559 "LIBCFLAGS=$(LIBCFLAGS)" \
560 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
561 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
562 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
563 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
564 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
565 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
566 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
567 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
568 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
569 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
570 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
571 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
572 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
573 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
574 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
575 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
576 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
577 "CONFIG_SHELL=$(SHELL)" \
578 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
580 # For any flags above that may contain shell code that varies from one
581 # target library to another. When doing recursive invocations of the
582 # top-level Makefile, we don't want the outer make to evaluate them,
583 # so we pass these variables down unchanged. They must not contain
584 # single nor double quotes.
586 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
587 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
589 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
591 # Flags to pass down to most sub-makes, in which we're building with
592 # the host environment.
598 'DLLTOOL=$(DLLTOOL)' \
604 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
606 # Flags that are concerned with the location of the X11 include files
609 # NOTE: until the top-level is getting the values via autoconf, it only
610 # causes problems to have this top-level Makefile overriding the autoconf-set
611 # values in child directories. Only variables that don't conflict with
612 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
614 X11_FLAGS_TO_PASS = \
615 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
616 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
618 # Flags to pass down to makes which are built with the target environment.
619 # The double $ decreases the length of the command line; the variables
620 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
621 EXTRA_TARGET_FLAGS = \
622 'AR=$$(AR_FOR_TARGET)' \
623 'AS=$$(AS_FOR_TARGET)' \
624 'CC=$$(CC_FOR_TARGET)' \
625 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
626 'CXX=$$(CXX_FOR_TARGET)' \
627 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
628 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
629 'LD=$$(LD_FOR_TARGET)' \
630 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
631 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
632 'NM=$$(NM_FOR_TARGET)' \
633 'RANLIB=$$(RANLIB_FOR_TARGET)' \
634 'WINDRES=$$(WINDRES_FOR_TARGET)'
636 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
638 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
639 # unfortunately needs the native compiler and the target ar and
641 # If any variables are added here, they must be added to do-*, below.
642 # The BUILD_* variables are a special case, which are used for the gcc
643 # cross-building scheme.
645 'BUILD_PREFIX=$(BUILD_PREFIX)' \
646 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
647 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
648 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
649 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
650 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
651 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
652 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
653 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
654 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
655 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
656 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
657 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
659 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
661 .PHONY: configure-host
663 maybe-configure-ash \
664 maybe-configure-autoconf \
665 maybe-configure-automake \
666 maybe-configure-bash \
667 maybe-configure-bfd \
668 maybe-configure-opcodes \
669 maybe-configure-binutils \
670 maybe-configure-bison \
671 maybe-configure-byacc \
672 maybe-configure-bzip2 \
673 maybe-configure-dejagnu \
674 maybe-configure-diff \
675 maybe-configure-dosutils \
676 maybe-configure-etc \
677 maybe-configure-fastjar \
678 maybe-configure-fileutils \
679 maybe-configure-findutils \
680 maybe-configure-find \
681 maybe-configure-fixincludes \
682 maybe-configure-flex \
683 maybe-configure-gas \
684 maybe-configure-gcc \
685 maybe-configure-gawk \
686 maybe-configure-gettext \
687 maybe-configure-gnuserv \
688 maybe-configure-gprof \
689 maybe-configure-gzip \
690 maybe-configure-hello \
691 maybe-configure-indent \
692 maybe-configure-intl \
693 maybe-configure-tcl \
694 maybe-configure-itcl \
696 maybe-configure-libcpp \
697 maybe-configure-libgui \
698 maybe-configure-libiberty \
699 maybe-configure-libtool \
701 maybe-configure-make \
702 maybe-configure-mmalloc \
703 maybe-configure-patch \
704 maybe-configure-perl \
705 maybe-configure-prms \
706 maybe-configure-rcs \
707 maybe-configure-readline \
708 maybe-configure-release \
709 maybe-configure-recode \
710 maybe-configure-sed \
711 maybe-configure-send-pr \
712 maybe-configure-shellutils \
713 maybe-configure-sid \
714 maybe-configure-sim \
715 maybe-configure-tar \
716 maybe-configure-texinfo \
717 maybe-configure-textutils \
718 maybe-configure-time \
719 maybe-configure-uudecode \
720 maybe-configure-wdiff \
721 maybe-configure-zip \
722 maybe-configure-zlib \
723 maybe-configure-gdb \
724 maybe-configure-expect \
725 maybe-configure-guile \
727 maybe-configure-libtermcap \
728 maybe-configure-utils \
729 maybe-configure-gnattools
730 .PHONY: configure-target
732 maybe-configure-target-libstdc++-v3 \
733 maybe-configure-target-libmudflap \
734 maybe-configure-target-newlib \
735 maybe-configure-target-libgfortran \
736 maybe-configure-target-libobjc \
737 maybe-configure-target-libtermcap \
738 maybe-configure-target-winsup \
739 maybe-configure-target-libgloss \
740 maybe-configure-target-libiberty \
741 maybe-configure-target-gperf \
742 maybe-configure-target-examples \
743 maybe-configure-target-libffi \
744 maybe-configure-target-libjava \
745 maybe-configure-target-zlib \
746 maybe-configure-target-boehm-gc \
747 maybe-configure-target-qthreads \
748 maybe-configure-target-rda \
749 maybe-configure-target-libada
751 # The target built for a native non-bootstrap build.
753 all: unstage all-host all-target stage
757 maybe-all-build-libiberty \
758 maybe-all-build-bison \
759 maybe-all-build-byacc \
760 maybe-all-build-flex \
762 maybe-all-build-texinfo \
763 maybe-all-build-fixincludes
781 maybe-all-fileutils \
782 maybe-all-findutils \
784 maybe-all-fixincludes \
801 maybe-all-libiberty \
815 maybe-all-shellutils \
820 maybe-all-textutils \
830 maybe-all-libtermcap \
835 maybe-all-target-libstdc++-v3 \
836 maybe-all-target-libmudflap \
837 maybe-all-target-newlib \
838 maybe-all-target-libgfortran \
839 maybe-all-target-libobjc \
840 maybe-all-target-libtermcap \
841 maybe-all-target-winsup \
842 maybe-all-target-libgloss \
843 maybe-all-target-libiberty \
844 maybe-all-target-gperf \
845 maybe-all-target-examples \
846 maybe-all-target-libffi \
847 maybe-all-target-libjava \
848 maybe-all-target-zlib \
849 maybe-all-target-boehm-gc \
850 maybe-all-target-qthreads \
851 maybe-all-target-rda \
852 maybe-all-target-libada
854 # Do a target for all the subdirectories. A ``make do-X'' will do a
855 # ``make X'' in all subdirectories (because, in general, there is a
856 # dependency (below) of X upon do-X, a ``make X'' will also do this,
857 # but it may do additional work as well).
860 do-info: unstage info-host info-target stage
865 maybe-info-autoconf \
866 maybe-info-automake \
870 maybe-info-binutils \
876 maybe-info-dosutils \
879 maybe-info-fileutils \
880 maybe-info-findutils \
882 maybe-info-fixincludes \
899 maybe-info-libiberty \
908 maybe-info-readline \
913 maybe-info-shellutils \
918 maybe-info-textutils \
920 maybe-info-uudecode \
928 maybe-info-libtermcap \
934 maybe-info-target-libstdc++-v3 \
935 maybe-info-target-libmudflap \
936 maybe-info-target-newlib \
937 maybe-info-target-libgfortran \
938 maybe-info-target-libobjc \
939 maybe-info-target-libtermcap \
940 maybe-info-target-winsup \
941 maybe-info-target-libgloss \
942 maybe-info-target-libiberty \
943 maybe-info-target-gperf \
944 maybe-info-target-examples \
945 maybe-info-target-libffi \
946 maybe-info-target-libjava \
947 maybe-info-target-zlib \
948 maybe-info-target-boehm-gc \
949 maybe-info-target-qthreads \
950 maybe-info-target-rda \
951 maybe-info-target-libada
954 do-dvi: unstage dvi-host dvi-target stage
973 maybe-dvi-fileutils \
974 maybe-dvi-findutils \
976 maybe-dvi-fixincludes \
993 maybe-dvi-libiberty \
1002 maybe-dvi-readline \
1007 maybe-dvi-shellutils \
1012 maybe-dvi-textutils \
1014 maybe-dvi-uudecode \
1022 maybe-dvi-libtermcap \
1028 maybe-dvi-target-libstdc++-v3 \
1029 maybe-dvi-target-libmudflap \
1030 maybe-dvi-target-newlib \
1031 maybe-dvi-target-libgfortran \
1032 maybe-dvi-target-libobjc \
1033 maybe-dvi-target-libtermcap \
1034 maybe-dvi-target-winsup \
1035 maybe-dvi-target-libgloss \
1036 maybe-dvi-target-libiberty \
1037 maybe-dvi-target-gperf \
1038 maybe-dvi-target-examples \
1039 maybe-dvi-target-libffi \
1040 maybe-dvi-target-libjava \
1041 maybe-dvi-target-zlib \
1042 maybe-dvi-target-boehm-gc \
1043 maybe-dvi-target-qthreads \
1044 maybe-dvi-target-rda \
1045 maybe-dvi-target-libada
1048 do-html: unstage html-host html-target stage
1053 maybe-html-autoconf \
1054 maybe-html-automake \
1057 maybe-html-opcodes \
1058 maybe-html-binutils \
1062 maybe-html-dejagnu \
1064 maybe-html-dosutils \
1066 maybe-html-fastjar \
1067 maybe-html-fileutils \
1068 maybe-html-findutils \
1070 maybe-html-fixincludes \
1075 maybe-html-gettext \
1076 maybe-html-gnuserv \
1087 maybe-html-libiberty \
1088 maybe-html-libtool \
1091 maybe-html-mmalloc \
1096 maybe-html-readline \
1097 maybe-html-release \
1100 maybe-html-send-pr \
1101 maybe-html-shellutils \
1105 maybe-html-texinfo \
1106 maybe-html-textutils \
1108 maybe-html-uudecode \
1116 maybe-html-libtermcap \
1118 maybe-html-gnattools
1122 maybe-html-target-libstdc++-v3 \
1123 maybe-html-target-libmudflap \
1124 maybe-html-target-newlib \
1125 maybe-html-target-libgfortran \
1126 maybe-html-target-libobjc \
1127 maybe-html-target-libtermcap \
1128 maybe-html-target-winsup \
1129 maybe-html-target-libgloss \
1130 maybe-html-target-libiberty \
1131 maybe-html-target-gperf \
1132 maybe-html-target-examples \
1133 maybe-html-target-libffi \
1134 maybe-html-target-libjava \
1135 maybe-html-target-zlib \
1136 maybe-html-target-boehm-gc \
1137 maybe-html-target-qthreads \
1138 maybe-html-target-rda \
1139 maybe-html-target-libada
1142 do-TAGS: unstage TAGS-host TAGS-target stage
1147 maybe-TAGS-autoconf \
1148 maybe-TAGS-automake \
1151 maybe-TAGS-opcodes \
1152 maybe-TAGS-binutils \
1156 maybe-TAGS-dejagnu \
1158 maybe-TAGS-dosutils \
1160 maybe-TAGS-fastjar \
1161 maybe-TAGS-fileutils \
1162 maybe-TAGS-findutils \
1164 maybe-TAGS-fixincludes \
1169 maybe-TAGS-gettext \
1170 maybe-TAGS-gnuserv \
1181 maybe-TAGS-libiberty \
1182 maybe-TAGS-libtool \
1185 maybe-TAGS-mmalloc \
1190 maybe-TAGS-readline \
1191 maybe-TAGS-release \
1194 maybe-TAGS-send-pr \
1195 maybe-TAGS-shellutils \
1199 maybe-TAGS-texinfo \
1200 maybe-TAGS-textutils \
1202 maybe-TAGS-uudecode \
1210 maybe-TAGS-libtermcap \
1212 maybe-TAGS-gnattools
1216 maybe-TAGS-target-libstdc++-v3 \
1217 maybe-TAGS-target-libmudflap \
1218 maybe-TAGS-target-newlib \
1219 maybe-TAGS-target-libgfortran \
1220 maybe-TAGS-target-libobjc \
1221 maybe-TAGS-target-libtermcap \
1222 maybe-TAGS-target-winsup \
1223 maybe-TAGS-target-libgloss \
1224 maybe-TAGS-target-libiberty \
1225 maybe-TAGS-target-gperf \
1226 maybe-TAGS-target-examples \
1227 maybe-TAGS-target-libffi \
1228 maybe-TAGS-target-libjava \
1229 maybe-TAGS-target-zlib \
1230 maybe-TAGS-target-boehm-gc \
1231 maybe-TAGS-target-qthreads \
1232 maybe-TAGS-target-rda \
1233 maybe-TAGS-target-libada
1235 .PHONY: do-install-info
1236 do-install-info: unstage install-info-host install-info-target stage
1238 .PHONY: install-info-host
1239 install-info-host: \
1240 maybe-install-info-ash \
1241 maybe-install-info-autoconf \
1242 maybe-install-info-automake \
1243 maybe-install-info-bash \
1244 maybe-install-info-bfd \
1245 maybe-install-info-opcodes \
1246 maybe-install-info-binutils \
1247 maybe-install-info-bison \
1248 maybe-install-info-byacc \
1249 maybe-install-info-bzip2 \
1250 maybe-install-info-dejagnu \
1251 maybe-install-info-diff \
1252 maybe-install-info-dosutils \
1253 maybe-install-info-etc \
1254 maybe-install-info-fastjar \
1255 maybe-install-info-fileutils \
1256 maybe-install-info-findutils \
1257 maybe-install-info-find \
1258 maybe-install-info-fixincludes \
1259 maybe-install-info-flex \
1260 maybe-install-info-gas \
1261 maybe-install-info-gcc \
1262 maybe-install-info-gawk \
1263 maybe-install-info-gettext \
1264 maybe-install-info-gnuserv \
1265 maybe-install-info-gprof \
1266 maybe-install-info-gzip \
1267 maybe-install-info-hello \
1268 maybe-install-info-indent \
1269 maybe-install-info-intl \
1270 maybe-install-info-tcl \
1271 maybe-install-info-itcl \
1272 maybe-install-info-ld \
1273 maybe-install-info-libcpp \
1274 maybe-install-info-libgui \
1275 maybe-install-info-libiberty \
1276 maybe-install-info-libtool \
1277 maybe-install-info-m4 \
1278 maybe-install-info-make \
1279 maybe-install-info-mmalloc \
1280 maybe-install-info-patch \
1281 maybe-install-info-perl \
1282 maybe-install-info-prms \
1283 maybe-install-info-rcs \
1284 maybe-install-info-readline \
1285 maybe-install-info-release \
1286 maybe-install-info-recode \
1287 maybe-install-info-sed \
1288 maybe-install-info-send-pr \
1289 maybe-install-info-shellutils \
1290 maybe-install-info-sid \
1291 maybe-install-info-sim \
1292 maybe-install-info-tar \
1293 maybe-install-info-texinfo \
1294 maybe-install-info-textutils \
1295 maybe-install-info-time \
1296 maybe-install-info-uudecode \
1297 maybe-install-info-wdiff \
1298 maybe-install-info-zip \
1299 maybe-install-info-zlib \
1300 maybe-install-info-gdb \
1301 maybe-install-info-expect \
1302 maybe-install-info-guile \
1303 maybe-install-info-tk \
1304 maybe-install-info-libtermcap \
1305 maybe-install-info-utils \
1306 maybe-install-info-gnattools
1308 .PHONY: install-info-target
1309 install-info-target: \
1310 maybe-install-info-target-libstdc++-v3 \
1311 maybe-install-info-target-libmudflap \
1312 maybe-install-info-target-newlib \
1313 maybe-install-info-target-libgfortran \
1314 maybe-install-info-target-libobjc \
1315 maybe-install-info-target-libtermcap \
1316 maybe-install-info-target-winsup \
1317 maybe-install-info-target-libgloss \
1318 maybe-install-info-target-libiberty \
1319 maybe-install-info-target-gperf \
1320 maybe-install-info-target-examples \
1321 maybe-install-info-target-libffi \
1322 maybe-install-info-target-libjava \
1323 maybe-install-info-target-zlib \
1324 maybe-install-info-target-boehm-gc \
1325 maybe-install-info-target-qthreads \
1326 maybe-install-info-target-rda \
1327 maybe-install-info-target-libada
1329 .PHONY: do-installcheck
1330 do-installcheck: unstage installcheck-host installcheck-target stage
1332 .PHONY: installcheck-host
1333 installcheck-host: \
1334 maybe-installcheck-ash \
1335 maybe-installcheck-autoconf \
1336 maybe-installcheck-automake \
1337 maybe-installcheck-bash \
1338 maybe-installcheck-bfd \
1339 maybe-installcheck-opcodes \
1340 maybe-installcheck-binutils \
1341 maybe-installcheck-bison \
1342 maybe-installcheck-byacc \
1343 maybe-installcheck-bzip2 \
1344 maybe-installcheck-dejagnu \
1345 maybe-installcheck-diff \
1346 maybe-installcheck-dosutils \
1347 maybe-installcheck-etc \
1348 maybe-installcheck-fastjar \
1349 maybe-installcheck-fileutils \
1350 maybe-installcheck-findutils \
1351 maybe-installcheck-find \
1352 maybe-installcheck-fixincludes \
1353 maybe-installcheck-flex \
1354 maybe-installcheck-gas \
1355 maybe-installcheck-gcc \
1356 maybe-installcheck-gawk \
1357 maybe-installcheck-gettext \
1358 maybe-installcheck-gnuserv \
1359 maybe-installcheck-gprof \
1360 maybe-installcheck-gzip \
1361 maybe-installcheck-hello \
1362 maybe-installcheck-indent \
1363 maybe-installcheck-intl \
1364 maybe-installcheck-tcl \
1365 maybe-installcheck-itcl \
1366 maybe-installcheck-ld \
1367 maybe-installcheck-libcpp \
1368 maybe-installcheck-libgui \
1369 maybe-installcheck-libiberty \
1370 maybe-installcheck-libtool \
1371 maybe-installcheck-m4 \
1372 maybe-installcheck-make \
1373 maybe-installcheck-mmalloc \
1374 maybe-installcheck-patch \
1375 maybe-installcheck-perl \
1376 maybe-installcheck-prms \
1377 maybe-installcheck-rcs \
1378 maybe-installcheck-readline \
1379 maybe-installcheck-release \
1380 maybe-installcheck-recode \
1381 maybe-installcheck-sed \
1382 maybe-installcheck-send-pr \
1383 maybe-installcheck-shellutils \
1384 maybe-installcheck-sid \
1385 maybe-installcheck-sim \
1386 maybe-installcheck-tar \
1387 maybe-installcheck-texinfo \
1388 maybe-installcheck-textutils \
1389 maybe-installcheck-time \
1390 maybe-installcheck-uudecode \
1391 maybe-installcheck-wdiff \
1392 maybe-installcheck-zip \
1393 maybe-installcheck-zlib \
1394 maybe-installcheck-gdb \
1395 maybe-installcheck-expect \
1396 maybe-installcheck-guile \
1397 maybe-installcheck-tk \
1398 maybe-installcheck-libtermcap \
1399 maybe-installcheck-utils \
1400 maybe-installcheck-gnattools
1402 .PHONY: installcheck-target
1403 installcheck-target: \
1404 maybe-installcheck-target-libstdc++-v3 \
1405 maybe-installcheck-target-libmudflap \
1406 maybe-installcheck-target-newlib \
1407 maybe-installcheck-target-libgfortran \
1408 maybe-installcheck-target-libobjc \
1409 maybe-installcheck-target-libtermcap \
1410 maybe-installcheck-target-winsup \
1411 maybe-installcheck-target-libgloss \
1412 maybe-installcheck-target-libiberty \
1413 maybe-installcheck-target-gperf \
1414 maybe-installcheck-target-examples \
1415 maybe-installcheck-target-libffi \
1416 maybe-installcheck-target-libjava \
1417 maybe-installcheck-target-zlib \
1418 maybe-installcheck-target-boehm-gc \
1419 maybe-installcheck-target-qthreads \
1420 maybe-installcheck-target-rda \
1421 maybe-installcheck-target-libada
1423 .PHONY: do-mostlyclean
1424 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1426 .PHONY: mostlyclean-host
1428 maybe-mostlyclean-ash \
1429 maybe-mostlyclean-autoconf \
1430 maybe-mostlyclean-automake \
1431 maybe-mostlyclean-bash \
1432 maybe-mostlyclean-bfd \
1433 maybe-mostlyclean-opcodes \
1434 maybe-mostlyclean-binutils \
1435 maybe-mostlyclean-bison \
1436 maybe-mostlyclean-byacc \
1437 maybe-mostlyclean-bzip2 \
1438 maybe-mostlyclean-dejagnu \
1439 maybe-mostlyclean-diff \
1440 maybe-mostlyclean-dosutils \
1441 maybe-mostlyclean-etc \
1442 maybe-mostlyclean-fastjar \
1443 maybe-mostlyclean-fileutils \
1444 maybe-mostlyclean-findutils \
1445 maybe-mostlyclean-find \
1446 maybe-mostlyclean-fixincludes \
1447 maybe-mostlyclean-flex \
1448 maybe-mostlyclean-gas \
1449 maybe-mostlyclean-gcc \
1450 maybe-mostlyclean-gawk \
1451 maybe-mostlyclean-gettext \
1452 maybe-mostlyclean-gnuserv \
1453 maybe-mostlyclean-gprof \
1454 maybe-mostlyclean-gzip \
1455 maybe-mostlyclean-hello \
1456 maybe-mostlyclean-indent \
1457 maybe-mostlyclean-intl \
1458 maybe-mostlyclean-tcl \
1459 maybe-mostlyclean-itcl \
1460 maybe-mostlyclean-ld \
1461 maybe-mostlyclean-libcpp \
1462 maybe-mostlyclean-libgui \
1463 maybe-mostlyclean-libiberty \
1464 maybe-mostlyclean-libtool \
1465 maybe-mostlyclean-m4 \
1466 maybe-mostlyclean-make \
1467 maybe-mostlyclean-mmalloc \
1468 maybe-mostlyclean-patch \
1469 maybe-mostlyclean-perl \
1470 maybe-mostlyclean-prms \
1471 maybe-mostlyclean-rcs \
1472 maybe-mostlyclean-readline \
1473 maybe-mostlyclean-release \
1474 maybe-mostlyclean-recode \
1475 maybe-mostlyclean-sed \
1476 maybe-mostlyclean-send-pr \
1477 maybe-mostlyclean-shellutils \
1478 maybe-mostlyclean-sid \
1479 maybe-mostlyclean-sim \
1480 maybe-mostlyclean-tar \
1481 maybe-mostlyclean-texinfo \
1482 maybe-mostlyclean-textutils \
1483 maybe-mostlyclean-time \
1484 maybe-mostlyclean-uudecode \
1485 maybe-mostlyclean-wdiff \
1486 maybe-mostlyclean-zip \
1487 maybe-mostlyclean-zlib \
1488 maybe-mostlyclean-gdb \
1489 maybe-mostlyclean-expect \
1490 maybe-mostlyclean-guile \
1491 maybe-mostlyclean-tk \
1492 maybe-mostlyclean-libtermcap \
1493 maybe-mostlyclean-utils \
1494 maybe-mostlyclean-gnattools
1496 .PHONY: mostlyclean-target
1497 mostlyclean-target: \
1498 maybe-mostlyclean-target-libstdc++-v3 \
1499 maybe-mostlyclean-target-libmudflap \
1500 maybe-mostlyclean-target-newlib \
1501 maybe-mostlyclean-target-libgfortran \
1502 maybe-mostlyclean-target-libobjc \
1503 maybe-mostlyclean-target-libtermcap \
1504 maybe-mostlyclean-target-winsup \
1505 maybe-mostlyclean-target-libgloss \
1506 maybe-mostlyclean-target-libiberty \
1507 maybe-mostlyclean-target-gperf \
1508 maybe-mostlyclean-target-examples \
1509 maybe-mostlyclean-target-libffi \
1510 maybe-mostlyclean-target-libjava \
1511 maybe-mostlyclean-target-zlib \
1512 maybe-mostlyclean-target-boehm-gc \
1513 maybe-mostlyclean-target-qthreads \
1514 maybe-mostlyclean-target-rda \
1515 maybe-mostlyclean-target-libada
1518 do-clean: unstage clean-host clean-target stage
1523 maybe-clean-autoconf \
1524 maybe-clean-automake \
1527 maybe-clean-opcodes \
1528 maybe-clean-binutils \
1532 maybe-clean-dejagnu \
1534 maybe-clean-dosutils \
1536 maybe-clean-fastjar \
1537 maybe-clean-fileutils \
1538 maybe-clean-findutils \
1540 maybe-clean-fixincludes \
1545 maybe-clean-gettext \
1546 maybe-clean-gnuserv \
1550 maybe-clean-indent \
1555 maybe-clean-libcpp \
1556 maybe-clean-libgui \
1557 maybe-clean-libiberty \
1558 maybe-clean-libtool \
1561 maybe-clean-mmalloc \
1566 maybe-clean-readline \
1567 maybe-clean-release \
1568 maybe-clean-recode \
1570 maybe-clean-send-pr \
1571 maybe-clean-shellutils \
1575 maybe-clean-texinfo \
1576 maybe-clean-textutils \
1578 maybe-clean-uudecode \
1583 maybe-clean-expect \
1586 maybe-clean-libtermcap \
1588 maybe-clean-gnattools
1590 .PHONY: clean-target
1592 maybe-clean-target-libstdc++-v3 \
1593 maybe-clean-target-libmudflap \
1594 maybe-clean-target-newlib \
1595 maybe-clean-target-libgfortran \
1596 maybe-clean-target-libobjc \
1597 maybe-clean-target-libtermcap \
1598 maybe-clean-target-winsup \
1599 maybe-clean-target-libgloss \
1600 maybe-clean-target-libiberty \
1601 maybe-clean-target-gperf \
1602 maybe-clean-target-examples \
1603 maybe-clean-target-libffi \
1604 maybe-clean-target-libjava \
1605 maybe-clean-target-zlib \
1606 maybe-clean-target-boehm-gc \
1607 maybe-clean-target-qthreads \
1608 maybe-clean-target-rda \
1609 maybe-clean-target-libada
1611 .PHONY: do-distclean
1612 do-distclean: unstage distclean-host distclean-target stage
1614 .PHONY: distclean-host
1616 maybe-distclean-ash \
1617 maybe-distclean-autoconf \
1618 maybe-distclean-automake \
1619 maybe-distclean-bash \
1620 maybe-distclean-bfd \
1621 maybe-distclean-opcodes \
1622 maybe-distclean-binutils \
1623 maybe-distclean-bison \
1624 maybe-distclean-byacc \
1625 maybe-distclean-bzip2 \
1626 maybe-distclean-dejagnu \
1627 maybe-distclean-diff \
1628 maybe-distclean-dosutils \
1629 maybe-distclean-etc \
1630 maybe-distclean-fastjar \
1631 maybe-distclean-fileutils \
1632 maybe-distclean-findutils \
1633 maybe-distclean-find \
1634 maybe-distclean-fixincludes \
1635 maybe-distclean-flex \
1636 maybe-distclean-gas \
1637 maybe-distclean-gcc \
1638 maybe-distclean-gawk \
1639 maybe-distclean-gettext \
1640 maybe-distclean-gnuserv \
1641 maybe-distclean-gprof \
1642 maybe-distclean-gzip \
1643 maybe-distclean-hello \
1644 maybe-distclean-indent \
1645 maybe-distclean-intl \
1646 maybe-distclean-tcl \
1647 maybe-distclean-itcl \
1648 maybe-distclean-ld \
1649 maybe-distclean-libcpp \
1650 maybe-distclean-libgui \
1651 maybe-distclean-libiberty \
1652 maybe-distclean-libtool \
1653 maybe-distclean-m4 \
1654 maybe-distclean-make \
1655 maybe-distclean-mmalloc \
1656 maybe-distclean-patch \
1657 maybe-distclean-perl \
1658 maybe-distclean-prms \
1659 maybe-distclean-rcs \
1660 maybe-distclean-readline \
1661 maybe-distclean-release \
1662 maybe-distclean-recode \
1663 maybe-distclean-sed \
1664 maybe-distclean-send-pr \
1665 maybe-distclean-shellutils \
1666 maybe-distclean-sid \
1667 maybe-distclean-sim \
1668 maybe-distclean-tar \
1669 maybe-distclean-texinfo \
1670 maybe-distclean-textutils \
1671 maybe-distclean-time \
1672 maybe-distclean-uudecode \
1673 maybe-distclean-wdiff \
1674 maybe-distclean-zip \
1675 maybe-distclean-zlib \
1676 maybe-distclean-gdb \
1677 maybe-distclean-expect \
1678 maybe-distclean-guile \
1679 maybe-distclean-tk \
1680 maybe-distclean-libtermcap \
1681 maybe-distclean-utils \
1682 maybe-distclean-gnattools
1684 .PHONY: distclean-target
1686 maybe-distclean-target-libstdc++-v3 \
1687 maybe-distclean-target-libmudflap \
1688 maybe-distclean-target-newlib \
1689 maybe-distclean-target-libgfortran \
1690 maybe-distclean-target-libobjc \
1691 maybe-distclean-target-libtermcap \
1692 maybe-distclean-target-winsup \
1693 maybe-distclean-target-libgloss \
1694 maybe-distclean-target-libiberty \
1695 maybe-distclean-target-gperf \
1696 maybe-distclean-target-examples \
1697 maybe-distclean-target-libffi \
1698 maybe-distclean-target-libjava \
1699 maybe-distclean-target-zlib \
1700 maybe-distclean-target-boehm-gc \
1701 maybe-distclean-target-qthreads \
1702 maybe-distclean-target-rda \
1703 maybe-distclean-target-libada
1705 .PHONY: do-maintainer-clean
1706 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1708 .PHONY: maintainer-clean-host
1709 maintainer-clean-host: \
1710 maybe-maintainer-clean-ash \
1711 maybe-maintainer-clean-autoconf \
1712 maybe-maintainer-clean-automake \
1713 maybe-maintainer-clean-bash \
1714 maybe-maintainer-clean-bfd \
1715 maybe-maintainer-clean-opcodes \
1716 maybe-maintainer-clean-binutils \
1717 maybe-maintainer-clean-bison \
1718 maybe-maintainer-clean-byacc \
1719 maybe-maintainer-clean-bzip2 \
1720 maybe-maintainer-clean-dejagnu \
1721 maybe-maintainer-clean-diff \
1722 maybe-maintainer-clean-dosutils \
1723 maybe-maintainer-clean-etc \
1724 maybe-maintainer-clean-fastjar \
1725 maybe-maintainer-clean-fileutils \
1726 maybe-maintainer-clean-findutils \
1727 maybe-maintainer-clean-find \
1728 maybe-maintainer-clean-fixincludes \
1729 maybe-maintainer-clean-flex \
1730 maybe-maintainer-clean-gas \
1731 maybe-maintainer-clean-gcc \
1732 maybe-maintainer-clean-gawk \
1733 maybe-maintainer-clean-gettext \
1734 maybe-maintainer-clean-gnuserv \
1735 maybe-maintainer-clean-gprof \
1736 maybe-maintainer-clean-gzip \
1737 maybe-maintainer-clean-hello \
1738 maybe-maintainer-clean-indent \
1739 maybe-maintainer-clean-intl \
1740 maybe-maintainer-clean-tcl \
1741 maybe-maintainer-clean-itcl \
1742 maybe-maintainer-clean-ld \
1743 maybe-maintainer-clean-libcpp \
1744 maybe-maintainer-clean-libgui \
1745 maybe-maintainer-clean-libiberty \
1746 maybe-maintainer-clean-libtool \
1747 maybe-maintainer-clean-m4 \
1748 maybe-maintainer-clean-make \
1749 maybe-maintainer-clean-mmalloc \
1750 maybe-maintainer-clean-patch \
1751 maybe-maintainer-clean-perl \
1752 maybe-maintainer-clean-prms \
1753 maybe-maintainer-clean-rcs \
1754 maybe-maintainer-clean-readline \
1755 maybe-maintainer-clean-release \
1756 maybe-maintainer-clean-recode \
1757 maybe-maintainer-clean-sed \
1758 maybe-maintainer-clean-send-pr \
1759 maybe-maintainer-clean-shellutils \
1760 maybe-maintainer-clean-sid \
1761 maybe-maintainer-clean-sim \
1762 maybe-maintainer-clean-tar \
1763 maybe-maintainer-clean-texinfo \
1764 maybe-maintainer-clean-textutils \
1765 maybe-maintainer-clean-time \
1766 maybe-maintainer-clean-uudecode \
1767 maybe-maintainer-clean-wdiff \
1768 maybe-maintainer-clean-zip \
1769 maybe-maintainer-clean-zlib \
1770 maybe-maintainer-clean-gdb \
1771 maybe-maintainer-clean-expect \
1772 maybe-maintainer-clean-guile \
1773 maybe-maintainer-clean-tk \
1774 maybe-maintainer-clean-libtermcap \
1775 maybe-maintainer-clean-utils \
1776 maybe-maintainer-clean-gnattools
1778 .PHONY: maintainer-clean-target
1779 maintainer-clean-target: \
1780 maybe-maintainer-clean-target-libstdc++-v3 \
1781 maybe-maintainer-clean-target-libmudflap \
1782 maybe-maintainer-clean-target-newlib \
1783 maybe-maintainer-clean-target-libgfortran \
1784 maybe-maintainer-clean-target-libobjc \
1785 maybe-maintainer-clean-target-libtermcap \
1786 maybe-maintainer-clean-target-winsup \
1787 maybe-maintainer-clean-target-libgloss \
1788 maybe-maintainer-clean-target-libiberty \
1789 maybe-maintainer-clean-target-gperf \
1790 maybe-maintainer-clean-target-examples \
1791 maybe-maintainer-clean-target-libffi \
1792 maybe-maintainer-clean-target-libjava \
1793 maybe-maintainer-clean-target-zlib \
1794 maybe-maintainer-clean-target-boehm-gc \
1795 maybe-maintainer-clean-target-qthreads \
1796 maybe-maintainer-clean-target-rda \
1797 maybe-maintainer-clean-target-libada
1800 # Here are the targets which correspond to the do-X targets.
1802 .PHONY: info installcheck dvi html install-info
1803 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1804 .PHONY: local-clean local-distclean local-maintainer-clean
1806 installcheck: do-installcheck
1810 # Make sure makeinfo is built before we do a `make info', if we're
1811 # in fact building texinfo.
1812 do-info: maybe-all-texinfo
1814 install-info: do-install-info dir.info
1815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1816 if [ -f dir.info ] ; then \
1817 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1821 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1824 -rm -f Makefile config.status config.cache mh-frag mt-frag
1825 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1826 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1827 rm -rf $(TARGET_SUBDIR); \
1829 -rm -rf $(BUILD_SUBDIR)
1830 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1831 rm -rf $(HOST_SUBDIR); \
1833 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1834 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1835 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1836 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1837 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1839 local-maintainer-clean:
1840 @echo "This command is intended for maintainers to use;"
1841 @echo "it deletes files that may require special tools to rebuild."
1843 clean: do-clean local-clean
1844 mostlyclean: do-mostlyclean local-clean
1845 distclean: do-distclean local-clean local-distclean
1846 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1847 maintainer-clean: local-distclean
1848 realclean: maintainer-clean
1850 # Extra dependency for clean-target, owing to the mixed nature of gcc
1851 clean-target: clean-target-libgcc
1852 clean-target-libgcc:
1853 test ! -d gcc/libgcc || \
1854 (cd gcc/libgcc && find . -type d -print) | \
1855 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1857 -rm -f gcc/stmp-dirs
1861 .PHONY: check do-check
1864 # Only include modules actually being configured and built.
1867 maybe-check-autoconf \
1868 maybe-check-automake \
1871 maybe-check-opcodes \
1872 maybe-check-binutils \
1876 maybe-check-dejagnu \
1878 maybe-check-dosutils \
1880 maybe-check-fastjar \
1881 maybe-check-fileutils \
1882 maybe-check-findutils \
1884 maybe-check-fixincludes \
1889 maybe-check-gettext \
1890 maybe-check-gnuserv \
1894 maybe-check-indent \
1899 maybe-check-libcpp \
1900 maybe-check-libgui \
1901 maybe-check-libiberty \
1902 maybe-check-libtool \
1905 maybe-check-mmalloc \
1910 maybe-check-readline \
1911 maybe-check-release \
1912 maybe-check-recode \
1914 maybe-check-send-pr \
1915 maybe-check-shellutils \
1919 maybe-check-texinfo \
1920 maybe-check-textutils \
1922 maybe-check-uudecode \
1927 maybe-check-expect \
1930 maybe-check-libtermcap \
1932 maybe-check-gnattools \
1933 maybe-check-target-libstdc++-v3 \
1934 maybe-check-target-libmudflap \
1935 maybe-check-target-newlib \
1936 maybe-check-target-libgfortran \
1937 maybe-check-target-libobjc \
1938 maybe-check-target-libtermcap \
1939 maybe-check-target-winsup \
1940 maybe-check-target-libgloss \
1941 maybe-check-target-libiberty \
1942 maybe-check-target-gperf \
1943 maybe-check-target-examples \
1944 maybe-check-target-libffi \
1945 maybe-check-target-libjava \
1946 maybe-check-target-zlib \
1947 maybe-check-target-boehm-gc \
1948 maybe-check-target-qthreads \
1949 maybe-check-target-rda \
1950 maybe-check-target-libada stage
1952 # Automated reporting of test results.
1954 warning.log: build.log
1955 $(srcdir)/contrib/warn_summary build.log > $@
1958 if test x'$(BOOT_CFLAGS)' != x''; then \
1959 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1961 $(srcdir)/contrib/test_summary -t >$@
1963 echo If you really want to send e-mail, run ./$@ now
1965 mail-report-with-warnings.log: warning.log
1966 if test x'$(BOOT_CFLAGS)' != x''; then \
1967 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1969 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1971 echo If you really want to send e-mail, run ./$@ now
1973 # Installation targets.
1975 .PHONY: install uninstall
1976 install: installdirs install-host install-target
1978 .PHONY: install-host-nogcc
1979 install-host-nogcc: \
1981 maybe-install-autoconf \
1982 maybe-install-automake \
1983 maybe-install-bash \
1985 maybe-install-opcodes \
1986 maybe-install-binutils \
1987 maybe-install-bison \
1988 maybe-install-byacc \
1989 maybe-install-bzip2 \
1990 maybe-install-dejagnu \
1991 maybe-install-diff \
1992 maybe-install-dosutils \
1994 maybe-install-fastjar \
1995 maybe-install-fileutils \
1996 maybe-install-findutils \
1997 maybe-install-find \
1998 maybe-install-fixincludes \
1999 maybe-install-flex \
2001 maybe-install-gawk \
2002 maybe-install-gettext \
2003 maybe-install-gnuserv \
2004 maybe-install-gprof \
2005 maybe-install-gzip \
2006 maybe-install-hello \
2007 maybe-install-indent \
2008 maybe-install-intl \
2010 maybe-install-itcl \
2012 maybe-install-libcpp \
2013 maybe-install-libgui \
2014 maybe-install-libiberty \
2015 maybe-install-libtool \
2017 maybe-install-make \
2018 maybe-install-mmalloc \
2019 maybe-install-patch \
2020 maybe-install-perl \
2021 maybe-install-prms \
2023 maybe-install-readline \
2024 maybe-install-release \
2025 maybe-install-recode \
2027 maybe-install-send-pr \
2028 maybe-install-shellutils \
2032 maybe-install-texinfo \
2033 maybe-install-textutils \
2034 maybe-install-time \
2035 maybe-install-uudecode \
2036 maybe-install-wdiff \
2038 maybe-install-zlib \
2040 maybe-install-expect \
2041 maybe-install-guile \
2043 maybe-install-libtermcap \
2044 maybe-install-utils \
2045 maybe-install-gnattools
2047 .PHONY: install-host
2050 maybe-install-autoconf \
2051 maybe-install-automake \
2052 maybe-install-bash \
2054 maybe-install-opcodes \
2055 maybe-install-binutils \
2056 maybe-install-bison \
2057 maybe-install-byacc \
2058 maybe-install-bzip2 \
2059 maybe-install-dejagnu \
2060 maybe-install-diff \
2061 maybe-install-dosutils \
2063 maybe-install-fastjar \
2064 maybe-install-fileutils \
2065 maybe-install-findutils \
2066 maybe-install-find \
2067 maybe-install-fixincludes \
2068 maybe-install-flex \
2071 maybe-install-gawk \
2072 maybe-install-gettext \
2073 maybe-install-gnuserv \
2074 maybe-install-gprof \
2075 maybe-install-gzip \
2076 maybe-install-hello \
2077 maybe-install-indent \
2078 maybe-install-intl \
2080 maybe-install-itcl \
2082 maybe-install-libcpp \
2083 maybe-install-libgui \
2084 maybe-install-libiberty \
2085 maybe-install-libtool \
2087 maybe-install-make \
2088 maybe-install-mmalloc \
2089 maybe-install-patch \
2090 maybe-install-perl \
2091 maybe-install-prms \
2093 maybe-install-readline \
2094 maybe-install-release \
2095 maybe-install-recode \
2097 maybe-install-send-pr \
2098 maybe-install-shellutils \
2102 maybe-install-texinfo \
2103 maybe-install-textutils \
2104 maybe-install-time \
2105 maybe-install-uudecode \
2106 maybe-install-wdiff \
2108 maybe-install-zlib \
2110 maybe-install-expect \
2111 maybe-install-guile \
2113 maybe-install-libtermcap \
2114 maybe-install-utils \
2115 maybe-install-gnattools
2117 .PHONY: install-target
2119 maybe-install-target-libstdc++-v3 \
2120 maybe-install-target-libmudflap \
2121 maybe-install-target-newlib \
2122 maybe-install-target-libgfortran \
2123 maybe-install-target-libobjc \
2124 maybe-install-target-libtermcap \
2125 maybe-install-target-winsup \
2126 maybe-install-target-libgloss \
2127 maybe-install-target-libiberty \
2128 maybe-install-target-gperf \
2129 maybe-install-target-examples \
2130 maybe-install-target-libffi \
2131 maybe-install-target-libjava \
2132 maybe-install-target-zlib \
2133 maybe-install-target-boehm-gc \
2134 maybe-install-target-qthreads \
2135 maybe-install-target-rda \
2136 maybe-install-target-libada
2139 @echo "the uninstall target is not supported in this tree"
2142 install.all: install-no-fixedincludes
2143 @if [ -f ./gcc/Makefile ] ; then \
2144 r=`${PWD_COMMAND}` ; export r ; \
2147 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2152 # install-no-fixedincludes is used because Cygnus can not distribute
2153 # the fixed header files.
2154 .PHONY: install-no-fixedincludes
2155 install-no-fixedincludes: installdirs install-host-nogcc \
2156 install-target gcc-no-fixedincludes
2158 ### other supporting targets
2161 $(DESTDIR)$(prefix) \
2162 $(DESTDIR)$(exec_prefix)
2164 installdirs: mkinstalldirs
2165 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2167 dir.info: do-install-info
2168 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2169 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2170 mv -f dir.info.new dir.info ; \
2175 @echo "Building a full distribution of this tree isn't done"
2176 @echo "via 'make dist'. Check out the etc/ subdirectory"
2180 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2181 # ability to use several tags files at once, so there is probably no need
2182 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2183 # (if we felt like it) have this Makefile write a piece of elisp which
2184 # the user could load to tell emacs19 where all the TAGS files we just
2188 # --------------------------------------
2189 # Modules which run on the build machine
2190 # --------------------------------------
2192 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2193 maybe-configure-build-libiberty:
2195 maybe-configure-build-libiberty: configure-build-libiberty
2196 configure-build-libiberty:
2197 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2198 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2199 r=`${PWD_COMMAND}`; export r; \
2200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2202 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2203 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2206 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2209 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2210 libsrcdir="$$s/libiberty"; \
2211 rm -f no-such-file || : ; \
2212 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2213 $(BUILD_CONFIGARGS) $${srcdiroption} \
2214 --with-build-subdir="$(BUILD_SUBDIR)" \
2216 @endif build-libiberty
2218 .PHONY: all-build-libiberty maybe-all-build-libiberty
2219 maybe-all-build-libiberty:
2221 TARGET-build-libiberty=all
2222 maybe-all-build-libiberty: all-build-libiberty
2223 all-build-libiberty: configure-build-libiberty
2224 @r=`${PWD_COMMAND}`; export r; \
2225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2227 (cd $(BUILD_SUBDIR)/libiberty && \
2228 $(MAKE) $(TARGET-build-libiberty))
2229 @endif build-libiberty
2231 .PHONY: configure-build-bison maybe-configure-build-bison
2232 maybe-configure-build-bison:
2234 maybe-configure-build-bison: configure-build-bison
2235 configure-build-bison:
2236 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2237 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2238 r=`${PWD_COMMAND}`; export r; \
2239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2241 echo Configuring in $(BUILD_SUBDIR)/bison; \
2242 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2245 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2248 srcdiroption="--srcdir=$${topdir}/bison"; \
2249 libsrcdir="$$s/bison"; \
2250 rm -f no-such-file || : ; \
2251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2252 $(BUILD_CONFIGARGS) $${srcdiroption} \
2253 --with-build-subdir="$(BUILD_SUBDIR)" \
2257 .PHONY: all-build-bison maybe-all-build-bison
2258 maybe-all-build-bison:
2260 TARGET-build-bison=all
2261 maybe-all-build-bison: all-build-bison
2262 all-build-bison: configure-build-bison
2263 @r=`${PWD_COMMAND}`; export r; \
2264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2266 (cd $(BUILD_SUBDIR)/bison && \
2267 $(MAKE) $(TARGET-build-bison))
2270 .PHONY: configure-build-byacc maybe-configure-build-byacc
2271 maybe-configure-build-byacc:
2273 maybe-configure-build-byacc: configure-build-byacc
2274 configure-build-byacc:
2275 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2276 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2277 r=`${PWD_COMMAND}`; export r; \
2278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2280 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2281 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2284 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2287 srcdiroption="--srcdir=$${topdir}/byacc"; \
2288 libsrcdir="$$s/byacc"; \
2289 rm -f no-such-file || : ; \
2290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2291 $(BUILD_CONFIGARGS) $${srcdiroption} \
2292 --with-build-subdir="$(BUILD_SUBDIR)" \
2296 .PHONY: all-build-byacc maybe-all-build-byacc
2297 maybe-all-build-byacc:
2299 TARGET-build-byacc=all
2300 maybe-all-build-byacc: all-build-byacc
2301 all-build-byacc: configure-build-byacc
2302 @r=`${PWD_COMMAND}`; export r; \
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305 (cd $(BUILD_SUBDIR)/byacc && \
2306 $(MAKE) $(TARGET-build-byacc))
2309 .PHONY: configure-build-flex maybe-configure-build-flex
2310 maybe-configure-build-flex:
2312 maybe-configure-build-flex: configure-build-flex
2313 configure-build-flex:
2314 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2315 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2316 r=`${PWD_COMMAND}`; export r; \
2317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2319 echo Configuring in $(BUILD_SUBDIR)/flex; \
2320 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2323 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2326 srcdiroption="--srcdir=$${topdir}/flex"; \
2327 libsrcdir="$$s/flex"; \
2328 rm -f no-such-file || : ; \
2329 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2330 $(BUILD_CONFIGARGS) $${srcdiroption} \
2331 --with-build-subdir="$(BUILD_SUBDIR)" \
2335 .PHONY: all-build-flex maybe-all-build-flex
2336 maybe-all-build-flex:
2338 TARGET-build-flex=all
2339 maybe-all-build-flex: all-build-flex
2340 all-build-flex: configure-build-flex
2341 @r=`${PWD_COMMAND}`; export r; \
2342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2344 (cd $(BUILD_SUBDIR)/flex && \
2345 $(MAKE) $(TARGET-build-flex))
2348 .PHONY: configure-build-m4 maybe-configure-build-m4
2349 maybe-configure-build-m4:
2351 maybe-configure-build-m4: configure-build-m4
2353 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2354 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2355 r=`${PWD_COMMAND}`; export r; \
2356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2358 echo Configuring in $(BUILD_SUBDIR)/m4; \
2359 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2362 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2365 srcdiroption="--srcdir=$${topdir}/m4"; \
2366 libsrcdir="$$s/m4"; \
2367 rm -f no-such-file || : ; \
2368 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2369 $(BUILD_CONFIGARGS) $${srcdiroption} \
2370 --with-build-subdir="$(BUILD_SUBDIR)" \
2374 .PHONY: all-build-m4 maybe-all-build-m4
2378 maybe-all-build-m4: all-build-m4
2379 all-build-m4: configure-build-m4
2380 @r=`${PWD_COMMAND}`; export r; \
2381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2383 (cd $(BUILD_SUBDIR)/m4 && \
2384 $(MAKE) $(TARGET-build-m4))
2387 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2388 maybe-configure-build-texinfo:
2390 maybe-configure-build-texinfo: configure-build-texinfo
2391 configure-build-texinfo:
2392 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2393 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2394 r=`${PWD_COMMAND}`; export r; \
2395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2397 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2398 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2401 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2404 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2405 libsrcdir="$$s/texinfo"; \
2406 rm -f no-such-file || : ; \
2407 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2408 $(BUILD_CONFIGARGS) $${srcdiroption} \
2409 --with-build-subdir="$(BUILD_SUBDIR)" \
2411 @endif build-texinfo
2413 .PHONY: all-build-texinfo maybe-all-build-texinfo
2414 maybe-all-build-texinfo:
2416 TARGET-build-texinfo=all
2417 maybe-all-build-texinfo: all-build-texinfo
2418 all-build-texinfo: configure-build-texinfo
2419 @r=`${PWD_COMMAND}`; export r; \
2420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 (cd $(BUILD_SUBDIR)/texinfo && \
2423 $(MAKE) $(TARGET-build-texinfo))
2424 @endif build-texinfo
2426 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2427 maybe-configure-build-fixincludes:
2428 @if build-fixincludes
2429 maybe-configure-build-fixincludes: configure-build-fixincludes
2430 configure-build-fixincludes:
2431 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2432 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2433 r=`${PWD_COMMAND}`; export r; \
2434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2436 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2437 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2440 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2443 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2444 libsrcdir="$$s/fixincludes"; \
2445 rm -f no-such-file || : ; \
2446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2447 $(BUILD_CONFIGARGS) $${srcdiroption} \
2448 --with-build-subdir="$(BUILD_SUBDIR)" \
2450 @endif build-fixincludes
2452 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2453 maybe-all-build-fixincludes:
2454 @if build-fixincludes
2455 TARGET-build-fixincludes=all
2456 maybe-all-build-fixincludes: all-build-fixincludes
2457 all-build-fixincludes: configure-build-fixincludes
2458 @r=`${PWD_COMMAND}`; export r; \
2459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2461 (cd $(BUILD_SUBDIR)/fixincludes && \
2462 $(MAKE) $(TARGET-build-fixincludes))
2463 @endif build-fixincludes
2466 # --------------------------------------
2467 # Modules which run on the host machine
2468 # --------------------------------------
2470 .PHONY: configure-ash maybe-configure-ash
2471 maybe-configure-ash:
2473 maybe-configure-ash: configure-ash
2475 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2477 r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2480 echo Configuring in ash; \
2481 cd $(HOST_SUBDIR)/ash || exit 1; \
2483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2484 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2487 srcdiroption="--srcdir=$${topdir}/ash"; \
2488 libsrcdir="$$s/ash"; \
2489 $(SHELL) $${libsrcdir}/configure \
2490 $(HOST_CONFIGARGS) $${srcdiroption} \
2494 .PHONY: all-ash maybe-all-ash
2498 maybe-all-ash: all-ash
2499 all-ash: configure-ash
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2503 (cd $(HOST_SUBDIR)/ash && \
2504 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2507 .PHONY: check-ash maybe-check-ash
2510 maybe-check-ash: check-ash
2513 @r=`${PWD_COMMAND}`; export r; \
2514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2516 (cd $(HOST_SUBDIR)/ash && \
2517 $(MAKE) $(FLAGS_TO_PASS) check)
2521 .PHONY: install-ash maybe-install-ash
2524 maybe-install-ash: install-ash
2526 install-ash: installdirs
2527 @r=`${PWD_COMMAND}`; export r; \
2528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2530 (cd $(HOST_SUBDIR)/ash && \
2531 $(MAKE) $(FLAGS_TO_PASS) install)
2535 # Other targets (info, dvi, etc.)
2537 .PHONY: maybe-info-ash info-ash
2540 maybe-info-ash: info-ash
2544 @[ -f ./ash/Makefile ] || exit 0; \
2545 r=`${PWD_COMMAND}`; export r; \
2546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 for flag in $(EXTRA_HOST_FLAGS) ; do \
2549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2551 echo "Doing info in ash" ; \
2552 (cd $(HOST_SUBDIR)/ash && \
2553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2555 "RANLIB=$${RANLIB}" \
2556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2562 .PHONY: maybe-dvi-ash dvi-ash
2565 maybe-dvi-ash: dvi-ash
2569 @[ -f ./ash/Makefile ] || exit 0; \
2570 r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2573 for flag in $(EXTRA_HOST_FLAGS) ; do \
2574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2576 echo "Doing dvi in ash" ; \
2577 (cd $(HOST_SUBDIR)/ash && \
2578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2580 "RANLIB=$${RANLIB}" \
2581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2587 .PHONY: maybe-html-ash html-ash
2590 maybe-html-ash: html-ash
2594 @[ -f ./ash/Makefile ] || exit 0; \
2595 r=`${PWD_COMMAND}`; export r; \
2596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2598 for flag in $(EXTRA_HOST_FLAGS) ; do \
2599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2601 echo "Doing html in ash" ; \
2602 (cd $(HOST_SUBDIR)/ash && \
2603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2605 "RANLIB=$${RANLIB}" \
2606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2612 .PHONY: maybe-TAGS-ash TAGS-ash
2615 maybe-TAGS-ash: TAGS-ash
2619 @[ -f ./ash/Makefile ] || exit 0; \
2620 r=`${PWD_COMMAND}`; export r; \
2621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623 for flag in $(EXTRA_HOST_FLAGS) ; do \
2624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2626 echo "Doing TAGS in ash" ; \
2627 (cd $(HOST_SUBDIR)/ash && \
2628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2630 "RANLIB=$${RANLIB}" \
2631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2637 .PHONY: maybe-install-info-ash install-info-ash
2638 maybe-install-info-ash:
2640 maybe-install-info-ash: install-info-ash
2645 @[ -f ./ash/Makefile ] || exit 0; \
2646 r=`${PWD_COMMAND}`; export r; \
2647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2649 for flag in $(EXTRA_HOST_FLAGS) ; do \
2650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2652 echo "Doing install-info in ash" ; \
2653 (cd $(HOST_SUBDIR)/ash && \
2654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2656 "RANLIB=$${RANLIB}" \
2657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2663 .PHONY: maybe-installcheck-ash installcheck-ash
2664 maybe-installcheck-ash:
2666 maybe-installcheck-ash: installcheck-ash
2670 @[ -f ./ash/Makefile ] || exit 0; \
2671 r=`${PWD_COMMAND}`; export r; \
2672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 for flag in $(EXTRA_HOST_FLAGS) ; do \
2675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2677 echo "Doing installcheck in ash" ; \
2678 (cd $(HOST_SUBDIR)/ash && \
2679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2681 "RANLIB=$${RANLIB}" \
2682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2688 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2689 maybe-mostlyclean-ash:
2691 maybe-mostlyclean-ash: mostlyclean-ash
2694 @[ -f ./ash/Makefile ] || exit 0; \
2695 r=`${PWD_COMMAND}`; export r; \
2696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2698 for flag in $(EXTRA_HOST_FLAGS) ; do \
2699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2701 echo "Doing mostlyclean in ash" ; \
2702 (cd $(HOST_SUBDIR)/ash && \
2703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2705 "RANLIB=$${RANLIB}" \
2706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2712 .PHONY: maybe-clean-ash clean-ash
2715 maybe-clean-ash: clean-ash
2718 @[ -f ./ash/Makefile ] || exit 0; \
2719 r=`${PWD_COMMAND}`; export r; \
2720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2722 for flag in $(EXTRA_HOST_FLAGS) ; do \
2723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2725 echo "Doing clean in ash" ; \
2726 (cd $(HOST_SUBDIR)/ash && \
2727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729 "RANLIB=$${RANLIB}" \
2730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2736 .PHONY: maybe-distclean-ash distclean-ash
2737 maybe-distclean-ash:
2739 maybe-distclean-ash: distclean-ash
2742 @[ -f ./ash/Makefile ] || exit 0; \
2743 r=`${PWD_COMMAND}`; export r; \
2744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2746 for flag in $(EXTRA_HOST_FLAGS) ; do \
2747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2749 echo "Doing distclean in ash" ; \
2750 (cd $(HOST_SUBDIR)/ash && \
2751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2753 "RANLIB=$${RANLIB}" \
2754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2760 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2761 maybe-maintainer-clean-ash:
2763 maybe-maintainer-clean-ash: maintainer-clean-ash
2765 maintainer-clean-ash:
2766 @[ -f ./ash/Makefile ] || exit 0; \
2767 r=`${PWD_COMMAND}`; export r; \
2768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2770 for flag in $(EXTRA_HOST_FLAGS) ; do \
2771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2773 echo "Doing maintainer-clean in ash" ; \
2774 (cd $(HOST_SUBDIR)/ash && \
2775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2777 "RANLIB=$${RANLIB}" \
2778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2785 .PHONY: configure-autoconf maybe-configure-autoconf
2786 maybe-configure-autoconf:
2788 maybe-configure-autoconf: configure-autoconf
2790 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2792 r=`${PWD_COMMAND}`; export r; \
2793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2795 echo Configuring in autoconf; \
2796 cd $(HOST_SUBDIR)/autoconf || exit 1; \
2798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2799 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2802 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2803 libsrcdir="$$s/autoconf"; \
2804 $(SHELL) $${libsrcdir}/configure \
2805 $(HOST_CONFIGARGS) $${srcdiroption} \
2809 .PHONY: all-autoconf maybe-all-autoconf
2813 maybe-all-autoconf: all-autoconf
2814 all-autoconf: configure-autoconf
2815 @r=`${PWD_COMMAND}`; export r; \
2816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 (cd $(HOST_SUBDIR)/autoconf && \
2819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2822 .PHONY: check-autoconf maybe-check-autoconf
2823 maybe-check-autoconf:
2825 maybe-check-autoconf: check-autoconf
2828 @r=`${PWD_COMMAND}`; export r; \
2829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2831 (cd $(HOST_SUBDIR)/autoconf && \
2832 $(MAKE) $(FLAGS_TO_PASS) check)
2836 .PHONY: install-autoconf maybe-install-autoconf
2837 maybe-install-autoconf:
2839 maybe-install-autoconf: install-autoconf
2841 install-autoconf: installdirs
2842 @r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 (cd $(HOST_SUBDIR)/autoconf && \
2846 $(MAKE) $(FLAGS_TO_PASS) install)
2850 # Other targets (info, dvi, etc.)
2852 .PHONY: maybe-info-autoconf info-autoconf
2853 maybe-info-autoconf:
2855 maybe-info-autoconf: info-autoconf
2859 @[ -f ./autoconf/Makefile ] || exit 0; \
2860 r=`${PWD_COMMAND}`; export r; \
2861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2863 for flag in $(EXTRA_HOST_FLAGS) ; do \
2864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2866 echo "Doing info in autoconf" ; \
2867 (cd $(HOST_SUBDIR)/autoconf && \
2868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2870 "RANLIB=$${RANLIB}" \
2871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2877 .PHONY: maybe-dvi-autoconf dvi-autoconf
2880 maybe-dvi-autoconf: dvi-autoconf
2884 @[ -f ./autoconf/Makefile ] || exit 0; \
2885 r=`${PWD_COMMAND}`; export r; \
2886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2888 for flag in $(EXTRA_HOST_FLAGS) ; do \
2889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2891 echo "Doing dvi in autoconf" ; \
2892 (cd $(HOST_SUBDIR)/autoconf && \
2893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2895 "RANLIB=$${RANLIB}" \
2896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2902 .PHONY: maybe-html-autoconf html-autoconf
2903 maybe-html-autoconf:
2905 maybe-html-autoconf: html-autoconf
2909 @[ -f ./autoconf/Makefile ] || exit 0; \
2910 r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2913 for flag in $(EXTRA_HOST_FLAGS) ; do \
2914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2916 echo "Doing html in autoconf" ; \
2917 (cd $(HOST_SUBDIR)/autoconf && \
2918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2920 "RANLIB=$${RANLIB}" \
2921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2927 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2928 maybe-TAGS-autoconf:
2930 maybe-TAGS-autoconf: TAGS-autoconf
2934 @[ -f ./autoconf/Makefile ] || exit 0; \
2935 r=`${PWD_COMMAND}`; export r; \
2936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2938 for flag in $(EXTRA_HOST_FLAGS) ; do \
2939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2941 echo "Doing TAGS in autoconf" ; \
2942 (cd $(HOST_SUBDIR)/autoconf && \
2943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2945 "RANLIB=$${RANLIB}" \
2946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2952 .PHONY: maybe-install-info-autoconf install-info-autoconf
2953 maybe-install-info-autoconf:
2955 maybe-install-info-autoconf: install-info-autoconf
2957 install-info-autoconf: \
2958 configure-autoconf \
2960 @[ -f ./autoconf/Makefile ] || exit 0; \
2961 r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2964 for flag in $(EXTRA_HOST_FLAGS) ; do \
2965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2967 echo "Doing install-info in autoconf" ; \
2968 (cd $(HOST_SUBDIR)/autoconf && \
2969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2971 "RANLIB=$${RANLIB}" \
2972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2978 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2979 maybe-installcheck-autoconf:
2981 maybe-installcheck-autoconf: installcheck-autoconf
2983 installcheck-autoconf: \
2985 @[ -f ./autoconf/Makefile ] || exit 0; \
2986 r=`${PWD_COMMAND}`; export r; \
2987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2989 for flag in $(EXTRA_HOST_FLAGS) ; do \
2990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2992 echo "Doing installcheck in autoconf" ; \
2993 (cd $(HOST_SUBDIR)/autoconf && \
2994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2996 "RANLIB=$${RANLIB}" \
2997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3003 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3004 maybe-mostlyclean-autoconf:
3006 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3008 mostlyclean-autoconf:
3009 @[ -f ./autoconf/Makefile ] || exit 0; \
3010 r=`${PWD_COMMAND}`; export r; \
3011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3013 for flag in $(EXTRA_HOST_FLAGS) ; do \
3014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3016 echo "Doing mostlyclean in autoconf" ; \
3017 (cd $(HOST_SUBDIR)/autoconf && \
3018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3020 "RANLIB=$${RANLIB}" \
3021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3027 .PHONY: maybe-clean-autoconf clean-autoconf
3028 maybe-clean-autoconf:
3030 maybe-clean-autoconf: clean-autoconf
3033 @[ -f ./autoconf/Makefile ] || exit 0; \
3034 r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3037 for flag in $(EXTRA_HOST_FLAGS) ; do \
3038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3040 echo "Doing clean in autoconf" ; \
3041 (cd $(HOST_SUBDIR)/autoconf && \
3042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3044 "RANLIB=$${RANLIB}" \
3045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3051 .PHONY: maybe-distclean-autoconf distclean-autoconf
3052 maybe-distclean-autoconf:
3054 maybe-distclean-autoconf: distclean-autoconf
3057 @[ -f ./autoconf/Makefile ] || exit 0; \
3058 r=`${PWD_COMMAND}`; export r; \
3059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3061 for flag in $(EXTRA_HOST_FLAGS) ; do \
3062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3064 echo "Doing distclean in autoconf" ; \
3065 (cd $(HOST_SUBDIR)/autoconf && \
3066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3068 "RANLIB=$${RANLIB}" \
3069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3075 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3076 maybe-maintainer-clean-autoconf:
3078 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3080 maintainer-clean-autoconf:
3081 @[ -f ./autoconf/Makefile ] || exit 0; \
3082 r=`${PWD_COMMAND}`; export r; \
3083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3085 for flag in $(EXTRA_HOST_FLAGS) ; do \
3086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3088 echo "Doing maintainer-clean in autoconf" ; \
3089 (cd $(HOST_SUBDIR)/autoconf && \
3090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3092 "RANLIB=$${RANLIB}" \
3093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3100 .PHONY: configure-automake maybe-configure-automake
3101 maybe-configure-automake:
3103 maybe-configure-automake: configure-automake
3105 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3107 r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3110 echo Configuring in automake; \
3111 cd $(HOST_SUBDIR)/automake || exit 1; \
3113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3114 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3117 srcdiroption="--srcdir=$${topdir}/automake"; \
3118 libsrcdir="$$s/automake"; \
3119 $(SHELL) $${libsrcdir}/configure \
3120 $(HOST_CONFIGARGS) $${srcdiroption} \
3124 .PHONY: all-automake maybe-all-automake
3128 maybe-all-automake: all-automake
3129 all-automake: configure-automake
3130 @r=`${PWD_COMMAND}`; export r; \
3131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133 (cd $(HOST_SUBDIR)/automake && \
3134 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3137 .PHONY: check-automake maybe-check-automake
3138 maybe-check-automake:
3140 maybe-check-automake: check-automake
3143 @r=`${PWD_COMMAND}`; export r; \
3144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 (cd $(HOST_SUBDIR)/automake && \
3147 $(MAKE) $(FLAGS_TO_PASS) check)
3151 .PHONY: install-automake maybe-install-automake
3152 maybe-install-automake:
3154 maybe-install-automake: install-automake
3156 install-automake: installdirs
3157 @r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 (cd $(HOST_SUBDIR)/automake && \
3161 $(MAKE) $(FLAGS_TO_PASS) install)
3165 # Other targets (info, dvi, etc.)
3167 .PHONY: maybe-info-automake info-automake
3168 maybe-info-automake:
3170 maybe-info-automake: info-automake
3174 @[ -f ./automake/Makefile ] || exit 0; \
3175 r=`${PWD_COMMAND}`; export r; \
3176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 for flag in $(EXTRA_HOST_FLAGS) ; do \
3179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3181 echo "Doing info in automake" ; \
3182 (cd $(HOST_SUBDIR)/automake && \
3183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3185 "RANLIB=$${RANLIB}" \
3186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3192 .PHONY: maybe-dvi-automake dvi-automake
3195 maybe-dvi-automake: dvi-automake
3199 @[ -f ./automake/Makefile ] || exit 0; \
3200 r=`${PWD_COMMAND}`; export r; \
3201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3203 for flag in $(EXTRA_HOST_FLAGS) ; do \
3204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3206 echo "Doing dvi in automake" ; \
3207 (cd $(HOST_SUBDIR)/automake && \
3208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3210 "RANLIB=$${RANLIB}" \
3211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3217 .PHONY: maybe-html-automake html-automake
3218 maybe-html-automake:
3220 maybe-html-automake: html-automake
3224 @[ -f ./automake/Makefile ] || exit 0; \
3225 r=`${PWD_COMMAND}`; export r; \
3226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3228 for flag in $(EXTRA_HOST_FLAGS) ; do \
3229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3231 echo "Doing html in automake" ; \
3232 (cd $(HOST_SUBDIR)/automake && \
3233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3235 "RANLIB=$${RANLIB}" \
3236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3242 .PHONY: maybe-TAGS-automake TAGS-automake
3243 maybe-TAGS-automake:
3245 maybe-TAGS-automake: TAGS-automake
3249 @[ -f ./automake/Makefile ] || exit 0; \
3250 r=`${PWD_COMMAND}`; export r; \
3251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3253 for flag in $(EXTRA_HOST_FLAGS) ; do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3256 echo "Doing TAGS in automake" ; \
3257 (cd $(HOST_SUBDIR)/automake && \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3267 .PHONY: maybe-install-info-automake install-info-automake
3268 maybe-install-info-automake:
3270 maybe-install-info-automake: install-info-automake
3272 install-info-automake: \
3273 configure-automake \
3275 @[ -f ./automake/Makefile ] || exit 0; \
3276 r=`${PWD_COMMAND}`; export r; \
3277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3279 for flag in $(EXTRA_HOST_FLAGS) ; do \
3280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3282 echo "Doing install-info in automake" ; \
3283 (cd $(HOST_SUBDIR)/automake && \
3284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3286 "RANLIB=$${RANLIB}" \
3287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3293 .PHONY: maybe-installcheck-automake installcheck-automake
3294 maybe-installcheck-automake:
3296 maybe-installcheck-automake: installcheck-automake
3298 installcheck-automake: \
3300 @[ -f ./automake/Makefile ] || exit 0; \
3301 r=`${PWD_COMMAND}`; export r; \
3302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3304 for flag in $(EXTRA_HOST_FLAGS) ; do \
3305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3307 echo "Doing installcheck in automake" ; \
3308 (cd $(HOST_SUBDIR)/automake && \
3309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3311 "RANLIB=$${RANLIB}" \
3312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3318 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3319 maybe-mostlyclean-automake:
3321 maybe-mostlyclean-automake: mostlyclean-automake
3323 mostlyclean-automake:
3324 @[ -f ./automake/Makefile ] || exit 0; \
3325 r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3331 echo "Doing mostlyclean in automake" ; \
3332 (cd $(HOST_SUBDIR)/automake && \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3342 .PHONY: maybe-clean-automake clean-automake
3343 maybe-clean-automake:
3345 maybe-clean-automake: clean-automake
3348 @[ -f ./automake/Makefile ] || exit 0; \
3349 r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3352 for flag in $(EXTRA_HOST_FLAGS) ; do \
3353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3355 echo "Doing clean in automake" ; \
3356 (cd $(HOST_SUBDIR)/automake && \
3357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3359 "RANLIB=$${RANLIB}" \
3360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3366 .PHONY: maybe-distclean-automake distclean-automake
3367 maybe-distclean-automake:
3369 maybe-distclean-automake: distclean-automake
3372 @[ -f ./automake/Makefile ] || exit 0; \
3373 r=`${PWD_COMMAND}`; export r; \
3374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 for flag in $(EXTRA_HOST_FLAGS) ; do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3379 echo "Doing distclean in automake" ; \
3380 (cd $(HOST_SUBDIR)/automake && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3391 maybe-maintainer-clean-automake:
3393 maybe-maintainer-clean-automake: maintainer-clean-automake
3395 maintainer-clean-automake:
3396 @[ -f ./automake/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 for flag in $(EXTRA_HOST_FLAGS) ; do \
3401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 echo "Doing maintainer-clean in automake" ; \
3404 (cd $(HOST_SUBDIR)/automake && \
3405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407 "RANLIB=$${RANLIB}" \
3408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 .PHONY: configure-bash maybe-configure-bash
3416 maybe-configure-bash:
3418 maybe-configure-bash: configure-bash
3420 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3422 r=`${PWD_COMMAND}`; export r; \
3423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 echo Configuring in bash; \
3426 cd $(HOST_SUBDIR)/bash || exit 1; \
3428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3429 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3432 srcdiroption="--srcdir=$${topdir}/bash"; \
3433 libsrcdir="$$s/bash"; \
3434 $(SHELL) $${libsrcdir}/configure \
3435 $(HOST_CONFIGARGS) $${srcdiroption} \
3439 .PHONY: all-bash maybe-all-bash
3443 maybe-all-bash: all-bash
3444 all-bash: configure-bash
3445 @r=`${PWD_COMMAND}`; export r; \
3446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3448 (cd $(HOST_SUBDIR)/bash && \
3449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3452 .PHONY: check-bash maybe-check-bash
3455 maybe-check-bash: check-bash
3458 @r=`${PWD_COMMAND}`; export r; \
3459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3461 (cd $(HOST_SUBDIR)/bash && \
3462 $(MAKE) $(FLAGS_TO_PASS) check)
3466 .PHONY: install-bash maybe-install-bash
3469 maybe-install-bash: install-bash
3471 install-bash: installdirs
3472 @r=`${PWD_COMMAND}`; export r; \
3473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 (cd $(HOST_SUBDIR)/bash && \
3476 $(MAKE) $(FLAGS_TO_PASS) install)
3480 # Other targets (info, dvi, etc.)
3482 .PHONY: maybe-info-bash info-bash
3485 maybe-info-bash: info-bash
3489 @[ -f ./bash/Makefile ] || exit 0; \
3490 r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 for flag in $(EXTRA_HOST_FLAGS) ; do \
3494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3496 echo "Doing info in bash" ; \
3497 (cd $(HOST_SUBDIR)/bash && \
3498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500 "RANLIB=$${RANLIB}" \
3501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3507 .PHONY: maybe-dvi-bash dvi-bash
3510 maybe-dvi-bash: dvi-bash
3514 @[ -f ./bash/Makefile ] || exit 0; \
3515 r=`${PWD_COMMAND}`; export r; \
3516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3518 for flag in $(EXTRA_HOST_FLAGS) ; do \
3519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3521 echo "Doing dvi in bash" ; \
3522 (cd $(HOST_SUBDIR)/bash && \
3523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3525 "RANLIB=$${RANLIB}" \
3526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3532 .PHONY: maybe-html-bash html-bash
3535 maybe-html-bash: html-bash
3539 @[ -f ./bash/Makefile ] || exit 0; \
3540 r=`${PWD_COMMAND}`; export r; \
3541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3543 for flag in $(EXTRA_HOST_FLAGS) ; do \
3544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3546 echo "Doing html in bash" ; \
3547 (cd $(HOST_SUBDIR)/bash && \
3548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3550 "RANLIB=$${RANLIB}" \
3551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3557 .PHONY: maybe-TAGS-bash TAGS-bash
3560 maybe-TAGS-bash: TAGS-bash
3564 @[ -f ./bash/Makefile ] || exit 0; \
3565 r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3568 for flag in $(EXTRA_HOST_FLAGS) ; do \
3569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3571 echo "Doing TAGS in bash" ; \
3572 (cd $(HOST_SUBDIR)/bash && \
3573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3575 "RANLIB=$${RANLIB}" \
3576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3582 .PHONY: maybe-install-info-bash install-info-bash
3583 maybe-install-info-bash:
3585 maybe-install-info-bash: install-info-bash
3587 install-info-bash: \
3590 @[ -f ./bash/Makefile ] || exit 0; \
3591 r=`${PWD_COMMAND}`; export r; \
3592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3594 for flag in $(EXTRA_HOST_FLAGS) ; do \
3595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3597 echo "Doing install-info in bash" ; \
3598 (cd $(HOST_SUBDIR)/bash && \
3599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3601 "RANLIB=$${RANLIB}" \
3602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3608 .PHONY: maybe-installcheck-bash installcheck-bash
3609 maybe-installcheck-bash:
3611 maybe-installcheck-bash: installcheck-bash
3613 installcheck-bash: \
3615 @[ -f ./bash/Makefile ] || exit 0; \
3616 r=`${PWD_COMMAND}`; export r; \
3617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 for flag in $(EXTRA_HOST_FLAGS) ; do \
3620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3622 echo "Doing installcheck in bash" ; \
3623 (cd $(HOST_SUBDIR)/bash && \
3624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3626 "RANLIB=$${RANLIB}" \
3627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3633 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3634 maybe-mostlyclean-bash:
3636 maybe-mostlyclean-bash: mostlyclean-bash
3639 @[ -f ./bash/Makefile ] || exit 0; \
3640 r=`${PWD_COMMAND}`; export r; \
3641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3643 for flag in $(EXTRA_HOST_FLAGS) ; do \
3644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3646 echo "Doing mostlyclean in bash" ; \
3647 (cd $(HOST_SUBDIR)/bash && \
3648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3650 "RANLIB=$${RANLIB}" \
3651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3657 .PHONY: maybe-clean-bash clean-bash
3660 maybe-clean-bash: clean-bash
3663 @[ -f ./bash/Makefile ] || exit 0; \
3664 r=`${PWD_COMMAND}`; export r; \
3665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3667 for flag in $(EXTRA_HOST_FLAGS) ; do \
3668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3670 echo "Doing clean in bash" ; \
3671 (cd $(HOST_SUBDIR)/bash && \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3674 "RANLIB=$${RANLIB}" \
3675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3681 .PHONY: maybe-distclean-bash distclean-bash
3682 maybe-distclean-bash:
3684 maybe-distclean-bash: distclean-bash
3687 @[ -f ./bash/Makefile ] || exit 0; \
3688 r=`${PWD_COMMAND}`; export r; \
3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3691 for flag in $(EXTRA_HOST_FLAGS) ; do \
3692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3694 echo "Doing distclean in bash" ; \
3695 (cd $(HOST_SUBDIR)/bash && \
3696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3698 "RANLIB=$${RANLIB}" \
3699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3705 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3706 maybe-maintainer-clean-bash:
3708 maybe-maintainer-clean-bash: maintainer-clean-bash
3710 maintainer-clean-bash:
3711 @[ -f ./bash/Makefile ] || exit 0; \
3712 r=`${PWD_COMMAND}`; export r; \
3713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 for flag in $(EXTRA_HOST_FLAGS) ; do \
3716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3718 echo "Doing maintainer-clean in bash" ; \
3719 (cd $(HOST_SUBDIR)/bash && \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722 "RANLIB=$${RANLIB}" \
3723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3730 .PHONY: configure-bfd maybe-configure-bfd
3731 maybe-configure-bfd:
3733 maybe-configure-bfd: configure-bfd
3735 @test -f stage_last && exit 0; \
3736 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3738 r=`${PWD_COMMAND}`; export r; \
3739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741 echo Configuring in bfd; \
3742 cd $(HOST_SUBDIR)/bfd || exit 1; \
3744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3745 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3748 srcdiroption="--srcdir=$${topdir}/bfd"; \
3749 libsrcdir="$$s/bfd"; \
3750 $(SHELL) $${libsrcdir}/configure \
3751 $(HOST_CONFIGARGS) $${srcdiroption} \
3755 .PHONY: all-bfd maybe-all-bfd
3759 maybe-all-bfd: all-bfd
3760 all-bfd: configure-bfd
3761 @test -f stage_last && exit 0; \
3762 r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3765 (cd $(HOST_SUBDIR)/bfd && \
3766 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
3769 .PHONY: check-bfd maybe-check-bfd
3772 maybe-check-bfd: check-bfd
3775 @r=`${PWD_COMMAND}`; export r; \
3776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 (cd $(HOST_SUBDIR)/bfd && \
3779 $(MAKE) $(FLAGS_TO_PASS) check)
3783 .PHONY: install-bfd maybe-install-bfd
3786 maybe-install-bfd: install-bfd
3788 install-bfd: installdirs
3789 @r=`${PWD_COMMAND}`; export r; \
3790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3792 (cd $(HOST_SUBDIR)/bfd && \
3793 $(MAKE) $(FLAGS_TO_PASS) install)
3797 # Other targets (info, dvi, etc.)
3799 .PHONY: maybe-info-bfd info-bfd
3802 maybe-info-bfd: info-bfd
3806 @[ -f ./bfd/Makefile ] || exit 0; \
3807 r=`${PWD_COMMAND}`; export r; \
3808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3810 for flag in $(EXTRA_HOST_FLAGS) ; do \
3811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3813 echo "Doing info in bfd" ; \
3814 (cd $(HOST_SUBDIR)/bfd && \
3815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3817 "RANLIB=$${RANLIB}" \
3818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3824 .PHONY: maybe-dvi-bfd dvi-bfd
3827 maybe-dvi-bfd: dvi-bfd
3831 @[ -f ./bfd/Makefile ] || exit 0; \
3832 r=`${PWD_COMMAND}`; export r; \
3833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3835 for flag in $(EXTRA_HOST_FLAGS) ; do \
3836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3838 echo "Doing dvi in bfd" ; \
3839 (cd $(HOST_SUBDIR)/bfd && \
3840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3842 "RANLIB=$${RANLIB}" \
3843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3849 .PHONY: maybe-html-bfd html-bfd
3852 maybe-html-bfd: html-bfd
3856 @[ -f ./bfd/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 html in bfd" ; \
3864 (cd $(HOST_SUBDIR)/bfd && \
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-TAGS-bfd TAGS-bfd
3877 maybe-TAGS-bfd: TAGS-bfd
3881 @[ -f ./bfd/Makefile ] || exit 0; \
3882 r=`${PWD_COMMAND}`; export r; \
3883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3885 for flag in $(EXTRA_HOST_FLAGS) ; do \
3886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3888 echo "Doing TAGS in bfd" ; \
3889 (cd $(HOST_SUBDIR)/bfd && \
3890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3892 "RANLIB=$${RANLIB}" \
3893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3899 .PHONY: maybe-install-info-bfd install-info-bfd
3900 maybe-install-info-bfd:
3902 maybe-install-info-bfd: install-info-bfd
3907 @[ -f ./bfd/Makefile ] || exit 0; \
3908 r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3911 for flag in $(EXTRA_HOST_FLAGS) ; do \
3912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3914 echo "Doing install-info in bfd" ; \
3915 (cd $(HOST_SUBDIR)/bfd && \
3916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3918 "RANLIB=$${RANLIB}" \
3919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3925 .PHONY: maybe-installcheck-bfd installcheck-bfd
3926 maybe-installcheck-bfd:
3928 maybe-installcheck-bfd: installcheck-bfd
3932 @[ -f ./bfd/Makefile ] || exit 0; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3936 for flag in $(EXTRA_HOST_FLAGS) ; do \
3937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3939 echo "Doing installcheck in bfd" ; \
3940 (cd $(HOST_SUBDIR)/bfd && \
3941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943 "RANLIB=$${RANLIB}" \
3944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3950 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3951 maybe-mostlyclean-bfd:
3953 maybe-mostlyclean-bfd: mostlyclean-bfd
3956 @[ -f ./bfd/Makefile ] || exit 0; \
3957 r=`${PWD_COMMAND}`; export r; \
3958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 for flag in $(EXTRA_HOST_FLAGS) ; do \
3961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3963 echo "Doing mostlyclean in bfd" ; \
3964 (cd $(HOST_SUBDIR)/bfd && \
3965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3967 "RANLIB=$${RANLIB}" \
3968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3974 .PHONY: maybe-clean-bfd clean-bfd
3977 maybe-clean-bfd: clean-bfd
3980 @[ -f ./bfd/Makefile ] || exit 0; \
3981 r=`${PWD_COMMAND}`; export r; \
3982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3984 for flag in $(EXTRA_HOST_FLAGS) ; do \
3985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3987 echo "Doing clean in bfd" ; \
3988 (cd $(HOST_SUBDIR)/bfd && \
3989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3991 "RANLIB=$${RANLIB}" \
3992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3998 .PHONY: maybe-distclean-bfd distclean-bfd
3999 maybe-distclean-bfd:
4001 maybe-distclean-bfd: distclean-bfd
4004 @[ -f ./bfd/Makefile ] || exit 0; \
4005 r=`${PWD_COMMAND}`; export r; \
4006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4008 for flag in $(EXTRA_HOST_FLAGS) ; do \
4009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4011 echo "Doing distclean in bfd" ; \
4012 (cd $(HOST_SUBDIR)/bfd && \
4013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4015 "RANLIB=$${RANLIB}" \
4016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4022 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4023 maybe-maintainer-clean-bfd:
4025 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4027 maintainer-clean-bfd:
4028 @[ -f ./bfd/Makefile ] || exit 0; \
4029 r=`${PWD_COMMAND}`; export r; \
4030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4032 for flag in $(EXTRA_HOST_FLAGS) ; do \
4033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4035 echo "Doing maintainer-clean in bfd" ; \
4036 (cd $(HOST_SUBDIR)/bfd && \
4037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4039 "RANLIB=$${RANLIB}" \
4040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4047 .PHONY: configure-opcodes maybe-configure-opcodes
4048 maybe-configure-opcodes:
4050 maybe-configure-opcodes: configure-opcodes
4052 @test -f stage_last && exit 0; \
4053 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4055 r=`${PWD_COMMAND}`; export r; \
4056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4058 echo Configuring in opcodes; \
4059 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4062 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4065 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4066 libsrcdir="$$s/opcodes"; \
4067 $(SHELL) $${libsrcdir}/configure \
4068 $(HOST_CONFIGARGS) $${srcdiroption} \
4072 .PHONY: all-opcodes maybe-all-opcodes
4076 maybe-all-opcodes: all-opcodes
4077 all-opcodes: configure-opcodes
4078 @test -f stage_last && exit 0; \
4079 r=`${PWD_COMMAND}`; export r; \
4080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 (cd $(HOST_SUBDIR)/opcodes && \
4083 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4086 .PHONY: check-opcodes maybe-check-opcodes
4087 maybe-check-opcodes:
4089 maybe-check-opcodes: check-opcodes
4092 @r=`${PWD_COMMAND}`; export r; \
4093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 (cd $(HOST_SUBDIR)/opcodes && \
4096 $(MAKE) $(FLAGS_TO_PASS) check)
4100 .PHONY: install-opcodes maybe-install-opcodes
4101 maybe-install-opcodes:
4103 maybe-install-opcodes: install-opcodes
4105 install-opcodes: installdirs
4106 @r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4109 (cd $(HOST_SUBDIR)/opcodes && \
4110 $(MAKE) $(FLAGS_TO_PASS) install)
4114 # Other targets (info, dvi, etc.)
4116 .PHONY: maybe-info-opcodes info-opcodes
4119 maybe-info-opcodes: info-opcodes
4123 @[ -f ./opcodes/Makefile ] || exit 0; \
4124 r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4127 for flag in $(EXTRA_HOST_FLAGS) ; do \
4128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4130 echo "Doing info in opcodes" ; \
4131 (cd $(HOST_SUBDIR)/opcodes && \
4132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4134 "RANLIB=$${RANLIB}" \
4135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4141 .PHONY: maybe-dvi-opcodes dvi-opcodes
4144 maybe-dvi-opcodes: dvi-opcodes
4148 @[ -f ./opcodes/Makefile ] || exit 0; \
4149 r=`${PWD_COMMAND}`; export r; \
4150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4152 for flag in $(EXTRA_HOST_FLAGS) ; do \
4153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4155 echo "Doing dvi in opcodes" ; \
4156 (cd $(HOST_SUBDIR)/opcodes && \
4157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4159 "RANLIB=$${RANLIB}" \
4160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4166 .PHONY: maybe-html-opcodes html-opcodes
4169 maybe-html-opcodes: html-opcodes
4173 @[ -f ./opcodes/Makefile ] || exit 0; \
4174 r=`${PWD_COMMAND}`; export r; \
4175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4177 for flag in $(EXTRA_HOST_FLAGS) ; do \
4178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4180 echo "Doing html in opcodes" ; \
4181 (cd $(HOST_SUBDIR)/opcodes && \
4182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4184 "RANLIB=$${RANLIB}" \
4185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4191 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4194 maybe-TAGS-opcodes: TAGS-opcodes
4198 @[ -f ./opcodes/Makefile ] || exit 0; \
4199 r=`${PWD_COMMAND}`; export r; \
4200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4202 for flag in $(EXTRA_HOST_FLAGS) ; do \
4203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4205 echo "Doing TAGS in opcodes" ; \
4206 (cd $(HOST_SUBDIR)/opcodes && \
4207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4209 "RANLIB=$${RANLIB}" \
4210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4216 .PHONY: maybe-install-info-opcodes install-info-opcodes
4217 maybe-install-info-opcodes:
4219 maybe-install-info-opcodes: install-info-opcodes
4221 install-info-opcodes: \
4224 @[ -f ./opcodes/Makefile ] || exit 0; \
4225 r=`${PWD_COMMAND}`; export r; \
4226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4228 for flag in $(EXTRA_HOST_FLAGS) ; do \
4229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4231 echo "Doing install-info in opcodes" ; \
4232 (cd $(HOST_SUBDIR)/opcodes && \
4233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4235 "RANLIB=$${RANLIB}" \
4236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4242 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4243 maybe-installcheck-opcodes:
4245 maybe-installcheck-opcodes: installcheck-opcodes
4247 installcheck-opcodes: \
4249 @[ -f ./opcodes/Makefile ] || exit 0; \
4250 r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4253 for flag in $(EXTRA_HOST_FLAGS) ; do \
4254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4256 echo "Doing installcheck in opcodes" ; \
4257 (cd $(HOST_SUBDIR)/opcodes && \
4258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4260 "RANLIB=$${RANLIB}" \
4261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4267 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4268 maybe-mostlyclean-opcodes:
4270 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4272 mostlyclean-opcodes:
4273 @[ -f ./opcodes/Makefile ] || exit 0; \
4274 r=`${PWD_COMMAND}`; export r; \
4275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 for flag in $(EXTRA_HOST_FLAGS) ; do \
4278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4280 echo "Doing mostlyclean in opcodes" ; \
4281 (cd $(HOST_SUBDIR)/opcodes && \
4282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4284 "RANLIB=$${RANLIB}" \
4285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4291 .PHONY: maybe-clean-opcodes clean-opcodes
4292 maybe-clean-opcodes:
4294 maybe-clean-opcodes: clean-opcodes
4297 @[ -f ./opcodes/Makefile ] || exit 0; \
4298 r=`${PWD_COMMAND}`; export r; \
4299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301 for flag in $(EXTRA_HOST_FLAGS) ; do \
4302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4304 echo "Doing clean in opcodes" ; \
4305 (cd $(HOST_SUBDIR)/opcodes && \
4306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4308 "RANLIB=$${RANLIB}" \
4309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4315 .PHONY: maybe-distclean-opcodes distclean-opcodes
4316 maybe-distclean-opcodes:
4318 maybe-distclean-opcodes: distclean-opcodes
4321 @[ -f ./opcodes/Makefile ] || exit 0; \
4322 r=`${PWD_COMMAND}`; export r; \
4323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4325 for flag in $(EXTRA_HOST_FLAGS) ; do \
4326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4328 echo "Doing distclean in opcodes" ; \
4329 (cd $(HOST_SUBDIR)/opcodes && \
4330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4332 "RANLIB=$${RANLIB}" \
4333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4339 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4340 maybe-maintainer-clean-opcodes:
4342 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4344 maintainer-clean-opcodes:
4345 @[ -f ./opcodes/Makefile ] || exit 0; \
4346 r=`${PWD_COMMAND}`; export r; \
4347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4349 for flag in $(EXTRA_HOST_FLAGS) ; do \
4350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4352 echo "Doing maintainer-clean in opcodes" ; \
4353 (cd $(HOST_SUBDIR)/opcodes && \
4354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4356 "RANLIB=$${RANLIB}" \
4357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4364 .PHONY: configure-binutils maybe-configure-binutils
4365 maybe-configure-binutils:
4367 maybe-configure-binutils: configure-binutils
4369 @test -f stage_last && exit 0; \
4370 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4372 r=`${PWD_COMMAND}`; export r; \
4373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 echo Configuring in binutils; \
4376 cd $(HOST_SUBDIR)/binutils || exit 1; \
4378 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4379 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4380 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4382 srcdiroption="--srcdir=$${topdir}/binutils"; \
4383 libsrcdir="$$s/binutils"; \
4384 $(SHELL) $${libsrcdir}/configure \
4385 $(HOST_CONFIGARGS) $${srcdiroption} \
4389 .PHONY: all-binutils maybe-all-binutils
4393 maybe-all-binutils: all-binutils
4394 all-binutils: configure-binutils
4395 @test -f stage_last && exit 0; \
4396 r=`${PWD_COMMAND}`; export r; \
4397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4399 (cd $(HOST_SUBDIR)/binutils && \
4400 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
4403 .PHONY: check-binutils maybe-check-binutils
4404 maybe-check-binutils:
4406 maybe-check-binutils: check-binutils
4409 @r=`${PWD_COMMAND}`; export r; \
4410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 (cd $(HOST_SUBDIR)/binutils && \
4413 $(MAKE) $(FLAGS_TO_PASS) check)
4417 .PHONY: install-binutils maybe-install-binutils
4418 maybe-install-binutils:
4420 maybe-install-binutils: install-binutils
4422 install-binutils: installdirs
4423 @r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4426 (cd $(HOST_SUBDIR)/binutils && \
4427 $(MAKE) $(FLAGS_TO_PASS) install)
4431 # Other targets (info, dvi, etc.)
4433 .PHONY: maybe-info-binutils info-binutils
4434 maybe-info-binutils:
4436 maybe-info-binutils: info-binutils
4440 @[ -f ./binutils/Makefile ] || exit 0; \
4441 r=`${PWD_COMMAND}`; export r; \
4442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4444 for flag in $(EXTRA_HOST_FLAGS) ; do \
4445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4447 echo "Doing info in binutils" ; \
4448 (cd $(HOST_SUBDIR)/binutils && \
4449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4451 "RANLIB=$${RANLIB}" \
4452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4458 .PHONY: maybe-dvi-binutils dvi-binutils
4461 maybe-dvi-binutils: dvi-binutils
4465 @[ -f ./binutils/Makefile ] || exit 0; \
4466 r=`${PWD_COMMAND}`; export r; \
4467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4469 for flag in $(EXTRA_HOST_FLAGS) ; do \
4470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4472 echo "Doing dvi in binutils" ; \
4473 (cd $(HOST_SUBDIR)/binutils && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4483 .PHONY: maybe-html-binutils html-binutils
4484 maybe-html-binutils:
4486 maybe-html-binutils: html-binutils
4490 @[ -f ./binutils/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4497 echo "Doing html in binutils" ; \
4498 (cd $(HOST_SUBDIR)/binutils && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4508 .PHONY: maybe-TAGS-binutils TAGS-binutils
4509 maybe-TAGS-binutils:
4511 maybe-TAGS-binutils: TAGS-binutils
4515 @[ -f ./binutils/Makefile ] || exit 0; \
4516 r=`${PWD_COMMAND}`; export r; \
4517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 for flag in $(EXTRA_HOST_FLAGS) ; do \
4520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4522 echo "Doing TAGS in binutils" ; \
4523 (cd $(HOST_SUBDIR)/binutils && \
4524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526 "RANLIB=$${RANLIB}" \
4527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4533 .PHONY: maybe-install-info-binutils install-info-binutils
4534 maybe-install-info-binutils:
4536 maybe-install-info-binutils: install-info-binutils
4538 install-info-binutils: \
4539 configure-binutils \
4541 @[ -f ./binutils/Makefile ] || exit 0; \
4542 r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4545 for flag in $(EXTRA_HOST_FLAGS) ; do \
4546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4548 echo "Doing install-info in binutils" ; \
4549 (cd $(HOST_SUBDIR)/binutils && \
4550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4552 "RANLIB=$${RANLIB}" \
4553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4559 .PHONY: maybe-installcheck-binutils installcheck-binutils
4560 maybe-installcheck-binutils:
4562 maybe-installcheck-binutils: installcheck-binutils
4564 installcheck-binutils: \
4566 @[ -f ./binutils/Makefile ] || exit 0; \
4567 r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4570 for flag in $(EXTRA_HOST_FLAGS) ; do \
4571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4573 echo "Doing installcheck in binutils" ; \
4574 (cd $(HOST_SUBDIR)/binutils && \
4575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4577 "RANLIB=$${RANLIB}" \
4578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4584 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4585 maybe-mostlyclean-binutils:
4587 maybe-mostlyclean-binutils: mostlyclean-binutils
4589 mostlyclean-binutils:
4590 @[ -f ./binutils/Makefile ] || exit 0; \
4591 r=`${PWD_COMMAND}`; export r; \
4592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4594 for flag in $(EXTRA_HOST_FLAGS) ; do \
4595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4597 echo "Doing mostlyclean in binutils" ; \
4598 (cd $(HOST_SUBDIR)/binutils && \
4599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4601 "RANLIB=$${RANLIB}" \
4602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4608 .PHONY: maybe-clean-binutils clean-binutils
4609 maybe-clean-binutils:
4611 maybe-clean-binutils: clean-binutils
4614 @[ -f ./binutils/Makefile ] || exit 0; \
4615 r=`${PWD_COMMAND}`; export r; \
4616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 for flag in $(EXTRA_HOST_FLAGS) ; do \
4619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4621 echo "Doing clean in binutils" ; \
4622 (cd $(HOST_SUBDIR)/binutils && \
4623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4625 "RANLIB=$${RANLIB}" \
4626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4632 .PHONY: maybe-distclean-binutils distclean-binutils
4633 maybe-distclean-binutils:
4635 maybe-distclean-binutils: distclean-binutils
4638 @[ -f ./binutils/Makefile ] || exit 0; \
4639 r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4642 for flag in $(EXTRA_HOST_FLAGS) ; do \
4643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4645 echo "Doing distclean in binutils" ; \
4646 (cd $(HOST_SUBDIR)/binutils && \
4647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4649 "RANLIB=$${RANLIB}" \
4650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4656 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4657 maybe-maintainer-clean-binutils:
4659 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4661 maintainer-clean-binutils:
4662 @[ -f ./binutils/Makefile ] || exit 0; \
4663 r=`${PWD_COMMAND}`; export r; \
4664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4666 for flag in $(EXTRA_HOST_FLAGS) ; do \
4667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4669 echo "Doing maintainer-clean in binutils" ; \
4670 (cd $(HOST_SUBDIR)/binutils && \
4671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4673 "RANLIB=$${RANLIB}" \
4674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4681 .PHONY: configure-bison maybe-configure-bison
4682 maybe-configure-bison:
4684 maybe-configure-bison: configure-bison
4686 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
4687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
4688 r=`${PWD_COMMAND}`; export r; \
4689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 echo Configuring in bison; \
4692 cd $(HOST_SUBDIR)/bison || exit 1; \
4694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4695 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
4696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4698 srcdiroption="--srcdir=$${topdir}/bison"; \
4699 libsrcdir="$$s/bison"; \
4700 $(SHELL) $${libsrcdir}/configure \
4701 $(HOST_CONFIGARGS) $${srcdiroption} \
4705 .PHONY: all-bison maybe-all-bison
4709 maybe-all-bison: all-bison
4710 all-bison: configure-bison
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4714 (cd $(HOST_SUBDIR)/bison && \
4715 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
4718 .PHONY: check-bison maybe-check-bison
4721 maybe-check-bison: check-bison
4723 # This module is only tested in a native toolchain.
4725 @if [ '$(host)' = '$(target)' ] ; then \
4726 r=`${PWD_COMMAND}`; export r; \
4727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4729 (cd $(HOST_SUBDIR)/bison && \
4730 $(MAKE) $(FLAGS_TO_PASS) check); \
4735 .PHONY: install-bison maybe-install-bison
4736 maybe-install-bison:
4738 maybe-install-bison: install-bison
4740 install-bison: installdirs
4741 @r=`${PWD_COMMAND}`; export r; \
4742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 (cd $(HOST_SUBDIR)/bison && \
4745 $(MAKE) $(FLAGS_TO_PASS) install)
4749 # Other targets (info, dvi, etc.)
4751 .PHONY: maybe-info-bison info-bison
4754 maybe-info-bison: info-bison
4758 @[ -f ./bison/Makefile ] || exit 0; \
4759 r=`${PWD_COMMAND}`; export r; \
4760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4762 for flag in $(EXTRA_HOST_FLAGS) ; do \
4763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4765 echo "Doing info in bison" ; \
4766 (cd $(HOST_SUBDIR)/bison && \
4767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4769 "RANLIB=$${RANLIB}" \
4770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4776 .PHONY: maybe-dvi-bison dvi-bison
4779 maybe-dvi-bison: dvi-bison
4783 @[ -f ./bison/Makefile ] || exit 0; \
4784 r=`${PWD_COMMAND}`; export r; \
4785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 for flag in $(EXTRA_HOST_FLAGS) ; do \
4788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4790 echo "Doing dvi in bison" ; \
4791 (cd $(HOST_SUBDIR)/bison && \
4792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4794 "RANLIB=$${RANLIB}" \
4795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4801 .PHONY: maybe-html-bison html-bison
4804 maybe-html-bison: html-bison
4808 @[ -f ./bison/Makefile ] || exit 0; \
4809 r=`${PWD_COMMAND}`; export r; \
4810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4812 for flag in $(EXTRA_HOST_FLAGS) ; do \
4813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4815 echo "Doing html in bison" ; \
4816 (cd $(HOST_SUBDIR)/bison && \
4817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4819 "RANLIB=$${RANLIB}" \
4820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4826 .PHONY: maybe-TAGS-bison TAGS-bison
4829 maybe-TAGS-bison: TAGS-bison
4833 @[ -f ./bison/Makefile ] || exit 0; \
4834 r=`${PWD_COMMAND}`; export r; \
4835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4837 for flag in $(EXTRA_HOST_FLAGS) ; do \
4838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4840 echo "Doing TAGS in bison" ; \
4841 (cd $(HOST_SUBDIR)/bison && \
4842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4844 "RANLIB=$${RANLIB}" \
4845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4851 .PHONY: maybe-install-info-bison install-info-bison
4852 maybe-install-info-bison:
4854 maybe-install-info-bison: install-info-bison
4856 install-info-bison: \
4859 @[ -f ./bison/Makefile ] || exit 0; \
4860 r=`${PWD_COMMAND}`; export r; \
4861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4863 for flag in $(EXTRA_HOST_FLAGS) ; do \
4864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4866 echo "Doing install-info in bison" ; \
4867 (cd $(HOST_SUBDIR)/bison && \
4868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4870 "RANLIB=$${RANLIB}" \
4871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4877 .PHONY: maybe-installcheck-bison installcheck-bison
4878 maybe-installcheck-bison:
4880 maybe-installcheck-bison: installcheck-bison
4882 installcheck-bison: \
4884 @[ -f ./bison/Makefile ] || exit 0; \
4885 r=`${PWD_COMMAND}`; export r; \
4886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 for flag in $(EXTRA_HOST_FLAGS) ; do \
4889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4891 echo "Doing installcheck in bison" ; \
4892 (cd $(HOST_SUBDIR)/bison && \
4893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4895 "RANLIB=$${RANLIB}" \
4896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4902 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4903 maybe-mostlyclean-bison:
4905 maybe-mostlyclean-bison: mostlyclean-bison
4908 @[ -f ./bison/Makefile ] || exit 0; \
4909 r=`${PWD_COMMAND}`; export r; \
4910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4912 for flag in $(EXTRA_HOST_FLAGS) ; do \
4913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4915 echo "Doing mostlyclean in bison" ; \
4916 (cd $(HOST_SUBDIR)/bison && \
4917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4919 "RANLIB=$${RANLIB}" \
4920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4926 .PHONY: maybe-clean-bison clean-bison
4929 maybe-clean-bison: clean-bison
4932 @[ -f ./bison/Makefile ] || exit 0; \
4933 r=`${PWD_COMMAND}`; export r; \
4934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4936 for flag in $(EXTRA_HOST_FLAGS) ; do \
4937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4939 echo "Doing clean in bison" ; \
4940 (cd $(HOST_SUBDIR)/bison && \
4941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4943 "RANLIB=$${RANLIB}" \
4944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4950 .PHONY: maybe-distclean-bison distclean-bison
4951 maybe-distclean-bison:
4953 maybe-distclean-bison: distclean-bison
4956 @[ -f ./bison/Makefile ] || exit 0; \
4957 r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 for flag in $(EXTRA_HOST_FLAGS) ; do \
4961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4963 echo "Doing distclean in bison" ; \
4964 (cd $(HOST_SUBDIR)/bison && \
4965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4967 "RANLIB=$${RANLIB}" \
4968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4974 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4975 maybe-maintainer-clean-bison:
4977 maybe-maintainer-clean-bison: maintainer-clean-bison
4979 maintainer-clean-bison:
4980 @[ -f ./bison/Makefile ] || exit 0; \
4981 r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4984 for flag in $(EXTRA_HOST_FLAGS) ; do \
4985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4987 echo "Doing maintainer-clean in bison" ; \
4988 (cd $(HOST_SUBDIR)/bison && \
4989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4991 "RANLIB=$${RANLIB}" \
4992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4999 .PHONY: configure-byacc maybe-configure-byacc
5000 maybe-configure-byacc:
5002 maybe-configure-byacc: configure-byacc
5004 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
5005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
5006 r=`${PWD_COMMAND}`; export r; \
5007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5009 echo Configuring in byacc; \
5010 cd $(HOST_SUBDIR)/byacc || exit 1; \
5012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5013 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
5014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5016 srcdiroption="--srcdir=$${topdir}/byacc"; \
5017 libsrcdir="$$s/byacc"; \
5018 $(SHELL) $${libsrcdir}/configure \
5019 $(HOST_CONFIGARGS) $${srcdiroption} \
5023 .PHONY: all-byacc maybe-all-byacc
5027 maybe-all-byacc: all-byacc
5028 all-byacc: configure-byacc
5029 @r=`${PWD_COMMAND}`; export r; \
5030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5032 (cd $(HOST_SUBDIR)/byacc && \
5033 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
5036 .PHONY: check-byacc maybe-check-byacc
5039 maybe-check-byacc: check-byacc
5041 # This module is only tested in a native toolchain.
5043 @if [ '$(host)' = '$(target)' ] ; then \
5044 r=`${PWD_COMMAND}`; export r; \
5045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5047 (cd $(HOST_SUBDIR)/byacc && \
5048 $(MAKE) $(FLAGS_TO_PASS) check); \
5053 .PHONY: install-byacc maybe-install-byacc
5054 maybe-install-byacc:
5056 maybe-install-byacc: install-byacc
5058 install-byacc: installdirs
5059 @r=`${PWD_COMMAND}`; export r; \
5060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 (cd $(HOST_SUBDIR)/byacc && \
5063 $(MAKE) $(FLAGS_TO_PASS) install)
5067 # Other targets (info, dvi, etc.)
5069 .PHONY: maybe-info-byacc info-byacc
5072 maybe-info-byacc: info-byacc
5076 @[ -f ./byacc/Makefile ] || exit 0; \
5077 r=`${PWD_COMMAND}`; export r; \
5078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5080 for flag in $(EXTRA_HOST_FLAGS) ; do \
5081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5083 echo "Doing info in byacc" ; \
5084 (cd $(HOST_SUBDIR)/byacc && \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087 "RANLIB=$${RANLIB}" \
5088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5094 .PHONY: maybe-dvi-byacc dvi-byacc
5097 maybe-dvi-byacc: dvi-byacc
5101 @[ -f ./byacc/Makefile ] || exit 0; \
5102 r=`${PWD_COMMAND}`; export r; \
5103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 for flag in $(EXTRA_HOST_FLAGS) ; do \
5106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5108 echo "Doing dvi in byacc" ; \
5109 (cd $(HOST_SUBDIR)/byacc && \
5110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5112 "RANLIB=$${RANLIB}" \
5113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5119 .PHONY: maybe-html-byacc html-byacc
5122 maybe-html-byacc: html-byacc
5126 @[ -f ./byacc/Makefile ] || exit 0; \
5127 r=`${PWD_COMMAND}`; export r; \
5128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5130 for flag in $(EXTRA_HOST_FLAGS) ; do \
5131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5133 echo "Doing html in byacc" ; \
5134 (cd $(HOST_SUBDIR)/byacc && \
5135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5137 "RANLIB=$${RANLIB}" \
5138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5144 .PHONY: maybe-TAGS-byacc TAGS-byacc
5147 maybe-TAGS-byacc: TAGS-byacc
5151 @[ -f ./byacc/Makefile ] || exit 0; \
5152 r=`${PWD_COMMAND}`; export r; \
5153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 for flag in $(EXTRA_HOST_FLAGS) ; do \
5156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5158 echo "Doing TAGS in byacc" ; \
5159 (cd $(HOST_SUBDIR)/byacc && \
5160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5162 "RANLIB=$${RANLIB}" \
5163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5169 .PHONY: maybe-install-info-byacc install-info-byacc
5170 maybe-install-info-byacc:
5172 maybe-install-info-byacc: install-info-byacc
5174 install-info-byacc: \
5177 @[ -f ./byacc/Makefile ] || exit 0; \
5178 r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5181 for flag in $(EXTRA_HOST_FLAGS) ; do \
5182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5184 echo "Doing install-info in byacc" ; \
5185 (cd $(HOST_SUBDIR)/byacc && \
5186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5188 "RANLIB=$${RANLIB}" \
5189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5195 .PHONY: maybe-installcheck-byacc installcheck-byacc
5196 maybe-installcheck-byacc:
5198 maybe-installcheck-byacc: installcheck-byacc
5200 installcheck-byacc: \
5202 @[ -f ./byacc/Makefile ] || exit 0; \
5203 r=`${PWD_COMMAND}`; export r; \
5204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 for flag in $(EXTRA_HOST_FLAGS) ; do \
5207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5209 echo "Doing installcheck in byacc" ; \
5210 (cd $(HOST_SUBDIR)/byacc && \
5211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5213 "RANLIB=$${RANLIB}" \
5214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5220 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5221 maybe-mostlyclean-byacc:
5223 maybe-mostlyclean-byacc: mostlyclean-byacc
5226 @[ -f ./byacc/Makefile ] || exit 0; \
5227 r=`${PWD_COMMAND}`; export r; \
5228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 for flag in $(EXTRA_HOST_FLAGS) ; do \
5231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5233 echo "Doing mostlyclean in byacc" ; \
5234 (cd $(HOST_SUBDIR)/byacc && \
5235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5237 "RANLIB=$${RANLIB}" \
5238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5244 .PHONY: maybe-clean-byacc clean-byacc
5247 maybe-clean-byacc: clean-byacc
5250 @[ -f ./byacc/Makefile ] || exit 0; \
5251 r=`${PWD_COMMAND}`; export r; \
5252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 for flag in $(EXTRA_HOST_FLAGS) ; do \
5255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5257 echo "Doing clean in byacc" ; \
5258 (cd $(HOST_SUBDIR)/byacc && \
5259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5261 "RANLIB=$${RANLIB}" \
5262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5268 .PHONY: maybe-distclean-byacc distclean-byacc
5269 maybe-distclean-byacc:
5271 maybe-distclean-byacc: distclean-byacc
5274 @[ -f ./byacc/Makefile ] || exit 0; \
5275 r=`${PWD_COMMAND}`; export r; \
5276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5278 for flag in $(EXTRA_HOST_FLAGS) ; do \
5279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5281 echo "Doing distclean in byacc" ; \
5282 (cd $(HOST_SUBDIR)/byacc && \
5283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5285 "RANLIB=$${RANLIB}" \
5286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5292 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5293 maybe-maintainer-clean-byacc:
5295 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5297 maintainer-clean-byacc:
5298 @[ -f ./byacc/Makefile ] || exit 0; \
5299 r=`${PWD_COMMAND}`; export r; \
5300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5302 for flag in $(EXTRA_HOST_FLAGS) ; do \
5303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5305 echo "Doing maintainer-clean in byacc" ; \
5306 (cd $(HOST_SUBDIR)/byacc && \
5307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5309 "RANLIB=$${RANLIB}" \
5310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5317 .PHONY: configure-bzip2 maybe-configure-bzip2
5318 maybe-configure-bzip2:
5320 maybe-configure-bzip2: configure-bzip2
5322 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
5323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
5324 r=`${PWD_COMMAND}`; export r; \
5325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 echo Configuring in bzip2; \
5328 cd $(HOST_SUBDIR)/bzip2 || exit 1; \
5330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5331 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
5332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5334 srcdiroption="--srcdir=$${topdir}/bzip2"; \
5335 libsrcdir="$$s/bzip2"; \
5336 $(SHELL) $${libsrcdir}/configure \
5337 $(HOST_CONFIGARGS) $${srcdiroption} \
5341 .PHONY: all-bzip2 maybe-all-bzip2
5345 maybe-all-bzip2: all-bzip2
5346 all-bzip2: configure-bzip2
5347 @r=`${PWD_COMMAND}`; export r; \
5348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5350 (cd $(HOST_SUBDIR)/bzip2 && \
5351 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
5354 .PHONY: check-bzip2 maybe-check-bzip2
5357 maybe-check-bzip2: check-bzip2
5360 @r=`${PWD_COMMAND}`; export r; \
5361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5363 (cd $(HOST_SUBDIR)/bzip2 && \
5364 $(MAKE) $(FLAGS_TO_PASS) check)
5368 .PHONY: install-bzip2 maybe-install-bzip2
5369 maybe-install-bzip2:
5371 maybe-install-bzip2: install-bzip2
5373 install-bzip2: installdirs
5374 @r=`${PWD_COMMAND}`; export r; \
5375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 (cd $(HOST_SUBDIR)/bzip2 && \
5378 $(MAKE) $(FLAGS_TO_PASS) install)
5382 # Other targets (info, dvi, etc.)
5384 .PHONY: maybe-info-bzip2 info-bzip2
5387 maybe-info-bzip2: info-bzip2
5391 @[ -f ./bzip2/Makefile ] || exit 0; \
5392 r=`${PWD_COMMAND}`; export r; \
5393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5395 for flag in $(EXTRA_HOST_FLAGS) ; do \
5396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5398 echo "Doing info in bzip2" ; \
5399 (cd $(HOST_SUBDIR)/bzip2 && \
5400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5402 "RANLIB=$${RANLIB}" \
5403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5409 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5412 maybe-dvi-bzip2: dvi-bzip2
5416 @[ -f ./bzip2/Makefile ] || exit 0; \
5417 r=`${PWD_COMMAND}`; export r; \
5418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5420 for flag in $(EXTRA_HOST_FLAGS) ; do \
5421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5423 echo "Doing dvi in bzip2" ; \
5424 (cd $(HOST_SUBDIR)/bzip2 && \
5425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5427 "RANLIB=$${RANLIB}" \
5428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5434 .PHONY: maybe-html-bzip2 html-bzip2
5437 maybe-html-bzip2: html-bzip2
5441 @[ -f ./bzip2/Makefile ] || exit 0; \
5442 r=`${PWD_COMMAND}`; export r; \
5443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 for flag in $(EXTRA_HOST_FLAGS) ; do \
5446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448 echo "Doing html in bzip2" ; \
5449 (cd $(HOST_SUBDIR)/bzip2 && \
5450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5452 "RANLIB=$${RANLIB}" \
5453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5459 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5462 maybe-TAGS-bzip2: TAGS-bzip2
5466 @[ -f ./bzip2/Makefile ] || exit 0; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5470 for flag in $(EXTRA_HOST_FLAGS) ; do \
5471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5473 echo "Doing TAGS in bzip2" ; \
5474 (cd $(HOST_SUBDIR)/bzip2 && \
5475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5477 "RANLIB=$${RANLIB}" \
5478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5484 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5485 maybe-install-info-bzip2:
5487 maybe-install-info-bzip2: install-info-bzip2
5489 install-info-bzip2: \
5492 @[ -f ./bzip2/Makefile ] || exit 0; \
5493 r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5496 for flag in $(EXTRA_HOST_FLAGS) ; do \
5497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5499 echo "Doing install-info in bzip2" ; \
5500 (cd $(HOST_SUBDIR)/bzip2 && \
5501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503 "RANLIB=$${RANLIB}" \
5504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5510 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5511 maybe-installcheck-bzip2:
5513 maybe-installcheck-bzip2: installcheck-bzip2
5515 installcheck-bzip2: \
5517 @[ -f ./bzip2/Makefile ] || exit 0; \
5518 r=`${PWD_COMMAND}`; export r; \
5519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 for flag in $(EXTRA_HOST_FLAGS) ; do \
5522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5524 echo "Doing installcheck in bzip2" ; \
5525 (cd $(HOST_SUBDIR)/bzip2 && \
5526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5528 "RANLIB=$${RANLIB}" \
5529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5535 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5536 maybe-mostlyclean-bzip2:
5538 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5541 @[ -f ./bzip2/Makefile ] || exit 0; \
5542 r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5545 for flag in $(EXTRA_HOST_FLAGS) ; do \
5546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5548 echo "Doing mostlyclean in bzip2" ; \
5549 (cd $(HOST_SUBDIR)/bzip2 && \
5550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5552 "RANLIB=$${RANLIB}" \
5553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5559 .PHONY: maybe-clean-bzip2 clean-bzip2
5562 maybe-clean-bzip2: clean-bzip2
5565 @[ -f ./bzip2/Makefile ] || exit 0; \
5566 r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5569 for flag in $(EXTRA_HOST_FLAGS) ; do \
5570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5572 echo "Doing clean in bzip2" ; \
5573 (cd $(HOST_SUBDIR)/bzip2 && \
5574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5576 "RANLIB=$${RANLIB}" \
5577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5583 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5584 maybe-distclean-bzip2:
5586 maybe-distclean-bzip2: distclean-bzip2
5589 @[ -f ./bzip2/Makefile ] || exit 0; \
5590 r=`${PWD_COMMAND}`; export r; \
5591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5593 for flag in $(EXTRA_HOST_FLAGS) ; do \
5594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5596 echo "Doing distclean in bzip2" ; \
5597 (cd $(HOST_SUBDIR)/bzip2 && \
5598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5600 "RANLIB=$${RANLIB}" \
5601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5607 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5608 maybe-maintainer-clean-bzip2:
5610 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5612 maintainer-clean-bzip2:
5613 @[ -f ./bzip2/Makefile ] || exit 0; \
5614 r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5617 for flag in $(EXTRA_HOST_FLAGS) ; do \
5618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5620 echo "Doing maintainer-clean in bzip2" ; \
5621 (cd $(HOST_SUBDIR)/bzip2 && \
5622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5624 "RANLIB=$${RANLIB}" \
5625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5632 .PHONY: configure-dejagnu maybe-configure-dejagnu
5633 maybe-configure-dejagnu:
5635 maybe-configure-dejagnu: configure-dejagnu
5637 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
5638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
5639 r=`${PWD_COMMAND}`; export r; \
5640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 echo Configuring in dejagnu; \
5643 cd $(HOST_SUBDIR)/dejagnu || exit 1; \
5645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5646 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
5647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5649 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
5650 libsrcdir="$$s/dejagnu"; \
5651 $(SHELL) $${libsrcdir}/configure \
5652 $(HOST_CONFIGARGS) $${srcdiroption} \
5656 .PHONY: all-dejagnu maybe-all-dejagnu
5660 maybe-all-dejagnu: all-dejagnu
5661 all-dejagnu: configure-dejagnu
5662 @r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5665 (cd $(HOST_SUBDIR)/dejagnu && \
5666 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
5669 .PHONY: check-dejagnu maybe-check-dejagnu
5670 maybe-check-dejagnu:
5672 maybe-check-dejagnu: check-dejagnu
5675 @r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 (cd $(HOST_SUBDIR)/dejagnu && \
5679 $(MAKE) $(FLAGS_TO_PASS) check)
5683 .PHONY: install-dejagnu maybe-install-dejagnu
5684 maybe-install-dejagnu:
5686 maybe-install-dejagnu: install-dejagnu
5688 install-dejagnu: installdirs
5689 @r=`${PWD_COMMAND}`; export r; \
5690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5692 (cd $(HOST_SUBDIR)/dejagnu && \
5693 $(MAKE) $(FLAGS_TO_PASS) install)
5697 # Other targets (info, dvi, etc.)
5699 .PHONY: maybe-info-dejagnu info-dejagnu
5702 maybe-info-dejagnu: info-dejagnu
5706 @[ -f ./dejagnu/Makefile ] || exit 0; \
5707 r=`${PWD_COMMAND}`; export r; \
5708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5710 for flag in $(EXTRA_HOST_FLAGS) ; do \
5711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5713 echo "Doing info in dejagnu" ; \
5714 (cd $(HOST_SUBDIR)/dejagnu && \
5715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5717 "RANLIB=$${RANLIB}" \
5718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5724 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5727 maybe-dvi-dejagnu: dvi-dejagnu
5731 @[ -f ./dejagnu/Makefile ] || exit 0; \
5732 r=`${PWD_COMMAND}`; export r; \
5733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5735 for flag in $(EXTRA_HOST_FLAGS) ; do \
5736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 echo "Doing dvi in dejagnu" ; \
5739 (cd $(HOST_SUBDIR)/dejagnu && \
5740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5742 "RANLIB=$${RANLIB}" \
5743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5749 .PHONY: maybe-html-dejagnu html-dejagnu
5752 maybe-html-dejagnu: html-dejagnu
5756 @[ -f ./dejagnu/Makefile ] || exit 0; \
5757 r=`${PWD_COMMAND}`; export r; \
5758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5760 for flag in $(EXTRA_HOST_FLAGS) ; do \
5761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5763 echo "Doing html in dejagnu" ; \
5764 (cd $(HOST_SUBDIR)/dejagnu && \
5765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5767 "RANLIB=$${RANLIB}" \
5768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5774 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5777 maybe-TAGS-dejagnu: TAGS-dejagnu
5781 @[ -f ./dejagnu/Makefile ] || exit 0; \
5782 r=`${PWD_COMMAND}`; export r; \
5783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5785 for flag in $(EXTRA_HOST_FLAGS) ; do \
5786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5788 echo "Doing TAGS in dejagnu" ; \
5789 (cd $(HOST_SUBDIR)/dejagnu && \
5790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5792 "RANLIB=$${RANLIB}" \
5793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5799 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5800 maybe-install-info-dejagnu:
5802 maybe-install-info-dejagnu: install-info-dejagnu
5804 install-info-dejagnu: \
5807 @[ -f ./dejagnu/Makefile ] || exit 0; \
5808 r=`${PWD_COMMAND}`; export r; \
5809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 for flag in $(EXTRA_HOST_FLAGS) ; do \
5812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5814 echo "Doing install-info in dejagnu" ; \
5815 (cd $(HOST_SUBDIR)/dejagnu && \
5816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5818 "RANLIB=$${RANLIB}" \
5819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5825 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5826 maybe-installcheck-dejagnu:
5828 maybe-installcheck-dejagnu: installcheck-dejagnu
5830 installcheck-dejagnu: \
5832 @[ -f ./dejagnu/Makefile ] || exit 0; \
5833 r=`${PWD_COMMAND}`; export r; \
5834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 for flag in $(EXTRA_HOST_FLAGS) ; do \
5837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5839 echo "Doing installcheck in dejagnu" ; \
5840 (cd $(HOST_SUBDIR)/dejagnu && \
5841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5843 "RANLIB=$${RANLIB}" \
5844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5850 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5851 maybe-mostlyclean-dejagnu:
5853 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5855 mostlyclean-dejagnu:
5856 @[ -f ./dejagnu/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 mostlyclean in dejagnu" ; \
5864 (cd $(HOST_SUBDIR)/dejagnu && \
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-clean-dejagnu clean-dejagnu
5875 maybe-clean-dejagnu:
5877 maybe-clean-dejagnu: clean-dejagnu
5880 @[ -f ./dejagnu/Makefile ] || exit 0; \
5881 r=`${PWD_COMMAND}`; export r; \
5882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5884 for flag in $(EXTRA_HOST_FLAGS) ; do \
5885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5887 echo "Doing clean in dejagnu" ; \
5888 (cd $(HOST_SUBDIR)/dejagnu && \
5889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5891 "RANLIB=$${RANLIB}" \
5892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5898 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5899 maybe-distclean-dejagnu:
5901 maybe-distclean-dejagnu: distclean-dejagnu
5904 @[ -f ./dejagnu/Makefile ] || exit 0; \
5905 r=`${PWD_COMMAND}`; export r; \
5906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 for flag in $(EXTRA_HOST_FLAGS) ; do \
5909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5911 echo "Doing distclean in dejagnu" ; \
5912 (cd $(HOST_SUBDIR)/dejagnu && \
5913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5915 "RANLIB=$${RANLIB}" \
5916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5922 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5923 maybe-maintainer-clean-dejagnu:
5925 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5927 maintainer-clean-dejagnu:
5928 @[ -f ./dejagnu/Makefile ] || exit 0; \
5929 r=`${PWD_COMMAND}`; export r; \
5930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 for flag in $(EXTRA_HOST_FLAGS) ; do \
5933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5935 echo "Doing maintainer-clean in dejagnu" ; \
5936 (cd $(HOST_SUBDIR)/dejagnu && \
5937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5939 "RANLIB=$${RANLIB}" \
5940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5947 .PHONY: configure-diff maybe-configure-diff
5948 maybe-configure-diff:
5950 maybe-configure-diff: configure-diff
5952 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
5953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
5954 r=`${PWD_COMMAND}`; export r; \
5955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5957 echo Configuring in diff; \
5958 cd $(HOST_SUBDIR)/diff || exit 1; \
5960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5961 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
5962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5964 srcdiroption="--srcdir=$${topdir}/diff"; \
5965 libsrcdir="$$s/diff"; \
5966 $(SHELL) $${libsrcdir}/configure \
5967 $(HOST_CONFIGARGS) $${srcdiroption} \
5971 .PHONY: all-diff maybe-all-diff
5975 maybe-all-diff: all-diff
5976 all-diff: configure-diff
5977 @r=`${PWD_COMMAND}`; export r; \
5978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5980 (cd $(HOST_SUBDIR)/diff && \
5981 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
5984 .PHONY: check-diff maybe-check-diff
5987 maybe-check-diff: check-diff
5990 @r=`${PWD_COMMAND}`; export r; \
5991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5993 (cd $(HOST_SUBDIR)/diff && \
5994 $(MAKE) $(FLAGS_TO_PASS) check)
5998 .PHONY: install-diff maybe-install-diff
6001 maybe-install-diff: install-diff
6003 install-diff: installdirs
6004 @r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6007 (cd $(HOST_SUBDIR)/diff && \
6008 $(MAKE) $(FLAGS_TO_PASS) install)
6012 # Other targets (info, dvi, etc.)
6014 .PHONY: maybe-info-diff info-diff
6017 maybe-info-diff: info-diff
6021 @[ -f ./diff/Makefile ] || exit 0; \
6022 r=`${PWD_COMMAND}`; export r; \
6023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6025 for flag in $(EXTRA_HOST_FLAGS) ; do \
6026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6028 echo "Doing info in diff" ; \
6029 (cd $(HOST_SUBDIR)/diff && \
6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032 "RANLIB=$${RANLIB}" \
6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6039 .PHONY: maybe-dvi-diff dvi-diff
6042 maybe-dvi-diff: dvi-diff
6046 @[ -f ./diff/Makefile ] || exit 0; \
6047 r=`${PWD_COMMAND}`; export r; \
6048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 for flag in $(EXTRA_HOST_FLAGS) ; do \
6051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6053 echo "Doing dvi in diff" ; \
6054 (cd $(HOST_SUBDIR)/diff && \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6064 .PHONY: maybe-html-diff html-diff
6067 maybe-html-diff: html-diff
6071 @[ -f ./diff/Makefile ] || exit 0; \
6072 r=`${PWD_COMMAND}`; export r; \
6073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 for flag in $(EXTRA_HOST_FLAGS) ; do \
6076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6078 echo "Doing html in diff" ; \
6079 (cd $(HOST_SUBDIR)/diff && \
6080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6082 "RANLIB=$${RANLIB}" \
6083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6089 .PHONY: maybe-TAGS-diff TAGS-diff
6092 maybe-TAGS-diff: TAGS-diff
6096 @[ -f ./diff/Makefile ] || exit 0; \
6097 r=`${PWD_COMMAND}`; export r; \
6098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6100 for flag in $(EXTRA_HOST_FLAGS) ; do \
6101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6103 echo "Doing TAGS in diff" ; \
6104 (cd $(HOST_SUBDIR)/diff && \
6105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6107 "RANLIB=$${RANLIB}" \
6108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6114 .PHONY: maybe-install-info-diff install-info-diff
6115 maybe-install-info-diff:
6117 maybe-install-info-diff: install-info-diff
6119 install-info-diff: \
6122 @[ -f ./diff/Makefile ] || exit 0; \
6123 r=`${PWD_COMMAND}`; export r; \
6124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 for flag in $(EXTRA_HOST_FLAGS) ; do \
6127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6129 echo "Doing install-info in diff" ; \
6130 (cd $(HOST_SUBDIR)/diff && \
6131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6133 "RANLIB=$${RANLIB}" \
6134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6140 .PHONY: maybe-installcheck-diff installcheck-diff
6141 maybe-installcheck-diff:
6143 maybe-installcheck-diff: installcheck-diff
6145 installcheck-diff: \
6147 @[ -f ./diff/Makefile ] || exit 0; \
6148 r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 for flag in $(EXTRA_HOST_FLAGS) ; do \
6152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 echo "Doing installcheck in diff" ; \
6155 (cd $(HOST_SUBDIR)/diff && \
6156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6158 "RANLIB=$${RANLIB}" \
6159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6165 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6166 maybe-mostlyclean-diff:
6168 maybe-mostlyclean-diff: mostlyclean-diff
6171 @[ -f ./diff/Makefile ] || exit 0; \
6172 r=`${PWD_COMMAND}`; export r; \
6173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 for flag in $(EXTRA_HOST_FLAGS) ; do \
6176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6178 echo "Doing mostlyclean in diff" ; \
6179 (cd $(HOST_SUBDIR)/diff && \
6180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6182 "RANLIB=$${RANLIB}" \
6183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6189 .PHONY: maybe-clean-diff clean-diff
6192 maybe-clean-diff: clean-diff
6195 @[ -f ./diff/Makefile ] || exit 0; \
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6199 for flag in $(EXTRA_HOST_FLAGS) ; do \
6200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6202 echo "Doing clean in diff" ; \
6203 (cd $(HOST_SUBDIR)/diff && \
6204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6206 "RANLIB=$${RANLIB}" \
6207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6213 .PHONY: maybe-distclean-diff distclean-diff
6214 maybe-distclean-diff:
6216 maybe-distclean-diff: distclean-diff
6219 @[ -f ./diff/Makefile ] || exit 0; \
6220 r=`${PWD_COMMAND}`; export r; \
6221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6223 for flag in $(EXTRA_HOST_FLAGS) ; do \
6224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6226 echo "Doing distclean in diff" ; \
6227 (cd $(HOST_SUBDIR)/diff && \
6228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6230 "RANLIB=$${RANLIB}" \
6231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6237 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6238 maybe-maintainer-clean-diff:
6240 maybe-maintainer-clean-diff: maintainer-clean-diff
6242 maintainer-clean-diff:
6243 @[ -f ./diff/Makefile ] || exit 0; \
6244 r=`${PWD_COMMAND}`; export r; \
6245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6247 for flag in $(EXTRA_HOST_FLAGS) ; do \
6248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6250 echo "Doing maintainer-clean in diff" ; \
6251 (cd $(HOST_SUBDIR)/diff && \
6252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6254 "RANLIB=$${RANLIB}" \
6255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6262 .PHONY: configure-dosutils maybe-configure-dosutils
6263 maybe-configure-dosutils:
6265 maybe-configure-dosutils: configure-dosutils
6267 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
6268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
6269 r=`${PWD_COMMAND}`; export r; \
6270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6272 echo Configuring in dosutils; \
6273 cd $(HOST_SUBDIR)/dosutils || exit 1; \
6275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6276 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
6277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6279 srcdiroption="--srcdir=$${topdir}/dosutils"; \
6280 libsrcdir="$$s/dosutils"; \
6281 $(SHELL) $${libsrcdir}/configure \
6282 $(HOST_CONFIGARGS) $${srcdiroption} \
6286 .PHONY: all-dosutils maybe-all-dosutils
6290 maybe-all-dosutils: all-dosutils
6291 all-dosutils: configure-dosutils
6292 @r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6295 (cd $(HOST_SUBDIR)/dosutils && \
6296 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
6299 .PHONY: check-dosutils maybe-check-dosutils
6300 maybe-check-dosutils:
6302 maybe-check-dosutils: check-dosutils
6308 .PHONY: install-dosutils maybe-install-dosutils
6309 maybe-install-dosutils:
6311 maybe-install-dosutils: install-dosutils
6313 install-dosutils: installdirs
6314 @r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6317 (cd $(HOST_SUBDIR)/dosutils && \
6318 $(MAKE) $(FLAGS_TO_PASS) install)
6322 # Other targets (info, dvi, etc.)
6324 .PHONY: maybe-info-dosutils info-dosutils
6325 maybe-info-dosutils:
6327 maybe-info-dosutils: info-dosutils
6331 @[ -f ./dosutils/Makefile ] || exit 0; \
6332 r=`${PWD_COMMAND}`; export r; \
6333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6335 for flag in $(EXTRA_HOST_FLAGS) ; do \
6336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6338 echo "Doing info in dosutils" ; \
6339 (cd $(HOST_SUBDIR)/dosutils && \
6340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6342 "RANLIB=$${RANLIB}" \
6343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6349 .PHONY: maybe-dvi-dosutils dvi-dosutils
6352 maybe-dvi-dosutils: dvi-dosutils
6356 @[ -f ./dosutils/Makefile ] || exit 0; \
6357 r=`${PWD_COMMAND}`; export r; \
6358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6360 for flag in $(EXTRA_HOST_FLAGS) ; do \
6361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6363 echo "Doing dvi in dosutils" ; \
6364 (cd $(HOST_SUBDIR)/dosutils && \
6365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367 "RANLIB=$${RANLIB}" \
6368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6374 .PHONY: maybe-html-dosutils html-dosutils
6375 maybe-html-dosutils:
6377 maybe-html-dosutils: html-dosutils
6381 @[ -f ./dosutils/Makefile ] || exit 0; \
6382 r=`${PWD_COMMAND}`; export r; \
6383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6385 for flag in $(EXTRA_HOST_FLAGS) ; do \
6386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6388 echo "Doing html in dosutils" ; \
6389 (cd $(HOST_SUBDIR)/dosutils && \
6390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6392 "RANLIB=$${RANLIB}" \
6393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6399 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6400 maybe-TAGS-dosutils:
6402 maybe-TAGS-dosutils: TAGS-dosutils
6406 @[ -f ./dosutils/Makefile ] || exit 0; \
6407 r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6410 for flag in $(EXTRA_HOST_FLAGS) ; do \
6411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6413 echo "Doing TAGS in dosutils" ; \
6414 (cd $(HOST_SUBDIR)/dosutils && \
6415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6417 "RANLIB=$${RANLIB}" \
6418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6424 .PHONY: maybe-install-info-dosutils install-info-dosutils
6425 maybe-install-info-dosutils:
6427 maybe-install-info-dosutils: install-info-dosutils
6429 install-info-dosutils: \
6430 configure-dosutils \
6432 @[ -f ./dosutils/Makefile ] || exit 0; \
6433 r=`${PWD_COMMAND}`; export r; \
6434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6436 for flag in $(EXTRA_HOST_FLAGS) ; do \
6437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6439 echo "Doing install-info in dosutils" ; \
6440 (cd $(HOST_SUBDIR)/dosutils && \
6441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6443 "RANLIB=$${RANLIB}" \
6444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6450 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6451 maybe-installcheck-dosutils:
6453 maybe-installcheck-dosutils: installcheck-dosutils
6455 installcheck-dosutils: \
6457 @[ -f ./dosutils/Makefile ] || exit 0; \
6458 r=`${PWD_COMMAND}`; export r; \
6459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6461 for flag in $(EXTRA_HOST_FLAGS) ; do \
6462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6464 echo "Doing installcheck in dosutils" ; \
6465 (cd $(HOST_SUBDIR)/dosutils && \
6466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6468 "RANLIB=$${RANLIB}" \
6469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6475 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6476 maybe-mostlyclean-dosutils:
6478 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6480 mostlyclean-dosutils:
6481 @[ -f ./dosutils/Makefile ] || exit 0; \
6482 r=`${PWD_COMMAND}`; export r; \
6483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6485 for flag in $(EXTRA_HOST_FLAGS) ; do \
6486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6488 echo "Doing mostlyclean in dosutils" ; \
6489 (cd $(HOST_SUBDIR)/dosutils && \
6490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6492 "RANLIB=$${RANLIB}" \
6493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6499 .PHONY: maybe-clean-dosutils clean-dosutils
6500 maybe-clean-dosutils:
6502 maybe-clean-dosutils: clean-dosutils
6505 @[ -f ./dosutils/Makefile ] || exit 0; \
6506 r=`${PWD_COMMAND}`; export r; \
6507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6509 for flag in $(EXTRA_HOST_FLAGS) ; do \
6510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6512 echo "Doing clean in dosutils" ; \
6513 (cd $(HOST_SUBDIR)/dosutils && \
6514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6516 "RANLIB=$${RANLIB}" \
6517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6523 .PHONY: maybe-distclean-dosutils distclean-dosutils
6524 maybe-distclean-dosutils:
6526 maybe-distclean-dosutils: distclean-dosutils
6529 @[ -f ./dosutils/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6533 for flag in $(EXTRA_HOST_FLAGS) ; do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536 echo "Doing distclean in dosutils" ; \
6537 (cd $(HOST_SUBDIR)/dosutils && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6547 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6548 maybe-maintainer-clean-dosutils:
6550 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6552 maintainer-clean-dosutils:
6553 @[ -f ./dosutils/Makefile ] || exit 0; \
6554 r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 for flag in $(EXTRA_HOST_FLAGS) ; do \
6558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560 echo "Doing maintainer-clean in dosutils" ; \
6561 (cd $(HOST_SUBDIR)/dosutils && \
6562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6564 "RANLIB=$${RANLIB}" \
6565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6572 .PHONY: configure-etc maybe-configure-etc
6573 maybe-configure-etc:
6575 maybe-configure-etc: configure-etc
6577 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6579 r=`${PWD_COMMAND}`; export r; \
6580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 echo Configuring in etc; \
6583 cd $(HOST_SUBDIR)/etc || exit 1; \
6585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6586 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6589 srcdiroption="--srcdir=$${topdir}/etc"; \
6590 libsrcdir="$$s/etc"; \
6591 $(SHELL) $${libsrcdir}/configure \
6592 $(HOST_CONFIGARGS) $${srcdiroption} \
6596 .PHONY: all-etc maybe-all-etc
6600 maybe-all-etc: all-etc
6601 all-etc: configure-etc
6602 @r=`${PWD_COMMAND}`; export r; \
6603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6605 (cd $(HOST_SUBDIR)/etc && \
6606 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
6609 .PHONY: check-etc maybe-check-etc
6612 maybe-check-etc: check-etc
6615 @r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 (cd $(HOST_SUBDIR)/etc && \
6619 $(MAKE) $(FLAGS_TO_PASS) check)
6623 .PHONY: install-etc maybe-install-etc
6626 maybe-install-etc: install-etc
6628 install-etc: installdirs
6629 @r=`${PWD_COMMAND}`; export r; \
6630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6632 (cd $(HOST_SUBDIR)/etc && \
6633 $(MAKE) $(FLAGS_TO_PASS) install)
6637 # Other targets (info, dvi, etc.)
6639 .PHONY: maybe-info-etc info-etc
6642 maybe-info-etc: info-etc
6646 @[ -f ./etc/Makefile ] || exit 0; \
6647 r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6650 for flag in $(EXTRA_HOST_FLAGS) ; do \
6651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6653 echo "Doing info in etc" ; \
6654 (cd $(HOST_SUBDIR)/etc && \
6655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6657 "RANLIB=$${RANLIB}" \
6658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6664 .PHONY: maybe-dvi-etc dvi-etc
6667 maybe-dvi-etc: dvi-etc
6671 @[ -f ./etc/Makefile ] || exit 0; \
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 for flag in $(EXTRA_HOST_FLAGS) ; do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6678 echo "Doing dvi in etc" ; \
6679 (cd $(HOST_SUBDIR)/etc && \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6689 .PHONY: maybe-html-etc html-etc
6692 maybe-html-etc: html-etc
6696 @[ -f ./etc/Makefile ] || exit 0; \
6697 r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 for flag in $(EXTRA_HOST_FLAGS) ; do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 echo "Doing html in etc" ; \
6704 (cd $(HOST_SUBDIR)/etc && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6714 .PHONY: maybe-TAGS-etc TAGS-etc
6717 maybe-TAGS-etc: TAGS-etc
6721 @[ -f ./etc/Makefile ] || exit 0; \
6722 r=`${PWD_COMMAND}`; export r; \
6723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6725 for flag in $(EXTRA_HOST_FLAGS) ; do \
6726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6728 echo "Doing TAGS in etc" ; \
6729 (cd $(HOST_SUBDIR)/etc && \
6730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6732 "RANLIB=$${RANLIB}" \
6733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6739 .PHONY: maybe-install-info-etc install-info-etc
6740 maybe-install-info-etc:
6742 maybe-install-info-etc: install-info-etc
6747 @[ -f ./etc/Makefile ] || exit 0; \
6748 r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6751 for flag in $(EXTRA_HOST_FLAGS) ; do \
6752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6754 echo "Doing install-info in etc" ; \
6755 (cd $(HOST_SUBDIR)/etc && \
6756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6758 "RANLIB=$${RANLIB}" \
6759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6765 .PHONY: maybe-installcheck-etc installcheck-etc
6766 maybe-installcheck-etc:
6768 maybe-installcheck-etc: installcheck-etc
6772 @[ -f ./etc/Makefile ] || exit 0; \
6773 r=`${PWD_COMMAND}`; export r; \
6774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6776 for flag in $(EXTRA_HOST_FLAGS) ; do \
6777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6779 echo "Doing installcheck in etc" ; \
6780 (cd $(HOST_SUBDIR)/etc && \
6781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6783 "RANLIB=$${RANLIB}" \
6784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6790 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6791 maybe-mostlyclean-etc:
6793 maybe-mostlyclean-etc: mostlyclean-etc
6796 @[ -f ./etc/Makefile ] || exit 0; \
6797 r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 for flag in $(EXTRA_HOST_FLAGS) ; do \
6801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6803 echo "Doing mostlyclean in etc" ; \
6804 (cd $(HOST_SUBDIR)/etc && \
6805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807 "RANLIB=$${RANLIB}" \
6808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6814 .PHONY: maybe-clean-etc clean-etc
6817 maybe-clean-etc: clean-etc
6820 @[ -f ./etc/Makefile ] || exit 0; \
6821 r=`${PWD_COMMAND}`; export r; \
6822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 for flag in $(EXTRA_HOST_FLAGS) ; do \
6825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6827 echo "Doing clean in etc" ; \
6828 (cd $(HOST_SUBDIR)/etc && \
6829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6831 "RANLIB=$${RANLIB}" \
6832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6838 .PHONY: maybe-distclean-etc distclean-etc
6839 maybe-distclean-etc:
6841 maybe-distclean-etc: distclean-etc
6844 @[ -f ./etc/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6851 echo "Doing distclean in etc" ; \
6852 (cd $(HOST_SUBDIR)/etc && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6862 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6863 maybe-maintainer-clean-etc:
6865 maybe-maintainer-clean-etc: maintainer-clean-etc
6867 maintainer-clean-etc:
6868 @[ -f ./etc/Makefile ] || exit 0; \
6869 r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 for flag in $(EXTRA_HOST_FLAGS) ; do \
6873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6875 echo "Doing maintainer-clean in etc" ; \
6876 (cd $(HOST_SUBDIR)/etc && \
6877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879 "RANLIB=$${RANLIB}" \
6880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6887 .PHONY: configure-fastjar maybe-configure-fastjar
6888 maybe-configure-fastjar:
6890 maybe-configure-fastjar: configure-fastjar
6892 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
6893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
6894 r=`${PWD_COMMAND}`; export r; \
6895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6897 echo Configuring in fastjar; \
6898 cd $(HOST_SUBDIR)/fastjar || exit 1; \
6900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6901 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
6902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6904 srcdiroption="--srcdir=$${topdir}/fastjar"; \
6905 libsrcdir="$$s/fastjar"; \
6906 $(SHELL) $${libsrcdir}/configure \
6907 $(HOST_CONFIGARGS) $${srcdiroption} \
6911 .PHONY: all-fastjar maybe-all-fastjar
6915 maybe-all-fastjar: all-fastjar
6916 all-fastjar: configure-fastjar
6917 @r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 (cd $(HOST_SUBDIR)/fastjar && \
6921 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
6924 .PHONY: check-fastjar maybe-check-fastjar
6925 maybe-check-fastjar:
6927 maybe-check-fastjar: check-fastjar
6929 # This module is only tested in a native toolchain.
6931 @if [ '$(host)' = '$(target)' ] ; then \
6932 r=`${PWD_COMMAND}`; export r; \
6933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 (cd $(HOST_SUBDIR)/fastjar && \
6936 $(MAKE) $(FLAGS_TO_PASS) check); \
6941 .PHONY: install-fastjar maybe-install-fastjar
6942 maybe-install-fastjar:
6944 maybe-install-fastjar: install-fastjar
6946 install-fastjar: installdirs
6947 @r=`${PWD_COMMAND}`; export r; \
6948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6950 (cd $(HOST_SUBDIR)/fastjar && \
6951 $(MAKE) $(FLAGS_TO_PASS) install)
6955 # Other targets (info, dvi, etc.)
6957 .PHONY: maybe-info-fastjar info-fastjar
6960 maybe-info-fastjar: info-fastjar
6964 @[ -f ./fastjar/Makefile ] || exit 0; \
6965 r=`${PWD_COMMAND}`; export r; \
6966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6968 for flag in $(EXTRA_HOST_FLAGS) ; do \
6969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6971 echo "Doing info in fastjar" ; \
6972 (cd $(HOST_SUBDIR)/fastjar && \
6973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6975 "RANLIB=$${RANLIB}" \
6976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6982 .PHONY: maybe-dvi-fastjar dvi-fastjar
6985 maybe-dvi-fastjar: dvi-fastjar
6989 @[ -f ./fastjar/Makefile ] || exit 0; \
6990 r=`${PWD_COMMAND}`; export r; \
6991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6993 for flag in $(EXTRA_HOST_FLAGS) ; do \
6994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6996 echo "Doing dvi in fastjar" ; \
6997 (cd $(HOST_SUBDIR)/fastjar && \
6998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7000 "RANLIB=$${RANLIB}" \
7001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7007 .PHONY: maybe-html-fastjar html-fastjar
7010 maybe-html-fastjar: html-fastjar
7014 @[ -f ./fastjar/Makefile ] || exit 0; \
7015 r=`${PWD_COMMAND}`; export r; \
7016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7018 for flag in $(EXTRA_HOST_FLAGS) ; do \
7019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7021 echo "Doing html in fastjar" ; \
7022 (cd $(HOST_SUBDIR)/fastjar && \
7023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7025 "RANLIB=$${RANLIB}" \
7026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7032 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7035 maybe-TAGS-fastjar: TAGS-fastjar
7039 @[ -f ./fastjar/Makefile ] || exit 0; \
7040 r=`${PWD_COMMAND}`; export r; \
7041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7043 for flag in $(EXTRA_HOST_FLAGS) ; do \
7044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7046 echo "Doing TAGS in fastjar" ; \
7047 (cd $(HOST_SUBDIR)/fastjar && \
7048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7050 "RANLIB=$${RANLIB}" \
7051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7057 .PHONY: maybe-install-info-fastjar install-info-fastjar
7058 maybe-install-info-fastjar:
7060 maybe-install-info-fastjar: install-info-fastjar
7062 install-info-fastjar: \
7065 @[ -f ./fastjar/Makefile ] || exit 0; \
7066 r=`${PWD_COMMAND}`; export r; \
7067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7069 for flag in $(EXTRA_HOST_FLAGS) ; do \
7070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7072 echo "Doing install-info in fastjar" ; \
7073 (cd $(HOST_SUBDIR)/fastjar && \
7074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076 "RANLIB=$${RANLIB}" \
7077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7083 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7084 maybe-installcheck-fastjar:
7086 maybe-installcheck-fastjar: installcheck-fastjar
7088 installcheck-fastjar: \
7090 @[ -f ./fastjar/Makefile ] || exit 0; \
7091 r=`${PWD_COMMAND}`; export r; \
7092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7094 for flag in $(EXTRA_HOST_FLAGS) ; do \
7095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7097 echo "Doing installcheck in fastjar" ; \
7098 (cd $(HOST_SUBDIR)/fastjar && \
7099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7101 "RANLIB=$${RANLIB}" \
7102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7108 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7109 maybe-mostlyclean-fastjar:
7111 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7113 mostlyclean-fastjar:
7114 @[ -f ./fastjar/Makefile ] || exit 0; \
7115 r=`${PWD_COMMAND}`; export r; \
7116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 for flag in $(EXTRA_HOST_FLAGS) ; do \
7119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7121 echo "Doing mostlyclean in fastjar" ; \
7122 (cd $(HOST_SUBDIR)/fastjar && \
7123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7125 "RANLIB=$${RANLIB}" \
7126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7132 .PHONY: maybe-clean-fastjar clean-fastjar
7133 maybe-clean-fastjar:
7135 maybe-clean-fastjar: clean-fastjar
7138 @[ -f ./fastjar/Makefile ] || exit 0; \
7139 r=`${PWD_COMMAND}`; export r; \
7140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7142 for flag in $(EXTRA_HOST_FLAGS) ; do \
7143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7145 echo "Doing clean in fastjar" ; \
7146 (cd $(HOST_SUBDIR)/fastjar && \
7147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7149 "RANLIB=$${RANLIB}" \
7150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7156 .PHONY: maybe-distclean-fastjar distclean-fastjar
7157 maybe-distclean-fastjar:
7159 maybe-distclean-fastjar: distclean-fastjar
7162 @[ -f ./fastjar/Makefile ] || exit 0; \
7163 r=`${PWD_COMMAND}`; export r; \
7164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7166 for flag in $(EXTRA_HOST_FLAGS) ; do \
7167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7169 echo "Doing distclean in fastjar" ; \
7170 (cd $(HOST_SUBDIR)/fastjar && \
7171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7173 "RANLIB=$${RANLIB}" \
7174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7180 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7181 maybe-maintainer-clean-fastjar:
7183 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7185 maintainer-clean-fastjar:
7186 @[ -f ./fastjar/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7190 for flag in $(EXTRA_HOST_FLAGS) ; do \
7191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7193 echo "Doing maintainer-clean in fastjar" ; \
7194 (cd $(HOST_SUBDIR)/fastjar && \
7195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197 "RANLIB=$${RANLIB}" \
7198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7205 .PHONY: configure-fileutils maybe-configure-fileutils
7206 maybe-configure-fileutils:
7208 maybe-configure-fileutils: configure-fileutils
7209 configure-fileutils:
7210 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
7211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
7212 r=`${PWD_COMMAND}`; export r; \
7213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7215 echo Configuring in fileutils; \
7216 cd $(HOST_SUBDIR)/fileutils || exit 1; \
7218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7219 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
7220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7222 srcdiroption="--srcdir=$${topdir}/fileutils"; \
7223 libsrcdir="$$s/fileutils"; \
7224 $(SHELL) $${libsrcdir}/configure \
7225 $(HOST_CONFIGARGS) $${srcdiroption} \
7229 .PHONY: all-fileutils maybe-all-fileutils
7230 maybe-all-fileutils:
7232 TARGET-fileutils=all
7233 maybe-all-fileutils: all-fileutils
7234 all-fileutils: configure-fileutils
7235 @r=`${PWD_COMMAND}`; export r; \
7236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7238 (cd $(HOST_SUBDIR)/fileutils && \
7239 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
7242 .PHONY: check-fileutils maybe-check-fileutils
7243 maybe-check-fileutils:
7245 maybe-check-fileutils: check-fileutils
7248 @r=`${PWD_COMMAND}`; export r; \
7249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7251 (cd $(HOST_SUBDIR)/fileutils && \
7252 $(MAKE) $(FLAGS_TO_PASS) check)
7256 .PHONY: install-fileutils maybe-install-fileutils
7257 maybe-install-fileutils:
7259 maybe-install-fileutils: install-fileutils
7261 install-fileutils: installdirs
7262 @r=`${PWD_COMMAND}`; export r; \
7263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7265 (cd $(HOST_SUBDIR)/fileutils && \
7266 $(MAKE) $(FLAGS_TO_PASS) install)
7270 # Other targets (info, dvi, etc.)
7272 .PHONY: maybe-info-fileutils info-fileutils
7273 maybe-info-fileutils:
7275 maybe-info-fileutils: info-fileutils
7279 @[ -f ./fileutils/Makefile ] || exit 0; \
7280 r=`${PWD_COMMAND}`; export r; \
7281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7283 for flag in $(EXTRA_HOST_FLAGS) ; do \
7284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7286 echo "Doing info in fileutils" ; \
7287 (cd $(HOST_SUBDIR)/fileutils && \
7288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7290 "RANLIB=$${RANLIB}" \
7291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7297 .PHONY: maybe-dvi-fileutils dvi-fileutils
7298 maybe-dvi-fileutils:
7300 maybe-dvi-fileutils: dvi-fileutils
7304 @[ -f ./fileutils/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7308 for flag in $(EXTRA_HOST_FLAGS) ; do \
7309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7311 echo "Doing dvi in fileutils" ; \
7312 (cd $(HOST_SUBDIR)/fileutils && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315 "RANLIB=$${RANLIB}" \
7316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7322 .PHONY: maybe-html-fileutils html-fileutils
7323 maybe-html-fileutils:
7325 maybe-html-fileutils: html-fileutils
7329 @[ -f ./fileutils/Makefile ] || exit 0; \
7330 r=`${PWD_COMMAND}`; export r; \
7331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7333 for flag in $(EXTRA_HOST_FLAGS) ; do \
7334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7336 echo "Doing html in fileutils" ; \
7337 (cd $(HOST_SUBDIR)/fileutils && \
7338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7340 "RANLIB=$${RANLIB}" \
7341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7348 maybe-TAGS-fileutils:
7350 maybe-TAGS-fileutils: TAGS-fileutils
7354 @[ -f ./fileutils/Makefile ] || exit 0; \
7355 r=`${PWD_COMMAND}`; export r; \
7356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7358 for flag in $(EXTRA_HOST_FLAGS) ; do \
7359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7361 echo "Doing TAGS in fileutils" ; \
7362 (cd $(HOST_SUBDIR)/fileutils && \
7363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7365 "RANLIB=$${RANLIB}" \
7366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7372 .PHONY: maybe-install-info-fileutils install-info-fileutils
7373 maybe-install-info-fileutils:
7375 maybe-install-info-fileutils: install-info-fileutils
7377 install-info-fileutils: \
7378 configure-fileutils \
7380 @[ -f ./fileutils/Makefile ] || exit 0; \
7381 r=`${PWD_COMMAND}`; export r; \
7382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7384 for flag in $(EXTRA_HOST_FLAGS) ; do \
7385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7387 echo "Doing install-info in fileutils" ; \
7388 (cd $(HOST_SUBDIR)/fileutils && \
7389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7391 "RANLIB=$${RANLIB}" \
7392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7398 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7399 maybe-installcheck-fileutils:
7401 maybe-installcheck-fileutils: installcheck-fileutils
7403 installcheck-fileutils: \
7405 @[ -f ./fileutils/Makefile ] || exit 0; \
7406 r=`${PWD_COMMAND}`; export r; \
7407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7409 for flag in $(EXTRA_HOST_FLAGS) ; do \
7410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7412 echo "Doing installcheck in fileutils" ; \
7413 (cd $(HOST_SUBDIR)/fileutils && \
7414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7416 "RANLIB=$${RANLIB}" \
7417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7423 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7424 maybe-mostlyclean-fileutils:
7426 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7428 mostlyclean-fileutils:
7429 @[ -f ./fileutils/Makefile ] || exit 0; \
7430 r=`${PWD_COMMAND}`; export r; \
7431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 for flag in $(EXTRA_HOST_FLAGS) ; do \
7434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7436 echo "Doing mostlyclean in fileutils" ; \
7437 (cd $(HOST_SUBDIR)/fileutils && \
7438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7440 "RANLIB=$${RANLIB}" \
7441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7447 .PHONY: maybe-clean-fileutils clean-fileutils
7448 maybe-clean-fileutils:
7450 maybe-clean-fileutils: clean-fileutils
7453 @[ -f ./fileutils/Makefile ] || exit 0; \
7454 r=`${PWD_COMMAND}`; export r; \
7455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7457 for flag in $(EXTRA_HOST_FLAGS) ; do \
7458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7460 echo "Doing clean in fileutils" ; \
7461 (cd $(HOST_SUBDIR)/fileutils && \
7462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7464 "RANLIB=$${RANLIB}" \
7465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7471 .PHONY: maybe-distclean-fileutils distclean-fileutils
7472 maybe-distclean-fileutils:
7474 maybe-distclean-fileutils: distclean-fileutils
7476 distclean-fileutils:
7477 @[ -f ./fileutils/Makefile ] || exit 0; \
7478 r=`${PWD_COMMAND}`; export r; \
7479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7481 for flag in $(EXTRA_HOST_FLAGS) ; do \
7482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7484 echo "Doing distclean in fileutils" ; \
7485 (cd $(HOST_SUBDIR)/fileutils && \
7486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7488 "RANLIB=$${RANLIB}" \
7489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7495 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7496 maybe-maintainer-clean-fileutils:
7498 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7500 maintainer-clean-fileutils:
7501 @[ -f ./fileutils/Makefile ] || exit 0; \
7502 r=`${PWD_COMMAND}`; export r; \
7503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7505 for flag in $(EXTRA_HOST_FLAGS) ; do \
7506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7508 echo "Doing maintainer-clean in fileutils" ; \
7509 (cd $(HOST_SUBDIR)/fileutils && \
7510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7512 "RANLIB=$${RANLIB}" \
7513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7520 .PHONY: configure-findutils maybe-configure-findutils
7521 maybe-configure-findutils:
7523 maybe-configure-findutils: configure-findutils
7524 configure-findutils:
7525 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
7526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
7527 r=`${PWD_COMMAND}`; export r; \
7528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7530 echo Configuring in findutils; \
7531 cd $(HOST_SUBDIR)/findutils || exit 1; \
7533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7534 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
7535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7537 srcdiroption="--srcdir=$${topdir}/findutils"; \
7538 libsrcdir="$$s/findutils"; \
7539 $(SHELL) $${libsrcdir}/configure \
7540 $(HOST_CONFIGARGS) $${srcdiroption} \
7544 .PHONY: all-findutils maybe-all-findutils
7545 maybe-all-findutils:
7547 TARGET-findutils=all
7548 maybe-all-findutils: all-findutils
7549 all-findutils: configure-findutils
7550 @r=`${PWD_COMMAND}`; export r; \
7551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7553 (cd $(HOST_SUBDIR)/findutils && \
7554 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
7557 .PHONY: check-findutils maybe-check-findutils
7558 maybe-check-findutils:
7560 maybe-check-findutils: check-findutils
7563 @r=`${PWD_COMMAND}`; export r; \
7564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 (cd $(HOST_SUBDIR)/findutils && \
7567 $(MAKE) $(FLAGS_TO_PASS) check)
7571 .PHONY: install-findutils maybe-install-findutils
7572 maybe-install-findutils:
7574 maybe-install-findutils: install-findutils
7576 install-findutils: installdirs
7577 @r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7580 (cd $(HOST_SUBDIR)/findutils && \
7581 $(MAKE) $(FLAGS_TO_PASS) install)
7585 # Other targets (info, dvi, etc.)
7587 .PHONY: maybe-info-findutils info-findutils
7588 maybe-info-findutils:
7590 maybe-info-findutils: info-findutils
7594 @[ -f ./findutils/Makefile ] || exit 0; \
7595 r=`${PWD_COMMAND}`; export r; \
7596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7598 for flag in $(EXTRA_HOST_FLAGS) ; do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7601 echo "Doing info in findutils" ; \
7602 (cd $(HOST_SUBDIR)/findutils && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612 .PHONY: maybe-dvi-findutils dvi-findutils
7613 maybe-dvi-findutils:
7615 maybe-dvi-findutils: dvi-findutils
7619 @[ -f ./findutils/Makefile ] || exit 0; \
7620 r=`${PWD_COMMAND}`; export r; \
7621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 for flag in $(EXTRA_HOST_FLAGS) ; do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7626 echo "Doing dvi in findutils" ; \
7627 (cd $(HOST_SUBDIR)/findutils && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7637 .PHONY: maybe-html-findutils html-findutils
7638 maybe-html-findutils:
7640 maybe-html-findutils: html-findutils
7644 @[ -f ./findutils/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 html in findutils" ; \
7652 (cd $(HOST_SUBDIR)/findutils && \
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-TAGS-findutils TAGS-findutils
7663 maybe-TAGS-findutils:
7665 maybe-TAGS-findutils: TAGS-findutils
7669 @[ -f ./findutils/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 TAGS in findutils" ; \
7677 (cd $(HOST_SUBDIR)/findutils && \
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-install-info-findutils install-info-findutils
7688 maybe-install-info-findutils:
7690 maybe-install-info-findutils: install-info-findutils
7692 install-info-findutils: \
7693 configure-findutils \
7695 @[ -f ./findutils/Makefile ] || exit 0; \
7696 r=`${PWD_COMMAND}`; export r; \
7697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 for flag in $(EXTRA_HOST_FLAGS) ; do \
7700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7702 echo "Doing install-info in findutils" ; \
7703 (cd $(HOST_SUBDIR)/findutils && \
7704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7706 "RANLIB=$${RANLIB}" \
7707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7713 .PHONY: maybe-installcheck-findutils installcheck-findutils
7714 maybe-installcheck-findutils:
7716 maybe-installcheck-findutils: installcheck-findutils
7718 installcheck-findutils: \
7720 @[ -f ./findutils/Makefile ] || exit 0; \
7721 r=`${PWD_COMMAND}`; export r; \
7722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 for flag in $(EXTRA_HOST_FLAGS) ; do \
7725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7727 echo "Doing installcheck in findutils" ; \
7728 (cd $(HOST_SUBDIR)/findutils && \
7729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7731 "RANLIB=$${RANLIB}" \
7732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7738 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7739 maybe-mostlyclean-findutils:
7741 maybe-mostlyclean-findutils: mostlyclean-findutils
7743 mostlyclean-findutils:
7744 @[ -f ./findutils/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 mostlyclean in findutils" ; \
7752 (cd $(HOST_SUBDIR)/findutils && \
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}" \
7762 .PHONY: maybe-clean-findutils clean-findutils
7763 maybe-clean-findutils:
7765 maybe-clean-findutils: clean-findutils
7768 @[ -f ./findutils/Makefile ] || exit 0; \
7769 r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 for flag in $(EXTRA_HOST_FLAGS) ; do \
7773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7775 echo "Doing clean in findutils" ; \
7776 (cd $(HOST_SUBDIR)/findutils && \
7777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7779 "RANLIB=$${RANLIB}" \
7780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7786 .PHONY: maybe-distclean-findutils distclean-findutils
7787 maybe-distclean-findutils:
7789 maybe-distclean-findutils: distclean-findutils
7791 distclean-findutils:
7792 @[ -f ./findutils/Makefile ] || exit 0; \
7793 r=`${PWD_COMMAND}`; export r; \
7794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 for flag in $(EXTRA_HOST_FLAGS) ; do \
7797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7799 echo "Doing distclean in findutils" ; \
7800 (cd $(HOST_SUBDIR)/findutils && \
7801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7803 "RANLIB=$${RANLIB}" \
7804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7810 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7811 maybe-maintainer-clean-findutils:
7813 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7815 maintainer-clean-findutils:
7816 @[ -f ./findutils/Makefile ] || exit 0; \
7817 r=`${PWD_COMMAND}`; export r; \
7818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7820 for flag in $(EXTRA_HOST_FLAGS) ; do \
7821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7823 echo "Doing maintainer-clean in findutils" ; \
7824 (cd $(HOST_SUBDIR)/findutils && \
7825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7827 "RANLIB=$${RANLIB}" \
7828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7835 .PHONY: configure-find maybe-configure-find
7836 maybe-configure-find:
7838 maybe-configure-find: configure-find
7840 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
7841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
7842 r=`${PWD_COMMAND}`; export r; \
7843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845 echo Configuring in find; \
7846 cd $(HOST_SUBDIR)/find || exit 1; \
7848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7849 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
7850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7852 srcdiroption="--srcdir=$${topdir}/find"; \
7853 libsrcdir="$$s/find"; \
7854 $(SHELL) $${libsrcdir}/configure \
7855 $(HOST_CONFIGARGS) $${srcdiroption} \
7859 .PHONY: all-find maybe-all-find
7863 maybe-all-find: all-find
7864 all-find: configure-find
7865 @r=`${PWD_COMMAND}`; export r; \
7866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7868 (cd $(HOST_SUBDIR)/find && \
7869 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
7872 .PHONY: check-find maybe-check-find
7875 maybe-check-find: check-find
7878 @r=`${PWD_COMMAND}`; export r; \
7879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7881 (cd $(HOST_SUBDIR)/find && \
7882 $(MAKE) $(FLAGS_TO_PASS) check)
7886 .PHONY: install-find maybe-install-find
7889 maybe-install-find: install-find
7891 install-find: installdirs
7892 @r=`${PWD_COMMAND}`; export r; \
7893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 (cd $(HOST_SUBDIR)/find && \
7896 $(MAKE) $(FLAGS_TO_PASS) install)
7900 # Other targets (info, dvi, etc.)
7902 .PHONY: maybe-info-find info-find
7905 maybe-info-find: info-find
7909 @[ -f ./find/Makefile ] || exit 0; \
7910 r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7913 for flag in $(EXTRA_HOST_FLAGS) ; do \
7914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7916 echo "Doing info in find" ; \
7917 (cd $(HOST_SUBDIR)/find && \
7918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7920 "RANLIB=$${RANLIB}" \
7921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7927 .PHONY: maybe-dvi-find dvi-find
7930 maybe-dvi-find: dvi-find
7934 @[ -f ./find/Makefile ] || exit 0; \
7935 r=`${PWD_COMMAND}`; export r; \
7936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7938 for flag in $(EXTRA_HOST_FLAGS) ; do \
7939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7941 echo "Doing dvi in find" ; \
7942 (cd $(HOST_SUBDIR)/find && \
7943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7945 "RANLIB=$${RANLIB}" \
7946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7952 .PHONY: maybe-html-find html-find
7955 maybe-html-find: html-find
7959 @[ -f ./find/Makefile ] || exit 0; \
7960 r=`${PWD_COMMAND}`; export r; \
7961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 for flag in $(EXTRA_HOST_FLAGS) ; do \
7964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7966 echo "Doing html in find" ; \
7967 (cd $(HOST_SUBDIR)/find && \
7968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7970 "RANLIB=$${RANLIB}" \
7971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7977 .PHONY: maybe-TAGS-find TAGS-find
7980 maybe-TAGS-find: TAGS-find
7984 @[ -f ./find/Makefile ] || exit 0; \
7985 r=`${PWD_COMMAND}`; export r; \
7986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 for flag in $(EXTRA_HOST_FLAGS) ; do \
7989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 echo "Doing TAGS in find" ; \
7992 (cd $(HOST_SUBDIR)/find && \
7993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7995 "RANLIB=$${RANLIB}" \
7996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8002 .PHONY: maybe-install-info-find install-info-find
8003 maybe-install-info-find:
8005 maybe-install-info-find: install-info-find
8007 install-info-find: \
8010 @[ -f ./find/Makefile ] || exit 0; \
8011 r=`${PWD_COMMAND}`; export r; \
8012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8014 for flag in $(EXTRA_HOST_FLAGS) ; do \
8015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 echo "Doing install-info in find" ; \
8018 (cd $(HOST_SUBDIR)/find && \
8019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8021 "RANLIB=$${RANLIB}" \
8022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8028 .PHONY: maybe-installcheck-find installcheck-find
8029 maybe-installcheck-find:
8031 maybe-installcheck-find: installcheck-find
8033 installcheck-find: \
8035 @[ -f ./find/Makefile ] || exit 0; \
8036 r=`${PWD_COMMAND}`; export r; \
8037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8039 for flag in $(EXTRA_HOST_FLAGS) ; do \
8040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8042 echo "Doing installcheck in find" ; \
8043 (cd $(HOST_SUBDIR)/find && \
8044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8046 "RANLIB=$${RANLIB}" \
8047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8053 .PHONY: maybe-mostlyclean-find mostlyclean-find
8054 maybe-mostlyclean-find:
8056 maybe-mostlyclean-find: mostlyclean-find
8059 @[ -f ./find/Makefile ] || exit 0; \
8060 r=`${PWD_COMMAND}`; export r; \
8061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8063 for flag in $(EXTRA_HOST_FLAGS) ; do \
8064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8066 echo "Doing mostlyclean in find" ; \
8067 (cd $(HOST_SUBDIR)/find && \
8068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8070 "RANLIB=$${RANLIB}" \
8071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8077 .PHONY: maybe-clean-find clean-find
8080 maybe-clean-find: clean-find
8083 @[ -f ./find/Makefile ] || exit 0; \
8084 r=`${PWD_COMMAND}`; export r; \
8085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 for flag in $(EXTRA_HOST_FLAGS) ; do \
8088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8090 echo "Doing clean in find" ; \
8091 (cd $(HOST_SUBDIR)/find && \
8092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8094 "RANLIB=$${RANLIB}" \
8095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8101 .PHONY: maybe-distclean-find distclean-find
8102 maybe-distclean-find:
8104 maybe-distclean-find: distclean-find
8107 @[ -f ./find/Makefile ] || exit 0; \
8108 r=`${PWD_COMMAND}`; export r; \
8109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8111 for flag in $(EXTRA_HOST_FLAGS) ; do \
8112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8114 echo "Doing distclean in find" ; \
8115 (cd $(HOST_SUBDIR)/find && \
8116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8118 "RANLIB=$${RANLIB}" \
8119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8125 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8126 maybe-maintainer-clean-find:
8128 maybe-maintainer-clean-find: maintainer-clean-find
8130 maintainer-clean-find:
8131 @[ -f ./find/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8135 for flag in $(EXTRA_HOST_FLAGS) ; do \
8136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8138 echo "Doing maintainer-clean in find" ; \
8139 (cd $(HOST_SUBDIR)/find && \
8140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8142 "RANLIB=$${RANLIB}" \
8143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8150 .PHONY: configure-fixincludes maybe-configure-fixincludes
8151 maybe-configure-fixincludes:
8153 maybe-configure-fixincludes: configure-fixincludes
8154 configure-fixincludes:
8155 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8157 r=`${PWD_COMMAND}`; export r; \
8158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8160 echo Configuring in fixincludes; \
8161 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8164 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8167 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8168 libsrcdir="$$s/fixincludes"; \
8169 $(SHELL) $${libsrcdir}/configure \
8170 $(HOST_CONFIGARGS) $${srcdiroption} \
8174 .PHONY: all-fixincludes maybe-all-fixincludes
8175 maybe-all-fixincludes:
8177 TARGET-fixincludes=all
8178 maybe-all-fixincludes: all-fixincludes
8179 all-fixincludes: configure-fixincludes
8180 @r=`${PWD_COMMAND}`; export r; \
8181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 (cd $(HOST_SUBDIR)/fixincludes && \
8184 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
8187 .PHONY: check-fixincludes maybe-check-fixincludes
8188 maybe-check-fixincludes:
8190 maybe-check-fixincludes: check-fixincludes
8193 @r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 (cd $(HOST_SUBDIR)/fixincludes && \
8197 $(MAKE) $(FLAGS_TO_PASS) check)
8201 .PHONY: install-fixincludes maybe-install-fixincludes
8202 maybe-install-fixincludes:
8204 maybe-install-fixincludes: install-fixincludes
8206 install-fixincludes: installdirs
8207 @r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8210 (cd $(HOST_SUBDIR)/fixincludes && \
8211 $(MAKE) $(FLAGS_TO_PASS) install)
8215 # Other targets (info, dvi, etc.)
8217 .PHONY: maybe-info-fixincludes info-fixincludes
8218 maybe-info-fixincludes:
8220 maybe-info-fixincludes: info-fixincludes
8222 # fixincludes doesn't support info.
8227 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8228 maybe-dvi-fixincludes:
8230 maybe-dvi-fixincludes: dvi-fixincludes
8232 # fixincludes doesn't support dvi.
8237 .PHONY: maybe-html-fixincludes html-fixincludes
8238 maybe-html-fixincludes:
8240 maybe-html-fixincludes: html-fixincludes
8243 configure-fixincludes
8244 @[ -f ./fixincludes/Makefile ] || exit 0; \
8245 r=`${PWD_COMMAND}`; export r; \
8246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8248 for flag in $(EXTRA_HOST_FLAGS) ; do \
8249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8251 echo "Doing html in fixincludes" ; \
8252 (cd $(HOST_SUBDIR)/fixincludes && \
8253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8255 "RANLIB=$${RANLIB}" \
8256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8262 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8263 maybe-TAGS-fixincludes:
8265 maybe-TAGS-fixincludes: TAGS-fixincludes
8267 # fixincludes doesn't support TAGS.
8272 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8273 maybe-install-info-fixincludes:
8275 maybe-install-info-fixincludes: install-info-fixincludes
8277 # fixincludes doesn't support install-info.
8278 install-info-fixincludes:
8282 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8283 maybe-installcheck-fixincludes:
8285 maybe-installcheck-fixincludes: installcheck-fixincludes
8287 # fixincludes doesn't support installcheck.
8288 installcheck-fixincludes:
8292 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8293 maybe-mostlyclean-fixincludes:
8295 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8297 mostlyclean-fixincludes:
8298 @[ -f ./fixincludes/Makefile ] || exit 0; \
8299 r=`${PWD_COMMAND}`; export r; \
8300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8302 for flag in $(EXTRA_HOST_FLAGS) ; do \
8303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8305 echo "Doing mostlyclean in fixincludes" ; \
8306 (cd $(HOST_SUBDIR)/fixincludes && \
8307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8309 "RANLIB=$${RANLIB}" \
8310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8316 .PHONY: maybe-clean-fixincludes clean-fixincludes
8317 maybe-clean-fixincludes:
8319 maybe-clean-fixincludes: clean-fixincludes
8322 @[ -f ./fixincludes/Makefile ] || exit 0; \
8323 r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8326 for flag in $(EXTRA_HOST_FLAGS) ; do \
8327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8329 echo "Doing clean in fixincludes" ; \
8330 (cd $(HOST_SUBDIR)/fixincludes && \
8331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8333 "RANLIB=$${RANLIB}" \
8334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8340 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8341 maybe-distclean-fixincludes:
8343 maybe-distclean-fixincludes: distclean-fixincludes
8345 distclean-fixincludes:
8346 @[ -f ./fixincludes/Makefile ] || exit 0; \
8347 r=`${PWD_COMMAND}`; export r; \
8348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8350 for flag in $(EXTRA_HOST_FLAGS) ; do \
8351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8353 echo "Doing distclean in fixincludes" ; \
8354 (cd $(HOST_SUBDIR)/fixincludes && \
8355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8357 "RANLIB=$${RANLIB}" \
8358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8364 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8365 maybe-maintainer-clean-fixincludes:
8367 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8369 maintainer-clean-fixincludes:
8370 @[ -f ./fixincludes/Makefile ] || exit 0; \
8371 r=`${PWD_COMMAND}`; export r; \
8372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8374 for flag in $(EXTRA_HOST_FLAGS) ; do \
8375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8377 echo "Doing maintainer-clean in fixincludes" ; \
8378 (cd $(HOST_SUBDIR)/fixincludes && \
8379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8381 "RANLIB=$${RANLIB}" \
8382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8389 .PHONY: configure-flex maybe-configure-flex
8390 maybe-configure-flex:
8392 maybe-configure-flex: configure-flex
8394 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8396 r=`${PWD_COMMAND}`; export r; \
8397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8399 echo Configuring in flex; \
8400 cd $(HOST_SUBDIR)/flex || exit 1; \
8402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8403 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8406 srcdiroption="--srcdir=$${topdir}/flex"; \
8407 libsrcdir="$$s/flex"; \
8408 $(SHELL) $${libsrcdir}/configure \
8409 $(HOST_CONFIGARGS) $${srcdiroption} \
8413 .PHONY: all-flex maybe-all-flex
8417 maybe-all-flex: all-flex
8418 all-flex: configure-flex
8419 @r=`${PWD_COMMAND}`; export r; \
8420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8422 (cd $(HOST_SUBDIR)/flex && \
8423 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
8426 .PHONY: check-flex maybe-check-flex
8429 maybe-check-flex: check-flex
8431 # This module is only tested in a native toolchain.
8433 @if [ '$(host)' = '$(target)' ] ; then \
8434 r=`${PWD_COMMAND}`; export r; \
8435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8437 (cd $(HOST_SUBDIR)/flex && \
8438 $(MAKE) $(FLAGS_TO_PASS) check); \
8443 .PHONY: install-flex maybe-install-flex
8446 maybe-install-flex: install-flex
8448 install-flex: installdirs
8449 @r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8452 (cd $(HOST_SUBDIR)/flex && \
8453 $(MAKE) $(FLAGS_TO_PASS) install)
8457 # Other targets (info, dvi, etc.)
8459 .PHONY: maybe-info-flex info-flex
8462 maybe-info-flex: info-flex
8466 @[ -f ./flex/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 for flag in $(EXTRA_HOST_FLAGS) ; do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 echo "Doing info in flex" ; \
8474 (cd $(HOST_SUBDIR)/flex && \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8484 .PHONY: maybe-dvi-flex dvi-flex
8487 maybe-dvi-flex: dvi-flex
8491 @[ -f ./flex/Makefile ] || exit 0; \
8492 r=`${PWD_COMMAND}`; export r; \
8493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8495 for flag in $(EXTRA_HOST_FLAGS) ; do \
8496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8498 echo "Doing dvi in flex" ; \
8499 (cd $(HOST_SUBDIR)/flex && \
8500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8502 "RANLIB=$${RANLIB}" \
8503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8509 .PHONY: maybe-html-flex html-flex
8512 maybe-html-flex: html-flex
8516 @[ -f ./flex/Makefile ] || exit 0; \
8517 r=`${PWD_COMMAND}`; export r; \
8518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8520 for flag in $(EXTRA_HOST_FLAGS) ; do \
8521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8523 echo "Doing html in flex" ; \
8524 (cd $(HOST_SUBDIR)/flex && \
8525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8527 "RANLIB=$${RANLIB}" \
8528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 .PHONY: maybe-TAGS-flex TAGS-flex
8537 maybe-TAGS-flex: TAGS-flex
8541 @[ -f ./flex/Makefile ] || exit 0; \
8542 r=`${PWD_COMMAND}`; export r; \
8543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8545 for flag in $(EXTRA_HOST_FLAGS) ; do \
8546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8548 echo "Doing TAGS in flex" ; \
8549 (cd $(HOST_SUBDIR)/flex && \
8550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8552 "RANLIB=$${RANLIB}" \
8553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8559 .PHONY: maybe-install-info-flex install-info-flex
8560 maybe-install-info-flex:
8562 maybe-install-info-flex: install-info-flex
8564 install-info-flex: \
8567 @[ -f ./flex/Makefile ] || exit 0; \
8568 r=`${PWD_COMMAND}`; export r; \
8569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8571 for flag in $(EXTRA_HOST_FLAGS) ; do \
8572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8574 echo "Doing install-info in flex" ; \
8575 (cd $(HOST_SUBDIR)/flex && \
8576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8578 "RANLIB=$${RANLIB}" \
8579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8585 .PHONY: maybe-installcheck-flex installcheck-flex
8586 maybe-installcheck-flex:
8588 maybe-installcheck-flex: installcheck-flex
8590 installcheck-flex: \
8592 @[ -f ./flex/Makefile ] || exit 0; \
8593 r=`${PWD_COMMAND}`; export r; \
8594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8596 for flag in $(EXTRA_HOST_FLAGS) ; do \
8597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8599 echo "Doing installcheck in flex" ; \
8600 (cd $(HOST_SUBDIR)/flex && \
8601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8603 "RANLIB=$${RANLIB}" \
8604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8610 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8611 maybe-mostlyclean-flex:
8613 maybe-mostlyclean-flex: mostlyclean-flex
8616 @[ -f ./flex/Makefile ] || exit 0; \
8617 r=`${PWD_COMMAND}`; export r; \
8618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8620 for flag in $(EXTRA_HOST_FLAGS) ; do \
8621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8623 echo "Doing mostlyclean in flex" ; \
8624 (cd $(HOST_SUBDIR)/flex && \
8625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8627 "RANLIB=$${RANLIB}" \
8628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8634 .PHONY: maybe-clean-flex clean-flex
8637 maybe-clean-flex: clean-flex
8640 @[ -f ./flex/Makefile ] || exit 0; \
8641 r=`${PWD_COMMAND}`; export r; \
8642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 for flag in $(EXTRA_HOST_FLAGS) ; do \
8645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8647 echo "Doing clean in flex" ; \
8648 (cd $(HOST_SUBDIR)/flex && \
8649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8651 "RANLIB=$${RANLIB}" \
8652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8658 .PHONY: maybe-distclean-flex distclean-flex
8659 maybe-distclean-flex:
8661 maybe-distclean-flex: distclean-flex
8664 @[ -f ./flex/Makefile ] || exit 0; \
8665 r=`${PWD_COMMAND}`; export r; \
8666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8668 for flag in $(EXTRA_HOST_FLAGS) ; do \
8669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8671 echo "Doing distclean in flex" ; \
8672 (cd $(HOST_SUBDIR)/flex && \
8673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8675 "RANLIB=$${RANLIB}" \
8676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8682 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8683 maybe-maintainer-clean-flex:
8685 maybe-maintainer-clean-flex: maintainer-clean-flex
8687 maintainer-clean-flex:
8688 @[ -f ./flex/Makefile ] || exit 0; \
8689 r=`${PWD_COMMAND}`; export r; \
8690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8692 for flag in $(EXTRA_HOST_FLAGS) ; do \
8693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8695 echo "Doing maintainer-clean in flex" ; \
8696 (cd $(HOST_SUBDIR)/flex && \
8697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8699 "RANLIB=$${RANLIB}" \
8700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8707 .PHONY: configure-gas maybe-configure-gas
8708 maybe-configure-gas:
8710 maybe-configure-gas: configure-gas
8712 @test -f stage_last && exit 0; \
8713 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8715 r=`${PWD_COMMAND}`; export r; \
8716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8718 echo Configuring in gas; \
8719 cd $(HOST_SUBDIR)/gas || exit 1; \
8721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8722 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8725 srcdiroption="--srcdir=$${topdir}/gas"; \
8726 libsrcdir="$$s/gas"; \
8727 $(SHELL) $${libsrcdir}/configure \
8728 $(HOST_CONFIGARGS) $${srcdiroption} \
8732 .PHONY: all-gas maybe-all-gas
8736 maybe-all-gas: all-gas
8737 all-gas: configure-gas
8738 @test -f stage_last && exit 0; \
8739 r=`${PWD_COMMAND}`; export r; \
8740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8742 (cd $(HOST_SUBDIR)/gas && \
8743 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
8746 .PHONY: check-gas maybe-check-gas
8749 maybe-check-gas: check-gas
8752 @r=`${PWD_COMMAND}`; export r; \
8753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 (cd $(HOST_SUBDIR)/gas && \
8756 $(MAKE) $(FLAGS_TO_PASS) check)
8760 .PHONY: install-gas maybe-install-gas
8763 maybe-install-gas: install-gas
8765 install-gas: installdirs
8766 @r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8769 (cd $(HOST_SUBDIR)/gas && \
8770 $(MAKE) $(FLAGS_TO_PASS) install)
8774 # Other targets (info, dvi, etc.)
8776 .PHONY: maybe-info-gas info-gas
8779 maybe-info-gas: info-gas
8783 @[ -f ./gas/Makefile ] || exit 0; \
8784 r=`${PWD_COMMAND}`; export r; \
8785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787 for flag in $(EXTRA_HOST_FLAGS) ; do \
8788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8790 echo "Doing info in gas" ; \
8791 (cd $(HOST_SUBDIR)/gas && \
8792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8794 "RANLIB=$${RANLIB}" \
8795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8801 .PHONY: maybe-dvi-gas dvi-gas
8804 maybe-dvi-gas: dvi-gas
8808 @[ -f ./gas/Makefile ] || exit 0; \
8809 r=`${PWD_COMMAND}`; export r; \
8810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8812 for flag in $(EXTRA_HOST_FLAGS) ; do \
8813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8815 echo "Doing dvi in gas" ; \
8816 (cd $(HOST_SUBDIR)/gas && \
8817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8819 "RANLIB=$${RANLIB}" \
8820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8826 .PHONY: maybe-html-gas html-gas
8829 maybe-html-gas: html-gas
8833 @[ -f ./gas/Makefile ] || exit 0; \
8834 r=`${PWD_COMMAND}`; export r; \
8835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8837 for flag in $(EXTRA_HOST_FLAGS) ; do \
8838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8840 echo "Doing html in gas" ; \
8841 (cd $(HOST_SUBDIR)/gas && \
8842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8844 "RANLIB=$${RANLIB}" \
8845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8851 .PHONY: maybe-TAGS-gas TAGS-gas
8854 maybe-TAGS-gas: TAGS-gas
8858 @[ -f ./gas/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 TAGS in gas" ; \
8866 (cd $(HOST_SUBDIR)/gas && \
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-install-info-gas install-info-gas
8877 maybe-install-info-gas:
8879 maybe-install-info-gas: install-info-gas
8884 @[ -f ./gas/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 install-info in gas" ; \
8892 (cd $(HOST_SUBDIR)/gas && \
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-installcheck-gas installcheck-gas
8903 maybe-installcheck-gas:
8905 maybe-installcheck-gas: installcheck-gas
8909 @[ -f ./gas/Makefile ] || exit 0; \
8910 r=`${PWD_COMMAND}`; export r; \
8911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 for flag in $(EXTRA_HOST_FLAGS) ; do \
8914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8916 echo "Doing installcheck in gas" ; \
8917 (cd $(HOST_SUBDIR)/gas && \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920 "RANLIB=$${RANLIB}" \
8921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8927 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8928 maybe-mostlyclean-gas:
8930 maybe-mostlyclean-gas: mostlyclean-gas
8933 @[ -f ./gas/Makefile ] || exit 0; \
8934 r=`${PWD_COMMAND}`; export r; \
8935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8940 echo "Doing mostlyclean in gas" ; \
8941 (cd $(HOST_SUBDIR)/gas && \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8951 .PHONY: maybe-clean-gas clean-gas
8954 maybe-clean-gas: clean-gas
8957 @[ -f ./gas/Makefile ] || exit 0; \
8958 r=`${PWD_COMMAND}`; export r; \
8959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8961 for flag in $(EXTRA_HOST_FLAGS) ; do \
8962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8964 echo "Doing clean in gas" ; \
8965 (cd $(HOST_SUBDIR)/gas && \
8966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8968 "RANLIB=$${RANLIB}" \
8969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8975 .PHONY: maybe-distclean-gas distclean-gas
8976 maybe-distclean-gas:
8978 maybe-distclean-gas: distclean-gas
8981 @[ -f ./gas/Makefile ] || exit 0; \
8982 r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8985 for flag in $(EXTRA_HOST_FLAGS) ; do \
8986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8988 echo "Doing distclean in gas" ; \
8989 (cd $(HOST_SUBDIR)/gas && \
8990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8992 "RANLIB=$${RANLIB}" \
8993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8999 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9000 maybe-maintainer-clean-gas:
9002 maybe-maintainer-clean-gas: maintainer-clean-gas
9004 maintainer-clean-gas:
9005 @[ -f ./gas/Makefile ] || exit 0; \
9006 r=`${PWD_COMMAND}`; export r; \
9007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9009 for flag in $(EXTRA_HOST_FLAGS) ; do \
9010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9012 echo "Doing maintainer-clean in gas" ; \
9013 (cd $(HOST_SUBDIR)/gas && \
9014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016 "RANLIB=$${RANLIB}" \
9017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9024 .PHONY: configure-gcc maybe-configure-gcc
9025 maybe-configure-gcc:
9027 maybe-configure-gcc: configure-gcc
9029 @test -f stage_last && exit 0; \
9030 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9032 r=`${PWD_COMMAND}`; export r; \
9033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9035 echo Configuring in gcc; \
9036 cd $(HOST_SUBDIR)/gcc || exit 1; \
9038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9039 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9042 srcdiroption="--srcdir=$${topdir}/gcc"; \
9043 libsrcdir="$$s/gcc"; \
9044 $(SHELL) $${libsrcdir}/configure \
9045 $(HOST_CONFIGARGS) $${srcdiroption} \
9049 .PHONY: all-gcc maybe-all-gcc
9052 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9053 maybe-all-gcc: all-gcc
9054 all-gcc: configure-gcc
9055 @test -f stage_last && exit 0; \
9056 r=`${PWD_COMMAND}`; export r; \
9057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 (cd $(HOST_SUBDIR)/gcc && \
9060 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
9063 .PHONY: check-gcc maybe-check-gcc
9066 maybe-check-gcc: check-gcc
9069 @r=`${PWD_COMMAND}`; export r; \
9070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9072 (cd $(HOST_SUBDIR)/gcc && \
9073 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9077 .PHONY: install-gcc maybe-install-gcc
9080 maybe-install-gcc: install-gcc
9082 install-gcc: installdirs
9083 @r=`${PWD_COMMAND}`; export r; \
9084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 (cd $(HOST_SUBDIR)/gcc && \
9087 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9091 # Other targets (info, dvi, etc.)
9093 .PHONY: maybe-info-gcc info-gcc
9096 maybe-info-gcc: info-gcc
9100 @[ -f ./gcc/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9104 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9107 echo "Doing info in gcc" ; \
9108 (cd $(HOST_SUBDIR)/gcc && \
9109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111 "RANLIB=$${RANLIB}" \
9112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118 .PHONY: maybe-dvi-gcc dvi-gcc
9121 maybe-dvi-gcc: dvi-gcc
9125 @[ -f ./gcc/Makefile ] || exit 0; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9132 echo "Doing dvi in gcc" ; \
9133 (cd $(HOST_SUBDIR)/gcc && \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9143 .PHONY: maybe-html-gcc html-gcc
9146 maybe-html-gcc: html-gcc
9150 @[ -f ./gcc/Makefile ] || exit 0; \
9151 r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9154 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9157 echo "Doing html in gcc" ; \
9158 (cd $(HOST_SUBDIR)/gcc && \
9159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161 "RANLIB=$${RANLIB}" \
9162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9168 .PHONY: maybe-TAGS-gcc TAGS-gcc
9171 maybe-TAGS-gcc: TAGS-gcc
9175 @[ -f ./gcc/Makefile ] || exit 0; \
9176 r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9179 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9182 echo "Doing TAGS in gcc" ; \
9183 (cd $(HOST_SUBDIR)/gcc && \
9184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9186 "RANLIB=$${RANLIB}" \
9187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9193 .PHONY: maybe-install-info-gcc install-info-gcc
9194 maybe-install-info-gcc:
9196 maybe-install-info-gcc: install-info-gcc
9201 @[ -f ./gcc/Makefile ] || exit 0; \
9202 r=`${PWD_COMMAND}`; export r; \
9203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9205 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9208 echo "Doing install-info in gcc" ; \
9209 (cd $(HOST_SUBDIR)/gcc && \
9210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9212 "RANLIB=$${RANLIB}" \
9213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9219 .PHONY: maybe-installcheck-gcc installcheck-gcc
9220 maybe-installcheck-gcc:
9222 maybe-installcheck-gcc: installcheck-gcc
9226 @[ -f ./gcc/Makefile ] || exit 0; \
9227 r=`${PWD_COMMAND}`; export r; \
9228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9233 echo "Doing installcheck in gcc" ; \
9234 (cd $(HOST_SUBDIR)/gcc && \
9235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9237 "RANLIB=$${RANLIB}" \
9238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9244 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9245 maybe-mostlyclean-gcc:
9247 maybe-mostlyclean-gcc: mostlyclean-gcc
9250 @[ -f ./gcc/Makefile ] || exit 0; \
9251 r=`${PWD_COMMAND}`; export r; \
9252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9254 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9257 echo "Doing mostlyclean in gcc" ; \
9258 (cd $(HOST_SUBDIR)/gcc && \
9259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9261 "RANLIB=$${RANLIB}" \
9262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9268 .PHONY: maybe-clean-gcc clean-gcc
9271 maybe-clean-gcc: clean-gcc
9274 @[ -f ./gcc/Makefile ] || exit 0; \
9275 r=`${PWD_COMMAND}`; export r; \
9276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9278 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9281 echo "Doing clean in gcc" ; \
9282 (cd $(HOST_SUBDIR)/gcc && \
9283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9285 "RANLIB=$${RANLIB}" \
9286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9292 .PHONY: maybe-distclean-gcc distclean-gcc
9293 maybe-distclean-gcc:
9295 maybe-distclean-gcc: distclean-gcc
9298 @[ -f ./gcc/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9305 echo "Doing distclean in gcc" ; \
9306 (cd $(HOST_SUBDIR)/gcc && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9316 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9317 maybe-maintainer-clean-gcc:
9319 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9321 maintainer-clean-gcc:
9322 @[ -f ./gcc/Makefile ] || exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 echo "Doing maintainer-clean in gcc" ; \
9330 (cd $(HOST_SUBDIR)/gcc && \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333 "RANLIB=$${RANLIB}" \
9334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9341 .PHONY: configure-gawk maybe-configure-gawk
9342 maybe-configure-gawk:
9344 maybe-configure-gawk: configure-gawk
9346 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
9347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
9348 r=`${PWD_COMMAND}`; export r; \
9349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9351 echo Configuring in gawk; \
9352 cd $(HOST_SUBDIR)/gawk || exit 1; \
9354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9355 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
9356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9358 srcdiroption="--srcdir=$${topdir}/gawk"; \
9359 libsrcdir="$$s/gawk"; \
9360 $(SHELL) $${libsrcdir}/configure \
9361 $(HOST_CONFIGARGS) $${srcdiroption} \
9365 .PHONY: all-gawk maybe-all-gawk
9369 maybe-all-gawk: all-gawk
9370 all-gawk: configure-gawk
9371 @r=`${PWD_COMMAND}`; export r; \
9372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 (cd $(HOST_SUBDIR)/gawk && \
9375 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
9378 .PHONY: check-gawk maybe-check-gawk
9381 maybe-check-gawk: check-gawk
9384 @r=`${PWD_COMMAND}`; export r; \
9385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 (cd $(HOST_SUBDIR)/gawk && \
9388 $(MAKE) $(FLAGS_TO_PASS) check)
9392 .PHONY: install-gawk maybe-install-gawk
9395 maybe-install-gawk: install-gawk
9397 install-gawk: installdirs
9398 @r=`${PWD_COMMAND}`; export r; \
9399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9401 (cd $(HOST_SUBDIR)/gawk && \
9402 $(MAKE) $(FLAGS_TO_PASS) install)
9406 # Other targets (info, dvi, etc.)
9408 .PHONY: maybe-info-gawk info-gawk
9411 maybe-info-gawk: info-gawk
9415 @[ -f ./gawk/Makefile ] || exit 0; \
9416 r=`${PWD_COMMAND}`; export r; \
9417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9419 for flag in $(EXTRA_HOST_FLAGS) ; do \
9420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9422 echo "Doing info in gawk" ; \
9423 (cd $(HOST_SUBDIR)/gawk && \
9424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426 "RANLIB=$${RANLIB}" \
9427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9433 .PHONY: maybe-dvi-gawk dvi-gawk
9436 maybe-dvi-gawk: dvi-gawk
9440 @[ -f ./gawk/Makefile ] || exit 0; \
9441 r=`${PWD_COMMAND}`; export r; \
9442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9444 for flag in $(EXTRA_HOST_FLAGS) ; do \
9445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9447 echo "Doing dvi in gawk" ; \
9448 (cd $(HOST_SUBDIR)/gawk && \
9449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9451 "RANLIB=$${RANLIB}" \
9452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9458 .PHONY: maybe-html-gawk html-gawk
9461 maybe-html-gawk: html-gawk
9465 @[ -f ./gawk/Makefile ] || exit 0; \
9466 r=`${PWD_COMMAND}`; export r; \
9467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9469 for flag in $(EXTRA_HOST_FLAGS) ; do \
9470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9472 echo "Doing html in gawk" ; \
9473 (cd $(HOST_SUBDIR)/gawk && \
9474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9476 "RANLIB=$${RANLIB}" \
9477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9483 .PHONY: maybe-TAGS-gawk TAGS-gawk
9486 maybe-TAGS-gawk: TAGS-gawk
9490 @[ -f ./gawk/Makefile ] || exit 0; \
9491 r=`${PWD_COMMAND}`; export r; \
9492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9494 for flag in $(EXTRA_HOST_FLAGS) ; do \
9495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9497 echo "Doing TAGS in gawk" ; \
9498 (cd $(HOST_SUBDIR)/gawk && \
9499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9501 "RANLIB=$${RANLIB}" \
9502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9508 .PHONY: maybe-install-info-gawk install-info-gawk
9509 maybe-install-info-gawk:
9511 maybe-install-info-gawk: install-info-gawk
9513 install-info-gawk: \
9516 @[ -f ./gawk/Makefile ] || exit 0; \
9517 r=`${PWD_COMMAND}`; export r; \
9518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9520 for flag in $(EXTRA_HOST_FLAGS) ; do \
9521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9523 echo "Doing install-info in gawk" ; \
9524 (cd $(HOST_SUBDIR)/gawk && \
9525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9527 "RANLIB=$${RANLIB}" \
9528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9534 .PHONY: maybe-installcheck-gawk installcheck-gawk
9535 maybe-installcheck-gawk:
9537 maybe-installcheck-gawk: installcheck-gawk
9539 installcheck-gawk: \
9541 @[ -f ./gawk/Makefile ] || exit 0; \
9542 r=`${PWD_COMMAND}`; export r; \
9543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9545 for flag in $(EXTRA_HOST_FLAGS) ; do \
9546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9548 echo "Doing installcheck in gawk" ; \
9549 (cd $(HOST_SUBDIR)/gawk && \
9550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552 "RANLIB=$${RANLIB}" \
9553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9559 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9560 maybe-mostlyclean-gawk:
9562 maybe-mostlyclean-gawk: mostlyclean-gawk
9565 @[ -f ./gawk/Makefile ] || exit 0; \
9566 r=`${PWD_COMMAND}`; export r; \
9567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 for flag in $(EXTRA_HOST_FLAGS) ; do \
9570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9572 echo "Doing mostlyclean in gawk" ; \
9573 (cd $(HOST_SUBDIR)/gawk && \
9574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9576 "RANLIB=$${RANLIB}" \
9577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9583 .PHONY: maybe-clean-gawk clean-gawk
9586 maybe-clean-gawk: clean-gawk
9589 @[ -f ./gawk/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9593 for flag in $(EXTRA_HOST_FLAGS) ; do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9596 echo "Doing clean in gawk" ; \
9597 (cd $(HOST_SUBDIR)/gawk && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9607 .PHONY: maybe-distclean-gawk distclean-gawk
9608 maybe-distclean-gawk:
9610 maybe-distclean-gawk: distclean-gawk
9613 @[ -f ./gawk/Makefile ] || exit 0; \
9614 r=`${PWD_COMMAND}`; export r; \
9615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 for flag in $(EXTRA_HOST_FLAGS) ; do \
9618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9620 echo "Doing distclean in gawk" ; \
9621 (cd $(HOST_SUBDIR)/gawk && \
9622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9624 "RANLIB=$${RANLIB}" \
9625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9631 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9632 maybe-maintainer-clean-gawk:
9634 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9636 maintainer-clean-gawk:
9637 @[ -f ./gawk/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 maintainer-clean in gawk" ; \
9645 (cd $(HOST_SUBDIR)/gawk && \
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}" \
9656 .PHONY: configure-gettext maybe-configure-gettext
9657 maybe-configure-gettext:
9659 maybe-configure-gettext: configure-gettext
9661 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
9662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
9663 r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 echo Configuring in gettext; \
9667 cd $(HOST_SUBDIR)/gettext || exit 1; \
9669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9670 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
9671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9673 srcdiroption="--srcdir=$${topdir}/gettext"; \
9674 libsrcdir="$$s/gettext"; \
9675 $(SHELL) $${libsrcdir}/configure \
9676 $(HOST_CONFIGARGS) $${srcdiroption} \
9680 .PHONY: all-gettext maybe-all-gettext
9684 maybe-all-gettext: all-gettext
9685 all-gettext: configure-gettext
9686 @r=`${PWD_COMMAND}`; export r; \
9687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 (cd $(HOST_SUBDIR)/gettext && \
9690 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
9693 .PHONY: check-gettext maybe-check-gettext
9694 maybe-check-gettext:
9696 maybe-check-gettext: check-gettext
9699 @r=`${PWD_COMMAND}`; export r; \
9700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9702 (cd $(HOST_SUBDIR)/gettext && \
9703 $(MAKE) $(FLAGS_TO_PASS) check)
9707 .PHONY: install-gettext maybe-install-gettext
9708 maybe-install-gettext:
9710 maybe-install-gettext: install-gettext
9712 install-gettext: installdirs
9713 @r=`${PWD_COMMAND}`; export r; \
9714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9716 (cd $(HOST_SUBDIR)/gettext && \
9717 $(MAKE) $(FLAGS_TO_PASS) install)
9721 # Other targets (info, dvi, etc.)
9723 .PHONY: maybe-info-gettext info-gettext
9726 maybe-info-gettext: info-gettext
9730 @[ -f ./gettext/Makefile ] || exit 0; \
9731 r=`${PWD_COMMAND}`; export r; \
9732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9734 for flag in $(EXTRA_HOST_FLAGS) ; do \
9735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9737 echo "Doing info in gettext" ; \
9738 (cd $(HOST_SUBDIR)/gettext && \
9739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9741 "RANLIB=$${RANLIB}" \
9742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9748 .PHONY: maybe-dvi-gettext dvi-gettext
9751 maybe-dvi-gettext: dvi-gettext
9755 @[ -f ./gettext/Makefile ] || exit 0; \
9756 r=`${PWD_COMMAND}`; export r; \
9757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 for flag in $(EXTRA_HOST_FLAGS) ; do \
9760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9762 echo "Doing dvi in gettext" ; \
9763 (cd $(HOST_SUBDIR)/gettext && \
9764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9766 "RANLIB=$${RANLIB}" \
9767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9773 .PHONY: maybe-html-gettext html-gettext
9776 maybe-html-gettext: html-gettext
9780 @[ -f ./gettext/Makefile ] || exit 0; \
9781 r=`${PWD_COMMAND}`; export r; \
9782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9784 for flag in $(EXTRA_HOST_FLAGS) ; do \
9785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9787 echo "Doing html in gettext" ; \
9788 (cd $(HOST_SUBDIR)/gettext && \
9789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9791 "RANLIB=$${RANLIB}" \
9792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9798 .PHONY: maybe-TAGS-gettext TAGS-gettext
9801 maybe-TAGS-gettext: TAGS-gettext
9805 @[ -f ./gettext/Makefile ] || exit 0; \
9806 r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9809 for flag in $(EXTRA_HOST_FLAGS) ; do \
9810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9812 echo "Doing TAGS in gettext" ; \
9813 (cd $(HOST_SUBDIR)/gettext && \
9814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9816 "RANLIB=$${RANLIB}" \
9817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9823 .PHONY: maybe-install-info-gettext install-info-gettext
9824 maybe-install-info-gettext:
9826 maybe-install-info-gettext: install-info-gettext
9828 install-info-gettext: \
9831 @[ -f ./gettext/Makefile ] || exit 0; \
9832 r=`${PWD_COMMAND}`; export r; \
9833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 for flag in $(EXTRA_HOST_FLAGS) ; do \
9836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 echo "Doing install-info in gettext" ; \
9839 (cd $(HOST_SUBDIR)/gettext && \
9840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9842 "RANLIB=$${RANLIB}" \
9843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9849 .PHONY: maybe-installcheck-gettext installcheck-gettext
9850 maybe-installcheck-gettext:
9852 maybe-installcheck-gettext: installcheck-gettext
9854 installcheck-gettext: \
9856 @[ -f ./gettext/Makefile ] || exit 0; \
9857 r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9860 for flag in $(EXTRA_HOST_FLAGS) ; do \
9861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9863 echo "Doing installcheck in gettext" ; \
9864 (cd $(HOST_SUBDIR)/gettext && \
9865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9867 "RANLIB=$${RANLIB}" \
9868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9874 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9875 maybe-mostlyclean-gettext:
9877 maybe-mostlyclean-gettext: mostlyclean-gettext
9879 mostlyclean-gettext:
9880 @[ -f ./gettext/Makefile ] || exit 0; \
9881 r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9884 for flag in $(EXTRA_HOST_FLAGS) ; do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9887 echo "Doing mostlyclean in gettext" ; \
9888 (cd $(HOST_SUBDIR)/gettext && \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891 "RANLIB=$${RANLIB}" \
9892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9898 .PHONY: maybe-clean-gettext clean-gettext
9899 maybe-clean-gettext:
9901 maybe-clean-gettext: clean-gettext
9904 @[ -f ./gettext/Makefile ] || exit 0; \
9905 r=`${PWD_COMMAND}`; export r; \
9906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9908 for flag in $(EXTRA_HOST_FLAGS) ; do \
9909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9911 echo "Doing clean in gettext" ; \
9912 (cd $(HOST_SUBDIR)/gettext && \
9913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9915 "RANLIB=$${RANLIB}" \
9916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9922 .PHONY: maybe-distclean-gettext distclean-gettext
9923 maybe-distclean-gettext:
9925 maybe-distclean-gettext: distclean-gettext
9928 @[ -f ./gettext/Makefile ] || exit 0; \
9929 r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9932 for flag in $(EXTRA_HOST_FLAGS) ; do \
9933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9935 echo "Doing distclean in gettext" ; \
9936 (cd $(HOST_SUBDIR)/gettext && \
9937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9939 "RANLIB=$${RANLIB}" \
9940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9946 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9947 maybe-maintainer-clean-gettext:
9949 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9951 maintainer-clean-gettext:
9952 @[ -f ./gettext/Makefile ] || exit 0; \
9953 r=`${PWD_COMMAND}`; export r; \
9954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 for flag in $(EXTRA_HOST_FLAGS) ; do \
9957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9959 echo "Doing maintainer-clean in gettext" ; \
9960 (cd $(HOST_SUBDIR)/gettext && \
9961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9963 "RANLIB=$${RANLIB}" \
9964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9971 .PHONY: configure-gnuserv maybe-configure-gnuserv
9972 maybe-configure-gnuserv:
9974 maybe-configure-gnuserv: configure-gnuserv
9976 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
9977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
9978 r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9981 echo Configuring in gnuserv; \
9982 cd $(HOST_SUBDIR)/gnuserv || exit 1; \
9984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9985 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
9986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9988 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
9989 libsrcdir="$$s/gnuserv"; \
9990 $(SHELL) $${libsrcdir}/configure \
9991 $(HOST_CONFIGARGS) $${srcdiroption} \
9995 .PHONY: all-gnuserv maybe-all-gnuserv
9999 maybe-all-gnuserv: all-gnuserv
10000 all-gnuserv: configure-gnuserv
10001 @r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10004 (cd $(HOST_SUBDIR)/gnuserv && \
10005 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
10008 .PHONY: check-gnuserv maybe-check-gnuserv
10009 maybe-check-gnuserv:
10011 maybe-check-gnuserv: check-gnuserv
10014 @r=`${PWD_COMMAND}`; export r; \
10015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10017 (cd $(HOST_SUBDIR)/gnuserv && \
10018 $(MAKE) $(FLAGS_TO_PASS) check)
10022 .PHONY: install-gnuserv maybe-install-gnuserv
10023 maybe-install-gnuserv:
10025 maybe-install-gnuserv: install-gnuserv
10027 install-gnuserv: installdirs
10028 @r=`${PWD_COMMAND}`; export r; \
10029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10031 (cd $(HOST_SUBDIR)/gnuserv && \
10032 $(MAKE) $(FLAGS_TO_PASS) install)
10036 # Other targets (info, dvi, etc.)
10038 .PHONY: maybe-info-gnuserv info-gnuserv
10039 maybe-info-gnuserv:
10041 maybe-info-gnuserv: info-gnuserv
10045 @[ -f ./gnuserv/Makefile ] || exit 0; \
10046 r=`${PWD_COMMAND}`; export r; \
10047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 for flag in $(EXTRA_HOST_FLAGS) ; do \
10050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10052 echo "Doing info in gnuserv" ; \
10053 (cd $(HOST_SUBDIR)/gnuserv && \
10054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10056 "RANLIB=$${RANLIB}" \
10057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10063 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10066 maybe-dvi-gnuserv: dvi-gnuserv
10070 @[ -f ./gnuserv/Makefile ] || exit 0; \
10071 r=`${PWD_COMMAND}`; export r; \
10072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10074 for flag in $(EXTRA_HOST_FLAGS) ; do \
10075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10077 echo "Doing dvi in gnuserv" ; \
10078 (cd $(HOST_SUBDIR)/gnuserv && \
10079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10081 "RANLIB=$${RANLIB}" \
10082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10088 .PHONY: maybe-html-gnuserv html-gnuserv
10089 maybe-html-gnuserv:
10091 maybe-html-gnuserv: html-gnuserv
10095 @[ -f ./gnuserv/Makefile ] || exit 0; \
10096 r=`${PWD_COMMAND}`; export r; \
10097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10099 for flag in $(EXTRA_HOST_FLAGS) ; do \
10100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10102 echo "Doing html in gnuserv" ; \
10103 (cd $(HOST_SUBDIR)/gnuserv && \
10104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10106 "RANLIB=$${RANLIB}" \
10107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10113 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10114 maybe-TAGS-gnuserv:
10116 maybe-TAGS-gnuserv: TAGS-gnuserv
10120 @[ -f ./gnuserv/Makefile ] || exit 0; \
10121 r=`${PWD_COMMAND}`; export r; \
10122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124 for flag in $(EXTRA_HOST_FLAGS) ; do \
10125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10127 echo "Doing TAGS in gnuserv" ; \
10128 (cd $(HOST_SUBDIR)/gnuserv && \
10129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10131 "RANLIB=$${RANLIB}" \
10132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10138 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10139 maybe-install-info-gnuserv:
10141 maybe-install-info-gnuserv: install-info-gnuserv
10143 install-info-gnuserv: \
10144 configure-gnuserv \
10146 @[ -f ./gnuserv/Makefile ] || exit 0; \
10147 r=`${PWD_COMMAND}`; export r; \
10148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10150 for flag in $(EXTRA_HOST_FLAGS) ; do \
10151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10153 echo "Doing install-info in gnuserv" ; \
10154 (cd $(HOST_SUBDIR)/gnuserv && \
10155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10157 "RANLIB=$${RANLIB}" \
10158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10164 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10165 maybe-installcheck-gnuserv:
10167 maybe-installcheck-gnuserv: installcheck-gnuserv
10169 installcheck-gnuserv: \
10171 @[ -f ./gnuserv/Makefile ] || exit 0; \
10172 r=`${PWD_COMMAND}`; export r; \
10173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10175 for flag in $(EXTRA_HOST_FLAGS) ; do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10178 echo "Doing installcheck in gnuserv" ; \
10179 (cd $(HOST_SUBDIR)/gnuserv && \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10189 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10190 maybe-mostlyclean-gnuserv:
10192 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10194 mostlyclean-gnuserv:
10195 @[ -f ./gnuserv/Makefile ] || exit 0; \
10196 r=`${PWD_COMMAND}`; export r; \
10197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10199 for flag in $(EXTRA_HOST_FLAGS) ; do \
10200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10202 echo "Doing mostlyclean in gnuserv" ; \
10203 (cd $(HOST_SUBDIR)/gnuserv && \
10204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10206 "RANLIB=$${RANLIB}" \
10207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10213 .PHONY: maybe-clean-gnuserv clean-gnuserv
10214 maybe-clean-gnuserv:
10216 maybe-clean-gnuserv: clean-gnuserv
10219 @[ -f ./gnuserv/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10226 echo "Doing clean in gnuserv" ; \
10227 (cd $(HOST_SUBDIR)/gnuserv && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10237 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10238 maybe-distclean-gnuserv:
10240 maybe-distclean-gnuserv: distclean-gnuserv
10243 @[ -f ./gnuserv/Makefile ] || exit 0; \
10244 r=`${PWD_COMMAND}`; export r; \
10245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 for flag in $(EXTRA_HOST_FLAGS) ; do \
10248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 echo "Doing distclean in gnuserv" ; \
10251 (cd $(HOST_SUBDIR)/gnuserv && \
10252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10254 "RANLIB=$${RANLIB}" \
10255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10261 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10262 maybe-maintainer-clean-gnuserv:
10264 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10266 maintainer-clean-gnuserv:
10267 @[ -f ./gnuserv/Makefile ] || exit 0; \
10268 r=`${PWD_COMMAND}`; export r; \
10269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10271 for flag in $(EXTRA_HOST_FLAGS) ; do \
10272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10274 echo "Doing maintainer-clean in gnuserv" ; \
10275 (cd $(HOST_SUBDIR)/gnuserv && \
10276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10278 "RANLIB=$${RANLIB}" \
10279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10280 maintainer-clean) \
10286 .PHONY: configure-gprof maybe-configure-gprof
10287 maybe-configure-gprof:
10289 maybe-configure-gprof: configure-gprof
10291 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
10292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
10293 r=`${PWD_COMMAND}`; export r; \
10294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10296 echo Configuring in gprof; \
10297 cd $(HOST_SUBDIR)/gprof || exit 1; \
10298 case $(srcdir) in \
10299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10300 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
10301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10303 srcdiroption="--srcdir=$${topdir}/gprof"; \
10304 libsrcdir="$$s/gprof"; \
10305 $(SHELL) $${libsrcdir}/configure \
10306 $(HOST_CONFIGARGS) $${srcdiroption} \
10310 .PHONY: all-gprof maybe-all-gprof
10314 maybe-all-gprof: all-gprof
10315 all-gprof: configure-gprof
10316 @r=`${PWD_COMMAND}`; export r; \
10317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10319 (cd $(HOST_SUBDIR)/gprof && \
10320 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
10323 .PHONY: check-gprof maybe-check-gprof
10326 maybe-check-gprof: check-gprof
10329 @r=`${PWD_COMMAND}`; export r; \
10330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10332 (cd $(HOST_SUBDIR)/gprof && \
10333 $(MAKE) $(FLAGS_TO_PASS) check)
10337 .PHONY: install-gprof maybe-install-gprof
10338 maybe-install-gprof:
10340 maybe-install-gprof: install-gprof
10342 install-gprof: installdirs
10343 @r=`${PWD_COMMAND}`; export r; \
10344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10346 (cd $(HOST_SUBDIR)/gprof && \
10347 $(MAKE) $(FLAGS_TO_PASS) install)
10351 # Other targets (info, dvi, etc.)
10353 .PHONY: maybe-info-gprof info-gprof
10356 maybe-info-gprof: info-gprof
10360 @[ -f ./gprof/Makefile ] || exit 0; \
10361 r=`${PWD_COMMAND}`; export r; \
10362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10364 for flag in $(EXTRA_HOST_FLAGS) ; do \
10365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10367 echo "Doing info in gprof" ; \
10368 (cd $(HOST_SUBDIR)/gprof && \
10369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10371 "RANLIB=$${RANLIB}" \
10372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10378 .PHONY: maybe-dvi-gprof dvi-gprof
10381 maybe-dvi-gprof: dvi-gprof
10385 @[ -f ./gprof/Makefile ] || exit 0; \
10386 r=`${PWD_COMMAND}`; export r; \
10387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389 for flag in $(EXTRA_HOST_FLAGS) ; do \
10390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10392 echo "Doing dvi in gprof" ; \
10393 (cd $(HOST_SUBDIR)/gprof && \
10394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10396 "RANLIB=$${RANLIB}" \
10397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10403 .PHONY: maybe-html-gprof html-gprof
10406 maybe-html-gprof: html-gprof
10410 @[ -f ./gprof/Makefile ] || exit 0; \
10411 r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10414 for flag in $(EXTRA_HOST_FLAGS) ; do \
10415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10417 echo "Doing html in gprof" ; \
10418 (cd $(HOST_SUBDIR)/gprof && \
10419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10421 "RANLIB=$${RANLIB}" \
10422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10428 .PHONY: maybe-TAGS-gprof TAGS-gprof
10431 maybe-TAGS-gprof: TAGS-gprof
10435 @[ -f ./gprof/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439 for flag in $(EXTRA_HOST_FLAGS) ; do \
10440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10442 echo "Doing TAGS in gprof" ; \
10443 (cd $(HOST_SUBDIR)/gprof && \
10444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10446 "RANLIB=$${RANLIB}" \
10447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10453 .PHONY: maybe-install-info-gprof install-info-gprof
10454 maybe-install-info-gprof:
10456 maybe-install-info-gprof: install-info-gprof
10458 install-info-gprof: \
10461 @[ -f ./gprof/Makefile ] || exit 0; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10465 for flag in $(EXTRA_HOST_FLAGS) ; do \
10466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10468 echo "Doing install-info in gprof" ; \
10469 (cd $(HOST_SUBDIR)/gprof && \
10470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10472 "RANLIB=$${RANLIB}" \
10473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10479 .PHONY: maybe-installcheck-gprof installcheck-gprof
10480 maybe-installcheck-gprof:
10482 maybe-installcheck-gprof: installcheck-gprof
10484 installcheck-gprof: \
10486 @[ -f ./gprof/Makefile ] || exit 0; \
10487 r=`${PWD_COMMAND}`; export r; \
10488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10490 for flag in $(EXTRA_HOST_FLAGS) ; do \
10491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10493 echo "Doing installcheck in gprof" ; \
10494 (cd $(HOST_SUBDIR)/gprof && \
10495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10497 "RANLIB=$${RANLIB}" \
10498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10504 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10505 maybe-mostlyclean-gprof:
10507 maybe-mostlyclean-gprof: mostlyclean-gprof
10510 @[ -f ./gprof/Makefile ] || exit 0; \
10511 r=`${PWD_COMMAND}`; export r; \
10512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 for flag in $(EXTRA_HOST_FLAGS) ; do \
10515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10517 echo "Doing mostlyclean in gprof" ; \
10518 (cd $(HOST_SUBDIR)/gprof && \
10519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10521 "RANLIB=$${RANLIB}" \
10522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10528 .PHONY: maybe-clean-gprof clean-gprof
10531 maybe-clean-gprof: clean-gprof
10534 @[ -f ./gprof/Makefile ] || exit 0; \
10535 r=`${PWD_COMMAND}`; export r; \
10536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10538 for flag in $(EXTRA_HOST_FLAGS) ; do \
10539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10541 echo "Doing clean in gprof" ; \
10542 (cd $(HOST_SUBDIR)/gprof && \
10543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10545 "RANLIB=$${RANLIB}" \
10546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10552 .PHONY: maybe-distclean-gprof distclean-gprof
10553 maybe-distclean-gprof:
10555 maybe-distclean-gprof: distclean-gprof
10558 @[ -f ./gprof/Makefile ] || exit 0; \
10559 r=`${PWD_COMMAND}`; export r; \
10560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10562 for flag in $(EXTRA_HOST_FLAGS) ; do \
10563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10565 echo "Doing distclean in gprof" ; \
10566 (cd $(HOST_SUBDIR)/gprof && \
10567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10569 "RANLIB=$${RANLIB}" \
10570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10576 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10577 maybe-maintainer-clean-gprof:
10579 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10581 maintainer-clean-gprof:
10582 @[ -f ./gprof/Makefile ] || exit 0; \
10583 r=`${PWD_COMMAND}`; export r; \
10584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586 for flag in $(EXTRA_HOST_FLAGS) ; do \
10587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10589 echo "Doing maintainer-clean in gprof" ; \
10590 (cd $(HOST_SUBDIR)/gprof && \
10591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10593 "RANLIB=$${RANLIB}" \
10594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10595 maintainer-clean) \
10601 .PHONY: configure-gzip maybe-configure-gzip
10602 maybe-configure-gzip:
10604 maybe-configure-gzip: configure-gzip
10606 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
10607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
10608 r=`${PWD_COMMAND}`; export r; \
10609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10611 echo Configuring in gzip; \
10612 cd $(HOST_SUBDIR)/gzip || exit 1; \
10613 case $(srcdir) in \
10614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10615 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
10616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10618 srcdiroption="--srcdir=$${topdir}/gzip"; \
10619 libsrcdir="$$s/gzip"; \
10620 $(SHELL) $${libsrcdir}/configure \
10621 $(HOST_CONFIGARGS) $${srcdiroption} \
10625 .PHONY: all-gzip maybe-all-gzip
10629 maybe-all-gzip: all-gzip
10630 all-gzip: configure-gzip
10631 @r=`${PWD_COMMAND}`; export r; \
10632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10634 (cd $(HOST_SUBDIR)/gzip && \
10635 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
10638 .PHONY: check-gzip maybe-check-gzip
10641 maybe-check-gzip: check-gzip
10644 @r=`${PWD_COMMAND}`; export r; \
10645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10647 (cd $(HOST_SUBDIR)/gzip && \
10648 $(MAKE) $(FLAGS_TO_PASS) check)
10652 .PHONY: install-gzip maybe-install-gzip
10653 maybe-install-gzip:
10655 maybe-install-gzip: install-gzip
10657 install-gzip: installdirs
10658 @r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10661 (cd $(HOST_SUBDIR)/gzip && \
10662 $(MAKE) $(FLAGS_TO_PASS) install)
10666 # Other targets (info, dvi, etc.)
10668 .PHONY: maybe-info-gzip info-gzip
10671 maybe-info-gzip: info-gzip
10675 @[ -f ./gzip/Makefile ] || exit 0; \
10676 r=`${PWD_COMMAND}`; export r; \
10677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10679 for flag in $(EXTRA_HOST_FLAGS) ; do \
10680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10682 echo "Doing info in gzip" ; \
10683 (cd $(HOST_SUBDIR)/gzip && \
10684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10686 "RANLIB=$${RANLIB}" \
10687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10693 .PHONY: maybe-dvi-gzip dvi-gzip
10696 maybe-dvi-gzip: dvi-gzip
10700 @[ -f ./gzip/Makefile ] || exit 0; \
10701 r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10704 for flag in $(EXTRA_HOST_FLAGS) ; do \
10705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10707 echo "Doing dvi in gzip" ; \
10708 (cd $(HOST_SUBDIR)/gzip && \
10709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10711 "RANLIB=$${RANLIB}" \
10712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10718 .PHONY: maybe-html-gzip html-gzip
10721 maybe-html-gzip: html-gzip
10725 @[ -f ./gzip/Makefile ] || exit 0; \
10726 r=`${PWD_COMMAND}`; export r; \
10727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10729 for flag in $(EXTRA_HOST_FLAGS) ; do \
10730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10732 echo "Doing html in gzip" ; \
10733 (cd $(HOST_SUBDIR)/gzip && \
10734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10736 "RANLIB=$${RANLIB}" \
10737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10743 .PHONY: maybe-TAGS-gzip TAGS-gzip
10746 maybe-TAGS-gzip: TAGS-gzip
10750 @[ -f ./gzip/Makefile ] || exit 0; \
10751 r=`${PWD_COMMAND}`; export r; \
10752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10754 for flag in $(EXTRA_HOST_FLAGS) ; do \
10755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10757 echo "Doing TAGS in gzip" ; \
10758 (cd $(HOST_SUBDIR)/gzip && \
10759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10761 "RANLIB=$${RANLIB}" \
10762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10768 .PHONY: maybe-install-info-gzip install-info-gzip
10769 maybe-install-info-gzip:
10771 maybe-install-info-gzip: install-info-gzip
10773 install-info-gzip: \
10776 @[ -f ./gzip/Makefile ] || exit 0; \
10777 r=`${PWD_COMMAND}`; export r; \
10778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10780 for flag in $(EXTRA_HOST_FLAGS) ; do \
10781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10783 echo "Doing install-info in gzip" ; \
10784 (cd $(HOST_SUBDIR)/gzip && \
10785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10787 "RANLIB=$${RANLIB}" \
10788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10794 .PHONY: maybe-installcheck-gzip installcheck-gzip
10795 maybe-installcheck-gzip:
10797 maybe-installcheck-gzip: installcheck-gzip
10799 installcheck-gzip: \
10801 @[ -f ./gzip/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 installcheck in gzip" ; \
10809 (cd $(HOST_SUBDIR)/gzip && \
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-mostlyclean-gzip mostlyclean-gzip
10820 maybe-mostlyclean-gzip:
10822 maybe-mostlyclean-gzip: mostlyclean-gzip
10825 @[ -f ./gzip/Makefile ] || exit 0; \
10826 r=`${PWD_COMMAND}`; export r; \
10827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10829 for flag in $(EXTRA_HOST_FLAGS) ; do \
10830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10832 echo "Doing mostlyclean in gzip" ; \
10833 (cd $(HOST_SUBDIR)/gzip && \
10834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10836 "RANLIB=$${RANLIB}" \
10837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10843 .PHONY: maybe-clean-gzip clean-gzip
10846 maybe-clean-gzip: clean-gzip
10849 @[ -f ./gzip/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10853 for flag in $(EXTRA_HOST_FLAGS) ; do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10856 echo "Doing clean in gzip" ; \
10857 (cd $(HOST_SUBDIR)/gzip && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10867 .PHONY: maybe-distclean-gzip distclean-gzip
10868 maybe-distclean-gzip:
10870 maybe-distclean-gzip: distclean-gzip
10873 @[ -f ./gzip/Makefile ] || exit 0; \
10874 r=`${PWD_COMMAND}`; export r; \
10875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 for flag in $(EXTRA_HOST_FLAGS) ; do \
10878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10880 echo "Doing distclean in gzip" ; \
10881 (cd $(HOST_SUBDIR)/gzip && \
10882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10884 "RANLIB=$${RANLIB}" \
10885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10891 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10892 maybe-maintainer-clean-gzip:
10894 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10896 maintainer-clean-gzip:
10897 @[ -f ./gzip/Makefile ] || exit 0; \
10898 r=`${PWD_COMMAND}`; export r; \
10899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10901 for flag in $(EXTRA_HOST_FLAGS) ; do \
10902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10904 echo "Doing maintainer-clean in gzip" ; \
10905 (cd $(HOST_SUBDIR)/gzip && \
10906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10908 "RANLIB=$${RANLIB}" \
10909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10910 maintainer-clean) \
10916 .PHONY: configure-hello maybe-configure-hello
10917 maybe-configure-hello:
10919 maybe-configure-hello: configure-hello
10921 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
10922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
10923 r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10926 echo Configuring in hello; \
10927 cd $(HOST_SUBDIR)/hello || exit 1; \
10928 case $(srcdir) in \
10929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10930 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
10931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10933 srcdiroption="--srcdir=$${topdir}/hello"; \
10934 libsrcdir="$$s/hello"; \
10935 $(SHELL) $${libsrcdir}/configure \
10936 $(HOST_CONFIGARGS) $${srcdiroption} \
10940 .PHONY: all-hello maybe-all-hello
10944 maybe-all-hello: all-hello
10945 all-hello: configure-hello
10946 @r=`${PWD_COMMAND}`; export r; \
10947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10949 (cd $(HOST_SUBDIR)/hello && \
10950 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
10953 .PHONY: check-hello maybe-check-hello
10956 maybe-check-hello: check-hello
10959 @r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10962 (cd $(HOST_SUBDIR)/hello && \
10963 $(MAKE) $(FLAGS_TO_PASS) check)
10967 .PHONY: install-hello maybe-install-hello
10968 maybe-install-hello:
10970 maybe-install-hello: install-hello
10972 install-hello: installdirs
10973 @r=`${PWD_COMMAND}`; export r; \
10974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10976 (cd $(HOST_SUBDIR)/hello && \
10977 $(MAKE) $(FLAGS_TO_PASS) install)
10981 # Other targets (info, dvi, etc.)
10983 .PHONY: maybe-info-hello info-hello
10986 maybe-info-hello: info-hello
10990 @[ -f ./hello/Makefile ] || exit 0; \
10991 r=`${PWD_COMMAND}`; export r; \
10992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10994 for flag in $(EXTRA_HOST_FLAGS) ; do \
10995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10997 echo "Doing info in hello" ; \
10998 (cd $(HOST_SUBDIR)/hello && \
10999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11001 "RANLIB=$${RANLIB}" \
11002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11008 .PHONY: maybe-dvi-hello dvi-hello
11011 maybe-dvi-hello: dvi-hello
11015 @[ -f ./hello/Makefile ] || exit 0; \
11016 r=`${PWD_COMMAND}`; export r; \
11017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11019 for flag in $(EXTRA_HOST_FLAGS) ; do \
11020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11022 echo "Doing dvi in hello" ; \
11023 (cd $(HOST_SUBDIR)/hello && \
11024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11026 "RANLIB=$${RANLIB}" \
11027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11033 .PHONY: maybe-html-hello html-hello
11036 maybe-html-hello: html-hello
11040 @[ -f ./hello/Makefile ] || exit 0; \
11041 r=`${PWD_COMMAND}`; export r; \
11042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11044 for flag in $(EXTRA_HOST_FLAGS) ; do \
11045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11047 echo "Doing html in hello" ; \
11048 (cd $(HOST_SUBDIR)/hello && \
11049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11051 "RANLIB=$${RANLIB}" \
11052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11058 .PHONY: maybe-TAGS-hello TAGS-hello
11061 maybe-TAGS-hello: TAGS-hello
11065 @[ -f ./hello/Makefile ] || exit 0; \
11066 r=`${PWD_COMMAND}`; export r; \
11067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11069 for flag in $(EXTRA_HOST_FLAGS) ; do \
11070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11072 echo "Doing TAGS in hello" ; \
11073 (cd $(HOST_SUBDIR)/hello && \
11074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11076 "RANLIB=$${RANLIB}" \
11077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11083 .PHONY: maybe-install-info-hello install-info-hello
11084 maybe-install-info-hello:
11086 maybe-install-info-hello: install-info-hello
11088 install-info-hello: \
11091 @[ -f ./hello/Makefile ] || exit 0; \
11092 r=`${PWD_COMMAND}`; export r; \
11093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11095 for flag in $(EXTRA_HOST_FLAGS) ; do \
11096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11098 echo "Doing install-info in hello" ; \
11099 (cd $(HOST_SUBDIR)/hello && \
11100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11102 "RANLIB=$${RANLIB}" \
11103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11109 .PHONY: maybe-installcheck-hello installcheck-hello
11110 maybe-installcheck-hello:
11112 maybe-installcheck-hello: installcheck-hello
11114 installcheck-hello: \
11116 @[ -f ./hello/Makefile ] || exit 0; \
11117 r=`${PWD_COMMAND}`; export r; \
11118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11120 for flag in $(EXTRA_HOST_FLAGS) ; do \
11121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11123 echo "Doing installcheck in hello" ; \
11124 (cd $(HOST_SUBDIR)/hello && \
11125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11127 "RANLIB=$${RANLIB}" \
11128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11135 maybe-mostlyclean-hello:
11137 maybe-mostlyclean-hello: mostlyclean-hello
11140 @[ -f ./hello/Makefile ] || exit 0; \
11141 r=`${PWD_COMMAND}`; export r; \
11142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11144 for flag in $(EXTRA_HOST_FLAGS) ; do \
11145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11147 echo "Doing mostlyclean in hello" ; \
11148 (cd $(HOST_SUBDIR)/hello && \
11149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11151 "RANLIB=$${RANLIB}" \
11152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11158 .PHONY: maybe-clean-hello clean-hello
11161 maybe-clean-hello: clean-hello
11164 @[ -f ./hello/Makefile ] || exit 0; \
11165 r=`${PWD_COMMAND}`; export r; \
11166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11168 for flag in $(EXTRA_HOST_FLAGS) ; do \
11169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11171 echo "Doing clean in hello" ; \
11172 (cd $(HOST_SUBDIR)/hello && \
11173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11175 "RANLIB=$${RANLIB}" \
11176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11182 .PHONY: maybe-distclean-hello distclean-hello
11183 maybe-distclean-hello:
11185 maybe-distclean-hello: distclean-hello
11188 @[ -f ./hello/Makefile ] || exit 0; \
11189 r=`${PWD_COMMAND}`; export r; \
11190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11192 for flag in $(EXTRA_HOST_FLAGS) ; do \
11193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11195 echo "Doing distclean in hello" ; \
11196 (cd $(HOST_SUBDIR)/hello && \
11197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11199 "RANLIB=$${RANLIB}" \
11200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11206 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11207 maybe-maintainer-clean-hello:
11209 maybe-maintainer-clean-hello: maintainer-clean-hello
11211 maintainer-clean-hello:
11212 @[ -f ./hello/Makefile ] || exit 0; \
11213 r=`${PWD_COMMAND}`; export r; \
11214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11216 for flag in $(EXTRA_HOST_FLAGS) ; do \
11217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11219 echo "Doing maintainer-clean in hello" ; \
11220 (cd $(HOST_SUBDIR)/hello && \
11221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11223 "RANLIB=$${RANLIB}" \
11224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11225 maintainer-clean) \
11231 .PHONY: configure-indent maybe-configure-indent
11232 maybe-configure-indent:
11234 maybe-configure-indent: configure-indent
11236 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
11237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
11238 r=`${PWD_COMMAND}`; export r; \
11239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11241 echo Configuring in indent; \
11242 cd $(HOST_SUBDIR)/indent || exit 1; \
11243 case $(srcdir) in \
11244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11245 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
11246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11248 srcdiroption="--srcdir=$${topdir}/indent"; \
11249 libsrcdir="$$s/indent"; \
11250 $(SHELL) $${libsrcdir}/configure \
11251 $(HOST_CONFIGARGS) $${srcdiroption} \
11255 .PHONY: all-indent maybe-all-indent
11259 maybe-all-indent: all-indent
11260 all-indent: configure-indent
11261 @r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11264 (cd $(HOST_SUBDIR)/indent && \
11265 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
11268 .PHONY: check-indent maybe-check-indent
11269 maybe-check-indent:
11271 maybe-check-indent: check-indent
11274 @r=`${PWD_COMMAND}`; export r; \
11275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11277 (cd $(HOST_SUBDIR)/indent && \
11278 $(MAKE) $(FLAGS_TO_PASS) check)
11282 .PHONY: install-indent maybe-install-indent
11283 maybe-install-indent:
11285 maybe-install-indent: install-indent
11287 install-indent: installdirs
11288 @r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 (cd $(HOST_SUBDIR)/indent && \
11292 $(MAKE) $(FLAGS_TO_PASS) install)
11296 # Other targets (info, dvi, etc.)
11298 .PHONY: maybe-info-indent info-indent
11301 maybe-info-indent: info-indent
11305 @[ -f ./indent/Makefile ] || exit 0; \
11306 r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11309 for flag in $(EXTRA_HOST_FLAGS) ; do \
11310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11312 echo "Doing info in indent" ; \
11313 (cd $(HOST_SUBDIR)/indent && \
11314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11316 "RANLIB=$${RANLIB}" \
11317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11323 .PHONY: maybe-dvi-indent dvi-indent
11326 maybe-dvi-indent: dvi-indent
11330 @[ -f ./indent/Makefile ] || exit 0; \
11331 r=`${PWD_COMMAND}`; export r; \
11332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11334 for flag in $(EXTRA_HOST_FLAGS) ; do \
11335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11337 echo "Doing dvi in indent" ; \
11338 (cd $(HOST_SUBDIR)/indent && \
11339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11341 "RANLIB=$${RANLIB}" \
11342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11348 .PHONY: maybe-html-indent html-indent
11351 maybe-html-indent: html-indent
11355 @[ -f ./indent/Makefile ] || exit 0; \
11356 r=`${PWD_COMMAND}`; export r; \
11357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11359 for flag in $(EXTRA_HOST_FLAGS) ; do \
11360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11362 echo "Doing html in indent" ; \
11363 (cd $(HOST_SUBDIR)/indent && \
11364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11366 "RANLIB=$${RANLIB}" \
11367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11373 .PHONY: maybe-TAGS-indent TAGS-indent
11376 maybe-TAGS-indent: TAGS-indent
11380 @[ -f ./indent/Makefile ] || exit 0; \
11381 r=`${PWD_COMMAND}`; export r; \
11382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11384 for flag in $(EXTRA_HOST_FLAGS) ; do \
11385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11387 echo "Doing TAGS in indent" ; \
11388 (cd $(HOST_SUBDIR)/indent && \
11389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11391 "RANLIB=$${RANLIB}" \
11392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11398 .PHONY: maybe-install-info-indent install-info-indent
11399 maybe-install-info-indent:
11401 maybe-install-info-indent: install-info-indent
11403 install-info-indent: \
11406 @[ -f ./indent/Makefile ] || exit 0; \
11407 r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11410 for flag in $(EXTRA_HOST_FLAGS) ; do \
11411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11413 echo "Doing install-info in indent" ; \
11414 (cd $(HOST_SUBDIR)/indent && \
11415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11417 "RANLIB=$${RANLIB}" \
11418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11424 .PHONY: maybe-installcheck-indent installcheck-indent
11425 maybe-installcheck-indent:
11427 maybe-installcheck-indent: installcheck-indent
11429 installcheck-indent: \
11431 @[ -f ./indent/Makefile ] || exit 0; \
11432 r=`${PWD_COMMAND}`; export r; \
11433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 for flag in $(EXTRA_HOST_FLAGS) ; do \
11436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11438 echo "Doing installcheck in indent" ; \
11439 (cd $(HOST_SUBDIR)/indent && \
11440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11442 "RANLIB=$${RANLIB}" \
11443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11449 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11450 maybe-mostlyclean-indent:
11452 maybe-mostlyclean-indent: mostlyclean-indent
11454 mostlyclean-indent:
11455 @[ -f ./indent/Makefile ] || exit 0; \
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11459 for flag in $(EXTRA_HOST_FLAGS) ; do \
11460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11462 echo "Doing mostlyclean in indent" ; \
11463 (cd $(HOST_SUBDIR)/indent && \
11464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11466 "RANLIB=$${RANLIB}" \
11467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11473 .PHONY: maybe-clean-indent clean-indent
11474 maybe-clean-indent:
11476 maybe-clean-indent: clean-indent
11479 @[ -f ./indent/Makefile ] || exit 0; \
11480 r=`${PWD_COMMAND}`; export r; \
11481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11483 for flag in $(EXTRA_HOST_FLAGS) ; do \
11484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11486 echo "Doing clean in indent" ; \
11487 (cd $(HOST_SUBDIR)/indent && \
11488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11490 "RANLIB=$${RANLIB}" \
11491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11497 .PHONY: maybe-distclean-indent distclean-indent
11498 maybe-distclean-indent:
11500 maybe-distclean-indent: distclean-indent
11503 @[ -f ./indent/Makefile ] || exit 0; \
11504 r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11507 for flag in $(EXTRA_HOST_FLAGS) ; do \
11508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11510 echo "Doing distclean in indent" ; \
11511 (cd $(HOST_SUBDIR)/indent && \
11512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514 "RANLIB=$${RANLIB}" \
11515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11521 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11522 maybe-maintainer-clean-indent:
11524 maybe-maintainer-clean-indent: maintainer-clean-indent
11526 maintainer-clean-indent:
11527 @[ -f ./indent/Makefile ] || exit 0; \
11528 r=`${PWD_COMMAND}`; export r; \
11529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11531 for flag in $(EXTRA_HOST_FLAGS) ; do \
11532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11534 echo "Doing maintainer-clean in indent" ; \
11535 (cd $(HOST_SUBDIR)/indent && \
11536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11538 "RANLIB=$${RANLIB}" \
11539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11540 maintainer-clean) \
11546 .PHONY: configure-intl maybe-configure-intl
11547 maybe-configure-intl:
11549 maybe-configure-intl: configure-intl
11551 @test -f stage_last && exit 0; \
11552 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
11553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
11554 r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 echo Configuring in intl; \
11558 cd $(HOST_SUBDIR)/intl || exit 1; \
11559 case $(srcdir) in \
11560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11561 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
11562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11564 srcdiroption="--srcdir=$${topdir}/intl"; \
11565 libsrcdir="$$s/intl"; \
11566 $(SHELL) $${libsrcdir}/configure \
11567 $(HOST_CONFIGARGS) $${srcdiroption} \
11571 .PHONY: all-intl maybe-all-intl
11575 maybe-all-intl: all-intl
11576 all-intl: configure-intl
11577 @test -f stage_last && exit 0; \
11578 r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11581 (cd $(HOST_SUBDIR)/intl && \
11582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
11585 .PHONY: check-intl maybe-check-intl
11588 maybe-check-intl: check-intl
11591 @r=`${PWD_COMMAND}`; export r; \
11592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 (cd $(HOST_SUBDIR)/intl && \
11595 $(MAKE) $(FLAGS_TO_PASS) check)
11599 .PHONY: install-intl maybe-install-intl
11600 maybe-install-intl:
11602 maybe-install-intl: install-intl
11604 install-intl: installdirs
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11608 (cd $(HOST_SUBDIR)/intl && \
11609 $(MAKE) $(FLAGS_TO_PASS) install)
11613 # Other targets (info, dvi, etc.)
11615 .PHONY: maybe-info-intl info-intl
11618 maybe-info-intl: info-intl
11622 @[ -f ./intl/Makefile ] || exit 0; \
11623 r=`${PWD_COMMAND}`; export r; \
11624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11626 for flag in $(EXTRA_HOST_FLAGS) ; do \
11627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11629 echo "Doing info in intl" ; \
11630 (cd $(HOST_SUBDIR)/intl && \
11631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11633 "RANLIB=$${RANLIB}" \
11634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11640 .PHONY: maybe-dvi-intl dvi-intl
11643 maybe-dvi-intl: dvi-intl
11647 @[ -f ./intl/Makefile ] || exit 0; \
11648 r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11651 for flag in $(EXTRA_HOST_FLAGS) ; do \
11652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11654 echo "Doing dvi in intl" ; \
11655 (cd $(HOST_SUBDIR)/intl && \
11656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11658 "RANLIB=$${RANLIB}" \
11659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11665 .PHONY: maybe-html-intl html-intl
11668 maybe-html-intl: html-intl
11672 @[ -f ./intl/Makefile ] || exit 0; \
11673 r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11676 for flag in $(EXTRA_HOST_FLAGS) ; do \
11677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11679 echo "Doing html in intl" ; \
11680 (cd $(HOST_SUBDIR)/intl && \
11681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11683 "RANLIB=$${RANLIB}" \
11684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11690 .PHONY: maybe-TAGS-intl TAGS-intl
11693 maybe-TAGS-intl: TAGS-intl
11697 @[ -f ./intl/Makefile ] || exit 0; \
11698 r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11701 for flag in $(EXTRA_HOST_FLAGS) ; do \
11702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11704 echo "Doing TAGS in intl" ; \
11705 (cd $(HOST_SUBDIR)/intl && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708 "RANLIB=$${RANLIB}" \
11709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11715 .PHONY: maybe-install-info-intl install-info-intl
11716 maybe-install-info-intl:
11718 maybe-install-info-intl: install-info-intl
11720 install-info-intl: \
11723 @[ -f ./intl/Makefile ] || exit 0; \
11724 r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11727 for flag in $(EXTRA_HOST_FLAGS) ; do \
11728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11730 echo "Doing install-info in intl" ; \
11731 (cd $(HOST_SUBDIR)/intl && \
11732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11734 "RANLIB=$${RANLIB}" \
11735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11741 .PHONY: maybe-installcheck-intl installcheck-intl
11742 maybe-installcheck-intl:
11744 maybe-installcheck-intl: installcheck-intl
11746 installcheck-intl: \
11748 @[ -f ./intl/Makefile ] || exit 0; \
11749 r=`${PWD_COMMAND}`; export r; \
11750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11752 for flag in $(EXTRA_HOST_FLAGS) ; do \
11753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11755 echo "Doing installcheck in intl" ; \
11756 (cd $(HOST_SUBDIR)/intl && \
11757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11759 "RANLIB=$${RANLIB}" \
11760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11766 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11767 maybe-mostlyclean-intl:
11769 maybe-mostlyclean-intl: mostlyclean-intl
11772 @[ -f ./intl/Makefile ] || exit 0; \
11773 r=`${PWD_COMMAND}`; export r; \
11774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11776 for flag in $(EXTRA_HOST_FLAGS) ; do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11779 echo "Doing mostlyclean in intl" ; \
11780 (cd $(HOST_SUBDIR)/intl && \
11781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783 "RANLIB=$${RANLIB}" \
11784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11790 .PHONY: maybe-clean-intl clean-intl
11793 maybe-clean-intl: clean-intl
11796 @[ -f ./intl/Makefile ] || exit 0; \
11797 r=`${PWD_COMMAND}`; export r; \
11798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11800 for flag in $(EXTRA_HOST_FLAGS) ; do \
11801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11803 echo "Doing clean in intl" ; \
11804 (cd $(HOST_SUBDIR)/intl && \
11805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11807 "RANLIB=$${RANLIB}" \
11808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11814 .PHONY: maybe-distclean-intl distclean-intl
11815 maybe-distclean-intl:
11817 maybe-distclean-intl: distclean-intl
11820 @[ -f ./intl/Makefile ] || exit 0; \
11821 r=`${PWD_COMMAND}`; export r; \
11822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11824 for flag in $(EXTRA_HOST_FLAGS) ; do \
11825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11827 echo "Doing distclean in intl" ; \
11828 (cd $(HOST_SUBDIR)/intl && \
11829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11831 "RANLIB=$${RANLIB}" \
11832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11838 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11839 maybe-maintainer-clean-intl:
11841 maybe-maintainer-clean-intl: maintainer-clean-intl
11843 maintainer-clean-intl:
11844 @[ -f ./intl/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11848 for flag in $(EXTRA_HOST_FLAGS) ; do \
11849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11851 echo "Doing maintainer-clean in intl" ; \
11852 (cd $(HOST_SUBDIR)/intl && \
11853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11855 "RANLIB=$${RANLIB}" \
11856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11857 maintainer-clean) \
11863 .PHONY: configure-tcl maybe-configure-tcl
11864 maybe-configure-tcl:
11866 maybe-configure-tcl: configure-tcl
11868 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
11869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
11870 r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11873 echo Configuring in tcl; \
11874 cd $(HOST_SUBDIR)/tcl || exit 1; \
11875 case $(srcdir) in \
11876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11877 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
11878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11880 srcdiroption="--srcdir=$${topdir}/tcl"; \
11881 libsrcdir="$$s/tcl"; \
11882 $(SHELL) $${libsrcdir}/configure \
11883 $(HOST_CONFIGARGS) $${srcdiroption} \
11887 .PHONY: all-tcl maybe-all-tcl
11891 maybe-all-tcl: all-tcl
11892 all-tcl: configure-tcl
11893 @r=`${PWD_COMMAND}`; export r; \
11894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11896 (cd $(HOST_SUBDIR)/tcl && \
11897 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
11900 .PHONY: check-tcl maybe-check-tcl
11903 maybe-check-tcl: check-tcl
11906 @r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11909 (cd $(HOST_SUBDIR)/tcl && \
11910 $(MAKE) $(FLAGS_TO_PASS) check)
11914 .PHONY: install-tcl maybe-install-tcl
11917 maybe-install-tcl: install-tcl
11919 install-tcl: installdirs
11920 @r=`${PWD_COMMAND}`; export r; \
11921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11923 (cd $(HOST_SUBDIR)/tcl && \
11924 $(MAKE) $(FLAGS_TO_PASS) install)
11928 # Other targets (info, dvi, etc.)
11930 .PHONY: maybe-info-tcl info-tcl
11933 maybe-info-tcl: info-tcl
11937 @[ -f ./tcl/Makefile ] || exit 0; \
11938 r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11941 for flag in $(EXTRA_HOST_FLAGS) ; do \
11942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11944 echo "Doing info in tcl" ; \
11945 (cd $(HOST_SUBDIR)/tcl && \
11946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11948 "RANLIB=$${RANLIB}" \
11949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11955 .PHONY: maybe-dvi-tcl dvi-tcl
11958 maybe-dvi-tcl: dvi-tcl
11962 @[ -f ./tcl/Makefile ] || exit 0; \
11963 r=`${PWD_COMMAND}`; export r; \
11964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11966 for flag in $(EXTRA_HOST_FLAGS) ; do \
11967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11969 echo "Doing dvi in tcl" ; \
11970 (cd $(HOST_SUBDIR)/tcl && \
11971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11973 "RANLIB=$${RANLIB}" \
11974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11980 .PHONY: maybe-html-tcl html-tcl
11983 maybe-html-tcl: html-tcl
11987 @[ -f ./tcl/Makefile ] || exit 0; \
11988 r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11991 for flag in $(EXTRA_HOST_FLAGS) ; do \
11992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11994 echo "Doing html in tcl" ; \
11995 (cd $(HOST_SUBDIR)/tcl && \
11996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11998 "RANLIB=$${RANLIB}" \
11999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12005 .PHONY: maybe-TAGS-tcl TAGS-tcl
12008 maybe-TAGS-tcl: TAGS-tcl
12012 @[ -f ./tcl/Makefile ] || exit 0; \
12013 r=`${PWD_COMMAND}`; export r; \
12014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12016 for flag in $(EXTRA_HOST_FLAGS) ; do \
12017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12019 echo "Doing TAGS in tcl" ; \
12020 (cd $(HOST_SUBDIR)/tcl && \
12021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12023 "RANLIB=$${RANLIB}" \
12024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12030 .PHONY: maybe-install-info-tcl install-info-tcl
12031 maybe-install-info-tcl:
12033 maybe-install-info-tcl: install-info-tcl
12035 install-info-tcl: \
12038 @[ -f ./tcl/Makefile ] || exit 0; \
12039 r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12042 for flag in $(EXTRA_HOST_FLAGS) ; do \
12043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12045 echo "Doing install-info in tcl" ; \
12046 (cd $(HOST_SUBDIR)/tcl && \
12047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12049 "RANLIB=$${RANLIB}" \
12050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12056 .PHONY: maybe-installcheck-tcl installcheck-tcl
12057 maybe-installcheck-tcl:
12059 maybe-installcheck-tcl: installcheck-tcl
12061 installcheck-tcl: \
12063 @[ -f ./tcl/Makefile ] || exit 0; \
12064 r=`${PWD_COMMAND}`; export r; \
12065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12067 for flag in $(EXTRA_HOST_FLAGS) ; do \
12068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12070 echo "Doing installcheck in tcl" ; \
12071 (cd $(HOST_SUBDIR)/tcl && \
12072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12074 "RANLIB=$${RANLIB}" \
12075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12081 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12082 maybe-mostlyclean-tcl:
12084 maybe-mostlyclean-tcl: mostlyclean-tcl
12086 # tcl doesn't support mostlyclean.
12091 .PHONY: maybe-clean-tcl clean-tcl
12094 maybe-clean-tcl: clean-tcl
12097 @[ -f ./tcl/Makefile ] || exit 0; \
12098 r=`${PWD_COMMAND}`; export r; \
12099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12101 for flag in $(EXTRA_HOST_FLAGS) ; do \
12102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12104 echo "Doing clean in tcl" ; \
12105 (cd $(HOST_SUBDIR)/tcl && \
12106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108 "RANLIB=$${RANLIB}" \
12109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 .PHONY: maybe-distclean-tcl distclean-tcl
12116 maybe-distclean-tcl:
12118 maybe-distclean-tcl: distclean-tcl
12121 @[ -f ./tcl/Makefile ] || exit 0; \
12122 r=`${PWD_COMMAND}`; export r; \
12123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12125 for flag in $(EXTRA_HOST_FLAGS) ; do \
12126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12128 echo "Doing distclean in tcl" ; \
12129 (cd $(HOST_SUBDIR)/tcl && \
12130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12132 "RANLIB=$${RANLIB}" \
12133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12139 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12140 maybe-maintainer-clean-tcl:
12142 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12144 maintainer-clean-tcl:
12145 @[ -f ./tcl/Makefile ] || exit 0; \
12146 r=`${PWD_COMMAND}`; export r; \
12147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12149 for flag in $(EXTRA_HOST_FLAGS) ; do \
12150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12152 echo "Doing maintainer-clean in tcl" ; \
12153 (cd $(HOST_SUBDIR)/tcl && \
12154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12156 "RANLIB=$${RANLIB}" \
12157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12158 maintainer-clean) \
12164 .PHONY: configure-itcl maybe-configure-itcl
12165 maybe-configure-itcl:
12167 maybe-configure-itcl: configure-itcl
12169 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
12170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
12171 r=`${PWD_COMMAND}`; export r; \
12172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 echo Configuring in itcl; \
12175 cd $(HOST_SUBDIR)/itcl || exit 1; \
12176 case $(srcdir) in \
12177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12178 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
12179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12181 srcdiroption="--srcdir=$${topdir}/itcl"; \
12182 libsrcdir="$$s/itcl"; \
12183 $(SHELL) $${libsrcdir}/configure \
12184 $(HOST_CONFIGARGS) $${srcdiroption} \
12188 .PHONY: all-itcl maybe-all-itcl
12192 maybe-all-itcl: all-itcl
12193 all-itcl: configure-itcl
12194 @r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12197 (cd $(HOST_SUBDIR)/itcl && \
12198 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
12201 .PHONY: check-itcl maybe-check-itcl
12204 maybe-check-itcl: check-itcl
12207 @r=`${PWD_COMMAND}`; export r; \
12208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12210 (cd $(HOST_SUBDIR)/itcl && \
12211 $(MAKE) $(FLAGS_TO_PASS) check)
12215 .PHONY: install-itcl maybe-install-itcl
12216 maybe-install-itcl:
12218 maybe-install-itcl: install-itcl
12220 install-itcl: installdirs
12221 @r=`${PWD_COMMAND}`; export r; \
12222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 (cd $(HOST_SUBDIR)/itcl && \
12225 $(MAKE) $(FLAGS_TO_PASS) install)
12229 # Other targets (info, dvi, etc.)
12231 .PHONY: maybe-info-itcl info-itcl
12234 maybe-info-itcl: info-itcl
12238 @[ -f ./itcl/Makefile ] || exit 0; \
12239 r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12242 for flag in $(EXTRA_HOST_FLAGS) ; do \
12243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12245 echo "Doing info in itcl" ; \
12246 (cd $(HOST_SUBDIR)/itcl && \
12247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12249 "RANLIB=$${RANLIB}" \
12250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12256 .PHONY: maybe-dvi-itcl dvi-itcl
12259 maybe-dvi-itcl: dvi-itcl
12263 @[ -f ./itcl/Makefile ] || exit 0; \
12264 r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 for flag in $(EXTRA_HOST_FLAGS) ; do \
12268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12270 echo "Doing dvi in itcl" ; \
12271 (cd $(HOST_SUBDIR)/itcl && \
12272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12274 "RANLIB=$${RANLIB}" \
12275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12281 .PHONY: maybe-html-itcl html-itcl
12284 maybe-html-itcl: html-itcl
12288 @[ -f ./itcl/Makefile ] || exit 0; \
12289 r=`${PWD_COMMAND}`; export r; \
12290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12292 for flag in $(EXTRA_HOST_FLAGS) ; do \
12293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12295 echo "Doing html in itcl" ; \
12296 (cd $(HOST_SUBDIR)/itcl && \
12297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12299 "RANLIB=$${RANLIB}" \
12300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12306 .PHONY: maybe-TAGS-itcl TAGS-itcl
12309 maybe-TAGS-itcl: TAGS-itcl
12313 @[ -f ./itcl/Makefile ] || exit 0; \
12314 r=`${PWD_COMMAND}`; export r; \
12315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 for flag in $(EXTRA_HOST_FLAGS) ; do \
12318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12320 echo "Doing TAGS in itcl" ; \
12321 (cd $(HOST_SUBDIR)/itcl && \
12322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12324 "RANLIB=$${RANLIB}" \
12325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 .PHONY: maybe-install-info-itcl install-info-itcl
12332 maybe-install-info-itcl:
12334 maybe-install-info-itcl: install-info-itcl
12336 install-info-itcl: \
12339 @[ -f ./itcl/Makefile ] || exit 0; \
12340 r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12343 for flag in $(EXTRA_HOST_FLAGS) ; do \
12344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12346 echo "Doing install-info in itcl" ; \
12347 (cd $(HOST_SUBDIR)/itcl && \
12348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12350 "RANLIB=$${RANLIB}" \
12351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12357 .PHONY: maybe-installcheck-itcl installcheck-itcl
12358 maybe-installcheck-itcl:
12360 maybe-installcheck-itcl: installcheck-itcl
12362 installcheck-itcl: \
12364 @[ -f ./itcl/Makefile ] || exit 0; \
12365 r=`${PWD_COMMAND}`; export r; \
12366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12368 for flag in $(EXTRA_HOST_FLAGS) ; do \
12369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12371 echo "Doing installcheck in itcl" ; \
12372 (cd $(HOST_SUBDIR)/itcl && \
12373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12375 "RANLIB=$${RANLIB}" \
12376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12382 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12383 maybe-mostlyclean-itcl:
12385 maybe-mostlyclean-itcl: mostlyclean-itcl
12388 @[ -f ./itcl/Makefile ] || exit 0; \
12389 r=`${PWD_COMMAND}`; export r; \
12390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 for flag in $(EXTRA_HOST_FLAGS) ; do \
12393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12395 echo "Doing mostlyclean in itcl" ; \
12396 (cd $(HOST_SUBDIR)/itcl && \
12397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12399 "RANLIB=$${RANLIB}" \
12400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12406 .PHONY: maybe-clean-itcl clean-itcl
12409 maybe-clean-itcl: clean-itcl
12412 @[ -f ./itcl/Makefile ] || exit 0; \
12413 r=`${PWD_COMMAND}`; export r; \
12414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12416 for flag in $(EXTRA_HOST_FLAGS) ; do \
12417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12419 echo "Doing clean in itcl" ; \
12420 (cd $(HOST_SUBDIR)/itcl && \
12421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12423 "RANLIB=$${RANLIB}" \
12424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12430 .PHONY: maybe-distclean-itcl distclean-itcl
12431 maybe-distclean-itcl:
12433 maybe-distclean-itcl: distclean-itcl
12436 @[ -f ./itcl/Makefile ] || exit 0; \
12437 r=`${PWD_COMMAND}`; export r; \
12438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12440 for flag in $(EXTRA_HOST_FLAGS) ; do \
12441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12443 echo "Doing distclean in itcl" ; \
12444 (cd $(HOST_SUBDIR)/itcl && \
12445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447 "RANLIB=$${RANLIB}" \
12448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12454 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12455 maybe-maintainer-clean-itcl:
12457 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12459 maintainer-clean-itcl:
12460 @[ -f ./itcl/Makefile ] || exit 0; \
12461 r=`${PWD_COMMAND}`; export r; \
12462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12464 for flag in $(EXTRA_HOST_FLAGS) ; do \
12465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12467 echo "Doing maintainer-clean in itcl" ; \
12468 (cd $(HOST_SUBDIR)/itcl && \
12469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12471 "RANLIB=$${RANLIB}" \
12472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12473 maintainer-clean) \
12479 .PHONY: configure-ld maybe-configure-ld
12480 maybe-configure-ld:
12482 maybe-configure-ld: configure-ld
12484 @test -f stage_last && exit 0; \
12485 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
12486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
12487 r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12490 echo Configuring in ld; \
12491 cd $(HOST_SUBDIR)/ld || exit 1; \
12492 case $(srcdir) in \
12493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12494 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
12495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12497 srcdiroption="--srcdir=$${topdir}/ld"; \
12498 libsrcdir="$$s/ld"; \
12499 $(SHELL) $${libsrcdir}/configure \
12500 $(HOST_CONFIGARGS) $${srcdiroption} \
12504 .PHONY: all-ld maybe-all-ld
12508 maybe-all-ld: all-ld
12509 all-ld: configure-ld
12510 @test -f stage_last && exit 0; \
12511 r=`${PWD_COMMAND}`; export r; \
12512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12514 (cd $(HOST_SUBDIR)/ld && \
12515 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
12518 .PHONY: check-ld maybe-check-ld
12521 maybe-check-ld: check-ld
12524 @r=`${PWD_COMMAND}`; export r; \
12525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12527 (cd $(HOST_SUBDIR)/ld && \
12528 $(MAKE) $(FLAGS_TO_PASS) check)
12532 .PHONY: install-ld maybe-install-ld
12535 maybe-install-ld: install-ld
12537 install-ld: installdirs
12538 @r=`${PWD_COMMAND}`; export r; \
12539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12541 (cd $(HOST_SUBDIR)/ld && \
12542 $(MAKE) $(FLAGS_TO_PASS) install)
12546 # Other targets (info, dvi, etc.)
12548 .PHONY: maybe-info-ld info-ld
12551 maybe-info-ld: info-ld
12555 @[ -f ./ld/Makefile ] || exit 0; \
12556 r=`${PWD_COMMAND}`; export r; \
12557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12559 for flag in $(EXTRA_HOST_FLAGS) ; do \
12560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12562 echo "Doing info in ld" ; \
12563 (cd $(HOST_SUBDIR)/ld && \
12564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12566 "RANLIB=$${RANLIB}" \
12567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12573 .PHONY: maybe-dvi-ld dvi-ld
12576 maybe-dvi-ld: dvi-ld
12580 @[ -f ./ld/Makefile ] || exit 0; \
12581 r=`${PWD_COMMAND}`; export r; \
12582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12584 for flag in $(EXTRA_HOST_FLAGS) ; do \
12585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12587 echo "Doing dvi in ld" ; \
12588 (cd $(HOST_SUBDIR)/ld && \
12589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12591 "RANLIB=$${RANLIB}" \
12592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12598 .PHONY: maybe-html-ld html-ld
12601 maybe-html-ld: html-ld
12605 @[ -f ./ld/Makefile ] || exit 0; \
12606 r=`${PWD_COMMAND}`; export r; \
12607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12609 for flag in $(EXTRA_HOST_FLAGS) ; do \
12610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12612 echo "Doing html in ld" ; \
12613 (cd $(HOST_SUBDIR)/ld && \
12614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12616 "RANLIB=$${RANLIB}" \
12617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12623 .PHONY: maybe-TAGS-ld TAGS-ld
12626 maybe-TAGS-ld: TAGS-ld
12630 @[ -f ./ld/Makefile ] || exit 0; \
12631 r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12634 for flag in $(EXTRA_HOST_FLAGS) ; do \
12635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12637 echo "Doing TAGS in ld" ; \
12638 (cd $(HOST_SUBDIR)/ld && \
12639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12641 "RANLIB=$${RANLIB}" \
12642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12648 .PHONY: maybe-install-info-ld install-info-ld
12649 maybe-install-info-ld:
12651 maybe-install-info-ld: install-info-ld
12656 @[ -f ./ld/Makefile ] || exit 0; \
12657 r=`${PWD_COMMAND}`; export r; \
12658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12660 for flag in $(EXTRA_HOST_FLAGS) ; do \
12661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12663 echo "Doing install-info in ld" ; \
12664 (cd $(HOST_SUBDIR)/ld && \
12665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12667 "RANLIB=$${RANLIB}" \
12668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12674 .PHONY: maybe-installcheck-ld installcheck-ld
12675 maybe-installcheck-ld:
12677 maybe-installcheck-ld: installcheck-ld
12681 @[ -f ./ld/Makefile ] || exit 0; \
12682 r=`${PWD_COMMAND}`; export r; \
12683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12685 for flag in $(EXTRA_HOST_FLAGS) ; do \
12686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12688 echo "Doing installcheck in ld" ; \
12689 (cd $(HOST_SUBDIR)/ld && \
12690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12692 "RANLIB=$${RANLIB}" \
12693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12699 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12700 maybe-mostlyclean-ld:
12702 maybe-mostlyclean-ld: mostlyclean-ld
12705 @[ -f ./ld/Makefile ] || exit 0; \
12706 r=`${PWD_COMMAND}`; export r; \
12707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12709 for flag in $(EXTRA_HOST_FLAGS) ; do \
12710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12712 echo "Doing mostlyclean in ld" ; \
12713 (cd $(HOST_SUBDIR)/ld && \
12714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12716 "RANLIB=$${RANLIB}" \
12717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12723 .PHONY: maybe-clean-ld clean-ld
12726 maybe-clean-ld: clean-ld
12729 @[ -f ./ld/Makefile ] || exit 0; \
12730 r=`${PWD_COMMAND}`; export r; \
12731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 for flag in $(EXTRA_HOST_FLAGS) ; do \
12734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12736 echo "Doing clean in ld" ; \
12737 (cd $(HOST_SUBDIR)/ld && \
12738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740 "RANLIB=$${RANLIB}" \
12741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12747 .PHONY: maybe-distclean-ld distclean-ld
12748 maybe-distclean-ld:
12750 maybe-distclean-ld: distclean-ld
12753 @[ -f ./ld/Makefile ] || exit 0; \
12754 r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12757 for flag in $(EXTRA_HOST_FLAGS) ; do \
12758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12760 echo "Doing distclean in ld" ; \
12761 (cd $(HOST_SUBDIR)/ld && \
12762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12764 "RANLIB=$${RANLIB}" \
12765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12771 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12772 maybe-maintainer-clean-ld:
12774 maybe-maintainer-clean-ld: maintainer-clean-ld
12776 maintainer-clean-ld:
12777 @[ -f ./ld/Makefile ] || exit 0; \
12778 r=`${PWD_COMMAND}`; export r; \
12779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12781 for flag in $(EXTRA_HOST_FLAGS) ; do \
12782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12784 echo "Doing maintainer-clean in ld" ; \
12785 (cd $(HOST_SUBDIR)/ld && \
12786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12788 "RANLIB=$${RANLIB}" \
12789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12790 maintainer-clean) \
12796 .PHONY: configure-libcpp maybe-configure-libcpp
12797 maybe-configure-libcpp:
12799 maybe-configure-libcpp: configure-libcpp
12801 @test -f stage_last && exit 0; \
12802 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
12803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
12804 r=`${PWD_COMMAND}`; export r; \
12805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12807 echo Configuring in libcpp; \
12808 cd $(HOST_SUBDIR)/libcpp || exit 1; \
12809 case $(srcdir) in \
12810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12811 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
12812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12814 srcdiroption="--srcdir=$${topdir}/libcpp"; \
12815 libsrcdir="$$s/libcpp"; \
12816 $(SHELL) $${libsrcdir}/configure \
12817 $(HOST_CONFIGARGS) $${srcdiroption} \
12821 .PHONY: all-libcpp maybe-all-libcpp
12825 maybe-all-libcpp: all-libcpp
12826 all-libcpp: configure-libcpp
12827 @test -f stage_last && exit 0; \
12828 r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12831 (cd $(HOST_SUBDIR)/libcpp && \
12832 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
12835 .PHONY: check-libcpp maybe-check-libcpp
12836 maybe-check-libcpp:
12838 maybe-check-libcpp: check-libcpp
12841 @r=`${PWD_COMMAND}`; export r; \
12842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12844 (cd $(HOST_SUBDIR)/libcpp && \
12845 $(MAKE) $(FLAGS_TO_PASS) check)
12849 .PHONY: install-libcpp maybe-install-libcpp
12850 maybe-install-libcpp:
12852 maybe-install-libcpp: install-libcpp
12854 install-libcpp: installdirs
12855 @r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 (cd $(HOST_SUBDIR)/libcpp && \
12859 $(MAKE) $(FLAGS_TO_PASS) install)
12863 # Other targets (info, dvi, etc.)
12865 .PHONY: maybe-info-libcpp info-libcpp
12868 maybe-info-libcpp: info-libcpp
12872 @[ -f ./libcpp/Makefile ] || exit 0; \
12873 r=`${PWD_COMMAND}`; export r; \
12874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12876 for flag in $(EXTRA_HOST_FLAGS) ; do \
12877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12879 echo "Doing info in libcpp" ; \
12880 (cd $(HOST_SUBDIR)/libcpp && \
12881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12883 "RANLIB=$${RANLIB}" \
12884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12890 .PHONY: maybe-dvi-libcpp dvi-libcpp
12893 maybe-dvi-libcpp: dvi-libcpp
12897 @[ -f ./libcpp/Makefile ] || exit 0; \
12898 r=`${PWD_COMMAND}`; export r; \
12899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12901 for flag in $(EXTRA_HOST_FLAGS) ; do \
12902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12904 echo "Doing dvi in libcpp" ; \
12905 (cd $(HOST_SUBDIR)/libcpp && \
12906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12908 "RANLIB=$${RANLIB}" \
12909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12915 .PHONY: maybe-html-libcpp html-libcpp
12918 maybe-html-libcpp: html-libcpp
12922 @[ -f ./libcpp/Makefile ] || exit 0; \
12923 r=`${PWD_COMMAND}`; export r; \
12924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12926 for flag in $(EXTRA_HOST_FLAGS) ; do \
12927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12929 echo "Doing html in libcpp" ; \
12930 (cd $(HOST_SUBDIR)/libcpp && \
12931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12933 "RANLIB=$${RANLIB}" \
12934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12940 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12943 maybe-TAGS-libcpp: TAGS-libcpp
12947 @[ -f ./libcpp/Makefile ] || exit 0; \
12948 r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12951 for flag in $(EXTRA_HOST_FLAGS) ; do \
12952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12954 echo "Doing TAGS in libcpp" ; \
12955 (cd $(HOST_SUBDIR)/libcpp && \
12956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12958 "RANLIB=$${RANLIB}" \
12959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12965 .PHONY: maybe-install-info-libcpp install-info-libcpp
12966 maybe-install-info-libcpp:
12968 maybe-install-info-libcpp: install-info-libcpp
12970 install-info-libcpp: \
12973 @[ -f ./libcpp/Makefile ] || exit 0; \
12974 r=`${PWD_COMMAND}`; export r; \
12975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12977 for flag in $(EXTRA_HOST_FLAGS) ; do \
12978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12980 echo "Doing install-info in libcpp" ; \
12981 (cd $(HOST_SUBDIR)/libcpp && \
12982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984 "RANLIB=$${RANLIB}" \
12985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12991 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12992 maybe-installcheck-libcpp:
12994 maybe-installcheck-libcpp: installcheck-libcpp
12996 installcheck-libcpp: \
12998 @[ -f ./libcpp/Makefile ] || exit 0; \
12999 r=`${PWD_COMMAND}`; export r; \
13000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13002 for flag in $(EXTRA_HOST_FLAGS) ; do \
13003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13005 echo "Doing installcheck in libcpp" ; \
13006 (cd $(HOST_SUBDIR)/libcpp && \
13007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13009 "RANLIB=$${RANLIB}" \
13010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13016 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13017 maybe-mostlyclean-libcpp:
13019 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13021 mostlyclean-libcpp:
13022 @[ -f ./libcpp/Makefile ] || exit 0; \
13023 r=`${PWD_COMMAND}`; export r; \
13024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13026 for flag in $(EXTRA_HOST_FLAGS) ; do \
13027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13029 echo "Doing mostlyclean in libcpp" ; \
13030 (cd $(HOST_SUBDIR)/libcpp && \
13031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13033 "RANLIB=$${RANLIB}" \
13034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13040 .PHONY: maybe-clean-libcpp clean-libcpp
13041 maybe-clean-libcpp:
13043 maybe-clean-libcpp: clean-libcpp
13046 @[ -f ./libcpp/Makefile ] || exit 0; \
13047 r=`${PWD_COMMAND}`; export r; \
13048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050 for flag in $(EXTRA_HOST_FLAGS) ; do \
13051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13053 echo "Doing clean in libcpp" ; \
13054 (cd $(HOST_SUBDIR)/libcpp && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057 "RANLIB=$${RANLIB}" \
13058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13064 .PHONY: maybe-distclean-libcpp distclean-libcpp
13065 maybe-distclean-libcpp:
13067 maybe-distclean-libcpp: distclean-libcpp
13070 @[ -f ./libcpp/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13074 for flag in $(EXTRA_HOST_FLAGS) ; do \
13075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13077 echo "Doing distclean in libcpp" ; \
13078 (cd $(HOST_SUBDIR)/libcpp && \
13079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13081 "RANLIB=$${RANLIB}" \
13082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13088 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13089 maybe-maintainer-clean-libcpp:
13091 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13093 maintainer-clean-libcpp:
13094 @[ -f ./libcpp/Makefile ] || exit 0; \
13095 r=`${PWD_COMMAND}`; export r; \
13096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098 for flag in $(EXTRA_HOST_FLAGS) ; do \
13099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13101 echo "Doing maintainer-clean in libcpp" ; \
13102 (cd $(HOST_SUBDIR)/libcpp && \
13103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13105 "RANLIB=$${RANLIB}" \
13106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13107 maintainer-clean) \
13113 .PHONY: configure-libgui maybe-configure-libgui
13114 maybe-configure-libgui:
13116 maybe-configure-libgui: configure-libgui
13118 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
13119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
13120 r=`${PWD_COMMAND}`; export r; \
13121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13123 echo Configuring in libgui; \
13124 cd $(HOST_SUBDIR)/libgui || exit 1; \
13125 case $(srcdir) in \
13126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13127 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
13128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13130 srcdiroption="--srcdir=$${topdir}/libgui"; \
13131 libsrcdir="$$s/libgui"; \
13132 $(SHELL) $${libsrcdir}/configure \
13133 $(HOST_CONFIGARGS) $${srcdiroption} \
13137 .PHONY: all-libgui maybe-all-libgui
13141 maybe-all-libgui: all-libgui
13142 all-libgui: configure-libgui
13143 @r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13146 (cd $(HOST_SUBDIR)/libgui && \
13147 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
13150 .PHONY: check-libgui maybe-check-libgui
13151 maybe-check-libgui:
13153 maybe-check-libgui: check-libgui
13156 @r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13159 (cd $(HOST_SUBDIR)/libgui && \
13160 $(MAKE) $(FLAGS_TO_PASS) check)
13164 .PHONY: install-libgui maybe-install-libgui
13165 maybe-install-libgui:
13167 maybe-install-libgui: install-libgui
13169 install-libgui: installdirs
13170 @r=`${PWD_COMMAND}`; export r; \
13171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 (cd $(HOST_SUBDIR)/libgui && \
13174 $(MAKE) $(FLAGS_TO_PASS) install)
13178 # Other targets (info, dvi, etc.)
13180 .PHONY: maybe-info-libgui info-libgui
13183 maybe-info-libgui: info-libgui
13187 @[ -f ./libgui/Makefile ] || exit 0; \
13188 r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13191 for flag in $(EXTRA_HOST_FLAGS) ; do \
13192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13194 echo "Doing info in libgui" ; \
13195 (cd $(HOST_SUBDIR)/libgui && \
13196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13198 "RANLIB=$${RANLIB}" \
13199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13205 .PHONY: maybe-dvi-libgui dvi-libgui
13208 maybe-dvi-libgui: dvi-libgui
13212 @[ -f ./libgui/Makefile ] || exit 0; \
13213 r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13216 for flag in $(EXTRA_HOST_FLAGS) ; do \
13217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13219 echo "Doing dvi in libgui" ; \
13220 (cd $(HOST_SUBDIR)/libgui && \
13221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13223 "RANLIB=$${RANLIB}" \
13224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13230 .PHONY: maybe-html-libgui html-libgui
13233 maybe-html-libgui: html-libgui
13237 @[ -f ./libgui/Makefile ] || exit 0; \
13238 r=`${PWD_COMMAND}`; export r; \
13239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13241 for flag in $(EXTRA_HOST_FLAGS) ; do \
13242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13244 echo "Doing html in libgui" ; \
13245 (cd $(HOST_SUBDIR)/libgui && \
13246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13248 "RANLIB=$${RANLIB}" \
13249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13255 .PHONY: maybe-TAGS-libgui TAGS-libgui
13258 maybe-TAGS-libgui: TAGS-libgui
13262 @[ -f ./libgui/Makefile ] || exit 0; \
13263 r=`${PWD_COMMAND}`; export r; \
13264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13266 for flag in $(EXTRA_HOST_FLAGS) ; do \
13267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13269 echo "Doing TAGS in libgui" ; \
13270 (cd $(HOST_SUBDIR)/libgui && \
13271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13273 "RANLIB=$${RANLIB}" \
13274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13280 .PHONY: maybe-install-info-libgui install-info-libgui
13281 maybe-install-info-libgui:
13283 maybe-install-info-libgui: install-info-libgui
13285 install-info-libgui: \
13288 @[ -f ./libgui/Makefile ] || exit 0; \
13289 r=`${PWD_COMMAND}`; export r; \
13290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13292 for flag in $(EXTRA_HOST_FLAGS) ; do \
13293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13295 echo "Doing install-info in libgui" ; \
13296 (cd $(HOST_SUBDIR)/libgui && \
13297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13299 "RANLIB=$${RANLIB}" \
13300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13306 .PHONY: maybe-installcheck-libgui installcheck-libgui
13307 maybe-installcheck-libgui:
13309 maybe-installcheck-libgui: installcheck-libgui
13311 installcheck-libgui: \
13313 @[ -f ./libgui/Makefile ] || exit 0; \
13314 r=`${PWD_COMMAND}`; export r; \
13315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13317 for flag in $(EXTRA_HOST_FLAGS) ; do \
13318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13320 echo "Doing installcheck in libgui" ; \
13321 (cd $(HOST_SUBDIR)/libgui && \
13322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13324 "RANLIB=$${RANLIB}" \
13325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13331 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13332 maybe-mostlyclean-libgui:
13334 maybe-mostlyclean-libgui: mostlyclean-libgui
13336 mostlyclean-libgui:
13337 @[ -f ./libgui/Makefile ] || exit 0; \
13338 r=`${PWD_COMMAND}`; export r; \
13339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 for flag in $(EXTRA_HOST_FLAGS) ; do \
13342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13344 echo "Doing mostlyclean in libgui" ; \
13345 (cd $(HOST_SUBDIR)/libgui && \
13346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13348 "RANLIB=$${RANLIB}" \
13349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13355 .PHONY: maybe-clean-libgui clean-libgui
13356 maybe-clean-libgui:
13358 maybe-clean-libgui: clean-libgui
13361 @[ -f ./libgui/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13365 for flag in $(EXTRA_HOST_FLAGS) ; do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13368 echo "Doing clean in libgui" ; \
13369 (cd $(HOST_SUBDIR)/libgui && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13379 .PHONY: maybe-distclean-libgui distclean-libgui
13380 maybe-distclean-libgui:
13382 maybe-distclean-libgui: distclean-libgui
13385 @[ -f ./libgui/Makefile ] || exit 0; \
13386 r=`${PWD_COMMAND}`; export r; \
13387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13389 for flag in $(EXTRA_HOST_FLAGS) ; do \
13390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13392 echo "Doing distclean in libgui" ; \
13393 (cd $(HOST_SUBDIR)/libgui && \
13394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13396 "RANLIB=$${RANLIB}" \
13397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13403 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13404 maybe-maintainer-clean-libgui:
13406 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13408 maintainer-clean-libgui:
13409 @[ -f ./libgui/Makefile ] || exit 0; \
13410 r=`${PWD_COMMAND}`; export r; \
13411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13413 for flag in $(EXTRA_HOST_FLAGS) ; do \
13414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13416 echo "Doing maintainer-clean in libgui" ; \
13417 (cd $(HOST_SUBDIR)/libgui && \
13418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13420 "RANLIB=$${RANLIB}" \
13421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13422 maintainer-clean) \
13428 .PHONY: configure-libiberty maybe-configure-libiberty
13429 maybe-configure-libiberty:
13431 maybe-configure-libiberty: configure-libiberty
13432 configure-libiberty:
13433 @test -f stage_last && exit 0; \
13434 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
13435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
13436 r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13439 echo Configuring in libiberty; \
13440 cd $(HOST_SUBDIR)/libiberty || exit 1; \
13441 case $(srcdir) in \
13442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13443 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
13444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13446 srcdiroption="--srcdir=$${topdir}/libiberty"; \
13447 libsrcdir="$$s/libiberty"; \
13448 $(SHELL) $${libsrcdir}/configure \
13449 $(HOST_CONFIGARGS) $${srcdiroption} \
13453 .PHONY: all-libiberty maybe-all-libiberty
13454 maybe-all-libiberty:
13456 TARGET-libiberty=all
13457 maybe-all-libiberty: all-libiberty
13458 all-libiberty: configure-libiberty
13459 @test -f stage_last && exit 0; \
13460 r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13463 (cd $(HOST_SUBDIR)/libiberty && \
13464 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
13467 .PHONY: check-libiberty maybe-check-libiberty
13468 maybe-check-libiberty:
13470 maybe-check-libiberty: check-libiberty
13473 @r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13476 (cd $(HOST_SUBDIR)/libiberty && \
13477 $(MAKE) $(FLAGS_TO_PASS) check)
13481 .PHONY: install-libiberty maybe-install-libiberty
13482 maybe-install-libiberty:
13484 maybe-install-libiberty: install-libiberty
13486 install-libiberty: installdirs
13487 @r=`${PWD_COMMAND}`; export r; \
13488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13490 (cd $(HOST_SUBDIR)/libiberty && \
13491 $(MAKE) $(FLAGS_TO_PASS) install)
13495 # Other targets (info, dvi, etc.)
13497 .PHONY: maybe-info-libiberty info-libiberty
13498 maybe-info-libiberty:
13500 maybe-info-libiberty: info-libiberty
13503 configure-libiberty
13504 @[ -f ./libiberty/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 info in libiberty" ; \
13512 (cd $(HOST_SUBDIR)/libiberty && \
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-dvi-libiberty dvi-libiberty
13523 maybe-dvi-libiberty:
13525 maybe-dvi-libiberty: dvi-libiberty
13528 configure-libiberty
13529 @[ -f ./libiberty/Makefile ] || exit 0; \
13530 r=`${PWD_COMMAND}`; export r; \
13531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13533 for flag in $(EXTRA_HOST_FLAGS) ; do \
13534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13536 echo "Doing dvi in libiberty" ; \
13537 (cd $(HOST_SUBDIR)/libiberty && \
13538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13540 "RANLIB=$${RANLIB}" \
13541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13547 .PHONY: maybe-html-libiberty html-libiberty
13548 maybe-html-libiberty:
13550 maybe-html-libiberty: html-libiberty
13553 configure-libiberty
13554 @[ -f ./libiberty/Makefile ] || exit 0; \
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13558 for flag in $(EXTRA_HOST_FLAGS) ; do \
13559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 echo "Doing html in libiberty" ; \
13562 (cd $(HOST_SUBDIR)/libiberty && \
13563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13565 "RANLIB=$${RANLIB}" \
13566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13572 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13573 maybe-TAGS-libiberty:
13575 maybe-TAGS-libiberty: TAGS-libiberty
13578 configure-libiberty
13579 @[ -f ./libiberty/Makefile ] || exit 0; \
13580 r=`${PWD_COMMAND}`; export r; \
13581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13583 for flag in $(EXTRA_HOST_FLAGS) ; do \
13584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13586 echo "Doing TAGS in libiberty" ; \
13587 (cd $(HOST_SUBDIR)/libiberty && \
13588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13590 "RANLIB=$${RANLIB}" \
13591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13597 .PHONY: maybe-install-info-libiberty install-info-libiberty
13598 maybe-install-info-libiberty:
13600 maybe-install-info-libiberty: install-info-libiberty
13602 install-info-libiberty: \
13603 configure-libiberty \
13605 @[ -f ./libiberty/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13609 for flag in $(EXTRA_HOST_FLAGS) ; do \
13610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13612 echo "Doing install-info in libiberty" ; \
13613 (cd $(HOST_SUBDIR)/libiberty && \
13614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616 "RANLIB=$${RANLIB}" \
13617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13623 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13624 maybe-installcheck-libiberty:
13626 maybe-installcheck-libiberty: installcheck-libiberty
13628 installcheck-libiberty: \
13629 configure-libiberty
13630 @[ -f ./libiberty/Makefile ] || exit 0; \
13631 r=`${PWD_COMMAND}`; export r; \
13632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 for flag in $(EXTRA_HOST_FLAGS) ; do \
13635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13637 echo "Doing installcheck in libiberty" ; \
13638 (cd $(HOST_SUBDIR)/libiberty && \
13639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13641 "RANLIB=$${RANLIB}" \
13642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13648 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13649 maybe-mostlyclean-libiberty:
13651 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13653 mostlyclean-libiberty:
13654 @[ -f ./libiberty/Makefile ] || exit 0; \
13655 r=`${PWD_COMMAND}`; export r; \
13656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13658 for flag in $(EXTRA_HOST_FLAGS) ; do \
13659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13661 echo "Doing mostlyclean in libiberty" ; \
13662 (cd $(HOST_SUBDIR)/libiberty && \
13663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13665 "RANLIB=$${RANLIB}" \
13666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13672 .PHONY: maybe-clean-libiberty clean-libiberty
13673 maybe-clean-libiberty:
13675 maybe-clean-libiberty: clean-libiberty
13678 @[ -f ./libiberty/Makefile ] || exit 0; \
13679 r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 for flag in $(EXTRA_HOST_FLAGS) ; do \
13683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13685 echo "Doing clean in libiberty" ; \
13686 (cd $(HOST_SUBDIR)/libiberty && \
13687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13689 "RANLIB=$${RANLIB}" \
13690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13696 .PHONY: maybe-distclean-libiberty distclean-libiberty
13697 maybe-distclean-libiberty:
13699 maybe-distclean-libiberty: distclean-libiberty
13701 distclean-libiberty:
13702 @[ -f ./libiberty/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 for flag in $(EXTRA_HOST_FLAGS) ; do \
13707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13709 echo "Doing distclean in libiberty" ; \
13710 (cd $(HOST_SUBDIR)/libiberty && \
13711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713 "RANLIB=$${RANLIB}" \
13714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13720 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13721 maybe-maintainer-clean-libiberty:
13723 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13725 maintainer-clean-libiberty:
13726 @[ -f ./libiberty/Makefile ] || exit 0; \
13727 r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730 for flag in $(EXTRA_HOST_FLAGS) ; do \
13731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13733 echo "Doing maintainer-clean in libiberty" ; \
13734 (cd $(HOST_SUBDIR)/libiberty && \
13735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13737 "RANLIB=$${RANLIB}" \
13738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13739 maintainer-clean) \
13745 .PHONY: configure-libtool maybe-configure-libtool
13746 maybe-configure-libtool:
13748 maybe-configure-libtool: configure-libtool
13750 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
13751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
13752 r=`${PWD_COMMAND}`; export r; \
13753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755 echo Configuring in libtool; \
13756 cd $(HOST_SUBDIR)/libtool || exit 1; \
13757 case $(srcdir) in \
13758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13759 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
13760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13762 srcdiroption="--srcdir=$${topdir}/libtool"; \
13763 libsrcdir="$$s/libtool"; \
13764 $(SHELL) $${libsrcdir}/configure \
13765 $(HOST_CONFIGARGS) $${srcdiroption} \
13769 .PHONY: all-libtool maybe-all-libtool
13773 maybe-all-libtool: all-libtool
13774 all-libtool: configure-libtool
13775 @r=`${PWD_COMMAND}`; export r; \
13776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13778 (cd $(HOST_SUBDIR)/libtool && \
13779 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
13782 .PHONY: check-libtool maybe-check-libtool
13783 maybe-check-libtool:
13785 maybe-check-libtool: check-libtool
13788 @r=`${PWD_COMMAND}`; export r; \
13789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13791 (cd $(HOST_SUBDIR)/libtool && \
13792 $(MAKE) $(FLAGS_TO_PASS) check)
13796 .PHONY: install-libtool maybe-install-libtool
13797 maybe-install-libtool:
13799 maybe-install-libtool: install-libtool
13801 install-libtool: installdirs
13802 @r=`${PWD_COMMAND}`; export r; \
13803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13805 (cd $(HOST_SUBDIR)/libtool && \
13806 $(MAKE) $(FLAGS_TO_PASS) install)
13810 # Other targets (info, dvi, etc.)
13812 .PHONY: maybe-info-libtool info-libtool
13813 maybe-info-libtool:
13815 maybe-info-libtool: info-libtool
13819 @[ -f ./libtool/Makefile ] || exit 0; \
13820 r=`${PWD_COMMAND}`; export r; \
13821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13823 for flag in $(EXTRA_HOST_FLAGS) ; do \
13824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13826 echo "Doing info in libtool" ; \
13827 (cd $(HOST_SUBDIR)/libtool && \
13828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13830 "RANLIB=$${RANLIB}" \
13831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13837 .PHONY: maybe-dvi-libtool dvi-libtool
13840 maybe-dvi-libtool: dvi-libtool
13844 @[ -f ./libtool/Makefile ] || exit 0; \
13845 r=`${PWD_COMMAND}`; export r; \
13846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13848 for flag in $(EXTRA_HOST_FLAGS) ; do \
13849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13851 echo "Doing dvi in libtool" ; \
13852 (cd $(HOST_SUBDIR)/libtool && \
13853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13855 "RANLIB=$${RANLIB}" \
13856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13862 .PHONY: maybe-html-libtool html-libtool
13863 maybe-html-libtool:
13865 maybe-html-libtool: html-libtool
13869 @[ -f ./libtool/Makefile ] || exit 0; \
13870 r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13873 for flag in $(EXTRA_HOST_FLAGS) ; do \
13874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13876 echo "Doing html in libtool" ; \
13877 (cd $(HOST_SUBDIR)/libtool && \
13878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13880 "RANLIB=$${RANLIB}" \
13881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13887 .PHONY: maybe-TAGS-libtool TAGS-libtool
13888 maybe-TAGS-libtool:
13890 maybe-TAGS-libtool: TAGS-libtool
13894 @[ -f ./libtool/Makefile ] || exit 0; \
13895 r=`${PWD_COMMAND}`; export r; \
13896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13898 for flag in $(EXTRA_HOST_FLAGS) ; do \
13899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13901 echo "Doing TAGS in libtool" ; \
13902 (cd $(HOST_SUBDIR)/libtool && \
13903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13905 "RANLIB=$${RANLIB}" \
13906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13912 .PHONY: maybe-install-info-libtool install-info-libtool
13913 maybe-install-info-libtool:
13915 maybe-install-info-libtool: install-info-libtool
13917 install-info-libtool: \
13918 configure-libtool \
13920 @[ -f ./libtool/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 libtool" ; \
13928 (cd $(HOST_SUBDIR)/libtool && \
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-libtool installcheck-libtool
13939 maybe-installcheck-libtool:
13941 maybe-installcheck-libtool: installcheck-libtool
13943 installcheck-libtool: \
13945 @[ -f ./libtool/Makefile ] || exit 0; \
13946 r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13949 for flag in $(EXTRA_HOST_FLAGS) ; do \
13950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13952 echo "Doing installcheck in libtool" ; \
13953 (cd $(HOST_SUBDIR)/libtool && \
13954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13956 "RANLIB=$${RANLIB}" \
13957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13963 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13964 maybe-mostlyclean-libtool:
13966 maybe-mostlyclean-libtool: mostlyclean-libtool
13968 mostlyclean-libtool:
13969 @[ -f ./libtool/Makefile ] || exit 0; \
13970 r=`${PWD_COMMAND}`; export r; \
13971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13973 for flag in $(EXTRA_HOST_FLAGS) ; do \
13974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13976 echo "Doing mostlyclean in libtool" ; \
13977 (cd $(HOST_SUBDIR)/libtool && \
13978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13980 "RANLIB=$${RANLIB}" \
13981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13987 .PHONY: maybe-clean-libtool clean-libtool
13988 maybe-clean-libtool:
13990 maybe-clean-libtool: clean-libtool
13993 @[ -f ./libtool/Makefile ] || exit 0; \
13994 r=`${PWD_COMMAND}`; export r; \
13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13997 for flag in $(EXTRA_HOST_FLAGS) ; do \
13998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14000 echo "Doing clean in libtool" ; \
14001 (cd $(HOST_SUBDIR)/libtool && \
14002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14004 "RANLIB=$${RANLIB}" \
14005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14011 .PHONY: maybe-distclean-libtool distclean-libtool
14012 maybe-distclean-libtool:
14014 maybe-distclean-libtool: distclean-libtool
14017 @[ -f ./libtool/Makefile ] || exit 0; \
14018 r=`${PWD_COMMAND}`; export r; \
14019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14021 for flag in $(EXTRA_HOST_FLAGS) ; do \
14022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14024 echo "Doing distclean in libtool" ; \
14025 (cd $(HOST_SUBDIR)/libtool && \
14026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14028 "RANLIB=$${RANLIB}" \
14029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14035 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14036 maybe-maintainer-clean-libtool:
14038 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14040 maintainer-clean-libtool:
14041 @[ -f ./libtool/Makefile ] || exit 0; \
14042 r=`${PWD_COMMAND}`; export r; \
14043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14045 for flag in $(EXTRA_HOST_FLAGS) ; do \
14046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14048 echo "Doing maintainer-clean in libtool" ; \
14049 (cd $(HOST_SUBDIR)/libtool && \
14050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14052 "RANLIB=$${RANLIB}" \
14053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14054 maintainer-clean) \
14060 .PHONY: configure-m4 maybe-configure-m4
14061 maybe-configure-m4:
14063 maybe-configure-m4: configure-m4
14065 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
14066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
14067 r=`${PWD_COMMAND}`; export r; \
14068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 echo Configuring in m4; \
14071 cd $(HOST_SUBDIR)/m4 || exit 1; \
14072 case $(srcdir) in \
14073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14074 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
14075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14077 srcdiroption="--srcdir=$${topdir}/m4"; \
14078 libsrcdir="$$s/m4"; \
14079 $(SHELL) $${libsrcdir}/configure \
14080 $(HOST_CONFIGARGS) $${srcdiroption} \
14084 .PHONY: all-m4 maybe-all-m4
14088 maybe-all-m4: all-m4
14089 all-m4: configure-m4
14090 @r=`${PWD_COMMAND}`; export r; \
14091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14093 (cd $(HOST_SUBDIR)/m4 && \
14094 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
14097 .PHONY: check-m4 maybe-check-m4
14100 maybe-check-m4: check-m4
14103 @r=`${PWD_COMMAND}`; export r; \
14104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14106 (cd $(HOST_SUBDIR)/m4 && \
14107 $(MAKE) $(FLAGS_TO_PASS) check)
14111 .PHONY: install-m4 maybe-install-m4
14114 maybe-install-m4: install-m4
14116 install-m4: installdirs
14117 @r=`${PWD_COMMAND}`; export r; \
14118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 (cd $(HOST_SUBDIR)/m4 && \
14121 $(MAKE) $(FLAGS_TO_PASS) install)
14125 # Other targets (info, dvi, etc.)
14127 .PHONY: maybe-info-m4 info-m4
14130 maybe-info-m4: info-m4
14134 @[ -f ./m4/Makefile ] || exit 0; \
14135 r=`${PWD_COMMAND}`; export r; \
14136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 for flag in $(EXTRA_HOST_FLAGS) ; do \
14139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14141 echo "Doing info in m4" ; \
14142 (cd $(HOST_SUBDIR)/m4 && \
14143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14145 "RANLIB=$${RANLIB}" \
14146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14152 .PHONY: maybe-dvi-m4 dvi-m4
14155 maybe-dvi-m4: dvi-m4
14159 @[ -f ./m4/Makefile ] || exit 0; \
14160 r=`${PWD_COMMAND}`; export r; \
14161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 for flag in $(EXTRA_HOST_FLAGS) ; do \
14164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 echo "Doing dvi in m4" ; \
14167 (cd $(HOST_SUBDIR)/m4 && \
14168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14170 "RANLIB=$${RANLIB}" \
14171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14177 .PHONY: maybe-html-m4 html-m4
14180 maybe-html-m4: html-m4
14184 @[ -f ./m4/Makefile ] || exit 0; \
14185 r=`${PWD_COMMAND}`; export r; \
14186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14188 for flag in $(EXTRA_HOST_FLAGS) ; do \
14189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14191 echo "Doing html in m4" ; \
14192 (cd $(HOST_SUBDIR)/m4 && \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195 "RANLIB=$${RANLIB}" \
14196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14202 .PHONY: maybe-TAGS-m4 TAGS-m4
14205 maybe-TAGS-m4: TAGS-m4
14209 @[ -f ./m4/Makefile ] || exit 0; \
14210 r=`${PWD_COMMAND}`; export r; \
14211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14213 for flag in $(EXTRA_HOST_FLAGS) ; do \
14214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14216 echo "Doing TAGS in m4" ; \
14217 (cd $(HOST_SUBDIR)/m4 && \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14220 "RANLIB=$${RANLIB}" \
14221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14227 .PHONY: maybe-install-info-m4 install-info-m4
14228 maybe-install-info-m4:
14230 maybe-install-info-m4: install-info-m4
14235 @[ -f ./m4/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14239 for flag in $(EXTRA_HOST_FLAGS) ; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14242 echo "Doing install-info in m4" ; \
14243 (cd $(HOST_SUBDIR)/m4 && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14253 .PHONY: maybe-installcheck-m4 installcheck-m4
14254 maybe-installcheck-m4:
14256 maybe-installcheck-m4: installcheck-m4
14260 @[ -f ./m4/Makefile ] || exit 0; \
14261 r=`${PWD_COMMAND}`; export r; \
14262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14264 for flag in $(EXTRA_HOST_FLAGS) ; do \
14265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14267 echo "Doing installcheck in m4" ; \
14268 (cd $(HOST_SUBDIR)/m4 && \
14269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14271 "RANLIB=$${RANLIB}" \
14272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14278 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14279 maybe-mostlyclean-m4:
14281 maybe-mostlyclean-m4: mostlyclean-m4
14284 @[ -f ./m4/Makefile ] || exit 0; \
14285 r=`${PWD_COMMAND}`; export r; \
14286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14288 for flag in $(EXTRA_HOST_FLAGS) ; do \
14289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14291 echo "Doing mostlyclean in m4" ; \
14292 (cd $(HOST_SUBDIR)/m4 && \
14293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14295 "RANLIB=$${RANLIB}" \
14296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14302 .PHONY: maybe-clean-m4 clean-m4
14305 maybe-clean-m4: clean-m4
14308 @[ -f ./m4/Makefile ] || exit 0; \
14309 r=`${PWD_COMMAND}`; export r; \
14310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14312 for flag in $(EXTRA_HOST_FLAGS) ; do \
14313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14315 echo "Doing clean in m4" ; \
14316 (cd $(HOST_SUBDIR)/m4 && \
14317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14319 "RANLIB=$${RANLIB}" \
14320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14326 .PHONY: maybe-distclean-m4 distclean-m4
14327 maybe-distclean-m4:
14329 maybe-distclean-m4: distclean-m4
14332 @[ -f ./m4/Makefile ] || exit 0; \
14333 r=`${PWD_COMMAND}`; export r; \
14334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14336 for flag in $(EXTRA_HOST_FLAGS) ; do \
14337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14339 echo "Doing distclean in m4" ; \
14340 (cd $(HOST_SUBDIR)/m4 && \
14341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14343 "RANLIB=$${RANLIB}" \
14344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14350 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14351 maybe-maintainer-clean-m4:
14353 maybe-maintainer-clean-m4: maintainer-clean-m4
14355 maintainer-clean-m4:
14356 @[ -f ./m4/Makefile ] || exit 0; \
14357 r=`${PWD_COMMAND}`; export r; \
14358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14360 for flag in $(EXTRA_HOST_FLAGS) ; do \
14361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363 echo "Doing maintainer-clean in m4" ; \
14364 (cd $(HOST_SUBDIR)/m4 && \
14365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14367 "RANLIB=$${RANLIB}" \
14368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14369 maintainer-clean) \
14375 .PHONY: configure-make maybe-configure-make
14376 maybe-configure-make:
14378 maybe-configure-make: configure-make
14380 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
14381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
14382 r=`${PWD_COMMAND}`; export r; \
14383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14385 echo Configuring in make; \
14386 cd $(HOST_SUBDIR)/make || exit 1; \
14387 case $(srcdir) in \
14388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14389 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
14390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14392 srcdiroption="--srcdir=$${topdir}/make"; \
14393 libsrcdir="$$s/make"; \
14394 $(SHELL) $${libsrcdir}/configure \
14395 $(HOST_CONFIGARGS) $${srcdiroption} \
14399 .PHONY: all-make maybe-all-make
14403 maybe-all-make: all-make
14404 all-make: configure-make
14405 @r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14408 (cd $(HOST_SUBDIR)/make && \
14409 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
14412 .PHONY: check-make maybe-check-make
14415 maybe-check-make: check-make
14418 @r=`${PWD_COMMAND}`; export r; \
14419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14421 (cd $(HOST_SUBDIR)/make && \
14422 $(MAKE) $(FLAGS_TO_PASS) check)
14426 .PHONY: install-make maybe-install-make
14427 maybe-install-make:
14429 maybe-install-make: install-make
14431 install-make: installdirs
14432 @r=`${PWD_COMMAND}`; export r; \
14433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14435 (cd $(HOST_SUBDIR)/make && \
14436 $(MAKE) $(FLAGS_TO_PASS) install)
14440 # Other targets (info, dvi, etc.)
14442 .PHONY: maybe-info-make info-make
14445 maybe-info-make: info-make
14449 @[ -f ./make/Makefile ] || exit 0; \
14450 r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14453 for flag in $(EXTRA_HOST_FLAGS) ; do \
14454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14456 echo "Doing info in make" ; \
14457 (cd $(HOST_SUBDIR)/make && \
14458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14460 "RANLIB=$${RANLIB}" \
14461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14467 .PHONY: maybe-dvi-make dvi-make
14470 maybe-dvi-make: dvi-make
14474 @[ -f ./make/Makefile ] || exit 0; \
14475 r=`${PWD_COMMAND}`; export r; \
14476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 for flag in $(EXTRA_HOST_FLAGS) ; do \
14479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14481 echo "Doing dvi in make" ; \
14482 (cd $(HOST_SUBDIR)/make && \
14483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14485 "RANLIB=$${RANLIB}" \
14486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14492 .PHONY: maybe-html-make html-make
14495 maybe-html-make: html-make
14499 @[ -f ./make/Makefile ] || exit 0; \
14500 r=`${PWD_COMMAND}`; export r; \
14501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14503 for flag in $(EXTRA_HOST_FLAGS) ; do \
14504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14506 echo "Doing html in make" ; \
14507 (cd $(HOST_SUBDIR)/make && \
14508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14510 "RANLIB=$${RANLIB}" \
14511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14517 .PHONY: maybe-TAGS-make TAGS-make
14520 maybe-TAGS-make: TAGS-make
14524 @[ -f ./make/Makefile ] || exit 0; \
14525 r=`${PWD_COMMAND}`; export r; \
14526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528 for flag in $(EXTRA_HOST_FLAGS) ; do \
14529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14531 echo "Doing TAGS in make" ; \
14532 (cd $(HOST_SUBDIR)/make && \
14533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535 "RANLIB=$${RANLIB}" \
14536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14542 .PHONY: maybe-install-info-make install-info-make
14543 maybe-install-info-make:
14545 maybe-install-info-make: install-info-make
14547 install-info-make: \
14550 @[ -f ./make/Makefile ] || exit 0; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 for flag in $(EXTRA_HOST_FLAGS) ; do \
14555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 echo "Doing install-info in make" ; \
14558 (cd $(HOST_SUBDIR)/make && \
14559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561 "RANLIB=$${RANLIB}" \
14562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14568 .PHONY: maybe-installcheck-make installcheck-make
14569 maybe-installcheck-make:
14571 maybe-installcheck-make: installcheck-make
14573 installcheck-make: \
14575 @[ -f ./make/Makefile ] || exit 0; \
14576 r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 for flag in $(EXTRA_HOST_FLAGS) ; do \
14580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 echo "Doing installcheck in make" ; \
14583 (cd $(HOST_SUBDIR)/make && \
14584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14586 "RANLIB=$${RANLIB}" \
14587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14593 .PHONY: maybe-mostlyclean-make mostlyclean-make
14594 maybe-mostlyclean-make:
14596 maybe-mostlyclean-make: mostlyclean-make
14599 @[ -f ./make/Makefile ] || exit 0; \
14600 r=`${PWD_COMMAND}`; export r; \
14601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14603 for flag in $(EXTRA_HOST_FLAGS) ; do \
14604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14606 echo "Doing mostlyclean in make" ; \
14607 (cd $(HOST_SUBDIR)/make && \
14608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14610 "RANLIB=$${RANLIB}" \
14611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14617 .PHONY: maybe-clean-make clean-make
14620 maybe-clean-make: clean-make
14623 @[ -f ./make/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14627 for flag in $(EXTRA_HOST_FLAGS) ; do \
14628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14630 echo "Doing clean in make" ; \
14631 (cd $(HOST_SUBDIR)/make && \
14632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14634 "RANLIB=$${RANLIB}" \
14635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14641 .PHONY: maybe-distclean-make distclean-make
14642 maybe-distclean-make:
14644 maybe-distclean-make: distclean-make
14647 @[ -f ./make/Makefile ] || exit 0; \
14648 r=`${PWD_COMMAND}`; export r; \
14649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14651 for flag in $(EXTRA_HOST_FLAGS) ; do \
14652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14654 echo "Doing distclean in make" ; \
14655 (cd $(HOST_SUBDIR)/make && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658 "RANLIB=$${RANLIB}" \
14659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14665 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14666 maybe-maintainer-clean-make:
14668 maybe-maintainer-clean-make: maintainer-clean-make
14670 maintainer-clean-make:
14671 @[ -f ./make/Makefile ] || exit 0; \
14672 r=`${PWD_COMMAND}`; export r; \
14673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14675 for flag in $(EXTRA_HOST_FLAGS) ; do \
14676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14678 echo "Doing maintainer-clean in make" ; \
14679 (cd $(HOST_SUBDIR)/make && \
14680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14682 "RANLIB=$${RANLIB}" \
14683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14684 maintainer-clean) \
14690 .PHONY: configure-mmalloc maybe-configure-mmalloc
14691 maybe-configure-mmalloc:
14693 maybe-configure-mmalloc: configure-mmalloc
14695 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
14696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
14697 r=`${PWD_COMMAND}`; export r; \
14698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14700 echo Configuring in mmalloc; \
14701 cd $(HOST_SUBDIR)/mmalloc || exit 1; \
14702 case $(srcdir) in \
14703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14704 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
14705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14707 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
14708 libsrcdir="$$s/mmalloc"; \
14709 $(SHELL) $${libsrcdir}/configure \
14710 $(HOST_CONFIGARGS) $${srcdiroption} \
14714 .PHONY: all-mmalloc maybe-all-mmalloc
14718 maybe-all-mmalloc: all-mmalloc
14719 all-mmalloc: configure-mmalloc
14720 @r=`${PWD_COMMAND}`; export r; \
14721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14723 (cd $(HOST_SUBDIR)/mmalloc && \
14724 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
14727 .PHONY: check-mmalloc maybe-check-mmalloc
14728 maybe-check-mmalloc:
14730 maybe-check-mmalloc: check-mmalloc
14736 .PHONY: install-mmalloc maybe-install-mmalloc
14737 maybe-install-mmalloc:
14739 maybe-install-mmalloc: install-mmalloc
14741 install-mmalloc: installdirs
14742 @r=`${PWD_COMMAND}`; export r; \
14743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14745 (cd $(HOST_SUBDIR)/mmalloc && \
14746 $(MAKE) $(FLAGS_TO_PASS) install)
14750 # Other targets (info, dvi, etc.)
14752 .PHONY: maybe-info-mmalloc info-mmalloc
14753 maybe-info-mmalloc:
14755 maybe-info-mmalloc: info-mmalloc
14759 @[ -f ./mmalloc/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14763 for flag in $(EXTRA_HOST_FLAGS) ; do \
14764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766 echo "Doing info in mmalloc" ; \
14767 (cd $(HOST_SUBDIR)/mmalloc && \
14768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14770 "RANLIB=$${RANLIB}" \
14771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14777 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14780 maybe-dvi-mmalloc: dvi-mmalloc
14784 @[ -f ./mmalloc/Makefile ] || exit 0; \
14785 r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 for flag in $(EXTRA_HOST_FLAGS) ; do \
14789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14791 echo "Doing dvi in mmalloc" ; \
14792 (cd $(HOST_SUBDIR)/mmalloc && \
14793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795 "RANLIB=$${RANLIB}" \
14796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14802 .PHONY: maybe-html-mmalloc html-mmalloc
14803 maybe-html-mmalloc:
14805 maybe-html-mmalloc: html-mmalloc
14809 @[ -f ./mmalloc/Makefile ] || exit 0; \
14810 r=`${PWD_COMMAND}`; export r; \
14811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14813 for flag in $(EXTRA_HOST_FLAGS) ; do \
14814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14816 echo "Doing html in mmalloc" ; \
14817 (cd $(HOST_SUBDIR)/mmalloc && \
14818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14820 "RANLIB=$${RANLIB}" \
14821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14827 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14828 maybe-TAGS-mmalloc:
14830 maybe-TAGS-mmalloc: TAGS-mmalloc
14834 @[ -f ./mmalloc/Makefile ] || exit 0; \
14835 r=`${PWD_COMMAND}`; export r; \
14836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14838 for flag in $(EXTRA_HOST_FLAGS) ; do \
14839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14841 echo "Doing TAGS in mmalloc" ; \
14842 (cd $(HOST_SUBDIR)/mmalloc && \
14843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14845 "RANLIB=$${RANLIB}" \
14846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14852 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14853 maybe-install-info-mmalloc:
14855 maybe-install-info-mmalloc: install-info-mmalloc
14857 install-info-mmalloc: \
14858 configure-mmalloc \
14860 @[ -f ./mmalloc/Makefile ] || exit 0; \
14861 r=`${PWD_COMMAND}`; export r; \
14862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14864 for flag in $(EXTRA_HOST_FLAGS) ; do \
14865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14867 echo "Doing install-info in mmalloc" ; \
14868 (cd $(HOST_SUBDIR)/mmalloc && \
14869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14871 "RANLIB=$${RANLIB}" \
14872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14879 maybe-installcheck-mmalloc:
14881 maybe-installcheck-mmalloc: installcheck-mmalloc
14883 installcheck-mmalloc: \
14885 @[ -f ./mmalloc/Makefile ] || exit 0; \
14886 r=`${PWD_COMMAND}`; export r; \
14887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14889 for flag in $(EXTRA_HOST_FLAGS) ; do \
14890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14892 echo "Doing installcheck in mmalloc" ; \
14893 (cd $(HOST_SUBDIR)/mmalloc && \
14894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14896 "RANLIB=$${RANLIB}" \
14897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14903 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14904 maybe-mostlyclean-mmalloc:
14906 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14908 mostlyclean-mmalloc:
14909 @[ -f ./mmalloc/Makefile ] || exit 0; \
14910 r=`${PWD_COMMAND}`; export r; \
14911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14913 for flag in $(EXTRA_HOST_FLAGS) ; do \
14914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14916 echo "Doing mostlyclean in mmalloc" ; \
14917 (cd $(HOST_SUBDIR)/mmalloc && \
14918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14920 "RANLIB=$${RANLIB}" \
14921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14927 .PHONY: maybe-clean-mmalloc clean-mmalloc
14928 maybe-clean-mmalloc:
14930 maybe-clean-mmalloc: clean-mmalloc
14933 @[ -f ./mmalloc/Makefile ] || exit 0; \
14934 r=`${PWD_COMMAND}`; export r; \
14935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14937 for flag in $(EXTRA_HOST_FLAGS) ; do \
14938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14940 echo "Doing clean in mmalloc" ; \
14941 (cd $(HOST_SUBDIR)/mmalloc && \
14942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14944 "RANLIB=$${RANLIB}" \
14945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14951 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14952 maybe-distclean-mmalloc:
14954 maybe-distclean-mmalloc: distclean-mmalloc
14957 @[ -f ./mmalloc/Makefile ] || exit 0; \
14958 r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14961 for flag in $(EXTRA_HOST_FLAGS) ; do \
14962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14964 echo "Doing distclean in mmalloc" ; \
14965 (cd $(HOST_SUBDIR)/mmalloc && \
14966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14968 "RANLIB=$${RANLIB}" \
14969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14975 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14976 maybe-maintainer-clean-mmalloc:
14978 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14980 maintainer-clean-mmalloc:
14981 @[ -f ./mmalloc/Makefile ] || exit 0; \
14982 r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14985 for flag in $(EXTRA_HOST_FLAGS) ; do \
14986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14988 echo "Doing maintainer-clean in mmalloc" ; \
14989 (cd $(HOST_SUBDIR)/mmalloc && \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992 "RANLIB=$${RANLIB}" \
14993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14994 maintainer-clean) \
15000 .PHONY: configure-patch maybe-configure-patch
15001 maybe-configure-patch:
15003 maybe-configure-patch: configure-patch
15005 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
15006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
15007 r=`${PWD_COMMAND}`; export r; \
15008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15010 echo Configuring in patch; \
15011 cd $(HOST_SUBDIR)/patch || exit 1; \
15012 case $(srcdir) in \
15013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15014 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
15015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15017 srcdiroption="--srcdir=$${topdir}/patch"; \
15018 libsrcdir="$$s/patch"; \
15019 $(SHELL) $${libsrcdir}/configure \
15020 $(HOST_CONFIGARGS) $${srcdiroption} \
15024 .PHONY: all-patch maybe-all-patch
15028 maybe-all-patch: all-patch
15029 all-patch: configure-patch
15030 @r=`${PWD_COMMAND}`; export r; \
15031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15033 (cd $(HOST_SUBDIR)/patch && \
15034 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
15037 .PHONY: check-patch maybe-check-patch
15040 maybe-check-patch: check-patch
15043 @r=`${PWD_COMMAND}`; export r; \
15044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15046 (cd $(HOST_SUBDIR)/patch && \
15047 $(MAKE) $(FLAGS_TO_PASS) check)
15051 .PHONY: install-patch maybe-install-patch
15052 maybe-install-patch:
15054 maybe-install-patch: install-patch
15056 install-patch: installdirs
15057 @r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15060 (cd $(HOST_SUBDIR)/patch && \
15061 $(MAKE) $(FLAGS_TO_PASS) install)
15065 # Other targets (info, dvi, etc.)
15067 .PHONY: maybe-info-patch info-patch
15070 maybe-info-patch: info-patch
15074 @[ -f ./patch/Makefile ] || exit 0; \
15075 r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15078 for flag in $(EXTRA_HOST_FLAGS) ; do \
15079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15081 echo "Doing info in patch" ; \
15082 (cd $(HOST_SUBDIR)/patch && \
15083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15085 "RANLIB=$${RANLIB}" \
15086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15092 .PHONY: maybe-dvi-patch dvi-patch
15095 maybe-dvi-patch: dvi-patch
15099 @[ -f ./patch/Makefile ] || exit 0; \
15100 r=`${PWD_COMMAND}`; export r; \
15101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 for flag in $(EXTRA_HOST_FLAGS) ; do \
15104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15106 echo "Doing dvi in patch" ; \
15107 (cd $(HOST_SUBDIR)/patch && \
15108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15110 "RANLIB=$${RANLIB}" \
15111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15117 .PHONY: maybe-html-patch html-patch
15120 maybe-html-patch: html-patch
15124 @[ -f ./patch/Makefile ] || exit 0; \
15125 r=`${PWD_COMMAND}`; export r; \
15126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15128 for flag in $(EXTRA_HOST_FLAGS) ; do \
15129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15131 echo "Doing html in patch" ; \
15132 (cd $(HOST_SUBDIR)/patch && \
15133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15135 "RANLIB=$${RANLIB}" \
15136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15142 .PHONY: maybe-TAGS-patch TAGS-patch
15145 maybe-TAGS-patch: TAGS-patch
15149 @[ -f ./patch/Makefile ] || exit 0; \
15150 r=`${PWD_COMMAND}`; export r; \
15151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15153 for flag in $(EXTRA_HOST_FLAGS) ; do \
15154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15156 echo "Doing TAGS in patch" ; \
15157 (cd $(HOST_SUBDIR)/patch && \
15158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160 "RANLIB=$${RANLIB}" \
15161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15167 .PHONY: maybe-install-info-patch install-info-patch
15168 maybe-install-info-patch:
15170 maybe-install-info-patch: install-info-patch
15172 install-info-patch: \
15175 @[ -f ./patch/Makefile ] || exit 0; \
15176 r=`${PWD_COMMAND}`; export r; \
15177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15179 for flag in $(EXTRA_HOST_FLAGS) ; do \
15180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15182 echo "Doing install-info in patch" ; \
15183 (cd $(HOST_SUBDIR)/patch && \
15184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15186 "RANLIB=$${RANLIB}" \
15187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15193 .PHONY: maybe-installcheck-patch installcheck-patch
15194 maybe-installcheck-patch:
15196 maybe-installcheck-patch: installcheck-patch
15198 installcheck-patch: \
15200 @[ -f ./patch/Makefile ] || exit 0; \
15201 r=`${PWD_COMMAND}`; export r; \
15202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15204 for flag in $(EXTRA_HOST_FLAGS) ; do \
15205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15207 echo "Doing installcheck in patch" ; \
15208 (cd $(HOST_SUBDIR)/patch && \
15209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15211 "RANLIB=$${RANLIB}" \
15212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15218 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15219 maybe-mostlyclean-patch:
15221 maybe-mostlyclean-patch: mostlyclean-patch
15224 @[ -f ./patch/Makefile ] || exit 0; \
15225 r=`${PWD_COMMAND}`; export r; \
15226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15228 for flag in $(EXTRA_HOST_FLAGS) ; do \
15229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15231 echo "Doing mostlyclean in patch" ; \
15232 (cd $(HOST_SUBDIR)/patch && \
15233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15235 "RANLIB=$${RANLIB}" \
15236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15242 .PHONY: maybe-clean-patch clean-patch
15245 maybe-clean-patch: clean-patch
15248 @[ -f ./patch/Makefile ] || exit 0; \
15249 r=`${PWD_COMMAND}`; export r; \
15250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15252 for flag in $(EXTRA_HOST_FLAGS) ; do \
15253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15255 echo "Doing clean in patch" ; \
15256 (cd $(HOST_SUBDIR)/patch && \
15257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15259 "RANLIB=$${RANLIB}" \
15260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15266 .PHONY: maybe-distclean-patch distclean-patch
15267 maybe-distclean-patch:
15269 maybe-distclean-patch: distclean-patch
15272 @[ -f ./patch/Makefile ] || exit 0; \
15273 r=`${PWD_COMMAND}`; export r; \
15274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15276 for flag in $(EXTRA_HOST_FLAGS) ; do \
15277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15279 echo "Doing distclean in patch" ; \
15280 (cd $(HOST_SUBDIR)/patch && \
15281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15283 "RANLIB=$${RANLIB}" \
15284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15290 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
15291 maybe-maintainer-clean-patch:
15293 maybe-maintainer-clean-patch: maintainer-clean-patch
15295 maintainer-clean-patch:
15296 @[ -f ./patch/Makefile ] || exit 0; \
15297 r=`${PWD_COMMAND}`; export r; \
15298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15300 for flag in $(EXTRA_HOST_FLAGS) ; do \
15301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15303 echo "Doing maintainer-clean in patch" ; \
15304 (cd $(HOST_SUBDIR)/patch && \
15305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15307 "RANLIB=$${RANLIB}" \
15308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15309 maintainer-clean) \
15315 .PHONY: configure-perl maybe-configure-perl
15316 maybe-configure-perl:
15318 maybe-configure-perl: configure-perl
15320 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
15321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15325 echo Configuring in perl; \
15326 cd $(HOST_SUBDIR)/perl || exit 1; \
15327 case $(srcdir) in \
15328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15329 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
15330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15332 srcdiroption="--srcdir=$${topdir}/perl"; \
15333 libsrcdir="$$s/perl"; \
15334 $(SHELL) $${libsrcdir}/configure \
15335 $(HOST_CONFIGARGS) $${srcdiroption} \
15339 .PHONY: all-perl maybe-all-perl
15343 maybe-all-perl: all-perl
15344 all-perl: configure-perl
15345 @r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 (cd $(HOST_SUBDIR)/perl && \
15349 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
15352 .PHONY: check-perl maybe-check-perl
15355 maybe-check-perl: check-perl
15358 @r=`${PWD_COMMAND}`; export r; \
15359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15361 (cd $(HOST_SUBDIR)/perl && \
15362 $(MAKE) $(FLAGS_TO_PASS) check)
15366 .PHONY: install-perl maybe-install-perl
15367 maybe-install-perl:
15369 maybe-install-perl: install-perl
15371 install-perl: installdirs
15372 @r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15375 (cd $(HOST_SUBDIR)/perl && \
15376 $(MAKE) $(FLAGS_TO_PASS) install)
15380 # Other targets (info, dvi, etc.)
15382 .PHONY: maybe-info-perl info-perl
15385 maybe-info-perl: info-perl
15389 @[ -f ./perl/Makefile ] || exit 0; \
15390 r=`${PWD_COMMAND}`; export r; \
15391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15393 for flag in $(EXTRA_HOST_FLAGS) ; do \
15394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15396 echo "Doing info in perl" ; \
15397 (cd $(HOST_SUBDIR)/perl && \
15398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15400 "RANLIB=$${RANLIB}" \
15401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15407 .PHONY: maybe-dvi-perl dvi-perl
15410 maybe-dvi-perl: dvi-perl
15414 @[ -f ./perl/Makefile ] || exit 0; \
15415 r=`${PWD_COMMAND}`; export r; \
15416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15418 for flag in $(EXTRA_HOST_FLAGS) ; do \
15419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15421 echo "Doing dvi in perl" ; \
15422 (cd $(HOST_SUBDIR)/perl && \
15423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15425 "RANLIB=$${RANLIB}" \
15426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15432 .PHONY: maybe-html-perl html-perl
15435 maybe-html-perl: html-perl
15439 @[ -f ./perl/Makefile ] || exit 0; \
15440 r=`${PWD_COMMAND}`; export r; \
15441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15443 for flag in $(EXTRA_HOST_FLAGS) ; do \
15444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15446 echo "Doing html in perl" ; \
15447 (cd $(HOST_SUBDIR)/perl && \
15448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15450 "RANLIB=$${RANLIB}" \
15451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15457 .PHONY: maybe-TAGS-perl TAGS-perl
15460 maybe-TAGS-perl: TAGS-perl
15464 @[ -f ./perl/Makefile ] || exit 0; \
15465 r=`${PWD_COMMAND}`; export r; \
15466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 for flag in $(EXTRA_HOST_FLAGS) ; do \
15469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 echo "Doing TAGS in perl" ; \
15472 (cd $(HOST_SUBDIR)/perl && \
15473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15475 "RANLIB=$${RANLIB}" \
15476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15482 .PHONY: maybe-install-info-perl install-info-perl
15483 maybe-install-info-perl:
15485 maybe-install-info-perl: install-info-perl
15487 install-info-perl: \
15490 @[ -f ./perl/Makefile ] || exit 0; \
15491 r=`${PWD_COMMAND}`; export r; \
15492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15494 for flag in $(EXTRA_HOST_FLAGS) ; do \
15495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15497 echo "Doing install-info in perl" ; \
15498 (cd $(HOST_SUBDIR)/perl && \
15499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15501 "RANLIB=$${RANLIB}" \
15502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15508 .PHONY: maybe-installcheck-perl installcheck-perl
15509 maybe-installcheck-perl:
15511 maybe-installcheck-perl: installcheck-perl
15513 installcheck-perl: \
15515 @[ -f ./perl/Makefile ] || exit 0; \
15516 r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15519 for flag in $(EXTRA_HOST_FLAGS) ; do \
15520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15522 echo "Doing installcheck in perl" ; \
15523 (cd $(HOST_SUBDIR)/perl && \
15524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15526 "RANLIB=$${RANLIB}" \
15527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15533 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15534 maybe-mostlyclean-perl:
15536 maybe-mostlyclean-perl: mostlyclean-perl
15539 @[ -f ./perl/Makefile ] || exit 0; \
15540 r=`${PWD_COMMAND}`; export r; \
15541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15543 for flag in $(EXTRA_HOST_FLAGS) ; do \
15544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15546 echo "Doing mostlyclean in perl" ; \
15547 (cd $(HOST_SUBDIR)/perl && \
15548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15550 "RANLIB=$${RANLIB}" \
15551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15557 .PHONY: maybe-clean-perl clean-perl
15560 maybe-clean-perl: clean-perl
15563 @[ -f ./perl/Makefile ] || exit 0; \
15564 r=`${PWD_COMMAND}`; export r; \
15565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15567 for flag in $(EXTRA_HOST_FLAGS) ; do \
15568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15570 echo "Doing clean in perl" ; \
15571 (cd $(HOST_SUBDIR)/perl && \
15572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15574 "RANLIB=$${RANLIB}" \
15575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15581 .PHONY: maybe-distclean-perl distclean-perl
15582 maybe-distclean-perl:
15584 maybe-distclean-perl: distclean-perl
15587 @[ -f ./perl/Makefile ] || exit 0; \
15588 r=`${PWD_COMMAND}`; export r; \
15589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15591 for flag in $(EXTRA_HOST_FLAGS) ; do \
15592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15594 echo "Doing distclean in perl" ; \
15595 (cd $(HOST_SUBDIR)/perl && \
15596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15598 "RANLIB=$${RANLIB}" \
15599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15605 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15606 maybe-maintainer-clean-perl:
15608 maybe-maintainer-clean-perl: maintainer-clean-perl
15610 maintainer-clean-perl:
15611 @[ -f ./perl/Makefile ] || exit 0; \
15612 r=`${PWD_COMMAND}`; export r; \
15613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15615 for flag in $(EXTRA_HOST_FLAGS) ; do \
15616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15618 echo "Doing maintainer-clean in perl" ; \
15619 (cd $(HOST_SUBDIR)/perl && \
15620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622 "RANLIB=$${RANLIB}" \
15623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624 maintainer-clean) \
15630 .PHONY: configure-prms maybe-configure-prms
15631 maybe-configure-prms:
15633 maybe-configure-prms: configure-prms
15635 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
15636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
15637 r=`${PWD_COMMAND}`; export r; \
15638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15640 echo Configuring in prms; \
15641 cd $(HOST_SUBDIR)/prms || exit 1; \
15642 case $(srcdir) in \
15643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15644 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
15645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15647 srcdiroption="--srcdir=$${topdir}/prms"; \
15648 libsrcdir="$$s/prms"; \
15649 $(SHELL) $${libsrcdir}/configure \
15650 $(HOST_CONFIGARGS) $${srcdiroption} \
15654 .PHONY: all-prms maybe-all-prms
15658 maybe-all-prms: all-prms
15659 all-prms: configure-prms
15660 @r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 (cd $(HOST_SUBDIR)/prms && \
15664 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
15667 .PHONY: check-prms maybe-check-prms
15670 maybe-check-prms: check-prms
15673 @r=`${PWD_COMMAND}`; export r; \
15674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15676 (cd $(HOST_SUBDIR)/prms && \
15677 $(MAKE) $(FLAGS_TO_PASS) check)
15681 .PHONY: install-prms maybe-install-prms
15682 maybe-install-prms:
15684 maybe-install-prms: install-prms
15686 install-prms: installdirs
15687 @r=`${PWD_COMMAND}`; export r; \
15688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 (cd $(HOST_SUBDIR)/prms && \
15691 $(MAKE) $(FLAGS_TO_PASS) install)
15695 # Other targets (info, dvi, etc.)
15697 .PHONY: maybe-info-prms info-prms
15700 maybe-info-prms: info-prms
15704 @[ -f ./prms/Makefile ] || exit 0; \
15705 r=`${PWD_COMMAND}`; export r; \
15706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15708 for flag in $(EXTRA_HOST_FLAGS) ; do \
15709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15711 echo "Doing info in prms" ; \
15712 (cd $(HOST_SUBDIR)/prms && \
15713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15715 "RANLIB=$${RANLIB}" \
15716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15722 .PHONY: maybe-dvi-prms dvi-prms
15725 maybe-dvi-prms: dvi-prms
15729 @[ -f ./prms/Makefile ] || exit 0; \
15730 r=`${PWD_COMMAND}`; export r; \
15731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15733 for flag in $(EXTRA_HOST_FLAGS) ; do \
15734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15736 echo "Doing dvi in prms" ; \
15737 (cd $(HOST_SUBDIR)/prms && \
15738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15740 "RANLIB=$${RANLIB}" \
15741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15747 .PHONY: maybe-html-prms html-prms
15750 maybe-html-prms: html-prms
15754 @[ -f ./prms/Makefile ] || exit 0; \
15755 r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15758 for flag in $(EXTRA_HOST_FLAGS) ; do \
15759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15761 echo "Doing html in prms" ; \
15762 (cd $(HOST_SUBDIR)/prms && \
15763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15765 "RANLIB=$${RANLIB}" \
15766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15772 .PHONY: maybe-TAGS-prms TAGS-prms
15775 maybe-TAGS-prms: TAGS-prms
15779 @[ -f ./prms/Makefile ] || exit 0; \
15780 r=`${PWD_COMMAND}`; export r; \
15781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 for flag in $(EXTRA_HOST_FLAGS) ; do \
15784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15786 echo "Doing TAGS in prms" ; \
15787 (cd $(HOST_SUBDIR)/prms && \
15788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15790 "RANLIB=$${RANLIB}" \
15791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15797 .PHONY: maybe-install-info-prms install-info-prms
15798 maybe-install-info-prms:
15800 maybe-install-info-prms: install-info-prms
15802 install-info-prms: \
15805 @[ -f ./prms/Makefile ] || exit 0; \
15806 r=`${PWD_COMMAND}`; export r; \
15807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15809 for flag in $(EXTRA_HOST_FLAGS) ; do \
15810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15812 echo "Doing install-info in prms" ; \
15813 (cd $(HOST_SUBDIR)/prms && \
15814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15816 "RANLIB=$${RANLIB}" \
15817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15823 .PHONY: maybe-installcheck-prms installcheck-prms
15824 maybe-installcheck-prms:
15826 maybe-installcheck-prms: installcheck-prms
15828 installcheck-prms: \
15830 @[ -f ./prms/Makefile ] || exit 0; \
15831 r=`${PWD_COMMAND}`; export r; \
15832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15834 for flag in $(EXTRA_HOST_FLAGS) ; do \
15835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15837 echo "Doing installcheck in prms" ; \
15838 (cd $(HOST_SUBDIR)/prms && \
15839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15841 "RANLIB=$${RANLIB}" \
15842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15848 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15849 maybe-mostlyclean-prms:
15851 maybe-mostlyclean-prms: mostlyclean-prms
15854 @[ -f ./prms/Makefile ] || exit 0; \
15855 r=`${PWD_COMMAND}`; export r; \
15856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15858 for flag in $(EXTRA_HOST_FLAGS) ; do \
15859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15861 echo "Doing mostlyclean in prms" ; \
15862 (cd $(HOST_SUBDIR)/prms && \
15863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15865 "RANLIB=$${RANLIB}" \
15866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15872 .PHONY: maybe-clean-prms clean-prms
15875 maybe-clean-prms: clean-prms
15878 @[ -f ./prms/Makefile ] || exit 0; \
15879 r=`${PWD_COMMAND}`; export r; \
15880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15882 for flag in $(EXTRA_HOST_FLAGS) ; do \
15883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15885 echo "Doing clean in prms" ; \
15886 (cd $(HOST_SUBDIR)/prms && \
15887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15889 "RANLIB=$${RANLIB}" \
15890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15896 .PHONY: maybe-distclean-prms distclean-prms
15897 maybe-distclean-prms:
15899 maybe-distclean-prms: distclean-prms
15902 @[ -f ./prms/Makefile ] || exit 0; \
15903 r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15906 for flag in $(EXTRA_HOST_FLAGS) ; do \
15907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15909 echo "Doing distclean in prms" ; \
15910 (cd $(HOST_SUBDIR)/prms && \
15911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15913 "RANLIB=$${RANLIB}" \
15914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15920 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15921 maybe-maintainer-clean-prms:
15923 maybe-maintainer-clean-prms: maintainer-clean-prms
15925 maintainer-clean-prms:
15926 @[ -f ./prms/Makefile ] || exit 0; \
15927 r=`${PWD_COMMAND}`; export r; \
15928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15930 for flag in $(EXTRA_HOST_FLAGS) ; do \
15931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15933 echo "Doing maintainer-clean in prms" ; \
15934 (cd $(HOST_SUBDIR)/prms && \
15935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15937 "RANLIB=$${RANLIB}" \
15938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15939 maintainer-clean) \
15945 .PHONY: configure-rcs maybe-configure-rcs
15946 maybe-configure-rcs:
15948 maybe-configure-rcs: configure-rcs
15950 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
15951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
15952 r=`${PWD_COMMAND}`; export r; \
15953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 echo Configuring in rcs; \
15956 cd $(HOST_SUBDIR)/rcs || exit 1; \
15957 case $(srcdir) in \
15958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15959 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
15960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15962 srcdiroption="--srcdir=$${topdir}/rcs"; \
15963 libsrcdir="$$s/rcs"; \
15964 $(SHELL) $${libsrcdir}/configure \
15965 $(HOST_CONFIGARGS) $${srcdiroption} \
15969 .PHONY: all-rcs maybe-all-rcs
15973 maybe-all-rcs: all-rcs
15974 all-rcs: configure-rcs
15975 @r=`${PWD_COMMAND}`; export r; \
15976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15978 (cd $(HOST_SUBDIR)/rcs && \
15979 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
15982 .PHONY: check-rcs maybe-check-rcs
15985 maybe-check-rcs: check-rcs
15988 @r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15991 (cd $(HOST_SUBDIR)/rcs && \
15992 $(MAKE) $(FLAGS_TO_PASS) check)
15996 .PHONY: install-rcs maybe-install-rcs
15999 maybe-install-rcs: install-rcs
16001 install-rcs: installdirs
16002 @r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16005 (cd $(HOST_SUBDIR)/rcs && \
16006 $(MAKE) $(FLAGS_TO_PASS) install)
16010 # Other targets (info, dvi, etc.)
16012 .PHONY: maybe-info-rcs info-rcs
16015 maybe-info-rcs: info-rcs
16019 @[ -f ./rcs/Makefile ] || exit 0; \
16020 r=`${PWD_COMMAND}`; export r; \
16021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16023 for flag in $(EXTRA_HOST_FLAGS) ; do \
16024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16026 echo "Doing info in rcs" ; \
16027 (cd $(HOST_SUBDIR)/rcs && \
16028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16030 "RANLIB=$${RANLIB}" \
16031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16037 .PHONY: maybe-dvi-rcs dvi-rcs
16040 maybe-dvi-rcs: dvi-rcs
16044 @[ -f ./rcs/Makefile ] || exit 0; \
16045 r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16048 for flag in $(EXTRA_HOST_FLAGS) ; do \
16049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16051 echo "Doing dvi in rcs" ; \
16052 (cd $(HOST_SUBDIR)/rcs && \
16053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16055 "RANLIB=$${RANLIB}" \
16056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16062 .PHONY: maybe-html-rcs html-rcs
16065 maybe-html-rcs: html-rcs
16069 @[ -f ./rcs/Makefile ] || exit 0; \
16070 r=`${PWD_COMMAND}`; export r; \
16071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16073 for flag in $(EXTRA_HOST_FLAGS) ; do \
16074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16076 echo "Doing html in rcs" ; \
16077 (cd $(HOST_SUBDIR)/rcs && \
16078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16080 "RANLIB=$${RANLIB}" \
16081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16087 .PHONY: maybe-TAGS-rcs TAGS-rcs
16090 maybe-TAGS-rcs: TAGS-rcs
16094 @[ -f ./rcs/Makefile ] || exit 0; \
16095 r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16098 for flag in $(EXTRA_HOST_FLAGS) ; do \
16099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16101 echo "Doing TAGS in rcs" ; \
16102 (cd $(HOST_SUBDIR)/rcs && \
16103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16105 "RANLIB=$${RANLIB}" \
16106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16112 .PHONY: maybe-install-info-rcs install-info-rcs
16113 maybe-install-info-rcs:
16115 maybe-install-info-rcs: install-info-rcs
16117 install-info-rcs: \
16120 @[ -f ./rcs/Makefile ] || exit 0; \
16121 r=`${PWD_COMMAND}`; export r; \
16122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16124 for flag in $(EXTRA_HOST_FLAGS) ; do \
16125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16127 echo "Doing install-info in rcs" ; \
16128 (cd $(HOST_SUBDIR)/rcs && \
16129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16131 "RANLIB=$${RANLIB}" \
16132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16138 .PHONY: maybe-installcheck-rcs installcheck-rcs
16139 maybe-installcheck-rcs:
16141 maybe-installcheck-rcs: installcheck-rcs
16143 installcheck-rcs: \
16145 @[ -f ./rcs/Makefile ] || exit 0; \
16146 r=`${PWD_COMMAND}`; export r; \
16147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 for flag in $(EXTRA_HOST_FLAGS) ; do \
16150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16152 echo "Doing installcheck in rcs" ; \
16153 (cd $(HOST_SUBDIR)/rcs && \
16154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16156 "RANLIB=$${RANLIB}" \
16157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16163 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16164 maybe-mostlyclean-rcs:
16166 maybe-mostlyclean-rcs: mostlyclean-rcs
16169 @[ -f ./rcs/Makefile ] || exit 0; \
16170 r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 for flag in $(EXTRA_HOST_FLAGS) ; do \
16174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16176 echo "Doing mostlyclean in rcs" ; \
16177 (cd $(HOST_SUBDIR)/rcs && \
16178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16180 "RANLIB=$${RANLIB}" \
16181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16187 .PHONY: maybe-clean-rcs clean-rcs
16190 maybe-clean-rcs: clean-rcs
16193 @[ -f ./rcs/Makefile ] || exit 0; \
16194 r=`${PWD_COMMAND}`; export r; \
16195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16197 for flag in $(EXTRA_HOST_FLAGS) ; do \
16198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16200 echo "Doing clean in rcs" ; \
16201 (cd $(HOST_SUBDIR)/rcs && \
16202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16204 "RANLIB=$${RANLIB}" \
16205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16211 .PHONY: maybe-distclean-rcs distclean-rcs
16212 maybe-distclean-rcs:
16214 maybe-distclean-rcs: distclean-rcs
16217 @[ -f ./rcs/Makefile ] || exit 0; \
16218 r=`${PWD_COMMAND}`; export r; \
16219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16221 for flag in $(EXTRA_HOST_FLAGS) ; do \
16222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16224 echo "Doing distclean in rcs" ; \
16225 (cd $(HOST_SUBDIR)/rcs && \
16226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16228 "RANLIB=$${RANLIB}" \
16229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16235 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16236 maybe-maintainer-clean-rcs:
16238 maybe-maintainer-clean-rcs: maintainer-clean-rcs
16240 maintainer-clean-rcs:
16241 @[ -f ./rcs/Makefile ] || exit 0; \
16242 r=`${PWD_COMMAND}`; export r; \
16243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16245 for flag in $(EXTRA_HOST_FLAGS) ; do \
16246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16248 echo "Doing maintainer-clean in rcs" ; \
16249 (cd $(HOST_SUBDIR)/rcs && \
16250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16252 "RANLIB=$${RANLIB}" \
16253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16254 maintainer-clean) \
16260 .PHONY: configure-readline maybe-configure-readline
16261 maybe-configure-readline:
16263 maybe-configure-readline: configure-readline
16264 configure-readline:
16265 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
16266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
16267 r=`${PWD_COMMAND}`; export r; \
16268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16270 echo Configuring in readline; \
16271 cd $(HOST_SUBDIR)/readline || exit 1; \
16272 case $(srcdir) in \
16273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16274 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
16275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16277 srcdiroption="--srcdir=$${topdir}/readline"; \
16278 libsrcdir="$$s/readline"; \
16279 $(SHELL) $${libsrcdir}/configure \
16280 $(HOST_CONFIGARGS) $${srcdiroption} \
16284 .PHONY: all-readline maybe-all-readline
16285 maybe-all-readline:
16287 TARGET-readline=all
16288 maybe-all-readline: all-readline
16289 all-readline: configure-readline
16290 @r=`${PWD_COMMAND}`; export r; \
16291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16293 (cd $(HOST_SUBDIR)/readline && \
16294 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
16297 .PHONY: check-readline maybe-check-readline
16298 maybe-check-readline:
16300 maybe-check-readline: check-readline
16303 @r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16306 (cd $(HOST_SUBDIR)/readline && \
16307 $(MAKE) $(FLAGS_TO_PASS) check)
16311 .PHONY: install-readline maybe-install-readline
16312 maybe-install-readline:
16314 maybe-install-readline: install-readline
16316 install-readline: installdirs
16317 @r=`${PWD_COMMAND}`; export r; \
16318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16320 (cd $(HOST_SUBDIR)/readline && \
16321 $(MAKE) $(FLAGS_TO_PASS) install)
16325 # Other targets (info, dvi, etc.)
16327 .PHONY: maybe-info-readline info-readline
16328 maybe-info-readline:
16330 maybe-info-readline: info-readline
16334 @[ -f ./readline/Makefile ] || exit 0; \
16335 r=`${PWD_COMMAND}`; export r; \
16336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16338 for flag in $(EXTRA_HOST_FLAGS) ; do \
16339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16341 echo "Doing info in readline" ; \
16342 (cd $(HOST_SUBDIR)/readline && \
16343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16345 "RANLIB=$${RANLIB}" \
16346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16352 .PHONY: maybe-dvi-readline dvi-readline
16353 maybe-dvi-readline:
16355 maybe-dvi-readline: dvi-readline
16359 @[ -f ./readline/Makefile ] || exit 0; \
16360 r=`${PWD_COMMAND}`; export r; \
16361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16363 for flag in $(EXTRA_HOST_FLAGS) ; do \
16364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16366 echo "Doing dvi in readline" ; \
16367 (cd $(HOST_SUBDIR)/readline && \
16368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16370 "RANLIB=$${RANLIB}" \
16371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16377 .PHONY: maybe-html-readline html-readline
16378 maybe-html-readline:
16380 maybe-html-readline: html-readline
16384 @[ -f ./readline/Makefile ] || exit 0; \
16385 r=`${PWD_COMMAND}`; export r; \
16386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16388 for flag in $(EXTRA_HOST_FLAGS) ; do \
16389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16391 echo "Doing html in readline" ; \
16392 (cd $(HOST_SUBDIR)/readline && \
16393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16395 "RANLIB=$${RANLIB}" \
16396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16402 .PHONY: maybe-TAGS-readline TAGS-readline
16403 maybe-TAGS-readline:
16405 maybe-TAGS-readline: TAGS-readline
16409 @[ -f ./readline/Makefile ] || exit 0; \
16410 r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16413 for flag in $(EXTRA_HOST_FLAGS) ; do \
16414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16416 echo "Doing TAGS in readline" ; \
16417 (cd $(HOST_SUBDIR)/readline && \
16418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16420 "RANLIB=$${RANLIB}" \
16421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16427 .PHONY: maybe-install-info-readline install-info-readline
16428 maybe-install-info-readline:
16430 maybe-install-info-readline: install-info-readline
16432 install-info-readline: \
16433 configure-readline \
16435 @[ -f ./readline/Makefile ] || exit 0; \
16436 r=`${PWD_COMMAND}`; export r; \
16437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 for flag in $(EXTRA_HOST_FLAGS) ; do \
16440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16442 echo "Doing install-info in readline" ; \
16443 (cd $(HOST_SUBDIR)/readline && \
16444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16446 "RANLIB=$${RANLIB}" \
16447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16453 .PHONY: maybe-installcheck-readline installcheck-readline
16454 maybe-installcheck-readline:
16456 maybe-installcheck-readline: installcheck-readline
16458 installcheck-readline: \
16460 @[ -f ./readline/Makefile ] || exit 0; \
16461 r=`${PWD_COMMAND}`; export r; \
16462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16464 for flag in $(EXTRA_HOST_FLAGS) ; do \
16465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16467 echo "Doing installcheck in readline" ; \
16468 (cd $(HOST_SUBDIR)/readline && \
16469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16471 "RANLIB=$${RANLIB}" \
16472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16478 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16479 maybe-mostlyclean-readline:
16481 maybe-mostlyclean-readline: mostlyclean-readline
16483 mostlyclean-readline:
16484 @[ -f ./readline/Makefile ] || exit 0; \
16485 r=`${PWD_COMMAND}`; export r; \
16486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 for flag in $(EXTRA_HOST_FLAGS) ; do \
16489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16491 echo "Doing mostlyclean in readline" ; \
16492 (cd $(HOST_SUBDIR)/readline && \
16493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16495 "RANLIB=$${RANLIB}" \
16496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16502 .PHONY: maybe-clean-readline clean-readline
16503 maybe-clean-readline:
16505 maybe-clean-readline: clean-readline
16508 @[ -f ./readline/Makefile ] || exit 0; \
16509 r=`${PWD_COMMAND}`; export r; \
16510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16512 for flag in $(EXTRA_HOST_FLAGS) ; do \
16513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16515 echo "Doing clean in readline" ; \
16516 (cd $(HOST_SUBDIR)/readline && \
16517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16519 "RANLIB=$${RANLIB}" \
16520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16526 .PHONY: maybe-distclean-readline distclean-readline
16527 maybe-distclean-readline:
16529 maybe-distclean-readline: distclean-readline
16531 distclean-readline:
16532 @[ -f ./readline/Makefile ] || exit 0; \
16533 r=`${PWD_COMMAND}`; export r; \
16534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16536 for flag in $(EXTRA_HOST_FLAGS) ; do \
16537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16539 echo "Doing distclean in readline" ; \
16540 (cd $(HOST_SUBDIR)/readline && \
16541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16543 "RANLIB=$${RANLIB}" \
16544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16550 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16551 maybe-maintainer-clean-readline:
16553 maybe-maintainer-clean-readline: maintainer-clean-readline
16555 maintainer-clean-readline:
16556 @[ -f ./readline/Makefile ] || exit 0; \
16557 r=`${PWD_COMMAND}`; export r; \
16558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16560 for flag in $(EXTRA_HOST_FLAGS) ; do \
16561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16563 echo "Doing maintainer-clean in readline" ; \
16564 (cd $(HOST_SUBDIR)/readline && \
16565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16567 "RANLIB=$${RANLIB}" \
16568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16569 maintainer-clean) \
16575 .PHONY: configure-release maybe-configure-release
16576 maybe-configure-release:
16578 maybe-configure-release: configure-release
16580 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
16581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
16582 r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16585 echo Configuring in release; \
16586 cd $(HOST_SUBDIR)/release || exit 1; \
16587 case $(srcdir) in \
16588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16589 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
16590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16592 srcdiroption="--srcdir=$${topdir}/release"; \
16593 libsrcdir="$$s/release"; \
16594 $(SHELL) $${libsrcdir}/configure \
16595 $(HOST_CONFIGARGS) $${srcdiroption} \
16599 .PHONY: all-release maybe-all-release
16603 maybe-all-release: all-release
16604 all-release: configure-release
16605 @r=`${PWD_COMMAND}`; export r; \
16606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16608 (cd $(HOST_SUBDIR)/release && \
16609 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
16612 .PHONY: check-release maybe-check-release
16613 maybe-check-release:
16615 maybe-check-release: check-release
16621 .PHONY: install-release maybe-install-release
16622 maybe-install-release:
16624 maybe-install-release: install-release
16630 # Other targets (info, dvi, etc.)
16632 .PHONY: maybe-info-release info-release
16633 maybe-info-release:
16635 maybe-info-release: info-release
16639 @[ -f ./release/Makefile ] || exit 0; \
16640 r=`${PWD_COMMAND}`; export r; \
16641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 for flag in $(EXTRA_HOST_FLAGS) ; do \
16644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16646 echo "Doing info in release" ; \
16647 (cd $(HOST_SUBDIR)/release && \
16648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16650 "RANLIB=$${RANLIB}" \
16651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16657 .PHONY: maybe-dvi-release dvi-release
16660 maybe-dvi-release: dvi-release
16664 @[ -f ./release/Makefile ] || exit 0; \
16665 r=`${PWD_COMMAND}`; export r; \
16666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16668 for flag in $(EXTRA_HOST_FLAGS) ; do \
16669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16671 echo "Doing dvi in release" ; \
16672 (cd $(HOST_SUBDIR)/release && \
16673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16675 "RANLIB=$${RANLIB}" \
16676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16682 .PHONY: maybe-html-release html-release
16683 maybe-html-release:
16685 maybe-html-release: html-release
16689 @[ -f ./release/Makefile ] || exit 0; \
16690 r=`${PWD_COMMAND}`; export r; \
16691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16693 for flag in $(EXTRA_HOST_FLAGS) ; do \
16694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16696 echo "Doing html in release" ; \
16697 (cd $(HOST_SUBDIR)/release && \
16698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16700 "RANLIB=$${RANLIB}" \
16701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16707 .PHONY: maybe-TAGS-release TAGS-release
16708 maybe-TAGS-release:
16710 maybe-TAGS-release: TAGS-release
16714 @[ -f ./release/Makefile ] || exit 0; \
16715 r=`${PWD_COMMAND}`; export r; \
16716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16718 for flag in $(EXTRA_HOST_FLAGS) ; do \
16719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16721 echo "Doing TAGS in release" ; \
16722 (cd $(HOST_SUBDIR)/release && \
16723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16725 "RANLIB=$${RANLIB}" \
16726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16732 .PHONY: maybe-install-info-release install-info-release
16733 maybe-install-info-release:
16735 maybe-install-info-release: install-info-release
16737 install-info-release: \
16738 configure-release \
16740 @[ -f ./release/Makefile ] || exit 0; \
16741 r=`${PWD_COMMAND}`; export r; \
16742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16744 for flag in $(EXTRA_HOST_FLAGS) ; do \
16745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16747 echo "Doing install-info in release" ; \
16748 (cd $(HOST_SUBDIR)/release && \
16749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16751 "RANLIB=$${RANLIB}" \
16752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16758 .PHONY: maybe-installcheck-release installcheck-release
16759 maybe-installcheck-release:
16761 maybe-installcheck-release: installcheck-release
16763 installcheck-release: \
16765 @[ -f ./release/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16769 for flag in $(EXTRA_HOST_FLAGS) ; do \
16770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16772 echo "Doing installcheck in release" ; \
16773 (cd $(HOST_SUBDIR)/release && \
16774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16776 "RANLIB=$${RANLIB}" \
16777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16783 .PHONY: maybe-mostlyclean-release mostlyclean-release
16784 maybe-mostlyclean-release:
16786 maybe-mostlyclean-release: mostlyclean-release
16788 mostlyclean-release:
16789 @[ -f ./release/Makefile ] || exit 0; \
16790 r=`${PWD_COMMAND}`; export r; \
16791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 for flag in $(EXTRA_HOST_FLAGS) ; do \
16794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16796 echo "Doing mostlyclean in release" ; \
16797 (cd $(HOST_SUBDIR)/release && \
16798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800 "RANLIB=$${RANLIB}" \
16801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16807 .PHONY: maybe-clean-release clean-release
16808 maybe-clean-release:
16810 maybe-clean-release: clean-release
16813 @[ -f ./release/Makefile ] || exit 0; \
16814 r=`${PWD_COMMAND}`; export r; \
16815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16817 for flag in $(EXTRA_HOST_FLAGS) ; do \
16818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16820 echo "Doing clean in release" ; \
16821 (cd $(HOST_SUBDIR)/release && \
16822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16824 "RANLIB=$${RANLIB}" \
16825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16831 .PHONY: maybe-distclean-release distclean-release
16832 maybe-distclean-release:
16834 maybe-distclean-release: distclean-release
16837 @[ -f ./release/Makefile ] || exit 0; \
16838 r=`${PWD_COMMAND}`; export r; \
16839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16841 for flag in $(EXTRA_HOST_FLAGS) ; do \
16842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16844 echo "Doing distclean in release" ; \
16845 (cd $(HOST_SUBDIR)/release && \
16846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16848 "RANLIB=$${RANLIB}" \
16849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16855 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16856 maybe-maintainer-clean-release:
16858 maybe-maintainer-clean-release: maintainer-clean-release
16860 maintainer-clean-release:
16861 @[ -f ./release/Makefile ] || exit 0; \
16862 r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16865 for flag in $(EXTRA_HOST_FLAGS) ; do \
16866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16868 echo "Doing maintainer-clean in release" ; \
16869 (cd $(HOST_SUBDIR)/release && \
16870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16872 "RANLIB=$${RANLIB}" \
16873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16874 maintainer-clean) \
16880 .PHONY: configure-recode maybe-configure-recode
16881 maybe-configure-recode:
16883 maybe-configure-recode: configure-recode
16885 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
16886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
16887 r=`${PWD_COMMAND}`; export r; \
16888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16890 echo Configuring in recode; \
16891 cd $(HOST_SUBDIR)/recode || exit 1; \
16892 case $(srcdir) in \
16893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16894 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
16895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16897 srcdiroption="--srcdir=$${topdir}/recode"; \
16898 libsrcdir="$$s/recode"; \
16899 $(SHELL) $${libsrcdir}/configure \
16900 $(HOST_CONFIGARGS) $${srcdiroption} \
16904 .PHONY: all-recode maybe-all-recode
16908 maybe-all-recode: all-recode
16909 all-recode: configure-recode
16910 @r=`${PWD_COMMAND}`; export r; \
16911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16913 (cd $(HOST_SUBDIR)/recode && \
16914 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
16917 .PHONY: check-recode maybe-check-recode
16918 maybe-check-recode:
16920 maybe-check-recode: check-recode
16923 @r=`${PWD_COMMAND}`; export r; \
16924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 (cd $(HOST_SUBDIR)/recode && \
16927 $(MAKE) $(FLAGS_TO_PASS) check)
16931 .PHONY: install-recode maybe-install-recode
16932 maybe-install-recode:
16934 maybe-install-recode: install-recode
16936 install-recode: installdirs
16937 @r=`${PWD_COMMAND}`; export r; \
16938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16940 (cd $(HOST_SUBDIR)/recode && \
16941 $(MAKE) $(FLAGS_TO_PASS) install)
16945 # Other targets (info, dvi, etc.)
16947 .PHONY: maybe-info-recode info-recode
16950 maybe-info-recode: info-recode
16954 @[ -f ./recode/Makefile ] || exit 0; \
16955 r=`${PWD_COMMAND}`; export r; \
16956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16958 for flag in $(EXTRA_HOST_FLAGS) ; do \
16959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16961 echo "Doing info in recode" ; \
16962 (cd $(HOST_SUBDIR)/recode && \
16963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16965 "RANLIB=$${RANLIB}" \
16966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 .PHONY: maybe-dvi-recode dvi-recode
16975 maybe-dvi-recode: dvi-recode
16979 @[ -f ./recode/Makefile ] || exit 0; \
16980 r=`${PWD_COMMAND}`; export r; \
16981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16983 for flag in $(EXTRA_HOST_FLAGS) ; do \
16984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16986 echo "Doing dvi in recode" ; \
16987 (cd $(HOST_SUBDIR)/recode && \
16988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16990 "RANLIB=$${RANLIB}" \
16991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16997 .PHONY: maybe-html-recode html-recode
17000 maybe-html-recode: html-recode
17004 @[ -f ./recode/Makefile ] || exit 0; \
17005 r=`${PWD_COMMAND}`; export r; \
17006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17008 for flag in $(EXTRA_HOST_FLAGS) ; do \
17009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17011 echo "Doing html in recode" ; \
17012 (cd $(HOST_SUBDIR)/recode && \
17013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17015 "RANLIB=$${RANLIB}" \
17016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17022 .PHONY: maybe-TAGS-recode TAGS-recode
17025 maybe-TAGS-recode: TAGS-recode
17029 @[ -f ./recode/Makefile ] || exit 0; \
17030 r=`${PWD_COMMAND}`; export r; \
17031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17033 for flag in $(EXTRA_HOST_FLAGS) ; do \
17034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17036 echo "Doing TAGS in recode" ; \
17037 (cd $(HOST_SUBDIR)/recode && \
17038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17040 "RANLIB=$${RANLIB}" \
17041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17047 .PHONY: maybe-install-info-recode install-info-recode
17048 maybe-install-info-recode:
17050 maybe-install-info-recode: install-info-recode
17052 install-info-recode: \
17055 @[ -f ./recode/Makefile ] || exit 0; \
17056 r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17059 for flag in $(EXTRA_HOST_FLAGS) ; do \
17060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17062 echo "Doing install-info in recode" ; \
17063 (cd $(HOST_SUBDIR)/recode && \
17064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066 "RANLIB=$${RANLIB}" \
17067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17073 .PHONY: maybe-installcheck-recode installcheck-recode
17074 maybe-installcheck-recode:
17076 maybe-installcheck-recode: installcheck-recode
17078 installcheck-recode: \
17080 @[ -f ./recode/Makefile ] || exit 0; \
17081 r=`${PWD_COMMAND}`; export r; \
17082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17084 for flag in $(EXTRA_HOST_FLAGS) ; do \
17085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17087 echo "Doing installcheck in recode" ; \
17088 (cd $(HOST_SUBDIR)/recode && \
17089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17091 "RANLIB=$${RANLIB}" \
17092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17098 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17099 maybe-mostlyclean-recode:
17101 maybe-mostlyclean-recode: mostlyclean-recode
17103 mostlyclean-recode:
17104 @[ -f ./recode/Makefile ] || exit 0; \
17105 r=`${PWD_COMMAND}`; export r; \
17106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17108 for flag in $(EXTRA_HOST_FLAGS) ; do \
17109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17111 echo "Doing mostlyclean in recode" ; \
17112 (cd $(HOST_SUBDIR)/recode && \
17113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17115 "RANLIB=$${RANLIB}" \
17116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17122 .PHONY: maybe-clean-recode clean-recode
17123 maybe-clean-recode:
17125 maybe-clean-recode: clean-recode
17128 @[ -f ./recode/Makefile ] || exit 0; \
17129 r=`${PWD_COMMAND}`; export r; \
17130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17132 for flag in $(EXTRA_HOST_FLAGS) ; do \
17133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17135 echo "Doing clean in recode" ; \
17136 (cd $(HOST_SUBDIR)/recode && \
17137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17139 "RANLIB=$${RANLIB}" \
17140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17146 .PHONY: maybe-distclean-recode distclean-recode
17147 maybe-distclean-recode:
17149 maybe-distclean-recode: distclean-recode
17152 @[ -f ./recode/Makefile ] || exit 0; \
17153 r=`${PWD_COMMAND}`; export r; \
17154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 for flag in $(EXTRA_HOST_FLAGS) ; do \
17157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17159 echo "Doing distclean in recode" ; \
17160 (cd $(HOST_SUBDIR)/recode && \
17161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17163 "RANLIB=$${RANLIB}" \
17164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17170 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
17171 maybe-maintainer-clean-recode:
17173 maybe-maintainer-clean-recode: maintainer-clean-recode
17175 maintainer-clean-recode:
17176 @[ -f ./recode/Makefile ] || exit 0; \
17177 r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 for flag in $(EXTRA_HOST_FLAGS) ; do \
17181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17183 echo "Doing maintainer-clean in recode" ; \
17184 (cd $(HOST_SUBDIR)/recode && \
17185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17187 "RANLIB=$${RANLIB}" \
17188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17189 maintainer-clean) \
17195 .PHONY: configure-sed maybe-configure-sed
17196 maybe-configure-sed:
17198 maybe-configure-sed: configure-sed
17200 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
17201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
17202 r=`${PWD_COMMAND}`; export r; \
17203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17205 echo Configuring in sed; \
17206 cd $(HOST_SUBDIR)/sed || exit 1; \
17207 case $(srcdir) in \
17208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17209 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
17210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17212 srcdiroption="--srcdir=$${topdir}/sed"; \
17213 libsrcdir="$$s/sed"; \
17214 $(SHELL) $${libsrcdir}/configure \
17215 $(HOST_CONFIGARGS) $${srcdiroption} \
17219 .PHONY: all-sed maybe-all-sed
17223 maybe-all-sed: all-sed
17224 all-sed: configure-sed
17225 @r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17228 (cd $(HOST_SUBDIR)/sed && \
17229 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
17232 .PHONY: check-sed maybe-check-sed
17235 maybe-check-sed: check-sed
17238 @r=`${PWD_COMMAND}`; export r; \
17239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17241 (cd $(HOST_SUBDIR)/sed && \
17242 $(MAKE) $(FLAGS_TO_PASS) check)
17246 .PHONY: install-sed maybe-install-sed
17249 maybe-install-sed: install-sed
17251 install-sed: installdirs
17252 @r=`${PWD_COMMAND}`; export r; \
17253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17255 (cd $(HOST_SUBDIR)/sed && \
17256 $(MAKE) $(FLAGS_TO_PASS) install)
17260 # Other targets (info, dvi, etc.)
17262 .PHONY: maybe-info-sed info-sed
17265 maybe-info-sed: info-sed
17269 @[ -f ./sed/Makefile ] || exit 0; \
17270 r=`${PWD_COMMAND}`; export r; \
17271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17273 for flag in $(EXTRA_HOST_FLAGS) ; do \
17274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17276 echo "Doing info in sed" ; \
17277 (cd $(HOST_SUBDIR)/sed && \
17278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17280 "RANLIB=$${RANLIB}" \
17281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17287 .PHONY: maybe-dvi-sed dvi-sed
17290 maybe-dvi-sed: dvi-sed
17294 @[ -f ./sed/Makefile ] || exit 0; \
17295 r=`${PWD_COMMAND}`; export r; \
17296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17298 for flag in $(EXTRA_HOST_FLAGS) ; do \
17299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17301 echo "Doing dvi in sed" ; \
17302 (cd $(HOST_SUBDIR)/sed && \
17303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17305 "RANLIB=$${RANLIB}" \
17306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17312 .PHONY: maybe-html-sed html-sed
17315 maybe-html-sed: html-sed
17319 @[ -f ./sed/Makefile ] || exit 0; \
17320 r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17323 for flag in $(EXTRA_HOST_FLAGS) ; do \
17324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17326 echo "Doing html in sed" ; \
17327 (cd $(HOST_SUBDIR)/sed && \
17328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17330 "RANLIB=$${RANLIB}" \
17331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17337 .PHONY: maybe-TAGS-sed TAGS-sed
17340 maybe-TAGS-sed: TAGS-sed
17344 @[ -f ./sed/Makefile ] || exit 0; \
17345 r=`${PWD_COMMAND}`; export r; \
17346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17348 for flag in $(EXTRA_HOST_FLAGS) ; do \
17349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17351 echo "Doing TAGS in sed" ; \
17352 (cd $(HOST_SUBDIR)/sed && \
17353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17355 "RANLIB=$${RANLIB}" \
17356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17362 .PHONY: maybe-install-info-sed install-info-sed
17363 maybe-install-info-sed:
17365 maybe-install-info-sed: install-info-sed
17367 install-info-sed: \
17370 @[ -f ./sed/Makefile ] || exit 0; \
17371 r=`${PWD_COMMAND}`; export r; \
17372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17374 for flag in $(EXTRA_HOST_FLAGS) ; do \
17375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17377 echo "Doing install-info in sed" ; \
17378 (cd $(HOST_SUBDIR)/sed && \
17379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17381 "RANLIB=$${RANLIB}" \
17382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17388 .PHONY: maybe-installcheck-sed installcheck-sed
17389 maybe-installcheck-sed:
17391 maybe-installcheck-sed: installcheck-sed
17393 installcheck-sed: \
17395 @[ -f ./sed/Makefile ] || exit 0; \
17396 r=`${PWD_COMMAND}`; export r; \
17397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17399 for flag in $(EXTRA_HOST_FLAGS) ; do \
17400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17402 echo "Doing installcheck in sed" ; \
17403 (cd $(HOST_SUBDIR)/sed && \
17404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17406 "RANLIB=$${RANLIB}" \
17407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17413 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
17414 maybe-mostlyclean-sed:
17416 maybe-mostlyclean-sed: mostlyclean-sed
17419 @[ -f ./sed/Makefile ] || exit 0; \
17420 r=`${PWD_COMMAND}`; export r; \
17421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 for flag in $(EXTRA_HOST_FLAGS) ; do \
17424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17426 echo "Doing mostlyclean in sed" ; \
17427 (cd $(HOST_SUBDIR)/sed && \
17428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17430 "RANLIB=$${RANLIB}" \
17431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17437 .PHONY: maybe-clean-sed clean-sed
17440 maybe-clean-sed: clean-sed
17443 @[ -f ./sed/Makefile ] || exit 0; \
17444 r=`${PWD_COMMAND}`; export r; \
17445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17447 for flag in $(EXTRA_HOST_FLAGS) ; do \
17448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17450 echo "Doing clean in sed" ; \
17451 (cd $(HOST_SUBDIR)/sed && \
17452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17454 "RANLIB=$${RANLIB}" \
17455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17461 .PHONY: maybe-distclean-sed distclean-sed
17462 maybe-distclean-sed:
17464 maybe-distclean-sed: distclean-sed
17467 @[ -f ./sed/Makefile ] || exit 0; \
17468 r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17471 for flag in $(EXTRA_HOST_FLAGS) ; do \
17472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17474 echo "Doing distclean in sed" ; \
17475 (cd $(HOST_SUBDIR)/sed && \
17476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17478 "RANLIB=$${RANLIB}" \
17479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17485 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
17486 maybe-maintainer-clean-sed:
17488 maybe-maintainer-clean-sed: maintainer-clean-sed
17490 maintainer-clean-sed:
17491 @[ -f ./sed/Makefile ] || exit 0; \
17492 r=`${PWD_COMMAND}`; export r; \
17493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17495 for flag in $(EXTRA_HOST_FLAGS) ; do \
17496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17498 echo "Doing maintainer-clean in sed" ; \
17499 (cd $(HOST_SUBDIR)/sed && \
17500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17502 "RANLIB=$${RANLIB}" \
17503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17504 maintainer-clean) \
17510 .PHONY: configure-send-pr maybe-configure-send-pr
17511 maybe-configure-send-pr:
17513 maybe-configure-send-pr: configure-send-pr
17515 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
17516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
17517 r=`${PWD_COMMAND}`; export r; \
17518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17520 echo Configuring in send-pr; \
17521 cd $(HOST_SUBDIR)/send-pr || exit 1; \
17522 case $(srcdir) in \
17523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17524 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
17525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17527 srcdiroption="--srcdir=$${topdir}/send-pr"; \
17528 libsrcdir="$$s/send-pr"; \
17529 $(SHELL) $${libsrcdir}/configure \
17530 $(HOST_CONFIGARGS) $${srcdiroption} \
17534 .PHONY: all-send-pr maybe-all-send-pr
17538 maybe-all-send-pr: all-send-pr
17539 all-send-pr: configure-send-pr
17540 @r=`${PWD_COMMAND}`; export r; \
17541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17543 (cd $(HOST_SUBDIR)/send-pr && \
17544 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
17547 .PHONY: check-send-pr maybe-check-send-pr
17548 maybe-check-send-pr:
17550 maybe-check-send-pr: check-send-pr
17553 @r=`${PWD_COMMAND}`; export r; \
17554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 (cd $(HOST_SUBDIR)/send-pr && \
17557 $(MAKE) $(FLAGS_TO_PASS) check)
17561 .PHONY: install-send-pr maybe-install-send-pr
17562 maybe-install-send-pr:
17564 maybe-install-send-pr: install-send-pr
17566 install-send-pr: installdirs
17567 @r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17570 (cd $(HOST_SUBDIR)/send-pr && \
17571 $(MAKE) $(FLAGS_TO_PASS) install)
17575 # Other targets (info, dvi, etc.)
17577 .PHONY: maybe-info-send-pr info-send-pr
17578 maybe-info-send-pr:
17580 maybe-info-send-pr: info-send-pr
17584 @[ -f ./send-pr/Makefile ] || exit 0; \
17585 r=`${PWD_COMMAND}`; export r; \
17586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 for flag in $(EXTRA_HOST_FLAGS) ; do \
17589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17591 echo "Doing info in send-pr" ; \
17592 (cd $(HOST_SUBDIR)/send-pr && \
17593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17595 "RANLIB=$${RANLIB}" \
17596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17602 .PHONY: maybe-dvi-send-pr dvi-send-pr
17605 maybe-dvi-send-pr: dvi-send-pr
17609 @[ -f ./send-pr/Makefile ] || exit 0; \
17610 r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613 for flag in $(EXTRA_HOST_FLAGS) ; do \
17614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17616 echo "Doing dvi in send-pr" ; \
17617 (cd $(HOST_SUBDIR)/send-pr && \
17618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17620 "RANLIB=$${RANLIB}" \
17621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17627 .PHONY: maybe-html-send-pr html-send-pr
17628 maybe-html-send-pr:
17630 maybe-html-send-pr: html-send-pr
17634 @[ -f ./send-pr/Makefile ] || exit 0; \
17635 r=`${PWD_COMMAND}`; export r; \
17636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17638 for flag in $(EXTRA_HOST_FLAGS) ; do \
17639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17641 echo "Doing html in send-pr" ; \
17642 (cd $(HOST_SUBDIR)/send-pr && \
17643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17645 "RANLIB=$${RANLIB}" \
17646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17652 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17653 maybe-TAGS-send-pr:
17655 maybe-TAGS-send-pr: TAGS-send-pr
17659 @[ -f ./send-pr/Makefile ] || exit 0; \
17660 r=`${PWD_COMMAND}`; export r; \
17661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17663 for flag in $(EXTRA_HOST_FLAGS) ; do \
17664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17666 echo "Doing TAGS in send-pr" ; \
17667 (cd $(HOST_SUBDIR)/send-pr && \
17668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17670 "RANLIB=$${RANLIB}" \
17671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17677 .PHONY: maybe-install-info-send-pr install-info-send-pr
17678 maybe-install-info-send-pr:
17680 maybe-install-info-send-pr: install-info-send-pr
17682 install-info-send-pr: \
17683 configure-send-pr \
17685 @[ -f ./send-pr/Makefile ] || exit 0; \
17686 r=`${PWD_COMMAND}`; export r; \
17687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17689 for flag in $(EXTRA_HOST_FLAGS) ; do \
17690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17692 echo "Doing install-info in send-pr" ; \
17693 (cd $(HOST_SUBDIR)/send-pr && \
17694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17696 "RANLIB=$${RANLIB}" \
17697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17703 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17704 maybe-installcheck-send-pr:
17706 maybe-installcheck-send-pr: installcheck-send-pr
17708 installcheck-send-pr: \
17710 @[ -f ./send-pr/Makefile ] || exit 0; \
17711 r=`${PWD_COMMAND}`; export r; \
17712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17714 for flag in $(EXTRA_HOST_FLAGS) ; do \
17715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17717 echo "Doing installcheck in send-pr" ; \
17718 (cd $(HOST_SUBDIR)/send-pr && \
17719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17721 "RANLIB=$${RANLIB}" \
17722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17728 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17729 maybe-mostlyclean-send-pr:
17731 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17733 mostlyclean-send-pr:
17734 @[ -f ./send-pr/Makefile ] || exit 0; \
17735 r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17738 for flag in $(EXTRA_HOST_FLAGS) ; do \
17739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17741 echo "Doing mostlyclean in send-pr" ; \
17742 (cd $(HOST_SUBDIR)/send-pr && \
17743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17745 "RANLIB=$${RANLIB}" \
17746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17752 .PHONY: maybe-clean-send-pr clean-send-pr
17753 maybe-clean-send-pr:
17755 maybe-clean-send-pr: clean-send-pr
17758 @[ -f ./send-pr/Makefile ] || exit 0; \
17759 r=`${PWD_COMMAND}`; export r; \
17760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17762 for flag in $(EXTRA_HOST_FLAGS) ; do \
17763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17765 echo "Doing clean in send-pr" ; \
17766 (cd $(HOST_SUBDIR)/send-pr && \
17767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17769 "RANLIB=$${RANLIB}" \
17770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17776 .PHONY: maybe-distclean-send-pr distclean-send-pr
17777 maybe-distclean-send-pr:
17779 maybe-distclean-send-pr: distclean-send-pr
17782 @[ -f ./send-pr/Makefile ] || exit 0; \
17783 r=`${PWD_COMMAND}`; export r; \
17784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17786 for flag in $(EXTRA_HOST_FLAGS) ; do \
17787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17789 echo "Doing distclean in send-pr" ; \
17790 (cd $(HOST_SUBDIR)/send-pr && \
17791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17793 "RANLIB=$${RANLIB}" \
17794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17800 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17801 maybe-maintainer-clean-send-pr:
17803 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17805 maintainer-clean-send-pr:
17806 @[ -f ./send-pr/Makefile ] || exit 0; \
17807 r=`${PWD_COMMAND}`; export r; \
17808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17810 for flag in $(EXTRA_HOST_FLAGS) ; do \
17811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17813 echo "Doing maintainer-clean in send-pr" ; \
17814 (cd $(HOST_SUBDIR)/send-pr && \
17815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17817 "RANLIB=$${RANLIB}" \
17818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17819 maintainer-clean) \
17825 .PHONY: configure-shellutils maybe-configure-shellutils
17826 maybe-configure-shellutils:
17828 maybe-configure-shellutils: configure-shellutils
17829 configure-shellutils:
17830 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
17831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
17832 r=`${PWD_COMMAND}`; export r; \
17833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17835 echo Configuring in shellutils; \
17836 cd $(HOST_SUBDIR)/shellutils || exit 1; \
17837 case $(srcdir) in \
17838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17839 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
17840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17842 srcdiroption="--srcdir=$${topdir}/shellutils"; \
17843 libsrcdir="$$s/shellutils"; \
17844 $(SHELL) $${libsrcdir}/configure \
17845 $(HOST_CONFIGARGS) $${srcdiroption} \
17849 .PHONY: all-shellutils maybe-all-shellutils
17850 maybe-all-shellutils:
17852 TARGET-shellutils=all
17853 maybe-all-shellutils: all-shellutils
17854 all-shellutils: configure-shellutils
17855 @r=`${PWD_COMMAND}`; export r; \
17856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17858 (cd $(HOST_SUBDIR)/shellutils && \
17859 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
17862 .PHONY: check-shellutils maybe-check-shellutils
17863 maybe-check-shellutils:
17865 maybe-check-shellutils: check-shellutils
17868 @r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871 (cd $(HOST_SUBDIR)/shellutils && \
17872 $(MAKE) $(FLAGS_TO_PASS) check)
17876 .PHONY: install-shellutils maybe-install-shellutils
17877 maybe-install-shellutils:
17879 maybe-install-shellutils: install-shellutils
17881 install-shellutils: installdirs
17882 @r=`${PWD_COMMAND}`; export r; \
17883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17885 (cd $(HOST_SUBDIR)/shellutils && \
17886 $(MAKE) $(FLAGS_TO_PASS) install)
17890 # Other targets (info, dvi, etc.)
17892 .PHONY: maybe-info-shellutils info-shellutils
17893 maybe-info-shellutils:
17895 maybe-info-shellutils: info-shellutils
17898 configure-shellutils
17899 @[ -f ./shellutils/Makefile ] || exit 0; \
17900 r=`${PWD_COMMAND}`; export r; \
17901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17903 for flag in $(EXTRA_HOST_FLAGS) ; do \
17904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17906 echo "Doing info in shellutils" ; \
17907 (cd $(HOST_SUBDIR)/shellutils && \
17908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17910 "RANLIB=$${RANLIB}" \
17911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17917 .PHONY: maybe-dvi-shellutils dvi-shellutils
17918 maybe-dvi-shellutils:
17920 maybe-dvi-shellutils: dvi-shellutils
17923 configure-shellutils
17924 @[ -f ./shellutils/Makefile ] || exit 0; \
17925 r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 for flag in $(EXTRA_HOST_FLAGS) ; do \
17929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17931 echo "Doing dvi in shellutils" ; \
17932 (cd $(HOST_SUBDIR)/shellutils && \
17933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17935 "RANLIB=$${RANLIB}" \
17936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17942 .PHONY: maybe-html-shellutils html-shellutils
17943 maybe-html-shellutils:
17945 maybe-html-shellutils: html-shellutils
17948 configure-shellutils
17949 @[ -f ./shellutils/Makefile ] || exit 0; \
17950 r=`${PWD_COMMAND}`; export r; \
17951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17953 for flag in $(EXTRA_HOST_FLAGS) ; do \
17954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17956 echo "Doing html in shellutils" ; \
17957 (cd $(HOST_SUBDIR)/shellutils && \
17958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17960 "RANLIB=$${RANLIB}" \
17961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17967 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17968 maybe-TAGS-shellutils:
17970 maybe-TAGS-shellutils: TAGS-shellutils
17973 configure-shellutils
17974 @[ -f ./shellutils/Makefile ] || exit 0; \
17975 r=`${PWD_COMMAND}`; export r; \
17976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17978 for flag in $(EXTRA_HOST_FLAGS) ; do \
17979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17981 echo "Doing TAGS in shellutils" ; \
17982 (cd $(HOST_SUBDIR)/shellutils && \
17983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17985 "RANLIB=$${RANLIB}" \
17986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17992 .PHONY: maybe-install-info-shellutils install-info-shellutils
17993 maybe-install-info-shellutils:
17995 maybe-install-info-shellutils: install-info-shellutils
17997 install-info-shellutils: \
17998 configure-shellutils \
18000 @[ -f ./shellutils/Makefile ] || exit 0; \
18001 r=`${PWD_COMMAND}`; export r; \
18002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18004 for flag in $(EXTRA_HOST_FLAGS) ; do \
18005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18007 echo "Doing install-info in shellutils" ; \
18008 (cd $(HOST_SUBDIR)/shellutils && \
18009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18011 "RANLIB=$${RANLIB}" \
18012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18018 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18019 maybe-installcheck-shellutils:
18021 maybe-installcheck-shellutils: installcheck-shellutils
18023 installcheck-shellutils: \
18024 configure-shellutils
18025 @[ -f ./shellutils/Makefile ] || exit 0; \
18026 r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18029 for flag in $(EXTRA_HOST_FLAGS) ; do \
18030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18032 echo "Doing installcheck in shellutils" ; \
18033 (cd $(HOST_SUBDIR)/shellutils && \
18034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18036 "RANLIB=$${RANLIB}" \
18037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18043 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18044 maybe-mostlyclean-shellutils:
18046 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18048 mostlyclean-shellutils:
18049 @[ -f ./shellutils/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18056 echo "Doing mostlyclean in shellutils" ; \
18057 (cd $(HOST_SUBDIR)/shellutils && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18067 .PHONY: maybe-clean-shellutils clean-shellutils
18068 maybe-clean-shellutils:
18070 maybe-clean-shellutils: clean-shellutils
18073 @[ -f ./shellutils/Makefile ] || exit 0; \
18074 r=`${PWD_COMMAND}`; export r; \
18075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077 for flag in $(EXTRA_HOST_FLAGS) ; do \
18078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18080 echo "Doing clean in shellutils" ; \
18081 (cd $(HOST_SUBDIR)/shellutils && \
18082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18084 "RANLIB=$${RANLIB}" \
18085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18091 .PHONY: maybe-distclean-shellutils distclean-shellutils
18092 maybe-distclean-shellutils:
18094 maybe-distclean-shellutils: distclean-shellutils
18096 distclean-shellutils:
18097 @[ -f ./shellutils/Makefile ] || exit 0; \
18098 r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101 for flag in $(EXTRA_HOST_FLAGS) ; do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18104 echo "Doing distclean in shellutils" ; \
18105 (cd $(HOST_SUBDIR)/shellutils && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18115 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
18116 maybe-maintainer-clean-shellutils:
18118 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
18120 maintainer-clean-shellutils:
18121 @[ -f ./shellutils/Makefile ] || exit 0; \
18122 r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 for flag in $(EXTRA_HOST_FLAGS) ; do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18128 echo "Doing maintainer-clean in shellutils" ; \
18129 (cd $(HOST_SUBDIR)/shellutils && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134 maintainer-clean) \
18140 .PHONY: configure-sid maybe-configure-sid
18141 maybe-configure-sid:
18143 maybe-configure-sid: configure-sid
18145 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
18146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
18147 r=`${PWD_COMMAND}`; export r; \
18148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 echo Configuring in sid; \
18151 cd $(HOST_SUBDIR)/sid || exit 1; \
18152 case $(srcdir) in \
18153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18154 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
18155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18157 srcdiroption="--srcdir=$${topdir}/sid"; \
18158 libsrcdir="$$s/sid"; \
18159 $(SHELL) $${libsrcdir}/configure \
18160 $(HOST_CONFIGARGS) $${srcdiroption} \
18164 .PHONY: all-sid maybe-all-sid
18168 maybe-all-sid: all-sid
18169 all-sid: configure-sid
18170 @r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 (cd $(HOST_SUBDIR)/sid && \
18174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
18177 .PHONY: check-sid maybe-check-sid
18180 maybe-check-sid: check-sid
18183 @r=`${PWD_COMMAND}`; export r; \
18184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18186 (cd $(HOST_SUBDIR)/sid && \
18187 $(MAKE) $(FLAGS_TO_PASS) check)
18191 .PHONY: install-sid maybe-install-sid
18194 maybe-install-sid: install-sid
18196 install-sid: installdirs
18197 @r=`${PWD_COMMAND}`; export r; \
18198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18200 (cd $(HOST_SUBDIR)/sid && \
18201 $(MAKE) $(FLAGS_TO_PASS) install)
18205 # Other targets (info, dvi, etc.)
18207 .PHONY: maybe-info-sid info-sid
18210 maybe-info-sid: info-sid
18214 @[ -f ./sid/Makefile ] || exit 0; \
18215 r=`${PWD_COMMAND}`; export r; \
18216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 for flag in $(EXTRA_HOST_FLAGS) ; do \
18219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18221 echo "Doing info in sid" ; \
18222 (cd $(HOST_SUBDIR)/sid && \
18223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18225 "RANLIB=$${RANLIB}" \
18226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232 .PHONY: maybe-dvi-sid dvi-sid
18235 maybe-dvi-sid: dvi-sid
18239 @[ -f ./sid/Makefile ] || exit 0; \
18240 r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243 for flag in $(EXTRA_HOST_FLAGS) ; do \
18244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18246 echo "Doing dvi in sid" ; \
18247 (cd $(HOST_SUBDIR)/sid && \
18248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18250 "RANLIB=$${RANLIB}" \
18251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18257 .PHONY: maybe-html-sid html-sid
18260 maybe-html-sid: html-sid
18264 @[ -f ./sid/Makefile ] || exit 0; \
18265 r=`${PWD_COMMAND}`; export r; \
18266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18268 for flag in $(EXTRA_HOST_FLAGS) ; do \
18269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18271 echo "Doing html in sid" ; \
18272 (cd $(HOST_SUBDIR)/sid && \
18273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18275 "RANLIB=$${RANLIB}" \
18276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18282 .PHONY: maybe-TAGS-sid TAGS-sid
18285 maybe-TAGS-sid: TAGS-sid
18289 @[ -f ./sid/Makefile ] || exit 0; \
18290 r=`${PWD_COMMAND}`; export r; \
18291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18293 for flag in $(EXTRA_HOST_FLAGS) ; do \
18294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18296 echo "Doing TAGS in sid" ; \
18297 (cd $(HOST_SUBDIR)/sid && \
18298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18300 "RANLIB=$${RANLIB}" \
18301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18307 .PHONY: maybe-install-info-sid install-info-sid
18308 maybe-install-info-sid:
18310 maybe-install-info-sid: install-info-sid
18312 install-info-sid: \
18315 @[ -f ./sid/Makefile ] || exit 0; \
18316 r=`${PWD_COMMAND}`; export r; \
18317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18319 for flag in $(EXTRA_HOST_FLAGS) ; do \
18320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18322 echo "Doing install-info in sid" ; \
18323 (cd $(HOST_SUBDIR)/sid && \
18324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18326 "RANLIB=$${RANLIB}" \
18327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18333 .PHONY: maybe-installcheck-sid installcheck-sid
18334 maybe-installcheck-sid:
18336 maybe-installcheck-sid: installcheck-sid
18338 installcheck-sid: \
18340 @[ -f ./sid/Makefile ] || exit 0; \
18341 r=`${PWD_COMMAND}`; export r; \
18342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18344 for flag in $(EXTRA_HOST_FLAGS) ; do \
18345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18347 echo "Doing installcheck in sid" ; \
18348 (cd $(HOST_SUBDIR)/sid && \
18349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18351 "RANLIB=$${RANLIB}" \
18352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18358 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
18359 maybe-mostlyclean-sid:
18361 maybe-mostlyclean-sid: mostlyclean-sid
18364 @[ -f ./sid/Makefile ] || exit 0; \
18365 r=`${PWD_COMMAND}`; export r; \
18366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18368 for flag in $(EXTRA_HOST_FLAGS) ; do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18371 echo "Doing mostlyclean in sid" ; \
18372 (cd $(HOST_SUBDIR)/sid && \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18382 .PHONY: maybe-clean-sid clean-sid
18385 maybe-clean-sid: clean-sid
18388 @[ -f ./sid/Makefile ] || exit 0; \
18389 r=`${PWD_COMMAND}`; export r; \
18390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18392 for flag in $(EXTRA_HOST_FLAGS) ; do \
18393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18395 echo "Doing clean in sid" ; \
18396 (cd $(HOST_SUBDIR)/sid && \
18397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18399 "RANLIB=$${RANLIB}" \
18400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18406 .PHONY: maybe-distclean-sid distclean-sid
18407 maybe-distclean-sid:
18409 maybe-distclean-sid: distclean-sid
18412 @[ -f ./sid/Makefile ] || exit 0; \
18413 r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18416 for flag in $(EXTRA_HOST_FLAGS) ; do \
18417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18419 echo "Doing distclean in sid" ; \
18420 (cd $(HOST_SUBDIR)/sid && \
18421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18423 "RANLIB=$${RANLIB}" \
18424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18430 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
18431 maybe-maintainer-clean-sid:
18433 maybe-maintainer-clean-sid: maintainer-clean-sid
18435 maintainer-clean-sid:
18436 @[ -f ./sid/Makefile ] || exit 0; \
18437 r=`${PWD_COMMAND}`; export r; \
18438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 for flag in $(EXTRA_HOST_FLAGS) ; do \
18441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18443 echo "Doing maintainer-clean in sid" ; \
18444 (cd $(HOST_SUBDIR)/sid && \
18445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18447 "RANLIB=$${RANLIB}" \
18448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18449 maintainer-clean) \
18455 .PHONY: configure-sim maybe-configure-sim
18456 maybe-configure-sim:
18458 maybe-configure-sim: configure-sim
18460 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
18461 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
18462 r=`${PWD_COMMAND}`; export r; \
18463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18465 echo Configuring in sim; \
18466 cd $(HOST_SUBDIR)/sim || exit 1; \
18467 case $(srcdir) in \
18468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18469 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
18470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18472 srcdiroption="--srcdir=$${topdir}/sim"; \
18473 libsrcdir="$$s/sim"; \
18474 $(SHELL) $${libsrcdir}/configure \
18475 $(HOST_CONFIGARGS) $${srcdiroption} \
18479 .PHONY: all-sim maybe-all-sim
18483 maybe-all-sim: all-sim
18484 all-sim: configure-sim
18485 @r=`${PWD_COMMAND}`; export r; \
18486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 (cd $(HOST_SUBDIR)/sim && \
18489 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
18492 .PHONY: check-sim maybe-check-sim
18495 maybe-check-sim: check-sim
18498 @r=`${PWD_COMMAND}`; export r; \
18499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18501 (cd $(HOST_SUBDIR)/sim && \
18502 $(MAKE) $(FLAGS_TO_PASS) check)
18506 .PHONY: install-sim maybe-install-sim
18509 maybe-install-sim: install-sim
18511 install-sim: installdirs
18512 @r=`${PWD_COMMAND}`; export r; \
18513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 (cd $(HOST_SUBDIR)/sim && \
18516 $(MAKE) $(FLAGS_TO_PASS) install)
18520 # Other targets (info, dvi, etc.)
18522 .PHONY: maybe-info-sim info-sim
18525 maybe-info-sim: info-sim
18529 @[ -f ./sim/Makefile ] || exit 0; \
18530 r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18533 for flag in $(EXTRA_HOST_FLAGS) ; do \
18534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18536 echo "Doing info in sim" ; \
18537 (cd $(HOST_SUBDIR)/sim && \
18538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18540 "RANLIB=$${RANLIB}" \
18541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18547 .PHONY: maybe-dvi-sim dvi-sim
18550 maybe-dvi-sim: dvi-sim
18554 @[ -f ./sim/Makefile ] || exit 0; \
18555 r=`${PWD_COMMAND}`; export r; \
18556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558 for flag in $(EXTRA_HOST_FLAGS) ; do \
18559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18561 echo "Doing dvi in sim" ; \
18562 (cd $(HOST_SUBDIR)/sim && \
18563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18565 "RANLIB=$${RANLIB}" \
18566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18572 .PHONY: maybe-html-sim html-sim
18575 maybe-html-sim: html-sim
18579 @[ -f ./sim/Makefile ] || exit 0; \
18580 r=`${PWD_COMMAND}`; export r; \
18581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18583 for flag in $(EXTRA_HOST_FLAGS) ; do \
18584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18586 echo "Doing html in sim" ; \
18587 (cd $(HOST_SUBDIR)/sim && \
18588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18590 "RANLIB=$${RANLIB}" \
18591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18597 .PHONY: maybe-TAGS-sim TAGS-sim
18600 maybe-TAGS-sim: TAGS-sim
18604 @[ -f ./sim/Makefile ] || exit 0; \
18605 r=`${PWD_COMMAND}`; export r; \
18606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18608 for flag in $(EXTRA_HOST_FLAGS) ; do \
18609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18611 echo "Doing TAGS in sim" ; \
18612 (cd $(HOST_SUBDIR)/sim && \
18613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18615 "RANLIB=$${RANLIB}" \
18616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18622 .PHONY: maybe-install-info-sim install-info-sim
18623 maybe-install-info-sim:
18625 maybe-install-info-sim: install-info-sim
18627 install-info-sim: \
18630 @[ -f ./sim/Makefile ] || exit 0; \
18631 r=`${PWD_COMMAND}`; export r; \
18632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 for flag in $(EXTRA_HOST_FLAGS) ; do \
18635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18637 echo "Doing install-info in sim" ; \
18638 (cd $(HOST_SUBDIR)/sim && \
18639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18641 "RANLIB=$${RANLIB}" \
18642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18648 .PHONY: maybe-installcheck-sim installcheck-sim
18649 maybe-installcheck-sim:
18651 maybe-installcheck-sim: installcheck-sim
18653 installcheck-sim: \
18655 @[ -f ./sim/Makefile ] || exit 0; \
18656 r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18659 for flag in $(EXTRA_HOST_FLAGS) ; do \
18660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18662 echo "Doing installcheck in sim" ; \
18663 (cd $(HOST_SUBDIR)/sim && \
18664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18666 "RANLIB=$${RANLIB}" \
18667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18673 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18674 maybe-mostlyclean-sim:
18676 maybe-mostlyclean-sim: mostlyclean-sim
18679 @[ -f ./sim/Makefile ] || exit 0; \
18680 r=`${PWD_COMMAND}`; export r; \
18681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18683 for flag in $(EXTRA_HOST_FLAGS) ; do \
18684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18686 echo "Doing mostlyclean in sim" ; \
18687 (cd $(HOST_SUBDIR)/sim && \
18688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690 "RANLIB=$${RANLIB}" \
18691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18697 .PHONY: maybe-clean-sim clean-sim
18700 maybe-clean-sim: clean-sim
18703 @[ -f ./sim/Makefile ] || exit 0; \
18704 r=`${PWD_COMMAND}`; export r; \
18705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18707 for flag in $(EXTRA_HOST_FLAGS) ; do \
18708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18710 echo "Doing clean in sim" ; \
18711 (cd $(HOST_SUBDIR)/sim && \
18712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18714 "RANLIB=$${RANLIB}" \
18715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18721 .PHONY: maybe-distclean-sim distclean-sim
18722 maybe-distclean-sim:
18724 maybe-distclean-sim: distclean-sim
18727 @[ -f ./sim/Makefile ] || exit 0; \
18728 r=`${PWD_COMMAND}`; export r; \
18729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 for flag in $(EXTRA_HOST_FLAGS) ; do \
18732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18734 echo "Doing distclean in sim" ; \
18735 (cd $(HOST_SUBDIR)/sim && \
18736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18738 "RANLIB=$${RANLIB}" \
18739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18745 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18746 maybe-maintainer-clean-sim:
18748 maybe-maintainer-clean-sim: maintainer-clean-sim
18750 maintainer-clean-sim:
18751 @[ -f ./sim/Makefile ] || exit 0; \
18752 r=`${PWD_COMMAND}`; export r; \
18753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18755 for flag in $(EXTRA_HOST_FLAGS) ; do \
18756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18758 echo "Doing maintainer-clean in sim" ; \
18759 (cd $(HOST_SUBDIR)/sim && \
18760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18762 "RANLIB=$${RANLIB}" \
18763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18764 maintainer-clean) \
18770 .PHONY: configure-tar maybe-configure-tar
18771 maybe-configure-tar:
18773 maybe-configure-tar: configure-tar
18775 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
18776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
18777 r=`${PWD_COMMAND}`; export r; \
18778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 echo Configuring in tar; \
18781 cd $(HOST_SUBDIR)/tar || exit 1; \
18782 case $(srcdir) in \
18783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18784 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
18785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18787 srcdiroption="--srcdir=$${topdir}/tar"; \
18788 libsrcdir="$$s/tar"; \
18789 $(SHELL) $${libsrcdir}/configure \
18790 $(HOST_CONFIGARGS) $${srcdiroption} \
18794 .PHONY: all-tar maybe-all-tar
18798 maybe-all-tar: all-tar
18799 all-tar: configure-tar
18800 @r=`${PWD_COMMAND}`; export r; \
18801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18803 (cd $(HOST_SUBDIR)/tar && \
18804 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
18807 .PHONY: check-tar maybe-check-tar
18810 maybe-check-tar: check-tar
18813 @r=`${PWD_COMMAND}`; export r; \
18814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816 (cd $(HOST_SUBDIR)/tar && \
18817 $(MAKE) $(FLAGS_TO_PASS) check)
18821 .PHONY: install-tar maybe-install-tar
18824 maybe-install-tar: install-tar
18826 install-tar: installdirs
18827 @r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18830 (cd $(HOST_SUBDIR)/tar && \
18831 $(MAKE) $(FLAGS_TO_PASS) install)
18835 # Other targets (info, dvi, etc.)
18837 .PHONY: maybe-info-tar info-tar
18840 maybe-info-tar: info-tar
18844 @[ -f ./tar/Makefile ] || exit 0; \
18845 r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18848 for flag in $(EXTRA_HOST_FLAGS) ; do \
18849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18851 echo "Doing info in tar" ; \
18852 (cd $(HOST_SUBDIR)/tar && \
18853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855 "RANLIB=$${RANLIB}" \
18856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18862 .PHONY: maybe-dvi-tar dvi-tar
18865 maybe-dvi-tar: dvi-tar
18869 @[ -f ./tar/Makefile ] || exit 0; \
18870 r=`${PWD_COMMAND}`; export r; \
18871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18873 for flag in $(EXTRA_HOST_FLAGS) ; do \
18874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18876 echo "Doing dvi in tar" ; \
18877 (cd $(HOST_SUBDIR)/tar && \
18878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18880 "RANLIB=$${RANLIB}" \
18881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18887 .PHONY: maybe-html-tar html-tar
18890 maybe-html-tar: html-tar
18894 @[ -f ./tar/Makefile ] || exit 0; \
18895 r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898 for flag in $(EXTRA_HOST_FLAGS) ; do \
18899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18901 echo "Doing html in tar" ; \
18902 (cd $(HOST_SUBDIR)/tar && \
18903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905 "RANLIB=$${RANLIB}" \
18906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18912 .PHONY: maybe-TAGS-tar TAGS-tar
18915 maybe-TAGS-tar: TAGS-tar
18919 @[ -f ./tar/Makefile ] || exit 0; \
18920 r=`${PWD_COMMAND}`; export r; \
18921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18923 for flag in $(EXTRA_HOST_FLAGS) ; do \
18924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18926 echo "Doing TAGS in tar" ; \
18927 (cd $(HOST_SUBDIR)/tar && \
18928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18930 "RANLIB=$${RANLIB}" \
18931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18937 .PHONY: maybe-install-info-tar install-info-tar
18938 maybe-install-info-tar:
18940 maybe-install-info-tar: install-info-tar
18942 install-info-tar: \
18945 @[ -f ./tar/Makefile ] || exit 0; \
18946 r=`${PWD_COMMAND}`; export r; \
18947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18949 for flag in $(EXTRA_HOST_FLAGS) ; do \
18950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18952 echo "Doing install-info in tar" ; \
18953 (cd $(HOST_SUBDIR)/tar && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18956 "RANLIB=$${RANLIB}" \
18957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 .PHONY: maybe-installcheck-tar installcheck-tar
18964 maybe-installcheck-tar:
18966 maybe-installcheck-tar: installcheck-tar
18968 installcheck-tar: \
18970 @[ -f ./tar/Makefile ] || exit 0; \
18971 r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 for flag in $(EXTRA_HOST_FLAGS) ; do \
18975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18977 echo "Doing installcheck in tar" ; \
18978 (cd $(HOST_SUBDIR)/tar && \
18979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981 "RANLIB=$${RANLIB}" \
18982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18988 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18989 maybe-mostlyclean-tar:
18991 maybe-mostlyclean-tar: mostlyclean-tar
18994 @[ -f ./tar/Makefile ] || exit 0; \
18995 r=`${PWD_COMMAND}`; export r; \
18996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 for flag in $(EXTRA_HOST_FLAGS) ; do \
18999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 echo "Doing mostlyclean in tar" ; \
19002 (cd $(HOST_SUBDIR)/tar && \
19003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19005 "RANLIB=$${RANLIB}" \
19006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19012 .PHONY: maybe-clean-tar clean-tar
19015 maybe-clean-tar: clean-tar
19018 @[ -f ./tar/Makefile ] || exit 0; \
19019 r=`${PWD_COMMAND}`; export r; \
19020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 for flag in $(EXTRA_HOST_FLAGS) ; do \
19023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19025 echo "Doing clean in tar" ; \
19026 (cd $(HOST_SUBDIR)/tar && \
19027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19029 "RANLIB=$${RANLIB}" \
19030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19036 .PHONY: maybe-distclean-tar distclean-tar
19037 maybe-distclean-tar:
19039 maybe-distclean-tar: distclean-tar
19042 @[ -f ./tar/Makefile ] || exit 0; \
19043 r=`${PWD_COMMAND}`; export r; \
19044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19046 for flag in $(EXTRA_HOST_FLAGS) ; do \
19047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19049 echo "Doing distclean in tar" ; \
19050 (cd $(HOST_SUBDIR)/tar && \
19051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19053 "RANLIB=$${RANLIB}" \
19054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19060 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19061 maybe-maintainer-clean-tar:
19063 maybe-maintainer-clean-tar: maintainer-clean-tar
19065 maintainer-clean-tar:
19066 @[ -f ./tar/Makefile ] || exit 0; \
19067 r=`${PWD_COMMAND}`; export r; \
19068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 for flag in $(EXTRA_HOST_FLAGS) ; do \
19071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19073 echo "Doing maintainer-clean in tar" ; \
19074 (cd $(HOST_SUBDIR)/tar && \
19075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19077 "RANLIB=$${RANLIB}" \
19078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19079 maintainer-clean) \
19085 .PHONY: configure-texinfo maybe-configure-texinfo
19086 maybe-configure-texinfo:
19088 maybe-configure-texinfo: configure-texinfo
19090 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
19091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
19092 r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 echo Configuring in texinfo; \
19096 cd $(HOST_SUBDIR)/texinfo || exit 1; \
19097 case $(srcdir) in \
19098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19099 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
19100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19102 srcdiroption="--srcdir=$${topdir}/texinfo"; \
19103 libsrcdir="$$s/texinfo"; \
19104 $(SHELL) $${libsrcdir}/configure \
19105 $(HOST_CONFIGARGS) $${srcdiroption} \
19109 .PHONY: all-texinfo maybe-all-texinfo
19113 maybe-all-texinfo: all-texinfo
19114 all-texinfo: configure-texinfo
19115 @r=`${PWD_COMMAND}`; export r; \
19116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 (cd $(HOST_SUBDIR)/texinfo && \
19119 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
19122 .PHONY: check-texinfo maybe-check-texinfo
19123 maybe-check-texinfo:
19125 maybe-check-texinfo: check-texinfo
19128 @r=`${PWD_COMMAND}`; export r; \
19129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 (cd $(HOST_SUBDIR)/texinfo && \
19132 $(MAKE) $(FLAGS_TO_PASS) check)
19136 .PHONY: install-texinfo maybe-install-texinfo
19137 maybe-install-texinfo:
19139 maybe-install-texinfo: install-texinfo
19145 # Other targets (info, dvi, etc.)
19147 .PHONY: maybe-info-texinfo info-texinfo
19148 maybe-info-texinfo:
19150 maybe-info-texinfo: info-texinfo
19154 @[ -f ./texinfo/Makefile ] || exit 0; \
19155 r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158 for flag in $(EXTRA_HOST_FLAGS) ; do \
19159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19161 echo "Doing info in texinfo" ; \
19162 (cd $(HOST_SUBDIR)/texinfo && \
19163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19165 "RANLIB=$${RANLIB}" \
19166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19172 .PHONY: maybe-dvi-texinfo dvi-texinfo
19175 maybe-dvi-texinfo: dvi-texinfo
19179 @[ -f ./texinfo/Makefile ] || exit 0; \
19180 r=`${PWD_COMMAND}`; export r; \
19181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19183 for flag in $(EXTRA_HOST_FLAGS) ; do \
19184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19186 echo "Doing dvi in texinfo" ; \
19187 (cd $(HOST_SUBDIR)/texinfo && \
19188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19190 "RANLIB=$${RANLIB}" \
19191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19197 .PHONY: maybe-html-texinfo html-texinfo
19198 maybe-html-texinfo:
19200 maybe-html-texinfo: html-texinfo
19204 @[ -f ./texinfo/Makefile ] || exit 0; \
19205 r=`${PWD_COMMAND}`; export r; \
19206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 for flag in $(EXTRA_HOST_FLAGS) ; do \
19209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19211 echo "Doing html in texinfo" ; \
19212 (cd $(HOST_SUBDIR)/texinfo && \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19215 "RANLIB=$${RANLIB}" \
19216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19222 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
19223 maybe-TAGS-texinfo:
19225 maybe-TAGS-texinfo: TAGS-texinfo
19229 @[ -f ./texinfo/Makefile ] || exit 0; \
19230 r=`${PWD_COMMAND}`; export r; \
19231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 for flag in $(EXTRA_HOST_FLAGS) ; do \
19234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 echo "Doing TAGS in texinfo" ; \
19237 (cd $(HOST_SUBDIR)/texinfo && \
19238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19240 "RANLIB=$${RANLIB}" \
19241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19247 .PHONY: maybe-install-info-texinfo install-info-texinfo
19248 maybe-install-info-texinfo:
19250 maybe-install-info-texinfo: install-info-texinfo
19252 install-info-texinfo: \
19253 configure-texinfo \
19255 @[ -f ./texinfo/Makefile ] || exit 0; \
19256 r=`${PWD_COMMAND}`; export r; \
19257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19259 for flag in $(EXTRA_HOST_FLAGS) ; do \
19260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19262 echo "Doing install-info in texinfo" ; \
19263 (cd $(HOST_SUBDIR)/texinfo && \
19264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19266 "RANLIB=$${RANLIB}" \
19267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19273 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
19274 maybe-installcheck-texinfo:
19276 maybe-installcheck-texinfo: installcheck-texinfo
19278 installcheck-texinfo: \
19280 @[ -f ./texinfo/Makefile ] || exit 0; \
19281 r=`${PWD_COMMAND}`; export r; \
19282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19284 for flag in $(EXTRA_HOST_FLAGS) ; do \
19285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19287 echo "Doing installcheck in texinfo" ; \
19288 (cd $(HOST_SUBDIR)/texinfo && \
19289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19291 "RANLIB=$${RANLIB}" \
19292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19298 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
19299 maybe-mostlyclean-texinfo:
19301 maybe-mostlyclean-texinfo: mostlyclean-texinfo
19303 mostlyclean-texinfo:
19304 @[ -f ./texinfo/Makefile ] || exit 0; \
19305 r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19308 for flag in $(EXTRA_HOST_FLAGS) ; do \
19309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19311 echo "Doing mostlyclean in texinfo" ; \
19312 (cd $(HOST_SUBDIR)/texinfo && \
19313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19315 "RANLIB=$${RANLIB}" \
19316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19322 .PHONY: maybe-clean-texinfo clean-texinfo
19323 maybe-clean-texinfo:
19325 maybe-clean-texinfo: clean-texinfo
19328 @[ -f ./texinfo/Makefile ] || exit 0; \
19329 r=`${PWD_COMMAND}`; export r; \
19330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 for flag in $(EXTRA_HOST_FLAGS) ; do \
19333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19335 echo "Doing clean in texinfo" ; \
19336 (cd $(HOST_SUBDIR)/texinfo && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19346 .PHONY: maybe-distclean-texinfo distclean-texinfo
19347 maybe-distclean-texinfo:
19349 maybe-distclean-texinfo: distclean-texinfo
19352 @[ -f ./texinfo/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 texinfo" ; \
19360 (cd $(HOST_SUBDIR)/texinfo && \
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-texinfo maintainer-clean-texinfo
19371 maybe-maintainer-clean-texinfo:
19373 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
19375 maintainer-clean-texinfo:
19376 @[ -f ./texinfo/Makefile ] || exit 0; \
19377 r=`${PWD_COMMAND}`; export r; \
19378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 for flag in $(EXTRA_HOST_FLAGS) ; do \
19381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19383 echo "Doing maintainer-clean in texinfo" ; \
19384 (cd $(HOST_SUBDIR)/texinfo && \
19385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19387 "RANLIB=$${RANLIB}" \
19388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19389 maintainer-clean) \
19395 .PHONY: configure-textutils maybe-configure-textutils
19396 maybe-configure-textutils:
19398 maybe-configure-textutils: configure-textutils
19399 configure-textutils:
19400 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
19401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
19402 r=`${PWD_COMMAND}`; export r; \
19403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 echo Configuring in textutils; \
19406 cd $(HOST_SUBDIR)/textutils || exit 1; \
19407 case $(srcdir) in \
19408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19409 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
19410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19412 srcdiroption="--srcdir=$${topdir}/textutils"; \
19413 libsrcdir="$$s/textutils"; \
19414 $(SHELL) $${libsrcdir}/configure \
19415 $(HOST_CONFIGARGS) $${srcdiroption} \
19419 .PHONY: all-textutils maybe-all-textutils
19420 maybe-all-textutils:
19422 TARGET-textutils=all
19423 maybe-all-textutils: all-textutils
19424 all-textutils: configure-textutils
19425 @r=`${PWD_COMMAND}`; export r; \
19426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19428 (cd $(HOST_SUBDIR)/textutils && \
19429 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
19432 .PHONY: check-textutils maybe-check-textutils
19433 maybe-check-textutils:
19435 maybe-check-textutils: check-textutils
19438 @r=`${PWD_COMMAND}`; export r; \
19439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19441 (cd $(HOST_SUBDIR)/textutils && \
19442 $(MAKE) $(FLAGS_TO_PASS) check)
19446 .PHONY: install-textutils maybe-install-textutils
19447 maybe-install-textutils:
19449 maybe-install-textutils: install-textutils
19451 install-textutils: installdirs
19452 @r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19455 (cd $(HOST_SUBDIR)/textutils && \
19456 $(MAKE) $(FLAGS_TO_PASS) install)
19460 # Other targets (info, dvi, etc.)
19462 .PHONY: maybe-info-textutils info-textutils
19463 maybe-info-textutils:
19465 maybe-info-textutils: info-textutils
19468 configure-textutils
19469 @[ -f ./textutils/Makefile ] || exit 0; \
19470 r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19473 for flag in $(EXTRA_HOST_FLAGS) ; do \
19474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19476 echo "Doing info in textutils" ; \
19477 (cd $(HOST_SUBDIR)/textutils && \
19478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19480 "RANLIB=$${RANLIB}" \
19481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19487 .PHONY: maybe-dvi-textutils dvi-textutils
19488 maybe-dvi-textutils:
19490 maybe-dvi-textutils: dvi-textutils
19493 configure-textutils
19494 @[ -f ./textutils/Makefile ] || exit 0; \
19495 r=`${PWD_COMMAND}`; export r; \
19496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 for flag in $(EXTRA_HOST_FLAGS) ; do \
19499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19501 echo "Doing dvi in textutils" ; \
19502 (cd $(HOST_SUBDIR)/textutils && \
19503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19505 "RANLIB=$${RANLIB}" \
19506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19512 .PHONY: maybe-html-textutils html-textutils
19513 maybe-html-textutils:
19515 maybe-html-textutils: html-textutils
19518 configure-textutils
19519 @[ -f ./textutils/Makefile ] || exit 0; \
19520 r=`${PWD_COMMAND}`; export r; \
19521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19523 for flag in $(EXTRA_HOST_FLAGS) ; do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19526 echo "Doing html in textutils" ; \
19527 (cd $(HOST_SUBDIR)/textutils && \
19528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530 "RANLIB=$${RANLIB}" \
19531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19537 .PHONY: maybe-TAGS-textutils TAGS-textutils
19538 maybe-TAGS-textutils:
19540 maybe-TAGS-textutils: TAGS-textutils
19543 configure-textutils
19544 @[ -f ./textutils/Makefile ] || exit 0; \
19545 r=`${PWD_COMMAND}`; export r; \
19546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 for flag in $(EXTRA_HOST_FLAGS) ; do \
19549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19551 echo "Doing TAGS in textutils" ; \
19552 (cd $(HOST_SUBDIR)/textutils && \
19553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19555 "RANLIB=$${RANLIB}" \
19556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19562 .PHONY: maybe-install-info-textutils install-info-textutils
19563 maybe-install-info-textutils:
19565 maybe-install-info-textutils: install-info-textutils
19567 install-info-textutils: \
19568 configure-textutils \
19570 @[ -f ./textutils/Makefile ] || exit 0; \
19571 r=`${PWD_COMMAND}`; export r; \
19572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 for flag in $(EXTRA_HOST_FLAGS) ; do \
19575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19577 echo "Doing install-info in textutils" ; \
19578 (cd $(HOST_SUBDIR)/textutils && \
19579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19581 "RANLIB=$${RANLIB}" \
19582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19588 .PHONY: maybe-installcheck-textutils installcheck-textutils
19589 maybe-installcheck-textutils:
19591 maybe-installcheck-textutils: installcheck-textutils
19593 installcheck-textutils: \
19594 configure-textutils
19595 @[ -f ./textutils/Makefile ] || exit 0; \
19596 r=`${PWD_COMMAND}`; export r; \
19597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19599 for flag in $(EXTRA_HOST_FLAGS) ; do \
19600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19602 echo "Doing installcheck in textutils" ; \
19603 (cd $(HOST_SUBDIR)/textutils && \
19604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19606 "RANLIB=$${RANLIB}" \
19607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19613 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19614 maybe-mostlyclean-textutils:
19616 maybe-mostlyclean-textutils: mostlyclean-textutils
19618 mostlyclean-textutils:
19619 @[ -f ./textutils/Makefile ] || exit 0; \
19620 r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19623 for flag in $(EXTRA_HOST_FLAGS) ; do \
19624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19626 echo "Doing mostlyclean in textutils" ; \
19627 (cd $(HOST_SUBDIR)/textutils && \
19628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19630 "RANLIB=$${RANLIB}" \
19631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19637 .PHONY: maybe-clean-textutils clean-textutils
19638 maybe-clean-textutils:
19640 maybe-clean-textutils: clean-textutils
19643 @[ -f ./textutils/Makefile ] || exit 0; \
19644 r=`${PWD_COMMAND}`; export r; \
19645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 for flag in $(EXTRA_HOST_FLAGS) ; do \
19648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19650 echo "Doing clean in textutils" ; \
19651 (cd $(HOST_SUBDIR)/textutils && \
19652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19654 "RANLIB=$${RANLIB}" \
19655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19661 .PHONY: maybe-distclean-textutils distclean-textutils
19662 maybe-distclean-textutils:
19664 maybe-distclean-textutils: distclean-textutils
19666 distclean-textutils:
19667 @[ -f ./textutils/Makefile ] || exit 0; \
19668 r=`${PWD_COMMAND}`; export r; \
19669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19671 for flag in $(EXTRA_HOST_FLAGS) ; do \
19672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19674 echo "Doing distclean in textutils" ; \
19675 (cd $(HOST_SUBDIR)/textutils && \
19676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19678 "RANLIB=$${RANLIB}" \
19679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19686 maybe-maintainer-clean-textutils:
19688 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19690 maintainer-clean-textutils:
19691 @[ -f ./textutils/Makefile ] || exit 0; \
19692 r=`${PWD_COMMAND}`; export r; \
19693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19695 for flag in $(EXTRA_HOST_FLAGS) ; do \
19696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19698 echo "Doing maintainer-clean in textutils" ; \
19699 (cd $(HOST_SUBDIR)/textutils && \
19700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19702 "RANLIB=$${RANLIB}" \
19703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19704 maintainer-clean) \
19710 .PHONY: configure-time maybe-configure-time
19711 maybe-configure-time:
19713 maybe-configure-time: configure-time
19715 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
19716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
19717 r=`${PWD_COMMAND}`; export r; \
19718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 echo Configuring in time; \
19721 cd $(HOST_SUBDIR)/time || exit 1; \
19722 case $(srcdir) in \
19723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19724 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
19725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19727 srcdiroption="--srcdir=$${topdir}/time"; \
19728 libsrcdir="$$s/time"; \
19729 $(SHELL) $${libsrcdir}/configure \
19730 $(HOST_CONFIGARGS) $${srcdiroption} \
19734 .PHONY: all-time maybe-all-time
19738 maybe-all-time: all-time
19739 all-time: configure-time
19740 @r=`${PWD_COMMAND}`; export r; \
19741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19743 (cd $(HOST_SUBDIR)/time && \
19744 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
19747 .PHONY: check-time maybe-check-time
19750 maybe-check-time: check-time
19753 @r=`${PWD_COMMAND}`; export r; \
19754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19756 (cd $(HOST_SUBDIR)/time && \
19757 $(MAKE) $(FLAGS_TO_PASS) check)
19761 .PHONY: install-time maybe-install-time
19762 maybe-install-time:
19764 maybe-install-time: install-time
19766 install-time: installdirs
19767 @r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 (cd $(HOST_SUBDIR)/time && \
19771 $(MAKE) $(FLAGS_TO_PASS) install)
19775 # Other targets (info, dvi, etc.)
19777 .PHONY: maybe-info-time info-time
19780 maybe-info-time: info-time
19784 @[ -f ./time/Makefile ] || exit 0; \
19785 r=`${PWD_COMMAND}`; export r; \
19786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19788 for flag in $(EXTRA_HOST_FLAGS) ; do \
19789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19791 echo "Doing info in time" ; \
19792 (cd $(HOST_SUBDIR)/time && \
19793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19795 "RANLIB=$${RANLIB}" \
19796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19802 .PHONY: maybe-dvi-time dvi-time
19805 maybe-dvi-time: dvi-time
19809 @[ -f ./time/Makefile ] || exit 0; \
19810 r=`${PWD_COMMAND}`; export r; \
19811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19813 for flag in $(EXTRA_HOST_FLAGS) ; do \
19814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19816 echo "Doing dvi in time" ; \
19817 (cd $(HOST_SUBDIR)/time && \
19818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19820 "RANLIB=$${RANLIB}" \
19821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19827 .PHONY: maybe-html-time html-time
19830 maybe-html-time: html-time
19834 @[ -f ./time/Makefile ] || exit 0; \
19835 r=`${PWD_COMMAND}`; export r; \
19836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19838 for flag in $(EXTRA_HOST_FLAGS) ; do \
19839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19841 echo "Doing html in time" ; \
19842 (cd $(HOST_SUBDIR)/time && \
19843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19845 "RANLIB=$${RANLIB}" \
19846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19852 .PHONY: maybe-TAGS-time TAGS-time
19855 maybe-TAGS-time: TAGS-time
19859 @[ -f ./time/Makefile ] || exit 0; \
19860 r=`${PWD_COMMAND}`; export r; \
19861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 for flag in $(EXTRA_HOST_FLAGS) ; do \
19864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19866 echo "Doing TAGS in time" ; \
19867 (cd $(HOST_SUBDIR)/time && \
19868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19870 "RANLIB=$${RANLIB}" \
19871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19877 .PHONY: maybe-install-info-time install-info-time
19878 maybe-install-info-time:
19880 maybe-install-info-time: install-info-time
19882 install-info-time: \
19885 @[ -f ./time/Makefile ] || exit 0; \
19886 r=`${PWD_COMMAND}`; export r; \
19887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19889 for flag in $(EXTRA_HOST_FLAGS) ; do \
19890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19892 echo "Doing install-info in time" ; \
19893 (cd $(HOST_SUBDIR)/time && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19896 "RANLIB=$${RANLIB}" \
19897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19903 .PHONY: maybe-installcheck-time installcheck-time
19904 maybe-installcheck-time:
19906 maybe-installcheck-time: installcheck-time
19908 installcheck-time: \
19910 @[ -f ./time/Makefile ] || exit 0; \
19911 r=`${PWD_COMMAND}`; export r; \
19912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19914 for flag in $(EXTRA_HOST_FLAGS) ; do \
19915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19917 echo "Doing installcheck in time" ; \
19918 (cd $(HOST_SUBDIR)/time && \
19919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19921 "RANLIB=$${RANLIB}" \
19922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19928 .PHONY: maybe-mostlyclean-time mostlyclean-time
19929 maybe-mostlyclean-time:
19931 maybe-mostlyclean-time: mostlyclean-time
19934 @[ -f ./time/Makefile ] || exit 0; \
19935 r=`${PWD_COMMAND}`; export r; \
19936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19938 for flag in $(EXTRA_HOST_FLAGS) ; do \
19939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19941 echo "Doing mostlyclean in time" ; \
19942 (cd $(HOST_SUBDIR)/time && \
19943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945 "RANLIB=$${RANLIB}" \
19946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19952 .PHONY: maybe-clean-time clean-time
19955 maybe-clean-time: clean-time
19958 @[ -f ./time/Makefile ] || exit 0; \
19959 r=`${PWD_COMMAND}`; export r; \
19960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19962 for flag in $(EXTRA_HOST_FLAGS) ; do \
19963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19965 echo "Doing clean in time" ; \
19966 (cd $(HOST_SUBDIR)/time && \
19967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19969 "RANLIB=$${RANLIB}" \
19970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19976 .PHONY: maybe-distclean-time distclean-time
19977 maybe-distclean-time:
19979 maybe-distclean-time: distclean-time
19982 @[ -f ./time/Makefile ] || exit 0; \
19983 r=`${PWD_COMMAND}`; export r; \
19984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19986 for flag in $(EXTRA_HOST_FLAGS) ; do \
19987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19989 echo "Doing distclean in time" ; \
19990 (cd $(HOST_SUBDIR)/time && \
19991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19993 "RANLIB=$${RANLIB}" \
19994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20000 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20001 maybe-maintainer-clean-time:
20003 maybe-maintainer-clean-time: maintainer-clean-time
20005 maintainer-clean-time:
20006 @[ -f ./time/Makefile ] || exit 0; \
20007 r=`${PWD_COMMAND}`; export r; \
20008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 for flag in $(EXTRA_HOST_FLAGS) ; do \
20011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20013 echo "Doing maintainer-clean in time" ; \
20014 (cd $(HOST_SUBDIR)/time && \
20015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20017 "RANLIB=$${RANLIB}" \
20018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20019 maintainer-clean) \
20025 .PHONY: configure-uudecode maybe-configure-uudecode
20026 maybe-configure-uudecode:
20028 maybe-configure-uudecode: configure-uudecode
20029 configure-uudecode:
20030 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
20031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
20032 r=`${PWD_COMMAND}`; export r; \
20033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 echo Configuring in uudecode; \
20036 cd $(HOST_SUBDIR)/uudecode || exit 1; \
20037 case $(srcdir) in \
20038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20039 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
20040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20042 srcdiroption="--srcdir=$${topdir}/uudecode"; \
20043 libsrcdir="$$s/uudecode"; \
20044 $(SHELL) $${libsrcdir}/configure \
20045 $(HOST_CONFIGARGS) $${srcdiroption} \
20049 .PHONY: all-uudecode maybe-all-uudecode
20050 maybe-all-uudecode:
20052 TARGET-uudecode=all
20053 maybe-all-uudecode: all-uudecode
20054 all-uudecode: configure-uudecode
20055 @r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20058 (cd $(HOST_SUBDIR)/uudecode && \
20059 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
20062 .PHONY: check-uudecode maybe-check-uudecode
20063 maybe-check-uudecode:
20065 maybe-check-uudecode: check-uudecode
20068 @r=`${PWD_COMMAND}`; export r; \
20069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20071 (cd $(HOST_SUBDIR)/uudecode && \
20072 $(MAKE) $(FLAGS_TO_PASS) check)
20076 .PHONY: install-uudecode maybe-install-uudecode
20077 maybe-install-uudecode:
20079 maybe-install-uudecode: install-uudecode
20081 install-uudecode: installdirs
20082 @r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20085 (cd $(HOST_SUBDIR)/uudecode && \
20086 $(MAKE) $(FLAGS_TO_PASS) install)
20090 # Other targets (info, dvi, etc.)
20092 .PHONY: maybe-info-uudecode info-uudecode
20093 maybe-info-uudecode:
20095 maybe-info-uudecode: info-uudecode
20099 @[ -f ./uudecode/Makefile ] || exit 0; \
20100 r=`${PWD_COMMAND}`; export r; \
20101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 for flag in $(EXTRA_HOST_FLAGS) ; do \
20104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20106 echo "Doing info in uudecode" ; \
20107 (cd $(HOST_SUBDIR)/uudecode && \
20108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20110 "RANLIB=$${RANLIB}" \
20111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20117 .PHONY: maybe-dvi-uudecode dvi-uudecode
20118 maybe-dvi-uudecode:
20120 maybe-dvi-uudecode: dvi-uudecode
20124 @[ -f ./uudecode/Makefile ] || exit 0; \
20125 r=`${PWD_COMMAND}`; export r; \
20126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20128 for flag in $(EXTRA_HOST_FLAGS) ; do \
20129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20131 echo "Doing dvi in uudecode" ; \
20132 (cd $(HOST_SUBDIR)/uudecode && \
20133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20135 "RANLIB=$${RANLIB}" \
20136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20142 .PHONY: maybe-html-uudecode html-uudecode
20143 maybe-html-uudecode:
20145 maybe-html-uudecode: html-uudecode
20149 @[ -f ./uudecode/Makefile ] || exit 0; \
20150 r=`${PWD_COMMAND}`; export r; \
20151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20153 for flag in $(EXTRA_HOST_FLAGS) ; do \
20154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20156 echo "Doing html in uudecode" ; \
20157 (cd $(HOST_SUBDIR)/uudecode && \
20158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20160 "RANLIB=$${RANLIB}" \
20161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20167 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
20168 maybe-TAGS-uudecode:
20170 maybe-TAGS-uudecode: TAGS-uudecode
20174 @[ -f ./uudecode/Makefile ] || exit 0; \
20175 r=`${PWD_COMMAND}`; export r; \
20176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 for flag in $(EXTRA_HOST_FLAGS) ; do \
20179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20181 echo "Doing TAGS in uudecode" ; \
20182 (cd $(HOST_SUBDIR)/uudecode && \
20183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20185 "RANLIB=$${RANLIB}" \
20186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20192 .PHONY: maybe-install-info-uudecode install-info-uudecode
20193 maybe-install-info-uudecode:
20195 maybe-install-info-uudecode: install-info-uudecode
20197 install-info-uudecode: \
20198 configure-uudecode \
20200 @[ -f ./uudecode/Makefile ] || exit 0; \
20201 r=`${PWD_COMMAND}`; export r; \
20202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 for flag in $(EXTRA_HOST_FLAGS) ; do \
20205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20207 echo "Doing install-info in uudecode" ; \
20208 (cd $(HOST_SUBDIR)/uudecode && \
20209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20211 "RANLIB=$${RANLIB}" \
20212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20218 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
20219 maybe-installcheck-uudecode:
20221 maybe-installcheck-uudecode: installcheck-uudecode
20223 installcheck-uudecode: \
20225 @[ -f ./uudecode/Makefile ] || exit 0; \
20226 r=`${PWD_COMMAND}`; export r; \
20227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 for flag in $(EXTRA_HOST_FLAGS) ; do \
20230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20232 echo "Doing installcheck in uudecode" ; \
20233 (cd $(HOST_SUBDIR)/uudecode && \
20234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236 "RANLIB=$${RANLIB}" \
20237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20243 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
20244 maybe-mostlyclean-uudecode:
20246 maybe-mostlyclean-uudecode: mostlyclean-uudecode
20248 mostlyclean-uudecode:
20249 @[ -f ./uudecode/Makefile ] || exit 0; \
20250 r=`${PWD_COMMAND}`; export r; \
20251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 for flag in $(EXTRA_HOST_FLAGS) ; do \
20254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 echo "Doing mostlyclean in uudecode" ; \
20257 (cd $(HOST_SUBDIR)/uudecode && \
20258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20260 "RANLIB=$${RANLIB}" \
20261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20267 .PHONY: maybe-clean-uudecode clean-uudecode
20268 maybe-clean-uudecode:
20270 maybe-clean-uudecode: clean-uudecode
20273 @[ -f ./uudecode/Makefile ] || exit 0; \
20274 r=`${PWD_COMMAND}`; export r; \
20275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20277 for flag in $(EXTRA_HOST_FLAGS) ; do \
20278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20280 echo "Doing clean in uudecode" ; \
20281 (cd $(HOST_SUBDIR)/uudecode && \
20282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20284 "RANLIB=$${RANLIB}" \
20285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20291 .PHONY: maybe-distclean-uudecode distclean-uudecode
20292 maybe-distclean-uudecode:
20294 maybe-distclean-uudecode: distclean-uudecode
20296 distclean-uudecode:
20297 @[ -f ./uudecode/Makefile ] || exit 0; \
20298 r=`${PWD_COMMAND}`; export r; \
20299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20301 for flag in $(EXTRA_HOST_FLAGS) ; do \
20302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20304 echo "Doing distclean in uudecode" ; \
20305 (cd $(HOST_SUBDIR)/uudecode && \
20306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20308 "RANLIB=$${RANLIB}" \
20309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20315 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
20316 maybe-maintainer-clean-uudecode:
20318 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
20320 maintainer-clean-uudecode:
20321 @[ -f ./uudecode/Makefile ] || exit 0; \
20322 r=`${PWD_COMMAND}`; export r; \
20323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20325 for flag in $(EXTRA_HOST_FLAGS) ; do \
20326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20328 echo "Doing maintainer-clean in uudecode" ; \
20329 (cd $(HOST_SUBDIR)/uudecode && \
20330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20332 "RANLIB=$${RANLIB}" \
20333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20334 maintainer-clean) \
20340 .PHONY: configure-wdiff maybe-configure-wdiff
20341 maybe-configure-wdiff:
20343 maybe-configure-wdiff: configure-wdiff
20345 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
20346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
20347 r=`${PWD_COMMAND}`; export r; \
20348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20350 echo Configuring in wdiff; \
20351 cd $(HOST_SUBDIR)/wdiff || exit 1; \
20352 case $(srcdir) in \
20353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20354 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
20355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20357 srcdiroption="--srcdir=$${topdir}/wdiff"; \
20358 libsrcdir="$$s/wdiff"; \
20359 $(SHELL) $${libsrcdir}/configure \
20360 $(HOST_CONFIGARGS) $${srcdiroption} \
20364 .PHONY: all-wdiff maybe-all-wdiff
20368 maybe-all-wdiff: all-wdiff
20369 all-wdiff: configure-wdiff
20370 @r=`${PWD_COMMAND}`; export r; \
20371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20373 (cd $(HOST_SUBDIR)/wdiff && \
20374 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
20377 .PHONY: check-wdiff maybe-check-wdiff
20380 maybe-check-wdiff: check-wdiff
20383 @r=`${PWD_COMMAND}`; export r; \
20384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386 (cd $(HOST_SUBDIR)/wdiff && \
20387 $(MAKE) $(FLAGS_TO_PASS) check)
20391 .PHONY: install-wdiff maybe-install-wdiff
20392 maybe-install-wdiff:
20394 maybe-install-wdiff: install-wdiff
20396 install-wdiff: installdirs
20397 @r=`${PWD_COMMAND}`; export r; \
20398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20400 (cd $(HOST_SUBDIR)/wdiff && \
20401 $(MAKE) $(FLAGS_TO_PASS) install)
20405 # Other targets (info, dvi, etc.)
20407 .PHONY: maybe-info-wdiff info-wdiff
20410 maybe-info-wdiff: info-wdiff
20414 @[ -f ./wdiff/Makefile ] || exit 0; \
20415 r=`${PWD_COMMAND}`; export r; \
20416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 for flag in $(EXTRA_HOST_FLAGS) ; do \
20419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20421 echo "Doing info in wdiff" ; \
20422 (cd $(HOST_SUBDIR)/wdiff && \
20423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20425 "RANLIB=$${RANLIB}" \
20426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20432 .PHONY: maybe-dvi-wdiff dvi-wdiff
20435 maybe-dvi-wdiff: dvi-wdiff
20439 @[ -f ./wdiff/Makefile ] || exit 0; \
20440 r=`${PWD_COMMAND}`; export r; \
20441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 for flag in $(EXTRA_HOST_FLAGS) ; do \
20444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20446 echo "Doing dvi in wdiff" ; \
20447 (cd $(HOST_SUBDIR)/wdiff && \
20448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20450 "RANLIB=$${RANLIB}" \
20451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20457 .PHONY: maybe-html-wdiff html-wdiff
20460 maybe-html-wdiff: html-wdiff
20464 @[ -f ./wdiff/Makefile ] || exit 0; \
20465 r=`${PWD_COMMAND}`; export r; \
20466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20468 for flag in $(EXTRA_HOST_FLAGS) ; do \
20469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20471 echo "Doing html in wdiff" ; \
20472 (cd $(HOST_SUBDIR)/wdiff && \
20473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20475 "RANLIB=$${RANLIB}" \
20476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20482 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
20485 maybe-TAGS-wdiff: TAGS-wdiff
20489 @[ -f ./wdiff/Makefile ] || exit 0; \
20490 r=`${PWD_COMMAND}`; export r; \
20491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20493 for flag in $(EXTRA_HOST_FLAGS) ; do \
20494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20496 echo "Doing TAGS in wdiff" ; \
20497 (cd $(HOST_SUBDIR)/wdiff && \
20498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20500 "RANLIB=$${RANLIB}" \
20501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20507 .PHONY: maybe-install-info-wdiff install-info-wdiff
20508 maybe-install-info-wdiff:
20510 maybe-install-info-wdiff: install-info-wdiff
20512 install-info-wdiff: \
20515 @[ -f ./wdiff/Makefile ] || exit 0; \
20516 r=`${PWD_COMMAND}`; export r; \
20517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20519 for flag in $(EXTRA_HOST_FLAGS) ; do \
20520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20522 echo "Doing install-info in wdiff" ; \
20523 (cd $(HOST_SUBDIR)/wdiff && \
20524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20526 "RANLIB=$${RANLIB}" \
20527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20533 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
20534 maybe-installcheck-wdiff:
20536 maybe-installcheck-wdiff: installcheck-wdiff
20538 installcheck-wdiff: \
20540 @[ -f ./wdiff/Makefile ] || exit 0; \
20541 r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20544 for flag in $(EXTRA_HOST_FLAGS) ; do \
20545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20547 echo "Doing installcheck in wdiff" ; \
20548 (cd $(HOST_SUBDIR)/wdiff && \
20549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20551 "RANLIB=$${RANLIB}" \
20552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20558 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
20559 maybe-mostlyclean-wdiff:
20561 maybe-mostlyclean-wdiff: mostlyclean-wdiff
20564 @[ -f ./wdiff/Makefile ] || exit 0; \
20565 r=`${PWD_COMMAND}`; export r; \
20566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 for flag in $(EXTRA_HOST_FLAGS) ; do \
20569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20571 echo "Doing mostlyclean in wdiff" ; \
20572 (cd $(HOST_SUBDIR)/wdiff && \
20573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20575 "RANLIB=$${RANLIB}" \
20576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20582 .PHONY: maybe-clean-wdiff clean-wdiff
20585 maybe-clean-wdiff: clean-wdiff
20588 @[ -f ./wdiff/Makefile ] || exit 0; \
20589 r=`${PWD_COMMAND}`; export r; \
20590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20592 for flag in $(EXTRA_HOST_FLAGS) ; do \
20593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20595 echo "Doing clean in wdiff" ; \
20596 (cd $(HOST_SUBDIR)/wdiff && \
20597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20599 "RANLIB=$${RANLIB}" \
20600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20606 .PHONY: maybe-distclean-wdiff distclean-wdiff
20607 maybe-distclean-wdiff:
20609 maybe-distclean-wdiff: distclean-wdiff
20612 @[ -f ./wdiff/Makefile ] || exit 0; \
20613 r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 for flag in $(EXTRA_HOST_FLAGS) ; do \
20617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20619 echo "Doing distclean in wdiff" ; \
20620 (cd $(HOST_SUBDIR)/wdiff && \
20621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20623 "RANLIB=$${RANLIB}" \
20624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20630 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
20631 maybe-maintainer-clean-wdiff:
20633 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
20635 maintainer-clean-wdiff:
20636 @[ -f ./wdiff/Makefile ] || exit 0; \
20637 r=`${PWD_COMMAND}`; export r; \
20638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20640 for flag in $(EXTRA_HOST_FLAGS) ; do \
20641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20643 echo "Doing maintainer-clean in wdiff" ; \
20644 (cd $(HOST_SUBDIR)/wdiff && \
20645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20647 "RANLIB=$${RANLIB}" \
20648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20649 maintainer-clean) \
20655 .PHONY: configure-zip maybe-configure-zip
20656 maybe-configure-zip:
20658 maybe-configure-zip: configure-zip
20660 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
20661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
20662 r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665 echo Configuring in zip; \
20666 cd $(HOST_SUBDIR)/zip || exit 1; \
20667 case $(srcdir) in \
20668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20669 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
20670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20672 srcdiroption="--srcdir=$${topdir}/zip"; \
20673 libsrcdir="$$s/zip"; \
20674 $(SHELL) $${libsrcdir}/configure \
20675 $(HOST_CONFIGARGS) $${srcdiroption} \
20679 .PHONY: all-zip maybe-all-zip
20683 maybe-all-zip: all-zip
20684 all-zip: configure-zip
20685 @r=`${PWD_COMMAND}`; export r; \
20686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 (cd $(HOST_SUBDIR)/zip && \
20689 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
20692 .PHONY: check-zip maybe-check-zip
20695 maybe-check-zip: check-zip
20697 # This module is only tested in a native toolchain.
20699 @if [ '$(host)' = '$(target)' ] ; then \
20700 r=`${PWD_COMMAND}`; export r; \
20701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 (cd $(HOST_SUBDIR)/zip && \
20704 $(MAKE) $(FLAGS_TO_PASS) check); \
20709 .PHONY: install-zip maybe-install-zip
20712 maybe-install-zip: install-zip
20714 install-zip: installdirs
20715 @r=`${PWD_COMMAND}`; export r; \
20716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20718 (cd $(HOST_SUBDIR)/zip && \
20719 $(MAKE) $(FLAGS_TO_PASS) install)
20723 # Other targets (info, dvi, etc.)
20725 .PHONY: maybe-info-zip info-zip
20728 maybe-info-zip: info-zip
20732 @[ -f ./zip/Makefile ] || exit 0; \
20733 r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20736 for flag in $(EXTRA_HOST_FLAGS) ; do \
20737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20739 echo "Doing info in zip" ; \
20740 (cd $(HOST_SUBDIR)/zip && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743 "RANLIB=$${RANLIB}" \
20744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20750 .PHONY: maybe-dvi-zip dvi-zip
20753 maybe-dvi-zip: dvi-zip
20757 @[ -f ./zip/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20761 for flag in $(EXTRA_HOST_FLAGS) ; do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20764 echo "Doing dvi in zip" ; \
20765 (cd $(HOST_SUBDIR)/zip && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20775 .PHONY: maybe-html-zip html-zip
20778 maybe-html-zip: html-zip
20782 @[ -f ./zip/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20789 echo "Doing html in zip" ; \
20790 (cd $(HOST_SUBDIR)/zip && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20800 .PHONY: maybe-TAGS-zip TAGS-zip
20803 maybe-TAGS-zip: TAGS-zip
20807 @[ -f ./zip/Makefile ] || exit 0; \
20808 r=`${PWD_COMMAND}`; export r; \
20809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20811 for flag in $(EXTRA_HOST_FLAGS) ; do \
20812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20814 echo "Doing TAGS in zip" ; \
20815 (cd $(HOST_SUBDIR)/zip && \
20816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20818 "RANLIB=$${RANLIB}" \
20819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20825 .PHONY: maybe-install-info-zip install-info-zip
20826 maybe-install-info-zip:
20828 maybe-install-info-zip: install-info-zip
20830 install-info-zip: \
20833 @[ -f ./zip/Makefile ] || exit 0; \
20834 r=`${PWD_COMMAND}`; export r; \
20835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20837 for flag in $(EXTRA_HOST_FLAGS) ; do \
20838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20840 echo "Doing install-info in zip" ; \
20841 (cd $(HOST_SUBDIR)/zip && \
20842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20844 "RANLIB=$${RANLIB}" \
20845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20851 .PHONY: maybe-installcheck-zip installcheck-zip
20852 maybe-installcheck-zip:
20854 maybe-installcheck-zip: installcheck-zip
20856 installcheck-zip: \
20858 @[ -f ./zip/Makefile ] || exit 0; \
20859 r=`${PWD_COMMAND}`; export r; \
20860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 for flag in $(EXTRA_HOST_FLAGS) ; do \
20863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20865 echo "Doing installcheck in zip" ; \
20866 (cd $(HOST_SUBDIR)/zip && \
20867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20869 "RANLIB=$${RANLIB}" \
20870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20876 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20877 maybe-mostlyclean-zip:
20879 maybe-mostlyclean-zip: mostlyclean-zip
20882 @[ -f ./zip/Makefile ] || exit 0; \
20883 r=`${PWD_COMMAND}`; export r; \
20884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 for flag in $(EXTRA_HOST_FLAGS) ; do \
20887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20889 echo "Doing mostlyclean in zip" ; \
20890 (cd $(HOST_SUBDIR)/zip && \
20891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20893 "RANLIB=$${RANLIB}" \
20894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20900 .PHONY: maybe-clean-zip clean-zip
20903 maybe-clean-zip: clean-zip
20906 @[ -f ./zip/Makefile ] || exit 0; \
20907 r=`${PWD_COMMAND}`; export r; \
20908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 for flag in $(EXTRA_HOST_FLAGS) ; do \
20911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20913 echo "Doing clean in zip" ; \
20914 (cd $(HOST_SUBDIR)/zip && \
20915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20917 "RANLIB=$${RANLIB}" \
20918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20924 .PHONY: maybe-distclean-zip distclean-zip
20925 maybe-distclean-zip:
20927 maybe-distclean-zip: distclean-zip
20930 @[ -f ./zip/Makefile ] || exit 0; \
20931 r=`${PWD_COMMAND}`; export r; \
20932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 for flag in $(EXTRA_HOST_FLAGS) ; do \
20935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20937 echo "Doing distclean in zip" ; \
20938 (cd $(HOST_SUBDIR)/zip && \
20939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20941 "RANLIB=$${RANLIB}" \
20942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20948 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20949 maybe-maintainer-clean-zip:
20951 maybe-maintainer-clean-zip: maintainer-clean-zip
20953 maintainer-clean-zip:
20954 @[ -f ./zip/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 echo "Doing maintainer-clean in zip" ; \
20962 (cd $(HOST_SUBDIR)/zip && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20967 maintainer-clean) \
20973 .PHONY: configure-zlib maybe-configure-zlib
20974 maybe-configure-zlib:
20976 maybe-configure-zlib: configure-zlib
20978 @test -f stage_last && exit 0; \
20979 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
20980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
20981 r=`${PWD_COMMAND}`; export r; \
20982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 echo Configuring in zlib; \
20985 cd $(HOST_SUBDIR)/zlib || exit 1; \
20986 case $(srcdir) in \
20987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20988 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
20989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20991 srcdiroption="--srcdir=$${topdir}/zlib"; \
20992 libsrcdir="$$s/zlib"; \
20993 $(SHELL) $${libsrcdir}/configure \
20994 $(HOST_CONFIGARGS) $${srcdiroption} \
20998 .PHONY: all-zlib maybe-all-zlib
21002 maybe-all-zlib: all-zlib
21003 all-zlib: configure-zlib
21004 @test -f stage_last && exit 0; \
21005 r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21008 (cd $(HOST_SUBDIR)/zlib && \
21009 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
21012 .PHONY: check-zlib maybe-check-zlib
21015 maybe-check-zlib: check-zlib
21021 .PHONY: install-zlib maybe-install-zlib
21022 maybe-install-zlib:
21024 maybe-install-zlib: install-zlib
21030 # Other targets (info, dvi, etc.)
21032 .PHONY: maybe-info-zlib info-zlib
21035 maybe-info-zlib: info-zlib
21039 @[ -f ./zlib/Makefile ] || exit 0; \
21040 r=`${PWD_COMMAND}`; export r; \
21041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21043 for flag in $(EXTRA_HOST_FLAGS) ; do \
21044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21046 echo "Doing info in zlib" ; \
21047 (cd $(HOST_SUBDIR)/zlib && \
21048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21050 "RANLIB=$${RANLIB}" \
21051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21057 .PHONY: maybe-dvi-zlib dvi-zlib
21060 maybe-dvi-zlib: dvi-zlib
21064 @[ -f ./zlib/Makefile ] || exit 0; \
21065 r=`${PWD_COMMAND}`; export r; \
21066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21068 for flag in $(EXTRA_HOST_FLAGS) ; do \
21069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21071 echo "Doing dvi in zlib" ; \
21072 (cd $(HOST_SUBDIR)/zlib && \
21073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21075 "RANLIB=$${RANLIB}" \
21076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21082 .PHONY: maybe-html-zlib html-zlib
21085 maybe-html-zlib: html-zlib
21089 @[ -f ./zlib/Makefile ] || exit 0; \
21090 r=`${PWD_COMMAND}`; export r; \
21091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21093 for flag in $(EXTRA_HOST_FLAGS) ; do \
21094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21096 echo "Doing html in zlib" ; \
21097 (cd $(HOST_SUBDIR)/zlib && \
21098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21100 "RANLIB=$${RANLIB}" \
21101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21107 .PHONY: maybe-TAGS-zlib TAGS-zlib
21110 maybe-TAGS-zlib: TAGS-zlib
21114 @[ -f ./zlib/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21118 for flag in $(EXTRA_HOST_FLAGS) ; do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21121 echo "Doing TAGS in zlib" ; \
21122 (cd $(HOST_SUBDIR)/zlib && \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 .PHONY: maybe-install-info-zlib install-info-zlib
21133 maybe-install-info-zlib:
21135 maybe-install-info-zlib: install-info-zlib
21137 install-info-zlib: \
21140 @[ -f ./zlib/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 for flag in $(EXTRA_HOST_FLAGS) ; do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21147 echo "Doing install-info in zlib" ; \
21148 (cd $(HOST_SUBDIR)/zlib && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21158 .PHONY: maybe-installcheck-zlib installcheck-zlib
21159 maybe-installcheck-zlib:
21161 maybe-installcheck-zlib: installcheck-zlib
21163 installcheck-zlib: \
21165 @[ -f ./zlib/Makefile ] || exit 0; \
21166 r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 for flag in $(EXTRA_HOST_FLAGS) ; do \
21170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21172 echo "Doing installcheck in zlib" ; \
21173 (cd $(HOST_SUBDIR)/zlib && \
21174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21176 "RANLIB=$${RANLIB}" \
21177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21183 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
21184 maybe-mostlyclean-zlib:
21186 maybe-mostlyclean-zlib: mostlyclean-zlib
21189 @[ -f ./zlib/Makefile ] || exit 0; \
21190 r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 for flag in $(EXTRA_HOST_FLAGS) ; do \
21194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21196 echo "Doing mostlyclean in zlib" ; \
21197 (cd $(HOST_SUBDIR)/zlib && \
21198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21200 "RANLIB=$${RANLIB}" \
21201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21207 .PHONY: maybe-clean-zlib clean-zlib
21210 maybe-clean-zlib: clean-zlib
21213 @[ -f ./zlib/Makefile ] || exit 0; \
21214 r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 for flag in $(EXTRA_HOST_FLAGS) ; do \
21218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21220 echo "Doing clean in zlib" ; \
21221 (cd $(HOST_SUBDIR)/zlib && \
21222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21224 "RANLIB=$${RANLIB}" \
21225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21231 .PHONY: maybe-distclean-zlib distclean-zlib
21232 maybe-distclean-zlib:
21234 maybe-distclean-zlib: distclean-zlib
21237 @[ -f ./zlib/Makefile ] || exit 0; \
21238 r=`${PWD_COMMAND}`; export r; \
21239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21241 for flag in $(EXTRA_HOST_FLAGS) ; do \
21242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21244 echo "Doing distclean in zlib" ; \
21245 (cd $(HOST_SUBDIR)/zlib && \
21246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21248 "RANLIB=$${RANLIB}" \
21249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21255 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
21256 maybe-maintainer-clean-zlib:
21258 maybe-maintainer-clean-zlib: maintainer-clean-zlib
21260 maintainer-clean-zlib:
21261 @[ -f ./zlib/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 maintainer-clean in zlib" ; \
21269 (cd $(HOST_SUBDIR)/zlib && \
21270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21272 "RANLIB=$${RANLIB}" \
21273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21274 maintainer-clean) \
21280 .PHONY: configure-gdb maybe-configure-gdb
21281 maybe-configure-gdb:
21283 maybe-configure-gdb: configure-gdb
21285 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
21286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
21287 r=`${PWD_COMMAND}`; export r; \
21288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21290 echo Configuring in gdb; \
21291 cd $(HOST_SUBDIR)/gdb || exit 1; \
21292 case $(srcdir) in \
21293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21294 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
21295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21297 srcdiroption="--srcdir=$${topdir}/gdb"; \
21298 libsrcdir="$$s/gdb"; \
21299 $(SHELL) $${libsrcdir}/configure \
21300 $(HOST_CONFIGARGS) $${srcdiroption} \
21304 .PHONY: all-gdb maybe-all-gdb
21308 maybe-all-gdb: all-gdb
21309 all-gdb: configure-gdb
21310 @r=`${PWD_COMMAND}`; export r; \
21311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21313 (cd $(HOST_SUBDIR)/gdb && \
21314 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
21317 .PHONY: check-gdb maybe-check-gdb
21320 maybe-check-gdb: check-gdb
21323 @r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 (cd $(HOST_SUBDIR)/gdb && \
21327 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21331 .PHONY: install-gdb maybe-install-gdb
21334 maybe-install-gdb: install-gdb
21336 install-gdb: installdirs
21337 @r=`${PWD_COMMAND}`; export r; \
21338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 (cd $(HOST_SUBDIR)/gdb && \
21341 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21345 # Other targets (info, dvi, etc.)
21347 .PHONY: maybe-info-gdb info-gdb
21350 maybe-info-gdb: info-gdb
21354 @[ -f ./gdb/Makefile ] || exit 0; \
21355 r=`${PWD_COMMAND}`; export r; \
21356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21358 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21361 echo "Doing info in gdb" ; \
21362 (cd $(HOST_SUBDIR)/gdb && \
21363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21365 "RANLIB=$${RANLIB}" \
21366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21372 .PHONY: maybe-dvi-gdb dvi-gdb
21375 maybe-dvi-gdb: dvi-gdb
21379 @[ -f ./gdb/Makefile ] || exit 0; \
21380 r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21383 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21386 echo "Doing dvi in gdb" ; \
21387 (cd $(HOST_SUBDIR)/gdb && \
21388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21390 "RANLIB=$${RANLIB}" \
21391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21397 .PHONY: maybe-html-gdb html-gdb
21400 maybe-html-gdb: html-gdb
21404 @[ -f ./gdb/Makefile ] || exit 0; \
21405 r=`${PWD_COMMAND}`; export r; \
21406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21411 echo "Doing html in gdb" ; \
21412 (cd $(HOST_SUBDIR)/gdb && \
21413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21415 "RANLIB=$${RANLIB}" \
21416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21422 .PHONY: maybe-TAGS-gdb TAGS-gdb
21425 maybe-TAGS-gdb: TAGS-gdb
21429 @[ -f ./gdb/Makefile ] || exit 0; \
21430 r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21436 echo "Doing TAGS in gdb" ; \
21437 (cd $(HOST_SUBDIR)/gdb && \
21438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21440 "RANLIB=$${RANLIB}" \
21441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21447 .PHONY: maybe-install-info-gdb install-info-gdb
21448 maybe-install-info-gdb:
21450 maybe-install-info-gdb: install-info-gdb
21452 install-info-gdb: \
21455 @[ -f ./gdb/Makefile ] || exit 0; \
21456 r=`${PWD_COMMAND}`; export r; \
21457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21459 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21462 echo "Doing install-info in gdb" ; \
21463 (cd $(HOST_SUBDIR)/gdb && \
21464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21466 "RANLIB=$${RANLIB}" \
21467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21473 .PHONY: maybe-installcheck-gdb installcheck-gdb
21474 maybe-installcheck-gdb:
21476 maybe-installcheck-gdb: installcheck-gdb
21478 installcheck-gdb: \
21480 @[ -f ./gdb/Makefile ] || exit 0; \
21481 r=`${PWD_COMMAND}`; export r; \
21482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21487 echo "Doing installcheck in gdb" ; \
21488 (cd $(HOST_SUBDIR)/gdb && \
21489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491 "RANLIB=$${RANLIB}" \
21492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21498 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
21499 maybe-mostlyclean-gdb:
21501 maybe-mostlyclean-gdb: mostlyclean-gdb
21504 @[ -f ./gdb/Makefile ] || exit 0; \
21505 r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21508 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21511 echo "Doing mostlyclean in gdb" ; \
21512 (cd $(HOST_SUBDIR)/gdb && \
21513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21515 "RANLIB=$${RANLIB}" \
21516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21522 .PHONY: maybe-clean-gdb clean-gdb
21525 maybe-clean-gdb: clean-gdb
21528 @[ -f ./gdb/Makefile ] || exit 0; \
21529 r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21535 echo "Doing clean in gdb" ; \
21536 (cd $(HOST_SUBDIR)/gdb && \
21537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21539 "RANLIB=$${RANLIB}" \
21540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21546 .PHONY: maybe-distclean-gdb distclean-gdb
21547 maybe-distclean-gdb:
21549 maybe-distclean-gdb: distclean-gdb
21552 @[ -f ./gdb/Makefile ] || exit 0; \
21553 r=`${PWD_COMMAND}`; export r; \
21554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21556 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21559 echo "Doing distclean in gdb" ; \
21560 (cd $(HOST_SUBDIR)/gdb && \
21561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21563 "RANLIB=$${RANLIB}" \
21564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21570 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
21571 maybe-maintainer-clean-gdb:
21573 maybe-maintainer-clean-gdb: maintainer-clean-gdb
21575 maintainer-clean-gdb:
21576 @[ -f ./gdb/Makefile ] || exit 0; \
21577 r=`${PWD_COMMAND}`; export r; \
21578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 echo "Doing maintainer-clean in gdb" ; \
21584 (cd $(HOST_SUBDIR)/gdb && \
21585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21587 "RANLIB=$${RANLIB}" \
21588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21589 maintainer-clean) \
21595 .PHONY: configure-expect maybe-configure-expect
21596 maybe-configure-expect:
21598 maybe-configure-expect: configure-expect
21600 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
21601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
21602 r=`${PWD_COMMAND}`; export r; \
21603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 echo Configuring in expect; \
21606 cd $(HOST_SUBDIR)/expect || exit 1; \
21607 case $(srcdir) in \
21608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21609 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
21610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21612 srcdiroption="--srcdir=$${topdir}/expect"; \
21613 libsrcdir="$$s/expect"; \
21614 $(SHELL) $${libsrcdir}/configure \
21615 $(HOST_CONFIGARGS) $${srcdiroption} \
21619 .PHONY: all-expect maybe-all-expect
21623 maybe-all-expect: all-expect
21624 all-expect: configure-expect
21625 @r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 (cd $(HOST_SUBDIR)/expect && \
21629 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
21632 .PHONY: check-expect maybe-check-expect
21633 maybe-check-expect:
21635 maybe-check-expect: check-expect
21638 @r=`${PWD_COMMAND}`; export r; \
21639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21641 (cd $(HOST_SUBDIR)/expect && \
21642 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21646 .PHONY: install-expect maybe-install-expect
21647 maybe-install-expect:
21649 maybe-install-expect: install-expect
21651 install-expect: installdirs
21652 @r=`${PWD_COMMAND}`; export r; \
21653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 (cd $(HOST_SUBDIR)/expect && \
21656 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21660 # Other targets (info, dvi, etc.)
21662 .PHONY: maybe-info-expect info-expect
21665 maybe-info-expect: info-expect
21669 @[ -f ./expect/Makefile ] || exit 0; \
21670 r=`${PWD_COMMAND}`; export r; \
21671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21673 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21676 echo "Doing info in expect" ; \
21677 (cd $(HOST_SUBDIR)/expect && \
21678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21680 "RANLIB=$${RANLIB}" \
21681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21687 .PHONY: maybe-dvi-expect dvi-expect
21690 maybe-dvi-expect: dvi-expect
21694 @[ -f ./expect/Makefile ] || exit 0; \
21695 r=`${PWD_COMMAND}`; export r; \
21696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21701 echo "Doing dvi in expect" ; \
21702 (cd $(HOST_SUBDIR)/expect && \
21703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705 "RANLIB=$${RANLIB}" \
21706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21712 .PHONY: maybe-html-expect html-expect
21715 maybe-html-expect: html-expect
21719 @[ -f ./expect/Makefile ] || exit 0; \
21720 r=`${PWD_COMMAND}`; export r; \
21721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21723 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21726 echo "Doing html in expect" ; \
21727 (cd $(HOST_SUBDIR)/expect && \
21728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21730 "RANLIB=$${RANLIB}" \
21731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21737 .PHONY: maybe-TAGS-expect TAGS-expect
21740 maybe-TAGS-expect: TAGS-expect
21744 @[ -f ./expect/Makefile ] || exit 0; \
21745 r=`${PWD_COMMAND}`; export r; \
21746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21748 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21751 echo "Doing TAGS in expect" ; \
21752 (cd $(HOST_SUBDIR)/expect && \
21753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21755 "RANLIB=$${RANLIB}" \
21756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21762 .PHONY: maybe-install-info-expect install-info-expect
21763 maybe-install-info-expect:
21765 maybe-install-info-expect: install-info-expect
21767 install-info-expect: \
21770 @[ -f ./expect/Makefile ] || exit 0; \
21771 r=`${PWD_COMMAND}`; export r; \
21772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21774 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21777 echo "Doing install-info in expect" ; \
21778 (cd $(HOST_SUBDIR)/expect && \
21779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21781 "RANLIB=$${RANLIB}" \
21782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21788 .PHONY: maybe-installcheck-expect installcheck-expect
21789 maybe-installcheck-expect:
21791 maybe-installcheck-expect: installcheck-expect
21793 installcheck-expect: \
21795 @[ -f ./expect/Makefile ] || exit 0; \
21796 r=`${PWD_COMMAND}`; export r; \
21797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21802 echo "Doing installcheck in expect" ; \
21803 (cd $(HOST_SUBDIR)/expect && \
21804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21806 "RANLIB=$${RANLIB}" \
21807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21813 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21814 maybe-mostlyclean-expect:
21816 maybe-mostlyclean-expect: mostlyclean-expect
21818 mostlyclean-expect:
21819 @[ -f ./expect/Makefile ] || exit 0; \
21820 r=`${PWD_COMMAND}`; export r; \
21821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21826 echo "Doing mostlyclean in expect" ; \
21827 (cd $(HOST_SUBDIR)/expect && \
21828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21830 "RANLIB=$${RANLIB}" \
21831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21837 .PHONY: maybe-clean-expect clean-expect
21838 maybe-clean-expect:
21840 maybe-clean-expect: clean-expect
21843 @[ -f ./expect/Makefile ] || exit 0; \
21844 r=`${PWD_COMMAND}`; export r; \
21845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21847 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21850 echo "Doing clean in expect" ; \
21851 (cd $(HOST_SUBDIR)/expect && \
21852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21854 "RANLIB=$${RANLIB}" \
21855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21861 .PHONY: maybe-distclean-expect distclean-expect
21862 maybe-distclean-expect:
21864 maybe-distclean-expect: distclean-expect
21867 @[ -f ./expect/Makefile ] || exit 0; \
21868 r=`${PWD_COMMAND}`; export r; \
21869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21871 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21874 echo "Doing distclean in expect" ; \
21875 (cd $(HOST_SUBDIR)/expect && \
21876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878 "RANLIB=$${RANLIB}" \
21879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21885 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21886 maybe-maintainer-clean-expect:
21888 maybe-maintainer-clean-expect: maintainer-clean-expect
21890 maintainer-clean-expect:
21891 @[ -f ./expect/Makefile ] || exit 0; \
21892 r=`${PWD_COMMAND}`; export r; \
21893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21895 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21898 echo "Doing maintainer-clean in expect" ; \
21899 (cd $(HOST_SUBDIR)/expect && \
21900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21902 "RANLIB=$${RANLIB}" \
21903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21904 maintainer-clean) \
21910 .PHONY: configure-guile maybe-configure-guile
21911 maybe-configure-guile:
21913 maybe-configure-guile: configure-guile
21915 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
21916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
21917 r=`${PWD_COMMAND}`; export r; \
21918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21920 echo Configuring in guile; \
21921 cd $(HOST_SUBDIR)/guile || exit 1; \
21922 case $(srcdir) in \
21923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21924 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
21925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21927 srcdiroption="--srcdir=$${topdir}/guile"; \
21928 libsrcdir="$$s/guile"; \
21929 $(SHELL) $${libsrcdir}/configure \
21930 $(HOST_CONFIGARGS) $${srcdiroption} \
21934 .PHONY: all-guile maybe-all-guile
21938 maybe-all-guile: all-guile
21939 all-guile: configure-guile
21940 @r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21943 (cd $(HOST_SUBDIR)/guile && \
21944 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
21947 .PHONY: check-guile maybe-check-guile
21950 maybe-check-guile: check-guile
21953 @r=`${PWD_COMMAND}`; export r; \
21954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 (cd $(HOST_SUBDIR)/guile && \
21957 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21961 .PHONY: install-guile maybe-install-guile
21962 maybe-install-guile:
21964 maybe-install-guile: install-guile
21966 install-guile: installdirs
21967 @r=`${PWD_COMMAND}`; export r; \
21968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 (cd $(HOST_SUBDIR)/guile && \
21971 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21975 # Other targets (info, dvi, etc.)
21977 .PHONY: maybe-info-guile info-guile
21980 maybe-info-guile: info-guile
21984 @[ -f ./guile/Makefile ] || exit 0; \
21985 r=`${PWD_COMMAND}`; export r; \
21986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21988 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21991 echo "Doing info in guile" ; \
21992 (cd $(HOST_SUBDIR)/guile && \
21993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21995 "RANLIB=$${RANLIB}" \
21996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22002 .PHONY: maybe-dvi-guile dvi-guile
22005 maybe-dvi-guile: dvi-guile
22009 @[ -f ./guile/Makefile ] || exit 0; \
22010 r=`${PWD_COMMAND}`; export r; \
22011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22013 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22016 echo "Doing dvi in guile" ; \
22017 (cd $(HOST_SUBDIR)/guile && \
22018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22020 "RANLIB=$${RANLIB}" \
22021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22027 .PHONY: maybe-html-guile html-guile
22030 maybe-html-guile: html-guile
22034 @[ -f ./guile/Makefile ] || exit 0; \
22035 r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22041 echo "Doing html in guile" ; \
22042 (cd $(HOST_SUBDIR)/guile && \
22043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22045 "RANLIB=$${RANLIB}" \
22046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22052 .PHONY: maybe-TAGS-guile TAGS-guile
22055 maybe-TAGS-guile: TAGS-guile
22059 @[ -f ./guile/Makefile ] || exit 0; \
22060 r=`${PWD_COMMAND}`; export r; \
22061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066 echo "Doing TAGS in guile" ; \
22067 (cd $(HOST_SUBDIR)/guile && \
22068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22070 "RANLIB=$${RANLIB}" \
22071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22077 .PHONY: maybe-install-info-guile install-info-guile
22078 maybe-install-info-guile:
22080 maybe-install-info-guile: install-info-guile
22082 install-info-guile: \
22085 @[ -f ./guile/Makefile ] || exit 0; \
22086 r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22089 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22092 echo "Doing install-info in guile" ; \
22093 (cd $(HOST_SUBDIR)/guile && \
22094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22096 "RANLIB=$${RANLIB}" \
22097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22103 .PHONY: maybe-installcheck-guile installcheck-guile
22104 maybe-installcheck-guile:
22106 maybe-installcheck-guile: installcheck-guile
22108 installcheck-guile: \
22110 @[ -f ./guile/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22114 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22117 echo "Doing installcheck in guile" ; \
22118 (cd $(HOST_SUBDIR)/guile && \
22119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121 "RANLIB=$${RANLIB}" \
22122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22128 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
22129 maybe-mostlyclean-guile:
22131 maybe-mostlyclean-guile: mostlyclean-guile
22134 @[ -f ./guile/Makefile ] || exit 0; \
22135 r=`${PWD_COMMAND}`; export r; \
22136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22138 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22141 echo "Doing mostlyclean in guile" ; \
22142 (cd $(HOST_SUBDIR)/guile && \
22143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22145 "RANLIB=$${RANLIB}" \
22146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22152 .PHONY: maybe-clean-guile clean-guile
22155 maybe-clean-guile: clean-guile
22158 @[ -f ./guile/Makefile ] || exit 0; \
22159 r=`${PWD_COMMAND}`; export r; \
22160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22162 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22165 echo "Doing clean in guile" ; \
22166 (cd $(HOST_SUBDIR)/guile && \
22167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22169 "RANLIB=$${RANLIB}" \
22170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22176 .PHONY: maybe-distclean-guile distclean-guile
22177 maybe-distclean-guile:
22179 maybe-distclean-guile: distclean-guile
22182 @[ -f ./guile/Makefile ] || exit 0; \
22183 r=`${PWD_COMMAND}`; export r; \
22184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22186 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22189 echo "Doing distclean in guile" ; \
22190 (cd $(HOST_SUBDIR)/guile && \
22191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22193 "RANLIB=$${RANLIB}" \
22194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22200 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
22201 maybe-maintainer-clean-guile:
22203 maybe-maintainer-clean-guile: maintainer-clean-guile
22205 maintainer-clean-guile:
22206 @[ -f ./guile/Makefile ] || exit 0; \
22207 r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22210 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22213 echo "Doing maintainer-clean in guile" ; \
22214 (cd $(HOST_SUBDIR)/guile && \
22215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22217 "RANLIB=$${RANLIB}" \
22218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22219 maintainer-clean) \
22225 .PHONY: configure-tk maybe-configure-tk
22226 maybe-configure-tk:
22228 maybe-configure-tk: configure-tk
22230 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
22231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
22232 r=`${PWD_COMMAND}`; export r; \
22233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 echo Configuring in tk; \
22236 cd $(HOST_SUBDIR)/tk || exit 1; \
22237 case $(srcdir) in \
22238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22239 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
22240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22242 srcdiroption="--srcdir=$${topdir}/tk"; \
22243 libsrcdir="$$s/tk"; \
22244 $(SHELL) $${libsrcdir}/configure \
22245 $(HOST_CONFIGARGS) $${srcdiroption} \
22249 .PHONY: all-tk maybe-all-tk
22253 maybe-all-tk: all-tk
22254 all-tk: configure-tk
22255 @r=`${PWD_COMMAND}`; export r; \
22256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22258 (cd $(HOST_SUBDIR)/tk && \
22259 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
22262 .PHONY: check-tk maybe-check-tk
22265 maybe-check-tk: check-tk
22268 @r=`${PWD_COMMAND}`; export r; \
22269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 (cd $(HOST_SUBDIR)/tk && \
22272 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22276 .PHONY: install-tk maybe-install-tk
22279 maybe-install-tk: install-tk
22281 install-tk: installdirs
22282 @r=`${PWD_COMMAND}`; export r; \
22283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285 (cd $(HOST_SUBDIR)/tk && \
22286 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22290 # Other targets (info, dvi, etc.)
22292 .PHONY: maybe-info-tk info-tk
22295 maybe-info-tk: info-tk
22299 @[ -f ./tk/Makefile ] || exit 0; \
22300 r=`${PWD_COMMAND}`; export r; \
22301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306 echo "Doing info in tk" ; \
22307 (cd $(HOST_SUBDIR)/tk && \
22308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22310 "RANLIB=$${RANLIB}" \
22311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22317 .PHONY: maybe-dvi-tk dvi-tk
22320 maybe-dvi-tk: dvi-tk
22324 @[ -f ./tk/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 echo "Doing dvi in tk" ; \
22332 (cd $(HOST_SUBDIR)/tk && \
22333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22335 "RANLIB=$${RANLIB}" \
22336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22342 .PHONY: maybe-html-tk html-tk
22345 maybe-html-tk: html-tk
22349 @[ -f ./tk/Makefile ] || exit 0; \
22350 r=`${PWD_COMMAND}`; export r; \
22351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22356 echo "Doing html in tk" ; \
22357 (cd $(HOST_SUBDIR)/tk && \
22358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22360 "RANLIB=$${RANLIB}" \
22361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22367 .PHONY: maybe-TAGS-tk TAGS-tk
22370 maybe-TAGS-tk: TAGS-tk
22374 @[ -f ./tk/Makefile ] || exit 0; \
22375 r=`${PWD_COMMAND}`; export r; \
22376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22378 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22381 echo "Doing TAGS in tk" ; \
22382 (cd $(HOST_SUBDIR)/tk && \
22383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22385 "RANLIB=$${RANLIB}" \
22386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22392 .PHONY: maybe-install-info-tk install-info-tk
22393 maybe-install-info-tk:
22395 maybe-install-info-tk: install-info-tk
22400 @[ -f ./tk/Makefile ] || exit 0; \
22401 r=`${PWD_COMMAND}`; export r; \
22402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22404 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22407 echo "Doing install-info in tk" ; \
22408 (cd $(HOST_SUBDIR)/tk && \
22409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22411 "RANLIB=$${RANLIB}" \
22412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22418 .PHONY: maybe-installcheck-tk installcheck-tk
22419 maybe-installcheck-tk:
22421 maybe-installcheck-tk: installcheck-tk
22425 @[ -f ./tk/Makefile ] || exit 0; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22429 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22432 echo "Doing installcheck in tk" ; \
22433 (cd $(HOST_SUBDIR)/tk && \
22434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436 "RANLIB=$${RANLIB}" \
22437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22443 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
22444 maybe-mostlyclean-tk:
22446 maybe-mostlyclean-tk: mostlyclean-tk
22449 @[ -f ./tk/Makefile ] || exit 0; \
22450 r=`${PWD_COMMAND}`; export r; \
22451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22456 echo "Doing mostlyclean in tk" ; \
22457 (cd $(HOST_SUBDIR)/tk && \
22458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22460 "RANLIB=$${RANLIB}" \
22461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22467 .PHONY: maybe-clean-tk clean-tk
22470 maybe-clean-tk: clean-tk
22473 @[ -f ./tk/Makefile ] || exit 0; \
22474 r=`${PWD_COMMAND}`; export r; \
22475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22477 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22480 echo "Doing clean in tk" ; \
22481 (cd $(HOST_SUBDIR)/tk && \
22482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22484 "RANLIB=$${RANLIB}" \
22485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22491 .PHONY: maybe-distclean-tk distclean-tk
22492 maybe-distclean-tk:
22494 maybe-distclean-tk: distclean-tk
22497 @[ -f ./tk/Makefile ] || exit 0; \
22498 r=`${PWD_COMMAND}`; export r; \
22499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22501 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22504 echo "Doing distclean in tk" ; \
22505 (cd $(HOST_SUBDIR)/tk && \
22506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22508 "RANLIB=$${RANLIB}" \
22509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22515 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
22516 maybe-maintainer-clean-tk:
22518 maybe-maintainer-clean-tk: maintainer-clean-tk
22520 maintainer-clean-tk:
22521 @[ -f ./tk/Makefile ] || exit 0; \
22522 r=`${PWD_COMMAND}`; export r; \
22523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22525 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22528 echo "Doing maintainer-clean in tk" ; \
22529 (cd $(HOST_SUBDIR)/tk && \
22530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22532 "RANLIB=$${RANLIB}" \
22533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22534 maintainer-clean) \
22540 .PHONY: configure-libtermcap maybe-configure-libtermcap
22541 maybe-configure-libtermcap:
22543 maybe-configure-libtermcap: configure-libtermcap
22544 configure-libtermcap:
22545 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
22546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
22547 r=`${PWD_COMMAND}`; export r; \
22548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22550 echo Configuring in libtermcap; \
22551 cd $(HOST_SUBDIR)/libtermcap || exit 1; \
22552 case $(srcdir) in \
22553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22554 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
22555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22557 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22558 libsrcdir="$$s/libtermcap"; \
22559 $(SHELL) $${libsrcdir}/configure \
22560 $(HOST_CONFIGARGS) $${srcdiroption} \
22564 .PHONY: all-libtermcap maybe-all-libtermcap
22565 maybe-all-libtermcap:
22567 TARGET-libtermcap=all
22568 maybe-all-libtermcap: all-libtermcap
22569 all-libtermcap: configure-libtermcap
22570 @r=`${PWD_COMMAND}`; export r; \
22571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22573 (cd $(HOST_SUBDIR)/libtermcap && \
22574 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
22577 .PHONY: check-libtermcap maybe-check-libtermcap
22578 maybe-check-libtermcap:
22580 maybe-check-libtermcap: check-libtermcap
22586 .PHONY: install-libtermcap maybe-install-libtermcap
22587 maybe-install-libtermcap:
22589 maybe-install-libtermcap: install-libtermcap
22591 install-libtermcap: installdirs
22592 @r=`${PWD_COMMAND}`; export r; \
22593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22595 (cd $(HOST_SUBDIR)/libtermcap && \
22596 $(MAKE) $(FLAGS_TO_PASS) install)
22600 # Other targets (info, dvi, etc.)
22602 .PHONY: maybe-info-libtermcap info-libtermcap
22603 maybe-info-libtermcap:
22605 maybe-info-libtermcap: info-libtermcap
22608 configure-libtermcap
22609 @[ -f ./libtermcap/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 info in libtermcap" ; \
22617 (cd $(HOST_SUBDIR)/libtermcap && \
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-dvi-libtermcap dvi-libtermcap
22628 maybe-dvi-libtermcap:
22630 maybe-dvi-libtermcap: dvi-libtermcap
22633 configure-libtermcap
22634 @[ -f ./libtermcap/Makefile ] || exit 0; \
22635 r=`${PWD_COMMAND}`; export r; \
22636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22638 for flag in $(EXTRA_HOST_FLAGS) ; do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22641 echo "Doing dvi in libtermcap" ; \
22642 (cd $(HOST_SUBDIR)/libtermcap && \
22643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22645 "RANLIB=$${RANLIB}" \
22646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22652 .PHONY: maybe-html-libtermcap html-libtermcap
22653 maybe-html-libtermcap:
22655 maybe-html-libtermcap: html-libtermcap
22658 configure-libtermcap
22659 @[ -f ./libtermcap/Makefile ] || exit 0; \
22660 r=`${PWD_COMMAND}`; export r; \
22661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663 for flag in $(EXTRA_HOST_FLAGS) ; do \
22664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22666 echo "Doing html in libtermcap" ; \
22667 (cd $(HOST_SUBDIR)/libtermcap && \
22668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22670 "RANLIB=$${RANLIB}" \
22671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22677 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22678 maybe-TAGS-libtermcap:
22680 maybe-TAGS-libtermcap: TAGS-libtermcap
22683 configure-libtermcap
22684 @[ -f ./libtermcap/Makefile ] || exit 0; \
22685 r=`${PWD_COMMAND}`; export r; \
22686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 for flag in $(EXTRA_HOST_FLAGS) ; do \
22689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22691 echo "Doing TAGS in libtermcap" ; \
22692 (cd $(HOST_SUBDIR)/libtermcap && \
22693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22695 "RANLIB=$${RANLIB}" \
22696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22702 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22703 maybe-install-info-libtermcap:
22705 maybe-install-info-libtermcap: install-info-libtermcap
22707 install-info-libtermcap: \
22708 configure-libtermcap \
22710 @[ -f ./libtermcap/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 install-info in libtermcap" ; \
22718 (cd $(HOST_SUBDIR)/libtermcap && \
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-installcheck-libtermcap installcheck-libtermcap
22729 maybe-installcheck-libtermcap:
22731 maybe-installcheck-libtermcap: installcheck-libtermcap
22733 installcheck-libtermcap: \
22734 configure-libtermcap
22735 @[ -f ./libtermcap/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 installcheck in libtermcap" ; \
22743 (cd $(HOST_SUBDIR)/libtermcap && \
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}" \
22753 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22754 maybe-mostlyclean-libtermcap:
22756 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22758 # libtermcap doesn't support mostlyclean.
22759 mostlyclean-libtermcap:
22763 .PHONY: maybe-clean-libtermcap clean-libtermcap
22764 maybe-clean-libtermcap:
22766 maybe-clean-libtermcap: clean-libtermcap
22768 # libtermcap doesn't support clean.
22773 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22774 maybe-distclean-libtermcap:
22776 maybe-distclean-libtermcap: distclean-libtermcap
22778 # libtermcap doesn't support distclean.
22779 distclean-libtermcap:
22783 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22784 maybe-maintainer-clean-libtermcap:
22786 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22788 # libtermcap doesn't support maintainer-clean.
22789 maintainer-clean-libtermcap:
22794 .PHONY: configure-utils maybe-configure-utils
22795 maybe-configure-utils:
22797 maybe-configure-utils: configure-utils
22799 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
22800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
22801 r=`${PWD_COMMAND}`; export r; \
22802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22804 echo Configuring in utils; \
22805 cd $(HOST_SUBDIR)/utils || exit 1; \
22806 case $(srcdir) in \
22807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22808 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
22809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22811 srcdiroption="--srcdir=$${topdir}/utils"; \
22812 libsrcdir="$$s/utils"; \
22813 $(SHELL) $${libsrcdir}/configure \
22814 $(HOST_CONFIGARGS) $${srcdiroption} \
22818 .PHONY: all-utils maybe-all-utils
22822 maybe-all-utils: all-utils
22823 all-utils: configure-utils
22824 @r=`${PWD_COMMAND}`; export r; \
22825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 (cd $(HOST_SUBDIR)/utils && \
22828 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
22831 .PHONY: check-utils maybe-check-utils
22834 maybe-check-utils: check-utils
22840 .PHONY: install-utils maybe-install-utils
22841 maybe-install-utils:
22843 maybe-install-utils: install-utils
22845 install-utils: installdirs
22846 @r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22849 (cd $(HOST_SUBDIR)/utils && \
22850 $(MAKE) $(FLAGS_TO_PASS) install)
22854 # Other targets (info, dvi, etc.)
22856 .PHONY: maybe-info-utils info-utils
22859 maybe-info-utils: info-utils
22863 @[ -f ./utils/Makefile ] || exit 0; \
22864 r=`${PWD_COMMAND}`; export r; \
22865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 for flag in $(EXTRA_HOST_FLAGS) ; do \
22868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22870 echo "Doing info in utils" ; \
22871 (cd $(HOST_SUBDIR)/utils && \
22872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22874 "RANLIB=$${RANLIB}" \
22875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22881 .PHONY: maybe-dvi-utils dvi-utils
22884 maybe-dvi-utils: dvi-utils
22888 @[ -f ./utils/Makefile ] || exit 0; \
22889 r=`${PWD_COMMAND}`; export r; \
22890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 for flag in $(EXTRA_HOST_FLAGS) ; do \
22893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22895 echo "Doing dvi in utils" ; \
22896 (cd $(HOST_SUBDIR)/utils && \
22897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22899 "RANLIB=$${RANLIB}" \
22900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22906 .PHONY: maybe-html-utils html-utils
22909 maybe-html-utils: html-utils
22913 @[ -f ./utils/Makefile ] || exit 0; \
22914 r=`${PWD_COMMAND}`; export r; \
22915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22917 for flag in $(EXTRA_HOST_FLAGS) ; do \
22918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22920 echo "Doing html in utils" ; \
22921 (cd $(HOST_SUBDIR)/utils && \
22922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22924 "RANLIB=$${RANLIB}" \
22925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22931 .PHONY: maybe-TAGS-utils TAGS-utils
22934 maybe-TAGS-utils: TAGS-utils
22938 @[ -f ./utils/Makefile ] || exit 0; \
22939 r=`${PWD_COMMAND}`; export r; \
22940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 for flag in $(EXTRA_HOST_FLAGS) ; do \
22943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945 echo "Doing TAGS in utils" ; \
22946 (cd $(HOST_SUBDIR)/utils && \
22947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22949 "RANLIB=$${RANLIB}" \
22950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22956 .PHONY: maybe-install-info-utils install-info-utils
22957 maybe-install-info-utils:
22959 maybe-install-info-utils: install-info-utils
22961 install-info-utils: \
22964 @[ -f ./utils/Makefile ] || exit 0; \
22965 r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 for flag in $(EXTRA_HOST_FLAGS) ; do \
22969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22971 echo "Doing install-info in utils" ; \
22972 (cd $(HOST_SUBDIR)/utils && \
22973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22975 "RANLIB=$${RANLIB}" \
22976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22982 .PHONY: maybe-installcheck-utils installcheck-utils
22983 maybe-installcheck-utils:
22985 maybe-installcheck-utils: installcheck-utils
22987 installcheck-utils: \
22989 @[ -f ./utils/Makefile ] || exit 0; \
22990 r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22993 for flag in $(EXTRA_HOST_FLAGS) ; do \
22994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22996 echo "Doing installcheck in utils" ; \
22997 (cd $(HOST_SUBDIR)/utils && \
22998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23000 "RANLIB=$${RANLIB}" \
23001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23007 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
23008 maybe-mostlyclean-utils:
23010 maybe-mostlyclean-utils: mostlyclean-utils
23013 @[ -f ./utils/Makefile ] || exit 0; \
23014 r=`${PWD_COMMAND}`; export r; \
23015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23017 for flag in $(EXTRA_HOST_FLAGS) ; do \
23018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23020 echo "Doing mostlyclean in utils" ; \
23021 (cd $(HOST_SUBDIR)/utils && \
23022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23024 "RANLIB=$${RANLIB}" \
23025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23031 .PHONY: maybe-clean-utils clean-utils
23034 maybe-clean-utils: clean-utils
23037 @[ -f ./utils/Makefile ] || exit 0; \
23038 r=`${PWD_COMMAND}`; export r; \
23039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 for flag in $(EXTRA_HOST_FLAGS) ; do \
23042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23044 echo "Doing clean in utils" ; \
23045 (cd $(HOST_SUBDIR)/utils && \
23046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23048 "RANLIB=$${RANLIB}" \
23049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23055 .PHONY: maybe-distclean-utils distclean-utils
23056 maybe-distclean-utils:
23058 maybe-distclean-utils: distclean-utils
23061 @[ -f ./utils/Makefile ] || exit 0; \
23062 r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 for flag in $(EXTRA_HOST_FLAGS) ; do \
23066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23068 echo "Doing distclean in utils" ; \
23069 (cd $(HOST_SUBDIR)/utils && \
23070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072 "RANLIB=$${RANLIB}" \
23073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23079 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
23080 maybe-maintainer-clean-utils:
23082 maybe-maintainer-clean-utils: maintainer-clean-utils
23084 maintainer-clean-utils:
23085 @[ -f ./utils/Makefile ] || exit 0; \
23086 r=`${PWD_COMMAND}`; export r; \
23087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 for flag in $(EXTRA_HOST_FLAGS) ; do \
23090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23092 echo "Doing maintainer-clean in utils" ; \
23093 (cd $(HOST_SUBDIR)/utils && \
23094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23096 "RANLIB=$${RANLIB}" \
23097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23098 maintainer-clean) \
23104 .PHONY: configure-gnattools maybe-configure-gnattools
23105 maybe-configure-gnattools:
23107 maybe-configure-gnattools: configure-gnattools
23108 configure-gnattools:
23109 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
23110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
23111 r=`${PWD_COMMAND}`; export r; \
23112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23114 echo Configuring in gnattools; \
23115 cd $(HOST_SUBDIR)/gnattools || exit 1; \
23116 case $(srcdir) in \
23117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23118 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
23119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23121 srcdiroption="--srcdir=$${topdir}/gnattools"; \
23122 libsrcdir="$$s/gnattools"; \
23123 $(SHELL) $${libsrcdir}/configure \
23124 $(HOST_CONFIGARGS) $${srcdiroption} \
23128 .PHONY: all-gnattools maybe-all-gnattools
23129 maybe-all-gnattools:
23131 TARGET-gnattools=all
23132 maybe-all-gnattools: all-gnattools
23133 all-gnattools: configure-gnattools
23134 @r=`${PWD_COMMAND}`; export r; \
23135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137 (cd $(HOST_SUBDIR)/gnattools && \
23138 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
23141 .PHONY: check-gnattools maybe-check-gnattools
23142 maybe-check-gnattools:
23144 maybe-check-gnattools: check-gnattools
23147 @r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23150 (cd $(HOST_SUBDIR)/gnattools && \
23151 $(MAKE) $(FLAGS_TO_PASS) check)
23155 .PHONY: install-gnattools maybe-install-gnattools
23156 maybe-install-gnattools:
23158 maybe-install-gnattools: install-gnattools
23160 install-gnattools: installdirs
23161 @r=`${PWD_COMMAND}`; export r; \
23162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23164 (cd $(HOST_SUBDIR)/gnattools && \
23165 $(MAKE) $(FLAGS_TO_PASS) install)
23169 # Other targets (info, dvi, etc.)
23171 .PHONY: maybe-info-gnattools info-gnattools
23172 maybe-info-gnattools:
23174 maybe-info-gnattools: info-gnattools
23177 configure-gnattools
23178 @[ -f ./gnattools/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 gnattools" ; \
23186 (cd $(HOST_SUBDIR)/gnattools && \
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-gnattools dvi-gnattools
23197 maybe-dvi-gnattools:
23199 maybe-dvi-gnattools: dvi-gnattools
23202 configure-gnattools
23203 @[ -f ./gnattools/Makefile ] || exit 0; \
23204 r=`${PWD_COMMAND}`; export r; \
23205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23207 for flag in $(EXTRA_HOST_FLAGS) ; do \
23208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23210 echo "Doing dvi in gnattools" ; \
23211 (cd $(HOST_SUBDIR)/gnattools && \
23212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23214 "RANLIB=$${RANLIB}" \
23215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23221 .PHONY: maybe-html-gnattools html-gnattools
23222 maybe-html-gnattools:
23224 maybe-html-gnattools: html-gnattools
23227 configure-gnattools
23228 @[ -f ./gnattools/Makefile ] || exit 0; \
23229 r=`${PWD_COMMAND}`; export r; \
23230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23232 for flag in $(EXTRA_HOST_FLAGS) ; do \
23233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23235 echo "Doing html in gnattools" ; \
23236 (cd $(HOST_SUBDIR)/gnattools && \
23237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23239 "RANLIB=$${RANLIB}" \
23240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23246 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
23247 maybe-TAGS-gnattools:
23249 maybe-TAGS-gnattools: TAGS-gnattools
23252 configure-gnattools
23253 @[ -f ./gnattools/Makefile ] || exit 0; \
23254 r=`${PWD_COMMAND}`; export r; \
23255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23257 for flag in $(EXTRA_HOST_FLAGS) ; do \
23258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23260 echo "Doing TAGS in gnattools" ; \
23261 (cd $(HOST_SUBDIR)/gnattools && \
23262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23264 "RANLIB=$${RANLIB}" \
23265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23271 .PHONY: maybe-install-info-gnattools install-info-gnattools
23272 maybe-install-info-gnattools:
23274 maybe-install-info-gnattools: install-info-gnattools
23276 install-info-gnattools: \
23277 configure-gnattools \
23279 @[ -f ./gnattools/Makefile ] || exit 0; \
23280 r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283 for flag in $(EXTRA_HOST_FLAGS) ; do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23286 echo "Doing install-info in gnattools" ; \
23287 (cd $(HOST_SUBDIR)/gnattools && \
23288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290 "RANLIB=$${RANLIB}" \
23291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23297 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
23298 maybe-installcheck-gnattools:
23300 maybe-installcheck-gnattools: installcheck-gnattools
23302 installcheck-gnattools: \
23303 configure-gnattools
23304 @[ -f ./gnattools/Makefile ] || exit 0; \
23305 r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 for flag in $(EXTRA_HOST_FLAGS) ; do \
23309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23311 echo "Doing installcheck in gnattools" ; \
23312 (cd $(HOST_SUBDIR)/gnattools && \
23313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23315 "RANLIB=$${RANLIB}" \
23316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23322 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
23323 maybe-mostlyclean-gnattools:
23325 maybe-mostlyclean-gnattools: mostlyclean-gnattools
23327 mostlyclean-gnattools:
23328 @[ -f ./gnattools/Makefile ] || exit 0; \
23329 r=`${PWD_COMMAND}`; export r; \
23330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23332 for flag in $(EXTRA_HOST_FLAGS) ; do \
23333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23335 echo "Doing mostlyclean in gnattools" ; \
23336 (cd $(HOST_SUBDIR)/gnattools && \
23337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23339 "RANLIB=$${RANLIB}" \
23340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23346 .PHONY: maybe-clean-gnattools clean-gnattools
23347 maybe-clean-gnattools:
23349 maybe-clean-gnattools: clean-gnattools
23352 @[ -f ./gnattools/Makefile ] || exit 0; \
23353 r=`${PWD_COMMAND}`; export r; \
23354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23356 for flag in $(EXTRA_HOST_FLAGS) ; do \
23357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23359 echo "Doing clean in gnattools" ; \
23360 (cd $(HOST_SUBDIR)/gnattools && \
23361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23363 "RANLIB=$${RANLIB}" \
23364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23370 .PHONY: maybe-distclean-gnattools distclean-gnattools
23371 maybe-distclean-gnattools:
23373 maybe-distclean-gnattools: distclean-gnattools
23375 distclean-gnattools:
23376 @[ -f ./gnattools/Makefile ] || exit 0; \
23377 r=`${PWD_COMMAND}`; export r; \
23378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23380 for flag in $(EXTRA_HOST_FLAGS) ; do \
23381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23383 echo "Doing distclean in gnattools" ; \
23384 (cd $(HOST_SUBDIR)/gnattools && \
23385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23387 "RANLIB=$${RANLIB}" \
23388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23394 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
23395 maybe-maintainer-clean-gnattools:
23397 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
23399 maintainer-clean-gnattools:
23400 @[ -f ./gnattools/Makefile ] || exit 0; \
23401 r=`${PWD_COMMAND}`; export r; \
23402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23404 for flag in $(EXTRA_HOST_FLAGS) ; do \
23405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23407 echo "Doing maintainer-clean in gnattools" ; \
23408 (cd $(HOST_SUBDIR)/gnattools && \
23409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23411 "RANLIB=$${RANLIB}" \
23412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23413 maintainer-clean) \
23420 # ---------------------------------------
23421 # Modules which run on the target machine
23422 # ---------------------------------------
23424 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
23425 maybe-configure-target-libstdc++-v3:
23426 @if target-libstdc++-v3
23427 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
23429 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23430 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
23431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
23432 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
23433 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
23435 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
23436 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
23437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
23438 r=`${PWD_COMMAND}`; export r; \
23439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440 $(RAW_CXX_TARGET_EXPORTS) \
23441 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
23442 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
23443 case $(srcdir) in \
23444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23445 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
23446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23448 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
23449 libsrcdir="$$s/libstdc++-v3"; \
23450 rm -f no-such-file || : ; \
23451 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23452 $(TARGET_CONFIGARGS) $${srcdiroption} \
23453 --with-target-subdir="$(TARGET_SUBDIR)" \
23455 @endif target-libstdc++-v3
23457 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
23458 maybe-all-target-libstdc++-v3:
23459 @if target-libstdc++-v3
23460 TARGET-target-libstdc++-v3=all
23461 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
23462 all-target-libstdc++-v3: configure-target-libstdc++-v3
23463 @r=`${PWD_COMMAND}`; export r; \
23464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23465 $(RAW_CXX_TARGET_EXPORTS) \
23466 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23467 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
23468 @endif target-libstdc++-v3
23470 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
23471 maybe-check-target-libstdc++-v3:
23472 @if target-libstdc++-v3
23473 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
23475 check-target-libstdc++-v3:
23476 @r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 $(RAW_CXX_TARGET_EXPORTS) \
23479 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23480 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
23482 @endif target-libstdc++-v3
23484 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
23485 maybe-install-target-libstdc++-v3:
23486 @if target-libstdc++-v3
23487 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
23489 install-target-libstdc++-v3: installdirs
23490 @r=`${PWD_COMMAND}`; export r; \
23491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23492 $(RAW_CXX_TARGET_EXPORTS) \
23493 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23494 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23496 @endif target-libstdc++-v3
23498 # Other targets (info, dvi, etc.)
23500 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
23501 maybe-info-target-libstdc++-v3:
23502 @if target-libstdc++-v3
23503 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
23505 info-target-libstdc++-v3: \
23506 configure-target-libstdc++-v3
23507 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23508 r=`${PWD_COMMAND}`; export r; \
23509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23510 $(RAW_CXX_TARGET_EXPORTS) \
23511 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23512 for flag in $(EXTRA_TARGET_FLAGS); do \
23513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23515 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23518 "RANLIB=$${RANLIB}" \
23519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23523 @endif target-libstdc++-v3
23525 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
23526 maybe-dvi-target-libstdc++-v3:
23527 @if target-libstdc++-v3
23528 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
23530 dvi-target-libstdc++-v3: \
23531 configure-target-libstdc++-v3
23532 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23533 r=`${PWD_COMMAND}`; export r; \
23534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 $(RAW_CXX_TARGET_EXPORTS) \
23536 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23537 for flag in $(EXTRA_TARGET_FLAGS); do \
23538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23540 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23543 "RANLIB=$${RANLIB}" \
23544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23548 @endif target-libstdc++-v3
23550 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
23551 maybe-html-target-libstdc++-v3:
23552 @if target-libstdc++-v3
23553 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
23555 html-target-libstdc++-v3: \
23556 configure-target-libstdc++-v3
23557 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23558 r=`${PWD_COMMAND}`; export r; \
23559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23560 $(RAW_CXX_TARGET_EXPORTS) \
23561 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23562 for flag in $(EXTRA_TARGET_FLAGS); do \
23563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23565 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23568 "RANLIB=$${RANLIB}" \
23569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23573 @endif target-libstdc++-v3
23575 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
23576 maybe-TAGS-target-libstdc++-v3:
23577 @if target-libstdc++-v3
23578 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
23580 TAGS-target-libstdc++-v3: \
23581 configure-target-libstdc++-v3
23582 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23583 r=`${PWD_COMMAND}`; export r; \
23584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23585 $(RAW_CXX_TARGET_EXPORTS) \
23586 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23587 for flag in $(EXTRA_TARGET_FLAGS); do \
23588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23590 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23593 "RANLIB=$${RANLIB}" \
23594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23598 @endif target-libstdc++-v3
23600 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
23601 maybe-install-info-target-libstdc++-v3:
23602 @if target-libstdc++-v3
23603 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
23605 install-info-target-libstdc++-v3: \
23606 configure-target-libstdc++-v3 \
23607 info-target-libstdc++-v3
23608 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23609 r=`${PWD_COMMAND}`; export r; \
23610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23611 $(RAW_CXX_TARGET_EXPORTS) \
23612 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23613 for flag in $(EXTRA_TARGET_FLAGS); do \
23614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23616 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23619 "RANLIB=$${RANLIB}" \
23620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23624 @endif target-libstdc++-v3
23626 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
23627 maybe-installcheck-target-libstdc++-v3:
23628 @if target-libstdc++-v3
23629 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
23631 installcheck-target-libstdc++-v3: \
23632 configure-target-libstdc++-v3
23633 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23634 r=`${PWD_COMMAND}`; export r; \
23635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23636 $(RAW_CXX_TARGET_EXPORTS) \
23637 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23638 for flag in $(EXTRA_TARGET_FLAGS); do \
23639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23641 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23644 "RANLIB=$${RANLIB}" \
23645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23649 @endif target-libstdc++-v3
23651 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
23652 maybe-mostlyclean-target-libstdc++-v3:
23653 @if target-libstdc++-v3
23654 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
23656 mostlyclean-target-libstdc++-v3:
23657 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23658 r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660 $(RAW_CXX_TARGET_EXPORTS) \
23661 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23662 for flag in $(EXTRA_TARGET_FLAGS); do \
23663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23665 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23668 "RANLIB=$${RANLIB}" \
23669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23673 @endif target-libstdc++-v3
23675 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
23676 maybe-clean-target-libstdc++-v3:
23677 @if target-libstdc++-v3
23678 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
23680 clean-target-libstdc++-v3:
23681 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23682 r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(RAW_CXX_TARGET_EXPORTS) \
23685 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23686 for flag in $(EXTRA_TARGET_FLAGS); do \
23687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23689 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692 "RANLIB=$${RANLIB}" \
23693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23697 @endif target-libstdc++-v3
23699 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
23700 maybe-distclean-target-libstdc++-v3:
23701 @if target-libstdc++-v3
23702 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
23704 distclean-target-libstdc++-v3:
23705 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23706 r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 $(RAW_CXX_TARGET_EXPORTS) \
23709 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23710 for flag in $(EXTRA_TARGET_FLAGS); do \
23711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716 "RANLIB=$${RANLIB}" \
23717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23721 @endif target-libstdc++-v3
23723 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
23724 maybe-maintainer-clean-target-libstdc++-v3:
23725 @if target-libstdc++-v3
23726 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
23728 maintainer-clean-target-libstdc++-v3:
23729 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23730 r=`${PWD_COMMAND}`; export r; \
23731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23732 $(RAW_CXX_TARGET_EXPORTS) \
23733 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23734 for flag in $(EXTRA_TARGET_FLAGS); do \
23735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23737 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23740 "RANLIB=$${RANLIB}" \
23741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23742 maintainer-clean) \
23745 @endif target-libstdc++-v3
23748 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
23749 maybe-configure-target-libmudflap:
23750 @if target-libmudflap
23751 maybe-configure-target-libmudflap: configure-target-libmudflap
23753 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23754 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
23755 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
23756 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
23757 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
23759 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
23760 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
23761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
23762 r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 $(NORMAL_TARGET_EXPORTS) \
23765 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
23766 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
23767 case $(srcdir) in \
23768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23769 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
23770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23772 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
23773 libsrcdir="$$s/libmudflap"; \
23774 rm -f no-such-file || : ; \
23775 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23776 $(TARGET_CONFIGARGS) $${srcdiroption} \
23777 --with-target-subdir="$(TARGET_SUBDIR)" \
23779 @endif target-libmudflap
23781 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
23782 maybe-all-target-libmudflap:
23783 @if target-libmudflap
23784 TARGET-target-libmudflap=all
23785 maybe-all-target-libmudflap: all-target-libmudflap
23786 all-target-libmudflap: configure-target-libmudflap
23787 @r=`${PWD_COMMAND}`; export r; \
23788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789 $(NORMAL_TARGET_EXPORTS) \
23790 (cd $(TARGET_SUBDIR)/libmudflap && \
23791 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
23792 @endif target-libmudflap
23794 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
23795 maybe-check-target-libmudflap:
23796 @if target-libmudflap
23797 maybe-check-target-libmudflap: check-target-libmudflap
23799 check-target-libmudflap:
23800 @r=`${PWD_COMMAND}`; export r; \
23801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802 $(NORMAL_TARGET_EXPORTS) \
23803 (cd $(TARGET_SUBDIR)/libmudflap && \
23804 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23806 @endif target-libmudflap
23808 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
23809 maybe-install-target-libmudflap:
23810 @if target-libmudflap
23811 maybe-install-target-libmudflap: install-target-libmudflap
23813 install-target-libmudflap: installdirs
23814 @r=`${PWD_COMMAND}`; export r; \
23815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816 $(NORMAL_TARGET_EXPORTS) \
23817 (cd $(TARGET_SUBDIR)/libmudflap && \
23818 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23820 @endif target-libmudflap
23822 # Other targets (info, dvi, etc.)
23824 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
23825 maybe-info-target-libmudflap:
23826 @if target-libmudflap
23827 maybe-info-target-libmudflap: info-target-libmudflap
23829 info-target-libmudflap: \
23830 configure-target-libmudflap
23831 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23832 r=`${PWD_COMMAND}`; export r; \
23833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23834 $(NORMAL_TARGET_EXPORTS) \
23835 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
23836 for flag in $(EXTRA_TARGET_FLAGS); do \
23837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839 (cd $(TARGET_SUBDIR)/libmudflap && \
23840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23842 "RANLIB=$${RANLIB}" \
23843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23847 @endif target-libmudflap
23849 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
23850 maybe-dvi-target-libmudflap:
23851 @if target-libmudflap
23852 maybe-dvi-target-libmudflap: dvi-target-libmudflap
23854 dvi-target-libmudflap: \
23855 configure-target-libmudflap
23856 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23857 r=`${PWD_COMMAND}`; export r; \
23858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 $(NORMAL_TARGET_EXPORTS) \
23860 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
23861 for flag in $(EXTRA_TARGET_FLAGS); do \
23862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23864 (cd $(TARGET_SUBDIR)/libmudflap && \
23865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23867 "RANLIB=$${RANLIB}" \
23868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23872 @endif target-libmudflap
23874 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
23875 maybe-html-target-libmudflap:
23876 @if target-libmudflap
23877 maybe-html-target-libmudflap: html-target-libmudflap
23879 html-target-libmudflap: \
23880 configure-target-libmudflap
23881 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23882 r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 $(NORMAL_TARGET_EXPORTS) \
23885 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
23886 for flag in $(EXTRA_TARGET_FLAGS); do \
23887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23889 (cd $(TARGET_SUBDIR)/libmudflap && \
23890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23892 "RANLIB=$${RANLIB}" \
23893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23897 @endif target-libmudflap
23899 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
23900 maybe-TAGS-target-libmudflap:
23901 @if target-libmudflap
23902 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
23904 TAGS-target-libmudflap: \
23905 configure-target-libmudflap
23906 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23907 r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(NORMAL_TARGET_EXPORTS) \
23910 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
23911 for flag in $(EXTRA_TARGET_FLAGS); do \
23912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23914 (cd $(TARGET_SUBDIR)/libmudflap && \
23915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917 "RANLIB=$${RANLIB}" \
23918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23922 @endif target-libmudflap
23924 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
23925 maybe-install-info-target-libmudflap:
23926 @if target-libmudflap
23927 maybe-install-info-target-libmudflap: install-info-target-libmudflap
23929 install-info-target-libmudflap: \
23930 configure-target-libmudflap \
23931 info-target-libmudflap
23932 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(NORMAL_TARGET_EXPORTS) \
23936 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
23937 for flag in $(EXTRA_TARGET_FLAGS); do \
23938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23940 (cd $(TARGET_SUBDIR)/libmudflap && \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23948 @endif target-libmudflap
23950 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
23951 maybe-installcheck-target-libmudflap:
23952 @if target-libmudflap
23953 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
23955 installcheck-target-libmudflap: \
23956 configure-target-libmudflap
23957 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23958 r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960 $(NORMAL_TARGET_EXPORTS) \
23961 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
23962 for flag in $(EXTRA_TARGET_FLAGS); do \
23963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23965 (cd $(TARGET_SUBDIR)/libmudflap && \
23966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23968 "RANLIB=$${RANLIB}" \
23969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23973 @endif target-libmudflap
23975 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
23976 maybe-mostlyclean-target-libmudflap:
23977 @if target-libmudflap
23978 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
23980 mostlyclean-target-libmudflap:
23981 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23982 r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(NORMAL_TARGET_EXPORTS) \
23985 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
23986 for flag in $(EXTRA_TARGET_FLAGS); do \
23987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23989 (cd $(TARGET_SUBDIR)/libmudflap && \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23992 "RANLIB=$${RANLIB}" \
23993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23997 @endif target-libmudflap
23999 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24000 maybe-clean-target-libmudflap:
24001 @if target-libmudflap
24002 maybe-clean-target-libmudflap: clean-target-libmudflap
24004 clean-target-libmudflap:
24005 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24006 r=`${PWD_COMMAND}`; export r; \
24007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24008 $(NORMAL_TARGET_EXPORTS) \
24009 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24010 for flag in $(EXTRA_TARGET_FLAGS); do \
24011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 (cd $(TARGET_SUBDIR)/libmudflap && \
24014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24016 "RANLIB=$${RANLIB}" \
24017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24021 @endif target-libmudflap
24023 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24024 maybe-distclean-target-libmudflap:
24025 @if target-libmudflap
24026 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24028 distclean-target-libmudflap:
24029 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24030 r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(NORMAL_TARGET_EXPORTS) \
24033 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24034 for flag in $(EXTRA_TARGET_FLAGS); do \
24035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24037 (cd $(TARGET_SUBDIR)/libmudflap && \
24038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24040 "RANLIB=$${RANLIB}" \
24041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24045 @endif target-libmudflap
24047 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24048 maybe-maintainer-clean-target-libmudflap:
24049 @if target-libmudflap
24050 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24052 maintainer-clean-target-libmudflap:
24053 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(NORMAL_TARGET_EXPORTS) \
24057 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24058 for flag in $(EXTRA_TARGET_FLAGS); do \
24059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24061 (cd $(TARGET_SUBDIR)/libmudflap && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24066 maintainer-clean) \
24069 @endif target-libmudflap
24072 .PHONY: configure-target-newlib maybe-configure-target-newlib
24073 maybe-configure-target-newlib:
24075 maybe-configure-target-newlib: configure-target-newlib
24077 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24078 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24080 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24081 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24083 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24084 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24085 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24086 r=`${PWD_COMMAND}`; export r; \
24087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24088 $(NORMAL_TARGET_EXPORTS) \
24089 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24090 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24091 case $(srcdir) in \
24092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24093 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
24094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24096 srcdiroption="--srcdir=$${topdir}/newlib"; \
24097 libsrcdir="$$s/newlib"; \
24098 rm -f no-such-file || : ; \
24099 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24100 $(TARGET_CONFIGARGS) $${srcdiroption} \
24101 --with-target-subdir="$(TARGET_SUBDIR)" \
24103 @endif target-newlib
24105 .PHONY: all-target-newlib maybe-all-target-newlib
24106 maybe-all-target-newlib:
24108 TARGET-target-newlib=all
24109 maybe-all-target-newlib: all-target-newlib
24110 all-target-newlib: configure-target-newlib
24111 @r=`${PWD_COMMAND}`; export r; \
24112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113 $(NORMAL_TARGET_EXPORTS) \
24114 (cd $(TARGET_SUBDIR)/newlib && \
24115 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24116 @endif target-newlib
24118 .PHONY: check-target-newlib maybe-check-target-newlib
24119 maybe-check-target-newlib:
24121 maybe-check-target-newlib: check-target-newlib
24123 check-target-newlib:
24124 @r=`${PWD_COMMAND}`; export r; \
24125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24126 $(NORMAL_TARGET_EXPORTS) \
24127 (cd $(TARGET_SUBDIR)/newlib && \
24128 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24130 @endif target-newlib
24132 .PHONY: install-target-newlib maybe-install-target-newlib
24133 maybe-install-target-newlib:
24135 maybe-install-target-newlib: install-target-newlib
24137 install-target-newlib: installdirs
24138 @r=`${PWD_COMMAND}`; export r; \
24139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24140 $(NORMAL_TARGET_EXPORTS) \
24141 (cd $(TARGET_SUBDIR)/newlib && \
24142 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24144 @endif target-newlib
24146 # Other targets (info, dvi, etc.)
24148 .PHONY: maybe-info-target-newlib info-target-newlib
24149 maybe-info-target-newlib:
24151 maybe-info-target-newlib: info-target-newlib
24153 info-target-newlib: \
24154 configure-target-newlib
24155 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24156 r=`${PWD_COMMAND}`; export r; \
24157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24158 $(NORMAL_TARGET_EXPORTS) \
24159 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
24160 for flag in $(EXTRA_TARGET_FLAGS); do \
24161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24163 (cd $(TARGET_SUBDIR)/newlib && \
24164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24166 "RANLIB=$${RANLIB}" \
24167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24171 @endif target-newlib
24173 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
24174 maybe-dvi-target-newlib:
24176 maybe-dvi-target-newlib: dvi-target-newlib
24178 dvi-target-newlib: \
24179 configure-target-newlib
24180 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24181 r=`${PWD_COMMAND}`; export r; \
24182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24183 $(NORMAL_TARGET_EXPORTS) \
24184 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
24185 for flag in $(EXTRA_TARGET_FLAGS); do \
24186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24188 (cd $(TARGET_SUBDIR)/newlib && \
24189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24191 "RANLIB=$${RANLIB}" \
24192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24196 @endif target-newlib
24198 .PHONY: maybe-html-target-newlib html-target-newlib
24199 maybe-html-target-newlib:
24201 maybe-html-target-newlib: html-target-newlib
24203 html-target-newlib: \
24204 configure-target-newlib
24205 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24206 r=`${PWD_COMMAND}`; export r; \
24207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24208 $(NORMAL_TARGET_EXPORTS) \
24209 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
24210 for flag in $(EXTRA_TARGET_FLAGS); do \
24211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24213 (cd $(TARGET_SUBDIR)/newlib && \
24214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24216 "RANLIB=$${RANLIB}" \
24217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24221 @endif target-newlib
24223 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
24224 maybe-TAGS-target-newlib:
24226 maybe-TAGS-target-newlib: TAGS-target-newlib
24228 TAGS-target-newlib: \
24229 configure-target-newlib
24230 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24231 r=`${PWD_COMMAND}`; export r; \
24232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24233 $(NORMAL_TARGET_EXPORTS) \
24234 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
24235 for flag in $(EXTRA_TARGET_FLAGS); do \
24236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24238 (cd $(TARGET_SUBDIR)/newlib && \
24239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24241 "RANLIB=$${RANLIB}" \
24242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24246 @endif target-newlib
24248 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
24249 maybe-install-info-target-newlib:
24251 maybe-install-info-target-newlib: install-info-target-newlib
24253 install-info-target-newlib: \
24254 configure-target-newlib \
24256 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24257 r=`${PWD_COMMAND}`; export r; \
24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259 $(NORMAL_TARGET_EXPORTS) \
24260 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
24261 for flag in $(EXTRA_TARGET_FLAGS); do \
24262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24264 (cd $(TARGET_SUBDIR)/newlib && \
24265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24267 "RANLIB=$${RANLIB}" \
24268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24272 @endif target-newlib
24274 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
24275 maybe-installcheck-target-newlib:
24277 maybe-installcheck-target-newlib: installcheck-target-newlib
24279 installcheck-target-newlib: \
24280 configure-target-newlib
24281 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24282 r=`${PWD_COMMAND}`; export r; \
24283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24284 $(NORMAL_TARGET_EXPORTS) \
24285 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
24286 for flag in $(EXTRA_TARGET_FLAGS); do \
24287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24289 (cd $(TARGET_SUBDIR)/newlib && \
24290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24292 "RANLIB=$${RANLIB}" \
24293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24297 @endif target-newlib
24299 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
24300 maybe-mostlyclean-target-newlib:
24302 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
24304 mostlyclean-target-newlib:
24305 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24306 r=`${PWD_COMMAND}`; export r; \
24307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24308 $(NORMAL_TARGET_EXPORTS) \
24309 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
24310 for flag in $(EXTRA_TARGET_FLAGS); do \
24311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24313 (cd $(TARGET_SUBDIR)/newlib && \
24314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24316 "RANLIB=$${RANLIB}" \
24317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24321 @endif target-newlib
24323 .PHONY: maybe-clean-target-newlib clean-target-newlib
24324 maybe-clean-target-newlib:
24326 maybe-clean-target-newlib: clean-target-newlib
24328 clean-target-newlib:
24329 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24330 r=`${PWD_COMMAND}`; export r; \
24331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24332 $(NORMAL_TARGET_EXPORTS) \
24333 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
24334 for flag in $(EXTRA_TARGET_FLAGS); do \
24335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24337 (cd $(TARGET_SUBDIR)/newlib && \
24338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24340 "RANLIB=$${RANLIB}" \
24341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24345 @endif target-newlib
24347 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
24348 maybe-distclean-target-newlib:
24350 maybe-distclean-target-newlib: distclean-target-newlib
24352 distclean-target-newlib:
24353 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24354 r=`${PWD_COMMAND}`; export r; \
24355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24356 $(NORMAL_TARGET_EXPORTS) \
24357 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
24358 for flag in $(EXTRA_TARGET_FLAGS); do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24361 (cd $(TARGET_SUBDIR)/newlib && \
24362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24364 "RANLIB=$${RANLIB}" \
24365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24369 @endif target-newlib
24371 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
24372 maybe-maintainer-clean-target-newlib:
24374 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
24376 maintainer-clean-target-newlib:
24377 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24378 r=`${PWD_COMMAND}`; export r; \
24379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380 $(NORMAL_TARGET_EXPORTS) \
24381 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
24382 for flag in $(EXTRA_TARGET_FLAGS); do \
24383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24385 (cd $(TARGET_SUBDIR)/newlib && \
24386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24388 "RANLIB=$${RANLIB}" \
24389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24390 maintainer-clean) \
24393 @endif target-newlib
24396 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
24397 maybe-configure-target-libgfortran:
24398 @if target-libgfortran
24399 maybe-configure-target-libgfortran: configure-target-libgfortran
24401 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24402 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
24403 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
24404 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
24405 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
24407 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
24408 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
24409 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
24410 r=`${PWD_COMMAND}`; export r; \
24411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24412 $(NORMAL_TARGET_EXPORTS) \
24413 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
24414 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
24415 case $(srcdir) in \
24416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24417 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
24418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24420 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
24421 libsrcdir="$$s/libgfortran"; \
24422 rm -f no-such-file || : ; \
24423 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24424 $(TARGET_CONFIGARGS) $${srcdiroption} \
24425 --with-target-subdir="$(TARGET_SUBDIR)" \
24427 @endif target-libgfortran
24429 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
24430 maybe-all-target-libgfortran:
24431 @if target-libgfortran
24432 TARGET-target-libgfortran=all
24433 maybe-all-target-libgfortran: all-target-libgfortran
24434 all-target-libgfortran: configure-target-libgfortran
24435 @r=`${PWD_COMMAND}`; export r; \
24436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24437 $(NORMAL_TARGET_EXPORTS) \
24438 (cd $(TARGET_SUBDIR)/libgfortran && \
24439 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
24440 @endif target-libgfortran
24442 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
24443 maybe-check-target-libgfortran:
24444 @if target-libgfortran
24445 maybe-check-target-libgfortran: check-target-libgfortran
24447 check-target-libgfortran:
24448 @r=`${PWD_COMMAND}`; export r; \
24449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450 $(NORMAL_TARGET_EXPORTS) \
24451 (cd $(TARGET_SUBDIR)/libgfortran && \
24452 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24454 @endif target-libgfortran
24456 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
24457 maybe-install-target-libgfortran:
24458 @if target-libgfortran
24459 maybe-install-target-libgfortran: install-target-libgfortran
24461 install-target-libgfortran: installdirs
24462 @r=`${PWD_COMMAND}`; export r; \
24463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24464 $(NORMAL_TARGET_EXPORTS) \
24465 (cd $(TARGET_SUBDIR)/libgfortran && \
24466 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24468 @endif target-libgfortran
24470 # Other targets (info, dvi, etc.)
24472 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
24473 maybe-info-target-libgfortran:
24474 @if target-libgfortran
24475 maybe-info-target-libgfortran: info-target-libgfortran
24477 info-target-libgfortran: \
24478 configure-target-libgfortran
24479 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482 $(NORMAL_TARGET_EXPORTS) \
24483 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
24484 for flag in $(EXTRA_TARGET_FLAGS); do \
24485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24487 (cd $(TARGET_SUBDIR)/libgfortran && \
24488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24490 "RANLIB=$${RANLIB}" \
24491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24495 @endif target-libgfortran
24497 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
24498 maybe-dvi-target-libgfortran:
24499 @if target-libgfortran
24500 maybe-dvi-target-libgfortran: dvi-target-libgfortran
24502 dvi-target-libgfortran: \
24503 configure-target-libgfortran
24504 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24505 r=`${PWD_COMMAND}`; export r; \
24506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24507 $(NORMAL_TARGET_EXPORTS) \
24508 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
24509 for flag in $(EXTRA_TARGET_FLAGS); do \
24510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24512 (cd $(TARGET_SUBDIR)/libgfortran && \
24513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24515 "RANLIB=$${RANLIB}" \
24516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24520 @endif target-libgfortran
24522 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
24523 maybe-html-target-libgfortran:
24524 @if target-libgfortran
24525 maybe-html-target-libgfortran: html-target-libgfortran
24527 html-target-libgfortran: \
24528 configure-target-libgfortran
24529 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24530 r=`${PWD_COMMAND}`; export r; \
24531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24532 $(NORMAL_TARGET_EXPORTS) \
24533 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
24534 for flag in $(EXTRA_TARGET_FLAGS); do \
24535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537 (cd $(TARGET_SUBDIR)/libgfortran && \
24538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24540 "RANLIB=$${RANLIB}" \
24541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24545 @endif target-libgfortran
24547 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
24548 maybe-TAGS-target-libgfortran:
24549 @if target-libgfortran
24550 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
24552 TAGS-target-libgfortran: \
24553 configure-target-libgfortran
24554 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24555 r=`${PWD_COMMAND}`; export r; \
24556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24557 $(NORMAL_TARGET_EXPORTS) \
24558 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
24559 for flag in $(EXTRA_TARGET_FLAGS); do \
24560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24562 (cd $(TARGET_SUBDIR)/libgfortran && \
24563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24565 "RANLIB=$${RANLIB}" \
24566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24570 @endif target-libgfortran
24572 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
24573 maybe-install-info-target-libgfortran:
24574 @if target-libgfortran
24575 maybe-install-info-target-libgfortran: install-info-target-libgfortran
24577 install-info-target-libgfortran: \
24578 configure-target-libgfortran \
24579 info-target-libgfortran
24580 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24581 r=`${PWD_COMMAND}`; export r; \
24582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24583 $(NORMAL_TARGET_EXPORTS) \
24584 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
24585 for flag in $(EXTRA_TARGET_FLAGS); do \
24586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24588 (cd $(TARGET_SUBDIR)/libgfortran && \
24589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24591 "RANLIB=$${RANLIB}" \
24592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24596 @endif target-libgfortran
24598 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
24599 maybe-installcheck-target-libgfortran:
24600 @if target-libgfortran
24601 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
24603 installcheck-target-libgfortran: \
24604 configure-target-libgfortran
24605 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24606 r=`${PWD_COMMAND}`; export r; \
24607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24608 $(NORMAL_TARGET_EXPORTS) \
24609 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
24610 for flag in $(EXTRA_TARGET_FLAGS); do \
24611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24613 (cd $(TARGET_SUBDIR)/libgfortran && \
24614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24616 "RANLIB=$${RANLIB}" \
24617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24621 @endif target-libgfortran
24623 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
24624 maybe-mostlyclean-target-libgfortran:
24625 @if target-libgfortran
24626 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
24628 mostlyclean-target-libgfortran:
24629 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24630 r=`${PWD_COMMAND}`; export r; \
24631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24632 $(NORMAL_TARGET_EXPORTS) \
24633 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
24634 for flag in $(EXTRA_TARGET_FLAGS); do \
24635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24637 (cd $(TARGET_SUBDIR)/libgfortran && \
24638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24640 "RANLIB=$${RANLIB}" \
24641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24645 @endif target-libgfortran
24647 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
24648 maybe-clean-target-libgfortran:
24649 @if target-libgfortran
24650 maybe-clean-target-libgfortran: clean-target-libgfortran
24652 clean-target-libgfortran:
24653 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24654 r=`${PWD_COMMAND}`; export r; \
24655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24656 $(NORMAL_TARGET_EXPORTS) \
24657 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
24658 for flag in $(EXTRA_TARGET_FLAGS); do \
24659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24661 (cd $(TARGET_SUBDIR)/libgfortran && \
24662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24664 "RANLIB=$${RANLIB}" \
24665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24669 @endif target-libgfortran
24671 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
24672 maybe-distclean-target-libgfortran:
24673 @if target-libgfortran
24674 maybe-distclean-target-libgfortran: distclean-target-libgfortran
24676 distclean-target-libgfortran:
24677 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24678 r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(NORMAL_TARGET_EXPORTS) \
24681 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
24682 for flag in $(EXTRA_TARGET_FLAGS); do \
24683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24685 (cd $(TARGET_SUBDIR)/libgfortran && \
24686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24688 "RANLIB=$${RANLIB}" \
24689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24693 @endif target-libgfortran
24695 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
24696 maybe-maintainer-clean-target-libgfortran:
24697 @if target-libgfortran
24698 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
24700 maintainer-clean-target-libgfortran:
24701 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(NORMAL_TARGET_EXPORTS) \
24705 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
24706 for flag in $(EXTRA_TARGET_FLAGS); do \
24707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24709 (cd $(TARGET_SUBDIR)/libgfortran && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24714 maintainer-clean) \
24717 @endif target-libgfortran
24720 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
24721 maybe-configure-target-libobjc:
24723 maybe-configure-target-libobjc: configure-target-libobjc
24725 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24726 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
24727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
24728 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
24729 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
24731 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
24732 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
24733 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
24734 r=`${PWD_COMMAND}`; export r; \
24735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(NORMAL_TARGET_EXPORTS) \
24737 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
24738 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
24739 case $(srcdir) in \
24740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24741 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
24742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24744 srcdiroption="--srcdir=$${topdir}/libobjc"; \
24745 libsrcdir="$$s/libobjc"; \
24746 rm -f no-such-file || : ; \
24747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24748 $(TARGET_CONFIGARGS) $${srcdiroption} \
24749 --with-target-subdir="$(TARGET_SUBDIR)" \
24751 @endif target-libobjc
24753 .PHONY: all-target-libobjc maybe-all-target-libobjc
24754 maybe-all-target-libobjc:
24756 TARGET-target-libobjc=all
24757 maybe-all-target-libobjc: all-target-libobjc
24758 all-target-libobjc: configure-target-libobjc
24759 @r=`${PWD_COMMAND}`; export r; \
24760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24761 $(NORMAL_TARGET_EXPORTS) \
24762 (cd $(TARGET_SUBDIR)/libobjc && \
24763 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
24764 @endif target-libobjc
24766 .PHONY: check-target-libobjc maybe-check-target-libobjc
24767 maybe-check-target-libobjc:
24769 maybe-check-target-libobjc: check-target-libobjc
24771 check-target-libobjc:
24772 @r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 $(NORMAL_TARGET_EXPORTS) \
24775 (cd $(TARGET_SUBDIR)/libobjc && \
24776 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24778 @endif target-libobjc
24780 .PHONY: install-target-libobjc maybe-install-target-libobjc
24781 maybe-install-target-libobjc:
24783 maybe-install-target-libobjc: install-target-libobjc
24785 install-target-libobjc: installdirs
24786 @r=`${PWD_COMMAND}`; export r; \
24787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24788 $(NORMAL_TARGET_EXPORTS) \
24789 (cd $(TARGET_SUBDIR)/libobjc && \
24790 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24792 @endif target-libobjc
24794 # Other targets (info, dvi, etc.)
24796 .PHONY: maybe-info-target-libobjc info-target-libobjc
24797 maybe-info-target-libobjc:
24799 maybe-info-target-libobjc: info-target-libobjc
24801 info-target-libobjc: \
24802 configure-target-libobjc
24803 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24804 r=`${PWD_COMMAND}`; export r; \
24805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806 $(NORMAL_TARGET_EXPORTS) \
24807 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
24808 for flag in $(EXTRA_TARGET_FLAGS); do \
24809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811 (cd $(TARGET_SUBDIR)/libobjc && \
24812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24814 "RANLIB=$${RANLIB}" \
24815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24819 @endif target-libobjc
24821 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
24822 maybe-dvi-target-libobjc:
24824 maybe-dvi-target-libobjc: dvi-target-libobjc
24826 dvi-target-libobjc: \
24827 configure-target-libobjc
24828 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(NORMAL_TARGET_EXPORTS) \
24832 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
24833 for flag in $(EXTRA_TARGET_FLAGS); do \
24834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24836 (cd $(TARGET_SUBDIR)/libobjc && \
24837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839 "RANLIB=$${RANLIB}" \
24840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24844 @endif target-libobjc
24846 .PHONY: maybe-html-target-libobjc html-target-libobjc
24847 maybe-html-target-libobjc:
24849 maybe-html-target-libobjc: html-target-libobjc
24851 html-target-libobjc: \
24852 configure-target-libobjc
24853 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24854 r=`${PWD_COMMAND}`; export r; \
24855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24856 $(NORMAL_TARGET_EXPORTS) \
24857 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
24858 for flag in $(EXTRA_TARGET_FLAGS); do \
24859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24861 (cd $(TARGET_SUBDIR)/libobjc && \
24862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24864 "RANLIB=$${RANLIB}" \
24865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24869 @endif target-libobjc
24871 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
24872 maybe-TAGS-target-libobjc:
24874 maybe-TAGS-target-libobjc: TAGS-target-libobjc
24876 TAGS-target-libobjc: \
24877 configure-target-libobjc
24878 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24879 r=`${PWD_COMMAND}`; export r; \
24880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24881 $(NORMAL_TARGET_EXPORTS) \
24882 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
24883 for flag in $(EXTRA_TARGET_FLAGS); do \
24884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24886 (cd $(TARGET_SUBDIR)/libobjc && \
24887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24889 "RANLIB=$${RANLIB}" \
24890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24894 @endif target-libobjc
24896 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
24897 maybe-install-info-target-libobjc:
24899 maybe-install-info-target-libobjc: install-info-target-libobjc
24901 install-info-target-libobjc: \
24902 configure-target-libobjc \
24903 info-target-libobjc
24904 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24905 r=`${PWD_COMMAND}`; export r; \
24906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24907 $(NORMAL_TARGET_EXPORTS) \
24908 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
24909 for flag in $(EXTRA_TARGET_FLAGS); do \
24910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24912 (cd $(TARGET_SUBDIR)/libobjc && \
24913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24915 "RANLIB=$${RANLIB}" \
24916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24920 @endif target-libobjc
24922 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
24923 maybe-installcheck-target-libobjc:
24925 maybe-installcheck-target-libobjc: installcheck-target-libobjc
24927 installcheck-target-libobjc: \
24928 configure-target-libobjc
24929 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24930 r=`${PWD_COMMAND}`; export r; \
24931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24932 $(NORMAL_TARGET_EXPORTS) \
24933 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
24934 for flag in $(EXTRA_TARGET_FLAGS); do \
24935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24937 (cd $(TARGET_SUBDIR)/libobjc && \
24938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24940 "RANLIB=$${RANLIB}" \
24941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24945 @endif target-libobjc
24947 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
24948 maybe-mostlyclean-target-libobjc:
24950 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
24952 mostlyclean-target-libobjc:
24953 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24954 r=`${PWD_COMMAND}`; export r; \
24955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24956 $(NORMAL_TARGET_EXPORTS) \
24957 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
24958 for flag in $(EXTRA_TARGET_FLAGS); do \
24959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24961 (cd $(TARGET_SUBDIR)/libobjc && \
24962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24964 "RANLIB=$${RANLIB}" \
24965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24969 @endif target-libobjc
24971 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
24972 maybe-clean-target-libobjc:
24974 maybe-clean-target-libobjc: clean-target-libobjc
24976 clean-target-libobjc:
24977 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24978 r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(NORMAL_TARGET_EXPORTS) \
24981 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
24982 for flag in $(EXTRA_TARGET_FLAGS); do \
24983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24985 (cd $(TARGET_SUBDIR)/libobjc && \
24986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24988 "RANLIB=$${RANLIB}" \
24989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24993 @endif target-libobjc
24995 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
24996 maybe-distclean-target-libobjc:
24998 maybe-distclean-target-libobjc: distclean-target-libobjc
25000 distclean-target-libobjc:
25001 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25002 r=`${PWD_COMMAND}`; export r; \
25003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25004 $(NORMAL_TARGET_EXPORTS) \
25005 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25006 for flag in $(EXTRA_TARGET_FLAGS); do \
25007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25009 (cd $(TARGET_SUBDIR)/libobjc && \
25010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25012 "RANLIB=$${RANLIB}" \
25013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25017 @endif target-libobjc
25019 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25020 maybe-maintainer-clean-target-libobjc:
25022 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25024 maintainer-clean-target-libobjc:
25025 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25026 r=`${PWD_COMMAND}`; export r; \
25027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25028 $(NORMAL_TARGET_EXPORTS) \
25029 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25030 for flag in $(EXTRA_TARGET_FLAGS); do \
25031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25033 (cd $(TARGET_SUBDIR)/libobjc && \
25034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25036 "RANLIB=$${RANLIB}" \
25037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25038 maintainer-clean) \
25041 @endif target-libobjc
25044 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25045 maybe-configure-target-libtermcap:
25046 @if target-libtermcap
25047 maybe-configure-target-libtermcap: configure-target-libtermcap
25049 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25050 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25052 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25053 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25055 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25056 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25058 r=`${PWD_COMMAND}`; export r; \
25059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25060 $(NORMAL_TARGET_EXPORTS) \
25061 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25062 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25063 case $(srcdir) in \
25064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25065 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
25066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25068 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
25069 libsrcdir="$$s/libtermcap"; \
25070 rm -f no-such-file || : ; \
25071 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25072 $(TARGET_CONFIGARGS) $${srcdiroption} \
25073 --with-target-subdir="$(TARGET_SUBDIR)" \
25075 @endif target-libtermcap
25077 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
25078 maybe-all-target-libtermcap:
25079 @if target-libtermcap
25080 TARGET-target-libtermcap=all
25081 maybe-all-target-libtermcap: all-target-libtermcap
25082 all-target-libtermcap: configure-target-libtermcap
25083 @r=`${PWD_COMMAND}`; export r; \
25084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085 $(NORMAL_TARGET_EXPORTS) \
25086 (cd $(TARGET_SUBDIR)/libtermcap && \
25087 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
25088 @endif target-libtermcap
25090 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
25091 maybe-check-target-libtermcap:
25092 @if target-libtermcap
25093 maybe-check-target-libtermcap: check-target-libtermcap
25095 # Dummy target for uncheckable module.
25096 check-target-libtermcap:
25098 @endif target-libtermcap
25100 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
25101 maybe-install-target-libtermcap:
25102 @if target-libtermcap
25103 maybe-install-target-libtermcap: install-target-libtermcap
25105 install-target-libtermcap: installdirs
25106 @r=`${PWD_COMMAND}`; export r; \
25107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25108 $(NORMAL_TARGET_EXPORTS) \
25109 (cd $(TARGET_SUBDIR)/libtermcap && \
25110 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25112 @endif target-libtermcap
25114 # Other targets (info, dvi, etc.)
25116 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
25117 maybe-info-target-libtermcap:
25118 @if target-libtermcap
25119 maybe-info-target-libtermcap: info-target-libtermcap
25121 info-target-libtermcap: \
25122 configure-target-libtermcap
25123 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25124 r=`${PWD_COMMAND}`; export r; \
25125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25126 $(NORMAL_TARGET_EXPORTS) \
25127 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
25128 for flag in $(EXTRA_TARGET_FLAGS); do \
25129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25131 (cd $(TARGET_SUBDIR)/libtermcap && \
25132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25134 "RANLIB=$${RANLIB}" \
25135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25139 @endif target-libtermcap
25141 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
25142 maybe-dvi-target-libtermcap:
25143 @if target-libtermcap
25144 maybe-dvi-target-libtermcap: dvi-target-libtermcap
25146 dvi-target-libtermcap: \
25147 configure-target-libtermcap
25148 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25149 r=`${PWD_COMMAND}`; export r; \
25150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151 $(NORMAL_TARGET_EXPORTS) \
25152 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
25153 for flag in $(EXTRA_TARGET_FLAGS); do \
25154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25156 (cd $(TARGET_SUBDIR)/libtermcap && \
25157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25159 "RANLIB=$${RANLIB}" \
25160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25164 @endif target-libtermcap
25166 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
25167 maybe-html-target-libtermcap:
25168 @if target-libtermcap
25169 maybe-html-target-libtermcap: html-target-libtermcap
25171 html-target-libtermcap: \
25172 configure-target-libtermcap
25173 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25174 r=`${PWD_COMMAND}`; export r; \
25175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25176 $(NORMAL_TARGET_EXPORTS) \
25177 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
25178 for flag in $(EXTRA_TARGET_FLAGS); do \
25179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25181 (cd $(TARGET_SUBDIR)/libtermcap && \
25182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25184 "RANLIB=$${RANLIB}" \
25185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25189 @endif target-libtermcap
25191 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
25192 maybe-TAGS-target-libtermcap:
25193 @if target-libtermcap
25194 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
25196 TAGS-target-libtermcap: \
25197 configure-target-libtermcap
25198 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25199 r=`${PWD_COMMAND}`; export r; \
25200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25201 $(NORMAL_TARGET_EXPORTS) \
25202 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
25203 for flag in $(EXTRA_TARGET_FLAGS); do \
25204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25206 (cd $(TARGET_SUBDIR)/libtermcap && \
25207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25209 "RANLIB=$${RANLIB}" \
25210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25214 @endif target-libtermcap
25216 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
25217 maybe-install-info-target-libtermcap:
25218 @if target-libtermcap
25219 maybe-install-info-target-libtermcap: install-info-target-libtermcap
25221 install-info-target-libtermcap: \
25222 configure-target-libtermcap \
25223 info-target-libtermcap
25224 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25225 r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 $(NORMAL_TARGET_EXPORTS) \
25228 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
25229 for flag in $(EXTRA_TARGET_FLAGS); do \
25230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25232 (cd $(TARGET_SUBDIR)/libtermcap && \
25233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25235 "RANLIB=$${RANLIB}" \
25236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25240 @endif target-libtermcap
25242 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
25243 maybe-installcheck-target-libtermcap:
25244 @if target-libtermcap
25245 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
25247 installcheck-target-libtermcap: \
25248 configure-target-libtermcap
25249 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25250 r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252 $(NORMAL_TARGET_EXPORTS) \
25253 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
25254 for flag in $(EXTRA_TARGET_FLAGS); do \
25255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25257 (cd $(TARGET_SUBDIR)/libtermcap && \
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}" \
25265 @endif target-libtermcap
25267 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
25268 maybe-mostlyclean-target-libtermcap:
25269 @if target-libtermcap
25270 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
25272 # libtermcap doesn't support mostlyclean.
25273 mostlyclean-target-libtermcap:
25275 @endif target-libtermcap
25277 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
25278 maybe-clean-target-libtermcap:
25279 @if target-libtermcap
25280 maybe-clean-target-libtermcap: clean-target-libtermcap
25282 # libtermcap doesn't support clean.
25283 clean-target-libtermcap:
25285 @endif target-libtermcap
25287 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
25288 maybe-distclean-target-libtermcap:
25289 @if target-libtermcap
25290 maybe-distclean-target-libtermcap: distclean-target-libtermcap
25292 # libtermcap doesn't support distclean.
25293 distclean-target-libtermcap:
25295 @endif target-libtermcap
25297 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
25298 maybe-maintainer-clean-target-libtermcap:
25299 @if target-libtermcap
25300 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
25302 # libtermcap doesn't support maintainer-clean.
25303 maintainer-clean-target-libtermcap:
25305 @endif target-libtermcap
25308 .PHONY: configure-target-winsup maybe-configure-target-winsup
25309 maybe-configure-target-winsup:
25311 maybe-configure-target-winsup: configure-target-winsup
25313 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25314 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
25315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
25316 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
25317 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
25319 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
25320 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
25321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
25322 r=`${PWD_COMMAND}`; export r; \
25323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25324 $(NORMAL_TARGET_EXPORTS) \
25325 echo Configuring in $(TARGET_SUBDIR)/winsup; \
25326 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
25327 case $(srcdir) in \
25328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25329 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
25330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25332 srcdiroption="--srcdir=$${topdir}/winsup"; \
25333 libsrcdir="$$s/winsup"; \
25334 rm -f no-such-file || : ; \
25335 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25336 $(TARGET_CONFIGARGS) $${srcdiroption} \
25337 --with-target-subdir="$(TARGET_SUBDIR)" \
25339 @endif target-winsup
25341 .PHONY: all-target-winsup maybe-all-target-winsup
25342 maybe-all-target-winsup:
25344 TARGET-target-winsup=all
25345 maybe-all-target-winsup: all-target-winsup
25346 all-target-winsup: configure-target-winsup
25347 @r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 $(NORMAL_TARGET_EXPORTS) \
25350 (cd $(TARGET_SUBDIR)/winsup && \
25351 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
25352 @endif target-winsup
25354 .PHONY: check-target-winsup maybe-check-target-winsup
25355 maybe-check-target-winsup:
25357 maybe-check-target-winsup: check-target-winsup
25359 check-target-winsup:
25360 @r=`${PWD_COMMAND}`; export r; \
25361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25362 $(NORMAL_TARGET_EXPORTS) \
25363 (cd $(TARGET_SUBDIR)/winsup && \
25364 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25366 @endif target-winsup
25368 .PHONY: install-target-winsup maybe-install-target-winsup
25369 maybe-install-target-winsup:
25371 maybe-install-target-winsup: install-target-winsup
25373 install-target-winsup: installdirs
25374 @r=`${PWD_COMMAND}`; export r; \
25375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376 $(NORMAL_TARGET_EXPORTS) \
25377 (cd $(TARGET_SUBDIR)/winsup && \
25378 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25380 @endif target-winsup
25382 # Other targets (info, dvi, etc.)
25384 .PHONY: maybe-info-target-winsup info-target-winsup
25385 maybe-info-target-winsup:
25387 maybe-info-target-winsup: info-target-winsup
25389 info-target-winsup: \
25390 configure-target-winsup
25391 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25392 r=`${PWD_COMMAND}`; export r; \
25393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394 $(NORMAL_TARGET_EXPORTS) \
25395 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
25396 for flag in $(EXTRA_TARGET_FLAGS); do \
25397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25399 (cd $(TARGET_SUBDIR)/winsup && \
25400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25402 "RANLIB=$${RANLIB}" \
25403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25407 @endif target-winsup
25409 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
25410 maybe-dvi-target-winsup:
25412 maybe-dvi-target-winsup: dvi-target-winsup
25414 dvi-target-winsup: \
25415 configure-target-winsup
25416 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25417 r=`${PWD_COMMAND}`; export r; \
25418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25419 $(NORMAL_TARGET_EXPORTS) \
25420 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
25421 for flag in $(EXTRA_TARGET_FLAGS); do \
25422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25424 (cd $(TARGET_SUBDIR)/winsup && \
25425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25427 "RANLIB=$${RANLIB}" \
25428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25432 @endif target-winsup
25434 .PHONY: maybe-html-target-winsup html-target-winsup
25435 maybe-html-target-winsup:
25437 maybe-html-target-winsup: html-target-winsup
25439 html-target-winsup: \
25440 configure-target-winsup
25441 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25442 r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 $(NORMAL_TARGET_EXPORTS) \
25445 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
25446 for flag in $(EXTRA_TARGET_FLAGS); do \
25447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 (cd $(TARGET_SUBDIR)/winsup && \
25450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25452 "RANLIB=$${RANLIB}" \
25453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25457 @endif target-winsup
25459 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
25460 maybe-TAGS-target-winsup:
25462 maybe-TAGS-target-winsup: TAGS-target-winsup
25464 TAGS-target-winsup: \
25465 configure-target-winsup
25466 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25467 r=`${PWD_COMMAND}`; export r; \
25468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25469 $(NORMAL_TARGET_EXPORTS) \
25470 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
25471 for flag in $(EXTRA_TARGET_FLAGS); do \
25472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25474 (cd $(TARGET_SUBDIR)/winsup && \
25475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25477 "RANLIB=$${RANLIB}" \
25478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25482 @endif target-winsup
25484 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
25485 maybe-install-info-target-winsup:
25487 maybe-install-info-target-winsup: install-info-target-winsup
25489 install-info-target-winsup: \
25490 configure-target-winsup \
25492 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25493 r=`${PWD_COMMAND}`; export r; \
25494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495 $(NORMAL_TARGET_EXPORTS) \
25496 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
25497 for flag in $(EXTRA_TARGET_FLAGS); do \
25498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25500 (cd $(TARGET_SUBDIR)/winsup && \
25501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25503 "RANLIB=$${RANLIB}" \
25504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25508 @endif target-winsup
25510 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
25511 maybe-installcheck-target-winsup:
25513 maybe-installcheck-target-winsup: installcheck-target-winsup
25515 installcheck-target-winsup: \
25516 configure-target-winsup
25517 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(NORMAL_TARGET_EXPORTS) \
25521 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
25522 for flag in $(EXTRA_TARGET_FLAGS); do \
25523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25525 (cd $(TARGET_SUBDIR)/winsup && \
25526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528 "RANLIB=$${RANLIB}" \
25529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25533 @endif target-winsup
25535 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
25536 maybe-mostlyclean-target-winsup:
25538 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
25540 mostlyclean-target-winsup:
25541 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25542 r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 $(NORMAL_TARGET_EXPORTS) \
25545 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
25546 for flag in $(EXTRA_TARGET_FLAGS); do \
25547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25549 (cd $(TARGET_SUBDIR)/winsup && \
25550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25552 "RANLIB=$${RANLIB}" \
25553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25557 @endif target-winsup
25559 .PHONY: maybe-clean-target-winsup clean-target-winsup
25560 maybe-clean-target-winsup:
25562 maybe-clean-target-winsup: clean-target-winsup
25564 clean-target-winsup:
25565 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25566 r=`${PWD_COMMAND}`; export r; \
25567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568 $(NORMAL_TARGET_EXPORTS) \
25569 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
25570 for flag in $(EXTRA_TARGET_FLAGS); do \
25571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25573 (cd $(TARGET_SUBDIR)/winsup && \
25574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25576 "RANLIB=$${RANLIB}" \
25577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25581 @endif target-winsup
25583 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
25584 maybe-distclean-target-winsup:
25586 maybe-distclean-target-winsup: distclean-target-winsup
25588 distclean-target-winsup:
25589 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25590 r=`${PWD_COMMAND}`; export r; \
25591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592 $(NORMAL_TARGET_EXPORTS) \
25593 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
25594 for flag in $(EXTRA_TARGET_FLAGS); do \
25595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25597 (cd $(TARGET_SUBDIR)/winsup && \
25598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25600 "RANLIB=$${RANLIB}" \
25601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25605 @endif target-winsup
25607 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
25608 maybe-maintainer-clean-target-winsup:
25610 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
25612 maintainer-clean-target-winsup:
25613 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25614 r=`${PWD_COMMAND}`; export r; \
25615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25616 $(NORMAL_TARGET_EXPORTS) \
25617 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
25618 for flag in $(EXTRA_TARGET_FLAGS); do \
25619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25621 (cd $(TARGET_SUBDIR)/winsup && \
25622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25624 "RANLIB=$${RANLIB}" \
25625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25626 maintainer-clean) \
25629 @endif target-winsup
25632 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
25633 maybe-configure-target-libgloss:
25634 @if target-libgloss
25635 maybe-configure-target-libgloss: configure-target-libgloss
25637 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25638 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
25639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
25640 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
25641 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
25643 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
25644 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
25645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
25646 r=`${PWD_COMMAND}`; export r; \
25647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25648 $(NORMAL_TARGET_EXPORTS) \
25649 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
25650 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
25651 case $(srcdir) in \
25652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25653 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
25654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25656 srcdiroption="--srcdir=$${topdir}/libgloss"; \
25657 libsrcdir="$$s/libgloss"; \
25658 rm -f no-such-file || : ; \
25659 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25660 $(TARGET_CONFIGARGS) $${srcdiroption} \
25661 --with-target-subdir="$(TARGET_SUBDIR)" \
25663 @endif target-libgloss
25665 .PHONY: all-target-libgloss maybe-all-target-libgloss
25666 maybe-all-target-libgloss:
25667 @if target-libgloss
25668 TARGET-target-libgloss=all
25669 maybe-all-target-libgloss: all-target-libgloss
25670 all-target-libgloss: configure-target-libgloss
25671 @r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(NORMAL_TARGET_EXPORTS) \
25674 (cd $(TARGET_SUBDIR)/libgloss && \
25675 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
25676 @endif target-libgloss
25678 .PHONY: check-target-libgloss maybe-check-target-libgloss
25679 maybe-check-target-libgloss:
25680 @if target-libgloss
25681 maybe-check-target-libgloss: check-target-libgloss
25683 # Dummy target for uncheckable module.
25684 check-target-libgloss:
25686 @endif target-libgloss
25688 .PHONY: install-target-libgloss maybe-install-target-libgloss
25689 maybe-install-target-libgloss:
25690 @if target-libgloss
25691 maybe-install-target-libgloss: install-target-libgloss
25693 install-target-libgloss: installdirs
25694 @r=`${PWD_COMMAND}`; export r; \
25695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25696 $(NORMAL_TARGET_EXPORTS) \
25697 (cd $(TARGET_SUBDIR)/libgloss && \
25698 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25700 @endif target-libgloss
25702 # Other targets (info, dvi, etc.)
25704 .PHONY: maybe-info-target-libgloss info-target-libgloss
25705 maybe-info-target-libgloss:
25706 @if target-libgloss
25707 maybe-info-target-libgloss: info-target-libgloss
25709 info-target-libgloss: \
25710 configure-target-libgloss
25711 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25712 r=`${PWD_COMMAND}`; export r; \
25713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25714 $(NORMAL_TARGET_EXPORTS) \
25715 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
25716 for flag in $(EXTRA_TARGET_FLAGS); do \
25717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25719 (cd $(TARGET_SUBDIR)/libgloss && \
25720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25722 "RANLIB=$${RANLIB}" \
25723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25727 @endif target-libgloss
25729 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
25730 maybe-dvi-target-libgloss:
25731 @if target-libgloss
25732 maybe-dvi-target-libgloss: dvi-target-libgloss
25734 dvi-target-libgloss: \
25735 configure-target-libgloss
25736 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25737 r=`${PWD_COMMAND}`; export r; \
25738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25739 $(NORMAL_TARGET_EXPORTS) \
25740 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
25741 for flag in $(EXTRA_TARGET_FLAGS); do \
25742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25744 (cd $(TARGET_SUBDIR)/libgloss && \
25745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25747 "RANLIB=$${RANLIB}" \
25748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25752 @endif target-libgloss
25754 .PHONY: maybe-html-target-libgloss html-target-libgloss
25755 maybe-html-target-libgloss:
25756 @if target-libgloss
25757 maybe-html-target-libgloss: html-target-libgloss
25759 html-target-libgloss: \
25760 configure-target-libgloss
25761 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25762 r=`${PWD_COMMAND}`; export r; \
25763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25764 $(NORMAL_TARGET_EXPORTS) \
25765 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
25766 for flag in $(EXTRA_TARGET_FLAGS); do \
25767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25769 (cd $(TARGET_SUBDIR)/libgloss && \
25770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25772 "RANLIB=$${RANLIB}" \
25773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25777 @endif target-libgloss
25779 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
25780 maybe-TAGS-target-libgloss:
25781 @if target-libgloss
25782 maybe-TAGS-target-libgloss: TAGS-target-libgloss
25784 TAGS-target-libgloss: \
25785 configure-target-libgloss
25786 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25787 r=`${PWD_COMMAND}`; export r; \
25788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25789 $(NORMAL_TARGET_EXPORTS) \
25790 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
25791 for flag in $(EXTRA_TARGET_FLAGS); do \
25792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25794 (cd $(TARGET_SUBDIR)/libgloss && \
25795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25797 "RANLIB=$${RANLIB}" \
25798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25802 @endif target-libgloss
25804 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
25805 maybe-install-info-target-libgloss:
25806 @if target-libgloss
25807 maybe-install-info-target-libgloss: install-info-target-libgloss
25809 install-info-target-libgloss: \
25810 configure-target-libgloss \
25811 info-target-libgloss
25812 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25813 r=`${PWD_COMMAND}`; export r; \
25814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25815 $(NORMAL_TARGET_EXPORTS) \
25816 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
25817 for flag in $(EXTRA_TARGET_FLAGS); do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25820 (cd $(TARGET_SUBDIR)/libgloss && \
25821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823 "RANLIB=$${RANLIB}" \
25824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25828 @endif target-libgloss
25830 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
25831 maybe-installcheck-target-libgloss:
25832 @if target-libgloss
25833 maybe-installcheck-target-libgloss: installcheck-target-libgloss
25835 installcheck-target-libgloss: \
25836 configure-target-libgloss
25837 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25838 r=`${PWD_COMMAND}`; export r; \
25839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25840 $(NORMAL_TARGET_EXPORTS) \
25841 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
25842 for flag in $(EXTRA_TARGET_FLAGS); do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25845 (cd $(TARGET_SUBDIR)/libgloss && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25848 "RANLIB=$${RANLIB}" \
25849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25853 @endif target-libgloss
25855 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
25856 maybe-mostlyclean-target-libgloss:
25857 @if target-libgloss
25858 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
25860 mostlyclean-target-libgloss:
25861 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(NORMAL_TARGET_EXPORTS) \
25865 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
25866 for flag in $(EXTRA_TARGET_FLAGS); do \
25867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25869 (cd $(TARGET_SUBDIR)/libgloss && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25877 @endif target-libgloss
25879 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
25880 maybe-clean-target-libgloss:
25881 @if target-libgloss
25882 maybe-clean-target-libgloss: clean-target-libgloss
25884 clean-target-libgloss:
25885 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25886 r=`${PWD_COMMAND}`; export r; \
25887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(NORMAL_TARGET_EXPORTS) \
25889 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
25890 for flag in $(EXTRA_TARGET_FLAGS); do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25893 (cd $(TARGET_SUBDIR)/libgloss && \
25894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896 "RANLIB=$${RANLIB}" \
25897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25901 @endif target-libgloss
25903 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
25904 maybe-distclean-target-libgloss:
25905 @if target-libgloss
25906 maybe-distclean-target-libgloss: distclean-target-libgloss
25908 distclean-target-libgloss:
25909 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(NORMAL_TARGET_EXPORTS) \
25913 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
25914 for flag in $(EXTRA_TARGET_FLAGS); do \
25915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917 (cd $(TARGET_SUBDIR)/libgloss && \
25918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920 "RANLIB=$${RANLIB}" \
25921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25925 @endif target-libgloss
25927 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
25928 maybe-maintainer-clean-target-libgloss:
25929 @if target-libgloss
25930 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
25932 maintainer-clean-target-libgloss:
25933 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936 $(NORMAL_TARGET_EXPORTS) \
25937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
25938 for flag in $(EXTRA_TARGET_FLAGS); do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25941 (cd $(TARGET_SUBDIR)/libgloss && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946 maintainer-clean) \
25949 @endif target-libgloss
25952 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
25953 maybe-configure-target-libiberty:
25954 @if target-libiberty
25955 maybe-configure-target-libiberty: configure-target-libiberty
25957 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25958 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
25959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25960 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
25961 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
25963 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
25964 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
25965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968 $(NORMAL_TARGET_EXPORTS) \
25969 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
25970 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
25971 case $(srcdir) in \
25972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25973 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
25974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25976 srcdiroption="--srcdir=$${topdir}/libiberty"; \
25977 libsrcdir="$$s/libiberty"; \
25978 rm -f no-such-file || : ; \
25979 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25980 $(TARGET_CONFIGARGS) $${srcdiroption} \
25981 --with-target-subdir="$(TARGET_SUBDIR)" \
25983 @endif target-libiberty
25985 .PHONY: all-target-libiberty maybe-all-target-libiberty
25986 maybe-all-target-libiberty:
25987 @if target-libiberty
25988 TARGET-target-libiberty=all
25989 maybe-all-target-libiberty: all-target-libiberty
25990 all-target-libiberty: configure-target-libiberty
25991 @r=`${PWD_COMMAND}`; export r; \
25992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25993 $(NORMAL_TARGET_EXPORTS) \
25994 (cd $(TARGET_SUBDIR)/libiberty && \
25995 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
25996 @endif target-libiberty
25998 .PHONY: check-target-libiberty maybe-check-target-libiberty
25999 maybe-check-target-libiberty:
26000 @if target-libiberty
26001 maybe-check-target-libiberty: check-target-libiberty
26003 check-target-libiberty:
26004 @r=`${PWD_COMMAND}`; export r; \
26005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26006 $(NORMAL_TARGET_EXPORTS) \
26007 (cd $(TARGET_SUBDIR)/libiberty && \
26008 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26010 @endif target-libiberty
26012 .PHONY: install-target-libiberty maybe-install-target-libiberty
26013 maybe-install-target-libiberty:
26014 @if target-libiberty
26015 maybe-install-target-libiberty: install-target-libiberty
26017 install-target-libiberty: installdirs
26018 @r=`${PWD_COMMAND}`; export r; \
26019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020 $(NORMAL_TARGET_EXPORTS) \
26021 (cd $(TARGET_SUBDIR)/libiberty && \
26022 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26024 @endif target-libiberty
26026 # Other targets (info, dvi, etc.)
26028 .PHONY: maybe-info-target-libiberty info-target-libiberty
26029 maybe-info-target-libiberty:
26030 @if target-libiberty
26031 maybe-info-target-libiberty: info-target-libiberty
26033 info-target-libiberty: \
26034 configure-target-libiberty
26035 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26036 r=`${PWD_COMMAND}`; export r; \
26037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26038 $(NORMAL_TARGET_EXPORTS) \
26039 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
26040 for flag in $(EXTRA_TARGET_FLAGS); do \
26041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26043 (cd $(TARGET_SUBDIR)/libiberty && \
26044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046 "RANLIB=$${RANLIB}" \
26047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26051 @endif target-libiberty
26053 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
26054 maybe-dvi-target-libiberty:
26055 @if target-libiberty
26056 maybe-dvi-target-libiberty: dvi-target-libiberty
26058 dvi-target-libiberty: \
26059 configure-target-libiberty
26060 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26061 r=`${PWD_COMMAND}`; export r; \
26062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26063 $(NORMAL_TARGET_EXPORTS) \
26064 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
26065 for flag in $(EXTRA_TARGET_FLAGS); do \
26066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26068 (cd $(TARGET_SUBDIR)/libiberty && \
26069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26071 "RANLIB=$${RANLIB}" \
26072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26076 @endif target-libiberty
26078 .PHONY: maybe-html-target-libiberty html-target-libiberty
26079 maybe-html-target-libiberty:
26080 @if target-libiberty
26081 maybe-html-target-libiberty: html-target-libiberty
26083 html-target-libiberty: \
26084 configure-target-libiberty
26085 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26086 r=`${PWD_COMMAND}`; export r; \
26087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088 $(NORMAL_TARGET_EXPORTS) \
26089 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
26090 for flag in $(EXTRA_TARGET_FLAGS); do \
26091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26093 (cd $(TARGET_SUBDIR)/libiberty && \
26094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26096 "RANLIB=$${RANLIB}" \
26097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26101 @endif target-libiberty
26103 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
26104 maybe-TAGS-target-libiberty:
26105 @if target-libiberty
26106 maybe-TAGS-target-libiberty: TAGS-target-libiberty
26108 TAGS-target-libiberty: \
26109 configure-target-libiberty
26110 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26111 r=`${PWD_COMMAND}`; export r; \
26112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113 $(NORMAL_TARGET_EXPORTS) \
26114 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
26115 for flag in $(EXTRA_TARGET_FLAGS); do \
26116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26118 (cd $(TARGET_SUBDIR)/libiberty && \
26119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26121 "RANLIB=$${RANLIB}" \
26122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26126 @endif target-libiberty
26128 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
26129 maybe-install-info-target-libiberty:
26130 @if target-libiberty
26131 maybe-install-info-target-libiberty: install-info-target-libiberty
26133 install-info-target-libiberty: \
26134 configure-target-libiberty \
26135 info-target-libiberty
26136 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26137 r=`${PWD_COMMAND}`; export r; \
26138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 $(NORMAL_TARGET_EXPORTS) \
26140 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
26141 for flag in $(EXTRA_TARGET_FLAGS); do \
26142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26144 (cd $(TARGET_SUBDIR)/libiberty && \
26145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26147 "RANLIB=$${RANLIB}" \
26148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26152 @endif target-libiberty
26154 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
26155 maybe-installcheck-target-libiberty:
26156 @if target-libiberty
26157 maybe-installcheck-target-libiberty: installcheck-target-libiberty
26159 installcheck-target-libiberty: \
26160 configure-target-libiberty
26161 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26162 r=`${PWD_COMMAND}`; export r; \
26163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164 $(NORMAL_TARGET_EXPORTS) \
26165 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
26166 for flag in $(EXTRA_TARGET_FLAGS); do \
26167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26169 (cd $(TARGET_SUBDIR)/libiberty && \
26170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26172 "RANLIB=$${RANLIB}" \
26173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26177 @endif target-libiberty
26179 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
26180 maybe-mostlyclean-target-libiberty:
26181 @if target-libiberty
26182 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
26184 mostlyclean-target-libiberty:
26185 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26186 r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 $(NORMAL_TARGET_EXPORTS) \
26189 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
26190 for flag in $(EXTRA_TARGET_FLAGS); do \
26191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26193 (cd $(TARGET_SUBDIR)/libiberty && \
26194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26196 "RANLIB=$${RANLIB}" \
26197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26201 @endif target-libiberty
26203 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
26204 maybe-clean-target-libiberty:
26205 @if target-libiberty
26206 maybe-clean-target-libiberty: clean-target-libiberty
26208 clean-target-libiberty:
26209 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26210 r=`${PWD_COMMAND}`; export r; \
26211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26212 $(NORMAL_TARGET_EXPORTS) \
26213 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
26214 for flag in $(EXTRA_TARGET_FLAGS); do \
26215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26217 (cd $(TARGET_SUBDIR)/libiberty && \
26218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26220 "RANLIB=$${RANLIB}" \
26221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26225 @endif target-libiberty
26227 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
26228 maybe-distclean-target-libiberty:
26229 @if target-libiberty
26230 maybe-distclean-target-libiberty: distclean-target-libiberty
26232 distclean-target-libiberty:
26233 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26234 r=`${PWD_COMMAND}`; export r; \
26235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26236 $(NORMAL_TARGET_EXPORTS) \
26237 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
26238 for flag in $(EXTRA_TARGET_FLAGS); do \
26239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26241 (cd $(TARGET_SUBDIR)/libiberty && \
26242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26244 "RANLIB=$${RANLIB}" \
26245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26249 @endif target-libiberty
26251 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
26252 maybe-maintainer-clean-target-libiberty:
26253 @if target-libiberty
26254 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
26256 maintainer-clean-target-libiberty:
26257 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26258 r=`${PWD_COMMAND}`; export r; \
26259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26260 $(NORMAL_TARGET_EXPORTS) \
26261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
26262 for flag in $(EXTRA_TARGET_FLAGS); do \
26263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26265 (cd $(TARGET_SUBDIR)/libiberty && \
26266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26268 "RANLIB=$${RANLIB}" \
26269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26270 maintainer-clean) \
26273 @endif target-libiberty
26276 .PHONY: configure-target-gperf maybe-configure-target-gperf
26277 maybe-configure-target-gperf:
26279 maybe-configure-target-gperf: configure-target-gperf
26281 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26282 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
26283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
26284 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
26285 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
26287 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
26288 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
26289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
26290 r=`${PWD_COMMAND}`; export r; \
26291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26292 $(NORMAL_TARGET_EXPORTS) \
26293 echo Configuring in $(TARGET_SUBDIR)/gperf; \
26294 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
26295 case $(srcdir) in \
26296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26297 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
26298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26300 srcdiroption="--srcdir=$${topdir}/gperf"; \
26301 libsrcdir="$$s/gperf"; \
26302 rm -f no-such-file || : ; \
26303 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26304 $(TARGET_CONFIGARGS) $${srcdiroption} \
26305 --with-target-subdir="$(TARGET_SUBDIR)" \
26307 @endif target-gperf
26309 .PHONY: all-target-gperf maybe-all-target-gperf
26310 maybe-all-target-gperf:
26312 TARGET-target-gperf=all
26313 maybe-all-target-gperf: all-target-gperf
26314 all-target-gperf: configure-target-gperf
26315 @r=`${PWD_COMMAND}`; export r; \
26316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26317 $(NORMAL_TARGET_EXPORTS) \
26318 (cd $(TARGET_SUBDIR)/gperf && \
26319 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
26320 @endif target-gperf
26322 .PHONY: check-target-gperf maybe-check-target-gperf
26323 maybe-check-target-gperf:
26325 maybe-check-target-gperf: check-target-gperf
26327 check-target-gperf:
26328 @r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 $(NORMAL_TARGET_EXPORTS) \
26331 (cd $(TARGET_SUBDIR)/gperf && \
26332 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26334 @endif target-gperf
26336 .PHONY: install-target-gperf maybe-install-target-gperf
26337 maybe-install-target-gperf:
26339 maybe-install-target-gperf: install-target-gperf
26341 install-target-gperf: installdirs
26342 @r=`${PWD_COMMAND}`; export r; \
26343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26344 $(NORMAL_TARGET_EXPORTS) \
26345 (cd $(TARGET_SUBDIR)/gperf && \
26346 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26348 @endif target-gperf
26350 # Other targets (info, dvi, etc.)
26352 .PHONY: maybe-info-target-gperf info-target-gperf
26353 maybe-info-target-gperf:
26355 maybe-info-target-gperf: info-target-gperf
26357 info-target-gperf: \
26358 configure-target-gperf
26359 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26360 r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(NORMAL_TARGET_EXPORTS) \
26363 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
26364 for flag in $(EXTRA_TARGET_FLAGS); do \
26365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26367 (cd $(TARGET_SUBDIR)/gperf && \
26368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370 "RANLIB=$${RANLIB}" \
26371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26375 @endif target-gperf
26377 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
26378 maybe-dvi-target-gperf:
26380 maybe-dvi-target-gperf: dvi-target-gperf
26382 dvi-target-gperf: \
26383 configure-target-gperf
26384 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(NORMAL_TARGET_EXPORTS) \
26388 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
26389 for flag in $(EXTRA_TARGET_FLAGS); do \
26390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26392 (cd $(TARGET_SUBDIR)/gperf && \
26393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26395 "RANLIB=$${RANLIB}" \
26396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26400 @endif target-gperf
26402 .PHONY: maybe-html-target-gperf html-target-gperf
26403 maybe-html-target-gperf:
26405 maybe-html-target-gperf: html-target-gperf
26407 html-target-gperf: \
26408 configure-target-gperf
26409 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26410 r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412 $(NORMAL_TARGET_EXPORTS) \
26413 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
26414 for flag in $(EXTRA_TARGET_FLAGS); do \
26415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26417 (cd $(TARGET_SUBDIR)/gperf && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26420 "RANLIB=$${RANLIB}" \
26421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26425 @endif target-gperf
26427 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
26428 maybe-TAGS-target-gperf:
26430 maybe-TAGS-target-gperf: TAGS-target-gperf
26432 TAGS-target-gperf: \
26433 configure-target-gperf
26434 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26435 r=`${PWD_COMMAND}`; export r; \
26436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26437 $(NORMAL_TARGET_EXPORTS) \
26438 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
26439 for flag in $(EXTRA_TARGET_FLAGS); do \
26440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 (cd $(TARGET_SUBDIR)/gperf && \
26443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26445 "RANLIB=$${RANLIB}" \
26446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26450 @endif target-gperf
26452 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
26453 maybe-install-info-target-gperf:
26455 maybe-install-info-target-gperf: install-info-target-gperf
26457 install-info-target-gperf: \
26458 configure-target-gperf \
26460 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26461 r=`${PWD_COMMAND}`; export r; \
26462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26463 $(NORMAL_TARGET_EXPORTS) \
26464 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
26465 for flag in $(EXTRA_TARGET_FLAGS); do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 (cd $(TARGET_SUBDIR)/gperf && \
26469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471 "RANLIB=$${RANLIB}" \
26472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26476 @endif target-gperf
26478 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
26479 maybe-installcheck-target-gperf:
26481 maybe-installcheck-target-gperf: installcheck-target-gperf
26483 installcheck-target-gperf: \
26484 configure-target-gperf
26485 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(NORMAL_TARGET_EXPORTS) \
26489 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
26490 for flag in $(EXTRA_TARGET_FLAGS); do \
26491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26493 (cd $(TARGET_SUBDIR)/gperf && \
26494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496 "RANLIB=$${RANLIB}" \
26497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26501 @endif target-gperf
26503 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
26504 maybe-mostlyclean-target-gperf:
26506 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
26508 mostlyclean-target-gperf:
26509 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26510 r=`${PWD_COMMAND}`; export r; \
26511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26512 $(NORMAL_TARGET_EXPORTS) \
26513 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
26514 for flag in $(EXTRA_TARGET_FLAGS); do \
26515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26517 (cd $(TARGET_SUBDIR)/gperf && \
26518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26520 "RANLIB=$${RANLIB}" \
26521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26525 @endif target-gperf
26527 .PHONY: maybe-clean-target-gperf clean-target-gperf
26528 maybe-clean-target-gperf:
26530 maybe-clean-target-gperf: clean-target-gperf
26532 clean-target-gperf:
26533 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26534 r=`${PWD_COMMAND}`; export r; \
26535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26536 $(NORMAL_TARGET_EXPORTS) \
26537 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
26538 for flag in $(EXTRA_TARGET_FLAGS); do \
26539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26541 (cd $(TARGET_SUBDIR)/gperf && \
26542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26544 "RANLIB=$${RANLIB}" \
26545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26549 @endif target-gperf
26551 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
26552 maybe-distclean-target-gperf:
26554 maybe-distclean-target-gperf: distclean-target-gperf
26556 distclean-target-gperf:
26557 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26558 r=`${PWD_COMMAND}`; export r; \
26559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 $(NORMAL_TARGET_EXPORTS) \
26561 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
26562 for flag in $(EXTRA_TARGET_FLAGS); do \
26563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26565 (cd $(TARGET_SUBDIR)/gperf && \
26566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26568 "RANLIB=$${RANLIB}" \
26569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26573 @endif target-gperf
26575 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
26576 maybe-maintainer-clean-target-gperf:
26578 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
26580 maintainer-clean-target-gperf:
26581 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26582 r=`${PWD_COMMAND}`; export r; \
26583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26584 $(NORMAL_TARGET_EXPORTS) \
26585 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
26586 for flag in $(EXTRA_TARGET_FLAGS); do \
26587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26589 (cd $(TARGET_SUBDIR)/gperf && \
26590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26592 "RANLIB=$${RANLIB}" \
26593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26594 maintainer-clean) \
26597 @endif target-gperf
26600 .PHONY: configure-target-examples maybe-configure-target-examples
26601 maybe-configure-target-examples:
26602 @if target-examples
26603 maybe-configure-target-examples: configure-target-examples
26605 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26606 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
26607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
26608 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
26609 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
26611 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
26612 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
26613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
26614 r=`${PWD_COMMAND}`; export r; \
26615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26616 $(NORMAL_TARGET_EXPORTS) \
26617 echo Configuring in $(TARGET_SUBDIR)/examples; \
26618 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
26619 case $(srcdir) in \
26620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26621 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
26622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26624 srcdiroption="--srcdir=$${topdir}/examples"; \
26625 libsrcdir="$$s/examples"; \
26626 rm -f no-such-file || : ; \
26627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26628 $(TARGET_CONFIGARGS) $${srcdiroption} \
26629 --with-target-subdir="$(TARGET_SUBDIR)" \
26631 @endif target-examples
26633 .PHONY: all-target-examples maybe-all-target-examples
26634 maybe-all-target-examples:
26635 @if target-examples
26636 TARGET-target-examples=all
26637 maybe-all-target-examples: all-target-examples
26638 all-target-examples: configure-target-examples
26639 @r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(NORMAL_TARGET_EXPORTS) \
26642 (cd $(TARGET_SUBDIR)/examples && \
26643 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
26644 @endif target-examples
26646 .PHONY: check-target-examples maybe-check-target-examples
26647 maybe-check-target-examples:
26648 @if target-examples
26649 maybe-check-target-examples: check-target-examples
26651 # Dummy target for uncheckable module.
26652 check-target-examples:
26654 @endif target-examples
26656 .PHONY: install-target-examples maybe-install-target-examples
26657 maybe-install-target-examples:
26658 @if target-examples
26659 maybe-install-target-examples: install-target-examples
26661 # Dummy target for uninstallable.
26662 install-target-examples:
26664 @endif target-examples
26666 # Other targets (info, dvi, etc.)
26668 .PHONY: maybe-info-target-examples info-target-examples
26669 maybe-info-target-examples:
26670 @if target-examples
26671 maybe-info-target-examples: info-target-examples
26673 info-target-examples: \
26674 configure-target-examples
26675 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26676 r=`${PWD_COMMAND}`; export r; \
26677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 $(NORMAL_TARGET_EXPORTS) \
26679 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
26680 for flag in $(EXTRA_TARGET_FLAGS); do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26683 (cd $(TARGET_SUBDIR)/examples && \
26684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26686 "RANLIB=$${RANLIB}" \
26687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26691 @endif target-examples
26693 .PHONY: maybe-dvi-target-examples dvi-target-examples
26694 maybe-dvi-target-examples:
26695 @if target-examples
26696 maybe-dvi-target-examples: dvi-target-examples
26698 dvi-target-examples: \
26699 configure-target-examples
26700 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26701 r=`${PWD_COMMAND}`; export r; \
26702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26703 $(NORMAL_TARGET_EXPORTS) \
26704 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
26705 for flag in $(EXTRA_TARGET_FLAGS); do \
26706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26708 (cd $(TARGET_SUBDIR)/examples && \
26709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26711 "RANLIB=$${RANLIB}" \
26712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26716 @endif target-examples
26718 .PHONY: maybe-html-target-examples html-target-examples
26719 maybe-html-target-examples:
26720 @if target-examples
26721 maybe-html-target-examples: html-target-examples
26723 html-target-examples: \
26724 configure-target-examples
26725 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26726 r=`${PWD_COMMAND}`; export r; \
26727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728 $(NORMAL_TARGET_EXPORTS) \
26729 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
26730 for flag in $(EXTRA_TARGET_FLAGS); do \
26731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26733 (cd $(TARGET_SUBDIR)/examples && \
26734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26736 "RANLIB=$${RANLIB}" \
26737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26741 @endif target-examples
26743 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
26744 maybe-TAGS-target-examples:
26745 @if target-examples
26746 maybe-TAGS-target-examples: TAGS-target-examples
26748 TAGS-target-examples: \
26749 configure-target-examples
26750 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26751 r=`${PWD_COMMAND}`; export r; \
26752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26753 $(NORMAL_TARGET_EXPORTS) \
26754 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
26755 for flag in $(EXTRA_TARGET_FLAGS); do \
26756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26758 (cd $(TARGET_SUBDIR)/examples && \
26759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26761 "RANLIB=$${RANLIB}" \
26762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26766 @endif target-examples
26768 .PHONY: maybe-install-info-target-examples install-info-target-examples
26769 maybe-install-info-target-examples:
26770 @if target-examples
26771 maybe-install-info-target-examples: install-info-target-examples
26773 install-info-target-examples: \
26774 configure-target-examples \
26775 info-target-examples
26776 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26777 r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 $(NORMAL_TARGET_EXPORTS) \
26780 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
26781 for flag in $(EXTRA_TARGET_FLAGS); do \
26782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26784 (cd $(TARGET_SUBDIR)/examples && \
26785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26787 "RANLIB=$${RANLIB}" \
26788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26792 @endif target-examples
26794 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
26795 maybe-installcheck-target-examples:
26796 @if target-examples
26797 maybe-installcheck-target-examples: installcheck-target-examples
26799 installcheck-target-examples: \
26800 configure-target-examples
26801 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804 $(NORMAL_TARGET_EXPORTS) \
26805 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
26806 for flag in $(EXTRA_TARGET_FLAGS); do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26809 (cd $(TARGET_SUBDIR)/examples && \
26810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812 "RANLIB=$${RANLIB}" \
26813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26817 @endif target-examples
26819 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
26820 maybe-mostlyclean-target-examples:
26821 @if target-examples
26822 maybe-mostlyclean-target-examples: mostlyclean-target-examples
26824 mostlyclean-target-examples:
26825 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26826 r=`${PWD_COMMAND}`; export r; \
26827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828 $(NORMAL_TARGET_EXPORTS) \
26829 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
26830 for flag in $(EXTRA_TARGET_FLAGS); do \
26831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 (cd $(TARGET_SUBDIR)/examples && \
26834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26836 "RANLIB=$${RANLIB}" \
26837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26841 @endif target-examples
26843 .PHONY: maybe-clean-target-examples clean-target-examples
26844 maybe-clean-target-examples:
26845 @if target-examples
26846 maybe-clean-target-examples: clean-target-examples
26848 clean-target-examples:
26849 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26850 r=`${PWD_COMMAND}`; export r; \
26851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26852 $(NORMAL_TARGET_EXPORTS) \
26853 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
26854 for flag in $(EXTRA_TARGET_FLAGS); do \
26855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26857 (cd $(TARGET_SUBDIR)/examples && \
26858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26860 "RANLIB=$${RANLIB}" \
26861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26865 @endif target-examples
26867 .PHONY: maybe-distclean-target-examples distclean-target-examples
26868 maybe-distclean-target-examples:
26869 @if target-examples
26870 maybe-distclean-target-examples: distclean-target-examples
26872 distclean-target-examples:
26873 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26874 r=`${PWD_COMMAND}`; export r; \
26875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26876 $(NORMAL_TARGET_EXPORTS) \
26877 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
26878 for flag in $(EXTRA_TARGET_FLAGS); do \
26879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26881 (cd $(TARGET_SUBDIR)/examples && \
26882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26884 "RANLIB=$${RANLIB}" \
26885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26889 @endif target-examples
26891 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
26892 maybe-maintainer-clean-target-examples:
26893 @if target-examples
26894 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
26896 maintainer-clean-target-examples:
26897 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26898 r=`${PWD_COMMAND}`; export r; \
26899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26900 $(NORMAL_TARGET_EXPORTS) \
26901 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
26902 for flag in $(EXTRA_TARGET_FLAGS); do \
26903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26905 (cd $(TARGET_SUBDIR)/examples && \
26906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26908 "RANLIB=$${RANLIB}" \
26909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26910 maintainer-clean) \
26913 @endif target-examples
26916 .PHONY: configure-target-libffi maybe-configure-target-libffi
26917 maybe-configure-target-libffi:
26919 maybe-configure-target-libffi: configure-target-libffi
26921 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26922 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
26923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26924 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
26925 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
26927 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
26928 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
26929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26930 r=`${PWD_COMMAND}`; export r; \
26931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26932 $(NORMAL_TARGET_EXPORTS) \
26933 echo Configuring in $(TARGET_SUBDIR)/libffi; \
26934 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
26935 case $(srcdir) in \
26936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26937 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
26938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26940 srcdiroption="--srcdir=$${topdir}/libffi"; \
26941 libsrcdir="$$s/libffi"; \
26942 rm -f no-such-file || : ; \
26943 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26944 $(TARGET_CONFIGARGS) $${srcdiroption} \
26945 --with-target-subdir="$(TARGET_SUBDIR)" \
26947 @endif target-libffi
26949 .PHONY: all-target-libffi maybe-all-target-libffi
26950 maybe-all-target-libffi:
26952 TARGET-target-libffi=all
26953 maybe-all-target-libffi: all-target-libffi
26954 all-target-libffi: configure-target-libffi
26955 @r=`${PWD_COMMAND}`; export r; \
26956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26957 $(NORMAL_TARGET_EXPORTS) \
26958 (cd $(TARGET_SUBDIR)/libffi && \
26959 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
26960 @endif target-libffi
26962 .PHONY: check-target-libffi maybe-check-target-libffi
26963 maybe-check-target-libffi:
26965 maybe-check-target-libffi: check-target-libffi
26967 check-target-libffi:
26968 @r=`${PWD_COMMAND}`; export r; \
26969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970 $(NORMAL_TARGET_EXPORTS) \
26971 (cd $(TARGET_SUBDIR)/libffi && \
26972 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26974 @endif target-libffi
26976 .PHONY: install-target-libffi maybe-install-target-libffi
26977 maybe-install-target-libffi:
26979 maybe-install-target-libffi: install-target-libffi
26981 install-target-libffi: installdirs
26982 @r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984 $(NORMAL_TARGET_EXPORTS) \
26985 (cd $(TARGET_SUBDIR)/libffi && \
26986 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26988 @endif target-libffi
26990 # Other targets (info, dvi, etc.)
26992 .PHONY: maybe-info-target-libffi info-target-libffi
26993 maybe-info-target-libffi:
26995 maybe-info-target-libffi: info-target-libffi
26997 info-target-libffi: \
26998 configure-target-libffi
26999 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27000 r=`${PWD_COMMAND}`; export r; \
27001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27002 $(NORMAL_TARGET_EXPORTS) \
27003 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
27004 for flag in $(EXTRA_TARGET_FLAGS); do \
27005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27007 (cd $(TARGET_SUBDIR)/libffi && \
27008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27010 "RANLIB=$${RANLIB}" \
27011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27015 @endif target-libffi
27017 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
27018 maybe-dvi-target-libffi:
27020 maybe-dvi-target-libffi: dvi-target-libffi
27022 dvi-target-libffi: \
27023 configure-target-libffi
27024 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27025 r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 $(NORMAL_TARGET_EXPORTS) \
27028 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
27029 for flag in $(EXTRA_TARGET_FLAGS); do \
27030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27032 (cd $(TARGET_SUBDIR)/libffi && \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035 "RANLIB=$${RANLIB}" \
27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27040 @endif target-libffi
27042 .PHONY: maybe-html-target-libffi html-target-libffi
27043 maybe-html-target-libffi:
27045 maybe-html-target-libffi: html-target-libffi
27047 html-target-libffi: \
27048 configure-target-libffi
27049 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(NORMAL_TARGET_EXPORTS) \
27053 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
27054 for flag in $(EXTRA_TARGET_FLAGS); do \
27055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 (cd $(TARGET_SUBDIR)/libffi && \
27058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27060 "RANLIB=$${RANLIB}" \
27061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27065 @endif target-libffi
27067 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
27068 maybe-TAGS-target-libffi:
27070 maybe-TAGS-target-libffi: TAGS-target-libffi
27072 TAGS-target-libffi: \
27073 configure-target-libffi
27074 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27075 r=`${PWD_COMMAND}`; export r; \
27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077 $(NORMAL_TARGET_EXPORTS) \
27078 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
27079 for flag in $(EXTRA_TARGET_FLAGS); do \
27080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27082 (cd $(TARGET_SUBDIR)/libffi && \
27083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27085 "RANLIB=$${RANLIB}" \
27086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27090 @endif target-libffi
27092 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
27093 maybe-install-info-target-libffi:
27095 maybe-install-info-target-libffi: install-info-target-libffi
27097 install-info-target-libffi: \
27098 configure-target-libffi \
27100 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27101 r=`${PWD_COMMAND}`; export r; \
27102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27103 $(NORMAL_TARGET_EXPORTS) \
27104 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
27105 for flag in $(EXTRA_TARGET_FLAGS); do \
27106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27108 (cd $(TARGET_SUBDIR)/libffi && \
27109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27111 "RANLIB=$${RANLIB}" \
27112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27116 @endif target-libffi
27118 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
27119 maybe-installcheck-target-libffi:
27121 maybe-installcheck-target-libffi: installcheck-target-libffi
27123 installcheck-target-libffi: \
27124 configure-target-libffi
27125 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27126 r=`${PWD_COMMAND}`; export r; \
27127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27128 $(NORMAL_TARGET_EXPORTS) \
27129 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
27130 for flag in $(EXTRA_TARGET_FLAGS); do \
27131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27133 (cd $(TARGET_SUBDIR)/libffi && \
27134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27136 "RANLIB=$${RANLIB}" \
27137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27141 @endif target-libffi
27143 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
27144 maybe-mostlyclean-target-libffi:
27146 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
27148 mostlyclean-target-libffi:
27149 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27150 r=`${PWD_COMMAND}`; export r; \
27151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27152 $(NORMAL_TARGET_EXPORTS) \
27153 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
27154 for flag in $(EXTRA_TARGET_FLAGS); do \
27155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27157 (cd $(TARGET_SUBDIR)/libffi && \
27158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27160 "RANLIB=$${RANLIB}" \
27161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27165 @endif target-libffi
27167 .PHONY: maybe-clean-target-libffi clean-target-libffi
27168 maybe-clean-target-libffi:
27170 maybe-clean-target-libffi: clean-target-libffi
27172 clean-target-libffi:
27173 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27174 r=`${PWD_COMMAND}`; export r; \
27175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(NORMAL_TARGET_EXPORTS) \
27177 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
27178 for flag in $(EXTRA_TARGET_FLAGS); do \
27179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27181 (cd $(TARGET_SUBDIR)/libffi && \
27182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184 "RANLIB=$${RANLIB}" \
27185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27189 @endif target-libffi
27191 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
27192 maybe-distclean-target-libffi:
27194 maybe-distclean-target-libffi: distclean-target-libffi
27196 distclean-target-libffi:
27197 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27198 r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27200 $(NORMAL_TARGET_EXPORTS) \
27201 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
27202 for flag in $(EXTRA_TARGET_FLAGS); do \
27203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27205 (cd $(TARGET_SUBDIR)/libffi && \
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}" \
27213 @endif target-libffi
27215 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
27216 maybe-maintainer-clean-target-libffi:
27218 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
27220 maintainer-clean-target-libffi:
27221 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27222 r=`${PWD_COMMAND}`; export r; \
27223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27224 $(NORMAL_TARGET_EXPORTS) \
27225 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
27226 for flag in $(EXTRA_TARGET_FLAGS); do \
27227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27229 (cd $(TARGET_SUBDIR)/libffi && \
27230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27232 "RANLIB=$${RANLIB}" \
27233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27234 maintainer-clean) \
27237 @endif target-libffi
27240 .PHONY: configure-target-libjava maybe-configure-target-libjava
27241 maybe-configure-target-libjava:
27243 maybe-configure-target-libjava: configure-target-libjava
27245 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27246 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
27247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
27248 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
27249 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
27251 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
27252 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
27253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 $(RAW_CXX_TARGET_EXPORTS) \
27257 echo Configuring in $(TARGET_SUBDIR)/libjava; \
27258 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
27259 case $(srcdir) in \
27260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27261 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
27262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27264 srcdiroption="--srcdir=$${topdir}/libjava"; \
27265 libsrcdir="$$s/libjava"; \
27266 rm -f no-such-file || : ; \
27267 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27268 $(TARGET_CONFIGARGS) $${srcdiroption} \
27269 --with-target-subdir="$(TARGET_SUBDIR)" \
27271 @endif target-libjava
27273 .PHONY: all-target-libjava maybe-all-target-libjava
27274 maybe-all-target-libjava:
27276 TARGET-target-libjava=all
27277 maybe-all-target-libjava: all-target-libjava
27278 all-target-libjava: configure-target-libjava
27279 @r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 $(RAW_CXX_TARGET_EXPORTS) \
27282 (cd $(TARGET_SUBDIR)/libjava && \
27283 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
27284 @endif target-libjava
27286 .PHONY: check-target-libjava maybe-check-target-libjava
27287 maybe-check-target-libjava:
27289 maybe-check-target-libjava: check-target-libjava
27291 check-target-libjava:
27292 @r=`${PWD_COMMAND}`; export r; \
27293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27294 $(RAW_CXX_TARGET_EXPORTS) \
27295 (cd $(TARGET_SUBDIR)/libjava && \
27296 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27298 @endif target-libjava
27300 .PHONY: install-target-libjava maybe-install-target-libjava
27301 maybe-install-target-libjava:
27303 maybe-install-target-libjava: install-target-libjava
27305 install-target-libjava: installdirs
27306 @r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(RAW_CXX_TARGET_EXPORTS) \
27309 (cd $(TARGET_SUBDIR)/libjava && \
27310 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27312 @endif target-libjava
27314 # Other targets (info, dvi, etc.)
27316 .PHONY: maybe-info-target-libjava info-target-libjava
27317 maybe-info-target-libjava:
27319 maybe-info-target-libjava: info-target-libjava
27321 info-target-libjava: \
27322 configure-target-libjava
27323 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27324 r=`${PWD_COMMAND}`; export r; \
27325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27326 $(RAW_CXX_TARGET_EXPORTS) \
27327 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
27328 for flag in $(EXTRA_TARGET_FLAGS); do \
27329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27331 (cd $(TARGET_SUBDIR)/libjava && \
27332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27334 "RANLIB=$${RANLIB}" \
27335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27339 @endif target-libjava
27341 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
27342 maybe-dvi-target-libjava:
27344 maybe-dvi-target-libjava: dvi-target-libjava
27346 dvi-target-libjava: \
27347 configure-target-libjava
27348 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27349 r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(RAW_CXX_TARGET_EXPORTS) \
27352 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
27353 for flag in $(EXTRA_TARGET_FLAGS); do \
27354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27356 (cd $(TARGET_SUBDIR)/libjava && \
27357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27359 "RANLIB=$${RANLIB}" \
27360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27364 @endif target-libjava
27366 .PHONY: maybe-html-target-libjava html-target-libjava
27367 maybe-html-target-libjava:
27369 maybe-html-target-libjava: html-target-libjava
27371 html-target-libjava: \
27372 configure-target-libjava
27373 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27374 r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 $(RAW_CXX_TARGET_EXPORTS) \
27377 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
27378 for flag in $(EXTRA_TARGET_FLAGS); do \
27379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27381 (cd $(TARGET_SUBDIR)/libjava && \
27382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27384 "RANLIB=$${RANLIB}" \
27385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27389 @endif target-libjava
27391 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
27392 maybe-TAGS-target-libjava:
27394 maybe-TAGS-target-libjava: TAGS-target-libjava
27396 TAGS-target-libjava: \
27397 configure-target-libjava
27398 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27399 r=`${PWD_COMMAND}`; export r; \
27400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27401 $(RAW_CXX_TARGET_EXPORTS) \
27402 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
27403 for flag in $(EXTRA_TARGET_FLAGS); do \
27404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27406 (cd $(TARGET_SUBDIR)/libjava && \
27407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27409 "RANLIB=$${RANLIB}" \
27410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27414 @endif target-libjava
27416 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
27417 maybe-install-info-target-libjava:
27419 maybe-install-info-target-libjava: install-info-target-libjava
27421 install-info-target-libjava: \
27422 configure-target-libjava \
27423 info-target-libjava
27424 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27425 r=`${PWD_COMMAND}`; export r; \
27426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27427 $(RAW_CXX_TARGET_EXPORTS) \
27428 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
27429 for flag in $(EXTRA_TARGET_FLAGS); do \
27430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27432 (cd $(TARGET_SUBDIR)/libjava && \
27433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27435 "RANLIB=$${RANLIB}" \
27436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27440 @endif target-libjava
27442 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
27443 maybe-installcheck-target-libjava:
27445 maybe-installcheck-target-libjava: installcheck-target-libjava
27447 installcheck-target-libjava: \
27448 configure-target-libjava
27449 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27450 r=`${PWD_COMMAND}`; export r; \
27451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27452 $(RAW_CXX_TARGET_EXPORTS) \
27453 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
27454 for flag in $(EXTRA_TARGET_FLAGS); do \
27455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27457 (cd $(TARGET_SUBDIR)/libjava && \
27458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27460 "RANLIB=$${RANLIB}" \
27461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27465 @endif target-libjava
27467 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
27468 maybe-mostlyclean-target-libjava:
27470 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
27472 mostlyclean-target-libjava:
27473 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27474 r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(RAW_CXX_TARGET_EXPORTS) \
27477 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
27478 for flag in $(EXTRA_TARGET_FLAGS); do \
27479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27481 (cd $(TARGET_SUBDIR)/libjava && \
27482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484 "RANLIB=$${RANLIB}" \
27485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27489 @endif target-libjava
27491 .PHONY: maybe-clean-target-libjava clean-target-libjava
27492 maybe-clean-target-libjava:
27494 maybe-clean-target-libjava: clean-target-libjava
27496 clean-target-libjava:
27497 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27498 r=`${PWD_COMMAND}`; export r; \
27499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27500 $(RAW_CXX_TARGET_EXPORTS) \
27501 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
27502 for flag in $(EXTRA_TARGET_FLAGS); do \
27503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27505 (cd $(TARGET_SUBDIR)/libjava && \
27506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27508 "RANLIB=$${RANLIB}" \
27509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27513 @endif target-libjava
27515 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
27516 maybe-distclean-target-libjava:
27518 maybe-distclean-target-libjava: distclean-target-libjava
27520 distclean-target-libjava:
27521 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27522 r=`${PWD_COMMAND}`; export r; \
27523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27524 $(RAW_CXX_TARGET_EXPORTS) \
27525 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
27526 for flag in $(EXTRA_TARGET_FLAGS); do \
27527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27529 (cd $(TARGET_SUBDIR)/libjava && \
27530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27532 "RANLIB=$${RANLIB}" \
27533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27537 @endif target-libjava
27539 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
27540 maybe-maintainer-clean-target-libjava:
27542 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
27544 maintainer-clean-target-libjava:
27545 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27546 r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(RAW_CXX_TARGET_EXPORTS) \
27549 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
27550 for flag in $(EXTRA_TARGET_FLAGS); do \
27551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27553 (cd $(TARGET_SUBDIR)/libjava && \
27554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27556 "RANLIB=$${RANLIB}" \
27557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27558 maintainer-clean) \
27561 @endif target-libjava
27564 .PHONY: configure-target-zlib maybe-configure-target-zlib
27565 maybe-configure-target-zlib:
27567 maybe-configure-target-zlib: configure-target-zlib
27569 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27570 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
27571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
27572 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
27573 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
27575 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
27576 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
27577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
27578 r=`${PWD_COMMAND}`; export r; \
27579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(NORMAL_TARGET_EXPORTS) \
27581 echo Configuring in $(TARGET_SUBDIR)/zlib; \
27582 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
27583 case $(srcdir) in \
27584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27585 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
27586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27588 srcdiroption="--srcdir=$${topdir}/zlib"; \
27589 libsrcdir="$$s/zlib"; \
27590 rm -f no-such-file || : ; \
27591 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27592 $(TARGET_CONFIGARGS) $${srcdiroption} \
27593 --with-target-subdir="$(TARGET_SUBDIR)" \
27597 .PHONY: all-target-zlib maybe-all-target-zlib
27598 maybe-all-target-zlib:
27600 TARGET-target-zlib=all
27601 maybe-all-target-zlib: all-target-zlib
27602 all-target-zlib: configure-target-zlib
27603 @r=`${PWD_COMMAND}`; export r; \
27604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27605 $(NORMAL_TARGET_EXPORTS) \
27606 (cd $(TARGET_SUBDIR)/zlib && \
27607 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
27610 .PHONY: check-target-zlib maybe-check-target-zlib
27611 maybe-check-target-zlib:
27613 maybe-check-target-zlib: check-target-zlib
27616 @r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(NORMAL_TARGET_EXPORTS) \
27619 (cd $(TARGET_SUBDIR)/zlib && \
27620 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27624 .PHONY: install-target-zlib maybe-install-target-zlib
27625 maybe-install-target-zlib:
27627 maybe-install-target-zlib: install-target-zlib
27629 install-target-zlib: installdirs
27630 @r=`${PWD_COMMAND}`; export r; \
27631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632 $(NORMAL_TARGET_EXPORTS) \
27633 (cd $(TARGET_SUBDIR)/zlib && \
27634 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27638 # Other targets (info, dvi, etc.)
27640 .PHONY: maybe-info-target-zlib info-target-zlib
27641 maybe-info-target-zlib:
27643 maybe-info-target-zlib: info-target-zlib
27645 info-target-zlib: \
27646 configure-target-zlib
27647 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27648 r=`${PWD_COMMAND}`; export r; \
27649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27650 $(NORMAL_TARGET_EXPORTS) \
27651 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
27652 for flag in $(EXTRA_TARGET_FLAGS); do \
27653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27655 (cd $(TARGET_SUBDIR)/zlib && \
27656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27658 "RANLIB=$${RANLIB}" \
27659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27665 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
27666 maybe-dvi-target-zlib:
27668 maybe-dvi-target-zlib: dvi-target-zlib
27671 configure-target-zlib
27672 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27673 r=`${PWD_COMMAND}`; export r; \
27674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27675 $(NORMAL_TARGET_EXPORTS) \
27676 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
27677 for flag in $(EXTRA_TARGET_FLAGS); do \
27678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27680 (cd $(TARGET_SUBDIR)/zlib && \
27681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27683 "RANLIB=$${RANLIB}" \
27684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27690 .PHONY: maybe-html-target-zlib html-target-zlib
27691 maybe-html-target-zlib:
27693 maybe-html-target-zlib: html-target-zlib
27695 html-target-zlib: \
27696 configure-target-zlib
27697 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27698 r=`${PWD_COMMAND}`; export r; \
27699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27700 $(NORMAL_TARGET_EXPORTS) \
27701 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
27702 for flag in $(EXTRA_TARGET_FLAGS); do \
27703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27705 (cd $(TARGET_SUBDIR)/zlib && \
27706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27708 "RANLIB=$${RANLIB}" \
27709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27715 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
27716 maybe-TAGS-target-zlib:
27718 maybe-TAGS-target-zlib: TAGS-target-zlib
27720 TAGS-target-zlib: \
27721 configure-target-zlib
27722 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27723 r=`${PWD_COMMAND}`; export r; \
27724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27725 $(NORMAL_TARGET_EXPORTS) \
27726 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
27727 for flag in $(EXTRA_TARGET_FLAGS); do \
27728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27730 (cd $(TARGET_SUBDIR)/zlib && \
27731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27733 "RANLIB=$${RANLIB}" \
27734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27740 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
27741 maybe-install-info-target-zlib:
27743 maybe-install-info-target-zlib: install-info-target-zlib
27745 install-info-target-zlib: \
27746 configure-target-zlib \
27748 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27749 r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751 $(NORMAL_TARGET_EXPORTS) \
27752 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
27753 for flag in $(EXTRA_TARGET_FLAGS); do \
27754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 (cd $(TARGET_SUBDIR)/zlib && \
27757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27759 "RANLIB=$${RANLIB}" \
27760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27766 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
27767 maybe-installcheck-target-zlib:
27769 maybe-installcheck-target-zlib: installcheck-target-zlib
27771 installcheck-target-zlib: \
27772 configure-target-zlib
27773 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27774 r=`${PWD_COMMAND}`; export r; \
27775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27776 $(NORMAL_TARGET_EXPORTS) \
27777 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
27778 for flag in $(EXTRA_TARGET_FLAGS); do \
27779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 (cd $(TARGET_SUBDIR)/zlib && \
27782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27784 "RANLIB=$${RANLIB}" \
27785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27791 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
27792 maybe-mostlyclean-target-zlib:
27794 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
27796 mostlyclean-target-zlib:
27797 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27798 r=`${PWD_COMMAND}`; export r; \
27799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800 $(NORMAL_TARGET_EXPORTS) \
27801 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
27802 for flag in $(EXTRA_TARGET_FLAGS); do \
27803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27805 (cd $(TARGET_SUBDIR)/zlib && \
27806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27808 "RANLIB=$${RANLIB}" \
27809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27815 .PHONY: maybe-clean-target-zlib clean-target-zlib
27816 maybe-clean-target-zlib:
27818 maybe-clean-target-zlib: clean-target-zlib
27821 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27822 r=`${PWD_COMMAND}`; export r; \
27823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27824 $(NORMAL_TARGET_EXPORTS) \
27825 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
27826 for flag in $(EXTRA_TARGET_FLAGS); do \
27827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27829 (cd $(TARGET_SUBDIR)/zlib && \
27830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27832 "RANLIB=$${RANLIB}" \
27833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27839 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
27840 maybe-distclean-target-zlib:
27842 maybe-distclean-target-zlib: distclean-target-zlib
27844 distclean-target-zlib:
27845 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27846 r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 $(NORMAL_TARGET_EXPORTS) \
27849 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
27850 for flag in $(EXTRA_TARGET_FLAGS); do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27853 (cd $(TARGET_SUBDIR)/zlib && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27863 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
27864 maybe-maintainer-clean-target-zlib:
27866 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
27868 maintainer-clean-target-zlib:
27869 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27870 r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 $(NORMAL_TARGET_EXPORTS) \
27873 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
27874 for flag in $(EXTRA_TARGET_FLAGS); do \
27875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27877 (cd $(TARGET_SUBDIR)/zlib && \
27878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27880 "RANLIB=$${RANLIB}" \
27881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27882 maintainer-clean) \
27888 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
27889 maybe-configure-target-boehm-gc:
27890 @if target-boehm-gc
27891 maybe-configure-target-boehm-gc: configure-target-boehm-gc
27893 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27894 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
27895 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27896 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
27897 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
27899 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
27900 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
27901 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(NORMAL_TARGET_EXPORTS) \
27905 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
27906 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
27907 case $(srcdir) in \
27908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27909 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
27910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27912 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
27913 libsrcdir="$$s/boehm-gc"; \
27914 rm -f no-such-file || : ; \
27915 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27916 $(TARGET_CONFIGARGS) $${srcdiroption} \
27917 --with-target-subdir="$(TARGET_SUBDIR)" \
27919 @endif target-boehm-gc
27921 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
27922 maybe-all-target-boehm-gc:
27923 @if target-boehm-gc
27924 TARGET-target-boehm-gc=all
27925 maybe-all-target-boehm-gc: all-target-boehm-gc
27926 all-target-boehm-gc: configure-target-boehm-gc
27927 @r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 $(NORMAL_TARGET_EXPORTS) \
27930 (cd $(TARGET_SUBDIR)/boehm-gc && \
27931 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
27932 @endif target-boehm-gc
27934 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
27935 maybe-check-target-boehm-gc:
27936 @if target-boehm-gc
27937 maybe-check-target-boehm-gc: check-target-boehm-gc
27939 check-target-boehm-gc:
27940 @r=`${PWD_COMMAND}`; export r; \
27941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27942 $(NORMAL_TARGET_EXPORTS) \
27943 (cd $(TARGET_SUBDIR)/boehm-gc && \
27944 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27946 @endif target-boehm-gc
27948 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
27949 maybe-install-target-boehm-gc:
27950 @if target-boehm-gc
27951 maybe-install-target-boehm-gc: install-target-boehm-gc
27953 install-target-boehm-gc: installdirs
27954 @r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27956 $(NORMAL_TARGET_EXPORTS) \
27957 (cd $(TARGET_SUBDIR)/boehm-gc && \
27958 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27960 @endif target-boehm-gc
27962 # Other targets (info, dvi, etc.)
27964 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
27965 maybe-info-target-boehm-gc:
27966 @if target-boehm-gc
27967 maybe-info-target-boehm-gc: info-target-boehm-gc
27969 info-target-boehm-gc: \
27970 configure-target-boehm-gc
27971 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27972 r=`${PWD_COMMAND}`; export r; \
27973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27974 $(NORMAL_TARGET_EXPORTS) \
27975 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
27976 for flag in $(EXTRA_TARGET_FLAGS); do \
27977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27979 (cd $(TARGET_SUBDIR)/boehm-gc && \
27980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27982 "RANLIB=$${RANLIB}" \
27983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27987 @endif target-boehm-gc
27989 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
27990 maybe-dvi-target-boehm-gc:
27991 @if target-boehm-gc
27992 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
27994 dvi-target-boehm-gc: \
27995 configure-target-boehm-gc
27996 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27997 r=`${PWD_COMMAND}`; export r; \
27998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27999 $(NORMAL_TARGET_EXPORTS) \
28000 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
28001 for flag in $(EXTRA_TARGET_FLAGS); do \
28002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28004 (cd $(TARGET_SUBDIR)/boehm-gc && \
28005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28007 "RANLIB=$${RANLIB}" \
28008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28012 @endif target-boehm-gc
28014 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
28015 maybe-html-target-boehm-gc:
28016 @if target-boehm-gc
28017 maybe-html-target-boehm-gc: html-target-boehm-gc
28019 html-target-boehm-gc: \
28020 configure-target-boehm-gc
28021 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28022 r=`${PWD_COMMAND}`; export r; \
28023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024 $(NORMAL_TARGET_EXPORTS) \
28025 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
28026 for flag in $(EXTRA_TARGET_FLAGS); do \
28027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28029 (cd $(TARGET_SUBDIR)/boehm-gc && \
28030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28032 "RANLIB=$${RANLIB}" \
28033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28037 @endif target-boehm-gc
28039 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
28040 maybe-TAGS-target-boehm-gc:
28041 @if target-boehm-gc
28042 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
28044 TAGS-target-boehm-gc: \
28045 configure-target-boehm-gc
28046 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28047 r=`${PWD_COMMAND}`; export r; \
28048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(NORMAL_TARGET_EXPORTS) \
28050 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
28051 for flag in $(EXTRA_TARGET_FLAGS); do \
28052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28054 (cd $(TARGET_SUBDIR)/boehm-gc && \
28055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28057 "RANLIB=$${RANLIB}" \
28058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28062 @endif target-boehm-gc
28064 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
28065 maybe-install-info-target-boehm-gc:
28066 @if target-boehm-gc
28067 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
28069 install-info-target-boehm-gc: \
28070 configure-target-boehm-gc \
28071 info-target-boehm-gc
28072 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28073 r=`${PWD_COMMAND}`; export r; \
28074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075 $(NORMAL_TARGET_EXPORTS) \
28076 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
28077 for flag in $(EXTRA_TARGET_FLAGS); do \
28078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28080 (cd $(TARGET_SUBDIR)/boehm-gc && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083 "RANLIB=$${RANLIB}" \
28084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28088 @endif target-boehm-gc
28090 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
28091 maybe-installcheck-target-boehm-gc:
28092 @if target-boehm-gc
28093 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
28095 installcheck-target-boehm-gc: \
28096 configure-target-boehm-gc
28097 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28098 r=`${PWD_COMMAND}`; export r; \
28099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28100 $(NORMAL_TARGET_EXPORTS) \
28101 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
28102 for flag in $(EXTRA_TARGET_FLAGS); do \
28103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 (cd $(TARGET_SUBDIR)/boehm-gc && \
28106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28108 "RANLIB=$${RANLIB}" \
28109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28113 @endif target-boehm-gc
28115 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
28116 maybe-mostlyclean-target-boehm-gc:
28117 @if target-boehm-gc
28118 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
28120 mostlyclean-target-boehm-gc:
28121 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28122 r=`${PWD_COMMAND}`; export r; \
28123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124 $(NORMAL_TARGET_EXPORTS) \
28125 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
28126 for flag in $(EXTRA_TARGET_FLAGS); do \
28127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28129 (cd $(TARGET_SUBDIR)/boehm-gc && \
28130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28132 "RANLIB=$${RANLIB}" \
28133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28137 @endif target-boehm-gc
28139 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
28140 maybe-clean-target-boehm-gc:
28141 @if target-boehm-gc
28142 maybe-clean-target-boehm-gc: clean-target-boehm-gc
28144 clean-target-boehm-gc:
28145 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28146 r=`${PWD_COMMAND}`; export r; \
28147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28148 $(NORMAL_TARGET_EXPORTS) \
28149 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
28150 for flag in $(EXTRA_TARGET_FLAGS); do \
28151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28153 (cd $(TARGET_SUBDIR)/boehm-gc && \
28154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28156 "RANLIB=$${RANLIB}" \
28157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28161 @endif target-boehm-gc
28163 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
28164 maybe-distclean-target-boehm-gc:
28165 @if target-boehm-gc
28166 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
28168 distclean-target-boehm-gc:
28169 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28170 r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(NORMAL_TARGET_EXPORTS) \
28173 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
28174 for flag in $(EXTRA_TARGET_FLAGS); do \
28175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28177 (cd $(TARGET_SUBDIR)/boehm-gc && \
28178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180 "RANLIB=$${RANLIB}" \
28181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28185 @endif target-boehm-gc
28187 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
28188 maybe-maintainer-clean-target-boehm-gc:
28189 @if target-boehm-gc
28190 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
28192 maintainer-clean-target-boehm-gc:
28193 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28194 r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 $(NORMAL_TARGET_EXPORTS) \
28197 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
28198 for flag in $(EXTRA_TARGET_FLAGS); do \
28199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28201 (cd $(TARGET_SUBDIR)/boehm-gc && \
28202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28204 "RANLIB=$${RANLIB}" \
28205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28206 maintainer-clean) \
28209 @endif target-boehm-gc
28212 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
28213 maybe-configure-target-qthreads:
28214 @if target-qthreads
28215 maybe-configure-target-qthreads: configure-target-qthreads
28217 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28218 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
28219 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
28220 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
28221 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
28223 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
28224 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
28225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
28226 r=`${PWD_COMMAND}`; export r; \
28227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28228 $(NORMAL_TARGET_EXPORTS) \
28229 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
28230 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
28231 case $(srcdir) in \
28232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28233 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
28234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28236 srcdiroption="--srcdir=$${topdir}/qthreads"; \
28237 libsrcdir="$$s/qthreads"; \
28238 rm -f no-such-file || : ; \
28239 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28240 $(TARGET_CONFIGARGS) $${srcdiroption} \
28241 --with-target-subdir="$(TARGET_SUBDIR)" \
28243 @endif target-qthreads
28245 .PHONY: all-target-qthreads maybe-all-target-qthreads
28246 maybe-all-target-qthreads:
28247 @if target-qthreads
28248 TARGET-target-qthreads=all
28249 maybe-all-target-qthreads: all-target-qthreads
28250 all-target-qthreads: configure-target-qthreads
28251 @r=`${PWD_COMMAND}`; export r; \
28252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28253 $(NORMAL_TARGET_EXPORTS) \
28254 (cd $(TARGET_SUBDIR)/qthreads && \
28255 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
28256 @endif target-qthreads
28258 .PHONY: check-target-qthreads maybe-check-target-qthreads
28259 maybe-check-target-qthreads:
28260 @if target-qthreads
28261 maybe-check-target-qthreads: check-target-qthreads
28263 check-target-qthreads:
28264 @r=`${PWD_COMMAND}`; export r; \
28265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28266 $(NORMAL_TARGET_EXPORTS) \
28267 (cd $(TARGET_SUBDIR)/qthreads && \
28268 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28270 @endif target-qthreads
28272 .PHONY: install-target-qthreads maybe-install-target-qthreads
28273 maybe-install-target-qthreads:
28274 @if target-qthreads
28275 maybe-install-target-qthreads: install-target-qthreads
28277 install-target-qthreads: installdirs
28278 @r=`${PWD_COMMAND}`; export r; \
28279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28280 $(NORMAL_TARGET_EXPORTS) \
28281 (cd $(TARGET_SUBDIR)/qthreads && \
28282 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28284 @endif target-qthreads
28286 # Other targets (info, dvi, etc.)
28288 .PHONY: maybe-info-target-qthreads info-target-qthreads
28289 maybe-info-target-qthreads:
28290 @if target-qthreads
28291 maybe-info-target-qthreads: info-target-qthreads
28293 info-target-qthreads: \
28294 configure-target-qthreads
28295 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28296 r=`${PWD_COMMAND}`; export r; \
28297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28298 $(NORMAL_TARGET_EXPORTS) \
28299 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
28300 for flag in $(EXTRA_TARGET_FLAGS); do \
28301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28303 (cd $(TARGET_SUBDIR)/qthreads && \
28304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28306 "RANLIB=$${RANLIB}" \
28307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28311 @endif target-qthreads
28313 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
28314 maybe-dvi-target-qthreads:
28315 @if target-qthreads
28316 maybe-dvi-target-qthreads: dvi-target-qthreads
28318 dvi-target-qthreads: \
28319 configure-target-qthreads
28320 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28321 r=`${PWD_COMMAND}`; export r; \
28322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323 $(NORMAL_TARGET_EXPORTS) \
28324 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
28325 for flag in $(EXTRA_TARGET_FLAGS); do \
28326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28328 (cd $(TARGET_SUBDIR)/qthreads && \
28329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28331 "RANLIB=$${RANLIB}" \
28332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28336 @endif target-qthreads
28338 .PHONY: maybe-html-target-qthreads html-target-qthreads
28339 maybe-html-target-qthreads:
28340 @if target-qthreads
28341 maybe-html-target-qthreads: html-target-qthreads
28343 html-target-qthreads: \
28344 configure-target-qthreads
28345 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28346 r=`${PWD_COMMAND}`; export r; \
28347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28348 $(NORMAL_TARGET_EXPORTS) \
28349 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
28350 for flag in $(EXTRA_TARGET_FLAGS); do \
28351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28353 (cd $(TARGET_SUBDIR)/qthreads && \
28354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28356 "RANLIB=$${RANLIB}" \
28357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28361 @endif target-qthreads
28363 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
28364 maybe-TAGS-target-qthreads:
28365 @if target-qthreads
28366 maybe-TAGS-target-qthreads: TAGS-target-qthreads
28368 TAGS-target-qthreads: \
28369 configure-target-qthreads
28370 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28371 r=`${PWD_COMMAND}`; export r; \
28372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28373 $(NORMAL_TARGET_EXPORTS) \
28374 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
28375 for flag in $(EXTRA_TARGET_FLAGS); do \
28376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28378 (cd $(TARGET_SUBDIR)/qthreads && \
28379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28381 "RANLIB=$${RANLIB}" \
28382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28386 @endif target-qthreads
28388 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
28389 maybe-install-info-target-qthreads:
28390 @if target-qthreads
28391 maybe-install-info-target-qthreads: install-info-target-qthreads
28393 install-info-target-qthreads: \
28394 configure-target-qthreads \
28395 info-target-qthreads
28396 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28397 r=`${PWD_COMMAND}`; export r; \
28398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28399 $(NORMAL_TARGET_EXPORTS) \
28400 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
28401 for flag in $(EXTRA_TARGET_FLAGS); do \
28402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28404 (cd $(TARGET_SUBDIR)/qthreads && \
28405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28407 "RANLIB=$${RANLIB}" \
28408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28412 @endif target-qthreads
28414 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
28415 maybe-installcheck-target-qthreads:
28416 @if target-qthreads
28417 maybe-installcheck-target-qthreads: installcheck-target-qthreads
28419 installcheck-target-qthreads: \
28420 configure-target-qthreads
28421 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28422 r=`${PWD_COMMAND}`; export r; \
28423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 $(NORMAL_TARGET_EXPORTS) \
28425 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
28426 for flag in $(EXTRA_TARGET_FLAGS); do \
28427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28429 (cd $(TARGET_SUBDIR)/qthreads && \
28430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28432 "RANLIB=$${RANLIB}" \
28433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28437 @endif target-qthreads
28439 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
28440 maybe-mostlyclean-target-qthreads:
28441 @if target-qthreads
28442 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
28444 mostlyclean-target-qthreads:
28445 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28446 r=`${PWD_COMMAND}`; export r; \
28447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448 $(NORMAL_TARGET_EXPORTS) \
28449 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
28450 for flag in $(EXTRA_TARGET_FLAGS); do \
28451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28453 (cd $(TARGET_SUBDIR)/qthreads && \
28454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28456 "RANLIB=$${RANLIB}" \
28457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28461 @endif target-qthreads
28463 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
28464 maybe-clean-target-qthreads:
28465 @if target-qthreads
28466 maybe-clean-target-qthreads: clean-target-qthreads
28468 clean-target-qthreads:
28469 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28470 r=`${PWD_COMMAND}`; export r; \
28471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28472 $(NORMAL_TARGET_EXPORTS) \
28473 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
28474 for flag in $(EXTRA_TARGET_FLAGS); do \
28475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28477 (cd $(TARGET_SUBDIR)/qthreads && \
28478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28480 "RANLIB=$${RANLIB}" \
28481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28485 @endif target-qthreads
28487 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
28488 maybe-distclean-target-qthreads:
28489 @if target-qthreads
28490 maybe-distclean-target-qthreads: distclean-target-qthreads
28492 distclean-target-qthreads:
28493 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28494 r=`${PWD_COMMAND}`; export r; \
28495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28496 $(NORMAL_TARGET_EXPORTS) \
28497 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
28498 for flag in $(EXTRA_TARGET_FLAGS); do \
28499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28501 (cd $(TARGET_SUBDIR)/qthreads && \
28502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28504 "RANLIB=$${RANLIB}" \
28505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28509 @endif target-qthreads
28511 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
28512 maybe-maintainer-clean-target-qthreads:
28513 @if target-qthreads
28514 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
28516 maintainer-clean-target-qthreads:
28517 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28518 r=`${PWD_COMMAND}`; export r; \
28519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28520 $(NORMAL_TARGET_EXPORTS) \
28521 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
28522 for flag in $(EXTRA_TARGET_FLAGS); do \
28523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28525 (cd $(TARGET_SUBDIR)/qthreads && \
28526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28528 "RANLIB=$${RANLIB}" \
28529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28530 maintainer-clean) \
28533 @endif target-qthreads
28536 .PHONY: configure-target-rda maybe-configure-target-rda
28537 maybe-configure-target-rda:
28539 maybe-configure-target-rda: configure-target-rda
28541 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28542 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
28543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
28544 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
28545 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
28547 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
28548 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
28549 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
28550 r=`${PWD_COMMAND}`; export r; \
28551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552 $(NORMAL_TARGET_EXPORTS) \
28553 echo Configuring in $(TARGET_SUBDIR)/rda; \
28554 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
28555 case $(srcdir) in \
28556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28557 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
28558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28560 srcdiroption="--srcdir=$${topdir}/rda"; \
28561 libsrcdir="$$s/rda"; \
28562 rm -f no-such-file || : ; \
28563 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28564 $(TARGET_CONFIGARGS) $${srcdiroption} \
28565 --with-target-subdir="$(TARGET_SUBDIR)" \
28569 .PHONY: all-target-rda maybe-all-target-rda
28570 maybe-all-target-rda:
28572 TARGET-target-rda=all
28573 maybe-all-target-rda: all-target-rda
28574 all-target-rda: configure-target-rda
28575 @r=`${PWD_COMMAND}`; export r; \
28576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28577 $(NORMAL_TARGET_EXPORTS) \
28578 (cd $(TARGET_SUBDIR)/rda && \
28579 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
28582 .PHONY: check-target-rda maybe-check-target-rda
28583 maybe-check-target-rda:
28585 maybe-check-target-rda: check-target-rda
28588 @r=`${PWD_COMMAND}`; export r; \
28589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28590 $(NORMAL_TARGET_EXPORTS) \
28591 (cd $(TARGET_SUBDIR)/rda && \
28592 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28596 .PHONY: install-target-rda maybe-install-target-rda
28597 maybe-install-target-rda:
28599 maybe-install-target-rda: install-target-rda
28601 install-target-rda: installdirs
28602 @r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 $(NORMAL_TARGET_EXPORTS) \
28605 (cd $(TARGET_SUBDIR)/rda && \
28606 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28610 # Other targets (info, dvi, etc.)
28612 .PHONY: maybe-info-target-rda info-target-rda
28613 maybe-info-target-rda:
28615 maybe-info-target-rda: info-target-rda
28618 configure-target-rda
28619 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28620 r=`${PWD_COMMAND}`; export r; \
28621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28622 $(NORMAL_TARGET_EXPORTS) \
28623 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
28624 for flag in $(EXTRA_TARGET_FLAGS); do \
28625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28627 (cd $(TARGET_SUBDIR)/rda && \
28628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28630 "RANLIB=$${RANLIB}" \
28631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28637 .PHONY: maybe-dvi-target-rda dvi-target-rda
28638 maybe-dvi-target-rda:
28640 maybe-dvi-target-rda: dvi-target-rda
28643 configure-target-rda
28644 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28645 r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647 $(NORMAL_TARGET_EXPORTS) \
28648 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
28649 for flag in $(EXTRA_TARGET_FLAGS); do \
28650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28652 (cd $(TARGET_SUBDIR)/rda && \
28653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28655 "RANLIB=$${RANLIB}" \
28656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28662 .PHONY: maybe-html-target-rda html-target-rda
28663 maybe-html-target-rda:
28665 maybe-html-target-rda: html-target-rda
28668 configure-target-rda
28669 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28670 r=`${PWD_COMMAND}`; export r; \
28671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28672 $(NORMAL_TARGET_EXPORTS) \
28673 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
28674 for flag in $(EXTRA_TARGET_FLAGS); do \
28675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28677 (cd $(TARGET_SUBDIR)/rda && \
28678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28680 "RANLIB=$${RANLIB}" \
28681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28687 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
28688 maybe-TAGS-target-rda:
28690 maybe-TAGS-target-rda: TAGS-target-rda
28693 configure-target-rda
28694 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28695 r=`${PWD_COMMAND}`; export r; \
28696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28697 $(NORMAL_TARGET_EXPORTS) \
28698 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
28699 for flag in $(EXTRA_TARGET_FLAGS); do \
28700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28702 (cd $(TARGET_SUBDIR)/rda && \
28703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28705 "RANLIB=$${RANLIB}" \
28706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28712 .PHONY: maybe-install-info-target-rda install-info-target-rda
28713 maybe-install-info-target-rda:
28715 maybe-install-info-target-rda: install-info-target-rda
28717 install-info-target-rda: \
28718 configure-target-rda \
28720 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28721 r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(NORMAL_TARGET_EXPORTS) \
28724 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
28725 for flag in $(EXTRA_TARGET_FLAGS); do \
28726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28728 (cd $(TARGET_SUBDIR)/rda && \
28729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731 "RANLIB=$${RANLIB}" \
28732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28738 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
28739 maybe-installcheck-target-rda:
28741 maybe-installcheck-target-rda: installcheck-target-rda
28743 installcheck-target-rda: \
28744 configure-target-rda
28745 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(NORMAL_TARGET_EXPORTS) \
28749 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
28750 for flag in $(EXTRA_TARGET_FLAGS); do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28753 (cd $(TARGET_SUBDIR)/rda && \
28754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756 "RANLIB=$${RANLIB}" \
28757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28763 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
28764 maybe-mostlyclean-target-rda:
28766 maybe-mostlyclean-target-rda: mostlyclean-target-rda
28768 mostlyclean-target-rda:
28769 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28770 r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(NORMAL_TARGET_EXPORTS) \
28773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
28774 for flag in $(EXTRA_TARGET_FLAGS); do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28777 (cd $(TARGET_SUBDIR)/rda && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28787 .PHONY: maybe-clean-target-rda clean-target-rda
28788 maybe-clean-target-rda:
28790 maybe-clean-target-rda: clean-target-rda
28793 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28794 r=`${PWD_COMMAND}`; export r; \
28795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28796 $(NORMAL_TARGET_EXPORTS) \
28797 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
28798 for flag in $(EXTRA_TARGET_FLAGS); do \
28799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28801 (cd $(TARGET_SUBDIR)/rda && \
28802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28804 "RANLIB=$${RANLIB}" \
28805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28811 .PHONY: maybe-distclean-target-rda distclean-target-rda
28812 maybe-distclean-target-rda:
28814 maybe-distclean-target-rda: distclean-target-rda
28816 distclean-target-rda:
28817 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28818 r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 $(NORMAL_TARGET_EXPORTS) \
28821 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
28822 for flag in $(EXTRA_TARGET_FLAGS); do \
28823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28825 (cd $(TARGET_SUBDIR)/rda && \
28826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28828 "RANLIB=$${RANLIB}" \
28829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28835 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
28836 maybe-maintainer-clean-target-rda:
28838 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
28840 maintainer-clean-target-rda:
28841 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
28842 r=`${PWD_COMMAND}`; export r; \
28843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28844 $(NORMAL_TARGET_EXPORTS) \
28845 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
28846 for flag in $(EXTRA_TARGET_FLAGS); do \
28847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28849 (cd $(TARGET_SUBDIR)/rda && \
28850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28852 "RANLIB=$${RANLIB}" \
28853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28854 maintainer-clean) \
28860 .PHONY: configure-target-libada maybe-configure-target-libada
28861 maybe-configure-target-libada:
28863 maybe-configure-target-libada: configure-target-libada
28865 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28866 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
28867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
28868 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
28869 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
28871 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
28872 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
28873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
28874 r=`${PWD_COMMAND}`; export r; \
28875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28876 $(NORMAL_TARGET_EXPORTS) \
28877 echo Configuring in $(TARGET_SUBDIR)/libada; \
28878 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
28879 case $(srcdir) in \
28880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28881 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
28882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28884 srcdiroption="--srcdir=$${topdir}/libada"; \
28885 libsrcdir="$$s/libada"; \
28886 rm -f no-such-file || : ; \
28887 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28888 $(TARGET_CONFIGARGS) $${srcdiroption} \
28889 --with-target-subdir="$(TARGET_SUBDIR)" \
28891 @endif target-libada
28893 .PHONY: all-target-libada maybe-all-target-libada
28894 maybe-all-target-libada:
28896 TARGET-target-libada=all
28897 maybe-all-target-libada: all-target-libada
28898 all-target-libada: configure-target-libada
28899 @r=`${PWD_COMMAND}`; export r; \
28900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28901 $(NORMAL_TARGET_EXPORTS) \
28902 (cd $(TARGET_SUBDIR)/libada && \
28903 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
28904 @endif target-libada
28906 .PHONY: check-target-libada maybe-check-target-libada
28907 maybe-check-target-libada:
28909 maybe-check-target-libada: check-target-libada
28911 check-target-libada:
28912 @r=`${PWD_COMMAND}`; export r; \
28913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28914 $(NORMAL_TARGET_EXPORTS) \
28915 (cd $(TARGET_SUBDIR)/libada && \
28916 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28918 @endif target-libada
28920 .PHONY: install-target-libada maybe-install-target-libada
28921 maybe-install-target-libada:
28923 maybe-install-target-libada: install-target-libada
28925 install-target-libada: installdirs
28926 @r=`${PWD_COMMAND}`; export r; \
28927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28928 $(NORMAL_TARGET_EXPORTS) \
28929 (cd $(TARGET_SUBDIR)/libada && \
28930 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28932 @endif target-libada
28934 # Other targets (info, dvi, etc.)
28936 .PHONY: maybe-info-target-libada info-target-libada
28937 maybe-info-target-libada:
28939 maybe-info-target-libada: info-target-libada
28941 info-target-libada: \
28942 configure-target-libada
28943 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28944 r=`${PWD_COMMAND}`; export r; \
28945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28946 $(NORMAL_TARGET_EXPORTS) \
28947 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
28948 for flag in $(EXTRA_TARGET_FLAGS); do \
28949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28951 (cd $(TARGET_SUBDIR)/libada && \
28952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28954 "RANLIB=$${RANLIB}" \
28955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28959 @endif target-libada
28961 .PHONY: maybe-dvi-target-libada dvi-target-libada
28962 maybe-dvi-target-libada:
28964 maybe-dvi-target-libada: dvi-target-libada
28966 dvi-target-libada: \
28967 configure-target-libada
28968 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28969 r=`${PWD_COMMAND}`; export r; \
28970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 $(NORMAL_TARGET_EXPORTS) \
28972 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
28973 for flag in $(EXTRA_TARGET_FLAGS); do \
28974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28976 (cd $(TARGET_SUBDIR)/libada && \
28977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28979 "RANLIB=$${RANLIB}" \
28980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28984 @endif target-libada
28986 .PHONY: maybe-html-target-libada html-target-libada
28987 maybe-html-target-libada:
28989 maybe-html-target-libada: html-target-libada
28991 html-target-libada: \
28992 configure-target-libada
28993 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(NORMAL_TARGET_EXPORTS) \
28997 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
28998 for flag in $(EXTRA_TARGET_FLAGS); do \
28999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29001 (cd $(TARGET_SUBDIR)/libada && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29009 @endif target-libada
29011 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
29012 maybe-TAGS-target-libada:
29014 maybe-TAGS-target-libada: TAGS-target-libada
29016 TAGS-target-libada: \
29017 configure-target-libada
29018 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29019 r=`${PWD_COMMAND}`; export r; \
29020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29021 $(NORMAL_TARGET_EXPORTS) \
29022 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
29023 for flag in $(EXTRA_TARGET_FLAGS); do \
29024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29026 (cd $(TARGET_SUBDIR)/libada && \
29027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29029 "RANLIB=$${RANLIB}" \
29030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29034 @endif target-libada
29036 .PHONY: maybe-install-info-target-libada install-info-target-libada
29037 maybe-install-info-target-libada:
29039 maybe-install-info-target-libada: install-info-target-libada
29041 install-info-target-libada: \
29042 configure-target-libada \
29044 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29045 r=`${PWD_COMMAND}`; export r; \
29046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29047 $(NORMAL_TARGET_EXPORTS) \
29048 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
29049 for flag in $(EXTRA_TARGET_FLAGS); do \
29050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29052 (cd $(TARGET_SUBDIR)/libada && \
29053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29055 "RANLIB=$${RANLIB}" \
29056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29060 @endif target-libada
29062 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
29063 maybe-installcheck-target-libada:
29065 maybe-installcheck-target-libada: installcheck-target-libada
29067 installcheck-target-libada: \
29068 configure-target-libada
29069 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29070 r=`${PWD_COMMAND}`; export r; \
29071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29072 $(NORMAL_TARGET_EXPORTS) \
29073 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
29074 for flag in $(EXTRA_TARGET_FLAGS); do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29077 (cd $(TARGET_SUBDIR)/libada && \
29078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29080 "RANLIB=$${RANLIB}" \
29081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29085 @endif target-libada
29087 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
29088 maybe-mostlyclean-target-libada:
29090 maybe-mostlyclean-target-libada: mostlyclean-target-libada
29092 mostlyclean-target-libada:
29093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29094 r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 $(NORMAL_TARGET_EXPORTS) \
29097 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
29098 for flag in $(EXTRA_TARGET_FLAGS); do \
29099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29101 (cd $(TARGET_SUBDIR)/libada && \
29102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29104 "RANLIB=$${RANLIB}" \
29105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29109 @endif target-libada
29111 .PHONY: maybe-clean-target-libada clean-target-libada
29112 maybe-clean-target-libada:
29114 maybe-clean-target-libada: clean-target-libada
29116 clean-target-libada:
29117 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29118 r=`${PWD_COMMAND}`; export r; \
29119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29120 $(NORMAL_TARGET_EXPORTS) \
29121 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
29122 for flag in $(EXTRA_TARGET_FLAGS); do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29125 (cd $(TARGET_SUBDIR)/libada && \
29126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29128 "RANLIB=$${RANLIB}" \
29129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29133 @endif target-libada
29135 .PHONY: maybe-distclean-target-libada distclean-target-libada
29136 maybe-distclean-target-libada:
29138 maybe-distclean-target-libada: distclean-target-libada
29140 distclean-target-libada:
29141 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29142 r=`${PWD_COMMAND}`; export r; \
29143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29144 $(NORMAL_TARGET_EXPORTS) \
29145 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
29146 for flag in $(EXTRA_TARGET_FLAGS); do \
29147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29149 (cd $(TARGET_SUBDIR)/libada && \
29150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29152 "RANLIB=$${RANLIB}" \
29153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29157 @endif target-libada
29159 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
29160 maybe-maintainer-clean-target-libada:
29162 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
29164 maintainer-clean-target-libada:
29165 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(NORMAL_TARGET_EXPORTS) \
29169 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
29170 for flag in $(EXTRA_TARGET_FLAGS); do \
29171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29173 (cd $(TARGET_SUBDIR)/libada && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29178 maintainer-clean) \
29181 @endif target-libada
29189 @if gcc-no-bootstrap
29190 # GCC has some more recursive targets, which trigger the old
29191 # (but still current, until the toplevel bootstrap project
29192 # is finished) compiler bootstrapping rules.
29194 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
29195 .PHONY: $(GCC_STRAP_TARGETS)
29196 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
29197 @r=`${PWD_COMMAND}`; export r; \
29198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29200 echo "Bootstrapping the compiler"; \
29201 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
29202 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
29203 @r=`${PWD_COMMAND}`; export r; \
29204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29206 *bootstrap4-lean ) \
29207 msg="Comparing stage3 and stage4 of the compiler"; \
29208 compare=compare3-lean ;; \
29210 msg="Comparing stage3 and stage4 of the compiler"; \
29211 compare=compare3 ;; \
29213 msg="Comparing stage2 and stage3 of the compiler"; \
29214 compare=compare-lean ;; \
29216 msg="Comparing stage2 and stage3 of the compiler"; \
29217 compare=compare ;; \
29221 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
29222 @r=`${PWD_COMMAND}`; export r; \
29223 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29224 echo "Building runtime libraries"; \
29225 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
29227 profiledbootstrap: all-prebootstrap configure-gcc
29228 @r=`${PWD_COMMAND}`; export r; \
29229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
29232 echo "Bootstrapping training compiler"; \
29233 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
29234 @r=`${PWD_COMMAND}`; export r; \
29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29237 echo "Building feedback based compiler"; \
29238 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
29239 @r=`${PWD_COMMAND}`; export r; \
29240 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29241 echo "Building runtime libraries"; \
29242 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
29245 cross: all-build all-gas all-ld
29246 @r=`${PWD_COMMAND}`; export r; \
29247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29249 echo "Building the C and C++ compiler"; \
29250 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
29251 @r=`${PWD_COMMAND}`; export r; \
29252 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29253 echo "Building runtime libraries"; \
29254 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
29255 @endif gcc-no-bootstrap
29258 .PHONY: check-gcc-c++
29260 @if [ -f ./gcc/Makefile ] ; then \
29261 r=`${PWD_COMMAND}`; export r; \
29262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29264 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
29270 check-c++: check-target-libstdc++-v3 check-gcc-c++
29272 # Install the gcc headers files, but not the fixed include files,
29273 # which Cygnus is not allowed to distribute. This rule is very
29274 # dependent on the workings of the gcc Makefile.in.
29275 .PHONY: gcc-no-fixedincludes
29276 gcc-no-fixedincludes:
29277 @if [ -f ./gcc/Makefile ]; then \
29278 rm -rf gcc/tmp-include; \
29279 mv gcc/include gcc/tmp-include 2>/dev/null; \
29280 mkdir gcc/include; \
29281 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
29282 touch gcc/stmp-fixinc gcc/include/fixed; \
29283 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
29284 r=`${PWD_COMMAND}`; export r; \
29285 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29288 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
29289 rm -rf gcc/include; \
29290 mv gcc/tmp-include gcc/include 2>/dev/null; \
29294 # ---------------------
29295 # GCC bootstrap support
29296 # ---------------------
29298 # We track the current stage (the one in 'gcc') in the stage_current file.
29299 # stage_last instead tracks the stage that was built last. These targets
29300 # are dummy when toplevel bootstrap is not active.
29305 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
29306 @endif gcc-bootstrap
29311 @$(MAKE) `cat stage_current`-end
29312 @endif gcc-bootstrap
29314 # We name the build directories for the various stages "stage1-gcc",
29315 # "stage2-gcc","stage3-gcc", etc.
29317 # Since the 'compare' process will fail (on debugging information) if any
29318 # directory names are different, we need to link the gcc directory for
29319 # the previous stage to a constant name ('gcc-prev'), and to make the name of
29320 # the build directories constant as well. For the latter, we use naked names
29321 # like 'gcc', because the scripts in that directory assume it. We use
29322 # mv on platforms where symlinks to directories do not work or are not
29325 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
29326 # be kept, so that libraries can find it. Ick!
29328 # It would be best to preinstall gcc into a staging area (and in the
29329 # future, gather there all prebootstrap packages). This would allow
29330 # assemblers and linkers can be bootstrapped as well as the compiler
29331 # (both in a combined tree, or separately). This however requires some
29332 # change to the gcc driver, again in order to avoid comparison failures.
29334 # Bugs: This is crippled when doing parallel make, the `make all-host'
29335 # and `make all-target' phases can be parallelized.
29338 # 'touch' doesn't work right on some platforms.
29339 STAMP = echo timestamp >
29341 # Only build the C compiler for stage1, because that is the only one that
29342 # we can guarantee will build with the native compiler, and also it is the
29343 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
29344 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
29345 # overrideable (for a bootstrap build stage1 also builds gcc.info).
29347 STAGE1_CFLAGS=@stage1_cflags@
29348 STAGE1_LANGUAGES=@stage1_languages@
29350 # We only want to compare .o files, so set this!
29353 # Flags to pass to stage2 and later makes.
29354 POSTSTAGE1_FLAGS_TO_PASS = \
29355 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
29356 STAGE_PREFIX=$$r/stage-gcc/ \
29357 CFLAGS="$(BOOT_CFLAGS)" \
29361 # * We force-disable intermodule optimizations, even if
29362 # --enable-intermodule was passed, since the installed compiler probably
29363 # can't handle them. Luckily, autoconf always respects
29364 # the last argument when conflicting --enable arguments are passed.
29365 # * Likewise, we force-disable coverage flags, since the installed compiler
29366 # probably has never heard of them.
29367 # * We build only C (and possibly Ada).
29370 .PHONY: stage1-start stage1-end
29373 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29374 echo stage1 > stage_current ; \
29375 echo stage1 > stage_last; \
29376 $(mkinstalldirs) $(HOST_SUBDIR)
29378 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
29379 mkdir stage1-bfd; \
29380 set stage1-bfd bfd ; \
29381 @CREATE_LINK_TO_DIR@
29384 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
29385 mkdir stage1-opcodes; \
29386 set stage1-opcodes opcodes ; \
29387 @CREATE_LINK_TO_DIR@
29390 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
29391 mkdir stage1-binutils; \
29392 set stage1-binutils binutils ; \
29393 @CREATE_LINK_TO_DIR@
29396 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
29397 mkdir stage1-gas; \
29398 set stage1-gas gas ; \
29399 @CREATE_LINK_TO_DIR@
29402 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
29403 mkdir stage1-gcc; \
29404 set stage1-gcc gcc ; \
29405 @CREATE_LINK_TO_DIR@
29408 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
29409 mkdir stage1-intl; \
29410 set stage1-intl intl ; \
29411 @CREATE_LINK_TO_DIR@
29414 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
29416 set stage1-ld ld ; \
29417 @CREATE_LINK_TO_DIR@
29420 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
29421 mkdir stage1-libcpp; \
29422 set stage1-libcpp libcpp ; \
29423 @CREATE_LINK_TO_DIR@
29426 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
29427 mkdir stage1-libiberty; \
29428 set stage1-libiberty libiberty ; \
29429 @CREATE_LINK_TO_DIR@
29432 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
29433 mkdir stage1-zlib; \
29434 set stage1-zlib zlib ; \
29435 @CREATE_LINK_TO_DIR@
29439 @rm -f stage_current
29441 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
29445 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
29449 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
29453 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
29457 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
29461 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
29465 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
29469 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
29473 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
29477 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
29481 # Bubble a bugfix through all the stages up to stage 1. They
29482 # are remade, but not reconfigured. The next stage (if any) will not
29483 # be reconfigured as well.
29484 .PHONY: stage1-bubble
29486 @if test -f stage1-lean ; then \
29487 echo Skipping rebuild of stage1 ; \
29489 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
29492 .PHONY: all-stage1 clean-stage1
29494 maybe-all-stage1-bfd \
29495 maybe-all-stage1-opcodes \
29496 maybe-all-stage1-binutils \
29497 maybe-all-stage1-gas \
29498 maybe-all-stage1-gcc \
29499 maybe-all-stage1-intl \
29500 maybe-all-stage1-ld \
29501 maybe-all-stage1-libcpp \
29502 maybe-all-stage1-libiberty \
29503 maybe-all-stage1-zlib
29505 do-clean: clean-stage1
29507 maybe-clean-stage1-bfd \
29508 maybe-clean-stage1-opcodes \
29509 maybe-clean-stage1-binutils \
29510 maybe-clean-stage1-gas \
29511 maybe-clean-stage1-gcc \
29512 maybe-clean-stage1-intl \
29513 maybe-clean-stage1-ld \
29514 maybe-clean-stage1-libcpp \
29515 maybe-clean-stage1-libiberty \
29516 maybe-clean-stage1-zlib
29519 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
29520 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
29521 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
29523 maybe-configure-stage1-bfd:
29524 maybe-all-stage1-bfd:
29525 maybe-clean-stage1-bfd:
29528 maybe-configure-stage1-bfd: configure-stage1-bfd
29529 configure-stage1-bfd:
29530 @$(MAKE) stage1-start
29531 @[ -f bfd/Makefile ] && exit 0 || : ; \
29532 r=`${PWD_COMMAND}`; export r; \
29533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29535 echo Configuring stage 1 in bfd ; \
29536 cd $(HOST_SUBDIR)/bfd || exit 1; \
29537 case $(srcdir) in \
29538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29539 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
29540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29542 srcdiroption="--srcdir=$${topdir}/bfd"; \
29543 libsrcdir="$$s/bfd"; \
29544 $(SHELL) $${libsrcdir}/configure \
29545 $(HOST_CONFIGARGS) $${srcdiroption} \
29546 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29548 maybe-all-stage1-bfd: all-stage1-bfd
29549 all-stage1-bfd: configure-stage1-bfd
29550 @$(MAKE) stage1-start
29551 @r=`${PWD_COMMAND}`; export r; \
29552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29554 cd $(HOST_SUBDIR)/bfd && \
29555 $(MAKE) $(FLAGS_TO_PASS) \
29556 CFLAGS="$(STAGE1_CFLAGS)"
29558 maybe-clean-stage1-bfd: clean-stage1-bfd
29560 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
29562 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
29563 cd $(HOST_SUBDIR)/bfd && \
29564 $(MAKE) $(FLAGS_TO_PASS) \
29565 CFLAGS="$(STAGE1_CFLAGS)" clean
29566 @endif bfd-bootstrap
29569 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
29570 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
29571 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
29573 maybe-configure-stage1-opcodes:
29574 maybe-all-stage1-opcodes:
29575 maybe-clean-stage1-opcodes:
29577 @if opcodes-bootstrap
29578 maybe-configure-stage1-opcodes: configure-stage1-opcodes
29579 configure-stage1-opcodes:
29580 @$(MAKE) stage1-start
29581 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29582 r=`${PWD_COMMAND}`; export r; \
29583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29585 echo Configuring stage 1 in opcodes ; \
29586 cd $(HOST_SUBDIR)/opcodes || exit 1; \
29587 case $(srcdir) in \
29588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29589 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
29590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29592 srcdiroption="--srcdir=$${topdir}/opcodes"; \
29593 libsrcdir="$$s/opcodes"; \
29594 $(SHELL) $${libsrcdir}/configure \
29595 $(HOST_CONFIGARGS) $${srcdiroption} \
29596 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29598 maybe-all-stage1-opcodes: all-stage1-opcodes
29599 all-stage1-opcodes: configure-stage1-opcodes
29600 @$(MAKE) stage1-start
29601 @r=`${PWD_COMMAND}`; export r; \
29602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 cd $(HOST_SUBDIR)/opcodes && \
29605 $(MAKE) $(FLAGS_TO_PASS) \
29606 CFLAGS="$(STAGE1_CFLAGS)"
29608 maybe-clean-stage1-opcodes: clean-stage1-opcodes
29609 clean-stage1-opcodes:
29610 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
29612 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
29613 cd $(HOST_SUBDIR)/opcodes && \
29614 $(MAKE) $(FLAGS_TO_PASS) \
29615 CFLAGS="$(STAGE1_CFLAGS)" clean
29616 @endif opcodes-bootstrap
29619 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
29620 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
29621 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
29623 maybe-configure-stage1-binutils:
29624 maybe-all-stage1-binutils:
29625 maybe-clean-stage1-binutils:
29627 @if binutils-bootstrap
29628 maybe-configure-stage1-binutils: configure-stage1-binutils
29629 configure-stage1-binutils:
29630 @$(MAKE) stage1-start
29631 @[ -f binutils/Makefile ] && exit 0 || : ; \
29632 r=`${PWD_COMMAND}`; export r; \
29633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29635 echo Configuring stage 1 in binutils ; \
29636 cd $(HOST_SUBDIR)/binutils || exit 1; \
29637 case $(srcdir) in \
29638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29639 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
29640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29642 srcdiroption="--srcdir=$${topdir}/binutils"; \
29643 libsrcdir="$$s/binutils"; \
29644 $(SHELL) $${libsrcdir}/configure \
29645 $(HOST_CONFIGARGS) $${srcdiroption} \
29646 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29648 maybe-all-stage1-binutils: all-stage1-binutils
29649 all-stage1-binutils: configure-stage1-binutils
29650 @$(MAKE) stage1-start
29651 @r=`${PWD_COMMAND}`; export r; \
29652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29654 cd $(HOST_SUBDIR)/binutils && \
29655 $(MAKE) $(FLAGS_TO_PASS) \
29656 CFLAGS="$(STAGE1_CFLAGS)"
29658 maybe-clean-stage1-binutils: clean-stage1-binutils
29659 clean-stage1-binutils:
29660 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
29662 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
29663 cd $(HOST_SUBDIR)/binutils && \
29664 $(MAKE) $(FLAGS_TO_PASS) \
29665 CFLAGS="$(STAGE1_CFLAGS)" clean
29666 @endif binutils-bootstrap
29669 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
29670 .PHONY: all-stage1-gas maybe-all-stage1-gas
29671 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
29673 maybe-configure-stage1-gas:
29674 maybe-all-stage1-gas:
29675 maybe-clean-stage1-gas:
29678 maybe-configure-stage1-gas: configure-stage1-gas
29679 configure-stage1-gas:
29680 @$(MAKE) stage1-start
29681 @[ -f gas/Makefile ] && exit 0 || : ; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29685 echo Configuring stage 1 in gas ; \
29686 cd $(HOST_SUBDIR)/gas || exit 1; \
29687 case $(srcdir) in \
29688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29689 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
29690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29692 srcdiroption="--srcdir=$${topdir}/gas"; \
29693 libsrcdir="$$s/gas"; \
29694 $(SHELL) $${libsrcdir}/configure \
29695 $(HOST_CONFIGARGS) $${srcdiroption} \
29696 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29698 maybe-all-stage1-gas: all-stage1-gas
29699 all-stage1-gas: configure-stage1-gas
29700 @$(MAKE) stage1-start
29701 @r=`${PWD_COMMAND}`; export r; \
29702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29704 cd $(HOST_SUBDIR)/gas && \
29705 $(MAKE) $(FLAGS_TO_PASS) \
29706 CFLAGS="$(STAGE1_CFLAGS)"
29708 maybe-clean-stage1-gas: clean-stage1-gas
29710 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
29712 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
29713 cd $(HOST_SUBDIR)/gas && \
29714 $(MAKE) $(FLAGS_TO_PASS) \
29715 CFLAGS="$(STAGE1_CFLAGS)" clean
29716 @endif gas-bootstrap
29719 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
29720 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
29721 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
29723 maybe-configure-stage1-gcc:
29724 maybe-all-stage1-gcc:
29725 maybe-clean-stage1-gcc:
29728 maybe-configure-stage1-gcc: configure-stage1-gcc
29729 configure-stage1-gcc:
29730 @$(MAKE) stage1-start
29731 @[ -f gcc/Makefile ] && exit 0 || : ; \
29732 r=`${PWD_COMMAND}`; export r; \
29733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29735 echo Configuring stage 1 in gcc ; \
29736 cd $(HOST_SUBDIR)/gcc || exit 1; \
29737 case $(srcdir) in \
29738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29739 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
29740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29742 srcdiroption="--srcdir=$${topdir}/gcc"; \
29743 libsrcdir="$$s/gcc"; \
29744 $(SHELL) $${libsrcdir}/configure \
29745 $(HOST_CONFIGARGS) $${srcdiroption} \
29746 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29748 maybe-all-stage1-gcc: all-stage1-gcc
29749 all-stage1-gcc: configure-stage1-gcc
29750 @$(MAKE) stage1-start
29751 @r=`${PWD_COMMAND}`; export r; \
29752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29754 cd $(HOST_SUBDIR)/gcc && \
29755 $(MAKE) $(FLAGS_TO_PASS) \
29756 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
29758 maybe-clean-stage1-gcc: clean-stage1-gcc
29760 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
29762 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
29763 cd $(HOST_SUBDIR)/gcc && \
29764 $(MAKE) $(FLAGS_TO_PASS) \
29765 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
29766 @endif gcc-bootstrap
29769 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
29770 .PHONY: all-stage1-intl maybe-all-stage1-intl
29771 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
29773 maybe-configure-stage1-intl:
29774 maybe-all-stage1-intl:
29775 maybe-clean-stage1-intl:
29778 maybe-configure-stage1-intl: configure-stage1-intl
29779 configure-stage1-intl:
29780 @$(MAKE) stage1-start
29781 @[ -f intl/Makefile ] && exit 0 || : ; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29785 echo Configuring stage 1 in intl ; \
29786 cd $(HOST_SUBDIR)/intl || exit 1; \
29787 case $(srcdir) in \
29788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29789 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
29790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29792 srcdiroption="--srcdir=$${topdir}/intl"; \
29793 libsrcdir="$$s/intl"; \
29794 $(SHELL) $${libsrcdir}/configure \
29795 $(HOST_CONFIGARGS) $${srcdiroption} \
29796 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29798 maybe-all-stage1-intl: all-stage1-intl
29799 all-stage1-intl: configure-stage1-intl
29800 @$(MAKE) stage1-start
29801 @r=`${PWD_COMMAND}`; export r; \
29802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29804 cd $(HOST_SUBDIR)/intl && \
29805 $(MAKE) $(FLAGS_TO_PASS) \
29806 CFLAGS="$(STAGE1_CFLAGS)"
29808 maybe-clean-stage1-intl: clean-stage1-intl
29810 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
29812 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
29813 cd $(HOST_SUBDIR)/intl && \
29814 $(MAKE) $(FLAGS_TO_PASS) \
29815 CFLAGS="$(STAGE1_CFLAGS)" clean
29816 @endif intl-bootstrap
29819 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
29820 .PHONY: all-stage1-ld maybe-all-stage1-ld
29821 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
29823 maybe-configure-stage1-ld:
29824 maybe-all-stage1-ld:
29825 maybe-clean-stage1-ld:
29828 maybe-configure-stage1-ld: configure-stage1-ld
29829 configure-stage1-ld:
29830 @$(MAKE) stage1-start
29831 @[ -f ld/Makefile ] && exit 0 || : ; \
29832 r=`${PWD_COMMAND}`; export r; \
29833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29835 echo Configuring stage 1 in ld ; \
29836 cd $(HOST_SUBDIR)/ld || exit 1; \
29837 case $(srcdir) in \
29838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29839 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
29840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29842 srcdiroption="--srcdir=$${topdir}/ld"; \
29843 libsrcdir="$$s/ld"; \
29844 $(SHELL) $${libsrcdir}/configure \
29845 $(HOST_CONFIGARGS) $${srcdiroption} \
29846 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29848 maybe-all-stage1-ld: all-stage1-ld
29849 all-stage1-ld: configure-stage1-ld
29850 @$(MAKE) stage1-start
29851 @r=`${PWD_COMMAND}`; export r; \
29852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29854 cd $(HOST_SUBDIR)/ld && \
29855 $(MAKE) $(FLAGS_TO_PASS) \
29856 CFLAGS="$(STAGE1_CFLAGS)"
29858 maybe-clean-stage1-ld: clean-stage1-ld
29860 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
29862 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
29863 cd $(HOST_SUBDIR)/ld && \
29864 $(MAKE) $(FLAGS_TO_PASS) \
29865 CFLAGS="$(STAGE1_CFLAGS)" clean
29866 @endif ld-bootstrap
29869 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
29870 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
29871 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
29873 maybe-configure-stage1-libcpp:
29874 maybe-all-stage1-libcpp:
29875 maybe-clean-stage1-libcpp:
29877 @if libcpp-bootstrap
29878 maybe-configure-stage1-libcpp: configure-stage1-libcpp
29879 configure-stage1-libcpp:
29880 @$(MAKE) stage1-start
29881 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29882 r=`${PWD_COMMAND}`; export r; \
29883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29885 echo Configuring stage 1 in libcpp ; \
29886 cd $(HOST_SUBDIR)/libcpp || exit 1; \
29887 case $(srcdir) in \
29888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29889 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
29890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29892 srcdiroption="--srcdir=$${topdir}/libcpp"; \
29893 libsrcdir="$$s/libcpp"; \
29894 $(SHELL) $${libsrcdir}/configure \
29895 $(HOST_CONFIGARGS) $${srcdiroption} \
29896 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29898 maybe-all-stage1-libcpp: all-stage1-libcpp
29899 all-stage1-libcpp: configure-stage1-libcpp
29900 @$(MAKE) stage1-start
29901 @r=`${PWD_COMMAND}`; export r; \
29902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 cd $(HOST_SUBDIR)/libcpp && \
29905 $(MAKE) $(FLAGS_TO_PASS) \
29906 CFLAGS="$(STAGE1_CFLAGS)"
29908 maybe-clean-stage1-libcpp: clean-stage1-libcpp
29909 clean-stage1-libcpp:
29910 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
29912 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
29913 cd $(HOST_SUBDIR)/libcpp && \
29914 $(MAKE) $(FLAGS_TO_PASS) \
29915 CFLAGS="$(STAGE1_CFLAGS)" clean
29916 @endif libcpp-bootstrap
29919 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
29920 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
29921 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
29923 maybe-configure-stage1-libiberty:
29924 maybe-all-stage1-libiberty:
29925 maybe-clean-stage1-libiberty:
29927 @if libiberty-bootstrap
29928 maybe-configure-stage1-libiberty: configure-stage1-libiberty
29929 configure-stage1-libiberty:
29930 @$(MAKE) stage1-start
29931 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29932 r=`${PWD_COMMAND}`; export r; \
29933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29935 echo Configuring stage 1 in libiberty ; \
29936 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29937 case $(srcdir) in \
29938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29939 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29942 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29943 libsrcdir="$$s/libiberty"; \
29944 $(SHELL) $${libsrcdir}/configure \
29945 $(HOST_CONFIGARGS) $${srcdiroption} \
29946 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29948 maybe-all-stage1-libiberty: all-stage1-libiberty
29949 all-stage1-libiberty: configure-stage1-libiberty
29950 @$(MAKE) stage1-start
29951 @r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29954 cd $(HOST_SUBDIR)/libiberty && \
29955 $(MAKE) $(FLAGS_TO_PASS) \
29956 CFLAGS="$(STAGE1_CFLAGS)"
29958 maybe-clean-stage1-libiberty: clean-stage1-libiberty
29959 clean-stage1-libiberty:
29960 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
29962 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
29963 cd $(HOST_SUBDIR)/libiberty && \
29964 $(MAKE) $(FLAGS_TO_PASS) \
29965 CFLAGS="$(STAGE1_CFLAGS)" clean
29966 @endif libiberty-bootstrap
29969 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
29970 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
29971 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
29973 maybe-configure-stage1-zlib:
29974 maybe-all-stage1-zlib:
29975 maybe-clean-stage1-zlib:
29978 maybe-configure-stage1-zlib: configure-stage1-zlib
29979 configure-stage1-zlib:
29980 @$(MAKE) stage1-start
29981 @[ -f zlib/Makefile ] && exit 0 || : ; \
29982 r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29985 echo Configuring stage 1 in zlib ; \
29986 cd $(HOST_SUBDIR)/zlib || exit 1; \
29987 case $(srcdir) in \
29988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29989 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
29990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29992 srcdiroption="--srcdir=$${topdir}/zlib"; \
29993 libsrcdir="$$s/zlib"; \
29994 $(SHELL) $${libsrcdir}/configure \
29995 $(HOST_CONFIGARGS) $${srcdiroption} \
29996 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29998 maybe-all-stage1-zlib: all-stage1-zlib
29999 all-stage1-zlib: configure-stage1-zlib
30000 @$(MAKE) stage1-start
30001 @r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 cd $(HOST_SUBDIR)/zlib && \
30005 $(MAKE) $(FLAGS_TO_PASS) \
30006 CFLAGS="$(STAGE1_CFLAGS)"
30008 maybe-clean-stage1-zlib: clean-stage1-zlib
30010 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
30012 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
30013 cd $(HOST_SUBDIR)/zlib && \
30014 $(MAKE) $(FLAGS_TO_PASS) \
30015 CFLAGS="$(STAGE1_CFLAGS)" clean
30016 @endif zlib-bootstrap
30020 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30021 # only possibility, but now it conflicts with no-bootstrap rules
30027 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30029 .PHONY: distclean-stage1
30031 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30035 @endif gcc-bootstrap
30038 .PHONY: stage2-start stage2-end
30041 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30042 echo stage2 > stage_current ; \
30043 echo stage2 > stage_last; \
30044 $(mkinstalldirs) $(HOST_SUBDIR)
30046 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
30047 mkdir stage2-bfd; \
30048 set stage2-bfd bfd ; \
30049 @CREATE_LINK_TO_DIR@ ; \
30050 set stage1-bfd prev-bfd ; \
30051 @CREATE_LINK_TO_DIR@
30054 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
30055 mkdir stage2-opcodes; \
30056 set stage2-opcodes opcodes ; \
30057 @CREATE_LINK_TO_DIR@ ; \
30058 set stage1-opcodes prev-opcodes ; \
30059 @CREATE_LINK_TO_DIR@
30062 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
30063 mkdir stage2-binutils; \
30064 set stage2-binutils binutils ; \
30065 @CREATE_LINK_TO_DIR@ ; \
30066 set stage1-binutils prev-binutils ; \
30067 @CREATE_LINK_TO_DIR@
30070 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
30071 mkdir stage2-gas; \
30072 set stage2-gas gas ; \
30073 @CREATE_LINK_TO_DIR@ ; \
30074 set stage1-gas prev-gas ; \
30075 @CREATE_LINK_TO_DIR@
30078 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
30079 mkdir stage2-gcc; \
30080 set stage2-gcc gcc ; \
30081 @CREATE_LINK_TO_DIR@ ; \
30082 set stage1-gcc prev-gcc ; \
30083 @CREATE_LINK_TO_DIR@
30086 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
30087 mkdir stage2-intl; \
30088 set stage2-intl intl ; \
30089 @CREATE_LINK_TO_DIR@ ; \
30090 set stage1-intl prev-intl ; \
30091 @CREATE_LINK_TO_DIR@
30094 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
30096 set stage2-ld ld ; \
30097 @CREATE_LINK_TO_DIR@ ; \
30098 set stage1-ld prev-ld ; \
30099 @CREATE_LINK_TO_DIR@
30102 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
30103 mkdir stage2-libcpp; \
30104 set stage2-libcpp libcpp ; \
30105 @CREATE_LINK_TO_DIR@ ; \
30106 set stage1-libcpp prev-libcpp ; \
30107 @CREATE_LINK_TO_DIR@
30110 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
30111 mkdir stage2-libiberty; \
30112 set stage2-libiberty libiberty ; \
30113 @CREATE_LINK_TO_DIR@ ; \
30114 set stage1-libiberty prev-libiberty ; \
30115 @CREATE_LINK_TO_DIR@
30118 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
30119 mkdir stage2-zlib; \
30120 set stage2-zlib zlib ; \
30121 @CREATE_LINK_TO_DIR@ ; \
30122 set stage1-zlib prev-zlib ; \
30123 @CREATE_LINK_TO_DIR@
30127 @rm -f stage_current
30129 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
30130 @UNDO_LINK_TO_DIR@ ; \
30131 set prev-bfd stage1-bfd ; \
30135 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
30136 @UNDO_LINK_TO_DIR@ ; \
30137 set prev-opcodes stage1-opcodes ; \
30141 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
30142 @UNDO_LINK_TO_DIR@ ; \
30143 set prev-binutils stage1-binutils ; \
30147 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
30148 @UNDO_LINK_TO_DIR@ ; \
30149 set prev-gas stage1-gas ; \
30153 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
30154 @UNDO_LINK_TO_DIR@ ; \
30155 set prev-gcc stage1-gcc ; \
30159 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
30160 @UNDO_LINK_TO_DIR@ ; \
30161 set prev-intl stage1-intl ; \
30165 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
30166 @UNDO_LINK_TO_DIR@ ; \
30167 set prev-ld stage1-ld ; \
30171 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
30172 @UNDO_LINK_TO_DIR@ ; \
30173 set prev-libcpp stage1-libcpp ; \
30177 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
30178 @UNDO_LINK_TO_DIR@ ; \
30179 set prev-libiberty stage1-libiberty ; \
30183 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
30184 @UNDO_LINK_TO_DIR@ ; \
30185 set prev-zlib stage1-zlib ; \
30189 # Bubble a bugfix through all the stages up to stage 2. They
30190 # are remade, but not reconfigured. The next stage (if any) will not
30191 # be reconfigured as well.
30192 .PHONY: stage2-bubble
30193 stage2-bubble:: stage1-bubble
30194 @if test -f stage2-lean || test -f stage1-lean ; then \
30195 echo Skipping rebuild of stage2 ; \
30197 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
30200 .PHONY: all-stage2 clean-stage2
30202 maybe-all-stage2-bfd \
30203 maybe-all-stage2-opcodes \
30204 maybe-all-stage2-binutils \
30205 maybe-all-stage2-gas \
30206 maybe-all-stage2-gcc \
30207 maybe-all-stage2-intl \
30208 maybe-all-stage2-ld \
30209 maybe-all-stage2-libcpp \
30210 maybe-all-stage2-libiberty \
30211 maybe-all-stage2-zlib
30213 do-clean: clean-stage2
30215 maybe-clean-stage2-bfd \
30216 maybe-clean-stage2-opcodes \
30217 maybe-clean-stage2-binutils \
30218 maybe-clean-stage2-gas \
30219 maybe-clean-stage2-gcc \
30220 maybe-clean-stage2-intl \
30221 maybe-clean-stage2-ld \
30222 maybe-clean-stage2-libcpp \
30223 maybe-clean-stage2-libiberty \
30224 maybe-clean-stage2-zlib
30227 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
30228 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
30229 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
30231 maybe-configure-stage2-bfd:
30232 maybe-all-stage2-bfd:
30233 maybe-clean-stage2-bfd:
30236 maybe-configure-stage2-bfd: configure-stage2-bfd
30237 configure-stage2-bfd:
30238 @$(MAKE) stage2-start
30239 @[ -f bfd/Makefile ] && exit 0 || : ; \
30240 r=`${PWD_COMMAND}`; export r; \
30241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30242 $(STAGE_HOST_EXPORTS) \
30243 echo Configuring stage 2 in bfd ; \
30244 cd $(HOST_SUBDIR)/bfd || exit 1; \
30245 case $(srcdir) in \
30246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30247 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30250 srcdiroption="--srcdir=$${topdir}/bfd"; \
30251 libsrcdir="$$s/bfd"; \
30252 $(SHELL) $${libsrcdir}/configure \
30253 $(HOST_CONFIGARGS) $${srcdiroption} \
30254 @stage2_werror_flag@
30256 maybe-all-stage2-bfd: all-stage2-bfd
30257 all-stage2-bfd: configure-stage2-bfd
30258 @$(MAKE) stage2-start
30259 @r=`${PWD_COMMAND}`; export r; \
30260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30261 $(STAGE_HOST_EXPORTS) \
30262 cd $(HOST_SUBDIR)/bfd && \
30263 $(MAKE) $(FLAGS_TO_PASS) \
30264 $(POSTSTAGE1_FLAGS_TO_PASS) \
30267 maybe-clean-stage2-bfd: clean-stage2-bfd
30269 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
30271 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
30272 cd $(HOST_SUBDIR)/bfd && \
30273 $(MAKE) $(FLAGS_TO_PASS) \
30274 $(POSTSTAGE1_FLAGS_TO_PASS) \
30276 @endif bfd-bootstrap
30279 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
30280 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
30281 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
30283 maybe-configure-stage2-opcodes:
30284 maybe-all-stage2-opcodes:
30285 maybe-clean-stage2-opcodes:
30287 @if opcodes-bootstrap
30288 maybe-configure-stage2-opcodes: configure-stage2-opcodes
30289 configure-stage2-opcodes:
30290 @$(MAKE) stage2-start
30291 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30292 r=`${PWD_COMMAND}`; export r; \
30293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30294 $(STAGE_HOST_EXPORTS) \
30295 echo Configuring stage 2 in opcodes ; \
30296 cd $(HOST_SUBDIR)/opcodes || exit 1; \
30297 case $(srcdir) in \
30298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30299 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30302 srcdiroption="--srcdir=$${topdir}/opcodes"; \
30303 libsrcdir="$$s/opcodes"; \
30304 $(SHELL) $${libsrcdir}/configure \
30305 $(HOST_CONFIGARGS) $${srcdiroption} \
30306 @stage2_werror_flag@
30308 maybe-all-stage2-opcodes: all-stage2-opcodes
30309 all-stage2-opcodes: configure-stage2-opcodes
30310 @$(MAKE) stage2-start
30311 @r=`${PWD_COMMAND}`; export r; \
30312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30313 $(STAGE_HOST_EXPORTS) \
30314 cd $(HOST_SUBDIR)/opcodes && \
30315 $(MAKE) $(FLAGS_TO_PASS) \
30316 $(POSTSTAGE1_FLAGS_TO_PASS) \
30319 maybe-clean-stage2-opcodes: clean-stage2-opcodes
30320 clean-stage2-opcodes:
30321 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
30323 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
30324 cd $(HOST_SUBDIR)/opcodes && \
30325 $(MAKE) $(FLAGS_TO_PASS) \
30326 $(POSTSTAGE1_FLAGS_TO_PASS) \
30328 @endif opcodes-bootstrap
30331 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
30332 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
30333 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
30335 maybe-configure-stage2-binutils:
30336 maybe-all-stage2-binutils:
30337 maybe-clean-stage2-binutils:
30339 @if binutils-bootstrap
30340 maybe-configure-stage2-binutils: configure-stage2-binutils
30341 configure-stage2-binutils:
30342 @$(MAKE) stage2-start
30343 @[ -f binutils/Makefile ] && exit 0 || : ; \
30344 r=`${PWD_COMMAND}`; export r; \
30345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30346 $(STAGE_HOST_EXPORTS) \
30347 echo Configuring stage 2 in binutils ; \
30348 cd $(HOST_SUBDIR)/binutils || exit 1; \
30349 case $(srcdir) in \
30350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30351 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30354 srcdiroption="--srcdir=$${topdir}/binutils"; \
30355 libsrcdir="$$s/binutils"; \
30356 $(SHELL) $${libsrcdir}/configure \
30357 $(HOST_CONFIGARGS) $${srcdiroption} \
30358 @stage2_werror_flag@
30360 maybe-all-stage2-binutils: all-stage2-binutils
30361 all-stage2-binutils: configure-stage2-binutils
30362 @$(MAKE) stage2-start
30363 @r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(STAGE_HOST_EXPORTS) \
30366 cd $(HOST_SUBDIR)/binutils && \
30367 $(MAKE) $(FLAGS_TO_PASS) \
30368 $(POSTSTAGE1_FLAGS_TO_PASS) \
30371 maybe-clean-stage2-binutils: clean-stage2-binutils
30372 clean-stage2-binutils:
30373 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
30375 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
30376 cd $(HOST_SUBDIR)/binutils && \
30377 $(MAKE) $(FLAGS_TO_PASS) \
30378 $(POSTSTAGE1_FLAGS_TO_PASS) \
30380 @endif binutils-bootstrap
30383 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
30384 .PHONY: all-stage2-gas maybe-all-stage2-gas
30385 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
30387 maybe-configure-stage2-gas:
30388 maybe-all-stage2-gas:
30389 maybe-clean-stage2-gas:
30392 maybe-configure-stage2-gas: configure-stage2-gas
30393 configure-stage2-gas:
30394 @$(MAKE) stage2-start
30395 @[ -f gas/Makefile ] && exit 0 || : ; \
30396 r=`${PWD_COMMAND}`; export r; \
30397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30398 $(STAGE_HOST_EXPORTS) \
30399 echo Configuring stage 2 in gas ; \
30400 cd $(HOST_SUBDIR)/gas || exit 1; \
30401 case $(srcdir) in \
30402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30403 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30406 srcdiroption="--srcdir=$${topdir}/gas"; \
30407 libsrcdir="$$s/gas"; \
30408 $(SHELL) $${libsrcdir}/configure \
30409 $(HOST_CONFIGARGS) $${srcdiroption} \
30410 @stage2_werror_flag@
30412 maybe-all-stage2-gas: all-stage2-gas
30413 all-stage2-gas: configure-stage2-gas
30414 @$(MAKE) stage2-start
30415 @r=`${PWD_COMMAND}`; export r; \
30416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30417 $(STAGE_HOST_EXPORTS) \
30418 cd $(HOST_SUBDIR)/gas && \
30419 $(MAKE) $(FLAGS_TO_PASS) \
30420 $(POSTSTAGE1_FLAGS_TO_PASS) \
30423 maybe-clean-stage2-gas: clean-stage2-gas
30425 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
30427 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
30428 cd $(HOST_SUBDIR)/gas && \
30429 $(MAKE) $(FLAGS_TO_PASS) \
30430 $(POSTSTAGE1_FLAGS_TO_PASS) \
30432 @endif gas-bootstrap
30435 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
30436 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
30437 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
30439 maybe-configure-stage2-gcc:
30440 maybe-all-stage2-gcc:
30441 maybe-clean-stage2-gcc:
30444 maybe-configure-stage2-gcc: configure-stage2-gcc
30445 configure-stage2-gcc:
30446 @$(MAKE) stage2-start
30447 @[ -f gcc/Makefile ] && exit 0 || : ; \
30448 r=`${PWD_COMMAND}`; export r; \
30449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30450 $(STAGE_HOST_EXPORTS) \
30451 echo Configuring stage 2 in gcc ; \
30452 cd $(HOST_SUBDIR)/gcc || exit 1; \
30453 case $(srcdir) in \
30454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30455 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30458 srcdiroption="--srcdir=$${topdir}/gcc"; \
30459 libsrcdir="$$s/gcc"; \
30460 $(SHELL) $${libsrcdir}/configure \
30461 $(HOST_CONFIGARGS) $${srcdiroption} \
30462 @stage2_werror_flag@
30464 maybe-all-stage2-gcc: all-stage2-gcc
30465 all-stage2-gcc: configure-stage2-gcc
30466 @$(MAKE) stage2-start
30467 @r=`${PWD_COMMAND}`; export r; \
30468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30469 $(STAGE_HOST_EXPORTS) \
30470 cd $(HOST_SUBDIR)/gcc && \
30471 $(MAKE) $(FLAGS_TO_PASS) \
30472 $(POSTSTAGE1_FLAGS_TO_PASS) \
30475 maybe-clean-stage2-gcc: clean-stage2-gcc
30477 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
30479 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
30480 cd $(HOST_SUBDIR)/gcc && \
30481 $(MAKE) $(FLAGS_TO_PASS) \
30482 $(POSTSTAGE1_FLAGS_TO_PASS) \
30483 $(EXTRA_GCC_FLAGS) clean
30484 @endif gcc-bootstrap
30487 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
30488 .PHONY: all-stage2-intl maybe-all-stage2-intl
30489 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
30491 maybe-configure-stage2-intl:
30492 maybe-all-stage2-intl:
30493 maybe-clean-stage2-intl:
30496 maybe-configure-stage2-intl: configure-stage2-intl
30497 configure-stage2-intl:
30498 @$(MAKE) stage2-start
30499 @[ -f intl/Makefile ] && exit 0 || : ; \
30500 r=`${PWD_COMMAND}`; export r; \
30501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30502 $(STAGE_HOST_EXPORTS) \
30503 echo Configuring stage 2 in intl ; \
30504 cd $(HOST_SUBDIR)/intl || exit 1; \
30505 case $(srcdir) in \
30506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30507 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30510 srcdiroption="--srcdir=$${topdir}/intl"; \
30511 libsrcdir="$$s/intl"; \
30512 $(SHELL) $${libsrcdir}/configure \
30513 $(HOST_CONFIGARGS) $${srcdiroption} \
30514 @stage2_werror_flag@
30516 maybe-all-stage2-intl: all-stage2-intl
30517 all-stage2-intl: configure-stage2-intl
30518 @$(MAKE) stage2-start
30519 @r=`${PWD_COMMAND}`; export r; \
30520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30521 $(STAGE_HOST_EXPORTS) \
30522 cd $(HOST_SUBDIR)/intl && \
30523 $(MAKE) $(FLAGS_TO_PASS) \
30524 $(POSTSTAGE1_FLAGS_TO_PASS) \
30527 maybe-clean-stage2-intl: clean-stage2-intl
30529 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
30531 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
30532 cd $(HOST_SUBDIR)/intl && \
30533 $(MAKE) $(FLAGS_TO_PASS) \
30534 $(POSTSTAGE1_FLAGS_TO_PASS) \
30536 @endif intl-bootstrap
30539 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
30540 .PHONY: all-stage2-ld maybe-all-stage2-ld
30541 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
30543 maybe-configure-stage2-ld:
30544 maybe-all-stage2-ld:
30545 maybe-clean-stage2-ld:
30548 maybe-configure-stage2-ld: configure-stage2-ld
30549 configure-stage2-ld:
30550 @$(MAKE) stage2-start
30551 @[ -f ld/Makefile ] && exit 0 || : ; \
30552 r=`${PWD_COMMAND}`; export r; \
30553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30554 $(STAGE_HOST_EXPORTS) \
30555 echo Configuring stage 2 in ld ; \
30556 cd $(HOST_SUBDIR)/ld || exit 1; \
30557 case $(srcdir) in \
30558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30559 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30562 srcdiroption="--srcdir=$${topdir}/ld"; \
30563 libsrcdir="$$s/ld"; \
30564 $(SHELL) $${libsrcdir}/configure \
30565 $(HOST_CONFIGARGS) $${srcdiroption} \
30566 @stage2_werror_flag@
30568 maybe-all-stage2-ld: all-stage2-ld
30569 all-stage2-ld: configure-stage2-ld
30570 @$(MAKE) stage2-start
30571 @r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(STAGE_HOST_EXPORTS) \
30574 cd $(HOST_SUBDIR)/ld && \
30575 $(MAKE) $(FLAGS_TO_PASS) \
30576 $(POSTSTAGE1_FLAGS_TO_PASS) \
30579 maybe-clean-stage2-ld: clean-stage2-ld
30581 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
30583 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
30584 cd $(HOST_SUBDIR)/ld && \
30585 $(MAKE) $(FLAGS_TO_PASS) \
30586 $(POSTSTAGE1_FLAGS_TO_PASS) \
30588 @endif ld-bootstrap
30591 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
30592 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
30593 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
30595 maybe-configure-stage2-libcpp:
30596 maybe-all-stage2-libcpp:
30597 maybe-clean-stage2-libcpp:
30599 @if libcpp-bootstrap
30600 maybe-configure-stage2-libcpp: configure-stage2-libcpp
30601 configure-stage2-libcpp:
30602 @$(MAKE) stage2-start
30603 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30604 r=`${PWD_COMMAND}`; export r; \
30605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30606 $(STAGE_HOST_EXPORTS) \
30607 echo Configuring stage 2 in libcpp ; \
30608 cd $(HOST_SUBDIR)/libcpp || exit 1; \
30609 case $(srcdir) in \
30610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30611 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
30612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30614 srcdiroption="--srcdir=$${topdir}/libcpp"; \
30615 libsrcdir="$$s/libcpp"; \
30616 $(SHELL) $${libsrcdir}/configure \
30617 $(HOST_CONFIGARGS) $${srcdiroption} \
30618 @stage2_werror_flag@
30620 maybe-all-stage2-libcpp: all-stage2-libcpp
30621 all-stage2-libcpp: configure-stage2-libcpp
30622 @$(MAKE) stage2-start
30623 @r=`${PWD_COMMAND}`; export r; \
30624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30625 $(STAGE_HOST_EXPORTS) \
30626 cd $(HOST_SUBDIR)/libcpp && \
30627 $(MAKE) $(FLAGS_TO_PASS) \
30628 $(POSTSTAGE1_FLAGS_TO_PASS) \
30631 maybe-clean-stage2-libcpp: clean-stage2-libcpp
30632 clean-stage2-libcpp:
30633 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
30635 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
30636 cd $(HOST_SUBDIR)/libcpp && \
30637 $(MAKE) $(FLAGS_TO_PASS) \
30638 $(POSTSTAGE1_FLAGS_TO_PASS) \
30640 @endif libcpp-bootstrap
30643 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
30644 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
30645 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
30647 maybe-configure-stage2-libiberty:
30648 maybe-all-stage2-libiberty:
30649 maybe-clean-stage2-libiberty:
30651 @if libiberty-bootstrap
30652 maybe-configure-stage2-libiberty: configure-stage2-libiberty
30653 configure-stage2-libiberty:
30654 @$(MAKE) stage2-start
30655 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30656 r=`${PWD_COMMAND}`; export r; \
30657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30658 $(STAGE_HOST_EXPORTS) \
30659 echo Configuring stage 2 in libiberty ; \
30660 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30661 case $(srcdir) in \
30662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30663 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30666 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30667 libsrcdir="$$s/libiberty"; \
30668 $(SHELL) $${libsrcdir}/configure \
30669 $(HOST_CONFIGARGS) $${srcdiroption} \
30670 @stage2_werror_flag@
30672 maybe-all-stage2-libiberty: all-stage2-libiberty
30673 all-stage2-libiberty: configure-stage2-libiberty
30674 @$(MAKE) stage2-start
30675 @r=`${PWD_COMMAND}`; export r; \
30676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30677 $(STAGE_HOST_EXPORTS) \
30678 cd $(HOST_SUBDIR)/libiberty && \
30679 $(MAKE) $(FLAGS_TO_PASS) \
30680 $(POSTSTAGE1_FLAGS_TO_PASS) \
30683 maybe-clean-stage2-libiberty: clean-stage2-libiberty
30684 clean-stage2-libiberty:
30685 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
30687 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
30688 cd $(HOST_SUBDIR)/libiberty && \
30689 $(MAKE) $(FLAGS_TO_PASS) \
30690 $(POSTSTAGE1_FLAGS_TO_PASS) \
30692 @endif libiberty-bootstrap
30695 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30696 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30697 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30699 maybe-configure-stage2-zlib:
30700 maybe-all-stage2-zlib:
30701 maybe-clean-stage2-zlib:
30704 maybe-configure-stage2-zlib: configure-stage2-zlib
30705 configure-stage2-zlib:
30706 @$(MAKE) stage2-start
30707 @[ -f zlib/Makefile ] && exit 0 || : ; \
30708 r=`${PWD_COMMAND}`; export r; \
30709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30710 $(STAGE_HOST_EXPORTS) \
30711 echo Configuring stage 2 in zlib ; \
30712 cd $(HOST_SUBDIR)/zlib || exit 1; \
30713 case $(srcdir) in \
30714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30715 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30718 srcdiroption="--srcdir=$${topdir}/zlib"; \
30719 libsrcdir="$$s/zlib"; \
30720 $(SHELL) $${libsrcdir}/configure \
30721 $(HOST_CONFIGARGS) $${srcdiroption} \
30722 @stage2_werror_flag@
30724 maybe-all-stage2-zlib: all-stage2-zlib
30725 all-stage2-zlib: configure-stage2-zlib
30726 @$(MAKE) stage2-start
30727 @r=`${PWD_COMMAND}`; export r; \
30728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30729 $(STAGE_HOST_EXPORTS) \
30730 cd $(HOST_SUBDIR)/zlib && \
30731 $(MAKE) $(FLAGS_TO_PASS) \
30732 $(POSTSTAGE1_FLAGS_TO_PASS) \
30735 maybe-clean-stage2-zlib: clean-stage2-zlib
30737 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
30739 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
30740 cd $(HOST_SUBDIR)/zlib && \
30741 $(MAKE) $(FLAGS_TO_PASS) \
30742 $(POSTSTAGE1_FLAGS_TO_PASS) \
30744 @endif zlib-bootstrap
30748 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30749 # only possibility, but now it conflicts with no-bootstrap rules
30755 bootstrap2: stage2-bubble all
30758 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30759 distclean-stage1:: distclean-stage2
30760 .PHONY: distclean-stage2
30762 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30766 @endif gcc-bootstrap
30769 .PHONY: stage3-start stage3-end
30772 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30773 echo stage3 > stage_current ; \
30774 echo stage3 > stage_last; \
30775 $(mkinstalldirs) $(HOST_SUBDIR)
30777 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
30778 mkdir stage3-bfd; \
30779 set stage3-bfd bfd ; \
30780 @CREATE_LINK_TO_DIR@ ; \
30781 set stage2-bfd prev-bfd ; \
30782 @CREATE_LINK_TO_DIR@
30785 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
30786 mkdir stage3-opcodes; \
30787 set stage3-opcodes opcodes ; \
30788 @CREATE_LINK_TO_DIR@ ; \
30789 set stage2-opcodes prev-opcodes ; \
30790 @CREATE_LINK_TO_DIR@
30793 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
30794 mkdir stage3-binutils; \
30795 set stage3-binutils binutils ; \
30796 @CREATE_LINK_TO_DIR@ ; \
30797 set stage2-binutils prev-binutils ; \
30798 @CREATE_LINK_TO_DIR@
30801 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
30802 mkdir stage3-gas; \
30803 set stage3-gas gas ; \
30804 @CREATE_LINK_TO_DIR@ ; \
30805 set stage2-gas prev-gas ; \
30806 @CREATE_LINK_TO_DIR@
30809 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
30810 mkdir stage3-gcc; \
30811 set stage3-gcc gcc ; \
30812 @CREATE_LINK_TO_DIR@ ; \
30813 set stage2-gcc prev-gcc ; \
30814 @CREATE_LINK_TO_DIR@
30817 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
30818 mkdir stage3-intl; \
30819 set stage3-intl intl ; \
30820 @CREATE_LINK_TO_DIR@ ; \
30821 set stage2-intl prev-intl ; \
30822 @CREATE_LINK_TO_DIR@
30825 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
30827 set stage3-ld ld ; \
30828 @CREATE_LINK_TO_DIR@ ; \
30829 set stage2-ld prev-ld ; \
30830 @CREATE_LINK_TO_DIR@
30833 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
30834 mkdir stage3-libcpp; \
30835 set stage3-libcpp libcpp ; \
30836 @CREATE_LINK_TO_DIR@ ; \
30837 set stage2-libcpp prev-libcpp ; \
30838 @CREATE_LINK_TO_DIR@
30841 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
30842 mkdir stage3-libiberty; \
30843 set stage3-libiberty libiberty ; \
30844 @CREATE_LINK_TO_DIR@ ; \
30845 set stage2-libiberty prev-libiberty ; \
30846 @CREATE_LINK_TO_DIR@
30849 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
30850 mkdir stage3-zlib; \
30851 set stage3-zlib zlib ; \
30852 @CREATE_LINK_TO_DIR@ ; \
30853 set stage2-zlib prev-zlib ; \
30854 @CREATE_LINK_TO_DIR@
30858 @rm -f stage_current
30860 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
30861 @UNDO_LINK_TO_DIR@ ; \
30862 set prev-bfd stage2-bfd ; \
30866 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
30867 @UNDO_LINK_TO_DIR@ ; \
30868 set prev-opcodes stage2-opcodes ; \
30872 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
30873 @UNDO_LINK_TO_DIR@ ; \
30874 set prev-binutils stage2-binutils ; \
30878 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
30879 @UNDO_LINK_TO_DIR@ ; \
30880 set prev-gas stage2-gas ; \
30884 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
30885 @UNDO_LINK_TO_DIR@ ; \
30886 set prev-gcc stage2-gcc ; \
30890 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
30891 @UNDO_LINK_TO_DIR@ ; \
30892 set prev-intl stage2-intl ; \
30896 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
30897 @UNDO_LINK_TO_DIR@ ; \
30898 set prev-ld stage2-ld ; \
30902 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
30903 @UNDO_LINK_TO_DIR@ ; \
30904 set prev-libcpp stage2-libcpp ; \
30908 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
30909 @UNDO_LINK_TO_DIR@ ; \
30910 set prev-libiberty stage2-libiberty ; \
30914 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
30915 @UNDO_LINK_TO_DIR@ ; \
30916 set prev-zlib stage2-zlib ; \
30920 # Bubble a bugfix through all the stages up to stage 3. They
30921 # are remade, but not reconfigured. The next stage (if any) will not
30922 # be reconfigured as well.
30923 .PHONY: stage3-bubble
30924 stage3-bubble:: stage2-bubble
30925 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
30926 @if test -f stage3-lean || test -f stage2-lean ; then \
30927 echo Skipping rebuild of stage3 ; \
30929 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
30932 .PHONY: all-stage3 clean-stage3
30934 maybe-all-stage3-bfd \
30935 maybe-all-stage3-opcodes \
30936 maybe-all-stage3-binutils \
30937 maybe-all-stage3-gas \
30938 maybe-all-stage3-gcc \
30939 maybe-all-stage3-intl \
30940 maybe-all-stage3-ld \
30941 maybe-all-stage3-libcpp \
30942 maybe-all-stage3-libiberty \
30943 maybe-all-stage3-zlib
30945 do-clean: clean-stage3
30947 maybe-clean-stage3-bfd \
30948 maybe-clean-stage3-opcodes \
30949 maybe-clean-stage3-binutils \
30950 maybe-clean-stage3-gas \
30951 maybe-clean-stage3-gcc \
30952 maybe-clean-stage3-intl \
30953 maybe-clean-stage3-ld \
30954 maybe-clean-stage3-libcpp \
30955 maybe-clean-stage3-libiberty \
30956 maybe-clean-stage3-zlib
30959 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
30960 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
30961 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
30963 maybe-configure-stage3-bfd:
30964 maybe-all-stage3-bfd:
30965 maybe-clean-stage3-bfd:
30968 maybe-configure-stage3-bfd: configure-stage3-bfd
30969 configure-stage3-bfd:
30970 @$(MAKE) stage3-start
30971 @[ -f bfd/Makefile ] && exit 0 || : ; \
30972 r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30974 $(STAGE_HOST_EXPORTS) \
30975 echo Configuring stage 3 in bfd ; \
30976 cd $(HOST_SUBDIR)/bfd || exit 1; \
30977 case $(srcdir) in \
30978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30979 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30982 srcdiroption="--srcdir=$${topdir}/bfd"; \
30983 libsrcdir="$$s/bfd"; \
30984 $(SHELL) $${libsrcdir}/configure \
30985 $(HOST_CONFIGARGS) $${srcdiroption} \
30986 @stage2_werror_flag@
30988 maybe-all-stage3-bfd: all-stage3-bfd
30989 all-stage3-bfd: configure-stage3-bfd
30990 @$(MAKE) stage3-start
30991 @r=`${PWD_COMMAND}`; export r; \
30992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30993 $(STAGE_HOST_EXPORTS) \
30994 cd $(HOST_SUBDIR)/bfd && \
30995 $(MAKE) $(FLAGS_TO_PASS) \
30996 $(POSTSTAGE1_FLAGS_TO_PASS) \
30999 maybe-clean-stage3-bfd: clean-stage3-bfd
31001 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
31003 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
31004 cd $(HOST_SUBDIR)/bfd && \
31005 $(MAKE) $(FLAGS_TO_PASS) \
31006 $(POSTSTAGE1_FLAGS_TO_PASS) \
31008 @endif bfd-bootstrap
31011 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
31012 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
31013 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
31015 maybe-configure-stage3-opcodes:
31016 maybe-all-stage3-opcodes:
31017 maybe-clean-stage3-opcodes:
31019 @if opcodes-bootstrap
31020 maybe-configure-stage3-opcodes: configure-stage3-opcodes
31021 configure-stage3-opcodes:
31022 @$(MAKE) stage3-start
31023 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31024 r=`${PWD_COMMAND}`; export r; \
31025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31026 $(STAGE_HOST_EXPORTS) \
31027 echo Configuring stage 3 in opcodes ; \
31028 cd $(HOST_SUBDIR)/opcodes || exit 1; \
31029 case $(srcdir) in \
31030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31031 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31034 srcdiroption="--srcdir=$${topdir}/opcodes"; \
31035 libsrcdir="$$s/opcodes"; \
31036 $(SHELL) $${libsrcdir}/configure \
31037 $(HOST_CONFIGARGS) $${srcdiroption} \
31038 @stage2_werror_flag@
31040 maybe-all-stage3-opcodes: all-stage3-opcodes
31041 all-stage3-opcodes: configure-stage3-opcodes
31042 @$(MAKE) stage3-start
31043 @r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(STAGE_HOST_EXPORTS) \
31046 cd $(HOST_SUBDIR)/opcodes && \
31047 $(MAKE) $(FLAGS_TO_PASS) \
31048 $(POSTSTAGE1_FLAGS_TO_PASS) \
31051 maybe-clean-stage3-opcodes: clean-stage3-opcodes
31052 clean-stage3-opcodes:
31053 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
31055 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
31056 cd $(HOST_SUBDIR)/opcodes && \
31057 $(MAKE) $(FLAGS_TO_PASS) \
31058 $(POSTSTAGE1_FLAGS_TO_PASS) \
31060 @endif opcodes-bootstrap
31063 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
31064 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
31065 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
31067 maybe-configure-stage3-binutils:
31068 maybe-all-stage3-binutils:
31069 maybe-clean-stage3-binutils:
31071 @if binutils-bootstrap
31072 maybe-configure-stage3-binutils: configure-stage3-binutils
31073 configure-stage3-binutils:
31074 @$(MAKE) stage3-start
31075 @[ -f binutils/Makefile ] && exit 0 || : ; \
31076 r=`${PWD_COMMAND}`; export r; \
31077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31078 $(STAGE_HOST_EXPORTS) \
31079 echo Configuring stage 3 in binutils ; \
31080 cd $(HOST_SUBDIR)/binutils || exit 1; \
31081 case $(srcdir) in \
31082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31083 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31086 srcdiroption="--srcdir=$${topdir}/binutils"; \
31087 libsrcdir="$$s/binutils"; \
31088 $(SHELL) $${libsrcdir}/configure \
31089 $(HOST_CONFIGARGS) $${srcdiroption} \
31090 @stage2_werror_flag@
31092 maybe-all-stage3-binutils: all-stage3-binutils
31093 all-stage3-binutils: configure-stage3-binutils
31094 @$(MAKE) stage3-start
31095 @r=`${PWD_COMMAND}`; export r; \
31096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31097 $(STAGE_HOST_EXPORTS) \
31098 cd $(HOST_SUBDIR)/binutils && \
31099 $(MAKE) $(FLAGS_TO_PASS) \
31100 $(POSTSTAGE1_FLAGS_TO_PASS) \
31103 maybe-clean-stage3-binutils: clean-stage3-binutils
31104 clean-stage3-binutils:
31105 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
31107 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
31108 cd $(HOST_SUBDIR)/binutils && \
31109 $(MAKE) $(FLAGS_TO_PASS) \
31110 $(POSTSTAGE1_FLAGS_TO_PASS) \
31112 @endif binutils-bootstrap
31115 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
31116 .PHONY: all-stage3-gas maybe-all-stage3-gas
31117 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
31119 maybe-configure-stage3-gas:
31120 maybe-all-stage3-gas:
31121 maybe-clean-stage3-gas:
31124 maybe-configure-stage3-gas: configure-stage3-gas
31125 configure-stage3-gas:
31126 @$(MAKE) stage3-start
31127 @[ -f gas/Makefile ] && exit 0 || : ; \
31128 r=`${PWD_COMMAND}`; export r; \
31129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31130 $(STAGE_HOST_EXPORTS) \
31131 echo Configuring stage 3 in gas ; \
31132 cd $(HOST_SUBDIR)/gas || exit 1; \
31133 case $(srcdir) in \
31134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31135 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31138 srcdiroption="--srcdir=$${topdir}/gas"; \
31139 libsrcdir="$$s/gas"; \
31140 $(SHELL) $${libsrcdir}/configure \
31141 $(HOST_CONFIGARGS) $${srcdiroption} \
31142 @stage2_werror_flag@
31144 maybe-all-stage3-gas: all-stage3-gas
31145 all-stage3-gas: configure-stage3-gas
31146 @$(MAKE) stage3-start
31147 @r=`${PWD_COMMAND}`; export r; \
31148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31149 $(STAGE_HOST_EXPORTS) \
31150 cd $(HOST_SUBDIR)/gas && \
31151 $(MAKE) $(FLAGS_TO_PASS) \
31152 $(POSTSTAGE1_FLAGS_TO_PASS) \
31155 maybe-clean-stage3-gas: clean-stage3-gas
31157 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
31159 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
31160 cd $(HOST_SUBDIR)/gas && \
31161 $(MAKE) $(FLAGS_TO_PASS) \
31162 $(POSTSTAGE1_FLAGS_TO_PASS) \
31164 @endif gas-bootstrap
31167 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
31168 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
31169 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
31171 maybe-configure-stage3-gcc:
31172 maybe-all-stage3-gcc:
31173 maybe-clean-stage3-gcc:
31176 maybe-configure-stage3-gcc: configure-stage3-gcc
31177 configure-stage3-gcc:
31178 @$(MAKE) stage3-start
31179 @[ -f gcc/Makefile ] && exit 0 || : ; \
31180 r=`${PWD_COMMAND}`; export r; \
31181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31182 $(STAGE_HOST_EXPORTS) \
31183 echo Configuring stage 3 in gcc ; \
31184 cd $(HOST_SUBDIR)/gcc || exit 1; \
31185 case $(srcdir) in \
31186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31187 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31190 srcdiroption="--srcdir=$${topdir}/gcc"; \
31191 libsrcdir="$$s/gcc"; \
31192 $(SHELL) $${libsrcdir}/configure \
31193 $(HOST_CONFIGARGS) $${srcdiroption} \
31194 @stage2_werror_flag@
31196 maybe-all-stage3-gcc: all-stage3-gcc
31197 all-stage3-gcc: configure-stage3-gcc
31198 @$(MAKE) stage3-start
31199 @r=`${PWD_COMMAND}`; export r; \
31200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 $(STAGE_HOST_EXPORTS) \
31202 cd $(HOST_SUBDIR)/gcc && \
31203 $(MAKE) $(FLAGS_TO_PASS) \
31204 $(POSTSTAGE1_FLAGS_TO_PASS) \
31207 maybe-clean-stage3-gcc: clean-stage3-gcc
31209 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
31211 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
31212 cd $(HOST_SUBDIR)/gcc && \
31213 $(MAKE) $(FLAGS_TO_PASS) \
31214 $(POSTSTAGE1_FLAGS_TO_PASS) \
31215 $(EXTRA_GCC_FLAGS) clean
31216 @endif gcc-bootstrap
31219 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
31220 .PHONY: all-stage3-intl maybe-all-stage3-intl
31221 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
31223 maybe-configure-stage3-intl:
31224 maybe-all-stage3-intl:
31225 maybe-clean-stage3-intl:
31228 maybe-configure-stage3-intl: configure-stage3-intl
31229 configure-stage3-intl:
31230 @$(MAKE) stage3-start
31231 @[ -f intl/Makefile ] && exit 0 || : ; \
31232 r=`${PWD_COMMAND}`; export r; \
31233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31234 $(STAGE_HOST_EXPORTS) \
31235 echo Configuring stage 3 in intl ; \
31236 cd $(HOST_SUBDIR)/intl || exit 1; \
31237 case $(srcdir) in \
31238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31239 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
31240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31242 srcdiroption="--srcdir=$${topdir}/intl"; \
31243 libsrcdir="$$s/intl"; \
31244 $(SHELL) $${libsrcdir}/configure \
31245 $(HOST_CONFIGARGS) $${srcdiroption} \
31246 @stage2_werror_flag@
31248 maybe-all-stage3-intl: all-stage3-intl
31249 all-stage3-intl: configure-stage3-intl
31250 @$(MAKE) stage3-start
31251 @r=`${PWD_COMMAND}`; export r; \
31252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31253 $(STAGE_HOST_EXPORTS) \
31254 cd $(HOST_SUBDIR)/intl && \
31255 $(MAKE) $(FLAGS_TO_PASS) \
31256 $(POSTSTAGE1_FLAGS_TO_PASS) \
31259 maybe-clean-stage3-intl: clean-stage3-intl
31261 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
31263 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
31264 cd $(HOST_SUBDIR)/intl && \
31265 $(MAKE) $(FLAGS_TO_PASS) \
31266 $(POSTSTAGE1_FLAGS_TO_PASS) \
31268 @endif intl-bootstrap
31271 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
31272 .PHONY: all-stage3-ld maybe-all-stage3-ld
31273 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
31275 maybe-configure-stage3-ld:
31276 maybe-all-stage3-ld:
31277 maybe-clean-stage3-ld:
31280 maybe-configure-stage3-ld: configure-stage3-ld
31281 configure-stage3-ld:
31282 @$(MAKE) stage3-start
31283 @[ -f ld/Makefile ] && exit 0 || : ; \
31284 r=`${PWD_COMMAND}`; export r; \
31285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31286 $(STAGE_HOST_EXPORTS) \
31287 echo Configuring stage 3 in ld ; \
31288 cd $(HOST_SUBDIR)/ld || exit 1; \
31289 case $(srcdir) in \
31290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31291 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
31292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31294 srcdiroption="--srcdir=$${topdir}/ld"; \
31295 libsrcdir="$$s/ld"; \
31296 $(SHELL) $${libsrcdir}/configure \
31297 $(HOST_CONFIGARGS) $${srcdiroption} \
31298 @stage2_werror_flag@
31300 maybe-all-stage3-ld: all-stage3-ld
31301 all-stage3-ld: configure-stage3-ld
31302 @$(MAKE) stage3-start
31303 @r=`${PWD_COMMAND}`; export r; \
31304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31305 $(STAGE_HOST_EXPORTS) \
31306 cd $(HOST_SUBDIR)/ld && \
31307 $(MAKE) $(FLAGS_TO_PASS) \
31308 $(POSTSTAGE1_FLAGS_TO_PASS) \
31311 maybe-clean-stage3-ld: clean-stage3-ld
31313 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
31315 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
31316 cd $(HOST_SUBDIR)/ld && \
31317 $(MAKE) $(FLAGS_TO_PASS) \
31318 $(POSTSTAGE1_FLAGS_TO_PASS) \
31320 @endif ld-bootstrap
31323 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
31324 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
31325 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
31327 maybe-configure-stage3-libcpp:
31328 maybe-all-stage3-libcpp:
31329 maybe-clean-stage3-libcpp:
31331 @if libcpp-bootstrap
31332 maybe-configure-stage3-libcpp: configure-stage3-libcpp
31333 configure-stage3-libcpp:
31334 @$(MAKE) stage3-start
31335 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31336 r=`${PWD_COMMAND}`; export r; \
31337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31338 $(STAGE_HOST_EXPORTS) \
31339 echo Configuring stage 3 in libcpp ; \
31340 cd $(HOST_SUBDIR)/libcpp || exit 1; \
31341 case $(srcdir) in \
31342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31343 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31346 srcdiroption="--srcdir=$${topdir}/libcpp"; \
31347 libsrcdir="$$s/libcpp"; \
31348 $(SHELL) $${libsrcdir}/configure \
31349 $(HOST_CONFIGARGS) $${srcdiroption} \
31350 @stage2_werror_flag@
31352 maybe-all-stage3-libcpp: all-stage3-libcpp
31353 all-stage3-libcpp: configure-stage3-libcpp
31354 @$(MAKE) stage3-start
31355 @r=`${PWD_COMMAND}`; export r; \
31356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31357 $(STAGE_HOST_EXPORTS) \
31358 cd $(HOST_SUBDIR)/libcpp && \
31359 $(MAKE) $(FLAGS_TO_PASS) \
31360 $(POSTSTAGE1_FLAGS_TO_PASS) \
31363 maybe-clean-stage3-libcpp: clean-stage3-libcpp
31364 clean-stage3-libcpp:
31365 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
31367 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
31368 cd $(HOST_SUBDIR)/libcpp && \
31369 $(MAKE) $(FLAGS_TO_PASS) \
31370 $(POSTSTAGE1_FLAGS_TO_PASS) \
31372 @endif libcpp-bootstrap
31375 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
31376 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
31377 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
31379 maybe-configure-stage3-libiberty:
31380 maybe-all-stage3-libiberty:
31381 maybe-clean-stage3-libiberty:
31383 @if libiberty-bootstrap
31384 maybe-configure-stage3-libiberty: configure-stage3-libiberty
31385 configure-stage3-libiberty:
31386 @$(MAKE) stage3-start
31387 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31388 r=`${PWD_COMMAND}`; export r; \
31389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31390 $(STAGE_HOST_EXPORTS) \
31391 echo Configuring stage 3 in libiberty ; \
31392 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31393 case $(srcdir) in \
31394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31395 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31398 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31399 libsrcdir="$$s/libiberty"; \
31400 $(SHELL) $${libsrcdir}/configure \
31401 $(HOST_CONFIGARGS) $${srcdiroption} \
31402 @stage2_werror_flag@
31404 maybe-all-stage3-libiberty: all-stage3-libiberty
31405 all-stage3-libiberty: configure-stage3-libiberty
31406 @$(MAKE) stage3-start
31407 @r=`${PWD_COMMAND}`; export r; \
31408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31409 $(STAGE_HOST_EXPORTS) \
31410 cd $(HOST_SUBDIR)/libiberty && \
31411 $(MAKE) $(FLAGS_TO_PASS) \
31412 $(POSTSTAGE1_FLAGS_TO_PASS) \
31415 maybe-clean-stage3-libiberty: clean-stage3-libiberty
31416 clean-stage3-libiberty:
31417 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
31419 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
31420 cd $(HOST_SUBDIR)/libiberty && \
31421 $(MAKE) $(FLAGS_TO_PASS) \
31422 $(POSTSTAGE1_FLAGS_TO_PASS) \
31424 @endif libiberty-bootstrap
31427 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31428 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
31429 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
31431 maybe-configure-stage3-zlib:
31432 maybe-all-stage3-zlib:
31433 maybe-clean-stage3-zlib:
31436 maybe-configure-stage3-zlib: configure-stage3-zlib
31437 configure-stage3-zlib:
31438 @$(MAKE) stage3-start
31439 @[ -f zlib/Makefile ] && exit 0 || : ; \
31440 r=`${PWD_COMMAND}`; export r; \
31441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31442 $(STAGE_HOST_EXPORTS) \
31443 echo Configuring stage 3 in zlib ; \
31444 cd $(HOST_SUBDIR)/zlib || exit 1; \
31445 case $(srcdir) in \
31446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31447 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31450 srcdiroption="--srcdir=$${topdir}/zlib"; \
31451 libsrcdir="$$s/zlib"; \
31452 $(SHELL) $${libsrcdir}/configure \
31453 $(HOST_CONFIGARGS) $${srcdiroption} \
31454 @stage2_werror_flag@
31456 maybe-all-stage3-zlib: all-stage3-zlib
31457 all-stage3-zlib: configure-stage3-zlib
31458 @$(MAKE) stage3-start
31459 @r=`${PWD_COMMAND}`; export r; \
31460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31461 $(STAGE_HOST_EXPORTS) \
31462 cd $(HOST_SUBDIR)/zlib && \
31463 $(MAKE) $(FLAGS_TO_PASS) \
31464 $(POSTSTAGE1_FLAGS_TO_PASS) \
31467 maybe-clean-stage3-zlib: clean-stage3-zlib
31469 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
31471 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
31472 cd $(HOST_SUBDIR)/zlib && \
31473 $(MAKE) $(FLAGS_TO_PASS) \
31474 $(POSTSTAGE1_FLAGS_TO_PASS) \
31476 @endif zlib-bootstrap
31480 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31481 # only possibility, but now it conflicts with no-bootstrap rules
31485 @if test -f stage2-lean; then \
31486 echo Cannot compare object files as stage 2 was deleted. ; \
31489 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31490 @r=`${PWD_COMMAND}`; export r; \
31491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31492 rm -f .bad_compare ; \
31494 files=`find . -name "*$(objext)" -print` ; \
31496 for file in $${files} ; do \
31497 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
31498 @do_compare@ > /dev/null 2>&1; \
31499 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
31501 if [ -f .bad_compare ]; then \
31502 echo "Bootstrap comparison failure!"; \
31503 cat .bad_compare; \
31509 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
31514 bootstrap: stage3-bubble compare all
31517 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31518 distclean-stage2:: distclean-stage3
31519 .PHONY: distclean-stage3
31521 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31522 rm -rf stage3-* compare
31526 cleanstrap: distclean bootstrap
31528 @endif gcc-bootstrap
31531 .PHONY: stage4-start stage4-end
31534 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31535 echo stage4 > stage_current ; \
31536 echo stage4 > stage_last; \
31537 $(mkinstalldirs) $(HOST_SUBDIR)
31539 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
31540 mkdir stage4-bfd; \
31541 set stage4-bfd bfd ; \
31542 @CREATE_LINK_TO_DIR@ ; \
31543 set stage3-bfd prev-bfd ; \
31544 @CREATE_LINK_TO_DIR@
31547 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
31548 mkdir stage4-opcodes; \
31549 set stage4-opcodes opcodes ; \
31550 @CREATE_LINK_TO_DIR@ ; \
31551 set stage3-opcodes prev-opcodes ; \
31552 @CREATE_LINK_TO_DIR@
31555 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
31556 mkdir stage4-binutils; \
31557 set stage4-binutils binutils ; \
31558 @CREATE_LINK_TO_DIR@ ; \
31559 set stage3-binutils prev-binutils ; \
31560 @CREATE_LINK_TO_DIR@
31563 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
31564 mkdir stage4-gas; \
31565 set stage4-gas gas ; \
31566 @CREATE_LINK_TO_DIR@ ; \
31567 set stage3-gas prev-gas ; \
31568 @CREATE_LINK_TO_DIR@
31571 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
31572 mkdir stage4-gcc; \
31573 set stage4-gcc gcc ; \
31574 @CREATE_LINK_TO_DIR@ ; \
31575 set stage3-gcc prev-gcc ; \
31576 @CREATE_LINK_TO_DIR@
31579 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
31580 mkdir stage4-intl; \
31581 set stage4-intl intl ; \
31582 @CREATE_LINK_TO_DIR@ ; \
31583 set stage3-intl prev-intl ; \
31584 @CREATE_LINK_TO_DIR@
31587 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
31589 set stage4-ld ld ; \
31590 @CREATE_LINK_TO_DIR@ ; \
31591 set stage3-ld prev-ld ; \
31592 @CREATE_LINK_TO_DIR@
31595 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
31596 mkdir stage4-libcpp; \
31597 set stage4-libcpp libcpp ; \
31598 @CREATE_LINK_TO_DIR@ ; \
31599 set stage3-libcpp prev-libcpp ; \
31600 @CREATE_LINK_TO_DIR@
31603 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
31604 mkdir stage4-libiberty; \
31605 set stage4-libiberty libiberty ; \
31606 @CREATE_LINK_TO_DIR@ ; \
31607 set stage3-libiberty prev-libiberty ; \
31608 @CREATE_LINK_TO_DIR@
31611 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
31612 mkdir stage4-zlib; \
31613 set stage4-zlib zlib ; \
31614 @CREATE_LINK_TO_DIR@ ; \
31615 set stage3-zlib prev-zlib ; \
31616 @CREATE_LINK_TO_DIR@
31620 @rm -f stage_current
31622 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
31623 @UNDO_LINK_TO_DIR@ ; \
31624 set prev-bfd stage3-bfd ; \
31628 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
31629 @UNDO_LINK_TO_DIR@ ; \
31630 set prev-opcodes stage3-opcodes ; \
31634 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
31635 @UNDO_LINK_TO_DIR@ ; \
31636 set prev-binutils stage3-binutils ; \
31640 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
31641 @UNDO_LINK_TO_DIR@ ; \
31642 set prev-gas stage3-gas ; \
31646 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
31647 @UNDO_LINK_TO_DIR@ ; \
31648 set prev-gcc stage3-gcc ; \
31652 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
31653 @UNDO_LINK_TO_DIR@ ; \
31654 set prev-intl stage3-intl ; \
31658 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
31659 @UNDO_LINK_TO_DIR@ ; \
31660 set prev-ld stage3-ld ; \
31664 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
31665 @UNDO_LINK_TO_DIR@ ; \
31666 set prev-libcpp stage3-libcpp ; \
31670 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
31671 @UNDO_LINK_TO_DIR@ ; \
31672 set prev-libiberty stage3-libiberty ; \
31676 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
31677 @UNDO_LINK_TO_DIR@ ; \
31678 set prev-zlib stage3-zlib ; \
31682 # Bubble a bugfix through all the stages up to stage 4. They
31683 # are remade, but not reconfigured. The next stage (if any) will not
31684 # be reconfigured as well.
31685 .PHONY: stage4-bubble
31686 stage4-bubble:: stage3-bubble
31687 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
31688 @if test -f stage4-lean || test -f stage3-lean ; then \
31689 echo Skipping rebuild of stage4 ; \
31691 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
31694 .PHONY: all-stage4 clean-stage4
31696 maybe-all-stage4-bfd \
31697 maybe-all-stage4-opcodes \
31698 maybe-all-stage4-binutils \
31699 maybe-all-stage4-gas \
31700 maybe-all-stage4-gcc \
31701 maybe-all-stage4-intl \
31702 maybe-all-stage4-ld \
31703 maybe-all-stage4-libcpp \
31704 maybe-all-stage4-libiberty \
31705 maybe-all-stage4-zlib
31707 do-clean: clean-stage4
31709 maybe-clean-stage4-bfd \
31710 maybe-clean-stage4-opcodes \
31711 maybe-clean-stage4-binutils \
31712 maybe-clean-stage4-gas \
31713 maybe-clean-stage4-gcc \
31714 maybe-clean-stage4-intl \
31715 maybe-clean-stage4-ld \
31716 maybe-clean-stage4-libcpp \
31717 maybe-clean-stage4-libiberty \
31718 maybe-clean-stage4-zlib
31721 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
31722 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
31723 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
31725 maybe-configure-stage4-bfd:
31726 maybe-all-stage4-bfd:
31727 maybe-clean-stage4-bfd:
31730 maybe-configure-stage4-bfd: configure-stage4-bfd
31731 configure-stage4-bfd:
31732 @$(MAKE) stage4-start
31733 @[ -f bfd/Makefile ] && exit 0 || : ; \
31734 r=`${PWD_COMMAND}`; export r; \
31735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31736 $(STAGE_HOST_EXPORTS) \
31737 echo Configuring stage 4 in bfd ; \
31738 cd $(HOST_SUBDIR)/bfd || exit 1; \
31739 case $(srcdir) in \
31740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31741 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
31742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31744 srcdiroption="--srcdir=$${topdir}/bfd"; \
31745 libsrcdir="$$s/bfd"; \
31746 $(SHELL) $${libsrcdir}/configure \
31747 $(HOST_CONFIGARGS) $${srcdiroption} \
31748 @stage2_werror_flag@
31750 maybe-all-stage4-bfd: all-stage4-bfd
31751 all-stage4-bfd: configure-stage4-bfd
31752 @$(MAKE) stage4-start
31753 @r=`${PWD_COMMAND}`; export r; \
31754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31755 $(STAGE_HOST_EXPORTS) \
31756 cd $(HOST_SUBDIR)/bfd && \
31757 $(MAKE) $(FLAGS_TO_PASS) \
31758 $(POSTSTAGE1_FLAGS_TO_PASS) \
31761 maybe-clean-stage4-bfd: clean-stage4-bfd
31763 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
31765 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
31766 cd $(HOST_SUBDIR)/bfd && \
31767 $(MAKE) $(FLAGS_TO_PASS) \
31768 $(POSTSTAGE1_FLAGS_TO_PASS) \
31770 @endif bfd-bootstrap
31773 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
31774 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
31775 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
31777 maybe-configure-stage4-opcodes:
31778 maybe-all-stage4-opcodes:
31779 maybe-clean-stage4-opcodes:
31781 @if opcodes-bootstrap
31782 maybe-configure-stage4-opcodes: configure-stage4-opcodes
31783 configure-stage4-opcodes:
31784 @$(MAKE) stage4-start
31785 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31786 r=`${PWD_COMMAND}`; export r; \
31787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31788 $(STAGE_HOST_EXPORTS) \
31789 echo Configuring stage 4 in opcodes ; \
31790 cd $(HOST_SUBDIR)/opcodes || exit 1; \
31791 case $(srcdir) in \
31792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31793 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31796 srcdiroption="--srcdir=$${topdir}/opcodes"; \
31797 libsrcdir="$$s/opcodes"; \
31798 $(SHELL) $${libsrcdir}/configure \
31799 $(HOST_CONFIGARGS) $${srcdiroption} \
31800 @stage2_werror_flag@
31802 maybe-all-stage4-opcodes: all-stage4-opcodes
31803 all-stage4-opcodes: configure-stage4-opcodes
31804 @$(MAKE) stage4-start
31805 @r=`${PWD_COMMAND}`; export r; \
31806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31807 $(STAGE_HOST_EXPORTS) \
31808 cd $(HOST_SUBDIR)/opcodes && \
31809 $(MAKE) $(FLAGS_TO_PASS) \
31810 $(POSTSTAGE1_FLAGS_TO_PASS) \
31813 maybe-clean-stage4-opcodes: clean-stage4-opcodes
31814 clean-stage4-opcodes:
31815 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
31817 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
31818 cd $(HOST_SUBDIR)/opcodes && \
31819 $(MAKE) $(FLAGS_TO_PASS) \
31820 $(POSTSTAGE1_FLAGS_TO_PASS) \
31822 @endif opcodes-bootstrap
31825 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
31826 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
31827 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
31829 maybe-configure-stage4-binutils:
31830 maybe-all-stage4-binutils:
31831 maybe-clean-stage4-binutils:
31833 @if binutils-bootstrap
31834 maybe-configure-stage4-binutils: configure-stage4-binutils
31835 configure-stage4-binutils:
31836 @$(MAKE) stage4-start
31837 @[ -f binutils/Makefile ] && exit 0 || : ; \
31838 r=`${PWD_COMMAND}`; export r; \
31839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31840 $(STAGE_HOST_EXPORTS) \
31841 echo Configuring stage 4 in binutils ; \
31842 cd $(HOST_SUBDIR)/binutils || exit 1; \
31843 case $(srcdir) in \
31844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31845 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31848 srcdiroption="--srcdir=$${topdir}/binutils"; \
31849 libsrcdir="$$s/binutils"; \
31850 $(SHELL) $${libsrcdir}/configure \
31851 $(HOST_CONFIGARGS) $${srcdiroption} \
31852 @stage2_werror_flag@
31854 maybe-all-stage4-binutils: all-stage4-binutils
31855 all-stage4-binutils: configure-stage4-binutils
31856 @$(MAKE) stage4-start
31857 @r=`${PWD_COMMAND}`; export r; \
31858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31859 $(STAGE_HOST_EXPORTS) \
31860 cd $(HOST_SUBDIR)/binutils && \
31861 $(MAKE) $(FLAGS_TO_PASS) \
31862 $(POSTSTAGE1_FLAGS_TO_PASS) \
31865 maybe-clean-stage4-binutils: clean-stage4-binutils
31866 clean-stage4-binutils:
31867 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
31869 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
31870 cd $(HOST_SUBDIR)/binutils && \
31871 $(MAKE) $(FLAGS_TO_PASS) \
31872 $(POSTSTAGE1_FLAGS_TO_PASS) \
31874 @endif binutils-bootstrap
31877 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
31878 .PHONY: all-stage4-gas maybe-all-stage4-gas
31879 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
31881 maybe-configure-stage4-gas:
31882 maybe-all-stage4-gas:
31883 maybe-clean-stage4-gas:
31886 maybe-configure-stage4-gas: configure-stage4-gas
31887 configure-stage4-gas:
31888 @$(MAKE) stage4-start
31889 @[ -f gas/Makefile ] && exit 0 || : ; \
31890 r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(STAGE_HOST_EXPORTS) \
31893 echo Configuring stage 4 in gas ; \
31894 cd $(HOST_SUBDIR)/gas || exit 1; \
31895 case $(srcdir) in \
31896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31897 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31900 srcdiroption="--srcdir=$${topdir}/gas"; \
31901 libsrcdir="$$s/gas"; \
31902 $(SHELL) $${libsrcdir}/configure \
31903 $(HOST_CONFIGARGS) $${srcdiroption} \
31904 @stage2_werror_flag@
31906 maybe-all-stage4-gas: all-stage4-gas
31907 all-stage4-gas: configure-stage4-gas
31908 @$(MAKE) stage4-start
31909 @r=`${PWD_COMMAND}`; export r; \
31910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31911 $(STAGE_HOST_EXPORTS) \
31912 cd $(HOST_SUBDIR)/gas && \
31913 $(MAKE) $(FLAGS_TO_PASS) \
31914 $(POSTSTAGE1_FLAGS_TO_PASS) \
31917 maybe-clean-stage4-gas: clean-stage4-gas
31919 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
31921 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
31922 cd $(HOST_SUBDIR)/gas && \
31923 $(MAKE) $(FLAGS_TO_PASS) \
31924 $(POSTSTAGE1_FLAGS_TO_PASS) \
31926 @endif gas-bootstrap
31929 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
31930 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
31931 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
31933 maybe-configure-stage4-gcc:
31934 maybe-all-stage4-gcc:
31935 maybe-clean-stage4-gcc:
31938 maybe-configure-stage4-gcc: configure-stage4-gcc
31939 configure-stage4-gcc:
31940 @$(MAKE) stage4-start
31941 @[ -f gcc/Makefile ] && exit 0 || : ; \
31942 r=`${PWD_COMMAND}`; export r; \
31943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31944 $(STAGE_HOST_EXPORTS) \
31945 echo Configuring stage 4 in gcc ; \
31946 cd $(HOST_SUBDIR)/gcc || exit 1; \
31947 case $(srcdir) in \
31948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31949 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31952 srcdiroption="--srcdir=$${topdir}/gcc"; \
31953 libsrcdir="$$s/gcc"; \
31954 $(SHELL) $${libsrcdir}/configure \
31955 $(HOST_CONFIGARGS) $${srcdiroption} \
31956 @stage2_werror_flag@
31958 maybe-all-stage4-gcc: all-stage4-gcc
31959 all-stage4-gcc: configure-stage4-gcc
31960 @$(MAKE) stage4-start
31961 @r=`${PWD_COMMAND}`; export r; \
31962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31963 $(STAGE_HOST_EXPORTS) \
31964 cd $(HOST_SUBDIR)/gcc && \
31965 $(MAKE) $(FLAGS_TO_PASS) \
31966 $(POSTSTAGE1_FLAGS_TO_PASS) \
31969 maybe-clean-stage4-gcc: clean-stage4-gcc
31971 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
31973 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
31974 cd $(HOST_SUBDIR)/gcc && \
31975 $(MAKE) $(FLAGS_TO_PASS) \
31976 $(POSTSTAGE1_FLAGS_TO_PASS) \
31977 $(EXTRA_GCC_FLAGS) clean
31978 @endif gcc-bootstrap
31981 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
31982 .PHONY: all-stage4-intl maybe-all-stage4-intl
31983 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
31985 maybe-configure-stage4-intl:
31986 maybe-all-stage4-intl:
31987 maybe-clean-stage4-intl:
31990 maybe-configure-stage4-intl: configure-stage4-intl
31991 configure-stage4-intl:
31992 @$(MAKE) stage4-start
31993 @[ -f intl/Makefile ] && exit 0 || : ; \
31994 r=`${PWD_COMMAND}`; export r; \
31995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31996 $(STAGE_HOST_EXPORTS) \
31997 echo Configuring stage 4 in intl ; \
31998 cd $(HOST_SUBDIR)/intl || exit 1; \
31999 case $(srcdir) in \
32000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32001 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32004 srcdiroption="--srcdir=$${topdir}/intl"; \
32005 libsrcdir="$$s/intl"; \
32006 $(SHELL) $${libsrcdir}/configure \
32007 $(HOST_CONFIGARGS) $${srcdiroption} \
32008 @stage2_werror_flag@
32010 maybe-all-stage4-intl: all-stage4-intl
32011 all-stage4-intl: configure-stage4-intl
32012 @$(MAKE) stage4-start
32013 @r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 $(STAGE_HOST_EXPORTS) \
32016 cd $(HOST_SUBDIR)/intl && \
32017 $(MAKE) $(FLAGS_TO_PASS) \
32018 $(POSTSTAGE1_FLAGS_TO_PASS) \
32021 maybe-clean-stage4-intl: clean-stage4-intl
32023 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
32025 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
32026 cd $(HOST_SUBDIR)/intl && \
32027 $(MAKE) $(FLAGS_TO_PASS) \
32028 $(POSTSTAGE1_FLAGS_TO_PASS) \
32030 @endif intl-bootstrap
32033 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
32034 .PHONY: all-stage4-ld maybe-all-stage4-ld
32035 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
32037 maybe-configure-stage4-ld:
32038 maybe-all-stage4-ld:
32039 maybe-clean-stage4-ld:
32042 maybe-configure-stage4-ld: configure-stage4-ld
32043 configure-stage4-ld:
32044 @$(MAKE) stage4-start
32045 @[ -f ld/Makefile ] && exit 0 || : ; \
32046 r=`${PWD_COMMAND}`; export r; \
32047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32048 $(STAGE_HOST_EXPORTS) \
32049 echo Configuring stage 4 in ld ; \
32050 cd $(HOST_SUBDIR)/ld || exit 1; \
32051 case $(srcdir) in \
32052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32053 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32056 srcdiroption="--srcdir=$${topdir}/ld"; \
32057 libsrcdir="$$s/ld"; \
32058 $(SHELL) $${libsrcdir}/configure \
32059 $(HOST_CONFIGARGS) $${srcdiroption} \
32060 @stage2_werror_flag@
32062 maybe-all-stage4-ld: all-stage4-ld
32063 all-stage4-ld: configure-stage4-ld
32064 @$(MAKE) stage4-start
32065 @r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(STAGE_HOST_EXPORTS) \
32068 cd $(HOST_SUBDIR)/ld && \
32069 $(MAKE) $(FLAGS_TO_PASS) \
32070 $(POSTSTAGE1_FLAGS_TO_PASS) \
32073 maybe-clean-stage4-ld: clean-stage4-ld
32075 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
32077 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
32078 cd $(HOST_SUBDIR)/ld && \
32079 $(MAKE) $(FLAGS_TO_PASS) \
32080 $(POSTSTAGE1_FLAGS_TO_PASS) \
32082 @endif ld-bootstrap
32085 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
32086 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
32087 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
32089 maybe-configure-stage4-libcpp:
32090 maybe-all-stage4-libcpp:
32091 maybe-clean-stage4-libcpp:
32093 @if libcpp-bootstrap
32094 maybe-configure-stage4-libcpp: configure-stage4-libcpp
32095 configure-stage4-libcpp:
32096 @$(MAKE) stage4-start
32097 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32098 r=`${PWD_COMMAND}`; export r; \
32099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32100 $(STAGE_HOST_EXPORTS) \
32101 echo Configuring stage 4 in libcpp ; \
32102 cd $(HOST_SUBDIR)/libcpp || exit 1; \
32103 case $(srcdir) in \
32104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32105 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32108 srcdiroption="--srcdir=$${topdir}/libcpp"; \
32109 libsrcdir="$$s/libcpp"; \
32110 $(SHELL) $${libsrcdir}/configure \
32111 $(HOST_CONFIGARGS) $${srcdiroption} \
32112 @stage2_werror_flag@
32114 maybe-all-stage4-libcpp: all-stage4-libcpp
32115 all-stage4-libcpp: configure-stage4-libcpp
32116 @$(MAKE) stage4-start
32117 @r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(STAGE_HOST_EXPORTS) \
32120 cd $(HOST_SUBDIR)/libcpp && \
32121 $(MAKE) $(FLAGS_TO_PASS) \
32122 $(POSTSTAGE1_FLAGS_TO_PASS) \
32125 maybe-clean-stage4-libcpp: clean-stage4-libcpp
32126 clean-stage4-libcpp:
32127 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
32129 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
32130 cd $(HOST_SUBDIR)/libcpp && \
32131 $(MAKE) $(FLAGS_TO_PASS) \
32132 $(POSTSTAGE1_FLAGS_TO_PASS) \
32134 @endif libcpp-bootstrap
32137 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
32138 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
32139 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
32141 maybe-configure-stage4-libiberty:
32142 maybe-all-stage4-libiberty:
32143 maybe-clean-stage4-libiberty:
32145 @if libiberty-bootstrap
32146 maybe-configure-stage4-libiberty: configure-stage4-libiberty
32147 configure-stage4-libiberty:
32148 @$(MAKE) stage4-start
32149 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32150 r=`${PWD_COMMAND}`; export r; \
32151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32152 $(STAGE_HOST_EXPORTS) \
32153 echo Configuring stage 4 in libiberty ; \
32154 cd $(HOST_SUBDIR)/libiberty || exit 1; \
32155 case $(srcdir) in \
32156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32157 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32160 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32161 libsrcdir="$$s/libiberty"; \
32162 $(SHELL) $${libsrcdir}/configure \
32163 $(HOST_CONFIGARGS) $${srcdiroption} \
32164 @stage2_werror_flag@
32166 maybe-all-stage4-libiberty: all-stage4-libiberty
32167 all-stage4-libiberty: configure-stage4-libiberty
32168 @$(MAKE) stage4-start
32169 @r=`${PWD_COMMAND}`; export r; \
32170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32171 $(STAGE_HOST_EXPORTS) \
32172 cd $(HOST_SUBDIR)/libiberty && \
32173 $(MAKE) $(FLAGS_TO_PASS) \
32174 $(POSTSTAGE1_FLAGS_TO_PASS) \
32177 maybe-clean-stage4-libiberty: clean-stage4-libiberty
32178 clean-stage4-libiberty:
32179 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
32181 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
32182 cd $(HOST_SUBDIR)/libiberty && \
32183 $(MAKE) $(FLAGS_TO_PASS) \
32184 $(POSTSTAGE1_FLAGS_TO_PASS) \
32186 @endif libiberty-bootstrap
32189 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32190 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32191 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32193 maybe-configure-stage4-zlib:
32194 maybe-all-stage4-zlib:
32195 maybe-clean-stage4-zlib:
32198 maybe-configure-stage4-zlib: configure-stage4-zlib
32199 configure-stage4-zlib:
32200 @$(MAKE) stage4-start
32201 @[ -f zlib/Makefile ] && exit 0 || : ; \
32202 r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(STAGE_HOST_EXPORTS) \
32205 echo Configuring stage 4 in zlib ; \
32206 cd $(HOST_SUBDIR)/zlib || exit 1; \
32207 case $(srcdir) in \
32208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32209 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32212 srcdiroption="--srcdir=$${topdir}/zlib"; \
32213 libsrcdir="$$s/zlib"; \
32214 $(SHELL) $${libsrcdir}/configure \
32215 $(HOST_CONFIGARGS) $${srcdiroption} \
32216 @stage2_werror_flag@
32218 maybe-all-stage4-zlib: all-stage4-zlib
32219 all-stage4-zlib: configure-stage4-zlib
32220 @$(MAKE) stage4-start
32221 @r=`${PWD_COMMAND}`; export r; \
32222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32223 $(STAGE_HOST_EXPORTS) \
32224 cd $(HOST_SUBDIR)/zlib && \
32225 $(MAKE) $(FLAGS_TO_PASS) \
32226 $(POSTSTAGE1_FLAGS_TO_PASS) \
32229 maybe-clean-stage4-zlib: clean-stage4-zlib
32231 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
32233 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
32234 cd $(HOST_SUBDIR)/zlib && \
32235 $(MAKE) $(FLAGS_TO_PASS) \
32236 $(POSTSTAGE1_FLAGS_TO_PASS) \
32238 @endif zlib-bootstrap
32242 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32243 # only possibility, but now it conflicts with no-bootstrap rules
32247 @if test -f stage3-lean; then \
32248 echo Cannot compare object files as stage 3 was deleted. ; \
32251 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32252 @r=`${PWD_COMMAND}`; export r; \
32253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254 rm -f .bad_compare ; \
32256 files=`find . -name "*$(objext)" -print` ; \
32258 for file in $${files} ; do \
32259 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
32260 @do_compare@ > /dev/null 2>&1; \
32261 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32263 if [ -f .bad_compare ]; then \
32264 echo "Bootstrap comparison failure!"; \
32265 cat .bad_compare; \
32271 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
32276 bootstrap4: stage4-bubble compare3 all
32279 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32280 distclean-stage3:: distclean-stage4
32281 .PHONY: distclean-stage4
32283 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32284 rm -rf stage4-* compare3
32287 @endif gcc-bootstrap
32290 .PHONY: stageprofile-start stageprofile-end
32292 stageprofile-start::
32293 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32294 echo stageprofile > stage_current ; \
32295 echo stageprofile > stage_last; \
32296 $(mkinstalldirs) $(HOST_SUBDIR)
32298 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
32299 mkdir stageprofile-bfd; \
32300 set stageprofile-bfd bfd ; \
32301 @CREATE_LINK_TO_DIR@ ; \
32302 set stage1-bfd prev-bfd ; \
32303 @CREATE_LINK_TO_DIR@
32306 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
32307 mkdir stageprofile-opcodes; \
32308 set stageprofile-opcodes opcodes ; \
32309 @CREATE_LINK_TO_DIR@ ; \
32310 set stage1-opcodes prev-opcodes ; \
32311 @CREATE_LINK_TO_DIR@
32314 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
32315 mkdir stageprofile-binutils; \
32316 set stageprofile-binutils binutils ; \
32317 @CREATE_LINK_TO_DIR@ ; \
32318 set stage1-binutils prev-binutils ; \
32319 @CREATE_LINK_TO_DIR@
32322 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
32323 mkdir stageprofile-gas; \
32324 set stageprofile-gas gas ; \
32325 @CREATE_LINK_TO_DIR@ ; \
32326 set stage1-gas prev-gas ; \
32327 @CREATE_LINK_TO_DIR@
32330 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
32331 mkdir stageprofile-gcc; \
32332 set stageprofile-gcc gcc ; \
32333 @CREATE_LINK_TO_DIR@ ; \
32334 set stage1-gcc prev-gcc ; \
32335 @CREATE_LINK_TO_DIR@
32338 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
32339 mkdir stageprofile-intl; \
32340 set stageprofile-intl intl ; \
32341 @CREATE_LINK_TO_DIR@ ; \
32342 set stage1-intl prev-intl ; \
32343 @CREATE_LINK_TO_DIR@
32346 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
32347 mkdir stageprofile-ld; \
32348 set stageprofile-ld ld ; \
32349 @CREATE_LINK_TO_DIR@ ; \
32350 set stage1-ld prev-ld ; \
32351 @CREATE_LINK_TO_DIR@
32354 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
32355 mkdir stageprofile-libcpp; \
32356 set stageprofile-libcpp libcpp ; \
32357 @CREATE_LINK_TO_DIR@ ; \
32358 set stage1-libcpp prev-libcpp ; \
32359 @CREATE_LINK_TO_DIR@
32362 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
32363 mkdir stageprofile-libiberty; \
32364 set stageprofile-libiberty libiberty ; \
32365 @CREATE_LINK_TO_DIR@ ; \
32366 set stage1-libiberty prev-libiberty ; \
32367 @CREATE_LINK_TO_DIR@
32370 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
32371 mkdir stageprofile-zlib; \
32372 set stageprofile-zlib zlib ; \
32373 @CREATE_LINK_TO_DIR@ ; \
32374 set stage1-zlib prev-zlib ; \
32375 @CREATE_LINK_TO_DIR@
32379 @rm -f stage_current
32381 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
32382 @UNDO_LINK_TO_DIR@ ; \
32383 set prev-bfd stage1-bfd ; \
32387 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
32388 @UNDO_LINK_TO_DIR@ ; \
32389 set prev-opcodes stage1-opcodes ; \
32393 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
32394 @UNDO_LINK_TO_DIR@ ; \
32395 set prev-binutils stage1-binutils ; \
32399 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
32400 @UNDO_LINK_TO_DIR@ ; \
32401 set prev-gas stage1-gas ; \
32405 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
32406 @UNDO_LINK_TO_DIR@ ; \
32407 set prev-gcc stage1-gcc ; \
32411 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
32412 @UNDO_LINK_TO_DIR@ ; \
32413 set prev-intl stage1-intl ; \
32417 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
32418 @UNDO_LINK_TO_DIR@ ; \
32419 set prev-ld stage1-ld ; \
32423 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
32424 @UNDO_LINK_TO_DIR@ ; \
32425 set prev-libcpp stage1-libcpp ; \
32429 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
32430 @UNDO_LINK_TO_DIR@ ; \
32431 set prev-libiberty stage1-libiberty ; \
32435 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
32436 @UNDO_LINK_TO_DIR@ ; \
32437 set prev-zlib stage1-zlib ; \
32441 # Bubble a bugfix through all the stages up to stage profile. They
32442 # are remade, but not reconfigured. The next stage (if any) will not
32443 # be reconfigured as well.
32444 .PHONY: stageprofile-bubble
32445 stageprofile-bubble:: stage1-bubble
32446 @if test -f stageprofile-lean || test -f stage1-lean ; then \
32447 echo Skipping rebuild of stageprofile ; \
32449 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
32452 .PHONY: all-stageprofile clean-stageprofile
32453 all-stageprofile: \
32454 maybe-all-stageprofile-bfd \
32455 maybe-all-stageprofile-opcodes \
32456 maybe-all-stageprofile-binutils \
32457 maybe-all-stageprofile-gas \
32458 maybe-all-stageprofile-gcc \
32459 maybe-all-stageprofile-intl \
32460 maybe-all-stageprofile-ld \
32461 maybe-all-stageprofile-libcpp \
32462 maybe-all-stageprofile-libiberty \
32463 maybe-all-stageprofile-zlib
32465 do-clean: clean-stageprofile
32466 clean-stageprofile: \
32467 maybe-clean-stageprofile-bfd \
32468 maybe-clean-stageprofile-opcodes \
32469 maybe-clean-stageprofile-binutils \
32470 maybe-clean-stageprofile-gas \
32471 maybe-clean-stageprofile-gcc \
32472 maybe-clean-stageprofile-intl \
32473 maybe-clean-stageprofile-ld \
32474 maybe-clean-stageprofile-libcpp \
32475 maybe-clean-stageprofile-libiberty \
32476 maybe-clean-stageprofile-zlib
32479 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
32480 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
32481 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
32483 maybe-configure-stageprofile-bfd:
32484 maybe-all-stageprofile-bfd:
32485 maybe-clean-stageprofile-bfd:
32488 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
32489 configure-stageprofile-bfd:
32490 @$(MAKE) stageprofile-start
32491 @[ -f bfd/Makefile ] && exit 0 || : ; \
32492 r=`${PWD_COMMAND}`; export r; \
32493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32494 $(STAGE_HOST_EXPORTS) \
32495 echo Configuring stage profile in bfd ; \
32496 cd $(HOST_SUBDIR)/bfd || exit 1; \
32497 case $(srcdir) in \
32498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32499 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32502 srcdiroption="--srcdir=$${topdir}/bfd"; \
32503 libsrcdir="$$s/bfd"; \
32504 $(SHELL) $${libsrcdir}/configure \
32505 $(HOST_CONFIGARGS) $${srcdiroption} \
32506 @stage2_werror_flag@
32508 maybe-all-stageprofile-bfd: all-stageprofile-bfd
32509 all-stageprofile-bfd: configure-stageprofile-bfd
32510 @$(MAKE) stageprofile-start
32511 @r=`${PWD_COMMAND}`; export r; \
32512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32513 $(STAGE_HOST_EXPORTS) \
32514 cd $(HOST_SUBDIR)/bfd && \
32515 $(MAKE) $(FLAGS_TO_PASS) \
32516 $(POSTSTAGE1_FLAGS_TO_PASS) \
32517 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32519 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
32520 clean-stageprofile-bfd:
32521 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
32523 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
32524 cd $(HOST_SUBDIR)/bfd && \
32525 $(MAKE) $(FLAGS_TO_PASS) \
32526 $(POSTSTAGE1_FLAGS_TO_PASS) \
32527 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32528 @endif bfd-bootstrap
32531 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
32532 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
32533 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
32535 maybe-configure-stageprofile-opcodes:
32536 maybe-all-stageprofile-opcodes:
32537 maybe-clean-stageprofile-opcodes:
32539 @if opcodes-bootstrap
32540 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
32541 configure-stageprofile-opcodes:
32542 @$(MAKE) stageprofile-start
32543 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32544 r=`${PWD_COMMAND}`; export r; \
32545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32546 $(STAGE_HOST_EXPORTS) \
32547 echo Configuring stage profile in opcodes ; \
32548 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32549 case $(srcdir) in \
32550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32551 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32554 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32555 libsrcdir="$$s/opcodes"; \
32556 $(SHELL) $${libsrcdir}/configure \
32557 $(HOST_CONFIGARGS) $${srcdiroption} \
32558 @stage2_werror_flag@
32560 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
32561 all-stageprofile-opcodes: configure-stageprofile-opcodes
32562 @$(MAKE) stageprofile-start
32563 @r=`${PWD_COMMAND}`; export r; \
32564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32565 $(STAGE_HOST_EXPORTS) \
32566 cd $(HOST_SUBDIR)/opcodes && \
32567 $(MAKE) $(FLAGS_TO_PASS) \
32568 $(POSTSTAGE1_FLAGS_TO_PASS) \
32569 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32571 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
32572 clean-stageprofile-opcodes:
32573 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
32575 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
32576 cd $(HOST_SUBDIR)/opcodes && \
32577 $(MAKE) $(FLAGS_TO_PASS) \
32578 $(POSTSTAGE1_FLAGS_TO_PASS) \
32579 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32580 @endif opcodes-bootstrap
32583 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
32584 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
32585 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
32587 maybe-configure-stageprofile-binutils:
32588 maybe-all-stageprofile-binutils:
32589 maybe-clean-stageprofile-binutils:
32591 @if binutils-bootstrap
32592 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
32593 configure-stageprofile-binutils:
32594 @$(MAKE) stageprofile-start
32595 @[ -f binutils/Makefile ] && exit 0 || : ; \
32596 r=`${PWD_COMMAND}`; export r; \
32597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32598 $(STAGE_HOST_EXPORTS) \
32599 echo Configuring stage profile in binutils ; \
32600 cd $(HOST_SUBDIR)/binutils || exit 1; \
32601 case $(srcdir) in \
32602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32603 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32606 srcdiroption="--srcdir=$${topdir}/binutils"; \
32607 libsrcdir="$$s/binutils"; \
32608 $(SHELL) $${libsrcdir}/configure \
32609 $(HOST_CONFIGARGS) $${srcdiroption} \
32610 @stage2_werror_flag@
32612 maybe-all-stageprofile-binutils: all-stageprofile-binutils
32613 all-stageprofile-binutils: configure-stageprofile-binutils
32614 @$(MAKE) stageprofile-start
32615 @r=`${PWD_COMMAND}`; export r; \
32616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32617 $(STAGE_HOST_EXPORTS) \
32618 cd $(HOST_SUBDIR)/binutils && \
32619 $(MAKE) $(FLAGS_TO_PASS) \
32620 $(POSTSTAGE1_FLAGS_TO_PASS) \
32621 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32623 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
32624 clean-stageprofile-binutils:
32625 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
32627 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
32628 cd $(HOST_SUBDIR)/binutils && \
32629 $(MAKE) $(FLAGS_TO_PASS) \
32630 $(POSTSTAGE1_FLAGS_TO_PASS) \
32631 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32632 @endif binutils-bootstrap
32635 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
32636 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
32637 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
32639 maybe-configure-stageprofile-gas:
32640 maybe-all-stageprofile-gas:
32641 maybe-clean-stageprofile-gas:
32644 maybe-configure-stageprofile-gas: configure-stageprofile-gas
32645 configure-stageprofile-gas:
32646 @$(MAKE) stageprofile-start
32647 @[ -f gas/Makefile ] && exit 0 || : ; \
32648 r=`${PWD_COMMAND}`; export r; \
32649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32650 $(STAGE_HOST_EXPORTS) \
32651 echo Configuring stage profile in gas ; \
32652 cd $(HOST_SUBDIR)/gas || exit 1; \
32653 case $(srcdir) in \
32654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32655 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32658 srcdiroption="--srcdir=$${topdir}/gas"; \
32659 libsrcdir="$$s/gas"; \
32660 $(SHELL) $${libsrcdir}/configure \
32661 $(HOST_CONFIGARGS) $${srcdiroption} \
32662 @stage2_werror_flag@
32664 maybe-all-stageprofile-gas: all-stageprofile-gas
32665 all-stageprofile-gas: configure-stageprofile-gas
32666 @$(MAKE) stageprofile-start
32667 @r=`${PWD_COMMAND}`; export r; \
32668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32669 $(STAGE_HOST_EXPORTS) \
32670 cd $(HOST_SUBDIR)/gas && \
32671 $(MAKE) $(FLAGS_TO_PASS) \
32672 $(POSTSTAGE1_FLAGS_TO_PASS) \
32673 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32675 maybe-clean-stageprofile-gas: clean-stageprofile-gas
32676 clean-stageprofile-gas:
32677 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
32679 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
32680 cd $(HOST_SUBDIR)/gas && \
32681 $(MAKE) $(FLAGS_TO_PASS) \
32682 $(POSTSTAGE1_FLAGS_TO_PASS) \
32683 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32684 @endif gas-bootstrap
32687 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
32688 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
32689 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
32691 maybe-configure-stageprofile-gcc:
32692 maybe-all-stageprofile-gcc:
32693 maybe-clean-stageprofile-gcc:
32696 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
32697 configure-stageprofile-gcc:
32698 @$(MAKE) stageprofile-start
32699 @[ -f gcc/Makefile ] && exit 0 || : ; \
32700 r=`${PWD_COMMAND}`; export r; \
32701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32702 $(STAGE_HOST_EXPORTS) \
32703 echo Configuring stage profile in gcc ; \
32704 cd $(HOST_SUBDIR)/gcc || exit 1; \
32705 case $(srcdir) in \
32706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32707 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
32708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32710 srcdiroption="--srcdir=$${topdir}/gcc"; \
32711 libsrcdir="$$s/gcc"; \
32712 $(SHELL) $${libsrcdir}/configure \
32713 $(HOST_CONFIGARGS) $${srcdiroption} \
32714 @stage2_werror_flag@
32716 maybe-all-stageprofile-gcc: all-stageprofile-gcc
32717 all-stageprofile-gcc: configure-stageprofile-gcc
32718 @$(MAKE) stageprofile-start
32719 @r=`${PWD_COMMAND}`; export r; \
32720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32721 $(STAGE_HOST_EXPORTS) \
32722 cd $(HOST_SUBDIR)/gcc && \
32723 $(MAKE) $(FLAGS_TO_PASS) \
32724 $(POSTSTAGE1_FLAGS_TO_PASS) \
32725 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
32727 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
32728 clean-stageprofile-gcc:
32729 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
32731 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
32732 cd $(HOST_SUBDIR)/gcc && \
32733 $(MAKE) $(FLAGS_TO_PASS) \
32734 $(POSTSTAGE1_FLAGS_TO_PASS) \
32735 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
32736 @endif gcc-bootstrap
32739 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
32740 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
32741 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
32743 maybe-configure-stageprofile-intl:
32744 maybe-all-stageprofile-intl:
32745 maybe-clean-stageprofile-intl:
32748 maybe-configure-stageprofile-intl: configure-stageprofile-intl
32749 configure-stageprofile-intl:
32750 @$(MAKE) stageprofile-start
32751 @[ -f intl/Makefile ] && exit 0 || : ; \
32752 r=`${PWD_COMMAND}`; export r; \
32753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32754 $(STAGE_HOST_EXPORTS) \
32755 echo Configuring stage profile in intl ; \
32756 cd $(HOST_SUBDIR)/intl || exit 1; \
32757 case $(srcdir) in \
32758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32759 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32762 srcdiroption="--srcdir=$${topdir}/intl"; \
32763 libsrcdir="$$s/intl"; \
32764 $(SHELL) $${libsrcdir}/configure \
32765 $(HOST_CONFIGARGS) $${srcdiroption} \
32766 @stage2_werror_flag@
32768 maybe-all-stageprofile-intl: all-stageprofile-intl
32769 all-stageprofile-intl: configure-stageprofile-intl
32770 @$(MAKE) stageprofile-start
32771 @r=`${PWD_COMMAND}`; export r; \
32772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32773 $(STAGE_HOST_EXPORTS) \
32774 cd $(HOST_SUBDIR)/intl && \
32775 $(MAKE) $(FLAGS_TO_PASS) \
32776 $(POSTSTAGE1_FLAGS_TO_PASS) \
32777 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32779 maybe-clean-stageprofile-intl: clean-stageprofile-intl
32780 clean-stageprofile-intl:
32781 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
32783 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
32784 cd $(HOST_SUBDIR)/intl && \
32785 $(MAKE) $(FLAGS_TO_PASS) \
32786 $(POSTSTAGE1_FLAGS_TO_PASS) \
32787 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32788 @endif intl-bootstrap
32791 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
32792 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
32793 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
32795 maybe-configure-stageprofile-ld:
32796 maybe-all-stageprofile-ld:
32797 maybe-clean-stageprofile-ld:
32800 maybe-configure-stageprofile-ld: configure-stageprofile-ld
32801 configure-stageprofile-ld:
32802 @$(MAKE) stageprofile-start
32803 @[ -f ld/Makefile ] && exit 0 || : ; \
32804 r=`${PWD_COMMAND}`; export r; \
32805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32806 $(STAGE_HOST_EXPORTS) \
32807 echo Configuring stage profile in ld ; \
32808 cd $(HOST_SUBDIR)/ld || exit 1; \
32809 case $(srcdir) in \
32810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32811 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32814 srcdiroption="--srcdir=$${topdir}/ld"; \
32815 libsrcdir="$$s/ld"; \
32816 $(SHELL) $${libsrcdir}/configure \
32817 $(HOST_CONFIGARGS) $${srcdiroption} \
32818 @stage2_werror_flag@
32820 maybe-all-stageprofile-ld: all-stageprofile-ld
32821 all-stageprofile-ld: configure-stageprofile-ld
32822 @$(MAKE) stageprofile-start
32823 @r=`${PWD_COMMAND}`; export r; \
32824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32825 $(STAGE_HOST_EXPORTS) \
32826 cd $(HOST_SUBDIR)/ld && \
32827 $(MAKE) $(FLAGS_TO_PASS) \
32828 $(POSTSTAGE1_FLAGS_TO_PASS) \
32829 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32831 maybe-clean-stageprofile-ld: clean-stageprofile-ld
32832 clean-stageprofile-ld:
32833 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
32835 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
32836 cd $(HOST_SUBDIR)/ld && \
32837 $(MAKE) $(FLAGS_TO_PASS) \
32838 $(POSTSTAGE1_FLAGS_TO_PASS) \
32839 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32840 @endif ld-bootstrap
32843 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
32844 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
32845 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
32847 maybe-configure-stageprofile-libcpp:
32848 maybe-all-stageprofile-libcpp:
32849 maybe-clean-stageprofile-libcpp:
32851 @if libcpp-bootstrap
32852 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
32853 configure-stageprofile-libcpp:
32854 @$(MAKE) stageprofile-start
32855 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32856 r=`${PWD_COMMAND}`; export r; \
32857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32858 $(STAGE_HOST_EXPORTS) \
32859 echo Configuring stage profile in libcpp ; \
32860 cd $(HOST_SUBDIR)/libcpp || exit 1; \
32861 case $(srcdir) in \
32862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32863 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32866 srcdiroption="--srcdir=$${topdir}/libcpp"; \
32867 libsrcdir="$$s/libcpp"; \
32868 $(SHELL) $${libsrcdir}/configure \
32869 $(HOST_CONFIGARGS) $${srcdiroption} \
32870 @stage2_werror_flag@
32872 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
32873 all-stageprofile-libcpp: configure-stageprofile-libcpp
32874 @$(MAKE) stageprofile-start
32875 @r=`${PWD_COMMAND}`; export r; \
32876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32877 $(STAGE_HOST_EXPORTS) \
32878 cd $(HOST_SUBDIR)/libcpp && \
32879 $(MAKE) $(FLAGS_TO_PASS) \
32880 $(POSTSTAGE1_FLAGS_TO_PASS) \
32881 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32883 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
32884 clean-stageprofile-libcpp:
32885 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
32887 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
32888 cd $(HOST_SUBDIR)/libcpp && \
32889 $(MAKE) $(FLAGS_TO_PASS) \
32890 $(POSTSTAGE1_FLAGS_TO_PASS) \
32891 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32892 @endif libcpp-bootstrap
32895 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
32896 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
32897 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
32899 maybe-configure-stageprofile-libiberty:
32900 maybe-all-stageprofile-libiberty:
32901 maybe-clean-stageprofile-libiberty:
32903 @if libiberty-bootstrap
32904 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
32905 configure-stageprofile-libiberty:
32906 @$(MAKE) stageprofile-start
32907 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32908 r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(STAGE_HOST_EXPORTS) \
32911 echo Configuring stage profile in libiberty ; \
32912 cd $(HOST_SUBDIR)/libiberty || exit 1; \
32913 case $(srcdir) in \
32914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32915 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32918 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32919 libsrcdir="$$s/libiberty"; \
32920 $(SHELL) $${libsrcdir}/configure \
32921 $(HOST_CONFIGARGS) $${srcdiroption} \
32922 @stage2_werror_flag@
32924 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
32925 all-stageprofile-libiberty: configure-stageprofile-libiberty
32926 @$(MAKE) stageprofile-start
32927 @r=`${PWD_COMMAND}`; export r; \
32928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32929 $(STAGE_HOST_EXPORTS) \
32930 cd $(HOST_SUBDIR)/libiberty && \
32931 $(MAKE) $(FLAGS_TO_PASS) \
32932 $(POSTSTAGE1_FLAGS_TO_PASS) \
32933 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32935 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
32936 clean-stageprofile-libiberty:
32937 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
32939 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
32940 cd $(HOST_SUBDIR)/libiberty && \
32941 $(MAKE) $(FLAGS_TO_PASS) \
32942 $(POSTSTAGE1_FLAGS_TO_PASS) \
32943 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32944 @endif libiberty-bootstrap
32947 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32948 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32949 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32951 maybe-configure-stageprofile-zlib:
32952 maybe-all-stageprofile-zlib:
32953 maybe-clean-stageprofile-zlib:
32956 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32957 configure-stageprofile-zlib:
32958 @$(MAKE) stageprofile-start
32959 @[ -f zlib/Makefile ] && exit 0 || : ; \
32960 r=`${PWD_COMMAND}`; export r; \
32961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32962 $(STAGE_HOST_EXPORTS) \
32963 echo Configuring stage profile in zlib ; \
32964 cd $(HOST_SUBDIR)/zlib || exit 1; \
32965 case $(srcdir) in \
32966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32967 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32970 srcdiroption="--srcdir=$${topdir}/zlib"; \
32971 libsrcdir="$$s/zlib"; \
32972 $(SHELL) $${libsrcdir}/configure \
32973 $(HOST_CONFIGARGS) $${srcdiroption} \
32974 @stage2_werror_flag@
32976 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32977 all-stageprofile-zlib: configure-stageprofile-zlib
32978 @$(MAKE) stageprofile-start
32979 @r=`${PWD_COMMAND}`; export r; \
32980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32981 $(STAGE_HOST_EXPORTS) \
32982 cd $(HOST_SUBDIR)/zlib && \
32983 $(MAKE) $(FLAGS_TO_PASS) \
32984 $(POSTSTAGE1_FLAGS_TO_PASS) \
32985 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32987 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32988 clean-stageprofile-zlib:
32989 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
32991 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
32992 cd $(HOST_SUBDIR)/zlib && \
32993 $(MAKE) $(FLAGS_TO_PASS) \
32994 $(POSTSTAGE1_FLAGS_TO_PASS) \
32995 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32996 @endif zlib-bootstrap
33000 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33001 # only possibility, but now it conflicts with no-bootstrap rules
33007 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33008 distclean-stage1:: distclean-stageprofile
33009 .PHONY: distclean-stageprofile
33010 distclean-stageprofile::
33011 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33012 rm -rf stageprofile-*
33015 @endif gcc-bootstrap
33018 .PHONY: stagefeedback-start stagefeedback-end
33020 stagefeedback-start::
33021 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33022 echo stagefeedback > stage_current ; \
33023 echo stagefeedback > stage_last; \
33024 $(mkinstalldirs) $(HOST_SUBDIR)
33026 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
33027 mkdir stagefeedback-bfd; \
33028 set stagefeedback-bfd bfd ; \
33029 @CREATE_LINK_TO_DIR@ ; \
33030 set stage1-bfd prev-bfd ; \
33031 @CREATE_LINK_TO_DIR@
33034 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
33035 mkdir stagefeedback-opcodes; \
33036 set stagefeedback-opcodes opcodes ; \
33037 @CREATE_LINK_TO_DIR@ ; \
33038 set stage1-opcodes prev-opcodes ; \
33039 @CREATE_LINK_TO_DIR@
33042 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
33043 mkdir stagefeedback-binutils; \
33044 set stagefeedback-binutils binutils ; \
33045 @CREATE_LINK_TO_DIR@ ; \
33046 set stage1-binutils prev-binutils ; \
33047 @CREATE_LINK_TO_DIR@
33050 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
33051 mkdir stagefeedback-gas; \
33052 set stagefeedback-gas gas ; \
33053 @CREATE_LINK_TO_DIR@ ; \
33054 set stage1-gas prev-gas ; \
33055 @CREATE_LINK_TO_DIR@
33058 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
33059 mkdir stagefeedback-gcc; \
33060 set stagefeedback-gcc gcc ; \
33061 @CREATE_LINK_TO_DIR@ ; \
33062 set stage1-gcc prev-gcc ; \
33063 @CREATE_LINK_TO_DIR@
33066 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
33067 mkdir stagefeedback-intl; \
33068 set stagefeedback-intl intl ; \
33069 @CREATE_LINK_TO_DIR@ ; \
33070 set stage1-intl prev-intl ; \
33071 @CREATE_LINK_TO_DIR@
33074 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
33075 mkdir stagefeedback-ld; \
33076 set stagefeedback-ld ld ; \
33077 @CREATE_LINK_TO_DIR@ ; \
33078 set stage1-ld prev-ld ; \
33079 @CREATE_LINK_TO_DIR@
33082 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
33083 mkdir stagefeedback-libcpp; \
33084 set stagefeedback-libcpp libcpp ; \
33085 @CREATE_LINK_TO_DIR@ ; \
33086 set stage1-libcpp prev-libcpp ; \
33087 @CREATE_LINK_TO_DIR@
33090 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
33091 mkdir stagefeedback-libiberty; \
33092 set stagefeedback-libiberty libiberty ; \
33093 @CREATE_LINK_TO_DIR@ ; \
33094 set stage1-libiberty prev-libiberty ; \
33095 @CREATE_LINK_TO_DIR@
33098 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
33099 mkdir stagefeedback-zlib; \
33100 set stagefeedback-zlib zlib ; \
33101 @CREATE_LINK_TO_DIR@ ; \
33102 set stage1-zlib prev-zlib ; \
33103 @CREATE_LINK_TO_DIR@
33106 stagefeedback-end::
33107 @rm -f stage_current
33109 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
33110 @UNDO_LINK_TO_DIR@ ; \
33111 set prev-bfd stage1-bfd ; \
33115 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
33116 @UNDO_LINK_TO_DIR@ ; \
33117 set prev-opcodes stage1-opcodes ; \
33121 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
33122 @UNDO_LINK_TO_DIR@ ; \
33123 set prev-binutils stage1-binutils ; \
33127 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
33128 @UNDO_LINK_TO_DIR@ ; \
33129 set prev-gas stage1-gas ; \
33133 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
33134 @UNDO_LINK_TO_DIR@ ; \
33135 set prev-gcc stage1-gcc ; \
33139 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
33140 @UNDO_LINK_TO_DIR@ ; \
33141 set prev-intl stage1-intl ; \
33145 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
33146 @UNDO_LINK_TO_DIR@ ; \
33147 set prev-ld stage1-ld ; \
33151 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
33152 @UNDO_LINK_TO_DIR@ ; \
33153 set prev-libcpp stage1-libcpp ; \
33157 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
33158 @UNDO_LINK_TO_DIR@ ; \
33159 set prev-libiberty stage1-libiberty ; \
33163 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
33164 @UNDO_LINK_TO_DIR@ ; \
33165 set prev-zlib stage1-zlib ; \
33169 # Bubble a bugfix through all the stages up to stage feedback. They
33170 # are remade, but not reconfigured. The next stage (if any) will not
33171 # be reconfigured as well.
33172 .PHONY: stagefeedback-bubble
33173 stagefeedback-bubble:: stage1-bubble
33174 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
33175 echo Skipping rebuild of stagefeedback ; \
33177 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
33180 .PHONY: all-stagefeedback clean-stagefeedback
33181 all-stagefeedback: \
33182 maybe-all-stagefeedback-bfd \
33183 maybe-all-stagefeedback-opcodes \
33184 maybe-all-stagefeedback-binutils \
33185 maybe-all-stagefeedback-gas \
33186 maybe-all-stagefeedback-gcc \
33187 maybe-all-stagefeedback-intl \
33188 maybe-all-stagefeedback-ld \
33189 maybe-all-stagefeedback-libcpp \
33190 maybe-all-stagefeedback-libiberty \
33191 maybe-all-stagefeedback-zlib
33193 do-clean: clean-stagefeedback
33194 clean-stagefeedback: \
33195 maybe-clean-stagefeedback-bfd \
33196 maybe-clean-stagefeedback-opcodes \
33197 maybe-clean-stagefeedback-binutils \
33198 maybe-clean-stagefeedback-gas \
33199 maybe-clean-stagefeedback-gcc \
33200 maybe-clean-stagefeedback-intl \
33201 maybe-clean-stagefeedback-ld \
33202 maybe-clean-stagefeedback-libcpp \
33203 maybe-clean-stagefeedback-libiberty \
33204 maybe-clean-stagefeedback-zlib
33207 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
33208 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
33209 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
33211 maybe-configure-stagefeedback-bfd:
33212 maybe-all-stagefeedback-bfd:
33213 maybe-clean-stagefeedback-bfd:
33216 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
33217 configure-stagefeedback-bfd:
33218 @$(MAKE) stagefeedback-start
33219 @[ -f bfd/Makefile ] && exit 0 || : ; \
33220 r=`${PWD_COMMAND}`; export r; \
33221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33222 $(STAGE_HOST_EXPORTS) \
33223 echo Configuring stage feedback in bfd ; \
33224 cd $(HOST_SUBDIR)/bfd || exit 1; \
33225 case $(srcdir) in \
33226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33227 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
33228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33230 srcdiroption="--srcdir=$${topdir}/bfd"; \
33231 libsrcdir="$$s/bfd"; \
33232 $(SHELL) $${libsrcdir}/configure \
33233 $(HOST_CONFIGARGS) $${srcdiroption} \
33234 @stage2_werror_flag@
33236 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
33237 all-stagefeedback-bfd: configure-stagefeedback-bfd
33238 @$(MAKE) stagefeedback-start
33239 @r=`${PWD_COMMAND}`; export r; \
33240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33241 $(STAGE_HOST_EXPORTS) \
33242 cd $(HOST_SUBDIR)/bfd && \
33243 $(MAKE) $(FLAGS_TO_PASS) \
33244 $(POSTSTAGE1_FLAGS_TO_PASS) \
33245 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33247 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
33248 clean-stagefeedback-bfd:
33249 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
33251 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
33252 cd $(HOST_SUBDIR)/bfd && \
33253 $(MAKE) $(FLAGS_TO_PASS) \
33254 $(POSTSTAGE1_FLAGS_TO_PASS) \
33255 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33256 @endif bfd-bootstrap
33259 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
33260 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
33261 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
33263 maybe-configure-stagefeedback-opcodes:
33264 maybe-all-stagefeedback-opcodes:
33265 maybe-clean-stagefeedback-opcodes:
33267 @if opcodes-bootstrap
33268 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
33269 configure-stagefeedback-opcodes:
33270 @$(MAKE) stagefeedback-start
33271 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33272 r=`${PWD_COMMAND}`; export r; \
33273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33274 $(STAGE_HOST_EXPORTS) \
33275 echo Configuring stage feedback in opcodes ; \
33276 cd $(HOST_SUBDIR)/opcodes || exit 1; \
33277 case $(srcdir) in \
33278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33279 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
33280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33282 srcdiroption="--srcdir=$${topdir}/opcodes"; \
33283 libsrcdir="$$s/opcodes"; \
33284 $(SHELL) $${libsrcdir}/configure \
33285 $(HOST_CONFIGARGS) $${srcdiroption} \
33286 @stage2_werror_flag@
33288 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
33289 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
33290 @$(MAKE) stagefeedback-start
33291 @r=`${PWD_COMMAND}`; export r; \
33292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33293 $(STAGE_HOST_EXPORTS) \
33294 cd $(HOST_SUBDIR)/opcodes && \
33295 $(MAKE) $(FLAGS_TO_PASS) \
33296 $(POSTSTAGE1_FLAGS_TO_PASS) \
33297 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33299 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
33300 clean-stagefeedback-opcodes:
33301 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
33303 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
33304 cd $(HOST_SUBDIR)/opcodes && \
33305 $(MAKE) $(FLAGS_TO_PASS) \
33306 $(POSTSTAGE1_FLAGS_TO_PASS) \
33307 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33308 @endif opcodes-bootstrap
33311 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
33312 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
33313 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
33315 maybe-configure-stagefeedback-binutils:
33316 maybe-all-stagefeedback-binutils:
33317 maybe-clean-stagefeedback-binutils:
33319 @if binutils-bootstrap
33320 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
33321 configure-stagefeedback-binutils:
33322 @$(MAKE) stagefeedback-start
33323 @[ -f binutils/Makefile ] && exit 0 || : ; \
33324 r=`${PWD_COMMAND}`; export r; \
33325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33326 $(STAGE_HOST_EXPORTS) \
33327 echo Configuring stage feedback in binutils ; \
33328 cd $(HOST_SUBDIR)/binutils || exit 1; \
33329 case $(srcdir) in \
33330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33331 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33334 srcdiroption="--srcdir=$${topdir}/binutils"; \
33335 libsrcdir="$$s/binutils"; \
33336 $(SHELL) $${libsrcdir}/configure \
33337 $(HOST_CONFIGARGS) $${srcdiroption} \
33338 @stage2_werror_flag@
33340 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
33341 all-stagefeedback-binutils: configure-stagefeedback-binutils
33342 @$(MAKE) stagefeedback-start
33343 @r=`${PWD_COMMAND}`; export r; \
33344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33345 $(STAGE_HOST_EXPORTS) \
33346 cd $(HOST_SUBDIR)/binutils && \
33347 $(MAKE) $(FLAGS_TO_PASS) \
33348 $(POSTSTAGE1_FLAGS_TO_PASS) \
33349 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33351 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
33352 clean-stagefeedback-binutils:
33353 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
33355 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
33356 cd $(HOST_SUBDIR)/binutils && \
33357 $(MAKE) $(FLAGS_TO_PASS) \
33358 $(POSTSTAGE1_FLAGS_TO_PASS) \
33359 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33360 @endif binutils-bootstrap
33363 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
33364 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
33365 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
33367 maybe-configure-stagefeedback-gas:
33368 maybe-all-stagefeedback-gas:
33369 maybe-clean-stagefeedback-gas:
33372 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
33373 configure-stagefeedback-gas:
33374 @$(MAKE) stagefeedback-start
33375 @[ -f gas/Makefile ] && exit 0 || : ; \
33376 r=`${PWD_COMMAND}`; export r; \
33377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33378 $(STAGE_HOST_EXPORTS) \
33379 echo Configuring stage feedback in gas ; \
33380 cd $(HOST_SUBDIR)/gas || exit 1; \
33381 case $(srcdir) in \
33382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33383 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33386 srcdiroption="--srcdir=$${topdir}/gas"; \
33387 libsrcdir="$$s/gas"; \
33388 $(SHELL) $${libsrcdir}/configure \
33389 $(HOST_CONFIGARGS) $${srcdiroption} \
33390 @stage2_werror_flag@
33392 maybe-all-stagefeedback-gas: all-stagefeedback-gas
33393 all-stagefeedback-gas: configure-stagefeedback-gas
33394 @$(MAKE) stagefeedback-start
33395 @r=`${PWD_COMMAND}`; export r; \
33396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33397 $(STAGE_HOST_EXPORTS) \
33398 cd $(HOST_SUBDIR)/gas && \
33399 $(MAKE) $(FLAGS_TO_PASS) \
33400 $(POSTSTAGE1_FLAGS_TO_PASS) \
33401 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33403 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
33404 clean-stagefeedback-gas:
33405 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
33407 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
33408 cd $(HOST_SUBDIR)/gas && \
33409 $(MAKE) $(FLAGS_TO_PASS) \
33410 $(POSTSTAGE1_FLAGS_TO_PASS) \
33411 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33412 @endif gas-bootstrap
33415 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
33416 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
33417 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
33419 maybe-configure-stagefeedback-gcc:
33420 maybe-all-stagefeedback-gcc:
33421 maybe-clean-stagefeedback-gcc:
33424 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
33425 configure-stagefeedback-gcc:
33426 @$(MAKE) stagefeedback-start
33427 @[ -f gcc/Makefile ] && exit 0 || : ; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(STAGE_HOST_EXPORTS) \
33431 echo Configuring stage feedback in gcc ; \
33432 cd $(HOST_SUBDIR)/gcc || exit 1; \
33433 case $(srcdir) in \
33434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33435 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33438 srcdiroption="--srcdir=$${topdir}/gcc"; \
33439 libsrcdir="$$s/gcc"; \
33440 $(SHELL) $${libsrcdir}/configure \
33441 $(HOST_CONFIGARGS) $${srcdiroption} \
33442 @stage2_werror_flag@
33444 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
33445 all-stagefeedback-gcc: configure-stagefeedback-gcc
33446 @$(MAKE) stagefeedback-start
33447 @r=`${PWD_COMMAND}`; export r; \
33448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33449 $(STAGE_HOST_EXPORTS) \
33450 cd $(HOST_SUBDIR)/gcc && \
33451 $(MAKE) $(FLAGS_TO_PASS) \
33452 $(POSTSTAGE1_FLAGS_TO_PASS) \
33453 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
33455 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
33456 clean-stagefeedback-gcc:
33457 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
33459 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
33460 cd $(HOST_SUBDIR)/gcc && \
33461 $(MAKE) $(FLAGS_TO_PASS) \
33462 $(POSTSTAGE1_FLAGS_TO_PASS) \
33463 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
33464 @endif gcc-bootstrap
33467 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
33468 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
33469 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
33471 maybe-configure-stagefeedback-intl:
33472 maybe-all-stagefeedback-intl:
33473 maybe-clean-stagefeedback-intl:
33476 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
33477 configure-stagefeedback-intl:
33478 @$(MAKE) stagefeedback-start
33479 @[ -f intl/Makefile ] && exit 0 || : ; \
33480 r=`${PWD_COMMAND}`; export r; \
33481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33482 $(STAGE_HOST_EXPORTS) \
33483 echo Configuring stage feedback in intl ; \
33484 cd $(HOST_SUBDIR)/intl || exit 1; \
33485 case $(srcdir) in \
33486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33487 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33490 srcdiroption="--srcdir=$${topdir}/intl"; \
33491 libsrcdir="$$s/intl"; \
33492 $(SHELL) $${libsrcdir}/configure \
33493 $(HOST_CONFIGARGS) $${srcdiroption} \
33494 @stage2_werror_flag@
33496 maybe-all-stagefeedback-intl: all-stagefeedback-intl
33497 all-stagefeedback-intl: configure-stagefeedback-intl
33498 @$(MAKE) stagefeedback-start
33499 @r=`${PWD_COMMAND}`; export r; \
33500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33501 $(STAGE_HOST_EXPORTS) \
33502 cd $(HOST_SUBDIR)/intl && \
33503 $(MAKE) $(FLAGS_TO_PASS) \
33504 $(POSTSTAGE1_FLAGS_TO_PASS) \
33505 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33507 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
33508 clean-stagefeedback-intl:
33509 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
33511 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
33512 cd $(HOST_SUBDIR)/intl && \
33513 $(MAKE) $(FLAGS_TO_PASS) \
33514 $(POSTSTAGE1_FLAGS_TO_PASS) \
33515 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33516 @endif intl-bootstrap
33519 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
33520 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
33521 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
33523 maybe-configure-stagefeedback-ld:
33524 maybe-all-stagefeedback-ld:
33525 maybe-clean-stagefeedback-ld:
33528 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
33529 configure-stagefeedback-ld:
33530 @$(MAKE) stagefeedback-start
33531 @[ -f ld/Makefile ] && exit 0 || : ; \
33532 r=`${PWD_COMMAND}`; export r; \
33533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33534 $(STAGE_HOST_EXPORTS) \
33535 echo Configuring stage feedback in ld ; \
33536 cd $(HOST_SUBDIR)/ld || exit 1; \
33537 case $(srcdir) in \
33538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33539 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33542 srcdiroption="--srcdir=$${topdir}/ld"; \
33543 libsrcdir="$$s/ld"; \
33544 $(SHELL) $${libsrcdir}/configure \
33545 $(HOST_CONFIGARGS) $${srcdiroption} \
33546 @stage2_werror_flag@
33548 maybe-all-stagefeedback-ld: all-stagefeedback-ld
33549 all-stagefeedback-ld: configure-stagefeedback-ld
33550 @$(MAKE) stagefeedback-start
33551 @r=`${PWD_COMMAND}`; export r; \
33552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33553 $(STAGE_HOST_EXPORTS) \
33554 cd $(HOST_SUBDIR)/ld && \
33555 $(MAKE) $(FLAGS_TO_PASS) \
33556 $(POSTSTAGE1_FLAGS_TO_PASS) \
33557 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33559 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
33560 clean-stagefeedback-ld:
33561 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
33563 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
33564 cd $(HOST_SUBDIR)/ld && \
33565 $(MAKE) $(FLAGS_TO_PASS) \
33566 $(POSTSTAGE1_FLAGS_TO_PASS) \
33567 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33568 @endif ld-bootstrap
33571 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
33572 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
33573 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
33575 maybe-configure-stagefeedback-libcpp:
33576 maybe-all-stagefeedback-libcpp:
33577 maybe-clean-stagefeedback-libcpp:
33579 @if libcpp-bootstrap
33580 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
33581 configure-stagefeedback-libcpp:
33582 @$(MAKE) stagefeedback-start
33583 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33584 r=`${PWD_COMMAND}`; export r; \
33585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33586 $(STAGE_HOST_EXPORTS) \
33587 echo Configuring stage feedback in libcpp ; \
33588 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33589 case $(srcdir) in \
33590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33591 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33594 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33595 libsrcdir="$$s/libcpp"; \
33596 $(SHELL) $${libsrcdir}/configure \
33597 $(HOST_CONFIGARGS) $${srcdiroption} \
33598 @stage2_werror_flag@
33600 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
33601 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
33602 @$(MAKE) stagefeedback-start
33603 @r=`${PWD_COMMAND}`; export r; \
33604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33605 $(STAGE_HOST_EXPORTS) \
33606 cd $(HOST_SUBDIR)/libcpp && \
33607 $(MAKE) $(FLAGS_TO_PASS) \
33608 $(POSTSTAGE1_FLAGS_TO_PASS) \
33609 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33611 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
33612 clean-stagefeedback-libcpp:
33613 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
33615 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
33616 cd $(HOST_SUBDIR)/libcpp && \
33617 $(MAKE) $(FLAGS_TO_PASS) \
33618 $(POSTSTAGE1_FLAGS_TO_PASS) \
33619 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33620 @endif libcpp-bootstrap
33623 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
33624 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
33625 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
33627 maybe-configure-stagefeedback-libiberty:
33628 maybe-all-stagefeedback-libiberty:
33629 maybe-clean-stagefeedback-libiberty:
33631 @if libiberty-bootstrap
33632 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
33633 configure-stagefeedback-libiberty:
33634 @$(MAKE) stagefeedback-start
33635 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33636 r=`${PWD_COMMAND}`; export r; \
33637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33638 $(STAGE_HOST_EXPORTS) \
33639 echo Configuring stage feedback in libiberty ; \
33640 cd $(HOST_SUBDIR)/libiberty || exit 1; \
33641 case $(srcdir) in \
33642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33643 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
33644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33646 srcdiroption="--srcdir=$${topdir}/libiberty"; \
33647 libsrcdir="$$s/libiberty"; \
33648 $(SHELL) $${libsrcdir}/configure \
33649 $(HOST_CONFIGARGS) $${srcdiroption} \
33650 @stage2_werror_flag@
33652 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
33653 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
33654 @$(MAKE) stagefeedback-start
33655 @r=`${PWD_COMMAND}`; export r; \
33656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33657 $(STAGE_HOST_EXPORTS) \
33658 cd $(HOST_SUBDIR)/libiberty && \
33659 $(MAKE) $(FLAGS_TO_PASS) \
33660 $(POSTSTAGE1_FLAGS_TO_PASS) \
33661 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33663 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
33664 clean-stagefeedback-libiberty:
33665 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
33667 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
33668 cd $(HOST_SUBDIR)/libiberty && \
33669 $(MAKE) $(FLAGS_TO_PASS) \
33670 $(POSTSTAGE1_FLAGS_TO_PASS) \
33671 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33672 @endif libiberty-bootstrap
33675 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
33676 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
33677 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
33679 maybe-configure-stagefeedback-zlib:
33680 maybe-all-stagefeedback-zlib:
33681 maybe-clean-stagefeedback-zlib:
33684 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
33685 configure-stagefeedback-zlib:
33686 @$(MAKE) stagefeedback-start
33687 @[ -f zlib/Makefile ] && exit 0 || : ; \
33688 r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(STAGE_HOST_EXPORTS) \
33691 echo Configuring stage feedback in zlib ; \
33692 cd $(HOST_SUBDIR)/zlib || exit 1; \
33693 case $(srcdir) in \
33694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33695 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33698 srcdiroption="--srcdir=$${topdir}/zlib"; \
33699 libsrcdir="$$s/zlib"; \
33700 $(SHELL) $${libsrcdir}/configure \
33701 $(HOST_CONFIGARGS) $${srcdiroption} \
33702 @stage2_werror_flag@
33704 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
33705 all-stagefeedback-zlib: configure-stagefeedback-zlib
33706 @$(MAKE) stagefeedback-start
33707 @r=`${PWD_COMMAND}`; export r; \
33708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33709 $(STAGE_HOST_EXPORTS) \
33710 cd $(HOST_SUBDIR)/zlib && \
33711 $(MAKE) $(FLAGS_TO_PASS) \
33712 $(POSTSTAGE1_FLAGS_TO_PASS) \
33713 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33715 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
33716 clean-stagefeedback-zlib:
33717 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
33719 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
33720 cd $(HOST_SUBDIR)/zlib && \
33721 $(MAKE) $(FLAGS_TO_PASS) \
33722 $(POSTSTAGE1_FLAGS_TO_PASS) \
33723 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33724 @endif zlib-bootstrap
33728 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33729 # only possibility, but now it conflicts with no-bootstrap rules
33735 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33736 distclean-stage1:: distclean-stagefeedback
33737 .PHONY: distclean-stagefeedback
33738 distclean-stagefeedback::
33739 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33740 rm -rf stagefeedback-*
33743 @endif gcc-bootstrap
33747 stagefeedback-start::
33748 @r=`${PWD_COMMAND}`; export r; \
33749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33750 cd stageprofile-gcc && \
33751 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
33752 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
33754 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33755 # only possibility, but now it conflicts with no-bootstrap rules
33758 @r=`${PWD_COMMAND}`; export r; \
33759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33761 echo "Bootstrapping the compiler"; \
33762 $(MAKE) stageprofile-bubble distclean-stagefeedback
33763 @r=`${PWD_COMMAND}`; export r; \
33764 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33765 echo "Building runtime libraries and training compiler"; \
33766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
33767 @r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33770 echo "Building feedback based compiler"; \
33771 $(MAKE) stagefeedback-bubble stagefeedback-end
33772 @endif gcc-bootstrap
33775 NOTPARALLEL = .NOTPARALLEL
33777 do-distclean: distclean-stage1
33778 @endif gcc-bootstrap
33780 # --------------------------------------
33781 # Dependencies between different modules
33782 # --------------------------------------
33784 # Generic dependencies for target modules on host stuff, especially gcc
33786 configure-target-libstdc++-v3: maybe-all-gcc
33788 configure-target-libmudflap: maybe-all-gcc
33790 configure-target-newlib: maybe-all-gcc
33792 configure-target-libgfortran: maybe-all-gcc
33794 configure-target-libobjc: maybe-all-gcc
33796 configure-target-libtermcap: maybe-all-gcc
33798 configure-target-winsup: maybe-all-gcc
33800 configure-target-libgloss: maybe-all-gcc
33802 configure-target-libiberty: maybe-all-gcc
33804 configure-target-gperf: maybe-all-gcc
33806 configure-target-examples: maybe-all-gcc
33808 configure-target-libffi: maybe-all-gcc
33810 configure-target-libjava: maybe-all-gcc
33812 configure-target-zlib: maybe-all-gcc
33814 configure-target-boehm-gc: maybe-all-gcc
33816 configure-target-qthreads: maybe-all-gcc
33818 configure-target-rda: maybe-all-gcc
33820 configure-target-libada: maybe-all-gcc
33824 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
33826 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
33827 configure-target-gperf: maybe-all-target-libstdc++-v3
33829 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
33831 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
33833 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
33835 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
33836 configure-target-libjava: maybe-all-target-libstdc++-v3
33838 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
33840 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
33842 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
33844 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
33846 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
33848 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
33850 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
33852 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
33855 # There are two types of dependencies here: 'hard' dependencies, where one
33856 # module simply won't build without the other; and 'soft' dependencies, where
33857 # if the depended-on module is missing, the depending module will do without
33858 # or find a substitute somewhere (perhaps installed). Soft dependencies
33859 # are made here to depend on a 'maybe-' target. If you're not sure,
33860 # it's safer to use a soft dependency.
33866 # With all the machinery above in place, it is pretty easy to generate
33867 # dependencies. Host dependencies are a bit more complex because we have
33868 # to check for bootstrap/prebootstrap dependencies. To resolve
33869 # prebootstrap dependencies, prebootstrap modules are gathered in
33871 all-build-bison: maybe-all-build-texinfo
33872 all-build-byacc: maybe-all-build-texinfo
33873 all-build-flex: maybe-all-build-texinfo
33874 all-build-flex: maybe-all-build-bison
33875 all-build-flex: maybe-all-build-byacc
33876 all-build-flex: maybe-all-build-m4
33877 all-build-libiberty: maybe-all-build-texinfo
33878 all-build-m4: maybe-all-build-texinfo
33879 all-build-fixincludes: maybe-all-build-libiberty
33880 configure-gcc: maybe-configure-intl
33882 configure-stage1-gcc: maybe-configure-stage1-intl
33883 configure-stage2-gcc: maybe-configure-stage2-intl
33884 configure-stage3-gcc: maybe-configure-stage3-intl
33885 configure-stage4-gcc: maybe-configure-stage4-intl
33886 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
33887 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
33888 configure-gcc: maybe-configure-binutils
33890 configure-stage1-gcc: maybe-configure-stage1-binutils
33891 configure-stage2-gcc: maybe-configure-stage2-binutils
33892 configure-stage3-gcc: maybe-configure-stage3-binutils
33893 configure-stage4-gcc: maybe-configure-stage4-binutils
33894 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
33895 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
33896 configure-gcc: maybe-configure-gas
33898 configure-stage1-gcc: maybe-configure-stage1-gas
33899 configure-stage2-gcc: maybe-configure-stage2-gas
33900 configure-stage3-gcc: maybe-configure-stage3-gas
33901 configure-stage4-gcc: maybe-configure-stage4-gas
33902 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
33903 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
33904 configure-gcc: maybe-configure-ld
33906 configure-stage1-gcc: maybe-configure-stage1-ld
33907 configure-stage2-gcc: maybe-configure-stage2-ld
33908 configure-stage3-gcc: maybe-configure-stage3-ld
33909 configure-stage4-gcc: maybe-configure-stage4-ld
33910 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
33911 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
33912 all-gcc: all-libiberty
33914 all-stage1-gcc: all-stage1-libiberty
33915 all-stage2-gcc: all-stage2-libiberty
33916 all-stage3-gcc: all-stage3-libiberty
33917 all-stage4-gcc: all-stage4-libiberty
33918 all-stageprofile-gcc: all-stageprofile-libiberty
33919 all-stagefeedback-gcc: all-stagefeedback-libiberty
33920 all-gcc: maybe-all-intl
33922 all-stage1-gcc: maybe-all-stage1-intl
33923 all-stage2-gcc: maybe-all-stage2-intl
33924 all-stage3-gcc: maybe-all-stage3-intl
33925 all-stage4-gcc: maybe-all-stage4-intl
33926 all-stageprofile-gcc: maybe-all-stageprofile-intl
33927 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
33928 all-gcc: maybe-all-build-texinfo
33930 all-stage1-gcc: maybe-all-build-texinfo
33931 all-stage2-gcc: maybe-all-build-texinfo
33932 all-stage3-gcc: maybe-all-build-texinfo
33933 all-stage4-gcc: maybe-all-build-texinfo
33934 all-stageprofile-gcc: maybe-all-build-texinfo
33935 all-stagefeedback-gcc: maybe-all-build-texinfo
33936 all-prebootstrap: maybe-all-build-texinfo
33937 all-gcc: maybe-all-build-bison
33939 all-stage1-gcc: maybe-all-build-bison
33940 all-stage2-gcc: maybe-all-build-bison
33941 all-stage3-gcc: maybe-all-build-bison
33942 all-stage4-gcc: maybe-all-build-bison
33943 all-stageprofile-gcc: maybe-all-build-bison
33944 all-stagefeedback-gcc: maybe-all-build-bison
33945 all-prebootstrap: maybe-all-build-bison
33946 all-gcc: maybe-all-build-byacc
33948 all-stage1-gcc: maybe-all-build-byacc
33949 all-stage2-gcc: maybe-all-build-byacc
33950 all-stage3-gcc: maybe-all-build-byacc
33951 all-stage4-gcc: maybe-all-build-byacc
33952 all-stageprofile-gcc: maybe-all-build-byacc
33953 all-stagefeedback-gcc: maybe-all-build-byacc
33954 all-prebootstrap: maybe-all-build-byacc
33955 all-gcc: maybe-all-build-flex
33957 all-stage1-gcc: maybe-all-build-flex
33958 all-stage2-gcc: maybe-all-build-flex
33959 all-stage3-gcc: maybe-all-build-flex
33960 all-stage4-gcc: maybe-all-build-flex
33961 all-stageprofile-gcc: maybe-all-build-flex
33962 all-stagefeedback-gcc: maybe-all-build-flex
33963 all-prebootstrap: maybe-all-build-flex
33964 all-gcc: maybe-all-build-libiberty
33966 all-stage1-gcc: maybe-all-build-libiberty
33967 all-stage2-gcc: maybe-all-build-libiberty
33968 all-stage3-gcc: maybe-all-build-libiberty
33969 all-stage4-gcc: maybe-all-build-libiberty
33970 all-stageprofile-gcc: maybe-all-build-libiberty
33971 all-stagefeedback-gcc: maybe-all-build-libiberty
33972 all-prebootstrap: maybe-all-build-libiberty
33973 all-gcc: maybe-all-build-fixincludes
33975 all-stage1-gcc: maybe-all-build-fixincludes
33976 all-stage2-gcc: maybe-all-build-fixincludes
33977 all-stage3-gcc: maybe-all-build-fixincludes
33978 all-stage4-gcc: maybe-all-build-fixincludes
33979 all-stageprofile-gcc: maybe-all-build-fixincludes
33980 all-stagefeedback-gcc: maybe-all-build-fixincludes
33981 all-prebootstrap: maybe-all-build-fixincludes
33982 all-gcc: maybe-all-binutils
33984 all-stage1-gcc: maybe-all-stage1-binutils
33985 all-stage2-gcc: maybe-all-stage2-binutils
33986 all-stage3-gcc: maybe-all-stage3-binutils
33987 all-stage4-gcc: maybe-all-stage4-binutils
33988 all-stageprofile-gcc: maybe-all-stageprofile-binutils
33989 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
33990 all-gcc: maybe-all-gas
33992 all-stage1-gcc: maybe-all-stage1-gas
33993 all-stage2-gcc: maybe-all-stage2-gas
33994 all-stage3-gcc: maybe-all-stage3-gas
33995 all-stage4-gcc: maybe-all-stage4-gas
33996 all-stageprofile-gcc: maybe-all-stageprofile-gas
33997 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
33998 all-gcc: maybe-all-ld
34000 all-stage1-gcc: maybe-all-stage1-ld
34001 all-stage2-gcc: maybe-all-stage2-ld
34002 all-stage3-gcc: maybe-all-stage3-ld
34003 all-stage4-gcc: maybe-all-stage4-ld
34004 all-stageprofile-gcc: maybe-all-stageprofile-ld
34005 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
34006 all-gcc: maybe-all-zlib
34008 all-stage1-gcc: maybe-all-stage1-zlib
34009 all-stage2-gcc: maybe-all-stage2-zlib
34010 all-stage3-gcc: maybe-all-stage3-zlib
34011 all-stage4-gcc: maybe-all-stage4-zlib
34012 all-stageprofile-gcc: maybe-all-stageprofile-zlib
34013 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
34014 all-gcc: all-libcpp
34016 all-stage1-gcc: all-stage1-libcpp
34017 all-stage2-gcc: all-stage2-libcpp
34018 all-stage3-gcc: all-stage3-libcpp
34019 all-stage4-gcc: all-stage4-libcpp
34020 all-stageprofile-gcc: all-stageprofile-libcpp
34021 all-stagefeedback-gcc: all-stagefeedback-libcpp
34022 all-gcc: maybe-all-libiberty
34024 all-stage1-gcc: maybe-all-stage1-libiberty
34025 all-stage2-gcc: maybe-all-stage2-libiberty
34026 all-stage3-gcc: maybe-all-stage3-libiberty
34027 all-stage4-gcc: maybe-all-stage4-libiberty
34028 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
34029 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
34030 all-gcc: maybe-all-fixincludes
34031 install-gcc: maybe-install-fixincludes
34032 configure-libcpp: configure-libiberty
34034 configure-stage1-libcpp: configure-stage1-libiberty
34035 configure-stage2-libcpp: configure-stage2-libiberty
34036 configure-stage3-libcpp: configure-stage3-libiberty
34037 configure-stage4-libcpp: configure-stage4-libiberty
34038 configure-stageprofile-libcpp: configure-stageprofile-libiberty
34039 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
34040 configure-libcpp: maybe-configure-intl
34042 configure-stage1-libcpp: maybe-configure-stage1-intl
34043 configure-stage2-libcpp: maybe-configure-stage2-intl
34044 configure-stage3-libcpp: maybe-configure-stage3-intl
34045 configure-stage4-libcpp: maybe-configure-stage4-intl
34046 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
34047 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
34048 all-libcpp: all-libiberty
34050 all-stage1-libcpp: all-stage1-libiberty
34051 all-stage2-libcpp: all-stage2-libiberty
34052 all-stage3-libcpp: all-stage3-libiberty
34053 all-stage4-libcpp: all-stage4-libiberty
34054 all-stageprofile-libcpp: all-stageprofile-libiberty
34055 all-stagefeedback-libcpp: all-stagefeedback-libiberty
34056 all-libcpp: maybe-all-intl
34058 all-stage1-libcpp: maybe-all-stage1-intl
34059 all-stage2-libcpp: maybe-all-stage2-intl
34060 all-stage3-libcpp: maybe-all-stage3-intl
34061 all-stage4-libcpp: maybe-all-stage4-intl
34062 all-stageprofile-libcpp: maybe-all-stageprofile-intl
34063 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
34064 all-fixincludes: maybe-all-libiberty
34065 all-gnattools: maybe-all-target-libada
34066 configure-gdb: maybe-configure-itcl
34067 configure-gdb: maybe-configure-tcl
34068 configure-gdb: maybe-configure-tk
34069 configure-gdb: maybe-configure-sim
34070 all-gdb: maybe-all-libiberty
34071 all-gdb: maybe-all-opcodes
34072 all-gdb: maybe-all-bfd
34073 all-gdb: maybe-all-readline
34074 all-gdb: maybe-all-build-bison
34075 all-gdb: maybe-all-build-byacc
34076 all-gdb: maybe-all-sim
34077 install-gdb: maybe-install-tcl
34078 install-gdb: maybe-install-tk
34079 install-gdb: maybe-install-itcl
34080 install-gdb: maybe-install-libgui
34081 configure-libgui: maybe-configure-tcl
34082 configure-libgui: maybe-configure-tk
34083 all-libgui: maybe-all-tcl
34084 all-libgui: maybe-all-tk
34085 all-libgui: maybe-all-itcl
34086 configure-bfd: configure-libiberty
34088 configure-stage1-bfd: configure-stage1-libiberty
34089 configure-stage2-bfd: configure-stage2-libiberty
34090 configure-stage3-bfd: configure-stage3-libiberty
34091 configure-stage4-bfd: configure-stage4-libiberty
34092 configure-stageprofile-bfd: configure-stageprofile-libiberty
34093 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
34094 all-bfd: maybe-all-libiberty
34096 all-stage1-bfd: maybe-all-stage1-libiberty
34097 all-stage2-bfd: maybe-all-stage2-libiberty
34098 all-stage3-bfd: maybe-all-stage3-libiberty
34099 all-stage4-bfd: maybe-all-stage4-libiberty
34100 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
34101 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
34102 all-bfd: maybe-all-intl
34104 all-stage1-bfd: maybe-all-stage1-intl
34105 all-stage2-bfd: maybe-all-stage2-intl
34106 all-stage3-bfd: maybe-all-stage3-intl
34107 all-stage4-bfd: maybe-all-stage4-intl
34108 all-stageprofile-bfd: maybe-all-stageprofile-intl
34109 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
34110 all-binutils: maybe-all-libiberty
34112 all-stage1-binutils: maybe-all-stage1-libiberty
34113 all-stage2-binutils: maybe-all-stage2-libiberty
34114 all-stage3-binutils: maybe-all-stage3-libiberty
34115 all-stage4-binutils: maybe-all-stage4-libiberty
34116 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
34117 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
34118 all-binutils: maybe-all-opcodes
34120 all-stage1-binutils: maybe-all-stage1-opcodes
34121 all-stage2-binutils: maybe-all-stage2-opcodes
34122 all-stage3-binutils: maybe-all-stage3-opcodes
34123 all-stage4-binutils: maybe-all-stage4-opcodes
34124 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
34125 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
34126 all-binutils: maybe-all-bfd
34128 all-stage1-binutils: maybe-all-stage1-bfd
34129 all-stage2-binutils: maybe-all-stage2-bfd
34130 all-stage3-binutils: maybe-all-stage3-bfd
34131 all-stage4-binutils: maybe-all-stage4-bfd
34132 all-stageprofile-binutils: maybe-all-stageprofile-bfd
34133 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
34134 all-binutils: maybe-all-build-flex
34136 all-stage1-binutils: maybe-all-build-flex
34137 all-stage2-binutils: maybe-all-build-flex
34138 all-stage3-binutils: maybe-all-build-flex
34139 all-stage4-binutils: maybe-all-build-flex
34140 all-stageprofile-binutils: maybe-all-build-flex
34141 all-stagefeedback-binutils: maybe-all-build-flex
34142 all-prebootstrap: maybe-all-build-flex
34143 all-binutils: maybe-all-build-bison
34145 all-stage1-binutils: maybe-all-build-bison
34146 all-stage2-binutils: maybe-all-build-bison
34147 all-stage3-binutils: maybe-all-build-bison
34148 all-stage4-binutils: maybe-all-build-bison
34149 all-stageprofile-binutils: maybe-all-build-bison
34150 all-stagefeedback-binutils: maybe-all-build-bison
34151 all-prebootstrap: maybe-all-build-bison
34152 all-binutils: maybe-all-build-byacc
34154 all-stage1-binutils: maybe-all-build-byacc
34155 all-stage2-binutils: maybe-all-build-byacc
34156 all-stage3-binutils: maybe-all-build-byacc
34157 all-stage4-binutils: maybe-all-build-byacc
34158 all-stageprofile-binutils: maybe-all-build-byacc
34159 all-stagefeedback-binutils: maybe-all-build-byacc
34160 all-prebootstrap: maybe-all-build-byacc
34161 all-binutils: maybe-all-intl
34163 all-stage1-binutils: maybe-all-stage1-intl
34164 all-stage2-binutils: maybe-all-stage2-intl
34165 all-stage3-binutils: maybe-all-stage3-intl
34166 all-stage4-binutils: maybe-all-stage4-intl
34167 all-stageprofile-binutils: maybe-all-stageprofile-intl
34168 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
34169 install-binutils: maybe-install-opcodes
34170 install-opcodes: maybe-install-bfd
34171 all-gas: maybe-all-libiberty
34173 all-stage1-gas: maybe-all-stage1-libiberty
34174 all-stage2-gas: maybe-all-stage2-libiberty
34175 all-stage3-gas: maybe-all-stage3-libiberty
34176 all-stage4-gas: maybe-all-stage4-libiberty
34177 all-stageprofile-gas: maybe-all-stageprofile-libiberty
34178 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
34179 all-gas: maybe-all-opcodes
34181 all-stage1-gas: maybe-all-stage1-opcodes
34182 all-stage2-gas: maybe-all-stage2-opcodes
34183 all-stage3-gas: maybe-all-stage3-opcodes
34184 all-stage4-gas: maybe-all-stage4-opcodes
34185 all-stageprofile-gas: maybe-all-stageprofile-opcodes
34186 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
34187 all-gas: maybe-all-bfd
34189 all-stage1-gas: maybe-all-stage1-bfd
34190 all-stage2-gas: maybe-all-stage2-bfd
34191 all-stage3-gas: maybe-all-stage3-bfd
34192 all-stage4-gas: maybe-all-stage4-bfd
34193 all-stageprofile-gas: maybe-all-stageprofile-bfd
34194 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
34195 all-gas: maybe-all-intl
34197 all-stage1-gas: maybe-all-stage1-intl
34198 all-stage2-gas: maybe-all-stage2-intl
34199 all-stage3-gas: maybe-all-stage3-intl
34200 all-stage4-gas: maybe-all-stage4-intl
34201 all-stageprofile-gas: maybe-all-stageprofile-intl
34202 all-stagefeedback-gas: maybe-all-stagefeedback-intl
34203 all-gprof: maybe-all-libiberty
34204 all-gprof: maybe-all-bfd
34205 all-gprof: maybe-all-opcodes
34206 all-gprof: maybe-all-intl
34207 all-ld: maybe-all-libiberty
34209 all-stage1-ld: maybe-all-stage1-libiberty
34210 all-stage2-ld: maybe-all-stage2-libiberty
34211 all-stage3-ld: maybe-all-stage3-libiberty
34212 all-stage4-ld: maybe-all-stage4-libiberty
34213 all-stageprofile-ld: maybe-all-stageprofile-libiberty
34214 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
34215 all-ld: maybe-all-bfd
34217 all-stage1-ld: maybe-all-stage1-bfd
34218 all-stage2-ld: maybe-all-stage2-bfd
34219 all-stage3-ld: maybe-all-stage3-bfd
34220 all-stage4-ld: maybe-all-stage4-bfd
34221 all-stageprofile-ld: maybe-all-stageprofile-bfd
34222 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
34223 all-ld: maybe-all-opcodes
34225 all-stage1-ld: maybe-all-stage1-opcodes
34226 all-stage2-ld: maybe-all-stage2-opcodes
34227 all-stage3-ld: maybe-all-stage3-opcodes
34228 all-stage4-ld: maybe-all-stage4-opcodes
34229 all-stageprofile-ld: maybe-all-stageprofile-opcodes
34230 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
34231 all-ld: maybe-all-build-bison
34233 all-stage1-ld: maybe-all-build-bison
34234 all-stage2-ld: maybe-all-build-bison
34235 all-stage3-ld: maybe-all-build-bison
34236 all-stage4-ld: maybe-all-build-bison
34237 all-stageprofile-ld: maybe-all-build-bison
34238 all-stagefeedback-ld: maybe-all-build-bison
34239 all-prebootstrap: maybe-all-build-bison
34240 all-ld: maybe-all-build-byacc
34242 all-stage1-ld: maybe-all-build-byacc
34243 all-stage2-ld: maybe-all-build-byacc
34244 all-stage3-ld: maybe-all-build-byacc
34245 all-stage4-ld: maybe-all-build-byacc
34246 all-stageprofile-ld: maybe-all-build-byacc
34247 all-stagefeedback-ld: maybe-all-build-byacc
34248 all-prebootstrap: maybe-all-build-byacc
34249 all-ld: maybe-all-build-flex
34251 all-stage1-ld: maybe-all-build-flex
34252 all-stage2-ld: maybe-all-build-flex
34253 all-stage3-ld: maybe-all-build-flex
34254 all-stage4-ld: maybe-all-build-flex
34255 all-stageprofile-ld: maybe-all-build-flex
34256 all-stagefeedback-ld: maybe-all-build-flex
34257 all-prebootstrap: maybe-all-build-flex
34258 all-ld: maybe-all-intl
34260 all-stage1-ld: maybe-all-stage1-intl
34261 all-stage2-ld: maybe-all-stage2-intl
34262 all-stage3-ld: maybe-all-stage3-intl
34263 all-stage4-ld: maybe-all-stage4-intl
34264 all-stageprofile-ld: maybe-all-stageprofile-intl
34265 all-stagefeedback-ld: maybe-all-stagefeedback-intl
34266 all-opcodes: maybe-all-bfd
34268 all-stage1-opcodes: maybe-all-stage1-bfd
34269 all-stage2-opcodes: maybe-all-stage2-bfd
34270 all-stage3-opcodes: maybe-all-stage3-bfd
34271 all-stage4-opcodes: maybe-all-stage4-bfd
34272 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
34273 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
34274 all-opcodes: maybe-all-libiberty
34276 all-stage1-opcodes: maybe-all-stage1-libiberty
34277 all-stage2-opcodes: maybe-all-stage2-libiberty
34278 all-stage3-opcodes: maybe-all-stage3-libiberty
34279 all-stage4-opcodes: maybe-all-stage4-libiberty
34280 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
34281 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
34282 all-dejagnu: maybe-all-tcl
34283 all-dejagnu: maybe-all-expect
34284 all-dejagnu: maybe-all-tk
34285 configure-expect: maybe-configure-tcl
34286 configure-expect: maybe-configure-tk
34287 all-expect: maybe-all-tcl
34288 all-expect: maybe-all-tk
34289 configure-itcl: maybe-configure-tcl
34290 configure-itcl: maybe-configure-tk
34291 all-itcl: maybe-all-tcl
34292 all-itcl: maybe-all-tk
34293 install-itcl: maybe-install-tcl
34294 configure-tk: maybe-configure-tcl
34295 all-tk: maybe-all-tcl
34296 all-sid: maybe-all-libiberty
34297 all-sid: maybe-all-bfd
34298 all-sid: maybe-all-opcodes
34299 all-sid: maybe-all-tcl
34300 all-sid: maybe-all-tk
34301 install-sid: maybe-install-tcl
34302 install-sid: maybe-install-tk
34303 all-sim: maybe-all-libiberty
34304 all-sim: maybe-all-bfd
34305 all-sim: maybe-all-opcodes
34306 all-sim: maybe-all-readline
34307 all-sim: maybe-configure-gdb
34308 all-fastjar: maybe-all-zlib
34309 all-fastjar: maybe-all-build-texinfo
34310 all-fastjar: maybe-all-libiberty
34311 all-autoconf: maybe-all-m4
34312 all-autoconf: maybe-all-build-texinfo
34313 all-automake: maybe-all-m4
34314 all-automake: maybe-all-build-texinfo
34315 all-automake: maybe-all-autoconf
34316 all-bison: maybe-all-intl
34317 all-bison: maybe-all-build-texinfo
34318 all-diff: maybe-all-intl
34319 all-diff: maybe-all-build-texinfo
34320 all-fileutils: maybe-all-intl
34321 all-fileutils: maybe-all-build-texinfo
34322 all-flex: maybe-all-build-bison
34323 all-flex: maybe-all-build-byacc
34324 all-flex: maybe-all-intl
34325 all-flex: maybe-all-m4
34326 all-flex: maybe-all-build-texinfo
34327 all-gzip: maybe-all-intl
34328 all-gzip: maybe-all-zlib
34329 all-gzip: maybe-all-build-texinfo
34330 all-hello: maybe-all-intl
34331 all-hello: maybe-all-build-texinfo
34332 all-m4: maybe-all-intl
34333 all-m4: maybe-all-build-texinfo
34334 all-make: maybe-all-intl
34335 all-make: maybe-all-build-texinfo
34336 all-patch: maybe-all-build-texinfo
34337 all-make: maybe-all-build-texinfo
34338 all-prms: maybe-all-libiberty
34339 all-recode: maybe-all-build-texinfo
34340 all-sed: maybe-all-build-texinfo
34341 all-send-pr: maybe-all-prms
34342 all-tar: maybe-all-build-texinfo
34343 all-uudecode: maybe-all-build-texinfo
34344 configure-target-boehm-gc: maybe-configure-target-qthreads
34345 configure-target-fastjar: maybe-configure-target-zlib
34346 all-target-fastjar: maybe-all-target-zlib
34347 all-target-fastjar: maybe-all-target-libiberty
34348 configure-target-libjava: maybe-configure-target-zlib
34349 configure-target-libjava: maybe-configure-target-boehm-gc
34350 configure-target-libjava: maybe-configure-target-qthreads
34351 configure-target-libjava: maybe-configure-target-libffi
34352 all-target-libjava: maybe-all-fastjar
34353 all-target-libjava: maybe-all-target-zlib
34354 all-target-libjava: maybe-all-target-boehm-gc
34355 all-target-libjava: maybe-all-target-qthreads
34356 all-target-libjava: maybe-all-target-libffi
34357 all-target-libobjc: maybe-all-target-libiberty
34358 all-target-libstdc++-v3: maybe-all-target-libiberty
34359 all-target-libgloss: maybe-configure-target-newlib
34360 all-target-winsup: maybe-all-target-libiberty
34361 all-target-winsup: maybe-all-target-libtermcap
34364 # Non-toplevel bootstrap rules must depend on several packages, to be built
34365 # before gcc. Another wart that will go away, hopefully soon.
34366 @if gcc-no-bootstrap
34368 all-prebootstrap: maybe-all-bfd
34369 all-prebootstrap: maybe-all-opcodes
34370 all-prebootstrap: maybe-all-binutils
34371 all-prebootstrap: maybe-all-gas
34372 all-prebootstrap: maybe-all-intl
34373 all-prebootstrap: maybe-all-ld
34374 all-prebootstrap: maybe-all-libcpp
34375 all-prebootstrap: maybe-all-libiberty
34376 all-prebootstrap: maybe-all-zlib
34377 @endif gcc-no-bootstrap
34380 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
34382 # Serialization dependencies. Host configures don't work well in parallel to
34383 # each other, due to contention over config.cache. Target configures and
34384 # build configures are similar.
34385 @serialization_dependencies@
34387 # --------------------------------
34388 # Regenerating top level configury
34389 # --------------------------------
34391 # Multilib.out tells target dirs what multilibs they should build.
34392 # There is really only one copy. We use the 'timestamp' method to
34393 # work around various timestamp bugs on some systems.
34394 # We use move-if-change so that it's only considered updated when it
34395 # actually changes, because it has to depend on a phony target.
34396 multilib.out: maybe-all-gcc
34397 @r=`${PWD_COMMAND}`; export r; \
34398 echo "Checking multilib configuration..."; \
34399 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
34400 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
34402 # Rebuilding Makefile.in, using autogen.
34404 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
34405 cd $(srcdir) && $(AUTOGEN) Makefile.def
34407 # Rebuilding Makefile.
34408 Makefile: $(srcdir)/Makefile.in config.status
34409 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
34411 config.status: configure
34412 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
34414 # Rebuilding configure.
34415 AUTOCONF = autoconf
34416 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
34417 cd $(srcdir) && $(AUTOCONF)
34419 # ------------------------------
34420 # Special directives to GNU Make
34421 # ------------------------------
34423 # Don't pass command-line variables to submakes.
34427 # end of Makefile.in