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
2546 maybe-all-ash: all-ash
2547 all-ash: configure-ash
2548 @r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2552 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2555 .PHONY: check-ash maybe-check-ash
2558 maybe-check-ash: check-ash
2561 @r=`${PWD_COMMAND}`; export r; \
2562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2569 .PHONY: install-ash maybe-install-ash
2572 maybe-install-ash: install-ash
2574 install-ash: installdirs
2575 @r=`${PWD_COMMAND}`; export r; \
2576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2583 # Other targets (info, dvi, etc.)
2585 .PHONY: maybe-info-ash info-ash
2588 maybe-info-ash: info-ash
2592 @[ -f ./ash/Makefile ] || exit 0; \
2593 r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597 for flag in $(EXTRA_HOST_FLAGS) ; do \
2598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2600 echo "Doing info in ash" ; \
2602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2604 "RANLIB=$${RANLIB}" \
2605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2611 .PHONY: maybe-dvi-ash dvi-ash
2614 maybe-dvi-ash: dvi-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 dvi 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-TAGS-ash TAGS-ash
2640 maybe-TAGS-ash: TAGS-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 TAGS 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-install-info-ash install-info-ash
2664 maybe-install-info-ash:
2666 maybe-install-info-ash: install-info-ash
2671 @[ -f ./ash/Makefile ] || exit 0; \
2672 r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2676 for flag in $(EXTRA_HOST_FLAGS) ; do \
2677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2679 echo "Doing install-info in ash" ; \
2681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2683 "RANLIB=$${RANLIB}" \
2684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2690 .PHONY: maybe-installcheck-ash installcheck-ash
2691 maybe-installcheck-ash:
2693 maybe-installcheck-ash: installcheck-ash
2697 @[ -f ./ash/Makefile ] || exit 0; \
2698 r=`${PWD_COMMAND}`; export r; \
2699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 for flag in $(EXTRA_HOST_FLAGS) ; do \
2703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2705 echo "Doing installcheck in ash" ; \
2707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2709 "RANLIB=$${RANLIB}" \
2710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2716 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2717 maybe-mostlyclean-ash:
2719 maybe-mostlyclean-ash: mostlyclean-ash
2722 @[ -f ./ash/Makefile ] || exit 0; \
2723 r=`${PWD_COMMAND}`; export r; \
2724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2727 for flag in $(EXTRA_HOST_FLAGS) ; do \
2728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2730 echo "Doing mostlyclean in ash" ; \
2732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2734 "RANLIB=$${RANLIB}" \
2735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2741 .PHONY: maybe-clean-ash clean-ash
2744 maybe-clean-ash: clean-ash
2747 @[ -f ./ash/Makefile ] || exit 0; \
2748 r=`${PWD_COMMAND}`; export r; \
2749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2752 for flag in $(EXTRA_HOST_FLAGS) ; do \
2753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2755 echo "Doing clean in ash" ; \
2757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2759 "RANLIB=$${RANLIB}" \
2760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2766 .PHONY: maybe-distclean-ash distclean-ash
2767 maybe-distclean-ash:
2769 maybe-distclean-ash: distclean-ash
2772 @[ -f ./ash/Makefile ] || exit 0; \
2773 r=`${PWD_COMMAND}`; export r; \
2774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777 for flag in $(EXTRA_HOST_FLAGS) ; do \
2778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2780 echo "Doing distclean in ash" ; \
2782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2784 "RANLIB=$${RANLIB}" \
2785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2791 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2792 maybe-maintainer-clean-ash:
2794 maybe-maintainer-clean-ash: maintainer-clean-ash
2796 maintainer-clean-ash:
2797 @[ -f ./ash/Makefile ] || exit 0; \
2798 r=`${PWD_COMMAND}`; export r; \
2799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2802 for flag in $(EXTRA_HOST_FLAGS) ; do \
2803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2805 echo "Doing maintainer-clean in ash" ; \
2807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2809 "RANLIB=$${RANLIB}" \
2810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2817 .PHONY: configure-autoconf maybe-configure-autoconf
2818 maybe-configure-autoconf:
2820 maybe-configure-autoconf: configure-autoconf
2822 @test ! -f autoconf/Makefile || exit 0; \
2823 [ -d autoconf ] || mkdir autoconf; \
2824 r=`${PWD_COMMAND}`; export r; \
2825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 echo Configuring in autoconf; \
2828 cd autoconf || exit 1; \
2831 srcdiroption="--srcdir=."; \
2833 /* | [A-Za-z]:[\\/]*) \
2834 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2835 libsrcdir="$$s/autoconf";; \
2837 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2838 libsrcdir="$$s/autoconf";; \
2840 $(SHELL) $${libsrcdir}/configure \
2841 $(HOST_CONFIGARGS) $${srcdiroption} \
2845 .PHONY: all-autoconf maybe-all-autoconf
2848 maybe-all-autoconf: all-autoconf
2849 all-autoconf: configure-autoconf
2850 @r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2854 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2857 .PHONY: check-autoconf maybe-check-autoconf
2858 maybe-check-autoconf:
2860 maybe-check-autoconf: check-autoconf
2863 @r=`${PWD_COMMAND}`; export r; \
2864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2867 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2871 .PHONY: install-autoconf maybe-install-autoconf
2872 maybe-install-autoconf:
2874 maybe-install-autoconf: install-autoconf
2876 install-autoconf: installdirs
2877 @r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2885 # Other targets (info, dvi, etc.)
2887 .PHONY: maybe-info-autoconf info-autoconf
2888 maybe-info-autoconf:
2890 maybe-info-autoconf: info-autoconf
2894 @[ -f ./autoconf/Makefile ] || exit 0; \
2895 r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 for flag in $(EXTRA_HOST_FLAGS) ; do \
2900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2902 echo "Doing info in autoconf" ; \
2904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2906 "RANLIB=$${RANLIB}" \
2907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2913 .PHONY: maybe-dvi-autoconf dvi-autoconf
2916 maybe-dvi-autoconf: dvi-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 dvi 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-TAGS-autoconf TAGS-autoconf
2940 maybe-TAGS-autoconf:
2942 maybe-TAGS-autoconf: TAGS-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 TAGS 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-install-info-autoconf install-info-autoconf
2966 maybe-install-info-autoconf:
2968 maybe-install-info-autoconf: install-info-autoconf
2970 install-info-autoconf: \
2971 configure-autoconf \
2973 @[ -f ./autoconf/Makefile ] || exit 0; \
2974 r=`${PWD_COMMAND}`; export r; \
2975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 for flag in $(EXTRA_HOST_FLAGS) ; do \
2979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2981 echo "Doing install-info in autoconf" ; \
2983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2985 "RANLIB=$${RANLIB}" \
2986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2992 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2993 maybe-installcheck-autoconf:
2995 maybe-installcheck-autoconf: installcheck-autoconf
2997 installcheck-autoconf: \
2999 @[ -f ./autoconf/Makefile ] || exit 0; \
3000 r=`${PWD_COMMAND}`; export r; \
3001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3007 echo "Doing installcheck in autoconf" ; \
3009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3011 "RANLIB=$${RANLIB}" \
3012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3018 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3019 maybe-mostlyclean-autoconf:
3021 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3023 mostlyclean-autoconf:
3024 @[ -f ./autoconf/Makefile ] || exit 0; \
3025 r=`${PWD_COMMAND}`; export r; \
3026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 for flag in $(EXTRA_HOST_FLAGS) ; do \
3030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3032 echo "Doing mostlyclean in autoconf" ; \
3034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3036 "RANLIB=$${RANLIB}" \
3037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3043 .PHONY: maybe-clean-autoconf clean-autoconf
3044 maybe-clean-autoconf:
3046 maybe-clean-autoconf: clean-autoconf
3049 @[ -f ./autoconf/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3054 for flag in $(EXTRA_HOST_FLAGS) ; do \
3055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3057 echo "Doing clean in autoconf" ; \
3059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3061 "RANLIB=$${RANLIB}" \
3062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3068 .PHONY: maybe-distclean-autoconf distclean-autoconf
3069 maybe-distclean-autoconf:
3071 maybe-distclean-autoconf: distclean-autoconf
3074 @[ -f ./autoconf/Makefile ] || exit 0; \
3075 r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3079 for flag in $(EXTRA_HOST_FLAGS) ; do \
3080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3082 echo "Doing distclean in autoconf" ; \
3084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3086 "RANLIB=$${RANLIB}" \
3087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3093 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3094 maybe-maintainer-clean-autoconf:
3096 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3098 maintainer-clean-autoconf:
3099 @[ -f ./autoconf/Makefile ] || exit 0; \
3100 r=`${PWD_COMMAND}`; export r; \
3101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 for flag in $(EXTRA_HOST_FLAGS) ; do \
3105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3107 echo "Doing maintainer-clean in autoconf" ; \
3109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3111 "RANLIB=$${RANLIB}" \
3112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3119 .PHONY: configure-automake maybe-configure-automake
3120 maybe-configure-automake:
3122 maybe-configure-automake: configure-automake
3124 @test ! -f automake/Makefile || exit 0; \
3125 [ -d automake ] || mkdir automake; \
3126 r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3129 echo Configuring in automake; \
3130 cd automake || exit 1; \
3133 srcdiroption="--srcdir=."; \
3135 /* | [A-Za-z]:[\\/]*) \
3136 srcdiroption="--srcdir=$(srcdir)/automake"; \
3137 libsrcdir="$$s/automake";; \
3139 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3140 libsrcdir="$$s/automake";; \
3142 $(SHELL) $${libsrcdir}/configure \
3143 $(HOST_CONFIGARGS) $${srcdiroption} \
3147 .PHONY: all-automake maybe-all-automake
3150 maybe-all-automake: all-automake
3151 all-automake: configure-automake
3152 @r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3156 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3159 .PHONY: check-automake maybe-check-automake
3160 maybe-check-automake:
3162 maybe-check-automake: check-automake
3165 @r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3169 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3173 .PHONY: install-automake maybe-install-automake
3174 maybe-install-automake:
3176 maybe-install-automake: install-automake
3178 install-automake: installdirs
3179 @r=`${PWD_COMMAND}`; export r; \
3180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3187 # Other targets (info, dvi, etc.)
3189 .PHONY: maybe-info-automake info-automake
3190 maybe-info-automake:
3192 maybe-info-automake: info-automake
3196 @[ -f ./automake/Makefile ] || exit 0; \
3197 r=`${PWD_COMMAND}`; export r; \
3198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 for flag in $(EXTRA_HOST_FLAGS) ; do \
3202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3204 echo "Doing info in automake" ; \
3206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3208 "RANLIB=$${RANLIB}" \
3209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3215 .PHONY: maybe-dvi-automake dvi-automake
3218 maybe-dvi-automake: dvi-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 dvi 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-TAGS-automake TAGS-automake
3242 maybe-TAGS-automake:
3244 maybe-TAGS-automake: TAGS-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 TAGS 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-install-info-automake install-info-automake
3268 maybe-install-info-automake:
3270 maybe-install-info-automake: install-info-automake
3272 install-info-automake: \
3273 configure-automake \
3275 @[ -f ./automake/Makefile ] || exit 0; \
3276 r=`${PWD_COMMAND}`; export r; \
3277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3280 for flag in $(EXTRA_HOST_FLAGS) ; do \
3281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3283 echo "Doing install-info in automake" ; \
3285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3287 "RANLIB=$${RANLIB}" \
3288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3294 .PHONY: maybe-installcheck-automake installcheck-automake
3295 maybe-installcheck-automake:
3297 maybe-installcheck-automake: installcheck-automake
3299 installcheck-automake: \
3301 @[ -f ./automake/Makefile ] || exit 0; \
3302 r=`${PWD_COMMAND}`; export r; \
3303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3306 for flag in $(EXTRA_HOST_FLAGS) ; do \
3307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3309 echo "Doing installcheck in automake" ; \
3311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3313 "RANLIB=$${RANLIB}" \
3314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3320 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3321 maybe-mostlyclean-automake:
3323 maybe-mostlyclean-automake: mostlyclean-automake
3325 mostlyclean-automake:
3326 @[ -f ./automake/Makefile ] || exit 0; \
3327 r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3331 for flag in $(EXTRA_HOST_FLAGS) ; do \
3332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3334 echo "Doing mostlyclean in automake" ; \
3336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3338 "RANLIB=$${RANLIB}" \
3339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3345 .PHONY: maybe-clean-automake clean-automake
3346 maybe-clean-automake:
3348 maybe-clean-automake: clean-automake
3351 @[ -f ./automake/Makefile ] || exit 0; \
3352 r=`${PWD_COMMAND}`; export r; \
3353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 for flag in $(EXTRA_HOST_FLAGS) ; do \
3357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3359 echo "Doing clean in automake" ; \
3361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3363 "RANLIB=$${RANLIB}" \
3364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3370 .PHONY: maybe-distclean-automake distclean-automake
3371 maybe-distclean-automake:
3373 maybe-distclean-automake: distclean-automake
3376 @[ -f ./automake/Makefile ] || exit 0; \
3377 r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3381 for flag in $(EXTRA_HOST_FLAGS) ; do \
3382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3384 echo "Doing distclean in automake" ; \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3388 "RANLIB=$${RANLIB}" \
3389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3395 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3396 maybe-maintainer-clean-automake:
3398 maybe-maintainer-clean-automake: maintainer-clean-automake
3400 maintainer-clean-automake:
3401 @[ -f ./automake/Makefile ] || exit 0; \
3402 r=`${PWD_COMMAND}`; export r; \
3403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3409 echo "Doing maintainer-clean in automake" ; \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3421 .PHONY: configure-bash maybe-configure-bash
3422 maybe-configure-bash:
3424 maybe-configure-bash: configure-bash
3426 @test ! -f bash/Makefile || exit 0; \
3427 [ -d bash ] || mkdir bash; \
3428 r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3431 echo Configuring in bash; \
3432 cd bash || exit 1; \
3435 srcdiroption="--srcdir=."; \
3437 /* | [A-Za-z]:[\\/]*) \
3438 srcdiroption="--srcdir=$(srcdir)/bash"; \
3439 libsrcdir="$$s/bash";; \
3441 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3442 libsrcdir="$$s/bash";; \
3444 $(SHELL) $${libsrcdir}/configure \
3445 $(HOST_CONFIGARGS) $${srcdiroption} \
3449 .PHONY: all-bash maybe-all-bash
3452 maybe-all-bash: all-bash
3453 all-bash: configure-bash
3454 @r=`${PWD_COMMAND}`; export r; \
3455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3461 .PHONY: check-bash maybe-check-bash
3464 maybe-check-bash: check-bash
3467 @r=`${PWD_COMMAND}`; export r; \
3468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3471 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3475 .PHONY: install-bash maybe-install-bash
3478 maybe-install-bash: install-bash
3480 install-bash: installdirs
3481 @r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3489 # Other targets (info, dvi, etc.)
3491 .PHONY: maybe-info-bash info-bash
3494 maybe-info-bash: info-bash
3498 @[ -f ./bash/Makefile ] || exit 0; \
3499 r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3503 for flag in $(EXTRA_HOST_FLAGS) ; do \
3504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3506 echo "Doing info in bash" ; \
3508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3510 "RANLIB=$${RANLIB}" \
3511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3517 .PHONY: maybe-dvi-bash dvi-bash
3520 maybe-dvi-bash: dvi-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 dvi 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-TAGS-bash TAGS-bash
3546 maybe-TAGS-bash: TAGS-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 TAGS 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-install-info-bash install-info-bash
3570 maybe-install-info-bash:
3572 maybe-install-info-bash: install-info-bash
3574 install-info-bash: \
3577 @[ -f ./bash/Makefile ] || exit 0; \
3578 r=`${PWD_COMMAND}`; export r; \
3579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 for flag in $(EXTRA_HOST_FLAGS) ; do \
3583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3585 echo "Doing install-info in bash" ; \
3587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3589 "RANLIB=$${RANLIB}" \
3590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3596 .PHONY: maybe-installcheck-bash installcheck-bash
3597 maybe-installcheck-bash:
3599 maybe-installcheck-bash: installcheck-bash
3601 installcheck-bash: \
3603 @[ -f ./bash/Makefile ] || exit 0; \
3604 r=`${PWD_COMMAND}`; export r; \
3605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 for flag in $(EXTRA_HOST_FLAGS) ; do \
3609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3611 echo "Doing installcheck in bash" ; \
3613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3615 "RANLIB=$${RANLIB}" \
3616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3622 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3623 maybe-mostlyclean-bash:
3625 maybe-mostlyclean-bash: mostlyclean-bash
3628 @[ -f ./bash/Makefile ] || exit 0; \
3629 r=`${PWD_COMMAND}`; export r; \
3630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3633 for flag in $(EXTRA_HOST_FLAGS) ; do \
3634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3636 echo "Doing mostlyclean in bash" ; \
3638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3640 "RANLIB=$${RANLIB}" \
3641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3647 .PHONY: maybe-clean-bash clean-bash
3650 maybe-clean-bash: clean-bash
3653 @[ -f ./bash/Makefile ] || exit 0; \
3654 r=`${PWD_COMMAND}`; export r; \
3655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3658 for flag in $(EXTRA_HOST_FLAGS) ; do \
3659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3661 echo "Doing clean in bash" ; \
3663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3665 "RANLIB=$${RANLIB}" \
3666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3672 .PHONY: maybe-distclean-bash distclean-bash