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 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@
69 # -------------------------------------------------
70 # Miscellaneous non-standard autoconf-set variables
71 # -------------------------------------------------
73 # The file containing GCC's version number.
74 gcc_version_trigger = @gcc_version_trigger@
75 gcc_version = @gcc_version@
77 # The gcc driver likes to know the arguments it was configured with.
78 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
80 gxx_include_dir = @gxx_include_dir@
81 libstdcxx_incdir = @libstdcxx_incdir@
84 build_tooldir = @build_tooldir@
86 # Directory in which the compiler finds executables, libraries, etc.
87 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 # This is the name of the environment variable used for the path to
92 RPATH_ENVVAR = @RPATH_ENVVAR@
94 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
96 SET_LIB_PATH = @SET_LIB_PATH@
98 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
99 # Some platforms don't like blank entries, so we remove duplicate,
100 # leading and trailing colons.
101 REALLY_SET_LIB_PATH = \
102 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
104 # This is the list of directories to be built for the build system.
105 BUILD_CONFIGDIRS = libiberty libbanshee
106 # Build programs are put under this directory.
107 BUILD_SUBDIR = @build_subdir@
108 # This is set by the configure script to the arguments to use when configuring
109 # directories built for the build system.
110 BUILD_CONFIGARGS = @build_configargs@
112 # This is the list of directories to built for the host system.
113 SUBDIRS = @configdirs@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the host system.
116 HOST_CONFIGARGS = @host_configargs@
118 # This is set by the configure script to the list of directories which
119 # should be built using the target tools.
120 TARGET_CONFIGDIRS = @target_configdirs@
121 # Target libraries are put under this directory:
122 TARGET_SUBDIR = @target_subdir@
123 # This is set by the configure script to the arguments to use when configuring
124 # directories built for the target.
125 TARGET_CONFIGARGS = @target_configargs@
128 HOST_GMPLIBS = @gmplibs@
129 HOST_GMPINC = @gmpinc@
131 # ----------------------------------------------
132 # Programs producing files for the BUILD machine
133 # ----------------------------------------------
135 SHELL = @config_shell@
137 # pwd command to use. Allow user to override default by setting PWDCMD in
138 # the environment to account for automounters. The make variable must not
139 # be called PWDCMD, otherwise the value set here is passed to make
140 # subprocesses and overrides the setting from the user's environment.
141 # Don't use PWD since it is a common shell environment variable and we
142 # don't want to corrupt it.
143 PWD_COMMAND = $${PWDCMD-pwd}
145 # compilers to use to create programs which must be run in the build
147 CC_FOR_BUILD = @CC_FOR_BUILD@
148 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
150 CXX_FOR_BUILD = $(CXX)
152 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
153 # here so that they can be overridden by Makefile fragments.
154 BUILD_PREFIX = @BUILD_PREFIX@
155 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
158 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
159 echo $$r/bison/bison -L $$s/bison/ ; \
164 DEFAULT_YACC = @DEFAULT_YACC@
166 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
167 echo $$r/bison/bison -y -L $$s/bison/ ; \
168 elif [ -f $$r/byacc/byacc ] ; then \
169 echo $$r/byacc/byacc ; \
171 echo ${DEFAULT_YACC} ; \
174 DEFAULT_LEX = @DEFAULT_LEX@
176 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
177 then echo $$r/flex/flex ; \
178 else echo ${DEFAULT_LEX} ; fi`
180 DEFAULT_M4 = @DEFAULT_M4@
181 M4 = `if [ -f $$r/m4/m4 ] ; \
182 then echo $$r/m4/m4 ; \
183 else echo ${DEFAULT_M4} ; fi`
185 # For an installed makeinfo, we require it to be from texinfo 4.2 or
186 # higher, else we use the "missing" dummy.
188 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
189 then echo $$r/texinfo/makeinfo/makeinfo ; \
190 else if (makeinfo --version \
191 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
192 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
194 # This just becomes part of the MAKEINFO definition passed down to
195 # sub-makes. It lets flags be given on the command line while still
196 # using the makeinfo from the object tree.
197 # (Default to avoid splitting info files by setting the threshold high.)
198 MAKEINFOFLAGS = --split-size=5000000
200 EXPECT = `if [ -f $$r/expect/expect ] ; \
201 then echo $$r/expect/expect ; \
202 else echo expect ; fi`
204 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
205 then echo $$s/dejagnu/runtest ; \
206 else echo runtest ; fi`
208 # ---------------------------------------------
209 # Programs producing files for the HOST machine
210 # ---------------------------------------------
212 # This is the list of directories that may be needed in RPATH_ENVVAR
213 # so that programs built for the host machine work.
214 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
223 LIBCFLAGS = $(CFLAGS)
226 CXXFLAGS = @CXXFLAGS@
227 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
242 # -----------------------------------------------
243 # Programs producing files for the TARGET machine
244 # -----------------------------------------------
246 # This is the list of directories that may be needed in RPATH_ENVVAR
247 # so that prorgams built for the target machine work.
248 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
250 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
252 AR_FOR_TARGET=@AR_FOR_TARGET@
253 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
254 USUAL_AR_FOR_TARGET = ` \
255 if [ -f $$r/binutils/ar ] ; then \
256 echo $$r/binutils/ar ; \
258 if [ '$(host)' = '$(target)' ] ; then \
261 echo $(CONFIGURED_AR_FOR_TARGET) ; \
265 AS_FOR_TARGET=@AS_FOR_TARGET@
266 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
267 USUAL_AS_FOR_TARGET = ` \
268 if [ -f $$r/gas/as-new ] ; then \
269 echo $$r/gas/as-new ; \
270 elif [ -f $$r/gcc/xgcc ]; then \
271 $(CC_FOR_TARGET) -print-prog-name=as ; \
273 if [ '$(host)' = '$(target)' ] ; then \
276 echo $(CONFIGURED_AS_FOR_TARGET) ; \
280 CC_FOR_TARGET = @CC_FOR_TARGET@
281 # During gcc bootstrap, if we use some random cc for stage1 then
282 # CFLAGS will be just -g. We want to ensure that TARGET libraries
283 # (which we know are built with gcc) are built with optimizations so
284 # prepend -O2 when setting CFLAGS_FOR_TARGET.
285 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
286 # If GCC_FOR_TARGET is not overriden on the command line, then this
287 # variable is passed down to the gcc Makefile, where it is used to
288 # build libgcc2.a. We define it here so that it can itself be
289 # overridden on the command line.
290 GCC_FOR_TARGET=@GCC_FOR_TARGET@
291 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
292 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
294 CXX_FOR_TARGET = @CXX_FOR_TARGET@
295 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
296 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
297 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
298 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
299 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
301 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
302 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
303 USUAL_DLLTOOL_FOR_TARGET = ` \
304 if [ -f $$r/binutils/dlltool ] ; then \
305 echo $$r/binutils/dlltool ; \
307 if [ '$(host)' = '$(target)' ] ; then \
310 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
314 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
315 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
318 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
319 USUAL_LD_FOR_TARGET = ` \
320 if [ -f $$r/ld/ld-new ] ; then \
321 echo $$r/ld/ld-new ; \
322 elif [ -f $$r/gcc/xgcc ]; then \
323 $(CC_FOR_TARGET) -print-prog-name=ld ; \
325 if [ '$(host)' = '$(target)' ] ; then \
328 echo $(CONFIGURED_LD_FOR_TARGET) ; \
334 NM_FOR_TARGET=@NM_FOR_TARGET@
335 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
336 USUAL_NM_FOR_TARGET = ` \
337 if [ -f $$r/binutils/nm-new ] ; then \
338 echo $$r/binutils/nm-new ; \
339 elif [ -f $$r/gcc/xgcc ]; then \
340 $(CC_FOR_TARGET) -print-prog-name=nm ; \
342 if [ '$(host)' = '$(target)' ] ; then \
345 echo $(CONFIGURED_NM_FOR_TARGET) ; \
349 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
350 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
351 USUAL_RANLIB_FOR_TARGET = ` \
352 if [ -f $$r/binutils/ranlib ] ; then \
353 echo $$r/binutils/ranlib ; \
355 if [ '$(host)' = '$(target)' ] ; then \
356 if [ x'$(RANLIB)' != x ]; then \
362 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
366 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
367 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
368 USUAL_WINDRES_FOR_TARGET = ` \
369 if [ -f $$r/binutils/windres ] ; then \
370 echo $$r/binutils/windres ; \
372 if [ '$(host)' = '$(target)' ] ; then \
375 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
381 # ------------------------------------
382 # Miscellaneous targets and flag lists
383 # ------------------------------------
385 # The first rule in the file had better be this one. Don't put any above it.
386 # This lives here to allow makefile fragments to contain dependencies.
390 #### host and target specific makefile fragments come in here.
391 @target_makefile_frag@
397 # Flags to pass down to all sub-makes.
398 BASE_FLAGS_TO_PASS = \
399 "DESTDIR=$(DESTDIR)" \
400 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
401 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
403 "datadir=$(datadir)" \
404 "exec_prefix=$(exec_prefix)" \
405 "includedir=$(includedir)" \
406 "infodir=$(infodir)" \
408 "libexecdir=$(libexecdir)" \
409 "lispdir=$(lispdir)" \
410 "libstdcxx_incdir=$(libstdcxx_incdir)" \
411 "libsubdir=$(libsubdir)" \
412 "localstatedir=$(localstatedir)" \
414 "oldincludedir=$(oldincludedir)" \
416 "sbindir=$(sbindir)" \
417 "sharedstatedir=$(sharedstatedir)" \
418 "sysconfdir=$(sysconfdir)" \
419 "tooldir=$(tooldir)" \
420 "build_tooldir=$(build_tooldir)" \
421 "gxx_include_dir=$(gxx_include_dir)" \
422 "gcc_version=$(gcc_version)" \
423 "gcc_version_trigger=$(gcc_version_trigger)" \
424 "target_alias=$(target_alias)" \
426 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
427 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
429 "INSTALL=$(INSTALL)" \
430 "INSTALL_DATA=$(INSTALL_DATA)" \
431 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
432 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
436 "RUNTEST=$(RUNTEST)" \
437 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
440 "AR_FLAGS=$(AR_FLAGS)" \
442 "CXXFLAGS=$(CXXFLAGS)" \
443 "LDFLAGS=$(LDFLAGS)" \
444 "LIBCFLAGS=$(LIBCFLAGS)" \
445 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
446 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
447 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
448 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
449 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
450 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
451 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
452 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
453 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
454 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
455 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
456 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
457 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
458 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
459 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
460 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
461 "CONFIG_SHELL=$(SHELL)" \
462 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
464 # For any flags above that may contain shell code that varies from one
465 # target library to another. When doing recursive invocations of the
466 # top-level Makefile, we don't want the outer make to evaluate them,
467 # so we pass these variables down unchanged. They must not contain
468 # single nor double quotes.
470 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
471 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
473 # Flags to pass down to most sub-makes, in which we're building with
474 # the host environment.
480 'DLLTOOL=$(DLLTOOL)' \
486 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
488 # Flags that are concerned with the location of the X11 include files
491 # NOTE: until the top-level is getting the values via autoconf, it only
492 # causes problems to have this top-level Makefile overriding the autoconf-set
493 # values in child directories. Only variables that don't conflict with
494 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
496 X11_FLAGS_TO_PASS = \
497 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
498 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
500 # Flags to pass down to makes which are built with the target environment.
501 # The double $ decreases the length of the command line; the variables
502 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
503 EXTRA_TARGET_FLAGS = \
504 'AR=$$(AR_FOR_TARGET)' \
505 'AS=$$(AS_FOR_TARGET)' \
506 'CC=$$(CC_FOR_TARGET)' \
507 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
508 'CXX=$$(CXX_FOR_TARGET)' \
509 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
510 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
511 'LD=$$(LD_FOR_TARGET)' \
512 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
513 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
514 'NM=$$(NM_FOR_TARGET)' \
515 'RANLIB=$$(RANLIB_FOR_TARGET)' \
516 'WINDRES=$$(WINDRES_FOR_TARGET)'
518 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
520 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
521 # unfortunately needs the native compiler and the target ar and
523 # If any variables are added here, they must be added to do-*, below.
524 # The BUILD_* variables are a special case, which are used for the gcc
525 # cross-building scheme.
527 'BUILD_PREFIX=$(BUILD_PREFIX)' \
528 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
529 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
530 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
531 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
534 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
535 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
536 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
537 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
538 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
539 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
541 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
543 .PHONY: configure-host
544 configure-host: maybe-configure-gcc \
545 maybe-configure-ash \
546 maybe-configure-autoconf \
547 maybe-configure-automake \
548 maybe-configure-bash \
549 maybe-configure-bfd \
550 maybe-configure-opcodes \
551 maybe-configure-binutils \
552 maybe-configure-bison \
553 maybe-configure-byacc \
554 maybe-configure-bzip2 \
555 maybe-configure-dejagnu \
556 maybe-configure-diff \
557 maybe-configure-dosutils \
558 maybe-configure-etc \
559 maybe-configure-fastjar \
560 maybe-configure-fileutils \
561 maybe-configure-findutils \
562 maybe-configure-find \
563 maybe-configure-flex \
564 maybe-configure-gas \
565 maybe-configure-gawk \
566 maybe-configure-gettext \
567 maybe-configure-gnuserv \
568 maybe-configure-gprof \
569 maybe-configure-gzip \
570 maybe-configure-hello \
571 maybe-configure-indent \
572 maybe-configure-intl \
573 maybe-configure-tcl \
574 maybe-configure-itcl \
576 maybe-configure-libcpp \
577 maybe-configure-libgui \
578 maybe-configure-libbanshee \
579 maybe-configure-libiberty \
580 maybe-configure-libtool \
582 maybe-configure-make \
583 maybe-configure-mmalloc \
584 maybe-configure-patch \
585 maybe-configure-perl \
586 maybe-configure-prms \
587 maybe-configure-rcs \
588 maybe-configure-readline \
589 maybe-configure-release \
590 maybe-configure-recode \
591 maybe-configure-sed \
592 maybe-configure-send-pr \
593 maybe-configure-shellutils \
594 maybe-configure-sid \
595 maybe-configure-sim \
596 maybe-configure-tar \
597 maybe-configure-texinfo \
598 maybe-configure-textutils \
599 maybe-configure-time \
600 maybe-configure-uudecode \
601 maybe-configure-wdiff \
602 maybe-configure-zip \
603 maybe-configure-zlib \
604 maybe-configure-gdb \
605 maybe-configure-expect \
606 maybe-configure-guile \
608 maybe-configure-tix \
609 maybe-configure-libtermcap \
610 maybe-configure-utils
611 .PHONY: configure-target
613 maybe-configure-target-libstdc++-v3 \
614 maybe-configure-target-libmudflap \
615 maybe-configure-target-newlib \
616 maybe-configure-target-libgfortran \
617 maybe-configure-target-libobjc \
618 maybe-configure-target-libtermcap \
619 maybe-configure-target-winsup \
620 maybe-configure-target-libgloss \
621 maybe-configure-target-libiberty \
622 maybe-configure-target-gperf \
623 maybe-configure-target-examples \
624 maybe-configure-target-libffi \
625 maybe-configure-target-libjava \
626 maybe-configure-target-zlib \
627 maybe-configure-target-boehm-gc \
628 maybe-configure-target-qthreads \
629 maybe-configure-target-rda \
630 maybe-configure-target-libada
632 # The target built for a native build.
634 all.normal: @all_build_modules@ all-host all-target
637 all-host: maybe-all-gcc \
653 maybe-all-fileutils \
654 maybe-all-findutils \
671 maybe-all-libbanshee \
672 maybe-all-libiberty \
686 maybe-all-shellutils \
691 maybe-all-textutils \
702 maybe-all-libtermcap \
706 maybe-all-target-libstdc++-v3 \
707 maybe-all-target-libmudflap \
708 maybe-all-target-newlib \
709 maybe-all-target-libgfortran \
710 maybe-all-target-libobjc \
711 maybe-all-target-libtermcap \
712 maybe-all-target-winsup \
713 maybe-all-target-libgloss \
714 maybe-all-target-libiberty \
715 maybe-all-target-gperf \
716 maybe-all-target-examples \
717 maybe-all-target-libffi \
718 maybe-all-target-libjava \
719 maybe-all-target-zlib \
720 maybe-all-target-boehm-gc \
721 maybe-all-target-qthreads \
722 maybe-all-target-rda \
723 maybe-all-target-libada
725 # Do a target for all the subdirectories. A ``make do-X'' will do a
726 # ``make X'' in all subdirectories (because, in general, there is a
727 # dependency (below) of X upon do-X, a ``make X'' will also do this,
728 # but it may do additional work as well).
731 do-info: info-host info-target
734 info-host: maybe-info-gcc \
736 maybe-info-autoconf \
737 maybe-info-automake \
741 maybe-info-binutils \
747 maybe-info-dosutils \
750 maybe-info-fileutils \
751 maybe-info-findutils \
768 maybe-info-libbanshee \
769 maybe-info-libiberty \
778 maybe-info-readline \
783 maybe-info-shellutils \
788 maybe-info-textutils \
790 maybe-info-uudecode \
799 maybe-info-libtermcap \
804 maybe-info-target-libstdc++-v3 \
805 maybe-info-target-libmudflap \
806 maybe-info-target-newlib \
807 maybe-info-target-libgfortran \
808 maybe-info-target-libobjc \
809 maybe-info-target-libtermcap \
810 maybe-info-target-winsup \
811 maybe-info-target-libgloss \
812 maybe-info-target-libiberty \
813 maybe-info-target-gperf \
814 maybe-info-target-examples \
815 maybe-info-target-libffi \
816 maybe-info-target-libjava \
817 maybe-info-target-zlib \
818 maybe-info-target-boehm-gc \
819 maybe-info-target-qthreads \
820 maybe-info-target-rda \
821 maybe-info-target-libada
824 do-dvi: dvi-host dvi-target
827 dvi-host: maybe-dvi-gcc \
843 maybe-dvi-fileutils \
844 maybe-dvi-findutils \
861 maybe-dvi-libbanshee \
862 maybe-dvi-libiberty \
876 maybe-dvi-shellutils \
881 maybe-dvi-textutils \
892 maybe-dvi-libtermcap \
897 maybe-dvi-target-libstdc++-v3 \
898 maybe-dvi-target-libmudflap \
899 maybe-dvi-target-newlib \
900 maybe-dvi-target-libgfortran \
901 maybe-dvi-target-libobjc \
902 maybe-dvi-target-libtermcap \
903 maybe-dvi-target-winsup \
904 maybe-dvi-target-libgloss \
905 maybe-dvi-target-libiberty \
906 maybe-dvi-target-gperf \
907 maybe-dvi-target-examples \
908 maybe-dvi-target-libffi \
909 maybe-dvi-target-libjava \
910 maybe-dvi-target-zlib \
911 maybe-dvi-target-boehm-gc \
912 maybe-dvi-target-qthreads \
913 maybe-dvi-target-rda \
914 maybe-dvi-target-libada
917 do-TAGS: TAGS-host TAGS-target
920 TAGS-host: maybe-TAGS-gcc \
922 maybe-TAGS-autoconf \
923 maybe-TAGS-automake \
927 maybe-TAGS-binutils \
933 maybe-TAGS-dosutils \
936 maybe-TAGS-fileutils \
937 maybe-TAGS-findutils \
954 maybe-TAGS-libbanshee \
955 maybe-TAGS-libiberty \
964 maybe-TAGS-readline \
969 maybe-TAGS-shellutils \
974 maybe-TAGS-textutils \
976 maybe-TAGS-uudecode \
985 maybe-TAGS-libtermcap \
990 maybe-TAGS-target-libstdc++-v3 \
991 maybe-TAGS-target-libmudflap \
992 maybe-TAGS-target-newlib \
993 maybe-TAGS-target-libgfortran \
994 maybe-TAGS-target-libobjc \
995 maybe-TAGS-target-libtermcap \
996 maybe-TAGS-target-winsup \
997 maybe-TAGS-target-libgloss \
998 maybe-TAGS-target-libiberty \
999 maybe-TAGS-target-gperf \
1000 maybe-TAGS-target-examples \
1001 maybe-TAGS-target-libffi \
1002 maybe-TAGS-target-libjava \
1003 maybe-TAGS-target-zlib \
1004 maybe-TAGS-target-boehm-gc \
1005 maybe-TAGS-target-qthreads \
1006 maybe-TAGS-target-rda \
1007 maybe-TAGS-target-libada
1009 .PHONY: do-install-info
1010 do-install-info: install-info-host install-info-target
1012 .PHONY: install-info-host
1013 install-info-host: maybe-install-info-gcc \
1014 maybe-install-info-ash \
1015 maybe-install-info-autoconf \
1016 maybe-install-info-automake \
1017 maybe-install-info-bash \
1018 maybe-install-info-bfd \
1019 maybe-install-info-opcodes \
1020 maybe-install-info-binutils \
1021 maybe-install-info-bison \
1022 maybe-install-info-byacc \
1023 maybe-install-info-bzip2 \
1024 maybe-install-info-dejagnu \
1025 maybe-install-info-diff \
1026 maybe-install-info-dosutils \
1027 maybe-install-info-etc \
1028 maybe-install-info-fastjar \
1029 maybe-install-info-fileutils \
1030 maybe-install-info-findutils \
1031 maybe-install-info-find \
1032 maybe-install-info-flex \
1033 maybe-install-info-gas \
1034 maybe-install-info-gawk \
1035 maybe-install-info-gettext \
1036 maybe-install-info-gnuserv \
1037 maybe-install-info-gprof \
1038 maybe-install-info-gzip \
1039 maybe-install-info-hello \
1040 maybe-install-info-indent \
1041 maybe-install-info-intl \
1042 maybe-install-info-tcl \
1043 maybe-install-info-itcl \
1044 maybe-install-info-ld \
1045 maybe-install-info-libcpp \
1046 maybe-install-info-libgui \
1047 maybe-install-info-libbanshee \
1048 maybe-install-info-libiberty \
1049 maybe-install-info-libtool \
1050 maybe-install-info-m4 \
1051 maybe-install-info-make \
1052 maybe-install-info-mmalloc \
1053 maybe-install-info-patch \
1054 maybe-install-info-perl \
1055 maybe-install-info-prms \
1056 maybe-install-info-rcs \
1057 maybe-install-info-readline \
1058 maybe-install-info-release \
1059 maybe-install-info-recode \
1060 maybe-install-info-sed \
1061 maybe-install-info-send-pr \
1062 maybe-install-info-shellutils \
1063 maybe-install-info-sid \
1064 maybe-install-info-sim \
1065 maybe-install-info-tar \
1066 maybe-install-info-texinfo \
1067 maybe-install-info-textutils \
1068 maybe-install-info-time \
1069 maybe-install-info-uudecode \
1070 maybe-install-info-wdiff \
1071 maybe-install-info-zip \
1072 maybe-install-info-zlib \
1073 maybe-install-info-gdb \
1074 maybe-install-info-expect \
1075 maybe-install-info-guile \
1076 maybe-install-info-tk \
1077 maybe-install-info-tix \
1078 maybe-install-info-libtermcap \
1079 maybe-install-info-utils
1081 .PHONY: install-info-target
1082 install-info-target: \
1083 maybe-install-info-target-libstdc++-v3 \
1084 maybe-install-info-target-libmudflap \
1085 maybe-install-info-target-newlib \
1086 maybe-install-info-target-libgfortran \
1087 maybe-install-info-target-libobjc \
1088 maybe-install-info-target-libtermcap \
1089 maybe-install-info-target-winsup \
1090 maybe-install-info-target-libgloss \
1091 maybe-install-info-target-libiberty \
1092 maybe-install-info-target-gperf \
1093 maybe-install-info-target-examples \
1094 maybe-install-info-target-libffi \
1095 maybe-install-info-target-libjava \
1096 maybe-install-info-target-zlib \
1097 maybe-install-info-target-boehm-gc \
1098 maybe-install-info-target-qthreads \
1099 maybe-install-info-target-rda \
1100 maybe-install-info-target-libada
1102 .PHONY: do-installcheck
1103 do-installcheck: installcheck-host installcheck-target
1105 .PHONY: installcheck-host
1106 installcheck-host: maybe-installcheck-gcc \
1107 maybe-installcheck-ash \
1108 maybe-installcheck-autoconf \
1109 maybe-installcheck-automake \
1110 maybe-installcheck-bash \
1111 maybe-installcheck-bfd \
1112 maybe-installcheck-opcodes \
1113 maybe-installcheck-binutils \
1114 maybe-installcheck-bison \
1115 maybe-installcheck-byacc \
1116 maybe-installcheck-bzip2 \
1117 maybe-installcheck-dejagnu \
1118 maybe-installcheck-diff \
1119 maybe-installcheck-dosutils \
1120 maybe-installcheck-etc \
1121 maybe-installcheck-fastjar \
1122 maybe-installcheck-fileutils \
1123 maybe-installcheck-findutils \
1124 maybe-installcheck-find \
1125 maybe-installcheck-flex \
1126 maybe-installcheck-gas \
1127 maybe-installcheck-gawk \
1128 maybe-installcheck-gettext \
1129 maybe-installcheck-gnuserv \
1130 maybe-installcheck-gprof \
1131 maybe-installcheck-gzip \
1132 maybe-installcheck-hello \
1133 maybe-installcheck-indent \
1134 maybe-installcheck-intl \
1135 maybe-installcheck-tcl \
1136 maybe-installcheck-itcl \
1137 maybe-installcheck-ld \
1138 maybe-installcheck-libcpp \
1139 maybe-installcheck-libgui \
1140 maybe-installcheck-libbanshee \
1141 maybe-installcheck-libiberty \
1142 maybe-installcheck-libtool \
1143 maybe-installcheck-m4 \
1144 maybe-installcheck-make \
1145 maybe-installcheck-mmalloc \
1146 maybe-installcheck-patch \
1147 maybe-installcheck-perl \
1148 maybe-installcheck-prms \
1149 maybe-installcheck-rcs \
1150 maybe-installcheck-readline \
1151 maybe-installcheck-release \
1152 maybe-installcheck-recode \
1153 maybe-installcheck-sed \
1154 maybe-installcheck-send-pr \
1155 maybe-installcheck-shellutils \
1156 maybe-installcheck-sid \
1157 maybe-installcheck-sim \
1158 maybe-installcheck-tar \
1159 maybe-installcheck-texinfo \
1160 maybe-installcheck-textutils \
1161 maybe-installcheck-time \
1162 maybe-installcheck-uudecode \
1163 maybe-installcheck-wdiff \
1164 maybe-installcheck-zip \
1165 maybe-installcheck-zlib \
1166 maybe-installcheck-gdb \
1167 maybe-installcheck-expect \
1168 maybe-installcheck-guile \
1169 maybe-installcheck-tk \
1170 maybe-installcheck-tix \
1171 maybe-installcheck-libtermcap \
1172 maybe-installcheck-utils
1174 .PHONY: installcheck-target
1175 installcheck-target: \
1176 maybe-installcheck-target-libstdc++-v3 \
1177 maybe-installcheck-target-libmudflap \
1178 maybe-installcheck-target-newlib \
1179 maybe-installcheck-target-libgfortran \
1180 maybe-installcheck-target-libobjc \
1181 maybe-installcheck-target-libtermcap \
1182 maybe-installcheck-target-winsup \
1183 maybe-installcheck-target-libgloss \
1184 maybe-installcheck-target-libiberty \
1185 maybe-installcheck-target-gperf \
1186 maybe-installcheck-target-examples \
1187 maybe-installcheck-target-libffi \
1188 maybe-installcheck-target-libjava \
1189 maybe-installcheck-target-zlib \
1190 maybe-installcheck-target-boehm-gc \
1191 maybe-installcheck-target-qthreads \
1192 maybe-installcheck-target-rda \
1193 maybe-installcheck-target-libada
1195 .PHONY: do-mostlyclean
1196 do-mostlyclean: mostlyclean-host mostlyclean-target
1198 .PHONY: mostlyclean-host
1199 mostlyclean-host: maybe-mostlyclean-gcc \
1200 maybe-mostlyclean-ash \
1201 maybe-mostlyclean-autoconf \
1202 maybe-mostlyclean-automake \
1203 maybe-mostlyclean-bash \
1204 maybe-mostlyclean-bfd \
1205 maybe-mostlyclean-opcodes \
1206 maybe-mostlyclean-binutils \
1207 maybe-mostlyclean-bison \
1208 maybe-mostlyclean-byacc \
1209 maybe-mostlyclean-bzip2 \
1210 maybe-mostlyclean-dejagnu \
1211 maybe-mostlyclean-diff \
1212 maybe-mostlyclean-dosutils \
1213 maybe-mostlyclean-etc \
1214 maybe-mostlyclean-fastjar \
1215 maybe-mostlyclean-fileutils \
1216 maybe-mostlyclean-findutils \
1217 maybe-mostlyclean-find \
1218 maybe-mostlyclean-flex \
1219 maybe-mostlyclean-gas \
1220 maybe-mostlyclean-gawk \
1221 maybe-mostlyclean-gettext \
1222 maybe-mostlyclean-gnuserv \
1223 maybe-mostlyclean-gprof \
1224 maybe-mostlyclean-gzip \
1225 maybe-mostlyclean-hello \
1226 maybe-mostlyclean-indent \
1227 maybe-mostlyclean-intl \
1228 maybe-mostlyclean-tcl \
1229 maybe-mostlyclean-itcl \
1230 maybe-mostlyclean-ld \
1231 maybe-mostlyclean-libcpp \
1232 maybe-mostlyclean-libgui \
1233 maybe-mostlyclean-libbanshee \
1234 maybe-mostlyclean-libiberty \
1235 maybe-mostlyclean-libtool \
1236 maybe-mostlyclean-m4 \
1237 maybe-mostlyclean-make \
1238 maybe-mostlyclean-mmalloc \
1239 maybe-mostlyclean-patch \
1240 maybe-mostlyclean-perl \
1241 maybe-mostlyclean-prms \
1242 maybe-mostlyclean-rcs \
1243 maybe-mostlyclean-readline \
1244 maybe-mostlyclean-release \
1245 maybe-mostlyclean-recode \
1246 maybe-mostlyclean-sed \
1247 maybe-mostlyclean-send-pr \
1248 maybe-mostlyclean-shellutils \
1249 maybe-mostlyclean-sid \
1250 maybe-mostlyclean-sim \
1251 maybe-mostlyclean-tar \
1252 maybe-mostlyclean-texinfo \
1253 maybe-mostlyclean-textutils \
1254 maybe-mostlyclean-time \
1255 maybe-mostlyclean-uudecode \
1256 maybe-mostlyclean-wdiff \
1257 maybe-mostlyclean-zip \
1258 maybe-mostlyclean-zlib \
1259 maybe-mostlyclean-gdb \
1260 maybe-mostlyclean-expect \
1261 maybe-mostlyclean-guile \
1262 maybe-mostlyclean-tk \
1263 maybe-mostlyclean-tix \
1264 maybe-mostlyclean-libtermcap \
1265 maybe-mostlyclean-utils
1267 .PHONY: mostlyclean-target
1268 mostlyclean-target: \
1269 maybe-mostlyclean-target-libstdc++-v3 \
1270 maybe-mostlyclean-target-libmudflap \
1271 maybe-mostlyclean-target-newlib \
1272 maybe-mostlyclean-target-libgfortran \
1273 maybe-mostlyclean-target-libobjc \
1274 maybe-mostlyclean-target-libtermcap \
1275 maybe-mostlyclean-target-winsup \
1276 maybe-mostlyclean-target-libgloss \
1277 maybe-mostlyclean-target-libiberty \
1278 maybe-mostlyclean-target-gperf \
1279 maybe-mostlyclean-target-examples \
1280 maybe-mostlyclean-target-libffi \
1281 maybe-mostlyclean-target-libjava \
1282 maybe-mostlyclean-target-zlib \
1283 maybe-mostlyclean-target-boehm-gc \
1284 maybe-mostlyclean-target-qthreads \
1285 maybe-mostlyclean-target-rda \
1286 maybe-mostlyclean-target-libada
1289 do-clean: clean-host clean-target
1292 clean-host: maybe-clean-gcc \
1294 maybe-clean-autoconf \
1295 maybe-clean-automake \
1298 maybe-clean-opcodes \
1299 maybe-clean-binutils \
1303 maybe-clean-dejagnu \
1305 maybe-clean-dosutils \
1307 maybe-clean-fastjar \
1308 maybe-clean-fileutils \
1309 maybe-clean-findutils \
1314 maybe-clean-gettext \
1315 maybe-clean-gnuserv \
1319 maybe-clean-indent \
1324 maybe-clean-libcpp \
1325 maybe-clean-libgui \
1326 maybe-clean-libbanshee \
1327 maybe-clean-libiberty \
1328 maybe-clean-libtool \
1331 maybe-clean-mmalloc \
1336 maybe-clean-readline \
1337 maybe-clean-release \
1338 maybe-clean-recode \
1340 maybe-clean-send-pr \
1341 maybe-clean-shellutils \
1345 maybe-clean-texinfo \
1346 maybe-clean-textutils \
1348 maybe-clean-uudecode \
1353 maybe-clean-expect \
1357 maybe-clean-libtermcap \
1360 .PHONY: clean-target
1362 maybe-clean-target-libstdc++-v3 \
1363 maybe-clean-target-libmudflap \
1364 maybe-clean-target-newlib \
1365 maybe-clean-target-libgfortran \
1366 maybe-clean-target-libobjc \
1367 maybe-clean-target-libtermcap \
1368 maybe-clean-target-winsup \
1369 maybe-clean-target-libgloss \
1370 maybe-clean-target-libiberty \
1371 maybe-clean-target-gperf \
1372 maybe-clean-target-examples \
1373 maybe-clean-target-libffi \
1374 maybe-clean-target-libjava \
1375 maybe-clean-target-zlib \
1376 maybe-clean-target-boehm-gc \
1377 maybe-clean-target-qthreads \
1378 maybe-clean-target-rda \
1379 maybe-clean-target-libada
1381 .PHONY: do-distclean
1382 do-distclean: distclean-host distclean-target
1384 .PHONY: distclean-host
1385 distclean-host: maybe-distclean-gcc \
1386 maybe-distclean-ash \
1387 maybe-distclean-autoconf \
1388 maybe-distclean-automake \
1389 maybe-distclean-bash \
1390 maybe-distclean-bfd \
1391 maybe-distclean-opcodes \
1392 maybe-distclean-binutils \
1393 maybe-distclean-bison \
1394 maybe-distclean-byacc \
1395 maybe-distclean-bzip2 \
1396 maybe-distclean-dejagnu \
1397 maybe-distclean-diff \
1398 maybe-distclean-dosutils \
1399 maybe-distclean-etc \
1400 maybe-distclean-fastjar \
1401 maybe-distclean-fileutils \
1402 maybe-distclean-findutils \
1403 maybe-distclean-find \
1404 maybe-distclean-flex \
1405 maybe-distclean-gas \
1406 maybe-distclean-gawk \
1407 maybe-distclean-gettext \
1408 maybe-distclean-gnuserv \
1409 maybe-distclean-gprof \
1410 maybe-distclean-gzip \
1411 maybe-distclean-hello \
1412 maybe-distclean-indent \
1413 maybe-distclean-intl \
1414 maybe-distclean-tcl \
1415 maybe-distclean-itcl \
1416 maybe-distclean-ld \
1417 maybe-distclean-libcpp \
1418 maybe-distclean-libgui \
1419 maybe-distclean-libbanshee \
1420 maybe-distclean-libiberty \
1421 maybe-distclean-libtool \
1422 maybe-distclean-m4 \
1423 maybe-distclean-make \
1424 maybe-distclean-mmalloc \
1425 maybe-distclean-patch \
1426 maybe-distclean-perl \
1427 maybe-distclean-prms \
1428 maybe-distclean-rcs \
1429 maybe-distclean-readline \
1430 maybe-distclean-release \
1431 maybe-distclean-recode \
1432 maybe-distclean-sed \
1433 maybe-distclean-send-pr \
1434 maybe-distclean-shellutils \
1435 maybe-distclean-sid \
1436 maybe-distclean-sim \
1437 maybe-distclean-tar \
1438 maybe-distclean-texinfo \
1439 maybe-distclean-textutils \
1440 maybe-distclean-time \
1441 maybe-distclean-uudecode \
1442 maybe-distclean-wdiff \
1443 maybe-distclean-zip \
1444 maybe-distclean-zlib \
1445 maybe-distclean-gdb \
1446 maybe-distclean-expect \
1447 maybe-distclean-guile \
1448 maybe-distclean-tk \
1449 maybe-distclean-tix \
1450 maybe-distclean-libtermcap \
1451 maybe-distclean-utils
1453 .PHONY: distclean-target
1455 maybe-distclean-target-libstdc++-v3 \
1456 maybe-distclean-target-libmudflap \
1457 maybe-distclean-target-newlib \
1458 maybe-distclean-target-libgfortran \
1459 maybe-distclean-target-libobjc \
1460 maybe-distclean-target-libtermcap \
1461 maybe-distclean-target-winsup \
1462 maybe-distclean-target-libgloss \
1463 maybe-distclean-target-libiberty \
1464 maybe-distclean-target-gperf \
1465 maybe-distclean-target-examples \
1466 maybe-distclean-target-libffi \
1467 maybe-distclean-target-libjava \
1468 maybe-distclean-target-zlib \
1469 maybe-distclean-target-boehm-gc \
1470 maybe-distclean-target-qthreads \
1471 maybe-distclean-target-rda \
1472 maybe-distclean-target-libada
1474 .PHONY: do-maintainer-clean
1475 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1477 .PHONY: maintainer-clean-host
1478 maintainer-clean-host: maybe-maintainer-clean-gcc \
1479 maybe-maintainer-clean-ash \
1480 maybe-maintainer-clean-autoconf \
1481 maybe-maintainer-clean-automake \
1482 maybe-maintainer-clean-bash \
1483 maybe-maintainer-clean-bfd \
1484 maybe-maintainer-clean-opcodes \
1485 maybe-maintainer-clean-binutils \
1486 maybe-maintainer-clean-bison \
1487 maybe-maintainer-clean-byacc \
1488 maybe-maintainer-clean-bzip2 \
1489 maybe-maintainer-clean-dejagnu \
1490 maybe-maintainer-clean-diff \
1491 maybe-maintainer-clean-dosutils \
1492 maybe-maintainer-clean-etc \
1493 maybe-maintainer-clean-fastjar \
1494 maybe-maintainer-clean-fileutils \
1495 maybe-maintainer-clean-findutils \
1496 maybe-maintainer-clean-find \
1497 maybe-maintainer-clean-flex \
1498 maybe-maintainer-clean-gas \
1499 maybe-maintainer-clean-gawk \
1500 maybe-maintainer-clean-gettext \
1501 maybe-maintainer-clean-gnuserv \
1502 maybe-maintainer-clean-gprof \
1503 maybe-maintainer-clean-gzip \
1504 maybe-maintainer-clean-hello \
1505 maybe-maintainer-clean-indent \
1506 maybe-maintainer-clean-intl \
1507 maybe-maintainer-clean-tcl \
1508 maybe-maintainer-clean-itcl \
1509 maybe-maintainer-clean-ld \
1510 maybe-maintainer-clean-libcpp \
1511 maybe-maintainer-clean-libgui \
1512 maybe-maintainer-clean-libbanshee \
1513 maybe-maintainer-clean-libiberty \
1514 maybe-maintainer-clean-libtool \
1515 maybe-maintainer-clean-m4 \
1516 maybe-maintainer-clean-make \
1517 maybe-maintainer-clean-mmalloc \
1518 maybe-maintainer-clean-patch \
1519 maybe-maintainer-clean-perl \
1520 maybe-maintainer-clean-prms \
1521 maybe-maintainer-clean-rcs \
1522 maybe-maintainer-clean-readline \
1523 maybe-maintainer-clean-release \
1524 maybe-maintainer-clean-recode \
1525 maybe-maintainer-clean-sed \
1526 maybe-maintainer-clean-send-pr \
1527 maybe-maintainer-clean-shellutils \
1528 maybe-maintainer-clean-sid \
1529 maybe-maintainer-clean-sim \
1530 maybe-maintainer-clean-tar \
1531 maybe-maintainer-clean-texinfo \
1532 maybe-maintainer-clean-textutils \
1533 maybe-maintainer-clean-time \
1534 maybe-maintainer-clean-uudecode \
1535 maybe-maintainer-clean-wdiff \
1536 maybe-maintainer-clean-zip \
1537 maybe-maintainer-clean-zlib \
1538 maybe-maintainer-clean-gdb \
1539 maybe-maintainer-clean-expect \
1540 maybe-maintainer-clean-guile \
1541 maybe-maintainer-clean-tk \
1542 maybe-maintainer-clean-tix \
1543 maybe-maintainer-clean-libtermcap \
1544 maybe-maintainer-clean-utils
1546 .PHONY: maintainer-clean-target
1547 maintainer-clean-target: \
1548 maybe-maintainer-clean-target-libstdc++-v3 \
1549 maybe-maintainer-clean-target-libmudflap \
1550 maybe-maintainer-clean-target-newlib \
1551 maybe-maintainer-clean-target-libgfortran \
1552 maybe-maintainer-clean-target-libobjc \
1553 maybe-maintainer-clean-target-libtermcap \
1554 maybe-maintainer-clean-target-winsup \
1555 maybe-maintainer-clean-target-libgloss \
1556 maybe-maintainer-clean-target-libiberty \
1557 maybe-maintainer-clean-target-gperf \
1558 maybe-maintainer-clean-target-examples \
1559 maybe-maintainer-clean-target-libffi \
1560 maybe-maintainer-clean-target-libjava \
1561 maybe-maintainer-clean-target-zlib \
1562 maybe-maintainer-clean-target-boehm-gc \
1563 maybe-maintainer-clean-target-qthreads \
1564 maybe-maintainer-clean-target-rda \
1565 maybe-maintainer-clean-target-libada
1568 # Here are the targets which correspond to the do-X targets.
1570 .PHONY: info installcheck dvi install-info
1571 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1572 .PHONY: local-clean local-distclean local-maintainer-clean
1574 installcheck: do-installcheck
1577 # Make sure makeinfo is built before we do a `make info', if we're
1578 # in fact building texinfo.
1579 do-info: maybe-all-texinfo
1581 install-info: do-install-info dir.info
1582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1583 if [ -f dir.info ] ; then \
1584 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1588 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1591 -rm -f Makefile config.status config.cache mh-frag mt-frag
1592 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1593 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1594 rm -rf $(TARGET_SUBDIR); \
1596 -rm -rf $(BUILD_SUBDIR)
1597 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1598 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1599 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1600 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1601 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1603 local-maintainer-clean:
1604 @echo "This command is intended for maintainers to use;"
1605 @echo "it deletes files that may require special tools to rebuild."
1607 clean: do-clean local-clean
1608 mostlyclean: do-mostlyclean local-clean
1609 distclean: do-distclean local-clean local-distclean
1610 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1611 maintainer-clean: local-distclean
1612 realclean: maintainer-clean
1614 # Extra dependency for clean-target, owing to the mixed nature of gcc
1615 clean-target: clean-target-libgcc
1616 clean-target-libgcc:
1617 test ! -d gcc/libgcc || \
1618 (cd gcc/libgcc && find . -type d -print) | \
1619 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1624 .PHONY: check do-check
1627 # Only include modules actually being configured and built.
1628 do-check: maybe-check-gcc \
1630 maybe-check-autoconf \
1631 maybe-check-automake \
1634 maybe-check-opcodes \
1635 maybe-check-binutils \
1639 maybe-check-dejagnu \
1641 maybe-check-dosutils \
1643 maybe-check-fastjar \
1644 maybe-check-fileutils \
1645 maybe-check-findutils \
1650 maybe-check-gettext \
1651 maybe-check-gnuserv \
1655 maybe-check-indent \
1660 maybe-check-libcpp \
1661 maybe-check-libgui \
1662 maybe-check-libbanshee \
1663 maybe-check-libiberty \
1664 maybe-check-libtool \
1667 maybe-check-mmalloc \
1672 maybe-check-readline \
1673 maybe-check-release \
1674 maybe-check-recode \
1676 maybe-check-send-pr \
1677 maybe-check-shellutils \
1681 maybe-check-texinfo \
1682 maybe-check-textutils \
1684 maybe-check-uudecode \
1689 maybe-check-expect \
1693 maybe-check-libtermcap \
1695 maybe-check-target-libstdc++-v3 \
1696 maybe-check-target-libmudflap \
1697 maybe-check-target-newlib \
1698 maybe-check-target-libgfortran \
1699 maybe-check-target-libobjc \
1700 maybe-check-target-libtermcap \
1701 maybe-check-target-winsup \
1702 maybe-check-target-libgloss \
1703 maybe-check-target-libiberty \
1704 maybe-check-target-gperf \
1705 maybe-check-target-examples \
1706 maybe-check-target-libffi \
1707 maybe-check-target-libjava \
1708 maybe-check-target-zlib \
1709 maybe-check-target-boehm-gc \
1710 maybe-check-target-qthreads \
1711 maybe-check-target-rda \
1712 maybe-check-target-libada
1714 # Automated reporting of test results.
1716 warning.log: build.log
1717 $(srcdir)/contrib/warn_summary build.log > $@
1720 if test x'$(BOOT_CFLAGS)' != x''; then \
1721 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1723 $(srcdir)/contrib/test_summary -t >$@
1725 echo If you really want to send e-mail, run ./$@ now
1727 mail-report-with-warnings.log: warning.log
1728 if test x'$(BOOT_CFLAGS)' != x''; then \
1729 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1731 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1733 echo If you really want to send e-mail, run ./$@ now
1735 # Installation targets.
1737 .PHONY: install uninstall
1738 install: installdirs install-host install-target
1740 .PHONY: install-host-nogcc
1741 install-host-nogcc: \
1743 maybe-install-autoconf \
1744 maybe-install-automake \
1745 maybe-install-bash \
1747 maybe-install-opcodes \
1748 maybe-install-binutils \
1749 maybe-install-bison \
1750 maybe-install-byacc \
1751 maybe-install-bzip2 \
1752 maybe-install-dejagnu \
1753 maybe-install-diff \
1754 maybe-install-dosutils \
1756 maybe-install-fastjar \
1757 maybe-install-fileutils \
1758 maybe-install-findutils \
1759 maybe-install-find \
1760 maybe-install-flex \
1762 maybe-install-gawk \
1763 maybe-install-gettext \
1764 maybe-install-gnuserv \
1765 maybe-install-gprof \
1766 maybe-install-gzip \
1767 maybe-install-hello \
1768 maybe-install-indent \
1769 maybe-install-intl \
1771 maybe-install-itcl \
1773 maybe-install-libcpp \
1774 maybe-install-libgui \
1775 maybe-install-libbanshee \
1776 maybe-install-libiberty \
1777 maybe-install-libtool \
1779 maybe-install-make \
1780 maybe-install-mmalloc \
1781 maybe-install-patch \
1782 maybe-install-perl \
1783 maybe-install-prms \
1785 maybe-install-readline \
1786 maybe-install-release \
1787 maybe-install-recode \
1789 maybe-install-send-pr \
1790 maybe-install-shellutils \
1794 maybe-install-texinfo \
1795 maybe-install-textutils \
1796 maybe-install-time \
1797 maybe-install-uudecode \
1798 maybe-install-wdiff \
1800 maybe-install-zlib \
1802 maybe-install-expect \
1803 maybe-install-guile \
1806 maybe-install-libtermcap \
1809 .PHONY: install-host
1810 install-host: maybe-install-gcc \
1812 maybe-install-autoconf \
1813 maybe-install-automake \
1814 maybe-install-bash \
1816 maybe-install-opcodes \
1817 maybe-install-binutils \
1818 maybe-install-bison \
1819 maybe-install-byacc \
1820 maybe-install-bzip2 \
1821 maybe-install-dejagnu \
1822 maybe-install-diff \
1823 maybe-install-dosutils \
1825 maybe-install-fastjar \
1826 maybe-install-fileutils \
1827 maybe-install-findutils \
1828 maybe-install-find \
1829 maybe-install-flex \
1831 maybe-install-gawk \
1832 maybe-install-gettext \
1833 maybe-install-gnuserv \
1834 maybe-install-gprof \
1835 maybe-install-gzip \
1836 maybe-install-hello \
1837 maybe-install-indent \
1838 maybe-install-intl \
1840 maybe-install-itcl \
1842 maybe-install-libcpp \
1843 maybe-install-libgui \
1844 maybe-install-libbanshee \
1845 maybe-install-libiberty \
1846 maybe-install-libtool \
1848 maybe-install-make \
1849 maybe-install-mmalloc \
1850 maybe-install-patch \
1851 maybe-install-perl \
1852 maybe-install-prms \
1854 maybe-install-readline \
1855 maybe-install-release \
1856 maybe-install-recode \
1858 maybe-install-send-pr \
1859 maybe-install-shellutils \
1863 maybe-install-texinfo \
1864 maybe-install-textutils \
1865 maybe-install-time \
1866 maybe-install-uudecode \
1867 maybe-install-wdiff \
1869 maybe-install-zlib \
1871 maybe-install-expect \
1872 maybe-install-guile \
1875 maybe-install-libtermcap \
1878 .PHONY: install-target
1880 maybe-install-target-libstdc++-v3 \
1881 maybe-install-target-libmudflap \
1882 maybe-install-target-newlib \
1883 maybe-install-target-libgfortran \
1884 maybe-install-target-libobjc \
1885 maybe-install-target-libtermcap \
1886 maybe-install-target-winsup \
1887 maybe-install-target-libgloss \
1888 maybe-install-target-libiberty \
1889 maybe-install-target-gperf \
1890 maybe-install-target-examples \
1891 maybe-install-target-libffi \
1892 maybe-install-target-libjava \
1893 maybe-install-target-zlib \
1894 maybe-install-target-boehm-gc \
1895 maybe-install-target-qthreads \
1896 maybe-install-target-rda \
1897 maybe-install-target-libada
1900 @echo "the uninstall target is not supported in this tree"
1903 install.all: install-no-fixedincludes
1904 @if [ -f ./gcc/Makefile ] ; then \
1905 r=`${PWD_COMMAND}` ; export r ; \
1908 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1913 # install-no-fixedincludes is used because Cygnus can not distribute
1914 # the fixed header files.
1915 .PHONY: install-no-fixedincludes
1916 install-no-fixedincludes: installdirs install-host-nogcc \
1917 install-target gcc-no-fixedincludes
1919 ### other supporting targets
1922 $(DESTDIR)$(prefix) \
1923 $(DESTDIR)$(exec_prefix)
1925 installdirs: mkinstalldirs
1926 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1928 dir.info: do-install-info
1929 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1930 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1931 mv -f dir.info.new dir.info ; \
1936 @echo "Building a full distribution of this tree isn't done"
1937 @echo "via 'make dist'. Check out the etc/ subdirectory"
1941 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1942 # ability to use several tags files at once, so there is probably no need
1943 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1944 # (if we felt like it) have this Makefile write a piece of elisp which
1945 # the user could load to tell emacs19 where all the TAGS files we just
1949 # --------------------------------------
1950 # Modules which run on the build machine
1951 # --------------------------------------
1953 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1954 maybe-configure-build-libiberty:
1956 maybe-configure-build-libiberty: configure-build-libiberty
1957 configure-build-libiberty:
1958 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1959 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1960 r=`${PWD_COMMAND}`; export r; \
1961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1962 AR="$(AR_FOR_BUILD)"; export AR; \
1963 AS="$(AS_FOR_BUILD)"; export AS; \
1964 CC="$(CC_FOR_BUILD)"; export CC; \
1965 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1966 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1967 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1968 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1969 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1970 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
1971 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1972 LD="$(LD_FOR_BUILD)"; export LD; \
1973 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1974 NM="$(NM_FOR_BUILD)"; export NM; \
1975 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1976 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1977 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1978 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1980 /* | [A-Za-z]:[\\/]*) \
1981 topdir=$(srcdir) ;; \
1983 case "$(BUILD_SUBDIR)" in \
1984 .) topdir="../$(srcdir)" ;; \
1985 *) topdir="../../$(srcdir)" ;; \
1988 if [ "$(srcdir)" = "." ] ; then \
1989 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1990 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1991 if [ -f Makefile ]; then \
1992 if $(MAKE) distclean; then \
2006 srcdiroption="--srcdir=."; \
2009 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2010 libsrcdir="$$s/libiberty"; \
2012 rm -f no-such-file || : ; \
2013 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2014 $(BUILD_CONFIGARGS) $${srcdiroption} \
2015 --with-build-subdir="$(BUILD_SUBDIR)" \
2017 @endif build-libiberty
2019 .PHONY: all-build-libiberty maybe-all-build-libiberty
2020 maybe-all-build-libiberty:
2022 maybe-all-build-libiberty: all-build-libiberty
2023 all-build-libiberty: configure-build-libiberty
2024 @r=`${PWD_COMMAND}`; export r; \
2025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2026 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2027 @endif build-libiberty
2029 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2030 maybe-configure-build-libbanshee:
2031 @if build-libbanshee
2032 maybe-configure-build-libbanshee: configure-build-libbanshee
2033 configure-build-libbanshee:
2034 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2035 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2036 r=`${PWD_COMMAND}`; export r; \
2037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2038 AR="$(AR_FOR_BUILD)"; export AR; \
2039 AS="$(AS_FOR_BUILD)"; export AS; \
2040 CC="$(CC_FOR_BUILD)"; export CC; \
2041 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
2042 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2043 CXX="$(CXX_FOR_BUILD)"; export CXX; \
2044 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
2045 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
2046 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
2047 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
2048 LD="$(LD_FOR_BUILD)"; export LD; \
2049 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
2050 NM="$(NM_FOR_BUILD)"; export NM; \
2051 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
2052 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
2053 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2054 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2056 /* | [A-Za-z]:[\\/]*) \
2057 topdir=$(srcdir) ;; \
2059 case "$(BUILD_SUBDIR)" in \
2060 .) topdir="../$(srcdir)" ;; \
2061 *) topdir="../../$(srcdir)" ;; \
2064 if [ "$(srcdir)" = "." ] ; then \
2065 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2066 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2067 if [ -f Makefile ]; then \
2068 if $(MAKE) distclean; then \
2082 srcdiroption="--srcdir=."; \
2085 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2086 libsrcdir="$$s/libbanshee"; \
2088 rm -f no-such-file || : ; \
2089 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2090 $(BUILD_CONFIGARGS) $${srcdiroption} \
2091 --with-build-subdir="$(BUILD_SUBDIR)" \
2093 @endif build-libbanshee
2095 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2096 maybe-all-build-libbanshee:
2097 @if build-libbanshee
2098 maybe-all-build-libbanshee: all-build-libbanshee
2099 all-build-libbanshee: configure-build-libbanshee
2100 @r=`${PWD_COMMAND}`; export r; \
2101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2102 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2103 @endif build-libbanshee
2106 # --------------------------------------
2107 # Modules which run on the host machine
2108 # --------------------------------------
2110 .PHONY: configure-ash maybe-configure-ash
2111 maybe-configure-ash:
2113 maybe-configure-ash: configure-ash
2115 @test ! -f ash/Makefile || exit 0; \
2116 [ -d ash ] || mkdir ash; \
2117 r=`${PWD_COMMAND}`; export r; \
2118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2119 CC="$(CC)"; export CC; \
2120 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2121 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2122 CXX="$(CXX)"; export CXX; \
2123 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2124 AR="$(AR)"; export AR; \
2125 AS="$(AS)"; export AS; \
2126 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2127 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2128 LD="$(LD)"; export LD; \
2129 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2130 NM="$(NM)"; export NM; \
2131 RANLIB="$(RANLIB)"; export RANLIB; \
2132 WINDRES="$(WINDRES)"; export WINDRES; \
2133 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2134 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2135 echo Configuring in ash; \
2139 srcdiroption="--srcdir=."; \
2141 /* | [A-Za-z]:[\\/]*) \
2142 srcdiroption="--srcdir=$(srcdir)/ash"; \
2143 libsrcdir="$$s/ash";; \
2145 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2146 libsrcdir="$$s/ash";; \
2148 $(SHELL) $${libsrcdir}/configure \
2149 $(HOST_CONFIGARGS) $${srcdiroption} \
2153 .PHONY: all-ash maybe-all-ash
2156 maybe-all-ash: all-ash
2157 all-ash: configure-ash
2158 @r=`${PWD_COMMAND}`; export r; \
2159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2161 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2164 .PHONY: check-ash maybe-check-ash
2167 maybe-check-ash: check-ash
2170 @r=`${PWD_COMMAND}`; export r; \
2171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2173 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2177 .PHONY: install-ash maybe-install-ash
2180 maybe-install-ash: install-ash
2182 install-ash: installdirs
2183 @r=`${PWD_COMMAND}`; export r; \
2184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2186 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2190 # Other targets (info, dvi, etc.)
2192 .PHONY: maybe-info-ash info-ash
2195 maybe-info-ash: info-ash
2199 @[ -f ./ash/Makefile ] || exit 0; \
2200 r=`${PWD_COMMAND}`; export r; \
2201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2203 for flag in $(EXTRA_HOST_FLAGS); do \
2204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2206 echo "Doing info in ash" ; \
2208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2210 "RANLIB=$${RANLIB}" \
2211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2217 .PHONY: maybe-dvi-ash dvi-ash
2220 maybe-dvi-ash: dvi-ash
2224 @[ -f ./ash/Makefile ] || exit 0; \
2225 r=`${PWD_COMMAND}`; export r; \
2226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2228 for flag in $(EXTRA_HOST_FLAGS); do \
2229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2231 echo "Doing dvi in ash" ; \
2233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2235 "RANLIB=$${RANLIB}" \
2236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2242 .PHONY: maybe-TAGS-ash TAGS-ash
2245 maybe-TAGS-ash: TAGS-ash
2249 @[ -f ./ash/Makefile ] || exit 0; \
2250 r=`${PWD_COMMAND}`; export r; \
2251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2253 for flag in $(EXTRA_HOST_FLAGS); do \
2254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2256 echo "Doing TAGS in ash" ; \
2258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2260 "RANLIB=$${RANLIB}" \
2261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2267 .PHONY: maybe-install-info-ash install-info-ash
2268 maybe-install-info-ash:
2270 maybe-install-info-ash: install-info-ash
2275 @[ -f ./ash/Makefile ] || exit 0; \
2276 r=`${PWD_COMMAND}`; export r; \
2277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2279 for flag in $(EXTRA_HOST_FLAGS); do \
2280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2282 echo "Doing install-info in ash" ; \
2284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2286 "RANLIB=$${RANLIB}" \
2287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2293 .PHONY: maybe-installcheck-ash installcheck-ash
2294 maybe-installcheck-ash:
2296 maybe-installcheck-ash: installcheck-ash
2300 @[ -f ./ash/Makefile ] || exit 0; \
2301 r=`${PWD_COMMAND}`; export r; \
2302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304 for flag in $(EXTRA_HOST_FLAGS); do \
2305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2307 echo "Doing installcheck in ash" ; \
2309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2311 "RANLIB=$${RANLIB}" \
2312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2318 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2319 maybe-mostlyclean-ash:
2321 maybe-mostlyclean-ash: mostlyclean-ash
2324 @[ -f ./ash/Makefile ] || exit 0; \
2325 r=`${PWD_COMMAND}`; export r; \
2326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2328 for flag in $(EXTRA_HOST_FLAGS); do \
2329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2331 echo "Doing mostlyclean in ash" ; \
2333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2335 "RANLIB=$${RANLIB}" \
2336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2342 .PHONY: maybe-clean-ash clean-ash
2345 maybe-clean-ash: clean-ash
2348 @[ -f ./ash/Makefile ] || exit 0; \
2349 r=`${PWD_COMMAND}`; export r; \
2350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2352 for flag in $(EXTRA_HOST_FLAGS); do \
2353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2355 echo "Doing clean in ash" ; \
2357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2359 "RANLIB=$${RANLIB}" \
2360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2366 .PHONY: maybe-distclean-ash distclean-ash
2367 maybe-distclean-ash:
2369 maybe-distclean-ash: distclean-ash
2372 @[ -f ./ash/Makefile ] || exit 0; \
2373 r=`${PWD_COMMAND}`; export r; \
2374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2376 for flag in $(EXTRA_HOST_FLAGS); do \
2377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2379 echo "Doing distclean in ash" ; \
2381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2383 "RANLIB=$${RANLIB}" \
2384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2390 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2391 maybe-maintainer-clean-ash:
2393 maybe-maintainer-clean-ash: maintainer-clean-ash
2395 maintainer-clean-ash:
2396 @[ -f ./ash/Makefile ] || exit 0; \
2397 r=`${PWD_COMMAND}`; export r; \
2398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2400 for flag in $(EXTRA_HOST_FLAGS); do \
2401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2403 echo "Doing maintainer-clean in ash" ; \
2405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2407 "RANLIB=$${RANLIB}" \
2408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2415 .PHONY: configure-autoconf maybe-configure-autoconf
2416 maybe-configure-autoconf:
2418 maybe-configure-autoconf: configure-autoconf
2420 @test ! -f autoconf/Makefile || exit 0; \
2421 [ -d autoconf ] || mkdir autoconf; \
2422 r=`${PWD_COMMAND}`; export r; \
2423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2424 CC="$(CC)"; export CC; \
2425 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2426 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2427 CXX="$(CXX)"; export CXX; \
2428 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2429 AR="$(AR)"; export AR; \
2430 AS="$(AS)"; export AS; \
2431 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2432 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2433 LD="$(LD)"; export LD; \
2434 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2435 NM="$(NM)"; export NM; \
2436 RANLIB="$(RANLIB)"; export RANLIB; \
2437 WINDRES="$(WINDRES)"; export WINDRES; \
2438 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2439 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2440 echo Configuring in autoconf; \
2441 cd autoconf || exit 1; \
2444 srcdiroption="--srcdir=."; \
2446 /* | [A-Za-z]:[\\/]*) \
2447 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2448 libsrcdir="$$s/autoconf";; \
2450 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2451 libsrcdir="$$s/autoconf";; \
2453 $(SHELL) $${libsrcdir}/configure \
2454 $(HOST_CONFIGARGS) $${srcdiroption} \
2458 .PHONY: all-autoconf maybe-all-autoconf
2461 maybe-all-autoconf: all-autoconf
2462 all-autoconf: configure-autoconf
2463 @r=`${PWD_COMMAND}`; export r; \
2464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2466 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2469 .PHONY: check-autoconf maybe-check-autoconf
2470 maybe-check-autoconf:
2472 maybe-check-autoconf: check-autoconf
2475 @r=`${PWD_COMMAND}`; export r; \
2476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2478 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2482 .PHONY: install-autoconf maybe-install-autoconf
2483 maybe-install-autoconf:
2485 maybe-install-autoconf: install-autoconf
2487 install-autoconf: installdirs
2488 @r=`${PWD_COMMAND}`; export r; \
2489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2491 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2495 # Other targets (info, dvi, etc.)
2497 .PHONY: maybe-info-autoconf info-autoconf
2498 maybe-info-autoconf:
2500 maybe-info-autoconf: info-autoconf
2504 @[ -f ./autoconf/Makefile ] || exit 0; \
2505 r=`${PWD_COMMAND}`; export r; \
2506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2508 for flag in $(EXTRA_HOST_FLAGS); do \
2509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2511 echo "Doing info in autoconf" ; \
2513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2515 "RANLIB=$${RANLIB}" \
2516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2522 .PHONY: maybe-dvi-autoconf dvi-autoconf
2525 maybe-dvi-autoconf: dvi-autoconf
2529 @[ -f ./autoconf/Makefile ] || exit 0; \
2530 r=`${PWD_COMMAND}`; export r; \
2531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2533 for flag in $(EXTRA_HOST_FLAGS); do \
2534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2536 echo "Doing dvi in autoconf" ; \
2538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2540 "RANLIB=$${RANLIB}" \
2541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2547 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2548 maybe-TAGS-autoconf:
2550 maybe-TAGS-autoconf: TAGS-autoconf
2554 @[ -f ./autoconf/Makefile ] || exit 0; \
2555 r=`${PWD_COMMAND}`; export r; \
2556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558 for flag in $(EXTRA_HOST_FLAGS); do \
2559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2561 echo "Doing TAGS in autoconf" ; \
2563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2565 "RANLIB=$${RANLIB}" \
2566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2572 .PHONY: maybe-install-info-autoconf install-info-autoconf
2573 maybe-install-info-autoconf:
2575 maybe-install-info-autoconf: install-info-autoconf
2577 install-info-autoconf: \
2578 configure-autoconf \
2580 @[ -f ./autoconf/Makefile ] || exit 0; \
2581 r=`${PWD_COMMAND}`; export r; \
2582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2584 for flag in $(EXTRA_HOST_FLAGS); do \
2585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2587 echo "Doing install-info in autoconf" ; \
2589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2591 "RANLIB=$${RANLIB}" \
2592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2598 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2599 maybe-installcheck-autoconf:
2601 maybe-installcheck-autoconf: installcheck-autoconf
2603 installcheck-autoconf: \
2605 @[ -f ./autoconf/Makefile ] || exit 0; \
2606 r=`${PWD_COMMAND}`; export r; \
2607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2609 for flag in $(EXTRA_HOST_FLAGS); do \
2610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2612 echo "Doing installcheck in autoconf" ; \
2614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2616 "RANLIB=$${RANLIB}" \
2617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2623 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2624 maybe-mostlyclean-autoconf:
2626 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2628 mostlyclean-autoconf:
2629 @[ -f ./autoconf/Makefile ] || exit 0; \
2630 r=`${PWD_COMMAND}`; export r; \
2631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2633 for flag in $(EXTRA_HOST_FLAGS); do \
2634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2636 echo "Doing mostlyclean in autoconf" ; \
2638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2640 "RANLIB=$${RANLIB}" \
2641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2647 .PHONY: maybe-clean-autoconf clean-autoconf
2648 maybe-clean-autoconf:
2650 maybe-clean-autoconf: clean-autoconf
2653 @[ -f ./autoconf/Makefile ] || exit 0; \
2654 r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2657 for flag in $(EXTRA_HOST_FLAGS); do \
2658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2660 echo "Doing clean in autoconf" ; \
2662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2664 "RANLIB=$${RANLIB}" \
2665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2671 .PHONY: maybe-distclean-autoconf distclean-autoconf
2672 maybe-distclean-autoconf:
2674 maybe-distclean-autoconf: distclean-autoconf
2677 @[ -f ./autoconf/Makefile ] || exit 0; \
2678 r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2681 for flag in $(EXTRA_HOST_FLAGS); do \
2682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2684 echo "Doing distclean in autoconf" ; \
2686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2688 "RANLIB=$${RANLIB}" \
2689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2695 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2696 maybe-maintainer-clean-autoconf:
2698 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
2700 maintainer-clean-autoconf:
2701 @[ -f ./autoconf/Makefile ] || exit 0; \
2702 r=`${PWD_COMMAND}`; export r; \
2703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2705 for flag in $(EXTRA_HOST_FLAGS); do \
2706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2708 echo "Doing maintainer-clean in autoconf" ; \
2710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2712 "RANLIB=$${RANLIB}" \
2713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2720 .PHONY: configure-automake maybe-configure-automake
2721 maybe-configure-automake:
2723 maybe-configure-automake: configure-automake
2725 @test ! -f automake/Makefile || exit 0; \
2726 [ -d automake ] || mkdir automake; \
2727 r=`${PWD_COMMAND}`; export r; \
2728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2729 CC="$(CC)"; export CC; \
2730 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2731 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2732 CXX="$(CXX)"; export CXX; \
2733 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2734 AR="$(AR)"; export AR; \
2735 AS="$(AS)"; export AS; \
2736 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2737 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2738 LD="$(LD)"; export LD; \
2739 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2740 NM="$(NM)"; export NM; \
2741 RANLIB="$(RANLIB)"; export RANLIB; \
2742 WINDRES="$(WINDRES)"; export WINDRES; \
2743 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2744 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2745 echo Configuring in automake; \
2746 cd automake || exit 1; \
2749 srcdiroption="--srcdir=."; \
2751 /* | [A-Za-z]:[\\/]*) \
2752 srcdiroption="--srcdir=$(srcdir)/automake"; \
2753 libsrcdir="$$s/automake";; \
2755 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2756 libsrcdir="$$s/automake";; \
2758 $(SHELL) $${libsrcdir}/configure \
2759 $(HOST_CONFIGARGS) $${srcdiroption} \
2763 .PHONY: all-automake maybe-all-automake
2766 maybe-all-automake: all-automake
2767 all-automake: configure-automake
2768 @r=`${PWD_COMMAND}`; export r; \
2769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2774 .PHONY: check-automake maybe-check-automake
2775 maybe-check-automake:
2777 maybe-check-automake: check-automake
2780 @r=`${PWD_COMMAND}`; export r; \
2781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2783 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2787 .PHONY: install-automake maybe-install-automake
2788 maybe-install-automake:
2790 maybe-install-automake: install-automake
2792 install-automake: installdirs
2793 @r=`${PWD_COMMAND}`; export r; \
2794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2796 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2800 # Other targets (info, dvi, etc.)
2802 .PHONY: maybe-info-automake info-automake
2803 maybe-info-automake:
2805 maybe-info-automake: info-automake
2809 @[ -f ./automake/Makefile ] || exit 0; \
2810 r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2813 for flag in $(EXTRA_HOST_FLAGS); do \
2814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2816 echo "Doing info in automake" ; \
2818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2820 "RANLIB=$${RANLIB}" \
2821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2827 .PHONY: maybe-dvi-automake dvi-automake
2830 maybe-dvi-automake: dvi-automake
2834 @[ -f ./automake/Makefile ] || exit 0; \
2835 r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2838 for flag in $(EXTRA_HOST_FLAGS); do \
2839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2841 echo "Doing dvi in automake" ; \
2843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2845 "RANLIB=$${RANLIB}" \
2846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2852 .PHONY: maybe-TAGS-automake TAGS-automake
2853 maybe-TAGS-automake:
2855 maybe-TAGS-automake: TAGS-automake
2859 @[ -f ./automake/Makefile ] || exit 0; \
2860 r=`${PWD_COMMAND}`; export r; \
2861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2863 for flag in $(EXTRA_HOST_FLAGS); do \
2864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2866 echo "Doing TAGS in automake" ; \
2868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2870 "RANLIB=$${RANLIB}" \
2871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2877 .PHONY: maybe-install-info-automake install-info-automake
2878 maybe-install-info-automake:
2880 maybe-install-info-automake: install-info-automake
2882 install-info-automake: \
2883 configure-automake \
2885 @[ -f ./automake/Makefile ] || exit 0; \
2886 r=`${PWD_COMMAND}`; export r; \
2887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2889 for flag in $(EXTRA_HOST_FLAGS); do \
2890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2892 echo "Doing install-info in automake" ; \
2894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2896 "RANLIB=$${RANLIB}" \
2897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2903 .PHONY: maybe-installcheck-automake installcheck-automake
2904 maybe-installcheck-automake:
2906 maybe-installcheck-automake: installcheck-automake
2908 installcheck-automake: \
2910 @[ -f ./automake/Makefile ] || exit 0; \
2911 r=`${PWD_COMMAND}`; export r; \
2912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2914 for flag in $(EXTRA_HOST_FLAGS); do \
2915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2917 echo "Doing installcheck in automake" ; \
2919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2921 "RANLIB=$${RANLIB}" \
2922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2928 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2929 maybe-mostlyclean-automake:
2931 maybe-mostlyclean-automake: mostlyclean-automake
2933 mostlyclean-automake:
2934 @[ -f ./automake/Makefile ] || exit 0; \
2935 r=`${PWD_COMMAND}`; export r; \
2936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2938 for flag in $(EXTRA_HOST_FLAGS); do \
2939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2941 echo "Doing mostlyclean in automake" ; \
2943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2945 "RANLIB=$${RANLIB}" \
2946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2952 .PHONY: maybe-clean-automake clean-automake
2953 maybe-clean-automake:
2955 maybe-clean-automake: clean-automake
2958 @[ -f ./automake/Makefile ] || exit 0; \
2959 r=`${PWD_COMMAND}`; export r; \
2960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2962 for flag in $(EXTRA_HOST_FLAGS); do \
2963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2965 echo "Doing clean in automake" ; \
2967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2969 "RANLIB=$${RANLIB}" \
2970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2976 .PHONY: maybe-distclean-automake distclean-automake
2977 maybe-distclean-automake:
2979 maybe-distclean-automake: distclean-automake
2982 @[ -f ./automake/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2986 for flag in $(EXTRA_HOST_FLAGS); do \
2987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2989 echo "Doing distclean in automake" ; \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993 "RANLIB=$${RANLIB}" \
2994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3000 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3001 maybe-maintainer-clean-automake:
3003 maybe-maintainer-clean-automake: maintainer-clean-automake
3005 maintainer-clean-automake:
3006 @[ -f ./automake/Makefile ] || exit 0; \
3007 r=`${PWD_COMMAND}`; export r; \
3008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 for flag in $(EXTRA_HOST_FLAGS); do \
3011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013 echo "Doing maintainer-clean in automake" ; \
3015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3017 "RANLIB=$${RANLIB}" \
3018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3025 .PHONY: configure-bash maybe-configure-bash
3026 maybe-configure-bash:
3028 maybe-configure-bash: configure-bash
3030 @test ! -f bash/Makefile || exit 0; \
3031 [ -d bash ] || mkdir bash; \
3032 r=`${PWD_COMMAND}`; export r; \
3033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3034 CC="$(CC)"; export CC; \
3035 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3036 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3037 CXX="$(CXX)"; export CXX; \
3038 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3039 AR="$(AR)"; export AR; \
3040 AS="$(AS)"; export AS; \
3041 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3042 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3043 LD="$(LD)"; export LD; \
3044 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3045 NM="$(NM)"; export NM; \
3046 RANLIB="$(RANLIB)"; export RANLIB; \
3047 WINDRES="$(WINDRES)"; export WINDRES; \
3048 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3049 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3050 echo Configuring in bash; \
3051 cd bash || exit 1; \
3054 srcdiroption="--srcdir=."; \
3056 /* | [A-Za-z]:[\\/]*) \
3057 srcdiroption="--srcdir=$(srcdir)/bash"; \
3058 libsrcdir="$$s/bash";; \
3060 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3061 libsrcdir="$$s/bash";; \
3063 $(SHELL) $${libsrcdir}/configure \
3064 $(HOST_CONFIGARGS) $${srcdiroption} \
3068 .PHONY: all-bash maybe-all-bash
3071 maybe-all-bash: all-bash
3072 all-bash: configure-bash
3073 @r=`${PWD_COMMAND}`; export r; \
3074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3076 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3079 .PHONY: check-bash maybe-check-bash
3082 maybe-check-bash: check-bash
3085 @r=`${PWD_COMMAND}`; export r; \
3086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3092 .PHONY: install-bash maybe-install-bash
3095 maybe-install-bash: install-bash
3097 install-bash: installdirs
3098 @r=`${PWD_COMMAND}`; export r; \
3099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3101 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3105 # Other targets (info, dvi, etc.)
3107 .PHONY: maybe-info-bash info-bash
3110 maybe-info-bash: info-bash
3114 @[ -f ./bash/Makefile ] || exit 0; \
3115 r=`${PWD_COMMAND}`; export r; \
3116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118 for flag in $(EXTRA_HOST_FLAGS); do \
3119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3121 echo "Doing info in bash" ; \
3123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3125 "RANLIB=$${RANLIB}" \
3126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3132 .PHONY: maybe-dvi-bash dvi-bash
3135 maybe-dvi-bash: dvi-bash
3139 @[ -f ./bash/Makefile ] || exit 0; \
3140 r=`${PWD_COMMAND}`; export r; \
3141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3143 for flag in $(EXTRA_HOST_FLAGS); do \
3144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3146 echo "Doing dvi in bash" ; \
3148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3150 "RANLIB=$${RANLIB}" \
3151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3157 .PHONY: maybe-TAGS-bash TAGS-bash
3160 maybe-TAGS-bash: TAGS-bash
3164 @[ -f ./bash/Makefile ] || exit 0; \
3165 r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3168 for flag in $(EXTRA_HOST_FLAGS); do \
3169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3171 echo "Doing TAGS in bash" ; \
3173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3175 "RANLIB=$${RANLIB}" \
3176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3182 .PHONY: maybe-install-info-bash install-info-bash
3183 maybe-install-info-bash:
3185 maybe-install-info-bash: install-info-bash
3187 install-info-bash: \
3190 @[ -f ./bash/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 for flag in $(EXTRA_HOST_FLAGS); do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3197 echo "Doing install-info in bash" ; \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3208 .PHONY: maybe-installcheck-bash installcheck-bash
3209 maybe-installcheck-bash:
3211 maybe-installcheck-bash: installcheck-bash
3213 installcheck-bash: \
3215 @[ -f ./bash/Makefile ] || exit 0; \
3216 r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 for flag in $(EXTRA_HOST_FLAGS); do \
3220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 echo "Doing installcheck in bash" ; \
3224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3226 "RANLIB=$${RANLIB}" \
3227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3233 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3234 maybe-mostlyclean-bash:
3236 maybe-mostlyclean-bash: mostlyclean-bash
3239 @[ -f ./bash/Makefile ] || exit 0; \
3240 r=`${PWD_COMMAND}`; export r; \
3241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 for flag in $(EXTRA_HOST_FLAGS); do \
3244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3246 echo "Doing mostlyclean in bash" ; \
3248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3250 "RANLIB=$${RANLIB}" \
3251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3257 .PHONY: maybe-clean-bash clean-bash
3260 maybe-clean-bash: clean-bash
3263 @[ -f ./bash/Makefile ] || exit 0; \
3264 r=`${PWD_COMMAND}`; export r; \
3265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267 for flag in $(EXTRA_HOST_FLAGS); do \
3268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3270 echo "Doing clean in bash" ; \
3272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3274 "RANLIB=$${RANLIB}" \
3275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3281 .PHONY: maybe-distclean-bash distclean-bash
3282 maybe-distclean-bash:
3284 maybe-distclean-bash: distclean-bash
3287 @[ -f ./bash/Makefile ] || exit 0; \
3288 r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3291 for flag in $(EXTRA_HOST_FLAGS); do \
3292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3294 echo "Doing distclean in bash" ; \
3296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3298 "RANLIB=$${RANLIB}" \
3299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3305 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3306 maybe-maintainer-clean-bash:
3308 maybe-maintainer-clean-bash: maintainer-clean-bash
3310 maintainer-clean-bash:
3311 @[ -f ./bash/Makefile ] || exit 0; \
3312 r=`${PWD_COMMAND}`; export r; \
3313 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 maintainer-clean in bash" ; \
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}" \
3330 .PHONY: configure-bfd maybe-configure-bfd
3331 maybe-configure-bfd:
3333 maybe-configure-bfd: configure-bfd
3335 @test ! -f bfd/Makefile || exit 0; \
3336 [ -d bfd ] || mkdir bfd; \
3337 r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 CC="$(CC)"; export CC; \
3340 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3341 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3342 CXX="$(CXX)"; export CXX; \
3343 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3344 AR="$(AR)"; export AR; \
3345 AS="$(AS)"; export AS; \
3346 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3347 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3348 LD="$(LD)"; export LD; \
3349 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3350 NM="$(NM)"; export NM; \
3351 RANLIB="$(RANLIB)"; export RANLIB; \
3352 WINDRES="$(WINDRES)"; export WINDRES; \
3353 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3354 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3355 echo Configuring in bfd; \
3359 srcdiroption="--srcdir=."; \
3361 /* | [A-Za-z]:[\\/]*) \
3362 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3363 libsrcdir="$$s/bfd";; \
3365 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3366 libsrcdir="$$s/bfd";; \
3368 $(SHELL) $${libsrcdir}/configure \
3369 $(HOST_CONFIGARGS) $${srcdiroption} \
3373 .PHONY: all-bfd maybe-all-bfd
3376 maybe-all-bfd: all-bfd
3377 all-bfd: configure-bfd
3378 @r=`${PWD_COMMAND}`; export r; \
3379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3381 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3384 .PHONY: check-bfd maybe-check-bfd
3387 maybe-check-bfd: check-bfd
3390 @r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3393 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3397 .PHONY: install-bfd maybe-install-bfd
3400 maybe-install-bfd: install-bfd
3402 install-bfd: installdirs
3403 @r=`${PWD_COMMAND}`; export r; \
3404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3410 # Other targets (info, dvi, etc.)
3412 .PHONY: maybe-info-bfd info-bfd
3415 maybe-info-bfd: info-bfd
3419 @[ -f ./bfd/Makefile ] || exit 0; \
3420 r=`${PWD_COMMAND}`; export r; \
3421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3423 for flag in $(EXTRA_HOST_FLAGS); do \
3424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3426 echo "Doing info in bfd" ; \
3428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3430 "RANLIB=$${RANLIB}" \
3431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3437 .PHONY: maybe-dvi-bfd dvi-bfd
3440 maybe-dvi-bfd: dvi-bfd
3444 @[ -f ./bfd/Makefile ] || exit 0; \
3445 r=`${PWD_COMMAND}`; export r; \
3446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3448 for flag in $(EXTRA_HOST_FLAGS); do \
3449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3451 echo "Doing dvi in bfd" ; \
3453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3455 "RANLIB=$${RANLIB}" \
3456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3462 .PHONY: maybe-TAGS-bfd TAGS-bfd
3465 maybe-TAGS-bfd: TAGS-bfd
3469 @[ -f ./bfd/Makefile ] || exit 0; \
3470 r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3473 for flag in $(EXTRA_HOST_FLAGS); do \
3474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3476 echo "Doing TAGS in bfd" ; \
3478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3480 "RANLIB=$${RANLIB}" \
3481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3487 .PHONY: maybe-install-info-bfd install-info-bfd
3488 maybe-install-info-bfd:
3490 maybe-install-info-bfd: install-info-bfd
3495 @[ -f ./bfd/Makefile ] || exit 0; \
3496 r=`${PWD_COMMAND}`; export r; \
3497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3499 for flag in $(EXTRA_HOST_FLAGS); do \
3500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3502 echo "Doing install-info in bfd" ; \
3504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3506 "RANLIB=$${RANLIB}" \
3507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3513 .PHONY: maybe-installcheck-bfd installcheck-bfd
3514 maybe-installcheck-bfd:
3516 maybe-installcheck-bfd: installcheck-bfd
3520 @[ -f ./bfd/Makefile ] || exit 0; \
3521 r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 for flag in $(EXTRA_HOST_FLAGS); do \
3525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 echo "Doing installcheck in bfd" ; \
3529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531 "RANLIB=$${RANLIB}" \
3532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3539 maybe-mostlyclean-bfd:
3541 maybe-mostlyclean-bfd: mostlyclean-bfd
3544 @[ -f ./bfd/Makefile ] || exit 0; \
3545 r=`${PWD_COMMAND}`; export r; \
3546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 for flag in $(EXTRA_HOST_FLAGS); do \
3549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3551 echo "Doing mostlyclean in bfd" ; \
3553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3555 "RANLIB=$${RANLIB}" \
3556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3562 .PHONY: maybe-clean-bfd clean-bfd
3565 maybe-clean-bfd: clean-bfd
3568 @[ -f ./bfd/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3572 for flag in $(EXTRA_HOST_FLAGS); do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3575 echo "Doing clean in bfd" ; \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 .PHONY: maybe-distclean-bfd distclean-bfd
3587 maybe-distclean-bfd:
3589 maybe-distclean-bfd: distclean-bfd
3592 @[ -f ./bfd/Makefile ] || exit 0; \
3593 r=`${PWD_COMMAND}`; export r; \
3594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596 for flag in $(EXTRA_HOST_FLAGS); do \
3597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3599 echo "Doing distclean in bfd" ; \
3601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3603 "RANLIB=$${RANLIB}" \
3604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3610 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3611 maybe-maintainer-clean-bfd:
3613 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3615 maintainer-clean-bfd:
3616 @[ -f ./bfd/Makefile ] || exit 0; \
3617 r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3620 for flag in $(EXTRA_HOST_FLAGS); do \
3621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3623 echo "Doing maintainer-clean in bfd" ; \
3625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3627 "RANLIB=$${RANLIB}" \
3628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3635 .PHONY: configure-opcodes maybe-configure-opcodes
3636 maybe-configure-opcodes:
3638 maybe-configure-opcodes: configure-opcodes
3640 @test ! -f opcodes/Makefile || exit 0; \
3641 [ -d opcodes ] || mkdir opcodes; \
3642 r=`${PWD_COMMAND}`; export r; \
3643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3644 CC="$(CC)"; export CC; \
3645 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3646 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3647 CXX="$(CXX)"; export CXX; \
3648 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3649 AR="$(AR)"; export AR; \
3650 AS="$(AS)"; export AS; \
3651 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3652 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3653 LD="$(LD)"; export LD; \
3654 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3655 NM="$(NM)"; export NM; \
3656 RANLIB="$(RANLIB)"; export RANLIB; \
3657 WINDRES="$(WINDRES)"; export WINDRES; \
3658 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3659 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3660 echo Configuring in opcodes; \
3661 cd opcodes || exit 1; \
3664 srcdiroption="--srcdir=."; \
3666 /* | [A-Za-z]:[\\/]*) \
3667 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3668 libsrcdir="$$s/opcodes";; \
3670 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3671 libsrcdir="$$s/opcodes";; \
3673 $(SHELL) $${libsrcdir}/configure \
3674 $(HOST_CONFIGARGS) $${srcdiroption} \
3678 .PHONY: all-opcodes maybe-all-opcodes
3681 maybe-all-opcodes: all-opcodes
3682 all-opcodes: configure-opcodes
3683 @r=`${PWD_COMMAND}`; export r; \
3684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3686 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3689 .PHONY: check-opcodes maybe-check-opcodes
3690 maybe-check-opcodes:
3692 maybe-check-opcodes: check-opcodes
3695 @r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3698 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3702 .PHONY: install-opcodes maybe-install-opcodes
3703 maybe-install-opcodes:
3705 maybe-install-opcodes: install-opcodes
3707 install-opcodes: installdirs
3708 @r=`${PWD_COMMAND}`; export r; \
3709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3715 # Other targets (info, dvi, etc.)
3717 .PHONY: maybe-info-opcodes info-opcodes
3720 maybe-info-opcodes: info-opcodes
3724 @[ -f ./opcodes/Makefile ] || exit 0; \
3725 r=`${PWD_COMMAND}`; export r; \
3726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 for flag in $(EXTRA_HOST_FLAGS); do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 echo "Doing info in opcodes" ; \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3735 "RANLIB=$${RANLIB}" \
3736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3742 .PHONY: maybe-dvi-opcodes dvi-opcodes
3745 maybe-dvi-opcodes: dvi-opcodes
3749 @[ -f ./opcodes/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3753 for flag in $(EXTRA_HOST_FLAGS); do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3756 echo "Doing dvi in opcodes" ; \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3767 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3770 maybe-TAGS-opcodes: TAGS-opcodes
3774 @[ -f ./opcodes/Makefile ] || exit 0; \
3775 r=`${PWD_COMMAND}`; export r; \
3776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 for flag in $(EXTRA_HOST_FLAGS); do \
3779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3781 echo "Doing TAGS in opcodes" ; \
3783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3785 "RANLIB=$${RANLIB}" \
3786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3792 .PHONY: maybe-install-info-opcodes install-info-opcodes
3793 maybe-install-info-opcodes:
3795 maybe-install-info-opcodes: install-info-opcodes
3797 install-info-opcodes: \
3800 @[ -f ./opcodes/Makefile ] || exit 0; \
3801 r=`${PWD_COMMAND}`; export r; \
3802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 for flag in $(EXTRA_HOST_FLAGS); do \
3805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3807 echo "Doing install-info in opcodes" ; \
3809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3811 "RANLIB=$${RANLIB}" \
3812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3818 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3819 maybe-installcheck-opcodes:
3821 maybe-installcheck-opcodes: installcheck-opcodes
3823 installcheck-opcodes: \
3825 @[ -f ./opcodes/Makefile ] || exit 0; \
3826 r=`${PWD_COMMAND}`; export r; \
3827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 for flag in $(EXTRA_HOST_FLAGS); do \
3830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3832 echo "Doing installcheck in opcodes" ; \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3836 "RANLIB=$${RANLIB}" \
3837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3843 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3844 maybe-mostlyclean-opcodes:
3846 maybe-mostlyclean-opcodes: mostlyclean-opcodes
3848 mostlyclean-opcodes:
3849 @[ -f ./opcodes/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 for flag in $(EXTRA_HOST_FLAGS); do \
3854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3856 echo "Doing mostlyclean in opcodes" ; \
3858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3860 "RANLIB=$${RANLIB}" \
3861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3867 .PHONY: maybe-clean-opcodes clean-opcodes
3868 maybe-clean-opcodes:
3870 maybe-clean-opcodes: clean-opcodes
3873 @[ -f ./opcodes/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 for flag in $(EXTRA_HOST_FLAGS); do \
3878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 echo "Doing clean in opcodes" ; \
3882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3884 "RANLIB=$${RANLIB}" \
3885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 .PHONY: maybe-distclean-opcodes distclean-opcodes
3892 maybe-distclean-opcodes:
3894 maybe-distclean-opcodes: distclean-opcodes
3897 @[ -f ./opcodes/Makefile ] || exit 0; \
3898 r=`${PWD_COMMAND}`; export r; \
3899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 for flag in $(EXTRA_HOST_FLAGS); do \
3902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3904 echo "Doing distclean in opcodes" ; \
3906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3908 "RANLIB=$${RANLIB}" \
3909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3915 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3916 maybe-maintainer-clean-opcodes:
3918 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
3920 maintainer-clean-opcodes:
3921 @[ -f ./opcodes/Makefile ] || exit 0; \
3922 r=`${PWD_COMMAND}`; export r; \
3923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3925 for flag in $(EXTRA_HOST_FLAGS); do \
3926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3928 echo "Doing maintainer-clean in opcodes" ; \
3930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3932 "RANLIB=$${RANLIB}" \
3933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3940 .PHONY: configure-binutils maybe-configure-binutils
3941 maybe-configure-binutils:
3943 maybe-configure-binutils: configure-binutils
3945 @test ! -f binutils/Makefile || exit 0; \
3946 [ -d binutils ] || mkdir binutils; \
3947 r=`${PWD_COMMAND}`; export r; \
3948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3949 CC="$(CC)"; export CC; \
3950 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3951 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3952 CXX="$(CXX)"; export CXX; \
3953 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3954 AR="$(AR)"; export AR; \
3955 AS="$(AS)"; export AS; \
3956 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3957 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3958 LD="$(LD)"; export LD; \
3959 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3960 NM="$(NM)"; export NM; \
3961 RANLIB="$(RANLIB)"; export RANLIB; \
3962 WINDRES="$(WINDRES)"; export WINDRES; \
3963 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3964 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3965 echo Configuring in binutils; \
3966 cd binutils || exit 1; \
3969 srcdiroption="--srcdir=."; \
3971 /* | [A-Za-z]:[\\/]*) \
3972 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3973 libsrcdir="$$s/binutils";; \
3975 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3976 libsrcdir="$$s/binutils";; \
3978 $(SHELL) $${libsrcdir}/configure \
3979 $(HOST_CONFIGARGS) $${srcdiroption} \
3983 .PHONY: all-binutils maybe-all-binutils
3986 maybe-all-binutils: all-binutils
3987 all-binutils: configure-binutils
3988 @r=`${PWD_COMMAND}`; export r; \
3989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3991 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3994 .PHONY: check-binutils maybe-check-binutils
3995 maybe-check-binutils:
3997 maybe-check-binutils: check-binutils
4000 @r=`${PWD_COMMAND}`; export r; \
4001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4007 .PHONY: install-binutils maybe-install-binutils
4008 maybe-install-binutils:
4010 maybe-install-binutils: install-binutils
4012 install-binutils: installdirs
4013 @r=`${PWD_COMMAND}`; export r; \
4014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4016 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4020 # Other targets (info, dvi, etc.)
4022 .PHONY: maybe-info-binutils info-binutils
4023 maybe-info-binutils:
4025 maybe-info-binutils: info-binutils
4029 @[ -f ./binutils/Makefile ] || exit 0; \
4030 r=`${PWD_COMMAND}`; export r; \
4031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4033 for flag in $(EXTRA_HOST_FLAGS); do \
4034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4036 echo "Doing info in binutils" ; \
4038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4040 "RANLIB=$${RANLIB}" \
4041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4047 .PHONY: maybe-dvi-binutils dvi-binutils
4050 maybe-dvi-binutils: dvi-binutils
4054 @[ -f ./binutils/Makefile ] || exit 0; \
4055 r=`${PWD_COMMAND}`; export r; \
4056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4058 for flag in $(EXTRA_HOST_FLAGS); do \
4059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4061 echo "Doing dvi in binutils" ; \
4063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4065 "RANLIB=$${RANLIB}" \
4066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4072 .PHONY: maybe-TAGS-binutils TAGS-binutils
4073 maybe-TAGS-binutils:
4075 maybe-TAGS-binutils: TAGS-binutils
4079 @[ -f ./binutils/Makefile ] || exit 0; \
4080 r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 for flag in $(EXTRA_HOST_FLAGS); do \
4084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4086 echo "Doing TAGS in binutils" ; \
4088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4090 "RANLIB=$${RANLIB}" \
4091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4097 .PHONY: maybe-install-info-binutils install-info-binutils
4098 maybe-install-info-binutils:
4100 maybe-install-info-binutils: install-info-binutils
4102 install-info-binutils: \
4103 configure-binutils \
4105 @[ -f ./binutils/Makefile ] || exit 0; \
4106 r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4109 for flag in $(EXTRA_HOST_FLAGS); do \
4110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4112 echo "Doing install-info in binutils" ; \
4114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4116 "RANLIB=$${RANLIB}" \
4117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4123 .PHONY: maybe-installcheck-binutils installcheck-binutils
4124 maybe-installcheck-binutils:
4126 maybe-installcheck-binutils: installcheck-binutils
4128 installcheck-binutils: \
4130 @[ -f ./binutils/Makefile ] || exit 0; \
4131 r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4134 for flag in $(EXTRA_HOST_FLAGS); do \
4135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4137 echo "Doing installcheck in binutils" ; \
4139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4141 "RANLIB=$${RANLIB}" \
4142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4148 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4149 maybe-mostlyclean-binutils:
4151 maybe-mostlyclean-binutils: mostlyclean-binutils
4153 mostlyclean-binutils:
4154 @[ -f ./binutils/Makefile ] || exit 0; \
4155 r=`${PWD_COMMAND}`; export r; \
4156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4158 for flag in $(EXTRA_HOST_FLAGS); do \
4159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4161 echo "Doing mostlyclean in binutils" ; \
4163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4165 "RANLIB=$${RANLIB}" \
4166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4172 .PHONY: maybe-clean-binutils clean-binutils
4173 maybe-clean-binutils:
4175 maybe-clean-binutils: clean-binutils
4178 @[ -f ./binutils/Makefile ] || exit 0; \
4179 r=`${PWD_COMMAND}`; export r; \
4180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4182 for flag in $(EXTRA_HOST_FLAGS); do \
4183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4185 echo "Doing clean in binutils" ; \
4187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4189 "RANLIB=$${RANLIB}" \
4190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4196 .PHONY: maybe-distclean-binutils distclean-binutils
4197 maybe-distclean-binutils:
4199 maybe-distclean-binutils: distclean-binutils
4202 @[ -f ./binutils/Makefile ] || exit 0; \
4203 r=`${PWD_COMMAND}`; export r; \
4204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4206 for flag in $(EXTRA_HOST_FLAGS); do \
4207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4209 echo "Doing distclean in binutils" ; \
4211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4213 "RANLIB=$${RANLIB}" \
4214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4220 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4221 maybe-maintainer-clean-binutils:
4223 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4225 maintainer-clean-binutils:
4226 @[ -f ./binutils/Makefile ] || exit 0; \
4227 r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4230 for flag in $(EXTRA_HOST_FLAGS); do \
4231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4233 echo "Doing maintainer-clean in binutils" ; \
4235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4237 "RANLIB=$${RANLIB}" \
4238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4245 .PHONY: configure-bison maybe-configure-bison
4246 maybe-configure-bison:
4248 maybe-configure-bison: configure-bison
4250 @test ! -f bison/Makefile || exit 0; \
4251 [ -d bison ] || mkdir bison; \
4252 r=`${PWD_COMMAND}`; export r; \
4253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4254 CC="$(CC)"; export CC; \
4255 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4256 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4257 CXX="$(CXX)"; export CXX; \
4258 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4259 AR="$(AR)"; export AR; \
4260 AS="$(AS)"; export AS; \
4261 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4262 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4263 LD="$(LD)"; export LD; \
4264 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4265 NM="$(NM)"; export NM; \
4266 RANLIB="$(RANLIB)"; export RANLIB; \
4267 WINDRES="$(WINDRES)"; export WINDRES; \
4268 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4269 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4270 echo Configuring in bison; \
4271 cd bison || exit 1; \
4274 srcdiroption="--srcdir=."; \
4276 /* | [A-Za-z]:[\\/]*) \
4277 srcdiroption="--srcdir=$(srcdir)/bison"; \
4278 libsrcdir="$$s/bison";; \
4280 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4281 libsrcdir="$$s/bison";; \
4283 $(SHELL) $${libsrcdir}/configure \
4284 $(HOST_CONFIGARGS) $${srcdiroption} \
4288 .PHONY: all-bison maybe-all-bison
4291 maybe-all-bison: all-bison
4292 all-bison: configure-bison
4293 @r=`${PWD_COMMAND}`; export r; \
4294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4296 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4299 .PHONY: check-bison maybe-check-bison
4302 maybe-check-bison: check-bison
4304 # This module is only tested in a native toolchain.
4306 @if [ '$(host)' = '$(target)' ] ; then \
4307 r=`${PWD_COMMAND}`; export r; \
4308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4310 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4315 .PHONY: install-bison maybe-install-bison
4316 maybe-install-bison:
4318 maybe-install-bison: install-bison
4320 install-bison: installdirs
4321 @r=`${PWD_COMMAND}`; export r; \
4322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4328 # Other targets (info, dvi, etc.)
4330 .PHONY: maybe-info-bison info-bison
4333 maybe-info-bison: info-bison
4337 @[ -f ./bison/Makefile ] || exit 0; \
4338 r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 for flag in $(EXTRA_HOST_FLAGS); do \
4342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4344 echo "Doing info in bison" ; \
4346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4348 "RANLIB=$${RANLIB}" \
4349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \