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 file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
92 # This is the name of the environment variable used for the path to
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
105 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory. It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
120 FLEX="$(FLEX)"; export FLEX; \
121 LEX="$(LEX)"; export LEX; \
122 BISON="$(BISON)"; export BISON; \
123 YACC="$(YACC)"; export YACC; \
124 M4="$(M4)"; export M4; \
125 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
131 AR="$(AR_FOR_BUILD)"; export AR; \
132 AS="$(AS_FOR_BUILD)"; export AS; \
133 CC="$(CC_FOR_BUILD)"; export CC; \
134 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136 CXX="$(CXX_FOR_BUILD)"; export CXX; \
137 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141 LD="$(LD_FOR_BUILD)"; export LD; \
142 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143 NM="$(NM_FOR_BUILD)"; export NM; \
144 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # This is the list of variables to export in the environment when
153 # configuring subdirectories for the host system.
156 CC="$(CC)"; export CC; \
157 CFLAGS="$(CFLAGS)"; export CFLAGS; \
158 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
159 CXX="$(CXX)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
161 AR="$(AR)"; export AR; \
162 AS="$(AS)"; export AS; \
163 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
164 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
165 LD="$(LD)"; export LD; \
166 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
167 NM="$(NM)"; export NM; \
168 RANLIB="$(RANLIB)"; export RANLIB; \
169 WINDRES="$(WINDRES)"; export WINDRES; \
170 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
171 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
172 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
173 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
174 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
175 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
178 # Similar, for later GCC stages.
179 STAGE_HOST_EXPORTS = \
181 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
182 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
184 # This is set by the configure script to the list of directories which
185 # should be built using the target tools.
186 TARGET_CONFIGDIRS = @target_configdirs@
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 NM="$(NM_FOR_TARGET)"; export NM; \
209 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
214 RAW_CXX_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
217 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
219 NORMAL_TARGET_EXPORTS = \
220 $(BASE_TARGET_EXPORTS) \
221 CXX="$(CXX_FOR_TARGET)"; export CXX;
224 HOST_GMPLIBS = @gmplibs@
225 HOST_GMPINC = @gmpinc@
227 # ----------------------------------------------
228 # Programs producing files for the BUILD machine
229 # ----------------------------------------------
231 SHELL = @config_shell@
233 # pwd command to use. Allow user to override default by setting PWDCMD in
234 # the environment to account for automounters. The make variable must not
235 # be called PWDCMD, otherwise the value set here is passed to make
236 # subprocesses and overrides the setting from the user's environment.
237 # Don't use PWD since it is a common shell environment variable and we
238 # don't want to corrupt it.
239 PWD_COMMAND = $${PWDCMD-pwd}
241 # compilers to use to create programs which must be run in the build
243 CC_FOR_BUILD = @CC_FOR_BUILD@
244 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
246 CXX_FOR_BUILD = $(CXX)
248 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BUILD_PREFIX = @BUILD_PREFIX@
251 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
253 # Flags to pass to stage2 and later makes. They are defined
254 # here so that they can be overridden by Makefile fragments.
257 CONFIGURED_BISON = @CONFIGURED_BISON@
258 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
261 echo ${CONFIGURED_BISON} ; \
264 CONFIGURED_YACC = @CONFIGURED_YACC@
265 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
267 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
268 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
270 echo ${CONFIGURED_YACC} ; \
273 CONFIGURED_FLEX = @CONFIGURED_FLEX@
274 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_FLEX} ; fi`
278 CONFIGURED_LEX = @CONFIGURED_LEX@
279 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
281 else echo ${CONFIGURED_LEX} ; fi`
283 CONFIGURED_M4 = @CONFIGURED_M4@
284 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
286 else echo ${CONFIGURED_M4} ; fi`
288 # For an installed makeinfo, we require it to be from texinfo 4.2 or
289 # higher, else we use the "missing" dummy. We also pass the subdirectory
290 # makeinfo even if only the Makefile is there, because Texinfo builds its
291 # manual when made, and it requires its own version.
292 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
293 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
294 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
295 else if (${CONFIGURED_MAKEINFO} --version \
296 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
297 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
299 # This just becomes part of the MAKEINFO definition passed down to
300 # sub-makes. It lets flags be given on the command line while still
301 # using the makeinfo from the object tree.
302 # (Default to avoid splitting info files by setting the threshold high.)
303 MAKEINFOFLAGS = --split-size=5000000
305 EXPECT = `if [ -f $$r/expect/expect ] ; \
306 then echo $$r/expect/expect ; \
307 else echo expect ; fi`
309 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
310 then echo $$s/dejagnu/runtest ; \
311 else echo runtest ; fi`
313 # ---------------------------------------------
314 # Programs producing files for the HOST machine
315 # ---------------------------------------------
317 # This is the list of directories that may be needed in RPATH_ENVVAR
318 # so that programs built for the host machine work.
319 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
328 LIBCFLAGS = $(CFLAGS)
331 CXXFLAGS = @CXXFLAGS@
332 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
347 # -----------------------------------------------
348 # Programs producing files for the TARGET machine
349 # -----------------------------------------------
351 # This is the list of directories that may be needed in RPATH_ENVVAR
352 # so that prorgams built for the target machine work.
353 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
355 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
357 AR_FOR_TARGET=@AR_FOR_TARGET@
358 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
359 USUAL_AR_FOR_TARGET = ` \
360 if [ -f $$r/binutils/ar ] ; then \
361 echo $$r/binutils/ar ; \
363 if [ '$(host)' = '$(target)' ] ; then \
366 echo $(CONFIGURED_AR_FOR_TARGET) ; \
370 AS_FOR_TARGET=@AS_FOR_TARGET@
371 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
372 USUAL_AS_FOR_TARGET = ` \
373 if [ -f $$r/gas/as-new ] ; then \
374 echo $$r/gas/as-new ; \
375 elif [ -f $$r/gcc/xgcc ]; then \
376 $(CC_FOR_TARGET) -print-prog-name=as ; \
378 if [ '$(host)' = '$(target)' ] ; then \
381 echo $(CONFIGURED_AS_FOR_TARGET) ; \
385 CC_FOR_TARGET = @CC_FOR_TARGET@
386 # During gcc bootstrap, if we use some random cc for stage1 then
387 # CFLAGS will be just -g. We want to ensure that TARGET libraries
388 # (which we know are built with gcc) are built with optimizations so
389 # prepend -O2 when setting CFLAGS_FOR_TARGET.
390 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
391 # If GCC_FOR_TARGET is not overriden on the command line, then this
392 # variable is passed down to the gcc Makefile, where it is used to
393 # build libgcc2.a. We define it here so that it can itself be
394 # overridden on the command line.
395 GCC_FOR_TARGET=@GCC_FOR_TARGET@
396 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409 if [ -f $$r/binutils/dlltool ] ; then \
410 echo $$r/binutils/dlltool ; \
412 if [ '$(host)' = '$(target)' ] ; then \
415 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425 if [ -f $$r/ld/ld-new ] ; then \
426 echo $$r/ld/ld-new ; \
427 elif [ -f $$r/gcc/xgcc ]; then \
428 $(CC_FOR_TARGET) -print-prog-name=ld ; \
430 if [ '$(host)' = '$(target)' ] ; then \
433 echo $(CONFIGURED_LD_FOR_TARGET) ; \
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442 if [ -f $$r/binutils/nm-new ] ; then \
443 echo $$r/binutils/nm-new ; \
444 elif [ -f $$r/gcc/xgcc ]; then \
445 $(CC_FOR_TARGET) -print-prog-name=nm ; \
447 if [ '$(host)' = '$(target)' ] ; then \
450 echo $(CONFIGURED_NM_FOR_TARGET) ; \
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457 if [ -f $$r/binutils/ranlib ] ; then \
458 echo $$r/binutils/ranlib ; \
460 if [ '$(host)' = '$(target)' ] ; then \
461 if [ x'$(RANLIB)' != x ]; then \
467 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474 if [ -f $$r/binutils/windres ] ; then \
475 echo $$r/binutils/windres ; \
477 if [ '$(host)' = '$(target)' ] ; then \
480 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
490 # The first rule in the file had better be this one. Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503 "DESTDIR=$(DESTDIR)" \
504 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
507 "datadir=$(datadir)" \
508 "exec_prefix=$(exec_prefix)" \
509 "includedir=$(includedir)" \
510 "infodir=$(infodir)" \
512 "libexecdir=$(libexecdir)" \
513 "lispdir=$(lispdir)" \
514 "libstdcxx_incdir=$(libstdcxx_incdir)" \
515 "libsubdir=$(libsubdir)" \
516 "localstatedir=$(localstatedir)" \
518 "oldincludedir=$(oldincludedir)" \
520 "sbindir=$(sbindir)" \
521 "sharedstatedir=$(sharedstatedir)" \
522 "sysconfdir=$(sysconfdir)" \
523 "tooldir=$(tooldir)" \
524 "build_tooldir=$(build_tooldir)" \
525 "gxx_include_dir=$(gxx_include_dir)" \
526 "gcc_version=$(gcc_version)" \
527 "gcc_version_trigger=$(gcc_version_trigger)" \
528 "target_alias=$(target_alias)" \
530 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
531 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
534 "INSTALL=$(INSTALL)" \
535 "INSTALL_DATA=$(INSTALL_DATA)" \
536 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
537 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
541 "RUNTEST=$(RUNTEST)" \
542 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
545 "AR_FLAGS=$(AR_FLAGS)" \
547 "CXXFLAGS=$(CXXFLAGS)" \
548 "LDFLAGS=$(LDFLAGS)" \
549 "LIBCFLAGS=$(LIBCFLAGS)" \
550 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
551 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
552 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
553 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
554 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
555 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
556 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
557 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
558 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
559 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
560 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
561 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
562 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
563 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
564 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
565 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
566 "CONFIG_SHELL=$(SHELL)" \
567 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
569 # For any flags above that may contain shell code that varies from one
570 # target library to another. When doing recursive invocations of the
571 # top-level Makefile, we don't want the outer make to evaluate them,
572 # so we pass these variables down unchanged. They must not contain
573 # single nor double quotes.
575 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
576 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
580 # Flags to pass down to most sub-makes, in which we're building with
581 # the host environment.
587 'DLLTOOL=$(DLLTOOL)' \
593 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
595 # Flags that are concerned with the location of the X11 include files
598 # NOTE: until the top-level is getting the values via autoconf, it only
599 # causes problems to have this top-level Makefile overriding the autoconf-set
600 # values in child directories. Only variables that don't conflict with
601 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
603 X11_FLAGS_TO_PASS = \
604 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
605 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
607 # Flags to pass down to makes which are built with the target environment.
608 # The double $ decreases the length of the command line; the variables
609 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
610 EXTRA_TARGET_FLAGS = \
611 'AR=$$(AR_FOR_TARGET)' \
612 'AS=$$(AS_FOR_TARGET)' \
613 'CC=$$(CC_FOR_TARGET)' \
614 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
615 'CXX=$$(CXX_FOR_TARGET)' \
616 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
617 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
618 'LD=$$(LD_FOR_TARGET)' \
619 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
620 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
621 'NM=$$(NM_FOR_TARGET)' \
622 'RANLIB=$$(RANLIB_FOR_TARGET)' \
623 'WINDRES=$$(WINDRES_FOR_TARGET)'
625 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
627 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
628 # unfortunately needs the native compiler and the target ar and
630 # If any variables are added here, they must be added to do-*, below.
631 # The BUILD_* variables are a special case, which are used for the gcc
632 # cross-building scheme.
634 'BUILD_PREFIX=$(BUILD_PREFIX)' \
635 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
636 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
637 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
638 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
648 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
650 .PHONY: configure-host
652 maybe-configure-ash \
653 maybe-configure-autoconf \
654 maybe-configure-automake \
655 maybe-configure-bash \
656 maybe-configure-bfd \
657 maybe-configure-opcodes \
658 maybe-configure-binutils \
659 maybe-configure-bison \
660 maybe-configure-byacc \
661 maybe-configure-bzip2 \
662 maybe-configure-dejagnu \
663 maybe-configure-diff \
664 maybe-configure-dosutils \
665 maybe-configure-etc \
666 maybe-configure-fastjar \
667 maybe-configure-fileutils \
668 maybe-configure-findutils \
669 maybe-configure-find \
670 maybe-configure-flex \
671 maybe-configure-gas \
672 maybe-configure-gcc \
673 maybe-configure-gawk \
674 maybe-configure-gettext \
675 maybe-configure-gnuserv \
676 maybe-configure-gprof \
677 maybe-configure-gzip \
678 maybe-configure-hello \
679 maybe-configure-indent \
680 maybe-configure-intl \
681 maybe-configure-tcl \
682 maybe-configure-itcl \
684 maybe-configure-libcpp \
685 maybe-configure-libgui \
686 maybe-configure-libiberty \
687 maybe-configure-libtool \
689 maybe-configure-make \
690 maybe-configure-mmalloc \
691 maybe-configure-patch \
692 maybe-configure-perl \
693 maybe-configure-prms \
694 maybe-configure-rcs \
695 maybe-configure-readline \
696 maybe-configure-release \
697 maybe-configure-recode \
698 maybe-configure-sed \
699 maybe-configure-send-pr \
700 maybe-configure-shellutils \
701 maybe-configure-sid \
702 maybe-configure-sim \
703 maybe-configure-tar \
704 maybe-configure-texinfo \
705 maybe-configure-textutils \
706 maybe-configure-time \
707 maybe-configure-uudecode \
708 maybe-configure-wdiff \
709 maybe-configure-zip \
710 maybe-configure-zlib \
711 maybe-configure-gdb \
712 maybe-configure-expect \
713 maybe-configure-guile \
715 maybe-configure-libtermcap \
716 maybe-configure-utils
717 .PHONY: configure-target
719 maybe-configure-target-libstdc++-v3 \
720 maybe-configure-target-libmudflap \
721 maybe-configure-target-newlib \
722 maybe-configure-target-libgfortran \
723 maybe-configure-target-libobjc \
724 maybe-configure-target-libtermcap \
725 maybe-configure-target-winsup \
726 maybe-configure-target-libgloss \
727 maybe-configure-target-libiberty \
728 maybe-configure-target-gperf \
729 maybe-configure-target-examples \
730 maybe-configure-target-libffi \
731 maybe-configure-target-libjava \
732 maybe-configure-target-zlib \
733 maybe-configure-target-boehm-gc \
734 maybe-configure-target-qthreads \
735 maybe-configure-target-rda \
736 maybe-configure-target-libada
738 # The target built for a native non-bootstrap build.
740 all: unstage all-host all-target stage
744 maybe-all-build-libiberty \
745 maybe-all-build-bison \
746 maybe-all-build-byacc \
747 maybe-all-build-flex \
749 maybe-all-build-texinfo \
750 maybe-all-build-fixincludes
768 maybe-all-fileutils \
769 maybe-all-findutils \
787 maybe-all-libiberty \
801 maybe-all-shellutils \
806 maybe-all-textutils \
816 maybe-all-libtermcap \
820 maybe-all-target-libstdc++-v3 \
821 maybe-all-target-libmudflap \
822 maybe-all-target-newlib \
823 maybe-all-target-libgfortran \
824 maybe-all-target-libobjc \
825 maybe-all-target-libtermcap \
826 maybe-all-target-winsup \
827 maybe-all-target-libgloss \
828 maybe-all-target-libiberty \
829 maybe-all-target-gperf \
830 maybe-all-target-examples \
831 maybe-all-target-libffi \
832 maybe-all-target-libjava \
833 maybe-all-target-zlib \
834 maybe-all-target-boehm-gc \
835 maybe-all-target-qthreads \
836 maybe-all-target-rda \
837 maybe-all-target-libada
839 # Do a target for all the subdirectories. A ``make do-X'' will do a
840 # ``make X'' in all subdirectories (because, in general, there is a
841 # dependency (below) of X upon do-X, a ``make X'' will also do this,
842 # but it may do additional work as well).
845 do-info: unstage info-host info-target stage
850 maybe-info-autoconf \
851 maybe-info-automake \
855 maybe-info-binutils \
861 maybe-info-dosutils \
864 maybe-info-fileutils \
865 maybe-info-findutils \
883 maybe-info-libiberty \
892 maybe-info-readline \
897 maybe-info-shellutils \
902 maybe-info-textutils \
904 maybe-info-uudecode \
912 maybe-info-libtermcap \
917 maybe-info-target-libstdc++-v3 \
918 maybe-info-target-libmudflap \
919 maybe-info-target-newlib \
920 maybe-info-target-libgfortran \
921 maybe-info-target-libobjc \
922 maybe-info-target-libtermcap \
923 maybe-info-target-winsup \
924 maybe-info-target-libgloss \
925 maybe-info-target-libiberty \
926 maybe-info-target-gperf \
927 maybe-info-target-examples \
928 maybe-info-target-libffi \
929 maybe-info-target-libjava \
930 maybe-info-target-zlib \
931 maybe-info-target-boehm-gc \
932 maybe-info-target-qthreads \
933 maybe-info-target-rda \
934 maybe-info-target-libada
937 do-dvi: unstage dvi-host dvi-target stage
956 maybe-dvi-fileutils \
957 maybe-dvi-findutils \
975 maybe-dvi-libiberty \
989 maybe-dvi-shellutils \
994 maybe-dvi-textutils \
1004 maybe-dvi-libtermcap \
1009 maybe-dvi-target-libstdc++-v3 \
1010 maybe-dvi-target-libmudflap \
1011 maybe-dvi-target-newlib \
1012 maybe-dvi-target-libgfortran \
1013 maybe-dvi-target-libobjc \
1014 maybe-dvi-target-libtermcap \
1015 maybe-dvi-target-winsup \
1016 maybe-dvi-target-libgloss \
1017 maybe-dvi-target-libiberty \
1018 maybe-dvi-target-gperf \
1019 maybe-dvi-target-examples \
1020 maybe-dvi-target-libffi \
1021 maybe-dvi-target-libjava \
1022 maybe-dvi-target-zlib \
1023 maybe-dvi-target-boehm-gc \
1024 maybe-dvi-target-qthreads \
1025 maybe-dvi-target-rda \
1026 maybe-dvi-target-libada
1029 do-TAGS: unstage TAGS-host TAGS-target stage
1034 maybe-TAGS-autoconf \
1035 maybe-TAGS-automake \
1038 maybe-TAGS-opcodes \
1039 maybe-TAGS-binutils \
1043 maybe-TAGS-dejagnu \
1045 maybe-TAGS-dosutils \
1047 maybe-TAGS-fastjar \
1048 maybe-TAGS-fileutils \
1049 maybe-TAGS-findutils \
1055 maybe-TAGS-gettext \
1056 maybe-TAGS-gnuserv \
1067 maybe-TAGS-libiberty \
1068 maybe-TAGS-libtool \
1071 maybe-TAGS-mmalloc \
1076 maybe-TAGS-readline \
1077 maybe-TAGS-release \
1080 maybe-TAGS-send-pr \
1081 maybe-TAGS-shellutils \
1085 maybe-TAGS-texinfo \
1086 maybe-TAGS-textutils \
1088 maybe-TAGS-uudecode \
1096 maybe-TAGS-libtermcap \
1101 maybe-TAGS-target-libstdc++-v3 \
1102 maybe-TAGS-target-libmudflap \
1103 maybe-TAGS-target-newlib \
1104 maybe-TAGS-target-libgfortran \
1105 maybe-TAGS-target-libobjc \
1106 maybe-TAGS-target-libtermcap \
1107 maybe-TAGS-target-winsup \
1108 maybe-TAGS-target-libgloss \
1109 maybe-TAGS-target-libiberty \
1110 maybe-TAGS-target-gperf \
1111 maybe-TAGS-target-examples \
1112 maybe-TAGS-target-libffi \
1113 maybe-TAGS-target-libjava \
1114 maybe-TAGS-target-zlib \
1115 maybe-TAGS-target-boehm-gc \
1116 maybe-TAGS-target-qthreads \
1117 maybe-TAGS-target-rda \
1118 maybe-TAGS-target-libada
1120 .PHONY: do-install-info
1121 do-install-info: unstage install-info-host install-info-target stage
1123 .PHONY: install-info-host
1124 install-info-host: \
1125 maybe-install-info-ash \
1126 maybe-install-info-autoconf \
1127 maybe-install-info-automake \
1128 maybe-install-info-bash \
1129 maybe-install-info-bfd \
1130 maybe-install-info-opcodes \
1131 maybe-install-info-binutils \
1132 maybe-install-info-bison \
1133 maybe-install-info-byacc \
1134 maybe-install-info-bzip2 \
1135 maybe-install-info-dejagnu \
1136 maybe-install-info-diff \
1137 maybe-install-info-dosutils \
1138 maybe-install-info-etc \
1139 maybe-install-info-fastjar \
1140 maybe-install-info-fileutils \
1141 maybe-install-info-findutils \
1142 maybe-install-info-find \
1143 maybe-install-info-flex \
1144 maybe-install-info-gas \
1145 maybe-install-info-gcc \
1146 maybe-install-info-gawk \
1147 maybe-install-info-gettext \
1148 maybe-install-info-gnuserv \
1149 maybe-install-info-gprof \
1150 maybe-install-info-gzip \
1151 maybe-install-info-hello \
1152 maybe-install-info-indent \
1153 maybe-install-info-intl \
1154 maybe-install-info-tcl \
1155 maybe-install-info-itcl \
1156 maybe-install-info-ld \
1157 maybe-install-info-libcpp \
1158 maybe-install-info-libgui \
1159 maybe-install-info-libiberty \
1160 maybe-install-info-libtool \
1161 maybe-install-info-m4 \
1162 maybe-install-info-make \
1163 maybe-install-info-mmalloc \
1164 maybe-install-info-patch \
1165 maybe-install-info-perl \
1166 maybe-install-info-prms \
1167 maybe-install-info-rcs \
1168 maybe-install-info-readline \
1169 maybe-install-info-release \
1170 maybe-install-info-recode \
1171 maybe-install-info-sed \
1172 maybe-install-info-send-pr \
1173 maybe-install-info-shellutils \
1174 maybe-install-info-sid \
1175 maybe-install-info-sim \
1176 maybe-install-info-tar \
1177 maybe-install-info-texinfo \
1178 maybe-install-info-textutils \
1179 maybe-install-info-time \
1180 maybe-install-info-uudecode \
1181 maybe-install-info-wdiff \
1182 maybe-install-info-zip \
1183 maybe-install-info-zlib \
1184 maybe-install-info-gdb \
1185 maybe-install-info-expect \
1186 maybe-install-info-guile \
1187 maybe-install-info-tk \
1188 maybe-install-info-libtermcap \
1189 maybe-install-info-utils
1191 .PHONY: install-info-target
1192 install-info-target: \
1193 maybe-install-info-target-libstdc++-v3 \
1194 maybe-install-info-target-libmudflap \
1195 maybe-install-info-target-newlib \
1196 maybe-install-info-target-libgfortran \
1197 maybe-install-info-target-libobjc \
1198 maybe-install-info-target-libtermcap \
1199 maybe-install-info-target-winsup \
1200 maybe-install-info-target-libgloss \
1201 maybe-install-info-target-libiberty \
1202 maybe-install-info-target-gperf \
1203 maybe-install-info-target-examples \
1204 maybe-install-info-target-libffi \
1205 maybe-install-info-target-libjava \
1206 maybe-install-info-target-zlib \
1207 maybe-install-info-target-boehm-gc \
1208 maybe-install-info-target-qthreads \
1209 maybe-install-info-target-rda \
1210 maybe-install-info-target-libada
1212 .PHONY: do-installcheck
1213 do-installcheck: unstage installcheck-host installcheck-target stage
1215 .PHONY: installcheck-host
1216 installcheck-host: \
1217 maybe-installcheck-ash \
1218 maybe-installcheck-autoconf \
1219 maybe-installcheck-automake \
1220 maybe-installcheck-bash \
1221 maybe-installcheck-bfd \
1222 maybe-installcheck-opcodes \
1223 maybe-installcheck-binutils \
1224 maybe-installcheck-bison \
1225 maybe-installcheck-byacc \
1226 maybe-installcheck-bzip2 \
1227 maybe-installcheck-dejagnu \
1228 maybe-installcheck-diff \
1229 maybe-installcheck-dosutils \
1230 maybe-installcheck-etc \
1231 maybe-installcheck-fastjar \
1232 maybe-installcheck-fileutils \
1233 maybe-installcheck-findutils \
1234 maybe-installcheck-find \
1235 maybe-installcheck-flex \
1236 maybe-installcheck-gas \
1237 maybe-installcheck-gcc \
1238 maybe-installcheck-gawk \
1239 maybe-installcheck-gettext \
1240 maybe-installcheck-gnuserv \
1241 maybe-installcheck-gprof \
1242 maybe-installcheck-gzip \
1243 maybe-installcheck-hello \
1244 maybe-installcheck-indent \
1245 maybe-installcheck-intl \
1246 maybe-installcheck-tcl \
1247 maybe-installcheck-itcl \
1248 maybe-installcheck-ld \
1249 maybe-installcheck-libcpp \
1250 maybe-installcheck-libgui \
1251 maybe-installcheck-libiberty \
1252 maybe-installcheck-libtool \
1253 maybe-installcheck-m4 \
1254 maybe-installcheck-make \
1255 maybe-installcheck-mmalloc \
1256 maybe-installcheck-patch \
1257 maybe-installcheck-perl \
1258 maybe-installcheck-prms \
1259 maybe-installcheck-rcs \
1260 maybe-installcheck-readline \
1261 maybe-installcheck-release \
1262 maybe-installcheck-recode \
1263 maybe-installcheck-sed \
1264 maybe-installcheck-send-pr \
1265 maybe-installcheck-shellutils \
1266 maybe-installcheck-sid \
1267 maybe-installcheck-sim \
1268 maybe-installcheck-tar \
1269 maybe-installcheck-texinfo \
1270 maybe-installcheck-textutils \
1271 maybe-installcheck-time \
1272 maybe-installcheck-uudecode \
1273 maybe-installcheck-wdiff \
1274 maybe-installcheck-zip \
1275 maybe-installcheck-zlib \
1276 maybe-installcheck-gdb \
1277 maybe-installcheck-expect \
1278 maybe-installcheck-guile \
1279 maybe-installcheck-tk \
1280 maybe-installcheck-libtermcap \
1281 maybe-installcheck-utils
1283 .PHONY: installcheck-target
1284 installcheck-target: \
1285 maybe-installcheck-target-libstdc++-v3 \
1286 maybe-installcheck-target-libmudflap \
1287 maybe-installcheck-target-newlib \
1288 maybe-installcheck-target-libgfortran \
1289 maybe-installcheck-target-libobjc \
1290 maybe-installcheck-target-libtermcap \
1291 maybe-installcheck-target-winsup \
1292 maybe-installcheck-target-libgloss \
1293 maybe-installcheck-target-libiberty \
1294 maybe-installcheck-target-gperf \
1295 maybe-installcheck-target-examples \
1296 maybe-installcheck-target-libffi \
1297 maybe-installcheck-target-libjava \
1298 maybe-installcheck-target-zlib \
1299 maybe-installcheck-target-boehm-gc \
1300 maybe-installcheck-target-qthreads \
1301 maybe-installcheck-target-rda \
1302 maybe-installcheck-target-libada
1304 .PHONY: do-mostlyclean
1305 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1307 .PHONY: mostlyclean-host
1309 maybe-mostlyclean-ash \
1310 maybe-mostlyclean-autoconf \
1311 maybe-mostlyclean-automake \
1312 maybe-mostlyclean-bash \
1313 maybe-mostlyclean-bfd \
1314 maybe-mostlyclean-opcodes \
1315 maybe-mostlyclean-binutils \
1316 maybe-mostlyclean-bison \
1317 maybe-mostlyclean-byacc \
1318 maybe-mostlyclean-bzip2 \
1319 maybe-mostlyclean-dejagnu \
1320 maybe-mostlyclean-diff \
1321 maybe-mostlyclean-dosutils \
1322 maybe-mostlyclean-etc \
1323 maybe-mostlyclean-fastjar \
1324 maybe-mostlyclean-fileutils \
1325 maybe-mostlyclean-findutils \
1326 maybe-mostlyclean-find \
1327 maybe-mostlyclean-flex \
1328 maybe-mostlyclean-gas \
1329 maybe-mostlyclean-gcc \
1330 maybe-mostlyclean-gawk \
1331 maybe-mostlyclean-gettext \
1332 maybe-mostlyclean-gnuserv \
1333 maybe-mostlyclean-gprof \
1334 maybe-mostlyclean-gzip \
1335 maybe-mostlyclean-hello \
1336 maybe-mostlyclean-indent \
1337 maybe-mostlyclean-intl \
1338 maybe-mostlyclean-tcl \
1339 maybe-mostlyclean-itcl \
1340 maybe-mostlyclean-ld \
1341 maybe-mostlyclean-libcpp \
1342 maybe-mostlyclean-libgui \
1343 maybe-mostlyclean-libiberty \
1344 maybe-mostlyclean-libtool \
1345 maybe-mostlyclean-m4 \
1346 maybe-mostlyclean-make \
1347 maybe-mostlyclean-mmalloc \
1348 maybe-mostlyclean-patch \
1349 maybe-mostlyclean-perl \
1350 maybe-mostlyclean-prms \
1351 maybe-mostlyclean-rcs \
1352 maybe-mostlyclean-readline \
1353 maybe-mostlyclean-release \
1354 maybe-mostlyclean-recode \
1355 maybe-mostlyclean-sed \
1356 maybe-mostlyclean-send-pr \
1357 maybe-mostlyclean-shellutils \
1358 maybe-mostlyclean-sid \
1359 maybe-mostlyclean-sim \
1360 maybe-mostlyclean-tar \
1361 maybe-mostlyclean-texinfo \
1362 maybe-mostlyclean-textutils \
1363 maybe-mostlyclean-time \
1364 maybe-mostlyclean-uudecode \
1365 maybe-mostlyclean-wdiff \
1366 maybe-mostlyclean-zip \
1367 maybe-mostlyclean-zlib \
1368 maybe-mostlyclean-gdb \
1369 maybe-mostlyclean-expect \
1370 maybe-mostlyclean-guile \
1371 maybe-mostlyclean-tk \
1372 maybe-mostlyclean-libtermcap \
1373 maybe-mostlyclean-utils
1375 .PHONY: mostlyclean-target
1376 mostlyclean-target: \
1377 maybe-mostlyclean-target-libstdc++-v3 \
1378 maybe-mostlyclean-target-libmudflap \
1379 maybe-mostlyclean-target-newlib \
1380 maybe-mostlyclean-target-libgfortran \
1381 maybe-mostlyclean-target-libobjc \
1382 maybe-mostlyclean-target-libtermcap \
1383 maybe-mostlyclean-target-winsup \
1384 maybe-mostlyclean-target-libgloss \
1385 maybe-mostlyclean-target-libiberty \
1386 maybe-mostlyclean-target-gperf \
1387 maybe-mostlyclean-target-examples \
1388 maybe-mostlyclean-target-libffi \
1389 maybe-mostlyclean-target-libjava \
1390 maybe-mostlyclean-target-zlib \
1391 maybe-mostlyclean-target-boehm-gc \
1392 maybe-mostlyclean-target-qthreads \
1393 maybe-mostlyclean-target-rda \
1394 maybe-mostlyclean-target-libada
1397 do-clean: unstage clean-host clean-target stage
1402 maybe-clean-autoconf \
1403 maybe-clean-automake \
1406 maybe-clean-opcodes \
1407 maybe-clean-binutils \
1411 maybe-clean-dejagnu \
1413 maybe-clean-dosutils \
1415 maybe-clean-fastjar \
1416 maybe-clean-fileutils \
1417 maybe-clean-findutils \
1423 maybe-clean-gettext \
1424 maybe-clean-gnuserv \
1428 maybe-clean-indent \
1433 maybe-clean-libcpp \
1434 maybe-clean-libgui \
1435 maybe-clean-libiberty \
1436 maybe-clean-libtool \
1439 maybe-clean-mmalloc \
1444 maybe-clean-readline \
1445 maybe-clean-release \
1446 maybe-clean-recode \
1448 maybe-clean-send-pr \
1449 maybe-clean-shellutils \
1453 maybe-clean-texinfo \
1454 maybe-clean-textutils \
1456 maybe-clean-uudecode \
1461 maybe-clean-expect \
1464 maybe-clean-libtermcap \
1467 .PHONY: clean-target
1469 maybe-clean-target-libstdc++-v3 \
1470 maybe-clean-target-libmudflap \
1471 maybe-clean-target-newlib \
1472 maybe-clean-target-libgfortran \
1473 maybe-clean-target-libobjc \
1474 maybe-clean-target-libtermcap \
1475 maybe-clean-target-winsup \
1476 maybe-clean-target-libgloss \
1477 maybe-clean-target-libiberty \
1478 maybe-clean-target-gperf \
1479 maybe-clean-target-examples \
1480 maybe-clean-target-libffi \
1481 maybe-clean-target-libjava \
1482 maybe-clean-target-zlib \
1483 maybe-clean-target-boehm-gc \
1484 maybe-clean-target-qthreads \
1485 maybe-clean-target-rda \
1486 maybe-clean-target-libada
1488 .PHONY: do-distclean
1489 do-distclean: unstage distclean-host distclean-target stage
1491 .PHONY: distclean-host
1493 maybe-distclean-ash \
1494 maybe-distclean-autoconf \
1495 maybe-distclean-automake \
1496 maybe-distclean-bash \
1497 maybe-distclean-bfd \
1498 maybe-distclean-opcodes \
1499 maybe-distclean-binutils \
1500 maybe-distclean-bison \
1501 maybe-distclean-byacc \
1502 maybe-distclean-bzip2 \
1503 maybe-distclean-dejagnu \
1504 maybe-distclean-diff \
1505 maybe-distclean-dosutils \
1506 maybe-distclean-etc \
1507 maybe-distclean-fastjar \
1508 maybe-distclean-fileutils \
1509 maybe-distclean-findutils \
1510 maybe-distclean-find \
1511 maybe-distclean-flex \
1512 maybe-distclean-gas \
1513 maybe-distclean-gcc \
1514 maybe-distclean-gawk \
1515 maybe-distclean-gettext \
1516 maybe-distclean-gnuserv \
1517 maybe-distclean-gprof \
1518 maybe-distclean-gzip \
1519 maybe-distclean-hello \
1520 maybe-distclean-indent \
1521 maybe-distclean-intl \
1522 maybe-distclean-tcl \
1523 maybe-distclean-itcl \
1524 maybe-distclean-ld \
1525 maybe-distclean-libcpp \
1526 maybe-distclean-libgui \
1527 maybe-distclean-libiberty \
1528 maybe-distclean-libtool \
1529 maybe-distclean-m4 \
1530 maybe-distclean-make \
1531 maybe-distclean-mmalloc \
1532 maybe-distclean-patch \
1533 maybe-distclean-perl \
1534 maybe-distclean-prms \
1535 maybe-distclean-rcs \
1536 maybe-distclean-readline \
1537 maybe-distclean-release \
1538 maybe-distclean-recode \
1539 maybe-distclean-sed \
1540 maybe-distclean-send-pr \
1541 maybe-distclean-shellutils \
1542 maybe-distclean-sid \
1543 maybe-distclean-sim \
1544 maybe-distclean-tar \
1545 maybe-distclean-texinfo \
1546 maybe-distclean-textutils \
1547 maybe-distclean-time \
1548 maybe-distclean-uudecode \
1549 maybe-distclean-wdiff \
1550 maybe-distclean-zip \
1551 maybe-distclean-zlib \
1552 maybe-distclean-gdb \
1553 maybe-distclean-expect \
1554 maybe-distclean-guile \
1555 maybe-distclean-tk \
1556 maybe-distclean-libtermcap \
1557 maybe-distclean-utils
1559 .PHONY: distclean-target
1561 maybe-distclean-target-libstdc++-v3 \
1562 maybe-distclean-target-libmudflap \
1563 maybe-distclean-target-newlib \
1564 maybe-distclean-target-libgfortran \
1565 maybe-distclean-target-libobjc \
1566 maybe-distclean-target-libtermcap \
1567 maybe-distclean-target-winsup \
1568 maybe-distclean-target-libgloss \
1569 maybe-distclean-target-libiberty \
1570 maybe-distclean-target-gperf \
1571 maybe-distclean-target-examples \
1572 maybe-distclean-target-libffi \
1573 maybe-distclean-target-libjava \
1574 maybe-distclean-target-zlib \
1575 maybe-distclean-target-boehm-gc \
1576 maybe-distclean-target-qthreads \
1577 maybe-distclean-target-rda \
1578 maybe-distclean-target-libada
1580 .PHONY: do-maintainer-clean
1581 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1583 .PHONY: maintainer-clean-host
1584 maintainer-clean-host: \
1585 maybe-maintainer-clean-ash \
1586 maybe-maintainer-clean-autoconf \
1587 maybe-maintainer-clean-automake \
1588 maybe-maintainer-clean-bash \
1589 maybe-maintainer-clean-bfd \
1590 maybe-maintainer-clean-opcodes \
1591 maybe-maintainer-clean-binutils \
1592 maybe-maintainer-clean-bison \
1593 maybe-maintainer-clean-byacc \
1594 maybe-maintainer-clean-bzip2 \
1595 maybe-maintainer-clean-dejagnu \
1596 maybe-maintainer-clean-diff \
1597 maybe-maintainer-clean-dosutils \
1598 maybe-maintainer-clean-etc \
1599 maybe-maintainer-clean-fastjar \
1600 maybe-maintainer-clean-fileutils \
1601 maybe-maintainer-clean-findutils \
1602 maybe-maintainer-clean-find \
1603 maybe-maintainer-clean-flex \
1604 maybe-maintainer-clean-gas \
1605 maybe-maintainer-clean-gcc \
1606 maybe-maintainer-clean-gawk \
1607 maybe-maintainer-clean-gettext \
1608 maybe-maintainer-clean-gnuserv \
1609 maybe-maintainer-clean-gprof \
1610 maybe-maintainer-clean-gzip \
1611 maybe-maintainer-clean-hello \
1612 maybe-maintainer-clean-indent \
1613 maybe-maintainer-clean-intl \
1614 maybe-maintainer-clean-tcl \
1615 maybe-maintainer-clean-itcl \
1616 maybe-maintainer-clean-ld \
1617 maybe-maintainer-clean-libcpp \
1618 maybe-maintainer-clean-libgui \
1619 maybe-maintainer-clean-libiberty \
1620 maybe-maintainer-clean-libtool \
1621 maybe-maintainer-clean-m4 \
1622 maybe-maintainer-clean-make \
1623 maybe-maintainer-clean-mmalloc \
1624 maybe-maintainer-clean-patch \
1625 maybe-maintainer-clean-perl \
1626 maybe-maintainer-clean-prms \
1627 maybe-maintainer-clean-rcs \
1628 maybe-maintainer-clean-readline \
1629 maybe-maintainer-clean-release \
1630 maybe-maintainer-clean-recode \
1631 maybe-maintainer-clean-sed \
1632 maybe-maintainer-clean-send-pr \
1633 maybe-maintainer-clean-shellutils \
1634 maybe-maintainer-clean-sid \
1635 maybe-maintainer-clean-sim \
1636 maybe-maintainer-clean-tar \
1637 maybe-maintainer-clean-texinfo \
1638 maybe-maintainer-clean-textutils \
1639 maybe-maintainer-clean-time \
1640 maybe-maintainer-clean-uudecode \
1641 maybe-maintainer-clean-wdiff \
1642 maybe-maintainer-clean-zip \
1643 maybe-maintainer-clean-zlib \
1644 maybe-maintainer-clean-gdb \
1645 maybe-maintainer-clean-expect \
1646 maybe-maintainer-clean-guile \
1647 maybe-maintainer-clean-tk \
1648 maybe-maintainer-clean-libtermcap \
1649 maybe-maintainer-clean-utils
1651 .PHONY: maintainer-clean-target
1652 maintainer-clean-target: \
1653 maybe-maintainer-clean-target-libstdc++-v3 \
1654 maybe-maintainer-clean-target-libmudflap \
1655 maybe-maintainer-clean-target-newlib \
1656 maybe-maintainer-clean-target-libgfortran \
1657 maybe-maintainer-clean-target-libobjc \
1658 maybe-maintainer-clean-target-libtermcap \
1659 maybe-maintainer-clean-target-winsup \
1660 maybe-maintainer-clean-target-libgloss \
1661 maybe-maintainer-clean-target-libiberty \
1662 maybe-maintainer-clean-target-gperf \
1663 maybe-maintainer-clean-target-examples \
1664 maybe-maintainer-clean-target-libffi \
1665 maybe-maintainer-clean-target-libjava \
1666 maybe-maintainer-clean-target-zlib \
1667 maybe-maintainer-clean-target-boehm-gc \
1668 maybe-maintainer-clean-target-qthreads \
1669 maybe-maintainer-clean-target-rda \
1670 maybe-maintainer-clean-target-libada
1673 # Here are the targets which correspond to the do-X targets.
1675 .PHONY: info installcheck dvi install-info
1676 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1677 .PHONY: local-clean local-distclean local-maintainer-clean
1679 installcheck: do-installcheck
1682 # Make sure makeinfo is built before we do a `make info', if we're
1683 # in fact building texinfo.
1684 do-info: maybe-all-texinfo
1686 install-info: do-install-info dir.info
1687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1688 if [ -f dir.info ] ; then \
1689 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1693 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1696 -rm -f Makefile config.status config.cache mh-frag mt-frag
1697 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1698 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1699 rm -rf $(TARGET_SUBDIR); \
1701 -rm -rf $(BUILD_SUBDIR)
1702 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1703 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1704 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1705 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1706 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1708 local-maintainer-clean:
1709 @echo "This command is intended for maintainers to use;"
1710 @echo "it deletes files that may require special tools to rebuild."
1712 clean: do-clean local-clean
1713 mostlyclean: do-mostlyclean local-clean
1714 distclean: do-distclean local-clean local-distclean
1715 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1716 maintainer-clean: local-distclean
1717 realclean: maintainer-clean
1719 # Extra dependency for clean-target, owing to the mixed nature of gcc
1720 clean-target: clean-target-libgcc
1721 clean-target-libgcc:
1722 test ! -d gcc/libgcc || \
1723 (cd gcc/libgcc && find . -type d -print) | \
1724 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1729 .PHONY: check do-check
1732 # Only include modules actually being configured and built.
1735 maybe-check-autoconf \
1736 maybe-check-automake \
1739 maybe-check-opcodes \
1740 maybe-check-binutils \
1744 maybe-check-dejagnu \
1746 maybe-check-dosutils \
1748 maybe-check-fastjar \
1749 maybe-check-fileutils \
1750 maybe-check-findutils \
1756 maybe-check-gettext \
1757 maybe-check-gnuserv \
1761 maybe-check-indent \
1766 maybe-check-libcpp \
1767 maybe-check-libgui \
1768 maybe-check-libiberty \
1769 maybe-check-libtool \
1772 maybe-check-mmalloc \
1777 maybe-check-readline \
1778 maybe-check-release \
1779 maybe-check-recode \
1781 maybe-check-send-pr \
1782 maybe-check-shellutils \
1786 maybe-check-texinfo \
1787 maybe-check-textutils \
1789 maybe-check-uudecode \
1794 maybe-check-expect \
1797 maybe-check-libtermcap \
1799 maybe-check-target-libstdc++-v3 \
1800 maybe-check-target-libmudflap \
1801 maybe-check-target-newlib \
1802 maybe-check-target-libgfortran \
1803 maybe-check-target-libobjc \
1804 maybe-check-target-libtermcap \
1805 maybe-check-target-winsup \
1806 maybe-check-target-libgloss \
1807 maybe-check-target-libiberty \
1808 maybe-check-target-gperf \
1809 maybe-check-target-examples \
1810 maybe-check-target-libffi \
1811 maybe-check-target-libjava \
1812 maybe-check-target-zlib \
1813 maybe-check-target-boehm-gc \
1814 maybe-check-target-qthreads \
1815 maybe-check-target-rda \
1816 maybe-check-target-libada stage
1818 # Automated reporting of test results.
1820 warning.log: build.log
1821 $(srcdir)/contrib/warn_summary build.log > $@
1824 if test x'$(BOOT_CFLAGS)' != x''; then \
1825 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1827 $(srcdir)/contrib/test_summary -t >$@
1829 echo If you really want to send e-mail, run ./$@ now
1831 mail-report-with-warnings.log: warning.log
1832 if test x'$(BOOT_CFLAGS)' != x''; then \
1833 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1835 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1837 echo If you really want to send e-mail, run ./$@ now
1839 # Installation targets.
1841 .PHONY: install uninstall
1842 install: installdirs install-host install-target
1844 .PHONY: install-host-nogcc
1845 install-host-nogcc: \
1847 maybe-install-autoconf \
1848 maybe-install-automake \
1849 maybe-install-bash \
1851 maybe-install-opcodes \
1852 maybe-install-binutils \
1853 maybe-install-bison \
1854 maybe-install-byacc \
1855 maybe-install-bzip2 \
1856 maybe-install-dejagnu \
1857 maybe-install-diff \
1858 maybe-install-dosutils \
1860 maybe-install-fastjar \
1861 maybe-install-fileutils \
1862 maybe-install-findutils \
1863 maybe-install-find \
1864 maybe-install-flex \
1866 maybe-install-gawk \
1867 maybe-install-gettext \
1868 maybe-install-gnuserv \
1869 maybe-install-gprof \
1870 maybe-install-gzip \
1871 maybe-install-hello \
1872 maybe-install-indent \
1873 maybe-install-intl \
1875 maybe-install-itcl \
1877 maybe-install-libcpp \
1878 maybe-install-libgui \
1879 maybe-install-libiberty \
1880 maybe-install-libtool \
1882 maybe-install-make \
1883 maybe-install-mmalloc \
1884 maybe-install-patch \
1885 maybe-install-perl \
1886 maybe-install-prms \
1888 maybe-install-readline \
1889 maybe-install-release \
1890 maybe-install-recode \
1892 maybe-install-send-pr \
1893 maybe-install-shellutils \
1897 maybe-install-texinfo \
1898 maybe-install-textutils \
1899 maybe-install-time \
1900 maybe-install-uudecode \
1901 maybe-install-wdiff \
1903 maybe-install-zlib \
1905 maybe-install-expect \
1906 maybe-install-guile \
1908 maybe-install-libtermcap \
1911 .PHONY: install-host
1914 maybe-install-autoconf \
1915 maybe-install-automake \
1916 maybe-install-bash \
1918 maybe-install-opcodes \
1919 maybe-install-binutils \
1920 maybe-install-bison \
1921 maybe-install-byacc \
1922 maybe-install-bzip2 \
1923 maybe-install-dejagnu \
1924 maybe-install-diff \
1925 maybe-install-dosutils \
1927 maybe-install-fastjar \
1928 maybe-install-fileutils \
1929 maybe-install-findutils \
1930 maybe-install-find \
1931 maybe-install-flex \
1934 maybe-install-gawk \
1935 maybe-install-gettext \
1936 maybe-install-gnuserv \
1937 maybe-install-gprof \
1938 maybe-install-gzip \
1939 maybe-install-hello \
1940 maybe-install-indent \
1941 maybe-install-intl \
1943 maybe-install-itcl \
1945 maybe-install-libcpp \
1946 maybe-install-libgui \
1947 maybe-install-libiberty \
1948 maybe-install-libtool \
1950 maybe-install-make \
1951 maybe-install-mmalloc \
1952 maybe-install-patch \
1953 maybe-install-perl \
1954 maybe-install-prms \
1956 maybe-install-readline \
1957 maybe-install-release \
1958 maybe-install-recode \
1960 maybe-install-send-pr \
1961 maybe-install-shellutils \
1965 maybe-install-texinfo \
1966 maybe-install-textutils \
1967 maybe-install-time \
1968 maybe-install-uudecode \
1969 maybe-install-wdiff \
1971 maybe-install-zlib \
1973 maybe-install-expect \
1974 maybe-install-guile \
1976 maybe-install-libtermcap \
1979 .PHONY: install-target
1981 maybe-install-target-libstdc++-v3 \
1982 maybe-install-target-libmudflap \
1983 maybe-install-target-newlib \
1984 maybe-install-target-libgfortran \
1985 maybe-install-target-libobjc \
1986 maybe-install-target-libtermcap \
1987 maybe-install-target-winsup \
1988 maybe-install-target-libgloss \
1989 maybe-install-target-libiberty \
1990 maybe-install-target-gperf \
1991 maybe-install-target-examples \
1992 maybe-install-target-libffi \
1993 maybe-install-target-libjava \
1994 maybe-install-target-zlib \
1995 maybe-install-target-boehm-gc \
1996 maybe-install-target-qthreads \
1997 maybe-install-target-rda \
1998 maybe-install-target-libada
2001 @echo "the uninstall target is not supported in this tree"
2004 install.all: install-no-fixedincludes
2005 @if [ -f ./gcc/Makefile ] ; then \
2006 r=`${PWD_COMMAND}` ; export r ; \
2010 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2015 # install-no-fixedincludes is used because Cygnus can not distribute
2016 # the fixed header files.
2017 .PHONY: install-no-fixedincludes
2018 install-no-fixedincludes: installdirs install-host-nogcc \
2019 install-target gcc-no-fixedincludes
2021 ### other supporting targets
2024 $(DESTDIR)$(prefix) \
2025 $(DESTDIR)$(exec_prefix)
2027 installdirs: mkinstalldirs
2028 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2030 dir.info: do-install-info
2031 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2032 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2033 mv -f dir.info.new dir.info ; \
2038 @echo "Building a full distribution of this tree isn't done"
2039 @echo "via 'make dist'. Check out the etc/ subdirectory"
2043 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2044 # ability to use several tags files at once, so there is probably no need
2045 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2046 # (if we felt like it) have this Makefile write a piece of elisp which
2047 # the user could load to tell emacs19 where all the TAGS files we just
2051 # --------------------------------------
2052 # Modules which run on the build machine
2053 # --------------------------------------
2055 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2056 maybe-configure-build-libiberty:
2058 maybe-configure-build-libiberty: configure-build-libiberty
2059 configure-build-libiberty:
2060 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2061 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2062 r=`${PWD_COMMAND}`; export r; \
2063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2065 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2066 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2068 /* | [A-Za-z]:[\\/]*) \
2069 topdir=$(srcdir) ;; \
2071 case "$(BUILD_SUBDIR)" in \
2072 .) topdir="../$(srcdir)" ;; \
2073 *) topdir="../../$(srcdir)" ;; \
2076 if [ "$(srcdir)" = "." ] ; then \
2077 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2078 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2079 if [ -f Makefile ]; then \
2080 if $(MAKE) distclean; then \
2094 srcdiroption="--srcdir=."; \
2097 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2098 libsrcdir="$$s/libiberty"; \
2100 rm -f no-such-file || : ; \
2101 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2102 $(BUILD_CONFIGARGS) $${srcdiroption} \
2103 --with-build-subdir="$(BUILD_SUBDIR)" \
2105 @endif build-libiberty
2107 .PHONY: all-build-libiberty maybe-all-build-libiberty
2108 maybe-all-build-libiberty:
2110 TARGET-build-libiberty=all
2111 maybe-all-build-libiberty: all-build-libiberty
2112 all-build-libiberty: configure-build-libiberty
2113 @r=`${PWD_COMMAND}`; export r; \
2114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2116 (cd $(BUILD_SUBDIR)/libiberty && \
2117 $(MAKE) $(TARGET-build-libiberty))
2118 @endif build-libiberty
2120 .PHONY: configure-build-bison maybe-configure-build-bison
2121 maybe-configure-build-bison:
2123 maybe-configure-build-bison: configure-build-bison
2124 configure-build-bison:
2125 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2126 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2127 r=`${PWD_COMMAND}`; export r; \
2128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2130 echo Configuring in $(BUILD_SUBDIR)/bison; \
2131 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2133 /* | [A-Za-z]:[\\/]*) \
2134 topdir=$(srcdir) ;; \
2136 case "$(BUILD_SUBDIR)" in \
2137 .) topdir="../$(srcdir)" ;; \
2138 *) topdir="../../$(srcdir)" ;; \
2141 if [ "$(srcdir)" = "." ] ; then \
2142 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2143 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2144 if [ -f Makefile ]; then \
2145 if $(MAKE) distclean; then \
2159 srcdiroption="--srcdir=."; \
2162 srcdiroption="--srcdir=$${topdir}/bison"; \
2163 libsrcdir="$$s/bison"; \
2165 rm -f no-such-file || : ; \
2166 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2167 $(BUILD_CONFIGARGS) $${srcdiroption} \
2168 --with-build-subdir="$(BUILD_SUBDIR)" \
2172 .PHONY: all-build-bison maybe-all-build-bison
2173 maybe-all-build-bison:
2175 TARGET-build-bison=all
2176 maybe-all-build-bison: all-build-bison
2177 all-build-bison: configure-build-bison
2178 @r=`${PWD_COMMAND}`; export r; \
2179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2181 (cd $(BUILD_SUBDIR)/bison && \
2182 $(MAKE) $(TARGET-build-bison))
2185 .PHONY: configure-build-byacc maybe-configure-build-byacc
2186 maybe-configure-build-byacc:
2188 maybe-configure-build-byacc: configure-build-byacc
2189 configure-build-byacc:
2190 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2191 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2192 r=`${PWD_COMMAND}`; export r; \
2193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2195 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2196 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2198 /* | [A-Za-z]:[\\/]*) \
2199 topdir=$(srcdir) ;; \
2201 case "$(BUILD_SUBDIR)" in \
2202 .) topdir="../$(srcdir)" ;; \
2203 *) topdir="../../$(srcdir)" ;; \
2206 if [ "$(srcdir)" = "." ] ; then \
2207 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2208 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2209 if [ -f Makefile ]; then \
2210 if $(MAKE) distclean; then \
2224 srcdiroption="--srcdir=."; \
2227 srcdiroption="--srcdir=$${topdir}/byacc"; \
2228 libsrcdir="$$s/byacc"; \
2230 rm -f no-such-file || : ; \
2231 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2232 $(BUILD_CONFIGARGS) $${srcdiroption} \
2233 --with-build-subdir="$(BUILD_SUBDIR)" \
2237 .PHONY: all-build-byacc maybe-all-build-byacc
2238 maybe-all-build-byacc:
2240 TARGET-build-byacc=all
2241 maybe-all-build-byacc: all-build-byacc
2242 all-build-byacc: configure-build-byacc
2243 @r=`${PWD_COMMAND}`; export r; \
2244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2246 (cd $(BUILD_SUBDIR)/byacc && \
2247 $(MAKE) $(TARGET-build-byacc))
2250 .PHONY: configure-build-flex maybe-configure-build-flex
2251 maybe-configure-build-flex:
2253 maybe-configure-build-flex: configure-build-flex
2254 configure-build-flex:
2255 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2256 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2257 r=`${PWD_COMMAND}`; export r; \
2258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2260 echo Configuring in $(BUILD_SUBDIR)/flex; \
2261 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2263 /* | [A-Za-z]:[\\/]*) \
2264 topdir=$(srcdir) ;; \
2266 case "$(BUILD_SUBDIR)" in \
2267 .) topdir="../$(srcdir)" ;; \
2268 *) topdir="../../$(srcdir)" ;; \
2271 if [ "$(srcdir)" = "." ] ; then \
2272 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2273 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2274 if [ -f Makefile ]; then \
2275 if $(MAKE) distclean; then \
2289 srcdiroption="--srcdir=."; \
2292 srcdiroption="--srcdir=$${topdir}/flex"; \
2293 libsrcdir="$$s/flex"; \
2295 rm -f no-such-file || : ; \
2296 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2297 $(BUILD_CONFIGARGS) $${srcdiroption} \
2298 --with-build-subdir="$(BUILD_SUBDIR)" \
2302 .PHONY: all-build-flex maybe-all-build-flex
2303 maybe-all-build-flex:
2305 TARGET-build-flex=all
2306 maybe-all-build-flex: all-build-flex
2307 all-build-flex: configure-build-flex
2308 @r=`${PWD_COMMAND}`; export r; \
2309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2311 (cd $(BUILD_SUBDIR)/flex && \
2312 $(MAKE) $(TARGET-build-flex))
2315 .PHONY: configure-build-m4 maybe-configure-build-m4
2316 maybe-configure-build-m4:
2318 maybe-configure-build-m4: configure-build-m4
2320 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2321 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2322 r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2325 echo Configuring in $(BUILD_SUBDIR)/m4; \
2326 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2328 /* | [A-Za-z]:[\\/]*) \
2329 topdir=$(srcdir) ;; \
2331 case "$(BUILD_SUBDIR)" in \
2332 .) topdir="../$(srcdir)" ;; \
2333 *) topdir="../../$(srcdir)" ;; \
2336 if [ "$(srcdir)" = "." ] ; then \
2337 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2338 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2339 if [ -f Makefile ]; then \
2340 if $(MAKE) distclean; then \
2354 srcdiroption="--srcdir=."; \
2357 srcdiroption="--srcdir=$${topdir}/m4"; \
2358 libsrcdir="$$s/m4"; \
2360 rm -f no-such-file || : ; \
2361 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2362 $(BUILD_CONFIGARGS) $${srcdiroption} \
2363 --with-build-subdir="$(BUILD_SUBDIR)" \
2367 .PHONY: all-build-m4 maybe-all-build-m4
2371 maybe-all-build-m4: all-build-m4
2372 all-build-m4: configure-build-m4
2373 @r=`${PWD_COMMAND}`; export r; \
2374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2376 (cd $(BUILD_SUBDIR)/m4 && \
2377 $(MAKE) $(TARGET-build-m4))
2380 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2381 maybe-configure-build-texinfo:
2383 maybe-configure-build-texinfo: configure-build-texinfo
2384 configure-build-texinfo:
2385 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2386 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2387 r=`${PWD_COMMAND}`; export r; \
2388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2391 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2393 /* | [A-Za-z]:[\\/]*) \
2394 topdir=$(srcdir) ;; \
2396 case "$(BUILD_SUBDIR)" in \
2397 .) topdir="../$(srcdir)" ;; \
2398 *) topdir="../../$(srcdir)" ;; \
2401 if [ "$(srcdir)" = "." ] ; then \
2402 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2403 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2404 if [ -f Makefile ]; then \
2405 if $(MAKE) distclean; then \
2419 srcdiroption="--srcdir=."; \
2422 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2423 libsrcdir="$$s/texinfo"; \
2425 rm -f no-such-file || : ; \
2426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2427 $(BUILD_CONFIGARGS) $${srcdiroption} \
2428 --with-build-subdir="$(BUILD_SUBDIR)" \
2430 @endif build-texinfo
2432 .PHONY: all-build-texinfo maybe-all-build-texinfo
2433 maybe-all-build-texinfo:
2435 TARGET-build-texinfo=all
2436 maybe-all-build-texinfo: all-build-texinfo
2437 all-build-texinfo: configure-build-texinfo
2438 @r=`${PWD_COMMAND}`; export r; \
2439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2441 (cd $(BUILD_SUBDIR)/texinfo && \
2442 $(MAKE) $(TARGET-build-texinfo))
2443 @endif build-texinfo
2445 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2446 maybe-configure-build-fixincludes:
2447 @if build-fixincludes
2448 maybe-configure-build-fixincludes: configure-build-fixincludes
2449 configure-build-fixincludes:
2450 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2451 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2452 r=`${PWD_COMMAND}`; export r; \
2453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2455 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2456 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2458 /* | [A-Za-z]:[\\/]*) \
2459 topdir=$(srcdir) ;; \
2461 case "$(BUILD_SUBDIR)" in \
2462 .) topdir="../$(srcdir)" ;; \
2463 *) topdir="../../$(srcdir)" ;; \
2466 if [ "$(srcdir)" = "." ] ; then \
2467 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2468 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2469 if [ -f Makefile ]; then \
2470 if $(MAKE) distclean; then \
2484 srcdiroption="--srcdir=."; \
2487 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2488 libsrcdir="$$s/fixincludes"; \
2490 rm -f no-such-file || : ; \
2491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2492 $(BUILD_CONFIGARGS) $${srcdiroption} \
2493 --with-build-subdir="$(BUILD_SUBDIR)" \
2495 @endif build-fixincludes
2497 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2498 maybe-all-build-fixincludes:
2499 @if build-fixincludes
2500 TARGET-build-fixincludes=all
2501 maybe-all-build-fixincludes: all-build-fixincludes
2502 all-build-fixincludes: configure-build-fixincludes
2503 @r=`${PWD_COMMAND}`; export r; \
2504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2506 (cd $(BUILD_SUBDIR)/fixincludes && \
2507 $(MAKE) $(TARGET-build-fixincludes))
2508 @endif build-fixincludes
2511 # --------------------------------------
2512 # Modules which run on the host machine
2513 # --------------------------------------
2515 .PHONY: configure-ash maybe-configure-ash
2516 maybe-configure-ash:
2518 maybe-configure-ash: configure-ash
2520 @test ! -f ash/Makefile || exit 0; \
2521 [ -d ash ] || mkdir ash; \
2522 r=`${PWD_COMMAND}`; export r; \
2523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2525 echo Configuring in ash; \
2529 srcdiroption="--srcdir=."; \
2531 /* | [A-Za-z]:[\\/]*) \
2532 srcdiroption="--srcdir=$(srcdir)/ash"; \
2533 libsrcdir="$$s/ash";; \
2535 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2536 libsrcdir="$$s/ash";; \
2538 $(SHELL) $${libsrcdir}/configure \
2539 $(HOST_CONFIGARGS) $${srcdiroption} \
2543 .PHONY: all-ash maybe-all-ash
2547 maybe-all-ash: all-ash
2548 all-ash: configure-ash
2549 @r=`${PWD_COMMAND}`; export r; \
2550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2553 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2557 .PHONY: check-ash maybe-check-ash
2560 maybe-check-ash: check-ash
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2567 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2571 .PHONY: install-ash maybe-install-ash
2574 maybe-install-ash: install-ash
2576 install-ash: installdirs
2577 @r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2581 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2585 # Other targets (info, dvi, etc.)
2587 .PHONY: maybe-info-ash info-ash
2590 maybe-info-ash: info-ash
2594 @[ -f ./ash/Makefile ] || exit 0; \
2595 r=`${PWD_COMMAND}`; export r; \
2596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2599 for flag in $(EXTRA_HOST_FLAGS) ; do \
2600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2602 echo "Doing info in ash" ; \
2604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2606 "RANLIB=$${RANLIB}" \
2607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2613 .PHONY: maybe-dvi-ash dvi-ash
2616 maybe-dvi-ash: dvi-ash
2620 @[ -f ./ash/Makefile ] || exit 0; \
2621 r=`${PWD_COMMAND}`; export r; \
2622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2625 for flag in $(EXTRA_HOST_FLAGS) ; do \
2626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2628 echo "Doing dvi in ash" ; \
2630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2632 "RANLIB=$${RANLIB}" \
2633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2639 .PHONY: maybe-TAGS-ash TAGS-ash
2642 maybe-TAGS-ash: TAGS-ash
2646 @[ -f ./ash/Makefile ] || exit 0; \
2647 r=`${PWD_COMMAND}`; export r; \
2648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2651 for flag in $(EXTRA_HOST_FLAGS) ; do \
2652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2654 echo "Doing TAGS in ash" ; \
2656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2658 "RANLIB=$${RANLIB}" \
2659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2665 .PHONY: maybe-install-info-ash install-info-ash
2666 maybe-install-info-ash:
2668 maybe-install-info-ash: install-info-ash
2673 @[ -f ./ash/Makefile ] || exit 0; \
2674 r=`${PWD_COMMAND}`; export r; \
2675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2678 for flag in $(EXTRA_HOST_FLAGS) ; do \
2679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2681 echo "Doing install-info in ash" ; \
2683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2685 "RANLIB=$${RANLIB}" \
2686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2692 .PHONY: maybe-installcheck-ash installcheck-ash
2693 maybe-installcheck-ash:
2695 maybe-installcheck-ash: installcheck-ash
2699 @[ -f ./ash/Makefile ] || exit 0; \
2700 r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2704 for flag in $(EXTRA_HOST_FLAGS) ; do \
2705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2707 echo "Doing installcheck in ash" ; \
2709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2711 "RANLIB=$${RANLIB}" \
2712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2718 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2719 maybe-mostlyclean-ash:
2721 maybe-mostlyclean-ash: mostlyclean-ash
2724 @[ -f ./ash/Makefile ] || exit 0; \
2725 r=`${PWD_COMMAND}`; export r; \
2726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2729 for flag in $(EXTRA_HOST_FLAGS) ; do \
2730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2732 echo "Doing mostlyclean in ash" ; \
2734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2736 "RANLIB=$${RANLIB}" \
2737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2743 .PHONY: maybe-clean-ash clean-ash
2746 maybe-clean-ash: clean-ash
2749 @[ -f ./ash/Makefile ] || exit 0; \
2750 r=`${PWD_COMMAND}`; export r; \
2751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2754 for flag in $(EXTRA_HOST_FLAGS) ; do \
2755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2757 echo "Doing clean in ash" ; \
2759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2761 "RANLIB=$${RANLIB}" \
2762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2768 .PHONY: maybe-distclean-ash distclean-ash
2769 maybe-distclean-ash:
2771 maybe-distclean-ash: distclean-ash
2774 @[ -f ./ash/Makefile ] || exit 0; \
2775 r=`${PWD_COMMAND}`; export r; \
2776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2779 for flag in $(EXTRA_HOST_FLAGS) ; do \
2780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2782 echo "Doing distclean in ash" ; \
2784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2786 "RANLIB=$${RANLIB}" \
2787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2793 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2794 maybe-maintainer-clean-ash:
2796 maybe-maintainer-clean-ash: maintainer-clean-ash
2798 maintainer-clean-ash:
2799 @[ -f ./ash/Makefile ] || exit 0; \
2800 r=`${PWD_COMMAND}`; export r; \
2801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804 for flag in $(EXTRA_HOST_FLAGS) ; do \
2805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2807 echo "Doing maintainer-clean in ash" ; \
2809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2811 "RANLIB=$${RANLIB}" \
2812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2819 .PHONY: configure-autoconf maybe-configure-autoconf
2820 maybe-configure-autoconf:
2822 maybe-configure-autoconf: configure-autoconf
2824 @test ! -f autoconf/Makefile || exit 0; \
2825 [ -d autoconf ] || mkdir autoconf; \
2826 r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2829 echo Configuring in autoconf; \
2830 cd autoconf || exit 1; \
2833 srcdiroption="--srcdir=."; \
2835 /* | [A-Za-z]:[\\/]*) \
2836 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2837 libsrcdir="$$s/autoconf";; \
2839 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2840 libsrcdir="$$s/autoconf";; \
2842 $(SHELL) $${libsrcdir}/configure \
2843 $(HOST_CONFIGARGS) $${srcdiroption} \
2847 .PHONY: all-autoconf maybe-all-autoconf
2851 maybe-all-autoconf: all-autoconf
2852 all-autoconf: configure-autoconf
2853 @r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2857 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2861 .PHONY: check-autoconf maybe-check-autoconf
2862 maybe-check-autoconf:
2864 maybe-check-autoconf: check-autoconf
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2871 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2875 .PHONY: install-autoconf maybe-install-autoconf
2876 maybe-install-autoconf:
2878 maybe-install-autoconf: install-autoconf
2880 install-autoconf: installdirs
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2889 # Other targets (info, dvi, etc.)
2891 .PHONY: maybe-info-autoconf info-autoconf
2892 maybe-info-autoconf:
2894 maybe-info-autoconf: info-autoconf
2898 @[ -f ./autoconf/Makefile ] || exit 0; \
2899 r=`${PWD_COMMAND}`; export r; \
2900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 for flag in $(EXTRA_HOST_FLAGS) ; do \
2904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2906 echo "Doing info in autoconf" ; \
2908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2910 "RANLIB=$${RANLIB}" \
2911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2917 .PHONY: maybe-dvi-autoconf dvi-autoconf
2920 maybe-dvi-autoconf: dvi-autoconf
2924 @[ -f ./autoconf/Makefile ] || exit 0; \
2925 r=`${PWD_COMMAND}`; export r; \
2926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2929 for flag in $(EXTRA_HOST_FLAGS) ; do \
2930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2932 echo "Doing dvi in autoconf" ; \
2934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2936 "RANLIB=$${RANLIB}" \
2937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2943 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2944 maybe-TAGS-autoconf:
2946 maybe-TAGS-autoconf: TAGS-autoconf
2950 @[ -f ./autoconf/Makefile ] || exit 0; \
2951 r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2955 for flag in $(EXTRA_HOST_FLAGS) ; do \
2956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2958 echo "Doing TAGS in autoconf" ; \
2960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2962 "RANLIB=$${RANLIB}" \
2963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2969 .PHONY: maybe-install-info-autoconf install-info-autoconf
2970 maybe-install-info-autoconf:
2972 maybe-install-info-autoconf: install-info-autoconf
2974 install-info-autoconf: \
2975 configure-autoconf \
2977 @[ -f ./autoconf/Makefile ] || exit 0; \
2978 r=`${PWD_COMMAND}`; export r; \
2979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982 for flag in $(EXTRA_HOST_FLAGS) ; do \
2983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2985 echo "Doing install-info in autoconf" ; \
2987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2989 "RANLIB=$${RANLIB}" \
2990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2996 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2997 maybe-installcheck-autoconf:
2999 maybe-installcheck-autoconf: installcheck-autoconf
3001 installcheck-autoconf: \
3003 @[ -f ./autoconf/Makefile ] || exit 0; \
3004 r=`${PWD_COMMAND}`; export r; \
3005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3008 for flag in $(EXTRA_HOST_FLAGS) ; do \
3009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3011 echo "Doing installcheck in autoconf" ; \
3013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3015 "RANLIB=$${RANLIB}" \
3016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3022 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3023 maybe-mostlyclean-autoconf:
3025 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3027 mostlyclean-autoconf:
3028 @[ -f ./autoconf/Makefile ] || exit 0; \
3029 r=`${PWD_COMMAND}`; export r; \
3030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3033 for flag in $(EXTRA_HOST_FLAGS) ; do \
3034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3036 echo "Doing mostlyclean in autoconf" ; \
3038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3040 "RANLIB=$${RANLIB}" \
3041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3047 .PHONY: maybe-clean-autoconf clean-autoconf
3048 maybe-clean-autoconf:
3050 maybe-clean-autoconf: clean-autoconf
3053 @[ -f ./autoconf/Makefile ] || exit 0; \
3054 r=`${PWD_COMMAND}`; export r; \
3055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3058 for flag in $(EXTRA_HOST_FLAGS) ; do \
3059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3061 echo "Doing clean in autoconf" ; \
3063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3065 "RANLIB=$${RANLIB}" \
3066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3072 .PHONY: maybe-distclean-autoconf distclean-autoconf
3073 maybe-distclean-autoconf:
3075 maybe-distclean-autoconf: distclean-autoconf
3078 @[ -f ./autoconf/Makefile ] || exit 0; \
3079 r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 for flag in $(EXTRA_HOST_FLAGS) ; do \
3084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3086 echo "Doing distclean in autoconf" ; \
3088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3090 "RANLIB=$${RANLIB}" \
3091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3097 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3098 maybe-maintainer-clean-autoconf:
3100 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3102 maintainer-clean-autoconf:
3103 @[ -f ./autoconf/Makefile ] || exit 0; \
3104 r=`${PWD_COMMAND}`; export r; \
3105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3108 for flag in $(EXTRA_HOST_FLAGS) ; do \
3109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3111 echo "Doing maintainer-clean in autoconf" ; \
3113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3115 "RANLIB=$${RANLIB}" \
3116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3123 .PHONY: configure-automake maybe-configure-automake
3124 maybe-configure-automake:
3126 maybe-configure-automake: configure-automake
3128 @test ! -f automake/Makefile || exit 0; \
3129 [ -d automake ] || mkdir automake; \
3130 r=`${PWD_COMMAND}`; export r; \
3131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133 echo Configuring in automake; \
3134 cd automake || exit 1; \
3137 srcdiroption="--srcdir=."; \
3139 /* | [A-Za-z]:[\\/]*) \
3140 srcdiroption="--srcdir=$(srcdir)/automake"; \
3141 libsrcdir="$$s/automake";; \
3143 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3144 libsrcdir="$$s/automake";; \
3146 $(SHELL) $${libsrcdir}/configure \
3147 $(HOST_CONFIGARGS) $${srcdiroption} \
3151 .PHONY: all-automake maybe-all-automake
3155 maybe-all-automake: all-automake
3156 all-automake: configure-automake
3157 @r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3161 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3165 .PHONY: check-automake maybe-check-automake
3166 maybe-check-automake:
3168 maybe-check-automake: check-automake
3171 @r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3175 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3179 .PHONY: install-automake maybe-install-automake
3180 maybe-install-automake:
3182 maybe-install-automake: install-automake
3184 install-automake: installdirs
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3189 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3193 # Other targets (info, dvi, etc.)
3195 .PHONY: maybe-info-automake info-automake
3196 maybe-info-automake:
3198 maybe-info-automake: info-automake
3202 @[ -f ./automake/Makefile ] || exit 0; \
3203 r=`${PWD_COMMAND}`; export r; \
3204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3207 for flag in $(EXTRA_HOST_FLAGS) ; do \
3208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3210 echo "Doing info in automake" ; \
3212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3214 "RANLIB=$${RANLIB}" \
3215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3221 .PHONY: maybe-dvi-automake dvi-automake
3224 maybe-dvi-automake: dvi-automake
3228 @[ -f ./automake/Makefile ] || exit 0; \
3229 r=`${PWD_COMMAND}`; export r; \
3230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3233 for flag in $(EXTRA_HOST_FLAGS) ; do \
3234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3236 echo "Doing dvi in automake" ; \
3238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3240 "RANLIB=$${RANLIB}" \
3241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3247 .PHONY: maybe-TAGS-automake TAGS-automake
3248 maybe-TAGS-automake:
3250 maybe-TAGS-automake: TAGS-automake
3254 @[ -f ./automake/Makefile ] || exit 0; \
3255 r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3259 for flag in $(EXTRA_HOST_FLAGS) ; do \
3260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3262 echo "Doing TAGS in automake" ; \
3264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3266 "RANLIB=$${RANLIB}" \
3267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3273 .PHONY: maybe-install-info-automake install-info-automake
3274 maybe-install-info-automake:
3276 maybe-install-info-automake: install-info-automake
3278 install-info-automake: \
3279 configure-automake \
3281 @[ -f ./automake/Makefile ] || exit 0; \
3282 r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3286 for flag in $(EXTRA_HOST_FLAGS) ; do \
3287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3289 echo "Doing install-info in automake" ; \
3291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3293 "RANLIB=$${RANLIB}" \
3294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3300 .PHONY: maybe-installcheck-automake installcheck-automake
3301 maybe-installcheck-automake:
3303 maybe-installcheck-automake: installcheck-automake
3305 installcheck-automake: \
3307 @[ -f ./automake/Makefile ] || exit 0; \
3308 r=`${PWD_COMMAND}`; export r; \
3309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3312 for flag in $(EXTRA_HOST_FLAGS) ; do \
3313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3315 echo "Doing installcheck in automake" ; \
3317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3319 "RANLIB=$${RANLIB}" \
3320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3326 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3327 maybe-mostlyclean-automake:
3329 maybe-mostlyclean-automake: mostlyclean-automake
3331 mostlyclean-automake:
3332 @[ -f ./automake/Makefile ] || exit 0; \
3333 r=`${PWD_COMMAND}`; export r; \
3334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 for flag in $(EXTRA_HOST_FLAGS) ; do \
3338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3340 echo "Doing mostlyclean in automake" ; \
3342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3344 "RANLIB=$${RANLIB}" \
3345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3351 .PHONY: maybe-clean-automake clean-automake
3352 maybe-clean-automake:
3354 maybe-clean-automake: clean-automake
3357 @[ -f ./automake/Makefile ] || exit 0; \
3358 r=`${PWD_COMMAND}`; export r; \
3359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3362 for flag in $(EXTRA_HOST_FLAGS) ; do \
3363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3365 echo "Doing clean in automake" ; \
3367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3369 "RANLIB=$${RANLIB}" \
3370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3376 .PHONY: maybe-distclean-automake distclean-automake
3377 maybe-distclean-automake:
3379 maybe-distclean-automake: distclean-automake
3382 @[ -f ./automake/Makefile ] || exit 0; \
3383 r=`${PWD_COMMAND}`; export r; \
3384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3387 for flag in $(EXTRA_HOST_FLAGS) ; do \
3388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3390 echo "Doing distclean in automake" ; \
3392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3394 "RANLIB=$${RANLIB}" \
3395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3401 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3402 maybe-maintainer-clean-automake:
3404 maybe-maintainer-clean-automake: maintainer-clean-automake
3406 maintainer-clean-automake:
3407 @[ -f ./automake/Makefile ] || exit 0; \
3408 r=`${PWD_COMMAND}`; export r; \
3409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3412 for flag in $(EXTRA_HOST_FLAGS) ; do \
3413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3415 echo "Doing maintainer-clean in automake" ; \
3417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3419 "RANLIB=$${RANLIB}" \
3420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3427 .PHONY: configure-bash maybe-configure-bash
3428 maybe-configure-bash:
3430 maybe-configure-bash: configure-bash
3432 @test ! -f bash/Makefile || exit 0; \
3433 [ -d bash ] || mkdir bash; \
3434 r=`${PWD_COMMAND}`; export r; \
3435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 echo Configuring in bash; \
3438 cd bash || exit 1; \
3441 srcdiroption="--srcdir=."; \
3443 /* | [A-Za-z]:[\\/]*) \
3444 srcdiroption="--srcdir=$(srcdir)/bash"; \
3445 libsrcdir="$$s/bash";; \
3447 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3448 libsrcdir="$$s/bash";; \
3450 $(SHELL) $${libsrcdir}/configure \
3451 $(HOST_CONFIGARGS) $${srcdiroption} \
3455 .PHONY: all-bash maybe-all-bash
3459 maybe-all-bash: all-bash
3460 all-bash: configure-bash
3461 @r=`${PWD_COMMAND}`; export r; \
3462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3465 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3469 .PHONY: check-bash maybe-check-bash
3472 maybe-check-bash: check-bash
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3479 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3483 .PHONY: install-bash maybe-install-bash
3486 maybe-install-bash: install-bash
3488 install-bash: installdirs
3489 @r=`${PWD_COMMAND}`; export r; \
3490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3497 # Other targets (info, dvi, etc.)
3499 .PHONY: maybe-info-bash info-bash
3502 maybe-info-bash: info-bash
3506 @[ -f ./bash/Makefile ] || exit 0; \
3507 r=`${PWD_COMMAND}`; export r; \
3508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 for flag in $(EXTRA_HOST_FLAGS) ; do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3514 echo "Doing info in bash" ; \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3525 .PHONY: maybe-dvi-bash dvi-bash
3528 maybe-dvi-bash: dvi-bash
3532 @[ -f ./bash/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3540 echo "Doing dvi in bash" ; \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3551 .PHONY: maybe-TAGS-bash TAGS-bash
3554 maybe-TAGS-bash: TAGS-bash
3558 @[ -f ./bash/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3563 for flag in $(EXTRA_HOST_FLAGS) ; do \
3564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3566 echo "Doing TAGS in bash" ; \
3568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3570 "RANLIB=$${RANLIB}" \
3571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3577 .PHONY: maybe-install-info-bash install-info-bash
3578 maybe-install-info-bash:
3580 maybe-install-info-bash: install-info-bash
3582 install-info-bash: \
3585 @[ -f ./bash/Makefile ] || exit 0; \
3586 r=`${PWD_COMMAND}`; export r; \
3587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3590 for flag in $(EXTRA_HOST_FLAGS) ; do \
3591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3593 echo "Doing install-info in bash" ; \
3595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3597 "RANLIB=$${RANLIB}" \
3598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3604 .PHONY: maybe-installcheck-bash installcheck-bash
3605 maybe-installcheck-bash:
3607 maybe-installcheck-bash: installcheck-bash
3609 installcheck-bash: \
3611 @[ -f ./bash/Makefile ] || exit 0; \
3612 r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3616 for flag in $(EXTRA_HOST_FLAGS) ; do \
3617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3619 echo "Doing installcheck in bash" ; \
3621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3623 "RANLIB=$${RANLIB}" \
3624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3630 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3631 maybe-mostlyclean-bash:
3633 maybe-mostlyclean-bash: mostlyclean-bash
3636 @[ -f ./bash/Makefile ] || exit 0; \
3637 r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 for flag in $(EXTRA_HOST_FLAGS) ; do \
3642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3644 echo "Doing mostlyclean in bash" ; \
3646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3648 "RANLIB=$${RANLIB}" \
3649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3655 .PHONY: maybe-clean-bash clean-bash
3658 maybe-clean-bash: clean-bash
3661 @[ -f ./bash/Makefile ] || exit 0; \
3662 r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 for flag in $(EXTRA_HOST_FLAGS) ; do \
3667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669 echo "Doing clean in bash" ; \
3671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3673 "RANLIB=$${RANLIB}" \
3674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3680 .PHONY: maybe-distclean-bash distclean-bash
3681 maybe-distclean-bash:
3683 maybe-distclean-bash: distclean-bash
3686 @[ -f ./bash/Makefile ] || exit 0; \
3687 r=`${PWD_COMMAND}`; export r; \
3688 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" ; \
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; \
3716 for flag in $(EXTRA_HOST_FLAGS) ; do \
3717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3719 echo "Doing maintainer-clean in bash" ; \
3721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3723 "RANLIB=$${RANLIB}" \
3724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3731 .PHONY: configure-bfd maybe-configure-bfd
3732 maybe-configure-bfd:
3734 maybe-configure-bfd: configure-bfd
3736 @test -f stage_last && exit 0; \
3737 test ! -f bfd/Makefile || exit 0; \
3738 [ -d bfd ] || mkdir bfd; \
3739 r=`${PWD_COMMAND}`; export r; \
3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3742 echo Configuring in bfd; \
3746 srcdiroption="--srcdir=."; \
3748 /* | [A-Za-z]:[\\/]*) \
3749 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3750 libsrcdir="$$s/bfd";; \
3752 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3753 libsrcdir="$$s/bfd";; \
3755 $(SHELL) $${libsrcdir}/configure \
3756 $(HOST_CONFIGARGS) $${srcdiroption} \
3760 .PHONY: all-bfd maybe-all-bfd
3764 maybe-all-bfd: all-bfd
3765 all-bfd: configure-bfd
3766 @test -f stage_last && exit 0; \
3767 r=`${PWD_COMMAND}`; export r; \
3768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3771 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3775 .PHONY: check-bfd maybe-check-bfd
3778 maybe-check-bfd: check-bfd
3781 @r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3785 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3789 .PHONY: install-bfd maybe-install-bfd
3792 maybe-install-bfd: install-bfd
3794 install-bfd: installdirs
3795 @r=`${PWD_COMMAND}`; export r; \
3796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3799 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3803 # Other targets (info, dvi, etc.)
3805 .PHONY: maybe-info-bfd info-bfd
3808 maybe-info-bfd: info-bfd
3812 @[ -f ./bfd/Makefile ] || exit 0; \
3813 r=`${PWD_COMMAND}`; export r; \
3814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3817 for flag in $(EXTRA_HOST_FLAGS) ; do \
3818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3820 echo "Doing info in bfd" ; \
3822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3824 "RANLIB=$${RANLIB}" \
3825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3831 .PHONY: maybe-dvi-bfd dvi-bfd
3834 maybe-dvi-bfd: dvi-bfd
3838 @[ -f ./bfd/Makefile ] || exit 0; \
3839 r=`${PWD_COMMAND}`; export r; \
3840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3843 for flag in $(EXTRA_HOST_FLAGS) ; do \
3844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3846 echo "Doing dvi in bfd" ; \
3848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3850 "RANLIB=$${RANLIB}" \
3851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3857 .PHONY: maybe-TAGS-bfd TAGS-bfd
3860 maybe-TAGS-bfd: TAGS-bfd
3864 @[ -f ./bfd/Makefile ] || exit 0; \
3865 r=`${PWD_COMMAND}`; export r; \
3866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869 for flag in $(EXTRA_HOST_FLAGS) ; do \
3870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3872 echo "Doing TAGS in bfd" ; \
3874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3876 "RANLIB=$${RANLIB}" \
3877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3883 .PHONY: maybe-install-info-bfd install-info-bfd
3884 maybe-install-info-bfd:
3886 maybe-install-info-bfd: install-info-bfd
3891 @[ -f ./bfd/Makefile ] || exit 0; \
3892 r=`${PWD_COMMAND}`; export r; \
3893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 for flag in $(EXTRA_HOST_FLAGS) ; do \
3897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3899 echo "Doing install-info in bfd" ; \
3901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3903 "RANLIB=$${RANLIB}" \
3904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3910 .PHONY: maybe-installcheck-bfd installcheck-bfd
3911 maybe-installcheck-bfd:
3913 maybe-installcheck-bfd: installcheck-bfd
3917 @[ -f ./bfd/Makefile ] || exit 0; \
3918 r=`${PWD_COMMAND}`; export r; \
3919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3922 for flag in $(EXTRA_HOST_FLAGS) ; do \
3923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3925 echo "Doing installcheck in bfd" ; \
3927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3929 "RANLIB=$${RANLIB}" \
3930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3936 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3937 maybe-mostlyclean-bfd:
3939 maybe-mostlyclean-bfd: mostlyclean-bfd
3942 @[ -f ./bfd/Makefile ] || exit 0; \
3943 r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947 for flag in $(EXTRA_HOST_FLAGS) ; do \
3948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3950 echo "Doing mostlyclean in bfd" ; \
3952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3954 "RANLIB=$${RANLIB}" \
3955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3961 .PHONY: maybe-clean-bfd clean-bfd
3964 maybe-clean-bfd: clean-bfd
3967 @[ -f ./bfd/Makefile ] || exit 0; \
3968 r=`${PWD_COMMAND}`; export r; \
3969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3972 for flag in $(EXTRA_HOST_FLAGS) ; do \
3973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3975 echo "Doing clean in bfd" ; \
3977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3979 "RANLIB=$${RANLIB}" \
3980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3986 .PHONY: maybe-distclean-bfd distclean-bfd
3987 maybe-distclean-bfd:
3989 maybe-distclean-bfd: distclean-bfd
3992 @[ -f ./bfd/Makefile ] || exit 0; \
3993 r=`${PWD_COMMAND}`; export r; \
3994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3997 for flag in $(EXTRA_HOST_FLAGS) ; do \
3998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4000 echo "Doing distclean in bfd" ; \
4002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4004 "RANLIB=$${RANLIB}" \
4005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4011 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4012 maybe-maintainer-clean-bfd:
4014 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4016 maintainer-clean-bfd:
4017 @[ -f ./bfd/Makefile ] || exit 0; \
4018 r=`${PWD_COMMAND}`; export r; \
4019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4022 for flag in $(EXTRA_HOST_FLAGS) ; do \
4023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4025 echo "Doing maintainer-clean in bfd" ; \
4027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4029 "RANLIB=$${RANLIB}" \
4030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4037 .PHONY: configure-opcodes maybe-configure-opcodes
4038 maybe-configure-opcodes:
4040 maybe-configure-opcodes: configure-opcodes
4042 @test -f stage_last && exit 0; \
4043 test ! -f opcodes/Makefile || exit 0; \
4044 [ -d opcodes ] || mkdir opcodes; \
4045 r=`${PWD_COMMAND}`; export r; \
4046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4048 echo Configuring in opcodes; \
4049 cd opcodes || exit 1; \
4052 srcdiroption="--srcdir=."; \
4054 /* | [A-Za-z]:[\\/]*) \
4055 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4056 libsrcdir="$$s/opcodes";; \
4058 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4059 libsrcdir="$$s/opcodes";; \
4061 $(SHELL) $${libsrcdir}/configure \
4062 $(HOST_CONFIGARGS) $${srcdiroption} \
4066 .PHONY: all-opcodes maybe-all-opcodes
4070 maybe-all-opcodes: all-opcodes
4071 all-opcodes: configure-opcodes
4072 @test -f stage_last && exit 0; \
4073 r=`${PWD_COMMAND}`; export r; \
4074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4077 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4081 .PHONY: check-opcodes maybe-check-opcodes
4082 maybe-check-opcodes:
4084 maybe-check-opcodes: check-opcodes
4087 @r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4095 .PHONY: install-opcodes maybe-install-opcodes
4096 maybe-install-opcodes:
4098 maybe-install-opcodes: install-opcodes
4100 install-opcodes: installdirs
4101 @r=`${PWD_COMMAND}`; export r; \
4102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4105 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4109 # Other targets (info, dvi, etc.)
4111 .PHONY: maybe-info-opcodes info-opcodes
4114 maybe-info-opcodes: info-opcodes
4118 @[ -f ./opcodes/Makefile ] || exit 0; \
4119 r=`${PWD_COMMAND}`; export r; \
4120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4123 for flag in $(EXTRA_HOST_FLAGS) ; do \
4124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4126 echo "Doing info in opcodes" ; \
4128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4130 "RANLIB=$${RANLIB}" \
4131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4137 .PHONY: maybe-dvi-opcodes dvi-opcodes
4140 maybe-dvi-opcodes: dvi-opcodes
4144 @[ -f ./opcodes/Makefile ] || exit 0; \
4145 r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4149 for flag in $(EXTRA_HOST_FLAGS) ; do \
4150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4152 echo "Doing dvi in opcodes" ; \
4154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4156 "RANLIB=$${RANLIB}" \
4157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4163 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4166 maybe-TAGS-opcodes: TAGS-opcodes
4170 @[ -f ./opcodes/Makefile ] || exit 0; \
4171 r=`${PWD_COMMAND}`; export r; \
4172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 for flag in $(EXTRA_HOST_FLAGS) ; do \
4176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4178 echo "Doing TAGS in opcodes" ; \
4180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4182 "RANLIB=$${RANLIB}" \
4183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4189 .PHONY: maybe-install-info-opcodes install-info-opcodes
4190 maybe-install-info-opcodes:
4192 maybe-install-info-opcodes: install-info-opcodes
4194 install-info-opcodes: \
4197 @[ -f ./opcodes/Makefile ] || exit 0; \
4198 r=`${PWD_COMMAND}`; export r; \
4199 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 install-info in 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-installcheck-opcodes installcheck-opcodes
4217 maybe-installcheck-opcodes:
4219 maybe-installcheck-opcodes: installcheck-opcodes
4221 installcheck-opcodes: \
4223 @[ -f ./opcodes/Makefile ] || exit 0; \
4224 r=`${PWD_COMMAND}`; export r; \
4225 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 installcheck in 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-mostlyclean-opcodes mostlyclean-opcodes
4243 maybe-mostlyclean-opcodes:
4245 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4247 mostlyclean-opcodes:
4248 @[ -f ./opcodes/Makefile ] || exit 0; \
4249 r=`${PWD_COMMAND}`; export r; \
4250 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 mostlyclean in 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-clean-opcodes clean-opcodes
4268 maybe-clean-opcodes:
4270 maybe-clean-opcodes: clean-opcodes
4273 @[ -f ./opcodes/Makefile ] || exit 0; \
4274 r=`${PWD_COMMAND}`; export r; \
4275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4278 for flag in $(EXTRA_HOST_FLAGS) ; do \
4279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4281 echo "Doing clean in opcodes" ; \
4283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4285 "RANLIB=$${RANLIB}" \
4286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4292 .PHONY: maybe-distclean-opcodes distclean-opcodes
4293 maybe-distclean-opcodes:
4295 maybe-distclean-opcodes: distclean-opcodes
4298 @[ -f ./opcodes/Makefile ] || exit 0; \
4299 r=`${PWD_COMMAND}`; export r; \
4300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4303 for flag in $(EXTRA_HOST_FLAGS) ; do \
4304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4306 echo "Doing distclean in opcodes" ; \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310 "RANLIB=$${RANLIB}" \
4311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4317 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4318 maybe-maintainer-clean-opcodes:
4320 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4322 maintainer-clean-opcodes:
4323 @[ -f ./opcodes/Makefile ] || exit 0; \
4324 r=`${PWD_COMMAND}`; export r; \
4325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 for flag in $(EXTRA_HOST_FLAGS) ; do \
4329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4331 echo "Doing maintainer-clean in opcodes" ; \
4333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4335 "RANLIB=$${RANLIB}" \
4336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4343 .PHONY: configure-binutils maybe-configure-binutils
4344 maybe-configure-binutils:
4346 maybe-configure-binutils: configure-binutils
4348 @test -f stage_last && exit 0; \
4349 test ! -f binutils/Makefile || exit 0; \
4350 [ -d binutils ] || mkdir binutils; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4354 echo Configuring in binutils; \
4355 cd binutils || exit 1; \
4358 srcdiroption="--srcdir=."; \
4360 /* | [A-Za-z]:[\\/]*) \
4361 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4362 libsrcdir="$$s/binutils";; \
4364 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4365 libsrcdir="$$s/binutils";; \
4367 $(SHELL) $${libsrcdir}/configure \
4368 $(HOST_CONFIGARGS) $${srcdiroption} \
4372 .PHONY: all-binutils maybe-all-binutils
4376 maybe-all-binutils: all-binutils
4377 all-binutils: configure-binutils
4378 @test -f stage_last && exit 0; \
4379 r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4383 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4387 .PHONY: check-binutils maybe-check-binutils
4388 maybe-check-binutils:
4390 maybe-check-binutils: check-binutils
4393 @r=`${PWD_COMMAND}`; export r; \
4394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4397 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4401 .PHONY: install-binutils maybe-install-binutils
4402 maybe-install-binutils:
4404 maybe-install-binutils: install-binutils
4406 install-binutils: installdirs
4407 @r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4415 # Other targets (info, dvi, etc.)
4417 .PHONY: maybe-info-binutils info-binutils
4418 maybe-info-binutils:
4420 maybe-info-binutils: info-binutils
4424 @[ -f ./binutils/Makefile ] || exit 0; \
4425 r=`${PWD_COMMAND}`; export r; \
4426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4429 for flag in $(EXTRA_HOST_FLAGS) ; do \
4430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4432 echo "Doing info in binutils" ; \
4434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4436 "RANLIB=$${RANLIB}" \
4437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4443 .PHONY: maybe-dvi-binutils dvi-binutils
4446 maybe-dvi-binutils: dvi-binutils
4450 @[ -f ./binutils/Makefile ] || exit 0; \
4451 r=`${PWD_COMMAND}`; export r; \
4452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4455 for flag in $(EXTRA_HOST_FLAGS) ; do \
4456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 echo "Doing dvi in binutils" ; \
4460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4462 "RANLIB=$${RANLIB}" \
4463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4469 .PHONY: maybe-TAGS-binutils TAGS-binutils
4470 maybe-TAGS-binutils:
4472 maybe-TAGS-binutils: TAGS-binutils
4476 @[ -f ./binutils/Makefile ] || exit 0; \
4477 r=`${PWD_COMMAND}`; export r; \
4478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4481 for flag in $(EXTRA_HOST_FLAGS) ; do \
4482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4484 echo "Doing TAGS in binutils" ; \
4486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488 "RANLIB=$${RANLIB}" \
4489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4495 .PHONY: maybe-install-info-binutils install-info-binutils
4496 maybe-install-info-binutils:
4498 maybe-install-info-binutils: install-info-binutils
4500 install-info-binutils: \
4501 configure-binutils \
4503 @[ -f ./binutils/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4508 for flag in $(EXTRA_HOST_FLAGS) ; do \
4509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4511 echo "Doing install-info in binutils" ; \
4513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4515 "RANLIB=$${RANLIB}" \
4516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4522 .PHONY: maybe-installcheck-binutils installcheck-binutils
4523 maybe-installcheck-binutils:
4525 maybe-installcheck-binutils: installcheck-binutils
4527 installcheck-binutils: \
4529 @[ -f ./binutils/Makefile ] || exit 0; \
4530 r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 for flag in $(EXTRA_HOST_FLAGS) ; do \
4535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4537 echo "Doing installcheck in binutils" ; \
4539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541 "RANLIB=$${RANLIB}" \
4542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4548 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4549 maybe-mostlyclean-binutils:
4551 maybe-mostlyclean-binutils: mostlyclean-binutils
4553 mostlyclean-binutils:
4554 @[ -f ./binutils/Makefile ] || exit 0; \
4555 r=`${PWD_COMMAND}`; export r; \
4556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4559 for flag in $(EXTRA_HOST_FLAGS) ; do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4562 echo "Doing mostlyclean in binutils" ; \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4573 .PHONY: maybe-clean-binutils clean-binutils
4574 maybe-clean-binutils:
4576 maybe-clean-binutils: clean-binutils
4579 @[ -f ./binutils/Makefile ] || exit 0; \
4580 r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4584 for flag in $(EXTRA_HOST_FLAGS) ; do \
4585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4587 echo "Doing clean in binutils" ; \
4589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4591 "RANLIB=$${RANLIB}" \
4592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4598 .PHONY: maybe-distclean-binutils distclean-binutils
4599 maybe-distclean-binutils:
4601 maybe-distclean-binutils: distclean-binutils
4604 @[ -f ./binutils/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4609 for flag in $(EXTRA_HOST_FLAGS) ; do \
4610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4612 echo "Doing distclean in binutils" ; \
4614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4616 "RANLIB=$${RANLIB}" \
4617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4623 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4624 maybe-maintainer-clean-binutils:
4626 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4628 maintainer-clean-binutils:
4629 @[ -f ./binutils/Makefile ] || exit 0; \
4630 r=`${PWD_COMMAND}`; export r; \
4631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 for flag in $(EXTRA_HOST_FLAGS) ; do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4637 echo "Doing maintainer-clean in binutils" ; \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4649 .PHONY: configure-bison maybe-configure-bison
4650 maybe-configure-bison:
4652 maybe-configure-bison: configure-bison
4654 @test ! -f bison/Makefile || exit 0; \
4655 [ -d bison ] || mkdir bison; \
4656 r=`${PWD_COMMAND}`; export r; \
4657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 echo Configuring in bison; \
4660 cd bison || exit 1; \
4663 srcdiroption="--srcdir=."; \
4665 /* | [A-Za-z]:[\\/]*) \
4666 srcdiroption="--srcdir=$(srcdir)/bison"; \
4667 libsrcdir="$$s/bison";; \
4669 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4670 libsrcdir="$$s/bison";; \
4672 $(SHELL) $${libsrcdir}/configure \
4673 $(HOST_CONFIGARGS) $${srcdiroption} \
4677 .PHONY: all-bison maybe-all-bison
4681 maybe-all-bison: all-bison
4682 all-bison: configure-bison
4683 @r=`${PWD_COMMAND}`; export r; \
4684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4687 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4691 .PHONY: check-bison maybe-check-bison
4694 maybe-check-bison: check-bison
4696 # This module is only tested in a native toolchain.
4698 @if [ '$(host)' = '$(target)' ] ; then \
4699 r=`${PWD_COMMAND}`; export r; \
4700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4703 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4708 .PHONY: install-bison maybe-install-bison
4709 maybe-install-bison:
4711 maybe-install-bison: install-bison
4713 install-bison: installdirs
4714 @r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4722 # Other targets (info, dvi, etc.)
4724 .PHONY: maybe-info-bison info-bison
4727 maybe-info-bison: info-bison
4731 @[ -f ./bison/Makefile ] || exit 0; \
4732 r=`${PWD_COMMAND}`; export r; \
4733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4736 for flag in $(EXTRA_HOST_FLAGS) ; do \
4737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4739 echo "Doing info in bison" ; \
4741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743 "RANLIB=$${RANLIB}" \
4744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4750 .PHONY: maybe-dvi-bison dvi-bison
4753 maybe-dvi-bison: dvi-bison
4757 @[ -f ./bison/Makefile ] || exit 0; \
4758 r=`${PWD_COMMAND}`; export r; \
4759 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 dvi in 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-TAGS-bison TAGS-bison
4779 maybe-TAGS-bison: TAGS-bison
4783 @[ -f ./bison/Makefile ] || exit 0; \
4784 r=`${PWD_COMMAND}`; export r; \
4785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4788 for flag in $(EXTRA_HOST_FLAGS) ; do \
4789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4791 echo "Doing TAGS in bison" ; \
4793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795 "RANLIB=$${RANLIB}" \
4796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4802 .PHONY: maybe-install-info-bison install-info-bison
4803 maybe-install-info-bison:
4805 maybe-install-info-bison: install-info-bison
4807 install-info-bison: \
4810 @[ -f ./bison/Makefile ] || exit 0; \
4811 r=`${PWD_COMMAND}`; export r; \
4812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4815 for flag in $(EXTRA_HOST_FLAGS) ; do \
4816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4818 echo "Doing install-info in bison" ; \
4820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4822 "RANLIB=$${RANLIB}" \
4823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4829 .PHONY: maybe-installcheck-bison installcheck-bison
4830 maybe-installcheck-bison:
4832 maybe-installcheck-bison: installcheck-bison
4834 installcheck-bison: \
4836 @[ -f ./bison/Makefile ] || exit 0; \
4837 r=`${PWD_COMMAND}`; export r; \
4838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 for flag in $(EXTRA_HOST_FLAGS) ; do \
4842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4844 echo "Doing installcheck in bison" ; \
4846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4848 "RANLIB=$${RANLIB}" \
4849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4855 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4856 maybe-mostlyclean-bison:
4858 maybe-mostlyclean-bison: mostlyclean-bison
4861 @[ -f ./bison/Makefile ] || exit 0; \
4862 r=`${PWD_COMMAND}`; export r; \
4863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4866 for flag in $(EXTRA_HOST_FLAGS) ; do \
4867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4869 echo "Doing mostlyclean in bison" ; \
4871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4873 "RANLIB=$${RANLIB}" \
4874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4880 .PHONY: maybe-clean-bison clean-bison
4883 maybe-clean-bison: clean-bison
4886 @[ -f ./bison/Makefile ] || exit 0; \
4887 r=`${PWD_COMMAND}`; export r; \
4888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4891 for flag in $(EXTRA_HOST_FLAGS) ; do \
4892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4894 echo "Doing clean in bison" ; \
4896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4898 "RANLIB=$${RANLIB}" \
4899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4905 .PHONY: maybe-distclean-bison distclean-bison
4906 maybe-distclean-bison:
4908 maybe-distclean-bison: distclean-bison
4911 @[ -f ./bison/Makefile ] || exit 0; \
4912 r=`${PWD_COMMAND}`; export r; \
4913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4916 for flag in $(EXTRA_HOST_FLAGS) ; do \
4917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4919 echo "Doing distclean in bison" ; \
4921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4923 "RANLIB=$${RANLIB}" \
4924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4930 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4931 maybe-maintainer-clean-bison:
4933 maybe-maintainer-clean-bison: maintainer-clean-bison
4935 maintainer-clean-bison:
4936 @[ -f ./bison/Makefile ] || exit 0; \
4937 r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4941 for flag in $(EXTRA_HOST_FLAGS) ; do \
4942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4944 echo "Doing maintainer-clean in bison" ; \
4946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4948 "RANLIB=$${RANLIB}" \
4949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4956 .PHONY: configure-byacc maybe-configure-byacc
4957 maybe-configure-byacc:
4959 maybe-configure-byacc: configure-byacc
4961 @test ! -f byacc/Makefile || exit 0; \
4962 [ -d byacc ] || mkdir byacc; \
4963 r=`${PWD_COMMAND}`; export r; \
4964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966 echo Configuring in byacc; \
4967 cd byacc || exit 1; \
4970 srcdiroption="--srcdir=."; \
4972 /* | [A-Za-z]:[\\/]*) \
4973 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4974 libsrcdir="$$s/byacc";; \
4976 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4977 libsrcdir="$$s/byacc";; \
4979 $(SHELL) $${libsrcdir}/configure \
4980 $(HOST_CONFIGARGS) $${srcdiroption} \
4984 .PHONY: all-byacc maybe-all-byacc
4988 maybe-all-byacc: all-byacc
4989 all-byacc: configure-byacc
4990 @r=`${PWD_COMMAND}`; export r; \
4991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4994 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
4998 .PHONY: check-byacc maybe-check-byacc
5001 maybe-check-byacc: check-byacc
5003 # This module is only tested in a native toolchain.
5005 @if [ '$(host)' = '$(target)' ] ; then \
5006 r=`${PWD_COMMAND}`; export r; \
5007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5010 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5015 .PHONY: install-byacc maybe-install-byacc
5016 maybe-install-byacc:
5018 maybe-install-byacc: install-byacc
5020 install-byacc: installdirs
5021 @r=`${PWD_COMMAND}`; export r; \
5022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5025 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5029 # Other targets (info, dvi, etc.)
5031 .PHONY: maybe-info-byacc info-byacc
5034 maybe-info-byacc: info-byacc
5038 @[ -f ./byacc/Makefile ] || exit 0; \
5039 r=`${PWD_COMMAND}`; export r; \
5040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5043 for flag in $(EXTRA_HOST_FLAGS) ; do \
5044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5046 echo "Doing info in byacc" ; \
5048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5050 "RANLIB=$${RANLIB}" \
5051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5057 .PHONY: maybe-dvi-byacc dvi-byacc
5060 maybe-dvi-byacc: dvi-byacc
5064 @[ -f ./byacc/Makefile ] || exit 0; \
5065 r=`${PWD_COMMAND}`; export r; \
5066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5069 for flag in $(EXTRA_HOST_FLAGS) ; do \
5070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5072 echo "Doing dvi in byacc" ; \
5074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5076 "RANLIB=$${RANLIB}" \
5077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5083 .PHONY: maybe-TAGS-byacc TAGS-byacc
5086 maybe-TAGS-byacc: TAGS-byacc
5090 @[ -f ./byacc/Makefile ] || exit 0; \
5091 r=`${PWD_COMMAND}`; export r; \
5092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5095 for flag in $(EXTRA_HOST_FLAGS) ; do \
5096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5098 echo "Doing TAGS in byacc" ; \
5100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5102 "RANLIB=$${RANLIB}" \
5103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5109 .PHONY: maybe-install-info-byacc install-info-byacc
5110 maybe-install-info-byacc:
5112 maybe-install-info-byacc: install-info-byacc
5114 install-info-byacc: \
5117 @[ -f ./byacc/Makefile ] || exit 0; \
5118 r=`${PWD_COMMAND}`; export r; \
5119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5122 for flag in $(EXTRA_HOST_FLAGS) ; do \
5123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5125 echo "Doing install-info in byacc" ; \
5127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5129 "RANLIB=$${RANLIB}" \
5130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5136 .PHONY: maybe-installcheck-byacc installcheck-byacc
5137 maybe-installcheck-byacc:
5139 maybe-installcheck-byacc: installcheck-byacc
5141 installcheck-byacc: \
5143 @[ -f ./byacc/Makefile ] || exit 0; \
5144 r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 for flag in $(EXTRA_HOST_FLAGS) ; do \
5149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5151 echo "Doing installcheck in byacc" ; \
5153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5155 "RANLIB=$${RANLIB}" \
5156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5162 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5163 maybe-mostlyclean-byacc:
5165 maybe-mostlyclean-byacc: mostlyclean-byacc
5168 @[ -f ./byacc/Makefile ] || exit 0; \
5169 r=`${PWD_COMMAND}`; export r; \
5170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 for flag in $(EXTRA_HOST_FLAGS) ; do \
5174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5176 echo "Doing mostlyclean in byacc" ; \
5178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5180 "RANLIB=$${RANLIB}" \
5181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5187 .PHONY: maybe-clean-byacc clean-byacc
5190 maybe-clean-byacc: clean-byacc
5193 @[ -f ./byacc/Makefile ] || exit 0; \
5194 r=`${PWD_COMMAND}`; export r; \
5195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198 for flag in $(EXTRA_HOST_FLAGS) ; do \
5199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5201 echo "Doing clean in byacc" ; \
5203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5205 "RANLIB=$${RANLIB}" \
5206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5212 .PHONY: maybe-distclean-byacc distclean-byacc
5213 maybe-distclean-byacc:
5215 maybe-distclean-byacc: distclean-byacc
5218 @[ -f ./byacc/Makefile ] || exit 0; \
5219 r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5223 for flag in $(EXTRA_HOST_FLAGS) ; do \
5224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5226 echo "Doing distclean in byacc" ; \
5228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5230 "RANLIB=$${RANLIB}" \
5231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5237 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5238 maybe-maintainer-clean-byacc:
5240 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5242 maintainer-clean-byacc:
5243 @[ -f ./byacc/Makefile ] || exit 0; \
5244 r=`${PWD_COMMAND}`; export r; \
5245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 for flag in $(EXTRA_HOST_FLAGS) ; do \
5249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5251 echo "Doing maintainer-clean in byacc" ; \
5253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5255 "RANLIB=$${RANLIB}" \
5256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5263 .PHONY: configure-bzip2 maybe-configure-bzip2
5264 maybe-configure-bzip2:
5266 maybe-configure-bzip2: configure-bzip2
5268 @test ! -f bzip2/Makefile || exit 0; \
5269 [ -d bzip2 ] || mkdir bzip2; \
5270 r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5273 echo Configuring in bzip2; \
5274 cd bzip2 || exit 1; \
5277 srcdiroption="--srcdir=."; \
5279 /* | [A-Za-z]:[\\/]*) \
5280 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5281 libsrcdir="$$s/bzip2";; \
5283 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5284 libsrcdir="$$s/bzip2";; \
5286 $(SHELL) $${libsrcdir}/configure \
5287 $(HOST_CONFIGARGS) $${srcdiroption} \
5291 .PHONY: all-bzip2 maybe-all-bzip2
5295 maybe-all-bzip2: all-bzip2
5296 all-bzip2: configure-bzip2
5297 @r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5301 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5305 .PHONY: check-bzip2 maybe-check-bzip2
5308 maybe-check-bzip2: check-bzip2
5311 @r=`${PWD_COMMAND}`; export r; \
5312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5315 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5319 .PHONY: install-bzip2 maybe-install-bzip2
5320 maybe-install-bzip2:
5322 maybe-install-bzip2: install-bzip2
5324 install-bzip2: installdirs
5325 @r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5333 # Other targets (info, dvi, etc.)
5335 .PHONY: maybe-info-bzip2 info-bzip2
5338 maybe-info-bzip2: info-bzip2
5342 @[ -f ./bzip2/Makefile ] || exit 0; \
5343 r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5347 for flag in $(EXTRA_HOST_FLAGS) ; do \
5348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5350 echo "Doing info in bzip2" ; \
5352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5354 "RANLIB=$${RANLIB}" \
5355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5361 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5364 maybe-dvi-bzip2: dvi-bzip2
5368 @[ -f ./bzip2/Makefile ] || exit 0; \
5369 r=`${PWD_COMMAND}`; export r; \
5370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5373 for flag in $(EXTRA_HOST_FLAGS) ; do \
5374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5376 echo "Doing dvi in bzip2" ; \
5378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380 "RANLIB=$${RANLIB}" \
5381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5387 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5390 maybe-TAGS-bzip2: TAGS-bzip2
5394 @[ -f ./bzip2/Makefile ] || exit 0; \
5395 r=`${PWD_COMMAND}`; export r; \
5396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5399 for flag in $(EXTRA_HOST_FLAGS) ; do \
5400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5402 echo "Doing TAGS in bzip2" ; \
5404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5406 "RANLIB=$${RANLIB}" \
5407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5413 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5414 maybe-install-info-bzip2:
5416 maybe-install-info-bzip2: install-info-bzip2
5418 install-info-bzip2: \
5421 @[ -f ./bzip2/Makefile ] || exit 0; \
5422 r=`${PWD_COMMAND}`; export r; \
5423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 for flag in $(EXTRA_HOST_FLAGS) ; do \
5427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5429 echo "Doing install-info in bzip2" ; \
5431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433 "RANLIB=$${RANLIB}" \
5434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5440 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5441 maybe-installcheck-bzip2:
5443 maybe-installcheck-bzip2: installcheck-bzip2
5445 installcheck-bzip2: \
5447 @[ -f ./bzip2/Makefile ] || exit 0; \
5448 r=`${PWD_COMMAND}`; export r; \
5449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 for flag in $(EXTRA_HOST_FLAGS) ; do \
5453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 echo "Doing installcheck in bzip2" ; \
5457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5459 "RANLIB=$${RANLIB}" \
5460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5466 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5467 maybe-mostlyclean-bzip2:
5469 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5472 @[ -f ./bzip2/Makefile ] || exit 0; \
5473 r=`${PWD_COMMAND}`; export r; \
5474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5477 for flag in $(EXTRA_HOST_FLAGS) ; do \
5478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5480 echo "Doing mostlyclean in bzip2" ; \
5482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5484 "RANLIB=$${RANLIB}" \
5485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5491 .PHONY: maybe-clean-bzip2 clean-bzip2
5494 maybe-clean-bzip2: clean-bzip2
5497 @[ -f ./bzip2/Makefile ] || exit 0; \
5498 r=`${PWD_COMMAND}`; export r; \
5499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 for flag in $(EXTRA_HOST_FLAGS) ; do \
5503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5505 echo "Doing clean in bzip2" ; \
5507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5509 "RANLIB=$${RANLIB}" \
5510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5516 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5517 maybe-distclean-bzip2:
5519 maybe-distclean-bzip2: distclean-bzip2
5522 @[ -f ./bzip2/Makefile ] || exit 0; \
5523 r=`${PWD_COMMAND}`; export r; \
5524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5527 for flag in $(EXTRA_HOST_FLAGS) ; do \
5528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5530 echo "Doing distclean in bzip2" ; \
5532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5534 "RANLIB=$${RANLIB}" \
5535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5541 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5542 maybe-maintainer-clean-bzip2:
5544 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5546 maintainer-clean-bzip2:
5547 @[ -f ./bzip2/Makefile ] || exit 0; \
5548 r=`${PWD_COMMAND}`; export r; \
5549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 for flag in $(EXTRA_HOST_FLAGS) ; do \
5553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5555 echo "Doing maintainer-clean in bzip2" ; \
5557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5559 "RANLIB=$${RANLIB}" \
5560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5567 .PHONY: configure-dejagnu maybe-configure-dejagnu
5568 maybe-configure-dejagnu:
5570 maybe-configure-dejagnu: configure-dejagnu
5572 @test ! -f dejagnu/Makefile || exit 0; \
5573 [ -d dejagnu ] || mkdir dejagnu; \
5574 r=`${PWD_COMMAND}`; export r; \
5575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5577 echo Configuring in dejagnu; \
5578 cd dejagnu || exit 1; \
5581 srcdiroption="--srcdir=."; \
5583 /* | [A-Za-z]:[\\/]*) \
5584 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5585 libsrcdir="$$s/dejagnu";; \
5587 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5588 libsrcdir="$$s/dejagnu";; \
5590 $(SHELL) $${libsrcdir}/configure \
5591 $(HOST_CONFIGARGS) $${srcdiroption} \
5595 .PHONY: all-dejagnu maybe-all-dejagnu
5599 maybe-all-dejagnu: all-dejagnu
5600 all-dejagnu: configure-dejagnu
5601 @r=`${PWD_COMMAND}`; export r; \
5602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5609 .PHONY: check-dejagnu maybe-check-dejagnu
5610 maybe-check-dejagnu:
5612 maybe-check-dejagnu: check-dejagnu
5615 @r=`${PWD_COMMAND}`; export r; \
5616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5623 .PHONY: install-dejagnu maybe-install-dejagnu
5624 maybe-install-dejagnu:
5626 maybe-install-dejagnu: install-dejagnu
5628 install-dejagnu: installdirs
5629 @r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5633 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5637 # Other targets (info, dvi, etc.)
5639 .PHONY: maybe-info-dejagnu info-dejagnu
5642 maybe-info-dejagnu: info-dejagnu
5646 @[ -f ./dejagnu/Makefile ] || exit 0; \
5647 r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5651 for flag in $(EXTRA_HOST_FLAGS) ; do \
5652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5654 echo "Doing info in dejagnu" ; \
5656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658 "RANLIB=$${RANLIB}" \
5659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5665 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5668 maybe-dvi-dejagnu: dvi-dejagnu
5672 @[ -f ./dejagnu/Makefile ] || exit 0; \
5673 r=`${PWD_COMMAND}`; export r; \
5674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 for flag in $(EXTRA_HOST_FLAGS) ; do \
5678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5680 echo "Doing dvi in dejagnu" ; \
5682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5684 "RANLIB=$${RANLIB}" \
5685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5691 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5694 maybe-TAGS-dejagnu: TAGS-dejagnu
5698 @[ -f ./dejagnu/Makefile ] || exit 0; \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 for flag in $(EXTRA_HOST_FLAGS) ; do \
5704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 echo "Doing TAGS in dejagnu" ; \
5708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5710 "RANLIB=$${RANLIB}" \
5711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5717 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5718 maybe-install-info-dejagnu:
5720 maybe-install-info-dejagnu: install-info-dejagnu
5722 install-info-dejagnu: \
5725 @[ -f ./dejagnu/Makefile ] || exit 0; \
5726 r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5730 for flag in $(EXTRA_HOST_FLAGS) ; do \
5731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5733 echo "Doing install-info in dejagnu" ; \
5735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5737 "RANLIB=$${RANLIB}" \
5738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5744 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5745 maybe-installcheck-dejagnu:
5747 maybe-installcheck-dejagnu: installcheck-dejagnu
5749 installcheck-dejagnu: \
5751 @[ -f ./dejagnu/Makefile ] || exit 0; \
5752 r=`${PWD_COMMAND}`; export r; \
5753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 for flag in $(EXTRA_HOST_FLAGS) ; do \
5757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5759 echo "Doing installcheck in dejagnu" ; \
5761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5763 "RANLIB=$${RANLIB}" \
5764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5770 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5771 maybe-mostlyclean-dejagnu:
5773 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5775 mostlyclean-dejagnu:
5776 @[ -f ./dejagnu/Makefile ] || exit 0; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5781 for flag in $(EXTRA_HOST_FLAGS) ; do \
5782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5784 echo "Doing mostlyclean in dejagnu" ; \
5786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5788 "RANLIB=$${RANLIB}" \
5789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5795 .PHONY: maybe-clean-dejagnu clean-dejagnu
5796 maybe-clean-dejagnu:
5798 maybe-clean-dejagnu: clean-dejagnu
5801 @[ -f ./dejagnu/Makefile ] || exit 0; \
5802 r=`${PWD_COMMAND}`; export r; \
5803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 for flag in $(EXTRA_HOST_FLAGS) ; do \
5807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5809 echo "Doing clean in dejagnu" ; \
5811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5813 "RANLIB=$${RANLIB}" \
5814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5820 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5821 maybe-distclean-dejagnu:
5823 maybe-distclean-dejagnu: distclean-dejagnu
5826 @[ -f ./dejagnu/Makefile ] || exit 0; \
5827 r=`${PWD_COMMAND}`; export r; \
5828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 for flag in $(EXTRA_HOST_FLAGS) ; do \
5832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5834 echo "Doing distclean in dejagnu" ; \
5836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5838 "RANLIB=$${RANLIB}" \
5839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5845 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5846 maybe-maintainer-clean-dejagnu:
5848 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5850 maintainer-clean-dejagnu:
5851 @[ -f ./dejagnu/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 for flag in $(EXTRA_HOST_FLAGS) ; do \
5857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5859 echo "Doing maintainer-clean in dejagnu" ; \
5861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863 "RANLIB=$${RANLIB}" \
5864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5871 .PHONY: configure-diff maybe-configure-diff
5872 maybe-configure-diff:
5874 maybe-configure-diff: configure-diff
5876 @test ! -f diff/Makefile || exit 0; \
5877 [ -d diff ] || mkdir diff; \
5878 r=`${PWD_COMMAND}`; export r; \
5879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5881 echo Configuring in diff; \
5882 cd diff || exit 1; \
5885 srcdiroption="--srcdir=."; \
5887 /* | [A-Za-z]:[\\/]*) \
5888 srcdiroption="--srcdir=$(srcdir)/diff"; \
5889 libsrcdir="$$s/diff";; \
5891 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5892 libsrcdir="$$s/diff";; \
5894 $(SHELL) $${libsrcdir}/configure \
5895 $(HOST_CONFIGARGS) $${srcdiroption} \
5899 .PHONY: all-diff maybe-all-diff
5903 maybe-all-diff: all-diff
5904 all-diff: configure-diff
5905 @r=`${PWD_COMMAND}`; export r; \
5906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5909 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
5913 .PHONY: check-diff maybe-check-diff
5916 maybe-check-diff: check-diff
5919 @r=`${PWD_COMMAND}`; export r; \
5920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5923 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5927 .PHONY: install-diff maybe-install-diff
5930 maybe-install-diff: install-diff
5932 install-diff: installdirs
5933 @r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5937 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5941 # Other targets (info, dvi, etc.)
5943 .PHONY: maybe-info-diff info-diff
5946 maybe-info-diff: info-diff
5950 @[ -f ./diff/Makefile ] || exit 0; \
5951 r=`${PWD_COMMAND}`; export r; \
5952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5955 for flag in $(EXTRA_HOST_FLAGS) ; do \
5956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5958 echo "Doing info in diff" ; \
5960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5962 "RANLIB=$${RANLIB}" \
5963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5969 .PHONY: maybe-dvi-diff dvi-diff
5972 maybe-dvi-diff: dvi-diff
5976 @[ -f ./diff/Makefile ] || exit 0; \
5977 r=`${PWD_COMMAND}`; export r; \
5978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 for flag in $(EXTRA_HOST_FLAGS) ; do \
5982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5984 echo "Doing dvi in diff" ; \
5986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988 "RANLIB=$${RANLIB}" \
5989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5995 .PHONY: maybe-TAGS-diff TAGS-diff
5998 maybe-TAGS-diff: TAGS-diff
6002 @[ -f ./diff/Makefile ] || exit 0; \
6003 r=`${PWD_COMMAND}`; export r; \
6004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6007 for flag in $(EXTRA_HOST_FLAGS) ; do \
6008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6010 echo "Doing TAGS in diff" ; \
6012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6014 "RANLIB=$${RANLIB}" \
6015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6021 .PHONY: maybe-install-info-diff install-info-diff
6022 maybe-install-info-diff:
6024 maybe-install-info-diff: install-info-diff
6026 install-info-diff: \
6029 @[ -f ./diff/Makefile ] || exit 0; \
6030 r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 for flag in $(EXTRA_HOST_FLAGS) ; do \
6035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6037 echo "Doing install-info in diff" ; \
6039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6041 "RANLIB=$${RANLIB}" \
6042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6048 .PHONY: maybe-installcheck-diff installcheck-diff
6049 maybe-installcheck-diff:
6051 maybe-installcheck-diff: installcheck-diff
6053 installcheck-diff: \
6055 @[ -f ./diff/Makefile ] || exit 0; \
6056 r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6060 for flag in $(EXTRA_HOST_FLAGS) ; do \
6061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6063 echo "Doing installcheck in diff" ; \
6065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6067 "RANLIB=$${RANLIB}" \
6068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6074 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6075 maybe-mostlyclean-diff:
6077 maybe-mostlyclean-diff: mostlyclean-diff
6080 @[ -f ./diff/Makefile ] || exit 0; \
6081 r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6085 for flag in $(EXTRA_HOST_FLAGS) ; do \
6086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6088 echo "Doing mostlyclean in diff" ; \
6090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6092 "RANLIB=$${RANLIB}" \
6093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6099 .PHONY: maybe-clean-diff clean-diff
6102 maybe-clean-diff: clean-diff
6105 @[ -f ./diff/Makefile ] || exit 0; \
6106 r=`${PWD_COMMAND}`; export r; \
6107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6110 for flag in $(EXTRA_HOST_FLAGS) ; do \
6111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6113 echo "Doing clean in diff" ; \
6115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6117 "RANLIB=$${RANLIB}" \
6118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6124 .PHONY: maybe-distclean-diff distclean-diff
6125 maybe-distclean-diff:
6127 maybe-distclean-diff: distclean-diff
6130 @[ -f ./diff/Makefile ] || exit 0; \
6131 r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6135 for flag in $(EXTRA_HOST_FLAGS) ; do \
6136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6138 echo "Doing distclean in diff" ; \
6140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6142 "RANLIB=$${RANLIB}" \
6143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6149 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6150 maybe-maintainer-clean-diff:
6152 maybe-maintainer-clean-diff: maintainer-clean-diff
6154 maintainer-clean-diff:
6155 @[ -f ./diff/Makefile ] || exit 0; \
6156 r=`${PWD_COMMAND}`; export r; \
6157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6160 for flag in $(EXTRA_HOST_FLAGS) ; do \
6161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6163 echo "Doing maintainer-clean in diff" ; \
6165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6167 "RANLIB=$${RANLIB}" \
6168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6175 .PHONY: configure-dosutils maybe-configure-dosutils
6176 maybe-configure-dosutils:
6178 maybe-configure-dosutils: configure-dosutils
6180 @test ! -f dosutils/Makefile || exit 0; \
6181 [ -d dosutils ] || mkdir dosutils; \
6182 r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6185 echo Configuring in dosutils; \
6186 cd dosutils || exit 1; \
6189 srcdiroption="--srcdir=."; \
6191 /* | [A-Za-z]:[\\/]*) \
6192 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6193 libsrcdir="$$s/dosutils";; \
6195 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6196 libsrcdir="$$s/dosutils";; \
6198 $(SHELL) $${libsrcdir}/configure \
6199 $(HOST_CONFIGARGS) $${srcdiroption} \
6203 .PHONY: all-dosutils maybe-all-dosutils
6207 maybe-all-dosutils: all-dosutils
6208 all-dosutils: configure-dosutils
6209 @r=`${PWD_COMMAND}`; export r; \
6210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6213 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6217 .PHONY: check-dosutils maybe-check-dosutils
6218 maybe-check-dosutils:
6220 maybe-check-dosutils: check-dosutils
6226 .PHONY: install-dosutils maybe-install-dosutils
6227 maybe-install-dosutils:
6229 maybe-install-dosutils: install-dosutils
6231 install-dosutils: installdirs
6232 @r=`${PWD_COMMAND}`; export r; \
6233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6236 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6240 # Other targets (info, dvi, etc.)
6242 .PHONY: maybe-info-dosutils info-dosutils
6243 maybe-info-dosutils:
6245 maybe-info-dosutils: info-dosutils
6249 @[ -f ./dosutils/Makefile ] || exit 0; \
6250 r=`${PWD_COMMAND}`; export r; \
6251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6254 for flag in $(EXTRA_HOST_FLAGS) ; do \
6255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6257 echo "Doing info in dosutils" ; \
6259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6261 "RANLIB=$${RANLIB}" \
6262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6268 .PHONY: maybe-dvi-dosutils dvi-dosutils
6271 maybe-dvi-dosutils: dvi-dosutils
6275 @[ -f ./dosutils/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280 for flag in $(EXTRA_HOST_FLAGS) ; do \
6281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6283 echo "Doing dvi in dosutils" ; \
6285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6287 "RANLIB=$${RANLIB}" \
6288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6294 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6295 maybe-TAGS-dosutils:
6297 maybe-TAGS-dosutils: TAGS-dosutils
6301 @[ -f ./dosutils/Makefile ] || exit 0; \
6302 r=`${PWD_COMMAND}`; export r; \
6303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6306 for flag in $(EXTRA_HOST_FLAGS) ; do \
6307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6309 echo "Doing TAGS in dosutils" ; \
6311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6313 "RANLIB=$${RANLIB}" \
6314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6320 .PHONY: maybe-install-info-dosutils install-info-dosutils
6321 maybe-install-info-dosutils:
6323 maybe-install-info-dosutils: install-info-dosutils
6325 install-info-dosutils: \
6326 configure-dosutils \
6328 @[ -f ./dosutils/Makefile ] || exit 0; \
6329 r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 for flag in $(EXTRA_HOST_FLAGS) ; do \
6334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6336 echo "Doing install-info in dosutils" ; \
6338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6340 "RANLIB=$${RANLIB}" \
6341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6347 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6348 maybe-installcheck-dosutils:
6350 maybe-installcheck-dosutils: installcheck-dosutils
6352 installcheck-dosutils: \
6354 @[ -f ./dosutils/Makefile ] || exit 0; \
6355 r=`${PWD_COMMAND}`; export r; \
6356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359 for flag in $(EXTRA_HOST_FLAGS) ; do \
6360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362 echo "Doing installcheck in dosutils" ; \
6364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6366 "RANLIB=$${RANLIB}" \
6367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6373 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6374 maybe-mostlyclean-dosutils:
6376 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6378 mostlyclean-dosutils:
6379 @[ -f ./dosutils/Makefile ] || exit 0; \
6380 r=`${PWD_COMMAND}`; export r; \
6381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6384 for flag in $(EXTRA_HOST_FLAGS) ; do \
6385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6387 echo "Doing mostlyclean in dosutils" ; \
6389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6391 "RANLIB=$${RANLIB}" \
6392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6398 .PHONY: maybe-clean-dosutils clean-dosutils
6399 maybe-clean-dosutils:
6401 maybe-clean-dosutils: clean-dosutils
6404 @[ -f ./dosutils/Makefile ] || exit 0; \
6405 r=`${PWD_COMMAND}`; export r; \
6406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 for flag in $(EXTRA_HOST_FLAGS) ; do \
6410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6412 echo "Doing clean in dosutils" ; \
6414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6416 "RANLIB=$${RANLIB}" \
6417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6423 .PHONY: maybe-distclean-dosutils distclean-dosutils
6424 maybe-distclean-dosutils:
6426 maybe-distclean-dosutils: distclean-dosutils
6429 @[ -f ./dosutils/Makefile ] || exit 0; \
6430 r=`${PWD_COMMAND}`; export r; \
6431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6434 for flag in $(EXTRA_HOST_FLAGS) ; do \
6435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6437 echo "Doing distclean in dosutils" ; \
6439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6441 "RANLIB=$${RANLIB}" \
6442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6448 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6449 maybe-maintainer-clean-dosutils:
6451 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6453 maintainer-clean-dosutils:
6454 @[ -f ./dosutils/Makefile ] || exit 0; \
6455 r=`${PWD_COMMAND}`; export r; \
6456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6459 for flag in $(EXTRA_HOST_FLAGS) ; do \
6460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6462 echo "Doing maintainer-clean in dosutils" ; \
6464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6466 "RANLIB=$${RANLIB}" \
6467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6474 .PHONY: configure-etc maybe-configure-etc
6475 maybe-configure-etc:
6477 maybe-configure-etc: configure-etc
6479 @test ! -f etc/Makefile || exit 0; \
6480 [ -d etc ] || mkdir etc; \
6481 r=`${PWD_COMMAND}`; export r; \
6482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6484 echo Configuring in etc; \
6488 srcdiroption="--srcdir=."; \
6490 /* | [A-Za-z]:[\\/]*) \
6491 srcdiroption="--srcdir=$(srcdir)/etc"; \
6492 libsrcdir="$$s/etc";; \
6494 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6495 libsrcdir="$$s/etc";; \
6497 $(SHELL) $${libsrcdir}/configure \
6498 $(HOST_CONFIGARGS) $${srcdiroption} \
6502 .PHONY: all-etc maybe-all-etc
6506 maybe-all-etc: all-etc
6507 all-etc: configure-etc
6508 @r=`${PWD_COMMAND}`; export r; \
6509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6512 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6516 .PHONY: check-etc maybe-check-etc
6519 maybe-check-etc: check-etc
6522 @r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6526 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6530 .PHONY: install-etc maybe-install-etc
6533 maybe-install-etc: install-etc
6535 install-etc: installdirs
6536 @r=`${PWD_COMMAND}`; export r; \
6537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6540 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6544 # Other targets (info, dvi, etc.)
6546 .PHONY: maybe-info-etc info-etc
6549 maybe-info-etc: info-etc
6553 @[ -f ./etc/Makefile ] || exit 0; \
6554 r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 echo "Doing info in etc" ; \
6563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565 "RANLIB=$${RANLIB}" \
6566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6572 .PHONY: maybe-dvi-etc dvi-etc
6575 maybe-dvi-etc: dvi-etc
6579 @[ -f ./etc/Makefile ] || exit 0; \
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6587 echo "Doing dvi in etc" ; \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6598 .PHONY: maybe-TAGS-etc TAGS-etc
6601 maybe-TAGS-etc: TAGS-etc
6605 @[ -f ./etc/Makefile ] || exit 0; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 for flag in $(EXTRA_HOST_FLAGS) ; do \
6611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 echo "Doing TAGS in etc" ; \
6615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6617 "RANLIB=$${RANLIB}" \
6618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6624 .PHONY: maybe-install-info-etc install-info-etc
6625 maybe-install-info-etc:
6627 maybe-install-info-etc: install-info-etc
6632 @[ -f ./etc/Makefile ] || exit 0; \
6633 r=`${PWD_COMMAND}`; export r; \
6634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6637 for flag in $(EXTRA_HOST_FLAGS) ; do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6640 echo "Doing install-info in etc" ; \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6651 .PHONY: maybe-installcheck-etc installcheck-etc
6652 maybe-installcheck-etc:
6654 maybe-installcheck-etc: installcheck-etc
6658 @[ -f ./etc/Makefile ] || exit 0; \
6659 r=`${PWD_COMMAND}`; export r; \
6660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6663 for flag in $(EXTRA_HOST_FLAGS) ; do \
6664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6666 echo "Doing installcheck in etc" ; \
6668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6670 "RANLIB=$${RANLIB}" \
6671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6677 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6678 maybe-mostlyclean-etc:
6680 maybe-mostlyclean-etc: mostlyclean-etc
6683 @[ -f ./etc/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 for flag in $(EXTRA_HOST_FLAGS) ; do \
6689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6691 echo "Doing mostlyclean in etc" ; \
6693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6695 "RANLIB=$${RANLIB}" \
6696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6702 .PHONY: maybe-clean-etc clean-etc
6705 maybe-clean-etc: clean-etc
6708 @[ -f ./etc/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6713 for flag in $(EXTRA_HOST_FLAGS) ; do \
6714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6716 echo "Doing clean in etc" ; \
6718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6720 "RANLIB=$${RANLIB}" \
6721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6727 .PHONY: maybe-distclean-etc distclean-etc
6728 maybe-distclean-etc:
6730 maybe-distclean-etc: distclean-etc
6733 @[ -f ./etc/Makefile ] || exit 0; \
6734 r=`${PWD_COMMAND}`; export r; \
6735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6738 for flag in $(EXTRA_HOST_FLAGS) ; do \
6739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6741 echo "Doing distclean in etc" ; \
6743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745 "RANLIB=$${RANLIB}" \
6746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6752 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6753 maybe-maintainer-clean-etc:
6755 maybe-maintainer-clean-etc: maintainer-clean-etc
6757 maintainer-clean-etc:
6758 @[ -f ./etc/Makefile ] || exit 0; \
6759 r=`${PWD_COMMAND}`; export r; \
6760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6763 for flag in $(EXTRA_HOST_FLAGS) ; do \
6764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6766 echo "Doing maintainer-clean in etc" ; \
6768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6770 "RANLIB=$${RANLIB}" \
6771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6778 .PHONY: configure-fastjar maybe-configure-fastjar
6779 maybe-configure-fastjar:
6781 maybe-configure-fastjar: configure-fastjar
6783 @test ! -f fastjar/Makefile || exit 0; \
6784 [ -d fastjar ] || mkdir fastjar; \
6785 r=`${PWD_COMMAND}`; export r; \
6786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 echo Configuring in fastjar; \
6789 cd fastjar || exit 1; \
6792 srcdiroption="--srcdir=."; \
6794 /* | [A-Za-z]:[\\/]*) \
6795 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6796 libsrcdir="$$s/fastjar";; \
6798 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6799 libsrcdir="$$s/fastjar";; \
6801 $(SHELL) $${libsrcdir}/configure \
6802 $(HOST_CONFIGARGS) $${srcdiroption} \
6806 .PHONY: all-fastjar maybe-all-fastjar
6810 maybe-all-fastjar: all-fastjar
6811 all-fastjar: configure-fastjar
6812 @r=`${PWD_COMMAND}`; export r; \
6813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
6820 .PHONY: check-fastjar maybe-check-fastjar
6821 maybe-check-fastjar:
6823 maybe-check-fastjar: check-fastjar
6825 # This module is only tested in a native toolchain.
6827 @if [ '$(host)' = '$(target)' ] ; then \
6828 r=`${PWD_COMMAND}`; export r; \
6829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6837 .PHONY: install-fastjar maybe-install-fastjar
6838 maybe-install-fastjar:
6840 maybe-install-fastjar: install-fastjar
6842 install-fastjar: installdirs
6843 @r=`${PWD_COMMAND}`; export r; \
6844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6851 # Other targets (info, dvi, etc.)
6853 .PHONY: maybe-info-fastjar info-fastjar
6856 maybe-info-fastjar: info-fastjar
6860 @[ -f ./fastjar/Makefile ] || exit 0; \
6861 r=`${PWD_COMMAND}`; export r; \
6862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6865 for flag in $(EXTRA_HOST_FLAGS) ; do \
6866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6868 echo "Doing info in fastjar" ; \
6870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6872 "RANLIB=$${RANLIB}" \
6873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6879 .PHONY: maybe-dvi-fastjar dvi-fastjar
6882 maybe-dvi-fastjar: dvi-fastjar
6886 @[ -f ./fastjar/Makefile ] || exit 0; \
6887 r=`${PWD_COMMAND}`; export r; \
6888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6891 for flag in $(EXTRA_HOST_FLAGS) ; do \
6892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6894 echo "Doing dvi in fastjar" ; \
6896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6898 "RANLIB=$${RANLIB}" \
6899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6905 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6908 maybe-TAGS-fastjar: TAGS-fastjar
6912 @[ -f ./fastjar/Makefile ] || exit 0; \
6913 r=`${PWD_COMMAND}`; export r; \
6914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6917 for flag in $(EXTRA_HOST_FLAGS) ; do \
6918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6920 echo "Doing TAGS in fastjar" ; \
6922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6924 "RANLIB=$${RANLIB}" \
6925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6931 .PHONY: maybe-install-info-fastjar install-info-fastjar
6932 maybe-install-info-fastjar:
6934 maybe-install-info-fastjar: install-info-fastjar
6936 install-info-fastjar: \
6939 @[ -f ./fastjar/Makefile ] || exit 0; \
6940 r=`${PWD_COMMAND}`; export r; \
6941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 for flag in $(EXTRA_HOST_FLAGS) ; do \
6945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6947 echo "Doing install-info in fastjar" ; \
6949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6951 "RANLIB=$${RANLIB}" \
6952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6958 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6959 maybe-installcheck-fastjar:
6961 maybe-installcheck-fastjar: installcheck-fastjar
6963 installcheck-fastjar: \
6965 @[ -f ./fastjar/Makefile ] || exit 0; \
6966 r=`${PWD_COMMAND}`; export r; \
6967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6970 for flag in $(EXTRA_HOST_FLAGS) ; do \
6971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6973 echo "Doing installcheck in fastjar" ; \
6975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6977 "RANLIB=$${RANLIB}" \
6978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6984 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6985 maybe-mostlyclean-fastjar:
6987 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6989 mostlyclean-fastjar:
6990 @[ -f ./fastjar/Makefile ] || exit 0; \
6991 r=`${PWD_COMMAND}`; export r; \
6992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6995 for flag in $(EXTRA_HOST_FLAGS) ; do \
6996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6998 echo "Doing mostlyclean in fastjar" ; \
7000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7002 "RANLIB=$${RANLIB}" \
7003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7009 .PHONY: maybe-clean-fastjar clean-fastjar
7010 maybe-clean-fastjar:
7012 maybe-clean-fastjar: clean-fastjar
7015 @[ -f ./fastjar/Makefile ] || exit 0; \
7016 r=`${PWD_COMMAND}`; export r; \
7017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7020 for flag in $(EXTRA_HOST_FLAGS) ; do \
7021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7023 echo "Doing clean in fastjar" ; \
7025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7027 "RANLIB=$${RANLIB}" \
7028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7034 .PHONY: maybe-distclean-fastjar distclean-fastjar
7035 maybe-distclean-fastjar:
7037 maybe-distclean-fastjar: distclean-fastjar
7040 @[ -f ./fastjar/Makefile ] || exit 0; \
7041 r=`${PWD_COMMAND}`; export r; \
7042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7045 for flag in $(EXTRA_HOST_FLAGS) ; do \
7046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7048 echo "Doing distclean in fastjar" ; \
7050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7052 "RANLIB=$${RANLIB}" \
7053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7059 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7060 maybe-maintainer-clean-fastjar:
7062 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7064 maintainer-clean-fastjar:
7065 @[ -f ./fastjar/Makefile ] || exit 0; \
7066 r=`${PWD_COMMAND}`; export r; \
7067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 for flag in $(EXTRA_HOST_FLAGS) ; do \
7071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7073 echo "Doing maintainer-clean in fastjar" ; \
7075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7077 "RANLIB=$${RANLIB}" \
7078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7085 .PHONY: configure-fileutils maybe-configure-fileutils
7086 maybe-configure-fileutils:
7088 maybe-configure-fileutils: configure-fileutils
7089 configure-fileutils:
7090 @test ! -f fileutils/Makefile || exit 0; \
7091 [ -d fileutils ] || mkdir fileutils; \
7092 r=`${PWD_COMMAND}`; export r; \
7093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7095 echo Configuring in fileutils; \
7096 cd fileutils || exit 1; \
7099 srcdiroption="--srcdir=."; \
7101 /* | [A-Za-z]:[\\/]*) \
7102 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7103 libsrcdir="$$s/fileutils";; \
7105 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7106 libsrcdir="$$s/fileutils";; \
7108 $(SHELL) $${libsrcdir}/configure \
7109 $(HOST_CONFIGARGS) $${srcdiroption} \
7113 .PHONY: all-fileutils maybe-all-fileutils
7114 maybe-all-fileutils:
7116 TARGET-fileutils=all
7117 maybe-all-fileutils: all-fileutils
7118 all-fileutils: configure-fileutils
7119 @r=`${PWD_COMMAND}`; export r; \
7120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7124 $(TARGET-fileutils))
7127 .PHONY: check-fileutils maybe-check-fileutils
7128 maybe-check-fileutils:
7130 maybe-check-fileutils: check-fileutils
7133 @r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7141 .PHONY: install-fileutils maybe-install-fileutils
7142 maybe-install-fileutils:
7144 maybe-install-fileutils: install-fileutils
7146 install-fileutils: installdirs
7147 @r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7151 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7155 # Other targets (info, dvi, etc.)
7157 .PHONY: maybe-info-fileutils info-fileutils
7158 maybe-info-fileutils:
7160 maybe-info-fileutils: info-fileutils
7164 @[ -f ./fileutils/Makefile ] || exit 0; \
7165 r=`${PWD_COMMAND}`; export r; \
7166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7169 for flag in $(EXTRA_HOST_FLAGS) ; do \
7170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7172 echo "Doing info in fileutils" ; \
7174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7176 "RANLIB=$${RANLIB}" \
7177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7183 .PHONY: maybe-dvi-fileutils dvi-fileutils
7184 maybe-dvi-fileutils:
7186 maybe-dvi-fileutils: dvi-fileutils
7190 @[ -f ./fileutils/Makefile ] || exit 0; \
7191 r=`${PWD_COMMAND}`; export r; \
7192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7195 for flag in $(EXTRA_HOST_FLAGS) ; do \
7196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7198 echo "Doing dvi in fileutils" ; \
7200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7202 "RANLIB=$${RANLIB}" \
7203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7209 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7210 maybe-TAGS-fileutils:
7212 maybe-TAGS-fileutils: TAGS-fileutils
7216 @[ -f ./fileutils/Makefile ] || exit 0; \
7217 r=`${PWD_COMMAND}`; export r; \
7218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7221 for flag in $(EXTRA_HOST_FLAGS) ; do \
7222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7224 echo "Doing TAGS in fileutils" ; \
7226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7228 "RANLIB=$${RANLIB}" \
7229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7235 .PHONY: maybe-install-info-fileutils install-info-fileutils
7236 maybe-install-info-fileutils:
7238 maybe-install-info-fileutils: install-info-fileutils
7240 install-info-fileutils: \
7241 configure-fileutils \
7243 @[ -f ./fileutils/Makefile ] || exit 0; \
7244 r=`${PWD_COMMAND}`; export r; \
7245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7248 for flag in $(EXTRA_HOST_FLAGS) ; do \
7249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7251 echo "Doing install-info in fileutils" ; \
7253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7255 "RANLIB=$${RANLIB}" \
7256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7262 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7263 maybe-installcheck-fileutils:
7265 maybe-installcheck-fileutils: installcheck-fileutils
7267 installcheck-fileutils: \
7269 @[ -f ./fileutils/Makefile ] || exit 0; \
7270 r=`${PWD_COMMAND}`; export r; \
7271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 for flag in $(EXTRA_HOST_FLAGS) ; do \
7275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 echo "Doing installcheck in fileutils" ; \
7279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7281 "RANLIB=$${RANLIB}" \
7282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7288 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7289 maybe-mostlyclean-fileutils:
7291 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7293 mostlyclean-fileutils:
7294 @[ -f ./fileutils/Makefile ] || exit 0; \
7295 r=`${PWD_COMMAND}`; export r; \
7296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 for flag in $(EXTRA_HOST_FLAGS) ; do \
7300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 echo "Doing mostlyclean in fileutils" ; \
7304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7306 "RANLIB=$${RANLIB}" \
7307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7313 .PHONY: maybe-clean-fileutils clean-fileutils
7314 maybe-clean-fileutils:
7316 maybe-clean-fileutils: clean-fileutils
7319 @[ -f ./fileutils/Makefile ] || exit 0; \
7320 r=`${PWD_COMMAND}`; export r; \
7321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7324 for flag in $(EXTRA_HOST_FLAGS) ; do \
7325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7327 echo "Doing clean in fileutils" ; \
7329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7331 "RANLIB=$${RANLIB}" \
7332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7338 .PHONY: maybe-distclean-fileutils distclean-fileutils
7339 maybe-distclean-fileutils:
7341 maybe-distclean-fileutils: distclean-fileutils
7343 distclean-fileutils:
7344 @[ -f ./fileutils/Makefile ] || exit 0; \
7345 r=`${PWD_COMMAND}`; export r; \
7346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7349 for flag in $(EXTRA_HOST_FLAGS) ; do \
7350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7352 echo "Doing distclean in fileutils" ; \
7354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7356 "RANLIB=$${RANLIB}" \
7357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7363 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7364 maybe-maintainer-clean-fileutils:
7366 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7368 maintainer-clean-fileutils:
7369 @[ -f ./fileutils/Makefile ] || exit 0; \
7370 r=`${PWD_COMMAND}`; export r; \
7371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7374 for flag in $(EXTRA_HOST_FLAGS) ; do \
7375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7377 echo "Doing maintainer-clean in fileutils" ; \
7379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7381 "RANLIB=$${RANLIB}" \
7382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7389 .PHONY: configure-findutils maybe-configure-findutils
7390 maybe-configure-findutils:
7392 maybe-configure-findutils: configure-findutils
7393 configure-findutils:
7394 @test ! -f findutils/Makefile || exit 0; \
7395 [ -d findutils ] || mkdir findutils; \
7396 r=`${PWD_COMMAND}`; export r; \
7397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7399 echo Configuring in findutils; \
7400 cd findutils || exit 1; \
7403 srcdiroption="--srcdir=."; \
7405 /* | [A-Za-z]:[\\/]*) \
7406 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7407 libsrcdir="$$s/findutils";; \
7409 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7410 libsrcdir="$$s/findutils";; \
7412 $(SHELL) $${libsrcdir}/configure \
7413 $(HOST_CONFIGARGS) $${srcdiroption} \
7417 .PHONY: all-findutils maybe-all-findutils
7418 maybe-all-findutils:
7420 TARGET-findutils=all
7421 maybe-all-findutils: all-findutils
7422 all-findutils: configure-findutils
7423 @r=`${PWD_COMMAND}`; export r; \
7424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7427 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7428 $(TARGET-findutils))
7431 .PHONY: check-findutils maybe-check-findutils
7432 maybe-check-findutils:
7434 maybe-check-findutils: check-findutils
7437 @r=`${PWD_COMMAND}`; export r; \
7438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7445 .PHONY: install-findutils maybe-install-findutils
7446 maybe-install-findutils:
7448 maybe-install-findutils: install-findutils
7450 install-findutils: installdirs
7451 @r=`${PWD_COMMAND}`; export r; \
7452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7459 # Other targets (info, dvi, etc.)
7461 .PHONY: maybe-info-findutils info-findutils
7462 maybe-info-findutils:
7464 maybe-info-findutils: info-findutils
7468 @[ -f ./findutils/Makefile ] || exit 0; \
7469 r=`${PWD_COMMAND}`; export r; \
7470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 for flag in $(EXTRA_HOST_FLAGS) ; do \
7474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7476 echo "Doing info in findutils" ; \
7478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7480 "RANLIB=$${RANLIB}" \
7481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7487 .PHONY: maybe-dvi-findutils dvi-findutils
7488 maybe-dvi-findutils:
7490 maybe-dvi-findutils: dvi-findutils
7494 @[ -f ./findutils/Makefile ] || exit 0; \
7495 r=`${PWD_COMMAND}`; export r; \
7496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7499 for flag in $(EXTRA_HOST_FLAGS) ; do \
7500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7502 echo "Doing dvi in findutils" ; \
7504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7506 "RANLIB=$${RANLIB}" \
7507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7513 .PHONY: maybe-TAGS-findutils TAGS-findutils
7514 maybe-TAGS-findutils:
7516 maybe-TAGS-findutils: TAGS-findutils
7520 @[ -f ./findutils/Makefile ] || exit 0; \
7521 r=`${PWD_COMMAND}`; export r; \
7522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7525 for flag in $(EXTRA_HOST_FLAGS) ; do \
7526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7528 echo "Doing TAGS in findutils" ; \
7530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532 "RANLIB=$${RANLIB}" \
7533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7539 .PHONY: maybe-install-info-findutils install-info-findutils
7540 maybe-install-info-findutils:
7542 maybe-install-info-findutils: install-info-findutils
7544 install-info-findutils: \
7545 configure-findutils \
7547 @[ -f ./findutils/Makefile ] || exit 0; \
7548 r=`${PWD_COMMAND}`; export r; \
7549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552 for flag in $(EXTRA_HOST_FLAGS) ; do \
7553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7555 echo "Doing install-info in findutils" ; \
7557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7559 "RANLIB=$${RANLIB}" \
7560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7566 .PHONY: maybe-installcheck-findutils installcheck-findutils
7567 maybe-installcheck-findutils:
7569 maybe-installcheck-findutils: installcheck-findutils
7571 installcheck-findutils: \
7573 @[ -f ./findutils/Makefile ] || exit 0; \
7574 r=`${PWD_COMMAND}`; export r; \
7575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 for flag in $(EXTRA_HOST_FLAGS) ; do \
7579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7581 echo "Doing installcheck in findutils" ; \
7583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7585 "RANLIB=$${RANLIB}" \
7586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7592 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7593 maybe-mostlyclean-findutils:
7595 maybe-mostlyclean-findutils: mostlyclean-findutils
7597 mostlyclean-findutils:
7598 @[ -f ./findutils/Makefile ] || exit 0; \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7603 for flag in $(EXTRA_HOST_FLAGS) ; do \
7604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7606 echo "Doing mostlyclean in findutils" ; \
7608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610 "RANLIB=$${RANLIB}" \
7611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7617 .PHONY: maybe-clean-findutils clean-findutils
7618 maybe-clean-findutils:
7620 maybe-clean-findutils: clean-findutils
7623 @[ -f ./findutils/Makefile ] || exit 0; \
7624 r=`${PWD_COMMAND}`; export r; \
7625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 for flag in $(EXTRA_HOST_FLAGS) ; do \
7629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631 echo "Doing clean in findutils" ; \
7633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7635 "RANLIB=$${RANLIB}" \
7636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7642 .PHONY: maybe-distclean-findutils distclean-findutils
7643 maybe-distclean-findutils:
7645 maybe-distclean-findutils: distclean-findutils
7647 distclean-findutils:
7648 @[ -f ./findutils/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656 echo "Doing distclean in findutils" ; \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7667 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7668 maybe-maintainer-clean-findutils:
7670 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7672 maintainer-clean-findutils:
7673 @[ -f ./findutils/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7678 for flag in $(EXTRA_HOST_FLAGS) ; do \
7679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7681 echo "Doing maintainer-clean in findutils" ; \
7683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685 "RANLIB=$${RANLIB}" \
7686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7693 .PHONY: configure-find maybe-configure-find
7694 maybe-configure-find:
7696 maybe-configure-find: configure-find
7698 @test ! -f find/Makefile || exit 0; \
7699 [ -d find ] || mkdir find; \
7700 r=`${PWD_COMMAND}`; export r; \
7701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 echo Configuring in find; \
7704 cd find || exit 1; \
7707 srcdiroption="--srcdir=."; \
7709 /* | [A-Za-z]:[\\/]*) \
7710 srcdiroption="--srcdir=$(srcdir)/find"; \
7711 libsrcdir="$$s/find";; \
7713 srcdiroption="--srcdir=../$(srcdir)/find"; \
7714 libsrcdir="$$s/find";; \
7716 $(SHELL) $${libsrcdir}/configure \
7717 $(HOST_CONFIGARGS) $${srcdiroption} \
7721 .PHONY: all-find maybe-all-find
7725 maybe-all-find: all-find
7726 all-find: configure-find
7727 @r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7731 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
7735 .PHONY: check-find maybe-check-find
7738 maybe-check-find: check-find
7741 @r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7745 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7749 .PHONY: install-find maybe-install-find
7752 maybe-install-find: install-find
7754 install-find: installdirs
7755 @r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7759 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7763 # Other targets (info, dvi, etc.)
7765 .PHONY: maybe-info-find info-find
7768 maybe-info-find: info-find
7772 @[ -f ./find/Makefile ] || exit 0; \
7773 r=`${PWD_COMMAND}`; export r; \
7774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7777 for flag in $(EXTRA_HOST_FLAGS) ; do \
7778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7780 echo "Doing info in find" ; \
7782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7784 "RANLIB=$${RANLIB}" \
7785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7791 .PHONY: maybe-dvi-find dvi-find
7794 maybe-dvi-find: dvi-find
7798 @[ -f ./find/Makefile ] || exit 0; \
7799 r=`${PWD_COMMAND}`; export r; \
7800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 for flag in $(EXTRA_HOST_FLAGS) ; do \
7804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 echo "Doing dvi in find" ; \
7808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7810 "RANLIB=$${RANLIB}" \
7811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7817 .PHONY: maybe-TAGS-find TAGS-find
7820 maybe-TAGS-find: TAGS-find
7824 @[ -f ./find/Makefile ] || exit 0; \
7825 r=`${PWD_COMMAND}`; export r; \
7826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 for flag in $(EXTRA_HOST_FLAGS) ; do \
7830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832 echo "Doing TAGS in find" ; \
7834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7836 "RANLIB=$${RANLIB}" \
7837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7843 .PHONY: maybe-install-info-find install-info-find
7844 maybe-install-info-find:
7846 maybe-install-info-find: install-info-find
7848 install-info-find: \
7851 @[ -f ./find/Makefile ] || exit 0; \
7852 r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7856 for flag in $(EXTRA_HOST_FLAGS) ; do \
7857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7859 echo "Doing install-info in find" ; \
7861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7863 "RANLIB=$${RANLIB}" \
7864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7870 .PHONY: maybe-installcheck-find installcheck-find
7871 maybe-installcheck-find:
7873 maybe-installcheck-find: installcheck-find
7875 installcheck-find: \
7877 @[ -f ./find/Makefile ] || exit 0; \
7878 r=`${PWD_COMMAND}`; export r; \
7879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7882 for flag in $(EXTRA_HOST_FLAGS) ; do \
7883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7885 echo "Doing installcheck in find" ; \
7887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7889 "RANLIB=$${RANLIB}" \
7890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7896 .PHONY: maybe-mostlyclean-find mostlyclean-find
7897 maybe-mostlyclean-find:
7899 maybe-mostlyclean-find: mostlyclean-find
7902 @[ -f ./find/Makefile ] || exit 0; \
7903 r=`${PWD_COMMAND}`; export r; \
7904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7907 for flag in $(EXTRA_HOST_FLAGS) ; do \
7908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7910 echo "Doing mostlyclean in find" ; \
7912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7914 "RANLIB=$${RANLIB}" \
7915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7921 .PHONY: maybe-clean-find clean-find
7924 maybe-clean-find: clean-find
7927 @[ -f ./find/Makefile ] || exit 0; \
7928 r=`${PWD_COMMAND}`; export r; \
7929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7932 for flag in $(EXTRA_HOST_FLAGS) ; do \
7933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7935 echo "Doing clean in find" ; \
7937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7939 "RANLIB=$${RANLIB}" \
7940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7946 .PHONY: maybe-distclean-find distclean-find
7947 maybe-distclean-find:
7949 maybe-distclean-find: distclean-find
7952 @[ -f ./find/Makefile ] || exit 0; \
7953 r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7957 for flag in $(EXTRA_HOST_FLAGS) ; do \
7958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7960 echo "Doing distclean in find" ; \
7962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964 "RANLIB=$${RANLIB}" \
7965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7971 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7972 maybe-maintainer-clean-find:
7974 maybe-maintainer-clean-find: maintainer-clean-find
7976 maintainer-clean-find:
7977 @[ -f ./find/Makefile ] || exit 0; \
7978 r=`${PWD_COMMAND}`; export r; \
7979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7982 for flag in $(EXTRA_HOST_FLAGS) ; do \
7983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7985 echo "Doing maintainer-clean in find" ; \
7987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7989 "RANLIB=$${RANLIB}" \
7990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7997 .PHONY: configure-flex maybe-configure-flex
7998 maybe-configure-flex:
8000 maybe-configure-flex: configure-flex
8002 @test ! -f flex/Makefile || exit 0; \
8003 [ -d flex ] || mkdir flex; \
8004 r=`${PWD_COMMAND}`; export r; \
8005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8007 echo Configuring in flex; \
8008 cd flex || exit 1; \
8011 srcdiroption="--srcdir=."; \
8013 /* | [A-Za-z]:[\\/]*) \
8014 srcdiroption="--srcdir=$(srcdir)/flex"; \
8015 libsrcdir="$$s/flex";; \
8017 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8018 libsrcdir="$$s/flex";; \
8020 $(SHELL) $${libsrcdir}/configure \
8021 $(HOST_CONFIGARGS) $${srcdiroption} \
8025 .PHONY: all-flex maybe-all-flex
8029 maybe-all-flex: all-flex
8030 all-flex: configure-flex
8031 @r=`${PWD_COMMAND}`; export r; \
8032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8035 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8039 .PHONY: check-flex maybe-check-flex
8042 maybe-check-flex: check-flex
8044 # This module is only tested in a native toolchain.
8046 @if [ '$(host)' = '$(target)' ] ; then \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8056 .PHONY: install-flex maybe-install-flex
8059 maybe-install-flex: install-flex
8061 install-flex: installdirs
8062 @r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8066 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8070 # Other targets (info, dvi, etc.)
8072 .PHONY: maybe-info-flex info-flex
8075 maybe-info-flex: info-flex
8079 @[ -f ./flex/Makefile ] || exit 0; \
8080 r=`${PWD_COMMAND}`; export r; \
8081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8084 for flag in $(EXTRA_HOST_FLAGS) ; do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8087 echo "Doing info in flex" ; \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8098 .PHONY: maybe-dvi-flex dvi-flex
8101 maybe-dvi-flex: dvi-flex
8105 @[ -f ./flex/Makefile ] || exit 0; \
8106 r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8110 for flag in $(EXTRA_HOST_FLAGS) ; do \
8111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8113 echo "Doing dvi in flex" ; \
8115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8117 "RANLIB=$${RANLIB}" \
8118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8124 .PHONY: maybe-TAGS-flex TAGS-flex
8127 maybe-TAGS-flex: TAGS-flex
8131 @[ -f ./flex/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8136 for flag in $(EXTRA_HOST_FLAGS) ; do \
8137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8139 echo "Doing TAGS in flex" ; \
8141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8143 "RANLIB=$${RANLIB}" \
8144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8150 .PHONY: maybe-install-info-flex install-info-flex
8151 maybe-install-info-flex:
8153 maybe-install-info-flex: install-info-flex
8155 install-info-flex: \
8158 @[ -f ./flex/Makefile ] || exit 0; \
8159 r=`${PWD_COMMAND}`; export r; \
8160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8163 for flag in $(EXTRA_HOST_FLAGS) ; do \
8164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8166 echo "Doing install-info in flex" ; \
8168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8170 "RANLIB=$${RANLIB}" \
8171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8177 .PHONY: maybe-installcheck-flex installcheck-flex
8178 maybe-installcheck-flex:
8180 maybe-installcheck-flex: installcheck-flex
8182 installcheck-flex: \
8184 @[ -f ./flex/Makefile ] || exit 0; \
8185 r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8189 for flag in $(EXTRA_HOST_FLAGS) ; do \
8190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8192 echo "Doing installcheck in flex" ; \
8194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8196 "RANLIB=$${RANLIB}" \
8197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8203 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8204 maybe-mostlyclean-flex:
8206 maybe-mostlyclean-flex: mostlyclean-flex
8209 @[ -f ./flex/Makefile ] || exit 0; \
8210 r=`${PWD_COMMAND}`; export r; \
8211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8214 for flag in $(EXTRA_HOST_FLAGS) ; do \
8215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8217 echo "Doing mostlyclean in flex" ; \
8219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8221 "RANLIB=$${RANLIB}" \
8222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8228 .PHONY: maybe-clean-flex clean-flex
8231 maybe-clean-flex: clean-flex
8234 @[ -f ./flex/Makefile ] || exit 0; \
8235 r=`${PWD_COMMAND}`; export r; \
8236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8239 for flag in $(EXTRA_HOST_FLAGS) ; do \
8240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8242 echo "Doing clean in flex" ; \
8244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8246 "RANLIB=$${RANLIB}" \
8247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8253 .PHONY: maybe-distclean-flex distclean-flex
8254 maybe-distclean-flex:
8256 maybe-distclean-flex: distclean-flex
8259 @[ -f ./flex/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264 for flag in $(EXTRA_HOST_FLAGS) ; do \
8265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8267 echo "Doing distclean in flex" ; \
8269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8271 "RANLIB=$${RANLIB}" \
8272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8278 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8279 maybe-maintainer-clean-flex:
8281 maybe-maintainer-clean-flex: maintainer-clean-flex
8283 maintainer-clean-flex:
8284 @[ -f ./flex/Makefile ] || exit 0; \
8285 r=`${PWD_COMMAND}`; export r; \
8286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 for flag in $(EXTRA_HOST_FLAGS) ; do \
8290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8292 echo "Doing maintainer-clean in flex" ; \
8294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296 "RANLIB=$${RANLIB}" \
8297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8304 .PHONY: configure-gas maybe-configure-gas
8305 maybe-configure-gas:
8307 maybe-configure-gas: configure-gas
8309 @test -f stage_last && exit 0; \
8310 test ! -f gas/Makefile || exit 0; \
8311 [ -d gas ] || mkdir gas; \
8312 r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 echo Configuring in gas; \
8319 srcdiroption="--srcdir=."; \
8321 /* | [A-Za-z]:[\\/]*) \
8322 srcdiroption="--srcdir=$(srcdir)/gas"; \
8323 libsrcdir="$$s/gas";; \
8325 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8326 libsrcdir="$$s/gas";; \
8328 $(SHELL) $${libsrcdir}/configure \
8329 $(HOST_CONFIGARGS) $${srcdiroption} \
8333 .PHONY: all-gas maybe-all-gas
8337 maybe-all-gas: all-gas
8338 all-gas: configure-gas
8339 @test -f stage_last && exit 0; \
8340 r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8344 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
8348 .PHONY: check-gas maybe-check-gas
8351 maybe-check-gas: check-gas
8354 @r=`${PWD_COMMAND}`; export r; \
8355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8358 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8362 .PHONY: install-gas maybe-install-gas
8365 maybe-install-gas: install-gas
8367 install-gas: installdirs
8368 @r=`${PWD_COMMAND}`; export r; \
8369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8372 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8376 # Other targets (info, dvi, etc.)
8378 .PHONY: maybe-info-gas info-gas
8381 maybe-info-gas: info-gas
8385 @[ -f ./gas/Makefile ] || exit 0; \
8386 r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8390 for flag in $(EXTRA_HOST_FLAGS) ; do \
8391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8393 echo "Doing info in gas" ; \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397 "RANLIB=$${RANLIB}" \
8398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8404 .PHONY: maybe-dvi-gas dvi-gas
8407 maybe-dvi-gas: dvi-gas
8411 @[ -f ./gas/Makefile ] || exit 0; \
8412 r=`${PWD_COMMAND}`; export r; \
8413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8419 echo "Doing dvi in gas" ; \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8430 .PHONY: maybe-TAGS-gas TAGS-gas
8433 maybe-TAGS-gas: TAGS-gas
8437 @[ -f ./gas/Makefile ] || exit 0; \
8438 r=`${PWD_COMMAND}`; export r; \
8439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 for flag in $(EXTRA_HOST_FLAGS) ; do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 echo "Doing TAGS in gas" ; \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8456 .PHONY: maybe-install-info-gas install-info-gas
8457 maybe-install-info-gas:
8459 maybe-install-info-gas: install-info-gas
8464 @[ -f ./gas/Makefile ] || exit 0; \
8465 r=`${PWD_COMMAND}`; export r; \
8466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 for flag in $(EXTRA_HOST_FLAGS) ; do \
8470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472 echo "Doing install-info in gas" ; \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8476 "RANLIB=$${RANLIB}" \
8477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8483 .PHONY: maybe-installcheck-gas installcheck-gas
8484 maybe-installcheck-gas:
8486 maybe-installcheck-gas: installcheck-gas
8490 @[ -f ./gas/Makefile ] || exit 0; \
8491 r=`${PWD_COMMAND}`; export r; \
8492 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 installcheck in gas" ; \
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-mostlyclean-gas mostlyclean-gas
8510 maybe-mostlyclean-gas:
8512 maybe-mostlyclean-gas: mostlyclean-gas
8515 @[ -f ./gas/Makefile ] || exit 0; \
8516 r=`${PWD_COMMAND}`; export r; \
8517 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 mostlyclean in gas" ; \
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-clean-gas clean-gas
8537 maybe-clean-gas: clean-gas
8540 @[ -f ./gas/Makefile ] || exit 0; \
8541 r=`${PWD_COMMAND}`; export r; \
8542 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 clean in gas" ; \
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-distclean-gas distclean-gas
8560 maybe-distclean-gas:
8562 maybe-distclean-gas: distclean-gas
8565 @[ -f ./gas/Makefile ] || exit 0; \
8566 r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8570 for flag in $(EXTRA_HOST_FLAGS) ; do \
8571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8573 echo "Doing distclean in gas" ; \
8575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8577 "RANLIB=$${RANLIB}" \
8578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8584 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8585 maybe-maintainer-clean-gas:
8587 maybe-maintainer-clean-gas: maintainer-clean-gas
8589 maintainer-clean-gas:
8590 @[ -f ./gas/Makefile ] || exit 0; \
8591 r=`${PWD_COMMAND}`; export r; \
8592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8595 for flag in $(EXTRA_HOST_FLAGS) ; do \
8596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8598 echo "Doing maintainer-clean in gas" ; \
8600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8602 "RANLIB=$${RANLIB}" \
8603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8610 .PHONY: configure-gcc maybe-configure-gcc
8611 maybe-configure-gcc:
8613 maybe-configure-gcc: configure-gcc
8615 @test -f stage_last && exit 0; \
8616 test ! -f gcc/Makefile || exit 0; \
8617 [ -d gcc ] || mkdir gcc; \
8618 r=`${PWD_COMMAND}`; export r; \
8619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8621 echo Configuring in gcc; \
8625 srcdiroption="--srcdir=."; \
8627 /* | [A-Za-z]:[\\/]*) \
8628 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8629 libsrcdir="$$s/gcc";; \
8631 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8632 libsrcdir="$$s/gcc";; \
8634 $(SHELL) $${libsrcdir}/configure \
8635 $(HOST_CONFIGARGS) $${srcdiroption} \
8639 .PHONY: all-gcc maybe-all-gcc
8642 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
8643 maybe-all-gcc: all-gcc
8644 all-gcc: configure-gcc
8645 @test -f stage_last && exit 0; \
8646 r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8654 .PHONY: check-gcc maybe-check-gcc
8657 maybe-check-gcc: check-gcc
8660 @r=`${PWD_COMMAND}`; export r; \
8661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8664 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8668 .PHONY: install-gcc maybe-install-gcc
8671 maybe-install-gcc: install-gcc
8673 install-gcc: installdirs
8674 @r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8678 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8682 # Other targets (info, dvi, etc.)
8684 .PHONY: maybe-info-gcc info-gcc
8687 maybe-info-gcc: info-gcc
8691 @[ -f ./gcc/Makefile ] || exit 0; \
8692 r=`${PWD_COMMAND}`; export r; \
8693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8696 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8699 echo "Doing info in gcc" ; \
8701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8703 "RANLIB=$${RANLIB}" \
8704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8710 .PHONY: maybe-dvi-gcc dvi-gcc
8713 maybe-dvi-gcc: dvi-gcc
8717 @[ -f ./gcc/Makefile ] || exit 0; \
8718 r=`${PWD_COMMAND}`; export r; \
8719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8722 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8725 echo "Doing dvi in gcc" ; \
8727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8729 "RANLIB=$${RANLIB}" \
8730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8736 .PHONY: maybe-TAGS-gcc TAGS-gcc
8739 maybe-TAGS-gcc: TAGS-gcc
8743 @[ -f ./gcc/Makefile ] || exit 0; \
8744 r=`${PWD_COMMAND}`; export r; \
8745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8748 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8751 echo "Doing TAGS in gcc" ; \
8753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8755 "RANLIB=$${RANLIB}" \
8756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8762 .PHONY: maybe-install-info-gcc install-info-gcc
8763 maybe-install-info-gcc:
8765 maybe-install-info-gcc: install-info-gcc
8770 @[ -f ./gcc/Makefile ] || exit 0; \
8771 r=`${PWD_COMMAND}`; export r; \
8772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8775 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8778 echo "Doing install-info in gcc" ; \
8780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782 "RANLIB=$${RANLIB}" \
8783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8789 .PHONY: maybe-installcheck-gcc installcheck-gcc
8790 maybe-installcheck-gcc:
8792 maybe-installcheck-gcc: installcheck-gcc
8796 @[ -f ./gcc/Makefile ] || exit 0; \
8797 r=`${PWD_COMMAND}`; export r; \
8798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8801 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8804 echo "Doing installcheck in gcc" ; \
8806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8808 "RANLIB=$${RANLIB}" \
8809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8815 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8816 maybe-mostlyclean-gcc:
8818 maybe-mostlyclean-gcc: mostlyclean-gcc
8821 @[ -f ./gcc/Makefile ] || exit 0; \
8822 r=`${PWD_COMMAND}`; export r; \
8823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8826 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8829 echo "Doing mostlyclean in gcc" ; \
8831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8833 "RANLIB=$${RANLIB}" \
8834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8840 .PHONY: maybe-clean-gcc clean-gcc
8843 maybe-clean-gcc: clean-gcc
8846 @[ -f ./gcc/Makefile ] || exit 0; \
8847 r=`${PWD_COMMAND}`; export r; \
8848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8851 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8854 echo "Doing clean in gcc" ; \
8856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8858 "RANLIB=$${RANLIB}" \
8859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8865 .PHONY: maybe-distclean-gcc distclean-gcc
8866 maybe-distclean-gcc:
8868 maybe-distclean-gcc: distclean-gcc
8871 @[ -f ./gcc/Makefile ] || exit 0; \
8872 r=`${PWD_COMMAND}`; export r; \
8873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8879 echo "Doing distclean in gcc" ; \
8881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8883 "RANLIB=$${RANLIB}" \
8884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8890 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8891 maybe-maintainer-clean-gcc:
8893 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8895 maintainer-clean-gcc:
8896 @[ -f ./gcc/Makefile ] || exit 0; \
8897 r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8901 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8904 echo "Doing maintainer-clean in gcc" ; \
8906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8908 "RANLIB=$${RANLIB}" \
8909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8916 .PHONY: configure-gawk maybe-configure-gawk
8917 maybe-configure-gawk:
8919 maybe-configure-gawk: configure-gawk
8921 @test ! -f gawk/Makefile || exit 0; \
8922 [ -d gawk ] || mkdir gawk; \
8923 r=`${PWD_COMMAND}`; export r; \
8924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8926 echo Configuring in gawk; \
8927 cd gawk || exit 1; \
8930 srcdiroption="--srcdir=."; \
8932 /* | [A-Za-z]:[\\/]*) \
8933 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8934 libsrcdir="$$s/gawk";; \
8936 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8937 libsrcdir="$$s/gawk";; \
8939 $(SHELL) $${libsrcdir}/configure \
8940 $(HOST_CONFIGARGS) $${srcdiroption} \
8944 .PHONY: all-gawk maybe-all-gawk
8948 maybe-all-gawk: all-gawk
8949 all-gawk: configure-gawk
8950 @r=`${PWD_COMMAND}`; export r; \
8951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
8958 .PHONY: check-gawk maybe-check-gawk
8961 maybe-check-gawk: check-gawk
8964 @r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8968 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8972 .PHONY: install-gawk maybe-install-gawk
8975 maybe-install-gawk: install-gawk
8977 install-gawk: installdirs
8978 @r=`${PWD_COMMAND}`; export r; \
8979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8986 # Other targets (info, dvi, etc.)
8988 .PHONY: maybe-info-gawk info-gawk
8991 maybe-info-gawk: info-gawk
8995 @[ -f ./gawk/Makefile ] || exit 0; \
8996 r=`${PWD_COMMAND}`; export r; \
8997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9000 for flag in $(EXTRA_HOST_FLAGS) ; do \
9001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9003 echo "Doing info in gawk" ; \
9005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007 "RANLIB=$${RANLIB}" \
9008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9014 .PHONY: maybe-dvi-gawk dvi-gawk
9017 maybe-dvi-gawk: dvi-gawk
9021 @[ -f ./gawk/Makefile ] || exit 0; \
9022 r=`${PWD_COMMAND}`; export r; \
9023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026 for flag in $(EXTRA_HOST_FLAGS) ; do \
9027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9029 echo "Doing dvi in gawk" ; \
9031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9033 "RANLIB=$${RANLIB}" \
9034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040 .PHONY: maybe-TAGS-gawk TAGS-gawk
9043 maybe-TAGS-gawk: TAGS-gawk
9047 @[ -f ./gawk/Makefile ] || exit 0; \
9048 r=`${PWD_COMMAND}`; export r; \
9049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9052 for flag in $(EXTRA_HOST_FLAGS) ; do \
9053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9055 echo "Doing TAGS in gawk" ; \
9057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9059 "RANLIB=$${RANLIB}" \
9060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9066 .PHONY: maybe-install-info-gawk install-info-gawk
9067 maybe-install-info-gawk:
9069 maybe-install-info-gawk: install-info-gawk
9071 install-info-gawk: \
9074 @[ -f ./gawk/Makefile ] || exit 0; \
9075 r=`${PWD_COMMAND}`; export r; \
9076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9079 for flag in $(EXTRA_HOST_FLAGS) ; do \
9080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9082 echo "Doing install-info in gawk" ; \
9084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9086 "RANLIB=$${RANLIB}" \
9087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9093 .PHONY: maybe-installcheck-gawk installcheck-gawk
9094 maybe-installcheck-gawk:
9096 maybe-installcheck-gawk: installcheck-gawk
9098 installcheck-gawk: \
9100 @[ -f ./gawk/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105 for flag in $(EXTRA_HOST_FLAGS) ; do \
9106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9108 echo "Doing installcheck in gawk" ; \
9110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9112 "RANLIB=$${RANLIB}" \
9113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9119 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9120 maybe-mostlyclean-gawk:
9122 maybe-mostlyclean-gawk: mostlyclean-gawk
9125 @[ -f ./gawk/Makefile ] || exit 0; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 for flag in $(EXTRA_HOST_FLAGS) ; do \
9131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9133 echo "Doing mostlyclean in gawk" ; \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9137 "RANLIB=$${RANLIB}" \
9138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9144 .PHONY: maybe-clean-gawk clean-gawk
9147 maybe-clean-gawk: clean-gawk
9150 @[ -f ./gawk/Makefile ] || exit 0; \
9151 r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 for flag in $(EXTRA_HOST_FLAGS) ; do \
9156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9158 echo "Doing clean in gawk" ; \
9160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9162 "RANLIB=$${RANLIB}" \
9163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9169 .PHONY: maybe-distclean-gawk distclean-gawk
9170 maybe-distclean-gawk:
9172 maybe-distclean-gawk: distclean-gawk
9175 @[ -f ./gawk/Makefile ] || exit 0; \
9176 r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 for flag in $(EXTRA_HOST_FLAGS) ; do \
9181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9183 echo "Doing distclean in gawk" ; \
9185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9187 "RANLIB=$${RANLIB}" \
9188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9194 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9195 maybe-maintainer-clean-gawk:
9197 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9199 maintainer-clean-gawk:
9200 @[ -f ./gawk/Makefile ] || exit 0; \
9201 r=`${PWD_COMMAND}`; export r; \
9202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9205 for flag in $(EXTRA_HOST_FLAGS) ; do \
9206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9208 echo "Doing maintainer-clean in gawk" ; \
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}" \
9220 .PHONY: configure-gettext maybe-configure-gettext
9221 maybe-configure-gettext:
9223 maybe-configure-gettext: configure-gettext
9225 @test ! -f gettext/Makefile || exit 0; \
9226 [ -d gettext ] || mkdir gettext; \
9227 r=`${PWD_COMMAND}`; export r; \
9228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 echo Configuring in gettext; \
9231 cd gettext || exit 1; \
9234 srcdiroption="--srcdir=."; \
9236 /* | [A-Za-z]:[\\/]*) \
9237 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9238 libsrcdir="$$s/gettext";; \
9240 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9241 libsrcdir="$$s/gettext";; \
9243 $(SHELL) $${libsrcdir}/configure \
9244 $(HOST_CONFIGARGS) $${srcdiroption} \
9248 .PHONY: all-gettext maybe-all-gettext
9252 maybe-all-gettext: all-gettext
9253 all-gettext: configure-gettext
9254 @r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9258 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
9262 .PHONY: check-gettext maybe-check-gettext
9263 maybe-check-gettext:
9265 maybe-check-gettext: check-gettext
9268 @r=`${PWD_COMMAND}`; export r; \
9269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9272 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9276 .PHONY: install-gettext maybe-install-gettext
9277 maybe-install-gettext:
9279 maybe-install-gettext: install-gettext
9281 install-gettext: installdirs
9282 @r=`${PWD_COMMAND}`; export r; \
9283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9286 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9290 # Other targets (info, dvi, etc.)
9292 .PHONY: maybe-info-gettext info-gettext
9295 maybe-info-gettext: info-gettext
9299 @[ -f ./gettext/Makefile ] || exit 0; \
9300 r=`${PWD_COMMAND}`; export r; \
9301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304 for flag in $(EXTRA_HOST_FLAGS) ; do \
9305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9307 echo "Doing info in gettext" ; \
9309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9311 "RANLIB=$${RANLIB}" \
9312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9318 .PHONY: maybe-dvi-gettext dvi-gettext
9321 maybe-dvi-gettext: dvi-gettext
9325 @[ -f ./gettext/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9330 for flag in $(EXTRA_HOST_FLAGS) ; do \
9331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9333 echo "Doing dvi in gettext" ; \
9335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9337 "RANLIB=$${RANLIB}" \
9338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9344 .PHONY: maybe-TAGS-gettext TAGS-gettext
9347 maybe-TAGS-gettext: TAGS-gettext
9351 @[ -f ./gettext/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9356 for flag in $(EXTRA_HOST_FLAGS) ; do \
9357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9359 echo "Doing TAGS in gettext" ; \
9361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9363 "RANLIB=$${RANLIB}" \
9364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370 .PHONY: maybe-install-info-gettext install-info-gettext
9371 maybe-install-info-gettext:
9373 maybe-install-info-gettext: install-info-gettext
9375 install-info-gettext: \
9378 @[ -f ./gettext/Makefile ] || exit 0; \
9379 r=`${PWD_COMMAND}`; export r; \
9380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9383 for flag in $(EXTRA_HOST_FLAGS) ; do \
9384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9386 echo "Doing install-info in gettext" ; \
9388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9390 "RANLIB=$${RANLIB}" \
9391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9397 .PHONY: maybe-installcheck-gettext installcheck-gettext
9398 maybe-installcheck-gettext:
9400 maybe-installcheck-gettext: installcheck-gettext
9402 installcheck-gettext: \
9404 @[ -f ./gettext/Makefile ] || exit 0; \
9405 r=`${PWD_COMMAND}`; export r; \
9406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9409 for flag in $(EXTRA_HOST_FLAGS) ; do \
9410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9412 echo "Doing installcheck in gettext" ; \
9414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9416 "RANLIB=$${RANLIB}" \
9417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9423 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9424 maybe-mostlyclean-gettext:
9426 maybe-mostlyclean-gettext: mostlyclean-gettext
9428 mostlyclean-gettext:
9429 @[ -f ./gettext/Makefile ] || exit 0; \
9430 r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9434 for flag in $(EXTRA_HOST_FLAGS) ; do \
9435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9437 echo "Doing mostlyclean in gettext" ; \
9439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9441 "RANLIB=$${RANLIB}" \
9442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9448 .PHONY: maybe-clean-gettext clean-gettext
9449 maybe-clean-gettext:
9451 maybe-clean-gettext: clean-gettext
9454 @[ -f ./gettext/Makefile ] || exit 0; \
9455 r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9459 for flag in $(EXTRA_HOST_FLAGS) ; do \
9460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9462 echo "Doing clean in gettext" ; \
9464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9466 "RANLIB=$${RANLIB}" \
9467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9473 .PHONY: maybe-distclean-gettext distclean-gettext
9474 maybe-distclean-gettext:
9476 maybe-distclean-gettext: distclean-gettext
9479 @[ -f ./gettext/Makefile ] || exit 0; \
9480 r=`${PWD_COMMAND}`; export r; \
9481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 for flag in $(EXTRA_HOST_FLAGS) ; do \
9485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 echo "Doing distclean in gettext" ; \
9489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9491 "RANLIB=$${RANLIB}" \
9492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9498 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9499 maybe-maintainer-clean-gettext:
9501 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9503 maintainer-clean-gettext:
9504 @[ -f ./gettext/Makefile ] || exit 0; \
9505 r=`${PWD_COMMAND}`; export r; \
9506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9509 for flag in $(EXTRA_HOST_FLAGS) ; do \
9510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9512 echo "Doing maintainer-clean in gettext" ; \
9514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9516 "RANLIB=$${RANLIB}" \
9517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9524 .PHONY: configure-gnuserv maybe-configure-gnuserv
9525 maybe-configure-gnuserv:
9527 maybe-configure-gnuserv: configure-gnuserv
9529 @test ! -f gnuserv/Makefile || exit 0; \
9530 [ -d gnuserv ] || mkdir gnuserv; \
9531 r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9534 echo Configuring in gnuserv; \
9535 cd gnuserv || exit 1; \
9538 srcdiroption="--srcdir=."; \
9540 /* | [A-Za-z]:[\\/]*) \
9541 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9542 libsrcdir="$$s/gnuserv";; \
9544 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9545 libsrcdir="$$s/gnuserv";; \
9547 $(SHELL) $${libsrcdir}/configure \
9548 $(HOST_CONFIGARGS) $${srcdiroption} \
9552 .PHONY: all-gnuserv maybe-all-gnuserv
9556 maybe-all-gnuserv: all-gnuserv
9557 all-gnuserv: configure-gnuserv
9558 @r=`${PWD_COMMAND}`; export r; \
9559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9562 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
9566 .PHONY: check-gnuserv maybe-check-gnuserv
9567 maybe-check-gnuserv:
9569 maybe-check-gnuserv: check-gnuserv
9572 @r=`${PWD_COMMAND}`; export r; \
9573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9576 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9580 .PHONY: install-gnuserv maybe-install-gnuserv
9581 maybe-install-gnuserv:
9583 maybe-install-gnuserv: install-gnuserv
9585 install-gnuserv: installdirs
9586 @r=`${PWD_COMMAND}`; export r; \
9587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9590 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9594 # Other targets (info, dvi, etc.)
9596 .PHONY: maybe-info-gnuserv info-gnuserv
9599 maybe-info-gnuserv: info-gnuserv
9603 @[ -f ./gnuserv/Makefile ] || exit 0; \
9604 r=`${PWD_COMMAND}`; export r; \
9605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 for flag in $(EXTRA_HOST_FLAGS) ; do \
9609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9611 echo "Doing info in gnuserv" ; \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615 "RANLIB=$${RANLIB}" \
9616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9625 maybe-dvi-gnuserv: dvi-gnuserv
9629 @[ -f ./gnuserv/Makefile ] || exit 0; \
9630 r=`${PWD_COMMAND}`; export r; \
9631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9634 for flag in $(EXTRA_HOST_FLAGS) ; do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9637 echo "Doing dvi in gnuserv" ; \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9648 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9651 maybe-TAGS-gnuserv: TAGS-gnuserv
9655 @[ -f ./gnuserv/Makefile ] || exit 0; \
9656 r=`${PWD_COMMAND}`; export r; \
9657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9660 for flag in $(EXTRA_HOST_FLAGS) ; do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9663 echo "Doing TAGS in gnuserv" ; \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9674 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9675 maybe-install-info-gnuserv:
9677 maybe-install-info-gnuserv: install-info-gnuserv
9679 install-info-gnuserv: \
9682 @[ -f ./gnuserv/Makefile ] || exit 0; \
9683 r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9687 for flag in $(EXTRA_HOST_FLAGS) ; do \
9688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9690 echo "Doing install-info in gnuserv" ; \
9692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9694 "RANLIB=$${RANLIB}" \
9695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9701 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9702 maybe-installcheck-gnuserv:
9704 maybe-installcheck-gnuserv: installcheck-gnuserv
9706 installcheck-gnuserv: \
9708 @[ -f ./gnuserv/Makefile ] || exit 0; \
9709 r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 for flag in $(EXTRA_HOST_FLAGS) ; do \
9714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9716 echo "Doing installcheck in gnuserv" ; \
9718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9720 "RANLIB=$${RANLIB}" \
9721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9727 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9728 maybe-mostlyclean-gnuserv:
9730 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9732 mostlyclean-gnuserv:
9733 @[ -f ./gnuserv/Makefile ] || exit 0; \
9734 r=`${PWD_COMMAND}`; export r; \
9735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9738 for flag in $(EXTRA_HOST_FLAGS) ; do \
9739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9741 echo "Doing mostlyclean in gnuserv" ; \
9743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9745 "RANLIB=$${RANLIB}" \
9746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9752 .PHONY: maybe-clean-gnuserv clean-gnuserv
9753 maybe-clean-gnuserv:
9755 maybe-clean-gnuserv: clean-gnuserv
9758 @[ -f ./gnuserv/Makefile ] || exit 0; \
9759 r=`${PWD_COMMAND}`; export r; \
9760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9763 for flag in $(EXTRA_HOST_FLAGS) ; do \
9764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9766 echo "Doing clean in gnuserv" ; \
9768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9770 "RANLIB=$${RANLIB}" \
9771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9777 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9778 maybe-distclean-gnuserv:
9780 maybe-distclean-gnuserv: distclean-gnuserv
9783 @[ -f ./gnuserv/Makefile ] || exit 0; \
9784 r=`${PWD_COMMAND}`; export r; \
9785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9788 for flag in $(EXTRA_HOST_FLAGS) ; do \
9789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9791 echo "Doing distclean in gnuserv" ; \
9793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9795 "RANLIB=$${RANLIB}" \
9796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9802 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9803 maybe-maintainer-clean-gnuserv:
9805 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9807 maintainer-clean-gnuserv:
9808 @[ -f ./gnuserv/Makefile ] || exit 0; \
9809 r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9813 for flag in $(EXTRA_HOST_FLAGS) ; do \
9814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9816 echo "Doing maintainer-clean in gnuserv" ; \
9818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9820 "RANLIB=$${RANLIB}" \
9821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9828 .PHONY: configure-gprof maybe-configure-gprof
9829 maybe-configure-gprof:
9831 maybe-configure-gprof: configure-gprof
9833 @test ! -f gprof/Makefile || exit 0; \
9834 [ -d gprof ] || mkdir gprof; \
9835 r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838 echo Configuring in gprof; \
9839 cd gprof || exit 1; \
9842 srcdiroption="--srcdir=."; \
9844 /* | [A-Za-z]:[\\/]*) \
9845 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9846 libsrcdir="$$s/gprof";; \
9848 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9849 libsrcdir="$$s/gprof";; \
9851 $(SHELL) $${libsrcdir}/configure \
9852 $(HOST_CONFIGARGS) $${srcdiroption} \
9856 .PHONY: all-gprof maybe-all-gprof
9860 maybe-all-gprof: all-gprof
9861 all-gprof: configure-gprof
9862 @r=`${PWD_COMMAND}`; export r; \
9863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9866 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
9870 .PHONY: check-gprof maybe-check-gprof
9873 maybe-check-gprof: check-gprof
9876 @r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9880 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9884 .PHONY: install-gprof maybe-install-gprof
9885 maybe-install-gprof:
9887 maybe-install-gprof: install-gprof
9889 install-gprof: installdirs
9890 @r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9894 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9898 # Other targets (info, dvi, etc.)
9900 .PHONY: maybe-info-gprof info-gprof
9903 maybe-info-gprof: info-gprof
9907 @[ -f ./gprof/Makefile ] || exit 0; \
9908 r=`${PWD_COMMAND}`; export r; \
9909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9912 for flag in $(EXTRA_HOST_FLAGS) ; do \
9913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9915 echo "Doing info in gprof" ; \
9917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9919 "RANLIB=$${RANLIB}" \
9920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9926 .PHONY: maybe-dvi-gprof dvi-gprof
9929 maybe-dvi-gprof: dvi-gprof
9933 @[ -f ./gprof/Makefile ] || exit 0; \
9934 r=`${PWD_COMMAND}`; export r; \
9935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 for flag in $(EXTRA_HOST_FLAGS) ; do \
9939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9941 echo "Doing dvi in gprof" ; \
9943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9945 "RANLIB=$${RANLIB}" \
9946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9952 .PHONY: maybe-TAGS-gprof TAGS-gprof
9955 maybe-TAGS-gprof: TAGS-gprof
9959 @[ -f ./gprof/Makefile ] || exit 0; \
9960 r=`${PWD_COMMAND}`; export r; \
9961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9964 for flag in $(EXTRA_HOST_FLAGS) ; do \
9965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9967 echo "Doing TAGS in gprof" ; \
9969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9971 "RANLIB=$${RANLIB}" \
9972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9978 .PHONY: maybe-install-info-gprof install-info-gprof
9979 maybe-install-info-gprof:
9981 maybe-install-info-gprof: install-info-gprof
9983 install-info-gprof: \
9986 @[ -f ./gprof/Makefile ] || exit 0; \
9987 r=`${PWD_COMMAND}`; export r; \
9988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 for flag in $(EXTRA_HOST_FLAGS) ; do \
9992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9994 echo "Doing install-info in gprof" ; \
9996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9998 "RANLIB=$${RANLIB}" \
9999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10005 .PHONY: maybe-installcheck-gprof installcheck-gprof
10006 maybe-installcheck-gprof:
10008 maybe-installcheck-gprof: installcheck-gprof
10010 installcheck-gprof: \
10012 @[ -f ./gprof/Makefile ] || exit 0; \
10013 r=`${PWD_COMMAND}`; export r; \
10014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10017 for flag in $(EXTRA_HOST_FLAGS) ; do \
10018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10020 echo "Doing installcheck in gprof" ; \
10022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10024 "RANLIB=$${RANLIB}" \
10025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10031 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10032 maybe-mostlyclean-gprof:
10034 maybe-mostlyclean-gprof: mostlyclean-gprof
10037 @[ -f ./gprof/Makefile ] || exit 0; \
10038 r=`${PWD_COMMAND}`; export r; \
10039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10042 for flag in $(EXTRA_HOST_FLAGS) ; do \
10043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10045 echo "Doing mostlyclean in gprof" ; \
10047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10049 "RANLIB=$${RANLIB}" \
10050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10056 .PHONY: maybe-clean-gprof clean-gprof
10059 maybe-clean-gprof: clean-gprof
10062 @[ -f ./gprof/Makefile ] || exit 0; \
10063 r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10067 for flag in $(EXTRA_HOST_FLAGS) ; do \
10068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10070 echo "Doing clean in gprof" ; \
10072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10074 "RANLIB=$${RANLIB}" \
10075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10081 .PHONY: maybe-distclean-gprof distclean-gprof
10082 maybe-distclean-gprof:
10084 maybe-distclean-gprof: distclean-gprof
10087 @[ -f ./gprof/Makefile ] || exit 0; \
10088 r=`${PWD_COMMAND}`; export r; \
10089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 for flag in $(EXTRA_HOST_FLAGS) ; do \
10093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10095 echo "Doing distclean in gprof" ; \
10097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10099 "RANLIB=$${RANLIB}" \
10100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10106 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10107 maybe-maintainer-clean-gprof:
10109 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10111 maintainer-clean-gprof:
10112 @[ -f ./gprof/Makefile ] || exit 0; \
10113 r=`${PWD_COMMAND}`; export r; \
10114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10117 for flag in $(EXTRA_HOST_FLAGS) ; do \
10118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10120 echo "Doing maintainer-clean in gprof" ; \
10122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10124 "RANLIB=$${RANLIB}" \
10125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10126 maintainer-clean) \
10132 .PHONY: configure-gzip maybe-configure-gzip
10133 maybe-configure-gzip:
10135 maybe-configure-gzip: configure-gzip
10137 @test ! -f gzip/Makefile || exit 0; \
10138 [ -d gzip ] || mkdir gzip; \
10139 r=`${PWD_COMMAND}`; export r; \
10140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 echo Configuring in gzip; \
10143 cd gzip || exit 1; \
10144 case $(srcdir) in \
10146 srcdiroption="--srcdir=."; \
10148 /* | [A-Za-z]:[\\/]*) \
10149 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10150 libsrcdir="$$s/gzip";; \
10152 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10153 libsrcdir="$$s/gzip";; \
10155 $(SHELL) $${libsrcdir}/configure \
10156 $(HOST_CONFIGARGS) $${srcdiroption} \
10160 .PHONY: all-gzip maybe-all-gzip
10164 maybe-all-gzip: all-gzip
10165 all-gzip: configure-gzip
10166 @r=`${PWD_COMMAND}`; export r; \
10167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
10174 .PHONY: check-gzip maybe-check-gzip
10177 maybe-check-gzip: check-gzip
10180 @r=`${PWD_COMMAND}`; export r; \
10181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10188 .PHONY: install-gzip maybe-install-gzip
10189 maybe-install-gzip:
10191 maybe-install-gzip: install-gzip
10193 install-gzip: installdirs
10194 @r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10202 # Other targets (info, dvi, etc.)
10204 .PHONY: maybe-info-gzip info-gzip
10207 maybe-info-gzip: info-gzip
10211 @[ -f ./gzip/Makefile ] || exit 0; \
10212 r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10216 for flag in $(EXTRA_HOST_FLAGS) ; do \
10217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10219 echo "Doing info in gzip" ; \
10221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10223 "RANLIB=$${RANLIB}" \
10224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10230 .PHONY: maybe-dvi-gzip dvi-gzip
10233 maybe-dvi-gzip: dvi-gzip
10237 @[ -f ./gzip/Makefile ] || exit 0; \
10238 r=`${PWD_COMMAND}`; export r; \
10239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 for flag in $(EXTRA_HOST_FLAGS) ; do \
10243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10245 echo "Doing dvi in gzip" ; \
10247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10249 "RANLIB=$${RANLIB}" \
10250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10256 .PHONY: maybe-TAGS-gzip TAGS-gzip
10259 maybe-TAGS-gzip: TAGS-gzip
10263 @[ -f ./gzip/Makefile ] || exit 0; \
10264 r=`${PWD_COMMAND}`; export r; \
10265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10268 for flag in $(EXTRA_HOST_FLAGS) ; do \
10269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10271 echo "Doing TAGS in gzip" ; \
10273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10275 "RANLIB=$${RANLIB}" \
10276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10282 .PHONY: maybe-install-info-gzip install-info-gzip
10283 maybe-install-info-gzip:
10285 maybe-install-info-gzip: install-info-gzip
10287 install-info-gzip: \
10290 @[ -f ./gzip/Makefile ] || exit 0; \
10291 r=`${PWD_COMMAND}`; export r; \
10292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10295 for flag in $(EXTRA_HOST_FLAGS) ; do \
10296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10298 echo "Doing install-info in gzip" ; \
10300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10302 "RANLIB=$${RANLIB}" \
10303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10309 .PHONY: maybe-installcheck-gzip installcheck-gzip
10310 maybe-installcheck-gzip:
10312 maybe-installcheck-gzip: installcheck-gzip
10314 installcheck-gzip: \
10316 @[ -f ./gzip/Makefile ] || exit 0; \
10317 r=`${PWD_COMMAND}`; export r; \
10318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10321 for flag in $(EXTRA_HOST_FLAGS) ; do \
10322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10324 echo "Doing installcheck in gzip" ; \
10326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10328 "RANLIB=$${RANLIB}" \
10329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10335 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10336 maybe-mostlyclean-gzip:
10338 maybe-mostlyclean-gzip: mostlyclean-gzip
10341 @[ -f ./gzip/Makefile ] || exit 0; \
10342 r=`${PWD_COMMAND}`; export r; \
10343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10346 for flag in $(EXTRA_HOST_FLAGS) ; do \
10347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10349 echo "Doing mostlyclean in gzip" ; \
10351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10353 "RANLIB=$${RANLIB}" \
10354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10360 .PHONY: maybe-clean-gzip clean-gzip
10363 maybe-clean-gzip: clean-gzip
10366 @[ -f ./gzip/Makefile ] || exit 0; \
10367 r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10371 for flag in $(EXTRA_HOST_FLAGS) ; do \
10372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10374 echo "Doing clean in gzip" ; \
10376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378 "RANLIB=$${RANLIB}" \
10379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10385 .PHONY: maybe-distclean-gzip distclean-gzip
10386 maybe-distclean-gzip:
10388 maybe-distclean-gzip: distclean-gzip
10391 @[ -f ./gzip/Makefile ] || exit 0; \
10392 r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10396 for flag in $(EXTRA_HOST_FLAGS) ; do \
10397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10399 echo "Doing distclean in gzip" ; \
10401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10403 "RANLIB=$${RANLIB}" \
10404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10410 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10411 maybe-maintainer-clean-gzip:
10413 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10415 maintainer-clean-gzip:
10416 @[ -f ./gzip/Makefile ] || exit 0; \
10417 r=`${PWD_COMMAND}`; export r; \
10418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 for flag in $(EXTRA_HOST_FLAGS) ; do \
10422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10424 echo "Doing maintainer-clean in gzip" ; \
10426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10428 "RANLIB=$${RANLIB}" \
10429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10430 maintainer-clean) \
10436 .PHONY: configure-hello maybe-configure-hello
10437 maybe-configure-hello:
10439 maybe-configure-hello: configure-hello
10441 @test ! -f hello/Makefile || exit 0; \
10442 [ -d hello ] || mkdir hello; \
10443 r=`${PWD_COMMAND}`; export r; \
10444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10446 echo Configuring in hello; \
10447 cd hello || exit 1; \
10448 case $(srcdir) in \
10450 srcdiroption="--srcdir=."; \
10452 /* | [A-Za-z]:[\\/]*) \
10453 srcdiroption="--srcdir=$(srcdir)/hello"; \
10454 libsrcdir="$$s/hello";; \
10456 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10457 libsrcdir="$$s/hello";; \
10459 $(SHELL) $${libsrcdir}/configure \
10460 $(HOST_CONFIGARGS) $${srcdiroption} \
10464 .PHONY: all-hello maybe-all-hello
10468 maybe-all-hello: all-hello
10469 all-hello: configure-hello
10470 @r=`${PWD_COMMAND}`; export r; \
10471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10474 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
10478 .PHONY: check-hello maybe-check-hello
10481 maybe-check-hello: check-hello
10484 @r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10492 .PHONY: install-hello maybe-install-hello
10493 maybe-install-hello:
10495 maybe-install-hello: install-hello
10497 install-hello: installdirs
10498 @r=`${PWD_COMMAND}`; export r; \
10499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10506 # Other targets (info, dvi, etc.)
10508 .PHONY: maybe-info-hello info-hello
10511 maybe-info-hello: info-hello
10515 @[ -f ./hello/Makefile ] || exit 0; \
10516 r=`${PWD_COMMAND}`; export r; \
10517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10520 for flag in $(EXTRA_HOST_FLAGS) ; do \
10521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10523 echo "Doing info in hello" ; \
10525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10527 "RANLIB=$${RANLIB}" \
10528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10534 .PHONY: maybe-dvi-hello dvi-hello
10537 maybe-dvi-hello: dvi-hello
10541 @[ -f ./hello/Makefile ] || exit 0; \
10542 r=`${PWD_COMMAND}`; export r; \
10543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10546 for flag in $(EXTRA_HOST_FLAGS) ; do \
10547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10549 echo "Doing dvi in hello" ; \
10551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10553 "RANLIB=$${RANLIB}" \
10554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10560 .PHONY: maybe-TAGS-hello TAGS-hello
10563 maybe-TAGS-hello: TAGS-hello
10567 @[ -f ./hello/Makefile ] || exit 0; \
10568 r=`${PWD_COMMAND}`; export r; \
10569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10572 for flag in $(EXTRA_HOST_FLAGS) ; do \
10573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10575 echo "Doing TAGS in hello" ; \
10577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10579 "RANLIB=$${RANLIB}" \
10580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10586 .PHONY: maybe-install-info-hello install-info-hello
10587 maybe-install-info-hello:
10589 maybe-install-info-hello: install-info-hello
10591 install-info-hello: \
10594 @[ -f ./hello/Makefile ] || exit 0; \
10595 r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 for flag in $(EXTRA_HOST_FLAGS) ; do \
10600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10602 echo "Doing install-info in hello" ; \
10604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10606 "RANLIB=$${RANLIB}" \
10607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10613 .PHONY: maybe-installcheck-hello installcheck-hello
10614 maybe-installcheck-hello:
10616 maybe-installcheck-hello: installcheck-hello
10618 installcheck-hello: \
10620 @[ -f ./hello/Makefile ] || exit 0; \
10621 r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10625 for flag in $(EXTRA_HOST_FLAGS) ; do \
10626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10628 echo "Doing installcheck in hello" ; \
10630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10632 "RANLIB=$${RANLIB}" \
10633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10639 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10640 maybe-mostlyclean-hello:
10642 maybe-mostlyclean-hello: mostlyclean-hello
10645 @[ -f ./hello/Makefile ] || exit 0; \
10646 r=`${PWD_COMMAND}`; export r; \
10647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10650 for flag in $(EXTRA_HOST_FLAGS) ; do \
10651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10653 echo "Doing mostlyclean in hello" ; \
10655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10657 "RANLIB=$${RANLIB}" \
10658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10664 .PHONY: maybe-clean-hello clean-hello
10667 maybe-clean-hello: clean-hello
10670 @[ -f ./hello/Makefile ] || exit 0; \
10671 r=`${PWD_COMMAND}`; export r; \
10672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10675 for flag in $(EXTRA_HOST_FLAGS) ; do \
10676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10678 echo "Doing clean in hello" ; \
10680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10682 "RANLIB=$${RANLIB}" \
10683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10689 .PHONY: maybe-distclean-hello distclean-hello
10690 maybe-distclean-hello:
10692 maybe-distclean-hello: distclean-hello
10695 @[ -f ./hello/Makefile ] || exit 0; \
10696 r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10700 for flag in $(EXTRA_HOST_FLAGS) ; do \
10701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10703 echo "Doing distclean in hello" ; \
10705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10707 "RANLIB=$${RANLIB}" \
10708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10714 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10715 maybe-maintainer-clean-hello:
10717 maybe-maintainer-clean-hello: maintainer-clean-hello
10719 maintainer-clean-hello:
10720 @[ -f ./hello/Makefile ] || exit 0; \
10721 r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10725 for flag in $(EXTRA_HOST_FLAGS) ; do \
10726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10728 echo "Doing maintainer-clean in hello" ; \
10730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10732 "RANLIB=$${RANLIB}" \
10733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10734 maintainer-clean) \
10740 .PHONY: configure-indent maybe-configure-indent
10741 maybe-configure-indent:
10743 maybe-configure-indent: configure-indent
10745 @test ! -f indent/Makefile || exit 0; \
10746 [ -d indent ] || mkdir indent; \
10747 r=`${PWD_COMMAND}`; export r; \
10748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10750 echo Configuring in indent; \
10751 cd indent || exit 1; \
10752 case $(srcdir) in \
10754 srcdiroption="--srcdir=."; \
10756 /* | [A-Za-z]:[\\/]*) \
10757 srcdiroption="--srcdir=$(srcdir)/indent"; \
10758 libsrcdir="$$s/indent";; \
10760 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10761 libsrcdir="$$s/indent";; \
10763 $(SHELL) $${libsrcdir}/configure \
10764 $(HOST_CONFIGARGS) $${srcdiroption} \
10768 .PHONY: all-indent maybe-all-indent
10772 maybe-all-indent: all-indent
10773 all-indent: configure-indent
10774 @r=`${PWD_COMMAND}`; export r; \
10775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
10782 .PHONY: check-indent maybe-check-indent
10783 maybe-check-indent:
10785 maybe-check-indent: check-indent
10788 @r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10792 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10796 .PHONY: install-indent maybe-install-indent
10797 maybe-install-indent:
10799 maybe-install-indent: install-indent
10801 install-indent: installdirs
10802 @r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10806 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10810 # Other targets (info, dvi, etc.)
10812 .PHONY: maybe-info-indent info-indent
10815 maybe-info-indent: info-indent
10819 @[ -f ./indent/Makefile ] || exit 0; \
10820 r=`${PWD_COMMAND}`; export r; \
10821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10824 for flag in $(EXTRA_HOST_FLAGS) ; do \
10825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10827 echo "Doing info in indent" ; \
10829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10831 "RANLIB=$${RANLIB}" \
10832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10838 .PHONY: maybe-dvi-indent dvi-indent
10841 maybe-dvi-indent: dvi-indent
10845 @[ -f ./indent/Makefile ] || exit 0; \
10846 r=`${PWD_COMMAND}`; export r; \
10847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10850 for flag in $(EXTRA_HOST_FLAGS) ; do \
10851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10853 echo "Doing dvi in indent" ; \
10855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10857 "RANLIB=$${RANLIB}" \
10858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10864 .PHONY: maybe-TAGS-indent TAGS-indent
10867 maybe-TAGS-indent: TAGS-indent
10871 @[ -f ./indent/Makefile ] || exit 0; \
10872 r=`${PWD_COMMAND}`; export r; \
10873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 for flag in $(EXTRA_HOST_FLAGS) ; do \
10877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10879 echo "Doing TAGS in indent" ; \
10881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10883 "RANLIB=$${RANLIB}" \
10884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10890 .PHONY: maybe-install-info-indent install-info-indent
10891 maybe-install-info-indent:
10893 maybe-install-info-indent: install-info-indent
10895 install-info-indent: \
10898 @[ -f ./indent/Makefile ] || exit 0; \
10899 r=`${PWD_COMMAND}`; export r; \
10900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10903 for flag in $(EXTRA_HOST_FLAGS) ; do \
10904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10906 echo "Doing install-info in indent" ; \
10908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10910 "RANLIB=$${RANLIB}" \
10911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10917 .PHONY: maybe-installcheck-indent installcheck-indent
10918 maybe-installcheck-indent:
10920 maybe-installcheck-indent: installcheck-indent
10922 installcheck-indent: \
10924 @[ -f ./indent/Makefile ] || exit 0; \
10925 r=`${PWD_COMMAND}`; export r; \
10926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 for flag in $(EXTRA_HOST_FLAGS) ; do \
10930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10932 echo "Doing installcheck in indent" ; \
10934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10936 "RANLIB=$${RANLIB}" \
10937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10943 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10944 maybe-mostlyclean-indent:
10946 maybe-mostlyclean-indent: mostlyclean-indent
10948 mostlyclean-indent:
10949 @[ -f ./indent/Makefile ] || exit 0; \
10950 r=`${PWD_COMMAND}`; export r; \
10951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 for flag in $(EXTRA_HOST_FLAGS) ; do \
10955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 echo "Doing mostlyclean in indent" ; \
10959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10961 "RANLIB=$${RANLIB}" \
10962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10968 .PHONY: maybe-clean-indent clean-indent
10969 maybe-clean-indent:
10971 maybe-clean-indent: clean-indent
10974 @[ -f ./indent/Makefile ] || exit 0; \
10975 r=`${PWD_COMMAND}`; export r; \
10976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 for flag in $(EXTRA_HOST_FLAGS) ; do \
10980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982 echo "Doing clean in indent" ; \
10984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10986 "RANLIB=$${RANLIB}" \
10987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10993 .PHONY: maybe-distclean-indent distclean-indent
10994 maybe-distclean-indent:
10996 maybe-distclean-indent: distclean-indent
10999 @[ -f ./indent/Makefile ] || exit 0; \
11000 r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 for flag in $(EXTRA_HOST_FLAGS) ; do \
11005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11007 echo "Doing distclean in indent" ; \
11009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011 "RANLIB=$${RANLIB}" \
11012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11018 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11019 maybe-maintainer-clean-indent:
11021 maybe-maintainer-clean-indent: maintainer-clean-indent
11023 maintainer-clean-indent:
11024 @[ -f ./indent/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11029 for flag in $(EXTRA_HOST_FLAGS) ; do \
11030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11032 echo "Doing maintainer-clean in indent" ; \
11034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11036 "RANLIB=$${RANLIB}" \
11037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11038 maintainer-clean) \
11044 .PHONY: configure-intl maybe-configure-intl
11045 maybe-configure-intl:
11047 maybe-configure-intl: configure-intl
11049 @test -f stage_last && exit 0; \
11050 test ! -f intl/Makefile || exit 0; \
11051 [ -d intl ] || mkdir intl; \
11052 r=`${PWD_COMMAND}`; export r; \
11053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11055 echo Configuring in intl; \
11056 cd intl || exit 1; \
11057 case $(srcdir) in \
11059 srcdiroption="--srcdir=."; \
11061 /* | [A-Za-z]:[\\/]*) \
11062 srcdiroption="--srcdir=$(srcdir)/intl"; \
11063 libsrcdir="$$s/intl";; \
11065 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11066 libsrcdir="$$s/intl";; \
11068 $(SHELL) $${libsrcdir}/configure \
11069 $(HOST_CONFIGARGS) $${srcdiroption} \
11073 .PHONY: all-intl maybe-all-intl
11077 maybe-all-intl: all-intl
11078 all-intl: configure-intl
11079 @test -f stage_last && exit 0; \
11080 r=`${PWD_COMMAND}`; export r; \
11081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
11088 .PHONY: check-intl maybe-check-intl
11091 maybe-check-intl: check-intl
11094 @r=`${PWD_COMMAND}`; export r; \
11095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11098 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11102 .PHONY: install-intl maybe-install-intl
11103 maybe-install-intl:
11105 maybe-install-intl: install-intl
11107 install-intl: installdirs
11108 @r=`${PWD_COMMAND}`; export r; \
11109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11112 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11116 # Other targets (info, dvi, etc.)
11118 .PHONY: maybe-info-intl info-intl
11121 maybe-info-intl: info-intl
11125 @[ -f ./intl/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11130 for flag in $(EXTRA_HOST_FLAGS) ; do \
11131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11133 echo "Doing info in intl" ; \
11135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137 "RANLIB=$${RANLIB}" \
11138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11144 .PHONY: maybe-dvi-intl dvi-intl
11147 maybe-dvi-intl: dvi-intl
11151 @[ -f ./intl/Makefile ] || exit 0; \
11152 r=`${PWD_COMMAND}`; export r; \
11153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 for flag in $(EXTRA_HOST_FLAGS) ; do \
11157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 echo "Doing dvi in intl" ; \
11161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11163 "RANLIB=$${RANLIB}" \
11164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11170 .PHONY: maybe-TAGS-intl TAGS-intl
11173 maybe-TAGS-intl: TAGS-intl
11177 @[ -f ./intl/Makefile ] || exit 0; \
11178 r=`${PWD_COMMAND}`; export r; \
11179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11182 for flag in $(EXTRA_HOST_FLAGS) ; do \
11183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11185 echo "Doing TAGS in intl" ; \
11187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189 "RANLIB=$${RANLIB}" \
11190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11196 .PHONY: maybe-install-info-intl install-info-intl
11197 maybe-install-info-intl:
11199 maybe-install-info-intl: install-info-intl
11201 install-info-intl: \
11204 @[ -f ./intl/Makefile ] || exit 0; \
11205 r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11209 for flag in $(EXTRA_HOST_FLAGS) ; do \
11210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11212 echo "Doing install-info in intl" ; \
11214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11216 "RANLIB=$${RANLIB}" \
11217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11223 .PHONY: maybe-installcheck-intl installcheck-intl
11224 maybe-installcheck-intl:
11226 maybe-installcheck-intl: installcheck-intl
11228 installcheck-intl: \
11230 @[ -f ./intl/Makefile ] || exit 0; \
11231 r=`${PWD_COMMAND}`; export r; \
11232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 for flag in $(EXTRA_HOST_FLAGS) ; do \
11236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11238 echo "Doing installcheck in intl" ; \
11240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11242 "RANLIB=$${RANLIB}" \
11243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11249 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11250 maybe-mostlyclean-intl:
11252 maybe-mostlyclean-intl: mostlyclean-intl
11255 @[ -f ./intl/Makefile ] || exit 0; \
11256 r=`${PWD_COMMAND}`; export r; \
11257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 for flag in $(EXTRA_HOST_FLAGS) ; do \
11261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11263 echo "Doing mostlyclean in intl" ; \
11265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11267 "RANLIB=$${RANLIB}" \
11268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11274 .PHONY: maybe-clean-intl clean-intl
11277 maybe-clean-intl: clean-intl
11280 @[ -f ./intl/Makefile ] || exit 0; \
11281 r=`${PWD_COMMAND}`; export r; \
11282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11285 for flag in $(EXTRA_HOST_FLAGS) ; do \
11286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11288 echo "Doing clean in intl" ; \
11290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11292 "RANLIB=$${RANLIB}" \
11293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11299 .PHONY: maybe-distclean-intl distclean-intl
11300 maybe-distclean-intl:
11302 maybe-distclean-intl: distclean-intl
11305 @[ -f ./intl/Makefile ] || exit 0; \
11306 r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11310 for flag in $(EXTRA_HOST_FLAGS) ; do \
11311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11313 echo "Doing distclean in intl" ; \
11315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11317 "RANLIB=$${RANLIB}" \
11318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11324 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11325 maybe-maintainer-clean-intl:
11327 maybe-maintainer-clean-intl: maintainer-clean-intl
11329 maintainer-clean-intl:
11330 @[ -f ./intl/Makefile ] || exit 0; \
11331 r=`${PWD_COMMAND}`; export r; \
11332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11335 for flag in $(EXTRA_HOST_FLAGS) ; do \
11336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11338 echo "Doing maintainer-clean in intl" ; \
11340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11342 "RANLIB=$${RANLIB}" \
11343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11344 maintainer-clean) \
11350 .PHONY: configure-tcl maybe-configure-tcl
11351 maybe-configure-tcl:
11353 maybe-configure-tcl: configure-tcl
11355 @test ! -f tcl/Makefile || exit 0; \
11356 [ -d tcl ] || mkdir tcl; \
11357 r=`${PWD_COMMAND}`; export r; \
11358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11360 echo Configuring in tcl; \
11361 cd tcl || exit 1; \
11362 case $(srcdir) in \
11364 srcdiroption="--srcdir=."; \
11366 /* | [A-Za-z]:[\\/]*) \
11367 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11368 libsrcdir="$$s/tcl";; \
11370 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11371 libsrcdir="$$s/tcl";; \
11373 $(SHELL) $${libsrcdir}/configure \
11374 $(HOST_CONFIGARGS) $${srcdiroption} \
11378 .PHONY: all-tcl maybe-all-tcl
11382 maybe-all-tcl: all-tcl
11383 all-tcl: configure-tcl
11384 @r=`${PWD_COMMAND}`; export r; \
11385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11388 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
11392 .PHONY: check-tcl maybe-check-tcl
11395 maybe-check-tcl: check-tcl
11398 @r=`${PWD_COMMAND}`; export r; \
11399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11406 .PHONY: install-tcl maybe-install-tcl
11409 maybe-install-tcl: install-tcl
11411 install-tcl: installdirs
11412 @r=`${PWD_COMMAND}`; export r; \
11413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11416 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11420 # Other targets (info, dvi, etc.)
11422 .PHONY: maybe-info-tcl info-tcl
11425 maybe-info-tcl: info-tcl
11429 @[ -f ./tcl/Makefile ] || exit 0; \
11430 r=`${PWD_COMMAND}`; export r; \
11431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434 for flag in $(EXTRA_HOST_FLAGS) ; do \
11435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11437 echo "Doing info in tcl" ; \
11439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441 "RANLIB=$${RANLIB}" \
11442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11448 .PHONY: maybe-dvi-tcl dvi-tcl
11451 maybe-dvi-tcl: dvi-tcl
11455 @[ -f ./tcl/Makefile ] || exit 0; \
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 for flag in $(EXTRA_HOST_FLAGS) ; do \
11461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11463 echo "Doing dvi in tcl" ; \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11467 "RANLIB=$${RANLIB}" \
11468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11474 .PHONY: maybe-TAGS-tcl TAGS-tcl
11477 maybe-TAGS-tcl: TAGS-tcl
11481 @[ -f ./tcl/Makefile ] || exit 0; \
11482 r=`${PWD_COMMAND}`; export r; \
11483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11486 for flag in $(EXTRA_HOST_FLAGS) ; do \
11487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11489 echo "Doing TAGS in tcl" ; \
11491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11493 "RANLIB=$${RANLIB}" \
11494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11500 .PHONY: maybe-install-info-tcl install-info-tcl
11501 maybe-install-info-tcl:
11503 maybe-install-info-tcl: install-info-tcl
11505 install-info-tcl: \
11508 @[ -f ./tcl/Makefile ] || exit 0; \
11509 r=`${PWD_COMMAND}`; export r; \
11510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11513 for flag in $(EXTRA_HOST_FLAGS) ; do \
11514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11516 echo "Doing install-info in tcl" ; \
11518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11520 "RANLIB=$${RANLIB}" \
11521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11527 .PHONY: maybe-installcheck-tcl installcheck-tcl
11528 maybe-installcheck-tcl:
11530 maybe-installcheck-tcl: installcheck-tcl
11532 installcheck-tcl: \
11534 @[ -f ./tcl/Makefile ] || exit 0; \
11535 r=`${PWD_COMMAND}`; export r; \
11536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11539 for flag in $(EXTRA_HOST_FLAGS) ; do \
11540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11542 echo "Doing installcheck in tcl" ; \
11544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11546 "RANLIB=$${RANLIB}" \
11547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11553 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11554 maybe-mostlyclean-tcl:
11556 maybe-mostlyclean-tcl: mostlyclean-tcl
11558 # tcl doesn't support mostlyclean.
11563 .PHONY: maybe-clean-tcl clean-tcl
11566 maybe-clean-tcl: clean-tcl
11569 @[ -f ./tcl/Makefile ] || exit 0; \
11570 r=`${PWD_COMMAND}`; export r; \
11571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11574 for flag in $(EXTRA_HOST_FLAGS) ; do \
11575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11577 echo "Doing clean in tcl" ; \
11579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11581 "RANLIB=$${RANLIB}" \
11582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11588 .PHONY: maybe-distclean-tcl distclean-tcl
11589 maybe-distclean-tcl:
11591 maybe-distclean-tcl: distclean-tcl
11594 @[ -f ./tcl/Makefile ] || exit 0; \
11595 r=`${PWD_COMMAND}`; export r; \
11596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 for flag in $(EXTRA_HOST_FLAGS) ; do \
11600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11602 echo "Doing distclean in tcl" ; \
11604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11606 "RANLIB=$${RANLIB}" \
11607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11613 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11614 maybe-maintainer-clean-tcl:
11616 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11618 maintainer-clean-tcl:
11619 @[ -f ./tcl/Makefile ] || exit 0; \
11620 r=`${PWD_COMMAND}`; export r; \
11621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11624 for flag in $(EXTRA_HOST_FLAGS) ; do \
11625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11627 echo "Doing maintainer-clean in tcl" ; \
11629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11631 "RANLIB=$${RANLIB}" \
11632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11633 maintainer-clean) \
11639 .PHONY: configure-itcl maybe-configure-itcl
11640 maybe-configure-itcl:
11642 maybe-configure-itcl: configure-itcl
11644 @test ! -f itcl/Makefile || exit 0; \
11645 [ -d itcl ] || mkdir itcl; \
11646 r=`${PWD_COMMAND}`; export r; \
11647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11649 echo Configuring in itcl; \
11650 cd itcl || exit 1; \
11651 case $(srcdir) in \
11653 srcdiroption="--srcdir=."; \
11655 /* | [A-Za-z]:[\\/]*) \
11656 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11657 libsrcdir="$$s/itcl";; \
11659 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11660 libsrcdir="$$s/itcl";; \
11662 $(SHELL) $${libsrcdir}/configure \
11663 $(HOST_CONFIGARGS) $${srcdiroption} \
11667 .PHONY: all-itcl maybe-all-itcl
11671 maybe-all-itcl: all-itcl
11672 all-itcl: configure-itcl
11673 @r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11677 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
11681 .PHONY: check-itcl maybe-check-itcl
11684 maybe-check-itcl: check-itcl
11687 @r=`${PWD_COMMAND}`; export r; \
11688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11691 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11695 .PHONY: install-itcl maybe-install-itcl
11696 maybe-install-itcl:
11698 maybe-install-itcl: install-itcl
11700 install-itcl: installdirs
11701 @r=`${PWD_COMMAND}`; export r; \
11702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11705 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11709 # Other targets (info, dvi, etc.)
11711 .PHONY: maybe-info-itcl info-itcl
11714 maybe-info-itcl: info-itcl
11718 @[ -f ./itcl/Makefile ] || exit 0; \
11719 r=`${PWD_COMMAND}`; export r; \
11720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11723 for flag in $(EXTRA_HOST_FLAGS) ; do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11726 echo "Doing info in itcl" ; \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11737 .PHONY: maybe-dvi-itcl dvi-itcl
11740 maybe-dvi-itcl: dvi-itcl
11744 @[ -f ./itcl/Makefile ] || exit 0; \
11745 r=`${PWD_COMMAND}`; export r; \
11746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11749 for flag in $(EXTRA_HOST_FLAGS) ; do \
11750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11752 echo "Doing dvi in itcl" ; \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11763 .PHONY: maybe-TAGS-itcl TAGS-itcl
11766 maybe-TAGS-itcl: TAGS-itcl
11770 @[ -f ./itcl/Makefile ] || exit 0; \
11771 r=`${PWD_COMMAND}`; export r; \
11772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11775 for flag in $(EXTRA_HOST_FLAGS) ; do \
11776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 echo "Doing TAGS in itcl" ; \
11780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11782 "RANLIB=$${RANLIB}" \
11783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11789 .PHONY: maybe-install-info-itcl install-info-itcl
11790 maybe-install-info-itcl:
11792 maybe-install-info-itcl: install-info-itcl
11794 install-info-itcl: \
11797 @[ -f ./itcl/Makefile ] || exit 0; \
11798 r=`${PWD_COMMAND}`; export r; \
11799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11802 for flag in $(EXTRA_HOST_FLAGS) ; do \
11803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11805 echo "Doing install-info in itcl" ; \
11807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11809 "RANLIB=$${RANLIB}" \
11810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11816 .PHONY: maybe-installcheck-itcl installcheck-itcl
11817 maybe-installcheck-itcl:
11819 maybe-installcheck-itcl: installcheck-itcl
11821 installcheck-itcl: \
11823 @[ -f ./itcl/Makefile ] || exit 0; \
11824 r=`${PWD_COMMAND}`; export r; \
11825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11828 for flag in $(EXTRA_HOST_FLAGS) ; do \
11829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11831 echo "Doing installcheck in itcl" ; \
11833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11835 "RANLIB=$${RANLIB}" \
11836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11842 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11843 maybe-mostlyclean-itcl:
11845 maybe-mostlyclean-itcl: mostlyclean-itcl
11848 @[ -f ./itcl/Makefile ] || exit 0; \
11849 r=`${PWD_COMMAND}`; export r; \
11850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11853 for flag in $(EXTRA_HOST_FLAGS) ; do \
11854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11856 echo "Doing mostlyclean in itcl" ; \
11858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11860 "RANLIB=$${RANLIB}" \
11861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11867 .PHONY: maybe-clean-itcl clean-itcl
11870 maybe-clean-itcl: clean-itcl
11873 @[ -f ./itcl/Makefile ] || exit 0; \
11874 r=`${PWD_COMMAND}`; export r; \
11875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11878 for flag in $(EXTRA_HOST_FLAGS) ; do \
11879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11881 echo "Doing clean in itcl" ; \
11883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11885 "RANLIB=$${RANLIB}" \
11886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11892 .PHONY: maybe-distclean-itcl distclean-itcl
11893 maybe-distclean-itcl:
11895 maybe-distclean-itcl: distclean-itcl
11898 @[ -f ./itcl/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 for flag in $(EXTRA_HOST_FLAGS) ; do \
11904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11906 echo "Doing distclean in itcl" ; \
11908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11910 "RANLIB=$${RANLIB}" \
11911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11917 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11918 maybe-maintainer-clean-itcl:
11920 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11922 maintainer-clean-itcl:
11923 @[ -f ./itcl/Makefile ] || exit 0; \
11924 r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11928 for flag in $(EXTRA_HOST_FLAGS) ; do \
11929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11931 echo "Doing maintainer-clean in itcl" ; \
11933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11935 "RANLIB=$${RANLIB}" \
11936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11937 maintainer-clean) \
11943 .PHONY: configure-ld maybe-configure-ld
11944 maybe-configure-ld:
11946 maybe-configure-ld: configure-ld
11948 @test -f stage_last && exit 0; \
11949 test ! -f ld/Makefile || exit 0; \
11950 [ -d ld ] || mkdir ld; \
11951 r=`${PWD_COMMAND}`; export r; \
11952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11954 echo Configuring in ld; \
11956 case $(srcdir) in \
11958 srcdiroption="--srcdir=."; \
11960 /* | [A-Za-z]:[\\/]*) \
11961 srcdiroption="--srcdir=$(srcdir)/ld"; \
11962 libsrcdir="$$s/ld";; \
11964 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11965 libsrcdir="$$s/ld";; \
11967 $(SHELL) $${libsrcdir}/configure \
11968 $(HOST_CONFIGARGS) $${srcdiroption} \
11972 .PHONY: all-ld maybe-all-ld
11976 maybe-all-ld: all-ld
11977 all-ld: configure-ld
11978 @test -f stage_last && exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11983 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
11987 .PHONY: check-ld maybe-check-ld
11990 maybe-check-ld: check-ld
11993 @r=`${PWD_COMMAND}`; export r; \
11994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11997 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
12001 .PHONY: install-ld maybe-install-ld
12004 maybe-install-ld: install-ld
12006 install-ld: installdirs
12007 @r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12011 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
12015 # Other targets (info, dvi, etc.)
12017 .PHONY: maybe-info-ld info-ld
12020 maybe-info-ld: info-ld
12024 @[ -f ./ld/Makefile ] || exit 0; \
12025 r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12029 for flag in $(EXTRA_HOST_FLAGS) ; do \
12030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12032 echo "Doing info in ld" ; \
12034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12036 "RANLIB=$${RANLIB}" \
12037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12043 .PHONY: maybe-dvi-ld dvi-ld
12046 maybe-dvi-ld: dvi-ld
12050 @[ -f ./ld/Makefile ] || exit 0; \
12051 r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12055 for flag in $(EXTRA_HOST_FLAGS) ; do \
12056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12058 echo "Doing dvi in ld" ; \
12060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12062 "RANLIB=$${RANLIB}" \
12063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12069 .PHONY: maybe-TAGS-ld TAGS-ld
12072 maybe-TAGS-ld: TAGS-ld
12076 @[ -f ./ld/Makefile ] || exit 0; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 for flag in $(EXTRA_HOST_FLAGS) ; do \
12082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12084 echo "Doing TAGS in ld" ; \
12086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088 "RANLIB=$${RANLIB}" \
12089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12095 .PHONY: maybe-install-info-ld install-info-ld
12096 maybe-install-info-ld:
12098 maybe-install-info-ld: install-info-ld
12103 @[ -f ./ld/Makefile ] || exit 0; \
12104 r=`${PWD_COMMAND}`; export r; \
12105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12108 for flag in $(EXTRA_HOST_FLAGS) ; do \
12109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12111 echo "Doing install-info in ld" ; \
12113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12115 "RANLIB=$${RANLIB}" \
12116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12122 .PHONY: maybe-installcheck-ld installcheck-ld
12123 maybe-installcheck-ld:
12125 maybe-installcheck-ld: installcheck-ld
12129 @[ -f ./ld/Makefile ] || exit 0; \
12130 r=`${PWD_COMMAND}`; export r; \
12131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12134 for flag in $(EXTRA_HOST_FLAGS) ; do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12137 echo "Doing installcheck in ld" ; \
12139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141 "RANLIB=$${RANLIB}" \
12142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12148 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12149 maybe-mostlyclean-ld:
12151 maybe-mostlyclean-ld: mostlyclean-ld
12154 @[ -f ./ld/Makefile ] || exit 0; \
12155 r=`${PWD_COMMAND}`; export r; \
12156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12159 for flag in $(EXTRA_HOST_FLAGS) ; do \
12160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12162 echo "Doing mostlyclean in ld" ; \
12164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12166 "RANLIB=$${RANLIB}" \
12167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12173 .PHONY: maybe-clean-ld clean-ld
12176 maybe-clean-ld: clean-ld
12179 @[ -f ./ld/Makefile ] || exit 0; \
12180 r=`${PWD_COMMAND}`; export r; \
12181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 for flag in $(EXTRA_HOST_FLAGS) ; do \
12185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12187 echo "Doing clean in ld" ; \
12189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12191 "RANLIB=$${RANLIB}" \
12192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12198 .PHONY: maybe-distclean-ld distclean-ld
12199 maybe-distclean-ld:
12201 maybe-distclean-ld: distclean-ld
12204 @[ -f ./ld/Makefile ] || exit 0; \
12205 r=`${PWD_COMMAND}`; export r; \
12206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12209 for flag in $(EXTRA_HOST_FLAGS) ; do \
12210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12212 echo "Doing distclean in ld" ; \
12214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12216 "RANLIB=$${RANLIB}" \
12217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12223 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12224 maybe-maintainer-clean-ld:
12226 maybe-maintainer-clean-ld: maintainer-clean-ld
12228 maintainer-clean-ld:
12229 @[ -f ./ld/Makefile ] || exit 0; \
12230 r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12234 for flag in $(EXTRA_HOST_FLAGS) ; do \
12235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12237 echo "Doing maintainer-clean in ld" ; \
12239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12241 "RANLIB=$${RANLIB}" \
12242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12243 maintainer-clean) \
12249 .PHONY: configure-libcpp maybe-configure-libcpp
12250 maybe-configure-libcpp:
12252 maybe-configure-libcpp: configure-libcpp
12254 @test -f stage_last && exit 0; \
12255 test ! -f libcpp/Makefile || exit 0; \
12256 [ -d libcpp ] || mkdir libcpp; \
12257 r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12260 echo Configuring in libcpp; \
12261 cd libcpp || exit 1; \
12262 case $(srcdir) in \
12264 srcdiroption="--srcdir=."; \
12266 /* | [A-Za-z]:[\\/]*) \
12267 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12268 libsrcdir="$$s/libcpp";; \
12270 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12271 libsrcdir="$$s/libcpp";; \
12273 $(SHELL) $${libsrcdir}/configure \
12274 $(HOST_CONFIGARGS) $${srcdiroption} \
12278 .PHONY: all-libcpp maybe-all-libcpp
12282 maybe-all-libcpp: all-libcpp
12283 all-libcpp: configure-libcpp
12284 @test -f stage_last && exit 0; \
12285 r=`${PWD_COMMAND}`; export r; \
12286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12289 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
12293 .PHONY: check-libcpp maybe-check-libcpp
12294 maybe-check-libcpp:
12296 maybe-check-libcpp: check-libcpp
12299 @r=`${PWD_COMMAND}`; export r; \
12300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12303 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12307 .PHONY: install-libcpp maybe-install-libcpp
12308 maybe-install-libcpp:
12310 maybe-install-libcpp: install-libcpp
12312 install-libcpp: installdirs
12313 @r=`${PWD_COMMAND}`; export r; \
12314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12321 # Other targets (info, dvi, etc.)
12323 .PHONY: maybe-info-libcpp info-libcpp
12326 maybe-info-libcpp: info-libcpp
12330 @[ -f ./libcpp/Makefile ] || exit 0; \
12331 r=`${PWD_COMMAND}`; export r; \
12332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12335 for flag in $(EXTRA_HOST_FLAGS) ; do \
12336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12338 echo "Doing info in libcpp" ; \
12340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12342 "RANLIB=$${RANLIB}" \
12343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12349 .PHONY: maybe-dvi-libcpp dvi-libcpp
12352 maybe-dvi-libcpp: dvi-libcpp
12356 @[ -f ./libcpp/Makefile ] || exit 0; \
12357 r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12361 for flag in $(EXTRA_HOST_FLAGS) ; do \
12362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12364 echo "Doing dvi in libcpp" ; \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12368 "RANLIB=$${RANLIB}" \
12369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12375 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12378 maybe-TAGS-libcpp: TAGS-libcpp
12382 @[ -f ./libcpp/Makefile ] || exit 0; \
12383 r=`${PWD_COMMAND}`; export r; \
12384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12387 for flag in $(EXTRA_HOST_FLAGS) ; do \
12388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12390 echo "Doing TAGS in libcpp" ; \
12392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12394 "RANLIB=$${RANLIB}" \
12395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12401 .PHONY: maybe-install-info-libcpp install-info-libcpp
12402 maybe-install-info-libcpp:
12404 maybe-install-info-libcpp: install-info-libcpp
12406 install-info-libcpp: \
12409 @[ -f ./libcpp/Makefile ] || exit 0; \
12410 r=`${PWD_COMMAND}`; export r; \
12411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12414 for flag in $(EXTRA_HOST_FLAGS) ; do \
12415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12417 echo "Doing install-info in libcpp" ; \
12419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12421 "RANLIB=$${RANLIB}" \
12422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12428 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12429 maybe-installcheck-libcpp:
12431 maybe-installcheck-libcpp: installcheck-libcpp
12433 installcheck-libcpp: \
12435 @[ -f ./libcpp/Makefile ] || exit 0; \
12436 r=`${PWD_COMMAND}`; export r; \
12437 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 installcheck in libcpp" ; \
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-mostlyclean-libcpp mostlyclean-libcpp
12455 maybe-mostlyclean-libcpp:
12457 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12459 mostlyclean-libcpp:
12460 @[ -f ./libcpp/Makefile ] || exit 0; \
12461 r=`${PWD_COMMAND}`; export r; \
12462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12465 for flag in $(EXTRA_HOST_FLAGS) ; do \
12466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12468 echo "Doing mostlyclean in libcpp" ; \
12470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12472 "RANLIB=$${RANLIB}" \
12473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12479 .PHONY: maybe-clean-libcpp clean-libcpp
12480 maybe-clean-libcpp:
12482 maybe-clean-libcpp: clean-libcpp
12485 @[ -f ./libcpp/Makefile ] || exit 0; \
12486 r=`${PWD_COMMAND}`; export r; \
12487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12490 for flag in $(EXTRA_HOST_FLAGS) ; do \
12491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12493 echo "Doing clean in libcpp" ; \
12495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12497 "RANLIB=$${RANLIB}" \
12498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12504 .PHONY: maybe-distclean-libcpp distclean-libcpp
12505 maybe-distclean-libcpp:
12507 maybe-distclean-libcpp: distclean-libcpp
12510 @[ -f ./libcpp/Makefile ] || exit 0; \
12511 r=`${PWD_COMMAND}`; export r; \
12512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12515 for flag in $(EXTRA_HOST_FLAGS) ; do \
12516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12518 echo "Doing distclean in libcpp" ; \
12520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12522 "RANLIB=$${RANLIB}" \
12523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12529 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12530 maybe-maintainer-clean-libcpp:
12532 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12534 maintainer-clean-libcpp:
12535 @[ -f ./libcpp/Makefile ] || exit 0; \
12536 r=`${PWD_COMMAND}`; export r; \
12537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12540 for flag in $(EXTRA_HOST_FLAGS) ; do \
12541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12543 echo "Doing maintainer-clean in libcpp" ; \
12545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12547 "RANLIB=$${RANLIB}" \
12548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12549 maintainer-clean) \
12555 .PHONY: configure-libgui maybe-configure-libgui
12556 maybe-configure-libgui:
12558 maybe-configure-libgui: configure-libgui
12560 @test ! -f libgui/Makefile || exit 0; \
12561 [ -d libgui ] || mkdir libgui; \
12562 r=`${PWD_COMMAND}`; export r; \
12563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12565 echo Configuring in libgui; \
12566 cd libgui || exit 1; \
12567 case $(srcdir) in \
12569 srcdiroption="--srcdir=."; \
12571 /* | [A-Za-z]:[\\/]*) \
12572 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12573 libsrcdir="$$s/libgui";; \
12575 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12576 libsrcdir="$$s/libgui";; \
12578 $(SHELL) $${libsrcdir}/configure \
12579 $(HOST_CONFIGARGS) $${srcdiroption} \
12583 .PHONY: all-libgui maybe-all-libgui
12587 maybe-all-libgui: all-libgui
12588 all-libgui: configure-libgui
12589 @r=`${PWD_COMMAND}`; export r; \
12590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
12597 .PHONY: check-libgui maybe-check-libgui
12598 maybe-check-libgui:
12600 maybe-check-libgui: check-libgui
12603 @r=`${PWD_COMMAND}`; export r; \
12604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12607 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12611 .PHONY: install-libgui maybe-install-libgui
12612 maybe-install-libgui:
12614 maybe-install-libgui: install-libgui
12616 install-libgui: installdirs
12617 @r=`${PWD_COMMAND}`; export r; \
12618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12621 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12625 # Other targets (info, dvi, etc.)
12627 .PHONY: maybe-info-libgui info-libgui
12630 maybe-info-libgui: info-libgui
12634 @[ -f ./libgui/Makefile ] || exit 0; \
12635 r=`${PWD_COMMAND}`; export r; \
12636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12639 for flag in $(EXTRA_HOST_FLAGS) ; do \
12640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12642 echo "Doing info in libgui" ; \
12644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12646 "RANLIB=$${RANLIB}" \
12647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12653 .PHONY: maybe-dvi-libgui dvi-libgui
12656 maybe-dvi-libgui: dvi-libgui
12660 @[ -f ./libgui/Makefile ] || exit 0; \
12661 r=`${PWD_COMMAND}`; export r; \
12662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12665 for flag in $(EXTRA_HOST_FLAGS) ; do \
12666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12668 echo "Doing dvi in libgui" ; \
12670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12672 "RANLIB=$${RANLIB}" \
12673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12679 .PHONY: maybe-TAGS-libgui TAGS-libgui
12682 maybe-TAGS-libgui: TAGS-libgui
12686 @[ -f ./libgui/Makefile ] || exit 0; \
12687 r=`${PWD_COMMAND}`; export r; \
12688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12691 for flag in $(EXTRA_HOST_FLAGS) ; do \
12692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12694 echo "Doing TAGS in libgui" ; \
12696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12698 "RANLIB=$${RANLIB}" \
12699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12705 .PHONY: maybe-install-info-libgui install-info-libgui
12706 maybe-install-info-libgui:
12708 maybe-install-info-libgui: install-info-libgui
12710 install-info-libgui: \
12713 @[ -f ./libgui/Makefile ] || exit 0; \
12714 r=`${PWD_COMMAND}`; export r; \
12715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12718 for flag in $(EXTRA_HOST_FLAGS) ; do \
12719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12721 echo "Doing install-info in libgui" ; \
12723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12725 "RANLIB=$${RANLIB}" \
12726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12732 .PHONY: maybe-installcheck-libgui installcheck-libgui
12733 maybe-installcheck-libgui:
12735 maybe-installcheck-libgui: installcheck-libgui
12737 installcheck-libgui: \
12739 @[ -f ./libgui/Makefile ] || exit 0; \
12740 r=`${PWD_COMMAND}`; export r; \
12741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12744 for flag in $(EXTRA_HOST_FLAGS) ; do \
12745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12747 echo "Doing installcheck in libgui" ; \
12749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12751 "RANLIB=$${RANLIB}" \
12752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12758 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12759 maybe-mostlyclean-libgui:
12761 maybe-mostlyclean-libgui: mostlyclean-libgui
12763 mostlyclean-libgui:
12764 @[ -f ./libgui/Makefile ] || exit 0; \
12765 r=`${PWD_COMMAND}`; export r; \
12766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12769 for flag in $(EXTRA_HOST_FLAGS) ; do \
12770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12772 echo "Doing mostlyclean in libgui" ; \
12774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776 "RANLIB=$${RANLIB}" \
12777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12783 .PHONY: maybe-clean-libgui clean-libgui
12784 maybe-clean-libgui:
12786 maybe-clean-libgui: clean-libgui
12789 @[ -f ./libgui/Makefile ] || exit 0; \
12790 r=`${PWD_COMMAND}`; export r; \
12791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12794 for flag in $(EXTRA_HOST_FLAGS) ; do \
12795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12797 echo "Doing clean in libgui" ; \
12799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12801 "RANLIB=$${RANLIB}" \
12802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12808 .PHONY: maybe-distclean-libgui distclean-libgui
12809 maybe-distclean-libgui:
12811 maybe-distclean-libgui: distclean-libgui
12814 @[ -f ./libgui/Makefile ] || exit 0; \
12815 r=`${PWD_COMMAND}`; export r; \
12816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12819 for flag in $(EXTRA_HOST_FLAGS) ; do \
12820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12822 echo "Doing distclean in libgui" ; \
12824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12826 "RANLIB=$${RANLIB}" \
12827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12833 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12834 maybe-maintainer-clean-libgui:
12836 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12838 maintainer-clean-libgui:
12839 @[ -f ./libgui/Makefile ] || exit 0; \
12840 r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12844 for flag in $(EXTRA_HOST_FLAGS) ; do \
12845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12847 echo "Doing maintainer-clean in libgui" ; \
12849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12851 "RANLIB=$${RANLIB}" \
12852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12853 maintainer-clean) \
12859 .PHONY: configure-libiberty maybe-configure-libiberty
12860 maybe-configure-libiberty:
12862 maybe-configure-libiberty: configure-libiberty
12863 configure-libiberty:
12864 @test -f stage_last && exit 0; \
12865 test ! -f libiberty/Makefile || exit 0; \
12866 [ -d libiberty ] || mkdir libiberty; \
12867 r=`${PWD_COMMAND}`; export r; \
12868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12870 echo Configuring in libiberty; \
12871 cd libiberty || exit 1; \
12872 case $(srcdir) in \
12874 srcdiroption="--srcdir=."; \
12876 /* | [A-Za-z]:[\\/]*) \
12877 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12878 libsrcdir="$$s/libiberty";; \
12880 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12881 libsrcdir="$$s/libiberty";; \
12883 $(SHELL) $${libsrcdir}/configure \
12884 $(HOST_CONFIGARGS) $${srcdiroption} \
12888 .PHONY: all-libiberty maybe-all-libiberty
12889 maybe-all-libiberty:
12891 TARGET-libiberty=all
12892 maybe-all-libiberty: all-libiberty
12893 all-libiberty: configure-libiberty
12894 @test -f stage_last && exit 0; \
12895 r=`${PWD_COMMAND}`; export r; \
12896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
12900 $(TARGET-libiberty))
12903 .PHONY: check-libiberty maybe-check-libiberty
12904 maybe-check-libiberty:
12906 maybe-check-libiberty: check-libiberty
12909 @r=`${PWD_COMMAND}`; export r; \
12910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12917 .PHONY: install-libiberty maybe-install-libiberty
12918 maybe-install-libiberty:
12920 maybe-install-libiberty: install-libiberty
12922 install-libiberty: installdirs
12923 @r=`${PWD_COMMAND}`; export r; \
12924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12927 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12931 # Other targets (info, dvi, etc.)
12933 .PHONY: maybe-info-libiberty info-libiberty
12934 maybe-info-libiberty:
12936 maybe-info-libiberty: info-libiberty
12939 configure-libiberty
12940 @[ -f ./libiberty/Makefile ] || exit 0; \
12941 r=`${PWD_COMMAND}`; export r; \
12942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 for flag in $(EXTRA_HOST_FLAGS) ; do \
12946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 echo "Doing info in libiberty" ; \
12950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12952 "RANLIB=$${RANLIB}" \
12953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12959 .PHONY: maybe-dvi-libiberty dvi-libiberty
12960 maybe-dvi-libiberty:
12962 maybe-dvi-libiberty: dvi-libiberty
12965 configure-libiberty
12966 @[ -f ./libiberty/Makefile ] || exit 0; \
12967 r=`${PWD_COMMAND}`; export r; \
12968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12971 for flag in $(EXTRA_HOST_FLAGS) ; do \
12972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12974 echo "Doing dvi in libiberty" ; \
12976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12978 "RANLIB=$${RANLIB}" \
12979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12985 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12986 maybe-TAGS-libiberty:
12988 maybe-TAGS-libiberty: TAGS-libiberty
12991 configure-libiberty
12992 @[ -f ./libiberty/Makefile ] || exit 0; \
12993 r=`${PWD_COMMAND}`; export r; \
12994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12997 for flag in $(EXTRA_HOST_FLAGS) ; do \
12998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13000 echo "Doing TAGS in libiberty" ; \
13002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13004 "RANLIB=$${RANLIB}" \
13005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13011 .PHONY: maybe-install-info-libiberty install-info-libiberty
13012 maybe-install-info-libiberty:
13014 maybe-install-info-libiberty: install-info-libiberty
13016 install-info-libiberty: \
13017 configure-libiberty \
13019 @[ -f ./libiberty/Makefile ] || exit 0; \
13020 r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 for flag in $(EXTRA_HOST_FLAGS) ; do \
13025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13027 echo "Doing install-info in libiberty" ; \
13029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031 "RANLIB=$${RANLIB}" \
13032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13038 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13039 maybe-installcheck-libiberty:
13041 maybe-installcheck-libiberty: installcheck-libiberty
13043 installcheck-libiberty: \
13044 configure-libiberty
13045 @[ -f ./libiberty/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 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 installcheck in libiberty" ; \
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-mostlyclean-libiberty mostlyclean-libiberty
13065 maybe-mostlyclean-libiberty:
13067 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13069 mostlyclean-libiberty:
13070 @[ -f ./libiberty/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 for flag in $(EXTRA_HOST_FLAGS) ; do \
13076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13078 echo "Doing mostlyclean in libiberty" ; \
13080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13082 "RANLIB=$${RANLIB}" \
13083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13089 .PHONY: maybe-clean-libiberty clean-libiberty
13090 maybe-clean-libiberty:
13092 maybe-clean-libiberty: clean-libiberty
13095 @[ -f ./libiberty/Makefile ] || exit 0; \
13096 r=`${PWD_COMMAND}`; export r; \
13097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13100 for flag in $(EXTRA_HOST_FLAGS) ; do \
13101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13103 echo "Doing clean in libiberty" ; \
13105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13107 "RANLIB=$${RANLIB}" \
13108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13114 .PHONY: maybe-distclean-libiberty distclean-libiberty
13115 maybe-distclean-libiberty:
13117 maybe-distclean-libiberty: distclean-libiberty
13119 distclean-libiberty:
13120 @[ -f ./libiberty/Makefile ] || exit 0; \
13121 r=`${PWD_COMMAND}`; export r; \
13122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 for flag in $(EXTRA_HOST_FLAGS) ; do \
13126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13128 echo "Doing distclean in libiberty" ; \
13130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13132 "RANLIB=$${RANLIB}" \
13133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13139 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13140 maybe-maintainer-clean-libiberty:
13142 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13144 maintainer-clean-libiberty:
13145 @[ -f ./libiberty/Makefile ] || exit 0; \
13146 r=`${PWD_COMMAND}`; export r; \
13147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 for flag in $(EXTRA_HOST_FLAGS) ; do \
13151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13153 echo "Doing maintainer-clean in libiberty" ; \
13155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13157 "RANLIB=$${RANLIB}" \
13158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13159 maintainer-clean) \
13165 .PHONY: configure-libtool maybe-configure-libtool
13166 maybe-configure-libtool:
13168 maybe-configure-libtool: configure-libtool
13170 @test ! -f libtool/Makefile || exit 0; \
13171 [ -d libtool ] || mkdir libtool; \
13172 r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 echo Configuring in libtool; \
13176 cd libtool || exit 1; \
13177 case $(srcdir) in \
13179 srcdiroption="--srcdir=."; \
13181 /* | [A-Za-z]:[\\/]*) \
13182 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13183 libsrcdir="$$s/libtool";; \
13185 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13186 libsrcdir="$$s/libtool";; \
13188 $(SHELL) $${libsrcdir}/configure \
13189 $(HOST_CONFIGARGS) $${srcdiroption} \
13193 .PHONY: all-libtool maybe-all-libtool
13197 maybe-all-libtool: all-libtool
13198 all-libtool: configure-libtool
13199 @r=`${PWD_COMMAND}`; export r; \
13200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13203 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
13207 .PHONY: check-libtool maybe-check-libtool
13208 maybe-check-libtool:
13210 maybe-check-libtool: check-libtool
13213 @r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13217 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13221 .PHONY: install-libtool maybe-install-libtool
13222 maybe-install-libtool:
13224 maybe-install-libtool: install-libtool
13226 install-libtool: installdirs
13227 @r=`${PWD_COMMAND}`; export r; \
13228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13231 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13235 # Other targets (info, dvi, etc.)
13237 .PHONY: maybe-info-libtool info-libtool
13238 maybe-info-libtool:
13240 maybe-info-libtool: info-libtool
13244 @[ -f ./libtool/Makefile ] || exit 0; \
13245 r=`${PWD_COMMAND}`; export r; \
13246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13249 for flag in $(EXTRA_HOST_FLAGS) ; do \
13250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13252 echo "Doing info in libtool" ; \
13254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13256 "RANLIB=$${RANLIB}" \
13257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13263 .PHONY: maybe-dvi-libtool dvi-libtool
13266 maybe-dvi-libtool: dvi-libtool
13270 @[ -f ./libtool/Makefile ] || exit 0; \
13271 r=`${PWD_COMMAND}`; export r; \
13272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13275 for flag in $(EXTRA_HOST_FLAGS) ; do \
13276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13278 echo "Doing dvi in libtool" ; \
13280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13282 "RANLIB=$${RANLIB}" \
13283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13289 .PHONY: maybe-TAGS-libtool TAGS-libtool
13290 maybe-TAGS-libtool:
13292 maybe-TAGS-libtool: TAGS-libtool
13296 @[ -f ./libtool/Makefile ] || exit 0; \
13297 r=`${PWD_COMMAND}`; export r; \
13298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13301 for flag in $(EXTRA_HOST_FLAGS) ; do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13304 echo "Doing TAGS in libtool" ; \
13306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308 "RANLIB=$${RANLIB}" \
13309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13315 .PHONY: maybe-install-info-libtool install-info-libtool
13316 maybe-install-info-libtool:
13318 maybe-install-info-libtool: install-info-libtool
13320 install-info-libtool: \
13321 configure-libtool \
13323 @[ -f ./libtool/Makefile ] || exit 0; \
13324 r=`${PWD_COMMAND}`; export r; \
13325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 for flag in $(EXTRA_HOST_FLAGS) ; do \
13329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13331 echo "Doing install-info in libtool" ; \
13333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13335 "RANLIB=$${RANLIB}" \
13336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13342 .PHONY: maybe-installcheck-libtool installcheck-libtool
13343 maybe-installcheck-libtool:
13345 maybe-installcheck-libtool: installcheck-libtool
13347 installcheck-libtool: \
13349 @[ -f ./libtool/Makefile ] || exit 0; \
13350 r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13354 for flag in $(EXTRA_HOST_FLAGS) ; do \
13355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13357 echo "Doing installcheck in libtool" ; \
13359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13361 "RANLIB=$${RANLIB}" \
13362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13368 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13369 maybe-mostlyclean-libtool:
13371 maybe-mostlyclean-libtool: mostlyclean-libtool
13373 mostlyclean-libtool:
13374 @[ -f ./libtool/Makefile ] || exit 0; \
13375 r=`${PWD_COMMAND}`; export r; \
13376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13379 for flag in $(EXTRA_HOST_FLAGS) ; do \
13380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13382 echo "Doing mostlyclean in libtool" ; \
13384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13386 "RANLIB=$${RANLIB}" \
13387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13393 .PHONY: maybe-clean-libtool clean-libtool
13394 maybe-clean-libtool:
13396 maybe-clean-libtool: clean-libtool
13399 @[ -f ./libtool/Makefile ] || exit 0; \
13400 r=`${PWD_COMMAND}`; export r; \
13401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13404 for flag in $(EXTRA_HOST_FLAGS) ; do \
13405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13407 echo "Doing clean in libtool" ; \
13409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13411 "RANLIB=$${RANLIB}" \
13412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13418 .PHONY: maybe-distclean-libtool distclean-libtool
13419 maybe-distclean-libtool:
13421 maybe-distclean-libtool: distclean-libtool
13424 @[ -f ./libtool/Makefile ] || exit 0; \
13425 r=`${PWD_COMMAND}`; export r; \
13426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13429 for flag in $(EXTRA_HOST_FLAGS) ; do \
13430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13432 echo "Doing distclean in libtool" ; \
13434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13436 "RANLIB=$${RANLIB}" \
13437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13443 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13444 maybe-maintainer-clean-libtool:
13446 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13448 maintainer-clean-libtool:
13449 @[ -f ./libtool/Makefile ] || exit 0; \
13450 r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13454 for flag in $(EXTRA_HOST_FLAGS) ; do \
13455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13457 echo "Doing maintainer-clean in libtool" ; \
13459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13461 "RANLIB=$${RANLIB}" \
13462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13463 maintainer-clean) \
13469 .PHONY: configure-m4 maybe-configure-m4
13470 maybe-configure-m4:
13472 maybe-configure-m4: configure-m4
13474 @test ! -f m4/Makefile || exit 0; \
13475 [ -d m4 ] || mkdir m4; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 echo Configuring in m4; \
13481 case $(srcdir) in \
13483 srcdiroption="--srcdir=."; \
13485 /* | [A-Za-z]:[\\/]*) \
13486 srcdiroption="--srcdir=$(srcdir)/m4"; \
13487 libsrcdir="$$s/m4";; \
13489 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13490 libsrcdir="$$s/m4";; \
13492 $(SHELL) $${libsrcdir}/configure \
13493 $(HOST_CONFIGARGS) $${srcdiroption} \
13497 .PHONY: all-m4 maybe-all-m4
13501 maybe-all-m4: all-m4
13502 all-m4: configure-m4
13503 @r=`${PWD_COMMAND}`; export r; \
13504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
13511 .PHONY: check-m4 maybe-check-m4
13514 maybe-check-m4: check-m4
13517 @r=`${PWD_COMMAND}`; export r; \
13518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13521 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13525 .PHONY: install-m4 maybe-install-m4
13528 maybe-install-m4: install-m4
13530 install-m4: installdirs
13531 @r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13535 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13539 # Other targets (info, dvi, etc.)
13541 .PHONY: maybe-info-m4 info-m4
13544 maybe-info-m4: info-m4
13548 @[ -f ./m4/Makefile ] || exit 0; \
13549 r=`${PWD_COMMAND}`; export r; \
13550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13553 for flag in $(EXTRA_HOST_FLAGS) ; do \
13554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556 echo "Doing info in m4" ; \
13558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13560 "RANLIB=$${RANLIB}" \
13561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13567 .PHONY: maybe-dvi-m4 dvi-m4
13570 maybe-dvi-m4: dvi-m4
13574 @[ -f ./m4/Makefile ] || exit 0; \
13575 r=`${PWD_COMMAND}`; export r; \
13576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 for flag in $(EXTRA_HOST_FLAGS) ; do \
13580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 echo "Doing dvi in m4" ; \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586 "RANLIB=$${RANLIB}" \
13587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13593 .PHONY: maybe-TAGS-m4 TAGS-m4
13596 maybe-TAGS-m4: TAGS-m4
13600 @[ -f ./m4/Makefile ] || exit 0; \
13601 r=`${PWD_COMMAND}`; export r; \
13602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13605 for flag in $(EXTRA_HOST_FLAGS) ; do \
13606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13608 echo "Doing TAGS in m4" ; \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13619 .PHONY: maybe-install-info-m4 install-info-m4
13620 maybe-install-info-m4:
13622 maybe-install-info-m4: install-info-m4
13627 @[ -f ./m4/Makefile ] || exit 0; \
13628 r=`${PWD_COMMAND}`; export r; \
13629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13632 for flag in $(EXTRA_HOST_FLAGS) ; do \
13633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13635 echo "Doing install-info in m4" ; \
13637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13639 "RANLIB=$${RANLIB}" \
13640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13646 .PHONY: maybe-installcheck-m4 installcheck-m4
13647 maybe-installcheck-m4:
13649 maybe-installcheck-m4: installcheck-m4
13653 @[ -f ./m4/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 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 installcheck in m4" ; \
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-mostlyclean-m4 mostlyclean-m4
13673 maybe-mostlyclean-m4:
13675 maybe-mostlyclean-m4: mostlyclean-m4
13678 @[ -f ./m4/Makefile ] || exit 0; \
13679 r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 for flag in $(EXTRA_HOST_FLAGS) ; do \
13684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13686 echo "Doing mostlyclean in m4" ; \
13688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13690 "RANLIB=$${RANLIB}" \
13691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13697 .PHONY: maybe-clean-m4 clean-m4
13700 maybe-clean-m4: clean-m4
13703 @[ -f ./m4/Makefile ] || exit 0; \
13704 r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13708 for flag in $(EXTRA_HOST_FLAGS) ; do \
13709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13711 echo "Doing clean in m4" ; \
13713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715 "RANLIB=$${RANLIB}" \
13716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13722 .PHONY: maybe-distclean-m4 distclean-m4
13723 maybe-distclean-m4:
13725 maybe-distclean-m4: distclean-m4
13728 @[ -f ./m4/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13733 for flag in $(EXTRA_HOST_FLAGS) ; do \
13734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13736 echo "Doing distclean in m4" ; \
13738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13740 "RANLIB=$${RANLIB}" \
13741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13747 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13748 maybe-maintainer-clean-m4:
13750 maybe-maintainer-clean-m4: maintainer-clean-m4
13752 maintainer-clean-m4:
13753 @[ -f ./m4/Makefile ] || exit 0; \
13754 r=`${PWD_COMMAND}`; export r; \
13755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13758 for flag in $(EXTRA_HOST_FLAGS) ; do \
13759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13761 echo "Doing maintainer-clean in m4" ; \
13763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13765 "RANLIB=$${RANLIB}" \
13766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13767 maintainer-clean) \
13773 .PHONY: configure-make maybe-configure-make
13774 maybe-configure-make:
13776 maybe-configure-make: configure-make
13778 @test ! -f make/Makefile || exit 0; \
13779 [ -d make ] || mkdir make; \
13780 r=`${PWD_COMMAND}`; export r; \
13781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13783 echo Configuring in make; \
13784 cd make || exit 1; \
13785 case $(srcdir) in \
13787 srcdiroption="--srcdir=."; \
13789 /* | [A-Za-z]:[\\/]*) \
13790 srcdiroption="--srcdir=$(srcdir)/make"; \
13791 libsrcdir="$$s/make";; \
13793 srcdiroption="--srcdir=../$(srcdir)/make"; \
13794 libsrcdir="$$s/make";; \
13796 $(SHELL) $${libsrcdir}/configure \
13797 $(HOST_CONFIGARGS) $${srcdiroption} \
13801 .PHONY: all-make maybe-all-make
13805 maybe-all-make: all-make
13806 all-make: configure-make
13807 @r=`${PWD_COMMAND}`; export r; \
13808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
13815 .PHONY: check-make maybe-check-make
13818 maybe-check-make: check-make
13821 @r=`${PWD_COMMAND}`; export r; \
13822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13829 .PHONY: install-make maybe-install-make
13830 maybe-install-make:
13832 maybe-install-make: install-make
13834 install-make: installdirs
13835 @r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13839 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13843 # Other targets (info, dvi, etc.)
13845 .PHONY: maybe-info-make info-make
13848 maybe-info-make: info-make
13852 @[ -f ./make/Makefile ] || exit 0; \
13853 r=`${PWD_COMMAND}`; export r; \
13854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 for flag in $(EXTRA_HOST_FLAGS) ; do \
13858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13860 echo "Doing info in make" ; \
13862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13864 "RANLIB=$${RANLIB}" \
13865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13871 .PHONY: maybe-dvi-make dvi-make
13874 maybe-dvi-make: dvi-make
13878 @[ -f ./make/Makefile ] || exit 0; \
13879 r=`${PWD_COMMAND}`; export r; \
13880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13883 for flag in $(EXTRA_HOST_FLAGS) ; do \
13884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13886 echo "Doing dvi in make" ; \
13888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13890 "RANLIB=$${RANLIB}" \
13891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13897 .PHONY: maybe-TAGS-make TAGS-make
13900 maybe-TAGS-make: TAGS-make
13904 @[ -f ./make/Makefile ] || exit 0; \
13905 r=`${PWD_COMMAND}`; export r; \
13906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13909 for flag in $(EXTRA_HOST_FLAGS) ; do \
13910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13912 echo "Doing TAGS in make" ; \
13914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13916 "RANLIB=$${RANLIB}" \
13917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13923 .PHONY: maybe-install-info-make install-info-make
13924 maybe-install-info-make:
13926 maybe-install-info-make: install-info-make
13928 install-info-make: \
13931 @[ -f ./make/Makefile ] || exit 0; \
13932 r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13936 for flag in $(EXTRA_HOST_FLAGS) ; do \
13937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13939 echo "Doing install-info in make" ; \
13941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13943 "RANLIB=$${RANLIB}" \
13944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13950 .PHONY: maybe-installcheck-make installcheck-make
13951 maybe-installcheck-make:
13953 maybe-installcheck-make: installcheck-make
13955 installcheck-make: \
13957 @[ -f ./make/Makefile ] || exit 0; \
13958 r=`${PWD_COMMAND}`; export r; \
13959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13962 for flag in $(EXTRA_HOST_FLAGS) ; do \
13963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13965 echo "Doing installcheck in make" ; \
13967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13969 "RANLIB=$${RANLIB}" \
13970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13976 .PHONY: maybe-mostlyclean-make mostlyclean-make
13977 maybe-mostlyclean-make:
13979 maybe-mostlyclean-make: mostlyclean-make
13982 @[ -f ./make/Makefile ] || exit 0; \
13983 r=`${PWD_COMMAND}`; export r; \
13984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13987 for flag in $(EXTRA_HOST_FLAGS) ; do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13990 echo "Doing mostlyclean in make" ; \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14001 .PHONY: maybe-clean-make clean-make
14004 maybe-clean-make: clean-make
14007 @[ -f ./make/Makefile ] || exit 0; \
14008 r=`${PWD_COMMAND}`; export r; \
14009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14012 for flag in $(EXTRA_HOST_FLAGS) ; do \
14013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14015 echo "Doing clean in make" ; \
14017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019 "RANLIB=$${RANLIB}" \
14020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14026 .PHONY: maybe-distclean-make distclean-make
14027 maybe-distclean-make:
14029 maybe-distclean-make: distclean-make
14032 @[ -f ./make/Makefile ] || exit 0; \
14033 r=`${PWD_COMMAND}`; export r; \
14034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14037 for flag in $(EXTRA_HOST_FLAGS) ; do \
14038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14040 echo "Doing distclean in make" ; \
14042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14044 "RANLIB=$${RANLIB}" \
14045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14051 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14052 maybe-maintainer-clean-make:
14054 maybe-maintainer-clean-make: maintainer-clean-make
14056 maintainer-clean-make:
14057 @[ -f ./make/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14062 for flag in $(EXTRA_HOST_FLAGS) ; do \
14063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14065 echo "Doing maintainer-clean in make" ; \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069 "RANLIB=$${RANLIB}" \
14070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14071 maintainer-clean) \
14077 .PHONY: configure-mmalloc maybe-configure-mmalloc
14078 maybe-configure-mmalloc:
14080 maybe-configure-mmalloc: configure-mmalloc
14082 @test ! -f mmalloc/Makefile || exit 0; \
14083 [ -d mmalloc ] || mkdir mmalloc; \
14084 r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 echo Configuring in mmalloc; \
14088 cd mmalloc || exit 1; \
14089 case $(srcdir) in \
14091 srcdiroption="--srcdir=."; \
14093 /* | [A-Za-z]:[\\/]*) \
14094 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14095 libsrcdir="$$s/mmalloc";; \
14097 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14098 libsrcdir="$$s/mmalloc";; \
14100 $(SHELL) $${libsrcdir}/configure \
14101 $(HOST_CONFIGARGS) $${srcdiroption} \
14105 .PHONY: all-mmalloc maybe-all-mmalloc
14109 maybe-all-mmalloc: all-mmalloc
14110 all-mmalloc: configure-mmalloc
14111 @r=`${PWD_COMMAND}`; export r; \
14112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14115 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
14119 .PHONY: check-mmalloc maybe-check-mmalloc
14120 maybe-check-mmalloc:
14122 maybe-check-mmalloc: check-mmalloc
14128 .PHONY: install-mmalloc maybe-install-mmalloc
14129 maybe-install-mmalloc:
14131 maybe-install-mmalloc: install-mmalloc
14133 install-mmalloc: installdirs
14134 @r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14142 # Other targets (info, dvi, etc.)
14144 .PHONY: maybe-info-mmalloc info-mmalloc
14145 maybe-info-mmalloc:
14147 maybe-info-mmalloc: info-mmalloc
14151 @[ -f ./mmalloc/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14156 for flag in $(EXTRA_HOST_FLAGS) ; do \
14157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14159 echo "Doing info in mmalloc" ; \
14161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14163 "RANLIB=$${RANLIB}" \
14164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14170 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14173 maybe-dvi-mmalloc: dvi-mmalloc
14177 @[ -f ./mmalloc/Makefile ] || exit 0; \
14178 r=`${PWD_COMMAND}`; export r; \
14179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14182 for flag in $(EXTRA_HOST_FLAGS) ; do \
14183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14185 echo "Doing dvi in mmalloc" ; \
14187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14189 "RANLIB=$${RANLIB}" \
14190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14196 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14197 maybe-TAGS-mmalloc:
14199 maybe-TAGS-mmalloc: TAGS-mmalloc
14203 @[ -f ./mmalloc/Makefile ] || exit 0; \
14204 r=`${PWD_COMMAND}`; export r; \
14205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14208 for flag in $(EXTRA_HOST_FLAGS) ; do \
14209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14211 echo "Doing TAGS in mmalloc" ; \
14213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14215 "RANLIB=$${RANLIB}" \
14216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14222 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14223 maybe-install-info-mmalloc:
14225 maybe-install-info-mmalloc: install-info-mmalloc
14227 install-info-mmalloc: \
14228 configure-mmalloc \
14230 @[ -f ./mmalloc/Makefile ] || exit 0; \
14231 r=`${PWD_COMMAND}`; export r; \
14232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 for flag in $(EXTRA_HOST_FLAGS) ; do \
14236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14238 echo "Doing install-info in mmalloc" ; \
14240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14242 "RANLIB=$${RANLIB}" \
14243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14249 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14250 maybe-installcheck-mmalloc:
14252 maybe-installcheck-mmalloc: installcheck-mmalloc
14254 installcheck-mmalloc: \
14256 @[ -f ./mmalloc/Makefile ] || exit 0; \
14257 r=`${PWD_COMMAND}`; export r; \
14258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14261 for flag in $(EXTRA_HOST_FLAGS) ; do \
14262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14264 echo "Doing installcheck in mmalloc" ; \
14266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14268 "RANLIB=$${RANLIB}" \
14269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14275 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14276 maybe-mostlyclean-mmalloc:
14278 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14280 mostlyclean-mmalloc:
14281 @[ -f ./mmalloc/Makefile ] || exit 0; \
14282 r=`${PWD_COMMAND}`; export r; \
14283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 for flag in $(EXTRA_HOST_FLAGS) ; do \
14287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14289 echo "Doing mostlyclean in mmalloc" ; \
14291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14293 "RANLIB=$${RANLIB}" \
14294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14300 .PHONY: maybe-clean-mmalloc clean-mmalloc
14301 maybe-clean-mmalloc:
14303 maybe-clean-mmalloc: clean-mmalloc
14306 @[ -f ./mmalloc/Makefile ] || exit 0; \
14307 r=`${PWD_COMMAND}`; export r; \
14308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14311 for flag in $(EXTRA_HOST_FLAGS) ; do \
14312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14314 echo "Doing clean in mmalloc" ; \
14316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318 "RANLIB=$${RANLIB}" \
14319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14325 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14326 maybe-distclean-mmalloc:
14328 maybe-distclean-mmalloc: distclean-mmalloc
14331 @[ -f ./mmalloc/Makefile ] || exit 0; \
14332 r=`${PWD_COMMAND}`; export r; \
14333 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 mmalloc" ; \
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-mmalloc maintainer-clean-mmalloc
14351 maybe-maintainer-clean-mmalloc:
14353 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14355 maintainer-clean-mmalloc:
14356 @[ -f ./mmalloc/Makefile ] || exit 0; \
14357 r=`${PWD_COMMAND}`; export r; \
14358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 for flag in $(EXTRA_HOST_FLAGS) ; do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14364 echo "Doing maintainer-clean in mmalloc" ; \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14370 maintainer-clean) \
14376 .PHONY: configure-patch maybe-configure-patch
14377 maybe-configure-patch:
14379 maybe-configure-patch: configure-patch
14381 @test ! -f patch/Makefile || exit 0; \
14382 [ -d patch ] || mkdir patch; \
14383 r=`${PWD_COMMAND}`; export r; \
14384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14386 echo Configuring in patch; \
14387 cd patch || exit 1; \
14388 case $(srcdir) in \
14390 srcdiroption="--srcdir=."; \
14392 /* | [A-Za-z]:[\\/]*) \
14393 srcdiroption="--srcdir=$(srcdir)/patch"; \
14394 libsrcdir="$$s/patch";; \
14396 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14397 libsrcdir="$$s/patch";; \
14399 $(SHELL) $${libsrcdir}/configure \
14400 $(HOST_CONFIGARGS) $${srcdiroption} \
14404 .PHONY: all-patch maybe-all-patch
14408 maybe-all-patch: all-patch
14409 all-patch: configure-patch
14410 @r=`${PWD_COMMAND}`; export r; \
14411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14414 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
14418 .PHONY: check-patch maybe-check-patch
14421 maybe-check-patch: check-patch
14424 @r=`${PWD_COMMAND}`; export r; \
14425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14428 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14432 .PHONY: install-patch maybe-install-patch
14433 maybe-install-patch:
14435 maybe-install-patch: install-patch
14437 install-patch: installdirs
14438 @r=`${PWD_COMMAND}`; export r; \
14439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14442 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14446 # Other targets (info, dvi, etc.)
14448 .PHONY: maybe-info-patch info-patch
14451 maybe-info-patch: info-patch
14455 @[ -f ./patch/Makefile ] || exit 0; \
14456 r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14460 for flag in $(EXTRA_HOST_FLAGS) ; do \
14461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14463 echo "Doing info in patch" ; \
14465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14467 "RANLIB=$${RANLIB}" \
14468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14474 .PHONY: maybe-dvi-patch dvi-patch
14477 maybe-dvi-patch: dvi-patch
14481 @[ -f ./patch/Makefile ] || exit 0; \
14482 r=`${PWD_COMMAND}`; export r; \
14483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 for flag in $(EXTRA_HOST_FLAGS) ; do \
14487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14489 echo "Doing dvi in patch" ; \
14491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14493 "RANLIB=$${RANLIB}" \
14494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14500 .PHONY: maybe-TAGS-patch TAGS-patch
14503 maybe-TAGS-patch: TAGS-patch
14507 @[ -f ./patch/Makefile ] || exit 0; \
14508 r=`${PWD_COMMAND}`; export r; \
14509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14512 for flag in $(EXTRA_HOST_FLAGS) ; do \
14513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14515 echo "Doing TAGS in patch" ; \
14517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14519 "RANLIB=$${RANLIB}" \
14520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 .PHONY: maybe-install-info-patch install-info-patch
14527 maybe-install-info-patch:
14529 maybe-install-info-patch: install-info-patch
14531 install-info-patch: \
14534 @[ -f ./patch/Makefile ] || exit 0; \
14535 r=`${PWD_COMMAND}`; export r; \
14536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14539 for flag in $(EXTRA_HOST_FLAGS) ; do \
14540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14542 echo "Doing install-info in patch" ; \
14544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14546 "RANLIB=$${RANLIB}" \
14547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14553 .PHONY: maybe-installcheck-patch installcheck-patch
14554 maybe-installcheck-patch:
14556 maybe-installcheck-patch: installcheck-patch
14558 installcheck-patch: \
14560 @[ -f ./patch/Makefile ] || exit 0; \
14561 r=`${PWD_COMMAND}`; export r; \
14562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14565 for flag in $(EXTRA_HOST_FLAGS) ; do \
14566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14568 echo "Doing installcheck in patch" ; \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572 "RANLIB=$${RANLIB}" \
14573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14579 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14580 maybe-mostlyclean-patch:
14582 maybe-mostlyclean-patch: mostlyclean-patch
14585 @[ -f ./patch/Makefile ] || exit 0; \
14586 r=`${PWD_COMMAND}`; export r; \
14587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14590 for flag in $(EXTRA_HOST_FLAGS) ; do \
14591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14593 echo "Doing mostlyclean in patch" ; \
14595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14597 "RANLIB=$${RANLIB}" \
14598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14604 .PHONY: maybe-clean-patch clean-patch
14607 maybe-clean-patch: clean-patch
14610 @[ -f ./patch/Makefile ] || exit 0; \
14611 r=`${PWD_COMMAND}`; export r; \
14612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14615 for flag in $(EXTRA_HOST_FLAGS) ; do \
14616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14618 echo "Doing clean in patch" ; \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14622 "RANLIB=$${RANLIB}" \
14623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14629 .PHONY: maybe-distclean-patch distclean-patch
14630 maybe-distclean-patch:
14632 maybe-distclean-patch: distclean-patch
14635 @[ -f ./patch/Makefile ] || exit 0; \
14636 r=`${PWD_COMMAND}`; export r; \
14637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14640 for flag in $(EXTRA_HOST_FLAGS) ; do \
14641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14643 echo "Doing distclean in patch" ; \
14645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14647 "RANLIB=$${RANLIB}" \
14648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14654 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14655 maybe-maintainer-clean-patch:
14657 maybe-maintainer-clean-patch: maintainer-clean-patch
14659 maintainer-clean-patch:
14660 @[ -f ./patch/Makefile ] || exit 0; \
14661 r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14665 for flag in $(EXTRA_HOST_FLAGS) ; do \
14666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14668 echo "Doing maintainer-clean in patch" ; \
14670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14672 "RANLIB=$${RANLIB}" \
14673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14674 maintainer-clean) \
14680 .PHONY: configure-perl maybe-configure-perl
14681 maybe-configure-perl:
14683 maybe-configure-perl: configure-perl
14685 @test ! -f perl/Makefile || exit 0; \
14686 [ -d perl ] || mkdir perl; \
14687 r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 echo Configuring in perl; \
14691 cd perl || exit 1; \
14692 case $(srcdir) in \
14694 srcdiroption="--srcdir=."; \
14696 /* | [A-Za-z]:[\\/]*) \
14697 srcdiroption="--srcdir=$(srcdir)/perl"; \
14698 libsrcdir="$$s/perl";; \
14700 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14701 libsrcdir="$$s/perl";; \
14703 $(SHELL) $${libsrcdir}/configure \
14704 $(HOST_CONFIGARGS) $${srcdiroption} \
14708 .PHONY: all-perl maybe-all-perl
14712 maybe-all-perl: all-perl
14713 all-perl: configure-perl
14714 @r=`${PWD_COMMAND}`; export r; \
14715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14718 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
14722 .PHONY: check-perl maybe-check-perl
14725 maybe-check-perl: check-perl
14728 @r=`${PWD_COMMAND}`; export r; \
14729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14736 .PHONY: install-perl maybe-install-perl
14737 maybe-install-perl:
14739 maybe-install-perl: install-perl
14741 install-perl: installdirs
14742 @r=`${PWD_COMMAND}`; export r; \
14743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14746 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14750 # Other targets (info, dvi, etc.)
14752 .PHONY: maybe-info-perl info-perl
14755 maybe-info-perl: info-perl
14759 @[ -f ./perl/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14764 for flag in $(EXTRA_HOST_FLAGS) ; do \
14765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14767 echo "Doing info in perl" ; \
14769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771 "RANLIB=$${RANLIB}" \
14772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14778 .PHONY: maybe-dvi-perl dvi-perl
14781 maybe-dvi-perl: dvi-perl
14785 @[ -f ./perl/Makefile ] || exit 0; \
14786 r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14790 for flag in $(EXTRA_HOST_FLAGS) ; do \
14791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14793 echo "Doing dvi in perl" ; \
14795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14797 "RANLIB=$${RANLIB}" \
14798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14804 .PHONY: maybe-TAGS-perl TAGS-perl
14807 maybe-TAGS-perl: TAGS-perl
14811 @[ -f ./perl/Makefile ] || exit 0; \
14812 r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 for flag in $(EXTRA_HOST_FLAGS) ; do \
14817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14819 echo "Doing TAGS in perl" ; \
14821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14823 "RANLIB=$${RANLIB}" \
14824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14830 .PHONY: maybe-install-info-perl install-info-perl
14831 maybe-install-info-perl:
14833 maybe-install-info-perl: install-info-perl
14835 install-info-perl: \
14838 @[ -f ./perl/Makefile ] || exit 0; \
14839 r=`${PWD_COMMAND}`; export r; \
14840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 for flag in $(EXTRA_HOST_FLAGS) ; do \
14844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14846 echo "Doing install-info in perl" ; \
14848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14850 "RANLIB=$${RANLIB}" \
14851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14857 .PHONY: maybe-installcheck-perl installcheck-perl
14858 maybe-installcheck-perl:
14860 maybe-installcheck-perl: installcheck-perl
14862 installcheck-perl: \
14864 @[ -f ./perl/Makefile ] || exit 0; \
14865 r=`${PWD_COMMAND}`; export r; \
14866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14869 for flag in $(EXTRA_HOST_FLAGS) ; do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14872 echo "Doing installcheck in perl" ; \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14883 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14884 maybe-mostlyclean-perl:
14886 maybe-mostlyclean-perl: mostlyclean-perl
14889 @[ -f ./perl/Makefile ] || exit 0; \
14890 r=`${PWD_COMMAND}`; export r; \
14891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14894 for flag in $(EXTRA_HOST_FLAGS) ; do \
14895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14897 echo "Doing mostlyclean in perl" ; \
14899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14901 "RANLIB=$${RANLIB}" \
14902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14908 .PHONY: maybe-clean-perl clean-perl
14911 maybe-clean-perl: clean-perl
14914 @[ -f ./perl/Makefile ] || exit 0; \
14915 r=`${PWD_COMMAND}`; export r; \
14916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 for flag in $(EXTRA_HOST_FLAGS) ; do \
14920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14922 echo "Doing clean in perl" ; \
14924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14926 "RANLIB=$${RANLIB}" \
14927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14933 .PHONY: maybe-distclean-perl distclean-perl
14934 maybe-distclean-perl:
14936 maybe-distclean-perl: distclean-perl
14939 @[ -f ./perl/Makefile ] || exit 0; \
14940 r=`${PWD_COMMAND}`; export r; \
14941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944 for flag in $(EXTRA_HOST_FLAGS) ; do \
14945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14947 echo "Doing distclean in perl" ; \
14949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14951 "RANLIB=$${RANLIB}" \
14952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14958 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14959 maybe-maintainer-clean-perl:
14961 maybe-maintainer-clean-perl: maintainer-clean-perl
14963 maintainer-clean-perl:
14964 @[ -f ./perl/Makefile ] || exit 0; \
14965 r=`${PWD_COMMAND}`; export r; \
14966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14969 for flag in $(EXTRA_HOST_FLAGS) ; do \
14970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14972 echo "Doing maintainer-clean in perl" ; \
14974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14976 "RANLIB=$${RANLIB}" \
14977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14978 maintainer-clean) \
14984 .PHONY: configure-prms maybe-configure-prms
14985 maybe-configure-prms:
14987 maybe-configure-prms: configure-prms
14989 @test ! -f prms/Makefile || exit 0; \
14990 [ -d prms ] || mkdir prms; \
14991 r=`${PWD_COMMAND}`; export r; \
14992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 echo Configuring in prms; \
14995 cd prms || exit 1; \
14996 case $(srcdir) in \
14998 srcdiroption="--srcdir=."; \
15000 /* | [A-Za-z]:[\\/]*) \
15001 srcdiroption="--srcdir=$(srcdir)/prms"; \
15002 libsrcdir="$$s/prms";; \
15004 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15005 libsrcdir="$$s/prms";; \
15007 $(SHELL) $${libsrcdir}/configure \
15008 $(HOST_CONFIGARGS) $${srcdiroption} \
15012 .PHONY: all-prms maybe-all-prms
15016 maybe-all-prms: all-prms
15017 all-prms: configure-prms
15018 @r=`${PWD_COMMAND}`; export r; \
15019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15022 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
15026 .PHONY: check-prms maybe-check-prms
15029 maybe-check-prms: check-prms
15032 @r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15036 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15040 .PHONY: install-prms maybe-install-prms
15041 maybe-install-prms:
15043 maybe-install-prms: install-prms
15045 install-prms: installdirs
15046 @r=`${PWD_COMMAND}`; export r; \
15047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15054 # Other targets (info, dvi, etc.)
15056 .PHONY: maybe-info-prms info-prms
15059 maybe-info-prms: info-prms
15063 @[ -f ./prms/Makefile ] || exit 0; \
15064 r=`${PWD_COMMAND}`; export r; \
15065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15068 for flag in $(EXTRA_HOST_FLAGS) ; do \
15069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15071 echo "Doing info in prms" ; \
15073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15075 "RANLIB=$${RANLIB}" \
15076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15082 .PHONY: maybe-dvi-prms dvi-prms
15085 maybe-dvi-prms: dvi-prms
15089 @[ -f ./prms/Makefile ] || exit 0; \
15090 r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15094 for flag in $(EXTRA_HOST_FLAGS) ; do \
15095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15097 echo "Doing dvi in prms" ; \
15099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15101 "RANLIB=$${RANLIB}" \
15102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15108 .PHONY: maybe-TAGS-prms TAGS-prms
15111 maybe-TAGS-prms: TAGS-prms
15115 @[ -f ./prms/Makefile ] || exit 0; \
15116 r=`${PWD_COMMAND}`; export r; \
15117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15120 for flag in $(EXTRA_HOST_FLAGS) ; do \
15121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15123 echo "Doing TAGS in prms" ; \
15125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15127 "RANLIB=$${RANLIB}" \
15128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15134 .PHONY: maybe-install-info-prms install-info-prms
15135 maybe-install-info-prms:
15137 maybe-install-info-prms: install-info-prms
15139 install-info-prms: \
15142 @[ -f ./prms/Makefile ] || exit 0; \
15143 r=`${PWD_COMMAND}`; export r; \
15144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15147 for flag in $(EXTRA_HOST_FLAGS) ; do \
15148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15150 echo "Doing install-info in prms" ; \
15152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15154 "RANLIB=$${RANLIB}" \
15155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15161 .PHONY: maybe-installcheck-prms installcheck-prms
15162 maybe-installcheck-prms:
15164 maybe-installcheck-prms: installcheck-prms
15166 installcheck-prms: \
15168 @[ -f ./prms/Makefile ] || exit 0; \
15169 r=`${PWD_COMMAND}`; export r; \
15170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15173 for flag in $(EXTRA_HOST_FLAGS) ; do \
15174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15176 echo "Doing installcheck in prms" ; \
15178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15180 "RANLIB=$${RANLIB}" \
15181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15187 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15188 maybe-mostlyclean-prms:
15190 maybe-mostlyclean-prms: mostlyclean-prms
15193 @[ -f ./prms/Makefile ] || exit 0; \
15194 r=`${PWD_COMMAND}`; export r; \
15195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15198 for flag in $(EXTRA_HOST_FLAGS) ; do \
15199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15201 echo "Doing mostlyclean in prms" ; \
15203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15205 "RANLIB=$${RANLIB}" \
15206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15212 .PHONY: maybe-clean-prms clean-prms
15215 maybe-clean-prms: clean-prms
15218 @[ -f ./prms/Makefile ] || exit 0; \
15219 r=`${PWD_COMMAND}`; export r; \
15220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15223 for flag in $(EXTRA_HOST_FLAGS) ; do \
15224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15226 echo "Doing clean in prms" ; \
15228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15230 "RANLIB=$${RANLIB}" \
15231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15237 .PHONY: maybe-distclean-prms distclean-prms
15238 maybe-distclean-prms:
15240 maybe-distclean-prms: distclean-prms
15243 @[ -f ./prms/Makefile ] || exit 0; \
15244 r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15248 for flag in $(EXTRA_HOST_FLAGS) ; do \
15249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15251 echo "Doing distclean in prms" ; \
15253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255 "RANLIB=$${RANLIB}" \
15256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15262 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15263 maybe-maintainer-clean-prms:
15265 maybe-maintainer-clean-prms: maintainer-clean-prms
15267 maintainer-clean-prms:
15268 @[ -f ./prms/Makefile ] || exit 0; \
15269 r=`${PWD_COMMAND}`; export r; \
15270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 for flag in $(EXTRA_HOST_FLAGS) ; do \
15274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15276 echo "Doing maintainer-clean in prms" ; \
15278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15280 "RANLIB=$${RANLIB}" \
15281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15282 maintainer-clean) \
15288 .PHONY: configure-rcs maybe-configure-rcs
15289 maybe-configure-rcs:
15291 maybe-configure-rcs: configure-rcs
15293 @test ! -f rcs/Makefile || exit 0; \
15294 [ -d rcs ] || mkdir rcs; \
15295 r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 echo Configuring in rcs; \
15299 cd rcs || exit 1; \
15300 case $(srcdir) in \
15302 srcdiroption="--srcdir=."; \
15304 /* | [A-Za-z]:[\\/]*) \
15305 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15306 libsrcdir="$$s/rcs";; \
15308 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15309 libsrcdir="$$s/rcs";; \
15311 $(SHELL) $${libsrcdir}/configure \
15312 $(HOST_CONFIGARGS) $${srcdiroption} \
15316 .PHONY: all-rcs maybe-all-rcs
15320 maybe-all-rcs: all-rcs
15321 all-rcs: configure-rcs
15322 @r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15326 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
15330 .PHONY: check-rcs maybe-check-rcs
15333 maybe-check-rcs: check-rcs
15336 @r=`${PWD_COMMAND}`; export r; \
15337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15340 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15344 .PHONY: install-rcs maybe-install-rcs
15347 maybe-install-rcs: install-rcs
15349 install-rcs: installdirs
15350 @r=`${PWD_COMMAND}`; export r; \
15351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15358 # Other targets (info, dvi, etc.)
15360 .PHONY: maybe-info-rcs info-rcs
15363 maybe-info-rcs: info-rcs
15367 @[ -f ./rcs/Makefile ] || exit 0; \
15368 r=`${PWD_COMMAND}`; export r; \
15369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 for flag in $(EXTRA_HOST_FLAGS) ; do \
15373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 echo "Doing info in rcs" ; \
15377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379 "RANLIB=$${RANLIB}" \
15380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15386 .PHONY: maybe-dvi-rcs dvi-rcs
15389 maybe-dvi-rcs: dvi-rcs
15393 @[ -f ./rcs/Makefile ] || exit 0; \
15394 r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15398 for flag in $(EXTRA_HOST_FLAGS) ; do \
15399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15401 echo "Doing dvi in rcs" ; \
15403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405 "RANLIB=$${RANLIB}" \
15406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15412 .PHONY: maybe-TAGS-rcs TAGS-rcs
15415 maybe-TAGS-rcs: TAGS-rcs
15419 @[ -f ./rcs/Makefile ] || exit 0; \
15420 r=`${PWD_COMMAND}`; export r; \
15421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 for flag in $(EXTRA_HOST_FLAGS) ; do \
15425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15427 echo "Doing TAGS in rcs" ; \
15429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15431 "RANLIB=$${RANLIB}" \
15432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15438 .PHONY: maybe-install-info-rcs install-info-rcs
15439 maybe-install-info-rcs:
15441 maybe-install-info-rcs: install-info-rcs
15443 install-info-rcs: \
15446 @[ -f ./rcs/Makefile ] || exit 0; \
15447 r=`${PWD_COMMAND}`; export r; \
15448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15451 for flag in $(EXTRA_HOST_FLAGS) ; do \
15452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15454 echo "Doing install-info in rcs" ; \
15456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458 "RANLIB=$${RANLIB}" \
15459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15465 .PHONY: maybe-installcheck-rcs installcheck-rcs
15466 maybe-installcheck-rcs:
15468 maybe-installcheck-rcs: installcheck-rcs
15470 installcheck-rcs: \
15472 @[ -f ./rcs/Makefile ] || exit 0; \
15473 r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15477 for flag in $(EXTRA_HOST_FLAGS) ; do \
15478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15480 echo "Doing installcheck in rcs" ; \
15482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15484 "RANLIB=$${RANLIB}" \
15485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15491 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15492 maybe-mostlyclean-rcs:
15494 maybe-mostlyclean-rcs: mostlyclean-rcs
15497 @[ -f ./rcs/Makefile ] || exit 0; \
15498 r=`${PWD_COMMAND}`; export r; \
15499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15502 for flag in $(EXTRA_HOST_FLAGS) ; do \
15503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15505 echo "Doing mostlyclean in rcs" ; \
15507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15509 "RANLIB=$${RANLIB}" \
15510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15516 .PHONY: maybe-clean-rcs clean-rcs
15519 maybe-clean-rcs: clean-rcs
15522 @[ -f ./rcs/Makefile ] || exit 0; \
15523 r=`${PWD_COMMAND}`; export r; \
15524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 for flag in $(EXTRA_HOST_FLAGS) ; do \
15528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15530 echo "Doing clean in rcs" ; \
15532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15534 "RANLIB=$${RANLIB}" \
15535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15541 .PHONY: maybe-distclean-rcs distclean-rcs
15542 maybe-distclean-rcs:
15544 maybe-distclean-rcs: distclean-rcs
15547 @[ -f ./rcs/Makefile ] || exit 0; \
15548 r=`${PWD_COMMAND}`; export r; \
15549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 for flag in $(EXTRA_HOST_FLAGS) ; do \
15553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15555 echo "Doing distclean in rcs" ; \
15557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15559 "RANLIB=$${RANLIB}" \
15560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15566 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15567 maybe-maintainer-clean-rcs:
15569 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15571 maintainer-clean-rcs:
15572 @[ -f ./rcs/Makefile ] || exit 0; \
15573 r=`${PWD_COMMAND}`; export r; \
15574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15577 for flag in $(EXTRA_HOST_FLAGS) ; do \
15578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15580 echo "Doing maintainer-clean in rcs" ; \
15582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15584 "RANLIB=$${RANLIB}" \
15585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15586 maintainer-clean) \
15592 .PHONY: configure-readline maybe-configure-readline
15593 maybe-configure-readline:
15595 maybe-configure-readline: configure-readline
15596 configure-readline:
15597 @test ! -f readline/Makefile || exit 0; \
15598 [ -d readline ] || mkdir readline; \
15599 r=`${PWD_COMMAND}`; export r; \
15600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15602 echo Configuring in readline; \
15603 cd readline || exit 1; \
15604 case $(srcdir) in \
15606 srcdiroption="--srcdir=."; \
15608 /* | [A-Za-z]:[\\/]*) \
15609 srcdiroption="--srcdir=$(srcdir)/readline"; \
15610 libsrcdir="$$s/readline";; \
15612 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15613 libsrcdir="$$s/readline";; \
15615 $(SHELL) $${libsrcdir}/configure \
15616 $(HOST_CONFIGARGS) $${srcdiroption} \
15620 .PHONY: all-readline maybe-all-readline
15621 maybe-all-readline:
15623 TARGET-readline=all
15624 maybe-all-readline: all-readline
15625 all-readline: configure-readline
15626 @r=`${PWD_COMMAND}`; export r; \
15627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15630 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
15631 $(TARGET-readline))
15634 .PHONY: check-readline maybe-check-readline
15635 maybe-check-readline:
15637 maybe-check-readline: check-readline
15640 @r=`${PWD_COMMAND}`; export r; \
15641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15644 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15648 .PHONY: install-readline maybe-install-readline
15649 maybe-install-readline:
15651 maybe-install-readline: install-readline
15653 install-readline: installdirs
15654 @r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15662 # Other targets (info, dvi, etc.)
15664 .PHONY: maybe-info-readline info-readline
15665 maybe-info-readline:
15667 maybe-info-readline: info-readline
15671 @[ -f ./readline/Makefile ] || exit 0; \
15672 r=`${PWD_COMMAND}`; export r; \
15673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15676 for flag in $(EXTRA_HOST_FLAGS) ; do \
15677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15679 echo "Doing info in readline" ; \
15681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15683 "RANLIB=$${RANLIB}" \
15684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15690 .PHONY: maybe-dvi-readline dvi-readline
15691 maybe-dvi-readline:
15693 maybe-dvi-readline: dvi-readline
15697 @[ -f ./readline/Makefile ] || exit 0; \
15698 r=`${PWD_COMMAND}`; export r; \
15699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15702 for flag in $(EXTRA_HOST_FLAGS) ; do \
15703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15705 echo "Doing dvi in readline" ; \
15707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15709 "RANLIB=$${RANLIB}" \
15710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15716 .PHONY: maybe-TAGS-readline TAGS-readline
15717 maybe-TAGS-readline:
15719 maybe-TAGS-readline: TAGS-readline
15723 @[ -f ./readline/Makefile ] || exit 0; \
15724 r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15728 for flag in $(EXTRA_HOST_FLAGS) ; do \
15729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15731 echo "Doing TAGS in readline" ; \
15733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15735 "RANLIB=$${RANLIB}" \
15736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15742 .PHONY: maybe-install-info-readline install-info-readline
15743 maybe-install-info-readline:
15745 maybe-install-info-readline: install-info-readline
15747 install-info-readline: \
15748 configure-readline \
15750 @[ -f ./readline/Makefile ] || exit 0; \
15751 r=`${PWD_COMMAND}`; export r; \
15752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15755 for flag in $(EXTRA_HOST_FLAGS) ; do \
15756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15758 echo "Doing install-info in readline" ; \
15760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15762 "RANLIB=$${RANLIB}" \
15763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15769 .PHONY: maybe-installcheck-readline installcheck-readline
15770 maybe-installcheck-readline:
15772 maybe-installcheck-readline: installcheck-readline
15774 installcheck-readline: \
15776 @[ -f ./readline/Makefile ] || exit 0; \
15777 r=`${PWD_COMMAND}`; export r; \
15778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15781 for flag in $(EXTRA_HOST_FLAGS) ; do \
15782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15784 echo "Doing installcheck in readline" ; \
15786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15788 "RANLIB=$${RANLIB}" \
15789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15795 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15796 maybe-mostlyclean-readline:
15798 maybe-mostlyclean-readline: mostlyclean-readline
15800 mostlyclean-readline:
15801 @[ -f ./readline/Makefile ] || exit 0; \
15802 r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15806 for flag in $(EXTRA_HOST_FLAGS) ; do \
15807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15809 echo "Doing mostlyclean in readline" ; \
15811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15813 "RANLIB=$${RANLIB}" \
15814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15820 .PHONY: maybe-clean-readline clean-readline
15821 maybe-clean-readline:
15823 maybe-clean-readline: clean-readline
15826 @[ -f ./readline/Makefile ] || exit 0; \
15827 r=`${PWD_COMMAND}`; export r; \
15828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15834 echo "Doing clean in readline" ; \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15845 .PHONY: maybe-distclean-readline distclean-readline
15846 maybe-distclean-readline:
15848 maybe-distclean-readline: distclean-readline
15850 distclean-readline:
15851 @[ -f ./readline/Makefile ] || exit 0; \
15852 r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 for flag in $(EXTRA_HOST_FLAGS) ; do \
15857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 echo "Doing distclean in readline" ; \
15861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15863 "RANLIB=$${RANLIB}" \
15864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15870 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15871 maybe-maintainer-clean-readline:
15873 maybe-maintainer-clean-readline: maintainer-clean-readline
15875 maintainer-clean-readline:
15876 @[ -f ./readline/Makefile ] || exit 0; \
15877 r=`${PWD_COMMAND}`; export r; \
15878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15881 for flag in $(EXTRA_HOST_FLAGS) ; do \
15882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15884 echo "Doing maintainer-clean in readline" ; \
15886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15888 "RANLIB=$${RANLIB}" \
15889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15890 maintainer-clean) \
15896 .PHONY: configure-release maybe-configure-release
15897 maybe-configure-release:
15899 maybe-configure-release: configure-release
15901 @test ! -f release/Makefile || exit 0; \
15902 [ -d release ] || mkdir release; \
15903 r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15906 echo Configuring in release; \
15907 cd release || exit 1; \
15908 case $(srcdir) in \
15910 srcdiroption="--srcdir=."; \
15912 /* | [A-Za-z]:[\\/]*) \
15913 srcdiroption="--srcdir=$(srcdir)/release"; \
15914 libsrcdir="$$s/release";; \
15916 srcdiroption="--srcdir=../$(srcdir)/release"; \
15917 libsrcdir="$$s/release";; \
15919 $(SHELL) $${libsrcdir}/configure \
15920 $(HOST_CONFIGARGS) $${srcdiroption} \
15924 .PHONY: all-release maybe-all-release
15928 maybe-all-release: all-release
15929 all-release: configure-release
15930 @r=`${PWD_COMMAND}`; export r; \
15931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15934 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
15938 .PHONY: check-release maybe-check-release
15939 maybe-check-release:
15941 maybe-check-release: check-release
15947 .PHONY: install-release maybe-install-release
15948 maybe-install-release:
15950 maybe-install-release: install-release
15956 # Other targets (info, dvi, etc.)
15958 .PHONY: maybe-info-release info-release
15959 maybe-info-release:
15961 maybe-info-release: info-release
15965 @[ -f ./release/Makefile ] || exit 0; \
15966 r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15970 for flag in $(EXTRA_HOST_FLAGS) ; do \
15971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15973 echo "Doing info in release" ; \
15975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15977 "RANLIB=$${RANLIB}" \
15978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15984 .PHONY: maybe-dvi-release dvi-release
15987 maybe-dvi-release: dvi-release
15991 @[ -f ./release/Makefile ] || exit 0; \
15992 r=`${PWD_COMMAND}`; export r; \
15993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15996 for flag in $(EXTRA_HOST_FLAGS) ; do \
15997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15999 echo "Doing dvi in release" ; \
16001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16003 "RANLIB=$${RANLIB}" \
16004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16010 .PHONY: maybe-TAGS-release TAGS-release
16011 maybe-TAGS-release:
16013 maybe-TAGS-release: TAGS-release
16017 @[ -f ./release/Makefile ] || exit 0; \
16018 r=`${PWD_COMMAND}`; export r; \
16019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16022 for flag in $(EXTRA_HOST_FLAGS) ; do \
16023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16025 echo "Doing TAGS in release" ; \
16027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16029 "RANLIB=$${RANLIB}" \
16030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16036 .PHONY: maybe-install-info-release install-info-release
16037 maybe-install-info-release:
16039 maybe-install-info-release: install-info-release
16041 install-info-release: \
16042 configure-release \
16044 @[ -f ./release/Makefile ] || exit 0; \
16045 r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16049 for flag in $(EXTRA_HOST_FLAGS) ; do \
16050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16052 echo "Doing install-info in release" ; \
16054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16056 "RANLIB=$${RANLIB}" \
16057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16063 .PHONY: maybe-installcheck-release installcheck-release
16064 maybe-installcheck-release:
16066 maybe-installcheck-release: installcheck-release
16068 installcheck-release: \
16070 @[ -f ./release/Makefile ] || exit 0; \
16071 r=`${PWD_COMMAND}`; export r; \
16072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16075 for flag in $(EXTRA_HOST_FLAGS) ; do \
16076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16078 echo "Doing installcheck in release" ; \
16080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16082 "RANLIB=$${RANLIB}" \
16083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16089 .PHONY: maybe-mostlyclean-release mostlyclean-release
16090 maybe-mostlyclean-release:
16092 maybe-mostlyclean-release: mostlyclean-release
16094 mostlyclean-release:
16095 @[ -f ./release/Makefile ] || exit 0; \
16096 r=`${PWD_COMMAND}`; export r; \
16097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16100 for flag in $(EXTRA_HOST_FLAGS) ; do \
16101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16103 echo "Doing mostlyclean in release" ; \
16105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16107 "RANLIB=$${RANLIB}" \
16108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16114 .PHONY: maybe-clean-release clean-release
16115 maybe-clean-release:
16117 maybe-clean-release: clean-release
16120 @[ -f ./release/Makefile ] || exit 0; \
16121 r=`${PWD_COMMAND}`; export r; \
16122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 for flag in $(EXTRA_HOST_FLAGS) ; do \
16126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16128 echo "Doing clean in release" ; \
16130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16132 "RANLIB=$${RANLIB}" \
16133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16139 .PHONY: maybe-distclean-release distclean-release
16140 maybe-distclean-release:
16142 maybe-distclean-release: distclean-release
16145 @[ -f ./release/Makefile ] || exit 0; \
16146 r=`${PWD_COMMAND}`; export r; \
16147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16150 for flag in $(EXTRA_HOST_FLAGS) ; do \
16151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16153 echo "Doing distclean in release" ; \
16155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16157 "RANLIB=$${RANLIB}" \
16158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16164 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16165 maybe-maintainer-clean-release:
16167 maybe-maintainer-clean-release: maintainer-clean-release
16169 maintainer-clean-release:
16170 @[ -f ./release/Makefile ] || exit 0; \
16171 r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16175 for flag in $(EXTRA_HOST_FLAGS) ; do \
16176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16178 echo "Doing maintainer-clean in release" ; \
16180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16182 "RANLIB=$${RANLIB}" \
16183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16184 maintainer-clean) \
16190 .PHONY: configure-recode maybe-configure-recode
16191 maybe-configure-recode:
16193 maybe-configure-recode: configure-recode
16195 @test ! -f recode/Makefile || exit 0; \
16196 [ -d recode ] || mkdir recode; \
16197 r=`${PWD_COMMAND}`; export r; \
16198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16200 echo Configuring in recode; \
16201 cd recode || exit 1; \
16202 case $(srcdir) in \
16204 srcdiroption="--srcdir=."; \
16206 /* | [A-Za-z]:[\\/]*) \
16207 srcdiroption="--srcdir=$(srcdir)/recode"; \
16208 libsrcdir="$$s/recode";; \
16210 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16211 libsrcdir="$$s/recode";; \
16213 $(SHELL) $${libsrcdir}/configure \
16214 $(HOST_CONFIGARGS) $${srcdiroption} \
16218 .PHONY: all-recode maybe-all-recode
16222 maybe-all-recode: all-recode
16223 all-recode: configure-recode
16224 @r=`${PWD_COMMAND}`; export r; \
16225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
16232 .PHONY: check-recode maybe-check-recode
16233 maybe-check-recode:
16235 maybe-check-recode: check-recode
16238 @r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16246 .PHONY: install-recode maybe-install-recode
16247 maybe-install-recode:
16249 maybe-install-recode: install-recode
16251 install-recode: installdirs
16252 @r=`${PWD_COMMAND}`; export r; \
16253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16256 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16260 # Other targets (info, dvi, etc.)
16262 .PHONY: maybe-info-recode info-recode
16265 maybe-info-recode: info-recode
16269 @[ -f ./recode/Makefile ] || exit 0; \
16270 r=`${PWD_COMMAND}`; export r; \
16271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 for flag in $(EXTRA_HOST_FLAGS) ; do \
16275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16277 echo "Doing info in recode" ; \
16279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16281 "RANLIB=$${RANLIB}" \
16282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16288 .PHONY: maybe-dvi-recode dvi-recode
16291 maybe-dvi-recode: dvi-recode
16295 @[ -f ./recode/Makefile ] || exit 0; \
16296 r=`${PWD_COMMAND}`; export r; \
16297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16300 for flag in $(EXTRA_HOST_FLAGS) ; do \
16301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16303 echo "Doing dvi in recode" ; \
16305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307 "RANLIB=$${RANLIB}" \
16308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16314 .PHONY: maybe-TAGS-recode TAGS-recode
16317 maybe-TAGS-recode: TAGS-recode
16321 @[ -f ./recode/Makefile ] || exit 0; \
16322 r=`${PWD_COMMAND}`; export r; \
16323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16326 for flag in $(EXTRA_HOST_FLAGS) ; do \
16327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16329 echo "Doing TAGS in recode" ; \
16331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16333 "RANLIB=$${RANLIB}" \
16334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16340 .PHONY: maybe-install-info-recode install-info-recode
16341 maybe-install-info-recode:
16343 maybe-install-info-recode: install-info-recode
16345 install-info-recode: \
16348 @[ -f ./recode/Makefile ] || exit 0; \
16349 r=`${PWD_COMMAND}`; export r; \
16350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16353 for flag in $(EXTRA_HOST_FLAGS) ; do \
16354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16356 echo "Doing install-info in recode" ; \
16358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16360 "RANLIB=$${RANLIB}" \
16361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16367 .PHONY: maybe-installcheck-recode installcheck-recode
16368 maybe-installcheck-recode:
16370 maybe-installcheck-recode: installcheck-recode
16372 installcheck-recode: \
16374 @[ -f ./recode/Makefile ] || exit 0; \
16375 r=`${PWD_COMMAND}`; export r; \
16376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 for flag in $(EXTRA_HOST_FLAGS) ; do \
16380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16382 echo "Doing installcheck in recode" ; \
16384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16386 "RANLIB=$${RANLIB}" \
16387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16393 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16394 maybe-mostlyclean-recode:
16396 maybe-mostlyclean-recode: mostlyclean-recode
16398 mostlyclean-recode:
16399 @[ -f ./recode/Makefile ] || exit 0; \
16400 r=`${PWD_COMMAND}`; export r; \
16401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16404 for flag in $(EXTRA_HOST_FLAGS) ; do \
16405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16407 echo "Doing mostlyclean in recode" ; \
16409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16411 "RANLIB=$${RANLIB}" \
16412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16418 .PHONY: maybe-clean-recode clean-recode
16419 maybe-clean-recode:
16421 maybe-clean-recode: clean-recode
16424 @[ -f ./recode/Makefile ] || exit 0; \
16425 r=`${PWD_COMMAND}`; export r; \
16426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429 for flag in $(EXTRA_HOST_FLAGS) ; do \
16430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16432 echo "Doing clean in recode" ; \
16434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16436 "RANLIB=$${RANLIB}" \
16437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16443 .PHONY: maybe-distclean-recode distclean-recode
16444 maybe-distclean-recode:
16446 maybe-distclean-recode: distclean-recode
16449 @[ -f ./recode/Makefile ] || exit 0; \
16450 r=`${PWD_COMMAND}`; export r; \
16451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 for flag in $(EXTRA_HOST_FLAGS) ; do \
16455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16457 echo "Doing distclean in recode" ; \
16459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16461 "RANLIB=$${RANLIB}" \
16462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16468 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16469 maybe-maintainer-clean-recode:
16471 maybe-maintainer-clean-recode: maintainer-clean-recode
16473 maintainer-clean-recode:
16474 @[ -f ./recode/Makefile ] || exit 0; \
16475 r=`${PWD_COMMAND}`; export r; \
16476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16479 for flag in $(EXTRA_HOST_FLAGS) ; do \
16480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16482 echo "Doing maintainer-clean in recode" ; \
16484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16486 "RANLIB=$${RANLIB}" \
16487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16488 maintainer-clean) \
16494 .PHONY: configure-sed maybe-configure-sed
16495 maybe-configure-sed:
16497 maybe-configure-sed: configure-sed
16499 @test ! -f sed/Makefile || exit 0; \
16500 [ -d sed ] || mkdir sed; \
16501 r=`${PWD_COMMAND}`; export r; \
16502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16504 echo Configuring in sed; \
16505 cd sed || exit 1; \
16506 case $(srcdir) in \
16508 srcdiroption="--srcdir=."; \
16510 /* | [A-Za-z]:[\\/]*) \
16511 srcdiroption="--srcdir=$(srcdir)/sed"; \
16512 libsrcdir="$$s/sed";; \
16514 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16515 libsrcdir="$$s/sed";; \
16517 $(SHELL) $${libsrcdir}/configure \
16518 $(HOST_CONFIGARGS) $${srcdiroption} \
16522 .PHONY: all-sed maybe-all-sed
16526 maybe-all-sed: all-sed
16527 all-sed: configure-sed
16528 @r=`${PWD_COMMAND}`; export r; \
16529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
16536 .PHONY: check-sed maybe-check-sed
16539 maybe-check-sed: check-sed
16542 @r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16546 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16550 .PHONY: install-sed maybe-install-sed
16553 maybe-install-sed: install-sed
16555 install-sed: installdirs
16556 @r=`${PWD_COMMAND}`; export r; \
16557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16560 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16564 # Other targets (info, dvi, etc.)
16566 .PHONY: maybe-info-sed info-sed
16569 maybe-info-sed: info-sed
16573 @[ -f ./sed/Makefile ] || exit 0; \
16574 r=`${PWD_COMMAND}`; export r; \
16575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16578 for flag in $(EXTRA_HOST_FLAGS) ; do \
16579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16581 echo "Doing info in sed" ; \
16583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585 "RANLIB=$${RANLIB}" \
16586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16592 .PHONY: maybe-dvi-sed dvi-sed
16595 maybe-dvi-sed: dvi-sed
16599 @[ -f ./sed/Makefile ] || exit 0; \
16600 r=`${PWD_COMMAND}`; export r; \
16601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16604 for flag in $(EXTRA_HOST_FLAGS) ; do \
16605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16607 echo "Doing dvi in sed" ; \
16609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16611 "RANLIB=$${RANLIB}" \
16612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16618 .PHONY: maybe-TAGS-sed TAGS-sed
16621 maybe-TAGS-sed: TAGS-sed
16625 @[ -f ./sed/Makefile ] || exit 0; \
16626 r=`${PWD_COMMAND}`; export r; \
16627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16630 for flag in $(EXTRA_HOST_FLAGS) ; do \
16631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16633 echo "Doing TAGS in sed" ; \
16635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16637 "RANLIB=$${RANLIB}" \
16638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16644 .PHONY: maybe-install-info-sed install-info-sed
16645 maybe-install-info-sed:
16647 maybe-install-info-sed: install-info-sed
16649 install-info-sed: \
16652 @[ -f ./sed/Makefile ] || exit 0; \
16653 r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16657 for flag in $(EXTRA_HOST_FLAGS) ; do \
16658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16660 echo "Doing install-info in sed" ; \
16662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16664 "RANLIB=$${RANLIB}" \
16665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16671 .PHONY: maybe-installcheck-sed installcheck-sed
16672 maybe-installcheck-sed:
16674 maybe-installcheck-sed: installcheck-sed
16676 installcheck-sed: \
16678 @[ -f ./sed/Makefile ] || exit 0; \
16679 r=`${PWD_COMMAND}`; export r; \
16680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16683 for flag in $(EXTRA_HOST_FLAGS) ; do \
16684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16686 echo "Doing installcheck in sed" ; \
16688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16690 "RANLIB=$${RANLIB}" \
16691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16697 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16698 maybe-mostlyclean-sed:
16700 maybe-mostlyclean-sed: mostlyclean-sed
16703 @[ -f ./sed/Makefile ] || exit 0; \
16704 r=`${PWD_COMMAND}`; export r; \
16705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16708 for flag in $(EXTRA_HOST_FLAGS) ; do \
16709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16711 echo "Doing mostlyclean in sed" ; \
16713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16715 "RANLIB=$${RANLIB}" \
16716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16722 .PHONY: maybe-clean-sed clean-sed
16725 maybe-clean-sed: clean-sed
16728 @[ -f ./sed/Makefile ] || exit 0; \
16729 r=`${PWD_COMMAND}`; export r; \
16730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16733 for flag in $(EXTRA_HOST_FLAGS) ; do \
16734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16736 echo "Doing clean in sed" ; \
16738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16740 "RANLIB=$${RANLIB}" \
16741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16747 .PHONY: maybe-distclean-sed distclean-sed
16748 maybe-distclean-sed:
16750 maybe-distclean-sed: distclean-sed
16753 @[ -f ./sed/Makefile ] || exit 0; \
16754 r=`${PWD_COMMAND}`; export r; \
16755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16758 for flag in $(EXTRA_HOST_FLAGS) ; do \
16759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16761 echo "Doing distclean in sed" ; \
16763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16765 "RANLIB=$${RANLIB}" \
16766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16772 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16773 maybe-maintainer-clean-sed:
16775 maybe-maintainer-clean-sed: maintainer-clean-sed
16777 maintainer-clean-sed:
16778 @[ -f ./sed/Makefile ] || exit 0; \
16779 r=`${PWD_COMMAND}`; export r; \
16780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16783 for flag in $(EXTRA_HOST_FLAGS) ; do \
16784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16786 echo "Doing maintainer-clean in sed" ; \
16788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16790 "RANLIB=$${RANLIB}" \
16791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16792 maintainer-clean) \
16798 .PHONY: configure-send-pr maybe-configure-send-pr
16799 maybe-configure-send-pr:
16801 maybe-configure-send-pr: configure-send-pr
16803 @test ! -f send-pr/Makefile || exit 0; \
16804 [ -d send-pr ] || mkdir send-pr; \
16805 r=`${PWD_COMMAND}`; export r; \
16806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16808 echo Configuring in send-pr; \
16809 cd send-pr || exit 1; \
16810 case $(srcdir) in \
16812 srcdiroption="--srcdir=."; \
16814 /* | [A-Za-z]:[\\/]*) \
16815 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16816 libsrcdir="$$s/send-pr";; \
16818 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16819 libsrcdir="$$s/send-pr";; \
16821 $(SHELL) $${libsrcdir}/configure \
16822 $(HOST_CONFIGARGS) $${srcdiroption} \
16826 .PHONY: all-send-pr maybe-all-send-pr
16830 maybe-all-send-pr: all-send-pr
16831 all-send-pr: configure-send-pr
16832 @r=`${PWD_COMMAND}`; export r; \
16833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16836 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
16840 .PHONY: check-send-pr maybe-check-send-pr
16841 maybe-check-send-pr:
16843 maybe-check-send-pr: check-send-pr
16846 @r=`${PWD_COMMAND}`; export r; \
16847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16850 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16854 .PHONY: install-send-pr maybe-install-send-pr
16855 maybe-install-send-pr:
16857 maybe-install-send-pr: install-send-pr
16859 install-send-pr: installdirs
16860 @r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16868 # Other targets (info, dvi, etc.)
16870 .PHONY: maybe-info-send-pr info-send-pr
16871 maybe-info-send-pr:
16873 maybe-info-send-pr: info-send-pr
16877 @[ -f ./send-pr/Makefile ] || exit 0; \
16878 r=`${PWD_COMMAND}`; export r; \
16879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16882 for flag in $(EXTRA_HOST_FLAGS) ; do \
16883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16885 echo "Doing info in send-pr" ; \
16887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16889 "RANLIB=$${RANLIB}" \
16890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16896 .PHONY: maybe-dvi-send-pr dvi-send-pr
16899 maybe-dvi-send-pr: dvi-send-pr
16903 @[ -f ./send-pr/Makefile ] || exit 0; \
16904 r=`${PWD_COMMAND}`; export r; \
16905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16908 for flag in $(EXTRA_HOST_FLAGS) ; do \
16909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16911 echo "Doing dvi in send-pr" ; \
16913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16915 "RANLIB=$${RANLIB}" \
16916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16922 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16923 maybe-TAGS-send-pr:
16925 maybe-TAGS-send-pr: TAGS-send-pr
16929 @[ -f ./send-pr/Makefile ] || exit 0; \
16930 r=`${PWD_COMMAND}`; export r; \
16931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 for flag in $(EXTRA_HOST_FLAGS) ; do \
16935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16937 echo "Doing TAGS in send-pr" ; \
16939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16941 "RANLIB=$${RANLIB}" \
16942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16948 .PHONY: maybe-install-info-send-pr install-info-send-pr
16949 maybe-install-info-send-pr:
16951 maybe-install-info-send-pr: install-info-send-pr
16953 install-info-send-pr: \
16954 configure-send-pr \
16956 @[ -f ./send-pr/Makefile ] || exit 0; \
16957 r=`${PWD_COMMAND}`; export r; \
16958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 for flag in $(EXTRA_HOST_FLAGS) ; do \
16962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16964 echo "Doing install-info in send-pr" ; \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16975 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16976 maybe-installcheck-send-pr:
16978 maybe-installcheck-send-pr: installcheck-send-pr
16980 installcheck-send-pr: \
16982 @[ -f ./send-pr/Makefile ] || exit 0; \
16983 r=`${PWD_COMMAND}`; export r; \
16984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 for flag in $(EXTRA_HOST_FLAGS) ; do \
16988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16990 echo "Doing installcheck in send-pr" ; \
16992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16994 "RANLIB=$${RANLIB}" \
16995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17001 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17002 maybe-mostlyclean-send-pr:
17004 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17006 mostlyclean-send-pr:
17007 @[ -f ./send-pr/Makefile ] || exit 0; \
17008 r=`${PWD_COMMAND}`; export r; \
17009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 for flag in $(EXTRA_HOST_FLAGS) ; do \
17013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17015 echo "Doing mostlyclean in send-pr" ; \
17017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17019 "RANLIB=$${RANLIB}" \
17020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17026 .PHONY: maybe-clean-send-pr clean-send-pr
17027 maybe-clean-send-pr:
17029 maybe-clean-send-pr: clean-send-pr
17032 @[ -f ./send-pr/Makefile ] || exit 0; \
17033 r=`${PWD_COMMAND}`; export r; \
17034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17037 for flag in $(EXTRA_HOST_FLAGS) ; do \
17038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17040 echo "Doing clean in send-pr" ; \
17042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17044 "RANLIB=$${RANLIB}" \
17045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17051 .PHONY: maybe-distclean-send-pr distclean-send-pr
17052 maybe-distclean-send-pr:
17054 maybe-distclean-send-pr: distclean-send-pr
17057 @[ -f ./send-pr/Makefile ] || exit 0; \
17058 r=`${PWD_COMMAND}`; export r; \
17059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17062 for flag in $(EXTRA_HOST_FLAGS) ; do \
17063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17065 echo "Doing distclean in send-pr" ; \
17067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17069 "RANLIB=$${RANLIB}" \
17070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17076 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17077 maybe-maintainer-clean-send-pr:
17079 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17081 maintainer-clean-send-pr:
17082 @[ -f ./send-pr/Makefile ] || exit 0; \
17083 r=`${PWD_COMMAND}`; export r; \
17084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17087 for flag in $(EXTRA_HOST_FLAGS) ; do \
17088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17090 echo "Doing maintainer-clean in send-pr" ; \
17092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17094 "RANLIB=$${RANLIB}" \
17095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17096 maintainer-clean) \
17102 .PHONY: configure-shellutils maybe-configure-shellutils
17103 maybe-configure-shellutils:
17105 maybe-configure-shellutils: configure-shellutils
17106 configure-shellutils:
17107 @test ! -f shellutils/Makefile || exit 0; \
17108 [ -d shellutils ] || mkdir shellutils; \
17109 r=`${PWD_COMMAND}`; export r; \
17110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 echo Configuring in shellutils; \
17113 cd shellutils || exit 1; \
17114 case $(srcdir) in \
17116 srcdiroption="--srcdir=."; \
17118 /* | [A-Za-z]:[\\/]*) \
17119 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17120 libsrcdir="$$s/shellutils";; \
17122 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17123 libsrcdir="$$s/shellutils";; \
17125 $(SHELL) $${libsrcdir}/configure \
17126 $(HOST_CONFIGARGS) $${srcdiroption} \
17130 .PHONY: all-shellutils maybe-all-shellutils
17131 maybe-all-shellutils:
17133 TARGET-shellutils=all
17134 maybe-all-shellutils: all-shellutils
17135 all-shellutils: configure-shellutils
17136 @r=`${PWD_COMMAND}`; export r; \
17137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17140 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
17141 $(TARGET-shellutils))
17144 .PHONY: check-shellutils maybe-check-shellutils
17145 maybe-check-shellutils:
17147 maybe-check-shellutils: check-shellutils
17150 @r=`${PWD_COMMAND}`; export r; \
17151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17154 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17158 .PHONY: install-shellutils maybe-install-shellutils
17159 maybe-install-shellutils:
17161 maybe-install-shellutils: install-shellutils
17163 install-shellutils: installdirs
17164 @r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17172 # Other targets (info, dvi, etc.)
17174 .PHONY: maybe-info-shellutils info-shellutils
17175 maybe-info-shellutils:
17177 maybe-info-shellutils: info-shellutils
17180 configure-shellutils
17181 @[ -f ./shellutils/Makefile ] || exit 0; \
17182 r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17186 for flag in $(EXTRA_HOST_FLAGS) ; do \
17187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17189 echo "Doing info in shellutils" ; \
17190 (cd shellutils && \
17191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17193 "RANLIB=$${RANLIB}" \
17194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17200 .PHONY: maybe-dvi-shellutils dvi-shellutils
17201 maybe-dvi-shellutils:
17203 maybe-dvi-shellutils: dvi-shellutils
17206 configure-shellutils
17207 @[ -f ./shellutils/Makefile ] || exit 0; \
17208 r=`${PWD_COMMAND}`; export r; \
17209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17212 for flag in $(EXTRA_HOST_FLAGS) ; do \
17213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17215 echo "Doing dvi in shellutils" ; \
17216 (cd shellutils && \
17217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17219 "RANLIB=$${RANLIB}" \
17220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17226 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17227 maybe-TAGS-shellutils:
17229 maybe-TAGS-shellutils: TAGS-shellutils
17232 configure-shellutils
17233 @[ -f ./shellutils/Makefile ] || exit 0; \
17234 r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17238 for flag in $(EXTRA_HOST_FLAGS) ; do \
17239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17241 echo "Doing TAGS in shellutils" ; \
17242 (cd shellutils && \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17245 "RANLIB=$${RANLIB}" \
17246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17252 .PHONY: maybe-install-info-shellutils install-info-shellutils
17253 maybe-install-info-shellutils:
17255 maybe-install-info-shellutils: install-info-shellutils
17257 install-info-shellutils: \
17258 configure-shellutils \
17260 @[ -f ./shellutils/Makefile ] || exit 0; \
17261 r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17265 for flag in $(EXTRA_HOST_FLAGS) ; do \
17266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17268 echo "Doing install-info in shellutils" ; \
17269 (cd shellutils && \
17270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17272 "RANLIB=$${RANLIB}" \
17273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17279 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17280 maybe-installcheck-shellutils:
17282 maybe-installcheck-shellutils: installcheck-shellutils
17284 installcheck-shellutils: \
17285 configure-shellutils
17286 @[ -f ./shellutils/Makefile ] || exit 0; \
17287 r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17291 for flag in $(EXTRA_HOST_FLAGS) ; do \
17292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17294 echo "Doing installcheck in shellutils" ; \
17295 (cd shellutils && \
17296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17298 "RANLIB=$${RANLIB}" \
17299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17305 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17306 maybe-mostlyclean-shellutils:
17308 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17310 mostlyclean-shellutils:
17311 @[ -f ./shellutils/Makefile ] || exit 0; \
17312 r=`${PWD_COMMAND}`; export r; \
17313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17316 for flag in $(EXTRA_HOST_FLAGS) ; do \
17317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17319 echo "Doing mostlyclean in shellutils" ; \
17320 (cd shellutils && \
17321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323 "RANLIB=$${RANLIB}" \
17324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17330 .PHONY: maybe-clean-shellutils clean-shellutils
17331 maybe-clean-shellutils:
17333 maybe-clean-shellutils: clean-shellutils
17336 @[ -f ./shellutils/Makefile ] || exit 0; \
17337 r=`${PWD_COMMAND}`; export r; \
17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17341 for flag in $(EXTRA_HOST_FLAGS) ; do \
17342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17344 echo "Doing clean in shellutils" ; \
17345 (cd shellutils && \
17346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17348 "RANLIB=$${RANLIB}" \
17349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17355 .PHONY: maybe-distclean-shellutils distclean-shellutils
17356 maybe-distclean-shellutils:
17358 maybe-distclean-shellutils: distclean-shellutils
17360 distclean-shellutils:
17361 @[ -f ./shellutils/Makefile ] || exit 0; \
17362 r=`${PWD_COMMAND}`; export r; \
17363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17366 for flag in $(EXTRA_HOST_FLAGS) ; do \
17367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17369 echo "Doing distclean in shellutils" ; \
17370 (cd shellutils && \
17371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17373 "RANLIB=$${RANLIB}" \
17374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17380 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17381 maybe-maintainer-clean-shellutils:
17383 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17385 maintainer-clean-shellutils:
17386 @[ -f ./shellutils/Makefile ] || exit 0; \
17387 r=`${PWD_COMMAND}`; export r; \
17388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17391 for flag in $(EXTRA_HOST_FLAGS) ; do \
17392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17394 echo "Doing maintainer-clean in shellutils" ; \
17395 (cd shellutils && \
17396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17398 "RANLIB=$${RANLIB}" \
17399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17400 maintainer-clean) \
17406 .PHONY: configure-sid maybe-configure-sid
17407 maybe-configure-sid:
17409 maybe-configure-sid: configure-sid
17411 @test ! -f sid/Makefile || exit 0; \
17412 [ -d sid ] || mkdir sid; \
17413 r=`${PWD_COMMAND}`; export r; \
17414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17416 echo Configuring in sid; \
17417 cd sid || exit 1; \
17418 case $(srcdir) in \
17420 srcdiroption="--srcdir=."; \
17422 /* | [A-Za-z]:[\\/]*) \
17423 srcdiroption="--srcdir=$(srcdir)/sid"; \
17424 libsrcdir="$$s/sid";; \
17426 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17427 libsrcdir="$$s/sid";; \
17429 $(SHELL) $${libsrcdir}/configure \
17430 $(HOST_CONFIGARGS) $${srcdiroption} \
17434 .PHONY: all-sid maybe-all-sid
17438 maybe-all-sid: all-sid
17439 all-sid: configure-sid
17440 @r=`${PWD_COMMAND}`; export r; \
17441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
17448 .PHONY: check-sid maybe-check-sid
17451 maybe-check-sid: check-sid
17454 @r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17458 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17462 .PHONY: install-sid maybe-install-sid
17465 maybe-install-sid: install-sid
17467 install-sid: installdirs
17468 @r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17472 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17476 # Other targets (info, dvi, etc.)
17478 .PHONY: maybe-info-sid info-sid
17481 maybe-info-sid: info-sid
17485 @[ -f ./sid/Makefile ] || exit 0; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17490 for flag in $(EXTRA_HOST_FLAGS) ; do \
17491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17493 echo "Doing info in sid" ; \
17495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497 "RANLIB=$${RANLIB}" \
17498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17504 .PHONY: maybe-dvi-sid dvi-sid
17507 maybe-dvi-sid: dvi-sid
17511 @[ -f ./sid/Makefile ] || exit 0; \
17512 r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 for flag in $(EXTRA_HOST_FLAGS) ; do \
17517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 echo "Doing dvi in sid" ; \
17521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17523 "RANLIB=$${RANLIB}" \
17524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17530 .PHONY: maybe-TAGS-sid TAGS-sid
17533 maybe-TAGS-sid: TAGS-sid
17537 @[ -f ./sid/Makefile ] || exit 0; \
17538 r=`${PWD_COMMAND}`; export r; \
17539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542 for flag in $(EXTRA_HOST_FLAGS) ; do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 echo "Doing TAGS in sid" ; \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17556 .PHONY: maybe-install-info-sid install-info-sid
17557 maybe-install-info-sid:
17559 maybe-install-info-sid: install-info-sid
17561 install-info-sid: \
17564 @[ -f ./sid/Makefile ] || exit 0; \
17565 r=`${PWD_COMMAND}`; export r; \
17566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 for flag in $(EXTRA_HOST_FLAGS) ; do \
17570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17572 echo "Doing install-info in sid" ; \
17574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17576 "RANLIB=$${RANLIB}" \
17577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17583 .PHONY: maybe-installcheck-sid installcheck-sid
17584 maybe-installcheck-sid:
17586 maybe-installcheck-sid: installcheck-sid
17588 installcheck-sid: \
17590 @[ -f ./sid/Makefile ] || exit 0; \
17591 r=`${PWD_COMMAND}`; export r; \
17592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17595 for flag in $(EXTRA_HOST_FLAGS) ; do \
17596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17598 echo "Doing installcheck in sid" ; \
17600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17602 "RANLIB=$${RANLIB}" \
17603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17609 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17610 maybe-mostlyclean-sid:
17612 maybe-mostlyclean-sid: mostlyclean-sid
17615 @[ -f ./sid/Makefile ] || exit 0; \
17616 r=`${PWD_COMMAND}`; export r; \
17617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17620 for flag in $(EXTRA_HOST_FLAGS) ; do \
17621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17623 echo "Doing mostlyclean in sid" ; \
17625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17627 "RANLIB=$${RANLIB}" \
17628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17634 .PHONY: maybe-clean-sid clean-sid
17637 maybe-clean-sid: clean-sid
17640 @[ -f ./sid/Makefile ] || exit 0; \
17641 r=`${PWD_COMMAND}`; export r; \
17642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17645 for flag in $(EXTRA_HOST_FLAGS) ; do \
17646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17648 echo "Doing clean in sid" ; \
17650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17652 "RANLIB=$${RANLIB}" \
17653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17659 .PHONY: maybe-distclean-sid distclean-sid
17660 maybe-distclean-sid:
17662 maybe-distclean-sid: distclean-sid
17665 @[ -f ./sid/Makefile ] || exit 0; \
17666 r=`${PWD_COMMAND}`; export r; \
17667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 for flag in $(EXTRA_HOST_FLAGS) ; do \
17671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17673 echo "Doing distclean in sid" ; \
17675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17677 "RANLIB=$${RANLIB}" \
17678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17684 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17685 maybe-maintainer-clean-sid:
17687 maybe-maintainer-clean-sid: maintainer-clean-sid
17689 maintainer-clean-sid:
17690 @[ -f ./sid/Makefile ] || exit 0; \
17691 r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17695 for flag in $(EXTRA_HOST_FLAGS) ; do \
17696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17698 echo "Doing maintainer-clean in sid" ; \
17700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17702 "RANLIB=$${RANLIB}" \
17703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17704 maintainer-clean) \
17710 .PHONY: configure-sim maybe-configure-sim
17711 maybe-configure-sim:
17713 maybe-configure-sim: configure-sim
17715 @test ! -f sim/Makefile || exit 0; \
17716 [ -d sim ] || mkdir sim; \
17717 r=`${PWD_COMMAND}`; export r; \
17718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17720 echo Configuring in sim; \
17721 cd sim || exit 1; \
17722 case $(srcdir) in \
17724 srcdiroption="--srcdir=."; \
17726 /* | [A-Za-z]:[\\/]*) \
17727 srcdiroption="--srcdir=$(srcdir)/sim"; \
17728 libsrcdir="$$s/sim";; \
17730 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17731 libsrcdir="$$s/sim";; \
17733 $(SHELL) $${libsrcdir}/configure \
17734 $(HOST_CONFIGARGS) $${srcdiroption} \
17738 .PHONY: all-sim maybe-all-sim
17742 maybe-all-sim: all-sim
17743 all-sim: configure-sim
17744 @r=`${PWD_COMMAND}`; export r; \
17745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17748 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
17752 .PHONY: check-sim maybe-check-sim
17755 maybe-check-sim: check-sim
17758 @r=`${PWD_COMMAND}`; export r; \
17759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17762 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17766 .PHONY: install-sim maybe-install-sim
17769 maybe-install-sim: install-sim
17771 install-sim: installdirs
17772 @r=`${PWD_COMMAND}`; export r; \
17773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17780 # Other targets (info, dvi, etc.)
17782 .PHONY: maybe-info-sim info-sim
17785 maybe-info-sim: info-sim
17789 @[ -f ./sim/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 for flag in $(EXTRA_HOST_FLAGS) ; do \
17795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17797 echo "Doing info in sim" ; \
17799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17801 "RANLIB=$${RANLIB}" \
17802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17808 .PHONY: maybe-dvi-sim dvi-sim
17811 maybe-dvi-sim: dvi-sim
17815 @[ -f ./sim/Makefile ] || exit 0; \
17816 r=`${PWD_COMMAND}`; export r; \
17817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17820 for flag in $(EXTRA_HOST_FLAGS) ; do \
17821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17823 echo "Doing dvi in sim" ; \
17825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17827 "RANLIB=$${RANLIB}" \
17828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17834 .PHONY: maybe-TAGS-sim TAGS-sim
17837 maybe-TAGS-sim: TAGS-sim
17841 @[ -f ./sim/Makefile ] || exit 0; \
17842 r=`${PWD_COMMAND}`; export r; \
17843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 for flag in $(EXTRA_HOST_FLAGS) ; do \
17847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17849 echo "Doing TAGS in sim" ; \
17851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17853 "RANLIB=$${RANLIB}" \
17854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17860 .PHONY: maybe-install-info-sim install-info-sim
17861 maybe-install-info-sim:
17863 maybe-install-info-sim: install-info-sim
17865 install-info-sim: \
17868 @[ -f ./sim/Makefile ] || exit 0; \
17869 r=`${PWD_COMMAND}`; export r; \
17870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17873 for flag in $(EXTRA_HOST_FLAGS) ; do \
17874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17876 echo "Doing install-info in sim" ; \
17878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17880 "RANLIB=$${RANLIB}" \
17881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17887 .PHONY: maybe-installcheck-sim installcheck-sim
17888 maybe-installcheck-sim:
17890 maybe-installcheck-sim: installcheck-sim
17892 installcheck-sim: \
17894 @[ -f ./sim/Makefile ] || exit 0; \
17895 r=`${PWD_COMMAND}`; export r; \
17896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17899 for flag in $(EXTRA_HOST_FLAGS) ; do \
17900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17902 echo "Doing installcheck in sim" ; \
17904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17906 "RANLIB=$${RANLIB}" \
17907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17913 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17914 maybe-mostlyclean-sim:
17916 maybe-mostlyclean-sim: mostlyclean-sim
17919 @[ -f ./sim/Makefile ] || exit 0; \
17920 r=`${PWD_COMMAND}`; export r; \
17921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17924 for flag in $(EXTRA_HOST_FLAGS) ; do \
17925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17927 echo "Doing mostlyclean in sim" ; \
17929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17931 "RANLIB=$${RANLIB}" \
17932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17938 .PHONY: maybe-clean-sim clean-sim
17941 maybe-clean-sim: clean-sim
17944 @[ -f ./sim/Makefile ] || exit 0; \
17945 r=`${PWD_COMMAND}`; export r; \
17946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17949 for flag in $(EXTRA_HOST_FLAGS) ; do \
17950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17952 echo "Doing clean in sim" ; \
17954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17956 "RANLIB=$${RANLIB}" \
17957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17963 .PHONY: maybe-distclean-sim distclean-sim
17964 maybe-distclean-sim:
17966 maybe-distclean-sim: distclean-sim
17969 @[ -f ./sim/Makefile ] || exit 0; \
17970 r=`${PWD_COMMAND}`; export r; \
17971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 for flag in $(EXTRA_HOST_FLAGS) ; do \
17975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17977 echo "Doing distclean in sim" ; \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981 "RANLIB=$${RANLIB}" \
17982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17988 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17989 maybe-maintainer-clean-sim:
17991 maybe-maintainer-clean-sim: maintainer-clean-sim
17993 maintainer-clean-sim:
17994 @[ -f ./sim/Makefile ] || exit 0; \
17995 r=`${PWD_COMMAND}`; export r; \
17996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 for flag in $(EXTRA_HOST_FLAGS) ; do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 echo "Doing maintainer-clean in sim" ; \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008 maintainer-clean) \
18014 .PHONY: configure-tar maybe-configure-tar
18015 maybe-configure-tar:
18017 maybe-configure-tar: configure-tar
18019 @test ! -f tar/Makefile || exit 0; \
18020 [ -d tar ] || mkdir tar; \
18021 r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 echo Configuring in tar; \
18025 cd tar || exit 1; \
18026 case $(srcdir) in \
18028 srcdiroption="--srcdir=."; \
18030 /* | [A-Za-z]:[\\/]*) \
18031 srcdiroption="--srcdir=$(srcdir)/tar"; \
18032 libsrcdir="$$s/tar";; \
18034 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18035 libsrcdir="$$s/tar";; \
18037 $(SHELL) $${libsrcdir}/configure \
18038 $(HOST_CONFIGARGS) $${srcdiroption} \
18042 .PHONY: all-tar maybe-all-tar
18046 maybe-all-tar: all-tar
18047 all-tar: configure-tar
18048 @r=`${PWD_COMMAND}`; export r; \
18049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
18056 .PHONY: check-tar maybe-check-tar
18059 maybe-check-tar: check-tar
18062 @r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18066 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18070 .PHONY: install-tar maybe-install-tar
18073 maybe-install-tar: install-tar
18075 install-tar: installdirs
18076 @r=`${PWD_COMMAND}`; export r; \
18077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18080 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18084 # Other targets (info, dvi, etc.)
18086 .PHONY: maybe-info-tar info-tar
18089 maybe-info-tar: info-tar
18093 @[ -f ./tar/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 for flag in $(EXTRA_HOST_FLAGS) ; do \
18099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18101 echo "Doing info in tar" ; \
18103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18105 "RANLIB=$${RANLIB}" \
18106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18112 .PHONY: maybe-dvi-tar dvi-tar
18115 maybe-dvi-tar: dvi-tar
18119 @[ -f ./tar/Makefile ] || exit 0; \
18120 r=`${PWD_COMMAND}`; export r; \
18121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 for flag in $(EXTRA_HOST_FLAGS) ; do \
18125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 echo "Doing dvi in tar" ; \
18129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18131 "RANLIB=$${RANLIB}" \
18132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18138 .PHONY: maybe-TAGS-tar TAGS-tar
18141 maybe-TAGS-tar: TAGS-tar
18145 @[ -f ./tar/Makefile ] || exit 0; \
18146 r=`${PWD_COMMAND}`; export r; \
18147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 for flag in $(EXTRA_HOST_FLAGS) ; do \
18151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18153 echo "Doing TAGS in tar" ; \
18155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18157 "RANLIB=$${RANLIB}" \
18158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18164 .PHONY: maybe-install-info-tar install-info-tar
18165 maybe-install-info-tar:
18167 maybe-install-info-tar: install-info-tar
18169 install-info-tar: \
18172 @[ -f ./tar/Makefile ] || exit 0; \
18173 r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18177 for flag in $(EXTRA_HOST_FLAGS) ; do \
18178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18180 echo "Doing install-info in tar" ; \
18182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18184 "RANLIB=$${RANLIB}" \
18185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18191 .PHONY: maybe-installcheck-tar installcheck-tar
18192 maybe-installcheck-tar:
18194 maybe-installcheck-tar: installcheck-tar
18196 installcheck-tar: \
18198 @[ -f ./tar/Makefile ] || exit 0; \
18199 r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 for flag in $(EXTRA_HOST_FLAGS) ; do \
18204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18206 echo "Doing installcheck in tar" ; \
18208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18210 "RANLIB=$${RANLIB}" \
18211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18217 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18218 maybe-mostlyclean-tar:
18220 maybe-mostlyclean-tar: mostlyclean-tar
18223 @[ -f ./tar/Makefile ] || exit 0; \
18224 r=`${PWD_COMMAND}`; export r; \
18225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18228 for flag in $(EXTRA_HOST_FLAGS) ; do \
18229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18231 echo "Doing mostlyclean in tar" ; \
18233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18235 "RANLIB=$${RANLIB}" \
18236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18242 .PHONY: maybe-clean-tar clean-tar
18245 maybe-clean-tar: clean-tar
18248 @[ -f ./tar/Makefile ] || exit 0; \
18249 r=`${PWD_COMMAND}`; export r; \
18250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18253 for flag in $(EXTRA_HOST_FLAGS) ; do \
18254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18256 echo "Doing clean in tar" ; \
18258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18260 "RANLIB=$${RANLIB}" \
18261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18267 .PHONY: maybe-distclean-tar distclean-tar
18268 maybe-distclean-tar:
18270 maybe-distclean-tar: distclean-tar
18273 @[ -f ./tar/Makefile ] || exit 0; \
18274 r=`${PWD_COMMAND}`; export r; \
18275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 for flag in $(EXTRA_HOST_FLAGS) ; do \
18279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18281 echo "Doing distclean in tar" ; \
18283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18285 "RANLIB=$${RANLIB}" \
18286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18292 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18293 maybe-maintainer-clean-tar:
18295 maybe-maintainer-clean-tar: maintainer-clean-tar
18297 maintainer-clean-tar:
18298 @[ -f ./tar/Makefile ] || exit 0; \
18299 r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18303 for flag in $(EXTRA_HOST_FLAGS) ; do \
18304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18306 echo "Doing maintainer-clean in tar" ; \
18308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18310 "RANLIB=$${RANLIB}" \
18311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18312 maintainer-clean) \
18318 .PHONY: configure-texinfo maybe-configure-texinfo
18319 maybe-configure-texinfo:
18321 maybe-configure-texinfo: configure-texinfo
18323 @test ! -f texinfo/Makefile || exit 0; \
18324 [ -d texinfo ] || mkdir texinfo; \
18325 r=`${PWD_COMMAND}`; export r; \
18326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18328 echo Configuring in texinfo; \
18329 cd texinfo || exit 1; \
18330 case $(srcdir) in \
18332 srcdiroption="--srcdir=."; \
18334 /* | [A-Za-z]:[\\/]*) \
18335 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18336 libsrcdir="$$s/texinfo";; \
18338 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18339 libsrcdir="$$s/texinfo";; \
18341 $(SHELL) $${libsrcdir}/configure \
18342 $(HOST_CONFIGARGS) $${srcdiroption} \
18346 .PHONY: all-texinfo maybe-all-texinfo
18350 maybe-all-texinfo: all-texinfo
18351 all-texinfo: configure-texinfo
18352 @r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18356 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
18360 .PHONY: check-texinfo maybe-check-texinfo
18361 maybe-check-texinfo:
18363 maybe-check-texinfo: check-texinfo
18366 @r=`${PWD_COMMAND}`; export r; \
18367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18370 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18374 .PHONY: install-texinfo maybe-install-texinfo
18375 maybe-install-texinfo:
18377 maybe-install-texinfo: install-texinfo
18383 # Other targets (info, dvi, etc.)
18385 .PHONY: maybe-info-texinfo info-texinfo
18386 maybe-info-texinfo:
18388 maybe-info-texinfo: info-texinfo
18392 @[ -f ./texinfo/Makefile ] || exit 0; \
18393 r=`${PWD_COMMAND}`; export r; \
18394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18397 for flag in $(EXTRA_HOST_FLAGS) ; do \
18398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18400 echo "Doing info in texinfo" ; \
18402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18404 "RANLIB=$${RANLIB}" \
18405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18411 .PHONY: maybe-dvi-texinfo dvi-texinfo
18414 maybe-dvi-texinfo: dvi-texinfo
18418 @[ -f ./texinfo/Makefile ] || exit 0; \
18419 r=`${PWD_COMMAND}`; export r; \
18420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18423 for flag in $(EXTRA_HOST_FLAGS) ; do \
18424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18426 echo "Doing dvi in texinfo" ; \
18428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18430 "RANLIB=$${RANLIB}" \
18431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18437 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18438 maybe-TAGS-texinfo:
18440 maybe-TAGS-texinfo: TAGS-texinfo
18444 @[ -f ./texinfo/Makefile ] || exit 0; \
18445 r=`${PWD_COMMAND}`; export r; \
18446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18449 for flag in $(EXTRA_HOST_FLAGS) ; do \
18450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18452 echo "Doing TAGS in texinfo" ; \
18454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18456 "RANLIB=$${RANLIB}" \
18457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18463 .PHONY: maybe-install-info-texinfo install-info-texinfo
18464 maybe-install-info-texinfo:
18466 maybe-install-info-texinfo: install-info-texinfo
18468 install-info-texinfo: \
18469 configure-texinfo \
18471 @[ -f ./texinfo/Makefile ] || exit 0; \
18472 r=`${PWD_COMMAND}`; export r; \
18473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18476 for flag in $(EXTRA_HOST_FLAGS) ; do \
18477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18479 echo "Doing install-info in texinfo" ; \
18481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18483 "RANLIB=$${RANLIB}" \
18484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18490 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18491 maybe-installcheck-texinfo:
18493 maybe-installcheck-texinfo: installcheck-texinfo
18495 installcheck-texinfo: \
18497 @[ -f ./texinfo/Makefile ] || exit 0; \
18498 r=`${PWD_COMMAND}`; export r; \
18499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18502 for flag in $(EXTRA_HOST_FLAGS) ; do \
18503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18505 echo "Doing installcheck in texinfo" ; \
18507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18509 "RANLIB=$${RANLIB}" \
18510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18516 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18517 maybe-mostlyclean-texinfo:
18519 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18521 mostlyclean-texinfo:
18522 @[ -f ./texinfo/Makefile ] || exit 0; \
18523 r=`${PWD_COMMAND}`; export r; \
18524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18527 for flag in $(EXTRA_HOST_FLAGS) ; do \
18528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18530 echo "Doing mostlyclean in texinfo" ; \
18532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18534 "RANLIB=$${RANLIB}" \
18535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18541 .PHONY: maybe-clean-texinfo clean-texinfo
18542 maybe-clean-texinfo:
18544 maybe-clean-texinfo: clean-texinfo
18547 @[ -f ./texinfo/Makefile ] || exit 0; \
18548 r=`${PWD_COMMAND}`; export r; \
18549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18552 for flag in $(EXTRA_HOST_FLAGS) ; do \
18553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18555 echo "Doing clean in texinfo" ; \
18557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18559 "RANLIB=$${RANLIB}" \
18560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18566 .PHONY: maybe-distclean-texinfo distclean-texinfo
18567 maybe-distclean-texinfo:
18569 maybe-distclean-texinfo: distclean-texinfo
18572 @[ -f ./texinfo/Makefile ] || exit 0; \
18573 r=`${PWD_COMMAND}`; export r; \
18574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18577 for flag in $(EXTRA_HOST_FLAGS) ; do \
18578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18580 echo "Doing distclean in texinfo" ; \
18582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18584 "RANLIB=$${RANLIB}" \
18585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18591 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18592 maybe-maintainer-clean-texinfo:
18594 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18596 maintainer-clean-texinfo:
18597 @[ -f ./texinfo/Makefile ] || exit 0; \
18598 r=`${PWD_COMMAND}`; export r; \
18599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18602 for flag in $(EXTRA_HOST_FLAGS) ; do \
18603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18605 echo "Doing maintainer-clean in texinfo" ; \
18607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18609 "RANLIB=$${RANLIB}" \
18610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18611 maintainer-clean) \
18617 .PHONY: configure-textutils maybe-configure-textutils
18618 maybe-configure-textutils:
18620 maybe-configure-textutils: configure-textutils
18621 configure-textutils:
18622 @test ! -f textutils/Makefile || exit 0; \
18623 [ -d textutils ] || mkdir textutils; \
18624 r=`${PWD_COMMAND}`; export r; \
18625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18627 echo Configuring in textutils; \
18628 cd textutils || exit 1; \
18629 case $(srcdir) in \
18631 srcdiroption="--srcdir=."; \
18633 /* | [A-Za-z]:[\\/]*) \
18634 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18635 libsrcdir="$$s/textutils";; \
18637 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18638 libsrcdir="$$s/textutils";; \
18640 $(SHELL) $${libsrcdir}/configure \
18641 $(HOST_CONFIGARGS) $${srcdiroption} \
18645 .PHONY: all-textutils maybe-all-textutils
18646 maybe-all-textutils:
18648 TARGET-textutils=all
18649 maybe-all-textutils: all-textutils
18650 all-textutils: configure-textutils
18651 @r=`${PWD_COMMAND}`; export r; \
18652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18655 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
18656 $(TARGET-textutils))
18659 .PHONY: check-textutils maybe-check-textutils
18660 maybe-check-textutils:
18662 maybe-check-textutils: check-textutils
18665 @r=`${PWD_COMMAND}`; export r; \
18666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18673 .PHONY: install-textutils maybe-install-textutils
18674 maybe-install-textutils:
18676 maybe-install-textutils: install-textutils
18678 install-textutils: installdirs
18679 @r=`${PWD_COMMAND}`; export r; \
18680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18683 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18687 # Other targets (info, dvi, etc.)
18689 .PHONY: maybe-info-textutils info-textutils
18690 maybe-info-textutils:
18692 maybe-info-textutils: info-textutils
18695 configure-textutils
18696 @[ -f ./textutils/Makefile ] || exit 0; \
18697 r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 for flag in $(EXTRA_HOST_FLAGS) ; do \
18702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18704 echo "Doing info in textutils" ; \
18706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18708 "RANLIB=$${RANLIB}" \
18709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18715 .PHONY: maybe-dvi-textutils dvi-textutils
18716 maybe-dvi-textutils:
18718 maybe-dvi-textutils: dvi-textutils
18721 configure-textutils
18722 @[ -f ./textutils/Makefile ] || exit 0; \
18723 r=`${PWD_COMMAND}`; export r; \
18724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18727 for flag in $(EXTRA_HOST_FLAGS) ; do \
18728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18730 echo "Doing dvi in textutils" ; \
18732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18734 "RANLIB=$${RANLIB}" \
18735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18741 .PHONY: maybe-TAGS-textutils TAGS-textutils
18742 maybe-TAGS-textutils:
18744 maybe-TAGS-textutils: TAGS-textutils
18747 configure-textutils
18748 @[ -f ./textutils/Makefile ] || exit 0; \
18749 r=`${PWD_COMMAND}`; export r; \
18750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 for flag in $(EXTRA_HOST_FLAGS) ; do \
18754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18756 echo "Doing TAGS in textutils" ; \
18758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18760 "RANLIB=$${RANLIB}" \
18761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18767 .PHONY: maybe-install-info-textutils install-info-textutils
18768 maybe-install-info-textutils:
18770 maybe-install-info-textutils: install-info-textutils
18772 install-info-textutils: \
18773 configure-textutils \
18775 @[ -f ./textutils/Makefile ] || exit 0; \
18776 r=`${PWD_COMMAND}`; export r; \
18777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 for flag in $(EXTRA_HOST_FLAGS) ; do \
18781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18783 echo "Doing install-info in textutils" ; \
18785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18787 "RANLIB=$${RANLIB}" \
18788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18794 .PHONY: maybe-installcheck-textutils installcheck-textutils
18795 maybe-installcheck-textutils:
18797 maybe-installcheck-textutils: installcheck-textutils
18799 installcheck-textutils: \
18800 configure-textutils
18801 @[ -f ./textutils/Makefile ] || exit 0; \
18802 r=`${PWD_COMMAND}`; export r; \
18803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 for flag in $(EXTRA_HOST_FLAGS) ; do \
18807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18809 echo "Doing installcheck in textutils" ; \
18811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18813 "RANLIB=$${RANLIB}" \
18814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18820 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18821 maybe-mostlyclean-textutils:
18823 maybe-mostlyclean-textutils: mostlyclean-textutils
18825 mostlyclean-textutils:
18826 @[ -f ./textutils/Makefile ] || exit 0; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18831 for flag in $(EXTRA_HOST_FLAGS) ; do \
18832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18834 echo "Doing mostlyclean in textutils" ; \
18836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18838 "RANLIB=$${RANLIB}" \
18839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18845 .PHONY: maybe-clean-textutils clean-textutils
18846 maybe-clean-textutils:
18848 maybe-clean-textutils: clean-textutils
18851 @[ -f ./textutils/Makefile ] || exit 0; \
18852 r=`${PWD_COMMAND}`; export r; \
18853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856 for flag in $(EXTRA_HOST_FLAGS) ; do \
18857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18859 echo "Doing clean in textutils" ; \
18861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18863 "RANLIB=$${RANLIB}" \
18864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18870 .PHONY: maybe-distclean-textutils distclean-textutils
18871 maybe-distclean-textutils:
18873 maybe-distclean-textutils: distclean-textutils
18875 distclean-textutils:
18876 @[ -f ./textutils/Makefile ] || exit 0; \
18877 r=`${PWD_COMMAND}`; export r; \
18878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18881 for flag in $(EXTRA_HOST_FLAGS) ; do \
18882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18884 echo "Doing distclean in textutils" ; \
18886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18888 "RANLIB=$${RANLIB}" \
18889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18895 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18896 maybe-maintainer-clean-textutils:
18898 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18900 maintainer-clean-textutils:
18901 @[ -f ./textutils/Makefile ] || exit 0; \
18902 r=`${PWD_COMMAND}`; export r; \
18903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18906 for flag in $(EXTRA_HOST_FLAGS) ; do \
18907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18909 echo "Doing maintainer-clean in textutils" ; \
18911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18913 "RANLIB=$${RANLIB}" \
18914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18915 maintainer-clean) \
18921 .PHONY: configure-time maybe-configure-time
18922 maybe-configure-time:
18924 maybe-configure-time: configure-time
18926 @test ! -f time/Makefile || exit 0; \
18927 [ -d time ] || mkdir time; \
18928 r=`${PWD_COMMAND}`; export r; \
18929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18931 echo Configuring in time; \
18932 cd time || exit 1; \
18933 case $(srcdir) in \
18935 srcdiroption="--srcdir=."; \
18937 /* | [A-Za-z]:[\\/]*) \
18938 srcdiroption="--srcdir=$(srcdir)/time"; \
18939 libsrcdir="$$s/time";; \
18941 srcdiroption="--srcdir=../$(srcdir)/time"; \
18942 libsrcdir="$$s/time";; \
18944 $(SHELL) $${libsrcdir}/configure \
18945 $(HOST_CONFIGARGS) $${srcdiroption} \
18949 .PHONY: all-time maybe-all-time
18953 maybe-all-time: all-time
18954 all-time: configure-time
18955 @r=`${PWD_COMMAND}`; export r; \
18956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
18963 .PHONY: check-time maybe-check-time
18966 maybe-check-time: check-time
18969 @r=`${PWD_COMMAND}`; export r; \
18970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18977 .PHONY: install-time maybe-install-time
18978 maybe-install-time:
18980 maybe-install-time: install-time
18982 install-time: installdirs
18983 @r=`${PWD_COMMAND}`; export r; \
18984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18991 # Other targets (info, dvi, etc.)
18993 .PHONY: maybe-info-time info-time
18996 maybe-info-time: info-time
19000 @[ -f ./time/Makefile ] || exit 0; \
19001 r=`${PWD_COMMAND}`; export r; \
19002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19005 for flag in $(EXTRA_HOST_FLAGS) ; do \
19006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19008 echo "Doing info in time" ; \
19010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19012 "RANLIB=$${RANLIB}" \
19013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19019 .PHONY: maybe-dvi-time dvi-time
19022 maybe-dvi-time: dvi-time
19026 @[ -f ./time/Makefile ] || exit 0; \
19027 r=`${PWD_COMMAND}`; export r; \
19028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19031 for flag in $(EXTRA_HOST_FLAGS) ; do \
19032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19034 echo "Doing dvi in time" ; \
19036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19038 "RANLIB=$${RANLIB}" \
19039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19045 .PHONY: maybe-TAGS-time TAGS-time
19048 maybe-TAGS-time: TAGS-time
19052 @[ -f ./time/Makefile ] || exit 0; \
19053 r=`${PWD_COMMAND}`; export r; \
19054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19057 for flag in $(EXTRA_HOST_FLAGS) ; do \
19058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19060 echo "Doing TAGS in time" ; \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19064 "RANLIB=$${RANLIB}" \
19065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19071 .PHONY: maybe-install-info-time install-info-time
19072 maybe-install-info-time:
19074 maybe-install-info-time: install-info-time
19076 install-info-time: \
19079 @[ -f ./time/Makefile ] || exit 0; \
19080 r=`${PWD_COMMAND}`; export r; \
19081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19084 for flag in $(EXTRA_HOST_FLAGS) ; do \
19085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19087 echo "Doing install-info in time" ; \
19089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19091 "RANLIB=$${RANLIB}" \
19092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19098 .PHONY: maybe-installcheck-time installcheck-time
19099 maybe-installcheck-time:
19101 maybe-installcheck-time: installcheck-time
19103 installcheck-time: \
19105 @[ -f ./time/Makefile ] || exit 0; \
19106 r=`${PWD_COMMAND}`; export r; \
19107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19110 for flag in $(EXTRA_HOST_FLAGS) ; do \
19111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19113 echo "Doing installcheck in time" ; \
19115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19117 "RANLIB=$${RANLIB}" \
19118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19124 .PHONY: maybe-mostlyclean-time mostlyclean-time
19125 maybe-mostlyclean-time:
19127 maybe-mostlyclean-time: mostlyclean-time
19130 @[ -f ./time/Makefile ] || exit 0; \
19131 r=`${PWD_COMMAND}`; export r; \
19132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19135 for flag in $(EXTRA_HOST_FLAGS) ; do \
19136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19138 echo "Doing mostlyclean in time" ; \
19140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19142 "RANLIB=$${RANLIB}" \
19143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19149 .PHONY: maybe-clean-time clean-time
19152 maybe-clean-time: clean-time
19155 @[ -f ./time/Makefile ] || exit 0; \
19156 r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19160 for flag in $(EXTRA_HOST_FLAGS) ; do \
19161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19163 echo "Doing clean in time" ; \
19165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19167 "RANLIB=$${RANLIB}" \
19168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19174 .PHONY: maybe-distclean-time distclean-time
19175 maybe-distclean-time:
19177 maybe-distclean-time: distclean-time
19180 @[ -f ./time/Makefile ] || exit 0; \
19181 r=`${PWD_COMMAND}`; export r; \
19182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19185 for flag in $(EXTRA_HOST_FLAGS) ; do \
19186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19188 echo "Doing distclean in time" ; \
19190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19192 "RANLIB=$${RANLIB}" \
19193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19199 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19200 maybe-maintainer-clean-time:
19202 maybe-maintainer-clean-time: maintainer-clean-time
19204 maintainer-clean-time:
19205 @[ -f ./time/Makefile ] || exit 0; \
19206 r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19210 for flag in $(EXTRA_HOST_FLAGS) ; do \
19211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19213 echo "Doing maintainer-clean in time" ; \
19215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19217 "RANLIB=$${RANLIB}" \
19218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19219 maintainer-clean) \
19225 .PHONY: configure-uudecode maybe-configure-uudecode
19226 maybe-configure-uudecode:
19228 maybe-configure-uudecode: configure-uudecode
19229 configure-uudecode:
19230 @test ! -f uudecode/Makefile || exit 0; \
19231 [ -d uudecode ] || mkdir uudecode; \
19232 r=`${PWD_COMMAND}`; export r; \
19233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19235 echo Configuring in uudecode; \
19236 cd uudecode || exit 1; \
19237 case $(srcdir) in \
19239 srcdiroption="--srcdir=."; \
19241 /* | [A-Za-z]:[\\/]*) \
19242 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19243 libsrcdir="$$s/uudecode";; \
19245 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19246 libsrcdir="$$s/uudecode";; \
19248 $(SHELL) $${libsrcdir}/configure \
19249 $(HOST_CONFIGARGS) $${srcdiroption} \
19253 .PHONY: all-uudecode maybe-all-uudecode
19254 maybe-all-uudecode:
19256 TARGET-uudecode=all
19257 maybe-all-uudecode: all-uudecode
19258 all-uudecode: configure-uudecode
19259 @r=`${PWD_COMMAND}`; export r; \
19260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19263 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
19264 $(TARGET-uudecode))
19267 .PHONY: check-uudecode maybe-check-uudecode
19268 maybe-check-uudecode:
19270 maybe-check-uudecode: check-uudecode
19273 @r=`${PWD_COMMAND}`; export r; \
19274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19281 .PHONY: install-uudecode maybe-install-uudecode
19282 maybe-install-uudecode:
19284 maybe-install-uudecode: install-uudecode
19286 install-uudecode: installdirs
19287 @r=`${PWD_COMMAND}`; export r; \
19288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19295 # Other targets (info, dvi, etc.)
19297 .PHONY: maybe-info-uudecode info-uudecode
19298 maybe-info-uudecode:
19300 maybe-info-uudecode: info-uudecode
19304 @[ -f ./uudecode/Makefile ] || exit 0; \
19305 r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19309 for flag in $(EXTRA_HOST_FLAGS) ; do \
19310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19312 echo "Doing info in uudecode" ; \
19314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19316 "RANLIB=$${RANLIB}" \
19317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19323 .PHONY: maybe-dvi-uudecode dvi-uudecode
19324 maybe-dvi-uudecode:
19326 maybe-dvi-uudecode: dvi-uudecode
19330 @[ -f ./uudecode/Makefile ] || exit 0; \
19331 r=`${PWD_COMMAND}`; export r; \
19332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19335 for flag in $(EXTRA_HOST_FLAGS) ; do \
19336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19338 echo "Doing dvi in uudecode" ; \
19340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19342 "RANLIB=$${RANLIB}" \
19343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19349 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19350 maybe-TAGS-uudecode:
19352 maybe-TAGS-uudecode: TAGS-uudecode
19356 @[ -f ./uudecode/Makefile ] || exit 0; \
19357 r=`${PWD_COMMAND}`; export r; \
19358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361 for flag in $(EXTRA_HOST_FLAGS) ; do \
19362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19364 echo "Doing TAGS in uudecode" ; \
19366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19368 "RANLIB=$${RANLIB}" \
19369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19375 .PHONY: maybe-install-info-uudecode install-info-uudecode
19376 maybe-install-info-uudecode:
19378 maybe-install-info-uudecode: install-info-uudecode
19380 install-info-uudecode: \
19381 configure-uudecode \
19383 @[ -f ./uudecode/Makefile ] || exit 0; \
19384 r=`${PWD_COMMAND}`; export r; \
19385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19388 for flag in $(EXTRA_HOST_FLAGS) ; do \
19389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19391 echo "Doing install-info in uudecode" ; \
19393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19395 "RANLIB=$${RANLIB}" \
19396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19402 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19403 maybe-installcheck-uudecode:
19405 maybe-installcheck-uudecode: installcheck-uudecode
19407 installcheck-uudecode: \
19409 @[ -f ./uudecode/Makefile ] || exit 0; \
19410 r=`${PWD_COMMAND}`; export r; \
19411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19414 for flag in $(EXTRA_HOST_FLAGS) ; do \
19415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19417 echo "Doing installcheck in uudecode" ; \
19419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19421 "RANLIB=$${RANLIB}" \
19422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19428 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19429 maybe-mostlyclean-uudecode:
19431 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19433 mostlyclean-uudecode:
19434 @[ -f ./uudecode/Makefile ] || exit 0; \
19435 r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19439 for flag in $(EXTRA_HOST_FLAGS) ; do \
19440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19442 echo "Doing mostlyclean in uudecode" ; \
19444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19446 "RANLIB=$${RANLIB}" \
19447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19453 .PHONY: maybe-clean-uudecode clean-uudecode
19454 maybe-clean-uudecode:
19456 maybe-clean-uudecode: clean-uudecode
19459 @[ -f ./uudecode/Makefile ] || exit 0; \
19460 r=`${PWD_COMMAND}`; export r; \
19461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19464 for flag in $(EXTRA_HOST_FLAGS) ; do \
19465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19467 echo "Doing clean in uudecode" ; \
19469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19471 "RANLIB=$${RANLIB}" \
19472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19478 .PHONY: maybe-distclean-uudecode distclean-uudecode
19479 maybe-distclean-uudecode:
19481 maybe-distclean-uudecode: distclean-uudecode
19483 distclean-uudecode:
19484 @[ -f ./uudecode/Makefile ] || exit 0; \
19485 r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19489 for flag in $(EXTRA_HOST_FLAGS) ; do \
19490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19492 echo "Doing distclean in uudecode" ; \
19494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19496 "RANLIB=$${RANLIB}" \
19497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19503 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19504 maybe-maintainer-clean-uudecode:
19506 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19508 maintainer-clean-uudecode:
19509 @[ -f ./uudecode/Makefile ] || exit 0; \
19510 r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19514 for flag in $(EXTRA_HOST_FLAGS) ; do \
19515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19517 echo "Doing maintainer-clean in uudecode" ; \
19519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19521 "RANLIB=$${RANLIB}" \
19522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19523 maintainer-clean) \
19529 .PHONY: configure-wdiff maybe-configure-wdiff
19530 maybe-configure-wdiff:
19532 maybe-configure-wdiff: configure-wdiff
19534 @test ! -f wdiff/Makefile || exit 0; \
19535 [ -d wdiff ] || mkdir wdiff; \
19536 r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19539 echo Configuring in wdiff; \
19540 cd wdiff || exit 1; \
19541 case $(srcdir) in \
19543 srcdiroption="--srcdir=."; \
19545 /* | [A-Za-z]:[\\/]*) \
19546 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19547 libsrcdir="$$s/wdiff";; \
19549 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19550 libsrcdir="$$s/wdiff";; \
19552 $(SHELL) $${libsrcdir}/configure \
19553 $(HOST_CONFIGARGS) $${srcdiroption} \
19557 .PHONY: all-wdiff maybe-all-wdiff
19561 maybe-all-wdiff: all-wdiff
19562 all-wdiff: configure-wdiff
19563 @r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19567 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
19571 .PHONY: check-wdiff maybe-check-wdiff
19574 maybe-check-wdiff: check-wdiff
19577 @r=`${PWD_COMMAND}`; export r; \
19578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19581 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19585 .PHONY: install-wdiff maybe-install-wdiff
19586 maybe-install-wdiff:
19588 maybe-install-wdiff: install-wdiff
19590 install-wdiff: installdirs
19591 @r=`${PWD_COMMAND}`; export r; \
19592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19595 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19599 # Other targets (info, dvi, etc.)
19601 .PHONY: maybe-info-wdiff info-wdiff
19604 maybe-info-wdiff: info-wdiff
19608 @[ -f ./wdiff/Makefile ] || exit 0; \
19609 r=`${PWD_COMMAND}`; export r; \
19610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19613 for flag in $(EXTRA_HOST_FLAGS) ; do \
19614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19616 echo "Doing info in wdiff" ; \
19618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19620 "RANLIB=$${RANLIB}" \
19621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19627 .PHONY: maybe-dvi-wdiff dvi-wdiff
19630 maybe-dvi-wdiff: dvi-wdiff
19634 @[ -f ./wdiff/Makefile ] || exit 0; \
19635 r=`${PWD_COMMAND}`; export r; \
19636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 for flag in $(EXTRA_HOST_FLAGS) ; do \
19640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19642 echo "Doing dvi in wdiff" ; \
19644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19646 "RANLIB=$${RANLIB}" \
19647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19653 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19656 maybe-TAGS-wdiff: TAGS-wdiff
19660 @[ -f ./wdiff/Makefile ] || exit 0; \
19661 r=`${PWD_COMMAND}`; export r; \
19662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19665 for flag in $(EXTRA_HOST_FLAGS) ; do \
19666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19668 echo "Doing TAGS in wdiff" ; \
19670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19672 "RANLIB=$${RANLIB}" \
19673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19679 .PHONY: maybe-install-info-wdiff install-info-wdiff
19680 maybe-install-info-wdiff:
19682 maybe-install-info-wdiff: install-info-wdiff
19684 install-info-wdiff: \
19687 @[ -f ./wdiff/Makefile ] || exit 0; \
19688 r=`${PWD_COMMAND}`; export r; \
19689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19692 for flag in $(EXTRA_HOST_FLAGS) ; do \
19693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19695 echo "Doing install-info in wdiff" ; \
19697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699 "RANLIB=$${RANLIB}" \
19700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19706 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19707 maybe-installcheck-wdiff:
19709 maybe-installcheck-wdiff: installcheck-wdiff
19711 installcheck-wdiff: \
19713 @[ -f ./wdiff/Makefile ] || exit 0; \
19714 r=`${PWD_COMMAND}`; export r; \
19715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19721 echo "Doing installcheck in wdiff" ; \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19732 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19733 maybe-mostlyclean-wdiff:
19735 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19738 @[ -f ./wdiff/Makefile ] || exit 0; \
19739 r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19743 for flag in $(EXTRA_HOST_FLAGS) ; do \
19744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19746 echo "Doing mostlyclean in wdiff" ; \
19748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19750 "RANLIB=$${RANLIB}" \
19751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19757 .PHONY: maybe-clean-wdiff clean-wdiff
19760 maybe-clean-wdiff: clean-wdiff
19763 @[ -f ./wdiff/Makefile ] || exit 0; \
19764 r=`${PWD_COMMAND}`; export r; \
19765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19768 for flag in $(EXTRA_HOST_FLAGS) ; do \
19769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19771 echo "Doing clean in wdiff" ; \
19773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19775 "RANLIB=$${RANLIB}" \
19776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19782 .PHONY: maybe-distclean-wdiff distclean-wdiff
19783 maybe-distclean-wdiff:
19785 maybe-distclean-wdiff: distclean-wdiff
19788 @[ -f ./wdiff/Makefile ] || exit 0; \
19789 r=`${PWD_COMMAND}`; export r; \
19790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19793 for flag in $(EXTRA_HOST_FLAGS) ; do \
19794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19796 echo "Doing distclean in wdiff" ; \
19798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19800 "RANLIB=$${RANLIB}" \
19801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19807 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19808 maybe-maintainer-clean-wdiff:
19810 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19812 maintainer-clean-wdiff:
19813 @[ -f ./wdiff/Makefile ] || exit 0; \
19814 r=`${PWD_COMMAND}`; export r; \
19815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19821 echo "Doing maintainer-clean in wdiff" ; \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19827 maintainer-clean) \
19833 .PHONY: configure-zip maybe-configure-zip
19834 maybe-configure-zip:
19836 maybe-configure-zip: configure-zip
19838 @test ! -f zip/Makefile || exit 0; \
19839 [ -d zip ] || mkdir zip; \
19840 r=`${PWD_COMMAND}`; export r; \
19841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843 echo Configuring in zip; \
19844 cd zip || exit 1; \
19845 case $(srcdir) in \
19847 srcdiroption="--srcdir=."; \
19849 /* | [A-Za-z]:[\\/]*) \
19850 srcdiroption="--srcdir=$(srcdir)/zip"; \
19851 libsrcdir="$$s/zip";; \
19853 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19854 libsrcdir="$$s/zip";; \
19856 $(SHELL) $${libsrcdir}/configure \
19857 $(HOST_CONFIGARGS) $${srcdiroption} \
19861 .PHONY: all-zip maybe-all-zip
19865 maybe-all-zip: all-zip
19866 all-zip: configure-zip
19867 @r=`${PWD_COMMAND}`; export r; \
19868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19871 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
19875 .PHONY: check-zip maybe-check-zip
19878 maybe-check-zip: check-zip
19880 # This module is only tested in a native toolchain.
19882 @if [ '$(host)' = '$(target)' ] ; then \
19883 r=`${PWD_COMMAND}`; export r; \
19884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19887 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19892 .PHONY: install-zip maybe-install-zip
19895 maybe-install-zip: install-zip
19897 install-zip: installdirs
19898 @r=`${PWD_COMMAND}`; export r; \
19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19902 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19906 # Other targets (info, dvi, etc.)
19908 .PHONY: maybe-info-zip info-zip
19911 maybe-info-zip: info-zip
19915 @[ -f ./zip/Makefile ] || exit 0; \
19916 r=`${PWD_COMMAND}`; export r; \
19917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19920 for flag in $(EXTRA_HOST_FLAGS) ; do \
19921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19923 echo "Doing info in zip" ; \
19925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19927 "RANLIB=$${RANLIB}" \
19928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19934 .PHONY: maybe-dvi-zip dvi-zip
19937 maybe-dvi-zip: dvi-zip
19941 @[ -f ./zip/Makefile ] || exit 0; \
19942 r=`${PWD_COMMAND}`; export r; \
19943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19946 for flag in $(EXTRA_HOST_FLAGS) ; do \
19947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19949 echo "Doing dvi in zip" ; \
19951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19953 "RANLIB=$${RANLIB}" \
19954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19960 .PHONY: maybe-TAGS-zip TAGS-zip
19963 maybe-TAGS-zip: TAGS-zip
19967 @[ -f ./zip/Makefile ] || exit 0; \
19968 r=`${PWD_COMMAND}`; export r; \
19969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19972 for flag in $(EXTRA_HOST_FLAGS) ; do \
19973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19975 echo "Doing TAGS in zip" ; \
19977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19979 "RANLIB=$${RANLIB}" \
19980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19986 .PHONY: maybe-install-info-zip install-info-zip
19987 maybe-install-info-zip:
19989 maybe-install-info-zip: install-info-zip
19991 install-info-zip: \
19994 @[ -f ./zip/Makefile ] || exit 0; \
19995 r=`${PWD_COMMAND}`; export r; \
19996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19999 for flag in $(EXTRA_HOST_FLAGS) ; do \
20000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20002 echo "Doing install-info in zip" ; \
20004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20006 "RANLIB=$${RANLIB}" \
20007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20013 .PHONY: maybe-installcheck-zip installcheck-zip
20014 maybe-installcheck-zip:
20016 maybe-installcheck-zip: installcheck-zip
20018 installcheck-zip: \
20020 @[ -f ./zip/Makefile ] || exit 0; \
20021 r=`${PWD_COMMAND}`; export r; \
20022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20025 for flag in $(EXTRA_HOST_FLAGS) ; do \
20026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20028 echo "Doing installcheck in zip" ; \
20030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20032 "RANLIB=$${RANLIB}" \
20033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20039 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20040 maybe-mostlyclean-zip:
20042 maybe-mostlyclean-zip: mostlyclean-zip
20045 @[ -f ./zip/Makefile ] || exit 0; \
20046 r=`${PWD_COMMAND}`; export r; \
20047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20050 for flag in $(EXTRA_HOST_FLAGS) ; do \
20051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20053 echo "Doing mostlyclean in zip" ; \
20055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20057 "RANLIB=$${RANLIB}" \
20058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20064 .PHONY: maybe-clean-zip clean-zip
20067 maybe-clean-zip: clean-zip
20070 @[ -f ./zip/Makefile ] || exit 0; \
20071 r=`${PWD_COMMAND}`; export r; \
20072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20075 for flag in $(EXTRA_HOST_FLAGS) ; do \
20076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20078 echo "Doing clean in zip" ; \
20080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20082 "RANLIB=$${RANLIB}" \
20083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20089 .PHONY: maybe-distclean-zip distclean-zip
20090 maybe-distclean-zip:
20092 maybe-distclean-zip: distclean-zip
20095 @[ -f ./zip/Makefile ] || exit 0; \
20096 r=`${PWD_COMMAND}`; export r; \
20097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20100 for flag in $(EXTRA_HOST_FLAGS) ; do \
20101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20103 echo "Doing distclean in zip" ; \
20105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20107 "RANLIB=$${RANLIB}" \
20108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20114 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20115 maybe-maintainer-clean-zip:
20117 maybe-maintainer-clean-zip: maintainer-clean-zip
20119 maintainer-clean-zip:
20120 @[ -f ./zip/Makefile ] || exit 0; \
20121 r=`${PWD_COMMAND}`; export r; \
20122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 for flag in $(EXTRA_HOST_FLAGS) ; do \
20126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128 echo "Doing maintainer-clean in zip" ; \
20130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20132 "RANLIB=$${RANLIB}" \
20133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20134 maintainer-clean) \
20140 .PHONY: configure-zlib maybe-configure-zlib
20141 maybe-configure-zlib:
20143 maybe-configure-zlib: configure-zlib
20145 @test -f stage_last && exit 0; \
20146 test ! -f zlib/Makefile || exit 0; \
20147 [ -d zlib ] || mkdir zlib; \
20148 r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 echo Configuring in zlib; \
20152 cd zlib || exit 1; \
20153 case $(srcdir) in \
20155 srcdiroption="--srcdir=."; \
20157 /* | [A-Za-z]:[\\/]*) \
20158 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20159 libsrcdir="$$s/zlib";; \
20161 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20162 libsrcdir="$$s/zlib";; \
20164 $(SHELL) $${libsrcdir}/configure \
20165 $(HOST_CONFIGARGS) $${srcdiroption} \
20169 .PHONY: all-zlib maybe-all-zlib
20173 maybe-all-zlib: all-zlib
20174 all-zlib: configure-zlib
20175 @test -f stage_last && exit 0; \
20176 r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20180 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
20184 .PHONY: check-zlib maybe-check-zlib
20187 maybe-check-zlib: check-zlib
20193 .PHONY: install-zlib maybe-install-zlib
20194 maybe-install-zlib:
20196 maybe-install-zlib: install-zlib
20202 # Other targets (info, dvi, etc.)
20204 .PHONY: maybe-info-zlib info-zlib
20207 maybe-info-zlib: info-zlib
20211 @[ -f ./zlib/Makefile ] || exit 0; \
20212 r=`${PWD_COMMAND}`; export r; \
20213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 for flag in $(EXTRA_HOST_FLAGS) ; do \
20217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20219 echo "Doing info in zlib" ; \
20221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20223 "RANLIB=$${RANLIB}" \
20224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20230 .PHONY: maybe-dvi-zlib dvi-zlib
20233 maybe-dvi-zlib: dvi-zlib
20237 @[ -f ./zlib/Makefile ] || exit 0; \
20238 r=`${PWD_COMMAND}`; export r; \
20239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20242 for flag in $(EXTRA_HOST_FLAGS) ; do \
20243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20245 echo "Doing dvi in zlib" ; \
20247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20249 "RANLIB=$${RANLIB}" \
20250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20256 .PHONY: maybe-TAGS-zlib TAGS-zlib
20259 maybe-TAGS-zlib: TAGS-zlib
20263 @[ -f ./zlib/Makefile ] || exit 0; \
20264 r=`${PWD_COMMAND}`; export r; \
20265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20268 for flag in $(EXTRA_HOST_FLAGS) ; do \
20269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20271 echo "Doing TAGS in zlib" ; \
20273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20275 "RANLIB=$${RANLIB}" \
20276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20282 .PHONY: maybe-install-info-zlib install-info-zlib
20283 maybe-install-info-zlib:
20285 maybe-install-info-zlib: install-info-zlib
20287 install-info-zlib: \
20290 @[ -f ./zlib/Makefile ] || exit 0; \
20291 r=`${PWD_COMMAND}`; export r; \
20292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 for flag in $(EXTRA_HOST_FLAGS) ; do \
20296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20298 echo "Doing install-info in zlib" ; \
20300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20302 "RANLIB=$${RANLIB}" \
20303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20309 .PHONY: maybe-installcheck-zlib installcheck-zlib
20310 maybe-installcheck-zlib:
20312 maybe-installcheck-zlib: installcheck-zlib
20314 installcheck-zlib: \
20316 @[ -f ./zlib/Makefile ] || exit 0; \
20317 r=`${PWD_COMMAND}`; export r; \
20318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20321 for flag in $(EXTRA_HOST_FLAGS) ; do \
20322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20324 echo "Doing installcheck in zlib" ; \
20326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20328 "RANLIB=$${RANLIB}" \
20329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20335 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20336 maybe-mostlyclean-zlib:
20338 maybe-mostlyclean-zlib: mostlyclean-zlib
20341 @[ -f ./zlib/Makefile ] || exit 0; \
20342 r=`${PWD_COMMAND}`; export r; \
20343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20346 for flag in $(EXTRA_HOST_FLAGS) ; do \
20347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20349 echo "Doing mostlyclean in zlib" ; \
20351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20353 "RANLIB=$${RANLIB}" \
20354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20360 .PHONY: maybe-clean-zlib clean-zlib
20363 maybe-clean-zlib: clean-zlib
20366 @[ -f ./zlib/Makefile ] || exit 0; \
20367 r=`${PWD_COMMAND}`; export r; \
20368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20371 for flag in $(EXTRA_HOST_FLAGS) ; do \
20372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20374 echo "Doing clean in zlib" ; \
20376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20378 "RANLIB=$${RANLIB}" \
20379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20385 .PHONY: maybe-distclean-zlib distclean-zlib
20386 maybe-distclean-zlib:
20388 maybe-distclean-zlib: distclean-zlib
20391 @[ -f ./zlib/Makefile ] || exit 0; \
20392 r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20396 for flag in $(EXTRA_HOST_FLAGS) ; do \
20397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20399 echo "Doing distclean in zlib" ; \
20401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20403 "RANLIB=$${RANLIB}" \
20404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20410 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20411 maybe-maintainer-clean-zlib:
20413 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20415 maintainer-clean-zlib:
20416 @[ -f ./zlib/Makefile ] || exit 0; \
20417 r=`${PWD_COMMAND}`; export r; \
20418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20421 for flag in $(EXTRA_HOST_FLAGS) ; do \
20422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20424 echo "Doing maintainer-clean in zlib" ; \
20426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20428 "RANLIB=$${RANLIB}" \
20429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20430 maintainer-clean) \
20436 .PHONY: configure-gdb maybe-configure-gdb
20437 maybe-configure-gdb:
20439 maybe-configure-gdb: configure-gdb
20441 @test ! -f gdb/Makefile || exit 0; \
20442 [ -d gdb ] || mkdir gdb; \
20443 r=`${PWD_COMMAND}`; export r; \
20444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 echo Configuring in gdb; \
20447 cd gdb || exit 1; \
20448 case $(srcdir) in \
20450 srcdiroption="--srcdir=."; \
20452 /* | [A-Za-z]:[\\/]*) \
20453 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20454 libsrcdir="$$s/gdb";; \
20456 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20457 libsrcdir="$$s/gdb";; \
20459 $(SHELL) $${libsrcdir}/configure \
20460 $(HOST_CONFIGARGS) $${srcdiroption} \
20464 .PHONY: all-gdb maybe-all-gdb
20468 maybe-all-gdb: all-gdb
20469 all-gdb: configure-gdb
20470 @r=`${PWD_COMMAND}`; export r; \
20471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20474 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
20478 .PHONY: check-gdb maybe-check-gdb
20481 maybe-check-gdb: check-gdb
20484 @r=`${PWD_COMMAND}`; export r; \
20485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20492 .PHONY: install-gdb maybe-install-gdb
20495 maybe-install-gdb: install-gdb
20497 install-gdb: installdirs
20498 @r=`${PWD_COMMAND}`; export r; \
20499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20502 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20506 # Other targets (info, dvi, etc.)
20508 .PHONY: maybe-info-gdb info-gdb
20511 maybe-info-gdb: info-gdb
20515 @[ -f ./gdb/Makefile ] || exit 0; \
20516 r=`${PWD_COMMAND}`; export r; \
20517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20523 echo "Doing info in gdb" ; \
20525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20527 "RANLIB=$${RANLIB}" \
20528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20534 .PHONY: maybe-dvi-gdb dvi-gdb
20537 maybe-dvi-gdb: dvi-gdb
20541 @[ -f ./gdb/Makefile ] || exit 0; \
20542 r=`${PWD_COMMAND}`; export r; \
20543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20549 echo "Doing dvi in gdb" ; \
20551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20553 "RANLIB=$${RANLIB}" \
20554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20560 .PHONY: maybe-TAGS-gdb TAGS-gdb
20563 maybe-TAGS-gdb: TAGS-gdb
20567 @[ -f ./gdb/Makefile ] || exit 0; \
20568 r=`${PWD_COMMAND}`; export r; \
20569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20572 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20575 echo "Doing TAGS in gdb" ; \
20577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20579 "RANLIB=$${RANLIB}" \
20580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20586 .PHONY: maybe-install-info-gdb install-info-gdb
20587 maybe-install-info-gdb:
20589 maybe-install-info-gdb: install-info-gdb
20591 install-info-gdb: \
20594 @[ -f ./gdb/Makefile ] || exit 0; \
20595 r=`${PWD_COMMAND}`; export r; \
20596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20602 echo "Doing install-info in gdb" ; \
20604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20606 "RANLIB=$${RANLIB}" \
20607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20613 .PHONY: maybe-installcheck-gdb installcheck-gdb
20614 maybe-installcheck-gdb:
20616 maybe-installcheck-gdb: installcheck-gdb
20618 installcheck-gdb: \
20620 @[ -f ./gdb/Makefile ] || exit 0; \
20621 r=`${PWD_COMMAND}`; export r; \
20622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20628 echo "Doing installcheck in gdb" ; \
20630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20632 "RANLIB=$${RANLIB}" \
20633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20639 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20640 maybe-mostlyclean-gdb:
20642 maybe-mostlyclean-gdb: mostlyclean-gdb
20645 @[ -f ./gdb/Makefile ] || exit 0; \
20646 r=`${PWD_COMMAND}`; export r; \
20647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20650 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20653 echo "Doing mostlyclean in gdb" ; \
20655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20657 "RANLIB=$${RANLIB}" \
20658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20664 .PHONY: maybe-clean-gdb clean-gdb
20667 maybe-clean-gdb: clean-gdb
20670 @[ -f ./gdb/Makefile ] || exit 0; \
20671 r=`${PWD_COMMAND}`; export r; \
20672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20675 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20678 echo "Doing clean in gdb" ; \
20680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20682 "RANLIB=$${RANLIB}" \
20683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20689 .PHONY: maybe-distclean-gdb distclean-gdb
20690 maybe-distclean-gdb:
20692 maybe-distclean-gdb: distclean-gdb
20695 @[ -f ./gdb/Makefile ] || exit 0; \
20696 r=`${PWD_COMMAND}`; export r; \
20697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20700 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20703 echo "Doing distclean in gdb" ; \
20705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20707 "RANLIB=$${RANLIB}" \
20708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20714 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20715 maybe-maintainer-clean-gdb:
20717 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20719 maintainer-clean-gdb:
20720 @[ -f ./gdb/Makefile ] || exit 0; \
20721 r=`${PWD_COMMAND}`; export r; \
20722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20725 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20728 echo "Doing maintainer-clean in gdb" ; \
20730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20732 "RANLIB=$${RANLIB}" \
20733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20734 maintainer-clean) \
20740 .PHONY: configure-expect maybe-configure-expect
20741 maybe-configure-expect:
20743 maybe-configure-expect: configure-expect
20745 @test ! -f expect/Makefile || exit 0; \
20746 [ -d expect ] || mkdir expect; \
20747 r=`${PWD_COMMAND}`; export r; \
20748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20750 echo Configuring in expect; \
20751 cd expect || exit 1; \
20752 case $(srcdir) in \
20754 srcdiroption="--srcdir=."; \
20756 /* | [A-Za-z]:[\\/]*) \
20757 srcdiroption="--srcdir=$(srcdir)/expect"; \
20758 libsrcdir="$$s/expect";; \
20760 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20761 libsrcdir="$$s/expect";; \
20763 $(SHELL) $${libsrcdir}/configure \
20764 $(HOST_CONFIGARGS) $${srcdiroption} \
20768 .PHONY: all-expect maybe-all-expect
20772 maybe-all-expect: all-expect
20773 all-expect: configure-expect
20774 @r=`${PWD_COMMAND}`; export r; \
20775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
20782 .PHONY: check-expect maybe-check-expect
20783 maybe-check-expect:
20785 maybe-check-expect: check-expect
20788 @r=`${PWD_COMMAND}`; export r; \
20789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20792 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20796 .PHONY: install-expect maybe-install-expect
20797 maybe-install-expect:
20799 maybe-install-expect: install-expect
20801 install-expect: installdirs
20802 @r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20810 # Other targets (info, dvi, etc.)
20812 .PHONY: maybe-info-expect info-expect
20815 maybe-info-expect: info-expect
20819 @[ -f ./expect/Makefile ] || exit 0; \
20820 r=`${PWD_COMMAND}`; export r; \
20821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20824 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20827 echo "Doing info in expect" ; \
20829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20831 "RANLIB=$${RANLIB}" \
20832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20838 .PHONY: maybe-dvi-expect dvi-expect
20841 maybe-dvi-expect: dvi-expect
20845 @[ -f ./expect/Makefile ] || exit 0; \
20846 r=`${PWD_COMMAND}`; export r; \
20847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20853 echo "Doing dvi in expect" ; \
20855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20857 "RANLIB=$${RANLIB}" \
20858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20864 .PHONY: maybe-TAGS-expect TAGS-expect
20867 maybe-TAGS-expect: TAGS-expect
20871 @[ -f ./expect/Makefile ] || exit 0; \
20872 r=`${PWD_COMMAND}`; export r; \
20873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20876 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20879 echo "Doing TAGS in expect" ; \
20881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20883 "RANLIB=$${RANLIB}" \
20884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20890 .PHONY: maybe-install-info-expect install-info-expect
20891 maybe-install-info-expect:
20893 maybe-install-info-expect: install-info-expect
20895 install-info-expect: \
20898 @[ -f ./expect/Makefile ] || exit 0; \
20899 r=`${PWD_COMMAND}`; export r; \
20900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20903 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20906 echo "Doing install-info in expect" ; \
20908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20910 "RANLIB=$${RANLIB}" \
20911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20917 .PHONY: maybe-installcheck-expect installcheck-expect
20918 maybe-installcheck-expect:
20920 maybe-installcheck-expect: installcheck-expect
20922 installcheck-expect: \
20924 @[ -f ./expect/Makefile ] || exit 0; \
20925 r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20932 echo "Doing installcheck in expect" ; \
20934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20936 "RANLIB=$${RANLIB}" \
20937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20943 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20944 maybe-mostlyclean-expect:
20946 maybe-mostlyclean-expect: mostlyclean-expect
20948 mostlyclean-expect:
20949 @[ -f ./expect/Makefile ] || exit 0; \
20950 r=`${PWD_COMMAND}`; export r; \
20951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20954 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20957 echo "Doing mostlyclean in expect" ; \
20959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20961 "RANLIB=$${RANLIB}" \
20962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20968 .PHONY: maybe-clean-expect clean-expect
20969 maybe-clean-expect:
20971 maybe-clean-expect: clean-expect
20974 @[ -f ./expect/Makefile ] || exit 0; \
20975 r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20982 echo "Doing clean in expect" ; \
20984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20986 "RANLIB=$${RANLIB}" \
20987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20993 .PHONY: maybe-distclean-expect distclean-expect
20994 maybe-distclean-expect:
20996 maybe-distclean-expect: distclean-expect
20999 @[ -f ./expect/Makefile ] || exit 0; \
21000 r=`${PWD_COMMAND}`; export r; \
21001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21004 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21007 echo "Doing distclean in expect" ; \
21009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011 "RANLIB=$${RANLIB}" \
21012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21018 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21019 maybe-maintainer-clean-expect:
21021 maybe-maintainer-clean-expect: maintainer-clean-expect
21023 maintainer-clean-expect:
21024 @[ -f ./expect/Makefile ] || exit 0; \
21025 r=`${PWD_COMMAND}`; export r; \
21026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21032 echo "Doing maintainer-clean in expect" ; \
21034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21036 "RANLIB=$${RANLIB}" \
21037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21038 maintainer-clean) \
21044 .PHONY: configure-guile maybe-configure-guile
21045 maybe-configure-guile:
21047 maybe-configure-guile: configure-guile
21049 @test ! -f guile/Makefile || exit 0; \
21050 [ -d guile ] || mkdir guile; \
21051 r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 echo Configuring in guile; \
21055 cd guile || exit 1; \
21056 case $(srcdir) in \
21058 srcdiroption="--srcdir=."; \
21060 /* | [A-Za-z]:[\\/]*) \
21061 srcdiroption="--srcdir=$(srcdir)/guile"; \
21062 libsrcdir="$$s/guile";; \
21064 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21065 libsrcdir="$$s/guile";; \
21067 $(SHELL) $${libsrcdir}/configure \
21068 $(HOST_CONFIGARGS) $${srcdiroption} \
21072 .PHONY: all-guile maybe-all-guile
21076 maybe-all-guile: all-guile
21077 all-guile: configure-guile
21078 @r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21086 .PHONY: check-guile maybe-check-guile
21089 maybe-check-guile: check-guile
21092 @r=`${PWD_COMMAND}`; export r; \
21093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21100 .PHONY: install-guile maybe-install-guile
21101 maybe-install-guile:
21103 maybe-install-guile: install-guile
21105 install-guile: installdirs
21106 @r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21114 # Other targets (info, dvi, etc.)
21116 .PHONY: maybe-info-guile info-guile
21119 maybe-info-guile: info-guile
21123 @[ -f ./guile/Makefile ] || exit 0; \
21124 r=`${PWD_COMMAND}`; export r; \
21125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21128 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21131 echo "Doing info in guile" ; \
21133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21135 "RANLIB=$${RANLIB}" \
21136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21142 .PHONY: maybe-dvi-guile dvi-guile
21145 maybe-dvi-guile: dvi-guile
21149 @[ -f ./guile/Makefile ] || exit 0; \
21150 r=`${PWD_COMMAND}`; export r; \
21151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21154 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21157 echo "Doing dvi in guile" ; \
21159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21161 "RANLIB=$${RANLIB}" \
21162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21168 .PHONY: maybe-TAGS-guile TAGS-guile
21171 maybe-TAGS-guile: TAGS-guile
21175 @[ -f ./guile/Makefile ] || exit 0; \
21176 r=`${PWD_COMMAND}`; export r; \
21177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21180 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21183 echo "Doing TAGS in guile" ; \
21185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21187 "RANLIB=$${RANLIB}" \
21188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21194 .PHONY: maybe-install-info-guile install-info-guile
21195 maybe-install-info-guile:
21197 maybe-install-info-guile: install-info-guile
21199 install-info-guile: \
21202 @[ -f ./guile/Makefile ] || exit 0; \
21203 r=`${PWD_COMMAND}`; export r; \
21204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21207 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21210 echo "Doing install-info in guile" ; \
21212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21214 "RANLIB=$${RANLIB}" \
21215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21221 .PHONY: maybe-installcheck-guile installcheck-guile
21222 maybe-installcheck-guile:
21224 maybe-installcheck-guile: installcheck-guile
21226 installcheck-guile: \
21228 @[ -f ./guile/Makefile ] || exit 0; \
21229 r=`${PWD_COMMAND}`; export r; \
21230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21233 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21236 echo "Doing installcheck in guile" ; \
21238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21240 "RANLIB=$${RANLIB}" \
21241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21247 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21248 maybe-mostlyclean-guile:
21250 maybe-mostlyclean-guile: mostlyclean-guile
21253 @[ -f ./guile/Makefile ] || exit 0; \
21254 r=`${PWD_COMMAND}`; export r; \
21255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21261 echo "Doing mostlyclean in guile" ; \
21263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21265 "RANLIB=$${RANLIB}" \
21266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21272 .PHONY: maybe-clean-guile clean-guile
21275 maybe-clean-guile: clean-guile
21278 @[ -f ./guile/Makefile ] || exit 0; \
21279 r=`${PWD_COMMAND}`; export r; \
21280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21283 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21286 echo "Doing clean in guile" ; \
21288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21290 "RANLIB=$${RANLIB}" \
21291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21297 .PHONY: maybe-distclean-guile distclean-guile
21298 maybe-distclean-guile:
21300 maybe-distclean-guile: distclean-guile
21303 @[ -f ./guile/Makefile ] || exit 0; \
21304 r=`${PWD_COMMAND}`; export r; \
21305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21308 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21311 echo "Doing distclean in guile" ; \
21313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21315 "RANLIB=$${RANLIB}" \
21316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21322 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21323 maybe-maintainer-clean-guile:
21325 maybe-maintainer-clean-guile: maintainer-clean-guile
21327 maintainer-clean-guile:
21328 @[ -f ./guile/Makefile ] || exit 0; \
21329 r=`${PWD_COMMAND}`; export r; \
21330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21336 echo "Doing maintainer-clean in guile" ; \
21338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21340 "RANLIB=$${RANLIB}" \
21341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21342 maintainer-clean) \
21348 .PHONY: configure-tk maybe-configure-tk
21349 maybe-configure-tk:
21351 maybe-configure-tk: configure-tk
21353 @test ! -f tk/Makefile || exit 0; \
21354 [ -d tk ] || mkdir tk; \
21355 r=`${PWD_COMMAND}`; export r; \
21356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21358 echo Configuring in tk; \
21360 case $(srcdir) in \
21362 srcdiroption="--srcdir=."; \
21364 /* | [A-Za-z]:[\\/]*) \
21365 srcdiroption="--srcdir=$(srcdir)/tk"; \
21366 libsrcdir="$$s/tk";; \
21368 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21369 libsrcdir="$$s/tk";; \
21371 $(SHELL) $${libsrcdir}/configure \
21372 $(HOST_CONFIGARGS) $${srcdiroption} \
21376 .PHONY: all-tk maybe-all-tk
21380 maybe-all-tk: all-tk
21381 all-tk: configure-tk
21382 @r=`${PWD_COMMAND}`; export r; \
21383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21386 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21390 .PHONY: check-tk maybe-check-tk
21393 maybe-check-tk: check-tk
21396 @r=`${PWD_COMMAND}`; export r; \
21397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21404 .PHONY: install-tk maybe-install-tk
21407 maybe-install-tk: install-tk
21409 install-tk: installdirs
21410 @r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21418 # Other targets (info, dvi, etc.)
21420 .PHONY: maybe-info-tk info-tk
21423 maybe-info-tk: info-tk
21427 @[ -f ./tk/Makefile ] || exit 0; \
21428 r=`${PWD_COMMAND}`; export r; \
21429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21435 echo "Doing info in tk" ; \
21437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21439 "RANLIB=$${RANLIB}" \
21440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21446 .PHONY: maybe-dvi-tk dvi-tk
21449 maybe-dvi-tk: dvi-tk
21453 @[ -f ./tk/Makefile ] || exit 0; \
21454 r=`${PWD_COMMAND}`; export r; \
21455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21461 echo "Doing dvi in tk" ; \
21463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21465 "RANLIB=$${RANLIB}" \
21466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21472 .PHONY: maybe-TAGS-tk TAGS-tk
21475 maybe-TAGS-tk: TAGS-tk
21479 @[ -f ./tk/Makefile ] || exit 0; \
21480 r=`${PWD_COMMAND}`; export r; \
21481 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 TAGS in tk" ; \
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-install-info-tk install-info-tk
21499 maybe-install-info-tk:
21501 maybe-install-info-tk: install-info-tk
21506 @[ -f ./tk/Makefile ] || exit 0; \
21507 r=`${PWD_COMMAND}`; export r; \
21508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21511 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21514 echo "Doing install-info in tk" ; \
21516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21518 "RANLIB=$${RANLIB}" \
21519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21525 .PHONY: maybe-installcheck-tk installcheck-tk
21526 maybe-installcheck-tk:
21528 maybe-installcheck-tk: installcheck-tk
21532 @[ -f ./tk/Makefile ] || exit 0; \
21533 r=`${PWD_COMMAND}`; export r; \
21534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21537 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21540 echo "Doing installcheck in tk" ; \
21542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21544 "RANLIB=$${RANLIB}" \
21545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21551 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21552 maybe-mostlyclean-tk:
21554 maybe-mostlyclean-tk: mostlyclean-tk
21557 @[ -f ./tk/Makefile ] || exit 0; \
21558 r=`${PWD_COMMAND}`; export r; \
21559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21562 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21565 echo "Doing mostlyclean in tk" ; \
21567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21569 "RANLIB=$${RANLIB}" \
21570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21576 .PHONY: maybe-clean-tk clean-tk
21579 maybe-clean-tk: clean-tk
21582 @[ -f ./tk/Makefile ] || exit 0; \
21583 r=`${PWD_COMMAND}`; export r; \
21584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21587 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21590 echo "Doing clean in tk" ; \
21592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21594 "RANLIB=$${RANLIB}" \
21595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21601 .PHONY: maybe-distclean-tk distclean-tk
21602 maybe-distclean-tk:
21604 maybe-distclean-tk: distclean-tk
21607 @[ -f ./tk/Makefile ] || exit 0; \
21608 r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21612 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21615 echo "Doing distclean in tk" ; \
21617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21619 "RANLIB=$${RANLIB}" \
21620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21626 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21627 maybe-maintainer-clean-tk:
21629 maybe-maintainer-clean-tk: maintainer-clean-tk
21631 maintainer-clean-tk:
21632 @[ -f ./tk/Makefile ] || exit 0; \
21633 r=`${PWD_COMMAND}`; export r; \
21634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21637 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21640 echo "Doing maintainer-clean in tk" ; \
21642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21644 "RANLIB=$${RANLIB}" \
21645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21646 maintainer-clean) \
21652 .PHONY: configure-libtermcap maybe-configure-libtermcap
21653 maybe-configure-libtermcap:
21655 maybe-configure-libtermcap: configure-libtermcap
21656 configure-libtermcap:
21657 @test ! -f libtermcap/Makefile || exit 0; \
21658 [ -d libtermcap ] || mkdir libtermcap; \
21659 r=`${PWD_COMMAND}`; export r; \
21660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21662 echo Configuring in libtermcap; \
21663 cd libtermcap || exit 1; \
21664 case $(srcdir) in \
21666 srcdiroption="--srcdir=."; \
21668 /* | [A-Za-z]:[\\/]*) \
21669 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21670 libsrcdir="$$s/libtermcap";; \
21672 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21673 libsrcdir="$$s/libtermcap";; \
21675 $(SHELL) $${libsrcdir}/configure \
21676 $(HOST_CONFIGARGS) $${srcdiroption} \
21680 .PHONY: all-libtermcap maybe-all-libtermcap
21681 maybe-all-libtermcap:
21683 TARGET-libtermcap=all
21684 maybe-all-libtermcap: all-libtermcap
21685 all-libtermcap: configure-libtermcap
21686 @r=`${PWD_COMMAND}`; export r; \
21687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21690 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
21691 $(TARGET-libtermcap))
21694 .PHONY: check-libtermcap maybe-check-libtermcap
21695 maybe-check-libtermcap:
21697 maybe-check-libtermcap: check-libtermcap
21703 .PHONY: install-libtermcap maybe-install-libtermcap
21704 maybe-install-libtermcap:
21706 maybe-install-libtermcap: install-libtermcap
21708 install-libtermcap: installdirs
21709 @r=`${PWD_COMMAND}`; export r; \
21710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21713 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21717 # Other targets (info, dvi, etc.)
21719 .PHONY: maybe-info-libtermcap info-libtermcap
21720 maybe-info-libtermcap:
21722 maybe-info-libtermcap: info-libtermcap
21725 configure-libtermcap
21726 @[ -f ./libtermcap/Makefile ] || exit 0; \
21727 r=`${PWD_COMMAND}`; export r; \
21728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 for flag in $(EXTRA_HOST_FLAGS) ; do \
21732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21734 echo "Doing info in libtermcap" ; \
21735 (cd libtermcap && \
21736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738 "RANLIB=$${RANLIB}" \
21739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21745 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21746 maybe-dvi-libtermcap:
21748 maybe-dvi-libtermcap: dvi-libtermcap
21751 configure-libtermcap
21752 @[ -f ./libtermcap/Makefile ] || exit 0; \
21753 r=`${PWD_COMMAND}`; export r; \
21754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 for flag in $(EXTRA_HOST_FLAGS) ; do \
21758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21760 echo "Doing dvi in libtermcap" ; \
21761 (cd libtermcap && \
21762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21764 "RANLIB=$${RANLIB}" \
21765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21771 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21772 maybe-TAGS-libtermcap:
21774 maybe-TAGS-libtermcap: TAGS-libtermcap
21777 configure-libtermcap
21778 @[ -f ./libtermcap/Makefile ] || exit 0; \
21779 r=`${PWD_COMMAND}`; export r; \
21780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 for flag in $(EXTRA_HOST_FLAGS) ; do \
21784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21786 echo "Doing TAGS in libtermcap" ; \
21787 (cd libtermcap && \
21788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21790 "RANLIB=$${RANLIB}" \
21791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21797 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21798 maybe-install-info-libtermcap:
21800 maybe-install-info-libtermcap: install-info-libtermcap
21802 install-info-libtermcap: \
21803 configure-libtermcap \
21805 @[ -f ./libtermcap/Makefile ] || exit 0; \
21806 r=`${PWD_COMMAND}`; export r; \
21807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810 for flag in $(EXTRA_HOST_FLAGS) ; do \
21811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21813 echo "Doing install-info in libtermcap" ; \
21814 (cd libtermcap && \
21815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21817 "RANLIB=$${RANLIB}" \
21818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21824 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21825 maybe-installcheck-libtermcap:
21827 maybe-installcheck-libtermcap: installcheck-libtermcap
21829 installcheck-libtermcap: \
21830 configure-libtermcap
21831 @[ -f ./libtermcap/Makefile ] || exit 0; \
21832 r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21836 for flag in $(EXTRA_HOST_FLAGS) ; do \
21837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21839 echo "Doing installcheck in libtermcap" ; \
21840 (cd libtermcap && \
21841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21843 "RANLIB=$${RANLIB}" \
21844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21850 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21851 maybe-mostlyclean-libtermcap:
21853 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21855 # libtermcap doesn't support mostlyclean.
21856 mostlyclean-libtermcap:
21860 .PHONY: maybe-clean-libtermcap clean-libtermcap
21861 maybe-clean-libtermcap:
21863 maybe-clean-libtermcap: clean-libtermcap
21865 # libtermcap doesn't support clean.
21870 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21871 maybe-distclean-libtermcap:
21873 maybe-distclean-libtermcap: distclean-libtermcap
21875 # libtermcap doesn't support distclean.
21876 distclean-libtermcap:
21880 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21881 maybe-maintainer-clean-libtermcap:
21883 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21885 # libtermcap doesn't support maintainer-clean.
21886 maintainer-clean-libtermcap:
21891 .PHONY: configure-utils maybe-configure-utils
21892 maybe-configure-utils:
21894 maybe-configure-utils: configure-utils
21896 @test ! -f utils/Makefile || exit 0; \
21897 [ -d utils ] || mkdir utils; \
21898 r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21901 echo Configuring in utils; \
21902 cd utils || exit 1; \
21903 case $(srcdir) in \
21905 srcdiroption="--srcdir=."; \
21907 /* | [A-Za-z]:[\\/]*) \
21908 srcdiroption="--srcdir=$(srcdir)/utils"; \
21909 libsrcdir="$$s/utils";; \
21911 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21912 libsrcdir="$$s/utils";; \
21914 $(SHELL) $${libsrcdir}/configure \
21915 $(HOST_CONFIGARGS) $${srcdiroption} \
21919 .PHONY: all-utils maybe-all-utils
21923 maybe-all-utils: all-utils
21924 all-utils: configure-utils
21925 @r=`${PWD_COMMAND}`; export r; \
21926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21929 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
21933 .PHONY: check-utils maybe-check-utils
21936 maybe-check-utils: check-utils
21942 .PHONY: install-utils maybe-install-utils
21943 maybe-install-utils:
21945 maybe-install-utils: install-utils
21947 install-utils: installdirs
21948 @r=`${PWD_COMMAND}`; export r; \
21949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21952 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21956 # Other targets (info, dvi, etc.)
21958 .PHONY: maybe-info-utils info-utils
21961 maybe-info-utils: info-utils
21965 @[ -f ./utils/Makefile ] || exit 0; \
21966 r=`${PWD_COMMAND}`; export r; \
21967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 for flag in $(EXTRA_HOST_FLAGS) ; do \
21971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21973 echo "Doing info in utils" ; \
21975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21977 "RANLIB=$${RANLIB}" \
21978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21984 .PHONY: maybe-dvi-utils dvi-utils
21987 maybe-dvi-utils: dvi-utils
21991 @[ -f ./utils/Makefile ] || exit 0; \
21992 r=`${PWD_COMMAND}`; export r; \
21993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21996 for flag in $(EXTRA_HOST_FLAGS) ; do \
21997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21999 echo "Doing dvi in utils" ; \
22001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22003 "RANLIB=$${RANLIB}" \
22004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22010 .PHONY: maybe-TAGS-utils TAGS-utils
22013 maybe-TAGS-utils: TAGS-utils
22017 @[ -f ./utils/Makefile ] || exit 0; \
22018 r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22022 for flag in $(EXTRA_HOST_FLAGS) ; do \
22023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22025 echo "Doing TAGS in utils" ; \
22027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22029 "RANLIB=$${RANLIB}" \
22030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22036 .PHONY: maybe-install-info-utils install-info-utils
22037 maybe-install-info-utils:
22039 maybe-install-info-utils: install-info-utils
22041 install-info-utils: \
22044 @[ -f ./utils/Makefile ] || exit 0; \
22045 r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22049 for flag in $(EXTRA_HOST_FLAGS) ; do \
22050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22052 echo "Doing install-info in utils" ; \
22054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22056 "RANLIB=$${RANLIB}" \
22057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22063 .PHONY: maybe-installcheck-utils installcheck-utils
22064 maybe-installcheck-utils:
22066 maybe-installcheck-utils: installcheck-utils
22068 installcheck-utils: \
22070 @[ -f ./utils/Makefile ] || exit 0; \
22071 r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22075 for flag in $(EXTRA_HOST_FLAGS) ; do \
22076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22078 echo "Doing installcheck in utils" ; \
22080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22082 "RANLIB=$${RANLIB}" \
22083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22089 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22090 maybe-mostlyclean-utils:
22092 maybe-mostlyclean-utils: mostlyclean-utils
22095 @[ -f ./utils/Makefile ] || exit 0; \
22096 r=`${PWD_COMMAND}`; export r; \
22097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22100 for flag in $(EXTRA_HOST_FLAGS) ; do \
22101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22103 echo "Doing mostlyclean in utils" ; \
22105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22107 "RANLIB=$${RANLIB}" \
22108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22114 .PHONY: maybe-clean-utils clean-utils
22117 maybe-clean-utils: clean-utils
22120 @[ -f ./utils/Makefile ] || exit 0; \
22121 r=`${PWD_COMMAND}`; export r; \
22122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22125 for flag in $(EXTRA_HOST_FLAGS) ; do \
22126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22128 echo "Doing clean in utils" ; \
22130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22132 "RANLIB=$${RANLIB}" \
22133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22139 .PHONY: maybe-distclean-utils distclean-utils
22140 maybe-distclean-utils:
22142 maybe-distclean-utils: distclean-utils
22145 @[ -f ./utils/Makefile ] || exit 0; \
22146 r=`${PWD_COMMAND}`; export r; \
22147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22150 for flag in $(EXTRA_HOST_FLAGS) ; do \
22151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22153 echo "Doing distclean in utils" ; \
22155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157 "RANLIB=$${RANLIB}" \
22158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22164 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22165 maybe-maintainer-clean-utils:
22167 maybe-maintainer-clean-utils: maintainer-clean-utils
22169 maintainer-clean-utils:
22170 @[ -f ./utils/Makefile ] || exit 0; \
22171 r=`${PWD_COMMAND}`; export r; \
22172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22175 for flag in $(EXTRA_HOST_FLAGS) ; do \
22176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22178 echo "Doing maintainer-clean in utils" ; \
22180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22182 "RANLIB=$${RANLIB}" \
22183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22184 maintainer-clean) \
22191 # ---------------------------------------
22192 # Modules which run on the target machine
22193 # ---------------------------------------
22195 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22196 maybe-configure-target-libstdc++-v3:
22197 @if target-libstdc++-v3
22198 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22200 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22201 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22203 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22204 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22206 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22207 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22209 r=`${PWD_COMMAND}`; export r; \
22210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22212 $(RAW_CXX_TARGET_EXPORTS) \
22213 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22214 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22215 case $(srcdir) in \
22216 /* | [A-Za-z]:[\\/]*) \
22217 topdir=$(srcdir) ;; \
22219 case "$(TARGET_SUBDIR)" in \
22220 .) topdir="../$(srcdir)" ;; \
22221 *) topdir="../../$(srcdir)" ;; \
22224 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22225 libsrcdir="$$s/libstdc++-v3"; \
22226 rm -f no-such-file || : ; \
22227 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22228 $(TARGET_CONFIGARGS) $${srcdiroption} \
22229 --with-target-subdir="$(TARGET_SUBDIR)" \
22231 @endif target-libstdc++-v3
22233 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22234 maybe-all-target-libstdc++-v3:
22235 @if target-libstdc++-v3
22236 TARGET-target-libstdc++-v3=all
22237 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22238 all-target-libstdc++-v3: configure-target-libstdc++-v3
22239 @r=`${PWD_COMMAND}`; export r; \
22240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(RAW_CXX_TARGET_EXPORTS) \
22243 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22244 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22245 @endif target-libstdc++-v3
22247 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22248 maybe-check-target-libstdc++-v3:
22249 @if target-libstdc++-v3
22250 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22252 check-target-libstdc++-v3:
22253 @r=`${PWD_COMMAND}`; export r; \
22254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22256 $(RAW_CXX_TARGET_EXPORTS) \
22257 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22258 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22260 @endif target-libstdc++-v3
22262 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22263 maybe-install-target-libstdc++-v3:
22264 @if target-libstdc++-v3
22265 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22267 install-target-libstdc++-v3: installdirs
22268 @r=`${PWD_COMMAND}`; export r; \
22269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(RAW_CXX_TARGET_EXPORTS) \
22272 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22273 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22275 @endif target-libstdc++-v3
22277 # Other targets (info, dvi, etc.)
22279 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22280 maybe-info-target-libstdc++-v3:
22281 @if target-libstdc++-v3
22282 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22284 info-target-libstdc++-v3: \
22285 configure-target-libstdc++-v3
22286 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22287 r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 $(RAW_CXX_TARGET_EXPORTS) \
22291 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22292 for flag in $(EXTRA_TARGET_FLAGS); do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22295 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22298 "RANLIB=$${RANLIB}" \
22299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22303 @endif target-libstdc++-v3
22305 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22306 maybe-dvi-target-libstdc++-v3:
22307 @if target-libstdc++-v3
22308 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22310 dvi-target-libstdc++-v3: \
22311 configure-target-libstdc++-v3
22312 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22313 r=`${PWD_COMMAND}`; export r; \
22314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22316 $(RAW_CXX_TARGET_EXPORTS) \
22317 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22318 for flag in $(EXTRA_TARGET_FLAGS); do \
22319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22321 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22329 @endif target-libstdc++-v3
22331 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22332 maybe-TAGS-target-libstdc++-v3:
22333 @if target-libstdc++-v3
22334 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22336 TAGS-target-libstdc++-v3: \
22337 configure-target-libstdc++-v3
22338 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22342 $(RAW_CXX_TARGET_EXPORTS) \
22343 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22344 for flag in $(EXTRA_TARGET_FLAGS); do \
22345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22347 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22350 "RANLIB=$${RANLIB}" \
22351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22355 @endif target-libstdc++-v3
22357 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22358 maybe-install-info-target-libstdc++-v3:
22359 @if target-libstdc++-v3
22360 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22362 install-info-target-libstdc++-v3: \
22363 configure-target-libstdc++-v3 \
22364 info-target-libstdc++-v3
22365 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22366 r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369 $(RAW_CXX_TARGET_EXPORTS) \
22370 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22371 for flag in $(EXTRA_TARGET_FLAGS); do \
22372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22374 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22377 "RANLIB=$${RANLIB}" \
22378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22382 @endif target-libstdc++-v3
22384 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22385 maybe-installcheck-target-libstdc++-v3:
22386 @if target-libstdc++-v3
22387 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22389 installcheck-target-libstdc++-v3: \
22390 configure-target-libstdc++-v3
22391 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22392 r=`${PWD_COMMAND}`; export r; \
22393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 $(RAW_CXX_TARGET_EXPORTS) \
22396 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22397 for flag in $(EXTRA_TARGET_FLAGS); do \
22398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22400 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403 "RANLIB=$${RANLIB}" \
22404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22408 @endif target-libstdc++-v3
22410 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22411 maybe-mostlyclean-target-libstdc++-v3:
22412 @if target-libstdc++-v3
22413 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22415 mostlyclean-target-libstdc++-v3:
22416 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22417 r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22420 $(RAW_CXX_TARGET_EXPORTS) \
22421 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22422 for flag in $(EXTRA_TARGET_FLAGS); do \
22423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22428 "RANLIB=$${RANLIB}" \
22429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22433 @endif target-libstdc++-v3
22435 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22436 maybe-clean-target-libstdc++-v3:
22437 @if target-libstdc++-v3
22438 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22440 clean-target-libstdc++-v3:
22441 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22445 $(RAW_CXX_TARGET_EXPORTS) \
22446 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22447 for flag in $(EXTRA_TARGET_FLAGS); do \
22448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22450 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22453 "RANLIB=$${RANLIB}" \
22454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22458 @endif target-libstdc++-v3
22460 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22461 maybe-distclean-target-libstdc++-v3:
22462 @if target-libstdc++-v3
22463 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22465 distclean-target-libstdc++-v3:
22466 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(RAW_CXX_TARGET_EXPORTS) \
22471 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22472 for flag in $(EXTRA_TARGET_FLAGS); do \
22473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22483 @endif target-libstdc++-v3
22485 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22486 maybe-maintainer-clean-target-libstdc++-v3:
22487 @if target-libstdc++-v3
22488 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22490 maintainer-clean-target-libstdc++-v3:
22491 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22495 $(RAW_CXX_TARGET_EXPORTS) \
22496 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22497 for flag in $(EXTRA_TARGET_FLAGS); do \
22498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22503 "RANLIB=$${RANLIB}" \
22504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22505 maintainer-clean) \
22508 @endif target-libstdc++-v3
22511 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22512 maybe-configure-target-libmudflap:
22513 @if target-libmudflap
22514 maybe-configure-target-libmudflap: configure-target-libmudflap
22516 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22517 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22518 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22519 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22520 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22522 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22523 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22525 r=`${PWD_COMMAND}`; export r; \
22526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22528 $(NORMAL_TARGET_EXPORTS) \
22529 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22530 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22531 case $(srcdir) in \
22532 /* | [A-Za-z]:[\\/]*) \
22533 topdir=$(srcdir) ;; \
22535 case "$(TARGET_SUBDIR)" in \
22536 .) topdir="../$(srcdir)" ;; \
22537 *) topdir="../../$(srcdir)" ;; \
22540 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22541 libsrcdir="$$s/libmudflap"; \
22542 rm -f no-such-file || : ; \
22543 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22544 $(TARGET_CONFIGARGS) $${srcdiroption} \
22545 --with-target-subdir="$(TARGET_SUBDIR)" \
22547 @endif target-libmudflap
22549 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22550 maybe-all-target-libmudflap:
22551 @if target-libmudflap
22552 TARGET-target-libmudflap=all
22553 maybe-all-target-libmudflap: all-target-libmudflap
22554 all-target-libmudflap: configure-target-libmudflap
22555 @r=`${PWD_COMMAND}`; export r; \
22556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22558 $(NORMAL_TARGET_EXPORTS) \
22559 (cd $(TARGET_SUBDIR)/libmudflap && \
22560 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22561 @endif target-libmudflap
22563 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22564 maybe-check-target-libmudflap:
22565 @if target-libmudflap
22566 maybe-check-target-libmudflap: check-target-libmudflap
22568 check-target-libmudflap:
22569 @r=`${PWD_COMMAND}`; export r; \
22570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22572 $(NORMAL_TARGET_EXPORTS) \
22573 (cd $(TARGET_SUBDIR)/libmudflap && \
22574 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22576 @endif target-libmudflap
22578 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22579 maybe-install-target-libmudflap:
22580 @if target-libmudflap
22581 maybe-install-target-libmudflap: install-target-libmudflap
22583 install-target-libmudflap: installdirs
22584 @r=`${PWD_COMMAND}`; export r; \
22585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22587 $(NORMAL_TARGET_EXPORTS) \
22588 (cd $(TARGET_SUBDIR)/libmudflap && \
22589 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22591 @endif target-libmudflap
22593 # Other targets (info, dvi, etc.)
22595 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22596 maybe-info-target-libmudflap:
22597 @if target-libmudflap
22598 maybe-info-target-libmudflap: info-target-libmudflap
22600 info-target-libmudflap: \
22601 configure-target-libmudflap
22602 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22603 r=`${PWD_COMMAND}`; export r; \
22604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22606 $(NORMAL_TARGET_EXPORTS) \
22607 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22608 for flag in $(EXTRA_TARGET_FLAGS); do \
22609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22611 (cd $(TARGET_SUBDIR)/libmudflap && \
22612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22614 "RANLIB=$${RANLIB}" \
22615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22619 @endif target-libmudflap
22621 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22622 maybe-dvi-target-libmudflap:
22623 @if target-libmudflap
22624 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22626 dvi-target-libmudflap: \
22627 configure-target-libmudflap
22628 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22629 r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22632 $(NORMAL_TARGET_EXPORTS) \
22633 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22634 for flag in $(EXTRA_TARGET_FLAGS); do \
22635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22637 (cd $(TARGET_SUBDIR)/libmudflap && \
22638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22640 "RANLIB=$${RANLIB}" \
22641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22645 @endif target-libmudflap
22647 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22648 maybe-TAGS-target-libmudflap:
22649 @if target-libmudflap
22650 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22652 TAGS-target-libmudflap: \
22653 configure-target-libmudflap
22654 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22655 r=`${PWD_COMMAND}`; export r; \
22656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22658 $(NORMAL_TARGET_EXPORTS) \
22659 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22660 for flag in $(EXTRA_TARGET_FLAGS); do \
22661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22663 (cd $(TARGET_SUBDIR)/libmudflap && \
22664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22666 "RANLIB=$${RANLIB}" \
22667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22671 @endif target-libmudflap
22673 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22674 maybe-install-info-target-libmudflap:
22675 @if target-libmudflap
22676 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22678 install-info-target-libmudflap: \
22679 configure-target-libmudflap \
22680 info-target-libmudflap
22681 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22682 r=`${PWD_COMMAND}`; export r; \
22683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22685 $(NORMAL_TARGET_EXPORTS) \
22686 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22687 for flag in $(EXTRA_TARGET_FLAGS); do \
22688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22690 (cd $(TARGET_SUBDIR)/libmudflap && \
22691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22693 "RANLIB=$${RANLIB}" \
22694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22698 @endif target-libmudflap
22700 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22701 maybe-installcheck-target-libmudflap:
22702 @if target-libmudflap
22703 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22705 installcheck-target-libmudflap: \
22706 configure-target-libmudflap
22707 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22708 r=`${PWD_COMMAND}`; export r; \
22709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22711 $(NORMAL_TARGET_EXPORTS) \
22712 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22713 for flag in $(EXTRA_TARGET_FLAGS); do \
22714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22716 (cd $(TARGET_SUBDIR)/libmudflap && \
22717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22719 "RANLIB=$${RANLIB}" \
22720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22724 @endif target-libmudflap
22726 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22727 maybe-mostlyclean-target-libmudflap:
22728 @if target-libmudflap
22729 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22731 mostlyclean-target-libmudflap:
22732 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22733 r=`${PWD_COMMAND}`; export r; \
22734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22736 $(NORMAL_TARGET_EXPORTS) \
22737 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22738 for flag in $(EXTRA_TARGET_FLAGS); do \
22739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22741 (cd $(TARGET_SUBDIR)/libmudflap && \
22742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22744 "RANLIB=$${RANLIB}" \
22745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22749 @endif target-libmudflap
22751 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22752 maybe-clean-target-libmudflap:
22753 @if target-libmudflap
22754 maybe-clean-target-libmudflap: clean-target-libmudflap
22756 clean-target-libmudflap:
22757 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22761 $(NORMAL_TARGET_EXPORTS) \
22762 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22763 for flag in $(EXTRA_TARGET_FLAGS); do \
22764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22766 (cd $(TARGET_SUBDIR)/libmudflap && \
22767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22769 "RANLIB=$${RANLIB}" \
22770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22774 @endif target-libmudflap
22776 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22777 maybe-distclean-target-libmudflap:
22778 @if target-libmudflap
22779 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22781 distclean-target-libmudflap:
22782 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22783 r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 $(NORMAL_TARGET_EXPORTS) \
22787 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22788 for flag in $(EXTRA_TARGET_FLAGS); do \
22789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22791 (cd $(TARGET_SUBDIR)/libmudflap && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794 "RANLIB=$${RANLIB}" \
22795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22799 @endif target-libmudflap
22801 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22802 maybe-maintainer-clean-target-libmudflap:
22803 @if target-libmudflap
22804 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22806 maintainer-clean-target-libmudflap:
22807 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22808 r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22811 $(NORMAL_TARGET_EXPORTS) \
22812 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22813 for flag in $(EXTRA_TARGET_FLAGS); do \
22814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22816 (cd $(TARGET_SUBDIR)/libmudflap && \
22817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22819 "RANLIB=$${RANLIB}" \
22820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22821 maintainer-clean) \
22824 @endif target-libmudflap
22827 .PHONY: configure-target-newlib maybe-configure-target-newlib
22828 maybe-configure-target-newlib:
22830 maybe-configure-target-newlib: configure-target-newlib
22832 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22833 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22834 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22835 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22836 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22838 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22839 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22840 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22841 r=`${PWD_COMMAND}`; export r; \
22842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(NORMAL_TARGET_EXPORTS) \
22845 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22846 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22847 case $(srcdir) in \
22848 /* | [A-Za-z]:[\\/]*) \
22849 topdir=$(srcdir) ;; \
22851 case "$(TARGET_SUBDIR)" in \
22852 .) topdir="../$(srcdir)" ;; \
22853 *) topdir="../../$(srcdir)" ;; \
22856 srcdiroption="--srcdir=$${topdir}/newlib"; \
22857 libsrcdir="$$s/newlib"; \
22858 rm -f no-such-file || : ; \
22859 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22860 $(TARGET_CONFIGARGS) $${srcdiroption} \
22861 --with-target-subdir="$(TARGET_SUBDIR)" \
22863 @endif target-newlib
22865 .PHONY: all-target-newlib maybe-all-target-newlib
22866 maybe-all-target-newlib:
22868 TARGET-target-newlib=all
22869 maybe-all-target-newlib: all-target-newlib
22870 all-target-newlib: configure-target-newlib
22871 @r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 $(NORMAL_TARGET_EXPORTS) \
22875 (cd $(TARGET_SUBDIR)/newlib && \
22876 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
22877 @endif target-newlib
22879 .PHONY: check-target-newlib maybe-check-target-newlib
22880 maybe-check-target-newlib:
22882 maybe-check-target-newlib: check-target-newlib
22884 check-target-newlib:
22885 @r=`${PWD_COMMAND}`; export r; \
22886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22888 $(NORMAL_TARGET_EXPORTS) \
22889 (cd $(TARGET_SUBDIR)/newlib && \
22890 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22892 @endif target-newlib
22894 .PHONY: install-target-newlib maybe-install-target-newlib
22895 maybe-install-target-newlib:
22897 maybe-install-target-newlib: install-target-newlib
22899 install-target-newlib: installdirs
22900 @r=`${PWD_COMMAND}`; export r; \
22901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22903 $(NORMAL_TARGET_EXPORTS) \
22904 (cd $(TARGET_SUBDIR)/newlib && \
22905 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22907 @endif target-newlib
22909 # Other targets (info, dvi, etc.)
22911 .PHONY: maybe-info-target-newlib info-target-newlib
22912 maybe-info-target-newlib:
22914 maybe-info-target-newlib: info-target-newlib
22916 info-target-newlib: \
22917 configure-target-newlib
22918 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22919 r=`${PWD_COMMAND}`; export r; \
22920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(NORMAL_TARGET_EXPORTS) \
22923 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22924 for flag in $(EXTRA_TARGET_FLAGS); do \
22925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 (cd $(TARGET_SUBDIR)/newlib && \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22935 @endif target-newlib
22937 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22938 maybe-dvi-target-newlib:
22940 maybe-dvi-target-newlib: dvi-target-newlib
22942 dvi-target-newlib: \
22943 configure-target-newlib
22944 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22945 r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22948 $(NORMAL_TARGET_EXPORTS) \
22949 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22950 for flag in $(EXTRA_TARGET_FLAGS); do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22953 (cd $(TARGET_SUBDIR)/newlib && \
22954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956 "RANLIB=$${RANLIB}" \
22957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 @endif target-newlib
22963 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22964 maybe-TAGS-target-newlib:
22966 maybe-TAGS-target-newlib: TAGS-target-newlib
22968 TAGS-target-newlib: \
22969 configure-target-newlib
22970 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22971 r=`${PWD_COMMAND}`; export r; \
22972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(NORMAL_TARGET_EXPORTS) \
22975 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22976 for flag in $(EXTRA_TARGET_FLAGS); do \
22977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22979 (cd $(TARGET_SUBDIR)/newlib && \
22980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982 "RANLIB=$${RANLIB}" \
22983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22987 @endif target-newlib
22989 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22990 maybe-install-info-target-newlib:
22992 maybe-install-info-target-newlib: install-info-target-newlib
22994 install-info-target-newlib: \
22995 configure-target-newlib \
22997 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23001 $(NORMAL_TARGET_EXPORTS) \
23002 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23003 for flag in $(EXTRA_TARGET_FLAGS); do \
23004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23006 (cd $(TARGET_SUBDIR)/newlib && \
23007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23009 "RANLIB=$${RANLIB}" \
23010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23014 @endif target-newlib
23016 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23017 maybe-installcheck-target-newlib:
23019 maybe-installcheck-target-newlib: installcheck-target-newlib
23021 installcheck-target-newlib: \
23022 configure-target-newlib
23023 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23024 r=`${PWD_COMMAND}`; export r; \
23025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(NORMAL_TARGET_EXPORTS) \
23028 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23029 for flag in $(EXTRA_TARGET_FLAGS); do \
23030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23032 (cd $(TARGET_SUBDIR)/newlib && \
23033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035 "RANLIB=$${RANLIB}" \
23036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23040 @endif target-newlib
23042 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23043 maybe-mostlyclean-target-newlib:
23045 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23047 mostlyclean-target-newlib:
23048 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23049 r=`${PWD_COMMAND}`; export r; \
23050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(NORMAL_TARGET_EXPORTS) \
23053 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23054 for flag in $(EXTRA_TARGET_FLAGS); do \
23055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23057 (cd $(TARGET_SUBDIR)/newlib && \
23058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23060 "RANLIB=$${RANLIB}" \
23061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23065 @endif target-newlib
23067 .PHONY: maybe-clean-target-newlib clean-target-newlib
23068 maybe-clean-target-newlib:
23070 maybe-clean-target-newlib: clean-target-newlib
23072 clean-target-newlib:
23073 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23074 r=`${PWD_COMMAND}`; export r; \
23075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 $(NORMAL_TARGET_EXPORTS) \
23078 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23079 for flag in $(EXTRA_TARGET_FLAGS); do \
23080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23082 (cd $(TARGET_SUBDIR)/newlib && \
23083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23085 "RANLIB=$${RANLIB}" \
23086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23090 @endif target-newlib
23092 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23093 maybe-distclean-target-newlib:
23095 maybe-distclean-target-newlib: distclean-target-newlib
23097 distclean-target-newlib:
23098 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23099 r=`${PWD_COMMAND}`; export r; \
23100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23102 $(NORMAL_TARGET_EXPORTS) \
23103 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23104 for flag in $(EXTRA_TARGET_FLAGS); do \
23105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23107 (cd $(TARGET_SUBDIR)/newlib && \
23108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23110 "RANLIB=$${RANLIB}" \
23111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23115 @endif target-newlib
23117 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23118 maybe-maintainer-clean-target-newlib:
23120 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23122 maintainer-clean-target-newlib:
23123 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23124 r=`${PWD_COMMAND}`; export r; \
23125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 $(NORMAL_TARGET_EXPORTS) \
23128 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23129 for flag in $(EXTRA_TARGET_FLAGS); do \
23130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23132 (cd $(TARGET_SUBDIR)/newlib && \
23133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23135 "RANLIB=$${RANLIB}" \
23136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23137 maintainer-clean) \
23140 @endif target-newlib
23143 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23144 maybe-configure-target-libgfortran:
23145 @if target-libgfortran
23146 maybe-configure-target-libgfortran: configure-target-libgfortran
23148 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23149 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23150 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23151 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23152 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23154 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23155 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23156 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23157 r=`${PWD_COMMAND}`; export r; \
23158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23160 $(NORMAL_TARGET_EXPORTS) \
23161 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23162 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23163 case $(srcdir) in \
23164 /* | [A-Za-z]:[\\/]*) \
23165 topdir=$(srcdir) ;; \
23167 case "$(TARGET_SUBDIR)" in \
23168 .) topdir="../$(srcdir)" ;; \
23169 *) topdir="../../$(srcdir)" ;; \
23172 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23173 libsrcdir="$$s/libgfortran"; \
23174 rm -f no-such-file || : ; \
23175 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23176 $(TARGET_CONFIGARGS) $${srcdiroption} \
23177 --with-target-subdir="$(TARGET_SUBDIR)" \
23179 @endif target-libgfortran
23181 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23182 maybe-all-target-libgfortran:
23183 @if target-libgfortran
23184 TARGET-target-libgfortran=all
23185 maybe-all-target-libgfortran: all-target-libgfortran
23186 all-target-libgfortran: configure-target-libgfortran
23187 @r=`${PWD_COMMAND}`; export r; \
23188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23190 $(NORMAL_TARGET_EXPORTS) \
23191 (cd $(TARGET_SUBDIR)/libgfortran && \
23192 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23193 @endif target-libgfortran
23195 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23196 maybe-check-target-libgfortran:
23197 @if target-libgfortran
23198 maybe-check-target-libgfortran: check-target-libgfortran
23200 check-target-libgfortran:
23201 @r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23204 $(NORMAL_TARGET_EXPORTS) \
23205 (cd $(TARGET_SUBDIR)/libgfortran && \
23206 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23208 @endif target-libgfortran
23210 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23211 maybe-install-target-libgfortran:
23212 @if target-libgfortran
23213 maybe-install-target-libgfortran: install-target-libgfortran
23215 install-target-libgfortran: installdirs
23216 @r=`${PWD_COMMAND}`; export r; \
23217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219 $(NORMAL_TARGET_EXPORTS) \
23220 (cd $(TARGET_SUBDIR)/libgfortran && \
23221 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23223 @endif target-libgfortran
23225 # Other targets (info, dvi, etc.)
23227 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23228 maybe-info-target-libgfortran:
23229 @if target-libgfortran
23230 maybe-info-target-libgfortran: info-target-libgfortran
23232 info-target-libgfortran: \
23233 configure-target-libgfortran
23234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(NORMAL_TARGET_EXPORTS) \
23239 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23240 for flag in $(EXTRA_TARGET_FLAGS); do \
23241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23243 (cd $(TARGET_SUBDIR)/libgfortran && \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246 "RANLIB=$${RANLIB}" \
23247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23251 @endif target-libgfortran
23253 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23254 maybe-dvi-target-libgfortran:
23255 @if target-libgfortran
23256 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23258 dvi-target-libgfortran: \
23259 configure-target-libgfortran
23260 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23261 r=`${PWD_COMMAND}`; export r; \
23262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23264 $(NORMAL_TARGET_EXPORTS) \
23265 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23266 for flag in $(EXTRA_TARGET_FLAGS); do \
23267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23269 (cd $(TARGET_SUBDIR)/libgfortran && \
23270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23272 "RANLIB=$${RANLIB}" \
23273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23277 @endif target-libgfortran
23279 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23280 maybe-TAGS-target-libgfortran:
23281 @if target-libgfortran
23282 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23284 TAGS-target-libgfortran: \
23285 configure-target-libgfortran
23286 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23287 r=`${PWD_COMMAND}`; export r; \
23288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23290 $(NORMAL_TARGET_EXPORTS) \
23291 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23292 for flag in $(EXTRA_TARGET_FLAGS); do \
23293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23295 (cd $(TARGET_SUBDIR)/libgfortran && \
23296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23298 "RANLIB=$${RANLIB}" \
23299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23303 @endif target-libgfortran
23305 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23306 maybe-install-info-target-libgfortran:
23307 @if target-libgfortran
23308 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23310 install-info-target-libgfortran: \
23311 configure-target-libgfortran \
23312 info-target-libgfortran
23313 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23314 r=`${PWD_COMMAND}`; export r; \
23315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(NORMAL_TARGET_EXPORTS) \
23318 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23319 for flag in $(EXTRA_TARGET_FLAGS); do \
23320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23322 (cd $(TARGET_SUBDIR)/libgfortran && \
23323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23325 "RANLIB=$${RANLIB}" \
23326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23330 @endif target-libgfortran
23332 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23333 maybe-installcheck-target-libgfortran:
23334 @if target-libgfortran
23335 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23337 installcheck-target-libgfortran: \
23338 configure-target-libgfortran
23339 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23340 r=`${PWD_COMMAND}`; export r; \
23341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23343 $(NORMAL_TARGET_EXPORTS) \
23344 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23345 for flag in $(EXTRA_TARGET_FLAGS); do \
23346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23348 (cd $(TARGET_SUBDIR)/libgfortran && \
23349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23351 "RANLIB=$${RANLIB}" \
23352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23356 @endif target-libgfortran
23358 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23359 maybe-mostlyclean-target-libgfortran:
23360 @if target-libgfortran
23361 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23363 mostlyclean-target-libgfortran:
23364 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23365 r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 $(NORMAL_TARGET_EXPORTS) \
23369 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23370 for flag in $(EXTRA_TARGET_FLAGS); do \
23371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23373 (cd $(TARGET_SUBDIR)/libgfortran && \
23374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23376 "RANLIB=$${RANLIB}" \
23377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23381 @endif target-libgfortran
23383 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23384 maybe-clean-target-libgfortran:
23385 @if target-libgfortran
23386 maybe-clean-target-libgfortran: clean-target-libgfortran
23388 clean-target-libgfortran:
23389 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23390 r=`${PWD_COMMAND}`; export r; \
23391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23393 $(NORMAL_TARGET_EXPORTS) \
23394 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23395 for flag in $(EXTRA_TARGET_FLAGS); do \
23396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23398 (cd $(TARGET_SUBDIR)/libgfortran && \
23399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23401 "RANLIB=$${RANLIB}" \
23402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23406 @endif target-libgfortran
23408 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23409 maybe-distclean-target-libgfortran:
23410 @if target-libgfortran
23411 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23413 distclean-target-libgfortran:
23414 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23415 r=`${PWD_COMMAND}`; export r; \
23416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23418 $(NORMAL_TARGET_EXPORTS) \
23419 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23420 for flag in $(EXTRA_TARGET_FLAGS); do \
23421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23423 (cd $(TARGET_SUBDIR)/libgfortran && \
23424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23426 "RANLIB=$${RANLIB}" \
23427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23431 @endif target-libgfortran
23433 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23434 maybe-maintainer-clean-target-libgfortran:
23435 @if target-libgfortran
23436 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23438 maintainer-clean-target-libgfortran:
23439 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23440 r=`${PWD_COMMAND}`; export r; \
23441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23443 $(NORMAL_TARGET_EXPORTS) \
23444 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23445 for flag in $(EXTRA_TARGET_FLAGS); do \
23446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23448 (cd $(TARGET_SUBDIR)/libgfortran && \
23449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23451 "RANLIB=$${RANLIB}" \
23452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23453 maintainer-clean) \
23456 @endif target-libgfortran
23459 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23460 maybe-configure-target-libobjc:
23462 maybe-configure-target-libobjc: configure-target-libobjc
23464 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23465 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23467 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23468 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23470 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23471 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23473 r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23476 $(NORMAL_TARGET_EXPORTS) \
23477 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23478 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23479 case $(srcdir) in \
23480 /* | [A-Za-z]:[\\/]*) \
23481 topdir=$(srcdir) ;; \
23483 case "$(TARGET_SUBDIR)" in \
23484 .) topdir="../$(srcdir)" ;; \
23485 *) topdir="../../$(srcdir)" ;; \
23488 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23489 libsrcdir="$$s/libobjc"; \
23490 rm -f no-such-file || : ; \
23491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23492 $(TARGET_CONFIGARGS) $${srcdiroption} \
23493 --with-target-subdir="$(TARGET_SUBDIR)" \
23495 @endif target-libobjc
23497 .PHONY: all-target-libobjc maybe-all-target-libobjc
23498 maybe-all-target-libobjc:
23500 TARGET-target-libobjc=all
23501 maybe-all-target-libobjc: all-target-libobjc
23502 all-target-libobjc: configure-target-libobjc
23503 @r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23506 $(NORMAL_TARGET_EXPORTS) \
23507 (cd $(TARGET_SUBDIR)/libobjc && \
23508 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23509 @endif target-libobjc
23511 .PHONY: check-target-libobjc maybe-check-target-libobjc
23512 maybe-check-target-libobjc:
23514 maybe-check-target-libobjc: check-target-libobjc
23516 check-target-libobjc:
23517 @r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 $(NORMAL_TARGET_EXPORTS) \
23521 (cd $(TARGET_SUBDIR)/libobjc && \
23522 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23524 @endif target-libobjc
23526 .PHONY: install-target-libobjc maybe-install-target-libobjc
23527 maybe-install-target-libobjc:
23529 maybe-install-target-libobjc: install-target-libobjc
23531 install-target-libobjc: installdirs
23532 @r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 $(NORMAL_TARGET_EXPORTS) \
23536 (cd $(TARGET_SUBDIR)/libobjc && \
23537 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23539 @endif target-libobjc
23541 # Other targets (info, dvi, etc.)
23543 .PHONY: maybe-info-target-libobjc info-target-libobjc
23544 maybe-info-target-libobjc:
23546 maybe-info-target-libobjc: info-target-libobjc
23548 info-target-libobjc: \
23549 configure-target-libobjc
23550 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23551 r=`${PWD_COMMAND}`; export r; \
23552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23554 $(NORMAL_TARGET_EXPORTS) \
23555 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23556 for flag in $(EXTRA_TARGET_FLAGS); do \
23557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23559 (cd $(TARGET_SUBDIR)/libobjc && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23567 @endif target-libobjc
23569 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23570 maybe-dvi-target-libobjc:
23572 maybe-dvi-target-libobjc: dvi-target-libobjc
23574 dvi-target-libobjc: \
23575 configure-target-libobjc
23576 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23577 r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(NORMAL_TARGET_EXPORTS) \
23581 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23582 for flag in $(EXTRA_TARGET_FLAGS); do \
23583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23585 (cd $(TARGET_SUBDIR)/libobjc && \
23586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23588 "RANLIB=$${RANLIB}" \
23589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23593 @endif target-libobjc
23595 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23596 maybe-TAGS-target-libobjc:
23598 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23600 TAGS-target-libobjc: \
23601 configure-target-libobjc
23602 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23603 r=`${PWD_COMMAND}`; export r; \
23604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23606 $(NORMAL_TARGET_EXPORTS) \
23607 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23608 for flag in $(EXTRA_TARGET_FLAGS); do \
23609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23611 (cd $(TARGET_SUBDIR)/libobjc && \
23612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614 "RANLIB=$${RANLIB}" \
23615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23619 @endif target-libobjc
23621 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23622 maybe-install-info-target-libobjc:
23624 maybe-install-info-target-libobjc: install-info-target-libobjc
23626 install-info-target-libobjc: \
23627 configure-target-libobjc \
23628 info-target-libobjc
23629 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23633 $(NORMAL_TARGET_EXPORTS) \
23634 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23635 for flag in $(EXTRA_TARGET_FLAGS); do \
23636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23638 (cd $(TARGET_SUBDIR)/libobjc && \
23639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23641 "RANLIB=$${RANLIB}" \
23642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23646 @endif target-libobjc
23648 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23649 maybe-installcheck-target-libobjc:
23651 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23653 installcheck-target-libobjc: \
23654 configure-target-libobjc
23655 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23659 $(NORMAL_TARGET_EXPORTS) \
23660 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23661 for flag in $(EXTRA_TARGET_FLAGS); do \
23662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23664 (cd $(TARGET_SUBDIR)/libobjc && \
23665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23667 "RANLIB=$${RANLIB}" \
23668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23672 @endif target-libobjc
23674 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23675 maybe-mostlyclean-target-libobjc:
23677 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23679 mostlyclean-target-libobjc:
23680 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23681 r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(NORMAL_TARGET_EXPORTS) \
23685 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23686 for flag in $(EXTRA_TARGET_FLAGS); do \
23687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23689 (cd $(TARGET_SUBDIR)/libobjc && \
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-libobjc
23699 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23700 maybe-clean-target-libobjc:
23702 maybe-clean-target-libobjc: clean-target-libobjc
23704 clean-target-libobjc:
23705 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23706 r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 $(NORMAL_TARGET_EXPORTS) \
23710 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23711 for flag in $(EXTRA_TARGET_FLAGS); do \
23712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23714 (cd $(TARGET_SUBDIR)/libobjc && \
23715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23717 "RANLIB=$${RANLIB}" \
23718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23722 @endif target-libobjc
23724 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23725 maybe-distclean-target-libobjc:
23727 maybe-distclean-target-libobjc: distclean-target-libobjc
23729 distclean-target-libobjc:
23730 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23731 r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23734 $(NORMAL_TARGET_EXPORTS) \
23735 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23736 for flag in $(EXTRA_TARGET_FLAGS); do \
23737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23739 (cd $(TARGET_SUBDIR)/libobjc && \
23740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23742 "RANLIB=$${RANLIB}" \
23743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23747 @endif target-libobjc
23749 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23750 maybe-maintainer-clean-target-libobjc:
23752 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23754 maintainer-clean-target-libobjc:
23755 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23759 $(NORMAL_TARGET_EXPORTS) \
23760 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23761 for flag in $(EXTRA_TARGET_FLAGS); do \
23762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23764 (cd $(TARGET_SUBDIR)/libobjc && \
23765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23767 "RANLIB=$${RANLIB}" \
23768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23769 maintainer-clean) \
23772 @endif target-libobjc
23775 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23776 maybe-configure-target-libtermcap:
23777 @if target-libtermcap
23778 maybe-configure-target-libtermcap: configure-target-libtermcap
23780 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23781 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23783 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23784 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23786 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23787 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23788 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23789 r=`${PWD_COMMAND}`; export r; \
23790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23792 $(NORMAL_TARGET_EXPORTS) \
23793 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23794 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23795 case $(srcdir) in \
23796 /* | [A-Za-z]:[\\/]*) \
23797 topdir=$(srcdir) ;; \
23799 case "$(TARGET_SUBDIR)" in \
23800 .) topdir="../$(srcdir)" ;; \
23801 *) topdir="../../$(srcdir)" ;; \
23804 if [ "$(srcdir)" = "." ] ; then \
23805 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23806 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23807 if [ -f Makefile ]; then \
23808 if $(MAKE) distclean; then \
23822 srcdiroption="--srcdir=."; \
23825 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23826 libsrcdir="$$s/libtermcap"; \
23828 rm -f no-such-file || : ; \
23829 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23830 $(TARGET_CONFIGARGS) $${srcdiroption} \
23831 --with-target-subdir="$(TARGET_SUBDIR)" \
23833 @endif target-libtermcap
23835 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23836 maybe-all-target-libtermcap:
23837 @if target-libtermcap
23838 TARGET-target-libtermcap=all
23839 maybe-all-target-libtermcap: all-target-libtermcap
23840 all-target-libtermcap: configure-target-libtermcap
23841 @r=`${PWD_COMMAND}`; export r; \
23842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23844 $(NORMAL_TARGET_EXPORTS) \
23845 (cd $(TARGET_SUBDIR)/libtermcap && \
23846 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
23847 @endif target-libtermcap
23849 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23850 maybe-check-target-libtermcap:
23851 @if target-libtermcap
23852 maybe-check-target-libtermcap: check-target-libtermcap
23854 # Dummy target for uncheckable module.
23855 check-target-libtermcap:
23857 @endif target-libtermcap
23859 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23860 maybe-install-target-libtermcap:
23861 @if target-libtermcap
23862 maybe-install-target-libtermcap: install-target-libtermcap
23864 install-target-libtermcap: installdirs
23865 @r=`${PWD_COMMAND}`; export r; \
23866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23868 $(NORMAL_TARGET_EXPORTS) \
23869 (cd $(TARGET_SUBDIR)/libtermcap && \
23870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23872 @endif target-libtermcap
23874 # Other targets (info, dvi, etc.)
23876 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23877 maybe-info-target-libtermcap:
23878 @if target-libtermcap
23879 maybe-info-target-libtermcap: info-target-libtermcap
23881 info-target-libtermcap: \
23882 configure-target-libtermcap
23883 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23884 r=`${PWD_COMMAND}`; export r; \
23885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 $(NORMAL_TARGET_EXPORTS) \
23888 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23889 for flag in $(EXTRA_TARGET_FLAGS); do \
23890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23892 (cd $(TARGET_SUBDIR)/libtermcap && \
23893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23895 "RANLIB=$${RANLIB}" \
23896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23900 @endif target-libtermcap
23902 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23903 maybe-dvi-target-libtermcap:
23904 @if target-libtermcap
23905 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23907 dvi-target-libtermcap: \
23908 configure-target-libtermcap
23909 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23910 r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23913 $(NORMAL_TARGET_EXPORTS) \
23914 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23915 for flag in $(EXTRA_TARGET_FLAGS); do \
23916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23918 (cd $(TARGET_SUBDIR)/libtermcap && \
23919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23921 "RANLIB=$${RANLIB}" \
23922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23926 @endif target-libtermcap
23928 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23929 maybe-TAGS-target-libtermcap:
23930 @if target-libtermcap
23931 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23933 TAGS-target-libtermcap: \
23934 configure-target-libtermcap
23935 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23939 $(NORMAL_TARGET_EXPORTS) \
23940 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23941 for flag in $(EXTRA_TARGET_FLAGS); do \
23942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23944 (cd $(TARGET_SUBDIR)/libtermcap && \
23945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23947 "RANLIB=$${RANLIB}" \
23948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23952 @endif target-libtermcap
23954 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23955 maybe-install-info-target-libtermcap:
23956 @if target-libtermcap
23957 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23959 install-info-target-libtermcap: \
23960 configure-target-libtermcap \
23961 info-target-libtermcap
23962 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23963 r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23966 $(NORMAL_TARGET_EXPORTS) \
23967 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23968 for flag in $(EXTRA_TARGET_FLAGS); do \
23969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23971 (cd $(TARGET_SUBDIR)/libtermcap && \
23972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23974 "RANLIB=$${RANLIB}" \
23975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23979 @endif target-libtermcap
23981 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23982 maybe-installcheck-target-libtermcap:
23983 @if target-libtermcap
23984 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23986 installcheck-target-libtermcap: \
23987 configure-target-libtermcap
23988 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23992 $(NORMAL_TARGET_EXPORTS) \
23993 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23994 for flag in $(EXTRA_TARGET_FLAGS); do \
23995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23997 (cd $(TARGET_SUBDIR)/libtermcap && \
23998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24000 "RANLIB=$${RANLIB}" \
24001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24005 @endif target-libtermcap
24007 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24008 maybe-mostlyclean-target-libtermcap:
24009 @if target-libtermcap
24010 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24012 # libtermcap doesn't support mostlyclean.
24013 mostlyclean-target-libtermcap:
24015 @endif target-libtermcap
24017 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24018 maybe-clean-target-libtermcap:
24019 @if target-libtermcap
24020 maybe-clean-target-libtermcap: clean-target-libtermcap
24022 # libtermcap doesn't support clean.
24023 clean-target-libtermcap:
24025 @endif target-libtermcap
24027 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24028 maybe-distclean-target-libtermcap:
24029 @if target-libtermcap
24030 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24032 # libtermcap doesn't support distclean.
24033 distclean-target-libtermcap:
24035 @endif target-libtermcap
24037 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24038 maybe-maintainer-clean-target-libtermcap:
24039 @if target-libtermcap
24040 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24042 # libtermcap doesn't support maintainer-clean.
24043 maintainer-clean-target-libtermcap:
24045 @endif target-libtermcap
24048 .PHONY: configure-target-winsup maybe-configure-target-winsup
24049 maybe-configure-target-winsup:
24051 maybe-configure-target-winsup: configure-target-winsup
24053 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24054 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24055 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24056 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24057 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24059 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24060 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24061 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24062 r=`${PWD_COMMAND}`; export r; \
24063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24065 $(NORMAL_TARGET_EXPORTS) \
24066 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24067 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24068 case $(srcdir) in \
24069 /* | [A-Za-z]:[\\/]*) \
24070 topdir=$(srcdir) ;; \
24072 case "$(TARGET_SUBDIR)" in \
24073 .) topdir="../$(srcdir)" ;; \
24074 *) topdir="../../$(srcdir)" ;; \
24077 srcdiroption="--srcdir=$${topdir}/winsup"; \
24078 libsrcdir="$$s/winsup"; \
24079 rm -f no-such-file || : ; \
24080 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24081 $(TARGET_CONFIGARGS) $${srcdiroption} \
24082 --with-target-subdir="$(TARGET_SUBDIR)" \
24084 @endif target-winsup
24086 .PHONY: all-target-winsup maybe-all-target-winsup
24087 maybe-all-target-winsup:
24089 TARGET-target-winsup=all
24090 maybe-all-target-winsup: all-target-winsup
24091 all-target-winsup: configure-target-winsup
24092 @r=`${PWD_COMMAND}`; export r; \
24093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24095 $(NORMAL_TARGET_EXPORTS) \
24096 (cd $(TARGET_SUBDIR)/winsup && \
24097 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
24098 @endif target-winsup
24100 .PHONY: check-target-winsup maybe-check-target-winsup
24101 maybe-check-target-winsup:
24103 maybe-check-target-winsup: check-target-winsup
24105 check-target-winsup:
24106 @r=`${PWD_COMMAND}`; export r; \
24107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24109 $(NORMAL_TARGET_EXPORTS) \
24110 (cd $(TARGET_SUBDIR)/winsup && \
24111 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24113 @endif target-winsup
24115 .PHONY: install-target-winsup maybe-install-target-winsup
24116 maybe-install-target-winsup:
24118 maybe-install-target-winsup: install-target-winsup
24120 install-target-winsup: installdirs
24121 @r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24124 $(NORMAL_TARGET_EXPORTS) \
24125 (cd $(TARGET_SUBDIR)/winsup && \
24126 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24128 @endif target-winsup
24130 # Other targets (info, dvi, etc.)
24132 .PHONY: maybe-info-target-winsup info-target-winsup
24133 maybe-info-target-winsup:
24135 maybe-info-target-winsup: info-target-winsup
24137 info-target-winsup: \
24138 configure-target-winsup
24139 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24140 r=`${PWD_COMMAND}`; export r; \
24141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(NORMAL_TARGET_EXPORTS) \
24144 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24145 for flag in $(EXTRA_TARGET_FLAGS); do \
24146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24148 (cd $(TARGET_SUBDIR)/winsup && \
24149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24151 "RANLIB=$${RANLIB}" \
24152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24156 @endif target-winsup
24158 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24159 maybe-dvi-target-winsup:
24161 maybe-dvi-target-winsup: dvi-target-winsup
24163 dvi-target-winsup: \
24164 configure-target-winsup
24165 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24166 r=`${PWD_COMMAND}`; export r; \
24167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24169 $(NORMAL_TARGET_EXPORTS) \
24170 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24171 for flag in $(EXTRA_TARGET_FLAGS); do \
24172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24174 (cd $(TARGET_SUBDIR)/winsup && \
24175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24177 "RANLIB=$${RANLIB}" \
24178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24182 @endif target-winsup
24184 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24185 maybe-TAGS-target-winsup:
24187 maybe-TAGS-target-winsup: TAGS-target-winsup
24189 TAGS-target-winsup: \
24190 configure-target-winsup
24191 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24192 r=`${PWD_COMMAND}`; export r; \
24193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 $(NORMAL_TARGET_EXPORTS) \
24196 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24197 for flag in $(EXTRA_TARGET_FLAGS); do \
24198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24200 (cd $(TARGET_SUBDIR)/winsup && \
24201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24203 "RANLIB=$${RANLIB}" \
24204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24208 @endif target-winsup
24210 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24211 maybe-install-info-target-winsup:
24213 maybe-install-info-target-winsup: install-info-target-winsup
24215 install-info-target-winsup: \
24216 configure-target-winsup \
24218 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24219 r=`${PWD_COMMAND}`; export r; \
24220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24222 $(NORMAL_TARGET_EXPORTS) \
24223 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24224 for flag in $(EXTRA_TARGET_FLAGS); do \
24225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 (cd $(TARGET_SUBDIR)/winsup && \
24228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230 "RANLIB=$${RANLIB}" \
24231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24235 @endif target-winsup
24237 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24238 maybe-installcheck-target-winsup:
24240 maybe-installcheck-target-winsup: installcheck-target-winsup
24242 installcheck-target-winsup: \
24243 configure-target-winsup
24244 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24245 r=`${PWD_COMMAND}`; export r; \
24246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24248 $(NORMAL_TARGET_EXPORTS) \
24249 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24250 for flag in $(EXTRA_TARGET_FLAGS); do \
24251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24253 (cd $(TARGET_SUBDIR)/winsup && \
24254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24256 "RANLIB=$${RANLIB}" \
24257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24261 @endif target-winsup
24263 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24264 maybe-mostlyclean-target-winsup:
24266 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24268 mostlyclean-target-winsup:
24269 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24270 r=`${PWD_COMMAND}`; export r; \
24271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24273 $(NORMAL_TARGET_EXPORTS) \
24274 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24275 for flag in $(EXTRA_TARGET_FLAGS); do \
24276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24278 (cd $(TARGET_SUBDIR)/winsup && \
24279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24281 "RANLIB=$${RANLIB}" \
24282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24286 @endif target-winsup
24288 .PHONY: maybe-clean-target-winsup clean-target-winsup
24289 maybe-clean-target-winsup:
24291 maybe-clean-target-winsup: clean-target-winsup
24293 clean-target-winsup:
24294 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24295 r=`${PWD_COMMAND}`; export r; \
24296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24298 $(NORMAL_TARGET_EXPORTS) \
24299 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24300 for flag in $(EXTRA_TARGET_FLAGS); do \
24301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24303 (cd $(TARGET_SUBDIR)/winsup && \
24304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24306 "RANLIB=$${RANLIB}" \
24307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24311 @endif target-winsup
24313 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24314 maybe-distclean-target-winsup:
24316 maybe-distclean-target-winsup: distclean-target-winsup
24318 distclean-target-winsup:
24319 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24320 r=`${PWD_COMMAND}`; export r; \
24321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24323 $(NORMAL_TARGET_EXPORTS) \
24324 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24325 for flag in $(EXTRA_TARGET_FLAGS); do \
24326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24328 (cd $(TARGET_SUBDIR)/winsup && \
24329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24331 "RANLIB=$${RANLIB}" \
24332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24336 @endif target-winsup
24338 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24339 maybe-maintainer-clean-target-winsup:
24341 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24343 maintainer-clean-target-winsup:
24344 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24348 $(NORMAL_TARGET_EXPORTS) \
24349 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24350 for flag in $(EXTRA_TARGET_FLAGS); do \
24351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24353 (cd $(TARGET_SUBDIR)/winsup && \
24354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24356 "RANLIB=$${RANLIB}" \
24357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24358 maintainer-clean) \
24361 @endif target-winsup
24364 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24365 maybe-configure-target-libgloss:
24366 @if target-libgloss
24367 maybe-configure-target-libgloss: configure-target-libgloss
24369 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24370 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24372 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24373 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24375 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24376 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24377 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24378 r=`${PWD_COMMAND}`; export r; \
24379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24381 $(NORMAL_TARGET_EXPORTS) \
24382 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24383 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24384 case $(srcdir) in \
24385 /* | [A-Za-z]:[\\/]*) \
24386 topdir=$(srcdir) ;; \
24388 case "$(TARGET_SUBDIR)" in \
24389 .) topdir="../$(srcdir)" ;; \
24390 *) topdir="../../$(srcdir)" ;; \
24393 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24394 libsrcdir="$$s/libgloss"; \
24395 rm -f no-such-file || : ; \
24396 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24397 $(TARGET_CONFIGARGS) $${srcdiroption} \
24398 --with-target-subdir="$(TARGET_SUBDIR)" \
24400 @endif target-libgloss
24402 .PHONY: all-target-libgloss maybe-all-target-libgloss
24403 maybe-all-target-libgloss:
24404 @if target-libgloss
24405 TARGET-target-libgloss=all
24406 maybe-all-target-libgloss: all-target-libgloss
24407 all-target-libgloss: configure-target-libgloss
24408 @r=`${PWD_COMMAND}`; export r; \
24409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24411 $(NORMAL_TARGET_EXPORTS) \
24412 (cd $(TARGET_SUBDIR)/libgloss && \
24413 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24414 @endif target-libgloss
24416 .PHONY: check-target-libgloss maybe-check-target-libgloss
24417 maybe-check-target-libgloss:
24418 @if target-libgloss
24419 maybe-check-target-libgloss: check-target-libgloss
24421 # Dummy target for uncheckable module.
24422 check-target-libgloss:
24424 @endif target-libgloss
24426 .PHONY: install-target-libgloss maybe-install-target-libgloss
24427 maybe-install-target-libgloss:
24428 @if target-libgloss
24429 maybe-install-target-libgloss: install-target-libgloss
24431 install-target-libgloss: installdirs
24432 @r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 $(NORMAL_TARGET_EXPORTS) \
24436 (cd $(TARGET_SUBDIR)/libgloss && \
24437 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24439 @endif target-libgloss
24441 # Other targets (info, dvi, etc.)
24443 .PHONY: maybe-info-target-libgloss info-target-libgloss
24444 maybe-info-target-libgloss:
24445 @if target-libgloss
24446 maybe-info-target-libgloss: info-target-libgloss
24448 info-target-libgloss: \
24449 configure-target-libgloss
24450 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24451 r=`${PWD_COMMAND}`; export r; \
24452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24454 $(NORMAL_TARGET_EXPORTS) \
24455 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24456 for flag in $(EXTRA_TARGET_FLAGS); do \
24457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24459 (cd $(TARGET_SUBDIR)/libgloss && \
24460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24462 "RANLIB=$${RANLIB}" \
24463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24467 @endif target-libgloss
24469 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24470 maybe-dvi-target-libgloss:
24471 @if target-libgloss
24472 maybe-dvi-target-libgloss: dvi-target-libgloss
24474 dvi-target-libgloss: \
24475 configure-target-libgloss
24476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24477 r=`${PWD_COMMAND}`; export r; \
24478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24480 $(NORMAL_TARGET_EXPORTS) \
24481 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24482 for flag in $(EXTRA_TARGET_FLAGS); do \
24483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24485 (cd $(TARGET_SUBDIR)/libgloss && \
24486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24488 "RANLIB=$${RANLIB}" \
24489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24493 @endif target-libgloss
24495 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24496 maybe-TAGS-target-libgloss:
24497 @if target-libgloss
24498 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24500 TAGS-target-libgloss: \
24501 configure-target-libgloss
24502 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24503 r=`${PWD_COMMAND}`; export r; \
24504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24506 $(NORMAL_TARGET_EXPORTS) \
24507 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24508 for flag in $(EXTRA_TARGET_FLAGS); do \
24509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24511 (cd $(TARGET_SUBDIR)/libgloss && \
24512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24514 "RANLIB=$${RANLIB}" \
24515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24519 @endif target-libgloss
24521 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24522 maybe-install-info-target-libgloss:
24523 @if target-libgloss
24524 maybe-install-info-target-libgloss: install-info-target-libgloss
24526 install-info-target-libgloss: \
24527 configure-target-libgloss \
24528 info-target-libgloss
24529 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24530 r=`${PWD_COMMAND}`; export r; \
24531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24533 $(NORMAL_TARGET_EXPORTS) \
24534 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24535 for flag in $(EXTRA_TARGET_FLAGS); do \
24536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24538 (cd $(TARGET_SUBDIR)/libgloss && \
24539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24541 "RANLIB=$${RANLIB}" \
24542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24546 @endif target-libgloss
24548 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24549 maybe-installcheck-target-libgloss:
24550 @if target-libgloss
24551 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24553 installcheck-target-libgloss: \
24554 configure-target-libgloss
24555 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24556 r=`${PWD_COMMAND}`; export r; \
24557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(NORMAL_TARGET_EXPORTS) \
24560 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24561 for flag in $(EXTRA_TARGET_FLAGS); do \
24562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24564 (cd $(TARGET_SUBDIR)/libgloss && \
24565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24567 "RANLIB=$${RANLIB}" \
24568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24572 @endif target-libgloss
24574 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24575 maybe-mostlyclean-target-libgloss:
24576 @if target-libgloss
24577 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24579 mostlyclean-target-libgloss:
24580 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24581 r=`${PWD_COMMAND}`; export r; \
24582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24584 $(NORMAL_TARGET_EXPORTS) \
24585 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24586 for flag in $(EXTRA_TARGET_FLAGS); do \
24587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24589 (cd $(TARGET_SUBDIR)/libgloss && \
24590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24592 "RANLIB=$${RANLIB}" \
24593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24597 @endif target-libgloss
24599 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24600 maybe-clean-target-libgloss:
24601 @if target-libgloss
24602 maybe-clean-target-libgloss: clean-target-libgloss
24604 clean-target-libgloss:
24605 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24606 r=`${PWD_COMMAND}`; export r; \
24607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24609 $(NORMAL_TARGET_EXPORTS) \
24610 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24611 for flag in $(EXTRA_TARGET_FLAGS); do \
24612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24614 (cd $(TARGET_SUBDIR)/libgloss && \
24615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24617 "RANLIB=$${RANLIB}" \
24618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24622 @endif target-libgloss
24624 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24625 maybe-distclean-target-libgloss:
24626 @if target-libgloss
24627 maybe-distclean-target-libgloss: distclean-target-libgloss
24629 distclean-target-libgloss:
24630 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24631 r=`${PWD_COMMAND}`; export r; \
24632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24634 $(NORMAL_TARGET_EXPORTS) \
24635 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24636 for flag in $(EXTRA_TARGET_FLAGS); do \
24637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24639 (cd $(TARGET_SUBDIR)/libgloss && \
24640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24642 "RANLIB=$${RANLIB}" \
24643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24647 @endif target-libgloss
24649 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24650 maybe-maintainer-clean-target-libgloss:
24651 @if target-libgloss
24652 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24654 maintainer-clean-target-libgloss:
24655 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24656 r=`${PWD_COMMAND}`; export r; \
24657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24659 $(NORMAL_TARGET_EXPORTS) \
24660 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24661 for flag in $(EXTRA_TARGET_FLAGS); do \
24662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24664 (cd $(TARGET_SUBDIR)/libgloss && \
24665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24667 "RANLIB=$${RANLIB}" \
24668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24669 maintainer-clean) \
24672 @endif target-libgloss
24675 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24676 maybe-configure-target-libiberty:
24677 @if target-libiberty
24678 maybe-configure-target-libiberty: configure-target-libiberty
24680 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24681 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24683 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24684 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24686 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24687 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24688 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(NORMAL_TARGET_EXPORTS) \
24693 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24694 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24695 case $(srcdir) in \
24696 /* | [A-Za-z]:[\\/]*) \
24697 topdir=$(srcdir) ;; \
24699 case "$(TARGET_SUBDIR)" in \
24700 .) topdir="../$(srcdir)" ;; \
24701 *) topdir="../../$(srcdir)" ;; \
24704 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24705 libsrcdir="$$s/libiberty"; \
24706 rm -f no-such-file || : ; \
24707 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24708 $(TARGET_CONFIGARGS) $${srcdiroption} \
24709 --with-target-subdir="$(TARGET_SUBDIR)" \
24711 @endif target-libiberty
24713 .PHONY: all-target-libiberty maybe-all-target-libiberty
24714 maybe-all-target-libiberty:
24715 @if target-libiberty
24716 TARGET-target-libiberty=all
24717 maybe-all-target-libiberty: all-target-libiberty
24718 all-target-libiberty: configure-target-libiberty
24719 @r=`${PWD_COMMAND}`; export r; \
24720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24722 $(NORMAL_TARGET_EXPORTS) \
24723 (cd $(TARGET_SUBDIR)/libiberty && \
24724 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
24725 @endif target-libiberty
24727 .PHONY: check-target-libiberty maybe-check-target-libiberty
24728 maybe-check-target-libiberty:
24729 @if target-libiberty
24730 maybe-check-target-libiberty: check-target-libiberty
24732 check-target-libiberty:
24733 @r=`${PWD_COMMAND}`; export r; \
24734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(NORMAL_TARGET_EXPORTS) \
24737 (cd $(TARGET_SUBDIR)/libiberty && \
24738 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24740 @endif target-libiberty
24742 .PHONY: install-target-libiberty maybe-install-target-libiberty
24743 maybe-install-target-libiberty:
24744 @if target-libiberty
24745 maybe-install-target-libiberty: install-target-libiberty
24747 install-target-libiberty: installdirs
24748 @r=`${PWD_COMMAND}`; export r; \
24749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24751 $(NORMAL_TARGET_EXPORTS) \
24752 (cd $(TARGET_SUBDIR)/libiberty && \
24753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24755 @endif target-libiberty
24757 # Other targets (info, dvi, etc.)
24759 .PHONY: maybe-info-target-libiberty info-target-libiberty
24760 maybe-info-target-libiberty:
24761 @if target-libiberty
24762 maybe-info-target-libiberty: info-target-libiberty
24764 info-target-libiberty: \
24765 configure-target-libiberty
24766 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24767 r=`${PWD_COMMAND}`; export r; \
24768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24770 $(NORMAL_TARGET_EXPORTS) \
24771 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24772 for flag in $(EXTRA_TARGET_FLAGS); do \
24773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24775 (cd $(TARGET_SUBDIR)/libiberty && \
24776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24778 "RANLIB=$${RANLIB}" \
24779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24783 @endif target-libiberty
24785 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24786 maybe-dvi-target-libiberty:
24787 @if target-libiberty
24788 maybe-dvi-target-libiberty: dvi-target-libiberty
24790 dvi-target-libiberty: \
24791 configure-target-libiberty
24792 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24793 r=`${PWD_COMMAND}`; export r; \
24794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24796 $(NORMAL_TARGET_EXPORTS) \
24797 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24798 for flag in $(EXTRA_TARGET_FLAGS); do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24801 (cd $(TARGET_SUBDIR)/libiberty && \
24802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804 "RANLIB=$${RANLIB}" \
24805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24809 @endif target-libiberty
24811 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24812 maybe-TAGS-target-libiberty:
24813 @if target-libiberty
24814 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24816 TAGS-target-libiberty: \
24817 configure-target-libiberty
24818 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24819 r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24822 $(NORMAL_TARGET_EXPORTS) \
24823 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24824 for flag in $(EXTRA_TARGET_FLAGS); do \
24825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24827 (cd $(TARGET_SUBDIR)/libiberty && \
24828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830 "RANLIB=$${RANLIB}" \
24831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24835 @endif target-libiberty
24837 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24838 maybe-install-info-target-libiberty:
24839 @if target-libiberty
24840 maybe-install-info-target-libiberty: install-info-target-libiberty
24842 install-info-target-libiberty: \
24843 configure-target-libiberty \
24844 info-target-libiberty
24845 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24846 r=`${PWD_COMMAND}`; export r; \
24847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24849 $(NORMAL_TARGET_EXPORTS) \
24850 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24851 for flag in $(EXTRA_TARGET_FLAGS); do \
24852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24854 (cd $(TARGET_SUBDIR)/libiberty && \
24855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24857 "RANLIB=$${RANLIB}" \
24858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24862 @endif target-libiberty
24864 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24865 maybe-installcheck-target-libiberty:
24866 @if target-libiberty
24867 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24869 installcheck-target-libiberty: \
24870 configure-target-libiberty
24871 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24872 r=`${PWD_COMMAND}`; export r; \
24873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(NORMAL_TARGET_EXPORTS) \
24876 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24877 for flag in $(EXTRA_TARGET_FLAGS); do \
24878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24880 (cd $(TARGET_SUBDIR)/libiberty && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24888 @endif target-libiberty
24890 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24891 maybe-mostlyclean-target-libiberty:
24892 @if target-libiberty
24893 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24895 mostlyclean-target-libiberty:
24896 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24897 r=`${PWD_COMMAND}`; export r; \
24898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(NORMAL_TARGET_EXPORTS) \
24901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24902 for flag in $(EXTRA_TARGET_FLAGS); do \
24903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24905 (cd $(TARGET_SUBDIR)/libiberty && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908 "RANLIB=$${RANLIB}" \
24909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24913 @endif target-libiberty
24915 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24916 maybe-clean-target-libiberty:
24917 @if target-libiberty
24918 maybe-clean-target-libiberty: clean-target-libiberty
24920 clean-target-libiberty:
24921 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24922 r=`${PWD_COMMAND}`; export r; \
24923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 $(NORMAL_TARGET_EXPORTS) \
24926 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24927 for flag in $(EXTRA_TARGET_FLAGS); do \
24928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24930 (cd $(TARGET_SUBDIR)/libiberty && \
24931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24933 "RANLIB=$${RANLIB}" \
24934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24938 @endif target-libiberty
24940 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24941 maybe-distclean-target-libiberty:
24942 @if target-libiberty
24943 maybe-distclean-target-libiberty: distclean-target-libiberty
24945 distclean-target-libiberty:
24946 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24947 r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24950 $(NORMAL_TARGET_EXPORTS) \
24951 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24952 for flag in $(EXTRA_TARGET_FLAGS); do \
24953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24955 (cd $(TARGET_SUBDIR)/libiberty && \
24956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24958 "RANLIB=$${RANLIB}" \
24959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24963 @endif target-libiberty
24965 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24966 maybe-maintainer-clean-target-libiberty:
24967 @if target-libiberty
24968 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24970 maintainer-clean-target-libiberty:
24971 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24972 r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(NORMAL_TARGET_EXPORTS) \
24976 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24977 for flag in $(EXTRA_TARGET_FLAGS); do \
24978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24980 (cd $(TARGET_SUBDIR)/libiberty && \
24981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983 "RANLIB=$${RANLIB}" \
24984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24985 maintainer-clean) \
24988 @endif target-libiberty
24991 .PHONY: configure-target-gperf maybe-configure-target-gperf
24992 maybe-configure-target-gperf:
24994 maybe-configure-target-gperf: configure-target-gperf
24996 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24997 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24998 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24999 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25000 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25002 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25003 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25005 r=`${PWD_COMMAND}`; export r; \
25006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 $(NORMAL_TARGET_EXPORTS) \
25009 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25010 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25011 case $(srcdir) in \
25012 /* | [A-Za-z]:[\\/]*) \
25013 topdir=$(srcdir) ;; \
25015 case "$(TARGET_SUBDIR)" in \
25016 .) topdir="../$(srcdir)" ;; \
25017 *) topdir="../../$(srcdir)" ;; \
25020 srcdiroption="--srcdir=$${topdir}/gperf"; \
25021 libsrcdir="$$s/gperf"; \
25022 rm -f no-such-file || : ; \
25023 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25024 $(TARGET_CONFIGARGS) $${srcdiroption} \
25025 --with-target-subdir="$(TARGET_SUBDIR)" \
25027 @endif target-gperf
25029 .PHONY: all-target-gperf maybe-all-target-gperf
25030 maybe-all-target-gperf:
25032 TARGET-target-gperf=all
25033 maybe-all-target-gperf: all-target-gperf
25034 all-target-gperf: configure-target-gperf
25035 @r=`${PWD_COMMAND}`; export r; \
25036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25038 $(NORMAL_TARGET_EXPORTS) \
25039 (cd $(TARGET_SUBDIR)/gperf && \
25040 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
25041 @endif target-gperf
25043 .PHONY: check-target-gperf maybe-check-target-gperf
25044 maybe-check-target-gperf:
25046 maybe-check-target-gperf: check-target-gperf
25048 check-target-gperf:
25049 @r=`${PWD_COMMAND}`; export r; \
25050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25052 $(NORMAL_TARGET_EXPORTS) \
25053 (cd $(TARGET_SUBDIR)/gperf && \
25054 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25056 @endif target-gperf
25058 .PHONY: install-target-gperf maybe-install-target-gperf
25059 maybe-install-target-gperf:
25061 maybe-install-target-gperf: install-target-gperf
25063 install-target-gperf: installdirs
25064 @r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 $(NORMAL_TARGET_EXPORTS) \
25068 (cd $(TARGET_SUBDIR)/gperf && \
25069 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25071 @endif target-gperf
25073 # Other targets (info, dvi, etc.)
25075 .PHONY: maybe-info-target-gperf info-target-gperf
25076 maybe-info-target-gperf:
25078 maybe-info-target-gperf: info-target-gperf
25080 info-target-gperf: \
25081 configure-target-gperf
25082 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25083 r=`${PWD_COMMAND}`; export r; \
25084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25086 $(NORMAL_TARGET_EXPORTS) \
25087 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25088 for flag in $(EXTRA_TARGET_FLAGS); do \
25089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25091 (cd $(TARGET_SUBDIR)/gperf && \
25092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25094 "RANLIB=$${RANLIB}" \
25095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25099 @endif target-gperf
25101 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25102 maybe-dvi-target-gperf:
25104 maybe-dvi-target-gperf: dvi-target-gperf
25106 dvi-target-gperf: \
25107 configure-target-gperf
25108 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25109 r=`${PWD_COMMAND}`; export r; \
25110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25112 $(NORMAL_TARGET_EXPORTS) \
25113 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25114 for flag in $(EXTRA_TARGET_FLAGS); do \
25115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25117 (cd $(TARGET_SUBDIR)/gperf && \
25118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25120 "RANLIB=$${RANLIB}" \
25121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25125 @endif target-gperf
25127 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25128 maybe-TAGS-target-gperf:
25130 maybe-TAGS-target-gperf: TAGS-target-gperf
25132 TAGS-target-gperf: \
25133 configure-target-gperf
25134 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25135 r=`${PWD_COMMAND}`; export r; \
25136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25138 $(NORMAL_TARGET_EXPORTS) \
25139 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25140 for flag in $(EXTRA_TARGET_FLAGS); do \
25141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25143 (cd $(TARGET_SUBDIR)/gperf && \
25144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25146 "RANLIB=$${RANLIB}" \
25147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25151 @endif target-gperf
25153 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25154 maybe-install-info-target-gperf:
25156 maybe-install-info-target-gperf: install-info-target-gperf
25158 install-info-target-gperf: \
25159 configure-target-gperf \
25161 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25162 r=`${PWD_COMMAND}`; export r; \
25163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25165 $(NORMAL_TARGET_EXPORTS) \
25166 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25167 for flag in $(EXTRA_TARGET_FLAGS); do \
25168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25170 (cd $(TARGET_SUBDIR)/gperf && \
25171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25173 "RANLIB=$${RANLIB}" \
25174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25178 @endif target-gperf
25180 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25181 maybe-installcheck-target-gperf:
25183 maybe-installcheck-target-gperf: installcheck-target-gperf
25185 installcheck-target-gperf: \
25186 configure-target-gperf
25187 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25188 r=`${PWD_COMMAND}`; export r; \
25189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 $(NORMAL_TARGET_EXPORTS) \
25192 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25193 for flag in $(EXTRA_TARGET_FLAGS); do \
25194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25196 (cd $(TARGET_SUBDIR)/gperf && \
25197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25199 "RANLIB=$${RANLIB}" \
25200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25204 @endif target-gperf
25206 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25207 maybe-mostlyclean-target-gperf:
25209 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25211 mostlyclean-target-gperf:
25212 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25213 r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25216 $(NORMAL_TARGET_EXPORTS) \
25217 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25218 for flag in $(EXTRA_TARGET_FLAGS); do \
25219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25221 (cd $(TARGET_SUBDIR)/gperf && \
25222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25224 "RANLIB=$${RANLIB}" \
25225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25229 @endif target-gperf
25231 .PHONY: maybe-clean-target-gperf clean-target-gperf
25232 maybe-clean-target-gperf:
25234 maybe-clean-target-gperf: clean-target-gperf
25236 clean-target-gperf:
25237 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25238 r=`${PWD_COMMAND}`; export r; \
25239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25241 $(NORMAL_TARGET_EXPORTS) \
25242 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25243 for flag in $(EXTRA_TARGET_FLAGS); do \
25244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25246 (cd $(TARGET_SUBDIR)/gperf && \
25247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25249 "RANLIB=$${RANLIB}" \
25250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25254 @endif target-gperf
25256 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25257 maybe-distclean-target-gperf:
25259 maybe-distclean-target-gperf: distclean-target-gperf
25261 distclean-target-gperf:
25262 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25263 r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25266 $(NORMAL_TARGET_EXPORTS) \
25267 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25268 for flag in $(EXTRA_TARGET_FLAGS); do \
25269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25271 (cd $(TARGET_SUBDIR)/gperf && \
25272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25274 "RANLIB=$${RANLIB}" \
25275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25279 @endif target-gperf
25281 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25282 maybe-maintainer-clean-target-gperf:
25284 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25286 maintainer-clean-target-gperf:
25287 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25288 r=`${PWD_COMMAND}`; export r; \
25289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25291 $(NORMAL_TARGET_EXPORTS) \
25292 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25293 for flag in $(EXTRA_TARGET_FLAGS); do \
25294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25296 (cd $(TARGET_SUBDIR)/gperf && \
25297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25299 "RANLIB=$${RANLIB}" \
25300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25301 maintainer-clean) \
25304 @endif target-gperf
25307 .PHONY: configure-target-examples maybe-configure-target-examples
25308 maybe-configure-target-examples:
25309 @if target-examples
25310 maybe-configure-target-examples: configure-target-examples
25312 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25313 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25314 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25315 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25316 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25318 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25319 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25321 r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25324 $(NORMAL_TARGET_EXPORTS) \
25325 echo Configuring in $(TARGET_SUBDIR)/examples; \
25326 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25327 case $(srcdir) in \
25328 /* | [A-Za-z]:[\\/]*) \
25329 topdir=$(srcdir) ;; \
25331 case "$(TARGET_SUBDIR)" in \
25332 .) topdir="../$(srcdir)" ;; \
25333 *) topdir="../../$(srcdir)" ;; \
25336 srcdiroption="--srcdir=$${topdir}/examples"; \
25337 libsrcdir="$$s/examples"; \
25338 rm -f no-such-file || : ; \
25339 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25340 $(TARGET_CONFIGARGS) $${srcdiroption} \
25341 --with-target-subdir="$(TARGET_SUBDIR)" \
25343 @endif target-examples
25345 .PHONY: all-target-examples maybe-all-target-examples
25346 maybe-all-target-examples:
25347 @if target-examples
25348 TARGET-target-examples=all
25349 maybe-all-target-examples: all-target-examples
25350 all-target-examples: configure-target-examples
25351 @r=`${PWD_COMMAND}`; export r; \
25352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25354 $(NORMAL_TARGET_EXPORTS) \
25355 (cd $(TARGET_SUBDIR)/examples && \
25356 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25357 @endif target-examples
25359 .PHONY: check-target-examples maybe-check-target-examples
25360 maybe-check-target-examples:
25361 @if target-examples
25362 maybe-check-target-examples: check-target-examples
25364 # Dummy target for uncheckable module.
25365 check-target-examples:
25367 @endif target-examples
25369 .PHONY: install-target-examples maybe-install-target-examples
25370 maybe-install-target-examples:
25371 @if target-examples
25372 maybe-install-target-examples: install-target-examples
25374 # Dummy target for uninstallable.
25375 install-target-examples:
25377 @endif target-examples
25379 # Other targets (info, dvi, etc.)
25381 .PHONY: maybe-info-target-examples info-target-examples
25382 maybe-info-target-examples:
25383 @if target-examples
25384 maybe-info-target-examples: info-target-examples
25386 info-target-examples: \
25387 configure-target-examples
25388 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25389 r=`${PWD_COMMAND}`; export r; \
25390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(NORMAL_TARGET_EXPORTS) \
25393 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25394 for flag in $(EXTRA_TARGET_FLAGS); do \
25395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25397 (cd $(TARGET_SUBDIR)/examples && \
25398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25400 "RANLIB=$${RANLIB}" \
25401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25405 @endif target-examples
25407 .PHONY: maybe-dvi-target-examples dvi-target-examples
25408 maybe-dvi-target-examples:
25409 @if target-examples
25410 maybe-dvi-target-examples: dvi-target-examples
25412 dvi-target-examples: \
25413 configure-target-examples
25414 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25415 r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 $(NORMAL_TARGET_EXPORTS) \
25419 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25420 for flag in $(EXTRA_TARGET_FLAGS); do \
25421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25423 (cd $(TARGET_SUBDIR)/examples && \
25424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25426 "RANLIB=$${RANLIB}" \
25427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25431 @endif target-examples
25433 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25434 maybe-TAGS-target-examples:
25435 @if target-examples
25436 maybe-TAGS-target-examples: TAGS-target-examples
25438 TAGS-target-examples: \
25439 configure-target-examples
25440 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25441 r=`${PWD_COMMAND}`; export r; \
25442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 $(NORMAL_TARGET_EXPORTS) \
25445 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25446 for flag in $(EXTRA_TARGET_FLAGS); do \
25447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 (cd $(TARGET_SUBDIR)/examples && \
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-examples
25459 .PHONY: maybe-install-info-target-examples install-info-target-examples
25460 maybe-install-info-target-examples:
25461 @if target-examples
25462 maybe-install-info-target-examples: install-info-target-examples
25464 install-info-target-examples: \
25465 configure-target-examples \
25466 info-target-examples
25467 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25468 r=`${PWD_COMMAND}`; export r; \
25469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25471 $(NORMAL_TARGET_EXPORTS) \
25472 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25473 for flag in $(EXTRA_TARGET_FLAGS); do \
25474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25476 (cd $(TARGET_SUBDIR)/examples && \
25477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25479 "RANLIB=$${RANLIB}" \
25480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25484 @endif target-examples
25486 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25487 maybe-installcheck-target-examples:
25488 @if target-examples
25489 maybe-installcheck-target-examples: installcheck-target-examples
25491 installcheck-target-examples: \
25492 configure-target-examples
25493 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25494 r=`${PWD_COMMAND}`; export r; \
25495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25497 $(NORMAL_TARGET_EXPORTS) \
25498 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25499 for flag in $(EXTRA_TARGET_FLAGS); do \
25500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25502 (cd $(TARGET_SUBDIR)/examples && \
25503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25505 "RANLIB=$${RANLIB}" \
25506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25510 @endif target-examples
25512 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25513 maybe-mostlyclean-target-examples:
25514 @if target-examples
25515 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25517 mostlyclean-target-examples:
25518 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25519 r=`${PWD_COMMAND}`; export r; \
25520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25522 $(NORMAL_TARGET_EXPORTS) \
25523 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25524 for flag in $(EXTRA_TARGET_FLAGS); do \
25525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 (cd $(TARGET_SUBDIR)/examples && \
25528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25530 "RANLIB=$${RANLIB}" \
25531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25535 @endif target-examples
25537 .PHONY: maybe-clean-target-examples clean-target-examples
25538 maybe-clean-target-examples:
25539 @if target-examples
25540 maybe-clean-target-examples: clean-target-examples
25542 clean-target-examples:
25543 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25544 r=`${PWD_COMMAND}`; export r; \
25545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25547 $(NORMAL_TARGET_EXPORTS) \
25548 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25549 for flag in $(EXTRA_TARGET_FLAGS); do \
25550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 (cd $(TARGET_SUBDIR)/examples && \
25553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25555 "RANLIB=$${RANLIB}" \
25556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25560 @endif target-examples
25562 .PHONY: maybe-distclean-target-examples distclean-target-examples
25563 maybe-distclean-target-examples:
25564 @if target-examples
25565 maybe-distclean-target-examples: distclean-target-examples
25567 distclean-target-examples:
25568 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25569 r=`${PWD_COMMAND}`; export r; \
25570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25572 $(NORMAL_TARGET_EXPORTS) \
25573 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25574 for flag in $(EXTRA_TARGET_FLAGS); do \
25575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 (cd $(TARGET_SUBDIR)/examples && \
25578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25580 "RANLIB=$${RANLIB}" \
25581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25585 @endif target-examples
25587 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25588 maybe-maintainer-clean-target-examples:
25589 @if target-examples
25590 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25592 maintainer-clean-target-examples:
25593 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25594 r=`${PWD_COMMAND}`; export r; \
25595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25597 $(NORMAL_TARGET_EXPORTS) \
25598 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25599 for flag in $(EXTRA_TARGET_FLAGS); do \
25600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25602 (cd $(TARGET_SUBDIR)/examples && \
25603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25605 "RANLIB=$${RANLIB}" \
25606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25607 maintainer-clean) \
25610 @endif target-examples
25613 .PHONY: configure-target-libffi maybe-configure-target-libffi
25614 maybe-configure-target-libffi:
25616 maybe-configure-target-libffi: configure-target-libffi
25618 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25619 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25620 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25621 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25622 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25624 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25625 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25627 r=`${PWD_COMMAND}`; export r; \
25628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25630 $(NORMAL_TARGET_EXPORTS) \
25631 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25632 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25633 case $(srcdir) in \
25634 /* | [A-Za-z]:[\\/]*) \
25635 topdir=$(srcdir) ;; \
25637 case "$(TARGET_SUBDIR)" in \
25638 .) topdir="../$(srcdir)" ;; \
25639 *) topdir="../../$(srcdir)" ;; \
25642 srcdiroption="--srcdir=$${topdir}/libffi"; \
25643 libsrcdir="$$s/libffi"; \
25644 rm -f no-such-file || : ; \
25645 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25646 $(TARGET_CONFIGARGS) $${srcdiroption} \
25647 --with-target-subdir="$(TARGET_SUBDIR)" \
25649 @endif target-libffi
25651 .PHONY: all-target-libffi maybe-all-target-libffi
25652 maybe-all-target-libffi:
25654 TARGET-target-libffi=all
25655 maybe-all-target-libffi: all-target-libffi
25656 all-target-libffi: configure-target-libffi
25657 @r=`${PWD_COMMAND}`; export r; \
25658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(NORMAL_TARGET_EXPORTS) \
25661 (cd $(TARGET_SUBDIR)/libffi && \
25662 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25663 @endif target-libffi
25665 .PHONY: check-target-libffi maybe-check-target-libffi
25666 maybe-check-target-libffi:
25668 maybe-check-target-libffi: check-target-libffi
25670 check-target-libffi:
25671 @r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25674 $(NORMAL_TARGET_EXPORTS) \
25675 (cd $(TARGET_SUBDIR)/libffi && \
25676 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25678 @endif target-libffi
25680 .PHONY: install-target-libffi maybe-install-target-libffi
25681 maybe-install-target-libffi:
25683 maybe-install-target-libffi: install-target-libffi
25685 install-target-libffi: installdirs
25686 @r=`${PWD_COMMAND}`; export r; \
25687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(NORMAL_TARGET_EXPORTS) \
25690 (cd $(TARGET_SUBDIR)/libffi && \
25691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25693 @endif target-libffi
25695 # Other targets (info, dvi, etc.)
25697 .PHONY: maybe-info-target-libffi info-target-libffi
25698 maybe-info-target-libffi:
25700 maybe-info-target-libffi: info-target-libffi
25702 info-target-libffi: \
25703 configure-target-libffi
25704 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25705 r=`${PWD_COMMAND}`; export r; \
25706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25708 $(NORMAL_TARGET_EXPORTS) \
25709 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25710 for flag in $(EXTRA_TARGET_FLAGS); do \
25711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25713 (cd $(TARGET_SUBDIR)/libffi && \
25714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25716 "RANLIB=$${RANLIB}" \
25717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25721 @endif target-libffi
25723 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25724 maybe-dvi-target-libffi:
25726 maybe-dvi-target-libffi: dvi-target-libffi
25728 dvi-target-libffi: \
25729 configure-target-libffi
25730 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25731 r=`${PWD_COMMAND}`; export r; \
25732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25734 $(NORMAL_TARGET_EXPORTS) \
25735 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25736 for flag in $(EXTRA_TARGET_FLAGS); do \
25737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25739 (cd $(TARGET_SUBDIR)/libffi && \
25740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25742 "RANLIB=$${RANLIB}" \
25743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25747 @endif target-libffi
25749 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25750 maybe-TAGS-target-libffi:
25752 maybe-TAGS-target-libffi: TAGS-target-libffi
25754 TAGS-target-libffi: \
25755 configure-target-libffi
25756 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25757 r=`${PWD_COMMAND}`; export r; \
25758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(NORMAL_TARGET_EXPORTS) \
25761 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25762 for flag in $(EXTRA_TARGET_FLAGS); do \
25763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 (cd $(TARGET_SUBDIR)/libffi && \
25766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25768 "RANLIB=$${RANLIB}" \
25769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25773 @endif target-libffi
25775 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25776 maybe-install-info-target-libffi:
25778 maybe-install-info-target-libffi: install-info-target-libffi
25780 install-info-target-libffi: \
25781 configure-target-libffi \
25783 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25784 r=`${PWD_COMMAND}`; export r; \
25785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(NORMAL_TARGET_EXPORTS) \
25788 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25789 for flag in $(EXTRA_TARGET_FLAGS); do \
25790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25792 (cd $(TARGET_SUBDIR)/libffi && \
25793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795 "RANLIB=$${RANLIB}" \
25796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25800 @endif target-libffi
25802 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25803 maybe-installcheck-target-libffi:
25805 maybe-installcheck-target-libffi: installcheck-target-libffi
25807 installcheck-target-libffi: \
25808 configure-target-libffi
25809 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(NORMAL_TARGET_EXPORTS) \
25814 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25815 for flag in $(EXTRA_TARGET_FLAGS); do \
25816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25818 (cd $(TARGET_SUBDIR)/libffi && \
25819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25821 "RANLIB=$${RANLIB}" \
25822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25826 @endif target-libffi
25828 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25829 maybe-mostlyclean-target-libffi:
25831 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25833 mostlyclean-target-libffi:
25834 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(NORMAL_TARGET_EXPORTS) \
25839 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25840 for flag in $(EXTRA_TARGET_FLAGS); do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25843 (cd $(TARGET_SUBDIR)/libffi && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 @endif target-libffi
25853 .PHONY: maybe-clean-target-libffi clean-target-libffi
25854 maybe-clean-target-libffi:
25856 maybe-clean-target-libffi: clean-target-libffi
25858 clean-target-libffi:
25859 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 $(NORMAL_TARGET_EXPORTS) \
25864 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25865 for flag in $(EXTRA_TARGET_FLAGS); do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25868 (cd $(TARGET_SUBDIR)/libffi && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 @endif target-libffi
25878 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25879 maybe-distclean-target-libffi:
25881 maybe-distclean-target-libffi: distclean-target-libffi
25883 distclean-target-libffi:
25884 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(NORMAL_TARGET_EXPORTS) \
25889 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25890 for flag in $(EXTRA_TARGET_FLAGS); do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25893 (cd $(TARGET_SUBDIR)/libffi && \
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-libffi
25903 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25904 maybe-maintainer-clean-target-libffi:
25906 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25908 maintainer-clean-target-libffi:
25909 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25913 $(NORMAL_TARGET_EXPORTS) \
25914 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25915 for flag in $(EXTRA_TARGET_FLAGS); do \
25916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25918 (cd $(TARGET_SUBDIR)/libffi && \
25919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921 "RANLIB=$${RANLIB}" \
25922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25923 maintainer-clean) \
25926 @endif target-libffi
25929 .PHONY: configure-target-libjava maybe-configure-target-libjava
25930 maybe-configure-target-libjava:
25932 maybe-configure-target-libjava: configure-target-libjava
25934 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25935 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25936 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25937 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25938 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25940 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25941 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25942 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25943 r=`${PWD_COMMAND}`; export r; \
25944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25946 $(RAW_CXX_TARGET_EXPORTS) \
25947 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25948 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25949 case $(srcdir) in \
25950 /* | [A-Za-z]:[\\/]*) \
25951 topdir=$(srcdir) ;; \
25953 case "$(TARGET_SUBDIR)" in \
25954 .) topdir="../$(srcdir)" ;; \
25955 *) topdir="../../$(srcdir)" ;; \
25958 srcdiroption="--srcdir=$${topdir}/libjava"; \
25959 libsrcdir="$$s/libjava"; \
25960 rm -f no-such-file || : ; \
25961 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25962 $(TARGET_CONFIGARGS) $${srcdiroption} \
25963 --with-target-subdir="$(TARGET_SUBDIR)" \
25965 @endif target-libjava
25967 .PHONY: all-target-libjava maybe-all-target-libjava
25968 maybe-all-target-libjava:
25970 TARGET-target-libjava=all
25971 maybe-all-target-libjava: all-target-libjava
25972 all-target-libjava: configure-target-libjava
25973 @r=`${PWD_COMMAND}`; export r; \
25974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 $(RAW_CXX_TARGET_EXPORTS) \
25977 (cd $(TARGET_SUBDIR)/libjava && \
25978 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
25979 @endif target-libjava
25981 .PHONY: check-target-libjava maybe-check-target-libjava
25982 maybe-check-target-libjava:
25984 maybe-check-target-libjava: check-target-libjava
25986 check-target-libjava:
25987 @r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25990 $(RAW_CXX_TARGET_EXPORTS) \
25991 (cd $(TARGET_SUBDIR)/libjava && \
25992 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25994 @endif target-libjava
25996 .PHONY: install-target-libjava maybe-install-target-libjava
25997 maybe-install-target-libjava:
25999 maybe-install-target-libjava: install-target-libjava
26001 install-target-libjava: installdirs
26002 @r=`${PWD_COMMAND}`; export r; \
26003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26005 $(RAW_CXX_TARGET_EXPORTS) \
26006 (cd $(TARGET_SUBDIR)/libjava && \
26007 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26009 @endif target-libjava
26011 # Other targets (info, dvi, etc.)
26013 .PHONY: maybe-info-target-libjava info-target-libjava
26014 maybe-info-target-libjava:
26016 maybe-info-target-libjava: info-target-libjava
26018 info-target-libjava: \
26019 configure-target-libjava
26020 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26021 r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26024 $(RAW_CXX_TARGET_EXPORTS) \
26025 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26026 for flag in $(EXTRA_TARGET_FLAGS); do \
26027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26029 (cd $(TARGET_SUBDIR)/libjava && \
26030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26032 "RANLIB=$${RANLIB}" \
26033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26037 @endif target-libjava
26039 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26040 maybe-dvi-target-libjava:
26042 maybe-dvi-target-libjava: dvi-target-libjava
26044 dvi-target-libjava: \
26045 configure-target-libjava
26046 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26047 r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26050 $(RAW_CXX_TARGET_EXPORTS) \
26051 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26052 for flag in $(EXTRA_TARGET_FLAGS); do \
26053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26055 (cd $(TARGET_SUBDIR)/libjava && \
26056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26058 "RANLIB=$${RANLIB}" \
26059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26063 @endif target-libjava
26065 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26066 maybe-TAGS-target-libjava:
26068 maybe-TAGS-target-libjava: TAGS-target-libjava
26070 TAGS-target-libjava: \
26071 configure-target-libjava
26072 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26073 r=`${PWD_COMMAND}`; export r; \
26074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26076 $(RAW_CXX_TARGET_EXPORTS) \
26077 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26078 for flag in $(EXTRA_TARGET_FLAGS); do \
26079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26081 (cd $(TARGET_SUBDIR)/libjava && \
26082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26084 "RANLIB=$${RANLIB}" \
26085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26089 @endif target-libjava
26091 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26092 maybe-install-info-target-libjava:
26094 maybe-install-info-target-libjava: install-info-target-libjava
26096 install-info-target-libjava: \
26097 configure-target-libjava \
26098 info-target-libjava
26099 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26100 r=`${PWD_COMMAND}`; export r; \
26101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26103 $(RAW_CXX_TARGET_EXPORTS) \
26104 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26105 for flag in $(EXTRA_TARGET_FLAGS); do \
26106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26108 (cd $(TARGET_SUBDIR)/libjava && \
26109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26111 "RANLIB=$${RANLIB}" \
26112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26116 @endif target-libjava
26118 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26119 maybe-installcheck-target-libjava:
26121 maybe-installcheck-target-libjava: installcheck-target-libjava
26123 installcheck-target-libjava: \
26124 configure-target-libjava
26125 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26126 r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26129 $(RAW_CXX_TARGET_EXPORTS) \
26130 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26131 for flag in $(EXTRA_TARGET_FLAGS); do \
26132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26134 (cd $(TARGET_SUBDIR)/libjava && \
26135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26137 "RANLIB=$${RANLIB}" \
26138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26142 @endif target-libjava
26144 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26145 maybe-mostlyclean-target-libjava:
26147 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26149 mostlyclean-target-libjava:
26150 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26151 r=`${PWD_COMMAND}`; export r; \
26152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26154 $(RAW_CXX_TARGET_EXPORTS) \
26155 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26156 for flag in $(EXTRA_TARGET_FLAGS); do \
26157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26159 (cd $(TARGET_SUBDIR)/libjava && \
26160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26162 "RANLIB=$${RANLIB}" \
26163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26167 @endif target-libjava
26169 .PHONY: maybe-clean-target-libjava clean-target-libjava
26170 maybe-clean-target-libjava:
26172 maybe-clean-target-libjava: clean-target-libjava
26174 clean-target-libjava:
26175 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26176 r=`${PWD_COMMAND}`; export r; \
26177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26179 $(RAW_CXX_TARGET_EXPORTS) \
26180 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26181 for flag in $(EXTRA_TARGET_FLAGS); do \
26182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26184 (cd $(TARGET_SUBDIR)/libjava && \
26185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26187 "RANLIB=$${RANLIB}" \
26188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26192 @endif target-libjava
26194 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26195 maybe-distclean-target-libjava:
26197 maybe-distclean-target-libjava: distclean-target-libjava
26199 distclean-target-libjava:
26200 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26201 r=`${PWD_COMMAND}`; export r; \
26202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26204 $(RAW_CXX_TARGET_EXPORTS) \
26205 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26206 for flag in $(EXTRA_TARGET_FLAGS); do \
26207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26209 (cd $(TARGET_SUBDIR)/libjava && \
26210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26212 "RANLIB=$${RANLIB}" \
26213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26217 @endif target-libjava
26219 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26220 maybe-maintainer-clean-target-libjava:
26222 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26224 maintainer-clean-target-libjava:
26225 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26226 r=`${PWD_COMMAND}`; export r; \
26227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(RAW_CXX_TARGET_EXPORTS) \
26230 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26231 for flag in $(EXTRA_TARGET_FLAGS); do \
26232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26234 (cd $(TARGET_SUBDIR)/libjava && \
26235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237 "RANLIB=$${RANLIB}" \
26238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26239 maintainer-clean) \
26242 @endif target-libjava
26245 .PHONY: configure-target-zlib maybe-configure-target-zlib
26246 maybe-configure-target-zlib:
26248 maybe-configure-target-zlib: configure-target-zlib
26250 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26251 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26253 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26254 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26256 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26257 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26259 r=`${PWD_COMMAND}`; export r; \
26260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26262 $(NORMAL_TARGET_EXPORTS) \
26263 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26264 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26265 case $(srcdir) in \
26266 /* | [A-Za-z]:[\\/]*) \
26267 topdir=$(srcdir) ;; \
26269 case "$(TARGET_SUBDIR)" in \
26270 .) topdir="../$(srcdir)" ;; \
26271 *) topdir="../../$(srcdir)" ;; \
26274 if [ "$(srcdir)" = "." ] ; then \
26275 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26276 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26277 if [ -f Makefile ]; then \
26278 if $(MAKE) distclean; then \
26292 srcdiroption="--srcdir=."; \
26295 srcdiroption="--srcdir=$${topdir}/zlib"; \
26296 libsrcdir="$$s/zlib"; \
26298 rm -f no-such-file || : ; \
26299 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26300 $(TARGET_CONFIGARGS) $${srcdiroption} \
26301 --with-target-subdir="$(TARGET_SUBDIR)" \
26305 .PHONY: all-target-zlib maybe-all-target-zlib
26306 maybe-all-target-zlib:
26308 TARGET-target-zlib=all
26309 maybe-all-target-zlib: all-target-zlib
26310 all-target-zlib: configure-target-zlib
26311 @r=`${PWD_COMMAND}`; export r; \
26312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26314 $(NORMAL_TARGET_EXPORTS) \
26315 (cd $(TARGET_SUBDIR)/zlib && \
26316 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26319 .PHONY: check-target-zlib maybe-check-target-zlib
26320 maybe-check-target-zlib:
26322 maybe-check-target-zlib: check-target-zlib
26325 @r=`${PWD_COMMAND}`; export r; \
26326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26328 $(NORMAL_TARGET_EXPORTS) \
26329 (cd $(TARGET_SUBDIR)/zlib && \
26330 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26334 .PHONY: install-target-zlib maybe-install-target-zlib
26335 maybe-install-target-zlib:
26337 maybe-install-target-zlib: install-target-zlib
26339 install-target-zlib: installdirs
26340 @r=`${PWD_COMMAND}`; export r; \
26341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26343 $(NORMAL_TARGET_EXPORTS) \
26344 (cd $(TARGET_SUBDIR)/zlib && \
26345 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26349 # Other targets (info, dvi, etc.)
26351 .PHONY: maybe-info-target-zlib info-target-zlib
26352 maybe-info-target-zlib:
26354 maybe-info-target-zlib: info-target-zlib
26356 info-target-zlib: \
26357 configure-target-zlib
26358 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26359 r=`${PWD_COMMAND}`; export r; \
26360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(NORMAL_TARGET_EXPORTS) \
26363 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26364 for flag in $(EXTRA_TARGET_FLAGS); do \
26365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26367 (cd $(TARGET_SUBDIR)/zlib && \
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}" \
26377 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26378 maybe-dvi-target-zlib:
26380 maybe-dvi-target-zlib: dvi-target-zlib
26383 configure-target-zlib
26384 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 $(NORMAL_TARGET_EXPORTS) \
26389 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26390 for flag in $(EXTRA_TARGET_FLAGS); do \
26391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26393 (cd $(TARGET_SUBDIR)/zlib && \
26394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26396 "RANLIB=$${RANLIB}" \
26397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26403 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26404 maybe-TAGS-target-zlib:
26406 maybe-TAGS-target-zlib: TAGS-target-zlib
26408 TAGS-target-zlib: \
26409 configure-target-zlib
26410 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26411 r=`${PWD_COMMAND}`; export r; \
26412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26414 $(NORMAL_TARGET_EXPORTS) \
26415 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26416 for flag in $(EXTRA_TARGET_FLAGS); do \
26417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26419 (cd $(TARGET_SUBDIR)/zlib && \
26420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26422 "RANLIB=$${RANLIB}" \
26423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26429 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26430 maybe-install-info-target-zlib:
26432 maybe-install-info-target-zlib: install-info-target-zlib
26434 install-info-target-zlib: \
26435 configure-target-zlib \
26437 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26438 r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26441 $(NORMAL_TARGET_EXPORTS) \
26442 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26443 for flag in $(EXTRA_TARGET_FLAGS); do \
26444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26446 (cd $(TARGET_SUBDIR)/zlib && \
26447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26449 "RANLIB=$${RANLIB}" \
26450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26456 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26457 maybe-installcheck-target-zlib:
26459 maybe-installcheck-target-zlib: installcheck-target-zlib
26461 installcheck-target-zlib: \
26462 configure-target-zlib
26463 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26464 r=`${PWD_COMMAND}`; export r; \
26465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26467 $(NORMAL_TARGET_EXPORTS) \
26468 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26469 for flag in $(EXTRA_TARGET_FLAGS); do \
26470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26472 (cd $(TARGET_SUBDIR)/zlib && \
26473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26475 "RANLIB=$${RANLIB}" \
26476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26482 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26483 maybe-mostlyclean-target-zlib:
26485 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26487 mostlyclean-target-zlib:
26488 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26489 r=`${PWD_COMMAND}`; export r; \
26490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26492 $(NORMAL_TARGET_EXPORTS) \
26493 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26494 for flag in $(EXTRA_TARGET_FLAGS); do \
26495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26497 (cd $(TARGET_SUBDIR)/zlib && \
26498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26500 "RANLIB=$${RANLIB}" \
26501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26507 .PHONY: maybe-clean-target-zlib clean-target-zlib
26508 maybe-clean-target-zlib:
26510 maybe-clean-target-zlib: clean-target-zlib
26513 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26514 r=`${PWD_COMMAND}`; export r; \
26515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26517 $(NORMAL_TARGET_EXPORTS) \
26518 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26519 for flag in $(EXTRA_TARGET_FLAGS); do \
26520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26522 (cd $(TARGET_SUBDIR)/zlib && \
26523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26525 "RANLIB=$${RANLIB}" \
26526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26532 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26533 maybe-distclean-target-zlib:
26535 maybe-distclean-target-zlib: distclean-target-zlib
26537 distclean-target-zlib:
26538 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 $(NORMAL_TARGET_EXPORTS) \
26543 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26544 for flag in $(EXTRA_TARGET_FLAGS); do \
26545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26547 (cd $(TARGET_SUBDIR)/zlib && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26557 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26558 maybe-maintainer-clean-target-zlib:
26560 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26562 maintainer-clean-target-zlib:
26563 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26564 r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26567 $(NORMAL_TARGET_EXPORTS) \
26568 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26569 for flag in $(EXTRA_TARGET_FLAGS); do \
26570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26572 (cd $(TARGET_SUBDIR)/zlib && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26577 maintainer-clean) \
26583 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26584 maybe-configure-target-boehm-gc:
26585 @if target-boehm-gc
26586 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26588 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26589 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26591 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26592 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26594 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26595 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26597 r=`${PWD_COMMAND}`; export r; \
26598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26600 $(NORMAL_TARGET_EXPORTS) \
26601 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26602 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26603 case $(srcdir) in \
26604 /* | [A-Za-z]:[\\/]*) \
26605 topdir=$(srcdir) ;; \
26607 case "$(TARGET_SUBDIR)" in \
26608 .) topdir="../$(srcdir)" ;; \
26609 *) topdir="../../$(srcdir)" ;; \
26612 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26613 libsrcdir="$$s/boehm-gc"; \
26614 rm -f no-such-file || : ; \
26615 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26616 $(TARGET_CONFIGARGS) $${srcdiroption} \
26617 --with-target-subdir="$(TARGET_SUBDIR)" \
26619 @endif target-boehm-gc
26621 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26622 maybe-all-target-boehm-gc:
26623 @if target-boehm-gc
26624 TARGET-target-boehm-gc=all
26625 maybe-all-target-boehm-gc: all-target-boehm-gc
26626 all-target-boehm-gc: configure-target-boehm-gc
26627 @r=`${PWD_COMMAND}`; export r; \
26628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26630 $(NORMAL_TARGET_EXPORTS) \
26631 (cd $(TARGET_SUBDIR)/boehm-gc && \
26632 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26633 @endif target-boehm-gc
26635 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26636 maybe-check-target-boehm-gc:
26637 @if target-boehm-gc
26638 maybe-check-target-boehm-gc: check-target-boehm-gc
26640 check-target-boehm-gc:
26641 @r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26644 $(NORMAL_TARGET_EXPORTS) \
26645 (cd $(TARGET_SUBDIR)/boehm-gc && \
26646 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26648 @endif target-boehm-gc
26650 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26651 maybe-install-target-boehm-gc:
26652 @if target-boehm-gc
26653 maybe-install-target-boehm-gc: install-target-boehm-gc
26655 install-target-boehm-gc: installdirs
26656 @r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26659 $(NORMAL_TARGET_EXPORTS) \
26660 (cd $(TARGET_SUBDIR)/boehm-gc && \
26661 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26663 @endif target-boehm-gc
26665 # Other targets (info, dvi, etc.)
26667 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26668 maybe-info-target-boehm-gc:
26669 @if target-boehm-gc
26670 maybe-info-target-boehm-gc: info-target-boehm-gc
26672 info-target-boehm-gc: \
26673 configure-target-boehm-gc
26674 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26675 r=`${PWD_COMMAND}`; export r; \
26676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 $(NORMAL_TARGET_EXPORTS) \
26679 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26680 for flag in $(EXTRA_TARGET_FLAGS); do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26683 (cd $(TARGET_SUBDIR)/boehm-gc && \
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-boehm-gc
26693 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26694 maybe-dvi-target-boehm-gc:
26695 @if target-boehm-gc
26696 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26698 dvi-target-boehm-gc: \
26699 configure-target-boehm-gc
26700 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26701 r=`${PWD_COMMAND}`; export r; \
26702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26704 $(NORMAL_TARGET_EXPORTS) \
26705 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26706 for flag in $(EXTRA_TARGET_FLAGS); do \
26707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26709 (cd $(TARGET_SUBDIR)/boehm-gc && \
26710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26712 "RANLIB=$${RANLIB}" \
26713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26717 @endif target-boehm-gc
26719 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26720 maybe-TAGS-target-boehm-gc:
26721 @if target-boehm-gc
26722 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26724 TAGS-target-boehm-gc: \
26725 configure-target-boehm-gc
26726 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26727 r=`${PWD_COMMAND}`; export r; \
26728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26730 $(NORMAL_TARGET_EXPORTS) \
26731 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26732 for flag in $(EXTRA_TARGET_FLAGS); do \
26733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26735 (cd $(TARGET_SUBDIR)/boehm-gc && \
26736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26738 "RANLIB=$${RANLIB}" \
26739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26743 @endif target-boehm-gc
26745 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26746 maybe-install-info-target-boehm-gc:
26747 @if target-boehm-gc
26748 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26750 install-info-target-boehm-gc: \
26751 configure-target-boehm-gc \
26752 info-target-boehm-gc
26753 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26754 r=`${PWD_COMMAND}`; export r; \
26755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(NORMAL_TARGET_EXPORTS) \
26758 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26759 for flag in $(EXTRA_TARGET_FLAGS); do \
26760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26762 (cd $(TARGET_SUBDIR)/boehm-gc && \
26763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26765 "RANLIB=$${RANLIB}" \
26766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26770 @endif target-boehm-gc
26772 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26773 maybe-installcheck-target-boehm-gc:
26774 @if target-boehm-gc
26775 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26777 installcheck-target-boehm-gc: \
26778 configure-target-boehm-gc
26779 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26780 r=`${PWD_COMMAND}`; export r; \
26781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26783 $(NORMAL_TARGET_EXPORTS) \
26784 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26785 for flag in $(EXTRA_TARGET_FLAGS); do \
26786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26788 (cd $(TARGET_SUBDIR)/boehm-gc && \
26789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26791 "RANLIB=$${RANLIB}" \
26792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26796 @endif target-boehm-gc
26798 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26799 maybe-mostlyclean-target-boehm-gc:
26800 @if target-boehm-gc
26801 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26803 mostlyclean-target-boehm-gc:
26804 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26805 r=`${PWD_COMMAND}`; export r; \
26806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26808 $(NORMAL_TARGET_EXPORTS) \
26809 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26810 for flag in $(EXTRA_TARGET_FLAGS); do \
26811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26813 (cd $(TARGET_SUBDIR)/boehm-gc && \
26814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26816 "RANLIB=$${RANLIB}" \
26817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26821 @endif target-boehm-gc
26823 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26824 maybe-clean-target-boehm-gc:
26825 @if target-boehm-gc
26826 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26828 clean-target-boehm-gc:
26829 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26830 r=`${PWD_COMMAND}`; export r; \
26831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26833 $(NORMAL_TARGET_EXPORTS) \
26834 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26835 for flag in $(EXTRA_TARGET_FLAGS); do \
26836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26838 (cd $(TARGET_SUBDIR)/boehm-gc && \
26839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26841 "RANLIB=$${RANLIB}" \
26842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26846 @endif target-boehm-gc
26848 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26849 maybe-distclean-target-boehm-gc:
26850 @if target-boehm-gc
26851 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26853 distclean-target-boehm-gc:
26854 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26855 r=`${PWD_COMMAND}`; export r; \
26856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26858 $(NORMAL_TARGET_EXPORTS) \
26859 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26860 for flag in $(EXTRA_TARGET_FLAGS); do \
26861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26863 (cd $(TARGET_SUBDIR)/boehm-gc && \
26864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26866 "RANLIB=$${RANLIB}" \
26867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26871 @endif target-boehm-gc
26873 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26874 maybe-maintainer-clean-target-boehm-gc:
26875 @if target-boehm-gc
26876 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26878 maintainer-clean-target-boehm-gc:
26879 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26880 r=`${PWD_COMMAND}`; export r; \
26881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26883 $(NORMAL_TARGET_EXPORTS) \
26884 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26885 for flag in $(EXTRA_TARGET_FLAGS); do \
26886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26888 (cd $(TARGET_SUBDIR)/boehm-gc && \
26889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26891 "RANLIB=$${RANLIB}" \
26892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26893 maintainer-clean) \
26896 @endif target-boehm-gc
26899 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26900 maybe-configure-target-qthreads:
26901 @if target-qthreads
26902 maybe-configure-target-qthreads: configure-target-qthreads
26904 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26905 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26907 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26908 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26910 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26911 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26913 r=`${PWD_COMMAND}`; export r; \
26914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(NORMAL_TARGET_EXPORTS) \
26917 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26918 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26919 case $(srcdir) in \
26920 /* | [A-Za-z]:[\\/]*) \
26921 topdir=$(srcdir) ;; \
26923 case "$(TARGET_SUBDIR)" in \
26924 .) topdir="../$(srcdir)" ;; \
26925 *) topdir="../../$(srcdir)" ;; \
26928 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26929 libsrcdir="$$s/qthreads"; \
26930 rm -f no-such-file || : ; \
26931 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26932 $(TARGET_CONFIGARGS) $${srcdiroption} \
26933 --with-target-subdir="$(TARGET_SUBDIR)" \
26935 @endif target-qthreads
26937 .PHONY: all-target-qthreads maybe-all-target-qthreads
26938 maybe-all-target-qthreads:
26939 @if target-qthreads
26940 TARGET-target-qthreads=all
26941 maybe-all-target-qthreads: all-target-qthreads
26942 all-target-qthreads: configure-target-qthreads
26943 @r=`${PWD_COMMAND}`; export r; \
26944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26946 $(NORMAL_TARGET_EXPORTS) \
26947 (cd $(TARGET_SUBDIR)/qthreads && \
26948 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
26949 @endif target-qthreads
26951 .PHONY: check-target-qthreads maybe-check-target-qthreads
26952 maybe-check-target-qthreads:
26953 @if target-qthreads
26954 maybe-check-target-qthreads: check-target-qthreads
26956 check-target-qthreads:
26957 @r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26960 $(NORMAL_TARGET_EXPORTS) \
26961 (cd $(TARGET_SUBDIR)/qthreads && \
26962 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26964 @endif target-qthreads
26966 .PHONY: install-target-qthreads maybe-install-target-qthreads
26967 maybe-install-target-qthreads:
26968 @if target-qthreads
26969 maybe-install-target-qthreads: install-target-qthreads
26971 install-target-qthreads: installdirs
26972 @r=`${PWD_COMMAND}`; export r; \
26973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26975 $(NORMAL_TARGET_EXPORTS) \
26976 (cd $(TARGET_SUBDIR)/qthreads && \
26977 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26979 @endif target-qthreads
26981 # Other targets (info, dvi, etc.)
26983 .PHONY: maybe-info-target-qthreads info-target-qthreads
26984 maybe-info-target-qthreads:
26985 @if target-qthreads
26986 maybe-info-target-qthreads: info-target-qthreads
26988 info-target-qthreads: \
26989 configure-target-qthreads
26990 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26991 r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(NORMAL_TARGET_EXPORTS) \
26995 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26996 for flag in $(EXTRA_TARGET_FLAGS); do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 (cd $(TARGET_SUBDIR)/qthreads && \
27000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27002 "RANLIB=$${RANLIB}" \
27003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27007 @endif target-qthreads
27009 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27010 maybe-dvi-target-qthreads:
27011 @if target-qthreads
27012 maybe-dvi-target-qthreads: dvi-target-qthreads
27014 dvi-target-qthreads: \
27015 configure-target-qthreads
27016 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27020 $(NORMAL_TARGET_EXPORTS) \
27021 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27022 for flag in $(EXTRA_TARGET_FLAGS); do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27025 (cd $(TARGET_SUBDIR)/qthreads && \
27026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27028 "RANLIB=$${RANLIB}" \
27029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27033 @endif target-qthreads
27035 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27036 maybe-TAGS-target-qthreads:
27037 @if target-qthreads
27038 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27040 TAGS-target-qthreads: \
27041 configure-target-qthreads
27042 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27043 r=`${PWD_COMMAND}`; export r; \
27044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27046 $(NORMAL_TARGET_EXPORTS) \
27047 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27048 for flag in $(EXTRA_TARGET_FLAGS); do \
27049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27051 (cd $(TARGET_SUBDIR)/qthreads && \
27052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27054 "RANLIB=$${RANLIB}" \
27055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27059 @endif target-qthreads
27061 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27062 maybe-install-info-target-qthreads:
27063 @if target-qthreads
27064 maybe-install-info-target-qthreads: install-info-target-qthreads
27066 install-info-target-qthreads: \
27067 configure-target-qthreads \
27068 info-target-qthreads
27069 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27070 r=`${PWD_COMMAND}`; export r; \
27071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(NORMAL_TARGET_EXPORTS) \
27074 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27075 for flag in $(EXTRA_TARGET_FLAGS); do \
27076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27078 (cd $(TARGET_SUBDIR)/qthreads && \
27079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081 "RANLIB=$${RANLIB}" \
27082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27086 @endif target-qthreads
27088 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27089 maybe-installcheck-target-qthreads:
27090 @if target-qthreads
27091 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27093 installcheck-target-qthreads: \
27094 configure-target-qthreads
27095 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27096 r=`${PWD_COMMAND}`; export r; \
27097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27099 $(NORMAL_TARGET_EXPORTS) \
27100 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27101 for flag in $(EXTRA_TARGET_FLAGS); do \
27102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27104 (cd $(TARGET_SUBDIR)/qthreads && \
27105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107 "RANLIB=$${RANLIB}" \
27108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27112 @endif target-qthreads
27114 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27115 maybe-mostlyclean-target-qthreads:
27116 @if target-qthreads
27117 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27119 mostlyclean-target-qthreads:
27120 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27124 $(NORMAL_TARGET_EXPORTS) \
27125 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27126 for flag in $(EXTRA_TARGET_FLAGS); do \
27127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27129 (cd $(TARGET_SUBDIR)/qthreads && \
27130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27132 "RANLIB=$${RANLIB}" \
27133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27137 @endif target-qthreads
27139 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27140 maybe-clean-target-qthreads:
27141 @if target-qthreads
27142 maybe-clean-target-qthreads: clean-target-qthreads
27144 clean-target-qthreads:
27145 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27146 r=`${PWD_COMMAND}`; export r; \
27147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27149 $(NORMAL_TARGET_EXPORTS) \
27150 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27151 for flag in $(EXTRA_TARGET_FLAGS); do \
27152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27154 (cd $(TARGET_SUBDIR)/qthreads && \
27155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27157 "RANLIB=$${RANLIB}" \
27158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27162 @endif target-qthreads
27164 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27165 maybe-distclean-target-qthreads:
27166 @if target-qthreads
27167 maybe-distclean-target-qthreads: distclean-target-qthreads
27169 distclean-target-qthreads:
27170 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27171 r=`${PWD_COMMAND}`; export r; \
27172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27174 $(NORMAL_TARGET_EXPORTS) \
27175 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27176 for flag in $(EXTRA_TARGET_FLAGS); do \
27177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27179 (cd $(TARGET_SUBDIR)/qthreads && \
27180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27182 "RANLIB=$${RANLIB}" \
27183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27187 @endif target-qthreads
27189 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27190 maybe-maintainer-clean-target-qthreads:
27191 @if target-qthreads
27192 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27194 maintainer-clean-target-qthreads:
27195 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27199 $(NORMAL_TARGET_EXPORTS) \
27200 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27201 for flag in $(EXTRA_TARGET_FLAGS); do \
27202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 (cd $(TARGET_SUBDIR)/qthreads && \
27205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27207 "RANLIB=$${RANLIB}" \
27208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27209 maintainer-clean) \
27212 @endif target-qthreads
27215 .PHONY: configure-target-rda maybe-configure-target-rda
27216 maybe-configure-target-rda:
27218 maybe-configure-target-rda: configure-target-rda
27220 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27221 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27223 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27224 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27226 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27227 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27228 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 $(NORMAL_TARGET_EXPORTS) \
27233 echo Configuring in $(TARGET_SUBDIR)/rda; \
27234 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27235 case $(srcdir) in \
27236 /* | [A-Za-z]:[\\/]*) \
27237 topdir=$(srcdir) ;; \
27239 case "$(TARGET_SUBDIR)" in \
27240 .) topdir="../$(srcdir)" ;; \
27241 *) topdir="../../$(srcdir)" ;; \
27244 srcdiroption="--srcdir=$${topdir}/rda"; \
27245 libsrcdir="$$s/rda"; \
27246 rm -f no-such-file || : ; \
27247 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27248 $(TARGET_CONFIGARGS) $${srcdiroption} \
27249 --with-target-subdir="$(TARGET_SUBDIR)" \
27253 .PHONY: all-target-rda maybe-all-target-rda
27254 maybe-all-target-rda:
27256 TARGET-target-rda=all
27257 maybe-all-target-rda: all-target-rda
27258 all-target-rda: configure-target-rda
27259 @r=`${PWD_COMMAND}`; export r; \
27260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27262 $(NORMAL_TARGET_EXPORTS) \
27263 (cd $(TARGET_SUBDIR)/rda && \
27264 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27267 .PHONY: check-target-rda maybe-check-target-rda
27268 maybe-check-target-rda:
27270 maybe-check-target-rda: check-target-rda
27273 @r=`${PWD_COMMAND}`; export r; \
27274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27276 $(NORMAL_TARGET_EXPORTS) \
27277 (cd $(TARGET_SUBDIR)/rda && \
27278 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27282 .PHONY: install-target-rda maybe-install-target-rda
27283 maybe-install-target-rda:
27285 maybe-install-target-rda: install-target-rda
27287 install-target-rda: installdirs
27288 @r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 (cd $(TARGET_SUBDIR)/rda && \
27293 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27297 # Other targets (info, dvi, etc.)
27299 .PHONY: maybe-info-target-rda info-target-rda
27300 maybe-info-target-rda:
27302 maybe-info-target-rda: info-target-rda
27305 configure-target-rda
27306 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27307 r=`${PWD_COMMAND}`; export r; \
27308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 $(NORMAL_TARGET_EXPORTS) \
27311 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27312 for flag in $(EXTRA_TARGET_FLAGS); do \
27313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27315 (cd $(TARGET_SUBDIR)/rda && \
27316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318 "RANLIB=$${RANLIB}" \
27319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27325 .PHONY: maybe-dvi-target-rda dvi-target-rda
27326 maybe-dvi-target-rda:
27328 maybe-dvi-target-rda: dvi-target-rda
27331 configure-target-rda
27332 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27333 r=`${PWD_COMMAND}`; export r; \
27334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27336 $(NORMAL_TARGET_EXPORTS) \
27337 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27338 for flag in $(EXTRA_TARGET_FLAGS); do \
27339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27341 (cd $(TARGET_SUBDIR)/rda && \
27342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27344 "RANLIB=$${RANLIB}" \
27345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27351 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27352 maybe-TAGS-target-rda:
27354 maybe-TAGS-target-rda: TAGS-target-rda
27357 configure-target-rda
27358 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27359 r=`${PWD_COMMAND}`; export r; \
27360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27362 $(NORMAL_TARGET_EXPORTS) \
27363 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27364 for flag in $(EXTRA_TARGET_FLAGS); do \
27365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27367 (cd $(TARGET_SUBDIR)/rda && \
27368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27370 "RANLIB=$${RANLIB}" \
27371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27377 .PHONY: maybe-install-info-target-rda install-info-target-rda
27378 maybe-install-info-target-rda:
27380 maybe-install-info-target-rda: install-info-target-rda
27382 install-info-target-rda: \
27383 configure-target-rda \
27385 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27386 r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27389 $(NORMAL_TARGET_EXPORTS) \
27390 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27391 for flag in $(EXTRA_TARGET_FLAGS); do \
27392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27394 (cd $(TARGET_SUBDIR)/rda && \
27395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27397 "RANLIB=$${RANLIB}" \
27398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27404 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27405 maybe-installcheck-target-rda:
27407 maybe-installcheck-target-rda: installcheck-target-rda
27409 installcheck-target-rda: \
27410 configure-target-rda
27411 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27412 r=`${PWD_COMMAND}`; export r; \
27413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27415 $(NORMAL_TARGET_EXPORTS) \
27416 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27417 for flag in $(EXTRA_TARGET_FLAGS); do \
27418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27420 (cd $(TARGET_SUBDIR)/rda && \
27421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27423 "RANLIB=$${RANLIB}" \
27424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27430 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27431 maybe-mostlyclean-target-rda:
27433 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27435 mostlyclean-target-rda:
27436 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27437 r=`${PWD_COMMAND}`; export r; \
27438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(NORMAL_TARGET_EXPORTS) \
27441 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27442 for flag in $(EXTRA_TARGET_FLAGS); do \
27443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27445 (cd $(TARGET_SUBDIR)/rda && \
27446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27448 "RANLIB=$${RANLIB}" \
27449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27455 .PHONY: maybe-clean-target-rda clean-target-rda
27456 maybe-clean-target-rda:
27458 maybe-clean-target-rda: clean-target-rda
27461 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27462 r=`${PWD_COMMAND}`; export r; \
27463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 $(NORMAL_TARGET_EXPORTS) \
27466 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27467 for flag in $(EXTRA_TARGET_FLAGS); do \
27468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27470 (cd $(TARGET_SUBDIR)/rda && \
27471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473 "RANLIB=$${RANLIB}" \
27474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27480 .PHONY: maybe-distclean-target-rda distclean-target-rda
27481 maybe-distclean-target-rda:
27483 maybe-distclean-target-rda: distclean-target-rda
27485 distclean-target-rda:
27486 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27487 r=`${PWD_COMMAND}`; export r; \
27488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27490 $(NORMAL_TARGET_EXPORTS) \
27491 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27492 for flag in $(EXTRA_TARGET_FLAGS); do \
27493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27495 (cd $(TARGET_SUBDIR)/rda && \
27496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27498 "RANLIB=$${RANLIB}" \
27499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27505 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27506 maybe-maintainer-clean-target-rda:
27508 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27510 maintainer-clean-target-rda:
27511 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27512 r=`${PWD_COMMAND}`; export r; \
27513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27515 $(NORMAL_TARGET_EXPORTS) \
27516 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27517 for flag in $(EXTRA_TARGET_FLAGS); do \
27518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27520 (cd $(TARGET_SUBDIR)/rda && \
27521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27523 "RANLIB=$${RANLIB}" \
27524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27525 maintainer-clean) \
27531 .PHONY: configure-target-libada maybe-configure-target-libada
27532 maybe-configure-target-libada:
27534 maybe-configure-target-libada: configure-target-libada
27536 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27537 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27538 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27539 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27540 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27542 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27543 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27544 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27545 r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(NORMAL_TARGET_EXPORTS) \
27549 echo Configuring in $(TARGET_SUBDIR)/libada; \
27550 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27551 case $(srcdir) in \
27552 /* | [A-Za-z]:[\\/]*) \
27553 topdir=$(srcdir) ;; \
27555 case "$(TARGET_SUBDIR)" in \
27556 .) topdir="../$(srcdir)" ;; \
27557 *) topdir="../../$(srcdir)" ;; \
27560 srcdiroption="--srcdir=$${topdir}/libada"; \
27561 libsrcdir="$$s/libada"; \
27562 rm -f no-such-file || : ; \
27563 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27564 $(TARGET_CONFIGARGS) $${srcdiroption} \
27565 --with-target-subdir="$(TARGET_SUBDIR)" \
27567 @endif target-libada
27569 .PHONY: all-target-libada maybe-all-target-libada
27570 maybe-all-target-libada:
27572 TARGET-target-libada=all
27573 maybe-all-target-libada: all-target-libada
27574 all-target-libada: configure-target-libada
27575 @r=`${PWD_COMMAND}`; export r; \
27576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27578 $(NORMAL_TARGET_EXPORTS) \
27579 (cd $(TARGET_SUBDIR)/libada && \
27580 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27581 @endif target-libada
27583 .PHONY: check-target-libada maybe-check-target-libada
27584 maybe-check-target-libada:
27586 maybe-check-target-libada: check-target-libada
27588 check-target-libada:
27589 @r=`${PWD_COMMAND}`; export r; \
27590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27592 $(NORMAL_TARGET_EXPORTS) \
27593 (cd $(TARGET_SUBDIR)/libada && \
27594 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27596 @endif target-libada
27598 .PHONY: install-target-libada maybe-install-target-libada
27599 maybe-install-target-libada:
27601 maybe-install-target-libada: install-target-libada
27603 install-target-libada: installdirs
27604 @r=`${PWD_COMMAND}`; export r; \
27605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27607 $(NORMAL_TARGET_EXPORTS) \
27608 (cd $(TARGET_SUBDIR)/libada && \
27609 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27611 @endif target-libada
27613 # Other targets (info, dvi, etc.)
27615 .PHONY: maybe-info-target-libada info-target-libada
27616 maybe-info-target-libada:
27618 maybe-info-target-libada: info-target-libada
27620 info-target-libada: \
27621 configure-target-libada
27622 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27623 r=`${PWD_COMMAND}`; export r; \
27624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27626 $(NORMAL_TARGET_EXPORTS) \
27627 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27628 for flag in $(EXTRA_TARGET_FLAGS); do \
27629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27631 (cd $(TARGET_SUBDIR)/libada && \
27632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27634 "RANLIB=$${RANLIB}" \
27635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27639 @endif target-libada
27641 .PHONY: maybe-dvi-target-libada dvi-target-libada
27642 maybe-dvi-target-libada:
27644 maybe-dvi-target-libada: dvi-target-libada
27646 dvi-target-libada: \
27647 configure-target-libada
27648 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27649 r=`${PWD_COMMAND}`; export r; \
27650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27652 $(NORMAL_TARGET_EXPORTS) \
27653 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27654 for flag in $(EXTRA_TARGET_FLAGS); do \
27655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27657 (cd $(TARGET_SUBDIR)/libada && \
27658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660 "RANLIB=$${RANLIB}" \
27661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27665 @endif target-libada
27667 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27668 maybe-TAGS-target-libada:
27670 maybe-TAGS-target-libada: TAGS-target-libada
27672 TAGS-target-libada: \
27673 configure-target-libada
27674 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27675 r=`${PWD_COMMAND}`; export r; \
27676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27678 $(NORMAL_TARGET_EXPORTS) \
27679 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27680 for flag in $(EXTRA_TARGET_FLAGS); do \
27681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27683 (cd $(TARGET_SUBDIR)/libada && \
27684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27686 "RANLIB=$${RANLIB}" \
27687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27691 @endif target-libada
27693 .PHONY: maybe-install-info-target-libada install-info-target-libada
27694 maybe-install-info-target-libada:
27696 maybe-install-info-target-libada: install-info-target-libada
27698 install-info-target-libada: \
27699 configure-target-libada \
27701 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27702 r=`${PWD_COMMAND}`; export r; \
27703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 $(NORMAL_TARGET_EXPORTS) \
27706 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27707 for flag in $(EXTRA_TARGET_FLAGS); do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27710 (cd $(TARGET_SUBDIR)/libada && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27718 @endif target-libada
27720 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27721 maybe-installcheck-target-libada:
27723 maybe-installcheck-target-libada: installcheck-target-libada
27725 installcheck-target-libada: \
27726 configure-target-libada
27727 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27728 r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27731 $(NORMAL_TARGET_EXPORTS) \
27732 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27733 for flag in $(EXTRA_TARGET_FLAGS); do \
27734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27736 (cd $(TARGET_SUBDIR)/libada && \
27737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739 "RANLIB=$${RANLIB}" \
27740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27744 @endif target-libada
27746 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27747 maybe-mostlyclean-target-libada:
27749 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27751 mostlyclean-target-libada:
27752 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27753 r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27756 $(NORMAL_TARGET_EXPORTS) \
27757 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27758 for flag in $(EXTRA_TARGET_FLAGS); do \
27759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27761 (cd $(TARGET_SUBDIR)/libada && \
27762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27764 "RANLIB=$${RANLIB}" \
27765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27769 @endif target-libada
27771 .PHONY: maybe-clean-target-libada clean-target-libada
27772 maybe-clean-target-libada:
27774 maybe-clean-target-libada: clean-target-libada
27776 clean-target-libada:
27777 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27781 $(NORMAL_TARGET_EXPORTS) \
27782 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27783 for flag in $(EXTRA_TARGET_FLAGS); do \
27784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27786 (cd $(TARGET_SUBDIR)/libada && \
27787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27789 "RANLIB=$${RANLIB}" \
27790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27794 @endif target-libada
27796 .PHONY: maybe-distclean-target-libada distclean-target-libada
27797 maybe-distclean-target-libada:
27799 maybe-distclean-target-libada: distclean-target-libada
27801 distclean-target-libada:
27802 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27803 r=`${PWD_COMMAND}`; export r; \
27804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 $(NORMAL_TARGET_EXPORTS) \
27807 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27808 for flag in $(EXTRA_TARGET_FLAGS); do \
27809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27811 (cd $(TARGET_SUBDIR)/libada && \
27812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27814 "RANLIB=$${RANLIB}" \
27815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27819 @endif target-libada
27821 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27822 maybe-maintainer-clean-target-libada:
27824 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27826 maintainer-clean-target-libada:
27827 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27828 r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27831 $(NORMAL_TARGET_EXPORTS) \
27832 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27833 for flag in $(EXTRA_TARGET_FLAGS); do \
27834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27836 (cd $(TARGET_SUBDIR)/libada && \
27837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27839 "RANLIB=$${RANLIB}" \
27840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27841 maintainer-clean) \
27844 @endif target-libada
27852 @if gcc-no-bootstrap
27853 # GCC has some more recursive targets, which trigger the old
27854 # (but still current, until the toplevel bootstrap project
27855 # is finished) compiler bootstrapping rules.
27857 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27858 .PHONY: $(GCC_STRAP_TARGETS)
27859 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27860 @r=`${PWD_COMMAND}`; export r; \
27861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27864 echo "Bootstrapping the compiler"; \
27865 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27866 @r=`${PWD_COMMAND}`; export r; \
27867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27869 *bootstrap4-lean ) \
27870 msg="Comparing stage3 and stage4 of the compiler"; \
27871 compare=compare3-lean ;; \
27873 msg="Comparing stage3 and stage4 of the compiler"; \
27874 compare=compare3 ;; \
27876 msg="Comparing stage2 and stage3 of the compiler"; \
27877 compare=compare-lean ;; \
27879 msg="Comparing stage2 and stage3 of the compiler"; \
27880 compare=compare ;; \
27885 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27886 @r=`${PWD_COMMAND}`; export r; \
27887 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27889 echo "Building runtime libraries"; \
27890 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27892 profiledbootstrap: all-prebootstrap configure-gcc
27893 @r=`${PWD_COMMAND}`; export r; \
27894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27897 echo "Bootstrapping training compiler"; \
27898 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27899 @r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27903 echo "Building feedback based compiler"; \
27904 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27905 @r=`${PWD_COMMAND}`; export r; \
27906 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27908 echo "Building runtime libraries"; \
27909 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27912 cross: all-build all-gas all-ld
27913 @r=`${PWD_COMMAND}`; export r; \
27914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 echo "Building the C and C++ compiler"; \
27918 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27919 @r=`${PWD_COMMAND}`; export r; \
27920 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27922 echo "Building runtime libraries"; \
27923 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27924 @endif gcc-no-bootstrap
27927 .PHONY: check-gcc-c++
27929 @if [ -f ./gcc/Makefile ] ; then \
27930 r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27934 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27940 check-c++: check-target-libstdc++-v3 check-gcc-c++
27942 # Install the gcc headers files, but not the fixed include files,
27943 # which Cygnus is not allowed to distribute. This rule is very
27944 # dependent on the workings of the gcc Makefile.in.
27945 .PHONY: gcc-no-fixedincludes
27946 gcc-no-fixedincludes:
27947 @if [ -f ./gcc/Makefile ]; then \
27948 rm -rf gcc/tmp-include; \
27949 mv gcc/include gcc/tmp-include 2>/dev/null; \
27950 mkdir gcc/include; \
27951 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27952 touch gcc/stmp-fixinc gcc/include/fixed; \
27953 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27954 r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27959 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27960 rm -rf gcc/include; \
27961 mv gcc/tmp-include gcc/include 2>/dev/null; \
27965 # ---------------------
27966 # GCC bootstrap support
27967 # ---------------------
27969 # We track the current stage (the one in 'gcc') in the stage_current file.
27970 # stage_last instead tracks the stage that was built last. These targets
27971 # are dummy when toplevel bootstrap is not active.
27976 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
27977 @endif gcc-bootstrap
27982 @$(MAKE) `cat stage_current`-end
27983 @endif gcc-bootstrap
27985 # We name the build directories for the various stages "stage1-gcc",
27986 # "stage2-gcc","stage3-gcc", etc.
27988 # Since the 'compare' process will fail (on debugging information) if any
27989 # directory names are different, we need to link the gcc directory for
27990 # the previous stage to a constant name ('gcc-prev'), and to make the name of
27991 # the build directories constant as well. For the latter, we use naked names
27992 # like 'gcc', because the scripts in that directory assume it. We use
27993 # mv on platforms where symlinks to directories do not work or are not
27996 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
27997 # be kept, so that libraries can find it. Ick!
27999 # It would be best to preinstall gcc into a staging area (and in the
28000 # future, gather there all prebootstrap packages). This would allow
28001 # assemblers and linkers can be bootstrapped as well as the compiler
28002 # (both in a combined tree, or separately). This however requires some
28003 # change to the gcc driver, again in order to avoid comparison failures.
28005 # Bugs: This is crippled when doing parallel make, the `make all-host'
28006 # and `make all-target' phases can be parallelized.
28009 # 'touch' doesn't work right on some platforms.
28010 STAMP = echo timestamp >
28012 # Only build the C compiler for stage1, because that is the only one that
28013 # we can guarantee will build with the native compiler, and also it is the
28014 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28015 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28016 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28018 STAGE1_CFLAGS=@stage1_cflags@
28019 STAGE1_LANGUAGES=@stage1_languages@
28021 # We only want to compare .o files, so set this!
28024 # Flags to pass to stage2 and later makes.
28025 POSTSTAGE1_FLAGS_TO_PASS = \
28026 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28027 STAGE_PREFIX=$$r/stage-gcc/ \
28028 CFLAGS="$(BOOT_CFLAGS)" \
28032 # * We force-disable intermodule optimizations, even if
28033 # --enable-intermodule was passed, since the installed compiler probably
28034 # can't handle them. Luckily, autoconf always respects
28035 # the last argument when conflicting --enable arguments are passed.
28036 # * Likewise, we force-disable coverage flags, since the installed compiler
28037 # probably has never heard of them.
28038 # * We build only C (and possibly Ada).
28041 .PHONY: stage1-start stage1-end
28044 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28045 echo stage1 > stage_current ; \
28046 echo stage1 > stage_last
28048 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
28049 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
28052 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
28053 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
28056 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
28057 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
28060 @[ -d stage1-gas ] || mkdir stage1-gas; \
28061 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
28064 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
28065 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28068 @[ -d stage1-intl ] || mkdir stage1-intl; \
28069 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
28072 @[ -d stage1-ld ] || mkdir stage1-ld; \
28073 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
28076 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
28077 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
28080 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
28081 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
28084 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
28085 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
28089 @rm -f stage_current
28091 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28094 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28097 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28100 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
28103 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28106 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
28109 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
28112 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28115 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28118 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28121 # Bubble a bugfix through all the stages up to stage 1. They
28122 # are remade, but not reconfigured. The next stage (if any) will not
28123 # be reconfigured as well.
28124 .PHONY: stage1-bubble
28126 @if test -f stage1-lean ; then \
28127 echo Skipping rebuild of stage1 ; \
28129 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
28132 .PHONY: all-stage1 clean-stage1
28134 maybe-all-stage1-bfd \
28135 maybe-all-stage1-opcodes \
28136 maybe-all-stage1-binutils \
28137 maybe-all-stage1-gas \
28138 maybe-all-stage1-gcc \
28139 maybe-all-stage1-intl \
28140 maybe-all-stage1-ld \
28141 maybe-all-stage1-libcpp \
28142 maybe-all-stage1-libiberty \
28143 maybe-all-stage1-zlib
28145 do-clean: clean-stage1
28147 maybe-clean-stage1-bfd \
28148 maybe-clean-stage1-opcodes \
28149 maybe-clean-stage1-binutils \
28150 maybe-clean-stage1-gas \
28151 maybe-clean-stage1-gcc \
28152 maybe-clean-stage1-intl \
28153 maybe-clean-stage1-ld \
28154 maybe-clean-stage1-libcpp \
28155 maybe-clean-stage1-libiberty \
28156 maybe-clean-stage1-zlib
28159 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28160 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28161 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28163 maybe-configure-stage1-bfd:
28164 maybe-all-stage1-bfd:
28165 maybe-clean-stage1-bfd:
28168 maybe-configure-stage1-bfd: configure-stage1-bfd
28169 configure-stage1-bfd:
28170 @$(MAKE) stage1-start
28171 @[ -f bfd/Makefile ] && exit 0 || : ; \
28172 r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28175 echo Configuring stage 1 in bfd ; \
28176 cd bfd || exit 1; \
28177 case $(srcdir) in \
28179 srcdiroption="--srcdir=."; \
28181 /* | [A-Za-z]:[\\/]*) \
28182 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28183 libsrcdir="$$s/bfd";; \
28185 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28186 libsrcdir="$$s/bfd";; \
28188 $(SHELL) $${libsrcdir}/configure \
28189 $(HOST_CONFIGARGS) $${srcdiroption} \
28190 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28192 maybe-all-stage1-bfd: all-stage1-bfd
28193 all-stage1-bfd: configure-stage1-bfd
28194 @$(MAKE) stage1-start
28195 @r=`${PWD_COMMAND}`; export r; \
28196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28199 $(MAKE) $(FLAGS_TO_PASS) \
28200 CFLAGS="$(STAGE1_CFLAGS)"
28202 maybe-clean-stage1-bfd: clean-stage1-bfd
28204 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28206 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28208 $(MAKE) $(FLAGS_TO_PASS) \
28209 CFLAGS="$(STAGE1_CFLAGS)" clean
28210 @endif bfd-bootstrap
28213 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28214 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28215 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28217 maybe-configure-stage1-opcodes:
28218 maybe-all-stage1-opcodes:
28219 maybe-clean-stage1-opcodes:
28221 @if opcodes-bootstrap
28222 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28223 configure-stage1-opcodes:
28224 @$(MAKE) stage1-start
28225 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28226 r=`${PWD_COMMAND}`; export r; \
28227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28229 echo Configuring stage 1 in opcodes ; \
28230 cd opcodes || exit 1; \
28231 case $(srcdir) in \
28233 srcdiroption="--srcdir=."; \
28235 /* | [A-Za-z]:[\\/]*) \
28236 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28237 libsrcdir="$$s/opcodes";; \
28239 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28240 libsrcdir="$$s/opcodes";; \
28242 $(SHELL) $${libsrcdir}/configure \
28243 $(HOST_CONFIGARGS) $${srcdiroption} \
28244 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28246 maybe-all-stage1-opcodes: all-stage1-opcodes
28247 all-stage1-opcodes: configure-stage1-opcodes
28248 @$(MAKE) stage1-start
28249 @r=`${PWD_COMMAND}`; export r; \
28250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28253 $(MAKE) $(FLAGS_TO_PASS) \
28254 CFLAGS="$(STAGE1_CFLAGS)"
28256 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28257 clean-stage1-opcodes:
28258 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28260 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28262 $(MAKE) $(FLAGS_TO_PASS) \
28263 CFLAGS="$(STAGE1_CFLAGS)" clean
28264 @endif opcodes-bootstrap
28267 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28268 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28269 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28271 maybe-configure-stage1-binutils:
28272 maybe-all-stage1-binutils:
28273 maybe-clean-stage1-binutils:
28275 @if binutils-bootstrap
28276 maybe-configure-stage1-binutils: configure-stage1-binutils
28277 configure-stage1-binutils:
28278 @$(MAKE) stage1-start
28279 @[ -f binutils/Makefile ] && exit 0 || : ; \
28280 r=`${PWD_COMMAND}`; export r; \
28281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28283 echo Configuring stage 1 in binutils ; \
28284 cd binutils || exit 1; \
28285 case $(srcdir) in \
28287 srcdiroption="--srcdir=."; \
28289 /* | [A-Za-z]:[\\/]*) \
28290 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28291 libsrcdir="$$s/binutils";; \
28293 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28294 libsrcdir="$$s/binutils";; \
28296 $(SHELL) $${libsrcdir}/configure \
28297 $(HOST_CONFIGARGS) $${srcdiroption} \
28298 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28300 maybe-all-stage1-binutils: all-stage1-binutils
28301 all-stage1-binutils: configure-stage1-binutils
28302 @$(MAKE) stage1-start
28303 @r=`${PWD_COMMAND}`; export r; \
28304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28307 $(MAKE) $(FLAGS_TO_PASS) \
28308 CFLAGS="$(STAGE1_CFLAGS)"
28310 maybe-clean-stage1-binutils: clean-stage1-binutils
28311 clean-stage1-binutils:
28312 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28314 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28316 $(MAKE) $(FLAGS_TO_PASS) \
28317 CFLAGS="$(STAGE1_CFLAGS)" clean
28318 @endif binutils-bootstrap
28321 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28322 .PHONY: all-stage1-gas maybe-all-stage1-gas
28323 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28325 maybe-configure-stage1-gas:
28326 maybe-all-stage1-gas:
28327 maybe-clean-stage1-gas:
28330 maybe-configure-stage1-gas: configure-stage1-gas
28331 configure-stage1-gas:
28332 @$(MAKE) stage1-start
28333 @[ -f gas/Makefile ] && exit 0 || : ; \
28334 r=`${PWD_COMMAND}`; export r; \
28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28337 echo Configuring stage 1 in gas ; \
28338 cd gas || exit 1; \
28339 case $(srcdir) in \
28341 srcdiroption="--srcdir=."; \
28343 /* | [A-Za-z]:[\\/]*) \
28344 srcdiroption="--srcdir=$(srcdir)/gas"; \
28345 libsrcdir="$$s/gas";; \
28347 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28348 libsrcdir="$$s/gas";; \
28350 $(SHELL) $${libsrcdir}/configure \
28351 $(HOST_CONFIGARGS) $${srcdiroption} \
28352 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28354 maybe-all-stage1-gas: all-stage1-gas
28355 all-stage1-gas: configure-stage1-gas
28356 @$(MAKE) stage1-start
28357 @r=`${PWD_COMMAND}`; export r; \
28358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28361 $(MAKE) $(FLAGS_TO_PASS) \
28362 CFLAGS="$(STAGE1_CFLAGS)"
28364 maybe-clean-stage1-gas: clean-stage1-gas
28366 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28368 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28370 $(MAKE) $(FLAGS_TO_PASS) \
28371 CFLAGS="$(STAGE1_CFLAGS)" clean
28372 @endif gas-bootstrap
28375 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28376 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28377 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28379 maybe-configure-stage1-gcc:
28380 maybe-all-stage1-gcc:
28381 maybe-clean-stage1-gcc:
28384 maybe-configure-stage1-gcc: configure-stage1-gcc
28385 configure-stage1-gcc:
28386 @$(MAKE) stage1-start
28387 @[ -f gcc/Makefile ] && exit 0 || : ; \
28388 r=`${PWD_COMMAND}`; export r; \
28389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28391 echo Configuring stage 1 in gcc ; \
28392 cd gcc || exit 1; \
28393 case $(srcdir) in \
28395 srcdiroption="--srcdir=."; \
28397 /* | [A-Za-z]:[\\/]*) \
28398 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28399 libsrcdir="$$s/gcc";; \
28401 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28402 libsrcdir="$$s/gcc";; \
28404 $(SHELL) $${libsrcdir}/configure \
28405 $(HOST_CONFIGARGS) $${srcdiroption} \
28406 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28408 maybe-all-stage1-gcc: all-stage1-gcc
28409 all-stage1-gcc: configure-stage1-gcc
28410 @$(MAKE) stage1-start
28411 @r=`${PWD_COMMAND}`; export r; \
28412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28415 $(MAKE) $(FLAGS_TO_PASS) \
28416 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28418 maybe-clean-stage1-gcc: clean-stage1-gcc
28420 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28422 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28424 $(MAKE) $(FLAGS_TO_PASS) \
28425 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28426 @endif gcc-bootstrap
28429 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28430 .PHONY: all-stage1-intl maybe-all-stage1-intl
28431 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28433 maybe-configure-stage1-intl:
28434 maybe-all-stage1-intl:
28435 maybe-clean-stage1-intl:
28438 maybe-configure-stage1-intl: configure-stage1-intl
28439 configure-stage1-intl:
28440 @$(MAKE) stage1-start
28441 @[ -f intl/Makefile ] && exit 0 || : ; \
28442 r=`${PWD_COMMAND}`; export r; \
28443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28445 echo Configuring stage 1 in intl ; \
28446 cd intl || exit 1; \
28447 case $(srcdir) in \
28449 srcdiroption="--srcdir=."; \
28451 /* | [A-Za-z]:[\\/]*) \
28452 srcdiroption="--srcdir=$(srcdir)/intl"; \
28453 libsrcdir="$$s/intl";; \
28455 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28456 libsrcdir="$$s/intl";; \
28458 $(SHELL) $${libsrcdir}/configure \
28459 $(HOST_CONFIGARGS) $${srcdiroption} \
28460 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28462 maybe-all-stage1-intl: all-stage1-intl
28463 all-stage1-intl: configure-stage1-intl
28464 @$(MAKE) stage1-start
28465 @r=`${PWD_COMMAND}`; export r; \
28466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28469 $(MAKE) $(FLAGS_TO_PASS) \
28470 CFLAGS="$(STAGE1_CFLAGS)"
28472 maybe-clean-stage1-intl: clean-stage1-intl
28474 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28476 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28478 $(MAKE) $(FLAGS_TO_PASS) \
28479 CFLAGS="$(STAGE1_CFLAGS)" clean
28480 @endif intl-bootstrap
28483 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28484 .PHONY: all-stage1-ld maybe-all-stage1-ld
28485 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28487 maybe-configure-stage1-ld:
28488 maybe-all-stage1-ld:
28489 maybe-clean-stage1-ld:
28492 maybe-configure-stage1-ld: configure-stage1-ld
28493 configure-stage1-ld:
28494 @$(MAKE) stage1-start
28495 @[ -f ld/Makefile ] && exit 0 || : ; \
28496 r=`${PWD_COMMAND}`; export r; \
28497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28499 echo Configuring stage 1 in ld ; \
28501 case $(srcdir) in \
28503 srcdiroption="--srcdir=."; \
28505 /* | [A-Za-z]:[\\/]*) \
28506 srcdiroption="--srcdir=$(srcdir)/ld"; \
28507 libsrcdir="$$s/ld";; \
28509 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28510 libsrcdir="$$s/ld";; \
28512 $(SHELL) $${libsrcdir}/configure \
28513 $(HOST_CONFIGARGS) $${srcdiroption} \
28514 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28516 maybe-all-stage1-ld: all-stage1-ld
28517 all-stage1-ld: configure-stage1-ld
28518 @$(MAKE) stage1-start
28519 @r=`${PWD_COMMAND}`; export r; \
28520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28523 $(MAKE) $(FLAGS_TO_PASS) \
28524 CFLAGS="$(STAGE1_CFLAGS)"
28526 maybe-clean-stage1-ld: clean-stage1-ld
28528 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28530 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28532 $(MAKE) $(FLAGS_TO_PASS) \
28533 CFLAGS="$(STAGE1_CFLAGS)" clean
28534 @endif ld-bootstrap
28537 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28538 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28539 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28541 maybe-configure-stage1-libcpp:
28542 maybe-all-stage1-libcpp:
28543 maybe-clean-stage1-libcpp:
28545 @if libcpp-bootstrap
28546 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28547 configure-stage1-libcpp:
28548 @$(MAKE) stage1-start
28549 @[ -f libcpp/Makefile ] && exit 0 || : ; \
28550 r=`${PWD_COMMAND}`; export r; \
28551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28553 echo Configuring stage 1 in libcpp ; \
28554 cd libcpp || exit 1; \
28555 case $(srcdir) in \
28557 srcdiroption="--srcdir=."; \
28559 /* | [A-Za-z]:[\\/]*) \
28560 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28561 libsrcdir="$$s/libcpp";; \
28563 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28564 libsrcdir="$$s/libcpp";; \
28566 $(SHELL) $${libsrcdir}/configure \
28567 $(HOST_CONFIGARGS) $${srcdiroption} \
28568 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28570 maybe-all-stage1-libcpp: all-stage1-libcpp
28571 all-stage1-libcpp: configure-stage1-libcpp
28572 @$(MAKE) stage1-start
28573 @r=`${PWD_COMMAND}`; export r; \
28574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28577 $(MAKE) $(FLAGS_TO_PASS) \
28578 CFLAGS="$(STAGE1_CFLAGS)"
28580 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28581 clean-stage1-libcpp:
28582 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28584 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28586 $(MAKE) $(FLAGS_TO_PASS) \
28587 CFLAGS="$(STAGE1_CFLAGS)" clean
28588 @endif libcpp-bootstrap
28591 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28592 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28593 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28595 maybe-configure-stage1-libiberty:
28596 maybe-all-stage1-libiberty:
28597 maybe-clean-stage1-libiberty:
28599 @if libiberty-bootstrap
28600 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28601 configure-stage1-libiberty:
28602 @$(MAKE) stage1-start
28603 @[ -f libiberty/Makefile ] && exit 0 || : ; \
28604 r=`${PWD_COMMAND}`; export r; \
28605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28607 echo Configuring stage 1 in libiberty ; \
28608 cd libiberty || exit 1; \
28609 case $(srcdir) in \
28611 srcdiroption="--srcdir=."; \
28613 /* | [A-Za-z]:[\\/]*) \
28614 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28615 libsrcdir="$$s/libiberty";; \
28617 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28618 libsrcdir="$$s/libiberty";; \
28620 $(SHELL) $${libsrcdir}/configure \
28621 $(HOST_CONFIGARGS) $${srcdiroption} \
28622 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28624 maybe-all-stage1-libiberty: all-stage1-libiberty
28625 all-stage1-libiberty: configure-stage1-libiberty
28626 @$(MAKE) stage1-start
28627 @r=`${PWD_COMMAND}`; export r; \
28628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28631 $(MAKE) $(FLAGS_TO_PASS) \
28632 CFLAGS="$(STAGE1_CFLAGS)"
28634 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28635 clean-stage1-libiberty:
28636 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28638 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28640 $(MAKE) $(FLAGS_TO_PASS) \
28641 CFLAGS="$(STAGE1_CFLAGS)" clean
28642 @endif libiberty-bootstrap
28645 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28646 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28647 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28649 maybe-configure-stage1-zlib:
28650 maybe-all-stage1-zlib:
28651 maybe-clean-stage1-zlib:
28654 maybe-configure-stage1-zlib: configure-stage1-zlib
28655 configure-stage1-zlib:
28656 @$(MAKE) stage1-start
28657 @[ -f zlib/Makefile ] && exit 0 || : ; \
28658 r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28661 echo Configuring stage 1 in zlib ; \
28662 cd zlib || exit 1; \
28663 case $(srcdir) in \
28665 srcdiroption="--srcdir=."; \
28667 /* | [A-Za-z]:[\\/]*) \
28668 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28669 libsrcdir="$$s/zlib";; \
28671 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28672 libsrcdir="$$s/zlib";; \
28674 $(SHELL) $${libsrcdir}/configure \
28675 $(HOST_CONFIGARGS) $${srcdiroption} \
28676 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28678 maybe-all-stage1-zlib: all-stage1-zlib
28679 all-stage1-zlib: configure-stage1-zlib
28680 @$(MAKE) stage1-start
28681 @r=`${PWD_COMMAND}`; export r; \
28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28685 $(MAKE) $(FLAGS_TO_PASS) \
28686 CFLAGS="$(STAGE1_CFLAGS)"
28688 maybe-clean-stage1-zlib: clean-stage1-zlib
28690 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28692 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28694 $(MAKE) $(FLAGS_TO_PASS) \
28695 CFLAGS="$(STAGE1_CFLAGS)" clean
28696 @endif zlib-bootstrap
28700 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28701 # only possibility, but now it conflicts with no-bootstrap rules
28707 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28709 .PHONY: distclean-stage1
28711 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28715 @endif gcc-bootstrap
28718 .PHONY: stage2-start stage2-end
28721 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28722 echo stage2 > stage_current ; \
28723 echo stage2 > stage_last
28725 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28726 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
28727 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
28730 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28731 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
28732 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
28735 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28736 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
28737 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
28740 @[ -d stage2-gas ] || mkdir stage2-gas; \
28741 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
28742 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
28745 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28746 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28747 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28750 @[ -d stage2-intl ] || mkdir stage2-intl; \
28751 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
28752 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
28755 @[ -d stage2-ld ] || mkdir stage2-ld; \
28756 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
28757 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
28760 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28761 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
28762 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
28765 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
28766 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
28767 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
28770 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
28771 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
28772 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
28776 @rm -f stage_current
28778 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
28779 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28782 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
28783 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28786 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
28787 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28790 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
28791 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
28794 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28795 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28798 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
28799 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
28802 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
28803 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
28806 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
28807 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28810 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
28811 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28814 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
28815 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28818 # Bubble a bugfix through all the stages up to stage 2. They
28819 # are remade, but not reconfigured. The next stage (if any) will not
28820 # be reconfigured as well.
28821 .PHONY: stage2-bubble
28822 stage2-bubble:: stage1-bubble
28823 @if test -f stage2-lean || test -f stage1-lean ; then \
28824 echo Skipping rebuild of stage2 ; \
28826 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
28829 .PHONY: all-stage2 clean-stage2
28831 maybe-all-stage2-bfd \
28832 maybe-all-stage2-opcodes \
28833 maybe-all-stage2-binutils \
28834 maybe-all-stage2-gas \
28835 maybe-all-stage2-gcc \
28836 maybe-all-stage2-intl \
28837 maybe-all-stage2-ld \
28838 maybe-all-stage2-libcpp \
28839 maybe-all-stage2-libiberty \
28840 maybe-all-stage2-zlib
28842 do-clean: clean-stage2
28844 maybe-clean-stage2-bfd \
28845 maybe-clean-stage2-opcodes \
28846 maybe-clean-stage2-binutils \
28847 maybe-clean-stage2-gas \
28848 maybe-clean-stage2-gcc \
28849 maybe-clean-stage2-intl \
28850 maybe-clean-stage2-ld \
28851 maybe-clean-stage2-libcpp \
28852 maybe-clean-stage2-libiberty \
28853 maybe-clean-stage2-zlib
28856 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
28857 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
28858 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
28860 maybe-configure-stage2-bfd:
28861 maybe-all-stage2-bfd:
28862 maybe-clean-stage2-bfd:
28865 maybe-configure-stage2-bfd: configure-stage2-bfd
28866 configure-stage2-bfd:
28867 @$(MAKE) stage2-start
28868 @[ -f bfd/Makefile ] && exit 0 || : ; \
28869 r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 $(STAGE_HOST_EXPORTS) \
28872 echo Configuring stage 2 in bfd ; \
28873 cd bfd || exit 1; \
28874 case $(srcdir) in \
28876 srcdiroption="--srcdir=."; \
28878 /* | [A-Za-z]:[\\/]*) \
28879 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28880 libsrcdir="$$s/bfd";; \
28882 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28883 libsrcdir="$$s/bfd";; \
28885 $(SHELL) $${libsrcdir}/configure \
28886 $(HOST_CONFIGARGS) $${srcdiroption} \
28887 @stage2_werror_flag@
28889 maybe-all-stage2-bfd: all-stage2-bfd
28890 all-stage2-bfd: configure-stage2-bfd
28891 @$(MAKE) stage2-start
28892 @r=`${PWD_COMMAND}`; export r; \
28893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28894 $(STAGE_HOST_EXPORTS) \
28896 $(MAKE) $(FLAGS_TO_PASS) \
28897 $(POSTSTAGE1_FLAGS_TO_PASS) \
28900 maybe-clean-stage2-bfd: clean-stage2-bfd
28902 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
28904 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
28906 $(MAKE) $(FLAGS_TO_PASS) \
28907 $(POSTSTAGE1_FLAGS_TO_PASS) \
28909 @endif bfd-bootstrap
28912 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
28913 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
28914 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
28916 maybe-configure-stage2-opcodes:
28917 maybe-all-stage2-opcodes:
28918 maybe-clean-stage2-opcodes:
28920 @if opcodes-bootstrap
28921 maybe-configure-stage2-opcodes: configure-stage2-opcodes
28922 configure-stage2-opcodes:
28923 @$(MAKE) stage2-start
28924 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28925 r=`${PWD_COMMAND}`; export r; \
28926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28927 $(STAGE_HOST_EXPORTS) \
28928 echo Configuring stage 2 in opcodes ; \
28929 cd opcodes || exit 1; \
28930 case $(srcdir) in \
28932 srcdiroption="--srcdir=."; \
28934 /* | [A-Za-z]:[\\/]*) \
28935 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28936 libsrcdir="$$s/opcodes";; \
28938 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28939 libsrcdir="$$s/opcodes";; \
28941 $(SHELL) $${libsrcdir}/configure \
28942 $(HOST_CONFIGARGS) $${srcdiroption} \
28943 @stage2_werror_flag@
28945 maybe-all-stage2-opcodes: all-stage2-opcodes
28946 all-stage2-opcodes: configure-stage2-opcodes
28947 @$(MAKE) stage2-start
28948 @r=`${PWD_COMMAND}`; export r; \
28949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28950 $(STAGE_HOST_EXPORTS) \
28952 $(MAKE) $(FLAGS_TO_PASS) \
28953 $(POSTSTAGE1_FLAGS_TO_PASS) \
28956 maybe-clean-stage2-opcodes: clean-stage2-opcodes
28957 clean-stage2-opcodes:
28958 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
28960 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
28962 $(MAKE) $(FLAGS_TO_PASS) \
28963 $(POSTSTAGE1_FLAGS_TO_PASS) \
28965 @endif opcodes-bootstrap
28968 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
28969 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
28970 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
28972 maybe-configure-stage2-binutils:
28973 maybe-all-stage2-binutils:
28974 maybe-clean-stage2-binutils:
28976 @if binutils-bootstrap
28977 maybe-configure-stage2-binutils: configure-stage2-binutils
28978 configure-stage2-binutils:
28979 @$(MAKE) stage2-start
28980 @[ -f binutils/Makefile ] && exit 0 || : ; \
28981 r=`${PWD_COMMAND}`; export r; \
28982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28983 $(STAGE_HOST_EXPORTS) \
28984 echo Configuring stage 2 in binutils ; \
28985 cd binutils || exit 1; \
28986 case $(srcdir) in \
28988 srcdiroption="--srcdir=."; \
28990 /* | [A-Za-z]:[\\/]*) \
28991 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28992 libsrcdir="$$s/binutils";; \
28994 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28995 libsrcdir="$$s/binutils";; \
28997 $(SHELL) $${libsrcdir}/configure \
28998 $(HOST_CONFIGARGS) $${srcdiroption} \
28999 @stage2_werror_flag@
29001 maybe-all-stage2-binutils: all-stage2-binutils
29002 all-stage2-binutils: configure-stage2-binutils
29003 @$(MAKE) stage2-start
29004 @r=`${PWD_COMMAND}`; export r; \
29005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29006 $(STAGE_HOST_EXPORTS) \
29008 $(MAKE) $(FLAGS_TO_PASS) \
29009 $(POSTSTAGE1_FLAGS_TO_PASS) \
29012 maybe-clean-stage2-binutils: clean-stage2-binutils
29013 clean-stage2-binutils:
29014 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
29016 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
29018 $(MAKE) $(FLAGS_TO_PASS) \
29019 $(POSTSTAGE1_FLAGS_TO_PASS) \
29021 @endif binutils-bootstrap
29024 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
29025 .PHONY: all-stage2-gas maybe-all-stage2-gas
29026 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
29028 maybe-configure-stage2-gas:
29029 maybe-all-stage2-gas:
29030 maybe-clean-stage2-gas:
29033 maybe-configure-stage2-gas: configure-stage2-gas
29034 configure-stage2-gas:
29035 @$(MAKE) stage2-start
29036 @[ -f gas/Makefile ] && exit 0 || : ; \
29037 r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(STAGE_HOST_EXPORTS) \
29040 echo Configuring stage 2 in gas ; \
29041 cd gas || exit 1; \
29042 case $(srcdir) in \
29044 srcdiroption="--srcdir=."; \
29046 /* | [A-Za-z]:[\\/]*) \
29047 srcdiroption="--srcdir=$(srcdir)/gas"; \
29048 libsrcdir="$$s/gas";; \
29050 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29051 libsrcdir="$$s/gas";; \
29053 $(SHELL) $${libsrcdir}/configure \
29054 $(HOST_CONFIGARGS) $${srcdiroption} \
29055 @stage2_werror_flag@
29057 maybe-all-stage2-gas: all-stage2-gas
29058 all-stage2-gas: configure-stage2-gas
29059 @$(MAKE) stage2-start
29060 @r=`${PWD_COMMAND}`; export r; \
29061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29062 $(STAGE_HOST_EXPORTS) \
29064 $(MAKE) $(FLAGS_TO_PASS) \
29065 $(POSTSTAGE1_FLAGS_TO_PASS) \
29068 maybe-clean-stage2-gas: clean-stage2-gas
29070 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
29072 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
29074 $(MAKE) $(FLAGS_TO_PASS) \
29075 $(POSTSTAGE1_FLAGS_TO_PASS) \
29077 @endif gas-bootstrap
29080 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
29081 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
29082 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
29084 maybe-configure-stage2-gcc:
29085 maybe-all-stage2-gcc:
29086 maybe-clean-stage2-gcc:
29089 maybe-configure-stage2-gcc: configure-stage2-gcc
29090 configure-stage2-gcc:
29091 @$(MAKE) stage2-start
29092 @[ -f gcc/Makefile ] && exit 0 || : ; \
29093 r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 $(STAGE_HOST_EXPORTS) \
29096 echo Configuring stage 2 in gcc ; \
29097 cd gcc || exit 1; \
29098 case $(srcdir) in \
29100 srcdiroption="--srcdir=."; \
29102 /* | [A-Za-z]:[\\/]*) \
29103 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29104 libsrcdir="$$s/gcc";; \
29106 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29107 libsrcdir="$$s/gcc";; \
29109 $(SHELL) $${libsrcdir}/configure \
29110 $(HOST_CONFIGARGS) $${srcdiroption} \
29111 @stage2_werror_flag@
29113 maybe-all-stage2-gcc: all-stage2-gcc
29114 all-stage2-gcc: configure-stage2-gcc
29115 @$(MAKE) stage2-start
29116 @r=`${PWD_COMMAND}`; export r; \
29117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29118 $(STAGE_HOST_EXPORTS) \
29120 $(MAKE) $(FLAGS_TO_PASS) \
29121 $(POSTSTAGE1_FLAGS_TO_PASS) \
29124 maybe-clean-stage2-gcc: clean-stage2-gcc
29126 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
29128 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
29130 $(MAKE) $(FLAGS_TO_PASS) \
29131 $(POSTSTAGE1_FLAGS_TO_PASS) \
29132 $(EXTRA_GCC_FLAGS) clean
29133 @endif gcc-bootstrap
29136 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29137 .PHONY: all-stage2-intl maybe-all-stage2-intl
29138 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29140 maybe-configure-stage2-intl:
29141 maybe-all-stage2-intl:
29142 maybe-clean-stage2-intl:
29145 maybe-configure-stage2-intl: configure-stage2-intl
29146 configure-stage2-intl:
29147 @$(MAKE) stage2-start
29148 @[ -f intl/Makefile ] && exit 0 || : ; \
29149 r=`${PWD_COMMAND}`; export r; \
29150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29151 $(STAGE_HOST_EXPORTS) \
29152 echo Configuring stage 2 in intl ; \
29153 cd intl || exit 1; \
29154 case $(srcdir) in \
29156 srcdiroption="--srcdir=."; \
29158 /* | [A-Za-z]:[\\/]*) \
29159 srcdiroption="--srcdir=$(srcdir)/intl"; \
29160 libsrcdir="$$s/intl";; \
29162 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29163 libsrcdir="$$s/intl";; \
29165 $(SHELL) $${libsrcdir}/configure \
29166 $(HOST_CONFIGARGS) $${srcdiroption} \
29167 @stage2_werror_flag@
29169 maybe-all-stage2-intl: all-stage2-intl
29170 all-stage2-intl: configure-stage2-intl
29171 @$(MAKE) stage2-start
29172 @r=`${PWD_COMMAND}`; export r; \
29173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29174 $(STAGE_HOST_EXPORTS) \
29176 $(MAKE) $(FLAGS_TO_PASS) \
29177 $(POSTSTAGE1_FLAGS_TO_PASS) \
29180 maybe-clean-stage2-intl: clean-stage2-intl
29182 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29184 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29186 $(MAKE) $(FLAGS_TO_PASS) \
29187 $(POSTSTAGE1_FLAGS_TO_PASS) \
29189 @endif intl-bootstrap
29192 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29193 .PHONY: all-stage2-ld maybe-all-stage2-ld
29194 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29196 maybe-configure-stage2-ld:
29197 maybe-all-stage2-ld:
29198 maybe-clean-stage2-ld:
29201 maybe-configure-stage2-ld: configure-stage2-ld
29202 configure-stage2-ld:
29203 @$(MAKE) stage2-start
29204 @[ -f ld/Makefile ] && exit 0 || : ; \
29205 r=`${PWD_COMMAND}`; export r; \
29206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29207 $(STAGE_HOST_EXPORTS) \
29208 echo Configuring stage 2 in ld ; \
29210 case $(srcdir) in \
29212 srcdiroption="--srcdir=."; \
29214 /* | [A-Za-z]:[\\/]*) \
29215 srcdiroption="--srcdir=$(srcdir)/ld"; \
29216 libsrcdir="$$s/ld";; \
29218 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29219 libsrcdir="$$s/ld";; \
29221 $(SHELL) $${libsrcdir}/configure \
29222 $(HOST_CONFIGARGS) $${srcdiroption} \
29223 @stage2_werror_flag@
29225 maybe-all-stage2-ld: all-stage2-ld
29226 all-stage2-ld: configure-stage2-ld
29227 @$(MAKE) stage2-start
29228 @r=`${PWD_COMMAND}`; export r; \
29229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29230 $(STAGE_HOST_EXPORTS) \
29232 $(MAKE) $(FLAGS_TO_PASS) \
29233 $(POSTSTAGE1_FLAGS_TO_PASS) \
29236 maybe-clean-stage2-ld: clean-stage2-ld
29238 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29240 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29242 $(MAKE) $(FLAGS_TO_PASS) \
29243 $(POSTSTAGE1_FLAGS_TO_PASS) \
29245 @endif ld-bootstrap
29248 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29249 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29250 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29252 maybe-configure-stage2-libcpp:
29253 maybe-all-stage2-libcpp:
29254 maybe-clean-stage2-libcpp:
29256 @if libcpp-bootstrap
29257 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29258 configure-stage2-libcpp:
29259 @$(MAKE) stage2-start
29260 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29261 r=`${PWD_COMMAND}`; export r; \
29262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29263 $(STAGE_HOST_EXPORTS) \
29264 echo Configuring stage 2 in libcpp ; \
29265 cd libcpp || exit 1; \
29266 case $(srcdir) in \
29268 srcdiroption="--srcdir=."; \
29270 /* | [A-Za-z]:[\\/]*) \
29271 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29272 libsrcdir="$$s/libcpp";; \
29274 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29275 libsrcdir="$$s/libcpp";; \
29277 $(SHELL) $${libsrcdir}/configure \
29278 $(HOST_CONFIGARGS) $${srcdiroption} \
29279 @stage2_werror_flag@
29281 maybe-all-stage2-libcpp: all-stage2-libcpp
29282 all-stage2-libcpp: configure-stage2-libcpp
29283 @$(MAKE) stage2-start
29284 @r=`${PWD_COMMAND}`; export r; \
29285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29286 $(STAGE_HOST_EXPORTS) \
29288 $(MAKE) $(FLAGS_TO_PASS) \
29289 $(POSTSTAGE1_FLAGS_TO_PASS) \
29292 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29293 clean-stage2-libcpp:
29294 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29296 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29298 $(MAKE) $(FLAGS_TO_PASS) \
29299 $(POSTSTAGE1_FLAGS_TO_PASS) \
29301 @endif libcpp-bootstrap
29304 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29305 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29306 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29308 maybe-configure-stage2-libiberty:
29309 maybe-all-stage2-libiberty:
29310 maybe-clean-stage2-libiberty:
29312 @if libiberty-bootstrap
29313 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29314 configure-stage2-libiberty:
29315 @$(MAKE) stage2-start
29316 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29317 r=`${PWD_COMMAND}`; export r; \
29318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29319 $(STAGE_HOST_EXPORTS) \
29320 echo Configuring stage 2 in libiberty ; \
29321 cd libiberty || exit 1; \
29322 case $(srcdir) in \
29324 srcdiroption="--srcdir=."; \
29326 /* | [A-Za-z]:[\\/]*) \
29327 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29328 libsrcdir="$$s/libiberty";; \
29330 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29331 libsrcdir="$$s/libiberty";; \
29333 $(SHELL) $${libsrcdir}/configure \
29334 $(HOST_CONFIGARGS) $${srcdiroption} \
29335 @stage2_werror_flag@
29337 maybe-all-stage2-libiberty: all-stage2-libiberty
29338 all-stage2-libiberty: configure-stage2-libiberty
29339 @$(MAKE) stage2-start
29340 @r=`${PWD_COMMAND}`; export r; \
29341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29342 $(STAGE_HOST_EXPORTS) \
29344 $(MAKE) $(FLAGS_TO_PASS) \
29345 $(POSTSTAGE1_FLAGS_TO_PASS) \
29348 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29349 clean-stage2-libiberty:
29350 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29352 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29354 $(MAKE) $(FLAGS_TO_PASS) \
29355 $(POSTSTAGE1_FLAGS_TO_PASS) \
29357 @endif libiberty-bootstrap
29360 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29361 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29362 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29364 maybe-configure-stage2-zlib:
29365 maybe-all-stage2-zlib:
29366 maybe-clean-stage2-zlib:
29369 maybe-configure-stage2-zlib: configure-stage2-zlib
29370 configure-stage2-zlib:
29371 @$(MAKE) stage2-start
29372 @[ -f zlib/Makefile ] && exit 0 || : ; \
29373 r=`${PWD_COMMAND}`; export r; \
29374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29375 $(STAGE_HOST_EXPORTS) \
29376 echo Configuring stage 2 in zlib ; \
29377 cd zlib || exit 1; \
29378 case $(srcdir) in \
29380 srcdiroption="--srcdir=."; \
29382 /* | [A-Za-z]:[\\/]*) \
29383 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29384 libsrcdir="$$s/zlib";; \
29386 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29387 libsrcdir="$$s/zlib";; \
29389 $(SHELL) $${libsrcdir}/configure \
29390 $(HOST_CONFIGARGS) $${srcdiroption} \
29391 @stage2_werror_flag@
29393 maybe-all-stage2-zlib: all-stage2-zlib
29394 all-stage2-zlib: configure-stage2-zlib
29395 @$(MAKE) stage2-start
29396 @r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(STAGE_HOST_EXPORTS) \
29400 $(MAKE) $(FLAGS_TO_PASS) \
29401 $(POSTSTAGE1_FLAGS_TO_PASS) \
29404 maybe-clean-stage2-zlib: clean-stage2-zlib
29406 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29408 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29410 $(MAKE) $(FLAGS_TO_PASS) \
29411 $(POSTSTAGE1_FLAGS_TO_PASS) \
29413 @endif zlib-bootstrap
29417 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29418 # only possibility, but now it conflicts with no-bootstrap rules
29424 bootstrap2: stage2-bubble all
29427 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29428 distclean-stage1:: distclean-stage2
29429 .PHONY: distclean-stage2
29431 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29435 @endif gcc-bootstrap
29438 .PHONY: stage3-start stage3-end
29441 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29442 echo stage3 > stage_current ; \
29443 echo stage3 > stage_last
29445 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29446 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29447 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29450 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29451 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29452 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29455 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29456 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29457 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29460 @[ -d stage3-gas ] || mkdir stage3-gas; \
29461 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29462 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29465 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29466 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29467 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29470 @[ -d stage3-intl ] || mkdir stage3-intl; \
29471 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29472 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29475 @[ -d stage3-ld ] || mkdir stage3-ld; \
29476 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29477 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29480 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29481 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29482 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29485 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29486 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29487 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29490 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29491 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29492 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29496 @rm -f stage_current
29498 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29499 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29502 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29503 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29506 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29507 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29510 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29511 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29514 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29515 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29518 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29519 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29522 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29523 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29526 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29527 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29530 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29531 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29534 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29535 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29538 # Bubble a bugfix through all the stages up to stage 3. They
29539 # are remade, but not reconfigured. The next stage (if any) will not
29540 # be reconfigured as well.
29541 .PHONY: stage3-bubble
29542 stage3-bubble:: stage2-bubble
29543 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29544 @if test -f stage3-lean || test -f stage2-lean ; then \
29545 echo Skipping rebuild of stage3 ; \
29547 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29550 .PHONY: all-stage3 clean-stage3
29552 maybe-all-stage3-bfd \
29553 maybe-all-stage3-opcodes \
29554 maybe-all-stage3-binutils \
29555 maybe-all-stage3-gas \
29556 maybe-all-stage3-gcc \
29557 maybe-all-stage3-intl \
29558 maybe-all-stage3-ld \
29559 maybe-all-stage3-libcpp \
29560 maybe-all-stage3-libiberty \
29561 maybe-all-stage3-zlib
29563 do-clean: clean-stage3
29565 maybe-clean-stage3-bfd \
29566 maybe-clean-stage3-opcodes \
29567 maybe-clean-stage3-binutils \
29568 maybe-clean-stage3-gas \
29569 maybe-clean-stage3-gcc \
29570 maybe-clean-stage3-intl \
29571 maybe-clean-stage3-ld \
29572 maybe-clean-stage3-libcpp \
29573 maybe-clean-stage3-libiberty \
29574 maybe-clean-stage3-zlib
29577 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29578 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29579 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29581 maybe-configure-stage3-bfd:
29582 maybe-all-stage3-bfd:
29583 maybe-clean-stage3-bfd:
29586 maybe-configure-stage3-bfd: configure-stage3-bfd
29587 configure-stage3-bfd:
29588 @$(MAKE) stage3-start
29589 @[ -f bfd/Makefile ] && exit 0 || : ; \
29590 r=`${PWD_COMMAND}`; export r; \
29591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29592 $(STAGE_HOST_EXPORTS) \
29593 echo Configuring stage 3 in bfd ; \
29594 cd bfd || exit 1; \
29595 case $(srcdir) in \
29597 srcdiroption="--srcdir=."; \
29599 /* | [A-Za-z]:[\\/]*) \
29600 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29601 libsrcdir="$$s/bfd";; \
29603 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29604 libsrcdir="$$s/bfd";; \
29606 $(SHELL) $${libsrcdir}/configure \
29607 $(HOST_CONFIGARGS) $${srcdiroption} \
29608 @stage2_werror_flag@
29610 maybe-all-stage3-bfd: all-stage3-bfd
29611 all-stage3-bfd: configure-stage3-bfd
29612 @$(MAKE) stage3-start
29613 @r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(STAGE_HOST_EXPORTS) \
29617 $(MAKE) $(FLAGS_TO_PASS) \
29618 $(POSTSTAGE1_FLAGS_TO_PASS) \
29621 maybe-clean-stage3-bfd: clean-stage3-bfd
29623 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29625 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29627 $(MAKE) $(FLAGS_TO_PASS) \
29628 $(POSTSTAGE1_FLAGS_TO_PASS) \
29630 @endif bfd-bootstrap
29633 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29634 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29635 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29637 maybe-configure-stage3-opcodes:
29638 maybe-all-stage3-opcodes:
29639 maybe-clean-stage3-opcodes:
29641 @if opcodes-bootstrap
29642 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29643 configure-stage3-opcodes:
29644 @$(MAKE) stage3-start
29645 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29646 r=`${PWD_COMMAND}`; export r; \
29647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29648 $(STAGE_HOST_EXPORTS) \
29649 echo Configuring stage 3 in opcodes ; \
29650 cd opcodes || exit 1; \
29651 case $(srcdir) in \
29653 srcdiroption="--srcdir=."; \
29655 /* | [A-Za-z]:[\\/]*) \
29656 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29657 libsrcdir="$$s/opcodes";; \
29659 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29660 libsrcdir="$$s/opcodes";; \
29662 $(SHELL) $${libsrcdir}/configure \
29663 $(HOST_CONFIGARGS) $${srcdiroption} \
29664 @stage2_werror_flag@
29666 maybe-all-stage3-opcodes: all-stage3-opcodes
29667 all-stage3-opcodes: configure-stage3-opcodes
29668 @$(MAKE) stage3-start
29669 @r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(STAGE_HOST_EXPORTS) \
29673 $(MAKE) $(FLAGS_TO_PASS) \
29674 $(POSTSTAGE1_FLAGS_TO_PASS) \
29677 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29678 clean-stage3-opcodes:
29679 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29681 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
29683 $(MAKE) $(FLAGS_TO_PASS) \
29684 $(POSTSTAGE1_FLAGS_TO_PASS) \
29686 @endif opcodes-bootstrap
29689 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
29690 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
29691 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
29693 maybe-configure-stage3-binutils:
29694 maybe-all-stage3-binutils:
29695 maybe-clean-stage3-binutils:
29697 @if binutils-bootstrap
29698 maybe-configure-stage3-binutils: configure-stage3-binutils
29699 configure-stage3-binutils:
29700 @$(MAKE) stage3-start
29701 @[ -f binutils/Makefile ] && exit 0 || : ; \
29702 r=`${PWD_COMMAND}`; export r; \
29703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29704 $(STAGE_HOST_EXPORTS) \
29705 echo Configuring stage 3 in binutils ; \
29706 cd binutils || exit 1; \
29707 case $(srcdir) in \
29709 srcdiroption="--srcdir=."; \
29711 /* | [A-Za-z]:[\\/]*) \
29712 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29713 libsrcdir="$$s/binutils";; \
29715 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29716 libsrcdir="$$s/binutils";; \
29718 $(SHELL) $${libsrcdir}/configure \
29719 $(HOST_CONFIGARGS) $${srcdiroption} \
29720 @stage2_werror_flag@
29722 maybe-all-stage3-binutils: all-stage3-binutils
29723 all-stage3-binutils: configure-stage3-binutils
29724 @$(MAKE) stage3-start
29725 @r=`${PWD_COMMAND}`; export r; \
29726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29727 $(STAGE_HOST_EXPORTS) \
29729 $(MAKE) $(FLAGS_TO_PASS) \
29730 $(POSTSTAGE1_FLAGS_TO_PASS) \
29733 maybe-clean-stage3-binutils: clean-stage3-binutils
29734 clean-stage3-binutils:
29735 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
29737 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
29739 $(MAKE) $(FLAGS_TO_PASS) \
29740 $(POSTSTAGE1_FLAGS_TO_PASS) \
29742 @endif binutils-bootstrap
29745 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
29746 .PHONY: all-stage3-gas maybe-all-stage3-gas
29747 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
29749 maybe-configure-stage3-gas:
29750 maybe-all-stage3-gas:
29751 maybe-clean-stage3-gas:
29754 maybe-configure-stage3-gas: configure-stage3-gas
29755 configure-stage3-gas:
29756 @$(MAKE) stage3-start
29757 @[ -f gas/Makefile ] && exit 0 || : ; \
29758 r=`${PWD_COMMAND}`; export r; \
29759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29760 $(STAGE_HOST_EXPORTS) \
29761 echo Configuring stage 3 in gas ; \
29762 cd gas || exit 1; \
29763 case $(srcdir) in \
29765 srcdiroption="--srcdir=."; \
29767 /* | [A-Za-z]:[\\/]*) \
29768 srcdiroption="--srcdir=$(srcdir)/gas"; \
29769 libsrcdir="$$s/gas";; \
29771 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29772 libsrcdir="$$s/gas";; \
29774 $(SHELL) $${libsrcdir}/configure \
29775 $(HOST_CONFIGARGS) $${srcdiroption} \
29776 @stage2_werror_flag@
29778 maybe-all-stage3-gas: all-stage3-gas
29779 all-stage3-gas: configure-stage3-gas
29780 @$(MAKE) stage3-start
29781 @r=`${PWD_COMMAND}`; export r; \
29782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29783 $(STAGE_HOST_EXPORTS) \
29785 $(MAKE) $(FLAGS_TO_PASS) \
29786 $(POSTSTAGE1_FLAGS_TO_PASS) \
29789 maybe-clean-stage3-gas: clean-stage3-gas
29791 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
29793 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
29795 $(MAKE) $(FLAGS_TO_PASS) \
29796 $(POSTSTAGE1_FLAGS_TO_PASS) \
29798 @endif gas-bootstrap
29801 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
29802 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
29803 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
29805 maybe-configure-stage3-gcc:
29806 maybe-all-stage3-gcc:
29807 maybe-clean-stage3-gcc:
29810 maybe-configure-stage3-gcc: configure-stage3-gcc
29811 configure-stage3-gcc:
29812 @$(MAKE) stage3-start
29813 @[ -f gcc/Makefile ] && exit 0 || : ; \
29814 r=`${PWD_COMMAND}`; export r; \
29815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29816 $(STAGE_HOST_EXPORTS) \
29817 echo Configuring stage 3 in gcc ; \
29818 cd gcc || exit 1; \
29819 case $(srcdir) in \
29821 srcdiroption="--srcdir=."; \
29823 /* | [A-Za-z]:[\\/]*) \
29824 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29825 libsrcdir="$$s/gcc";; \
29827 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29828 libsrcdir="$$s/gcc";; \
29830 $(SHELL) $${libsrcdir}/configure \
29831 $(HOST_CONFIGARGS) $${srcdiroption} \
29832 @stage2_werror_flag@
29834 maybe-all-stage3-gcc: all-stage3-gcc
29835 all-stage3-gcc: configure-stage3-gcc
29836 @$(MAKE) stage3-start
29837 @r=`${PWD_COMMAND}`; export r; \
29838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29839 $(STAGE_HOST_EXPORTS) \
29841 $(MAKE) $(FLAGS_TO_PASS) \
29842 $(POSTSTAGE1_FLAGS_TO_PASS) \
29845 maybe-clean-stage3-gcc: clean-stage3-gcc
29847 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
29849 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
29851 $(MAKE) $(FLAGS_TO_PASS) \
29852 $(POSTSTAGE1_FLAGS_TO_PASS) \
29853 $(EXTRA_GCC_FLAGS) clean
29854 @endif gcc-bootstrap
29857 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
29858 .PHONY: all-stage3-intl maybe-all-stage3-intl
29859 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
29861 maybe-configure-stage3-intl:
29862 maybe-all-stage3-intl:
29863 maybe-clean-stage3-intl:
29866 maybe-configure-stage3-intl: configure-stage3-intl
29867 configure-stage3-intl:
29868 @$(MAKE) stage3-start
29869 @[ -f intl/Makefile ] && exit 0 || : ; \
29870 r=`${PWD_COMMAND}`; export r; \
29871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29872 $(STAGE_HOST_EXPORTS) \
29873 echo Configuring stage 3 in intl ; \
29874 cd intl || exit 1; \
29875 case $(srcdir) in \
29877 srcdiroption="--srcdir=."; \
29879 /* | [A-Za-z]:[\\/]*) \
29880 srcdiroption="--srcdir=$(srcdir)/intl"; \
29881 libsrcdir="$$s/intl";; \
29883 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29884 libsrcdir="$$s/intl";; \
29886 $(SHELL) $${libsrcdir}/configure \
29887 $(HOST_CONFIGARGS) $${srcdiroption} \
29888 @stage2_werror_flag@
29890 maybe-all-stage3-intl: all-stage3-intl
29891 all-stage3-intl: configure-stage3-intl
29892 @$(MAKE) stage3-start
29893 @r=`${PWD_COMMAND}`; export r; \
29894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29895 $(STAGE_HOST_EXPORTS) \
29897 $(MAKE) $(FLAGS_TO_PASS) \
29898 $(POSTSTAGE1_FLAGS_TO_PASS) \
29901 maybe-clean-stage3-intl: clean-stage3-intl
29903 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
29905 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
29907 $(MAKE) $(FLAGS_TO_PASS) \
29908 $(POSTSTAGE1_FLAGS_TO_PASS) \
29910 @endif intl-bootstrap
29913 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
29914 .PHONY: all-stage3-ld maybe-all-stage3-ld
29915 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
29917 maybe-configure-stage3-ld:
29918 maybe-all-stage3-ld:
29919 maybe-clean-stage3-ld:
29922 maybe-configure-stage3-ld: configure-stage3-ld
29923 configure-stage3-ld:
29924 @$(MAKE) stage3-start
29925 @[ -f ld/Makefile ] && exit 0 || : ; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(STAGE_HOST_EXPORTS) \
29929 echo Configuring stage 3 in ld ; \
29931 case $(srcdir) in \
29933 srcdiroption="--srcdir=."; \
29935 /* | [A-Za-z]:[\\/]*) \
29936 srcdiroption="--srcdir=$(srcdir)/ld"; \
29937 libsrcdir="$$s/ld";; \
29939 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29940 libsrcdir="$$s/ld";; \
29942 $(SHELL) $${libsrcdir}/configure \
29943 $(HOST_CONFIGARGS) $${srcdiroption} \
29944 @stage2_werror_flag@
29946 maybe-all-stage3-ld: all-stage3-ld
29947 all-stage3-ld: configure-stage3-ld
29948 @$(MAKE) stage3-start
29949 @r=`${PWD_COMMAND}`; export r; \
29950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29951 $(STAGE_HOST_EXPORTS) \
29953 $(MAKE) $(FLAGS_TO_PASS) \
29954 $(POSTSTAGE1_FLAGS_TO_PASS) \
29957 maybe-clean-stage3-ld: clean-stage3-ld
29959 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
29961 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
29963 $(MAKE) $(FLAGS_TO_PASS) \
29964 $(POSTSTAGE1_FLAGS_TO_PASS) \
29966 @endif ld-bootstrap
29969 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
29970 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
29971 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
29973 maybe-configure-stage3-libcpp:
29974 maybe-all-stage3-libcpp:
29975 maybe-clean-stage3-libcpp:
29977 @if libcpp-bootstrap
29978 maybe-configure-stage3-libcpp: configure-stage3-libcpp
29979 configure-stage3-libcpp:
29980 @$(MAKE) stage3-start
29981 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29982 r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29984 $(STAGE_HOST_EXPORTS) \
29985 echo Configuring stage 3 in libcpp ; \
29986 cd libcpp || exit 1; \
29987 case $(srcdir) in \
29989 srcdiroption="--srcdir=."; \
29991 /* | [A-Za-z]:[\\/]*) \
29992 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29993 libsrcdir="$$s/libcpp";; \
29995 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29996 libsrcdir="$$s/libcpp";; \
29998 $(SHELL) $${libsrcdir}/configure \
29999 $(HOST_CONFIGARGS) $${srcdiroption} \
30000 @stage2_werror_flag@
30002 maybe-all-stage3-libcpp: all-stage3-libcpp
30003 all-stage3-libcpp: configure-stage3-libcpp
30004 @$(MAKE) stage3-start
30005 @r=`${PWD_COMMAND}`; export r; \
30006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30007 $(STAGE_HOST_EXPORTS) \
30009 $(MAKE) $(FLAGS_TO_PASS) \
30010 $(POSTSTAGE1_FLAGS_TO_PASS) \
30013 maybe-clean-stage3-libcpp: clean-stage3-libcpp
30014 clean-stage3-libcpp:
30015 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
30017 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
30019 $(MAKE) $(FLAGS_TO_PASS) \
30020 $(POSTSTAGE1_FLAGS_TO_PASS) \
30022 @endif libcpp-bootstrap
30025 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
30026 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
30027 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
30029 maybe-configure-stage3-libiberty:
30030 maybe-all-stage3-libiberty:
30031 maybe-clean-stage3-libiberty:
30033 @if libiberty-bootstrap
30034 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30035 configure-stage3-libiberty:
30036 @$(MAKE) stage3-start
30037 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30038 r=`${PWD_COMMAND}`; export r; \
30039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30040 $(STAGE_HOST_EXPORTS) \
30041 echo Configuring stage 3 in libiberty ; \
30042 cd libiberty || exit 1; \
30043 case $(srcdir) in \
30045 srcdiroption="--srcdir=."; \
30047 /* | [A-Za-z]:[\\/]*) \
30048 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30049 libsrcdir="$$s/libiberty";; \
30051 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30052 libsrcdir="$$s/libiberty";; \
30054 $(SHELL) $${libsrcdir}/configure \
30055 $(HOST_CONFIGARGS) $${srcdiroption} \
30056 @stage2_werror_flag@
30058 maybe-all-stage3-libiberty: all-stage3-libiberty
30059 all-stage3-libiberty: configure-stage3-libiberty
30060 @$(MAKE) stage3-start
30061 @r=`${PWD_COMMAND}`; export r; \
30062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30063 $(STAGE_HOST_EXPORTS) \
30065 $(MAKE) $(FLAGS_TO_PASS) \
30066 $(POSTSTAGE1_FLAGS_TO_PASS) \
30069 maybe-clean-stage3-libiberty: clean-stage3-libiberty
30070 clean-stage3-libiberty:
30071 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
30073 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
30075 $(MAKE) $(FLAGS_TO_PASS) \
30076 $(POSTSTAGE1_FLAGS_TO_PASS) \
30078 @endif libiberty-bootstrap
30081 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30082 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30083 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30085 maybe-configure-stage3-zlib:
30086 maybe-all-stage3-zlib:
30087 maybe-clean-stage3-zlib:
30090 maybe-configure-stage3-zlib: configure-stage3-zlib
30091 configure-stage3-zlib:
30092 @$(MAKE) stage3-start
30093 @[ -f zlib/Makefile ] && exit 0 || : ; \
30094 r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 $(STAGE_HOST_EXPORTS) \
30097 echo Configuring stage 3 in zlib ; \
30098 cd zlib || exit 1; \
30099 case $(srcdir) in \
30101 srcdiroption="--srcdir=."; \
30103 /* | [A-Za-z]:[\\/]*) \
30104 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30105 libsrcdir="$$s/zlib";; \
30107 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30108 libsrcdir="$$s/zlib";; \
30110 $(SHELL) $${libsrcdir}/configure \
30111 $(HOST_CONFIGARGS) $${srcdiroption} \
30112 @stage2_werror_flag@
30114 maybe-all-stage3-zlib: all-stage3-zlib
30115 all-stage3-zlib: configure-stage3-zlib
30116 @$(MAKE) stage3-start
30117 @r=`${PWD_COMMAND}`; export r; \
30118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30119 $(STAGE_HOST_EXPORTS) \
30121 $(MAKE) $(FLAGS_TO_PASS) \
30122 $(POSTSTAGE1_FLAGS_TO_PASS) \
30125 maybe-clean-stage3-zlib: clean-stage3-zlib
30127 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
30129 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
30131 $(MAKE) $(FLAGS_TO_PASS) \
30132 $(POSTSTAGE1_FLAGS_TO_PASS) \
30134 @endif zlib-bootstrap
30138 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30139 # only possibility, but now it conflicts with no-bootstrap rules
30143 @if test -f stage2-lean; then \
30144 echo Cannot compare object files as stage 2 was deleted. ; \
30147 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30148 @r=`${PWD_COMMAND}`; export r; \
30149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30150 rm -f .bad_compare ; \
30152 files=`find . -name "*$(objext)" -print` ; \
30154 for file in $${files} ; do \
30155 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30156 @do_compare@ > /dev/null 2>&1; \
30157 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30159 if [ -f .bad_compare ]; then \
30160 echo "Bootstrap comparison failure!"; \
30161 cat .bad_compare; \
30167 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30172 bootstrap: stage3-bubble compare all
30175 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30176 distclean-stage2:: distclean-stage3
30177 .PHONY: distclean-stage3
30179 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30180 rm -rf stage3-* compare
30184 cleanstrap: distclean bootstrap
30186 @endif gcc-bootstrap
30189 .PHONY: stage4-start stage4-end
30192 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30193 echo stage4 > stage_current ; \
30194 echo stage4 > stage_last
30196 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30197 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30198 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30201 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30202 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30203 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30206 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30207 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30208 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30211 @[ -d stage4-gas ] || mkdir stage4-gas; \
30212 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30213 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30216 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30217 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30218 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30221 @[ -d stage4-intl ] || mkdir stage4-intl; \
30222 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30223 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30226 @[ -d stage4-ld ] || mkdir stage4-ld; \
30227 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30228 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30231 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30232 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30233 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30236 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30237 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30238 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30241 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30242 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30243 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30247 @rm -f stage_current
30249 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30250 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30253 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30254 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30257 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30258 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30261 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30262 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30265 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30266 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30269 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30270 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30273 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30274 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30277 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30278 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30281 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30282 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30285 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30286 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30289 # Bubble a bugfix through all the stages up to stage 4. They
30290 # are remade, but not reconfigured. The next stage (if any) will not
30291 # be reconfigured as well.
30292 .PHONY: stage4-bubble
30293 stage4-bubble:: stage3-bubble
30294 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30295 @if test -f stage4-lean || test -f stage3-lean ; then \
30296 echo Skipping rebuild of stage4 ; \
30298 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30301 .PHONY: all-stage4 clean-stage4
30303 maybe-all-stage4-bfd \
30304 maybe-all-stage4-opcodes \
30305 maybe-all-stage4-binutils \
30306 maybe-all-stage4-gas \
30307 maybe-all-stage4-gcc \
30308 maybe-all-stage4-intl \
30309 maybe-all-stage4-ld \
30310 maybe-all-stage4-libcpp \
30311 maybe-all-stage4-libiberty \
30312 maybe-all-stage4-zlib
30314 do-clean: clean-stage4
30316 maybe-clean-stage4-bfd \
30317 maybe-clean-stage4-opcodes \
30318 maybe-clean-stage4-binutils \
30319 maybe-clean-stage4-gas \
30320 maybe-clean-stage4-gcc \
30321 maybe-clean-stage4-intl \
30322 maybe-clean-stage4-ld \
30323 maybe-clean-stage4-libcpp \
30324 maybe-clean-stage4-libiberty \
30325 maybe-clean-stage4-zlib
30328 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30329 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30330 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30332 maybe-configure-stage4-bfd:
30333 maybe-all-stage4-bfd:
30334 maybe-clean-stage4-bfd:
30337 maybe-configure-stage4-bfd: configure-stage4-bfd
30338 configure-stage4-bfd:
30339 @$(MAKE) stage4-start
30340 @[ -f bfd/Makefile ] && exit 0 || : ; \
30341 r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 $(STAGE_HOST_EXPORTS) \
30344 echo Configuring stage 4 in bfd ; \
30345 cd bfd || exit 1; \
30346 case $(srcdir) in \
30348 srcdiroption="--srcdir=."; \
30350 /* | [A-Za-z]:[\\/]*) \
30351 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30352 libsrcdir="$$s/bfd";; \
30354 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30355 libsrcdir="$$s/bfd";; \
30357 $(SHELL) $${libsrcdir}/configure \
30358 $(HOST_CONFIGARGS) $${srcdiroption} \
30359 @stage2_werror_flag@
30361 maybe-all-stage4-bfd: all-stage4-bfd
30362 all-stage4-bfd: configure-stage4-bfd
30363 @$(MAKE) stage4-start
30364 @r=`${PWD_COMMAND}`; export r; \
30365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30366 $(STAGE_HOST_EXPORTS) \
30368 $(MAKE) $(FLAGS_TO_PASS) \
30369 $(POSTSTAGE1_FLAGS_TO_PASS) \
30372 maybe-clean-stage4-bfd: clean-stage4-bfd
30374 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30376 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30378 $(MAKE) $(FLAGS_TO_PASS) \
30379 $(POSTSTAGE1_FLAGS_TO_PASS) \
30381 @endif bfd-bootstrap
30384 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30385 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30386 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30388 maybe-configure-stage4-opcodes:
30389 maybe-all-stage4-opcodes:
30390 maybe-clean-stage4-opcodes:
30392 @if opcodes-bootstrap
30393 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30394 configure-stage4-opcodes:
30395 @$(MAKE) stage4-start
30396 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30397 r=`${PWD_COMMAND}`; export r; \
30398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30399 $(STAGE_HOST_EXPORTS) \
30400 echo Configuring stage 4 in opcodes ; \
30401 cd opcodes || exit 1; \
30402 case $(srcdir) in \
30404 srcdiroption="--srcdir=."; \
30406 /* | [A-Za-z]:[\\/]*) \
30407 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30408 libsrcdir="$$s/opcodes";; \
30410 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30411 libsrcdir="$$s/opcodes";; \
30413 $(SHELL) $${libsrcdir}/configure \
30414 $(HOST_CONFIGARGS) $${srcdiroption} \
30415 @stage2_werror_flag@
30417 maybe-all-stage4-opcodes: all-stage4-opcodes
30418 all-stage4-opcodes: configure-stage4-opcodes
30419 @$(MAKE) stage4-start
30420 @r=`${PWD_COMMAND}`; export r; \
30421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30422 $(STAGE_HOST_EXPORTS) \
30424 $(MAKE) $(FLAGS_TO_PASS) \
30425 $(POSTSTAGE1_FLAGS_TO_PASS) \
30428 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30429 clean-stage4-opcodes:
30430 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30432 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30434 $(MAKE) $(FLAGS_TO_PASS) \
30435 $(POSTSTAGE1_FLAGS_TO_PASS) \
30437 @endif opcodes-bootstrap
30440 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30441 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30442 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30444 maybe-configure-stage4-binutils:
30445 maybe-all-stage4-binutils:
30446 maybe-clean-stage4-binutils:
30448 @if binutils-bootstrap
30449 maybe-configure-stage4-binutils: configure-stage4-binutils
30450 configure-stage4-binutils:
30451 @$(MAKE) stage4-start
30452 @[ -f binutils/Makefile ] && exit 0 || : ; \
30453 r=`${PWD_COMMAND}`; export r; \
30454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30455 $(STAGE_HOST_EXPORTS) \
30456 echo Configuring stage 4 in binutils ; \
30457 cd binutils || exit 1; \
30458 case $(srcdir) in \
30460 srcdiroption="--srcdir=."; \
30462 /* | [A-Za-z]:[\\/]*) \
30463 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30464 libsrcdir="$$s/binutils";; \
30466 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30467 libsrcdir="$$s/binutils";; \
30469 $(SHELL) $${libsrcdir}/configure \
30470 $(HOST_CONFIGARGS) $${srcdiroption} \
30471 @stage2_werror_flag@
30473 maybe-all-stage4-binutils: all-stage4-binutils
30474 all-stage4-binutils: configure-stage4-binutils
30475 @$(MAKE) stage4-start
30476 @r=`${PWD_COMMAND}`; export r; \
30477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30478 $(STAGE_HOST_EXPORTS) \
30480 $(MAKE) $(FLAGS_TO_PASS) \
30481 $(POSTSTAGE1_FLAGS_TO_PASS) \
30484 maybe-clean-stage4-binutils: clean-stage4-binutils
30485 clean-stage4-binutils:
30486 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30488 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30490 $(MAKE) $(FLAGS_TO_PASS) \
30491 $(POSTSTAGE1_FLAGS_TO_PASS) \
30493 @endif binutils-bootstrap
30496 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30497 .PHONY: all-stage4-gas maybe-all-stage4-gas
30498 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30500 maybe-configure-stage4-gas:
30501 maybe-all-stage4-gas:
30502 maybe-clean-stage4-gas:
30505 maybe-configure-stage4-gas: configure-stage4-gas
30506 configure-stage4-gas:
30507 @$(MAKE) stage4-start
30508 @[ -f gas/Makefile ] && exit 0 || : ; \
30509 r=`${PWD_COMMAND}`; export r; \
30510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30511 $(STAGE_HOST_EXPORTS) \
30512 echo Configuring stage 4 in gas ; \
30513 cd gas || exit 1; \
30514 case $(srcdir) in \
30516 srcdiroption="--srcdir=."; \
30518 /* | [A-Za-z]:[\\/]*) \
30519 srcdiroption="--srcdir=$(srcdir)/gas"; \
30520 libsrcdir="$$s/gas";; \
30522 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30523 libsrcdir="$$s/gas";; \
30525 $(SHELL) $${libsrcdir}/configure \
30526 $(HOST_CONFIGARGS) $${srcdiroption} \
30527 @stage2_werror_flag@
30529 maybe-all-stage4-gas: all-stage4-gas
30530 all-stage4-gas: configure-stage4-gas
30531 @$(MAKE) stage4-start
30532 @r=`${PWD_COMMAND}`; export r; \
30533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30534 $(STAGE_HOST_EXPORTS) \
30536 $(MAKE) $(FLAGS_TO_PASS) \
30537 $(POSTSTAGE1_FLAGS_TO_PASS) \
30540 maybe-clean-stage4-gas: clean-stage4-gas
30542 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30544 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30546 $(MAKE) $(FLAGS_TO_PASS) \
30547 $(POSTSTAGE1_FLAGS_TO_PASS) \
30549 @endif gas-bootstrap
30552 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30553 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30554 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30556 maybe-configure-stage4-gcc:
30557 maybe-all-stage4-gcc:
30558 maybe-clean-stage4-gcc:
30561 maybe-configure-stage4-gcc: configure-stage4-gcc
30562 configure-stage4-gcc:
30563 @$(MAKE) stage4-start
30564 @[ -f gcc/Makefile ] && exit 0 || : ; \
30565 r=`${PWD_COMMAND}`; export r; \
30566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30567 $(STAGE_HOST_EXPORTS) \
30568 echo Configuring stage 4 in gcc ; \
30569 cd gcc || exit 1; \
30570 case $(srcdir) in \
30572 srcdiroption="--srcdir=."; \
30574 /* | [A-Za-z]:[\\/]*) \
30575 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30576 libsrcdir="$$s/gcc";; \
30578 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30579 libsrcdir="$$s/gcc";; \
30581 $(SHELL) $${libsrcdir}/configure \
30582 $(HOST_CONFIGARGS) $${srcdiroption} \
30583 @stage2_werror_flag@
30585 maybe-all-stage4-gcc: all-stage4-gcc
30586 all-stage4-gcc: configure-stage4-gcc
30587 @$(MAKE) stage4-start
30588 @r=`${PWD_COMMAND}`; export r; \
30589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30590 $(STAGE_HOST_EXPORTS) \
30592 $(MAKE) $(FLAGS_TO_PASS) \
30593 $(POSTSTAGE1_FLAGS_TO_PASS) \
30596 maybe-clean-stage4-gcc: clean-stage4-gcc
30598 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30600 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30602 $(MAKE) $(FLAGS_TO_PASS) \
30603 $(POSTSTAGE1_FLAGS_TO_PASS) \
30604 $(EXTRA_GCC_FLAGS) clean
30605 @endif gcc-bootstrap
30608 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30609 .PHONY: all-stage4-intl maybe-all-stage4-intl
30610 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30612 maybe-configure-stage4-intl:
30613 maybe-all-stage4-intl:
30614 maybe-clean-stage4-intl:
30617 maybe-configure-stage4-intl: configure-stage4-intl
30618 configure-stage4-intl:
30619 @$(MAKE) stage4-start
30620 @[ -f intl/Makefile ] && exit 0 || : ; \
30621 r=`${PWD_COMMAND}`; export r; \
30622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30623 $(STAGE_HOST_EXPORTS) \
30624 echo Configuring stage 4 in intl ; \
30625 cd intl || exit 1; \
30626 case $(srcdir) in \
30628 srcdiroption="--srcdir=."; \
30630 /* | [A-Za-z]:[\\/]*) \
30631 srcdiroption="--srcdir=$(srcdir)/intl"; \
30632 libsrcdir="$$s/intl";; \
30634 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30635 libsrcdir="$$s/intl";; \
30637 $(SHELL) $${libsrcdir}/configure \
30638 $(HOST_CONFIGARGS) $${srcdiroption} \
30639 @stage2_werror_flag@
30641 maybe-all-stage4-intl: all-stage4-intl
30642 all-stage4-intl: configure-stage4-intl
30643 @$(MAKE) stage4-start
30644 @r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(STAGE_HOST_EXPORTS) \
30648 $(MAKE) $(FLAGS_TO_PASS) \
30649 $(POSTSTAGE1_FLAGS_TO_PASS) \
30652 maybe-clean-stage4-intl: clean-stage4-intl
30654 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30656 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30658 $(MAKE) $(FLAGS_TO_PASS) \
30659 $(POSTSTAGE1_FLAGS_TO_PASS) \
30661 @endif intl-bootstrap
30664 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30665 .PHONY: all-stage4-ld maybe-all-stage4-ld
30666 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30668 maybe-configure-stage4-ld:
30669 maybe-all-stage4-ld:
30670 maybe-clean-stage4-ld:
30673 maybe-configure-stage4-ld: configure-stage4-ld
30674 configure-stage4-ld:
30675 @$(MAKE) stage4-start
30676 @[ -f ld/Makefile ] && exit 0 || : ; \
30677 r=`${PWD_COMMAND}`; export r; \
30678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30679 $(STAGE_HOST_EXPORTS) \
30680 echo Configuring stage 4 in ld ; \
30682 case $(srcdir) in \
30684 srcdiroption="--srcdir=."; \
30686 /* | [A-Za-z]:[\\/]*) \
30687 srcdiroption="--srcdir=$(srcdir)/ld"; \
30688 libsrcdir="$$s/ld";; \
30690 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30691 libsrcdir="$$s/ld";; \
30693 $(SHELL) $${libsrcdir}/configure \
30694 $(HOST_CONFIGARGS) $${srcdiroption} \
30695 @stage2_werror_flag@
30697 maybe-all-stage4-ld: all-stage4-ld
30698 all-stage4-ld: configure-stage4-ld
30699 @$(MAKE) stage4-start
30700 @r=`${PWD_COMMAND}`; export r; \
30701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30702 $(STAGE_HOST_EXPORTS) \
30704 $(MAKE) $(FLAGS_TO_PASS) \
30705 $(POSTSTAGE1_FLAGS_TO_PASS) \
30708 maybe-clean-stage4-ld: clean-stage4-ld
30710 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
30712 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
30714 $(MAKE) $(FLAGS_TO_PASS) \
30715 $(POSTSTAGE1_FLAGS_TO_PASS) \
30717 @endif ld-bootstrap
30720 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
30721 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
30722 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
30724 maybe-configure-stage4-libcpp:
30725 maybe-all-stage4-libcpp:
30726 maybe-clean-stage4-libcpp:
30728 @if libcpp-bootstrap
30729 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30730 configure-stage4-libcpp:
30731 @$(MAKE) stage4-start
30732 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30733 r=`${PWD_COMMAND}`; export r; \
30734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30735 $(STAGE_HOST_EXPORTS) \
30736 echo Configuring stage 4 in libcpp ; \
30737 cd libcpp || exit 1; \
30738 case $(srcdir) in \
30740 srcdiroption="--srcdir=."; \
30742 /* | [A-Za-z]:[\\/]*) \
30743 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30744 libsrcdir="$$s/libcpp";; \
30746 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30747 libsrcdir="$$s/libcpp";; \
30749 $(SHELL) $${libsrcdir}/configure \
30750 $(HOST_CONFIGARGS) $${srcdiroption} \
30751 @stage2_werror_flag@
30753 maybe-all-stage4-libcpp: all-stage4-libcpp
30754 all-stage4-libcpp: configure-stage4-libcpp
30755 @$(MAKE) stage4-start
30756 @r=`${PWD_COMMAND}`; export r; \
30757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30758 $(STAGE_HOST_EXPORTS) \
30760 $(MAKE) $(FLAGS_TO_PASS) \
30761 $(POSTSTAGE1_FLAGS_TO_PASS) \
30764 maybe-clean-stage4-libcpp: clean-stage4-libcpp
30765 clean-stage4-libcpp:
30766 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
30768 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
30770 $(MAKE) $(FLAGS_TO_PASS) \
30771 $(POSTSTAGE1_FLAGS_TO_PASS) \
30773 @endif libcpp-bootstrap
30776 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
30777 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
30778 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
30780 maybe-configure-stage4-libiberty:
30781 maybe-all-stage4-libiberty:
30782 maybe-clean-stage4-libiberty:
30784 @if libiberty-bootstrap
30785 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30786 configure-stage4-libiberty:
30787 @$(MAKE) stage4-start
30788 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30789 r=`${PWD_COMMAND}`; export r; \
30790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30791 $(STAGE_HOST_EXPORTS) \
30792 echo Configuring stage 4 in libiberty ; \
30793 cd libiberty || exit 1; \
30794 case $(srcdir) in \
30796 srcdiroption="--srcdir=."; \
30798 /* | [A-Za-z]:[\\/]*) \
30799 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30800 libsrcdir="$$s/libiberty";; \
30802 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30803 libsrcdir="$$s/libiberty";; \
30805 $(SHELL) $${libsrcdir}/configure \
30806 $(HOST_CONFIGARGS) $${srcdiroption} \
30807 @stage2_werror_flag@
30809 maybe-all-stage4-libiberty: all-stage4-libiberty
30810 all-stage4-libiberty: configure-stage4-libiberty
30811 @$(MAKE) stage4-start
30812 @r=`${PWD_COMMAND}`; export r; \
30813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30814 $(STAGE_HOST_EXPORTS) \
30816 $(MAKE) $(FLAGS_TO_PASS) \
30817 $(POSTSTAGE1_FLAGS_TO_PASS) \
30820 maybe-clean-stage4-libiberty: clean-stage4-libiberty
30821 clean-stage4-libiberty:
30822 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
30824 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
30826 $(MAKE) $(FLAGS_TO_PASS) \
30827 $(POSTSTAGE1_FLAGS_TO_PASS) \
30829 @endif libiberty-bootstrap
30832 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30833 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30834 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30836 maybe-configure-stage4-zlib:
30837 maybe-all-stage4-zlib:
30838 maybe-clean-stage4-zlib:
30841 maybe-configure-stage4-zlib: configure-stage4-zlib
30842 configure-stage4-zlib:
30843 @$(MAKE) stage4-start
30844 @[ -f zlib/Makefile ] && exit 0 || : ; \
30845 r=`${PWD_COMMAND}`; export r; \
30846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30847 $(STAGE_HOST_EXPORTS) \
30848 echo Configuring stage 4 in zlib ; \
30849 cd zlib || exit 1; \
30850 case $(srcdir) in \
30852 srcdiroption="--srcdir=."; \
30854 /* | [A-Za-z]:[\\/]*) \
30855 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30856 libsrcdir="$$s/zlib";; \
30858 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30859 libsrcdir="$$s/zlib";; \
30861 $(SHELL) $${libsrcdir}/configure \
30862 $(HOST_CONFIGARGS) $${srcdiroption} \
30863 @stage2_werror_flag@
30865 maybe-all-stage4-zlib: all-stage4-zlib
30866 all-stage4-zlib: configure-stage4-zlib
30867 @$(MAKE) stage4-start
30868 @r=`${PWD_COMMAND}`; export r; \
30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30870 $(STAGE_HOST_EXPORTS) \
30872 $(MAKE) $(FLAGS_TO_PASS) \
30873 $(POSTSTAGE1_FLAGS_TO_PASS) \
30876 maybe-clean-stage4-zlib: clean-stage4-zlib
30878 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
30880 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
30882 $(MAKE) $(FLAGS_TO_PASS) \
30883 $(POSTSTAGE1_FLAGS_TO_PASS) \
30885 @endif zlib-bootstrap
30889 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30890 # only possibility, but now it conflicts with no-bootstrap rules
30894 @if test -f stage3-lean; then \
30895 echo Cannot compare object files as stage 3 was deleted. ; \
30898 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30899 @r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 rm -f .bad_compare ; \
30903 files=`find . -name "*$(objext)" -print` ; \
30905 for file in $${files} ; do \
30906 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
30907 @do_compare@ > /dev/null 2>&1; \
30908 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30910 if [ -f .bad_compare ]; then \
30911 echo "Bootstrap comparison failure!"; \
30912 cat .bad_compare; \
30918 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
30923 bootstrap4: stage4-bubble compare3 all
30926 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30927 distclean-stage3:: distclean-stage4
30928 .PHONY: distclean-stage4
30930 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30931 rm -rf stage4-* compare3
30934 @endif gcc-bootstrap
30937 .PHONY: stageprofile-start stageprofile-end
30939 stageprofile-start::
30940 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30941 echo stageprofile > stage_current ; \
30942 echo stageprofile > stage_last
30944 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
30945 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30946 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30949 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
30950 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30951 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30954 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
30955 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30956 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30959 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
30960 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30961 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
30964 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
30965 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30966 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30969 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
30970 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30971 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
30974 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
30975 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30976 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
30979 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
30980 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30981 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30984 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
30985 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30986 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30989 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
30990 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30991 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30995 @rm -f stage_current
30997 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
30998 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31001 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31002 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31005 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
31006 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31009 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
31010 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31013 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
31014 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31017 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
31018 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31021 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
31022 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31025 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31026 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31029 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31030 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31033 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
31034 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31037 # Bubble a bugfix through all the stages up to stage profile. They
31038 # are remade, but not reconfigured. The next stage (if any) will not
31039 # be reconfigured as well.
31040 .PHONY: stageprofile-bubble
31041 stageprofile-bubble:: stage1-bubble
31042 @if test -f stageprofile-lean || test -f stage1-lean ; then \
31043 echo Skipping rebuild of stageprofile ; \
31045 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
31048 .PHONY: all-stageprofile clean-stageprofile
31049 all-stageprofile: \
31050 maybe-all-stageprofile-bfd \
31051 maybe-all-stageprofile-opcodes \
31052 maybe-all-stageprofile-binutils \
31053 maybe-all-stageprofile-gas \
31054 maybe-all-stageprofile-gcc \
31055 maybe-all-stageprofile-intl \
31056 maybe-all-stageprofile-ld \
31057 maybe-all-stageprofile-libcpp \
31058 maybe-all-stageprofile-libiberty \
31059 maybe-all-stageprofile-zlib
31061 do-clean: clean-stageprofile
31062 clean-stageprofile: \
31063 maybe-clean-stageprofile-bfd \
31064 maybe-clean-stageprofile-opcodes \
31065 maybe-clean-stageprofile-binutils \
31066 maybe-clean-stageprofile-gas \
31067 maybe-clean-stageprofile-gcc \
31068 maybe-clean-stageprofile-intl \
31069 maybe-clean-stageprofile-ld \
31070 maybe-clean-stageprofile-libcpp \
31071 maybe-clean-stageprofile-libiberty \
31072 maybe-clean-stageprofile-zlib
31075 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
31076 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
31077 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
31079 maybe-configure-stageprofile-bfd:
31080 maybe-all-stageprofile-bfd:
31081 maybe-clean-stageprofile-bfd:
31084 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
31085 configure-stageprofile-bfd:
31086 @$(MAKE) stageprofile-start
31087 @[ -f bfd/Makefile ] && exit 0 || : ; \
31088 r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(STAGE_HOST_EXPORTS) \
31091 echo Configuring stage profile in bfd ; \
31092 cd bfd || exit 1; \
31093 case $(srcdir) in \
31095 srcdiroption="--srcdir=."; \
31097 /* | [A-Za-z]:[\\/]*) \
31098 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31099 libsrcdir="$$s/bfd";; \
31101 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31102 libsrcdir="$$s/bfd";; \
31104 $(SHELL) $${libsrcdir}/configure \
31105 $(HOST_CONFIGARGS) $${srcdiroption} \
31106 @stage2_werror_flag@
31108 maybe-all-stageprofile-bfd: all-stageprofile-bfd
31109 all-stageprofile-bfd: configure-stageprofile-bfd
31110 @$(MAKE) stageprofile-start
31111 @r=`${PWD_COMMAND}`; export r; \
31112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31113 $(STAGE_HOST_EXPORTS) \
31115 $(MAKE) $(FLAGS_TO_PASS) \
31116 $(POSTSTAGE1_FLAGS_TO_PASS) \
31117 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31119 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
31120 clean-stageprofile-bfd:
31121 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
31123 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
31125 $(MAKE) $(FLAGS_TO_PASS) \
31126 $(POSTSTAGE1_FLAGS_TO_PASS) \
31127 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31128 @endif bfd-bootstrap
31131 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
31132 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
31133 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31135 maybe-configure-stageprofile-opcodes:
31136 maybe-all-stageprofile-opcodes:
31137 maybe-clean-stageprofile-opcodes:
31139 @if opcodes-bootstrap
31140 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31141 configure-stageprofile-opcodes:
31142 @$(MAKE) stageprofile-start
31143 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31144 r=`${PWD_COMMAND}`; export r; \
31145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31146 $(STAGE_HOST_EXPORTS) \
31147 echo Configuring stage profile in opcodes ; \
31148 cd opcodes || exit 1; \
31149 case $(srcdir) in \
31151 srcdiroption="--srcdir=."; \
31153 /* | [A-Za-z]:[\\/]*) \
31154 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31155 libsrcdir="$$s/opcodes";; \
31157 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31158 libsrcdir="$$s/opcodes";; \
31160 $(SHELL) $${libsrcdir}/configure \
31161 $(HOST_CONFIGARGS) $${srcdiroption} \
31162 @stage2_werror_flag@
31164 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31165 all-stageprofile-opcodes: configure-stageprofile-opcodes
31166 @$(MAKE) stageprofile-start
31167 @r=`${PWD_COMMAND}`; export r; \
31168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31169 $(STAGE_HOST_EXPORTS) \
31171 $(MAKE) $(FLAGS_TO_PASS) \
31172 $(POSTSTAGE1_FLAGS_TO_PASS) \
31173 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31175 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31176 clean-stageprofile-opcodes:
31177 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31179 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31181 $(MAKE) $(FLAGS_TO_PASS) \
31182 $(POSTSTAGE1_FLAGS_TO_PASS) \
31183 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31184 @endif opcodes-bootstrap
31187 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31188 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31189 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31191 maybe-configure-stageprofile-binutils:
31192 maybe-all-stageprofile-binutils:
31193 maybe-clean-stageprofile-binutils:
31195 @if binutils-bootstrap
31196 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31197 configure-stageprofile-binutils:
31198 @$(MAKE) stageprofile-start
31199 @[ -f binutils/Makefile ] && exit 0 || : ; \
31200 r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(STAGE_HOST_EXPORTS) \
31203 echo Configuring stage profile in binutils ; \
31204 cd binutils || exit 1; \
31205 case $(srcdir) in \
31207 srcdiroption="--srcdir=."; \
31209 /* | [A-Za-z]:[\\/]*) \
31210 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31211 libsrcdir="$$s/binutils";; \
31213 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31214 libsrcdir="$$s/binutils";; \
31216 $(SHELL) $${libsrcdir}/configure \
31217 $(HOST_CONFIGARGS) $${srcdiroption} \
31218 @stage2_werror_flag@
31220 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31221 all-stageprofile-binutils: configure-stageprofile-binutils
31222 @$(MAKE) stageprofile-start
31223 @r=`${PWD_COMMAND}`; export r; \
31224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31225 $(STAGE_HOST_EXPORTS) \
31227 $(MAKE) $(FLAGS_TO_PASS) \
31228 $(POSTSTAGE1_FLAGS_TO_PASS) \
31229 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31231 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31232 clean-stageprofile-binutils:
31233 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31235 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31237 $(MAKE) $(FLAGS_TO_PASS) \
31238 $(POSTSTAGE1_FLAGS_TO_PASS) \
31239 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31240 @endif binutils-bootstrap
31243 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31244 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31245 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31247 maybe-configure-stageprofile-gas:
31248 maybe-all-stageprofile-gas:
31249 maybe-clean-stageprofile-gas:
31252 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31253 configure-stageprofile-gas:
31254 @$(MAKE) stageprofile-start
31255 @[ -f gas/Makefile ] && exit 0 || : ; \
31256 r=`${PWD_COMMAND}`; export r; \
31257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31258 $(STAGE_HOST_EXPORTS) \
31259 echo Configuring stage profile in gas ; \
31260 cd gas || exit 1; \
31261 case $(srcdir) in \
31263 srcdiroption="--srcdir=."; \
31265 /* | [A-Za-z]:[\\/]*) \
31266 srcdiroption="--srcdir=$(srcdir)/gas"; \
31267 libsrcdir="$$s/gas";; \
31269 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31270 libsrcdir="$$s/gas";; \
31272 $(SHELL) $${libsrcdir}/configure \
31273 $(HOST_CONFIGARGS) $${srcdiroption} \
31274 @stage2_werror_flag@
31276 maybe-all-stageprofile-gas: all-stageprofile-gas
31277 all-stageprofile-gas: configure-stageprofile-gas
31278 @$(MAKE) stageprofile-start
31279 @r=`${PWD_COMMAND}`; export r; \
31280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31281 $(STAGE_HOST_EXPORTS) \
31283 $(MAKE) $(FLAGS_TO_PASS) \
31284 $(POSTSTAGE1_FLAGS_TO_PASS) \
31285 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31287 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31288 clean-stageprofile-gas:
31289 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31291 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31293 $(MAKE) $(FLAGS_TO_PASS) \
31294 $(POSTSTAGE1_FLAGS_TO_PASS) \
31295 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31296 @endif gas-bootstrap
31299 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31300 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31301 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31303 maybe-configure-stageprofile-gcc:
31304 maybe-all-stageprofile-gcc:
31305 maybe-clean-stageprofile-gcc:
31308 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31309 configure-stageprofile-gcc:
31310 @$(MAKE) stageprofile-start
31311 @[ -f gcc/Makefile ] && exit 0 || : ; \
31312 r=`${PWD_COMMAND}`; export r; \
31313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31314 $(STAGE_HOST_EXPORTS) \
31315 echo Configuring stage profile in gcc ; \
31316 cd gcc || exit 1; \
31317 case $(srcdir) in \
31319 srcdiroption="--srcdir=."; \
31321 /* | [A-Za-z]:[\\/]*) \
31322 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31323 libsrcdir="$$s/gcc";; \
31325 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31326 libsrcdir="$$s/gcc";; \
31328 $(SHELL) $${libsrcdir}/configure \
31329 $(HOST_CONFIGARGS) $${srcdiroption} \
31330 @stage2_werror_flag@
31332 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31333 all-stageprofile-gcc: configure-stageprofile-gcc
31334 @$(MAKE) stageprofile-start
31335 @r=`${PWD_COMMAND}`; export r; \
31336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31337 $(STAGE_HOST_EXPORTS) \
31339 $(MAKE) $(FLAGS_TO_PASS) \
31340 $(POSTSTAGE1_FLAGS_TO_PASS) \
31341 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31343 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31344 clean-stageprofile-gcc:
31345 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31347 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31349 $(MAKE) $(FLAGS_TO_PASS) \
31350 $(POSTSTAGE1_FLAGS_TO_PASS) \
31351 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31352 @endif gcc-bootstrap
31355 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31356 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31357 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31359 maybe-configure-stageprofile-intl:
31360 maybe-all-stageprofile-intl:
31361 maybe-clean-stageprofile-intl:
31364 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31365 configure-stageprofile-intl:
31366 @$(MAKE) stageprofile-start
31367 @[ -f intl/Makefile ] && exit 0 || : ; \
31368 r=`${PWD_COMMAND}`; export r; \
31369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31370 $(STAGE_HOST_EXPORTS) \
31371 echo Configuring stage profile in intl ; \
31372 cd intl || exit 1; \
31373 case $(srcdir) in \
31375 srcdiroption="--srcdir=."; \
31377 /* | [A-Za-z]:[\\/]*) \
31378 srcdiroption="--srcdir=$(srcdir)/intl"; \
31379 libsrcdir="$$s/intl";; \
31381 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31382 libsrcdir="$$s/intl";; \
31384 $(SHELL) $${libsrcdir}/configure \
31385 $(HOST_CONFIGARGS) $${srcdiroption} \
31386 @stage2_werror_flag@
31388 maybe-all-stageprofile-intl: all-stageprofile-intl
31389 all-stageprofile-intl: configure-stageprofile-intl
31390 @$(MAKE) stageprofile-start
31391 @r=`${PWD_COMMAND}`; export r; \
31392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31393 $(STAGE_HOST_EXPORTS) \
31395 $(MAKE) $(FLAGS_TO_PASS) \
31396 $(POSTSTAGE1_FLAGS_TO_PASS) \
31397 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31399 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31400 clean-stageprofile-intl:
31401 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31403 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31405 $(MAKE) $(FLAGS_TO_PASS) \
31406 $(POSTSTAGE1_FLAGS_TO_PASS) \
31407 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31408 @endif intl-bootstrap
31411 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31412 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31413 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31415 maybe-configure-stageprofile-ld:
31416 maybe-all-stageprofile-ld:
31417 maybe-clean-stageprofile-ld:
31420 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31421 configure-stageprofile-ld:
31422 @$(MAKE) stageprofile-start
31423 @[ -f ld/Makefile ] && exit 0 || : ; \
31424 r=`${PWD_COMMAND}`; export r; \
31425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31426 $(STAGE_HOST_EXPORTS) \
31427 echo Configuring stage profile in ld ; \
31429 case $(srcdir) in \
31431 srcdiroption="--srcdir=."; \
31433 /* | [A-Za-z]:[\\/]*) \
31434 srcdiroption="--srcdir=$(srcdir)/ld"; \
31435 libsrcdir="$$s/ld";; \
31437 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31438 libsrcdir="$$s/ld";; \
31440 $(SHELL) $${libsrcdir}/configure \
31441 $(HOST_CONFIGARGS) $${srcdiroption} \
31442 @stage2_werror_flag@
31444 maybe-all-stageprofile-ld: all-stageprofile-ld
31445 all-stageprofile-ld: configure-stageprofile-ld
31446 @$(MAKE) stageprofile-start
31447 @r=`${PWD_COMMAND}`; export r; \
31448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31449 $(STAGE_HOST_EXPORTS) \
31451 $(MAKE) $(FLAGS_TO_PASS) \
31452 $(POSTSTAGE1_FLAGS_TO_PASS) \
31453 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31455 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31456 clean-stageprofile-ld:
31457 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31459 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31461 $(MAKE) $(FLAGS_TO_PASS) \
31462 $(POSTSTAGE1_FLAGS_TO_PASS) \
31463 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31464 @endif ld-bootstrap
31467 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31468 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31469 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31471 maybe-configure-stageprofile-libcpp:
31472 maybe-all-stageprofile-libcpp:
31473 maybe-clean-stageprofile-libcpp:
31475 @if libcpp-bootstrap
31476 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31477 configure-stageprofile-libcpp:
31478 @$(MAKE) stageprofile-start
31479 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31480 r=`${PWD_COMMAND}`; export r; \
31481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31482 $(STAGE_HOST_EXPORTS) \
31483 echo Configuring stage profile in libcpp ; \
31484 cd libcpp || exit 1; \
31485 case $(srcdir) in \
31487 srcdiroption="--srcdir=."; \
31489 /* | [A-Za-z]:[\\/]*) \
31490 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31491 libsrcdir="$$s/libcpp";; \
31493 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31494 libsrcdir="$$s/libcpp";; \
31496 $(SHELL) $${libsrcdir}/configure \
31497 $(HOST_CONFIGARGS) $${srcdiroption} \
31498 @stage2_werror_flag@
31500 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31501 all-stageprofile-libcpp: configure-stageprofile-libcpp
31502 @$(MAKE) stageprofile-start
31503 @r=`${PWD_COMMAND}`; export r; \
31504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31505 $(STAGE_HOST_EXPORTS) \
31507 $(MAKE) $(FLAGS_TO_PASS) \
31508 $(POSTSTAGE1_FLAGS_TO_PASS) \
31509 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31511 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31512 clean-stageprofile-libcpp:
31513 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31515 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31517 $(MAKE) $(FLAGS_TO_PASS) \
31518 $(POSTSTAGE1_FLAGS_TO_PASS) \
31519 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31520 @endif libcpp-bootstrap
31523 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31524 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31525 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31527 maybe-configure-stageprofile-libiberty:
31528 maybe-all-stageprofile-libiberty:
31529 maybe-clean-stageprofile-libiberty:
31531 @if libiberty-bootstrap
31532 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31533 configure-stageprofile-libiberty:
31534 @$(MAKE) stageprofile-start
31535 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31536 r=`${PWD_COMMAND}`; export r; \
31537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31538 $(STAGE_HOST_EXPORTS) \
31539 echo Configuring stage profile in libiberty ; \
31540 cd libiberty || exit 1; \
31541 case $(srcdir) in \
31543 srcdiroption="--srcdir=."; \
31545 /* | [A-Za-z]:[\\/]*) \
31546 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31547 libsrcdir="$$s/libiberty";; \
31549 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31550 libsrcdir="$$s/libiberty";; \
31552 $(SHELL) $${libsrcdir}/configure \
31553 $(HOST_CONFIGARGS) $${srcdiroption} \
31554 @stage2_werror_flag@
31556 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31557 all-stageprofile-libiberty: configure-stageprofile-libiberty
31558 @$(MAKE) stageprofile-start
31559 @r=`${PWD_COMMAND}`; export r; \
31560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31561 $(STAGE_HOST_EXPORTS) \
31563 $(MAKE) $(FLAGS_TO_PASS) \
31564 $(POSTSTAGE1_FLAGS_TO_PASS) \
31565 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31567 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31568 clean-stageprofile-libiberty:
31569 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31571 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31573 $(MAKE) $(FLAGS_TO_PASS) \
31574 $(POSTSTAGE1_FLAGS_TO_PASS) \
31575 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31576 @endif libiberty-bootstrap
31579 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31580 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31581 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31583 maybe-configure-stageprofile-zlib:
31584 maybe-all-stageprofile-zlib:
31585 maybe-clean-stageprofile-zlib:
31588 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31589 configure-stageprofile-zlib:
31590 @$(MAKE) stageprofile-start
31591 @[ -f zlib/Makefile ] && exit 0 || : ; \
31592 r=`${PWD_COMMAND}`; export r; \
31593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31594 $(STAGE_HOST_EXPORTS) \
31595 echo Configuring stage profile in zlib ; \
31596 cd zlib || exit 1; \
31597 case $(srcdir) in \
31599 srcdiroption="--srcdir=."; \
31601 /* | [A-Za-z]:[\\/]*) \
31602 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31603 libsrcdir="$$s/zlib";; \
31605 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31606 libsrcdir="$$s/zlib";; \
31608 $(SHELL) $${libsrcdir}/configure \
31609 $(HOST_CONFIGARGS) $${srcdiroption} \
31610 @stage2_werror_flag@
31612 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31613 all-stageprofile-zlib: configure-stageprofile-zlib
31614 @$(MAKE) stageprofile-start
31615 @r=`${PWD_COMMAND}`; export r; \
31616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31617 $(STAGE_HOST_EXPORTS) \
31619 $(MAKE) $(FLAGS_TO_PASS) \
31620 $(POSTSTAGE1_FLAGS_TO_PASS) \
31621 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31623 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31624 clean-stageprofile-zlib:
31625 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31627 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31629 $(MAKE) $(FLAGS_TO_PASS) \
31630 $(POSTSTAGE1_FLAGS_TO_PASS) \
31631 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31632 @endif zlib-bootstrap
31636 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31637 # only possibility, but now it conflicts with no-bootstrap rules
31643 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31644 distclean-stage1:: distclean-stageprofile
31645 .PHONY: distclean-stageprofile
31646 distclean-stageprofile::
31647 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31648 rm -rf stageprofile-*
31651 @endif gcc-bootstrap
31654 .PHONY: stagefeedback-start stagefeedback-end
31656 stagefeedback-start::
31657 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31658 echo stagefeedback > stage_current ; \
31659 echo stagefeedback > stage_last
31661 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31662 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31663 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31666 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31667 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31668 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31671 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31672 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31673 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31676 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31677 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31678 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31681 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31682 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31683 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31686 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31687 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31688 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31691 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31692 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31693 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31696 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31697 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31698 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31701 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31702 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31703 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31706 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31707 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31708 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31711 stagefeedback-end::
31712 @rm -f stage_current
31714 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
31715 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31718 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31719 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31722 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
31723 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31726 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
31727 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31730 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
31731 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31734 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
31735 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31738 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
31739 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31742 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31743 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31746 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31747 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31750 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
31751 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31754 # Bubble a bugfix through all the stages up to stage feedback. They
31755 # are remade, but not reconfigured. The next stage (if any) will not
31756 # be reconfigured as well.
31757 .PHONY: stagefeedback-bubble
31758 stagefeedback-bubble:: stage1-bubble
31759 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
31760 echo Skipping rebuild of stagefeedback ; \
31762 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
31765 .PHONY: all-stagefeedback clean-stagefeedback
31766 all-stagefeedback: \
31767 maybe-all-stagefeedback-bfd \
31768 maybe-all-stagefeedback-opcodes \
31769 maybe-all-stagefeedback-binutils \
31770 maybe-all-stagefeedback-gas \
31771 maybe-all-stagefeedback-gcc \
31772 maybe-all-stagefeedback-intl \
31773 maybe-all-stagefeedback-ld \
31774 maybe-all-stagefeedback-libcpp \
31775 maybe-all-stagefeedback-libiberty \
31776 maybe-all-stagefeedback-zlib
31778 do-clean: clean-stagefeedback
31779 clean-stagefeedback: \
31780 maybe-clean-stagefeedback-bfd \
31781 maybe-clean-stagefeedback-opcodes \
31782 maybe-clean-stagefeedback-binutils \
31783 maybe-clean-stagefeedback-gas \
31784 maybe-clean-stagefeedback-gcc \
31785 maybe-clean-stagefeedback-intl \
31786 maybe-clean-stagefeedback-ld \
31787 maybe-clean-stagefeedback-libcpp \
31788 maybe-clean-stagefeedback-libiberty \
31789 maybe-clean-stagefeedback-zlib
31792 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
31793 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
31794 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
31796 maybe-configure-stagefeedback-bfd:
31797 maybe-all-stagefeedback-bfd:
31798 maybe-clean-stagefeedback-bfd:
31801 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
31802 configure-stagefeedback-bfd:
31803 @$(MAKE) stagefeedback-start
31804 @[ -f bfd/Makefile ] && exit 0 || : ; \
31805 r=`${PWD_COMMAND}`; export r; \
31806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31807 $(STAGE_HOST_EXPORTS) \
31808 echo Configuring stage feedback in bfd ; \
31809 cd bfd || exit 1; \
31810 case $(srcdir) in \
31812 srcdiroption="--srcdir=."; \
31814 /* | [A-Za-z]:[\\/]*) \
31815 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31816 libsrcdir="$$s/bfd";; \
31818 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31819 libsrcdir="$$s/bfd";; \
31821 $(SHELL) $${libsrcdir}/configure \
31822 $(HOST_CONFIGARGS) $${srcdiroption} \
31823 @stage2_werror_flag@
31825 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
31826 all-stagefeedback-bfd: configure-stagefeedback-bfd
31827 @$(MAKE) stagefeedback-start
31828 @r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(STAGE_HOST_EXPORTS) \
31832 $(MAKE) $(FLAGS_TO_PASS) \
31833 $(POSTSTAGE1_FLAGS_TO_PASS) \
31834 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31836 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
31837 clean-stagefeedback-bfd:
31838 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
31840 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
31842 $(MAKE) $(FLAGS_TO_PASS) \
31843 $(POSTSTAGE1_FLAGS_TO_PASS) \
31844 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31845 @endif bfd-bootstrap
31848 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
31849 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
31850 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
31852 maybe-configure-stagefeedback-opcodes:
31853 maybe-all-stagefeedback-opcodes:
31854 maybe-clean-stagefeedback-opcodes:
31856 @if opcodes-bootstrap
31857 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
31858 configure-stagefeedback-opcodes:
31859 @$(MAKE) stagefeedback-start
31860 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31861 r=`${PWD_COMMAND}`; export r; \
31862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31863 $(STAGE_HOST_EXPORTS) \
31864 echo Configuring stage feedback in opcodes ; \
31865 cd opcodes || exit 1; \
31866 case $(srcdir) in \
31868 srcdiroption="--srcdir=."; \
31870 /* | [A-Za-z]:[\\/]*) \
31871 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31872 libsrcdir="$$s/opcodes";; \
31874 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31875 libsrcdir="$$s/opcodes";; \
31877 $(SHELL) $${libsrcdir}/configure \
31878 $(HOST_CONFIGARGS) $${srcdiroption} \
31879 @stage2_werror_flag@
31881 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
31882 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
31883 @$(MAKE) stagefeedback-start
31884 @r=`${PWD_COMMAND}`; export r; \
31885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31886 $(STAGE_HOST_EXPORTS) \
31888 $(MAKE) $(FLAGS_TO_PASS) \
31889 $(POSTSTAGE1_FLAGS_TO_PASS) \
31890 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31892 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
31893 clean-stagefeedback-opcodes:
31894 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
31896 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
31898 $(MAKE) $(FLAGS_TO_PASS) \
31899 $(POSTSTAGE1_FLAGS_TO_PASS) \
31900 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31901 @endif opcodes-bootstrap
31904 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
31905 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
31906 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
31908 maybe-configure-stagefeedback-binutils:
31909 maybe-all-stagefeedback-binutils:
31910 maybe-clean-stagefeedback-binutils:
31912 @if binutils-bootstrap
31913 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
31914 configure-stagefeedback-binutils:
31915 @$(MAKE) stagefeedback-start
31916 @[ -f binutils/Makefile ] && exit 0 || : ; \
31917 r=`${PWD_COMMAND}`; export r; \
31918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31919 $(STAGE_HOST_EXPORTS) \
31920 echo Configuring stage feedback in binutils ; \
31921 cd binutils || exit 1; \
31922 case $(srcdir) in \
31924 srcdiroption="--srcdir=."; \
31926 /* | [A-Za-z]:[\\/]*) \
31927 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31928 libsrcdir="$$s/binutils";; \
31930 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31931 libsrcdir="$$s/binutils";; \
31933 $(SHELL) $${libsrcdir}/configure \
31934 $(HOST_CONFIGARGS) $${srcdiroption} \
31935 @stage2_werror_flag@
31937 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
31938 all-stagefeedback-binutils: configure-stagefeedback-binutils
31939 @$(MAKE) stagefeedback-start
31940 @r=`${PWD_COMMAND}`; export r; \
31941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31942 $(STAGE_HOST_EXPORTS) \
31944 $(MAKE) $(FLAGS_TO_PASS) \
31945 $(POSTSTAGE1_FLAGS_TO_PASS) \
31946 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31948 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
31949 clean-stagefeedback-binutils:
31950 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
31952 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
31954 $(MAKE) $(FLAGS_TO_PASS) \
31955 $(POSTSTAGE1_FLAGS_TO_PASS) \
31956 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31957 @endif binutils-bootstrap
31960 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
31961 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
31962 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
31964 maybe-configure-stagefeedback-gas:
31965 maybe-all-stagefeedback-gas:
31966 maybe-clean-stagefeedback-gas:
31969 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
31970 configure-stagefeedback-gas:
31971 @$(MAKE) stagefeedback-start
31972 @[ -f gas/Makefile ] && exit 0 || : ; \
31973 r=`${PWD_COMMAND}`; export r; \
31974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31975 $(STAGE_HOST_EXPORTS) \
31976 echo Configuring stage feedback in gas ; \
31977 cd gas || exit 1; \
31978 case $(srcdir) in \
31980 srcdiroption="--srcdir=."; \
31982 /* | [A-Za-z]:[\\/]*) \
31983 srcdiroption="--srcdir=$(srcdir)/gas"; \
31984 libsrcdir="$$s/gas";; \
31986 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31987 libsrcdir="$$s/gas";; \
31989 $(SHELL) $${libsrcdir}/configure \
31990 $(HOST_CONFIGARGS) $${srcdiroption} \
31991 @stage2_werror_flag@
31993 maybe-all-stagefeedback-gas: all-stagefeedback-gas
31994 all-stagefeedback-gas: configure-stagefeedback-gas
31995 @$(MAKE) stagefeedback-start
31996 @r=`${PWD_COMMAND}`; export r; \
31997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31998 $(STAGE_HOST_EXPORTS) \
32000 $(MAKE) $(FLAGS_TO_PASS) \
32001 $(POSTSTAGE1_FLAGS_TO_PASS) \
32002 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32004 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
32005 clean-stagefeedback-gas:
32006 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
32008 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
32010 $(MAKE) $(FLAGS_TO_PASS) \
32011 $(POSTSTAGE1_FLAGS_TO_PASS) \
32012 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32013 @endif gas-bootstrap
32016 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
32017 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
32018 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
32020 maybe-configure-stagefeedback-gcc:
32021 maybe-all-stagefeedback-gcc:
32022 maybe-clean-stagefeedback-gcc:
32025 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
32026 configure-stagefeedback-gcc:
32027 @$(MAKE) stagefeedback-start
32028 @[ -f gcc/Makefile ] && exit 0 || : ; \
32029 r=`${PWD_COMMAND}`; export r; \
32030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32031 $(STAGE_HOST_EXPORTS) \
32032 echo Configuring stage feedback in gcc ; \
32033 cd gcc || exit 1; \
32034 case $(srcdir) in \
32036 srcdiroption="--srcdir=."; \
32038 /* | [A-Za-z]:[\\/]*) \
32039 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32040 libsrcdir="$$s/gcc";; \
32042 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32043 libsrcdir="$$s/gcc";; \
32045 $(SHELL) $${libsrcdir}/configure \
32046 $(HOST_CONFIGARGS) $${srcdiroption} \
32047 @stage2_werror_flag@
32049 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
32050 all-stagefeedback-gcc: configure-stagefeedback-gcc
32051 @$(MAKE) stagefeedback-start
32052 @r=`${PWD_COMMAND}`; export r; \
32053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32054 $(STAGE_HOST_EXPORTS) \
32056 $(MAKE) $(FLAGS_TO_PASS) \
32057 $(POSTSTAGE1_FLAGS_TO_PASS) \
32058 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
32060 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
32061 clean-stagefeedback-gcc:
32062 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
32064 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
32066 $(MAKE) $(FLAGS_TO_PASS) \
32067 $(POSTSTAGE1_FLAGS_TO_PASS) \
32068 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
32069 @endif gcc-bootstrap
32072 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
32073 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
32074 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
32076 maybe-configure-stagefeedback-intl:
32077 maybe-all-stagefeedback-intl:
32078 maybe-clean-stagefeedback-intl:
32081 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
32082 configure-stagefeedback-intl:
32083 @$(MAKE) stagefeedback-start
32084 @[ -f intl/Makefile ] && exit 0 || : ; \
32085 r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(STAGE_HOST_EXPORTS) \
32088 echo Configuring stage feedback in intl ; \
32089 cd intl || exit 1; \
32090 case $(srcdir) in \
32092 srcdiroption="--srcdir=."; \
32094 /* | [A-Za-z]:[\\/]*) \
32095 srcdiroption="--srcdir=$(srcdir)/intl"; \
32096 libsrcdir="$$s/intl";; \
32098 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32099 libsrcdir="$$s/intl";; \
32101 $(SHELL) $${libsrcdir}/configure \
32102 $(HOST_CONFIGARGS) $${srcdiroption} \
32103 @stage2_werror_flag@
32105 maybe-all-stagefeedback-intl: all-stagefeedback-intl
32106 all-stagefeedback-intl: configure-stagefeedback-intl
32107 @$(MAKE) stagefeedback-start
32108 @r=`${PWD_COMMAND}`; export r; \
32109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32110 $(STAGE_HOST_EXPORTS) \
32112 $(MAKE) $(FLAGS_TO_PASS) \
32113 $(POSTSTAGE1_FLAGS_TO_PASS) \
32114 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32116 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
32117 clean-stagefeedback-intl:
32118 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
32120 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
32122 $(MAKE) $(FLAGS_TO_PASS) \
32123 $(POSTSTAGE1_FLAGS_TO_PASS) \
32124 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32125 @endif intl-bootstrap
32128 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
32129 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
32130 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
32132 maybe-configure-stagefeedback-ld:
32133 maybe-all-stagefeedback-ld:
32134 maybe-clean-stagefeedback-ld:
32137 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32138 configure-stagefeedback-ld:
32139 @$(MAKE) stagefeedback-start
32140 @[ -f ld/Makefile ] && exit 0 || : ; \
32141 r=`${PWD_COMMAND}`; export r; \
32142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32143 $(STAGE_HOST_EXPORTS) \
32144 echo Configuring stage feedback in ld ; \
32146 case $(srcdir) in \
32148 srcdiroption="--srcdir=."; \
32150 /* | [A-Za-z]:[\\/]*) \
32151 srcdiroption="--srcdir=$(srcdir)/ld"; \
32152 libsrcdir="$$s/ld";; \
32154 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32155 libsrcdir="$$s/ld";; \
32157 $(SHELL) $${libsrcdir}/configure \
32158 $(HOST_CONFIGARGS) $${srcdiroption} \
32159 @stage2_werror_flag@
32161 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32162 all-stagefeedback-ld: configure-stagefeedback-ld
32163 @$(MAKE) stagefeedback-start
32164 @r=`${PWD_COMMAND}`; export r; \
32165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32166 $(STAGE_HOST_EXPORTS) \
32168 $(MAKE) $(FLAGS_TO_PASS) \
32169 $(POSTSTAGE1_FLAGS_TO_PASS) \
32170 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32172 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32173 clean-stagefeedback-ld:
32174 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32176 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32178 $(MAKE) $(FLAGS_TO_PASS) \
32179 $(POSTSTAGE1_FLAGS_TO_PASS) \
32180 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32181 @endif ld-bootstrap
32184 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32185 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32186 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32188 maybe-configure-stagefeedback-libcpp:
32189 maybe-all-stagefeedback-libcpp:
32190 maybe-clean-stagefeedback-libcpp:
32192 @if libcpp-bootstrap
32193 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32194 configure-stagefeedback-libcpp:
32195 @$(MAKE) stagefeedback-start
32196 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32197 r=`${PWD_COMMAND}`; export r; \
32198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32199 $(STAGE_HOST_EXPORTS) \
32200 echo Configuring stage feedback in libcpp ; \
32201 cd libcpp || exit 1; \
32202 case $(srcdir) in \
32204 srcdiroption="--srcdir=."; \
32206 /* | [A-Za-z]:[\\/]*) \
32207 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32208 libsrcdir="$$s/libcpp";; \
32210 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32211 libsrcdir="$$s/libcpp";; \
32213 $(SHELL) $${libsrcdir}/configure \
32214 $(HOST_CONFIGARGS) $${srcdiroption} \
32215 @stage2_werror_flag@
32217 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32218 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32219 @$(MAKE) stagefeedback-start
32220 @r=`${PWD_COMMAND}`; export r; \
32221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32222 $(STAGE_HOST_EXPORTS) \
32224 $(MAKE) $(FLAGS_TO_PASS) \
32225 $(POSTSTAGE1_FLAGS_TO_PASS) \
32226 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32228 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32229 clean-stagefeedback-libcpp:
32230 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32232 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32234 $(MAKE) $(FLAGS_TO_PASS) \
32235 $(POSTSTAGE1_FLAGS_TO_PASS) \
32236 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32237 @endif libcpp-bootstrap
32240 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32241 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32242 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32244 maybe-configure-stagefeedback-libiberty:
32245 maybe-all-stagefeedback-libiberty:
32246 maybe-clean-stagefeedback-libiberty:
32248 @if libiberty-bootstrap
32249 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32250 configure-stagefeedback-libiberty:
32251 @$(MAKE) stagefeedback-start
32252 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32253 r=`${PWD_COMMAND}`; export r; \
32254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32255 $(STAGE_HOST_EXPORTS) \
32256 echo Configuring stage feedback in libiberty ; \
32257 cd libiberty || exit 1; \
32258 case $(srcdir) in \
32260 srcdiroption="--srcdir=."; \
32262 /* | [A-Za-z]:[\\/]*) \
32263 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32264 libsrcdir="$$s/libiberty";; \
32266 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32267 libsrcdir="$$s/libiberty";; \
32269 $(SHELL) $${libsrcdir}/configure \
32270 $(HOST_CONFIGARGS) $${srcdiroption} \
32271 @stage2_werror_flag@
32273 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32274 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32275 @$(MAKE) stagefeedback-start
32276 @r=`${PWD_COMMAND}`; export r; \
32277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32278 $(STAGE_HOST_EXPORTS) \
32280 $(MAKE) $(FLAGS_TO_PASS) \
32281 $(POSTSTAGE1_FLAGS_TO_PASS) \
32282 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32284 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32285 clean-stagefeedback-libiberty:
32286 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32288 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32290 $(MAKE) $(FLAGS_TO_PASS) \
32291 $(POSTSTAGE1_FLAGS_TO_PASS) \
32292 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32293 @endif libiberty-bootstrap
32296 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32297 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32298 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32300 maybe-configure-stagefeedback-zlib:
32301 maybe-all-stagefeedback-zlib:
32302 maybe-clean-stagefeedback-zlib:
32305 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32306 configure-stagefeedback-zlib:
32307 @$(MAKE) stagefeedback-start
32308 @[ -f zlib/Makefile ] && exit 0 || : ; \
32309 r=`${PWD_COMMAND}`; export r; \
32310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32311 $(STAGE_HOST_EXPORTS) \
32312 echo Configuring stage feedback in zlib ; \
32313 cd zlib || exit 1; \
32314 case $(srcdir) in \
32316 srcdiroption="--srcdir=."; \
32318 /* | [A-Za-z]:[\\/]*) \
32319 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32320 libsrcdir="$$s/zlib";; \
32322 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32323 libsrcdir="$$s/zlib";; \
32325 $(SHELL) $${libsrcdir}/configure \
32326 $(HOST_CONFIGARGS) $${srcdiroption} \
32327 @stage2_werror_flag@
32329 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32330 all-stagefeedback-zlib: configure-stagefeedback-zlib
32331 @$(MAKE) stagefeedback-start
32332 @r=`${PWD_COMMAND}`; export r; \
32333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32334 $(STAGE_HOST_EXPORTS) \
32336 $(MAKE) $(FLAGS_TO_PASS) \
32337 $(POSTSTAGE1_FLAGS_TO_PASS) \
32338 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32340 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32341 clean-stagefeedback-zlib:
32342 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32344 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32346 $(MAKE) $(FLAGS_TO_PASS) \
32347 $(POSTSTAGE1_FLAGS_TO_PASS) \
32348 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32349 @endif zlib-bootstrap
32353 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32354 # only possibility, but now it conflicts with no-bootstrap rules
32360 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32361 distclean-stage1:: distclean-stagefeedback
32362 .PHONY: distclean-stagefeedback
32363 distclean-stagefeedback::
32364 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32365 rm -rf stagefeedback-*
32368 @endif gcc-bootstrap
32372 stagefeedback-start::
32373 @r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 cd stageprofile-gcc && \
32376 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32377 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32379 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32380 # only possibility, but now it conflicts with no-bootstrap rules
32383 @r=`${PWD_COMMAND}`; export r; \
32384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32387 echo "Bootstrapping the compiler"; \
32388 $(MAKE) stageprofile-bubble distclean-stagefeedback
32389 @r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32392 echo "Building runtime libraries and training compiler"; \
32393 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32394 @r=`${PWD_COMMAND}`; export r; \
32395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32398 echo "Building feedback based compiler"; \
32399 $(MAKE) stagefeedback-bubble stagefeedback-end
32400 @endif gcc-bootstrap
32403 NOTPARALLEL = .NOTPARALLEL
32405 do-distclean: distclean-stage1
32406 @endif gcc-bootstrap
32408 # --------------------------------------
32409 # Dependencies between different modules
32410 # --------------------------------------
32412 # Generic dependencies for target modules on host stuff, especially gcc
32414 configure-target-libstdc++-v3: maybe-all-gcc
32416 configure-target-libmudflap: maybe-all-gcc
32418 configure-target-newlib: maybe-all-gcc
32420 configure-target-libgfortran: maybe-all-gcc
32422 configure-target-libobjc: maybe-all-gcc
32424 configure-target-libtermcap: maybe-all-gcc
32426 configure-target-winsup: maybe-all-gcc
32428 configure-target-libgloss: maybe-all-gcc
32430 configure-target-libiberty: maybe-all-gcc
32432 configure-target-gperf: maybe-all-gcc
32434 configure-target-examples: maybe-all-gcc
32436 configure-target-libffi: maybe-all-gcc
32438 configure-target-libjava: maybe-all-gcc
32440 configure-target-zlib: maybe-all-gcc
32442 configure-target-boehm-gc: maybe-all-gcc
32444 configure-target-qthreads: maybe-all-gcc
32446 configure-target-rda: maybe-all-gcc
32448 configure-target-libada: maybe-all-gcc
32452 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32454 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32455 configure-target-gperf: maybe-all-target-libstdc++-v3
32457 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32459 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32461 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32463 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32464 configure-target-libjava: maybe-all-target-libstdc++-v3
32466 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32468 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32470 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32472 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32474 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32476 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32478 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32480 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32483 # There are two types of dependencies here: 'hard' dependencies, where one
32484 # module simply won't build without the other; and 'soft' dependencies, where
32485 # if the depended-on module is missing, the depending module will do without
32486 # or find a substitute somewhere (perhaps installed). Soft dependencies
32487 # are made here to depend on a 'maybe-' target. If you're not sure,
32488 # it's safer to use a soft dependency.
32494 # With all the machinery above in place, it is pretty easy to generate
32495 # dependencies. Host dependencies are a bit more complex because we have
32496 # to check for bootstrap/prebootstrap dependencies. To resolve
32497 # prebootstrap dependencies, prebootstrap modules are gathered in
32499 all-build-bison: maybe-all-build-texinfo
32500 all-build-byacc: maybe-all-build-texinfo
32501 all-build-flex: maybe-all-build-texinfo
32502 all-build-flex: maybe-all-build-bison
32503 all-build-flex: maybe-all-build-byacc
32504 all-build-flex: maybe-all-build-m4
32505 all-build-libiberty: maybe-all-build-texinfo
32506 all-build-m4: maybe-all-build-texinfo
32507 all-build-fixincludes: maybe-all-build-libiberty
32508 configure-gcc: maybe-configure-intl
32510 configure-stage1-gcc: maybe-configure-stage1-intl
32511 configure-stage2-gcc: maybe-configure-stage2-intl
32512 configure-stage3-gcc: maybe-configure-stage3-intl
32513 configure-stage4-gcc: maybe-configure-stage4-intl
32514 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32515 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32516 configure-gcc: maybe-configure-binutils
32518 configure-stage1-gcc: maybe-configure-stage1-binutils
32519 configure-stage2-gcc: maybe-configure-stage2-binutils
32520 configure-stage3-gcc: maybe-configure-stage3-binutils
32521 configure-stage4-gcc: maybe-configure-stage4-binutils
32522 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32523 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32524 configure-gcc: maybe-configure-gas
32526 configure-stage1-gcc: maybe-configure-stage1-gas
32527 configure-stage2-gcc: maybe-configure-stage2-gas
32528 configure-stage3-gcc: maybe-configure-stage3-gas
32529 configure-stage4-gcc: maybe-configure-stage4-gas
32530 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32531 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32532 configure-gcc: maybe-configure-ld
32534 configure-stage1-gcc: maybe-configure-stage1-ld
32535 configure-stage2-gcc: maybe-configure-stage2-ld
32536 configure-stage3-gcc: maybe-configure-stage3-ld
32537 configure-stage4-gcc: maybe-configure-stage4-ld
32538 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32539 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32540 all-gcc: all-libiberty
32542 all-stage1-gcc: all-stage1-libiberty
32543 all-stage2-gcc: all-stage2-libiberty
32544 all-stage3-gcc: all-stage3-libiberty
32545 all-stage4-gcc: all-stage4-libiberty
32546 all-stageprofile-gcc: all-stageprofile-libiberty
32547 all-stagefeedback-gcc: all-stagefeedback-libiberty
32548 all-gcc: maybe-all-intl
32550 all-stage1-gcc: maybe-all-stage1-intl
32551 all-stage2-gcc: maybe-all-stage2-intl
32552 all-stage3-gcc: maybe-all-stage3-intl
32553 all-stage4-gcc: maybe-all-stage4-intl
32554 all-stageprofile-gcc: maybe-all-stageprofile-intl
32555 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32556 all-gcc: maybe-all-build-texinfo
32558 all-stage1-gcc: maybe-all-build-texinfo
32559 all-stage2-gcc: maybe-all-build-texinfo
32560 all-stage3-gcc: maybe-all-build-texinfo
32561 all-stage4-gcc: maybe-all-build-texinfo
32562 all-stageprofile-gcc: maybe-all-build-texinfo
32563 all-stagefeedback-gcc: maybe-all-build-texinfo
32564 all-prebootstrap: maybe-all-build-texinfo
32565 all-gcc: maybe-all-build-bison
32567 all-stage1-gcc: maybe-all-build-bison
32568 all-stage2-gcc: maybe-all-build-bison
32569 all-stage3-gcc: maybe-all-build-bison
32570 all-stage4-gcc: maybe-all-build-bison
32571 all-stageprofile-gcc: maybe-all-build-bison
32572 all-stagefeedback-gcc: maybe-all-build-bison
32573 all-prebootstrap: maybe-all-build-bison
32574 all-gcc: maybe-all-build-byacc
32576 all-stage1-gcc: maybe-all-build-byacc
32577 all-stage2-gcc: maybe-all-build-byacc
32578 all-stage3-gcc: maybe-all-build-byacc
32579 all-stage4-gcc: maybe-all-build-byacc
32580 all-stageprofile-gcc: maybe-all-build-byacc
32581 all-stagefeedback-gcc: maybe-all-build-byacc
32582 all-prebootstrap: maybe-all-build-byacc
32583 all-gcc: maybe-all-build-flex
32585 all-stage1-gcc: maybe-all-build-flex
32586 all-stage2-gcc: maybe-all-build-flex
32587 all-stage3-gcc: maybe-all-build-flex
32588 all-stage4-gcc: maybe-all-build-flex
32589 all-stageprofile-gcc: maybe-all-build-flex
32590 all-stagefeedback-gcc: maybe-all-build-flex
32591 all-prebootstrap: maybe-all-build-flex
32592 all-gcc: maybe-all-build-libiberty
32594 all-stage1-gcc: maybe-all-build-libiberty
32595 all-stage2-gcc: maybe-all-build-libiberty
32596 all-stage3-gcc: maybe-all-build-libiberty
32597 all-stage4-gcc: maybe-all-build-libiberty
32598 all-stageprofile-gcc: maybe-all-build-libiberty
32599 all-stagefeedback-gcc: maybe-all-build-libiberty
32600 all-prebootstrap: maybe-all-build-libiberty
32601 all-gcc: maybe-all-build-fixincludes
32603 all-stage1-gcc: maybe-all-build-fixincludes
32604 all-stage2-gcc: maybe-all-build-fixincludes
32605 all-stage3-gcc: maybe-all-build-fixincludes
32606 all-stage4-gcc: maybe-all-build-fixincludes
32607 all-stageprofile-gcc: maybe-all-build-fixincludes
32608 all-stagefeedback-gcc: maybe-all-build-fixincludes
32609 all-prebootstrap: maybe-all-build-fixincludes
32610 all-gcc: maybe-all-binutils
32612 all-stage1-gcc: maybe-all-stage1-binutils
32613 all-stage2-gcc: maybe-all-stage2-binutils
32614 all-stage3-gcc: maybe-all-stage3-binutils
32615 all-stage4-gcc: maybe-all-stage4-binutils
32616 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32617 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32618 all-gcc: maybe-all-gas
32620 all-stage1-gcc: maybe-all-stage1-gas
32621 all-stage2-gcc: maybe-all-stage2-gas
32622 all-stage3-gcc: maybe-all-stage3-gas
32623 all-stage4-gcc: maybe-all-stage4-gas
32624 all-stageprofile-gcc: maybe-all-stageprofile-gas
32625 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32626 all-gcc: maybe-all-ld
32628 all-stage1-gcc: maybe-all-stage1-ld
32629 all-stage2-gcc: maybe-all-stage2-ld
32630 all-stage3-gcc: maybe-all-stage3-ld
32631 all-stage4-gcc: maybe-all-stage4-ld
32632 all-stageprofile-gcc: maybe-all-stageprofile-ld
32633 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32634 all-gcc: maybe-all-zlib
32636 all-stage1-gcc: maybe-all-stage1-zlib
32637 all-stage2-gcc: maybe-all-stage2-zlib
32638 all-stage3-gcc: maybe-all-stage3-zlib
32639 all-stage4-gcc: maybe-all-stage4-zlib
32640 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32641 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32642 all-gcc: all-libcpp
32644 all-stage1-gcc: all-stage1-libcpp
32645 all-stage2-gcc: all-stage2-libcpp
32646 all-stage3-gcc: all-stage3-libcpp
32647 all-stage4-gcc: all-stage4-libcpp
32648 all-stageprofile-gcc: all-stageprofile-libcpp
32649 all-stagefeedback-gcc: all-stagefeedback-libcpp
32650 all-gcc: maybe-all-build-libiberty
32652 all-stage1-gcc: maybe-all-build-libiberty
32653 all-stage2-gcc: maybe-all-build-libiberty
32654 all-stage3-gcc: maybe-all-build-libiberty
32655 all-stage4-gcc: maybe-all-build-libiberty
32656 all-stageprofile-gcc: maybe-all-build-libiberty
32657 all-stagefeedback-gcc: maybe-all-build-libiberty
32658 all-prebootstrap: maybe-all-build-libiberty
32659 configure-libcpp: configure-libiberty
32661 configure-stage1-libcpp: configure-stage1-libiberty
32662 configure-stage2-libcpp: configure-stage2-libiberty
32663 configure-stage3-libcpp: configure-stage3-libiberty
32664 configure-stage4-libcpp: configure-stage4-libiberty
32665 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32666 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32667 configure-libcpp: maybe-configure-intl
32669 configure-stage1-libcpp: maybe-configure-stage1-intl
32670 configure-stage2-libcpp: maybe-configure-stage2-intl
32671 configure-stage3-libcpp: maybe-configure-stage3-intl
32672 configure-stage4-libcpp: maybe-configure-stage4-intl
32673 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32674 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32675 all-libcpp: all-libiberty
32677 all-stage1-libcpp: all-stage1-libiberty
32678 all-stage2-libcpp: all-stage2-libiberty
32679 all-stage3-libcpp: all-stage3-libiberty
32680 all-stage4-libcpp: all-stage4-libiberty
32681 all-stageprofile-libcpp: all-stageprofile-libiberty
32682 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32683 all-libcpp: maybe-all-intl
32685 all-stage1-libcpp: maybe-all-stage1-intl
32686 all-stage2-libcpp: maybe-all-stage2-intl
32687 all-stage3-libcpp: maybe-all-stage3-intl
32688 all-stage4-libcpp: maybe-all-stage4-intl
32689 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32690 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32691 configure-gdb: maybe-configure-itcl
32692 configure-gdb: maybe-configure-tcl
32693 configure-gdb: maybe-configure-tk
32694 configure-gdb: maybe-configure-sim
32695 all-gdb: maybe-all-libiberty
32696 all-gdb: maybe-all-opcodes
32697 all-gdb: maybe-all-bfd
32698 all-gdb: maybe-all-readline
32699 all-gdb: maybe-all-build-bison
32700 all-gdb: maybe-all-build-byacc
32701 all-gdb: maybe-all-sim
32702 install-gdb: maybe-install-tcl
32703 install-gdb: maybe-install-tk
32704 install-gdb: maybe-install-itcl
32705 install-gdb: maybe-install-libgui
32706 configure-libgui: maybe-configure-tcl
32707 configure-libgui: maybe-configure-tk
32708 all-libgui: maybe-all-tcl
32709 all-libgui: maybe-all-tk
32710 all-libgui: maybe-all-itcl
32711 configure-bfd: configure-libiberty
32713 configure-stage1-bfd: configure-stage1-libiberty
32714 configure-stage2-bfd: configure-stage2-libiberty
32715 configure-stage3-bfd: configure-stage3-libiberty
32716 configure-stage4-bfd: configure-stage4-libiberty
32717 configure-stageprofile-bfd: configure-stageprofile-libiberty
32718 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32719 all-bfd: maybe-all-libiberty
32721 all-stage1-bfd: maybe-all-stage1-libiberty
32722 all-stage2-bfd: maybe-all-stage2-libiberty
32723 all-stage3-bfd: maybe-all-stage3-libiberty
32724 all-stage4-bfd: maybe-all-stage4-libiberty
32725 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32726 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32727 all-bfd: maybe-all-intl
32729 all-stage1-bfd: maybe-all-stage1-intl
32730 all-stage2-bfd: maybe-all-stage2-intl
32731 all-stage3-bfd: maybe-all-stage3-intl
32732 all-stage4-bfd: maybe-all-stage4-intl
32733 all-stageprofile-bfd: maybe-all-stageprofile-intl
32734 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32735 all-binutils: maybe-all-libiberty
32737 all-stage1-binutils: maybe-all-stage1-libiberty
32738 all-stage2-binutils: maybe-all-stage2-libiberty
32739 all-stage3-binutils: maybe-all-stage3-libiberty
32740 all-stage4-binutils: maybe-all-stage4-libiberty
32741 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32742 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32743 all-binutils: maybe-all-opcodes
32745 all-stage1-binutils: maybe-all-stage1-opcodes
32746 all-stage2-binutils: maybe-all-stage2-opcodes
32747 all-stage3-binutils: maybe-all-stage3-opcodes
32748 all-stage4-binutils: maybe-all-stage4-opcodes
32749 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32750 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32751 all-binutils: maybe-all-bfd
32753 all-stage1-binutils: maybe-all-stage1-bfd
32754 all-stage2-binutils: maybe-all-stage2-bfd
32755 all-stage3-binutils: maybe-all-stage3-bfd
32756 all-stage4-binutils: maybe-all-stage4-bfd
32757 all-stageprofile-binutils: maybe-all-stageprofile-bfd
32758 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
32759 all-binutils: maybe-all-build-flex
32761 all-stage1-binutils: maybe-all-build-flex
32762 all-stage2-binutils: maybe-all-build-flex
32763 all-stage3-binutils: maybe-all-build-flex
32764 all-stage4-binutils: maybe-all-build-flex
32765 all-stageprofile-binutils: maybe-all-build-flex
32766 all-stagefeedback-binutils: maybe-all-build-flex
32767 all-prebootstrap: maybe-all-build-flex
32768 all-binutils: maybe-all-build-bison
32770 all-stage1-binutils: maybe-all-build-bison
32771 all-stage2-binutils: maybe-all-build-bison
32772 all-stage3-binutils: maybe-all-build-bison
32773 all-stage4-binutils: maybe-all-build-bison
32774 all-stageprofile-binutils: maybe-all-build-bison
32775 all-stagefeedback-binutils: maybe-all-build-bison
32776 all-prebootstrap: maybe-all-build-bison
32777 all-binutils: maybe-all-build-byacc
32779 all-stage1-binutils: maybe-all-build-byacc
32780 all-stage2-binutils: maybe-all-build-byacc
32781 all-stage3-binutils: maybe-all-build-byacc
32782 all-stage4-binutils: maybe-all-build-byacc
32783 all-stageprofile-binutils: maybe-all-build-byacc
32784 all-stagefeedback-binutils: maybe-all-build-byacc
32785 all-prebootstrap: maybe-all-build-byacc
32786 all-binutils: maybe-all-intl
32788 all-stage1-binutils: maybe-all-stage1-intl
32789 all-stage2-binutils: maybe-all-stage2-intl
32790 all-stage3-binutils: maybe-all-stage3-intl
32791 all-stage4-binutils: maybe-all-stage4-intl
32792 all-stageprofile-binutils: maybe-all-stageprofile-intl
32793 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
32794 install-binutils: maybe-install-opcodes
32795 install-opcodes: maybe-install-bfd
32796 all-gas: maybe-all-libiberty
32798 all-stage1-gas: maybe-all-stage1-libiberty
32799 all-stage2-gas: maybe-all-stage2-libiberty
32800 all-stage3-gas: maybe-all-stage3-libiberty
32801 all-stage4-gas: maybe-all-stage4-libiberty
32802 all-stageprofile-gas: maybe-all-stageprofile-libiberty
32803 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
32804 all-gas: maybe-all-opcodes
32806 all-stage1-gas: maybe-all-stage1-opcodes
32807 all-stage2-gas: maybe-all-stage2-opcodes
32808 all-stage3-gas: maybe-all-stage3-opcodes
32809 all-stage4-gas: maybe-all-stage4-opcodes
32810 all-stageprofile-gas: maybe-all-stageprofile-opcodes
32811 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
32812 all-gas: maybe-all-bfd
32814 all-stage1-gas: maybe-all-stage1-bfd
32815 all-stage2-gas: maybe-all-stage2-bfd
32816 all-stage3-gas: maybe-all-stage3-bfd
32817 all-stage4-gas: maybe-all-stage4-bfd
32818 all-stageprofile-gas: maybe-all-stageprofile-bfd
32819 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
32820 all-gas: maybe-all-intl
32822 all-stage1-gas: maybe-all-stage1-intl
32823 all-stage2-gas: maybe-all-stage2-intl
32824 all-stage3-gas: maybe-all-stage3-intl
32825 all-stage4-gas: maybe-all-stage4-intl
32826 all-stageprofile-gas: maybe-all-stageprofile-intl
32827 all-stagefeedback-gas: maybe-all-stagefeedback-intl
32828 all-gprof: maybe-all-libiberty
32829 all-gprof: maybe-all-bfd
32830 all-gprof: maybe-all-opcodes
32831 all-gprof: maybe-all-intl
32832 all-ld: maybe-all-libiberty
32834 all-stage1-ld: maybe-all-stage1-libiberty
32835 all-stage2-ld: maybe-all-stage2-libiberty
32836 all-stage3-ld: maybe-all-stage3-libiberty
32837 all-stage4-ld: maybe-all-stage4-libiberty
32838 all-stageprofile-ld: maybe-all-stageprofile-libiberty
32839 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
32840 all-ld: maybe-all-bfd
32842 all-stage1-ld: maybe-all-stage1-bfd
32843 all-stage2-ld: maybe-all-stage2-bfd
32844 all-stage3-ld: maybe-all-stage3-bfd
32845 all-stage4-ld: maybe-all-stage4-bfd
32846 all-stageprofile-ld: maybe-all-stageprofile-bfd
32847 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
32848 all-ld: maybe-all-opcodes
32850 all-stage1-ld: maybe-all-stage1-opcodes
32851 all-stage2-ld: maybe-all-stage2-opcodes
32852 all-stage3-ld: maybe-all-stage3-opcodes
32853 all-stage4-ld: maybe-all-stage4-opcodes
32854 all-stageprofile-ld: maybe-all-stageprofile-opcodes
32855 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
32856 all-ld: maybe-all-build-bison
32858 all-stage1-ld: maybe-all-build-bison
32859 all-stage2-ld: maybe-all-build-bison
32860 all-stage3-ld: maybe-all-build-bison
32861 all-stage4-ld: maybe-all-build-bison
32862 all-stageprofile-ld: maybe-all-build-bison
32863 all-stagefeedback-ld: maybe-all-build-bison
32864 all-prebootstrap: maybe-all-build-bison
32865 all-ld: maybe-all-build-byacc
32867 all-stage1-ld: maybe-all-build-byacc
32868 all-stage2-ld: maybe-all-build-byacc
32869 all-stage3-ld: maybe-all-build-byacc
32870 all-stage4-ld: maybe-all-build-byacc
32871 all-stageprofile-ld: maybe-all-build-byacc
32872 all-stagefeedback-ld: maybe-all-build-byacc
32873 all-prebootstrap: maybe-all-build-byacc
32874 all-ld: maybe-all-build-flex
32876 all-stage1-ld: maybe-all-build-flex
32877 all-stage2-ld: maybe-all-build-flex
32878 all-stage3-ld: maybe-all-build-flex
32879 all-stage4-ld: maybe-all-build-flex
32880 all-stageprofile-ld: maybe-all-build-flex
32881 all-stagefeedback-ld: maybe-all-build-flex
32882 all-prebootstrap: maybe-all-build-flex
32883 all-ld: maybe-all-intl
32885 all-stage1-ld: maybe-all-stage1-intl
32886 all-stage2-ld: maybe-all-stage2-intl
32887 all-stage3-ld: maybe-all-stage3-intl
32888 all-stage4-ld: maybe-all-stage4-intl
32889 all-stageprofile-ld: maybe-all-stageprofile-intl
32890 all-stagefeedback-ld: maybe-all-stagefeedback-intl
32891 all-opcodes: maybe-all-bfd
32893 all-stage1-opcodes: maybe-all-stage1-bfd
32894 all-stage2-opcodes: maybe-all-stage2-bfd
32895 all-stage3-opcodes: maybe-all-stage3-bfd
32896 all-stage4-opcodes: maybe-all-stage4-bfd
32897 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
32898 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
32899 all-opcodes: maybe-all-libiberty
32901 all-stage1-opcodes: maybe-all-stage1-libiberty
32902 all-stage2-opcodes: maybe-all-stage2-libiberty
32903 all-stage3-opcodes: maybe-all-stage3-libiberty
32904 all-stage4-opcodes: maybe-all-stage4-libiberty
32905 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
32906 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
32907 all-dejagnu: maybe-all-tcl
32908 all-dejagnu: maybe-all-expect
32909 all-dejagnu: maybe-all-tk
32910 configure-expect: maybe-configure-tcl
32911 configure-expect: maybe-configure-tk
32912 all-expect: maybe-all-tcl
32913 all-expect: maybe-all-tk
32914 configure-itcl: maybe-configure-tcl
32915 configure-itcl: maybe-configure-tk
32916 all-itcl: maybe-all-tcl
32917 all-itcl: maybe-all-tk
32918 install-itcl: maybe-install-tcl
32919 configure-tk: maybe-configure-tcl
32920 all-tk: maybe-all-tcl
32921 all-sid: maybe-all-libiberty
32922 all-sid: maybe-all-bfd
32923 all-sid: maybe-all-opcodes
32924 all-sid: maybe-all-tcl
32925 all-sid: maybe-all-tk
32926 install-sid: maybe-install-tcl
32927 install-sid: maybe-install-tk
32928 all-sim: maybe-all-libiberty
32929 all-sim: maybe-all-bfd
32930 all-sim: maybe-all-opcodes
32931 all-sim: maybe-all-readline
32932 all-sim: maybe-configure-gdb
32933 all-fastjar: maybe-all-zlib
32934 all-fastjar: maybe-all-build-texinfo
32935 all-fastjar: maybe-all-libiberty
32936 all-autoconf: maybe-all-m4
32937 all-autoconf: maybe-all-build-texinfo
32938 all-automake: maybe-all-m4
32939 all-automake: maybe-all-build-texinfo
32940 all-automake: maybe-all-autoconf
32941 all-bison: maybe-all-intl
32942 all-bison: maybe-all-build-texinfo
32943 all-diff: maybe-all-intl
32944 all-diff: maybe-all-build-texinfo
32945 all-fileutils: maybe-all-intl
32946 all-fileutils: maybe-all-build-texinfo
32947 all-flex: maybe-all-build-bison
32948 all-flex: maybe-all-build-byacc
32949 all-flex: maybe-all-intl
32950 all-flex: maybe-all-m4
32951 all-flex: maybe-all-build-texinfo
32952 all-gzip: maybe-all-intl
32953 all-gzip: maybe-all-zlib
32954 all-gzip: maybe-all-build-texinfo
32955 all-hello: maybe-all-intl
32956 all-hello: maybe-all-build-texinfo
32957 all-m4: maybe-all-intl
32958 all-m4: maybe-all-build-texinfo
32959 all-make: maybe-all-intl
32960 all-make: maybe-all-build-texinfo
32961 all-patch: maybe-all-build-texinfo
32962 all-make: maybe-all-build-texinfo
32963 all-prms: maybe-all-libiberty
32964 all-recode: maybe-all-build-texinfo
32965 all-sed: maybe-all-build-texinfo
32966 all-send-pr: maybe-all-prms
32967 all-tar: maybe-all-build-texinfo
32968 all-uudecode: maybe-all-build-texinfo
32969 configure-target-boehm-gc: maybe-configure-target-qthreads
32970 configure-target-fastjar: maybe-configure-target-zlib
32971 all-target-fastjar: maybe-all-target-zlib
32972 all-target-fastjar: maybe-all-target-libiberty
32973 configure-target-libjava: maybe-configure-target-zlib
32974 configure-target-libjava: maybe-configure-target-boehm-gc
32975 configure-target-libjava: maybe-configure-target-qthreads
32976 configure-target-libjava: maybe-configure-target-libffi
32977 all-target-libjava: maybe-all-fastjar
32978 all-target-libjava: maybe-all-target-zlib
32979 all-target-libjava: maybe-all-target-boehm-gc
32980 all-target-libjava: maybe-all-target-qthreads
32981 all-target-libjava: maybe-all-target-libffi
32982 all-target-libobjc: maybe-all-target-libiberty
32983 all-target-libstdc++-v3: maybe-all-target-libiberty
32984 all-target-libgloss: maybe-configure-target-newlib
32985 all-target-winsup: maybe-all-target-libiberty
32986 all-target-winsup: maybe-all-target-libtermcap
32989 # Non-toplevel bootstrap rules must depend on several packages, to be built
32990 # before gcc. Another wart that will go away, hopefully soon.
32991 @if gcc-no-bootstrap
32993 all-prebootstrap: maybe-all-bfd
32994 all-prebootstrap: maybe-all-opcodes
32995 all-prebootstrap: maybe-all-binutils
32996 all-prebootstrap: maybe-all-gas
32997 all-prebootstrap: maybe-all-intl
32998 all-prebootstrap: maybe-all-ld
32999 all-prebootstrap: maybe-all-libcpp
33000 all-prebootstrap: maybe-all-libiberty
33001 all-prebootstrap: maybe-all-zlib
33002 @endif gcc-no-bootstrap
33005 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
33007 # Serialization dependencies. Host configures don't work well in parallel to
33008 # each other, due to contention over config.cache. Target configures and
33009 # build configures are similar.
33010 @serialization_dependencies@
33012 # --------------------------------
33013 # Regenerating top level configury
33014 # --------------------------------
33016 # Multilib.out tells target dirs what multilibs they should build.
33017 # There is really only one copy. We use the 'timestamp' method to
33018 # work around various timestamp bugs on some systems.
33019 # We use move-if-change so that it's only considered updated when it
33020 # actually changes, because it has to depend on a phony target.
33021 multilib.out: maybe-all-gcc
33022 @r=`${PWD_COMMAND}`; export r; \
33023 echo "Checking multilib configuration..."; \
33024 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
33025 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
33027 # Rebuilding Makefile.in, using autogen.
33029 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
33030 cd $(srcdir) && $(AUTOGEN) Makefile.def
33032 # Rebuilding Makefile.
33033 Makefile: $(srcdir)/Makefile.in config.status
33034 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
33036 config.status: configure $(gcc_version_trigger)
33037 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
33039 # Rebuilding configure.
33040 AUTOCONF = autoconf
33041 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
33042 cd $(srcdir) && $(AUTOCONF)
33044 # ------------------------------
33045 # Special directives to GNU Make
33046 # ------------------------------
33048 # Don't pass command-line variables to submakes.
33052 # end of Makefile.in