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 = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
155 CC="$(CC)"; export CC; \
156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158 CXX="$(CXX)"; export CXX; \
159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160 AR="$(AR)"; export AR; \
161 AS="$(AS)"; export AS; \
162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164 LD="$(LD)"; export LD; \
165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166 NM="$(NM)"; export NM; \
167 RANLIB="$(RANLIB)"; export RANLIB; \
168 WINDRES="$(WINDRES)"; export WINDRES; \
169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173 GMPINC="$(HOST_GMPINC)"; export GMPINC;
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 NM="$(NM_FOR_TARGET)"; export NM; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
209 RAW_CXX_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
214 NORMAL_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX="$(CXX_FOR_TARGET)"; export CXX;
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
226 SHELL = @config_shell@
228 # pwd command to use. Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters. The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
236 # compilers to use to create programs which must be run in the build
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
248 CONFIGURED_BISON = @CONFIGURED_BISON@
249 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
250 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
252 echo ${CONFIGURED_BISON} ; \
255 CONFIGURED_YACC = @CONFIGURED_YACC@
256 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
258 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
261 echo ${CONFIGURED_YACC} ; \
264 CONFIGURED_FLEX = @CONFIGURED_FLEX@
265 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_FLEX} ; fi`
269 CONFIGURED_LEX = @CONFIGURED_LEX@
270 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
272 else echo ${CONFIGURED_LEX} ; fi`
274 CONFIGURED_M4 = @CONFIGURED_M4@
275 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
276 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
277 else echo ${CONFIGURED_M4} ; fi`
279 # For an installed makeinfo, we require it to be from texinfo 4.2 or
280 # higher, else we use the "missing" dummy. We also pass the subdirectory
281 # makeinfo even if only the Makefile is there, because Texinfo builds its
282 # manual when made, and it requires its own version.
283 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
284 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
286 else if (${CONFIGURED_MAKEINFO} --version \
287 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
288 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
290 # This just becomes part of the MAKEINFO definition passed down to
291 # sub-makes. It lets flags be given on the command line while still
292 # using the makeinfo from the object tree.
293 # (Default to avoid splitting info files by setting the threshold high.)
294 MAKEINFOFLAGS = --split-size=5000000
296 EXPECT = `if [ -f $$r/expect/expect ] ; \
297 then echo $$r/expect/expect ; \
298 else echo expect ; fi`
300 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
301 then echo $$s/dejagnu/runtest ; \
302 else echo runtest ; fi`
304 # ---------------------------------------------
305 # Programs producing files for the HOST machine
306 # ---------------------------------------------
308 # This is the list of directories that may be needed in RPATH_ENVVAR
309 # so that programs built for the host machine work.
310 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
319 LIBCFLAGS = $(CFLAGS)
322 CXXFLAGS = @CXXFLAGS@
323 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
338 # -----------------------------------------------
339 # Programs producing files for the TARGET machine
340 # -----------------------------------------------
342 # This is the list of directories that may be needed in RPATH_ENVVAR
343 # so that prorgams built for the target machine work.
344 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
346 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
348 AR_FOR_TARGET=@AR_FOR_TARGET@
349 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
350 USUAL_AR_FOR_TARGET = ` \
351 if [ -f $$r/binutils/ar ] ; then \
352 echo $$r/binutils/ar ; \
354 if [ '$(host)' = '$(target)' ] ; then \
357 echo $(CONFIGURED_AR_FOR_TARGET) ; \
361 AS_FOR_TARGET=@AS_FOR_TARGET@
362 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
363 USUAL_AS_FOR_TARGET = ` \
364 if [ -f $$r/gas/as-new ] ; then \
365 echo $$r/gas/as-new ; \
366 elif [ -f $$r/gcc/xgcc ]; then \
367 $(CC_FOR_TARGET) -print-prog-name=as ; \
369 if [ '$(host)' = '$(target)' ] ; then \
372 echo $(CONFIGURED_AS_FOR_TARGET) ; \
376 CC_FOR_TARGET = @CC_FOR_TARGET@
377 # During gcc bootstrap, if we use some random cc for stage1 then
378 # CFLAGS will be just -g. We want to ensure that TARGET libraries
379 # (which we know are built with gcc) are built with optimizations so
380 # prepend -O2 when setting CFLAGS_FOR_TARGET.
381 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
382 # If GCC_FOR_TARGET is not overriden on the command line, then this
383 # variable is passed down to the gcc Makefile, where it is used to
384 # build libgcc2.a. We define it here so that it can itself be
385 # overridden on the command line.
386 GCC_FOR_TARGET=@GCC_FOR_TARGET@
387 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
388 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
390 CXX_FOR_TARGET = @CXX_FOR_TARGET@
391 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
392 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
393 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
394 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
395 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
397 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
398 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
399 USUAL_DLLTOOL_FOR_TARGET = ` \
400 if [ -f $$r/binutils/dlltool ] ; then \
401 echo $$r/binutils/dlltool ; \
403 if [ '$(host)' = '$(target)' ] ; then \
406 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
410 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
411 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
413 LD_FOR_TARGET=@LD_FOR_TARGET@
414 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
415 USUAL_LD_FOR_TARGET = ` \
416 if [ -f $$r/ld/ld-new ] ; then \
417 echo $$r/ld/ld-new ; \
418 elif [ -f $$r/gcc/xgcc ]; then \
419 $(CC_FOR_TARGET) -print-prog-name=ld ; \
421 if [ '$(host)' = '$(target)' ] ; then \
424 echo $(CONFIGURED_LD_FOR_TARGET) ; \
430 NM_FOR_TARGET=@NM_FOR_TARGET@
431 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
432 USUAL_NM_FOR_TARGET = ` \
433 if [ -f $$r/binutils/nm-new ] ; then \
434 echo $$r/binutils/nm-new ; \
435 elif [ -f $$r/gcc/xgcc ]; then \
436 $(CC_FOR_TARGET) -print-prog-name=nm ; \
438 if [ '$(host)' = '$(target)' ] ; then \
441 echo $(CONFIGURED_NM_FOR_TARGET) ; \
445 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
446 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
447 USUAL_RANLIB_FOR_TARGET = ` \
448 if [ -f $$r/binutils/ranlib ] ; then \
449 echo $$r/binutils/ranlib ; \
451 if [ '$(host)' = '$(target)' ] ; then \
452 if [ x'$(RANLIB)' != x ]; then \
458 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
462 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
463 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
464 USUAL_WINDRES_FOR_TARGET = ` \
465 if [ -f $$r/binutils/windres ] ; then \
466 echo $$r/binutils/windres ; \
468 if [ '$(host)' = '$(target)' ] ; then \
471 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
477 # ------------------------------------
478 # Miscellaneous targets and flag lists
479 # ------------------------------------
482 # Let's leave this as the first rule in the file until toplevel
483 # bootstrap is fleshed out completely.
485 @echo Toplevel bootstrap temporarily out of commission.
486 @echo Please reconfigure without --enable-bootstrap
489 # The first rule in the file had better be this one. Don't put any above it.
490 # This lives here to allow makefile fragments to contain dependencies.
493 #### host and target specific makefile fragments come in here.
494 @target_makefile_frag@
500 # Flags to pass down to all sub-makes.
501 BASE_FLAGS_TO_PASS = \
502 "DESTDIR=$(DESTDIR)" \
503 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
504 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
506 "datadir=$(datadir)" \
507 "exec_prefix=$(exec_prefix)" \
508 "includedir=$(includedir)" \
509 "infodir=$(infodir)" \
511 "libexecdir=$(libexecdir)" \
512 "lispdir=$(lispdir)" \
513 "libstdcxx_incdir=$(libstdcxx_incdir)" \
514 "libsubdir=$(libsubdir)" \
515 "localstatedir=$(localstatedir)" \
517 "oldincludedir=$(oldincludedir)" \
519 "sbindir=$(sbindir)" \
520 "sharedstatedir=$(sharedstatedir)" \
521 "sysconfdir=$(sysconfdir)" \
522 "tooldir=$(tooldir)" \
523 "build_tooldir=$(build_tooldir)" \
524 "gxx_include_dir=$(gxx_include_dir)" \
525 "gcc_version=$(gcc_version)" \
526 "gcc_version_trigger=$(gcc_version_trigger)" \
527 "target_alias=$(target_alias)" \
529 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
530 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
533 "INSTALL=$(INSTALL)" \
534 "INSTALL_DATA=$(INSTALL_DATA)" \
535 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
536 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
540 "RUNTEST=$(RUNTEST)" \
541 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
544 "AR_FLAGS=$(AR_FLAGS)" \
546 "CXXFLAGS=$(CXXFLAGS)" \
547 "LDFLAGS=$(LDFLAGS)" \
548 "LIBCFLAGS=$(LIBCFLAGS)" \
549 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
550 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
551 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
552 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
553 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
554 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
555 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
556 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
557 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
558 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
559 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
560 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
561 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
562 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
563 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
564 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
565 "CONFIG_SHELL=$(SHELL)" \
566 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
568 # For any flags above that may contain shell code that varies from one
569 # target library to another. When doing recursive invocations of the
570 # top-level Makefile, we don't want the outer make to evaluate them,
571 # so we pass these variables down unchanged. They must not contain
572 # single nor double quotes.
574 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
575 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
577 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
579 # Flags to pass down to most sub-makes, in which we're building with
580 # the host environment.
586 'DLLTOOL=$(DLLTOOL)' \
592 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
594 # Flags that are concerned with the location of the X11 include files
597 # NOTE: until the top-level is getting the values via autoconf, it only
598 # causes problems to have this top-level Makefile overriding the autoconf-set
599 # values in child directories. Only variables that don't conflict with
600 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
602 X11_FLAGS_TO_PASS = \
603 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
604 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
606 # Flags to pass down to makes which are built with the target environment.
607 # The double $ decreases the length of the command line; the variables
608 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
609 EXTRA_TARGET_FLAGS = \
610 'AR=$$(AR_FOR_TARGET)' \
611 'AS=$$(AS_FOR_TARGET)' \
612 'CC=$$(CC_FOR_TARGET)' \
613 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
614 'CXX=$$(CXX_FOR_TARGET)' \
615 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
616 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
617 'LD=$$(LD_FOR_TARGET)' \
618 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
619 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
620 'NM=$$(NM_FOR_TARGET)' \
621 'RANLIB=$$(RANLIB_FOR_TARGET)' \
622 'WINDRES=$$(WINDRES_FOR_TARGET)'
624 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
626 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
627 # unfortunately needs the native compiler and the target ar and
629 # If any variables are added here, they must be added to do-*, below.
630 # The BUILD_* variables are a special case, which are used for the gcc
631 # cross-building scheme.
633 'BUILD_PREFIX=$(BUILD_PREFIX)' \
634 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
635 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
636 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
637 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
647 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
649 .PHONY: configure-host
651 maybe-configure-ash \
652 maybe-configure-autoconf \
653 maybe-configure-automake \
654 maybe-configure-bash \
655 maybe-configure-bfd \
656 maybe-configure-opcodes \
657 maybe-configure-binutils \
658 maybe-configure-bison \
659 maybe-configure-byacc \
660 maybe-configure-bzip2 \
661 maybe-configure-dejagnu \
662 maybe-configure-diff \
663 maybe-configure-dosutils \
664 maybe-configure-etc \
665 maybe-configure-fastjar \
666 maybe-configure-fileutils \
667 maybe-configure-findutils \
668 maybe-configure-find \
669 maybe-configure-flex \
670 maybe-configure-gas \
671 maybe-configure-gcc \
672 maybe-configure-gawk \
673 maybe-configure-gettext \
674 maybe-configure-gnuserv \
675 maybe-configure-gprof \
676 maybe-configure-gzip \
677 maybe-configure-hello \
678 maybe-configure-indent \
679 maybe-configure-intl \
680 maybe-configure-tcl \
681 maybe-configure-itcl \
683 maybe-configure-libcpp \
684 maybe-configure-libgui \
685 maybe-configure-libbanshee \
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
767 maybe-all-fileutils \
768 maybe-all-findutils \
786 maybe-all-libbanshee \
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-libbanshee \
884 maybe-info-libiberty \
893 maybe-info-readline \
898 maybe-info-shellutils \
903 maybe-info-textutils \
905 maybe-info-uudecode \
913 maybe-info-libtermcap \
918 maybe-info-target-libstdc++-v3 \
919 maybe-info-target-libmudflap \
920 maybe-info-target-newlib \
921 maybe-info-target-libgfortran \
922 maybe-info-target-libobjc \
923 maybe-info-target-libtermcap \
924 maybe-info-target-winsup \
925 maybe-info-target-libgloss \
926 maybe-info-target-libiberty \
927 maybe-info-target-gperf \
928 maybe-info-target-examples \
929 maybe-info-target-libffi \
930 maybe-info-target-libjava \
931 maybe-info-target-zlib \
932 maybe-info-target-boehm-gc \
933 maybe-info-target-qthreads \
934 maybe-info-target-rda \
935 maybe-info-target-libada
938 do-dvi: unstage dvi-host dvi-target stage
957 maybe-dvi-fileutils \
958 maybe-dvi-findutils \
976 maybe-dvi-libbanshee \
977 maybe-dvi-libiberty \
991 maybe-dvi-shellutils \
996 maybe-dvi-textutils \
1006 maybe-dvi-libtermcap \
1011 maybe-dvi-target-libstdc++-v3 \
1012 maybe-dvi-target-libmudflap \
1013 maybe-dvi-target-newlib \
1014 maybe-dvi-target-libgfortran \
1015 maybe-dvi-target-libobjc \
1016 maybe-dvi-target-libtermcap \
1017 maybe-dvi-target-winsup \
1018 maybe-dvi-target-libgloss \
1019 maybe-dvi-target-libiberty \
1020 maybe-dvi-target-gperf \
1021 maybe-dvi-target-examples \
1022 maybe-dvi-target-libffi \
1023 maybe-dvi-target-libjava \
1024 maybe-dvi-target-zlib \
1025 maybe-dvi-target-boehm-gc \
1026 maybe-dvi-target-qthreads \
1027 maybe-dvi-target-rda \
1028 maybe-dvi-target-libada
1031 do-TAGS: unstage TAGS-host TAGS-target stage
1036 maybe-TAGS-autoconf \
1037 maybe-TAGS-automake \
1040 maybe-TAGS-opcodes \
1041 maybe-TAGS-binutils \
1045 maybe-TAGS-dejagnu \
1047 maybe-TAGS-dosutils \
1049 maybe-TAGS-fastjar \
1050 maybe-TAGS-fileutils \
1051 maybe-TAGS-findutils \
1057 maybe-TAGS-gettext \
1058 maybe-TAGS-gnuserv \
1069 maybe-TAGS-libbanshee \
1070 maybe-TAGS-libiberty \
1071 maybe-TAGS-libtool \
1074 maybe-TAGS-mmalloc \
1079 maybe-TAGS-readline \
1080 maybe-TAGS-release \
1083 maybe-TAGS-send-pr \
1084 maybe-TAGS-shellutils \
1088 maybe-TAGS-texinfo \
1089 maybe-TAGS-textutils \
1091 maybe-TAGS-uudecode \
1099 maybe-TAGS-libtermcap \
1104 maybe-TAGS-target-libstdc++-v3 \
1105 maybe-TAGS-target-libmudflap \
1106 maybe-TAGS-target-newlib \
1107 maybe-TAGS-target-libgfortran \
1108 maybe-TAGS-target-libobjc \
1109 maybe-TAGS-target-libtermcap \
1110 maybe-TAGS-target-winsup \
1111 maybe-TAGS-target-libgloss \
1112 maybe-TAGS-target-libiberty \
1113 maybe-TAGS-target-gperf \
1114 maybe-TAGS-target-examples \
1115 maybe-TAGS-target-libffi \
1116 maybe-TAGS-target-libjava \
1117 maybe-TAGS-target-zlib \
1118 maybe-TAGS-target-boehm-gc \
1119 maybe-TAGS-target-qthreads \
1120 maybe-TAGS-target-rda \
1121 maybe-TAGS-target-libada
1123 .PHONY: do-install-info
1124 do-install-info: unstage install-info-host install-info-target stage
1126 .PHONY: install-info-host
1127 install-info-host: \
1128 maybe-install-info-ash \
1129 maybe-install-info-autoconf \
1130 maybe-install-info-automake \
1131 maybe-install-info-bash \
1132 maybe-install-info-bfd \
1133 maybe-install-info-opcodes \
1134 maybe-install-info-binutils \
1135 maybe-install-info-bison \
1136 maybe-install-info-byacc \
1137 maybe-install-info-bzip2 \
1138 maybe-install-info-dejagnu \
1139 maybe-install-info-diff \
1140 maybe-install-info-dosutils \
1141 maybe-install-info-etc \
1142 maybe-install-info-fastjar \
1143 maybe-install-info-fileutils \
1144 maybe-install-info-findutils \
1145 maybe-install-info-find \
1146 maybe-install-info-flex \
1147 maybe-install-info-gas \
1148 maybe-install-info-gcc \
1149 maybe-install-info-gawk \
1150 maybe-install-info-gettext \
1151 maybe-install-info-gnuserv \
1152 maybe-install-info-gprof \
1153 maybe-install-info-gzip \
1154 maybe-install-info-hello \
1155 maybe-install-info-indent \
1156 maybe-install-info-intl \
1157 maybe-install-info-tcl \
1158 maybe-install-info-itcl \
1159 maybe-install-info-ld \
1160 maybe-install-info-libcpp \
1161 maybe-install-info-libgui \
1162 maybe-install-info-libbanshee \
1163 maybe-install-info-libiberty \
1164 maybe-install-info-libtool \
1165 maybe-install-info-m4 \
1166 maybe-install-info-make \
1167 maybe-install-info-mmalloc \
1168 maybe-install-info-patch \
1169 maybe-install-info-perl \
1170 maybe-install-info-prms \
1171 maybe-install-info-rcs \
1172 maybe-install-info-readline \
1173 maybe-install-info-release \
1174 maybe-install-info-recode \
1175 maybe-install-info-sed \
1176 maybe-install-info-send-pr \
1177 maybe-install-info-shellutils \
1178 maybe-install-info-sid \
1179 maybe-install-info-sim \
1180 maybe-install-info-tar \
1181 maybe-install-info-texinfo \
1182 maybe-install-info-textutils \
1183 maybe-install-info-time \
1184 maybe-install-info-uudecode \
1185 maybe-install-info-wdiff \
1186 maybe-install-info-zip \
1187 maybe-install-info-zlib \
1188 maybe-install-info-gdb \
1189 maybe-install-info-expect \
1190 maybe-install-info-guile \
1191 maybe-install-info-tk \
1192 maybe-install-info-libtermcap \
1193 maybe-install-info-utils
1195 .PHONY: install-info-target
1196 install-info-target: \
1197 maybe-install-info-target-libstdc++-v3 \
1198 maybe-install-info-target-libmudflap \
1199 maybe-install-info-target-newlib \
1200 maybe-install-info-target-libgfortran \
1201 maybe-install-info-target-libobjc \
1202 maybe-install-info-target-libtermcap \
1203 maybe-install-info-target-winsup \
1204 maybe-install-info-target-libgloss \
1205 maybe-install-info-target-libiberty \
1206 maybe-install-info-target-gperf \
1207 maybe-install-info-target-examples \
1208 maybe-install-info-target-libffi \
1209 maybe-install-info-target-libjava \
1210 maybe-install-info-target-zlib \
1211 maybe-install-info-target-boehm-gc \
1212 maybe-install-info-target-qthreads \
1213 maybe-install-info-target-rda \
1214 maybe-install-info-target-libada
1216 .PHONY: do-installcheck
1217 do-installcheck: unstage installcheck-host installcheck-target stage
1219 .PHONY: installcheck-host
1220 installcheck-host: \
1221 maybe-installcheck-ash \
1222 maybe-installcheck-autoconf \
1223 maybe-installcheck-automake \
1224 maybe-installcheck-bash \
1225 maybe-installcheck-bfd \
1226 maybe-installcheck-opcodes \
1227 maybe-installcheck-binutils \
1228 maybe-installcheck-bison \
1229 maybe-installcheck-byacc \
1230 maybe-installcheck-bzip2 \
1231 maybe-installcheck-dejagnu \
1232 maybe-installcheck-diff \
1233 maybe-installcheck-dosutils \
1234 maybe-installcheck-etc \
1235 maybe-installcheck-fastjar \
1236 maybe-installcheck-fileutils \
1237 maybe-installcheck-findutils \
1238 maybe-installcheck-find \
1239 maybe-installcheck-flex \
1240 maybe-installcheck-gas \
1241 maybe-installcheck-gcc \
1242 maybe-installcheck-gawk \
1243 maybe-installcheck-gettext \
1244 maybe-installcheck-gnuserv \
1245 maybe-installcheck-gprof \
1246 maybe-installcheck-gzip \
1247 maybe-installcheck-hello \
1248 maybe-installcheck-indent \
1249 maybe-installcheck-intl \
1250 maybe-installcheck-tcl \
1251 maybe-installcheck-itcl \
1252 maybe-installcheck-ld \
1253 maybe-installcheck-libcpp \
1254 maybe-installcheck-libgui \
1255 maybe-installcheck-libbanshee \
1256 maybe-installcheck-libiberty \
1257 maybe-installcheck-libtool \
1258 maybe-installcheck-m4 \
1259 maybe-installcheck-make \
1260 maybe-installcheck-mmalloc \
1261 maybe-installcheck-patch \
1262 maybe-installcheck-perl \
1263 maybe-installcheck-prms \
1264 maybe-installcheck-rcs \
1265 maybe-installcheck-readline \
1266 maybe-installcheck-release \
1267 maybe-installcheck-recode \
1268 maybe-installcheck-sed \
1269 maybe-installcheck-send-pr \
1270 maybe-installcheck-shellutils \
1271 maybe-installcheck-sid \
1272 maybe-installcheck-sim \
1273 maybe-installcheck-tar \
1274 maybe-installcheck-texinfo \
1275 maybe-installcheck-textutils \
1276 maybe-installcheck-time \
1277 maybe-installcheck-uudecode \
1278 maybe-installcheck-wdiff \
1279 maybe-installcheck-zip \
1280 maybe-installcheck-zlib \
1281 maybe-installcheck-gdb \
1282 maybe-installcheck-expect \
1283 maybe-installcheck-guile \
1284 maybe-installcheck-tk \
1285 maybe-installcheck-libtermcap \
1286 maybe-installcheck-utils
1288 .PHONY: installcheck-target
1289 installcheck-target: \
1290 maybe-installcheck-target-libstdc++-v3 \
1291 maybe-installcheck-target-libmudflap \
1292 maybe-installcheck-target-newlib \
1293 maybe-installcheck-target-libgfortran \
1294 maybe-installcheck-target-libobjc \
1295 maybe-installcheck-target-libtermcap \
1296 maybe-installcheck-target-winsup \
1297 maybe-installcheck-target-libgloss \
1298 maybe-installcheck-target-libiberty \
1299 maybe-installcheck-target-gperf \
1300 maybe-installcheck-target-examples \
1301 maybe-installcheck-target-libffi \
1302 maybe-installcheck-target-libjava \
1303 maybe-installcheck-target-zlib \
1304 maybe-installcheck-target-boehm-gc \
1305 maybe-installcheck-target-qthreads \
1306 maybe-installcheck-target-rda \
1307 maybe-installcheck-target-libada
1309 .PHONY: do-mostlyclean
1310 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1312 .PHONY: mostlyclean-host
1314 maybe-mostlyclean-ash \
1315 maybe-mostlyclean-autoconf \
1316 maybe-mostlyclean-automake \
1317 maybe-mostlyclean-bash \
1318 maybe-mostlyclean-bfd \
1319 maybe-mostlyclean-opcodes \
1320 maybe-mostlyclean-binutils \
1321 maybe-mostlyclean-bison \
1322 maybe-mostlyclean-byacc \
1323 maybe-mostlyclean-bzip2 \
1324 maybe-mostlyclean-dejagnu \
1325 maybe-mostlyclean-diff \
1326 maybe-mostlyclean-dosutils \
1327 maybe-mostlyclean-etc \
1328 maybe-mostlyclean-fastjar \
1329 maybe-mostlyclean-fileutils \
1330 maybe-mostlyclean-findutils \
1331 maybe-mostlyclean-find \
1332 maybe-mostlyclean-flex \
1333 maybe-mostlyclean-gas \
1334 maybe-mostlyclean-gcc \
1335 maybe-mostlyclean-gawk \
1336 maybe-mostlyclean-gettext \
1337 maybe-mostlyclean-gnuserv \
1338 maybe-mostlyclean-gprof \
1339 maybe-mostlyclean-gzip \
1340 maybe-mostlyclean-hello \
1341 maybe-mostlyclean-indent \
1342 maybe-mostlyclean-intl \
1343 maybe-mostlyclean-tcl \
1344 maybe-mostlyclean-itcl \
1345 maybe-mostlyclean-ld \
1346 maybe-mostlyclean-libcpp \
1347 maybe-mostlyclean-libgui \
1348 maybe-mostlyclean-libbanshee \
1349 maybe-mostlyclean-libiberty \
1350 maybe-mostlyclean-libtool \
1351 maybe-mostlyclean-m4 \
1352 maybe-mostlyclean-make \
1353 maybe-mostlyclean-mmalloc \
1354 maybe-mostlyclean-patch \
1355 maybe-mostlyclean-perl \
1356 maybe-mostlyclean-prms \
1357 maybe-mostlyclean-rcs \
1358 maybe-mostlyclean-readline \
1359 maybe-mostlyclean-release \
1360 maybe-mostlyclean-recode \
1361 maybe-mostlyclean-sed \
1362 maybe-mostlyclean-send-pr \
1363 maybe-mostlyclean-shellutils \
1364 maybe-mostlyclean-sid \
1365 maybe-mostlyclean-sim \
1366 maybe-mostlyclean-tar \
1367 maybe-mostlyclean-texinfo \
1368 maybe-mostlyclean-textutils \
1369 maybe-mostlyclean-time \
1370 maybe-mostlyclean-uudecode \
1371 maybe-mostlyclean-wdiff \
1372 maybe-mostlyclean-zip \
1373 maybe-mostlyclean-zlib \
1374 maybe-mostlyclean-gdb \
1375 maybe-mostlyclean-expect \
1376 maybe-mostlyclean-guile \
1377 maybe-mostlyclean-tk \
1378 maybe-mostlyclean-libtermcap \
1379 maybe-mostlyclean-utils
1381 .PHONY: mostlyclean-target
1382 mostlyclean-target: \
1383 maybe-mostlyclean-target-libstdc++-v3 \
1384 maybe-mostlyclean-target-libmudflap \
1385 maybe-mostlyclean-target-newlib \
1386 maybe-mostlyclean-target-libgfortran \
1387 maybe-mostlyclean-target-libobjc \
1388 maybe-mostlyclean-target-libtermcap \
1389 maybe-mostlyclean-target-winsup \
1390 maybe-mostlyclean-target-libgloss \
1391 maybe-mostlyclean-target-libiberty \
1392 maybe-mostlyclean-target-gperf \
1393 maybe-mostlyclean-target-examples \
1394 maybe-mostlyclean-target-libffi \
1395 maybe-mostlyclean-target-libjava \
1396 maybe-mostlyclean-target-zlib \
1397 maybe-mostlyclean-target-boehm-gc \
1398 maybe-mostlyclean-target-qthreads \
1399 maybe-mostlyclean-target-rda \
1400 maybe-mostlyclean-target-libada
1403 do-clean: unstage clean-host clean-target stage
1408 maybe-clean-autoconf \
1409 maybe-clean-automake \
1412 maybe-clean-opcodes \
1413 maybe-clean-binutils \
1417 maybe-clean-dejagnu \
1419 maybe-clean-dosutils \
1421 maybe-clean-fastjar \
1422 maybe-clean-fileutils \
1423 maybe-clean-findutils \
1429 maybe-clean-gettext \
1430 maybe-clean-gnuserv \
1434 maybe-clean-indent \
1439 maybe-clean-libcpp \
1440 maybe-clean-libgui \
1441 maybe-clean-libbanshee \
1442 maybe-clean-libiberty \
1443 maybe-clean-libtool \
1446 maybe-clean-mmalloc \
1451 maybe-clean-readline \
1452 maybe-clean-release \
1453 maybe-clean-recode \
1455 maybe-clean-send-pr \
1456 maybe-clean-shellutils \
1460 maybe-clean-texinfo \
1461 maybe-clean-textutils \
1463 maybe-clean-uudecode \
1468 maybe-clean-expect \
1471 maybe-clean-libtermcap \
1474 .PHONY: clean-target
1476 maybe-clean-target-libstdc++-v3 \
1477 maybe-clean-target-libmudflap \
1478 maybe-clean-target-newlib \
1479 maybe-clean-target-libgfortran \
1480 maybe-clean-target-libobjc \
1481 maybe-clean-target-libtermcap \
1482 maybe-clean-target-winsup \
1483 maybe-clean-target-libgloss \
1484 maybe-clean-target-libiberty \
1485 maybe-clean-target-gperf \
1486 maybe-clean-target-examples \
1487 maybe-clean-target-libffi \
1488 maybe-clean-target-libjava \
1489 maybe-clean-target-zlib \
1490 maybe-clean-target-boehm-gc \
1491 maybe-clean-target-qthreads \
1492 maybe-clean-target-rda \
1493 maybe-clean-target-libada
1495 .PHONY: do-distclean
1496 do-distclean: unstage distclean-host distclean-target stage
1498 .PHONY: distclean-host
1500 maybe-distclean-ash \
1501 maybe-distclean-autoconf \
1502 maybe-distclean-automake \
1503 maybe-distclean-bash \
1504 maybe-distclean-bfd \
1505 maybe-distclean-opcodes \
1506 maybe-distclean-binutils \
1507 maybe-distclean-bison \
1508 maybe-distclean-byacc \
1509 maybe-distclean-bzip2 \
1510 maybe-distclean-dejagnu \
1511 maybe-distclean-diff \
1512 maybe-distclean-dosutils \
1513 maybe-distclean-etc \
1514 maybe-distclean-fastjar \
1515 maybe-distclean-fileutils \
1516 maybe-distclean-findutils \
1517 maybe-distclean-find \
1518 maybe-distclean-flex \
1519 maybe-distclean-gas \
1520 maybe-distclean-gcc \
1521 maybe-distclean-gawk \
1522 maybe-distclean-gettext \
1523 maybe-distclean-gnuserv \
1524 maybe-distclean-gprof \
1525 maybe-distclean-gzip \
1526 maybe-distclean-hello \
1527 maybe-distclean-indent \
1528 maybe-distclean-intl \
1529 maybe-distclean-tcl \
1530 maybe-distclean-itcl \
1531 maybe-distclean-ld \
1532 maybe-distclean-libcpp \
1533 maybe-distclean-libgui \
1534 maybe-distclean-libbanshee \
1535 maybe-distclean-libiberty \
1536 maybe-distclean-libtool \
1537 maybe-distclean-m4 \
1538 maybe-distclean-make \
1539 maybe-distclean-mmalloc \
1540 maybe-distclean-patch \
1541 maybe-distclean-perl \
1542 maybe-distclean-prms \
1543 maybe-distclean-rcs \
1544 maybe-distclean-readline \
1545 maybe-distclean-release \
1546 maybe-distclean-recode \
1547 maybe-distclean-sed \
1548 maybe-distclean-send-pr \
1549 maybe-distclean-shellutils \
1550 maybe-distclean-sid \
1551 maybe-distclean-sim \
1552 maybe-distclean-tar \
1553 maybe-distclean-texinfo \
1554 maybe-distclean-textutils \
1555 maybe-distclean-time \
1556 maybe-distclean-uudecode \
1557 maybe-distclean-wdiff \
1558 maybe-distclean-zip \
1559 maybe-distclean-zlib \
1560 maybe-distclean-gdb \
1561 maybe-distclean-expect \
1562 maybe-distclean-guile \
1563 maybe-distclean-tk \
1564 maybe-distclean-libtermcap \
1565 maybe-distclean-utils
1567 .PHONY: distclean-target
1569 maybe-distclean-target-libstdc++-v3 \
1570 maybe-distclean-target-libmudflap \
1571 maybe-distclean-target-newlib \
1572 maybe-distclean-target-libgfortran \
1573 maybe-distclean-target-libobjc \
1574 maybe-distclean-target-libtermcap \
1575 maybe-distclean-target-winsup \
1576 maybe-distclean-target-libgloss \
1577 maybe-distclean-target-libiberty \
1578 maybe-distclean-target-gperf \
1579 maybe-distclean-target-examples \
1580 maybe-distclean-target-libffi \
1581 maybe-distclean-target-libjava \
1582 maybe-distclean-target-zlib \
1583 maybe-distclean-target-boehm-gc \
1584 maybe-distclean-target-qthreads \
1585 maybe-distclean-target-rda \
1586 maybe-distclean-target-libada
1588 .PHONY: do-maintainer-clean
1589 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1591 .PHONY: maintainer-clean-host
1592 maintainer-clean-host: \
1593 maybe-maintainer-clean-ash \
1594 maybe-maintainer-clean-autoconf \
1595 maybe-maintainer-clean-automake \
1596 maybe-maintainer-clean-bash \
1597 maybe-maintainer-clean-bfd \
1598 maybe-maintainer-clean-opcodes \
1599 maybe-maintainer-clean-binutils \
1600 maybe-maintainer-clean-bison \
1601 maybe-maintainer-clean-byacc \
1602 maybe-maintainer-clean-bzip2 \
1603 maybe-maintainer-clean-dejagnu \
1604 maybe-maintainer-clean-diff \
1605 maybe-maintainer-clean-dosutils \
1606 maybe-maintainer-clean-etc \
1607 maybe-maintainer-clean-fastjar \
1608 maybe-maintainer-clean-fileutils \
1609 maybe-maintainer-clean-findutils \
1610 maybe-maintainer-clean-find \
1611 maybe-maintainer-clean-flex \
1612 maybe-maintainer-clean-gas \
1613 maybe-maintainer-clean-gcc \
1614 maybe-maintainer-clean-gawk \
1615 maybe-maintainer-clean-gettext \
1616 maybe-maintainer-clean-gnuserv \
1617 maybe-maintainer-clean-gprof \
1618 maybe-maintainer-clean-gzip \
1619 maybe-maintainer-clean-hello \
1620 maybe-maintainer-clean-indent \
1621 maybe-maintainer-clean-intl \
1622 maybe-maintainer-clean-tcl \
1623 maybe-maintainer-clean-itcl \
1624 maybe-maintainer-clean-ld \
1625 maybe-maintainer-clean-libcpp \
1626 maybe-maintainer-clean-libgui \
1627 maybe-maintainer-clean-libbanshee \
1628 maybe-maintainer-clean-libiberty \
1629 maybe-maintainer-clean-libtool \
1630 maybe-maintainer-clean-m4 \
1631 maybe-maintainer-clean-make \
1632 maybe-maintainer-clean-mmalloc \
1633 maybe-maintainer-clean-patch \
1634 maybe-maintainer-clean-perl \
1635 maybe-maintainer-clean-prms \
1636 maybe-maintainer-clean-rcs \
1637 maybe-maintainer-clean-readline \
1638 maybe-maintainer-clean-release \
1639 maybe-maintainer-clean-recode \
1640 maybe-maintainer-clean-sed \
1641 maybe-maintainer-clean-send-pr \
1642 maybe-maintainer-clean-shellutils \
1643 maybe-maintainer-clean-sid \
1644 maybe-maintainer-clean-sim \
1645 maybe-maintainer-clean-tar \
1646 maybe-maintainer-clean-texinfo \
1647 maybe-maintainer-clean-textutils \
1648 maybe-maintainer-clean-time \
1649 maybe-maintainer-clean-uudecode \
1650 maybe-maintainer-clean-wdiff \
1651 maybe-maintainer-clean-zip \
1652 maybe-maintainer-clean-zlib \
1653 maybe-maintainer-clean-gdb \
1654 maybe-maintainer-clean-expect \
1655 maybe-maintainer-clean-guile \
1656 maybe-maintainer-clean-tk \
1657 maybe-maintainer-clean-libtermcap \
1658 maybe-maintainer-clean-utils
1660 .PHONY: maintainer-clean-target
1661 maintainer-clean-target: \
1662 maybe-maintainer-clean-target-libstdc++-v3 \
1663 maybe-maintainer-clean-target-libmudflap \
1664 maybe-maintainer-clean-target-newlib \
1665 maybe-maintainer-clean-target-libgfortran \
1666 maybe-maintainer-clean-target-libobjc \
1667 maybe-maintainer-clean-target-libtermcap \
1668 maybe-maintainer-clean-target-winsup \
1669 maybe-maintainer-clean-target-libgloss \
1670 maybe-maintainer-clean-target-libiberty \
1671 maybe-maintainer-clean-target-gperf \
1672 maybe-maintainer-clean-target-examples \
1673 maybe-maintainer-clean-target-libffi \
1674 maybe-maintainer-clean-target-libjava \
1675 maybe-maintainer-clean-target-zlib \
1676 maybe-maintainer-clean-target-boehm-gc \
1677 maybe-maintainer-clean-target-qthreads \
1678 maybe-maintainer-clean-target-rda \
1679 maybe-maintainer-clean-target-libada
1682 # Here are the targets which correspond to the do-X targets.
1684 .PHONY: info installcheck dvi install-info
1685 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1686 .PHONY: local-clean local-distclean local-maintainer-clean
1688 installcheck: do-installcheck
1691 # Make sure makeinfo is built before we do a `make info', if we're
1692 # in fact building texinfo.
1693 do-info: maybe-all-texinfo
1695 install-info: do-install-info dir.info
1696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1697 if [ -f dir.info ] ; then \
1698 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1702 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1705 -rm -f Makefile config.status config.cache mh-frag mt-frag
1706 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1707 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1708 rm -rf $(TARGET_SUBDIR); \
1710 -rm -rf $(BUILD_SUBDIR)
1711 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1712 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1713 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1714 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1715 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1717 local-maintainer-clean:
1718 @echo "This command is intended for maintainers to use;"
1719 @echo "it deletes files that may require special tools to rebuild."
1721 clean: do-clean local-clean
1722 mostlyclean: do-mostlyclean local-clean
1723 distclean: do-distclean local-clean local-distclean
1724 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1725 maintainer-clean: local-distclean
1726 realclean: maintainer-clean
1728 # Extra dependency for clean-target, owing to the mixed nature of gcc
1729 clean-target: clean-target-libgcc
1730 clean-target-libgcc:
1731 test ! -d gcc/libgcc || \
1732 (cd gcc/libgcc && find . -type d -print) | \
1733 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1738 .PHONY: check do-check
1741 # Only include modules actually being configured and built.
1744 maybe-check-autoconf \
1745 maybe-check-automake \
1748 maybe-check-opcodes \
1749 maybe-check-binutils \
1753 maybe-check-dejagnu \
1755 maybe-check-dosutils \
1757 maybe-check-fastjar \
1758 maybe-check-fileutils \
1759 maybe-check-findutils \
1765 maybe-check-gettext \
1766 maybe-check-gnuserv \
1770 maybe-check-indent \
1775 maybe-check-libcpp \
1776 maybe-check-libgui \
1777 maybe-check-libbanshee \
1778 maybe-check-libiberty \
1779 maybe-check-libtool \
1782 maybe-check-mmalloc \
1787 maybe-check-readline \
1788 maybe-check-release \
1789 maybe-check-recode \
1791 maybe-check-send-pr \
1792 maybe-check-shellutils \
1796 maybe-check-texinfo \
1797 maybe-check-textutils \
1799 maybe-check-uudecode \
1804 maybe-check-expect \
1807 maybe-check-libtermcap \
1809 maybe-check-target-libstdc++-v3 \
1810 maybe-check-target-libmudflap \
1811 maybe-check-target-newlib \
1812 maybe-check-target-libgfortran \
1813 maybe-check-target-libobjc \
1814 maybe-check-target-libtermcap \
1815 maybe-check-target-winsup \
1816 maybe-check-target-libgloss \
1817 maybe-check-target-libiberty \
1818 maybe-check-target-gperf \
1819 maybe-check-target-examples \
1820 maybe-check-target-libffi \
1821 maybe-check-target-libjava \
1822 maybe-check-target-zlib \
1823 maybe-check-target-boehm-gc \
1824 maybe-check-target-qthreads \
1825 maybe-check-target-rda \
1826 maybe-check-target-libada stage
1828 # Automated reporting of test results.
1830 warning.log: build.log
1831 $(srcdir)/contrib/warn_summary build.log > $@
1834 if test x'$(BOOT_CFLAGS)' != x''; then \
1835 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1837 $(srcdir)/contrib/test_summary -t >$@
1839 echo If you really want to send e-mail, run ./$@ now
1841 mail-report-with-warnings.log: warning.log
1842 if test x'$(BOOT_CFLAGS)' != x''; then \
1843 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1845 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1847 echo If you really want to send e-mail, run ./$@ now
1849 # Installation targets.
1851 .PHONY: install uninstall
1852 install: installdirs install-host install-target
1854 .PHONY: install-host-nogcc
1855 install-host-nogcc: \
1857 maybe-install-autoconf \
1858 maybe-install-automake \
1859 maybe-install-bash \
1861 maybe-install-opcodes \
1862 maybe-install-binutils \
1863 maybe-install-bison \
1864 maybe-install-byacc \
1865 maybe-install-bzip2 \
1866 maybe-install-dejagnu \
1867 maybe-install-diff \
1868 maybe-install-dosutils \
1870 maybe-install-fastjar \
1871 maybe-install-fileutils \
1872 maybe-install-findutils \
1873 maybe-install-find \
1874 maybe-install-flex \
1876 maybe-install-gawk \
1877 maybe-install-gettext \
1878 maybe-install-gnuserv \
1879 maybe-install-gprof \
1880 maybe-install-gzip \
1881 maybe-install-hello \
1882 maybe-install-indent \
1883 maybe-install-intl \
1885 maybe-install-itcl \
1887 maybe-install-libcpp \
1888 maybe-install-libgui \
1889 maybe-install-libbanshee \
1890 maybe-install-libiberty \
1891 maybe-install-libtool \
1893 maybe-install-make \
1894 maybe-install-mmalloc \
1895 maybe-install-patch \
1896 maybe-install-perl \
1897 maybe-install-prms \
1899 maybe-install-readline \
1900 maybe-install-release \
1901 maybe-install-recode \
1903 maybe-install-send-pr \
1904 maybe-install-shellutils \
1908 maybe-install-texinfo \
1909 maybe-install-textutils \
1910 maybe-install-time \
1911 maybe-install-uudecode \
1912 maybe-install-wdiff \
1914 maybe-install-zlib \
1916 maybe-install-expect \
1917 maybe-install-guile \
1919 maybe-install-libtermcap \
1922 .PHONY: install-host
1925 maybe-install-autoconf \
1926 maybe-install-automake \
1927 maybe-install-bash \
1929 maybe-install-opcodes \
1930 maybe-install-binutils \
1931 maybe-install-bison \
1932 maybe-install-byacc \
1933 maybe-install-bzip2 \
1934 maybe-install-dejagnu \
1935 maybe-install-diff \
1936 maybe-install-dosutils \
1938 maybe-install-fastjar \
1939 maybe-install-fileutils \
1940 maybe-install-findutils \
1941 maybe-install-find \
1942 maybe-install-flex \
1945 maybe-install-gawk \
1946 maybe-install-gettext \
1947 maybe-install-gnuserv \
1948 maybe-install-gprof \
1949 maybe-install-gzip \
1950 maybe-install-hello \
1951 maybe-install-indent \
1952 maybe-install-intl \
1954 maybe-install-itcl \
1956 maybe-install-libcpp \
1957 maybe-install-libgui \
1958 maybe-install-libbanshee \
1959 maybe-install-libiberty \
1960 maybe-install-libtool \
1962 maybe-install-make \
1963 maybe-install-mmalloc \
1964 maybe-install-patch \
1965 maybe-install-perl \
1966 maybe-install-prms \
1968 maybe-install-readline \
1969 maybe-install-release \
1970 maybe-install-recode \
1972 maybe-install-send-pr \
1973 maybe-install-shellutils \
1977 maybe-install-texinfo \
1978 maybe-install-textutils \
1979 maybe-install-time \
1980 maybe-install-uudecode \
1981 maybe-install-wdiff \
1983 maybe-install-zlib \
1985 maybe-install-expect \
1986 maybe-install-guile \
1988 maybe-install-libtermcap \
1991 .PHONY: install-target
1993 maybe-install-target-libstdc++-v3 \
1994 maybe-install-target-libmudflap \
1995 maybe-install-target-newlib \
1996 maybe-install-target-libgfortran \
1997 maybe-install-target-libobjc \
1998 maybe-install-target-libtermcap \
1999 maybe-install-target-winsup \
2000 maybe-install-target-libgloss \
2001 maybe-install-target-libiberty \
2002 maybe-install-target-gperf \
2003 maybe-install-target-examples \
2004 maybe-install-target-libffi \
2005 maybe-install-target-libjava \
2006 maybe-install-target-zlib \
2007 maybe-install-target-boehm-gc \
2008 maybe-install-target-qthreads \
2009 maybe-install-target-rda \
2010 maybe-install-target-libada
2013 @echo "the uninstall target is not supported in this tree"
2016 install.all: install-no-fixedincludes
2017 @if [ -f ./gcc/Makefile ] ; then \
2018 r=`${PWD_COMMAND}` ; export r ; \
2022 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2027 # install-no-fixedincludes is used because Cygnus can not distribute
2028 # the fixed header files.
2029 .PHONY: install-no-fixedincludes
2030 install-no-fixedincludes: installdirs install-host-nogcc \
2031 install-target gcc-no-fixedincludes
2033 ### other supporting targets
2036 $(DESTDIR)$(prefix) \
2037 $(DESTDIR)$(exec_prefix)
2039 installdirs: mkinstalldirs
2040 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2042 dir.info: do-install-info
2043 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2044 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2045 mv -f dir.info.new dir.info ; \
2050 @echo "Building a full distribution of this tree isn't done"
2051 @echo "via 'make dist'. Check out the etc/ subdirectory"
2055 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2056 # ability to use several tags files at once, so there is probably no need
2057 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2058 # (if we felt like it) have this Makefile write a piece of elisp which
2059 # the user could load to tell emacs19 where all the TAGS files we just
2063 # --------------------------------------
2064 # Modules which run on the build machine
2065 # --------------------------------------
2067 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2068 maybe-configure-build-libiberty:
2070 maybe-configure-build-libiberty: configure-build-libiberty
2071 configure-build-libiberty:
2072 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2073 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2074 r=`${PWD_COMMAND}`; export r; \
2075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2077 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2078 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2080 /* | [A-Za-z]:[\\/]*) \
2081 topdir=$(srcdir) ;; \
2083 case "$(BUILD_SUBDIR)" in \
2084 .) topdir="../$(srcdir)" ;; \
2085 *) topdir="../../$(srcdir)" ;; \
2088 if [ "$(srcdir)" = "." ] ; then \
2089 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2090 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2091 if [ -f Makefile ]; then \
2092 if $(MAKE) distclean; then \
2106 srcdiroption="--srcdir=."; \
2109 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2110 libsrcdir="$$s/libiberty"; \
2112 rm -f no-such-file || : ; \
2113 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2114 $(BUILD_CONFIGARGS) $${srcdiroption} \
2115 --with-build-subdir="$(BUILD_SUBDIR)" \
2117 @endif build-libiberty
2119 .PHONY: all-build-libiberty maybe-all-build-libiberty
2120 maybe-all-build-libiberty:
2122 TARGET-build-libiberty=all
2123 maybe-all-build-libiberty: all-build-libiberty
2124 all-build-libiberty: configure-build-libiberty
2125 @r=`${PWD_COMMAND}`; export r; \
2126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2128 (cd $(BUILD_SUBDIR)/libiberty && \
2129 $(MAKE) $(TARGET-build-libiberty))
2130 @endif build-libiberty
2132 .PHONY: configure-build-bison maybe-configure-build-bison
2133 maybe-configure-build-bison:
2135 maybe-configure-build-bison: configure-build-bison
2136 configure-build-bison:
2137 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2138 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2139 r=`${PWD_COMMAND}`; export r; \
2140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2142 echo Configuring in $(BUILD_SUBDIR)/bison; \
2143 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2145 /* | [A-Za-z]:[\\/]*) \
2146 topdir=$(srcdir) ;; \
2148 case "$(BUILD_SUBDIR)" in \
2149 .) topdir="../$(srcdir)" ;; \
2150 *) topdir="../../$(srcdir)" ;; \
2153 if [ "$(srcdir)" = "." ] ; then \
2154 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2155 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2156 if [ -f Makefile ]; then \
2157 if $(MAKE) distclean; then \
2171 srcdiroption="--srcdir=."; \
2174 srcdiroption="--srcdir=$${topdir}/bison"; \
2175 libsrcdir="$$s/bison"; \
2177 rm -f no-such-file || : ; \
2178 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2179 $(BUILD_CONFIGARGS) $${srcdiroption} \
2180 --with-build-subdir="$(BUILD_SUBDIR)" \
2184 .PHONY: all-build-bison maybe-all-build-bison
2185 maybe-all-build-bison:
2187 TARGET-build-bison=all
2188 maybe-all-build-bison: all-build-bison
2189 all-build-bison: configure-build-bison
2190 @r=`${PWD_COMMAND}`; export r; \
2191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2193 (cd $(BUILD_SUBDIR)/bison && \
2194 $(MAKE) $(TARGET-build-bison))
2197 .PHONY: configure-build-byacc maybe-configure-build-byacc
2198 maybe-configure-build-byacc:
2200 maybe-configure-build-byacc: configure-build-byacc
2201 configure-build-byacc:
2202 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2203 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2204 r=`${PWD_COMMAND}`; export r; \
2205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2207 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2208 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2210 /* | [A-Za-z]:[\\/]*) \
2211 topdir=$(srcdir) ;; \
2213 case "$(BUILD_SUBDIR)" in \
2214 .) topdir="../$(srcdir)" ;; \
2215 *) topdir="../../$(srcdir)" ;; \
2218 if [ "$(srcdir)" = "." ] ; then \
2219 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2220 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2221 if [ -f Makefile ]; then \
2222 if $(MAKE) distclean; then \
2236 srcdiroption="--srcdir=."; \
2239 srcdiroption="--srcdir=$${topdir}/byacc"; \
2240 libsrcdir="$$s/byacc"; \
2242 rm -f no-such-file || : ; \
2243 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2244 $(BUILD_CONFIGARGS) $${srcdiroption} \
2245 --with-build-subdir="$(BUILD_SUBDIR)" \
2249 .PHONY: all-build-byacc maybe-all-build-byacc
2250 maybe-all-build-byacc:
2252 TARGET-build-byacc=all
2253 maybe-all-build-byacc: all-build-byacc
2254 all-build-byacc: configure-build-byacc
2255 @r=`${PWD_COMMAND}`; export r; \
2256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2258 (cd $(BUILD_SUBDIR)/byacc && \
2259 $(MAKE) $(TARGET-build-byacc))
2262 .PHONY: configure-build-flex maybe-configure-build-flex
2263 maybe-configure-build-flex:
2265 maybe-configure-build-flex: configure-build-flex
2266 configure-build-flex:
2267 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2268 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2269 r=`${PWD_COMMAND}`; export r; \
2270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2272 echo Configuring in $(BUILD_SUBDIR)/flex; \
2273 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2275 /* | [A-Za-z]:[\\/]*) \
2276 topdir=$(srcdir) ;; \
2278 case "$(BUILD_SUBDIR)" in \
2279 .) topdir="../$(srcdir)" ;; \
2280 *) topdir="../../$(srcdir)" ;; \
2283 if [ "$(srcdir)" = "." ] ; then \
2284 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2285 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2286 if [ -f Makefile ]; then \
2287 if $(MAKE) distclean; then \
2301 srcdiroption="--srcdir=."; \
2304 srcdiroption="--srcdir=$${topdir}/flex"; \
2305 libsrcdir="$$s/flex"; \
2307 rm -f no-such-file || : ; \
2308 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2309 $(BUILD_CONFIGARGS) $${srcdiroption} \
2310 --with-build-subdir="$(BUILD_SUBDIR)" \
2314 .PHONY: all-build-flex maybe-all-build-flex
2315 maybe-all-build-flex:
2317 TARGET-build-flex=all
2318 maybe-all-build-flex: all-build-flex
2319 all-build-flex: configure-build-flex
2320 @r=`${PWD_COMMAND}`; export r; \
2321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2323 (cd $(BUILD_SUBDIR)/flex && \
2324 $(MAKE) $(TARGET-build-flex))
2327 .PHONY: configure-build-m4 maybe-configure-build-m4
2328 maybe-configure-build-m4:
2330 maybe-configure-build-m4: configure-build-m4
2332 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2333 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2334 r=`${PWD_COMMAND}`; export r; \
2335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2337 echo Configuring in $(BUILD_SUBDIR)/m4; \
2338 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2340 /* | [A-Za-z]:[\\/]*) \
2341 topdir=$(srcdir) ;; \
2343 case "$(BUILD_SUBDIR)" in \
2344 .) topdir="../$(srcdir)" ;; \
2345 *) topdir="../../$(srcdir)" ;; \
2348 if [ "$(srcdir)" = "." ] ; then \
2349 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2350 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2351 if [ -f Makefile ]; then \
2352 if $(MAKE) distclean; then \
2366 srcdiroption="--srcdir=."; \
2369 srcdiroption="--srcdir=$${topdir}/m4"; \
2370 libsrcdir="$$s/m4"; \
2372 rm -f no-such-file || : ; \
2373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2374 $(BUILD_CONFIGARGS) $${srcdiroption} \
2375 --with-build-subdir="$(BUILD_SUBDIR)" \
2379 .PHONY: all-build-m4 maybe-all-build-m4
2383 maybe-all-build-m4: all-build-m4
2384 all-build-m4: configure-build-m4
2385 @r=`${PWD_COMMAND}`; export r; \
2386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2388 (cd $(BUILD_SUBDIR)/m4 && \
2389 $(MAKE) $(TARGET-build-m4))
2392 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2393 maybe-configure-build-texinfo:
2395 maybe-configure-build-texinfo: configure-build-texinfo
2396 configure-build-texinfo:
2397 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2398 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2399 r=`${PWD_COMMAND}`; export r; \
2400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2402 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2403 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2405 /* | [A-Za-z]:[\\/]*) \
2406 topdir=$(srcdir) ;; \
2408 case "$(BUILD_SUBDIR)" in \
2409 .) topdir="../$(srcdir)" ;; \
2410 *) topdir="../../$(srcdir)" ;; \
2413 if [ "$(srcdir)" = "." ] ; then \
2414 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2415 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2416 if [ -f Makefile ]; then \
2417 if $(MAKE) distclean; then \
2431 srcdiroption="--srcdir=."; \
2434 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2435 libsrcdir="$$s/texinfo"; \
2437 rm -f no-such-file || : ; \
2438 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2439 $(BUILD_CONFIGARGS) $${srcdiroption} \
2440 --with-build-subdir="$(BUILD_SUBDIR)" \
2442 @endif build-texinfo
2444 .PHONY: all-build-texinfo maybe-all-build-texinfo
2445 maybe-all-build-texinfo:
2447 TARGET-build-texinfo=all
2448 maybe-all-build-texinfo: all-build-texinfo
2449 all-build-texinfo: configure-build-texinfo
2450 @r=`${PWD_COMMAND}`; export r; \
2451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2453 (cd $(BUILD_SUBDIR)/texinfo && \
2454 $(MAKE) $(TARGET-build-texinfo))
2455 @endif build-texinfo
2458 # --------------------------------------
2459 # Modules which run on the host machine
2460 # --------------------------------------
2462 .PHONY: configure-ash maybe-configure-ash
2463 maybe-configure-ash:
2465 maybe-configure-ash: configure-ash
2467 @test ! -f ash/Makefile || exit 0; \
2468 [ -d ash ] || mkdir ash; \
2469 r=`${PWD_COMMAND}`; export r; \
2470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2472 echo Configuring in ash; \
2476 srcdiroption="--srcdir=."; \
2478 /* | [A-Za-z]:[\\/]*) \
2479 srcdiroption="--srcdir=$(srcdir)/ash"; \
2480 libsrcdir="$$s/ash";; \
2482 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2483 libsrcdir="$$s/ash";; \
2485 $(SHELL) $${libsrcdir}/configure \
2486 $(HOST_CONFIGARGS) $${srcdiroption} \
2490 .PHONY: all-ash maybe-all-ash
2493 maybe-all-ash: all-ash
2494 all-ash: configure-ash
2495 @r=`${PWD_COMMAND}`; export r; \
2496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2499 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2502 .PHONY: check-ash maybe-check-ash
2505 maybe-check-ash: check-ash
2508 @r=`${PWD_COMMAND}`; export r; \
2509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2512 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2516 .PHONY: install-ash maybe-install-ash
2519 maybe-install-ash: install-ash
2521 install-ash: installdirs
2522 @r=`${PWD_COMMAND}`; export r; \
2523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2526 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2530 # Other targets (info, dvi, etc.)
2532 .PHONY: maybe-info-ash info-ash
2535 maybe-info-ash: info-ash
2539 @[ -f ./ash/Makefile ] || exit 0; \
2540 r=`${PWD_COMMAND}`; export r; \
2541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2544 for flag in $(EXTRA_HOST_FLAGS) ; do \
2545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2547 echo "Doing info in ash" ; \
2549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2551 "RANLIB=$${RANLIB}" \
2552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2558 .PHONY: maybe-dvi-ash dvi-ash
2561 maybe-dvi-ash: dvi-ash
2565 @[ -f ./ash/Makefile ] || exit 0; \
2566 r=`${PWD_COMMAND}`; export r; \
2567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2570 for flag in $(EXTRA_HOST_FLAGS) ; do \
2571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2573 echo "Doing dvi in ash" ; \
2575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2577 "RANLIB=$${RANLIB}" \
2578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2584 .PHONY: maybe-TAGS-ash TAGS-ash
2587 maybe-TAGS-ash: TAGS-ash
2591 @[ -f ./ash/Makefile ] || exit 0; \
2592 r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2596 for flag in $(EXTRA_HOST_FLAGS) ; do \
2597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2599 echo "Doing TAGS in ash" ; \
2601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2603 "RANLIB=$${RANLIB}" \
2604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2610 .PHONY: maybe-install-info-ash install-info-ash
2611 maybe-install-info-ash:
2613 maybe-install-info-ash: install-info-ash
2618 @[ -f ./ash/Makefile ] || exit 0; \
2619 r=`${PWD_COMMAND}`; export r; \
2620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623 for flag in $(EXTRA_HOST_FLAGS) ; do \
2624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2626 echo "Doing install-info in ash" ; \
2628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2630 "RANLIB=$${RANLIB}" \
2631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2637 .PHONY: maybe-installcheck-ash installcheck-ash
2638 maybe-installcheck-ash:
2640 maybe-installcheck-ash: installcheck-ash
2644 @[ -f ./ash/Makefile ] || exit 0; \
2645 r=`${PWD_COMMAND}`; export r; \
2646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2649 for flag in $(EXTRA_HOST_FLAGS) ; do \
2650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2652 echo "Doing installcheck in ash" ; \
2654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2656 "RANLIB=$${RANLIB}" \
2657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2663 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2664 maybe-mostlyclean-ash:
2666 maybe-mostlyclean-ash: mostlyclean-ash
2669 @[ -f ./ash/Makefile ] || exit 0; \
2670 r=`${PWD_COMMAND}`; export r; \
2671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 for flag in $(EXTRA_HOST_FLAGS) ; do \
2675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2677 echo "Doing mostlyclean in ash" ; \
2679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2681 "RANLIB=$${RANLIB}" \
2682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2688 .PHONY: maybe-clean-ash clean-ash
2691 maybe-clean-ash: clean-ash
2694 @[ -f ./ash/Makefile ] || exit 0; \
2695 r=`${PWD_COMMAND}`; export r; \
2696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2699 for flag in $(EXTRA_HOST_FLAGS) ; do \
2700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2702 echo "Doing clean in ash" ; \
2704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2706 "RANLIB=$${RANLIB}" \
2707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2713 .PHONY: maybe-distclean-ash distclean-ash
2714 maybe-distclean-ash:
2716 maybe-distclean-ash: distclean-ash
2719 @[ -f ./ash/Makefile ] || exit 0; \
2720 r=`${PWD_COMMAND}`; export r; \
2721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2724 for flag in $(EXTRA_HOST_FLAGS) ; do \
2725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2727 echo "Doing distclean in ash" ; \
2729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2731 "RANLIB=$${RANLIB}" \
2732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2738 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2739 maybe-maintainer-clean-ash:
2741 maybe-maintainer-clean-ash: maintainer-clean-ash
2743 maintainer-clean-ash:
2744 @[ -f ./ash/Makefile ] || exit 0; \
2745 r=`${PWD_COMMAND}`; export r; \
2746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2749 for flag in $(EXTRA_HOST_FLAGS) ; do \
2750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2752 echo "Doing maintainer-clean in ash" ; \
2754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2756 "RANLIB=$${RANLIB}" \
2757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2764 .PHONY: configure-autoconf maybe-configure-autoconf
2765 maybe-configure-autoconf:
2767 maybe-configure-autoconf: configure-autoconf
2769 @test ! -f autoconf/Makefile || exit 0; \
2770 [ -d autoconf ] || mkdir autoconf; \
2771 r=`${PWD_COMMAND}`; export r; \
2772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2774 echo Configuring in autoconf; \
2775 cd autoconf || exit 1; \
2778 srcdiroption="--srcdir=."; \
2780 /* | [A-Za-z]:[\\/]*) \
2781 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2782 libsrcdir="$$s/autoconf";; \
2784 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2785 libsrcdir="$$s/autoconf";; \
2787 $(SHELL) $${libsrcdir}/configure \
2788 $(HOST_CONFIGARGS) $${srcdiroption} \
2792 .PHONY: all-autoconf maybe-all-autoconf
2795 maybe-all-autoconf: all-autoconf
2796 all-autoconf: configure-autoconf
2797 @r=`${PWD_COMMAND}`; export r; \
2798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2801 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2804 .PHONY: check-autoconf maybe-check-autoconf
2805 maybe-check-autoconf:
2807 maybe-check-autoconf: check-autoconf
2810 @r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2814 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2818 .PHONY: install-autoconf maybe-install-autoconf
2819 maybe-install-autoconf:
2821 maybe-install-autoconf: install-autoconf
2823 install-autoconf: installdirs
2824 @r=`${PWD_COMMAND}`; export r; \
2825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2832 # Other targets (info, dvi, etc.)
2834 .PHONY: maybe-info-autoconf info-autoconf
2835 maybe-info-autoconf:
2837 maybe-info-autoconf: info-autoconf
2841 @[ -f ./autoconf/Makefile ] || exit 0; \
2842 r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 for flag in $(EXTRA_HOST_FLAGS) ; do \
2847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2849 echo "Doing info in autoconf" ; \
2851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2853 "RANLIB=$${RANLIB}" \
2854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2860 .PHONY: maybe-dvi-autoconf dvi-autoconf
2863 maybe-dvi-autoconf: dvi-autoconf
2867 @[ -f ./autoconf/Makefile ] || exit 0; \
2868 r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2872 for flag in $(EXTRA_HOST_FLAGS) ; do \
2873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2875 echo "Doing dvi in autoconf" ; \
2877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2879 "RANLIB=$${RANLIB}" \
2880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2886 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2887 maybe-TAGS-autoconf:
2889 maybe-TAGS-autoconf: TAGS-autoconf
2893 @[ -f ./autoconf/Makefile ] || exit 0; \
2894 r=`${PWD_COMMAND}`; export r; \
2895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2898 for flag in $(EXTRA_HOST_FLAGS) ; do \
2899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2901 echo "Doing TAGS in autoconf" ; \
2903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2905 "RANLIB=$${RANLIB}" \
2906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2912 .PHONY: maybe-install-info-autoconf install-info-autoconf
2913 maybe-install-info-autoconf:
2915 maybe-install-info-autoconf: install-info-autoconf
2917 install-info-autoconf: \
2918 configure-autoconf \
2920 @[ -f ./autoconf/Makefile ] || exit 0; \
2921 r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2925 for flag in $(EXTRA_HOST_FLAGS) ; do \
2926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2928 echo "Doing install-info in autoconf" ; \
2930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2932 "RANLIB=$${RANLIB}" \
2933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2939 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2940 maybe-installcheck-autoconf:
2942 maybe-installcheck-autoconf: installcheck-autoconf
2944 installcheck-autoconf: \
2946 @[ -f ./autoconf/Makefile ] || exit 0; \
2947 r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2951 for flag in $(EXTRA_HOST_FLAGS) ; do \
2952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2954 echo "Doing installcheck in autoconf" ; \
2956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2958 "RANLIB=$${RANLIB}" \
2959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2965 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2966 maybe-mostlyclean-autoconf:
2968 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2970 mostlyclean-autoconf:
2971 @[ -f ./autoconf/Makefile ] || exit 0; \
2972 r=`${PWD_COMMAND}`; export r; \
2973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2976 for flag in $(EXTRA_HOST_FLAGS) ; do \
2977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2979 echo "Doing mostlyclean in autoconf" ; \
2981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2983 "RANLIB=$${RANLIB}" \
2984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2990 .PHONY: maybe-clean-autoconf clean-autoconf
2991 maybe-clean-autoconf:
2993 maybe-clean-autoconf: clean-autoconf
2996 @[ -f ./autoconf/Makefile ] || exit 0; \
2997 r=`${PWD_COMMAND}`; export r; \
2998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3001 for flag in $(EXTRA_HOST_FLAGS) ; do \
3002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3004 echo "Doing clean in autoconf" ; \
3006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3008 "RANLIB=$${RANLIB}" \
3009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3015 .PHONY: maybe-distclean-autoconf distclean-autoconf
3016 maybe-distclean-autoconf:
3018 maybe-distclean-autoconf: distclean-autoconf
3021 @[ -f ./autoconf/Makefile ] || exit 0; \
3022 r=`${PWD_COMMAND}`; export r; \
3023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 for flag in $(EXTRA_HOST_FLAGS) ; do \
3027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3029 echo "Doing distclean in autoconf" ; \
3031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3033 "RANLIB=$${RANLIB}" \
3034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3040 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3041 maybe-maintainer-clean-autoconf:
3043 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3045 maintainer-clean-autoconf:
3046 @[ -f ./autoconf/Makefile ] || exit 0; \
3047 r=`${PWD_COMMAND}`; export r; \
3048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3051 for flag in $(EXTRA_HOST_FLAGS) ; do \
3052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3054 echo "Doing maintainer-clean in autoconf" ; \
3056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3058 "RANLIB=$${RANLIB}" \
3059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3066 .PHONY: configure-automake maybe-configure-automake
3067 maybe-configure-automake:
3069 maybe-configure-automake: configure-automake
3071 @test ! -f automake/Makefile || exit 0; \
3072 [ -d automake ] || mkdir automake; \
3073 r=`${PWD_COMMAND}`; export r; \
3074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3076 echo Configuring in automake; \
3077 cd automake || exit 1; \
3080 srcdiroption="--srcdir=."; \
3082 /* | [A-Za-z]:[\\/]*) \
3083 srcdiroption="--srcdir=$(srcdir)/automake"; \
3084 libsrcdir="$$s/automake";; \
3086 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3087 libsrcdir="$$s/automake";; \
3089 $(SHELL) $${libsrcdir}/configure \
3090 $(HOST_CONFIGARGS) $${srcdiroption} \
3094 .PHONY: all-automake maybe-all-automake
3097 maybe-all-automake: all-automake
3098 all-automake: configure-automake
3099 @r=`${PWD_COMMAND}`; export r; \
3100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3106 .PHONY: check-automake maybe-check-automake
3107 maybe-check-automake:
3109 maybe-check-automake: check-automake
3112 @r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3116 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3120 .PHONY: install-automake maybe-install-automake
3121 maybe-install-automake:
3123 maybe-install-automake: install-automake
3125 install-automake: installdirs
3126 @r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3134 # Other targets (info, dvi, etc.)
3136 .PHONY: maybe-info-automake info-automake
3137 maybe-info-automake:
3139 maybe-info-automake: info-automake
3143 @[ -f ./automake/Makefile ] || exit 0; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3148 for flag in $(EXTRA_HOST_FLAGS) ; do \
3149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3151 echo "Doing info in automake" ; \
3153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3155 "RANLIB=$${RANLIB}" \
3156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3162 .PHONY: maybe-dvi-automake dvi-automake
3165 maybe-dvi-automake: dvi-automake
3169 @[ -f ./automake/Makefile ] || exit 0; \
3170 r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3174 for flag in $(EXTRA_HOST_FLAGS) ; do \
3175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3177 echo "Doing dvi in automake" ; \
3179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3181 "RANLIB=$${RANLIB}" \
3182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3188 .PHONY: maybe-TAGS-automake TAGS-automake
3189 maybe-TAGS-automake:
3191 maybe-TAGS-automake: TAGS-automake
3195 @[ -f ./automake/Makefile ] || exit 0; \
3196 r=`${PWD_COMMAND}`; export r; \
3197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3200 for flag in $(EXTRA_HOST_FLAGS) ; do \
3201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3203 echo "Doing TAGS in automake" ; \
3205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3207 "RANLIB=$${RANLIB}" \
3208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3214 .PHONY: maybe-install-info-automake install-info-automake
3215 maybe-install-info-automake:
3217 maybe-install-info-automake: install-info-automake
3219 install-info-automake: \
3220 configure-automake \
3222 @[ -f ./automake/Makefile ] || exit 0; \
3223 r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227 for flag in $(EXTRA_HOST_FLAGS) ; do \
3228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3230 echo "Doing install-info in automake" ; \
3232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3234 "RANLIB=$${RANLIB}" \
3235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3241 .PHONY: maybe-installcheck-automake installcheck-automake
3242 maybe-installcheck-automake:
3244 maybe-installcheck-automake: installcheck-automake
3246 installcheck-automake: \
3248 @[ -f ./automake/Makefile ] || exit 0; \
3249 r=`${PWD_COMMAND}`; export r; \
3250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3253 for flag in $(EXTRA_HOST_FLAGS) ; do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3256 echo "Doing installcheck in automake" ; \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3267 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3268 maybe-mostlyclean-automake:
3270 maybe-mostlyclean-automake: mostlyclean-automake
3272 mostlyclean-automake:
3273 @[ -f ./automake/Makefile ] || exit 0; \
3274 r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3278 for flag in $(EXTRA_HOST_FLAGS) ; do \
3279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3281 echo "Doing mostlyclean in automake" ; \
3283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3285 "RANLIB=$${RANLIB}" \
3286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3292 .PHONY: maybe-clean-automake clean-automake
3293 maybe-clean-automake:
3295 maybe-clean-automake: clean-automake
3298 @[ -f ./automake/Makefile ] || exit 0; \
3299 r=`${PWD_COMMAND}`; export r; \
3300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3303 for flag in $(EXTRA_HOST_FLAGS) ; do \
3304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3306 echo "Doing clean in automake" ; \
3308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3310 "RANLIB=$${RANLIB}" \
3311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3317 .PHONY: maybe-distclean-automake distclean-automake
3318 maybe-distclean-automake:
3320 maybe-distclean-automake: distclean-automake
3323 @[ -f ./automake/Makefile ] || exit 0; \
3324 r=`${PWD_COMMAND}`; export r; \
3325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3331 echo "Doing distclean in automake" ; \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3342 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3343 maybe-maintainer-clean-automake:
3345 maybe-maintainer-clean-automake: maintainer-clean-automake
3347 maintainer-clean-automake:
3348 @[ -f ./automake/Makefile ] || exit 0; \
3349 r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3353 for flag in $(EXTRA_HOST_FLAGS) ; do \
3354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3356 echo "Doing maintainer-clean in automake" ; \
3358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3360 "RANLIB=$${RANLIB}" \
3361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3368 .PHONY: configure-bash maybe-configure-bash
3369 maybe-configure-bash:
3371 maybe-configure-bash: configure-bash
3373 @test ! -f bash/Makefile || exit 0; \
3374 [ -d bash ] || mkdir bash; \
3375 r=`${PWD_COMMAND}`; export r; \
3376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3378 echo Configuring in bash; \
3379 cd bash || exit 1; \
3382 srcdiroption="--srcdir=."; \
3384 /* | [A-Za-z]:[\\/]*) \
3385 srcdiroption="--srcdir=$(srcdir)/bash"; \
3386 libsrcdir="$$s/bash";; \
3388 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3389 libsrcdir="$$s/bash";; \
3391 $(SHELL) $${libsrcdir}/configure \
3392 $(HOST_CONFIGARGS) $${srcdiroption} \
3396 .PHONY: all-bash maybe-all-bash
3399 maybe-all-bash: all-bash
3400 all-bash: configure-bash
3401 @r=`${PWD_COMMAND}`; export r; \
3402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3408 .PHONY: check-bash maybe-check-bash
3411 maybe-check-bash: check-bash
3414 @r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3418 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3422 .PHONY: install-bash maybe-install-bash
3425 maybe-install-bash: install-bash
3427 install-bash: installdirs
3428 @r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3436 # Other targets (info, dvi, etc.)
3438 .PHONY: maybe-info-bash info-bash
3441 maybe-info-bash: info-bash
3445 @[ -f ./bash/Makefile ] || exit 0; \
3446 r=`${PWD_COMMAND}`; export r; \
3447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 for flag in $(EXTRA_HOST_FLAGS) ; do \
3451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3453 echo "Doing info in bash" ; \
3455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3457 "RANLIB=$${RANLIB}" \
3458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3464 .PHONY: maybe-dvi-bash dvi-bash
3467 maybe-dvi-bash: dvi-bash
3471 @[ -f ./bash/Makefile ] || exit 0; \
3472 r=`${PWD_COMMAND}`; export r; \
3473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3476 for flag in $(EXTRA_HOST_FLAGS) ; do \
3477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3479 echo "Doing dvi in bash" ; \
3481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3483 "RANLIB=$${RANLIB}" \
3484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3490 .PHONY: maybe-TAGS-bash TAGS-bash
3493 maybe-TAGS-bash: TAGS-bash
3497 @[ -f ./bash/Makefile ] || exit 0; \
3498 r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3502 for flag in $(EXTRA_HOST_FLAGS) ; do \
3503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3505 echo "Doing TAGS in bash" ; \
3507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3509 "RANLIB=$${RANLIB}" \
3510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3516 .PHONY: maybe-install-info-bash install-info-bash
3517 maybe-install-info-bash:
3519 maybe-install-info-bash: install-info-bash
3521 install-info-bash: \
3524 @[ -f ./bash/Makefile ] || exit 0; \
3525 r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3529 for flag in $(EXTRA_HOST_FLAGS) ; do \
3530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3532 echo "Doing install-info in bash" ; \
3534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3536 "RANLIB=$${RANLIB}" \
3537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3543 .PHONY: maybe-installcheck-bash installcheck-bash
3544 maybe-installcheck-bash:
3546 maybe-installcheck-bash: installcheck-bash
3548 installcheck-bash: \
3550 @[ -f ./bash/Makefile ] || exit 0; \
3551 r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3555 for flag in $(EXTRA_HOST_FLAGS) ; do \
3556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3558 echo "Doing installcheck in bash" ; \
3560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3562 "RANLIB=$${RANLIB}" \
3563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3569 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3570 maybe-mostlyclean-bash:
3572 maybe-mostlyclean-bash: mostlyclean-bash
3575 @[ -f ./bash/Makefile ] || exit 0; \
3576 r=`${PWD_COMMAND}`; export r; \
3577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3580 for flag in $(EXTRA_HOST_FLAGS) ; do \
3581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3583 echo "Doing mostlyclean in bash" ; \
3585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3587 "RANLIB=$${RANLIB}" \
3588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3594 .PHONY: maybe-clean-bash clean-bash
3597 maybe-clean-bash: clean-bash
3600 @[ -f ./bash/Makefile ] || exit 0; \
3601 r=`${PWD_COMMAND}`; export r; \
3602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3605 for flag in $(EXTRA_HOST_FLAGS) ; do \
3606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3608 echo "Doing clean in bash" ; \
3610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3612 "RANLIB=$${RANLIB}" \
3613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3619 .PHONY: maybe-distclean-bash distclean-bash
3620 maybe-distclean-bash:
3622 maybe-distclean-bash: distclean-bash
3625 @[ -f ./bash/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3630 for flag in $(EXTRA_HOST_FLAGS) ; do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3633 echo "Doing distclean in bash" ; \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3644 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3645 maybe-maintainer-clean-bash:
3647 maybe-maintainer-clean-bash: maintainer-clean-bash
3649 maintainer-clean-bash:
3650 @[ -f ./bash/Makefile ] || exit 0; \
3651 r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3655 for flag in $(EXTRA_HOST_FLAGS) ; do \
3656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3658 echo "Doing maintainer-clean in bash" ; \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662 "RANLIB=$${RANLIB}" \
3663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3670 .PHONY: configure-bfd maybe-configure-bfd
3671 maybe-configure-bfd:
3673 maybe-configure-bfd: configure-bfd
3675 @test -f stage_last && exit 0; \