2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
28 build_alias=@build_alias@
30 host_alias=@host_alias@
32 target_alias=@target_alias@
35 program_transform_name = @program_transform_name@
38 exec_prefix = @exec_prefix@
44 libexecdir = @libexecdir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
92 # This is the name of the environment variable used for the path to
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
155 CC="$(CC)"; export CC; \
156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158 CXX="$(CXX)"; export CXX; \
159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160 AR="$(AR)"; export AR; \
161 AS="$(AS)"; export AS; \
162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164 LD="$(LD)"; export LD; \
165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166 NM="$(NM)"; export NM; \
167 RANLIB="$(RANLIB)"; export RANLIB; \
168 WINDRES="$(WINDRES)"; export WINDRES; \
169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173 GMPINC="$(HOST_GMPINC)"; export GMPINC;
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 NM="$(NM_FOR_TARGET)"; export NM; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
209 RAW_CXX_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
214 NORMAL_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX="$(CXX_FOR_TARGET)"; export CXX;
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
226 SHELL = @config_shell@
228 # pwd command to use. Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters. The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
236 # compilers to use to create programs which must be run in the build
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
248 # Flags to pass to stage2 and later makes. They are defined
249 # here so that they can be overridden by Makefile fragments.
252 CONFIGURED_BISON = @CONFIGURED_BISON@
253 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
256 echo ${CONFIGURED_BISON} ; \
259 CONFIGURED_YACC = @CONFIGURED_YACC@
260 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
261 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
262 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
263 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
265 echo ${CONFIGURED_YACC} ; \
268 CONFIGURED_FLEX = @CONFIGURED_FLEX@
269 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
270 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
271 else echo ${CONFIGURED_FLEX} ; fi`
273 CONFIGURED_LEX = @CONFIGURED_LEX@
274 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_LEX} ; fi`
278 CONFIGURED_M4 = @CONFIGURED_M4@
279 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
281 else echo ${CONFIGURED_M4} ; fi`
283 # For an installed makeinfo, we require it to be from texinfo 4.2 or
284 # higher, else we use the "missing" dummy. We also pass the subdirectory
285 # makeinfo even if only the Makefile is there, because Texinfo builds its
286 # manual when made, and it requires its own version.
287 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
288 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
289 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
290 else if (${CONFIGURED_MAKEINFO} --version \
291 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
292 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
294 # This just becomes part of the MAKEINFO definition passed down to
295 # sub-makes. It lets flags be given on the command line while still
296 # using the makeinfo from the object tree.
297 # (Default to avoid splitting info files by setting the threshold high.)
298 MAKEINFOFLAGS = --split-size=5000000
300 EXPECT = `if [ -f $$r/expect/expect ] ; \
301 then echo $$r/expect/expect ; \
302 else echo expect ; fi`
304 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
305 then echo $$s/dejagnu/runtest ; \
306 else echo runtest ; fi`
308 # ---------------------------------------------
309 # Programs producing files for the HOST machine
310 # ---------------------------------------------
312 # This is the list of directories that may be needed in RPATH_ENVVAR
313 # so that programs built for the host machine work.
314 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
323 LIBCFLAGS = $(CFLAGS)
326 CXXFLAGS = @CXXFLAGS@
327 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
342 # -----------------------------------------------
343 # Programs producing files for the TARGET machine
344 # -----------------------------------------------
346 # This is the list of directories that may be needed in RPATH_ENVVAR
347 # so that prorgams built for the target machine work.
348 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
350 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
352 AR_FOR_TARGET=@AR_FOR_TARGET@
353 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
354 USUAL_AR_FOR_TARGET = ` \
355 if [ -f $$r/binutils/ar ] ; then \
356 echo $$r/binutils/ar ; \
358 if [ '$(host)' = '$(target)' ] ; then \
361 echo $(CONFIGURED_AR_FOR_TARGET) ; \
365 AS_FOR_TARGET=@AS_FOR_TARGET@
366 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
367 USUAL_AS_FOR_TARGET = ` \
368 if [ -f $$r/gas/as-new ] ; then \
369 echo $$r/gas/as-new ; \
370 elif [ -f $$r/gcc/xgcc ]; then \
371 $(CC_FOR_TARGET) -print-prog-name=as ; \
373 if [ '$(host)' = '$(target)' ] ; then \
376 echo $(CONFIGURED_AS_FOR_TARGET) ; \
380 CC_FOR_TARGET = @CC_FOR_TARGET@
381 # During gcc bootstrap, if we use some random cc for stage1 then
382 # CFLAGS will be just -g. We want to ensure that TARGET libraries
383 # (which we know are built with gcc) are built with optimizations so
384 # prepend -O2 when setting CFLAGS_FOR_TARGET.
385 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
386 # If GCC_FOR_TARGET is not overriden on the command line, then this
387 # variable is passed down to the gcc Makefile, where it is used to
388 # build libgcc2.a. We define it here so that it can itself be
389 # overridden on the command line.
390 GCC_FOR_TARGET=@GCC_FOR_TARGET@
391 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
392 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
394 CXX_FOR_TARGET = @CXX_FOR_TARGET@
395 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
396 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
398 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
399 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
401 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
402 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
403 USUAL_DLLTOOL_FOR_TARGET = ` \
404 if [ -f $$r/binutils/dlltool ] ; then \
405 echo $$r/binutils/dlltool ; \
407 if [ '$(host)' = '$(target)' ] ; then \
410 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
414 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
415 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
417 LD_FOR_TARGET=@LD_FOR_TARGET@
418 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
419 USUAL_LD_FOR_TARGET = ` \
420 if [ -f $$r/ld/ld-new ] ; then \
421 echo $$r/ld/ld-new ; \
422 elif [ -f $$r/gcc/xgcc ]; then \
423 $(CC_FOR_TARGET) -print-prog-name=ld ; \
425 if [ '$(host)' = '$(target)' ] ; then \
428 echo $(CONFIGURED_LD_FOR_TARGET) ; \
434 NM_FOR_TARGET=@NM_FOR_TARGET@
435 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
436 USUAL_NM_FOR_TARGET = ` \
437 if [ -f $$r/binutils/nm-new ] ; then \
438 echo $$r/binutils/nm-new ; \
439 elif [ -f $$r/gcc/xgcc ]; then \
440 $(CC_FOR_TARGET) -print-prog-name=nm ; \
442 if [ '$(host)' = '$(target)' ] ; then \
445 echo $(CONFIGURED_NM_FOR_TARGET) ; \
449 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
450 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
451 USUAL_RANLIB_FOR_TARGET = ` \
452 if [ -f $$r/binutils/ranlib ] ; then \
453 echo $$r/binutils/ranlib ; \
455 if [ '$(host)' = '$(target)' ] ; then \
456 if [ x'$(RANLIB)' != x ]; then \
462 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
466 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
467 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
468 USUAL_WINDRES_FOR_TARGET = ` \
469 if [ -f $$r/binutils/windres ] ; then \
470 echo $$r/binutils/windres ; \
472 if [ '$(host)' = '$(target)' ] ; then \
475 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481 # ------------------------------------
482 # Miscellaneous targets and flag lists
483 # ------------------------------------
485 # The first rule in the file had better be this one. Don't put any above it.
486 # This lives here to allow makefile fragments to contain dependencies.
489 #### host and target specific makefile fragments come in here.
490 @target_makefile_frag@
496 # Flags to pass down to all sub-makes.
497 BASE_FLAGS_TO_PASS = \
498 "DESTDIR=$(DESTDIR)" \
499 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
500 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
502 "datadir=$(datadir)" \
503 "exec_prefix=$(exec_prefix)" \
504 "includedir=$(includedir)" \
505 "infodir=$(infodir)" \
507 "libexecdir=$(libexecdir)" \
508 "lispdir=$(lispdir)" \
509 "libstdcxx_incdir=$(libstdcxx_incdir)" \
510 "libsubdir=$(libsubdir)" \
511 "localstatedir=$(localstatedir)" \
513 "oldincludedir=$(oldincludedir)" \
515 "sbindir=$(sbindir)" \
516 "sharedstatedir=$(sharedstatedir)" \
517 "sysconfdir=$(sysconfdir)" \
518 "tooldir=$(tooldir)" \
519 "build_tooldir=$(build_tooldir)" \
520 "gxx_include_dir=$(gxx_include_dir)" \
521 "gcc_version=$(gcc_version)" \
522 "gcc_version_trigger=$(gcc_version_trigger)" \
523 "target_alias=$(target_alias)" \
525 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
526 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
529 "INSTALL=$(INSTALL)" \
530 "INSTALL_DATA=$(INSTALL_DATA)" \
531 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
532 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
536 "RUNTEST=$(RUNTEST)" \
537 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
540 "AR_FLAGS=$(AR_FLAGS)" \
542 "CXXFLAGS=$(CXXFLAGS)" \
543 "LDFLAGS=$(LDFLAGS)" \
544 "LIBCFLAGS=$(LIBCFLAGS)" \
545 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
546 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
547 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
548 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
549 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
550 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
551 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
552 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
553 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
554 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
555 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
556 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
557 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
558 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
559 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
560 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
561 "CONFIG_SHELL=$(SHELL)" \
562 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
564 # For any flags above that may contain shell code that varies from one
565 # target library to another. When doing recursive invocations of the
566 # top-level Makefile, we don't want the outer make to evaluate them,
567 # so we pass these variables down unchanged. They must not contain
568 # single nor double quotes.
570 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
571 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
573 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
575 # Flags to pass down to most sub-makes, in which we're building with
576 # the host environment.
582 'DLLTOOL=$(DLLTOOL)' \
588 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
590 # Flags that are concerned with the location of the X11 include files
593 # NOTE: until the top-level is getting the values via autoconf, it only
594 # causes problems to have this top-level Makefile overriding the autoconf-set
595 # values in child directories. Only variables that don't conflict with
596 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
598 X11_FLAGS_TO_PASS = \
599 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
600 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
602 # Flags to pass down to makes which are built with the target environment.
603 # The double $ decreases the length of the command line; the variables
604 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
605 EXTRA_TARGET_FLAGS = \
606 'AR=$$(AR_FOR_TARGET)' \
607 'AS=$$(AS_FOR_TARGET)' \
608 'CC=$$(CC_FOR_TARGET)' \
609 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
610 'CXX=$$(CXX_FOR_TARGET)' \
611 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
612 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
613 'LD=$$(LD_FOR_TARGET)' \
614 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
615 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
616 'NM=$$(NM_FOR_TARGET)' \
617 'RANLIB=$$(RANLIB_FOR_TARGET)' \
618 'WINDRES=$$(WINDRES_FOR_TARGET)'
620 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
622 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
623 # unfortunately needs the native compiler and the target ar and
625 # If any variables are added here, they must be added to do-*, below.
626 # The BUILD_* variables are a special case, which are used for the gcc
627 # cross-building scheme.
629 'BUILD_PREFIX=$(BUILD_PREFIX)' \
630 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
631 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
632 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
633 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
634 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
643 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
645 .PHONY: configure-host
647 maybe-configure-ash \
648 maybe-configure-autoconf \
649 maybe-configure-automake \
650 maybe-configure-bash \
651 maybe-configure-bfd \
652 maybe-configure-opcodes \
653 maybe-configure-binutils \
654 maybe-configure-bison \
655 maybe-configure-byacc \
656 maybe-configure-bzip2 \
657 maybe-configure-dejagnu \
658 maybe-configure-diff \
659 maybe-configure-dosutils \
660 maybe-configure-etc \
661 maybe-configure-fastjar \
662 maybe-configure-fileutils \
663 maybe-configure-findutils \
664 maybe-configure-find \
665 maybe-configure-flex \
666 maybe-configure-gas \
667 maybe-configure-gcc \
668 maybe-configure-gawk \
669 maybe-configure-gettext \
670 maybe-configure-gnuserv \
671 maybe-configure-gprof \
672 maybe-configure-gzip \
673 maybe-configure-hello \
674 maybe-configure-indent \
675 maybe-configure-intl \
676 maybe-configure-tcl \
677 maybe-configure-itcl \
679 maybe-configure-libcpp \
680 maybe-configure-libgui \
681 maybe-configure-libbanshee \
682 maybe-configure-libiberty \
683 maybe-configure-libtool \
685 maybe-configure-make \
686 maybe-configure-mmalloc \
687 maybe-configure-patch \
688 maybe-configure-perl \
689 maybe-configure-prms \
690 maybe-configure-rcs \
691 maybe-configure-readline \
692 maybe-configure-release \
693 maybe-configure-recode \
694 maybe-configure-sed \
695 maybe-configure-send-pr \
696 maybe-configure-shellutils \
697 maybe-configure-sid \
698 maybe-configure-sim \
699 maybe-configure-tar \
700 maybe-configure-texinfo \
701 maybe-configure-textutils \
702 maybe-configure-time \
703 maybe-configure-uudecode \
704 maybe-configure-wdiff \
705 maybe-configure-zip \
706 maybe-configure-zlib \
707 maybe-configure-gdb \
708 maybe-configure-expect \
709 maybe-configure-guile \
711 maybe-configure-libtermcap \
712 maybe-configure-utils
713 .PHONY: configure-target
715 maybe-configure-target-libstdc++-v3 \
716 maybe-configure-target-libmudflap \
717 maybe-configure-target-newlib \
718 maybe-configure-target-libgfortran \
719 maybe-configure-target-libobjc \
720 maybe-configure-target-libtermcap \
721 maybe-configure-target-winsup \
722 maybe-configure-target-libgloss \
723 maybe-configure-target-libiberty \
724 maybe-configure-target-gperf \
725 maybe-configure-target-examples \
726 maybe-configure-target-libffi \
727 maybe-configure-target-libjava \
728 maybe-configure-target-zlib \
729 maybe-configure-target-boehm-gc \
730 maybe-configure-target-qthreads \
731 maybe-configure-target-rda \
732 maybe-configure-target-libada
734 # The target built for a native non-bootstrap build.
736 all: unstage all-host all-target stage
740 maybe-all-build-libiberty \
741 maybe-all-build-bison \
742 maybe-all-build-byacc \
743 maybe-all-build-flex \
745 maybe-all-build-texinfo \
746 maybe-all-build-fixincludes
764 maybe-all-fileutils \
765 maybe-all-findutils \
783 maybe-all-libbanshee \
784 maybe-all-libiberty \
798 maybe-all-shellutils \
803 maybe-all-textutils \
813 maybe-all-libtermcap \
817 maybe-all-target-libstdc++-v3 \
818 maybe-all-target-libmudflap \
819 maybe-all-target-newlib \
820 maybe-all-target-libgfortran \
821 maybe-all-target-libobjc \
822 maybe-all-target-libtermcap \
823 maybe-all-target-winsup \
824 maybe-all-target-libgloss \
825 maybe-all-target-libiberty \
826 maybe-all-target-gperf \
827 maybe-all-target-examples \
828 maybe-all-target-libffi \
829 maybe-all-target-libjava \
830 maybe-all-target-zlib \
831 maybe-all-target-boehm-gc \
832 maybe-all-target-qthreads \
833 maybe-all-target-rda \
834 maybe-all-target-libada
836 # Do a target for all the subdirectories. A ``make do-X'' will do a
837 # ``make X'' in all subdirectories (because, in general, there is a
838 # dependency (below) of X upon do-X, a ``make X'' will also do this,
839 # but it may do additional work as well).
842 do-info: unstage info-host info-target stage
847 maybe-info-autoconf \
848 maybe-info-automake \
852 maybe-info-binutils \
858 maybe-info-dosutils \
861 maybe-info-fileutils \
862 maybe-info-findutils \
880 maybe-info-libbanshee \
881 maybe-info-libiberty \
890 maybe-info-readline \
895 maybe-info-shellutils \
900 maybe-info-textutils \
902 maybe-info-uudecode \
910 maybe-info-libtermcap \
915 maybe-info-target-libstdc++-v3 \
916 maybe-info-target-libmudflap \
917 maybe-info-target-newlib \
918 maybe-info-target-libgfortran \
919 maybe-info-target-libobjc \
920 maybe-info-target-libtermcap \
921 maybe-info-target-winsup \
922 maybe-info-target-libgloss \
923 maybe-info-target-libiberty \
924 maybe-info-target-gperf \
925 maybe-info-target-examples \
926 maybe-info-target-libffi \
927 maybe-info-target-libjava \
928 maybe-info-target-zlib \
929 maybe-info-target-boehm-gc \
930 maybe-info-target-qthreads \
931 maybe-info-target-rda \
932 maybe-info-target-libada
935 do-dvi: unstage dvi-host dvi-target stage
954 maybe-dvi-fileutils \
955 maybe-dvi-findutils \
973 maybe-dvi-libbanshee \
974 maybe-dvi-libiberty \
988 maybe-dvi-shellutils \
993 maybe-dvi-textutils \
1003 maybe-dvi-libtermcap \
1008 maybe-dvi-target-libstdc++-v3 \
1009 maybe-dvi-target-libmudflap \
1010 maybe-dvi-target-newlib \
1011 maybe-dvi-target-libgfortran \
1012 maybe-dvi-target-libobjc \
1013 maybe-dvi-target-libtermcap \
1014 maybe-dvi-target-winsup \
1015 maybe-dvi-target-libgloss \
1016 maybe-dvi-target-libiberty \
1017 maybe-dvi-target-gperf \
1018 maybe-dvi-target-examples \
1019 maybe-dvi-target-libffi \
1020 maybe-dvi-target-libjava \
1021 maybe-dvi-target-zlib \
1022 maybe-dvi-target-boehm-gc \
1023 maybe-dvi-target-qthreads \
1024 maybe-dvi-target-rda \
1025 maybe-dvi-target-libada
1028 do-TAGS: unstage TAGS-host TAGS-target stage
1033 maybe-TAGS-autoconf \
1034 maybe-TAGS-automake \
1037 maybe-TAGS-opcodes \
1038 maybe-TAGS-binutils \
1042 maybe-TAGS-dejagnu \
1044 maybe-TAGS-dosutils \
1046 maybe-TAGS-fastjar \
1047 maybe-TAGS-fileutils \
1048 maybe-TAGS-findutils \
1054 maybe-TAGS-gettext \
1055 maybe-TAGS-gnuserv \
1066 maybe-TAGS-libbanshee \
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-libbanshee \
1160 maybe-install-info-libiberty \
1161 maybe-install-info-libtool \
1162 maybe-install-info-m4 \
1163 maybe-install-info-make \
1164 maybe-install-info-mmalloc \
1165 maybe-install-info-patch \
1166 maybe-install-info-perl \
1167 maybe-install-info-prms \
1168 maybe-install-info-rcs \
1169 maybe-install-info-readline \
1170 maybe-install-info-release \
1171 maybe-install-info-recode \
1172 maybe-install-info-sed \
1173 maybe-install-info-send-pr \
1174 maybe-install-info-shellutils \
1175 maybe-install-info-sid \
1176 maybe-install-info-sim \
1177 maybe-install-info-tar \
1178 maybe-install-info-texinfo \
1179 maybe-install-info-textutils \
1180 maybe-install-info-time \
1181 maybe-install-info-uudecode \
1182 maybe-install-info-wdiff \
1183 maybe-install-info-zip \
1184 maybe-install-info-zlib \
1185 maybe-install-info-gdb \
1186 maybe-install-info-expect \
1187 maybe-install-info-guile \
1188 maybe-install-info-tk \
1189 maybe-install-info-libtermcap \
1190 maybe-install-info-utils
1192 .PHONY: install-info-target
1193 install-info-target: \
1194 maybe-install-info-target-libstdc++-v3 \
1195 maybe-install-info-target-libmudflap \
1196 maybe-install-info-target-newlib \
1197 maybe-install-info-target-libgfortran \
1198 maybe-install-info-target-libobjc \
1199 maybe-install-info-target-libtermcap \
1200 maybe-install-info-target-winsup \
1201 maybe-install-info-target-libgloss \
1202 maybe-install-info-target-libiberty \
1203 maybe-install-info-target-gperf \
1204 maybe-install-info-target-examples \
1205 maybe-install-info-target-libffi \
1206 maybe-install-info-target-libjava \
1207 maybe-install-info-target-zlib \
1208 maybe-install-info-target-boehm-gc \
1209 maybe-install-info-target-qthreads \
1210 maybe-install-info-target-rda \
1211 maybe-install-info-target-libada
1213 .PHONY: do-installcheck
1214 do-installcheck: unstage installcheck-host installcheck-target stage
1216 .PHONY: installcheck-host
1217 installcheck-host: \
1218 maybe-installcheck-ash \
1219 maybe-installcheck-autoconf \
1220 maybe-installcheck-automake \
1221 maybe-installcheck-bash \
1222 maybe-installcheck-bfd \
1223 maybe-installcheck-opcodes \
1224 maybe-installcheck-binutils \
1225 maybe-installcheck-bison \
1226 maybe-installcheck-byacc \
1227 maybe-installcheck-bzip2 \
1228 maybe-installcheck-dejagnu \
1229 maybe-installcheck-diff \
1230 maybe-installcheck-dosutils \
1231 maybe-installcheck-etc \
1232 maybe-installcheck-fastjar \
1233 maybe-installcheck-fileutils \
1234 maybe-installcheck-findutils \
1235 maybe-installcheck-find \
1236 maybe-installcheck-flex \
1237 maybe-installcheck-gas \
1238 maybe-installcheck-gcc \
1239 maybe-installcheck-gawk \
1240 maybe-installcheck-gettext \
1241 maybe-installcheck-gnuserv \
1242 maybe-installcheck-gprof \
1243 maybe-installcheck-gzip \
1244 maybe-installcheck-hello \
1245 maybe-installcheck-indent \
1246 maybe-installcheck-intl \
1247 maybe-installcheck-tcl \
1248 maybe-installcheck-itcl \
1249 maybe-installcheck-ld \
1250 maybe-installcheck-libcpp \
1251 maybe-installcheck-libgui \
1252 maybe-installcheck-libbanshee \
1253 maybe-installcheck-libiberty \
1254 maybe-installcheck-libtool \
1255 maybe-installcheck-m4 \
1256 maybe-installcheck-make \
1257 maybe-installcheck-mmalloc \
1258 maybe-installcheck-patch \
1259 maybe-installcheck-perl \
1260 maybe-installcheck-prms \
1261 maybe-installcheck-rcs \
1262 maybe-installcheck-readline \
1263 maybe-installcheck-release \
1264 maybe-installcheck-recode \
1265 maybe-installcheck-sed \
1266 maybe-installcheck-send-pr \
1267 maybe-installcheck-shellutils \
1268 maybe-installcheck-sid \
1269 maybe-installcheck-sim \
1270 maybe-installcheck-tar \
1271 maybe-installcheck-texinfo \
1272 maybe-installcheck-textutils \
1273 maybe-installcheck-time \
1274 maybe-installcheck-uudecode \
1275 maybe-installcheck-wdiff \
1276 maybe-installcheck-zip \
1277 maybe-installcheck-zlib \
1278 maybe-installcheck-gdb \
1279 maybe-installcheck-expect \
1280 maybe-installcheck-guile \
1281 maybe-installcheck-tk \
1282 maybe-installcheck-libtermcap \
1283 maybe-installcheck-utils
1285 .PHONY: installcheck-target
1286 installcheck-target: \
1287 maybe-installcheck-target-libstdc++-v3 \
1288 maybe-installcheck-target-libmudflap \
1289 maybe-installcheck-target-newlib \
1290 maybe-installcheck-target-libgfortran \
1291 maybe-installcheck-target-libobjc \
1292 maybe-installcheck-target-libtermcap \
1293 maybe-installcheck-target-winsup \
1294 maybe-installcheck-target-libgloss \
1295 maybe-installcheck-target-libiberty \
1296 maybe-installcheck-target-gperf \
1297 maybe-installcheck-target-examples \
1298 maybe-installcheck-target-libffi \
1299 maybe-installcheck-target-libjava \
1300 maybe-installcheck-target-zlib \
1301 maybe-installcheck-target-boehm-gc \
1302 maybe-installcheck-target-qthreads \
1303 maybe-installcheck-target-rda \
1304 maybe-installcheck-target-libada
1306 .PHONY: do-mostlyclean
1307 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1309 .PHONY: mostlyclean-host
1311 maybe-mostlyclean-ash \
1312 maybe-mostlyclean-autoconf \
1313 maybe-mostlyclean-automake \
1314 maybe-mostlyclean-bash \
1315 maybe-mostlyclean-bfd \
1316 maybe-mostlyclean-opcodes \
1317 maybe-mostlyclean-binutils \
1318 maybe-mostlyclean-bison \
1319 maybe-mostlyclean-byacc \
1320 maybe-mostlyclean-bzip2 \
1321 maybe-mostlyclean-dejagnu \
1322 maybe-mostlyclean-diff \
1323 maybe-mostlyclean-dosutils \
1324 maybe-mostlyclean-etc \
1325 maybe-mostlyclean-fastjar \
1326 maybe-mostlyclean-fileutils \
1327 maybe-mostlyclean-findutils \
1328 maybe-mostlyclean-find \
1329 maybe-mostlyclean-flex \
1330 maybe-mostlyclean-gas \
1331 maybe-mostlyclean-gcc \
1332 maybe-mostlyclean-gawk \
1333 maybe-mostlyclean-gettext \
1334 maybe-mostlyclean-gnuserv \
1335 maybe-mostlyclean-gprof \
1336 maybe-mostlyclean-gzip \
1337 maybe-mostlyclean-hello \
1338 maybe-mostlyclean-indent \
1339 maybe-mostlyclean-intl \
1340 maybe-mostlyclean-tcl \
1341 maybe-mostlyclean-itcl \
1342 maybe-mostlyclean-ld \
1343 maybe-mostlyclean-libcpp \
1344 maybe-mostlyclean-libgui \
1345 maybe-mostlyclean-libbanshee \
1346 maybe-mostlyclean-libiberty \
1347 maybe-mostlyclean-libtool \
1348 maybe-mostlyclean-m4 \
1349 maybe-mostlyclean-make \
1350 maybe-mostlyclean-mmalloc \
1351 maybe-mostlyclean-patch \
1352 maybe-mostlyclean-perl \
1353 maybe-mostlyclean-prms \
1354 maybe-mostlyclean-rcs \
1355 maybe-mostlyclean-readline \
1356 maybe-mostlyclean-release \
1357 maybe-mostlyclean-recode \
1358 maybe-mostlyclean-sed \
1359 maybe-mostlyclean-send-pr \
1360 maybe-mostlyclean-shellutils \
1361 maybe-mostlyclean-sid \
1362 maybe-mostlyclean-sim \
1363 maybe-mostlyclean-tar \
1364 maybe-mostlyclean-texinfo \
1365 maybe-mostlyclean-textutils \
1366 maybe-mostlyclean-time \
1367 maybe-mostlyclean-uudecode \
1368 maybe-mostlyclean-wdiff \
1369 maybe-mostlyclean-zip \
1370 maybe-mostlyclean-zlib \
1371 maybe-mostlyclean-gdb \
1372 maybe-mostlyclean-expect \
1373 maybe-mostlyclean-guile \
1374 maybe-mostlyclean-tk \
1375 maybe-mostlyclean-libtermcap \
1376 maybe-mostlyclean-utils
1378 .PHONY: mostlyclean-target
1379 mostlyclean-target: \
1380 maybe-mostlyclean-target-libstdc++-v3 \
1381 maybe-mostlyclean-target-libmudflap \
1382 maybe-mostlyclean-target-newlib \
1383 maybe-mostlyclean-target-libgfortran \
1384 maybe-mostlyclean-target-libobjc \
1385 maybe-mostlyclean-target-libtermcap \
1386 maybe-mostlyclean-target-winsup \
1387 maybe-mostlyclean-target-libgloss \
1388 maybe-mostlyclean-target-libiberty \
1389 maybe-mostlyclean-target-gperf \
1390 maybe-mostlyclean-target-examples \
1391 maybe-mostlyclean-target-libffi \
1392 maybe-mostlyclean-target-libjava \
1393 maybe-mostlyclean-target-zlib \
1394 maybe-mostlyclean-target-boehm-gc \
1395 maybe-mostlyclean-target-qthreads \
1396 maybe-mostlyclean-target-rda \
1397 maybe-mostlyclean-target-libada
1400 do-clean: unstage clean-host clean-target stage
1405 maybe-clean-autoconf \
1406 maybe-clean-automake \
1409 maybe-clean-opcodes \
1410 maybe-clean-binutils \
1414 maybe-clean-dejagnu \
1416 maybe-clean-dosutils \
1418 maybe-clean-fastjar \
1419 maybe-clean-fileutils \
1420 maybe-clean-findutils \
1426 maybe-clean-gettext \
1427 maybe-clean-gnuserv \
1431 maybe-clean-indent \
1436 maybe-clean-libcpp \
1437 maybe-clean-libgui \
1438 maybe-clean-libbanshee \
1439 maybe-clean-libiberty \
1440 maybe-clean-libtool \
1443 maybe-clean-mmalloc \
1448 maybe-clean-readline \
1449 maybe-clean-release \
1450 maybe-clean-recode \
1452 maybe-clean-send-pr \
1453 maybe-clean-shellutils \
1457 maybe-clean-texinfo \
1458 maybe-clean-textutils \
1460 maybe-clean-uudecode \
1465 maybe-clean-expect \
1468 maybe-clean-libtermcap \
1471 .PHONY: clean-target
1473 maybe-clean-target-libstdc++-v3 \
1474 maybe-clean-target-libmudflap \
1475 maybe-clean-target-newlib \
1476 maybe-clean-target-libgfortran \
1477 maybe-clean-target-libobjc \
1478 maybe-clean-target-libtermcap \
1479 maybe-clean-target-winsup \
1480 maybe-clean-target-libgloss \
1481 maybe-clean-target-libiberty \
1482 maybe-clean-target-gperf \
1483 maybe-clean-target-examples \
1484 maybe-clean-target-libffi \
1485 maybe-clean-target-libjava \
1486 maybe-clean-target-zlib \
1487 maybe-clean-target-boehm-gc \
1488 maybe-clean-target-qthreads \
1489 maybe-clean-target-rda \
1490 maybe-clean-target-libada
1492 .PHONY: do-distclean
1493 do-distclean: unstage distclean-host distclean-target stage
1495 .PHONY: distclean-host
1497 maybe-distclean-ash \
1498 maybe-distclean-autoconf \
1499 maybe-distclean-automake \
1500 maybe-distclean-bash \
1501 maybe-distclean-bfd \
1502 maybe-distclean-opcodes \
1503 maybe-distclean-binutils \
1504 maybe-distclean-bison \
1505 maybe-distclean-byacc \
1506 maybe-distclean-bzip2 \
1507 maybe-distclean-dejagnu \
1508 maybe-distclean-diff \
1509 maybe-distclean-dosutils \
1510 maybe-distclean-etc \
1511 maybe-distclean-fastjar \
1512 maybe-distclean-fileutils \
1513 maybe-distclean-findutils \
1514 maybe-distclean-find \
1515 maybe-distclean-flex \
1516 maybe-distclean-gas \
1517 maybe-distclean-gcc \
1518 maybe-distclean-gawk \
1519 maybe-distclean-gettext \
1520 maybe-distclean-gnuserv \
1521 maybe-distclean-gprof \
1522 maybe-distclean-gzip \
1523 maybe-distclean-hello \
1524 maybe-distclean-indent \
1525 maybe-distclean-intl \
1526 maybe-distclean-tcl \
1527 maybe-distclean-itcl \
1528 maybe-distclean-ld \
1529 maybe-distclean-libcpp \
1530 maybe-distclean-libgui \
1531 maybe-distclean-libbanshee \
1532 maybe-distclean-libiberty \
1533 maybe-distclean-libtool \
1534 maybe-distclean-m4 \
1535 maybe-distclean-make \
1536 maybe-distclean-mmalloc \
1537 maybe-distclean-patch \
1538 maybe-distclean-perl \
1539 maybe-distclean-prms \
1540 maybe-distclean-rcs \
1541 maybe-distclean-readline \
1542 maybe-distclean-release \
1543 maybe-distclean-recode \
1544 maybe-distclean-sed \
1545 maybe-distclean-send-pr \
1546 maybe-distclean-shellutils \
1547 maybe-distclean-sid \
1548 maybe-distclean-sim \
1549 maybe-distclean-tar \
1550 maybe-distclean-texinfo \
1551 maybe-distclean-textutils \
1552 maybe-distclean-time \
1553 maybe-distclean-uudecode \
1554 maybe-distclean-wdiff \
1555 maybe-distclean-zip \
1556 maybe-distclean-zlib \
1557 maybe-distclean-gdb \
1558 maybe-distclean-expect \
1559 maybe-distclean-guile \
1560 maybe-distclean-tk \
1561 maybe-distclean-libtermcap \
1562 maybe-distclean-utils
1564 .PHONY: distclean-target
1566 maybe-distclean-target-libstdc++-v3 \
1567 maybe-distclean-target-libmudflap \
1568 maybe-distclean-target-newlib \
1569 maybe-distclean-target-libgfortran \
1570 maybe-distclean-target-libobjc \
1571 maybe-distclean-target-libtermcap \
1572 maybe-distclean-target-winsup \
1573 maybe-distclean-target-libgloss \
1574 maybe-distclean-target-libiberty \
1575 maybe-distclean-target-gperf \
1576 maybe-distclean-target-examples \
1577 maybe-distclean-target-libffi \
1578 maybe-distclean-target-libjava \
1579 maybe-distclean-target-zlib \
1580 maybe-distclean-target-boehm-gc \
1581 maybe-distclean-target-qthreads \
1582 maybe-distclean-target-rda \
1583 maybe-distclean-target-libada
1585 .PHONY: do-maintainer-clean
1586 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1588 .PHONY: maintainer-clean-host
1589 maintainer-clean-host: \
1590 maybe-maintainer-clean-ash \
1591 maybe-maintainer-clean-autoconf \
1592 maybe-maintainer-clean-automake \
1593 maybe-maintainer-clean-bash \
1594 maybe-maintainer-clean-bfd \
1595 maybe-maintainer-clean-opcodes \
1596 maybe-maintainer-clean-binutils \
1597 maybe-maintainer-clean-bison \
1598 maybe-maintainer-clean-byacc \
1599 maybe-maintainer-clean-bzip2 \
1600 maybe-maintainer-clean-dejagnu \
1601 maybe-maintainer-clean-diff \
1602 maybe-maintainer-clean-dosutils \
1603 maybe-maintainer-clean-etc \
1604 maybe-maintainer-clean-fastjar \
1605 maybe-maintainer-clean-fileutils \
1606 maybe-maintainer-clean-findutils \
1607 maybe-maintainer-clean-find \
1608 maybe-maintainer-clean-flex \
1609 maybe-maintainer-clean-gas \
1610 maybe-maintainer-clean-gcc \
1611 maybe-maintainer-clean-gawk \
1612 maybe-maintainer-clean-gettext \
1613 maybe-maintainer-clean-gnuserv \
1614 maybe-maintainer-clean-gprof \
1615 maybe-maintainer-clean-gzip \
1616 maybe-maintainer-clean-hello \
1617 maybe-maintainer-clean-indent \
1618 maybe-maintainer-clean-intl \
1619 maybe-maintainer-clean-tcl \
1620 maybe-maintainer-clean-itcl \
1621 maybe-maintainer-clean-ld \
1622 maybe-maintainer-clean-libcpp \
1623 maybe-maintainer-clean-libgui \
1624 maybe-maintainer-clean-libbanshee \
1625 maybe-maintainer-clean-libiberty \
1626 maybe-maintainer-clean-libtool \
1627 maybe-maintainer-clean-m4 \
1628 maybe-maintainer-clean-make \
1629 maybe-maintainer-clean-mmalloc \
1630 maybe-maintainer-clean-patch \
1631 maybe-maintainer-clean-perl \
1632 maybe-maintainer-clean-prms \
1633 maybe-maintainer-clean-rcs \
1634 maybe-maintainer-clean-readline \
1635 maybe-maintainer-clean-release \
1636 maybe-maintainer-clean-recode \
1637 maybe-maintainer-clean-sed \
1638 maybe-maintainer-clean-send-pr \
1639 maybe-maintainer-clean-shellutils \
1640 maybe-maintainer-clean-sid \
1641 maybe-maintainer-clean-sim \
1642 maybe-maintainer-clean-tar \
1643 maybe-maintainer-clean-texinfo \
1644 maybe-maintainer-clean-textutils \
1645 maybe-maintainer-clean-time \
1646 maybe-maintainer-clean-uudecode \
1647 maybe-maintainer-clean-wdiff \
1648 maybe-maintainer-clean-zip \
1649 maybe-maintainer-clean-zlib \
1650 maybe-maintainer-clean-gdb \
1651 maybe-maintainer-clean-expect \
1652 maybe-maintainer-clean-guile \
1653 maybe-maintainer-clean-tk \
1654 maybe-maintainer-clean-libtermcap \
1655 maybe-maintainer-clean-utils
1657 .PHONY: maintainer-clean-target
1658 maintainer-clean-target: \
1659 maybe-maintainer-clean-target-libstdc++-v3 \
1660 maybe-maintainer-clean-target-libmudflap \
1661 maybe-maintainer-clean-target-newlib \
1662 maybe-maintainer-clean-target-libgfortran \
1663 maybe-maintainer-clean-target-libobjc \
1664 maybe-maintainer-clean-target-libtermcap \
1665 maybe-maintainer-clean-target-winsup \
1666 maybe-maintainer-clean-target-libgloss \
1667 maybe-maintainer-clean-target-libiberty \
1668 maybe-maintainer-clean-target-gperf \
1669 maybe-maintainer-clean-target-examples \
1670 maybe-maintainer-clean-target-libffi \
1671 maybe-maintainer-clean-target-libjava \
1672 maybe-maintainer-clean-target-zlib \
1673 maybe-maintainer-clean-target-boehm-gc \
1674 maybe-maintainer-clean-target-qthreads \
1675 maybe-maintainer-clean-target-rda \
1676 maybe-maintainer-clean-target-libada
1679 # Here are the targets which correspond to the do-X targets.
1681 .PHONY: info installcheck dvi install-info
1682 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1683 .PHONY: local-clean local-distclean local-maintainer-clean
1685 installcheck: do-installcheck
1688 # Make sure makeinfo is built before we do a `make info', if we're
1689 # in fact building texinfo.
1690 do-info: maybe-all-texinfo
1692 install-info: do-install-info dir.info
1693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1694 if [ -f dir.info ] ; then \
1695 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1699 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1702 -rm -f Makefile config.status config.cache mh-frag mt-frag
1703 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1704 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1705 rm -rf $(TARGET_SUBDIR); \
1707 -rm -rf $(BUILD_SUBDIR)
1708 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1709 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1710 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1711 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1712 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1714 local-maintainer-clean:
1715 @echo "This command is intended for maintainers to use;"
1716 @echo "it deletes files that may require special tools to rebuild."
1718 clean: do-clean local-clean
1719 mostlyclean: do-mostlyclean local-clean
1720 distclean: do-distclean local-clean local-distclean
1721 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1722 maintainer-clean: local-distclean
1723 realclean: maintainer-clean
1725 # Extra dependency for clean-target, owing to the mixed nature of gcc
1726 clean-target: clean-target-libgcc
1727 clean-target-libgcc:
1728 test ! -d gcc/libgcc || \
1729 (cd gcc/libgcc && find . -type d -print) | \
1730 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1735 .PHONY: check do-check
1738 # Only include modules actually being configured and built.
1741 maybe-check-autoconf \
1742 maybe-check-automake \
1745 maybe-check-opcodes \
1746 maybe-check-binutils \
1750 maybe-check-dejagnu \
1752 maybe-check-dosutils \
1754 maybe-check-fastjar \
1755 maybe-check-fileutils \
1756 maybe-check-findutils \
1762 maybe-check-gettext \
1763 maybe-check-gnuserv \
1767 maybe-check-indent \
1772 maybe-check-libcpp \
1773 maybe-check-libgui \
1774 maybe-check-libbanshee \
1775 maybe-check-libiberty \
1776 maybe-check-libtool \
1779 maybe-check-mmalloc \
1784 maybe-check-readline \
1785 maybe-check-release \
1786 maybe-check-recode \
1788 maybe-check-send-pr \
1789 maybe-check-shellutils \
1793 maybe-check-texinfo \
1794 maybe-check-textutils \
1796 maybe-check-uudecode \
1801 maybe-check-expect \
1804 maybe-check-libtermcap \
1806 maybe-check-target-libstdc++-v3 \
1807 maybe-check-target-libmudflap \
1808 maybe-check-target-newlib \
1809 maybe-check-target-libgfortran \
1810 maybe-check-target-libobjc \
1811 maybe-check-target-libtermcap \
1812 maybe-check-target-winsup \
1813 maybe-check-target-libgloss \
1814 maybe-check-target-libiberty \
1815 maybe-check-target-gperf \
1816 maybe-check-target-examples \
1817 maybe-check-target-libffi \
1818 maybe-check-target-libjava \
1819 maybe-check-target-zlib \
1820 maybe-check-target-boehm-gc \
1821 maybe-check-target-qthreads \
1822 maybe-check-target-rda \
1823 maybe-check-target-libada stage
1825 # Automated reporting of test results.
1827 warning.log: build.log
1828 $(srcdir)/contrib/warn_summary build.log > $@
1831 if test x'$(BOOT_CFLAGS)' != x''; then \
1832 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1834 $(srcdir)/contrib/test_summary -t >$@
1836 echo If you really want to send e-mail, run ./$@ now
1838 mail-report-with-warnings.log: warning.log
1839 if test x'$(BOOT_CFLAGS)' != x''; then \
1840 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1842 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1844 echo If you really want to send e-mail, run ./$@ now
1846 # Installation targets.
1848 .PHONY: install uninstall
1849 install: installdirs install-host install-target
1851 .PHONY: install-host-nogcc
1852 install-host-nogcc: \
1854 maybe-install-autoconf \
1855 maybe-install-automake \
1856 maybe-install-bash \
1858 maybe-install-opcodes \
1859 maybe-install-binutils \
1860 maybe-install-bison \
1861 maybe-install-byacc \
1862 maybe-install-bzip2 \
1863 maybe-install-dejagnu \
1864 maybe-install-diff \
1865 maybe-install-dosutils \
1867 maybe-install-fastjar \
1868 maybe-install-fileutils \
1869 maybe-install-findutils \
1870 maybe-install-find \
1871 maybe-install-flex \
1873 maybe-install-gawk \
1874 maybe-install-gettext \
1875 maybe-install-gnuserv \
1876 maybe-install-gprof \
1877 maybe-install-gzip \
1878 maybe-install-hello \
1879 maybe-install-indent \
1880 maybe-install-intl \
1882 maybe-install-itcl \
1884 maybe-install-libcpp \
1885 maybe-install-libgui \
1886 maybe-install-libbanshee \
1887 maybe-install-libiberty \
1888 maybe-install-libtool \
1890 maybe-install-make \
1891 maybe-install-mmalloc \
1892 maybe-install-patch \
1893 maybe-install-perl \
1894 maybe-install-prms \
1896 maybe-install-readline \
1897 maybe-install-release \
1898 maybe-install-recode \
1900 maybe-install-send-pr \
1901 maybe-install-shellutils \
1905 maybe-install-texinfo \
1906 maybe-install-textutils \
1907 maybe-install-time \
1908 maybe-install-uudecode \
1909 maybe-install-wdiff \
1911 maybe-install-zlib \
1913 maybe-install-expect \
1914 maybe-install-guile \
1916 maybe-install-libtermcap \
1919 .PHONY: install-host
1922 maybe-install-autoconf \
1923 maybe-install-automake \
1924 maybe-install-bash \
1926 maybe-install-opcodes \
1927 maybe-install-binutils \
1928 maybe-install-bison \
1929 maybe-install-byacc \
1930 maybe-install-bzip2 \
1931 maybe-install-dejagnu \
1932 maybe-install-diff \
1933 maybe-install-dosutils \
1935 maybe-install-fastjar \
1936 maybe-install-fileutils \
1937 maybe-install-findutils \
1938 maybe-install-find \
1939 maybe-install-flex \
1942 maybe-install-gawk \
1943 maybe-install-gettext \
1944 maybe-install-gnuserv \
1945 maybe-install-gprof \
1946 maybe-install-gzip \
1947 maybe-install-hello \
1948 maybe-install-indent \
1949 maybe-install-intl \
1951 maybe-install-itcl \
1953 maybe-install-libcpp \
1954 maybe-install-libgui \
1955 maybe-install-libbanshee \
1956 maybe-install-libiberty \
1957 maybe-install-libtool \
1959 maybe-install-make \
1960 maybe-install-mmalloc \
1961 maybe-install-patch \
1962 maybe-install-perl \
1963 maybe-install-prms \
1965 maybe-install-readline \
1966 maybe-install-release \
1967 maybe-install-recode \
1969 maybe-install-send-pr \
1970 maybe-install-shellutils \
1974 maybe-install-texinfo \
1975 maybe-install-textutils \
1976 maybe-install-time \
1977 maybe-install-uudecode \
1978 maybe-install-wdiff \
1980 maybe-install-zlib \
1982 maybe-install-expect \
1983 maybe-install-guile \
1985 maybe-install-libtermcap \
1988 .PHONY: install-target
1990 maybe-install-target-libstdc++-v3 \
1991 maybe-install-target-libmudflap \
1992 maybe-install-target-newlib \
1993 maybe-install-target-libgfortran \
1994 maybe-install-target-libobjc \
1995 maybe-install-target-libtermcap \
1996 maybe-install-target-winsup \
1997 maybe-install-target-libgloss \
1998 maybe-install-target-libiberty \
1999 maybe-install-target-gperf \
2000 maybe-install-target-examples \
2001 maybe-install-target-libffi \
2002 maybe-install-target-libjava \
2003 maybe-install-target-zlib \
2004 maybe-install-target-boehm-gc \
2005 maybe-install-target-qthreads \
2006 maybe-install-target-rda \
2007 maybe-install-target-libada
2010 @echo "the uninstall target is not supported in this tree"
2013 install.all: install-no-fixedincludes
2014 @if [ -f ./gcc/Makefile ] ; then \
2015 r=`${PWD_COMMAND}` ; export r ; \
2019 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2024 # install-no-fixedincludes is used because Cygnus can not distribute
2025 # the fixed header files.
2026 .PHONY: install-no-fixedincludes
2027 install-no-fixedincludes: installdirs install-host-nogcc \
2028 install-target gcc-no-fixedincludes
2030 ### other supporting targets
2033 $(DESTDIR)$(prefix) \
2034 $(DESTDIR)$(exec_prefix)
2036 installdirs: mkinstalldirs
2037 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2039 dir.info: do-install-info
2040 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2041 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2042 mv -f dir.info.new dir.info ; \
2047 @echo "Building a full distribution of this tree isn't done"
2048 @echo "via 'make dist'. Check out the etc/ subdirectory"
2052 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2053 # ability to use several tags files at once, so there is probably no need
2054 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2055 # (if we felt like it) have this Makefile write a piece of elisp which
2056 # the user could load to tell emacs19 where all the TAGS files we just
2060 # --------------------------------------
2061 # Modules which run on the build machine
2062 # --------------------------------------
2064 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2065 maybe-configure-build-libiberty:
2067 maybe-configure-build-libiberty: configure-build-libiberty
2068 configure-build-libiberty:
2069 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2070 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2071 r=`${PWD_COMMAND}`; export r; \
2072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2074 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2075 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2077 /* | [A-Za-z]:[\\/]*) \
2078 topdir=$(srcdir) ;; \
2080 case "$(BUILD_SUBDIR)" in \
2081 .) topdir="../$(srcdir)" ;; \
2082 *) topdir="../../$(srcdir)" ;; \
2085 if [ "$(srcdir)" = "." ] ; then \
2086 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2087 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2088 if [ -f Makefile ]; then \
2089 if $(MAKE) distclean; then \
2103 srcdiroption="--srcdir=."; \
2106 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2107 libsrcdir="$$s/libiberty"; \
2109 rm -f no-such-file || : ; \
2110 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2111 $(BUILD_CONFIGARGS) $${srcdiroption} \
2112 --with-build-subdir="$(BUILD_SUBDIR)" \
2114 @endif build-libiberty
2116 .PHONY: all-build-libiberty maybe-all-build-libiberty
2117 maybe-all-build-libiberty:
2119 TARGET-build-libiberty=all
2120 maybe-all-build-libiberty: all-build-libiberty
2121 all-build-libiberty: configure-build-libiberty
2122 @r=`${PWD_COMMAND}`; export r; \
2123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2125 (cd $(BUILD_SUBDIR)/libiberty && \
2126 $(MAKE) $(TARGET-build-libiberty))
2127 @endif build-libiberty
2129 .PHONY: configure-build-bison maybe-configure-build-bison
2130 maybe-configure-build-bison:
2132 maybe-configure-build-bison: configure-build-bison
2133 configure-build-bison:
2134 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2135 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2136 r=`${PWD_COMMAND}`; export r; \
2137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2139 echo Configuring in $(BUILD_SUBDIR)/bison; \
2140 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2142 /* | [A-Za-z]:[\\/]*) \
2143 topdir=$(srcdir) ;; \
2145 case "$(BUILD_SUBDIR)" in \
2146 .) topdir="../$(srcdir)" ;; \
2147 *) topdir="../../$(srcdir)" ;; \
2150 if [ "$(srcdir)" = "." ] ; then \
2151 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2152 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2153 if [ -f Makefile ]; then \
2154 if $(MAKE) distclean; then \
2168 srcdiroption="--srcdir=."; \
2171 srcdiroption="--srcdir=$${topdir}/bison"; \
2172 libsrcdir="$$s/bison"; \
2174 rm -f no-such-file || : ; \
2175 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2176 $(BUILD_CONFIGARGS) $${srcdiroption} \
2177 --with-build-subdir="$(BUILD_SUBDIR)" \
2181 .PHONY: all-build-bison maybe-all-build-bison
2182 maybe-all-build-bison:
2184 TARGET-build-bison=all
2185 maybe-all-build-bison: all-build-bison
2186 all-build-bison: configure-build-bison
2187 @r=`${PWD_COMMAND}`; export r; \
2188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2190 (cd $(BUILD_SUBDIR)/bison && \
2191 $(MAKE) $(TARGET-build-bison))
2194 .PHONY: configure-build-byacc maybe-configure-build-byacc
2195 maybe-configure-build-byacc:
2197 maybe-configure-build-byacc: configure-build-byacc
2198 configure-build-byacc:
2199 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2200 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2201 r=`${PWD_COMMAND}`; export r; \
2202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2204 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2205 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2207 /* | [A-Za-z]:[\\/]*) \
2208 topdir=$(srcdir) ;; \
2210 case "$(BUILD_SUBDIR)" in \
2211 .) topdir="../$(srcdir)" ;; \
2212 *) topdir="../../$(srcdir)" ;; \
2215 if [ "$(srcdir)" = "." ] ; then \
2216 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2217 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2218 if [ -f Makefile ]; then \
2219 if $(MAKE) distclean; then \
2233 srcdiroption="--srcdir=."; \
2236 srcdiroption="--srcdir=$${topdir}/byacc"; \
2237 libsrcdir="$$s/byacc"; \
2239 rm -f no-such-file || : ; \
2240 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2241 $(BUILD_CONFIGARGS) $${srcdiroption} \
2242 --with-build-subdir="$(BUILD_SUBDIR)" \
2246 .PHONY: all-build-byacc maybe-all-build-byacc
2247 maybe-all-build-byacc:
2249 TARGET-build-byacc=all
2250 maybe-all-build-byacc: all-build-byacc
2251 all-build-byacc: configure-build-byacc
2252 @r=`${PWD_COMMAND}`; export r; \
2253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2255 (cd $(BUILD_SUBDIR)/byacc && \
2256 $(MAKE) $(TARGET-build-byacc))
2259 .PHONY: configure-build-flex maybe-configure-build-flex
2260 maybe-configure-build-flex:
2262 maybe-configure-build-flex: configure-build-flex
2263 configure-build-flex:
2264 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2265 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2266 r=`${PWD_COMMAND}`; export r; \
2267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2269 echo Configuring in $(BUILD_SUBDIR)/flex; \
2270 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2272 /* | [A-Za-z]:[\\/]*) \
2273 topdir=$(srcdir) ;; \
2275 case "$(BUILD_SUBDIR)" in \
2276 .) topdir="../$(srcdir)" ;; \
2277 *) topdir="../../$(srcdir)" ;; \
2280 if [ "$(srcdir)" = "." ] ; then \
2281 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2282 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2283 if [ -f Makefile ]; then \
2284 if $(MAKE) distclean; then \
2298 srcdiroption="--srcdir=."; \
2301 srcdiroption="--srcdir=$${topdir}/flex"; \
2302 libsrcdir="$$s/flex"; \
2304 rm -f no-such-file || : ; \
2305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2306 $(BUILD_CONFIGARGS) $${srcdiroption} \
2307 --with-build-subdir="$(BUILD_SUBDIR)" \
2311 .PHONY: all-build-flex maybe-all-build-flex
2312 maybe-all-build-flex:
2314 TARGET-build-flex=all
2315 maybe-all-build-flex: all-build-flex
2316 all-build-flex: configure-build-flex
2317 @r=`${PWD_COMMAND}`; export r; \
2318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2320 (cd $(BUILD_SUBDIR)/flex && \
2321 $(MAKE) $(TARGET-build-flex))
2324 .PHONY: configure-build-m4 maybe-configure-build-m4
2325 maybe-configure-build-m4:
2327 maybe-configure-build-m4: configure-build-m4
2329 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2330 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2331 r=`${PWD_COMMAND}`; export r; \
2332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2334 echo Configuring in $(BUILD_SUBDIR)/m4; \
2335 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2337 /* | [A-Za-z]:[\\/]*) \
2338 topdir=$(srcdir) ;; \
2340 case "$(BUILD_SUBDIR)" in \
2341 .) topdir="../$(srcdir)" ;; \
2342 *) topdir="../../$(srcdir)" ;; \
2345 if [ "$(srcdir)" = "." ] ; then \
2346 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2347 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2348 if [ -f Makefile ]; then \
2349 if $(MAKE) distclean; then \
2363 srcdiroption="--srcdir=."; \
2366 srcdiroption="--srcdir=$${topdir}/m4"; \
2367 libsrcdir="$$s/m4"; \
2369 rm -f no-such-file || : ; \
2370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2371 $(BUILD_CONFIGARGS) $${srcdiroption} \
2372 --with-build-subdir="$(BUILD_SUBDIR)" \
2376 .PHONY: all-build-m4 maybe-all-build-m4
2380 maybe-all-build-m4: all-build-m4
2381 all-build-m4: configure-build-m4
2382 @r=`${PWD_COMMAND}`; export r; \
2383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2385 (cd $(BUILD_SUBDIR)/m4 && \
2386 $(MAKE) $(TARGET-build-m4))
2389 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2390 maybe-configure-build-texinfo:
2392 maybe-configure-build-texinfo: configure-build-texinfo
2393 configure-build-texinfo:
2394 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2395 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2396 r=`${PWD_COMMAND}`; export r; \
2397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2399 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2400 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2402 /* | [A-Za-z]:[\\/]*) \
2403 topdir=$(srcdir) ;; \
2405 case "$(BUILD_SUBDIR)" in \
2406 .) topdir="../$(srcdir)" ;; \
2407 *) topdir="../../$(srcdir)" ;; \
2410 if [ "$(srcdir)" = "." ] ; then \
2411 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2412 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2413 if [ -f Makefile ]; then \
2414 if $(MAKE) distclean; then \
2428 srcdiroption="--srcdir=."; \
2431 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2432 libsrcdir="$$s/texinfo"; \
2434 rm -f no-such-file || : ; \
2435 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2436 $(BUILD_CONFIGARGS) $${srcdiroption} \
2437 --with-build-subdir="$(BUILD_SUBDIR)" \
2439 @endif build-texinfo
2441 .PHONY: all-build-texinfo maybe-all-build-texinfo
2442 maybe-all-build-texinfo:
2444 TARGET-build-texinfo=all
2445 maybe-all-build-texinfo: all-build-texinfo
2446 all-build-texinfo: configure-build-texinfo
2447 @r=`${PWD_COMMAND}`; export r; \
2448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450 (cd $(BUILD_SUBDIR)/texinfo && \
2451 $(MAKE) $(TARGET-build-texinfo))
2452 @endif build-texinfo
2454 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2455 maybe-configure-build-fixincludes:
2456 @if build-fixincludes
2457 maybe-configure-build-fixincludes: configure-build-fixincludes
2458 configure-build-fixincludes:
2459 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2460 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2461 r=`${PWD_COMMAND}`; export r; \
2462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2464 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2465 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2467 /* | [A-Za-z]:[\\/]*) \
2468 topdir=$(srcdir) ;; \
2470 case "$(BUILD_SUBDIR)" in \
2471 .) topdir="../$(srcdir)" ;; \
2472 *) topdir="../../$(srcdir)" ;; \
2475 if [ "$(srcdir)" = "." ] ; then \
2476 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2477 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2478 if [ -f Makefile ]; then \
2479 if $(MAKE) distclean; then \
2493 srcdiroption="--srcdir=."; \
2496 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2497 libsrcdir="$$s/fixincludes"; \
2499 rm -f no-such-file || : ; \
2500 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2501 $(BUILD_CONFIGARGS) $${srcdiroption} \
2502 --with-build-subdir="$(BUILD_SUBDIR)" \
2504 @endif build-fixincludes
2506 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2507 maybe-all-build-fixincludes:
2508 @if build-fixincludes
2509 TARGET-build-fixincludes=all
2510 maybe-all-build-fixincludes: all-build-fixincludes
2511 all-build-fixincludes: configure-build-fixincludes
2512 @r=`${PWD_COMMAND}`; export r; \
2513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2515 (cd $(BUILD_SUBDIR)/fixincludes && \
2516 $(MAKE) $(TARGET-build-fixincludes))
2517 @endif build-fixincludes
2520 # --------------------------------------
2521 # Modules which run on the host machine
2522 # --------------------------------------
2524 .PHONY: configure-ash maybe-configure-ash
2525 maybe-configure-ash:
2527 maybe-configure-ash: configure-ash
2529 @test ! -f ash/Makefile || exit 0; \
2530 [ -d ash ] || mkdir ash; \
2531 r=`${PWD_COMMAND}`; export r; \
2532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2534 echo Configuring in ash; \
2538 srcdiroption="--srcdir=."; \
2540 /* | [A-Za-z]:[\\/]*) \
2541 srcdiroption="--srcdir=$(srcdir)/ash"; \
2542 libsrcdir="$$s/ash";; \
2544 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2545 libsrcdir="$$s/ash";; \
2547 $(SHELL) $${libsrcdir}/configure \
2548 $(HOST_CONFIGARGS) $${srcdiroption} \
2552 .PHONY: all-ash maybe-all-ash
2555 maybe-all-ash: all-ash
2556 all-ash: configure-ash
2557 @r=`${PWD_COMMAND}`; export r; \
2558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2561 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2564 .PHONY: check-ash maybe-check-ash
2567 maybe-check-ash: check-ash
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2578 .PHONY: install-ash maybe-install-ash
2581 maybe-install-ash: install-ash
2583 install-ash: installdirs
2584 @r=`${PWD_COMMAND}`; export r; \
2585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2588 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2592 # Other targets (info, dvi, etc.)
2594 .PHONY: maybe-info-ash info-ash
2597 maybe-info-ash: info-ash
2601 @[ -f ./ash/Makefile ] || exit 0; \
2602 r=`${PWD_COMMAND}`; export r; \
2603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2606 for flag in $(EXTRA_HOST_FLAGS) ; do \
2607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2609 echo "Doing info in ash" ; \
2611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2613 "RANLIB=$${RANLIB}" \
2614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2620 .PHONY: maybe-dvi-ash dvi-ash
2623 maybe-dvi-ash: dvi-ash
2627 @[ -f ./ash/Makefile ] || exit 0; \
2628 r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2632 for flag in $(EXTRA_HOST_FLAGS) ; do \
2633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2635 echo "Doing dvi in ash" ; \
2637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2639 "RANLIB=$${RANLIB}" \
2640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2646 .PHONY: maybe-TAGS-ash TAGS-ash
2649 maybe-TAGS-ash: TAGS-ash
2653 @[ -f ./ash/Makefile ] || exit 0; \
2654 r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2658 for flag in $(EXTRA_HOST_FLAGS) ; do \
2659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2661 echo "Doing TAGS in ash" ; \
2663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2665 "RANLIB=$${RANLIB}" \
2666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2672 .PHONY: maybe-install-info-ash install-info-ash
2673 maybe-install-info-ash:
2675 maybe-install-info-ash: install-info-ash
2680 @[ -f ./ash/Makefile ] || exit 0; \
2681 r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2685 for flag in $(EXTRA_HOST_FLAGS) ; do \
2686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2688 echo "Doing install-info in ash" ; \
2690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2692 "RANLIB=$${RANLIB}" \
2693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2699 .PHONY: maybe-installcheck-ash installcheck-ash
2700 maybe-installcheck-ash:
2702 maybe-installcheck-ash: installcheck-ash
2706 @[ -f ./ash/Makefile ] || exit 0; \
2707 r=`${PWD_COMMAND}`; export r; \
2708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2711 for flag in $(EXTRA_HOST_FLAGS) ; do \
2712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2714 echo "Doing installcheck in ash" ; \
2716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2718 "RANLIB=$${RANLIB}" \
2719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2725 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2726 maybe-mostlyclean-ash:
2728 maybe-mostlyclean-ash: mostlyclean-ash
2731 @[ -f ./ash/Makefile ] || exit 0; \
2732 r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 for flag in $(EXTRA_HOST_FLAGS) ; do \
2737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2739 echo "Doing mostlyclean in ash" ; \
2741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2743 "RANLIB=$${RANLIB}" \
2744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2750 .PHONY: maybe-clean-ash clean-ash
2753 maybe-clean-ash: clean-ash
2756 @[ -f ./ash/Makefile ] || exit 0; \
2757 r=`${PWD_COMMAND}`; export r; \
2758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 for flag in $(EXTRA_HOST_FLAGS) ; do \
2762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2764 echo "Doing clean in ash" ; \
2766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2768 "RANLIB=$${RANLIB}" \
2769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2775 .PHONY: maybe-distclean-ash distclean-ash
2776 maybe-distclean-ash:
2778 maybe-distclean-ash: distclean-ash
2781 @[ -f ./ash/Makefile ] || exit 0; \
2782 r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2786 for flag in $(EXTRA_HOST_FLAGS) ; do \
2787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2789 echo "Doing distclean in ash" ; \
2791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2793 "RANLIB=$${RANLIB}" \
2794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2800 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2801 maybe-maintainer-clean-ash:
2803 maybe-maintainer-clean-ash: maintainer-clean-ash
2805 maintainer-clean-ash:
2806 @[ -f ./ash/Makefile ] || exit 0; \
2807 r=`${PWD_COMMAND}`; export r; \
2808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2811 for flag in $(EXTRA_HOST_FLAGS) ; do \
2812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2814 echo "Doing maintainer-clean in ash" ; \
2816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2818 "RANLIB=$${RANLIB}" \
2819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2826 .PHONY: configure-autoconf maybe-configure-autoconf
2827 maybe-configure-autoconf:
2829 maybe-configure-autoconf: configure-autoconf
2831 @test ! -f autoconf/Makefile || exit 0; \
2832 [ -d autoconf ] || mkdir autoconf; \
2833 r=`${PWD_COMMAND}`; export r; \
2834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2836 echo Configuring in autoconf; \
2837 cd autoconf || exit 1; \
2840 srcdiroption="--srcdir=."; \
2842 /* | [A-Za-z]:[\\/]*) \
2843 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2844 libsrcdir="$$s/autoconf";; \
2846 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2847 libsrcdir="$$s/autoconf";; \
2849 $(SHELL) $${libsrcdir}/configure \
2850 $(HOST_CONFIGARGS) $${srcdiroption} \
2854 .PHONY: all-autoconf maybe-all-autoconf
2857 maybe-all-autoconf: all-autoconf
2858 all-autoconf: configure-autoconf
2859 @r=`${PWD_COMMAND}`; export r; \
2860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2863 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2866 .PHONY: check-autoconf maybe-check-autoconf
2867 maybe-check-autoconf:
2869 maybe-check-autoconf: check-autoconf
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2876 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2880 .PHONY: install-autoconf maybe-install-autoconf
2881 maybe-install-autoconf:
2883 maybe-install-autoconf: install-autoconf
2885 install-autoconf: installdirs
2886 @r=`${PWD_COMMAND}`; export r; \
2887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2890 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2894 # Other targets (info, dvi, etc.)
2896 .PHONY: maybe-info-autoconf info-autoconf
2897 maybe-info-autoconf:
2899 maybe-info-autoconf: info-autoconf
2903 @[ -f ./autoconf/Makefile ] || exit 0; \
2904 r=`${PWD_COMMAND}`; export r; \
2905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2908 for flag in $(EXTRA_HOST_FLAGS) ; do \
2909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2911 echo "Doing info in autoconf" ; \
2913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2915 "RANLIB=$${RANLIB}" \
2916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2922 .PHONY: maybe-dvi-autoconf dvi-autoconf
2925 maybe-dvi-autoconf: dvi-autoconf
2929 @[ -f ./autoconf/Makefile ] || exit 0; \
2930 r=`${PWD_COMMAND}`; export r; \
2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 for flag in $(EXTRA_HOST_FLAGS) ; do \
2935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2937 echo "Doing dvi in autoconf" ; \
2939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2941 "RANLIB=$${RANLIB}" \
2942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2948 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2949 maybe-TAGS-autoconf:
2951 maybe-TAGS-autoconf: TAGS-autoconf
2955 @[ -f ./autoconf/Makefile ] || exit 0; \
2956 r=`${PWD_COMMAND}`; export r; \
2957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 for flag in $(EXTRA_HOST_FLAGS) ; do \
2961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963 echo "Doing TAGS in autoconf" ; \
2965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2967 "RANLIB=$${RANLIB}" \
2968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2974 .PHONY: maybe-install-info-autoconf install-info-autoconf
2975 maybe-install-info-autoconf:
2977 maybe-install-info-autoconf: install-info-autoconf
2979 install-info-autoconf: \
2980 configure-autoconf \
2982 @[ -f ./autoconf/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2987 for flag in $(EXTRA_HOST_FLAGS) ; do \
2988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2990 echo "Doing install-info in autoconf" ; \
2992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2994 "RANLIB=$${RANLIB}" \
2995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3001 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3002 maybe-installcheck-autoconf:
3004 maybe-installcheck-autoconf: installcheck-autoconf
3006 installcheck-autoconf: \
3008 @[ -f ./autoconf/Makefile ] || exit 0; \
3009 r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3013 for flag in $(EXTRA_HOST_FLAGS) ; do \
3014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3016 echo "Doing installcheck in autoconf" ; \
3018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3020 "RANLIB=$${RANLIB}" \
3021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3027 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3028 maybe-mostlyclean-autoconf:
3030 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3032 mostlyclean-autoconf:
3033 @[ -f ./autoconf/Makefile ] || exit 0; \
3034 r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3038 for flag in $(EXTRA_HOST_FLAGS) ; do \
3039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3041 echo "Doing mostlyclean in autoconf" ; \
3043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3045 "RANLIB=$${RANLIB}" \
3046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3052 .PHONY: maybe-clean-autoconf clean-autoconf
3053 maybe-clean-autoconf:
3055 maybe-clean-autoconf: clean-autoconf
3058 @[ -f ./autoconf/Makefile ] || exit 0; \
3059 r=`${PWD_COMMAND}`; export r; \
3060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3063 for flag in $(EXTRA_HOST_FLAGS) ; do \
3064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3066 echo "Doing clean in autoconf" ; \
3068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3070 "RANLIB=$${RANLIB}" \
3071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3077 .PHONY: maybe-distclean-autoconf distclean-autoconf
3078 maybe-distclean-autoconf:
3080 maybe-distclean-autoconf: distclean-autoconf
3083 @[ -f ./autoconf/Makefile ] || exit 0; \
3084 r=`${PWD_COMMAND}`; export r; \
3085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088 for flag in $(EXTRA_HOST_FLAGS) ; do \
3089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3091 echo "Doing distclean in autoconf" ; \
3093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3095 "RANLIB=$${RANLIB}" \
3096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3102 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3103 maybe-maintainer-clean-autoconf:
3105 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3107 maintainer-clean-autoconf:
3108 @[ -f ./autoconf/Makefile ] || exit 0; \
3109 r=`${PWD_COMMAND}`; export r; \
3110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 for flag in $(EXTRA_HOST_FLAGS) ; do \
3114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3116 echo "Doing maintainer-clean in autoconf" ; \
3118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3120 "RANLIB=$${RANLIB}" \
3121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3128 .PHONY: configure-automake maybe-configure-automake
3129 maybe-configure-automake:
3131 maybe-configure-automake: configure-automake
3133 @test ! -f automake/Makefile || exit 0; \
3134 [ -d automake ] || mkdir automake; \
3135 r=`${PWD_COMMAND}`; export r; \
3136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3138 echo Configuring in automake; \
3139 cd automake || exit 1; \
3142 srcdiroption="--srcdir=."; \
3144 /* | [A-Za-z]:[\\/]*) \
3145 srcdiroption="--srcdir=$(srcdir)/automake"; \
3146 libsrcdir="$$s/automake";; \
3148 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3149 libsrcdir="$$s/automake";; \
3151 $(SHELL) $${libsrcdir}/configure \
3152 $(HOST_CONFIGARGS) $${srcdiroption} \
3156 .PHONY: all-automake maybe-all-automake
3159 maybe-all-automake: all-automake
3160 all-automake: configure-automake
3161 @r=`${PWD_COMMAND}`; export r; \
3162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3165 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3168 .PHONY: check-automake maybe-check-automake
3169 maybe-check-automake:
3171 maybe-check-automake: check-automake
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3182 .PHONY: install-automake maybe-install-automake
3183 maybe-install-automake:
3185 maybe-install-automake: install-automake
3187 install-automake: installdirs
3188 @r=`${PWD_COMMAND}`; export r; \
3189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3192 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3196 # Other targets (info, dvi, etc.)
3198 .PHONY: maybe-info-automake info-automake
3199 maybe-info-automake:
3201 maybe-info-automake: info-automake
3205 @[ -f ./automake/Makefile ] || exit 0; \
3206 r=`${PWD_COMMAND}`; export r; \
3207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3210 for flag in $(EXTRA_HOST_FLAGS) ; do \
3211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3213 echo "Doing info in automake" ; \
3215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3217 "RANLIB=$${RANLIB}" \
3218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3224 .PHONY: maybe-dvi-automake dvi-automake
3227 maybe-dvi-automake: dvi-automake
3231 @[ -f ./automake/Makefile ] || exit 0; \
3232 r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3236 for flag in $(EXTRA_HOST_FLAGS) ; do \
3237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3239 echo "Doing dvi in automake" ; \
3241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3243 "RANLIB=$${RANLIB}" \
3244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3250 .PHONY: maybe-TAGS-automake TAGS-automake
3251 maybe-TAGS-automake:
3253 maybe-TAGS-automake: TAGS-automake
3257 @[ -f ./automake/Makefile ] || exit 0; \
3258 r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3262 for flag in $(EXTRA_HOST_FLAGS) ; do \
3263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3265 echo "Doing TAGS in automake" ; \
3267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3269 "RANLIB=$${RANLIB}" \
3270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3276 .PHONY: maybe-install-info-automake install-info-automake
3277 maybe-install-info-automake:
3279 maybe-install-info-automake: install-info-automake
3281 install-info-automake: \
3282 configure-automake \
3284 @[ -f ./automake/Makefile ] || exit 0; \
3285 r=`${PWD_COMMAND}`; export r; \
3286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3289 for flag in $(EXTRA_HOST_FLAGS) ; do \
3290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3292 echo "Doing install-info in automake" ; \
3294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3296 "RANLIB=$${RANLIB}" \
3297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3303 .PHONY: maybe-installcheck-automake installcheck-automake
3304 maybe-installcheck-automake:
3306 maybe-installcheck-automake: installcheck-automake
3308 installcheck-automake: \
3310 @[ -f ./automake/Makefile ] || exit 0; \
3311 r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315 for flag in $(EXTRA_HOST_FLAGS) ; do \
3316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3318 echo "Doing installcheck in automake" ; \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3322 "RANLIB=$${RANLIB}" \
3323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3329 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3330 maybe-mostlyclean-automake:
3332 maybe-mostlyclean-automake: mostlyclean-automake
3334 mostlyclean-automake:
3335 @[ -f ./automake/Makefile ] || exit 0; \
3336 r=`${PWD_COMMAND}`; export r; \
3337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 for flag in $(EXTRA_HOST_FLAGS) ; do \
3341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3343 echo "Doing mostlyclean in automake" ; \
3345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3347 "RANLIB=$${RANLIB}" \
3348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3354 .PHONY: maybe-clean-automake clean-automake
3355 maybe-clean-automake:
3357 maybe-clean-automake: clean-automake
3360 @[ -f ./automake/Makefile ] || exit 0; \
3361 r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 for flag in $(EXTRA_HOST_FLAGS) ; do \
3366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3368 echo "Doing clean in automake" ; \
3370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3372 "RANLIB=$${RANLIB}" \
3373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3379 .PHONY: maybe-distclean-automake distclean-automake
3380 maybe-distclean-automake:
3382 maybe-distclean-automake: distclean-automake
3385 @[ -f ./automake/Makefile ] || exit 0; \
3386 r=`${PWD_COMMAND}`; export r; \
3387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3390 for flag in $(EXTRA_HOST_FLAGS) ; do \
3391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3393 echo "Doing distclean in automake" ; \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3397 "RANLIB=$${RANLIB}" \
3398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3404 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3405 maybe-maintainer-clean-automake:
3407 maybe-maintainer-clean-automake: maintainer-clean-automake
3409 maintainer-clean-automake:
3410 @[ -f ./automake/Makefile ] || exit 0; \
3411 r=`${PWD_COMMAND}`; export r; \
3412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3415 for flag in $(EXTRA_HOST_FLAGS) ; do \
3416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3418 echo "Doing maintainer-clean in automake" ; \
3420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3422 "RANLIB=$${RANLIB}" \
3423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3430 .PHONY: configure-bash maybe-configure-bash
3431 maybe-configure-bash:
3433 maybe-configure-bash: configure-bash
3435 @test ! -f bash/Makefile || exit 0; \
3436 [ -d bash ] || mkdir bash; \
3437 r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3440 echo Configuring in bash; \
3441 cd bash || exit 1; \
3444 srcdiroption="--srcdir=."; \
3446 /* | [A-Za-z]:[\\/]*) \
3447 srcdiroption="--srcdir=$(srcdir)/bash"; \
3448 libsrcdir="$$s/bash";; \
3450 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3451 libsrcdir="$$s/bash";; \
3453 $(SHELL) $${libsrcdir}/configure \
3454 $(HOST_CONFIGARGS) $${srcdiroption} \
3458 .PHONY: all-bash maybe-all-bash
3461 maybe-all-bash: all-bash
3462 all-bash: configure-bash
3463 @r=`${PWD_COMMAND}`; export r; \
3464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3470 .PHONY: check-bash maybe-check-bash
3473 maybe-check-bash: check-bash
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3484 .PHONY: install-bash maybe-install-bash
3487 maybe-install-bash: install-bash
3489 install-bash: installdirs
3490 @r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3494 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3498 # Other targets (info, dvi, etc.)
3500 .PHONY: maybe-info-bash info-bash
3503 maybe-info-bash: info-bash
3507 @[ -f ./bash/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3512 for flag in $(EXTRA_HOST_FLAGS) ; do \
3513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3515 echo "Doing info in bash" ; \
3517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3519 "RANLIB=$${RANLIB}" \
3520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3526 .PHONY: maybe-dvi-bash dvi-bash
3529 maybe-dvi-bash: dvi-bash
3533 @[ -f ./bash/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3538 for flag in $(EXTRA_HOST_FLAGS) ; do \
3539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3541 echo "Doing dvi in bash" ; \
3543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3545 "RANLIB=$${RANLIB}" \
3546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3552 .PHONY: maybe-TAGS-bash TAGS-bash
3555 maybe-TAGS-bash: TAGS-bash
3559 @[ -f ./bash/Makefile ] || exit 0; \
3560 r=`${PWD_COMMAND}`; export r; \
3561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 for flag in $(EXTRA_HOST_FLAGS) ; do \
3565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3567 echo "Doing TAGS in bash" ; \
3569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3571 "RANLIB=$${RANLIB}" \
3572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3578 .PHONY: maybe-install-info-bash install-info-bash
3579 maybe-install-info-bash:
3581 maybe-install-info-bash: install-info-bash
3583 install-info-bash: \
3586 @[ -f ./bash/Makefile ] || exit 0; \
3587 r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3591 for flag in $(EXTRA_HOST_FLAGS) ; do \
3592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3594 echo "Doing install-info in bash" ; \
3596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3598 "RANLIB=$${RANLIB}" \
3599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3605 .PHONY: maybe-installcheck-bash installcheck-bash
3606 maybe-installcheck-bash:
3608 maybe-installcheck-bash: installcheck-bash
3610 installcheck-bash: \
3612 @[ -f ./bash/Makefile ] || exit 0; \
3613 r=`${PWD_COMMAND}`; export r; \
3614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 for flag in $(EXTRA_HOST_FLAGS) ; do \
3618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3620 echo "Doing installcheck in bash" ; \
3622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3624 "RANLIB=$${RANLIB}" \
3625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3631 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3632 maybe-mostlyclean-bash:
3634 maybe-mostlyclean-bash: mostlyclean-bash
3637 @[ -f ./bash/Makefile ] || exit 0; \
3638 r=`${PWD_COMMAND}`; export r; \
3639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642 for flag in $(EXTRA_HOST_FLAGS) ; do \
3643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3645 echo "Doing mostlyclean in bash" ; \
3647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3649 "RANLIB=$${RANLIB}" \
3650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3656 .PHONY: maybe-clean-bash clean-bash
3659 maybe-clean-bash: clean-bash
3662 @[ -f ./bash/Makefile ] || exit 0; \
3663 r=`${PWD_COMMAND}`; export r; \
3664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3667 for flag in $(EXTRA_HOST_FLAGS) ; do \
3668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3670 echo "Doing clean in bash" ; \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \